@ttoss/forms 0.22.7 → 0.23.1

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.
@@ -0,0 +1,24 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { PatternFormatProps } from 'react-number-format';
3
+ import { F as FormFieldPatternFormatProps } from '../FormFieldPatternFormat-DF8nU9tn.mjs';
4
+
5
+ type FormFieldCNPJProps = {
6
+ label: string;
7
+ name: string;
8
+ } & Partial<PatternFormatProps>;
9
+ declare const isCnpjValid: (cnpj: any) => boolean;
10
+ declare const FormFieldCNPJ: ({ label, name, ...patternFormatProps }: FormFieldCNPJProps) => react_jsx_runtime.JSX.Element;
11
+
12
+ type FormFieldPhoneProps = {
13
+ label: string;
14
+ name: string;
15
+ } & Partial<PatternFormatProps>;
16
+ declare const FormFieldPhone: ({ label, name, ...patternFormatProps }: FormFieldPhoneProps) => react_jsx_runtime.JSX.Element;
17
+
18
+ type FormFieldCEPProps = {
19
+ label: string;
20
+ name: string;
21
+ } & Partial<FormFieldPatternFormatProps>;
22
+ declare const FormFieldCEP: ({ label, name, ...formFieldPatternFormatProps }: FormFieldCEPProps) => react_jsx_runtime.JSX.Element;
23
+
24
+ export { FormFieldCEP, FormFieldCNPJ, FormFieldPhone, isCnpjValid };
@@ -0,0 +1,24 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { PatternFormatProps } from 'react-number-format';
3
+ import { F as FormFieldPatternFormatProps } from '../FormFieldPatternFormat-DF8nU9tn.js';
4
+
5
+ type FormFieldCNPJProps = {
6
+ label: string;
7
+ name: string;
8
+ } & Partial<PatternFormatProps>;
9
+ declare const isCnpjValid: (cnpj: any) => boolean;
10
+ declare const FormFieldCNPJ: ({ label, name, ...patternFormatProps }: FormFieldCNPJProps) => react_jsx_runtime.JSX.Element;
11
+
12
+ type FormFieldPhoneProps = {
13
+ label: string;
14
+ name: string;
15
+ } & Partial<PatternFormatProps>;
16
+ declare const FormFieldPhone: ({ label, name, ...patternFormatProps }: FormFieldPhoneProps) => react_jsx_runtime.JSX.Element;
17
+
18
+ type FormFieldCEPProps = {
19
+ label: string;
20
+ name: string;
21
+ } & Partial<FormFieldPatternFormatProps>;
22
+ declare const FormFieldCEP: ({ label, name, ...formFieldPatternFormatProps }: FormFieldCEPProps) => react_jsx_runtime.JSX.Element;
23
+
24
+ export { FormFieldCEP, FormFieldCNPJ, FormFieldPhone, isCnpjValid };