@myrmidon/gve-core 7.0.15 → 7.0.17
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": "7.0.
|
|
3
|
+
"version": "7.0.17",
|
|
4
4
|
"description": "Cadmus - GVE Angular frontend core components.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"GVE"
|
|
@@ -17,12 +17,11 @@
|
|
|
17
17
|
"@angular/common": "^22.0.1",
|
|
18
18
|
"@angular/core": "^22.0.1",
|
|
19
19
|
"@angular/material": "^22.0.1",
|
|
20
|
-
"@cisstech/nge": "^18.3.0",
|
|
21
20
|
"@myrmidon/ngx-mat-tools": "^2.0.0",
|
|
22
21
|
"@myrmidon/ngx-tools": "^3.0.0",
|
|
23
|
-
"@myrmidon/gve-snapshot-rendition": "^2.0.
|
|
22
|
+
"@myrmidon/gve-snapshot-rendition": "^2.0.11",
|
|
24
23
|
"gsap": "^3.15.0",
|
|
25
|
-
"nanoid": "^
|
|
24
|
+
"nanoid": "^6.0.0"
|
|
26
25
|
},
|
|
27
26
|
"dependencies": {
|
|
28
27
|
"tslib": "^2.3.0"
|
|
@@ -938,6 +938,7 @@ interface FeatureDefinitions {
|
|
|
938
938
|
* as a whole.
|
|
939
939
|
*/
|
|
940
940
|
declare class ChainOperationEditorComponent implements OnInit, OnDestroy {
|
|
941
|
+
private _dialogService;
|
|
941
942
|
private readonly _subs;
|
|
942
943
|
private readonly _nanoid;
|
|
943
944
|
/**
|
|
@@ -981,6 +982,18 @@ declare class ChainOperationEditorComponent implements OnInit, OnDestroy {
|
|
|
981
982
|
* The list of source types when it's a closed set.
|
|
982
983
|
*/
|
|
983
984
|
readonly sourceTypes: _angular_core.InputSignal<LabeledId[] | undefined>;
|
|
985
|
+
/**
|
|
986
|
+
* The 1-based ordinal number of the edited operation among its siblings
|
|
987
|
+
* in the chain. Used to enable/disable the previous/next navigation
|
|
988
|
+
* buttons and to compute the requested ordinal when they are clicked.
|
|
989
|
+
*/
|
|
990
|
+
readonly operationOrdinal: _angular_core.InputSignal<number | undefined>;
|
|
991
|
+
/**
|
|
992
|
+
* The total number of operations in the chain the edited operation
|
|
993
|
+
* belongs to. Used together with `operationOrdinal` to enable/disable
|
|
994
|
+
* the previous/next navigation buttons.
|
|
995
|
+
*/
|
|
996
|
+
readonly operationCount: _angular_core.InputSignal<number | undefined>;
|
|
984
997
|
/**
|
|
985
998
|
* Emitted when the operation preview is requested.
|
|
986
999
|
*/
|
|
@@ -989,6 +1002,13 @@ declare class ChainOperationEditorComponent implements OnInit, OnDestroy {
|
|
|
989
1002
|
* Emitted when operation editing is cancelled.
|
|
990
1003
|
*/
|
|
991
1004
|
readonly operationCancel: _angular_core.OutputEmitterRef<void>;
|
|
1005
|
+
/**
|
|
1006
|
+
* Emitted when the user asks to edit another operation of the chain via
|
|
1007
|
+
* the previous/next navigation buttons. The parent component should
|
|
1008
|
+
* handle this by loading the operation at the requested 1-based ordinal
|
|
1009
|
+
* number into this editor.
|
|
1010
|
+
*/
|
|
1011
|
+
readonly operationOrdinalRequest: _angular_core.OutputEmitterRef<number>;
|
|
992
1012
|
readonly tabIndex: _angular_core.WritableSignal<number>;
|
|
993
1013
|
readonly id: _angular_core.WritableSignal<string | undefined>;
|
|
994
1014
|
readonly hasTo: _angular_core.WritableSignal<boolean>;
|
|
@@ -1025,7 +1045,7 @@ declare class ChainOperationEditorComponent implements OnInit, OnDestroy {
|
|
|
1025
1045
|
newTextHidden: FormControl<boolean>;
|
|
1026
1046
|
dpFeatures: FormControl<Feature[]>;
|
|
1027
1047
|
form: FormGroup;
|
|
1028
|
-
constructor(formBuilder: FormBuilder);
|
|
1048
|
+
constructor(formBuilder: FormBuilder, _dialogService: DialogService);
|
|
1029
1049
|
ngOnInit(): void;
|
|
1030
1050
|
ngOnDestroy(): void;
|
|
1031
1051
|
private toggleLfEscape;
|
|
@@ -1038,12 +1058,15 @@ declare class ChainOperationEditorComponent implements OnInit, OnDestroy {
|
|
|
1038
1058
|
private updateArgsUI;
|
|
1039
1059
|
private updateForm;
|
|
1040
1060
|
cancel(): void;
|
|
1061
|
+
private requestOperationOrdinal;
|
|
1062
|
+
editPreviousOperation(): void;
|
|
1063
|
+
editNextOperation(): void;
|
|
1041
1064
|
private getOperation;
|
|
1042
1065
|
deleteSource(index: number): void;
|
|
1043
1066
|
requestPreview(): void;
|
|
1044
1067
|
save(): void;
|
|
1045
1068
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ChainOperationEditorComponent, never>;
|
|
1046
|
-
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; }; "precedingText": { "alias": "precedingText"; "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; }; "peepholeWindowWidth": { "alias": "peepholeWindowWidth"; "required": false; "isSignal": true; }; }, { "operation": "operationChange"; "operationPreview": "operationPreview"; "operationCancel": "operationCancel"; }, never, never, true, never>;
|
|
1069
|
+
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; }; "precedingText": { "alias": "precedingText"; "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; }; "operationOrdinal": { "alias": "operationOrdinal"; "required": false; "isSignal": true; }; "operationCount": { "alias": "operationCount"; "required": false; "isSignal": true; }; "peepholeWindowWidth": { "alias": "peepholeWindowWidth"; "required": false; "isSignal": true; }; }, { "operation": "operationChange"; "operationPreview": "operationPreview"; "operationCancel": "operationCancel"; "operationOrdinalRequest": "operationOrdinalRequest"; }, never, never, true, never>;
|
|
1047
1070
|
}
|
|
1048
1071
|
|
|
1049
1072
|
/**
|
|
@@ -1456,6 +1479,7 @@ declare class SnapshotEditorComponent {
|
|
|
1456
1479
|
readonly batchRangeLabel: _angular_core.WritableSignal<string | undefined>;
|
|
1457
1480
|
readonly batchForSource: _angular_core.WritableSignal<boolean>;
|
|
1458
1481
|
readonly peepholeWindowWidth: _angular_core.WritableSignal<number>;
|
|
1482
|
+
private readonly _flatLookup;
|
|
1459
1483
|
constructor(formBuilder: FormBuilder, _api: GveApiService, _dialog: MatDialog, _dialogService: DialogService, _snackbar: MatSnackBar);
|
|
1460
1484
|
/**
|
|
1461
1485
|
* Initialize rendition settings and event listeners when the element becomes available.
|
|
@@ -1500,6 +1524,12 @@ declare class SnapshotEditorComponent {
|
|
|
1500
1524
|
* @param index The operation index.
|
|
1501
1525
|
*/
|
|
1502
1526
|
editOperation(index: number): void;
|
|
1527
|
+
/**
|
|
1528
|
+
* Build the tooltip text listing the human-friendly names of the given
|
|
1529
|
+
* operation's sources, space-separated.
|
|
1530
|
+
* @param sources The operation's sources.
|
|
1531
|
+
*/
|
|
1532
|
+
sourcesTooltip(sources: OperationSource[] | undefined): string;
|
|
1503
1533
|
/**
|
|
1504
1534
|
* Parse a range string into a sorted array of 1-based operation ordinal
|
|
1505
1535
|
* numbers. Accepts comma-separated segments where each segment is either
|