@wemake4u/form-player-se 1.0.33 → 1.0.35
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/tab.mjs +47 -1
- package/esm2022/lib/directives/dropdown.directive.mjs +3 -2
- package/esm2022/lib/directives/grid.directive.mjs +3 -1
- package/esm2022/lib/directives/recursion.directive.mjs +18 -2
- package/esm2022/lib/directives/tabcontrol.directive.mjs +11 -1
- package/esm2022/lib/directives/text.directive.mjs +20 -2
- package/esm2022/lib/directives/valuesync.directive.mjs +63 -0
- package/esm2022/lib/dynamic-fields/dynamic-fields.component.mjs +13 -16
- package/esm2022/lib/dynamic-form/dynamic-form.component.mjs +47 -24
- package/esm2022/lib/locale/locale-de.mjs +3 -2
- package/esm2022/lib/locale/locale-en.mjs +3 -2
- package/esm2022/lib/locale/locale-es.mjs +3 -2
- package/esm2022/lib/locale/locale-fr.mjs +3 -2
- package/esm2022/lib/locale/locale-it.mjs +3 -2
- package/esm2022/lib/locale/locale-pt.mjs +3 -2
- package/esm2022/lib/services/compute.service.mjs +73 -0
- package/esm2022/lib/services/disable.service.mjs +19 -12
- package/esm2022/lib/services/event.service.mjs +2 -2
- package/esm2022/lib/services/form.service.mjs +1 -27
- package/esm2022/lib/services/function.service.mjs +7 -2
- package/esm2022/lib/services/grid.service.mjs +46 -3
- package/esm2022/lib/services/programmability.service.mjs +16 -9
- package/esm2022/lib/services/validation.service.mjs +2 -2
- package/esm2022/lib/utils/focusable.mjs +7 -2
- package/esm2022/lib/utils/uuid.mjs +11 -0
- package/fesm2022/wemake4u-form-player-se.mjs +383 -92
- package/fesm2022/wemake4u-form-player-se.mjs.map +1 -1
- package/lib/components/deleteRowRenderer/deleteRowRenderer.component.d.ts +1 -0
- package/lib/components/objectURLRenderer/objectURLRenderer.component.d.ts +1 -0
- package/lib/components/setFilter/setFilter.component.d.ts +1 -0
- package/lib/controls/tab.d.ts +7 -0
- package/lib/dialog/dialog.component.d.ts +7 -0
- package/lib/directives/recursion.directive.d.ts +1 -0
- package/lib/directives/tabcontrol.directive.d.ts +1 -0
- package/lib/directives/text.directive.d.ts +3 -0
- package/lib/directives/valuesync.directive.d.ts +15 -0
- package/lib/dynamic-fields/dynamic-fields.component.d.ts +10 -2
- package/lib/dynamic-form/dynamic-form.component.d.ts +13 -3
- package/lib/locale/locale-de.d.ts +1 -0
- package/lib/locale/locale-en.d.ts +1 -0
- package/lib/locale/locale-es.d.ts +1 -0
- package/lib/locale/locale-fr.d.ts +1 -0
- package/lib/locale/locale-it.d.ts +1 -0
- package/lib/locale/locale-pt.d.ts +1 -0
- package/lib/locale/locale.d.ts +7 -0
- package/lib/services/compute.service.d.ts +21 -0
- package/lib/services/disable.service.d.ts +3 -2
- package/lib/services/event.service.d.ts +1 -1
- package/lib/services/function.service.d.ts +1 -0
- package/lib/services/grid.service.d.ts +7 -0
- package/lib/services/programmability.service.d.ts +3 -1
- package/lib/services/validation.service.d.ts +1 -1
- package/lib/utils/uuid.d.ts +1 -0
- package/package.json +1 -1
package/lib/controls/tab.d.ts
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import { ContainerControl } from "./control";
|
|
2
2
|
export declare class TabControl extends ContainerControl {
|
|
3
|
+
readonly canNext: () => boolean;
|
|
4
|
+
readonly goNext: () => void;
|
|
5
|
+
readonly canPrevious: () => boolean;
|
|
6
|
+
readonly goPrevious: () => void;
|
|
7
|
+
readonly setActiveIndex: (index: number) => void;
|
|
3
8
|
private getTab;
|
|
9
|
+
private getPreviousIndex;
|
|
10
|
+
private getNextIndex;
|
|
4
11
|
}
|
|
@@ -50,6 +50,7 @@ export declare class DialogComponent extends SirioDialogElement {
|
|
|
50
50
|
ConfirmDelete: string;
|
|
51
51
|
MoveUp: string;
|
|
52
52
|
MoveDown: string;
|
|
53
|
+
NoData: string;
|
|
53
54
|
};
|
|
54
55
|
en: {
|
|
55
56
|
TypeToSearch: string;
|
|
@@ -92,6 +93,7 @@ export declare class DialogComponent extends SirioDialogElement {
|
|
|
92
93
|
ConfirmDelete: string;
|
|
93
94
|
MoveUp: string;
|
|
94
95
|
MoveDown: string;
|
|
96
|
+
NoData: string;
|
|
95
97
|
};
|
|
96
98
|
de: {
|
|
97
99
|
TypeToSearch: string;
|
|
@@ -134,6 +136,7 @@ export declare class DialogComponent extends SirioDialogElement {
|
|
|
134
136
|
ConfirmDelete: string;
|
|
135
137
|
MoveUp: string;
|
|
136
138
|
MoveDown: string;
|
|
139
|
+
NoData: string;
|
|
137
140
|
};
|
|
138
141
|
fr: {
|
|
139
142
|
TypeToSearch: string;
|
|
@@ -176,6 +179,7 @@ export declare class DialogComponent extends SirioDialogElement {
|
|
|
176
179
|
ConfirmDelete: string;
|
|
177
180
|
MoveUp: string;
|
|
178
181
|
MoveDown: string;
|
|
182
|
+
NoData: string;
|
|
179
183
|
};
|
|
180
184
|
es: {
|
|
181
185
|
TypeToSearch: string;
|
|
@@ -218,6 +222,7 @@ export declare class DialogComponent extends SirioDialogElement {
|
|
|
218
222
|
ConfirmDelete: string;
|
|
219
223
|
MoveUp: string;
|
|
220
224
|
MoveDown: string;
|
|
225
|
+
NoData: string;
|
|
221
226
|
};
|
|
222
227
|
pt: {
|
|
223
228
|
TypeToSearch: string;
|
|
@@ -260,6 +265,7 @@ export declare class DialogComponent extends SirioDialogElement {
|
|
|
260
265
|
ConfirmDelete: string;
|
|
261
266
|
MoveUp: string;
|
|
262
267
|
MoveDown: string;
|
|
268
|
+
NoData: string;
|
|
263
269
|
};
|
|
264
270
|
};
|
|
265
271
|
TypeToSearch: string;
|
|
@@ -302,6 +308,7 @@ export declare class DialogComponent extends SirioDialogElement {
|
|
|
302
308
|
ConfirmDelete: string;
|
|
303
309
|
MoveUp: string;
|
|
304
310
|
MoveDown: string;
|
|
311
|
+
NoData: string;
|
|
305
312
|
};
|
|
306
313
|
constructor(languageService: LanguageService);
|
|
307
314
|
ngOnInit(): void;
|
|
@@ -33,6 +33,7 @@ export declare class RecursionDirective implements OnInit, OnChanges, OnDestroy
|
|
|
33
33
|
private getArrayFromExpression;
|
|
34
34
|
private createComponentRows;
|
|
35
35
|
private createNestedFormGroup;
|
|
36
|
+
private prepareChildArray;
|
|
36
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<RecursionDirective, never>;
|
|
37
38
|
static ɵdir: i0.ɵɵDirectiveDeclaration<RecursionDirective, "[recursion]", ["recursion"], { "formGroup": { "alias": "formGroup"; "required": false; }; "component": { "alias": "recursion"; "required": false; }; }, {}, never, never, true, never>;
|
|
38
39
|
}
|
|
@@ -9,6 +9,7 @@ export declare class TabControlDirective implements OnInit, OnDestroy {
|
|
|
9
9
|
private tabChangeSub;
|
|
10
10
|
private HandleIndexChange;
|
|
11
11
|
private validateIndex;
|
|
12
|
+
private setFocus;
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabControlDirective, [{ host: true; }]>;
|
|
13
14
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TabControlDirective, "[tabControl]", never, {}, {}, never, never, true, never>;
|
|
14
15
|
}
|
|
@@ -13,6 +13,9 @@ export declare class TextDirective implements OnChanges, AfterViewInit {
|
|
|
13
13
|
private applyCase;
|
|
14
14
|
private applyMaxLength;
|
|
15
15
|
private configureTextCase;
|
|
16
|
+
private applyTextTransform;
|
|
17
|
+
private applyTextTransformByValue;
|
|
18
|
+
private configureSpellCheck;
|
|
16
19
|
private configureMaxLength;
|
|
17
20
|
private replaceInputValue;
|
|
18
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextDirective, [{ host: true; }, null]>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { NgControl } from '@angular/forms';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ValueSyncDirective {
|
|
4
|
+
private ngControl;
|
|
5
|
+
valueSync: boolean | null;
|
|
6
|
+
constructor(ngControl: NgControl);
|
|
7
|
+
private sub?;
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
ngOnChanges(): void;
|
|
10
|
+
ngOnDestroy(): void;
|
|
11
|
+
private startSync;
|
|
12
|
+
private stopSync;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ValueSyncDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ValueSyncDirective, "[valueSync]", never, { "valueSync": { "alias": "valueSync"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -20,6 +20,7 @@ import { SirioFileUploadComponent, NgxSirioEvent } from 'ngx-sirio-lib';
|
|
|
20
20
|
import { Module, GridOptions } from 'ag-grid-community';
|
|
21
21
|
import { AgChartOptions } from 'ag-charts-community';
|
|
22
22
|
import { LanguageService } from '@wemake4u/interact';
|
|
23
|
+
import { DynamicFormComponent } from '../dynamic-form/dynamic-form.component';
|
|
23
24
|
import * as i0 from "@angular/core";
|
|
24
25
|
export declare class DynamicFieldsComponent implements OnInit, AfterViewInit, IDynamicFieldsComponent {
|
|
25
26
|
private sanitizer;
|
|
@@ -36,6 +37,7 @@ export declare class DynamicFieldsComponent implements OnInit, AfterViewInit, ID
|
|
|
36
37
|
private chart;
|
|
37
38
|
private dialog;
|
|
38
39
|
private el;
|
|
40
|
+
form: DynamicFormComponent;
|
|
39
41
|
rows: Array<any> | undefined;
|
|
40
42
|
formGroup: FormGroup;
|
|
41
43
|
alignment: string;
|
|
@@ -84,6 +86,7 @@ export declare class DynamicFieldsComponent implements OnInit, AfterViewInit, ID
|
|
|
84
86
|
ConfirmDelete: string;
|
|
85
87
|
MoveUp: string;
|
|
86
88
|
MoveDown: string;
|
|
89
|
+
NoData: string;
|
|
87
90
|
};
|
|
88
91
|
en: {
|
|
89
92
|
TypeToSearch: string;
|
|
@@ -126,6 +129,7 @@ export declare class DynamicFieldsComponent implements OnInit, AfterViewInit, ID
|
|
|
126
129
|
ConfirmDelete: string;
|
|
127
130
|
MoveUp: string;
|
|
128
131
|
MoveDown: string;
|
|
132
|
+
NoData: string;
|
|
129
133
|
};
|
|
130
134
|
de: {
|
|
131
135
|
TypeToSearch: string;
|
|
@@ -168,6 +172,7 @@ export declare class DynamicFieldsComponent implements OnInit, AfterViewInit, ID
|
|
|
168
172
|
ConfirmDelete: string;
|
|
169
173
|
MoveUp: string;
|
|
170
174
|
MoveDown: string;
|
|
175
|
+
NoData: string;
|
|
171
176
|
};
|
|
172
177
|
fr: {
|
|
173
178
|
TypeToSearch: string;
|
|
@@ -210,6 +215,7 @@ export declare class DynamicFieldsComponent implements OnInit, AfterViewInit, ID
|
|
|
210
215
|
ConfirmDelete: string;
|
|
211
216
|
MoveUp: string;
|
|
212
217
|
MoveDown: string;
|
|
218
|
+
NoData: string;
|
|
213
219
|
};
|
|
214
220
|
es: {
|
|
215
221
|
TypeToSearch: string;
|
|
@@ -252,6 +258,7 @@ export declare class DynamicFieldsComponent implements OnInit, AfterViewInit, ID
|
|
|
252
258
|
ConfirmDelete: string;
|
|
253
259
|
MoveUp: string;
|
|
254
260
|
MoveDown: string;
|
|
261
|
+
NoData: string;
|
|
255
262
|
};
|
|
256
263
|
pt: {
|
|
257
264
|
TypeToSearch: string;
|
|
@@ -294,6 +301,7 @@ export declare class DynamicFieldsComponent implements OnInit, AfterViewInit, ID
|
|
|
294
301
|
ConfirmDelete: string;
|
|
295
302
|
MoveUp: string;
|
|
296
303
|
MoveDown: string;
|
|
304
|
+
NoData: string;
|
|
297
305
|
};
|
|
298
306
|
};
|
|
299
307
|
TypeToSearch: string;
|
|
@@ -336,6 +344,7 @@ export declare class DynamicFieldsComponent implements OnInit, AfterViewInit, ID
|
|
|
336
344
|
ConfirmDelete: string;
|
|
337
345
|
MoveUp: string;
|
|
338
346
|
MoveDown: string;
|
|
347
|
+
NoData: string;
|
|
339
348
|
};
|
|
340
349
|
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, el: ElementRef);
|
|
341
350
|
ngOnInit(): void;
|
|
@@ -407,9 +416,8 @@ export declare class DynamicFieldsComponent implements OnInit, AfterViewInit, ID
|
|
|
407
416
|
private getAlignmentRules;
|
|
408
417
|
private invalidate;
|
|
409
418
|
private getControlFromPath;
|
|
410
|
-
private focusFirst;
|
|
411
419
|
private getAsObservable;
|
|
412
420
|
private configureDatepicker;
|
|
413
421
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFieldsComponent, never>;
|
|
414
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFieldsComponent, "app-dynamic-fields", never, { "rows": { "alias": "rows"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "recursionLevel": { "alias": "recursionLevel"; "required": false; }; }, {}, never, never, true, never>;
|
|
422
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFieldsComponent, "app-dynamic-fields", never, { "form": { "alias": "form"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "alignment": { "alias": "alignment"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "recursionLevel": { "alias": "recursionLevel"; "required": false; }; }, {}, never, never, true, never>;
|
|
415
423
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { OnChanges, OnDestroy, SimpleChanges, EventEmitter, ElementRef, Injector } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
-
import { ProgrammabilityService } from '../services/programmability.service';
|
|
3
|
+
import { IEvaluatorProvider, ProgrammabilityService } from '../services/programmability.service';
|
|
4
4
|
import { ValidationService } from '../services/validation.service';
|
|
5
5
|
import { DisableService } from '../services/disable.service';
|
|
6
6
|
import { StatusService } from '../services/status.service';
|
|
7
7
|
import { EventService } from '../services/event.service';
|
|
8
|
+
import { ComputeService } from '../services/compute.service';
|
|
8
9
|
import { MetadataService } from '../services/metadata.service';
|
|
9
10
|
import { FormService } from '../services/form.service';
|
|
10
11
|
import { DialogService, FormDialogOptions } from '../services/dialog.service';
|
|
@@ -13,11 +14,12 @@ import { RegisterService } from '../services/register.service';
|
|
|
13
14
|
import { Control } from '../controls/control';
|
|
14
15
|
import { LanguageService } from '@wemake4u/interact';
|
|
15
16
|
import * as i0 from "@angular/core";
|
|
16
|
-
export declare class DynamicFormComponent implements OnChanges, OnDestroy {
|
|
17
|
+
export declare class DynamicFormComponent implements OnChanges, OnDestroy, IEvaluatorProvider {
|
|
17
18
|
private fb;
|
|
18
19
|
private programmability;
|
|
19
20
|
private validationService;
|
|
20
21
|
private disableService;
|
|
22
|
+
private computeService;
|
|
21
23
|
private statusService;
|
|
22
24
|
private eventService;
|
|
23
25
|
private registerService;
|
|
@@ -40,7 +42,7 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy {
|
|
|
40
42
|
initialized: EventEmitter<FormGroup<any>>;
|
|
41
43
|
activeNavChange: EventEmitter<any>;
|
|
42
44
|
formDiv: ElementRef<HTMLDivElement>;
|
|
43
|
-
constructor(fb: FormBuilder, programmability: ProgrammabilityService, validationService: ValidationService, disableService: DisableService, statusService: StatusService, eventService: EventService, registerService: RegisterService, languageService: LanguageService, metadata: MetadataService, formService: FormService, dialog: DialogService, injector: Injector);
|
|
45
|
+
constructor(fb: FormBuilder, programmability: ProgrammabilityService, validationService: ValidationService, disableService: DisableService, computeService: ComputeService, statusService: StatusService, eventService: EventService, registerService: RegisterService, languageService: LanguageService, metadata: MetadataService, formService: FormService, dialog: DialogService, injector: Injector);
|
|
44
46
|
Texts: {
|
|
45
47
|
i18n: {
|
|
46
48
|
it: {
|
|
@@ -84,6 +86,7 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy {
|
|
|
84
86
|
ConfirmDelete: string;
|
|
85
87
|
MoveUp: string;
|
|
86
88
|
MoveDown: string;
|
|
89
|
+
NoData: string;
|
|
87
90
|
};
|
|
88
91
|
en: {
|
|
89
92
|
TypeToSearch: string;
|
|
@@ -126,6 +129,7 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy {
|
|
|
126
129
|
ConfirmDelete: string;
|
|
127
130
|
MoveUp: string;
|
|
128
131
|
MoveDown: string;
|
|
132
|
+
NoData: string;
|
|
129
133
|
};
|
|
130
134
|
de: {
|
|
131
135
|
TypeToSearch: string;
|
|
@@ -168,6 +172,7 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy {
|
|
|
168
172
|
ConfirmDelete: string;
|
|
169
173
|
MoveUp: string;
|
|
170
174
|
MoveDown: string;
|
|
175
|
+
NoData: string;
|
|
171
176
|
};
|
|
172
177
|
fr: {
|
|
173
178
|
TypeToSearch: string;
|
|
@@ -210,6 +215,7 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy {
|
|
|
210
215
|
ConfirmDelete: string;
|
|
211
216
|
MoveUp: string;
|
|
212
217
|
MoveDown: string;
|
|
218
|
+
NoData: string;
|
|
213
219
|
};
|
|
214
220
|
es: {
|
|
215
221
|
TypeToSearch: string;
|
|
@@ -252,6 +258,7 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy {
|
|
|
252
258
|
ConfirmDelete: string;
|
|
253
259
|
MoveUp: string;
|
|
254
260
|
MoveDown: string;
|
|
261
|
+
NoData: string;
|
|
255
262
|
};
|
|
256
263
|
pt: {
|
|
257
264
|
TypeToSearch: string;
|
|
@@ -294,6 +301,7 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy {
|
|
|
294
301
|
ConfirmDelete: string;
|
|
295
302
|
MoveUp: string;
|
|
296
303
|
MoveDown: string;
|
|
304
|
+
NoData: string;
|
|
297
305
|
};
|
|
298
306
|
};
|
|
299
307
|
TypeToSearch: string;
|
|
@@ -336,6 +344,7 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy {
|
|
|
336
344
|
ConfirmDelete: string;
|
|
337
345
|
MoveUp: string;
|
|
338
346
|
MoveDown: string;
|
|
347
|
+
NoData: string;
|
|
339
348
|
};
|
|
340
349
|
ngOnDestroy(): void;
|
|
341
350
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -358,6 +367,7 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy {
|
|
|
358
367
|
openForm(template: string, options: FormDialogOptions): void;
|
|
359
368
|
isChanged(): boolean;
|
|
360
369
|
isValid(): boolean;
|
|
370
|
+
getContext(): Record<string, any>;
|
|
361
371
|
private valueChangesSubscription;
|
|
362
372
|
private _forms;
|
|
363
373
|
private _activeNav;
|
package/lib/locale/locale.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ export declare const Texts: {
|
|
|
41
41
|
ConfirmDelete: string;
|
|
42
42
|
MoveUp: string;
|
|
43
43
|
MoveDown: string;
|
|
44
|
+
NoData: string;
|
|
44
45
|
};
|
|
45
46
|
en: {
|
|
46
47
|
TypeToSearch: string;
|
|
@@ -83,6 +84,7 @@ export declare const Texts: {
|
|
|
83
84
|
ConfirmDelete: string;
|
|
84
85
|
MoveUp: string;
|
|
85
86
|
MoveDown: string;
|
|
87
|
+
NoData: string;
|
|
86
88
|
};
|
|
87
89
|
de: {
|
|
88
90
|
TypeToSearch: string;
|
|
@@ -125,6 +127,7 @@ export declare const Texts: {
|
|
|
125
127
|
ConfirmDelete: string;
|
|
126
128
|
MoveUp: string;
|
|
127
129
|
MoveDown: string;
|
|
130
|
+
NoData: string;
|
|
128
131
|
};
|
|
129
132
|
fr: {
|
|
130
133
|
TypeToSearch: string;
|
|
@@ -167,6 +170,7 @@ export declare const Texts: {
|
|
|
167
170
|
ConfirmDelete: string;
|
|
168
171
|
MoveUp: string;
|
|
169
172
|
MoveDown: string;
|
|
173
|
+
NoData: string;
|
|
170
174
|
};
|
|
171
175
|
es: {
|
|
172
176
|
TypeToSearch: string;
|
|
@@ -209,6 +213,7 @@ export declare const Texts: {
|
|
|
209
213
|
ConfirmDelete: string;
|
|
210
214
|
MoveUp: string;
|
|
211
215
|
MoveDown: string;
|
|
216
|
+
NoData: string;
|
|
212
217
|
};
|
|
213
218
|
pt: {
|
|
214
219
|
TypeToSearch: string;
|
|
@@ -251,6 +256,7 @@ export declare const Texts: {
|
|
|
251
256
|
ConfirmDelete: string;
|
|
252
257
|
MoveUp: string;
|
|
253
258
|
MoveDown: string;
|
|
259
|
+
NoData: string;
|
|
254
260
|
};
|
|
255
261
|
};
|
|
256
262
|
TypeToSearch: string;
|
|
@@ -293,4 +299,5 @@ export declare const Texts: {
|
|
|
293
299
|
ConfirmDelete: string;
|
|
294
300
|
MoveUp: string;
|
|
295
301
|
MoveDown: string;
|
|
302
|
+
NoData: string;
|
|
296
303
|
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ProgrammabilityService } from './programmability.service';
|
|
2
|
+
import { FormService } from './form.service';
|
|
3
|
+
import { AbstractControl, FormGroup } from '@angular/forms';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ComputeService {
|
|
6
|
+
private programmability;
|
|
7
|
+
private formService;
|
|
8
|
+
constructor(programmability: ProgrammabilityService, formService: FormService);
|
|
9
|
+
createCollection(): ComputeCollection;
|
|
10
|
+
addToCollection(collection: ComputeCollection, control: AbstractControl, parentGroup: FormGroup, component: any): void;
|
|
11
|
+
setupCollection(collection: ComputeCollection): void;
|
|
12
|
+
private applyExpression;
|
|
13
|
+
private getPath;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ComputeService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ComputeService>;
|
|
16
|
+
}
|
|
17
|
+
export interface ComputeContext {
|
|
18
|
+
parentGroup: FormGroup;
|
|
19
|
+
component: any;
|
|
20
|
+
}
|
|
21
|
+
export type ComputeCollection = Map<AbstractControl, ComputeContext>;
|
|
@@ -7,15 +7,16 @@ export declare class DisableService {
|
|
|
7
7
|
private formService;
|
|
8
8
|
constructor(programmability: ProgrammabilityService, formService: FormService);
|
|
9
9
|
createCollection(): DisableCollection;
|
|
10
|
-
addToCollection(collection: DisableCollection, control: AbstractControl, parentGroup: FormGroup,
|
|
10
|
+
addToCollection(collection: DisableCollection, control: AbstractControl, parentGroup: FormGroup, component: any): void;
|
|
11
11
|
setupCollection(collection: DisableCollection): void;
|
|
12
12
|
private applyRule;
|
|
13
|
+
private isAllowedValue;
|
|
13
14
|
private getPath;
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<DisableService, never>;
|
|
15
16
|
static ɵprov: i0.ɵɵInjectableDeclaration<DisableService>;
|
|
16
17
|
}
|
|
17
18
|
export interface DisableContext {
|
|
18
19
|
parentGroup: FormGroup;
|
|
19
|
-
|
|
20
|
+
component: any;
|
|
20
21
|
}
|
|
21
22
|
export type DisableCollection = Map<AbstractControl, DisableContext>;
|
|
@@ -6,7 +6,7 @@ export declare class EventService {
|
|
|
6
6
|
constructor(programmability: ProgrammabilityService);
|
|
7
7
|
suppress: boolean;
|
|
8
8
|
createCollection(): EventCollection;
|
|
9
|
-
addToCollection(collection: EventCollection, control: AbstractControl,
|
|
9
|
+
addToCollection(collection: EventCollection, control: AbstractControl, formGroup: FormGroup, component: any): void;
|
|
10
10
|
setupCollection(collection: EventCollection): void;
|
|
11
11
|
private processHandler;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<EventService, never>;
|
|
@@ -12,6 +12,7 @@ export declare class FunctionService implements IEvaluatorProvider {
|
|
|
12
12
|
invokable(func: any): Function;
|
|
13
13
|
executeOnce<T>(observable: Observable<T>, callback: any): void;
|
|
14
14
|
openForm(template: string | object, options: DialogOptions): void;
|
|
15
|
+
newGuid(): string;
|
|
15
16
|
getContext(): Record<string, any>;
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<FunctionService, never>;
|
|
17
18
|
static ɵprov: i0.ɵɵInjectableDeclaration<FunctionService>;
|
|
@@ -17,6 +17,8 @@ export declare class GridService {
|
|
|
17
17
|
onSelectionChanged(component: any, formGroup: FormGroup, event: any): any;
|
|
18
18
|
getCacheKey(): string;
|
|
19
19
|
invalidateOptions(component: any): void;
|
|
20
|
+
onRowDataChanged(component: any, api: GridApi, rowData: any): void;
|
|
21
|
+
onDataSourceChanged(component: any, api: GridApi, dataSource: any): void;
|
|
20
22
|
private get language();
|
|
21
23
|
private locale;
|
|
22
24
|
resizeGrid(component: any, api: GridApi): void;
|
|
@@ -25,10 +27,13 @@ export declare class GridService {
|
|
|
25
27
|
private createColumnDefs;
|
|
26
28
|
private addActionColumnDef;
|
|
27
29
|
private addRowNumbersColumnDef;
|
|
30
|
+
private refreshRowNumbers;
|
|
28
31
|
private groupColumns;
|
|
29
32
|
private groupsToColumnDefs;
|
|
30
33
|
private setCellDataType;
|
|
34
|
+
private setStyles;
|
|
31
35
|
private setCellRenderer;
|
|
36
|
+
private setCellChangeFlash;
|
|
32
37
|
private setAutoHeight;
|
|
33
38
|
private setResizable;
|
|
34
39
|
private setSortable;
|
|
@@ -45,6 +50,8 @@ export declare class GridService {
|
|
|
45
50
|
private setWidth;
|
|
46
51
|
private setValueFormatter;
|
|
47
52
|
getRowSelection(component: any, formGroup: FormGroup): RowSelectionOptions | undefined;
|
|
53
|
+
private hasRowId;
|
|
54
|
+
private getRowId;
|
|
48
55
|
private onRowSelectable;
|
|
49
56
|
private onRowSelected;
|
|
50
57
|
private onRowSelecting;
|
|
@@ -24,9 +24,11 @@ export declare class ProgrammabilityService implements OnDestroy {
|
|
|
24
24
|
private register;
|
|
25
25
|
private scope;
|
|
26
26
|
constructor(feelService: FeelService, weakService: WeakService, toastService: ToastService, dialogService: DialogService, formatterService: FormatterService, functionService: FunctionService, formService: FormService, globalService: GlobalService, register: RegisterService, scope: ScopeService);
|
|
27
|
-
private
|
|
27
|
+
private predefinedFunctions;
|
|
28
28
|
private destroy$;
|
|
29
|
+
private evaluatorProviders;
|
|
29
30
|
ngOnDestroy(): void;
|
|
31
|
+
addEvaluatorProviders(evaluatorProvider: IEvaluatorProvider): void;
|
|
30
32
|
isExpression(text: string | null): boolean;
|
|
31
33
|
getExpression(text: string | null): string;
|
|
32
34
|
evaluateString(formGroup: FormGroup, value: string | null, options?: EvaluateOptions): string;
|
|
@@ -8,7 +8,7 @@ export declare class ValidationService {
|
|
|
8
8
|
constructor(languageService: LanguageService, programmability: ProgrammabilityService);
|
|
9
9
|
suppress: boolean;
|
|
10
10
|
createCollection(): ValidationCollection;
|
|
11
|
-
addToCollection(collection: ValidationCollection, control: AbstractControl,
|
|
11
|
+
addToCollection(collection: ValidationCollection, control: AbstractControl, formGroup: FormGroup, component: any): void;
|
|
12
12
|
setupCollection(collection: ValidationCollection): void;
|
|
13
13
|
private getRules;
|
|
14
14
|
private validateRules;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function generateGuid(): string;
|