@wemake4u/form-player-se 1.0.49 → 1.0.50
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/components/actionsCellRenderer/actionsCellRenderer.component.mjs +1 -1
- package/esm2022/lib/components/setFilter/setFilter.component.mjs +2 -2
- package/esm2022/lib/dialog/dialog.component.mjs +3 -2
- package/esm2022/lib/directives/date.directive.mjs +39 -35
- package/esm2022/lib/directives/dialog.directive.mjs +13 -13
- package/esm2022/lib/directives/dropdown.directive.mjs +59 -72
- package/esm2022/lib/directives/filemanager.directive.mjs +5 -4
- package/esm2022/lib/directives/number.directive.mjs +3 -2
- package/esm2022/lib/dynamic-fields/dynamic-fields.component.mjs +2 -2
- package/esm2022/lib/dynamic-form/dynamic-form.component.mjs +6 -3
- package/esm2022/lib/services/dialog.service.mjs +1 -1
- package/fesm2022/wemake4u-form-player-se.mjs +124 -127
- package/fesm2022/wemake4u-form-player-se.mjs.map +1 -1
- package/lib/directives/date.directive.d.ts +4 -6
- package/lib/directives/dropdown.directive.d.ts +5 -2
- package/lib/dynamic-form/dynamic-form.component.d.ts +1 -0
- package/lib/services/dialog.service.d.ts +2 -0
- package/package.json +2 -2
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { SirioDatepickerComponent } from 'ngx-sirio-lib';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DateDirective implements OnChanges
|
|
4
|
+
export declare class DateDirective implements OnChanges {
|
|
5
5
|
private sirioDatepicker;
|
|
6
6
|
pick: any;
|
|
7
7
|
minDate: any;
|
|
8
8
|
maxDate: any;
|
|
9
9
|
constructor(sirioDatepicker: SirioDatepickerComponent);
|
|
10
10
|
ngOnChanges(changes: SimpleChanges): void;
|
|
11
|
-
ngAfterViewInit(): void;
|
|
12
|
-
private displayFormat;
|
|
13
|
-
private configurePicker;
|
|
14
11
|
private getPickLevel;
|
|
15
|
-
private getDate;
|
|
16
12
|
private getDisplayFormat;
|
|
13
|
+
private onOpenCalendar;
|
|
14
|
+
private getDate;
|
|
17
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateDirective, [{ host: true; }]>;
|
|
18
16
|
static ɵdir: i0.ɵɵDirectiveDeclaration<DateDirective, "[isoDate]", never, { "pick": { "alias": "pick"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
17
|
}
|
|
@@ -19,6 +19,9 @@ export declare class DropdownDirective implements AfterViewInit, OnDestroy {
|
|
|
19
19
|
private handleSearchable;
|
|
20
20
|
private handleOptionsChanges;
|
|
21
21
|
private handleOptionSelected;
|
|
22
|
+
private getPanelElementRef;
|
|
23
|
+
private getDropDownElement;
|
|
24
|
+
private getDropDownMenuElement;
|
|
22
25
|
private canValidate;
|
|
23
26
|
private validator;
|
|
24
27
|
private addValidator;
|
|
@@ -33,8 +36,8 @@ export declare class DropdownDirective implements AfterViewInit, OnDestroy {
|
|
|
33
36
|
private isHidden;
|
|
34
37
|
private show;
|
|
35
38
|
private comparable;
|
|
36
|
-
private
|
|
37
|
-
private
|
|
39
|
+
private doSerach;
|
|
40
|
+
private scroll;
|
|
38
41
|
private findPreviousVisibleOption;
|
|
39
42
|
private findNextVisibleOption;
|
|
40
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownDirective, [null, null, null, null, { host: true; }]>;
|
|
@@ -430,6 +430,7 @@ export declare class DynamicFormComponent implements OnChanges, OnDestroy, IEval
|
|
|
430
430
|
evaluateBoolean(value: boolean | string | null): boolean | null;
|
|
431
431
|
evaluateTemplate(value: string | null): string;
|
|
432
432
|
openForm(template: string, options: FormDialogOptions): void;
|
|
433
|
+
openDialog(formSchema: any, options: FormDialogOptions): void;
|
|
433
434
|
isChanged(): boolean;
|
|
434
435
|
isValid(): boolean;
|
|
435
436
|
getContext(): Record<string, any>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Injector, Type } from '@angular/core';
|
|
2
2
|
import { SirioDialogService, DialogTypes, DialogSizes, ButtonColors, SirioDialogElement } from 'ngx-sirio-lib';
|
|
3
3
|
import { IEvaluatorProvider } from '../services/programmability.service';
|
|
4
|
+
import { DynamicFormComponent } from '../dynamic-form/dynamic-form.component';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class DialogService implements IEvaluatorProvider {
|
|
6
7
|
private dialogService;
|
|
@@ -40,6 +41,7 @@ export interface FormDialogOptions extends DialogOptions {
|
|
|
40
41
|
showFormTitle?: boolean;
|
|
41
42
|
}
|
|
42
43
|
export interface DialogResult {
|
|
44
|
+
form: DynamicFormComponent;
|
|
43
45
|
action: DialogAction | string;
|
|
44
46
|
value?: any;
|
|
45
47
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wemake4u/form-player-se",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.50",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/cdk": "^18.2.0",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"@ag-grid-community/locale": "^33.1.0",
|
|
15
15
|
"ag-charts-angular": "^11.3.2",
|
|
16
16
|
"ag-charts-community": "^11.3.2",
|
|
17
|
-
"ngx-sirio-lib": "^1.
|
|
17
|
+
"ngx-sirio-lib": "^1.4.9-A16",
|
|
18
18
|
"util": "^0.12.5",
|
|
19
19
|
"@wemake4u/interact": "^1.0.5"
|
|
20
20
|
},
|