@myrmidon/gve-core 6.1.4 → 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.
|
|
3
|
+
"version": "6.1.6",
|
|
4
4
|
"description": "Cadmus - GVE Angular frontend core components.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"GVE"
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
"name": "Daniele Fusi"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"@angular/common": "^21.2.
|
|
18
|
-
"@angular/core": "^21.2.
|
|
19
|
-
"@angular/material": "^21.2.
|
|
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
|
-
"@myrmidon/gve-snapshot-rendition": "^0.0.
|
|
24
|
-
"gsap": "^3.
|
|
25
|
-
"monaco-editor": "^0.34.
|
|
23
|
+
"@myrmidon/gve-snapshot-rendition": "^0.0.8",
|
|
24
|
+
"gsap": "^3.15.0",
|
|
25
|
+
"monaco-editor": "^0.34.1",
|
|
26
26
|
"nanoid": "^5.1.7"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
@@ -39,5 +39,6 @@
|
|
|
39
39
|
"types": "./types/myrmidon-gve-core.d.ts",
|
|
40
40
|
"default": "./fesm2022/myrmidon-gve-core.mjs"
|
|
41
41
|
}
|
|
42
|
-
}
|
|
42
|
+
},
|
|
43
|
+
"type": "module"
|
|
43
44
|
}
|
|
@@ -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
|
/**
|
|
@@ -1222,6 +1236,12 @@ declare class SnapshotEditorComponent {
|
|
|
1222
1236
|
* the element only exists when result() is truthy.
|
|
1223
1237
|
*/
|
|
1224
1238
|
readonly renditionRef: _angular_core.Signal<ElementRef<GveSnapshotRendition> | undefined>;
|
|
1239
|
+
/**
|
|
1240
|
+
* Reference to the operation editor expansion panel.
|
|
1241
|
+
* Using viewChild signal to handle conditionally rendered element -
|
|
1242
|
+
* the element only exists when editedOp() is truthy.
|
|
1243
|
+
*/
|
|
1244
|
+
readonly operationEditorPanelRef: _angular_core.Signal<ElementRef<any> | undefined>;
|
|
1225
1245
|
/**
|
|
1226
1246
|
* The snapshot to edit.
|
|
1227
1247
|
*/
|
|
@@ -1253,6 +1273,18 @@ declare class SnapshotEditorComponent {
|
|
|
1253
1273
|
* values to it. Passed down to feature editors.
|
|
1254
1274
|
*/
|
|
1255
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>;
|
|
1256
1288
|
/**
|
|
1257
1289
|
* Settings for rendering the snapshot. These are passed to the snapshot rendition
|
|
1258
1290
|
* component.
|
|
@@ -1469,7 +1501,7 @@ declare class SnapshotEditorComponent {
|
|
|
1469
1501
|
*/
|
|
1470
1502
|
save(): void;
|
|
1471
1503
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SnapshotEditorComponent, never>;
|
|
1472
|
-
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>;
|
|
1473
1505
|
}
|
|
1474
1506
|
|
|
1475
1507
|
/**
|
|
@@ -1497,6 +1529,7 @@ declare class SnapshotTextEditorComponent implements OnInit {
|
|
|
1497
1529
|
ngOnInit(): void;
|
|
1498
1530
|
close(): void;
|
|
1499
1531
|
copyToClipboard(): void;
|
|
1532
|
+
private trimLines;
|
|
1500
1533
|
save(): void;
|
|
1501
1534
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SnapshotTextEditorComponent, [null, null, { optional: true; }, { optional: true; }]>;
|
|
1502
1535
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SnapshotTextEditorComponent, "gve-snapshot-text-editor", never, { "text": { "alias": "text"; "required": false; "isSignal": true; }; }, { "text": "textChange"; }, never, never, true, never>;
|