@myrmidon/gve-core 0.0.1 → 0.0.3
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/esm2022/lib/components/chain-operation-editor/chain-operation-editor.component.mjs +3 -3
- package/esm2022/lib/components/snapshot-editor/snapshot-editor.component.mjs +28 -13
- package/fesm2022/myrmidon-gve-core.mjs +28 -14
- package/fesm2022/myrmidon-gve-core.mjs.map +1 -1
- package/lib/components/feature-editor/feature-editor.component.d.ts +1 -1
- package/lib/components/snapshot-editor/snapshot-editor.component.d.ts +7 -1
- package/package.json +1 -1
|
@@ -51,7 +51,7 @@ export declare class FeatureEditorComponent implements OnInit, OnDestroy {
|
|
|
51
51
|
/**
|
|
52
52
|
* Event emitted when the user saves the edited feature.
|
|
53
53
|
*/
|
|
54
|
-
featureChange: EventEmitter<
|
|
54
|
+
featureChange: EventEmitter<Feature | OperationFeature>;
|
|
55
55
|
name: FormControl<string>;
|
|
56
56
|
value: FormControl<string>;
|
|
57
57
|
setPolicy: FormControl<FeatureSetPolicy>;
|
|
@@ -13,8 +13,10 @@ export declare class SnapshotEditorComponent implements OnInit {
|
|
|
13
13
|
private _api;
|
|
14
14
|
private _dialogService;
|
|
15
15
|
private _snackbar;
|
|
16
|
+
private readonly _nanoid;
|
|
16
17
|
private _snapshot?;
|
|
17
18
|
private _renderer?;
|
|
19
|
+
private _previewing?;
|
|
18
20
|
/**
|
|
19
21
|
* The snapshot to edit.
|
|
20
22
|
*/
|
|
@@ -24,6 +26,10 @@ export declare class SnapshotEditorComponent implements OnInit {
|
|
|
24
26
|
* The batch operations text to set for the editor.
|
|
25
27
|
*/
|
|
26
28
|
batchOps?: string;
|
|
29
|
+
/**
|
|
30
|
+
* True to disable saving.
|
|
31
|
+
*/
|
|
32
|
+
noSave?: boolean;
|
|
27
33
|
/**
|
|
28
34
|
* Emitted when the user saves the edited snapshot.
|
|
29
35
|
*/
|
|
@@ -101,5 +107,5 @@ export declare class SnapshotEditorComponent implements OnInit {
|
|
|
101
107
|
private getSnapshot;
|
|
102
108
|
save(): void;
|
|
103
109
|
static ɵfac: i0.ɵɵFactoryDeclaration<SnapshotEditorComponent, never>;
|
|
104
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SnapshotEditorComponent, "gve-snapshot-editor", never, { "snapshot": { "alias": "snapshot"; "required": false; }; "batchOps": { "alias": "batchOps"; "required": false; }; }, { "snapshotChange": "snapshotChange"; "snapshotCancel": "snapshotCancel"; }, never, never, true, never>;
|
|
110
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SnapshotEditorComponent, "gve-snapshot-editor", never, { "snapshot": { "alias": "snapshot"; "required": false; }; "batchOps": { "alias": "batchOps"; "required": false; }; "noSave": { "alias": "noSave"; "required": false; }; }, { "snapshotChange": "snapshotChange"; "snapshotCancel": "snapshotCancel"; }, never, never, true, never>;
|
|
105
111
|
}
|