@gobolt/genesis 0.0.10 → 0.1.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 +8 -2
- package/dist/AntdIcon-nCNB0J1E.js +192 -0
- package/dist/CheckCircleFilled-BKgizvyl.js +13 -0
- package/dist/{CheckOutlined-CeTKr6II.js → CheckOutlined-cEBrx_Ag.js} +2 -2
- package/dist/ClockCircleOutlined-BaXQuLIn.js +13 -0
- package/dist/{CloseCircleFilled-DXCxlIQL.js → CloseCircleFilled-B9e7yFwo.js} +2 -2
- package/dist/{CloseOutlined-ClXDNn82.js → CloseOutlined-ogxnm7Oy.js} +2 -2
- package/dist/{Compact-CGY560JF.js → Compact-Du9689ax.js} +41 -44
- package/dist/{ContextIsolator-D5x2Ih51.js → ContextIsolator-BmfhJgG0.js} +2 -2
- package/dist/{PurePanel-BqPLRtc2.js → DownOutlined-Dcq69ZKM.js} +42 -40
- package/dist/{index-C8haFnXI.js → EllipsisOutlined-DGMph0Bj.js} +138 -135
- package/dist/ExclamationCircleFilled-BHELVsTg.js +13 -0
- package/dist/Keyframes-C9_aCDvn.js +17 -0
- package/dist/{LoadingOutlined-8EnJdZ7I.js → LoadingOutlined-C1qu6ymP.js} +6 -6
- package/dist/MinusCircleOutlined-Shz0RRQV.js +37 -0
- package/dist/{Overflow-PBZD-PFm.js → Overflow-DWf4XIal.js} +62 -61
- package/dist/{SearchOutlined-BP3Z2K6j.js → SearchOutlined-DNj-7b_h.js} +2 -2
- package/dist/Skeleton-BVN4pcVe.js +560 -0
- package/dist/TextArea-Bkf9hh7l.js +708 -0
- package/dist/Typography-CoZ5qD-t.js +705 -0
- package/dist/_baseIsEqual-L0-w1QRI.js +598 -0
- package/dist/_commonjsHelpers-BkfeUUK-.js +28 -0
- package/dist/asyncToGenerator-CKP9bEZn.js +312 -0
- package/dist/{button-CDQgO1OK.js → button-BwqpCxVM.js} +127 -116
- package/dist/clsx-OuTLNxxd.js +16 -0
- package/dist/components/Avatar/Avatar.d.ts +12 -0
- package/dist/components/Avatar/Avatar.js +61 -0
- package/dist/components/Avatar/__stories__/Avatar.stories.d.ts +8 -0
- package/dist/components/Avatar/__tests__/Avatar.test.d.ts +1 -0
- package/dist/components/Avatar/__tests__/Avatar.test.js +17 -0
- package/dist/components/Avatar/index.d.ts +2 -0
- package/dist/components/Avatar/index.js +4 -0
- package/dist/components/Avatar/styles.d.ts +18 -0
- package/dist/components/Avatar/styles.js +326 -0
- package/dist/components/Badge/Badge.d.ts +5 -3
- package/dist/components/Badge/Badge.js +67 -100
- package/dist/components/Badge/__stories__/Badge.stories.d.ts +5 -4
- package/dist/components/Badge/__tests__/Badge.test.js +9 -10
- package/dist/components/Badge/styles.d.ts +12 -3
- package/dist/components/Badge/styles.js +30 -27
- package/dist/components/Breadcrumb/Breadcrumb.js +2 -2
- package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.js +1 -1
- package/dist/components/Breadcrumb/styles.js +239 -2260
- package/dist/components/Button/Button.d.ts +4 -3
- package/dist/components/Button/Button.js +10 -6
- package/dist/components/Button/__stories__/Button.stories.d.ts +3 -0
- package/dist/components/Button/__tests__/Button.test.js +1 -1
- package/dist/components/Button/styles.d.ts +2 -2
- package/dist/components/Button/styles.js +20 -17
- package/dist/components/Card/Card.d.ts +9 -0
- package/dist/components/Card/Card.js +16 -0
- package/dist/components/Card/__stories__/Card.stories.d.ts +7 -0
- package/dist/components/Card/__tests__/Card.test.d.ts +1 -0
- package/dist/components/Card/__tests__/Card.test.js +16 -0
- package/dist/components/Card/index.d.ts +2 -0
- package/dist/components/Card/index.js +4 -0
- package/dist/components/Card/styles.d.ts +16 -0
- package/dist/components/Card/styles.js +12 -0
- package/dist/components/Checkbox/Checkbox.d.ts +1 -2
- package/dist/components/Checkbox/Checkbox.js +28 -16
- package/dist/components/Checkbox/__tests__/Checkbox.test.js +1 -1
- package/dist/components/Checkbox/styles.js +22 -457
- package/dist/components/Dashboard/Dashboard.d.ts +5 -0
- package/dist/components/Dashboard/Dashboard.js +5 -0
- package/dist/components/Dashboard/__mocks__/dashboard-data.d.ts +14 -0
- package/dist/components/Dashboard/__mocks__/dashboard-data.js +186 -0
- package/dist/components/Dashboard/__stories__/Dashboard.stories.d.ts +7 -0
- package/dist/components/Dashboard/__stories__/DashboardLayoutContent.d.ts +2 -0
- package/dist/components/Dashboard/__stories__/DashboardLayoutContent.js +948 -0
- package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.d.ts +2 -0
- package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.js +85 -0
- package/dist/components/Dashboard/__stories__/DashboardLayoutStory.d.ts +13 -0
- package/dist/components/Dashboard/__stories__/DashboardLayoutStory.js +22 -0
- package/dist/components/Dashboard/__stories__/charts/LineChart.d.ts +12 -0
- package/dist/components/Dashboard/__stories__/charts/LineChart.js +536 -0
- package/dist/components/Dashboard/__tests__/Dashboard.test.d.ts +1 -0
- package/dist/components/Dashboard/__tests__/Dashboard.test.js +16 -0
- package/dist/components/Dashboard/index.d.ts +2 -0
- package/dist/components/Dashboard/index.js +4 -0
- package/dist/components/Dashboard/styles.d.ts +14 -0
- package/dist/components/Dashboard/styles.js +11 -0
- package/dist/components/DatePicker/DatePicker.d.ts +6 -0
- package/dist/components/DatePicker/DatePicker.js +5 -0
- package/dist/components/DatePicker/__stories__/DatePicker.stories.d.ts +10 -0
- package/dist/components/DatePicker/__tests__/DatePicker.test.d.ts +1 -0
- package/dist/components/DatePicker/__tests__/DatePicker.test.js +19 -0
- package/dist/components/DatePicker/index.d.ts +2 -0
- package/dist/components/DatePicker/index.js +4 -0
- package/dist/components/DateRangePicker/DateRangePicker.d.ts +5 -0
- package/dist/components/DateRangePicker/DateRangePicker.js +5 -0
- package/dist/components/DateRangePicker/__stories__/DateRangePicker.stories.d.ts +9 -0
- package/dist/components/DateRangePicker/__tests__/DateRangePicker.test.d.ts +1 -0
- package/dist/components/DateRangePicker/__tests__/DateRangePicker.test.js +23 -0
- package/dist/components/DateRangePicker/index.d.ts +2 -0
- package/dist/components/DateRangePicker/index.js +4 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +19 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.js +72 -0
- package/dist/components/ErrorBoundary/__stories__/ErrorBoundary.stories.d.ts +8 -0
- package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.d.ts +1 -0
- package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.js +25 -0
- package/dist/components/ErrorBoundary/index.d.ts +2 -0
- package/dist/components/ErrorBoundary/index.js +4 -0
- package/dist/components/ErrorBoundary/styles.d.ts +14 -0
- package/dist/components/ErrorBoundary/styles.js +11 -0
- package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.d.ts +2 -2
- package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.js +33 -18
- package/dist/components/ErrorBoundaryFallback/__stories__/ErrorBoundaryFallback.stories.d.ts +1 -1
- package/dist/components/ErrorBoundaryFallback/styles.js +17 -15
- package/dist/components/Form/Form.js +3 -3
- package/dist/components/Form/__stories__/FormStory.js +127 -50
- package/dist/components/Form/__tests__/form.test.js +2 -2
- package/dist/components/Form/index.js +1 -1
- package/dist/components/Form/styles.js +1 -1
- package/dist/components/Glyph/Glyph.d.ts +4 -0
- package/dist/components/Glyph/Glyph.js +9 -0
- package/dist/components/Glyph/__stories__/Glyph.stories.d.ts +7 -0
- package/dist/components/Glyph/index.d.ts +2 -0
- package/dist/components/Glyph/index.js +4 -0
- package/dist/components/Glyph/styles.d.ts +14 -0
- package/dist/components/Glyph/styles.js +11 -0
- package/dist/components/Input/Input.d.ts +1 -2
- package/dist/components/Input/Input.js +14 -10
- package/dist/components/Input/__tests__/Input.test.js +1 -1
- package/dist/components/Input/styles.js +58 -466
- package/dist/components/Layout/Content/Content.d.ts +11 -0
- package/dist/components/Layout/Content/Content.js +32 -0
- package/dist/components/Layout/Content/ResponsiveContent.d.ts +7 -0
- package/dist/components/Layout/Content/ResponsiveContent.js +81 -0
- package/dist/components/Layout/Content/index.d.ts +2 -0
- package/dist/components/Layout/Content/index.js +4 -0
- package/dist/components/Layout/Content/styles.d.ts +11 -0
- package/dist/components/Layout/Content/styles.js +16 -0
- package/dist/components/Layout/Layout.d.ts +8 -0
- package/dist/components/Layout/Layout.js +6 -0
- package/dist/components/Layout/MainLayout/MainLayout.d.ts +10 -0
- package/dist/components/Layout/MainLayout/MainLayout.js +28 -0
- package/dist/components/Layout/MainLayout/__stories__/MainLayout.stories.d.ts +9 -0
- package/dist/components/Layout/MainLayout/index.d.ts +2 -0
- package/dist/components/Layout/MainLayout/index.js +4 -0
- package/dist/components/Layout/MainLayout/styles.d.ts +4 -0
- package/dist/components/Layout/MainLayout/styles.js +69 -0
- package/dist/components/Layout/__stories__/Layout.stories.d.ts +7 -0
- package/dist/components/Layout/__tests__/Layout.test.d.ts +1 -0
- package/dist/components/Layout/__tests__/Layout.test.js +14 -0
- package/dist/components/Layout/index.d.ts +2 -0
- package/dist/components/Layout/index.js +4 -0
- package/dist/components/Message/Message.d.ts +6 -4
- package/dist/components/Message/Message.js +70 -43
- package/dist/components/Message/__tests__/Message.test.js +1 -1
- package/dist/components/Message/styles.d.ts +1 -0
- package/dist/components/Message/styles.js +15 -11
- package/dist/components/Notification/Notification.js +145 -120
- package/dist/components/Notification/NotificationBadge/NotificationBadge.d.ts +6 -0
- package/dist/components/Notification/NotificationBadge/NotificationBadge.js +49 -0
- package/dist/components/Notification/NotificationBadge/__stories__/NotificationBadge.stories.d.ts +13 -0
- package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.d.ts +1 -0
- package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.js +18 -0
- package/dist/components/Notification/NotificationBadge/index.d.ts +2 -0
- package/dist/components/Notification/NotificationBadge/index.js +4 -0
- package/dist/components/Notification/NotificationBadge/styles.d.ts +3 -0
- package/dist/components/Notification/NotificationBadge/styles.js +34 -0
- package/dist/components/Notification/__tests__/Notification.test.js +1 -1
- package/dist/components/Notification/styles.d.ts +1 -1
- package/dist/components/Notification/styles.js +1 -1
- package/dist/components/Popover/Popover.d.ts +10 -0
- package/dist/components/Popover/Popover.js +21 -0
- package/dist/components/Popover/__stories__/Popover.stories.d.ts +7 -0
- package/dist/components/Popover/__tests__/Popover.test.d.ts +1 -0
- package/dist/components/Popover/__tests__/Popover.test.js +40 -0
- package/dist/components/Popover/index.d.ts +2 -0
- package/dist/components/Popover/index.js +4 -0
- package/dist/components/Popover/styles.d.ts +15 -0
- package/dist/components/Popover/styles.js +6 -0
- package/dist/components/Progress/Progress.d.ts +18 -0
- package/dist/components/Progress/Progress.js +91 -0
- package/dist/components/Progress/Progress.util.d.ts +4 -0
- package/dist/components/Progress/Progress.util.js +62 -0
- package/dist/components/Progress/ProgressText.d.ts +11 -0
- package/dist/components/Progress/ProgressText.js +67 -0
- package/dist/components/Progress/__stories__/Progress.stories.d.ts +12 -0
- package/dist/components/Progress/__tests__/Progress.test.d.ts +1 -0
- package/dist/components/Progress/__tests__/Progress.test.js +21 -0
- package/dist/components/Progress/index.d.ts +2 -0
- package/dist/components/Progress/index.js +4 -0
- package/dist/components/Progress/styles.d.ts +17 -0
- package/dist/components/Progress/styles.js +793 -0
- package/dist/components/Radio/Radio.js +22 -6
- package/dist/components/Radio/RadioGroup.js +1 -1
- package/dist/components/Radio/__tests__/RadioGroup.test.js +1 -1
- package/dist/components/Radio/index.d.ts +1 -0
- package/dist/components/Row/Row.d.ts +14 -0
- package/dist/components/Row/Row.js +38 -0
- package/dist/components/Row/RowActions/RowActions.d.ts +9 -0
- package/dist/components/Row/RowActions/RowActions.js +59 -0
- package/dist/components/Row/RowActions/styles.d.ts +2 -0
- package/dist/components/Row/RowActions/styles.js +32 -0
- package/dist/components/Row/RowLabelValue/RowLabelValue.d.ts +11 -0
- package/dist/components/Row/RowLabelValue/RowLabelValue.js +62 -0
- package/dist/components/Row/RowLabelValue/RowSkeleton.d.ts +3 -0
- package/dist/components/Row/RowLabelValue/RowSkeleton.js +24 -0
- package/dist/components/Row/RowLabelValue/styles.d.ts +15 -0
- package/dist/components/Row/RowLabelValue/styles.js +25 -0
- package/dist/components/Row/__stories__/Row.stories.d.ts +13 -0
- package/dist/components/Row/__tests__/Row.test.d.ts +1 -0
- package/dist/components/Row/__tests__/Row.test.js +16 -0
- package/dist/components/Row/index.d.ts +2 -0
- package/dist/components/Row/index.js +4 -0
- package/dist/components/Row/styles.d.ts +15 -0
- package/dist/components/Row/styles.js +15 -0
- package/dist/components/SegmentedControls/SegmentedControls.d.ts +12 -0
- package/dist/components/SegmentedControls/SegmentedControls.js +26 -0
- package/dist/components/SegmentedControls/__stories__/SegmentedControls.stories.d.ts +9 -0
- package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.d.ts +1 -0
- package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.js +24 -0
- package/dist/components/SegmentedControls/index.d.ts +2 -0
- package/dist/components/SegmentedControls/index.js +4 -0
- package/dist/components/SegmentedControls/styles.d.ts +12 -0
- package/dist/components/SegmentedControls/styles.js +511 -0
- package/dist/components/Select/Select.d.ts +2 -4
- package/dist/components/Select/Select.js +12 -11
- package/dist/components/Select/__tests__/Select.test.js +1 -1
- package/dist/components/Select/styles.js +39 -3654
- package/dist/components/Shapes/Shapes.d.ts +6 -0
- package/dist/components/Shapes/Shapes.js +8 -0
- package/dist/components/Shapes/__stories__/Shapes.stories.d.ts +9 -0
- package/dist/components/Shapes/__tests__/Shapes.test.d.ts +1 -0
- package/dist/components/Shapes/__tests__/Shapes.test.js +16 -0
- package/dist/components/Shapes/index.d.ts +2 -0
- package/dist/components/Shapes/index.js +4 -0
- package/dist/components/Shapes/variants/Circle.d.ts +5 -0
- package/dist/components/Shapes/variants/Circle.js +23 -0
- package/dist/components/Shapes/variants/Rectangle.d.ts +5 -0
- package/dist/components/Shapes/variants/Rectangle.js +23 -0
- package/dist/components/Shapes/variants/Triangle.d.ts +5 -0
- package/dist/components/Shapes/variants/Triangle.js +23 -0
- package/dist/components/Switch/Switch.d.ts +9 -0
- package/dist/components/Switch/Switch.js +22 -0
- package/dist/components/Switch/__stories__/Switch.stories.d.ts +8 -0
- package/dist/components/Switch/__tests__/Switch.test.d.ts +1 -0
- package/dist/components/Switch/__tests__/Switch.test.js +25 -0
- package/dist/components/Switch/index.d.ts +2 -0
- package/dist/components/Switch/index.js +4 -0
- package/dist/components/Switch/styles.d.ts +9 -0
- package/dist/components/Switch/styles.js +456 -0
- package/dist/components/Table/Table.d.ts +15 -0
- package/dist/components/Table/Table.js +23 -0
- package/dist/components/Table/__mocks__/table-mocks.d.ts +20 -0
- package/dist/components/Table/__mocks__/table-mocks.js +321 -0
- package/dist/components/Table/__stories__/Table.stories.d.ts +7 -0
- package/dist/components/Table/__tests__/Table.test.d.ts +1 -0
- package/dist/components/Table/__tests__/Table.test.js +34 -0
- package/dist/components/Table/index.d.ts +2 -0
- package/dist/components/Table/index.js +4 -0
- package/dist/components/Table/styles.d.ts +8 -0
- package/dist/components/Table/styles.js +6 -0
- package/dist/components/Tabs/Tabs.d.ts +10 -0
- package/dist/components/Tabs/Tabs.js +23 -0
- package/dist/components/Tabs/__stories__/Tabs.stories.d.ts +8 -0
- package/dist/components/Tabs/__tests__/Tabs.test.d.ts +1 -0
- package/dist/components/Tabs/__tests__/Tabs.test.js +37 -0
- package/dist/components/Tabs/index.d.ts +2 -0
- package/dist/components/Tabs/index.js +4 -0
- package/dist/components/Tabs/styles.d.ts +12 -0
- package/dist/components/Tabs/styles.js +102 -0
- package/dist/components/Tile/Tile.d.ts +10 -0
- package/dist/components/Tile/Tile.js +21 -0
- package/dist/components/Tile/__stories__/Tile.stories.d.ts +7 -0
- package/dist/components/Tile/__tests__/Tile.test.d.ts +1 -0
- package/dist/components/Tile/__tests__/Tile.test.js +21 -0
- package/dist/components/Tile/index.d.ts +2 -0
- package/dist/components/Tile/index.js +4 -0
- package/dist/components/Tile/styles.d.ts +11 -0
- package/dist/components/Tile/styles.js +12 -0
- package/dist/components/Toast/Toast.js +23 -6
- package/dist/components/Toast/__tests__/Toast.test.js +2 -2
- package/dist/components/Toast/index.js +1 -1
- package/dist/components/Toast/styles.d.ts +0 -1
- package/dist/components/Toast/styles.js +14 -23
- package/dist/components/Tooltip/Tooltip.d.ts +7 -0
- package/dist/components/Tooltip/Tooltip.js +50 -0
- package/dist/components/Tooltip/__stories__/Tooltip.stories.d.ts +7 -0
- package/dist/components/Tooltip/__tests__/Tooltip.test.d.ts +1 -0
- package/dist/components/Tooltip/__tests__/Tooltip.test.js +25 -0
- package/dist/components/Tooltip/index.d.ts +2 -0
- package/dist/components/Tooltip/index.js +4 -0
- package/dist/components/Tooltip/styles.d.ts +20 -0
- package/dist/components/Tooltip/styles.js +11 -0
- package/dist/components/Typography/Typography.d.ts +5 -1
- package/dist/components/Typography/Typography.js +2 -2
- package/dist/components/Typography/__stories__/Typography.stories.d.ts +1 -0
- package/dist/components/Typography/__tests__/Typography.test.js +2 -2
- package/dist/components/Typography/index.js +1 -1
- package/dist/components/Typography/styles.d.ts +1 -0
- package/dist/components/Typography/styles.js +53 -17
- package/dist/components/index.d.ts +35 -1
- package/dist/components/index.js +58 -24
- package/dist/constants/index.d.ts +4 -0
- package/dist/constants/index.js +4 -2
- package/dist/{context-BMW3aJEf.js → context-DIFtNa4d.js} +230 -233
- package/dist/dropdown-Dp_PTQ2u.js +2045 -0
- package/dist/generateCategoricalChart-7ceYaiZ2.js +15597 -0
- package/dist/genesis/GenesisThemeBreakdown.js +101 -43
- package/dist/genesis/labs/Lab.stories.d.ts +6 -0
- package/dist/genesis/styles.js +7 -2923
- package/dist/iconBase-LROS5hdG.js +112 -0
- package/dist/index-BPVue1Yd.js +445 -0
- package/dist/{index-bKlRxQp4.js → index-BQM5OniU.js} +12 -12
- package/dist/index-BRUI9igj.js +11 -0
- package/dist/index-B_1Ge8na.js +1846 -0
- package/dist/{index-oK7z6jnz.js → index-BbTV2Cw5.js} +8641 -8798
- package/dist/index-BeGv28kJ.js +5173 -0
- package/dist/{index-1CBpubM3.js → index-BpZSuIUV.js} +45 -42
- package/dist/index-BvOLXELm.js +102 -0
- package/dist/index-CLSrpQRW.js +416 -0
- package/dist/index-CbVOl2U6.js +288 -0
- package/dist/index-D0U6r5O7.js +780 -0
- package/dist/index-DEu2PVzQ.js +538 -0
- package/dist/index-DLdU7Tpd.js +183 -0
- package/dist/index-DNQ-jnBx.js +3321 -0
- package/dist/index-DOsPeIWJ.js +1000 -0
- package/dist/{index-C0SmxWLS.js → index-DRGX1Wem.js} +136 -143
- package/dist/index-DWjq9XYj.js +899 -0
- package/dist/index.js +65 -31
- package/dist/interface/address.d.ts +10 -0
- package/dist/interface/address.js +1 -0
- package/dist/interface/appointment.d.ts +57 -0
- package/dist/interface/appointment.js +5 -0
- package/dist/interface/appointmentV2.d.ts +65 -0
- package/dist/interface/appointmentV2.js +1 -0
- package/dist/interface/appointmentsState.d.ts +21 -0
- package/dist/interface/appointmentsState.js +1 -0
- package/dist/interface/common.d.ts +2 -0
- package/dist/interface/common.js +1 -0
- package/dist/interface/completionData.d.ts +18 -0
- package/dist/interface/completionData.js +1 -0
- package/dist/interface/deliveryPartner.d.ts +25 -0
- package/dist/interface/deliveryPartner.js +1 -0
- package/dist/interface/organization.d.ts +9 -0
- package/dist/interface/organization.js +1 -0
- package/dist/interface/pagination.d.ts +8 -0
- package/dist/interface/pagination.js +1 -0
- package/dist/interface/roles.d.ts +9 -0
- package/dist/interface/roles.js +1 -0
- package/dist/interface/route.d.ts +73 -0
- package/dist/interface/route.js +1 -0
- package/dist/interface/routeAnalysis.d.ts +108 -0
- package/dist/interface/routeAnalysis.js +1 -0
- package/dist/interface/routeAutomationJob.d.ts +95 -0
- package/dist/interface/routeAutomationJob.js +10 -0
- package/dist/interface/routeAutomationLog.d.ts +10 -0
- package/dist/interface/routeAutomationLog.js +1 -0
- package/dist/interface/routeEvent.d.ts +55 -0
- package/dist/interface/routeEvent.js +5 -0
- package/dist/interface/serviceArea.d.ts +18 -0
- package/dist/interface/serviceArea.js +1 -0
- package/dist/interface/util.d.ts +3 -0
- package/dist/interface/util.js +1 -0
- package/dist/interface/vehicle.d.ts +120 -0
- package/dist/interface/vehicle.js +1 -0
- package/dist/interface/workOrder.d.ts +22 -0
- package/dist/interface/workOrder.js +1 -0
- package/dist/isVisible-D3-B85BJ.js +22 -0
- package/dist/{magic-string.es-D2FWSwU3.js → magic-string.es-BKBb7z-1.js} +1 -1
- package/dist/motion-CUN72xsH.js +33 -0
- package/dist/omit-B_u6A-HL.js +9 -0
- package/dist/{pickAttrs-B0YTfcV1.js → pickAttrs-CleuMJFR.js} +1 -1
- package/dist/{warning-C63HNL9U.js → presets-Djh_L_6R.js} +333 -356
- package/dist/providers/BreakpointThemeProvider.d.ts +9 -0
- package/dist/providers/BreakpointThemeProvider.js +21 -0
- package/dist/providers/GenesisProvider.js +3 -3
- package/dist/providers/ToastProvider.js +22 -6
- package/dist/providers/index.js +1 -1
- package/dist/providers/useGenesis.js +2 -2
- package/dist/responsiveObserver-dCkpy7Cb.js +73 -0
- package/dist/roundedArrow-DI_Q-xdU.js +65 -0
- package/dist/setup-CUbCc8fQ.js +24706 -0
- package/dist/setup.types-dBtAXXGp.js +8824 -0
- package/dist/shadow-BoMGMNn3.js +13 -0
- package/dist/styleChecker-Cotu61d0.js +21 -0
- package/dist/styles/design-tokens/border-tokens/BorderTokenList.js +29 -13
- package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.d.ts +1 -3
- package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.js +37 -16
- package/dist/styles/design-tokens/sizing-tokens/index.stories.d.ts +0 -1
- package/dist/styles/theme/genesis-theme.js +398 -331
- package/dist/styles/theme/genesis-theme.types.d.ts +53 -12
- package/dist/styles/theme/theme-tree/ThemeTree.d.ts +1 -0
- package/dist/styles/theme/theme-tree/ThemeTree.js +1652 -0
- package/dist/styles/theme/theme-tree/ThemeTree.stories.d.ts +6 -0
- package/dist/styles-CWdUpZom.js +289 -0
- package/dist/{styles-CT_fyXBd.js → styles-D1vKDy9V.js} +587 -643
- package/dist/styles-qerRs7Rn.js +9196 -0
- package/dist/test/setup.d.ts +2 -3
- package/dist/test/setup.js +87 -4
- package/dist/test/setup.types.d.ts +7 -0
- package/dist/test/setup.types.js +1 -0
- package/dist/toArray-U3Az44CO.js +11 -0
- package/dist/useBreakpoint-TkMv121M.js +22 -0
- package/dist/useCSSVarCls-Dau77fzS.js +11 -0
- package/dist/useIcons-Ck4JP1m9.js +321 -0
- package/dist/useId-D2tzlufo.js +26 -0
- package/dist/useLocale-CTfNpakL.js +16 -0
- package/dist/useMergedState-D6toxSxh.js +23 -0
- package/dist/useSize-DSq4r6zy.js +9 -0
- package/dist/{useVariants-DvhXfgJY.js → useVariants-DrLzUVLU.js} +3 -3
- package/dist/useZIndex-DhyHuZTN.js +44 -0
- package/dist/utils/icon-util.d.ts +2 -0
- package/dist/utils/icon-util.js +89 -0
- package/package.json +27 -15
- package/dist/AntdIcon-BoLh1dP8.js +0 -202
- package/dist/ExclamationCircleFilled-C0Kj5KQV.js +0 -21
- package/dist/TextArea-DKwCct3i.js +0 -1690
- package/dist/Typography-aGoDUl4R.js +0 -710
- package/dist/index-BZAhCB_K.js +0 -97
- package/dist/index-CfDY25LP.js +0 -873
- package/dist/index-DPW8XdWj.js +0 -952
- package/dist/isVisible-A-IfeFoT.js +0 -367
- package/dist/providers/ThemeProvider.d.ts +0 -9
- package/dist/providers/ThemeProvider.js +0 -21
- package/dist/setup-BvfREoHl.js +0 -33891
- package/dist/useLocale-DT-z_vQ6.js +0 -16
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/ASN.d.ts +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/ASN.js +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Appointment.d.ts +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Appointment.js +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Inventory.d.ts +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Inventory.js +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Parcel.d.ts +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Parcel.js +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Product.d.ts +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Product.js +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Route.d.ts +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Route.js +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Shipment.d.ts +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Shipment.js +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/ShoppingCart.d.ts +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/ShoppingCart.js +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/System.d.ts +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/System.js +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { d as i } from "./presets-Djh_L_6R.js";
|
|
2
|
+
import * as e from "react";
|
|
3
|
+
import { I as r } from "./AntdIcon-nCNB0J1E.js";
|
|
4
|
+
var l = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" } }] }, name: "exclamation-circle", theme: "filled" }, t = function(a, c) {
|
|
5
|
+
return /* @__PURE__ */ e.createElement(r, i({}, a, {
|
|
6
|
+
ref: c,
|
|
7
|
+
icon: l
|
|
8
|
+
}));
|
|
9
|
+
}, o = /* @__PURE__ */ e.forwardRef(t);
|
|
10
|
+
process.env.NODE_ENV !== "production" && (o.displayName = "ExclamationCircleFilled");
|
|
11
|
+
export {
|
|
12
|
+
o as R
|
|
13
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { _ as s, e as r } from "./index-BbTV2Cw5.js";
|
|
2
|
+
import { b as a } from "./presets-Djh_L_6R.js";
|
|
3
|
+
var u = /* @__PURE__ */ function() {
|
|
4
|
+
function t(n, e) {
|
|
5
|
+
r(this, t), a(this, "name", void 0), a(this, "style", void 0), a(this, "_keyframe", !0), this.name = n, this.style = e;
|
|
6
|
+
}
|
|
7
|
+
return s(t, [{
|
|
8
|
+
key: "getName",
|
|
9
|
+
value: function() {
|
|
10
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
|
|
11
|
+
return e ? "".concat(e, "-").concat(this.name) : this.name;
|
|
12
|
+
}
|
|
13
|
+
}]), t;
|
|
14
|
+
}();
|
|
15
|
+
export {
|
|
16
|
+
u as K
|
|
17
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as
|
|
3
|
-
import { I as n } from "./AntdIcon-
|
|
4
|
-
var i = { icon: { tag: "svg", attrs: { viewBox: "0 0 1024 1024", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" } }] }, name: "loading", theme: "outlined" }, r = function(
|
|
5
|
-
return /* @__PURE__ */
|
|
1
|
+
import { d as t } from "./presets-Djh_L_6R.js";
|
|
2
|
+
import * as e from "react";
|
|
3
|
+
import { I as n } from "./AntdIcon-nCNB0J1E.js";
|
|
4
|
+
var i = { icon: { tag: "svg", attrs: { viewBox: "0 0 1024 1024", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" } }] }, name: "loading", theme: "outlined" }, r = function(a, o) {
|
|
5
|
+
return /* @__PURE__ */ e.createElement(n, t({}, a, {
|
|
6
6
|
ref: o,
|
|
7
7
|
icon: i
|
|
8
8
|
}));
|
|
9
|
-
}, d = /* @__PURE__ */
|
|
9
|
+
}, d = /* @__PURE__ */ e.forwardRef(r);
|
|
10
10
|
process.env.NODE_ENV !== "production" && (d.displayName = "LoadingOutlined");
|
|
11
11
|
export {
|
|
12
12
|
d as R
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { d as t } from "./presets-Djh_L_6R.js";
|
|
2
|
+
import * as e from "react";
|
|
3
|
+
import { I as i } from "./AntdIcon-nCNB0J1E.js";
|
|
4
|
+
var n = { icon: { tag: "svg", attrs: { "fill-rule": "evenodd", viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z" } }] }, name: "close-circle", theme: "outlined" }, l = function(a, c) {
|
|
5
|
+
return /* @__PURE__ */ e.createElement(i, t({}, a, {
|
|
6
|
+
ref: c,
|
|
7
|
+
icon: n
|
|
8
|
+
}));
|
|
9
|
+
}, o = /* @__PURE__ */ e.forwardRef(l);
|
|
10
|
+
process.env.NODE_ENV !== "production" && (o.displayName = "CloseCircleOutlined");
|
|
11
|
+
var s = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { tag: "path", attrs: { d: "M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z" } }] }, name: "exclamation-circle", theme: "outlined" }, d = function(a, c) {
|
|
12
|
+
return /* @__PURE__ */ e.createElement(i, t({}, a, {
|
|
13
|
+
ref: c,
|
|
14
|
+
icon: s
|
|
15
|
+
}));
|
|
16
|
+
}, u = /* @__PURE__ */ e.forwardRef(d);
|
|
17
|
+
process.env.NODE_ENV !== "production" && (u.displayName = "ExclamationCircleOutlined");
|
|
18
|
+
var f = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { tag: "path", attrs: { d: "M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z" } }] }, name: "info-circle", theme: "outlined" }, m = function(a, c) {
|
|
19
|
+
return /* @__PURE__ */ e.createElement(i, t({}, a, {
|
|
20
|
+
ref: c,
|
|
21
|
+
icon: f
|
|
22
|
+
}));
|
|
23
|
+
}, v = /* @__PURE__ */ e.forwardRef(m);
|
|
24
|
+
process.env.NODE_ENV !== "production" && (v.displayName = "InfoCircleOutlined");
|
|
25
|
+
var p = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z" } }, { tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }] }, name: "minus-circle", theme: "outlined" }, C = function(a, c) {
|
|
26
|
+
return /* @__PURE__ */ e.createElement(i, t({}, a, {
|
|
27
|
+
ref: c,
|
|
28
|
+
icon: p
|
|
29
|
+
}));
|
|
30
|
+
}, h = /* @__PURE__ */ e.forwardRef(C);
|
|
31
|
+
process.env.NODE_ENV !== "production" && (h.displayName = "MinusCircleOutlined");
|
|
32
|
+
export {
|
|
33
|
+
v as R,
|
|
34
|
+
h as a,
|
|
35
|
+
o as b,
|
|
36
|
+
u as c
|
|
37
|
+
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { F as Ze, a as et, G as tt, h as nt } from "./index-BbTV2Cw5.js";
|
|
2
2
|
import * as a from "react";
|
|
3
3
|
import rt, { useState as se, useMemo as Ce, useCallback as Ie } from "react";
|
|
4
|
-
import {
|
|
5
|
-
import { K as S
|
|
6
|
-
import {
|
|
4
|
+
import { g as P, d as w, e as oe, _ as b, a as g } from "./presets-Djh_L_6R.js";
|
|
5
|
+
import { K as S } from "./Keyframes-C9_aCDvn.js";
|
|
6
|
+
import { i as at } from "./index-D0U6r5O7.js";
|
|
7
|
+
import { R as Ne } from "./index-BQM5OniU.js";
|
|
7
8
|
const it = new S("antSlideUpIn", {
|
|
8
9
|
"0%": {
|
|
9
10
|
transform: "scaleY(0.8)",
|
|
@@ -70,7 +71,7 @@ const it = new S("antSlideUpIn", {
|
|
|
70
71
|
transformOrigin: "0% 0%",
|
|
71
72
|
opacity: 0
|
|
72
73
|
}
|
|
73
|
-
}),
|
|
74
|
+
}), dt = new S("antSlideRightIn", {
|
|
74
75
|
"0%": {
|
|
75
76
|
transform: "scaleX(0.8)",
|
|
76
77
|
transformOrigin: "100% 0%",
|
|
@@ -81,7 +82,7 @@ const it = new S("antSlideUpIn", {
|
|
|
81
82
|
transformOrigin: "100% 0%",
|
|
82
83
|
opacity: 1
|
|
83
84
|
}
|
|
84
|
-
}),
|
|
85
|
+
}), ct = new S("antSlideRightOut", {
|
|
85
86
|
"0%": {
|
|
86
87
|
transform: "scaleX(1)",
|
|
87
88
|
transformOrigin: "100% 0%",
|
|
@@ -106,10 +107,10 @@ const it = new S("antSlideUpIn", {
|
|
|
106
107
|
outKeyframes: ut
|
|
107
108
|
},
|
|
108
109
|
"slide-right": {
|
|
109
|
-
inKeyframes:
|
|
110
|
-
outKeyframes:
|
|
110
|
+
inKeyframes: dt,
|
|
111
|
+
outKeyframes: ct
|
|
111
112
|
}
|
|
112
|
-
},
|
|
113
|
+
}, Dt = (e, s) => {
|
|
113
114
|
const {
|
|
114
115
|
antCls: l
|
|
115
116
|
} = e, i = `${l}-${s}`, {
|
|
@@ -134,9 +135,9 @@ const it = new S("antSlideUpIn", {
|
|
|
134
135
|
}
|
|
135
136
|
}];
|
|
136
137
|
};
|
|
137
|
-
var vt = ["prefixCls", "invalidate", "item", "renderItem", "responsive", "responsiveDisabled", "registerSize", "itemKey", "className", "style", "children", "display", "order", "component"],
|
|
138
|
+
var vt = ["prefixCls", "invalidate", "item", "renderItem", "responsive", "responsiveDisabled", "registerSize", "itemKey", "className", "style", "children", "display", "order", "component"], x = void 0;
|
|
138
139
|
function yt(e, s) {
|
|
139
|
-
var l = e.prefixCls, i = e.invalidate, f = e.item, r = e.renderItem, u = e.responsive, p = e.responsiveDisabled, m = e.registerSize, C = e.itemKey, I = e.className, B = e.style, H = e.children, q = e.display,
|
|
140
|
+
var l = e.prefixCls, i = e.invalidate, f = e.item, r = e.renderItem, u = e.responsive, p = e.responsiveDisabled, m = e.registerSize, C = e.itemKey, I = e.className, B = e.style, H = e.children, q = e.display, d = e.order, $ = e.component, U = $ === void 0 ? "div" : $, K = P(e, vt), v = u && !q;
|
|
140
141
|
function X(R) {
|
|
141
142
|
m(C, R);
|
|
142
143
|
}
|
|
@@ -145,22 +146,22 @@ function yt(e, s) {
|
|
|
145
146
|
X(null);
|
|
146
147
|
};
|
|
147
148
|
}, []);
|
|
148
|
-
var J = r && f !==
|
|
149
|
-
index:
|
|
149
|
+
var J = r && f !== x ? r(f, {
|
|
150
|
+
index: d
|
|
150
151
|
}) : H, N;
|
|
151
152
|
i || (N = {
|
|
152
153
|
opacity: v ? 0 : 1,
|
|
153
|
-
height: v ? 0 :
|
|
154
|
-
overflowY: v ? "hidden" :
|
|
155
|
-
order: u ?
|
|
156
|
-
pointerEvents: v ? "none" :
|
|
157
|
-
position: v ? "absolute" :
|
|
154
|
+
height: v ? 0 : x,
|
|
155
|
+
overflowY: v ? "hidden" : x,
|
|
156
|
+
order: u ? d : x,
|
|
157
|
+
pointerEvents: v ? "none" : x,
|
|
158
|
+
position: v ? "absolute" : x
|
|
158
159
|
});
|
|
159
160
|
var A = {};
|
|
160
161
|
v && (A["aria-hidden"] = !0);
|
|
161
|
-
var E = /* @__PURE__ */ a.createElement(U,
|
|
162
|
+
var E = /* @__PURE__ */ a.createElement(U, w({
|
|
162
163
|
className: oe(!i && l, I),
|
|
163
|
-
style:
|
|
164
|
+
style: b(b({}, N), B)
|
|
164
165
|
}, A, K, {
|
|
165
166
|
ref: s
|
|
166
167
|
}), J);
|
|
@@ -204,42 +205,42 @@ function M(e, s) {
|
|
|
204
205
|
});
|
|
205
206
|
return [f, u];
|
|
206
207
|
}
|
|
207
|
-
var
|
|
208
|
-
var i = a.useContext(
|
|
208
|
+
var j = /* @__PURE__ */ rt.createContext(null), Rt = ["component"], St = ["className"], Et = ["className"], ht = function(s, l) {
|
|
209
|
+
var i = a.useContext(j);
|
|
209
210
|
if (!i) {
|
|
210
211
|
var f = s.component, r = f === void 0 ? "div" : f, u = P(s, Rt);
|
|
211
|
-
return /* @__PURE__ */ a.createElement(r,
|
|
212
|
+
return /* @__PURE__ */ a.createElement(r, w({}, u, {
|
|
212
213
|
ref: l
|
|
213
214
|
}));
|
|
214
215
|
}
|
|
215
216
|
var p = i.className, m = P(i, St), C = s.className, I = P(s, Et);
|
|
216
|
-
return /* @__PURE__ */ a.createElement(
|
|
217
|
+
return /* @__PURE__ */ a.createElement(j.Provider, {
|
|
217
218
|
value: null
|
|
218
|
-
}, /* @__PURE__ */ a.createElement(W,
|
|
219
|
+
}, /* @__PURE__ */ a.createElement(W, w({
|
|
219
220
|
ref: l,
|
|
220
221
|
className: oe(p, C)
|
|
221
222
|
}, m, I)));
|
|
222
223
|
}, Oe = /* @__PURE__ */ a.forwardRef(ht);
|
|
223
224
|
Oe.displayName = "RawItem";
|
|
224
|
-
var
|
|
225
|
-
function
|
|
225
|
+
var _t = ["prefixCls", "data", "renderItem", "renderRawItem", "itemKey", "itemWidth", "ssr", "style", "className", "maxCount", "renderRest", "renderRawRest", "suffix", "component", "itemComponent", "onVisibleChange"], xe = "responsive", be = "invalidate";
|
|
226
|
+
function wt(e) {
|
|
226
227
|
return "+ ".concat(e.length, " ...");
|
|
227
228
|
}
|
|
228
229
|
function Ct(e, s) {
|
|
229
|
-
var l = e.prefixCls, i = l === void 0 ? "rc-overflow" : l, f = e.data, r = f === void 0 ? [] : f, u = e.renderItem, p = e.renderRawItem, m = e.itemKey, C = e.itemWidth, I = C === void 0 ? 10 : C, B = e.ssr, H = e.style, q = e.className,
|
|
230
|
+
var l = e.prefixCls, i = l === void 0 ? "rc-overflow" : l, f = e.data, r = f === void 0 ? [] : f, u = e.renderItem, p = e.renderRawItem, m = e.itemKey, C = e.itemWidth, I = C === void 0 ? 10 : C, B = e.ssr, H = e.style, q = e.className, d = e.maxCount, $ = e.renderRest, U = e.renderRawRest, K = e.suffix, v = e.component, X = v === void 0 ? "div" : v, J = e.itemComponent, N = e.onVisibleChange, A = P(e, _t), E = B === "full", R = pt(), Z = M(R, null), Y = g(Z, 2), F = Y[0], Ke = Y[1], h = F || 0, De = M(R, /* @__PURE__ */ new Map()), fe = g(De, 2), le = fe[0], ze = fe[1], Me = M(R, 0), ue = g(Me, 2), Pe = ue[0], We = ue[1], $e = M(R, 0), de = g($e, 2), L = de[0], Ue = de[1], Xe = M(R, 0), ce = g(Xe, 2), T = ce[0], Ae = ce[1], Ye = se(null), me = g(Ye, 2), ee = me[0], ve = me[1], Fe = se(null), ye = g(Fe, 2), V = ye[0], Le = ye[1], O = a.useMemo(function() {
|
|
230
231
|
return V === null && E ? Number.MAX_SAFE_INTEGER : V || 0;
|
|
231
|
-
}, [V, F]), Te = se(!1), ge = g(Te, 2), Ve = ge[0], ke = ge[1], te = "".concat(i, "-item"), pe = Math.max(Pe, L), ne =
|
|
232
|
+
}, [V, F]), Te = se(!1), ge = g(Te, 2), Ve = ge[0], ke = ge[1], te = "".concat(i, "-item"), pe = Math.max(Pe, L), ne = d === xe, y = r.length && ne, Re = d === be, Ge = y || typeof d == "number" && r.length > d, _ = Ce(function() {
|
|
232
233
|
var t = r;
|
|
233
|
-
return y ? F === null && E ? t = r : t = r.slice(0, Math.min(r.length, h / I)) : typeof
|
|
234
|
-
}, [r, I, F,
|
|
235
|
-
return y ? r.slice(O + 1) : r.slice(
|
|
236
|
-
}, [r,
|
|
234
|
+
return y ? F === null && E ? t = r : t = r.slice(0, Math.min(r.length, h / I)) : typeof d == "number" && (t = r.slice(0, d)), t;
|
|
235
|
+
}, [r, I, F, d, y]), re = Ce(function() {
|
|
236
|
+
return y ? r.slice(O + 1) : r.slice(_.length);
|
|
237
|
+
}, [r, _, y, O]), k = Ie(function(t, n) {
|
|
237
238
|
var o;
|
|
238
239
|
return typeof m == "function" ? m(t) : (o = m && (t == null ? void 0 : t[m])) !== null && o !== void 0 ? o : n;
|
|
239
|
-
}, [m]),
|
|
240
|
+
}, [m]), je = Ie(u || function(t) {
|
|
240
241
|
return t;
|
|
241
242
|
}, [u]);
|
|
242
|
-
function
|
|
243
|
+
function G(t, n, o) {
|
|
243
244
|
V === t && (n === void 0 || n === ee) || (Le(t), o || (ke(t < r.length - 1), N == null || N(t)), n !== void 0 && ve(n));
|
|
244
245
|
}
|
|
245
246
|
function Qe(t, n) {
|
|
@@ -247,8 +248,8 @@ function Ct(e, s) {
|
|
|
247
248
|
}
|
|
248
249
|
function Se(t, n) {
|
|
249
250
|
ze(function(o) {
|
|
250
|
-
var
|
|
251
|
-
return n === null ?
|
|
251
|
+
var c = new Map(o);
|
|
252
|
+
return n === null ? c.delete(t) : c.set(t, n), c;
|
|
252
253
|
});
|
|
253
254
|
}
|
|
254
255
|
function Be(t, n) {
|
|
@@ -258,34 +259,34 @@ function Ct(e, s) {
|
|
|
258
259
|
Ae(n);
|
|
259
260
|
}
|
|
260
261
|
function ae(t) {
|
|
261
|
-
return le.get(k(
|
|
262
|
+
return le.get(k(_[t], t));
|
|
262
263
|
}
|
|
263
264
|
nt(function() {
|
|
264
|
-
if (h && typeof pe == "number" &&
|
|
265
|
-
var t = T, n =
|
|
265
|
+
if (h && typeof pe == "number" && _) {
|
|
266
|
+
var t = T, n = _.length, o = n - 1;
|
|
266
267
|
if (!n) {
|
|
267
|
-
|
|
268
|
+
G(0, null);
|
|
268
269
|
return;
|
|
269
270
|
}
|
|
270
|
-
for (var
|
|
271
|
-
var z = ae(
|
|
271
|
+
for (var c = 0; c < n; c += 1) {
|
|
272
|
+
var z = ae(c);
|
|
272
273
|
if (E && (z = z || 0), z === void 0) {
|
|
273
|
-
|
|
274
|
+
G(c - 1, void 0, !0);
|
|
274
275
|
break;
|
|
275
276
|
}
|
|
276
277
|
if (t += z, // Only one means `totalWidth` is the final width
|
|
277
278
|
o === 0 && t <= h || // Last two width will be the final width
|
|
278
|
-
|
|
279
|
-
|
|
279
|
+
c === o - 1 && t + ae(o) <= h) {
|
|
280
|
+
G(o, null);
|
|
280
281
|
break;
|
|
281
282
|
} else if (t + pe > h) {
|
|
282
|
-
|
|
283
|
+
G(c - 1, t - z - T + L);
|
|
283
284
|
break;
|
|
284
285
|
}
|
|
285
286
|
}
|
|
286
287
|
K && ae(0) + T > h && ve(null);
|
|
287
288
|
}
|
|
288
|
-
}, [h, le, L, T, k,
|
|
289
|
+
}, [h, le, L, T, k, _]);
|
|
289
290
|
var Ee = Ve && !!re.length, he = {};
|
|
290
291
|
ee !== null && y && (he = {
|
|
291
292
|
position: "absolute",
|
|
@@ -299,9 +300,9 @@ function Ct(e, s) {
|
|
|
299
300
|
invalidate: Re
|
|
300
301
|
}, qe = p ? function(t, n) {
|
|
301
302
|
var o = k(t, n);
|
|
302
|
-
return /* @__PURE__ */ a.createElement(
|
|
303
|
+
return /* @__PURE__ */ a.createElement(j.Provider, {
|
|
303
304
|
key: o,
|
|
304
|
-
value:
|
|
305
|
+
value: b(b({}, D), {}, {
|
|
305
306
|
order: n,
|
|
306
307
|
item: t,
|
|
307
308
|
itemKey: o,
|
|
@@ -311,27 +312,27 @@ function Ct(e, s) {
|
|
|
311
312
|
}, p(t, n));
|
|
312
313
|
} : function(t, n) {
|
|
313
314
|
var o = k(t, n);
|
|
314
|
-
return /* @__PURE__ */ a.createElement(W,
|
|
315
|
+
return /* @__PURE__ */ a.createElement(W, w({}, D, {
|
|
315
316
|
order: n,
|
|
316
317
|
key: o,
|
|
317
318
|
item: t,
|
|
318
|
-
renderItem:
|
|
319
|
+
renderItem: je,
|
|
319
320
|
itemKey: o,
|
|
320
321
|
registerSize: Se,
|
|
321
322
|
display: n <= O
|
|
322
323
|
}));
|
|
323
|
-
},
|
|
324
|
+
}, _e = {
|
|
324
325
|
order: Ee ? O : Number.MAX_SAFE_INTEGER,
|
|
325
326
|
className: "".concat(te, "-rest"),
|
|
326
327
|
registerSize: Be,
|
|
327
328
|
display: Ee
|
|
328
|
-
}, ie = $ ||
|
|
329
|
-
value:
|
|
330
|
-
}, U(re)) : /* @__PURE__ */ a.createElement(W,
|
|
329
|
+
}, ie = $ || wt, Je = U ? /* @__PURE__ */ a.createElement(j.Provider, {
|
|
330
|
+
value: b(b({}, D), _e)
|
|
331
|
+
}, U(re)) : /* @__PURE__ */ a.createElement(W, w({}, D, _e), typeof ie == "function" ? ie(re) : ie), we = /* @__PURE__ */ a.createElement(X, w({
|
|
331
332
|
className: oe(!Re && i, q),
|
|
332
333
|
style: H,
|
|
333
334
|
ref: s
|
|
334
|
-
}, A),
|
|
335
|
+
}, A), _.map(qe), Ge ? Je : null, K && /* @__PURE__ */ a.createElement(W, w({}, D, {
|
|
335
336
|
responsive: ne,
|
|
336
337
|
responsiveDisabled: !y,
|
|
337
338
|
order: O,
|
|
@@ -343,18 +344,18 @@ function Ct(e, s) {
|
|
|
343
344
|
return ne ? /* @__PURE__ */ a.createElement(Ne, {
|
|
344
345
|
onResize: Qe,
|
|
345
346
|
disabled: !y
|
|
346
|
-
},
|
|
347
|
+
}, we) : we;
|
|
347
348
|
}
|
|
348
349
|
var Q = /* @__PURE__ */ a.forwardRef(Ct);
|
|
349
350
|
Q.displayName = "Overflow";
|
|
350
351
|
Q.Item = Oe;
|
|
351
|
-
Q.RESPONSIVE =
|
|
352
|
-
Q.INVALIDATE =
|
|
352
|
+
Q.RESPONSIVE = xe;
|
|
353
|
+
Q.INVALIDATE = be;
|
|
353
354
|
export {
|
|
354
355
|
Q as F,
|
|
355
356
|
ot as a,
|
|
356
357
|
st as b,
|
|
357
358
|
ft as c,
|
|
358
|
-
|
|
359
|
+
Dt as i,
|
|
359
360
|
it as s
|
|
360
361
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as t } from "./presets-Djh_L_6R.js";
|
|
2
2
|
import * as e from "react";
|
|
3
|
-
import { I as c } from "./AntdIcon-
|
|
3
|
+
import { I as c } from "./AntdIcon-nCNB0J1E.js";
|
|
4
4
|
var o = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" } }] }, name: "search", theme: "outlined" }, s = function(a, r) {
|
|
5
5
|
return /* @__PURE__ */ e.createElement(c, t({}, a, {
|
|
6
6
|
ref: r,
|