@eqproject/eqp-dynamic-module 2.10.19 → 2.10.21
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/esm2020/lib/components/exported/eqp-dynamic-module-configurator/eqp-dynamic-module-configurator.component.mjs +13 -6
- package/esm2020/lib/components/private/add-form-field/add-form-field.component.mjs +58 -7
- package/esm2020/lib/components/private/add-formula-field/add-formula-field.component.mjs +30 -3
- package/esm2020/lib/components/private/dynamic-module-field-extra-fix/dynamic-module-field-extra-fix.component.mjs +3 -3
- package/esm2020/lib/components/private/form-records/list-view-form-record/list-view-form-record.component.mjs +3 -3
- package/esm2020/lib/components/private/graphs/graph/graph.component.mjs +3 -3
- package/esm2020/lib/services/utilityHelper.services.mjs +12 -3
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +115 -21
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +115 -21
- package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/lib/components/exported/eqp-dynamic-module-configurator/eqp-dynamic-module-configurator.component.d.ts +5 -2
- package/lib/components/private/add-form-field/add-form-field.component.d.ts +11 -3
- package/lib/components/private/add-formula-field/add-formula-field.component.d.ts +2 -0
- package/package.json +2 -1
|
@@ -77,7 +77,7 @@ export declare class EqpDynamicModuleConfiguratorComponent implements OnInit {
|
|
|
77
77
|
FormScalarTypeEnum: typeof FormScalarTypeEnum;
|
|
78
78
|
fieldsColumns: Array<ConfigColumn>;
|
|
79
79
|
fieldsTable: EqpTableComponent;
|
|
80
|
-
selectedField: BaseField
|
|
80
|
+
selectedField: BaseField;
|
|
81
81
|
indexSelectedField: number;
|
|
82
82
|
actionOnRecordFormGroup: UntypedFormGroup;
|
|
83
83
|
dialogFieldRef: MatDialogRef<TemplateRef<any>>;
|
|
@@ -183,7 +183,10 @@ export declare class EqpDynamicModuleConfiguratorComponent implements OnInit {
|
|
|
183
183
|
* ricavati unendo le parole che formano la label tramite "_").
|
|
184
184
|
* @param field Campo da salvare
|
|
185
185
|
*/
|
|
186
|
-
onSaveField(
|
|
186
|
+
onSaveField(ev: {
|
|
187
|
+
field: BaseField;
|
|
188
|
+
reopen: number;
|
|
189
|
+
}): void;
|
|
187
190
|
/**
|
|
188
191
|
* Metodo che controlla se lo step per l'aggiunta dei campi nella form è concluso.
|
|
189
192
|
* @returns Se TRUE lo step viene considerato completato ed è possbile passare al successivo.
|
|
@@ -42,7 +42,10 @@ export declare class AddFormFieldComponent implements OnInit {
|
|
|
42
42
|
actionButtons: any;
|
|
43
43
|
formulaObject: any;
|
|
44
44
|
out: EventEmitter<eventOut>;
|
|
45
|
-
saveFieldEvent: EventEmitter<
|
|
45
|
+
saveFieldEvent: EventEmitter<{
|
|
46
|
+
field: BaseField;
|
|
47
|
+
reopen: number;
|
|
48
|
+
}>;
|
|
46
49
|
resizedImagesHeightPx: number;
|
|
47
50
|
fieldFormGroup: UntypedFormGroup;
|
|
48
51
|
keyValueObject: {
|
|
@@ -90,10 +93,12 @@ export declare class AddFormFieldComponent implements OnInit {
|
|
|
90
93
|
dataGetterTemplate: TemplateRef<any>;
|
|
91
94
|
metadataColumns: Array<ConfigColumn>;
|
|
92
95
|
selectedMetadata: BaseField;
|
|
93
|
-
dialogFormulaRef: MatDialogRef<TemplateRef<any>>;
|
|
94
96
|
dialogVisibleIfRef: MatDialogRef<TemplateRef<any>>;
|
|
95
97
|
dialogReadOnlyIfRef: MatDialogRef<TemplateRef<any>>;
|
|
96
98
|
dialogFormula: TemplateRef<any>;
|
|
99
|
+
dialogFormulaRef: MatDialogRef<TemplateRef<any>>;
|
|
100
|
+
dialogAvantiIndietro: TemplateRef<any>;
|
|
101
|
+
dialogAvantiIndietroRef: MatDialogRef<TemplateRef<any>>;
|
|
97
102
|
buttonImagesKeyValueInputColumn: TemplateRef<any>;
|
|
98
103
|
FieldTypeEnum: typeof FieldTypeEnum;
|
|
99
104
|
BoolPresentantioEnum: typeof BoolPresentantioEnum;
|
|
@@ -223,6 +228,9 @@ export declare class AddFormFieldComponent implements OnInit {
|
|
|
223
228
|
*/
|
|
224
229
|
deleteKeyFromDictionary(key: string): void;
|
|
225
230
|
openFormulaDialog(): void;
|
|
231
|
+
avantiIndietro(where: string): void;
|
|
232
|
+
CloseSave(): void;
|
|
233
|
+
Close(): void;
|
|
226
234
|
openVisibleIfDialog(): void;
|
|
227
235
|
openReadOnlyIfDialog(): void;
|
|
228
236
|
openAnswerStyleVisibleIfDialog(): void;
|
|
@@ -238,7 +246,7 @@ export declare class AddFormFieldComponent implements OnInit {
|
|
|
238
246
|
* Una volta aggiunto/aggiornato il campo nell'elenco dei Field della Form chiude il dialog e ricarica la tabella
|
|
239
247
|
* che mostra l'elenco dei campi aggiunti alla form.
|
|
240
248
|
*/
|
|
241
|
-
saveAndExitAddField(save: boolean): void;
|
|
249
|
+
saveAndExitAddField(save: boolean, nextRelativeIndex?: number): void;
|
|
242
250
|
isAnActionKey(key: any, field: ActionButtonField, formulas: Array<any>): boolean;
|
|
243
251
|
setCodeToExtraFields(): void;
|
|
244
252
|
/**
|
|
@@ -20,6 +20,7 @@ export declare class AddFormulaComponent implements OnInit, OnChanges {
|
|
|
20
20
|
formulaObject: any;
|
|
21
21
|
fullFieldMap: Record<string, string[]>;
|
|
22
22
|
filteredFieldMap: Record<string, string[]>;
|
|
23
|
+
error: string;
|
|
23
24
|
constructor(data: any, dialogRef: MatDialogRef<AddFormulaComponent>, dialog: MatDialog);
|
|
24
25
|
ngOnInit(): void;
|
|
25
26
|
clear(): any;
|
|
@@ -37,6 +38,7 @@ export declare class AddFormulaComponent implements OnInit, OnChanges {
|
|
|
37
38
|
addElencoImmagini(nomechiave: any): void;
|
|
38
39
|
onDraggedField(): void;
|
|
39
40
|
onDragStarted(label: any): void;
|
|
41
|
+
chkFormula(formula: string): void;
|
|
40
42
|
save(): void;
|
|
41
43
|
getNestedPropertiesMap(obj: any): Record<string, string[]>;
|
|
42
44
|
getPropertyPaths(obj: any, prefix: string): string[];
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "EqProject"
|
|
6
6
|
},
|
|
7
|
-
"version": "2.10.
|
|
7
|
+
"version": "2.10.21",
|
|
8
8
|
"peerDependencies": {
|
|
9
9
|
"@angular-material-components/datetime-picker": "^15.0.0",
|
|
10
10
|
"@angular-material-components/moment-adapter": "^15.0.0",
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"sweetalert2": "^11.4.24"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
+
"acorn": "^8.15.0",
|
|
19
20
|
"@canvasjs/angular-stockcharts": "^1.1.0",
|
|
20
21
|
"@canvasjs/stockcharts": "^1.7.39",
|
|
21
22
|
"@eqproject/eqp-attachments": "2.1.3",
|