ngx-render-material-forms 2.5.19 → 2.5.21

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.
Files changed (157) hide show
  1. package/esm2020/lib/FormioControl.mjs +36 -0
  2. package/esm2020/lib/components/Base.mjs +32 -0
  3. package/esm2020/lib/components/MaterialComponent.mjs +145 -0
  4. package/esm2020/lib/components/MaterialNestedComponent.mjs +38 -0
  5. package/esm2020/lib/components/Webform.mjs +18 -0
  6. package/esm2020/lib/components/add-on-products/add-on-products.component.mjs +842 -0
  7. package/esm2020/lib/components/button/button.component.mjs +102 -0
  8. package/esm2020/lib/components/calendar/calendar.component.mjs +129 -0
  9. package/esm2020/lib/components/checkbox/checkbox.component.mjs +54 -0
  10. package/esm2020/lib/components/columns/columns.component.mjs +69 -0
  11. package/esm2020/lib/components/common.service.mjs +256 -0
  12. package/esm2020/lib/components/confirmation-dialog/confirmation-dialog.component.mjs +25 -0
  13. package/esm2020/lib/components/container/container.component.mjs +25 -0
  14. package/{esm2022 → esm2020}/lib/components/content/content.component.mjs +18 -18
  15. package/esm2020/lib/components/currency/currency.component.mjs +43 -0
  16. package/esm2020/lib/components/datagrid/datagrid.component.mjs +707 -0
  17. package/esm2020/lib/components/date/date.component.mjs +363 -0
  18. package/{esm2022 → esm2020}/lib/components/day/day.component.mjs +75 -75
  19. package/esm2020/lib/components/editgrid/editgrid.component.mjs +243 -0
  20. package/esm2020/lib/components/email/email.component.mjs +30 -0
  21. package/esm2020/lib/components/fieldset/fieldset.component.mjs +50 -0
  22. package/esm2020/lib/components/formio-form-field/formio-form-field.component.mjs +57 -0
  23. package/esm2020/lib/components/formio.wizard.mjs +88 -0
  24. package/{esm2022 → esm2020}/lib/components/hidden/hidden.component.mjs +20 -20
  25. package/esm2020/lib/components/html/html.component.mjs +29 -0
  26. package/esm2020/lib/components/index.mjs +125 -0
  27. package/{esm2022 → esm2020}/lib/components/label/label.component.mjs +17 -17
  28. package/esm2020/lib/components/number/number.component.mjs +67 -0
  29. package/esm2020/lib/components/panel/panel.component.mjs +57 -0
  30. package/esm2020/lib/components/password/password.component.mjs +30 -0
  31. package/esm2020/lib/components/phonenumber/phonenumber.component.mjs +30 -0
  32. package/esm2020/lib/components/radio/radio.component.mjs +96 -0
  33. package/esm2020/lib/components/select/select.component.mjs +593 -0
  34. package/esm2020/lib/components/selectboxes/selectboxes.component.mjs +102 -0
  35. package/esm2020/lib/components/signature/signature.component.mjs +103 -0
  36. package/esm2020/lib/components/survey/survey.component.mjs +167 -0
  37. package/esm2020/lib/components/table/table.component.mjs +97 -0
  38. package/esm2020/lib/components/tabs/tabs.component.mjs +43 -0
  39. package/esm2020/lib/components/tags/tags.component.mjs +117 -0
  40. package/esm2020/lib/components/textarea/textarea.component.mjs +98 -0
  41. package/esm2020/lib/components/textfield/textfield.component.mjs +124 -0
  42. package/esm2020/lib/components/time/time.component.mjs +206 -0
  43. package/esm2020/lib/components/url/url.component.mjs +30 -0
  44. package/esm2020/lib/components/well/well.component.mjs +43 -0
  45. package/{esm2022 → esm2020}/lib/const/ButtonsThemes.mjs +16 -16
  46. package/{esm2022 → esm2020}/lib/const/LabelPositions.mjs +9 -9
  47. package/esm2020/lib/directives/mask.directive.mjs +65 -0
  48. package/esm2020/lib/formio.component.mjs +80 -0
  49. package/{esm2022 → esm2020}/lib/ngx-render-material-forms.component.mjs +15 -15
  50. package/esm2020/lib/ngx-render-material-forms.module.mjs +378 -0
  51. package/{esm2022 → esm2020}/lib/ngx-render-material-forms.service.mjs +14 -14
  52. package/{esm2022 → esm2020}/lib/renderer.mjs +12 -12
  53. package/{esm2022 → esm2020}/ngx-render-material-forms.js +4 -4
  54. package/{esm2022 → esm2020}/public-api.mjs +6 -6
  55. package/fesm2015/ngx-render-material-forms.js +5888 -0
  56. package/fesm2015/ngx-render-material-forms.mjs.map +1 -0
  57. package/{fesm2022 → fesm2020}/ngx-render-material-forms.js +4360 -4320
  58. package/fesm2020/ngx-render-material-forms.mjs.map +1 -0
  59. package/index.d.ts +5 -5
  60. package/lib/FormioControl.d.ts +7 -7
  61. package/lib/components/Base.d.ts +2 -2
  62. package/lib/components/MaterialComponent.d.ts +30 -30
  63. package/lib/components/MaterialNestedComponent.d.ts +13 -13
  64. package/lib/components/Webform.d.ts +1 -1
  65. package/lib/components/add-on-products/add-on-products.component.d.ts +142 -142
  66. package/lib/components/button/button.component.d.ts +30 -30
  67. package/lib/components/calendar/calendar.component.d.ts +34 -34
  68. package/lib/components/checkbox/checkbox.component.d.ts +9 -9
  69. package/lib/components/columns/columns.component.d.ts +12 -12
  70. package/lib/components/common.service.d.ts +86 -86
  71. package/lib/components/confirmation-dialog/confirmation-dialog.component.d.ts +11 -11
  72. package/lib/components/container/container.component.d.ts +8 -8
  73. package/lib/components/content/content.component.d.ts +8 -8
  74. package/lib/components/currency/currency.component.d.ts +10 -10
  75. package/lib/components/datagrid/datagrid.component.d.ts +81 -81
  76. package/lib/components/date/date.component.d.ts +45 -43
  77. package/lib/components/day/day.component.d.ts +16 -16
  78. package/lib/components/editgrid/editgrid.component.d.ts +50 -50
  79. package/lib/components/email/email.component.d.ts +9 -9
  80. package/lib/components/fieldset/fieldset.component.d.ts +8 -8
  81. package/lib/components/formio-form-field/formio-form-field.component.d.ts +18 -18
  82. package/lib/components/formio.wizard.d.ts +19 -19
  83. package/lib/components/hidden/hidden.component.d.ts +8 -8
  84. package/lib/components/html/html.component.d.ts +11 -11
  85. package/lib/components/index.d.ts +2 -2
  86. package/lib/components/label/label.component.d.ts +6 -6
  87. package/lib/components/number/number.component.d.ts +18 -25
  88. package/lib/components/panel/panel.component.d.ts +8 -8
  89. package/lib/components/password/password.component.d.ts +9 -9
  90. package/lib/components/phonenumber/phonenumber.component.d.ts +9 -9
  91. package/lib/components/radio/radio.component.d.ts +12 -12
  92. package/lib/components/select/select.component.d.ts +77 -77
  93. package/lib/components/selectboxes/selectboxes.component.d.ts +15 -15
  94. package/lib/components/signature/signature.component.d.ts +12 -12
  95. package/lib/components/survey/survey.component.d.ts +14 -14
  96. package/lib/components/table/table.component.d.ts +12 -12
  97. package/lib/components/tabs/tabs.component.d.ts +9 -9
  98. package/lib/components/tags/tags.component.d.ts +15 -15
  99. package/lib/components/textarea/textarea.component.d.ts +13 -13
  100. package/lib/components/textfield/textfield.component.d.ts +18 -18
  101. package/lib/components/time/time.component.d.ts +27 -27
  102. package/lib/components/url/url.component.d.ts +9 -9
  103. package/lib/components/well/well.component.d.ts +8 -8
  104. package/lib/const/ButtonsThemes.d.ts +14 -14
  105. package/lib/const/LabelPositions.d.ts +8 -8
  106. package/lib/directives/mask.directive.d.ts +17 -17
  107. package/lib/formio.component.d.ts +15 -15
  108. package/lib/ngx-render-material-forms.component.d.ts +8 -8
  109. package/lib/ngx-render-material-forms.module.d.ts +112 -110
  110. package/lib/ngx-render-material-forms.service.d.ts +6 -6
  111. package/lib/renderer.d.ts +8 -8
  112. package/package.json +11 -5
  113. package/public-api.d.ts +3 -3
  114. package/esm2022/lib/FormioControl.mjs +0 -36
  115. package/esm2022/lib/components/Base.mjs +0 -32
  116. package/esm2022/lib/components/MaterialComponent.mjs +0 -148
  117. package/esm2022/lib/components/MaterialNestedComponent.mjs +0 -38
  118. package/esm2022/lib/components/Webform.mjs +0 -18
  119. package/esm2022/lib/components/add-on-products/add-on-products.component.mjs +0 -841
  120. package/esm2022/lib/components/button/button.component.mjs +0 -101
  121. package/esm2022/lib/components/calendar/calendar.component.mjs +0 -127
  122. package/esm2022/lib/components/checkbox/checkbox.component.mjs +0 -53
  123. package/esm2022/lib/components/columns/columns.component.mjs +0 -58
  124. package/esm2022/lib/components/common.service.mjs +0 -255
  125. package/esm2022/lib/components/confirmation-dialog/confirmation-dialog.component.mjs +0 -24
  126. package/esm2022/lib/components/container/container.component.mjs +0 -24
  127. package/esm2022/lib/components/currency/currency.component.mjs +0 -41
  128. package/esm2022/lib/components/datagrid/datagrid.component.mjs +0 -693
  129. package/esm2022/lib/components/date/date.component.mjs +0 -354
  130. package/esm2022/lib/components/editgrid/editgrid.component.mjs +0 -243
  131. package/esm2022/lib/components/email/email.component.mjs +0 -28
  132. package/esm2022/lib/components/fieldset/fieldset.component.mjs +0 -49
  133. package/esm2022/lib/components/formio-form-field/formio-form-field.component.mjs +0 -56
  134. package/esm2022/lib/components/formio.wizard.mjs +0 -88
  135. package/esm2022/lib/components/html/html.component.mjs +0 -29
  136. package/esm2022/lib/components/index.mjs +0 -125
  137. package/esm2022/lib/components/number/number.component.mjs +0 -114
  138. package/esm2022/lib/components/panel/panel.component.mjs +0 -56
  139. package/esm2022/lib/components/password/password.component.mjs +0 -28
  140. package/esm2022/lib/components/phonenumber/phonenumber.component.mjs +0 -28
  141. package/esm2022/lib/components/radio/radio.component.mjs +0 -93
  142. package/esm2022/lib/components/select/select.component.mjs +0 -592
  143. package/esm2022/lib/components/selectboxes/selectboxes.component.mjs +0 -99
  144. package/esm2022/lib/components/signature/signature.component.mjs +0 -99
  145. package/esm2022/lib/components/survey/survey.component.mjs +0 -166
  146. package/esm2022/lib/components/table/table.component.mjs +0 -96
  147. package/esm2022/lib/components/tabs/tabs.component.mjs +0 -42
  148. package/esm2022/lib/components/tags/tags.component.mjs +0 -114
  149. package/esm2022/lib/components/textarea/textarea.component.mjs +0 -94
  150. package/esm2022/lib/components/textfield/textfield.component.mjs +0 -122
  151. package/esm2022/lib/components/time/time.component.mjs +0 -205
  152. package/esm2022/lib/components/url/url.component.mjs +0 -28
  153. package/esm2022/lib/components/well/well.component.mjs +0 -41
  154. package/esm2022/lib/directives/mask.directive.mjs +0 -65
  155. package/esm2022/lib/formio.component.mjs +0 -77
  156. package/esm2022/lib/ngx-render-material-forms.module.mjs +0 -332
  157. package/fesm2022/ngx-render-material-forms.mjs.map +0 -1
@@ -1,86 +1,86 @@
1
- import { HttpClient } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export declare class CommonService {
5
- http: HttpClient;
6
- paramsData: any;
7
- includeDescription: any;
8
- vendorId: any;
9
- onlyActive: any;
10
- currentUser: any;
11
- private dropdownItemsSubject;
12
- dropdownItems$: Observable<any[]>;
13
- private setFlag;
14
- dropdownflag$: Observable<boolean>;
15
- holy: any;
16
- grail: any;
17
- private sort_5;
18
- private Lsort_5;
19
- private Jsort_5;
20
- private Psort_5;
21
- private sales_2;
22
- private Lsales_2;
23
- private Jsales_2;
24
- private Psales_2;
25
- private Mobile_4;
26
- private LMobile_4;
27
- private JMobile_4;
28
- private PMobile_4;
29
- private Id_2;
30
- private LId_2;
31
- private JId_2;
32
- private PId_2;
33
- private Name_1;
34
- private LName_1;
35
- private JName_1;
36
- private PName_1;
37
- private city;
38
- private state;
39
- private region;
40
- private territory;
41
- private country;
42
- private continent;
43
- private Jcity;
44
- private Jstate;
45
- private Jregion;
46
- private Jterritory;
47
- private Jcountry;
48
- private Jcontinent;
49
- private Lcity;
50
- private Lstate;
51
- private Lregion;
52
- private Lterritory;
53
- private Lcountry;
54
- private Lcontinent;
55
- private Pcity;
56
- private Pstate;
57
- private Pregion;
58
- private Pterritory;
59
- private Pcountry;
60
- private Pcontinent;
61
- constructor(http: HttpClient);
62
- getBaseApiUrl(): string | null;
63
- scrumble(msg: any): any;
64
- getcampaign(data: any, holy: any, grail: any): any;
65
- initializeApiPath(getUrl: any, queryParams: any): Observable<any>;
66
- convertToObject(queryParams: any): {};
67
- loadProducts(pageNumber: any, pazeSize: any, search: string, onlyActive: boolean, description: boolean, levelOneId: any, levelTwoId: any, levelThreeId: any, levelFourId: any): Observable<any>;
68
- listSubCategory(category: string): Observable<any>;
69
- convertToQueryString(queryParams: any): string;
70
- listProductCategory(): Observable<any>;
71
- productLevelOne(): Observable<any>;
72
- productLevelTwo(levelOneId: any): Observable<any>;
73
- productLevelThree(levelOneId: any, levelTwoId: any): Observable<any>;
74
- productLevelFour(levelOneId: any, levelTwoId: any, levelThreeId: any): Observable<any>;
75
- getValueByKey(data: any, key: any): any;
76
- onlyNumbers(str: any): boolean;
77
- setDropdownItems(items: any[]): void;
78
- getDropdownItems(): any[];
79
- setDropDownFlag(flag: boolean): void;
80
- getDropDownFlag(): boolean;
81
- checkIsAttributeTrue(newProductPickerFlag: any, attributeName: any): boolean;
82
- getglobedata(): String;
83
- getcombodeal(): string;
84
- static ɵfac: i0.ɵɵFactoryDeclaration<CommonService, never>;
85
- static ɵprov: i0.ɵɵInjectableDeclaration<CommonService>;
86
- }
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CommonService {
5
+ http: HttpClient;
6
+ paramsData: any;
7
+ includeDescription: any;
8
+ vendorId: any;
9
+ onlyActive: any;
10
+ currentUser: any;
11
+ private dropdownItemsSubject;
12
+ dropdownItems$: Observable<any[]>;
13
+ private setFlag;
14
+ dropdownflag$: Observable<boolean>;
15
+ holy: any;
16
+ grail: any;
17
+ private sort_5;
18
+ private Lsort_5;
19
+ private Jsort_5;
20
+ private Psort_5;
21
+ private sales_2;
22
+ private Lsales_2;
23
+ private Jsales_2;
24
+ private Psales_2;
25
+ private Mobile_4;
26
+ private LMobile_4;
27
+ private JMobile_4;
28
+ private PMobile_4;
29
+ private Id_2;
30
+ private LId_2;
31
+ private JId_2;
32
+ private PId_2;
33
+ private Name_1;
34
+ private LName_1;
35
+ private JName_1;
36
+ private PName_1;
37
+ private city;
38
+ private state;
39
+ private region;
40
+ private territory;
41
+ private country;
42
+ private continent;
43
+ private Jcity;
44
+ private Jstate;
45
+ private Jregion;
46
+ private Jterritory;
47
+ private Jcountry;
48
+ private Jcontinent;
49
+ private Lcity;
50
+ private Lstate;
51
+ private Lregion;
52
+ private Lterritory;
53
+ private Lcountry;
54
+ private Lcontinent;
55
+ private Pcity;
56
+ private Pstate;
57
+ private Pregion;
58
+ private Pterritory;
59
+ private Pcountry;
60
+ private Pcontinent;
61
+ constructor(http: HttpClient);
62
+ getBaseApiUrl(): string | null;
63
+ scrumble(msg: any): any;
64
+ getcampaign(data: any, holy: any, grail: any): any;
65
+ initializeApiPath(getUrl: any, queryParams: any): Observable<any>;
66
+ convertToObject(queryParams: any): {};
67
+ loadProducts(pageNumber: any, pazeSize: any, search: string, onlyActive: boolean, description: boolean, levelOneId: any, levelTwoId: any, levelThreeId: any, levelFourId: any): Observable<any>;
68
+ listSubCategory(category: string): Observable<any>;
69
+ convertToQueryString(queryParams: any): string;
70
+ listProductCategory(): Observable<any>;
71
+ productLevelOne(): Observable<any>;
72
+ productLevelTwo(levelOneId: any): Observable<any>;
73
+ productLevelThree(levelOneId: any, levelTwoId: any): Observable<any>;
74
+ productLevelFour(levelOneId: any, levelTwoId: any, levelThreeId: any): Observable<any>;
75
+ getValueByKey(data: any, key: any): any;
76
+ onlyNumbers(str: any): boolean;
77
+ setDropdownItems(items: any[]): void;
78
+ getDropdownItems(): any[];
79
+ setDropDownFlag(flag: boolean): void;
80
+ getDropDownFlag(): boolean;
81
+ checkIsAttributeTrue(newProductPickerFlag: any, attributeName: any): boolean;
82
+ getglobedata(): String;
83
+ getcombodeal(): string;
84
+ static ɵfac: i0.ɵɵFactoryDeclaration<CommonService, never>;
85
+ static ɵprov: i0.ɵɵInjectableDeclaration<CommonService>;
86
+ }
@@ -1,11 +1,11 @@
1
- import { OnInit } from '@angular/core';
2
- import { MatDialogRef } from '@angular/material/dialog';
3
- import * as i0 from "@angular/core";
4
- export declare class ConfirmationDialogComponent implements OnInit {
5
- dialogRef: MatDialogRef<ConfirmationDialogComponent>;
6
- data: any;
7
- constructor(dialogRef: MatDialogRef<ConfirmationDialogComponent>, data: any);
8
- ngOnInit(): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationDialogComponent, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmationDialogComponent, "NgxMat-confirmation-dialog", never, {}, {}, never, never, false, never>;
11
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { MatDialogRef } from '@angular/material/dialog';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ConfirmationDialogComponent implements OnInit {
5
+ dialogRef: MatDialogRef<ConfirmationDialogComponent>;
6
+ data: any;
7
+ constructor(dialogRef: MatDialogRef<ConfirmationDialogComponent>, data: any);
8
+ ngOnInit(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationDialogComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmationDialogComponent, "NgxMat-confirmation-dialog", never, {}, {}, never, never, false>;
11
+ }
@@ -1,8 +1,8 @@
1
- import { MaterialNestedComponent } from '../MaterialNestedComponent';
2
- import ContainerComponent from 'formiojs/components/container/Container.js';
3
- import * as i0 from "@angular/core";
4
- export declare class MaterialContainerComponent extends MaterialNestedComponent {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<MaterialContainerComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<MaterialContainerComponent, "mat-formio-container", never, {}, {}, never, never, false, never>;
7
- }
8
- export { ContainerComponent };
1
+ import { MaterialNestedComponent } from '../MaterialNestedComponent';
2
+ import ContainerComponent from 'formiojs/components/container/Container.js';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MaterialContainerComponent extends MaterialNestedComponent {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<MaterialContainerComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaterialContainerComponent, "mat-formio-container", never, {}, {}, never, never, false>;
7
+ }
8
+ export { ContainerComponent };
@@ -1,8 +1,8 @@
1
- import { MaterialComponent } from '../MaterialComponent';
2
- import ContentComponent from 'formiojs/components/content/Content.js';
3
- import * as i0 from "@angular/core";
4
- export declare class MaterialContentComponent extends MaterialComponent {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<MaterialContentComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<MaterialContentComponent, "mat-formio-content", never, {}, {}, never, never, false, never>;
7
- }
8
- export { ContentComponent };
1
+ import { MaterialComponent } from '../MaterialComponent';
2
+ import ContentComponent from 'formiojs/components/content/Content.js';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MaterialContentComponent extends MaterialComponent {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<MaterialContentComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaterialContentComponent, "mat-formio-content", never, {}, {}, never, never, false>;
7
+ }
8
+ export { ContentComponent };
@@ -1,10 +1,10 @@
1
- import { MaterialNumberComponent } from '../number/number.component';
2
- import CurrencyComponent from 'formiojs/components/currency/Currency.js';
3
- import * as i0 from "@angular/core";
4
- export declare class MaterialCurrencyComponent extends MaterialNumberComponent {
5
- inputType: string;
6
- onChange(): void;
7
- static ɵfac: i0.ɵɵFactoryDeclaration<MaterialCurrencyComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<MaterialCurrencyComponent, "mat-formio-currency", never, {}, {}, never, never, false, never>;
9
- }
10
- export { CurrencyComponent };
1
+ import { MaterialNumberComponent } from '../number/number.component';
2
+ import CurrencyComponent from 'formiojs/components/currency/Currency.js';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MaterialCurrencyComponent extends MaterialNumberComponent {
5
+ inputType: string;
6
+ onChange(): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<MaterialCurrencyComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaterialCurrencyComponent, "mat-formio-currency", never, {}, {}, never, never, false>;
9
+ }
10
+ export { CurrencyComponent };
@@ -1,81 +1,81 @@
1
- import { ChangeDetectorRef, ElementRef } from '@angular/core';
2
- import { MatTableDataSource } from '@angular/material/table';
3
- import { MaterialNestedComponent } from '../MaterialNestedComponent';
4
- import DataGridComponent from 'formiojs/components/datagrid/DataGrid.js';
5
- import { CdkDragDrop } from '@angular/cdk/drag-drop';
6
- import { MatDialog } from '@angular/material/dialog';
7
- import { CommonService } from '../common.service';
8
- import * as i0 from "@angular/core";
9
- export interface Product {
10
- productName: string;
11
- quantity: number;
12
- price: number;
13
- }
14
- export declare class MaterialDataGridComponent extends MaterialNestedComponent {
15
- element: ElementRef;
16
- ref: ChangeDetectorRef;
17
- private dialog;
18
- commonService: CommonService;
19
- constructor(element: ElementRef, ref: ChangeDetectorRef, dialog: MatDialog, commonService: CommonService);
20
- displayedColumns: string[];
21
- formColumns: string[];
22
- columns: any;
23
- dataSource: MatTableDataSource<unknown, import("@angular/material/paginator").MatPaginator>;
24
- dataSourceNew: Product[];
25
- displayedColumnsNew: string[];
26
- showNewProductPicker: boolean;
27
- showCategory: boolean;
28
- showSubcategory: boolean;
29
- showPrice: boolean;
30
- showQuantity: boolean;
31
- showSkuNumber: boolean;
32
- showInventory: boolean;
33
- hasInitialized: boolean;
34
- checkSubmissionStatus: boolean;
35
- showDataGrid: boolean;
36
- hasValueAndEditMode: boolean;
37
- dropdownL1: boolean;
38
- dropdownL2: boolean;
39
- dropdownL3: boolean;
40
- dropdownL4: boolean;
41
- showDialogQuantity: boolean;
42
- showDialogPrice: boolean;
43
- showDialogCategory: boolean;
44
- showDialogSkuNumber: boolean;
45
- showDialogInventory: boolean;
46
- showDialogSubCategory: boolean;
47
- dropdownL1Label: string;
48
- dropdownL2Label: string;
49
- dropdownL3Label: string;
50
- dropdownL4Label: string;
51
- dealId: any;
52
- isCustomerCountryFiltered: boolean;
53
- emptyArray: boolean;
54
- isPriceDisable: boolean;
55
- priceTweek: string;
56
- skuTweek: string;
57
- costTweek: string;
58
- showCost: boolean;
59
- showDialogCost: boolean;
60
- quantityTweek: string;
61
- productTweek: string;
62
- categoryTweek: string;
63
- subCategoryTweek: string;
64
- inventoryTweek: string;
65
- alphanumeric: boolean;
66
- getColumnLabel(column: any): any;
67
- getLabelName(newProductPickerFlag: any, attributeName: any): any;
68
- setInstance(instance: any): void;
69
- removeColumn(columnName: string): void;
70
- addAnotherOld(): void;
71
- addAnother(): void;
72
- addPriceProperty(selectedProducts: any): any;
73
- checkRowsNumber(): void;
74
- removeRow(index: any): void;
75
- dropTable(event: CdkDragDrop<any>): void;
76
- renderComponents(): void;
77
- setValue(value: [] | null): void;
78
- static ɵfac: i0.ɵɵFactoryDeclaration<MaterialDataGridComponent, never>;
79
- static ɵcmp: i0.ɵɵComponentDeclaration<MaterialDataGridComponent, "mat-formio-datagrid", never, {}, {}, never, never, false, never>;
80
- }
81
- export { DataGridComponent };
1
+ import { ChangeDetectorRef, ElementRef } from '@angular/core';
2
+ import { MatTableDataSource } from '@angular/material/table';
3
+ import { MaterialNestedComponent } from '../MaterialNestedComponent';
4
+ import DataGridComponent from 'formiojs/components/datagrid/DataGrid.js';
5
+ import { CdkDragDrop } from '@angular/cdk/drag-drop';
6
+ import { MatDialog } from '@angular/material/dialog';
7
+ import { CommonService } from '../common.service';
8
+ import * as i0 from "@angular/core";
9
+ export interface Product {
10
+ productName: string;
11
+ quantity: number;
12
+ price: number;
13
+ }
14
+ export declare class MaterialDataGridComponent extends MaterialNestedComponent {
15
+ element: ElementRef;
16
+ ref: ChangeDetectorRef;
17
+ private dialog;
18
+ commonService: CommonService;
19
+ constructor(element: ElementRef, ref: ChangeDetectorRef, dialog: MatDialog, commonService: CommonService);
20
+ displayedColumns: string[];
21
+ formColumns: string[];
22
+ columns: any;
23
+ dataSource: MatTableDataSource<unknown>;
24
+ dataSourceNew: Product[];
25
+ displayedColumnsNew: string[];
26
+ showNewProductPicker: boolean;
27
+ showCategory: boolean;
28
+ showSubcategory: boolean;
29
+ showPrice: boolean;
30
+ showQuantity: boolean;
31
+ showSkuNumber: boolean;
32
+ showInventory: boolean;
33
+ hasInitialized: boolean;
34
+ checkSubmissionStatus: boolean;
35
+ showDataGrid: boolean;
36
+ hasValueAndEditMode: boolean;
37
+ dropdownL1: boolean;
38
+ dropdownL2: boolean;
39
+ dropdownL3: boolean;
40
+ dropdownL4: boolean;
41
+ showDialogQuantity: boolean;
42
+ showDialogPrice: boolean;
43
+ showDialogCategory: boolean;
44
+ showDialogSkuNumber: boolean;
45
+ showDialogInventory: boolean;
46
+ showDialogSubCategory: boolean;
47
+ dropdownL1Label: string;
48
+ dropdownL2Label: string;
49
+ dropdownL3Label: string;
50
+ dropdownL4Label: string;
51
+ dealId: any;
52
+ isCustomerCountryFiltered: boolean;
53
+ emptyArray: boolean;
54
+ isPriceDisable: boolean;
55
+ priceTweek: string;
56
+ skuTweek: string;
57
+ costTweek: string;
58
+ showCost: boolean;
59
+ showDialogCost: boolean;
60
+ quantityTweek: string;
61
+ productTweek: string;
62
+ categoryTweek: string;
63
+ subCategoryTweek: string;
64
+ inventoryTweek: string;
65
+ alphanumeric: boolean;
66
+ getColumnLabel(column: any): any;
67
+ getLabelName(newProductPickerFlag: any, attributeName: any): any;
68
+ setInstance(instance: any): void;
69
+ removeColumn(columnName: string): void;
70
+ addAnotherOld(): void;
71
+ addAnother(): void;
72
+ addPriceProperty(selectedProducts: any): any;
73
+ checkRowsNumber(): void;
74
+ removeRow(index: any): void;
75
+ dropTable(event: CdkDragDrop<any>): void;
76
+ renderComponents(): void;
77
+ setValue(value: [] | null): void;
78
+ static ɵfac: i0.ɵɵFactoryDeclaration<MaterialDataGridComponent, never>;
79
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaterialDataGridComponent, "mat-formio-datagrid", never, {}, {}, never, never, false>;
80
+ }
81
+ export { DataGridComponent };
@@ -1,43 +1,45 @@
1
- import { ElementRef } from '@angular/core';
2
- import { MaterialComponent } from '../MaterialComponent';
3
- import DateTimeComponent from 'formiojs/components/datetime/DateTime.js';
4
- import { FormControl } from '@angular/forms';
5
- import * as i0 from "@angular/core";
6
- export declare class MaterialDateComponent extends MaterialComponent {
7
- timeControl: FormControl;
8
- displayControl: FormControl;
9
- isPickerOpened: boolean;
10
- selectedDate: any;
11
- selectedTime: any;
12
- allowManualInput: boolean;
13
- calendar: any;
14
- calendarElRef: ElementRef;
15
- toggleElRef: ElementRef;
16
- get enableDate(): boolean;
17
- get enableTime(): boolean;
18
- setDisplayControlValue(value?: any): void;
19
- onChangeDate(event: any): void;
20
- onChangeTime(time: any): void;
21
- onChangeInput(): void;
22
- getDateTimeValue(): string;
23
- setDateTime(): void;
24
- setInstance(instance: any): void;
25
- toggleCalendar(event: any): void;
26
- isDisabled(): any;
27
- formatTime: (value: any) => any;
28
- setValue(value: any): void;
29
- onChange(): void;
30
- beforeSubmit(): void;
31
- checkMinMax(value: any): boolean;
32
- disableWeekends(d: Date): boolean;
33
- disableDates(dates: Array<string>, d: Date): boolean;
34
- dateFilter: (d: Date | null) => boolean;
35
- clickOutside(event: any): void;
36
- improveMinMaxDate(minDate: any, maxDate: any): {
37
- minDate: any;
38
- maxDate: any;
39
- };
40
- static ɵfac: i0.ɵɵFactoryDeclaration<MaterialDateComponent, never>;
41
- static ɵcmp: i0.ɵɵComponentDeclaration<MaterialDateComponent, "mat-formio-date", never, {}, {}, never, never, false, never>;
42
- }
43
- export { DateTimeComponent };
1
+ import { OnDestroy } from '@angular/core';
2
+ import { MaterialComponent } from '../MaterialComponent';
3
+ import DateTimeComponent from 'formiojs/components/datetime/DateTime.js';
4
+ import { FormControl } from '@angular/forms';
5
+ import * as i0 from "@angular/core";
6
+ export declare class MaterialDateComponent extends MaterialComponent implements OnDestroy {
7
+ private static openedPicker;
8
+ timeControl: FormControl;
9
+ displayControl: FormControl;
10
+ isPickerOpened: boolean;
11
+ selectedDate: any;
12
+ selectedTime: any;
13
+ allowManualInput: boolean;
14
+ calendar: any;
15
+ get enableDate(): boolean;
16
+ get enableTime(): boolean;
17
+ setDisplayControlValue(value?: any): void;
18
+ onChangeDate(event: any): void;
19
+ onChangeTime(time: any): void;
20
+ onChangeInput(): void;
21
+ getDateTimeValue(): string;
22
+ setDateTime(): void;
23
+ setInstance(instance: any): void;
24
+ toggleCalendar(event: any): void;
25
+ setPickerOpened(opened: boolean): void;
26
+ closeOtherPickers(): void;
27
+ ngOnDestroy(): void;
28
+ isDisabled(): any;
29
+ formatTime: (value: any) => any;
30
+ setValue(value: any): void;
31
+ onChange(): void;
32
+ beforeSubmit(): void;
33
+ checkMinMax(value: any): boolean;
34
+ disableWeekends(d: Date): boolean;
35
+ disableDates(dates: Array<string>, d: Date): boolean;
36
+ dateFilter: (d: Date | null) => boolean;
37
+ clickOutside(event: any): void;
38
+ improveMinMaxDate(minDate: any, maxDate: any): {
39
+ minDate: any;
40
+ maxDate: any;
41
+ };
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<MaterialDateComponent, never>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaterialDateComponent, "mat-formio-date", never, {}, {}, never, never, false>;
44
+ }
45
+ export { DateTimeComponent };
@@ -1,16 +1,16 @@
1
- import { FormControl } from '@angular/forms';
2
- import { MaterialComponent } from '../MaterialComponent';
3
- import DayComponent from 'formiojs/components/day/Day.js';
4
- import * as i0 from "@angular/core";
5
- export declare class MaterialDayComponent extends MaterialComponent {
6
- dayControl: FormControl;
7
- monthControl: FormControl;
8
- yearControl: FormControl;
9
- setInstance(instance: any): void;
10
- setDisabled(disabled: any): void;
11
- getValue(): any;
12
- setValue(value: any): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<MaterialDayComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<MaterialDayComponent, "mat-formio-day", never, {}, {}, never, never, false, never>;
15
- }
16
- export { DayComponent };
1
+ import { FormControl } from '@angular/forms';
2
+ import { MaterialComponent } from '../MaterialComponent';
3
+ import DayComponent from 'formiojs/components/day/Day.js';
4
+ import * as i0 from "@angular/core";
5
+ export declare class MaterialDayComponent extends MaterialComponent {
6
+ dayControl: FormControl;
7
+ monthControl: FormControl;
8
+ yearControl: FormControl;
9
+ setInstance(instance: any): void;
10
+ setDisabled(disabled: any): void;
11
+ getValue(): any;
12
+ setValue(value: any): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<MaterialDayComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaterialDayComponent, "mat-formio-day", never, {}, {}, never, never, false>;
15
+ }
16
+ export { DayComponent };
@@ -1,50 +1,50 @@
1
- import { QueryList, ElementRef, AfterViewInit } from '@angular/core';
2
- import { MaterialNestedComponent } from '../MaterialNestedComponent';
3
- import EditGridComponent from 'formiojs/components/editgrid/EditGrid.js';
4
- import { FormioComponent } from '../../formio.component';
5
- import * as i0 from "@angular/core";
6
- declare enum EditRowState {
7
- NEW = "new",
8
- EDITING = "editing",
9
- SAVED = "saved",
10
- REMOVED = "removed",
11
- DRAFT = "draft"
12
- }
13
- export declare class MaterialEditGridComponent extends MaterialNestedComponent implements AfterViewInit {
14
- headerElement: ElementRef;
15
- footerElement: ElementRef;
16
- rowElements: QueryList<ElementRef>;
17
- forms: QueryList<FormioComponent>;
18
- header: string;
19
- footer: string;
20
- displayedColumns: string[];
21
- columns: any;
22
- colWidth: number;
23
- valid: boolean;
24
- RowStates: typeof EditRowState;
25
- getRowTemplate(content: any): string;
26
- validate(index: any): void;
27
- setInstance(instance: any): void;
28
- addAnother(): void;
29
- editRow(row: any, index: any): void;
30
- /**
31
- * Updates the row template.
32
- *
33
- * @param row
34
- * @param index
35
- */
36
- updateRowTemplate(rowElement: ElementRef, index: any, comps: any): void;
37
- /**
38
- * Saves a row.
39
- *
40
- * @param row - The edit grid row.
41
- * @param index - The index for this row.
42
- */
43
- saveRow(row: any, index: any): void;
44
- cancelRow(index: any): void;
45
- renderTemplate(element: ElementRef, template: any): void;
46
- ngAfterViewInit(): void;
47
- static ɵfac: i0.ɵɵFactoryDeclaration<MaterialEditGridComponent, never>;
48
- static ɵcmp: i0.ɵɵComponentDeclaration<MaterialEditGridComponent, "mat-formio-editgrid", never, {}, {}, never, never, false, never>;
49
- }
50
- export { EditGridComponent };
1
+ import { QueryList, ElementRef, AfterViewInit } from '@angular/core';
2
+ import { MaterialNestedComponent } from '../MaterialNestedComponent';
3
+ import EditGridComponent from 'formiojs/components/editgrid/EditGrid.js';
4
+ import { FormioComponent } from '../../formio.component';
5
+ import * as i0 from "@angular/core";
6
+ declare enum EditRowState {
7
+ NEW = "new",
8
+ EDITING = "editing",
9
+ SAVED = "saved",
10
+ REMOVED = "removed",
11
+ DRAFT = "draft"
12
+ }
13
+ export declare class MaterialEditGridComponent extends MaterialNestedComponent implements AfterViewInit {
14
+ headerElement: ElementRef;
15
+ footerElement: ElementRef;
16
+ rowElements: QueryList<ElementRef>;
17
+ forms: QueryList<FormioComponent>;
18
+ header: string;
19
+ footer: string;
20
+ displayedColumns: string[];
21
+ columns: any;
22
+ colWidth: number;
23
+ valid: boolean;
24
+ RowStates: typeof EditRowState;
25
+ getRowTemplate(content: any): string;
26
+ validate(index: any): void;
27
+ setInstance(instance: any): void;
28
+ addAnother(): void;
29
+ editRow(row: any, index: any): void;
30
+ /**
31
+ * Updates the row template.
32
+ *
33
+ * @param row
34
+ * @param index
35
+ */
36
+ updateRowTemplate(rowElement: ElementRef, index: any, comps: any): void;
37
+ /**
38
+ * Saves a row.
39
+ *
40
+ * @param row - The edit grid row.
41
+ * @param index - The index for this row.
42
+ */
43
+ saveRow(row: any, index: any): void;
44
+ cancelRow(index: any): void;
45
+ renderTemplate(element: ElementRef, template: any): void;
46
+ ngAfterViewInit(): void;
47
+ static ɵfac: i0.ɵɵFactoryDeclaration<MaterialEditGridComponent, never>;
48
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaterialEditGridComponent, "mat-formio-editgrid", never, {}, {}, never, never, false>;
49
+ }
50
+ export { EditGridComponent };