@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
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import * as l from "react";
|
|
2
|
-
import { useContext as
|
|
3
|
-
import {
|
|
4
|
-
import { I as
|
|
5
|
-
import { a as Ge, M as Ye, u as Ue, S as Ze, E as Ke, R as Je, b as Qe, D as et } from "./EllipsisOutlined-
|
|
6
|
-
import {
|
|
7
|
-
import { u as st } from "./useMergedState-
|
|
2
|
+
import { useContext as ve, useState as he, useEffect as ue, useRef as Ne, createContext as qe, forwardRef as Te, useImperativeHandle as Fe } from "react";
|
|
3
|
+
import { e as pe, c as P, F as Ce } from "./presets-CSXMiWyc.js";
|
|
4
|
+
import { I as $e } from "./AntdIcon-DP6hPDqu.js";
|
|
5
|
+
import { a as Ge, M as Ye, u as Ue, S as Ze, E as Ke, R as Je, b as Qe, D as et } from "./EllipsisOutlined-BodkguEc.js";
|
|
6
|
+
import { g as re, f as p, C as ie, $ as tt, A as ot, z as nt, s as rt, t as it, m as ge, k as Ie, j as He, r as lt, a as Pe, o as Se, c as at } from "./CSSMotionList-DB0khM6h.js";
|
|
7
|
+
import { u as st } from "./useMergedState-D1-TbeEv.js";
|
|
8
8
|
import { o as Z } from "./omit-B_u6A-HL.js";
|
|
9
|
-
import { u as
|
|
10
|
-
import { T as ct, i as Me, g as ut, a as mt, b as gt } from "./index-
|
|
11
|
-
import { i as xe, g as pt } from "./DownOutlined-
|
|
12
|
-
import { c as
|
|
13
|
-
import {
|
|
14
|
-
import "./
|
|
15
|
-
import { i as
|
|
16
|
-
import { t as
|
|
17
|
-
import { C as
|
|
18
|
-
import { g as
|
|
19
|
-
import { i as Q, s as
|
|
20
|
-
import { g as xt } from "./roundedArrow-
|
|
21
|
-
var wt = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" } }] }, name: "right", theme: "outlined" }, yt = function(
|
|
22
|
-
return /* @__PURE__ */ l.createElement(
|
|
9
|
+
import { u as De, z as dt } from "./useZIndex-tgX56o1r.js";
|
|
10
|
+
import { T as ct, i as Me, g as ut, a as mt, b as gt } from "./index-Y0KgiFZb.js";
|
|
11
|
+
import { i as xe, g as pt } from "./DownOutlined-Bv7ua5i8.js";
|
|
12
|
+
import { c as le } from "./reactNode-sKPeiqPL.js";
|
|
13
|
+
import { d as je } from "./index-DCopujxC.js";
|
|
14
|
+
import { u as Re } from "./useCSSVarCls-YfJY1twF.js";
|
|
15
|
+
import { i as $t } from "./motion-C-XpKcZG.js";
|
|
16
|
+
import { t as bt } from "./toArray-D5kvYi_U.js";
|
|
17
|
+
import { C as ft } from "./ContextIsolator-CUJnq-4F.js";
|
|
18
|
+
import { g as vt } from "./collapse-Dtpt-6W_.js";
|
|
19
|
+
import { i as Q, s as ht, a as Ct, b as It, c as St } from "./Overflow-CVbsx7Gn.js";
|
|
20
|
+
import { g as xt } from "./roundedArrow-BxPlu4Hq.js";
|
|
21
|
+
var wt = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" } }] }, name: "right", theme: "outlined" }, yt = function(o, e) {
|
|
22
|
+
return /* @__PURE__ */ l.createElement($e, pe({}, o, {
|
|
23
23
|
ref: e,
|
|
24
24
|
icon: wt
|
|
25
25
|
}));
|
|
26
26
|
}, ee = /* @__PURE__ */ l.forwardRef(yt);
|
|
27
27
|
process.env.NODE_ENV !== "production" && (ee.displayName = "RightOutlined");
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
return /* @__PURE__ */ l.createElement(fe, pe({}, n, {
|
|
28
|
+
var Bt = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" } }] }, name: "left", theme: "outlined" }, Ot = function(o, e) {
|
|
29
|
+
return /* @__PURE__ */ l.createElement($e, pe({}, o, {
|
|
31
30
|
ref: e,
|
|
32
|
-
icon:
|
|
31
|
+
icon: Bt
|
|
33
32
|
}));
|
|
34
|
-
},
|
|
35
|
-
process.env.NODE_ENV !== "production" && (
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
}, te = /* @__PURE__ */ l.forwardRef(Ot);
|
|
34
|
+
process.env.NODE_ENV !== "production" && (te.displayName = "LeftOutlined");
|
|
35
|
+
const Et = (t) => typeof t != "object" && typeof t != "function" || t === null;
|
|
36
|
+
var zt = { icon: { tag: "svg", attrs: { viewBox: "0 0 1024 1024", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, name: "bars", theme: "outlined" }, Nt = function(o, e) {
|
|
37
|
+
return /* @__PURE__ */ l.createElement($e, pe({}, o, {
|
|
38
38
|
ref: e,
|
|
39
39
|
icon: zt
|
|
40
40
|
}));
|
|
41
|
-
},
|
|
42
|
-
process.env.NODE_ENV !== "production" && (
|
|
41
|
+
}, Ae = /* @__PURE__ */ l.forwardRef(Nt);
|
|
42
|
+
process.env.NODE_ENV !== "production" && (Ae.displayName = "BarsOutlined");
|
|
43
43
|
const Tt = /* @__PURE__ */ l.createContext({
|
|
44
44
|
siderHook: {
|
|
45
45
|
addSider: () => null,
|
|
@@ -47,19 +47,19 @@ const Tt = /* @__PURE__ */ l.createContext({
|
|
|
47
47
|
}
|
|
48
48
|
}), Ht = (t) => {
|
|
49
49
|
const {
|
|
50
|
-
antCls:
|
|
50
|
+
antCls: o,
|
|
51
51
|
// .ant
|
|
52
52
|
componentCls: e,
|
|
53
53
|
// .ant-layout
|
|
54
54
|
colorText: r,
|
|
55
|
-
footerBg:
|
|
55
|
+
footerBg: n,
|
|
56
56
|
headerHeight: a,
|
|
57
57
|
headerPadding: i,
|
|
58
58
|
headerColor: d,
|
|
59
59
|
footerPadding: s,
|
|
60
60
|
fontSize: m,
|
|
61
|
-
bodyBg:
|
|
62
|
-
headerBg:
|
|
61
|
+
bodyBg: $,
|
|
62
|
+
headerBg: f
|
|
63
63
|
} = t;
|
|
64
64
|
return {
|
|
65
65
|
[e]: {
|
|
@@ -68,7 +68,7 @@ const Tt = /* @__PURE__ */ l.createContext({
|
|
|
68
68
|
flexDirection: "column",
|
|
69
69
|
/* fix firefox can't set height smaller than content on flex item */
|
|
70
70
|
minHeight: 0,
|
|
71
|
-
background:
|
|
71
|
+
background: $,
|
|
72
72
|
"&, *": {
|
|
73
73
|
boxSizing: "border-box"
|
|
74
74
|
},
|
|
@@ -93,10 +93,10 @@ const Tt = /* @__PURE__ */ l.createContext({
|
|
|
93
93
|
padding: i,
|
|
94
94
|
color: d,
|
|
95
95
|
lineHeight: p(a),
|
|
96
|
-
background:
|
|
96
|
+
background: f,
|
|
97
97
|
// Other components/menu/style/index.less line:686
|
|
98
98
|
// Integration with header element so menu items have the same height
|
|
99
|
-
[`${
|
|
99
|
+
[`${o}-menu`]: {
|
|
100
100
|
lineHeight: "inherit"
|
|
101
101
|
}
|
|
102
102
|
},
|
|
@@ -105,7 +105,7 @@ const Tt = /* @__PURE__ */ l.createContext({
|
|
|
105
105
|
padding: s,
|
|
106
106
|
color: r,
|
|
107
107
|
fontSize: m,
|
|
108
|
-
background:
|
|
108
|
+
background: n
|
|
109
109
|
},
|
|
110
110
|
// =================== Content ====================
|
|
111
111
|
[`${e}-content`]: {
|
|
@@ -117,10 +117,10 @@ const Tt = /* @__PURE__ */ l.createContext({
|
|
|
117
117
|
};
|
|
118
118
|
}, Le = (t) => {
|
|
119
119
|
const {
|
|
120
|
-
colorBgLayout:
|
|
120
|
+
colorBgLayout: o,
|
|
121
121
|
controlHeight: e,
|
|
122
122
|
controlHeightLG: r,
|
|
123
|
-
colorText:
|
|
123
|
+
colorText: n,
|
|
124
124
|
controlHeightSM: a,
|
|
125
125
|
marginXXS: i,
|
|
126
126
|
colorTextLightSolid: d,
|
|
@@ -129,15 +129,15 @@ const Tt = /* @__PURE__ */ l.createContext({
|
|
|
129
129
|
return {
|
|
130
130
|
// Deprecated
|
|
131
131
|
colorBgHeader: "#001529",
|
|
132
|
-
colorBgBody:
|
|
132
|
+
colorBgBody: o,
|
|
133
133
|
colorBgTrigger: "#002140",
|
|
134
|
-
bodyBg:
|
|
134
|
+
bodyBg: o,
|
|
135
135
|
headerBg: "#001529",
|
|
136
136
|
headerHeight: e * 2,
|
|
137
137
|
headerPadding: `0 ${m}px`,
|
|
138
|
-
headerColor:
|
|
138
|
+
headerColor: n,
|
|
139
139
|
footerPadding: `${a}px ${m}px`,
|
|
140
|
-
footerBg:
|
|
140
|
+
footerBg: o,
|
|
141
141
|
siderBg: "#001529",
|
|
142
142
|
triggerHeight: r + i * 2,
|
|
143
143
|
triggerBg: "#002140",
|
|
@@ -146,31 +146,31 @@ const Tt = /* @__PURE__ */ l.createContext({
|
|
|
146
146
|
zeroTriggerHeight: r,
|
|
147
147
|
lightSiderBg: s,
|
|
148
148
|
lightTriggerBg: s,
|
|
149
|
-
lightTriggerColor:
|
|
149
|
+
lightTriggerColor: n
|
|
150
150
|
};
|
|
151
|
-
}, _e = [["colorBgBody", "bodyBg"], ["colorBgHeader", "headerBg"], ["colorBgTrigger", "triggerBg"]],
|
|
151
|
+
}, _e = [["colorBgBody", "bodyBg"], ["colorBgHeader", "headerBg"], ["colorBgTrigger", "triggerBg"]], xo = re("Layout", (t) => [Ht(t)], Le, {
|
|
152
152
|
deprecatedTokens: _e
|
|
153
153
|
}), Pt = (t) => {
|
|
154
154
|
const {
|
|
155
|
-
componentCls:
|
|
155
|
+
componentCls: o,
|
|
156
156
|
siderBg: e,
|
|
157
157
|
motionDurationMid: r,
|
|
158
|
-
motionDurationSlow:
|
|
158
|
+
motionDurationSlow: n,
|
|
159
159
|
antCls: a,
|
|
160
160
|
triggerHeight: i,
|
|
161
161
|
triggerColor: d,
|
|
162
162
|
triggerBg: s,
|
|
163
163
|
headerHeight: m,
|
|
164
|
-
zeroTriggerWidth:
|
|
165
|
-
zeroTriggerHeight:
|
|
164
|
+
zeroTriggerWidth: $,
|
|
165
|
+
zeroTriggerHeight: f,
|
|
166
166
|
borderRadiusLG: u,
|
|
167
|
-
lightSiderBg:
|
|
167
|
+
lightSiderBg: b,
|
|
168
168
|
lightTriggerColor: c,
|
|
169
169
|
lightTriggerBg: g,
|
|
170
|
-
bodyBg:
|
|
170
|
+
bodyBg: v
|
|
171
171
|
} = t;
|
|
172
172
|
return {
|
|
173
|
-
[
|
|
173
|
+
[o]: {
|
|
174
174
|
position: "relative",
|
|
175
175
|
// fix firefox can't set width smaller than content on flex item
|
|
176
176
|
minWidth: 0,
|
|
@@ -182,7 +182,7 @@ const Tt = /* @__PURE__ */ l.createContext({
|
|
|
182
182
|
"&-right": {
|
|
183
183
|
order: 1
|
|
184
184
|
},
|
|
185
|
-
[`${
|
|
185
|
+
[`${o}-children`]: {
|
|
186
186
|
height: "100%",
|
|
187
187
|
// Hack for fixing margin collapse bug
|
|
188
188
|
// https://github.com/ant-design/ant-design/issues/7967
|
|
@@ -193,7 +193,10 @@ const Tt = /* @__PURE__ */ l.createContext({
|
|
|
193
193
|
width: "auto"
|
|
194
194
|
}
|
|
195
195
|
},
|
|
196
|
-
[
|
|
196
|
+
[`&-zero-width ${o}-children`]: {
|
|
197
|
+
overflow: "hidden"
|
|
198
|
+
},
|
|
199
|
+
[`${o}-trigger`]: {
|
|
197
200
|
position: "fixed",
|
|
198
201
|
bottom: 0,
|
|
199
202
|
zIndex: 1,
|
|
@@ -205,67 +208,62 @@ const Tt = /* @__PURE__ */ l.createContext({
|
|
|
205
208
|
cursor: "pointer",
|
|
206
209
|
transition: `all ${r}`
|
|
207
210
|
},
|
|
208
|
-
[`${
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
211
|
+
[`${o}-zero-width-trigger`]: {
|
|
212
|
+
position: "absolute",
|
|
213
|
+
top: m,
|
|
214
|
+
insetInlineEnd: t.calc($).mul(-1).equal(),
|
|
215
|
+
zIndex: 1,
|
|
216
|
+
width: $,
|
|
217
|
+
height: f,
|
|
218
|
+
color: d,
|
|
219
|
+
fontSize: t.fontSizeXL,
|
|
220
|
+
display: "flex",
|
|
221
|
+
alignItems: "center",
|
|
222
|
+
justifyContent: "center",
|
|
223
|
+
background: e,
|
|
224
|
+
borderRadius: `0 ${p(u)} ${p(u)} 0`,
|
|
225
|
+
cursor: "pointer",
|
|
226
|
+
transition: `background ${n} ease`,
|
|
227
|
+
"&::after": {
|
|
213
228
|
position: "absolute",
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
borderRadius: `0 ${p(u)} ${p(u)} 0`,
|
|
226
|
-
cursor: "pointer",
|
|
227
|
-
transition: `background ${o} ease`,
|
|
228
|
-
"&::after": {
|
|
229
|
-
position: "absolute",
|
|
230
|
-
inset: 0,
|
|
231
|
-
background: "transparent",
|
|
232
|
-
transition: `all ${o}`,
|
|
233
|
-
content: '""'
|
|
234
|
-
},
|
|
235
|
-
"&:hover::after": {
|
|
236
|
-
background: "rgba(255, 255, 255, 0.2)"
|
|
237
|
-
},
|
|
238
|
-
"&-right": {
|
|
239
|
-
insetInlineStart: t.calc(f).mul(-1).equal(),
|
|
240
|
-
borderRadius: `${p(u)} 0 0 ${p(u)}`
|
|
241
|
-
}
|
|
229
|
+
inset: 0,
|
|
230
|
+
background: "transparent",
|
|
231
|
+
transition: `all ${n}`,
|
|
232
|
+
content: '""'
|
|
233
|
+
},
|
|
234
|
+
"&:hover::after": {
|
|
235
|
+
background: "rgba(255, 255, 255, 0.2)"
|
|
236
|
+
},
|
|
237
|
+
"&-right": {
|
|
238
|
+
insetInlineStart: t.calc($).mul(-1).equal(),
|
|
239
|
+
borderRadius: `${p(u)} 0 0 ${p(u)}`
|
|
242
240
|
}
|
|
243
241
|
},
|
|
244
242
|
// Light
|
|
245
243
|
"&-light": {
|
|
246
|
-
background:
|
|
247
|
-
[`${
|
|
244
|
+
background: b,
|
|
245
|
+
[`${o}-trigger`]: {
|
|
248
246
|
color: c,
|
|
249
247
|
background: g
|
|
250
248
|
},
|
|
251
|
-
[`${
|
|
249
|
+
[`${o}-zero-width-trigger`]: {
|
|
252
250
|
color: c,
|
|
253
251
|
background: g,
|
|
254
|
-
border: `1px solid ${
|
|
252
|
+
border: `1px solid ${v}`,
|
|
255
253
|
// Safe to modify to any other color
|
|
256
254
|
borderInlineStart: 0
|
|
257
255
|
}
|
|
258
256
|
}
|
|
259
257
|
}
|
|
260
258
|
};
|
|
261
|
-
}, Dt =
|
|
259
|
+
}, Dt = re(["Layout", "Sider"], (t) => [Pt(t)], Le, {
|
|
262
260
|
deprecatedTokens: _e
|
|
263
261
|
});
|
|
264
|
-
var
|
|
262
|
+
var Mt = function(t, o) {
|
|
265
263
|
var e = {};
|
|
266
|
-
for (var r in t) Object.prototype.hasOwnProperty.call(t, r) &&
|
|
267
|
-
if (t != null && typeof Object.getOwnPropertySymbols == "function") for (var
|
|
268
|
-
|
|
264
|
+
for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && o.indexOf(r) < 0 && (e[r] = t[r]);
|
|
265
|
+
if (t != null && typeof Object.getOwnPropertySymbols == "function") for (var n = 0, r = Object.getOwnPropertySymbols(t); n < r.length; n++)
|
|
266
|
+
o.indexOf(r[n]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[n]) && (e[r[n]] = t[r[n]]);
|
|
269
267
|
return e;
|
|
270
268
|
};
|
|
271
269
|
const we = {
|
|
@@ -275,44 +273,44 @@ const we = {
|
|
|
275
273
|
lg: "991.98px",
|
|
276
274
|
xl: "1199.98px",
|
|
277
275
|
xxl: "1599.98px"
|
|
278
|
-
},
|
|
276
|
+
}, jt = (t) => !Number.isNaN(Number.parseFloat(t)) && isFinite(t), be = /* @__PURE__ */ l.createContext({}), Rt = /* @__PURE__ */ (() => {
|
|
279
277
|
let t = 0;
|
|
280
278
|
return function() {
|
|
281
|
-
let
|
|
282
|
-
return t += 1, `${
|
|
279
|
+
let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
|
|
280
|
+
return t += 1, `${o}${t}`;
|
|
283
281
|
};
|
|
284
|
-
})(), At = /* @__PURE__ */ l.forwardRef((t,
|
|
282
|
+
})(), At = /* @__PURE__ */ l.forwardRef((t, o) => {
|
|
285
283
|
const {
|
|
286
284
|
prefixCls: e,
|
|
287
285
|
className: r,
|
|
288
|
-
trigger:
|
|
286
|
+
trigger: n,
|
|
289
287
|
children: a,
|
|
290
288
|
defaultCollapsed: i = !1,
|
|
291
289
|
theme: d = "dark",
|
|
292
290
|
style: s = {},
|
|
293
291
|
collapsible: m = !1,
|
|
294
|
-
reverseArrow:
|
|
295
|
-
width:
|
|
292
|
+
reverseArrow: $ = !1,
|
|
293
|
+
width: f = 200,
|
|
296
294
|
collapsedWidth: u = 80,
|
|
297
|
-
zeroWidthTriggerStyle:
|
|
295
|
+
zeroWidthTriggerStyle: b,
|
|
298
296
|
breakpoint: c,
|
|
299
297
|
onCollapse: g,
|
|
300
|
-
onBreakpoint:
|
|
301
|
-
} = t, x =
|
|
298
|
+
onBreakpoint: v
|
|
299
|
+
} = t, x = Mt(t, ["prefixCls", "className", "trigger", "children", "defaultCollapsed", "theme", "style", "collapsible", "reverseArrow", "width", "collapsedWidth", "zeroWidthTriggerStyle", "breakpoint", "onCollapse", "onBreakpoint"]), {
|
|
302
300
|
siderHook: B
|
|
303
|
-
} =
|
|
304
|
-
|
|
305
|
-
"collapsed" in t &&
|
|
301
|
+
} = ve(Tt), [y, h] = he("collapsed" in t ? t.collapsed : i), [O, N] = he(!1);
|
|
302
|
+
ue(() => {
|
|
303
|
+
"collapsed" in t && h(t.collapsed);
|
|
306
304
|
}, [t.collapsed]);
|
|
307
305
|
const A = (E, D) => {
|
|
308
|
-
"collapsed" in t ||
|
|
306
|
+
"collapsed" in t || h(E), g == null || g(E, D);
|
|
309
307
|
}, {
|
|
310
308
|
getPrefixCls: T,
|
|
311
309
|
direction: I
|
|
312
|
-
} =
|
|
310
|
+
} = ve(ie), S = T("layout-sider", e), [H, M, L] = Dt(S), C = Ne(null);
|
|
313
311
|
C.current = (E) => {
|
|
314
|
-
N(E.matches),
|
|
315
|
-
},
|
|
312
|
+
N(E.matches), v == null || v(E.matches), y !== E.matches && A(E.matches, "responsive");
|
|
313
|
+
}, ue(() => {
|
|
316
314
|
function E(F) {
|
|
317
315
|
return C.current(F);
|
|
318
316
|
}
|
|
@@ -338,166 +336,166 @@ const we = {
|
|
|
338
336
|
D == null || D.removeListener(E);
|
|
339
337
|
}
|
|
340
338
|
};
|
|
341
|
-
}, [c]),
|
|
339
|
+
}, [c]), ue(() => {
|
|
342
340
|
const E = Rt("ant-sider-");
|
|
343
341
|
return B.addSider(E), () => B.removeSider(E);
|
|
344
342
|
}, []);
|
|
345
|
-
const
|
|
343
|
+
const j = () => {
|
|
346
344
|
A(!y, "clickTrigger");
|
|
347
|
-
}, W = Z(x, ["collapsed"]), _ = y ? u :
|
|
348
|
-
onClick:
|
|
349
|
-
className: P(`${S}-zero-width-trigger`, `${S}-zero-width-trigger-${
|
|
350
|
-
style:
|
|
351
|
-
},
|
|
352
|
-
expanded: V ? /* @__PURE__ */ l.createElement(ee, null) : /* @__PURE__ */ l.createElement(
|
|
353
|
-
collapsed: V ? /* @__PURE__ */ l.createElement(
|
|
354
|
-
}[y ? "collapsed" : "expanded"], q =
|
|
345
|
+
}, W = Z(x, ["collapsed"]), _ = y ? u : f, R = jt(_) ? `${_}px` : String(_), k = parseFloat(String(u || 0)) === 0 ? /* @__PURE__ */ l.createElement("span", {
|
|
346
|
+
onClick: j,
|
|
347
|
+
className: P(`${S}-zero-width-trigger`, `${S}-zero-width-trigger-${$ ? "right" : "left"}`),
|
|
348
|
+
style: b
|
|
349
|
+
}, n || /* @__PURE__ */ l.createElement(Ae, null)) : null, V = I === "rtl" == !$, X = {
|
|
350
|
+
expanded: V ? /* @__PURE__ */ l.createElement(ee, null) : /* @__PURE__ */ l.createElement(te, null),
|
|
351
|
+
collapsed: V ? /* @__PURE__ */ l.createElement(te, null) : /* @__PURE__ */ l.createElement(ee, null)
|
|
352
|
+
}[y ? "collapsed" : "expanded"], q = n !== null ? k || /* @__PURE__ */ l.createElement("div", {
|
|
355
353
|
className: `${S}-trigger`,
|
|
356
|
-
onClick:
|
|
354
|
+
onClick: j,
|
|
357
355
|
style: {
|
|
358
356
|
width: R
|
|
359
357
|
}
|
|
360
|
-
},
|
|
358
|
+
}, n || X) : null, J = Object.assign(Object.assign({}, s), {
|
|
361
359
|
flex: `0 0 ${R}`,
|
|
362
360
|
maxWidth: R,
|
|
363
361
|
minWidth: R,
|
|
364
362
|
width: R
|
|
365
|
-
}),
|
|
363
|
+
}), ae = P(S, `${S}-${d}`, {
|
|
366
364
|
[`${S}-collapsed`]: !!y,
|
|
367
|
-
[`${S}-has-trigger`]: m &&
|
|
365
|
+
[`${S}-has-trigger`]: m && n !== null && !k,
|
|
368
366
|
[`${S}-below`]: !!O,
|
|
369
367
|
[`${S}-zero-width`]: parseFloat(R) === 0
|
|
370
|
-
}, r,
|
|
368
|
+
}, r, M, L), se = l.useMemo(() => ({
|
|
371
369
|
siderCollapsed: y
|
|
372
370
|
}), [y]);
|
|
373
|
-
return H(/* @__PURE__ */ l.createElement(
|
|
374
|
-
value:
|
|
371
|
+
return H(/* @__PURE__ */ l.createElement(be.Provider, {
|
|
372
|
+
value: se
|
|
375
373
|
}, /* @__PURE__ */ l.createElement("aside", Object.assign({
|
|
376
|
-
className:
|
|
374
|
+
className: ae
|
|
377
375
|
}, W, {
|
|
378
376
|
style: J,
|
|
379
|
-
ref:
|
|
377
|
+
ref: o
|
|
380
378
|
}), /* @__PURE__ */ l.createElement("div", {
|
|
381
379
|
className: `${S}-children`
|
|
382
380
|
}, a), m || O && k ? q : null)));
|
|
383
381
|
});
|
|
384
382
|
process.env.NODE_ENV !== "production" && (At.displayName = "Sider");
|
|
385
|
-
const
|
|
383
|
+
const oe = /* @__PURE__ */ qe({
|
|
386
384
|
prefixCls: "",
|
|
387
385
|
firstLevel: !0,
|
|
388
386
|
inlineCollapsed: !1
|
|
389
387
|
});
|
|
390
|
-
var Lt = function(t,
|
|
388
|
+
var Lt = function(t, o) {
|
|
391
389
|
var e = {};
|
|
392
|
-
for (var r in t) Object.prototype.hasOwnProperty.call(t, r) &&
|
|
393
|
-
if (t != null && typeof Object.getOwnPropertySymbols == "function") for (var
|
|
394
|
-
|
|
390
|
+
for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && o.indexOf(r) < 0 && (e[r] = t[r]);
|
|
391
|
+
if (t != null && typeof Object.getOwnPropertySymbols == "function") for (var n = 0, r = Object.getOwnPropertySymbols(t); n < r.length; n++)
|
|
392
|
+
o.indexOf(r[n]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[n]) && (e[r[n]] = t[r[n]]);
|
|
395
393
|
return e;
|
|
396
394
|
};
|
|
397
395
|
const ke = (t) => {
|
|
398
396
|
const {
|
|
399
|
-
prefixCls:
|
|
397
|
+
prefixCls: o,
|
|
400
398
|
className: e,
|
|
401
399
|
dashed: r
|
|
402
|
-
} = t,
|
|
400
|
+
} = t, n = Lt(t, ["prefixCls", "className", "dashed"]), {
|
|
403
401
|
getPrefixCls: a
|
|
404
|
-
} = l.useContext(
|
|
402
|
+
} = l.useContext(ie), i = a("menu", o), d = P({
|
|
405
403
|
[`${i}-item-divider-dashed`]: !!r
|
|
406
404
|
}, e);
|
|
407
405
|
return /* @__PURE__ */ l.createElement(Ge, Object.assign({
|
|
408
406
|
className: d
|
|
409
|
-
},
|
|
407
|
+
}, n));
|
|
410
408
|
}, We = (t) => {
|
|
411
|
-
var
|
|
409
|
+
var o;
|
|
412
410
|
const {
|
|
413
411
|
className: e,
|
|
414
412
|
children: r,
|
|
415
|
-
icon:
|
|
413
|
+
icon: n,
|
|
416
414
|
title: a,
|
|
417
415
|
danger: i,
|
|
418
416
|
extra: d
|
|
419
417
|
} = t, {
|
|
420
418
|
prefixCls: s,
|
|
421
419
|
firstLevel: m,
|
|
422
|
-
direction:
|
|
423
|
-
disableMenuItemTitleTooltip:
|
|
420
|
+
direction: $,
|
|
421
|
+
disableMenuItemTitleTooltip: f,
|
|
424
422
|
inlineCollapsed: u
|
|
425
|
-
} = l.useContext(
|
|
426
|
-
const
|
|
423
|
+
} = l.useContext(oe), b = (y) => {
|
|
424
|
+
const h = r == null ? void 0 : r[0], O = /* @__PURE__ */ l.createElement("span", {
|
|
427
425
|
className: P(`${s}-title-content`, {
|
|
428
426
|
[`${s}-title-content-with-extra`]: !!d || d === 0
|
|
429
427
|
})
|
|
430
428
|
}, r);
|
|
431
|
-
return (!
|
|
429
|
+
return (!n || /* @__PURE__ */ l.isValidElement(r) && r.type === "span") && r && y && m && typeof h == "string" ? /* @__PURE__ */ l.createElement("div", {
|
|
432
430
|
className: `${s}-inline-collapsed-noicon`
|
|
433
|
-
},
|
|
431
|
+
}, h.charAt(0)) : O;
|
|
434
432
|
}, {
|
|
435
433
|
siderCollapsed: c
|
|
436
|
-
} = l.useContext(
|
|
434
|
+
} = l.useContext(be);
|
|
437
435
|
let g = a;
|
|
438
436
|
typeof a > "u" ? g = m ? r : "" : a === !1 && (g = "");
|
|
439
|
-
const
|
|
437
|
+
const v = {
|
|
440
438
|
title: g
|
|
441
439
|
};
|
|
442
|
-
!c && !u && (
|
|
443
|
-
const x =
|
|
440
|
+
!c && !u && (v.title = null, v.open = !1);
|
|
441
|
+
const x = bt(r).length;
|
|
444
442
|
let B = /* @__PURE__ */ l.createElement(Ye, Object.assign({}, Z(t, ["title", "icon", "danger"]), {
|
|
445
443
|
className: P({
|
|
446
444
|
[`${s}-item-danger`]: i,
|
|
447
|
-
[`${s}-item-only-child`]: (
|
|
445
|
+
[`${s}-item-only-child`]: (n ? x + 1 : x) === 1
|
|
448
446
|
}, e),
|
|
449
447
|
title: typeof a == "string" ? a : void 0
|
|
450
|
-
}),
|
|
451
|
-
className: P(/* @__PURE__ */ l.isValidElement(
|
|
452
|
-
}),
|
|
453
|
-
return
|
|
454
|
-
placement:
|
|
448
|
+
}), le(n, {
|
|
449
|
+
className: P(/* @__PURE__ */ l.isValidElement(n) ? (o = n.props) === null || o === void 0 ? void 0 : o.className : "", `${s}-item-icon`)
|
|
450
|
+
}), b(u));
|
|
451
|
+
return f || (B = /* @__PURE__ */ l.createElement(ct, Object.assign({}, v, {
|
|
452
|
+
placement: $ === "rtl" ? "left" : "right",
|
|
455
453
|
classNames: {
|
|
456
454
|
root: `${s}-inline-collapsed-tooltip`
|
|
457
455
|
}
|
|
458
456
|
}), B)), B;
|
|
459
457
|
};
|
|
460
|
-
var _t = function(t,
|
|
458
|
+
var _t = function(t, o) {
|
|
461
459
|
var e = {};
|
|
462
|
-
for (var r in t) Object.prototype.hasOwnProperty.call(t, r) &&
|
|
463
|
-
if (t != null && typeof Object.getOwnPropertySymbols == "function") for (var
|
|
464
|
-
|
|
460
|
+
for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && o.indexOf(r) < 0 && (e[r] = t[r]);
|
|
461
|
+
if (t != null && typeof Object.getOwnPropertySymbols == "function") for (var n = 0, r = Object.getOwnPropertySymbols(t); n < r.length; n++)
|
|
462
|
+
o.indexOf(r[n]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[n]) && (e[r[n]] = t[r[n]]);
|
|
465
463
|
return e;
|
|
466
464
|
};
|
|
467
|
-
const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forwardRef((t,
|
|
465
|
+
const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forwardRef((t, o) => {
|
|
468
466
|
const {
|
|
469
467
|
children: e
|
|
470
|
-
} = t, r = _t(t, ["children"]),
|
|
471
|
-
|
|
468
|
+
} = t, r = _t(t, ["children"]), n = l.useContext(ne), a = l.useMemo(() => Object.assign(Object.assign({}, n), r), [
|
|
469
|
+
n,
|
|
472
470
|
r.prefixCls,
|
|
473
471
|
// restProps.expandIcon, Not mark as deps since this is a ReactNode
|
|
474
472
|
r.mode,
|
|
475
473
|
r.selectable,
|
|
476
474
|
r.rootClassName
|
|
477
475
|
// restProps.validator, Not mark as deps since this is a function
|
|
478
|
-
]), i = tt(e), d =
|
|
476
|
+
]), i = tt(e), d = ot(o, i ? nt(e) : null);
|
|
479
477
|
return /* @__PURE__ */ l.createElement(ne.Provider, {
|
|
480
478
|
value: a
|
|
481
|
-
}, /* @__PURE__ */ l.createElement(
|
|
479
|
+
}, /* @__PURE__ */ l.createElement(ft, {
|
|
482
480
|
space: !0
|
|
483
481
|
}, i ? /* @__PURE__ */ l.cloneElement(e, {
|
|
484
482
|
ref: d
|
|
485
483
|
}) : e));
|
|
486
484
|
}), Wt = (t) => {
|
|
487
485
|
const {
|
|
488
|
-
componentCls:
|
|
486
|
+
componentCls: o,
|
|
489
487
|
motionDurationSlow: e,
|
|
490
488
|
horizontalLineHeight: r,
|
|
491
|
-
colorSplit:
|
|
489
|
+
colorSplit: n,
|
|
492
490
|
lineWidth: a,
|
|
493
491
|
lineType: i,
|
|
494
492
|
itemPaddingInline: d
|
|
495
493
|
} = t;
|
|
496
494
|
return {
|
|
497
|
-
[`${
|
|
495
|
+
[`${o}-horizontal`]: {
|
|
498
496
|
lineHeight: r,
|
|
499
497
|
border: 0,
|
|
500
|
-
borderBottom: `${p(a)} ${i} ${
|
|
498
|
+
borderBottom: `${p(a)} ${i} ${n}`,
|
|
501
499
|
boxShadow: "none",
|
|
502
500
|
"&::after": {
|
|
503
501
|
display: "block",
|
|
@@ -506,43 +504,43 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
506
504
|
content: '"\\20"'
|
|
507
505
|
},
|
|
508
506
|
// ======================= Item =======================
|
|
509
|
-
[`${
|
|
507
|
+
[`${o}-item, ${o}-submenu`]: {
|
|
510
508
|
position: "relative",
|
|
511
509
|
display: "inline-block",
|
|
512
510
|
verticalAlign: "bottom",
|
|
513
511
|
paddingInline: d
|
|
514
512
|
},
|
|
515
|
-
[`> ${
|
|
516
|
-
> ${
|
|
517
|
-
> ${
|
|
513
|
+
[`> ${o}-item:hover,
|
|
514
|
+
> ${o}-item-active,
|
|
515
|
+
> ${o}-submenu ${o}-submenu-title:hover`]: {
|
|
518
516
|
backgroundColor: "transparent"
|
|
519
517
|
},
|
|
520
|
-
[`${
|
|
518
|
+
[`${o}-item, ${o}-submenu-title`]: {
|
|
521
519
|
transition: [`border-color ${e}`, `background ${e}`].join(",")
|
|
522
520
|
},
|
|
523
521
|
// ===================== Sub Menu =====================
|
|
524
|
-
[`${
|
|
522
|
+
[`${o}-submenu-arrow`]: {
|
|
525
523
|
display: "none"
|
|
526
524
|
}
|
|
527
525
|
}
|
|
528
526
|
};
|
|
529
527
|
}, Vt = (t) => {
|
|
530
528
|
let {
|
|
531
|
-
componentCls:
|
|
529
|
+
componentCls: o,
|
|
532
530
|
menuArrowOffset: e,
|
|
533
531
|
calc: r
|
|
534
532
|
} = t;
|
|
535
533
|
return {
|
|
536
|
-
[`${
|
|
534
|
+
[`${o}-rtl`]: {
|
|
537
535
|
direction: "rtl"
|
|
538
536
|
},
|
|
539
|
-
[`${
|
|
537
|
+
[`${o}-submenu-rtl`]: {
|
|
540
538
|
transformOrigin: "100% 0"
|
|
541
539
|
},
|
|
542
540
|
// Vertical Arrow
|
|
543
|
-
[`${
|
|
544
|
-
${
|
|
545
|
-
[`${
|
|
541
|
+
[`${o}-rtl${o}-vertical,
|
|
542
|
+
${o}-submenu-rtl ${o}-vertical`]: {
|
|
543
|
+
[`${o}-submenu-arrow`]: {
|
|
546
544
|
"&::before": {
|
|
547
545
|
transform: `rotate(-45deg) translateY(${p(r(e).mul(-1).equal())})`
|
|
548
546
|
},
|
|
@@ -552,27 +550,27 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
552
550
|
}
|
|
553
551
|
}
|
|
554
552
|
};
|
|
555
|
-
}, ye = (t) => Object.assign({}, rt(t)), Be = (t,
|
|
553
|
+
}, ye = (t) => Object.assign({}, rt(t)), Be = (t, o) => {
|
|
556
554
|
const {
|
|
557
555
|
componentCls: e,
|
|
558
556
|
itemColor: r,
|
|
559
|
-
itemSelectedColor:
|
|
557
|
+
itemSelectedColor: n,
|
|
560
558
|
subMenuItemSelectedColor: a,
|
|
561
559
|
groupTitleColor: i,
|
|
562
560
|
itemBg: d,
|
|
563
561
|
subMenuItemBg: s,
|
|
564
562
|
itemSelectedBg: m,
|
|
565
|
-
activeBarHeight:
|
|
566
|
-
activeBarWidth:
|
|
563
|
+
activeBarHeight: $,
|
|
564
|
+
activeBarWidth: f,
|
|
567
565
|
activeBarBorderWidth: u,
|
|
568
|
-
motionDurationSlow:
|
|
566
|
+
motionDurationSlow: b,
|
|
569
567
|
motionEaseInOut: c,
|
|
570
568
|
motionEaseOut: g,
|
|
571
|
-
itemPaddingInline:
|
|
569
|
+
itemPaddingInline: v,
|
|
572
570
|
motionDurationMid: x,
|
|
573
571
|
itemHoverColor: B,
|
|
574
572
|
lineType: y,
|
|
575
|
-
colorSplit:
|
|
573
|
+
colorSplit: h,
|
|
576
574
|
// Disabled
|
|
577
575
|
itemDisabledColor: O,
|
|
578
576
|
// Danger
|
|
@@ -583,17 +581,17 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
583
581
|
dangerItemSelectedBg: S,
|
|
584
582
|
// Bg
|
|
585
583
|
popupBg: H,
|
|
586
|
-
itemHoverBg:
|
|
584
|
+
itemHoverBg: M,
|
|
587
585
|
itemActiveBg: L,
|
|
588
586
|
menuSubMenuBg: C,
|
|
589
587
|
// Horizontal
|
|
590
|
-
horizontalItemSelectedColor:
|
|
588
|
+
horizontalItemSelectedColor: j,
|
|
591
589
|
horizontalItemSelectedBg: W,
|
|
592
590
|
horizontalItemBorderRadius: _,
|
|
593
591
|
horizontalItemHoverBg: R
|
|
594
592
|
} = t;
|
|
595
593
|
return {
|
|
596
|
-
[`${e}-${
|
|
594
|
+
[`${e}-${o}, ${e}-${o} > ${e}`]: {
|
|
597
595
|
color: r,
|
|
598
596
|
background: d,
|
|
599
597
|
[`&${e}-root:focus-visible`]: Object.assign({}, ye(t)),
|
|
@@ -623,7 +621,7 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
623
621
|
[`&:not(${e}-horizontal)`]: {
|
|
624
622
|
[`${e}-item:not(${e}-item-selected)`]: {
|
|
625
623
|
"&:hover": {
|
|
626
|
-
backgroundColor:
|
|
624
|
+
backgroundColor: M
|
|
627
625
|
},
|
|
628
626
|
"&:active": {
|
|
629
627
|
backgroundColor: L
|
|
@@ -631,7 +629,7 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
631
629
|
},
|
|
632
630
|
[`${e}-submenu-title`]: {
|
|
633
631
|
"&:hover": {
|
|
634
|
-
backgroundColor:
|
|
632
|
+
backgroundColor: M
|
|
635
633
|
},
|
|
636
634
|
"&:active": {
|
|
637
635
|
backgroundColor: L
|
|
@@ -656,7 +654,7 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
656
654
|
}
|
|
657
655
|
},
|
|
658
656
|
[`${e}-item-selected`]: {
|
|
659
|
-
color:
|
|
657
|
+
color: n,
|
|
660
658
|
// Danger
|
|
661
659
|
[`&${e}-item-danger`]: {
|
|
662
660
|
color: T
|
|
@@ -685,7 +683,7 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
685
683
|
},
|
|
686
684
|
// ===== 设置浮层的颜色 end =======
|
|
687
685
|
// ====================== Horizontal ======================
|
|
688
|
-
[`&${e}-horizontal`]: Object.assign(Object.assign({},
|
|
686
|
+
[`&${e}-horizontal`]: Object.assign(Object.assign({}, o === "dark" ? {
|
|
689
687
|
borderBottom: 0
|
|
690
688
|
} : {}), {
|
|
691
689
|
[`> ${e}-item, > ${e}-submenu`]: {
|
|
@@ -695,28 +693,28 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
695
693
|
borderRadius: _,
|
|
696
694
|
"&::after": {
|
|
697
695
|
position: "absolute",
|
|
698
|
-
insetInline:
|
|
696
|
+
insetInline: v,
|
|
699
697
|
bottom: 0,
|
|
700
|
-
borderBottom: `${p(
|
|
701
|
-
transition: `border-color ${
|
|
698
|
+
borderBottom: `${p($)} solid transparent`,
|
|
699
|
+
transition: `border-color ${b} ${c}`,
|
|
702
700
|
content: '""'
|
|
703
701
|
},
|
|
704
702
|
"&:hover, &-active, &-open": {
|
|
705
703
|
background: R,
|
|
706
704
|
"&::after": {
|
|
707
|
-
borderBottomWidth:
|
|
708
|
-
borderBottomColor:
|
|
705
|
+
borderBottomWidth: $,
|
|
706
|
+
borderBottomColor: j
|
|
709
707
|
}
|
|
710
708
|
},
|
|
711
709
|
"&-selected": {
|
|
712
|
-
color:
|
|
710
|
+
color: j,
|
|
713
711
|
backgroundColor: W,
|
|
714
712
|
"&:hover": {
|
|
715
713
|
backgroundColor: W
|
|
716
714
|
},
|
|
717
715
|
"&::after": {
|
|
718
|
-
borderBottomWidth:
|
|
719
|
-
borderBottomColor:
|
|
716
|
+
borderBottomWidth: $,
|
|
717
|
+
borderBottomColor: j
|
|
720
718
|
}
|
|
721
719
|
}
|
|
722
720
|
}
|
|
@@ -725,7 +723,7 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
725
723
|
//
|
|
726
724
|
[`&${e}-root`]: {
|
|
727
725
|
[`&${e}-inline, &${e}-vertical`]: {
|
|
728
|
-
borderInlineEnd: `${p(u)} ${y} ${
|
|
726
|
+
borderInlineEnd: `${p(u)} ${y} ${h}`
|
|
729
727
|
}
|
|
730
728
|
},
|
|
731
729
|
// ======================== Inline ========================
|
|
@@ -740,7 +738,7 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
740
738
|
position: "absolute",
|
|
741
739
|
insetBlock: 0,
|
|
742
740
|
insetInlineEnd: 0,
|
|
743
|
-
borderInlineEnd: `${p(
|
|
741
|
+
borderInlineEnd: `${p(f)} solid ${n}`,
|
|
744
742
|
transform: "scaleY(0.0001)",
|
|
745
743
|
opacity: 0,
|
|
746
744
|
transition: [`transform ${x} ${g}`, `opacity ${x} ${g}`].join(","),
|
|
@@ -765,22 +763,22 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
765
763
|
};
|
|
766
764
|
}, Oe = (t) => {
|
|
767
765
|
const {
|
|
768
|
-
componentCls:
|
|
766
|
+
componentCls: o,
|
|
769
767
|
itemHeight: e,
|
|
770
768
|
itemMarginInline: r,
|
|
771
|
-
padding:
|
|
769
|
+
padding: n,
|
|
772
770
|
menuArrowSize: a,
|
|
773
771
|
marginXS: i,
|
|
774
772
|
itemMarginBlock: d,
|
|
775
773
|
itemWidth: s,
|
|
776
774
|
itemPaddingInline: m
|
|
777
|
-
} = t,
|
|
775
|
+
} = t, $ = t.calc(a).add(n).add(i).equal();
|
|
778
776
|
return {
|
|
779
|
-
[`${
|
|
777
|
+
[`${o}-item`]: {
|
|
780
778
|
position: "relative",
|
|
781
779
|
overflow: "hidden"
|
|
782
780
|
},
|
|
783
|
-
[`${
|
|
781
|
+
[`${o}-item, ${o}-submenu-title`]: {
|
|
784
782
|
height: e,
|
|
785
783
|
lineHeight: p(e),
|
|
786
784
|
paddingInline: m,
|
|
@@ -790,34 +788,34 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
790
788
|
marginBlock: d,
|
|
791
789
|
width: s
|
|
792
790
|
},
|
|
793
|
-
[`> ${
|
|
794
|
-
> ${
|
|
791
|
+
[`> ${o}-item,
|
|
792
|
+
> ${o}-submenu > ${o}-submenu-title`]: {
|
|
795
793
|
height: e,
|
|
796
794
|
lineHeight: p(e)
|
|
797
795
|
},
|
|
798
|
-
[`${
|
|
799
|
-
${
|
|
800
|
-
paddingInlineEnd:
|
|
796
|
+
[`${o}-item-group-list ${o}-submenu-title,
|
|
797
|
+
${o}-submenu-title`]: {
|
|
798
|
+
paddingInlineEnd: $
|
|
801
799
|
}
|
|
802
800
|
};
|
|
803
801
|
}, Xt = (t) => {
|
|
804
802
|
const {
|
|
805
|
-
componentCls:
|
|
803
|
+
componentCls: o,
|
|
806
804
|
iconCls: e,
|
|
807
805
|
itemHeight: r,
|
|
808
|
-
colorTextLightSolid:
|
|
806
|
+
colorTextLightSolid: n,
|
|
809
807
|
dropdownWidth: a,
|
|
810
808
|
controlHeightLG: i,
|
|
811
809
|
motionEaseOut: d,
|
|
812
810
|
paddingXL: s,
|
|
813
811
|
itemMarginInline: m,
|
|
814
|
-
fontSizeLG:
|
|
815
|
-
motionDurationFast:
|
|
812
|
+
fontSizeLG: $,
|
|
813
|
+
motionDurationFast: f,
|
|
816
814
|
motionDurationSlow: u,
|
|
817
|
-
paddingXS:
|
|
815
|
+
paddingXS: b,
|
|
818
816
|
boxShadowSecondary: c,
|
|
819
817
|
collapsedWidth: g,
|
|
820
|
-
collapsedIconSize:
|
|
818
|
+
collapsedIconSize: v
|
|
821
819
|
} = t, x = {
|
|
822
820
|
height: r,
|
|
823
821
|
lineHeight: p(r),
|
|
@@ -826,22 +824,22 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
826
824
|
};
|
|
827
825
|
return [
|
|
828
826
|
{
|
|
829
|
-
[
|
|
827
|
+
[o]: {
|
|
830
828
|
"&-inline, &-vertical": Object.assign({
|
|
831
|
-
[`&${
|
|
829
|
+
[`&${o}-root`]: {
|
|
832
830
|
boxShadow: "none"
|
|
833
831
|
}
|
|
834
832
|
}, Oe(t))
|
|
835
833
|
},
|
|
836
|
-
[`${
|
|
837
|
-
[`${
|
|
834
|
+
[`${o}-submenu-popup`]: {
|
|
835
|
+
[`${o}-vertical`]: Object.assign(Object.assign({}, Oe(t)), {
|
|
838
836
|
boxShadow: c
|
|
839
837
|
})
|
|
840
838
|
}
|
|
841
839
|
},
|
|
842
840
|
// Vertical only
|
|
843
841
|
{
|
|
844
|
-
[`${
|
|
842
|
+
[`${o}-submenu-popup ${o}-vertical${o}-sub`]: {
|
|
845
843
|
minWidth: a,
|
|
846
844
|
maxHeight: `calc(100vh - ${p(t.calc(i).mul(2.5).equal())})`,
|
|
847
845
|
padding: "0",
|
|
@@ -857,15 +855,15 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
857
855
|
},
|
|
858
856
|
// Inline Only
|
|
859
857
|
{
|
|
860
|
-
[`${
|
|
858
|
+
[`${o}-inline`]: {
|
|
861
859
|
width: "100%",
|
|
862
860
|
// Motion enhance for first level
|
|
863
|
-
[`&${
|
|
864
|
-
[`${
|
|
861
|
+
[`&${o}-root`]: {
|
|
862
|
+
[`${o}-item, ${o}-submenu-title`]: {
|
|
865
863
|
display: "flex",
|
|
866
864
|
alignItems: "center",
|
|
867
|
-
transition: [`border-color ${u}`, `background ${u}`, `padding ${
|
|
868
|
-
[`> ${
|
|
865
|
+
transition: [`border-color ${u}`, `background ${u}`, `padding ${f} ${d}`].join(","),
|
|
866
|
+
[`> ${o}-title-content`]: {
|
|
869
867
|
flex: "auto",
|
|
870
868
|
minWidth: 0,
|
|
871
869
|
overflow: "hidden",
|
|
@@ -877,48 +875,48 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
877
875
|
}
|
|
878
876
|
},
|
|
879
877
|
// >>>>> Sub
|
|
880
|
-
[`${
|
|
878
|
+
[`${o}-sub${o}-inline`]: {
|
|
881
879
|
padding: 0,
|
|
882
880
|
border: 0,
|
|
883
881
|
borderRadius: 0,
|
|
884
882
|
boxShadow: "none",
|
|
885
|
-
[`& > ${
|
|
886
|
-
[`& ${
|
|
883
|
+
[`& > ${o}-submenu > ${o}-submenu-title`]: x,
|
|
884
|
+
[`& ${o}-item-group-title`]: {
|
|
887
885
|
paddingInlineStart: s
|
|
888
886
|
}
|
|
889
887
|
},
|
|
890
888
|
// >>>>> Item
|
|
891
|
-
[`${
|
|
889
|
+
[`${o}-item`]: x
|
|
892
890
|
}
|
|
893
891
|
},
|
|
894
892
|
// Inline Collapse Only
|
|
895
893
|
{
|
|
896
|
-
[`${
|
|
894
|
+
[`${o}-inline-collapsed`]: {
|
|
897
895
|
width: g,
|
|
898
|
-
[`&${
|
|
899
|
-
[`${
|
|
900
|
-
[`> ${
|
|
901
|
-
fontSize:
|
|
896
|
+
[`&${o}-root`]: {
|
|
897
|
+
[`${o}-item, ${o}-submenu ${o}-submenu-title`]: {
|
|
898
|
+
[`> ${o}-inline-collapsed-noicon`]: {
|
|
899
|
+
fontSize: $,
|
|
902
900
|
textAlign: "center"
|
|
903
901
|
}
|
|
904
902
|
}
|
|
905
903
|
},
|
|
906
|
-
[`> ${
|
|
907
|
-
> ${
|
|
908
|
-
> ${
|
|
909
|
-
> ${
|
|
904
|
+
[`> ${o}-item,
|
|
905
|
+
> ${o}-item-group > ${o}-item-group-list > ${o}-item,
|
|
906
|
+
> ${o}-item-group > ${o}-item-group-list > ${o}-submenu > ${o}-submenu-title,
|
|
907
|
+
> ${o}-submenu > ${o}-submenu-title`]: {
|
|
910
908
|
insetInlineStart: 0,
|
|
911
|
-
paddingInline: `calc(50% - ${p(t.calc(
|
|
909
|
+
paddingInline: `calc(50% - ${p(t.calc(v).div(2).equal())} - ${p(m)})`,
|
|
912
910
|
textOverflow: "clip",
|
|
913
911
|
[`
|
|
914
|
-
${
|
|
915
|
-
${
|
|
912
|
+
${o}-submenu-arrow,
|
|
913
|
+
${o}-submenu-expand-icon
|
|
916
914
|
`]: {
|
|
917
915
|
opacity: 0
|
|
918
916
|
},
|
|
919
|
-
[`${
|
|
917
|
+
[`${o}-item-icon, ${e}`]: {
|
|
920
918
|
margin: 0,
|
|
921
|
-
fontSize:
|
|
919
|
+
fontSize: v,
|
|
922
920
|
lineHeight: p(r),
|
|
923
921
|
"+ span": {
|
|
924
922
|
display: "inline-block",
|
|
@@ -926,30 +924,30 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
926
924
|
}
|
|
927
925
|
}
|
|
928
926
|
},
|
|
929
|
-
[`${
|
|
927
|
+
[`${o}-item-icon, ${e}`]: {
|
|
930
928
|
display: "inline-block"
|
|
931
929
|
},
|
|
932
930
|
"&-tooltip": {
|
|
933
931
|
pointerEvents: "none",
|
|
934
|
-
[`${
|
|
932
|
+
[`${o}-item-icon, ${e}`]: {
|
|
935
933
|
display: "none"
|
|
936
934
|
},
|
|
937
935
|
"a, a:hover": {
|
|
938
|
-
color:
|
|
936
|
+
color: n
|
|
939
937
|
}
|
|
940
938
|
},
|
|
941
|
-
[`${
|
|
942
|
-
paddingInline:
|
|
939
|
+
[`${o}-item-group-title`]: Object.assign(Object.assign({}, it), {
|
|
940
|
+
paddingInline: b
|
|
943
941
|
})
|
|
944
942
|
}
|
|
945
943
|
}
|
|
946
944
|
];
|
|
947
945
|
}, Ee = (t) => {
|
|
948
946
|
const {
|
|
949
|
-
componentCls:
|
|
947
|
+
componentCls: o,
|
|
950
948
|
motionDurationSlow: e,
|
|
951
949
|
motionDurationMid: r,
|
|
952
|
-
motionEaseInOut:
|
|
950
|
+
motionEaseInOut: n,
|
|
953
951
|
motionEaseOut: a,
|
|
954
952
|
iconCls: i,
|
|
955
953
|
iconSize: d,
|
|
@@ -957,32 +955,32 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
957
955
|
} = t;
|
|
958
956
|
return {
|
|
959
957
|
// >>>>> Item
|
|
960
|
-
[`${
|
|
958
|
+
[`${o}-item, ${o}-submenu-title`]: {
|
|
961
959
|
position: "relative",
|
|
962
960
|
display: "block",
|
|
963
961
|
margin: 0,
|
|
964
962
|
whiteSpace: "nowrap",
|
|
965
963
|
cursor: "pointer",
|
|
966
|
-
transition: [`border-color ${e}`, `background ${e}`, `padding calc(${e} + 0.1s) ${
|
|
967
|
-
[`${
|
|
964
|
+
transition: [`border-color ${e}`, `background ${e}`, `padding calc(${e} + 0.1s) ${n}`].join(","),
|
|
965
|
+
[`${o}-item-icon, ${i}`]: {
|
|
968
966
|
minWidth: d,
|
|
969
967
|
fontSize: d,
|
|
970
|
-
transition: [`font-size ${r} ${a}`, `margin ${e} ${
|
|
968
|
+
transition: [`font-size ${r} ${a}`, `margin ${e} ${n}`, `color ${e}`].join(","),
|
|
971
969
|
"+ span": {
|
|
972
970
|
marginInlineStart: s,
|
|
973
971
|
opacity: 1,
|
|
974
|
-
transition: [`opacity ${e} ${
|
|
972
|
+
transition: [`opacity ${e} ${n}`, `margin ${e}`, `color ${e}`].join(",")
|
|
975
973
|
}
|
|
976
974
|
},
|
|
977
|
-
[`${
|
|
978
|
-
[`&${
|
|
979
|
-
[`> ${i}, > ${
|
|
975
|
+
[`${o}-item-icon`]: Object.assign({}, lt()),
|
|
976
|
+
[`&${o}-item-only-child`]: {
|
|
977
|
+
[`> ${i}, > ${o}-item-icon`]: {
|
|
980
978
|
marginInlineEnd: 0
|
|
981
979
|
}
|
|
982
980
|
}
|
|
983
981
|
},
|
|
984
982
|
// Disabled state sets text to gray and nukes hover/tab effects
|
|
985
|
-
[`${
|
|
983
|
+
[`${o}-item-disabled, ${o}-submenu-disabled`]: {
|
|
986
984
|
background: "none !important",
|
|
987
985
|
cursor: "not-allowed",
|
|
988
986
|
"&::after": {
|
|
@@ -993,7 +991,7 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
993
991
|
cursor: "not-allowed",
|
|
994
992
|
pointerEvents: "none"
|
|
995
993
|
},
|
|
996
|
-
[`> ${
|
|
994
|
+
[`> ${o}-submenu-title`]: {
|
|
997
995
|
color: "inherit !important",
|
|
998
996
|
cursor: "not-allowed"
|
|
999
997
|
}
|
|
@@ -1001,15 +999,15 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
1001
999
|
};
|
|
1002
1000
|
}, ze = (t) => {
|
|
1003
1001
|
const {
|
|
1004
|
-
componentCls:
|
|
1002
|
+
componentCls: o,
|
|
1005
1003
|
motionDurationSlow: e,
|
|
1006
1004
|
motionEaseInOut: r,
|
|
1007
|
-
borderRadius:
|
|
1005
|
+
borderRadius: n,
|
|
1008
1006
|
menuArrowSize: a,
|
|
1009
1007
|
menuArrowOffset: i
|
|
1010
1008
|
} = t;
|
|
1011
1009
|
return {
|
|
1012
|
-
[`${
|
|
1010
|
+
[`${o}-submenu`]: {
|
|
1013
1011
|
"&-expand-icon, &-arrow": {
|
|
1014
1012
|
position: "absolute",
|
|
1015
1013
|
top: "50%",
|
|
@@ -1026,7 +1024,7 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
1026
1024
|
width: t.calc(a).mul(0.6).equal(),
|
|
1027
1025
|
height: t.calc(a).mul(0.15).equal(),
|
|
1028
1026
|
backgroundColor: "currentcolor",
|
|
1029
|
-
borderRadius:
|
|
1027
|
+
borderRadius: n,
|
|
1030
1028
|
transition: [`background ${e} ${r}`, `transform ${e} ${r}`, `top ${e} ${r}`, `color ${e} ${r}`].join(","),
|
|
1031
1029
|
content: '""'
|
|
1032
1030
|
},
|
|
@@ -1041,22 +1039,22 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
1041
1039
|
};
|
|
1042
1040
|
}, qt = (t) => {
|
|
1043
1041
|
const {
|
|
1044
|
-
antCls:
|
|
1042
|
+
antCls: o,
|
|
1045
1043
|
componentCls: e,
|
|
1046
1044
|
fontSize: r,
|
|
1047
|
-
motionDurationSlow:
|
|
1045
|
+
motionDurationSlow: n,
|
|
1048
1046
|
motionDurationMid: a,
|
|
1049
1047
|
motionEaseInOut: i,
|
|
1050
1048
|
paddingXS: d,
|
|
1051
1049
|
padding: s,
|
|
1052
1050
|
colorSplit: m,
|
|
1053
|
-
lineWidth:
|
|
1054
|
-
zIndexPopup:
|
|
1051
|
+
lineWidth: $,
|
|
1052
|
+
zIndexPopup: f,
|
|
1055
1053
|
borderRadiusLG: u,
|
|
1056
|
-
subMenuItemBorderRadius:
|
|
1054
|
+
subMenuItemBorderRadius: b,
|
|
1057
1055
|
menuArrowSize: c,
|
|
1058
1056
|
menuArrowOffset: g,
|
|
1059
|
-
lineType:
|
|
1057
|
+
lineType: v,
|
|
1060
1058
|
groupTitleLineHeight: x,
|
|
1061
1059
|
groupTitleFontSize: B
|
|
1062
1060
|
} = t;
|
|
@@ -1085,7 +1083,7 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
1085
1083
|
listStyle: "none",
|
|
1086
1084
|
outline: "none",
|
|
1087
1085
|
// Magic cubic here but smooth transition
|
|
1088
|
-
transition: `width ${
|
|
1086
|
+
transition: `width ${n} cubic-bezier(0.2, 0, 0, 1) 0s`,
|
|
1089
1087
|
"ul, ol": {
|
|
1090
1088
|
margin: 0,
|
|
1091
1089
|
padding: 0,
|
|
@@ -1105,27 +1103,27 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
1105
1103
|
padding: `${p(d)} ${p(s)}`,
|
|
1106
1104
|
fontSize: B,
|
|
1107
1105
|
lineHeight: x,
|
|
1108
|
-
transition: `all ${
|
|
1106
|
+
transition: `all ${n}`
|
|
1109
1107
|
},
|
|
1110
1108
|
[`&-horizontal ${e}-submenu`]: {
|
|
1111
|
-
transition: [`border-color ${
|
|
1109
|
+
transition: [`border-color ${n} ${i}`, `background ${n} ${i}`].join(",")
|
|
1112
1110
|
},
|
|
1113
1111
|
[`${e}-submenu, ${e}-submenu-inline`]: {
|
|
1114
|
-
transition: [`border-color ${
|
|
1112
|
+
transition: [`border-color ${n} ${i}`, `background ${n} ${i}`, `padding ${a} ${i}`].join(",")
|
|
1115
1113
|
},
|
|
1116
1114
|
[`${e}-submenu ${e}-sub`]: {
|
|
1117
1115
|
cursor: "initial",
|
|
1118
|
-
transition: [`background ${
|
|
1116
|
+
transition: [`background ${n} ${i}`, `padding ${n} ${i}`].join(",")
|
|
1119
1117
|
},
|
|
1120
1118
|
[`${e}-title-content`]: {
|
|
1121
|
-
transition: `color ${
|
|
1119
|
+
transition: `color ${n}`,
|
|
1122
1120
|
"&-with-extra": {
|
|
1123
1121
|
display: "inline-flex",
|
|
1124
1122
|
alignItems: "center",
|
|
1125
1123
|
width: "100%"
|
|
1126
1124
|
},
|
|
1127
1125
|
// https://github.com/ant-design/ant-design/issues/41143
|
|
1128
|
-
[`> ${
|
|
1126
|
+
[`> ${o}-typography-ellipsis-single-line`]: {
|
|
1129
1127
|
display: "inline",
|
|
1130
1128
|
verticalAlign: "unset"
|
|
1131
1129
|
},
|
|
@@ -1149,10 +1147,10 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
1149
1147
|
overflow: "hidden",
|
|
1150
1148
|
lineHeight: 0,
|
|
1151
1149
|
borderColor: m,
|
|
1152
|
-
borderStyle:
|
|
1150
|
+
borderStyle: v,
|
|
1153
1151
|
borderWidth: 0,
|
|
1154
|
-
borderTopWidth:
|
|
1155
|
-
marginBlock:
|
|
1152
|
+
borderTopWidth: $,
|
|
1153
|
+
marginBlock: $,
|
|
1156
1154
|
padding: 0,
|
|
1157
1155
|
"&-dashed": {
|
|
1158
1156
|
borderStyle: "dashed"
|
|
@@ -1172,7 +1170,7 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
1172
1170
|
"&-submenu": {
|
|
1173
1171
|
"&-popup": {
|
|
1174
1172
|
position: "absolute",
|
|
1175
|
-
zIndex:
|
|
1173
|
+
zIndex: f,
|
|
1176
1174
|
borderRadius: u,
|
|
1177
1175
|
boxShadow: "none",
|
|
1178
1176
|
transformOrigin: "0 0",
|
|
@@ -1193,10 +1191,10 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
1193
1191
|
borderRadius: u
|
|
1194
1192
|
}, Ee(t)), ze(t)), {
|
|
1195
1193
|
[`${e}-item, ${e}-submenu > ${e}-submenu-title`]: {
|
|
1196
|
-
borderRadius:
|
|
1194
|
+
borderRadius: b
|
|
1197
1195
|
},
|
|
1198
1196
|
[`${e}-submenu-title::after`]: {
|
|
1199
|
-
transition: `transform ${
|
|
1197
|
+
transition: `transform ${n} ${i}`
|
|
1200
1198
|
}
|
|
1201
1199
|
})
|
|
1202
1200
|
},
|
|
@@ -1250,7 +1248,7 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
1250
1248
|
},
|
|
1251
1249
|
// Integration with header element so menu items have the same height
|
|
1252
1250
|
{
|
|
1253
|
-
[`${
|
|
1251
|
+
[`${o}-layout-header`]: {
|
|
1254
1252
|
[e]: {
|
|
1255
1253
|
lineHeight: "inherit"
|
|
1256
1254
|
}
|
|
@@ -1258,32 +1256,32 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
1258
1256
|
}
|
|
1259
1257
|
];
|
|
1260
1258
|
}, Ft = (t) => {
|
|
1261
|
-
var
|
|
1259
|
+
var o, e, r;
|
|
1262
1260
|
const {
|
|
1263
|
-
colorPrimary:
|
|
1261
|
+
colorPrimary: n,
|
|
1264
1262
|
colorError: a,
|
|
1265
1263
|
colorTextDisabled: i,
|
|
1266
1264
|
colorErrorBg: d,
|
|
1267
1265
|
colorText: s,
|
|
1268
1266
|
colorTextDescription: m,
|
|
1269
|
-
colorBgContainer:
|
|
1270
|
-
colorFillAlter:
|
|
1267
|
+
colorBgContainer: $,
|
|
1268
|
+
colorFillAlter: f,
|
|
1271
1269
|
colorFillContent: u,
|
|
1272
|
-
lineWidth:
|
|
1270
|
+
lineWidth: b,
|
|
1273
1271
|
lineWidthBold: c,
|
|
1274
1272
|
controlItemBgActive: g,
|
|
1275
|
-
colorBgTextHover:
|
|
1273
|
+
colorBgTextHover: v,
|
|
1276
1274
|
controlHeightLG: x,
|
|
1277
1275
|
lineHeight: B,
|
|
1278
1276
|
colorBgElevated: y,
|
|
1279
|
-
marginXXS:
|
|
1277
|
+
marginXXS: h,
|
|
1280
1278
|
padding: O,
|
|
1281
1279
|
fontSize: N,
|
|
1282
1280
|
controlHeightSM: A,
|
|
1283
1281
|
fontSizeLG: T,
|
|
1284
1282
|
colorTextLightSolid: I,
|
|
1285
1283
|
colorErrorHover: S
|
|
1286
|
-
} = t, H = (
|
|
1284
|
+
} = t, H = (o = t.activeBarWidth) !== null && o !== void 0 ? o : 0, M = (e = t.activeBarBorderWidth) !== null && e !== void 0 ? e : b, L = (r = t.itemMarginInline) !== null && r !== void 0 ? r : t.marginXXS, C = new Ce(I).setA(0.65).toRgbString();
|
|
1287
1285
|
return {
|
|
1288
1286
|
dropdownWidth: 160,
|
|
1289
1287
|
zIndexPopup: t.zIndexPopupBase + 50,
|
|
@@ -1295,23 +1293,23 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
1295
1293
|
itemColor: s,
|
|
1296
1294
|
colorItemTextHover: s,
|
|
1297
1295
|
itemHoverColor: s,
|
|
1298
|
-
colorItemTextHoverHorizontal:
|
|
1299
|
-
horizontalItemHoverColor:
|
|
1296
|
+
colorItemTextHoverHorizontal: n,
|
|
1297
|
+
horizontalItemHoverColor: n,
|
|
1300
1298
|
colorGroupTitle: m,
|
|
1301
1299
|
groupTitleColor: m,
|
|
1302
|
-
colorItemTextSelected:
|
|
1303
|
-
itemSelectedColor:
|
|
1304
|
-
subMenuItemSelectedColor:
|
|
1305
|
-
colorItemTextSelectedHorizontal:
|
|
1306
|
-
horizontalItemSelectedColor:
|
|
1307
|
-
colorItemBg:
|
|
1308
|
-
itemBg:
|
|
1309
|
-
colorItemBgHover:
|
|
1310
|
-
itemHoverBg:
|
|
1300
|
+
colorItemTextSelected: n,
|
|
1301
|
+
itemSelectedColor: n,
|
|
1302
|
+
subMenuItemSelectedColor: n,
|
|
1303
|
+
colorItemTextSelectedHorizontal: n,
|
|
1304
|
+
horizontalItemSelectedColor: n,
|
|
1305
|
+
colorItemBg: $,
|
|
1306
|
+
itemBg: $,
|
|
1307
|
+
colorItemBgHover: v,
|
|
1308
|
+
itemHoverBg: v,
|
|
1311
1309
|
colorItemBgActive: u,
|
|
1312
1310
|
itemActiveBg: g,
|
|
1313
|
-
colorSubItemBg:
|
|
1314
|
-
subMenuItemBg:
|
|
1311
|
+
colorSubItemBg: f,
|
|
1312
|
+
subMenuItemBg: f,
|
|
1315
1313
|
colorItemBgSelected: g,
|
|
1316
1314
|
itemSelectedBg: g,
|
|
1317
1315
|
colorItemBgSelectedHorizontal: "transparent",
|
|
@@ -1320,8 +1318,8 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
1320
1318
|
activeBarWidth: H,
|
|
1321
1319
|
colorActiveBarHeight: c,
|
|
1322
1320
|
activeBarHeight: c,
|
|
1323
|
-
colorActiveBarBorderSize:
|
|
1324
|
-
activeBarBorderWidth:
|
|
1321
|
+
colorActiveBarBorderSize: b,
|
|
1322
|
+
activeBarBorderWidth: M,
|
|
1325
1323
|
// Disabled
|
|
1326
1324
|
colorItemTextDisabled: i,
|
|
1327
1325
|
itemDisabledColor: i,
|
|
@@ -1343,7 +1341,7 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
1343
1341
|
groupTitleLineHeight: B,
|
|
1344
1342
|
collapsedWidth: x * 2,
|
|
1345
1343
|
popupBg: y,
|
|
1346
|
-
itemMarginBlock:
|
|
1344
|
+
itemMarginBlock: h,
|
|
1347
1345
|
itemPaddingInline: O,
|
|
1348
1346
|
horizontalLineHeight: `${x * 1.15}px`,
|
|
1349
1347
|
iconSize: N,
|
|
@@ -1359,7 +1357,7 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
1359
1357
|
darkPopupBg: "#001529",
|
|
1360
1358
|
darkSubMenuItemBg: "#000c17",
|
|
1361
1359
|
darkItemSelectedColor: I,
|
|
1362
|
-
darkItemSelectedBg:
|
|
1360
|
+
darkItemSelectedBg: n,
|
|
1363
1361
|
darkDangerItemSelectedBg: a,
|
|
1364
1362
|
darkItemHoverBg: "transparent",
|
|
1365
1363
|
darkGroupTitleColor: C,
|
|
@@ -1368,48 +1366,49 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
1368
1366
|
darkDangerItemSelectedColor: I,
|
|
1369
1367
|
darkDangerItemActiveBg: a,
|
|
1370
1368
|
// internal
|
|
1371
|
-
itemWidth: H ? `calc(100% + ${
|
|
1369
|
+
itemWidth: H ? `calc(100% + ${M}px)` : `calc(100% - ${L * 2}px)`
|
|
1372
1370
|
};
|
|
1373
1371
|
}, Gt = function(t) {
|
|
1374
|
-
let
|
|
1375
|
-
return
|
|
1372
|
+
let o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : t, e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0;
|
|
1373
|
+
return re("Menu", (n) => {
|
|
1376
1374
|
const {
|
|
1377
1375
|
colorBgElevated: a,
|
|
1378
1376
|
controlHeightLG: i,
|
|
1379
1377
|
fontSize: d,
|
|
1380
1378
|
darkItemColor: s,
|
|
1381
1379
|
darkDangerItemColor: m,
|
|
1382
|
-
darkItemBg:
|
|
1383
|
-
darkSubMenuItemBg:
|
|
1380
|
+
darkItemBg: $,
|
|
1381
|
+
darkSubMenuItemBg: f,
|
|
1384
1382
|
darkItemSelectedColor: u,
|
|
1385
|
-
darkItemSelectedBg:
|
|
1383
|
+
darkItemSelectedBg: b,
|
|
1386
1384
|
darkDangerItemSelectedBg: c,
|
|
1387
1385
|
darkItemHoverBg: g,
|
|
1388
|
-
darkGroupTitleColor:
|
|
1386
|
+
darkGroupTitleColor: v,
|
|
1389
1387
|
darkItemHoverColor: x,
|
|
1390
1388
|
darkItemDisabledColor: B,
|
|
1391
1389
|
darkDangerItemHoverColor: y,
|
|
1392
|
-
darkDangerItemSelectedColor:
|
|
1390
|
+
darkDangerItemSelectedColor: h,
|
|
1393
1391
|
darkDangerItemActiveBg: O,
|
|
1394
1392
|
popupBg: N,
|
|
1395
1393
|
darkPopupBg: A
|
|
1396
|
-
} =
|
|
1394
|
+
} = n, T = n.calc(d).div(7).mul(5).equal(), I = ge(n, {
|
|
1397
1395
|
menuArrowSize: T,
|
|
1398
|
-
menuHorizontalHeight:
|
|
1399
|
-
menuArrowOffset:
|
|
1396
|
+
menuHorizontalHeight: n.calc(i).mul(1.15).equal(),
|
|
1397
|
+
menuArrowOffset: n.calc(T).mul(0.25).equal(),
|
|
1400
1398
|
menuSubMenuBg: a,
|
|
1401
|
-
calc:
|
|
1399
|
+
calc: n.calc,
|
|
1402
1400
|
popupBg: N
|
|
1403
|
-
}), S =
|
|
1401
|
+
}), S = ge(I, {
|
|
1404
1402
|
itemColor: s,
|
|
1405
1403
|
itemHoverColor: x,
|
|
1406
|
-
groupTitleColor:
|
|
1404
|
+
groupTitleColor: v,
|
|
1407
1405
|
itemSelectedColor: u,
|
|
1408
|
-
|
|
1406
|
+
subMenuItemSelectedColor: u,
|
|
1407
|
+
itemBg: $,
|
|
1409
1408
|
popupBg: A,
|
|
1410
|
-
subMenuItemBg:
|
|
1409
|
+
subMenuItemBg: f,
|
|
1411
1410
|
itemActiveBg: "transparent",
|
|
1412
|
-
itemSelectedBg:
|
|
1411
|
+
itemSelectedBg: b,
|
|
1413
1412
|
activeBarHeight: 0,
|
|
1414
1413
|
activeBarBorderWidth: 0,
|
|
1415
1414
|
itemHoverBg: g,
|
|
@@ -1418,13 +1417,13 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
1418
1417
|
// Danger
|
|
1419
1418
|
dangerItemColor: m,
|
|
1420
1419
|
dangerItemHoverColor: y,
|
|
1421
|
-
dangerItemSelectedColor:
|
|
1420
|
+
dangerItemSelectedColor: h,
|
|
1422
1421
|
dangerItemActiveBg: O,
|
|
1423
1422
|
dangerItemSelectedBg: c,
|
|
1424
|
-
menuSubMenuBg:
|
|
1423
|
+
menuSubMenuBg: f,
|
|
1425
1424
|
// Horizontal
|
|
1426
1425
|
horizontalItemSelectedColor: u,
|
|
1427
|
-
horizontalItemSelectedBg:
|
|
1426
|
+
horizontalItemSelectedBg: b
|
|
1428
1427
|
});
|
|
1429
1428
|
return [
|
|
1430
1429
|
// Basic
|
|
@@ -1441,7 +1440,7 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
1441
1440
|
// RTL
|
|
1442
1441
|
Vt(I),
|
|
1443
1442
|
// Motion
|
|
1444
|
-
|
|
1443
|
+
vt(I),
|
|
1445
1444
|
Q(I, "slide-up"),
|
|
1446
1445
|
Q(I, "slide-down"),
|
|
1447
1446
|
Me(I, "zoom-big")
|
|
@@ -1453,152 +1452,152 @@ const ne = /* @__PURE__ */ l.createContext(null), kt = /* @__PURE__ */ l.forward
|
|
|
1453
1452
|
unitless: {
|
|
1454
1453
|
groupTitleLineHeight: !0
|
|
1455
1454
|
}
|
|
1456
|
-
})(t,
|
|
1455
|
+
})(t, o);
|
|
1457
1456
|
}, Ve = (t) => {
|
|
1458
|
-
var
|
|
1457
|
+
var o;
|
|
1459
1458
|
const {
|
|
1460
1459
|
popupClassName: e,
|
|
1461
1460
|
icon: r,
|
|
1462
|
-
title:
|
|
1461
|
+
title: n,
|
|
1463
1462
|
theme: a
|
|
1464
|
-
} = t, i = l.useContext(
|
|
1463
|
+
} = t, i = l.useContext(oe), {
|
|
1465
1464
|
prefixCls: d,
|
|
1466
1465
|
inlineCollapsed: s,
|
|
1467
1466
|
theme: m
|
|
1468
|
-
} = i,
|
|
1469
|
-
let
|
|
1467
|
+
} = i, $ = Ue();
|
|
1468
|
+
let f;
|
|
1470
1469
|
if (!r)
|
|
1471
|
-
|
|
1470
|
+
f = s && !$.length && n && typeof n == "string" ? /* @__PURE__ */ l.createElement("div", {
|
|
1472
1471
|
className: `${d}-inline-collapsed-noicon`
|
|
1473
|
-
},
|
|
1472
|
+
}, n.charAt(0)) : /* @__PURE__ */ l.createElement("span", {
|
|
1474
1473
|
className: `${d}-title-content`
|
|
1475
|
-
},
|
|
1474
|
+
}, n);
|
|
1476
1475
|
else {
|
|
1477
|
-
const c = /* @__PURE__ */ l.isValidElement(
|
|
1478
|
-
|
|
1479
|
-
className: P(/* @__PURE__ */ l.isValidElement(r) ? (
|
|
1480
|
-
}), c ?
|
|
1476
|
+
const c = /* @__PURE__ */ l.isValidElement(n) && n.type === "span";
|
|
1477
|
+
f = /* @__PURE__ */ l.createElement(l.Fragment, null, le(r, {
|
|
1478
|
+
className: P(/* @__PURE__ */ l.isValidElement(r) ? (o = r.props) === null || o === void 0 ? void 0 : o.className : "", `${d}-item-icon`)
|
|
1479
|
+
}), c ? n : /* @__PURE__ */ l.createElement("span", {
|
|
1481
1480
|
className: `${d}-title-content`
|
|
1482
|
-
},
|
|
1481
|
+
}, n));
|
|
1483
1482
|
}
|
|
1484
1483
|
const u = l.useMemo(() => Object.assign(Object.assign({}, i), {
|
|
1485
1484
|
firstLevel: !1
|
|
1486
|
-
}), [i]), [
|
|
1487
|
-
return /* @__PURE__ */ l.createElement(
|
|
1485
|
+
}), [i]), [b] = De("Menu");
|
|
1486
|
+
return /* @__PURE__ */ l.createElement(oe.Provider, {
|
|
1488
1487
|
value: u
|
|
1489
1488
|
}, /* @__PURE__ */ l.createElement(Ze, Object.assign({}, Z(t, ["icon"]), {
|
|
1490
|
-
title:
|
|
1489
|
+
title: f,
|
|
1491
1490
|
popupClassName: P(d, e, `${d}-${a || m}`),
|
|
1492
1491
|
popupStyle: Object.assign({
|
|
1493
|
-
zIndex:
|
|
1492
|
+
zIndex: b
|
|
1494
1493
|
}, t.popupStyle)
|
|
1495
1494
|
})));
|
|
1496
1495
|
};
|
|
1497
|
-
var Yt = function(t,
|
|
1496
|
+
var Yt = function(t, o) {
|
|
1498
1497
|
var e = {};
|
|
1499
|
-
for (var r in t) Object.prototype.hasOwnProperty.call(t, r) &&
|
|
1500
|
-
if (t != null && typeof Object.getOwnPropertySymbols == "function") for (var
|
|
1501
|
-
|
|
1498
|
+
for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && o.indexOf(r) < 0 && (e[r] = t[r]);
|
|
1499
|
+
if (t != null && typeof Object.getOwnPropertySymbols == "function") for (var n = 0, r = Object.getOwnPropertySymbols(t); n < r.length; n++)
|
|
1500
|
+
o.indexOf(r[n]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[n]) && (e[r[n]] = t[r[n]]);
|
|
1502
1501
|
return e;
|
|
1503
1502
|
};
|
|
1504
|
-
function
|
|
1503
|
+
function me(t) {
|
|
1505
1504
|
return t === null || t === !1;
|
|
1506
1505
|
}
|
|
1507
1506
|
const Ut = {
|
|
1508
1507
|
item: We,
|
|
1509
1508
|
submenu: Ve,
|
|
1510
1509
|
divider: ke
|
|
1511
|
-
}, Zt = /* @__PURE__ */ Te((t,
|
|
1510
|
+
}, Zt = /* @__PURE__ */ Te((t, o) => {
|
|
1512
1511
|
var e;
|
|
1513
|
-
const r = l.useContext(ne),
|
|
1512
|
+
const r = l.useContext(ne), n = r || {}, {
|
|
1514
1513
|
getPrefixCls: a,
|
|
1515
1514
|
getPopupContainer: i,
|
|
1516
1515
|
direction: d,
|
|
1517
1516
|
menu: s
|
|
1518
|
-
} = l.useContext(
|
|
1519
|
-
prefixCls:
|
|
1520
|
-
className:
|
|
1517
|
+
} = l.useContext(ie), m = a(), {
|
|
1518
|
+
prefixCls: $,
|
|
1519
|
+
className: f,
|
|
1521
1520
|
style: u,
|
|
1522
|
-
theme:
|
|
1521
|
+
theme: b = "light",
|
|
1523
1522
|
expandIcon: c,
|
|
1524
1523
|
_internalDisableMenuItemTitleTooltip: g,
|
|
1525
|
-
inlineCollapsed:
|
|
1524
|
+
inlineCollapsed: v,
|
|
1526
1525
|
siderCollapsed: x,
|
|
1527
1526
|
rootClassName: B,
|
|
1528
1527
|
mode: y,
|
|
1529
|
-
selectable:
|
|
1528
|
+
selectable: h,
|
|
1530
1529
|
onClick: O,
|
|
1531
1530
|
overflowedIndicatorPopupClassName: N
|
|
1532
1531
|
} = t, A = Yt(t, ["prefixCls", "className", "style", "theme", "expandIcon", "_internalDisableMenuItemTitleTooltip", "inlineCollapsed", "siderCollapsed", "rootClassName", "mode", "selectable", "onClick", "overflowedIndicatorPopupClassName"]), T = Z(A, ["collapsedWidth"]);
|
|
1533
1532
|
if (process.env.NODE_ENV !== "production") {
|
|
1534
|
-
const z =
|
|
1533
|
+
const z = je("Menu");
|
|
1535
1534
|
process.env.NODE_ENV !== "production" && z(!("inlineCollapsed" in t && y !== "inline"), "usage", "`inlineCollapsed` should only be used when `mode` is inline."), z.deprecated("items" in t && !t.children, "children", "items");
|
|
1536
1535
|
}
|
|
1537
|
-
(e =
|
|
1536
|
+
(e = n.validator) === null || e === void 0 || e.call(n, {
|
|
1538
1537
|
mode: y
|
|
1539
1538
|
});
|
|
1540
|
-
const I =
|
|
1539
|
+
const I = Pe(function() {
|
|
1541
1540
|
var z;
|
|
1542
|
-
O == null || O.apply(void 0, arguments), (z =
|
|
1543
|
-
}), S =
|
|
1541
|
+
O == null || O.apply(void 0, arguments), (z = n.onClick) === null || z === void 0 || z.call(n);
|
|
1542
|
+
}), S = n.mode || y, H = h ?? n.selectable, M = v ?? x, L = {
|
|
1544
1543
|
horizontal: {
|
|
1545
1544
|
motionName: `${m}-slide-up`
|
|
1546
1545
|
},
|
|
1547
|
-
inline:
|
|
1546
|
+
inline: $t(m),
|
|
1548
1547
|
other: {
|
|
1549
1548
|
motionName: `${m}-zoom-big`
|
|
1550
1549
|
}
|
|
1551
|
-
}, C = a("menu",
|
|
1550
|
+
}, C = a("menu", $ || n.prefixCls), j = Re(C), [W, _, R] = Gt(C, j, !r), k = P(`${C}-${b}`, s == null ? void 0 : s.className, f), V = l.useMemo(() => {
|
|
1552
1551
|
var z, X;
|
|
1553
|
-
if (typeof c == "function" ||
|
|
1552
|
+
if (typeof c == "function" || me(c))
|
|
1554
1553
|
return c || null;
|
|
1555
|
-
if (typeof
|
|
1556
|
-
return
|
|
1557
|
-
if (typeof (s == null ? void 0 : s.expandIcon) == "function" ||
|
|
1554
|
+
if (typeof n.expandIcon == "function" || me(n.expandIcon))
|
|
1555
|
+
return n.expandIcon || null;
|
|
1556
|
+
if (typeof (s == null ? void 0 : s.expandIcon) == "function" || me(s == null ? void 0 : s.expandIcon))
|
|
1558
1557
|
return (s == null ? void 0 : s.expandIcon) || null;
|
|
1559
|
-
const q = (z = c ?? (
|
|
1560
|
-
return
|
|
1558
|
+
const q = (z = c ?? (n == null ? void 0 : n.expandIcon)) !== null && z !== void 0 ? z : s == null ? void 0 : s.expandIcon;
|
|
1559
|
+
return le(q, {
|
|
1561
1560
|
className: P(`${C}-submenu-expand-icon`, /* @__PURE__ */ l.isValidElement(q) ? (X = q.props) === null || X === void 0 ? void 0 : X.className : void 0)
|
|
1562
1561
|
});
|
|
1563
|
-
}, [c,
|
|
1562
|
+
}, [c, n == null ? void 0 : n.expandIcon, s == null ? void 0 : s.expandIcon, C]), K = l.useMemo(() => ({
|
|
1564
1563
|
prefixCls: C,
|
|
1565
|
-
inlineCollapsed:
|
|
1564
|
+
inlineCollapsed: M || !1,
|
|
1566
1565
|
direction: d,
|
|
1567
1566
|
firstLevel: !0,
|
|
1568
|
-
theme:
|
|
1567
|
+
theme: b,
|
|
1569
1568
|
mode: S,
|
|
1570
1569
|
disableMenuItemTitleTooltip: g
|
|
1571
|
-
}), [C,
|
|
1570
|
+
}), [C, M, d, g, b]);
|
|
1572
1571
|
return W(/* @__PURE__ */ l.createElement(ne.Provider, {
|
|
1573
1572
|
value: null
|
|
1574
|
-
}, /* @__PURE__ */ l.createElement(
|
|
1573
|
+
}, /* @__PURE__ */ l.createElement(oe.Provider, {
|
|
1575
1574
|
value: K
|
|
1576
1575
|
}, /* @__PURE__ */ l.createElement(Ke, Object.assign({
|
|
1577
1576
|
getPopupContainer: i,
|
|
1578
1577
|
overflowedIndicator: /* @__PURE__ */ l.createElement(Je, null),
|
|
1579
|
-
overflowedIndicatorPopupClassName: P(C, `${C}-${
|
|
1578
|
+
overflowedIndicatorPopupClassName: P(C, `${C}-${b}`, N),
|
|
1580
1579
|
mode: S,
|
|
1581
1580
|
selectable: H,
|
|
1582
1581
|
onClick: I
|
|
1583
1582
|
}, T, {
|
|
1584
|
-
inlineCollapsed:
|
|
1583
|
+
inlineCollapsed: M,
|
|
1585
1584
|
style: Object.assign(Object.assign({}, s == null ? void 0 : s.style), u),
|
|
1586
1585
|
className: k,
|
|
1587
1586
|
prefixCls: C,
|
|
1588
1587
|
direction: d,
|
|
1589
1588
|
defaultMotions: L,
|
|
1590
1589
|
expandIcon: V,
|
|
1591
|
-
ref:
|
|
1592
|
-
rootClassName: P(B, _,
|
|
1590
|
+
ref: o,
|
|
1591
|
+
rootClassName: P(B, _, n.rootClassName, R, j),
|
|
1593
1592
|
_internalComponents: Ut
|
|
1594
1593
|
})))));
|
|
1595
|
-
}), U = /* @__PURE__ */ Te((t,
|
|
1596
|
-
const e = Ne(null), r = l.useContext(
|
|
1597
|
-
return Fe(
|
|
1594
|
+
}), U = /* @__PURE__ */ Te((t, o) => {
|
|
1595
|
+
const e = Ne(null), r = l.useContext(be);
|
|
1596
|
+
return Fe(o, () => ({
|
|
1598
1597
|
menu: e.current,
|
|
1599
|
-
focus: (
|
|
1598
|
+
focus: (n) => {
|
|
1600
1599
|
var a;
|
|
1601
|
-
(a = e.current) === null || a === void 0 || a.focus(
|
|
1600
|
+
(a = e.current) === null || a === void 0 || a.focus(n);
|
|
1602
1601
|
}
|
|
1603
1602
|
})), /* @__PURE__ */ l.createElement(Zt, Object.assign({
|
|
1604
1603
|
ref: e
|
|
@@ -1611,18 +1610,18 @@ U.ItemGroup = Qe;
|
|
|
1611
1610
|
process.env.NODE_ENV !== "production" && (U.displayName = "Menu");
|
|
1612
1611
|
const Kt = (t) => {
|
|
1613
1612
|
const {
|
|
1614
|
-
componentCls:
|
|
1613
|
+
componentCls: o,
|
|
1615
1614
|
menuCls: e,
|
|
1616
1615
|
colorError: r,
|
|
1617
|
-
colorTextLightSolid:
|
|
1616
|
+
colorTextLightSolid: n
|
|
1618
1617
|
} = t, a = `${e}-item`;
|
|
1619
1618
|
return {
|
|
1620
|
-
[`${
|
|
1619
|
+
[`${o}, ${o}-menu-submenu`]: {
|
|
1621
1620
|
[`${e} ${a}`]: {
|
|
1622
1621
|
[`&${a}-danger:not(${a}-disabled)`]: {
|
|
1623
1622
|
color: r,
|
|
1624
1623
|
"&:hover": {
|
|
1625
|
-
color:
|
|
1624
|
+
color: n,
|
|
1626
1625
|
backgroundColor: r
|
|
1627
1626
|
}
|
|
1628
1627
|
}
|
|
@@ -1631,25 +1630,25 @@ const Kt = (t) => {
|
|
|
1631
1630
|
};
|
|
1632
1631
|
}, Jt = (t) => {
|
|
1633
1632
|
const {
|
|
1634
|
-
componentCls:
|
|
1633
|
+
componentCls: o,
|
|
1635
1634
|
menuCls: e,
|
|
1636
1635
|
zIndexPopup: r,
|
|
1637
|
-
dropdownArrowDistance:
|
|
1636
|
+
dropdownArrowDistance: n,
|
|
1638
1637
|
sizePopupArrow: a,
|
|
1639
1638
|
antCls: i,
|
|
1640
1639
|
iconCls: d,
|
|
1641
1640
|
motionDurationMid: s,
|
|
1642
1641
|
paddingBlock: m,
|
|
1643
|
-
fontSize:
|
|
1644
|
-
dropdownEdgeChildPadding:
|
|
1642
|
+
fontSize: $,
|
|
1643
|
+
dropdownEdgeChildPadding: f,
|
|
1645
1644
|
colorTextDisabled: u,
|
|
1646
|
-
fontSizeIcon:
|
|
1645
|
+
fontSizeIcon: b,
|
|
1647
1646
|
controlPaddingHorizontal: c,
|
|
1648
1647
|
colorBgElevated: g
|
|
1649
1648
|
} = t;
|
|
1650
1649
|
return [
|
|
1651
1650
|
{
|
|
1652
|
-
[
|
|
1651
|
+
[o]: {
|
|
1653
1652
|
position: "absolute",
|
|
1654
1653
|
top: -9999,
|
|
1655
1654
|
left: {
|
|
@@ -1661,7 +1660,7 @@ const Kt = (t) => {
|
|
|
1661
1660
|
// A placeholder out of dropdown visible range to avoid close when user moving
|
|
1662
1661
|
"&::before": {
|
|
1663
1662
|
position: "absolute",
|
|
1664
|
-
insetBlock: t.calc(a).div(2).sub(
|
|
1663
|
+
insetBlock: t.calc(a).div(2).sub(n).equal(),
|
|
1665
1664
|
// insetInlineStart: -7, // FIXME: Seems not work for hidden element
|
|
1666
1665
|
zIndex: -9999,
|
|
1667
1666
|
opacity: 1e-4,
|
|
@@ -1674,19 +1673,19 @@ const Kt = (t) => {
|
|
|
1674
1673
|
},
|
|
1675
1674
|
[`&-trigger${i}-btn`]: {
|
|
1676
1675
|
[`& > ${d}-down, & > ${i}-btn-icon > ${d}-down`]: {
|
|
1677
|
-
fontSize:
|
|
1676
|
+
fontSize: b
|
|
1678
1677
|
}
|
|
1679
1678
|
},
|
|
1680
|
-
[`${
|
|
1679
|
+
[`${o}-wrap`]: {
|
|
1681
1680
|
position: "relative",
|
|
1682
1681
|
[`${i}-btn > ${d}-down`]: {
|
|
1683
|
-
fontSize:
|
|
1682
|
+
fontSize: b
|
|
1684
1683
|
},
|
|
1685
1684
|
[`${d}-down::before`]: {
|
|
1686
1685
|
transition: `transform ${s}`
|
|
1687
1686
|
}
|
|
1688
1687
|
},
|
|
1689
|
-
[`${
|
|
1688
|
+
[`${o}-wrap-open`]: {
|
|
1690
1689
|
[`${d}-down::before`]: {
|
|
1691
1690
|
transform: "rotate(180deg)"
|
|
1692
1691
|
}
|
|
@@ -1699,31 +1698,31 @@ const Kt = (t) => {
|
|
|
1699
1698
|
// =============================================================
|
|
1700
1699
|
// When position is not enough for dropdown, the placement will revert.
|
|
1701
1700
|
// We will handle this with revert motion name.
|
|
1702
|
-
[`&${i}-slide-down-enter${i}-slide-down-enter-active${
|
|
1703
|
-
&${i}-slide-down-appear${i}-slide-down-appear-active${
|
|
1704
|
-
&${i}-slide-down-enter${i}-slide-down-enter-active${
|
|
1705
|
-
&${i}-slide-down-appear${i}-slide-down-appear-active${
|
|
1706
|
-
&${i}-slide-down-enter${i}-slide-down-enter-active${
|
|
1707
|
-
&${i}-slide-down-appear${i}-slide-down-appear-active${
|
|
1708
|
-
animationName:
|
|
1709
|
-
},
|
|
1710
|
-
[`&${i}-slide-up-enter${i}-slide-up-enter-active${n}-placement-topLeft,
|
|
1711
|
-
&${i}-slide-up-appear${i}-slide-up-appear-active${n}-placement-topLeft,
|
|
1712
|
-
&${i}-slide-up-enter${i}-slide-up-enter-active${n}-placement-top,
|
|
1713
|
-
&${i}-slide-up-appear${i}-slide-up-appear-active${n}-placement-top,
|
|
1714
|
-
&${i}-slide-up-enter${i}-slide-up-enter-active${n}-placement-topRight,
|
|
1715
|
-
&${i}-slide-up-appear${i}-slide-up-appear-active${n}-placement-topRight`]: {
|
|
1716
|
-
animationName: Ct
|
|
1701
|
+
[`&${i}-slide-down-enter${i}-slide-down-enter-active${o}-placement-bottomLeft,
|
|
1702
|
+
&${i}-slide-down-appear${i}-slide-down-appear-active${o}-placement-bottomLeft,
|
|
1703
|
+
&${i}-slide-down-enter${i}-slide-down-enter-active${o}-placement-bottom,
|
|
1704
|
+
&${i}-slide-down-appear${i}-slide-down-appear-active${o}-placement-bottom,
|
|
1705
|
+
&${i}-slide-down-enter${i}-slide-down-enter-active${o}-placement-bottomRight,
|
|
1706
|
+
&${i}-slide-down-appear${i}-slide-down-appear-active${o}-placement-bottomRight`]: {
|
|
1707
|
+
animationName: St
|
|
1717
1708
|
},
|
|
1718
|
-
[`&${i}-slide-
|
|
1719
|
-
&${i}-slide-
|
|
1720
|
-
&${i}-slide-
|
|
1709
|
+
[`&${i}-slide-up-enter${i}-slide-up-enter-active${o}-placement-topLeft,
|
|
1710
|
+
&${i}-slide-up-appear${i}-slide-up-appear-active${o}-placement-topLeft,
|
|
1711
|
+
&${i}-slide-up-enter${i}-slide-up-enter-active${o}-placement-top,
|
|
1712
|
+
&${i}-slide-up-appear${i}-slide-up-appear-active${o}-placement-top,
|
|
1713
|
+
&${i}-slide-up-enter${i}-slide-up-enter-active${o}-placement-topRight,
|
|
1714
|
+
&${i}-slide-up-appear${i}-slide-up-appear-active${o}-placement-topRight`]: {
|
|
1721
1715
|
animationName: It
|
|
1722
1716
|
},
|
|
1723
|
-
[`&${i}-slide-
|
|
1724
|
-
&${i}-slide-
|
|
1725
|
-
&${i}-slide-
|
|
1726
|
-
animationName:
|
|
1717
|
+
[`&${i}-slide-down-leave${i}-slide-down-leave-active${o}-placement-bottomLeft,
|
|
1718
|
+
&${i}-slide-down-leave${i}-slide-down-leave-active${o}-placement-bottom,
|
|
1719
|
+
&${i}-slide-down-leave${i}-slide-down-leave-active${o}-placement-bottomRight`]: {
|
|
1720
|
+
animationName: Ct
|
|
1721
|
+
},
|
|
1722
|
+
[`&${i}-slide-up-leave${i}-slide-up-leave-active${o}-placement-topLeft,
|
|
1723
|
+
&${i}-slide-up-leave${i}-slide-up-leave-active${o}-placement-top,
|
|
1724
|
+
&${i}-slide-up-leave${i}-slide-up-leave-active${o}-placement-topRight`]: {
|
|
1725
|
+
animationName: ht
|
|
1727
1726
|
}
|
|
1728
1727
|
}
|
|
1729
1728
|
},
|
|
@@ -1740,7 +1739,7 @@ const Kt = (t) => {
|
|
|
1740
1739
|
// =============================================================
|
|
1741
1740
|
// == Menu ==
|
|
1742
1741
|
// =============================================================
|
|
1743
|
-
[`${
|
|
1742
|
+
[`${o} ${e}`]: {
|
|
1744
1743
|
position: "relative",
|
|
1745
1744
|
margin: 0
|
|
1746
1745
|
},
|
|
@@ -1755,9 +1754,9 @@ const Kt = (t) => {
|
|
|
1755
1754
|
margin: 0
|
|
1756
1755
|
}
|
|
1757
1756
|
},
|
|
1758
|
-
[`${
|
|
1757
|
+
[`${o}, ${o}-menu-submenu`]: Object.assign(Object.assign({}, He(t)), {
|
|
1759
1758
|
[e]: Object.assign(Object.assign({
|
|
1760
|
-
padding:
|
|
1759
|
+
padding: f,
|
|
1761
1760
|
listStyleType: "none",
|
|
1762
1761
|
backgroundColor: g,
|
|
1763
1762
|
backgroundClip: "padding-box",
|
|
@@ -1781,7 +1780,7 @@ const Kt = (t) => {
|
|
|
1781
1780
|
alignItems: "center"
|
|
1782
1781
|
},
|
|
1783
1782
|
[`${e}-item-icon`]: {
|
|
1784
|
-
minWidth:
|
|
1783
|
+
minWidth: $,
|
|
1785
1784
|
marginInlineEnd: t.marginXS,
|
|
1786
1785
|
fontSize: t.fontSizeSM
|
|
1787
1786
|
},
|
|
@@ -1818,7 +1817,7 @@ const Kt = (t) => {
|
|
|
1818
1817
|
padding: `${p(m)} ${p(c)}`,
|
|
1819
1818
|
color: t.colorText,
|
|
1820
1819
|
fontWeight: "normal",
|
|
1821
|
-
fontSize:
|
|
1820
|
+
fontSize: $,
|
|
1822
1821
|
lineHeight: t.lineHeight,
|
|
1823
1822
|
cursor: "pointer",
|
|
1824
1823
|
transition: `all ${s}`,
|
|
@@ -1854,13 +1853,13 @@ const Kt = (t) => {
|
|
|
1854
1853
|
lineHeight: 0,
|
|
1855
1854
|
backgroundColor: t.colorSplit
|
|
1856
1855
|
},
|
|
1857
|
-
[`${
|
|
1856
|
+
[`${o}-menu-submenu-expand-icon`]: {
|
|
1858
1857
|
position: "absolute",
|
|
1859
1858
|
insetInlineEnd: t.paddingXS,
|
|
1860
|
-
[`${
|
|
1859
|
+
[`${o}-menu-submenu-arrow-icon`]: {
|
|
1861
1860
|
marginInlineEnd: "0 !important",
|
|
1862
1861
|
color: t.colorTextDescription,
|
|
1863
|
-
fontSize:
|
|
1862
|
+
fontSize: b,
|
|
1864
1863
|
fontStyle: "normal"
|
|
1865
1864
|
}
|
|
1866
1865
|
}
|
|
@@ -1876,15 +1875,15 @@ const Kt = (t) => {
|
|
|
1876
1875
|
[`${e}-submenu-vertical`]: {
|
|
1877
1876
|
position: "relative"
|
|
1878
1877
|
},
|
|
1879
|
-
[`${e}-submenu${e}-submenu-disabled ${
|
|
1880
|
-
[`&, ${
|
|
1878
|
+
[`${e}-submenu${e}-submenu-disabled ${o}-menu-submenu-title`]: {
|
|
1879
|
+
[`&, ${o}-menu-submenu-arrow-icon`]: {
|
|
1881
1880
|
color: u,
|
|
1882
1881
|
backgroundColor: g,
|
|
1883
1882
|
cursor: "not-allowed"
|
|
1884
1883
|
}
|
|
1885
1884
|
},
|
|
1886
1885
|
// https://github.com/ant-design/ant-design/issues/19264
|
|
1887
|
-
[`${e}-submenu-selected ${
|
|
1886
|
+
[`${e}-submenu-selected ${o}-menu-submenu-title`]: {
|
|
1888
1887
|
color: t.colorPrimary
|
|
1889
1888
|
}
|
|
1890
1889
|
})
|
|
@@ -1899,43 +1898,43 @@ const Kt = (t) => {
|
|
|
1899
1898
|
}, mt({
|
|
1900
1899
|
contentRadius: t.borderRadiusLG,
|
|
1901
1900
|
limitVerticalRadius: !0
|
|
1902
|
-
})), xt(t)),
|
|
1901
|
+
})), xt(t)), eo = re("Dropdown", (t) => {
|
|
1903
1902
|
const {
|
|
1904
|
-
marginXXS:
|
|
1903
|
+
marginXXS: o,
|
|
1905
1904
|
sizePopupArrow: e,
|
|
1906
1905
|
paddingXXS: r,
|
|
1907
|
-
componentCls:
|
|
1908
|
-
} = t, a =
|
|
1909
|
-
menuCls: `${
|
|
1910
|
-
dropdownArrowDistance: t.calc(e).div(2).add(
|
|
1906
|
+
componentCls: n
|
|
1907
|
+
} = t, a = ge(t, {
|
|
1908
|
+
menuCls: `${n}-menu`,
|
|
1909
|
+
dropdownArrowDistance: t.calc(e).div(2).add(o).equal(),
|
|
1911
1910
|
dropdownEdgeChildPadding: r
|
|
1912
1911
|
});
|
|
1913
1912
|
return [Jt(a), Kt(a)];
|
|
1914
1913
|
}, Qt, {
|
|
1915
1914
|
resetStyle: !1
|
|
1916
|
-
}),
|
|
1917
|
-
var
|
|
1915
|
+
}), fe = (t) => {
|
|
1916
|
+
var o;
|
|
1918
1917
|
const {
|
|
1919
1918
|
menu: e,
|
|
1920
1919
|
arrow: r,
|
|
1921
|
-
prefixCls:
|
|
1920
|
+
prefixCls: n,
|
|
1922
1921
|
children: a,
|
|
1923
1922
|
trigger: i,
|
|
1924
1923
|
disabled: d,
|
|
1925
1924
|
dropdownRender: s,
|
|
1926
1925
|
getPopupContainer: m,
|
|
1927
|
-
overlayClassName:
|
|
1928
|
-
rootClassName:
|
|
1926
|
+
overlayClassName: $,
|
|
1927
|
+
rootClassName: f,
|
|
1929
1928
|
overlayStyle: u,
|
|
1930
|
-
open:
|
|
1929
|
+
open: b,
|
|
1931
1930
|
onOpenChange: c,
|
|
1932
1931
|
// Deprecated
|
|
1933
1932
|
visible: g,
|
|
1934
|
-
onVisibleChange:
|
|
1933
|
+
onVisibleChange: v,
|
|
1935
1934
|
mouseEnterDelay: x = 0.15,
|
|
1936
1935
|
mouseLeaveDelay: B = 0.1,
|
|
1937
1936
|
autoAdjustOverflow: y = !0,
|
|
1938
|
-
placement:
|
|
1937
|
+
placement: h = "",
|
|
1939
1938
|
overlay: O,
|
|
1940
1939
|
transitionName: N
|
|
1941
1940
|
} = t, {
|
|
@@ -1943,37 +1942,37 @@ const Kt = (t) => {
|
|
|
1943
1942
|
getPrefixCls: T,
|
|
1944
1943
|
direction: I,
|
|
1945
1944
|
dropdown: S
|
|
1946
|
-
} = l.useContext(
|
|
1945
|
+
} = l.useContext(ie), H = je("Dropdown");
|
|
1947
1946
|
process.env.NODE_ENV !== "production" && ([["visible", "open"], ["onVisibleChange", "onOpenChange"]].forEach((w) => {
|
|
1948
1947
|
let [G, Y] = w;
|
|
1949
1948
|
H.deprecated(!(G in t), G, Y);
|
|
1950
1949
|
}), H.deprecated(!("overlay" in t), "overlay", "menu"));
|
|
1951
|
-
const
|
|
1950
|
+
const M = l.useMemo(() => {
|
|
1952
1951
|
const w = T();
|
|
1953
|
-
return N !== void 0 ? N :
|
|
1954
|
-
}, [T,
|
|
1952
|
+
return N !== void 0 ? N : h.includes("top") ? `${w}-slide-down` : `${w}-slide-up`;
|
|
1953
|
+
}, [T, h, N]), L = l.useMemo(() => h ? h.includes("Center") ? h.slice(0, h.indexOf("Center")) : h : I === "rtl" ? "bottomRight" : "bottomLeft", [h, I]);
|
|
1955
1954
|
if (process.env.NODE_ENV !== "production") {
|
|
1956
|
-
if (
|
|
1957
|
-
const w =
|
|
1958
|
-
process.env.NODE_ENV !== "production" && H(!
|
|
1955
|
+
if (h.includes("Center")) {
|
|
1956
|
+
const w = h.slice(0, h.indexOf("Center"));
|
|
1957
|
+
process.env.NODE_ENV !== "production" && H(!h.includes("Center"), "deprecated", `You are using '${h}' placement in Dropdown, which is deprecated. Try to use '${w}' instead.`);
|
|
1959
1958
|
}
|
|
1960
1959
|
[["visible", "open"], ["onVisibleChange", "onOpenChange"]].forEach((w) => {
|
|
1961
1960
|
let [G, Y] = w;
|
|
1962
1961
|
H.deprecated(!(G in t), G, Y);
|
|
1963
1962
|
});
|
|
1964
1963
|
}
|
|
1965
|
-
const C = T("dropdown",
|
|
1964
|
+
const C = T("dropdown", n), j = Re(C), [W, _, R] = eo(C, j), [, k] = at(), V = l.Children.only(Et(a) ? /* @__PURE__ */ l.createElement("span", null, a) : a), K = le(V, {
|
|
1966
1965
|
className: P(`${C}-trigger`, {
|
|
1967
1966
|
[`${C}-rtl`]: I === "rtl"
|
|
1968
1967
|
}, V.props.className),
|
|
1969
|
-
disabled: (
|
|
1968
|
+
disabled: (o = V.props.disabled) !== null && o !== void 0 ? o : d
|
|
1970
1969
|
}), z = d ? [] : i, X = !!(z != null && z.includes("contextMenu")), [q, J] = st(!1, {
|
|
1971
|
-
value:
|
|
1972
|
-
}),
|
|
1970
|
+
value: b ?? g
|
|
1971
|
+
}), ae = Pe((w) => {
|
|
1973
1972
|
c == null || c(w, {
|
|
1974
1973
|
source: "trigger"
|
|
1975
|
-
}),
|
|
1976
|
-
}),
|
|
1974
|
+
}), v == null || v(w), J(w);
|
|
1975
|
+
}), se = P($, f, _, R, j, S == null ? void 0 : S.className, {
|
|
1977
1976
|
[`${C}-rtl`]: I === "rtl"
|
|
1978
1977
|
}), E = gt({
|
|
1979
1978
|
arrowPointAtCenter: typeof r == "object" && r.pointAtCenter,
|
|
@@ -1989,10 +1988,12 @@ const Kt = (t) => {
|
|
|
1989
1988
|
let w;
|
|
1990
1989
|
return e != null && e.items ? w = /* @__PURE__ */ l.createElement(U, Object.assign({}, e)) : typeof O == "function" ? w = O() : w = O, s && (w = s(w)), w = l.Children.only(typeof w == "string" ? /* @__PURE__ */ l.createElement("span", null, w) : w), /* @__PURE__ */ l.createElement(kt, {
|
|
1991
1990
|
prefixCls: `${C}-menu`,
|
|
1992
|
-
rootClassName: P(R,
|
|
1991
|
+
rootClassName: P(R, j),
|
|
1993
1992
|
expandIcon: /* @__PURE__ */ l.createElement("span", {
|
|
1994
1993
|
className: `${C}-menu-submenu-arrow`
|
|
1995
|
-
}, /* @__PURE__ */ l.createElement(
|
|
1994
|
+
}, I === "rtl" ? /* @__PURE__ */ l.createElement(te, {
|
|
1995
|
+
className: `${C}-menu-submenu-arrow-icon`
|
|
1996
|
+
}) : /* @__PURE__ */ l.createElement(ee, {
|
|
1996
1997
|
className: `${C}-menu-submenu-arrow-icon`
|
|
1997
1998
|
})),
|
|
1998
1999
|
mode: "vertical",
|
|
@@ -2005,8 +2006,8 @@ const Kt = (t) => {
|
|
|
2005
2006
|
process.env.NODE_ENV !== "production" && H(!Y || Y === "vertical", "usage", `mode="${Y}" is not supported for Dropdown's Menu.`);
|
|
2006
2007
|
}
|
|
2007
2008
|
}, w);
|
|
2008
|
-
}, [
|
|
2009
|
-
let
|
|
2009
|
+
}, [de, Xe] = De("Dropdown", u == null ? void 0 : u.zIndex);
|
|
2010
|
+
let ce = /* @__PURE__ */ l.createElement(et, Object.assign({
|
|
2010
2011
|
alignPoint: X
|
|
2011
2012
|
}, Z(t, ["rootClassName"]), {
|
|
2012
2013
|
mouseEnterDelay: x,
|
|
@@ -2014,32 +2015,32 @@ const Kt = (t) => {
|
|
|
2014
2015
|
visible: q,
|
|
2015
2016
|
builtinPlacements: E,
|
|
2016
2017
|
arrow: !!r,
|
|
2017
|
-
overlayClassName:
|
|
2018
|
+
overlayClassName: se,
|
|
2018
2019
|
prefixCls: C,
|
|
2019
2020
|
getPopupContainer: m || A,
|
|
2020
|
-
transitionName:
|
|
2021
|
+
transitionName: M,
|
|
2021
2022
|
trigger: z,
|
|
2022
2023
|
overlay: F,
|
|
2023
2024
|
placement: L,
|
|
2024
|
-
onVisibleChange:
|
|
2025
|
+
onVisibleChange: ae,
|
|
2025
2026
|
overlayStyle: Object.assign(Object.assign(Object.assign({}, S == null ? void 0 : S.style), u), {
|
|
2026
|
-
zIndex:
|
|
2027
|
+
zIndex: de
|
|
2027
2028
|
})
|
|
2028
2029
|
}), K);
|
|
2029
|
-
return
|
|
2030
|
+
return de && (ce = /* @__PURE__ */ l.createElement(dt.Provider, {
|
|
2030
2031
|
value: Xe
|
|
2031
|
-
},
|
|
2032
|
-
},
|
|
2033
|
-
|
|
2034
|
-
process.env.NODE_ENV !== "production" && (
|
|
2032
|
+
}, ce)), W(ce);
|
|
2033
|
+
}, to = pt(fe, "align", void 0, "dropdown", (t) => t), oo = (t) => /* @__PURE__ */ l.createElement(to, Object.assign({}, t), /* @__PURE__ */ l.createElement("span", null));
|
|
2034
|
+
fe._InternalPanelDoNotUseOrYouWillBeFired = oo;
|
|
2035
|
+
process.env.NODE_ENV !== "production" && (fe.displayName = "Dropdown");
|
|
2035
2036
|
export {
|
|
2036
|
-
|
|
2037
|
+
fe as D,
|
|
2037
2038
|
Tt as L,
|
|
2038
2039
|
U as M,
|
|
2039
2040
|
kt as O,
|
|
2040
|
-
|
|
2041
|
+
te as R,
|
|
2041
2042
|
At as S,
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2043
|
+
be as a,
|
|
2044
|
+
ee as b,
|
|
2045
|
+
xo as u
|
|
2045
2046
|
};
|