@myrmidon/gve-core 6.1.0 → 6.1.1

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.1.0",
3
+ "version": "6.1.1",
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.6",
23
+ "@myrmidon/gve-snapshot-rendition": "^0.0.7",
24
24
  "gsap": "^3.14.2",
25
25
  "monaco-editor": "^0.34.0",
26
26
  "nanoid": "^5.1.6"
@@ -705,7 +705,6 @@ interface FeatureMap {
705
705
  */
706
706
  declare class FeatureEditorComponent implements OnInit, OnDestroy {
707
707
  private _sub?;
708
- private _frozen?;
709
708
  readonly nameControl: _angular_core.Signal<ElementRef<any> | undefined>;
710
709
  /**
711
710
  * The list of feature names to display in the name selection.
@@ -736,7 +735,18 @@ declare class FeatureEditorComponent implements OnInit, OnDestroy {
736
735
  * Event emitted when the user cancels the feature editing.
737
736
  */
738
737
  readonly featureCancel: _angular_core.OutputEmitterRef<void>;
738
+ /**
739
+ * The allowed value IDs for the currently selected feature name.
740
+ * Set synchronously in updateForm (on feature load) and in the
741
+ * name.valueChanges subscription (on user interaction).
742
+ */
739
743
  readonly nameIds: _angular_core.WritableSignal<LabeledId[] | undefined>;
744
+ /**
745
+ * Tracks the current feature name. Updated synchronously in updateForm
746
+ * and in the name.valueChanges subscription so that isMultiValued stays
747
+ * in sync regardless of whether the change was programmatic or user-driven.
748
+ */
749
+ private readonly _currentName;
740
750
  name: FormControl<string>;
741
751
  value: FormControl<string>;
742
752
  selectedValue: FormControl<string>;
@@ -745,15 +755,10 @@ declare class FeatureEditorComponent implements OnInit, OnDestroy {
745
755
  isGlobal: FormControl<boolean>;
746
756
  isShortLived: FormControl<boolean>;
747
757
  form: FormGroup;
748
- /**
749
- * Signal that tracks the current name form control value.
750
- * Uses toSignal to convert the form control's valueChanges observable
751
- * to a signal for reactive change detection.
752
- */
753
- private readonly nameSignal;
754
758
  /**
755
759
  * Computed signal that determines if the current feature is multi-valued.
756
- * Automatically updates when either the name or multiValuedFeatureIds changes.
760
+ * Automatically updates when either _currentName or multiValuedFeatureIds
761
+ * changes.
757
762
  */
758
763
  readonly isMultiValued: _angular_core.Signal<boolean>;
759
764
  constructor(formBuilder: FormBuilder);