kwant-ui 3.40.5-dev.6 → 3.42.0-dev.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 +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 +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 +11 -11
- package/dist/components/Calendar/CalendarStyled.d.ts +41 -41
- package/dist/components/Calendar/CalendarTypes.d.ts +76 -76
- package/dist/components/Calendar/CalendarUtils.d.ts +41 -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 +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 +4 -4
- package/dist/components/Datepicker/DatepickerStyled.d.ts +6 -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 +50 -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 +34 -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 +13 -13
- package/dist/components/DropdownSelect/DropdownSelect.types.d.ts +10 -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 +26 -26
- package/dist/components/Input/inputStyled.d.ts +9 -9
- package/dist/components/Input/types.d.ts +52 -52
- 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 +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 +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/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 +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 +10 -10
- package/dist/hooks/useToggle.d.ts +8 -8
- package/dist/index.d.ts +68 -68
- package/dist/index.es.js +2 -2
- package/dist/index.js +2 -2
- package/dist/package.json +89 -89
- 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 -0
- package/dist/themes/colors.d.ts +3 -3
- package/dist/themes/colors.ts +222 -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 +12 -12
- package/dist/utils/index.ts +86 -86
- package/dist/utils/truncate.d.ts +2 -2
- package/package.json +89 -89
- package/themes/colors.ts +222 -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 +86 -86
- package/utils/truncate.ts +7 -7
- package/dist/public/assets/icons/Compare.svg +0 -1
- package/dist/public/assets/icons/Notifications.svg +0 -1
- package/dist/public/assets/icons/Search.svg +0 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IStackedBarChart } from './StackedBarChartTypes';
|
|
2
|
-
declare const StackedBarChart: (props: IStackedBarChart.Props) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export default StackedBarChart;
|
|
1
|
+
import { IStackedBarChart } from './StackedBarChartTypes';
|
|
2
|
+
declare const StackedBarChart: (props: IStackedBarChart.Props) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default StackedBarChart;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { YAxisProps } from 'recharts';
|
|
2
|
-
import { Props as StackedBarProps } from 'recharts/types/cartesian/Area';
|
|
3
|
-
export declare const data: {
|
|
4
|
-
date: string;
|
|
5
|
-
productiveHour: number;
|
|
6
|
-
unproductiveHour: number;
|
|
7
|
-
totalHour: number;
|
|
8
|
-
}[];
|
|
9
|
-
export declare const areas: {
|
|
10
|
-
dataKey: string;
|
|
11
|
-
color: string;
|
|
12
|
-
stroke: string;
|
|
13
|
-
fillOpacity: number;
|
|
14
|
-
name: string;
|
|
15
|
-
}[];
|
|
16
|
-
export declare const xAxisTickDefaultConfig: {
|
|
17
|
-
fill: string;
|
|
18
|
-
fontFamily: string;
|
|
19
|
-
fontSize: number;
|
|
20
|
-
textAnchor: string;
|
|
21
|
-
x: number;
|
|
22
|
-
y: number;
|
|
23
|
-
};
|
|
24
|
-
export declare const yAxisStaticProps: YAxisProps;
|
|
25
|
-
export declare const areaStaticProps: Omit<Partial<StackedBarProps>, 'ref'>;
|
|
1
|
+
import { YAxisProps } from 'recharts';
|
|
2
|
+
import { Props as StackedBarProps } from 'recharts/types/cartesian/Area';
|
|
3
|
+
export declare const data: {
|
|
4
|
+
date: string;
|
|
5
|
+
productiveHour: number;
|
|
6
|
+
unproductiveHour: number;
|
|
7
|
+
totalHour: number;
|
|
8
|
+
}[];
|
|
9
|
+
export declare const areas: {
|
|
10
|
+
dataKey: string;
|
|
11
|
+
color: string;
|
|
12
|
+
stroke: string;
|
|
13
|
+
fillOpacity: number;
|
|
14
|
+
name: string;
|
|
15
|
+
}[];
|
|
16
|
+
export declare const xAxisTickDefaultConfig: {
|
|
17
|
+
fill: string;
|
|
18
|
+
fontFamily: string;
|
|
19
|
+
fontSize: number;
|
|
20
|
+
textAnchor: string;
|
|
21
|
+
x: number;
|
|
22
|
+
y: number;
|
|
23
|
+
};
|
|
24
|
+
export declare const yAxisStaticProps: YAxisProps;
|
|
25
|
+
export declare const areaStaticProps: Omit<Partial<StackedBarProps>, 'ref'>;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export declare const LegendsContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
-
export declare const Legend: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
-
export declare const LegendColorContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
-
export declare const LegendColor: import("styled-components").StyledComponent<"div", any, {
|
|
5
|
-
color: string;
|
|
6
|
-
}, never>;
|
|
7
|
-
export declare const LegendLabel: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
-
export declare const CustomTickStyled: import("styled-components").StyledComponent<"g", any, {}, never>;
|
|
9
|
-
export declare const TickDay: import("styled-components").StyledComponent<"text", any, {}, never>;
|
|
10
|
-
export declare const TickDate: import("styled-components").StyledComponent<"text", any, {}, never>;
|
|
11
|
-
export declare const TooltipStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
12
|
-
export declare const TooltipTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
13
|
-
export declare const TooltipItemContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
14
|
-
export declare const TooltipItemLeft: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
15
|
-
export declare const TooltipItemColor: import("styled-components").StyledComponent<"div", any, {
|
|
16
|
-
color: string;
|
|
17
|
-
}, never>;
|
|
18
|
-
export declare const TooltipItemLabel: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
19
|
-
export declare const TooltipItemRight: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
1
|
+
export declare const LegendsContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const Legend: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const LegendColorContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const LegendColor: import("styled-components").StyledComponent<"div", any, {
|
|
5
|
+
color: string;
|
|
6
|
+
}, never>;
|
|
7
|
+
export declare const LegendLabel: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
+
export declare const CustomTickStyled: import("styled-components").StyledComponent<"g", any, {}, never>;
|
|
9
|
+
export declare const TickDay: import("styled-components").StyledComponent<"text", any, {}, never>;
|
|
10
|
+
export declare const TickDate: import("styled-components").StyledComponent<"text", any, {}, never>;
|
|
11
|
+
export declare const TooltipStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
12
|
+
export declare const TooltipTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
13
|
+
export declare const TooltipItemContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
14
|
+
export declare const TooltipItemLeft: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
15
|
+
export declare const TooltipItemColor: import("styled-components").StyledComponent<"div", any, {
|
|
16
|
+
color: string;
|
|
17
|
+
}, never>;
|
|
18
|
+
export declare const TooltipItemLabel: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
19
|
+
export declare const TooltipItemRight: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { XAxisProps, YAxisProps } from 'recharts';
|
|
3
|
-
import { Props as AreaProps } from 'recharts/types/cartesian/Area';
|
|
4
|
-
import { Props as CartesianGridProps } from 'recharts/types/cartesian/CartesianGrid';
|
|
5
|
-
import { Payload } from 'recharts/types/component/DefaultLegendContent';
|
|
6
|
-
import { NameType, ValueType } from 'recharts/types/component/DefaultTooltipContent';
|
|
7
|
-
import { Props as LegendProps } from 'recharts/types/component/Legend';
|
|
8
|
-
import { ContentType, TooltipProps } from 'recharts/types/component/Tooltip';
|
|
9
|
-
export declare namespace IStackedBarChart {
|
|
10
|
-
type Props = {
|
|
11
|
-
width?: string | number;
|
|
12
|
-
height?: string | number;
|
|
13
|
-
margin?: {
|
|
14
|
-
top?: number;
|
|
15
|
-
right?: number;
|
|
16
|
-
bottom?: number;
|
|
17
|
-
left?: number;
|
|
18
|
-
};
|
|
19
|
-
data?: any[];
|
|
20
|
-
bar1DataKey: string;
|
|
21
|
-
bar2DataKey: string;
|
|
22
|
-
bars?: StackedBar[];
|
|
23
|
-
areasYAxisRight?: StackedBar[];
|
|
24
|
-
xAxisDataKey?: string;
|
|
25
|
-
showTooltip?: boolean;
|
|
26
|
-
xAxisLabel?: string;
|
|
27
|
-
yAxisLabel?: string;
|
|
28
|
-
showRightYAxis?: boolean;
|
|
29
|
-
showLegends?: boolean;
|
|
30
|
-
customTooltip?: ContentType<ValueType, NameType>;
|
|
31
|
-
gradient?: React.ReactNode;
|
|
32
|
-
tooltipProps?: TooltipProps<ValueType, NameType>;
|
|
33
|
-
cartesianGridProps?: Omit<CartesianGridProps, 'ref'>;
|
|
34
|
-
legendProps?: Omit<LegendProps, 'ref'>;
|
|
35
|
-
xAxisProps?: XAxisProps;
|
|
36
|
-
yAxisProps?: YAxisProps;
|
|
37
|
-
yAxisRightProps?: YAxisProps;
|
|
38
|
-
areaProps?: AreaProps;
|
|
39
|
-
areaYAxisRightProps?: AreaProps;
|
|
40
|
-
formattedXTick?: boolean;
|
|
41
|
-
customTooltipLabelFormatter?: (label: any) => string;
|
|
42
|
-
customYAxisTickFormatter?: (value: any) => string;
|
|
43
|
-
dateFormat?: string;
|
|
44
|
-
};
|
|
45
|
-
type StackedBar = {
|
|
46
|
-
dataKey: string;
|
|
47
|
-
name: string;
|
|
48
|
-
stroke?: string;
|
|
49
|
-
fill?: string;
|
|
50
|
-
fillOpacity?: number;
|
|
51
|
-
color?: string;
|
|
52
|
-
gradientId?: string;
|
|
53
|
-
[key: string]: any;
|
|
54
|
-
};
|
|
55
|
-
type CustomLegend = {
|
|
56
|
-
payload?: (Payload & {
|
|
57
|
-
payload: Payload['payload'] & {
|
|
58
|
-
fill: string;
|
|
59
|
-
};
|
|
60
|
-
})[];
|
|
61
|
-
};
|
|
62
|
-
}
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { XAxisProps, YAxisProps } from 'recharts';
|
|
3
|
+
import { Props as AreaProps } from 'recharts/types/cartesian/Area';
|
|
4
|
+
import { Props as CartesianGridProps } from 'recharts/types/cartesian/CartesianGrid';
|
|
5
|
+
import { Payload } from 'recharts/types/component/DefaultLegendContent';
|
|
6
|
+
import { NameType, ValueType } from 'recharts/types/component/DefaultTooltipContent';
|
|
7
|
+
import { Props as LegendProps } from 'recharts/types/component/Legend';
|
|
8
|
+
import { ContentType, TooltipProps } from 'recharts/types/component/Tooltip';
|
|
9
|
+
export declare namespace IStackedBarChart {
|
|
10
|
+
type Props = {
|
|
11
|
+
width?: string | number;
|
|
12
|
+
height?: string | number;
|
|
13
|
+
margin?: {
|
|
14
|
+
top?: number;
|
|
15
|
+
right?: number;
|
|
16
|
+
bottom?: number;
|
|
17
|
+
left?: number;
|
|
18
|
+
};
|
|
19
|
+
data?: any[];
|
|
20
|
+
bar1DataKey: string;
|
|
21
|
+
bar2DataKey: string;
|
|
22
|
+
bars?: StackedBar[];
|
|
23
|
+
areasYAxisRight?: StackedBar[];
|
|
24
|
+
xAxisDataKey?: string;
|
|
25
|
+
showTooltip?: boolean;
|
|
26
|
+
xAxisLabel?: string;
|
|
27
|
+
yAxisLabel?: string;
|
|
28
|
+
showRightYAxis?: boolean;
|
|
29
|
+
showLegends?: boolean;
|
|
30
|
+
customTooltip?: ContentType<ValueType, NameType>;
|
|
31
|
+
gradient?: React.ReactNode;
|
|
32
|
+
tooltipProps?: TooltipProps<ValueType, NameType>;
|
|
33
|
+
cartesianGridProps?: Omit<CartesianGridProps, 'ref'>;
|
|
34
|
+
legendProps?: Omit<LegendProps, 'ref'>;
|
|
35
|
+
xAxisProps?: XAxisProps;
|
|
36
|
+
yAxisProps?: YAxisProps;
|
|
37
|
+
yAxisRightProps?: YAxisProps;
|
|
38
|
+
areaProps?: AreaProps;
|
|
39
|
+
areaYAxisRightProps?: AreaProps;
|
|
40
|
+
formattedXTick?: boolean;
|
|
41
|
+
customTooltipLabelFormatter?: (label: any) => string;
|
|
42
|
+
customYAxisTickFormatter?: (value: any) => string;
|
|
43
|
+
dateFormat?: string;
|
|
44
|
+
};
|
|
45
|
+
type StackedBar = {
|
|
46
|
+
dataKey: string;
|
|
47
|
+
name: string;
|
|
48
|
+
stroke?: string;
|
|
49
|
+
fill?: string;
|
|
50
|
+
fillOpacity?: number;
|
|
51
|
+
color?: string;
|
|
52
|
+
gradientId?: string;
|
|
53
|
+
[key: string]: any;
|
|
54
|
+
};
|
|
55
|
+
type CustomLegend = {
|
|
56
|
+
payload?: (Payload & {
|
|
57
|
+
payload: Payload['payload'] & {
|
|
58
|
+
fill: string;
|
|
59
|
+
};
|
|
60
|
+
})[];
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { TooltipProps } from 'recharts';
|
|
2
|
-
import { NameType, ValueType } from 'recharts/types/component/DefaultTooltipContent';
|
|
3
|
-
import { IStackedBarChart } from './StackedBarChartTypes';
|
|
4
|
-
export declare const CustomLegend: (props: IStackedBarChart.CustomLegend) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export declare const Tick: (props: {
|
|
6
|
-
value: any;
|
|
7
|
-
dy: any;
|
|
8
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export declare const TickX: (props: {
|
|
10
|
-
x?: number;
|
|
11
|
-
y?: number;
|
|
12
|
-
payload?: any;
|
|
13
|
-
dateFormat: string;
|
|
14
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export declare const TooltipItemRow: ({ color, name, value, }: {
|
|
16
|
-
color?: string;
|
|
17
|
-
name?: string;
|
|
18
|
-
value?: string;
|
|
19
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
export declare const CustomTooltip: (props: TooltipProps<ValueType, NameType> & {
|
|
21
|
-
showHourRows?: boolean;
|
|
22
|
-
showTimeRows?: boolean;
|
|
23
|
-
dateFormat?: string;
|
|
24
|
-
isDateFormatted?: boolean;
|
|
25
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import { TooltipProps } from 'recharts';
|
|
2
|
+
import { NameType, ValueType } from 'recharts/types/component/DefaultTooltipContent';
|
|
3
|
+
import { IStackedBarChart } from './StackedBarChartTypes';
|
|
4
|
+
export declare const CustomLegend: (props: IStackedBarChart.CustomLegend) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare const Tick: (props: {
|
|
6
|
+
value: any;
|
|
7
|
+
dy: any;
|
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const TickX: (props: {
|
|
10
|
+
x?: number;
|
|
11
|
+
y?: number;
|
|
12
|
+
payload?: any;
|
|
13
|
+
dateFormat: string;
|
|
14
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const TooltipItemRow: ({ color, name, value, }: {
|
|
16
|
+
color?: string;
|
|
17
|
+
name?: string;
|
|
18
|
+
value?: string;
|
|
19
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare const CustomTooltip: (props: TooltipProps<ValueType, NameType> & {
|
|
21
|
+
showHourRows?: boolean;
|
|
22
|
+
showTimeRows?: boolean;
|
|
23
|
+
dateFormat?: string;
|
|
24
|
+
isDateFormatted?: boolean;
|
|
25
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import StackedBarChart from './StackedBarChart';
|
|
2
|
-
export { StackedBarChart };
|
|
1
|
+
import StackedBarChart from './StackedBarChart';
|
|
2
|
+
export { StackedBarChart };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IWeekwiseBarChart } from './WeekwiseBarChartTypes';
|
|
2
|
-
declare const WeekwiseBarChart: (props: IWeekwiseBarChart.Props) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export default WeekwiseBarChart;
|
|
1
|
+
import { IWeekwiseBarChart } from './WeekwiseBarChartTypes';
|
|
2
|
+
declare const WeekwiseBarChart: (props: IWeekwiseBarChart.Props) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default WeekwiseBarChart;
|
|
@@ -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,38 +1,38 @@
|
|
|
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
|
-
dateFormat?: string;
|
|
28
|
-
};
|
|
29
|
-
type CustomLegendType = Omit<Payload, keyof Payload> & {
|
|
30
|
-
value: string;
|
|
31
|
-
color?: string;
|
|
32
|
-
shape?: React.ReactNode;
|
|
33
|
-
payload?: {
|
|
34
|
-
value: string;
|
|
35
|
-
strokeDasharray: string;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
}
|
|
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
|
+
dateFormat?: string;
|
|
28
|
+
};
|
|
29
|
+
type CustomLegendType = Omit<Payload, keyof Payload> & {
|
|
30
|
+
value: string;
|
|
31
|
+
color?: string;
|
|
32
|
+
shape?: React.ReactNode;
|
|
33
|
+
payload?: {
|
|
34
|
+
value: string;
|
|
35
|
+
strokeDasharray: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
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
|
-
dateFormat: string;
|
|
9
|
-
rotate?: number;
|
|
10
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export declare const renderCustomizedLabel: (props: LabelListContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export declare const WeekwiseChartCustomTooltip: (props: TooltipProps<ValueType, NameType> & {
|
|
13
|
-
dateFormat: string;
|
|
14
|
-
}) => 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
|
+
dateFormat: string;
|
|
9
|
+
rotate?: number;
|
|
10
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const renderCustomizedLabel: (props: LabelListContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare const WeekwiseChartCustomTooltip: (props: TooltipProps<ValueType, NameType> & {
|
|
13
|
+
dateFormat: string;
|
|
14
|
+
}) => 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,9 +1,9 @@
|
|
|
1
|
-
export declare const getMilliseconds: (hour: number, min: number, sec: number) => number;
|
|
2
|
-
export declare const workerTimeChartOrganizedData: {
|
|
3
|
-
workDate: string;
|
|
4
|
-
checkInTime: string;
|
|
5
|
-
checkOutTime: string;
|
|
6
|
-
workTime: number;
|
|
7
|
-
overtime: number;
|
|
8
|
-
}[];
|
|
9
|
-
export declare const processDataForWorkerTimeChart: (rawData: any[]) => any[];
|
|
1
|
+
export declare const getMilliseconds: (hour: number, min: number, sec: number) => number;
|
|
2
|
+
export declare const workerTimeChartOrganizedData: {
|
|
3
|
+
workDate: string;
|
|
4
|
+
checkInTime: string;
|
|
5
|
+
checkOutTime: string;
|
|
6
|
+
workTime: number;
|
|
7
|
+
overtime: number;
|
|
8
|
+
}[];
|
|
9
|
+
export declare const processDataForWorkerTimeChart: (rawData: any[]) => any[];
|
|
@@ -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 };
|