@gobolt/genesis 0.1.1 → 0.1.3
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 +8 -8
- package/dist/{AntdIcon-nCNB0J1E.js → AntdIcon-DP6hPDqu.js} +40 -39
- package/dist/CSSMotionList-DB0khM6h.js +22193 -0
- package/dist/{CheckCircleFilled-BKgizvyl.js → CheckCircleFilled-B-wrMduA.js} +2 -2
- package/dist/{CheckOutlined-cEBrx_Ag.js → CheckOutlined-DTEHi_xG.js} +2 -2
- package/dist/{ClockCircleOutlined-BaXQuLIn.js → ClockCircleOutlined-DGGcYjVd.js} +2 -2
- package/dist/{CloseCircleFilled-B9e7yFwo.js → CloseCircleFilled-WEQ0SaSW.js} +2 -2
- package/dist/{CloseOutlined-ogxnm7Oy.js → CloseOutlined-DzgBOns1.js} +2 -2
- package/dist/{Compact-Du9689ax.js → Compact-DFcWZrNo.js} +49 -49
- package/dist/Context-2_suFYDs.js +5 -0
- package/dist/{ContextIsolator-BmfhJgG0.js → ContextIsolator-CUJnq-4F.js} +2 -2
- package/dist/{DownOutlined-Dcq69ZKM.js → DownOutlined-Bv7ua5i8.js} +23 -22
- package/dist/EllipsisOutlined-BodkguEc.js +1118 -0
- package/dist/{ExclamationCircleFilled-BHELVsTg.js → ExclamationCircleFilled-x8Sr29BN.js} +2 -2
- package/dist/Input--qsU-6vp.js +424 -0
- package/dist/KeyCode-B3vHb2gY.js +155 -0
- package/dist/{Keyframes-C9_aCDvn.js → Keyframes-CyO2Aeq-.js} +7 -7
- package/dist/{LoadingOutlined-C1qu6ymP.js → LoadingOutlined-DOi5EGOl.js} +2 -2
- package/dist/{MinusCircleOutlined-Shz0RRQV.js → MinusCircleOutlined-BcKxYRyN.js} +2 -2
- package/dist/{Overflow-DWf4XIal.js → Overflow-CVbsx7Gn.js} +95 -95
- package/dist/{SearchOutlined-DNj-7b_h.js → SearchOutlined-DJ3uHFwq.js} +2 -2
- package/dist/{Skeleton-BVN4pcVe.js → Skeleton-CudViN0a.js} +166 -163
- package/dist/TextArea-CHo3cxKw.js +404 -0
- package/dist/{Typography-CoZ5qD-t.js → Typography-B2J8CPnt.js} +263 -247
- package/dist/_baseIsEqual-VdxFOa4v.js +1084 -0
- package/dist/{_commonjsHelpers-BkfeUUK-.js → _commonjsHelpers-B4e78b8K.js} +1 -1
- package/dist/{asyncToGenerator-CKP9bEZn.js → asyncToGenerator-CVBdSr4C.js} +27 -27
- package/dist/button-CYVlK7G0.js +1430 -0
- package/dist/components/Avatar/Avatar.js +8 -7
- package/dist/components/Avatar/__stories__/Avatar.stories.d.ts +0 -1
- package/dist/components/Avatar/__tests__/Avatar.test.js +1 -1
- package/dist/components/Avatar/styles.d.ts +1 -2
- package/dist/components/Avatar/styles.js +161 -159
- package/dist/components/Badge/Badge.js +8 -7
- package/dist/components/Badge/__stories__/Badge.stories.d.ts +0 -1
- package/dist/components/Badge/__tests__/Badge.test.js +1 -1
- package/dist/components/Badge/styles.d.ts +0 -1
- package/dist/components/Badge/styles.js +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +0 -1
- package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.types.d.ts +0 -1
- package/dist/components/Breadcrumb/__stories__/Breadcrumb.stories.d.ts +0 -1
- package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.js +3 -3
- package/dist/components/Breadcrumb/styles.d.ts +0 -1
- package/dist/components/Breadcrumb/styles.js +58 -58
- package/dist/components/Button/Button.d.ts +0 -1
- package/dist/components/Button/__stories__/Button.stories.d.ts +0 -1
- package/dist/components/Button/__tests__/Button.test.js +5 -4
- package/dist/components/Button/styles.d.ts +0 -1
- package/dist/components/Button/styles.js +2 -2
- package/dist/components/Card/__stories__/Card.stories.d.ts +0 -1
- package/dist/components/Card/__tests__/Card.test.js +1 -1
- package/dist/components/Card/styles.d.ts +0 -1
- package/dist/components/Card/styles.js +2 -2
- package/dist/components/Checkbox/Checkbox.d.ts +0 -1
- package/dist/components/Checkbox/Checkbox.js +11 -11
- package/dist/components/Checkbox/__stories__/Checkbox.stories.d.ts +0 -1
- package/dist/components/Checkbox/__tests__/Checkbox.test.js +16 -15
- package/dist/components/Checkbox/styles.d.ts +3 -4
- package/dist/components/Checkbox/styles.js +2 -2
- package/dist/components/Dashboard/__mocks__/dashboard-data.d.ts +0 -1
- package/dist/components/Dashboard/__stories__/Dashboard.stories.d.ts +0 -1
- package/dist/components/Dashboard/__stories__/DashboardLayoutContent.js +222 -223
- package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.js +13 -12
- package/dist/components/Dashboard/__stories__/DashboardLayoutStory.d.ts +0 -1
- package/dist/components/Dashboard/__stories__/DashboardLayoutStory.js +10 -9
- package/dist/components/Dashboard/__stories__/charts/LineChart.js +72 -74
- package/dist/components/Dashboard/__tests__/Dashboard.test.js +1 -1
- package/dist/components/Dashboard/styles.d.ts +0 -1
- package/dist/components/Dashboard/styles.js +1 -1
- package/dist/components/DatePicker/DatePicker.d.ts +0 -1
- package/dist/components/DatePicker/DatePicker.js +1 -1
- package/dist/components/DatePicker/__stories__/DatePicker.stories.d.ts +0 -1
- package/dist/components/DatePicker/__tests__/DatePicker.test.js +2 -2
- package/dist/components/DateRangePicker/DateRangePicker.d.ts +0 -1
- package/dist/components/DateRangePicker/DateRangePicker.js +1 -1
- package/dist/components/DateRangePicker/__stories__/DateRangePicker.stories.d.ts +0 -1
- package/dist/components/DateRangePicker/__tests__/DateRangePicker.test.js +2 -2
- package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +2 -2
- package/dist/components/ErrorBoundary/ErrorBoundary.js +8 -7
- package/dist/components/ErrorBoundary/__stories__/ErrorBoundary.stories.d.ts +0 -1
- package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.js +25 -20
- package/dist/components/ErrorBoundary/styles.d.ts +0 -1
- package/dist/components/ErrorBoundary/styles.js +1 -1
- package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.js +16 -15
- package/dist/components/ErrorBoundaryFallback/__stories__/ErrorBoundaryFallback.stories.d.ts +0 -1
- package/dist/components/ErrorBoundaryFallback/styles.js +13 -13
- package/dist/components/Form/Form.d.ts +0 -1
- package/dist/components/Form/Form.js +2 -2
- package/dist/components/Form/__stories__/Form.stories.d.ts +0 -1
- package/dist/components/Form/__stories__/FormStory.js +11 -10
- package/dist/components/Form/__tests__/form.test.js +7 -6
- package/dist/components/Form/index.js +1 -1
- package/dist/components/Form/styles.d.ts +0 -1
- package/dist/components/Form/styles.js +10 -2
- package/dist/components/FormBrandon/Form.d.ts +25 -0
- package/dist/components/FormBrandon/Form.js +18 -0
- package/dist/components/FormBrandon/__stories__/Form.stories.d.ts +6 -0
- package/dist/components/FormBrandon/__stories__/FormStory.d.ts +1 -0
- package/dist/components/FormBrandon/__stories__/FormStory.js +172 -0
- package/dist/components/FormBrandon/__tests__/form.test.js +19 -0
- package/dist/components/FormBrandon/index.d.ts +2 -0
- package/dist/components/FormBrandon/index.js +4 -0
- package/dist/components/FormBrandon/styles.d.ts +2 -0
- package/dist/components/FormBrandon/styles.js +13 -0
- package/dist/components/Glyph/Glyph.js +2 -2
- package/dist/components/Glyph/__stories__/Glyph.stories.d.ts +0 -1
- package/dist/components/Glyph/styles.d.ts +0 -1
- package/dist/components/Glyph/styles.js +1 -1
- package/dist/components/Input/Input.d.ts +0 -1
- package/dist/components/Input/Input.js +9 -10
- package/dist/components/Input/__stories__/Input.stories.d.ts +0 -1
- package/dist/components/Input/__tests__/Input.test.js +21 -20
- package/dist/components/Input/styles.d.ts +5 -6
- package/dist/components/Input/styles.js +4 -119
- package/dist/components/Layout/Content/Content.d.ts +0 -1
- package/dist/components/Layout/Content/ResponsiveContent.js +14 -13
- package/dist/components/Layout/Content/styles.d.ts +0 -1
- package/dist/components/Layout/Content/styles.js +1 -1
- package/dist/components/Layout/MainLayout/MainLayout.d.ts +0 -1
- package/dist/components/Layout/MainLayout/MainLayout.js +1 -1
- package/dist/components/Layout/MainLayout/__stories__/MainLayout.stories.d.ts +0 -1
- package/dist/components/Layout/MainLayout/styles.js +1 -1
- package/dist/components/Layout/__stories__/Layout.stories.d.ts +0 -1
- package/dist/components/Layout/__tests__/Layout.test.js +1 -1
- package/dist/components/Message/Message.d.ts +0 -1
- package/dist/components/Message/Message.js +13 -12
- package/dist/components/Message/__stories__/Message.stories.d.ts +0 -1
- package/dist/components/Message/__tests__/Message.test.js +6 -5
- package/dist/components/Message/styles.js +1 -1
- package/dist/components/Notification/Notification.js +122 -55
- package/dist/components/Notification/NotificationBadge/NotificationBadge.js +2 -2
- package/dist/components/Notification/NotificationBadge/__stories__/NotificationBadge.stories.d.ts +0 -1
- package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.js +4 -4
- package/dist/components/Notification/NotificationBadge/styles.js +1 -1
- package/dist/components/Notification/__stories__/Notification.stories.d.ts +0 -1
- package/dist/components/Notification/__tests__/Notification.test.js +3 -3
- package/dist/components/Notification/styles.js +1 -1
- package/dist/components/Popover/Popover.d.ts +1 -1
- package/dist/components/Popover/Popover.js +14 -11
- package/dist/components/Popover/__stories__/Popover.stories.d.ts +0 -1
- package/dist/components/Popover/__tests__/Popover.test.js +19 -26
- package/dist/components/Popover/styles.d.ts +0 -1
- package/dist/components/Popover/styles.js +2 -2
- package/dist/components/Progress/Progress.js +29 -27
- package/dist/components/Progress/Progress.util.d.ts +0 -1
- package/dist/components/Progress/Progress.util.js +8 -7
- package/dist/components/Progress/ProgressText.d.ts +0 -1
- package/dist/components/Progress/ProgressText.js +8 -7
- package/dist/components/Progress/__stories__/Progress.stories.d.ts +0 -1
- package/dist/components/Progress/__tests__/Progress.test.js +4 -4
- package/dist/components/Progress/styles.d.ts +0 -1
- package/dist/components/Progress/styles.js +217 -214
- package/dist/components/Radio/Radio.d.ts +0 -1
- package/dist/components/Radio/Radio.js +9 -8
- package/dist/components/Radio/RadioGroup.js +1 -1
- package/dist/components/Radio/__stories__/RadioGroup.stories.d.ts +0 -1
- package/dist/components/Radio/__tests__/RadioGroup.test.js +8 -7
- package/dist/components/Row/Row.d.ts +0 -1
- package/dist/components/Row/Row.js +29 -26
- package/dist/components/Row/RowActions/RowActions.js +8 -7
- package/dist/components/Row/RowActions/styles.js +1 -1
- package/dist/components/Row/RowLabelValue/RowLabelValue.d.ts +0 -1
- package/dist/components/Row/RowLabelValue/RowLabelValue.js +7 -6
- package/dist/components/Row/RowLabelValue/styles.js +2 -2
- package/dist/components/Row/__stories__/Row.stories.d.ts +0 -1
- package/dist/components/Row/__tests__/Row.test.js +3 -3
- package/dist/components/Row/styles.d.ts +0 -1
- package/dist/components/Row/styles.js +1 -1
- package/dist/components/SegmentedControls/__stories__/SegmentedControls.stories.d.ts +0 -1
- package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.js +1 -1
- package/dist/components/SegmentedControls/styles.d.ts +1 -2
- package/dist/components/SegmentedControls/styles.js +214 -203
- package/dist/components/Select/Select.d.ts +0 -1
- package/dist/components/Select/Select.js +10 -11
- package/dist/components/Select/__stories__/Select.stories.d.ts +0 -1
- package/dist/components/Select/__tests__/Select.test.js +49 -10754
- package/dist/components/Select/styles.d.ts +0 -1
- package/dist/components/Select/styles.js +2 -2
- package/dist/components/Shapes/__stories__/Shapes.stories.d.ts +0 -1
- package/dist/components/Shapes/__tests__/Shapes.test.js +1 -1
- package/dist/components/Switch/__stories__/Switch.stories.d.ts +0 -1
- package/dist/components/Switch/__tests__/Switch.test.js +3 -3
- package/dist/components/Switch/styles.d.ts +0 -1
- package/dist/components/Switch/styles.js +74 -74
- package/dist/components/Table/Table.js +1 -1
- package/dist/components/Table/__mocks__/table-mocks.d.ts +0 -1
- package/dist/components/Table/__mocks__/table-mocks.js +10 -9
- package/dist/components/Table/__stories__/Table.stories.d.ts +0 -1
- package/dist/components/Table/__tests__/Table.test.js +1 -1
- package/dist/components/Table/styles.d.ts +0 -1
- package/dist/components/Table/styles.js +2 -2
- package/dist/components/Tabs/__stories__/Tabs.stories.d.ts +0 -1
- package/dist/components/Tabs/__tests__/Tabs.test.js +3 -3
- package/dist/components/Tabs/styles.d.ts +0 -1
- package/dist/components/Tabs/styles.js +2 -2
- package/dist/components/Tile/__stories__/Tile.stories.d.ts +0 -1
- package/dist/components/Tile/__tests__/Tile.test.js +1 -1
- package/dist/components/Tile/styles.d.ts +0 -1
- package/dist/components/Tile/styles.js +1 -1
- package/dist/components/Toast/Toast.d.ts +0 -1
- package/dist/components/Toast/Toast.js +9 -8
- package/dist/components/Toast/__stories__/Toast.stories.d.ts +0 -1
- package/dist/components/Toast/__tests__/Toast.test.js +6 -5
- package/dist/components/Toast/index.js +1 -1
- package/dist/components/Toast/styles.js +1 -1
- package/dist/components/Tooltip/Tooltip.js +8 -7
- package/dist/components/Tooltip/__stories__/Tooltip.stories.d.ts +0 -1
- package/dist/components/Tooltip/__tests__/Tooltip.test.js +1 -1
- package/dist/components/Tooltip/styles.d.ts +0 -1
- package/dist/components/Tooltip/styles.js +2 -2
- package/dist/components/Typography/Typography.d.ts +0 -1
- package/dist/components/Typography/Typography.js +1 -1
- package/dist/components/Typography/__stories__/Typography.stories.d.ts +0 -1
- package/dist/components/Typography/__tests__/Typography.test.js +14 -13
- package/dist/components/Typography/index.js +1 -1
- package/dist/components/Typography/styles.d.ts +0 -1
- package/dist/components/Typography/styles.js +2 -2
- package/dist/components/index.d.ts +0 -2
- package/dist/components/index.js +46 -48
- package/dist/{context-DIFtNa4d.js → context-CQfFkrkv.js} +285 -278
- package/dist/{dropdown-Dp_PTQ2u.js → dropdown-BlRB2LxQ.js} +492 -491
- package/dist/{generateCategoricalChart-7ceYaiZ2.js → generateCategoricalChart-CqByWmje.js} +7189 -6383
- package/dist/genesis/GenesisThemeBreakdown.d.ts +0 -1
- package/dist/genesis/GenesisThemeBreakdown.js +9 -8
- package/dist/genesis/GenesisThemeDemo.d.ts +0 -1
- package/dist/genesis/GenesisThemeDemo.stories.d.ts +0 -1
- package/dist/genesis/{labs/Lab.stories.d.ts → Lab.stories.d.ts} +0 -1
- package/dist/genesis/styles.d.ts +0 -1
- package/dist/genesis/styles.js +3 -3
- package/dist/{iconBase-LROS5hdG.js → iconBase-DSKTHwal.js} +9 -9
- package/dist/index-B7FXyiY_.js +104 -0
- package/dist/{index-B_1Ge8na.js → index-BHCqeC4j.js} +190 -183
- package/dist/index-BZ050Dyl.js +292 -0
- package/dist/{index-BpZSuIUV.js → index-Br3D3cFM.js} +23 -23
- package/dist/{index-DOsPeIWJ.js → index-Bxbr727t.js} +260 -265
- package/dist/index-C2K1BzmJ.js +3400 -0
- package/dist/{styles-D1vKDy9V.js → index-CupwdUIJ.js} +596 -603
- package/dist/{index-BQM5OniU.js → index-CzMIlMTV.js} +111 -111
- package/dist/index-DCopujxC.js +772 -0
- package/dist/index-DRGbc-fW.js +780 -0
- package/dist/index-DavB5GQ3.js +5221 -0
- package/dist/index-RAH9f-qb.js +540 -0
- package/dist/{index-BPVue1Yd.js → index-RtWhGOwR.js} +152 -150
- package/dist/index-Y0KgiFZb.js +909 -0
- package/dist/{index-DRGX1Wem.js → index-sX7KZ-nU.js} +414 -402
- package/dist/index.js +53 -55
- package/dist/interface/appointment.d.ts +0 -1
- package/dist/interface/appointmentV2.d.ts +0 -1
- package/dist/interface/appointmentsState.d.ts +0 -1
- package/dist/interface/deliveryPartner.d.ts +0 -1
- package/dist/interface/route.d.ts +0 -1
- package/dist/interface/routeAnalysis.d.ts +0 -1
- package/dist/interface/routeAutomationJob.d.ts +0 -1
- package/dist/interface/routeAutomationLog.d.ts +0 -1
- package/dist/interface/serviceArea.d.ts +0 -1
- package/dist/interface/vehicle.d.ts +0 -1
- package/dist/{magic-string.es-BKBb7z-1.js → magic-string.es-D4UQQyt0.js} +265 -264
- package/dist/{motion-CUN72xsH.js → motion-C-XpKcZG.js} +6 -5
- package/dist/{pickAttrs-CleuMJFR.js → pickAttrs-yFE4_vFd.js} +1 -1
- package/dist/{presets-Djh_L_6R.js → presets-CSXMiWyc.js} +176 -176
- package/dist/providers/BreakpointThemeProvider.d.ts +0 -1
- package/dist/providers/BreakpointThemeProvider.js +5 -5
- package/dist/providers/GenesisProvider.d.ts +0 -1
- package/dist/providers/GenesisProvider.js +1 -1
- package/dist/providers/ToastProvider.d.ts +0 -1
- package/dist/providers/ToastProvider.js +10 -9
- package/dist/providers/__stories__/GenesisProvider.stories.d.ts +0 -1
- package/dist/providers/index.js +1 -1
- package/dist/providers/useGenesis.d.ts +0 -1
- package/dist/providers/useGenesis.js +2 -2
- package/dist/{roundedArrow-DI_Q-xdU.js → roundedArrow-BxPlu4Hq.js} +2 -2
- package/dist/setup-aZdxWCJq.js +13976 -0
- package/dist/setup.types-CgFq66QX.js +9261 -0
- package/dist/shadow-9lsz-71t.js +13 -0
- package/dist/statusUtils-Kj9kMuVg.js +15 -0
- package/dist/{styleChecker-Cotu61d0.js → styleChecker-CSH9LQtm.js} +3 -3
- package/dist/{styled-components.browser.esm-CZ1XM4o4.js → styled-components.browser.esm-C47QHsU4.js} +371 -304
- package/dist/styles/design-tokens/border-tokens/BorderTokenList.js +11 -10
- package/dist/styles/design-tokens/border-tokens/BorderTokens.stories.d.ts +0 -1
- package/dist/styles/design-tokens/color-tokens/ColorTokens.stories.d.ts +0 -1
- package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.js +9 -8
- package/dist/styles/design-tokens/sizing-tokens/index.stories.d.ts +0 -1
- package/dist/styles/design-tokens/typography-tokens/TypographyTokens.stories.d.ts +0 -1
- package/dist/styles/global-styles.d.ts +0 -1
- package/dist/styles/global-styles.js +1 -1
- package/dist/styles/theme/genesis-theme.d.ts +0 -1
- package/dist/styles/theme/genesis-theme.js +285 -337
- package/dist/styles/theme/genesis-theme.test.d.ts +1 -0
- package/dist/styles/theme/genesis-theme.test.js +69 -0
- package/dist/styles/theme/theme-tree/ThemeTree.js +488 -488
- package/dist/styles/theme/theme-tree/ThemeTree.stories.d.ts +0 -1
- package/dist/styles-DNay6iFa.js +292 -0
- package/dist/styles-Wpm1RiGr.js +9212 -0
- package/dist/styles-XuoEGUZZ.js +549 -0
- package/dist/test/setup.d.ts +0 -1
- package/dist/test/setup.js +35 -35
- package/dist/test/setup.types.d.ts +0 -1
- package/dist/test/setup.types.js +1 -1
- package/dist/{toArray-U3Az44CO.js → toArray-D5kvYi_U.js} +1 -1
- package/dist/useBreakpoint-ByLol0R9.js +88 -0
- package/dist/useCSSVarCls-YfJY1twF.js +10 -0
- package/dist/{useIcons-Ck4JP1m9.js → useIcons-CoxuumP_.js} +16 -16
- package/dist/{useId-D2tzlufo.js → useId-DLf1xVuv.js} +3 -3
- package/dist/useLocale-BQ3mKRyJ.js +16 -0
- package/dist/{useMergedState-D6toxSxh.js → useMergedState-D1-TbeEv.js} +2 -2
- package/dist/useSize-Ct1guc-z.js +9 -0
- package/dist/useVariants-C6UAAu9f.js +19 -0
- package/dist/{useZIndex-DhyHuZTN.js → useZIndex-tgX56o1r.js} +7 -6
- package/dist/utils/icon-util.js +48 -44
- package/dist/vi.B5EKKJdE-BsDIxc7v.js +14087 -0
- package/package.json +33 -24
- package/dist/EllipsisOutlined-DGMph0Bj.js +0 -1115
- package/dist/KeyCode-DM2sFh3-.js +0 -517
- package/dist/TextArea-Bkf9hh7l.js +0 -708
- package/dist/_baseIsEqual-L0-w1QRI.js +0 -598
- package/dist/button-BwqpCxVM.js +0 -1406
- package/dist/clsx-OuTLNxxd.js +0 -16
- package/dist/index-BRUI9igj.js +0 -11
- package/dist/index-BbTV2Cw5.js +0 -22638
- package/dist/index-BeGv28kJ.js +0 -5173
- package/dist/index-BvOLXELm.js +0 -102
- package/dist/index-CLSrpQRW.js +0 -416
- package/dist/index-CbVOl2U6.js +0 -288
- package/dist/index-D0U6r5O7.js +0 -780
- package/dist/index-DEu2PVzQ.js +0 -538
- package/dist/index-DLdU7Tpd.js +0 -183
- package/dist/index-DNQ-jnBx.js +0 -3321
- package/dist/index-DWjq9XYj.js +0 -899
- package/dist/responsiveObserver-dCkpy7Cb.js +0 -73
- package/dist/setup-BjIR5S0o.js +0 -24731
- package/dist/setup.types-dBtAXXGp.js +0 -8824
- package/dist/shadow-BoMGMNn3.js +0 -13
- package/dist/styles-CWdUpZom.js +0 -289
- package/dist/styles-qerRs7Rn.js +0 -9196
- package/dist/useBreakpoint-TkMv121M.js +0 -22
- package/dist/useCSSVarCls-Dau77fzS.js +0 -11
- package/dist/useLocale-CTfNpakL.js +0 -16
- package/dist/useSize-DSq4r6zy.js +0 -9
- package/dist/useVariants-DrLzUVLU.js +0 -30
- package/dist/utils/getAppointmentColor.d.ts +0 -4
- package/dist/utils/getAppointmentColor.js +0 -91
- package/dist/utils/isAllEnglishString.d.ts +0 -1
- package/dist/utils/isAllEnglishString.js +0 -8
- package/dist/utils/isAllEnglishString.test.js +0 -8
- package/dist/utils/parseAddress.d.ts +0 -3
- package/dist/utils/parseAddress.js +0 -19
- /package/dist/{utils/isAllEnglishString.test.d.ts → components/FormBrandon/__tests__/form.test.d.ts} +0 -0
|
@@ -1,63 +1,61 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
1
|
+
import { jsxs as C, jsx as f } from "react/jsx-runtime";
|
|
2
|
+
import * as x from "react";
|
|
3
|
+
import m, { PureComponent as Ce, useState as De } from "react";
|
|
4
4
|
import "../../Avatar/styles.js";
|
|
5
5
|
import "../../Badge/styles.js";
|
|
6
6
|
import "../../../providers/BreakpointThemeProvider.js";
|
|
7
|
-
import { u as Pe, a as I } from "../../../Typography-
|
|
7
|
+
import { u as Pe, a as I } from "../../../Typography-B2J8CPnt.js";
|
|
8
8
|
import { BREAKPOINTS as Ne } from "../../../constants/index.js";
|
|
9
9
|
import "../../Breadcrumb/styles.js";
|
|
10
10
|
import "../../Button/styles.js";
|
|
11
11
|
import H from "../../Card/Card.js";
|
|
12
12
|
import "../../Checkbox/styles.js";
|
|
13
|
+
import "../../DateRangePicker/DateRangePicker.js";
|
|
13
14
|
import "../../ErrorBoundaryFallback/styles.js";
|
|
14
|
-
import "
|
|
15
|
+
import "../../../styles-XuoEGUZZ.js";
|
|
15
16
|
import "../../Layout/Content/styles.js";
|
|
16
17
|
import "../../Message/styles.js";
|
|
17
18
|
import "../../Notification/NotificationBadge/styles.js";
|
|
18
19
|
import "../../Notification/styles.js";
|
|
19
|
-
import "../../../styles-
|
|
20
|
+
import "../../../styles-DNay6iFa.js";
|
|
20
21
|
import "../../Progress/styles.js";
|
|
21
|
-
import "../../../styles/global-styles.js";
|
|
22
22
|
import je from "../../Radio/RadioGroup.js";
|
|
23
23
|
import "../../Row/styles.js";
|
|
24
|
+
import "../../../styles/global-styles.js";
|
|
24
25
|
import "../../Row/RowLabelValue/styles.js";
|
|
25
26
|
import "../../Row/RowActions/styles.js";
|
|
26
27
|
import "../../SegmentedControls/styles.js";
|
|
27
28
|
import "../../Select/styles.js";
|
|
28
29
|
import "../../Switch/styles.js";
|
|
29
|
-
import { S as ie, F as Te } from "../../../styles-
|
|
30
|
+
import { S as ie, F as Te } from "../../../styles-Wpm1RiGr.js";
|
|
30
31
|
import "../../Tabs/styles.js";
|
|
31
32
|
import "../../Tile/styles.js";
|
|
32
33
|
import "../../Toast/styles.js";
|
|
33
34
|
import "../../Tooltip/styles.js";
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import "../../../
|
|
43
|
-
import { I as he } from "../../../AntdIcon-
|
|
44
|
-
import {
|
|
45
|
-
import { c as be } from "../../../clsx-OuTLNxxd.js";
|
|
46
|
-
import { i as te } from "../../../_baseIsEqual-L0-w1QRI.js";
|
|
47
|
-
import { L as qe } from "../../../index-BvOLXELm.js";
|
|
35
|
+
import { deliveryData as J, columns as ke } from "../__mocks__/dashboard-data.js";
|
|
36
|
+
import { L as _e } from "../../../index-B7FXyiY_.js";
|
|
37
|
+
import { R as Ie, C as Q } from "../../../index-CupwdUIJ.js";
|
|
38
|
+
import { a as Le } from "../../../useBreakpoint-ByLol0R9.js";
|
|
39
|
+
import { c as Re } from "../../../reactNode-sKPeiqPL.js";
|
|
40
|
+
import { e as ve, c as $e } from "../../../presets-CSXMiWyc.js";
|
|
41
|
+
import { p as Ve } from "../../../pickAttrs-yFE4_vFd.js";
|
|
42
|
+
import { g as Me, m as Be, j as ze, l as Fe } from "../../../CSSMotionList-DB0khM6h.js";
|
|
43
|
+
import { S as Ke } from "../../../Skeleton-CudViN0a.js";
|
|
44
|
+
import { I as he } from "../../../AntdIcon-DP6hPDqu.js";
|
|
45
|
+
import { a as M, L as K, p as X, q as z, C as Z, A as We, b as B, e as oe, r as Ge, d as se, c as ye, h as He, g as Xe, u as Ue, i as ee, G as Ye, j as le, k as ce, D as qe, l as ge, B as te, X as U, Y, m as be, n as ue, T as pe, o as de } from "../../../generateCategoricalChart-CqByWmje.js";
|
|
48
46
|
var Je = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z" } }] }, name: "arrow-down", theme: "outlined" }, Qe = function(r, n) {
|
|
49
|
-
return /* @__PURE__ */
|
|
47
|
+
return /* @__PURE__ */ x.createElement(he, ve({}, r, {
|
|
50
48
|
ref: n,
|
|
51
49
|
icon: Je
|
|
52
50
|
}));
|
|
53
|
-
}, xe = /* @__PURE__ */
|
|
51
|
+
}, xe = /* @__PURE__ */ x.forwardRef(Qe);
|
|
54
52
|
process.env.NODE_ENV !== "production" && (xe.displayName = "ArrowDownOutlined");
|
|
55
53
|
var Ze = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M868 545.5L536.1 163a31.96 31.96 0 00-48.3 0L156 545.5a7.97 7.97 0 006 13.2h81c4.6 0 9-2 12.1-5.5L474 300.9V864c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V300.9l218.9 252.3c3 3.5 7.4 5.5 12.1 5.5h81c6.8 0 10.5-8 6-13.2z" } }] }, name: "arrow-up", theme: "outlined" }, et = function(r, n) {
|
|
56
|
-
return /* @__PURE__ */
|
|
54
|
+
return /* @__PURE__ */ x.createElement(he, ve({}, r, {
|
|
57
55
|
ref: n,
|
|
58
56
|
icon: Ze
|
|
59
57
|
}));
|
|
60
|
-
}, Ae = /* @__PURE__ */
|
|
58
|
+
}, Ae = /* @__PURE__ */ x.forwardRef(et);
|
|
61
59
|
process.env.NODE_ENV !== "production" && (Ae.displayName = "ArrowUpOutlined");
|
|
62
60
|
const tt = (e) => {
|
|
63
61
|
const {
|
|
@@ -78,16 +76,16 @@ const tt = (e) => {
|
|
|
78
76
|
else {
|
|
79
77
|
const c = u[1];
|
|
80
78
|
let p = u[2] || "0", d = u[4] || "";
|
|
81
|
-
p = p.replace(/\B(?=(\d{3})+(?!\d))/g, o), typeof t == "number" && (d = d.padEnd(t, "0").slice(0, t > 0 ? t : 0)), d && (d = `${a}${d}`), i = [/* @__PURE__ */
|
|
79
|
+
p = p.replace(/\B(?=(\d{3})+(?!\d))/g, o), typeof t == "number" && (d = d.padEnd(t, "0").slice(0, t > 0 ? t : 0)), d && (d = `${a}${d}`), i = [/* @__PURE__ */ x.createElement("span", {
|
|
82
80
|
key: "int",
|
|
83
81
|
className: `${s}-content-value-int`
|
|
84
|
-
}, c, p), d && /* @__PURE__ */
|
|
82
|
+
}, c, p), d && /* @__PURE__ */ x.createElement("span", {
|
|
85
83
|
key: "decimal",
|
|
86
84
|
className: `${s}-content-value-decimal`
|
|
87
85
|
}, d)];
|
|
88
86
|
}
|
|
89
87
|
}
|
|
90
|
-
return /* @__PURE__ */
|
|
88
|
+
return /* @__PURE__ */ x.createElement("span", {
|
|
91
89
|
className: `${s}-content-value`
|
|
92
90
|
}, i);
|
|
93
91
|
}, rt = (e) => {
|
|
@@ -102,7 +100,7 @@ const tt = (e) => {
|
|
|
102
100
|
fontFamily: l
|
|
103
101
|
} = e;
|
|
104
102
|
return {
|
|
105
|
-
[r]: Object.assign(Object.assign({},
|
|
103
|
+
[r]: Object.assign(Object.assign({}, ze(e)), {
|
|
106
104
|
[`${r}-title`]: {
|
|
107
105
|
marginBottom: n,
|
|
108
106
|
color: a,
|
|
@@ -140,8 +138,8 @@ const tt = (e) => {
|
|
|
140
138
|
titleFontSize: n,
|
|
141
139
|
contentFontSize: r
|
|
142
140
|
};
|
|
143
|
-
}, at =
|
|
144
|
-
const r =
|
|
141
|
+
}, at = Me("Statistic", (e) => {
|
|
142
|
+
const r = Be(e, {});
|
|
145
143
|
return [rt(r)];
|
|
146
144
|
}, nt);
|
|
147
145
|
var it = function(e, r) {
|
|
@@ -166,47 +164,48 @@ const W = (e) => {
|
|
|
166
164
|
loading: p = !1,
|
|
167
165
|
/* --- FormatConfig starts --- */
|
|
168
166
|
formatter: d,
|
|
169
|
-
precision:
|
|
167
|
+
precision: y,
|
|
170
168
|
decimalSeparator: A = ".",
|
|
171
|
-
groupSeparator:
|
|
169
|
+
groupSeparator: w = ",",
|
|
172
170
|
/* --- FormatConfig starts --- */
|
|
173
|
-
onMouseEnter:
|
|
174
|
-
onMouseLeave:
|
|
171
|
+
onMouseEnter: b,
|
|
172
|
+
onMouseLeave: D
|
|
175
173
|
} = e, E = it(e, ["prefixCls", "className", "rootClassName", "style", "valueStyle", "value", "title", "valueRender", "prefix", "suffix", "loading", "formatter", "precision", "decimalSeparator", "groupSeparator", "onMouseEnter", "onMouseLeave"]), {
|
|
176
|
-
getPrefixCls:
|
|
177
|
-
direction:
|
|
178
|
-
|
|
179
|
-
|
|
174
|
+
getPrefixCls: N,
|
|
175
|
+
direction: v,
|
|
176
|
+
className: h,
|
|
177
|
+
style: O
|
|
178
|
+
} = Fe("statistic"), g = N("statistic", r), [S, _, T] = at(g), P = /* @__PURE__ */ x.createElement(tt, {
|
|
180
179
|
decimalSeparator: A,
|
|
181
|
-
groupSeparator:
|
|
182
|
-
prefixCls:
|
|
180
|
+
groupSeparator: w,
|
|
181
|
+
prefixCls: g,
|
|
183
182
|
formatter: d,
|
|
184
|
-
precision:
|
|
183
|
+
precision: y,
|
|
185
184
|
value: s
|
|
186
|
-
}),
|
|
187
|
-
[`${
|
|
188
|
-
},
|
|
185
|
+
}), R = $e(g, {
|
|
186
|
+
[`${g}-rtl`]: v === "rtl"
|
|
187
|
+
}, h, n, t, _, T), $ = Ve(E, {
|
|
189
188
|
aria: !0,
|
|
190
189
|
data: !0
|
|
191
190
|
});
|
|
192
|
-
return
|
|
193
|
-
className:
|
|
194
|
-
style: Object.assign(Object.assign({},
|
|
195
|
-
onMouseEnter:
|
|
196
|
-
onMouseLeave:
|
|
197
|
-
}), i && /* @__PURE__ */
|
|
198
|
-
className: `${
|
|
199
|
-
}, i), /* @__PURE__ */
|
|
191
|
+
return S(/* @__PURE__ */ x.createElement("div", Object.assign({}, $, {
|
|
192
|
+
className: R,
|
|
193
|
+
style: Object.assign(Object.assign({}, O), a),
|
|
194
|
+
onMouseEnter: b,
|
|
195
|
+
onMouseLeave: D
|
|
196
|
+
}), i && /* @__PURE__ */ x.createElement("div", {
|
|
197
|
+
className: `${g}-title`
|
|
198
|
+
}, i), /* @__PURE__ */ x.createElement(Ke, {
|
|
200
199
|
paragraph: !1,
|
|
201
200
|
loading: p,
|
|
202
|
-
className: `${
|
|
203
|
-
}, /* @__PURE__ */
|
|
201
|
+
className: `${g}-skeleton`
|
|
202
|
+
}, /* @__PURE__ */ x.createElement("div", {
|
|
204
203
|
style: o,
|
|
205
|
-
className: `${
|
|
206
|
-
}, u && /* @__PURE__ */
|
|
207
|
-
className: `${
|
|
208
|
-
}, u), l ? l(
|
|
209
|
-
className: `${
|
|
204
|
+
className: `${g}-content`
|
|
205
|
+
}, u && /* @__PURE__ */ x.createElement("span", {
|
|
206
|
+
className: `${g}-content-prefix`
|
|
207
|
+
}, u), l ? l(P) : P, c && /* @__PURE__ */ x.createElement("span", {
|
|
208
|
+
className: `${g}-content-suffix`
|
|
210
209
|
}, c)))));
|
|
211
210
|
};
|
|
212
211
|
process.env.NODE_ENV !== "production" && (W.displayName = "Statistic");
|
|
@@ -232,8 +231,8 @@ function st(e, r) {
|
|
|
232
231
|
let [c, p] = u;
|
|
233
232
|
if (l.includes(c)) {
|
|
234
233
|
const d = Math.floor(n / p);
|
|
235
|
-
return n -= d * p, l.replace(new RegExp(`${c}+`, "g"), (
|
|
236
|
-
const A =
|
|
234
|
+
return n -= d * p, l.replace(new RegExp(`${c}+`, "g"), (y) => {
|
|
235
|
+
const A = y.length;
|
|
237
236
|
return d.toString().padStart(A, "0");
|
|
238
237
|
});
|
|
239
238
|
}
|
|
@@ -268,7 +267,7 @@ const dt = (e) => {
|
|
|
268
267
|
format: n = "HH:mm:ss",
|
|
269
268
|
onChange: t,
|
|
270
269
|
onFinish: a
|
|
271
|
-
} = e, o = ct(e, ["value", "format", "onChange", "onFinish"]), s =
|
|
270
|
+
} = e, o = ct(e, ["value", "format", "onChange", "onFinish"]), s = Le(), i = x.useRef(null), l = () => {
|
|
272
271
|
a == null || a(), i.current && (clearInterval(i.current), i.current = null);
|
|
273
272
|
}, u = () => {
|
|
274
273
|
const d = pt(r);
|
|
@@ -276,29 +275,29 @@ const dt = (e) => {
|
|
|
276
275
|
s(), t == null || t(d - Date.now()), d < Date.now() && l();
|
|
277
276
|
}, ut));
|
|
278
277
|
};
|
|
279
|
-
|
|
278
|
+
x.useEffect(() => (u(), () => {
|
|
280
279
|
i.current && (clearInterval(i.current), i.current = null);
|
|
281
280
|
}), [r]);
|
|
282
|
-
const c = (d,
|
|
281
|
+
const c = (d, y) => lt(d, Object.assign(Object.assign({}, y), {
|
|
283
282
|
format: n
|
|
284
|
-
})), p = (d) =>
|
|
283
|
+
})), p = (d) => Re(d, {
|
|
285
284
|
title: void 0
|
|
286
285
|
});
|
|
287
|
-
return /* @__PURE__ */
|
|
286
|
+
return /* @__PURE__ */ x.createElement(W, Object.assign({}, o, {
|
|
288
287
|
value: r,
|
|
289
288
|
valueRender: p,
|
|
290
289
|
formatter: c
|
|
291
290
|
}));
|
|
292
|
-
}, ft = /* @__PURE__ */
|
|
291
|
+
}, ft = /* @__PURE__ */ x.memo(dt);
|
|
293
292
|
W.Countdown = ft;
|
|
294
293
|
var mt = ["layout", "type", "stroke", "connectNulls", "isRange", "ref"], vt = ["key"], Ee;
|
|
295
|
-
function
|
|
294
|
+
function F(e) {
|
|
296
295
|
"@babel/helpers - typeof";
|
|
297
|
-
return
|
|
296
|
+
return F = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(r) {
|
|
298
297
|
return typeof r;
|
|
299
298
|
} : function(r) {
|
|
300
299
|
return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
|
|
301
|
-
},
|
|
300
|
+
}, F(e);
|
|
302
301
|
}
|
|
303
302
|
function Oe(e, r) {
|
|
304
303
|
if (e == null) return {};
|
|
@@ -320,15 +319,15 @@ function ht(e, r) {
|
|
|
320
319
|
}
|
|
321
320
|
return n;
|
|
322
321
|
}
|
|
323
|
-
function
|
|
324
|
-
return
|
|
322
|
+
function V() {
|
|
323
|
+
return V = Object.assign ? Object.assign.bind() : function(e) {
|
|
325
324
|
for (var r = 1; r < arguments.length; r++) {
|
|
326
325
|
var n = arguments[r];
|
|
327
326
|
for (var t in n)
|
|
328
327
|
Object.prototype.hasOwnProperty.call(n, t) && (e[t] = n[t]);
|
|
329
328
|
}
|
|
330
329
|
return e;
|
|
331
|
-
},
|
|
330
|
+
}, V.apply(this, arguments);
|
|
332
331
|
}
|
|
333
332
|
function fe(e, r) {
|
|
334
333
|
var n = Object.keys(e);
|
|
@@ -344,7 +343,7 @@ function L(e) {
|
|
|
344
343
|
for (var r = 1; r < arguments.length; r++) {
|
|
345
344
|
var n = arguments[r] != null ? arguments[r] : {};
|
|
346
345
|
r % 2 ? fe(Object(n), !0).forEach(function(t) {
|
|
347
|
-
|
|
346
|
+
j(e, t, n[t]);
|
|
348
347
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : fe(Object(n)).forEach(function(t) {
|
|
349
348
|
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
|
|
350
349
|
});
|
|
@@ -362,13 +361,13 @@ function me(e, r) {
|
|
|
362
361
|
}
|
|
363
362
|
}
|
|
364
363
|
function gt(e, r, n) {
|
|
365
|
-
return me(e.prototype, r), me(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
364
|
+
return r && me(e.prototype, r), n && me(e, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
366
365
|
}
|
|
367
366
|
function bt(e, r, n) {
|
|
368
|
-
return r = q(r), xt(e, we() ? Reflect.construct(r, n, q(e).constructor) : r.apply(e, n));
|
|
367
|
+
return r = q(r), xt(e, we() ? Reflect.construct(r, n || [], q(e).constructor) : r.apply(e, n));
|
|
369
368
|
}
|
|
370
369
|
function xt(e, r) {
|
|
371
|
-
if (r && (
|
|
370
|
+
if (r && (F(r) === "object" || typeof r == "function"))
|
|
372
371
|
return r;
|
|
373
372
|
if (r !== void 0)
|
|
374
373
|
throw new TypeError("Derived constructors may only return object or undefined");
|
|
@@ -404,22 +403,22 @@ function re(e, r) {
|
|
|
404
403
|
return t.__proto__ = a, t;
|
|
405
404
|
}, re(e, r);
|
|
406
405
|
}
|
|
407
|
-
function
|
|
406
|
+
function j(e, r, n) {
|
|
408
407
|
return r = Se(r), r in e ? Object.defineProperty(e, r, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = n, e;
|
|
409
408
|
}
|
|
410
409
|
function Se(e) {
|
|
411
410
|
var r = Ot(e, "string");
|
|
412
|
-
return
|
|
411
|
+
return F(r) == "symbol" ? r : r + "";
|
|
413
412
|
}
|
|
414
413
|
function Ot(e, r) {
|
|
415
|
-
if (
|
|
414
|
+
if (F(e) != "object" || !e) return e;
|
|
416
415
|
var n = e[Symbol.toPrimitive];
|
|
417
416
|
if (n !== void 0) {
|
|
418
|
-
var t = n.call(e, r
|
|
419
|
-
if (
|
|
417
|
+
var t = n.call(e, r);
|
|
418
|
+
if (F(t) != "object") return t;
|
|
420
419
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
421
420
|
}
|
|
422
|
-
return
|
|
421
|
+
return String(e);
|
|
423
422
|
}
|
|
424
423
|
var k = /* @__PURE__ */ function(e) {
|
|
425
424
|
function r() {
|
|
@@ -427,18 +426,18 @@ var k = /* @__PURE__ */ function(e) {
|
|
|
427
426
|
yt(this, r);
|
|
428
427
|
for (var t = arguments.length, a = new Array(t), o = 0; o < t; o++)
|
|
429
428
|
a[o] = arguments[o];
|
|
430
|
-
return n = bt(this, r, [].concat(a)),
|
|
429
|
+
return n = bt(this, r, [].concat(a)), j(n, "state", {
|
|
431
430
|
isAnimationFinished: !0
|
|
432
|
-
}),
|
|
431
|
+
}), j(n, "id", Ue("recharts-area-")), j(n, "handleAnimationEnd", function() {
|
|
433
432
|
var s = n.props.onAnimationEnd;
|
|
434
433
|
n.setState({
|
|
435
434
|
isAnimationFinished: !0
|
|
436
|
-
}),
|
|
437
|
-
}),
|
|
435
|
+
}), ee(s) && s();
|
|
436
|
+
}), j(n, "handleAnimationStart", function() {
|
|
438
437
|
var s = n.props.onAnimationStart;
|
|
439
438
|
n.setState({
|
|
440
439
|
isAnimationFinished: !1
|
|
441
|
-
}),
|
|
440
|
+
}), ee(s) && s();
|
|
442
441
|
}), n;
|
|
443
442
|
}
|
|
444
443
|
return Et(r, e), gt(r, [{
|
|
@@ -447,26 +446,26 @@ var k = /* @__PURE__ */ function(e) {
|
|
|
447
446
|
var s = this.props.isAnimationActive, i = this.state.isAnimationFinished;
|
|
448
447
|
if (s && !i)
|
|
449
448
|
return null;
|
|
450
|
-
var l = this.props, u = l.dot, c = l.points, p = l.dataKey, d =
|
|
449
|
+
var l = this.props, u = l.dot, c = l.points, p = l.dataKey, d = M(this.props, !1), y = M(u, !0), A = c.map(function(b, D) {
|
|
451
450
|
var E = L(L(L({
|
|
452
|
-
key: "dot-".concat(
|
|
451
|
+
key: "dot-".concat(D),
|
|
453
452
|
r: 3
|
|
454
|
-
}, d),
|
|
455
|
-
index:
|
|
456
|
-
cx:
|
|
457
|
-
cy:
|
|
453
|
+
}, d), y), {}, {
|
|
454
|
+
index: D,
|
|
455
|
+
cx: b.x,
|
|
456
|
+
cy: b.y,
|
|
458
457
|
dataKey: p,
|
|
459
|
-
value:
|
|
460
|
-
payload:
|
|
458
|
+
value: b.value,
|
|
459
|
+
payload: b.payload,
|
|
461
460
|
points: c
|
|
462
461
|
});
|
|
463
462
|
return r.renderDotItem(u, E);
|
|
464
|
-
}),
|
|
463
|
+
}), w = {
|
|
465
464
|
clipPath: t ? "url(#clipPath-".concat(a ? "" : "dots-").concat(o, ")") : null
|
|
466
465
|
};
|
|
467
|
-
return /* @__PURE__ */
|
|
466
|
+
return /* @__PURE__ */ m.createElement(K, V({
|
|
468
467
|
className: "recharts-area-dots"
|
|
469
|
-
},
|
|
468
|
+
}, w), A);
|
|
470
469
|
}
|
|
471
470
|
}, {
|
|
472
471
|
key: "renderHorizontalRect",
|
|
@@ -474,9 +473,9 @@ var k = /* @__PURE__ */ function(e) {
|
|
|
474
473
|
var a = this.props, o = a.baseLine, s = a.points, i = a.strokeWidth, l = s[0].x, u = s[s.length - 1].x, c = t * Math.abs(l - u), p = X(s.map(function(d) {
|
|
475
474
|
return d.y || 0;
|
|
476
475
|
}));
|
|
477
|
-
return
|
|
476
|
+
return z(o) && typeof o == "number" ? p = Math.max(o, p) : o && Array.isArray(o) && o.length && (p = Math.max(X(o.map(function(d) {
|
|
478
477
|
return d.y || 0;
|
|
479
|
-
})), p)),
|
|
478
|
+
})), p)), z(p) ? /* @__PURE__ */ m.createElement("rect", {
|
|
480
479
|
x: l < u ? l : l - c,
|
|
481
480
|
y: 0,
|
|
482
481
|
width: c,
|
|
@@ -489,9 +488,9 @@ var k = /* @__PURE__ */ function(e) {
|
|
|
489
488
|
var a = this.props, o = a.baseLine, s = a.points, i = a.strokeWidth, l = s[0].y, u = s[s.length - 1].y, c = t * Math.abs(l - u), p = X(s.map(function(d) {
|
|
490
489
|
return d.x || 0;
|
|
491
490
|
}));
|
|
492
|
-
return
|
|
491
|
+
return z(o) && typeof o == "number" ? p = Math.max(o, p) : o && Array.isArray(o) && o.length && (p = Math.max(X(o.map(function(d) {
|
|
493
492
|
return d.x || 0;
|
|
494
|
-
})), p)),
|
|
493
|
+
})), p)), z(p) ? /* @__PURE__ */ m.createElement("rect", {
|
|
495
494
|
x: 0,
|
|
496
495
|
y: l < u ? l : l - c,
|
|
497
496
|
width: p + (i ? parseInt("".concat(i), 10) : 1),
|
|
@@ -509,10 +508,10 @@ var k = /* @__PURE__ */ function(e) {
|
|
|
509
508
|
value: function(t, a, o, s) {
|
|
510
509
|
var i = this.props, l = i.layout, u = i.type, c = i.stroke, p = i.connectNulls, d = i.isRange;
|
|
511
510
|
i.ref;
|
|
512
|
-
var
|
|
513
|
-
return /* @__PURE__ */
|
|
511
|
+
var y = Oe(i, mt);
|
|
512
|
+
return /* @__PURE__ */ m.createElement(K, {
|
|
514
513
|
clipPath: o ? "url(#clipPath-".concat(s, ")") : null
|
|
515
|
-
}, /* @__PURE__ */
|
|
514
|
+
}, /* @__PURE__ */ m.createElement(Z, V({}, M(y, !0), {
|
|
516
515
|
points: t,
|
|
517
516
|
connectNulls: p,
|
|
518
517
|
type: u,
|
|
@@ -520,14 +519,14 @@ var k = /* @__PURE__ */ function(e) {
|
|
|
520
519
|
layout: l,
|
|
521
520
|
stroke: "none",
|
|
522
521
|
className: "recharts-area-area"
|
|
523
|
-
})), c !== "none" && /* @__PURE__ */
|
|
522
|
+
})), c !== "none" && /* @__PURE__ */ m.createElement(Z, V({}, M(this.props, !1), {
|
|
524
523
|
className: "recharts-area-curve",
|
|
525
524
|
layout: l,
|
|
526
525
|
type: u,
|
|
527
526
|
connectNulls: p,
|
|
528
527
|
fill: "none",
|
|
529
528
|
points: t
|
|
530
|
-
})), c !== "none" && d && /* @__PURE__ */
|
|
529
|
+
})), c !== "none" && d && /* @__PURE__ */ m.createElement(Z, V({}, M(this.props, !1), {
|
|
531
530
|
className: "recharts-area-curve",
|
|
532
531
|
layout: l,
|
|
533
532
|
type: u,
|
|
@@ -539,8 +538,8 @@ var k = /* @__PURE__ */ function(e) {
|
|
|
539
538
|
}, {
|
|
540
539
|
key: "renderAreaWithAnimation",
|
|
541
540
|
value: function(t, a) {
|
|
542
|
-
var o = this, s = this.props, i = s.points, l = s.baseLine, u = s.isAnimationActive, c = s.animationBegin, p = s.animationDuration, d = s.animationEasing,
|
|
543
|
-
return /* @__PURE__ */
|
|
541
|
+
var o = this, s = this.props, i = s.points, l = s.baseLine, u = s.isAnimationActive, c = s.animationBegin, p = s.animationDuration, d = s.animationEasing, y = s.animationId, A = this.state, w = A.prevPoints, b = A.prevBaseLine;
|
|
542
|
+
return /* @__PURE__ */ m.createElement(We, {
|
|
544
543
|
begin: c,
|
|
545
544
|
duration: p,
|
|
546
545
|
isActive: u,
|
|
@@ -551,46 +550,46 @@ var k = /* @__PURE__ */ function(e) {
|
|
|
551
550
|
to: {
|
|
552
551
|
t: 1
|
|
553
552
|
},
|
|
554
|
-
key: "area-".concat(
|
|
553
|
+
key: "area-".concat(y),
|
|
555
554
|
onAnimationEnd: this.handleAnimationEnd,
|
|
556
555
|
onAnimationStart: this.handleAnimationStart
|
|
557
|
-
}, function(
|
|
558
|
-
var E =
|
|
559
|
-
if (
|
|
560
|
-
var
|
|
561
|
-
var
|
|
562
|
-
if (
|
|
563
|
-
var
|
|
564
|
-
return L(L({},
|
|
556
|
+
}, function(D) {
|
|
557
|
+
var E = D.t;
|
|
558
|
+
if (w) {
|
|
559
|
+
var N = w.length / i.length, v = i.map(function(S, _) {
|
|
560
|
+
var T = Math.floor(_ * N);
|
|
561
|
+
if (w[T]) {
|
|
562
|
+
var P = w[T], R = B(P.x, S.x), $ = B(P.y, S.y);
|
|
563
|
+
return L(L({}, S), {}, {
|
|
565
564
|
x: R(E),
|
|
566
|
-
y:
|
|
565
|
+
y: $(E)
|
|
567
566
|
});
|
|
568
567
|
}
|
|
569
|
-
return
|
|
570
|
-
}),
|
|
571
|
-
if (
|
|
572
|
-
var
|
|
573
|
-
|
|
574
|
-
} else if (
|
|
575
|
-
var
|
|
576
|
-
|
|
568
|
+
return S;
|
|
569
|
+
}), h;
|
|
570
|
+
if (z(l) && typeof l == "number") {
|
|
571
|
+
var O = B(b, l);
|
|
572
|
+
h = O(E);
|
|
573
|
+
} else if (oe(l) || Ge(l)) {
|
|
574
|
+
var g = B(b, 0);
|
|
575
|
+
h = g(E);
|
|
577
576
|
} else
|
|
578
|
-
|
|
579
|
-
var
|
|
580
|
-
if (
|
|
581
|
-
var
|
|
582
|
-
return L(L({},
|
|
577
|
+
h = l.map(function(S, _) {
|
|
578
|
+
var T = Math.floor(_ * N);
|
|
579
|
+
if (b[T]) {
|
|
580
|
+
var P = b[T], R = B(P.x, S.x), $ = B(P.y, S.y);
|
|
581
|
+
return L(L({}, S), {}, {
|
|
583
582
|
x: R(E),
|
|
584
|
-
y:
|
|
583
|
+
y: $(E)
|
|
585
584
|
});
|
|
586
585
|
}
|
|
587
|
-
return
|
|
586
|
+
return S;
|
|
588
587
|
});
|
|
589
|
-
return o.renderAreaStatically(
|
|
588
|
+
return o.renderAreaStatically(v, h, t, a);
|
|
590
589
|
}
|
|
591
|
-
return /* @__PURE__ */
|
|
590
|
+
return /* @__PURE__ */ m.createElement(K, null, /* @__PURE__ */ m.createElement("defs", null, /* @__PURE__ */ m.createElement("clipPath", {
|
|
592
591
|
id: "animationClipPath-".concat(a)
|
|
593
|
-
}, o.renderClipRect(E))), /* @__PURE__ */
|
|
592
|
+
}, o.renderClipRect(E))), /* @__PURE__ */ m.createElement(K, {
|
|
594
593
|
clipPath: "url(#animationClipPath-".concat(a, ")")
|
|
595
594
|
}, o.renderAreaStatically(i, l, t, a)));
|
|
596
595
|
});
|
|
@@ -599,35 +598,35 @@ var k = /* @__PURE__ */ function(e) {
|
|
|
599
598
|
key: "renderArea",
|
|
600
599
|
value: function(t, a) {
|
|
601
600
|
var o = this.props, s = o.points, i = o.baseLine, l = o.isAnimationActive, u = this.state, c = u.prevPoints, p = u.prevBaseLine, d = u.totalLength;
|
|
602
|
-
return l && s && s.length && (!c && d > 0 || !
|
|
601
|
+
return l && s && s.length && (!c && d > 0 || !se(c, s) || !se(p, i)) ? this.renderAreaWithAnimation(t, a) : this.renderAreaStatically(s, i, t, a);
|
|
603
602
|
}
|
|
604
603
|
}, {
|
|
605
604
|
key: "render",
|
|
606
605
|
value: function() {
|
|
607
|
-
var t, a = this.props, o = a.hide, s = a.dot, i = a.points, l = a.className, u = a.top, c = a.left, p = a.xAxis, d = a.yAxis,
|
|
606
|
+
var t, a = this.props, o = a.hide, s = a.dot, i = a.points, l = a.className, u = a.top, c = a.left, p = a.xAxis, d = a.yAxis, y = a.width, A = a.height, w = a.isAnimationActive, b = a.id;
|
|
608
607
|
if (o || !i || !i.length)
|
|
609
608
|
return null;
|
|
610
|
-
var
|
|
609
|
+
var D = this.state.isAnimationFinished, E = i.length === 1, N = ye("recharts-area", l), v = p && p.allowDataOverflow, h = d && d.allowDataOverflow, O = v || h, g = oe(b) ? this.id : b, S = (t = M(s, !1)) !== null && t !== void 0 ? t : {
|
|
611
610
|
r: 3,
|
|
612
611
|
strokeWidth: 2
|
|
613
|
-
}, _ =
|
|
614
|
-
return /* @__PURE__ */
|
|
615
|
-
className:
|
|
616
|
-
},
|
|
617
|
-
id: "clipPath-".concat(
|
|
618
|
-
}, /* @__PURE__ */
|
|
619
|
-
x:
|
|
620
|
-
y:
|
|
621
|
-
width:
|
|
622
|
-
height:
|
|
623
|
-
})), !ae && /* @__PURE__ */
|
|
624
|
-
id: "clipPath-dots-".concat(
|
|
625
|
-
}, /* @__PURE__ */
|
|
612
|
+
}, _ = S.r, T = _ === void 0 ? 3 : _, P = S.strokeWidth, R = P === void 0 ? 2 : P, $ = He(s) ? s : {}, ne = $.clipDot, ae = ne === void 0 ? !0 : ne, G = T * 2 + R;
|
|
613
|
+
return /* @__PURE__ */ m.createElement(K, {
|
|
614
|
+
className: N
|
|
615
|
+
}, v || h ? /* @__PURE__ */ m.createElement("defs", null, /* @__PURE__ */ m.createElement("clipPath", {
|
|
616
|
+
id: "clipPath-".concat(g)
|
|
617
|
+
}, /* @__PURE__ */ m.createElement("rect", {
|
|
618
|
+
x: v ? c : c - y / 2,
|
|
619
|
+
y: h ? u : u - A / 2,
|
|
620
|
+
width: v ? y : y * 2,
|
|
621
|
+
height: h ? A : A * 2
|
|
622
|
+
})), !ae && /* @__PURE__ */ m.createElement("clipPath", {
|
|
623
|
+
id: "clipPath-dots-".concat(g)
|
|
624
|
+
}, /* @__PURE__ */ m.createElement("rect", {
|
|
626
625
|
x: c - G / 2,
|
|
627
626
|
y: u - G / 2,
|
|
628
|
-
width:
|
|
627
|
+
width: y + G,
|
|
629
628
|
height: A + G
|
|
630
|
-
}))) : null, E ? null : this.renderArea(
|
|
629
|
+
}))) : null, E ? null : this.renderArea(O, g), (s || E) && this.renderDots(O, ae, g), (!w || D) && Xe.renderCallByParent(this.props, i));
|
|
631
630
|
}
|
|
632
631
|
}], [{
|
|
633
632
|
key: "getDerivedStateFromProps",
|
|
@@ -646,8 +645,8 @@ var k = /* @__PURE__ */ function(e) {
|
|
|
646
645
|
}]);
|
|
647
646
|
}(Ce);
|
|
648
647
|
Ee = k;
|
|
649
|
-
|
|
650
|
-
|
|
648
|
+
j(k, "displayName", "Area");
|
|
649
|
+
j(k, "defaultProps", {
|
|
651
650
|
stroke: "#3182bd",
|
|
652
651
|
fill: "#3182bd",
|
|
653
652
|
fillOpacity: 0.6,
|
|
@@ -660,14 +659,14 @@ T(k, "defaultProps", {
|
|
|
660
659
|
dot: !1,
|
|
661
660
|
activeDot: !0,
|
|
662
661
|
hide: !1,
|
|
663
|
-
isAnimationActive: !
|
|
662
|
+
isAnimationActive: !Ye.isSsr,
|
|
664
663
|
animationBegin: 0,
|
|
665
664
|
animationDuration: 1500,
|
|
666
665
|
animationEasing: "ease"
|
|
667
666
|
});
|
|
668
|
-
|
|
667
|
+
j(k, "getBaseValue", function(e, r, n, t) {
|
|
669
668
|
var a = e.layout, o = e.baseValue, s = r.props.baseValue, i = s ?? o;
|
|
670
|
-
if (
|
|
669
|
+
if (z(i) && typeof i == "number")
|
|
671
670
|
return i;
|
|
672
671
|
var l = a === "horizontal" ? t : n, u = l.scale.domain();
|
|
673
672
|
if (l.type === "number") {
|
|
@@ -676,69 +675,69 @@ T(k, "getBaseValue", function(e, r, n, t) {
|
|
|
676
675
|
}
|
|
677
676
|
return i === "dataMin" ? u[0] : i === "dataMax" ? u[1] : u[0];
|
|
678
677
|
});
|
|
679
|
-
|
|
680
|
-
var r = e.props, n = e.item, t = e.xAxis, a = e.yAxis, o = e.xAxisTicks, s = e.yAxisTicks, i = e.bandSize, l = e.dataKey, u = e.stackedData, c = e.dataStartIndex, p = e.displayedData, d = e.offset,
|
|
681
|
-
var
|
|
682
|
-
A ?
|
|
683
|
-
var
|
|
684
|
-
return
|
|
685
|
-
x:
|
|
678
|
+
j(k, "getComposedData", function(e) {
|
|
679
|
+
var r = e.props, n = e.item, t = e.xAxis, a = e.yAxis, o = e.xAxisTicks, s = e.yAxisTicks, i = e.bandSize, l = e.dataKey, u = e.stackedData, c = e.dataStartIndex, p = e.displayedData, d = e.offset, y = r.layout, A = u && u.length, w = Ee.getBaseValue(r, n, t, a), b = y === "horizontal", D = !1, E = p.map(function(v, h) {
|
|
680
|
+
var O;
|
|
681
|
+
A ? O = u[c + h] : (O = le(v, l), Array.isArray(O) ? D = !0 : O = [w, O]);
|
|
682
|
+
var g = O[1] == null || A && le(v, l) == null;
|
|
683
|
+
return b ? {
|
|
684
|
+
x: ce({
|
|
686
685
|
axis: t,
|
|
687
686
|
ticks: o,
|
|
688
687
|
bandSize: i,
|
|
689
|
-
entry:
|
|
690
|
-
index:
|
|
688
|
+
entry: v,
|
|
689
|
+
index: h
|
|
691
690
|
}),
|
|
692
|
-
y:
|
|
693
|
-
value:
|
|
694
|
-
payload:
|
|
691
|
+
y: g ? null : a.scale(O[1]),
|
|
692
|
+
value: O,
|
|
693
|
+
payload: v
|
|
695
694
|
} : {
|
|
696
|
-
x:
|
|
697
|
-
y:
|
|
695
|
+
x: g ? null : t.scale(O[1]),
|
|
696
|
+
y: ce({
|
|
698
697
|
axis: a,
|
|
699
698
|
ticks: s,
|
|
700
699
|
bandSize: i,
|
|
701
|
-
entry:
|
|
702
|
-
index:
|
|
700
|
+
entry: v,
|
|
701
|
+
index: h
|
|
703
702
|
}),
|
|
704
|
-
value:
|
|
705
|
-
payload:
|
|
703
|
+
value: O,
|
|
704
|
+
payload: v
|
|
706
705
|
};
|
|
707
|
-
}),
|
|
708
|
-
return A ||
|
|
709
|
-
var
|
|
710
|
-
return
|
|
711
|
-
x:
|
|
712
|
-
y:
|
|
706
|
+
}), N;
|
|
707
|
+
return A || D ? N = E.map(function(v) {
|
|
708
|
+
var h = Array.isArray(v.value) ? v.value[0] : null;
|
|
709
|
+
return b ? {
|
|
710
|
+
x: v.x,
|
|
711
|
+
y: h != null && v.y != null ? a.scale(h) : null
|
|
713
712
|
} : {
|
|
714
|
-
x:
|
|
715
|
-
y:
|
|
713
|
+
x: h != null ? t.scale(h) : null,
|
|
714
|
+
y: v.y
|
|
716
715
|
};
|
|
717
|
-
}) :
|
|
716
|
+
}) : N = b ? a.scale(w) : t.scale(w), L({
|
|
718
717
|
points: E,
|
|
719
|
-
baseLine:
|
|
720
|
-
layout:
|
|
721
|
-
isRange:
|
|
718
|
+
baseLine: N,
|
|
719
|
+
layout: y,
|
|
720
|
+
isRange: D
|
|
722
721
|
}, d);
|
|
723
722
|
});
|
|
724
|
-
|
|
723
|
+
j(k, "renderDotItem", function(e, r) {
|
|
725
724
|
var n;
|
|
726
|
-
if (/* @__PURE__ */
|
|
727
|
-
n = /* @__PURE__ */
|
|
728
|
-
else if (
|
|
725
|
+
if (/* @__PURE__ */ m.isValidElement(e))
|
|
726
|
+
n = /* @__PURE__ */ m.cloneElement(e, r);
|
|
727
|
+
else if (ee(e))
|
|
729
728
|
n = e(r);
|
|
730
729
|
else {
|
|
731
|
-
var t =
|
|
732
|
-
n = /* @__PURE__ */
|
|
730
|
+
var t = ye("recharts-area-dot", typeof e != "boolean" ? e.className : ""), a = r.key, o = Oe(r, vt);
|
|
731
|
+
n = /* @__PURE__ */ m.createElement(qe, V({}, o, {
|
|
733
732
|
key: a,
|
|
734
733
|
className: t
|
|
735
734
|
}));
|
|
736
735
|
}
|
|
737
736
|
return n;
|
|
738
737
|
});
|
|
739
|
-
var wt =
|
|
738
|
+
var wt = ge({
|
|
740
739
|
chartName: "BarChart",
|
|
741
|
-
GraphicalChild:
|
|
740
|
+
GraphicalChild: te,
|
|
742
741
|
defaultTooltipEventType: "axis",
|
|
743
742
|
validateTooltipEventTypes: ["axis", "item"],
|
|
744
743
|
axisComponents: [{
|
|
@@ -748,8 +747,8 @@ var wt = ye({
|
|
|
748
747
|
axisType: "yAxis",
|
|
749
748
|
AxisComp: Y
|
|
750
749
|
}],
|
|
751
|
-
formatAxisMap:
|
|
752
|
-
}), St =
|
|
750
|
+
formatAxisMap: be
|
|
751
|
+
}), St = ge({
|
|
753
752
|
chartName: "AreaChart",
|
|
754
753
|
GraphicalChild: k,
|
|
755
754
|
axisComponents: [{
|
|
@@ -759,18 +758,18 @@ var wt = ye({
|
|
|
759
758
|
axisType: "yAxis",
|
|
760
759
|
AxisComp: Y
|
|
761
760
|
}],
|
|
762
|
-
formatAxisMap:
|
|
761
|
+
formatAxisMap: be
|
|
763
762
|
});
|
|
764
|
-
const { Content: Ct } =
|
|
765
|
-
const [e, r] =
|
|
763
|
+
const { Content: Ct } = _e, yr = () => {
|
|
764
|
+
const [e, r] = m.useState("line"), { breakpoint: n } = Pe(), t = n === Ne.narrow, [a, o] = De("1"), s = (c) => {
|
|
766
765
|
o(c.id), r(c.id === "1" ? "line" : "bar");
|
|
767
766
|
}, i = {
|
|
768
767
|
totalDeliveries: 107,
|
|
769
768
|
evDeliveries: 89,
|
|
770
769
|
iceDeliveries: 68
|
|
771
770
|
};
|
|
772
|
-
return /* @__PURE__ */
|
|
773
|
-
/* @__PURE__ */
|
|
771
|
+
return /* @__PURE__ */ C(Ct, { style: { margin: "24px 16px", padding: 24, background: "#fff" }, children: [
|
|
772
|
+
/* @__PURE__ */ C(
|
|
774
773
|
ie,
|
|
775
774
|
{
|
|
776
775
|
direction: t ? "vertical" : "horizontal",
|
|
@@ -788,14 +787,14 @@ const { Content: Ct } = qe, br = () => {
|
|
|
788
787
|
width: "100%"
|
|
789
788
|
},
|
|
790
789
|
children: [
|
|
791
|
-
/* @__PURE__ */
|
|
792
|
-
|
|
790
|
+
/* @__PURE__ */ C(
|
|
791
|
+
Ie,
|
|
793
792
|
{
|
|
794
793
|
style: {
|
|
795
794
|
width: "100%"
|
|
796
795
|
},
|
|
797
796
|
children: [
|
|
798
|
-
/* @__PURE__ */ f(Q, { span: 8, style: { textAlign: "center", padding: "0 4px" }, children: /* @__PURE__ */
|
|
797
|
+
/* @__PURE__ */ f(Q, { span: 8, style: { textAlign: "center", padding: "0 4px" }, children: /* @__PURE__ */ C(H, { children: [
|
|
799
798
|
/* @__PURE__ */ f(
|
|
800
799
|
I,
|
|
801
800
|
{
|
|
@@ -809,11 +808,11 @@ const { Content: Ct } = qe, br = () => {
|
|
|
809
808
|
),
|
|
810
809
|
/* @__PURE__ */ f(I, { variant: "digits2", level: 2, children: i.totalDeliveries })
|
|
811
810
|
] }) }),
|
|
812
|
-
/* @__PURE__ */ f(Q, { span: 8, style: { textAlign: "center", padding: "0 4px" }, children: /* @__PURE__ */
|
|
811
|
+
/* @__PURE__ */ f(Q, { span: 8, style: { textAlign: "center", padding: "0 4px" }, children: /* @__PURE__ */ C(H, { children: [
|
|
813
812
|
/* @__PURE__ */ f(I, { variant: "heading3", level: 4, children: "EV Deliveries" }),
|
|
814
813
|
/* @__PURE__ */ f(I, { variant: "digits2", level: 2, children: i.evDeliveries })
|
|
815
814
|
] }) }),
|
|
816
|
-
/* @__PURE__ */ f(Q, { span: 8, style: { textAlign: "center", padding: "0 4px" }, children: /* @__PURE__ */
|
|
815
|
+
/* @__PURE__ */ f(Q, { span: 8, style: { textAlign: "center", padding: "0 4px" }, children: /* @__PURE__ */ C(H, { children: [
|
|
817
816
|
/* @__PURE__ */ f(I, { variant: "heading3", level: 4, children: "ICE Deliveries" }),
|
|
818
817
|
/* @__PURE__ */ f(I, { variant: "digits2", level: 2, children: i.iceDeliveries })
|
|
819
818
|
] }) })
|
|
@@ -855,9 +854,9 @@ const { Content: Ct } = qe, br = () => {
|
|
|
855
854
|
scroll: { x: "max-content" }
|
|
856
855
|
}
|
|
857
856
|
),
|
|
858
|
-
/* @__PURE__ */
|
|
857
|
+
/* @__PURE__ */ C(H, { style: { marginTop: 24 }, children: [
|
|
859
858
|
/* @__PURE__ */ f("div", { style: { marginBottom: 24 }, children: /* @__PURE__ */ f(I, { variant: "heading3", level: 4, children: "Delivery Trends" }) }),
|
|
860
|
-
e === "line" ? /* @__PURE__ */
|
|
859
|
+
e === "line" ? /* @__PURE__ */ C(
|
|
861
860
|
St,
|
|
862
861
|
{
|
|
863
862
|
width: t ? window.innerWidth - 50 : 800,
|
|
@@ -873,12 +872,12 @@ const { Content: Ct } = qe, br = () => {
|
|
|
873
872
|
/* @__PURE__ */ f(Y, {}),
|
|
874
873
|
/* @__PURE__ */ f(pe, {}),
|
|
875
874
|
/* @__PURE__ */ f(de, {}),
|
|
876
|
-
/* @__PURE__ */
|
|
877
|
-
/* @__PURE__ */
|
|
875
|
+
/* @__PURE__ */ C("defs", { children: [
|
|
876
|
+
/* @__PURE__ */ C("linearGradient", { id: "colorEV", x1: "0", y1: "0", x2: "0", y2: "1", children: [
|
|
878
877
|
/* @__PURE__ */ f("stop", { offset: "5%", stopColor: "#8884d8", stopOpacity: 0.8 }),
|
|
879
878
|
/* @__PURE__ */ f("stop", { offset: "95%", stopColor: "#8884d8", stopOpacity: 0.1 })
|
|
880
879
|
] }),
|
|
881
|
-
/* @__PURE__ */
|
|
880
|
+
/* @__PURE__ */ C("linearGradient", { id: "colorICE", x1: "0", y1: "0", x2: "0", y2: "1", children: [
|
|
882
881
|
/* @__PURE__ */ f("stop", { offset: "5%", stopColor: "#82ca9d", stopOpacity: 0.8 }),
|
|
883
882
|
/* @__PURE__ */ f("stop", { offset: "95%", stopColor: "#82ca9d", stopOpacity: 0.1 })
|
|
884
883
|
] })
|
|
@@ -905,7 +904,7 @@ const { Content: Ct } = qe, br = () => {
|
|
|
905
904
|
)
|
|
906
905
|
]
|
|
907
906
|
}
|
|
908
|
-
) : /* @__PURE__ */
|
|
907
|
+
) : /* @__PURE__ */ C(
|
|
909
908
|
wt,
|
|
910
909
|
{
|
|
911
910
|
width: t ? window.innerWidth - 50 : 800,
|
|
@@ -921,12 +920,12 @@ const { Content: Ct } = qe, br = () => {
|
|
|
921
920
|
/* @__PURE__ */ f(Y, {}),
|
|
922
921
|
/* @__PURE__ */ f(pe, {}),
|
|
923
922
|
/* @__PURE__ */ f(de, {}),
|
|
924
|
-
/* @__PURE__ */ f(
|
|
925
|
-
/* @__PURE__ */ f(
|
|
923
|
+
/* @__PURE__ */ f(te, { dataKey: "EV", fill: "#8884d8", name: "EV Deliveries" }),
|
|
924
|
+
/* @__PURE__ */ f(te, { dataKey: "ICE", fill: "#82ca9d", name: "ICE Deliveries" })
|
|
926
925
|
]
|
|
927
926
|
}
|
|
928
927
|
),
|
|
929
|
-
/* @__PURE__ */ f("div", { style: { marginBottom: 16 }, children: /* @__PURE__ */
|
|
928
|
+
/* @__PURE__ */ f("div", { style: { marginBottom: 16 }, children: /* @__PURE__ */ C(ie, { direction: "vertical", size: "small", children: [
|
|
930
929
|
/* @__PURE__ */ f(I, { variant: "body2", children: "Chart Type:" }),
|
|
931
930
|
/* @__PURE__ */ f(
|
|
932
931
|
je,
|
|
@@ -944,5 +943,5 @@ const { Content: Ct } = qe, br = () => {
|
|
|
944
943
|
] });
|
|
945
944
|
};
|
|
946
945
|
export {
|
|
947
|
-
|
|
946
|
+
yr as default
|
|
948
947
|
};
|