@futdevpro/fsm-dynamo 1.20.156 → 1.20.157

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.
@@ -18,6 +18,7 @@ import { DyFM_TextAreaFieldNew_Settings } from './textarea-field-new-settings.co
18
18
  import { DyFM_TextFieldNew_Settings } from './text-field-new-settings.control-model';
19
19
  import { DyFM_TextListFieldNew_Settings } from './text-list-field-new-settings.control-model';
20
20
  import { DyFM_FileFieldNew_Settings } from './file-field-new-settings.control-model';
21
+ import { DyFM_PictureFieldNew_Settings } from './picture-field-new-settings.control-model';
21
22
  /**
22
23
  * Forms v2 — Settings-szintű discriminated union.
23
24
  *
@@ -29,8 +30,9 @@ import { DyFM_FileFieldNew_Settings } from './file-field-new-settings.control-mo
29
30
  * Wave-2a: slider, sliderRange, radioSelect, dateTime, dateRange.
30
31
  * BFR-MYASSISTANT-025 S4.1: spacer (layout only, not a value field), textList (`string[]` in one input).
31
32
  * BFR-MYASSISTANT-025 S4.1 (11th slice): file (one file, read as `fileReturnAs` says).
33
+ * BFR-MYASSISTANT-025 S4.1 (18th slice): picture (one image, shown; unset `fileReturnAs` = a data URL).
32
34
  *
33
35
  * @see _specifications/forms-v2/02-architecture-spec.md (11. mátrix)
34
36
  */
35
- 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;
37
+ 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;
36
38
  //# 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;AAErF;;;;;;;;;;;;;GAaG;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,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;AAE3F;;;;;;;;;;;;;;GAcG;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,CAAC"}
@@ -21,6 +21,7 @@ export * from './spacer-field-new-settings.control-model';
21
21
  export * from './text-list-field-new-settings.control-model';
22
22
  export * from './file-field-new-value.interface';
23
23
  export * from './file-field-new-settings.control-model';
24
+ export * from './picture-field-new-settings.control-model';
24
25
  export * from './form-new-settings.control-model';
25
26
  export * from './field-new-types';
26
27
  //# sourceMappingURL=index.d.ts.map
@@ -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,mCAAmC,CAAC;AAClD,cAAc,mBAAmB,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,mCAAmC,CAAC;AAClD,cAAc,mBAAmB,CAAC"}
@@ -26,6 +26,7 @@ tslib_1.__exportStar(require("./spacer-field-new-settings.control-model"), expor
26
26
  tslib_1.__exportStar(require("./text-list-field-new-settings.control-model"), exports);
27
27
  tslib_1.__exportStar(require("./file-field-new-value.interface"), exports);
28
28
  tslib_1.__exportStar(require("./file-field-new-settings.control-model"), exports);
29
+ tslib_1.__exportStar(require("./picture-field-new-settings.control-model"), exports);
29
30
  tslib_1.__exportStar(require("./form-new-settings.control-model"), exports);
30
31
  tslib_1.__exportStar(require("./field-new-types"), exports);
31
32
  //# sourceMappingURL=index.js.map
@@ -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,4EAAkD;AAClD,4DAAkC"}
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,4EAAkD;AAClD,4DAAkC"}
@@ -0,0 +1,27 @@
1
+ import { DyFM_Field_Type } from '../../../_enums/field-type.enum';
2
+ import { DyFM_File_Type } from '../../../_enums/file-type.enum';
3
+ import { DyFM_FieldNew_Settings } from './field-new-settings.control-model';
4
+ import { DyFM_FileFieldNew_Value } from './file-field-new-value.interface';
5
+ /**
6
+ * BFR-MYASSISTANT-025 S4.1 (18th slice) - Forms v2 picture settings: the legacy single `picture` field. One image is
7
+ * chosen and shown; the value is its content read the way `fileReturnAs` says (unset = a data URL, as the legacy), so
8
+ * the stored data stays the same. The legacy keys are kept as they are.
9
+ */
10
+ export declare class DyFM_PictureFieldNew_Settings_ControlModel extends DyFM_FieldNew_Settings<DyFM_FileFieldNew_Value['file']> {
11
+ readonly type: DyFM_Field_Type.picture;
12
+ /** How the chosen image is read into the value (the legacy key; unset = `DyFM_File_Type.dataUrl`). */
13
+ fileReturnAs?: DyFM_File_Type;
14
+ /** The text shown while no image is chosen (the legacy key). */
15
+ fileNoFileText?: string;
16
+ /** The image shown while there is no value (the legacy key, an image URL). */
17
+ picPlaceHolderSrc?: string;
18
+ /** The max height of the shown image (the legacy key, a CSS length, e.g. `'230px'`). */
19
+ picMaxRowHeight?: string;
20
+ /** How the shown image fills its box (the legacy key; unset = `'cover'`, as the legacy). */
21
+ picFit?: 'contain' | 'cover';
22
+ /** Initializes the existing defaults and applies caller-provided settings. */
23
+ constructor(set: Partial<DyFM_PictureFieldNew_Settings_ControlModel>);
24
+ }
25
+ /** @deprecated Use DyFM_PictureFieldNew_Settings_ControlModel. Same constructor; no API removal. */
26
+ export { DyFM_PictureFieldNew_Settings_ControlModel as DyFM_PictureFieldNew_Settings };
27
+ //# sourceMappingURL=picture-field-new-settings.control-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"picture-field-new-settings.control-model.d.ts","sourceRoot":"","sources":["../../../../../../src/_modules/ngx-models/_models/control-models/forms-new/picture-field-new-settings.control-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAC5E,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAE3E;;;;GAIG;AACH,qBAAa,0CACX,SAAQ,sBAAsB,CAAC,uBAAuB,CAAC,MAAM,CAAC,CAAC;IAM/D,SAAkB,IAAI,EAAE,eAAe,CAAC,OAAO,CAA2B;IAE1E,sGAAsG;IACtG,YAAY,CAAC,EAAE,cAAc,CAAC;IAC9B,gEAAgE;IAChE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,8EAA8E;IAC9E,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,wFAAwF;IACxF,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,4FAA4F;IAC5F,MAAM,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAE7B,8EAA8E;gBAClE,GAAG,EAAE,OAAO,CAAC,0CAA0C,CAAC;CASrE;AAED,oGAAoG;AACpG,OAAO,EAAE,0CAA0C,IAAI,6BAA6B,EAAE,CAAC"}
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DyFM_PictureFieldNew_Settings = exports.DyFM_PictureFieldNew_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
+ * BFR-MYASSISTANT-025 S4.1 (18th slice) - Forms v2 picture settings: the legacy single `picture` field. One image is
8
+ * chosen and shown; the value is its content read the way `fileReturnAs` says (unset = a data URL, as the legacy), so
9
+ * the stored data stays the same. The legacy keys are kept as they are.
10
+ */
11
+ class DyFM_PictureFieldNew_Settings_ControlModel extends field_new_settings_control_model_1.DyFM_FieldNew_Settings {
12
+ // Preserve constructor metadata for consumers of the legacy alias.
13
+ static {
14
+ Object.defineProperty(this, 'name', { value: 'DyFM_PictureFieldNew_Settings' });
15
+ }
16
+ type = field_type_enum_1.DyFM_Field_Type.picture;
17
+ /** How the chosen image is read into the value (the legacy key; unset = `DyFM_File_Type.dataUrl`). */
18
+ fileReturnAs;
19
+ /** The text shown while no image is chosen (the legacy key). */
20
+ fileNoFileText;
21
+ /** The image shown while there is no value (the legacy key, an image URL). */
22
+ picPlaceHolderSrc;
23
+ /** The max height of the shown image (the legacy key, a CSS length, e.g. `'230px'`). */
24
+ picMaxRowHeight;
25
+ /** How the shown image fills its box (the legacy key; unset = `'cover'`, as the legacy). */
26
+ picFit;
27
+ /** Initializes the existing defaults and applies caller-provided settings. */
28
+ constructor(set) {
29
+ super(set);
30
+ // the readonly discriminator stays the class's own (an Object.assign would overwrite it)
31
+ const { type: _ignoredType, ...rest } = set;
32
+ void _ignoredType;
33
+ Object.assign(this, rest);
34
+ }
35
+ }
36
+ exports.DyFM_PictureFieldNew_Settings_ControlModel = DyFM_PictureFieldNew_Settings_ControlModel;
37
+ exports.DyFM_PictureFieldNew_Settings = DyFM_PictureFieldNew_Settings_ControlModel;
38
+ //# sourceMappingURL=picture-field-new-settings.control-model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"picture-field-new-settings.control-model.js","sourceRoot":"","sources":["../../../../../../src/_modules/ngx-models/_models/control-models/forms-new/picture-field-new-settings.control-model.ts"],"names":[],"mappings":";;;AAAA,qEAAkE;AAElE,yFAA4E;AAG5E;;;;GAIG;AACH,MAAa,0CACX,SAAQ,yDAAuD;IAC/D,mEAAmE;IACnE;QACE,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,+BAA+B,EAAE,CAAC,CAAC;IAClF,CAAC;IAEiB,IAAI,GAA4B,iCAAe,CAAC,OAAO,CAAC;IAE1E,sGAAsG;IACtG,YAAY,CAAkB;IAC9B,gEAAgE;IAChE,cAAc,CAAU;IACxB,8EAA8E;IAC9E,iBAAiB,CAAU;IAC3B,wFAAwF;IACxF,eAAe,CAAU;IACzB,4FAA4F;IAC5F,MAAM,CAAuB;IAE7B,8EAA8E;IAC9E,YAAY,GAAwD;QAClE,KAAK,CAAC,GAAG,CAAC,CAAC;QACX,yFAAyF;QACzF,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,IAAI,EAAE,GAAwD,GAAG,CAAC;QAEjG,KAAK,YAAY,CAAC;QAElB,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;CACF;AA9BD,gGA8BC;AAGsD,mFAA6B"}
@@ -23,5 +23,6 @@ export * from './spacer-field-new-settings.control-model';
23
23
  export * from './text-list-field-new-settings.control-model';
24
24
  export * from './file-field-new-value.interface';
25
25
  export * from './file-field-new-settings.control-model';
26
+ export * from './picture-field-new-settings.control-model';
26
27
  export * from './form-new-settings.control-model';
27
28
  export * from './field-new-types';
@@ -0,0 +1,34 @@
1
+ import { DyFM_Field_Type } from '../../../_enums/field-type.enum';
2
+ import { DyFM_FieldNew_Settings } from './field-new-settings.control-model';
3
+ /**
4
+ * BFR-MYASSISTANT-025 S4.1 (18th slice) - Forms v2 picture settings: the legacy single `picture` field. One image is
5
+ * chosen and shown; the value is its content read the way `fileReturnAs` says (unset = a data URL, as the legacy), so
6
+ * the stored data stays the same. The legacy keys are kept as they are.
7
+ */
8
+ export class DyFM_PictureFieldNew_Settings_ControlModel extends DyFM_FieldNew_Settings {
9
+ // Preserve constructor metadata for consumers of the legacy alias.
10
+ static {
11
+ Object.defineProperty(this, 'name', { value: 'DyFM_PictureFieldNew_Settings' });
12
+ }
13
+ type = DyFM_Field_Type.picture;
14
+ /** How the chosen image is read into the value (the legacy key; unset = `DyFM_File_Type.dataUrl`). */
15
+ fileReturnAs;
16
+ /** The text shown while no image is chosen (the legacy key). */
17
+ fileNoFileText;
18
+ /** The image shown while there is no value (the legacy key, an image URL). */
19
+ picPlaceHolderSrc;
20
+ /** The max height of the shown image (the legacy key, a CSS length, e.g. `'230px'`). */
21
+ picMaxRowHeight;
22
+ /** How the shown image fills its box (the legacy key; unset = `'cover'`, as the legacy). */
23
+ picFit;
24
+ /** Initializes the existing defaults and applies caller-provided settings. */
25
+ constructor(set) {
26
+ super(set);
27
+ // the readonly discriminator stays the class's own (an Object.assign would overwrite it)
28
+ const { type: _ignoredType, ...rest } = set;
29
+ void _ignoredType;
30
+ Object.assign(this, rest);
31
+ }
32
+ }
33
+ /** @deprecated Use DyFM_PictureFieldNew_Settings_ControlModel. Same constructor; no API removal. */
34
+ export { DyFM_PictureFieldNew_Settings_ControlModel as DyFM_PictureFieldNew_Settings };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@futdevpro/fsm-dynamo",
3
- "version": "1.20.156",
3
+ "version": "1.20.157",
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",