@eqproject/eqp-dynamic-module 2.10.67 → 2.10.69

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.
@@ -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;
@@ -0,0 +1,7 @@
1
+ import { Form } from '../models/form.model';
2
+ /**
3
+ * Scansiona tutte le stringhe CSS del form (ThemeCSS, TitleCSS, FieldStyleCSS tipizzati)
4
+ * ed inietta un <link> a Google Fonts per ogni font non-di-sistema trovato.
5
+ * Idempotente: non aggiunge link già presenti nel DOM.
6
+ */
7
+ export declare function injectGoogleFontsFromForm(form: Form | null | undefined): void;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "author": {
5
5
  "name": "EqProject"
6
6
  },
7
- "version": "2.10.67",
7
+ "version": "2.10.69",
8
8
  "peerDependencies": {
9
9
  "@angular-material-components/datetime-picker": "^15.0.0",
10
10
  "@angular-material-components/moment-adapter": "^15.0.0",