@gobolt/genesis 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -7
- package/dist/{AntdIcon-nCNB0J1E.js → AntdIcon-DP6hPDqu.js} +40 -39
- package/dist/CSSMotionList-DB0khM6h.js +22193 -0
- package/dist/{CheckCircleFilled-BKgizvyl.js → CheckCircleFilled-B-wrMduA.js} +2 -2
- package/dist/{CheckOutlined-cEBrx_Ag.js → CheckOutlined-DTEHi_xG.js} +2 -2
- package/dist/{ClockCircleOutlined-BaXQuLIn.js → ClockCircleOutlined-DGGcYjVd.js} +2 -2
- package/dist/{CloseCircleFilled-B9e7yFwo.js → CloseCircleFilled-WEQ0SaSW.js} +2 -2
- package/dist/{CloseOutlined-ogxnm7Oy.js → CloseOutlined-DzgBOns1.js} +2 -2
- package/dist/{Compact-Du9689ax.js → Compact-DFcWZrNo.js} +49 -49
- package/dist/Context-2_suFYDs.js +5 -0
- package/dist/{ContextIsolator-BmfhJgG0.js → ContextIsolator-CUJnq-4F.js} +2 -2
- package/dist/{DownOutlined-Dcq69ZKM.js → DownOutlined-Bv7ua5i8.js} +23 -22
- package/dist/EllipsisOutlined-BodkguEc.js +1118 -0
- package/dist/{ExclamationCircleFilled-BHELVsTg.js → ExclamationCircleFilled-x8Sr29BN.js} +2 -2
- package/dist/Input--qsU-6vp.js +424 -0
- package/dist/KeyCode-B3vHb2gY.js +155 -0
- package/dist/{Keyframes-C9_aCDvn.js → Keyframes-CyO2Aeq-.js} +7 -7
- package/dist/{LoadingOutlined-C1qu6ymP.js → LoadingOutlined-DOi5EGOl.js} +2 -2
- package/dist/{MinusCircleOutlined-Shz0RRQV.js → MinusCircleOutlined-BcKxYRyN.js} +2 -2
- package/dist/{Overflow-DWf4XIal.js → Overflow-CVbsx7Gn.js} +95 -95
- package/dist/{SearchOutlined-DNj-7b_h.js → SearchOutlined-DJ3uHFwq.js} +2 -2
- package/dist/{Skeleton-BVN4pcVe.js → Skeleton-CudViN0a.js} +166 -163
- package/dist/TextArea-CHo3cxKw.js +404 -0
- package/dist/{Typography-CoZ5qD-t.js → Typography-B2J8CPnt.js} +263 -247
- package/dist/_baseIsEqual-VdxFOa4v.js +1084 -0
- package/dist/{_commonjsHelpers-BkfeUUK-.js → _commonjsHelpers-B4e78b8K.js} +1 -1
- package/dist/{asyncToGenerator-CKP9bEZn.js → asyncToGenerator-CVBdSr4C.js} +27 -27
- package/dist/button-CYVlK7G0.js +1430 -0
- package/dist/components/Avatar/Avatar.js +8 -7
- package/dist/components/Avatar/__stories__/Avatar.stories.d.ts +0 -1
- package/dist/components/Avatar/__tests__/Avatar.test.js +1 -1
- package/dist/components/Avatar/styles.d.ts +1 -2
- package/dist/components/Avatar/styles.js +161 -159
- package/dist/components/Badge/Badge.js +8 -7
- package/dist/components/Badge/__stories__/Badge.stories.d.ts +0 -1
- package/dist/components/Badge/__tests__/Badge.test.js +1 -1
- package/dist/components/Badge/styles.d.ts +0 -1
- package/dist/components/Badge/styles.js +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +0 -1
- package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.types.d.ts +0 -1
- package/dist/components/Breadcrumb/__stories__/Breadcrumb.stories.d.ts +0 -1
- package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.js +3 -3
- package/dist/components/Breadcrumb/styles.d.ts +0 -1
- package/dist/components/Breadcrumb/styles.js +58 -58
- package/dist/components/Button/Button.d.ts +0 -1
- package/dist/components/Button/__stories__/Button.stories.d.ts +0 -1
- package/dist/components/Button/__tests__/Button.test.js +5 -4
- package/dist/components/Button/styles.d.ts +0 -1
- package/dist/components/Button/styles.js +2 -2
- package/dist/components/Card/__stories__/Card.stories.d.ts +0 -1
- package/dist/components/Card/__tests__/Card.test.js +1 -1
- package/dist/components/Card/styles.d.ts +0 -1
- package/dist/components/Card/styles.js +2 -2
- package/dist/components/Checkbox/Checkbox.d.ts +0 -1
- package/dist/components/Checkbox/Checkbox.js +11 -11
- package/dist/components/Checkbox/__stories__/Checkbox.stories.d.ts +0 -1
- package/dist/components/Checkbox/__tests__/Checkbox.test.js +16 -15
- package/dist/components/Checkbox/styles.d.ts +3 -4
- package/dist/components/Checkbox/styles.js +2 -2
- package/dist/components/Dashboard/__mocks__/dashboard-data.d.ts +0 -1
- package/dist/components/Dashboard/__stories__/Dashboard.stories.d.ts +0 -1
- package/dist/components/Dashboard/__stories__/DashboardLayoutContent.js +222 -223
- package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.js +13 -12
- package/dist/components/Dashboard/__stories__/DashboardLayoutStory.d.ts +0 -1
- package/dist/components/Dashboard/__stories__/DashboardLayoutStory.js +10 -9
- package/dist/components/Dashboard/__stories__/charts/LineChart.js +72 -74
- package/dist/components/Dashboard/__tests__/Dashboard.test.js +1 -1
- package/dist/components/Dashboard/styles.d.ts +0 -1
- package/dist/components/Dashboard/styles.js +1 -1
- package/dist/components/DatePicker/DatePicker.d.ts +0 -1
- package/dist/components/DatePicker/DatePicker.js +1 -1
- package/dist/components/DatePicker/__stories__/DatePicker.stories.d.ts +0 -1
- package/dist/components/DatePicker/__tests__/DatePicker.test.js +2 -2
- package/dist/components/DateRangePicker/DateRangePicker.d.ts +0 -1
- package/dist/components/DateRangePicker/DateRangePicker.js +1 -1
- package/dist/components/DateRangePicker/__stories__/DateRangePicker.stories.d.ts +0 -1
- package/dist/components/DateRangePicker/__tests__/DateRangePicker.test.js +2 -2
- package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +2 -2
- package/dist/components/ErrorBoundary/ErrorBoundary.js +8 -7
- package/dist/components/ErrorBoundary/__stories__/ErrorBoundary.stories.d.ts +0 -1
- package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.js +25 -20
- package/dist/components/ErrorBoundary/styles.d.ts +0 -1
- package/dist/components/ErrorBoundary/styles.js +1 -1
- package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.js +16 -15
- package/dist/components/ErrorBoundaryFallback/__stories__/ErrorBoundaryFallback.stories.d.ts +0 -1
- package/dist/components/ErrorBoundaryFallback/styles.js +13 -13
- package/dist/components/Form/Form.d.ts +0 -1
- package/dist/components/Form/Form.js +2 -2
- package/dist/components/Form/__stories__/Form.stories.d.ts +0 -1
- package/dist/components/Form/__stories__/FormStory.js +11 -10
- package/dist/components/Form/__tests__/form.test.js +7 -6
- package/dist/components/Form/index.js +1 -1
- package/dist/components/Form/styles.d.ts +0 -1
- package/dist/components/Form/styles.js +10 -2
- package/dist/components/FormBrandon/Form.d.ts +25 -0
- package/dist/components/FormBrandon/Form.js +18 -0
- package/dist/components/FormBrandon/__stories__/Form.stories.d.ts +6 -0
- package/dist/components/FormBrandon/__stories__/FormStory.d.ts +1 -0
- package/dist/components/FormBrandon/__stories__/FormStory.js +172 -0
- package/dist/components/FormBrandon/__tests__/form.test.js +19 -0
- package/dist/components/FormBrandon/index.d.ts +2 -0
- package/dist/components/FormBrandon/index.js +4 -0
- package/dist/components/FormBrandon/styles.d.ts +2 -0
- package/dist/components/FormBrandon/styles.js +13 -0
- package/dist/components/Glyph/Glyph.js +2 -2
- package/dist/components/Glyph/__stories__/Glyph.stories.d.ts +0 -1
- package/dist/components/Glyph/styles.d.ts +0 -1
- package/dist/components/Glyph/styles.js +1 -1
- package/dist/components/Input/Input.d.ts +0 -1
- package/dist/components/Input/Input.js +9 -10
- package/dist/components/Input/__stories__/Input.stories.d.ts +0 -1
- package/dist/components/Input/__tests__/Input.test.js +21 -20
- package/dist/components/Input/styles.d.ts +5 -6
- package/dist/components/Input/styles.js +4 -119
- package/dist/components/Layout/Content/Content.d.ts +0 -1
- package/dist/components/Layout/Content/ResponsiveContent.js +14 -13
- package/dist/components/Layout/Content/styles.d.ts +0 -1
- package/dist/components/Layout/Content/styles.js +1 -1
- package/dist/components/Layout/MainLayout/MainLayout.d.ts +0 -1
- package/dist/components/Layout/MainLayout/MainLayout.js +1 -1
- package/dist/components/Layout/MainLayout/__stories__/MainLayout.stories.d.ts +0 -1
- package/dist/components/Layout/MainLayout/styles.js +1 -1
- package/dist/components/Layout/__stories__/Layout.stories.d.ts +0 -1
- package/dist/components/Layout/__tests__/Layout.test.js +1 -1
- package/dist/components/Message/Message.d.ts +0 -1
- package/dist/components/Message/Message.js +13 -12
- package/dist/components/Message/__stories__/Message.stories.d.ts +0 -1
- package/dist/components/Message/__tests__/Message.test.js +6 -5
- package/dist/components/Message/styles.js +1 -1
- package/dist/components/Notification/Notification.js +122 -55
- package/dist/components/Notification/NotificationBadge/NotificationBadge.js +2 -2
- package/dist/components/Notification/NotificationBadge/__stories__/NotificationBadge.stories.d.ts +0 -1
- package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.js +4 -4
- package/dist/components/Notification/NotificationBadge/styles.js +1 -1
- package/dist/components/Notification/__stories__/Notification.stories.d.ts +0 -1
- package/dist/components/Notification/__tests__/Notification.test.js +3 -3
- package/dist/components/Notification/styles.js +1 -1
- package/dist/components/Popover/Popover.d.ts +1 -1
- package/dist/components/Popover/Popover.js +14 -11
- package/dist/components/Popover/__stories__/Popover.stories.d.ts +0 -1
- package/dist/components/Popover/__tests__/Popover.test.js +19 -26
- package/dist/components/Popover/styles.d.ts +0 -1
- package/dist/components/Popover/styles.js +2 -2
- package/dist/components/Progress/Progress.js +29 -27
- package/dist/components/Progress/Progress.util.d.ts +0 -1
- package/dist/components/Progress/Progress.util.js +8 -7
- package/dist/components/Progress/ProgressText.d.ts +0 -1
- package/dist/components/Progress/ProgressText.js +8 -7
- package/dist/components/Progress/__stories__/Progress.stories.d.ts +0 -1
- package/dist/components/Progress/__tests__/Progress.test.js +4 -4
- package/dist/components/Progress/styles.d.ts +0 -1
- package/dist/components/Progress/styles.js +217 -214
- package/dist/components/Radio/Radio.d.ts +0 -1
- package/dist/components/Radio/Radio.js +9 -8
- package/dist/components/Radio/RadioGroup.js +1 -1
- package/dist/components/Radio/__stories__/RadioGroup.stories.d.ts +0 -1
- package/dist/components/Radio/__tests__/RadioGroup.test.js +8 -7
- package/dist/components/Row/Row.d.ts +0 -1
- package/dist/components/Row/Row.js +29 -26
- package/dist/components/Row/RowActions/RowActions.js +8 -7
- package/dist/components/Row/RowActions/styles.js +1 -1
- package/dist/components/Row/RowLabelValue/RowLabelValue.d.ts +0 -1
- package/dist/components/Row/RowLabelValue/RowLabelValue.js +7 -6
- package/dist/components/Row/RowLabelValue/styles.js +2 -2
- package/dist/components/Row/__stories__/Row.stories.d.ts +0 -1
- package/dist/components/Row/__tests__/Row.test.js +3 -3
- package/dist/components/Row/styles.d.ts +0 -1
- package/dist/components/Row/styles.js +1 -1
- package/dist/components/SegmentedControls/__stories__/SegmentedControls.stories.d.ts +0 -1
- package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.js +1 -1
- package/dist/components/SegmentedControls/styles.d.ts +1 -2
- package/dist/components/SegmentedControls/styles.js +214 -203
- package/dist/components/Select/Select.d.ts +0 -1
- package/dist/components/Select/Select.js +10 -11
- package/dist/components/Select/__stories__/Select.stories.d.ts +0 -1
- package/dist/components/Select/__tests__/Select.test.js +49 -10754
- package/dist/components/Select/styles.d.ts +0 -1
- package/dist/components/Select/styles.js +2 -2
- package/dist/components/Shapes/__stories__/Shapes.stories.d.ts +0 -1
- package/dist/components/Shapes/__tests__/Shapes.test.js +1 -1
- package/dist/components/Switch/__stories__/Switch.stories.d.ts +0 -1
- package/dist/components/Switch/__tests__/Switch.test.js +3 -3
- package/dist/components/Switch/styles.d.ts +0 -1
- package/dist/components/Switch/styles.js +74 -74
- package/dist/components/Table/Table.js +1 -1
- package/dist/components/Table/__mocks__/table-mocks.d.ts +0 -1
- package/dist/components/Table/__mocks__/table-mocks.js +10 -9
- package/dist/components/Table/__stories__/Table.stories.d.ts +0 -1
- package/dist/components/Table/__tests__/Table.test.js +1 -1
- package/dist/components/Table/styles.d.ts +0 -1
- package/dist/components/Table/styles.js +2 -2
- package/dist/components/Tabs/__stories__/Tabs.stories.d.ts +0 -1
- package/dist/components/Tabs/__tests__/Tabs.test.js +3 -3
- package/dist/components/Tabs/styles.d.ts +0 -1
- package/dist/components/Tabs/styles.js +2 -2
- package/dist/components/Tile/__stories__/Tile.stories.d.ts +0 -1
- package/dist/components/Tile/__tests__/Tile.test.js +1 -1
- package/dist/components/Tile/styles.d.ts +0 -1
- package/dist/components/Tile/styles.js +1 -1
- package/dist/components/Toast/Toast.d.ts +0 -1
- package/dist/components/Toast/Toast.js +9 -8
- package/dist/components/Toast/__stories__/Toast.stories.d.ts +0 -1
- package/dist/components/Toast/__tests__/Toast.test.js +6 -5
- package/dist/components/Toast/index.js +1 -1
- package/dist/components/Toast/styles.js +1 -1
- package/dist/components/Tooltip/Tooltip.js +8 -7
- package/dist/components/Tooltip/__stories__/Tooltip.stories.d.ts +0 -1
- package/dist/components/Tooltip/__tests__/Tooltip.test.js +1 -1
- package/dist/components/Tooltip/styles.d.ts +0 -1
- package/dist/components/Tooltip/styles.js +2 -2
- package/dist/components/Typography/Typography.d.ts +0 -1
- package/dist/components/Typography/Typography.js +1 -1
- package/dist/components/Typography/__stories__/Typography.stories.d.ts +0 -1
- package/dist/components/Typography/__tests__/Typography.test.js +14 -13
- package/dist/components/Typography/index.js +1 -1
- package/dist/components/Typography/styles.d.ts +0 -1
- package/dist/components/Typography/styles.js +2 -2
- package/dist/components/index.d.ts +0 -2
- package/dist/components/index.js +46 -48
- package/dist/{context-DIFtNa4d.js → context-CQfFkrkv.js} +285 -278
- package/dist/{dropdown-Dp_PTQ2u.js → dropdown-BlRB2LxQ.js} +492 -491
- package/dist/{generateCategoricalChart-7ceYaiZ2.js → generateCategoricalChart-CqByWmje.js} +7189 -6383
- package/dist/genesis/GenesisThemeBreakdown.d.ts +0 -1
- package/dist/genesis/GenesisThemeBreakdown.js +9 -8
- package/dist/genesis/GenesisThemeDemo.d.ts +0 -1
- package/dist/genesis/GenesisThemeDemo.stories.d.ts +0 -1
- package/dist/genesis/{labs/Lab.stories.d.ts → Lab.stories.d.ts} +0 -1
- package/dist/genesis/styles.d.ts +0 -1
- package/dist/genesis/styles.js +3 -3
- package/dist/{iconBase-LROS5hdG.js → iconBase-DSKTHwal.js} +9 -9
- package/dist/index-B7FXyiY_.js +104 -0
- package/dist/{index-B_1Ge8na.js → index-BHCqeC4j.js} +190 -183
- package/dist/index-BZ050Dyl.js +292 -0
- package/dist/{index-BpZSuIUV.js → index-Br3D3cFM.js} +23 -23
- package/dist/{index-DOsPeIWJ.js → index-Bxbr727t.js} +260 -265
- package/dist/index-C2K1BzmJ.js +3400 -0
- package/dist/{styles-D1vKDy9V.js → index-CupwdUIJ.js} +596 -603
- package/dist/{index-BQM5OniU.js → index-CzMIlMTV.js} +111 -111
- package/dist/index-DCopujxC.js +772 -0
- package/dist/index-DRGbc-fW.js +780 -0
- package/dist/index-DavB5GQ3.js +5221 -0
- package/dist/index-RAH9f-qb.js +540 -0
- package/dist/{index-BPVue1Yd.js → index-RtWhGOwR.js} +152 -150
- package/dist/index-Y0KgiFZb.js +909 -0
- package/dist/{index-DRGX1Wem.js → index-sX7KZ-nU.js} +414 -402
- package/dist/index.js +53 -55
- package/dist/interface/appointment.d.ts +0 -1
- package/dist/interface/appointmentV2.d.ts +0 -1
- package/dist/interface/appointmentsState.d.ts +0 -1
- package/dist/interface/deliveryPartner.d.ts +0 -1
- package/dist/interface/route.d.ts +0 -1
- package/dist/interface/routeAnalysis.d.ts +0 -1
- package/dist/interface/routeAutomationJob.d.ts +0 -1
- package/dist/interface/routeAutomationLog.d.ts +0 -1
- package/dist/interface/serviceArea.d.ts +0 -1
- package/dist/interface/vehicle.d.ts +0 -1
- package/dist/{magic-string.es-BKBb7z-1.js → magic-string.es-D4UQQyt0.js} +265 -264
- package/dist/{motion-CUN72xsH.js → motion-C-XpKcZG.js} +6 -5
- package/dist/{pickAttrs-CleuMJFR.js → pickAttrs-yFE4_vFd.js} +1 -1
- package/dist/{presets-Djh_L_6R.js → presets-CSXMiWyc.js} +176 -176
- package/dist/providers/BreakpointThemeProvider.d.ts +0 -1
- package/dist/providers/BreakpointThemeProvider.js +5 -5
- package/dist/providers/GenesisProvider.d.ts +0 -1
- package/dist/providers/GenesisProvider.js +1 -1
- package/dist/providers/ToastProvider.d.ts +0 -1
- package/dist/providers/ToastProvider.js +10 -9
- package/dist/providers/__stories__/GenesisProvider.stories.d.ts +0 -1
- package/dist/providers/index.js +1 -1
- package/dist/providers/useGenesis.d.ts +0 -1
- package/dist/providers/useGenesis.js +2 -2
- package/dist/{roundedArrow-DI_Q-xdU.js → roundedArrow-BxPlu4Hq.js} +2 -2
- package/dist/setup-aZdxWCJq.js +13976 -0
- package/dist/setup.types-CgFq66QX.js +9261 -0
- package/dist/shadow-9lsz-71t.js +13 -0
- package/dist/statusUtils-Kj9kMuVg.js +15 -0
- package/dist/{styleChecker-Cotu61d0.js → styleChecker-CSH9LQtm.js} +3 -3
- package/dist/{styled-components.browser.esm-CZ1XM4o4.js → styled-components.browser.esm-C47QHsU4.js} +371 -304
- package/dist/styles/design-tokens/border-tokens/BorderTokenList.js +11 -10
- package/dist/styles/design-tokens/border-tokens/BorderTokens.stories.d.ts +0 -1
- package/dist/styles/design-tokens/color-tokens/ColorTokens.stories.d.ts +0 -1
- package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.js +9 -8
- package/dist/styles/design-tokens/sizing-tokens/index.stories.d.ts +0 -1
- package/dist/styles/design-tokens/typography-tokens/TypographyTokens.stories.d.ts +0 -1
- package/dist/styles/global-styles.d.ts +0 -1
- package/dist/styles/global-styles.js +1 -1
- package/dist/styles/theme/genesis-theme.d.ts +0 -1
- package/dist/styles/theme/genesis-theme.js +285 -337
- package/dist/styles/theme/genesis-theme.test.d.ts +1 -0
- package/dist/styles/theme/genesis-theme.test.js +69 -0
- package/dist/styles/theme/theme-tree/ThemeTree.js +488 -488
- package/dist/styles/theme/theme-tree/ThemeTree.stories.d.ts +0 -1
- package/dist/styles-DNay6iFa.js +292 -0
- package/dist/styles-Wpm1RiGr.js +9212 -0
- package/dist/styles-XuoEGUZZ.js +549 -0
- package/dist/test/setup.d.ts +0 -1
- package/dist/test/setup.js +35 -35
- package/dist/test/setup.types.d.ts +0 -1
- package/dist/test/setup.types.js +1 -1
- package/dist/{toArray-U3Az44CO.js → toArray-D5kvYi_U.js} +1 -1
- package/dist/useBreakpoint-ByLol0R9.js +88 -0
- package/dist/useCSSVarCls-YfJY1twF.js +10 -0
- package/dist/{useIcons-Ck4JP1m9.js → useIcons-CoxuumP_.js} +16 -16
- package/dist/{useId-D2tzlufo.js → useId-DLf1xVuv.js} +3 -3
- package/dist/useLocale-BQ3mKRyJ.js +16 -0
- package/dist/{useMergedState-D6toxSxh.js → useMergedState-D1-TbeEv.js} +2 -2
- package/dist/useSize-Ct1guc-z.js +9 -0
- package/dist/useVariants-C6UAAu9f.js +19 -0
- package/dist/{useZIndex-DhyHuZTN.js → useZIndex-tgX56o1r.js} +7 -6
- package/dist/utils/icon-util.js +48 -44
- package/dist/vi.B5EKKJdE-BsDIxc7v.js +14087 -0
- package/package.json +33 -24
- package/dist/EllipsisOutlined-DGMph0Bj.js +0 -1115
- package/dist/KeyCode-DM2sFh3-.js +0 -517
- package/dist/TextArea-Bkf9hh7l.js +0 -708
- package/dist/_baseIsEqual-L0-w1QRI.js +0 -598
- package/dist/button-BwqpCxVM.js +0 -1406
- package/dist/clsx-OuTLNxxd.js +0 -16
- package/dist/index-BRUI9igj.js +0 -11
- package/dist/index-BbTV2Cw5.js +0 -22638
- package/dist/index-BeGv28kJ.js +0 -5173
- package/dist/index-BvOLXELm.js +0 -102
- package/dist/index-CLSrpQRW.js +0 -416
- package/dist/index-CbVOl2U6.js +0 -288
- package/dist/index-D0U6r5O7.js +0 -780
- package/dist/index-DEu2PVzQ.js +0 -538
- package/dist/index-DLdU7Tpd.js +0 -183
- package/dist/index-DNQ-jnBx.js +0 -3321
- package/dist/index-DWjq9XYj.js +0 -899
- package/dist/responsiveObserver-dCkpy7Cb.js +0 -73
- package/dist/setup-DwHFLWUb.js +0 -24713
- package/dist/setup.types-dBtAXXGp.js +0 -8824
- package/dist/shadow-BoMGMNn3.js +0 -13
- package/dist/styles-CWdUpZom.js +0 -289
- package/dist/styles-qerRs7Rn.js +0 -9196
- package/dist/useBreakpoint-TkMv121M.js +0 -22
- package/dist/useCSSVarCls-Dau77fzS.js +0 -11
- package/dist/useLocale-CTfNpakL.js +0 -16
- package/dist/useSize-DSq4r6zy.js +0 -9
- package/dist/useVariants-DrLzUVLU.js +0 -30
- package/dist/utils/getAppointmentColor.d.ts +0 -4
- package/dist/utils/getAppointmentColor.js +0 -91
- package/dist/utils/isAllEnglishString.d.ts +0 -1
- package/dist/utils/isAllEnglishString.js +0 -8
- package/dist/utils/isAllEnglishString.test.js +0 -8
- package/dist/utils/parseAddress.d.ts +0 -3
- package/dist/utils/parseAddress.js +0 -19
- /package/dist/{utils/isAllEnglishString.test.d.ts → components/FormBrandon/__tests__/form.test.d.ts} +0 -0
|
@@ -0,0 +1,909 @@
|
|
|
1
|
+
import * as f from "react";
|
|
2
|
+
import { forwardRef as Vt, useRef as Lt, useImperativeHandle as Dt } from "react";
|
|
3
|
+
import { c as _, g as Bt, _ as j, e as kt } from "./presets-CSXMiWyc.js";
|
|
4
|
+
import { i as Ht, T as Mt } from "./index-DRGbc-fW.js";
|
|
5
|
+
import { u as Xt } from "./useId-DLf1xVuv.js";
|
|
6
|
+
import { u as Wt } from "./useMergedState-D1-TbeEv.js";
|
|
7
|
+
import { C as Yt } from "./ContextIsolator-CUJnq-4F.js";
|
|
8
|
+
import { u as Zt, z as Kt } from "./useZIndex-tgX56o1r.js";
|
|
9
|
+
import { g as Ft } from "./motion-C-XpKcZG.js";
|
|
10
|
+
import { f as F, g as Ut, m as dt, j as qt, n as ft, C as Gt, c as Jt, l as Qt } from "./CSSMotionList-DB0khM6h.js";
|
|
11
|
+
import { a as te, g as ee } from "./roundedArrow-BxPlu4Hq.js";
|
|
12
|
+
import { i as oe, c as re } from "./reactNode-sKPeiqPL.js";
|
|
13
|
+
import { d as ae } from "./index-DCopujxC.js";
|
|
14
|
+
import { K as h } from "./Keyframes-CyO2Aeq-.js";
|
|
15
|
+
import { P as U } from "./presetColors-Cl8UP3Nw.js";
|
|
16
|
+
function ne(t, o) {
|
|
17
|
+
return U.reduce((r, e) => {
|
|
18
|
+
const a = t[`${e}1`], n = t[`${e}3`], s = t[`${e}6`], i = t[`${e}7`];
|
|
19
|
+
return Object.assign(Object.assign({}, r), o(e, {
|
|
20
|
+
lightColor: a,
|
|
21
|
+
lightBorderColor: n,
|
|
22
|
+
darkColor: s,
|
|
23
|
+
textColor: i
|
|
24
|
+
}));
|
|
25
|
+
}, {});
|
|
26
|
+
}
|
|
27
|
+
const se = new h("antZoomIn", {
|
|
28
|
+
"0%": {
|
|
29
|
+
transform: "scale(0.2)",
|
|
30
|
+
opacity: 0
|
|
31
|
+
},
|
|
32
|
+
"100%": {
|
|
33
|
+
transform: "scale(1)",
|
|
34
|
+
opacity: 1
|
|
35
|
+
}
|
|
36
|
+
}), ie = new h("antZoomOut", {
|
|
37
|
+
"0%": {
|
|
38
|
+
transform: "scale(1)"
|
|
39
|
+
},
|
|
40
|
+
"100%": {
|
|
41
|
+
transform: "scale(0.2)",
|
|
42
|
+
opacity: 0
|
|
43
|
+
}
|
|
44
|
+
}), mt = new h("antZoomBigIn", {
|
|
45
|
+
"0%": {
|
|
46
|
+
transform: "scale(0.8)",
|
|
47
|
+
opacity: 0
|
|
48
|
+
},
|
|
49
|
+
"100%": {
|
|
50
|
+
transform: "scale(1)",
|
|
51
|
+
opacity: 1
|
|
52
|
+
}
|
|
53
|
+
}), pt = new h("antZoomBigOut", {
|
|
54
|
+
"0%": {
|
|
55
|
+
transform: "scale(1)"
|
|
56
|
+
},
|
|
57
|
+
"100%": {
|
|
58
|
+
transform: "scale(0.8)",
|
|
59
|
+
opacity: 0
|
|
60
|
+
}
|
|
61
|
+
}), le = new h("antZoomUpIn", {
|
|
62
|
+
"0%": {
|
|
63
|
+
transform: "scale(0.8)",
|
|
64
|
+
transformOrigin: "50% 0%",
|
|
65
|
+
opacity: 0
|
|
66
|
+
},
|
|
67
|
+
"100%": {
|
|
68
|
+
transform: "scale(1)",
|
|
69
|
+
transformOrigin: "50% 0%"
|
|
70
|
+
}
|
|
71
|
+
}), ce = new h("antZoomUpOut", {
|
|
72
|
+
"0%": {
|
|
73
|
+
transform: "scale(1)",
|
|
74
|
+
transformOrigin: "50% 0%"
|
|
75
|
+
},
|
|
76
|
+
"100%": {
|
|
77
|
+
transform: "scale(0.8)",
|
|
78
|
+
transformOrigin: "50% 0%",
|
|
79
|
+
opacity: 0
|
|
80
|
+
}
|
|
81
|
+
}), fe = new h("antZoomLeftIn", {
|
|
82
|
+
"0%": {
|
|
83
|
+
transform: "scale(0.8)",
|
|
84
|
+
transformOrigin: "0% 50%",
|
|
85
|
+
opacity: 0
|
|
86
|
+
},
|
|
87
|
+
"100%": {
|
|
88
|
+
transform: "scale(1)",
|
|
89
|
+
transformOrigin: "0% 50%"
|
|
90
|
+
}
|
|
91
|
+
}), me = new h("antZoomLeftOut", {
|
|
92
|
+
"0%": {
|
|
93
|
+
transform: "scale(1)",
|
|
94
|
+
transformOrigin: "0% 50%"
|
|
95
|
+
},
|
|
96
|
+
"100%": {
|
|
97
|
+
transform: "scale(0.8)",
|
|
98
|
+
transformOrigin: "0% 50%",
|
|
99
|
+
opacity: 0
|
|
100
|
+
}
|
|
101
|
+
}), pe = new h("antZoomRightIn", {
|
|
102
|
+
"0%": {
|
|
103
|
+
transform: "scale(0.8)",
|
|
104
|
+
transformOrigin: "100% 50%",
|
|
105
|
+
opacity: 0
|
|
106
|
+
},
|
|
107
|
+
"100%": {
|
|
108
|
+
transform: "scale(1)",
|
|
109
|
+
transformOrigin: "100% 50%"
|
|
110
|
+
}
|
|
111
|
+
}), ue = new h("antZoomRightOut", {
|
|
112
|
+
"0%": {
|
|
113
|
+
transform: "scale(1)",
|
|
114
|
+
transformOrigin: "100% 50%"
|
|
115
|
+
},
|
|
116
|
+
"100%": {
|
|
117
|
+
transform: "scale(0.8)",
|
|
118
|
+
transformOrigin: "100% 50%",
|
|
119
|
+
opacity: 0
|
|
120
|
+
}
|
|
121
|
+
}), de = new h("antZoomDownIn", {
|
|
122
|
+
"0%": {
|
|
123
|
+
transform: "scale(0.8)",
|
|
124
|
+
transformOrigin: "50% 100%",
|
|
125
|
+
opacity: 0
|
|
126
|
+
},
|
|
127
|
+
"100%": {
|
|
128
|
+
transform: "scale(1)",
|
|
129
|
+
transformOrigin: "50% 100%"
|
|
130
|
+
}
|
|
131
|
+
}), ge = new h("antZoomDownOut", {
|
|
132
|
+
"0%": {
|
|
133
|
+
transform: "scale(1)",
|
|
134
|
+
transformOrigin: "50% 100%"
|
|
135
|
+
},
|
|
136
|
+
"100%": {
|
|
137
|
+
transform: "scale(0.8)",
|
|
138
|
+
transformOrigin: "50% 100%",
|
|
139
|
+
opacity: 0
|
|
140
|
+
}
|
|
141
|
+
}), be = {
|
|
142
|
+
zoom: {
|
|
143
|
+
inKeyframes: se,
|
|
144
|
+
outKeyframes: ie
|
|
145
|
+
},
|
|
146
|
+
"zoom-big": {
|
|
147
|
+
inKeyframes: mt,
|
|
148
|
+
outKeyframes: pt
|
|
149
|
+
},
|
|
150
|
+
"zoom-big-fast": {
|
|
151
|
+
inKeyframes: mt,
|
|
152
|
+
outKeyframes: pt
|
|
153
|
+
},
|
|
154
|
+
"zoom-left": {
|
|
155
|
+
inKeyframes: fe,
|
|
156
|
+
outKeyframes: me
|
|
157
|
+
},
|
|
158
|
+
"zoom-right": {
|
|
159
|
+
inKeyframes: pe,
|
|
160
|
+
outKeyframes: ue
|
|
161
|
+
},
|
|
162
|
+
"zoom-up": {
|
|
163
|
+
inKeyframes: le,
|
|
164
|
+
outKeyframes: ce
|
|
165
|
+
},
|
|
166
|
+
"zoom-down": {
|
|
167
|
+
inKeyframes: de,
|
|
168
|
+
outKeyframes: ge
|
|
169
|
+
}
|
|
170
|
+
}, ve = (t, o) => {
|
|
171
|
+
const {
|
|
172
|
+
antCls: r
|
|
173
|
+
} = t, e = `${r}-${o}`, {
|
|
174
|
+
inKeyframes: a,
|
|
175
|
+
outKeyframes: n
|
|
176
|
+
} = be[o];
|
|
177
|
+
return [Ht(e, a, n, o === "zoom-big-fast" ? t.motionDurationFast : t.motionDurationMid), {
|
|
178
|
+
[`
|
|
179
|
+
${e}-enter,
|
|
180
|
+
${e}-appear
|
|
181
|
+
`]: {
|
|
182
|
+
transform: "scale(0)",
|
|
183
|
+
opacity: 0,
|
|
184
|
+
animationTimingFunction: t.motionEaseOutCirc,
|
|
185
|
+
"&-prepare": {
|
|
186
|
+
transform: "none"
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
[`${e}-leave`]: {
|
|
190
|
+
animationTimingFunction: t.motionEaseInOutCirc
|
|
191
|
+
}
|
|
192
|
+
}];
|
|
193
|
+
};
|
|
194
|
+
function gt(t) {
|
|
195
|
+
var o = t.children, r = t.prefixCls, e = t.id, a = t.overlayInnerStyle, n = t.bodyClassName, s = t.className, i = t.style;
|
|
196
|
+
return /* @__PURE__ */ f.createElement("div", {
|
|
197
|
+
className: _("".concat(r, "-content"), s),
|
|
198
|
+
style: i
|
|
199
|
+
}, /* @__PURE__ */ f.createElement("div", {
|
|
200
|
+
className: _("".concat(r, "-inner"), n),
|
|
201
|
+
id: e,
|
|
202
|
+
role: "tooltip",
|
|
203
|
+
style: a
|
|
204
|
+
}, typeof o == "function" ? o() : o));
|
|
205
|
+
}
|
|
206
|
+
var V = {
|
|
207
|
+
shiftX: 64,
|
|
208
|
+
adjustY: 1
|
|
209
|
+
}, L = {
|
|
210
|
+
adjustX: 1,
|
|
211
|
+
shiftY: !0
|
|
212
|
+
}, y = [0, 0], ye = {
|
|
213
|
+
left: {
|
|
214
|
+
points: ["cr", "cl"],
|
|
215
|
+
overflow: L,
|
|
216
|
+
offset: [-4, 0],
|
|
217
|
+
targetOffset: y
|
|
218
|
+
},
|
|
219
|
+
right: {
|
|
220
|
+
points: ["cl", "cr"],
|
|
221
|
+
overflow: L,
|
|
222
|
+
offset: [4, 0],
|
|
223
|
+
targetOffset: y
|
|
224
|
+
},
|
|
225
|
+
top: {
|
|
226
|
+
points: ["bc", "tc"],
|
|
227
|
+
overflow: V,
|
|
228
|
+
offset: [0, -4],
|
|
229
|
+
targetOffset: y
|
|
230
|
+
},
|
|
231
|
+
bottom: {
|
|
232
|
+
points: ["tc", "bc"],
|
|
233
|
+
overflow: V,
|
|
234
|
+
offset: [0, 4],
|
|
235
|
+
targetOffset: y
|
|
236
|
+
},
|
|
237
|
+
topLeft: {
|
|
238
|
+
points: ["bl", "tl"],
|
|
239
|
+
overflow: V,
|
|
240
|
+
offset: [0, -4],
|
|
241
|
+
targetOffset: y
|
|
242
|
+
},
|
|
243
|
+
leftTop: {
|
|
244
|
+
points: ["tr", "tl"],
|
|
245
|
+
overflow: L,
|
|
246
|
+
offset: [-4, 0],
|
|
247
|
+
targetOffset: y
|
|
248
|
+
},
|
|
249
|
+
topRight: {
|
|
250
|
+
points: ["br", "tr"],
|
|
251
|
+
overflow: V,
|
|
252
|
+
offset: [0, -4],
|
|
253
|
+
targetOffset: y
|
|
254
|
+
},
|
|
255
|
+
rightTop: {
|
|
256
|
+
points: ["tl", "tr"],
|
|
257
|
+
overflow: L,
|
|
258
|
+
offset: [4, 0],
|
|
259
|
+
targetOffset: y
|
|
260
|
+
},
|
|
261
|
+
bottomRight: {
|
|
262
|
+
points: ["tr", "br"],
|
|
263
|
+
overflow: V,
|
|
264
|
+
offset: [0, 4],
|
|
265
|
+
targetOffset: y
|
|
266
|
+
},
|
|
267
|
+
rightBottom: {
|
|
268
|
+
points: ["bl", "br"],
|
|
269
|
+
overflow: L,
|
|
270
|
+
offset: [4, 0],
|
|
271
|
+
targetOffset: y
|
|
272
|
+
},
|
|
273
|
+
bottomLeft: {
|
|
274
|
+
points: ["tl", "bl"],
|
|
275
|
+
overflow: V,
|
|
276
|
+
offset: [0, 4],
|
|
277
|
+
targetOffset: y
|
|
278
|
+
},
|
|
279
|
+
leftBottom: {
|
|
280
|
+
points: ["br", "bl"],
|
|
281
|
+
overflow: L,
|
|
282
|
+
offset: [-4, 0],
|
|
283
|
+
targetOffset: y
|
|
284
|
+
}
|
|
285
|
+
}, he = ["overlayClassName", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "prefixCls", "children", "onVisibleChange", "afterVisibleChange", "transitionName", "animation", "motion", "placement", "align", "destroyTooltipOnHide", "defaultVisible", "getTooltipContainer", "overlayInnerStyle", "arrowContent", "overlay", "id", "showArrow", "classNames", "styles"], we = function(o, r) {
|
|
286
|
+
var e = o.overlayClassName, a = o.trigger, n = a === void 0 ? ["hover"] : a, s = o.mouseEnterDelay, i = s === void 0 ? 0 : s, l = o.mouseLeaveDelay, m = l === void 0 ? 0.1 : l, b = o.overlayStyle, c = o.prefixCls, p = c === void 0 ? "rc-tooltip" : c, d = o.children, v = o.onVisibleChange, w = o.afterVisibleChange, T = o.transitionName, x = o.animation, S = o.motion, q = o.placement, G = q === void 0 ? "right" : q, k = o.align, J = k === void 0 ? {} : k, H = o.destroyTooltipOnHide, Q = H === void 0 ? !1 : H, tt = o.defaultVisible, et = o.getTooltipContainer, P = o.overlayInnerStyle;
|
|
287
|
+
o.arrowContent;
|
|
288
|
+
var C = o.overlay, M = o.id, D = o.showArrow, I = D === void 0 ? !0 : D, $ = o.classNames, O = o.styles, ot = Bt(o, he), X = Xt(M), W = Lt(null);
|
|
289
|
+
Dt(r, function() {
|
|
290
|
+
return W.current;
|
|
291
|
+
});
|
|
292
|
+
var B = j({}, ot);
|
|
293
|
+
"visible" in o && (B.popupVisible = o.visible);
|
|
294
|
+
var Y = function() {
|
|
295
|
+
return /* @__PURE__ */ f.createElement(gt, {
|
|
296
|
+
key: "content",
|
|
297
|
+
prefixCls: p,
|
|
298
|
+
id: X,
|
|
299
|
+
bodyClassName: $ == null ? void 0 : $.body,
|
|
300
|
+
overlayInnerStyle: j(j({}, P), O == null ? void 0 : O.body)
|
|
301
|
+
}, C);
|
|
302
|
+
}, z = function() {
|
|
303
|
+
var A = f.Children.only(d), rt = (A == null ? void 0 : A.props) || {}, at = j(j({}, rt), {}, {
|
|
304
|
+
"aria-describedby": C ? X : null
|
|
305
|
+
});
|
|
306
|
+
return /* @__PURE__ */ f.cloneElement(d, at);
|
|
307
|
+
};
|
|
308
|
+
return /* @__PURE__ */ f.createElement(Mt, kt({
|
|
309
|
+
popupClassName: _(e, $ == null ? void 0 : $.root),
|
|
310
|
+
prefixCls: p,
|
|
311
|
+
popup: Y,
|
|
312
|
+
action: n,
|
|
313
|
+
builtinPlacements: ye,
|
|
314
|
+
popupPlacement: G,
|
|
315
|
+
ref: W,
|
|
316
|
+
popupAlign: J,
|
|
317
|
+
getPopupContainer: et,
|
|
318
|
+
onPopupVisibleChange: v,
|
|
319
|
+
afterPopupVisibleChange: w,
|
|
320
|
+
popupTransitionName: T,
|
|
321
|
+
popupAnimation: x,
|
|
322
|
+
popupMotion: S,
|
|
323
|
+
defaultPopupVisible: tt,
|
|
324
|
+
autoDestroy: Q,
|
|
325
|
+
mouseLeaveDelay: m,
|
|
326
|
+
popupStyle: j(j({}, b), O == null ? void 0 : O.root),
|
|
327
|
+
mouseEnterDelay: i,
|
|
328
|
+
arrow: I
|
|
329
|
+
}, B), z());
|
|
330
|
+
};
|
|
331
|
+
const Ce = /* @__PURE__ */ Vt(we), bt = 8;
|
|
332
|
+
function vt(t) {
|
|
333
|
+
const {
|
|
334
|
+
contentRadius: o,
|
|
335
|
+
limitVerticalRadius: r
|
|
336
|
+
} = t, e = o > 12 ? o + 2 : 12;
|
|
337
|
+
return {
|
|
338
|
+
arrowOffsetHorizontal: e,
|
|
339
|
+
arrowOffsetVertical: r ? bt : e
|
|
340
|
+
};
|
|
341
|
+
}
|
|
342
|
+
function K(t, o) {
|
|
343
|
+
return t ? o : {};
|
|
344
|
+
}
|
|
345
|
+
function Oe(t, o, r) {
|
|
346
|
+
const {
|
|
347
|
+
componentCls: e,
|
|
348
|
+
boxShadowPopoverArrow: a,
|
|
349
|
+
arrowOffsetVertical: n,
|
|
350
|
+
arrowOffsetHorizontal: s
|
|
351
|
+
} = t, {
|
|
352
|
+
arrowDistance: i = 0,
|
|
353
|
+
arrowPlacement: l = {
|
|
354
|
+
left: !0,
|
|
355
|
+
right: !0,
|
|
356
|
+
top: !0,
|
|
357
|
+
bottom: !0
|
|
358
|
+
}
|
|
359
|
+
} = r || {};
|
|
360
|
+
return {
|
|
361
|
+
[e]: Object.assign(Object.assign(Object.assign(Object.assign({
|
|
362
|
+
// ============================ Basic ============================
|
|
363
|
+
[`${e}-arrow`]: [Object.assign(Object.assign({
|
|
364
|
+
position: "absolute",
|
|
365
|
+
zIndex: 1,
|
|
366
|
+
display: "block"
|
|
367
|
+
}, te(t, o, a)), {
|
|
368
|
+
"&:before": {
|
|
369
|
+
background: o
|
|
370
|
+
}
|
|
371
|
+
})]
|
|
372
|
+
}, K(!!l.top, {
|
|
373
|
+
[[`&-placement-top > ${e}-arrow`, `&-placement-topLeft > ${e}-arrow`, `&-placement-topRight > ${e}-arrow`].join(",")]: {
|
|
374
|
+
bottom: i,
|
|
375
|
+
transform: "translateY(100%) rotate(180deg)"
|
|
376
|
+
},
|
|
377
|
+
[`&-placement-top > ${e}-arrow`]: {
|
|
378
|
+
left: {
|
|
379
|
+
_skip_check_: !0,
|
|
380
|
+
value: "50%"
|
|
381
|
+
},
|
|
382
|
+
transform: "translateX(-50%) translateY(100%) rotate(180deg)"
|
|
383
|
+
},
|
|
384
|
+
"&-placement-topLeft": {
|
|
385
|
+
"--arrow-offset-horizontal": s,
|
|
386
|
+
[`> ${e}-arrow`]: {
|
|
387
|
+
left: {
|
|
388
|
+
_skip_check_: !0,
|
|
389
|
+
value: s
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
"&-placement-topRight": {
|
|
394
|
+
"--arrow-offset-horizontal": `calc(100% - ${F(s)})`,
|
|
395
|
+
[`> ${e}-arrow`]: {
|
|
396
|
+
right: {
|
|
397
|
+
_skip_check_: !0,
|
|
398
|
+
value: s
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
})), K(!!l.bottom, {
|
|
403
|
+
[[`&-placement-bottom > ${e}-arrow`, `&-placement-bottomLeft > ${e}-arrow`, `&-placement-bottomRight > ${e}-arrow`].join(",")]: {
|
|
404
|
+
top: i,
|
|
405
|
+
transform: "translateY(-100%)"
|
|
406
|
+
},
|
|
407
|
+
[`&-placement-bottom > ${e}-arrow`]: {
|
|
408
|
+
left: {
|
|
409
|
+
_skip_check_: !0,
|
|
410
|
+
value: "50%"
|
|
411
|
+
},
|
|
412
|
+
transform: "translateX(-50%) translateY(-100%)"
|
|
413
|
+
},
|
|
414
|
+
"&-placement-bottomLeft": {
|
|
415
|
+
"--arrow-offset-horizontal": s,
|
|
416
|
+
[`> ${e}-arrow`]: {
|
|
417
|
+
left: {
|
|
418
|
+
_skip_check_: !0,
|
|
419
|
+
value: s
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
"&-placement-bottomRight": {
|
|
424
|
+
"--arrow-offset-horizontal": `calc(100% - ${F(s)})`,
|
|
425
|
+
[`> ${e}-arrow`]: {
|
|
426
|
+
right: {
|
|
427
|
+
_skip_check_: !0,
|
|
428
|
+
value: s
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
})), K(!!l.left, {
|
|
433
|
+
[[`&-placement-left > ${e}-arrow`, `&-placement-leftTop > ${e}-arrow`, `&-placement-leftBottom > ${e}-arrow`].join(",")]: {
|
|
434
|
+
right: {
|
|
435
|
+
_skip_check_: !0,
|
|
436
|
+
value: i
|
|
437
|
+
},
|
|
438
|
+
transform: "translateX(100%) rotate(90deg)"
|
|
439
|
+
},
|
|
440
|
+
[`&-placement-left > ${e}-arrow`]: {
|
|
441
|
+
top: {
|
|
442
|
+
_skip_check_: !0,
|
|
443
|
+
value: "50%"
|
|
444
|
+
},
|
|
445
|
+
transform: "translateY(-50%) translateX(100%) rotate(90deg)"
|
|
446
|
+
},
|
|
447
|
+
[`&-placement-leftTop > ${e}-arrow`]: {
|
|
448
|
+
top: n
|
|
449
|
+
},
|
|
450
|
+
[`&-placement-leftBottom > ${e}-arrow`]: {
|
|
451
|
+
bottom: n
|
|
452
|
+
}
|
|
453
|
+
})), K(!!l.right, {
|
|
454
|
+
[[`&-placement-right > ${e}-arrow`, `&-placement-rightTop > ${e}-arrow`, `&-placement-rightBottom > ${e}-arrow`].join(",")]: {
|
|
455
|
+
left: {
|
|
456
|
+
_skip_check_: !0,
|
|
457
|
+
value: i
|
|
458
|
+
},
|
|
459
|
+
transform: "translateX(-100%) rotate(-90deg)"
|
|
460
|
+
},
|
|
461
|
+
[`&-placement-right > ${e}-arrow`]: {
|
|
462
|
+
top: {
|
|
463
|
+
_skip_check_: !0,
|
|
464
|
+
value: "50%"
|
|
465
|
+
},
|
|
466
|
+
transform: "translateY(-50%) translateX(-100%) rotate(-90deg)"
|
|
467
|
+
},
|
|
468
|
+
[`&-placement-rightTop > ${e}-arrow`]: {
|
|
469
|
+
top: n
|
|
470
|
+
},
|
|
471
|
+
[`&-placement-rightBottom > ${e}-arrow`]: {
|
|
472
|
+
bottom: n
|
|
473
|
+
}
|
|
474
|
+
}))
|
|
475
|
+
};
|
|
476
|
+
}
|
|
477
|
+
function Pe(t, o, r, e) {
|
|
478
|
+
if (e === !1)
|
|
479
|
+
return {
|
|
480
|
+
adjustX: !1,
|
|
481
|
+
adjustY: !1
|
|
482
|
+
};
|
|
483
|
+
const a = e && typeof e == "object" ? e : {}, n = {};
|
|
484
|
+
switch (t) {
|
|
485
|
+
case "top":
|
|
486
|
+
case "bottom":
|
|
487
|
+
n.shiftX = o.arrowOffsetHorizontal * 2 + r, n.shiftY = !0, n.adjustY = !0;
|
|
488
|
+
break;
|
|
489
|
+
case "left":
|
|
490
|
+
case "right":
|
|
491
|
+
n.shiftY = o.arrowOffsetVertical * 2 + r, n.shiftX = !0, n.adjustX = !0;
|
|
492
|
+
break;
|
|
493
|
+
}
|
|
494
|
+
const s = Object.assign(Object.assign({}, n), a);
|
|
495
|
+
return s.shiftX || (s.adjustX = !0), s.shiftY || (s.adjustY = !0), s;
|
|
496
|
+
}
|
|
497
|
+
const ut = {
|
|
498
|
+
left: {
|
|
499
|
+
points: ["cr", "cl"]
|
|
500
|
+
},
|
|
501
|
+
right: {
|
|
502
|
+
points: ["cl", "cr"]
|
|
503
|
+
},
|
|
504
|
+
top: {
|
|
505
|
+
points: ["bc", "tc"]
|
|
506
|
+
},
|
|
507
|
+
bottom: {
|
|
508
|
+
points: ["tc", "bc"]
|
|
509
|
+
},
|
|
510
|
+
topLeft: {
|
|
511
|
+
points: ["bl", "tl"]
|
|
512
|
+
},
|
|
513
|
+
leftTop: {
|
|
514
|
+
points: ["tr", "tl"]
|
|
515
|
+
},
|
|
516
|
+
topRight: {
|
|
517
|
+
points: ["br", "tr"]
|
|
518
|
+
},
|
|
519
|
+
rightTop: {
|
|
520
|
+
points: ["tl", "tr"]
|
|
521
|
+
},
|
|
522
|
+
bottomRight: {
|
|
523
|
+
points: ["tr", "br"]
|
|
524
|
+
},
|
|
525
|
+
rightBottom: {
|
|
526
|
+
points: ["bl", "br"]
|
|
527
|
+
},
|
|
528
|
+
bottomLeft: {
|
|
529
|
+
points: ["tl", "bl"]
|
|
530
|
+
},
|
|
531
|
+
leftBottom: {
|
|
532
|
+
points: ["br", "bl"]
|
|
533
|
+
}
|
|
534
|
+
}, $e = {
|
|
535
|
+
topLeft: {
|
|
536
|
+
points: ["bl", "tc"]
|
|
537
|
+
},
|
|
538
|
+
leftTop: {
|
|
539
|
+
points: ["tr", "cl"]
|
|
540
|
+
},
|
|
541
|
+
topRight: {
|
|
542
|
+
points: ["br", "tc"]
|
|
543
|
+
},
|
|
544
|
+
rightTop: {
|
|
545
|
+
points: ["tl", "cr"]
|
|
546
|
+
},
|
|
547
|
+
bottomRight: {
|
|
548
|
+
points: ["tr", "bc"]
|
|
549
|
+
},
|
|
550
|
+
rightBottom: {
|
|
551
|
+
points: ["bl", "cr"]
|
|
552
|
+
},
|
|
553
|
+
bottomLeft: {
|
|
554
|
+
points: ["tl", "bc"]
|
|
555
|
+
},
|
|
556
|
+
leftBottom: {
|
|
557
|
+
points: ["br", "cl"]
|
|
558
|
+
}
|
|
559
|
+
}, Ne = /* @__PURE__ */ new Set(["topLeft", "topRight", "bottomLeft", "bottomRight", "leftTop", "leftBottom", "rightTop", "rightBottom"]);
|
|
560
|
+
function _e(t) {
|
|
561
|
+
const {
|
|
562
|
+
arrowWidth: o,
|
|
563
|
+
autoAdjustOverflow: r,
|
|
564
|
+
arrowPointAtCenter: e,
|
|
565
|
+
offset: a,
|
|
566
|
+
borderRadius: n,
|
|
567
|
+
visibleFirst: s
|
|
568
|
+
} = t, i = o / 2, l = {};
|
|
569
|
+
return Object.keys(ut).forEach((m) => {
|
|
570
|
+
const b = e && $e[m] || ut[m], c = Object.assign(Object.assign({}, b), {
|
|
571
|
+
offset: [0, 0],
|
|
572
|
+
dynamicInset: !0
|
|
573
|
+
});
|
|
574
|
+
switch (l[m] = c, Ne.has(m) && (c.autoArrow = !1), m) {
|
|
575
|
+
case "top":
|
|
576
|
+
case "topLeft":
|
|
577
|
+
case "topRight":
|
|
578
|
+
c.offset[1] = -i - a;
|
|
579
|
+
break;
|
|
580
|
+
case "bottom":
|
|
581
|
+
case "bottomLeft":
|
|
582
|
+
case "bottomRight":
|
|
583
|
+
c.offset[1] = i + a;
|
|
584
|
+
break;
|
|
585
|
+
case "left":
|
|
586
|
+
case "leftTop":
|
|
587
|
+
case "leftBottom":
|
|
588
|
+
c.offset[0] = -i - a;
|
|
589
|
+
break;
|
|
590
|
+
case "right":
|
|
591
|
+
case "rightTop":
|
|
592
|
+
case "rightBottom":
|
|
593
|
+
c.offset[0] = i + a;
|
|
594
|
+
break;
|
|
595
|
+
}
|
|
596
|
+
const p = vt({
|
|
597
|
+
contentRadius: n,
|
|
598
|
+
limitVerticalRadius: !0
|
|
599
|
+
});
|
|
600
|
+
if (e)
|
|
601
|
+
switch (m) {
|
|
602
|
+
case "topLeft":
|
|
603
|
+
case "bottomLeft":
|
|
604
|
+
c.offset[0] = -p.arrowOffsetHorizontal - i;
|
|
605
|
+
break;
|
|
606
|
+
case "topRight":
|
|
607
|
+
case "bottomRight":
|
|
608
|
+
c.offset[0] = p.arrowOffsetHorizontal + i;
|
|
609
|
+
break;
|
|
610
|
+
case "leftTop":
|
|
611
|
+
case "rightTop":
|
|
612
|
+
c.offset[1] = -p.arrowOffsetHorizontal * 2 + i;
|
|
613
|
+
break;
|
|
614
|
+
case "leftBottom":
|
|
615
|
+
case "rightBottom":
|
|
616
|
+
c.offset[1] = p.arrowOffsetHorizontal * 2 - i;
|
|
617
|
+
break;
|
|
618
|
+
}
|
|
619
|
+
c.overflow = Pe(m, p, o, r), s && (c.htmlRegion = "visibleFirst");
|
|
620
|
+
}), l;
|
|
621
|
+
}
|
|
622
|
+
const xe = (t) => {
|
|
623
|
+
const {
|
|
624
|
+
calc: o,
|
|
625
|
+
componentCls: r,
|
|
626
|
+
// ant-tooltip
|
|
627
|
+
tooltipMaxWidth: e,
|
|
628
|
+
tooltipColor: a,
|
|
629
|
+
tooltipBg: n,
|
|
630
|
+
tooltipBorderRadius: s,
|
|
631
|
+
zIndexPopup: i,
|
|
632
|
+
controlHeight: l,
|
|
633
|
+
boxShadowSecondary: m,
|
|
634
|
+
paddingSM: b,
|
|
635
|
+
paddingXS: c,
|
|
636
|
+
arrowOffsetHorizontal: p,
|
|
637
|
+
sizePopupArrow: d
|
|
638
|
+
} = t, v = o(s).add(d).add(p).equal(), w = o(s).mul(2).add(d).equal();
|
|
639
|
+
return [
|
|
640
|
+
{
|
|
641
|
+
[r]: Object.assign(Object.assign(Object.assign(Object.assign({}, qt(t)), {
|
|
642
|
+
position: "absolute",
|
|
643
|
+
zIndex: i,
|
|
644
|
+
display: "block",
|
|
645
|
+
width: "max-content",
|
|
646
|
+
maxWidth: e,
|
|
647
|
+
visibility: "visible",
|
|
648
|
+
// When use `autoArrow`, origin will follow the arrow position
|
|
649
|
+
"--valid-offset-x": "var(--arrow-offset-horizontal, var(--arrow-x))",
|
|
650
|
+
transformOrigin: ["var(--valid-offset-x, 50%)", "var(--arrow-y, 50%)"].join(" "),
|
|
651
|
+
"&-hidden": {
|
|
652
|
+
display: "none"
|
|
653
|
+
},
|
|
654
|
+
"--antd-arrow-background-color": n,
|
|
655
|
+
// Wrapper for the tooltip content
|
|
656
|
+
[`${r}-inner`]: {
|
|
657
|
+
minWidth: w,
|
|
658
|
+
minHeight: l,
|
|
659
|
+
padding: `${F(t.calc(b).div(2).equal())} ${F(c)}`,
|
|
660
|
+
color: a,
|
|
661
|
+
textAlign: "start",
|
|
662
|
+
textDecoration: "none",
|
|
663
|
+
wordWrap: "break-word",
|
|
664
|
+
backgroundColor: n,
|
|
665
|
+
borderRadius: s,
|
|
666
|
+
boxShadow: m,
|
|
667
|
+
boxSizing: "border-box"
|
|
668
|
+
},
|
|
669
|
+
// Align placement should have another min width
|
|
670
|
+
[["&-placement-topLeft", "&-placement-topRight", "&-placement-bottomLeft", "&-placement-bottomRight"].join(",")]: {
|
|
671
|
+
minWidth: v
|
|
672
|
+
},
|
|
673
|
+
// Limit left and right placement radius
|
|
674
|
+
[["&-placement-left", "&-placement-leftTop", "&-placement-leftBottom", "&-placement-right", "&-placement-rightTop", "&-placement-rightBottom"].join(",")]: {
|
|
675
|
+
[`${r}-inner`]: {
|
|
676
|
+
borderRadius: t.min(s, bt)
|
|
677
|
+
}
|
|
678
|
+
},
|
|
679
|
+
[`${r}-content`]: {
|
|
680
|
+
position: "relative"
|
|
681
|
+
}
|
|
682
|
+
}), ne(t, (T, x) => {
|
|
683
|
+
let {
|
|
684
|
+
darkColor: S
|
|
685
|
+
} = x;
|
|
686
|
+
return {
|
|
687
|
+
[`&${r}-${T}`]: {
|
|
688
|
+
[`${r}-inner`]: {
|
|
689
|
+
backgroundColor: S
|
|
690
|
+
},
|
|
691
|
+
[`${r}-arrow`]: {
|
|
692
|
+
"--antd-arrow-background-color": S
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
};
|
|
696
|
+
})), {
|
|
697
|
+
// RTL
|
|
698
|
+
"&-rtl": {
|
|
699
|
+
direction: "rtl"
|
|
700
|
+
}
|
|
701
|
+
})
|
|
702
|
+
},
|
|
703
|
+
// Arrow Style
|
|
704
|
+
Oe(t, "var(--antd-arrow-background-color)"),
|
|
705
|
+
// Pure Render
|
|
706
|
+
{
|
|
707
|
+
[`${r}-pure`]: {
|
|
708
|
+
position: "relative",
|
|
709
|
+
maxWidth: "none",
|
|
710
|
+
margin: t.sizePopupArrow
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
];
|
|
714
|
+
}, je = (t) => Object.assign(Object.assign({
|
|
715
|
+
zIndexPopup: t.zIndexPopupBase + 70
|
|
716
|
+
}, vt({
|
|
717
|
+
contentRadius: t.borderRadius,
|
|
718
|
+
limitVerticalRadius: !0
|
|
719
|
+
})), ee(dt(t, {
|
|
720
|
+
borderRadiusOuter: Math.min(t.borderRadiusOuter, 4)
|
|
721
|
+
}))), yt = function(t) {
|
|
722
|
+
let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
|
|
723
|
+
return Ut("Tooltip", (e) => {
|
|
724
|
+
const {
|
|
725
|
+
borderRadius: a,
|
|
726
|
+
colorTextLightSolid: n,
|
|
727
|
+
colorBgSpotlight: s
|
|
728
|
+
} = e, i = dt(e, {
|
|
729
|
+
// default variables
|
|
730
|
+
tooltipMaxWidth: 250,
|
|
731
|
+
tooltipColor: n,
|
|
732
|
+
tooltipBorderRadius: a,
|
|
733
|
+
tooltipBg: s
|
|
734
|
+
});
|
|
735
|
+
return [xe(i), ve(e, "zoom-big-fast")];
|
|
736
|
+
}, je, {
|
|
737
|
+
resetStyle: !1,
|
|
738
|
+
// Popover use Tooltip as internal component. We do not need to handle this.
|
|
739
|
+
injectStyle: o
|
|
740
|
+
})(t);
|
|
741
|
+
}, Te = U.map((t) => `${t}-inverse`);
|
|
742
|
+
function Se(t) {
|
|
743
|
+
return (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0) ? [].concat(ft(Te), ft(U)).includes(t) : U.includes(t);
|
|
744
|
+
}
|
|
745
|
+
function ht(t, o) {
|
|
746
|
+
const r = Se(o), e = _({
|
|
747
|
+
[`${t}-${o}`]: o && r
|
|
748
|
+
}), a = {}, n = {};
|
|
749
|
+
return o && !r && (a.background = o, n["--antd-arrow-background-color"] = o), {
|
|
750
|
+
className: e,
|
|
751
|
+
overlayStyle: a,
|
|
752
|
+
arrowStyle: n
|
|
753
|
+
};
|
|
754
|
+
}
|
|
755
|
+
const Ie = (t) => {
|
|
756
|
+
const {
|
|
757
|
+
prefixCls: o,
|
|
758
|
+
className: r,
|
|
759
|
+
placement: e = "top",
|
|
760
|
+
title: a,
|
|
761
|
+
color: n,
|
|
762
|
+
overlayInnerStyle: s
|
|
763
|
+
} = t, {
|
|
764
|
+
getPrefixCls: i
|
|
765
|
+
} = f.useContext(Gt), l = i("tooltip", o), [m, b, c] = yt(l), p = ht(l, n), d = p.arrowStyle, v = Object.assign(Object.assign({}, s), p.overlayStyle), w = _(b, c, l, `${l}-pure`, `${l}-placement-${e}`, r, p.className);
|
|
766
|
+
return m(/* @__PURE__ */ f.createElement("div", {
|
|
767
|
+
className: w,
|
|
768
|
+
style: d
|
|
769
|
+
}, /* @__PURE__ */ f.createElement("div", {
|
|
770
|
+
className: `${l}-arrow`
|
|
771
|
+
}), /* @__PURE__ */ f.createElement(gt, Object.assign({}, t, {
|
|
772
|
+
className: b,
|
|
773
|
+
prefixCls: l,
|
|
774
|
+
overlayInnerStyle: v
|
|
775
|
+
}), a)));
|
|
776
|
+
};
|
|
777
|
+
var ze = function(t, o) {
|
|
778
|
+
var r = {};
|
|
779
|
+
for (var e in t) Object.prototype.hasOwnProperty.call(t, e) && o.indexOf(e) < 0 && (r[e] = t[e]);
|
|
780
|
+
if (t != null && typeof Object.getOwnPropertySymbols == "function") for (var a = 0, e = Object.getOwnPropertySymbols(t); a < e.length; a++)
|
|
781
|
+
o.indexOf(e[a]) < 0 && Object.prototype.propertyIsEnumerable.call(t, e[a]) && (r[e[a]] = t[e[a]]);
|
|
782
|
+
return r;
|
|
783
|
+
};
|
|
784
|
+
const Re = /* @__PURE__ */ f.forwardRef((t, o) => {
|
|
785
|
+
var r, e;
|
|
786
|
+
const {
|
|
787
|
+
prefixCls: a,
|
|
788
|
+
openClassName: n,
|
|
789
|
+
getTooltipContainer: s,
|
|
790
|
+
color: i,
|
|
791
|
+
overlayInnerStyle: l,
|
|
792
|
+
children: m,
|
|
793
|
+
afterOpenChange: b,
|
|
794
|
+
afterVisibleChange: c,
|
|
795
|
+
destroyTooltipOnHide: p,
|
|
796
|
+
arrow: d = !0,
|
|
797
|
+
title: v,
|
|
798
|
+
overlay: w,
|
|
799
|
+
builtinPlacements: T,
|
|
800
|
+
arrowPointAtCenter: x = !1,
|
|
801
|
+
autoAdjustOverflow: S = !0,
|
|
802
|
+
motion: q,
|
|
803
|
+
getPopupContainer: G,
|
|
804
|
+
placement: k = "top",
|
|
805
|
+
mouseEnterDelay: J = 0.1,
|
|
806
|
+
mouseLeaveDelay: H = 0.1,
|
|
807
|
+
overlayStyle: Q,
|
|
808
|
+
rootClassName: tt,
|
|
809
|
+
overlayClassName: et,
|
|
810
|
+
styles: P,
|
|
811
|
+
classNames: C
|
|
812
|
+
} = t, M = ze(t, ["prefixCls", "openClassName", "getTooltipContainer", "color", "overlayInnerStyle", "children", "afterOpenChange", "afterVisibleChange", "destroyTooltipOnHide", "arrow", "title", "overlay", "builtinPlacements", "arrowPointAtCenter", "autoAdjustOverflow", "motion", "getPopupContainer", "placement", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "rootClassName", "overlayClassName", "styles", "classNames"]), D = !!d, [, I] = Jt(), {
|
|
813
|
+
getPopupContainer: $,
|
|
814
|
+
getPrefixCls: O,
|
|
815
|
+
direction: ot,
|
|
816
|
+
className: X,
|
|
817
|
+
style: W,
|
|
818
|
+
classNames: B,
|
|
819
|
+
styles: Y
|
|
820
|
+
} = Qt("tooltip"), z = ae("Tooltip"), R = f.useRef(null), A = () => {
|
|
821
|
+
var u;
|
|
822
|
+
(u = R.current) === null || u === void 0 || u.forceAlign();
|
|
823
|
+
};
|
|
824
|
+
f.useImperativeHandle(o, () => {
|
|
825
|
+
var u, g;
|
|
826
|
+
return {
|
|
827
|
+
forceAlign: A,
|
|
828
|
+
forcePopupAlign: () => {
|
|
829
|
+
z.deprecated(!1, "forcePopupAlign", "forceAlign"), A();
|
|
830
|
+
},
|
|
831
|
+
nativeElement: (u = R.current) === null || u === void 0 ? void 0 : u.nativeElement,
|
|
832
|
+
popupElement: (g = R.current) === null || g === void 0 ? void 0 : g.popupElement
|
|
833
|
+
};
|
|
834
|
+
}), process.env.NODE_ENV !== "production" && ([["visible", "open"], ["defaultVisible", "defaultOpen"], ["onVisibleChange", "onOpenChange"], ["afterVisibleChange", "afterOpenChange"], ["arrowPointAtCenter", "arrow={{ pointAtCenter: true }}"], ["overlayStyle", "styles={{ root: {} }}"], ["overlayInnerStyle", "styles={{ body: {} }}"], ["overlayClassName", 'classNames={{ root: "" }}']].forEach((u) => {
|
|
835
|
+
let [g, N] = u;
|
|
836
|
+
z.deprecated(!(g in t), g, N);
|
|
837
|
+
}), process.env.NODE_ENV !== "production" && z(!p || typeof p == "boolean", "usage", "`destroyTooltipOnHide` no need config `keepParent` anymore. Please use `boolean` value directly."), process.env.NODE_ENV !== "production" && z(!d || typeof d == "boolean" || !("arrowPointAtCenter" in d), "deprecated", "`arrowPointAtCenter` in `arrow` is deprecated. Please use `pointAtCenter` instead."));
|
|
838
|
+
const [rt, at] = Wt(!1, {
|
|
839
|
+
value: (r = t.open) !== null && r !== void 0 ? r : t.visible,
|
|
840
|
+
defaultValue: (e = t.defaultOpen) !== null && e !== void 0 ? e : t.defaultVisible
|
|
841
|
+
}), nt = !v && !w && v !== 0, Ct = (u) => {
|
|
842
|
+
var g, N;
|
|
843
|
+
at(nt ? !1 : u), nt || ((g = t.onOpenChange) === null || g === void 0 || g.call(t, u), (N = t.onVisibleChange) === null || N === void 0 || N.call(t, u));
|
|
844
|
+
}, Ot = f.useMemo(() => {
|
|
845
|
+
var u, g;
|
|
846
|
+
let N = x;
|
|
847
|
+
return typeof d == "object" && (N = (g = (u = d.pointAtCenter) !== null && u !== void 0 ? u : d.arrowPointAtCenter) !== null && g !== void 0 ? g : x), T || _e({
|
|
848
|
+
arrowPointAtCenter: N,
|
|
849
|
+
autoAdjustOverflow: S,
|
|
850
|
+
arrowWidth: D ? I.sizePopupArrow : 0,
|
|
851
|
+
borderRadius: I.borderRadius,
|
|
852
|
+
offset: I.marginXXS,
|
|
853
|
+
visibleFirst: !0
|
|
854
|
+
});
|
|
855
|
+
}, [x, d, T, I]), st = f.useMemo(() => v === 0 ? v : w || v || "", [w, v]), Pt = /* @__PURE__ */ f.createElement(Yt, {
|
|
856
|
+
space: !0
|
|
857
|
+
}, typeof st == "function" ? st() : st), E = O("tooltip", a), $t = O(), Nt = t["data-popover-inject"];
|
|
858
|
+
let it = rt;
|
|
859
|
+
!("open" in t) && !("visible" in t) && nt && (it = !1);
|
|
860
|
+
const lt = /* @__PURE__ */ f.isValidElement(m) && !oe(m) ? m : /* @__PURE__ */ f.createElement("span", null, m), Z = lt.props, _t = !Z.className || typeof Z.className == "string" ? _(Z.className, n || `${E}-open`) : Z.className, [xt, jt, Tt] = yt(E, !Nt), ct = ht(E, i), St = ct.arrowStyle, It = _(et, {
|
|
861
|
+
[`${E}-rtl`]: ot === "rtl"
|
|
862
|
+
}, ct.className, tt, jt, Tt, X, B.root, C == null ? void 0 : C.root), zt = _(B.body, C == null ? void 0 : C.body), [Rt, At] = Zt("Tooltip", M.zIndex), Et = /* @__PURE__ */ f.createElement(Ce, Object.assign({}, M, {
|
|
863
|
+
zIndex: Rt,
|
|
864
|
+
showArrow: D,
|
|
865
|
+
placement: k,
|
|
866
|
+
mouseEnterDelay: J,
|
|
867
|
+
mouseLeaveDelay: H,
|
|
868
|
+
prefixCls: E,
|
|
869
|
+
classNames: {
|
|
870
|
+
root: It,
|
|
871
|
+
body: zt
|
|
872
|
+
},
|
|
873
|
+
styles: {
|
|
874
|
+
root: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, St), Y.root), W), Q), P == null ? void 0 : P.root),
|
|
875
|
+
body: Object.assign(Object.assign(Object.assign(Object.assign({}, Y.body), l), P == null ? void 0 : P.body), ct.overlayStyle)
|
|
876
|
+
},
|
|
877
|
+
getTooltipContainer: G || s || $,
|
|
878
|
+
ref: R,
|
|
879
|
+
builtinPlacements: Ot,
|
|
880
|
+
overlay: Pt,
|
|
881
|
+
visible: it,
|
|
882
|
+
onVisibleChange: Ct,
|
|
883
|
+
afterVisibleChange: b ?? c,
|
|
884
|
+
arrowContent: /* @__PURE__ */ f.createElement("span", {
|
|
885
|
+
className: `${E}-arrow-content`
|
|
886
|
+
}),
|
|
887
|
+
motion: {
|
|
888
|
+
motionName: Ft($t, "zoom-big-fast", t.transitionName),
|
|
889
|
+
motionDeadline: 1e3
|
|
890
|
+
},
|
|
891
|
+
destroyTooltipOnHide: !!p
|
|
892
|
+
}), it ? re(lt, {
|
|
893
|
+
className: _t
|
|
894
|
+
}) : lt);
|
|
895
|
+
return xt(/* @__PURE__ */ f.createElement(Kt.Provider, {
|
|
896
|
+
value: At
|
|
897
|
+
}, Et));
|
|
898
|
+
}), wt = Re;
|
|
899
|
+
process.env.NODE_ENV !== "production" && (wt.displayName = "Tooltip");
|
|
900
|
+
wt._InternalPanelDoNotUseOrYouWillBeFired = Ie;
|
|
901
|
+
export {
|
|
902
|
+
gt as P,
|
|
903
|
+
wt as T,
|
|
904
|
+
vt as a,
|
|
905
|
+
_e as b,
|
|
906
|
+
Oe as g,
|
|
907
|
+
ve as i,
|
|
908
|
+
se as z
|
|
909
|
+
};
|