jclib-ui 1.0.237 → 1.0.239
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/dist/inputs/InputCnpj.d.ts +6 -0
- package/dist/inputs/inputCpfCnpj.d.ts +2 -2
- package/dist/inputs/inputs.d.ts +2 -2
- package/dist/inputs/inputsAux.d.ts +10 -0
- package/dist/jclib-ui.es.js +8893 -4614
- package/dist/jclib-ui.es.js.map +1 -1
- package/dist/jclib-ui.umd.js +38 -25
- package/dist/jclib-ui.umd.js.map +1 -1
- package/package.json +7 -7
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
*
|
|
3
|
-
* @param {import('reactstrap').InputProps & import('react-
|
|
3
|
+
* @param {import('reactstrap').InputProps & import('react-imask').IMaskInputProps} props
|
|
4
4
|
* @returns {JSX.Element}
|
|
5
5
|
*/
|
|
6
|
-
export default function InputCpfCnpj(
|
|
6
|
+
export default function InputCpfCnpj({ onChange, value, name, className, ...rest }: import('reactstrap').InputProps & any): JSX.Element;
|
package/dist/inputs/inputs.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { default as InputCep } from './InputCep';
|
|
|
2
2
|
import { default as InputFone } from './InputFone';
|
|
3
3
|
import { FormatValor, FormatQuant, FormatPercent, FormatData } from './Formats';
|
|
4
4
|
import { default as InputCpfCnpj } from './inputCpfCnpj';
|
|
5
|
+
import { InputCnpj } from './InputCnpj';
|
|
5
6
|
export function InputValor({ name, onChange, onClick, allowNegative, ...rest }: {
|
|
6
7
|
[x: string]: any;
|
|
7
8
|
name: any;
|
|
@@ -31,7 +32,6 @@ export function InputCodigo({ name, onChange, ...rest }: {
|
|
|
31
32
|
}): import("react/jsx-runtime").JSX.Element;
|
|
32
33
|
export function InputHora(props: any): import("react/jsx-runtime").JSX.Element;
|
|
33
34
|
export function InputCpf(props: any): import("react/jsx-runtime").JSX.Element;
|
|
34
|
-
export function InputCnpj(props: any): import("react/jsx-runtime").JSX.Element;
|
|
35
35
|
export function InputEstado(props: any): import("react/jsx-runtime").JSX.Element;
|
|
36
36
|
export function InputSearch({ title, options, fields, btnClick, ...rest }: {
|
|
37
37
|
[x: string]: any;
|
|
@@ -46,4 +46,4 @@ export function InputFinder({ title, onFind, children, ...rest }: {
|
|
|
46
46
|
onFind: any;
|
|
47
47
|
children: any;
|
|
48
48
|
}): import("react/jsx-runtime").JSX.Element;
|
|
49
|
-
export { InputCep, InputFone, FormatValor, FormatQuant, FormatPercent, FormatData, InputCpfCnpj };
|
|
49
|
+
export { InputCep, InputFone, FormatValor, FormatQuant, FormatPercent, FormatData, InputCpfCnpj, InputCnpj };
|
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
export function isInvalidCpf(value: any): boolean;
|
|
2
2
|
export function isInvalidCnpj(value: any): boolean;
|
|
3
3
|
export function isInvalidCpfCnpj(value: any): boolean;
|
|
4
|
+
export namespace cpfMask {
|
|
5
|
+
let mask: string;
|
|
6
|
+
}
|
|
7
|
+
export namespace cnpjMask {
|
|
8
|
+
let mask_1: string;
|
|
9
|
+
export { mask_1 as mask };
|
|
10
|
+
export let definitions: {
|
|
11
|
+
'*': RegExp;
|
|
12
|
+
};
|
|
13
|
+
}
|