@myrmidon/gve-core 6.1.5 → 6.1.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myrmidon/gve-core",
3
- "version": "6.1.5",
3
+ "version": "6.1.6",
4
4
  "description": "Cadmus - GVE Angular frontend core components.",
5
5
  "keywords": [
6
6
  "GVE"
@@ -14,14 +14,14 @@
14
14
  "name": "Daniele Fusi"
15
15
  },
16
16
  "peerDependencies": {
17
- "@angular/common": "^21.2.7",
18
- "@angular/core": "^21.2.7",
19
- "@angular/material": "^21.2.5",
17
+ "@angular/common": "^21.2.9",
18
+ "@angular/core": "^21.2.9",
19
+ "@angular/material": "^21.2.6",
20
20
  "@cisstech/nge": "^18.3.0",
21
21
  "@myrmidon/ngx-mat-tools": "^1.0.2",
22
22
  "@myrmidon/ngx-tools": "^2.0.2",
23
23
  "@myrmidon/gve-snapshot-rendition": "^0.0.8",
24
- "gsap": "^3.14.2",
24
+ "gsap": "^3.15.0",
25
25
  "monaco-editor": "^0.34.1",
26
26
  "nanoid": "^5.1.7"
27
27
  },
@@ -818,6 +818,12 @@ interface FeatureDefinitions {
818
818
  * - ▶️ `operation` (`CharChainOperation`): the operation to edit.
819
819
  * - ▶️ `snapshot` (`Snapshot`): the snapshot the operation refers to.
820
820
  * - ▶️ `hidePreview` (`boolean`): whether to hide the preview request button.
821
+ * - ▶️ `sourceIds` (`LabeledId[]`): the list of source IDs, when using a closed list.
822
+ * - ▶️ `sourceTypes` (`LabeledId[]`): the list of source types, when using a closed list.
823
+ * - ▶️ `featureDefs` (`FeatureDefinitions`): definitions for features, including
824
+ * names and values.
825
+ * - ▶️ `rangePatch` (`BaseTextRange`): when set, the edited operation's text
826
+ * range (at and run) will be patched with the provided one.
821
827
  * - 🔥 `operationChange` (`CharChainOperation`): emitted when the operation
822
828
  * is changed.
823
829
  * - 🔥 `operationPreview` (`CharChainOperation`): emitted when the operation
@@ -892,6 +898,14 @@ declare class ChainOperationEditorComponent implements OnInit, OnDestroy {
892
898
  * values to it. Passed down to feature editors.
893
899
  */
894
900
  readonly multiValuedFeatureIds: _angular_core.InputSignal<string[] | undefined>;
901
+ /**
902
+ * The list of source IDs when it's a closed set.
903
+ */
904
+ readonly sourceIds: _angular_core.InputSignal<LabeledId[] | undefined>;
905
+ /**
906
+ * The list of source types when it's a closed set.
907
+ */
908
+ readonly sourceTypes: _angular_core.InputSignal<LabeledId[] | undefined>;
895
909
  /**
896
910
  * Emitted when the operation is changed.
897
911
  */
@@ -949,7 +963,7 @@ declare class ChainOperationEditorComponent implements OnInit, OnDestroy {
949
963
  requestPreview(): void;
950
964
  save(): void;
951
965
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChainOperationEditorComponent, never>;
952
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChainOperationEditorComponent, "gve-chain-operation-editor", never, { "operation": { "alias": "operation"; "required": false; "isSignal": true; }; "snapshot": { "alias": "snapshot"; "required": false; "isSignal": true; }; "hidePreview": { "alias": "hidePreview"; "required": false; "isSignal": true; }; "featureDefs": { "alias": "featureDefs"; "required": false; "isSignal": true; }; "rangePatch": { "alias": "rangePatch"; "required": false; "isSignal": true; }; "multiValuedFeatureIds": { "alias": "multiValuedFeatureIds"; "required": false; "isSignal": true; }; }, { "operation": "operationChange"; "operationChange": "operationChange"; "operationPreview": "operationPreview"; "operationCancel": "operationCancel"; }, never, never, true, never>;
966
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ChainOperationEditorComponent, "gve-chain-operation-editor", never, { "operation": { "alias": "operation"; "required": false; "isSignal": true; }; "snapshot": { "alias": "snapshot"; "required": false; "isSignal": true; }; "hidePreview": { "alias": "hidePreview"; "required": false; "isSignal": true; }; "featureDefs": { "alias": "featureDefs"; "required": false; "isSignal": true; }; "rangePatch": { "alias": "rangePatch"; "required": false; "isSignal": true; }; "multiValuedFeatureIds": { "alias": "multiValuedFeatureIds"; "required": false; "isSignal": true; }; "sourceIds": { "alias": "sourceIds"; "required": false; "isSignal": true; }; "sourceTypes": { "alias": "sourceTypes"; "required": false; "isSignal": true; }; }, { "operation": "operationChange"; "operationChange": "operationChange"; "operationPreview": "operationPreview"; "operationCancel": "operationCancel"; }, never, never, true, never>;
953
967
  }
954
968
 
955
969
  /**
@@ -1259,6 +1273,18 @@ declare class SnapshotEditorComponent {
1259
1273
  * values to it. Passed down to feature editors.
1260
1274
  */
1261
1275
  readonly multiValuedFeatureIds: _angular_core.InputSignal<string[] | undefined>;
1276
+ /**
1277
+ * The list of source IDs when it's a closed set. Passed down to the operation
1278
+ * source editor, which will show a dropdown to select from these IDs. When not
1279
+ * specified, the source ID can be freely typed in the source editor.
1280
+ */
1281
+ readonly sourceIds: _angular_core.InputSignal<LabeledId[] | undefined>;
1282
+ /**
1283
+ * The list of source types when it's a closed set. Passed down to the operation
1284
+ * source editor, which will show a dropdown to select from these types. When not
1285
+ * specified, the source type can be freely typed in the source editor.
1286
+ */
1287
+ readonly sourceTypes: _angular_core.InputSignal<LabeledId[] | undefined>;
1262
1288
  /**
1263
1289
  * Settings for rendering the snapshot. These are passed to the snapshot rendition
1264
1290
  * component.
@@ -1475,7 +1501,7 @@ declare class SnapshotEditorComponent {
1475
1501
  */
1476
1502
  save(): void;
1477
1503
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SnapshotEditorComponent, never>;
1478
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<SnapshotEditorComponent, "gve-snapshot-editor", never, { "snapshot": { "alias": "snapshot"; "required": false; "isSignal": true; }; "batchOps": { "alias": "batchOps"; "required": false; "isSignal": true; }; "noSave": { "alias": "noSave"; "required": false; "isSignal": true; }; "debug": { "alias": "debug"; "required": false; "isSignal": true; }; "noDecoration": { "alias": "noDecoration"; "required": false; "isSignal": true; }; "featureDefs": { "alias": "featureDefs"; "required": false; "isSignal": true; }; "multiValuedFeatureIds": { "alias": "multiValuedFeatureIds"; "required": false; "isSignal": true; }; "renditionSettings": { "alias": "renditionSettings"; "required": false; "isSignal": true; }; "opListMaxHeight": { "alias": "opListMaxHeight"; "required": false; "isSignal": true; }; }, { "snapshot": "snapshotChange"; "snapshotCancel": "snapshotCancel"; }, never, never, true, never>;
1504
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SnapshotEditorComponent, "gve-snapshot-editor", never, { "snapshot": { "alias": "snapshot"; "required": false; "isSignal": true; }; "batchOps": { "alias": "batchOps"; "required": false; "isSignal": true; }; "noSave": { "alias": "noSave"; "required": false; "isSignal": true; }; "debug": { "alias": "debug"; "required": false; "isSignal": true; }; "noDecoration": { "alias": "noDecoration"; "required": false; "isSignal": true; }; "featureDefs": { "alias": "featureDefs"; "required": false; "isSignal": true; }; "multiValuedFeatureIds": { "alias": "multiValuedFeatureIds"; "required": false; "isSignal": true; }; "sourceIds": { "alias": "sourceIds"; "required": false; "isSignal": true; }; "sourceTypes": { "alias": "sourceTypes"; "required": false; "isSignal": true; }; "renditionSettings": { "alias": "renditionSettings"; "required": false; "isSignal": true; }; "opListMaxHeight": { "alias": "opListMaxHeight"; "required": false; "isSignal": true; }; }, { "snapshot": "snapshotChange"; "snapshotCancel": "snapshotCancel"; }, never, never, true, never>;
1479
1505
  }
1480
1506
 
1481
1507
  /**