@ddd-tool/domain-designer-ui-component 0.1.0-beta.1 → 0.1.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -34,7 +34,7 @@ export declare function useDiagramAgg(data?: Record<string, DomainDesigner>): Re
34
34
  defineUserStory(name: string, workflowNames: import("@ddd-tool/domain-designer-core/define").NonEmptyArray<string>): void;
35
35
  linkTo(srcRule: "Info" | "Actor" | "Command" | "FacadeCommand" | "Agg" | "Event" | "Policy" | "Service" | "System" | "ReadModel", srcId: string, targetRule: "Info" | "Actor" | "Command" | "FacadeCommand" | "Agg" | "Event" | "Policy" | "Service" | "System" | "ReadModel", targetId: string, linkType?: import("@ddd-tool/domain-designer-core/common").LinkType): void;
36
36
  getDesignerId(): string;
37
- getModuleName(): string;
37
+ getDesignerOptions(): Required<import("@ddd-tool/domain-designer-core/define").DomainDesignOptions>;
38
38
  getWorkflows(): Record<string, string[]>;
39
39
  getUserStories(): Record<string, string[]>;
40
40
  getLinks(): Record<string, import("@ddd-tool/domain-designer-core/common").LinkType>;
@@ -114,7 +114,7 @@ export declare function useDiagramAgg(data?: Record<string, DomainDesigner>): Re
114
114
  defineUserStory(name: string, workflowNames: import("@ddd-tool/domain-designer-core/define").NonEmptyArray<string>): void;
115
115
  linkTo(srcRule: "Info" | "Actor" | "Command" | "FacadeCommand" | "Agg" | "Event" | "Policy" | "Service" | "System" | "ReadModel", srcId: string, targetRule: "Info" | "Actor" | "Command" | "FacadeCommand" | "Agg" | "Event" | "Policy" | "Service" | "System" | "ReadModel", targetId: string, linkType?: import("@ddd-tool/domain-designer-core/common").LinkType): void;
116
116
  getDesignerId(): string;
117
- getModuleName(): string;
117
+ getDesignerOptions(): Required<import("@ddd-tool/domain-designer-core/define").DomainDesignOptions>;
118
118
  getWorkflows(): Record<string, string[]>;
119
119
  getUserStories(): Record<string, string[]>;
120
120
  getLinks(): Record<string, import("@ddd-tool/domain-designer-core/common").LinkType>;
@@ -1,4 +1,4 @@
1
- export type I18nMessageKeys = 'constant.type' | 'constant.type.id' | 'constant.type.document' | 'constant.type.function' | 'constant.type.valueObject' | 'constant.type.version' | 'constant.relatedTypes' | 'constant.note' | 'constant.empty' | 'constant.others' | 'menu.focusOnUserStory' | 'menu.focusOnUserStory.focusNothing' | 'menu.completenessAssist' | 'menu.settings' | 'menu.settings.renderExternalSystem' | 'menu.settings.renderReadModel' | 'menu.settings.language' | 'menu.settings.dataSource' | 'menu.help' | 'menu.exportSvg' | 'menu.replayWorkflow';
1
+ export type I18nMessageKeys = 'constant.type' | 'constant.type.id' | 'constant.type.document' | 'constant.type.function' | 'constant.type.valueObject' | 'constant.type.version' | 'constant.relatedTypes' | 'constant.note' | 'constant.empty' | 'constant.others' | 'menu.replayWorkflow' | 'menu.focusOnUserStory' | 'menu.focusOnUserStory.focusNothing' | 'menu.focusOnUserStory.animationDuration' | 'menu.completenessAssist' | 'menu.settings' | 'menu.settings.renderExternalSystem' | 'menu.settings.renderReadModel' | 'menu.settings.language' | 'menu.settings.dataSource' | 'menu.help' | 'menu.help.zoom' | 'menu.help.zoom.content' | 'menu.help.drag' | 'menu.help.drag.content' | 'menu.exportSvg';
2
2
  export type I18nMessages = {
3
3
  [key in I18nMessageKeys]: string;
4
4
  };
package/index.css CHANGED
@@ -1 +1 @@
1
- .nomnoml[data-v-83e775ca]{height:100%;overflow:auto}.nomnoml text{cursor:pointer}@keyframes shining-info{0%{stroke-width:1px;stroke-opacity:.2;stroke:#000;-webkit-text-stroke-color:#000}to{stroke-width:1px;stroke-opacity:.8;stroke:#000;-webkit-text-stroke-color:#000}}@keyframes shining-node{0%{stroke-opacity:.2;stroke:#33322e;-webkit-text-stroke-color:#33322e}to{stroke-opacity:1;stroke:#33322e;-webkit-text-stroke-color:#33322e}}.nomnoml .highlight-info:not(.active) text{animation:shining-info .6s alternate infinite;-webkit-animation:shining-info .6s alternate infinite;-moz-animation:shining-info .6s alternate infinite}.nomnoml .highlight-note:not(.active){animation:shining-info .6s alternate infinite;-webkit-animation:shining-info .6s alternate infinite;-moz-animation:shining-info .6s alternate infinite}.nomnoml .highlight-node:not(.active) g:first-child{animation:shining-node .6s alternate infinite;-webkit-animation:shining-node .6s alternate infinite;-moz-animation:shining-node .6s alternate infinite}.nomnoml g[data-id].active text,.nomnoml tspan[data-id].active{stroke-width:1px;stroke-opacity:.8;stroke:#000;-webkit-text-stroke-color:#000}.nomnoml g.node.active{animation:shining-node .6s alternate infinite;-webkit-animation:shining-node .6s alternate infinite;-moz-animation:shining-node .6s alternate infinite}.container{width:100vw;height:100vh;background-color:#f0f0f0;overflow:hidden;position:relative}.draggable{position:absolute;top:0;left:0;user-select:none;transform-origin:0 0}.p-dock{opacity:.4;transition:.5s}.p-dock:hover{opacity:1}.p-dock .p-dock-item:hover{scale:1.1}.root-fieldset{opacity:.9;white-space:pre-line;position:absolute;right:4rem;top:0;width:30%}.root-fieldset .note:before{content:"";display:inline-block;height:1rem;width:.5rem;border-radius:.25rem;margin-right:.5rem;background-color:#4441ff}
1
+ .nomnoml[data-v-83e775ca]{height:100%;overflow:auto}.nomnoml text{cursor:pointer}@keyframes shining-info{0%{stroke-width:1px;stroke-opacity:.2;stroke:#000;-webkit-text-stroke-color:#000}to{stroke-width:1px;stroke-opacity:.8;stroke:#000;-webkit-text-stroke-color:#000}}@keyframes shining-node{0%{stroke-opacity:.2;stroke:#33322e;-webkit-text-stroke-color:#33322e}to{stroke-opacity:1;stroke:#33322e;-webkit-text-stroke-color:#33322e}}.nomnoml .highlight-info:not(.active) text{animation:shining-info .6s alternate infinite;-webkit-animation:shining-info .6s alternate infinite;-moz-animation:shining-info .6s alternate infinite}.nomnoml .highlight-note:not(.active){animation:shining-info .6s alternate infinite;-webkit-animation:shining-info .6s alternate infinite;-moz-animation:shining-info .6s alternate infinite}.nomnoml .highlight-node:not(.active) g:first-child{animation:shining-node .6s alternate infinite;-webkit-animation:shining-node .6s alternate infinite;-moz-animation:shining-node .6s alternate infinite}.nomnoml g[data-id].active text,.nomnoml tspan[data-id].active{stroke-width:1px;stroke-opacity:.8;stroke:#000;-webkit-text-stroke-color:#000}.nomnoml g.node.active{animation:shining-node .6s alternate infinite;-webkit-animation:shining-node .6s alternate infinite;-moz-animation:shining-node .6s alternate infinite}.container{width:100vw;height:100vh;background-color:#efefef;overflow:hidden;position:relative}.draggable{position:absolute;top:0;left:0;user-select:none;transform-origin:0 0}.p-dock{opacity:.4;transition:.5s}.p-dock:hover{opacity:1}.p-dock .p-dock-item:hover{scale:1.1}.toolbar-drawer{width:40%}.toolbar-drawer .datasource{font-weight:700}.toolbar-drawer .datasource .datasource-item{display:grid;grid-template-columns:20px 1fr;grid-template-rows:1fr;margin:5px 0;line-height:1.5rem;font-size:1rem;border-radius:5px}.toolbar-drawer .datasource .datasource-item :hover{cursor:pointer;background-image:linear-gradient(to bottom,#fff,#e4faff,#fff)}.toolbar-drawer .datasource .datasource-item label{padding-left:5px}.root-fieldset{opacity:.9;white-space:pre-line;position:absolute;right:4rem;top:0;width:30%}.root-fieldset .note:before{content:"";display:inline-block;height:1rem;width:.5rem;border-radius:.25rem;margin-right:.5rem;background-color:#4441ff}