@futdevpro/fsm-dynamo 1.20.153 → 1.20.155
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/build/_modules/ngx-models/_models/control-models/forms-new/field-new-types.d.ts +3 -1
- package/build/_modules/ngx-models/_models/control-models/forms-new/field-new-types.d.ts.map +1 -1
- package/build/_modules/ngx-models/_models/control-models/forms-new/file-field-new-settings.control-model.d.ts +23 -0
- package/build/_modules/ngx-models/_models/control-models/forms-new/file-field-new-settings.control-model.d.ts.map +1 -0
- package/build/_modules/ngx-models/_models/control-models/forms-new/file-field-new-settings.control-model.js +34 -0
- package/build/_modules/ngx-models/_models/control-models/forms-new/file-field-new-settings.control-model.js.map +1 -0
- package/build/_modules/ngx-models/_models/control-models/forms-new/file-field-new-value.interface.d.ts +18 -0
- package/build/_modules/ngx-models/_models/control-models/forms-new/file-field-new-value.interface.d.ts.map +1 -0
- package/build/_modules/ngx-models/_models/control-models/forms-new/file-field-new-value.interface.js +3 -0
- package/build/_modules/ngx-models/_models/control-models/forms-new/file-field-new-value.interface.js.map +1 -0
- package/build/_modules/ngx-models/_models/control-models/forms-new/form-new-settings.control-model.d.ts +6 -0
- package/build/_modules/ngx-models/_models/control-models/forms-new/form-new-settings.control-model.d.ts.map +1 -1
- package/build/_modules/ngx-models/_models/control-models/forms-new/form-new-settings.control-model.js.map +1 -1
- package/build/_modules/ngx-models/_models/control-models/forms-new/index.d.ts +2 -0
- package/build/_modules/ngx-models/_models/control-models/forms-new/index.d.ts.map +1 -1
- package/build/_modules/ngx-models/_models/control-models/forms-new/index.js +2 -0
- package/build/_modules/ngx-models/_models/control-models/forms-new/index.js.map +1 -1
- package/build-esm/_modules/ngx-models/_models/control-models/forms-new/file-field-new-settings.control-model.js +30 -0
- package/build-esm/_modules/ngx-models/_models/control-models/forms-new/file-field-new-value.interface.js +1 -0
- package/build-esm/_modules/ngx-models/_models/control-models/forms-new/index.js +2 -0
- package/package.json +1 -1
|
@@ -17,6 +17,7 @@ import { DyFM_SpacerFieldNew_Settings } from './spacer-field-new-settings.contro
|
|
|
17
17
|
import { DyFM_TextAreaFieldNew_Settings } from './textarea-field-new-settings.control-model';
|
|
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
|
+
import { DyFM_FileFieldNew_Settings } from './file-field-new-settings.control-model';
|
|
20
21
|
/**
|
|
21
22
|
* Forms v2 — Settings-szintű discriminated union.
|
|
22
23
|
*
|
|
@@ -27,8 +28,9 @@ import { DyFM_TextListFieldNew_Settings } from './text-list-field-new-settings.c
|
|
|
27
28
|
* Wave-1+ Login: password.
|
|
28
29
|
* Wave-2a: slider, sliderRange, radioSelect, dateTime, dateRange.
|
|
29
30
|
* BFR-MYASSISTANT-025 S4.1: spacer (layout only, not a value field), textList (`string[]` in one input).
|
|
31
|
+
* BFR-MYASSISTANT-025 S4.1 (11th slice): file (one file, read as `fileReturnAs` says).
|
|
30
32
|
*
|
|
31
33
|
* @see _specifications/forms-v2/02-architecture-spec.md (11. mátrix)
|
|
32
34
|
*/
|
|
33
|
-
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;
|
|
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;
|
|
34
36
|
//# 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;
|
|
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"}
|
|
@@ -0,0 +1,23 @@
|
|
|
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 (11th slice) - Forms v2 file settings: the legacy single `file` field. One file is chosen,
|
|
7
|
+
* read the way `fileReturnAs` says, and the value is a `DyFM_FileFieldNew_Value` (the legacy `DyNX_FileValue` keys).
|
|
8
|
+
* The legacy keys are kept as they are, so a legacy field moves over unchanged.
|
|
9
|
+
*/
|
|
10
|
+
export declare class DyFM_FileFieldNew_Settings_ControlModel extends DyFM_FieldNew_Settings<DyFM_FileFieldNew_Value> {
|
|
11
|
+
readonly type: DyFM_Field_Type.file;
|
|
12
|
+
/** The accepted file types of the picker (the input's `accept`, e.g. `'.ts'` or `'.ts, .html'`; the legacy key). */
|
|
13
|
+
fileAcceptType?: string;
|
|
14
|
+
/** How the chosen file is read into the value (the legacy key; unset = `DyFM_File_Type.file`, the File itself). */
|
|
15
|
+
fileReturnAs?: DyFM_File_Type;
|
|
16
|
+
/** The text shown while no file is chosen (the legacy key). */
|
|
17
|
+
fileNoFileText?: string;
|
|
18
|
+
/** Initializes the existing defaults and applies caller-provided settings. */
|
|
19
|
+
constructor(set: Partial<DyFM_FileFieldNew_Settings_ControlModel>);
|
|
20
|
+
}
|
|
21
|
+
/** @deprecated Use DyFM_FileFieldNew_Settings_ControlModel. Same constructor; no API removal. */
|
|
22
|
+
export { DyFM_FileFieldNew_Settings_ControlModel as DyFM_FileFieldNew_Settings };
|
|
23
|
+
//# sourceMappingURL=file-field-new-settings.control-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-field-new-settings.control-model.d.ts","sourceRoot":"","sources":["../../../../../../src/_modules/ngx-models/_models/control-models/forms-new/file-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,uCAAwC,SAAQ,sBAAsB,CAAC,uBAAuB,CAAC;IAM1G,SAAkB,IAAI,EAAE,eAAe,CAAC,IAAI,CAAwB;IAEpE,oHAAoH;IACpH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mHAAmH;IACnH,YAAY,CAAC,EAAE,cAAc,CAAC;IAC9B,+DAA+D;IAC/D,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,8EAA8E;gBAClE,GAAG,EAAE,OAAO,CAAC,uCAAuC,CAAC;CASlE;AAED,iGAAiG;AACjG,OAAO,EAAE,uCAAuC,IAAI,0BAA0B,EAAE,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DyFM_FileFieldNew_Settings = exports.DyFM_FileFieldNew_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 (11th slice) - Forms v2 file settings: the legacy single `file` field. One file is chosen,
|
|
8
|
+
* read the way `fileReturnAs` says, and the value is a `DyFM_FileFieldNew_Value` (the legacy `DyNX_FileValue` keys).
|
|
9
|
+
* The legacy keys are kept as they are, so a legacy field moves over unchanged.
|
|
10
|
+
*/
|
|
11
|
+
class DyFM_FileFieldNew_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_FileFieldNew_Settings' });
|
|
15
|
+
}
|
|
16
|
+
type = field_type_enum_1.DyFM_Field_Type.file;
|
|
17
|
+
/** The accepted file types of the picker (the input's `accept`, e.g. `'.ts'` or `'.ts, .html'`; the legacy key). */
|
|
18
|
+
fileAcceptType;
|
|
19
|
+
/** How the chosen file is read into the value (the legacy key; unset = `DyFM_File_Type.file`, the File itself). */
|
|
20
|
+
fileReturnAs;
|
|
21
|
+
/** The text shown while no file is chosen (the legacy key). */
|
|
22
|
+
fileNoFileText;
|
|
23
|
+
/** Initializes the existing defaults and applies caller-provided settings. */
|
|
24
|
+
constructor(set) {
|
|
25
|
+
super(set);
|
|
26
|
+
// the readonly discriminator stays the class's own (an Object.assign would overwrite it)
|
|
27
|
+
const { type: _ignoredType, ...rest } = set;
|
|
28
|
+
void _ignoredType;
|
|
29
|
+
Object.assign(this, rest);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.DyFM_FileFieldNew_Settings_ControlModel = DyFM_FileFieldNew_Settings_ControlModel;
|
|
33
|
+
exports.DyFM_FileFieldNew_Settings = DyFM_FileFieldNew_Settings_ControlModel;
|
|
34
|
+
//# sourceMappingURL=file-field-new-settings.control-model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-field-new-settings.control-model.js","sourceRoot":"","sources":["../../../../../../src/_modules/ngx-models/_models/control-models/forms-new/file-field-new-settings.control-model.ts"],"names":[],"mappings":";;;AAAA,qEAAkE;AAElE,yFAA4E;AAG5E;;;;GAIG;AACH,MAAa,uCAAwC,SAAQ,yDAA+C;IAC1G,mEAAmE;IACnE;QACE,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,4BAA4B,EAAE,CAAC,CAAC;IAC/E,CAAC;IAEiB,IAAI,GAAyB,iCAAe,CAAC,IAAI,CAAC;IAEpE,oHAAoH;IACpH,cAAc,CAAU;IACxB,mHAAmH;IACnH,YAAY,CAAkB;IAC9B,+DAA+D;IAC/D,cAAc,CAAU;IAExB,8EAA8E;IAC9E,YAAY,GAAqD;QAC/D,KAAK,CAAC,GAAG,CAAC,CAAC;QACX,yFAAyF;QACzF,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,IAAI,EAAE,GAAqD,GAAG,CAAC;QAE9F,KAAK,YAAY,CAAC;QAElB,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;CACF;AAzBD,0FAyBC;AAGmD,6EAA0B"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DyFM_File_Type } from '../../../_enums/file-type.enum';
|
|
2
|
+
/**
|
|
3
|
+
* BFR-MYASSISTANT-025 S4.1 (11th slice) - the value of a Forms v2 file field: the legacy `DyNX_FileValue` shape (the
|
|
4
|
+
* same keys, so a host that read `.file` / `.fileName` keeps reading them).
|
|
5
|
+
*/
|
|
6
|
+
export interface DyFM_FileFieldNew_Value {
|
|
7
|
+
/** How `file` was read (`fileReturnAs`). */
|
|
8
|
+
type: DyFM_File_Type;
|
|
9
|
+
/** The chosen file's name with its extension (`module.ts`). */
|
|
10
|
+
fullFileName: string;
|
|
11
|
+
/** The name without the last extension (`module`). */
|
|
12
|
+
fileName: string;
|
|
13
|
+
/** The last extension without the dot (`ts`); empty when there is none. */
|
|
14
|
+
fileExtension: string;
|
|
15
|
+
/** The content: text / data URL / binary string / ArrayBuffer, or the File itself (`blob`, `file`). */
|
|
16
|
+
file: string | ArrayBuffer | Blob;
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=file-field-new-value.interface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-field-new-value.interface.d.ts","sourceRoot":"","sources":["../../../../../../src/_modules/ngx-models/_models/control-models/forms-new/file-field-new-value.interface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAEhE;;;GAGG;AACH,MAAM,WAAW,uBAAuB;IACtC,4CAA4C;IAC5C,IAAI,EAAE,cAAc,CAAC;IACrB,+DAA+D;IAC/D,YAAY,EAAE,MAAM,CAAC;IACrB,sDAAsD;IACtD,QAAQ,EAAE,MAAM,CAAC;IACjB,2EAA2E;IAC3E,aAAa,EAAE,MAAM,CAAC;IACtB,uGAAuG;IACvG,IAAI,EAAE,MAAM,GAAG,WAAW,GAAG,IAAI,CAAC;CACnC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"file-field-new-value.interface.js","sourceRoot":"","sources":["../../../../../../src/_modules/ngx-models/_models/control-models/forms-new/file-field-new-value.interface.ts"],"names":[],"mappings":""}
|
|
@@ -59,6 +59,12 @@ export declare class DyFM_FormNew_Settings_ControlModel<T = unknown> {
|
|
|
59
59
|
description?: string;
|
|
60
60
|
/** An `accordion` frame starts open (the legacy `accordionStartExpanded` / `isAccordionInitiallyExpanded`). */
|
|
61
61
|
isAccordionInitiallyExpanded?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* BFR-MYASSISTANT-025 S4.1 (13th slice) - the data's key that holds the id of the record it belongs to (the legacy
|
|
64
|
+
* `dependencyDataIdName`, e.g. `'accountId'`): the NGX form sends it with the data, reloads its `dataHandler` when
|
|
65
|
+
* that id changes, and after a save updates the handler only when the result belongs to the same record.
|
|
66
|
+
*/
|
|
67
|
+
dependencyDataIdName?: string;
|
|
62
68
|
/**
|
|
63
69
|
* Wave-1-re elég a `T` típus-paraméter — bár a `fields` runtime-on `_AnyType`-ot
|
|
64
70
|
* tárol. A `T` később (Wave-2-ben) szigorúbb derived-data-típus-checkre használható.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-new-settings.control-model.d.ts","sourceRoot":"","sources":["../../../../../../src/_modules/ngx-models/_models/control-models/forms-new/form-new-settings.control-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,OAAO,EAAE,8BAA8B,EAAE,MAAM,mBAAmB,CAAC;AAEnE;;;;;;;;GAQG;AACH,qBAAa,kCAAkC,CAAC,CAAC,GAAG,OAAO;IAMzD,0BAA0B;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,0DAA0D;IAC1D,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,kEAAkE;IAClE,MAAM,EAAE,8BAA8B,EAAE,CAAM;IAE9C,yGAAyG;IACzG,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,4BAA4B;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;OAIG;IACK,cAAc,CAAC,EAAE,OAAO,CAAC;IAEjC,yGAAyG;IACjG,cAAc,CAAC,EAAE,OAAO,CAAC;IAEjC;;;;OAIG;IACK,MAAM,CAAC,EAAE,eAAe,CAAC;IAEjC,6FAA6F;IACrF,SAAS,CAAC,EAAE,MAAM,CAAC;IAE3B;;;;;;OAMG;IACK,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAEvC,gHAAgH;IACxG,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAEnC;;;;OAIG;IACK,aAAa,CAAC,EAAE,mBAAmB,CAAC;IAE5C,4FAA4F;IACpF,WAAW,CAAC,EAAE,MAAM,CAAC;IAE7B,+GAA+G;IACvG,4BAA4B,CAAC,EAAE,OAAO,CAAC;IAE/C;;;OAGG;IACH,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAI;IAElC,8EAA8E;gBAClE,GAAG,EAAE,OAAO,CAAC,kCAAkC,CAAC,CAAC,CAAC,CAAC;CAOhE;AAED,4FAA4F;AAC5F,OAAO,EAAE,kCAAkC,IAAI,qBAAqB,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"form-new-settings.control-model.d.ts","sourceRoot":"","sources":["../../../../../../src/_modules/ngx-models/_models/control-models/forms-new/form-new-settings.control-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAEtE,OAAO,EAAE,8BAA8B,EAAE,MAAM,mBAAmB,CAAC;AAEnE;;;;;;;;GAQG;AACH,qBAAa,kCAAkC,CAAC,CAAC,GAAG,OAAO;IAMzD,0BAA0B;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,0DAA0D;IAC1D,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,kEAAkE;IAClE,MAAM,EAAE,8BAA8B,EAAE,CAAM;IAE9C,yGAAyG;IACzG,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,4BAA4B;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;OAIG;IACK,cAAc,CAAC,EAAE,OAAO,CAAC;IAEjC,yGAAyG;IACjG,cAAc,CAAC,EAAE,OAAO,CAAC;IAEjC;;;;OAIG;IACK,MAAM,CAAC,EAAE,eAAe,CAAC;IAEjC,6FAA6F;IACrF,SAAS,CAAC,EAAE,MAAM,CAAC;IAE3B;;;;;;OAMG;IACK,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAEvC,gHAAgH;IACxG,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAEnC;;;;OAIG;IACK,aAAa,CAAC,EAAE,mBAAmB,CAAC;IAE5C,4FAA4F;IACpF,WAAW,CAAC,EAAE,MAAM,CAAC;IAE7B,+GAA+G;IACvG,4BAA4B,CAAC,EAAE,OAAO,CAAC;IAE/C;;;;OAIG;IACK,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAEtC;;;OAGG;IACH,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAI;IAElC,8EAA8E;gBAClE,GAAG,EAAE,OAAO,CAAC,kCAAkC,CAAC,CAAC,CAAC,CAAC;CAOhE;AAED,4FAA4F;AAC5F,OAAO,EAAE,kCAAkC,IAAI,qBAAqB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-new-settings.control-model.js","sourceRoot":"","sources":["../../../../../../src/_modules/ngx-models/_models/control-models/forms-new/form-new-settings.control-model.ts"],"names":[],"mappings":";;;AAOA;;;;;;;;GAQG;AACH,MAAa,kCAAkC;IAC7C,mEAAmE;IACnE;QACE,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,uBAAuB,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED,0BAA0B;IAC1B,KAAK,CAAU;IAEf,0DAA0D;IAC1D,EAAE,CAAU;IAEZ,kEAAkE;IAClE,MAAM,GAAqC,EAAE,CAAC;IAE9C,yGAAyG;IACzG,WAAW,CAAU;IAErB,4BAA4B;IAC5B,WAAW,CAAU;
|
|
1
|
+
{"version":3,"file":"form-new-settings.control-model.js","sourceRoot":"","sources":["../../../../../../src/_modules/ngx-models/_models/control-models/forms-new/form-new-settings.control-model.ts"],"names":[],"mappings":";;;AAOA;;;;;;;;GAQG;AACH,MAAa,kCAAkC;IAC7C,mEAAmE;IACnE;QACE,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,uBAAuB,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED,0BAA0B;IAC1B,KAAK,CAAU;IAEf,0DAA0D;IAC1D,EAAE,CAAU;IAEZ,kEAAkE;IAClE,MAAM,GAAqC,EAAE,CAAC;IAE9C,yGAAyG;IACzG,WAAW,CAAU;IAErB,4BAA4B;IAC5B,WAAW,CAAU;IAsDrB;;;OAGG;IACc,YAAY,CAAK;IAElC,8EAA8E;IAC9E,YAAY,GAAmD;QAC7D,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;QAEzB,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;YACjB,IAAI,CAAC,MAAM,GAAG,EAAE,CAAC;QACnB,CAAC;IACH,CAAC;CACF;AAvFD,gFAuFC;AAG8C,mEAAqB"}
|
|
@@ -19,6 +19,8 @@ export * from './date-range-field-new-settings.control-model';
|
|
|
19
19
|
export * from './datetime-range-field-new-settings.control-model';
|
|
20
20
|
export * from './spacer-field-new-settings.control-model';
|
|
21
21
|
export * from './text-list-field-new-settings.control-model';
|
|
22
|
+
export * from './file-field-new-value.interface';
|
|
23
|
+
export * from './file-field-new-settings.control-model';
|
|
22
24
|
export * from './form-new-settings.control-model';
|
|
23
25
|
export * from './field-new-types';
|
|
24
26
|
//# 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,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,mCAAmC,CAAC;AAClD,cAAc,mBAAmB,CAAC"}
|
|
@@ -24,6 +24,8 @@ tslib_1.__exportStar(require("./date-range-field-new-settings.control-model"), e
|
|
|
24
24
|
tslib_1.__exportStar(require("./datetime-range-field-new-settings.control-model"), exports);
|
|
25
25
|
tslib_1.__exportStar(require("./spacer-field-new-settings.control-model"), exports);
|
|
26
26
|
tslib_1.__exportStar(require("./text-list-field-new-settings.control-model"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./file-field-new-value.interface"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./file-field-new-settings.control-model"), exports);
|
|
27
29
|
tslib_1.__exportStar(require("./form-new-settings.control-model"), exports);
|
|
28
30
|
tslib_1.__exportStar(require("./field-new-types"), exports);
|
|
29
31
|
//# 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,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,4EAAkD;AAClD,4DAAkC"}
|
|
@@ -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
|
+
/**
|
|
4
|
+
* BFR-MYASSISTANT-025 S4.1 (11th slice) - Forms v2 file settings: the legacy single `file` field. One file is chosen,
|
|
5
|
+
* read the way `fileReturnAs` says, and the value is a `DyFM_FileFieldNew_Value` (the legacy `DyNX_FileValue` keys).
|
|
6
|
+
* The legacy keys are kept as they are, so a legacy field moves over unchanged.
|
|
7
|
+
*/
|
|
8
|
+
export class DyFM_FileFieldNew_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_FileFieldNew_Settings' });
|
|
12
|
+
}
|
|
13
|
+
type = DyFM_Field_Type.file;
|
|
14
|
+
/** The accepted file types of the picker (the input's `accept`, e.g. `'.ts'` or `'.ts, .html'`; the legacy key). */
|
|
15
|
+
fileAcceptType;
|
|
16
|
+
/** How the chosen file is read into the value (the legacy key; unset = `DyFM_File_Type.file`, the File itself). */
|
|
17
|
+
fileReturnAs;
|
|
18
|
+
/** The text shown while no file is chosen (the legacy key). */
|
|
19
|
+
fileNoFileText;
|
|
20
|
+
/** Initializes the existing defaults and applies caller-provided settings. */
|
|
21
|
+
constructor(set) {
|
|
22
|
+
super(set);
|
|
23
|
+
// the readonly discriminator stays the class's own (an Object.assign would overwrite it)
|
|
24
|
+
const { type: _ignoredType, ...rest } = set;
|
|
25
|
+
void _ignoredType;
|
|
26
|
+
Object.assign(this, rest);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
/** @deprecated Use DyFM_FileFieldNew_Settings_ControlModel. Same constructor; no API removal. */
|
|
30
|
+
export { DyFM_FileFieldNew_Settings_ControlModel as DyFM_FileFieldNew_Settings };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -21,5 +21,7 @@ export * from './date-range-field-new-settings.control-model';
|
|
|
21
21
|
export * from './datetime-range-field-new-settings.control-model';
|
|
22
22
|
export * from './spacer-field-new-settings.control-model';
|
|
23
23
|
export * from './text-list-field-new-settings.control-model';
|
|
24
|
+
export * from './file-field-new-value.interface';
|
|
25
|
+
export * from './file-field-new-settings.control-model';
|
|
24
26
|
export * from './form-new-settings.control-model';
|
|
25
27
|
export * from './field-new-types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@futdevpro/fsm-dynamo",
|
|
3
|
-
"version": "1.20.
|
|
3
|
+
"version": "1.20.155",
|
|
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",
|