@wemake4u/form-player-se 1.0.17 → 1.0.18
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/controls/table.mjs +5 -5
- package/esm2022/lib/controls/textfield.mjs +3 -3
- package/esm2022/lib/dialog/dialog.component.mjs +94 -0
- package/esm2022/lib/directives/dialog.directive.mjs +25 -0
- package/esm2022/lib/directives/register.directive.mjs +5 -8
- package/esm2022/lib/dynamic-form/dynamic-form.component.mjs +41 -12
- package/esm2022/lib/locale/locale-de.mjs +11 -1
- package/esm2022/lib/locale/locale-en.mjs +11 -1
- package/esm2022/lib/locale/locale-es.mjs +11 -1
- package/esm2022/lib/locale/locale-fr.mjs +11 -1
- package/esm2022/lib/locale/locale-it.mjs +11 -1
- package/esm2022/lib/locale/locale-pt.mjs +11 -1
- package/esm2022/lib/services/dialog.service.mjs +107 -0
- package/esm2022/lib/services/function.service.mjs +44 -0
- package/esm2022/lib/services/metadata.service.mjs +28 -1
- package/esm2022/lib/services/programmability.service.mjs +54 -40
- package/esm2022/lib/services/register.service.mjs +13 -22
- package/esm2022/lib/services/scope.service.mjs +12 -23
- package/esm2022/lib/services/toast.service.mjs +10 -1
- package/esm2022/lib/utils/functions.mjs +31 -0
- package/esm2022/lib/utils/gridCells.mjs +12 -8
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/wemake4u-form-player-se.mjs +725 -455
- package/fesm2022/wemake4u-form-player-se.mjs.map +1 -1
- package/lib/controls/table.d.ts +2 -2
- package/lib/controls/textfield.d.ts +1 -1
- package/lib/dialog/dialog.component.d.ts +291 -0
- package/lib/directives/dialog.directive.d.ts +8 -0
- package/lib/directives/register.directive.d.ts +1 -3
- package/lib/dynamic-fields/dynamic-fields.component.d.ts +70 -0
- package/lib/dynamic-form/dynamic-form.component.d.ts +78 -3
- package/lib/locale/locale-de.d.ts +10 -0
- package/lib/locale/locale-en.d.ts +10 -0
- package/lib/locale/locale-es.d.ts +10 -0
- package/lib/locale/locale-fr.d.ts +10 -0
- package/lib/locale/locale-it.d.ts +10 -0
- package/lib/locale/locale-pt.d.ts +10 -0
- package/lib/locale/locale.d.ts +70 -0
- package/lib/services/dialog.service.d.ts +39 -0
- package/lib/services/function.service.d.ts +14 -0
- package/lib/services/metadata.service.d.ts +4 -0
- package/lib/services/programmability.service.d.ts +13 -6
- package/lib/services/register.service.d.ts +5 -6
- package/lib/services/scope.service.d.ts +7 -8
- package/lib/services/toast.service.d.ts +3 -1
- package/lib/utils/functions.d.ts +2 -0
- package/lib/utils/gridCells.d.ts +20 -0
- package/lib/utils/setFilter.d.ts +10 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/esm2022/lib/services/proxy.service.mjs +0 -131
- package/lib/services/proxy.service.d.ts +0 -32
package/lib/controls/table.d.ts
CHANGED
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
import { FormDialogOptions, DialogAction } from '../services/dialog.service';
|
|
2
|
+
import { SirioDialogElement } from 'ngx-sirio-lib';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DialogComponent extends SirioDialogElement {
|
|
5
|
+
private formHost;
|
|
6
|
+
Texts: {
|
|
7
|
+
i18n: {
|
|
8
|
+
it: {
|
|
9
|
+
TypeToSearch: string;
|
|
10
|
+
Upload: string;
|
|
11
|
+
ScrollLeft: string;
|
|
12
|
+
ScrollRight: string;
|
|
13
|
+
AddItem: string;
|
|
14
|
+
RemoveItem: string;
|
|
15
|
+
PreviousSection: string;
|
|
16
|
+
NextSection: string;
|
|
17
|
+
Show: string;
|
|
18
|
+
Remove: string;
|
|
19
|
+
Close: string;
|
|
20
|
+
Confirm: string;
|
|
21
|
+
OK: string;
|
|
22
|
+
Cancel: string;
|
|
23
|
+
Abort: string;
|
|
24
|
+
Retry: string;
|
|
25
|
+
Ignore: string;
|
|
26
|
+
Yes: string;
|
|
27
|
+
No: string;
|
|
28
|
+
Try: string;
|
|
29
|
+
Continue: string;
|
|
30
|
+
Name: string;
|
|
31
|
+
Size: string;
|
|
32
|
+
Type: string;
|
|
33
|
+
Actions: string;
|
|
34
|
+
ReadMore: string;
|
|
35
|
+
ReadLess: string;
|
|
36
|
+
SelectAll: string;
|
|
37
|
+
ChooseOne: string;
|
|
38
|
+
True: string;
|
|
39
|
+
False: string;
|
|
40
|
+
Blank: string;
|
|
41
|
+
NotBlank: string;
|
|
42
|
+
Information: string;
|
|
43
|
+
OpenMenu: string;
|
|
44
|
+
CloseMenu: string;
|
|
45
|
+
};
|
|
46
|
+
en: {
|
|
47
|
+
TypeToSearch: string;
|
|
48
|
+
Upload: string;
|
|
49
|
+
ScrollLeft: string;
|
|
50
|
+
ScrollRight: string;
|
|
51
|
+
AddItem: string;
|
|
52
|
+
RemoveItem: string;
|
|
53
|
+
PreviousSection: string;
|
|
54
|
+
NextSection: string;
|
|
55
|
+
Show: string;
|
|
56
|
+
Remove: string;
|
|
57
|
+
Close: string;
|
|
58
|
+
Confirm: string;
|
|
59
|
+
OK: string;
|
|
60
|
+
Cancel: string;
|
|
61
|
+
Abort: string;
|
|
62
|
+
Retry: string;
|
|
63
|
+
Ignore: string;
|
|
64
|
+
Yes: string;
|
|
65
|
+
No: string;
|
|
66
|
+
Try: string;
|
|
67
|
+
Continue: string;
|
|
68
|
+
Name: string;
|
|
69
|
+
Size: string;
|
|
70
|
+
Type: string;
|
|
71
|
+
Actions: string;
|
|
72
|
+
ReadMore: string;
|
|
73
|
+
ReadLess: string;
|
|
74
|
+
SelectAll: string;
|
|
75
|
+
ChooseOne: string;
|
|
76
|
+
True: string;
|
|
77
|
+
False: string;
|
|
78
|
+
Blank: string;
|
|
79
|
+
NotBlank: string;
|
|
80
|
+
Information: string;
|
|
81
|
+
OpenMenu: string;
|
|
82
|
+
CloseMenu: string;
|
|
83
|
+
};
|
|
84
|
+
de: {
|
|
85
|
+
TypeToSearch: string;
|
|
86
|
+
Upload: string;
|
|
87
|
+
ScrollLeft: string;
|
|
88
|
+
ScrollRight: string;
|
|
89
|
+
AddItem: string;
|
|
90
|
+
RemoveItem: string;
|
|
91
|
+
PreviousSection: string;
|
|
92
|
+
NextSection: string;
|
|
93
|
+
Show: string;
|
|
94
|
+
Remove: string;
|
|
95
|
+
Close: string;
|
|
96
|
+
Confirm: string;
|
|
97
|
+
OK: string;
|
|
98
|
+
Cancel: string;
|
|
99
|
+
Abort: string;
|
|
100
|
+
Retry: string;
|
|
101
|
+
Ignore: string;
|
|
102
|
+
Yes: string;
|
|
103
|
+
No: string;
|
|
104
|
+
Try: string;
|
|
105
|
+
Continue: string;
|
|
106
|
+
Name: string;
|
|
107
|
+
Size: string;
|
|
108
|
+
Type: string;
|
|
109
|
+
Actions: string;
|
|
110
|
+
ReadMore: string;
|
|
111
|
+
ReadLess: string;
|
|
112
|
+
SelectAll: string;
|
|
113
|
+
ChooseOne: string;
|
|
114
|
+
True: string;
|
|
115
|
+
False: string;
|
|
116
|
+
Blank: string;
|
|
117
|
+
NotBlank: string;
|
|
118
|
+
Information: string;
|
|
119
|
+
OpenMenu: string;
|
|
120
|
+
CloseMenu: string;
|
|
121
|
+
};
|
|
122
|
+
fr: {
|
|
123
|
+
TypeToSearch: string;
|
|
124
|
+
Upload: string;
|
|
125
|
+
ScrollLeft: string;
|
|
126
|
+
ScrollRight: string;
|
|
127
|
+
AddItem: string;
|
|
128
|
+
RemoveItem: string;
|
|
129
|
+
PreviousSection: string;
|
|
130
|
+
NextSection: string;
|
|
131
|
+
Show: string;
|
|
132
|
+
Remove: string;
|
|
133
|
+
Close: string;
|
|
134
|
+
Confirm: string;
|
|
135
|
+
OK: string;
|
|
136
|
+
Cancel: string;
|
|
137
|
+
Abort: string;
|
|
138
|
+
Retry: string;
|
|
139
|
+
Ignore: string;
|
|
140
|
+
Yes: string;
|
|
141
|
+
No: string;
|
|
142
|
+
Try: string;
|
|
143
|
+
Continue: string;
|
|
144
|
+
Name: string;
|
|
145
|
+
Size: string;
|
|
146
|
+
Type: string;
|
|
147
|
+
Actions: string;
|
|
148
|
+
ReadMore: string;
|
|
149
|
+
ReadLess: string;
|
|
150
|
+
SelectAll: string;
|
|
151
|
+
ChooseOne: string;
|
|
152
|
+
True: string;
|
|
153
|
+
False: string;
|
|
154
|
+
Blank: string;
|
|
155
|
+
NotBlank: string;
|
|
156
|
+
Information: string;
|
|
157
|
+
OpenMenu: string;
|
|
158
|
+
CloseMenu: string;
|
|
159
|
+
};
|
|
160
|
+
es: {
|
|
161
|
+
TypeToSearch: string;
|
|
162
|
+
Upload: string;
|
|
163
|
+
ScrollLeft: string;
|
|
164
|
+
ScrollRight: string;
|
|
165
|
+
AddItem: string;
|
|
166
|
+
RemoveItem: string;
|
|
167
|
+
PreviousSection: string;
|
|
168
|
+
NextSection: string;
|
|
169
|
+
Show: string;
|
|
170
|
+
Remove: string;
|
|
171
|
+
Close: string;
|
|
172
|
+
Confirm: string;
|
|
173
|
+
OK: string;
|
|
174
|
+
Cancel: string;
|
|
175
|
+
Abort: string;
|
|
176
|
+
Retry: string;
|
|
177
|
+
Ignore: string;
|
|
178
|
+
Yes: string;
|
|
179
|
+
No: string;
|
|
180
|
+
Try: string;
|
|
181
|
+
Continue: string;
|
|
182
|
+
Name: string;
|
|
183
|
+
Size: string;
|
|
184
|
+
Type: string;
|
|
185
|
+
Actions: string;
|
|
186
|
+
ReadMore: string;
|
|
187
|
+
ReadLess: string;
|
|
188
|
+
SelectAll: string;
|
|
189
|
+
ChooseOne: string;
|
|
190
|
+
True: string;
|
|
191
|
+
False: string;
|
|
192
|
+
Blank: string;
|
|
193
|
+
NotBlank: string;
|
|
194
|
+
Information: string;
|
|
195
|
+
OpenMenu: string;
|
|
196
|
+
CloseMenu: string;
|
|
197
|
+
};
|
|
198
|
+
pt: {
|
|
199
|
+
TypeToSearch: string;
|
|
200
|
+
Upload: string;
|
|
201
|
+
ScrollLeft: string;
|
|
202
|
+
ScrollRight: string;
|
|
203
|
+
AddItem: string;
|
|
204
|
+
RemoveItem: string;
|
|
205
|
+
PreviousSection: string;
|
|
206
|
+
NextSection: string;
|
|
207
|
+
Show: string;
|
|
208
|
+
Remove: string;
|
|
209
|
+
Close: string;
|
|
210
|
+
Confirm: string;
|
|
211
|
+
OK: string;
|
|
212
|
+
Cancel: string;
|
|
213
|
+
Abort: string;
|
|
214
|
+
Retry: string;
|
|
215
|
+
Ignore: string;
|
|
216
|
+
Yes: string;
|
|
217
|
+
No: string;
|
|
218
|
+
Try: string;
|
|
219
|
+
Continue: string;
|
|
220
|
+
Name: string;
|
|
221
|
+
Size: string;
|
|
222
|
+
Type: string;
|
|
223
|
+
Actions: string;
|
|
224
|
+
ReadMore: string;
|
|
225
|
+
ReadLess: string;
|
|
226
|
+
SelectAll: string;
|
|
227
|
+
ChooseOne: string;
|
|
228
|
+
True: string;
|
|
229
|
+
False: string;
|
|
230
|
+
Blank: string;
|
|
231
|
+
NotBlank: string;
|
|
232
|
+
Information: string;
|
|
233
|
+
OpenMenu: string;
|
|
234
|
+
CloseMenu: string;
|
|
235
|
+
};
|
|
236
|
+
};
|
|
237
|
+
TypeToSearch: string;
|
|
238
|
+
Upload: string;
|
|
239
|
+
ScrollLeft: string;
|
|
240
|
+
ScrollRight: string;
|
|
241
|
+
AddItem: string;
|
|
242
|
+
RemoveItem: string;
|
|
243
|
+
PreviousSection: string;
|
|
244
|
+
NextSection: string;
|
|
245
|
+
Show: string;
|
|
246
|
+
Remove: string;
|
|
247
|
+
Close: string;
|
|
248
|
+
Confirm: string;
|
|
249
|
+
OK: string;
|
|
250
|
+
Cancel: string;
|
|
251
|
+
Abort: string;
|
|
252
|
+
Retry: string;
|
|
253
|
+
Ignore: string;
|
|
254
|
+
Yes: string;
|
|
255
|
+
No: string;
|
|
256
|
+
Try: string;
|
|
257
|
+
Continue: string;
|
|
258
|
+
Name: string;
|
|
259
|
+
Size: string;
|
|
260
|
+
Type: string;
|
|
261
|
+
Actions: string;
|
|
262
|
+
ReadMore: string;
|
|
263
|
+
ReadLess: string;
|
|
264
|
+
SelectAll: string;
|
|
265
|
+
ChooseOne: string;
|
|
266
|
+
True: string;
|
|
267
|
+
False: string;
|
|
268
|
+
Blank: string;
|
|
269
|
+
NotBlank: string;
|
|
270
|
+
Information: string;
|
|
271
|
+
OpenMenu: string;
|
|
272
|
+
CloseMenu: string;
|
|
273
|
+
};
|
|
274
|
+
ngOnInit(): void;
|
|
275
|
+
options: FormDialogOptions;
|
|
276
|
+
ngAfterViewInit(): void;
|
|
277
|
+
ngOnDestroy(): void;
|
|
278
|
+
doClose(): void;
|
|
279
|
+
doAction(action: DialogAction): void;
|
|
280
|
+
showHeader(): boolean;
|
|
281
|
+
showTitle(): boolean;
|
|
282
|
+
showCloseButton(): boolean;
|
|
283
|
+
showFooter(): boolean;
|
|
284
|
+
locale(component: any, key: string): string;
|
|
285
|
+
private destroy$;
|
|
286
|
+
private currentValue;
|
|
287
|
+
private setCurrentValue;
|
|
288
|
+
private SendResult;
|
|
289
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>;
|
|
290
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "dynamic-dialog", never, {}, {}, never, never, true, never>;
|
|
291
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SirioDialogComponent } from 'ngx-sirio-lib';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DialogDirective {
|
|
4
|
+
private host;
|
|
5
|
+
constructor(host: SirioDialogComponent);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DialogDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DialogDirective, "[dialog]", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import { ElementRef, AfterContentInit, OnDestroy, QueryList } from '@angular/core';
|
|
2
2
|
import { RegisterService } from '../services/register.service';
|
|
3
|
-
import { ProxyService } from '../services/proxy.service';
|
|
4
3
|
import { IDynamicFieldsComponent } from '../dynamic-fields/dynamic-fields.interface';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class RegisterDirective implements AfterContentInit, OnDestroy {
|
|
7
6
|
private el;
|
|
8
7
|
private registerService;
|
|
9
|
-
private proxyService;
|
|
10
8
|
register: any;
|
|
11
9
|
componentRef: any;
|
|
12
10
|
dynamicField?: IDynamicFieldsComponent;
|
|
13
11
|
itemFields: QueryList<IDynamicFieldsComponent>;
|
|
14
|
-
constructor(el: ElementRef, registerService: RegisterService
|
|
12
|
+
constructor(el: ElementRef, registerService: RegisterService);
|
|
15
13
|
ngAfterContentInit(): void;
|
|
16
14
|
ngOnDestroy(): void;
|
|
17
15
|
private destroy$;
|
|
@@ -45,6 +45,16 @@ export declare class DynamicFieldsComponent implements OnInit, AfterViewInit, ID
|
|
|
45
45
|
Show: string;
|
|
46
46
|
Remove: string;
|
|
47
47
|
Close: string;
|
|
48
|
+
Confirm: string;
|
|
49
|
+
OK: string;
|
|
50
|
+
Cancel: string;
|
|
51
|
+
Abort: string;
|
|
52
|
+
Retry: string;
|
|
53
|
+
Ignore: string;
|
|
54
|
+
Yes: string;
|
|
55
|
+
No: string;
|
|
56
|
+
Try: string;
|
|
57
|
+
Continue: string;
|
|
48
58
|
Name: string;
|
|
49
59
|
Size: string;
|
|
50
60
|
Type: string;
|
|
@@ -73,6 +83,16 @@ export declare class DynamicFieldsComponent implements OnInit, AfterViewInit, ID
|
|
|
73
83
|
Show: string;
|
|
74
84
|
Remove: string;
|
|
75
85
|
Close: string;
|
|
86
|
+
Confirm: string;
|
|
87
|
+
OK: string;
|
|
88
|
+
Cancel: string;
|
|
89
|
+
Abort: string;
|
|
90
|
+
Retry: string;
|
|
91
|
+
Ignore: string;
|
|
92
|
+
Yes: string;
|
|
93
|
+
No: string;
|
|
94
|
+
Try: string;
|
|
95
|
+
Continue: string;
|
|
76
96
|
Name: string;
|
|
77
97
|
Size: string;
|
|
78
98
|
Type: string;
|
|
@@ -101,6 +121,16 @@ export declare class DynamicFieldsComponent implements OnInit, AfterViewInit, ID
|
|
|
101
121
|
Show: string;
|
|
102
122
|
Remove: string;
|
|
103
123
|
Close: string;
|
|
124
|
+
Confirm: string;
|
|
125
|
+
OK: string;
|
|
126
|
+
Cancel: string;
|
|
127
|
+
Abort: string;
|
|
128
|
+
Retry: string;
|
|
129
|
+
Ignore: string;
|
|
130
|
+
Yes: string;
|
|
131
|
+
No: string;
|
|
132
|
+
Try: string;
|
|
133
|
+
Continue: string;
|
|
104
134
|
Name: string;
|
|
105
135
|
Size: string;
|
|
106
136
|
Type: string;
|
|
@@ -129,6 +159,16 @@ export declare class DynamicFieldsComponent implements OnInit, AfterViewInit, ID
|
|
|
129
159
|
Show: string;
|
|
130
160
|
Remove: string;
|
|
131
161
|
Close: string;
|
|
162
|
+
Confirm: string;
|
|
163
|
+
OK: string;
|
|
164
|
+
Cancel: string;
|
|
165
|
+
Abort: string;
|
|
166
|
+
Retry: string;
|
|
167
|
+
Ignore: string;
|
|
168
|
+
Yes: string;
|
|
169
|
+
No: string;
|
|
170
|
+
Try: string;
|
|
171
|
+
Continue: string;
|
|
132
172
|
Name: string;
|
|
133
173
|
Size: string;
|
|
134
174
|
Type: string;
|
|
@@ -157,6 +197,16 @@ export declare class DynamicFieldsComponent implements OnInit, AfterViewInit, ID
|
|
|
157
197
|
Show: string;
|
|
158
198
|
Remove: string;
|
|
159
199
|
Close: string;
|
|
200
|
+
Confirm: string;
|
|
201
|
+
OK: string;
|
|
202
|
+
Cancel: string;
|
|
203
|
+
Abort: string;
|
|
204
|
+
Retry: string;
|
|
205
|
+
Ignore: string;
|
|
206
|
+
Yes: string;
|
|
207
|
+
No: string;
|
|
208
|
+
Try: string;
|
|
209
|
+
Continue: string;
|
|
160
210
|
Name: string;
|
|
161
211
|
Size: string;
|
|
162
212
|
Type: string;
|
|
@@ -185,6 +235,16 @@ export declare class DynamicFieldsComponent implements OnInit, AfterViewInit, ID
|
|
|
185
235
|
Show: string;
|
|
186
236
|
Remove: string;
|
|
187
237
|
Close: string;
|
|
238
|
+
Confirm: string;
|
|
239
|
+
OK: string;
|
|
240
|
+
Cancel: string;
|
|
241
|
+
Abort: string;
|
|
242
|
+
Retry: string;
|
|
243
|
+
Ignore: string;
|
|
244
|
+
Yes: string;
|
|
245
|
+
No: string;
|
|
246
|
+
Try: string;
|
|
247
|
+
Continue: string;
|
|
188
248
|
Name: string;
|
|
189
249
|
Size: string;
|
|
190
250
|
Type: string;
|
|
@@ -213,6 +273,16 @@ export declare class DynamicFieldsComponent implements OnInit, AfterViewInit, ID
|
|
|
213
273
|
Show: string;
|
|
214
274
|
Remove: string;
|
|
215
275
|
Close: string;
|
|
276
|
+
Confirm: string;
|
|
277
|
+
OK: string;
|
|
278
|
+
Cancel: string;
|
|
279
|
+
Abort: string;
|
|
280
|
+
Retry: string;
|
|
281
|
+
Ignore: string;
|
|
282
|
+
Yes: string;
|
|
283
|
+
No: string;
|
|
284
|
+
Try: string;
|
|
285
|
+
Continue: string;
|
|
216
286
|
Name: string;
|
|
217
287
|
Size: string;
|
|
218
288
|
Type: string;
|
|
@@ -3,6 +3,7 @@ import { FormBuilder, FormGroup } from '@angular/forms';
|
|
|
3
3
|
import { ProgrammabilityService } from '../services/programmability.service';
|
|
4
4
|
import { CommandEvent, EventService } from '../services/event.service';
|
|
5
5
|
import { MetadataService } from '../services/metadata.service';
|
|
6
|
+
import { DialogService, FormDialogOptions } from '../services/dialog.service';
|
|
6
7
|
import { SirioStepperProgressStatus } from 'ngx-sirio-lib';
|
|
7
8
|
import { RegisterService } from '../services/register.service';
|
|
8
9
|
import { Control } from '../controls/control';
|
|
@@ -13,10 +14,10 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy {
|
|
|
13
14
|
private events;
|
|
14
15
|
private registerService;
|
|
15
16
|
private metadata;
|
|
17
|
+
private dialog;
|
|
16
18
|
schema: any;
|
|
17
19
|
formGroup: FormGroup;
|
|
18
20
|
value: any;
|
|
19
|
-
language: string;
|
|
20
21
|
showNav: boolean;
|
|
21
22
|
showNavButton: boolean;
|
|
22
23
|
showProgress: boolean;
|
|
@@ -27,7 +28,7 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy {
|
|
|
27
28
|
onCommand: EventEmitter<CommandEvent>;
|
|
28
29
|
activeNavChange: EventEmitter<any>;
|
|
29
30
|
formDiv: ElementRef<HTMLDivElement>;
|
|
30
|
-
constructor(fb: FormBuilder, programmability: ProgrammabilityService, events: EventService, registerService: RegisterService, metadata: MetadataService);
|
|
31
|
+
constructor(fb: FormBuilder, programmability: ProgrammabilityService, events: EventService, registerService: RegisterService, metadata: MetadataService, dialog: DialogService);
|
|
31
32
|
Texts: {
|
|
32
33
|
i18n: {
|
|
33
34
|
it: {
|
|
@@ -42,6 +43,16 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy {
|
|
|
42
43
|
Show: string;
|
|
43
44
|
Remove: string;
|
|
44
45
|
Close: string;
|
|
46
|
+
Confirm: string;
|
|
47
|
+
OK: string;
|
|
48
|
+
Cancel: string;
|
|
49
|
+
Abort: string;
|
|
50
|
+
Retry: string;
|
|
51
|
+
Ignore: string;
|
|
52
|
+
Yes: string;
|
|
53
|
+
No: string;
|
|
54
|
+
Try: string;
|
|
55
|
+
Continue: string;
|
|
45
56
|
Name: string;
|
|
46
57
|
Size: string;
|
|
47
58
|
Type: string;
|
|
@@ -70,6 +81,16 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy {
|
|
|
70
81
|
Show: string;
|
|
71
82
|
Remove: string;
|
|
72
83
|
Close: string;
|
|
84
|
+
Confirm: string;
|
|
85
|
+
OK: string;
|
|
86
|
+
Cancel: string;
|
|
87
|
+
Abort: string;
|
|
88
|
+
Retry: string;
|
|
89
|
+
Ignore: string;
|
|
90
|
+
Yes: string;
|
|
91
|
+
No: string;
|
|
92
|
+
Try: string;
|
|
93
|
+
Continue: string;
|
|
73
94
|
Name: string;
|
|
74
95
|
Size: string;
|
|
75
96
|
Type: string;
|
|
@@ -98,6 +119,16 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy {
|
|
|
98
119
|
Show: string;
|
|
99
120
|
Remove: string;
|
|
100
121
|
Close: string;
|
|
122
|
+
Confirm: string;
|
|
123
|
+
OK: string;
|
|
124
|
+
Cancel: string;
|
|
125
|
+
Abort: string;
|
|
126
|
+
Retry: string;
|
|
127
|
+
Ignore: string;
|
|
128
|
+
Yes: string;
|
|
129
|
+
No: string;
|
|
130
|
+
Try: string;
|
|
131
|
+
Continue: string;
|
|
101
132
|
Name: string;
|
|
102
133
|
Size: string;
|
|
103
134
|
Type: string;
|
|
@@ -126,6 +157,16 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy {
|
|
|
126
157
|
Show: string;
|
|
127
158
|
Remove: string;
|
|
128
159
|
Close: string;
|
|
160
|
+
Confirm: string;
|
|
161
|
+
OK: string;
|
|
162
|
+
Cancel: string;
|
|
163
|
+
Abort: string;
|
|
164
|
+
Retry: string;
|
|
165
|
+
Ignore: string;
|
|
166
|
+
Yes: string;
|
|
167
|
+
No: string;
|
|
168
|
+
Try: string;
|
|
169
|
+
Continue: string;
|
|
129
170
|
Name: string;
|
|
130
171
|
Size: string;
|
|
131
172
|
Type: string;
|
|
@@ -154,6 +195,16 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy {
|
|
|
154
195
|
Show: string;
|
|
155
196
|
Remove: string;
|
|
156
197
|
Close: string;
|
|
198
|
+
Confirm: string;
|
|
199
|
+
OK: string;
|
|
200
|
+
Cancel: string;
|
|
201
|
+
Abort: string;
|
|
202
|
+
Retry: string;
|
|
203
|
+
Ignore: string;
|
|
204
|
+
Yes: string;
|
|
205
|
+
No: string;
|
|
206
|
+
Try: string;
|
|
207
|
+
Continue: string;
|
|
157
208
|
Name: string;
|
|
158
209
|
Size: string;
|
|
159
210
|
Type: string;
|
|
@@ -182,6 +233,16 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy {
|
|
|
182
233
|
Show: string;
|
|
183
234
|
Remove: string;
|
|
184
235
|
Close: string;
|
|
236
|
+
Confirm: string;
|
|
237
|
+
OK: string;
|
|
238
|
+
Cancel: string;
|
|
239
|
+
Abort: string;
|
|
240
|
+
Retry: string;
|
|
241
|
+
Ignore: string;
|
|
242
|
+
Yes: string;
|
|
243
|
+
No: string;
|
|
244
|
+
Try: string;
|
|
245
|
+
Continue: string;
|
|
185
246
|
Name: string;
|
|
186
247
|
Size: string;
|
|
187
248
|
Type: string;
|
|
@@ -210,6 +271,16 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy {
|
|
|
210
271
|
Show: string;
|
|
211
272
|
Remove: string;
|
|
212
273
|
Close: string;
|
|
274
|
+
Confirm: string;
|
|
275
|
+
OK: string;
|
|
276
|
+
Cancel: string;
|
|
277
|
+
Abort: string;
|
|
278
|
+
Retry: string;
|
|
279
|
+
Ignore: string;
|
|
280
|
+
Yes: string;
|
|
281
|
+
No: string;
|
|
282
|
+
Try: string;
|
|
283
|
+
Continue: string;
|
|
213
284
|
Name: string;
|
|
214
285
|
Size: string;
|
|
215
286
|
Type: string;
|
|
@@ -239,14 +310,18 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy {
|
|
|
239
310
|
getControl(name: string): Control | undefined;
|
|
240
311
|
get activeNav(): number;
|
|
241
312
|
set activeNav(value: number);
|
|
313
|
+
get language(): string;
|
|
314
|
+
set language(value: string);
|
|
242
315
|
getFormGroup(path: string | null): FormGroup;
|
|
243
316
|
getFormStatus(form: any, index: number): SirioStepperProgressStatus;
|
|
244
317
|
activateForm(title: string): void;
|
|
245
318
|
evaluateBoolean(value: boolean | string | null): boolean | null;
|
|
319
|
+
openForm(template: string, options: FormDialogOptions): void;
|
|
246
320
|
private valueChangesSubscription;
|
|
247
321
|
private onCommandSubscription;
|
|
248
322
|
private _forms;
|
|
249
323
|
private _activeNav;
|
|
324
|
+
private _language;
|
|
250
325
|
private defaultValue;
|
|
251
326
|
private getNext;
|
|
252
327
|
private getPrevious;
|
|
@@ -274,5 +349,5 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy {
|
|
|
274
349
|
private splitPath;
|
|
275
350
|
private hasValue;
|
|
276
351
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFormComponent, never>;
|
|
277
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFormComponent, "app-dynamic-form", never, { "schema": { "alias": "schema"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "value": { "alias": "value"; "required": false; }; "
|
|
352
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFormComponent, "app-dynamic-form", never, { "schema": { "alias": "schema"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "value": { "alias": "value"; "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; }; "language": { "alias": "language"; "required": false; }; }, { "valueChange": "valueChange"; "initialized": "initialized"; "onCommand": "onCommand"; "activeNavChange": "activeNavChange"; }, never, never, true, never>;
|
|
278
353
|
}
|
|
@@ -10,6 +10,16 @@ export declare const Texts: {
|
|
|
10
10
|
Show: string;
|
|
11
11
|
Remove: string;
|
|
12
12
|
Close: string;
|
|
13
|
+
Confirm: string;
|
|
14
|
+
OK: string;
|
|
15
|
+
Cancel: string;
|
|
16
|
+
Abort: string;
|
|
17
|
+
Retry: string;
|
|
18
|
+
Ignore: string;
|
|
19
|
+
Yes: string;
|
|
20
|
+
No: string;
|
|
21
|
+
Try: string;
|
|
22
|
+
Continue: string;
|
|
13
23
|
Name: string;
|
|
14
24
|
Size: string;
|
|
15
25
|
Type: string;
|
|
@@ -10,6 +10,16 @@ export declare const Texts: {
|
|
|
10
10
|
Show: string;
|
|
11
11
|
Remove: string;
|
|
12
12
|
Close: string;
|
|
13
|
+
Confirm: string;
|
|
14
|
+
OK: string;
|
|
15
|
+
Cancel: string;
|
|
16
|
+
Abort: string;
|
|
17
|
+
Retry: string;
|
|
18
|
+
Ignore: string;
|
|
19
|
+
Yes: string;
|
|
20
|
+
No: string;
|
|
21
|
+
Try: string;
|
|
22
|
+
Continue: string;
|
|
13
23
|
Name: string;
|
|
14
24
|
Size: string;
|
|
15
25
|
Type: string;
|
|
@@ -10,6 +10,16 @@ export declare const Texts: {
|
|
|
10
10
|
Show: string;
|
|
11
11
|
Remove: string;
|
|
12
12
|
Close: string;
|
|
13
|
+
Confirm: string;
|
|
14
|
+
OK: string;
|
|
15
|
+
Cancel: string;
|
|
16
|
+
Abort: string;
|
|
17
|
+
Retry: string;
|
|
18
|
+
Ignore: string;
|
|
19
|
+
Yes: string;
|
|
20
|
+
No: string;
|
|
21
|
+
Try: string;
|
|
22
|
+
Continue: string;
|
|
13
23
|
Name: string;
|
|
14
24
|
Size: string;
|
|
15
25
|
Type: string;
|
|
@@ -10,6 +10,16 @@ export declare const Texts: {
|
|
|
10
10
|
Show: string;
|
|
11
11
|
Remove: string;
|
|
12
12
|
Close: string;
|
|
13
|
+
Confirm: string;
|
|
14
|
+
OK: string;
|
|
15
|
+
Cancel: string;
|
|
16
|
+
Abort: string;
|
|
17
|
+
Retry: string;
|
|
18
|
+
Ignore: string;
|
|
19
|
+
Yes: string;
|
|
20
|
+
No: string;
|
|
21
|
+
Try: string;
|
|
22
|
+
Continue: string;
|
|
13
23
|
Name: string;
|
|
14
24
|
Size: string;
|
|
15
25
|
Type: string;
|