kwant-ui 3.25.3 → 3.25.5-alpha.0
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 +73 -73
- package/dist/GlobalStyles/index.d.ts +5 -5
- package/dist/GlobalStyles/types.d.ts +17 -17
- package/dist/GlobalStyles/typography.d.ts +20 -20
- package/dist/HOC/HoverHOC/HoverHOC.d.ts +3 -3
- package/dist/HOC/HoverHOC/HoverHOCStyled.d.ts +2 -2
- package/dist/HOC/HoverHOC/index.d.ts +2 -2
- package/dist/HOC/HoverHOC/types.d.ts +16 -16
- package/dist/components/Alert/Alert.d.ts +3 -3
- package/dist/components/Alert/AlertStyled.d.ts +6 -6
- package/dist/components/Alert/AlertTypes.d.ts +24 -24
- package/dist/components/Alert/AlertUtils.d.ts +23 -23
- package/dist/components/Alert/index.d.ts +2 -2
- package/dist/components/Avatar/Avatar.d.ts +3 -3
- package/dist/components/Avatar/Avatar.types.d.ts +40 -40
- package/dist/components/Avatar/AvatarStyled.d.ts +6 -6
- package/dist/components/Avatar/AvatarUtils.d.ts +2 -2
- package/dist/components/Avatar/index.d.ts +2 -2
- package/dist/components/AvatarGroup/AvatarGroup.d.ts +3 -3
- package/dist/components/AvatarGroup/AvatarGroupStyled.d.ts +3 -3
- package/dist/components/AvatarGroup/AvatarGroupTypes.d.ts +20 -20
- package/dist/components/AvatarGroup/AvatarGroupUtils.d.ts +1 -1
- package/dist/components/AvatarGroup/index.d.ts +2 -2
- package/dist/components/Badge/Badge.d.ts +3 -3
- package/dist/components/Badge/Badge.styled.d.ts +1 -1
- package/dist/components/Badge/types.d.ts +6 -6
- package/dist/components/BaseDrawer/BaseDrawer.d.ts +3 -3
- package/dist/components/BaseDrawer/BaseDrawer.styled.d.ts +3 -3
- package/dist/components/BaseDrawer/BaseDrawer.types.d.ts +19 -19
- package/dist/components/BaseDrawer/BaseDrawer.utils.d.ts +12 -12
- package/dist/components/BaseDrawer/index.d.ts +2 -2
- package/dist/components/BaseDropdown/BaseDropdown.d.ts +3 -3
- package/dist/components/BaseDropdown/BaseDropdownStyled.d.ts +2 -2
- package/dist/components/BaseDropdown/BaseDropdownTypes.d.ts +20 -20
- package/dist/components/BaseDropdown/index.d.ts +2 -2
- package/dist/components/Battery/Battery.d.ts +3 -3
- package/dist/components/Battery/Battery.styled.d.ts +1 -1
- package/dist/components/Battery/types.d.ts +3 -3
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +12 -12
- package/dist/components/Breadcrumb/Breadcrumb.styled.d.ts +5 -5
- package/dist/components/Breadcrumb/BreadcrumbUtils.d.ts +7 -7
- package/dist/components/Breadcrumb/Crumb.d.ts +9 -9
- package/dist/components/Breadcrumb/index.d.ts +2 -2
- package/dist/components/Button/Button.d.ts +3 -3
- package/dist/components/Button/Button.styled.d.ts +3 -3
- package/dist/components/Button/buttonColors.d.ts +3 -3
- package/dist/components/Button/helper.d.ts +4 -4
- package/dist/components/Button/types.d.ts +79 -79
- package/dist/components/Calendar/Calendar.d.ts +3 -3
- package/dist/components/Calendar/CalendarComponents.d.ts +10 -10
- package/dist/components/Calendar/CalendarStyled.d.ts +8 -8
- package/dist/components/Calendar/CalendarTypes.d.ts +34 -34
- package/dist/components/Calendar/CalendarUtils.d.ts +26 -26
- package/dist/components/Calendar/icons.d.ts +6 -6
- package/dist/components/Calendar/index.d.ts +2 -2
- package/dist/components/Charts/AreaChart/AreaChart.d.ts +3 -3
- package/dist/components/Charts/AreaChart/AreaChartData.d.ts +43 -43
- package/dist/components/Charts/AreaChart/AreaChartStyled.d.ts +19 -19
- package/dist/components/Charts/AreaChart/AreaChartTypes.d.ts +62 -61
- package/dist/components/Charts/AreaChart/AreaChartUtils.d.ts +23 -23
- package/dist/components/Charts/AreaChart/index.d.ts +2 -2
- package/dist/components/Charts/GaugeChart/GaugeChart.d.ts +3 -3
- package/dist/components/Charts/GaugeChart/GaugeChartStyled.d.ts +9 -9
- package/dist/components/Charts/GaugeChart/GaugeChartTypes.d.ts +26 -26
- package/dist/components/Charts/GaugeChart/index.d.ts +2 -2
- package/dist/components/Charts/HorizontalStackedBarChart/HorizontalStackedBarChart.d.ts +3 -3
- package/dist/components/Charts/HorizontalStackedBarChart/HorizontalStackedBarChartData.d.ts +19 -19
- package/dist/components/Charts/HorizontalStackedBarChart/HorizontalStackedBarChartStyled.d.ts +18 -18
- package/dist/components/Charts/HorizontalStackedBarChart/HorizontalStackedBarChartTypes.d.ts +60 -60
- package/dist/components/Charts/HorizontalStackedBarChart/HorizontalStackedBarChartUtils.d.ts +10 -10
- package/dist/components/Charts/HorizontalStackedBarChart/index.d.ts +2 -2
- package/dist/components/Charts/LineChart/LineChart.d.ts +3 -3
- package/dist/components/Charts/LineChart/LineChartData.d.ts +37 -37
- package/dist/components/Charts/LineChart/LineChartStyled.d.ts +19 -19
- package/dist/components/Charts/LineChart/LineChartTypes.d.ts +59 -59
- package/dist/components/Charts/LineChart/LineChartUtils.d.ts +20 -20
- package/dist/components/Charts/LineChart/index.d.ts +2 -2
- package/dist/components/Charts/ProgressChart/ProgressChart.d.ts +3 -3
- package/dist/components/Charts/ProgressChart/ProgressChartStyled.d.ts +1 -1
- package/dist/components/Charts/ProgressChart/ProgressChartTypes.d.ts +13 -13
- package/dist/components/Charts/ProgressChart/index.d.ts +2 -2
- package/dist/components/Charts/StackedBarChart/StackedBarChart.d.ts +3 -3
- package/dist/components/Charts/StackedBarChart/StackedBarChartData.d.ts +34 -34
- package/dist/components/Charts/StackedBarChart/StackedBarChartStyled.d.ts +19 -19
- package/dist/components/Charts/StackedBarChart/StackedBarChartTypes.d.ts +60 -60
- package/dist/components/Charts/StackedBarChart/StackedBarChartUtils.d.ts +19 -19
- package/dist/components/Charts/StackedBarChart/index.d.ts +2 -2
- package/dist/components/Charts/WeekwiseBarChart/WeekwiseBarChart.d.ts +3 -3
- package/dist/components/Charts/WeekwiseBarChart/WeekwiseBarChartData.d.ts +13 -13
- package/dist/components/Charts/WeekwiseBarChart/WeekwiseBarChartTypes.d.ts +37 -35
- package/dist/components/Charts/WeekwiseBarChart/WeekwiseBarChartUtils.d.ts +11 -11
- package/dist/components/Charts/WeekwiseBarChart/index.d.ts +2 -2
- package/dist/components/Charts/WorkerTimeChart/WorkTimeChartComponents.d.ts +14 -14
- package/dist/components/Charts/WorkerTimeChart/WorkerTimeChart.d.ts +3 -3
- package/dist/components/Charts/WorkerTimeChart/WorkerTimeChartData.d.ts +16 -16
- package/dist/components/Charts/WorkerTimeChart/WorkerTimeChartTypes.d.ts +49 -47
- package/dist/components/Charts/WorkerTimeChart/WorkerTimeChartUtils.d.ts +11 -8
- package/dist/components/Charts/WorkerTimeChart/index.d.ts +2 -2
- package/dist/components/Checkbox/Checkbox.d.ts +4 -4
- package/dist/components/Checkbox/CheckboxStyled.d.ts +12 -12
- package/dist/components/Checkbox/types.d.ts +26 -26
- package/dist/components/ConfirmationScreen/ConfirmationIcons.d.ts +3 -3
- package/dist/components/ConfirmationScreen/ConfirmationScreen.d.ts +3 -3
- package/dist/components/ConfirmationScreen/ConfirmationScreenStyled.d.ts +1 -1
- package/dist/components/ConfirmationScreen/types.d.ts +10 -10
- package/dist/components/CountryCodeInput/CountryCodeInput.styled.d.ts +5 -5
- package/dist/components/CountryCodeInput/countryCodes.d.ts +6 -6
- package/dist/components/CountryCodeInput/index.d.ts +3 -3
- package/dist/components/CountryCodeInput/types.d.ts +24 -24
- package/dist/components/Datepicker/Datepicker.d.ts +3 -3
- package/dist/components/Datepicker/DatepickerStyled.d.ts +3 -3
- package/dist/components/Datepicker/components/icons.d.ts +6 -6
- package/dist/components/Datepicker/index.d.ts +2 -2
- package/dist/components/Datepicker/types.d.ts +19 -19
- package/dist/components/Datepicker/utils/index.d.ts +7 -7
- package/dist/components/Dialog/Dialog.d.ts +3 -3
- package/dist/components/Dialog/DialogStyled.d.ts +9 -9
- package/dist/components/Dialog/DialogTypes.d.ts +17 -17
- package/dist/components/Dialog/DialogUtils.d.ts +1 -1
- package/dist/components/Dialog/index.d.ts +2 -2
- package/dist/components/DocumentCard/DocumentCard.d.ts +3 -3
- package/dist/components/DocumentCard/DocumentCard.styled.d.ts +1 -1
- package/dist/components/DocumentCard/types.d.ts +10 -10
- package/dist/components/Drawer/Drawer.d.ts +3 -3
- package/dist/components/Drawer/Drawer.styled.d.ts +13 -13
- package/dist/components/Drawer/Drawer.types.d.ts +18 -18
- package/dist/components/Drawer/Drawer.utils.d.ts +1 -1
- package/dist/components/Drawer/DrawerLayout.d.ts +3 -3
- package/dist/components/Drawer/index.d.ts +2 -2
- package/dist/components/Dropdown/Dropdown.d.ts +3 -3
- package/dist/components/Dropdown/DropdownStyled.d.ts +16 -16
- package/dist/components/Dropdown/DropdownTypes.d.ts +33 -33
- package/dist/components/Dropdown/DropdownUtils.d.ts +5 -5
- package/dist/components/Dropdown/index.d.ts +2 -2
- package/dist/components/DropdownCalendar/DropdownCalendar.d.ts +10 -10
- package/dist/components/DropdownCalendar/index.d.ts +2 -2
- package/dist/components/DropdownSelect/DropdownSelect.d.ts +3 -3
- package/dist/components/DropdownSelect/DropdownSelect.styled.d.ts +13 -13
- package/dist/components/DropdownSelect/DropdownSelect.types.d.ts +9 -9
- package/dist/components/DropdownSelect/DropdownSelect.utils.d.ts +4 -4
- package/dist/components/DropdownSelect/index.d.ts +2 -2
- package/dist/components/FilterTag/FilterTag.d.ts +3 -3
- package/dist/components/FilterTag/FilterTag.styled.d.ts +1 -1
- package/dist/components/FilterTag/types.d.ts +11 -11
- package/dist/components/Grid/Col.d.ts +3 -3
- package/dist/components/Grid/Col.styled.d.ts +1 -1
- package/dist/components/Grid/Row.d.ts +3 -3
- package/dist/components/Grid/Row.styled.d.ts +10 -10
- package/dist/components/Grid/index.d.ts +3 -3
- package/dist/components/Grid/types.d.ts +22 -22
- package/dist/components/HorizontalStepper/HorizontalStepper.styled.d.ts +10 -10
- package/dist/components/HorizontalStepper/index.d.ts +11 -11
- package/dist/components/HoverCalendar/HoverCalendar.d.ts +3 -3
- package/dist/components/HoverCalendar/HoverCalendarStyled.d.ts +1 -1
- package/dist/components/HoverCalendar/types.d.ts +14 -14
- package/dist/components/HoverInput/HoverInput.d.ts +3 -3
- package/dist/components/HoverInput/HoverInputStyled.d.ts +1 -1
- package/dist/components/HoverInput/types.d.ts +5 -5
- package/dist/components/HoverSelect/HoverSelect.d.ts +3 -3
- package/dist/components/HoverSelect/HoverSelectStyled.d.ts +1 -1
- package/dist/components/HoverSelect/types.d.ts +16 -16
- package/dist/components/Icon/Icon.d.ts +15 -15
- package/dist/components/Icon/IconUtils.d.ts +1 -1
- package/dist/components/Icon/index.d.ts +2 -2
- package/dist/components/IconLabel/InfoAccordion/InfoAccordion.d.ts +3 -3
- package/dist/components/IconLabel/InfoAccordion/InfoAccordionStyled.d.ts +1 -1
- package/dist/components/IconLabel/InfoAccordion/types.d.ts +13 -13
- package/dist/components/IconLabel/iconlabel.styled.d.ts +1 -1
- package/dist/components/IconLabel/index.d.ts +3 -3
- package/dist/components/IconLabel/types.d.ts +10 -10
- package/dist/components/InfoAccordion/InfoAccordion.d.ts +3 -3
- package/dist/components/InfoAccordion/InfoAccordionStyled.d.ts +1 -1
- package/dist/components/InfoAccordion/types.d.ts +13 -13
- package/dist/components/Input/index.d.ts +4 -4
- package/dist/components/Input/inputStyled.d.ts +9 -9
- package/dist/components/Input/types.d.ts +49 -49
- package/dist/components/Input/utils.d.ts +4 -4
- package/dist/components/Label/LabelStyled.d.ts +3 -3
- package/dist/components/Label/index.d.ts +2 -2
- package/dist/components/Label/types.d.ts +6 -6
- package/dist/components/Loader/FullScreenLoader.d.ts +3 -3
- package/dist/components/Loader/FullScreenLoaderStyled.d.ts +2 -2
- package/dist/components/Loader/Loader.d.ts +6 -6
- package/dist/components/Loader/Loader.styled.d.ts +4 -4
- package/dist/components/Loader/SimpleLoader.d.ts +7 -7
- package/dist/components/Loader/SimpleLoader.styled.d.ts +2 -2
- package/dist/components/Loader/index.d.ts +4 -4
- package/dist/components/Loader/types.d.ts +4 -4
- package/dist/components/MultiSelect/MultiSelect.d.ts +3 -3
- package/dist/components/MultiSelect/MultiSelectStyled.d.ts +2 -2
- package/dist/components/MultiSelect/types.d.ts +18 -18
- package/dist/components/MultiSelect/utils.d.ts +24 -24
- package/dist/components/Navigation/CollapsibleNavItem/NavItemStyled.d.ts +10 -10
- package/dist/components/Navigation/CollapsibleNavItem/index.d.ts +4 -4
- package/dist/components/Navigation/NavItem/NavItemStyled.d.ts +12 -12
- package/dist/components/Navigation/NavItem/index.d.ts +6 -6
- package/dist/components/Navigation/NavigationStyled.d.ts +8 -8
- package/dist/components/Navigation/data.d.ts +3 -3
- package/dist/components/Navigation/index.d.ts +4 -4
- package/dist/components/Navigation/types.d.ts +36 -36
- package/dist/components/OTPInput/OTPInput.constants.d.ts +10 -10
- package/dist/components/OTPInput/OTPInput.d.ts +3 -3
- package/dist/components/OTPInput/OTPInput.styled.d.ts +18 -18
- package/dist/components/OTPInput/OTPInput.utils.d.ts +9 -9
- package/dist/components/OTPInput/index.d.ts +2 -2
- package/dist/components/Overlay/Overlay.d.ts +9 -9
- package/dist/components/Overlay/index.d.ts +2 -2
- package/dist/components/Pagination/Pagination.components.d.ts +3 -3
- package/dist/components/Pagination/Pagination.d.ts +3 -3
- package/dist/components/Pagination/Pagination.styled.d.ts +13 -13
- package/dist/components/Pagination/Pagination.types.d.ts +48 -48
- package/dist/components/Pagination/Pagination.utils.d.ts +6 -6
- package/dist/components/Pagination/index.d.ts +2 -2
- package/dist/components/Radio/Radio.d.ts +3 -3
- package/dist/components/Radio/RadioStyled.d.ts +8 -8
- package/dist/components/Radio/RadioType.d.ts +19 -19
- package/dist/components/Radio/index.d.ts +2 -2
- package/dist/components/Select/Select.d.ts +3 -3
- package/dist/components/Select/Select.styled.d.ts +8 -8
- package/dist/components/Select/Select.types.d.ts +22 -22
- package/dist/components/Select/Select.utils.d.ts +5 -5
- package/dist/components/Select/index.d.ts +2 -2
- package/dist/components/Selector/Selector.d.ts +3 -3
- package/dist/components/Selector/Selector.styled.d.ts +5 -5
- package/dist/components/Selector/index.d.ts +2 -2
- package/dist/components/Selector/types.d.ts +8 -8
- package/dist/components/Skeleton/Skeleton.styled.d.ts +7 -7
- package/dist/components/Skeleton/index.d.ts +7 -7
- package/dist/components/Slider/Slider.d.ts +15 -15
- package/dist/components/Slider/Slider.styled.d.ts +6 -6
- package/dist/components/Slider/index.d.ts +3 -3
- package/dist/components/Slider/types.d.ts +10 -10
- package/dist/components/Spinner/Spinner.d.ts +5 -5
- package/dist/components/Spinner/Spinner.styled.d.ts +1 -1
- package/dist/components/Spinner/index.d.ts +2 -2
- package/dist/components/StepperDrawerLayout/StepperDrawerLayout.d.ts +3 -3
- package/dist/components/StepperDrawerLayout/StepperDrawerLayout.types.d.ts +8 -8
- package/dist/components/StepperDrawerLayout/StepperDrawerLayout.utils.d.ts +1 -1
- package/dist/components/StepperDrawerLayout/StepperDrawerLayoutStyled.d.ts +5 -5
- package/dist/components/StepperDrawerLayout/index.d.ts +2 -2
- package/dist/components/Switch/Switch.d.ts +3 -3
- package/dist/components/Switch/Switch.styled.d.ts +2 -2
- package/dist/components/Switch/index.d.ts +1 -1
- package/dist/components/Switch/types.d.ts +23 -23
- package/dist/components/Tabs/Tabs.d.ts +3 -3
- package/dist/components/Tabs/TabsStyled.d.ts +14 -14
- package/dist/components/Tabs/TabsTypes.d.ts +22 -22
- package/dist/components/Tabs/TabsUtils.d.ts +2 -2
- package/dist/components/Tabs/index.d.ts +2 -2
- package/dist/components/Tag/Tag.d.ts +3 -3
- package/dist/components/Tag/Tag.styled.d.ts +2 -2
- package/dist/components/Tag/types.d.ts +17 -17
- package/dist/components/Text/TextStyled.d.ts +3 -3
- package/dist/components/Text/index.d.ts +3 -3
- package/dist/components/Text/types.d.ts +18 -18
- package/dist/components/Text/typography.d.ts +19 -19
- package/dist/components/Text/utils.d.ts +4 -4
- package/dist/components/Toast/Toast.d.ts +3 -3
- package/dist/components/Toast/Toast.styled.d.ts +7 -7
- package/dist/components/Toast/Toast.types.d.ts +49 -49
- package/dist/components/Toast/Toast.utils.d.ts +8 -8
- package/dist/components/Toast/ToastContext.d.ts +4 -4
- package/dist/components/Toast/ToastProvider.d.ts +3 -3
- package/dist/components/Toast/index.d.ts +2 -2
- package/dist/components/Tooltip/Tooltip.d.ts +3 -3
- package/dist/components/Tooltip/index.d.ts +2 -2
- package/dist/components/Tooltip/tooltip.styled.d.ts +2 -2
- package/dist/components/Tooltip/types.d.ts +34 -34
- package/dist/components/TrendPercentage/TrendPercentage.d.ts +11 -11
- package/dist/components/TrendPercentage/TrendPercentageStyled.d.ts +4 -4
- package/dist/components/TrendPercentage/index.d.ts +2 -2
- package/dist/components/UploadAvatar/UploadAvatar.d.ts +3 -3
- package/dist/components/UploadAvatar/UploadAvatarStyled.d.ts +1 -1
- package/dist/components/UploadAvatar/types.d.ts +9 -9
- package/dist/components/stepper/StepperStyled.d.ts +26 -26
- package/dist/components/stepper/StepperTypes.d.ts +28 -28
- package/dist/components/stepper/StepperUtils.d.ts +10 -10
- package/dist/components/stepper/index.d.ts +3 -3
- package/dist/globals.d.ts +7 -7
- package/dist/hooks/index.d.ts +4 -4
- package/dist/hooks/useDebouncedValue.d.ts +2 -2
- package/dist/hooks/useDynamicImport.d.ts +8 -8
- package/dist/hooks/useOutsideClick.d.ts +6 -6
- package/dist/hooks/useToast.d.ts +10 -10
- package/dist/hooks/useToggle.d.ts +8 -8
- package/dist/index.d.ts +67 -67
- package/dist/index.es.js +136 -136
- package/dist/index.js +291 -291
- package/dist/package.json +88 -88
- package/dist/public/assets/icons/doc-alert.svg +5 -0
- package/dist/public/assets/icons/no-entry-man.svg +4 -0
- package/dist/themes/colors.d.ts +3 -3
- package/dist/themes/colors.ts +186 -186
- package/dist/themes/index.d.ts +3 -3
- package/dist/themes/types.d.ts +192 -192
- package/dist/types/IconTypes.d.ts +1 -1
- package/dist/utils/formatDate.d.ts +1 -1
- package/dist/utils/index.d.ts +12 -12
- package/dist/utils/index.ts +86 -86
- package/package.json +88 -88
- package/themes/colors.ts +186 -186
- package/themes/index.ts +8 -8
- package/themes/types.ts +211 -211
- package/utils/formatDate.ts +5 -5
- package/utils/generateTypesForIcons.js +37 -37
- package/utils/index.ts +86 -86
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export declare const weekWiseBarChartRealData: {
|
|
2
|
-
day: string;
|
|
3
|
-
date: string;
|
|
4
|
-
workPhaseTimeHour: number;
|
|
5
|
-
slackTimeHour: number;
|
|
6
|
-
}[];
|
|
7
|
-
export declare const processWeekwiseBarChartData: (data: typeof weekWiseBarChartRealData) => any;
|
|
8
|
-
export declare const weekwiseBarChartData: {
|
|
9
|
-
day: string;
|
|
10
|
-
date: string;
|
|
11
|
-
workPhaseTimeHour: number;
|
|
12
|
-
slackTimeHour: number;
|
|
13
|
-
}[];
|
|
1
|
+
export declare const weekWiseBarChartRealData: {
|
|
2
|
+
day: string;
|
|
3
|
+
date: string;
|
|
4
|
+
workPhaseTimeHour: number;
|
|
5
|
+
slackTimeHour: number;
|
|
6
|
+
}[];
|
|
7
|
+
export declare const processWeekwiseBarChartData: (data: typeof weekWiseBarChartRealData) => any;
|
|
8
|
+
export declare const weekwiseBarChartData: {
|
|
9
|
+
day: string;
|
|
10
|
+
date: string;
|
|
11
|
+
workPhaseTimeHour: number;
|
|
12
|
+
slackTimeHour: number;
|
|
13
|
+
}[];
|
|
@@ -1,35 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Payload } from 'recharts/types/component/DefaultLegendContent';
|
|
3
|
+
export declare namespace IWeekwiseBarChart {
|
|
4
|
+
type Props = {
|
|
5
|
+
width?: string | number;
|
|
6
|
+
height?: string | number;
|
|
7
|
+
legends?: CustomLegendType[];
|
|
8
|
+
data: any[];
|
|
9
|
+
labelX?: string;
|
|
10
|
+
labelY?: string;
|
|
11
|
+
workPhaseTimeHourLabel?: string;
|
|
12
|
+
slackTimeHourLabel?: string;
|
|
13
|
+
dataKeyX: string;
|
|
14
|
+
dataKeyY?: string;
|
|
15
|
+
workPhaseTimeHourDataKey: string;
|
|
16
|
+
slackTimeHourDataKey: string;
|
|
17
|
+
showTooltip?: boolean;
|
|
18
|
+
showLegends?: boolean;
|
|
19
|
+
margin?: {
|
|
20
|
+
top?: number;
|
|
21
|
+
right?: number;
|
|
22
|
+
bottom?: number;
|
|
23
|
+
left?: number;
|
|
24
|
+
};
|
|
25
|
+
customYAxisTickFormatter?: (value: any) => string;
|
|
26
|
+
customXAxisTickFormatter?: (value: any) => string;
|
|
27
|
+
};
|
|
28
|
+
type CustomLegendType = Omit<Payload, keyof Payload> & {
|
|
29
|
+
value: string;
|
|
30
|
+
color?: string;
|
|
31
|
+
shape?: React.ReactNode;
|
|
32
|
+
payload?: {
|
|
33
|
+
value: string;
|
|
34
|
+
strokeDasharray: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { TooltipProps } from 'recharts';
|
|
2
|
-
import { NameType, ValueType } from 'recharts/types/component/DefaultTooltipContent';
|
|
3
|
-
import { Props as LabelListContentProps } from 'recharts/types/component/Label';
|
|
4
|
-
export declare const TickX: (props: {
|
|
5
|
-
x?: number;
|
|
6
|
-
y?: number;
|
|
7
|
-
payload?: any;
|
|
8
|
-
rotate?: number;
|
|
9
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export declare const renderCustomizedLabel: (props: LabelListContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export declare const WeekwiseChartCustomTooltip: (props: TooltipProps<ValueType, NameType>) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import { TooltipProps } from 'recharts';
|
|
2
|
+
import { NameType, ValueType } from 'recharts/types/component/DefaultTooltipContent';
|
|
3
|
+
import { Props as LabelListContentProps } from 'recharts/types/component/Label';
|
|
4
|
+
export declare const TickX: (props: {
|
|
5
|
+
x?: number;
|
|
6
|
+
y?: number;
|
|
7
|
+
payload?: any;
|
|
8
|
+
rotate?: number;
|
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const renderCustomizedLabel: (props: LabelListContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const WeekwiseChartCustomTooltip: (props: TooltipProps<ValueType, NameType>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import WeekwiseBarChart from './WeekwiseBarChart';
|
|
2
|
-
export { WeekwiseBarChart };
|
|
1
|
+
import WeekwiseBarChart from './WeekwiseBarChart';
|
|
2
|
+
export { WeekwiseBarChart };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export declare const CheckInShape: ({ x, y }: {
|
|
2
|
-
x: number;
|
|
3
|
-
y: number;
|
|
4
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export declare const CheckOutShape: ({ x, y }: {
|
|
6
|
-
x: number;
|
|
7
|
-
y: number;
|
|
8
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export declare const BaseLine: ({ x1, x2, y2 }: {
|
|
10
|
-
x1: number;
|
|
11
|
-
y1: number;
|
|
12
|
-
x2: number;
|
|
13
|
-
y2: number;
|
|
14
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
export declare const CheckInShape: ({ x, y }: {
|
|
2
|
+
x: number;
|
|
3
|
+
y: number;
|
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare const CheckOutShape: ({ x, y }: {
|
|
6
|
+
x: number;
|
|
7
|
+
y: number;
|
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const BaseLine: ({ x1, x2, y2 }: {
|
|
10
|
+
x1: number;
|
|
11
|
+
y1: number;
|
|
12
|
+
x2: number;
|
|
13
|
+
y2: number;
|
|
14
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IWorkerTimeChart } from './WorkerTimeChartTypes';
|
|
2
|
-
declare const WorkerTimeChart: (props: IWorkerTimeChart.Props) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export default WorkerTimeChart;
|
|
1
|
+
import { IWorkerTimeChart } from './WorkerTimeChartTypes';
|
|
2
|
+
declare const WorkerTimeChart: (props: IWorkerTimeChart.Props) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default WorkerTimeChart;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export declare const getMilliseconds: (hour: number, min: number, sec: number) => number;
|
|
2
|
-
export declare const workerTimeChartData: {
|
|
3
|
-
date: string;
|
|
4
|
-
checkIn: string;
|
|
5
|
-
checkOut: string;
|
|
6
|
-
workTime: number;
|
|
7
|
-
overTime: number;
|
|
8
|
-
}[];
|
|
9
|
-
export declare const workerTimeChartOrganizedData: {
|
|
10
|
-
date: string;
|
|
11
|
-
checkIn: string;
|
|
12
|
-
checkOut: string;
|
|
13
|
-
workTime: number;
|
|
14
|
-
overTime: number;
|
|
15
|
-
}[];
|
|
16
|
-
export declare const processDataForWorkerTimeChart: (rawData: any[]) => any[];
|
|
1
|
+
export declare const getMilliseconds: (hour: number, min: number, sec: number) => number;
|
|
2
|
+
export declare const workerTimeChartData: {
|
|
3
|
+
date: string;
|
|
4
|
+
checkIn: string;
|
|
5
|
+
checkOut: string;
|
|
6
|
+
workTime: number;
|
|
7
|
+
overTime: number;
|
|
8
|
+
}[];
|
|
9
|
+
export declare const workerTimeChartOrganizedData: {
|
|
10
|
+
date: string;
|
|
11
|
+
checkIn: string;
|
|
12
|
+
checkOut: string;
|
|
13
|
+
workTime: number;
|
|
14
|
+
overTime: number;
|
|
15
|
+
}[];
|
|
16
|
+
export declare const processDataForWorkerTimeChart: (rawData: any[]) => any[];
|
|
@@ -1,47 +1,49 @@
|
|
|
1
|
-
import { XAxisProps, YAxisProps } from 'recharts';
|
|
2
|
-
import { Props as CartesianGridProps } from 'recharts/types/cartesian/CartesianGrid';
|
|
3
|
-
import { NameType, ValueType } from 'recharts/types/component/DefaultTooltipContent';
|
|
4
|
-
import { Props as LegendProps } from 'recharts/types/component/Legend';
|
|
5
|
-
import { TooltipProps } from 'recharts/types/component/Tooltip';
|
|
6
|
-
import { IWeekwiseBarChart } from '../WeekwiseBarChart/WeekwiseBarChartTypes';
|
|
7
|
-
export declare namespace IWorkerTimeChart {
|
|
8
|
-
type Props = {
|
|
9
|
-
width: number | string;
|
|
10
|
-
height: number | string;
|
|
11
|
-
margin?: {
|
|
12
|
-
top?: number;
|
|
13
|
-
right?: number;
|
|
14
|
-
bottom?: number;
|
|
15
|
-
left?: number;
|
|
16
|
-
};
|
|
17
|
-
data?: DataObj[];
|
|
18
|
-
showLegends?: boolean;
|
|
19
|
-
showTooltip?: boolean;
|
|
20
|
-
showReferenceLine?: boolean;
|
|
21
|
-
referenceLineValue?: number;
|
|
22
|
-
referenceLineColor?: string;
|
|
23
|
-
labelX?: string;
|
|
24
|
-
labelYLeft?: string;
|
|
25
|
-
labelYRight?: string;
|
|
26
|
-
dataKeyX: string;
|
|
27
|
-
dataKeyCheckIn?: string;
|
|
28
|
-
dataKeyCheckOut?: string;
|
|
29
|
-
dataKeyWorkTime?: string;
|
|
30
|
-
dataKeyOverTime?: string;
|
|
31
|
-
legends?: IWeekwiseBarChart.CustomLegendType[];
|
|
32
|
-
tooltipProps?: TooltipProps<ValueType, NameType>;
|
|
33
|
-
cartesianGridProps?: Omit<CartesianGridProps, 'ref'>;
|
|
34
|
-
legendProps?: Omit<LegendProps, 'ref'>;
|
|
35
|
-
xAxisProps?: XAxisProps;
|
|
36
|
-
yAxisLeftProps?: YAxisProps;
|
|
37
|
-
yAxisRightProps?: YAxisProps;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
1
|
+
import { XAxisProps, YAxisProps } from 'recharts';
|
|
2
|
+
import { Props as CartesianGridProps } from 'recharts/types/cartesian/CartesianGrid';
|
|
3
|
+
import { NameType, ValueType } from 'recharts/types/component/DefaultTooltipContent';
|
|
4
|
+
import { Props as LegendProps } from 'recharts/types/component/Legend';
|
|
5
|
+
import { TooltipProps } from 'recharts/types/component/Tooltip';
|
|
6
|
+
import { IWeekwiseBarChart } from '../WeekwiseBarChart/WeekwiseBarChartTypes';
|
|
7
|
+
export declare namespace IWorkerTimeChart {
|
|
8
|
+
type Props = {
|
|
9
|
+
width: number | string;
|
|
10
|
+
height: number | string;
|
|
11
|
+
margin?: {
|
|
12
|
+
top?: number;
|
|
13
|
+
right?: number;
|
|
14
|
+
bottom?: number;
|
|
15
|
+
left?: number;
|
|
16
|
+
};
|
|
17
|
+
data?: DataObj[];
|
|
18
|
+
showLegends?: boolean;
|
|
19
|
+
showTooltip?: boolean;
|
|
20
|
+
showReferenceLine?: boolean;
|
|
21
|
+
referenceLineValue?: number;
|
|
22
|
+
referenceLineColor?: string;
|
|
23
|
+
labelX?: string;
|
|
24
|
+
labelYLeft?: string;
|
|
25
|
+
labelYRight?: string;
|
|
26
|
+
dataKeyX: string;
|
|
27
|
+
dataKeyCheckIn?: string;
|
|
28
|
+
dataKeyCheckOut?: string;
|
|
29
|
+
dataKeyWorkTime?: string;
|
|
30
|
+
dataKeyOverTime?: string;
|
|
31
|
+
legends?: IWeekwiseBarChart.CustomLegendType[];
|
|
32
|
+
tooltipProps?: TooltipProps<ValueType, NameType>;
|
|
33
|
+
cartesianGridProps?: Omit<CartesianGridProps, 'ref'>;
|
|
34
|
+
legendProps?: Omit<LegendProps, 'ref'>;
|
|
35
|
+
xAxisProps?: XAxisProps;
|
|
36
|
+
yAxisLeftProps?: YAxisProps;
|
|
37
|
+
yAxisRightProps?: YAxisProps;
|
|
38
|
+
showHourBars?: boolean;
|
|
39
|
+
showTimeScatters?: boolean;
|
|
40
|
+
};
|
|
41
|
+
type DataObj = {
|
|
42
|
+
date: string;
|
|
43
|
+
checkIn: number;
|
|
44
|
+
checkOut: number;
|
|
45
|
+
workTime: number;
|
|
46
|
+
overTime: number;
|
|
47
|
+
[key: string]: any;
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import { TooltipProps } from 'recharts';
|
|
2
|
-
import { NameType, ValueType } from 'recharts/types/component/DefaultTooltipContent';
|
|
3
|
-
import { Props as LabelListContentProps } from 'recharts/types/component/Label';
|
|
4
|
-
export declare const getX: (x: number, width: number) => number;
|
|
5
|
-
export declare const Divider: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
-
export declare const getHourConditionally: (hour: number) => string;
|
|
7
|
-
export declare const renderCustomizedLabel: (props: LabelListContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export declare const WorkerTimeChartTooltip: (props: TooltipProps<ValueType, NameType>
|
|
1
|
+
import { TooltipProps } from 'recharts';
|
|
2
|
+
import { NameType, ValueType } from 'recharts/types/component/DefaultTooltipContent';
|
|
3
|
+
import { Props as LabelListContentProps } from 'recharts/types/component/Label';
|
|
4
|
+
export declare const getX: (x: number, width: number) => number;
|
|
5
|
+
export declare const Divider: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export declare const getHourConditionally: (hour: number) => string;
|
|
7
|
+
export declare const renderCustomizedLabel: (props: LabelListContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare const WorkerTimeChartTooltip: (props: TooltipProps<ValueType, NameType> & {
|
|
9
|
+
showHourRows?: boolean;
|
|
10
|
+
showTimeRows?: boolean;
|
|
11
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import WorkerTimeChart from './WorkerTimeChart';
|
|
2
|
-
export { WorkerTimeChart };
|
|
1
|
+
import WorkerTimeChart from './WorkerTimeChart';
|
|
2
|
+
export { WorkerTimeChart };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Checkbox as CheckboxType } from './types';
|
|
3
|
-
declare const Checkbox: import("react").ForwardRefExoticComponent<CheckboxType.Props & import("react").RefAttributes<HTMLInputElement>>;
|
|
4
|
-
export { Checkbox };
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Checkbox as CheckboxType } from './types';
|
|
3
|
+
declare const Checkbox: import("react").ForwardRefExoticComponent<CheckboxType.Props & import("react").RefAttributes<HTMLInputElement>>;
|
|
4
|
+
export { Checkbox };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Checkbox } from './types';
|
|
2
|
-
export declare const Container: import("styled-components").StyledComponent<"label", any, Checkbox.CheckboxContainer, never>;
|
|
3
|
-
export declare const CheckboxContainer: import("styled-components").StyledComponent<"span", any, {
|
|
4
|
-
type?: string;
|
|
5
|
-
}, never>;
|
|
6
|
-
export declare const CheckboxInput: import("styled-components").StyledComponent<"input", any, {
|
|
7
|
-
checkBoxColor?: string;
|
|
8
|
-
checkboxType?: Checkbox.Props['type'];
|
|
9
|
-
}, never>;
|
|
10
|
-
export declare const CheckboxLabel: import("styled-components").StyledComponent<"span", any, {
|
|
11
|
-
type?: string;
|
|
12
|
-
}, never>;
|
|
1
|
+
import { Checkbox } from './types';
|
|
2
|
+
export declare const Container: import("styled-components").StyledComponent<"label", any, Checkbox.CheckboxContainer, never>;
|
|
3
|
+
export declare const CheckboxContainer: import("styled-components").StyledComponent<"span", any, {
|
|
4
|
+
type?: string;
|
|
5
|
+
}, never>;
|
|
6
|
+
export declare const CheckboxInput: import("styled-components").StyledComponent<"input", any, {
|
|
7
|
+
checkBoxColor?: string;
|
|
8
|
+
checkboxType?: Checkbox.Props['type'];
|
|
9
|
+
}, never>;
|
|
10
|
+
export declare const CheckboxLabel: import("styled-components").StyledComponent<"span", any, {
|
|
11
|
+
type?: string;
|
|
12
|
+
}, never>;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare namespace Checkbox {
|
|
3
|
-
type Props = {
|
|
4
|
-
name?: string;
|
|
5
|
-
label?: React.ReactNode | string;
|
|
6
|
-
onClick?: (event: React.MouseEvent<HTMLInputElement>) => void;
|
|
7
|
-
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
8
|
-
color?: string;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
defaultChecked?: boolean;
|
|
11
|
-
checked?: boolean;
|
|
12
|
-
variant?: CheckboxVariant;
|
|
13
|
-
checkBoxColor?: string;
|
|
14
|
-
type?: 'onNormal' | 'onDropdown';
|
|
15
|
-
};
|
|
16
|
-
enum Variant {
|
|
17
|
-
default = "default",
|
|
18
|
-
line = "line"
|
|
19
|
-
}
|
|
20
|
-
type CheckboxVariant = keyof typeof Variant;
|
|
21
|
-
type CheckboxContainer = {
|
|
22
|
-
label?: string;
|
|
23
|
-
disabled?: boolean;
|
|
24
|
-
color: string;
|
|
25
|
-
};
|
|
26
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare namespace Checkbox {
|
|
3
|
+
type Props = {
|
|
4
|
+
name?: string;
|
|
5
|
+
label?: React.ReactNode | string;
|
|
6
|
+
onClick?: (event: React.MouseEvent<HTMLInputElement>) => void;
|
|
7
|
+
onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
8
|
+
color?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
defaultChecked?: boolean;
|
|
11
|
+
checked?: boolean;
|
|
12
|
+
variant?: CheckboxVariant;
|
|
13
|
+
checkBoxColor?: string;
|
|
14
|
+
type?: 'onNormal' | 'onDropdown';
|
|
15
|
+
};
|
|
16
|
+
enum Variant {
|
|
17
|
+
default = "default",
|
|
18
|
+
line = "line"
|
|
19
|
+
}
|
|
20
|
+
type CheckboxVariant = keyof typeof Variant;
|
|
21
|
+
type CheckboxContainer = {
|
|
22
|
+
label?: string;
|
|
23
|
+
disabled?: boolean;
|
|
24
|
+
color: string;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const CompleteSVG: () => import("react/jsx-runtime").JSX.Element;
|
|
2
|
-
export declare const ApproveSvg: () => import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare const RejectSvg: () => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
export declare const CompleteSVG: () => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const ApproveSvg: () => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const RejectSvg: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { CSTypes } from './types';
|
|
2
|
-
declare function ConfirmationScreen(props: CSTypes): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export { ConfirmationScreen };
|
|
1
|
+
import { CSTypes } from './types';
|
|
2
|
+
declare function ConfirmationScreen(props: CSTypes): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export { ConfirmationScreen };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const ConfirmationScreenWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
1
|
+
export declare const ConfirmationScreenWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export type CSTypes = {
|
|
3
|
-
type: ConfirmationTypes;
|
|
4
|
-
children: JSX.Element | JSX.Element[];
|
|
5
|
-
title?: string;
|
|
6
|
-
subTitle?: string;
|
|
7
|
-
comment?: string;
|
|
8
|
-
onComment?: any;
|
|
9
|
-
};
|
|
10
|
-
export type ConfirmationTypes = 'reject' | 'approve' | 'complete';
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export type CSTypes = {
|
|
3
|
+
type: ConfirmationTypes;
|
|
4
|
+
children: JSX.Element | JSX.Element[];
|
|
5
|
+
title?: string;
|
|
6
|
+
subTitle?: string;
|
|
7
|
+
comment?: string;
|
|
8
|
+
onComment?: any;
|
|
9
|
+
};
|
|
10
|
+
export type ConfirmationTypes = 'reject' | 'approve' | 'complete';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
type DropdownType = {
|
|
2
|
-
dropdownHeight?: string;
|
|
3
|
-
};
|
|
4
|
-
export declare const CountryCodeInputContainer: import("styled-components").StyledComponent<"div", any, DropdownType, never>;
|
|
5
|
-
export {};
|
|
1
|
+
type DropdownType = {
|
|
2
|
+
dropdownHeight?: string;
|
|
3
|
+
};
|
|
4
|
+
export declare const CountryCodeInputContainer: import("styled-components").StyledComponent<"div", any, DropdownType, never>;
|
|
5
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare const countries: {
|
|
2
|
-
name: string;
|
|
3
|
-
dial_code: string;
|
|
4
|
-
code: string;
|
|
5
|
-
}[];
|
|
6
|
-
export { countries };
|
|
1
|
+
declare const countries: {
|
|
2
|
+
name: string;
|
|
3
|
+
dial_code: string;
|
|
4
|
+
code: string;
|
|
5
|
+
}[];
|
|
6
|
+
export { countries };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { CountryCodeInputComponent } from './types';
|
|
2
|
-
declare const CountryCodeInput: ({ label, value, setValue, selectedCountry, setSelectedCountry, type, message, showCountryCode, dropdownHeight, placeholder, }: CountryCodeInputComponent.Props) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export { CountryCodeInput };
|
|
1
|
+
import { CountryCodeInputComponent } from './types';
|
|
2
|
+
declare const CountryCodeInput: ({ label, value, setValue, selectedCountry, setSelectedCountry, type, message, showCountryCode, dropdownHeight, placeholder, }: CountryCodeInputComponent.Props) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export { CountryCodeInput };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare namespace CountryCodeInputComponent {
|
|
3
|
-
export type Props = CountryCodeInputTypes & {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
};
|
|
6
|
-
type SelectedCountryType = {
|
|
7
|
-
dial_code?: string;
|
|
8
|
-
code?: string;
|
|
9
|
-
};
|
|
10
|
-
type InputType = 'normal' | 'error';
|
|
11
|
-
export type CountryCodeInputTypes = {
|
|
12
|
-
label?: string;
|
|
13
|
-
value?: number;
|
|
14
|
-
selectedCountry?: SelectedCountryType;
|
|
15
|
-
type?: InputType;
|
|
16
|
-
message?: string;
|
|
17
|
-
setSelectedCountry?: any;
|
|
18
|
-
setValue?: any;
|
|
19
|
-
showCountryCode?: boolean;
|
|
20
|
-
dropdownHeight?: string;
|
|
21
|
-
placeholder?: string;
|
|
22
|
-
};
|
|
23
|
-
export {};
|
|
24
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare namespace CountryCodeInputComponent {
|
|
3
|
+
export type Props = CountryCodeInputTypes & {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
};
|
|
6
|
+
type SelectedCountryType = {
|
|
7
|
+
dial_code?: string;
|
|
8
|
+
code?: string;
|
|
9
|
+
};
|
|
10
|
+
type InputType = 'normal' | 'error';
|
|
11
|
+
export type CountryCodeInputTypes = {
|
|
12
|
+
label?: string;
|
|
13
|
+
value?: number;
|
|
14
|
+
selectedCountry?: SelectedCountryType;
|
|
15
|
+
type?: InputType;
|
|
16
|
+
message?: string;
|
|
17
|
+
setSelectedCountry?: any;
|
|
18
|
+
setValue?: any;
|
|
19
|
+
showCountryCode?: boolean;
|
|
20
|
+
dropdownHeight?: string;
|
|
21
|
+
placeholder?: string;
|
|
22
|
+
};
|
|
23
|
+
export {};
|
|
24
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IDatepicker } from './types';
|
|
2
|
-
declare const Datepicker: (props: IDatepicker.Props) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export { Datepicker };
|
|
1
|
+
import { IDatepicker } from './types';
|
|
2
|
+
declare const Datepicker: (props: IDatepicker.Props) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export { Datepicker };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const DatepickerNavigationButton: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
2
|
-
declare const IconWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
-
export { DatepickerNavigationButton, IconWrapper };
|
|
1
|
+
declare const DatepickerNavigationButton: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
2
|
+
declare const IconWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export { DatepickerNavigationButton, IconWrapper };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare const icons: {
|
|
2
|
-
chevronLeft: import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
chevronRight: import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
calendar: import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
};
|
|
6
|
-
export { icons };
|
|
1
|
+
declare const icons: {
|
|
2
|
+
chevronLeft: import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
chevronRight: import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
calendar: import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
};
|
|
6
|
+
export { icons };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Datepicker } from './Datepicker';
|
|
2
|
-
export { Datepicker };
|
|
1
|
+
import { Datepicker } from './Datepicker';
|
|
2
|
+
export { Datepicker };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { CalendarProps, DatePickerProps } from 'react-multi-date-picker';
|
|
3
|
-
export declare namespace IDatepicker {
|
|
4
|
-
type Props = CalendarProps & DatePickerProps & {
|
|
5
|
-
range?: boolean;
|
|
6
|
-
numberOfMonths?: number;
|
|
7
|
-
label?: string;
|
|
8
|
-
placeholder?: string;
|
|
9
|
-
required?: boolean;
|
|
10
|
-
errorMessage?: string;
|
|
11
|
-
calendarRef?: any;
|
|
12
|
-
};
|
|
13
|
-
enum DatpickerNavigationDirectionEnum {
|
|
14
|
-
right = "right",
|
|
15
|
-
left = "left"
|
|
16
|
-
}
|
|
17
|
-
type InputChangeEvent = React.ChangeEvent<HTMLInputElement>;
|
|
18
|
-
type DatpickerNavigationDirection = keyof typeof DatpickerNavigationDirectionEnum;
|
|
19
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CalendarProps, DatePickerProps } from 'react-multi-date-picker';
|
|
3
|
+
export declare namespace IDatepicker {
|
|
4
|
+
type Props = CalendarProps & DatePickerProps & {
|
|
5
|
+
range?: boolean;
|
|
6
|
+
numberOfMonths?: number;
|
|
7
|
+
label?: string;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
required?: boolean;
|
|
10
|
+
errorMessage?: string;
|
|
11
|
+
calendarRef?: any;
|
|
12
|
+
};
|
|
13
|
+
enum DatpickerNavigationDirectionEnum {
|
|
14
|
+
right = "right",
|
|
15
|
+
left = "left"
|
|
16
|
+
}
|
|
17
|
+
type InputChangeEvent = React.ChangeEvent<HTMLInputElement>;
|
|
18
|
+
type DatpickerNavigationDirection = keyof typeof DatpickerNavigationDirectionEnum;
|
|
19
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IDatepicker } from '../types';
|
|
2
|
-
declare const renderDatepickerNavigationButton: (direction: IDatepicker.DatpickerNavigationDirection, handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare const regexInputValidate: (event: IDatepicker.InputChangeEvent, onChange: (event: IDatepicker.InputChangeEvent) => void) => void;
|
|
4
|
-
declare const months: string[];
|
|
5
|
-
declare const weeks: string[];
|
|
6
|
-
declare const fullMonthsText: any;
|
|
7
|
-
export { renderDatepickerNavigationButton, regexInputValidate, months, weeks, fullMonthsText };
|
|
1
|
+
import { IDatepicker } from '../types';
|
|
2
|
+
declare const renderDatepickerNavigationButton: (direction: IDatepicker.DatpickerNavigationDirection, handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const regexInputValidate: (event: IDatepicker.InputChangeEvent, onChange: (event: IDatepicker.InputChangeEvent) => void) => void;
|
|
4
|
+
declare const months: string[];
|
|
5
|
+
declare const weeks: string[];
|
|
6
|
+
declare const fullMonthsText: any;
|
|
7
|
+
export { renderDatepickerNavigationButton, regexInputValidate, months, weeks, fullMonthsText };
|