@futdevpro/fsm-dynamo 1.20.152 → 1.20.154
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 +5 -2
- 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/index.d.ts +3 -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 +3 -0
- package/build/_modules/ngx-models/_models/control-models/forms-new/index.js.map +1 -1
- package/build/_modules/ngx-models/_models/control-models/forms-new/text-list-field-new-settings.control-model.d.ts +17 -0
- package/build/_modules/ngx-models/_models/control-models/forms-new/text-list-field-new-settings.control-model.d.ts.map +1 -0
- package/build/_modules/ngx-models/_models/control-models/forms-new/text-list-field-new-settings.control-model.js +30 -0
- package/build/_modules/ngx-models/_models/control-models/forms-new/text-list-field-new-settings.control-model.js.map +1 -0
- 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 +3 -0
- package/build-esm/_modules/ngx-models/_models/control-models/forms-new/text-list-field-new-settings.control-model.js +26 -0
- package/package.json +1 -1
|
@@ -16,6 +16,8 @@ import { DyFM_SliderRangeFieldNew_Settings } from './slider-range-field-new-sett
|
|
|
16
16
|
import { DyFM_SpacerFieldNew_Settings } from './spacer-field-new-settings.control-model';
|
|
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
|
+
import { DyFM_TextListFieldNew_Settings } from './text-list-field-new-settings.control-model';
|
|
20
|
+
import { DyFM_FileFieldNew_Settings } from './file-field-new-settings.control-model';
|
|
19
21
|
/**
|
|
20
22
|
* Forms v2 — Settings-szintű discriminated union.
|
|
21
23
|
*
|
|
@@ -25,9 +27,10 @@ import { DyFM_TextFieldNew_Settings } from './text-field-new-settings.control-mo
|
|
|
25
27
|
* Wave-1A: text, textarea, number, checkbox, select, multiselect, date.
|
|
26
28
|
* Wave-1+ Login: password.
|
|
27
29
|
* Wave-2a: slider, sliderRange, radioSelect, dateTime, dateRange.
|
|
28
|
-
* BFR-MYASSISTANT-025 S4.1: spacer (layout only, not a value field).
|
|
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).
|
|
29
32
|
*
|
|
30
33
|
* @see _specifications/forms-v2/02-architecture-spec.md (11. mátrix)
|
|
31
34
|
*/
|
|
32
|
-
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;
|
|
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;
|
|
33
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;AAErF
|
|
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":""}
|
|
@@ -18,6 +18,9 @@ export * from './datetime-field-new-settings.control-model';
|
|
|
18
18
|
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
|
+
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';
|
|
21
24
|
export * from './form-new-settings.control-model';
|
|
22
25
|
export * from './field-new-types';
|
|
23
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,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"}
|
|
@@ -23,6 +23,9 @@ tslib_1.__exportStar(require("./datetime-field-new-settings.control-model"), exp
|
|
|
23
23
|
tslib_1.__exportStar(require("./date-range-field-new-settings.control-model"), exports);
|
|
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
|
+
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);
|
|
26
29
|
tslib_1.__exportStar(require("./form-new-settings.control-model"), exports);
|
|
27
30
|
tslib_1.__exportStar(require("./field-new-types"), exports);
|
|
28
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,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,17 @@
|
|
|
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 (9th slice) - Forms v2 text list settings: the legacy `textList`. One single-line input,
|
|
5
|
+
* the value a `string[]`: the input shows the list joined by `textListJoiner`, and what the user types is split on it
|
|
6
|
+
* (each item trimmed, empty items dropped - so an empty input is `[]`, which `required` rejects).
|
|
7
|
+
*/
|
|
8
|
+
export declare class DyFM_TextListFieldNew_Settings_ControlModel extends DyFM_FieldNew_Settings<string[]> {
|
|
9
|
+
readonly type: DyFM_Field_Type.textList;
|
|
10
|
+
/** The separator between the items in the input (the legacy key and default: `', '`). */
|
|
11
|
+
textListJoiner?: string;
|
|
12
|
+
/** Initializes the existing defaults and applies caller-provided settings. */
|
|
13
|
+
constructor(set: Partial<DyFM_TextListFieldNew_Settings_ControlModel>);
|
|
14
|
+
}
|
|
15
|
+
/** @deprecated Use DyFM_TextListFieldNew_Settings_ControlModel. Same constructor; no API removal. */
|
|
16
|
+
export { DyFM_TextListFieldNew_Settings_ControlModel as DyFM_TextListFieldNew_Settings };
|
|
17
|
+
//# sourceMappingURL=text-list-field-new-settings.control-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-list-field-new-settings.control-model.d.ts","sourceRoot":"","sources":["../../../../../../src/_modules/ngx-models/_models/control-models/forms-new/text-list-field-new-settings.control-model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAE5E;;;;GAIG;AACH,qBAAa,2CAA4C,SAAQ,sBAAsB,CAAC,MAAM,EAAE,CAAC;IAM/F,SAAkB,IAAI,EAAE,eAAe,CAAC,QAAQ,CAA4B;IAE5E,yFAAyF;IACzF,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,8EAA8E;gBAClE,GAAG,EAAE,OAAO,CAAC,2CAA2C,CAAC;CAStE;AAED,qGAAqG;AACrG,OAAO,EAAE,2CAA2C,IAAI,8BAA8B,EAAE,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DyFM_TextListFieldNew_Settings = exports.DyFM_TextListFieldNew_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 (9th slice) - Forms v2 text list settings: the legacy `textList`. One single-line input,
|
|
8
|
+
* the value a `string[]`: the input shows the list joined by `textListJoiner`, and what the user types is split on it
|
|
9
|
+
* (each item trimmed, empty items dropped - so an empty input is `[]`, which `required` rejects).
|
|
10
|
+
*/
|
|
11
|
+
class DyFM_TextListFieldNew_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_TextListFieldNew_Settings' });
|
|
15
|
+
}
|
|
16
|
+
type = field_type_enum_1.DyFM_Field_Type.textList;
|
|
17
|
+
/** The separator between the items in the input (the legacy key and default: `', '`). */
|
|
18
|
+
textListJoiner;
|
|
19
|
+
/** Initializes the existing defaults and applies caller-provided settings. */
|
|
20
|
+
constructor(set) {
|
|
21
|
+
super(set);
|
|
22
|
+
// the readonly discriminator stays the class's own (an Object.assign would overwrite it)
|
|
23
|
+
const { type: _ignoredType, ...rest } = set;
|
|
24
|
+
void _ignoredType;
|
|
25
|
+
Object.assign(this, rest);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.DyFM_TextListFieldNew_Settings_ControlModel = DyFM_TextListFieldNew_Settings_ControlModel;
|
|
29
|
+
exports.DyFM_TextListFieldNew_Settings = DyFM_TextListFieldNew_Settings_ControlModel;
|
|
30
|
+
//# sourceMappingURL=text-list-field-new-settings.control-model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-list-field-new-settings.control-model.js","sourceRoot":"","sources":["../../../../../../src/_modules/ngx-models/_models/control-models/forms-new/text-list-field-new-settings.control-model.ts"],"names":[],"mappings":";;;AAAA,qEAAkE;AAClE,yFAA4E;AAE5E;;;;GAIG;AACH,MAAa,2CAA4C,SAAQ,yDAAgC;IAC/F,mEAAmE;IACnE;QACE,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,gCAAgC,EAAE,CAAC,CAAC;IACnF,CAAC;IAEiB,IAAI,GAA6B,iCAAe,CAAC,QAAQ,CAAC;IAE5E,yFAAyF;IACzF,cAAc,CAAU;IAExB,8EAA8E;IAC9E,YAAY,GAAyD;QACnE,KAAK,CAAC,GAAG,CAAC,CAAC;QACX,yFAAyF;QACzF,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,IAAI,EAAE,GAAyD,GAAG,CAAC;QAElG,KAAK,YAAY,CAAC;QAElB,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IAC5B,CAAC;CACF;AArBD,kGAqBC;AAGuD,qFAA8B"}
|
|
@@ -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 {};
|
|
@@ -20,5 +20,8 @@ export * from './datetime-field-new-settings.control-model';
|
|
|
20
20
|
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
|
+
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';
|
|
23
26
|
export * from './form-new-settings.control-model';
|
|
24
27
|
export * from './field-new-types';
|
|
@@ -0,0 +1,26 @@
|
|
|
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 (9th slice) - Forms v2 text list settings: the legacy `textList`. One single-line input,
|
|
5
|
+
* the value a `string[]`: the input shows the list joined by `textListJoiner`, and what the user types is split on it
|
|
6
|
+
* (each item trimmed, empty items dropped - so an empty input is `[]`, which `required` rejects).
|
|
7
|
+
*/
|
|
8
|
+
export class DyFM_TextListFieldNew_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_TextListFieldNew_Settings' });
|
|
12
|
+
}
|
|
13
|
+
type = DyFM_Field_Type.textList;
|
|
14
|
+
/** The separator between the items in the input (the legacy key and default: `', '`). */
|
|
15
|
+
textListJoiner;
|
|
16
|
+
/** Initializes the existing defaults and applies caller-provided settings. */
|
|
17
|
+
constructor(set) {
|
|
18
|
+
super(set);
|
|
19
|
+
// the readonly discriminator stays the class's own (an Object.assign would overwrite it)
|
|
20
|
+
const { type: _ignoredType, ...rest } = set;
|
|
21
|
+
void _ignoredType;
|
|
22
|
+
Object.assign(this, rest);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
/** @deprecated Use DyFM_TextListFieldNew_Settings_ControlModel. Same constructor; no API removal. */
|
|
26
|
+
export { DyFM_TextListFieldNew_Settings_ControlModel as DyFM_TextListFieldNew_Settings };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@futdevpro/fsm-dynamo",
|
|
3
|
-
"version": "1.20.
|
|
3
|
+
"version": "1.20.154",
|
|
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",
|