@loja-integrada/admin-components 1.0.3 → 1.0.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.
- package/dist/chunk-247X5S6H.js +9 -0
- package/dist/{chunk-WEZVMEBK.js → chunk-2VQ6QMMA.js} +1 -1
- package/dist/{chunk-LSC6FNBR.js → chunk-4ZMWAFI4.js} +1 -1
- package/dist/{chunk-WEYSRHTX.js → chunk-AGCI6C3Z.js} +1 -1
- package/dist/{chunk-3OHDGUPG.js → chunk-BW4TJLAD.js} +1 -1
- package/dist/{chunk-LJS4TVL3.js → chunk-DJEPTLO4.js} +3 -3
- package/dist/chunk-EIDA43LS.js +10 -0
- package/dist/{chunk-N73XF5FY.js → chunk-F5NKGXHQ.js} +2 -2
- package/dist/{chunk-BQW67FSK.js → chunk-FCIMHESM.js} +3 -3
- package/dist/{chunk-PTCZDH6A.js → chunk-GIEOWRRK.js} +1 -1
- package/dist/{chunk-YTHY4XI2.js → chunk-I32MZTHH.js} +2 -2
- package/dist/{chunk-SFPIOMYQ.js → chunk-J62DBIT2.js} +1 -1
- package/dist/{chunk-K5XL557B.js → chunk-KAUPOL2P.js} +4 -4
- package/dist/{chunk-243NQZV5.js → chunk-KSYF7CFG.js} +2 -2
- package/dist/{chunk-LZI7QZWG.js → chunk-NNACMTUZ.js} +3 -3
- package/dist/{chunk-NXHQNIK2.js → chunk-NRAIF4I3.js} +1 -1
- package/dist/{chunk-24UC33BJ.js → chunk-NXRYURC6.js} +1 -1
- package/dist/{chunk-RPTUERXQ.js → chunk-PFWHNMTS.js} +2 -2
- package/dist/{chunk-26ZK5M43.js → chunk-QMQU7H7Y.js} +2 -2
- package/dist/{chunk-RL2XPX57.js → chunk-TJKZQP6P.js} +1 -1
- package/dist/{chunk-BW2HQVCT.js → chunk-TMUYSF5D.js} +1 -1
- package/dist/{chunk-4BVRONPO.js → chunk-UO2TARVR.js} +1 -1
- package/dist/{chunk-ZYY5DINE.js → chunk-V2LJZCNN.js} +2 -2
- package/dist/{chunk-LTHYFCE7.js → chunk-VFFDRP2O.js} +1 -1
- package/dist/{chunk-2H2JX2FG.js → chunk-WTH3TAIX.js} +2 -2
- package/dist/{chunk-AHEXEKOY.js → chunk-XIVJ37WE.js} +2 -2
- package/dist/{chunk-767NPRMO.js → chunk-YFQE7XRR.js} +3 -3
- package/dist/components/Button/Button.d.ts +48 -0
- package/dist/components/Button/index.d.ts +1 -52
- package/dist/components/Button/index.js +4 -4
- package/dist/components/DataTable/DataTable.client.d.ts +74 -0
- package/dist/components/DataTable/index.d.ts +1 -77
- package/dist/components/DataTable/index.js +6 -6
- package/dist/components/Icon/Icon.d.ts +30 -0
- package/dist/components/Icon/index.d.ts +1 -127
- package/dist/components/Icon/index.js +3 -3
- package/dist/components/IconCircular/IconCircular.d.ts +19 -0
- package/dist/components/IconCircular/index.d.ts +1 -22
- package/dist/components/IconCircular/index.js +4 -4
- package/dist/components/LoadingPlaceholder/LoadingPlaceholder.d.ts +9 -0
- package/dist/components/LoadingPlaceholder/index.d.ts +1 -12
- package/dist/components/LoadingPlaceholder/index.js +2 -2
- package/dist/components/Modal/Modal.client.d.ts +54 -0
- package/dist/components/Modal/index.d.ts +1 -56
- package/dist/components/Modal/index.js +4 -4
- package/dist/components/SidebarFixed/SidebarFixed.client.d.ts +33 -0
- package/dist/components/SidebarFixed/index.d.ts +1 -35
- package/dist/components/SidebarFixed/index.js +4 -4
- package/dist/components/Table/Table.d.ts +10 -0
- package/dist/components/Table/index.d.ts +1 -12
- package/dist/components/Table/index.js +2 -2
- package/dist/components/Tabs/Tabs.client.d.ts +21 -0
- package/dist/components/Tabs/TabsItem.d.ts +34 -0
- package/dist/components/Tabs/index.d.ts +1 -47
- package/dist/components/Tabs/index.js +2 -2
- package/dist/components/index.d.ts +9 -0
- package/dist/components/index.js +13 -13
- package/dist/forms/Checkbox/Checkbox.client.d.ts +28 -0
- package/dist/forms/Checkbox/index.d.ts +1 -31
- package/dist/forms/Checkbox/index.js +3 -3
- package/dist/forms/Input/Input.d.ts +41 -0
- package/dist/forms/Input/index.d.ts +1 -44
- package/dist/forms/Input/index.js +4 -4
- package/dist/forms/InputHelpText/InputHelpText.d.ts +17 -0
- package/dist/forms/InputHelpText/index.d.ts +1 -20
- package/dist/forms/InputHelpText/index.js +2 -2
- package/dist/forms/InputLabel/InputLabel.d.ts +29 -0
- package/dist/forms/InputLabel/index.d.ts +1 -32
- package/dist/forms/InputLabel/index.js +2 -2
- package/dist/forms/InputMask/InputMask.client.d.ts +20 -0
- package/dist/forms/InputMask/index.d.ts +1 -29
- package/dist/forms/InputMask/index.js +5 -5
- package/dist/forms/InputMask/maskDate.d.ts +7 -0
- package/dist/forms/InputMask/utils.d.ts +6 -0
- package/dist/forms/Select/Select.d.ts +35 -0
- package/dist/forms/Select/index.d.ts +1 -0
- package/dist/forms/Select/index.js +4 -0
- package/dist/forms/index.d.ts +6 -0
- package/dist/forms/index.js +8 -7
- package/dist/icons-path/Adjust.d.ts +1 -0
- package/dist/icons-path/AngleDiagonal.d.ts +1 -0
- package/dist/icons-path/AngleDown.d.ts +1 -0
- package/dist/icons-path/AngleHeight.d.ts +1 -0
- package/dist/icons-path/AngleLeft.d.ts +1 -0
- package/dist/icons-path/AngleRight.d.ts +1 -0
- package/dist/icons-path/AngleWidth.d.ts +1 -0
- package/dist/icons-path/App.d.ts +1 -0
- package/dist/icons-path/Arrow.d.ts +1 -0
- package/dist/icons-path/ArrowLeft.d.ts +1 -0
- package/dist/icons-path/ArrowRight.d.ts +1 -0
- package/dist/icons-path/Back.d.ts +1 -0
- package/dist/icons-path/Ban.d.ts +1 -0
- package/dist/icons-path/BarcodeRead.d.ts +1 -0
- package/dist/icons-path/Bell.d.ts +1 -0
- package/dist/icons-path/Blog.d.ts +1 -0
- package/dist/icons-path/Bullhorn.d.ts +1 -0
- package/dist/icons-path/Calculator.d.ts +1 -0
- package/dist/icons-path/CalendarAlt.d.ts +1 -0
- package/dist/icons-path/Camera.d.ts +1 -0
- package/dist/icons-path/Check.d.ts +1 -0
- package/dist/icons-path/CheckCircle.d.ts +1 -0
- package/dist/icons-path/Clock.d.ts +1 -0
- package/dist/icons-path/Clockwise.d.ts +1 -0
- package/dist/icons-path/Close.d.ts +1 -0
- package/dist/icons-path/Cog.d.ts +1 -0
- package/dist/icons-path/Copy.d.ts +1 -0
- package/dist/icons-path/CreditCard.d.ts +1 -0
- package/dist/icons-path/DashedCircle.d.ts +1 -0
- package/dist/icons-path/DefaultCursor.d.ts +1 -0
- package/dist/icons-path/Desktop.d.ts +1 -0
- package/dist/icons-path/Discount.d.ts +1 -0
- package/dist/icons-path/DotsThree.d.ts +1 -0
- package/dist/icons-path/Download.d.ts +1 -0
- package/dist/icons-path/Edit.d.ts +1 -0
- package/dist/icons-path/Envelope.d.ts +1 -0
- package/dist/icons-path/Exchange.d.ts +1 -0
- package/dist/icons-path/ExchangeY.d.ts +1 -0
- package/dist/icons-path/Exclamation.d.ts +1 -0
- package/dist/icons-path/ExclamationCircle.d.ts +1 -0
- package/dist/icons-path/ExclamationTriangle.d.ts +1 -0
- package/dist/icons-path/ExternalLink.d.ts +1 -0
- package/dist/icons-path/Eye.d.ts +1 -0
- package/dist/icons-path/EyeSlash.d.ts +1 -0
- package/dist/icons-path/Filter.d.ts +1 -0
- package/dist/icons-path/HalfBack.d.ts +1 -0
- package/dist/icons-path/Hashtag.d.ts +1 -0
- package/dist/icons-path/Home.d.ts +1 -0
- package/dist/icons-path/IconSolidEnviali.d.ts +1 -0
- package/dist/icons-path/IconSolidLI.d.ts +1 -0
- package/dist/icons-path/IdentificationBadge.d.ts +1 -0
- package/dist/icons-path/Image.d.ts +1 -0
- package/dist/icons-path/InfoCircle.d.ts +1 -0
- package/dist/icons-path/Lightbulb.d.ts +1 -0
- package/dist/icons-path/Link.d.ts +1 -0
- package/dist/icons-path/ListItems.d.ts +1 -0
- package/dist/icons-path/Loading.d.ts +1 -0
- package/dist/icons-path/Lock.d.ts +1 -0
- package/dist/icons-path/Minus.d.ts +1 -0
- package/dist/icons-path/MinusCircle.d.ts +1 -0
- package/dist/icons-path/MinusCircleSolid.d.ts +1 -0
- package/dist/icons-path/Mobile.d.ts +1 -0
- package/dist/icons-path/MoneyBill.d.ts +1 -0
- package/dist/icons-path/Move.d.ts +1 -0
- package/dist/icons-path/Nav.d.ts +1 -0
- package/dist/icons-path/Order.d.ts +1 -0
- package/dist/icons-path/Pagali.d.ts +1 -0
- package/dist/icons-path/PaperList.d.ts +1 -0
- package/dist/icons-path/PieChart.d.ts +1 -0
- package/dist/icons-path/Pix.d.ts +1 -0
- package/dist/icons-path/Plus.d.ts +1 -0
- package/dist/icons-path/PlusCircle.d.ts +1 -0
- package/dist/icons-path/Print.d.ts +1 -0
- package/dist/icons-path/Product.d.ts +1 -0
- package/dist/icons-path/QuestionCircle.d.ts +1 -0
- package/dist/icons-path/Reload.d.ts +1 -0
- package/dist/icons-path/Rocket.d.ts +1 -0
- package/dist/icons-path/Search.d.ts +1 -0
- package/dist/icons-path/Share.d.ts +1 -0
- package/dist/icons-path/ShoppingBag.d.ts +1 -0
- package/dist/icons-path/ShoppingCart.d.ts +1 -0
- package/dist/icons-path/SortDown.d.ts +1 -0
- package/dist/icons-path/Store.d.ts +1 -0
- package/dist/icons-path/Sync.d.ts +1 -0
- package/dist/icons-path/Table.d.ts +1 -0
- package/dist/icons-path/ThinAngleRight.d.ts +1 -0
- package/dist/icons-path/TimesCircle.d.ts +1 -0
- package/dist/icons-path/Trash.d.ts +1 -0
- package/dist/icons-path/Trophy.d.ts +1 -0
- package/dist/icons-path/Truck.d.ts +1 -0
- package/dist/icons-path/Tv.d.ts +1 -0
- package/dist/icons-path/Upload.d.ts +1 -0
- package/dist/icons-path/UsdCircle.d.ts +1 -0
- package/dist/icons-path/User.d.ts +1 -0
- package/dist/icons-path/WhatsApp.d.ts +1 -0
- package/dist/icons-path/index.d.ts +98 -0
- package/dist/icons-path/index.js +1 -1
- package/dist/index.d.ts +5 -31
- package/dist/index.js +31 -29
- package/dist/indicators/Alert/Alert.client.d.ts +47 -0
- package/dist/indicators/Alert/index.d.ts +1 -50
- package/dist/indicators/Alert/index.js +4 -4
- package/dist/indicators/Badge/Badge.d.ts +30 -0
- package/dist/indicators/Badge/index.d.ts +1 -33
- package/dist/indicators/Badge/index.js +2 -2
- package/dist/indicators/Tag/Tag.d.ts +32 -0
- package/dist/indicators/Tag/index.d.ts +1 -36
- package/dist/indicators/Tag/index.js +5 -5
- package/dist/indicators/Toast/Toast.client.d.ts +9 -0
- package/dist/indicators/Toast/index.css +1 -0
- package/dist/indicators/Toast/index.d.ts +1 -0
- package/dist/indicators/Toast/index.js +12 -0
- package/dist/indicators/Tooltip/Tooltip.client.d.ts +54 -0
- package/dist/indicators/Tooltip/index.d.ts +1 -57
- package/dist/indicators/index.d.ts +4 -0
- package/dist/indicators/index.js +7 -7
- package/dist/layout/ActionBar/ActionBar.client.d.ts +15 -0
- package/dist/layout/ActionBar/index.d.ts +1 -21
- package/dist/layout/ActionBar/index.js +5 -5
- package/dist/layout/Box/Box.d.ts +68 -0
- package/dist/layout/Box/index.d.ts +1 -71
- package/dist/layout/Box/index.js +4 -4
- package/dist/layout/Container/Container.d.ts +15 -0
- package/dist/layout/Container/index.d.ts +1 -18
- package/dist/layout/Container/index.js +2 -2
- package/dist/layout/constants.d.ts +4 -0
- package/dist/layout/index.d.ts +3 -0
- package/dist/layout/index.js +7 -7
- package/dist/lib/utils.d.ts +5 -0
- package/dist/lib/utils.js +1 -0
- package/dist/navigation/Breadcrumb/Breadcrumb.d.ts +43 -0
- package/dist/navigation/Breadcrumb/index.d.ts +1 -45
- package/dist/navigation/Breadcrumb/index.js +5 -5
- package/dist/navigation/HelpLink/HelpLink.d.ts +30 -0
- package/dist/navigation/HelpLink/index.d.ts +1 -32
- package/dist/navigation/HelpLink/index.js +4 -4
- package/dist/navigation/Pagination/Pagination.client.d.ts +11 -0
- package/dist/navigation/Pagination/PaginationInfo.d.ts +24 -0
- package/dist/navigation/Pagination/PaginationNav.d.ts +17 -0
- package/dist/navigation/Pagination/index.d.ts +1 -0
- package/dist/navigation/Pagination/index.js +8 -0
- package/dist/navigation/Stepper/Stepper.client.d.ts +29 -0
- package/dist/navigation/Stepper/index.d.ts +1 -31
- package/dist/navigation/Stepper/index.js +2 -2
- package/dist/navigation/index.d.ts +4 -0
- package/dist/navigation/index.js +11 -7
- package/package.json +18 -3
- /package/dist/{chunk-IA7GSQNX.js → chunk-4PUGMMDC.js} +0 -0
- /package/dist/{chunk-KOVXAJCN.js → chunk-66GVVFKI.js} +0 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { IconProps } from '../Icon';
|
|
4
|
+
declare const buttonVariants: (props?: ({
|
|
5
|
+
variant?: "primary" | "secondary" | "tertiary" | "warning" | "danger" | "outline" | "outlineSecondary" | "onlyText" | null | undefined;
|
|
6
|
+
size?: "small" | "default" | "large" | null | undefined;
|
|
7
|
+
disabled?: boolean | null | undefined;
|
|
8
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
9
|
+
declare const Button: React.MemoExoticComponent<React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonAnchorElement>>>;
|
|
10
|
+
type ButtonAnchorProps = React.ButtonHTMLAttributes<HTMLButtonElement> & React.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
11
|
+
type HTMLButtonAnchorElement = HTMLButtonElement & HTMLAnchorElement;
|
|
12
|
+
type ButtonVariantsType = VariantProps<typeof buttonVariants>;
|
|
13
|
+
interface ButtonProps extends ButtonAnchorProps, ButtonVariantsType {
|
|
14
|
+
/** Type of component to use
|
|
15
|
+
* @default button
|
|
16
|
+
* */
|
|
17
|
+
as?: 'a' | 'button';
|
|
18
|
+
/**
|
|
19
|
+
* Custom class
|
|
20
|
+
*/
|
|
21
|
+
className?: string;
|
|
22
|
+
/** Button variant
|
|
23
|
+
* @default primary
|
|
24
|
+
* */
|
|
25
|
+
variant?: 'primary' | 'secondary' | 'outlineSecondary' | 'tertiary' | 'warning' | 'danger' | 'outline' | 'onlyText';
|
|
26
|
+
/** Size of the button
|
|
27
|
+
* @default default
|
|
28
|
+
* */
|
|
29
|
+
size?: 'small' | 'default' | 'large';
|
|
30
|
+
/**
|
|
31
|
+
* Button is loading
|
|
32
|
+
* */
|
|
33
|
+
loading?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Button is disabled
|
|
36
|
+
* */
|
|
37
|
+
disabled?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Icon of the button
|
|
40
|
+
*/
|
|
41
|
+
icon?: IconProps['icon'];
|
|
42
|
+
/**
|
|
43
|
+
* Icon of the button
|
|
44
|
+
* @default 'right'
|
|
45
|
+
*/
|
|
46
|
+
iconPosition?: 'left' | 'right';
|
|
47
|
+
}
|
|
48
|
+
export { Button, type ButtonProps };
|
|
@@ -1,52 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { VariantProps } from 'class-variance-authority';
|
|
3
|
-
import React__default from 'react';
|
|
4
|
-
import { IconProps } from '../Icon/index.js';
|
|
5
|
-
import 'react/jsx-runtime';
|
|
6
|
-
|
|
7
|
-
declare const buttonVariants: (props?: ({
|
|
8
|
-
variant?: "primary" | "secondary" | "tertiary" | "warning" | "danger" | "outline" | "outlineSecondary" | "onlyText" | null | undefined;
|
|
9
|
-
size?: "small" | "default" | "large" | null | undefined;
|
|
10
|
-
disabled?: boolean | null | undefined;
|
|
11
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
12
|
-
declare const Button: React__default.MemoExoticComponent<React__default.ForwardRefExoticComponent<ButtonProps & React__default.RefAttributes<HTMLButtonAnchorElement>>>;
|
|
13
|
-
type ButtonAnchorProps = React__default.ButtonHTMLAttributes<HTMLButtonElement> & React__default.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
14
|
-
type HTMLButtonAnchorElement = HTMLButtonElement & HTMLAnchorElement;
|
|
15
|
-
type ButtonVariantsType = VariantProps<typeof buttonVariants>;
|
|
16
|
-
interface ButtonProps extends ButtonAnchorProps, ButtonVariantsType {
|
|
17
|
-
/** Type of component to use
|
|
18
|
-
* @default button
|
|
19
|
-
* */
|
|
20
|
-
as?: 'a' | 'button';
|
|
21
|
-
/**
|
|
22
|
-
* Custom class
|
|
23
|
-
*/
|
|
24
|
-
className?: string;
|
|
25
|
-
/** Button variant
|
|
26
|
-
* @default primary
|
|
27
|
-
* */
|
|
28
|
-
variant?: 'primary' | 'secondary' | 'outlineSecondary' | 'tertiary' | 'warning' | 'danger' | 'outline' | 'onlyText';
|
|
29
|
-
/** Size of the button
|
|
30
|
-
* @default default
|
|
31
|
-
* */
|
|
32
|
-
size?: 'small' | 'default' | 'large';
|
|
33
|
-
/**
|
|
34
|
-
* Button is loading
|
|
35
|
-
* */
|
|
36
|
-
loading?: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Button is disabled
|
|
39
|
-
* */
|
|
40
|
-
disabled?: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* Icon of the button
|
|
43
|
-
*/
|
|
44
|
-
icon?: IconProps['icon'];
|
|
45
|
-
/**
|
|
46
|
-
* Icon of the button
|
|
47
|
-
* @default 'right'
|
|
48
|
-
*/
|
|
49
|
-
iconPosition?: 'left' | 'right';
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export { Button, type ButtonProps };
|
|
1
|
+
export * from './Button';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { a as Button } from '../../chunk-
|
|
1
|
+
export { a as Button } from '../../chunk-I32MZTHH.js';
|
|
2
2
|
import '../../chunk-LTWCICTK.js';
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-PFWHNMTS.js';
|
|
4
|
+
import '../../chunk-WTH3TAIX.js';
|
|
5
|
+
import '../../chunk-AGCI6C3Z.js';
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { ColumnDef } from '@tanstack/react-table';
|
|
2
|
+
declare const DataTable: <TData>({ columns: columnsProps, data, isLoading, error, selectable, showSelectAll, showCountSelected, onChange, selectedIds, disabledIds, id, emptyText, errorText }: DataTableProps<TData>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
type DataTableColumn<TData> = ColumnDef<TData> & {
|
|
4
|
+
className?: {
|
|
5
|
+
header?: string;
|
|
6
|
+
cell?: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
interface DataTableProps<TData> {
|
|
10
|
+
/**
|
|
11
|
+
* Array of columns to be displayed in the table
|
|
12
|
+
*/
|
|
13
|
+
columns: DataTableColumn<TData>[];
|
|
14
|
+
/**
|
|
15
|
+
* Array of data to be displayed in the table
|
|
16
|
+
*/
|
|
17
|
+
data?: TData[];
|
|
18
|
+
/**
|
|
19
|
+
* Table is loading
|
|
20
|
+
* @default false
|
|
21
|
+
*/
|
|
22
|
+
isLoading?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Table has an error
|
|
25
|
+
* @default false
|
|
26
|
+
*/
|
|
27
|
+
error?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Makes rows selectable.
|
|
30
|
+
* @default false
|
|
31
|
+
*/
|
|
32
|
+
selectable?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Show select all checkbox in the header,
|
|
35
|
+
* when the table is selectable.
|
|
36
|
+
* @default true
|
|
37
|
+
*/
|
|
38
|
+
showSelectAll?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Show count of selected rows in the header
|
|
41
|
+
* @default true
|
|
42
|
+
*/
|
|
43
|
+
showCountSelected?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Content to show when table is empty
|
|
46
|
+
* @default 'Nenhum registro encontrado'
|
|
47
|
+
*/
|
|
48
|
+
emptyText?: string | React.ReactNode;
|
|
49
|
+
/**
|
|
50
|
+
* Content to show when an error occurs
|
|
51
|
+
* @default 'Ocorreu um erro ao carregar os itens.'
|
|
52
|
+
*/
|
|
53
|
+
errorText?: string | React.ReactNode;
|
|
54
|
+
/**
|
|
55
|
+
* Fired when the row is selectable and the Checkbox of the header/row is clicked
|
|
56
|
+
*/
|
|
57
|
+
onChange?: (selectedRows: string[]) => void;
|
|
58
|
+
/**
|
|
59
|
+
* Array containing the id of selected rows.
|
|
60
|
+
* @default undefined
|
|
61
|
+
*/
|
|
62
|
+
selectedIds?: string[];
|
|
63
|
+
/**
|
|
64
|
+
* Array containing the id of disabled rows.
|
|
65
|
+
* @default []
|
|
66
|
+
*/
|
|
67
|
+
disabledIds?: string[];
|
|
68
|
+
/**
|
|
69
|
+
* Id of the table.
|
|
70
|
+
* @default undefined
|
|
71
|
+
*/
|
|
72
|
+
id?: string;
|
|
73
|
+
}
|
|
74
|
+
export { DataTable, type DataTableColumn, type DataTableProps };
|
|
@@ -1,77 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { ColumnDef } from '@tanstack/react-table';
|
|
3
|
-
|
|
4
|
-
declare const DataTable: <TData>({ columns: columnsProps, data, isLoading, error, selectable, showSelectAll, showCountSelected, onChange, selectedIds, disabledIds, id, emptyText, errorText }: DataTableProps<TData>) => react_jsx_runtime.JSX.Element;
|
|
5
|
-
type DataTableColumn<TData> = ColumnDef<TData> & {
|
|
6
|
-
className?: {
|
|
7
|
-
header?: string;
|
|
8
|
-
cell?: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
interface DataTableProps<TData> {
|
|
12
|
-
/**
|
|
13
|
-
* Array of columns to be displayed in the table
|
|
14
|
-
*/
|
|
15
|
-
columns: DataTableColumn<TData>[];
|
|
16
|
-
/**
|
|
17
|
-
* Array of data to be displayed in the table
|
|
18
|
-
*/
|
|
19
|
-
data?: TData[];
|
|
20
|
-
/**
|
|
21
|
-
* Table is loading
|
|
22
|
-
* @default false
|
|
23
|
-
*/
|
|
24
|
-
isLoading?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Table has an error
|
|
27
|
-
* @default false
|
|
28
|
-
*/
|
|
29
|
-
error?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Makes rows selectable.
|
|
32
|
-
* @default false
|
|
33
|
-
*/
|
|
34
|
-
selectable?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Show select all checkbox in the header,
|
|
37
|
-
* when the table is selectable.
|
|
38
|
-
* @default true
|
|
39
|
-
*/
|
|
40
|
-
showSelectAll?: boolean;
|
|
41
|
-
/**
|
|
42
|
-
* Show count of selected rows in the header
|
|
43
|
-
* @default true
|
|
44
|
-
*/
|
|
45
|
-
showCountSelected?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Content to show when table is empty
|
|
48
|
-
* @default 'Nenhum registro encontrado'
|
|
49
|
-
*/
|
|
50
|
-
emptyText?: string | React.ReactNode;
|
|
51
|
-
/**
|
|
52
|
-
* Content to show when an error occurs
|
|
53
|
-
* @default 'Ocorreu um erro ao carregar os itens.'
|
|
54
|
-
*/
|
|
55
|
-
errorText?: string | React.ReactNode;
|
|
56
|
-
/**
|
|
57
|
-
* Fired when the row is selectable and the Checkbox of the header/row is clicked
|
|
58
|
-
*/
|
|
59
|
-
onChange?: (selectedRows: string[]) => void;
|
|
60
|
-
/**
|
|
61
|
-
* Array containing the id of selected rows.
|
|
62
|
-
* @default undefined
|
|
63
|
-
*/
|
|
64
|
-
selectedIds?: string[];
|
|
65
|
-
/**
|
|
66
|
-
* Array containing the id of disabled rows.
|
|
67
|
-
* @default []
|
|
68
|
-
*/
|
|
69
|
-
disabledIds?: string[];
|
|
70
|
-
/**
|
|
71
|
-
* Id of the table.
|
|
72
|
-
* @default undefined
|
|
73
|
-
*/
|
|
74
|
-
id?: string;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export { DataTable, type DataTableColumn, type DataTableProps };
|
|
1
|
+
export * from './DataTable.client';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use client";export { a as DataTable } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
6
|
-
import '../../chunk-
|
|
1
|
+
"use client";export { a as DataTable } from '../../chunk-NNACMTUZ.js';
|
|
2
|
+
import '../../chunk-VFFDRP2O.js';
|
|
3
|
+
import '../../chunk-TJKZQP6P.js';
|
|
4
|
+
import '../../chunk-NRAIF4I3.js';
|
|
5
|
+
import '../../chunk-BW4TJLAD.js';
|
|
6
|
+
import '../../chunk-AGCI6C3Z.js';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
|
+
import { icons } from '../../icons-path';
|
|
3
|
+
declare const iconSizes: {
|
|
4
|
+
1: string;
|
|
5
|
+
2: string;
|
|
6
|
+
3: string;
|
|
7
|
+
4: string;
|
|
8
|
+
5: string;
|
|
9
|
+
6: string;
|
|
10
|
+
7: string;
|
|
11
|
+
8: string;
|
|
12
|
+
9: string;
|
|
13
|
+
10: string;
|
|
14
|
+
};
|
|
15
|
+
declare const Icon: FunctionComponent<IconProps>;
|
|
16
|
+
interface IconProps {
|
|
17
|
+
/**
|
|
18
|
+
* Icon variation
|
|
19
|
+
*/
|
|
20
|
+
icon: keyof typeof icons;
|
|
21
|
+
/** Icon size, number between 1 and 10
|
|
22
|
+
* @default 5
|
|
23
|
+
*/
|
|
24
|
+
size?: keyof typeof iconSizes;
|
|
25
|
+
/**
|
|
26
|
+
* Additional classes for icon
|
|
27
|
+
*/
|
|
28
|
+
className?: string;
|
|
29
|
+
}
|
|
30
|
+
export { Icon, type IconProps };
|
|
@@ -1,127 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
|
|
4
|
-
declare const icons: {
|
|
5
|
-
adjust: () => react_jsx_runtime.JSX.Element;
|
|
6
|
-
angleDiagonal: () => react_jsx_runtime.JSX.Element;
|
|
7
|
-
angleDown: () => react_jsx_runtime.JSX.Element;
|
|
8
|
-
angleHeight: () => react_jsx_runtime.JSX.Element;
|
|
9
|
-
angleLeft: () => react_jsx_runtime.JSX.Element;
|
|
10
|
-
angleRight: () => react_jsx_runtime.JSX.Element;
|
|
11
|
-
angleWidth: () => react_jsx_runtime.JSX.Element;
|
|
12
|
-
app: () => react_jsx_runtime.JSX.Element;
|
|
13
|
-
arrow: () => react_jsx_runtime.JSX.Element;
|
|
14
|
-
arrowLeft: () => react_jsx_runtime.JSX.Element;
|
|
15
|
-
arrowRight: () => react_jsx_runtime.JSX.Element;
|
|
16
|
-
back: () => react_jsx_runtime.JSX.Element;
|
|
17
|
-
ban: () => react_jsx_runtime.JSX.Element;
|
|
18
|
-
barcodeRead: () => react_jsx_runtime.JSX.Element;
|
|
19
|
-
bell: () => react_jsx_runtime.JSX.Element;
|
|
20
|
-
blog: () => react_jsx_runtime.JSX.Element;
|
|
21
|
-
bullhorn: () => react_jsx_runtime.JSX.Element;
|
|
22
|
-
calculator: () => react_jsx_runtime.JSX.Element;
|
|
23
|
-
calendarAlt: () => react_jsx_runtime.JSX.Element;
|
|
24
|
-
camera: () => react_jsx_runtime.JSX.Element;
|
|
25
|
-
check: () => react_jsx_runtime.JSX.Element;
|
|
26
|
-
checkCircle: () => react_jsx_runtime.JSX.Element;
|
|
27
|
-
clock: () => react_jsx_runtime.JSX.Element;
|
|
28
|
-
close: () => react_jsx_runtime.JSX.Element;
|
|
29
|
-
cog: () => react_jsx_runtime.JSX.Element;
|
|
30
|
-
copy: () => react_jsx_runtime.JSX.Element;
|
|
31
|
-
creditcard: () => react_jsx_runtime.JSX.Element;
|
|
32
|
-
discount: () => react_jsx_runtime.JSX.Element;
|
|
33
|
-
desktop: () => react_jsx_runtime.JSX.Element;
|
|
34
|
-
download: () => react_jsx_runtime.JSX.Element;
|
|
35
|
-
edit: () => react_jsx_runtime.JSX.Element;
|
|
36
|
-
exchange: () => react_jsx_runtime.JSX.Element;
|
|
37
|
-
exclamation: () => react_jsx_runtime.JSX.Element;
|
|
38
|
-
exclamationCircle: () => react_jsx_runtime.JSX.Element;
|
|
39
|
-
exclamationTriangle: () => react_jsx_runtime.JSX.Element;
|
|
40
|
-
externalLink: () => react_jsx_runtime.JSX.Element;
|
|
41
|
-
eye: () => react_jsx_runtime.JSX.Element;
|
|
42
|
-
eyeSlash: () => react_jsx_runtime.JSX.Element;
|
|
43
|
-
filter: () => react_jsx_runtime.JSX.Element;
|
|
44
|
-
halfBack: () => react_jsx_runtime.JSX.Element;
|
|
45
|
-
home: () => react_jsx_runtime.JSX.Element;
|
|
46
|
-
iconSolidEnviali: () => react_jsx_runtime.JSX.Element;
|
|
47
|
-
iconSolidLI: () => react_jsx_runtime.JSX.Element;
|
|
48
|
-
image: () => react_jsx_runtime.JSX.Element;
|
|
49
|
-
infoCircle: () => react_jsx_runtime.JSX.Element;
|
|
50
|
-
lightbulb: () => react_jsx_runtime.JSX.Element;
|
|
51
|
-
link: () => react_jsx_runtime.JSX.Element;
|
|
52
|
-
loading: () => react_jsx_runtime.JSX.Element;
|
|
53
|
-
minus: () => react_jsx_runtime.JSX.Element;
|
|
54
|
-
mobile: () => react_jsx_runtime.JSX.Element;
|
|
55
|
-
moneyBill: () => react_jsx_runtime.JSX.Element;
|
|
56
|
-
move: () => react_jsx_runtime.JSX.Element;
|
|
57
|
-
nav: () => react_jsx_runtime.JSX.Element;
|
|
58
|
-
order: () => react_jsx_runtime.JSX.Element;
|
|
59
|
-
pagali: () => react_jsx_runtime.JSX.Element;
|
|
60
|
-
paperList: () => react_jsx_runtime.JSX.Element;
|
|
61
|
-
pieChart: () => react_jsx_runtime.JSX.Element;
|
|
62
|
-
pix: () => react_jsx_runtime.JSX.Element;
|
|
63
|
-
plus: () => react_jsx_runtime.JSX.Element;
|
|
64
|
-
plusCircle: () => react_jsx_runtime.JSX.Element;
|
|
65
|
-
print: () => react_jsx_runtime.JSX.Element;
|
|
66
|
-
product: () => react_jsx_runtime.JSX.Element;
|
|
67
|
-
questionCircle: () => react_jsx_runtime.JSX.Element;
|
|
68
|
-
reload: () => react_jsx_runtime.JSX.Element;
|
|
69
|
-
rocket: () => react_jsx_runtime.JSX.Element;
|
|
70
|
-
search: () => react_jsx_runtime.JSX.Element;
|
|
71
|
-
shoppingCart: () => react_jsx_runtime.JSX.Element;
|
|
72
|
-
sortDown: () => react_jsx_runtime.JSX.Element;
|
|
73
|
-
sync: () => react_jsx_runtime.JSX.Element;
|
|
74
|
-
thinAngleRight: () => react_jsx_runtime.JSX.Element;
|
|
75
|
-
times: () => react_jsx_runtime.JSX.Element;
|
|
76
|
-
timesCircle: () => react_jsx_runtime.JSX.Element;
|
|
77
|
-
trash: () => react_jsx_runtime.JSX.Element;
|
|
78
|
-
truck: () => react_jsx_runtime.JSX.Element;
|
|
79
|
-
tv: () => react_jsx_runtime.JSX.Element;
|
|
80
|
-
upload: () => react_jsx_runtime.JSX.Element;
|
|
81
|
-
usdCircle: () => react_jsx_runtime.JSX.Element;
|
|
82
|
-
user: () => react_jsx_runtime.JSX.Element;
|
|
83
|
-
whatsapp: () => react_jsx_runtime.JSX.Element;
|
|
84
|
-
clockwise: () => react_jsx_runtime.JSX.Element;
|
|
85
|
-
defaultCursor: () => react_jsx_runtime.JSX.Element;
|
|
86
|
-
envelope: () => react_jsx_runtime.JSX.Element;
|
|
87
|
-
exchangeY: () => react_jsx_runtime.JSX.Element;
|
|
88
|
-
hashtag: () => react_jsx_runtime.JSX.Element;
|
|
89
|
-
identificationBadge: () => react_jsx_runtime.JSX.Element;
|
|
90
|
-
listItems: () => react_jsx_runtime.JSX.Element;
|
|
91
|
-
store: () => react_jsx_runtime.JSX.Element;
|
|
92
|
-
trophy: () => react_jsx_runtime.JSX.Element;
|
|
93
|
-
dashedCircle: () => react_jsx_runtime.JSX.Element;
|
|
94
|
-
minusCircle: () => react_jsx_runtime.JSX.Element;
|
|
95
|
-
minusCircleSolid: () => react_jsx_runtime.JSX.Element;
|
|
96
|
-
dotsThree: () => react_jsx_runtime.JSX.Element;
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
declare const iconSizes: {
|
|
100
|
-
1: string;
|
|
101
|
-
2: string;
|
|
102
|
-
3: string;
|
|
103
|
-
4: string;
|
|
104
|
-
5: string;
|
|
105
|
-
6: string;
|
|
106
|
-
7: string;
|
|
107
|
-
8: string;
|
|
108
|
-
9: string;
|
|
109
|
-
10: string;
|
|
110
|
-
};
|
|
111
|
-
declare const Icon: FunctionComponent<IconProps>;
|
|
112
|
-
interface IconProps {
|
|
113
|
-
/**
|
|
114
|
-
* Icon variation
|
|
115
|
-
*/
|
|
116
|
-
icon: keyof typeof icons;
|
|
117
|
-
/** Icon size, number between 1 and 10
|
|
118
|
-
* @default 5
|
|
119
|
-
*/
|
|
120
|
-
size?: keyof typeof iconSizes;
|
|
121
|
-
/**
|
|
122
|
-
* Additional classes for icon
|
|
123
|
-
*/
|
|
124
|
-
className?: string;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
export { Icon, type IconProps };
|
|
1
|
+
export * from './Icon';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../../chunk-LTWCICTK.js';
|
|
2
|
-
export { a as Icon } from '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
2
|
+
export { a as Icon } from '../../chunk-PFWHNMTS.js';
|
|
3
|
+
import '../../chunk-WTH3TAIX.js';
|
|
4
|
+
import '../../chunk-AGCI6C3Z.js';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FunctionComponent } from 'react';
|
|
2
|
+
import { IconProps } from '../Icon';
|
|
3
|
+
type variantType = 'success' | 'warning' | 'danger';
|
|
4
|
+
export declare const IconCircular: FunctionComponent<IconCircularProps>;
|
|
5
|
+
export interface IconCircularProps {
|
|
6
|
+
/** Icon circular variant
|
|
7
|
+
* @default success
|
|
8
|
+
* */
|
|
9
|
+
variant?: variantType;
|
|
10
|
+
/**
|
|
11
|
+
* Icon variation
|
|
12
|
+
*/
|
|
13
|
+
icon?: IconProps['icon'];
|
|
14
|
+
/**
|
|
15
|
+
* Custom class for background
|
|
16
|
+
*/
|
|
17
|
+
bgClass?: string;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -1,22 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { IconProps } from '../Icon/index.js';
|
|
3
|
-
import 'react/jsx-runtime';
|
|
4
|
-
|
|
5
|
-
type variantType = 'success' | 'warning' | 'danger';
|
|
6
|
-
declare const IconCircular: FunctionComponent<IconCircularProps>;
|
|
7
|
-
interface IconCircularProps {
|
|
8
|
-
/** Icon circular variant
|
|
9
|
-
* @default success
|
|
10
|
-
* */
|
|
11
|
-
variant?: variantType;
|
|
12
|
-
/**
|
|
13
|
-
* Icon variation
|
|
14
|
-
*/
|
|
15
|
-
icon?: IconProps['icon'];
|
|
16
|
-
/**
|
|
17
|
-
* Custom class for background
|
|
18
|
-
*/
|
|
19
|
-
bgClass?: string;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export { IconCircular, type IconCircularProps };
|
|
1
|
+
export * from './IconCircular';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { a as IconCircular } from '../../chunk-
|
|
1
|
+
export { a as IconCircular } from '../../chunk-TMUYSF5D.js';
|
|
2
2
|
import '../../chunk-LTWCICTK.js';
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-PFWHNMTS.js';
|
|
4
|
+
import '../../chunk-WTH3TAIX.js';
|
|
5
|
+
import '../../chunk-AGCI6C3Z.js';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const LoadingPlaceholder: React.MemoExoticComponent<({ className }: LoadingPlaceholderProps) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
+
interface LoadingPlaceholderProps {
|
|
4
|
+
/**
|
|
5
|
+
* Custom class name
|
|
6
|
+
*/
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
export { LoadingPlaceholder, type LoadingPlaceholderProps };
|
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
|
|
4
|
-
declare const LoadingPlaceholder: React__default.MemoExoticComponent<({ className }: LoadingPlaceholderProps) => react_jsx_runtime.JSX.Element>;
|
|
5
|
-
interface LoadingPlaceholderProps {
|
|
6
|
-
/**
|
|
7
|
-
* Custom class name
|
|
8
|
-
*/
|
|
9
|
-
className?: string;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export { LoadingPlaceholder, type LoadingPlaceholderProps };
|
|
1
|
+
export * from './LoadingPlaceholder';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { a as LoadingPlaceholder } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { a as LoadingPlaceholder } from '../../chunk-VFFDRP2O.js';
|
|
2
|
+
import '../../chunk-AGCI6C3Z.js';
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import './style.scss';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
declare const Modal: React.MemoExoticComponent<({ className, isOpen, preventClose, size, headerStep, headerTitle, headerClose, footerActions, onClose, closeTimeout, parentSelector, children }: ModalProps) => import("react/jsx-runtime").JSX.Element>;
|
|
4
|
+
interface ModalProps {
|
|
5
|
+
/**
|
|
6
|
+
* Custom class name
|
|
7
|
+
* */
|
|
8
|
+
className?: string;
|
|
9
|
+
/** Modal is open
|
|
10
|
+
* @default false
|
|
11
|
+
*/
|
|
12
|
+
isOpen?: boolean;
|
|
13
|
+
/** Prevent modal close
|
|
14
|
+
* @default false
|
|
15
|
+
*/
|
|
16
|
+
preventClose?: boolean;
|
|
17
|
+
/** Modal width
|
|
18
|
+
* @default 'default'
|
|
19
|
+
* */
|
|
20
|
+
size?: 'default' | 'large' | 'small';
|
|
21
|
+
/**
|
|
22
|
+
* Modal step, above the title
|
|
23
|
+
* */
|
|
24
|
+
headerStep?: string | React.ReactNode;
|
|
25
|
+
/**
|
|
26
|
+
* Modal title
|
|
27
|
+
* */
|
|
28
|
+
headerTitle?: string | React.ReactNode;
|
|
29
|
+
/** Close text at header
|
|
30
|
+
* @default ''
|
|
31
|
+
* */
|
|
32
|
+
headerClose?: string | false;
|
|
33
|
+
/**
|
|
34
|
+
* Call when modal is closed
|
|
35
|
+
* */
|
|
36
|
+
onClose?: () => void;
|
|
37
|
+
/**
|
|
38
|
+
* Number indicating the milliseconds to wait before closing the modal
|
|
39
|
+
* */
|
|
40
|
+
closeTimeout?: number;
|
|
41
|
+
/**
|
|
42
|
+
* React children
|
|
43
|
+
*/
|
|
44
|
+
children?: React.ReactNode;
|
|
45
|
+
/**
|
|
46
|
+
* React children
|
|
47
|
+
*/
|
|
48
|
+
footerActions?: React.ReactNode;
|
|
49
|
+
/** The parent element that the modal will be attached to
|
|
50
|
+
* @default 'document.body'
|
|
51
|
+
*/
|
|
52
|
+
parentSelector?: HTMLElement | null;
|
|
53
|
+
}
|
|
54
|
+
export { Modal, type ModalProps };
|
|
@@ -1,56 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
|
|
4
|
-
declare const Modal: React__default.MemoExoticComponent<({ className, isOpen, preventClose, size, headerStep, headerTitle, headerClose, footerActions, onClose, closeTimeout, parentSelector, children }: ModalProps) => react_jsx_runtime.JSX.Element>;
|
|
5
|
-
interface ModalProps {
|
|
6
|
-
/**
|
|
7
|
-
* Custom class name
|
|
8
|
-
* */
|
|
9
|
-
className?: string;
|
|
10
|
-
/** Modal is open
|
|
11
|
-
* @default false
|
|
12
|
-
*/
|
|
13
|
-
isOpen?: boolean;
|
|
14
|
-
/** Prevent modal close
|
|
15
|
-
* @default false
|
|
16
|
-
*/
|
|
17
|
-
preventClose?: boolean;
|
|
18
|
-
/** Modal width
|
|
19
|
-
* @default 'default'
|
|
20
|
-
* */
|
|
21
|
-
size?: 'default' | 'large' | 'small';
|
|
22
|
-
/**
|
|
23
|
-
* Modal step, above the title
|
|
24
|
-
* */
|
|
25
|
-
headerStep?: string | React__default.ReactNode;
|
|
26
|
-
/**
|
|
27
|
-
* Modal title
|
|
28
|
-
* */
|
|
29
|
-
headerTitle?: string | React__default.ReactNode;
|
|
30
|
-
/** Close text at header
|
|
31
|
-
* @default ''
|
|
32
|
-
* */
|
|
33
|
-
headerClose?: string | false;
|
|
34
|
-
/**
|
|
35
|
-
* Call when modal is closed
|
|
36
|
-
* */
|
|
37
|
-
onClose?: () => void;
|
|
38
|
-
/**
|
|
39
|
-
* Number indicating the milliseconds to wait before closing the modal
|
|
40
|
-
* */
|
|
41
|
-
closeTimeout?: number;
|
|
42
|
-
/**
|
|
43
|
-
* React children
|
|
44
|
-
*/
|
|
45
|
-
children?: React__default.ReactNode;
|
|
46
|
-
/**
|
|
47
|
-
* React children
|
|
48
|
-
*/
|
|
49
|
-
footerActions?: React__default.ReactNode;
|
|
50
|
-
/** The parent element that the modal will be attached to
|
|
51
|
-
* @default 'document.body'
|
|
52
|
-
*/
|
|
53
|
-
parentSelector?: HTMLElement | null;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export { Modal, type ModalProps };
|
|
1
|
+
export * from './Modal.client';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use client";export { a as Modal } from '../../chunk-
|
|
1
|
+
"use client";export { a as Modal } from '../../chunk-XIVJ37WE.js';
|
|
2
2
|
import '../../chunk-LTWCICTK.js';
|
|
3
|
-
import '../../chunk-
|
|
4
|
-
import '../../chunk-
|
|
5
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-PFWHNMTS.js';
|
|
4
|
+
import '../../chunk-WTH3TAIX.js';
|
|
5
|
+
import '../../chunk-AGCI6C3Z.js';
|