@meltemi/diagrams-editor 1.9.0 → 1.10.0

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.
Files changed (112) hide show
  1. package/dist/add-icons.d.ts +44 -0
  2. package/dist/add-icons.d.ts.map +1 -0
  3. package/dist/add-icons.js +178 -0
  4. package/dist/add-icons.js.map +1 -0
  5. package/dist/arrange.d.ts.map +1 -1
  6. package/dist/arrange.js +0 -1
  7. package/dist/arrange.js.map +1 -1
  8. package/dist/asset-files.d.ts +46 -0
  9. package/dist/asset-files.d.ts.map +1 -0
  10. package/dist/asset-files.js +79 -0
  11. package/dist/asset-files.js.map +1 -0
  12. package/dist/c4.d.ts +91 -1
  13. package/dist/c4.d.ts.map +1 -1
  14. package/dist/c4.js +358 -9
  15. package/dist/c4.js.map +1 -1
  16. package/dist/canvas/keyboard.d.ts +3 -1
  17. package/dist/canvas/keyboard.d.ts.map +1 -1
  18. package/dist/canvas/keyboard.js +4 -0
  19. package/dist/canvas/keyboard.js.map +1 -1
  20. package/dist/canvas/palette.d.ts +7 -5
  21. package/dist/canvas/palette.d.ts.map +1 -1
  22. package/dist/canvas/palette.js +13 -9
  23. package/dist/canvas/palette.js.map +1 -1
  24. package/dist/canvas/protocol.d.ts +223 -7
  25. package/dist/canvas/protocol.d.ts.map +1 -1
  26. package/dist/canvas/protocol.js +58 -1
  27. package/dist/canvas/protocol.js.map +1 -1
  28. package/dist/canvas/routes.d.ts +17 -0
  29. package/dist/canvas/routes.d.ts.map +1 -1
  30. package/dist/canvas/routes.js +37 -0
  31. package/dist/canvas/routes.js.map +1 -1
  32. package/dist/canvas/turning.d.ts +7 -0
  33. package/dist/canvas/turning.d.ts.map +1 -1
  34. package/dist/canvas/turning.js +17 -3
  35. package/dist/canvas/turning.js.map +1 -1
  36. package/dist/clipboard.d.ts.map +1 -1
  37. package/dist/clipboard.js +61 -9
  38. package/dist/clipboard.js.map +1 -1
  39. package/dist/effects.d.ts +5 -0
  40. package/dist/effects.d.ts.map +1 -1
  41. package/dist/effects.js +28 -22
  42. package/dist/effects.js.map +1 -1
  43. package/dist/exports.d.ts +19 -11
  44. package/dist/exports.d.ts.map +1 -1
  45. package/dist/exports.js +54 -19
  46. package/dist/exports.js.map +1 -1
  47. package/dist/icons.d.ts +2 -0
  48. package/dist/icons.d.ts.map +1 -1
  49. package/dist/icons.js +39 -6
  50. package/dist/icons.js.map +1 -1
  51. package/dist/index.d.ts +6 -3
  52. package/dist/index.d.ts.map +1 -1
  53. package/dist/index.js +4 -1
  54. package/dist/index.js.map +1 -1
  55. package/dist/inspector.d.ts.map +1 -1
  56. package/dist/inspector.js +229 -97
  57. package/dist/inspector.js.map +1 -1
  58. package/dist/messages/en.d.ts +55 -20
  59. package/dist/messages/en.d.ts.map +1 -1
  60. package/dist/messages/en.js +59 -26
  61. package/dist/messages/en.js.map +1 -1
  62. package/dist/messages/es.d.ts.map +1 -1
  63. package/dist/messages/es.js +47 -43
  64. package/dist/messages/es.js.map +1 -1
  65. package/dist/messages/index.d.ts +43 -17
  66. package/dist/messages/index.d.ts.map +1 -1
  67. package/dist/messages/keys.d.ts.map +1 -1
  68. package/dist/messages/keys.js +2 -0
  69. package/dist/messages/keys.js.map +1 -1
  70. package/dist/messages/services.d.ts +6 -0
  71. package/dist/messages/services.d.ts.map +1 -1
  72. package/dist/messages/services.js +8 -2
  73. package/dist/messages/services.js.map +1 -1
  74. package/dist/move-file.d.ts +32 -0
  75. package/dist/move-file.d.ts.map +1 -0
  76. package/dist/move-file.js +58 -0
  77. package/dist/move-file.js.map +1 -0
  78. package/dist/node.d.ts +1 -1
  79. package/dist/node.d.ts.map +1 -1
  80. package/dist/node.js.map +1 -1
  81. package/dist/projects.d.ts +65 -1
  82. package/dist/projects.d.ts.map +1 -1
  83. package/dist/projects.js +349 -1
  84. package/dist/projects.js.map +1 -1
  85. package/dist/services/actions.d.ts.map +1 -1
  86. package/dist/services/actions.js +11 -1
  87. package/dist/services/actions.js.map +1 -1
  88. package/dist/services/completion.d.ts.map +1 -1
  89. package/dist/services/completion.js +46 -6
  90. package/dist/services/completion.js.map +1 -1
  91. package/dist/services/hover.d.ts.map +1 -1
  92. package/dist/services/hover.js +3 -2
  93. package/dist/services/hover.js.map +1 -1
  94. package/dist/services/navigation.d.ts +1 -1
  95. package/dist/services/navigation.d.ts.map +1 -1
  96. package/dist/services/navigation.js +2 -1
  97. package/dist/services/navigation.js.map +1 -1
  98. package/dist/session.d.ts +56 -10
  99. package/dist/session.d.ts.map +1 -1
  100. package/dist/session.js +650 -38
  101. package/dist/session.js.map +1 -1
  102. package/dist/targets.d.ts +25 -4
  103. package/dist/targets.d.ts.map +1 -1
  104. package/dist/targets.js +103 -7
  105. package/dist/targets.js.map +1 -1
  106. package/dist/text-places.d.ts.map +1 -1
  107. package/dist/text-places.js +55 -1
  108. package/dist/text-places.js.map +1 -1
  109. package/dist/themes.d.ts.map +1 -1
  110. package/dist/themes.js +11 -1
  111. package/dist/themes.js.map +1 -1
  112. package/package.json +16 -16
package/dist/session.d.ts CHANGED
@@ -1,7 +1,8 @@
1
- import { type EditOperation, type EditPlan } from "@meltemi/diagrams-edit";
1
+ import { type EditPlan } from "@meltemi/diagrams-edit";
2
2
  import { type Point } from "@meltemi/diagrams-model";
3
3
  import { type DocumentAnalysis } from "./analysis.js";
4
- import { type HostMessage } from "./canvas/protocol.js";
4
+ import { type CanvasAction, type HostMessage } from "./canvas/protocol.js";
5
+ import type { AssetSteps, ProjectStep } from "./projects.js";
5
6
  /** What the host does after the session handled a message. */
6
7
  export interface SessionResult {
7
8
  readonly messages: readonly HostMessage[];
@@ -25,16 +26,21 @@ export interface SessionResult {
25
26
  readonly story?: string;
26
27
  /**
27
28
  * Edits of other files of the project, which the host makes with `ProjectSessions`: a theme
28
- * created for the project, or an operation on the file that holds the theme being edited.
29
+ * created for the project, or steps over files (`planSteps`), such as a token of the file that
30
+ * holds the theme being edited, or the model of a C4 view and the view's own statements, which
31
+ * the host applies together in one undo step.
29
32
  */
30
33
  readonly project?: {
31
34
  readonly kind: "createTheme";
32
35
  readonly theme: string;
33
36
  readonly extends: string;
34
37
  } | {
35
- readonly kind: "themeFile";
36
- readonly file: string;
37
- readonly operation: EditOperation;
38
+ readonly kind: "files";
39
+ readonly steps: readonly ProjectStep[];
40
+ /** Files of the assets written first, such as added icons (`planAssetSteps`). */
41
+ readonly assets?: AssetSteps;
42
+ /** The action to send again with `cascade: true` when the steps are refused for dependents. */
43
+ readonly retry?: CanvasAction;
38
44
  };
39
45
  /**
40
46
  * Ask the user for the image file of a new image, then call `createObject` with it (`at` is in
@@ -58,9 +64,14 @@ export declare class CanvasSession {
58
64
  private readonly rendered;
59
65
  private pendingSelection;
60
66
  private pendingEdit;
67
+ /** A status line to show after the next render and the selection it brings. */
68
+ private pendingStatus;
61
69
  /** The diagram to show once it exists, after a conversion. */
62
70
  private pendingDiagram;
63
- /** True while the canvas shows the diagram's effects running. */
71
+ /**
72
+ * True while the canvas shows the diagram's effects running: from the start, so a diagram with
73
+ * effects opens animated; the canvas pauses it from the choice it remembers per diagram.
74
+ */
64
75
  private playing;
65
76
  /** The scenario of a sequence diagram previewed read-only, with its diagram. */
66
77
  private scenario;
@@ -132,12 +143,23 @@ export declare class CanvasSession {
132
143
  * participants draw none, get nothing.
133
144
  */
134
145
  private searchIcons;
146
+ /**
147
+ * Adds icons to the project (`addIcons`): the files of the assets and the statements that give
148
+ * the first icon to the targets, as one request of steps over files the host applies in one
149
+ * undo step; outside a project every file is refused.
150
+ */
151
+ private addIcons;
135
152
  /** Highlights the element or relation of the statement at a text offset. */
136
153
  selectAt(offset: number): HostMessage[];
137
154
  /** Handles a message from the canvas. */
138
155
  receive(message: unknown): SessionResult;
139
156
  /** Pastes clipboard text at a point, or two grid steps off when no point is given. */
140
157
  paste(text: string, at?: Point): SessionResult;
158
+ /**
159
+ * Pastes entities copied from a C4 view into this one: copies declared in its model, included
160
+ * and placed; anything else on the clipboard says why it does not paste here.
161
+ */
162
+ private pasteEntities;
141
163
  /** The scenario the canvas previews, if any. */
142
164
  get previewed(): string | undefined;
143
165
  /** Creates an `image` once the host has its file, or an `icon` with its reference. */
@@ -156,13 +178,37 @@ export declare class CanvasSession {
156
178
  * One plan for the operations, after the arrangement of an `auto` diagram when needed; undefined
157
179
  * without operations. It changes nothing in the session: previews plan with it too.
158
180
  */
181
+ /**
182
+ * After an edit names the relation `key` as `id` first, the selection holds `id` where it held
183
+ * the key, so the canvas and the inspector stay on the relation; a refusal drops it.
184
+ */
185
+ private followNaming;
159
186
  private plan;
160
- /** The plan of `plan` for the host to apply; a refusal drops what waited for the edit. */
187
+ /**
188
+ * The plan of `plan` for the host to apply; a refusal drops what waited for the edit. When the
189
+ * operations write the model of a C4 view that another file holds, they go to the host as
190
+ * steps over files instead, with `retry` for the dependents dialog.
191
+ */
161
192
  private planned;
193
+ /**
194
+ * The operations as steps over files when a C4 view's model is in another file of the project
195
+ * and they write it: the model's first, then the view's, which name what the model's wrote;
196
+ * the host plans and applies them together. Undefined when the plan is the document's alone.
197
+ */
198
+ private modelSteps;
199
+ /**
200
+ * Where a new note's centre goes: where the tool was dropped, or, dropped on an element it is
201
+ * attached to, at the element's east edge plus the theme's `groupPadding`, aligned to its top,
202
+ * as a note of the size the text "Note" gives it, snapped to the grid.
203
+ */
204
+ private notePlace;
205
+ /** A view whose model is not resolved cannot write it. */
206
+ private unresolved;
162
207
  /**
163
208
  * The actions of a C4 view that differ from flow diagrams: entities are added from the model
164
- * and removed by excluding them; labels are local; ids rename the model's entities. Returns
165
- * undefined for the actions the flow code handles.
209
+ * and removed by excluding them; relations are the model's; labels are local or the model's;
210
+ * ids rename the model's entities and relations. Returns undefined for the actions the flow
211
+ * code handles.
166
212
  */
167
213
  private c4Action;
168
214
  private act;
@@ -1 +1 @@
1
- {"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../src/session.ts"],"names":[],"mappings":"AAMA,OAAO,EAKL,KAAK,aAAa,EAClB,KAAK,QAAQ,EAEd,MA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