@gobolt/genesis 0.1.6 → 0.2.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 +2 -2
- package/dist/AntdIcon-DH0CLM1Y.cjs +58 -0
- package/dist/CSSMotionList-BkQaDrZL.cjs +54 -0
- package/dist/CSSMotionList-Bnxp3McO.js +3043 -0
- package/dist/CheckCircleFilled-CjHdYIbm.cjs +1 -0
- package/dist/CheckOutlined-zCdr5BJm.cjs +1 -0
- package/dist/ClockCircleOutlined-5UFb32Vd.cjs +1 -0
- package/dist/CloseCircleFilled-DTf4XAEx.cjs +1 -0
- package/dist/CloseOutlined-Bdhtz5G6.cjs +1 -0
- package/dist/{Compact-DFcWZrNo.js → Compact-DLyEiUiM.js} +4 -4
- package/dist/Compact-DbbroFuI.cjs +1 -0
- package/dist/Context-C1u4yclk.cjs +1 -0
- package/dist/ContextIsolator-CoEIkMNv.cjs +1 -0
- package/dist/{ContextIsolator-CUJnq-4F.js → ContextIsolator-DmNIEQ4a.js} +2 -2
- package/dist/{DownOutlined-Bv7ua5i8.js → DownOutlined-B6sv2Wz7.js} +5 -5
- package/dist/DownOutlined-BQeYXxEW.cjs +4 -0
- package/dist/EllipsisOutlined-41dQ6mc7.cjs +1 -0
- package/dist/{EllipsisOutlined-BodkguEc.js → EllipsisOutlined-p42n6YT6.js} +62 -61
- package/dist/ExclamationCircleFilled-CKIE3287.cjs +1 -0
- package/dist/{Input--qsU-6vp.js → Input-BQWrpo9X.js} +10 -10
- package/dist/Input-DR_AoU5d.cjs +1 -0
- package/dist/KeyCode-CIq7HTTY.cjs +1 -0
- package/dist/Keyframes-CLS7wZIp.cjs +1 -0
- package/dist/{Keyframes-CyO2Aeq-.js → Keyframes-DIF9LGg-.js} +1 -1
- package/dist/LoadingOutlined-ByLc1sSe.cjs +1 -0
- package/dist/MinusCircleOutlined-d1WYK6RE.cjs +1 -0
- package/dist/{Overflow-CVbsx7Gn.js → Overflow-BjFvsSs4.js} +60 -59
- package/dist/Overflow-Bthkof3a.cjs +4 -0
- package/dist/SearchOutlined-BzV3qXvi.cjs +1 -0
- package/dist/{Skeleton-CudViN0a.js → Skeleton-CUGMlCIU.js} +3 -3
- package/dist/Skeleton-DJMABrvW.cjs +8 -0
- package/dist/TextArea-B8UHj7uQ.cjs +15 -0
- package/dist/{TextArea-CHo3cxKw.js → TextArea-FhT_niDe.js} +11 -11
- package/dist/{Typography-8BO7aTuQ.js → Typography-BKm8uXM1.js} +52 -51
- package/dist/Typography-DCxwDJFP.cjs +10 -0
- package/dist/_baseIsEqual-DnZ6AoVd.cjs +1 -0
- package/dist/_commonjsHelpers-BTDuMlIz.cjs +1 -0
- package/dist/asyncToGenerator-Dr7BhN2C.cjs +1 -0
- package/dist/{button-CYVlK7G0.js → button-CvcGKj7O.js} +31 -31
- package/dist/button-vyLzOdPi.cjs +1 -0
- package/dist/collapse-DNCMuTyD.cjs +3 -0
- package/dist/compact-item-B2FiQh6y.cjs +1 -0
- package/dist/components/Avatar/Avatar.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Avatar/__tests__/Avatar.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Avatar/index.cjs.js +1 -0
- package/dist/components/Avatar/index.es.js +4 -0
- package/dist/components/Avatar/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +3 -0
- package/dist/components/Avatar/styles.d.ts +1 -12
- package/dist/components/Badge/Badge.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Badge/Badge.d.ts +4 -1
- package/dist/components/Badge/__stories__/Badge.stories.d.ts +1 -0
- package/dist/components/Badge/__tests__/Badge.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Badge/index.cjs.js +1 -0
- package/dist/components/Badge/index.es.js +4 -0
- package/dist/components/Badge/{styles.js → styles.[format === /"es/" ? /"js/" : /"cjs/"]" } +10 -14
- package/dist/components/Badge/styles.d.ts +1 -8
- package/dist/components/Breadcrumb/Breadcrumb.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.types.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Breadcrumb/index.cjs.js +1 -0
- package/dist/components/Breadcrumb/index.es.js +4 -0
- package/dist/components/Breadcrumb/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +60 -0
- package/dist/components/Breadcrumb/styles.d.ts +2 -23
- package/dist/components/Button/Button.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Button/IconButton.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Button/UtilityButton.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Button/__stories__/UtilityButton.stories.d.ts +2 -1
- package/dist/components/Button/__tests__/Button.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Button/{icon-button-styles.js → icon-button-styles.[format === /"es/" ? /"js/" : /"cjs/"]" } +12 -16
- package/dist/components/Button/icon-button-styles.d.ts +1 -12
- package/dist/components/Button/index.cjs.js +1 -0
- package/dist/components/Button/index.es.js +8 -0
- package/dist/components/Button/{styles.js → styles.[format === /"es/" ? /"js/" : /"cjs/"]" } +14 -22
- package/dist/components/Button/styles.d.ts +1 -16
- package/dist/components/Card/Card.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Card/__tests__/Card.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Card/index.cjs.js +1 -0
- package/dist/components/Card/index.es.js +4 -0
- package/dist/components/Card/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +6 -0
- package/dist/components/Card/styles.d.ts +1 -10
- package/dist/components/Checkbox/Checkbox.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Checkbox/__tests__/Checkbox.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Checkbox/index.cjs.js +1 -0
- package/dist/components/Checkbox/index.es.js +4 -0
- package/dist/components/Checkbox/{styles.js → styles.[format === /"es/" ? /"js/" : /"cjs/"]" } +17 -23
- package/dist/components/Checkbox/styles.d.ts +2 -7
- package/dist/components/Dashboard/Dashboard.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Dashboard/__mocks__/dashboard-data.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Dashboard/__stories__/DashboardLayoutContent.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Dashboard/__stories__/DashboardLayoutStory.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Dashboard/__stories__/charts/LineChart.[format === /"es/" ? /"js/" : /"cjs/"]" +2 -0
- package/dist/components/Dashboard/__tests__/Dashboard.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Dashboard/index.cjs.js +1 -0
- package/dist/components/Dashboard/index.es.js +4 -0
- package/dist/components/Dashboard/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +6 -0
- package/dist/components/Dashboard/styles.d.ts +1 -8
- package/dist/components/DatePicker/DatePicker.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/DatePicker/__tests__/DatePicker.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/DatePicker/index.cjs.js +1 -0
- package/dist/components/DatePicker/index.es.js +4 -0
- package/dist/components/DateRangePicker/DateRangePicker.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/DateRangePicker/__tests__/DateRangePicker.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/DateRangePicker/index.cjs.js +1 -0
- package/dist/components/DateRangePicker/index.es.js +4 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/ErrorBoundary/index.cjs.js +1 -0
- package/dist/components/ErrorBoundary/index.es.js +4 -0
- package/dist/components/ErrorBoundary/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +6 -0
- package/dist/components/ErrorBoundary/styles.d.ts +1 -8
- package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/ErrorBoundaryFallback/index.cjs.js +1 -0
- package/dist/components/ErrorBoundaryFallback/index.es.js +4 -0
- package/dist/components/ErrorBoundaryFallback/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +11 -0
- package/dist/components/ErrorBoundaryFallback/styles.d.ts +1 -1
- package/dist/components/Form/Form.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Form/__stories__/FormStory.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Form/__tests__/form.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Form/index.cjs.js +1 -0
- package/dist/components/Form/index.es.js +4 -0
- package/dist/components/Form/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Glyph/Glyph.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Glyph/index.cjs.js +1 -0
- package/dist/components/Glyph/index.es.js +4 -0
- package/dist/components/Glyph/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +6 -0
- package/dist/components/Glyph/styles.d.ts +1 -8
- package/dist/components/Input/Input.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Input/Input.d.ts +3 -2
- package/dist/components/Input/__stories__/Input.stories.d.ts +1 -0
- package/dist/components/Input/__tests__/Input.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Input/index.cjs.js +1 -0
- package/dist/components/Input/index.es.js +4 -0
- package/dist/components/Input/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Input/styles.d.ts +1 -15
- package/dist/components/Layout/Content/Content.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Layout/Content/ResponsiveContent.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Layout/Content/index.cjs.js +1 -0
- package/dist/components/Layout/Content/index.es.js +4 -0
- package/dist/components/Layout/Content/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +11 -0
- package/dist/components/Layout/Content/styles.d.ts +1 -7
- package/dist/components/Layout/Layout.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Layout/MainLayout/MainLayout.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Layout/MainLayout/index.cjs.js +1 -0
- package/dist/components/Layout/MainLayout/index.es.js +4 -0
- package/dist/components/Layout/MainLayout/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +62 -0
- package/dist/components/Layout/MainLayout/styles.d.ts +4 -4
- package/dist/components/Layout/__tests__/Layout.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Layout/index.cjs.js +1 -0
- package/dist/components/Layout/index.es.js +4 -0
- package/dist/components/Message/Message.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Message/__tests__/Message.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Message/index.cjs.js +1 -0
- package/dist/components/Message/index.es.js +4 -0
- package/dist/components/Message/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +38 -0
- package/dist/components/Message/styles.d.ts +3 -9
- package/dist/components/Notification/Notification.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Notification/NotificationBadge/NotificationBadge.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Notification/NotificationBadge/icons/ASN.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Notification/NotificationBadge/icons/Appointment.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Notification/NotificationBadge/icons/Inventory.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Notification/NotificationBadge/icons/Parcel.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Notification/NotificationBadge/icons/Product.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Notification/NotificationBadge/icons/Route.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Notification/NotificationBadge/icons/Shipment.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Notification/NotificationBadge/icons/ShoppingCart.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Notification/NotificationBadge/icons/System.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Notification/NotificationBadge/index.cjs.js +1 -0
- package/dist/components/Notification/NotificationBadge/index.es.js +4 -0
- package/dist/components/Notification/NotificationBadge/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +28 -0
- package/dist/components/Notification/NotificationBadge/styles.d.ts +3 -3
- package/dist/components/Notification/NotificationRightChevron.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Notification/__tests__/Notification.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Notification/index.cjs.js +1 -0
- package/dist/components/Notification/index.es.js +4 -0
- package/dist/components/Notification/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +56 -0
- package/dist/components/Notification/styles.d.ts +5 -16
- package/dist/components/Popover/Popover.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Popover/__tests__/Popover.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Popover/index.cjs.js +1 -0
- package/dist/components/Popover/index.es.js +4 -0
- package/dist/components/Popover/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Popover/styles.d.ts +1 -13
- package/dist/components/Progress/Progress.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Progress/Progress.util.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Progress/ProgressText.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Progress/__tests__/Progress.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Progress/index.cjs.js +1 -0
- package/dist/components/Progress/index.es.js +4 -0
- package/dist/components/Progress/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +3 -0
- package/dist/components/Progress/styles.d.ts +1 -13
- package/dist/components/Radio/Radio.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Radio/Radio.d.ts +1 -4
- package/dist/components/Radio/RadioGroup.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Radio/__tests__/RadioGroup.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Radio/index.cjs.js +1 -0
- package/dist/components/Radio/index.es.js +4 -0
- package/dist/components/Radio/states/RadioChecked.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Radio/states/RadioCheckedDisabled.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Radio/states/RadioCheckedFocussed.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Radio/states/RadioCheckedHover.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Radio/states/RadioUnchecked.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Radio/states/RadioUncheckedDisabled.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Radio/states/RadioUncheckedFocussed.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Radio/states/RadioUncheckedHover.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Row/Row.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Row/RowActions/RowActions.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Row/RowActions/{styles.js → styles.[format === /"es/" ? /"js/" : /"cjs/"]" } +4 -9
- package/dist/components/Row/RowActions/styles.d.ts +2 -2
- package/dist/components/Row/RowLabelValue/RowLabelValue.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Row/RowLabelValue/RowSkeleton.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Row/RowLabelValue/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +18 -0
- package/dist/components/Row/RowLabelValue/styles.d.ts +2 -12
- package/dist/components/Row/__tests__/Row.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Row/index.cjs.js +1 -0
- package/dist/components/Row/index.es.js +4 -0
- package/dist/components/Row/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +10 -0
- package/dist/components/Row/styles.d.ts +1 -9
- package/dist/components/SegmentedControls/SegmentedControls.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/SegmentedControls/index.cjs.js +1 -0
- package/dist/components/SegmentedControls/index.es.js +4 -0
- package/dist/components/SegmentedControls/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +22 -0
- package/dist/components/SegmentedControls/styles.d.ts +1 -9
- package/dist/components/Select/DropdownChevron.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Select/Select.[format === /"es/" ? /"js/" : /"cjs/"]" +6 -0
- package/dist/components/Select/Select.d.ts +5 -2
- package/dist/components/Select/__stories__/Select.stories.d.ts +1 -0
- package/dist/components/Select/__tests__/Select.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Select/index.cjs.js +1 -0
- package/dist/components/Select/index.es.js +4 -0
- package/dist/components/Select/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +129 -0
- package/dist/components/Select/styles.d.ts +5 -21
- package/dist/components/Shapes/Shapes.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Shapes/__tests__/Shapes.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Shapes/index.cjs.js +1 -0
- package/dist/components/Shapes/index.es.js +4 -0
- package/dist/components/Shapes/variants/Circle.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Shapes/variants/Rectangle.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Shapes/variants/Triangle.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Switch/Switch.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Switch/__tests__/Switch.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Switch/index.cjs.js +1 -0
- package/dist/components/Switch/index.es.js +4 -0
- package/dist/components/Switch/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +58 -0
- package/dist/components/Switch/styles.d.ts +1 -7
- package/dist/components/Table/Table.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Table/Table.d.ts +40 -11
- package/dist/components/Table/TableControls/PrimaryTableControls.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Table/TableControls/PrimaryTableControls.d.ts +15 -0
- package/dist/components/Table/TableControls/SecondaryTableControls.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Table/TableControls/SecondaryTableControls.d.ts +10 -0
- package/dist/components/Table/TableControls/TableControls.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Table/TableControls/TableControls.d.ts +8 -0
- package/dist/components/Table/TableControls/__stories__/TableControls.stories.d.ts +6 -0
- package/dist/components/Table/TableControls/__tests__/TableControls.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Table/TableControls/index.cjs.js +1 -0
- package/dist/components/Table/TableControls/index.d.ts +2 -0
- package/dist/components/Table/TableControls/index.es.js +4 -0
- package/dist/components/Table/TableControls/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +6 -0
- package/dist/components/Table/TableControls/styles.d.ts +6 -0
- package/dist/components/Table/TableWithControls/TableWithControls.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Table/TableWithControls/TableWithControls.d.ts +12 -0
- package/dist/components/Table/TableWithControls/__stories__/TableWithControls.stories.d.ts +6 -0
- package/dist/components/Table/TableWithControls/__stories__/TableWithControlsStory.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Table/TableWithControls/__stories__/TableWithControlsStory.d.ts +1 -0
- package/dist/components/Table/TableWithControls/__tests__/TableWithControls.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Table/TableWithControls/__tests__/TableWithControls.test.d.ts +1 -0
- package/dist/components/Table/TableWithControls/index.cjs.js +1 -0
- package/dist/components/Table/TableWithControls/index.d.ts +2 -0
- package/dist/components/Table/TableWithControls/index.es.js +4 -0
- package/dist/components/Table/__mocks__/table-mocks.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Table/__mocks__/table-mocks.d.ts +2 -1
- package/dist/components/Table/__stories__/GenesisTable.stories.d.ts +3 -0
- package/dist/components/Table/__stories__/Table.stories.d.ts +3 -1
- package/dist/components/Table/__stories__/use-table-hook.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Table/__stories__/use-table-hook.d.ts +9 -0
- package/dist/components/Table/__tests__/Table.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Table/index.cjs.js +1 -0
- package/dist/components/Table/index.es.js +4 -0
- package/dist/components/Table/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Table/use-table-hook.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Table/use-table-hook.d.ts +23 -0
- package/dist/components/Tabs/Tabs.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Tabs/__tests__/Tabs.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Tabs/index.cjs.js +1 -0
- package/dist/components/Tabs/index.es.js +4 -0
- package/dist/components/Tabs/{styles.js → styles.[format === /"es/" ? /"js/" : /"cjs/"]" } +4 -10
- package/dist/components/Tabs/styles.d.ts +1 -9
- package/dist/components/Tile/Tile.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Tile/__tests__/Tile.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Tile/index.cjs.js +1 -0
- package/dist/components/Tile/index.es.js +4 -0
- package/dist/components/Tile/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +7 -0
- package/dist/components/Tile/styles.d.ts +1 -7
- package/dist/components/Toast/Toast.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Toast/__tests__/Toast.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Toast/index.cjs.js +1 -0
- package/dist/components/Toast/index.es.js +4 -0
- package/dist/components/Toast/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +38 -0
- package/dist/components/Toast/styles.d.ts +3 -9
- package/dist/components/Tooltip/Tooltip.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Tooltip/__tests__/Tooltip.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Tooltip/index.cjs.js +1 -0
- package/dist/components/Tooltip/index.es.js +4 -0
- package/dist/components/Tooltip/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +5 -0
- package/dist/components/Tooltip/styles.d.ts +1 -14
- package/dist/components/Typography/Typography.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Typography/Typography.d.ts +1 -2
- package/dist/components/Typography/__tests__/Typography.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Typography/index.cjs.js +1 -0
- package/dist/components/Typography/index.es.js +4 -0
- package/dist/components/Typography/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +29 -0
- package/dist/components/Typography/styles.d.ts +3 -21
- package/dist/components/index.cjs.js +1 -0
- package/dist/components/index.d.cjs.js +1 -0
- package/dist/components/index.es.js +62 -0
- package/dist/constants/index.cjs.js +1 -0
- package/dist/{context-CQfFkrkv.js → context-CTca8gjn.js} +3 -3
- package/dist/context-DdubDZbV.cjs +1 -0
- package/dist/declaration.d.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/{dropdown-BlRB2LxQ.js → dropdown-CZHhUAdC.js} +13 -13
- package/dist/dropdown-DDY5X1Q0.cjs +27 -0
- package/dist/generateCategoricalChart-Dcyk3onh.cjs +90 -0
- package/dist/genesis/GenesisThemeBreakdown.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/genesis/GenesisThemeDemo.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/genesis/{styles.js → styles.[format === /"es/" ? /"js/" : /"cjs/"]" } +3 -10
- package/dist/genesis/styles.d.ts +2 -11
- package/dist/iconBase-C4boY5mo.cjs +1 -0
- package/dist/index-B2Z5NSa0.cjs +4 -0
- package/dist/{index-DRGbc-fW.js → index-B56O6LEG.js} +38 -37
- package/dist/index-B6nsE0F_.cjs +16 -0
- package/dist/index-BD5op9DA.cjs +6 -0
- package/dist/{index-BZ050Dyl.js → index-BJgt3NQN.js} +7 -7
- package/dist/index-Bj0GOR4e.cjs +1 -0
- package/dist/index-Bml8d_Df.cjs +15 -0
- package/dist/index-CNA8GQQR.cjs +1 -0
- package/dist/index-CSLsxIxR.cjs +1 -0
- package/dist/index-CUpwy6fl.cjs +24 -0
- package/dist/{index-CzMIlMTV.js → index-CXee0v2G.js} +2 -2
- package/dist/{index-C2K1BzmJ.js → index-CYbLY3uE.js} +22 -21
- package/dist/{index-DCopujxC.js → index-Ce7BgA_I.js} +32 -32
- package/dist/index-Cft4ZDoE.cjs +1 -0
- package/dist/{index-Br3D3cFM.js → index-CkrCy-wr.js} +49 -48
- package/dist/index-CmiuhnsO.js +11 -0
- package/dist/{index-RtWhGOwR.js → index-CsSLy_ri.js} +9 -9
- package/dist/{index-Bxbr727t.js → index-D0AjEeN2.js} +1 -1
- package/dist/{index-B7FXyiY_.js → index-D76Ewoqp.js} +4 -4
- package/dist/{index-BHCqeC4j.js → index-D9i74AKg.js} +11 -11
- package/dist/{index-DavB5GQ3.js → index-DAtTGIsZ.js} +19 -19
- package/dist/{index-Y0KgiFZb.js → index-DJcvYBdb.js} +9 -9
- package/dist/index-DLI4yl_y.cjs +22 -0
- package/dist/index-DPPQ1GIl.cjs +10 -0
- package/dist/index-DV4cHHkU.cjs +1 -0
- package/dist/index-DY6qmEFc.js +23 -0
- package/dist/index-DdF9CYRQ.cjs +1 -0
- package/dist/index-Dwe6wwhx.cjs +7 -0
- package/dist/{index-sX7KZ-nU.js → index-FDGutzXP.js} +42 -42
- package/dist/{index-RAH9f-qb.js → index-emugciTm.js} +6 -6
- package/dist/index-x6LPvHOw.cjs +17 -0
- package/dist/index-zDIwuuqH.cjs +3 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.es.js +69 -0
- package/dist/interface/address.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/appointment.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/appointmentV2.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/appointmentsState.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/common.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/completionData.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/deliveryPartner.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/organization.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/pagination.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/roles.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/route.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/routeAnalysis.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/routeAutomationJob.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/routeAutomationLog.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/routeEvent.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/serviceArea.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/util.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/vehicle.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/workOrder.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/isVisible-BNxwNfFH.cjs +1 -0
- package/dist/magic-string.es-BMxHbF2i.cjs +10 -0
- package/dist/motion-B_a-We1F.cjs +1 -0
- package/dist/{motion-C-XpKcZG.js → motion-Tyjtqn8t.js} +2 -2
- package/dist/omit-BrHx-Kj7.cjs +1 -0
- package/dist/pickAttrs-BUFdQiVt.cjs +18 -0
- package/dist/presetColors-DyrVjOJc.cjs +1 -0
- package/dist/presets-CCbttGCy.cjs +6 -0
- package/dist/providers/BreakpointProvider.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/providers/BreakpointProvider.d.ts +7 -0
- package/dist/providers/GenesisProvider.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/providers/ToastProvider.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/providers/index.cjs.js +1 -0
- package/dist/providers/index.es.js +6 -0
- package/dist/providers/useGenesis.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/providers/useGenesis.d.ts +2 -1
- package/dist/reactNode-DcoR9VZw.cjs +1 -0
- package/dist/{roundedArrow-BxPlu4Hq.js → roundedArrow-BtSC7b_q.js} +1 -1
- package/dist/roundedArrow-i9Dmpgeh.cjs +1 -0
- package/dist/{setup-rcqlwLGQ.js → setup-D5hJ8cId.js} +6300 -5518
- package/dist/setup-Lma-RJTH.cjs +148 -0
- package/dist/setup.types-DNdmb6tK.cjs +46 -0
- package/dist/shadow-1q6dM13I.cjs +1 -0
- package/dist/statusUtils-DExYjn05.cjs +1 -0
- package/dist/styleChecker-Vc3-yig2.cjs +1 -0
- package/dist/styles/design-tokens/border-tokens/BorderTokenList.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/styles/design-tokens/variables.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/styles/{global-styles.js → global-styles.[format === /"es/" ? /"js/" : /"cjs/"]" } +2 -6
- package/dist/styles/global-styles.d.ts +1 -1
- package/dist/styles/theme/genesis-theme.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/styles/theme/genesis-theme.test.[format === /"es/" ? /"js/" : /"cjs/"]" +3 -0
- package/dist/styles/theme/genesis-theme.types.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/styles/theme/index.cjs.js +1 -0
- package/dist/styles/theme/{index.js → index.es.js} +1 -1
- package/dist/styles/theme/theme-tree/ThemeTree.[format === /"es/" ? /"js/" : /"cjs/"]" +7 -0
- package/dist/styles-BEj8fZMe.cjs +3 -0
- package/dist/styles-BWTP_Zyu.cjs +103 -0
- package/dist/styles-BfoQ93tm.cjs +91 -0
- package/dist/{styles-Wpm1RiGr.js → styles-Bnh9HSiM.js} +46 -45
- package/dist/{styles-XuoEGUZZ.js → styles-CRSK7_lW.js} +135 -122
- package/dist/{styles-DNay6iFa.js → styles-CSzrJlJ9.js} +7 -7
- package/dist/{index-CupwdUIJ.js → styles-DXLK47iT.js} +167 -157
- package/dist/styles-j60Er7XY.cjs +16 -0
- package/dist/test/setup.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/test/setup.types.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/{toArray-D5kvYi_U.js → toArray-BdEmgTlP.js} +1 -1
- package/dist/toArray-Cnq83wS3.cjs +1 -0
- package/dist/useBreakpoint-BkvhZP6y.cjs +1 -0
- package/dist/{useBreakpoint-ByLol0R9.js → useBreakpoint-C6P2JavP.js} +1 -1
- package/dist/{useCSSVarCls-YfJY1twF.js → useCSSVarCls-CwGsW74t.js} +1 -1
- package/dist/useCSSVarCls-Eahl89PI.cjs +1 -0
- package/dist/{useIcons-CoxuumP_.js → useIcons-BP_qFbBH.js} +3 -3
- package/dist/useIcons-elrpktrI.cjs +6 -0
- package/dist/useId-BDresUbx.cjs +1 -0
- package/dist/useLocale-Ccu6a0gD.cjs +1 -0
- package/dist/{useLocale-BQ3mKRyJ.js → useLocale-DkcoQ5u9.js} +1 -1
- package/dist/{useMergedState-D1-TbeEv.js → useMergedState-dLe_CnQY.js} +1 -1
- package/dist/useMergedState-g1JWsrDw.cjs +1 -0
- package/dist/{useSize-Ct1guc-z.js → useSize-D_iM0JXw.js} +1 -1
- package/dist/useSize-OiGNe58i.cjs +1 -0
- package/dist/{useVariants-C6UAAu9f.js → useVariants-BO1luVHT.js} +3 -3
- package/dist/useVariants-CAEx8XcP.cjs +1 -0
- package/dist/useZIndex-B720RqFH.cjs +1 -0
- package/dist/{useZIndex-tgX56o1r.js → useZIndex-DNLQPZBP.js} +2 -2
- package/dist/utils/icon-util.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/utils/icon-util.d.ts +1 -0
- package/dist/utils/styled.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/utils/styled.d.ts +7 -0
- package/dist/vi.B5EKKJdE-CoUxwxV9.cjs +434 -0
- package/dist/vite-env.d.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/package.json +26 -11
- package/dist/CSSMotionList-DB0khM6h.js +0 -22193
- package/dist/components/Avatar/Avatar.js +0 -63
- package/dist/components/Avatar/__tests__/Avatar.test.js +0 -17
- package/dist/components/Avatar/index.js +0 -4
- package/dist/components/Avatar/styles.js +0 -328
- package/dist/components/Badge/Badge.js +0 -72
- package/dist/components/Badge/__tests__/Badge.test.js +0 -17
- package/dist/components/Badge/index.js +0 -4
- package/dist/components/Breadcrumb/Breadcrumb.js +0 -11
- package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.js +0 -23
- package/dist/components/Breadcrumb/index.js +0 -4
- package/dist/components/Breadcrumb/styles.js +0 -415
- package/dist/components/Button/Button.js +0 -30
- package/dist/components/Button/IconButton.js +0 -29
- package/dist/components/Button/UtilityButton.js +0 -29
- package/dist/components/Button/__tests__/Button.test.js +0 -18
- package/dist/components/Button/index.js +0 -8
- package/dist/components/Card/Card.js +0 -16
- package/dist/components/Card/__tests__/Card.test.js +0 -16
- package/dist/components/Card/index.js +0 -4
- package/dist/components/Card/styles.js +0 -12
- package/dist/components/Checkbox/Checkbox.js +0 -53
- package/dist/components/Checkbox/__tests__/Checkbox.test.js +0 -19
- package/dist/components/Checkbox/index.js +0 -4
- package/dist/components/Dashboard/Dashboard.js +0 -5
- package/dist/components/Dashboard/__mocks__/dashboard-data.js +0 -186
- package/dist/components/Dashboard/__stories__/DashboardLayoutContent.js +0 -948
- package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.js +0 -87
- package/dist/components/Dashboard/__stories__/DashboardLayoutStory.js +0 -23
- package/dist/components/Dashboard/__stories__/charts/LineChart.js +0 -534
- package/dist/components/Dashboard/__tests__/Dashboard.test.js +0 -16
- package/dist/components/Dashboard/index.js +0 -4
- package/dist/components/Dashboard/styles.js +0 -11
- package/dist/components/DatePicker/DatePicker.js +0 -5
- package/dist/components/DatePicker/__tests__/DatePicker.test.js +0 -19
- package/dist/components/DatePicker/index.js +0 -4
- package/dist/components/DateRangePicker/DateRangePicker.js +0 -5
- package/dist/components/DateRangePicker/__tests__/DateRangePicker.test.js +0 -23
- package/dist/components/DateRangePicker/index.js +0 -4
- package/dist/components/ErrorBoundary/ErrorBoundary.js +0 -74
- package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.js +0 -30
- package/dist/components/ErrorBoundary/index.js +0 -4
- package/dist/components/ErrorBoundary/styles.js +0 -11
- package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.js +0 -57
- package/dist/components/ErrorBoundaryFallback/index.js +0 -4
- package/dist/components/ErrorBoundaryFallback/styles.js +0 -933
- package/dist/components/Form/Form.js +0 -8
- package/dist/components/Form/__stories__/FormStory.js +0 -172
- package/dist/components/Form/__tests__/form.test.js +0 -19
- package/dist/components/Form/index.js +0 -4
- package/dist/components/Form/styles.js +0 -13
- package/dist/components/FormBrandon/Form.d.ts +0 -25
- package/dist/components/FormBrandon/Form.js +0 -18
- package/dist/components/FormBrandon/__stories__/Form.stories.d.ts +0 -6
- package/dist/components/FormBrandon/__stories__/FormStory.d.ts +0 -1
- package/dist/components/FormBrandon/__stories__/FormStory.js +0 -173
- package/dist/components/FormBrandon/__tests__/form.test.js +0 -19
- package/dist/components/FormBrandon/index.d.ts +0 -2
- package/dist/components/FormBrandon/index.js +0 -4
- package/dist/components/FormBrandon/styles.d.ts +0 -2
- package/dist/components/FormBrandon/styles.js +0 -13
- package/dist/components/Glyph/Glyph.js +0 -9
- package/dist/components/Glyph/index.js +0 -4
- package/dist/components/Glyph/styles.js +0 -11
- package/dist/components/Input/Input.js +0 -22
- package/dist/components/Input/__tests__/Input.test.js +0 -25
- package/dist/components/Input/index.js +0 -4
- package/dist/components/Input/styles.js +0 -6
- package/dist/components/Layout/Content/Content.js +0 -32
- package/dist/components/Layout/Content/ResponsiveContent.js +0 -83
- package/dist/components/Layout/Content/index.js +0 -4
- package/dist/components/Layout/Content/styles.js +0 -16
- package/dist/components/Layout/Layout.js +0 -6
- package/dist/components/Layout/MainLayout/MainLayout.js +0 -28
- package/dist/components/Layout/MainLayout/index.js +0 -4
- package/dist/components/Layout/MainLayout/styles.js +0 -69
- package/dist/components/Layout/__tests__/Layout.test.js +0 -14
- package/dist/components/Layout/index.js +0 -4
- package/dist/components/Message/Message.js +0 -107
- package/dist/components/Message/__tests__/Message.test.js +0 -43
- package/dist/components/Message/index.js +0 -4
- package/dist/components/Message/styles.js +0 -45
- package/dist/components/Notification/Notification.js +0 -1463
- package/dist/components/Notification/NotificationBadge/NotificationBadge.js +0 -49
- package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.js +0 -18
- package/dist/components/Notification/NotificationBadge/icons/ASN.js +0 -23
- package/dist/components/Notification/NotificationBadge/icons/Appointment.js +0 -23
- package/dist/components/Notification/NotificationBadge/icons/Inventory.js +0 -23
- package/dist/components/Notification/NotificationBadge/icons/Parcel.js +0 -23
- package/dist/components/Notification/NotificationBadge/icons/Product.js +0 -23
- package/dist/components/Notification/NotificationBadge/icons/Route.js +0 -23
- package/dist/components/Notification/NotificationBadge/icons/Shipment.js +0 -23
- package/dist/components/Notification/NotificationBadge/icons/ShoppingCart.js +0 -23
- package/dist/components/Notification/NotificationBadge/icons/System.js +0 -23
- package/dist/components/Notification/NotificationBadge/index.js +0 -4
- package/dist/components/Notification/NotificationBadge/styles.js +0 -34
- package/dist/components/Notification/NotificationRightChevron.js +0 -23
- package/dist/components/Notification/__tests__/Notification.test.js +0 -15
- package/dist/components/Notification/index.js +0 -4
- package/dist/components/Notification/styles.js +0 -65
- package/dist/components/Popover/Popover.js +0 -24
- package/dist/components/Popover/__tests__/Popover.test.js +0 -33
- package/dist/components/Popover/index.js +0 -4
- package/dist/components/Popover/styles.js +0 -6
- package/dist/components/Progress/Progress.js +0 -87
- package/dist/components/Progress/Progress.util.js +0 -64
- package/dist/components/Progress/ProgressText.js +0 -69
- package/dist/components/Progress/__tests__/Progress.test.js +0 -21
- package/dist/components/Progress/index.js +0 -4
- package/dist/components/Progress/styles.js +0 -796
- package/dist/components/Radio/Radio.js +0 -46
- package/dist/components/Radio/RadioGroup.js +0 -33
- package/dist/components/Radio/__tests__/RadioGroup.test.js +0 -31
- package/dist/components/Radio/index.js +0 -4
- package/dist/components/Radio/states/RadioChecked.js +0 -18
- package/dist/components/Radio/states/RadioCheckedDisabled.js +0 -18
- package/dist/components/Radio/states/RadioCheckedFocussed.js +0 -30
- package/dist/components/Radio/states/RadioCheckedHover.js +0 -18
- package/dist/components/Radio/states/RadioUnchecked.js +0 -15
- package/dist/components/Radio/states/RadioUncheckedDisabled.js +0 -15
- package/dist/components/Radio/states/RadioUncheckedFocussed.js +0 -29
- package/dist/components/Radio/states/RadioUncheckedHover.js +0 -18
- package/dist/components/Row/Row.js +0 -41
- package/dist/components/Row/RowActions/RowActions.js +0 -61
- package/dist/components/Row/RowLabelValue/RowLabelValue.js +0 -64
- package/dist/components/Row/RowLabelValue/RowSkeleton.js +0 -24
- package/dist/components/Row/RowLabelValue/styles.js +0 -25
- package/dist/components/Row/__tests__/Row.test.js +0 -16
- package/dist/components/Row/index.js +0 -4
- package/dist/components/Row/styles.js +0 -15
- package/dist/components/SegmentedControls/SegmentedControls.js +0 -26
- package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.js +0 -24
- package/dist/components/SegmentedControls/index.js +0 -4
- package/dist/components/SegmentedControls/styles.js +0 -522
- package/dist/components/Select/DropdownChevron.js +0 -23
- package/dist/components/Select/Select.js +0 -36
- package/dist/components/Select/__tests__/Select.test.js +0 -55
- package/dist/components/Select/index.js +0 -4
- package/dist/components/Select/styles.js +0 -119
- package/dist/components/Shapes/Shapes.js +0 -8
- package/dist/components/Shapes/__tests__/Shapes.test.js +0 -16
- package/dist/components/Shapes/index.js +0 -4
- package/dist/components/Shapes/variants/Circle.js +0 -23
- package/dist/components/Shapes/variants/Rectangle.js +0 -23
- package/dist/components/Shapes/variants/Triangle.js +0 -23
- package/dist/components/Switch/Switch.js +0 -22
- package/dist/components/Switch/__tests__/Switch.test.js +0 -25
- package/dist/components/Switch/index.js +0 -4
- package/dist/components/Switch/styles.js +0 -456
- package/dist/components/Table/Table.js +0 -23
- package/dist/components/Table/__mocks__/table-mocks.js +0 -323
- package/dist/components/Table/__tests__/Table.test.js +0 -34
- package/dist/components/Table/index.js +0 -4
- package/dist/components/Table/styles.js +0 -6
- package/dist/components/Tabs/Tabs.js +0 -23
- package/dist/components/Tabs/__tests__/Tabs.test.js +0 -37
- package/dist/components/Tabs/index.js +0 -4
- package/dist/components/Tile/Tile.js +0 -21
- package/dist/components/Tile/__tests__/Tile.test.js +0 -21
- package/dist/components/Tile/index.js +0 -4
- package/dist/components/Tile/styles.js +0 -12
- package/dist/components/Toast/Toast.js +0 -38
- package/dist/components/Toast/__tests__/Toast.test.js +0 -19
- package/dist/components/Toast/index.js +0 -4
- package/dist/components/Toast/styles.js +0 -45
- package/dist/components/Tooltip/Tooltip.js +0 -52
- package/dist/components/Tooltip/__tests__/Tooltip.test.js +0 -25
- package/dist/components/Tooltip/index.js +0 -4
- package/dist/components/Tooltip/styles.js +0 -11
- package/dist/components/Typography/Typography.js +0 -8
- package/dist/components/Typography/__tests__/Typography.test.js +0 -24
- package/dist/components/Typography/index.js +0 -4
- package/dist/components/Typography/styles.js +0 -84
- package/dist/components/index.d.js +0 -1
- package/dist/components/index.js +0 -62
- package/dist/declaration.d.js +0 -1
- package/dist/genesis/GenesisThemeBreakdown.js +0 -146
- package/dist/genesis/GenesisThemeDemo.js +0 -7
- package/dist/index.js +0 -69
- package/dist/interface/address.js +0 -1
- package/dist/interface/appointment.js +0 -5
- package/dist/interface/appointmentV2.js +0 -1
- package/dist/interface/appointmentsState.js +0 -1
- package/dist/interface/common.js +0 -1
- package/dist/interface/completionData.js +0 -1
- package/dist/interface/deliveryPartner.js +0 -1
- package/dist/interface/organization.js +0 -1
- package/dist/interface/pagination.js +0 -1
- package/dist/interface/roles.js +0 -1
- package/dist/interface/route.js +0 -1
- package/dist/interface/routeAnalysis.js +0 -1
- package/dist/interface/routeAutomationJob.js +0 -10
- package/dist/interface/routeAutomationLog.js +0 -1
- package/dist/interface/routeEvent.js +0 -5
- package/dist/interface/serviceArea.js +0 -1
- package/dist/interface/util.js +0 -1
- package/dist/interface/vehicle.js +0 -1
- package/dist/interface/workOrder.js +0 -1
- package/dist/providers/BreakpointThemeProvider.d.ts +0 -8
- package/dist/providers/BreakpointThemeProvider.js +0 -21
- package/dist/providers/GenesisProvider.js +0 -11
- package/dist/providers/ToastProvider.js +0 -38
- package/dist/providers/index.js +0 -6
- package/dist/providers/useGenesis.js +0 -6
- package/dist/styled-components.browser.esm-C47QHsU4.js +0 -1211
- package/dist/styles/design-tokens/border-tokens/BorderTokenList.js +0 -61
- package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.js +0 -65
- package/dist/styles/design-tokens/variables.js +0 -699
- package/dist/styles/theme/genesis-theme.js +0 -1154
- package/dist/styles/theme/genesis-theme.test.js +0 -69
- package/dist/styles/theme/genesis-theme.types.js +0 -4
- package/dist/styles/theme/theme-tree/ThemeTree.js +0 -1653
- package/dist/test/setup.js +0 -91
- package/dist/test/setup.types.js +0 -1
- package/dist/utils/icon-util.js +0 -93
- package/dist/vite-env.d.js +0 -1
- /package/dist/components/{FormBrandon/__tests__/form.test.d.ts → Table/TableControls/__tests__/TableControls.test.d.ts} +0 -0
- /package/dist/components/{Breadcrumb/Breadcrumb.types.js → index.d.es.js} +0 -0
- /package/dist/constants/{index.js → index.es.js} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as r from "react";
|
|
2
2
|
import { useRef as at, useEffect as ct, useMemo as dt, isValidElement as pt } from "react";
|
|
3
|
-
import { d as
|
|
4
|
-
import { e as ge, o as ut, c as
|
|
3
|
+
import { d as Q } from "./index-Ce7BgA_I.js";
|
|
4
|
+
import { e as ge, o as ut, c as Y } from "./presets-CSXMiWyc.js";
|
|
5
5
|
import { I as ye } from "./AntdIcon-DP6hPDqu.js";
|
|
6
|
-
import { R as ft } from "./index-
|
|
7
|
-
import { t as Me } from "./toArray-
|
|
8
|
-
import {
|
|
9
|
-
import { u as Re } from "./useMergedState-
|
|
6
|
+
import { R as ft } from "./index-CXee0v2G.js";
|
|
7
|
+
import { t as Me } from "./toArray-BdEmgTlP.js";
|
|
8
|
+
import { Z as ke, f as mt, g as gt, a as yt, l as bt, q as Pe, h as W, n as vt, C as Et } from "./CSSMotionList-Bnxp3McO.js";
|
|
9
|
+
import { u as Re } from "./useMergedState-dLe_CnQY.js";
|
|
10
10
|
import { o as Ae } from "./omit-B_u6A-HL.js";
|
|
11
11
|
import { i as Te } from "./styleChecker-CSH9LQtm.js";
|
|
12
|
-
import { u as ht } from "./useLocale-
|
|
13
|
-
import { T as be } from "./index-
|
|
12
|
+
import { u as ht } from "./useLocale-DkcoQ5u9.js";
|
|
13
|
+
import { T as be } from "./index-DJcvYBdb.js";
|
|
14
14
|
import { K as Ne } from "./KeyCode-B3vHb2gY.js";
|
|
15
15
|
import { c as xt } from "./reactNode-sKPeiqPL.js";
|
|
16
|
-
import { T as Ct } from "./TextArea-
|
|
16
|
+
import { T as Ct } from "./TextArea-FhT_niDe.js";
|
|
17
17
|
import { g as St } from "./_commonjsHelpers-B4e78b8K.js";
|
|
18
18
|
import { R as Ot } from "./CheckOutlined-DTEHi_xG.js";
|
|
19
19
|
import { R as wt } from "./LoadingOutlined-DOi5EGOl.js";
|
|
@@ -368,7 +368,7 @@ const Dt = (e, t, o, n) => {
|
|
|
368
368
|
S.current !== h || y.current || C || P || N || $ || (h === Ne.ENTER ? (v(), p == null || p()) : h === Ne.ESC && f());
|
|
369
369
|
}, U = () => {
|
|
370
370
|
v();
|
|
371
|
-
}, [V, M, F] = Ve(t), k =
|
|
371
|
+
}, [V, M, F] = Ve(t), k = Y(t, `${t}-edit-content`, {
|
|
372
372
|
[`${t}-rtl`]: s === "rtl",
|
|
373
373
|
[`${t}-${l}`]: !!l
|
|
374
374
|
}, n, M, F);
|
|
@@ -530,7 +530,7 @@ const Jt = (e) => {
|
|
|
530
530
|
return ct(() => {
|
|
531
531
|
t.current = e;
|
|
532
532
|
}), t.current;
|
|
533
|
-
},
|
|
533
|
+
}, Zt = (e, t, o) => dt(() => e === !0 ? {
|
|
534
534
|
title: t ?? o
|
|
535
535
|
} : /* @__PURE__ */ pt(e) ? {
|
|
536
536
|
title: e
|
|
@@ -539,7 +539,7 @@ const Jt = (e) => {
|
|
|
539
539
|
}, e) : {
|
|
540
540
|
title: e
|
|
541
541
|
}, [e, t, o]);
|
|
542
|
-
var
|
|
542
|
+
var Gt = function(e, t) {
|
|
543
543
|
var o = {};
|
|
544
544
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (o[n] = e[n]);
|
|
545
545
|
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
@@ -556,14 +556,14 @@ const ve = /* @__PURE__ */ r.forwardRef((e, t) => {
|
|
|
556
556
|
children: g,
|
|
557
557
|
direction: d,
|
|
558
558
|
style: u
|
|
559
|
-
} = e, f =
|
|
559
|
+
} = e, f = Gt(e, ["prefixCls", "component", "className", "rootClassName", "setContentRef", "children", "direction", "style"]), {
|
|
560
560
|
getPrefixCls: p,
|
|
561
561
|
direction: l,
|
|
562
562
|
className: x,
|
|
563
563
|
style: O
|
|
564
564
|
} = bt("typography"), y = d ?? l, S = c ? Pe(t, c) : t, b = p("typography", o);
|
|
565
|
-
process.env.NODE_ENV !== "production" &&
|
|
566
|
-
const [I, H, w] = Ve(b), R =
|
|
565
|
+
process.env.NODE_ENV !== "production" && Q("Typography").deprecated(!c, "setContentRef", "ref");
|
|
566
|
+
const [I, H, w] = Ve(b), R = Y(b, x, {
|
|
567
567
|
[`${b}-rtl`]: y === "rtl"
|
|
568
568
|
}, i, s, H, w), j = Object.assign(Object.assign({}, O), u);
|
|
569
569
|
return I(
|
|
@@ -582,7 +582,7 @@ function Ie(e) {
|
|
|
582
582
|
function de(e, t, o) {
|
|
583
583
|
return e === !0 || e === void 0 ? t : e || o && t;
|
|
584
584
|
}
|
|
585
|
-
function
|
|
585
|
+
function Qt(e) {
|
|
586
586
|
const t = document.createElement("em");
|
|
587
587
|
e.appendChild(t), process.env.NODE_ENV !== "production" && (t.className = "ant-typography-css-ellipsis-content-measure");
|
|
588
588
|
const o = e.getBoundingClientRect(), n = t.getBoundingClientRect();
|
|
@@ -590,7 +590,7 @@ function Yt(e) {
|
|
|
590
590
|
o.left > n.left || n.right > o.right || // Vertical out of range
|
|
591
591
|
o.top > n.top || n.bottom > o.bottom;
|
|
592
592
|
}
|
|
593
|
-
const Ee = (e) => ["string", "number"].includes(typeof e),
|
|
593
|
+
const Ee = (e) => ["string", "number"].includes(typeof e), Yt = (e) => {
|
|
594
594
|
let {
|
|
595
595
|
prefixCls: t,
|
|
596
596
|
copied: o,
|
|
@@ -610,7 +610,7 @@ const Ee = (e) => ["string", "number"].includes(typeof e), Zt = (e) => {
|
|
|
610
610
|
title: y
|
|
611
611
|
}, /* @__PURE__ */ r.createElement("button", {
|
|
612
612
|
type: "button",
|
|
613
|
-
className:
|
|
613
|
+
className: Y(`${t}-copy`, {
|
|
614
614
|
[`${t}-copy-success`]: o,
|
|
615
615
|
[`${t}-copy-icon-only`]: i
|
|
616
616
|
}),
|
|
@@ -618,7 +618,7 @@ const Ee = (e) => ["string", "number"].includes(typeof e), Zt = (e) => {
|
|
|
618
618
|
"aria-label": S,
|
|
619
619
|
tabIndex: g
|
|
620
620
|
}, o ? de(p[1], /* @__PURE__ */ r.createElement(Ot, null), !0) : de(p[0], u ? /* @__PURE__ */ r.createElement(wt, null) : /* @__PURE__ */ r.createElement(He, null), !0)));
|
|
621
|
-
},
|
|
621
|
+
}, Z = /* @__PURE__ */ r.forwardRef((e, t) => {
|
|
622
622
|
let {
|
|
623
623
|
style: o,
|
|
624
624
|
children: n
|
|
@@ -658,7 +658,7 @@ function $e(e, t) {
|
|
|
658
658
|
}
|
|
659
659
|
return e;
|
|
660
660
|
}
|
|
661
|
-
const pe = 0, ue = 1, fe = 2, me = 3, De = 4,
|
|
661
|
+
const pe = 0, ue = 1, fe = 2, me = 3, De = 4, G = {
|
|
662
662
|
display: "-webkit-box",
|
|
663
663
|
overflow: "hidden",
|
|
664
664
|
WebkitBoxOrient: "vertical"
|
|
@@ -709,7 +709,7 @@ function tn(e) {
|
|
|
709
709
|
if (R !== me || !l || l[0] !== l[1]) {
|
|
710
710
|
const E = i(u, !1);
|
|
711
711
|
return [De, pe].includes(R) ? E : /* @__PURE__ */ r.createElement("span", {
|
|
712
|
-
style: Object.assign(Object.assign({},
|
|
712
|
+
style: Object.assign(Object.assign({}, G), {
|
|
713
713
|
WebkitLineClamp: s
|
|
714
714
|
})
|
|
715
715
|
}, E);
|
|
@@ -721,22 +721,22 @@ function tn(e) {
|
|
|
721
721
|
padding: 0,
|
|
722
722
|
whiteSpace: U === "nowrap" ? "normal" : "inherit"
|
|
723
723
|
};
|
|
724
|
-
return /* @__PURE__ */ r.createElement(r.Fragment, null, F, R === fe && /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(
|
|
725
|
-
style: Object.assign(Object.assign(Object.assign({}, k),
|
|
724
|
+
return /* @__PURE__ */ r.createElement(r.Fragment, null, F, R === fe && /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(Z, {
|
|
725
|
+
style: Object.assign(Object.assign(Object.assign({}, k), G), {
|
|
726
726
|
WebkitLineClamp: s
|
|
727
727
|
}),
|
|
728
728
|
ref: S
|
|
729
|
-
}, p), /* @__PURE__ */ r.createElement(
|
|
730
|
-
style: Object.assign(Object.assign(Object.assign({}, k),
|
|
729
|
+
}, p), /* @__PURE__ */ r.createElement(Z, {
|
|
730
|
+
style: Object.assign(Object.assign(Object.assign({}, k), G), {
|
|
731
731
|
WebkitLineClamp: s - 1
|
|
732
732
|
}),
|
|
733
733
|
ref: b
|
|
734
|
-
}, p), /* @__PURE__ */ r.createElement(
|
|
735
|
-
style: Object.assign(Object.assign(Object.assign({}, k),
|
|
734
|
+
}, p), /* @__PURE__ */ r.createElement(Z, {
|
|
735
|
+
style: Object.assign(Object.assign(Object.assign({}, k), G), {
|
|
736
736
|
WebkitLineClamp: 1
|
|
737
737
|
}),
|
|
738
738
|
ref: I
|
|
739
|
-
}, i([], !0))), R === me && l && l[0] !== l[1] && /* @__PURE__ */ r.createElement(
|
|
739
|
+
}, i([], !0))), R === me && l && l[0] !== l[1] && /* @__PURE__ */ r.createElement(Z, {
|
|
740
740
|
style: Object.assign(Object.assign({}, k), {
|
|
741
741
|
top: 400
|
|
742
742
|
}),
|
|
@@ -842,18 +842,18 @@ const rn = "...", ee = /* @__PURE__ */ r.forwardRef((e, t) => {
|
|
|
842
842
|
W(() => {
|
|
843
843
|
B && !X && (oe(Te("webkitLineClamp")), Ue(Te("textOverflow")));
|
|
844
844
|
}, [X, B]);
|
|
845
|
-
const [D,
|
|
845
|
+
const [D, Ze] = r.useState(_), Se = r.useMemo(() => X ? !1 : K === 1 ? he : q, [X, he, q]);
|
|
846
846
|
W(() => {
|
|
847
|
-
|
|
847
|
+
Ze(Se && _);
|
|
848
848
|
}, [Se, _]);
|
|
849
|
-
const Oe = _ && (D ? Ce : xe),
|
|
849
|
+
const Oe = _ && (D ? Ce : xe), Ge = _ && K === 1 && D, re = _ && K > 1 && D, Qe = (a, m) => {
|
|
850
850
|
var L;
|
|
851
851
|
Je(m.expanded), (L = T.onExpand) === null || L === void 0 || L.call(T, a, m);
|
|
852
|
-
}, [we,
|
|
852
|
+
}, [we, Ye] = r.useState(0), et = (a) => {
|
|
853
853
|
let {
|
|
854
854
|
offsetWidth: m
|
|
855
855
|
} = a;
|
|
856
|
-
|
|
856
|
+
Ye(m);
|
|
857
857
|
}, tt = (a) => {
|
|
858
858
|
var m;
|
|
859
859
|
Fe(a), xe !== a && ((m = T.onEllipsis) === null || m === void 0 || m.call(T, a));
|
|
@@ -861,7 +861,7 @@ const rn = "...", ee = /* @__PURE__ */ r.forwardRef((e, t) => {
|
|
|
861
861
|
r.useEffect(() => {
|
|
862
862
|
const a = I.current;
|
|
863
863
|
if (B && D && a) {
|
|
864
|
-
const m =
|
|
864
|
+
const m = Qt(a);
|
|
865
865
|
Ce !== m && Ke(m);
|
|
866
866
|
}
|
|
867
867
|
}, [B, D, d, re, qe, we]), r.useEffect(() => {
|
|
@@ -875,7 +875,7 @@ const rn = "...", ee = /* @__PURE__ */ r.forwardRef((e, t) => {
|
|
|
875
875
|
m.disconnect();
|
|
876
876
|
};
|
|
877
877
|
}, [D, _]);
|
|
878
|
-
const ie =
|
|
878
|
+
const ie = Zt(T.tooltip, v.text, d), J = r.useMemo(() => {
|
|
879
879
|
if (!(!B || D))
|
|
880
880
|
return [v.text, d, x, ie.title].find(Ee);
|
|
881
881
|
}, [B, D, x, ie.title, Oe]);
|
|
@@ -903,7 +903,7 @@ const rn = "...", ee = /* @__PURE__ */ r.forwardRef((e, t) => {
|
|
|
903
903
|
type: "button",
|
|
904
904
|
key: "expand",
|
|
905
905
|
className: `${w}-${A ? "collapse" : "expand"}`,
|
|
906
|
-
onClick: (L) =>
|
|
906
|
+
onClick: (L) => Qe(L, {
|
|
907
907
|
expanded: !A
|
|
908
908
|
}),
|
|
909
909
|
"aria-label": A ? b.collapse : b == null ? void 0 : b.expand
|
|
@@ -929,7 +929,7 @@ const rn = "...", ee = /* @__PURE__ */ r.forwardRef((e, t) => {
|
|
|
929
929
|
}, a || /* @__PURE__ */ r.createElement(ze, {
|
|
930
930
|
role: "button"
|
|
931
931
|
}))) : null;
|
|
932
|
-
}, rt = () => C ? /* @__PURE__ */ r.createElement(
|
|
932
|
+
}, rt = () => C ? /* @__PURE__ */ r.createElement(Yt, Object.assign({
|
|
933
933
|
key: "copy"
|
|
934
934
|
}, P, {
|
|
935
935
|
prefixCls: w,
|
|
@@ -950,11 +950,11 @@ const rn = "...", ee = /* @__PURE__ */ r.forwardRef((e, t) => {
|
|
|
950
950
|
enableEllipsis: _,
|
|
951
951
|
isEllipsis: Oe
|
|
952
952
|
}, /* @__PURE__ */ r.createElement(ve, Object.assign({
|
|
953
|
-
className:
|
|
953
|
+
className: Y({
|
|
954
954
|
[`${w}-${c}`]: c,
|
|
955
955
|
[`${w}-disabled`]: g,
|
|
956
956
|
[`${w}-ellipsis`]: B,
|
|
957
|
-
[`${w}-ellipsis-single-line`]:
|
|
957
|
+
[`${w}-ellipsis-single-line`]: Ge,
|
|
958
958
|
[`${w}-ellipsis-multiple-line`]: re
|
|
959
959
|
}, i),
|
|
960
960
|
prefixCls: n,
|
|
@@ -993,7 +993,7 @@ const ln = /* @__PURE__ */ r.forwardRef((e, t) => {
|
|
|
993
993
|
rel: n
|
|
994
994
|
} = e, i = sn(e, ["ellipsis", "rel"]);
|
|
995
995
|
if (process.env.NODE_ENV !== "production") {
|
|
996
|
-
const c =
|
|
996
|
+
const c = Q("Typography.Link");
|
|
997
997
|
process.env.NODE_ENV !== "production" && c(typeof o != "object", "usage", "`ellipsis` only supports boolean value.");
|
|
998
998
|
}
|
|
999
999
|
const s = Object.assign(Object.assign({}, i), {
|
|
@@ -1022,7 +1022,7 @@ const dn = (e, t) => {
|
|
|
1022
1022
|
} = e, n = cn(e, ["ellipsis"]);
|
|
1023
1023
|
const i = r.useMemo(() => o && typeof o == "object" ? Ae(o, ["expandable", "rows"]) : o, [o]);
|
|
1024
1024
|
if (process.env.NODE_ENV !== "production") {
|
|
1025
|
-
const s =
|
|
1025
|
+
const s = Q("Typography.Text");
|
|
1026
1026
|
process.env.NODE_ENV !== "production" && s(typeof o != "object" || !o || !("expandable" in o) && !("rows" in o), "usage", "`ellipsis` do not support `expandable` or `rows` props.");
|
|
1027
1027
|
}
|
|
1028
1028
|
return /* @__PURE__ */ r.createElement(ee, Object.assign({
|
|
@@ -1044,7 +1044,7 @@ const Le = [1, 2, 3, 4, 5], fn = /* @__PURE__ */ r.forwardRef((e, t) => {
|
|
|
1044
1044
|
level: o = 1
|
|
1045
1045
|
} = e, n = un(e, ["level"]);
|
|
1046
1046
|
if (process.env.NODE_ENV !== "production") {
|
|
1047
|
-
const s =
|
|
1047
|
+
const s = Q("Typography.Title");
|
|
1048
1048
|
process.env.NODE_ENV !== "production" && s(Le.includes(o), "usage", "Title only accept `1 | 2 | 3 | 4 | 5` as `level` value. And `5` need 4.6.0+ version.");
|
|
1049
1049
|
}
|
|
1050
1050
|
const i = Le.includes(o) ? `h${o}` : "h1";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as n from "react";
|
|
2
2
|
import { c as b } from "./presets-CSXMiWyc.js";
|
|
3
3
|
import { o as ye } from "./omit-B_u6A-HL.js";
|
|
4
|
-
import { d as ue } from "./index-
|
|
5
|
-
import { u as he } from "./useSize-
|
|
6
|
-
import { S as $e } from "./Skeleton-
|
|
7
|
-
import { T as fe } from "./index-
|
|
8
|
-
import { C as B, g as ve, m as Se, f as o, j as Ce, k as P, t as _ } from "./CSSMotionList-
|
|
9
|
-
import { u as xe } from "./useVariants-
|
|
4
|
+
import { d as ue } from "./index-Ce7BgA_I.js";
|
|
5
|
+
import { u as he } from "./useSize-D_iM0JXw.js";
|
|
6
|
+
import { S as $e } from "./Skeleton-CUGMlCIU.js";
|
|
7
|
+
import { T as fe } from "./index-D9i74AKg.js";
|
|
8
|
+
import { C as B, g as ve, m as Se, f as o, j as Ce, k as P, t as _ } from "./CSSMotionList-Bnxp3McO.js";
|
|
9
|
+
import { u as xe } from "./useVariants-BO1luVHT.js";
|
|
10
10
|
var Oe = function(e, a) {
|
|
11
11
|
var i = {};
|
|
12
12
|
for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && a.indexOf(t) < 0 && (i[t] = e[t]);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";const X=require("react"),te=require("./index-BD5op9DA.cjs"),B=require("./presets-CCbttGCy.cjs"),ye=require("./AntdIcon-DH0CLM1Y.cjs"),st=require("./index-CSLsxIxR.cjs"),Me=require("./toArray-Cnq83wS3.cjs"),O=require("./CSSMotionList-BkQaDrZL.cjs"),Re=require("./useMergedState-g1JWsrDw.cjs"),ke=require("./omit-BrHx-Kj7.cjs"),Te=require("./styleChecker-Vc3-yig2.cjs"),lt=require("./useLocale-Ccu6a0gD.cjs"),be=require("./index-B2Z5NSa0.cjs"),Ne=require("./KeyCode-CIq7HTTY.cjs"),at=require("./reactNode-DcoR9VZw.cjs"),ct=require("./TextArea-B8UHj7uQ.cjs"),ut=require("./_commonjsHelpers-BTDuMlIz.cjs"),dt=require("./CheckOutlined-zCdr5BJm.cjs"),pt=require("./LoadingOutlined-ByLc1sSe.cjs");function ft(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const n=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,n.get?n:{enumerable:!0,get:()=>e[o]})}}return t.default=e,Object.freeze(t)}const r=ft(X);function gt(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)&&e==null?[]:Array.isArray(e)?e:[e]}var mt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},yt=function(t,o){return r.createElement(ye.Icon,B._extends({},t,{ref:o,icon:mt}))},Pe=r.forwardRef(yt);process.env.NODE_ENV!=="production"&&(Pe.displayName="CopyOutlined");var bt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},vt=function(t,o){return r.createElement(ye.Icon,B._extends({},t,{ref:o,icon:bt}))},Ae=r.forwardRef(vt);process.env.NODE_ENV!=="production"&&(Ae.displayName="EditOutlined");var Et={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},ht=function(t,o){return r.createElement(ye.Icon,B._extends({},t,{ref:o,icon:Et}))},He=r.forwardRef(ht);process.env.NODE_ENV!=="production"&&(He.displayName="EnterOutlined");const xt=(e,t,o,n)=>{const{titleMarginBottom:i,fontWeightStrong:s}=n;return{marginBottom:i,color:o,fontWeight:s,fontSize:e,lineHeight:t}},St=e=>{const t=[1,2,3,4,5],o={};return t.forEach(n=>{o[`
|
|
2
|
+
h${n}&,
|
|
3
|
+
div&-h${n},
|
|
4
|
+
div&-h${n} > textarea,
|
|
5
|
+
h${n}
|
|
6
|
+
`]=xt(e[`fontSizeHeading${n}`],e[`lineHeightHeading${n}`],e.colorTextHeading,e)}),o},Ct=e=>{const{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},O.operationUnit(e)),{userSelect:"text",[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},Ot=e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:B.gold[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),wt=e=>{const{componentCls:t,paddingSM:o}=e,n=o;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),marginTop:e.calc(n).mul(-1).equal(),marginBottom:`calc(1em - ${O.unit(n)})`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},Rt=e=>({[`${e.componentCls}-copy-success`]:{"\n &,\n &:hover,\n &:focus":{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),Tt=()=>({"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-ellipsis-single-line":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),Nt=e=>{const{componentCls:t,titleMarginTop:o}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccess},[`&${t}-warning`]:{color:e.colorWarning},[`&${t}-danger`]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},St(e)),{[`
|
|
7
|
+
& + h1${t},
|
|
8
|
+
& + h2${t},
|
|
9
|
+
& + h3${t},
|
|
10
|
+
& + h4${t},
|
|
11
|
+
& + h5${t}
|
|
12
|
+
`]:{marginTop:o},"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5":{"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ":{marginTop:o}}}),Ot(e)),Ct(e)),{[`
|
|
13
|
+
${t}-expand,
|
|
14
|
+
${t}-collapse,
|
|
15
|
+
${t}-edit,
|
|
16
|
+
${t}-copy
|
|
17
|
+
`]:Object.assign(Object.assign({},O.operationUnit(e)),{marginInlineStart:e.marginXXS})}),wt(e)),Rt(e)),Tt()),{"&-rtl":{direction:"rtl"}})}},jt=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"}),ze=O.genStyleHooks("Typography",e=>[Nt(e)],jt),_t=e=>{const{prefixCls:t,"aria-label":o,className:n,style:i,direction:s,maxLength:c,autoSize:m=!0,value:u,onSave:p,onCancel:f,onEnd:d,component:l,enterIcon:x=r.createElement(He,null)}=e,w=r.useRef(null),y=r.useRef(!1),C=r.useRef(null),[b,$]=r.useState(u);r.useEffect(()=>{$(u)},[u]),r.useEffect(()=>{var E;if(!((E=w.current)===null||E===void 0)&&E.resizableTextArea){const{textArea:h}=w.current.resizableTextArea;h.focus();const{length:S}=h.value;h.setSelectionRange(S,S)}},[]);const z=E=>{let{target:h}=E;$(h.value.replace(/[\n\r]/g,""))},R=()=>{y.current=!0},T=()=>{y.current=!1},_=E=>{let{keyCode:h}=E;y.current||(C.current=h)},v=()=>{p(b.trim())},W=E=>{let{keyCode:h,ctrlKey:S,altKey:A,metaKey:j,shiftKey:L}=E;C.current!==h||y.current||S||A||j||L||(h===Ne.KeyCode.ENTER?(v(),d==null||d()):h===Ne.KeyCode.ESC&&f())},U=()=>{v()},[V,k,K]=ze(t),P=B.classNames(t,`${t}-edit-content`,{[`${t}-rtl`]:s==="rtl",[`${t}-${l}`]:!!l},n,k,K);return V(r.createElement("div",{className:P,style:i},r.createElement(ct.TextArea,{ref:w,maxLength:c,value:b,onChange:z,onKeyDown:_,onKeyUp:W,onCompositionStart:R,onCompositionEnd:T,onBlur:U,"aria-label":o,rows:1,autoSize:m}),x!==null?at.cloneElement(x,{className:`${t}-edit-content-confirm`}):null))};var ae,je;function It(){return je||(je=1,ae=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,o=[],n=0;n<e.rangeCount;n++)o.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||o.forEach(function(i){e.addRange(i)}),t&&t.focus()}}),ae}var ce,_e;function $t(){if(_e)return ce;_e=1;var e=It(),t={"text/plain":"Text","text/html":"Url",default:"Text"},o="Copy to clipboard: #{key}, Enter";function n(s){var c=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return s.replace(/#{\s*key\s*}/g,c)}function i(s,c){var m,u,p,f,d,l,x=!1;c||(c={}),m=c.debug||!1;try{p=e(),f=document.createRange(),d=document.getSelection(),l=document.createElement("span"),l.textContent=s,l.ariaHidden="true",l.style.all="unset",l.style.position="fixed",l.style.top=0,l.style.clip="rect(0, 0, 0, 0)",l.style.whiteSpace="pre",l.style.webkitUserSelect="text",l.style.MozUserSelect="text",l.style.msUserSelect="text",l.style.userSelect="text",l.addEventListener("copy",function(y){if(y.stopPropagation(),c.format)if(y.preventDefault(),typeof y.clipboardData>"u"){m&&console.warn("unable to use e.clipboardData"),m&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var C=t[c.format]||t.default;window.clipboardData.setData(C,s)}else y.clipboardData.clearData(),y.clipboardData.setData(c.format,s);c.onCopy&&(y.preventDefault(),c.onCopy(y.clipboardData))}),document.body.appendChild(l),f.selectNodeContents(l),d.addRange(f);var w=document.execCommand("copy");if(!w)throw new Error("copy command was unsuccessful");x=!0}catch(y){m&&console.error("unable to copy using execCommand: ",y),m&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(c.format||"text",s),c.onCopy&&c.onCopy(window.clipboardData),x=!0}catch(C){m&&console.error("unable to copy using clipboardData: ",C),m&&console.error("falling back to prompt"),u=n("message"in c?c.message:o),window.prompt(u,s)}}finally{d&&(typeof d.removeRange=="function"?d.removeRange(f):d.removeAllRanges()),l&&document.body.removeChild(l),p()}return x}return ce=i,ce}var Lt=$t();const Dt=ut.getDefaultExportFromCjs(Lt);var Mt=function(e,t,o,n){function i(s){return s instanceof o?s:new o(function(c){c(s)})}return new(o||(o=Promise))(function(s,c){function m(f){try{p(n.next(f))}catch(d){c(d)}}function u(f){try{p(n.throw(f))}catch(d){c(d)}}function p(f){f.done?s(f.value):i(f.value).then(m,u)}p((n=n.apply(e,t||[])).next())})};const kt=e=>{let{copyConfig:t,children:o}=e;const[n,i]=r.useState(!1),[s,c]=r.useState(!1),m=r.useRef(null),u=()=>{m.current&&clearTimeout(m.current)},p={};t.format&&(p.format=t.format),r.useEffect(()=>u,[]);const f=O.useEvent(d=>Mt(void 0,void 0,void 0,function*(){var l;d==null||d.preventDefault(),d==null||d.stopPropagation(),c(!0);try{const x=typeof t.text=="function"?yield t.text():t.text;Dt(x||gt(o,!0).join("")||"",p),c(!1),i(!0),u(),m.current=setTimeout(()=>{i(!1)},3e3),(l=t.onCopy)===null||l===void 0||l.call(t,d)}catch(x){throw c(!1),x}}));return{copied:n,copyLoading:s,onClick:f}};function ue(e,t){return r.useMemo(()=>{const o=!!e;return[o,Object.assign(Object.assign({},t),o&&typeof e=="object"?e:null)]},[e])}const Pt=e=>{const t=X.useRef(void 0);return X.useEffect(()=>{t.current=e}),t.current},At=(e,t,o)=>X.useMemo(()=>e===!0?{title:t??o}:X.isValidElement(e)?{title:e}:typeof e=="object"?Object.assign({title:t??o},e):{title:e},[e,t,o]);var Ht=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(o[n[i]]=e[n[i]]);return o};const ve=r.forwardRef((e,t)=>{const{prefixCls:o,component:n="article",className:i,rootClassName:s,setContentRef:c,children:m,direction:u,style:p}=e,f=Ht(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:d,direction:l,className:x,style:w}=O.useComponentConfig("typography"),y=u??l,C=c?O.composeRef(t,c):t,b=d("typography",o);process.env.NODE_ENV!=="production"&&te.devUseWarning("Typography").deprecated(!c,"setContentRef","ref");const[$,z,R]=ze(b),T=B.classNames(b,x,{[`${b}-rtl`]:y==="rtl"},i,s,z,R),_=Object.assign(Object.assign({},w),p);return $(r.createElement(n,Object.assign({className:T,style:_,ref:C},f),m))});process.env.NODE_ENV!=="production"&&(ve.displayName="Typography");function Ie(e){return e===!1?[!1,!1]:Array.isArray(e)?e:[e]}function de(e,t,o){return e===!0||e===void 0?t:e||o&&t}function zt(e){const t=document.createElement("em");e.appendChild(t),process.env.NODE_ENV!=="production"&&(t.className="ant-typography-css-ellipsis-content-measure");const o=e.getBoundingClientRect(),n=t.getBoundingClientRect();return e.removeChild(t),o.left>n.left||n.right>o.right||o.top>n.top||n.bottom>o.bottom}const Ee=e=>["string","number"].includes(typeof e),Wt=e=>{let{prefixCls:t,copied:o,locale:n,iconOnly:i,tooltips:s,icon:c,tabIndex:m,onCopy:u,loading:p}=e;const f=Ie(s),d=Ie(c),{copied:l,copy:x}=n??{},w=o?l:x,y=de(f[o?1:0],w),C=typeof y=="string"?y:w;return r.createElement(be.Tooltip,{title:y},r.createElement("button",{type:"button",className:B.classNames(`${t}-copy`,{[`${t}-copy-success`]:o,[`${t}-copy-icon-only`]:i}),onClick:u,"aria-label":C,tabIndex:m},o?de(d[1],r.createElement(dt.RefIcon,null),!0):de(d[0],p?r.createElement(pt.RefIcon,null):r.createElement(Pe,null),!0)))},Z=r.forwardRef((e,t)=>{let{style:o,children:n}=e;const i=r.useRef(null);return r.useImperativeHandle(t,()=>({isExceed:()=>{const s=i.current;return s.scrollHeight>s.clientHeight},getHeight:()=>i.current.clientHeight})),r.createElement("span",{"aria-hidden":!0,ref:i,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},o)},n)}),qt=e=>e.reduce((t,o)=>t+(Ee(o)?String(o).length:1),0);function $e(e,t){let o=0;const n=[];for(let i=0;i<e.length;i+=1){if(o===t)return n;const s=e[i],m=Ee(s)?String(s).length:1,u=o+m;if(u>t){const p=t-o;return n.push(String(s).slice(0,p)),n}n.push(s),o=u}return e}const pe=0,fe=1,ge=2,me=3,Le=4,ee={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function Bt(e){const{enableMeasure:t,width:o,text:n,children:i,rows:s,expanded:c,miscDeps:m,onEllipsis:u}=e,p=r.useMemo(()=>Me.toArray(n),[n]),f=r.useMemo(()=>qt(p),[n]),d=r.useMemo(()=>i(p,!1),[n]),[l,x]=r.useState(null),w=r.useRef(null),y=r.useRef(null),C=r.useRef(null),b=r.useRef(null),$=r.useRef(null),[z,R]=r.useState(!1),[T,_]=r.useState(pe),[v,W]=r.useState(0),[U,V]=r.useState(null);O.useLayoutEffect(()=>{_(t&&o&&f?fe:pe)},[o,n,s,t,p]),O.useLayoutEffect(()=>{var E,h,S,A;if(T===fe){_(ge);const j=y.current&&getComputedStyle(y.current).whiteSpace;V(j)}else if(T===ge){const j=!!(!((E=C.current)===null||E===void 0)&&E.isExceed());_(j?me:Le),x(j?[0,f]:null),R(j);const L=((h=C.current)===null||h===void 0?void 0:h.getHeight())||0,oe=s===1?0:((S=b.current)===null||S===void 0?void 0:S.getHeight())||0,G=((A=$.current)===null||A===void 0?void 0:A.getHeight())||0,re=Math.max(L,oe+G);W(re+1),u(j)}},[T]);const k=l?Math.ceil((l[0]+l[1])/2):0;O.useLayoutEffect(()=>{var E;const[h,S]=l||[0,0];if(h!==S){const j=(((E=w.current)===null||E===void 0?void 0:E.getHeight())||0)>v;let L=k;S-h===1&&(L=j?h:S),x(j?[h,L]:[L,S])}},[l,k]);const K=r.useMemo(()=>{if(!t)return i(p,!1);if(T!==me||!l||l[0]!==l[1]){const E=i(p,!1);return[Le,pe].includes(T)?E:r.createElement("span",{style:Object.assign(Object.assign({},ee),{WebkitLineClamp:s})},E)}return i(c?p:$e(p,l[0]),z)},[c,T,l,p].concat(O._toConsumableArray(m))),P={width:o,margin:0,padding:0,whiteSpace:U==="nowrap"?"normal":"inherit"};return r.createElement(r.Fragment,null,K,T===ge&&r.createElement(r.Fragment,null,r.createElement(Z,{style:Object.assign(Object.assign(Object.assign({},P),ee),{WebkitLineClamp:s}),ref:C},d),r.createElement(Z,{style:Object.assign(Object.assign(Object.assign({},P),ee),{WebkitLineClamp:s-1}),ref:b},d),r.createElement(Z,{style:Object.assign(Object.assign(Object.assign({},P),ee),{WebkitLineClamp:1}),ref:$},i([],!0))),T===me&&l&&l[0]!==l[1]&&r.createElement(Z,{style:Object.assign(Object.assign({},P),{top:400}),ref:w},i($e(p,k),!0)),T===fe&&r.createElement("span",{style:{whiteSpace:"inherit"},ref:y}))}const We=e=>{let{enableEllipsis:t,isEllipsis:o,children:n,tooltipProps:i}=e;return!(i!=null&&i.title)||!t?n:r.createElement(be.Tooltip,Object.assign({open:o?void 0:!1},i),n)};process.env.NODE_ENV!=="production"&&(We.displayName="EllipsisTooltip");var Vt=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(o[n[i]]=e[n[i]]);return o};function Ut(e,t){let{mark:o,code:n,underline:i,delete:s,strong:c,keyboard:m,italic:u}=e,p=t;function f(d,l){l&&(p=r.createElement(d,{},p))}return f("strong",c),f("u",i),f("del",s),f("code",n),f("mark",o),f("kbd",m),f("i",u),p}const Kt="...",ne=r.forwardRef((e,t)=>{var o;const{prefixCls:n,className:i,style:s,type:c,disabled:m,children:u,ellipsis:p,editable:f,copyable:d,component:l,title:x}=e,w=Vt(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:y,direction:C}=r.useContext(O.ConfigContext),[b]=lt.useLocale("Text"),$=r.useRef(null),z=r.useRef(null),R=y("typography",n),T=ke.omit(w,["mark","code","delete","underline","strong","keyboard","italic"]),[_,v]=ue(f),[W,U]=Re.useMergedState(!1,{value:v.editing}),{triggerType:V=["icon"]}=v,k=a=>{var g;a&&((g=v.onStart)===null||g===void 0||g.call(v)),U(a)},K=Pt(W);O.useLayoutEffect(()=>{var a;!W&&K&&((a=z.current)===null||a===void 0||a.focus())},[W]);const P=a=>{a==null||a.preventDefault(),k(!0)},E=a=>{var g;(g=v.onChange)===null||g===void 0||g.call(v,a),k(!1)},h=()=>{var a;(a=v.onCancel)===null||a===void 0||a.call(v),k(!1)},[S,A]=ue(d),{copied:j,copyLoading:L,onClick:oe}=kt({copyConfig:A,children:u}),[G,re]=r.useState(!1),[he,qe]=r.useState(!1),[xe,Be]=r.useState(!1),[Se,Ve]=r.useState(!1),[Ue,Ke]=r.useState(!0),[q,N]=ue(p,{expandable:!1,symbol:a=>a?b==null?void 0:b.collapse:b==null?void 0:b.expand}),[H,Fe]=Re.useMergedState(N.defaultExpanded||!1,{value:N.expanded}),I=q&&(!H||N.expandable==="collapsible"),{rows:F=1}=N,Q=r.useMemo(()=>I&&(N.suffix!==void 0||N.onEllipsis||N.expandable||_||S),[I,N,_,S]);O.useLayoutEffect(()=>{q&&!Q&&(re(Te.isStyleSupport("webkitLineClamp")),qe(Te.isStyleSupport("textOverflow")))},[Q,q]);const[D,Xe]=r.useState(I),Ce=r.useMemo(()=>Q?!1:F===1?he:G,[Q,he,G]);O.useLayoutEffect(()=>{Xe(Ce&&I)},[Ce,I]);const Oe=I&&(D?Se:xe),Je=I&&F===1&&D,ie=I&&F>1&&D,Ge=(a,g)=>{var M;Fe(g.expanded),(M=N.onExpand)===null||M===void 0||M.call(N,a,g)},[we,Qe]=r.useState(0),Ye=a=>{let{offsetWidth:g}=a;Qe(g)},Ze=a=>{var g;Be(a),xe!==a&&((g=N.onEllipsis)===null||g===void 0||g.call(N,a))};r.useEffect(()=>{const a=$.current;if(q&&D&&a){const g=zt(a);Se!==g&&Ve(g)}},[q,D,u,ie,Ue,we]),r.useEffect(()=>{const a=$.current;if(typeof IntersectionObserver>"u"||!a||!D||!I)return;const g=new IntersectionObserver(()=>{Ke(!!a.offsetParent)});return g.observe(a),()=>{g.disconnect()}},[D,I]);const se=At(N.tooltip,v.text,u),Y=r.useMemo(()=>{if(!(!q||D))return[v.text,u,x,se.title].find(Ee)},[q,D,x,se.title,Oe]);if(W)return r.createElement(_t,{value:(o=v.text)!==null&&o!==void 0?o:typeof u=="string"?u:"",onSave:E,onCancel:h,onEnd:v.onEnd,prefixCls:R,className:i,style:s,direction:C,component:l,maxLength:v.maxLength,autoSize:v.autoSize,enterIcon:v.enterIcon});const et=()=>{const{expandable:a,symbol:g}=N;return a?r.createElement("button",{type:"button",key:"expand",className:`${R}-${H?"collapse":"expand"}`,onClick:M=>Ge(M,{expanded:!H}),"aria-label":H?b.collapse:b==null?void 0:b.expand},typeof g=="function"?g(H):g):null},tt=()=>{if(!_)return;const{icon:a,tooltip:g,tabIndex:M}=v,le=Me.toArray(g)[0]||(b==null?void 0:b.edit),it=typeof le=="string"?le:"";return V.includes("icon")?r.createElement(be.Tooltip,{key:"edit",title:g===!1?"":le},r.createElement("button",{type:"button",ref:z,className:`${R}-edit`,onClick:P,"aria-label":it,tabIndex:M},a||r.createElement(Ae,{role:"button"}))):null},nt=()=>S?r.createElement(Wt,Object.assign({key:"copy"},A,{prefixCls:R,copied:j,locale:b,onCopy:oe,loading:L,iconOnly:u==null})):null,ot=a=>[a&&et(),tt(),nt()],rt=a=>[a&&!H&&r.createElement("span",{"aria-hidden":!0,key:"ellipsis"},Kt),N.suffix,ot(a)];return r.createElement(st.RefResizeObserver,{onResize:Ye,disabled:!I},a=>r.createElement(We,{tooltipProps:se,enableEllipsis:I,isEllipsis:Oe},r.createElement(ve,Object.assign({className:B.classNames({[`${R}-${c}`]:c,[`${R}-disabled`]:m,[`${R}-ellipsis`]:q,[`${R}-ellipsis-single-line`]:Je,[`${R}-ellipsis-multiple-line`]:ie},i),prefixCls:n,style:Object.assign(Object.assign({},s),{WebkitLineClamp:ie?F:void 0}),component:l,ref:O.composeRef(a,$,t),direction:C,onClick:V.includes("text")?P:void 0,"aria-label":Y==null?void 0:Y.toString(),title:x},T),r.createElement(Bt,{enableMeasure:I&&!D,text:u,rows:F,width:we,onEllipsis:Ze,expanded:H,miscDeps:[j,H,L,_,S,b]},(g,M)=>Ut(e,r.createElement(r.Fragment,null,g.length>0&&M&&!H&&Y?r.createElement("span",{key:"show-content","aria-hidden":!0},g):g,rt(M)))))))});var Ft=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(o[n[i]]=e[n[i]]);return o};const Xt=r.forwardRef((e,t)=>{var{ellipsis:o,rel:n}=e,i=Ft(e,["ellipsis","rel"]);if(process.env.NODE_ENV!=="production"){const c=te.devUseWarning("Typography.Link");process.env.NODE_ENV!=="production"&&c(typeof o!="object","usage","`ellipsis` only supports boolean value.")}const s=Object.assign(Object.assign({},i),{rel:n===void 0&&i.target==="_blank"?"noopener noreferrer":n});return delete s.navigate,r.createElement(ne,Object.assign({},s,{ref:t,ellipsis:!!o,component:"a"}))}),Jt=r.forwardRef((e,t)=>r.createElement(ne,Object.assign({ref:t},e,{component:"div"})));var Gt=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(o[n[i]]=e[n[i]]);return o};const Qt=(e,t)=>{var{ellipsis:o}=e,n=Gt(e,["ellipsis"]);const i=r.useMemo(()=>o&&typeof o=="object"?ke.omit(o,["expandable","rows"]):o,[o]);if(process.env.NODE_ENV!=="production"){const s=te.devUseWarning("Typography.Text");process.env.NODE_ENV!=="production"&&s(typeof o!="object"||!o||!("expandable"in o)&&!("rows"in o),"usage","`ellipsis` do not support `expandable` or `rows` props.")}return r.createElement(ne,Object.assign({ref:t},n,{ellipsis:i,component:"span"}))},Yt=r.forwardRef(Qt);var Zt=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(o[n[i]]=e[n[i]]);return o};const De=[1,2,3,4,5],en=r.forwardRef((e,t)=>{const{level:o=1}=e,n=Zt(e,["level"]);if(process.env.NODE_ENV!=="production"){const s=te.devUseWarning("Typography.Title");process.env.NODE_ENV!=="production"&&s(De.includes(o),"usage","Title only accept `1 | 2 | 3 | 4 | 5` as `level` value. And `5` need 4.6.0+ version.")}const i=De.includes(o)?`h${o}`:"h1";return r.createElement(ne,Object.assign({ref:t},n,{component:i}))}),J=ve;J.Text=Yt;J.Link=Xt;J.Title=en;J.Paragraph=Jt;exports.Typography=J;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use strict";const v=require("react"),Vt=require("./CloseOutlined-Bdhtz5G6.cjs"),Pe=require("./EllipsisOutlined-41dQ6mc7.cjs"),i=require("./presets-CCbttGCy.cjs"),qt=require("./AntdIcon-DH0CLM1Y.cjs"),st=require("./useMergedState-g1JWsrDw.cjs"),Xt=require("./index-Bml8d_Df.cjs"),f=require("./CSSMotionList-BkQaDrZL.cjs"),je=require("./index-CSLsxIxR.cjs"),de=require("./KeyCode-CIq7HTTY.cjs"),yt=require("./index-BD5op9DA.cjs"),Ut=require("./useCSSVarCls-Eahl89PI.cjs"),Ft=require("./useSize-OiGNe58i.cjs"),Yt=require("./motion-B_a-We1F.cjs"),Qt=require("./toArray-Cnq83wS3.cjs"),dt=require("./Overflow-Bthkof3a.cjs");function Zt(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const n=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,n.get?n:{enumerable:!0,get:()=>e[a]})}}return t.default=e,Object.freeze(t)}const s=Zt(v);var Jt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},ea=function(t,a){return s.createElement(qt.Icon,i._extends({},t,{ref:a,icon:Jt}))},Ke=s.forwardRef(ea);process.env.NODE_ENV!=="production"&&(Ke.displayName="PlusOutlined");const Ne=v.createContext(null);var ta=function(t){var a=t.activeTabOffset,n=t.horizontal,r=t.rtl,l=t.indicator,c=l===void 0?{}:l,o=c.size,u=c.align,d=u===void 0?"center":u,h=v.useState(),g=i._slicedToArray(h,2),x=g[0],I=g[1],A=v.useRef(),E=v.useCallback(function(S){return typeof o=="function"?o(S):typeof o=="number"?o:S},[o]);function L(){f.wrapperRaf.cancel(A.current)}return v.useEffect(function(){var S={};if(a)if(n){S.width=E(a.width);var y=r?"right":"left";d==="start"&&(S[y]=a[y]),d==="center"&&(S[y]=a[y]+a.width/2,S.transform=r?"translateX(50%)":"translateX(-50%)"),d==="end"&&(S[y]=a[y]+a.width,S.transform="translateX(-100%)")}else S.height=E(a.height),d==="start"&&(S.top=a.top),d==="center"&&(S.top=a.top+a.height/2,S.transform="translateY(-50%)"),d==="end"&&(S.top=a.top+a.height,S.transform="translateY(-100%)");return L(),A.current=f.wrapperRaf(function(){I(S)}),L},[a,n,r,d,E]),{style:x}},ut={width:0,height:0,left:0,top:0};function aa(e,t,a){return v.useMemo(function(){for(var n,r=new Map,l=t.get((n=e[0])===null||n===void 0?void 0:n.key)||ut,c=l.left+l.width,o=0;o<e.length;o+=1){var u=e[o].key,d=t.get(u);if(!d){var h;d=t.get((h=e[o-1])===null||h===void 0?void 0:h.key)||ut}var g=r.get(u)||i._objectSpread2({},d);g.right=c-g.left-g.width,r.set(u,g)}return r},[e.map(function(n){return n.key}).join("_"),t,a])}function ft(e,t){var a=s.useRef(e),n=s.useState({}),r=i._slicedToArray(n,2),l=r[1];function c(o){var u=typeof o=="function"?o(a.current):o;u!==a.current&&t(u,a.current),a.current=u,l({})}return[a.current,c]}var na=.1,vt=.01,Re=20,bt=Math.pow(.995,Re);function ra(e,t){var a=v.useState(),n=i._slicedToArray(a,2),r=n[0],l=n[1],c=v.useState(0),o=i._slicedToArray(c,2),u=o[0],d=o[1],h=v.useState(0),g=i._slicedToArray(h,2),x=g[0],I=g[1],A=v.useState(),E=i._slicedToArray(A,2),L=E[0],S=E[1],y=v.useRef();function N(T){var P=T.touches[0],p=P.screenX,$=P.screenY;l({x:p,y:$}),window.clearInterval(y.current)}function k(T){if(r){var P=T.touches[0],p=P.screenX,$=P.screenY;l({x:p,y:$});var _=p-r.x,C=$-r.y;t(_,C);var V=Date.now();d(V),I(V-u),S({x:_,y:C})}}function j(){if(r&&(l(null),S(null),L)){var T=L.x/x,P=L.y/x,p=Math.abs(T),$=Math.abs(P);if(Math.max(p,$)<na)return;var _=T,C=P;y.current=window.setInterval(function(){if(Math.abs(_)<vt&&Math.abs(C)<vt){window.clearInterval(y.current);return}_*=bt,C*=bt,t(_*Re,C*Re)},Re)}}var W=v.useRef();function K(T){var P=T.deltaX,p=T.deltaY,$=0,_=Math.abs(P),C=Math.abs(p);_===C?$=W.current==="x"?P:p:_>C?($=P,W.current="x"):($=p,W.current="y"),t(-$,-$)&&T.preventDefault()}var z=v.useRef(null);z.current={onTouchStart:N,onTouchMove:k,onTouchEnd:j,onWheel:K},s.useEffect(function(){function T(_){z.current.onTouchStart(_)}function P(_){z.current.onTouchMove(_)}function p(_){z.current.onTouchEnd(_)}function $(_){z.current.onWheel(_)}return document.addEventListener("touchmove",P,{passive:!1}),document.addEventListener("touchend",p,{passive:!0}),e.current.addEventListener("touchstart",T,{passive:!0}),e.current.addEventListener("wheel",$,{passive:!1}),function(){document.removeEventListener("touchmove",P),document.removeEventListener("touchend",p)}},[])}function _t(e){var t=v.useState(0),a=i._slicedToArray(t,2),n=a[0],r=a[1],l=v.useRef(0),c=v.useRef();return c.current=e,f.useLayoutUpdateEffect(function(){var o;(o=c.current)===null||o===void 0||o.call(c)},[n]),function(){l.current===n&&(l.current+=1,r(l.current))}}function ia(e){var t=v.useRef([]),a=v.useState({}),n=i._slicedToArray(a,2),r=n[1],l=v.useRef(typeof e=="function"?e():e),c=_t(function(){var u=l.current;t.current.forEach(function(d){u=d(u)}),t.current=[],l.current=u,r({})});function o(u){t.current.push(u),c()}return[l.current,o]}var mt={width:0,height:0,left:0,top:0,right:0};function oa(e,t,a,n,r,l,c){var o=c.tabs,u=c.tabPosition,d=c.rtl,h,g,x;return["top","bottom"].includes(u)?(h="width",g=d?"right":"left",x=Math.abs(a)):(h="height",g="top",x=-a),v.useMemo(function(){if(!o.length)return[0,0];for(var I=o.length,A=I,E=0;E<I;E+=1){var L=e.get(o[E].key)||mt;if(Math.floor(L[g]+L[h])>Math.floor(x+t)){A=E-1;break}}for(var S=0,y=I-1;y>=0;y-=1){var N=e.get(o[y].key)||mt;if(N[g]<x){S=y+1;break}}return S>=A?[0,0]:[S,A]},[e,t,n,r,l,x,u,o.map(function(I){return I.key}).join("_"),d])}function pt(e){var t;return e instanceof Map?(t={},e.forEach(function(a,n){t[n]=a})):t=e,JSON.stringify(t)}var la="TABS_DQ";function St(e){return String(e).replace(/"/g,la)}function He(e,t,a,n){return!(!a||n||e===!1||e===void 0&&(t===!1||t===null))}var $t=s.forwardRef(function(e,t){var a=e.prefixCls,n=e.editable,r=e.locale,l=e.style;return!n||n.showAdd===!1?null:s.createElement("button",{ref:t,type:"button",className:"".concat(a,"-nav-add"),style:l,"aria-label":(r==null?void 0:r.addAriaLabel)||"Add tab",onClick:function(o){n.onEdit("add",{event:o})}},n.addIcon||"+")}),We=s.forwardRef(function(e,t){var a=e.position,n=e.prefixCls,r=e.extra;if(!r)return null;var l,c={};return i._typeof(r)==="object"&&!s.isValidElement(r)?c=r:c.right=r,a==="right"&&(l=c.right),a==="left"&&(l=c.left),l?s.createElement("div",{className:"".concat(n,"-extra-content"),ref:t},l):null});process.env.NODE_ENV!=="production"&&(We.displayName="ExtraContent");var ca=s.forwardRef(function(e,t){var a=e.prefixCls,n=e.id,r=e.tabs,l=e.locale,c=e.mobile,o=e.more,u=o===void 0?{}:o,d=e.style,h=e.className,g=e.editable,x=e.tabBarGutter,I=e.rtl,A=e.removeAriaLabel,E=e.onTabClick,L=e.getPopupContainer,S=e.popupClassName,y=v.useState(!1),N=i._slicedToArray(y,2),k=N[0],j=N[1],W=v.useState(null),K=i._slicedToArray(W,2),z=K[0],T=K[1],P=u.icon,p=P===void 0?"More":P,$="".concat(n,"-more-popup"),_="".concat(a,"-dropdown"),C=z!==null?"".concat($,"-").concat(z):null,V=l==null?void 0:l.dropdownAriaLabel;function q(w,B){w.preventDefault(),w.stopPropagation(),g.onEdit("remove",{key:B,event:w})}var m=s.createElement(Pe.ExportMenu,{onClick:function(B){var G=B.key,U=B.domEvent;E(G,U),j(!1)},prefixCls:"".concat(_,"-menu"),id:$,tabIndex:-1,role:"listbox","aria-activedescendant":C,selectedKeys:[z],"aria-label":V!==void 0?V:"expanded dropdown"},r.map(function(w){var B=w.closable,G=w.disabled,U=w.closeIcon,Y=w.key,ee=w.label,Q=He(B,U,g,G);return s.createElement(Pe.MenuItem,{key:Y,id:"".concat($,"-").concat(Y),role:"option","aria-controls":n&&"".concat(n,"-panel-").concat(Y),disabled:G},s.createElement("span",null,ee),Q&&s.createElement("button",{type:"button","aria-label":A||"remove",tabIndex:0,className:"".concat(_,"-menu-item-remove"),onClick:function(ce){ce.stopPropagation(),q(ce,Y)}},U||g.removeIcon||"×"))}));function X(w){for(var B=r.filter(function(Q){return!Q.disabled}),G=B.findIndex(function(Q){return Q.key===z})||0,U=B.length,Y=0;Y<U;Y+=1){G=(G+w+U)%U;var ee=B[G];if(!ee.disabled){T(ee.key);return}}}function re(w){var B=w.which;if(!k){[de.KeyCode.DOWN,de.KeyCode.SPACE,de.KeyCode.ENTER].includes(B)&&(j(!0),w.preventDefault());return}switch(B){case de.KeyCode.UP:X(-1),w.preventDefault();break;case de.KeyCode.DOWN:X(1),w.preventDefault();break;case de.KeyCode.ESC:j(!1);break;case de.KeyCode.SPACE:case de.KeyCode.ENTER:z!==null&&E(z,w);break}}v.useEffect(function(){var w=document.getElementById(C);w&&w.scrollIntoView&&w.scrollIntoView(!1)},[z]),v.useEffect(function(){k||T(null)},[k]);var H=i._defineProperty({},I?"marginRight":"marginLeft",x);r.length||(H.visibility="hidden",H.order=1);var F=i.classNames(i._defineProperty({},"".concat(_,"-rtl"),I)),le=c?null:s.createElement(Pe.Dropdown,i._extends({prefixCls:_,overlay:m,visible:r.length?k:!1,onVisibleChange:j,overlayClassName:i.classNames(F,S),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:L},u),s.createElement("button",{type:"button",className:"".concat(a,"-nav-more"),style:H,"aria-haspopup":"listbox","aria-controls":$,id:"".concat(n,"-more"),"aria-expanded":k,onKeyDown:re},p));return s.createElement("div",{className:i.classNames("".concat(a,"-nav-operations"),h),style:d,ref:t},le,s.createElement($t,{prefixCls:a,locale:l,editable:g}))});const sa=s.memo(ca,function(e,t){return t.tabMoving});var da=function(t){var a=t.prefixCls,n=t.id,r=t.active,l=t.focus,c=t.tab,o=c.key,u=c.label,d=c.disabled,h=c.closeIcon,g=c.icon,x=t.closable,I=t.renderWrapper,A=t.removeAriaLabel,E=t.editable,L=t.onClick,S=t.onFocus,y=t.onBlur,N=t.onKeyDown,k=t.onMouseDown,j=t.onMouseUp,W=t.style,K=t.tabCount,z=t.currentPosition,T="".concat(a,"-tab"),P=He(x,h,E,d);function p(q){d||L(q)}function $(q){q.preventDefault(),q.stopPropagation(),E.onEdit("remove",{key:o,event:q})}var _=s.useMemo(function(){return g&&typeof u=="string"?s.createElement("span",null,u):u},[u,g]),C=s.useRef(null);s.useEffect(function(){l&&C.current&&C.current.focus()},[l]);var V=s.createElement("div",{key:o,"data-node-key":St(o),className:i.classNames(T,i._defineProperty(i._defineProperty(i._defineProperty(i._defineProperty({},"".concat(T,"-with-remove"),P),"".concat(T,"-active"),r),"".concat(T,"-disabled"),d),"".concat(T,"-focus"),l)),style:W,onClick:p},s.createElement("div",{ref:C,role:"tab","aria-selected":r,id:n&&"".concat(n,"-tab-").concat(o),className:"".concat(T,"-btn"),"aria-controls":n&&"".concat(n,"-panel-").concat(o),"aria-disabled":d,tabIndex:d?null:r?0:-1,onClick:function(m){m.stopPropagation(),p(m)},onKeyDown:N,onMouseDown:k,onMouseUp:j,onFocus:S,onBlur:y},l&&s.createElement("div",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"Tab ".concat(z," of ").concat(K)),g&&s.createElement("span",{className:"".concat(T,"-icon")},g),u&&_),P&&s.createElement("button",{type:"button",role:"tab","aria-label":A||"remove",tabIndex:r?0:-1,className:"".concat(T,"-remove"),onClick:function(m){m.stopPropagation(),$(m)}},h||E.removeIcon||"×"));return I?I(V):V},ua=function(t,a){var n=t.offsetWidth,r=t.offsetHeight,l=t.offsetTop,c=t.offsetLeft,o=t.getBoundingClientRect(),u=o.width,d=o.height,h=o.left,g=o.top;return Math.abs(u-n)<1?[u,d,h-a.left,g-a.top]:[n,r,c,l]},he=function(t){var a=t.current||{},n=a.offsetWidth,r=n===void 0?0:n,l=a.offsetHeight,c=l===void 0?0:l;if(t.current){var o=t.current.getBoundingClientRect(),u=o.width,d=o.height;if(Math.abs(u-r)<1)return[u,d]}return[r,c]},we=function(t,a){return t[a?0:1]},gt=s.forwardRef(function(e,t){var a=e.className,n=e.style,r=e.id,l=e.animated,c=e.activeKey,o=e.rtl,u=e.extra,d=e.editable,h=e.locale,g=e.tabPosition,x=e.tabBarGutter,I=e.children,A=e.onTabClick,E=e.onTabScroll,L=e.indicator,S=s.useContext(Ne),y=S.prefixCls,N=S.tabs,k=v.useRef(null),j=v.useRef(null),W=v.useRef(null),K=v.useRef(null),z=v.useRef(null),T=v.useRef(null),P=v.useRef(null),p=g==="top"||g==="bottom",$=ft(0,function(R,b){p&&E&&E({direction:R>b?"left":"right"})}),_=i._slicedToArray($,2),C=_[0],V=_[1],q=ft(0,function(R,b){!p&&E&&E({direction:R>b?"top":"bottom"})}),m=i._slicedToArray(q,2),X=m[0],re=m[1],H=v.useState([0,0]),F=i._slicedToArray(H,2),le=F[0],w=F[1],B=v.useState([0,0]),G=i._slicedToArray(B,2),U=G[0],Y=G[1],ee=v.useState([0,0]),Q=i._slicedToArray(ee,2),fe=Q[0],ce=Q[1],ae=v.useState([0,0]),ve=i._slicedToArray(ae,2),M=ve[0],ie=ve[1],ye=ia(new Map),qe=i._slicedToArray(ye,2),Et=qe[0],wt=qe[1],Ce=aa(N,Et,U[0]),Ie=we(le,p),_e=we(U,p),Me=we(fe,p),Xe=we(M,p),Ue=Math.floor(Ie)<Math.floor(_e+Me),ne=Ue?Ie-Xe:Ie-Me,Pt="".concat(y,"-nav-operations-hidden"),se=0,ue=0;p&&o?(se=0,ue=Math.max(0,_e-ne)):(se=Math.min(0,ne-_e),ue=0);function Oe(R){return R<se?se:R>ue?ue:R}var ze=v.useRef(null),Rt=v.useState(),Fe=i._slicedToArray(Rt,2),xe=Fe[0],Ye=Fe[1];function Le(){Ye(Date.now())}function De(){ze.current&&clearTimeout(ze.current)}ra(K,function(R,b){function O(D,te){D(function(Z){var pe=Oe(Z+te);return pe})}return Ue?(p?O(V,R):O(re,b),De(),Le(),!0):!1}),v.useEffect(function(){return De(),xe&&(ze.current=setTimeout(function(){Ye(0)},100)),De},[xe]);var Nt=oa(Ce,ne,p?C:X,_e,Me,Xe,i._objectSpread2(i._objectSpread2({},e),{},{tabs:N})),Qe=i._slicedToArray(Nt,2),It=Qe[0],Mt=Qe[1],Ze=f.useEvent(function(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:c,b=Ce.get(R)||{width:0,height:0,left:0,right:0,top:0};if(p){var O=C;o?b.right<C?O=b.right:b.right+b.width>C+ne&&(O=b.right+b.width-ne):b.left<-C?O=-b.left:b.left+b.width>-C+ne&&(O=-(b.left+b.width-ne)),re(0),V(Oe(O))}else{var D=X;b.top<-X?D=-b.top:b.top+b.height>-X+ne&&(D=-(b.top+b.height-ne)),V(0),re(Oe(D))}}),Ot=v.useState(),Je=i._slicedToArray(Ot,2),be=Je[0],Se=Je[1],zt=v.useState(!1),et=i._slicedToArray(zt,2),Lt=et[0],tt=et[1],oe=N.filter(function(R){return!R.disabled}).map(function(R){return R.key}),me=function(b){var O=oe.indexOf(be||c),D=oe.length,te=(O+b+D)%D,Z=oe[te];Se(Z)},Dt=function(b){var O=b.code,D=o&&p,te=oe[0],Z=oe[oe.length-1];switch(O){case"ArrowLeft":{p&&me(D?1:-1);break}case"ArrowRight":{p&&me(D?-1:1);break}case"ArrowUp":{b.preventDefault(),p||me(-1);break}case"ArrowDown":{b.preventDefault(),p||me(1);break}case"Home":{b.preventDefault(),Se(te);break}case"End":{b.preventDefault(),Se(Z);break}case"Enter":case"Space":{b.preventDefault(),A(be,b);break}case"Backspace":case"Delete":{var pe=oe.indexOf(be),J=N.find(function(ge){return ge.key===be}),Be=He(J==null?void 0:J.closable,J==null?void 0:J.closeIcon,d,J==null?void 0:J.disabled);Be&&(b.preventDefault(),b.stopPropagation(),d.onEdit("remove",{key:be,event:b}),pe===oe.length-1?me(-1):me(1));break}}},Te={};p?Te[o?"marginRight":"marginLeft"]=x:Te.marginTop=x;var at=N.map(function(R,b){var O=R.key;return s.createElement(da,{id:r,prefixCls:y,key:O,tab:R,style:b===0?void 0:Te,closable:R.closable,editable:d,active:O===c,focus:O===be,renderWrapper:I,removeAriaLabel:h==null?void 0:h.removeAriaLabel,tabCount:oe.length,currentPosition:b+1,onClick:function(te){A(O,te)},onKeyDown:Dt,onFocus:function(){Lt||Se(O),Ze(O),Le(),K.current&&(o||(K.current.scrollLeft=0),K.current.scrollTop=0)},onBlur:function(){Se(void 0)},onMouseDown:function(){tt(!0)},onMouseUp:function(){tt(!1)}})}),nt=function(){return wt(function(){var b,O=new Map,D=(b=z.current)===null||b===void 0?void 0:b.getBoundingClientRect();return N.forEach(function(te){var Z,pe=te.key,J=(Z=z.current)===null||Z===void 0?void 0:Z.querySelector('[data-node-key="'.concat(St(pe),'"]'));if(J){var Be=ua(J,D),ge=i._slicedToArray(Be,4),Wt=ge[0],Kt=ge[1],Ht=ge[2],Gt=ge[3];O.set(pe,{width:Wt,height:Kt,left:Ht,top:Gt})}}),O})};v.useEffect(function(){nt()},[N.map(function(R){return R.key}).join("_")]);var Ee=_t(function(){var R=he(k),b=he(j),O=he(W);w([R[0]-b[0]-O[0],R[1]-b[1]-O[1]]);var D=he(P);ce(D);var te=he(T);ie(te);var Z=he(z);Y([Z[0]-D[0],Z[1]-D[1]]),nt()}),At=N.slice(0,It),kt=N.slice(Mt+1),rt=[].concat(f._toConsumableArray(At),f._toConsumableArray(kt)),it=Ce.get(c),Bt=ta({activeTabOffset:it,horizontal:p,indicator:L,rtl:o}),jt=Bt.style;v.useEffect(function(){Ze()},[c,se,ue,pt(it),pt(Ce),p]),v.useEffect(function(){Ee()},[o]);var ot=!!rt.length,$e="".concat(y,"-nav-wrap"),Ae,ke,lt,ct;return p?o?(ke=C>0,Ae=C!==ue):(Ae=C<0,ke=C!==se):(lt=X<0,ct=X!==se),s.createElement(je.RefResizeObserver,{onResize:Ee},s.createElement("div",{ref:f.useComposeRef(t,k),role:"tablist","aria-orientation":p?"horizontal":"vertical",className:i.classNames("".concat(y,"-nav"),a),style:n,onKeyDown:function(){Le()}},s.createElement(We,{ref:j,position:"left",extra:u,prefixCls:y}),s.createElement(je.RefResizeObserver,{onResize:Ee},s.createElement("div",{className:i.classNames($e,i._defineProperty(i._defineProperty(i._defineProperty(i._defineProperty({},"".concat($e,"-ping-left"),Ae),"".concat($e,"-ping-right"),ke),"".concat($e,"-ping-top"),lt),"".concat($e,"-ping-bottom"),ct)),ref:K},s.createElement(je.RefResizeObserver,{onResize:Ee},s.createElement("div",{ref:z,className:"".concat(y,"-nav-list"),style:{transform:"translate(".concat(C,"px, ").concat(X,"px)"),transition:xe?"none":void 0}},at,s.createElement($t,{ref:P,prefixCls:y,locale:h,editable:d,style:i._objectSpread2(i._objectSpread2({},at.length===0?void 0:Te),{},{visibility:ot?"hidden":null})}),s.createElement("div",{className:i.classNames("".concat(y,"-ink-bar"),i._defineProperty({},"".concat(y,"-ink-bar-animated"),l.inkBar)),style:jt}))))),s.createElement(sa,i._extends({},e,{removeAriaLabel:h==null?void 0:h.removeAriaLabel,ref:T,prefixCls:y,tabs:rt,className:!ot&&Pt,tabMoving:!!xe})),s.createElement(We,{ref:W,position:"right",extra:u,prefixCls:y})))}),Ge=s.forwardRef(function(e,t){var a=e.prefixCls,n=e.className,r=e.style,l=e.id,c=e.active,o=e.tabKey,u=e.children;return s.createElement("div",{id:l&&"".concat(l,"-panel-").concat(o),role:"tabpanel",tabIndex:c?0:-1,"aria-labelledby":l&&"".concat(l,"-tab-").concat(o),"aria-hidden":!c,style:r,className:i.classNames(a,c&&"".concat(a,"-active"),n),ref:t},u)});process.env.NODE_ENV!=="production"&&(Ge.displayName="TabPane");var fa=["renderTabBar"],va=["label","key"],Ct=function(t){var a=t.renderTabBar,n=i._objectWithoutProperties(t,fa),r=s.useContext(Ne),l=r.tabs;if(a){var c=i._objectSpread2(i._objectSpread2({},n),{},{panes:l.map(function(o){var u=o.label,d=o.key,h=i._objectWithoutProperties(o,va);return s.createElement(Ge,i._extends({tab:u,key:d,tabKey:d},h))})});return a(c,gt)}return s.createElement(gt,n)};process.env.NODE_ENV!=="production"&&(Ct.displayName="TabNavListWrapper");var ba=["key","forceRender","style","className","destroyInactiveTabPane"],ma=function(t){var a=t.id,n=t.activeKey,r=t.animated,l=t.tabPosition,c=t.destroyInactiveTabPane,o=s.useContext(Ne),u=o.prefixCls,d=o.tabs,h=r.tabPane,g="".concat(u,"-tabpane");return s.createElement("div",{className:i.classNames("".concat(u,"-content-holder"))},s.createElement("div",{className:i.classNames("".concat(u,"-content"),"".concat(u,"-content-").concat(l),i._defineProperty({},"".concat(u,"-content-animated"),h))},d.map(function(x){var I=x.key,A=x.forceRender,E=x.style,L=x.className,S=x.destroyInactiveTabPane,y=i._objectWithoutProperties(x,ba),N=I===n;return s.createElement(f.CSSMotion,i._extends({key:I,visible:N,forceRender:A,removeOnLeave:!!(c||S),leavedClassName:"".concat(g,"-hidden")},r.tabPaneMotion),function(k,j){var W=k.style,K=k.className;return s.createElement(Ge,i._extends({},y,{prefixCls:g,id:a,tabKey:I,animated:h,active:N,style:i._objectSpread2(i._objectSpread2({},E),W),className:i.classNames(L,K),ref:j}))})})))};function pa(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},t;return e===!1?t={inkBar:!1,tabPane:!1}:e===!0?t={inkBar:!0,tabPane:!1}:t=i._objectSpread2({inkBar:!0},i._typeof(e)==="object"?e:{}),t.tabPaneMotion&&t.tabPane===void 0&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(process.env.NODE_ENV!=="production"&&i.warningOnce(!1,"`animated.tabPane` is true but `animated.tabPaneMotion` is not provided. Motion will not work."),t.tabPane=!1),t}var ga=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],ht=0,xt=s.forwardRef(function(e,t){var a=e.id,n=e.prefixCls,r=n===void 0?"rc-tabs":n,l=e.className,c=e.items,o=e.direction,u=e.activeKey,d=e.defaultActiveKey,h=e.editable,g=e.animated,x=e.tabPosition,I=x===void 0?"top":x,A=e.tabBarGutter,E=e.tabBarStyle,L=e.tabBarExtraContent,S=e.locale,y=e.more,N=e.destroyInactiveTabPane,k=e.renderTabBar,j=e.onChange,W=e.onTabClick,K=e.onTabScroll,z=e.getPopupContainer,T=e.popupClassName,P=e.indicator,p=i._objectWithoutProperties(e,ga),$=s.useMemo(function(){return(c||[]).filter(function(M){return M&&i._typeof(M)==="object"&&"key"in M})},[c]),_=o==="rtl",C=pa(g),V=v.useState(!1),q=i._slicedToArray(V,2),m=q[0],X=q[1];v.useEffect(function(){X(Xt.isMobile())},[]);var re=st.useMergedState(function(){var M;return(M=$[0])===null||M===void 0?void 0:M.key},{value:u,defaultValue:d}),H=i._slicedToArray(re,2),F=H[0],le=H[1],w=v.useState(function(){return $.findIndex(function(M){return M.key===F})}),B=i._slicedToArray(w,2),G=B[0],U=B[1];v.useEffect(function(){var M=$.findIndex(function(ye){return ye.key===F});if(M===-1){var ie;M=Math.max(0,Math.min(G,$.length-1)),le((ie=$[M])===null||ie===void 0?void 0:ie.key)}U(M)},[$.map(function(M){return M.key}).join("_"),F,G]);var Y=st.useMergedState(null,{value:a}),ee=i._slicedToArray(Y,2),Q=ee[0],fe=ee[1];v.useEffect(function(){a||(fe("rc-tabs-".concat(process.env.NODE_ENV==="test"?"test":ht)),ht+=1)},[]);function ce(M,ie){W==null||W(M,ie);var ye=M!==F;le(M),ye&&(j==null||j(M))}var ae={id:Q,activeKey:F,animated:C,tabPosition:I,rtl:_,mobile:m},ve=i._objectSpread2(i._objectSpread2({},ae),{},{editable:h,locale:S,more:y,tabBarGutter:A,onTabClick:ce,onTabScroll:K,extra:L,style:E,panes:null,getPopupContainer:z,popupClassName:T,indicator:P});return s.createElement(Ne.Provider,{value:{tabs:$,prefixCls:r}},s.createElement("div",i._extends({ref:t,id:a,className:i.classNames(r,"".concat(r,"-").concat(I),i._defineProperty(i._defineProperty(i._defineProperty({},"".concat(r,"-mobile"),m),"".concat(r,"-editable"),h),"".concat(r,"-rtl"),_),l)},p),s.createElement(Ct,i._extends({},ve,{renderTabBar:k})),s.createElement(ma,i._extends({destroyInactiveTabPane:N},ae,{animated:C}))))});process.env.NODE_ENV!=="production"&&(xt.displayName="Tabs");const ha={motionAppear:!1,motionEnter:!0,motionLeave:!0};function ya(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},a;return t===!1?a={inkBar:!1,tabPane:!1}:t===!0?a={inkBar:!0,tabPane:!0}:a=Object.assign({inkBar:!0},typeof t=="object"?t:{}),a.tabPane&&(a.tabPaneMotion=Object.assign(Object.assign({},ha),{motionName:Yt.getTransitionName(e,"switch")})),a}var _a=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]]);return a};function Sa(e){return e.filter(t=>t)}function $a(e,t){if(process.env.NODE_ENV!=="production"&&yt.devUseWarning("Tabs").deprecated(!t,"Tabs.TabPane","items"),e)return e;const a=Qt.toArray(t).map(n=>{if(s.isValidElement(n)){const{key:r,props:l}=n,c=l||{},{tab:o}=c,u=_a(c,["tab"]);return Object.assign(Object.assign({key:String(r)},u),{label:o})}return null});return Sa(a)}const Ca=e=>{const{componentCls:t,motionDurationSlow:a}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${a}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${a}`}}}}},[dt.initSlideMotion(e,"slide-up"),dt.initSlideMotion(e,"slide-down")]]},xa=e=>{const{componentCls:t,tabsCardPadding:a,cardBg:n,cardGutter:r,colorBorderSecondary:l,itemSelectedColor:c}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:a,background:n,border:`${f.unit(e.lineWidth)} ${e.lineType} ${l}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:c,background:e.colorBgContainer},[`${t}-tab-focus`]:Object.assign({},f.genFocusOutline(e,-3)),[`${t}-ink-bar`]:{visibility:"hidden"},[`& ${t}-tab${t}-tab-focus ${t}-tab-btn`]:{outline:"none"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:f.unit(r)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${f.unit(e.borderRadiusLG)} ${f.unit(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${f.unit(e.borderRadiusLG)} ${f.unit(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:f.unit(r)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${f.unit(e.borderRadiusLG)} 0 0 ${f.unit(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${f.unit(e.borderRadiusLG)} ${f.unit(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},Ta=e=>{const{componentCls:t,itemHoverColor:a,dropdownEdgeChildVerticalPadding:n}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},f.resetComponent(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${f.unit(n)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},f.textEllipsis),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${f.unit(e.paddingXXS)} ${f.unit(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:a}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},Ea=e=>{const{componentCls:t,margin:a,colorBorderSecondary:n,horizontalMargin:r,verticalItemPadding:l,verticalItemMargin:c,calc:o}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:r,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${f.unit(e.lineWidth)} ${e.lineType} ${n}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow},
|
|
2
|
+
right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav,
|
|
3
|
+
> div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:a,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:o(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:l,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:c},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:f.unit(o(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${f.unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:o(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${f.unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},wa=e=>{const{componentCls:t,cardPaddingSM:a,cardPaddingLG:n,horizontalItemPaddingSM:r,horizontalItemPaddingLG:l}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:l,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:a}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${f.unit(e.borderRadius)} ${f.unit(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${f.unit(e.borderRadius)} ${f.unit(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${f.unit(e.borderRadius)} ${f.unit(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${f.unit(e.borderRadius)} 0 0 ${f.unit(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}}}}}},Pa=e=>{const{componentCls:t,itemActiveColor:a,itemHoverColor:n,iconCls:r,tabsHorizontalItemMargin:l,horizontalItemPadding:c,itemSelectedColor:o,itemColor:u}=e,d=`${t}-tab`;return{[d]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:c,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:u,"&-btn, &-remove":{"&:focus:not(:focus-visible), &:active":{color:a}},"&-btn":{outline:"none",transition:`all ${e.motionDurationSlow}`,[`${d}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":Object.assign({flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},f.genFocusStyle(e)),"&:hover":{color:n},[`&${d}-active ${d}-btn`]:{color:o,textShadow:e.tabsActiveTextShadow},[`&${d}-focus ${d}-btn`]:Object.assign({},f.genFocusOutline(e)),[`&${d}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${d}-disabled ${d}-btn, &${d}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${d}-remove ${r}`]:{margin:0},[`${r}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${d} + ${d}`]:{margin:{_skip_check_:!0,value:l}}}},Ra=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:a,iconCls:n,cardGutter:r,calc:l}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:a},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[n]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:f.unit(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:f.unit(e.marginXS)},marginLeft:{_skip_check_:!0,value:f.unit(l(e.marginXXS).mul(-1).equal())},[n]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:r},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},Na=e=>{const{componentCls:t,tabsCardPadding:a,cardHeight:n,cardGutter:r,itemHoverColor:l,itemActiveColor:c,colorBorderSecondary:o}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},f.resetComponent(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:a,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:n,marginLeft:{_skip_check_:!0,value:r},padding:f.unit(e.paddingXS),background:"transparent",border:`${f.unit(e.lineWidth)} ${e.lineType} ${o}`,borderRadius:`${f.unit(e.borderRadiusLG)} ${f.unit(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:l},"&:active, &:focus:not(:focus-visible)":{color:c}},f.genFocusStyle(e,-3))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),Pa(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:Object.assign(Object.assign({},f.genFocusStyle(e)),{"&-hidden":{display:"none"}})}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping']) > ${t}-nav-list`]:{margin:"auto"}}}}}},Ia=e=>{const t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${e.paddingXXS*1.5}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${e.paddingXXS*1.5}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}},Ma=f.genStyleHooks("Tabs",e=>{const t=f.merge(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${f.unit(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${f.unit(e.horizontalItemGutter)}`});return[wa(t),Ra(t),Ea(t),Ta(t),xa(t),Na(t),Ca(t)]},Ia),Tt=()=>null;process.env.NODE_ENV!=="production"&&(Tt.displayName="DeprecatedTabPane");var Oa=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(e,n[r])&&(a[n[r]]=e[n[r]]);return a};const Ve=e=>{var t,a,n,r,l,c,o,u,d,h,g;const{type:x,className:I,rootClassName:A,size:E,onEdit:L,hideAdd:S,centered:y,addIcon:N,removeIcon:k,moreIcon:j,more:W,popupClassName:K,children:z,items:T,animated:P,style:p,indicatorSize:$,indicator:_}=e,C=Oa(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:V}=C,{direction:q,tabs:m,getPrefixCls:X,getPopupContainer:re}=s.useContext(f.ConfigContext),H=X("tabs",V),F=Ut.useCSSVarCls(H),[le,w,B]=Ma(H,F);let G;x==="editable-card"&&(G={onEdit:(ae,ve)=>{let{key:M,event:ie}=ve;L==null||L(ae==="add"?ie:M,ae)},removeIcon:(t=k??(m==null?void 0:m.removeIcon))!==null&&t!==void 0?t:s.createElement(Vt.RefIcon,null),addIcon:(N??(m==null?void 0:m.addIcon))||s.createElement(Ke,null),showAdd:S!==!0});const U=X();if(process.env.NODE_ENV!=="production"){const ae=yt.devUseWarning("Tabs");process.env.NODE_ENV!=="production"&&ae(!("onPrevClick"in e)&&!("onNextClick"in e),"breaking","`onPrevClick` and `onNextClick` has been removed. Please use `onTabScroll` instead."),process.env.NODE_ENV!=="production"&&ae(!($||m!=null&&m.indicatorSize),"deprecated","`indicatorSize` has been deprecated. Please use `indicator={{ size: ... }}` instead.")}const Y=Ft.useSize(E),ee=$a(T,z),Q=ya(H,P),fe=Object.assign(Object.assign({},m==null?void 0:m.style),p),ce={align:(a=_==null?void 0:_.align)!==null&&a!==void 0?a:(n=m==null?void 0:m.indicator)===null||n===void 0?void 0:n.align,size:(o=(l=(r=_==null?void 0:_.size)!==null&&r!==void 0?r:$)!==null&&l!==void 0?l:(c=m==null?void 0:m.indicator)===null||c===void 0?void 0:c.size)!==null&&o!==void 0?o:m==null?void 0:m.indicatorSize};return le(s.createElement(xt,Object.assign({direction:q,getPopupContainer:re},C,{items:ee,className:i.classNames({[`${H}-${Y}`]:Y,[`${H}-card`]:["card","editable-card"].includes(x),[`${H}-editable-card`]:x==="editable-card",[`${H}-centered`]:y},m==null?void 0:m.className,I,A,w,B,F),popupClassName:i.classNames(K,w,B,F),style:fe,editable:G,more:Object.assign({icon:(g=(h=(d=(u=m==null?void 0:m.more)===null||u===void 0?void 0:u.icon)!==null&&d!==void 0?d:m==null?void 0:m.moreIcon)!==null&&h!==void 0?h:j)!==null&&g!==void 0?g:s.createElement(Pe.RefIcon,null),transitionName:`${U}-slide-up`},W),prefixCls:H,animated:Q,indicator:ce})))};Ve.TabPane=Tt;process.env.NODE_ENV!=="production"&&(Ve.displayName="Tabs");exports.RefIcon=Ke;exports.Tabs=Ve;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require('./components/Avatar/Avatar.[format === "es" ? "js" : "cjs"]'),r=require('./components/Badge/Badge.[format === "es" ? "js" : "cjs"]'),t=require('./components/Breadcrumb/Breadcrumb.[format === "es" ? "js" : "cjs"]'),n=require('./components/Button/Button.[format === "es" ? "js" : "cjs"]'),s=require('./components/Button/UtilityButton.[format === "es" ? "js" : "cjs"]'),c=require('./components/Button/IconButton.[format === "es" ? "js" : "cjs"]'),i=require('./components/Card/Card.[format === "es" ? "js" : "cjs"]'),a=require('./components/Checkbox/Checkbox.[format === "es" ? "js" : "cjs"]'),u=require('./components/DatePicker/DatePicker.[format === "es" ? "js" : "cjs"]'),_=require('./components/DateRangePicker/DateRangePicker.[format === "es" ? "js" : "cjs"]'),p=require('./components/ErrorBoundary/ErrorBoundary.[format === "es" ? "js" : "cjs"]'),l=require('./components/ErrorBoundaryFallback/ErrorBoundaryFallback.[format === "es" ? "js" : "cjs"]'),e=require("./Typography-DCxwDJFP.cjs"),m=require('./components/Input/Input.[format === "es" ? "js" : "cjs"]'),q=require('./components/Layout/Layout.[format === "es" ? "js" : "cjs"]'),d=require('./components/Message/Message.[format === "es" ? "js" : "cjs"]'),y=require('./components/Notification/Notification.[format === "es" ? "js" : "cjs"]'),B=require('./components/Popover/Popover.[format === "es" ? "js" : "cjs"]'),b=require('./components/Progress/Progress.[format === "es" ? "js" : "cjs"]'),g=require('./components/Radio/RadioGroup.[format === "es" ? "js" : "cjs"]'),S=require('./components/Row/Row.[format === "es" ? "js" : "cjs"]'),T=require('./components/SegmentedControls/SegmentedControls.[format === "es" ? "js" : "cjs"]'),P=require('./components/Select/Select.[format === "es" ? "js" : "cjs"]'),v=require('./components/Shapes/Shapes.[format === "es" ? "js" : "cjs"]'),k=require('./components/Switch/Switch.[format === "es" ? "js" : "cjs"]'),h=require('./components/Table/Table.[format === "es" ? "js" : "cjs"]'),G=require('./components/Tabs/Tabs.[format === "es" ? "js" : "cjs"]'),C=require('./components/Tile/Tile.[format === "es" ? "js" : "cjs"]'),R=require('./components/Tooltip/Tooltip.[format === "es" ? "js" : "cjs"]'),E=require('./providers/GenesisProvider.[format === "es" ? "js" : "cjs"]'),w=require("./constants/index.cjs.js"),D=require('./styles/global-styles.[format === "es" ? "js" : "cjs"]');exports.Avatar=o;exports.Badge=r;exports.Breadcrumb=t;exports.Button=n;exports.UtilityButton=s;exports.IconButton=c;exports.Card=i;exports.Checkbox=a;exports.DatePicker=u;exports.DateRangePicker=_;exports.ErrorBoundary=p;exports.ErrorBoundaryFallback=l;exports.Form=e.Form;exports.Toast=e.Toast;exports.Typography=e.Typography;exports.useGenesis=e.useGenesis;exports.Input=m;exports.Layout=q;exports.Message=d;exports.Notification=y;exports.Popover=B;exports.Progress=b;exports.RadioGroup=g;exports.Row=S;exports.SegmentedControls=T;exports.Select=P;exports.Shapes=v;exports.Switch=k;exports.Table=h;exports.Tabs=G;exports.Tile=C;exports.Tooltip=R;exports.GenesisProvider=E.GenesisProvider;exports.GENESIS=w.default;exports.GlobalStyles=D.GlobalStyles;
|
package/dist/index.es.js
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { default as r } from './components/Avatar/Avatar.[format === "es" ? "js" : "cjs"]';
|
|
2
|
+
import { default as t } from './components/Badge/Badge.[format === "es" ? "js" : "cjs"]';
|
|
3
|
+
import { default as s } from './components/Breadcrumb/Breadcrumb.[format === "es" ? "js" : "cjs"]';
|
|
4
|
+
import { default as u } from './components/Button/Button.[format === "es" ? "js" : "cjs"]';
|
|
5
|
+
import { default as d } from './components/Button/UtilityButton.[format === "es" ? "js" : "cjs"]';
|
|
6
|
+
import { default as x } from './components/Button/IconButton.[format === "es" ? "js" : "cjs"]';
|
|
7
|
+
import { default as n } from './components/Card/Card.[format === "es" ? "js" : "cjs"]';
|
|
8
|
+
import { default as y } from './components/Checkbox/Checkbox.[format === "es" ? "js" : "cjs"]';
|
|
9
|
+
import { default as S } from './components/DatePicker/DatePicker.[format === "es" ? "js" : "cjs"]';
|
|
10
|
+
import { default as b } from './components/DateRangePicker/DateRangePicker.[format === "es" ? "js" : "cjs"]';
|
|
11
|
+
import { default as G } from './components/ErrorBoundary/ErrorBoundary.[format === "es" ? "js" : "cjs"]';
|
|
12
|
+
import { default as h } from './components/ErrorBoundaryFallback/ErrorBoundaryFallback.[format === "es" ? "js" : "cjs"]';
|
|
13
|
+
import { F as E, T as v, a as C, u as F } from "./Typography-BKm8uXM1.js";
|
|
14
|
+
import { default as R } from './components/Input/Input.[format === "es" ? "js" : "cjs"]';
|
|
15
|
+
import { default as D } from './components/Layout/Layout.[format === "es" ? "js" : "cjs"]';
|
|
16
|
+
import { default as A } from './components/Message/Message.[format === "es" ? "js" : "cjs"]';
|
|
17
|
+
import { default as M } from './components/Notification/Notification.[format === "es" ? "js" : "cjs"]';
|
|
18
|
+
import { default as j } from './components/Popover/Popover.[format === "es" ? "js" : "cjs"]';
|
|
19
|
+
import { default as z } from './components/Progress/Progress.[format === "es" ? "js" : "cjs"]';
|
|
20
|
+
import { default as J } from './components/Radio/RadioGroup.[format === "es" ? "js" : "cjs"]';
|
|
21
|
+
import { default as O } from './components/Row/Row.[format === "es" ? "js" : "cjs"]';
|
|
22
|
+
import { default as V } from './components/SegmentedControls/SegmentedControls.[format === "es" ? "js" : "cjs"]';
|
|
23
|
+
import { default as X } from './components/Select/Select.[format === "es" ? "js" : "cjs"]';
|
|
24
|
+
import { default as Z } from './components/Shapes/Shapes.[format === "es" ? "js" : "cjs"]';
|
|
25
|
+
import { default as $ } from './components/Switch/Switch.[format === "es" ? "js" : "cjs"]';
|
|
26
|
+
import { default as eo } from './components/Table/Table.[format === "es" ? "js" : "cjs"]';
|
|
27
|
+
import { default as ao } from './components/Tabs/Tabs.[format === "es" ? "js" : "cjs"]';
|
|
28
|
+
import { default as fo } from './components/Tile/Tile.[format === "es" ? "js" : "cjs"]';
|
|
29
|
+
import { default as lo } from './components/Tooltip/Tooltip.[format === "es" ? "js" : "cjs"]';
|
|
30
|
+
import { GenesisProvider as po } from './providers/GenesisProvider.[format === "es" ? "js" : "cjs"]';
|
|
31
|
+
import { default as xo } from "./constants/index.es.js";
|
|
32
|
+
import { GlobalStyles as no } from './styles/global-styles.[format === "es" ? "js" : "cjs"]';
|
|
33
|
+
export {
|
|
34
|
+
r as Avatar,
|
|
35
|
+
t as Badge,
|
|
36
|
+
s as Breadcrumb,
|
|
37
|
+
u as Button,
|
|
38
|
+
n as Card,
|
|
39
|
+
y as Checkbox,
|
|
40
|
+
S as DatePicker,
|
|
41
|
+
b as DateRangePicker,
|
|
42
|
+
G as ErrorBoundary,
|
|
43
|
+
h as ErrorBoundaryFallback,
|
|
44
|
+
E as Form,
|
|
45
|
+
xo as GENESIS,
|
|
46
|
+
po as GenesisProvider,
|
|
47
|
+
no as GlobalStyles,
|
|
48
|
+
x as IconButton,
|
|
49
|
+
R as Input,
|
|
50
|
+
D as Layout,
|
|
51
|
+
A as Message,
|
|
52
|
+
M as Notification,
|
|
53
|
+
j as Popover,
|
|
54
|
+
z as Progress,
|
|
55
|
+
J as RadioGroup,
|
|
56
|
+
O as Row,
|
|
57
|
+
V as SegmentedControls,
|
|
58
|
+
X as Select,
|
|
59
|
+
Z as Shapes,
|
|
60
|
+
$ as Switch,
|
|
61
|
+
eo as Table,
|
|
62
|
+
ao as Tabs,
|
|
63
|
+
fo as Tile,
|
|
64
|
+
v as Toast,
|
|
65
|
+
lo as Tooltip,
|
|
66
|
+
C as Typography,
|
|
67
|
+
d as UtilityButton,
|
|
68
|
+
F as useGenesis
|
|
69
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var d=(e=>(e.request_received="request_received",e.confirmed="confirmed",e.scheduled="scheduled",e.cancelled="cancelled",e.ready="ready",e.loaded="loaded",e.on_the_way="on_the_way",e.arrived="arrived",e.incomplete="incomplete",e.started="started",e.done="done",e.staging="staging",e.completed="completed",e.signed="signed",e.failed="failed",e))(d||{}),r=(e=>(e.pending_receiving="pending_receiving",e.staged="staged",e))(r||{});exports.AppointmentStatus=d;exports.ParcelAppointmentPackageStatus=r;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var t=(e=>(e.CREATING_ROUTES="creating_routes",e.CREATING_DISTANCE_ETAS="creating_distance_etas",e.ACTIVE="active",e.COMPLETED="completed",e.COMPLETED_WITHOUT_STATISTICS="completed_without_statistics",e.FAILED="failed",e.CANCELLED="cancelled",e))(t||{});const i=["active","creating_routes"];exports.JobStatus=t;exports.OngoingJobStatus=i;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r=(e=>(e.CREATE="create",e.UPDATE="update",e.DELETE="delete",e.START="start",e.COMPLETE="complete",e))(r||{}),a=(e=>(e.MANUAL="manual",e.SYSTEM="system",e))(a||{});exports.RouteEventAction=r;exports.RouteEventActionMethod=a;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|