monkey-front-components 0.0.633 → 0.0.635

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 (180) hide show
  1. package/README.md +24 -24
  2. package/esm2020/lib/components/base/base-component.mjs +335 -335
  3. package/esm2020/lib/components/base/base-dynamic-array.mjs +221 -221
  4. package/esm2020/lib/components/base/base-dynamic.mjs +102 -102
  5. package/esm2020/lib/components/base/base-scroll-component.mjs +55 -55
  6. package/esm2020/lib/components/base/base-validators.mjs +20 -20
  7. package/esm2020/lib/components/base/index.mjs +6 -6
  8. package/esm2020/lib/components/dynamic/button/button.component.mjs +52 -52
  9. package/esm2020/lib/components/dynamic/button/index.mjs +2 -2
  10. package/esm2020/lib/components/dynamic/dynamic-directive.mjs +95 -95
  11. package/esm2020/lib/components/dynamic/dynamic.module.mjs +84 -84
  12. package/esm2020/lib/components/dynamic/file-upload/file-upload.component.mjs +53 -53
  13. package/esm2020/lib/components/dynamic/file-upload/index.mjs +2 -2
  14. package/esm2020/lib/components/dynamic/form/dynamic-form-array.component.mjs +72 -72
  15. package/esm2020/lib/components/dynamic/form/dynamic-form.component.mjs +46 -46
  16. package/esm2020/lib/components/dynamic/form/index.mjs +3 -3
  17. package/esm2020/lib/components/dynamic/index.mjs +9 -9
  18. package/esm2020/lib/components/dynamic/input/index.mjs +2 -2
  19. package/esm2020/lib/components/dynamic/input/input.component.mjs +65 -65
  20. package/esm2020/lib/components/dynamic/input-phone/index.mjs +2 -2
  21. package/esm2020/lib/components/dynamic/input-phone/input-phone.component.mjs +65 -65
  22. package/esm2020/lib/components/dynamic/radio/index.mjs +2 -2
  23. package/esm2020/lib/components/dynamic/radio/radio.component.mjs +33 -33
  24. package/esm2020/lib/components/dynamic/select/index.mjs +2 -2
  25. package/esm2020/lib/components/dynamic/select/select.component.mjs +85 -85
  26. package/esm2020/lib/components/dynamic/select-search/index.mjs +2 -2
  27. package/esm2020/lib/components/dynamic/select-search/select-search.component.mjs +92 -92
  28. package/esm2020/lib/components/index.mjs +4 -4
  29. package/esm2020/lib/components/shared/filter/filter.component.mjs +144 -144
  30. package/esm2020/lib/components/shared/filter/filter.module.mjs +67 -67
  31. package/esm2020/lib/components/shared/filter/index.mjs +3 -3
  32. package/esm2020/lib/components/shared/filter/menu/index.mjs +2 -2
  33. package/esm2020/lib/components/shared/filter/menu/menu.component.mjs +120 -120
  34. package/esm2020/lib/components/shared/filter/menu/menu.module.mjs +70 -70
  35. package/esm2020/lib/components/shared/filter/options/children/children.component.mjs +50 -50
  36. package/esm2020/lib/components/shared/filter/options/children/index.mjs +2 -2
  37. package/esm2020/lib/components/shared/filter/options/currency/currency.component.mjs +46 -46
  38. package/esm2020/lib/components/shared/filter/options/currency/index.mjs +2 -2
  39. package/esm2020/lib/components/shared/filter/options/date-range/date-range.component.mjs +65 -65
  40. package/esm2020/lib/components/shared/filter/options/date-range/index.mjs +2 -2
  41. package/esm2020/lib/components/shared/filter/options/index.mjs +2 -2
  42. package/esm2020/lib/components/shared/filter/options/input/index.mjs +2 -2
  43. package/esm2020/lib/components/shared/filter/options/input/input.component.mjs +46 -46
  44. package/esm2020/lib/components/shared/filter/options/options.component.mjs +102 -102
  45. package/esm2020/lib/components/shared/filter/options/options.module.mjs +103 -103
  46. package/esm2020/lib/components/shared/filter/options/status/index.mjs +2 -2
  47. package/esm2020/lib/components/shared/filter/options/status/status.component.mjs +66 -66
  48. package/esm2020/lib/components/shared/filter/options/status-radio/index.mjs +2 -2
  49. package/esm2020/lib/components/shared/filter/options/status-radio/status-radio.component.mjs +37 -37
  50. package/esm2020/lib/components/shared/filter/selected/index.mjs +2 -2
  51. package/esm2020/lib/components/shared/filter/selected/item/children/children.component.mjs +57 -57
  52. package/esm2020/lib/components/shared/filter/selected/item/children/index.mjs +2 -2
  53. package/esm2020/lib/components/shared/filter/selected/item/currency/currency.component.mjs +28 -28
  54. package/esm2020/lib/components/shared/filter/selected/item/currency/index.mjs +2 -2
  55. package/esm2020/lib/components/shared/filter/selected/item/date-range/date-range.component.mjs +42 -42
  56. package/esm2020/lib/components/shared/filter/selected/item/date-range/index.mjs +2 -2
  57. package/esm2020/lib/components/shared/filter/selected/item/date-with-action/date-with-action.component.mjs +32 -32
  58. package/esm2020/lib/components/shared/filter/selected/item/date-with-action/index.mjs +2 -2
  59. package/esm2020/lib/components/shared/filter/selected/item/index.mjs +9 -9
  60. package/esm2020/lib/components/shared/filter/selected/item/input/index.mjs +2 -2
  61. package/esm2020/lib/components/shared/filter/selected/item/input/input.component.mjs +27 -27
  62. package/esm2020/lib/components/shared/filter/selected/item/item.component.mjs +75 -75
  63. package/esm2020/lib/components/shared/filter/selected/item/status/index.mjs +2 -2
  64. package/esm2020/lib/components/shared/filter/selected/item/status/status.component.mjs +38 -38
  65. package/esm2020/lib/components/shared/filter/selected/item/status-radio/index.mjs +2 -2
  66. package/esm2020/lib/components/shared/filter/selected/item/status-radio/status-radio.component.mjs +29 -29
  67. package/esm2020/lib/components/shared/filter/selected/selected.component.mjs +85 -85
  68. package/esm2020/lib/components/shared/filter/selected/selected.module.mjs +92 -92
  69. package/esm2020/lib/components/shared/index.mjs +5 -5
  70. package/esm2020/lib/components/shared/password-strength/index.mjs +3 -3
  71. package/esm2020/lib/components/shared/password-strength/password-strength.component.mjs +85 -85
  72. package/esm2020/lib/components/shared/password-strength/password-strength.mjs +2 -2
  73. package/esm2020/lib/components/shared/password-strength/password-strength.module.mjs +50 -50
  74. package/esm2020/lib/components/shared/products/filter/filter.component.mjs +36 -36
  75. package/esm2020/lib/components/shared/products/index.mjs +3 -3
  76. package/esm2020/lib/components/shared/products/products.component.mjs +91 -91
  77. package/esm2020/lib/components/shared/products/products.module.mjs +22 -22
  78. package/esm2020/lib/components/shared/products/providers/index.mjs +2 -2
  79. package/esm2020/lib/components/shared/products/providers/products.model.mjs +38 -38
  80. package/esm2020/lib/components/shared/progress-bar/index.mjs +4 -4
  81. package/esm2020/lib/components/shared/progress-bar/progress-bar.component.mjs +28 -28
  82. package/esm2020/lib/components/shared/progress-bar/progress-bar.module.mjs +18 -18
  83. package/esm2020/lib/components/shared/progress-bar/progress-bar.service.mjs +49 -49
  84. package/esm2020/lib/interfaces/field-config.mjs +2 -2
  85. package/esm2020/lib/interfaces/index.mjs +2 -2
  86. package/esm2020/monkey-front-components.mjs +4 -4
  87. package/esm2020/public-api.mjs +5 -5
  88. package/fesm2015/monkey-front-components.mjs +2932 -2932
  89. package/fesm2015/monkey-front-components.mjs.map +1 -1
  90. package/fesm2020/monkey-front-components.mjs +2908 -2908
  91. package/fesm2020/monkey-front-components.mjs.map +1 -1
  92. package/lib/components/base/base-component.d.ts +54 -54
  93. package/lib/components/base/base-dynamic-array.d.ts +34 -34
  94. package/lib/components/base/base-dynamic.d.ts +25 -25
  95. package/lib/components/base/base-scroll-component.d.ts +16 -16
  96. package/lib/components/base/base-validators.d.ts +1 -1
  97. package/lib/components/base/index.d.ts +5 -5
  98. package/lib/components/dynamic/button/button.component.d.ts +17 -17
  99. package/lib/components/dynamic/button/index.d.ts +1 -1
  100. package/lib/components/dynamic/dynamic-directive.d.ts +22 -22
  101. package/lib/components/dynamic/dynamic.module.d.ts +20 -20
  102. package/lib/components/dynamic/file-upload/file-upload.component.d.ts +17 -17
  103. package/lib/components/dynamic/file-upload/index.d.ts +1 -1
  104. package/lib/components/dynamic/form/dynamic-form-array.component.d.ts +16 -16
  105. package/lib/components/dynamic/form/dynamic-form.component.d.ts +14 -14
  106. package/lib/components/dynamic/form/index.d.ts +2 -2
  107. package/lib/components/dynamic/index.d.ts +8 -8
  108. package/lib/components/dynamic/input/index.d.ts +1 -1
  109. package/lib/components/dynamic/input/input.component.d.ts +20 -20
  110. package/lib/components/dynamic/input-phone/index.d.ts +1 -1
  111. package/lib/components/dynamic/input-phone/input-phone.component.d.ts +20 -20
  112. package/lib/components/dynamic/radio/index.d.ts +1 -1
  113. package/lib/components/dynamic/radio/radio.component.d.ts +11 -11
  114. package/lib/components/dynamic/select/index.d.ts +1 -1
  115. package/lib/components/dynamic/select/select.component.d.ts +17 -17
  116. package/lib/components/dynamic/select-search/index.d.ts +1 -1
  117. package/lib/components/dynamic/select-search/select-search.component.d.ts +19 -19
  118. package/lib/components/index.d.ts +3 -3
  119. package/lib/components/shared/filter/filter.component.d.ts +41 -41
  120. package/lib/components/shared/filter/filter.module.d.ts +14 -14
  121. package/lib/components/shared/filter/index.d.ts +2 -2
  122. package/lib/components/shared/filter/menu/index.d.ts +1 -1
  123. package/lib/components/shared/filter/menu/menu.component.d.ts +24 -24
  124. package/lib/components/shared/filter/menu/menu.module.d.ts +14 -14
  125. package/lib/components/shared/filter/options/children/children.component.d.ts +17 -17
  126. package/lib/components/shared/filter/options/children/index.d.ts +1 -1
  127. package/lib/components/shared/filter/options/currency/currency.component.d.ts +17 -17
  128. package/lib/components/shared/filter/options/currency/index.d.ts +1 -1
  129. package/lib/components/shared/filter/options/date-range/date-range.component.d.ts +24 -24
  130. package/lib/components/shared/filter/options/date-range/index.d.ts +1 -1
  131. package/lib/components/shared/filter/options/index.d.ts +1 -1
  132. package/lib/components/shared/filter/options/input/index.d.ts +1 -1
  133. package/lib/components/shared/filter/options/input/input.component.d.ts +17 -17
  134. package/lib/components/shared/filter/options/options.component.d.ts +28 -28
  135. package/lib/components/shared/filter/options/options.module.d.ts +19 -19
  136. package/lib/components/shared/filter/options/status/index.d.ts +1 -1
  137. package/lib/components/shared/filter/options/status/status.component.d.ts +19 -19
  138. package/lib/components/shared/filter/options/status-radio/index.d.ts +1 -1
  139. package/lib/components/shared/filter/options/status-radio/status-radio.component.d.ts +15 -15
  140. package/lib/components/shared/filter/selected/index.d.ts +1 -1
  141. package/lib/components/shared/filter/selected/item/children/children.component.d.ts +16 -16
  142. package/lib/components/shared/filter/selected/item/children/index.d.ts +1 -1
  143. package/lib/components/shared/filter/selected/item/currency/currency.component.d.ts +11 -11
  144. package/lib/components/shared/filter/selected/item/currency/index.d.ts +1 -1
  145. package/lib/components/shared/filter/selected/item/date-range/date-range.component.d.ts +12 -12
  146. package/lib/components/shared/filter/selected/item/date-range/index.d.ts +1 -1
  147. package/lib/components/shared/filter/selected/item/date-with-action/date-with-action.component.d.ts +11 -11
  148. package/lib/components/shared/filter/selected/item/date-with-action/index.d.ts +1 -1
  149. package/lib/components/shared/filter/selected/item/index.d.ts +8 -8
  150. package/lib/components/shared/filter/selected/item/input/index.d.ts +1 -1
  151. package/lib/components/shared/filter/selected/item/input/input.component.d.ts +11 -11
  152. package/lib/components/shared/filter/selected/item/item.component.d.ts +20 -20
  153. package/lib/components/shared/filter/selected/item/status/index.d.ts +1 -1
  154. package/lib/components/shared/filter/selected/item/status/status.component.d.ts +13 -13
  155. package/lib/components/shared/filter/selected/item/status-radio/index.d.ts +1 -1
  156. package/lib/components/shared/filter/selected/item/status-radio/status-radio.component.d.ts +11 -11
  157. package/lib/components/shared/filter/selected/selected.component.d.ts +19 -19
  158. package/lib/components/shared/filter/selected/selected.module.d.ts +22 -22
  159. package/lib/components/shared/index.d.ts +4 -4
  160. package/lib/components/shared/password-strength/index.d.ts +2 -2
  161. package/lib/components/shared/password-strength/password-strength.component.d.ts +23 -23
  162. package/lib/components/shared/password-strength/password-strength.d.ts +5 -5
  163. package/lib/components/shared/password-strength/password-strength.module.d.ts +12 -12
  164. package/lib/components/shared/products/filter/filter.component.d.ts +12 -12
  165. package/lib/components/shared/products/index.d.ts +2 -2
  166. package/lib/components/shared/products/products.component.d.ts +20 -20
  167. package/lib/components/shared/products/products.module.d.ts +11 -11
  168. package/lib/components/shared/products/providers/index.d.ts +1 -1
  169. package/lib/components/shared/products/providers/products.model.d.ts +13 -13
  170. package/lib/components/shared/progress-bar/index.d.ts +3 -3
  171. package/lib/components/shared/progress-bar/progress-bar.component.d.ts +12 -12
  172. package/lib/components/shared/progress-bar/progress-bar.module.d.ts +8 -8
  173. package/lib/components/shared/progress-bar/progress-bar.service.d.ts +14 -14
  174. package/lib/interfaces/field-config.d.ts +55 -55
  175. package/lib/interfaces/index.d.ts +1 -1
  176. package/monkey-front-components-0.0.635.tgz +0 -0
  177. package/monkey-front-components.d.ts +5 -5
  178. package/package.json +3 -3
  179. package/public-api.d.ts +1 -1
  180. package/monkey-front-components-0.0.633.tgz +0 -0
@@ -1,54 +1,54 @@
1
- import { OnDestroy } from '@angular/core';
2
- import { AbstractControl, FormGroup } from '@angular/forms';
3
- import { MonkeyEcxErrorResponse, MonkeyEcxPaginationOptions, MonkeyEcxScrollOptions, MonkeyEcxSupportOptions, MonkeyEcxTranslateOptions, ValidateUtils } from 'monkey-front-core';
4
- import { Subject } from 'rxjs';
5
- import * as i0 from "@angular/core";
6
- export declare abstract class BaseComponent implements OnDestroy {
7
- __monkeyecxFormErrors: any | any[];
8
- __unsubscribeAll: Subject<any>;
9
- __paginationOptions: MonkeyEcxPaginationOptions | null;
10
- __i18n: any;
11
- __isMobile: boolean;
12
- __locales: string[];
13
- private paginationFunc;
14
- protected constructor();
15
- private isMobile;
16
- private handlePagination;
17
- private handleSupport;
18
- private handleTranslate;
19
- private handleViewScroll;
20
- private getErrorFirstMessageTranslated;
21
- private getErrorLastMessageNotTranslated;
22
- validateFormWithTranslate(f: FormGroup, index?: number): boolean;
23
- copyToClipboard(val: string): void;
24
- validateForm(f: FormGroup, index?: number, alias?: string): boolean;
25
- clearAllServiceData(clearData: boolean): void;
26
- ngOnInit(args: {
27
- paginationOptions?: MonkeyEcxPaginationOptions;
28
- supportControls?: MonkeyEcxSupportOptions;
29
- scrollOptions?: MonkeyEcxScrollOptions;
30
- translateOptions?: MonkeyEcxTranslateOptions;
31
- }): void;
32
- ngOnDestroy(clearData?: boolean): void;
33
- handleErrorFromServices(error: MonkeyEcxErrorResponse, f: FormGroup): void;
34
- goBack(): void;
35
- goScroll(id: string): void;
36
- getEmbeddedData(data: any, field: string): any[] | any;
37
- openWindow(url: string): void;
38
- fillI18n(data: any): void;
39
- getCountryPrefix(country: string): number;
40
- getCountryCurrencyChartFormat(country: string): string;
41
- getCountryDocumentMask(type: 'CPF' | 'CPNJ' | '', country: string): any;
42
- getCountryDocumentPlaceholder(type: 'CPF' | 'CPNJ' | '', country: string): any;
43
- getCountryValidators(country: string): {
44
- governmentId: typeof ValidateUtils.DocumentValidator;
45
- zipCode: (control: AbstractControl) => import("@angular/forms").ValidationErrors;
46
- } | {
47
- governmentId: typeof ValidateUtils.DocumentRutValidator;
48
- zipCode: (control: AbstractControl) => import("@angular/forms").ValidationErrors;
49
- };
50
- isAbleToHandlePagination(): boolean;
51
- onHandlePagination(): void;
52
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent, never>;
53
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaseComponent, "[baseComponent]", never, {}, {}, never>;
54
- }
1
+ import { OnDestroy } from '@angular/core';
2
+ import { AbstractControl, FormGroup } from '@angular/forms';
3
+ import { MonkeyEcxErrorResponse, MonkeyEcxPaginationOptions, MonkeyEcxScrollOptions, MonkeyEcxSupportOptions, MonkeyEcxTranslateOptions, ValidateUtils } from 'monkey-front-core';
4
+ import { Subject } from 'rxjs';
5
+ import * as i0 from "@angular/core";
6
+ export declare abstract class BaseComponent implements OnDestroy {
7
+ __monkeyecxFormErrors: any | any[];
8
+ __unsubscribeAll: Subject<any>;
9
+ __paginationOptions: MonkeyEcxPaginationOptions | null;
10
+ __i18n: any;
11
+ __isMobile: boolean;
12
+ __locales: string[];
13
+ private paginationFunc;
14
+ protected constructor();
15
+ private isMobile;
16
+ private handlePagination;
17
+ private handleSupport;
18
+ private handleTranslate;
19
+ private handleViewScroll;
20
+ private getErrorFirstMessageTranslated;
21
+ private getErrorLastMessageNotTranslated;
22
+ validateFormWithTranslate(f: FormGroup, index?: number): boolean;
23
+ copyToClipboard(val: string): void;
24
+ validateForm(f: FormGroup, index?: number, alias?: string): boolean;
25
+ clearAllServiceData(clearData: boolean): void;
26
+ ngOnInit(args: {
27
+ paginationOptions?: MonkeyEcxPaginationOptions;
28
+ supportControls?: MonkeyEcxSupportOptions;
29
+ scrollOptions?: MonkeyEcxScrollOptions;
30
+ translateOptions?: MonkeyEcxTranslateOptions;
31
+ }): void;
32
+ ngOnDestroy(clearData?: boolean): void;
33
+ handleErrorFromServices(error: MonkeyEcxErrorResponse, f: FormGroup): void;
34
+ goBack(): void;
35
+ goScroll(id: string): void;
36
+ getEmbeddedData(data: any, field: string): any[] | any;
37
+ openWindow(url: string): void;
38
+ fillI18n(data: any): void;
39
+ getCountryPrefix(country: string): number;
40
+ getCountryCurrencyChartFormat(country: string): string;
41
+ getCountryDocumentMask(type: 'CPF' | 'CPNJ' | '', country: string): any;
42
+ getCountryDocumentPlaceholder(type: 'CPF' | 'CPNJ' | '', country: string): any;
43
+ getCountryValidators(country: string): {
44
+ governmentId: typeof ValidateUtils.DocumentValidator;
45
+ zipCode: (control: AbstractControl) => import("@angular/forms").ValidationErrors;
46
+ } | {
47
+ governmentId: typeof ValidateUtils.DocumentRutValidator;
48
+ zipCode: (control: AbstractControl) => import("@angular/forms").ValidationErrors;
49
+ };
50
+ isAbleToHandlePagination(): boolean;
51
+ onHandlePagination(): void;
52
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent, never>;
53
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaseComponent, "[baseComponent]", never, {}, {}, never>;
54
+ }
@@ -1,34 +1,34 @@
1
- import { EventEmitter, OnInit, OnChanges } from '@angular/core';
2
- import { FormArray, FormBuilder, FormGroup } from '@angular/forms';
3
- import { MECXFieldConfig } from '../../interfaces';
4
- import { BaseComponent } from './base-component';
5
- import * as i0 from "@angular/core";
6
- export declare abstract class BaseDynamicArray extends BaseComponent implements OnInit, OnChanges {
7
- private fb;
8
- onHandleSubmit: EventEmitter<any>;
9
- onHandleUpdateForm: EventEmitter<any>;
10
- onHandleSubmitFormReady: EventEmitter<any>;
11
- self: any;
12
- fields: MECXFieldConfig[];
13
- data: any;
14
- qtd: number;
15
- disabled: boolean;
16
- _form: FormGroup | null;
17
- _plusValidations: any[];
18
- private changesUnsubscribe;
19
- constructor(fb: FormBuilder);
20
- private handleInternalPlusValidation;
21
- private makeInternalPlusValidation;
22
- private createOneControl;
23
- private createControl;
24
- private bindValidations;
25
- private buildForm;
26
- private watchForChanges;
27
- formBase: () => FormGroup;
28
- get formValues(): FormArray;
29
- fillValues(): void;
30
- ngOnInit(): void;
31
- ngOnChanges(): void;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseDynamicArray, never>;
33
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaseDynamicArray, "[baseDynamicArray]", never, { "onHandleSubmit": "onHandleSubmit"; "onHandleUpdateForm": "onHandleUpdateForm"; "self": "self"; "fields": "fields"; "data": "data"; "qtd": "qtd"; "disabled": "disabled"; }, { "onHandleSubmitFormReady": "onHandleSubmitFormReady"; }, never>;
34
- }
1
+ import { EventEmitter, OnInit, OnChanges } from '@angular/core';
2
+ import { FormArray, FormBuilder, FormGroup } from '@angular/forms';
3
+ import { MECXFieldConfig } from '../../interfaces';
4
+ import { BaseComponent } from './base-component';
5
+ import * as i0 from "@angular/core";
6
+ export declare abstract class BaseDynamicArray extends BaseComponent implements OnInit, OnChanges {
7
+ private fb;
8
+ onHandleSubmit: EventEmitter<any>;
9
+ onHandleUpdateForm: EventEmitter<any>;
10
+ onHandleSubmitFormReady: EventEmitter<any>;
11
+ self: any;
12
+ fields: MECXFieldConfig[];
13
+ data: any;
14
+ qtd: number;
15
+ disabled: boolean;
16
+ _form: FormGroup | null;
17
+ _plusValidations: any[];
18
+ private changesUnsubscribe;
19
+ constructor(fb: FormBuilder);
20
+ private handleInternalPlusValidation;
21
+ private makeInternalPlusValidation;
22
+ private createOneControl;
23
+ private createControl;
24
+ private bindValidations;
25
+ private buildForm;
26
+ private watchForChanges;
27
+ formBase: () => FormGroup;
28
+ get formValues(): FormArray;
29
+ fillValues(): void;
30
+ ngOnInit(): void;
31
+ ngOnChanges(): void;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseDynamicArray, never>;
33
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaseDynamicArray, "[baseDynamicArray]", never, { "onHandleSubmit": "onHandleSubmit"; "onHandleUpdateForm": "onHandleUpdateForm"; "self": "self"; "fields": "fields"; "data": "data"; "qtd": "qtd"; "disabled": "disabled"; }, { "onHandleSubmitFormReady": "onHandleSubmitFormReady"; }, never>;
34
+ }
@@ -1,25 +1,25 @@
1
- import { EventEmitter, OnInit, OnChanges } from '@angular/core';
2
- import { FormBuilder, FormGroup } from '@angular/forms';
3
- import { MECXFieldConfig } from '../../interfaces';
4
- import { BaseComponent } from './base-component';
5
- import * as i0 from "@angular/core";
6
- export declare abstract class BaseDynamic extends BaseComponent implements OnInit, OnChanges {
7
- private fb;
8
- onHandleSubmit: EventEmitter<any>;
9
- onHandleUpdateForm: EventEmitter<any>;
10
- onHandleSubmitFormReady: EventEmitter<any>;
11
- self: any;
12
- fields: MECXFieldConfig[];
13
- data: any;
14
- disabled: boolean;
15
- isLoading: boolean;
16
- _form: FormGroup | null;
17
- constructor(fb: FormBuilder);
18
- private createControl;
19
- private bindValidations;
20
- fillValues(): void;
21
- ngOnInit(): void;
22
- ngOnChanges(): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseDynamic, never>;
24
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaseDynamic, "[baseDynamic]", never, { "onHandleSubmit": "onHandleSubmit"; "onHandleUpdateForm": "onHandleUpdateForm"; "self": "self"; "fields": "fields"; "data": "data"; "disabled": "disabled"; "isLoading": "isLoading"; }, { "onHandleSubmitFormReady": "onHandleSubmitFormReady"; }, never>;
25
- }
1
+ import { EventEmitter, OnInit, OnChanges } from '@angular/core';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import { MECXFieldConfig } from '../../interfaces';
4
+ import { BaseComponent } from './base-component';
5
+ import * as i0 from "@angular/core";
6
+ export declare abstract class BaseDynamic extends BaseComponent implements OnInit, OnChanges {
7
+ private fb;
8
+ onHandleSubmit: EventEmitter<any>;
9
+ onHandleUpdateForm: EventEmitter<any>;
10
+ onHandleSubmitFormReady: EventEmitter<any>;
11
+ self: any;
12
+ fields: MECXFieldConfig[];
13
+ data: any;
14
+ disabled: boolean;
15
+ isLoading: boolean;
16
+ _form: FormGroup | null;
17
+ constructor(fb: FormBuilder);
18
+ private createControl;
19
+ private bindValidations;
20
+ fillValues(): void;
21
+ ngOnInit(): void;
22
+ ngOnChanges(): void;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseDynamic, never>;
24
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaseDynamic, "[baseDynamic]", never, { "onHandleSubmit": "onHandleSubmit"; "onHandleUpdateForm": "onHandleUpdateForm"; "self": "self"; "fields": "fields"; "data": "data"; "disabled": "disabled"; "isLoading": "isLoading"; }, { "onHandleSubmitFormReady": "onHandleSubmitFormReady"; }, never>;
25
+ }
@@ -1,16 +1,16 @@
1
- import { OnInit } from '@angular/core';
2
- import { Router } from '@angular/router';
3
- import { BaseComponent } from './base-component';
4
- import * as i0 from "@angular/core";
5
- export declare abstract class BaseScrollComponent extends BaseComponent implements OnInit {
6
- private _pId;
7
- private _rt;
8
- private routeScrollPositions;
9
- constructor(_pId: Object, _rt: Router);
10
- private saveScroll;
11
- private restoreScroll;
12
- private addScrollTopListeners;
13
- ngOnInit(): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseScrollComponent, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaseScrollComponent, "[baseScrollComponent]", never, {}, {}, never>;
16
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { Router } from '@angular/router';
3
+ import { BaseComponent } from './base-component';
4
+ import * as i0 from "@angular/core";
5
+ export declare abstract class BaseScrollComponent extends BaseComponent implements OnInit {
6
+ private _pId;
7
+ private _rt;
8
+ private routeScrollPositions;
9
+ constructor(_pId: Object, _rt: Router);
10
+ private saveScroll;
11
+ private restoreScroll;
12
+ private addScrollTopListeners;
13
+ ngOnInit(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseScrollComponent, never>;
15
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaseScrollComponent, "[baseScrollComponent]", never, {}, {}, never>;
16
+ }
@@ -1 +1 @@
1
- export declare const validators: any;
1
+ export declare const validators: any;
@@ -1,5 +1,5 @@
1
- export * from './base-component';
2
- export * from './base-dynamic-array';
3
- export * from './base-dynamic';
4
- export * from './base-scroll-component';
5
- export * from './base-validators';
1
+ export * from './base-component';
2
+ export * from './base-dynamic-array';
3
+ export * from './base-dynamic';
4
+ export * from './base-scroll-component';
5
+ export * from './base-validators';
@@ -1,17 +1,17 @@
1
- import { ChangeDetectorRef, OnChanges } from '@angular/core';
2
- import { FormGroup } from '@angular/forms';
3
- import { MECXFieldConfig } from '../../../interfaces';
4
- import * as i0 from "@angular/core";
5
- export declare class MECXDynamicButtonComponent implements OnChanges {
6
- private cdr;
7
- _field: MECXFieldConfig | null;
8
- _form: FormGroup | null;
9
- _formErrors: any | any[];
10
- self: any;
11
- constructor(cdr: ChangeDetectorRef);
12
- get className(): string;
13
- ngOnChanges(): void;
14
- onClick(): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<MECXDynamicButtonComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<MECXDynamicButtonComponent, "mecx-dynamic-button", never, { "_field": "_field"; "_form": "_form"; "_formErrors": "_formErrors"; "self": "self"; }, {}, never, never>;
17
- }
1
+ import { ChangeDetectorRef, OnChanges } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { MECXFieldConfig } from '../../../interfaces';
4
+ import * as i0 from "@angular/core";
5
+ export declare class MECXDynamicButtonComponent implements OnChanges {
6
+ private cdr;
7
+ _field: MECXFieldConfig | null;
8
+ _form: FormGroup | null;
9
+ _formErrors: any | any[];
10
+ self: any;
11
+ constructor(cdr: ChangeDetectorRef);
12
+ get className(): string;
13
+ ngOnChanges(): void;
14
+ onClick(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<MECXDynamicButtonComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<MECXDynamicButtonComponent, "mecx-dynamic-button", never, { "_field": "_field"; "_form": "_form"; "_formErrors": "_formErrors"; "self": "self"; }, {}, never, never>;
17
+ }
@@ -1 +1 @@
1
- export * from './button.component';
1
+ export * from './button.component';
@@ -1,22 +1,22 @@
1
- import { ChangeDetectorRef, ComponentFactoryResolver, OnChanges, OnInit, ViewContainerRef } from '@angular/core';
2
- import { FormGroup } from '@angular/forms';
3
- import { MECXFieldConfig } from '../../interfaces';
4
- import * as i0 from "@angular/core";
5
- export declare class MECXDynamicDirective implements OnInit, OnChanges {
6
- private resolver;
7
- private container;
8
- private cdr;
9
- field: MECXFieldConfig | null;
10
- form: FormGroup | null;
11
- formErrors: any;
12
- self: any;
13
- plusValidations: any;
14
- componentRef: any;
15
- constructor(resolver: ComponentFactoryResolver, container: ViewContainerRef, cdr: ChangeDetectorRef);
16
- private handleInternalPlusValidation;
17
- private buildComponent;
18
- ngOnInit(): void;
19
- ngOnChanges(): void;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<MECXDynamicDirective, never>;
21
- static ɵdir: i0.ɵɵDirectiveDeclaration<MECXDynamicDirective, "[MECXDynamic]", never, { "field": "field"; "form": "form"; "formErrors": "formErrors"; "self": "self"; "plusValidations": "plusValidations"; }, {}, never>;
22
- }
1
+ import { ChangeDetectorRef, ComponentFactoryResolver, OnChanges, OnInit, ViewContainerRef } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { MECXFieldConfig } from '../../interfaces';
4
+ import * as i0 from "@angular/core";
5
+ export declare class MECXDynamicDirective implements OnInit, OnChanges {
6
+ private resolver;
7
+ private container;
8
+ private cdr;
9
+ field: MECXFieldConfig | null;
10
+ form: FormGroup | null;
11
+ formErrors: any;
12
+ self: any;
13
+ plusValidations: any;
14
+ componentRef: any;
15
+ constructor(resolver: ComponentFactoryResolver, container: ViewContainerRef, cdr: ChangeDetectorRef);
16
+ private handleInternalPlusValidation;
17
+ private buildComponent;
18
+ ngOnInit(): void;
19
+ ngOnChanges(): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<MECXDynamicDirective, never>;
21
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MECXDynamicDirective, "[MECXDynamic]", never, { "field": "field"; "form": "form"; "formErrors": "formErrors"; "self": "self"; "plusValidations": "plusValidations"; }, {}, never>;
22
+ }
@@ -1,20 +1,20 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./button/button.component";
3
- import * as i2 from "./file-upload/file-upload.component";
4
- import * as i3 from "./form/dynamic-form.component";
5
- import * as i4 from "./form/dynamic-form-array.component";
6
- import * as i5 from "./input/input.component";
7
- import * as i6 from "./input-phone/input-phone.component";
8
- import * as i7 from "./radio/radio.component";
9
- import * as i8 from "./select/select.component";
10
- import * as i9 from "./select-search/select-search.component";
11
- import * as i10 from "./dynamic-directive";
12
- import * as i11 from "@angular/common";
13
- import * as i12 from "@angular/forms";
14
- import * as i13 from "monkey-style-guide";
15
- import * as i14 from "@ngx-translate/core";
16
- export declare class MECXDynamicModule {
17
- static ɵfac: i0.ɵɵFactoryDeclaration<MECXDynamicModule, never>;
18
- static ɵmod: i0.ɵɵNgModuleDeclaration<MECXDynamicModule, [typeof i1.MECXDynamicButtonComponent, typeof i2.MECXDynamicFileUploadComponent, typeof i3.MECXDynamicFormComponent, typeof i4.MECXDynamicFormArrayComponent, typeof i5.MECXDynamicInputComponent, typeof i6.MECXDynamicInputPhoneComponent, typeof i7.MECXDynamicRadioComponent, typeof i8.MECXDynamicSelectComponent, typeof i9.MECXDynamicSelectSearchComponent, typeof i10.MECXDynamicDirective], [typeof i11.CommonModule, typeof i12.FormsModule, typeof i12.ReactiveFormsModule, typeof i13.MonkeyInputModule, typeof i13.MonkeySelectModule, typeof i13.MonkeyRadioButtonModule, typeof i13.MonkeyOptionModule, typeof i13.MonkeyFileUploadModule, typeof i13.MonkeyButtonModule, typeof i13.MonkeyInputPhoneModule, typeof i14.TranslateModule], [typeof i10.MECXDynamicDirective, typeof i3.MECXDynamicFormComponent, typeof i4.MECXDynamicFormArrayComponent]>;
19
- static ɵinj: i0.ɵɵInjectorDeclaration<MECXDynamicModule>;
20
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./button/button.component";
3
+ import * as i2 from "./file-upload/file-upload.component";
4
+ import * as i3 from "./form/dynamic-form.component";
5
+ import * as i4 from "./form/dynamic-form-array.component";
6
+ import * as i5 from "./input/input.component";
7
+ import * as i6 from "./input-phone/input-phone.component";
8
+ import * as i7 from "./radio/radio.component";
9
+ import * as i8 from "./select/select.component";
10
+ import * as i9 from "./select-search/select-search.component";
11
+ import * as i10 from "./dynamic-directive";
12
+ import * as i11 from "@angular/common";
13
+ import * as i12 from "@angular/forms";
14
+ import * as i13 from "monkey-style-guide";
15
+ import * as i14 from "@ngx-translate/core";
16
+ export declare class MECXDynamicModule {
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<MECXDynamicModule, never>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MECXDynamicModule, [typeof i1.MECXDynamicButtonComponent, typeof i2.MECXDynamicFileUploadComponent, typeof i3.MECXDynamicFormComponent, typeof i4.MECXDynamicFormArrayComponent, typeof i5.MECXDynamicInputComponent, typeof i6.MECXDynamicInputPhoneComponent, typeof i7.MECXDynamicRadioComponent, typeof i8.MECXDynamicSelectComponent, typeof i9.MECXDynamicSelectSearchComponent, typeof i10.MECXDynamicDirective], [typeof i11.CommonModule, typeof i12.FormsModule, typeof i12.ReactiveFormsModule, typeof i13.MonkeyInputModule, typeof i13.MonkeySelectModule, typeof i13.MonkeyRadioButtonModule, typeof i13.MonkeyOptionModule, typeof i13.MonkeyFileUploadModule, typeof i13.MonkeyButtonModule, typeof i13.MonkeyInputPhoneModule, typeof i14.TranslateModule], [typeof i10.MECXDynamicDirective, typeof i3.MECXDynamicFormComponent, typeof i4.MECXDynamicFormArrayComponent]>;
19
+ static ɵinj: i0.ɵɵInjectorDeclaration<MECXDynamicModule>;
20
+ }
@@ -1,17 +1,17 @@
1
- import { ChangeDetectorRef } from '@angular/core';
2
- import { FormGroup } from '@angular/forms';
3
- import { MECXFieldConfig } from '../../../interfaces';
4
- import * as i0 from "@angular/core";
5
- export declare class MECXDynamicFileUploadComponent {
6
- private cdr;
7
- _field: MECXFieldConfig;
8
- _form: FormGroup;
9
- _formErrors: any | any[];
10
- self: any;
11
- _function: Function;
12
- constructor(cdr: ChangeDetectorRef);
13
- get className(): string;
14
- ngOnChanges(): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<MECXDynamicFileUploadComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<MECXDynamicFileUploadComponent, "mecx-dynamic-file-upload", never, { "_field": "_field"; "_form": "_form"; "_formErrors": "_formErrors"; "self": "self"; }, {}, never, never>;
17
- }
1
+ import { ChangeDetectorRef } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { MECXFieldConfig } from '../../../interfaces';
4
+ import * as i0 from "@angular/core";
5
+ export declare class MECXDynamicFileUploadComponent {
6
+ private cdr;
7
+ _field: MECXFieldConfig;
8
+ _form: FormGroup;
9
+ _formErrors: any | any[];
10
+ self: any;
11
+ _function: Function;
12
+ constructor(cdr: ChangeDetectorRef);
13
+ get className(): string;
14
+ ngOnChanges(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<MECXDynamicFileUploadComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<MECXDynamicFileUploadComponent, "mecx-dynamic-file-upload", never, { "_field": "_field"; "_form": "_form"; "_formErrors": "_formErrors"; "self": "self"; }, {}, never, never>;
17
+ }
@@ -1 +1 @@
1
- export * from './file-upload.component';
1
+ export * from './file-upload.component';
@@ -1,16 +1,16 @@
1
- import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
2
- import { FormBuilder } from '@angular/forms';
3
- import { BaseDynamicArray } from '../../base';
4
- import * as i0 from "@angular/core";
5
- export declare class MECXDynamicFormArrayComponent extends BaseDynamicArray implements OnInit, OnDestroy {
6
- private cdr;
7
- private unsubscribeAll;
8
- constructor(fb: FormBuilder, cdr: ChangeDetectorRef);
9
- ngOnInit(): void;
10
- ngOnDestroy(): void;
11
- onSubmit(callback: Function): void;
12
- onHandleAdd(): void;
13
- onHandleRemove(index: number): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<MECXDynamicFormArrayComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<MECXDynamicFormArrayComponent, "mecx-dynamic-form-array", never, {}, {}, never, never>;
16
- }
1
+ import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
2
+ import { FormBuilder } from '@angular/forms';
3
+ import { BaseDynamicArray } from '../../base';
4
+ import * as i0 from "@angular/core";
5
+ export declare class MECXDynamicFormArrayComponent extends BaseDynamicArray implements OnInit, OnDestroy {
6
+ private cdr;
7
+ private unsubscribeAll;
8
+ constructor(fb: FormBuilder, cdr: ChangeDetectorRef);
9
+ ngOnInit(): void;
10
+ ngOnDestroy(): void;
11
+ onSubmit(callback: Function): void;
12
+ onHandleAdd(): void;
13
+ onHandleRemove(index: number): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<MECXDynamicFormArrayComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<MECXDynamicFormArrayComponent, "mecx-dynamic-form-array", never, {}, {}, never, never>;
16
+ }
@@ -1,14 +1,14 @@
1
- import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
2
- import { FormBuilder } from '@angular/forms';
3
- import { BaseDynamic } from '../../base/base-dynamic';
4
- import * as i0 from "@angular/core";
5
- export declare class MECXDynamicFormComponent extends BaseDynamic implements OnInit, OnDestroy {
6
- private cdr;
7
- private unsubscribeAll;
8
- constructor(fb: FormBuilder, cdr: ChangeDetectorRef);
9
- ngOnInit(): void;
10
- ngOnDestroy(): void;
11
- onSubmit(callback: Function): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<MECXDynamicFormComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<MECXDynamicFormComponent, "mecx-dynamic-form", never, {}, {}, never, never>;
14
- }
1
+ import { OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
2
+ import { FormBuilder } from '@angular/forms';
3
+ import { BaseDynamic } from '../../base/base-dynamic';
4
+ import * as i0 from "@angular/core";
5
+ export declare class MECXDynamicFormComponent extends BaseDynamic implements OnInit, OnDestroy {
6
+ private cdr;
7
+ private unsubscribeAll;
8
+ constructor(fb: FormBuilder, cdr: ChangeDetectorRef);
9
+ ngOnInit(): void;
10
+ ngOnDestroy(): void;
11
+ onSubmit(callback: Function): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<MECXDynamicFormComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<MECXDynamicFormComponent, "mecx-dynamic-form", never, {}, {}, never, never>;
14
+ }
@@ -1,2 +1,2 @@
1
- export * from './dynamic-form.component';
2
- export * from './dynamic-form-array.component';
1
+ export * from './dynamic-form.component';
2
+ export * from './dynamic-form-array.component';
@@ -1,8 +1,8 @@
1
- export * from './file-upload';
2
- export * from './form';
3
- export * from './input';
4
- export * from './input-phone';
5
- export * from './radio';
6
- export * from './select';
7
- export * from './dynamic-directive';
8
- export * from './dynamic.module';
1
+ export * from './file-upload';
2
+ export * from './form';
3
+ export * from './input';
4
+ export * from './input-phone';
5
+ export * from './radio';
6
+ export * from './select';
7
+ export * from './dynamic-directive';
8
+ export * from './dynamic.module';
@@ -1 +1 @@
1
- export * from './input.component';
1
+ export * from './input.component';
@@ -1,20 +1,20 @@
1
- import { ChangeDetectorRef, OnChanges, OnInit } from '@angular/core';
2
- import { FormGroup } from '@angular/forms';
3
- import { MonkeyInputComponent } from 'monkey-style-guide';
4
- import { MECXFieldConfig } from '../../../interfaces';
5
- import * as i0 from "@angular/core";
6
- export declare class MECXDynamicInputComponent implements OnInit, OnChanges {
7
- private cdr;
8
- _field: MECXFieldConfig | null;
9
- _form: FormGroup | null;
10
- _formErrors: any | any[];
11
- self: any;
12
- inputElement: MonkeyInputComponent | null;
13
- constructor(cdr: ChangeDetectorRef);
14
- get className(): string;
15
- ngOnInit(): void;
16
- ngOnChanges(): void;
17
- onChange(event: string): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<MECXDynamicInputComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<MECXDynamicInputComponent, "mecx-dynamic-input", never, { "_field": "_field"; "_form": "_form"; "_formErrors": "_formErrors"; "self": "self"; }, {}, never, never>;
20
- }
1
+ import { ChangeDetectorRef, OnChanges, OnInit } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { MonkeyInputComponent } from 'monkey-style-guide';
4
+ import { MECXFieldConfig } from '../../../interfaces';
5
+ import * as i0 from "@angular/core";
6
+ export declare class MECXDynamicInputComponent implements OnInit, OnChanges {
7
+ private cdr;
8
+ _field: MECXFieldConfig | null;
9
+ _form: FormGroup | null;
10
+ _formErrors: any | any[];
11
+ self: any;
12
+ inputElement: MonkeyInputComponent | null;
13
+ constructor(cdr: ChangeDetectorRef);
14
+ get className(): string;
15
+ ngOnInit(): void;
16
+ ngOnChanges(): void;
17
+ onChange(event: string): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<MECXDynamicInputComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<MECXDynamicInputComponent, "mecx-dynamic-input", never, { "_field": "_field"; "_form": "_form"; "_formErrors": "_formErrors"; "self": "self"; }, {}, never, never>;
20
+ }
@@ -1 +1 @@
1
- export * from './input-phone.component';
1
+ export * from './input-phone.component';