@gobolt/genesis 0.1.5 → 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 +6 -8
- 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-B2J8CPnt.js → Typography-BKm8uXM1.js} +52 -50
- 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/Button.d.ts +4 -3
- package/dist/components/Button/IconButton.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Button/IconButton.d.ts +8 -0
- package/dist/components/Button/UtilityButton.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Button/UtilityButton.d.ts +5 -0
- package/dist/components/Button/__stories__/Button.stories.d.ts +0 -4
- package/dist/components/Button/__stories__/IconButton.stories.d.ts +8 -0
- package/dist/components/Button/__stories__/UtilityButton.stories.d.ts +8 -0
- package/dist/components/Button/__tests__/Button.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Button/icon-button-styles.[format === /"es/" ? /"js/" : /"cjs/"]" +61 -0
- package/dist/components/Button/icon-button-styles.d.ts +1 -0
- package/dist/components/Button/index.cjs.js +1 -0
- package/dist/components/Button/index.d.ts +4 -0
- package/dist/components/Button/index.es.js +8 -0
- package/dist/components/Button/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +66 -0
- package/dist/components/Button/styles.d.ts +1 -15
- 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/__stories__/Switch.stories.d.ts +2 -1
- 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.d.ts +4 -0
- package/dist/components/index.es.js +62 -0
- package/dist/constants/index.cjs.js +1 -0
- package/dist/constants/index.d.ts +2 -0
- package/dist/constants/{index.js → index.es.js} +14 -13
- 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-aZdxWCJq.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/design-tokens/variables.d.ts +2 -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.d.ts +2 -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/genesis-theme.types.d.ts +7 -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 -62
- 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 -71
- 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 -26
- package/dist/components/Button/__tests__/Button.test.js +0 -17
- package/dist/components/Button/index.js +0 -4
- package/dist/components/Button/styles.js +0 -74
- 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 -52
- 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 -947
- package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.js +0 -86
- 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 -73
- 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 -56
- 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 -171
- 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 -172
- 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 -82
- 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 -106
- 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 -1462
- 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 -93
- package/dist/components/Progress/Progress.util.js +0 -63
- package/dist/components/Progress/ProgressText.js +0 -68
- 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 -45
- 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 -60
- package/dist/components/Row/RowLabelValue/RowLabelValue.js +0 -63
- 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 -322
- 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 -37
- 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 -51
- 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 -58
- package/dist/declaration.d.js +0 -1
- package/dist/genesis/GenesisThemeBreakdown.js +0 -145
- package/dist/genesis/GenesisThemeDemo.js +0 -7
- package/dist/index.js +0 -65
- 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 -37
- 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 -60
- package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.js +0 -64
- package/dist/styles/design-tokens/variables.js +0 -697
- package/dist/styles/theme/genesis-theme.js +0 -1095
- 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 -1652
- 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
|
@@ -1,25 +1,26 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { styled as mt } from './utils/styled.[format === "es" ? "js" : "cjs"]';
|
|
2
|
+
import { d as he, D as ft, V as pt, a as gt, g as _e, s as ht, l as bt, w as yt } from "./index-Ce7BgA_I.js";
|
|
3
|
+
import { a as we, u as $t, V as vt, b as Xe, c as te, R as xt, F as fe, d as ke, C as Ct, L as wt, W as St, e as Ot, f as Et } from "./context-CTca8gjn.js";
|
|
4
|
+
import { g as Se, m as Ke, f as Q, C as be, j as Ye, n as Y, p as It, $ as Ft, a0 as Nt, l as jt, S as Mt, w as Pe, z as _t, q as Pt, X as Rt, h as Ue, u as Vt, y as Dt } from "./CSSMotionList-Bnxp3McO.js";
|
|
4
5
|
import * as l from "react";
|
|
5
|
-
import { createContext as
|
|
6
|
-
import { c as J, e as
|
|
7
|
-
import { i as Re } from "./motion-
|
|
8
|
-
import { u as Oe } from "./useCSSVarCls-
|
|
9
|
-
import { g as
|
|
10
|
-
import { z as Qe, T as
|
|
11
|
-
import { u as
|
|
12
|
-
import { c as
|
|
13
|
-
import { t as
|
|
14
|
-
import { i as
|
|
15
|
-
import { o as
|
|
16
|
-
import { r as pe, u as
|
|
17
|
-
import { I as
|
|
18
|
-
import { u as
|
|
19
|
-
import { R as
|
|
20
|
-
import { R as
|
|
21
|
-
import { R as
|
|
22
|
-
import { R as
|
|
6
|
+
import { createContext as Lt } from "react";
|
|
7
|
+
import { c as J, e as Tt } from "./presets-CSXMiWyc.js";
|
|
8
|
+
import { i as Re } from "./motion-Tyjtqn8t.js";
|
|
9
|
+
import { u as Oe } from "./useCSSVarCls-CwGsW74t.js";
|
|
10
|
+
import { g as Wt } from "./collapse-Dtpt-6W_.js";
|
|
11
|
+
import { z as Qe, T as Ht } from "./index-DJcvYBdb.js";
|
|
12
|
+
import { u as At } from "./useSize-D_iM0JXw.js";
|
|
13
|
+
import { c as zt } from "./reactNode-sKPeiqPL.js";
|
|
14
|
+
import { t as qt } from "./toArray-BdEmgTlP.js";
|
|
15
|
+
import { i as Bt } from "./isVisible-D3-B85BJ.js";
|
|
16
|
+
import { o as Gt } from "./omit-B_u6A-HL.js";
|
|
17
|
+
import { r as pe, u as Xt } from "./useBreakpoint-C6P2JavP.js";
|
|
18
|
+
import { I as kt } from "./AntdIcon-DP6hPDqu.js";
|
|
19
|
+
import { u as Kt } from "./useLocale-DkcoQ5u9.js";
|
|
20
|
+
import { R as Yt } from "./CheckCircleFilled-B-wrMduA.js";
|
|
21
|
+
import { R as Ut } from "./CloseCircleFilled-WEQ0SaSW.js";
|
|
22
|
+
import { R as Qt } from "./ExclamationCircleFilled-x8Sr29BN.js";
|
|
23
|
+
import { R as Jt } from "./LoadingOutlined-DOi5EGOl.js";
|
|
23
24
|
const Ve = (e) => typeof e == "object" && e != null && e.nodeType === 1, De = (e, t) => (!t || e !== "hidden") && e !== "visible" && e !== "clip", ue = (e, t) => {
|
|
24
25
|
if (e.clientHeight < e.scrollHeight || e.clientWidth < e.scrollWidth) {
|
|
25
26
|
const r = getComputedStyle(e, null);
|
|
@@ -36,7 +37,7 @@ const Ve = (e) => typeof e == "object" && e != null && e.nodeType === 1, De = (e
|
|
|
36
37
|
})(e);
|
|
37
38
|
}
|
|
38
39
|
return !1;
|
|
39
|
-
}, de = (e, t, r, n, o, s, a, i) => s < e && a > t || s > e && a < t ? 0 : s <= e && i <= r || a >= t && i >= r ? s - e - n : a > t && i < r || s < e && i > r ? a - t + o : 0,
|
|
40
|
+
}, de = (e, t, r, n, o, s, a, i) => s < e && a > t || s > e && a < t ? 0 : s <= e && i <= r || a >= t && i >= r ? s - e - n : a > t && i < r || s < e && i > r ? a - t + o : 0, Zt = (e) => {
|
|
40
41
|
const t = e.parentElement;
|
|
41
42
|
return t ?? (e.getRootNode().host || null);
|
|
42
43
|
}, Le = (e, t) => {
|
|
@@ -47,7 +48,7 @@ const Ve = (e) => typeof e == "object" && e != null && e.nodeType === 1, De = (e
|
|
|
47
48
|
const I = document.scrollingElement || document.documentElement, j = [];
|
|
48
49
|
let C = e;
|
|
49
50
|
for (; Ve(C) && $(C); ) {
|
|
50
|
-
if (C =
|
|
51
|
+
if (C = Zt(C), C === I) {
|
|
51
52
|
j.push(C);
|
|
52
53
|
break;
|
|
53
54
|
}
|
|
@@ -64,18 +65,18 @@ const Ve = (e) => typeof e == "object" && e != null && e.nodeType === 1, De = (e
|
|
|
64
65
|
if (a === "if-needed" && p >= 0 && x >= 0 && F <= y && v <= S && (f === I && !ue(f) || p >= q && F <= le && x >= X && v <= K)) return T;
|
|
65
66
|
const Z = getComputedStyle(f), B = parseInt(Z.borderLeftWidth, 10), ee = parseInt(Z.borderTopWidth, 10), k = parseInt(Z.borderRightWidth, 10), N = parseInt(Z.borderBottomWidth, 10);
|
|
66
67
|
let R = 0, M = 0;
|
|
67
|
-
const _ = "offsetWidth" in f ? f.offsetWidth - f.clientWidth - B - k : 0, H = "offsetHeight" in f ? f.offsetHeight - f.clientHeight - ee - N : 0, G = "offsetWidth" in f ? f.offsetWidth === 0 ? 0 : E / f.offsetWidth : 0,
|
|
68
|
+
const _ = "offsetWidth" in f ? f.offsetWidth - f.clientWidth - B - k : 0, H = "offsetHeight" in f ? f.offsetHeight - f.clientHeight - ee - N : 0, G = "offsetWidth" in f ? f.offsetWidth === 0 ? 0 : E / f.offsetWidth : 0, re = "offsetHeight" in f ? f.offsetHeight === 0 ? 0 : z / f.offsetHeight : 0;
|
|
68
69
|
if (I === f) R = i === "start" ? D : i === "end" ? D - y : i === "nearest" ? de(P, P + y, y, ee, N, P + D, P + D + u, u) : D - y / 2, M = c === "start" ? w : c === "center" ? w - S / 2 : c === "end" ? w - S : de(d, d + S, S, B, k, d + w, d + w + h, h), R = Math.max(0, R + P), M = Math.max(0, M + d);
|
|
69
70
|
else {
|
|
70
71
|
R = i === "start" ? D - q - ee : i === "end" ? D - le + N + H : i === "nearest" ? de(q, le, z, ee, N + H, D, D + u, u) : D - (q + z / 2) + H / 2, M = c === "start" ? w - X - B : c === "center" ? w - (X + E / 2) + _ / 2 : c === "end" ? w - K + k + _ : de(X, K, E, B, k + _, w, w + h, h);
|
|
71
|
-
const { scrollLeft:
|
|
72
|
-
R =
|
|
72
|
+
const { scrollLeft: oe, scrollTop: L } = f;
|
|
73
|
+
R = re === 0 ? 0 : Math.max(0, Math.min(L + R / re, f.scrollHeight - z / re + H)), M = G === 0 ? 0 : Math.max(0, Math.min(oe + M / G, f.scrollWidth - E / G + _)), D += L - R, w += oe - M;
|
|
73
74
|
}
|
|
74
75
|
T.push({ el: f, top: R, left: M });
|
|
75
76
|
}
|
|
76
77
|
return T;
|
|
77
|
-
},
|
|
78
|
-
function
|
|
78
|
+
}, en = (e) => e === !1 ? { block: "end", inline: "nearest" } : ((t) => t === Object(t) && Object.keys(t).length !== 0)(e) ? e : { block: "start", inline: "nearest" };
|
|
79
|
+
function tn(e, t) {
|
|
79
80
|
if (!e.isConnected || !((o) => {
|
|
80
81
|
let s = o;
|
|
81
82
|
for (; s && s.parentNode; ) {
|
|
@@ -90,12 +91,12 @@ function en(e, t) {
|
|
|
90
91
|
})(e);
|
|
91
92
|
if (((o) => typeof o == "object" && typeof o.behavior == "function")(t)) return t.behavior(Le(e, t));
|
|
92
93
|
const n = typeof t == "boolean" || t == null ? void 0 : t.behavior;
|
|
93
|
-
for (const { el: o, top: s, left: a } of Le(e,
|
|
94
|
+
for (const { el: o, top: s, left: a } of Le(e, en(t))) {
|
|
94
95
|
const i = s - r.top + r.bottom, c = a - r.left + r.right;
|
|
95
96
|
o.scroll({ top: i, left: c, behavior: n });
|
|
96
97
|
}
|
|
97
98
|
}
|
|
98
|
-
const
|
|
99
|
+
const nn = (e) => {
|
|
99
100
|
const {
|
|
100
101
|
componentCls: t
|
|
101
102
|
} = e;
|
|
@@ -145,7 +146,7 @@ const tn = (e) => {
|
|
|
145
146
|
}
|
|
146
147
|
}
|
|
147
148
|
};
|
|
148
|
-
},
|
|
149
|
+
}, rn = (e) => {
|
|
149
150
|
const {
|
|
150
151
|
componentCls: t
|
|
151
152
|
} = e;
|
|
@@ -158,7 +159,7 @@ const tn = (e) => {
|
|
|
158
159
|
minHeight: 1
|
|
159
160
|
}
|
|
160
161
|
};
|
|
161
|
-
},
|
|
162
|
+
}, on = (e, t) => {
|
|
162
163
|
const {
|
|
163
164
|
prefixCls: r,
|
|
164
165
|
componentCls: n,
|
|
@@ -205,23 +206,23 @@ const tn = (e) => {
|
|
|
205
206
|
return s[`${n}${t}-flex`] = {
|
|
206
207
|
flex: `var(--${r}${t}-flex)`
|
|
207
208
|
}, s;
|
|
208
|
-
}, Ce = (e, t) =>
|
|
209
|
+
}, Ce = (e, t) => on(e, t), ln = (e, t, r) => ({
|
|
209
210
|
[`@media (min-width: ${Q(t)})`]: Object.assign({}, Ce(e, r))
|
|
210
|
-
}),
|
|
211
|
+
}), sn = () => ({}), an = () => ({}), cn = Se("Grid", nn, sn), un = (e) => ({
|
|
211
212
|
xs: e.screenXSMin,
|
|
212
213
|
sm: e.screenSMMin,
|
|
213
214
|
md: e.screenMDMin,
|
|
214
215
|
lg: e.screenLGMin,
|
|
215
216
|
xl: e.screenXLMin,
|
|
216
217
|
xxl: e.screenXXLMin
|
|
217
|
-
}),
|
|
218
|
+
}), dn = Se("Grid", (e) => {
|
|
218
219
|
const t = Ke(e, {
|
|
219
220
|
gridColumns: 24
|
|
220
221
|
// Row is divided into 24 parts in Grid
|
|
221
|
-
}), r =
|
|
222
|
-
return delete r.xs, [
|
|
223
|
-
},
|
|
224
|
-
var
|
|
222
|
+
}), r = un(t);
|
|
223
|
+
return delete r.xs, [rn(t), Ce(t, ""), Ce(t, "-xs"), Object.keys(r).map((n) => ln(t, r[n], `-${n}`)).reduce((n, o) => Object.assign(Object.assign({}, n), o), {})];
|
|
224
|
+
}, an), Je = /* @__PURE__ */ Lt({});
|
|
225
|
+
var mn = function(e, t) {
|
|
225
226
|
var r = {};
|
|
226
227
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
227
228
|
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var o = 0, n = Object.getOwnPropertySymbols(e); o < n.length; o++)
|
|
@@ -231,7 +232,7 @@ var dn = function(e, t) {
|
|
|
231
232
|
function Te(e) {
|
|
232
233
|
return typeof e == "number" ? `${e} ${e} auto` : /^\d+(\.\d+)?(px|em|rem|%)$/.test(e) ? `0 0 ${e}` : e;
|
|
233
234
|
}
|
|
234
|
-
const
|
|
235
|
+
const fn = ["xs", "sm", "md", "lg", "xl", "xxl"], Ee = /* @__PURE__ */ l.forwardRef((e, t) => {
|
|
235
236
|
const {
|
|
236
237
|
getPrefixCls: r,
|
|
237
238
|
direction: n
|
|
@@ -249,9 +250,9 @@ const mn = ["xs", "sm", "md", "lg", "xl", "xxl"], Ee = /* @__PURE__ */ l.forward
|
|
|
249
250
|
children: j,
|
|
250
251
|
flex: C,
|
|
251
252
|
style: S
|
|
252
|
-
} = e, y =
|
|
253
|
+
} = e, y = mn(e, ["prefixCls", "span", "order", "offset", "push", "pull", "className", "children", "flex", "style"]), d = r("col", a), [P, u, h] = dn(d), p = {};
|
|
253
254
|
let v = {};
|
|
254
|
-
|
|
255
|
+
fn.forEach((b) => {
|
|
255
256
|
let g = {};
|
|
256
257
|
const V = e[b];
|
|
257
258
|
typeof V == "number" ? g.span = V : typeof V == "object" && (g = V || {}), delete y[b], v = Object.assign(Object.assign({}, v), {
|
|
@@ -281,7 +282,7 @@ const mn = ["xs", "sm", "md", "lg", "xl", "xxl"], Ee = /* @__PURE__ */ l.forward
|
|
|
281
282
|
}), j));
|
|
282
283
|
});
|
|
283
284
|
process.env.NODE_ENV !== "production" && (Ee.displayName = "Col");
|
|
284
|
-
function
|
|
285
|
+
function pn(e, t) {
|
|
285
286
|
const r = [void 0, void 0], n = Array.isArray(e) ? e : [e, void 0], o = t || {
|
|
286
287
|
xs: !0,
|
|
287
288
|
sm: !0,
|
|
@@ -303,7 +304,7 @@ function fn(e, t) {
|
|
|
303
304
|
r[a] = s;
|
|
304
305
|
}), r;
|
|
305
306
|
}
|
|
306
|
-
var
|
|
307
|
+
var gn = function(e, t) {
|
|
307
308
|
var r = {};
|
|
308
309
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
309
310
|
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var o = 0, n = Object.getOwnPropertySymbols(e); o < n.length; o++)
|
|
@@ -338,10 +339,10 @@ const Ze = /* @__PURE__ */ l.forwardRef((e, t) => {
|
|
|
338
339
|
children: i,
|
|
339
340
|
gutter: c = 0,
|
|
340
341
|
wrap: m
|
|
341
|
-
} = e, O =
|
|
342
|
+
} = e, O = gn(e, ["prefixCls", "justify", "align", "className", "style", "children", "gutter", "wrap"]), {
|
|
342
343
|
getPrefixCls: $,
|
|
343
344
|
direction: I
|
|
344
|
-
} = l.useContext(be), j =
|
|
345
|
+
} = l.useContext(be), j = Xt(!0, null), C = We(o, j), S = We(n, j), y = $("row", r), [d, P, u] = cn(y), h = pn(c, j), p = J(y, {
|
|
345
346
|
[`${y}-no-wrap`]: m === !1,
|
|
346
347
|
[`${y}-${S}`]: S,
|
|
347
348
|
[`${y}-${C}`]: C,
|
|
@@ -374,7 +375,7 @@ function ge(e) {
|
|
|
374
375
|
};
|
|
375
376
|
}, [e]), t;
|
|
376
377
|
}
|
|
377
|
-
const
|
|
378
|
+
const hn = (e) => {
|
|
378
379
|
const {
|
|
379
380
|
componentCls: t
|
|
380
381
|
} = e, r = `${t}-show-help`, n = `${t}-show-help-item`;
|
|
@@ -414,7 +415,7 @@ const gn = (e) => {
|
|
|
414
415
|
}
|
|
415
416
|
}
|
|
416
417
|
};
|
|
417
|
-
},
|
|
418
|
+
}, bn = (e) => ({
|
|
418
419
|
legend: {
|
|
419
420
|
display: "block",
|
|
420
421
|
width: "100%",
|
|
@@ -472,12 +473,12 @@ const gn = (e) => {
|
|
|
472
473
|
}
|
|
473
474
|
}
|
|
474
475
|
};
|
|
475
|
-
},
|
|
476
|
+
}, yn = (e) => {
|
|
476
477
|
const {
|
|
477
478
|
componentCls: t
|
|
478
479
|
} = e;
|
|
479
480
|
return {
|
|
480
|
-
[e.componentCls]: Object.assign(Object.assign(Object.assign({}, Ye(e)),
|
|
481
|
+
[e.componentCls]: Object.assign(Object.assign(Object.assign({}, Ye(e)), bn(e)), {
|
|
481
482
|
[`${t}-text`]: {
|
|
482
483
|
display: "inline-block",
|
|
483
484
|
paddingInlineEnd: e.paddingSM
|
|
@@ -489,7 +490,7 @@ const gn = (e) => {
|
|
|
489
490
|
"&-large": Object.assign({}, He(e, e.controlHeightLG))
|
|
490
491
|
})
|
|
491
492
|
};
|
|
492
|
-
},
|
|
493
|
+
}, $n = (e) => {
|
|
493
494
|
const {
|
|
494
495
|
formItemCls: t,
|
|
495
496
|
iconCls: r,
|
|
@@ -704,7 +705,7 @@ const gn = (e) => {
|
|
|
704
705
|
}
|
|
705
706
|
}
|
|
706
707
|
};
|
|
707
|
-
},
|
|
708
|
+
}, vn = (e) => {
|
|
708
709
|
const {
|
|
709
710
|
componentCls: t,
|
|
710
711
|
formItemCls: r,
|
|
@@ -774,7 +775,7 @@ const gn = (e) => {
|
|
|
774
775
|
}
|
|
775
776
|
}
|
|
776
777
|
};
|
|
777
|
-
},
|
|
778
|
+
}, xn = (e) => {
|
|
778
779
|
const {
|
|
779
780
|
componentCls: t,
|
|
780
781
|
formItemCls: r,
|
|
@@ -826,7 +827,7 @@ const gn = (e) => {
|
|
|
826
827
|
}
|
|
827
828
|
}
|
|
828
829
|
};
|
|
829
|
-
},
|
|
830
|
+
}, Cn = (e) => {
|
|
830
831
|
const {
|
|
831
832
|
formItemCls: t,
|
|
832
833
|
antCls: r
|
|
@@ -867,7 +868,7 @@ const gn = (e) => {
|
|
|
867
868
|
}
|
|
868
869
|
}
|
|
869
870
|
};
|
|
870
|
-
},
|
|
871
|
+
}, wn = (e) => ({
|
|
871
872
|
labelRequiredMarkColor: e.colorError,
|
|
872
873
|
labelColor: e.colorTextHeading,
|
|
873
874
|
labelFontSize: e.fontSize,
|
|
@@ -886,8 +887,8 @@ const gn = (e) => {
|
|
|
886
887
|
rootPrefixCls: r
|
|
887
888
|
} = t;
|
|
888
889
|
const n = tt(e, r);
|
|
889
|
-
return [
|
|
890
|
-
},
|
|
890
|
+
return [yn(n), $n(n), hn(n), Ae(n, n.componentCls), Ae(n, n.formItemCls), vn(n), xn(n), Cn(n), Wt(n), Qe];
|
|
891
|
+
}, wn, {
|
|
891
892
|
// Let From style before the Grid
|
|
892
893
|
// ref https://github.com/ant-design/ant-design/issues/44386
|
|
893
894
|
order: -1e3
|
|
@@ -923,7 +924,7 @@ const nt = (e) => {
|
|
|
923
924
|
key: h[p.key] > 1 ? `${p.key}-fallback-${v}` : p.key
|
|
924
925
|
}));
|
|
925
926
|
}, [d]), u = {};
|
|
926
|
-
return a && (u.id = `${a}_help`), $(/* @__PURE__ */ l.createElement(
|
|
927
|
+
return a && (u.id = `${a}_help`), $(/* @__PURE__ */ l.createElement(It, {
|
|
927
928
|
motionDeadline: C.motionDeadline,
|
|
928
929
|
motionName: `${c}-show-help`,
|
|
929
930
|
visible: !!P.length,
|
|
@@ -936,7 +937,7 @@ const nt = (e) => {
|
|
|
936
937
|
return /* @__PURE__ */ l.createElement("div", Object.assign({}, u, {
|
|
937
938
|
className: J(m, p, j, O, s, I),
|
|
938
939
|
style: v
|
|
939
|
-
}), /* @__PURE__ */ l.createElement(
|
|
940
|
+
}), /* @__PURE__ */ l.createElement(Ft, Object.assign({
|
|
940
941
|
keys: P
|
|
941
942
|
}, Re(c), {
|
|
942
943
|
motionName: `${c}-show-help-item`,
|
|
@@ -958,7 +959,7 @@ const nt = (e) => {
|
|
|
958
959
|
}, b);
|
|
959
960
|
}));
|
|
960
961
|
}));
|
|
961
|
-
},
|
|
962
|
+
}, Sn = ["parentNode"], On = "form_item";
|
|
962
963
|
function ie(e) {
|
|
963
964
|
return e === void 0 || e === !1 ? [] : Array.isArray(e) ? e : [e];
|
|
964
965
|
}
|
|
@@ -966,13 +967,13 @@ function rt(e, t) {
|
|
|
966
967
|
if (!e.length)
|
|
967
968
|
return;
|
|
968
969
|
const r = e.join("_");
|
|
969
|
-
return t ? `${t}_${r}` :
|
|
970
|
+
return t ? `${t}_${r}` : Sn.includes(r) ? `${On}_${r}` : r;
|
|
970
971
|
}
|
|
971
972
|
function ot(e, t, r, n, o, s) {
|
|
972
973
|
let a = n;
|
|
973
974
|
return s !== void 0 ? a = s : r.validating ? a = "validating" : e.length ? a = "error" : t.length ? a = "warning" : (r.touched || o && r.validated) && (a = "success"), a;
|
|
974
975
|
}
|
|
975
|
-
var
|
|
976
|
+
var En = function(e, t) {
|
|
976
977
|
var r = {};
|
|
977
978
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
978
979
|
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var o = 0, n = Object.getOwnPropertySymbols(e); o < n.length; o++)
|
|
@@ -983,7 +984,7 @@ function qe(e) {
|
|
|
983
984
|
return ie(e).join("_");
|
|
984
985
|
}
|
|
985
986
|
function Be(e, t) {
|
|
986
|
-
const r = t.getFieldInstance(e), n =
|
|
987
|
+
const r = t.getFieldInstance(e), n = Nt(r);
|
|
987
988
|
if (n)
|
|
988
989
|
return n;
|
|
989
990
|
const o = rt(ie(e), t.__INTERNAL__.name);
|
|
@@ -991,7 +992,7 @@ function Be(e, t) {
|
|
|
991
992
|
return document.getElementById(o);
|
|
992
993
|
}
|
|
993
994
|
function lt(e) {
|
|
994
|
-
const [t] =
|
|
995
|
+
const [t] = $t(), r = l.useRef({}), n = l.useMemo(() => e ?? Object.assign(Object.assign({}, t), {
|
|
995
996
|
__INTERNAL__: {
|
|
996
997
|
itemRef: (o) => (s) => {
|
|
997
998
|
const a = qe(o);
|
|
@@ -1002,8 +1003,8 @@ function lt(e) {
|
|
|
1002
1003
|
let s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
1003
1004
|
const {
|
|
1004
1005
|
focus: a
|
|
1005
|
-
} = s, i =
|
|
1006
|
-
c && (
|
|
1006
|
+
} = s, i = En(s, ["focus"]), c = Be(o, n);
|
|
1007
|
+
c && (tn(c, Object.assign({
|
|
1007
1008
|
scrollMode: "if-needed",
|
|
1008
1009
|
block: "nearest"
|
|
1009
1010
|
}, i)), a && n.focusField(o));
|
|
@@ -1021,7 +1022,7 @@ function lt(e) {
|
|
|
1021
1022
|
return [n];
|
|
1022
1023
|
}
|
|
1023
1024
|
const me = {};
|
|
1024
|
-
function
|
|
1025
|
+
function In(e) {
|
|
1025
1026
|
let {
|
|
1026
1027
|
name: t
|
|
1027
1028
|
} = e;
|
|
@@ -1033,15 +1034,15 @@ function En(e) {
|
|
|
1033
1034
|
};
|
|
1034
1035
|
}, [t]);
|
|
1035
1036
|
}
|
|
1036
|
-
var
|
|
1037
|
+
var Fn = function(e, t) {
|
|
1037
1038
|
var r = {};
|
|
1038
1039
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1039
1040
|
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var o = 0, n = Object.getOwnPropertySymbols(e); o < n.length; o++)
|
|
1040
1041
|
t.indexOf(n[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[o]) && (r[n[o]] = e[n[o]]);
|
|
1041
1042
|
return r;
|
|
1042
1043
|
};
|
|
1043
|
-
const
|
|
1044
|
-
const r = l.useContext(
|
|
1044
|
+
const Nn = (e, t) => {
|
|
1045
|
+
const r = l.useContext(ft), {
|
|
1045
1046
|
getPrefixCls: n,
|
|
1046
1047
|
direction: o,
|
|
1047
1048
|
requiredMark: s,
|
|
@@ -1049,7 +1050,7 @@ const Fn = (e, t) => {
|
|
|
1049
1050
|
scrollToFirstError: i,
|
|
1050
1051
|
className: c,
|
|
1051
1052
|
style: m
|
|
1052
|
-
} =
|
|
1053
|
+
} = jt("form"), {
|
|
1053
1054
|
prefixCls: O,
|
|
1054
1055
|
className: $,
|
|
1055
1056
|
rootClassName: I,
|
|
@@ -1070,8 +1071,8 @@ const Fn = (e, t) => {
|
|
|
1070
1071
|
style: V,
|
|
1071
1072
|
feedbackIcons: A,
|
|
1072
1073
|
variant: D
|
|
1073
|
-
} = e, w =
|
|
1074
|
-
process.env.NODE_ENV !== "production" &&
|
|
1074
|
+
} = e, w = Fn(e, ["prefixCls", "className", "rootClassName", "size", "disabled", "form", "colon", "labelAlign", "labelWrap", "labelCol", "wrapperCol", "hideRequiredMark", "layout", "scrollToFirstError", "requiredMark", "onFinishFailed", "name", "style", "feedbackIcons", "variant"]), T = At(j), W = l.useContext(pt);
|
|
1075
|
+
process.env.NODE_ENV !== "production" && In(e);
|
|
1075
1076
|
const f = l.useMemo(() => x !== void 0 ? x : p ? !1 : s !== void 0 ? s : !0, [p, x, s]), z = y ?? a, E = n("form", O), q = Oe(E), [K, le, X] = Ie(E, q), Z = J(E, `${E}-${v}`, {
|
|
1076
1077
|
[`${E}-hide-required-mark`]: f === !1,
|
|
1077
1078
|
[`${E}-rtl`]: o === "rtl",
|
|
@@ -1116,18 +1117,18 @@ const Fn = (e, t) => {
|
|
|
1116
1117
|
i !== void 0 && R(i, H);
|
|
1117
1118
|
}
|
|
1118
1119
|
};
|
|
1119
|
-
return K(/* @__PURE__ */ l.createElement(
|
|
1120
|
+
return K(/* @__PURE__ */ l.createElement(vt.Provider, {
|
|
1120
1121
|
value: D
|
|
1121
|
-
}, /* @__PURE__ */ l.createElement(
|
|
1122
|
+
}, /* @__PURE__ */ l.createElement(gt, {
|
|
1122
1123
|
disabled: C
|
|
1123
|
-
}, /* @__PURE__ */ l.createElement(
|
|
1124
|
+
}, /* @__PURE__ */ l.createElement(Mt.Provider, {
|
|
1124
1125
|
value: T
|
|
1125
1126
|
}, /* @__PURE__ */ l.createElement(Xe, {
|
|
1126
1127
|
// This is not list in API, we pass with spread
|
|
1127
1128
|
validateMessages: W
|
|
1128
1129
|
}, /* @__PURE__ */ l.createElement(te.Provider, {
|
|
1129
1130
|
value: k
|
|
1130
|
-
}, /* @__PURE__ */ l.createElement(
|
|
1131
|
+
}, /* @__PURE__ */ l.createElement(xt, Object.assign({
|
|
1131
1132
|
id: g
|
|
1132
1133
|
}, w, {
|
|
1133
1134
|
name: g,
|
|
@@ -1137,12 +1138,12 @@ const Fn = (e, t) => {
|
|
|
1137
1138
|
style: Object.assign(Object.assign({}, m), V),
|
|
1138
1139
|
className: Z
|
|
1139
1140
|
}))))))));
|
|
1140
|
-
}, st = /* @__PURE__ */ l.forwardRef(
|
|
1141
|
+
}, st = /* @__PURE__ */ l.forwardRef(Nn);
|
|
1141
1142
|
process.env.NODE_ENV !== "production" && (st.displayName = "Form");
|
|
1142
|
-
function
|
|
1143
|
+
function jn(e) {
|
|
1143
1144
|
if (typeof e == "function")
|
|
1144
1145
|
return e;
|
|
1145
|
-
const t =
|
|
1146
|
+
const t = qt(e);
|
|
1146
1147
|
return t.length <= 1 ? t[0] : t;
|
|
1147
1148
|
}
|
|
1148
1149
|
const at = () => {
|
|
@@ -1162,7 +1163,7 @@ const at = () => {
|
|
|
1162
1163
|
};
|
|
1163
1164
|
};
|
|
1164
1165
|
at.Context = fe;
|
|
1165
|
-
function
|
|
1166
|
+
function Mn(e) {
|
|
1166
1167
|
const [t, r] = l.useState(e), n = l.useRef(null), o = l.useRef([]), s = l.useRef(!1);
|
|
1167
1168
|
l.useEffect(() => (s.current = !1, () => {
|
|
1168
1169
|
s.current = !0, Pe.cancel(n.current), n.current = null;
|
|
@@ -1179,17 +1180,17 @@ function jn(e) {
|
|
|
1179
1180
|
}
|
|
1180
1181
|
return [t, a];
|
|
1181
1182
|
}
|
|
1182
|
-
function
|
|
1183
|
+
function _n() {
|
|
1183
1184
|
const {
|
|
1184
1185
|
itemRef: e
|
|
1185
1186
|
} = l.useContext(te), t = l.useRef({});
|
|
1186
1187
|
function r(n, o) {
|
|
1187
|
-
const s = o && typeof o == "object" &&
|
|
1188
|
-
return (t.current.name !== a || t.current.originRef !== s) && (t.current.name = a, t.current.originRef = s, t.current.ref =
|
|
1188
|
+
const s = o && typeof o == "object" && _t(o), a = n.join("_");
|
|
1189
|
+
return (t.current.name !== a || t.current.originRef !== s) && (t.current.name = a, t.current.originRef = s, t.current.ref = Pt(e(n), s)), t.current.ref;
|
|
1189
1190
|
}
|
|
1190
1191
|
return r;
|
|
1191
1192
|
}
|
|
1192
|
-
const
|
|
1193
|
+
const Pn = (e) => {
|
|
1193
1194
|
const {
|
|
1194
1195
|
formItemCls: t
|
|
1195
1196
|
} = e;
|
|
@@ -1201,21 +1202,21 @@ const _n = (e) => {
|
|
|
1201
1202
|
}
|
|
1202
1203
|
}
|
|
1203
1204
|
};
|
|
1204
|
-
},
|
|
1205
|
+
}, Rn = Rt(["Form", "item-item"], (e, t) => {
|
|
1205
1206
|
let {
|
|
1206
1207
|
rootPrefixCls: r
|
|
1207
1208
|
} = t;
|
|
1208
1209
|
const n = tt(e, r);
|
|
1209
|
-
return [
|
|
1210
|
+
return [Pn(n)];
|
|
1210
1211
|
});
|
|
1211
|
-
var
|
|
1212
|
+
var Vn = function(e, t) {
|
|
1212
1213
|
var r = {};
|
|
1213
1214
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1214
1215
|
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var o = 0, n = Object.getOwnPropertySymbols(e); o < n.length; o++)
|
|
1215
1216
|
t.indexOf(n[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[o]) && (r[n[o]] = e[n[o]]);
|
|
1216
1217
|
return r;
|
|
1217
1218
|
};
|
|
1218
|
-
const
|
|
1219
|
+
const Dn = 24, Ln = (e) => {
|
|
1219
1220
|
const {
|
|
1220
1221
|
prefixCls: t,
|
|
1221
1222
|
status: r,
|
|
@@ -1235,14 +1236,14 @@ const Vn = 24, Dn = (e) => {
|
|
|
1235
1236
|
let w = Object.assign({}, o || y.wrapperCol || {});
|
|
1236
1237
|
return C === null && !n && !o && y.labelCol && [void 0, "xs", "sm", "md", "lg", "xl", "xxl"].forEach((W) => {
|
|
1237
1238
|
const f = W ? [W] : [], z = _e(y.labelCol, f), E = typeof z == "object" ? z : {}, q = _e(w, f), K = typeof q == "object" ? q : {};
|
|
1238
|
-
"span" in E && !("offset" in K) && E.span <
|
|
1239
|
+
"span" in E && !("offset" in K) && E.span < Dn && (w = ht(w, [].concat(f, ["offset"]), E.span));
|
|
1239
1240
|
}), w;
|
|
1240
1241
|
}, [o, y]), P = J(`${S}-control`, d.className), u = l.useMemo(() => {
|
|
1241
1242
|
const {
|
|
1242
1243
|
labelCol: w,
|
|
1243
1244
|
wrapperCol: T
|
|
1244
1245
|
} = y;
|
|
1245
|
-
return
|
|
1246
|
+
return Vn(y, ["labelCol", "wrapperCol"]);
|
|
1246
1247
|
}, [y]), h = l.useRef(null), [p, v] = l.useState(0);
|
|
1247
1248
|
Ue(() => {
|
|
1248
1249
|
m && h.current ? v(h.current.clientHeight) : v(0);
|
|
@@ -1283,30 +1284,30 @@ const Vn = 24, Dn = (e) => {
|
|
|
1283
1284
|
value: u
|
|
1284
1285
|
}, /* @__PURE__ */ l.createElement(Ee, Object.assign({}, d, {
|
|
1285
1286
|
className: P
|
|
1286
|
-
}), D), /* @__PURE__ */ l.createElement(
|
|
1287
|
+
}), D), /* @__PURE__ */ l.createElement(Rn, {
|
|
1287
1288
|
prefixCls: t
|
|
1288
1289
|
}));
|
|
1289
1290
|
};
|
|
1290
|
-
var
|
|
1291
|
-
return /* @__PURE__ */ l.createElement(
|
|
1291
|
+
var Tn = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { tag: "path", attrs: { d: "M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" } }] }, name: "question-circle", theme: "outlined" }, Wn = function(t, r) {
|
|
1292
|
+
return /* @__PURE__ */ l.createElement(kt, Tt({}, t, {
|
|
1292
1293
|
ref: r,
|
|
1293
|
-
icon:
|
|
1294
|
+
icon: Tn
|
|
1294
1295
|
}));
|
|
1295
|
-
}, it = /* @__PURE__ */ l.forwardRef(
|
|
1296
|
+
}, it = /* @__PURE__ */ l.forwardRef(Wn);
|
|
1296
1297
|
process.env.NODE_ENV !== "production" && (it.displayName = "QuestionCircleOutlined");
|
|
1297
|
-
var
|
|
1298
|
+
var Hn = function(e, t) {
|
|
1298
1299
|
var r = {};
|
|
1299
1300
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1300
1301
|
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var o = 0, n = Object.getOwnPropertySymbols(e); o < n.length; o++)
|
|
1301
1302
|
t.indexOf(n[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[o]) && (r[n[o]] = e[n[o]]);
|
|
1302
1303
|
return r;
|
|
1303
1304
|
};
|
|
1304
|
-
function
|
|
1305
|
+
function An(e) {
|
|
1305
1306
|
return e ? typeof e == "object" && !/* @__PURE__ */ l.isValidElement(e) ? e : {
|
|
1306
1307
|
title: e
|
|
1307
1308
|
} : null;
|
|
1308
1309
|
}
|
|
1309
|
-
const
|
|
1310
|
+
const zn = (e) => {
|
|
1310
1311
|
let {
|
|
1311
1312
|
prefixCls: t,
|
|
1312
1313
|
label: r,
|
|
@@ -1320,7 +1321,7 @@ const An = (e) => {
|
|
|
1320
1321
|
vertical: O
|
|
1321
1322
|
} = e;
|
|
1322
1323
|
var $;
|
|
1323
|
-
const [I] =
|
|
1324
|
+
const [I] = Kt("Form"), {
|
|
1324
1325
|
labelAlign: j,
|
|
1325
1326
|
labelCol: C,
|
|
1326
1327
|
labelWrap: S,
|
|
@@ -1334,11 +1335,11 @@ const An = (e) => {
|
|
|
1334
1335
|
let p = r;
|
|
1335
1336
|
const v = a === !0 || y !== !1 && a !== !1;
|
|
1336
1337
|
v && !O && typeof r == "string" && r.trim() && (p = r.replace(/[:|:]\s*$/, ""));
|
|
1337
|
-
const x =
|
|
1338
|
+
const x = An(m);
|
|
1338
1339
|
if (x) {
|
|
1339
1340
|
const {
|
|
1340
1341
|
icon: A = /* @__PURE__ */ l.createElement(it, null)
|
|
1341
|
-
} = x, D =
|
|
1342
|
+
} = x, D = Hn(x, ["icon"]), w = /* @__PURE__ */ l.createElement(Ht, Object.assign({}, D), /* @__PURE__ */ l.cloneElement(A, {
|
|
1342
1343
|
className: `${t}-item-tooltip`,
|
|
1343
1344
|
title: "",
|
|
1344
1345
|
onClick: (T) => {
|
|
@@ -1354,7 +1355,7 @@ const An = (e) => {
|
|
|
1354
1355
|
}) : b && !i && (p = /* @__PURE__ */ l.createElement(l.Fragment, null, p, /* @__PURE__ */ l.createElement("span", {
|
|
1355
1356
|
className: `${t}-item-optional`,
|
|
1356
1357
|
title: ""
|
|
1357
|
-
}, (I == null ? void 0 : I.optional) || (($ =
|
|
1358
|
+
}, (I == null ? void 0 : I.optional) || (($ = bt.Form) === null || $ === void 0 ? void 0 : $.optional))));
|
|
1358
1359
|
const V = J({
|
|
1359
1360
|
[`${t}-item-required`]: i,
|
|
1360
1361
|
[`${t}-item-required-mark-optional`]: b || g,
|
|
@@ -1367,11 +1368,11 @@ const An = (e) => {
|
|
|
1367
1368
|
className: V,
|
|
1368
1369
|
title: typeof r == "string" ? r : ""
|
|
1369
1370
|
}, p));
|
|
1370
|
-
},
|
|
1371
|
-
success:
|
|
1372
|
-
warning:
|
|
1373
|
-
error:
|
|
1374
|
-
validating:
|
|
1371
|
+
}, qn = {
|
|
1372
|
+
success: Yt,
|
|
1373
|
+
warning: Qt,
|
|
1374
|
+
error: Ut,
|
|
1375
|
+
validating: Jt
|
|
1375
1376
|
};
|
|
1376
1377
|
function ct(e) {
|
|
1377
1378
|
let {
|
|
@@ -1399,7 +1400,7 @@ function ct(e) {
|
|
|
1399
1400
|
status: $,
|
|
1400
1401
|
errors: r,
|
|
1401
1402
|
warnings: n
|
|
1402
|
-
})) === null || d === void 0 ? void 0 : d[$]), v = $ &&
|
|
1403
|
+
})) === null || d === void 0 ? void 0 : d[$]), v = $ && qn[$];
|
|
1403
1404
|
P = p !== !1 && v ? /* @__PURE__ */ l.createElement("span", {
|
|
1404
1405
|
className: J(`${m}-feedback-icon`, `${m}-feedback-icon-${$}`)
|
|
1405
1406
|
}, p || /* @__PURE__ */ l.createElement(v, null)) : null;
|
|
@@ -1418,14 +1419,14 @@ function ct(e) {
|
|
|
1418
1419
|
value: y
|
|
1419
1420
|
}, t);
|
|
1420
1421
|
}
|
|
1421
|
-
var
|
|
1422
|
+
var Bn = function(e, t) {
|
|
1422
1423
|
var r = {};
|
|
1423
1424
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1424
1425
|
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var o = 0, n = Object.getOwnPropertySymbols(e); o < n.length; o++)
|
|
1425
1426
|
t.indexOf(n[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[o]) && (r[n[o]] = e[n[o]]);
|
|
1426
1427
|
return r;
|
|
1427
1428
|
};
|
|
1428
|
-
function
|
|
1429
|
+
function Gn(e) {
|
|
1429
1430
|
const {
|
|
1430
1431
|
prefixCls: t,
|
|
1431
1432
|
className: r,
|
|
@@ -1444,10 +1445,10 @@ function Bn(e) {
|
|
|
1444
1445
|
isRequired: S,
|
|
1445
1446
|
onSubItemMetaChange: y,
|
|
1446
1447
|
layout: d
|
|
1447
|
-
} = e, P =
|
|
1448
|
+
} = e, P = Bn(e, ["prefixCls", "className", "rootClassName", "style", "help", "errors", "warnings", "validateStatus", "meta", "hasFeedback", "hidden", "children", "fieldId", "required", "isRequired", "onSubItemMetaChange", "layout"]), u = `${t}-item`, {
|
|
1448
1449
|
requiredMark: h,
|
|
1449
1450
|
vertical: p
|
|
1450
|
-
} = l.useContext(te), v = p || d === "vertical", F = l.useRef(null), x = ge(a), b = ge(i), g = s != null, V = !!(g || a.length || i.length), A = !!F.current &&
|
|
1451
|
+
} = l.useContext(te), v = p || d === "vertical", F = l.useRef(null), x = ge(a), b = ge(i), g = s != null, V = !!(g || a.length || i.length), A = !!F.current && Bt(F.current), [D, w] = l.useState(null);
|
|
1451
1452
|
Ue(() => {
|
|
1452
1453
|
if (V && F.current) {
|
|
1453
1454
|
const E = getComputedStyle(F.current);
|
|
@@ -1478,7 +1479,7 @@ function Bn(e) {
|
|
|
1478
1479
|
ref: F
|
|
1479
1480
|
}, /* @__PURE__ */ l.createElement(Ze, Object.assign({
|
|
1480
1481
|
className: `${u}-row`
|
|
1481
|
-
},
|
|
1482
|
+
}, Gt(P, [
|
|
1482
1483
|
"_internalItemRender",
|
|
1483
1484
|
"colon",
|
|
1484
1485
|
"dependencies",
|
|
@@ -1510,14 +1511,14 @@ function Bn(e) {
|
|
|
1510
1511
|
"valuePropName",
|
|
1511
1512
|
"wrapperCol",
|
|
1512
1513
|
"validateDebounce"
|
|
1513
|
-
])), /* @__PURE__ */ l.createElement(
|
|
1514
|
+
])), /* @__PURE__ */ l.createElement(zn, Object.assign({
|
|
1514
1515
|
htmlFor: j
|
|
1515
1516
|
}, e, {
|
|
1516
1517
|
requiredMark: h,
|
|
1517
1518
|
required: C ?? S,
|
|
1518
1519
|
prefixCls: t,
|
|
1519
1520
|
vertical: v
|
|
1520
|
-
})), /* @__PURE__ */ l.createElement(
|
|
1521
|
+
})), /* @__PURE__ */ l.createElement(Ln, Object.assign({}, e, m, {
|
|
1521
1522
|
errors: x,
|
|
1522
1523
|
warnings: b,
|
|
1523
1524
|
prefixCls: t,
|
|
@@ -1542,20 +1543,20 @@ function Bn(e) {
|
|
|
1542
1543
|
}
|
|
1543
1544
|
}));
|
|
1544
1545
|
}
|
|
1545
|
-
const
|
|
1546
|
-
function
|
|
1546
|
+
const Xn = "__SPLIT__";
|
|
1547
|
+
function kn(e, t) {
|
|
1547
1548
|
const r = Object.keys(e), n = Object.keys(t);
|
|
1548
1549
|
return r.length === n.length && r.every((o) => {
|
|
1549
1550
|
const s = e[o], a = t[o];
|
|
1550
1551
|
return s === a || typeof s == "function" || typeof a == "function";
|
|
1551
1552
|
});
|
|
1552
1553
|
}
|
|
1553
|
-
const
|
|
1554
|
+
const Kn = /* @__PURE__ */ l.memo((e) => {
|
|
1554
1555
|
let {
|
|
1555
1556
|
children: t
|
|
1556
1557
|
} = e;
|
|
1557
1558
|
return t;
|
|
1558
|
-
}, (e, t) =>
|
|
1559
|
+
}, (e, t) => kn(e.control, t.control) && e.update === t.update && e.childProps.length === t.childProps.length && e.childProps.every((r, n) => r === t.childProps[n]));
|
|
1559
1560
|
function Ge() {
|
|
1560
1561
|
return {
|
|
1561
1562
|
errors: [],
|
|
@@ -1566,7 +1567,7 @@ function Ge() {
|
|
|
1566
1567
|
validated: !1
|
|
1567
1568
|
};
|
|
1568
1569
|
}
|
|
1569
|
-
function
|
|
1570
|
+
function Yn(e) {
|
|
1570
1571
|
const {
|
|
1571
1572
|
name: t,
|
|
1572
1573
|
noStyle: r,
|
|
@@ -1588,11 +1589,11 @@ function Kn(e) {
|
|
|
1588
1589
|
getPrefixCls: d
|
|
1589
1590
|
} = l.useContext(be), {
|
|
1590
1591
|
name: P
|
|
1591
|
-
} = l.useContext(te), u =
|
|
1592
|
+
} = l.useContext(te), u = jn(c), h = typeof u == "function", p = l.useContext(ke), {
|
|
1592
1593
|
validateTrigger: v
|
|
1593
|
-
} = l.useContext(
|
|
1594
|
+
} = l.useContext(Ct), F = j !== void 0 ? j : v, x = t != null, b = d("form", s), g = Oe(b), [V, A, D] = Ie(b, g), w = he("Form.Item");
|
|
1594
1595
|
process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "production" && w(t !== null, "usage", "`null` is passed as `name` property");
|
|
1595
|
-
const T = l.useContext(
|
|
1596
|
+
const T = l.useContext(wt), W = l.useRef(null), [f, z] = Mn({}), [E, q] = Vt(() => Ge()), K = (N) => {
|
|
1596
1597
|
const R = T == null ? void 0 : T.getKey(N.name);
|
|
1597
1598
|
if (q(N.destroy ? Ge() : N, !0), r && S !== !1 && p) {
|
|
1598
1599
|
let M = N.name;
|
|
@@ -1606,7 +1607,7 @@ function Kn(e) {
|
|
|
1606
1607
|
}
|
|
1607
1608
|
}, le = (N, R) => {
|
|
1608
1609
|
z((M) => {
|
|
1609
|
-
const _ = Object.assign({}, M), G = [].concat(Y(N.name.slice(0, -1)), Y(R)).join(
|
|
1610
|
+
const _ = Object.assign({}, M), G = [].concat(Y(N.name.slice(0, -1)), Y(R)).join(Xn);
|
|
1610
1611
|
return N.destroy ? delete _[G] : _[G] = N, _;
|
|
1611
1612
|
});
|
|
1612
1613
|
}, [X, Z] = l.useMemo(() => {
|
|
@@ -1614,7 +1615,7 @@ function Kn(e) {
|
|
|
1614
1615
|
return Object.values(f).forEach((M) => {
|
|
1615
1616
|
N.push.apply(N, Y(M.errors || [])), R.push.apply(R, Y(M.warnings || []));
|
|
1616
1617
|
}), [N, R];
|
|
1617
|
-
}, [f, E.errors, E.warnings]), B =
|
|
1618
|
+
}, [f, E.errors, E.warnings]), B = _n();
|
|
1618
1619
|
function ee(N, R, M) {
|
|
1619
1620
|
return r && !C ? /* @__PURE__ */ l.createElement(ct, {
|
|
1620
1621
|
prefixCls: b,
|
|
@@ -1624,7 +1625,7 @@ function Kn(e) {
|
|
|
1624
1625
|
errors: X,
|
|
1625
1626
|
warnings: Z,
|
|
1626
1627
|
noStyle: !0
|
|
1627
|
-
}, N) : /* @__PURE__ */ l.createElement(
|
|
1628
|
+
}, N) : /* @__PURE__ */ l.createElement(Gn, Object.assign({
|
|
1628
1629
|
key: "row"
|
|
1629
1630
|
}, e, {
|
|
1630
1631
|
className: J(n, D, g, A),
|
|
@@ -1641,7 +1642,7 @@ function Kn(e) {
|
|
|
1641
1642
|
if (!x && !h && !o)
|
|
1642
1643
|
return V(ee(u));
|
|
1643
1644
|
let k = {};
|
|
1644
|
-
return typeof O == "string" ? k.label = O : t && (k.label = String(t)), $ && (k = Object.assign(Object.assign({}, k), $)), V(/* @__PURE__ */ l.createElement(
|
|
1645
|
+
return typeof O == "string" ? k.label = O : t && (k.label = String(t)), $ && (k = Object.assign(Object.assign({}, k), $)), V(/* @__PURE__ */ l.createElement(St, Object.assign({}, e, {
|
|
1645
1646
|
messageVariables: k,
|
|
1646
1647
|
trigger: I,
|
|
1647
1648
|
validateTrigger: F,
|
|
@@ -1655,52 +1656,52 @@ function Kn(e) {
|
|
|
1655
1656
|
return (se == null ? void 0 : se.required) && !(se != null && se.warningOnly);
|
|
1656
1657
|
}
|
|
1657
1658
|
return !1;
|
|
1658
|
-
})),
|
|
1659
|
-
let
|
|
1659
|
+
})), re = Object.assign({}, N);
|
|
1660
|
+
let oe = null;
|
|
1660
1661
|
if (process.env.NODE_ENV !== "production" && w(!(a && o), "usage", "`shouldUpdate` and `dependencies` shouldn't be used together. See https://u.ant.design/form-deps."), Array.isArray(u) && x)
|
|
1661
|
-
process.env.NODE_ENV !== "production" && w(!1, "usage", "A `Form.Item` with a `name` prop must have a single child element. For information on how to render more complex form items, see https://u.ant.design/complex-form-item."),
|
|
1662
|
+
process.env.NODE_ENV !== "production" && w(!1, "usage", "A `Form.Item` with a `name` prop must have a single child element. For information on how to render more complex form items, see https://u.ant.design/complex-form-item."), oe = u;
|
|
1662
1663
|
else if (h && (!(a || o) || x))
|
|
1663
1664
|
process.env.NODE_ENV !== "production" && w(!!(a || o), "usage", "A `Form.Item` with a render function must have either `shouldUpdate` or `dependencies`."), process.env.NODE_ENV !== "production" && w(!x, "usage", "A `Form.Item` with a render function cannot be a field, and thus cannot have a `name` prop.");
|
|
1664
1665
|
else if (o && !h && !x)
|
|
1665
1666
|
process.env.NODE_ENV !== "production" && w(!1, "usage", "Must set `name` or use a render function when `dependencies` is set.");
|
|
1666
1667
|
else if (/* @__PURE__ */ l.isValidElement(u)) {
|
|
1667
1668
|
process.env.NODE_ENV !== "production" && w(u.props.defaultValue === void 0, "usage", "`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");
|
|
1668
|
-
const L = Object.assign(Object.assign({}, u.props),
|
|
1669
|
+
const L = Object.assign(Object.assign({}, u.props), re);
|
|
1669
1670
|
if (L.id || (L.id = H), S || X.length > 0 || Z.length > 0 || e.extra) {
|
|
1670
1671
|
const ae = [];
|
|
1671
1672
|
(S || X.length > 0) && ae.push(`${H}_help`), e.extra && ae.push(`${H}_extra`), L["aria-describedby"] = ae.join(" ");
|
|
1672
1673
|
}
|
|
1673
|
-
X.length > 0 && (L["aria-invalid"] = "true"), G && (L["aria-required"] = "true"),
|
|
1674
|
+
X.length > 0 && (L["aria-invalid"] = "true"), G && (L["aria-required"] = "true"), Dt(u) && (L.ref = B(_, u)), new Set([].concat(Y(ie(I)), Y(ie(F)))).forEach((ae) => {
|
|
1674
1675
|
L[ae] = function() {
|
|
1675
1676
|
for (var Fe, Ne, ye, je, $e, Me = arguments.length, ve = new Array(Me), ce = 0; ce < Me; ce++)
|
|
1676
1677
|
ve[ce] = arguments[ce];
|
|
1677
|
-
(ye =
|
|
1678
|
+
(ye = re[ae]) === null || ye === void 0 || (Fe = ye).call.apply(Fe, [re].concat(ve)), ($e = (je = u.props)[ae]) === null || $e === void 0 || (Ne = $e).call.apply(Ne, [je].concat(ve));
|
|
1678
1679
|
};
|
|
1679
1680
|
});
|
|
1680
1681
|
const dt = [L["aria-required"], L["aria-invalid"], L["aria-describedby"]];
|
|
1681
|
-
|
|
1682
|
-
control:
|
|
1682
|
+
oe = /* @__PURE__ */ l.createElement(Kn, {
|
|
1683
|
+
control: re,
|
|
1683
1684
|
update: u,
|
|
1684
1685
|
childProps: dt
|
|
1685
|
-
},
|
|
1686
|
-
} else h && (a || o) && !x ?
|
|
1687
|
-
return ee(
|
|
1686
|
+
}, zt(u, L));
|
|
1687
|
+
} else h && (a || o) && !x ? oe = u(M) : (process.env.NODE_ENV !== "production" && w(!_.length || !!r, "usage", "`name` is only used for validate React element. If you are using Form.Item as layout display, please remove `name` instead."), oe = u);
|
|
1688
|
+
return ee(oe, H, G);
|
|
1688
1689
|
}));
|
|
1689
1690
|
}
|
|
1690
|
-
const ut =
|
|
1691
|
+
const ut = Yn;
|
|
1691
1692
|
ut.useStatus = at;
|
|
1692
|
-
var
|
|
1693
|
+
var Un = function(e, t) {
|
|
1693
1694
|
var r = {};
|
|
1694
1695
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1695
1696
|
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var o = 0, n = Object.getOwnPropertySymbols(e); o < n.length; o++)
|
|
1696
1697
|
t.indexOf(n[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[o]) && (r[n[o]] = e[n[o]]);
|
|
1697
1698
|
return r;
|
|
1698
1699
|
};
|
|
1699
|
-
const
|
|
1700
|
+
const Qn = (e) => {
|
|
1700
1701
|
var {
|
|
1701
1702
|
prefixCls: t,
|
|
1702
1703
|
children: r
|
|
1703
|
-
} = e, n =
|
|
1704
|
+
} = e, n = Un(e, ["prefixCls", "children"]);
|
|
1704
1705
|
if (process.env.NODE_ENV !== "production") {
|
|
1705
1706
|
const i = he("Form.List");
|
|
1706
1707
|
process.env.NODE_ENV !== "production" && i(typeof n.name == "number" || (Array.isArray(n.name) ? !!n.name.length : !!n.name), "usage", "Miss `name` prop.");
|
|
@@ -1711,7 +1712,7 @@ const Un = (e) => {
|
|
|
1711
1712
|
prefixCls: s,
|
|
1712
1713
|
status: "error"
|
|
1713
1714
|
}), [s]);
|
|
1714
|
-
return /* @__PURE__ */ l.createElement(
|
|
1715
|
+
return /* @__PURE__ */ l.createElement(Ot, Object.assign({}, n), (i, c, m) => /* @__PURE__ */ l.createElement(we.Provider, {
|
|
1715
1716
|
value: a
|
|
1716
1717
|
}, r(i.map((O) => Object.assign(Object.assign({}, O), {
|
|
1717
1718
|
fieldKey: O.key
|
|
@@ -1720,26 +1721,35 @@ const Un = (e) => {
|
|
|
1720
1721
|
warnings: m.warnings
|
|
1721
1722
|
})));
|
|
1722
1723
|
};
|
|
1723
|
-
function
|
|
1724
|
+
function Jn() {
|
|
1724
1725
|
const {
|
|
1725
1726
|
form: e
|
|
1726
1727
|
} = l.useContext(te);
|
|
1727
1728
|
return e;
|
|
1728
1729
|
}
|
|
1729
|
-
const
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
process.env.NODE_ENV !== "production" &&
|
|
1730
|
+
const ne = st;
|
|
1731
|
+
ne.Item = ut;
|
|
1732
|
+
ne.List = Qn;
|
|
1733
|
+
ne.ErrorList = nt;
|
|
1734
|
+
ne.useForm = lt;
|
|
1735
|
+
ne.useFormInstance = Jn;
|
|
1736
|
+
ne.useWatch = Et;
|
|
1737
|
+
ne.Provider = Xe;
|
|
1738
|
+
ne.create = () => {
|
|
1739
|
+
process.env.NODE_ENV !== "production" && yt(!1, "Form", "antd v4 removed `Form.create`. Please remove or use `@ant-design/compatible` instead.");
|
|
1739
1740
|
};
|
|
1741
|
+
const xr = mt(ne)`
|
|
1742
|
+
label,
|
|
1743
|
+
.ant-form-item-label > label,
|
|
1744
|
+
.ant-form-item-required,
|
|
1745
|
+
.ant-form-item-row > label {
|
|
1746
|
+
height: auto !important;
|
|
1747
|
+
}
|
|
1748
|
+
`;
|
|
1740
1749
|
export {
|
|
1741
1750
|
Ee as C,
|
|
1742
|
-
|
|
1751
|
+
ne as F,
|
|
1743
1752
|
Ze as R,
|
|
1744
|
-
|
|
1753
|
+
xr as a,
|
|
1754
|
+
un as g
|
|
1745
1755
|
};
|