@wemake4u/form-player-se 1.0.41 → 1.0.43
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/esm2022/lib/builtIn/builtIn.mjs +4 -2
- package/esm2022/lib/builtIn/dialog.json +7 -0
- package/esm2022/lib/builtIn/form.json +12 -0
- package/esm2022/lib/builtIn/function.json +22 -0
- package/esm2022/lib/builtIn/json.json +30 -0
- package/esm2022/lib/controls/button.mjs +4 -1
- package/esm2022/lib/controls/checkbox.mjs +4 -1
- package/esm2022/lib/controls/checklist.mjs +6 -3
- package/esm2022/lib/controls/chipchecklist.mjs +6 -3
- package/esm2022/lib/controls/chipradio.mjs +6 -3
- package/esm2022/lib/controls/date.mjs +4 -1
- package/esm2022/lib/controls/datetime.mjs +4 -0
- package/esm2022/lib/controls/factory.mjs +4 -1
- package/esm2022/lib/controls/filepicker.mjs +4 -1
- package/esm2022/lib/controls/number.mjs +4 -1
- package/esm2022/lib/controls/radio.mjs +6 -3
- package/esm2022/lib/controls/select.mjs +6 -3
- package/esm2022/lib/controls/taglist.mjs +6 -3
- package/esm2022/lib/controls/textarea.mjs +4 -1
- package/esm2022/lib/controls/textfield.mjs +4 -1
- package/esm2022/lib/controls/time.mjs +4 -1
- package/esm2022/lib/dialog/dialog.component.mjs +3 -3
- package/esm2022/lib/directives/dialog.directive.mjs +7 -2
- package/esm2022/lib/directives/repeat.directive.mjs +6 -3
- package/esm2022/lib/dynamic-fields/dynamic-fields.component.mjs +122 -27
- package/esm2022/lib/dynamic-form/dynamic-form.component.mjs +33 -312
- package/esm2022/lib/locale/locale-de.mjs +6 -2
- package/esm2022/lib/locale/locale-en.mjs +5 -1
- package/esm2022/lib/locale/locale-es.mjs +6 -2
- package/esm2022/lib/locale/locale-fr.mjs +6 -2
- package/esm2022/lib/locale/locale-it.mjs +6 -2
- package/esm2022/lib/locale/locale-pt.mjs +6 -2
- package/esm2022/lib/services/builder.service.mjs +347 -0
- package/esm2022/lib/services/dialog.service.mjs +13 -1
- package/esm2022/lib/services/form.service.mjs +45 -13
- package/esm2022/lib/services/function.service.mjs +6 -1
- package/esm2022/lib/services/json.service.mjs +47 -0
- package/esm2022/lib/services/programmability.service.mjs +21 -45
- package/esm2022/lib/services/scope.service.mjs +4 -7
- package/esm2022/lib/services/status.service.mjs +35 -18
- package/esm2022/lib/utils/FormGroupEx.mjs +52 -0
- package/esm2022/lib/utils/groupByRow.mjs +2 -2
- package/esm2022/lib/utils/patch.mjs +2 -2
- package/esm2022/lib/utils/window.mjs +40 -0
- package/esm2022/public-api.mjs +1 -2
- package/fesm2022/wemake4u-form-player-se.mjs +1824 -1390
- package/fesm2022/wemake4u-form-player-se.mjs.map +1 -1
- package/lib/components/deleteRowRenderer/deleteRowRenderer.component.d.ts +4 -0
- package/lib/components/objectURLRenderer/objectURLRenderer.component.d.ts +4 -0
- package/lib/components/setFilter/setFilter.component.d.ts +4 -0
- package/lib/controls/button.d.ts +1 -0
- package/lib/controls/checkbox.d.ts +1 -0
- package/lib/controls/checklist.d.ts +2 -1
- package/lib/controls/chipchecklist.d.ts +2 -1
- package/lib/controls/chipradio.d.ts +2 -1
- package/lib/controls/date.d.ts +1 -0
- package/lib/controls/datetime.d.ts +3 -0
- package/lib/controls/filepicker.d.ts +1 -0
- package/lib/controls/number.d.ts +1 -0
- package/lib/controls/radio.d.ts +2 -1
- package/lib/controls/select.d.ts +2 -1
- package/lib/controls/taglist.d.ts +2 -1
- package/lib/controls/textarea.d.ts +1 -0
- package/lib/controls/textfield.d.ts +1 -0
- package/lib/controls/time.d.ts +1 -0
- package/lib/dialog/dialog.component.d.ts +28 -0
- package/lib/dynamic-fields/dynamic-fields.component.d.ts +51 -10
- package/lib/dynamic-form/dynamic-form.component.d.ts +36 -23
- package/lib/locale/locale-de.d.ts +4 -0
- package/lib/locale/locale-en.d.ts +4 -0
- package/lib/locale/locale-es.d.ts +4 -0
- package/lib/locale/locale-fr.d.ts +4 -0
- package/lib/locale/locale-it.d.ts +4 -0
- package/lib/locale/locale-pt.d.ts +4 -0
- package/lib/locale/locale.d.ts +28 -0
- package/lib/services/builder.service.d.ts +43 -0
- package/lib/services/dialog.service.d.ts +2 -0
- package/lib/services/form.service.d.ts +2 -1
- package/lib/services/function.service.d.ts +2 -0
- package/lib/services/json.service.d.ts +10 -0
- package/lib/services/programmability.service.d.ts +6 -2
- package/lib/services/status.service.d.ts +3 -4
- package/lib/utils/FormGroupEx.d.ts +18 -0
- package/lib/utils/window.d.ts +18 -0
- package/package.json +1 -1
- package/public-api.d.ts +0 -1
- package/esm2022/lib/utils/extractFiles.mjs +0 -30
- package/esm2022/lib/utils/toFormData.mjs +0 -11
- package/lib/utils/extractFiles.d.ts +0 -4
- package/lib/utils/toFormData.d.ts +0 -1
|
@@ -45,6 +45,10 @@ export declare class DeleteRowRendererComponent implements ICellRendererAngularC
|
|
|
45
45
|
MoveDown: string;
|
|
46
46
|
NoData: string;
|
|
47
47
|
RequiredField: string;
|
|
48
|
+
PreviousElement: string;
|
|
49
|
+
NextElement: string;
|
|
50
|
+
Elements: string;
|
|
51
|
+
Of: string;
|
|
48
52
|
};
|
|
49
53
|
agInit(params: any): void;
|
|
50
54
|
onClick(event: Event): void;
|
|
@@ -46,6 +46,10 @@ export declare class ObjectURLRendererComponent implements ICellRendererAngularC
|
|
|
46
46
|
MoveDown: string;
|
|
47
47
|
NoData: string;
|
|
48
48
|
RequiredField: string;
|
|
49
|
+
PreviousElement: string;
|
|
50
|
+
NextElement: string;
|
|
51
|
+
Elements: string;
|
|
52
|
+
Of: string;
|
|
49
53
|
};
|
|
50
54
|
agInit(params: ICellRendererParams): void;
|
|
51
55
|
onClick(event: Event): void;
|
|
@@ -47,6 +47,10 @@ export declare class SetFilterComponent implements IFilterAngularComp {
|
|
|
47
47
|
MoveDown: string;
|
|
48
48
|
NoData: string;
|
|
49
49
|
RequiredField: string;
|
|
50
|
+
PreviousElement: string;
|
|
51
|
+
NextElement: string;
|
|
52
|
+
Elements: string;
|
|
53
|
+
Of: string;
|
|
50
54
|
};
|
|
51
55
|
selectAll: boolean;
|
|
52
56
|
searchText: string;
|
package/lib/controls/button.d.ts
CHANGED
package/lib/controls/date.d.ts
CHANGED
package/lib/controls/number.d.ts
CHANGED
package/lib/controls/radio.d.ts
CHANGED
package/lib/controls/select.d.ts
CHANGED
package/lib/controls/time.d.ts
CHANGED
|
@@ -52,6 +52,10 @@ export declare class DialogComponent extends SirioDialogElement {
|
|
|
52
52
|
MoveDown: string;
|
|
53
53
|
NoData: string;
|
|
54
54
|
RequiredField: string;
|
|
55
|
+
PreviousElement: string;
|
|
56
|
+
NextElement: string;
|
|
57
|
+
Elements: string;
|
|
58
|
+
Of: string;
|
|
55
59
|
};
|
|
56
60
|
en: {
|
|
57
61
|
TypeToSearch: string;
|
|
@@ -96,6 +100,10 @@ export declare class DialogComponent extends SirioDialogElement {
|
|
|
96
100
|
MoveDown: string;
|
|
97
101
|
NoData: string;
|
|
98
102
|
RequiredField: string;
|
|
103
|
+
PreviousElement: string;
|
|
104
|
+
NextElement: string;
|
|
105
|
+
Elements: string;
|
|
106
|
+
Of: string;
|
|
99
107
|
};
|
|
100
108
|
de: {
|
|
101
109
|
TypeToSearch: string;
|
|
@@ -140,6 +148,10 @@ export declare class DialogComponent extends SirioDialogElement {
|
|
|
140
148
|
MoveDown: string;
|
|
141
149
|
NoData: string;
|
|
142
150
|
RequiredField: string;
|
|
151
|
+
PreviousElement: string;
|
|
152
|
+
NextElement: string;
|
|
153
|
+
Elements: string;
|
|
154
|
+
Of: string;
|
|
143
155
|
};
|
|
144
156
|
fr: {
|
|
145
157
|
TypeToSearch: string;
|
|
@@ -184,6 +196,10 @@ export declare class DialogComponent extends SirioDialogElement {
|
|
|
184
196
|
MoveDown: string;
|
|
185
197
|
NoData: string;
|
|
186
198
|
RequiredField: string;
|
|
199
|
+
PreviousElement: string;
|
|
200
|
+
NextElement: string;
|
|
201
|
+
Elements: string;
|
|
202
|
+
Of: string;
|
|
187
203
|
};
|
|
188
204
|
es: {
|
|
189
205
|
TypeToSearch: string;
|
|
@@ -228,6 +244,10 @@ export declare class DialogComponent extends SirioDialogElement {
|
|
|
228
244
|
MoveDown: string;
|
|
229
245
|
NoData: string;
|
|
230
246
|
RequiredField: string;
|
|
247
|
+
PreviousElement: string;
|
|
248
|
+
NextElement: string;
|
|
249
|
+
Elements: string;
|
|
250
|
+
Of: string;
|
|
231
251
|
};
|
|
232
252
|
pt: {
|
|
233
253
|
TypeToSearch: string;
|
|
@@ -272,6 +292,10 @@ export declare class DialogComponent extends SirioDialogElement {
|
|
|
272
292
|
MoveDown: string;
|
|
273
293
|
NoData: string;
|
|
274
294
|
RequiredField: string;
|
|
295
|
+
PreviousElement: string;
|
|
296
|
+
NextElement: string;
|
|
297
|
+
Elements: string;
|
|
298
|
+
Of: string;
|
|
275
299
|
};
|
|
276
300
|
};
|
|
277
301
|
TypeToSearch: string;
|
|
@@ -316,6 +340,10 @@ export declare class DialogComponent extends SirioDialogElement {
|
|
|
316
340
|
MoveDown: string;
|
|
317
341
|
NoData: string;
|
|
318
342
|
RequiredField: string;
|
|
343
|
+
PreviousElement: string;
|
|
344
|
+
NextElement: string;
|
|
345
|
+
Elements: string;
|
|
346
|
+
Of: string;
|
|
319
347
|
};
|
|
320
348
|
constructor(languageService: LanguageService);
|
|
321
349
|
ngOnInit(): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit, ElementRef, AfterViewInit } from '@angular/core';
|
|
1
|
+
import { OnInit, ElementRef, AfterViewInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { IDynamicFieldsComponent } from './dynamic-fields.interface';
|
|
3
3
|
import { FormGroup, FormArray, AbstractControl } from '@angular/forms';
|
|
4
4
|
import { SafeHtml, SafeResourceUrl } from '@angular/platform-browser';
|
|
@@ -15,15 +15,14 @@ import { FormService } from '../services/form.service';
|
|
|
15
15
|
import { GridService } from '../services/grid.service';
|
|
16
16
|
import { ChartService } from '../services/chart.service';
|
|
17
17
|
import { AutoFocusService } from '../services/autofocus.service';
|
|
18
|
-
import { ButtonColors } from 'ngx-sirio-lib';
|
|
19
18
|
import { Observable } from 'rxjs';
|
|
20
|
-
import { SirioFileUploadComponent, NgxSirioEvent } from 'ngx-sirio-lib';
|
|
19
|
+
import { SirioFileUploadComponent, NgxSirioEvent, ButtonColors } from 'ngx-sirio-lib';
|
|
21
20
|
import { Module, GridOptions } from 'ag-grid-community';
|
|
22
21
|
import { AgChartOptions } from 'ag-charts-community';
|
|
23
22
|
import { LanguageService } from '@wemake4u/interact';
|
|
24
23
|
import { DynamicFormComponent } from '../dynamic-form/dynamic-form.component';
|
|
25
24
|
import * as i0 from "@angular/core";
|
|
26
|
-
export declare class DynamicFieldsComponent implements OnInit, AfterViewInit, IDynamicFieldsComponent {
|
|
25
|
+
export declare class DynamicFieldsComponent implements OnInit, OnChanges, AfterViewInit, IDynamicFieldsComponent {
|
|
27
26
|
private sanitizer;
|
|
28
27
|
private markdown;
|
|
29
28
|
private mime;
|
|
@@ -92,6 +91,10 @@ export declare class DynamicFieldsComponent implements OnInit, AfterViewInit, ID
|
|
|
92
91
|
MoveDown: string;
|
|
93
92
|
NoData: string;
|
|
94
93
|
RequiredField: string;
|
|
94
|
+
PreviousElement: string;
|
|
95
|
+
NextElement: string;
|
|
96
|
+
Elements: string;
|
|
97
|
+
Of: string;
|
|
95
98
|
};
|
|
96
99
|
en: {
|
|
97
100
|
TypeToSearch: string;
|
|
@@ -136,6 +139,10 @@ export declare class DynamicFieldsComponent implements OnInit, AfterViewInit, ID
|
|
|
136
139
|
MoveDown: string;
|
|
137
140
|
NoData: string;
|
|
138
141
|
RequiredField: string;
|
|
142
|
+
PreviousElement: string;
|
|
143
|
+
NextElement: string;
|
|
144
|
+
Elements: string;
|
|
145
|
+
Of: string;
|
|
139
146
|
};
|
|
140
147
|
de: {
|
|
141
148
|
TypeToSearch: string;
|
|
@@ -180,6 +187,10 @@ export declare class DynamicFieldsComponent implements OnInit, AfterViewInit, ID
|
|
|
180
187
|
MoveDown: string;
|
|
181
188
|
NoData: string;
|
|
182
189
|
RequiredField: string;
|
|
190
|
+
PreviousElement: string;
|
|
191
|
+
NextElement: string;
|
|
192
|
+
Elements: string;
|
|
193
|
+
Of: string;
|
|
183
194
|
};
|
|
184
195
|
fr: {
|
|
185
196
|
TypeToSearch: string;
|
|
@@ -224,6 +235,10 @@ export declare class DynamicFieldsComponent implements OnInit, AfterViewInit, ID
|
|
|
224
235
|
MoveDown: string;
|
|
225
236
|
NoData: string;
|
|
226
237
|
RequiredField: string;
|
|
238
|
+
PreviousElement: string;
|
|
239
|
+
NextElement: string;
|
|
240
|
+
Elements: string;
|
|
241
|
+
Of: string;
|
|
227
242
|
};
|
|
228
243
|
es: {
|
|
229
244
|
TypeToSearch: string;
|
|
@@ -268,6 +283,10 @@ export declare class DynamicFieldsComponent implements OnInit, AfterViewInit, ID
|
|
|
268
283
|
MoveDown: string;
|
|
269
284
|
NoData: string;
|
|
270
285
|
RequiredField: string;
|
|
286
|
+
PreviousElement: string;
|
|
287
|
+
NextElement: string;
|
|
288
|
+
Elements: string;
|
|
289
|
+
Of: string;
|
|
271
290
|
};
|
|
272
291
|
pt: {
|
|
273
292
|
TypeToSearch: string;
|
|
@@ -312,6 +331,10 @@ export declare class DynamicFieldsComponent implements OnInit, AfterViewInit, ID
|
|
|
312
331
|
MoveDown: string;
|
|
313
332
|
NoData: string;
|
|
314
333
|
RequiredField: string;
|
|
334
|
+
PreviousElement: string;
|
|
335
|
+
NextElement: string;
|
|
336
|
+
Elements: string;
|
|
337
|
+
Of: string;
|
|
315
338
|
};
|
|
316
339
|
};
|
|
317
340
|
TypeToSearch: string;
|
|
@@ -356,12 +379,16 @@ export declare class DynamicFieldsComponent implements OnInit, AfterViewInit, ID
|
|
|
356
379
|
MoveDown: string;
|
|
357
380
|
NoData: string;
|
|
358
381
|
RequiredField: string;
|
|
382
|
+
PreviousElement: string;
|
|
383
|
+
NextElement: string;
|
|
384
|
+
Elements: string;
|
|
385
|
+
Of: string;
|
|
359
386
|
};
|
|
360
387
|
constructor(sanitizer: SanitizeService, markdown: MarkdownService, mime: MimeService, programmability: ProgrammabilityService, weak: WeakService, register: RegisterService, metadata: MetadataService, languageService: LanguageService, global: GlobalService, formService: FormService, grid: GridService, chart: ChartService, dialog: DialogService, autoFocus: AutoFocusService, el: ElementRef);
|
|
361
388
|
ngOnInit(): void;
|
|
389
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
362
390
|
ngAfterViewInit(): void;
|
|
363
391
|
getRegister(): RegisterService;
|
|
364
|
-
getClass(component: any): string;
|
|
365
392
|
getTextFeedback(component: any): string;
|
|
366
393
|
isWarning(component: any): boolean;
|
|
367
394
|
locale(component: any, key: string): string;
|
|
@@ -400,6 +427,8 @@ export declare class DynamicFieldsComponent implements OnInit, AfterViewInit, ID
|
|
|
400
427
|
refreshRowSource(component: any): () => void;
|
|
401
428
|
addItem(formArray: FormArray): void;
|
|
402
429
|
removeItem(formArray: FormArray, index: number, withConfirm: boolean): void;
|
|
430
|
+
navigationIndex: number;
|
|
431
|
+
navigateItem(formArray: FormArray, delta?: number): void;
|
|
403
432
|
moveUpItem(formArray: FormArray, index: number): void;
|
|
404
433
|
moveDownItem(formArray: FormArray, index: number): void;
|
|
405
434
|
createUploadTables(component: any): any;
|
|
@@ -408,12 +437,23 @@ export declare class DynamicFieldsComponent implements OnInit, AfterViewInit, ID
|
|
|
408
437
|
getGroupOutline(component: any): {
|
|
409
438
|
'group-outline': boolean;
|
|
410
439
|
};
|
|
411
|
-
|
|
412
|
-
|
|
440
|
+
getFormClass(): {
|
|
441
|
+
"df-components": boolean;
|
|
442
|
+
"valign-start": boolean;
|
|
443
|
+
"valign-center": boolean;
|
|
444
|
+
"valign-end": boolean;
|
|
413
445
|
};
|
|
414
|
-
|
|
415
|
-
[x: string]:
|
|
446
|
+
getComponentClass(component: any): {
|
|
447
|
+
[x: string]: any;
|
|
448
|
+
"col-host": boolean;
|
|
449
|
+
col: boolean;
|
|
450
|
+
"component-start": boolean;
|
|
451
|
+
"component-center": boolean;
|
|
452
|
+
"component-end": boolean;
|
|
416
453
|
};
|
|
454
|
+
getComponentStyle(component: any): {
|
|
455
|
+
[key: string]: string;
|
|
456
|
+
} | null;
|
|
417
457
|
getTextAlignment(component: any): string;
|
|
418
458
|
getHorizontalAlignment(component: any): {
|
|
419
459
|
"horizontal-left": boolean;
|
|
@@ -425,10 +465,11 @@ export declare class DynamicFieldsComponent implements OnInit, AfterViewInit, ID
|
|
|
425
465
|
getPanels(component: any): Observable<any>;
|
|
426
466
|
private noData;
|
|
427
467
|
private get language();
|
|
428
|
-
private getAlignmentRules;
|
|
429
468
|
private invalidate;
|
|
430
469
|
private getControlFromPath;
|
|
431
470
|
private getAsObservable;
|
|
471
|
+
private applyCssClasses;
|
|
472
|
+
private applyInlineStyles;
|
|
432
473
|
private configureDatepicker;
|
|
433
474
|
private markForAutoFocus;
|
|
434
475
|
private requireAutoFocus;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { OnChanges, OnDestroy, SimpleChanges, EventEmitter, ElementRef, Injector } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { FormGroupMode } from '../utils/FormGroupEx';
|
|
4
|
+
import { FormBuilderService } from '../services/builder.service';
|
|
3
5
|
import { IEvaluatorProvider, ProgrammabilityService } from '../services/programmability.service';
|
|
4
6
|
import { ValidationService } from '../services/validation.service';
|
|
5
|
-
import { DisableService } from '../services/disable.service';
|
|
6
7
|
import { StatusService } from '../services/status.service';
|
|
7
8
|
import { EventService } from '../services/event.service';
|
|
8
|
-
import { ComputeService } from '../services/compute.service';
|
|
9
9
|
import { MetadataService } from '../services/metadata.service';
|
|
10
10
|
import { FormService } from '../services/form.service';
|
|
11
11
|
import { DialogService, FormDialogOptions } from '../services/dialog.service';
|
|
@@ -16,11 +16,9 @@ import { Control } from '../controls/control';
|
|
|
16
16
|
import { LanguageService } from '@wemake4u/interact';
|
|
17
17
|
import * as i0 from "@angular/core";
|
|
18
18
|
export declare class DynamicFormComponent implements OnChanges, OnDestroy, IEvaluatorProvider {
|
|
19
|
-
private fb;
|
|
20
19
|
private programmability;
|
|
20
|
+
private formBuilder;
|
|
21
21
|
private validationService;
|
|
22
|
-
private disableService;
|
|
23
|
-
private computeService;
|
|
24
22
|
private statusService;
|
|
25
23
|
private eventService;
|
|
26
24
|
private registerService;
|
|
@@ -40,11 +38,13 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy, IEval
|
|
|
40
38
|
showProgress: boolean;
|
|
41
39
|
showFormTitle: boolean;
|
|
42
40
|
progressStatus: boolean;
|
|
41
|
+
navSize: 'normal' | 'small';
|
|
42
|
+
groupMode: FormGroupMode;
|
|
43
43
|
valueChange: EventEmitter<any>;
|
|
44
44
|
initialized: EventEmitter<FormGroup<any>>;
|
|
45
45
|
activeNavChange: EventEmitter<any>;
|
|
46
46
|
formDiv: ElementRef<HTMLDivElement>;
|
|
47
|
-
constructor(
|
|
47
|
+
constructor(programmability: ProgrammabilityService, formBuilder: FormBuilderService, validationService: ValidationService, statusService: StatusService, eventService: EventService, registerService: RegisterService, languageService: LanguageService, subscribeService: SubscribeService, metadata: MetadataService, formService: FormService, dialog: DialogService, injector: Injector);
|
|
48
48
|
Texts: {
|
|
49
49
|
i18n: {
|
|
50
50
|
it: {
|
|
@@ -90,6 +90,10 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy, IEval
|
|
|
90
90
|
MoveDown: string;
|
|
91
91
|
NoData: string;
|
|
92
92
|
RequiredField: string;
|
|
93
|
+
PreviousElement: string;
|
|
94
|
+
NextElement: string;
|
|
95
|
+
Elements: string;
|
|
96
|
+
Of: string;
|
|
93
97
|
};
|
|
94
98
|
en: {
|
|
95
99
|
TypeToSearch: string;
|
|
@@ -134,6 +138,10 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy, IEval
|
|
|
134
138
|
MoveDown: string;
|
|
135
139
|
NoData: string;
|
|
136
140
|
RequiredField: string;
|
|
141
|
+
PreviousElement: string;
|
|
142
|
+
NextElement: string;
|
|
143
|
+
Elements: string;
|
|
144
|
+
Of: string;
|
|
137
145
|
};
|
|
138
146
|
de: {
|
|
139
147
|
TypeToSearch: string;
|
|
@@ -178,6 +186,10 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy, IEval
|
|
|
178
186
|
MoveDown: string;
|
|
179
187
|
NoData: string;
|
|
180
188
|
RequiredField: string;
|
|
189
|
+
PreviousElement: string;
|
|
190
|
+
NextElement: string;
|
|
191
|
+
Elements: string;
|
|
192
|
+
Of: string;
|
|
181
193
|
};
|
|
182
194
|
fr: {
|
|
183
195
|
TypeToSearch: string;
|
|
@@ -222,6 +234,10 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy, IEval
|
|
|
222
234
|
MoveDown: string;
|
|
223
235
|
NoData: string;
|
|
224
236
|
RequiredField: string;
|
|
237
|
+
PreviousElement: string;
|
|
238
|
+
NextElement: string;
|
|
239
|
+
Elements: string;
|
|
240
|
+
Of: string;
|
|
225
241
|
};
|
|
226
242
|
es: {
|
|
227
243
|
TypeToSearch: string;
|
|
@@ -266,6 +282,10 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy, IEval
|
|
|
266
282
|
MoveDown: string;
|
|
267
283
|
NoData: string;
|
|
268
284
|
RequiredField: string;
|
|
285
|
+
PreviousElement: string;
|
|
286
|
+
NextElement: string;
|
|
287
|
+
Elements: string;
|
|
288
|
+
Of: string;
|
|
269
289
|
};
|
|
270
290
|
pt: {
|
|
271
291
|
TypeToSearch: string;
|
|
@@ -310,6 +330,10 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy, IEval
|
|
|
310
330
|
MoveDown: string;
|
|
311
331
|
NoData: string;
|
|
312
332
|
RequiredField: string;
|
|
333
|
+
PreviousElement: string;
|
|
334
|
+
NextElement: string;
|
|
335
|
+
Elements: string;
|
|
336
|
+
Of: string;
|
|
313
337
|
};
|
|
314
338
|
};
|
|
315
339
|
TypeToSearch: string;
|
|
@@ -354,6 +378,10 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy, IEval
|
|
|
354
378
|
MoveDown: string;
|
|
355
379
|
NoData: string;
|
|
356
380
|
RequiredField: string;
|
|
381
|
+
PreviousElement: string;
|
|
382
|
+
NextElement: string;
|
|
383
|
+
Elements: string;
|
|
384
|
+
Of: string;
|
|
357
385
|
};
|
|
358
386
|
ngOnDestroy(): void;
|
|
359
387
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -403,21 +431,6 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy, IEval
|
|
|
403
431
|
private isInactive;
|
|
404
432
|
private clearControls;
|
|
405
433
|
private clearFormArrays;
|
|
406
|
-
private buildForm;
|
|
407
|
-
private addControls;
|
|
408
|
-
private createFormArray;
|
|
409
|
-
private resizeFormArray;
|
|
410
|
-
private hasPath;
|
|
411
|
-
private applyPath;
|
|
412
|
-
private isFormComponent;
|
|
413
|
-
private isContainerComponent;
|
|
414
|
-
private isComponentWithInput;
|
|
415
|
-
private isArrayComponent;
|
|
416
|
-
private getArrayItem;
|
|
417
|
-
private getContainers;
|
|
418
|
-
private getUpdateOn;
|
|
419
|
-
private getDefaultValue;
|
|
420
|
-
private splitPath;
|
|
421
434
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFormComponent, never>;
|
|
422
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFormComponent, "app-dynamic-form", never, { "schema": { "alias": "schema"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "strict": { "alias": "strict"; "required": false; }; "showNav": { "alias": "showNav"; "required": false; }; "showNavButton": { "alias": "showNavButton"; "required": false; }; "showProgress": { "alias": "showProgress"; "required": false; }; "showFormTitle": { "alias": "showFormTitle"; "required": false; }; "progressStatus": { "alias": "progressStatus"; "required": false; }; "activeNav": { "alias": "activeNav"; "required": false; }; }, { "valueChange": "valueChange"; "initialized": "initialized"; "activeNavChange": "activeNavChange"; }, never, never, true, never>;
|
|
435
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFormComponent, "app-dynamic-form", never, { "schema": { "alias": "schema"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "value": { "alias": "value"; "required": false; }; "strict": { "alias": "strict"; "required": false; }; "showNav": { "alias": "showNav"; "required": false; }; "showNavButton": { "alias": "showNavButton"; "required": false; }; "showProgress": { "alias": "showProgress"; "required": false; }; "showFormTitle": { "alias": "showFormTitle"; "required": false; }; "progressStatus": { "alias": "progressStatus"; "required": false; }; "navSize": { "alias": "navSize"; "required": false; }; "groupMode": { "alias": "groupMode"; "required": false; }; "activeNav": { "alias": "activeNav"; "required": false; }; }, { "valueChange": "valueChange"; "initialized": "initialized"; "activeNavChange": "activeNavChange"; }, never, never, true, never>;
|
|
423
436
|
}
|
package/lib/locale/locale.d.ts
CHANGED
|
@@ -43,6 +43,10 @@ export declare const Texts: {
|
|
|
43
43
|
MoveDown: string;
|
|
44
44
|
NoData: string;
|
|
45
45
|
RequiredField: string;
|
|
46
|
+
PreviousElement: string;
|
|
47
|
+
NextElement: string;
|
|
48
|
+
Elements: string;
|
|
49
|
+
Of: string;
|
|
46
50
|
};
|
|
47
51
|
en: {
|
|
48
52
|
TypeToSearch: string;
|
|
@@ -87,6 +91,10 @@ export declare const Texts: {
|
|
|
87
91
|
MoveDown: string;
|
|
88
92
|
NoData: string;
|
|
89
93
|
RequiredField: string;
|
|
94
|
+
PreviousElement: string;
|
|
95
|
+
NextElement: string;
|
|
96
|
+
Elements: string;
|
|
97
|
+
Of: string;
|
|
90
98
|
};
|
|
91
99
|
de: {
|
|
92
100
|
TypeToSearch: string;
|
|
@@ -131,6 +139,10 @@ export declare const Texts: {
|
|
|
131
139
|
MoveDown: string;
|
|
132
140
|
NoData: string;
|
|
133
141
|
RequiredField: string;
|
|
142
|
+
PreviousElement: string;
|
|
143
|
+
NextElement: string;
|
|
144
|
+
Elements: string;
|
|
145
|
+
Of: string;
|
|
134
146
|
};
|
|
135
147
|
fr: {
|
|
136
148
|
TypeToSearch: string;
|
|
@@ -175,6 +187,10 @@ export declare const Texts: {
|
|
|
175
187
|
MoveDown: string;
|
|
176
188
|
NoData: string;
|
|
177
189
|
RequiredField: string;
|
|
190
|
+
PreviousElement: string;
|
|
191
|
+
NextElement: string;
|
|
192
|
+
Elements: string;
|
|
193
|
+
Of: string;
|
|
178
194
|
};
|
|
179
195
|
es: {
|
|
180
196
|
TypeToSearch: string;
|
|
@@ -219,6 +235,10 @@ export declare const Texts: {
|
|
|
219
235
|
MoveDown: string;
|
|
220
236
|
NoData: string;
|
|
221
237
|
RequiredField: string;
|
|
238
|
+
PreviousElement: string;
|
|
239
|
+
NextElement: string;
|
|
240
|
+
Elements: string;
|
|
241
|
+
Of: string;
|
|
222
242
|
};
|
|
223
243
|
pt: {
|
|
224
244
|
TypeToSearch: string;
|
|
@@ -263,6 +283,10 @@ export declare const Texts: {
|
|
|
263
283
|
MoveDown: string;
|
|
264
284
|
NoData: string;
|
|
265
285
|
RequiredField: string;
|
|
286
|
+
PreviousElement: string;
|
|
287
|
+
NextElement: string;
|
|
288
|
+
Elements: string;
|
|
289
|
+
Of: string;
|
|
266
290
|
};
|
|
267
291
|
};
|
|
268
292
|
TypeToSearch: string;
|
|
@@ -307,4 +331,8 @@ export declare const Texts: {
|
|
|
307
331
|
MoveDown: string;
|
|
308
332
|
NoData: string;
|
|
309
333
|
RequiredField: string;
|
|
334
|
+
PreviousElement: string;
|
|
335
|
+
NextElement: string;
|
|
336
|
+
Elements: string;
|
|
337
|
+
Of: string;
|
|
310
338
|
};
|