@myrmidon/gve-core 6.0.2 → 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.2",
3
+ "version": "6.0.3",
4
4
  "description": "Cadmus - GVE Angular frontend core components.",
5
5
  "keywords": [
6
6
  "GVE"
@@ -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;
@@ -1039,10 +1049,10 @@ declare class FeatureSetEditorComponent implements OnInit, OnDestroy {
1039
1049
  /**
1040
1050
  * The features to edit.
1041
1051
  */
1042
- readonly features: _angular_core.ModelSignal<Feature[] | OperationFeature[]>;
1052
+ readonly features: _angular_core.ModelSignal<OperationFeature[] | Feature[]>;
1043
1053
  readonly editedFeature: _angular_core.WritableSignal<Feature | OperationFeature | undefined>;
1044
1054
  readonly editedFeatureIndex: _angular_core.WritableSignal<number>;
1045
- filteredFeatures: _angular_core.WritableSignal<Feature[] | OperationFeature[]>;
1055
+ filteredFeatures: _angular_core.WritableSignal<OperationFeature[] | Feature[]>;
1046
1056
  filter: FormControl<string | null>;
1047
1057
  constructor(formBuilder: FormBuilder);
1048
1058
  private applyFeatureFilter;
@@ -1080,7 +1090,7 @@ declare class FeatureSetViewComponent {
1080
1090
  /**
1081
1091
  * The features.
1082
1092
  */
1083
- readonly features: _angular_core.InputSignal<Feature[] | OperationFeature[]>;
1093
+ readonly features: _angular_core.InputSignal<OperationFeature[] | Feature[]>;
1084
1094
  /**
1085
1095
  * The list of feature names to display in the name selection.
1086
1096
  * This is used when you have a closed list of features.
@@ -1099,7 +1109,7 @@ declare class FeatureSetViewComponent {
1099
1109
  * is greater than the threshold. Default is 5.
1100
1110
  */
1101
1111
  readonly filterThreshold: _angular_core.InputSignal<number>;
1102
- readonly filteredFeatures: _angular_core.WritableSignal<Feature[] | OperationFeature[]>;
1112
+ readonly filteredFeatures: _angular_core.WritableSignal<OperationFeature[] | Feature[]>;
1103
1113
  filter: FormControl<string | null>;
1104
1114
  constructor(formBuilder: FormBuilder);
1105
1115
  private applyFeatureFilter;
@@ -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
  /**