pjc-fields 0.0.59 → 0.0.61
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 +117 -102
- package/fesm2022/pjc-fields.mjs.map +1 -1
- package/package.json +1 -1
- package/types/pjc-fields.d.ts +47 -23
package/package.json
CHANGED
package/types/pjc-fields.d.ts
CHANGED
|
@@ -46,6 +46,7 @@ declare class PjcChassiFieldComponent implements ControlValueAccessor, Validator
|
|
|
46
46
|
labelVariant: _angular_core.InputSignal<"over" | "in" | "on">;
|
|
47
47
|
readonly: _angular_core.InputSignal<boolean>;
|
|
48
48
|
erros: _angular_core.InputSignal<Record<string, string>>;
|
|
49
|
+
hint: _angular_core.InputSignal<string>;
|
|
49
50
|
private readonly injector;
|
|
50
51
|
private readonly cdr;
|
|
51
52
|
private readonly destroyRef;
|
|
@@ -64,7 +65,7 @@ declare class PjcChassiFieldComponent implements ControlValueAccessor, Validator
|
|
|
64
65
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
65
66
|
onInput(event: Event): void;
|
|
66
67
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PjcChassiFieldComponent, never>;
|
|
67
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PjcChassiFieldComponent, "pjc-chassi-field", never, { "label": { "alias": "label"; "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>;
|
|
68
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PjcChassiFieldComponent, "pjc-chassi-field", never, { "label": { "alias": "label"; "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; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
68
69
|
}
|
|
69
70
|
|
|
70
71
|
declare class PjcChassiInputDirective {
|
|
@@ -101,10 +102,10 @@ declare class PjcCidadeFieldComponent implements ControlValueAccessor, OnInit {
|
|
|
101
102
|
disabled: boolean;
|
|
102
103
|
onChange: (value: PjcMunicipio | null) => void;
|
|
103
104
|
onTouched: () => void;
|
|
105
|
+
private readonly setupUfEffect;
|
|
104
106
|
ngOnInit(): void;
|
|
105
107
|
get invalid(): boolean;
|
|
106
108
|
get errorMessage(): string;
|
|
107
|
-
constructor();
|
|
108
109
|
writeValue(val: PjcMunicipio | string | null): void;
|
|
109
110
|
registerOnChange(fn: (value: PjcMunicipio | null) => void): void;
|
|
110
111
|
registerOnTouched(fn: () => void): void;
|
|
@@ -196,20 +197,22 @@ declare class PjcCnpjFieldComponent implements ControlValueAccessor, Validator,
|
|
|
196
197
|
|
|
197
198
|
declare class PjcCpfCnpjFieldComponent implements ControlValueAccessor, Validator, OnInit {
|
|
198
199
|
label: _angular_core.InputSignal<string>;
|
|
200
|
+
placeholder: _angular_core.InputSignal<string>;
|
|
199
201
|
id: _angular_core.InputSignal<string>;
|
|
200
202
|
labelVariant: _angular_core.InputSignal<"over" | "in" | "on">;
|
|
201
203
|
readonly: _angular_core.InputSignal<boolean>;
|
|
202
204
|
showSearchButton: _angular_core.InputSignal<boolean>;
|
|
203
205
|
erros: _angular_core.InputSignal<Record<string, string>>;
|
|
206
|
+
hint: _angular_core.InputSignal<string>;
|
|
204
207
|
busca: _angular_core.OutputEmitterRef<string>;
|
|
205
208
|
private readonly injector;
|
|
206
209
|
private readonly cdr;
|
|
207
210
|
private readonly destroyRef;
|
|
208
211
|
private ngControl;
|
|
209
212
|
displayValue: string;
|
|
210
|
-
placeholder: string;
|
|
211
213
|
disabled: boolean;
|
|
212
214
|
private rawValue;
|
|
215
|
+
computedPlaceholder: _angular_core.Signal<string>;
|
|
213
216
|
onChange: (value: string) => void;
|
|
214
217
|
onTouched: () => void;
|
|
215
218
|
ngOnInit(): void;
|
|
@@ -223,10 +226,9 @@ declare class PjcCpfCnpjFieldComponent implements ControlValueAccessor, Validato
|
|
|
223
226
|
onModelTouched(): void;
|
|
224
227
|
onSearch(): void;
|
|
225
228
|
private formatValue;
|
|
226
|
-
private updatePlaceholder;
|
|
227
229
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
228
230
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PjcCpfCnpjFieldComponent, never>;
|
|
229
|
-
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>;
|
|
231
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PjcCpfCnpjFieldComponent, "pjc-cpf-cnpj-field", never, { "label": { "alias": "label"; "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; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; }, { "busca": "busca"; }, never, ["*"], true, never>;
|
|
230
232
|
}
|
|
231
233
|
|
|
232
234
|
declare class PjcCpfFieldComponent implements ControlValueAccessor, Validator, OnInit {
|
|
@@ -264,6 +266,7 @@ declare class PjcCpfFieldComponent implements ControlValueAccessor, Validator, O
|
|
|
264
266
|
|
|
265
267
|
declare class PjcDataFieldComponent implements ControlValueAccessor, Validator, AfterViewInit, OnDestroy, OnInit {
|
|
266
268
|
label: _angular_core.InputSignal<string>;
|
|
269
|
+
placeholder: _angular_core.InputSignal<string>;
|
|
267
270
|
id: _angular_core.InputSignal<string>;
|
|
268
271
|
minDate: _angular_core.InputSignal<Date | undefined>;
|
|
269
272
|
maxDate: _angular_core.InputSignal<Date | undefined>;
|
|
@@ -271,6 +274,7 @@ declare class PjcDataFieldComponent implements ControlValueAccessor, Validator,
|
|
|
271
274
|
readonly: _angular_core.InputSignal<boolean>;
|
|
272
275
|
mostrarAniversario: _angular_core.InputSignal<boolean>;
|
|
273
276
|
erros: _angular_core.InputSignal<Record<string, string>>;
|
|
277
|
+
hint: _angular_core.InputSignal<string>;
|
|
274
278
|
value: Date | null;
|
|
275
279
|
disabled: boolean;
|
|
276
280
|
valueSignal: _angular_core.WritableSignal<Date | null>;
|
|
@@ -295,19 +299,21 @@ declare class PjcDataFieldComponent implements ControlValueAccessor, Validator,
|
|
|
295
299
|
setDisabledState(isDisabled: boolean): void;
|
|
296
300
|
onValueChange(date: Date | null): void;
|
|
297
301
|
private calculateAge;
|
|
298
|
-
validate(
|
|
302
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
299
303
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PjcDataFieldComponent, never>;
|
|
300
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PjcDataFieldComponent, "pjc-data-field", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "labelVariant": { "alias": "labelVariant"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "mostrarAniversario": { "alias": "mostrarAniversario"; "required": false; "isSignal": true; }; "erros": { "alias": "erros"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
304
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PjcDataFieldComponent, "pjc-data-field", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "labelVariant": { "alias": "labelVariant"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "mostrarAniversario": { "alias": "mostrarAniversario"; "required": false; "isSignal": true; }; "erros": { "alias": "erros"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
301
305
|
}
|
|
302
306
|
|
|
303
307
|
declare class PjcDataHoraFieldComponent implements ControlValueAccessor, Validator, AfterViewInit, OnDestroy, OnInit {
|
|
304
308
|
label: _angular_core.InputSignal<string>;
|
|
309
|
+
placeholder: _angular_core.InputSignal<string>;
|
|
305
310
|
id: _angular_core.InputSignal<string>;
|
|
306
311
|
minDate: _angular_core.InputSignal<Date | undefined>;
|
|
307
312
|
maxDate: _angular_core.InputSignal<Date | undefined>;
|
|
308
313
|
labelVariant: _angular_core.InputSignal<"over" | "in" | "on">;
|
|
309
314
|
readonly: _angular_core.InputSignal<boolean>;
|
|
310
315
|
erros: _angular_core.InputSignal<Record<string, string>>;
|
|
316
|
+
hint: _angular_core.InputSignal<string>;
|
|
311
317
|
value: Date | null;
|
|
312
318
|
disabled: boolean;
|
|
313
319
|
onChange: (value: Date | null) => void;
|
|
@@ -329,9 +335,18 @@ declare class PjcDataHoraFieldComponent implements ControlValueAccessor, Validat
|
|
|
329
335
|
registerOnTouched(fn: () => void): void;
|
|
330
336
|
setDisabledState(isDisabled: boolean): void;
|
|
331
337
|
onValueChange(date: Date | null): void;
|
|
332
|
-
validate(
|
|
338
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
333
339
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PjcDataHoraFieldComponent, never>;
|
|
334
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PjcDataHoraFieldComponent, "pjc-data-hora-field", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "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>;
|
|
340
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PjcDataHoraFieldComponent, "pjc-data-hora-field", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "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; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
declare class PjcDetalhesComponent {
|
|
344
|
+
label: _angular_core.InputSignal<string>;
|
|
345
|
+
value: _angular_core.InputSignal<string | number | null | undefined>;
|
|
346
|
+
layout: _angular_core.InputSignal<"column" | "row">;
|
|
347
|
+
displayValue: _angular_core.Signal<string>;
|
|
348
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PjcDetalhesComponent, never>;
|
|
349
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PjcDetalhesComponent, "pjc-detalhes", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
335
350
|
}
|
|
336
351
|
|
|
337
352
|
declare class PjcEmailFieldComponent implements ControlValueAccessor, Validator, OnInit {
|
|
@@ -409,10 +424,10 @@ declare class PjcEnumFieldComponent implements ControlValueAccessor, OnInit {
|
|
|
409
424
|
disabled: boolean;
|
|
410
425
|
onChange: (value: any) => void;
|
|
411
426
|
onTouched: () => void;
|
|
427
|
+
private readonly setupOptionsEffect;
|
|
412
428
|
ngOnInit(): void;
|
|
413
429
|
get invalid(): boolean;
|
|
414
430
|
get errorMessage(): string;
|
|
415
|
-
constructor();
|
|
416
431
|
writeValue(val: any): void;
|
|
417
432
|
registerOnChange(fn: (value: any) => void): void;
|
|
418
433
|
registerOnTouched(fn: () => void): void;
|
|
@@ -449,11 +464,13 @@ declare class PjcErroValidacaoComponent implements OnInit {
|
|
|
449
464
|
}
|
|
450
465
|
|
|
451
466
|
declare class PjcHoraFieldComponent implements ControlValueAccessor, Validator, OnInit {
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
467
|
+
label: _angular_core.InputSignal<string>;
|
|
468
|
+
placeholder: _angular_core.InputSignal<string>;
|
|
469
|
+
id: _angular_core.InputSignal<string>;
|
|
470
|
+
labelVariant: _angular_core.InputSignal<"over" | "in" | "on">;
|
|
471
|
+
readonly: _angular_core.InputSignal<boolean>;
|
|
456
472
|
erros: _angular_core.InputSignal<Record<string, string>>;
|
|
473
|
+
hint: _angular_core.InputSignal<string>;
|
|
457
474
|
private readonly injector;
|
|
458
475
|
private readonly cdr;
|
|
459
476
|
private readonly destroyRef;
|
|
@@ -473,7 +490,7 @@ declare class PjcHoraFieldComponent implements ControlValueAccessor, Validator,
|
|
|
473
490
|
onModelTouched(): void;
|
|
474
491
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
475
492
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PjcHoraFieldComponent, never>;
|
|
476
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PjcHoraFieldComponent, "pjc-hora-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>;
|
|
493
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PjcHoraFieldComponent, "pjc-hora-field", never, { "label": { "alias": "label"; "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; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
477
494
|
}
|
|
478
495
|
|
|
479
496
|
declare class PjcImeiFieldComponent implements ControlValueAccessor, Validator, OnInit {
|
|
@@ -518,6 +535,7 @@ declare class PjcIntegerFieldComponent implements ControlValueAccessor, OnInit {
|
|
|
518
535
|
max: _angular_core.InputSignal<number | null>;
|
|
519
536
|
readonly: _angular_core.InputSignal<boolean>;
|
|
520
537
|
erros: _angular_core.InputSignal<Record<string, string>>;
|
|
538
|
+
hint: _angular_core.InputSignal<string>;
|
|
521
539
|
private readonly injector;
|
|
522
540
|
private readonly cdr;
|
|
523
541
|
private readonly destroyRef;
|
|
@@ -535,11 +553,12 @@ declare class PjcIntegerFieldComponent implements ControlValueAccessor, OnInit {
|
|
|
535
553
|
setDisabledState(isDisabled: boolean): void;
|
|
536
554
|
onValueChange(value: number | null): void;
|
|
537
555
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PjcIntegerFieldComponent, never>;
|
|
538
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PjcIntegerFieldComponent, "pjc-integer-field", never, { "label": { "alias": "label"; "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; }; "prefix": { "alias": "prefix"; "required": false; "isSignal": true; }; "suffix": { "alias": "suffix"; "required": false; "isSignal": true; }; "useGrouping": { "alias": "useGrouping"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "erros": { "alias": "erros"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
556
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PjcIntegerFieldComponent, "pjc-integer-field", never, { "label": { "alias": "label"; "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; }; "prefix": { "alias": "prefix"; "required": false; "isSignal": true; }; "suffix": { "alias": "suffix"; "required": false; "isSignal": true; }; "useGrouping": { "alias": "useGrouping"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "max": { "alias": "max"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "erros": { "alias": "erros"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
539
557
|
}
|
|
540
558
|
|
|
541
559
|
declare class PjcMoedaFieldComponent implements ControlValueAccessor, OnInit {
|
|
542
560
|
label: _angular_core.InputSignal<string>;
|
|
561
|
+
placeholder: _angular_core.InputSignal<string>;
|
|
543
562
|
hint: _angular_core.InputSignal<string>;
|
|
544
563
|
id: _angular_core.InputSignal<string>;
|
|
545
564
|
labelVariant: _angular_core.InputSignal<"over" | "in" | "on">;
|
|
@@ -572,7 +591,7 @@ declare class PjcMoedaFieldComponent implements ControlValueAccessor, OnInit {
|
|
|
572
591
|
registerOnTouched(fn: () => void): void;
|
|
573
592
|
setDisabledState(isDisabled: boolean): void;
|
|
574
593
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PjcMoedaFieldComponent, never>;
|
|
575
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PjcMoedaFieldComponent, "pjc-moeda-field", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "labelVariant": { "alias": "labelVariant"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "currency": { "alias": "currency"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "minFractionDigits": { "alias": "minFractionDigits"; "required": false; "isSignal": true; }; "maxFractionDigits": { "alias": "maxFractionDigits"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "erros": { "alias": "erros"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
594
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PjcMoedaFieldComponent, "pjc-moeda-field", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "labelVariant": { "alias": "labelVariant"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "currency": { "alias": "currency"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "minFractionDigits": { "alias": "minFractionDigits"; "required": false; "isSignal": true; }; "maxFractionDigits": { "alias": "maxFractionDigits"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "erros": { "alias": "erros"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
576
595
|
}
|
|
577
596
|
|
|
578
597
|
declare class PjcNumeroCartaoFieldComponent implements ControlValueAccessor, Validator, OnInit {
|
|
@@ -642,6 +661,7 @@ declare class PjcPlacaFieldComponent implements ControlValueAccessor, Validator,
|
|
|
642
661
|
labelVariant: _angular_core.InputSignal<"over" | "in" | "on">;
|
|
643
662
|
readonly: _angular_core.InputSignal<boolean>;
|
|
644
663
|
erros: _angular_core.InputSignal<Record<string, string>>;
|
|
664
|
+
hint: _angular_core.InputSignal<string>;
|
|
645
665
|
private readonly injector;
|
|
646
666
|
private readonly cdr;
|
|
647
667
|
private readonly destroyRef;
|
|
@@ -660,7 +680,7 @@ declare class PjcPlacaFieldComponent implements ControlValueAccessor, Validator,
|
|
|
660
680
|
onModelChange(event: Event): void;
|
|
661
681
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
662
682
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PjcPlacaFieldComponent, never>;
|
|
663
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PjcPlacaFieldComponent, "pjc-placa-field", never, { "label": { "alias": "label"; "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>;
|
|
683
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PjcPlacaFieldComponent, "pjc-placa-field", never, { "label": { "alias": "label"; "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; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
664
684
|
}
|
|
665
685
|
|
|
666
686
|
declare class PjcRenavamFieldComponent implements ControlValueAccessor, Validator, OnInit {
|
|
@@ -695,18 +715,20 @@ declare class PjcRenavamFieldComponent implements ControlValueAccessor, Validato
|
|
|
695
715
|
|
|
696
716
|
declare class PjcTelefoneFieldComponent implements ControlValueAccessor, Validator, OnInit {
|
|
697
717
|
label: _angular_core.InputSignal<string>;
|
|
718
|
+
placeholder: _angular_core.InputSignal<string>;
|
|
698
719
|
id: _angular_core.InputSignal<string>;
|
|
699
720
|
labelVariant: _angular_core.InputSignal<"over" | "in" | "on">;
|
|
700
721
|
readonly: _angular_core.InputSignal<boolean>;
|
|
701
722
|
erros: _angular_core.InputSignal<Record<string, string>>;
|
|
723
|
+
hint: _angular_core.InputSignal<string>;
|
|
702
724
|
private readonly injector;
|
|
703
725
|
private readonly cdr;
|
|
704
726
|
private readonly destroyRef;
|
|
705
727
|
private ngControl;
|
|
706
728
|
displayValue: string;
|
|
707
|
-
placeholder: string;
|
|
708
729
|
disabled: boolean;
|
|
709
730
|
private rawValue;
|
|
731
|
+
computedPlaceholder: _angular_core.Signal<string>;
|
|
710
732
|
onChange: (value: string) => void;
|
|
711
733
|
onTouched: () => void;
|
|
712
734
|
ngOnInit(): void;
|
|
@@ -719,10 +741,9 @@ declare class PjcTelefoneFieldComponent implements ControlValueAccessor, Validat
|
|
|
719
741
|
onInputChange(event: Event): void;
|
|
720
742
|
onModelTouched(): void;
|
|
721
743
|
private formatValue;
|
|
722
|
-
private updatePlaceholder;
|
|
723
744
|
validate(control: AbstractControl): ValidationErrors | null;
|
|
724
745
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PjcTelefoneFieldComponent, never>;
|
|
725
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PjcTelefoneFieldComponent, "pjc-telefone-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>;
|
|
746
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PjcTelefoneFieldComponent, "pjc-telefone-field", never, { "label": { "alias": "label"; "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; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
726
747
|
}
|
|
727
748
|
|
|
728
749
|
interface PjcTipoPessoa {
|
|
@@ -737,6 +758,7 @@ declare class PjcTipoPessoaFieldComponent implements ControlValueAccessor, OnIni
|
|
|
737
758
|
labelVariant: _angular_core.InputSignal<"over" | "in" | "on">;
|
|
738
759
|
readonly: _angular_core.InputSignal<boolean>;
|
|
739
760
|
erros: _angular_core.InputSignal<Record<string, string>>;
|
|
761
|
+
hint: _angular_core.InputSignal<string>;
|
|
740
762
|
private readonly injector;
|
|
741
763
|
private readonly cdr;
|
|
742
764
|
private readonly destroyRef;
|
|
@@ -756,7 +778,7 @@ declare class PjcTipoPessoaFieldComponent implements ControlValueAccessor, OnIni
|
|
|
756
778
|
onModelChange(value: string | null): void;
|
|
757
779
|
onModelTouched(): void;
|
|
758
780
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PjcTipoPessoaFieldComponent, never>;
|
|
759
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PjcTipoPessoaFieldComponent, "pjc-tipo-pessoa-field", never, { "label": { "alias": "label"; "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>;
|
|
781
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PjcTipoPessoaFieldComponent, "pjc-tipo-pessoa-field", never, { "label": { "alias": "label"; "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; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
760
782
|
}
|
|
761
783
|
|
|
762
784
|
interface PjcUf {
|
|
@@ -865,7 +887,9 @@ declare class PjcValidators {
|
|
|
865
887
|
static decimalMaiorZero(): ValidatorFn;
|
|
866
888
|
static decimalMenorZero(): ValidatorFn;
|
|
867
889
|
static decimalMenorIgualZero(): ValidatorFn;
|
|
890
|
+
static data(minDate?: Date, maxDate?: Date): ValidatorFn;
|
|
891
|
+
static dataHora(minDate?: Date, maxDate?: Date): ValidatorFn;
|
|
868
892
|
}
|
|
869
893
|
|
|
870
|
-
export { ESTADOS, PJC_CIDADE_SERVICE, PJC_ENUM_SERVICE, PjcCepFieldComponent, PjcChassiFieldComponent, PjcChassiInputDirective, PjcCidadeFieldComponent, PjcCidadeService, PjcCnhFieldComponent, PjcCnpjFieldComponent, PjcCpfCnpjFieldComponent, PjcCpfFieldComponent, PjcDataFieldComponent, PjcDataHoraFieldComponent, PjcEmailFieldComponent, PjcEnumFieldComponent, PjcEnumService, PjcErroValidacaoComponent, PjcFields, PjcHoraFieldComponent, PjcImeiFieldComponent, PjcIntegerFieldComponent, PjcMoedaFieldComponent, PjcNumeroCartaoFieldComponent, PjcPasswordFieldComponent, PjcPlacaFieldComponent, PjcRenavamFieldComponent, PjcTelefoneFieldComponent, PjcTipoPessoaFieldComponent, PjcUfFieldComponent, PjcUppercaseFieldComponent, PjcValidators, TIPOS_PESSOA };
|
|
894
|
+
export { ESTADOS, PJC_CIDADE_SERVICE, PJC_ENUM_SERVICE, PjcCepFieldComponent, PjcChassiFieldComponent, PjcChassiInputDirective, PjcCidadeFieldComponent, PjcCidadeService, PjcCnhFieldComponent, PjcCnpjFieldComponent, PjcCpfCnpjFieldComponent, PjcCpfFieldComponent, PjcDataFieldComponent, PjcDataHoraFieldComponent, PjcDetalhesComponent, PjcEmailFieldComponent, PjcEnumFieldComponent, PjcEnumService, PjcErroValidacaoComponent, PjcFields, PjcHoraFieldComponent, PjcImeiFieldComponent, PjcIntegerFieldComponent, PjcMoedaFieldComponent, PjcNumeroCartaoFieldComponent, PjcPasswordFieldComponent, PjcPlacaFieldComponent, PjcRenavamFieldComponent, PjcTelefoneFieldComponent, PjcTipoPessoaFieldComponent, PjcUfFieldComponent, PjcUppercaseFieldComponent, PjcValidators, TIPOS_PESSOA };
|
|
871
895
|
export type { PjcCidadeServiceContract, PjcEnumItem, PjcEnumServiceContract, PjcMunicipio, PjcTipoPessoa, PjcUf };
|