@arkyn/types 1.4.53-beta.0 → 1.4.53-beta.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.
- package/dist/api/DeleteDTO.d.ts +12 -0
- package/dist/api/DeleteDTO.d.ts.map +1 -0
- package/dist/api/DeleteDTO.js +1 -0
- package/dist/api/GetDTO.d.ts +15 -0
- package/dist/api/GetDTO.d.ts.map +1 -0
- package/dist/api/GetDTO.js +1 -0
- package/dist/api/InstanceConstructorProps.d.ts +11 -0
- package/dist/api/InstanceConstructorProps.d.ts.map +1 -0
- package/dist/api/InstanceConstructorProps.js +1 -0
- package/dist/api/MonitoringErrorsDTO.d.ts +10 -0
- package/dist/api/MonitoringErrorsDTO.d.ts.map +1 -0
- package/dist/api/MonitoringErrorsDTO.js +1 -0
- package/dist/api/PatchDTO.d.ts +11 -0
- package/dist/api/PatchDTO.d.ts.map +1 -0
- package/dist/api/PatchDTO.js +1 -0
- package/dist/api/PostDTO.d.ts +11 -0
- package/dist/api/PostDTO.d.ts.map +1 -0
- package/dist/api/PostDTO.js +1 -0
- package/dist/api/PutDTO.d.ts +11 -0
- package/dist/api/PutDTO.d.ts.map +1 -0
- package/dist/api/PutDTO.js +1 -0
- package/dist/api/config/InboxFlowDTO.d.ts +6 -0
- package/dist/api/config/InboxFlowDTO.d.ts.map +1 -0
- package/dist/api/config/InboxFlowDTO.js +1 -0
- package/dist/api/config/RedisDTO.d.ts +7 -0
- package/dist/api/config/RedisDTO.d.ts.map +1 -0
- package/dist/api/config/RedisDTO.js +1 -0
- package/dist/api/config/ResponseDTO.d.ts +8 -0
- package/dist/api/config/ResponseDTO.d.ts.map +1 -0
- package/dist/api/config/ResponseDTO.js +1 -0
- package/dist/components/AlertProps.d.ts +11 -0
- package/dist/components/AlertProps.d.ts.map +1 -0
- package/dist/components/AlertProps.js +1 -0
- package/dist/components/AudioUploadProps.d.ts +42 -0
- package/dist/components/AudioUploadProps.d.ts.map +1 -0
- package/dist/components/AudioUploadProps.js +1 -0
- package/dist/components/BadgeProps.d.ts +12 -0
- package/dist/components/BadgeProps.d.ts.map +1 -0
- package/dist/components/BadgeProps.js +1 -0
- package/dist/components/BreadcrumbProps.d.ts +8 -0
- package/dist/components/BreadcrumbProps.d.ts.map +1 -0
- package/dist/components/BreadcrumbProps.js +1 -0
- package/dist/components/ButtonProps.d.ts +14 -0
- package/dist/components/ButtonProps.d.ts.map +1 -0
- package/dist/components/ButtonProps.js +1 -0
- package/dist/components/CardProps.d.ts +4 -0
- package/dist/components/CardProps.d.ts.map +1 -0
- package/dist/components/CardProps.js +1 -0
- package/dist/components/CheckboxProps.d.ts +12 -0
- package/dist/components/CheckboxProps.d.ts.map +1 -0
- package/dist/components/CheckboxProps.js +1 -0
- package/dist/components/DividerProps.d.ts +7 -0
- package/dist/components/DividerProps.d.ts.map +1 -0
- package/dist/components/DividerProps.js +1 -0
- package/dist/components/DrawerProps.d.ts +12 -0
- package/dist/components/DrawerProps.d.ts.map +1 -0
- package/dist/components/DrawerProps.js +1 -0
- package/dist/components/FacebookPixelProps.d.ts +17 -0
- package/dist/components/FacebookPixelProps.d.ts.map +1 -0
- package/dist/components/FacebookPixelProps.js +1 -0
- package/dist/components/FileUploadProps.d.ts +41 -0
- package/dist/components/FileUploadProps.d.ts.map +1 -0
- package/dist/components/FileUploadProps.js +1 -0
- package/dist/components/FormProps.d.ts +15 -0
- package/dist/components/FormProps.d.ts.map +1 -0
- package/dist/components/FormProps.js +1 -0
- package/dist/components/GoogleMapProps.d.ts +11 -0
- package/dist/components/GoogleMapProps.d.ts.map +1 -0
- package/dist/components/GoogleMapProps.js +1 -0
- package/dist/components/GoogleProviderProps.d.ts +4 -0
- package/dist/components/GoogleProviderProps.d.ts.map +1 -0
- package/dist/components/GoogleProviderProps.js +1 -0
- package/dist/components/GoogleSearchPlacesProps.d.ts +21 -0
- package/dist/components/GoogleSearchPlacesProps.d.ts.map +1 -0
- package/dist/components/GoogleSearchPlacesProps.js +1 -0
- package/dist/components/IconButtonProps.d.ts +13 -0
- package/dist/components/IconButtonProps.d.ts.map +1 -0
- package/dist/components/IconButtonProps.js +1 -0
- package/dist/components/ImageUploadProps.d.ts +42 -0
- package/dist/components/ImageUploadProps.d.ts.map +1 -0
- package/dist/components/ImageUploadProps.js +1 -0
- package/dist/components/InputProps.d.ts +39 -0
- package/dist/components/InputProps.d.ts.map +1 -0
- package/dist/components/InputProps.js +1 -0
- package/dist/components/ModalProps.d.ts +14 -0
- package/dist/components/ModalProps.d.ts.map +1 -0
- package/dist/components/ModalProps.js +1 -0
- package/dist/components/MultiSelectProps.d.ts +31 -0
- package/dist/components/MultiSelectProps.d.ts.map +1 -0
- package/dist/components/MultiSelectProps.js +1 -0
- package/dist/components/PaginationProps.d.ts +12 -0
- package/dist/components/PaginationProps.d.ts.map +1 -0
- package/dist/components/PaginationProps.js +1 -0
- package/dist/components/PhoneInputProps.d.ts +71 -0
- package/dist/components/PhoneInputProps.d.ts.map +1 -0
- package/dist/components/PhoneInputProps.js +1 -0
- package/dist/components/PopoverProps.d.ts +11 -0
- package/dist/components/PopoverProps.d.ts.map +1 -0
- package/dist/components/PopoverProps.js +1 -0
- package/dist/components/RadioProps.d.ts +19 -0
- package/dist/components/RadioProps.d.ts.map +1 -0
- package/dist/components/RadioProps.js +1 -0
- package/dist/components/RichTextProps.d.ts +41 -0
- package/dist/components/RichTextProps.d.ts.map +1 -0
- package/dist/components/RichTextProps.js +1 -0
- package/dist/components/SelectProps.d.ts +27 -0
- package/dist/components/SelectProps.d.ts.map +1 -0
- package/dist/components/SelectProps.js +1 -0
- package/dist/components/SkeletonProps.d.ts +4 -0
- package/dist/components/SkeletonProps.d.ts.map +1 -0
- package/dist/components/SkeletonProps.js +1 -0
- package/dist/components/SliderProps.d.ts +8 -0
- package/dist/components/SliderProps.d.ts.map +1 -0
- package/dist/components/SliderProps.js +1 -0
- package/dist/components/SwitchProps.d.ts +12 -0
- package/dist/components/SwitchProps.d.ts.map +1 -0
- package/dist/components/SwitchProps.js +1 -0
- package/dist/components/TabProps.d.ts +12 -0
- package/dist/components/TabProps.d.ts.map +1 -0
- package/dist/components/TabProps.js +1 -0
- package/dist/components/TableProps.d.ts +10 -0
- package/dist/components/TableProps.d.ts.map +1 -0
- package/dist/components/TableProps.js +1 -0
- package/dist/components/TextareaProps.d.ts +9 -0
- package/dist/components/TextareaProps.d.ts.map +1 -0
- package/dist/components/TextareaProps.js +1 -0
- package/dist/components/ToastProps.d.ts +6 -0
- package/dist/components/ToastProps.d.ts.map +1 -0
- package/dist/components/ToastProps.js +1 -0
- package/dist/components/TooltipProps.d.ts +10 -0
- package/dist/components/TooltipProps.d.ts.map +1 -0
- package/dist/components/TooltipProps.js +1 -0
- package/dist/hooks/Drawer.d.ts +17 -0
- package/dist/hooks/Drawer.d.ts.map +1 -0
- package/dist/hooks/Drawer.js +1 -0
- package/dist/hooks/Modal.d.ts +18 -0
- package/dist/hooks/Modal.d.ts.map +1 -0
- package/dist/hooks/Modal.js +1 -0
- package/dist/hooks/Toast.d.ts +10 -0
- package/dist/hooks/Toast.d.ts.map +1 -0
- package/dist/hooks/Toast.js +1 -0
- package/dist/index.d.ts +69 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +73 -0
- package/dist/server/formParseProps.d.ts +20 -0
- package/dist/server/formParseProps.d.ts.map +1 -0
- package/dist/server/formParseProps.js +1 -0
- package/dist/server/httpResponse.d.ts +22 -0
- package/dist/server/httpResponse.d.ts.map +1 -0
- package/dist/server/httpResponse.js +1 -0
- package/dist/shared/formats/formatDate.d.ts +4 -0
- package/dist/shared/formats/formatDate.d.ts.map +1 -0
- package/dist/shared/formats/formatDate.js +1 -0
- package/dist/shared/formats/formatJsonObject.d.ts +3 -0
- package/dist/shared/formats/formatJsonObject.d.ts.map +1 -0
- package/dist/shared/formats/formatJsonObject.js +1 -0
- package/dist/shared/formats/formatJsonString.d.ts +3 -0
- package/dist/shared/formats/formatJsonString.d.ts.map +1 -0
- package/dist/shared/formats/formatJsonString.js +1 -0
- package/dist/shared/formats/formatToCep.d.ts +3 -0
- package/dist/shared/formats/formatToCep.d.ts.map +1 -0
- package/dist/shared/formats/formatToCep.js +1 -0
- package/dist/shared/formats/formatToCnpj.d.ts +3 -0
- package/dist/shared/formats/formatToCnpj.d.ts.map +1 -0
- package/dist/shared/formats/formatToCnpj.js +1 -0
- package/dist/shared/formats/formatToCpf.d.ts +3 -0
- package/dist/shared/formats/formatToCpf.d.ts.map +1 -0
- package/dist/shared/formats/formatToCpf.js +1 -0
- package/dist/shared/formats/formatToCpfCnpj.d.ts +3 -0
- package/dist/shared/formats/formatToCpfCnpj.d.ts.map +1 -0
- package/dist/shared/formats/formatToCpfCnpj.js +1 -0
- package/dist/shared/formats/formatToCurrency.d.ts +8 -0
- package/dist/shared/formats/formatToCurrency.d.ts.map +1 -0
- package/dist/shared/formats/formatToCurrency.js +1 -0
- package/dist/shared/formats/formatToEllipsis.d.ts +3 -0
- package/dist/shared/formats/formatToEllipsis.d.ts.map +1 -0
- package/dist/shared/formats/formatToEllipsis.js +1 -0
- package/dist/shared/formats/formatToHiddenDigits.d.ts +6 -0
- package/dist/shared/formats/formatToHiddenDigits.d.ts.map +1 -0
- package/dist/shared/formats/formatToHiddenDigits.js +1 -0
- package/dist/shared/formats/formatToPhone.d.ts +3 -0
- package/dist/shared/formats/formatToPhone.d.ts.map +1 -0
- package/dist/shared/formats/formatToPhone.js +1 -0
- package/dist/shared/generators/generateColorByString.d.ts +3 -0
- package/dist/shared/generators/generateColorByString.d.ts.map +1 -0
- package/dist/shared/generators/generateColorByString.js +1 -0
- package/dist/shared/services/calculateCardInstallment.d.ts +10 -0
- package/dist/shared/services/calculateCardInstallment.d.ts.map +1 -0
- package/dist/shared/services/calculateCardInstallment.js +1 -0
- package/dist/shared/services/maskSensitiveData.d.ts +3 -0
- package/dist/shared/services/maskSensitiveData.d.ts.map +1 -0
- package/dist/shared/services/maskSensitiveData.js +1 -0
- package/dist/shared/services/removeCurrencySymbols.d.ts +3 -0
- package/dist/shared/services/removeCurrencySymbols.d.ts.map +1 -0
- package/dist/shared/services/removeCurrencySymbols.js +1 -0
- package/dist/shared/services/truncateLargeFields.d.ts +3 -0
- package/dist/shared/services/truncateLargeFields.d.ts.map +1 -0
- package/dist/shared/services/truncateLargeFields.js +1 -0
- package/dist/shared/validations/validateCpf.d.ts +3 -0
- package/dist/shared/validations/validateCpf.d.ts.map +1 -0
- package/dist/shared/validations/validateCpf.js +1 -0
- package/dist/shared/validations/validateDate.d.ts +8 -0
- package/dist/shared/validations/validateDate.d.ts.map +1 -0
- package/dist/shared/validations/validateDate.js +1 -0
- package/dist/shared/validations/validatePhone.d.ts +3 -0
- package/dist/shared/validations/validatePhone.d.ts.map +1 -0
- package/dist/shared/validations/validatePhone.js +1 -0
- package/package.json +1 -1
@@ -0,0 +1,42 @@
|
|
1
|
+
type ImageUploadProps = {
|
2
|
+
name: string;
|
3
|
+
defaultValue?: string | null;
|
4
|
+
disabled?: boolean;
|
5
|
+
label?: string;
|
6
|
+
showAsterisk?: boolean;
|
7
|
+
changeImageButtonText?: string;
|
8
|
+
selectImageButtonText?: string;
|
9
|
+
dropImageText?: string;
|
10
|
+
action: string;
|
11
|
+
method?: string;
|
12
|
+
fileName?: string;
|
13
|
+
fileResponseName?: string;
|
14
|
+
acceptImage?: string;
|
15
|
+
onUpload?: (url?: string) => void;
|
16
|
+
};
|
17
|
+
type ImageUploadNoFileContentProps = {
|
18
|
+
disabled: boolean;
|
19
|
+
acceptImage: string;
|
20
|
+
isLoading: boolean;
|
21
|
+
selectImageButtonText: string;
|
22
|
+
dropImageText: string;
|
23
|
+
handleSelectFile: (file: File) => void;
|
24
|
+
};
|
25
|
+
type ImageUploadLabelProps = {
|
26
|
+
label: string;
|
27
|
+
showAsterisk?: boolean;
|
28
|
+
};
|
29
|
+
type ImageUploadErrorProps = {
|
30
|
+
error: string;
|
31
|
+
};
|
32
|
+
type ImageUploadHasFileContentProps = {
|
33
|
+
disabled: boolean;
|
34
|
+
acceptImage: string;
|
35
|
+
isLoading: boolean;
|
36
|
+
changeImageButtonText: string;
|
37
|
+
filePath: string;
|
38
|
+
reSendImage?: () => void;
|
39
|
+
handleSelectFile: (file: File) => void;
|
40
|
+
};
|
41
|
+
export type { ImageUploadHasFileContentProps, ImageUploadErrorProps, ImageUploadLabelProps, ImageUploadProps, ImageUploadNoFileContentProps, };
|
42
|
+
//# sourceMappingURL=ImageUploadProps.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ImageUploadProps.d.ts","sourceRoot":"","sources":["../../src/components/ImageUploadProps.ts"],"names":[],"mappings":"AAAA,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,QAAQ,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,CAAC;AAEF,KAAK,6BAA6B,GAAG;IACnC,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;CACxC,CAAC;AAEF,KAAK,qBAAqB,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,KAAK,qBAAqB,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,KAAK,8BAA8B,GAAG;IACpC,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,OAAO,CAAC;IACnB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,gBAAgB,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;CACxC,CAAC;AAEF,YAAY,EACV,8BAA8B,EAC9B,qBAAqB,EACrB,qBAAqB,EACrB,gBAAgB,EAChB,6BAA6B,GAC9B,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import type { Replacement } from "@react-input/mask";
|
2
|
+
import type { LucideIcon } from "lucide-react";
|
3
|
+
import type { ChangeEvent, InputHTMLAttributes, KeyboardEvent } from "react";
|
4
|
+
type InputBaseTypes = "button" | "color" | "date" | "datetime-local" | "email" | "file" | "hidden" | "image" | "month" | "number" | "password" | "range" | "reset" | "search" | "submit" | "tel" | "text" | "time" | "url" | "week";
|
5
|
+
type BaseInputProps<T extends string> = {
|
6
|
+
isLoading?: boolean;
|
7
|
+
isError?: boolean;
|
8
|
+
size?: "md" | "lg";
|
9
|
+
variant?: "solid" | "outline" | "underline";
|
10
|
+
prefix?: string | LucideIcon;
|
11
|
+
sufix?: string | LucideIcon;
|
12
|
+
leftIcon?: LucideIcon;
|
13
|
+
rightIcon?: LucideIcon;
|
14
|
+
type: T;
|
15
|
+
name: string;
|
16
|
+
} & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "prefix" | "type" | "name">;
|
17
|
+
type CurrencyInputProps = Omit<BaseInputProps<"currency">, "max" | "defaultValue" | "value" | "onChange"> & {
|
18
|
+
defaultValue?: string | number | null;
|
19
|
+
onChangeValue?: (event: ChangeEvent<HTMLInputElement>, originalValue: string, maskedValue: string) => void;
|
20
|
+
onKeyPress?: (event: KeyboardEvent<HTMLInputElement>, originalValue: string, maskedValue: string) => void;
|
21
|
+
value?: string;
|
22
|
+
max?: number;
|
23
|
+
locale?: string;
|
24
|
+
currency?: string;
|
25
|
+
};
|
26
|
+
type MaskedInputProps = BaseInputProps<"masked"> & {
|
27
|
+
mask: string;
|
28
|
+
separate?: boolean;
|
29
|
+
replacement?: string | Replacement;
|
30
|
+
showMask?: boolean;
|
31
|
+
};
|
32
|
+
type CpfCnpjInputProps = Omit<BaseInputProps<"cpf-cnpj">, "value" | "defaultValue"> & {
|
33
|
+
defaultValue?: string | null;
|
34
|
+
value?: string;
|
35
|
+
};
|
36
|
+
type SimpleInputProps = BaseInputProps<InputBaseTypes>;
|
37
|
+
type InputProps = CurrencyInputProps | SimpleInputProps | MaskedInputProps | CpfCnpjInputProps;
|
38
|
+
export type { BaseInputProps, CpfCnpjInputProps, CurrencyInputProps, InputProps, MaskedInputProps, SimpleInputProps, };
|
39
|
+
//# sourceMappingURL=InputProps.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"InputProps.d.ts","sourceRoot":"","sources":["../../src/components/InputProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE7E,KAAK,cAAc,GACf,QAAQ,GACR,OAAO,GACP,MAAM,GACN,gBAAgB,GAChB,OAAO,GACP,MAAM,GACN,QAAQ,GACR,OAAO,GACP,OAAO,GACP,QAAQ,GACR,UAAU,GACV,OAAO,GACP,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,KAAK,GACL,MAAM,GACN,MAAM,GACN,KAAK,GACL,MAAM,CAAC;AAEX,KAAK,cAAc,CAAC,CAAC,SAAS,MAAM,IAAI;IACtC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,WAAW,CAAC;IAE5C,MAAM,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC;IAE5B,QAAQ,CAAC,EAAE,UAAU,CAAC;IACtB,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,IAAI,EAAE,CAAC,CAAC;IAER,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,IAAI,CACN,mBAAmB,CAAC,gBAAgB,CAAC,EACrC,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CACpC,CAAC;AAEF,KAAK,kBAAkB,GAAG,IAAI,CAC5B,cAAc,CAAC,UAAU,CAAC,EAC1B,KAAK,GAAG,cAAc,GAAG,OAAO,GAAG,UAAU,CAC9C,GAAG;IACF,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IACtC,aAAa,CAAC,EAAE,CACd,KAAK,EAAE,WAAW,CAAC,gBAAgB,CAAC,EACpC,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,KAChB,IAAI,CAAC;IACV,UAAU,CAAC,EAAE,CACX,KAAK,EAAE,aAAa,CAAC,gBAAgB,CAAC,EACtC,aAAa,EAAE,MAAM,EACrB,WAAW,EAAE,MAAM,KAChB,IAAI,CAAC;IACV,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,KAAK,gBAAgB,GAAG,cAAc,CAAC,QAAQ,CAAC,GAAG;IACjD,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,KAAK,iBAAiB,GAAG,IAAI,CAC3B,cAAc,CAAC,UAAU,CAAC,EAC1B,OAAO,GAAG,cAAc,CACzB,GAAG;IACF,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,KAAK,gBAAgB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEvD,KAAK,UAAU,GACX,kBAAkB,GAClB,gBAAgB,GAChB,gBAAgB,GAChB,iBAAiB,CAAC;AAEtB,YAAY,EACV,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EAClB,UAAU,EACV,gBAAgB,EAChB,gBAAgB,GACjB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import type { HTMLAttributes } from "react";
|
2
|
+
type BaseModalProps = HTMLAttributes<HTMLElement>;
|
3
|
+
type ModalContainerProps = BaseModalProps & {
|
4
|
+
isVisibled: boolean;
|
5
|
+
makeInvisible: () => void;
|
6
|
+
};
|
7
|
+
type ModalHeaderProps = BaseModalProps & {
|
8
|
+
showCloseButton?: boolean;
|
9
|
+
};
|
10
|
+
type ModalFooterProps = BaseModalProps & {
|
11
|
+
alignment?: "left" | "center" | "right" | "between" | "around";
|
12
|
+
};
|
13
|
+
export type { ModalContainerProps, ModalHeaderProps, ModalFooterProps };
|
14
|
+
//# sourceMappingURL=ModalProps.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ModalProps.d.ts","sourceRoot":"","sources":["../../src/components/ModalProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,KAAK,cAAc,GAAG,cAAc,CAAC,WAAW,CAAC,CAAC;AAElD,KAAK,mBAAmB,GAAG,cAAc,GAAG;IAC1C,UAAU,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,KAAK,gBAAgB,GAAG,cAAc,GAAG;IACvC,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,KAAK,gBAAgB,GAAG,cAAc,GAAG;IACvC,SAAS,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,CAAC;CAChE,CAAC;AAEF,YAAY,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import type { LucideIcon } from "lucide-react";
|
2
|
+
import type { FocusEvent } from "react";
|
3
|
+
type MultiSelectProps = {
|
4
|
+
name: string;
|
5
|
+
options: {
|
6
|
+
label: string;
|
7
|
+
value: string;
|
8
|
+
}[];
|
9
|
+
value?: string[];
|
10
|
+
defaultValue?: string[];
|
11
|
+
placeholder?: string;
|
12
|
+
notFoundText?: string;
|
13
|
+
className?: string;
|
14
|
+
disabled?: boolean;
|
15
|
+
readOnly?: boolean;
|
16
|
+
isLoading?: boolean;
|
17
|
+
isError?: boolean;
|
18
|
+
isSearchable?: boolean;
|
19
|
+
closeOnSelect?: boolean;
|
20
|
+
onSearch?: (value: string) => void;
|
21
|
+
onSelect?: (value: string[]) => void;
|
22
|
+
onFocus?: () => void;
|
23
|
+
onBlur?: (e: FocusEvent<HTMLDivElement>) => void;
|
24
|
+
size?: "md" | "lg";
|
25
|
+
variant?: "solid" | "outline" | "underline";
|
26
|
+
prefix?: string | LucideIcon;
|
27
|
+
leftIcon?: LucideIcon;
|
28
|
+
optionMaxHeight?: number;
|
29
|
+
};
|
30
|
+
export type { MultiSelectProps };
|
31
|
+
//# sourceMappingURL=MultiSelectProps.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"MultiSelectProps.d.ts","sourceRoot":"","sources":["../../src/components/MultiSelectProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAExC,KAAK,gBAAgB,GAAG;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAE5C,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IAExB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAErC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IAEjD,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,WAAW,CAAC;IAE5C,MAAM,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC;IAC7B,QAAQ,CAAC,EAAE,UAAU,CAAC;IAEtB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,YAAY,EAAE,gBAAgB,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { HTMLAttributes } from "react";
|
2
|
+
type PaginationProps = {
|
3
|
+
scope?: string;
|
4
|
+
pageKey?: string;
|
5
|
+
perPageKey?: string;
|
6
|
+
siblingsCount?: number;
|
7
|
+
totalCountRegisters: number;
|
8
|
+
currentPage?: number;
|
9
|
+
registerPerPage?: number;
|
10
|
+
} & HTMLAttributes<HTMLDivElement>;
|
11
|
+
export type { PaginationProps };
|
12
|
+
//# sourceMappingURL=PaginationProps.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"PaginationProps.d.ts","sourceRoot":"","sources":["../../src/components/PaginationProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,KAAK,eAAe,GAAG;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,YAAY,EAAE,eAAe,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,71 @@
|
|
1
|
+
import { countries } from "@arkyn/templates";
|
2
|
+
import type { ReactNode } from "react";
|
3
|
+
type CountryType = {
|
4
|
+
name: string;
|
5
|
+
code: string;
|
6
|
+
iso: string;
|
7
|
+
prefix: null | string;
|
8
|
+
flag: string;
|
9
|
+
mask: string;
|
10
|
+
};
|
11
|
+
type PhoneInputContainerProps = {
|
12
|
+
children: ReactNode;
|
13
|
+
onFocus: () => void;
|
14
|
+
isError: boolean;
|
15
|
+
disabled: boolean;
|
16
|
+
readOnly: boolean;
|
17
|
+
isLoading: boolean;
|
18
|
+
isFocused: boolean;
|
19
|
+
className?: string;
|
20
|
+
id: string;
|
21
|
+
variant: "solid" | "outline";
|
22
|
+
size: "md" | "lg";
|
23
|
+
};
|
24
|
+
type PhoneInputCountriesOverlayProps = {
|
25
|
+
isOpen: boolean;
|
26
|
+
onClick: () => void;
|
27
|
+
};
|
28
|
+
type PhoneInputCountryOptionProps = {
|
29
|
+
country: CountryType;
|
30
|
+
size: "md" | "lg";
|
31
|
+
isActive: boolean;
|
32
|
+
handleChangeValue: (country: CountryType) => void;
|
33
|
+
};
|
34
|
+
type PhoneInputCountryOptionsContainerProps = {
|
35
|
+
isOpen: boolean;
|
36
|
+
children: ReactNode;
|
37
|
+
search: string;
|
38
|
+
placeholder: string;
|
39
|
+
onSearch: (value: string) => void;
|
40
|
+
};
|
41
|
+
type PhoneInputCountrySelectorProps = {
|
42
|
+
size: "md" | "lg";
|
43
|
+
currentCountry: CountryType;
|
44
|
+
onClick: () => void;
|
45
|
+
};
|
46
|
+
type PhoneInputMaskProps = {
|
47
|
+
onFocus: () => void;
|
48
|
+
onBlur: () => void;
|
49
|
+
disabled: boolean;
|
50
|
+
size: "md" | "lg";
|
51
|
+
currentCountry: CountryType;
|
52
|
+
value: string;
|
53
|
+
onChange: (e: string) => void;
|
54
|
+
};
|
55
|
+
type PhoneInputProps = {
|
56
|
+
disabled?: boolean;
|
57
|
+
readOnly?: boolean;
|
58
|
+
isError?: boolean;
|
59
|
+
isLoading?: boolean;
|
60
|
+
size?: "md" | "lg";
|
61
|
+
variant?: "solid" | "outline";
|
62
|
+
className?: string;
|
63
|
+
defaultValue?: string;
|
64
|
+
notFoundCountryText?: string;
|
65
|
+
name: string;
|
66
|
+
searchCountryPlaceholder?: string;
|
67
|
+
defaultCountry?: (typeof countries)[number]["iso"];
|
68
|
+
onChange?: (e: string) => void;
|
69
|
+
};
|
70
|
+
export type { CountryType, PhoneInputContainerProps, PhoneInputCountriesOverlayProps, PhoneInputCountryOptionProps, PhoneInputCountryOptionsContainerProps, PhoneInputCountrySelectorProps, PhoneInputMaskProps, PhoneInputProps, };
|
71
|
+
//# sourceMappingURL=PhoneInputProps.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"PhoneInputProps.d.ts","sourceRoot":"","sources":["../../src/components/PhoneInputProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,IAAI,GAAG,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,KAAK,wBAAwB,GAAG;IAC9B,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;CACnB,CAAC;AAEF,KAAK,+BAA+B,GAAG;IACrC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,KAAK,4BAA4B,GAAG;IAClC,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,iBAAiB,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,IAAI,CAAC;CACnD,CAAC;AAEF,KAAK,sCAAsC,GAAG;IAC5C,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,CAAC;AAEF,KAAK,8BAA8B,GAAG;IACpC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,cAAc,EAAE,WAAW,CAAC;IAC5B,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,KAAK,mBAAmB,GAAG;IACzB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAClB,cAAc,EAAE,WAAW,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAC/B,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,cAAc,CAAC,EAAE,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,CAAC;IACnD,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CAChC,CAAC;AAEF,YAAY,EACV,WAAW,EACX,wBAAwB,EACxB,+BAA+B,EAC/B,4BAA4B,EAC5B,sCAAsC,EACtC,8BAA8B,EAC9B,mBAAmB,EACnB,eAAe,GAChB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
import { countries } from "@arkyn/templates";
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import type { ReactNode } from "react";
|
2
|
+
type OrientationProps = "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "top" | "left" | "bottom" | "right";
|
3
|
+
type PopoverProps = {
|
4
|
+
children: ReactNode;
|
5
|
+
button: ReactNode;
|
6
|
+
closeOnClick?: boolean;
|
7
|
+
orientation?: OrientationProps;
|
8
|
+
className?: string;
|
9
|
+
};
|
10
|
+
export type { PopoverProps };
|
11
|
+
//# sourceMappingURL=PopoverProps.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"PopoverProps.d.ts","sourceRoot":"","sources":["../../src/components/PopoverProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,gBAAgB,GACjB,YAAY,GACZ,aAAa,GACb,SAAS,GACT,UAAU,GACV,KAAK,GACL,MAAM,GACN,QAAQ,GACR,OAAO,CAAC;AAEZ,KAAK,YAAY,GAAG;IAClB,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,EAAE,SAAS,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,YAAY,EAAE,YAAY,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import type { ButtonHTMLAttributes, HTMLAttributes } from "react";
|
2
|
+
type RadioGroupProps = {
|
3
|
+
name: string;
|
4
|
+
value?: string;
|
5
|
+
defaultValue?: string;
|
6
|
+
onChange?: (value: string) => void;
|
7
|
+
size?: "sm" | "md" | "lg";
|
8
|
+
} & Omit<HTMLAttributes<HTMLDivElement>, "onChange">;
|
9
|
+
type RadioGroupContextType = {
|
10
|
+
value: string;
|
11
|
+
size: "sm" | "md" | "lg";
|
12
|
+
onChange: (value: string) => void;
|
13
|
+
};
|
14
|
+
type RadioBoxProps = {
|
15
|
+
value: string;
|
16
|
+
size?: "sm" | "md" | "lg";
|
17
|
+
} & ButtonHTMLAttributes<HTMLButtonElement>;
|
18
|
+
export type { RadioBoxProps, RadioGroupContextType, RadioGroupProps };
|
19
|
+
//# sourceMappingURL=RadioProps.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"RadioProps.d.ts","sourceRoot":"","sources":["../../src/components/RadioProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAElE,KAAK,eAAe,GAAG;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,CAAC;AAErD,KAAK,qBAAqB,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACzB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3B,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE5C,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,eAAe,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,41 @@
|
|
1
|
+
type RichTextHiddenButtonKey = "headingOne" | "headingTwo" | "blockQuote" | "bold" | "italic" | "underline" | "code" | "left" | "right" | "center" | "justify" | "image";
|
2
|
+
type RichTextElementFormatType = "blockQuote" | "bulletedList" | "headingOne" | "headingTwo" | "listItem" | "numberedList" | "paragraph" | "image";
|
3
|
+
type RichTextAlignFormatType = "center" | "left" | "right" | "justify";
|
4
|
+
type RichTextMarkFormatType = "bold" | "italic" | "underline" | "code";
|
5
|
+
type RichTextInsertImageProps = {
|
6
|
+
action: string;
|
7
|
+
tabLabels?: [string, string];
|
8
|
+
modalTitle?: string;
|
9
|
+
modalInputUrlLabel?: string;
|
10
|
+
modalInputImageLabel?: string;
|
11
|
+
modalCancelButton?: string;
|
12
|
+
modalConfirmButton?: string;
|
13
|
+
};
|
14
|
+
type RichTextCustomElement = {
|
15
|
+
type: RichTextElementFormatType;
|
16
|
+
align?: RichTextAlignFormatType;
|
17
|
+
src?: string;
|
18
|
+
children?: RichTextValue;
|
19
|
+
};
|
20
|
+
type RichTextCustomText = {
|
21
|
+
bold?: boolean;
|
22
|
+
text: string;
|
23
|
+
italic?: boolean;
|
24
|
+
code?: boolean;
|
25
|
+
underline?: boolean;
|
26
|
+
};
|
27
|
+
type Descendant = RichTextCustomElement | RichTextCustomText;
|
28
|
+
type RichTextProps = {
|
29
|
+
name: string;
|
30
|
+
hiddenButtons?: RichTextHiddenButtonKey[];
|
31
|
+
maxLimit?: number;
|
32
|
+
enforceCharacterLimit?: boolean;
|
33
|
+
defaultValue?: string;
|
34
|
+
isError?: boolean;
|
35
|
+
imageConfig?: RichTextInsertImageProps;
|
36
|
+
onChangeCharactersCount?: (e: number) => void;
|
37
|
+
onChange?: (value: Descendant[]) => void;
|
38
|
+
};
|
39
|
+
type RichTextValue = Descendant[];
|
40
|
+
export type { Descendant, RichTextAlignFormatType, RichTextCustomElement, RichTextCustomText, RichTextElementFormatType, RichTextHiddenButtonKey, RichTextInsertImageProps, RichTextMarkFormatType, RichTextProps, RichTextValue, };
|
41
|
+
//# sourceMappingURL=RichTextProps.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"RichTextProps.d.ts","sourceRoot":"","sources":["../../src/components/RichTextProps.ts"],"names":[],"mappings":"AAAA,KAAK,uBAAuB,GACxB,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,MAAM,GACN,QAAQ,GACR,WAAW,GACX,MAAM,GACN,MAAM,GACN,OAAO,GACP,QAAQ,GACR,SAAS,GACT,OAAO,CAAC;AAEZ,KAAK,yBAAyB,GAC1B,YAAY,GACZ,cAAc,GACd,YAAY,GACZ,YAAY,GACZ,UAAU,GACV,cAAc,GACd,WAAW,GACX,OAAO,CAAC;AAEZ,KAAK,uBAAuB,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;AAEvE,KAAK,sBAAsB,GAAG,MAAM,GAAG,QAAQ,GAAG,WAAW,GAAG,MAAM,CAAC;AAEvE,KAAK,wBAAwB,GAAG;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B,CAAC;AAEF,KAAK,qBAAqB,GAAG;IAC3B,IAAI,EAAE,yBAAyB,CAAC;IAChC,KAAK,CAAC,EAAE,uBAAuB,CAAC;IAChC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,aAAa,CAAC;CAC1B,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAEF,KAAK,UAAU,GAAG,qBAAqB,GAAG,kBAAkB,CAAC;AAE7D,KAAK,aAAa,GAAG;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,CAAC,EAAE,uBAAuB,EAAE,CAAC;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,CAAC,EAAE,wBAAwB,CAAC;IACvC,uBAAuB,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,EAAE,KAAK,IAAI,CAAC;CAC1C,CAAC;AAEF,KAAK,aAAa,GAAG,UAAU,EAAE,CAAC;AAElC,YAAY,EACV,UAAU,EACV,uBAAuB,EACvB,qBAAqB,EACrB,kBAAkB,EAClB,yBAAyB,EACzB,uBAAuB,EACvB,wBAAwB,EACxB,sBAAsB,EACtB,aAAa,EACb,aAAa,GACd,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import type { LucideIcon } from "lucide-react";
|
2
|
+
import type { InputHTMLAttributes } from "react";
|
3
|
+
type SelectProps = {
|
4
|
+
isLoading?: boolean;
|
5
|
+
isError?: boolean;
|
6
|
+
isSearchable?: boolean;
|
7
|
+
onSearch?: (value: string) => void;
|
8
|
+
closeOnSelect?: boolean;
|
9
|
+
size?: "md" | "lg";
|
10
|
+
variant?: "solid" | "outline" | "underline";
|
11
|
+
prefix?: string | LucideIcon;
|
12
|
+
leftIcon?: LucideIcon;
|
13
|
+
name: string;
|
14
|
+
value?: string;
|
15
|
+
defaultValue?: string;
|
16
|
+
optionMaxHeight?: number;
|
17
|
+
options: {
|
18
|
+
label: string;
|
19
|
+
value: string;
|
20
|
+
}[];
|
21
|
+
onSelect?: (value: {
|
22
|
+
label: string;
|
23
|
+
value: string;
|
24
|
+
}) => void;
|
25
|
+
} & Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "prefix" | "type" | "name" | "defaultValue" | "value" | "onChange" | "onSelect">;
|
26
|
+
export type { SelectProps };
|
27
|
+
//# sourceMappingURL=SelectProps.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SelectProps.d.ts","sourceRoot":"","sources":["../../src/components/SelectProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAEjD,KAAK,WAAW,GAAG;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,WAAW,CAAC;IAE5C,MAAM,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC;IAC7B,QAAQ,CAAC,EAAE,UAAU,CAAC;IAEtB,IAAI,EAAE,MAAM,CAAC;IAEb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC5C,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;CAC9D,GAAG,IAAI,CACN,mBAAmB,CAAC,gBAAgB,CAAC,EACnC,MAAM,GACN,QAAQ,GACR,MAAM,GACN,MAAM,GACN,cAAc,GACd,OAAO,GACP,UAAU,GACV,UAAU,CACb,CAAC;AAEF,YAAY,EAAE,WAAW,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SkeletonProps.d.ts","sourceRoot":"","sources":["../../src/components/SkeletonProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,KAAK,aAAa,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEpD,YAAY,EAAE,aAAa,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SliderProps.d.ts","sourceRoot":"","sources":["../../src/components/SliderProps.ts"],"names":[],"mappings":"AAAA,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CACvC,CAAC;AAEF,YAAY,EAAE,WAAW,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { ButtonHTMLAttributes } from "react";
|
2
|
+
type SwitchProps = {
|
3
|
+
size?: "sm" | "md" | "lg";
|
4
|
+
defaultChecked?: boolean;
|
5
|
+
checked?: boolean;
|
6
|
+
value?: string;
|
7
|
+
unCheckedValue?: string;
|
8
|
+
name: string;
|
9
|
+
onCheck?: (value: string) => void;
|
10
|
+
} & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "onChange" | "defaultValue" | "onCheck" | "value">;
|
11
|
+
export type { SwitchProps };
|
12
|
+
//# sourceMappingURL=SwitchProps.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SwitchProps.d.ts","sourceRoot":"","sources":["../../src/components/SwitchProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAElD,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,GAAG,IAAI,CACN,oBAAoB,CAAC,iBAAiB,CAAC,EACvC,UAAU,GAAG,UAAU,GAAG,cAAc,GAAG,SAAS,GAAG,OAAO,CAC/D,CAAC;AAEF,YAAY,EAAE,WAAW,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import type { ButtonHTMLAttributes, HTMLAttributes, ReactNode } from "react";
|
2
|
+
type TabButtonProps = {
|
3
|
+
children: ReactNode;
|
4
|
+
value: string;
|
5
|
+
} & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "children" | "value" | "type">;
|
6
|
+
type TabContainerProps = {
|
7
|
+
children: ReactNode;
|
8
|
+
defaultActive?: string;
|
9
|
+
onClick?: (index: string) => void;
|
10
|
+
} & Omit<HTMLAttributes<HTMLElement>, "onClick" | "children" | "ref">;
|
11
|
+
export type { TabButtonProps, TabContainerProps };
|
12
|
+
//# sourceMappingURL=TabProps.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"TabProps.d.ts","sourceRoot":"","sources":["../../src/components/TabProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE7E,KAAK,cAAc,GAAG;IACpB,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,IAAI,CACN,oBAAoB,CAAC,iBAAiB,CAAC,EACvC,UAAU,GAAG,OAAO,GAAG,MAAM,CAC9B,CAAC;AAEF,KAAK,iBAAiB,GAAG;IACvB,QAAQ,EAAE,SAAS,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACnC,GAAG,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,KAAK,CAAC,CAAC;AAEtE,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import type { HTMLAttributes, TableHTMLAttributes } from "react";
|
2
|
+
type TableBodyProps = {
|
3
|
+
emptyMessage?: string;
|
4
|
+
} & HTMLAttributes<HTMLTableSectionElement>;
|
5
|
+
type TableCaptionProps = HTMLAttributes<HTMLElement>;
|
6
|
+
type TableContainerProps = TableHTMLAttributes<HTMLTableElement>;
|
7
|
+
type TableFooterProps = HTMLAttributes<HTMLTableSectionElement>;
|
8
|
+
type TableHeaderProps = HTMLAttributes<HTMLTableSectionElement>;
|
9
|
+
export type { TableBodyProps, TableCaptionProps, TableContainerProps, TableFooterProps, TableHeaderProps, };
|
10
|
+
//# sourceMappingURL=TableProps.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"TableProps.d.ts","sourceRoot":"","sources":["../../src/components/TableProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAEjE,KAAK,cAAc,GAAG;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,GAAG,cAAc,CAAC,uBAAuB,CAAC,CAAC;AAC5C,KAAK,iBAAiB,GAAG,cAAc,CAAC,WAAW,CAAC,CAAC;AACrD,KAAK,mBAAmB,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;AACjE,KAAK,gBAAgB,GAAG,cAAc,CAAC,uBAAuB,CAAC,CAAC;AAChE,KAAK,gBAAgB,GAAG,cAAc,CAAC,uBAAuB,CAAC,CAAC;AAEhE,YAAY,EACV,cAAc,EACd,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,GACjB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import type { TextareaHTMLAttributes } from "react";
|
2
|
+
type TextareaProps = {
|
3
|
+
isError?: boolean;
|
4
|
+
size?: "md" | "lg";
|
5
|
+
variant?: "solid" | "outline";
|
6
|
+
name: string;
|
7
|
+
} & Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "name">;
|
8
|
+
export type { TextareaProps };
|
9
|
+
//# sourceMappingURL=TextareaProps.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"TextareaProps.d.ts","sourceRoot":"","sources":["../../src/components/TextareaProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,OAAO,CAAC;AAEpD,KAAK,aAAa,GAAG;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAE9B,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,IAAI,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,EAAE,MAAM,CAAC,CAAC;AAE9D,YAAY,EAAE,aAAa,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ToastProps.d.ts","sourceRoot":"","sources":["../../src/components/ToastProps.ts"],"names":[],"mappings":"AAAA,KAAK,UAAU,GAAG;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,SAAS,GAAG,QAAQ,CAAC;CAC5B,CAAC;AAEF,YAAY,EAAE,UAAU,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import type { HTMLAttributes, ReactNode } from "react";
|
2
|
+
type BaseTooltipProps = Omit<HTMLAttributes<HTMLDivElement>, "children">;
|
3
|
+
type TooltipProps = BaseTooltipProps & {
|
4
|
+
text: string;
|
5
|
+
children: ReactNode;
|
6
|
+
orientation?: "top" | "right" | "bottom" | "left";
|
7
|
+
size?: "md" | "lg";
|
8
|
+
};
|
9
|
+
export type { TooltipProps };
|
10
|
+
//# sourceMappingURL=TooltipProps.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"TooltipProps.d.ts","sourceRoot":"","sources":["../../src/components/TooltipProps.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,KAAK,gBAAgB,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,CAAC;AAEzE,KAAK,YAAY,GAAG,gBAAgB,GAAG;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,SAAS,CAAC;IACpB,WAAW,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAClD,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACpB,CAAC;AAEF,YAAY,EAAE,YAAY,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import type { ReactNode } from "react";
|
2
|
+
type DrawerContextProps<T = any> = {
|
3
|
+
drawerIsOpen(key: string): boolean;
|
4
|
+
drawerData(key: string): T;
|
5
|
+
openDrawer(key: string, data?: T): void;
|
6
|
+
closeDrawer(key: string): void;
|
7
|
+
};
|
8
|
+
type OpenedDrawers = {
|
9
|
+
key: string;
|
10
|
+
data?: any;
|
11
|
+
}[];
|
12
|
+
type DrawerProviderProps = {
|
13
|
+
children: ReactNode;
|
14
|
+
enableDrawerAutomation?: boolean;
|
15
|
+
};
|
16
|
+
export type { DrawerContextProps, OpenedDrawers, DrawerProviderProps };
|
17
|
+
//# sourceMappingURL=Drawer.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../src/hooks/Drawer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,kBAAkB,CAAC,CAAC,GAAG,GAAG,IAAI;IACjC,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACnC,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,CAAC;IAC3B,UAAU,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;IACxC,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,GAAG,CAAC;CACZ,EAAE,CAAC;AAEJ,KAAK,mBAAmB,GAAG;IACzB,QAAQ,EAAE,SAAS,CAAC;IACpB,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC,CAAC;AAEF,YAAY,EAAE,kBAAkB,EAAE,aAAa,EAAE,mBAAmB,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import type { ReactNode } from "react";
|
2
|
+
type ModalContextProps<T = any> = {
|
3
|
+
modalIsOpen(key: string): boolean;
|
4
|
+
modalData(key: string): T;
|
5
|
+
openModal(key: string, data?: T): void;
|
6
|
+
closeModal(key: string): void;
|
7
|
+
closeAll(): void;
|
8
|
+
};
|
9
|
+
type OpenedModals = {
|
10
|
+
key: string;
|
11
|
+
data?: any;
|
12
|
+
}[];
|
13
|
+
type ModalProviderProps = {
|
14
|
+
children: ReactNode;
|
15
|
+
enableModalAutomation?: boolean;
|
16
|
+
};
|
17
|
+
export type { ModalContextProps, OpenedModals, ModalProviderProps };
|
18
|
+
//# sourceMappingURL=Modal.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../src/hooks/Modal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,KAAK,iBAAiB,CAAC,CAAC,GAAG,GAAG,IAAI;IAChC,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IAClC,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,CAAC;IAC1B,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;IACvC,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,QAAQ,IAAI,IAAI,CAAC;CAClB,CAAC;AAEF,KAAK,YAAY,GAAG;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,GAAG,CAAC;CACZ,EAAE,CAAC;AAEJ,KAAK,kBAAkB,GAAG;IACxB,QAAQ,EAAE,SAAS,CAAC;IACpB,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC,CAAC;AAEF,YAAY,EAAE,iBAAiB,EAAE,YAAY,EAAE,kBAAkB,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import type { ReactNode } from "react";
|
2
|
+
import type { ToastProps } from "../components/ToastProps";
|
3
|
+
type ToastContextProps = {
|
4
|
+
showToast(toast: ToastProps): void;
|
5
|
+
};
|
6
|
+
type ToastProviderProps = {
|
7
|
+
children: ReactNode;
|
8
|
+
};
|
9
|
+
export type { ToastContextProps, ToastProviderProps };
|
10
|
+
//# sourceMappingURL=Toast.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../src/hooks/Toast.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAE3D,KAAK,iBAAiB,GAAG;IACvB,SAAS,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC;CACpC,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|