@myrmidon/gve-core 6.0.3 → 6.0.4

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.0.3",
3
+ "version": "6.0.4",
4
4
  "description": "Cadmus - GVE Angular frontend core components.",
5
5
  "keywords": [
6
6
  "GVE"
@@ -20,7 +20,7 @@
20
20
  "@cisstech/nge": "^18.3.0",
21
21
  "@myrmidon/ngx-mat-tools": "^1.0.1",
22
22
  "@myrmidon/ngx-tools": "^2.0.2",
23
- "@myrmidon/gve-snapshot-rendition": "^0.0.5",
23
+ "@myrmidon/gve-snapshot-rendition": "^0.0.6",
24
24
  "gsap": "^3.14.2",
25
25
  "monaco-editor": "^0.34.0",
26
26
  "nanoid": "^5.1.6"
@@ -524,6 +524,12 @@ declare class GveApiService {
524
524
  * @returns Result wrapper.
525
525
  */
526
526
  getTags(operations: CharChainOperation[]): Observable<ResultWrapper<string[]>>;
527
+ /**
528
+ * Get the DSL representation of the given operations.
529
+ * @param operations The operations.
530
+ * @returns Result wrapper.
531
+ */
532
+ getDsl(operations: CharChainOperation[]): Observable<ResultWrapper<string[]>>;
527
533
  /**
528
534
  * Get the chain corresponding to the operations run on the
529
535
  * specified text. This is used for diagnostic or demonstration
@@ -904,7 +910,6 @@ declare class ChainOperationEditorComponent implements OnInit, OnDestroy {
904
910
  ngOnInit(): void;
905
911
  ngOnDestroy(): void;
906
912
  private toggleLfEscape;
907
- private hasTextChanges;
908
913
  onFeaturesChange(features: OperationFeature[]): void;
909
914
  onDpFeaturesChange(features: Feature[]): void;
910
915
  addSource(): void;
@@ -1049,10 +1054,10 @@ declare class FeatureSetEditorComponent implements OnInit, OnDestroy {
1049
1054
  /**
1050
1055
  * The features to edit.
1051
1056
  */
1052
- readonly features: _angular_core.ModelSignal<OperationFeature[] | Feature[]>;
1057
+ readonly features: _angular_core.ModelSignal<Feature[] | OperationFeature[]>;
1053
1058
  readonly editedFeature: _angular_core.WritableSignal<Feature | OperationFeature | undefined>;
1054
1059
  readonly editedFeatureIndex: _angular_core.WritableSignal<number>;
1055
- filteredFeatures: _angular_core.WritableSignal<OperationFeature[] | Feature[]>;
1060
+ filteredFeatures: _angular_core.WritableSignal<Feature[] | OperationFeature[]>;
1056
1061
  filter: FormControl<string | null>;
1057
1062
  constructor(formBuilder: FormBuilder);
1058
1063
  private applyFeatureFilter;
@@ -1090,7 +1095,7 @@ declare class FeatureSetViewComponent {
1090
1095
  /**
1091
1096
  * The features.
1092
1097
  */
1093
- readonly features: _angular_core.InputSignal<OperationFeature[] | Feature[]>;
1098
+ readonly features: _angular_core.InputSignal<Feature[] | OperationFeature[]>;
1094
1099
  /**
1095
1100
  * The list of feature names to display in the name selection.
1096
1101
  * This is used when you have a closed list of features.
@@ -1109,7 +1114,7 @@ declare class FeatureSetViewComponent {
1109
1114
  * is greater than the threshold. Default is 5.
1110
1115
  */
1111
1116
  readonly filterThreshold: _angular_core.InputSignal<number>;
1112
- readonly filteredFeatures: _angular_core.WritableSignal<OperationFeature[] | Feature[]>;
1117
+ readonly filteredFeatures: _angular_core.WritableSignal<Feature[] | OperationFeature[]>;
1113
1118
  filter: FormControl<string | null>;
1114
1119
  constructor(formBuilder: FormBuilder);
1115
1120
  private applyFeatureFilter;
@@ -1344,6 +1349,7 @@ declare class SnapshotEditorComponent {
1344
1349
  */
1345
1350
  moveOperationDown(index: number): void;
1346
1351
  copyOperationsJson(): void;
1352
+ copyOperationsDsl(): void;
1347
1353
  /**
1348
1354
  * Parse the operations from their text and append them to the current
1349
1355
  * snapshot operations.