sevatech-library 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/README.md +25 -25
- package/dist/types/components/avatar/avatar-group.component.d.ts +20 -0
- package/dist/types/components/avatar/avatar-group.component.d.ts.map +1 -0
- package/dist/types/components/avatar/avatar-label-group.component.d.ts +11 -0
- package/dist/types/components/avatar/avatar-label-group.component.d.ts.map +1 -0
- package/dist/types/components/avatar/avatar-profile.component.d.ts +5 -0
- package/dist/types/components/avatar/avatar-profile.component.d.ts.map +1 -0
- package/dist/types/components/avatar/avatar-user.component.d.ts +14 -0
- package/dist/types/components/avatar/avatar-user.component.d.ts.map +1 -0
- package/dist/types/components/avatar/avatar.component.d.ts +20 -0
- package/dist/types/components/avatar/avatar.component.d.ts.map +1 -0
- package/dist/types/components/avatar/avatar.constant.d.ts +35 -0
- package/dist/types/components/avatar/avatar.constant.d.ts.map +1 -0
- package/dist/types/components/avatar/avatar.interface.d.ts +28 -0
- package/dist/types/components/avatar/avatar.interface.d.ts.map +1 -0
- package/dist/types/components/avatar/index.d.ts +8 -0
- package/dist/types/components/avatar/index.d.ts.map +1 -0
- package/dist/types/components/bread-crumbs/bread-crumbs.component.d.ts +21 -0
- package/dist/types/components/bread-crumbs/bread-crumbs.component.d.ts.map +1 -0
- package/dist/types/components/bread-crumbs/index.d.ts +3 -0
- package/dist/types/components/bread-crumbs/index.d.ts.map +1 -0
- package/dist/types/components/button/button.component.d.ts +37 -0
- package/dist/types/components/button/button.component.d.ts.map +1 -0
- package/dist/types/components/button/button.constants.d.ts +33 -0
- package/dist/types/components/button/button.constants.d.ts.map +1 -0
- package/dist/types/components/button/index.d.ts +3 -0
- package/dist/types/components/button/index.d.ts.map +1 -0
- package/dist/types/components/button-bar/button-bar.component.d.ts +15 -0
- package/dist/types/components/button-bar/button-bar.component.d.ts.map +1 -0
- package/dist/types/components/button-bar/index.d.ts +2 -0
- package/dist/types/components/button-bar/index.d.ts.map +1 -0
- package/dist/types/components/checkbox/checkbox-content.component.d.ts +19 -0
- package/dist/types/components/checkbox/checkbox-content.component.d.ts.map +1 -0
- package/dist/types/components/checkbox/checkbox.component.d.ts +23 -0
- package/dist/types/components/checkbox/checkbox.component.d.ts.map +1 -0
- package/dist/types/components/checkbox/checkbox.constant.d.ts +26 -0
- package/dist/types/components/checkbox/checkbox.constant.d.ts.map +1 -0
- package/dist/types/components/checkbox/index.d.ts +4 -0
- package/dist/types/components/checkbox/index.d.ts.map +1 -0
- package/dist/types/components/chip/chip.component.d.ts +16 -0
- package/dist/types/components/chip/chip.component.d.ts.map +1 -0
- package/dist/types/components/chip/chip.constant.d.ts +16 -0
- package/dist/types/components/chip/chip.constant.d.ts.map +1 -0
- package/dist/types/components/chip/index.d.ts +3 -0
- package/dist/types/components/chip/index.d.ts.map +1 -0
- package/dist/types/components/date-field/date-field.component.d.ts +23 -0
- package/dist/types/components/date-field/date-field.component.d.ts.map +1 -0
- package/dist/types/components/date-field/index.d.ts +2 -0
- package/dist/types/components/date-field/index.d.ts.map +1 -0
- package/dist/types/components/date-range-picker/date-range-picker.component.d.ts +25 -0
- package/dist/types/components/date-range-picker/date-range-picker.component.d.ts.map +1 -0
- package/dist/types/components/date-range-picker/index.d.ts +2 -0
- package/dist/types/components/date-range-picker/index.d.ts.map +1 -0
- package/dist/types/components/dropdown-field/dropdown-field.component.d.ts +28 -0
- package/dist/types/components/dropdown-field/dropdown-field.component.d.ts.map +1 -0
- package/dist/types/components/dropdown-field/index.d.ts +2 -0
- package/dist/types/components/dropdown-field/index.d.ts.map +1 -0
- package/dist/types/components/grid/grid.component.d.ts +11 -0
- package/dist/types/components/grid/grid.component.d.ts.map +1 -0
- package/dist/types/components/grid/index.d.ts +2 -0
- package/dist/types/components/grid/index.d.ts.map +1 -0
- package/dist/types/components/icon/icon.element.d.ts +12 -0
- package/dist/types/components/icon/icon.element.d.ts.map +1 -0
- package/dist/types/components/icon/index.d.ts +2 -0
- package/dist/types/components/icon/index.d.ts.map +1 -0
- package/dist/types/components/image/image.element.d.ts +13 -0
- package/dist/types/components/image/image.element.d.ts.map +1 -0
- package/dist/types/components/image/image.enum.d.ts +6 -0
- package/dist/types/components/image/image.enum.d.ts.map +1 -0
- package/dist/types/components/image/index.d.ts +3 -0
- package/dist/types/components/image/index.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +28 -0
- package/dist/types/components/index.d.ts.map +1 -0
- package/dist/types/components/input-stepper/index.d.ts +4 -0
- package/dist/types/components/input-stepper/index.d.ts.map +1 -0
- package/dist/types/components/input-stepper/input-stepper-skeleton.d.ts +9 -0
- package/dist/types/components/input-stepper/input-stepper-skeleton.d.ts.map +1 -0
- package/dist/types/components/input-stepper/input-stepper.component.d.ts +38 -0
- package/dist/types/components/input-stepper/input-stepper.component.d.ts.map +1 -0
- package/dist/types/components/input-stepper/input-stepper.constant.d.ts +32 -0
- package/dist/types/components/input-stepper/input-stepper.constant.d.ts.map +1 -0
- package/dist/types/components/link/index.d.ts +3 -0
- package/dist/types/components/link/index.d.ts.map +1 -0
- package/dist/types/components/link/link-internal.element.d.ts +9 -0
- package/dist/types/components/link/link-internal.element.d.ts.map +1 -0
- package/dist/types/components/link/link.element.d.ts +8 -0
- package/dist/types/components/link/link.element.d.ts.map +1 -0
- package/dist/types/components/link-field/index.d.ts +2 -0
- package/dist/types/components/link-field/index.d.ts.map +1 -0
- package/dist/types/components/link-field/link-field.component.d.ts +23 -0
- package/dist/types/components/link-field/link-field.component.d.ts.map +1 -0
- package/dist/types/components/modal/index.d.ts +5 -0
- package/dist/types/components/modal/index.d.ts.map +1 -0
- package/dist/types/components/modal/modal-card.component.d.ts +15 -0
- package/dist/types/components/modal/modal-card.component.d.ts.map +1 -0
- package/dist/types/components/modal/modal-content.component.d.ts +16 -0
- package/dist/types/components/modal/modal-content.component.d.ts.map +1 -0
- package/dist/types/components/modal/modal.component.d.ts +11 -0
- package/dist/types/components/modal/modal.component.d.ts.map +1 -0
- package/dist/types/components/modal/modal.interface.d.ts +20 -0
- package/dist/types/components/modal/modal.interface.d.ts.map +1 -0
- package/dist/types/components/money-field/index.d.ts +2 -0
- package/dist/types/components/money-field/index.d.ts.map +1 -0
- package/dist/types/components/money-field/money-field.component.d.ts +24 -0
- package/dist/types/components/money-field/money-field.component.d.ts.map +1 -0
- package/dist/types/components/phone-number-field/index.d.ts +2 -0
- package/dist/types/components/phone-number-field/index.d.ts.map +1 -0
- package/dist/types/components/phone-number-field/phone-number-field.component.d.ts +28 -0
- package/dist/types/components/phone-number-field/phone-number-field.component.d.ts.map +1 -0
- package/dist/types/components/pin/index.d.ts +3 -0
- package/dist/types/components/pin/index.d.ts.map +1 -0
- package/dist/types/components/pin/pin.component.d.ts +23 -0
- package/dist/types/components/pin/pin.component.d.ts.map +1 -0
- package/dist/types/components/pin/pin.constant.d.ts +25 -0
- package/dist/types/components/pin/pin.constant.d.ts.map +1 -0
- package/dist/types/components/search-dropdown/index.d.ts +2 -0
- package/dist/types/components/search-dropdown/index.d.ts.map +1 -0
- package/dist/types/components/search-dropdown/search-dropdown.component.d.ts +30 -0
- package/dist/types/components/search-dropdown/search-dropdown.component.d.ts.map +1 -0
- package/dist/types/components/search-field/index.d.ts +2 -0
- package/dist/types/components/search-field/index.d.ts.map +1 -0
- package/dist/types/components/search-field/search-field.component.d.ts +14 -0
- package/dist/types/components/search-field/search-field.component.d.ts.map +1 -0
- package/dist/types/components/switch/index.d.ts +3 -0
- package/dist/types/components/switch/index.d.ts.map +1 -0
- package/dist/types/components/switch/switch-content.component.d.ts +14 -0
- package/dist/types/components/switch/switch-content.component.d.ts.map +1 -0
- package/dist/types/components/switch/switch.component.d.ts +12 -0
- package/dist/types/components/switch/switch.component.d.ts.map +1 -0
- package/dist/types/components/tab/index.d.ts +3 -0
- package/dist/types/components/tab/index.d.ts.map +1 -0
- package/dist/types/components/tab/tab.component.d.ts +23 -0
- package/dist/types/components/tab/tab.component.d.ts.map +1 -0
- package/dist/types/components/tab/tab.constant.d.ts +15 -0
- package/dist/types/components/tab/tab.constant.d.ts.map +1 -0
- package/dist/types/components/text-area/index.d.ts +2 -0
- package/dist/types/components/text-area/index.d.ts.map +1 -0
- package/dist/types/components/text-area/text-area.component.d.ts +22 -0
- package/dist/types/components/text-area/text-area.component.d.ts.map +1 -0
- package/dist/types/components/text-field/index.d.ts +2 -0
- package/dist/types/components/text-field/index.d.ts.map +1 -0
- package/dist/types/components/text-field/text-field.component.d.ts +21 -0
- package/dist/types/components/text-field/text-field.component.d.ts.map +1 -0
- package/dist/types/components/typography/index.d.ts +2 -0
- package/dist/types/components/typography/index.d.ts.map +1 -0
- package/dist/types/components/typography/typography-limit-one-line.component.d.ts +9 -0
- package/dist/types/components/typography/typography-limit-one-line.component.d.ts.map +1 -0
- package/dist/types/components/uploader/index.d.ts +3 -0
- package/dist/types/components/uploader/index.d.ts.map +1 -0
- package/dist/types/components/uploader/uploader-item.component.d.ts +18 -0
- package/dist/types/components/uploader/uploader-item.component.d.ts.map +1 -0
- package/dist/types/components/uploader/uploader-item.styles.d.ts +53 -0
- package/dist/types/components/uploader/uploader-item.styles.d.ts.map +1 -0
- package/dist/types/components/uploader/uploader.component.d.ts +48 -0
- package/dist/types/components/uploader/uploader.component.d.ts.map +1 -0
- package/dist/types/constants/apps.data.d.ts +7 -0
- package/dist/types/constants/apps.data.d.ts.map +1 -0
- package/dist/types/constants/color.constant.d.ts +105 -0
- package/dist/types/constants/color.constant.d.ts.map +1 -0
- package/dist/types/constants/index.d.ts +5 -0
- package/dist/types/constants/index.d.ts.map +1 -0
- package/dist/types/constants/style.constant.d.ts +58 -0
- package/dist/types/constants/style.constant.d.ts.map +1 -0
- package/dist/types/constants/typography.constant.d.ts +710 -0
- package/dist/types/constants/typography.constant.d.ts.map +1 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/styles/index.d.ts +2 -0
- package/dist/types/styles/index.d.ts.map +1 -0
- package/dist/types/styles/stack.style.d.ts +54 -0
- package/dist/types/styles/stack.style.d.ts.map +1 -0
- package/dist/types/types/index.d.ts +1 -0
- package/dist/types/types/index.d.ts.map +1 -0
- package/dist/types/utils/index.d.ts +2 -0
- package/dist/types/utils/index.d.ts.map +1 -0
- package/package.json +6 -3
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material/styles';
|
|
2
|
+
import { TextFieldProps as MuiTextFieldProps } from '@mui/material/TextField';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
interface MoneyFieldProps extends Omit<MuiTextFieldProps, 'variant'> {
|
|
5
|
+
label?: string;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
value?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
error?: boolean;
|
|
10
|
+
success?: boolean;
|
|
11
|
+
errorMessage?: ReactNode;
|
|
12
|
+
successMessage?: ReactNode;
|
|
13
|
+
borderRadius?: number | 'max';
|
|
14
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
15
|
+
currency?: string;
|
|
16
|
+
onCurrencyChange?: (currency: string) => void;
|
|
17
|
+
helperText?: string;
|
|
18
|
+
iconBefore?: ReactNode;
|
|
19
|
+
optionCurrencies?: string[];
|
|
20
|
+
sx?: SxProps<Theme>;
|
|
21
|
+
}
|
|
22
|
+
declare const MoneyFieldComponent: ({ label, placeholder, value, disabled, error, success, errorMessage, successMessage, borderRadius, helperText, onChange, currency, onCurrencyChange, iconBefore, optionCurrencies, sx, ...props }: MoneyFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export { MoneyFieldComponent };
|
|
24
|
+
//# sourceMappingURL=money-field.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"money-field.component.d.ts","sourceRoot":"","sources":["../../../../src/components/money-field/money-field.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAqB,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAG5F,OAAO,EAAE,SAAS,EAAY,MAAM,OAAO,CAAC;AAI5C,UAAU,eAAgB,SAAQ,IAAI,CAAC,iBAAiB,EAAE,SAAS,CAAC;IAClE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IAC9B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAChE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;CACrB;AAsDD,QAAA,MAAM,mBAAmB,GAAI,mMAkB1B,eAAe,4CAuGjB,CAAC;AAEF,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/phone-number-field/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material/styles';
|
|
2
|
+
import { TextFieldProps as MuiTextFieldProps } from '@mui/material/TextField';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
interface PhoneNumberFieldProps extends Omit<MuiTextFieldProps, 'variant'> {
|
|
5
|
+
label?: string;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
value?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
error?: boolean;
|
|
10
|
+
success?: boolean;
|
|
11
|
+
errorMessage?: ReactNode;
|
|
12
|
+
successMessage?: ReactNode;
|
|
13
|
+
borderRadius?: number | 'max';
|
|
14
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
15
|
+
countryCode?: string;
|
|
16
|
+
onCountryCodeChange?: (countryCode: string) => void;
|
|
17
|
+
helperText?: string;
|
|
18
|
+
countries?: Array<{
|
|
19
|
+
code: string;
|
|
20
|
+
name: string;
|
|
21
|
+
flag: string;
|
|
22
|
+
value: string;
|
|
23
|
+
}>;
|
|
24
|
+
sx?: SxProps<Theme>;
|
|
25
|
+
}
|
|
26
|
+
declare const PhoneNumberFieldComponent: ({ label, placeholder, value, disabled, error, success, errorMessage, successMessage, borderRadius, helperText, onChange, countryCode, onCountryCodeChange, countries, sx, ...props }: PhoneNumberFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export { PhoneNumberFieldComponent };
|
|
28
|
+
//# sourceMappingURL=phone-number-field.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"phone-number-field.component.d.ts","sourceRoot":"","sources":["../../../../src/components/phone-number-field/phone-number-field.component.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAU,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAqB,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5F,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,UAAU,qBAAsB,SAAQ,IAAI,CAAC,iBAAiB,EAAE,SAAS,CAAC;IACxE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IAC9B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAChE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mBAAmB,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC/E,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;CACrB;AA0DD,QAAA,MAAM,yBAAyB,GAAI,sLAiBhC,qBAAqB,4CA8FvB,CAAC;AAEF,OAAO,EAAE,yBAAyB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/pin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SxProps, Theme } from '@mui/material';
|
|
3
|
+
interface PINInputProps {
|
|
4
|
+
length?: number;
|
|
5
|
+
value: string;
|
|
6
|
+
onChange: (value: string) => void;
|
|
7
|
+
label?: string;
|
|
8
|
+
error?: boolean;
|
|
9
|
+
errorMessage?: string;
|
|
10
|
+
type?: 'text' | 'bullet' | 'circle';
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
autoFocus?: boolean;
|
|
13
|
+
onComplete?: (value: string) => void;
|
|
14
|
+
align?: 'left' | 'center' | 'right';
|
|
15
|
+
spacing?: 'sm' | 'md' | 'lg';
|
|
16
|
+
size?: 'sm' | 'md' | 'lg';
|
|
17
|
+
masked?: boolean;
|
|
18
|
+
borderFocusColor?: string;
|
|
19
|
+
sx?: SxProps<Theme>;
|
|
20
|
+
}
|
|
21
|
+
declare const PINComponent: React.FC<PINInputProps>;
|
|
22
|
+
export { PINComponent };
|
|
23
|
+
//# sourceMappingURL=pin.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pin.component.d.ts","sourceRoot":"","sources":["../../../../src/components/pin/pin.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,EAAO,OAAO,EAAa,KAAK,EAAY,MAAM,eAAe,CAAC;AAGzE,UAAU,aAAa;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,QAAQ,CAAC;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC7B,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;CACrB;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAwSzC,CAAC;AAEF,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare const PIN_SIZES: {
|
|
2
|
+
readonly sm: {
|
|
3
|
+
readonly width: 40;
|
|
4
|
+
readonly height: 40;
|
|
5
|
+
readonly fontSize: 18;
|
|
6
|
+
};
|
|
7
|
+
readonly md: {
|
|
8
|
+
readonly width: 48;
|
|
9
|
+
readonly height: 48;
|
|
10
|
+
readonly fontSize: 20;
|
|
11
|
+
};
|
|
12
|
+
readonly lg: {
|
|
13
|
+
readonly width: 56;
|
|
14
|
+
readonly height: 56;
|
|
15
|
+
readonly fontSize: 24;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export declare const PIN_SPACING: {
|
|
19
|
+
readonly sm: 8;
|
|
20
|
+
readonly md: 12;
|
|
21
|
+
readonly lg: 16;
|
|
22
|
+
};
|
|
23
|
+
export type PINSize = keyof typeof PIN_SIZES;
|
|
24
|
+
export type PINSpacing = keyof typeof PIN_SPACING;
|
|
25
|
+
//# sourceMappingURL=pin.constant.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pin.constant.d.ts","sourceRoot":"","sources":["../../../../src/components/pin/pin.constant.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;CAWrB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;CAImB,CAAC;AAE5C,MAAM,MAAM,OAAO,GAAG,MAAM,OAAO,SAAS,CAAC;AAC7C,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/search-dropdown/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
interface SearchDropdownOption {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string | number;
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
}
|
|
8
|
+
interface SearchDropdownProps {
|
|
9
|
+
borderRadius?: number | 'max';
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
value?: (string | number | SearchDropdownOption)[] | string | number | SearchDropdownOption | null;
|
|
12
|
+
onClear?: () => void;
|
|
13
|
+
onChange?: (value: SearchDropdownOption | SearchDropdownOption[] | null) => void;
|
|
14
|
+
onInputChange?: (inputValue: string) => void;
|
|
15
|
+
onSearch?: (searchText: string) => Promise<SearchDropdownOption[]>;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
multiple?: boolean;
|
|
18
|
+
label?: string;
|
|
19
|
+
error?: boolean;
|
|
20
|
+
errorMessage?: ReactNode;
|
|
21
|
+
success?: boolean;
|
|
22
|
+
successMessage?: ReactNode;
|
|
23
|
+
helperText?: string;
|
|
24
|
+
options?: SearchDropdownOption[];
|
|
25
|
+
loading?: boolean;
|
|
26
|
+
sx?: SxProps<Theme>;
|
|
27
|
+
}
|
|
28
|
+
declare const SearchDropdownComponent: ({ value, onChange, onClear, onInputChange, onSearch, borderRadius, disabled, multiple, label, placeholder, error, errorMessage, success, successMessage, helperText, options, loading, sx, }: SearchDropdownProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export { SearchDropdownComponent };
|
|
30
|
+
//# sourceMappingURL=search-dropdown.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-dropdown.component.d.ts","sourceRoot":"","sources":["../../../../src/components/search-dropdown/search-dropdown.component.tsx"],"names":[],"mappings":"AAEA,OAAO,EAA0E,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACvH,OAAO,EAAE,SAAS,EAAwC,MAAM,OAAO,CAAC;AACxE,UAAU,oBAAoB;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,UAAU,mBAAmB;IAC3B,YAAY,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,CAAC,MAAM,GAAG,MAAM,GAAG,oBAAoB,CAAC,EAAE,GAAG,MAAM,GAAG,MAAM,GAAG,oBAAoB,GAAG,IAAI,CAAC;IACnG,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,oBAAoB,GAAG,oBAAoB,EAAE,GAAG,IAAI,KAAK,IAAI,CAAC;IACjF,aAAa,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,OAAO,CAAC,oBAAoB,EAAE,CAAC,CAAC;IACnE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;CACrB;AA8ED,QAAA,MAAM,uBAAuB,GAAI,8LAmB9B,mBAAmB,4CAkNrB,CAAC;AAEF,OAAO,EAAE,uBAAuB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/search-field/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material';
|
|
2
|
+
interface SearchFieldProps {
|
|
3
|
+
borderRadius?: number | 'max';
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
value?: string;
|
|
6
|
+
onClear?: () => void;
|
|
7
|
+
onChange?: (event: React.SyntheticEvent, value: unknown) => void;
|
|
8
|
+
onInputChange?: (event: React.SyntheticEvent, value: string, reason: string) => void;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
sx?: SxProps<Theme>;
|
|
11
|
+
}
|
|
12
|
+
declare const SearchFieldComponent: ({ value, onChange, onClear, onInputChange, borderRadius, disabled, placeholder, sx, }: SearchFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export { SearchFieldComponent };
|
|
14
|
+
//# sourceMappingURL=search-field.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-field.component.d.ts","sourceRoot":"","sources":["../../../../src/components/search-field/search-field.component.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAwC,OAAO,EAAa,KAAK,EAAE,MAAM,eAAe,CAAC;AAEhG,UAAU,gBAAgB;IACxB,YAAY,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACjE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACrF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;CACrB;AAmDD,QAAA,MAAM,oBAAoB,GAAI,uFAS3B,gBAAgB,4CAqElB,CAAC;AAEF,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SxProps, Theme } from '@mui/material';
|
|
3
|
+
interface SwitchContentProps {
|
|
4
|
+
title: string;
|
|
5
|
+
content?: string;
|
|
6
|
+
checked?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
size?: 'small' | 'medium';
|
|
9
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>, checked: boolean) => void;
|
|
10
|
+
sx?: SxProps<Theme>;
|
|
11
|
+
}
|
|
12
|
+
declare const SwitchContentComponent: React.FC<SwitchContentProps>;
|
|
13
|
+
export { SwitchContentComponent };
|
|
14
|
+
//# sourceMappingURL=switch-content.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switch-content.component.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/switch-content.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAmB,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAGhE,UAAU,kBAAkB;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC1B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAClF,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;CACrB;AAED,QAAA,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAgDxD,CAAC;AAEF,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface SwitchComponentProps {
|
|
3
|
+
checked?: boolean;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>, checked: boolean) => void;
|
|
6
|
+
sx?: object;
|
|
7
|
+
size?: 'small' | 'medium';
|
|
8
|
+
title?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const SwitchComponent: React.FC<SwitchComponentProps>;
|
|
11
|
+
export { SwitchComponent };
|
|
12
|
+
//# sourceMappingURL=switch.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switch.component.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/switch.component.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAwB1B,UAAU,oBAAoB;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAClF,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAoED,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAkBnD,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/tab/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SxProps, Theme } from '@mui/material';
|
|
3
|
+
export interface TabComponent {
|
|
4
|
+
id: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
name: string;
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
href?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface TabsComponentProps {
|
|
11
|
+
idSelect?: string;
|
|
12
|
+
tabs: TabComponent[];
|
|
13
|
+
size?: 'large' | 'small' | 'medium';
|
|
14
|
+
direction?: 'column' | 'row';
|
|
15
|
+
maxDisplay?: number;
|
|
16
|
+
onChange?: (newValue: string) => void;
|
|
17
|
+
sx?: SxProps<Theme>;
|
|
18
|
+
sxTabs?: SxProps<Theme>;
|
|
19
|
+
sxWrapper?: SxProps<Theme>;
|
|
20
|
+
}
|
|
21
|
+
declare const TabsComponent: React.FC<TabsComponentProps>;
|
|
22
|
+
export { TabsComponent };
|
|
23
|
+
//# sourceMappingURL=tab.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tab.component.d.ts","sourceRoot":"","sources":["../../../../src/components/tab/tab.component.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAc/C,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,YAAY,EAAE,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,QAAQ,CAAC;IACpC,SAAS,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;CAC5B;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA0M/C,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material';
|
|
2
|
+
export declare const TAB_STYLES: SxProps<Theme>;
|
|
3
|
+
export declare const TAB_BACKGROUND_STYLES: SxProps<Theme>;
|
|
4
|
+
export declare const TAB_UNDERLINE_STYLES: SxProps<Theme>;
|
|
5
|
+
export declare const TABS_CONTAINER_HORIZONTAL: SxProps<Theme>;
|
|
6
|
+
export declare const TAB_ACTIVE_BACKGROUND_HORIZONTAL: SxProps<Theme>;
|
|
7
|
+
export declare const TABS_CONTAINER_VERTICAL: SxProps<Theme>;
|
|
8
|
+
export declare const TAB_ACTIVE_BACKGROUND_VERTICAL: SxProps<Theme>;
|
|
9
|
+
export declare enum TabColors {
|
|
10
|
+
ACTIVE_TEXT = "#0F766E",
|
|
11
|
+
INACTIVE_TEXT = "#6B7280",
|
|
12
|
+
HOVER_BACKGROUND = "#F3F4F6",
|
|
13
|
+
MENU_ACTIVE_BACKGROUND = "#E0F2FE"
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=tab.constant.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tab.constant.d.ts","sourceRoot":"","sources":["../../../../src/components/tab/tab.constant.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAE/C,eAAO,MAAM,UAAU,EAAE,OAAO,CAAC,KAAK,CAQrC,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,OAAO,CAAC,KAAK,CAOhD,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,OAAO,CAAC,KAAK,CAI/C,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,OAAO,CAAC,KAAK,CAIpD,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,OAAO,CAAC,KAAK,CAO3D,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,OAAO,CAAC,KAAK,CASlD,CAAC;AAEF,eAAO,MAAM,8BAA8B,EAAE,OAAO,CAAC,KAAK,CAKzD,CAAC;AAEF,oBAAY,SAAS;IACnB,WAAW,YAAY;IACvB,aAAa,YAAY;IACzB,gBAAgB,YAAY;IAC5B,sBAAsB,YAAY;CACnC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/text-area/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
interface TextAreaProps {
|
|
4
|
+
label?: string;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
value?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
error?: boolean;
|
|
9
|
+
success?: boolean;
|
|
10
|
+
errorMessage?: ReactNode;
|
|
11
|
+
successMessage?: ReactNode;
|
|
12
|
+
borderRadius?: number | 'max';
|
|
13
|
+
onChange?: (value: string) => void;
|
|
14
|
+
onBlur?: (value: string) => void;
|
|
15
|
+
helperText?: string;
|
|
16
|
+
rows?: number;
|
|
17
|
+
maxLength?: number;
|
|
18
|
+
sx?: SxProps<Theme>;
|
|
19
|
+
}
|
|
20
|
+
declare const TextAreaComponent: ({ label, placeholder, value, disabled, error, success, errorMessage, successMessage, borderRadius, onChange, onBlur, helperText, rows, maxLength, sx, }: TextAreaProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export { TextAreaComponent };
|
|
22
|
+
//# sourceMappingURL=text-area.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-area.component.d.ts","sourceRoot":"","sources":["../../../../src/components/text-area/text-area.component.tsx"],"names":[],"mappings":"AACA,OAAO,EAAO,OAAO,EAAa,KAAK,EAAc,MAAM,eAAe,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,UAAU,aAAa;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IAC9B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;CACrB;AAED,QAAA,MAAM,iBAAiB,GAAI,yJAgBxB,aAAa,4CAsHf,CAAC;AAEF,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/text-field/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material/styles';
|
|
2
|
+
import { TextFieldProps as MuiTextFieldProps } from '@mui/material/TextField';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
interface TextFieldProps extends Omit<MuiTextFieldProps, 'variant'> {
|
|
5
|
+
label?: string;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
value?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
error?: boolean;
|
|
10
|
+
success?: boolean;
|
|
11
|
+
errorMessage?: ReactNode;
|
|
12
|
+
successMessage?: ReactNode;
|
|
13
|
+
borderRadius?: number | 'max';
|
|
14
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
15
|
+
iconBefore?: ReactNode;
|
|
16
|
+
iconAfter?: ReactNode;
|
|
17
|
+
sx?: SxProps<Theme>;
|
|
18
|
+
}
|
|
19
|
+
declare const TextFieldComponent: ({ label, placeholder, value, disabled, error, success, errorMessage, successMessage, borderRadius, helperText, onChange, iconBefore, iconAfter, sx, ...props }: TextFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export { TextFieldComponent };
|
|
21
|
+
//# sourceMappingURL=text-field.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-field.component.d.ts","sourceRoot":"","sources":["../../../../src/components/text-field/text-field.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAqB,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5F,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,UAAU,cAAe,SAAQ,IAAI,CAAC,iBAAiB,EAAE,SAAS,CAAC;IACjE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IAC9B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAChE,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;CACrB;AA6CD,QAAA,MAAM,kBAAkB,GAAI,gKAgBzB,cAAc,4CAqDhB,CAAC;AAEF,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uCAAuC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SxProps, Theme, TypographyProps } from '@mui/material';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface TypographyOneLineProps extends TypographyProps {
|
|
4
|
+
sx?: SxProps<Theme>;
|
|
5
|
+
content: any;
|
|
6
|
+
}
|
|
7
|
+
export declare const TypographyOneLine: React.FC<TypographyOneLineProps>;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=typography-limit-one-line.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typography-limit-one-line.component.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/typography-limit-one-line.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAc,eAAe,EAAE,MAAM,eAAe,CAAC;AAC5E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,UAAU,sBAAuB,SAAQ,eAAe;IACtD,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACpB,OAAO,EAAE,GAAG,CAAC;CACd;AAUD,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAY9D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/uploader/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material';
|
|
2
|
+
interface UploaderItemProps {
|
|
3
|
+
file: File | {
|
|
4
|
+
name: string;
|
|
5
|
+
size: number;
|
|
6
|
+
};
|
|
7
|
+
progress?: number;
|
|
8
|
+
status?: 'pending' | 'uploading' | 'success' | 'failed';
|
|
9
|
+
onDelete?: () => void;
|
|
10
|
+
onRetry?: () => void;
|
|
11
|
+
isProcess?: boolean;
|
|
12
|
+
borderSuccess?: string;
|
|
13
|
+
borderError?: string;
|
|
14
|
+
sx?: SxProps<Theme>;
|
|
15
|
+
}
|
|
16
|
+
declare const UploaderItemComponent: React.FC<UploaderItemProps>;
|
|
17
|
+
export { UploaderItemComponent };
|
|
18
|
+
//# sourceMappingURL=uploader-item.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uploader-item.component.d.ts","sourceRoot":"","sources":["../../../../src/components/uploader/uploader-item.component.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAqD,OAAO,EAAE,KAAK,EAAc,MAAM,eAAe,CAAC;AAgB9G,UAAU,iBAAiB;IACzB,IAAI,EAAE,IAAI,GAAG;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IAC5C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,CAAC;IACxD,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;CACrB;AAuBA,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAoHvD,CAAC;AAEF,OAAO,EAAE,qBAAqB,EAAE,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export declare const SX_STYLES: {
|
|
2
|
+
progressBar: {
|
|
3
|
+
position: string;
|
|
4
|
+
top: number;
|
|
5
|
+
left: number;
|
|
6
|
+
height: string;
|
|
7
|
+
backgroundColor: string;
|
|
8
|
+
opacity: number;
|
|
9
|
+
transition: string;
|
|
10
|
+
animation: string;
|
|
11
|
+
'@keyframes wave': {
|
|
12
|
+
'0%': {
|
|
13
|
+
backgroundPosition: string;
|
|
14
|
+
};
|
|
15
|
+
'50%': {
|
|
16
|
+
backgroundPosition: string;
|
|
17
|
+
};
|
|
18
|
+
'100%': {
|
|
19
|
+
backgroundPosition: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
imageIcon: {
|
|
24
|
+
width: string;
|
|
25
|
+
height: string;
|
|
26
|
+
flexShrink: number;
|
|
27
|
+
position: string;
|
|
28
|
+
zIndex: number;
|
|
29
|
+
};
|
|
30
|
+
contentBox: {
|
|
31
|
+
flexGrow: number;
|
|
32
|
+
minWidth: number;
|
|
33
|
+
position: string;
|
|
34
|
+
zIndex: number;
|
|
35
|
+
};
|
|
36
|
+
textBox: {
|
|
37
|
+
minWidth: number;
|
|
38
|
+
flexGrow: number;
|
|
39
|
+
mr: number;
|
|
40
|
+
};
|
|
41
|
+
actionBox: {
|
|
42
|
+
flexShrink: number;
|
|
43
|
+
display: string;
|
|
44
|
+
alignItems: string;
|
|
45
|
+
position: string;
|
|
46
|
+
zIndex: number;
|
|
47
|
+
};
|
|
48
|
+
linearProgress: {
|
|
49
|
+
mt: number;
|
|
50
|
+
width: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=uploader-item.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uploader-item.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/uploader/uploader-item.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6CrB,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { SxProps, Theme } from '@mui/material';
|
|
2
|
+
import React, { ReactNode } from 'react';
|
|
3
|
+
interface UploaderProps {
|
|
4
|
+
/** Callback khi có file được chọn */
|
|
5
|
+
onFilesSelected: (files: File[]) => void;
|
|
6
|
+
/** Loại file chấp nhận (e.g., '.pdf,.doc') */
|
|
7
|
+
accept?: string;
|
|
8
|
+
/** Cho phép multiple files */
|
|
9
|
+
multiple?: boolean;
|
|
10
|
+
/** Content/label hiển thị bên trong box */
|
|
11
|
+
children?: ReactNode;
|
|
12
|
+
/** CSS cho container (MUI sx) */
|
|
13
|
+
sx?: SxProps<Theme>;
|
|
14
|
+
/** CSS cho text "click to upload" */
|
|
15
|
+
labelSx?: SxProps<Theme>;
|
|
16
|
+
/** Text "click to upload" */
|
|
17
|
+
uploadLabel?: string;
|
|
18
|
+
/** Tùy chỉnh màu sắc giao diện */
|
|
19
|
+
appearance?: {
|
|
20
|
+
background?: string;
|
|
21
|
+
borderColor?: string;
|
|
22
|
+
borderColorHover?: string;
|
|
23
|
+
borderSuccess?: string;
|
|
24
|
+
};
|
|
25
|
+
/** Danh sách file để hiển thị (kèm progress) */
|
|
26
|
+
files?: Array<{
|
|
27
|
+
file: File | {
|
|
28
|
+
name: string;
|
|
29
|
+
size: number;
|
|
30
|
+
};
|
|
31
|
+
progress?: number;
|
|
32
|
+
isProcess?: boolean;
|
|
33
|
+
status?: 'pending' | 'uploading' | 'success' | 'failed';
|
|
34
|
+
id?: string | number;
|
|
35
|
+
}>;
|
|
36
|
+
/** Callback xoá file */
|
|
37
|
+
onDeleteFile?: (file: File | {
|
|
38
|
+
name: string;
|
|
39
|
+
size: number;
|
|
40
|
+
}) => void;
|
|
41
|
+
/** Callback retry file */
|
|
42
|
+
onRetryFile?: (fileId: string | number | undefined) => void;
|
|
43
|
+
/** Border color for error state */
|
|
44
|
+
borderError?: string;
|
|
45
|
+
}
|
|
46
|
+
declare const UploaderComponent: React.FC<UploaderProps>;
|
|
47
|
+
export { UploaderComponent };
|
|
48
|
+
//# sourceMappingURL=uploader.component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"uploader.component.d.ts","sourceRoot":"","sources":["../../../../src/components/uploader/uploader.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,KAAK,EAAE,EAAE,SAAS,EAAoB,MAAM,OAAO,CAAC;AAG3D,UAAU,aAAa;IACrB,qCAAqC;IACrC,eAAe,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IACzC,8CAA8C;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,iCAAiC;IACjC,EAAE,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACpB,qCAAqC;IACrC,OAAO,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACzB,6BAA6B;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kCAAkC;IAClC,UAAU,CAAC,EAAE;QACX,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;QAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;KACxB,CAAC;IACF,gDAAgD;IAChD,KAAK,CAAC,EAAE,KAAK,CAAC;QACZ,IAAI,EAAE,IAAI,GAAG;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAA;SAAE,CAAC;QAC5C,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,SAAS,CAAC,EAAE,OAAO,CAAC;QACpB,MAAM,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,CAAC;QACxD,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;KACtB,CAAC,CAAC;IACH,wBAAwB;IACxB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACrE,0BAA0B;IAC1B,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;IAC5D,mCAAmC;IACnC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CA4K9C,CAAC;AAEF,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const SIZE_EXTRA_LARGE = 36;
|
|
2
|
+
export type SizeProps = 'extra_small' | 'small' | 'medium' | 'large' | 'extra_large' | 'avatar_group';
|
|
3
|
+
export declare const MAP_SIZE: Record<string, {
|
|
4
|
+
width: number;
|
|
5
|
+
height: number;
|
|
6
|
+
}>;
|
|
7
|
+
//# sourceMappingURL=apps.data.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apps.data.d.ts","sourceRoot":"","sources":["../../../src/constants/apps.data.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB,KAAK,CAAC;AAEnC,MAAM,MAAM,SAAS,GAAG,aAAa,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,aAAa,GAAG,cAAc,CAAC;AAEtG,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAOtE,CAAC"}
|