ngx-render-material-forms 2.5.12 → 2.5.14
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/FormioControl.mjs +36 -0
- package/esm2022/lib/components/Base.mjs +32 -0
- package/esm2022/lib/components/MaterialComponent.mjs +148 -0
- package/esm2022/lib/components/MaterialNestedComponent.mjs +38 -0
- package/esm2022/lib/components/Webform.mjs +18 -0
- package/esm2022/lib/components/add-on-products/add-on-products.component.mjs +841 -0
- package/esm2022/lib/components/button/button.component.mjs +101 -0
- package/esm2022/lib/components/calendar/calendar.component.mjs +127 -0
- package/esm2022/lib/components/checkbox/checkbox.component.mjs +53 -0
- package/esm2022/lib/components/columns/columns.component.mjs +58 -0
- package/esm2022/lib/components/common.service.mjs +255 -0
- package/esm2022/lib/components/confirmation-dialog/confirmation-dialog.component.mjs +24 -0
- package/esm2022/lib/components/container/container.component.mjs +24 -0
- package/{esm2020 → esm2022}/lib/components/content/content.component.mjs +18 -18
- package/esm2022/lib/components/currency/currency.component.mjs +41 -0
- package/esm2022/lib/components/datagrid/datagrid.component.mjs +693 -0
- package/esm2022/lib/components/date/date.component.mjs +336 -0
- package/{esm2020 → esm2022}/lib/components/day/day.component.mjs +75 -75
- package/esm2022/lib/components/editgrid/editgrid.component.mjs +243 -0
- package/esm2022/lib/components/email/email.component.mjs +28 -0
- package/esm2022/lib/components/fieldset/fieldset.component.mjs +49 -0
- package/esm2022/lib/components/formio-form-field/formio-form-field.component.mjs +56 -0
- package/esm2022/lib/components/formio.wizard.mjs +88 -0
- package/{esm2020 → esm2022}/lib/components/hidden/hidden.component.mjs +20 -20
- package/esm2022/lib/components/html/html.component.mjs +29 -0
- package/esm2022/lib/components/index.mjs +125 -0
- package/{esm2020 → esm2022}/lib/components/label/label.component.mjs +17 -17
- package/esm2022/lib/components/number/number.component.mjs +65 -0
- package/esm2022/lib/components/panel/panel.component.mjs +56 -0
- package/esm2022/lib/components/password/password.component.mjs +28 -0
- package/esm2022/lib/components/phonenumber/phonenumber.component.mjs +28 -0
- package/esm2022/lib/components/radio/radio.component.mjs +93 -0
- package/esm2022/lib/components/select/select.component.mjs +592 -0
- package/esm2022/lib/components/selectboxes/selectboxes.component.mjs +99 -0
- package/esm2022/lib/components/signature/signature.component.mjs +99 -0
- package/esm2022/lib/components/survey/survey.component.mjs +166 -0
- package/esm2022/lib/components/table/table.component.mjs +96 -0
- package/esm2022/lib/components/tabs/tabs.component.mjs +42 -0
- package/esm2022/lib/components/tags/tags.component.mjs +114 -0
- package/esm2022/lib/components/textarea/textarea.component.mjs +94 -0
- package/esm2022/lib/components/textfield/textfield.component.mjs +122 -0
- package/esm2022/lib/components/time/time.component.mjs +205 -0
- package/esm2022/lib/components/url/url.component.mjs +28 -0
- package/esm2022/lib/components/well/well.component.mjs +41 -0
- package/{esm2020 → esm2022}/lib/const/ButtonsThemes.mjs +16 -16
- package/{esm2020 → esm2022}/lib/const/LabelPositions.mjs +9 -9
- package/esm2022/lib/directives/mask.directive.mjs +65 -0
- package/esm2022/lib/formio.component.mjs +77 -0
- package/{esm2020 → esm2022}/lib/ngx-render-material-forms.component.mjs +15 -15
- package/esm2022/lib/ngx-render-material-forms.module.mjs +332 -0
- package/{esm2020 → esm2022}/lib/ngx-render-material-forms.service.mjs +14 -14
- package/{esm2020 → esm2022}/lib/renderer.mjs +12 -12
- package/{esm2020 → esm2022}/ngx-render-material-forms.js +4 -4
- package/{esm2020 → esm2022}/public-api.mjs +6 -6
- package/{fesm2020 → fesm2022}/ngx-render-material-forms.js +4218 -4286
- package/fesm2022/ngx-render-material-forms.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/FormioControl.d.ts +7 -7
- package/lib/components/Base.d.ts +2 -2
- package/lib/components/MaterialComponent.d.ts +30 -30
- package/lib/components/MaterialNestedComponent.d.ts +13 -13
- package/lib/components/Webform.d.ts +1 -1
- package/lib/components/add-on-products/add-on-products.component.d.ts +142 -142
- package/lib/components/button/button.component.d.ts +30 -30
- package/lib/components/calendar/calendar.component.d.ts +34 -34
- package/lib/components/checkbox/checkbox.component.d.ts +9 -9
- package/lib/components/columns/columns.component.d.ts +12 -12
- package/lib/components/common.service.d.ts +86 -86
- package/lib/components/confirmation-dialog/confirmation-dialog.component.d.ts +11 -11
- package/lib/components/container/container.component.d.ts +8 -8
- package/lib/components/content/content.component.d.ts +8 -8
- package/lib/components/currency/currency.component.d.ts +10 -10
- package/lib/components/datagrid/datagrid.component.d.ts +81 -81
- package/lib/components/date/date.component.d.ts +40 -40
- package/lib/components/day/day.component.d.ts +16 -16
- package/lib/components/editgrid/editgrid.component.d.ts +50 -50
- package/lib/components/email/email.component.d.ts +9 -9
- package/lib/components/fieldset/fieldset.component.d.ts +8 -8
- package/lib/components/formio-form-field/formio-form-field.component.d.ts +18 -18
- package/lib/components/formio.wizard.d.ts +19 -19
- package/lib/components/hidden/hidden.component.d.ts +8 -8
- package/lib/components/html/html.component.d.ts +11 -11
- package/lib/components/index.d.ts +2 -2
- package/lib/components/label/label.component.d.ts +6 -6
- package/lib/components/number/number.component.d.ts +18 -18
- package/lib/components/panel/panel.component.d.ts +8 -8
- package/lib/components/password/password.component.d.ts +9 -9
- package/lib/components/phonenumber/phonenumber.component.d.ts +9 -9
- package/lib/components/radio/radio.component.d.ts +12 -12
- package/lib/components/select/select.component.d.ts +77 -77
- package/lib/components/selectboxes/selectboxes.component.d.ts +15 -15
- package/lib/components/signature/signature.component.d.ts +12 -12
- package/lib/components/survey/survey.component.d.ts +14 -14
- package/lib/components/table/table.component.d.ts +12 -12
- package/lib/components/tabs/tabs.component.d.ts +9 -9
- package/lib/components/tags/tags.component.d.ts +15 -15
- package/lib/components/textarea/textarea.component.d.ts +13 -13
- package/lib/components/textfield/textfield.component.d.ts +18 -18
- package/lib/components/time/time.component.d.ts +27 -27
- package/lib/components/url/url.component.d.ts +9 -9
- package/lib/components/well/well.component.d.ts +8 -8
- package/lib/const/ButtonsThemes.d.ts +14 -14
- package/lib/const/LabelPositions.d.ts +8 -8
- package/lib/directives/mask.directive.d.ts +17 -17
- package/lib/formio.component.d.ts +15 -15
- package/lib/ngx-render-material-forms.component.d.ts +8 -8
- package/lib/ngx-render-material-forms.module.d.ts +110 -112
- package/lib/ngx-render-material-forms.service.d.ts +6 -6
- package/lib/renderer.d.ts +8 -8
- package/package.json +5 -11
- package/public-api.d.ts +3 -3
- package/esm2020/lib/FormioControl.mjs +0 -36
- package/esm2020/lib/components/Base.mjs +0 -32
- package/esm2020/lib/components/MaterialComponent.mjs +0 -145
- package/esm2020/lib/components/MaterialNestedComponent.mjs +0 -38
- package/esm2020/lib/components/Webform.mjs +0 -18
- package/esm2020/lib/components/add-on-products/add-on-products.component.mjs +0 -842
- package/esm2020/lib/components/button/button.component.mjs +0 -102
- package/esm2020/lib/components/calendar/calendar.component.mjs +0 -129
- package/esm2020/lib/components/checkbox/checkbox.component.mjs +0 -54
- package/esm2020/lib/components/columns/columns.component.mjs +0 -69
- package/esm2020/lib/components/common.service.mjs +0 -256
- package/esm2020/lib/components/confirmation-dialog/confirmation-dialog.component.mjs +0 -25
- package/esm2020/lib/components/container/container.component.mjs +0 -25
- package/esm2020/lib/components/currency/currency.component.mjs +0 -43
- package/esm2020/lib/components/datagrid/datagrid.component.mjs +0 -694
- package/esm2020/lib/components/date/date.component.mjs +0 -337
- package/esm2020/lib/components/editgrid/editgrid.component.mjs +0 -243
- package/esm2020/lib/components/email/email.component.mjs +0 -30
- package/esm2020/lib/components/fieldset/fieldset.component.mjs +0 -50
- package/esm2020/lib/components/formio-form-field/formio-form-field.component.mjs +0 -57
- package/esm2020/lib/components/formio.wizard.mjs +0 -88
- package/esm2020/lib/components/html/html.component.mjs +0 -29
- package/esm2020/lib/components/index.mjs +0 -125
- package/esm2020/lib/components/number/number.component.mjs +0 -67
- package/esm2020/lib/components/panel/panel.component.mjs +0 -57
- package/esm2020/lib/components/password/password.component.mjs +0 -30
- package/esm2020/lib/components/phonenumber/phonenumber.component.mjs +0 -30
- package/esm2020/lib/components/radio/radio.component.mjs +0 -96
- package/esm2020/lib/components/select/select.component.mjs +0 -593
- package/esm2020/lib/components/selectboxes/selectboxes.component.mjs +0 -102
- package/esm2020/lib/components/signature/signature.component.mjs +0 -103
- package/esm2020/lib/components/survey/survey.component.mjs +0 -167
- package/esm2020/lib/components/table/table.component.mjs +0 -97
- package/esm2020/lib/components/tabs/tabs.component.mjs +0 -43
- package/esm2020/lib/components/tags/tags.component.mjs +0 -117
- package/esm2020/lib/components/textarea/textarea.component.mjs +0 -98
- package/esm2020/lib/components/textfield/textfield.component.mjs +0 -124
- package/esm2020/lib/components/time/time.component.mjs +0 -206
- package/esm2020/lib/components/url/url.component.mjs +0 -30
- package/esm2020/lib/components/well/well.component.mjs +0 -43
- package/esm2020/lib/directives/mask.directive.mjs +0 -65
- package/esm2020/lib/formio.component.mjs +0 -80
- package/esm2020/lib/ngx-render-material-forms.module.mjs +0 -378
- package/fesm2015/ngx-render-material-forms.js +0 -5848
- package/fesm2015/ngx-render-material-forms.mjs.map +0 -1
- package/fesm2020/ngx-render-material-forms.mjs.map +0 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
/// <amd-module name="ngx-render-material-forms" />
|
|
5
|
-
export * from './public-api';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="ngx-render-material-forms" />
|
|
5
|
+
export * from './public-api';
|
package/lib/FormioControl.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FormControl, ValidationErrors } from '@angular/forms';
|
|
2
|
-
export declare class FormioControl extends FormControl {
|
|
3
|
-
instance: any;
|
|
4
|
-
static customValidator(control: FormioControl): Promise<ValidationErrors>;
|
|
5
|
-
constructor(...args: any[]);
|
|
6
|
-
setInstance(instance: any): void;
|
|
7
|
-
}
|
|
1
|
+
import { FormControl, ValidationErrors } from '@angular/forms';
|
|
2
|
+
export declare class FormioControl extends FormControl {
|
|
3
|
+
instance: any;
|
|
4
|
+
static customValidator(control: FormioControl): Promise<ValidationErrors>;
|
|
5
|
+
constructor(...args: any[]);
|
|
6
|
+
setInstance(instance: any): void;
|
|
7
|
+
}
|
package/lib/components/Base.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: any;
|
|
2
|
-
export default _default;
|
|
1
|
+
declare const _default: any;
|
|
2
|
+
export default _default;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { ElementRef, ChangeDetectorRef, AfterViewInit, OnInit } from '@angular/core';
|
|
2
|
-
import FormioComponent from './Base';
|
|
3
|
-
import { FormioControl } from '../FormioControl';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class MaterialComponent implements AfterViewInit, OnInit {
|
|
6
|
-
element: ElementRef;
|
|
7
|
-
ref: ChangeDetectorRef;
|
|
8
|
-
instance: any;
|
|
9
|
-
input: ElementRef;
|
|
10
|
-
control: FormioControl;
|
|
11
|
-
constructor(element: ElementRef, ref: ChangeDetectorRef);
|
|
12
|
-
setInstance(instance: any): void;
|
|
13
|
-
ngOnInit(): void;
|
|
14
|
-
validateOnInit(): void;
|
|
15
|
-
storeFormData(): void;
|
|
16
|
-
getFormValue(path: any): any;
|
|
17
|
-
renderComponents(): void;
|
|
18
|
-
onChange(keepInputRaw?: boolean): void;
|
|
19
|
-
getValue(): any;
|
|
20
|
-
setValue(value: any): void;
|
|
21
|
-
beforeSubmit(): void;
|
|
22
|
-
hasError(): boolean;
|
|
23
|
-
shouldValidateOnInit(): any;
|
|
24
|
-
setDisabled(disabled: any): void;
|
|
25
|
-
setVisible(visible: any): void;
|
|
26
|
-
ngAfterViewInit(): void;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialComponent, "mat-formio-comp", never, { "instance": "instance"; "control": "control"; }, {}, never, never, false>;
|
|
29
|
-
}
|
|
30
|
-
export { FormioComponent };
|
|
1
|
+
import { ElementRef, ChangeDetectorRef, AfterViewInit, OnInit } from '@angular/core';
|
|
2
|
+
import FormioComponent from './Base';
|
|
3
|
+
import { FormioControl } from '../FormioControl';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MaterialComponent implements AfterViewInit, OnInit {
|
|
6
|
+
element: ElementRef;
|
|
7
|
+
ref: ChangeDetectorRef;
|
|
8
|
+
instance: any;
|
|
9
|
+
input: ElementRef;
|
|
10
|
+
control: FormioControl;
|
|
11
|
+
constructor(element: ElementRef, ref: ChangeDetectorRef);
|
|
12
|
+
setInstance(instance: any): void;
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
validateOnInit(): void;
|
|
15
|
+
storeFormData(): void;
|
|
16
|
+
getFormValue(path: any): any;
|
|
17
|
+
renderComponents(): void;
|
|
18
|
+
onChange(keepInputRaw?: boolean): void;
|
|
19
|
+
getValue(): any;
|
|
20
|
+
setValue(value: any): void;
|
|
21
|
+
beforeSubmit(): void;
|
|
22
|
+
hasError(): boolean;
|
|
23
|
+
shouldValidateOnInit(): any;
|
|
24
|
+
setDisabled(disabled: any): void;
|
|
25
|
+
setVisible(visible: any): void;
|
|
26
|
+
ngAfterViewInit(): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialComponent, "mat-formio-comp", never, { "instance": { "alias": "instance"; "required": false; }; "control": { "alias": "control"; "required": false; }; }, {}, never, never, false, never>;
|
|
29
|
+
}
|
|
30
|
+
export { FormioComponent };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { AfterViewInit, QueryList, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { MaterialComponent } from './MaterialComponent';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MaterialNestedComponent extends MaterialComponent implements AfterViewInit {
|
|
5
|
-
viewContainers: any;
|
|
6
|
-
components: QueryList<ViewContainerRef>;
|
|
7
|
-
setInstance(instance: any): void;
|
|
8
|
-
renderComponents(): void;
|
|
9
|
-
render(): void;
|
|
10
|
-
ngAfterViewInit(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialNestedComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialNestedComponent, "mat-formio-nested", never, {}, {}, never, never, false>;
|
|
13
|
-
}
|
|
1
|
+
import { AfterViewInit, QueryList, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { MaterialComponent } from './MaterialComponent';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MaterialNestedComponent extends MaterialComponent implements AfterViewInit {
|
|
5
|
+
viewContainers: any;
|
|
6
|
+
components: QueryList<ViewContainerRef>;
|
|
7
|
+
setInstance(instance: any): void;
|
|
8
|
+
renderComponents(): void;
|
|
9
|
+
render(): void;
|
|
10
|
+
ngAfterViewInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialNestedComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialNestedComponent, "mat-formio-nested", never, {}, {}, never, never, false, never>;
|
|
13
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,142 +1,142 @@
|
|
|
1
|
-
import { SelectionModel } from '@angular/cdk/collections';
|
|
2
|
-
import { AfterViewInit, ElementRef, OnInit } from '@angular/core';
|
|
3
|
-
import { FormBuilder, FormGroup, FormArray } from '@angular/forms';
|
|
4
|
-
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
5
|
-
import { MatTableDataSource } from '@angular/material/table';
|
|
6
|
-
import { CommonService } from '../common.service';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export interface Product {
|
|
9
|
-
productName: string;
|
|
10
|
-
productDescription: string;
|
|
11
|
-
quantity: any;
|
|
12
|
-
price: any;
|
|
13
|
-
text: any;
|
|
14
|
-
id: any;
|
|
15
|
-
value: any;
|
|
16
|
-
otherInformation0: any;
|
|
17
|
-
otherInformation1: any;
|
|
18
|
-
otherInformation2: any;
|
|
19
|
-
}
|
|
20
|
-
export declare class AddOnProductsComponent implements AfterViewInit, OnInit {
|
|
21
|
-
matDialogRef: MatDialogRef<AddOnProductsComponent>;
|
|
22
|
-
private fb;
|
|
23
|
-
private dialog;
|
|
24
|
-
private commonSevice;
|
|
25
|
-
form: FormGroup;
|
|
26
|
-
dropdownOne: string[];
|
|
27
|
-
dropdownTwo: string[];
|
|
28
|
-
dropdownThree: string[];
|
|
29
|
-
dropdownFour: string[];
|
|
30
|
-
filteredDropdownOne: string[];
|
|
31
|
-
filteredDropdownTwo: string[];
|
|
32
|
-
filteredDropdownThree: string[];
|
|
33
|
-
filteredDropdownFour: string[];
|
|
34
|
-
addProductsColumns: string[];
|
|
35
|
-
showAllproductsColumns: string[];
|
|
36
|
-
quantityList: number[];
|
|
37
|
-
ELEMENT_DATA: Product[];
|
|
38
|
-
dataSource: MatTableDataSource<Product>;
|
|
39
|
-
selection: SelectionModel<any>;
|
|
40
|
-
selectedDataSource: MatTableDataSource<Product>;
|
|
41
|
-
selectedCategory: any;
|
|
42
|
-
selectedSubCategory: any;
|
|
43
|
-
showCategory: boolean;
|
|
44
|
-
showSubcategory: boolean;
|
|
45
|
-
showPrice: boolean;
|
|
46
|
-
showQuantity: boolean;
|
|
47
|
-
showSkuNumber: boolean;
|
|
48
|
-
showInventory: boolean;
|
|
49
|
-
showNewProductPicker: boolean;
|
|
50
|
-
setCategory: string;
|
|
51
|
-
setSubCategory: string;
|
|
52
|
-
loadingFlag: boolean;
|
|
53
|
-
pageNumber: number;
|
|
54
|
-
pageSize: number;
|
|
55
|
-
totalPages: number;
|
|
56
|
-
searchQuery: string;
|
|
57
|
-
itemList: any[];
|
|
58
|
-
trackHeight: any;
|
|
59
|
-
prevScrollPosition: number;
|
|
60
|
-
firstscrollableDiv: ElementRef;
|
|
61
|
-
spinnerFlag: boolean;
|
|
62
|
-
dropdownL1: boolean;
|
|
63
|
-
dropdownL2: boolean;
|
|
64
|
-
dropdownL3: boolean;
|
|
65
|
-
dropdownL4: boolean;
|
|
66
|
-
dropdownL1Label: string;
|
|
67
|
-
dropdownL2Label: string;
|
|
68
|
-
dropdownL3Label: string;
|
|
69
|
-
dropdownL4Label: string;
|
|
70
|
-
dropDownCount: number;
|
|
71
|
-
levelOneId: any;
|
|
72
|
-
levelTwoId: any;
|
|
73
|
-
levelThreeId: any;
|
|
74
|
-
levelFourId: any;
|
|
75
|
-
disablePrice: boolean;
|
|
76
|
-
checkSubmissionStatus: boolean;
|
|
77
|
-
currentPage: string;
|
|
78
|
-
isVisible: boolean;
|
|
79
|
-
isDisabled2: boolean;
|
|
80
|
-
isDisabled3: boolean;
|
|
81
|
-
isDisabled4: boolean;
|
|
82
|
-
isPriceDisable: boolean;
|
|
83
|
-
activeFiltersCount: number;
|
|
84
|
-
emptyImage: string;
|
|
85
|
-
getTotalRecords: number;
|
|
86
|
-
priceFieldLable: string;
|
|
87
|
-
targetCost: string;
|
|
88
|
-
showCost: boolean;
|
|
89
|
-
skuTweek: string;
|
|
90
|
-
costTweek: string;
|
|
91
|
-
priceTweek: string;
|
|
92
|
-
productTweek: string;
|
|
93
|
-
quantityTweek: string;
|
|
94
|
-
categoryTweek: string;
|
|
95
|
-
subCategoryTweek: string;
|
|
96
|
-
inventoryTweek: string;
|
|
97
|
-
alphanumeric: boolean;
|
|
98
|
-
constructor(matDialogRef: MatDialogRef<AddOnProductsComponent>, data: any, fb: FormBuilder, dialog: MatDialog, commonSevice: CommonService);
|
|
99
|
-
removeColumn(columnName: string): void;
|
|
100
|
-
initializeFormArray(): void;
|
|
101
|
-
initializeDataSources(): void;
|
|
102
|
-
ngAfterViewInit(): void;
|
|
103
|
-
ngOnInit(): void;
|
|
104
|
-
handleDropdownFilter(): void;
|
|
105
|
-
loadDropdownL1(): void;
|
|
106
|
-
loadDropdownL2(levelOneId: any): void;
|
|
107
|
-
loadDropdownL3(levelOneId: any, levelTwoId: any): void;
|
|
108
|
-
loadDropdownL4(levelOneId: any, levelTwoId: any, levelThreeId: any): void;
|
|
109
|
-
filterProducts(value: string, cat: string): string[];
|
|
110
|
-
onSubmit(): void;
|
|
111
|
-
isAllSelected(): boolean;
|
|
112
|
-
isIndeterminate(): boolean;
|
|
113
|
-
masterToggle(): void;
|
|
114
|
-
toggleSelection(row: Product): void;
|
|
115
|
-
get selectedProducts(): FormArray;
|
|
116
|
-
updateSelectedProducts(): void;
|
|
117
|
-
getTotalRows(): number;
|
|
118
|
-
getSelectedRowsCount(): number;
|
|
119
|
-
onOptionSelected(event: any, category: string): void;
|
|
120
|
-
getProducts(flag: boolean): void;
|
|
121
|
-
removeRow(event: Event, element: Product): void;
|
|
122
|
-
onScroll(event: any): void;
|
|
123
|
-
countTrueDropdowns(obj: any): number;
|
|
124
|
-
displayFn(option: any): string;
|
|
125
|
-
onQuantityChange(event: any, index: number): void;
|
|
126
|
-
goToNextPage(): void;
|
|
127
|
-
goToPreviousPage(): void;
|
|
128
|
-
toggleSection(): void;
|
|
129
|
-
clearField(field: string, category: string, event: Event): void;
|
|
130
|
-
onInputChange(event: Event, category: string): void;
|
|
131
|
-
getDropdownLevel(category: string): number;
|
|
132
|
-
updateActiveFiltersCount(): void;
|
|
133
|
-
clearIfEmpty(event: any): void;
|
|
134
|
-
resetTable(): void;
|
|
135
|
-
shouldResetTable(search: string, levelOneId: number, levelTwoId: number, levelThreeId: number, levelFourId: number): boolean;
|
|
136
|
-
applyValidationRule(event: any, index: number, controlName: string): void;
|
|
137
|
-
restrictInput(event: KeyboardEvent, controlName: string): void;
|
|
138
|
-
handlePaste(event: ClipboardEvent, controlName: string): void;
|
|
139
|
-
scrollToFirstInvalidControl(): void;
|
|
140
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AddOnProductsComponent, never>;
|
|
141
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AddOnProductsComponent, "ngx-mat-add-on-products", never, {}, {}, never, never, false>;
|
|
142
|
-
}
|
|
1
|
+
import { SelectionModel } from '@angular/cdk/collections';
|
|
2
|
+
import { AfterViewInit, ElementRef, OnInit } from '@angular/core';
|
|
3
|
+
import { FormBuilder, FormGroup, FormArray } from '@angular/forms';
|
|
4
|
+
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
5
|
+
import { MatTableDataSource } from '@angular/material/table';
|
|
6
|
+
import { CommonService } from '../common.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export interface Product {
|
|
9
|
+
productName: string;
|
|
10
|
+
productDescription: string;
|
|
11
|
+
quantity: any;
|
|
12
|
+
price: any;
|
|
13
|
+
text: any;
|
|
14
|
+
id: any;
|
|
15
|
+
value: any;
|
|
16
|
+
otherInformation0: any;
|
|
17
|
+
otherInformation1: any;
|
|
18
|
+
otherInformation2: any;
|
|
19
|
+
}
|
|
20
|
+
export declare class AddOnProductsComponent implements AfterViewInit, OnInit {
|
|
21
|
+
matDialogRef: MatDialogRef<AddOnProductsComponent>;
|
|
22
|
+
private fb;
|
|
23
|
+
private dialog;
|
|
24
|
+
private commonSevice;
|
|
25
|
+
form: FormGroup;
|
|
26
|
+
dropdownOne: string[];
|
|
27
|
+
dropdownTwo: string[];
|
|
28
|
+
dropdownThree: string[];
|
|
29
|
+
dropdownFour: string[];
|
|
30
|
+
filteredDropdownOne: string[];
|
|
31
|
+
filteredDropdownTwo: string[];
|
|
32
|
+
filteredDropdownThree: string[];
|
|
33
|
+
filteredDropdownFour: string[];
|
|
34
|
+
addProductsColumns: string[];
|
|
35
|
+
showAllproductsColumns: string[];
|
|
36
|
+
quantityList: number[];
|
|
37
|
+
ELEMENT_DATA: Product[];
|
|
38
|
+
dataSource: MatTableDataSource<Product, import("@angular/material/paginator").MatPaginator>;
|
|
39
|
+
selection: SelectionModel<any>;
|
|
40
|
+
selectedDataSource: MatTableDataSource<Product, import("@angular/material/paginator").MatPaginator>;
|
|
41
|
+
selectedCategory: any;
|
|
42
|
+
selectedSubCategory: any;
|
|
43
|
+
showCategory: boolean;
|
|
44
|
+
showSubcategory: boolean;
|
|
45
|
+
showPrice: boolean;
|
|
46
|
+
showQuantity: boolean;
|
|
47
|
+
showSkuNumber: boolean;
|
|
48
|
+
showInventory: boolean;
|
|
49
|
+
showNewProductPicker: boolean;
|
|
50
|
+
setCategory: string;
|
|
51
|
+
setSubCategory: string;
|
|
52
|
+
loadingFlag: boolean;
|
|
53
|
+
pageNumber: number;
|
|
54
|
+
pageSize: number;
|
|
55
|
+
totalPages: number;
|
|
56
|
+
searchQuery: string;
|
|
57
|
+
itemList: any[];
|
|
58
|
+
trackHeight: any;
|
|
59
|
+
prevScrollPosition: number;
|
|
60
|
+
firstscrollableDiv: ElementRef;
|
|
61
|
+
spinnerFlag: boolean;
|
|
62
|
+
dropdownL1: boolean;
|
|
63
|
+
dropdownL2: boolean;
|
|
64
|
+
dropdownL3: boolean;
|
|
65
|
+
dropdownL4: boolean;
|
|
66
|
+
dropdownL1Label: string;
|
|
67
|
+
dropdownL2Label: string;
|
|
68
|
+
dropdownL3Label: string;
|
|
69
|
+
dropdownL4Label: string;
|
|
70
|
+
dropDownCount: number;
|
|
71
|
+
levelOneId: any;
|
|
72
|
+
levelTwoId: any;
|
|
73
|
+
levelThreeId: any;
|
|
74
|
+
levelFourId: any;
|
|
75
|
+
disablePrice: boolean;
|
|
76
|
+
checkSubmissionStatus: boolean;
|
|
77
|
+
currentPage: string;
|
|
78
|
+
isVisible: boolean;
|
|
79
|
+
isDisabled2: boolean;
|
|
80
|
+
isDisabled3: boolean;
|
|
81
|
+
isDisabled4: boolean;
|
|
82
|
+
isPriceDisable: boolean;
|
|
83
|
+
activeFiltersCount: number;
|
|
84
|
+
emptyImage: string;
|
|
85
|
+
getTotalRecords: number;
|
|
86
|
+
priceFieldLable: string;
|
|
87
|
+
targetCost: string;
|
|
88
|
+
showCost: boolean;
|
|
89
|
+
skuTweek: string;
|
|
90
|
+
costTweek: string;
|
|
91
|
+
priceTweek: string;
|
|
92
|
+
productTweek: string;
|
|
93
|
+
quantityTweek: string;
|
|
94
|
+
categoryTweek: string;
|
|
95
|
+
subCategoryTweek: string;
|
|
96
|
+
inventoryTweek: string;
|
|
97
|
+
alphanumeric: boolean;
|
|
98
|
+
constructor(matDialogRef: MatDialogRef<AddOnProductsComponent>, data: any, fb: FormBuilder, dialog: MatDialog, commonSevice: CommonService);
|
|
99
|
+
removeColumn(columnName: string): void;
|
|
100
|
+
initializeFormArray(): void;
|
|
101
|
+
initializeDataSources(): void;
|
|
102
|
+
ngAfterViewInit(): void;
|
|
103
|
+
ngOnInit(): void;
|
|
104
|
+
handleDropdownFilter(): void;
|
|
105
|
+
loadDropdownL1(): void;
|
|
106
|
+
loadDropdownL2(levelOneId: any): void;
|
|
107
|
+
loadDropdownL3(levelOneId: any, levelTwoId: any): void;
|
|
108
|
+
loadDropdownL4(levelOneId: any, levelTwoId: any, levelThreeId: any): void;
|
|
109
|
+
filterProducts(value: string, cat: string): string[];
|
|
110
|
+
onSubmit(): void;
|
|
111
|
+
isAllSelected(): boolean;
|
|
112
|
+
isIndeterminate(): boolean;
|
|
113
|
+
masterToggle(): void;
|
|
114
|
+
toggleSelection(row: Product): void;
|
|
115
|
+
get selectedProducts(): FormArray;
|
|
116
|
+
updateSelectedProducts(): void;
|
|
117
|
+
getTotalRows(): number;
|
|
118
|
+
getSelectedRowsCount(): number;
|
|
119
|
+
onOptionSelected(event: any, category: string): void;
|
|
120
|
+
getProducts(flag: boolean): void;
|
|
121
|
+
removeRow(event: Event, element: Product): void;
|
|
122
|
+
onScroll(event: any): void;
|
|
123
|
+
countTrueDropdowns(obj: any): number;
|
|
124
|
+
displayFn(option: any): string;
|
|
125
|
+
onQuantityChange(event: any, index: number): void;
|
|
126
|
+
goToNextPage(): void;
|
|
127
|
+
goToPreviousPage(): void;
|
|
128
|
+
toggleSection(): void;
|
|
129
|
+
clearField(field: string, category: string, event: Event): void;
|
|
130
|
+
onInputChange(event: Event, category: string): void;
|
|
131
|
+
getDropdownLevel(category: string): number;
|
|
132
|
+
updateActiveFiltersCount(): void;
|
|
133
|
+
clearIfEmpty(event: any): void;
|
|
134
|
+
resetTable(): void;
|
|
135
|
+
shouldResetTable(search: string, levelOneId: number, levelTwoId: number, levelThreeId: number, levelFourId: number): boolean;
|
|
136
|
+
applyValidationRule(event: any, index: number, controlName: string): void;
|
|
137
|
+
restrictInput(event: KeyboardEvent, controlName: string): void;
|
|
138
|
+
handlePaste(event: ClipboardEvent, controlName: string): void;
|
|
139
|
+
scrollToFirstInvalidControl(): void;
|
|
140
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AddOnProductsComponent, never>;
|
|
141
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AddOnProductsComponent, "ngx-mat-add-on-products", never, {}, {}, never, never, false, never>;
|
|
142
|
+
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
-
import ButtonComponent from 'formiojs/components/button/Button.js';
|
|
3
|
-
import { MaterialComponent } from '../MaterialComponent';
|
|
4
|
-
import { AngularButtonsThemes } from '../../const/ButtonsThemes';
|
|
5
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class MaterialButtonComponent extends MaterialComponent {
|
|
8
|
-
element: ElementRef;
|
|
9
|
-
ref: ChangeDetectorRef;
|
|
10
|
-
private dialog;
|
|
11
|
-
loading: boolean;
|
|
12
|
-
done: boolean;
|
|
13
|
-
error: boolean;
|
|
14
|
-
disabled: boolean;
|
|
15
|
-
clicked: boolean;
|
|
16
|
-
walkmeClass: string;
|
|
17
|
-
constructor(element: ElementRef, ref: ChangeDetectorRef, dialog: MatDialog);
|
|
18
|
-
get color(): AngularButtonsThemes;
|
|
19
|
-
get angularButtonTheme(): "" | AngularButtonsThemes;
|
|
20
|
-
get buttonClass(): string;
|
|
21
|
-
onClick(event: any): void;
|
|
22
|
-
getValue(): boolean;
|
|
23
|
-
setState(loading: any, error: any, done: any): void;
|
|
24
|
-
getIconFontSet(icon: string): string;
|
|
25
|
-
getIconName(icon: string): string;
|
|
26
|
-
setInstance(instance: any): void;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialButtonComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialButtonComponent, "mat-formio-button", never, {}, {}, never, never, false>;
|
|
29
|
-
}
|
|
30
|
-
export { ButtonComponent };
|
|
1
|
+
import { ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
+
import ButtonComponent from 'formiojs/components/button/Button.js';
|
|
3
|
+
import { MaterialComponent } from '../MaterialComponent';
|
|
4
|
+
import { AngularButtonsThemes } from '../../const/ButtonsThemes';
|
|
5
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class MaterialButtonComponent extends MaterialComponent {
|
|
8
|
+
element: ElementRef;
|
|
9
|
+
ref: ChangeDetectorRef;
|
|
10
|
+
private dialog;
|
|
11
|
+
loading: boolean;
|
|
12
|
+
done: boolean;
|
|
13
|
+
error: boolean;
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
clicked: boolean;
|
|
16
|
+
walkmeClass: string;
|
|
17
|
+
constructor(element: ElementRef, ref: ChangeDetectorRef, dialog: MatDialog);
|
|
18
|
+
get color(): AngularButtonsThemes;
|
|
19
|
+
get angularButtonTheme(): "" | AngularButtonsThemes;
|
|
20
|
+
get buttonClass(): string;
|
|
21
|
+
onClick(event: any): void;
|
|
22
|
+
getValue(): boolean;
|
|
23
|
+
setState(loading: any, error: any, done: any): void;
|
|
24
|
+
getIconFontSet(icon: string): string;
|
|
25
|
+
getIconName(icon: string): string;
|
|
26
|
+
setInstance(instance: any): void;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialButtonComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialButtonComponent, "mat-formio-button", never, {}, {}, never, never, false, never>;
|
|
29
|
+
}
|
|
30
|
+
export { ButtonComponent };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { MaterialComponent } from '../MaterialComponent';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MaterialCalendarComponent extends MaterialComponent {
|
|
5
|
-
selectedDate: any;
|
|
6
|
-
selectedTime: any;
|
|
7
|
-
selectedTimeComponent: any;
|
|
8
|
-
time: any;
|
|
9
|
-
enableDate: boolean;
|
|
10
|
-
enableTime: boolean;
|
|
11
|
-
minDate: any;
|
|
12
|
-
maxDate: any;
|
|
13
|
-
dateFilter: any;
|
|
14
|
-
hourStep: any;
|
|
15
|
-
minuteStep: any;
|
|
16
|
-
timeSelectEvent: EventEmitter<any>;
|
|
17
|
-
dateSelectEvent: EventEmitter<any>;
|
|
18
|
-
setInstance(instance: any): void;
|
|
19
|
-
setExistedDate(value: any): void;
|
|
20
|
-
setExistedTime(value: any, forTime: any): void;
|
|
21
|
-
onDate(event: any): void;
|
|
22
|
-
onTime(event: any): void;
|
|
23
|
-
getPopupStyles(): {
|
|
24
|
-
position: string;
|
|
25
|
-
zIndex: string;
|
|
26
|
-
display: string;
|
|
27
|
-
maxWidth: string;
|
|
28
|
-
maxHeight: string;
|
|
29
|
-
top: string;
|
|
30
|
-
left: string;
|
|
31
|
-
};
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialCalendarComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialCalendarComponent, "mat-formio-calendar", never, { "enableDate": "enableDate"; "enableTime": "enableTime"; "minDate": "minDate"; "maxDate": "maxDate"; "dateFilter": "dateFilter"; "hourStep": "hourStep"; "minuteStep": "minuteStep"; }, { "timeSelectEvent": "timeSelectEvent"; "dateSelectEvent": "dateSelectEvent"; }, never, never, false>;
|
|
34
|
-
}
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { MaterialComponent } from '../MaterialComponent';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MaterialCalendarComponent extends MaterialComponent {
|
|
5
|
+
selectedDate: any;
|
|
6
|
+
selectedTime: any;
|
|
7
|
+
selectedTimeComponent: any;
|
|
8
|
+
time: any;
|
|
9
|
+
enableDate: boolean;
|
|
10
|
+
enableTime: boolean;
|
|
11
|
+
minDate: any;
|
|
12
|
+
maxDate: any;
|
|
13
|
+
dateFilter: any;
|
|
14
|
+
hourStep: any;
|
|
15
|
+
minuteStep: any;
|
|
16
|
+
timeSelectEvent: EventEmitter<any>;
|
|
17
|
+
dateSelectEvent: EventEmitter<any>;
|
|
18
|
+
setInstance(instance: any): void;
|
|
19
|
+
setExistedDate(value: any): void;
|
|
20
|
+
setExistedTime(value: any, forTime: any): void;
|
|
21
|
+
onDate(event: any): void;
|
|
22
|
+
onTime(event: any): void;
|
|
23
|
+
getPopupStyles(): {
|
|
24
|
+
position: string;
|
|
25
|
+
zIndex: string;
|
|
26
|
+
display: string;
|
|
27
|
+
maxWidth: string;
|
|
28
|
+
maxHeight: string;
|
|
29
|
+
top: string;
|
|
30
|
+
left: string;
|
|
31
|
+
};
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialCalendarComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialCalendarComponent, "mat-formio-calendar", never, { "enableDate": { "alias": "enableDate"; "required": false; }; "enableTime": { "alias": "enableTime"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "dateFilter": { "alias": "dateFilter"; "required": false; }; "hourStep": { "alias": "hourStep"; "required": false; }; "minuteStep": { "alias": "minuteStep"; "required": false; }; }, { "timeSelectEvent": "timeSelectEvent"; "dateSelectEvent": "dateSelectEvent"; }, never, never, false, never>;
|
|
34
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { MaterialComponent } from '../MaterialComponent';
|
|
2
|
-
import CheckboxComponent from 'formiojs/components/checkbox/Checkbox.js';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MaterialCheckboxComponent extends MaterialComponent {
|
|
5
|
-
getValue(): any;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialCheckboxComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialCheckboxComponent, "mat-formio-checkbox", never, {}, {}, never, never, false>;
|
|
8
|
-
}
|
|
9
|
-
export { CheckboxComponent };
|
|
1
|
+
import { MaterialComponent } from '../MaterialComponent';
|
|
2
|
+
import CheckboxComponent from 'formiojs/components/checkbox/Checkbox.js';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MaterialCheckboxComponent extends MaterialComponent {
|
|
5
|
+
getValue(): any;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialCheckboxComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialCheckboxComponent, "mat-formio-checkbox", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export { CheckboxComponent };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { MaterialNestedComponent } from '../MaterialNestedComponent';
|
|
2
|
-
import ColumnsComponent from 'formiojs/components/columns/Columns.js';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MaterialColumnsComponent extends MaterialNestedComponent {
|
|
5
|
-
flexGap: number;
|
|
6
|
-
totalSpace: number;
|
|
7
|
-
setInstance(instance: any): void;
|
|
8
|
-
flexWidth(column: any, index: any): string;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialColumnsComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialColumnsComponent, "mat-formio-columns", never, {}, {}, never, never, false>;
|
|
11
|
-
}
|
|
12
|
-
export { ColumnsComponent };
|
|
1
|
+
import { MaterialNestedComponent } from '../MaterialNestedComponent';
|
|
2
|
+
import ColumnsComponent from 'formiojs/components/columns/Columns.js';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MaterialColumnsComponent extends MaterialNestedComponent {
|
|
5
|
+
flexGap: number;
|
|
6
|
+
totalSpace: number;
|
|
7
|
+
setInstance(instance: any): void;
|
|
8
|
+
flexWidth(column: any, index: any): string;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialColumnsComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialColumnsComponent, "mat-formio-columns", never, {}, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
12
|
+
export { ColumnsComponent };
|