@dialecte/scl 0.3.7 → 0.3.9
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.
- package/dist/{hooks-ByGralT8.js → hooks-DO4gUiix.js} +1392 -1074
- package/dist/v2019C1/constants/reference-pairs.d.ts +11 -0
- package/dist/v2019C1/constants/reference-pairs.d.ts.map +1 -1
- package/dist/v2019C1/extensions/clean-up/transaction/orphan-lnode-bindings.d.ts +12 -5
- package/dist/v2019C1/extensions/clean-up/transaction/orphan-lnode-bindings.d.ts.map +1 -1
- package/dist/v2019C1/extensions/clean-up/transaction/orphan-uuid-refs.d.ts.map +1 -1
- package/dist/v2019C1/extensions/data-model/query/index.d.ts +1 -0
- package/dist/v2019C1/extensions/data-model/query/index.d.ts.map +1 -1
- package/dist/v2019C1/extensions/data-model/query/is-lnode-locked.d.ts +18 -0
- package/dist/v2019C1/extensions/data-model/query/is-lnode-locked.d.ts.map +1 -0
- package/dist/v2019C1/extensions/data-model/transaction/import-types.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/constraints/classify-attribute.d.ts +4 -3
- package/dist/v2019C1/extensions/lifecycle/constraints/classify-attribute.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/constraints/classify-attribute.types.d.ts +10 -0
- package/dist/v2019C1/extensions/lifecycle/constraints/classify-attribute.types.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/cross-cutting/applied-satellites.constants.d.ts +1 -1
- package/dist/v2019C1/extensions/lifecycle/engine/decide.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/engine/diff.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/engine/diff.types.d.ts +2 -2
- package/dist/v2019C1/extensions/lifecycle/engine/diff.types.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/engine/group.d.ts +4 -0
- package/dist/v2019C1/extensions/lifecycle/engine/group.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/engine/reconcile.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/layers/function/satellites.constants.d.ts +1 -1
- package/dist/v2019C1/extensions/lifecycle/report/query/cross-cutting-satellites.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/report/query/report-function-satellites.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/report/query/report-function.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/report/query/satellite-companions.d.ts +2 -0
- package/dist/v2019C1/extensions/lifecycle/report/query/satellite-companions.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/report/report.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/update/transaction/asd.d.ts.map +1 -1
- package/dist/v2019C1/extensions/lifecycle/update/transaction/function-satellites.d.ts +1 -1
- package/dist/v2019C1/extensions/presentation/constants/title.d.ts +1 -12
- package/dist/v2019C1/extensions/presentation/constants/title.d.ts.map +1 -1
- package/dist/v2019C1/extensions/presentation/constants/title.types.d.ts +25 -0
- package/dist/v2019C1/extensions/presentation/constants/title.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/presentation/public.d.ts +3 -0
- package/dist/v2019C1/extensions/presentation/public.d.ts.map +1 -0
- package/dist/v2019C1/extensions/presentation/query/extract-element-title.d.ts +2 -24
- package/dist/v2019C1/extensions/presentation/query/extract-element-title.d.ts.map +1 -1
- package/dist/v2019C1/extensions/presentation/query/extract-element-title.types.d.ts +24 -0
- package/dist/v2019C1/extensions/presentation/query/extract-element-title.types.d.ts.map +1 -0
- package/dist/v2019C1/extensions/presentation/query/index.d.ts +1 -0
- package/dist/v2019C1/extensions/presentation/query/index.d.ts.map +1 -1
- package/dist/v2019C1/extensions/public.d.ts +1 -0
- package/dist/v2019C1/extensions/public.d.ts.map +1 -1
- package/dist/v2019C1/extensions/reference/constants/derived.d.ts +18 -0
- package/dist/v2019C1/extensions/reference/constants/derived.d.ts.map +1 -1
- package/dist/v2019C1/extensions/reference/constants/index.d.ts +2 -2
- package/dist/v2019C1/extensions/reference/constants/index.d.ts.map +1 -1
- package/dist/v2019C1/extensions/reference/constants/orphan-rules.d.ts +0 -8
- package/dist/v2019C1/extensions/reference/constants/orphan-rules.d.ts.map +1 -1
- package/dist/v2019C1/extensions/reference/query/build/build-mapped-name.d.ts +22 -0
- package/dist/v2019C1/extensions/reference/query/build/build-mapped-name.d.ts.map +1 -0
- package/dist/v2019C1/extensions/reference/query/build/build-reference-path.d.ts +1 -1
- package/dist/v2019C1/extensions/reference/query/build/build-reference-path.d.ts.map +1 -1
- package/dist/v2019C1/extensions/reference/query/build/index.d.ts +1 -0
- package/dist/v2019C1/extensions/reference/query/build/index.d.ts.map +1 -1
- package/dist/v2019C1/extensions/reference/query/resolve/parse-path.d.ts +1 -1
- package/dist/v2019C1/extensions/reference/transaction/write-provenance.d.ts +1 -1
- package/dist/v2019C1/hooks/after-created/ref-paths.d.ts.map +1 -1
- package/dist/v2019C1/hooks/after-updated/ref-paths.d.ts +7 -1
- package/dist/v2019C1/hooks/after-updated/ref-paths.d.ts.map +1 -1
- package/dist/v2019C1/hooks/before-clone/before-clone.d.ts.map +1 -1
- package/dist/v2019C1/hooks/before-delete/orphaned-refs.d.ts.map +1 -1
- package/dist/v2019C1/hooks/io/io-hooks.d.ts.map +1 -1
- package/dist/v2019C1/hooks/shared/index.d.ts +4 -0
- package/dist/v2019C1/hooks/shared/index.d.ts.map +1 -1
- package/dist/v2019C1/hooks/shared/lnode-binding.d.ts +23 -0
- package/dist/v2019C1/hooks/shared/lnode-binding.d.ts.map +1 -0
- package/dist/v2019C1/hooks/shared/mapped-name.d.ts +15 -0
- package/dist/v2019C1/hooks/shared/mapped-name.d.ts.map +1 -0
- package/dist/v2019C1/hooks/shared/record-ops.d.ts +19 -0
- package/dist/v2019C1/hooks/shared/record-ops.d.ts.map +1 -0
- package/dist/v2019C1/hooks/shared/ref-path-rebuild.d.ts +17 -0
- package/dist/v2019C1/hooks/shared/ref-path-rebuild.d.ts.map +1 -0
- package/dist/v2019C1/index.js +12 -12
- package/dist/v2019C1/test.js +1 -1
- package/package.json +5 -5
|
@@ -330,4 +330,15 @@ export declare const UUID_REFERENCE_PAIRS: {
|
|
|
330
330
|
readonly companions: readonly [];
|
|
331
331
|
}];
|
|
332
332
|
};
|
|
333
|
+
export declare const KEEP_ON_ORPHAN_REFS: ReadonlySet<string>;
|
|
334
|
+
/** All reference tag names (keys of {@link UUID_REFERENCE_PAIRS}), typed for iteration. */
|
|
335
|
+
export declare const REFERENCE_TAGS: (keyof typeof UUID_REFERENCE_PAIRS)[];
|
|
336
|
+
/** Reference tag names as a string set, for membership tests (`has(tagName)`). */
|
|
337
|
+
export declare const REFERENCE_TAG_NAMES: ReadonlySet<string>;
|
|
338
|
+
/**
|
|
339
|
+
* All element types that can be **targeted** by a UUID reference — the flattened
|
|
340
|
+
* `target` arrays of {@link UUID_REFERENCE_PAIRS}. Use to recognise a referenceable
|
|
341
|
+
* element (e.g. index its path -> uuid on import).
|
|
342
|
+
*/
|
|
343
|
+
export declare const TARGET_ELEMENT_TYPES: ReadonlySet<string>;
|
|
333
344
|
//# sourceMappingURL=reference-pairs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reference-pairs.d.ts","sourceRoot":"","sources":["../../../src/v2019C1/constants/reference-pairs.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"reference-pairs.d.ts","sourceRoot":"","sources":["../../../src/v2019C1/constants/reference-pairs.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmSvB,CAAA;AAyBV,eAAO,MAAM,mBAAmB,EAAE,WAAW,CAAC,MAAM,CAA4C,CAAA;AAEhG,2FAA2F;AAC3F,eAAO,MAAM,cAAc,EAEtB,CAAC,MAAM,OAAO,oBAAoB,CAAC,EAAE,CAAA;AAE1C,kFAAkF;AAClF,eAAO,MAAM,mBAAmB,EAAE,WAAW,CAAC,MAAM,CAA2B,CAAA;AAE/E;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,EAAE,WAAW,CAAC,MAAM,CAEpD,CAAA"}
|
|
@@ -3,14 +3,21 @@ import type * as Core from '@dialecte/core';
|
|
|
3
3
|
/**
|
|
4
4
|
* Resets LNode IED bindings when the referenced IED is absent from the target DB.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
6
|
+
* Shares the lock predicate with the lifecycle merge: `isLNodeLocked` = the LNode
|
|
7
|
+
* is bound to an IED (`iedName` set, not `'None'`). Cleanup then OWNS the unlock —
|
|
8
|
+
* it resolves whether a locked binding is still valid (IED present) or dangling:
|
|
9
|
+
*
|
|
10
|
+
* - not locked (iedName 'None'/empty/absent) → normalize the unbound marker to an
|
|
8
11
|
* explicit iedName='None' (the store is faithful, so an omitted iedName is not
|
|
9
12
|
* auto-stamped on import; the cleanup makes the canonical marker explicit)
|
|
10
|
-
* -
|
|
11
|
-
* - IED absent + LNodeSpecNaming child exists → restore lnClass/lnInst/prefix
|
|
13
|
+
* - locked + referenced IED present → skip (binding valid)
|
|
14
|
+
* - locked + IED absent + LNodeSpecNaming child exists → restore lnClass/lnInst/prefix
|
|
12
15
|
* from spec naming, clear iedName/ldInst/lnUuid, reset spec naming sIedName/sLdInst
|
|
13
|
-
* - IED absent + no LNodeSpecNaming → clear all binding attrs
|
|
16
|
+
* - locked + IED absent + no LNodeSpecNaming → clear all binding attrs
|
|
17
|
+
*
|
|
18
|
+
* `templateUuid` is preserved in every case: it records the template the LNode was
|
|
19
|
+
* instantiated from (the key used to re-locate an implementing ICD), which is
|
|
20
|
+
* independent of whether the implementing IED is currently present.
|
|
14
21
|
*/
|
|
15
22
|
export declare function resetLNodes(tx: Core.Transaction<Config>): Promise<void>;
|
|
16
23
|
//# sourceMappingURL=orphan-lnode-bindings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orphan-lnode-bindings.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/clean-up/transaction/orphan-lnode-bindings.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"orphan-lnode-bindings.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/clean-up/transaction/orphan-lnode-bindings.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAO,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAsB,WAAW,CAAC,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAmB7E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orphan-uuid-refs.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/clean-up/transaction/orphan-uuid-refs.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"orphan-uuid-refs.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/clean-up/transaction/orphan-uuid-refs.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAO,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;GAKG;AACH,wBAAsB,cAAc,CAAC,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAuChF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/data-model/query/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/data-model/query/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Config } from '../../../config';
|
|
2
|
+
import { AnyRefOrRecord } from '@dialecte/core';
|
|
3
|
+
import type * as Core from '@dialecte/core';
|
|
4
|
+
/**
|
|
5
|
+
* Whether an `LNode` is **locked** — i.e. bound to an IED (implemented). An LNode
|
|
6
|
+
* is locked when its `iedName` is set and is not the unbound `'None'` marker.
|
|
7
|
+
*
|
|
8
|
+
* A locked LNode's identity + `lnType` are owned by the implementation: the
|
|
9
|
+
* lifecycle merge/update must never overwrite them, even on a UI-instructed edit.
|
|
10
|
+
*
|
|
11
|
+
* The binding IS the lock; whether the referenced IED currently exists in the
|
|
12
|
+
* document is a separate *validity* question owned by orphan cleanup
|
|
13
|
+
* (`resetLNodes`), not by this predicate — so a dangling (orphaned) binding is
|
|
14
|
+
* still locked and stays protected until cleanup resolves it. The S-IED
|
|
15
|
+
* specification convention (`manufacturer="S_IED"`) is likewise not considered.
|
|
16
|
+
*/
|
|
17
|
+
export declare function isLNodeLocked(query: Core.Query<Config>, ref: AnyRefOrRecord): Promise<boolean>;
|
|
18
|
+
//# sourceMappingURL=is-lnode-locked.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-lnode-locked.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/data-model/query/is-lnode-locked.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAKpD;;;;;;;;;;;;GAYG;AACH,wBAAsB,aAAa,CAClC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EACzB,GAAG,EAAE,cAAc,GACjB,OAAO,CAAC,OAAO,CAAC,CAGlB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"import-types.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/data-model/transaction/import-types.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACX,iBAAiB,EACjB,iBAAiB,EAGjB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAO,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAEnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAc3C,YAAY,EACX,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,GACjB,MAAM,sBAAsB,CAAA;AAE7B;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAsB,WAAW,CAChC,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE,iBAAiB,GACvB,OAAO,CAAC,iBAAiB,CAAC,
|
|
1
|
+
{"version":3,"file":"import-types.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/data-model/transaction/import-types.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EACX,iBAAiB,EACjB,iBAAiB,EAGjB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EAAO,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAEnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAc3C,YAAY,EACX,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,GACjB,MAAM,sBAAsB,CAAA;AAE7B;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAsB,WAAW,CAChC,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE,iBAAiB,GACvB,OAAO,CAAC,iBAAiB,CAAC,CAqH5B"}
|
|
@@ -5,10 +5,11 @@ import { AttributeEditability, EditableAttribute } from './classify-attribute.ty
|
|
|
5
5
|
* transaction (schema-derived, no hardcoded element rules):
|
|
6
6
|
*
|
|
7
7
|
* - lineage (`uuid`/`templateUuid`/`originUuid`) -> `identity`;
|
|
8
|
-
* - a reference path/uuid attribute (from `UUID_REFERENCE_PAIRS`)
|
|
9
|
-
* (system-owned,
|
|
8
|
+
* - a reference path/uuid attribute (from `UUID_REFERENCE_PAIRS`) or a type-id
|
|
9
|
+
* reference (`lnType`, `DO/SDO/DA/BDA.type`) -> `reference` (system-owned,
|
|
10
|
+
* resolved/remapped internally — never a user edit);
|
|
10
11
|
* - `name` -> `rename` (the mutable label; changing it triggers a managed ref-path
|
|
11
|
-
* rebuild —
|
|
12
|
+
* rebuild — the uuid is fixed, the name evolves);
|
|
12
13
|
* - any other path-contributing attribute (lnClass, prefix, inst, …) or scoped-key
|
|
13
14
|
* field -> `identity` (intrinsic; changing it is a delete+create, not an edit);
|
|
14
15
|
* - everything else -> `free`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"classify-attribute.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/constraints/classify-attribute.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAW,MAAM,gCAAgC,CAAA;
|
|
1
|
+
{"version":3,"file":"classify-attribute.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/constraints/classify-attribute.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAW,MAAM,gCAAgC,CAAA;AAUxE,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAA;AAEzF;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,oBAAoB,CAOjF;AAED,4EAA4E;AAC5E,wBAAgB,cAAc,CAC7B,IAAI,EAAE,oBAAoB,GACxB,IAAI,IAAI,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAEzC;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,iBAAiB,EAAE,CAQnE"}
|
|
@@ -19,5 +19,15 @@ export type EditableAttribute = {
|
|
|
19
19
|
*/
|
|
20
20
|
conflict?: boolean;
|
|
21
21
|
suggestedValue?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Modification delta for a `modified` group, present only when this editable attribute
|
|
24
|
+
* actually changed on update. `before` = the instance's current value, `after` = the
|
|
25
|
+
* template's incoming value (`undefined` on either side = the attribute is absent /
|
|
26
|
+
* being cleared). `changed` marks it so the UI can surface changed fields first and
|
|
27
|
+
* default the input to `after` with a "keep current" (`before`) affordance.
|
|
28
|
+
*/
|
|
29
|
+
before?: string;
|
|
30
|
+
after?: string;
|
|
31
|
+
changed?: boolean;
|
|
22
32
|
};
|
|
23
33
|
//# sourceMappingURL=classify-attribute.types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"classify-attribute.types.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/constraints/classify-attribute.types.ts"],"names":[],"mappings":"AAAA,sFAAsF;AACtF,MAAM,MAAM,oBAAoB;AAC/B,2FAA2F;AACzF,UAAU;AACZ,2EAA2E;GACzE,WAAW;AACb,8FAA8F;GAC5F,QAAQ;AACV,4EAA4E;GAC1E,MAAM,CAAA;AAET,4FAA4F;AAC5F,MAAM,MAAM,iBAAiB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,QAAQ,GAAG,MAAM,CAAA;IACvB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,cAAc,CAAC,EAAE,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"classify-attribute.types.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/constraints/classify-attribute.types.ts"],"names":[],"mappings":"AAAA,sFAAsF;AACtF,MAAM,MAAM,oBAAoB;AAC/B,2FAA2F;AACzF,UAAU;AACZ,2EAA2E;GACzE,WAAW;AACb,8FAA8F;GAC5F,QAAQ;AACV,4EAA4E;GAC1E,MAAM,CAAA;AAET,4FAA4F;AAC5F,MAAM,MAAM,iBAAiB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,QAAQ,GAAG,MAAM,CAAA;IACvB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,OAAO,CAAA;CACjB,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* CROSS-CUTTING satellite containers: elements that apply to ANY SCL element
|
|
3
3
|
* (via a uuid reference into it) and therefore travel with WHATEVER subtree
|
|
4
|
-
* contains their target — not owned by a single layer
|
|
4
|
+
* contains their target — not owned by a single layer.
|
|
5
5
|
*
|
|
6
6
|
* v1 = `Variable` (via `VariableApplyTo.elementUuid`) and `BehaviorDescription`
|
|
7
7
|
* (via `InputVar`/`OutputVar.lnodeUuid`). Only uuid-bound targets are covered;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decide.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/engine/decide.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACrE,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAY,aAAa,EAAE,MAAM,cAAc,CAAA;AAEvF,0EAA0E;AAC1E,wBAAgB,cAAc,CAAC,QAAQ,EAAE,aAAa,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,CAIrF;
|
|
1
|
+
{"version":3,"file":"decide.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/engine/decide.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACrE,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAY,aAAa,EAAE,MAAM,cAAc,CAAA;AAEvF,0EAA0E;AAC1E,wBAAgB,cAAc,CAAC,QAAQ,EAAE,aAAa,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,CAIrF;AAsBD;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE;IAC1C,MAAM,EAAE,aAAa,EAAE,CAAA;IACvB,SAAS,EAAE,WAAW,CAAA;CACtB,GAAG,kBAAkB,CAWrB;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE;IAC/C,MAAM,EAAE,aAAa,EAAE,CAAA;IACvB,SAAS,EAAE,WAAW,CAAA;CACtB,GAAG,IAAI,CAUP;AAMD;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE;IACtC,MAAM,EAAE,aAAa,EAAE,CAAA;IACvB,SAAS,EAAE,WAAW,CAAA;CACtB,GAAG,WAAW,CAad"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diff.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/engine/diff.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAA6B,UAAU,EAAe,MAAM,cAAc,CAAA;AACtF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAiB,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"diff.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/engine/diff.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAA6B,UAAU,EAAe,MAAM,cAAc,CAAA;AACtF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAiB,MAAM,gBAAgB,CAAA;AAgBnE;;;;;;;;;;GAUG;AACH,wBAAsB,IAAI,CAAC,MAAM,EAAE;IAClC,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,aAAa,EAAE,cAAc,CAAA;IAC7B,kFAAkF;IAClF,eAAe,CAAC,EAAE,cAAc,CAAA;CAChC,GAAG,OAAO,CAAC,UAAU,CAAC,CA4CtB;AA+JD;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,CAAC,UAAU,EAAE,GAAG,UAAU,EAAE,CAAC,GAAG,UAAU,CAmB/E"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EditableAttribute } from '../constraints';
|
|
2
2
|
import { AnyRefOrRecord } from '@dialecte/core';
|
|
3
3
|
/** How a diffed element changed between the (updated) template and the instance. */
|
|
4
|
-
export type DiffChange = 'added' | 'removed' | 'modified' | 'unchanged';
|
|
4
|
+
export type DiffChange = 'added' | 'removed' | 'modified' | 'unchanged' | 'target-only';
|
|
5
5
|
export type AttributeChange = {
|
|
6
6
|
name: string;
|
|
7
7
|
before?: string;
|
|
@@ -53,7 +53,7 @@ export type DecisionGroup = {
|
|
|
53
53
|
primary: DiffNode;
|
|
54
54
|
companions: DiffNode[];
|
|
55
55
|
dependsOn: string[];
|
|
56
|
-
suggestedAction: 'accept';
|
|
56
|
+
suggestedAction: 'accept' | 'skip';
|
|
57
57
|
/**
|
|
58
58
|
* The primary element's user-editable attributes with their edit mode
|
|
59
59
|
* (schema-derived via the attribute classifier), tagged at report time so the UI
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diff.types.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/engine/diff.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD,oFAAoF;
|
|
1
|
+
{"version":3,"file":"diff.types.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/engine/diff.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAA;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD,oFAAoF;AAGpF,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,GAAG,WAAW,GAAG,aAAa,CAAA;AAEvF,MAAM,MAAM,eAAe,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAA;AAE/E,MAAM,MAAM,QAAQ,GAAG;IACtB,MAAM,EAAE,UAAU,CAAA;IAClB,OAAO,EAAE,MAAM,CAAA;IACf,kFAAkF;IAClF,SAAS,CAAC,EAAE,cAAc,CAAA;IAC1B,2EAA2E;IAC3E,WAAW,CAAC,EAAE,cAAc,CAAA;IAC5B,iDAAiD;IACjD,gBAAgB,CAAC,EAAE,eAAe,EAAE,CAAA;IACpC,QAAQ,EAAE,QAAQ,EAAE,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,WAAW,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAAA;AAE9E;;;;;GAKG;AACH,MAAM,MAAM,aAAa,GAAG;IAC3B,MAAM,EAAE,MAAM,EAAE,CAAA;IAChB,aAAa,EAAE,MAAM,CAAA;CACrB,CAAA;AAED;;;;;;;;;;GAUG;AACH,MAAM,MAAM,aAAa,GAAG;IAC3B,sEAAsE;IACtE,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,OAAO,CAAC,UAAU,EAAE,WAAW,CAAC,CAAA;IACxC,yHAAyH;IACzH,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,EAAE,QAAQ,CAAA;IACjB,UAAU,EAAE,QAAQ,EAAE,CAAA;IACtB,SAAS,EAAE,MAAM,EAAE,CAAA;IACnB,eAAe,EAAE,QAAQ,GAAG,MAAM,CAAA;IAClC;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,iBAAiB,EAAE,CAAA;IACxC;;;;;;;;OAQG;IACH,QAAQ,CAAC,EAAE,aAAa,CAAA;IACxB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,UAAU,GAAG;IACxB,IAAI,EAAE,QAAQ,CAAA;IACd;;;;OAIG;IACH,KAAK,EAAE,QAAQ,EAAE,CAAA;IACjB,8EAA8E;IAC9E,MAAM,EAAE,aAAa,EAAE,CAAA;IACvB;;;;OAIG;IACH,cAAc,EAAE,OAAO,CAAA;IACvB,OAAO,EAAE,WAAW,CAAA;CACpB,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,aAAa,GACtB,QAAQ,GACR,MAAM,GACN;IAAE,MAAM,EAAE,QAAQ,GAAG,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,CAAA;AAEjE;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,GAAG,CAAC,MAAM,EAAE,aAAa,CAAC,CAAA"}
|
|
@@ -13,4 +13,8 @@ import { DecisionGroup, DiffNode } from './diff.types';
|
|
|
13
13
|
* and `dependsOn` edges for nested-independent changes — both currently empty.
|
|
14
14
|
*/
|
|
15
15
|
export declare function groupChanges(root: DiffNode, instanceScopeId?: string): DecisionGroup[];
|
|
16
|
+
export declare function collectChangedDescendants(params: {
|
|
17
|
+
node: DiffNode;
|
|
18
|
+
out: DiffNode[];
|
|
19
|
+
}): void;
|
|
16
20
|
//# sourceMappingURL=group.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"group.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/engine/group.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAE3D;;;;;;;;;;;;GAYG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,QAAQ,EAAE,eAAe,CAAC,EAAE,MAAM,GAAG,aAAa,EAAE,CAItF"}
|
|
1
|
+
{"version":3,"file":"group.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/engine/group.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAE3D;;;;;;;;;;;;GAYG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,QAAQ,EAAE,eAAe,CAAC,EAAE,MAAM,GAAG,aAAa,EAAE,CAItF;AAgCD,wBAAgB,yBAAyB,CAAC,MAAM,EAAE;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,GAAG,EAAE,QAAQ,EAAE,CAAA;CAAE,GAAG,IAAI,CAM3F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reconcile.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/engine/reconcile.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"reconcile.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/engine/reconcile.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACrE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAA;AACpF,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAiB,MAAM,gBAAgB,CAAA;AAEnE;;;;;;;;;;;;;;;;GAgBG;AAEH,wBAAsB,SAAS,CAC9B,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,aAAa,EAAE,cAAc,CAAA;IAC7B,eAAe,EAAE,cAAc,CAAA;IAC/B;;;OAGG;IACH,QAAQ,CAAC,EAAE,WAAW,CAAA;IACtB;;;OAGG;IACH,SAAS,CAAC,EAAE,kBAAkB,CAAA;IAC9B,gFAAgF;IAChF,iBAAiB,CAAC,EAAE,iBAAiB,CAAA;CACrC,GACC,OAAO,CAAC,IAAI,CAAC,CAkCf"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The function layer's SATELLITE container tags: elements that live OUTSIDE the
|
|
3
3
|
* function subtree but reference back into it and therefore travel with the
|
|
4
|
-
* function
|
|
4
|
+
* function. The function layer OWNS this list explicitly —
|
|
5
5
|
* satellites are a per-layer concern, not a generic engine data hook.
|
|
6
6
|
*
|
|
7
7
|
* v1 = FunctionCategory (via `FunctionCatRef`). Variable / BehaviorDescription
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cross-cutting-satellites.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/report/query/cross-cutting-satellites.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAA;AAClF,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;GAUG;AACH,wBAAsB,0BAA0B,CAC/C,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EACzB,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,UAAU,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACnC,kBAAkB,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAC5C,MAAM,EAAE,UAAU,CAAA;CAClB,GACC,OAAO,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"cross-cutting-satellites.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/report/query/cross-cutting-satellites.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAA;AAClF,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;GAUG;AACH,wBAAsB,0BAA0B,CAC/C,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EACzB,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,UAAU,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACnC,kBAAkB,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAC5C,MAAM,EAAE,UAAU,CAAA;CAClB,GACC,OAAO,CAAC,UAAU,CAAC,CAgBrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"report-function-satellites.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/report/query/report-function-satellites.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAA;AAClF,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD;;;;;;;;;GASG;AACH,wBAAsB,qBAAqB,CAC1C,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EACzB,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,WAAW,EAAE,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAChC,QAAQ,EAAE,cAAc,GAAG,SAAS,CAAA;IACpC,MAAM,EAAE,UAAU,CAAA;CAClB,GACC,OAAO,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"report-function-satellites.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/report/query/report-function-satellites.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAA;AAClF,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD;;;;;;;;;GASG;AACH,wBAAsB,qBAAqB,CAC1C,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EACzB,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,WAAW,EAAE,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAChC,QAAQ,EAAE,cAAc,GAAG,SAAS,CAAA;IACpC,MAAM,EAAE,UAAU,CAAA;CAClB,GACC,OAAO,CAAC,UAAU,CAAC,CAgBrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"report-function.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/report/query/report-function.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAA;AAClF,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD;;;;;;;;;;GAUG;AACH,wBAAsB,cAAc,CACnC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EACzB,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,WAAW,EAAE,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAChC,QAAQ,EAAE,cAAc,GAAG,SAAS,CAAA;CACpC,GACC,OAAO,CAAC,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"report-function.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/report/query/report-function.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAA;AAClF,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAEpD;;;;;;;;;;GAUG;AACH,wBAAsB,cAAc,CACnC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EACzB,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,WAAW,EAAE,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IAChC,QAAQ,EAAE,cAAc,GAAG,SAAS,CAAA;CACpC,GACC,OAAO,CAAC,UAAU,CAAC,CA2BrB"}
|
|
@@ -25,5 +25,7 @@ export declare function foldSatelliteCompanions(query: Core.Query<Config>, param
|
|
|
25
25
|
satelliteRefs: Scl.Ref<Scl.ElementsOf>[];
|
|
26
26
|
instanceSatelliteRefs?: Scl.Ref<Scl.ElementsOf>[];
|
|
27
27
|
report: DiffReport;
|
|
28
|
+
/** Instance scope for a standalone satellite group (primary-unchanged case). */
|
|
29
|
+
instanceScopeId?: string;
|
|
28
30
|
}): Promise<DiffReport>;
|
|
29
31
|
//# sourceMappingURL=satellite-companions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"satellite-companions.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/report/query/satellite-companions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"satellite-companions.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/report/query/satellite-companions.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAA;AAClF,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAsB,uBAAuB,CAC5C,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EACzB,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,UAAU,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACnC,aAAa,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAA;IACxC,qBAAqB,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,CAAA;IACjD,MAAM,EAAE,UAAU,CAAA;IAClB,gFAAgF;IAChF,eAAe,CAAC,EAAE,MAAM,CAAA;CACxB,GACC,OAAO,CAAC,UAAU,CAAC,CA+DrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"report.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/report/report.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"report.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/lifecycle/report/report.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+CAA+C,CAAA;AACpF,OAAO,KAAK,EAAmB,UAAU,EAAE,MAAM,kDAAkD,CAAA;AACnG,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;GAUG;AACH,wBAAsB,MAAM,CAC3B,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EACzB,MAAM,EAAE,eAAe,GACrB,OAAO,CAAC,UAAU,CAAC,CA0BrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asd.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/update/transaction/asd.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAA;AACpF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAA;AACtF,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAA;AAC/F,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAsB,GAAG,CACxB,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,cAAc,EAAE,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;IACtC,YAAY,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACrC,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,iBAAiB,CAAA;IAC5B,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,SAAS,CAAC,EAAE,WAAW,CAAA;IACvB,iFAAiF;IACjF,iBAAiB,CAAC,EAAE,iBAAiB,CAAA;CACrC,GACC,OAAO,CAAC;IACV,YAAY,EAAE,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,CAAA;IACtC,SAAS,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,EAAE,CAAA;CAC3D,CAAC,
|
|
1
|
+
{"version":3,"file":"asd.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/lifecycle/update/transaction/asd.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAA;AACpF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAA;AACtF,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,kDAAkD,CAAA;AAC/F,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAsB,GAAG,CACxB,EAAE,EAAE,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,EAC5B,MAAM,EAAE;IACP,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;IAC/B,cAAc,EAAE,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,CAAA;IACtC,YAAY,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,CAAA;IACrC,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,iBAAiB,CAAA;IAC5B,MAAM,CAAC,EAAE,UAAU,CAAA;IACnB,SAAS,CAAC,EAAE,WAAW,CAAA;IACvB,iFAAiF;IACjF,iBAAiB,CAAC,EAAE,iBAAiB,CAAA;CACrC,GACC,OAAO,CAAC;IACV,YAAY,EAAE,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,EAAE,CAAA;IACtC,SAAS,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,EAAE,CAAA;CAC3D,CAAC,CA2GD"}
|
|
@@ -20,7 +20,7 @@ import type * as Core from '@dialecte/core';
|
|
|
20
20
|
* against the `instance`'s satellites) is DELETED — the coupling invariant: it
|
|
21
21
|
* rides the function group (gated by `accepted.instanceIds`), guarded by a
|
|
22
22
|
* whole-target-doc last-referrer check so a category still referenced by ANOTHER
|
|
23
|
-
* function is kept (shared-satellite safety). Catalog persistence
|
|
23
|
+
* function is kept (shared-satellite safety). Catalog persistence:
|
|
24
24
|
* the trigger is source-element non-existence, NOT a dropped link.
|
|
25
25
|
*/
|
|
26
26
|
export declare function reconcileCarriedSatellites(tx: Core.Transaction<Config>, params: {
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
compact: string | string[];
|
|
3
|
-
full?: string | string[];
|
|
4
|
-
separator?: string;
|
|
5
|
-
fullSeparator?: string;
|
|
6
|
-
/**
|
|
7
|
-
* Source the template/list attributes from a named child element instead
|
|
8
|
-
* of the element itself. Used by composite refs whose data lives in a
|
|
9
|
-
* child (e.g. `ApplicationSclRef > SclFileReference`).
|
|
10
|
-
*/
|
|
11
|
-
attributesFrom?: string;
|
|
12
|
-
};
|
|
1
|
+
import { TitleSpec } from './title.types';
|
|
13
2
|
export declare const TITLE_FIELDS_OVERRIDE: Partial<Record<string, TitleSpec>>;
|
|
14
3
|
//# sourceMappingURL=title.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"title.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/presentation/constants/title.ts"],"names":[],"mappings":"AA4BA,
|
|
1
|
+
{"version":3,"file":"title.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/presentation/constants/title.ts"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAE9C,eAAO,MAAM,qBAAqB,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,CAmGpE,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Ordered list of conditional template variants. The renderer picks the first
|
|
3
|
+
* variant whose `whenPresent` attribute is non-empty (a variant without
|
|
4
|
+
* `whenPresent` is an unconditional fallback) and renders its template. Used
|
|
5
|
+
* when a title must switch between a concrete binding and a specification hint
|
|
6
|
+
* (e.g. SourceRef `source` vs `pLN.pDO.pDA`, ControlRef `controlled` vs
|
|
7
|
+
* `pLN.pDO`).
|
|
8
|
+
*/
|
|
9
|
+
export type ConditionalTitle = {
|
|
10
|
+
whenPresent?: string;
|
|
11
|
+
template: string;
|
|
12
|
+
}[];
|
|
13
|
+
export type TitleSpec = {
|
|
14
|
+
compact: string | string[] | ConditionalTitle;
|
|
15
|
+
full?: string | string[] | ConditionalTitle;
|
|
16
|
+
separator?: string;
|
|
17
|
+
fullSeparator?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Source the template/list attributes from a named child element instead
|
|
20
|
+
* of the element itself. Used by composite refs whose data lives in a
|
|
21
|
+
* child (e.g. `ApplicationSclRef > SclFileReference`).
|
|
22
|
+
*/
|
|
23
|
+
attributesFrom?: string;
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=title.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"title.types.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/presentation/constants/title.types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAAE,WAAW,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,EAAE,CAAA;AAE3E,MAAM,MAAM,SAAS,GAAG;IACvB,OAAO,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,gBAAgB,CAAA;IAC7C,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,gBAAgB,CAAA;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAA;CACvB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../../src/v2019C1/extensions/presentation/public.ts"],"names":[],"mappings":"AAGA,YAAY,EACX,YAAY,EACZ,0BAA0B,EAC1B,oCAAoC,GACpC,MAAM,qCAAqC,CAAA;AAC5C,YAAY,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA"}
|
|
@@ -1,34 +1,12 @@
|
|
|
1
|
+
import { ElementTitle, ExtractElementTitleOptions, ExtractElementTitleOptionsWithLabels } from './extract-element-title.types';
|
|
1
2
|
import { Config } from '../../../config';
|
|
2
3
|
import { AnyRefOrRecord } from '@dialecte/core';
|
|
3
4
|
import type * as Core from '@dialecte/core';
|
|
4
|
-
export type ExtractElementTitleOptions = {
|
|
5
|
-
mode?: 'compact' | 'full';
|
|
6
|
-
};
|
|
7
|
-
export type ExtractElementTitleOptionsWithLabels = ExtractElementTitleOptions & {
|
|
8
|
-
withLabels: true;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* Rich title payload (returned when `withLabels: true`).
|
|
12
|
-
*
|
|
13
|
-
* - `title` is the engineering identifier computed from override -> text body
|
|
14
|
-
* -> identityFields -> tagName.
|
|
15
|
-
* - `labels` is a two-level map `[lang][id]` → text:
|
|
16
|
-
* - outer key: lowercased BCP 47 language tag (e.g. `en`, `en-us`, `fr`).
|
|
17
|
-
* - inner key: IEC `id` attribute of the `<Label>` element; `''` when absent.
|
|
18
|
-
* Empty object when no `<Labels>` element is present.
|
|
19
|
-
*
|
|
20
|
-
* Typical UI usage:
|
|
21
|
-
* const display = labels[currentLang]?.[''] ?? labels.en?.[''] ?? title
|
|
22
|
-
*/
|
|
23
|
-
export type ElementTitle = {
|
|
24
|
-
title: string;
|
|
25
|
-
labels: Record<string, Record<string, string>>;
|
|
26
|
-
};
|
|
27
5
|
/**
|
|
28
6
|
* Query extension: extracts a human-readable title for an SCL element.
|
|
29
7
|
*
|
|
30
8
|
* Default returns the title string. Pass `{ withLabels: true }` to also
|
|
31
|
-
* collect `<Labels>/<Label lang="...">` children (
|
|
9
|
+
* collect `<Labels>/<Label lang="...">` children (i18n labels); this
|
|
32
10
|
* incurs extra child-record traversal so it is opt-in.
|
|
33
11
|
*
|
|
34
12
|
* Resolution precedence for the title (first non-empty wins):
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extract-element-title.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/presentation/query/extract-element-title.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"extract-element-title.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/presentation/query/extract-element-title.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACX,YAAY,EACZ,0BAA0B,EAC1B,oCAAoC,EACpC,MAAM,+BAA+B,CAAA;AACtC,OAAO,KAAK,EAAO,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAIpD;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,CAClC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EACzB,WAAW,EAAE,cAAc,EAC3B,OAAO,EAAE,oCAAoC,GAC3C,OAAO,CAAC,YAAY,CAAC,CAAA;AACxB,wBAAgB,mBAAmB,CAClC,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EACzB,WAAW,EAAE,cAAc,EAC3B,OAAO,CAAC,EAAE,0BAA0B,GAClC,OAAO,CAAC,MAAM,CAAC,CAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export type ExtractElementTitleOptions = {
|
|
2
|
+
mode?: 'compact' | 'full';
|
|
3
|
+
};
|
|
4
|
+
export type ExtractElementTitleOptionsWithLabels = ExtractElementTitleOptions & {
|
|
5
|
+
withLabels: true;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* Rich title payload (returned when `withLabels: true`).
|
|
9
|
+
*
|
|
10
|
+
* - `title` is the engineering identifier computed from override -> text body
|
|
11
|
+
* -> identityFields -> tagName.
|
|
12
|
+
* - `labels` is a two-level map `[lang][id]` → text:
|
|
13
|
+
* - outer key: lowercased BCP 47 language tag (e.g. `en`, `en-us`, `fr`).
|
|
14
|
+
* - inner key: IEC `id` attribute of the `<Label>` element; `''` when absent.
|
|
15
|
+
* Empty object when no `<Labels>` element is present.
|
|
16
|
+
*
|
|
17
|
+
* Typical UI usage:
|
|
18
|
+
* const display = labels[currentLang]?.[''] ?? labels.en?.[''] ?? title
|
|
19
|
+
*/
|
|
20
|
+
export type ElementTitle = {
|
|
21
|
+
title: string;
|
|
22
|
+
labels: Record<string, Record<string, string>>;
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=extract-element-title.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extract-element-title.types.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/presentation/query/extract-element-title.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,0BAA0B,GAAG;IACxC,IAAI,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,oCAAoC,GAAG,0BAA0B,GAAG;IAC/E,UAAU,EAAE,IAAI,CAAA;CAChB,CAAA;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,YAAY,GAAG;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAA;CAC9C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/presentation/query/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/presentation/query/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAC7D,YAAY,EACX,YAAY,EACZ,0BAA0B,EAC1B,oCAAoC,GACpC,MAAM,+BAA+B,CAAA"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './data-model/public';
|
|
2
2
|
export * from './lifecycle/public';
|
|
3
3
|
export * from './lifecycle/transplant/public';
|
|
4
|
+
export * from './presentation/public';
|
|
4
5
|
export * from './reference/public';
|
|
5
6
|
export * from './signature/public';
|
|
6
7
|
//# sourceMappingURL=public.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/v2019C1/extensions/public.ts"],"names":[],"mappings":"AAIA,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA;AAClC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA"}
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/v2019C1/extensions/public.ts"],"names":[],"mappings":"AAIA,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA;AAClC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA"}
|
|
@@ -26,6 +26,17 @@ export declare const ALL_RESOLUTIONS: readonly ["direct", "lnode", "ied-address"
|
|
|
26
26
|
* Use for ref-side lookups (afterCreated REF case, beforeDelete sweeps).
|
|
27
27
|
*/
|
|
28
28
|
export declare const PAIRS_BY_REF: Map<string, import('./types').RefPairEntry[]>;
|
|
29
|
+
/**
|
|
30
|
+
* Refs whose path attribute is a "mapped name" documentation value — the short
|
|
31
|
+
* DO/SDO/DA name present ONLY when it differs from the specified `name`, NOT a
|
|
32
|
+
* rebuildable ObjectReference. Maps ref tag → its `{ path, uuid }` attribute
|
|
33
|
+
* names. Derived from UUID_REFERENCE_PAIRS so DOS/SDS (`mappedDoName`) and DAS
|
|
34
|
+
* (`mappedDaName`) stay in one source.
|
|
35
|
+
*/
|
|
36
|
+
export declare const MAPPED_NAME_REFS: ReadonlyMap<string, {
|
|
37
|
+
path: string;
|
|
38
|
+
uuid: string;
|
|
39
|
+
}>;
|
|
29
40
|
/**
|
|
30
41
|
* All uuid attribute names from UUID_REFERENCE_PAIRS, deduplicated.
|
|
31
42
|
* Use as the attribute list for remapUuidAttrs so new ref pairs are automatically covered.
|
|
@@ -37,4 +48,11 @@ export declare const TYPE_ID_REF_ATTRIBUTES: ReadonlyMap<string, readonly string
|
|
|
37
48
|
export declare const TYPE_ID_REFERRERS_BY_TARGET: ReadonlyMap<TypeIdTarget, readonly TypeIdReferrer[]>;
|
|
38
49
|
/** All DataTypeTemplates type tags that are targets of a type-id reference. */
|
|
39
50
|
export declare const TYPE_ID_TARGET_TAGS: ReadonlySet<string>;
|
|
51
|
+
/**
|
|
52
|
+
* The attributes an LNode locked (implemented) in an IED owns: its schema identity
|
|
53
|
+
* tuple (`iedName/ldInst/prefix/lnClass/lnInst`) plus its type reference (`lnType`).
|
|
54
|
+
* A lifecycle reconcile must never overwrite these on a locked LNode. Derived from
|
|
55
|
+
* the schema `identityFields` and the type-id reference registry.
|
|
56
|
+
*/
|
|
57
|
+
export declare const LOCKED_LNODE_ATTRIBUTES: ReadonlySet<string>;
|
|
40
58
|
//# sourceMappingURL=derived.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"derived.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/reference/constants/derived.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"derived.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/reference/constants/derived.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAE3D;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB,qFAAwD,CAAA;AAE3F;;;GAGG;AACH,eAAO,MAAM,sBAAsB,qEAKzB,CAAA;AAEV;;;;;GAKG;AACH,eAAO,MAAM,eAAe,oFAAoE,CAAA;AAEhG;;;GAGG;AACH,eAAO,MAAM,YAAY,+CAA2C,CAAA;AAEpE;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB,EAAE,WAAW,CAAC,MAAM,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAQhF,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,uBAAuB,EAAE,SAAS,MAAM,EAMpD,CAAA;AAID,2EAA2E;AAC3E,eAAO,MAAM,sBAAsB,EAAE,WAAW,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAKzE,CAAA;AAED,0FAA0F;AAC1F,eAAO,MAAM,2BAA2B,EAAE,WAAW,CAAC,YAAY,EAAE,SAAS,cAAc,EAAE,CACvC,CAAA;AAEtD,+EAA+E;AAC/E,eAAO,MAAM,mBAAmB,EAAE,WAAW,CAAC,MAAM,CAA+C,CAAA;AAEnG;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,EAAE,WAAW,CAAC,MAAM,CAItD,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { RESOLUTION_TYPE } from './resolution-types';
|
|
2
2
|
export { TYPE_ID_REFERENCE_PAIRS } from './type-id-pairs';
|
|
3
|
-
export { RESOLUTION_TARGET_REFS, RESOLVABLE_RESOLUTIONS, ALL_RESOLUTIONS, PAIRS_BY_REF, ALL_REF_UUID_ATTRIBUTES, TYPE_ID_REF_ATTRIBUTES, TYPE_ID_REFERRERS_BY_TARGET, TYPE_ID_TARGET_TAGS, } from './derived';
|
|
4
|
-
export {
|
|
3
|
+
export { RESOLUTION_TARGET_REFS, RESOLVABLE_RESOLUTIONS, ALL_RESOLUTIONS, PAIRS_BY_REF, MAPPED_NAME_REFS, ALL_REF_UUID_ATTRIBUTES, TYPE_ID_REF_ATTRIBUTES, TYPE_ID_REFERRERS_BY_TARGET, TYPE_ID_TARGET_TAGS, LOCKED_LNODE_ATTRIBUTES, } from './derived';
|
|
4
|
+
export { REF_CONTAINERS } from './orphan-rules';
|
|
5
5
|
export { PATH_EXTRACTION_CONFIG, PATH_CONTRIBUTING_ATTRIBUTES } from './path-extraction';
|
|
6
6
|
export type * from './types';
|
|
7
7
|
export type { ExtractionStrategy } from './path-extraction';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/reference/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAA;AACzD,OAAO,EACN,sBAAsB,EACtB,sBAAsB,EACtB,eAAe,EACf,YAAY,EACZ,uBAAuB,EACvB,sBAAsB,EACtB,2BAA2B,EAC3B,mBAAmB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/reference/constants/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAA;AACzD,OAAO,EACN,sBAAsB,EACtB,sBAAsB,EACtB,eAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,uBAAuB,EACvB,sBAAsB,EACtB,2BAA2B,EAC3B,mBAAmB,EACnB,uBAAuB,GACvB,MAAM,WAAW,CAAA;AAClB,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,EAAE,sBAAsB,EAAE,4BAA4B,EAAE,MAAM,mBAAmB,CAAA;AACxF,mBAAmB,SAAS,CAAA;AAC5B,YAAY,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAA"}
|
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
import { UUID_REFERENCE_PAIRS } from '../../../constants';
|
|
2
|
-
/**
|
|
3
|
-
* Ref tag names where the record is kept even when all uuid refs are orphaned.
|
|
4
|
-
* Only the uuid/path/companion attributes are cleared; non-ref attributes preserved.
|
|
5
|
-
*
|
|
6
|
-
* Rule: elements with semantic content beyond the ref pointer (e.g. service, sourceDoName)
|
|
7
|
-
* should be preserved with cleared pointers rather than deleted.
|
|
8
|
-
*/
|
|
9
|
-
export declare const KEEP_ON_ORPHAN_REFS: ReadonlySet<keyof typeof UUID_REFERENCE_PAIRS>;
|
|
10
2
|
/**
|
|
11
3
|
* Maps ref tag names to their container tag names that should be cleaned up
|
|
12
4
|
* when all children of that ref type are removed (inner->outer for nested cases).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orphan-rules.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/reference/constants/orphan-rules.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAE1D
|
|
1
|
+
{"version":3,"file":"orphan-rules.d.ts","sourceRoot":"","sources":["../../../../../src/v2019C1/extensions/reference/constants/orphan-rules.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAA;AAE1D;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,OAAO,oBAAoB,EAAE,SAAS,MAAM,EAAE,CAAC,CAMtF,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Scl, Config } from '../../../../config';
|
|
2
|
+
import type * as Core from '@dialecte/core';
|
|
3
|
+
/**
|
|
4
|
+
* Compute a `DOS`/`SDS`/`DAS` mapped-name value in its documentation form: the
|
|
5
|
+
* implementing short name, present only when it differs from the specified `name`,
|
|
6
|
+
* otherwise omitted.
|
|
7
|
+
*
|
|
8
|
+
* The implementing element is authored on the record itself
|
|
9
|
+
* (`mappedDoName`/`mappedDaName`), either already short or as a legacy full
|
|
10
|
+
* ObjectReference (`IED/LD/LN.Pos[.stVal]`) collapsed to its short segment(s):
|
|
11
|
+
* - DOS → the DO name; SDS → the SDO name: the last data segment.
|
|
12
|
+
* - DAS → the DA name: the last data segment when the parent DO is mapped, but
|
|
13
|
+
* `DO.DA` (the implementing DO carried along) when the parent DO is NOT mapped,
|
|
14
|
+
* so the DA's data object stays documented.
|
|
15
|
+
*
|
|
16
|
+
* The caller applies this only when the DOS/SDS/DAS itself is mapped by uuid; the
|
|
17
|
+
* fully-unmapped LNode case (a full IED ObjectReference) is left intact.
|
|
18
|
+
*
|
|
19
|
+
* @returns the short name to store, or `undefined` to omit (clear) the attribute.
|
|
20
|
+
*/
|
|
21
|
+
export declare function buildMappedName<GenericElement extends Scl.ElementsOf>(query: Core.Query<Config>, record: Scl.RawRecord<GenericElement>): Promise<string | undefined>;
|
|
22
|
+
//# sourceMappingURL=build-mapped-name.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-mapped-name.d.ts","sourceRoot":"","sources":["../../../../../../src/v2019C1/extensions/reference/query/build/build-mapped-name.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAA;AACnD,OAAO,KAAK,KAAK,IAAI,MAAM,gBAAgB,CAAA;AAE3C;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAsB,eAAe,CAAC,cAAc,SAAS,GAAG,CAAC,UAAU,EAC1E,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,EACzB,MAAM,EAAE,GAAG,CAAC,SAAS,CAAC,cAAc,CAAC,GACnC,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAa7B"}
|
|
@@ -12,7 +12,7 @@ import type * as Core from '@dialecte/core';
|
|
|
12
12
|
* (e.g. `VariableApplyTo.element` may be an XPath). The reverse direction
|
|
13
13
|
* (target -> path) is still buildable from the resolved target: we write a plain
|
|
14
14
|
* name-path, which is a coherent single-target form (a simple name-path is also a
|
|
15
|
-
* valid XPath) and keeps uuid + name references in agreement
|
|
15
|
+
* valid XPath) and keeps uuid + name references in agreement.
|
|
16
16
|
*
|
|
17
17
|
* @param query - Active document query
|
|
18
18
|
* @param params - reference (the REF element) + target (the element it points to)
|