@septkit/ui 0.0.67 → 0.0.69

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 (99) hide show
  1. package/dist/button/button.vue_vue_type_script_setup_true_lang.js +20 -17
  2. package/dist/code/code-block.js +1 -1
  3. package/dist/code/code-block.vue_vue_type_script_setup_true_lang.js +1 -1
  4. package/dist/diagram-layout/diagram-node-card.vue_vue_type_script_setup_true_lang.js +1 -0
  5. package/dist/diagram-layout/diagram-node-group.vue_vue_type_script_setup_true_lang.js +1 -0
  6. package/dist/dialecte/create-document-store.js +4 -3
  7. package/dist/dialog/dialog-host.vue_vue_type_script_setup_true_lang.js +9 -7
  8. package/dist/dialog/dialog.vue_vue_type_script_setup_true_lang.js +44 -35
  9. package/dist/dialog/use-dialog-host.js +12 -2
  10. package/dist/dropdown/combobox-options.js +17 -0
  11. package/dist/dropdown/combobox.vue_vue_type_script_setup_true_lang.js +155 -65
  12. package/dist/explorer/explorer.js +1 -1
  13. package/dist/explorer/explorer.vue_vue_type_script_setup_true_lang.js +52 -48
  14. package/dist/external/.pnpm/@dialecte_core@0.6.1/node_modules/@dialecte/core/dist/helpers.js +229 -0
  15. package/dist/external/.pnpm/@dialecte_core@0.6.1/node_modules/@dialecte/core/dist/index.js +3 -0
  16. package/dist/external/.pnpm/{@dialecte_core@0.5.2/node_modules/@dialecte/core/dist/project-Bd3fSPam.js → @dialecte_core@0.6.1/node_modules/@dialecte/core/dist/project-sK-5Xc-5.js} +1391 -1248
  17. package/dist/external/.pnpm/@dialecte_core@0.6.1/node_modules/@dialecte/core/dist/utils-CTBHUFs9.js +440 -0
  18. package/dist/external/.pnpm/@dialecte_core@0.6.1/node_modules/@dialecte/core/dist/utils.js +2 -0
  19. package/dist/external/.pnpm/@dialecte_scl@0.8.1/node_modules/@dialecte/scl/dist/hooks-C05NpRNi.js +44305 -0
  20. package/dist/external/.pnpm/@dialecte_scl@0.8.1/node_modules/@dialecte/scl/dist/v2019C1/index.js +22 -0
  21. package/dist/external/.pnpm/@vueuse_core@14.3.0_vue@3.5.39_typescript@5.8.3_/node_modules/@vueuse/core/dist/index.js +117 -59
  22. package/dist/external/.pnpm/@vueuse_shared@14.3.0_vue@3.5.39_typescript@5.8.3_/node_modules/@vueuse/shared/dist/index.js +60 -57
  23. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Combobox/ComboboxGroup.js +39 -3
  24. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Combobox/ComboboxLabel.js +38 -0
  25. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Dialog/DialogDescription.js +30 -0
  26. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Listbox/ListboxGroup.js +27 -0
  27. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/Stepper/StepperTrigger.js +97 -0
  28. package/dist/external/.pnpm/reka-ui@2.10.1_vue@3.5.39_typescript@5.8.3_/node_modules/reka-ui/dist/shared/useArrowNavigation.js +31 -0
  29. package/dist/icons/element-badge.js +5 -0
  30. package/dist/icons/element-badge.vue_vue_type_script_setup_true_lang.js +29 -0
  31. package/dist/icons/index.js +4 -0
  32. package/dist/index.d.ts +1880 -81
  33. package/dist/index.js +36 -33
  34. package/dist/merge/{merge-preflight.js → check-files/components/merge-preflight.js} +1 -1
  35. package/dist/merge/check-files/components/merge-preflight.vue_vue_type_script_setup_true_lang.js +53 -0
  36. package/dist/merge/check-files/flags.js +17 -0
  37. package/dist/merge/check-files/identity-warning.js +18 -0
  38. package/dist/merge/{merge-summary.js → confirm/components/merge-summary.js} +1 -1
  39. package/dist/merge/confirm/components/merge-summary.vue_vue_type_script_setup_true_lang.js +207 -0
  40. package/dist/merge/confirm/landings.js +34 -0
  41. package/dist/merge/confirm/outcome.js +178 -0
  42. package/dist/merge/confirm/summary.js +57 -0
  43. package/dist/merge/done/applied-counts.js +16 -0
  44. package/dist/merge/done/applied-focus.js +15 -0
  45. package/dist/merge/help.js +76 -0
  46. package/dist/merge/index.js +8 -7
  47. package/dist/merge/match/components/merge-map.js +5 -0
  48. package/dist/merge/match/components/merge-map.vue_vue_type_script_setup_true_lang.js +230 -0
  49. package/dist/merge/match/match.js +211 -0
  50. package/dist/merge/review/affix.js +14 -0
  51. package/dist/merge/review/change-badge.js +10 -0
  52. package/dist/merge/{decision-toggle.js → review/components/decision-toggle.js} +1 -1
  53. package/dist/merge/review/components/decision-toggle.vue_vue_type_script_setup_true_lang.js +80 -0
  54. package/dist/merge/{element-detail.js → review/components/element-detail.js} +1 -1
  55. package/dist/merge/review/components/element-detail.vue_vue_type_script_setup_true_lang.js +210 -0
  56. package/dist/merge/{merge-tree.js → review/components/merge-tree.js} +1 -1
  57. package/dist/merge/review/components/merge-tree.vue_vue_type_script_setup_true_lang.js +192 -0
  58. package/dist/merge/{type-name-authority.js → review/components/type-name-authority.js} +1 -1
  59. package/dist/merge/{type-name-authority.vue_vue_type_script_setup_true_lang.js → review/components/type-name-authority.vue_vue_type_script_setup_true_lang.js} +7 -6
  60. package/dist/merge/review/decision.js +12 -0
  61. package/dist/merge/review/detail.js +63 -0
  62. package/dist/merge/{merge-highlight.js → review/highlight.js} +2 -2
  63. package/dist/merge/review/marks.js +17 -0
  64. package/dist/merge/review/navigation.js +82 -0
  65. package/dist/merge/review/title.js +7 -0
  66. package/dist/merge/review/tree.js +138 -0
  67. package/dist/merge/session/components/merge-help.js +7 -0
  68. package/dist/merge/session/components/merge-help.vue_vue_type_script_setup_true_lang.js +109 -0
  69. package/dist/merge/{merge-progress.js → session/components/merge-progress.js} +1 -1
  70. package/dist/merge/{merge-progress.vue_vue_type_script_setup_true_lang.js → session/components/merge-progress.vue_vue_type_script_setup_true_lang.js} +1 -1
  71. package/dist/merge/{merge-review.js → session/components/merge-review.js} +1 -1
  72. package/dist/merge/session/components/merge-review.vue_vue_type_script_setup_true_lang.js +894 -0
  73. package/dist/merge/session/merge.service.js +107 -0
  74. package/dist/merge/session/shortcuts.js +22 -0
  75. package/dist/merge/session/staged-writes.js +47 -0
  76. package/dist/merge/session/steps.js +21 -0
  77. package/dist/merge/{use-document-progress.js → session/use-document-progress.js} +1 -1
  78. package/dist/merge/session/use-merge-session.js +360 -0
  79. package/dist/merge/wording.js +124 -0
  80. package/dist/ui.css +1 -1
  81. package/package.json +3 -3
  82. package/dist/external/.pnpm/@dialecte_core@0.5.2/node_modules/@dialecte/core/dist/helpers.js +0 -142
  83. package/dist/external/.pnpm/@dialecte_core@0.5.2/node_modules/@dialecte/core/dist/index.js +0 -3
  84. package/dist/external/.pnpm/@dialecte_core@0.5.2/node_modules/@dialecte/core/dist/utils-ERge2irW.js +0 -254
  85. package/dist/external/.pnpm/@dialecte_scl@0.5.0/node_modules/@dialecte/scl/dist/hooks-2Y_WzKF4.js +0 -33971
  86. package/dist/external/.pnpm/@dialecte_scl@0.5.0/node_modules/@dialecte/scl/dist/v2019C1/index.js +0 -22
  87. package/dist/external/.pnpm/@lucide_vue@1.23.0_vue@3.5.39_typescript@5.8.3_/node_modules/@lucide/vue/dist/esm/icons/eye-off.js +0 -22
  88. package/dist/external/.pnpm/@lucide_vue@1.23.0_vue@3.5.39_typescript@5.8.3_/node_modules/@lucide/vue/dist/esm/icons/eye.js +0 -13
  89. package/dist/merge/affix.js +0 -14
  90. package/dist/merge/build-view-model.js +0 -215
  91. package/dist/merge/decision-toggle.vue_vue_type_script_setup_true_lang.js +0 -40
  92. package/dist/merge/element-detail.vue_vue_type_script_setup_true_lang.js +0 -185
  93. package/dist/merge/merge-decision.js +0 -6
  94. package/dist/merge/merge-preflight.vue_vue_type_script_setup_true_lang.js +0 -41
  95. package/dist/merge/merge-review.vue_vue_type_script_setup_true_lang.js +0 -409
  96. package/dist/merge/merge-summary.vue_vue_type_script_setup_true_lang.js +0 -98
  97. package/dist/merge/merge-tree.vue_vue_type_script_setup_true_lang.js +0 -112
  98. package/dist/merge/merge.service.js +0 -80
  99. package/dist/merge/use-merge-session.js +0 -164
package/dist/index.d.ts CHANGED
@@ -1,8 +1,10 @@
1
1
  import { AcceptableValue } from 'reka-ui';
2
+ import { AfterApplyHook } from '@dialecte/scl/v2019C1';
2
3
  import { AllowedComponentProps } from 'vue';
3
4
  import { ApplyResult } from '@dialecte/scl/v2019C1';
4
5
  import { AsTag } from 'reka-ui';
5
6
  import { Attrs } from 'vue';
7
+ import { ComboboxInputProps } from 'reka-ui';
6
8
  import { Component } from 'vue';
7
9
  import { ComponentCustomProperties } from 'vue';
8
10
  import { ComponentCustomProps } from 'vue';
@@ -13,6 +15,8 @@ import { ComponentProvideOptions } from 'vue';
13
15
  import { ComponentPublicInstance } from 'vue';
14
16
  import { ComputedRef } from 'vue';
15
17
  import { DebuggerEvent } from 'vue';
18
+ import { DecisionGroup } from '@dialecte/scl/v2019C1';
19
+ import { DecisionMapping } from '@dialecte/scl/v2019C1';
16
20
  import { DefineComponent } from 'vue';
17
21
  import { DiffNode } from '@dialecte/scl/v2019C1';
18
22
  import { DiffReport } from '@dialecte/scl/v2019C1';
@@ -24,7 +28,6 @@ import { GroupDecision } from '@dialecte/scl/v2019C1';
24
28
  import { InjectionKey } from 'vue';
25
29
  import { KeepNameTypesFrom } from '@dialecte/scl/v2019C1';
26
30
  import { LifecycleScenario } from '@dialecte/scl/v2019C1';
27
- import { LifecycleTarget } from '@dialecte/scl/v2019C1';
28
31
  import { LifecycleVerb } from '@dialecte/scl/v2019C1';
29
32
  import { MaybeRefOrGetter } from 'vue';
30
33
  import { nextTick } from 'vue';
@@ -35,8 +38,10 @@ import { Reactive } from 'vue';
35
38
  import { Ref } from 'vue';
36
39
  import { ReferenceElement } from 'reka-ui';
37
40
  import { Scl } from '@dialecte/scl/v2019C1';
41
+ import { ShallowReactive } from 'vue';
38
42
  import { ShallowRef } from 'vue';
39
43
  import { Slot } from 'vue';
44
+ import { SplitterPanelProps } from 'reka-ui';
40
45
  import { TemplateUuidWarning } from '@dialecte/scl/v2019C1';
41
46
  import { TooltipContentProps } from 'reka-ui';
42
47
  import { TooltipTriggerProps } from 'reka-ui';
@@ -69,13 +74,71 @@ modifier: "wide" | "block" | "square" | "circle";
69
74
  }, HTMLDetailsElement>;
70
75
 
71
76
  declare const __VLS_component_3: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
77
+ action: (search: string, matches: number) => any;
72
78
  "update:modelValue": (value: AcceptableValue) => any;
73
79
  }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
80
+ onAction?: ((search: string, matches: number) => any) | undefined;
74
81
  "onUpdate:modelValue"?: ((value: AcceptableValue) => any) | undefined;
75
82
  }>, {
76
83
  color: "neutral" | "primary" | "secondary" | "accent" | "info" | "success" | "warning" | "error";
77
84
  size: "xs" | "sm" | "md" | "lg" | "xl";
78
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
85
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
86
+ input: ({
87
+ $: ComponentInternalInstance;
88
+ $data: {};
89
+ $props: {
90
+ readonly displayValue?: ((val: any) => string) | undefined;
91
+ readonly modelValue?: string | undefined;
92
+ readonly autoFocus?: boolean | undefined;
93
+ readonly disabled?: boolean | undefined;
94
+ readonly asChild?: boolean | undefined;
95
+ readonly as?: (AsTag | Component) | undefined;
96
+ readonly "onUpdate:modelValue"?: ((args_0: string) => any) | undefined | undefined;
97
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
98
+ $attrs: Attrs;
99
+ $refs: {
100
+ [x: string]: unknown;
101
+ };
102
+ $slots: Readonly<{
103
+ [name: string]: Slot<any> | undefined;
104
+ }>;
105
+ $root: ComponentPublicInstance | null;
106
+ $parent: ComponentPublicInstance | null;
107
+ $host: Element | null;
108
+ $emit: (event: "update:modelValue", args_0: string) => void;
109
+ $el: any;
110
+ $options: ComponentOptionsBase<Readonly<ComboboxInputProps> & Readonly<{
111
+ "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
112
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
113
+ "update:modelValue": (args_0: string) => any;
114
+ }, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
115
+ beforeCreate?: (() => void) | (() => void)[];
116
+ created?: (() => void) | (() => void)[];
117
+ beforeMount?: (() => void) | (() => void)[];
118
+ mounted?: (() => void) | (() => void)[];
119
+ beforeUpdate?: (() => void) | (() => void)[];
120
+ updated?: (() => void) | (() => void)[];
121
+ activated?: (() => void) | (() => void)[];
122
+ deactivated?: (() => void) | (() => void)[];
123
+ beforeDestroy?: (() => void) | (() => void)[];
124
+ beforeUnmount?: (() => void) | (() => void)[];
125
+ destroyed?: (() => void) | (() => void)[];
126
+ unmounted?: (() => void) | (() => void)[];
127
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
128
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
129
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
130
+ };
131
+ $forceUpdate: () => void;
132
+ $nextTick: typeof nextTick;
133
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
134
+ } & Readonly<{}> & Omit<Readonly<ComboboxInputProps> & Readonly<{
135
+ "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
136
+ }>, never> & {} & ComponentCustomProperties & {} & {
137
+ $slots: {
138
+ default?: (props: {}) => any;
139
+ };
140
+ }) | null;
141
+ }, any>;
79
142
 
80
143
  declare const __VLS_component_4: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
81
144
  "update:open": (value: boolean) => any;
@@ -205,14 +268,14 @@ default?: (props: {}) => any;
205
268
  }) | null;
206
269
  }, any>;
207
270
 
208
- declare const __VLS_component_6: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
271
+ declare const __VLS_component_6: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
209
272
  select: (node: ExplorerNode) => any;
210
273
  contextmenu: (payload: {
211
274
  node: ExplorerNode;
212
275
  event: MouseEvent;
213
276
  }) => any;
214
277
  "update:expanded": (state: ExplorerExpandedState) => any;
215
- }, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{
278
+ }, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{
216
279
  onSelect?: ((node: ExplorerNode) => any) | undefined;
217
280
  onContextmenu?: ((payload: {
218
281
  node: ExplorerNode;
@@ -224,19 +287,19 @@ ariaLabel: string;
224
287
  expanded: ExplorerExpandedState;
225
288
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
226
289
 
227
- declare const __VLS_component_7: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {
290
+ declare const __VLS_component_7: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{}>, {
228
291
  direction: "horizontal" | "vertical";
229
292
  defaultSize: number;
230
293
  maxSize: number;
231
294
  minSize: number;
232
295
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
233
296
 
234
- declare const __VLS_component_8: DefineComponent<__VLS_Props_23, {
297
+ declare const __VLS_component_8: DefineComponent<__VLS_Props_25, {
235
298
  focus: () => void | undefined;
236
299
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
237
300
  toggle: (groupId: string) => any;
238
301
  keydown: (event: KeyboardEvent) => any;
239
- }, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{
302
+ }, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{
240
303
  onToggle?: ((groupId: string) => any) | undefined;
241
304
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
242
305
  }>, {
@@ -261,13 +324,23 @@ declare type __VLS_Props = {
261
324
  };
262
325
 
263
326
  declare type __VLS_Props_10 = {
327
+ items: ExplorerNode[];
328
+ expanded?: ExplorerExpandedState;
329
+ ariaLabel?: string;
330
+ /** The id of the selected row, when the consumer chooses it; the user's click still emits `select`. */
331
+ selected?: string;
332
+ /** What a row is called for assistive technology, when the text drawn in it says less or more. */
333
+ rowLabel?: (node: ExplorerNode) => string | undefined;
334
+ };
335
+
336
+ declare type __VLS_Props_11 = {
264
337
  sources: LibraryBrowserSource[];
265
338
  extensions: string[];
266
339
  /** localStorage key for persisting expand state; omit to disable persistence. */
267
340
  storageKey?: string;
268
341
  };
269
342
 
270
- declare type __VLS_Props_11 = {
343
+ declare type __VLS_Props_12 = {
271
344
  /** Code to render. */
272
345
  code?: string;
273
346
  /** Shiki language id. Defaults to `xml`. */
@@ -279,7 +352,7 @@ declare type __VLS_Props_11 = {
279
352
  wrap?: boolean;
280
353
  };
281
354
 
282
- declare type __VLS_Props_12 = {
355
+ declare type __VLS_Props_13 = {
283
356
  /** Baseline XML. Omit (or empty) for a purely-added element. */
284
357
  before?: string;
285
358
  /** Resulting XML. */
@@ -287,16 +360,20 @@ declare type __VLS_Props_12 = {
287
360
  loading?: boolean;
288
361
  };
289
362
 
290
- declare type __VLS_Props_13 = {
363
+ declare type __VLS_Props_14 = {
291
364
  category: NoteCategory;
292
365
  };
293
366
 
294
- declare type __VLS_Props_14 = {
367
+ declare type __VLS_Props_15 = {
295
368
  size?: 'xs' | 'sm' | 'md';
296
369
  disabled?: boolean;
370
+ /** What the decision is about, to name it for assistive technology. */
371
+ label?: string;
372
+ /** The kind of change decided on: each choice is named after what it does to it. */
373
+ change?: ChangeStatus;
297
374
  };
298
375
 
299
- declare type __VLS_Props_15 = {
376
+ declare type __VLS_Props_16 = {
300
377
  detail: ElementDetailVM | undefined;
301
378
  /** Consumer-supplied fixed prefix/suffix per attribute; the user edits only the core. */
302
379
  affixMask?: AffixMaskResolver;
@@ -304,13 +381,19 @@ declare type __VLS_Props_15 = {
304
381
  disabled?: boolean;
305
382
  };
306
383
 
307
- declare type __VLS_Props_16 = MergeSessionParams & {
384
+ declare type __VLS_Props_17 = {
385
+ view: MapView;
386
+ /** Said above the rows when the template lands below where the user started. */
387
+ notice?: string;
388
+ };
389
+
390
+ declare type __VLS_Props_18 = MergeSessionParams & {
308
391
  source?: FileMeta;
309
392
  target?: FileMeta;
310
393
  affixMask?: AffixMaskResolver;
311
394
  };
312
395
 
313
- declare type __VLS_Props_17 = {
396
+ declare type __VLS_Props_19 = {
314
397
  items: ExplorerNode[];
315
398
  /** Per-node metadata keyed by node id (change, role, groupId, path). */
316
399
  meta: Record<string, MergeNodeMeta>;
@@ -318,18 +401,10 @@ declare type __VLS_Props_17 = {
318
401
  decisions: Record<string, DecisionAction>;
319
402
  /** Node ids to expand by default (the path to every change). */
320
403
  expandedItems?: string[];
321
- };
322
-
323
- declare type __VLS_Props_18 = {
324
- size?: 'xs' | 'sm' | 'md';
325
- disabled?: boolean;
326
- /** Render the segmented control only, without the leading label. */
327
- hideLabel?: boolean;
328
- };
329
-
330
- declare type __VLS_Props_19 = {
331
- columnId: string;
332
- title: string;
404
+ /** The node the dialog shows: the path to it opens, it is selected, spotlighted and scrolled to. */
405
+ selected?: string;
406
+ /** What Check files found, by node id: the elements marked, with the warning. */
407
+ flagged?: Record<string, string>;
333
408
  };
334
409
 
335
410
  declare type __VLS_Props_2 = {
@@ -351,13 +426,25 @@ declare type __VLS_Props_2 = {
351
426
  };
352
427
 
353
428
  declare type __VLS_Props_20 = {
429
+ size?: 'xs' | 'sm' | 'md';
430
+ disabled?: boolean;
431
+ /** Render the segmented control only, without the leading label. */
432
+ hideLabel?: boolean;
433
+ };
434
+
435
+ declare type __VLS_Props_21 = {
436
+ columnId: string;
437
+ title: string;
438
+ };
439
+
440
+ declare type __VLS_Props_22 = {
354
441
  x: number;
355
442
  y: number;
356
443
  visible: boolean;
357
444
  items: ContextMenuItem[];
358
445
  };
359
446
 
360
- declare type __VLS_Props_21 = {
447
+ declare type __VLS_Props_23 = {
361
448
  /** Unique key: drives the splitter group's auto-save-id and both panel ids. */
362
449
  persistenceKey: string;
363
450
  showSidebar: boolean;
@@ -370,7 +457,7 @@ declare type __VLS_Props_21 = {
370
457
  maxSize?: number;
371
458
  };
372
459
 
373
- declare type __VLS_Props_22 = {
460
+ declare type __VLS_Props_24 = {
374
461
  nodeId: string;
375
462
  tagName: string;
376
463
  label: string;
@@ -387,7 +474,7 @@ declare type __VLS_Props_22 = {
387
474
  treeMeta?: TreeItemMeta;
388
475
  };
389
476
 
390
- declare type __VLS_Props_23 = {
477
+ declare type __VLS_Props_25 = {
391
478
  groupId: string;
392
479
  tagName: string;
393
480
  label: string;
@@ -414,6 +501,22 @@ declare type __VLS_Props_3 = {
414
501
  variant?: 'ghost' | 'bordered' | 'soft' | 'dash';
415
502
  size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
416
503
  disabled?: boolean;
504
+ /** The identity of an option, when two may read alike (two elements of one name). */
505
+ getKey?: (item: AcceptableValue) => string;
506
+ /** What a search looks in; given, the combobox filters on it instead of what an option reads. */
507
+ searchText?: (item: AcceptableValue) => string;
508
+ /** The group an option is listed under, groups in the order their options come. */
509
+ groupOf?: (item: AcceptableValue) => string;
510
+ /** At most this many options are drawn; the search narrows the rest. */
511
+ limit?: number;
512
+ /**
513
+ * An action listed last whatever the search (create one): its label for what is typed and how
514
+ * many options that search finds.
515
+ */
516
+ actionLabel?: (search: string, matches: number) => string;
517
+ /** The input's accessible name, and what describes it. */
518
+ ariaLabel?: string;
519
+ ariaDescribedby?: string;
417
520
  };
418
521
 
419
522
  declare type __VLS_Props_4 = {
@@ -433,6 +536,8 @@ declare type __VLS_Props_5 = {
433
536
  /** Controlled open state (v-model:open). */
434
537
  open: boolean;
435
538
  title?: string;
539
+ /** What the dialog is for, read by assistive technology when it opens (not shown). */
540
+ description?: string;
436
541
  size?: DialogSize;
437
542
  closable?: boolean;
438
543
  /**
@@ -466,9 +571,10 @@ declare type __VLS_Props_8 = {
466
571
  };
467
572
 
468
573
  declare type __VLS_Props_9 = {
469
- items: ExplorerNode[];
470
- expanded?: ExplorerExpandedState;
471
- ariaLabel?: string;
574
+ /** The SCL element whose kind is shown: its icon on the colour of its family. */
575
+ tagName: string;
576
+ /** `sm` beside small text (lists, rows), `md` beside a name in a tree. */
577
+ size?: 'sm' | 'md';
472
578
  };
473
579
 
474
580
  declare type __VLS_PublicProps = {
@@ -486,11 +592,11 @@ declare type __VLS_PublicProps_3 = {
486
592
 
487
593
  declare type __VLS_PublicProps_4 = {
488
594
  modelValue: DecisionAction;
489
- } & __VLS_Props_14;
595
+ } & __VLS_Props_15;
490
596
 
491
597
  declare type __VLS_PublicProps_5 = {
492
598
  modelValue: KeepNameTypesFrom;
493
- } & __VLS_Props_18;
599
+ } & __VLS_Props_20;
494
600
 
495
601
  declare function __VLS_template(): {
496
602
  attrs: Partial<{}>;
@@ -520,7 +626,63 @@ declare function __VLS_template_3(): {
520
626
  item: AcceptableValue;
521
627
  }): any;
522
628
  };
523
- refs: {};
629
+ refs: {
630
+ input: ({
631
+ $: ComponentInternalInstance;
632
+ $data: {};
633
+ $props: {
634
+ readonly displayValue?: ((val: any) => string) | undefined;
635
+ readonly modelValue?: string | undefined;
636
+ readonly autoFocus?: boolean | undefined;
637
+ readonly disabled?: boolean | undefined;
638
+ readonly asChild?: boolean | undefined;
639
+ readonly as?: (AsTag | Component) | undefined;
640
+ readonly "onUpdate:modelValue"?: ((args_0: string) => any) | undefined | undefined;
641
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
642
+ $attrs: Attrs;
643
+ $refs: {
644
+ [x: string]: unknown;
645
+ };
646
+ $slots: Readonly<{
647
+ [name: string]: Slot<any> | undefined;
648
+ }>;
649
+ $root: ComponentPublicInstance | null;
650
+ $parent: ComponentPublicInstance | null;
651
+ $host: Element | null;
652
+ $emit: (event: "update:modelValue", args_0: string) => void;
653
+ $el: any;
654
+ $options: ComponentOptionsBase<Readonly<ComboboxInputProps> & Readonly<{
655
+ "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
656
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
657
+ "update:modelValue": (args_0: string) => any;
658
+ }, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
659
+ beforeCreate?: (() => void) | (() => void)[];
660
+ created?: (() => void) | (() => void)[];
661
+ beforeMount?: (() => void) | (() => void)[];
662
+ mounted?: (() => void) | (() => void)[];
663
+ beforeUpdate?: (() => void) | (() => void)[];
664
+ updated?: (() => void) | (() => void)[];
665
+ activated?: (() => void) | (() => void)[];
666
+ deactivated?: (() => void) | (() => void)[];
667
+ beforeDestroy?: (() => void) | (() => void)[];
668
+ beforeUnmount?: (() => void) | (() => void)[];
669
+ destroyed?: (() => void) | (() => void)[];
670
+ unmounted?: (() => void) | (() => void)[];
671
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
672
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
673
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
674
+ };
675
+ $forceUpdate: () => void;
676
+ $nextTick: typeof nextTick;
677
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
678
+ } & Readonly<{}> & Omit<Readonly<ComboboxInputProps> & Readonly<{
679
+ "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
680
+ }>, never> & {} & ComponentCustomProperties & {} & {
681
+ $slots: {
682
+ default?: (props: {}) => any;
683
+ };
684
+ }) | null;
685
+ };
524
686
  rootEl: any;
525
687
  };
526
688
 
@@ -816,22 +978,6 @@ export declare type AffixMaskResolver = (params: {
816
978
  attr: string;
817
979
  }) => AttributeAffix | undefined;
818
980
 
819
- /**
820
- * Consumer hook run INSIDE the merge transaction, right after `tx.lifecycle.apply`.
821
- * Receives the `ApplyResult` (the instance roots the write produced) so a caller can
822
- * layer domain-specific post-steps (e.g. naming, wiring) onto the same atomic tx for
823
- * both preview and commit, keeping this service domain-agnostic.
824
- */
825
- export declare type AfterApply = (tx: MergeTx, ctx: AfterApplyContext) => Promise<void> | void;
826
-
827
- /** Context handed to {@link AfterApply}: the target plus what `apply` produced. */
828
- declare type AfterApplyContext = {
829
- target: LifecycleTarget;
830
- report: DiffReport;
831
- decisions: Map<string, GroupDecision>;
832
- result: ApplyResult;
833
- };
834
-
835
981
  /**
836
982
  * Seed `visibleChildIds` from the initial expand/collapse options: BFS from the
837
983
  * roots, expanding a node when it is explicitly expanded or within
@@ -880,7 +1026,7 @@ export declare type ChangeStatus = 'added' | 'removed' | 'modified' | 'unchanged
880
1026
 
881
1027
  declare function closeDropdown(): void;
882
1028
 
883
- export declare const CodeBlock: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1029
+ export declare const CodeBlock: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
884
1030
 
885
1031
  /**
886
1032
  * Collects the ids of every node that has children, for binding to
@@ -949,9 +1095,9 @@ export declare type Connection = {
949
1095
  target: string;
950
1096
  };
951
1097
 
952
- export declare const ContextMenu: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1098
+ export declare const ContextMenu: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
953
1099
  close: () => any;
954
- }, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{
1100
+ }, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{
955
1101
  onClose?: (() => any) | undefined;
956
1102
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
957
1103
 
@@ -1030,8 +1176,12 @@ export declare type DetailAttribute = {
1030
1176
  written?: string;
1031
1177
  /** When set, the attribute is user-editable and its value renders as an input. */
1032
1178
  editable?: EditableMode;
1033
- /** The engine auto-resolved a placement collision on this field (value = the resolved one). */
1034
- conflict?: boolean;
1179
+ /**
1180
+ * The merge writes another value than the one asked for (the user's edit, else the template's):
1181
+ * taken where the element lands, or changed by the consumer's step. The value shown is the one
1182
+ * written.
1183
+ */
1184
+ adjusted?: boolean;
1035
1185
  };
1036
1186
 
1037
1187
  export declare type DiagramLayoutOptions<TRecord extends LayoutTreeRecord, TNode, TEdge> = {
@@ -1051,22 +1201,22 @@ export declare type DiagramLayoutOptions<TRecord extends LayoutTreeRecord, TNode
1051
1201
  toEdge: (context: EdgeMapperContext) => TEdge;
1052
1202
  };
1053
1203
 
1054
- export declare const DiagramNodeCard: DefineComponent<__VLS_Props_22, {
1204
+ export declare const DiagramNodeCard: DefineComponent<__VLS_Props_24, {
1055
1205
  focus: () => void | undefined;
1056
1206
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1057
1207
  select: (nodeId: string) => any;
1058
- "toggle-expand": (nodeId: string) => any;
1059
1208
  keydown: (event: KeyboardEvent) => any;
1209
+ "toggle-expand": (nodeId: string) => any;
1060
1210
  "show-details": (nodeId: string) => any;
1061
- }, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{
1211
+ }, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{
1062
1212
  onSelect?: ((nodeId: string) => any) | undefined;
1063
- "onToggle-expand"?: ((nodeId: string) => any) | undefined;
1064
1213
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
1214
+ "onToggle-expand"?: ((nodeId: string) => any) | undefined;
1065
1215
  "onShow-details"?: ((nodeId: string) => any) | undefined;
1066
1216
  }>, {
1067
1217
  height: number;
1068
- compact: boolean;
1069
1218
  selected: boolean;
1219
+ compact: boolean;
1070
1220
  childCounts: NodeChildCount[];
1071
1221
  testId: string;
1072
1222
  detailsTestId: string;
@@ -1104,6 +1254,8 @@ export declare type DialogController = {
1104
1254
  showWarning: (payload: FeedbackPayload) => void;
1105
1255
  /** Dismiss the feedback overlay: reveals the root component, or closes if there is none. */
1106
1256
  dismissFeedback: () => void;
1257
+ /** Let the user dismiss the root, or not while it runs work that must not be cut short. */
1258
+ setClosable: (closable: boolean) => void;
1107
1259
  /** Close the host dialog entirely (clears both the root and any feedback). */
1108
1260
  close: () => void;
1109
1261
  };
@@ -1119,6 +1271,8 @@ export declare type DialogOptions = {
1119
1271
  size?: DialogSize;
1120
1272
  /** Optional heading shown in the dialog chrome. */
1121
1273
  title?: string;
1274
+ /** What the dialog is for, read by assistive technology when it opens (not shown). */
1275
+ description?: string;
1122
1276
  /** Whether the user may dismiss it (close button, escape, click-outside). Default `true`. */
1123
1277
  closable?: boolean;
1124
1278
  /** Confine the dialog to the host's container (in place, `absolute`) instead of the viewport. */
@@ -1167,14 +1321,16 @@ export declare const ELEMENT_TO_COLOR: Record<string, ElementColor>;
1167
1321
 
1168
1322
  export declare const ELEMENT_TO_ICON: Record<string, Component>;
1169
1323
 
1324
+ export declare const ElementBadge: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1325
+
1170
1326
  export declare interface ElementColor {
1171
1327
  text: string;
1172
1328
  background: string;
1173
1329
  }
1174
1330
 
1175
- export declare const ElementDetail: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1331
+ export declare const ElementDetail: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1176
1332
  edit: (attr: string, value: string) => any;
1177
- }, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{
1333
+ }, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{
1178
1334
  onEdit?: ((attr: string, value: string) => any) | undefined;
1179
1335
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1180
1336
 
@@ -1249,7 +1405,7 @@ export declare type FileMeta = {
1249
1405
  revision: string;
1250
1406
  };
1251
1407
 
1252
- export declare const FilterableColumnHeader: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
1408
+ export declare const FilterableColumnHeader: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
1253
1409
  funnelRef: HTMLButtonElement;
1254
1410
  popoverWrapperRef: HTMLDivElement;
1255
1411
  }, HTMLDivElement>;
@@ -1471,12 +1627,12 @@ export declare type LayoutTreeRelation = {
1471
1627
  tagName: string;
1472
1628
  };
1473
1629
 
1474
- export declare const LibraryBrowser: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1630
+ export declare const LibraryBrowser: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1475
1631
  select: (payload: {
1476
1632
  sourceId: string;
1477
1633
  path: string;
1478
1634
  }) => any;
1479
- }, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{
1635
+ }, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
1480
1636
  onSelect?: ((payload: {
1481
1637
  sourceId: string;
1482
1638
  path: string;
@@ -1518,6 +1674,72 @@ export declare type LiveDataDocument = {
1518
1674
 
1519
1675
  export declare function makeGroupId(parentId: string, tagName: string): string;
1520
1676
 
1677
+ /** A project element a shared element of the template can be mapped onto. */
1678
+ export declare type MapCandidate = {
1679
+ id: string;
1680
+ title: string;
1681
+ path: string;
1682
+ };
1683
+
1684
+ /** The rows of one kind of shared element. */
1685
+ export declare type MapGroup = {
1686
+ tag: string;
1687
+ label: string;
1688
+ rows: MapRow[];
1689
+ };
1690
+
1691
+ /** One shared element of the template in the Map step: where it lands, and why. */
1692
+ export declare type MapRow = {
1693
+ /** Record id of the source element — the key of the user's choice for it. */
1694
+ id: string;
1695
+ tag: string;
1696
+ /** Title of the source element. */
1697
+ title: string;
1698
+ /**
1699
+ * The element of the project the row is decided for, when the template's element is decided
1700
+ * once per such element (the function one instance of an application stands on).
1701
+ */
1702
+ decidedFor?: string;
1703
+ /**
1704
+ * Where it lands as resolved: an element of the project, or a new one — or nowhere yet, when
1705
+ * nothing is picked and the choice is the user's.
1706
+ */
1707
+ target: ({
1708
+ kind: 'existing';
1709
+ } & MapCandidate) | {
1710
+ kind: 'create';
1711
+ name: string;
1712
+ /** The path of the project element it is created under, when known. */
1713
+ parentPath?: string;
1714
+ } | {
1715
+ kind: 'undecided';
1716
+ };
1717
+ /** Why it lands there, in words. */
1718
+ hint: string;
1719
+ /** Several project elements qualified equally, so none was picked. */
1720
+ ambiguous: boolean;
1721
+ /** Where it lands is the user's own choice — it can be given back to the engine. */
1722
+ chosen: boolean;
1723
+ /** Every project element it can be mapped onto, nearest to the placement first. */
1724
+ candidates: MapCandidate[];
1725
+ /**
1726
+ * Where the merge writes the element to create, when it is not what was asked: its name was
1727
+ * taken where it lands, or a level above it is created under another name. Known once the
1728
+ * preview ran.
1729
+ */
1730
+ written?: WrittenTarget;
1731
+ /** A project element carrying the name asked for, when it is one of the candidates. */
1732
+ existingNamedAlike?: MapCandidate;
1733
+ /** Why an earlier choice of this row no longer stands, when one was given up. */
1734
+ note?: string;
1735
+ };
1736
+
1737
+ /** The Map step: the rows the user may change, and those resolved without a choice. */
1738
+ export declare type MapView = {
1739
+ changeable: MapGroup[];
1740
+ automatic: MapGroup[];
1741
+ };
1742
+
1521
1743
  /**
1522
1744
  * Height of a single member card. Capsule presence - not the record's child
1523
1745
  * relationship - decides it, because capsules are the only thing the taller
@@ -1526,6 +1748,12 @@ export declare function makeGroupId(parentId: string, tagName: string): string;
1526
1748
  */
1527
1749
  export declare function memberCardHeight(hasChildCounts: boolean): number;
1528
1750
 
1751
+ export declare const MergeMap: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1752
+ map: (sourceId: string, mapping: DecisionMapping | undefined) => any;
1753
+ }, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{
1754
+ onMap?: ((sourceId: string, mapping: DecisionMapping | undefined) => any) | undefined;
1755
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1756
+
1529
1757
  /**
1530
1758
  * Per-node metadata the merge tree overlays on an `ExplorerNode` (keyed by node id).
1531
1759
  * The tree itself is a plain `ExplorerNode[]`; this side map drives change colour, the
@@ -1545,6 +1773,8 @@ export declare type MergeNodeMeta = {
1545
1773
  regionHead?: boolean;
1546
1774
  /** For a satellite companion that lives elsewhere: its real document path (shown as subtitle). */
1547
1775
  path?: string;
1776
+ /** A project element a shared element of the template is mapped onto (see the Map step). */
1777
+ mapped?: boolean;
1548
1778
  /**
1549
1779
  * Present on an instance ROOT (Application/Function): its linkage to the loaded template
1550
1780
  * and its member cluster. Drives the "linked / up to date" badge and the select-to-highlight
@@ -1556,13 +1786,1378 @@ export declare type MergeNodeMeta = {
1556
1786
  };
1557
1787
  };
1558
1788
 
1559
- export declare const MergeReview: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1789
+ /** What a dry run of the merge writes, element by element: the Confirm step's account of it. */
1790
+ declare type MergeOutcome = {
1791
+ /** Each element placed, once, with what it holds folded under it and where it lands. */
1792
+ added: MergeSummaryItem[];
1793
+ /** Each element of the project that changes: its own values, or what is added inside it. */
1794
+ updated: MergeSummaryItem[];
1795
+ /** Each element placed under another value than the one asked for: taken there, or changed by the consumer's step. */
1796
+ renamed: MergeSummary['renamed'];
1797
+ /** The landings the run placed, by source record id: a level, a shared element. What is left out is not among them. */
1798
+ landed: ReadonlySet<string>;
1799
+ };
1800
+
1801
+ export declare const MergeReview: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1560
1802
  close: () => any;
1803
+ show: (ref: {
1804
+ readonly tagName: "P";
1805
+ readonly id: string;
1806
+ } | {
1807
+ readonly tagName: "Substation";
1808
+ readonly id: string;
1809
+ } | {
1810
+ readonly tagName: "Process";
1811
+ readonly id: string;
1812
+ } | {
1813
+ readonly tagName: "VoltageLevel";
1814
+ readonly id: string;
1815
+ } | {
1816
+ readonly tagName: "Line";
1817
+ readonly id: string;
1818
+ } | {
1819
+ readonly tagName: "Bay";
1820
+ readonly id: string;
1821
+ } | {
1822
+ readonly tagName: "BayType";
1823
+ readonly id: string;
1824
+ } | {
1825
+ readonly tagName: "Voltage";
1826
+ readonly id: string;
1827
+ } | {
1828
+ readonly tagName: "ProcessResources";
1829
+ readonly id: string;
1830
+ } | {
1831
+ readonly tagName: "ProcessResource";
1832
+ readonly id: string;
1833
+ } | {
1834
+ readonly tagName: "ProcessResourceRef";
1835
+ readonly id: string;
1836
+ } | {
1837
+ readonly tagName: "ConductingEquipment";
1838
+ readonly id: string;
1839
+ } | {
1840
+ readonly tagName: "GeneralEquipment";
1841
+ readonly id: string;
1842
+ } | {
1843
+ readonly tagName: "PowerTransformer";
1844
+ readonly id: string;
1845
+ } | {
1846
+ readonly tagName: "ConnectivityNode";
1847
+ readonly id: string;
1848
+ } | {
1849
+ readonly tagName: "SubEquipment";
1850
+ readonly id: string;
1851
+ } | {
1852
+ readonly tagName: "Terminal";
1853
+ readonly id: string;
1854
+ } | {
1855
+ readonly tagName: "TransformerWinding";
1856
+ readonly id: string;
1857
+ } | {
1858
+ readonly tagName: "TapChanger";
1859
+ readonly id: string;
1860
+ } | {
1861
+ readonly tagName: "NeutralPoint";
1862
+ readonly id: string;
1863
+ } | {
1864
+ readonly tagName: "Function";
1865
+ readonly id: string;
1866
+ } | {
1867
+ readonly tagName: "EqFunction";
1868
+ readonly id: string;
1869
+ } | {
1870
+ readonly tagName: "SubFunction";
1871
+ readonly id: string;
1872
+ } | {
1873
+ readonly tagName: "EqSubFunction";
1874
+ readonly id: string;
1875
+ } | {
1876
+ readonly tagName: "FunctionTemplate";
1877
+ readonly id: string;
1878
+ } | {
1879
+ readonly tagName: "SubFunctionTemplate";
1880
+ readonly id: string;
1881
+ } | {
1882
+ readonly tagName: "BehaviorDescription";
1883
+ readonly id: string;
1884
+ } | {
1885
+ readonly tagName: "PowerSystemRelations";
1886
+ readonly id: string;
1887
+ } | {
1888
+ readonly tagName: "BehaviorDescriptionRef";
1889
+ readonly id: string;
1890
+ } | {
1891
+ readonly tagName: "BehaviorReference";
1892
+ readonly id: string;
1893
+ } | {
1894
+ readonly tagName: "PowerSystemRelation";
1895
+ readonly id: string;
1896
+ } | {
1897
+ readonly tagName: "PowerSystemRelationRef";
1898
+ readonly id: string;
1899
+ } | {
1900
+ readonly tagName: "FunctionSclRef";
1901
+ readonly id: string;
1902
+ } | {
1903
+ readonly tagName: "LNode";
1904
+ readonly id: string;
1905
+ } | {
1906
+ readonly tagName: "Inputs";
1907
+ readonly id: string;
1908
+ } | {
1909
+ readonly tagName: "Outputs";
1910
+ readonly id: string;
1911
+ } | {
1912
+ readonly tagName: "LNodeInputs";
1913
+ readonly id: string;
1914
+ } | {
1915
+ readonly tagName: "LNodeOutputs";
1916
+ readonly id: string;
1917
+ } | {
1918
+ readonly tagName: "LNodeSpecNaming";
1919
+ readonly id: string;
1920
+ } | {
1921
+ readonly tagName: "DOS";
1922
+ readonly id: string;
1923
+ } | {
1924
+ readonly tagName: "LNodeInputRef";
1925
+ readonly id: string;
1926
+ } | {
1927
+ readonly tagName: "LNodeOutputRef";
1928
+ readonly id: string;
1929
+ } | {
1930
+ readonly tagName: "LNodeDataRef";
1931
+ readonly id: string;
1932
+ } | {
1933
+ readonly tagName: "ExtRef";
1934
+ readonly id: string;
1935
+ } | {
1936
+ readonly tagName: "ExtCtrl";
1937
+ readonly id: string;
1938
+ } | {
1939
+ readonly tagName: "DAS";
1940
+ readonly id: string;
1941
+ } | {
1942
+ readonly tagName: "SDS";
1943
+ readonly id: string;
1944
+ } | {
1945
+ readonly tagName: "InputVar";
1946
+ readonly id: string;
1947
+ } | {
1948
+ readonly tagName: "OutputVar";
1949
+ readonly id: string;
1950
+ } | {
1951
+ readonly tagName: "ControlRef";
1952
+ readonly id: string;
1953
+ } | {
1954
+ readonly tagName: "ControllingLNode";
1955
+ readonly id: string;
1956
+ } | {
1957
+ readonly tagName: "SubscriberLNode";
1958
+ readonly id: string;
1959
+ } | {
1960
+ readonly tagName: "ProcessEcho";
1961
+ readonly id: string;
1962
+ } | {
1963
+ readonly tagName: "InputVarRef";
1964
+ readonly id: string;
1965
+ } | {
1966
+ readonly tagName: "OutputVarRef";
1967
+ readonly id: string;
1968
+ } | {
1969
+ readonly tagName: "LogParametersRef";
1970
+ readonly id: string;
1971
+ } | {
1972
+ readonly tagName: "Application";
1973
+ readonly id: string;
1974
+ } | {
1975
+ readonly tagName: "ApplicationSclRef";
1976
+ readonly id: string;
1977
+ } | {
1978
+ readonly tagName: "FunctionRole";
1979
+ readonly id: string;
1980
+ } | {
1981
+ readonly tagName: "FunctionRoleContent";
1982
+ readonly id: string;
1983
+ } | {
1984
+ readonly tagName: "AllocationRole";
1985
+ readonly id: string;
1986
+ } | {
1987
+ readonly tagName: "FunctionalVariantGroup";
1988
+ readonly id: string;
1989
+ } | {
1990
+ readonly tagName: "FunctionRef";
1991
+ readonly id: string;
1992
+ } | {
1993
+ readonly tagName: "SignalRole";
1994
+ readonly id: string;
1995
+ } | {
1996
+ readonly tagName: "AllocationRoleRef";
1997
+ readonly id: string;
1998
+ } | {
1999
+ readonly tagName: "FunctionalVariant";
2000
+ readonly id: string;
2001
+ } | {
2002
+ readonly tagName: "FunctionalSubVariant";
2003
+ readonly id: string;
2004
+ } | {
2005
+ readonly tagName: "FunctionalVariantRef";
2006
+ readonly id: string;
2007
+ } | {
2008
+ readonly tagName: "Communication";
2009
+ readonly id?: string;
2010
+ } | {
2011
+ readonly tagName: "SubNetwork";
2012
+ readonly id: string;
2013
+ } | {
2014
+ readonly tagName: "ConnectedAP";
2015
+ readonly id: string;
2016
+ } | {
2017
+ readonly tagName: "BitRate";
2018
+ readonly id: string;
2019
+ } | {
2020
+ readonly tagName: "CommunicationServiceSpecifications";
2021
+ readonly id: string;
2022
+ } | {
2023
+ readonly tagName: "AnalogueWiringParameters";
2024
+ readonly id: string;
2025
+ } | {
2026
+ readonly tagName: "BinaryWiringParameters";
2027
+ readonly id: string;
2028
+ } | {
2029
+ readonly tagName: "Address";
2030
+ readonly id: string;
2031
+ } | {
2032
+ readonly tagName: "PhysConn";
2033
+ readonly id: string;
2034
+ } | {
2035
+ readonly tagName: "L2CommParameters";
2036
+ readonly id: string;
2037
+ } | {
2038
+ readonly tagName: "L3IPv4CommParameters";
2039
+ readonly id: string;
2040
+ } | {
2041
+ readonly tagName: "L3IPv6CommParameters";
2042
+ readonly id: string;
2043
+ } | {
2044
+ readonly tagName: "AnalogueWiringParametersRef";
2045
+ readonly id: string;
2046
+ } | {
2047
+ readonly tagName: "BinaryWiringParametersRef";
2048
+ readonly id: string;
2049
+ } | {
2050
+ readonly tagName: "IED";
2051
+ readonly id: string;
2052
+ } | {
2053
+ readonly tagName: "AccessPoint";
2054
+ readonly id: string;
2055
+ } | {
2056
+ readonly tagName: "IEDSourceFiles";
2057
+ readonly id: string;
2058
+ } | {
2059
+ readonly tagName: "MinRequestedSCDFiles";
2060
+ readonly id: string;
2061
+ } | {
2062
+ readonly tagName: "Server";
2063
+ readonly id: string;
2064
+ } | {
2065
+ readonly tagName: "ServerAt";
2066
+ readonly id: string;
2067
+ } | {
2068
+ readonly tagName: "MinRequestedSCDFile";
2069
+ readonly id: string;
2070
+ } | {
2071
+ readonly tagName: "LDevice";
2072
+ readonly id: string;
2073
+ } | {
2074
+ readonly tagName: "Association";
2075
+ readonly id: string;
2076
+ } | {
2077
+ readonly tagName: "LN";
2078
+ readonly id: string;
2079
+ } | {
2080
+ readonly tagName: "LN0";
2081
+ readonly id: string;
2082
+ } | {
2083
+ readonly tagName: "AccessControl";
2084
+ readonly id: string;
2085
+ } | {
2086
+ readonly tagName: "DOI";
2087
+ readonly id: string;
2088
+ } | {
2089
+ readonly tagName: "DAI";
2090
+ readonly id: string;
2091
+ } | {
2092
+ readonly tagName: "SDI";
2093
+ readonly id: string;
2094
+ } | {
2095
+ readonly tagName: "Val";
2096
+ readonly id: string;
2097
+ } | {
2098
+ readonly tagName: "DataTypeTemplates";
2099
+ readonly id?: string;
2100
+ } | {
2101
+ readonly tagName: "LNodeType";
2102
+ readonly id: string;
2103
+ } | {
2104
+ readonly tagName: "DOType";
2105
+ readonly id: string;
2106
+ } | {
2107
+ readonly tagName: "DAType";
2108
+ readonly id: string;
2109
+ } | {
2110
+ readonly tagName: "EnumType";
2111
+ readonly id: string;
2112
+ } | {
2113
+ readonly tagName: "DO";
2114
+ readonly id: string;
2115
+ } | {
2116
+ readonly tagName: "DA";
2117
+ readonly id: string;
2118
+ } | {
2119
+ readonly tagName: "SDO";
2120
+ readonly id: string;
2121
+ } | {
2122
+ readonly tagName: "BDA";
2123
+ readonly id: string;
2124
+ } | {
2125
+ readonly tagName: "EnumVal";
2126
+ readonly id: string;
2127
+ } | {
2128
+ readonly tagName: "ProtNs";
2129
+ readonly id: string;
2130
+ } | {
2131
+ readonly tagName: "GSEControl";
2132
+ readonly id: string;
2133
+ } | {
2134
+ readonly tagName: "SampledValueControl";
2135
+ readonly id: string;
2136
+ } | {
2137
+ readonly tagName: "ReportControl";
2138
+ readonly id: string;
2139
+ } | {
2140
+ readonly tagName: "LogControl";
2141
+ readonly id: string;
2142
+ } | {
2143
+ readonly tagName: "SettingControl";
2144
+ readonly id: string;
2145
+ } | {
2146
+ readonly tagName: "DataSet";
2147
+ readonly id: string;
2148
+ } | {
2149
+ readonly tagName: "Log";
2150
+ readonly id: string;
2151
+ } | {
2152
+ readonly tagName: "FCDA";
2153
+ readonly id: string;
2154
+ } | {
2155
+ readonly tagName: "IEDName";
2156
+ readonly id: string;
2157
+ } | {
2158
+ readonly tagName: "TrgOps";
2159
+ readonly id: string;
2160
+ } | {
2161
+ readonly tagName: "OptFields";
2162
+ readonly id: string;
2163
+ } | {
2164
+ readonly tagName: "RptEnabled";
2165
+ readonly id: string;
2166
+ } | {
2167
+ readonly tagName: "SmvOpts";
2168
+ readonly id: string;
2169
+ } | {
2170
+ readonly tagName: "Protocol";
2171
+ readonly id: string;
2172
+ } | {
2173
+ readonly tagName: "ClientLN";
2174
+ readonly id: string;
2175
+ } | {
2176
+ readonly tagName: "GOOSE";
2177
+ readonly id: string;
2178
+ } | {
2179
+ readonly tagName: "GSE";
2180
+ readonly id: string;
2181
+ } | {
2182
+ readonly tagName: "GSSE";
2183
+ readonly id: string;
2184
+ } | {
2185
+ readonly tagName: "SMV";
2186
+ readonly id: string;
2187
+ } | {
2188
+ readonly tagName: "SMVsc";
2189
+ readonly id: string;
2190
+ } | {
2191
+ readonly tagName: "GooseParameters";
2192
+ readonly id: string;
2193
+ } | {
2194
+ readonly tagName: "SMVParameters";
2195
+ readonly id: string;
2196
+ } | {
2197
+ readonly tagName: "SmpRate";
2198
+ readonly id: string;
2199
+ } | {
2200
+ readonly tagName: "SamplesPerSec";
2201
+ readonly id: string;
2202
+ } | {
2203
+ readonly tagName: "SecPerSamples";
2204
+ readonly id: string;
2205
+ } | {
2206
+ readonly tagName: "GooseParametersRef";
2207
+ readonly id: string;
2208
+ } | {
2209
+ readonly tagName: "SMVParametersRef";
2210
+ readonly id: string;
2211
+ } | {
2212
+ readonly tagName: "MinTime";
2213
+ readonly id: string;
2214
+ } | {
2215
+ readonly tagName: "MaxTime";
2216
+ readonly id: string;
2217
+ } | {
2218
+ readonly tagName: "Security";
2219
+ readonly id: string;
2220
+ } | {
2221
+ readonly tagName: "McSecurity";
2222
+ readonly id: string;
2223
+ } | {
2224
+ readonly tagName: "GOOSESecurity";
2225
+ readonly id: string;
2226
+ } | {
2227
+ readonly tagName: "SMVSecurity";
2228
+ readonly id: string;
2229
+ } | {
2230
+ readonly tagName: "GOOSEMcSecurity";
2231
+ readonly id: string;
2232
+ } | {
2233
+ readonly tagName: "SVMcSecurity";
2234
+ readonly id: string;
2235
+ } | {
2236
+ readonly tagName: "Authentication";
2237
+ readonly id: string;
2238
+ } | {
2239
+ readonly tagName: "KDC";
2240
+ readonly id: string;
2241
+ } | {
2242
+ readonly tagName: "IssuerName";
2243
+ readonly id: string;
2244
+ } | {
2245
+ readonly tagName: "Subject";
2246
+ readonly id: string;
2247
+ } | {
2248
+ readonly tagName: "Services";
2249
+ readonly id: string;
2250
+ } | {
2251
+ readonly tagName: "ServiceSpecifications";
2252
+ readonly id: string;
2253
+ } | {
2254
+ readonly tagName: "ClientServices";
2255
+ readonly id: string;
2256
+ } | {
2257
+ readonly tagName: "SettingGroups";
2258
+ readonly id: string;
2259
+ } | {
2260
+ readonly tagName: "GSESettings";
2261
+ readonly id: string;
2262
+ } | {
2263
+ readonly tagName: "SMVSettings";
2264
+ readonly id: string;
2265
+ } | {
2266
+ readonly tagName: "ReportSettings";
2267
+ readonly id: string;
2268
+ } | {
2269
+ readonly tagName: "LogSettings";
2270
+ readonly id: string;
2271
+ } | {
2272
+ readonly tagName: "SGEdit";
2273
+ readonly id: string;
2274
+ } | {
2275
+ readonly tagName: "ConfSG";
2276
+ readonly id: string;
2277
+ } | {
2278
+ readonly tagName: "ConfDataSet";
2279
+ readonly id: string;
2280
+ } | {
2281
+ readonly tagName: "ConfLNs";
2282
+ readonly id: string;
2283
+ } | {
2284
+ readonly tagName: "ConfLdName";
2285
+ readonly id: string;
2286
+ } | {
2287
+ readonly tagName: "ConfLogControl";
2288
+ readonly id: string;
2289
+ } | {
2290
+ readonly tagName: "ConfReportControl";
2291
+ readonly id: string;
2292
+ } | {
2293
+ readonly tagName: "ConfSigRef";
2294
+ readonly id: string;
2295
+ } | {
2296
+ readonly tagName: "DynAssociation";
2297
+ readonly id: string;
2298
+ } | {
2299
+ readonly tagName: "DynDataSet";
2300
+ readonly id: string;
2301
+ } | {
2302
+ readonly tagName: "ReadWrite";
2303
+ readonly id: string;
2304
+ } | {
2305
+ readonly tagName: "ReportParameters";
2306
+ readonly id: string;
2307
+ } | {
2308
+ readonly tagName: "LogParameters";
2309
+ readonly id: string;
2310
+ } | {
2311
+ readonly tagName: "MultiAPPerSubNet";
2312
+ readonly id: string;
2313
+ } | {
2314
+ readonly tagName: "SupSubscription";
2315
+ readonly id: string;
2316
+ } | {
2317
+ readonly tagName: "TimeSyncProt";
2318
+ readonly id: string;
2319
+ } | {
2320
+ readonly tagName: "TimerActivatedControl";
2321
+ readonly id: string;
2322
+ } | {
2323
+ readonly tagName: "ValueHandling";
2324
+ readonly id: string;
2325
+ } | {
2326
+ readonly tagName: "RedProt";
2327
+ readonly id: string;
2328
+ } | {
2329
+ readonly tagName: "CommProt";
2330
+ readonly id: string;
2331
+ } | {
2332
+ readonly tagName: "SCSM";
2333
+ readonly id: string;
2334
+ } | {
2335
+ readonly tagName: "FileHandling";
2336
+ readonly id: string;
2337
+ } | {
2338
+ readonly tagName: "ReportParametersRef";
2339
+ readonly id: string;
2340
+ } | {
2341
+ readonly tagName: "DataObjectDirectory";
2342
+ readonly id: string;
2343
+ } | {
2344
+ readonly tagName: "DataSetDirectory";
2345
+ readonly id: string;
2346
+ } | {
2347
+ readonly tagName: "GSEDir";
2348
+ readonly id: string;
2349
+ } | {
2350
+ readonly tagName: "GetCBValues";
2351
+ readonly id: string;
2352
+ } | {
2353
+ readonly tagName: "GetDataObjectDefinition";
2354
+ readonly id: string;
2355
+ } | {
2356
+ readonly tagName: "GetDataSetValue";
2357
+ readonly id: string;
2358
+ } | {
2359
+ readonly tagName: "GetDirectory";
2360
+ readonly id: string;
2361
+ } | {
2362
+ readonly tagName: "SetDataSetValue";
2363
+ readonly id: string;
2364
+ } | {
2365
+ readonly tagName: "SCL";
2366
+ readonly id?: string;
2367
+ } | {
2368
+ readonly tagName: "Private";
2369
+ readonly id: string;
2370
+ } | {
2371
+ readonly tagName: "Text";
2372
+ readonly id: string;
2373
+ } | {
2374
+ readonly tagName: "Header";
2375
+ readonly id?: string;
2376
+ } | {
2377
+ readonly tagName: "Labels";
2378
+ readonly id: string;
2379
+ } | {
2380
+ readonly tagName: "Project";
2381
+ readonly id: string;
2382
+ } | {
2383
+ readonly tagName: "FunctionCategory";
2384
+ readonly id: string;
2385
+ } | {
2386
+ readonly tagName: "Variable";
2387
+ readonly id: string;
2388
+ } | {
2389
+ readonly tagName: "CheckoutID";
2390
+ readonly id: string;
2391
+ } | {
2392
+ readonly tagName: "History";
2393
+ readonly id?: string;
2394
+ } | {
2395
+ readonly tagName: "Label";
2396
+ readonly id: string;
2397
+ } | {
2398
+ readonly tagName: "Resource";
2399
+ readonly id: string;
2400
+ } | {
2401
+ readonly tagName: "FunctionCategoryRef";
2402
+ readonly id: string;
2403
+ } | {
2404
+ readonly tagName: "FunctionCatRef";
2405
+ readonly id: string;
2406
+ } | {
2407
+ readonly tagName: "SubCategory";
2408
+ readonly id: string;
2409
+ } | {
2410
+ readonly tagName: "ProjectProcessReference";
2411
+ readonly id: string;
2412
+ } | {
2413
+ readonly tagName: "SourceRef";
2414
+ readonly id: string;
2415
+ } | {
2416
+ readonly tagName: "SubCheckoutID";
2417
+ readonly id: string;
2418
+ } | {
2419
+ readonly tagName: "VariableApplyTo";
2420
+ readonly id: string;
2421
+ } | {
2422
+ readonly tagName: "VariableRef";
2423
+ readonly id: string;
2424
+ } | {
2425
+ readonly tagName: "Hitem";
2426
+ readonly id: string;
2427
+ } | {
2428
+ readonly tagName: "SourceFiles";
2429
+ readonly id: string;
2430
+ } | {
2431
+ readonly tagName: "SclFileReference";
2432
+ readonly id: string;
2433
+ }) => any;
1561
2434
  applied: () => any;
1562
- }, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{
2435
+ }, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{
1563
2436
  onClose?: (() => any) | undefined;
2437
+ onShow?: ((ref: {
2438
+ readonly tagName: "P";
2439
+ readonly id: string;
2440
+ } | {
2441
+ readonly tagName: "Substation";
2442
+ readonly id: string;
2443
+ } | {
2444
+ readonly tagName: "Process";
2445
+ readonly id: string;
2446
+ } | {
2447
+ readonly tagName: "VoltageLevel";
2448
+ readonly id: string;
2449
+ } | {
2450
+ readonly tagName: "Line";
2451
+ readonly id: string;
2452
+ } | {
2453
+ readonly tagName: "Bay";
2454
+ readonly id: string;
2455
+ } | {
2456
+ readonly tagName: "BayType";
2457
+ readonly id: string;
2458
+ } | {
2459
+ readonly tagName: "Voltage";
2460
+ readonly id: string;
2461
+ } | {
2462
+ readonly tagName: "ProcessResources";
2463
+ readonly id: string;
2464
+ } | {
2465
+ readonly tagName: "ProcessResource";
2466
+ readonly id: string;
2467
+ } | {
2468
+ readonly tagName: "ProcessResourceRef";
2469
+ readonly id: string;
2470
+ } | {
2471
+ readonly tagName: "ConductingEquipment";
2472
+ readonly id: string;
2473
+ } | {
2474
+ readonly tagName: "GeneralEquipment";
2475
+ readonly id: string;
2476
+ } | {
2477
+ readonly tagName: "PowerTransformer";
2478
+ readonly id: string;
2479
+ } | {
2480
+ readonly tagName: "ConnectivityNode";
2481
+ readonly id: string;
2482
+ } | {
2483
+ readonly tagName: "SubEquipment";
2484
+ readonly id: string;
2485
+ } | {
2486
+ readonly tagName: "Terminal";
2487
+ readonly id: string;
2488
+ } | {
2489
+ readonly tagName: "TransformerWinding";
2490
+ readonly id: string;
2491
+ } | {
2492
+ readonly tagName: "TapChanger";
2493
+ readonly id: string;
2494
+ } | {
2495
+ readonly tagName: "NeutralPoint";
2496
+ readonly id: string;
2497
+ } | {
2498
+ readonly tagName: "Function";
2499
+ readonly id: string;
2500
+ } | {
2501
+ readonly tagName: "EqFunction";
2502
+ readonly id: string;
2503
+ } | {
2504
+ readonly tagName: "SubFunction";
2505
+ readonly id: string;
2506
+ } | {
2507
+ readonly tagName: "EqSubFunction";
2508
+ readonly id: string;
2509
+ } | {
2510
+ readonly tagName: "FunctionTemplate";
2511
+ readonly id: string;
2512
+ } | {
2513
+ readonly tagName: "SubFunctionTemplate";
2514
+ readonly id: string;
2515
+ } | {
2516
+ readonly tagName: "BehaviorDescription";
2517
+ readonly id: string;
2518
+ } | {
2519
+ readonly tagName: "PowerSystemRelations";
2520
+ readonly id: string;
2521
+ } | {
2522
+ readonly tagName: "BehaviorDescriptionRef";
2523
+ readonly id: string;
2524
+ } | {
2525
+ readonly tagName: "BehaviorReference";
2526
+ readonly id: string;
2527
+ } | {
2528
+ readonly tagName: "PowerSystemRelation";
2529
+ readonly id: string;
2530
+ } | {
2531
+ readonly tagName: "PowerSystemRelationRef";
2532
+ readonly id: string;
2533
+ } | {
2534
+ readonly tagName: "FunctionSclRef";
2535
+ readonly id: string;
2536
+ } | {
2537
+ readonly tagName: "LNode";
2538
+ readonly id: string;
2539
+ } | {
2540
+ readonly tagName: "Inputs";
2541
+ readonly id: string;
2542
+ } | {
2543
+ readonly tagName: "Outputs";
2544
+ readonly id: string;
2545
+ } | {
2546
+ readonly tagName: "LNodeInputs";
2547
+ readonly id: string;
2548
+ } | {
2549
+ readonly tagName: "LNodeOutputs";
2550
+ readonly id: string;
2551
+ } | {
2552
+ readonly tagName: "LNodeSpecNaming";
2553
+ readonly id: string;
2554
+ } | {
2555
+ readonly tagName: "DOS";
2556
+ readonly id: string;
2557
+ } | {
2558
+ readonly tagName: "LNodeInputRef";
2559
+ readonly id: string;
2560
+ } | {
2561
+ readonly tagName: "LNodeOutputRef";
2562
+ readonly id: string;
2563
+ } | {
2564
+ readonly tagName: "LNodeDataRef";
2565
+ readonly id: string;
2566
+ } | {
2567
+ readonly tagName: "ExtRef";
2568
+ readonly id: string;
2569
+ } | {
2570
+ readonly tagName: "ExtCtrl";
2571
+ readonly id: string;
2572
+ } | {
2573
+ readonly tagName: "DAS";
2574
+ readonly id: string;
2575
+ } | {
2576
+ readonly tagName: "SDS";
2577
+ readonly id: string;
2578
+ } | {
2579
+ readonly tagName: "InputVar";
2580
+ readonly id: string;
2581
+ } | {
2582
+ readonly tagName: "OutputVar";
2583
+ readonly id: string;
2584
+ } | {
2585
+ readonly tagName: "ControlRef";
2586
+ readonly id: string;
2587
+ } | {
2588
+ readonly tagName: "ControllingLNode";
2589
+ readonly id: string;
2590
+ } | {
2591
+ readonly tagName: "SubscriberLNode";
2592
+ readonly id: string;
2593
+ } | {
2594
+ readonly tagName: "ProcessEcho";
2595
+ readonly id: string;
2596
+ } | {
2597
+ readonly tagName: "InputVarRef";
2598
+ readonly id: string;
2599
+ } | {
2600
+ readonly tagName: "OutputVarRef";
2601
+ readonly id: string;
2602
+ } | {
2603
+ readonly tagName: "LogParametersRef";
2604
+ readonly id: string;
2605
+ } | {
2606
+ readonly tagName: "Application";
2607
+ readonly id: string;
2608
+ } | {
2609
+ readonly tagName: "ApplicationSclRef";
2610
+ readonly id: string;
2611
+ } | {
2612
+ readonly tagName: "FunctionRole";
2613
+ readonly id: string;
2614
+ } | {
2615
+ readonly tagName: "FunctionRoleContent";
2616
+ readonly id: string;
2617
+ } | {
2618
+ readonly tagName: "AllocationRole";
2619
+ readonly id: string;
2620
+ } | {
2621
+ readonly tagName: "FunctionalVariantGroup";
2622
+ readonly id: string;
2623
+ } | {
2624
+ readonly tagName: "FunctionRef";
2625
+ readonly id: string;
2626
+ } | {
2627
+ readonly tagName: "SignalRole";
2628
+ readonly id: string;
2629
+ } | {
2630
+ readonly tagName: "AllocationRoleRef";
2631
+ readonly id: string;
2632
+ } | {
2633
+ readonly tagName: "FunctionalVariant";
2634
+ readonly id: string;
2635
+ } | {
2636
+ readonly tagName: "FunctionalSubVariant";
2637
+ readonly id: string;
2638
+ } | {
2639
+ readonly tagName: "FunctionalVariantRef";
2640
+ readonly id: string;
2641
+ } | {
2642
+ readonly tagName: "Communication";
2643
+ readonly id?: string;
2644
+ } | {
2645
+ readonly tagName: "SubNetwork";
2646
+ readonly id: string;
2647
+ } | {
2648
+ readonly tagName: "ConnectedAP";
2649
+ readonly id: string;
2650
+ } | {
2651
+ readonly tagName: "BitRate";
2652
+ readonly id: string;
2653
+ } | {
2654
+ readonly tagName: "CommunicationServiceSpecifications";
2655
+ readonly id: string;
2656
+ } | {
2657
+ readonly tagName: "AnalogueWiringParameters";
2658
+ readonly id: string;
2659
+ } | {
2660
+ readonly tagName: "BinaryWiringParameters";
2661
+ readonly id: string;
2662
+ } | {
2663
+ readonly tagName: "Address";
2664
+ readonly id: string;
2665
+ } | {
2666
+ readonly tagName: "PhysConn";
2667
+ readonly id: string;
2668
+ } | {
2669
+ readonly tagName: "L2CommParameters";
2670
+ readonly id: string;
2671
+ } | {
2672
+ readonly tagName: "L3IPv4CommParameters";
2673
+ readonly id: string;
2674
+ } | {
2675
+ readonly tagName: "L3IPv6CommParameters";
2676
+ readonly id: string;
2677
+ } | {
2678
+ readonly tagName: "AnalogueWiringParametersRef";
2679
+ readonly id: string;
2680
+ } | {
2681
+ readonly tagName: "BinaryWiringParametersRef";
2682
+ readonly id: string;
2683
+ } | {
2684
+ readonly tagName: "IED";
2685
+ readonly id: string;
2686
+ } | {
2687
+ readonly tagName: "AccessPoint";
2688
+ readonly id: string;
2689
+ } | {
2690
+ readonly tagName: "IEDSourceFiles";
2691
+ readonly id: string;
2692
+ } | {
2693
+ readonly tagName: "MinRequestedSCDFiles";
2694
+ readonly id: string;
2695
+ } | {
2696
+ readonly tagName: "Server";
2697
+ readonly id: string;
2698
+ } | {
2699
+ readonly tagName: "ServerAt";
2700
+ readonly id: string;
2701
+ } | {
2702
+ readonly tagName: "MinRequestedSCDFile";
2703
+ readonly id: string;
2704
+ } | {
2705
+ readonly tagName: "LDevice";
2706
+ readonly id: string;
2707
+ } | {
2708
+ readonly tagName: "Association";
2709
+ readonly id: string;
2710
+ } | {
2711
+ readonly tagName: "LN";
2712
+ readonly id: string;
2713
+ } | {
2714
+ readonly tagName: "LN0";
2715
+ readonly id: string;
2716
+ } | {
2717
+ readonly tagName: "AccessControl";
2718
+ readonly id: string;
2719
+ } | {
2720
+ readonly tagName: "DOI";
2721
+ readonly id: string;
2722
+ } | {
2723
+ readonly tagName: "DAI";
2724
+ readonly id: string;
2725
+ } | {
2726
+ readonly tagName: "SDI";
2727
+ readonly id: string;
2728
+ } | {
2729
+ readonly tagName: "Val";
2730
+ readonly id: string;
2731
+ } | {
2732
+ readonly tagName: "DataTypeTemplates";
2733
+ readonly id?: string;
2734
+ } | {
2735
+ readonly tagName: "LNodeType";
2736
+ readonly id: string;
2737
+ } | {
2738
+ readonly tagName: "DOType";
2739
+ readonly id: string;
2740
+ } | {
2741
+ readonly tagName: "DAType";
2742
+ readonly id: string;
2743
+ } | {
2744
+ readonly tagName: "EnumType";
2745
+ readonly id: string;
2746
+ } | {
2747
+ readonly tagName: "DO";
2748
+ readonly id: string;
2749
+ } | {
2750
+ readonly tagName: "DA";
2751
+ readonly id: string;
2752
+ } | {
2753
+ readonly tagName: "SDO";
2754
+ readonly id: string;
2755
+ } | {
2756
+ readonly tagName: "BDA";
2757
+ readonly id: string;
2758
+ } | {
2759
+ readonly tagName: "EnumVal";
2760
+ readonly id: string;
2761
+ } | {
2762
+ readonly tagName: "ProtNs";
2763
+ readonly id: string;
2764
+ } | {
2765
+ readonly tagName: "GSEControl";
2766
+ readonly id: string;
2767
+ } | {
2768
+ readonly tagName: "SampledValueControl";
2769
+ readonly id: string;
2770
+ } | {
2771
+ readonly tagName: "ReportControl";
2772
+ readonly id: string;
2773
+ } | {
2774
+ readonly tagName: "LogControl";
2775
+ readonly id: string;
2776
+ } | {
2777
+ readonly tagName: "SettingControl";
2778
+ readonly id: string;
2779
+ } | {
2780
+ readonly tagName: "DataSet";
2781
+ readonly id: string;
2782
+ } | {
2783
+ readonly tagName: "Log";
2784
+ readonly id: string;
2785
+ } | {
2786
+ readonly tagName: "FCDA";
2787
+ readonly id: string;
2788
+ } | {
2789
+ readonly tagName: "IEDName";
2790
+ readonly id: string;
2791
+ } | {
2792
+ readonly tagName: "TrgOps";
2793
+ readonly id: string;
2794
+ } | {
2795
+ readonly tagName: "OptFields";
2796
+ readonly id: string;
2797
+ } | {
2798
+ readonly tagName: "RptEnabled";
2799
+ readonly id: string;
2800
+ } | {
2801
+ readonly tagName: "SmvOpts";
2802
+ readonly id: string;
2803
+ } | {
2804
+ readonly tagName: "Protocol";
2805
+ readonly id: string;
2806
+ } | {
2807
+ readonly tagName: "ClientLN";
2808
+ readonly id: string;
2809
+ } | {
2810
+ readonly tagName: "GOOSE";
2811
+ readonly id: string;
2812
+ } | {
2813
+ readonly tagName: "GSE";
2814
+ readonly id: string;
2815
+ } | {
2816
+ readonly tagName: "GSSE";
2817
+ readonly id: string;
2818
+ } | {
2819
+ readonly tagName: "SMV";
2820
+ readonly id: string;
2821
+ } | {
2822
+ readonly tagName: "SMVsc";
2823
+ readonly id: string;
2824
+ } | {
2825
+ readonly tagName: "GooseParameters";
2826
+ readonly id: string;
2827
+ } | {
2828
+ readonly tagName: "SMVParameters";
2829
+ readonly id: string;
2830
+ } | {
2831
+ readonly tagName: "SmpRate";
2832
+ readonly id: string;
2833
+ } | {
2834
+ readonly tagName: "SamplesPerSec";
2835
+ readonly id: string;
2836
+ } | {
2837
+ readonly tagName: "SecPerSamples";
2838
+ readonly id: string;
2839
+ } | {
2840
+ readonly tagName: "GooseParametersRef";
2841
+ readonly id: string;
2842
+ } | {
2843
+ readonly tagName: "SMVParametersRef";
2844
+ readonly id: string;
2845
+ } | {
2846
+ readonly tagName: "MinTime";
2847
+ readonly id: string;
2848
+ } | {
2849
+ readonly tagName: "MaxTime";
2850
+ readonly id: string;
2851
+ } | {
2852
+ readonly tagName: "Security";
2853
+ readonly id: string;
2854
+ } | {
2855
+ readonly tagName: "McSecurity";
2856
+ readonly id: string;
2857
+ } | {
2858
+ readonly tagName: "GOOSESecurity";
2859
+ readonly id: string;
2860
+ } | {
2861
+ readonly tagName: "SMVSecurity";
2862
+ readonly id: string;
2863
+ } | {
2864
+ readonly tagName: "GOOSEMcSecurity";
2865
+ readonly id: string;
2866
+ } | {
2867
+ readonly tagName: "SVMcSecurity";
2868
+ readonly id: string;
2869
+ } | {
2870
+ readonly tagName: "Authentication";
2871
+ readonly id: string;
2872
+ } | {
2873
+ readonly tagName: "KDC";
2874
+ readonly id: string;
2875
+ } | {
2876
+ readonly tagName: "IssuerName";
2877
+ readonly id: string;
2878
+ } | {
2879
+ readonly tagName: "Subject";
2880
+ readonly id: string;
2881
+ } | {
2882
+ readonly tagName: "Services";
2883
+ readonly id: string;
2884
+ } | {
2885
+ readonly tagName: "ServiceSpecifications";
2886
+ readonly id: string;
2887
+ } | {
2888
+ readonly tagName: "ClientServices";
2889
+ readonly id: string;
2890
+ } | {
2891
+ readonly tagName: "SettingGroups";
2892
+ readonly id: string;
2893
+ } | {
2894
+ readonly tagName: "GSESettings";
2895
+ readonly id: string;
2896
+ } | {
2897
+ readonly tagName: "SMVSettings";
2898
+ readonly id: string;
2899
+ } | {
2900
+ readonly tagName: "ReportSettings";
2901
+ readonly id: string;
2902
+ } | {
2903
+ readonly tagName: "LogSettings";
2904
+ readonly id: string;
2905
+ } | {
2906
+ readonly tagName: "SGEdit";
2907
+ readonly id: string;
2908
+ } | {
2909
+ readonly tagName: "ConfSG";
2910
+ readonly id: string;
2911
+ } | {
2912
+ readonly tagName: "ConfDataSet";
2913
+ readonly id: string;
2914
+ } | {
2915
+ readonly tagName: "ConfLNs";
2916
+ readonly id: string;
2917
+ } | {
2918
+ readonly tagName: "ConfLdName";
2919
+ readonly id: string;
2920
+ } | {
2921
+ readonly tagName: "ConfLogControl";
2922
+ readonly id: string;
2923
+ } | {
2924
+ readonly tagName: "ConfReportControl";
2925
+ readonly id: string;
2926
+ } | {
2927
+ readonly tagName: "ConfSigRef";
2928
+ readonly id: string;
2929
+ } | {
2930
+ readonly tagName: "DynAssociation";
2931
+ readonly id: string;
2932
+ } | {
2933
+ readonly tagName: "DynDataSet";
2934
+ readonly id: string;
2935
+ } | {
2936
+ readonly tagName: "ReadWrite";
2937
+ readonly id: string;
2938
+ } | {
2939
+ readonly tagName: "ReportParameters";
2940
+ readonly id: string;
2941
+ } | {
2942
+ readonly tagName: "LogParameters";
2943
+ readonly id: string;
2944
+ } | {
2945
+ readonly tagName: "MultiAPPerSubNet";
2946
+ readonly id: string;
2947
+ } | {
2948
+ readonly tagName: "SupSubscription";
2949
+ readonly id: string;
2950
+ } | {
2951
+ readonly tagName: "TimeSyncProt";
2952
+ readonly id: string;
2953
+ } | {
2954
+ readonly tagName: "TimerActivatedControl";
2955
+ readonly id: string;
2956
+ } | {
2957
+ readonly tagName: "ValueHandling";
2958
+ readonly id: string;
2959
+ } | {
2960
+ readonly tagName: "RedProt";
2961
+ readonly id: string;
2962
+ } | {
2963
+ readonly tagName: "CommProt";
2964
+ readonly id: string;
2965
+ } | {
2966
+ readonly tagName: "SCSM";
2967
+ readonly id: string;
2968
+ } | {
2969
+ readonly tagName: "FileHandling";
2970
+ readonly id: string;
2971
+ } | {
2972
+ readonly tagName: "ReportParametersRef";
2973
+ readonly id: string;
2974
+ } | {
2975
+ readonly tagName: "DataObjectDirectory";
2976
+ readonly id: string;
2977
+ } | {
2978
+ readonly tagName: "DataSetDirectory";
2979
+ readonly id: string;
2980
+ } | {
2981
+ readonly tagName: "GSEDir";
2982
+ readonly id: string;
2983
+ } | {
2984
+ readonly tagName: "GetCBValues";
2985
+ readonly id: string;
2986
+ } | {
2987
+ readonly tagName: "GetDataObjectDefinition";
2988
+ readonly id: string;
2989
+ } | {
2990
+ readonly tagName: "GetDataSetValue";
2991
+ readonly id: string;
2992
+ } | {
2993
+ readonly tagName: "GetDirectory";
2994
+ readonly id: string;
2995
+ } | {
2996
+ readonly tagName: "SetDataSetValue";
2997
+ readonly id: string;
2998
+ } | {
2999
+ readonly tagName: "SCL";
3000
+ readonly id?: string;
3001
+ } | {
3002
+ readonly tagName: "Private";
3003
+ readonly id: string;
3004
+ } | {
3005
+ readonly tagName: "Text";
3006
+ readonly id: string;
3007
+ } | {
3008
+ readonly tagName: "Header";
3009
+ readonly id?: string;
3010
+ } | {
3011
+ readonly tagName: "Labels";
3012
+ readonly id: string;
3013
+ } | {
3014
+ readonly tagName: "Project";
3015
+ readonly id: string;
3016
+ } | {
3017
+ readonly tagName: "FunctionCategory";
3018
+ readonly id: string;
3019
+ } | {
3020
+ readonly tagName: "Variable";
3021
+ readonly id: string;
3022
+ } | {
3023
+ readonly tagName: "CheckoutID";
3024
+ readonly id: string;
3025
+ } | {
3026
+ readonly tagName: "History";
3027
+ readonly id?: string;
3028
+ } | {
3029
+ readonly tagName: "Label";
3030
+ readonly id: string;
3031
+ } | {
3032
+ readonly tagName: "Resource";
3033
+ readonly id: string;
3034
+ } | {
3035
+ readonly tagName: "FunctionCategoryRef";
3036
+ readonly id: string;
3037
+ } | {
3038
+ readonly tagName: "FunctionCatRef";
3039
+ readonly id: string;
3040
+ } | {
3041
+ readonly tagName: "SubCategory";
3042
+ readonly id: string;
3043
+ } | {
3044
+ readonly tagName: "ProjectProcessReference";
3045
+ readonly id: string;
3046
+ } | {
3047
+ readonly tagName: "SourceRef";
3048
+ readonly id: string;
3049
+ } | {
3050
+ readonly tagName: "SubCheckoutID";
3051
+ readonly id: string;
3052
+ } | {
3053
+ readonly tagName: "VariableApplyTo";
3054
+ readonly id: string;
3055
+ } | {
3056
+ readonly tagName: "VariableRef";
3057
+ readonly id: string;
3058
+ } | {
3059
+ readonly tagName: "Hitem";
3060
+ readonly id: string;
3061
+ } | {
3062
+ readonly tagName: "SourceFiles";
3063
+ readonly id: string;
3064
+ } | {
3065
+ readonly tagName: "SclFileReference";
3066
+ readonly id: string;
3067
+ }) => any) | undefined;
1564
3068
  onApplied?: (() => any) | undefined;
1565
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
3069
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
3070
+ root: HTMLDivElement;
3071
+ stepRegion: HTMLDivElement;
3072
+ reviewPane: HTMLDivElement;
3073
+ helpPanel: ({
3074
+ $: ComponentInternalInstance;
3075
+ $data: {};
3076
+ $props: {
3077
+ readonly collapsedSize?: number | undefined;
3078
+ readonly collapsible?: boolean | undefined;
3079
+ readonly defaultSize?: number | undefined;
3080
+ readonly id?: string | undefined;
3081
+ readonly maxSize?: number | undefined;
3082
+ readonly minSize?: number | undefined;
3083
+ readonly order?: number | undefined;
3084
+ readonly sizeUnit?: "%" | "px" | undefined;
3085
+ readonly asChild?: boolean | undefined;
3086
+ readonly as?: (AsTag | Component) | undefined;
3087
+ readonly onResize?: ((size: number, prevSize: number | undefined) => any) | undefined | undefined;
3088
+ readonly onCollapse?: (() => any) | undefined | undefined;
3089
+ readonly onExpand?: (() => any) | undefined | undefined;
3090
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
3091
+ $attrs: Attrs;
3092
+ $refs: {
3093
+ [x: string]: unknown;
3094
+ };
3095
+ $slots: Readonly<{
3096
+ [name: string]: Slot<any> | undefined;
3097
+ }>;
3098
+ $root: ComponentPublicInstance | null;
3099
+ $parent: ComponentPublicInstance | null;
3100
+ $host: Element | null;
3101
+ $emit: ((event: "resize", size: number, prevSize: number | undefined) => void) & ((event: "collapse") => void) & ((event: "expand") => void);
3102
+ $el: any;
3103
+ $options: ComponentOptionsBase<Readonly<SplitterPanelProps> & Readonly<{
3104
+ onResize?: ((size: number, prevSize: number | undefined) => any) | undefined;
3105
+ onCollapse?: (() => any) | undefined;
3106
+ onExpand?: (() => any) | undefined;
3107
+ }>, {
3108
+ collapse: () => void;
3109
+ expand: () => void;
3110
+ getSize(): number;
3111
+ resize: (size: number) => void;
3112
+ isCollapsed: ComputedRef<boolean>;
3113
+ isExpanded: ComputedRef<boolean>;
3114
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3115
+ resize: (size: number, prevSize: number | undefined) => any;
3116
+ collapse: () => any;
3117
+ expand: () => any;
3118
+ }, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
3119
+ beforeCreate?: (() => void) | (() => void)[];
3120
+ created?: (() => void) | (() => void)[];
3121
+ beforeMount?: (() => void) | (() => void)[];
3122
+ mounted?: (() => void) | (() => void)[];
3123
+ beforeUpdate?: (() => void) | (() => void)[];
3124
+ updated?: (() => void) | (() => void)[];
3125
+ activated?: (() => void) | (() => void)[];
3126
+ deactivated?: (() => void) | (() => void)[];
3127
+ beforeDestroy?: (() => void) | (() => void)[];
3128
+ beforeUnmount?: (() => void) | (() => void)[];
3129
+ destroyed?: (() => void) | (() => void)[];
3130
+ unmounted?: (() => void) | (() => void)[];
3131
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
3132
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
3133
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
3134
+ };
3135
+ $forceUpdate: () => void;
3136
+ $nextTick: typeof nextTick;
3137
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
3138
+ } & Readonly<{}> & Omit<Readonly<SplitterPanelProps> & Readonly<{
3139
+ onResize?: ((size: number, prevSize: number | undefined) => any) | undefined;
3140
+ onCollapse?: (() => any) | undefined;
3141
+ onExpand?: (() => any) | undefined;
3142
+ }>, "isExpanded" | "resize" | "collapse" | "expand" | "getSize" | "isCollapsed"> & {
3143
+ collapse: () => void;
3144
+ expand: () => void;
3145
+ getSize: () => number;
3146
+ resize: (size: number) => void;
3147
+ isCollapsed: boolean;
3148
+ isExpanded: boolean;
3149
+ } & {} & ComponentCustomProperties & {} & {
3150
+ $slots: {
3151
+ default?: (props: {
3152
+ isCollapsed: boolean;
3153
+ isExpanded: boolean;
3154
+ collapse: () => void;
3155
+ expand: () => void;
3156
+ resize: (size: number) => void;
3157
+ }) => any;
3158
+ };
3159
+ }) | null;
3160
+ }, HTMLDivElement>;
1566
3161
 
1567
3162
  /** Inputs for `useMergeSession`. */
1568
3163
  export declare type MergeSessionParams = {
@@ -1572,23 +3167,201 @@ export declare type MergeSessionParams = {
1572
3167
  /** Operation to perform: place a new instance, or reconcile the existing one. */
1573
3168
  scenario: LifecycleScenario;
1574
3169
  /** Source (template) element: a Function (fsd), Application (asd) or topology scope (ssd). */
1575
- sourceRef: Scl.Ref<'Function'> | Scl.Ref<'Application'> | Scl.Ref<TopologyStructuralTag>;
3170
+ sourceRef: Scl.Ref<'Function'> | Scl.Ref<'FunctionTemplate'> | Scl.Ref<'Application'> | Scl.Ref<TopologyStructuralTag>;
1576
3171
  /** Target parent the instance lives under / is placed into. */
1577
3172
  anchor: Scl.Ref<Scl.ElementsOf>;
1578
- /** Optional consumer post-step run inside the merge tx (preview + commit). */
1579
- afterApply?: AfterApply;
3173
+ /** The consumer's own step after the apply, run by the merge in its preview and its commit. */
3174
+ afterApply?: AfterApplyHook;
3175
+ };
3176
+
3177
+ /** Grouped recap of what Apply will do, derived from the report + decisions. */
3178
+ declare type MergeSummary = {
3179
+ added: MergeSummaryItem[];
3180
+ updated: MergeSummaryItem[];
3181
+ skipped: MergeSummaryItem[];
3182
+ /** Author-added elements kept as-is (a target-only group left at its skip default). */
3183
+ preserved: MergeSummaryItem[];
3184
+ /** Author-added elements the user chose to remove (a target-only group accepted). */
3185
+ removed: MergeSummaryItem[];
3186
+ renamed: {
3187
+ title: string;
3188
+ field: string;
3189
+ to: string;
3190
+ }[];
3191
+ /** Elements the template no longer has, removed from the project. */
3192
+ dropped: MergeSummaryItem[];
3193
+ /** The levels the template lands on, top-down. */
3194
+ landsIn: MergeSummaryLevel[];
3195
+ /** Where every shared element of the template lands, chosen by the user or not. */
3196
+ shared: MergeSummaryLanding[];
3197
+ /** The instances of the template already in the project that Apply reaches (0 on a first placement). */
3198
+ instances: number;
3199
+ };
3200
+
3201
+ /** One line in the pre-apply recap. */
3202
+ declare type MergeSummaryItem = {
3203
+ title: string;
3204
+ /** The element's kind; absent on a line about a value (a rename). */
3205
+ tag?: string;
3206
+ /** Secondary note, e.g. "2 elements inside" or "3 attributes changed". */
3207
+ detail?: string;
3208
+ /** The element the line is about, in the run that wrote it. */
3209
+ elementId?: string;
3210
+ /** Where the Review shows it: the decision that places it, or the element of the project. */
3211
+ show?: MergeSummaryShow;
1580
3212
  };
1581
3213
 
1582
- export declare const MergeTree: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3214
+ /** Where a shared element of the template lands, in the recap: chosen by the user or not. */
3215
+ declare type MergeSummaryLanding = {
3216
+ title: string;
3217
+ tag: string;
3218
+ to: string;
3219
+ why: string;
3220
+ chosen: boolean;
3221
+ /** The name asked for, when the element is created under another (`to` says which). */
3222
+ askedName?: string;
3223
+ /** The element of the project it lands on, to show in the Review. */
3224
+ show?: MergeSummaryShow;
3225
+ };
3226
+
3227
+ /** A level of the template in the recap: where it lands, whether it is created there, whether the user chose it. */
3228
+ declare type MergeSummaryLevel = {
3229
+ tag: string;
3230
+ title: string;
3231
+ created: boolean;
3232
+ chosen: boolean;
3233
+ /** The element of the project it lands on, to show in the Review. */
3234
+ show?: MergeSummaryShow;
3235
+ };
3236
+
3237
+ /** Where the Review shows a line of the recap: a decision (its primary), or an element of the project. */
3238
+ declare type MergeSummaryShow = {
3239
+ groupId: string;
3240
+ } | {
3241
+ nodeId: string;
3242
+ };
3243
+
3244
+ export declare const MergeTree: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1583
3245
  select: (node: ExplorerNode) => any;
1584
3246
  "update:decision": (groupId: string, action: DecisionAction) => any;
1585
- }, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{
3247
+ }, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{
1586
3248
  onSelect?: ((node: ExplorerNode) => any) | undefined;
1587
3249
  "onUpdate:decision"?: ((groupId: string, action: DecisionAction) => any) | undefined;
1588
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
1589
-
1590
- /** The transaction handle passed to `prepare`/`transaction` callbacks. */
1591
- declare type MergeTx = Parameters<Parameters<Scl.Document['prepare']>[0]>[0];
3250
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
3251
+ explorer: ({
3252
+ $: ComponentInternalInstance;
3253
+ $data: {};
3254
+ $props: {
3255
+ readonly items: ExplorerNode[];
3256
+ readonly expanded?: ExplorerExpandedState | undefined;
3257
+ readonly ariaLabel?: string | undefined;
3258
+ readonly selected?: string | undefined;
3259
+ readonly rowLabel?: ((node: ExplorerNode) => string | undefined) | undefined;
3260
+ readonly onSelect?: ((node: ExplorerNode) => any) | undefined;
3261
+ readonly onContextmenu?: ((payload: {
3262
+ node: ExplorerNode;
3263
+ event: MouseEvent;
3264
+ }) => any) | undefined;
3265
+ readonly "onUpdate:expanded"?: ((state: ExplorerExpandedState) => any) | undefined;
3266
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
3267
+ $attrs: Attrs;
3268
+ $refs: {
3269
+ [x: string]: unknown;
3270
+ };
3271
+ $slots: Readonly<{
3272
+ [name: string]: Slot<any> | undefined;
3273
+ }>;
3274
+ $root: ComponentPublicInstance | null;
3275
+ $parent: ComponentPublicInstance | null;
3276
+ $host: Element | null;
3277
+ $emit: ((event: "select", node: ExplorerNode) => void) & ((event: "contextmenu", payload: {
3278
+ node: ExplorerNode;
3279
+ event: MouseEvent;
3280
+ }) => void) & ((event: "update:expanded", state: ExplorerExpandedState) => void);
3281
+ $el: any;
3282
+ $options: ComponentOptionsBase<Readonly<{
3283
+ items: ExplorerNode[];
3284
+ expanded?: ExplorerExpandedState;
3285
+ ariaLabel?: string;
3286
+ selected?: string;
3287
+ rowLabel?: (node: ExplorerNode) => string | undefined;
3288
+ }> & Readonly<{
3289
+ onSelect?: ((node: ExplorerNode) => any) | undefined;
3290
+ onContextmenu?: ((payload: {
3291
+ node: ExplorerNode;
3292
+ event: MouseEvent;
3293
+ }) => any) | undefined;
3294
+ "onUpdate:expanded"?: ((state: ExplorerExpandedState) => any) | undefined;
3295
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3296
+ select: (node: ExplorerNode) => any;
3297
+ contextmenu: (payload: {
3298
+ node: ExplorerNode;
3299
+ event: MouseEvent;
3300
+ }) => any;
3301
+ "update:expanded": (state: ExplorerExpandedState) => any;
3302
+ }, string, {
3303
+ ariaLabel: string;
3304
+ expanded: ExplorerExpandedState;
3305
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
3306
+ beforeCreate?: (() => void) | (() => void)[];
3307
+ created?: (() => void) | (() => void)[];
3308
+ beforeMount?: (() => void) | (() => void)[];
3309
+ mounted?: (() => void) | (() => void)[];
3310
+ beforeUpdate?: (() => void) | (() => void)[];
3311
+ updated?: (() => void) | (() => void)[];
3312
+ activated?: (() => void) | (() => void)[];
3313
+ deactivated?: (() => void) | (() => void)[];
3314
+ beforeDestroy?: (() => void) | (() => void)[];
3315
+ beforeUnmount?: (() => void) | (() => void)[];
3316
+ destroyed?: (() => void) | (() => void)[];
3317
+ unmounted?: (() => void) | (() => void)[];
3318
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
3319
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
3320
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
3321
+ };
3322
+ $forceUpdate: () => void;
3323
+ $nextTick: typeof nextTick;
3324
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
3325
+ } & Readonly<{
3326
+ ariaLabel: string;
3327
+ expanded: ExplorerExpandedState;
3328
+ }> & Omit<Readonly<{
3329
+ items: ExplorerNode[];
3330
+ expanded?: ExplorerExpandedState;
3331
+ ariaLabel?: string;
3332
+ selected?: string;
3333
+ rowLabel?: (node: ExplorerNode) => string | undefined;
3334
+ }> & Readonly<{
3335
+ onSelect?: ((node: ExplorerNode) => any) | undefined;
3336
+ onContextmenu?: ((payload: {
3337
+ node: ExplorerNode;
3338
+ event: MouseEvent;
3339
+ }) => any) | undefined;
3340
+ "onUpdate:expanded"?: ((state: ExplorerExpandedState) => any) | undefined;
3341
+ }>, "ariaLabel" | "expanded"> & {} & ComponentCustomProperties & {} & {
3342
+ $slots: Readonly<{
3343
+ 'node-prefix'(props: {
3344
+ node: ExplorerNode;
3345
+ }): unknown;
3346
+ 'node-label'(props: {
3347
+ node: ExplorerNode;
3348
+ }): unknown;
3349
+ 'node-suffix'(props: {
3350
+ node: ExplorerNode;
3351
+ }): unknown;
3352
+ }> & {
3353
+ 'node-prefix'(props: {
3354
+ node: ExplorerNode;
3355
+ }): unknown;
3356
+ 'node-label'(props: {
3357
+ node: ExplorerNode;
3358
+ }): unknown;
3359
+ 'node-suffix'(props: {
3360
+ node: ExplorerNode;
3361
+ }): unknown;
3362
+ };
3363
+ }) | null;
3364
+ }, any>;
1592
3365
 
1593
3366
  export declare const MultiSelect: DefineComponent<__VLS_PublicProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1594
3367
  "update:modelValue": (value: string[]) => any;
@@ -1637,7 +3410,7 @@ export declare const NoteCategoryPicker: DefineComponent<__VLS_PublicProps_3, {}
1637
3410
  "onUpdate:modelValue"?: ((value: ("feedback" | "instantiation" | "interlock")[]) => any) | undefined;
1638
3411
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLFieldSetElement>;
1639
3412
 
1640
- export declare const NoteCategoryTag: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
3413
+ export declare const NoteCategoryTag: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
1641
3414
 
1642
3415
  /** @ref=elia:note-json-format - stored contract in doc/note-format.md */
1643
3416
  export declare interface NoteData {
@@ -1716,6 +3489,12 @@ export declare type SortDirection = 'asc' | 'desc';
1716
3489
 
1717
3490
  export declare const SplitLayout: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
1718
3491
 
3492
+ /** An element as the previewed (staged) merge writes it. */
3493
+ declare type StagedElement = {
3494
+ title: string;
3495
+ attributes: Record<string, string | undefined>;
3496
+ };
3497
+
1719
3498
  /** Per-node selection payload: what to preview and (if any) the change it carries. */
1720
3499
  declare type StructuralNodeInfo = {
1721
3500
  previewRef: Scl.Ref<Scl.ElementsOf>;
@@ -1918,22 +3697,36 @@ export declare function useLiveData<T>(params: {
1918
3697
  */
1919
3698
  export declare function useMergeSession(params: MergeSessionParams): {
1920
3699
  report: ShallowRef<DiffReport | undefined, DiffReport | undefined>;
3700
+ upToDate: ComputedRef<boolean>;
1921
3701
  decisions: Reactive<Map<string, GroupDecision>>;
3702
+ decisionMappings: ShallowReactive<Map<string, DecisionMapping>>;
3703
+ mapView: ShallowRef<MapView, MapView>;
3704
+ mappingError: ShallowRef<string | undefined, string | undefined>;
3705
+ previewError: ShallowRef<string | undefined, string | undefined>;
3706
+ updating: ShallowRef<boolean, boolean>;
3707
+ settle: () => Promise<void>;
3708
+ placementNotice: ComputedRef<string | undefined>;
1922
3709
  keepNameTypesFrom: ShallowRef<KeepNameTypesFrom, KeepNameTypesFrom>;
1923
3710
  structuralTree: ShallowRef<StructuralTree, StructuralTree>;
1924
3711
  previewXml: ShallowRef<string | undefined, string | undefined>;
1925
3712
  previewBeforeXml: ShallowRef<string | undefined, string | undefined>;
1926
3713
  previewLoading: ShallowRef<boolean, boolean>;
3714
+ previewRenamed: ShallowRef<boolean, boolean>;
3715
+ templateTypes: ShallowRef<boolean, boolean>;
1927
3716
  warnings: ShallowRef<TemplateUuidWarning[], TemplateUuidWarning[]>;
1928
3717
  load: () => Promise<void>;
3718
+ setMapping: (sourceId: string, mapping: DecisionMapping | undefined) => void;
1929
3719
  setDecision: (groupId: string, action: "accept" | "skip") => void;
1930
3720
  setValue: (groupId: string, attr: string, value: string) => void;
1931
3721
  decisionOf: (groupId: string) => "accept" | "skip";
3722
+ leftOutWith: (groupId: string, seen?: Set<string>) => DecisionGroup | undefined;
1932
3723
  editedValue: (groupId: string, attr: string) => string | undefined;
1933
3724
  select: (sel: StructuralNodeInfo | undefined) => void;
3725
+ stagedElement: (ref: Scl.Ref<Scl.ElementsOf>) => Promise<StagedElement | undefined>;
1934
3726
  stagedAttributes: (ref: Scl.Ref<Scl.ElementsOf>) => Promise<Record<string, string | undefined>>;
1935
3727
  setKeepNameTypesFrom: (value: KeepNameTypesFrom) => void;
1936
- commit: () => Promise<void>;
3728
+ describeOutcome: () => Promise<MergeOutcome>;
3729
+ commit: () => Promise<ApplyResult | undefined>;
1937
3730
  };
1938
3731
 
1939
3732
  export declare function useOptionalRowSortContext(): RowSortHeaderModel | undefined;
@@ -1974,6 +3767,12 @@ export declare type VisibilityOptions = {
1974
3767
  defaultOpenDepth: number;
1975
3768
  };
1976
3769
 
1977
- export declare const XmlDiff: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
3770
+ /** Where the merge writes an element it creates: its name, and the path of the element it sits in. */
3771
+ export declare type WrittenTarget = {
3772
+ name: string;
3773
+ parentPath?: string;
3774
+ };
3775
+
3776
+ export declare const XmlDiff: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
1978
3777
 
1979
3778
  export { }