Skip to content

Commit

Permalink
Deploy latest build
Browse files Browse the repository at this point in the history
  • Loading branch information
egon-development committed Jan 28, 2025
1 parent ccc87e9 commit 330e43e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 21 deletions.
24 changes: 4 additions & 20 deletions app-latest-build/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -1234,9 +1234,6 @@ __webpack_require__.r(__webpack_exports__);
let RENDERER_IDS = new ids__WEBPACK_IMPORTED_MODULE_0__["default"]();
let numbers = [];
const DEFAULT_COLOR = "#000000";
/**
* a renderer that knows how to render custom elements.
*/
let _iconDictionaryService;
let _elementRegistryService;
let _dirtyFlagService;
Expand Down Expand Up @@ -2227,23 +2224,10 @@ function DomainStoryUpdater(eventBus, egon, connectionDocking) {
this.reverted(["connection.layout"], function (e) {
delete e.context.cropped;
});
this.executed(["shape.create", "shape.move", "shape.delete", "shape.resize", "shape.removeGroupWithChildren"], ifDomainStoryElement(updateElement));
this.reverted(["shape.create", "shape.move", "shape.delete", "shape.resize", "shape.removeGroupWithChildren"], ifDomainStoryElement(updateElement));
this.executed(["connection.create", "connection.reconnect", "connection.updateWaypoints", "connection.delete", "connection.layout", "connection.move"], ifDomainStoryElement(updateConnection));
this.reverted(["connection.create", "connection.reconnect", "connection.updateWaypoints", "connection.delete", "connection.layout", "connection.move"], ifDomainStoryElement(updateConnection));
}
// check if element in the context of an event is a domainStory element
function ifDomainStoryElement(fn) {
return event => {
const context = event.context;
const element = context.shape || context.connection;
if (isDomainStory(element)) {
fn(event);
}
};
}
function isDomainStory(element) {
return element && /domainStory:/.test(element.type);
this.executed(["shape.create", "shape.move", "shape.delete", "shape.resize", "shape.removeGroupWithChildren"], updateElement);
this.reverted(["shape.create", "shape.move", "shape.delete", "shape.resize", "shape.removeGroupWithChildren"], updateElement);
this.executed(["connection.create", "connection.reconnect", "connection.updateWaypoints", "connection.delete", "connection.layout", "connection.move"], updateConnection);
this.reverted(["connection.create", "connection.reconnect", "connection.updateWaypoints", "connection.delete", "connection.layout", "connection.move"], updateConnection);
}
inherits__WEBPACK_IMPORTED_MODULE_0___default()(DomainStoryUpdater, diagram_js_lib_command_CommandInterceptor__WEBPACK_IMPORTED_MODULE_3__["default"]);
DomainStoryUpdater.$inject = ["eventBus", "egon", "connectionDocking"];
Expand Down
2 changes: 1 addition & 1 deletion app-latest-build/main.js.map

Large diffs are not rendered by default.

0 comments on commit 330e43e

Please sign in to comment.