@futdevpro/fsm-dynamo 1.20.167 → 1.20.168

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.
@@ -0,0 +1,30 @@
1
+ import { DyFM_Field_Type } from '../../../_enums/field-type.enum';
2
+ import { DyFM_FieldNew_Settings } from './field-new-settings.control-model';
3
+ import { DyFM_FieldNew_Settings_AnyType } from './field-new-types';
4
+ /**
5
+ * Forms v2 — field adder settings (BFR-MYASSISTANT-025 S4.1 30th slice, the legacy `DyFM_Field_Type.fieldAdder`).
6
+ *
7
+ * A chooser of OPTIONAL fields: the user picks one of `addableFields` and adds it to the form (it renders after the
8
+ * adder, with a remove button); an added field is a normal field of the form (its key in the value). The adder itself
9
+ * is NOT a value field (like the spacer): its own `key` is only the testid + track key.
10
+ *
11
+ * Measured legacy shape: the legacy adder listed `DyNX_Field_Params` objects as `selectOptionsFromCustomObj.objList`
12
+ * (dynamo-builder `bc-html-builder`: fxFlex / fxLayout …), and the form-level `loadExistingAddables` added the ones
13
+ * whose key already had a value in the form data.
14
+ */
15
+ export declare class DyFM_FieldAdderFieldNew_Settings_ControlModel extends DyFM_FieldNew_Settings<null> {
16
+ readonly type: DyFM_Field_Type.fieldAdder;
17
+ /** The fields the user can add, in the order of the chooser (each with its own key and type). */
18
+ addableFields: DyFM_FieldNew_Settings_AnyType[];
19
+ /**
20
+ * The legacy form-level `loadExistingAddables`: when the form gets its data, the addable fields whose key has a
21
+ * value there are added at once (an edited record shows its optional fields). `declare`: unset = no own key (not
22
+ * loaded, the legacy default).
23
+ */
24
+ isExistingLoaded?: boolean;
25
+ /** Initializes the adder; an explicit `type` in the input set is ignored (the discriminator stays fieldAdder). */
26
+ constructor(set: Partial<DyFM_FieldAdderFieldNew_Settings_ControlModel>);
27
+ }
28
+ /** @deprecated Use DyFM_FieldAdderFieldNew_Settings_ControlModel. Same constructor; no API removal. */
29
+ export { DyFM_FieldAdderFieldNew_Settings_ControlModel as DyFM_FieldAdderFieldNew_Settings };
30
+ //# sourceMappingURL=field-adder-field-new-settings.control-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"field-adder-field-new-settings.control-model.d.ts","sourceRoot":"","sources":["../../../../../../src/_modules/ngx-models/_models/control-models/forms-new/field-adder-field-new-settings.control-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAE,8BAA8B,EAAE,MAAM,mBAAmB,CAAC;AAEnE;;;;;;;;;;GAUG;AACH,qBAAa,6CAA8C,SAAQ,sBAAsB,CAAC,IAAI,CAAC;IAM7F,SAAkB,IAAI,EAAE,eAAe,CAAC,UAAU,CAA8B;IAEhF,iGAAiG;IACjG,aAAa,EAAE,8BAA8B,EAAE,CAAM;IAErD;;;;OAIG;IACK,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAEnC,kHAAkH;gBACtG,GAAG,EAAE,OAAO,CAAC,6CAA6C,CAAC;CAQxE;AAED,uGAAuG;AACvG,OAAO,EAAE,6CAA6C,IAAI,gCAAgC,EAAE,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DyFM_FieldAdderFieldNew_Settings = exports.DyFM_FieldAdderFieldNew_Settings_ControlModel = void 0;
4
+ const field_type_enum_1 = require("../../../_enums/field-type.enum");
5
+ const field_new_settings_control_model_1 = require("./field-new-settings.control-model");
6
+ /**
7
+ * Forms v2 — field adder settings (BFR-MYASSISTANT-025 S4.1 30th slice, the legacy `DyFM_Field_Type.fieldAdder`).
8
+ *
9
+ * A chooser of OPTIONAL fields: the user picks one of `addableFields` and adds it to the form (it renders after the
10
+ * adder, with a remove button); an added field is a normal field of the form (its key in the value). The adder itself
11
+ * is NOT a value field (like the spacer): its own `key` is only the testid + track key.
12
+ *
13
+ * Measured legacy shape: the legacy adder listed `DyNX_Field_Params` objects as `selectOptionsFromCustomObj.objList`
14
+ * (dynamo-builder `bc-html-builder`: fxFlex / fxLayout …), and the form-level `loadExistingAddables` added the ones
15
+ * whose key already had a value in the form data.
16
+ */
17
+ class DyFM_FieldAdderFieldNew_Settings_ControlModel extends field_new_settings_control_model_1.DyFM_FieldNew_Settings {
18
+ // Preserve constructor metadata for consumers of the legacy alias.
19
+ static {
20
+ Object.defineProperty(this, 'name', { value: 'DyFM_FieldAdderFieldNew_Settings' });
21
+ }
22
+ type = field_type_enum_1.DyFM_Field_Type.fieldAdder;
23
+ /** The fields the user can add, in the order of the chooser (each with its own key and type). */
24
+ addableFields = [];
25
+ /** Initializes the adder; an explicit `type` in the input set is ignored (the discriminator stays fieldAdder). */
26
+ constructor(set) {
27
+ super(set);
28
+ const { type: _ignoredType, ...rest } = set;
29
+ void _ignoredType;
30
+ Object.assign(this, rest);
31
+ }
32
+ }
33
+ exports.DyFM_FieldAdderFieldNew_Settings_ControlModel = DyFM_FieldAdderFieldNew_Settings_ControlModel;
34
+ exports.DyFM_FieldAdderFieldNew_Settings = DyFM_FieldAdderFieldNew_Settings_ControlModel;
35
+ //# sourceMappingURL=field-adder-field-new-settings.control-model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"field-adder-field-new-settings.control-model.js","sourceRoot":"","sources":["../../../../../../src/_modules/ngx-models/_models/control-models/forms-new/field-adder-field-new-settings.control-model.ts"],"names":[],"mappings":";;;AAAA,qEAAkE;AAClE,yFAA4E;AAG5E;;;;;;;;;;GAUG;AACH,MAAa,6CAA8C,SAAQ,yDAA4B;IAC7F,mEAAmE;IACnE;QACE,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,kCAAkC,EAAE,CAAC,CAAC;IACrF,CAAC;IAEiB,IAAI,GAA+B,iCAAe,CAAC,UAAU,CAAC;IAEhF,iGAAiG;IACjG,aAAa,GAAqC,EAAE,CAAC;IASrD,kHAAkH;IAClH,YAAY,GAA2D;QACrE,KAAK,CAAC,GAAG,CAAC,CAAC;QACX,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,IAAI,EAAE,GAA2D,GAAG,CAAC;QAEpG,KAAK,YAAY,CAAC;QAElB,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;CACF;AA3BD,sGA2BC;AAGyD,yFAAgC"}
@@ -20,6 +20,7 @@ import { DyFM_TextListFieldNew_Settings } from './text-list-field-new-settings.c
20
20
  import { DyFM_FileFieldNew_Settings } from './file-field-new-settings.control-model';
21
21
  import { DyFM_PictureFieldNew_Settings } from './picture-field-new-settings.control-model';
22
22
  import { DyFM_NumberRangeFieldNew_Settings } from './number-range-field-new-settings.control-model';
23
+ import { DyFM_FieldAdderFieldNew_Settings } from './field-adder-field-new-settings.control-model';
23
24
  /**
24
25
  * Forms v2 — Settings-szintű discriminated union.
25
26
  *
@@ -33,8 +34,9 @@ import { DyFM_NumberRangeFieldNew_Settings } from './number-range-field-new-sett
33
34
  * BFR-MYASSISTANT-025 S4.1 (11th slice): file (one file, read as `fileReturnAs` says).
34
35
  * BFR-MYASSISTANT-025 S4.1 (18th slice): picture (one image, shown; unset `fileReturnAs` = a data URL).
35
36
  * BFR-MYASSISTANT-025 S4.1 (22nd slice): numberRange (two numbers, the legacy `DyFM_RangeValue`).
37
+ * BFR-MYASSISTANT-025 S4.1 (30th slice): fieldAdder (a chooser of optional fields; not a value field).
36
38
  *
37
39
  * @see _specifications/forms-v2/02-architecture-spec.md (11. mátrix)
38
40
  */
39
- export type DyFM_FieldNew_Settings_AnyType = DyFM_TextFieldNew_Settings | DyFM_TextAreaFieldNew_Settings | DyFM_NumberFieldNew_Settings | DyFM_PasswordFieldNew_Settings | DyFM_SliderFieldNew_Settings | DyFM_SliderRangeFieldNew_Settings | DyFM_CheckboxFieldNew_Settings | DyFM_ColorPickerFieldNew_Settings | DyFM_EmojiPickerFieldNew_Settings | DyFM_IconPickerFieldNew_Settings | DyFM_SelectFieldNew_Settings<unknown> | DyFM_MultiselectFieldNew_Settings<unknown> | DyFM_RadioSelectFieldNew_Settings<unknown> | DyFM_DateFieldNew_Settings | DyFM_DateTimeFieldNew_Settings | DyFM_DateRangeFieldNew_Settings | DyFM_DateTimeRangeFieldNew_Settings | DyFM_SpacerFieldNew_Settings | DyFM_TextListFieldNew_Settings | DyFM_FileFieldNew_Settings | DyFM_PictureFieldNew_Settings | DyFM_NumberRangeFieldNew_Settings;
41
+ export type DyFM_FieldNew_Settings_AnyType = DyFM_TextFieldNew_Settings | DyFM_TextAreaFieldNew_Settings | DyFM_NumberFieldNew_Settings | DyFM_PasswordFieldNew_Settings | DyFM_SliderFieldNew_Settings | DyFM_SliderRangeFieldNew_Settings | DyFM_CheckboxFieldNew_Settings | DyFM_ColorPickerFieldNew_Settings | DyFM_EmojiPickerFieldNew_Settings | DyFM_IconPickerFieldNew_Settings | DyFM_SelectFieldNew_Settings<unknown> | DyFM_MultiselectFieldNew_Settings<unknown> | DyFM_RadioSelectFieldNew_Settings<unknown> | DyFM_DateFieldNew_Settings | DyFM_DateTimeFieldNew_Settings | DyFM_DateRangeFieldNew_Settings | DyFM_DateTimeRangeFieldNew_Settings | DyFM_SpacerFieldNew_Settings | DyFM_TextListFieldNew_Settings | DyFM_FileFieldNew_Settings | DyFM_PictureFieldNew_Settings | DyFM_NumberRangeFieldNew_Settings | DyFM_FieldAdderFieldNew_Settings;
40
42
  //# sourceMappingURL=field-new-types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"field-new-types.d.ts","sourceRoot":"","sources":["../../../../../../src/_modules/ngx-models/_models/control-models/forms-new/field-new-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,6CAA6C,CAAC;AAC7F,OAAO,EAAE,iCAAiC,EAAE,MAAM,iDAAiD,CAAC;AACpG,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AACrF,OAAO,EAAE,+BAA+B,EAAE,MAAM,+CAA+C,CAAC;AAChG,OAAO,EAAE,8BAA8B,EAAE,MAAM,6CAA6C,CAAC;AAC7F,OAAO,EAAE,mCAAmC,EAAE,MAAM,mDAAmD,CAAC;AACxG,OAAO,EAAE,iCAAiC,EAAE,MAAM,iDAAiD,CAAC;AACpG,OAAO,EAAE,gCAAgC,EAAE,MAAM,gDAAgD,CAAC;AAClG,OAAO,EAAE,iCAAiC,EAAE,MAAM,gDAAgD,CAAC;AACnG,OAAO,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAC;AACzF,OAAO,EAAE,8BAA8B,EAAE,MAAM,6CAA6C,CAAC;AAC7F,OAAO,EAAE,iCAAiC,EAAE,MAAM,iDAAiD,CAAC;AACpG,OAAO,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAC;AACzF,OAAO,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAC;AACzF,OAAO,EAAE,iCAAiC,EAAE,MAAM,iDAAiD,CAAC;AACpG,OAAO,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAC;AACzF,OAAO,EAAE,8BAA8B,EAAE,MAAM,6CAA6C,CAAC;AAC7F,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AACrF,OAAO,EAAE,8BAA8B,EAAE,MAAM,8CAA8C,CAAC;AAC9F,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AACrF,OAAO,EAAE,6BAA6B,EAAE,MAAM,4CAA4C,CAAC;AAC3F,OAAO,EAAE,iCAAiC,EAAE,MAAM,iDAAiD,CAAC;AAEpG;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,8BAA8B,GACtC,0BAA0B,GAC1B,8BAA8B,GAC9B,4BAA4B,GAC5B,8BAA8B,GAC9B,4BAA4B,GAC5B,iCAAiC,GACjC,8BAA8B,GAC9B,iCAAiC,GACjC,iCAAiC,GACjC,gCAAgC,GAChC,4BAA4B,CAAC,OAAO,CAAC,GACrC,iCAAiC,CAAC,OAAO,CAAC,GAC1C,iCAAiC,CAAC,OAAO,CAAC,GAC1C,0BAA0B,GAC1B,8BAA8B,GAC9B,+BAA+B,GAC/B,mCAAmC,GACnC,4BAA4B,GAC5B,8BAA8B,GAC9B,0BAA0B,GAC1B,6BAA6B,GAC7B,iCAAiC,CAAC"}
1
+ {"version":3,"file":"field-new-types.d.ts","sourceRoot":"","sources":["../../../../../../src/_modules/ngx-models/_models/control-models/forms-new/field-new-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,6CAA6C,CAAC;AAC7F,OAAO,EAAE,iCAAiC,EAAE,MAAM,iDAAiD,CAAC;AACpG,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AACrF,OAAO,EAAE,+BAA+B,EAAE,MAAM,+CAA+C,CAAC;AAChG,OAAO,EAAE,8BAA8B,EAAE,MAAM,6CAA6C,CAAC;AAC7F,OAAO,EAAE,mCAAmC,EAAE,MAAM,mDAAmD,CAAC;AACxG,OAAO,EAAE,iCAAiC,EAAE,MAAM,iDAAiD,CAAC;AACpG,OAAO,EAAE,gCAAgC,EAAE,MAAM,gDAAgD,CAAC;AAClG,OAAO,EAAE,iCAAiC,EAAE,MAAM,gDAAgD,CAAC;AACnG,OAAO,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAC;AACzF,OAAO,EAAE,8BAA8B,EAAE,MAAM,6CAA6C,CAAC;AAC7F,OAAO,EAAE,iCAAiC,EAAE,MAAM,iDAAiD,CAAC;AACpG,OAAO,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAC;AACzF,OAAO,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAC;AACzF,OAAO,EAAE,iCAAiC,EAAE,MAAM,iDAAiD,CAAC;AACpG,OAAO,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAC;AACzF,OAAO,EAAE,8BAA8B,EAAE,MAAM,6CAA6C,CAAC;AAC7F,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AACrF,OAAO,EAAE,8BAA8B,EAAE,MAAM,8CAA8C,CAAC;AAC9F,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AACrF,OAAO,EAAE,6BAA6B,EAAE,MAAM,4CAA4C,CAAC;AAC3F,OAAO,EAAE,iCAAiC,EAAE,MAAM,iDAAiD,CAAC;AACpG,OAAO,EAAE,gCAAgC,EAAE,MAAM,gDAAgD,CAAC;AAElG;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,MAAM,8BAA8B,GACtC,0BAA0B,GAC1B,8BAA8B,GAC9B,4BAA4B,GAC5B,8BAA8B,GAC9B,4BAA4B,GAC5B,iCAAiC,GACjC,8BAA8B,GAC9B,iCAAiC,GACjC,iCAAiC,GACjC,gCAAgC,GAChC,4BAA4B,CAAC,OAAO,CAAC,GACrC,iCAAiC,CAAC,OAAO,CAAC,GAC1C,iCAAiC,CAAC,OAAO,CAAC,GAC1C,0BAA0B,GAC1B,8BAA8B,GAC9B,+BAA+B,GAC/B,mCAAmC,GACnC,4BAA4B,GAC5B,8BAA8B,GAC9B,0BAA0B,GAC1B,6BAA6B,GAC7B,iCAAiC,GACjC,gCAAgC,CAAC"}
@@ -23,6 +23,7 @@ export * from './file-field-new-value.interface';
23
23
  export * from './file-field-new-settings.control-model';
24
24
  export * from './picture-field-new-settings.control-model';
25
25
  export * from './number-range-field-new-settings.control-model';
26
+ export * from './field-adder-field-new-settings.control-model';
26
27
  export * from './form-new-settings.control-model';
27
28
  export * from './field-new-types';
28
29
  export * from './field-new-settings-set.interface';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/_modules/ngx-models/_models/control-models/forms-new/index.ts"],"names":[],"mappings":"AAGA,cAAc,oCAAoC,CAAC;AACnD,cAAc,yCAAyC,CAAC;AACxD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,iDAAiD,CAAC;AAChE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,iDAAiD,CAAC;AAChE,cAAc,iDAAiD,CAAC;AAChE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,qCAAqC,CAAC;AACpD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,iDAAiD,CAAC;AAChE,cAAc,yCAAyC,CAAC;AACxD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,mDAAmD,CAAC;AAClE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,kCAAkC,CAAC;AACjD,cAAc,yCAAyC,CAAC;AACxD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,iDAAiD,CAAC;AAChE,cAAc,mCAAmC,CAAC;AAClD,cAAc,mBAAmB,CAAC;AAClC,cAAc,oCAAoC,CAAC;AACnD,cAAc,2BAA2B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/_modules/ngx-models/_models/control-models/forms-new/index.ts"],"names":[],"mappings":"AAGA,cAAc,oCAAoC,CAAC;AACnD,cAAc,yCAAyC,CAAC;AACxD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,iDAAiD,CAAC;AAChE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,iDAAiD,CAAC;AAChE,cAAc,iDAAiD,CAAC;AAChE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,qCAAqC,CAAC;AACpD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,iDAAiD,CAAC;AAChE,cAAc,yCAAyC,CAAC;AACxD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,+CAA+C,CAAC;AAC9D,cAAc,mDAAmD,CAAC;AAClE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,kCAAkC,CAAC;AACjD,cAAc,yCAAyC,CAAC;AACxD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,iDAAiD,CAAC;AAChE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,mCAAmC,CAAC;AAClD,cAAc,mBAAmB,CAAC;AAClC,cAAc,oCAAoC,CAAC;AACnD,cAAc,2BAA2B,CAAC"}
@@ -28,6 +28,7 @@ tslib_1.__exportStar(require("./file-field-new-value.interface"), exports);
28
28
  tslib_1.__exportStar(require("./file-field-new-settings.control-model"), exports);
29
29
  tslib_1.__exportStar(require("./picture-field-new-settings.control-model"), exports);
30
30
  tslib_1.__exportStar(require("./number-range-field-new-settings.control-model"), exports);
31
+ tslib_1.__exportStar(require("./field-adder-field-new-settings.control-model"), exports);
31
32
  tslib_1.__exportStar(require("./form-new-settings.control-model"), exports);
32
33
  tslib_1.__exportStar(require("./field-new-types"), exports);
33
34
  tslib_1.__exportStar(require("./field-new-settings-set.interface"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/_modules/ngx-models/_models/control-models/forms-new/index.ts"],"names":[],"mappings":";AAAA,iEAAiE;AACjE,kCAAkC;;;AAElC,6EAAmD;AACnD,kFAAwD;AACxD,sFAA4D;AAC5D,oFAA0D;AAC1D,sFAA4D;AAC5D,oFAA0D;AAC1D,0FAAgE;AAChE,sFAA4D;AAC5D,0FAAgE;AAChE,0FAAgE;AAChE,yFAA+D;AAC/D,8EAAoD;AACpD,oFAA0D;AAC1D,yFAA+D;AAC/D,0FAAgE;AAChE,kFAAwD;AACxD,sFAA4D;AAC5D,wFAA8D;AAC9D,4FAAkE;AAClE,oFAA0D;AAC1D,uFAA6D;AAC7D,2EAAiD;AACjD,kFAAwD;AACxD,qFAA2D;AAC3D,0FAAgE;AAChE,4EAAkD;AAClD,4DAAkC;AAClC,6EAAmD;AACnD,oEAA0C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/_modules/ngx-models/_models/control-models/forms-new/index.ts"],"names":[],"mappings":";AAAA,iEAAiE;AACjE,kCAAkC;;;AAElC,6EAAmD;AACnD,kFAAwD;AACxD,sFAA4D;AAC5D,oFAA0D;AAC1D,sFAA4D;AAC5D,oFAA0D;AAC1D,0FAAgE;AAChE,sFAA4D;AAC5D,0FAAgE;AAChE,0FAAgE;AAChE,yFAA+D;AAC/D,8EAAoD;AACpD,oFAA0D;AAC1D,yFAA+D;AAC/D,0FAAgE;AAChE,kFAAwD;AACxD,sFAA4D;AAC5D,wFAA8D;AAC9D,4FAAkE;AAClE,oFAA0D;AAC1D,uFAA6D;AAC7D,2EAAiD;AACjD,kFAAwD;AACxD,qFAA2D;AAC3D,0FAAgE;AAChE,yFAA+D;AAC/D,4EAAkD;AAClD,4DAAkC;AAClC,6EAAmD;AACnD,oEAA0C"}
@@ -0,0 +1,31 @@
1
+ import { DyFM_Field_Type } from '../../../_enums/field-type.enum';
2
+ import { DyFM_FieldNew_Settings } from './field-new-settings.control-model';
3
+ /**
4
+ * Forms v2 — field adder settings (BFR-MYASSISTANT-025 S4.1 30th slice, the legacy `DyFM_Field_Type.fieldAdder`).
5
+ *
6
+ * A chooser of OPTIONAL fields: the user picks one of `addableFields` and adds it to the form (it renders after the
7
+ * adder, with a remove button); an added field is a normal field of the form (its key in the value). The adder itself
8
+ * is NOT a value field (like the spacer): its own `key` is only the testid + track key.
9
+ *
10
+ * Measured legacy shape: the legacy adder listed `DyNX_Field_Params` objects as `selectOptionsFromCustomObj.objList`
11
+ * (dynamo-builder `bc-html-builder`: fxFlex / fxLayout …), and the form-level `loadExistingAddables` added the ones
12
+ * whose key already had a value in the form data.
13
+ */
14
+ export class DyFM_FieldAdderFieldNew_Settings_ControlModel extends DyFM_FieldNew_Settings {
15
+ // Preserve constructor metadata for consumers of the legacy alias.
16
+ static {
17
+ Object.defineProperty(this, 'name', { value: 'DyFM_FieldAdderFieldNew_Settings' });
18
+ }
19
+ type = DyFM_Field_Type.fieldAdder;
20
+ /** The fields the user can add, in the order of the chooser (each with its own key and type). */
21
+ addableFields = [];
22
+ /** Initializes the adder; an explicit `type` in the input set is ignored (the discriminator stays fieldAdder). */
23
+ constructor(set) {
24
+ super(set);
25
+ const { type: _ignoredType, ...rest } = set;
26
+ void _ignoredType;
27
+ Object.assign(this, rest);
28
+ }
29
+ }
30
+ /** @deprecated Use DyFM_FieldAdderFieldNew_Settings_ControlModel. Same constructor; no API removal. */
31
+ export { DyFM_FieldAdderFieldNew_Settings_ControlModel as DyFM_FieldAdderFieldNew_Settings };
@@ -25,6 +25,7 @@ export * from './file-field-new-value.interface';
25
25
  export * from './file-field-new-settings.control-model';
26
26
  export * from './picture-field-new-settings.control-model';
27
27
  export * from './number-range-field-new-settings.control-model';
28
+ export * from './field-adder-field-new-settings.control-model';
28
29
  export * from './form-new-settings.control-model';
29
30
  export * from './field-new-types';
30
31
  export * from './field-new-settings-set.interface';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@futdevpro/fsm-dynamo",
3
- "version": "1.20.167",
3
+ "version": "1.20.168",
4
4
  "description": "Full Stack Model Collection for Dynamic (NodeJS-Typescript) Framework called Dynamo, by Future Development Ltd.",
5
5
  "DyBu_settings": {
6
6
  "packageType": "full-stack-package",