pjc-fields 0.0.45 → 0.0.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/pjc-fields.mjs +63 -23
- package/fesm2022/pjc-fields.mjs.map +1 -1
- package/package.json +1 -1
- package/types/pjc-fields.d.ts +18 -4
package/package.json
CHANGED
package/types/pjc-fields.d.ts
CHANGED
|
@@ -167,7 +167,9 @@ declare class PjcCnpjFieldComponent implements ControlValueAccessor, Validator,
|
|
|
167
167
|
id: _angular_core.InputSignal<string>;
|
|
168
168
|
labelVariant: _angular_core.InputSignal<"over" | "in" | "on">;
|
|
169
169
|
readonly: _angular_core.InputSignal<boolean>;
|
|
170
|
+
showSearchButton: _angular_core.InputSignal<boolean>;
|
|
170
171
|
erros: _angular_core.InputSignal<Record<string, string>>;
|
|
172
|
+
busca: _angular_core.OutputEmitterRef<string>;
|
|
171
173
|
private readonly injector;
|
|
172
174
|
private readonly cdr;
|
|
173
175
|
private readonly destroyRef;
|
|
@@ -185,9 +187,10 @@ declare class PjcCnpjFieldComponent implements ControlValueAccessor, Validator,
|
|
|
185
187
|
setDisabledState(isDisabled: boolean): void;
|
|
186
188
|
onModelChange(value: string): void;
|
|
187
189
|
onModelTouched(): void;
|
|
190
|
+
onSearch(): void;
|
|
188
191
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
189
192
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PjcCnpjFieldComponent, never>;
|
|
190
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PjcCnpjFieldComponent, "pjc-cnpj-field", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "labelVariant": { "alias": "labelVariant"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "erros": { "alias": "erros"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
193
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PjcCnpjFieldComponent, "pjc-cnpj-field", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "labelVariant": { "alias": "labelVariant"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "showSearchButton": { "alias": "showSearchButton"; "required": false; "isSignal": true; }; "erros": { "alias": "erros"; "required": false; "isSignal": true; }; }, { "busca": "busca"; }, never, ["*"], true, never>;
|
|
191
194
|
}
|
|
192
195
|
|
|
193
196
|
declare class PjcCpfCnpjFieldComponent implements ControlValueAccessor, Validator, OnInit {
|
|
@@ -195,7 +198,9 @@ declare class PjcCpfCnpjFieldComponent implements ControlValueAccessor, Validato
|
|
|
195
198
|
id: _angular_core.InputSignal<string>;
|
|
196
199
|
labelVariant: _angular_core.InputSignal<"over" | "in" | "on">;
|
|
197
200
|
readonly: _angular_core.InputSignal<boolean>;
|
|
201
|
+
showSearchButton: _angular_core.InputSignal<boolean>;
|
|
198
202
|
erros: _angular_core.InputSignal<Record<string, string>>;
|
|
203
|
+
busca: _angular_core.OutputEmitterRef<string>;
|
|
199
204
|
private readonly injector;
|
|
200
205
|
private readonly cdr;
|
|
201
206
|
private readonly destroyRef;
|
|
@@ -215,11 +220,12 @@ declare class PjcCpfCnpjFieldComponent implements ControlValueAccessor, Validato
|
|
|
215
220
|
setDisabledState(isDisabled: boolean): void;
|
|
216
221
|
onInputChange(event: Event): void;
|
|
217
222
|
onModelTouched(): void;
|
|
223
|
+
onSearch(): void;
|
|
218
224
|
private formatValue;
|
|
219
225
|
private updatePlaceholder;
|
|
220
226
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
221
227
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PjcCpfCnpjFieldComponent, never>;
|
|
222
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PjcCpfCnpjFieldComponent, "pjc-cpf-cnpj-field", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "labelVariant": { "alias": "labelVariant"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "erros": { "alias": "erros"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
228
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PjcCpfCnpjFieldComponent, "pjc-cpf-cnpj-field", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "labelVariant": { "alias": "labelVariant"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "showSearchButton": { "alias": "showSearchButton"; "required": false; "isSignal": true; }; "erros": { "alias": "erros"; "required": false; "isSignal": true; }; }, { "busca": "busca"; }, never, ["*"], true, never>;
|
|
223
229
|
}
|
|
224
230
|
|
|
225
231
|
declare class PjcCpfFieldComponent implements ControlValueAccessor, Validator, OnInit {
|
|
@@ -229,7 +235,9 @@ declare class PjcCpfFieldComponent implements ControlValueAccessor, Validator, O
|
|
|
229
235
|
id: _angular_core.InputSignal<string>;
|
|
230
236
|
labelVariant: _angular_core.InputSignal<"over" | "in" | "on">;
|
|
231
237
|
readonly: _angular_core.InputSignal<boolean>;
|
|
238
|
+
showSearchButton: _angular_core.InputSignal<boolean>;
|
|
232
239
|
erros: _angular_core.InputSignal<Record<string, string>>;
|
|
240
|
+
busca: _angular_core.OutputEmitterRef<string>;
|
|
233
241
|
private readonly injector;
|
|
234
242
|
private readonly cdr;
|
|
235
243
|
private readonly destroyRef;
|
|
@@ -247,9 +255,10 @@ declare class PjcCpfFieldComponent implements ControlValueAccessor, Validator, O
|
|
|
247
255
|
setDisabledState(isDisabled: boolean): void;
|
|
248
256
|
onModelChange(value: string): void;
|
|
249
257
|
onModelTouched(): void;
|
|
258
|
+
onSearch(): void;
|
|
250
259
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
251
260
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PjcCpfFieldComponent, never>;
|
|
252
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PjcCpfFieldComponent, "pjc-cpf-field", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "labelVariant": { "alias": "labelVariant"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "erros": { "alias": "erros"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
261
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PjcCpfFieldComponent, "pjc-cpf-field", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "labelVariant": { "alias": "labelVariant"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "showSearchButton": { "alias": "showSearchButton"; "required": false; "isSignal": true; }; "erros": { "alias": "erros"; "required": false; "isSignal": true; }; }, { "busca": "busca"; }, never, ["*"], true, never>;
|
|
253
262
|
}
|
|
254
263
|
|
|
255
264
|
declare class PjcDataFieldComponent implements ControlValueAccessor, Validator, AfterViewInit, OnDestroy, OnInit {
|
|
@@ -384,8 +393,10 @@ declare class PjcEnumFieldComponent implements ControlValueAccessor, OnInit {
|
|
|
384
393
|
private readonly injector;
|
|
385
394
|
private readonly cdr;
|
|
386
395
|
private readonly destroyRef;
|
|
396
|
+
private readonly filterService;
|
|
387
397
|
private ngControl;
|
|
388
398
|
private readonly service;
|
|
399
|
+
readonly accentContainsFilter = "pjc-accent-contains";
|
|
389
400
|
items: _angular_core.WritableSignal<PjcEnumItem[]>;
|
|
390
401
|
loading: _angular_core.WritableSignal<boolean>;
|
|
391
402
|
value: any;
|
|
@@ -754,12 +765,15 @@ declare class PjcUfFieldComponent implements ControlValueAccessor, OnInit {
|
|
|
754
765
|
id: _angular_core.InputSignal<string>;
|
|
755
766
|
labelVariant: _angular_core.InputSignal<"over" | "in" | "on">;
|
|
756
767
|
readonly: _angular_core.InputSignal<boolean>;
|
|
768
|
+
filter: _angular_core.InputSignal<boolean>;
|
|
757
769
|
erros: _angular_core.InputSignal<Record<string, string>>;
|
|
758
770
|
private readonly injector;
|
|
759
771
|
private readonly cdr;
|
|
760
772
|
private readonly destroyRef;
|
|
773
|
+
private readonly filterService;
|
|
761
774
|
private ngControl;
|
|
762
775
|
readonly estados: PjcUf[];
|
|
776
|
+
readonly accentContainsFilter = "pjc-accent-contains";
|
|
763
777
|
value: PjcUf | null;
|
|
764
778
|
disabled: boolean;
|
|
765
779
|
onChange: (value: PjcUf | null) => void;
|
|
@@ -774,7 +788,7 @@ declare class PjcUfFieldComponent implements ControlValueAccessor, OnInit {
|
|
|
774
788
|
onModelChange(value: PjcUf | null): void;
|
|
775
789
|
onModelTouched(): void;
|
|
776
790
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PjcUfFieldComponent, never>;
|
|
777
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PjcUfFieldComponent, "pjc-uf-field", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "labelVariant": { "alias": "labelVariant"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "erros": { "alias": "erros"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
791
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PjcUfFieldComponent, "pjc-uf-field", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "labelVariant": { "alias": "labelVariant"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "filter": { "alias": "filter"; "required": false; "isSignal": true; }; "erros": { "alias": "erros"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
778
792
|
}
|
|
779
793
|
|
|
780
794
|
declare class PjcUppercaseFieldComponent implements ControlValueAccessor, OnInit {
|