@ddd-tool/domain-designer-ui-component 0.0.0-alpha.10 → 0.0.0-alpha.11

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.
@@ -3,7 +3,9 @@ declare function __VLS_template(): {
3
3
  slots: {
4
4
  default?(_: {}): any;
5
5
  };
6
- refs: {};
6
+ refs: {
7
+ containerRef: HTMLDivElement;
8
+ };
7
9
  rootEl: HTMLDivElement;
8
10
  };
9
11
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
@@ -1,4 +1,4 @@
1
- import type { DomainDesignInfo, DomainDesignInfoType } from '@ddd-tool/domain-designer-core';
1
+ import type { DomainDesignDesc, DomainDesignInfo, DomainDesignInfoType } from '@ddd-tool/domain-designer-core';
2
2
  export declare const RULES: readonly ["Command", "FacadeCommand", "Event", "Agg", "ReadModel"];
3
3
  export type ClassNodeLike = {
4
4
  _attributes: {
@@ -13,6 +13,8 @@ export type NodeLike = {
13
13
  __id: string;
14
14
  rule: string;
15
15
  name: string;
16
+ description?: DomainDesignDesc;
16
17
  };
18
+ inner?: Record<string, any>;
17
19
  };
18
20
  export declare function isNodeLike(node: any): node is NodeLike;
@@ -441,7 +441,7 @@ export declare function useDiagramAgg(data?: Record<string, DomainDesigner>): Re
441
441
  currentWorkflow: Readonly<import("vue").Ref<string | undefined, string | undefined>>;
442
442
  currentStory: Readonly<import("vue").Ref<string, string>>;
443
443
  currentDesignKey: Readonly<import("vue").Ref<string | undefined, string | undefined>>;
444
- currentInfo: Readonly<import("vue").Ref<string | undefined, string | undefined>>;
444
+ currentNode: Readonly<import("vue").Ref<string | undefined, string | undefined>>;
445
445
  downloadEnabled: Readonly<import("vue").Ref<boolean, boolean>>;
446
446
  displayReadModel: Readonly<import("vue").Ref<boolean, boolean>>;
447
447
  displaySystem: Readonly<import("vue").Ref<boolean, boolean>>;
@@ -452,12 +452,12 @@ export declare function useDiagramAgg(data?: Record<string, DomainDesigner>): Re
452
452
  setDownloadEnabled: (b: boolean) => void;
453
453
  setDisplayReadModel: (b: boolean) => void;
454
454
  setDisplaySystem: (b: boolean) => void;
455
- setCurrentInfo: (id: string | undefined) => void;
455
+ setCurrentNode: (id: string | undefined) => void;
456
456
  switchDesign: (key: string) => void;
457
457
  getIdMap: () => Record<string, object>;
458
458
  }>;
459
459
  events: Readonly<{
460
- onFocusInfo: {
460
+ onFocusNode: {
461
461
  latestVersion: import("vue").ComputedRef<import("vue").ShallowRef<string, string>>;
462
462
  watchPublish: (cb: (event: {
463
463
  data: {
package/index.css CHANGED
@@ -1 +1 @@
1
- .nomnoml[data-v-8cf887eb]{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-node g:first-child{animation:shining-node .6s alternate infinite;-webkit-animation:shining-node .6s alternate infinite;-moz-animation:shining-node .6s alternate infinite}.nomnoml .active text{stroke-width:1px;stroke-opacity:.8;stroke:#000;-webkit-text-stroke-color:#000}.container{width:100vw;height:100vh;background-color:#f0f0f0;overflow:hidden;position:relative}.draggable{position:absolute;top:0;left:0;user-select:none;transform-origin:center}.p-dock{opacity:.4;transition:.5s}.p-dock:hover{opacity:1}.p-dock .p-dock-item:hover{scale:1.1}
1
+ .nomnoml[data-v-9de3e409]{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-desc: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 g:first-child{animation:shining-node .6s alternate infinite;-webkit-animation:shining-node .6s alternate infinite;-moz-animation:shining-node .6s alternate infinite}.nomnoml .active,.nomnoml .active text{stroke-width:1px;stroke-opacity:.8;stroke:#000;-webkit-text-stroke-color:#000}.container{width:100vw;height:100vh;background-color:#f0f0f0;overflow:hidden;position:relative}.draggable{position:absolute;top:0;left:0;user-select:none;transform-origin:center}.p-dock{opacity:.4;transition:.5s}.p-dock:hover{opacity:1}.p-dock .p-dock-item:hover{scale:1.1}