@futdevpro/fsm-dynamo 1.20.195 → 1.20.197
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/chip-multiselect-field-new-settings.control-model.d.ts +16 -0
- package/build/_modules/ngx-models/_models/control-models/forms-new/chip-multiselect-field-new-settings.control-model.d.ts.map +1 -0
- package/build/_modules/ngx-models/_models/control-models/forms-new/chip-multiselect-field-new-settings.control-model.js +32 -0
- package/build/_modules/ngx-models/_models/control-models/forms-new/chip-multiselect-field-new-settings.control-model.js.map +1 -0
- package/build/_modules/ngx-models/_models/control-models/forms-new/chip-select-field-new-settings.control-model.d.ts +17 -0
- package/build/_modules/ngx-models/_models/control-models/forms-new/chip-select-field-new-settings.control-model.d.ts.map +1 -0
- package/build/_modules/ngx-models/_models/control-models/forms-new/chip-select-field-new-settings.control-model.js +33 -0
- package/build/_modules/ngx-models/_models/control-models/forms-new/chip-select-field-new-settings.control-model.js.map +1 -0
- package/build/_modules/ngx-models/_models/control-models/forms-new/field-new-types.d.ts +4 -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/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/_modules/ngx-models/_models/control-models/forms-new/select-field-new-settings.control-model.d.ts +7 -0
- package/build/_modules/ngx-models/_models/control-models/forms-new/select-field-new-settings.control-model.d.ts.map +1 -1
- package/build/_modules/ngx-models/_models/control-models/forms-new/select-field-new-settings.control-model.js.map +1 -1
- package/build-esm/_modules/ngx-models/_models/control-models/forms-new/chip-multiselect-field-new-settings.control-model.js +27 -0
- package/build-esm/_modules/ngx-models/_models/control-models/forms-new/chip-select-field-new-settings.control-model.js +28 -0
- package/build-esm/_modules/ngx-models/_models/control-models/forms-new/index.js +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DyFM_Field_Type } from '../../../_enums/field-type.enum';
|
|
2
|
+
import { DyFM_FieldNew_Settings } from './field-new-settings.control-model';
|
|
3
|
+
import { DyFM_SelectNewOption } from './select-field-new-settings.control-model';
|
|
4
|
+
/**
|
|
5
|
+
* BFR-CREDIT-155 - Forms v2 chip-multiselect settings: SEVERAL choices from a FEW options, all visible at once as
|
|
6
|
+
* chips (`pt-ngx-app-chip-selection`). Rendered with the Dynamo chip select (`dynamo-chip-select`, `multiple`); the
|
|
7
|
+
* value is the list of the chosen options' values (`T[]`). `options` has the same shape as the select's.
|
|
8
|
+
*/
|
|
9
|
+
export declare class DyFM_ChipMultiselectFieldNew_Settings_ControlModel<T = string> extends DyFM_FieldNew_Settings<T[]> {
|
|
10
|
+
readonly type: DyFM_Field_Type.chipMultiselect;
|
|
11
|
+
/** The options, one chip each - the same shape as the select's. */
|
|
12
|
+
options: DyFM_SelectNewOption<T>[];
|
|
13
|
+
/** Initializes the existing defaults and applies caller-provided settings. */
|
|
14
|
+
constructor(set: Partial<DyFM_ChipMultiselectFieldNew_Settings_ControlModel<T>>);
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=chip-multiselect-field-new-settings.control-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chip-multiselect-field-new-settings.control-model.d.ts","sourceRoot":"","sources":["../../../../../../src/_modules/ngx-models/_models/control-models/forms-new/chip-multiselect-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,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AAEjF;;;;GAIG;AACH,qBAAa,kDAAkD,CAAC,CAAC,GAAG,MAAM,CAAE,SAAQ,sBAAsB,CAAC,CAAC,EAAE,CAAC;IAM7G,SAAkB,IAAI,EAAE,eAAe,CAAC,eAAe,CAAmC;IAE1F,mEAAmE;IACnE,OAAO,EAAE,oBAAoB,CAAC,CAAC,CAAC,EAAE,CAAM;IAExC,8EAA8E;gBAClE,GAAG,EAAE,OAAO,CAAC,kDAAkD,CAAC,CAAC,CAAC,CAAC;CAahF"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DyFM_ChipMultiselectFieldNew_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-CREDIT-155 - Forms v2 chip-multiselect settings: SEVERAL choices from a FEW options, all visible at once as
|
|
8
|
+
* chips (`pt-ngx-app-chip-selection`). Rendered with the Dynamo chip select (`dynamo-chip-select`, `multiple`); the
|
|
9
|
+
* value is the list of the chosen options' values (`T[]`). `options` has the same shape as the select's.
|
|
10
|
+
*/
|
|
11
|
+
class DyFM_ChipMultiselectFieldNew_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_ChipMultiselectFieldNew_Settings' });
|
|
15
|
+
}
|
|
16
|
+
type = field_type_enum_1.DyFM_Field_Type.chipMultiselect;
|
|
17
|
+
/** The options, one chip each - the same shape as the select's. */
|
|
18
|
+
options = [];
|
|
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
|
+
if (!this.options) {
|
|
27
|
+
this.options = [];
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.DyFM_ChipMultiselectFieldNew_Settings_ControlModel = DyFM_ChipMultiselectFieldNew_Settings_ControlModel;
|
|
32
|
+
//# sourceMappingURL=chip-multiselect-field-new-settings.control-model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chip-multiselect-field-new-settings.control-model.js","sourceRoot":"","sources":["../../../../../../src/_modules/ngx-models/_models/control-models/forms-new/chip-multiselect-field-new-settings.control-model.ts"],"names":[],"mappings":";;;AAAA,qEAAkE;AAClE,yFAA4E;AAG5E;;;;GAIG;AACH,MAAa,kDAA+D,SAAQ,yDAA2B;IAC7G,mEAAmE;IACnE;QACE,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,uCAAuC,EAAE,CAAC,CAAC;IAC1F,CAAC;IAEiB,IAAI,GAAoC,iCAAe,CAAC,eAAe,CAAC;IAE1F,mEAAmE;IACnE,OAAO,GAA8B,EAAE,CAAC;IAExC,8EAA8E;IAC9E,YAAY,GAAmE;QAC7E,KAAK,CAAC,GAAG,CAAC,CAAC;QACX,yFAAyF;QACzF,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,IAAI,EAAE,GAAmE,GAAG,CAAC;QAE5G,KAAK,YAAY,CAAC;QAElB,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAE1B,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;YAClB,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;QACpB,CAAC;IACH,CAAC;CACF;AAzBD,gHAyBC"}
|
|
@@ -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
|
+
import { DyFM_SelectNewOption } from './select-field-new-settings.control-model';
|
|
4
|
+
/**
|
|
5
|
+
* BFR-CREDIT-155 - Forms v2 chip-select settings: ONE choice from a FEW options, all visible at once as chips, one
|
|
6
|
+
* click to choose (`pt-ngx-app-chip-selection`: a few options that fit on chips ⇒ a chip select, not a dropdown).
|
|
7
|
+
* Rendered with the Dynamo chip select (`dynamo-chip-select`); a second click on the chosen chip clears it (`null`).
|
|
8
|
+
* `options` has the same shape as the select's; many options, or ones that do not fit: the select stays right.
|
|
9
|
+
*/
|
|
10
|
+
export declare class DyFM_ChipSelectFieldNew_Settings_ControlModel<T = string> extends DyFM_FieldNew_Settings<T> {
|
|
11
|
+
readonly type: DyFM_Field_Type.chipSelect;
|
|
12
|
+
/** The options, one chip each - the same shape as the select's. */
|
|
13
|
+
options: DyFM_SelectNewOption<T>[];
|
|
14
|
+
/** Initializes the existing defaults and applies caller-provided settings. */
|
|
15
|
+
constructor(set: Partial<DyFM_ChipSelectFieldNew_Settings_ControlModel<T>>);
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=chip-select-field-new-settings.control-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chip-select-field-new-settings.control-model.d.ts","sourceRoot":"","sources":["../../../../../../src/_modules/ngx-models/_models/control-models/forms-new/chip-select-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,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AAEjF;;;;;GAKG;AACH,qBAAa,6CAA6C,CAAC,CAAC,GAAG,MAAM,CAAE,SAAQ,sBAAsB,CAAC,CAAC,CAAC;IAMtG,SAAkB,IAAI,EAAE,eAAe,CAAC,UAAU,CAA8B;IAEhF,mEAAmE;IACnE,OAAO,EAAE,oBAAoB,CAAC,CAAC,CAAC,EAAE,CAAM;IAExC,8EAA8E;gBAClE,GAAG,EAAE,OAAO,CAAC,6CAA6C,CAAC,CAAC,CAAC,CAAC;CAa3E"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DyFM_ChipSelectFieldNew_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-CREDIT-155 - Forms v2 chip-select settings: ONE choice from a FEW options, all visible at once as chips, one
|
|
8
|
+
* click to choose (`pt-ngx-app-chip-selection`: a few options that fit on chips ⇒ a chip select, not a dropdown).
|
|
9
|
+
* Rendered with the Dynamo chip select (`dynamo-chip-select`); a second click on the chosen chip clears it (`null`).
|
|
10
|
+
* `options` has the same shape as the select's; many options, or ones that do not fit: the select stays right.
|
|
11
|
+
*/
|
|
12
|
+
class DyFM_ChipSelectFieldNew_Settings_ControlModel extends field_new_settings_control_model_1.DyFM_FieldNew_Settings {
|
|
13
|
+
// Preserve constructor metadata for consumers of the legacy alias.
|
|
14
|
+
static {
|
|
15
|
+
Object.defineProperty(this, 'name', { value: 'DyFM_ChipSelectFieldNew_Settings' });
|
|
16
|
+
}
|
|
17
|
+
type = field_type_enum_1.DyFM_Field_Type.chipSelect;
|
|
18
|
+
/** The options, one chip each - the same shape as the select's. */
|
|
19
|
+
options = [];
|
|
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
|
+
if (!this.options) {
|
|
28
|
+
this.options = [];
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.DyFM_ChipSelectFieldNew_Settings_ControlModel = DyFM_ChipSelectFieldNew_Settings_ControlModel;
|
|
33
|
+
//# sourceMappingURL=chip-select-field-new-settings.control-model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chip-select-field-new-settings.control-model.js","sourceRoot":"","sources":["../../../../../../src/_modules/ngx-models/_models/control-models/forms-new/chip-select-field-new-settings.control-model.ts"],"names":[],"mappings":";;;AAAA,qEAAkE;AAClE,yFAA4E;AAG5E;;;;;GAKG;AACH,MAAa,6CAA0D,SAAQ,yDAAyB;IACtG,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,mEAAmE;IACnE,OAAO,GAA8B,EAAE,CAAC;IAExC,8EAA8E;IAC9E,YAAY,GAA8D;QACxE,KAAK,CAAC,GAAG,CAAC,CAAC;QACX,yFAAyF;QACzF,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,IAAI,EAAE,GAA8D,GAAG,CAAC;QAEvG,KAAK,YAAY,CAAC;QAElB,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAE1B,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;YAClB,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;QACpB,CAAC;IACH,CAAC;CACF;AAzBD,sGAyBC"}
|
|
@@ -24,6 +24,8 @@ import { DyFM_FilesFieldNew_Settings } from './files-field-new-settings.control-
|
|
|
24
24
|
import { DyFM_NumberRangeFieldNew_Settings } from './number-range-field-new-settings.control-model';
|
|
25
25
|
import { DyFM_FieldAdderFieldNew_Settings } from './field-adder-field-new-settings.control-model';
|
|
26
26
|
import { DyFM_CustomFieldNew_Settings } from './custom-field-new-settings.control-model';
|
|
27
|
+
import { DyFM_ChipSelectFieldNew_Settings_ControlModel } from './chip-select-field-new-settings.control-model';
|
|
28
|
+
import { DyFM_ChipMultiselectFieldNew_Settings_ControlModel } from './chip-multiselect-field-new-settings.control-model';
|
|
27
29
|
/**
|
|
28
30
|
* Forms v2 — Settings-szintű discriminated union.
|
|
29
31
|
*
|
|
@@ -40,8 +42,9 @@ import { DyFM_CustomFieldNew_Settings } from './custom-field-new-settings.contro
|
|
|
40
42
|
* BFR-MYASSISTANT-025 S4.1 (30th slice): fieldAdder (a chooser of optional fields; not a value field).
|
|
41
43
|
* BFR-MYASSISTANT-025 S4.1 (32nd slice): pictures (several images, shown; the value is the list of their contents).
|
|
42
44
|
* BFR-CREDIT-153: custom (rendered by a host-given component, e.g. a third-party payment element).
|
|
45
|
+
* BFR-CREDIT-155: chipSelect, chipMultiselect (a few options as chips, the Dynamo chip select).
|
|
43
46
|
*
|
|
44
47
|
* @see _specifications/forms-v2/02-architecture-spec.md (11. mátrix)
|
|
45
48
|
*/
|
|
46
|
-
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_PicturesFieldNew_Settings | DyFM_FilesFieldNew_Settings | DyFM_NumberRangeFieldNew_Settings | DyFM_FieldAdderFieldNew_Settings | DyFM_CustomFieldNew_Settings<unknown>;
|
|
49
|
+
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_PicturesFieldNew_Settings | DyFM_FilesFieldNew_Settings | DyFM_NumberRangeFieldNew_Settings | DyFM_FieldAdderFieldNew_Settings | DyFM_CustomFieldNew_Settings<unknown> | DyFM_ChipSelectFieldNew_Settings_ControlModel<unknown> | DyFM_ChipMultiselectFieldNew_Settings_ControlModel<unknown>;
|
|
47
50
|
//# 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,8BAA8B,EAAE,MAAM,6CAA6C,CAAC;AAC7F,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AACvF,OAAO,EAAE,iCAAiC,EAAE,MAAM,iDAAiD,CAAC;AACpG,OAAO,EAAE,gCAAgC,EAAE,MAAM,gDAAgD,CAAC;AAClG,OAAO,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,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,8BAA8B,EAAE,MAAM,6CAA6C,CAAC;AAC7F,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAC;AACvF,OAAO,EAAE,iCAAiC,EAAE,MAAM,iDAAiD,CAAC;AACpG,OAAO,EAAE,gCAAgC,EAAE,MAAM,gDAAgD,CAAC;AAClG,OAAO,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAC;AACzF,OAAO,EAAE,6CAA6C,EAAE,MAAM,gDAAgD,CAAC;AAC/G,OAAO,EACL,kDAAkD,EACnD,MAAM,qDAAqD,CAAC;AAE7D;;;;;;;;;;;;;;;;;;;GAmBG;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,8BAA8B,GAC9B,2BAA2B,GAC3B,iCAAiC,GACjC,gCAAgC,GAChC,4BAA4B,CAAC,OAAO,CAAC,GACrC,6CAA6C,CAAC,OAAO,CAAC,GACtD,kDAAkD,CAAC,OAAO,CAAC,CAAC"}
|
|
@@ -27,6 +27,8 @@ export * from './files-field-new-settings.control-model';
|
|
|
27
27
|
export * from './number-range-field-new-settings.control-model';
|
|
28
28
|
export * from './field-adder-field-new-settings.control-model';
|
|
29
29
|
export * from './custom-field-new-settings.control-model';
|
|
30
|
+
export * from './chip-select-field-new-settings.control-model';
|
|
31
|
+
export * from './chip-multiselect-field-new-settings.control-model';
|
|
30
32
|
export * from './form-new-settings.control-model';
|
|
31
33
|
export * from './field-new-types';
|
|
32
34
|
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,6CAA6C,CAAC;AAC5D,cAAc,0CAA0C,CAAC;AACzD,cAAc,iDAAiD,CAAC;AAChE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,2CAA2C,CAAC;AAC1D,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,6CAA6C,CAAC;AAC5D,cAAc,0CAA0C,CAAC;AACzD,cAAc,iDAAiD,CAAC;AAChE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,qDAAqD,CAAC;AACpE,cAAc,mCAAmC,CAAC;AAClD,cAAc,mBAAmB,CAAC;AAClC,cAAc,oCAAoC,CAAC;AACnD,cAAc,2BAA2B,CAAC"}
|
|
@@ -32,6 +32,8 @@ tslib_1.__exportStar(require("./files-field-new-settings.control-model"), export
|
|
|
32
32
|
tslib_1.__exportStar(require("./number-range-field-new-settings.control-model"), exports);
|
|
33
33
|
tslib_1.__exportStar(require("./field-adder-field-new-settings.control-model"), exports);
|
|
34
34
|
tslib_1.__exportStar(require("./custom-field-new-settings.control-model"), exports);
|
|
35
|
+
tslib_1.__exportStar(require("./chip-select-field-new-settings.control-model"), exports);
|
|
36
|
+
tslib_1.__exportStar(require("./chip-multiselect-field-new-settings.control-model"), exports);
|
|
35
37
|
tslib_1.__exportStar(require("./form-new-settings.control-model"), exports);
|
|
36
38
|
tslib_1.__exportStar(require("./field-new-types"), exports);
|
|
37
39
|
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,sFAA4D;AAC5D,mFAAyD;AACzD,0FAAgE;AAChE,yFAA+D;AAC/D,oFAA0D;AAC1D,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,sFAA4D;AAC5D,mFAAyD;AACzD,0FAAgE;AAChE,yFAA+D;AAC/D,oFAA0D;AAC1D,yFAA+D;AAC/D,8FAAoE;AACpE,4EAAkD;AAClD,4DAAkC;AAClC,6EAAmD;AACnD,oEAA0C"}
|
|
@@ -13,6 +13,13 @@ export interface DyFM_SelectNewOption<T> {
|
|
|
13
13
|
disabled?: boolean;
|
|
14
14
|
/** Opcionális leírás (pl. tooltip a chip vagy dropdown alatt). */
|
|
15
15
|
description?: string;
|
|
16
|
+
/**
|
|
17
|
+
* BFR-MASTERPROMPTER-199 - the option IS an image (e.g. one of the generated pictures to pick from): the multiselect
|
|
18
|
+
* shows the image (a preview) in place of the text, and the `label` becomes its `alt` (what a screen reader reads).
|
|
19
|
+
* A resolved URL (the consumer builds it, e.g. from a file id). Only the multiselect renders it; the other option
|
|
20
|
+
* fields show the `label`.
|
|
21
|
+
*/
|
|
22
|
+
imageSrc?: string;
|
|
16
23
|
}
|
|
17
24
|
/**
|
|
18
25
|
* Forms v2 (Wave-1A) — single select field settings.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-field-new-settings.control-model.d.ts","sourceRoot":"","sources":["../../../../../../src/_modules/ngx-models/_models/control-models/forms-new/select-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;;;;;GAKG;AACH,MAAM,WAAW,oBAAoB,CAAC,CAAC;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,CAAC,CAAC;IACT,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kEAAkE;IAClE,WAAW,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"select-field-new-settings.control-model.d.ts","sourceRoot":"","sources":["../../../../../../src/_modules/ngx-models/_models/control-models/forms-new/select-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;;;;;GAKG;AACH,MAAM,WAAW,oBAAoB,CAAC,CAAC;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,CAAC,CAAC;IACT,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kEAAkE;IAClE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;GAMG;AACH,qBAAa,yCAAyC,CAAC,CAAC,GAAG,MAAM,CAAE,SAAQ,sBAAsB,CAAC,CAAC,CAAC;IAMlG,SAAkB,IAAI,EAAE,eAAe,CAAC,MAAM,CAA0B;IAExE,iCAAiC;IACjC,OAAO,EAAE,oBAAoB,CAAC,CAAC,CAAC,EAAE,CAAM;IAExC;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,8EAA8E;gBAClE,GAAG,EAAE,OAAO,CAAC,yCAAyC,CAAC,CAAC,CAAC,CAAC;CAYvE;AAED,mGAAmG;AACnG,OAAO,EAAE,yCAAyC,IAAI,4BAA4B,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-field-new-settings.control-model.js","sourceRoot":"","sources":["../../../../../../src/_modules/ngx-models/_models/control-models/forms-new/select-field-new-settings.control-model.ts"],"names":[],"mappings":";;;AAAA,qEAAkE;AAClE,yFAA4E;
|
|
1
|
+
{"version":3,"file":"select-field-new-settings.control-model.js","sourceRoot":"","sources":["../../../../../../src/_modules/ngx-models/_models/control-models/forms-new/select-field-new-settings.control-model.ts"],"names":[],"mappings":";;;AAAA,qEAAkE;AAClE,yFAA4E;AAwB5E;;;;;;GAMG;AACH,MAAa,yCAAsD,SAAQ,yDAAyB;IAClG,mEAAmE;IACnE;QACE,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,8BAA8B,EAAE,CAAC,CAAC;IACjF,CAAC;IAEiB,IAAI,GAA2B,iCAAe,CAAC,MAAM,CAAC;IAExE,iCAAiC;IACjC,OAAO,GAA8B,EAAE,CAAC;IAExC;;;OAGG;IACH,eAAe,CAAU;IAEzB,8EAA8E;IAC9E,YAAY,GAA0D;QACpE,KAAK,CAAC,GAAG,CAAC,CAAC;QACX,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,IAAI,EAAE,GAA0D,GAAG,CAAC;QAEnG,KAAK,YAAY,CAAC;QAElB,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAE1B,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC;YAClB,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;QACpB,CAAC;IACH,CAAC;CACF;AA9BD,8FA8BC;AAGqD,iFAA4B"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { DyFM_Field_Type } from '../../../_enums/field-type.enum';
|
|
2
|
+
import { DyFM_FieldNew_Settings } from './field-new-settings.control-model';
|
|
3
|
+
/**
|
|
4
|
+
* BFR-CREDIT-155 - Forms v2 chip-multiselect settings: SEVERAL choices from a FEW options, all visible at once as
|
|
5
|
+
* chips (`pt-ngx-app-chip-selection`). Rendered with the Dynamo chip select (`dynamo-chip-select`, `multiple`); the
|
|
6
|
+
* value is the list of the chosen options' values (`T[]`). `options` has the same shape as the select's.
|
|
7
|
+
*/
|
|
8
|
+
export class DyFM_ChipMultiselectFieldNew_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_ChipMultiselectFieldNew_Settings' });
|
|
12
|
+
}
|
|
13
|
+
type = DyFM_Field_Type.chipMultiselect;
|
|
14
|
+
/** The options, one chip each - the same shape as the select's. */
|
|
15
|
+
options = [];
|
|
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
|
+
if (!this.options) {
|
|
24
|
+
this.options = [];
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { DyFM_Field_Type } from '../../../_enums/field-type.enum';
|
|
2
|
+
import { DyFM_FieldNew_Settings } from './field-new-settings.control-model';
|
|
3
|
+
/**
|
|
4
|
+
* BFR-CREDIT-155 - Forms v2 chip-select settings: ONE choice from a FEW options, all visible at once as chips, one
|
|
5
|
+
* click to choose (`pt-ngx-app-chip-selection`: a few options that fit on chips ⇒ a chip select, not a dropdown).
|
|
6
|
+
* Rendered with the Dynamo chip select (`dynamo-chip-select`); a second click on the chosen chip clears it (`null`).
|
|
7
|
+
* `options` has the same shape as the select's; many options, or ones that do not fit: the select stays right.
|
|
8
|
+
*/
|
|
9
|
+
export class DyFM_ChipSelectFieldNew_Settings_ControlModel extends DyFM_FieldNew_Settings {
|
|
10
|
+
// Preserve constructor metadata for consumers of the legacy alias.
|
|
11
|
+
static {
|
|
12
|
+
Object.defineProperty(this, 'name', { value: 'DyFM_ChipSelectFieldNew_Settings' });
|
|
13
|
+
}
|
|
14
|
+
type = DyFM_Field_Type.chipSelect;
|
|
15
|
+
/** The options, one chip each - the same shape as the select's. */
|
|
16
|
+
options = [];
|
|
17
|
+
/** Initializes the existing defaults and applies caller-provided settings. */
|
|
18
|
+
constructor(set) {
|
|
19
|
+
super(set);
|
|
20
|
+
// the readonly discriminator stays the class's own (an Object.assign would overwrite it)
|
|
21
|
+
const { type: _ignoredType, ...rest } = set;
|
|
22
|
+
void _ignoredType;
|
|
23
|
+
Object.assign(this, rest);
|
|
24
|
+
if (!this.options) {
|
|
25
|
+
this.options = [];
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -29,6 +29,8 @@ export * from './files-field-new-settings.control-model';
|
|
|
29
29
|
export * from './number-range-field-new-settings.control-model';
|
|
30
30
|
export * from './field-adder-field-new-settings.control-model';
|
|
31
31
|
export * from './custom-field-new-settings.control-model';
|
|
32
|
+
export * from './chip-select-field-new-settings.control-model';
|
|
33
|
+
export * from './chip-multiselect-field-new-settings.control-model';
|
|
32
34
|
export * from './form-new-settings.control-model';
|
|
33
35
|
export * from './field-new-types';
|
|
34
36
|
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.
|
|
3
|
+
"version": "1.20.197",
|
|
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",
|