kwant-ui 3.45.0-dev.0 → 3.45.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 +181 -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 +4 -4
- 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 +20 -20
- 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 +24 -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 +11 -11
- package/dist/components/Calendar/CalendarStyled.d.ts +44 -42
- package/dist/components/Calendar/CalendarTypes.d.ts +77 -76
- package/dist/components/Calendar/CalendarUtils.d.ts +44 -41
- 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 +22 -22
- package/dist/components/Charts/AreaChart/AreaChartTypes.d.ts +73 -73
- package/dist/components/Charts/AreaChart/AreaChartUtils.d.ts +28 -28
- 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 +5 -5
- 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 +24 -24
- 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 +32 -32
- package/dist/components/Charts/LineChart/LineChartStyled.d.ts +19 -19
- package/dist/components/Charts/LineChart/LineChartTypes.d.ts +60 -60
- package/dist/components/Charts/LineChart/LineChartUtils.d.ts +21 -21
- 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 +25 -25
- package/dist/components/Charts/StackedBarChart/StackedBarChartStyled.d.ts +19 -19
- package/dist/components/Charts/StackedBarChart/StackedBarChartTypes.d.ts +62 -62
- package/dist/components/Charts/StackedBarChart/StackedBarChartUtils.d.ts +25 -25
- 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 +38 -38
- package/dist/components/Charts/WeekwiseBarChart/WeekwiseBarChartUtils.d.ts +14 -14
- 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 +9 -9
- package/dist/components/Charts/WorkerTimeChart/WorkerTimeChartTypes.d.ts +51 -51
- package/dist/components/Charts/WorkerTimeChart/WorkerTimeChartUtils.d.ts +20 -20
- 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 +25 -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 +4 -4
- package/dist/components/Datepicker/DatepickerStyled.d.ts +7 -6
- 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 +56 -50
- package/dist/components/Datepicker/utils/index.d.ts +35 -35
- 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 +20 -20
- package/dist/components/Dropdown/DropdownTypes.d.ts +35 -34
- 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 +15 -13
- package/dist/components/DropdownSelect/DropdownSelect.types.d.ts +11 -10
- 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 +13 -13
- 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 +15 -15
- 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 +19 -19
- 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 +14 -14
- package/dist/components/Input/index.d.ts +27 -27
- package/dist/components/Input/inputStyled.d.ts +9 -9
- package/dist/components/Input/types.d.ts +53 -53
- package/dist/components/Input/utils.d.ts +4 -4
- package/dist/components/Label/LabelStyled.d.ts +4 -4
- 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 +22 -22
- 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 +4 -4
- package/dist/components/Select/Select.styled.d.ts +9 -8
- package/dist/components/Select/Select.types.d.ts +23 -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 +17 -17
- 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 +19 -19
- package/dist/components/Text/typography.d.ts +19 -19
- package/dist/components/Text/utils.d.ts +4 -4
- package/dist/components/TimePicker/TimePicker.d.ts +2 -0
- package/dist/components/TimePicker/index.d.ts +2 -0
- package/dist/components/TimePicker/timepicker.styled.d.ts +13 -0
- package/dist/components/TimePicker/types.d.ts +22 -0
- 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 +50 -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 +15 -15
- package/dist/components/TrendPercentage/TrendPercentageStyled.d.ts +5 -5
- 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 +5 -5
- package/dist/hooks/useDebouncedValue.d.ts +2 -2
- package/dist/hooks/useDynamicImport.d.ts +8 -8
- package/dist/hooks/useFullScreenFeature.d.ts +5 -5
- package/dist/hooks/useOutsideClick.d.ts +6 -6
- package/dist/hooks/useTimeBar.d.ts +29 -29
- package/dist/hooks/useToast.d.ts +11 -10
- package/dist/hooks/useToggle.d.ts +8 -8
- package/dist/index.d.ts +69 -68
- package/dist/index.es.js +225 -139
- package/dist/index.js +224 -138
- package/dist/package.json +89 -89
- package/dist/public/assets/icons/Compare.svg +1 -0
- package/dist/public/assets/icons/Notifications.svg +1 -0
- package/dist/public/assets/icons/Search.svg +1 -0
- package/dist/public/assets/icons/US.svg +1 -1
- package/dist/public/assets/icons/doc-alert.svg +5 -5
- package/dist/public/assets/icons/doc-expired-closed.svg +6 -6
- package/dist/public/assets/icons/no-entry-man.svg +4 -4
- package/dist/public/assets/icons/unsafe.svg +23 -23
- package/dist/themes/colors.d.ts +3 -3
- package/dist/themes/colors.ts +227 -222
- package/dist/themes/index.d.ts +3 -3
- package/dist/themes/types.d.ts +229 -229
- package/dist/types/IconTypes.d.ts +1 -1
- package/dist/utils/formatDate.d.ts +2 -2
- package/dist/utils/index.d.ts +13 -12
- package/dist/utils/index.ts +100 -86
- package/dist/utils/truncate.d.ts +2 -2
- package/package.json +89 -89
- package/themes/colors.ts +227 -222
- package/themes/index.ts +8 -8
- package/themes/types.ts +250 -250
- package/utils/formatDate.ts +13 -13
- package/utils/generateTypesForIcons.js +37 -37
- package/utils/index.ts +100 -86
- package/utils/truncate.ts +7 -7
|
@@ -1,51 +1,51 @@
|
|
|
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
|
-
dataKeyCheckInOut?: string;
|
|
30
|
-
dataKeyWorkTime?: string;
|
|
31
|
-
dataKeyOverTime?: string;
|
|
32
|
-
legends?: IWeekwiseBarChart.CustomLegendType[];
|
|
33
|
-
tooltipProps?: TooltipProps<ValueType, NameType>;
|
|
34
|
-
cartesianGridProps?: Omit<CartesianGridProps, 'ref'>;
|
|
35
|
-
legendProps?: Omit<LegendProps, 'ref'>;
|
|
36
|
-
xAxisProps?: XAxisProps;
|
|
37
|
-
yAxisLeftProps?: YAxisProps;
|
|
38
|
-
yAxisRightProps?: YAxisProps;
|
|
39
|
-
showHourBars?: boolean;
|
|
40
|
-
showTimeScatters?: boolean;
|
|
41
|
-
dateFormat?: string;
|
|
42
|
-
};
|
|
43
|
-
type DataObj = {
|
|
44
|
-
date: string;
|
|
45
|
-
checkIn: number;
|
|
46
|
-
checkOut: number;
|
|
47
|
-
workTime: number;
|
|
48
|
-
overTime: number;
|
|
49
|
-
[key: string]: any;
|
|
50
|
-
};
|
|
51
|
-
}
|
|
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
|
+
dataKeyCheckInOut?: string;
|
|
30
|
+
dataKeyWorkTime?: string;
|
|
31
|
+
dataKeyOverTime?: string;
|
|
32
|
+
legends?: IWeekwiseBarChart.CustomLegendType[];
|
|
33
|
+
tooltipProps?: TooltipProps<ValueType, NameType>;
|
|
34
|
+
cartesianGridProps?: Omit<CartesianGridProps, 'ref'>;
|
|
35
|
+
legendProps?: Omit<LegendProps, 'ref'>;
|
|
36
|
+
xAxisProps?: XAxisProps;
|
|
37
|
+
yAxisLeftProps?: YAxisProps;
|
|
38
|
+
yAxisRightProps?: YAxisProps;
|
|
39
|
+
showHourBars?: boolean;
|
|
40
|
+
showTimeScatters?: boolean;
|
|
41
|
+
dateFormat?: string;
|
|
42
|
+
};
|
|
43
|
+
type DataObj = {
|
|
44
|
+
date: string;
|
|
45
|
+
checkIn: number;
|
|
46
|
+
checkOut: number;
|
|
47
|
+
workTime: number;
|
|
48
|
+
overTime: number;
|
|
49
|
+
[key: string]: any;
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
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 TickX: (props: {
|
|
8
|
-
x?: number;
|
|
9
|
-
y?: number;
|
|
10
|
-
payload?: any;
|
|
11
|
-
dateFormat: string;
|
|
12
|
-
rotate?: number;
|
|
13
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export declare const renderCustomizedLabel: (props: LabelListContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export declare const CheckInOutConnectorLine: (props: LabelListContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export declare const WorkerTimeChartTooltip: (props: TooltipProps<ValueType, NameType> & {
|
|
17
|
-
showHourRows?: boolean;
|
|
18
|
-
showTimeRows?: boolean;
|
|
19
|
-
dateFormat?: string;
|
|
20
|
-
}) => 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 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 TickX: (props: {
|
|
8
|
+
x?: number;
|
|
9
|
+
y?: number;
|
|
10
|
+
payload?: any;
|
|
11
|
+
dateFormat: string;
|
|
12
|
+
rotate?: number;
|
|
13
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const renderCustomizedLabel: (props: LabelListContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const CheckInOutConnectorLine: (props: LabelListContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare const WorkerTimeChartTooltip: (props: TooltipProps<ValueType, NameType> & {
|
|
17
|
+
showHourRows?: boolean;
|
|
18
|
+
showTimeRows?: boolean;
|
|
19
|
+
dateFormat?: string;
|
|
20
|
+
}) => 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,25 @@
|
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
type
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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
|
+
checked?: boolean;
|
|
11
|
+
variant?: CheckboxVariant;
|
|
12
|
+
checkBoxColor?: string;
|
|
13
|
+
type?: 'onNormal' | 'onDropdown';
|
|
14
|
+
};
|
|
15
|
+
enum Variant {
|
|
16
|
+
default = "default",
|
|
17
|
+
line = "line"
|
|
18
|
+
}
|
|
19
|
+
type CheckboxVariant = keyof typeof Variant;
|
|
20
|
+
type CheckboxContainer = {
|
|
21
|
+
label?: string;
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
color: string;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
@@ -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,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IDatepicker } from './types';
|
|
3
|
-
declare const Datepicker: import("react").ForwardRefExoticComponent<Omit<IDatepicker.Props, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
4
|
-
export { Datepicker };
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IDatepicker } from './types';
|
|
3
|
+
declare const Datepicker: import("react").ForwardRefExoticComponent<Omit<IDatepicker.Props, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
4
|
+
export { Datepicker };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
declare const DatepickerWrapper: import("styled-components").StyledComponent<"div", any, {
|
|
2
|
-
showTime?: boolean;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
declare const
|
|
6
|
-
|
|
1
|
+
declare const DatepickerWrapper: import("styled-components").StyledComponent<"div", any, {
|
|
2
|
+
showTime?: boolean;
|
|
3
|
+
disableTimeRange?: boolean;
|
|
4
|
+
}, never>;
|
|
5
|
+
declare const DatepickerNavigationButton: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
6
|
+
declare const IconWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
+
export { DatepickerNavigationButton, IconWrapper, DatepickerWrapper };
|
|
@@ -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,50 +1,56 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { CalendarProps, DatePickerProps } from 'react-multi-date-picker';
|
|
3
|
-
import { InputComponent } from '../Input/types';
|
|
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
|
-
type
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CalendarProps, DatePickerProps } from 'react-multi-date-picker';
|
|
3
|
+
import { InputComponent } from '../Input/types';
|
|
4
|
+
import { SidebarOptionProps } from '../Calendar/CalendarComponents';
|
|
5
|
+
export declare namespace IDatepicker {
|
|
6
|
+
type ClockType = 'am' | 'pm';
|
|
7
|
+
enum ClockTypeEnum {
|
|
8
|
+
am = "am",
|
|
9
|
+
pm = "pm"
|
|
10
|
+
}
|
|
11
|
+
type Props = CalendarProps & DatePickerProps & {
|
|
12
|
+
range?: boolean;
|
|
13
|
+
numberOfMonths?: number;
|
|
14
|
+
label?: string;
|
|
15
|
+
placeholder?: string;
|
|
16
|
+
required?: boolean;
|
|
17
|
+
errorMessage?: string;
|
|
18
|
+
calendarRef?: any;
|
|
19
|
+
inputProps?: InputComponent.Props;
|
|
20
|
+
dateFormat?: string;
|
|
21
|
+
showTime?: boolean;
|
|
22
|
+
dateTimeRange?: DateRangeType;
|
|
23
|
+
onChangeDateTime?: (time: DateRangeType, option: string) => void;
|
|
24
|
+
projectDuration?: DateRangeType;
|
|
25
|
+
showSideBar?: boolean;
|
|
26
|
+
sidebarOptions?: Omit<SidebarOptionProps, 'onClick'>[];
|
|
27
|
+
selectedSidebarOption?: string;
|
|
28
|
+
timezone?: string;
|
|
29
|
+
};
|
|
30
|
+
enum DatpickerNavigationDirectionEnum {
|
|
31
|
+
right = "right",
|
|
32
|
+
left = "left"
|
|
33
|
+
}
|
|
34
|
+
type InputChangeEvent = React.ChangeEvent<HTMLInputElement>;
|
|
35
|
+
type DatpickerNavigationDirection = keyof typeof DatpickerNavigationDirectionEnum;
|
|
36
|
+
type DateRangeType = {
|
|
37
|
+
startDate: string;
|
|
38
|
+
endDate: string;
|
|
39
|
+
};
|
|
40
|
+
type TimeRangeType = {
|
|
41
|
+
from: {
|
|
42
|
+
hour: string;
|
|
43
|
+
minute: string;
|
|
44
|
+
clockType: ClockType;
|
|
45
|
+
};
|
|
46
|
+
to: {
|
|
47
|
+
hour: string;
|
|
48
|
+
minute: string;
|
|
49
|
+
clockType: ClockType;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
type DateTimeRangeType = {
|
|
53
|
+
dateRange: DateRangeType;
|
|
54
|
+
timeRange: TimeRangeType;
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { DateObject } from 'react-multi-date-picker';
|
|
2
|
-
import { IDatepicker } from '../types';
|
|
3
|
-
declare const renderDatepickerNavigationButton: (direction: IDatepicker.DatpickerNavigationDirection, handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare const regexInputValidate: (event: IDatepicker.InputChangeEvent, onChange: (event: IDatepicker.InputChangeEvent) => void) => void;
|
|
5
|
-
declare const months: string[];
|
|
6
|
-
declare const weeks: string[];
|
|
7
|
-
declare const fullMonthsText: any;
|
|
8
|
-
declare const createDateTimeRangeParams: (dateTimeRange?: IDatepicker.DateTimeRangeType) => {
|
|
9
|
-
startDate: string;
|
|
10
|
-
endDate: string;
|
|
11
|
-
};
|
|
12
|
-
declare const getDateRange: (dates: DateObject[] | DateObject | null) => string;
|
|
13
|
-
declare const extractTimeFromDate: (dateTimeRange: IDatepicker.DateRangeType) => {
|
|
14
|
-
startDateOnly: string;
|
|
15
|
-
endDateOnly: string;
|
|
16
|
-
time: {
|
|
17
|
-
from: {
|
|
18
|
-
hour: string;
|
|
19
|
-
minute: string;
|
|
20
|
-
clockType: IDatepicker.ClockTypeEnum;
|
|
21
|
-
};
|
|
22
|
-
to: {
|
|
23
|
-
hour: string;
|
|
24
|
-
minute: string;
|
|
25
|
-
clockType: IDatepicker.ClockTypeEnum;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
declare const formatDateTime: (date: string | Date, format: string, timeRange: {
|
|
30
|
-
hour: string;
|
|
31
|
-
minute: string;
|
|
32
|
-
clockType: string;
|
|
33
|
-
}) => string;
|
|
34
|
-
declare const getFormattedDateTime: (dateTimeRange?: IDatepicker.DateRangeType, dateFormat?: string) => string;
|
|
35
|
-
export { renderDatepickerNavigationButton, regexInputValidate, months, weeks, fullMonthsText, createDateTimeRangeParams, getDateRange, extractTimeFromDate, formatDateTime, getFormattedDateTime, };
|
|
1
|
+
import { DateObject } from 'react-multi-date-picker';
|
|
2
|
+
import { IDatepicker } from '../types';
|
|
3
|
+
declare const renderDatepickerNavigationButton: (direction: IDatepicker.DatpickerNavigationDirection, handleClick: (event: React.MouseEvent<HTMLButtonElement>) => void) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const regexInputValidate: (event: IDatepicker.InputChangeEvent, onChange: (event: IDatepicker.InputChangeEvent) => void) => void;
|
|
5
|
+
declare const months: string[];
|
|
6
|
+
declare const weeks: string[];
|
|
7
|
+
declare const fullMonthsText: any;
|
|
8
|
+
declare const createDateTimeRangeParams: (dateTimeRange?: IDatepicker.DateTimeRangeType) => {
|
|
9
|
+
startDate: string;
|
|
10
|
+
endDate: string;
|
|
11
|
+
};
|
|
12
|
+
declare const getDateRange: (dates: DateObject[] | DateObject | null) => string;
|
|
13
|
+
declare const extractTimeFromDate: (dateTimeRange: IDatepicker.DateRangeType) => {
|
|
14
|
+
startDateOnly: string;
|
|
15
|
+
endDateOnly: string;
|
|
16
|
+
time: {
|
|
17
|
+
from: {
|
|
18
|
+
hour: string;
|
|
19
|
+
minute: string;
|
|
20
|
+
clockType: IDatepicker.ClockTypeEnum;
|
|
21
|
+
};
|
|
22
|
+
to: {
|
|
23
|
+
hour: string;
|
|
24
|
+
minute: string;
|
|
25
|
+
clockType: IDatepicker.ClockTypeEnum;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
declare const formatDateTime: (date: string | Date, format: string, timeRange: {
|
|
30
|
+
hour: string;
|
|
31
|
+
minute: string;
|
|
32
|
+
clockType: string;
|
|
33
|
+
}) => string;
|
|
34
|
+
declare const getFormattedDateTime: (dateTimeRange?: IDatepicker.DateRangeType, dateFormat?: string) => string;
|
|
35
|
+
export { renderDatepickerNavigationButton, regexInputValidate, months, weeks, fullMonthsText, createDateTimeRangeParams, getDateRange, extractTimeFromDate, formatDateTime, getFormattedDateTime, };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IDialog } from './DialogTypes';
|
|
2
|
-
declare const Dialog: ({ width, borderRadius, dialogHeading, dialogBody, dialogFooter, zIndex, isOpened, showCloseButton, renderInPortal, overlayProps, onClose, }: IDialog.Props) => any;
|
|
3
|
-
export { Dialog };
|
|
1
|
+
import { IDialog } from './DialogTypes';
|
|
2
|
+
declare const Dialog: ({ width, borderRadius, dialogHeading, dialogBody, dialogFooter, zIndex, isOpened, showCloseButton, renderInPortal, overlayProps, onClose, }: IDialog.Props) => any;
|
|
3
|
+
export { Dialog };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare const DialogRoot: import("styled-components").StyledComponent<"div", any, {
|
|
2
|
-
dialogWidth?: string;
|
|
3
|
-
borderRadius?: string;
|
|
4
|
-
}, never>;
|
|
5
|
-
export declare const DialogHeader: import("styled-components").StyledComponent<"header", any, {}, never>;
|
|
6
|
-
export declare const DialogHeadingText: import("styled-components").StyledComponent<"h4", any, {}, never>;
|
|
7
|
-
export declare const DialogCloseButton: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
8
|
-
export declare const DialogBody: import("styled-components").StyledComponent<"section", any, {}, never>;
|
|
9
|
-
export declare const DialogFooter: import("styled-components").StyledComponent<"footer", any, {}, never>;
|
|
1
|
+
export declare const DialogRoot: import("styled-components").StyledComponent<"div", any, {
|
|
2
|
+
dialogWidth?: string;
|
|
3
|
+
borderRadius?: string;
|
|
4
|
+
}, never>;
|
|
5
|
+
export declare const DialogHeader: import("styled-components").StyledComponent<"header", any, {}, never>;
|
|
6
|
+
export declare const DialogHeadingText: import("styled-components").StyledComponent<"h4", any, {}, never>;
|
|
7
|
+
export declare const DialogCloseButton: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
8
|
+
export declare const DialogBody: import("styled-components").StyledComponent<"section", any, {}, never>;
|
|
9
|
+
export declare const DialogFooter: import("styled-components").StyledComponent<"footer", any, {}, never>;
|