@praxisui/dynamic-fields 9.0.0-rc.4 → 9.0.0-rc.5
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.
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-07-
|
|
3
|
+
"generatedAt": "2026-07-26T09:12:02.628Z",
|
|
4
4
|
"packageName": "@praxisui/dynamic-fields",
|
|
5
|
-
"packageVersion": "9.0.0-rc.
|
|
5
|
+
"packageVersion": "9.0.0-rc.5",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 76,
|
|
@@ -25357,6 +25357,20 @@ class MaterialCpfCnpjInputComponent extends SimpleBaseInputComponent {
|
|
|
25357
25357
|
const formatted = this.formatValue(stringValue);
|
|
25358
25358
|
super.writeValue(formatted);
|
|
25359
25359
|
}
|
|
25360
|
+
applyNativeDisplayMask(value = this.control().value) {
|
|
25361
|
+
const input = this.nativeElement;
|
|
25362
|
+
if (!input || input.tagName.toLowerCase() !== 'input') {
|
|
25363
|
+
return;
|
|
25364
|
+
}
|
|
25365
|
+
const formatted = this.formatValue(typeof value === 'string'
|
|
25366
|
+
? value
|
|
25367
|
+
: value == null
|
|
25368
|
+
? null
|
|
25369
|
+
: String(value));
|
|
25370
|
+
if (input.value !== formatted) {
|
|
25371
|
+
input.value = formatted;
|
|
25372
|
+
}
|
|
25373
|
+
}
|
|
25360
25374
|
handleInput(event) {
|
|
25361
25375
|
const input = event.target;
|
|
25362
25376
|
const value = input.value;
|
|
@@ -64050,6 +64064,7 @@ const DYNAMIC_FIELDS_PLAYGROUND_CATALOG = [
|
|
|
64050
64064
|
metadataPatch: {
|
|
64051
64065
|
documentType: 'cpf',
|
|
64052
64066
|
version: 'legacy',
|
|
64067
|
+
validators: { cpfCnpj: true },
|
|
64053
64068
|
},
|
|
64054
64069
|
initialValue: '529.982.247-25',
|
|
64055
64070
|
},
|
|
@@ -64060,6 +64075,7 @@ const DYNAMIC_FIELDS_PLAYGROUND_CATALOG = [
|
|
|
64060
64075
|
metadataPatch: {
|
|
64061
64076
|
documentType: 'cnpj',
|
|
64062
64077
|
version: 'legacy',
|
|
64078
|
+
validators: { cpfCnpj: true },
|
|
64063
64079
|
},
|
|
64064
64080
|
initialValue: '11.444.777/0001-61',
|
|
64065
64081
|
},
|
|
@@ -64070,6 +64086,7 @@ const DYNAMIC_FIELDS_PLAYGROUND_CATALOG = [
|
|
|
64070
64086
|
metadataPatch: {
|
|
64071
64087
|
documentType: 'cnpj',
|
|
64072
64088
|
version: 'alpha',
|
|
64089
|
+
validators: { cpfCnpj: true },
|
|
64073
64090
|
},
|
|
64074
64091
|
initialValue: '12.ABC.345/01DE-35',
|
|
64075
64092
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/dynamic-fields",
|
|
3
|
-
"version": "9.0.0-rc.
|
|
3
|
+
"version": "9.0.0-rc.5",
|
|
4
4
|
"description": "Angular Material-based dynamic form fields for Praxis UI with lazy loading and metadata-driven rendering.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"@angular/platform-browser": "^21.0.0",
|
|
12
12
|
"@angular/router": "^21.0.0",
|
|
13
13
|
"rxjs": "^7.8.0",
|
|
14
|
-
"@praxisui/core": "^9.0.0-rc.
|
|
15
|
-
"@praxisui/cron-builder": "^9.0.0-rc.
|
|
14
|
+
"@praxisui/core": "^9.0.0-rc.5",
|
|
15
|
+
"@praxisui/cron-builder": "^9.0.0-rc.5"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"libphonenumber-js": "^1.12.41",
|
|
@@ -2355,6 +2355,7 @@ declare class MaterialCpfCnpjInputComponent extends SimpleBaseInputComponent {
|
|
|
2355
2355
|
private shouldApplySemanticDocumentValidator;
|
|
2356
2356
|
isReadonlyEffective(): boolean;
|
|
2357
2357
|
writeValue(value: unknown): void;
|
|
2358
|
+
protected applyNativeDisplayMask(value?: unknown): void;
|
|
2358
2359
|
handleInput(event: Event): void;
|
|
2359
2360
|
private cleanValue;
|
|
2360
2361
|
private formatValue;
|