@myrmidon/gve-core 6.0.1 → 6.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myrmidon/gve-core",
3
- "version": "6.0.1",
3
+ "version": "6.0.3",
4
4
  "description": "Cadmus - GVE Angular frontend core components.",
5
5
  "keywords": [
6
6
  "GVE"
@@ -21,7 +21,6 @@
21
21
  "@myrmidon/ngx-mat-tools": "^1.0.1",
22
22
  "@myrmidon/ngx-tools": "^2.0.2",
23
23
  "@myrmidon/gve-snapshot-rendition": "^0.0.5",
24
- "@svgdotjs/svg.js": "^3.2.5",
25
24
  "gsap": "^3.14.2",
26
25
  "monaco-editor": "^0.34.0",
27
26
  "nanoid": "^5.1.6"
@@ -731,7 +731,6 @@ declare class FeatureEditorComponent implements OnInit, OnDestroy {
731
731
  */
732
732
  readonly featureCancel: _angular_core.OutputEmitterRef<void>;
733
733
  readonly nameIds: _angular_core.WritableSignal<LabeledId[] | undefined>;
734
- readonly isMultiValued: _angular_core.WritableSignal<boolean>;
735
734
  name: FormControl<string>;
736
735
  value: FormControl<string>;
737
736
  selectedValue: FormControl<string>;
@@ -740,6 +739,17 @@ declare class FeatureEditorComponent implements OnInit, OnDestroy {
740
739
  isGlobal: FormControl<boolean>;
741
740
  isShortLived: FormControl<boolean>;
742
741
  form: FormGroup;
742
+ /**
743
+ * Signal that tracks the current name form control value.
744
+ * Uses toSignal to convert the form control's valueChanges observable
745
+ * to a signal for reactive change detection.
746
+ */
747
+ private readonly nameSignal;
748
+ /**
749
+ * Computed signal that determines if the current feature is multi-valued.
750
+ * Automatically updates when either the name or multiValuedFeatureIds changes.
751
+ */
752
+ readonly isMultiValued: _angular_core.Signal<boolean>;
743
753
  constructor(formBuilder: FormBuilder);
744
754
  ngOnInit(): void;
745
755
  ngOnDestroy(): void;
@@ -1217,6 +1227,12 @@ declare class SnapshotEditorComponent {
1217
1227
  * component.
1218
1228
  */
1219
1229
  readonly renditionSettings: _angular_core.InputSignal<GveRenditionSettings>;
1230
+ /**
1231
+ * Optional maximum height for the operations list. When set, the operations
1232
+ * list will have a vertical scrollbar if its content exceeds this height.
1233
+ * The value should be a valid CSS height value (e.g., '300px', '50vh').
1234
+ */
1235
+ readonly opListMaxHeight: _angular_core.InputSignal<string | undefined>;
1220
1236
  /**
1221
1237
  * Emitted when the user cancels the snapshot editing.
1222
1238
  */
@@ -1421,7 +1437,7 @@ declare class SnapshotEditorComponent {
1421
1437
  */
1422
1438
  save(): void;
1423
1439
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SnapshotEditorComponent, never>;
1424
- 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; }; }, { "snapshot": "snapshotChange"; "snapshotCancel": "snapshotCancel"; }, never, never, true, never>;
1440
+ 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>;
1425
1441
  }
1426
1442
 
1427
1443
  /**