@loja-integrada/admin-components 1.0.6 → 1.0.8
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/{chunk-NXRYURC6.js → chunk-3BKW5XAK.js} +1 -1
- package/dist/{chunk-XIVJ37WE.js → chunk-66QCXWTP.js} +2 -2
- package/dist/{chunk-NNACMTUZ.js → chunk-7SZYD2J2.js} +3 -3
- package/dist/{chunk-2VQ6QMMA.js → chunk-7Z3CCBLX.js} +1 -1
- package/dist/chunk-A4FSMHT2.js +8 -0
- package/dist/{chunk-EIDA43LS.js → chunk-BLEJ5LCZ.js} +3 -3
- package/dist/chunk-CE7FCY2E.js +5 -0
- package/dist/{chunk-NRAIF4I3.js → chunk-DIENJUYM.js} +1 -1
- package/dist/{chunk-F5NKGXHQ.js → chunk-EOD6CUBZ.js} +2 -2
- package/dist/{chunk-247X5S6H.js → chunk-FQ7XRQFC.js} +3 -3
- package/dist/{chunk-BW4TJLAD.js → chunk-G3GCVCTU.js} +1 -1
- package/dist/{chunk-4ZMWAFI4.js → chunk-I5LJTAZS.js} +1 -1
- package/dist/{chunk-J62DBIT2.js → chunk-I7PCF2VW.js} +1 -1
- package/dist/{chunk-GIEOWRRK.js → chunk-IACVV4SP.js} +1 -1
- package/dist/{chunk-VFFDRP2O.js → chunk-IPIBO3ES.js} +1 -1
- package/dist/{chunk-I32MZTHH.js → chunk-LFZ7CVJW.js} +2 -2
- package/dist/{chunk-UO2TARVR.js → chunk-M4V7OPDZ.js} +1 -1
- package/dist/{chunk-TJKZQP6P.js → chunk-MMWMFOBR.js} +1 -1
- package/dist/{chunk-FCIMHESM.js → chunk-NQLFH3LL.js} +3 -3
- package/dist/chunk-QFMJAM2U.js +8 -0
- package/dist/chunk-REQIQLRI.js +6 -0
- package/dist/{chunk-EGXDP5GY.js → chunk-RSA3V76M.js} +2 -2
- package/dist/{chunk-KAUPOL2P.js → chunk-SL4RY4A5.js} +2 -2
- package/dist/{chunk-DJEPTLO4.js → chunk-VERZSHK6.js} +3 -3
- package/dist/{chunk-YFQE7XRR.js → chunk-VXUZE3GD.js} +3 -3
- package/dist/{chunk-KSYF7CFG.js → chunk-VZAAIO37.js} +2 -2
- package/dist/chunk-ZN24G2XJ.js +8 -0
- package/dist/chunk-ZXGG7PWF.js +8 -0
- package/dist/components/Button/index.js +4 -4
- package/dist/components/DataTable/index.js +6 -6
- package/dist/components/Icon/index.js +3 -3
- package/dist/components/IconCircular/IconCircular.d.ts +4 -0
- package/dist/components/IconCircular/index.js +4 -4
- package/dist/components/LoadingPlaceholder/index.js +2 -2
- package/dist/components/Modal/index.js +4 -4
- package/dist/components/SidebarFixed/index.js +4 -4
- package/dist/components/Table/index.js +2 -2
- package/dist/components/Tabs/index.js +2 -2
- package/dist/components/index.js +13 -13
- package/dist/forms/Checkbox/index.js +3 -3
- package/dist/forms/Input/index.js +4 -4
- package/dist/forms/InputHelpText/index.js +2 -2
- package/dist/forms/InputLabel/index.js +2 -2
- package/dist/forms/InputMask/InputMask.client.d.ts +34 -13
- package/dist/forms/InputMask/index.js +5 -5
- package/dist/forms/InputMask/utils.d.ts +2 -6
- package/dist/forms/Select/index.js +4 -4
- package/dist/forms/index.js +7 -7
- package/dist/icons-path/Airplane.d.ts +1 -0
- package/dist/icons-path/index.d.ts +1 -0
- package/dist/icons-path/index.js +1 -1
- package/dist/index.js +29 -29
- package/dist/indicators/Alert/index.js +4 -4
- package/dist/indicators/Badge/index.js +2 -2
- package/dist/indicators/Tag/index.js +5 -5
- package/dist/indicators/Toast/index.js +4 -4
- package/dist/indicators/index.js +8 -8
- package/dist/layout/ActionBar/index.js +5 -5
- package/dist/layout/Box/index.js +4 -4
- package/dist/layout/Container/index.js +2 -2
- package/dist/layout/index.js +7 -7
- package/dist/lib/utils.d.ts +0 -3
- package/dist/lib/utils.js +1 -1
- package/dist/navigation/Breadcrumb/index.js +5 -5
- package/dist/navigation/HelpLink/index.js +4 -4
- package/dist/navigation/Pagination/index.js +7 -7
- package/dist/navigation/Stepper/index.js +2 -2
- package/dist/navigation/index.js +10 -10
- package/package.json +3 -3
- package/dist/chunk-AGCI6C3Z.js +0 -6
- package/dist/chunk-PFWHNMTS.js +0 -8
- package/dist/chunk-QMQU7H7Y.js +0 -9
- package/dist/chunk-TMUYSF5D.js +0 -7
- package/dist/chunk-V2LJZCNN.js +0 -9
- package/dist/chunk-WTH3TAIX.js +0 -5
- package/dist/forms/InputMask/maskDate.d.ts +0 -7
|
@@ -1,20 +1,41 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
1
|
+
import { ChangeEvent } from 'react';
|
|
2
|
+
import { IMaskInputProps } from 'react-imask';
|
|
3
3
|
import { InputProps } from '../Input';
|
|
4
4
|
import { formatValuePatterns } from './utils';
|
|
5
|
-
declare const InputMask:
|
|
6
|
-
|
|
5
|
+
declare const InputMask: import("react").ForwardRefExoticComponent<Omit<IMaskInputProps<HTMLInputElement>, "prefix" | "onChange"> & InputProps & {
|
|
6
|
+
/**
|
|
7
|
+
* Predefined masks. When used, will replace passed `mask` attr
|
|
8
|
+
* @default 'onlyAlphanumeric'
|
|
9
|
+
* */
|
|
10
|
+
formatValue?: string | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* Callback to be called when the value changes.
|
|
13
|
+
* onAccept is called each time the user types a character.
|
|
14
|
+
* onComplete is called when the user finishes typing.
|
|
15
|
+
* @default 'onComplete'
|
|
16
|
+
* */
|
|
17
|
+
inputOnChangeType?: "onAccept" | "onComplete" | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* Callback to be called when the value changes.
|
|
20
|
+
* */
|
|
21
|
+
onChange?: ((event: ChangeEvent<HTMLInputElement>) => void) | undefined;
|
|
22
|
+
} & import("react").RefAttributes<HTMLInputElement>>;
|
|
23
|
+
type InputMaskProps = Omit<IMaskInputProps<HTMLInputElement>, 'prefix' | 'onChange'> & InputProps & {
|
|
7
24
|
/**
|
|
8
25
|
* Predefined masks. When used, will replace passed `mask` attr
|
|
9
26
|
* @default 'onlyAlphanumeric'
|
|
10
27
|
* */
|
|
11
28
|
formatValue?: keyof typeof formatValuePatterns;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
29
|
+
/**
|
|
30
|
+
* Callback to be called when the value changes.
|
|
31
|
+
* onAccept is called each time the user types a character.
|
|
32
|
+
* onComplete is called when the user finishes typing.
|
|
33
|
+
* @default 'onComplete'
|
|
34
|
+
* */
|
|
35
|
+
inputOnChangeType?: 'onComplete' | 'onAccept';
|
|
36
|
+
/**
|
|
37
|
+
* Callback to be called when the value changes.
|
|
38
|
+
* */
|
|
39
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
40
|
+
};
|
|
41
|
+
export { InputMask, type InputMaskProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use client";export {
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
1
|
+
"use client";export { a as InputMask } from '../../chunk-ZXGG7PWF.js';
|
|
2
|
+
import '../../chunk-VERZSHK6.js';
|
|
3
|
+
import '../../chunk-7Z3CCBLX.js';
|
|
4
|
+
import '../../chunk-G3GCVCTU.js';
|
|
5
|
+
import '../../chunk-REQIQLRI.js';
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
inputMode?: 'text' | 'decimal';
|
|
4
|
-
}
|
|
5
|
-
export declare const formatValuePatterns: Record<string, IPatterns>;
|
|
6
|
-
export {};
|
|
1
|
+
import { IMaskInputProps } from 'react-imask';
|
|
2
|
+
export declare const formatValuePatterns: Record<string, IMaskInputProps<HTMLInputElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { b as Select, a as SelectComponent } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
1
|
+
export { b as Select, a as SelectComponent } from '../../chunk-BLEJ5LCZ.js';
|
|
2
|
+
import '../../chunk-7Z3CCBLX.js';
|
|
3
|
+
import '../../chunk-G3GCVCTU.js';
|
|
4
|
+
import '../../chunk-REQIQLRI.js';
|
package/dist/forms/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import '../chunk-66GVVFKI.js';
|
|
2
|
-
export { b as Select, a as SelectComponent } from '../chunk-
|
|
3
|
-
export {
|
|
4
|
-
export { a as Input } from '../chunk-
|
|
5
|
-
export { a as InputLabel } from '../chunk-
|
|
6
|
-
export { a as Checkbox } from '../chunk-
|
|
7
|
-
export { a as InputHelpText } from '../chunk-
|
|
8
|
-
import '../chunk-
|
|
2
|
+
export { b as Select, a as SelectComponent } from '../chunk-BLEJ5LCZ.js';
|
|
3
|
+
export { a as InputMask } from '../chunk-ZXGG7PWF.js';
|
|
4
|
+
export { a as Input } from '../chunk-VERZSHK6.js';
|
|
5
|
+
export { a as InputLabel } from '../chunk-7Z3CCBLX.js';
|
|
6
|
+
export { a as Checkbox } from '../chunk-DIENJUYM.js';
|
|
7
|
+
export { a as InputHelpText } from '../chunk-G3GCVCTU.js';
|
|
8
|
+
import '../chunk-REQIQLRI.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Airplane: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export declare const icons: {
|
|
2
2
|
adjust: () => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
airplane: () => import("react/jsx-runtime").JSX.Element;
|
|
3
4
|
angleDiagonal: () => import("react/jsx-runtime").JSX.Element;
|
|
4
5
|
angleDown: () => import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
angleHeight: () => import("react/jsx-runtime").JSX.Element;
|
package/dist/icons-path/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { a as icons } from '../chunk-
|
|
1
|
+
export { a as icons } from '../chunk-CE7FCY2E.js';
|
package/dist/index.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import './chunk-7RP4L6ZM.js';
|
|
2
2
|
import './chunk-DBWOW4GL.js';
|
|
3
3
|
import './chunk-4PUGMMDC.js';
|
|
4
|
-
export { a as
|
|
5
|
-
export { a as Breadcrumb } from './chunk-
|
|
6
|
-
export { a as HelpLink } from './chunk-
|
|
7
|
-
export { a as Pagination } from './chunk-
|
|
8
|
-
export { a as Stepper } from './chunk-
|
|
4
|
+
export { a as Container, b as ContainerHeader } from './chunk-3BKW5XAK.js';
|
|
5
|
+
export { a as Breadcrumb } from './chunk-VXUZE3GD.js';
|
|
6
|
+
export { a as HelpLink } from './chunk-EOD6CUBZ.js';
|
|
7
|
+
export { a as Pagination } from './chunk-FQ7XRQFC.js';
|
|
8
|
+
export { a as Stepper } from './chunk-I7PCF2VW.js';
|
|
9
9
|
import './chunk-DIFKNF3L.js';
|
|
10
|
-
export { a as IconCircular } from './chunk-
|
|
10
|
+
export { a as IconCircular } from './chunk-ZN24G2XJ.js';
|
|
11
11
|
import './chunk-66GVVFKI.js';
|
|
12
|
-
export { b as Select, a as SelectComponent } from './chunk-
|
|
13
|
-
export {
|
|
14
|
-
export { a as Input } from './chunk-
|
|
15
|
-
export { a as InputLabel } from './chunk-
|
|
16
|
-
export { a as
|
|
17
|
-
export {
|
|
18
|
-
export { a as
|
|
12
|
+
export { b as Select, a as SelectComponent } from './chunk-BLEJ5LCZ.js';
|
|
13
|
+
export { a as InputMask } from './chunk-ZXGG7PWF.js';
|
|
14
|
+
export { a as Input } from './chunk-VERZSHK6.js';
|
|
15
|
+
export { a as InputLabel } from './chunk-7Z3CCBLX.js';
|
|
16
|
+
export { a as Alert } from './chunk-VZAAIO37.js';
|
|
17
|
+
export { a as Badge } from './chunk-M4V7OPDZ.js';
|
|
18
|
+
export { a as Tag } from './chunk-NQLFH3LL.js';
|
|
19
|
+
export { b as ToastContainer, a as notify } from './chunk-RSA3V76M.js';
|
|
20
|
+
export { a as Tooltip } from './chunk-TZI6YTCW.js';
|
|
21
|
+
export { a as ActionBar } from './chunk-A4FSMHT2.js';
|
|
19
22
|
import './chunk-L6H2NDVS.js';
|
|
20
|
-
export { a as
|
|
21
|
-
export { a as
|
|
22
|
-
export { a as
|
|
23
|
-
export { a as
|
|
24
|
-
export {
|
|
25
|
-
export { a as
|
|
26
|
-
export { a as LoadingPlaceholder } from './chunk-VFFDRP2O.js';
|
|
27
|
-
export { a as Modal } from './chunk-XIVJ37WE.js';
|
|
28
|
-
export { a as SidebarFixed } from './chunk-4ZMWAFI4.js';
|
|
23
|
+
export { a as Button } from './chunk-LFZ7CVJW.js';
|
|
24
|
+
export { b as Box, d as BoxContent, c as BoxHeader, a as BoxSeparator } from './chunk-SL4RY4A5.js';
|
|
25
|
+
export { a as DataTable } from './chunk-7SZYD2J2.js';
|
|
26
|
+
export { a as LoadingPlaceholder } from './chunk-IPIBO3ES.js';
|
|
27
|
+
export { a as Modal } from './chunk-66QCXWTP.js';
|
|
28
|
+
export { a as SidebarFixed } from './chunk-I5LJTAZS.js';
|
|
29
29
|
import './chunk-LTWCICTK.js';
|
|
30
|
-
export { a as Icon } from './chunk-
|
|
31
|
-
import './chunk-
|
|
32
|
-
export { a as Table, d as TableBody, h as TableCaption, g as TableCell, e as TableFooter, c as TableHead, b as TableHeader, f as TableRow } from './chunk-
|
|
33
|
-
export { a as Tabs } from './chunk-
|
|
34
|
-
export { a as Checkbox } from './chunk-
|
|
35
|
-
export { a as InputHelpText } from './chunk-
|
|
36
|
-
import './chunk-
|
|
30
|
+
export { a as Icon } from './chunk-QFMJAM2U.js';
|
|
31
|
+
import './chunk-CE7FCY2E.js';
|
|
32
|
+
export { a as Table, d as TableBody, h as TableCaption, g as TableCell, e as TableFooter, c as TableHead, b as TableHeader, f as TableRow } from './chunk-MMWMFOBR.js';
|
|
33
|
+
export { a as Tabs } from './chunk-IACVV4SP.js';
|
|
34
|
+
export { a as Checkbox } from './chunk-DIENJUYM.js';
|
|
35
|
+
export { a as InputHelpText } from './chunk-G3GCVCTU.js';
|
|
36
|
+
import './chunk-REQIQLRI.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use client";export { a as Alert } from '../../chunk-
|
|
1
|
+
"use client";export { a as Alert } from '../../chunk-VZAAIO37.js';
|
|
2
2
|
import '../../chunk-LTWCICTK.js';
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-QFMJAM2U.js';
|
|
4
|
+
import '../../chunk-CE7FCY2E.js';
|
|
5
|
+
import '../../chunk-REQIQLRI.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { a as Badge } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { a as Badge } from '../../chunk-M4V7OPDZ.js';
|
|
2
|
+
import '../../chunk-REQIQLRI.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { a as Tag } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { a as Tag } from '../../chunk-NQLFH3LL.js';
|
|
2
|
+
import '../../chunk-LFZ7CVJW.js';
|
|
3
3
|
import '../../chunk-LTWCICTK.js';
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-QFMJAM2U.js';
|
|
5
|
+
import '../../chunk-CE7FCY2E.js';
|
|
6
|
+
import '../../chunk-REQIQLRI.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use client";export { b as ToastContainer, a as notify } from '../../chunk-
|
|
1
|
+
"use client";export { b as ToastContainer, a as notify } from '../../chunk-RSA3V76M.js';
|
|
2
2
|
import '../../chunk-LTWCICTK.js';
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-QFMJAM2U.js';
|
|
4
|
+
import '../../chunk-CE7FCY2E.js';
|
|
5
|
+
import '../../chunk-REQIQLRI.js';
|
package/dist/indicators/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import '../chunk-7RP4L6ZM.js';
|
|
2
|
+
export { a as Alert } from '../chunk-VZAAIO37.js';
|
|
3
|
+
export { a as Badge } from '../chunk-M4V7OPDZ.js';
|
|
4
|
+
export { a as Tag } from '../chunk-NQLFH3LL.js';
|
|
5
|
+
export { b as ToastContainer, a as notify } from '../chunk-RSA3V76M.js';
|
|
2
6
|
export { a as Tooltip } from '../chunk-TZI6YTCW.js';
|
|
3
|
-
|
|
4
|
-
export { a as Badge } from '../chunk-UO2TARVR.js';
|
|
5
|
-
export { a as Tag } from '../chunk-FCIMHESM.js';
|
|
6
|
-
import '../chunk-I32MZTHH.js';
|
|
7
|
-
export { b as ToastContainer, a as notify } from '../chunk-EGXDP5GY.js';
|
|
7
|
+
import '../chunk-LFZ7CVJW.js';
|
|
8
8
|
import '../chunk-LTWCICTK.js';
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import '../chunk-
|
|
11
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-QFMJAM2U.js';
|
|
10
|
+
import '../chunk-CE7FCY2E.js';
|
|
11
|
+
import '../chunk-REQIQLRI.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use client";export { a as ActionBar } from '../../chunk-
|
|
1
|
+
"use client";export { a as ActionBar } from '../../chunk-A4FSMHT2.js';
|
|
2
2
|
import '../../chunk-L6H2NDVS.js';
|
|
3
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-LFZ7CVJW.js';
|
|
4
4
|
import '../../chunk-LTWCICTK.js';
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
7
|
-
import '../../chunk-
|
|
5
|
+
import '../../chunk-QFMJAM2U.js';
|
|
6
|
+
import '../../chunk-CE7FCY2E.js';
|
|
7
|
+
import '../../chunk-REQIQLRI.js';
|
package/dist/layout/Box/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { b as Box, d as BoxContent, c as BoxHeader, a as BoxSeparator } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
1
|
+
export { b as Box, d as BoxContent, c as BoxHeader, a as BoxSeparator } from '../../chunk-SL4RY4A5.js';
|
|
2
|
+
import '../../chunk-QFMJAM2U.js';
|
|
3
|
+
import '../../chunk-CE7FCY2E.js';
|
|
4
|
+
import '../../chunk-REQIQLRI.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { a as Container, b as ContainerHeader } from '../../chunk-
|
|
1
|
+
export { a as Container, b as ContainerHeader } from '../../chunk-3BKW5XAK.js';
|
|
2
2
|
import '../../chunk-L6H2NDVS.js';
|
|
3
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-REQIQLRI.js';
|
package/dist/layout/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import '../chunk-DBWOW4GL.js';
|
|
2
|
-
export { a as
|
|
3
|
-
export {
|
|
4
|
-
export { a as Container, b as ContainerHeader } from '../chunk-NXRYURC6.js';
|
|
2
|
+
export { a as Container, b as ContainerHeader } from '../chunk-3BKW5XAK.js';
|
|
3
|
+
export { a as ActionBar } from '../chunk-A4FSMHT2.js';
|
|
5
4
|
import '../chunk-L6H2NDVS.js';
|
|
6
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-LFZ7CVJW.js';
|
|
6
|
+
export { b as Box, d as BoxContent, c as BoxHeader, a as BoxSeparator } from '../chunk-SL4RY4A5.js';
|
|
7
7
|
import '../chunk-LTWCICTK.js';
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-QFMJAM2U.js';
|
|
9
|
+
import '../chunk-CE7FCY2E.js';
|
|
10
|
+
import '../chunk-REQIQLRI.js';
|
package/dist/lib/utils.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
1
|
import { type ClassValue } from 'clsx';
|
|
2
|
-
import { Ref } from 'react';
|
|
3
2
|
export declare function cn(...inputs: ClassValue[]): string;
|
|
4
|
-
export declare function composeRefs<T>(...refs: Array<Ref<T>>): (value: T) => void;
|
|
5
|
-
export declare function setRef<T>(ref: Ref<T>, value: T): void;
|
package/dist/lib/utils.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { a as cn
|
|
1
|
+
export { a as cn } from '../chunk-REQIQLRI.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { a as Breadcrumb } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { a as Breadcrumb } from '../../chunk-VXUZE3GD.js';
|
|
2
|
+
import '../../chunk-EOD6CUBZ.js';
|
|
3
3
|
import '../../chunk-LTWCICTK.js';
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-QFMJAM2U.js';
|
|
5
|
+
import '../../chunk-CE7FCY2E.js';
|
|
6
|
+
import '../../chunk-REQIQLRI.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { a as HelpLink } from '../../chunk-
|
|
1
|
+
export { a as HelpLink } from '../../chunk-EOD6CUBZ.js';
|
|
2
2
|
import '../../chunk-LTWCICTK.js';
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-QFMJAM2U.js';
|
|
4
|
+
import '../../chunk-CE7FCY2E.js';
|
|
5
|
+
import '../../chunk-REQIQLRI.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use client";export { a as Pagination } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
1
|
+
"use client";export { a as Pagination } from '../../chunk-FQ7XRQFC.js';
|
|
2
|
+
import '../../chunk-BLEJ5LCZ.js';
|
|
3
|
+
import '../../chunk-7Z3CCBLX.js';
|
|
4
4
|
import '../../chunk-LTWCICTK.js';
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
7
|
-
import '../../chunk-
|
|
8
|
-
import '../../chunk-
|
|
5
|
+
import '../../chunk-QFMJAM2U.js';
|
|
6
|
+
import '../../chunk-CE7FCY2E.js';
|
|
7
|
+
import '../../chunk-G3GCVCTU.js';
|
|
8
|
+
import '../../chunk-REQIQLRI.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";export { a as Stepper } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
"use client";export { a as Stepper } from '../../chunk-I7PCF2VW.js';
|
|
2
|
+
import '../../chunk-REQIQLRI.js';
|
package/dist/navigation/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import '../chunk-4PUGMMDC.js';
|
|
2
|
-
export { a as Breadcrumb } from '../chunk-
|
|
3
|
-
export { a as HelpLink } from '../chunk-
|
|
4
|
-
export { a as Pagination } from '../chunk-
|
|
5
|
-
export { a as Stepper } from '../chunk-
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
2
|
+
export { a as Breadcrumb } from '../chunk-VXUZE3GD.js';
|
|
3
|
+
export { a as HelpLink } from '../chunk-EOD6CUBZ.js';
|
|
4
|
+
export { a as Pagination } from '../chunk-FQ7XRQFC.js';
|
|
5
|
+
export { a as Stepper } from '../chunk-I7PCF2VW.js';
|
|
6
|
+
import '../chunk-BLEJ5LCZ.js';
|
|
7
|
+
import '../chunk-7Z3CCBLX.js';
|
|
8
8
|
import '../chunk-LTWCICTK.js';
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import '../chunk-
|
|
11
|
-
import '../chunk-
|
|
12
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-QFMJAM2U.js';
|
|
10
|
+
import '../chunk-CE7FCY2E.js';
|
|
11
|
+
import '../chunk-G3GCVCTU.js';
|
|
12
|
+
import '../chunk-REQIQLRI.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loja-integrada/admin-components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"author": "Loja Integrada",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"typescript": "^5.3.3",
|
|
34
34
|
"vite": "^5.1.4",
|
|
35
35
|
"@loja-integrada/eslint-config": "0.0.1",
|
|
36
|
-
"@loja-integrada/tailwindcss-config": "2.0.
|
|
36
|
+
"@loja-integrada/tailwindcss-config": "2.0.1",
|
|
37
37
|
"@loja-integrada/typescript-config": "0.0.2"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"@tippyjs/react": "^4.2.6",
|
|
42
42
|
"class-variance-authority": "^0.7.0",
|
|
43
43
|
"clsx": "^2.1.1",
|
|
44
|
+
"react-imask": "^7.6.1",
|
|
44
45
|
"react-modal": "^3.16.1",
|
|
45
|
-
"react-text-mask": "^5.5.0",
|
|
46
46
|
"react-toastify": "10.0.5",
|
|
47
47
|
"tailwind-merge": "^2.3.0"
|
|
48
48
|
},
|
package/dist/chunk-AGCI6C3Z.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { clsx } from 'clsx';
|
|
2
|
-
import { extendTailwindMerge } from 'tailwind-merge';
|
|
3
|
-
|
|
4
|
-
var s=["f1","f2","f3","f4","f5","f6","f7","f8"],r=extendTailwindMerge({extend:{classGroups:{"font-size":[{text:s}]},conflictingClassGroups:{"font-size":["leading","tracking"]}}});function l(...e){return r(clsx(e))}function u(...e){return t=>e.forEach(f=>c(f,t))}function c(e,t){if(typeof e=="function")e(t);else if(e){let f=e;f.current=t;}}
|
|
5
|
-
|
|
6
|
-
export { l as a, u as b, c };
|
package/dist/chunk-PFWHNMTS.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { a } from './chunk-WTH3TAIX.js';
|
|
2
|
-
import { a as a$1 } from './chunk-AGCI6C3Z.js';
|
|
3
|
-
import p from 'react';
|
|
4
|
-
import { jsx } from 'react/jsx-runtime';
|
|
5
|
-
|
|
6
|
-
var z={1:"size-1",2:"size-2",3:"size-3",4:"size-4",5:"size-5",6:"size-6",7:"size-7",8:"size-8",9:"size-9",10:"size-10"},g=p.memo(({icon:o="minus",size:i=5,className:t})=>{let c=`${"icon-"+o} fill-current transform-gpu ${z[i]}`,r=a[o]||a.minus,m=o==="exclamation"?"0 0 6 30":"0 0 18 18";return jsx("svg",{className:a$1(c,t),viewBox:m,xmlns:"http://www.w3.org/2000/svg",children:jsx(r,{})})});
|
|
7
|
-
|
|
8
|
-
export { g as a };
|
package/dist/chunk-QMQU7H7Y.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { a } from './chunk-L6H2NDVS.js';
|
|
2
|
-
import { a as a$1 } from './chunk-I32MZTHH.js';
|
|
3
|
-
import { a as a$2 } from './chunk-PFWHNMTS.js';
|
|
4
|
-
import c, { memo, useState, useEffect } from 'react';
|
|
5
|
-
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
6
|
-
|
|
7
|
-
var b=({onlyMobile:i=!1,children:l})=>{let[d,m]=useState(!0);return useEffect(()=>{if(typeof window<"u"){let e=window.parent.document.querySelector(".botbar"),t=window.document.querySelector(".page-container");return e&&(e.style.display="none"),t&&(t.classList.remove("lg:mb-10","lg:pb-0"),m(!!t.dataset.expanded)),()=>{e&&(e.style.display=""),t&&t.classList.add("lg:mb-10","lg:pb-0");}}},[]),jsx("div",{className:"action-bar fixed inset-x-0 bottom-0 h-12 lg:h-auto pb-0-safe bg-inverted-1 lg:bg-base-1 z-50 shadow"+(i?" lg:hidden":""),children:jsxs("div",{className:`${d?a.expanded:a.default} mx-auto flex size-full items-center justify-center px-8 lg:justify-end lg:px-0`,children:[!i&&jsx("div",{className:"my-2.5 mr-8 hidden grid-flow-col gap-x-4 lg:grid",children:c.Children.map(l,({props:e})=>{let{...t}=e;return delete t?.icon,jsx(a$1,{...t})})}),jsx("div",{className:"lg:hidden",children:c.Children.map(l,({props:e})=>{if(e.children)return jsxs("button",{className:"px-4 py-1 text-base-1 active:text-base-4 transition-colors"+(e?.loading?" pointer-events-none":""),onClick:e?.onClick,type:e?.type||"button",children:[e?.loading?jsx(a$2,{icon:"loading",className:"p-px"}):e?.icon&&jsx(a$2,{icon:e?.icon,className:"mx-auto p-px"}),jsx("span",{className:"text-f8 mt-px block",children:e.children})]})})})]})})},x=memo(b);x.displayName="ActionBar";
|
|
8
|
-
|
|
9
|
-
export { x as a };
|
package/dist/chunk-TMUYSF5D.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { a } from './chunk-PFWHNMTS.js';
|
|
2
|
-
import t from 'react';
|
|
3
|
-
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
4
|
-
|
|
5
|
-
var e={success:{bgClass:"bg-primary",icon:"check"},warning:{bgClass:"bg-warning",icon:"exclamation"},danger:{bgClass:"bg-danger",icon:"times"}},u=t.memo(({variant:c="success",icon:s,bgClass:o})=>{let a$1=s||e[c].icon||"check",i=o||e[c].bgClass||"bg-primary";return jsx(Fragment,{children:jsx("div",{className:`icon-circular mx-auto flex size-20 items-center justify-center rounded-full bg-opacity-20 ${i}`,children:jsx("div",{className:`flex size-14 items-center justify-center rounded-full ${i}`,children:jsx(a,{icon:a$1,className:"block text-base-1",size:7})})})})});
|
|
6
|
-
|
|
7
|
-
export { u as a };
|
package/dist/chunk-V2LJZCNN.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { a } from './chunk-DJEPTLO4.js';
|
|
2
|
-
import { b } from './chunk-AGCI6C3Z.js';
|
|
3
|
-
import V from 'react';
|
|
4
|
-
import C from 'react-text-mask';
|
|
5
|
-
import { jsx } from 'react/jsx-runtime';
|
|
6
|
-
|
|
7
|
-
var R=[31,31,29,31,30,31,30,31,31,30,31,30,31],f=["yyyy","yy","mm","dd","HH","MM","SS"];function k(e="mm dd yyyy",{minYear:t=1,maxYear:s=9999}={}){let l=e.split(/[^dmyHMS]+/).sort((r,d)=>f.indexOf(r)-f.indexOf(d));return function(r){let d=[],p={dd:31,mm:12,yy:99,yyyy:s,HH:23,MM:59,SS:59},i={dd:1,mm:1,yy:0,yyyy:t,HH:0,MM:0,SS:0},o=r.split("");l.forEach(n=>{let a=e.indexOf(n),c=parseInt(p[n].toString().substr(0,1),10);parseInt(o[a],10)>c&&(o[a+1]=o[a],o[a]=0,d.push(a));});let u=0;return l.some(n=>{let a=e.indexOf(n),c=n.length,m=r.substr(a,c).replace(/\D/g,""),_=parseInt(m,10);n==="mm"&&(u=_||0);let I=n==="dd"?R[u]:p[n];if(n==="yyyy"&&(t!==1||s!==9999)){let P=parseInt(p[n].toString().substring(0,m.length),10),x=parseInt(i[n].toString().substring(0,m.length),10);return _<x||_>P}return _>I||m.length===c&&_<i[n]})&&!d.length?!1:{value:o.join(""),indexesOfPipedChars:d}}}var y={onlyNumber:{mask:e=>e.replace(/\D/g,"").split("").map(()=>/\d/),inputMode:"decimal"},onlyLetter:{mask:e=>e.replace(/[^a-zA-ZÀ-ú']/g,"").split("").map(()=>/[a-zA-ZÀ-ú']/g)},onlyAlphanumeric:{mask:e=>e.replace(/\W/g,"").split("").map(()=>/\w/)},onlyText:{mask:e=>e.replace(/[^a-zA-ZÀ-ú'˜0-9\sü]/g,"").split("").map(()=>/[a-zA-ZÀ-ú'˜`´^0-9\sü]/g)},date:{mask:[/\d/,/\d/,"/",/\d/,/\d/,"/",/\d/,/\d/,/\d/,/\d/],pipe:k("dd/mm/yyyy"),keepCharPositions:!0,inputMode:"decimal",placeholder:"__/__/____"},zipCode:{mask:[/\d/,/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/],keepCharPositions:!0,inputMode:"decimal",placeholder:"_____-___"},nfe:{mask:()=>{let t=[];for(let s=1;s<=44;s++)t.push(/\d/),s%4===0&&s!==44&&t.push(" ");return t},keepCharPositions:!0,inputMode:"decimal",placeholder:"____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____"},phone:{mask:["(",/\d/,/\d/,")"," ",/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/],inputMode:"decimal",placeholder:"(__) ____-____"},cellphone:{mask:["(",/\d/,/\d/,")"," ",/\d/,/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/],inputMode:"decimal",placeholder:"(__) _____-____"},phoneOrCellphone:{mask:e=>e.replace(/[^\d]/g,"").length>10?y.cellphone.mask:y.phone.mask,inputMode:"decimal",placeholder:"(__) _____-____"},cpf:{mask:[/\d/,/\d/,/\d/,".",/\d/,/\d/,/\d/,".",/\d/,/\d/,/\d/,"-",/\d/,/\d/],keepCharPositions:!0,inputMode:"decimal",placeholder:"___.___.___-__"},cnpj:{mask:[/\d/,/\d/,".",/\d/,/\d/,/\d/,".",/\d/,/\d/,/\d/,"/",/\d/,/\d/,/\d/,/\d/,"-",/\d/,/\d/],keepCharPositions:!0,inputMode:"decimal",placeholder:"___.___.___-__"}};function A({formatValue:e="onlyAlphanumeric",prefix:t,...s},l){let r=(i,o)=>{let u=b(l,i);return jsx(a,{ref:u,...o})},p={...y[e]||{},...s};return jsx(C,{render:r,...p,prefix:t})}var T=V.forwardRef(A);T.displayName="InputMask";
|
|
8
|
-
|
|
9
|
-
export { y as a, T as b };
|