@eqproject/eqp-dynamic-module 2.10.68 → 2.10.70
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/README.md +113 -0
- package/esm2020/lib/components/exported/eqp-dynamic-module-configurator/eqp-dynamic-module-configurator.component.mjs +184 -53
- package/esm2020/lib/components/private/add-form-field/add-form-field.component.mjs +38 -3
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +235 -67
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +221 -55
- 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 +19 -1
- package/lib/components/private/add-form-field/add-form-field.component.d.ts +4 -0
- package/package.json +1 -1
|
@@ -35,6 +35,7 @@ export declare class EqpDynamicModuleConfiguratorComponent implements OnInit, Af
|
|
|
35
35
|
contestualization: Array<Contestualization>;
|
|
36
36
|
formulaObject: any;
|
|
37
37
|
configuratorTheme: Record<string, string> | null;
|
|
38
|
+
configuratorThemeCss: string | null;
|
|
38
39
|
fireTrigger: EventEmitter<FireTrigger>;
|
|
39
40
|
loader: boolean;
|
|
40
41
|
/**
|
|
@@ -85,6 +86,7 @@ export declare class EqpDynamicModuleConfiguratorComponent implements OnInit, Af
|
|
|
85
86
|
get bgAttachmentList(): IAttachmentDTO[];
|
|
86
87
|
onBgImageChange(attachments: IAttachmentDTO[]): void;
|
|
87
88
|
onBgImageDelete(): void;
|
|
89
|
+
private static readonly FIELD_TYPE_LABELS;
|
|
88
90
|
private static readonly FIELD_TYPE_CSS_CLASS;
|
|
89
91
|
private static readonly MODEL_MAP;
|
|
90
92
|
private extractModelFromText;
|
|
@@ -149,8 +151,10 @@ export declare class EqpDynamicModuleConfiguratorComponent implements OnInit, Af
|
|
|
149
151
|
dialogVeReorderRef: MatDialogRef<TemplateRef<any>>;
|
|
150
152
|
veShowGraphicInput: boolean;
|
|
151
153
|
veGraphicHint: string;
|
|
154
|
+
veApplyToAllOfType: boolean;
|
|
152
155
|
veReorderFields: BaseField[];
|
|
153
156
|
private veGraphicSuggestActive;
|
|
157
|
+
get veSelectedFieldTypeName(): string;
|
|
154
158
|
aiEditPrompt: string;
|
|
155
159
|
aiEditAttachments: Array<{
|
|
156
160
|
fileName: string;
|
|
@@ -167,6 +171,11 @@ export declare class EqpDynamicModuleConfiguratorComponent implements OnInit, Af
|
|
|
167
171
|
formGraphicSuggestLoading: boolean;
|
|
168
172
|
formGraphicSuggestHint: string;
|
|
169
173
|
showFormGraphicSuggestInput: boolean;
|
|
174
|
+
formGraphicScope: string;
|
|
175
|
+
presentFieldTypeOptions: {
|
|
176
|
+
value: string;
|
|
177
|
+
label: string;
|
|
178
|
+
}[];
|
|
170
179
|
get aiPromptHistory(): string[];
|
|
171
180
|
private readonly AI_MODIFIER_SKILL_TOKENS;
|
|
172
181
|
private readonly AI_TOKENS_PER_FIELD;
|
|
@@ -181,6 +190,7 @@ export declare class EqpDynamicModuleConfiguratorComponent implements OnInit, Af
|
|
|
181
190
|
constructor(formBuilder: UntypedFormBuilder, dialog: MatDialog, utilityHelperService: UtilityHelperService, sanitizer: DomSanitizer, cdr: ChangeDetectorRef, elementRef: ElementRef);
|
|
182
191
|
ngOnChanges(changes: SimpleChanges): void;
|
|
183
192
|
private applyTheme;
|
|
193
|
+
private parseCssTheme;
|
|
184
194
|
ngAfterViewInit(): void;
|
|
185
195
|
ngOnDestroy(): void;
|
|
186
196
|
ngOnInit(): void;
|
|
@@ -325,6 +335,8 @@ export declare class EqpDynamicModuleConfiguratorComponent implements OnInit, Af
|
|
|
325
335
|
* @param form Form da utilizzare.
|
|
326
336
|
*/
|
|
327
337
|
private setFormAndConfigure;
|
|
338
|
+
toggleFormGraphicSuggestInput(): void;
|
|
339
|
+
private refreshFieldTypeOptions;
|
|
328
340
|
/**
|
|
329
341
|
* Configura le colonne per le tabelle necessarie alla creazione della form:
|
|
330
342
|
* - per la visualizzazione dei campi inseriti
|
|
@@ -451,8 +463,14 @@ export declare class EqpDynamicModuleConfiguratorComponent implements OnInit, Af
|
|
|
451
463
|
veDoSwap(targetField: BaseField): void;
|
|
452
464
|
veCancelSwap(): void;
|
|
453
465
|
veDeleteField(): void;
|
|
466
|
+
private static readonly HINT_PALETTES;
|
|
467
|
+
private static readonly HINT_STYLES;
|
|
468
|
+
private static readonly HINT_ADJECTIVES;
|
|
469
|
+
private buildHintText;
|
|
470
|
+
randomizeHint(): void;
|
|
471
|
+
randomizeVeHint(): void;
|
|
454
472
|
private buildRandomGraphicHint;
|
|
455
473
|
private refreshPreview;
|
|
456
474
|
static ɵfac: i0.ɵɵFactoryDeclaration<EqpDynamicModuleConfiguratorComponent, never>;
|
|
457
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EqpDynamicModuleConfiguratorComponent, "eqp-dynamic-module-configurator", never, { "debugMode": "debugMode"; "fieldsExtraConfig": "fieldsExtraConfig"; "configurations": "configurations"; "formID": "formID"; "viewMode": "viewMode"; "QueryEditorComponent": "QueryEditorComponent"; "triggers": "triggers"; "actionButtons": "actionButtons"; "contestualization": "contestualization"; "formulaObject": "formulaObject"; "configuratorTheme": "configuratorTheme"; }, { "fireTrigger": "fireTrigger"; "saveFormEvent": "saveFormEvent"; "afterSaveFormEvent": "afterSaveFormEvent"; "out": "out"; }, never, never, false, never>;
|
|
475
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EqpDynamicModuleConfiguratorComponent, "eqp-dynamic-module-configurator", never, { "debugMode": "debugMode"; "fieldsExtraConfig": "fieldsExtraConfig"; "configurations": "configurations"; "formID": "formID"; "viewMode": "viewMode"; "QueryEditorComponent": "QueryEditorComponent"; "triggers": "triggers"; "actionButtons": "actionButtons"; "contestualization": "contestualization"; "formulaObject": "formulaObject"; "configuratorTheme": "configuratorTheme"; "configuratorThemeCss": "configuratorThemeCss"; }, { "fireTrigger": "fireTrigger"; "saveFormEvent": "saveFormEvent"; "afterSaveFormEvent": "afterSaveFormEvent"; "out": "out"; }, never, never, false, never>;
|
|
458
476
|
}
|
|
@@ -56,6 +56,10 @@ export declare class AddFormFieldComponent implements OnInit {
|
|
|
56
56
|
aiFieldSuggestLoading: boolean;
|
|
57
57
|
showGraphicSuggestInput: boolean;
|
|
58
58
|
graphicSuggestHint: string;
|
|
59
|
+
private static readonly HINT_PALETTES;
|
|
60
|
+
private static readonly HINT_STYLES;
|
|
61
|
+
private static readonly HINT_ADJECTIVES;
|
|
62
|
+
randomizeGraphicHint(): void;
|
|
59
63
|
private ensureFieldCode;
|
|
60
64
|
onOpenAiEditForField(): void;
|
|
61
65
|
onGraphicSuggest(): void;
|