@main-class/componentes 3.11.2 → 4.0.0-next.0

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 (136) hide show
  1. package/README.md +17 -0
  2. package/fesm2022/main-class-componentes-arquivo.mjs +851 -369
  3. package/fesm2022/main-class-componentes-arquivo.mjs.map +1 -1
  4. package/fesm2022/main-class-componentes-core.mjs +288 -240
  5. package/fesm2022/main-class-componentes-core.mjs.map +1 -1
  6. package/fesm2022/main-class-componentes-crud.mjs +1004 -546
  7. package/fesm2022/main-class-componentes-crud.mjs.map +1 -1
  8. package/fesm2022/main-class-componentes-dialog.mjs +758 -385
  9. package/fesm2022/main-class-componentes-dialog.mjs.map +1 -1
  10. package/fesm2022/main-class-componentes-form.mjs +299 -196
  11. package/fesm2022/main-class-componentes-form.mjs.map +1 -1
  12. package/fesm2022/main-class-componentes-input.mjs +4143 -2141
  13. package/fesm2022/main-class-componentes-input.mjs.map +1 -1
  14. package/fesm2022/main-class-componentes-loader.mjs +262 -212
  15. package/fesm2022/main-class-componentes-loader.mjs.map +1 -1
  16. package/fesm2022/main-class-componentes-misc.mjs +508 -354
  17. package/fesm2022/main-class-componentes-misc.mjs.map +1 -1
  18. package/fesm2022/main-class-componentes-pipe.mjs +39 -26
  19. package/fesm2022/main-class-componentes-pipe.mjs.map +1 -1
  20. package/fesm2022/main-class-componentes-table.mjs +1331 -624
  21. package/fesm2022/main-class-componentes-table.mjs.map +1 -1
  22. package/fesm2022/main-class-componentes.mjs +3 -11
  23. package/fesm2022/main-class-componentes.mjs.map +1 -1
  24. package/package.json +32 -16
  25. package/types/main-class-componentes-arquivo.d.ts +190 -0
  26. package/types/main-class-componentes-core.d.ts +99 -0
  27. package/types/main-class-componentes-crud.d.ts +172 -0
  28. package/types/main-class-componentes-dialog.d.ts +125 -0
  29. package/types/main-class-componentes-form.d.ts +70 -0
  30. package/types/main-class-componentes-input.d.ts +687 -0
  31. package/types/main-class-componentes-loader.d.ts +69 -0
  32. package/types/main-class-componentes-misc.d.ts +87 -0
  33. package/types/main-class-componentes-pipe.d.ts +10 -0
  34. package/types/main-class-componentes-table.d.ts +265 -0
  35. package/types/main-class-componentes.d.ts +4 -0
  36. package/arquivo/index.d.ts +0 -5
  37. package/arquivo/src/arquivo-manager.service.d.ts +0 -13
  38. package/arquivo/src/download-arquivo.directive.d.ts +0 -12
  39. package/arquivo/src/imagem.directive.d.ts +0 -21
  40. package/arquivo/src/preview-arquivo/dialog-preview-arquivo/dialog-preview-arquivo.component.d.ts +0 -23
  41. package/arquivo/src/preview-arquivo/preview-arquivo.component.d.ts +0 -27
  42. package/core/index.d.ts +0 -4
  43. package/core/src/criptografia/criptografia.service.d.ts +0 -6
  44. package/core/src/mensageria/mensageria.service.d.ts +0 -17
  45. package/core/src/mobile/mobile.service.d.ts +0 -15
  46. package/core/src/validator/valida-modulo11.service.d.ts +0 -55
  47. package/crud/index.d.ts +0 -7
  48. package/crud/src/abstract-consulta-paginada-component.d.ts +0 -24
  49. package/crud/src/abstract-edicao-component.d.ts +0 -19
  50. package/crud/src/abstract-edicao-modal-component.d.ts +0 -19
  51. package/crud/src/query/query-field/query-field.component.d.ts +0 -40
  52. package/crud/src/query/query-form-field/query-form-field.component.d.ts +0 -12
  53. package/crud/src/query/query-form.component.d.ts +0 -28
  54. package/crud/src/query/query-modal-form/query-modal-form.component.d.ts +0 -13
  55. package/dialog/index.d.ts +0 -10
  56. package/dialog/src/dialog-confirmacao/dialog-confirmacao.component.d.ts +0 -23
  57. package/dialog/src/dialog-iframe/dialog-iframe.component.d.ts +0 -21
  58. package/dialog/src/dialog-sidebar/modal-template/modal-body.directive.d.ts +0 -9
  59. package/dialog/src/dialog-sidebar/modal-template/modal-close.directive.d.ts +0 -9
  60. package/dialog/src/dialog-sidebar/modal-template/modal-footer.directive.d.ts +0 -6
  61. package/dialog/src/dialog-sidebar/modal-template/modal-header.directive.d.ts +0 -6
  62. package/dialog/src/dialog-sidebar/modal-template/modal-template.component.d.ts +0 -12
  63. package/dialog/src/dialog-sidebar/modal.component.d.ts +0 -8
  64. package/dialog/src/dialog-sidebar/sidebar-modal-ref.d.ts +0 -21
  65. package/dialog/src/dialog.service.d.ts +0 -26
  66. package/form/index.d.ts +0 -3
  67. package/form/src/form.component.d.ts +0 -24
  68. package/form/src/mensagens-erro/mensagens-erro.component.d.ts +0 -17
  69. package/form/src/single-click.directive.d.ts +0 -13
  70. package/index.d.ts +0 -5
  71. package/input/index.d.ts +0 -26
  72. package/input/src/abstract-control-value-accessor.d.ts +0 -18
  73. package/input/src/abstract-mat-form-field-control.d.ts +0 -42
  74. package/input/src/abstract-mat-form-field-select-control.d.ts +0 -31
  75. package/input/src/input-currency/input-currency.component.d.ts +0 -9
  76. package/input/src/input-datetime/input-datetime.component.d.ts +0 -32
  77. package/input/src/input-fileupload/input-fileupload-validator.directive.d.ts +0 -8
  78. package/input/src/input-fileupload/input-fileupload.component.d.ts +0 -70
  79. package/input/src/input-mask/documento-validators.d.ts +0 -7
  80. package/input/src/input-mask/input-cep.component.d.ts +0 -7
  81. package/input/src/input-mask/input-cnpj.component.d.ts +0 -7
  82. package/input/src/input-mask/input-cpf-cnpj.component.d.ts +0 -7
  83. package/input/src/input-mask/input-cpf.component.d.ts +0 -7
  84. package/input/src/input-mask/input-mask-validator.directive.d.ts +0 -16
  85. package/input/src/input-mask/input-mask.component.d.ts +0 -24
  86. package/input/src/input-mask/input-phone.component.d.ts +0 -7
  87. package/input/src/input-mask/mask-functions.d.ts +0 -2
  88. package/input/src/input-telefone-internacional/input-telefone-internacional-validator.directive.d.ts +0 -8
  89. package/input/src/input-telefone-internacional/input-telefone-internacional.component.d.ts +0 -19
  90. package/input/src/option-checkbox/all-option-checkbox.component.d.ts +0 -18
  91. package/input/src/option-checkbox/node-pool.d.ts +0 -23
  92. package/input/src/option-checkbox/option-checkbox-group.component.d.ts +0 -25
  93. package/input/src/option-checkbox/option-checkbox.component.d.ts +0 -23
  94. package/input/src/option-checkbox/option-checkbox.service.d.ts +0 -16
  95. package/input/src/option-checkbox/option-node.d.ts +0 -13
  96. package/input/src/select-autocomplete/select-autocomplete.component.d.ts +0 -15
  97. package/input/src/select-chips/select-chips.component.d.ts +0 -12
  98. package/input/src/select-many-checkbox/select-many-checkbox.component.d.ts +0 -12
  99. package/input/src/select-option/delegate-option-provider.directive.d.ts +0 -13
  100. package/input/src/select-option/select-option-provider.d.ts +0 -10
  101. package/input/src/select-option/select-option.component.d.ts +0 -10
  102. package/input/src/select-option/select-option.d.ts +0 -4
  103. package/input/src/select-radio/select-radio.component.d.ts +0 -9
  104. package/loader/index.d.ts +0 -2
  105. package/loader/src/loader.component.d.ts +0 -25
  106. package/loader/src/loader.service.d.ts +0 -20
  107. package/misc/index.d.ts +0 -12
  108. package/misc/src/cnpj/cnpj.directive.d.ts +0 -12
  109. package/misc/src/cnpj/cnpjs.pipe.d.ts +0 -7
  110. package/misc/src/cpf/cpf.directive.d.ts +0 -12
  111. package/misc/src/cpf/cpf.pipe.d.ts +0 -7
  112. package/misc/src/cpf-cnpj/cpf-cnpj.directive.d.ts +0 -12
  113. package/misc/src/cpf-cnpj/cpf-cnpj.pipe.d.ts +0 -7
  114. package/misc/src/mask/mask.pipe.d.ts +0 -8
  115. package/misc/src/monetario/monetario-mask.d.ts +0 -1
  116. package/misc/src/monetario/monetario.pipe.d.ts +0 -7
  117. package/misc/src/porcentagem/porcentagem-mask.d.ts +0 -1
  118. package/misc/src/porcentagem/porcentagem.pipe.d.ts +0 -7
  119. package/misc/src/telefone/telefone.pipe.d.ts +0 -7
  120. package/misc/src/unsafe-inner-html/unsafe-inner-html.directive.d.ts +0 -10
  121. package/pipe/index.d.ts +0 -1
  122. package/pipe/src/nome-resumido.pipe.d.ts +0 -7
  123. package/public-api.d.ts +0 -2
  124. package/table/index.d.ts +0 -10
  125. package/table/src/column/column-cell.directive.d.ts +0 -8
  126. package/table/src/column/column-footer.directive.d.ts +0 -8
  127. package/table/src/column/column-header.directive.d.ts +0 -8
  128. package/table/src/column/column.directive.d.ts +0 -16
  129. package/table/src/numeric-paginator/numeric-paginator.component.d.ts +0 -26
  130. package/table/src/paginated-table/paginated-table.component.d.ts +0 -58
  131. package/table/src/paginator-i18n.d.ts +0 -8
  132. package/table/src/table/table.component.d.ts +0 -41
  133. package/table/src/td/td.component.d.ts +0 -8
  134. package/table/src/th/th.component.d.ts +0 -8
  135. package/table/src/undefined-paginator/undefined-paginator.component.d.ts +0 -25
  136. package/table/src/virtual-paginated-table/virtual-paginated-table.component.d.ts +0 -28
@@ -1,363 +1,517 @@
1
- import * as i0 from '@angular/core';
2
- import { Directive, Pipe, Input, Self } from '@angular/core';
3
- import { NG_VALIDATORS } from '@angular/forms';
4
- import * as i1 from '@main-class/componentes/core';
5
-
6
- class CnpjDirective {
7
- modulo11Service;
8
- constructor(modulo11Service) {
9
- this.modulo11Service = modulo11Service;
10
- }
11
- validate(control) {
12
- if (control.value) {
13
- const unmasked = control.value.replace(/[^0-9a-zA-Z]+/g, '');
14
- if (unmasked.length !== 14 || !this.modulo11Service.isValidCgc(unmasked)) {
15
- return { cnpj: true };
16
- }
17
- }
18
- return null;
19
- }
20
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: CnpjDirective, deps: [{ token: i1.ValidaModulo11Service }], target: i0.ɵɵFactoryTarget.Directive });
21
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: CnpjDirective, isStandalone: true, selector: "[mclCnpj],[mclModel][cnpj]", providers: [{
22
- provide: NG_VALIDATORS,
23
- useExisting: CnpjDirective,
24
- multi: true
25
- }], ngImport: i0 });
26
- }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: CnpjDirective, decorators: [{
28
- type: Directive,
29
- args: [{
30
- selector: '[mclCnpj],[mclModel][cnpj]',
31
- providers: [{
32
- provide: NG_VALIDATORS,
33
- useExisting: CnpjDirective,
34
- multi: true
35
- }]
36
- }]
37
- }], ctorParameters: () => [{ type: i1.ValidaModulo11Service }] });
38
-
1
+ import * as i0 from "@angular/core";
2
+ import { Directive, ElementRef, Input, Pipe, Sanitizer, Self } from "@angular/core";
3
+ import { NG_VALIDATORS } from "@angular/forms";
4
+ import { ValidaModulo11Service } from "@main-class/componentes/core";
5
+ var CnpjDirective = class CnpjDirective {
6
+ modulo11Service;
7
+ constructor(modulo11Service) {
8
+ this.modulo11Service = modulo11Service;
9
+ }
10
+ validate(control) {
11
+ if (control.value) {
12
+ const unmasked = control.value.replace(/[^0-9a-zA-Z]+/g, "");
13
+ if (unmasked.length !== 14 || !this.modulo11Service.isValidCgc(unmasked)) return { cnpj: true };
14
+ }
15
+ return null;
16
+ }
17
+ static ɵfac = i0.ɵɵngDeclareFactory({
18
+ minVersion: "12.0.0",
19
+ version: "22.3.2",
20
+ ngImport: i0,
21
+ type: CnpjDirective,
22
+ deps: [{ token: ValidaModulo11Service }],
23
+ target: i0.ɵɵFactoryTarget.Directive
24
+ });
25
+ static ɵdir = i0.ɵɵngDeclareDirective({
26
+ minVersion: "14.0.0",
27
+ version: "22.3.2",
28
+ type: CnpjDirective,
29
+ isStandalone: true,
30
+ selector: "[mclCnpj],[mclModel][cnpj]",
31
+ providers: [{
32
+ provide: NG_VALIDATORS,
33
+ useExisting: CnpjDirective,
34
+ multi: true
35
+ }],
36
+ ngImport: i0
37
+ });
38
+ };
39
+ i0.ɵɵngDeclareClassMetadata({
40
+ minVersion: "12.0.0",
41
+ version: "22.3.2",
42
+ ngImport: i0,
43
+ type: CnpjDirective,
44
+ decorators: [{
45
+ type: Directive,
46
+ args: [{
47
+ selector: "[mclCnpj],[mclModel][cnpj]",
48
+ providers: [{
49
+ provide: NG_VALIDATORS,
50
+ useExisting: CnpjDirective,
51
+ multi: true
52
+ }]
53
+ }]
54
+ }],
55
+ ctorParameters: () => [{ type: ValidaModulo11Service }]
56
+ });
39
57
  function doApplyMask(val, mask) {
40
- let valorFormatado = '';
41
- if (val !== null && val !== undefined && val.length) {
42
- if (mask) {
43
- for (let idx = 0; idx < val.length && mask.length > valorFormatado.length;) {
44
- const maskChar = mask.charAt(valorFormatado.length);
45
- if (maskChar === '#' || maskChar === 'A') {
46
- const valChar = val.charAt(idx);
47
- const isNum = valChar.match(/\d/);
48
- const isAlpha = valChar.match(/[a-zA-Z]/);
49
- const isWildcard = valChar === '*';
50
- if (maskChar === '#' && (isNum || isWildcard)) {
51
- valorFormatado += valChar;
52
- }
53
- else if (maskChar === 'A' && (isNum || isAlpha || isWildcard)) {
54
- valorFormatado += valChar;
55
- }
56
- idx++;
57
- }
58
- else {
59
- valorFormatado += mask.charAt(valorFormatado.length);
60
- }
61
- }
62
- }
63
- else {
64
- valorFormatado = val;
65
- }
66
- }
67
- return valorFormatado;
68
- }
69
- class MaskPipe {
70
- transform(value, mask) {
71
- if (!!value) {
72
- return doApplyMask(value, mask);
73
- }
74
- return undefined;
75
- }
76
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: MaskPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
77
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.9", ngImport: i0, type: MaskPipe, isStandalone: true, name: "mask" });
78
- }
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: MaskPipe, decorators: [{
80
- type: Pipe,
81
- args: [{
82
- name: 'mask'
83
- }]
84
- }] });
85
-
86
- class CnpjsPipe {
87
- transform(value) {
88
- if (value) {
89
- return doApplyMask(value, 'AA.AAA.AAA/AAAA-##');
90
- }
91
- }
92
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: CnpjsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
93
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.9", ngImport: i0, type: CnpjsPipe, isStandalone: true, name: "cnpj" });
94
- }
95
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: CnpjsPipe, decorators: [{
96
- type: Pipe,
97
- args: [{
98
- name: 'cnpj'
99
- }]
100
- }] });
101
-
102
- class CpfDirective {
103
- modulo11Service;
104
- constructor(modulo11Service) {
105
- this.modulo11Service = modulo11Service;
106
- }
107
- validate(control) {
108
- if (control.value) {
109
- const unmasked = control.value.replace(/\D+/g, '');
110
- if (unmasked.length !== 11 || !this.modulo11Service.isValidCpf(unmasked)) {
111
- return { cpf: true };
112
- }
113
- }
114
- return null;
115
- }
116
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: CpfDirective, deps: [{ token: i1.ValidaModulo11Service }], target: i0.ɵɵFactoryTarget.Directive });
117
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: CpfDirective, isStandalone: true, selector: "[mclCpf],[mclModel][cpf]", providers: [{
118
- provide: NG_VALIDATORS,
119
- useExisting: CpfDirective,
120
- multi: true
121
- }], ngImport: i0 });
58
+ let valorFormatado = "";
59
+ if (val !== null && val !== void 0 && val.length) {
60
+ if (mask) for (let idx = 0; idx < val.length && mask.length > valorFormatado.length;) {
61
+ const maskChar = mask.charAt(valorFormatado.length);
62
+ if (maskChar === "#" || maskChar === "A") {
63
+ const valChar = val.charAt(idx);
64
+ const isNum = valChar.match(/\d/);
65
+ const isAlpha = valChar.match(/[a-zA-Z]/);
66
+ const isWildcard = valChar === "*";
67
+ if (maskChar === "#" && (isNum || isWildcard)) valorFormatado += valChar;
68
+ else if (maskChar === "A" && (isNum || isAlpha || isWildcard)) valorFormatado += valChar;
69
+ idx++;
70
+ } else valorFormatado += mask.charAt(valorFormatado.length);
71
+ }
72
+ else valorFormatado = val;
73
+ }
74
+ return valorFormatado;
122
75
  }
123
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: CpfDirective, decorators: [{
124
- type: Directive,
125
- args: [{
126
- selector: '[mclCpf],[mclModel][cpf]',
127
- providers: [{
128
- provide: NG_VALIDATORS,
129
- useExisting: CpfDirective,
130
- multi: true
131
- }]
132
- }]
133
- }], ctorParameters: () => [{ type: i1.ValidaModulo11Service }] });
134
-
135
- class CpfPipe {
136
- transform(value) {
137
- if (value) {
138
- return doApplyMask(value, '###.###.###-##');
139
- }
140
- }
141
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: CpfPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
142
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.9", ngImport: i0, type: CpfPipe, isStandalone: true, name: "cpf" });
143
- }
144
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: CpfPipe, decorators: [{
145
- type: Pipe,
146
- args: [{
147
- name: 'cpf'
148
- }]
149
- }] });
150
-
151
- class CpfCnpjDirective {
152
- modulo11Service;
153
- constructor(modulo11Service) {
154
- this.modulo11Service = modulo11Service;
155
- }
156
- validate(control) {
157
- if (control.value) {
158
- const unmasked = control.value.replace(/[^0-9a-zA-Z]+/g, '');
159
- const unmaskedOnlyDigits = control.value.replace(/\D+/g, '');
160
- const isValidCpf = unmaskedOnlyDigits.length === 11 && this.modulo11Service.isValidCpf(unmaskedOnlyDigits);
161
- const isValidCnpj = unmasked.length === 14 && this.modulo11Service.isValidCgc(unmasked);
162
- if (!isValidCpf && !isValidCnpj) {
163
- return { cpfCnpj: true };
164
- }
165
- }
166
- return null;
167
- }
168
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: CpfCnpjDirective, deps: [{ token: i1.ValidaModulo11Service }], target: i0.ɵɵFactoryTarget.Directive });
169
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: CpfCnpjDirective, isStandalone: true, selector: "[mclCpfCnpj],[mclModel][cpfCnpj]", providers: [{
170
- provide: NG_VALIDATORS,
171
- useExisting: CpfCnpjDirective,
172
- multi: true
173
- }], ngImport: i0 });
174
- }
175
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: CpfCnpjDirective, decorators: [{
176
- type: Directive,
177
- args: [{
178
- selector: '[mclCpfCnpj],[mclModel][cpfCnpj]',
179
- providers: [{
180
- provide: NG_VALIDATORS,
181
- useExisting: CpfCnpjDirective,
182
- multi: true
183
- }]
184
- }]
185
- }], ctorParameters: () => [{ type: i1.ValidaModulo11Service }] });
186
-
187
- class CpfCnpjPipe {
188
- transform(value) {
189
- if (value) {
190
- if (value.length > 11) {
191
- return doApplyMask(value, '##.###.###/####-##');
192
- }
193
- return doApplyMask(value, '###.###.###-##');
194
- }
195
- }
196
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: CpfCnpjPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
197
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.9", ngImport: i0, type: CpfCnpjPipe, isStandalone: true, name: "cpfCnpj" });
198
- }
199
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: CpfCnpjPipe, decorators: [{
200
- type: Pipe,
201
- args: [{
202
- name: 'cpfCnpj'
203
- }]
204
- }] });
205
-
206
- const monetarioMask = (value, prefixo = 'R$', milhar = '.', fracional = ',', mascara = '###.###.###.###.###,##') => {
207
- if (!value) {
208
- return undefined;
209
- }
210
- let maskedValue = '';
211
- let valorRestante = value.replace(/\D/g, '').replace(/^0+/, '');
212
- while (valorRestante.length < (mascara.length - mascara.indexOf(','))) {
213
- valorRestante = '0' + valorRestante;
214
- }
215
- for (let i = mascara.length - 1; i >= 0 && valorRestante.length; i--) {
216
- if (mascara[i] === '.') {
217
- maskedValue = milhar + maskedValue;
218
- continue;
219
- }
220
- else if (mascara[i] === ',') {
221
- maskedValue = fracional + maskedValue;
222
- continue;
223
- }
224
- const ultimoRemovido = removerUltimo$1(valorRestante);
225
- valorRestante = ultimoRemovido.restante;
226
- maskedValue = ultimoRemovido.ultimo + maskedValue;
227
- }
228
- return prefixo + maskedValue;
76
+ var MaskPipe = class MaskPipe {
77
+ transform(value, mask) {
78
+ if (!!value) return doApplyMask(value, mask);
79
+ }
80
+ static ɵfac = i0.ɵɵngDeclareFactory({
81
+ minVersion: "12.0.0",
82
+ version: "22.3.2",
83
+ ngImport: i0,
84
+ type: MaskPipe,
85
+ deps: [],
86
+ target: i0.ɵɵFactoryTarget.Pipe
87
+ });
88
+ static ɵpipe = i0.ɵɵngDeclarePipe({
89
+ minVersion: "14.0.0",
90
+ version: "22.3.2",
91
+ ngImport: i0,
92
+ type: MaskPipe,
93
+ isStandalone: true,
94
+ name: "mask"
95
+ });
96
+ };
97
+ i0.ɵɵngDeclareClassMetadata({
98
+ minVersion: "12.0.0",
99
+ version: "22.3.2",
100
+ ngImport: i0,
101
+ type: MaskPipe,
102
+ decorators: [{
103
+ type: Pipe,
104
+ args: [{ name: "mask" }]
105
+ }]
106
+ });
107
+ var CnpjsPipe = class CnpjsPipe {
108
+ transform(value) {
109
+ if (value) return doApplyMask(value, "AA.AAA.AAA/AAAA-##");
110
+ }
111
+ static ɵfac = i0.ɵɵngDeclareFactory({
112
+ minVersion: "12.0.0",
113
+ version: "22.3.2",
114
+ ngImport: i0,
115
+ type: CnpjsPipe,
116
+ deps: [],
117
+ target: i0.ɵɵFactoryTarget.Pipe
118
+ });
119
+ static ɵpipe = i0.ɵɵngDeclarePipe({
120
+ minVersion: "14.0.0",
121
+ version: "22.3.2",
122
+ ngImport: i0,
123
+ type: CnpjsPipe,
124
+ isStandalone: true,
125
+ name: "cnpj"
126
+ });
127
+ };
128
+ i0.ɵɵngDeclareClassMetadata({
129
+ minVersion: "12.0.0",
130
+ version: "22.3.2",
131
+ ngImport: i0,
132
+ type: CnpjsPipe,
133
+ decorators: [{
134
+ type: Pipe,
135
+ args: [{ name: "cnpj" }]
136
+ }]
137
+ });
138
+ var CpfDirective = class CpfDirective {
139
+ modulo11Service;
140
+ constructor(modulo11Service) {
141
+ this.modulo11Service = modulo11Service;
142
+ }
143
+ validate(control) {
144
+ if (control.value) {
145
+ const unmasked = control.value.replace(/\D+/g, "");
146
+ if (unmasked.length !== 11 || !this.modulo11Service.isValidCpf(unmasked)) return { cpf: true };
147
+ }
148
+ return null;
149
+ }
150
+ static ɵfac = i0.ɵɵngDeclareFactory({
151
+ minVersion: "12.0.0",
152
+ version: "22.3.2",
153
+ ngImport: i0,
154
+ type: CpfDirective,
155
+ deps: [{ token: ValidaModulo11Service }],
156
+ target: i0.ɵɵFactoryTarget.Directive
157
+ });
158
+ static ɵdir = i0.ɵɵngDeclareDirective({
159
+ minVersion: "14.0.0",
160
+ version: "22.3.2",
161
+ type: CpfDirective,
162
+ isStandalone: true,
163
+ selector: "[mclCpf],[mclModel][cpf]",
164
+ providers: [{
165
+ provide: NG_VALIDATORS,
166
+ useExisting: CpfDirective,
167
+ multi: true
168
+ }],
169
+ ngImport: i0
170
+ });
171
+ };
172
+ i0.ɵɵngDeclareClassMetadata({
173
+ minVersion: "12.0.0",
174
+ version: "22.3.2",
175
+ ngImport: i0,
176
+ type: CpfDirective,
177
+ decorators: [{
178
+ type: Directive,
179
+ args: [{
180
+ selector: "[mclCpf],[mclModel][cpf]",
181
+ providers: [{
182
+ provide: NG_VALIDATORS,
183
+ useExisting: CpfDirective,
184
+ multi: true
185
+ }]
186
+ }]
187
+ }],
188
+ ctorParameters: () => [{ type: ValidaModulo11Service }]
189
+ });
190
+ var CpfPipe = class CpfPipe {
191
+ transform(value) {
192
+ if (value) return doApplyMask(value, "###.###.###-##");
193
+ }
194
+ static ɵfac = i0.ɵɵngDeclareFactory({
195
+ minVersion: "12.0.0",
196
+ version: "22.3.2",
197
+ ngImport: i0,
198
+ type: CpfPipe,
199
+ deps: [],
200
+ target: i0.ɵɵFactoryTarget.Pipe
201
+ });
202
+ static ɵpipe = i0.ɵɵngDeclarePipe({
203
+ minVersion: "14.0.0",
204
+ version: "22.3.2",
205
+ ngImport: i0,
206
+ type: CpfPipe,
207
+ isStandalone: true,
208
+ name: "cpf"
209
+ });
210
+ };
211
+ i0.ɵɵngDeclareClassMetadata({
212
+ minVersion: "12.0.0",
213
+ version: "22.3.2",
214
+ ngImport: i0,
215
+ type: CpfPipe,
216
+ decorators: [{
217
+ type: Pipe,
218
+ args: [{ name: "cpf" }]
219
+ }]
220
+ });
221
+ var CpfCnpjDirective = class CpfCnpjDirective {
222
+ modulo11Service;
223
+ constructor(modulo11Service) {
224
+ this.modulo11Service = modulo11Service;
225
+ }
226
+ validate(control) {
227
+ if (control.value) {
228
+ const unmasked = control.value.replace(/[^0-9a-zA-Z]+/g, "");
229
+ const unmaskedOnlyDigits = control.value.replace(/\D+/g, "");
230
+ const isValidCpf = unmaskedOnlyDigits.length === 11 && this.modulo11Service.isValidCpf(unmaskedOnlyDigits);
231
+ const isValidCnpj = unmasked.length === 14 && this.modulo11Service.isValidCgc(unmasked);
232
+ if (!isValidCpf && !isValidCnpj) return { cpfCnpj: true };
233
+ }
234
+ return null;
235
+ }
236
+ static ɵfac = i0.ɵɵngDeclareFactory({
237
+ minVersion: "12.0.0",
238
+ version: "22.3.2",
239
+ ngImport: i0,
240
+ type: CpfCnpjDirective,
241
+ deps: [{ token: ValidaModulo11Service }],
242
+ target: i0.ɵɵFactoryTarget.Directive
243
+ });
244
+ static ɵdir = i0.ɵɵngDeclareDirective({
245
+ minVersion: "14.0.0",
246
+ version: "22.3.2",
247
+ type: CpfCnpjDirective,
248
+ isStandalone: true,
249
+ selector: "[mclCpfCnpj],[mclModel][cpfCnpj]",
250
+ providers: [{
251
+ provide: NG_VALIDATORS,
252
+ useExisting: CpfCnpjDirective,
253
+ multi: true
254
+ }],
255
+ ngImport: i0
256
+ });
257
+ };
258
+ i0.ɵɵngDeclareClassMetadata({
259
+ minVersion: "12.0.0",
260
+ version: "22.3.2",
261
+ ngImport: i0,
262
+ type: CpfCnpjDirective,
263
+ decorators: [{
264
+ type: Directive,
265
+ args: [{
266
+ selector: "[mclCpfCnpj],[mclModel][cpfCnpj]",
267
+ providers: [{
268
+ provide: NG_VALIDATORS,
269
+ useExisting: CpfCnpjDirective,
270
+ multi: true
271
+ }]
272
+ }]
273
+ }],
274
+ ctorParameters: () => [{ type: ValidaModulo11Service }]
275
+ });
276
+ var CpfCnpjPipe = class CpfCnpjPipe {
277
+ transform(value) {
278
+ if (value) {
279
+ if (value.length > 11) return doApplyMask(value, "##.###.###/####-##");
280
+ return doApplyMask(value, "###.###.###-##");
281
+ }
282
+ }
283
+ static ɵfac = i0.ɵɵngDeclareFactory({
284
+ minVersion: "12.0.0",
285
+ version: "22.3.2",
286
+ ngImport: i0,
287
+ type: CpfCnpjPipe,
288
+ deps: [],
289
+ target: i0.ɵɵFactoryTarget.Pipe
290
+ });
291
+ static ɵpipe = i0.ɵɵngDeclarePipe({
292
+ minVersion: "14.0.0",
293
+ version: "22.3.2",
294
+ ngImport: i0,
295
+ type: CpfCnpjPipe,
296
+ isStandalone: true,
297
+ name: "cpfCnpj"
298
+ });
299
+ };
300
+ i0.ɵɵngDeclareClassMetadata({
301
+ minVersion: "12.0.0",
302
+ version: "22.3.2",
303
+ ngImport: i0,
304
+ type: CpfCnpjPipe,
305
+ decorators: [{
306
+ type: Pipe,
307
+ args: [{ name: "cpfCnpj" }]
308
+ }]
309
+ });
310
+ const monetarioMask = (value, prefixo = "R$", milhar = ".", fracional = ",", mascara = "###.###.###.###.###,##") => {
311
+ if (!value) return;
312
+ let maskedValue = "";
313
+ let valorRestante = value.replace(/\D/g, "").replace(/^0+/, "");
314
+ while (valorRestante.length < mascara.length - mascara.indexOf(",")) valorRestante = "0" + valorRestante;
315
+ for (let i = mascara.length - 1; i >= 0 && valorRestante.length; i--) {
316
+ if (mascara[i] === ".") {
317
+ maskedValue = milhar + maskedValue;
318
+ continue;
319
+ } else if (mascara[i] === ",") {
320
+ maskedValue = fracional + maskedValue;
321
+ continue;
322
+ }
323
+ const ultimoRemovido = removerUltimo$1(valorRestante);
324
+ valorRestante = ultimoRemovido.restante;
325
+ maskedValue = ultimoRemovido.ultimo + maskedValue;
326
+ }
327
+ return prefixo + maskedValue;
229
328
  };
230
329
  const removerUltimo$1 = (value) => {
231
- const tamanho = value.length;
232
- return {
233
- ultimo: value.charAt(tamanho - 1),
234
- restante: value.substring(0, tamanho - 1)
235
- };
330
+ const tamanho = value.length;
331
+ return {
332
+ ultimo: value.charAt(tamanho - 1),
333
+ restante: value.substring(0, tamanho - 1)
334
+ };
236
335
  };
237
-
238
- class MonetarioPipe {
239
- transform(value, symbol = 'R$', thousandDivider = '.', fractionalDivider = ',', mascara = '###.###.###.###.###,##') {
240
- return monetarioMask(value, symbol, thousandDivider, fractionalDivider, mascara);
241
- }
242
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: MonetarioPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
243
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.9", ngImport: i0, type: MonetarioPipe, isStandalone: true, name: "mclMonetario" });
244
- }
245
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: MonetarioPipe, decorators: [{
246
- type: Pipe,
247
- args: [{
248
- name: 'mclMonetario'
249
- }]
250
- }] });
251
-
252
- const porcentagemMask = (value, sufixo = '%', milhar = '.', fracional = ',', mascara = '###.###.###.###.###,##') => {
253
- if (!value) {
254
- return undefined;
255
- }
256
- let maskedValue = '';
257
- let valorRestante = value.replace(/\D/g, '').replace(/^0+/, '');
258
- while (valorRestante.length < 3) {
259
- valorRestante = '0' + valorRestante;
260
- }
261
- for (let i = mascara.length - 1; i >= 0 && valorRestante.length; i--) {
262
- if (mascara[i] === '.') {
263
- maskedValue = milhar + maskedValue;
264
- continue;
265
- }
266
- else if (mascara[i] === ',') {
267
- maskedValue = fracional + maskedValue;
268
- continue;
269
- }
270
- const ultimoRemovido = removerUltimo(valorRestante);
271
- valorRestante = ultimoRemovido.restante;
272
- maskedValue = ultimoRemovido.ultimo + maskedValue;
273
- }
274
- return maskedValue + sufixo;
336
+ var MonetarioPipe = class MonetarioPipe {
337
+ transform(value, symbol = "R$", thousandDivider = ".", fractionalDivider = ",", mascara = "###.###.###.###.###,##") {
338
+ return monetarioMask(value, symbol, thousandDivider, fractionalDivider, mascara);
339
+ }
340
+ static ɵfac = i0.ɵɵngDeclareFactory({
341
+ minVersion: "12.0.0",
342
+ version: "22.3.2",
343
+ ngImport: i0,
344
+ type: MonetarioPipe,
345
+ deps: [],
346
+ target: i0.ɵɵFactoryTarget.Pipe
347
+ });
348
+ static ɵpipe = i0.ɵɵngDeclarePipe({
349
+ minVersion: "14.0.0",
350
+ version: "22.3.2",
351
+ ngImport: i0,
352
+ type: MonetarioPipe,
353
+ isStandalone: true,
354
+ name: "mclMonetario"
355
+ });
356
+ };
357
+ i0.ɵɵngDeclareClassMetadata({
358
+ minVersion: "12.0.0",
359
+ version: "22.3.2",
360
+ ngImport: i0,
361
+ type: MonetarioPipe,
362
+ decorators: [{
363
+ type: Pipe,
364
+ args: [{ name: "mclMonetario" }]
365
+ }]
366
+ });
367
+ const porcentagemMask = (value, sufixo = "%", milhar = ".", fracional = ",", mascara = "###.###.###.###.###,##") => {
368
+ if (!value) return;
369
+ let maskedValue = "";
370
+ let valorRestante = value.replace(/\D/g, "").replace(/^0+/, "");
371
+ while (valorRestante.length < 3) valorRestante = "0" + valorRestante;
372
+ for (let i = mascara.length - 1; i >= 0 && valorRestante.length; i--) {
373
+ if (mascara[i] === ".") {
374
+ maskedValue = milhar + maskedValue;
375
+ continue;
376
+ } else if (mascara[i] === ",") {
377
+ maskedValue = fracional + maskedValue;
378
+ continue;
379
+ }
380
+ const ultimoRemovido = removerUltimo(valorRestante);
381
+ valorRestante = ultimoRemovido.restante;
382
+ maskedValue = ultimoRemovido.ultimo + maskedValue;
383
+ }
384
+ return maskedValue + sufixo;
275
385
  };
276
386
  const removerUltimo = (value) => {
277
- const tamanho = value.length;
278
- return {
279
- ultimo: value.charAt(tamanho - 1),
280
- restante: value.substring(0, tamanho - 1)
281
- };
387
+ const tamanho = value.length;
388
+ return {
389
+ ultimo: value.charAt(tamanho - 1),
390
+ restante: value.substring(0, tamanho - 1)
391
+ };
282
392
  };
393
+ var PorcentagemPipe = class PorcentagemPipe {
394
+ transform(value, symbol = "%", thousandDivider = ".", fractionalDivider = ",", mascara = "###.###.###.###.###,##") {
395
+ return porcentagemMask(value, symbol, thousandDivider, fractionalDivider, mascara);
396
+ }
397
+ static ɵfac = i0.ɵɵngDeclareFactory({
398
+ minVersion: "12.0.0",
399
+ version: "22.3.2",
400
+ ngImport: i0,
401
+ type: PorcentagemPipe,
402
+ deps: [],
403
+ target: i0.ɵɵFactoryTarget.Pipe
404
+ });
405
+ static ɵpipe = i0.ɵɵngDeclarePipe({
406
+ minVersion: "14.0.0",
407
+ version: "22.3.2",
408
+ ngImport: i0,
409
+ type: PorcentagemPipe,
410
+ isStandalone: true,
411
+ name: "mclPorcentagem"
412
+ });
413
+ };
414
+ i0.ɵɵngDeclareClassMetadata({
415
+ minVersion: "12.0.0",
416
+ version: "22.3.2",
417
+ ngImport: i0,
418
+ type: PorcentagemPipe,
419
+ decorators: [{
420
+ type: Pipe,
421
+ args: [{ name: "mclPorcentagem" }]
422
+ }]
423
+ });
424
+ var TelefonePipe = class TelefonePipe {
425
+ transform(value, ...args) {
426
+ if (!value) return "-";
427
+ value = value.replace(/\D/g, "");
428
+ if (!value || value.length > 11 || value === "0") return "-";
429
+ switch (value.length) {
430
+ case 11: return "(" + value.substring(0, 2) + ") " + value.substring(2, 7) + "-" + value.substring(7);
431
+ case 10: return "(" + value.substring(0, 2) + ") " + value.substring(2, 6) + "-" + value.substring(6);
432
+ case 9: return value.substring(0, 5) + "-" + value.substring(5);
433
+ case 8: return value.substring(0, 4) + "-" + value.substring(4);
434
+ case 2:
435
+ case 3: return "(" + value + ")";
436
+ default: return value;
437
+ }
438
+ }
439
+ static ɵfac = i0.ɵɵngDeclareFactory({
440
+ minVersion: "12.0.0",
441
+ version: "22.3.2",
442
+ ngImport: i0,
443
+ type: TelefonePipe,
444
+ deps: [],
445
+ target: i0.ɵɵFactoryTarget.Pipe
446
+ });
447
+ static ɵpipe = i0.ɵɵngDeclarePipe({
448
+ minVersion: "14.0.0",
449
+ version: "22.3.2",
450
+ ngImport: i0,
451
+ type: TelefonePipe,
452
+ isStandalone: true,
453
+ name: "telefone"
454
+ });
455
+ };
456
+ i0.ɵɵngDeclareClassMetadata({
457
+ minVersion: "12.0.0",
458
+ version: "22.3.2",
459
+ ngImport: i0,
460
+ type: TelefonePipe,
461
+ decorators: [{
462
+ type: Pipe,
463
+ args: [{ name: "telefone" }]
464
+ }]
465
+ });
466
+ var UnsafeInnerHtmlDirective = class UnsafeInnerHtmlDirective {
467
+ sanitizer;
468
+ element;
469
+ constructor(sanitizer, element) {
470
+ this.sanitizer = sanitizer;
471
+ this.element = element;
472
+ }
473
+ set unsafeInnerHtml(value) {
474
+ this.element.nativeElement.innerHTML = value || "";
475
+ }
476
+ static ɵfac = i0.ɵɵngDeclareFactory({
477
+ minVersion: "12.0.0",
478
+ version: "22.3.2",
479
+ ngImport: i0,
480
+ type: UnsafeInnerHtmlDirective,
481
+ deps: [{ token: Sanitizer }, {
482
+ token: ElementRef,
483
+ self: true
484
+ }],
485
+ target: i0.ɵɵFactoryTarget.Directive
486
+ });
487
+ static ɵdir = i0.ɵɵngDeclareDirective({
488
+ minVersion: "14.0.0",
489
+ version: "22.3.2",
490
+ type: UnsafeInnerHtmlDirective,
491
+ isStandalone: true,
492
+ selector: "[mclUnsafeInnerHtml]",
493
+ inputs: { unsafeInnerHtml: ["mclUnsafeInnerHtml", "unsafeInnerHtml"] },
494
+ ngImport: i0
495
+ });
496
+ };
497
+ i0.ɵɵngDeclareClassMetadata({
498
+ minVersion: "12.0.0",
499
+ version: "22.3.2",
500
+ ngImport: i0,
501
+ type: UnsafeInnerHtmlDirective,
502
+ decorators: [{
503
+ type: Directive,
504
+ args: [{ selector: "[mclUnsafeInnerHtml]" }]
505
+ }],
506
+ ctorParameters: () => [{ type: Sanitizer }, {
507
+ type: ElementRef,
508
+ decorators: [{ type: Self }]
509
+ }],
510
+ propDecorators: { unsafeInnerHtml: [{
511
+ type: Input,
512
+ args: ["mclUnsafeInnerHtml"]
513
+ }] }
514
+ });
515
+ export { CnpjDirective, CnpjsPipe, CpfCnpjDirective, CpfCnpjPipe, CpfDirective, CpfPipe, MaskPipe, MonetarioPipe, PorcentagemPipe, TelefonePipe, UnsafeInnerHtmlDirective, doApplyMask, monetarioMask, porcentagemMask };
283
516
 
284
- class PorcentagemPipe {
285
- transform(value, symbol = '%', thousandDivider = '.', fractionalDivider = ',', mascara = '###.###.###.###.###,##') {
286
- return porcentagemMask(value, symbol, thousandDivider, fractionalDivider, mascara);
287
- }
288
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: PorcentagemPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
289
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.9", ngImport: i0, type: PorcentagemPipe, isStandalone: true, name: "mclPorcentagem" });
290
- }
291
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: PorcentagemPipe, decorators: [{
292
- type: Pipe,
293
- args: [{
294
- name: 'mclPorcentagem'
295
- }]
296
- }] });
297
-
298
- class TelefonePipe {
299
- transform(value, ...args) {
300
- if (!value) {
301
- return '-';
302
- }
303
- value = value.replace(/\D/g, '');
304
- if (!value || value.length > 11 || value === '0') {
305
- return '-';
306
- }
307
- switch (value.length) {
308
- case 11:
309
- return '(' + value.substring(0, 2) + ') ' + value.substring(2, 7) + '-' + value.substring(7);
310
- case 10:
311
- return '(' + value.substring(0, 2) + ') ' + value.substring(2, 6) + '-' + value.substring(6);
312
- case 9:
313
- return value.substring(0, 5) + '-' + value.substring(5);
314
- case 8:
315
- return value.substring(0, 4) + '-' + value.substring(4);
316
- case 2:
317
- case 3:
318
- return '(' + value + ')';
319
- default:
320
- return value;
321
- }
322
- }
323
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TelefonePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
324
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.9", ngImport: i0, type: TelefonePipe, isStandalone: true, name: "telefone" });
325
- }
326
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TelefonePipe, decorators: [{
327
- type: Pipe,
328
- args: [{
329
- name: 'telefone'
330
- }]
331
- }] });
332
-
333
- class UnsafeInnerHtmlDirective {
334
- sanitizer;
335
- element;
336
- constructor(sanitizer, element) {
337
- this.sanitizer = sanitizer;
338
- this.element = element;
339
- }
340
- set unsafeInnerHtml(value) {
341
- this.element.nativeElement.innerHTML = value || '';
342
- }
343
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: UnsafeInnerHtmlDirective, deps: [{ token: i0.Sanitizer }, { token: i0.ElementRef, self: true }], target: i0.ɵɵFactoryTarget.Directive });
344
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: UnsafeInnerHtmlDirective, isStandalone: true, selector: "[mclUnsafeInnerHtml]", inputs: { unsafeInnerHtml: ["mclUnsafeInnerHtml", "unsafeInnerHtml"] }, ngImport: i0 });
345
- }
346
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: UnsafeInnerHtmlDirective, decorators: [{
347
- type: Directive,
348
- args: [{
349
- selector: '[mclUnsafeInnerHtml]'
350
- }]
351
- }], ctorParameters: () => [{ type: i0.Sanitizer }, { type: i0.ElementRef, decorators: [{
352
- type: Self
353
- }] }], propDecorators: { unsafeInnerHtml: [{
354
- type: Input,
355
- args: ['mclUnsafeInnerHtml']
356
- }] } });
357
-
358
- /**
359
- * Generated bundle index. Do not edit.
360
- */
361
-
362
- export { CnpjDirective, CnpjsPipe, CpfCnpjDirective, CpfCnpjPipe, CpfDirective, CpfPipe, MaskPipe, MonetarioPipe, PorcentagemPipe, TelefonePipe, UnsafeInnerHtmlDirective, doApplyMask, monetarioMask };
363
- //# sourceMappingURL=main-class-componentes-misc.mjs.map
517
+ //# sourceMappingURL=main-class-componentes-misc.mjs.map