@swiftcrab/crab 0.0.2
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 +143 -0
- package/es/_util/ActionButton.d.ts +19 -0
- package/es/_util/ActionButton.js +48 -0
- package/es/_util/ContextIsolator.d.ts +3 -0
- package/es/_util/ContextIsolator.js +40 -0
- package/es/_util/PurePanel.d.ts +9 -0
- package/es/_util/PurePanel.js +40 -0
- package/es/_util/aria-data-attrs.d.ts +4 -0
- package/es/_util/aria-data-attrs.js +0 -0
- package/es/_util/capitalize.d.ts +1 -0
- package/es/_util/capitalize.js +1 -0
- package/es/_util/colors.d.ts +13 -0
- package/es/_util/colors.js +1 -0
- package/es/_util/easings.d.ts +1 -0
- package/es/_util/easings.js +1 -0
- package/es/_util/extendsObject.d.ts +3 -0
- package/es/_util/extendsObject.js +1 -0
- package/es/_util/gapSize.d.ts +3 -0
- package/es/_util/gapSize.js +1 -0
- package/es/_util/getAllowClear.d.ts +4 -0
- package/es/_util/getAllowClear.js +1 -0
- package/es/_util/getRenderPropValue.d.ts +3 -0
- package/es/_util/getRenderPropValue.js +1 -0
- package/es/_util/getScroll.d.ts +3 -0
- package/es/_util/getScroll.js +1 -0
- package/es/_util/hooks/useClosable.d.ts +31 -0
- package/es/_util/hooks/useClosable.js +1 -0
- package/es/_util/hooks/useForceUpdate.d.ts +2 -0
- package/es/_util/hooks/useForceUpdate.js +1 -0
- package/es/_util/hooks/useMultipleSelect.d.ts +6 -0
- package/es/_util/hooks/useMultipleSelect.js +1 -0
- package/es/_util/hooks/usePatchElement.d.ts +5 -0
- package/es/_util/hooks/usePatchElement.js +1 -0
- package/es/_util/hooks/useProxyImperativeHandle.d.ts +4 -0
- package/es/_util/hooks/useProxyImperativeHandle.js +1 -0
- package/es/_util/hooks/useSyncState.d.ts +3 -0
- package/es/_util/hooks/useSyncState.js +1 -0
- package/es/_util/hooks/useUniqueMemo.d.ts +6 -0
- package/es/_util/hooks/useUniqueMemo.js +1 -0
- package/es/_util/hooks/useZIndex.d.ts +8 -0
- package/es/_util/hooks/useZIndex.js +35 -0
- package/es/_util/isNumeric.d.ts +2 -0
- package/es/_util/isNumeric.js +1 -0
- package/es/_util/isPrimitive.d.ts +2 -0
- package/es/_util/isPrimitive.js +1 -0
- package/es/_util/motion.d.ts +7 -0
- package/es/_util/motion.js +40 -0
- package/es/_util/placements.d.ts +21 -0
- package/es/_util/placements.js +1 -0
- package/es/_util/reactNode.d.ts +7 -0
- package/es/_util/reactNode.js +1 -0
- package/es/_util/responsiveObserver.d.ts +22 -0
- package/es/_util/responsiveObserver.js +35 -0
- package/es/_util/scrollTo.d.ts +10 -0
- package/es/_util/scrollTo.js +1 -0
- package/es/_util/statusUtils.d.ts +6 -0
- package/es/_util/statusUtils.js +1 -0
- package/es/_util/styleChecker.d.ts +3 -0
- package/es/_util/styleChecker.js +1 -0
- package/es/_util/throttleByAnimationFrame.d.ts +5 -0
- package/es/_util/throttleByAnimationFrame.js +1 -0
- package/es/_util/toList.d.ts +1 -0
- package/es/_util/toList.js +1 -0
- package/es/_util/transKeys.d.ts +3 -0
- package/es/_util/transKeys.js +1 -0
- package/es/_util/type.d.ts +54 -0
- package/es/_util/type.js +0 -0
- package/es/_util/warning.d.ts +31 -0
- package/es/_util/warning.js +1 -0
- package/es/_util/wave/WaveEffect.d.ts +10 -0
- package/es/_util/wave/WaveEffect.js +40 -0
- package/es/_util/wave/index.d.ts +9 -0
- package/es/_util/wave/index.js +41 -0
- package/es/_util/wave/interface.d.ts +11 -0
- package/es/_util/wave/interface.js +40 -0
- package/es/_util/wave/style.d.ts +7 -0
- package/es/_util/wave/style.js +35 -0
- package/es/_util/wave/useWave.d.ts +4 -0
- package/es/_util/wave/useWave.js +41 -0
- package/es/_util/wave/util.d.ts +2 -0
- package/es/_util/wave/util.js +1 -0
- package/es/_util/zindexContext.d.ts +3 -0
- package/es/_util/zindexContext.js +1 -0
- package/es/affix/index.d.ts +22 -0
- package/es/affix/index.js +40 -0
- package/es/affix/style/index.d.ts +11 -0
- package/es/affix/style/index.js +35 -0
- package/es/affix/utils.d.ts +4 -0
- package/es/affix/utils.js +1 -0
- package/es/alert/Alert.d.ts +42 -0
- package/es/alert/Alert.js +42 -0
- package/es/alert/ErrorBoundary.d.ts +24 -0
- package/es/alert/ErrorBoundary.js +42 -0
- package/es/alert/index.d.ts +8 -0
- package/es/alert/index.js +42 -0
- package/es/alert/style/index.d.ts +26 -0
- package/es/alert/style/index.js +37 -0
- package/es/anchor/Anchor.d.ts +59 -0
- package/es/anchor/Anchor.js +40 -0
- package/es/anchor/AnchorLink.d.ts +14 -0
- package/es/anchor/AnchorLink.js +40 -0
- package/es/anchor/context.d.ts +4 -0
- package/es/anchor/context.js +1 -0
- package/es/anchor/index.d.ts +10 -0
- package/es/anchor/index.js +40 -0
- package/es/anchor/style/index.d.ts +16 -0
- package/es/anchor/style/index.js +35 -0
- package/es/app/context.d.ts +16 -0
- package/es/app/context.js +1 -0
- package/es/app/index.d.ts +16 -0
- package/es/app/index.js +77 -0
- package/es/app/style/index.d.ts +6 -0
- package/es/app/style/index.js +35 -0
- package/es/auto-complete/index.d.ts +28 -0
- package/es/auto-complete/index.js +78 -0
- package/es/avatar/AvatarContext.d.ts +9 -0
- package/es/avatar/AvatarContext.js +1 -0
- package/es/avatar/avatar.d.ts +26 -0
- package/es/avatar/avatar.js +41 -0
- package/es/avatar/group.d.ts +27 -0
- package/es/avatar/group.js +50 -0
- package/es/avatar/index.d.ts +10 -0
- package/es/avatar/index.js +49 -0
- package/es/avatar/style/index.d.ts +51 -0
- package/es/avatar/style/index.js +35 -0
- package/es/badge/Ribbon.d.ts +16 -0
- package/es/badge/Ribbon.js +40 -0
- package/es/badge/ScrollNumber.d.ts +18 -0
- package/es/badge/ScrollNumber.js +40 -0
- package/es/badge/SingleNumber.d.ts +14 -0
- package/es/badge/SingleNumber.js +1 -0
- package/es/badge/index.d.ts +41 -0
- package/es/badge/index.js +40 -0
- package/es/badge/style/index.d.ts +104 -0
- package/es/badge/style/index.js +35 -0
- package/es/badge/style/ribbon.d.ts +2 -0
- package/es/badge/style/ribbon.js +35 -0
- package/es/breadcrumb/Breadcrumb.d.ts +58 -0
- package/es/breadcrumb/Breadcrumb.js +87 -0
- package/es/breadcrumb/BreadcrumbItem.d.ts +31 -0
- package/es/breadcrumb/BreadcrumbItem.js +83 -0
- package/es/breadcrumb/BreadcrumbSeparator.d.ts +4 -0
- package/es/breadcrumb/BreadcrumbSeparator.js +40 -0
- package/es/breadcrumb/index.d.ts +4 -0
- package/es/breadcrumb/index.js +87 -0
- package/es/breadcrumb/style/index.d.ts +41 -0
- package/es/breadcrumb/style/index.js +38 -0
- package/es/breadcrumb/useItemRender.d.ts +8 -0
- package/es/breadcrumb/useItemRender.js +1 -0
- package/es/breadcrumb/useItems.d.ts +6 -0
- package/es/breadcrumb/useItems.js +1 -0
- package/es/button/IconWrapper.d.ts +9 -0
- package/es/button/IconWrapper.js +1 -0
- package/es/button/LoadingIcon.d.ts +11 -0
- package/es/button/LoadingIcon.js +1 -0
- package/es/button/button-group.d.ts +12 -0
- package/es/button/button-group.js +40 -0
- package/es/button/button.d.ts +44 -0
- package/es/button/button.js +48 -0
- package/es/button/buttonHelpers.d.ts +18 -0
- package/es/button/buttonHelpers.js +1 -0
- package/es/button/index.d.ts +6 -0
- package/es/button/index.js +48 -0
- package/es/button/style/compact.d.ts +2 -0
- package/es/button/style/compact.js +47 -0
- package/es/button/style/group.d.ts +4 -0
- package/es/button/style/group.js +1 -0
- package/es/button/style/index.d.ts +4 -0
- package/es/button/style/index.js +47 -0
- package/es/button/style/token.d.ts +233 -0
- package/es/button/style/token.js +47 -0
- package/es/calendar/Header.d.ts +17 -0
- package/es/calendar/Header.js +79 -0
- package/es/calendar/generateCalendar.d.ts +44 -0
- package/es/calendar/generateCalendar.js +118 -0
- package/es/calendar/index.d.ts +10 -0
- package/es/calendar/index.js +118 -0
- package/es/calendar/locale/ar_EG.d.ts +2 -0
- package/es/calendar/locale/ar_EG.js +1 -0
- package/es/calendar/locale/az_AZ.d.ts +2 -0
- package/es/calendar/locale/az_AZ.js +1 -0
- package/es/calendar/locale/bg_BG.d.ts +2 -0
- package/es/calendar/locale/bg_BG.js +1 -0
- package/es/calendar/locale/bn_BD.d.ts +2 -0
- package/es/calendar/locale/bn_BD.js +1 -0
- package/es/calendar/locale/by_BY.d.ts +2 -0
- package/es/calendar/locale/by_BY.js +1 -0
- package/es/calendar/locale/ca_ES.d.ts +2 -0
- package/es/calendar/locale/ca_ES.js +1 -0
- package/es/calendar/locale/cs_CZ.d.ts +2 -0
- package/es/calendar/locale/cs_CZ.js +1 -0
- package/es/calendar/locale/da_DK.d.ts +2 -0
- package/es/calendar/locale/da_DK.js +1 -0
- package/es/calendar/locale/de_DE.d.ts +2 -0
- package/es/calendar/locale/de_DE.js +1 -0
- package/es/calendar/locale/el_GR.d.ts +2 -0
- package/es/calendar/locale/el_GR.js +1 -0
- package/es/calendar/locale/en_GB.d.ts +2 -0
- package/es/calendar/locale/en_GB.js +1 -0
- package/es/calendar/locale/en_US.d.ts +2 -0
- package/es/calendar/locale/en_US.js +1 -0
- package/es/calendar/locale/es_ES.d.ts +2 -0
- package/es/calendar/locale/es_ES.js +1 -0
- package/es/calendar/locale/et_EE.d.ts +2 -0
- package/es/calendar/locale/et_EE.js +1 -0
- package/es/calendar/locale/eu_ES.d.ts +2 -0
- package/es/calendar/locale/eu_ES.js +1 -0
- package/es/calendar/locale/fa_IR.d.ts +2 -0
- package/es/calendar/locale/fa_IR.js +1 -0
- package/es/calendar/locale/fi_FI.d.ts +2 -0
- package/es/calendar/locale/fi_FI.js +1 -0
- package/es/calendar/locale/fr_BE.d.ts +2 -0
- package/es/calendar/locale/fr_BE.js +1 -0
- package/es/calendar/locale/fr_CA.d.ts +2 -0
- package/es/calendar/locale/fr_CA.js +1 -0
- package/es/calendar/locale/fr_FR.d.ts +2 -0
- package/es/calendar/locale/fr_FR.js +1 -0
- package/es/calendar/locale/ga_IE.d.ts +2 -0
- package/es/calendar/locale/ga_IE.js +1 -0
- package/es/calendar/locale/gl_ES.d.ts +2 -0
- package/es/calendar/locale/gl_ES.js +1 -0
- package/es/calendar/locale/he_IL.d.ts +2 -0
- package/es/calendar/locale/he_IL.js +1 -0
- package/es/calendar/locale/hi_IN.d.ts +2 -0
- package/es/calendar/locale/hi_IN.js +1 -0
- package/es/calendar/locale/hr_HR.d.ts +2 -0
- package/es/calendar/locale/hr_HR.js +1 -0
- package/es/calendar/locale/hu_HU.d.ts +2 -0
- package/es/calendar/locale/hu_HU.js +1 -0
- package/es/calendar/locale/id_ID.d.ts +2 -0
- package/es/calendar/locale/id_ID.js +1 -0
- package/es/calendar/locale/is_IS.d.ts +2 -0
- package/es/calendar/locale/is_IS.js +1 -0
- package/es/calendar/locale/it_IT.d.ts +2 -0
- package/es/calendar/locale/it_IT.js +1 -0
- package/es/calendar/locale/ja_JP.d.ts +2 -0
- package/es/calendar/locale/ja_JP.js +1 -0
- package/es/calendar/locale/ka_GE.d.ts +2 -0
- package/es/calendar/locale/ka_GE.js +1 -0
- package/es/calendar/locale/kk_KZ.d.ts +2 -0
- package/es/calendar/locale/kk_KZ.js +1 -0
- package/es/calendar/locale/km_KH.d.ts +2 -0
- package/es/calendar/locale/km_KH.js +1 -0
- package/es/calendar/locale/kmr_IQ.d.ts +2 -0
- package/es/calendar/locale/kmr_IQ.js +1 -0
- package/es/calendar/locale/kn_IN.d.ts +2 -0
- package/es/calendar/locale/kn_IN.js +1 -0
- package/es/calendar/locale/ko_KR.d.ts +2 -0
- package/es/calendar/locale/ko_KR.js +1 -0
- package/es/calendar/locale/lt_LT.d.ts +2 -0
- package/es/calendar/locale/lt_LT.js +1 -0
- package/es/calendar/locale/lv_LV.d.ts +2 -0
- package/es/calendar/locale/lv_LV.js +1 -0
- package/es/calendar/locale/mk_MK.d.ts +2 -0
- package/es/calendar/locale/mk_MK.js +1 -0
- package/es/calendar/locale/ml_IN.d.ts +2 -0
- package/es/calendar/locale/ml_IN.js +1 -0
- package/es/calendar/locale/mn_MN.d.ts +2 -0
- package/es/calendar/locale/mn_MN.js +1 -0
- package/es/calendar/locale/ms_MY.d.ts +2 -0
- package/es/calendar/locale/ms_MY.js +1 -0
- package/es/calendar/locale/my_MM.d.ts +2 -0
- package/es/calendar/locale/my_MM.js +1 -0
- package/es/calendar/locale/nb_NO.d.ts +2 -0
- package/es/calendar/locale/nb_NO.js +1 -0
- package/es/calendar/locale/nl_BE.d.ts +2 -0
- package/es/calendar/locale/nl_BE.js +1 -0
- package/es/calendar/locale/nl_NL.d.ts +2 -0
- package/es/calendar/locale/nl_NL.js +1 -0
- package/es/calendar/locale/pl_PL.d.ts +2 -0
- package/es/calendar/locale/pl_PL.js +1 -0
- package/es/calendar/locale/pt_BR.d.ts +2 -0
- package/es/calendar/locale/pt_BR.js +1 -0
- package/es/calendar/locale/pt_PT.d.ts +2 -0
- package/es/calendar/locale/pt_PT.js +1 -0
- package/es/calendar/locale/ro_RO.d.ts +2 -0
- package/es/calendar/locale/ro_RO.js +1 -0
- package/es/calendar/locale/ru_RU.d.ts +2 -0
- package/es/calendar/locale/ru_RU.js +1 -0
- package/es/calendar/locale/si_LK.d.ts +2 -0
- package/es/calendar/locale/si_LK.js +1 -0
- package/es/calendar/locale/sk_SK.d.ts +2 -0
- package/es/calendar/locale/sk_SK.js +1 -0
- package/es/calendar/locale/sl_SI.d.ts +2 -0
- package/es/calendar/locale/sl_SI.js +1 -0
- package/es/calendar/locale/sr_RS.d.ts +2 -0
- package/es/calendar/locale/sr_RS.js +1 -0
- package/es/calendar/locale/sv_SE.d.ts +2 -0
- package/es/calendar/locale/sv_SE.js +1 -0
- package/es/calendar/locale/ta_IN.d.ts +2 -0
- package/es/calendar/locale/ta_IN.js +1 -0
- package/es/calendar/locale/th_TH.d.ts +2 -0
- package/es/calendar/locale/th_TH.js +1 -0
- package/es/calendar/locale/tk_TK.d.ts +2 -0
- package/es/calendar/locale/tk_TK.js +1 -0
- package/es/calendar/locale/tr_TR.d.ts +2 -0
- package/es/calendar/locale/tr_TR.js +1 -0
- package/es/calendar/locale/uk_UA.d.ts +2 -0
- package/es/calendar/locale/uk_UA.js +1 -0
- package/es/calendar/locale/ur_PK.d.ts +2 -0
- package/es/calendar/locale/ur_PK.js +1 -0
- package/es/calendar/locale/uz_UZ.d.ts +2 -0
- package/es/calendar/locale/uz_UZ.js +1 -0
- package/es/calendar/locale/vi_VN.d.ts +2 -0
- package/es/calendar/locale/vi_VN.js +1 -0
- package/es/calendar/locale/zh_CN.d.ts +2 -0
- package/es/calendar/locale/zh_CN.js +1 -0
- package/es/calendar/locale/zh_TW.d.ts +2 -0
- package/es/calendar/locale/zh_TW.js +1 -0
- package/es/calendar/style/index.d.ts +61 -0
- package/es/calendar/style/index.js +86 -0
- package/es/card/Card.d.ts +56 -0
- package/es/card/Card.js +67 -0
- package/es/card/Grid.d.ts +9 -0
- package/es/card/Grid.js +40 -0
- package/es/card/Meta.d.ts +11 -0
- package/es/card/Meta.js +40 -0
- package/es/card/index.d.ts +13 -0
- package/es/card/index.js +67 -0
- package/es/card/style/index.d.ts +51 -0
- package/es/card/style/index.js +44 -0
- package/es/carousel/index.d.ts +27 -0
- package/es/carousel/index.js +40 -0
- package/es/carousel/style/index.d.ts +43 -0
- package/es/carousel/style/index.js +35 -0
- package/es/cascader/Panel.d.ts +12 -0
- package/es/cascader/Panel.js +49 -0
- package/es/cascader/hooks/useBase.d.ts +8 -0
- package/es/cascader/hooks/useBase.js +40 -0
- package/es/cascader/hooks/useCheckable.d.ts +2 -0
- package/es/cascader/hooks/useCheckable.js +1 -0
- package/es/cascader/hooks/useColumnIcons.d.ts +3 -0
- package/es/cascader/hooks/useColumnIcons.js +1 -0
- package/es/cascader/index.d.ts +55 -0
- package/es/cascader/index.js +87 -0
- package/es/cascader/style/columns.d.ts +4 -0
- package/es/cascader/style/columns.js +44 -0
- package/es/cascader/style/index.d.ts +51 -0
- package/es/cascader/style/index.js +44 -0
- package/es/cascader/style/panel.d.ts +2 -0
- package/es/cascader/style/panel.js +44 -0
- package/es/checkbox/Checkbox.d.ts +43 -0
- package/es/checkbox/Checkbox.js +46 -0
- package/es/checkbox/Group.d.ts +32 -0
- package/es/checkbox/Group.js +46 -0
- package/es/checkbox/GroupContext.d.ts +12 -0
- package/es/checkbox/GroupContext.js +1 -0
- package/es/checkbox/index.d.ts +11 -0
- package/es/checkbox/index.js +46 -0
- package/es/checkbox/style/index.d.ts +23 -0
- package/es/checkbox/style/index.js +41 -0
- package/es/checkbox/useBubbleLock.d.ts +7 -0
- package/es/checkbox/useBubbleLock.js +1 -0
- package/es/col/index.d.ts +4 -0
- package/es/col/index.js +40 -0
- package/es/col/style/index.d.ts +2 -0
- package/es/col/style/index.js +1 -0
- package/es/collapse/Collapse.d.ts +45 -0
- package/es/collapse/Collapse.js +47 -0
- package/es/collapse/CollapsePanel.d.ts +19 -0
- package/es/collapse/CollapsePanel.js +40 -0
- package/es/collapse/index.d.ts +4 -0
- package/es/collapse/index.js +47 -0
- package/es/collapse/style/index.d.ts +46 -0
- package/es/collapse/style/index.js +42 -0
- package/es/color-picker/ColorPicker.d.ts +8 -0
- package/es/color-picker/ColorPicker.js +130 -0
- package/es/color-picker/ColorPickerPanel.d.ts +9 -0
- package/es/color-picker/ColorPickerPanel.js +130 -0
- package/es/color-picker/color.d.ts +34 -0
- package/es/color-picker/color.js +1 -0
- package/es/color-picker/components/ColorAlphaInput.d.ts +9 -0
- package/es/color-picker/components/ColorAlphaInput.js +70 -0
- package/es/color-picker/components/ColorClear.d.ts +9 -0
- package/es/color-picker/components/ColorClear.js +1 -0
- package/es/color-picker/components/ColorHexInput.d.ts +9 -0
- package/es/color-picker/components/ColorHexInput.js +66 -0
- package/es/color-picker/components/ColorHsbInput.d.ts +9 -0
- package/es/color-picker/components/ColorHsbInput.js +70 -0
- package/es/color-picker/components/ColorInput.d.ts +14 -0
- package/es/color-picker/components/ColorInput.js +116 -0
- package/es/color-picker/components/ColorPresets.d.ts +12 -0
- package/es/color-picker/components/ColorPresets.js +47 -0
- package/es/color-picker/components/ColorRgbInput.d.ts +9 -0
- package/es/color-picker/components/ColorRgbInput.js +70 -0
- package/es/color-picker/components/ColorSlider.d.ts +20 -0
- package/es/color-picker/components/ColorSlider.js +61 -0
- package/es/color-picker/components/ColorSteppers.d.ts +15 -0
- package/es/color-picker/components/ColorSteppers.js +70 -0
- package/es/color-picker/components/ColorTrigger.d.ts +20 -0
- package/es/color-picker/components/ColorTrigger.js +1 -0
- package/es/color-picker/components/PanelPicker/GradientColorBar.d.ts +8 -0
- package/es/color-picker/components/PanelPicker/GradientColorBar.js +61 -0
- package/es/color-picker/components/PanelPicker/index.d.ts +3 -0
- package/es/color-picker/components/PanelPicker/index.js +130 -0
- package/es/color-picker/components/PanelPresets.d.ts +3 -0
- package/es/color-picker/components/PanelPresets.js +47 -0
- package/es/color-picker/context.d.ts +38 -0
- package/es/color-picker/context.js +1 -0
- package/es/color-picker/hooks/useModeColor.d.ts +17 -0
- package/es/color-picker/hooks/useModeColor.js +1 -0
- package/es/color-picker/index.d.ts +4 -0
- package/es/color-picker/index.js +130 -0
- package/es/color-picker/interface.d.ts +73 -0
- package/es/color-picker/interface.js +1 -0
- package/es/color-picker/style/color-block.d.ts +8 -0
- package/es/color-picker/style/color-block.js +1 -0
- package/es/color-picker/style/index.d.ts +62 -0
- package/es/color-picker/style/index.js +35 -0
- package/es/color-picker/style/input.d.ts +5 -0
- package/es/color-picker/style/input.js +1 -0
- package/es/color-picker/style/picker.d.ts +5 -0
- package/es/color-picker/style/picker.js +1 -0
- package/es/color-picker/style/presets.d.ts +5 -0
- package/es/color-picker/style/presets.js +1 -0
- package/es/color-picker/style/slider.d.ts +5 -0
- package/es/color-picker/style/slider.js +1 -0
- package/es/color-picker/util.d.ts +15 -0
- package/es/color-picker/util.js +1 -0
- package/es/config-provider/DisabledContext.d.ts +8 -0
- package/es/config-provider/DisabledContext.js +1 -0
- package/es/config-provider/MotionWrapper.d.ts +5 -0
- package/es/config-provider/MotionWrapper.js +35 -0
- package/es/config-provider/PropWarning.d.ts +6 -0
- package/es/config-provider/PropWarning.js +1 -0
- package/es/config-provider/SizeContext.d.ts +9 -0
- package/es/config-provider/SizeContext.js +1 -0
- package/es/config-provider/UnstableContext.d.ts +10 -0
- package/es/config-provider/UnstableContext.js +2 -0
- package/es/config-provider/context.d.ts +248 -0
- package/es/config-provider/context.js +1 -0
- package/es/config-provider/cssVariables.d.ts +3 -0
- package/es/config-provider/cssVariables.js +6 -0
- package/es/config-provider/defaultRenderEmpty.d.ts +8 -0
- package/es/config-provider/defaultRenderEmpty.js +41 -0
- package/es/config-provider/hooks/useCSSVarCls.d.ts +7 -0
- package/es/config-provider/hooks/useCSSVarCls.js +35 -0
- package/es/config-provider/hooks/useConfig.d.ts +5 -0
- package/es/config-provider/hooks/useConfig.js +1 -0
- package/es/config-provider/hooks/useSize.d.ts +3 -0
- package/es/config-provider/hooks/useSize.js +1 -0
- package/es/config-provider/hooks/useTheme.d.ts +4 -0
- package/es/config-provider/hooks/useTheme.js +35 -0
- package/es/config-provider/hooks/useThemeKey.d.ts +3 -0
- package/es/config-provider/hooks/useThemeKey.js +1 -0
- package/es/config-provider/index.d.ts +139 -0
- package/es/config-provider/index.js +40 -0
- package/es/config-provider/style/index.d.ts +1 -0
- package/es/config-provider/style/index.js +35 -0
- package/es/copy/index.d.ts +13 -0
- package/es/copy/index.js +1 -0
- package/es/date-picker/PickerButton.d.ts +4 -0
- package/es/date-picker/PickerButton.js +48 -0
- package/es/date-picker/generatePicker/constant.d.ts +5 -0
- package/es/date-picker/generatePicker/constant.js +1 -0
- package/es/date-picker/generatePicker/generateRangePicker.d.ts +17 -0
- package/es/date-picker/generatePicker/generateRangePicker.js +99 -0
- package/es/date-picker/generatePicker/generateSinglePicker.d.ts +25 -0
- package/es/date-picker/generatePicker/generateSinglePicker.js +99 -0
- package/es/date-picker/generatePicker/index.d.ts +36 -0
- package/es/date-picker/generatePicker/index.js +99 -0
- package/es/date-picker/generatePicker/interface.d.ts +72 -0
- package/es/date-picker/generatePicker/interface.js +0 -0
- package/es/date-picker/generatePicker/useComponents.d.ts +13 -0
- package/es/date-picker/generatePicker/useComponents.js +48 -0
- package/es/date-picker/index.d.ts +48 -0
- package/es/date-picker/index.js +99 -0
- package/es/date-picker/locale/ar_EG.d.ts +3 -0
- package/es/date-picker/locale/ar_EG.js +1 -0
- package/es/date-picker/locale/az_AZ.d.ts +3 -0
- package/es/date-picker/locale/az_AZ.js +1 -0
- package/es/date-picker/locale/bg_BG.d.ts +3 -0
- package/es/date-picker/locale/bg_BG.js +1 -0
- package/es/date-picker/locale/bn_BD.d.ts +3 -0
- package/es/date-picker/locale/bn_BD.js +1 -0
- package/es/date-picker/locale/by_BY.d.ts +3 -0
- package/es/date-picker/locale/by_BY.js +1 -0
- package/es/date-picker/locale/ca_ES.d.ts +3 -0
- package/es/date-picker/locale/ca_ES.js +1 -0
- package/es/date-picker/locale/cs_CZ.d.ts +3 -0
- package/es/date-picker/locale/cs_CZ.js +1 -0
- package/es/date-picker/locale/da_DK.d.ts +3 -0
- package/es/date-picker/locale/da_DK.js +1 -0
- package/es/date-picker/locale/de_DE.d.ts +3 -0
- package/es/date-picker/locale/de_DE.js +1 -0
- package/es/date-picker/locale/el_GR.d.ts +3 -0
- package/es/date-picker/locale/el_GR.js +1 -0
- package/es/date-picker/locale/en_GB.d.ts +3 -0
- package/es/date-picker/locale/en_GB.js +1 -0
- package/es/date-picker/locale/en_US.d.ts +3 -0
- package/es/date-picker/locale/en_US.js +1 -0
- package/es/date-picker/locale/es_ES.d.ts +3 -0
- package/es/date-picker/locale/es_ES.js +1 -0
- package/es/date-picker/locale/et_EE.d.ts +3 -0
- package/es/date-picker/locale/et_EE.js +1 -0
- package/es/date-picker/locale/eu_ES.d.ts +3 -0
- package/es/date-picker/locale/eu_ES.js +1 -0
- package/es/date-picker/locale/fa_IR.d.ts +3 -0
- package/es/date-picker/locale/fa_IR.js +1 -0
- package/es/date-picker/locale/fi_FI.d.ts +3 -0
- package/es/date-picker/locale/fi_FI.js +1 -0
- package/es/date-picker/locale/fr_BE.d.ts +3 -0
- package/es/date-picker/locale/fr_BE.js +1 -0
- package/es/date-picker/locale/fr_CA.d.ts +3 -0
- package/es/date-picker/locale/fr_CA.js +1 -0
- package/es/date-picker/locale/fr_FR.d.ts +3 -0
- package/es/date-picker/locale/fr_FR.js +1 -0
- package/es/date-picker/locale/ga_IE.d.ts +3 -0
- package/es/date-picker/locale/ga_IE.js +1 -0
- package/es/date-picker/locale/gl_ES.d.ts +3 -0
- package/es/date-picker/locale/gl_ES.js +1 -0
- package/es/date-picker/locale/he_IL.d.ts +3 -0
- package/es/date-picker/locale/he_IL.js +1 -0
- package/es/date-picker/locale/hi_IN.d.ts +3 -0
- package/es/date-picker/locale/hi_IN.js +1 -0
- package/es/date-picker/locale/hr_HR.d.ts +3 -0
- package/es/date-picker/locale/hr_HR.js +1 -0
- package/es/date-picker/locale/hu_HU.d.ts +3 -0
- package/es/date-picker/locale/hu_HU.js +1 -0
- package/es/date-picker/locale/id_ID.d.ts +3 -0
- package/es/date-picker/locale/id_ID.js +1 -0
- package/es/date-picker/locale/is_IS.d.ts +3 -0
- package/es/date-picker/locale/is_IS.js +1 -0
- package/es/date-picker/locale/it_IT.d.ts +3 -0
- package/es/date-picker/locale/it_IT.js +1 -0
- package/es/date-picker/locale/ja_JP.d.ts +3 -0
- package/es/date-picker/locale/ja_JP.js +1 -0
- package/es/date-picker/locale/ka_GE.d.ts +3 -0
- package/es/date-picker/locale/ka_GE.js +1 -0
- package/es/date-picker/locale/kk_KZ.d.ts +3 -0
- package/es/date-picker/locale/kk_KZ.js +1 -0
- package/es/date-picker/locale/km_KH.d.ts +3 -0
- package/es/date-picker/locale/km_KH.js +1 -0
- package/es/date-picker/locale/kmr_IQ.d.ts +3 -0
- package/es/date-picker/locale/kmr_IQ.js +1 -0
- package/es/date-picker/locale/kn_IN.d.ts +3 -0
- package/es/date-picker/locale/kn_IN.js +1 -0
- package/es/date-picker/locale/ko_KR.d.ts +3 -0
- package/es/date-picker/locale/ko_KR.js +1 -0
- package/es/date-picker/locale/lt_LT.d.ts +3 -0
- package/es/date-picker/locale/lt_LT.js +1 -0
- package/es/date-picker/locale/lv_LV.d.ts +3 -0
- package/es/date-picker/locale/lv_LV.js +1 -0
- package/es/date-picker/locale/mk_MK.d.ts +3 -0
- package/es/date-picker/locale/mk_MK.js +1 -0
- package/es/date-picker/locale/ml_IN.d.ts +3 -0
- package/es/date-picker/locale/ml_IN.js +1 -0
- package/es/date-picker/locale/mn_MN.d.ts +3 -0
- package/es/date-picker/locale/mn_MN.js +1 -0
- package/es/date-picker/locale/ms_MY.d.ts +3 -0
- package/es/date-picker/locale/ms_MY.js +1 -0
- package/es/date-picker/locale/my_MM.d.ts +3 -0
- package/es/date-picker/locale/my_MM.js +1 -0
- package/es/date-picker/locale/nb_NO.d.ts +3 -0
- package/es/date-picker/locale/nb_NO.js +1 -0
- package/es/date-picker/locale/nl_BE.d.ts +3 -0
- package/es/date-picker/locale/nl_BE.js +1 -0
- package/es/date-picker/locale/nl_NL.d.ts +3 -0
- package/es/date-picker/locale/nl_NL.js +1 -0
- package/es/date-picker/locale/pl_PL.d.ts +3 -0
- package/es/date-picker/locale/pl_PL.js +1 -0
- package/es/date-picker/locale/pt_BR.d.ts +3 -0
- package/es/date-picker/locale/pt_BR.js +1 -0
- package/es/date-picker/locale/pt_PT.d.ts +3 -0
- package/es/date-picker/locale/pt_PT.js +1 -0
- package/es/date-picker/locale/ro_RO.d.ts +3 -0
- package/es/date-picker/locale/ro_RO.js +1 -0
- package/es/date-picker/locale/ru_RU.d.ts +4 -0
- package/es/date-picker/locale/ru_RU.js +1 -0
- package/es/date-picker/locale/si_LK.d.ts +3 -0
- package/es/date-picker/locale/si_LK.js +1 -0
- package/es/date-picker/locale/sk_SK.d.ts +3 -0
- package/es/date-picker/locale/sk_SK.js +1 -0
- package/es/date-picker/locale/sl_SI.d.ts +3 -0
- package/es/date-picker/locale/sl_SI.js +1 -0
- package/es/date-picker/locale/sr_RS.d.ts +3 -0
- package/es/date-picker/locale/sr_RS.js +1 -0
- package/es/date-picker/locale/sv_SE.d.ts +3 -0
- package/es/date-picker/locale/sv_SE.js +1 -0
- package/es/date-picker/locale/ta_IN.d.ts +3 -0
- package/es/date-picker/locale/ta_IN.js +1 -0
- package/es/date-picker/locale/th_TH.d.ts +3 -0
- package/es/date-picker/locale/th_TH.js +1 -0
- package/es/date-picker/locale/tk_TK.d.ts +3 -0
- package/es/date-picker/locale/tk_TK.js +1 -0
- package/es/date-picker/locale/tr_TR.d.ts +3 -0
- package/es/date-picker/locale/tr_TR.js +1 -0
- package/es/date-picker/locale/uk_UA.d.ts +3 -0
- package/es/date-picker/locale/uk_UA.js +1 -0
- package/es/date-picker/locale/ur_PK.d.ts +3 -0
- package/es/date-picker/locale/ur_PK.js +1 -0
- package/es/date-picker/locale/uz_UZ.d.ts +3 -0
- package/es/date-picker/locale/uz_UZ.js +1 -0
- package/es/date-picker/locale/vi_VN.d.ts +3 -0
- package/es/date-picker/locale/vi_VN.js +1 -0
- package/es/date-picker/locale/zh_CN.d.ts +3 -0
- package/es/date-picker/locale/zh_CN.js +1 -0
- package/es/date-picker/locale/zh_TW.d.ts +3 -0
- package/es/date-picker/locale/zh_TW.js +1 -0
- package/es/date-picker/style/index.d.ts +7 -0
- package/es/date-picker/style/index.js +86 -0
- package/es/date-picker/style/multiple.d.ts +4 -0
- package/es/date-picker/style/multiple.js +35 -0
- package/es/date-picker/style/panel.d.ts +6 -0
- package/es/date-picker/style/panel.js +12 -0
- package/es/date-picker/style/token.d.ts +103 -0
- package/es/date-picker/style/token.js +35 -0
- package/es/date-picker/style/variants.d.ts +4 -0
- package/es/date-picker/style/variants.js +35 -0
- package/es/date-picker/util.d.ts +8 -0
- package/es/date-picker/util.js +1 -0
- package/es/descriptions/Cell.d.ts +17 -0
- package/es/descriptions/Cell.js +1 -0
- package/es/descriptions/DescriptionsContext.d.ts +7 -0
- package/es/descriptions/DescriptionsContext.js +1 -0
- package/es/descriptions/Item.d.ts +13 -0
- package/es/descriptions/Item.js +1 -0
- package/es/descriptions/Row.d.ts +13 -0
- package/es/descriptions/Row.js +1 -0
- package/es/descriptions/constant.d.ts +3 -0
- package/es/descriptions/constant.js +1 -0
- package/es/descriptions/hooks/useItems.d.ts +4 -0
- package/es/descriptions/hooks/useItems.js +35 -0
- package/es/descriptions/hooks/useRow.d.ts +3 -0
- package/es/descriptions/hooks/useRow.js +1 -0
- package/es/descriptions/index.d.ts +42 -0
- package/es/descriptions/index.js +40 -0
- package/es/descriptions/style/index.d.ts +52 -0
- package/es/descriptions/style/index.js +35 -0
- package/es/divider/index.d.ts +20 -0
- package/es/divider/index.js +40 -0
- package/es/divider/style/index.d.ts +23 -0
- package/es/divider/style/index.js +35 -0
- package/es/drag/SortableBoard.d.ts +4 -0
- package/es/drag/SortableBoard.js +1 -0
- package/es/drag/SortableBoardProvider.d.ts +14 -0
- package/es/drag/SortableBoardProvider.js +1 -0
- package/es/drag/SortableList.d.ts +8 -0
- package/es/drag/SortableList.js +1 -0
- package/es/drag/SortableZone.d.ts +7 -0
- package/es/drag/SortableZone.js +1 -0
- package/es/drag/SortableZoneShared.d.ts +36 -0
- package/es/drag/SortableZoneShared.js +1 -0
- package/es/drag/index.d.ts +12 -0
- package/es/drag/index.js +1 -0
- package/es/drag/type.d.ts +362 -0
- package/es/drag/type.js +0 -0
- package/es/drawer/DrawerPanel.d.ts +49 -0
- package/es/drawer/DrawerPanel.js +55 -0
- package/es/drawer/index.d.ts +34 -0
- package/es/drawer/index.js +55 -0
- package/es/drawer/style/index.d.ts +23 -0
- package/es/drawer/style/index.js +35 -0
- package/es/drawer/style/motion.d.ts +4 -0
- package/es/drawer/style/motion.js +1 -0
- package/es/dropdown/dropdown-button.d.ts +21 -0
- package/es/dropdown/dropdown-button.js +88 -0
- package/es/dropdown/dropdown.d.ts +50 -0
- package/es/dropdown/dropdown.js +83 -0
- package/es/dropdown/index.d.ts +8 -0
- package/es/dropdown/index.js +89 -0
- package/es/dropdown/style/index.d.ts +40 -0
- package/es/dropdown/style/index.js +64 -0
- package/es/dropdown/style/status.d.ts +4 -0
- package/es/dropdown/style/status.js +1 -0
- package/es/empty/empty.d.ts +3 -0
- package/es/empty/empty.js +36 -0
- package/es/empty/index.d.ts +21 -0
- package/es/empty/index.js +41 -0
- package/es/empty/simple.d.ts +3 -0
- package/es/empty/simple.js +36 -0
- package/es/empty/style/index.d.ts +5 -0
- package/es/empty/style/index.js +35 -0
- package/es/flex/index.d.ts +4 -0
- package/es/flex/index.js +40 -0
- package/es/flex/interface.d.ts +15 -0
- package/es/flex/interface.js +0 -0
- package/es/flex/style/index.d.ts +30 -0
- package/es/flex/style/index.js +35 -0
- package/es/flex/utils.d.ts +6 -0
- package/es/flex/utils.js +1 -0
- package/es/form/ErrorList.d.ts +13 -0
- package/es/form/ErrorList.js +50 -0
- package/es/form/Form.d.ts +43 -0
- package/es/form/Form.js +50 -0
- package/es/form/FormItem/ItemHolder.d.ts +18 -0
- package/es/form/FormItem/ItemHolder.js +59 -0
- package/es/form/FormItem/StatusProvider.d.ts +16 -0
- package/es/form/FormItem/StatusProvider.js +1 -0
- package/es/form/FormItem/index.d.ts +46 -0
- package/es/form/FormItem/index.js +60 -0
- package/es/form/FormItemInput.d.ts +22 -0
- package/es/form/FormItemInput.js +50 -0
- package/es/form/FormItemLabel.d.ts +22 -0
- package/es/form/FormItemLabel.js +49 -0
- package/es/form/FormList.d.ts +25 -0
- package/es/form/FormList.js +40 -0
- package/es/form/context.d.ts +52 -0
- package/es/form/context.js +1 -0
- package/es/form/hooks/useChildren.d.ts +2 -0
- package/es/form/hooks/useChildren.js +1 -0
- package/es/form/hooks/useDebounce.d.ts +1 -0
- package/es/form/hooks/useDebounce.js +1 -0
- package/es/form/hooks/useForm.d.ts +8 -0
- package/es/form/hooks/useForm.js +1 -0
- package/es/form/hooks/useFormInstance.d.ts +2 -0
- package/es/form/hooks/useFormInstance.js +1 -0
- package/es/form/hooks/useFormItemStatus.d.ts +9 -0
- package/es/form/hooks/useFormItemStatus.js +2 -0
- package/es/form/hooks/useFormWarning.d.ts +2 -0
- package/es/form/hooks/useFormWarning.js +1 -0
- package/es/form/hooks/useFrameState.d.ts +3 -0
- package/es/form/hooks/useFrameState.js +1 -0
- package/es/form/hooks/useItemRef.d.ts +3 -0
- package/es/form/hooks/useItemRef.js +1 -0
- package/es/form/hooks/useVariants.d.ts +7 -0
- package/es/form/hooks/useVariants.js +40 -0
- package/es/form/index.d.ts +26 -0
- package/es/form/index.js +60 -0
- package/es/form/interface.d.ts +3 -0
- package/es/form/interface.js +0 -0
- package/es/form/style/explain.d.ts +4 -0
- package/es/form/style/explain.js +3 -0
- package/es/form/style/fallbackCmp.d.ts +6 -0
- package/es/form/style/fallbackCmp.js +45 -0
- package/es/form/style/index.d.ts +74 -0
- package/es/form/style/index.js +45 -0
- package/es/form/util.d.ts +9 -0
- package/es/form/util.js +1 -0
- package/es/form/validateMessagesContext.d.ts +3 -0
- package/es/form/validateMessagesContext.js +1 -0
- package/es/form-area/ValidateTooltip.d.ts +12 -0
- package/es/form-area/ValidateTooltip.js +353 -0
- package/es/form-area/index.d.ts +4 -0
- package/es/form-area/index.js +353 -0
- package/es/form-area/renderItemMap.d.ts +45 -0
- package/es/form-area/renderItemMap.js +353 -0
- package/es/form-area/type.d.ts +158 -0
- package/es/form-area/type.js +0 -0
- package/es/grid/RowContext.d.ts +6 -0
- package/es/grid/RowContext.js +1 -0
- package/es/grid/col.d.ts +29 -0
- package/es/grid/col.js +40 -0
- package/es/grid/hooks/useBreakpoint.d.ts +3 -0
- package/es/grid/hooks/useBreakpoint.js +35 -0
- package/es/grid/index.d.ts +10 -0
- package/es/grid/index.js +40 -0
- package/es/grid/row.d.ts +20 -0
- package/es/grid/row.js +40 -0
- package/es/grid/style/index.d.ts +7 -0
- package/es/grid/style/index.js +35 -0
- package/es/hooks/index.d.ts +5 -0
- package/es/hooks/index.js +353 -0
- package/es/hooks/useDrawer.d.ts +10 -0
- package/es/hooks/useDrawer.js +1 -0
- package/es/hooks/useForm.d.ts +33 -0
- package/es/hooks/useForm.js +353 -0
- package/es/hooks/useModal.d.ts +10 -0
- package/es/hooks/useModal.js +1 -0
- package/es/hooks/useParsedHash.d.ts +9 -0
- package/es/hooks/useParsedHash.js +1 -0
- package/es/hooks/useUrlState.d.ts +9 -0
- package/es/hooks/useUrlState.js +1 -0
- package/es/icon/index.d.ts +2 -0
- package/es/icon/index.js +1 -0
- package/es/image/PreviewGroup.d.ts +15 -0
- package/es/image/PreviewGroup.js +54 -0
- package/es/image/index.d.ts +9 -0
- package/es/image/index.js +54 -0
- package/es/image/style/index.d.ts +59 -0
- package/es/image/style/index.js +49 -0
- package/es/index.d.ts +150 -0
- package/es/index.js +353 -0
- package/es/input/Group.d.ts +15 -0
- package/es/input/Group.js +58 -0
- package/es/input/Input.d.ts +25 -0
- package/es/input/Input.js +59 -0
- package/es/input/OTP/OTPInput.d.ts +11 -0
- package/es/input/OTP/OTPInput.js +59 -0
- package/es/input/OTP/index.d.ts +29 -0
- package/es/input/OTP/index.js +59 -0
- package/es/input/Password.d.ts +14 -0
- package/es/input/Password.js +59 -0
- package/es/input/Search.d.ts +12 -0
- package/es/input/Search.js +66 -0
- package/es/input/TextArea.d.ts +25 -0
- package/es/input/TextArea.js +59 -0
- package/es/input/hooks/useRemovePasswordTimeout.d.ts +2 -0
- package/es/input/hooks/useRemovePasswordTimeout.js +1 -0
- package/es/input/index.d.ts +20 -0
- package/es/input/index.js +66 -0
- package/es/input/style/index.d.ts +17 -0
- package/es/input/style/index.js +53 -0
- package/es/input/style/otp.d.ts +2 -0
- package/es/input/style/otp.js +35 -0
- package/es/input/style/token.d.ts +97 -0
- package/es/input/style/token.js +35 -0
- package/es/input/style/variants.d.ts +15 -0
- package/es/input/style/variants.js +35 -0
- package/es/input/utils.d.ts +8 -0
- package/es/input/utils.js +1 -0
- package/es/input-number/index.d.ts +34 -0
- package/es/input-number/index.js +70 -0
- package/es/input-number/style/index.d.ts +18 -0
- package/es/input-number/style/index.js +65 -0
- package/es/input-number/style/token.d.ts +52 -0
- package/es/input-number/style/token.js +35 -0
- package/es/layout/Sider.d.ts +28 -0
- package/es/layout/Sider.js +40 -0
- package/es/layout/context.d.ts +8 -0
- package/es/layout/context.js +1 -0
- package/es/layout/hooks/useHasSider.d.ts +2 -0
- package/es/layout/hooks/useHasSider.js +40 -0
- package/es/layout/index.d.ts +15 -0
- package/es/layout/index.js +40 -0
- package/es/layout/layout.d.ts +18 -0
- package/es/layout/layout.js +40 -0
- package/es/layout/style/index.d.ts +96 -0
- package/es/layout/style/index.js +35 -0
- package/es/layout/style/sider.d.ts +2 -0
- package/es/layout/style/sider.js +35 -0
- package/es/list/Item.d.ts +35 -0
- package/es/list/Item.js +40 -0
- package/es/list/context.d.ts +8 -0
- package/es/list/context.js +1 -0
- package/es/list/index.d.ts +56 -0
- package/es/list/index.js +111 -0
- package/es/list/style/index.d.ts +62 -0
- package/es/list/style/index.js +35 -0
- package/es/locale/ar_EG.d.ts +3 -0
- package/es/locale/ar_EG.js +1 -0
- package/es/locale/az_AZ.d.ts +3 -0
- package/es/locale/az_AZ.js +1 -0
- package/es/locale/bg_BG.d.ts +3 -0
- package/es/locale/bg_BG.js +1 -0
- package/es/locale/bn_BD.d.ts +3 -0
- package/es/locale/bn_BD.js +1 -0
- package/es/locale/by_BY.d.ts +3 -0
- package/es/locale/by_BY.js +1 -0
- package/es/locale/ca_ES.d.ts +3 -0
- package/es/locale/ca_ES.js +1 -0
- package/es/locale/context.d.ts +6 -0
- package/es/locale/context.js +1 -0
- package/es/locale/cs_CZ.d.ts +3 -0
- package/es/locale/cs_CZ.js +1 -0
- package/es/locale/da_DK.d.ts +3 -0
- package/es/locale/da_DK.js +1 -0
- package/es/locale/de_DE.d.ts +3 -0
- package/es/locale/de_DE.js +1 -0
- package/es/locale/el_GR.d.ts +3 -0
- package/es/locale/el_GR.js +1 -0
- package/es/locale/en_GB.d.ts +3 -0
- package/es/locale/en_GB.js +1 -0
- package/es/locale/en_US.d.ts +3 -0
- package/es/locale/en_US.js +1 -0
- package/es/locale/es_ES.d.ts +3 -0
- package/es/locale/es_ES.js +1 -0
- package/es/locale/et_EE.d.ts +3 -0
- package/es/locale/et_EE.js +1 -0
- package/es/locale/eu_ES.d.ts +3 -0
- package/es/locale/eu_ES.js +1 -0
- package/es/locale/fa_IR.d.ts +3 -0
- package/es/locale/fa_IR.js +1 -0
- package/es/locale/fi_FI.d.ts +3 -0
- package/es/locale/fi_FI.js +1 -0
- package/es/locale/fr_BE.d.ts +3 -0
- package/es/locale/fr_BE.js +1 -0
- package/es/locale/fr_CA.d.ts +3 -0
- package/es/locale/fr_CA.js +1 -0
- package/es/locale/fr_FR.d.ts +3 -0
- package/es/locale/fr_FR.js +1 -0
- package/es/locale/ga_IE.d.ts +3 -0
- package/es/locale/ga_IE.js +1 -0
- package/es/locale/gl_ES.d.ts +3 -0
- package/es/locale/gl_ES.js +1 -0
- package/es/locale/he_IL.d.ts +3 -0
- package/es/locale/he_IL.js +1 -0
- package/es/locale/hi_IN.d.ts +3 -0
- package/es/locale/hi_IN.js +1 -0
- package/es/locale/hr_HR.d.ts +3 -0
- package/es/locale/hr_HR.js +1 -0
- package/es/locale/hu_HU.d.ts +3 -0
- package/es/locale/hu_HU.js +1 -0
- package/es/locale/hy_AM.d.ts +3 -0
- package/es/locale/hy_AM.js +2 -0
- package/es/locale/id_ID.d.ts +3 -0
- package/es/locale/id_ID.js +1 -0
- package/es/locale/index.d.ts +61 -0
- package/es/locale/index.js +2 -0
- package/es/locale/is_IS.d.ts +3 -0
- package/es/locale/is_IS.js +1 -0
- package/es/locale/it_IT.d.ts +3 -0
- package/es/locale/it_IT.js +1 -0
- package/es/locale/ja_JP.d.ts +3 -0
- package/es/locale/ja_JP.js +1 -0
- package/es/locale/ka_GE.d.ts +3 -0
- package/es/locale/ka_GE.js +1 -0
- package/es/locale/kk_KZ.d.ts +3 -0
- package/es/locale/kk_KZ.js +1 -0
- package/es/locale/km_KH.d.ts +3 -0
- package/es/locale/km_KH.js +1 -0
- package/es/locale/kmr_IQ.d.ts +3 -0
- package/es/locale/kmr_IQ.js +1 -0
- package/es/locale/kn_IN.d.ts +3 -0
- package/es/locale/kn_IN.js +1 -0
- package/es/locale/ko_KR.d.ts +3 -0
- package/es/locale/ko_KR.js +1 -0
- package/es/locale/ku_IQ.d.ts +3 -0
- package/es/locale/ku_IQ.js +1 -0
- package/es/locale/lt_LT.d.ts +3 -0
- package/es/locale/lt_LT.js +1 -0
- package/es/locale/lv_LV.d.ts +3 -0
- package/es/locale/lv_LV.js +1 -0
- package/es/locale/mk_MK.d.ts +3 -0
- package/es/locale/mk_MK.js +1 -0
- package/es/locale/ml_IN.d.ts +3 -0
- package/es/locale/ml_IN.js +1 -0
- package/es/locale/mn_MN.d.ts +3 -0
- package/es/locale/mn_MN.js +1 -0
- package/es/locale/ms_MY.d.ts +3 -0
- package/es/locale/ms_MY.js +1 -0
- package/es/locale/my_MM.d.ts +3 -0
- package/es/locale/my_MM.js +1 -0
- package/es/locale/nb_NO.d.ts +3 -0
- package/es/locale/nb_NO.js +1 -0
- package/es/locale/ne_NP.d.ts +3 -0
- package/es/locale/ne_NP.js +1 -0
- package/es/locale/nl_BE.d.ts +3 -0
- package/es/locale/nl_BE.js +1 -0
- package/es/locale/nl_NL.d.ts +3 -0
- package/es/locale/nl_NL.js +1 -0
- package/es/locale/pl_PL.d.ts +3 -0
- package/es/locale/pl_PL.js +1 -0
- package/es/locale/pt_BR.d.ts +3 -0
- package/es/locale/pt_BR.js +1 -0
- package/es/locale/pt_PT.d.ts +3 -0
- package/es/locale/pt_PT.js +1 -0
- package/es/locale/ro_RO.d.ts +3 -0
- package/es/locale/ro_RO.js +1 -0
- package/es/locale/ru_RU.d.ts +3 -0
- package/es/locale/ru_RU.js +1 -0
- package/es/locale/si_LK.d.ts +3 -0
- package/es/locale/si_LK.js +1 -0
- package/es/locale/sk_SK.d.ts +3 -0
- package/es/locale/sk_SK.js +1 -0
- package/es/locale/sl_SI.d.ts +3 -0
- package/es/locale/sl_SI.js +1 -0
- package/es/locale/sr_RS.d.ts +3 -0
- package/es/locale/sr_RS.js +1 -0
- package/es/locale/sv_SE.d.ts +3 -0
- package/es/locale/sv_SE.js +1 -0
- package/es/locale/ta_IN.d.ts +3 -0
- package/es/locale/ta_IN.js +1 -0
- package/es/locale/th_TH.d.ts +3 -0
- package/es/locale/th_TH.js +1 -0
- package/es/locale/tk_TK.d.ts +3 -0
- package/es/locale/tk_TK.js +1 -0
- package/es/locale/tr_TR.d.ts +3 -0
- package/es/locale/tr_TR.js +1 -0
- package/es/locale/uk_UA.d.ts +3 -0
- package/es/locale/uk_UA.js +1 -0
- package/es/locale/ur_PK.d.ts +3 -0
- package/es/locale/ur_PK.js +1 -0
- package/es/locale/useLocale.d.ts +4 -0
- package/es/locale/useLocale.js +1 -0
- package/es/locale/uz_UZ.d.ts +3 -0
- package/es/locale/uz_UZ.js +1 -0
- package/es/locale/vi_VN.d.ts +3 -0
- package/es/locale/vi_VN.js +1 -0
- package/es/locale/zh_CN.d.ts +3 -0
- package/es/locale/zh_CN.js +1 -0
- package/es/locale/zh_HK.d.ts +3 -0
- package/es/locale/zh_HK.js +1 -0
- package/es/locale/zh_TW.d.ts +3 -0
- package/es/locale/zh_TW.js +1 -0
- package/es/mentions/index.d.ts +45 -0
- package/es/mentions/index.js +58 -0
- package/es/mentions/style/index.d.ts +22 -0
- package/es/mentions/style/index.js +53 -0
- package/es/menu/MenuContext.d.ts +11 -0
- package/es/menu/MenuContext.js +1 -0
- package/es/menu/MenuDivider.d.ts +9 -0
- package/es/menu/MenuDivider.js +40 -0
- package/es/menu/MenuItem.d.ts +13 -0
- package/es/menu/MenuItem.js +49 -0
- package/es/menu/OverrideContext.d.ts +13 -0
- package/es/menu/OverrideContext.js +40 -0
- package/es/menu/SubMenu.d.ts +13 -0
- package/es/menu/SubMenu.js +35 -0
- package/es/menu/index.d.ts +32 -0
- package/es/menu/index.js +66 -0
- package/es/menu/interface.d.ts +20 -0
- package/es/menu/interface.js +0 -0
- package/es/menu/menu.d.ts +19 -0
- package/es/menu/menu.js +66 -0
- package/es/menu/style/horizontal.d.ts +4 -0
- package/es/menu/style/horizontal.js +3 -0
- package/es/menu/style/index.d.ts +354 -0
- package/es/menu/style/index.js +61 -0
- package/es/menu/style/rtl.d.ts +5 -0
- package/es/menu/style/rtl.js +2 -0
- package/es/menu/style/theme.d.ts +4 -0
- package/es/menu/style/theme.js +1 -0
- package/es/menu/style/vertical.d.ts +4 -0
- package/es/menu/style/vertical.js +9 -0
- package/es/message/PurePanel.d.ts +23 -0
- package/es/message/PurePanel.js +47 -0
- package/es/message/index.d.ts +23 -0
- package/es/message/index.js +47 -0
- package/es/message/interface.d.ts +66 -0
- package/es/message/interface.js +0 -0
- package/es/message/style/index.d.ts +23 -0
- package/es/message/style/index.js +42 -0
- package/es/message/useMessage.d.ts +8 -0
- package/es/message/useMessage.js +47 -0
- package/es/message/util.d.ts +4 -0
- package/es/message/util.js +1 -0
- package/es/modal/ConfirmDialog.d.ts +32 -0
- package/es/modal/ConfirmDialog.js +70 -0
- package/es/modal/Modal.d.ts +4 -0
- package/es/modal/Modal.js +68 -0
- package/es/modal/PurePanel.d.ts +9 -0
- package/es/modal/PurePanel.js +70 -0
- package/es/modal/components/ConfirmCancelBtn.d.ts +10 -0
- package/es/modal/components/ConfirmCancelBtn.js +48 -0
- package/es/modal/components/ConfirmOkBtn.d.ts +9 -0
- package/es/modal/components/ConfirmOkBtn.js +48 -0
- package/es/modal/components/NormalCancelBtn.d.ts +8 -0
- package/es/modal/components/NormalCancelBtn.js +48 -0
- package/es/modal/components/NormalOkBtn.d.ts +8 -0
- package/es/modal/components/NormalOkBtn.js +48 -0
- package/es/modal/confirm.d.ts +20 -0
- package/es/modal/confirm.js +70 -0
- package/es/modal/context.d.ts +8 -0
- package/es/modal/context.js +1 -0
- package/es/modal/destroyFns.d.ts +2 -0
- package/es/modal/destroyFns.js +1 -0
- package/es/modal/index.d.ts +15 -0
- package/es/modal/index.js +70 -0
- package/es/modal/interface.d.ts +123 -0
- package/es/modal/interface.js +0 -0
- package/es/modal/locale.d.ts +7 -0
- package/es/modal/locale.js +1 -0
- package/es/modal/shared.d.ts +9 -0
- package/es/modal/shared.js +48 -0
- package/es/modal/style/confirm.d.ts +2 -0
- package/es/modal/style/confirm.js +50 -0
- package/es/modal/style/index.d.ts +110 -0
- package/es/modal/style/index.js +49 -0
- package/es/modal/useModal/HookModal.d.ts +17 -0
- package/es/modal/useModal/HookModal.js +70 -0
- package/es/modal/useModal/index.d.ts +8 -0
- package/es/modal/useModal/index.js +70 -0
- package/es/notification/PurePanel.d.ts +27 -0
- package/es/notification/PurePanel.js +40 -0
- package/es/notification/index.d.ts +22 -0
- package/es/notification/index.js +41 -0
- package/es/notification/interface.d.ts +68 -0
- package/es/notification/interface.js +1 -0
- package/es/notification/style/index.d.ts +89 -0
- package/es/notification/style/index.js +35 -0
- package/es/notification/style/placement.d.ts +5 -0
- package/es/notification/style/placement.js +1 -0
- package/es/notification/style/pure-panel.d.ts +2 -0
- package/es/notification/style/pure-panel.js +35 -0
- package/es/notification/style/stack.d.ts +4 -0
- package/es/notification/style/stack.js +1 -0
- package/es/notification/useNotification.d.ts +8 -0
- package/es/notification/useNotification.js +40 -0
- package/es/notification/util.d.ts +5 -0
- package/es/notification/util.js +1 -0
- package/es/pagination/Pagination.d.ts +25 -0
- package/es/pagination/Pagination.js +111 -0
- package/es/pagination/index.d.ts +3 -0
- package/es/pagination/index.js +111 -0
- package/es/pagination/style/bordered.d.ts +2 -0
- package/es/pagination/style/bordered.js +68 -0
- package/es/pagination/style/index.d.ts +99 -0
- package/es/pagination/style/index.js +68 -0
- package/es/pagination/useShowSizeChanger.d.ts +3 -0
- package/es/pagination/useShowSizeChanger.js +1 -0
- package/es/popconfirm/PurePanel.d.ts +20 -0
- package/es/popconfirm/PurePanel.js +57 -0
- package/es/popconfirm/index.d.ts +30 -0
- package/es/popconfirm/index.js +57 -0
- package/es/popconfirm/style/index.d.ts +17 -0
- package/es/popconfirm/style/index.js +35 -0
- package/es/popover/PurePanel.d.ts +17 -0
- package/es/popover/PurePanel.js +49 -0
- package/es/popover/index.d.ts +15 -0
- package/es/popover/index.js +49 -0
- package/es/popover/style/index.d.ts +46 -0
- package/es/popover/style/index.js +44 -0
- package/es/progress/Circle.d.ts +10 -0
- package/es/progress/Circle.js +49 -0
- package/es/progress/Line.d.ts +36 -0
- package/es/progress/Line.js +35 -0
- package/es/progress/Steps.d.ts +9 -0
- package/es/progress/Steps.js +1 -0
- package/es/progress/index.d.ts +3 -0
- package/es/progress/index.js +49 -0
- package/es/progress/progress.d.ts +58 -0
- package/es/progress/progress.js +49 -0
- package/es/progress/style/index.d.ts +38 -0
- package/es/progress/style/index.js +35 -0
- package/es/progress/utils.d.ts +10 -0
- package/es/progress/utils.js +1 -0
- package/es/qr-code/QrcodeStatus.d.ts +11 -0
- package/es/qr-code/QrcodeStatus.js +48 -0
- package/es/qr-code/index.d.ts +4 -0
- package/es/qr-code/index.js +48 -0
- package/es/qr-code/interface.d.ts +29 -0
- package/es/qr-code/interface.js +0 -0
- package/es/qr-code/style/index.d.ts +6 -0
- package/es/qr-code/style/index.js +35 -0
- package/es/qrcode/index.d.ts +2 -0
- package/es/qrcode/index.js +48 -0
- package/es/qrcode/interface.d.ts +1 -0
- package/es/qrcode/interface.js +0 -0
- package/es/qrcode/style/index.d.ts +1 -0
- package/es/qrcode/style/index.js +35 -0
- package/es/radio/context.d.ts +7 -0
- package/es/radio/context.js +1 -0
- package/es/radio/group.d.ts +4 -0
- package/es/radio/group.js +41 -0
- package/es/radio/index.d.ts +11 -0
- package/es/radio/index.js +41 -0
- package/es/radio/interface.d.ts +43 -0
- package/es/radio/interface.js +0 -0
- package/es/radio/radio.d.ts +4 -0
- package/es/radio/radio.js +41 -0
- package/es/radio/radioButton.d.ts +6 -0
- package/es/radio/radioButton.js +41 -0
- package/es/radio/style/index.d.ts +76 -0
- package/es/radio/style/index.js +36 -0
- package/es/rate/index.d.ts +8 -0
- package/es/rate/index.js +49 -0
- package/es/rate/style/index.d.ts +27 -0
- package/es/rate/style/index.js +35 -0
- package/es/result/index.d.ts +33 -0
- package/es/result/index.js +41 -0
- package/es/result/noFound.d.ts +3 -0
- package/es/result/noFound.js +1 -0
- package/es/result/serverError.d.ts +3 -0
- package/es/result/serverError.js +1 -0
- package/es/result/style/index.d.ts +27 -0
- package/es/result/style/index.js +35 -0
- package/es/result/unauthorized.d.ts +3 -0
- package/es/result/unauthorized.js +1 -0
- package/es/row/index.d.ts +4 -0
- package/es/row/index.js +40 -0
- package/es/row/style/index.d.ts +2 -0
- package/es/row/style/index.js +1 -0
- package/es/search-area/index.d.ts +5 -0
- package/es/search-area/index.js +353 -0
- package/es/search-area/style/index.d.ts +2 -0
- package/es/search-area/style/index.js +1 -0
- package/es/segmented/index.d.ts +26 -0
- package/es/segmented/index.js +40 -0
- package/es/segmented/style/index.d.ts +46 -0
- package/es/segmented/style/index.js +35 -0
- package/es/select/index.d.ts +57 -0
- package/es/select/index.js +78 -0
- package/es/select/mergedBuiltinPlacements.d.ts +4 -0
- package/es/select/mergedBuiltinPlacements.js +1 -0
- package/es/select/style/dropdown.d.ts +4 -0
- package/es/select/style/dropdown.js +24 -0
- package/es/select/style/index.d.ts +4 -0
- package/es/select/style/index.js +73 -0
- package/es/select/style/multiple.d.ts +32 -0
- package/es/select/style/multiple.js +40 -0
- package/es/select/style/single.d.ts +3 -0
- package/es/select/style/single.js +45 -0
- package/es/select/style/token.d.ts +138 -0
- package/es/select/style/token.js +1 -0
- package/es/select/style/variants.d.ts +4 -0
- package/es/select/style/variants.js +1 -0
- package/es/select/useIcons.d.ts +26 -0
- package/es/select/useIcons.js +1 -0
- package/es/select/useShowArrow.d.ts +8 -0
- package/es/select/useShowArrow.js +1 -0
- package/es/skeleton/Avatar.d.ts +7 -0
- package/es/skeleton/Avatar.js +47 -0
- package/es/skeleton/Button.d.ts +8 -0
- package/es/skeleton/Button.js +47 -0
- package/es/skeleton/Element.d.ts +12 -0
- package/es/skeleton/Element.js +1 -0
- package/es/skeleton/Image.d.ts +6 -0
- package/es/skeleton/Image.js +48 -0
- package/es/skeleton/Input.d.ts +8 -0
- package/es/skeleton/Input.js +47 -0
- package/es/skeleton/Node.d.ts +8 -0
- package/es/skeleton/Node.js +47 -0
- package/es/skeleton/Paragraph.d.ts +11 -0
- package/es/skeleton/Paragraph.js +1 -0
- package/es/skeleton/Skeleton.d.ts +32 -0
- package/es/skeleton/Skeleton.js +48 -0
- package/es/skeleton/Title.d.ts +9 -0
- package/es/skeleton/Title.js +1 -0
- package/es/skeleton/index.d.ts +3 -0
- package/es/skeleton/index.js +48 -0
- package/es/skeleton/style/index.d.ts +40 -0
- package/es/skeleton/style/index.js +42 -0
- package/es/slider/Context.d.ts +9 -0
- package/es/slider/Context.js +1 -0
- package/es/slider/SliderTooltip.d.ts +8 -0
- package/es/slider/SliderTooltip.js +49 -0
- package/es/slider/index.d.ts +97 -0
- package/es/slider/index.js +61 -0
- package/es/slider/style/index.d.ts +97 -0
- package/es/slider/style/index.js +47 -0
- package/es/slider/useRafLock.d.ts +1 -0
- package/es/slider/useRafLock.js +1 -0
- package/es/space/Compact.d.ts +25 -0
- package/es/space/Compact.js +40 -0
- package/es/space/Item.d.ts +10 -0
- package/es/space/Item.js +1 -0
- package/es/space/context.d.ts +6 -0
- package/es/space/context.js +1 -0
- package/es/space/index.d.ts +28 -0
- package/es/space/index.js +40 -0
- package/es/space/style/compact.d.ts +8 -0
- package/es/space/style/compact.js +1 -0
- package/es/space/style/index.d.ts +7 -0
- package/es/space/style/index.js +35 -0
- package/es/spin/Indicator/Looper.d.ts +6 -0
- package/es/spin/Indicator/Looper.js +1 -0
- package/es/spin/Indicator/Progress.d.ts +7 -0
- package/es/spin/Indicator/Progress.js +1 -0
- package/es/spin/Indicator/index.d.ts +7 -0
- package/es/spin/Indicator/index.js +1 -0
- package/es/spin/index.d.ts +36 -0
- package/es/spin/index.js +40 -0
- package/es/spin/style/index.d.ts +26 -0
- package/es/spin/style/index.js +35 -0
- package/es/spin/usePercent.d.ts +1 -0
- package/es/spin/usePercent.js +1 -0
- package/es/splitter/Panel.d.ts +7 -0
- package/es/splitter/Panel.js +1 -0
- package/es/splitter/SplitBar.d.ts +19 -0
- package/es/splitter/SplitBar.js +1 -0
- package/es/splitter/Splitter.d.ts +4 -0
- package/es/splitter/Splitter.js +40 -0
- package/es/splitter/hooks/useItems.d.ts +12 -0
- package/es/splitter/hooks/useItems.js +1 -0
- package/es/splitter/hooks/useResizable.d.ts +7 -0
- package/es/splitter/hooks/useResizable.js +1 -0
- package/es/splitter/hooks/useResize.d.ts +6 -0
- package/es/splitter/hooks/useResize.js +1 -0
- package/es/splitter/hooks/useSizes.d.ts +8 -0
- package/es/splitter/hooks/useSizes.js +1 -0
- package/es/splitter/index.d.ts +8 -0
- package/es/splitter/index.js +40 -0
- package/es/splitter/interface.d.ts +64 -0
- package/es/splitter/interface.js +0 -0
- package/es/splitter/style/index.d.ts +27 -0
- package/es/splitter/style/index.js +35 -0
- package/es/statistic/Countdown.d.ts +10 -0
- package/es/statistic/Countdown.js +48 -0
- package/es/statistic/Number.d.ts +8 -0
- package/es/statistic/Number.js +1 -0
- package/es/statistic/Statistic.d.ts +21 -0
- package/es/statistic/Statistic.js +48 -0
- package/es/statistic/index.d.ts +11 -0
- package/es/statistic/index.js +48 -0
- package/es/statistic/interface.d.ts +0 -0
- package/es/statistic/interface.js +0 -0
- package/es/statistic/style/index.d.ts +16 -0
- package/es/statistic/style/index.js +35 -0
- package/es/statistic/utils.d.ts +15 -0
- package/es/statistic/utils.js +1 -0
- package/es/steps/index.d.ts +39 -0
- package/es/steps/index.js +49 -0
- package/es/steps/style/custom-icon.d.ts +5 -0
- package/es/steps/style/custom-icon.js +1 -0
- package/es/steps/style/horizontal.d.ts +5 -0
- package/es/steps/style/horizontal.js +1 -0
- package/es/steps/style/index.d.ts +102 -0
- package/es/steps/style/index.js +35 -0
- package/es/steps/style/inline.d.ts +5 -0
- package/es/steps/style/inline.js +1 -0
- package/es/steps/style/label-placement.d.ts +5 -0
- package/es/steps/style/label-placement.js +1 -0
- package/es/steps/style/nav.d.ts +5 -0
- package/es/steps/style/nav.js +1 -0
- package/es/steps/style/progress-dot.d.ts +5 -0
- package/es/steps/style/progress-dot.js +1 -0
- package/es/steps/style/progress.d.ts +5 -0
- package/es/steps/style/progress.js +1 -0
- package/es/steps/style/rtl.d.ts +5 -0
- package/es/steps/style/rtl.js +1 -0
- package/es/steps/style/small.d.ts +5 -0
- package/es/steps/style/small.js +1 -0
- package/es/steps/style/vertical.d.ts +5 -0
- package/es/steps/style/vertical.js +1 -0
- package/es/steps/useLegacyItems.d.ts +3 -0
- package/es/steps/useLegacyItems.js +1 -0
- package/es/style/compact-item-vertical.d.ts +3 -0
- package/es/style/compact-item-vertical.js +1 -0
- package/es/style/compact-item.d.ts +17 -0
- package/es/style/compact-item.js +1 -0
- package/es/style/index.d.ts +12 -0
- package/es/style/index.js +1 -0
- package/es/style/motion/collapse.d.ts +3 -0
- package/es/style/motion/collapse.js +3 -0
- package/es/style/motion/fade.d.ts +6 -0
- package/es/style/motion/fade.js +10 -0
- package/es/style/motion/index.d.ts +6 -0
- package/es/style/motion/index.js +21 -0
- package/es/style/motion/motion.d.ts +2 -0
- package/es/style/motion/motion.js +7 -0
- package/es/style/motion/move.d.ts +14 -0
- package/es/style/motion/move.js +10 -0
- package/es/style/motion/slide.d.ts +14 -0
- package/es/style/motion/slide.js +10 -0
- package/es/style/motion/zoom.d.ts +18 -0
- package/es/style/motion/zoom.js +10 -0
- package/es/style/placementArrow.d.ts +19 -0
- package/es/style/placementArrow.js +1 -0
- package/es/style/roundedArrow.d.ts +7 -0
- package/es/style/roundedArrow.js +1 -0
- package/es/switch/index.d.ts +37 -0
- package/es/switch/index.js +41 -0
- package/es/switch/style/index.d.ts +71 -0
- package/es/switch/style/index.js +35 -0
- package/es/table/Column.d.ts +8 -0
- package/es/table/Column.js +1 -0
- package/es/table/ColumnGroup.d.ts +10 -0
- package/es/table/ColumnGroup.js +1 -0
- package/es/table/ExpandIcon.d.ts +12 -0
- package/es/table/ExpandIcon.js +1 -0
- package/es/table/InternalTable.d.ts +32 -0
- package/es/table/InternalTable.js +216 -0
- package/es/table/RcTable/VirtualTable.d.ts +5 -0
- package/es/table/RcTable/VirtualTable.js +1 -0
- package/es/table/RcTable/index.d.ts +5 -0
- package/es/table/RcTable/index.js +1 -0
- package/es/table/Table.d.ts +17 -0
- package/es/table/Table.js +216 -0
- package/es/table/hooks/useContainerWidth.d.ts +1 -0
- package/es/table/hooks/useContainerWidth.js +1 -0
- package/es/table/hooks/useFilter/FilterDropdown.d.ts +31 -0
- package/es/table/hooks/useFilter/FilterDropdown.js +114 -0
- package/es/table/hooks/useFilter/FilterSearch.d.ts +12 -0
- package/es/table/hooks/useFilter/FilterSearch.js +66 -0
- package/es/table/hooks/useFilter/FilterWrapper.d.ts +8 -0
- package/es/table/hooks/useFilter/FilterWrapper.js +1 -0
- package/es/table/hooks/useFilter/index.d.ts +22 -0
- package/es/table/hooks/useFilter/index.js +114 -0
- package/es/table/hooks/useLazyKVMap.d.ts +4 -0
- package/es/table/hooks/useLazyKVMap.js +1 -0
- package/es/table/hooks/usePagination.d.ts +5 -0
- package/es/table/hooks/usePagination.js +1 -0
- package/es/table/hooks/useSelection.d.ts +20 -0
- package/es/table/hooks/useSelection.js +95 -0
- package/es/table/hooks/useSorter.d.ts +19 -0
- package/es/table/hooks/useSorter.js +49 -0
- package/es/table/hooks/useTitleColumns.d.ts +4 -0
- package/es/table/hooks/useTitleColumns.js +1 -0
- package/es/table/index.d.ts +7 -0
- package/es/table/index.js +216 -0
- package/es/table/interface.d.ts +194 -0
- package/es/table/interface.js +1 -0
- package/es/table/style/bordered.d.ts +5 -0
- package/es/table/style/bordered.js +10 -0
- package/es/table/style/ellipsis.d.ts +5 -0
- package/es/table/style/ellipsis.js +4 -0
- package/es/table/style/empty.d.ts +5 -0
- package/es/table/style/empty.js +1 -0
- package/es/table/style/expand.d.ts +5 -0
- package/es/table/style/expand.js +1 -0
- package/es/table/style/filter.d.ts +4 -0
- package/es/table/style/filter.js +1 -0
- package/es/table/style/fixed.d.ts +5 -0
- package/es/table/style/fixed.js +21 -0
- package/es/table/style/index.d.ts +202 -0
- package/es/table/style/index.js +97 -0
- package/es/table/style/pagination.d.ts +5 -0
- package/es/table/style/pagination.js +1 -0
- package/es/table/style/radius.d.ts +5 -0
- package/es/table/style/radius.js +1 -0
- package/es/table/style/rtl.d.ts +5 -0
- package/es/table/style/rtl.js +1 -0
- package/es/table/style/selection.d.ts +5 -0
- package/es/table/style/selection.js +5 -0
- package/es/table/style/size.d.ts +5 -0
- package/es/table/style/size.js +10 -0
- package/es/table/style/sorter.d.ts +5 -0
- package/es/table/style/sorter.js +4 -0
- package/es/table/style/sticky.d.ts +5 -0
- package/es/table/style/sticky.js +1 -0
- package/es/table/style/summary.d.ts +5 -0
- package/es/table/style/summary.js +1 -0
- package/es/table/style/virtual.d.ts +5 -0
- package/es/table/style/virtual.js +4 -0
- package/es/table/util.d.ts +13 -0
- package/es/table/util.js +1 -0
- package/es/tabs/TabPane.d.ts +5 -0
- package/es/tabs/TabPane.js +1 -0
- package/es/tabs/hooks/useAnimateConfig.d.ts +3 -0
- package/es/tabs/hooks/useAnimateConfig.js +40 -0
- package/es/tabs/hooks/useLegacyItems.d.ts +4 -0
- package/es/tabs/hooks/useLegacyItems.js +1 -0
- package/es/tabs/index.d.ts +29 -0
- package/es/tabs/index.js +51 -0
- package/es/tabs/style/index.d.ts +136 -0
- package/es/tabs/style/index.js +46 -0
- package/es/tabs/style/motion.d.ts +4 -0
- package/es/tabs/style/motion.js +10 -0
- package/es/tag/CheckableTag.d.ts +17 -0
- package/es/tag/CheckableTag.js +40 -0
- package/es/tag/index.d.ts +27 -0
- package/es/tag/index.js +41 -0
- package/es/tag/style/index.d.ts +25 -0
- package/es/tag/style/index.js +35 -0
- package/es/tag/style/presetCmp.d.ts +2 -0
- package/es/tag/style/presetCmp.js +35 -0
- package/es/tag/style/statusCmp.d.ts +2 -0
- package/es/tag/style/statusCmp.js +35 -0
- package/es/theme/context.d.ts +31 -0
- package/es/theme/context.js +3 -0
- package/es/theme/getDesignToken.d.ts +4 -0
- package/es/theme/getDesignToken.js +35 -0
- package/es/theme/index.d.ts +35 -0
- package/es/theme/index.js +35 -0
- package/es/theme/interface/alias.d.ts +545 -0
- package/es/theme/interface/alias.js +0 -0
- package/es/theme/interface/components.d.ts +131 -0
- package/es/theme/interface/components.js +0 -0
- package/es/theme/interface/cssinjs-utils.d.ts +10 -0
- package/es/theme/interface/cssinjs-utils.js +0 -0
- package/es/theme/interface/index.d.ts +15 -0
- package/es/theme/interface/index.js +1 -0
- package/es/theme/interface/maps/colors.d.ts +530 -0
- package/es/theme/interface/maps/colors.js +0 -0
- package/es/theme/interface/maps/font.d.ts +117 -0
- package/es/theme/interface/maps/font.js +0 -0
- package/es/theme/interface/maps/index.d.ts +29 -0
- package/es/theme/interface/maps/index.js +0 -0
- package/es/theme/interface/maps/size.d.ts +69 -0
- package/es/theme/interface/maps/size.js +0 -0
- package/es/theme/interface/maps/style.d.ts +42 -0
- package/es/theme/interface/maps/style.js +0 -0
- package/es/theme/interface/presetColors.d.ts +11 -0
- package/es/theme/interface/presetColors.js +1 -0
- package/es/theme/interface/seeds.d.ts +225 -0
- package/es/theme/interface/seeds.js +0 -0
- package/es/theme/internal.d.ts +13 -0
- package/es/theme/internal.js +35 -0
- package/es/theme/themes/ColorMap.d.ts +15 -0
- package/es/theme/themes/ColorMap.js +0 -0
- package/es/theme/themes/compact/genCompactSizeMapToken.d.ts +2 -0
- package/es/theme/themes/compact/genCompactSizeMapToken.js +1 -0
- package/es/theme/themes/compact/index.d.ts +4 -0
- package/es/theme/themes/compact/index.js +1 -0
- package/es/theme/themes/dark/colorAlgorithm.d.ts +2 -0
- package/es/theme/themes/dark/colorAlgorithm.js +1 -0
- package/es/theme/themes/dark/colors.d.ts +3 -0
- package/es/theme/themes/dark/colors.js +1 -0
- package/es/theme/themes/dark/index.d.ts +4 -0
- package/es/theme/themes/dark/index.js +1 -0
- package/es/theme/themes/default/colorAlgorithm.d.ts +2 -0
- package/es/theme/themes/default/colorAlgorithm.js +1 -0
- package/es/theme/themes/default/colors.d.ts +3 -0
- package/es/theme/themes/default/colors.js +1 -0
- package/es/theme/themes/default/index.d.ts +2 -0
- package/es/theme/themes/default/index.js +1 -0
- package/es/theme/themes/seed.d.ts +4 -0
- package/es/theme/themes/seed.js +3 -0
- package/es/theme/themes/shared/genColorMapToken.d.ts +8 -0
- package/es/theme/themes/shared/genColorMapToken.js +1 -0
- package/es/theme/themes/shared/genCommonMapToken.d.ts +2 -0
- package/es/theme/themes/shared/genCommonMapToken.js +1 -0
- package/es/theme/themes/shared/genControlHeight.d.ts +3 -0
- package/es/theme/themes/shared/genControlHeight.js +1 -0
- package/es/theme/themes/shared/genFontMapToken.d.ts +3 -0
- package/es/theme/themes/shared/genFontMapToken.js +1 -0
- package/es/theme/themes/shared/genFontSizes.d.ts +5 -0
- package/es/theme/themes/shared/genFontSizes.js +1 -0
- package/es/theme/themes/shared/genRadius.d.ts +3 -0
- package/es/theme/themes/shared/genRadius.js +1 -0
- package/es/theme/themes/shared/genSizeMapToken.d.ts +2 -0
- package/es/theme/themes/shared/genSizeMapToken.js +1 -0
- package/es/theme/useToken.d.ts +19 -0
- package/es/theme/useToken.js +35 -0
- package/es/theme/util/alias.d.ts +12 -0
- package/es/theme/util/alias.js +35 -0
- package/es/theme/util/genPresetColor.d.ts +15 -0
- package/es/theme/util/genPresetColor.js +1 -0
- package/es/theme/util/genStyleUtils.d.ts +26 -0
- package/es/theme/util/genStyleUtils.js +35 -0
- package/es/theme/util/getAlphaColor.d.ts +2 -0
- package/es/theme/util/getAlphaColor.js +1 -0
- package/es/theme/util/useResetIconStyle.d.ts +3 -0
- package/es/theme/util/useResetIconStyle.js +35 -0
- package/es/time-picker/index.d.ts +30 -0
- package/es/time-picker/index.js +99 -0
- package/es/time-picker/locale/ar_EG.d.ts +3 -0
- package/es/time-picker/locale/ar_EG.js +1 -0
- package/es/time-picker/locale/az_AZ.d.ts +3 -0
- package/es/time-picker/locale/az_AZ.js +1 -0
- package/es/time-picker/locale/bg_BG.d.ts +3 -0
- package/es/time-picker/locale/bg_BG.js +1 -0
- package/es/time-picker/locale/bn_BD.d.ts +3 -0
- package/es/time-picker/locale/bn_BD.js +1 -0
- package/es/time-picker/locale/by_BY.d.ts +3 -0
- package/es/time-picker/locale/by_BY.js +1 -0
- package/es/time-picker/locale/ca_ES.d.ts +3 -0
- package/es/time-picker/locale/ca_ES.js +1 -0
- package/es/time-picker/locale/cs_CZ.d.ts +3 -0
- package/es/time-picker/locale/cs_CZ.js +1 -0
- package/es/time-picker/locale/da_DK.d.ts +3 -0
- package/es/time-picker/locale/da_DK.js +1 -0
- package/es/time-picker/locale/de_DE.d.ts +3 -0
- package/es/time-picker/locale/de_DE.js +1 -0
- package/es/time-picker/locale/el_GR.d.ts +3 -0
- package/es/time-picker/locale/el_GR.js +1 -0
- package/es/time-picker/locale/en_GB.d.ts +3 -0
- package/es/time-picker/locale/en_GB.js +1 -0
- package/es/time-picker/locale/en_US.d.ts +3 -0
- package/es/time-picker/locale/en_US.js +1 -0
- package/es/time-picker/locale/es_ES.d.ts +3 -0
- package/es/time-picker/locale/es_ES.js +1 -0
- package/es/time-picker/locale/et_EE.d.ts +3 -0
- package/es/time-picker/locale/et_EE.js +1 -0
- package/es/time-picker/locale/eu_ES.d.ts +3 -0
- package/es/time-picker/locale/eu_ES.js +1 -0
- package/es/time-picker/locale/fa_IR.d.ts +3 -0
- package/es/time-picker/locale/fa_IR.js +1 -0
- package/es/time-picker/locale/fi_FI.d.ts +3 -0
- package/es/time-picker/locale/fi_FI.js +1 -0
- package/es/time-picker/locale/fr_BE.d.ts +3 -0
- package/es/time-picker/locale/fr_BE.js +1 -0
- package/es/time-picker/locale/fr_CA.d.ts +3 -0
- package/es/time-picker/locale/fr_CA.js +1 -0
- package/es/time-picker/locale/fr_FR.d.ts +3 -0
- package/es/time-picker/locale/fr_FR.js +1 -0
- package/es/time-picker/locale/ga_IE.d.ts +3 -0
- package/es/time-picker/locale/ga_IE.js +1 -0
- package/es/time-picker/locale/gl_ES.d.ts +3 -0
- package/es/time-picker/locale/gl_ES.js +1 -0
- package/es/time-picker/locale/he_IL.d.ts +3 -0
- package/es/time-picker/locale/he_IL.js +1 -0
- package/es/time-picker/locale/hi_IN.d.ts +3 -0
- package/es/time-picker/locale/hi_IN.js +1 -0
- package/es/time-picker/locale/hr_HR.d.ts +3 -0
- package/es/time-picker/locale/hr_HR.js +1 -0
- package/es/time-picker/locale/hu_HU.d.ts +3 -0
- package/es/time-picker/locale/hu_HU.js +1 -0
- package/es/time-picker/locale/id_ID.d.ts +3 -0
- package/es/time-picker/locale/id_ID.js +1 -0
- package/es/time-picker/locale/is_IS.d.ts +3 -0
- package/es/time-picker/locale/is_IS.js +1 -0
- package/es/time-picker/locale/it_IT.d.ts +3 -0
- package/es/time-picker/locale/it_IT.js +1 -0
- package/es/time-picker/locale/ja_JP.d.ts +3 -0
- package/es/time-picker/locale/ja_JP.js +1 -0
- package/es/time-picker/locale/ka_GE.d.ts +3 -0
- package/es/time-picker/locale/ka_GE.js +1 -0
- package/es/time-picker/locale/kk_KZ.d.ts +3 -0
- package/es/time-picker/locale/kk_KZ.js +1 -0
- package/es/time-picker/locale/km_KH.d.ts +3 -0
- package/es/time-picker/locale/km_KH.js +1 -0
- package/es/time-picker/locale/kmr_IQ.d.ts +3 -0
- package/es/time-picker/locale/kmr_IQ.js +1 -0
- package/es/time-picker/locale/kn_IN.d.ts +3 -0
- package/es/time-picker/locale/kn_IN.js +1 -0
- package/es/time-picker/locale/ko_KR.d.ts +3 -0
- package/es/time-picker/locale/ko_KR.js +1 -0
- package/es/time-picker/locale/lt_LT.d.ts +3 -0
- package/es/time-picker/locale/lt_LT.js +1 -0
- package/es/time-picker/locale/lv_LV.d.ts +3 -0
- package/es/time-picker/locale/lv_LV.js +1 -0
- package/es/time-picker/locale/mk_MK.d.ts +3 -0
- package/es/time-picker/locale/mk_MK.js +1 -0
- package/es/time-picker/locale/ml_IN.d.ts +3 -0
- package/es/time-picker/locale/ml_IN.js +1 -0
- package/es/time-picker/locale/mn_MN.d.ts +3 -0
- package/es/time-picker/locale/mn_MN.js +1 -0
- package/es/time-picker/locale/ms_MY.d.ts +3 -0
- package/es/time-picker/locale/ms_MY.js +1 -0
- package/es/time-picker/locale/my_MM.d.ts +3 -0
- package/es/time-picker/locale/my_MM.js +1 -0
- package/es/time-picker/locale/nb_NO.d.ts +3 -0
- package/es/time-picker/locale/nb_NO.js +1 -0
- package/es/time-picker/locale/nl_BE.d.ts +3 -0
- package/es/time-picker/locale/nl_BE.js +1 -0
- package/es/time-picker/locale/nl_NL.d.ts +3 -0
- package/es/time-picker/locale/nl_NL.js +1 -0
- package/es/time-picker/locale/pl_PL.d.ts +3 -0
- package/es/time-picker/locale/pl_PL.js +1 -0
- package/es/time-picker/locale/pt_BR.d.ts +3 -0
- package/es/time-picker/locale/pt_BR.js +1 -0
- package/es/time-picker/locale/pt_PT.d.ts +3 -0
- package/es/time-picker/locale/pt_PT.js +1 -0
- package/es/time-picker/locale/ro_RO.d.ts +3 -0
- package/es/time-picker/locale/ro_RO.js +1 -0
- package/es/time-picker/locale/ru_RU.d.ts +4 -0
- package/es/time-picker/locale/ru_RU.js +1 -0
- package/es/time-picker/locale/si_LK.d.ts +3 -0
- package/es/time-picker/locale/si_LK.js +1 -0
- package/es/time-picker/locale/sk_SK.d.ts +3 -0
- package/es/time-picker/locale/sk_SK.js +1 -0
- package/es/time-picker/locale/sl_SI.d.ts +3 -0
- package/es/time-picker/locale/sl_SI.js +1 -0
- package/es/time-picker/locale/sr_RS.d.ts +3 -0
- package/es/time-picker/locale/sr_RS.js +1 -0
- package/es/time-picker/locale/sv_SE.d.ts +3 -0
- package/es/time-picker/locale/sv_SE.js +1 -0
- package/es/time-picker/locale/ta_IN.d.ts +3 -0
- package/es/time-picker/locale/ta_IN.js +1 -0
- package/es/time-picker/locale/th_TH.d.ts +3 -0
- package/es/time-picker/locale/th_TH.js +1 -0
- package/es/time-picker/locale/tk_TK.d.ts +3 -0
- package/es/time-picker/locale/tk_TK.js +1 -0
- package/es/time-picker/locale/tr_TR.d.ts +3 -0
- package/es/time-picker/locale/tr_TR.js +1 -0
- package/es/time-picker/locale/uk_UA.d.ts +3 -0
- package/es/time-picker/locale/uk_UA.js +1 -0
- package/es/time-picker/locale/ur_PK.d.ts +3 -0
- package/es/time-picker/locale/ur_PK.js +1 -0
- package/es/time-picker/locale/uz_UZ.d.ts +3 -0
- package/es/time-picker/locale/uz_UZ.js +1 -0
- package/es/time-picker/locale/vi_VN.d.ts +3 -0
- package/es/time-picker/locale/vi_VN.js +1 -0
- package/es/time-picker/locale/zh_CN.d.ts +3 -0
- package/es/time-picker/locale/zh_CN.js +1 -0
- package/es/time-picker/locale/zh_TW.d.ts +3 -0
- package/es/time-picker/locale/zh_TW.js +1 -0
- package/es/timeline/Timeline.d.ts +20 -0
- package/es/timeline/Timeline.js +48 -0
- package/es/timeline/TimelineItem.d.ts +20 -0
- package/es/timeline/TimelineItem.js +40 -0
- package/es/timeline/TimelineItemList.d.ts +7 -0
- package/es/timeline/TimelineItemList.js +40 -0
- package/es/timeline/index.d.ts +4 -0
- package/es/timeline/index.js +48 -0
- package/es/timeline/style/index.d.ts +31 -0
- package/es/timeline/style/index.js +43 -0
- package/es/timeline/useItems.d.ts +4 -0
- package/es/timeline/useItems.js +1 -0
- package/es/tooltip/PurePanel.d.ts +7 -0
- package/es/tooltip/PurePanel.js +49 -0
- package/es/tooltip/index.d.ts +80 -0
- package/es/tooltip/index.js +49 -0
- package/es/tooltip/style/index.d.ts +13 -0
- package/es/tooltip/style/index.js +44 -0
- package/es/tooltip/util.d.ts +6 -0
- package/es/tooltip/util.js +1 -0
- package/es/tour/PurePanel.d.ts +6 -0
- package/es/tour/PurePanel.js +57 -0
- package/es/tour/index.d.ts +7 -0
- package/es/tour/index.js +57 -0
- package/es/tour/interface.d.ts +31 -0
- package/es/tour/interface.js +0 -0
- package/es/tour/panelRender.d.ts +12 -0
- package/es/tour/panelRender.js +48 -0
- package/es/tour/style/index.d.ts +28 -0
- package/es/tour/style/index.js +35 -0
- package/es/transfer/ListBody.d.ts +17 -0
- package/es/transfer/ListBody.js +117 -0
- package/es/transfer/ListItem.d.ts +15 -0
- package/es/transfer/ListItem.js +46 -0
- package/es/transfer/hooks/useData.d.ts +5 -0
- package/es/transfer/hooks/useData.js +1 -0
- package/es/transfer/hooks/useSelection.d.ts +9 -0
- package/es/transfer/hooks/useSelection.js +1 -0
- package/es/transfer/index.d.ts +91 -0
- package/es/transfer/index.js +154 -0
- package/es/transfer/interface.d.ts +7 -0
- package/es/transfer/interface.js +0 -0
- package/es/transfer/list.d.ts +48 -0
- package/es/transfer/list.js +154 -0
- package/es/transfer/operation.d.ts +17 -0
- package/es/transfer/operation.js +48 -0
- package/es/transfer/search.d.ts +11 -0
- package/es/transfer/search.js +66 -0
- package/es/transfer/style/index.d.ts +36 -0
- package/es/transfer/style/index.js +35 -0
- package/es/tree/DirectoryTree.d.ts +16 -0
- package/es/tree/DirectoryTree.js +48 -0
- package/es/tree/Tree.d.ts +136 -0
- package/es/tree/Tree.js +48 -0
- package/es/tree/index.d.ts +16 -0
- package/es/tree/index.js +48 -0
- package/es/tree/style/directory.d.ts +3 -0
- package/es/tree/style/directory.js +1 -0
- package/es/tree/style/index.d.ts +57 -0
- package/es/tree/style/index.js +43 -0
- package/es/tree/utils/dictUtil.d.ts +13 -0
- package/es/tree/utils/dictUtil.js +1 -0
- package/es/tree/utils/dropIndicator.d.ts +11 -0
- package/es/tree/utils/dropIndicator.js +1 -0
- package/es/tree/utils/iconUtil.d.ts +13 -0
- package/es/tree/utils/iconUtil.js +1 -0
- package/es/tree-select/index.d.ts +61 -0
- package/es/tree-select/index.js +86 -0
- package/es/tree-select/style/index.d.ts +6 -0
- package/es/tree-select/style/index.js +43 -0
- package/es/type/index.d.ts +1 -0
- package/es/type/index.js +353 -0
- package/es/typography/Base/CopyBtn.d.ts +13 -0
- package/es/typography/Base/CopyBtn.js +49 -0
- package/es/typography/Base/Ellipsis.d.ts +18 -0
- package/es/typography/Base/Ellipsis.js +1 -0
- package/es/typography/Base/EllipsisTooltip.d.ts +10 -0
- package/es/typography/Base/EllipsisTooltip.js +49 -0
- package/es/typography/Base/index.d.ts +59 -0
- package/es/typography/Base/index.js +83 -0
- package/es/typography/Base/util.d.ts +10 -0
- package/es/typography/Base/util.js +1 -0
- package/es/typography/Editable.d.ts +20 -0
- package/es/typography/Editable.js +74 -0
- package/es/typography/Link.d.ts +7 -0
- package/es/typography/Link.js +83 -0
- package/es/typography/Paragraph.d.ts +6 -0
- package/es/typography/Paragraph.js +83 -0
- package/es/typography/Text.d.ts +7 -0
- package/es/typography/Text.js +83 -0
- package/es/typography/Title.d.ts +8 -0
- package/es/typography/Title.js +83 -0
- package/es/typography/Typography.d.ts +19 -0
- package/es/typography/Typography.js +56 -0
- package/es/typography/hooks/useCopyClick.d.ts +11 -0
- package/es/typography/hooks/useCopyClick.js +1 -0
- package/es/typography/hooks/useMergedConfig.d.ts +1 -0
- package/es/typography/hooks/useMergedConfig.js +1 -0
- package/es/typography/hooks/usePrevious.d.ts +2 -0
- package/es/typography/hooks/usePrevious.js +1 -0
- package/es/typography/hooks/useTooltipProps.d.ts +61 -0
- package/es/typography/hooks/useTooltipProps.js +1 -0
- package/es/typography/index.d.ts +13 -0
- package/es/typography/index.js +83 -0
- package/es/typography/style/index.d.ts +18 -0
- package/es/typography/style/index.js +51 -0
- package/es/typography/style/mixins.d.ts +9 -0
- package/es/typography/style/mixins.js +6 -0
- package/es/upload/Dragger.d.ts +10 -0
- package/es/upload/Dragger.js +80 -0
- package/es/upload/Upload.d.ts +23 -0
- package/es/upload/Upload.js +80 -0
- package/es/upload/UploadList/ListItem.d.ts +28 -0
- package/es/upload/UploadList/ListItem.js +49 -0
- package/es/upload/UploadList/index.d.ts +8 -0
- package/es/upload/UploadList/index.js +57 -0
- package/es/upload/index.d.ts +13 -0
- package/es/upload/index.js +80 -0
- package/es/upload/interface.d.ts +138 -0
- package/es/upload/interface.js +0 -0
- package/es/upload/style/dragger.d.ts +4 -0
- package/es/upload/style/dragger.js +7 -0
- package/es/upload/style/index.d.ts +16 -0
- package/es/upload/style/index.js +66 -0
- package/es/upload/style/list.d.ts +4 -0
- package/es/upload/style/list.js +4 -0
- package/es/upload/style/motion.d.ts +4 -0
- package/es/upload/style/motion.js +10 -0
- package/es/upload/style/picture.d.ts +5 -0
- package/es/upload/style/picture.js +12 -0
- package/es/upload/style/rtl.d.ts +4 -0
- package/es/upload/style/rtl.js +1 -0
- package/es/upload/utils.d.ts +8 -0
- package/es/upload/utils.js +2 -0
- package/es/version/index.d.ts +2 -0
- package/es/version/index.js +1 -0
- package/es/watermark/context.d.ts +8 -0
- package/es/watermark/context.js +1 -0
- package/es/watermark/index.d.ts +26 -0
- package/es/watermark/index.js +35 -0
- package/es/watermark/useClips.d.ts +7 -0
- package/es/watermark/useClips.js +1 -0
- package/es/watermark/useRafDebounce.d.ts +4 -0
- package/es/watermark/useRafDebounce.js +1 -0
- package/es/watermark/useWatermark.d.ts +13 -0
- package/es/watermark/useWatermark.js +1 -0
- package/es/watermark/utils.d.ts +7 -0
- package/es/watermark/utils.js +1 -0
- package/package.json +147 -0
- package/umd/index.min.js +626 -0
package/es/list/index.js
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import*as z from'react';import z__default,{useContext,createContext,useMemo,Children,useRef}from'react';import zo from'classnames';import {createTheme,Keyframes,unit,useCacheToken,useStyleRegister}from'@ant-design/cssinjs';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';import Qa from'@ant-design/icons/lib/components/Context';import qa from'rc-util/lib/hooks/useMemo';import {merge}from'rc-util/lib/utils/set';import Ra,{resetWarned}from'rc-util/lib/warning';import La from'rc-pagination/lib/locale/en_US';import Oa from'rc-picker/lib/locale/en_US';import Fa from'rc-util/lib/Dom/canUseDom';import {updateCSS}from'rc-util/lib/Dom/dynamicCSS';import Ka from'rc-util/lib/isEqual';import {Provider}from'rc-motion';import Rl from'rc-util/lib/hooks/useLayoutEffect';import vi from'@ant-design/icons/DoubleLeftOutlined';import Ti from'@ant-design/icons/DoubleRightOutlined';import Pi from'@ant-design/icons/LeftOutlined';import Ii from'@ant-design/icons/RightOutlined';import sc from'rc-pagination';import Hs,{Option,OptGroup}from'rc-select';import Gs from'rc-util/lib/omit';import Hl from'rc-util/lib/hooks/useMergedState';import'rc-field-form';import'rc-util/lib/Children/toArray';import Es from'@ant-design/icons/CheckOutlined';import Os from'@ant-design/icons/CloseCircleFilled';import Bs from'@ant-design/icons/CloseOutlined';import Ls from'@ant-design/icons/DownOutlined';import Ns from'@ant-design/icons/LoadingOutlined';import Ds from'@ant-design/icons/SearchOutlined';import {debounce}from'throttle-debounce';var ta=(...e)=>{let o={...e[0]};for(let t=1;t<e.length;t++){let r=e[t];r&&Object.keys(r).forEach(n=>{let i=r[n];i!==void 0&&(o[n]=i);});}return o},$r=ta;function Tr(e){return (e+8)/e}function Rt(e){let o=new Array(10).fill(null).map((t,r)=>{let n=r-1,i=e*Math.E**(n/5),a=r>1?Math.floor(i):Math.ceil(i);return Math.floor(a/2)*2});return o[1]=e,o.map(t=>({size:t,lineHeight:Tr(t)}))}var Pr={version:"0.0.2"};var Ir=Pr.version;var wt={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},na={...wt,colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
2
|
+
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
3
|
+
'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:false,motion:true},Re=na;function zt(e,{generateColorPalettes:o,generateNeutralColorPalettes:t}){let{colorSuccess:r,colorWarning:n,colorError:i,colorInfo:a,colorPrimary:l,colorBgBase:s,colorTextBase:c}=e,p=o(l),d=o(r),u=o(n),S=o(i),f=o(a),y=t(s,c),h=e.colorLink||e.colorInfo,m=o(h),C=new TinyColor(S[1]).mix(new TinyColor(S[3]),50).toHexString();return {...y,colorPrimaryBg:p[1],colorPrimaryBgHover:p[2],colorPrimaryBorder:p[3],colorPrimaryBorderHover:p[4],colorPrimaryHover:p[5],colorPrimary:p[6],colorPrimaryActive:p[7],colorPrimaryTextHover:p[8],colorPrimaryText:p[9],colorPrimaryTextActive:p[10],colorSuccessBg:d[1],colorSuccessBgHover:d[2],colorSuccessBorder:d[3],colorSuccessBorderHover:d[4],colorSuccessHover:d[4],colorSuccess:d[6],colorSuccessActive:d[7],colorSuccessTextHover:d[8],colorSuccessText:d[9],colorSuccessTextActive:d[10],colorErrorBg:S[1],colorErrorBgHover:S[2],colorErrorBgFilledHover:C,colorErrorBgActive:S[3],colorErrorBorder:S[3],colorErrorBorderHover:S[4],colorErrorHover:S[5],colorError:S[6],colorErrorActive:S[7],colorErrorTextHover:S[8],colorErrorText:S[9],colorErrorTextActive:S[10],colorWarningBg:u[1],colorWarningBgHover:u[2],colorWarningBorder:u[3],colorWarningBorderHover:u[4],colorWarningHover:u[4],colorWarning:u[6],colorWarningActive:u[7],colorWarningTextHover:u[8],colorWarningText:u[9],colorWarningTextActive:u[10],colorInfoBg:f[1],colorInfoBgHover:f[2],colorInfoBorder:f[3],colorInfoBorderHover:f[4],colorInfoHover:f[4],colorInfo:f[6],colorInfoActive:f[7],colorInfoTextHover:f[8],colorInfoText:f[9],colorInfoTextActive:f[10],colorLinkHover:m[4],colorLink:m[6],colorLinkActive:m[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var ia=e=>{let o=e,t=e,r=e,n=e;return e<6&&e>=5?o=e+1:e<16&&e>=6?o=e+2:e>=16&&(o=16),e<7&&e>=5?t=4:e<8&&e>=7?t=5:e<14&&e>=8?t=6:e<16&&e>=14?t=7:e>=16&&(t=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?n=4:e>=8&&(n=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:t,borderRadiusLG:o,borderRadiusOuter:n}},Rr=ia;function Et(e){let{motionUnit:o,motionBase:t,borderRadius:r,lineWidth:n}=e;return {motionDurationFast:`${(t+o).toFixed(1)}s`,motionDurationMid:`${(t+o*2).toFixed(1)}s`,motionDurationSlow:`${(t+o*3).toFixed(1)}s`,lineWidthBold:n+1,...Rr(r)}}var aa=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},wr=aa;var la=e=>{let o=Rt(e),t=o.map(p=>p.size),r=o.map(p=>p.lineHeight),n=t[1],i=t[0],a=t[2],l=r[1],s=r[0],c=r[2];return {fontSizeSM:i,fontSize:n,fontSizeLG:a,fontSizeXL:t[3],fontSizeHeading1:t[6],fontSizeHeading2:t[5],fontSizeHeading3:t[4],fontSizeHeading4:t[3],fontSizeHeading5:t[2],lineHeight:l,lineHeightLG:c,lineHeightSM:s,fontHeight:Math.round(l*n),fontHeightLG:Math.round(c*a),fontHeightSM:Math.round(s*i),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}},Mr=la;function Ot(e){let{sizeUnit:o,sizeStep:t}=e;return {sizeXXL:o*(t+8),sizeXL:o*(t+4),sizeLG:o*(t+2),sizeMD:o*(t+1),sizeMS:o*t,size:o*t,sizeSM:o*(t-1),sizeXS:o*(t-2),sizeXXS:o*(t-3)}}var le=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),no=(e,o)=>new TinyColor(e).darken(o).toHexString();var Er=e=>{let o=generate(e);return {1:o[0],2:o[1],3:o[2],4:o[3],5:o[4],6:o[5],7:o[6],8:o[4],9:o[5],10:o[6]}},Or=(e,o)=>{let t=e||"#fff",r=o||"#000";return {colorBgBase:t,colorTextBase:r,colorText:le(r,.88),colorTextSecondary:le(r,.65),colorTextTertiary:le(r,.45),colorTextQuaternary:le(r,.25),colorFill:le(r,.15),colorFillSecondary:le(r,.06),colorFillTertiary:le(r,.04),colorFillQuaternary:le(r,.02),colorBgSolid:le(r,1),colorBgSolidHover:le(r,.75),colorBgSolidActive:le(r,.95),colorBgLayout:no(t,4),colorBgContainer:no(t,0),colorBgElevated:no(t,0),colorBgSpotlight:le(r,.85),colorBgBlur:"transparent",colorBorder:no(t,15),colorBorderSecondary:no(t,6)}};function Nt(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys(wt).map(t=>{let r=e[t]===presetPrimaryColors[t]?presetPalettes[t]:generate(e[t]);return new Array(10).fill(1).reduce((n,i,a)=>(n[`${t}-${a+1}`]=r[a],n[`${t}${a+1}`]=r[a],n),{})}).reduce((t,r)=>(t={...t,...r},t),{});return {...e,...o,...zt(e,{generateColorPalettes:Er,generateNeutralColorPalettes:Or}),...Mr(e.fontSize),...Ot(e),...wr(e),...Et(e)}}var Lo=createTheme(Nt),So={token:Re,override:{override:Re},hashed:true},yo=z__default.createContext(So);function Dt(e){return e>=0&&e<=255}function da(e,o){let{r:t,g:r,b:n,a:i}=new TinyColor(e).toRgb();if(i<1)return e;let{r:a,g:l,b:s}=new TinyColor(o).toRgb();for(let c=.01;c<=1;c+=.01){let p=Math.round((t-a*(1-c))/c),d=Math.round((r-l*(1-c))/c),u=Math.round((n-s*(1-c))/c);if(Dt(p)&&Dt(d)&&Dt(u))return new TinyColor({r:p,g:d,b:u,a:Math.round(c*100)/100}).toRgbString()}return new TinyColor({r:t,g:r,b:n,a:1}).toRgbString()}var xo=da;function Do(e){let{override:o,...t}=e,r={...o};Object.keys(Re).forEach(u=>{delete r[u];});let n={...t,...r},i=480,a=576,l=768,s=992,c=1200,p=1600;return n.motion===false&&(n.motionDurationFast="0s",n.motionDurationMid="0s",n.motionDurationSlow="0s"),{...n,colorFillContent:n.colorFillSecondary,colorFillContentHover:n.colorFill,colorFillAlter:n.colorFillQuaternary,colorBgContainerDisabled:n.colorFillTertiary,colorBorderBg:n.colorBgContainer,colorSplit:xo(n.colorBorderSecondary,n.colorBgContainer),colorTextPlaceholder:n.colorTextQuaternary,colorTextDisabled:n.colorTextQuaternary,colorTextHeading:n.colorText,colorTextLabel:n.colorTextSecondary,colorTextDescription:n.colorTextTertiary,colorTextLightSolid:n.colorWhite,colorHighlight:n.colorError,colorBgTextHover:n.colorFillSecondary,colorBgTextActive:n.colorFill,colorIcon:n.colorTextTertiary,colorIconHover:n.colorText,colorErrorOutline:xo(n.colorErrorBg,n.colorBgContainer),colorWarningOutline:xo(n.colorWarningBg,n.colorBgContainer),fontSizeIcon:n.fontSizeSM,lineWidthFocus:n.lineWidth*3,lineWidth:n.lineWidth,controlOutlineWidth:n.lineWidth*2,controlInteractiveSize:n.controlHeight/2,controlItemBgHover:n.colorFillTertiary,controlItemBgActive:n.colorPrimaryBg,controlItemBgActiveHover:n.colorPrimaryBgHover,controlItemBgActiveDisabled:n.colorFill,controlTmpOutline:n.colorFillQuaternary,controlOutline:xo(n.colorPrimaryBg,n.colorBgContainer),lineType:n.lineType,borderRadius:n.borderRadius,borderRadiusXS:n.borderRadiusXS,borderRadiusSM:n.borderRadiusSM,borderRadiusLG:n.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:n.sizeXXS,paddingXS:n.sizeXS,paddingSM:n.sizeSM,padding:n.size,paddingMD:n.sizeMD,paddingLG:n.sizeLG,paddingXL:n.sizeXL,paddingContentHorizontalLG:n.sizeLG,paddingContentVerticalLG:n.sizeMS,paddingContentHorizontal:n.sizeMS,paddingContentVertical:n.sizeSM,paddingContentHorizontalSM:n.size,paddingContentVerticalSM:n.sizeXS,marginXXS:n.sizeXXS,marginXS:n.sizeXS,marginSM:n.sizeSM,margin:n.size,marginMD:n.sizeMD,marginLG:n.sizeLG,marginXL:n.sizeXL,marginXXL:n.sizeXXL,boxShadow:`
|
|
4
|
+
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
5
|
+
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
6
|
+
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
7
|
+
`,boxShadowSecondary:`
|
|
8
|
+
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
9
|
+
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
10
|
+
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
11
|
+
`,boxShadowTertiary:`
|
|
12
|
+
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
|
13
|
+
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
14
|
+
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
15
|
+
`,screenXS:i,screenXSMin:i,screenXSMax:a-1,screenSM:a,screenSMMin:a,screenSMMax:l-1,screenMD:l,screenMDMin:l,screenMDMax:s-1,screenLG:s,screenLGMin:s,screenLGMax:c-1,screenXL:c,screenXLMin:c,screenXLMax:p-1,screenXXL:p,screenXXLMin:p,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
|
16
|
+
0 1px 2px -2px ${new TinyColor("rgba(0, 0, 0, 0.16)").toRgbString()},
|
|
17
|
+
0 3px 6px 0 ${new TinyColor("rgba(0, 0, 0, 0.12)").toRgbString()},
|
|
18
|
+
0 5px 12px 4px ${new TinyColor("rgba(0, 0, 0, 0.09)").toRgbString()}
|
|
19
|
+
`,boxShadowDrawerRight:`
|
|
20
|
+
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
21
|
+
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
22
|
+
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
23
|
+
`,boxShadowDrawerLeft:`
|
|
24
|
+
6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
25
|
+
3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
26
|
+
9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
27
|
+
`,boxShadowDrawerUp:`
|
|
28
|
+
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
29
|
+
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
30
|
+
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
31
|
+
`,boxShadowDrawerDown:`
|
|
32
|
+
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
33
|
+
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
34
|
+
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
35
|
+
`,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)",...r}}var At={lineHeight:true,lineHeightSM:true,lineHeightLG:true,lineHeightHeading1:true,lineHeightHeading2:true,lineHeightHeading3:true,lineHeightHeading4:true,lineHeightHeading5:true,opacityLoading:true,fontWeightStrong:true,zIndexPopupBase:true,zIndexBase:true,opacityImage:true},fa={size:true,sizeSM:true,sizeLG:true,sizeMD:true,sizeXS:true,sizeXXS:true,sizeMS:true,sizeXL:true,sizeXXL:true,sizeUnit:true,sizeStep:true,motionBase:true,motionUnit:true},Ca={screenXS:true,screenXSMin:true,screenXSMax:true,screenSM:true,screenSMMin:true,screenSMMax:true,screenMD:true,screenMDMin:true,screenMDMax:true,screenLG:true,screenLGMin:true,screenLGMax:true,screenXL:true,screenXLMin:true,screenXLMax:true,screenXXL:true,screenXXLMin:true},Br=(e,o,t)=>{let r=t.getDerivativeToken(e),{override:n,...i}=o,a={...r,override:n};return a=Do(a),i&&Object.entries(i).forEach(([l,s])=>{let{theme:c,...p}=s,d=p;c&&(d=Br({...a,...p},{override:p},c)),a[l]=d;}),a};function N(){let{token:e,hashed:o,theme:t,override:r,cssVar:n}=z__default.useContext(yo),i=`${Ir}-${o||""}`,a=t||Lo,[l,s,c]=useCacheToken(a,[Re,e],{salt:i,override:r,getComputedToken:Br,formatToken:Do,cssVar:n&&{prefix:n.prefix,key:n.key,unitless:At,ignore:fa,preserve:Ca}});return [a,c,o?s:"",l,n]}var ho="ant",bo="anticon",Ft=["outlined","borderless","filled"],Sa=(e,o)=>o||(e?`${ho}-${e}`:ho),v=z.createContext({getPrefixCls:Sa,iconPrefixCls:bo}),{Consumer:ya}=v;var $o={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},Y=(e,o=false)=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:o?"inherit":e.fontFamily}),vo=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),Nr=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),Dr=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),Hr=(e,o,t,r)=>{let n=`[class^="${o}"], [class*=" ${o}"]`,i=t?`.${t}`:n,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},l={};return r!==false&&(l={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:{...l,...a,[n]:a}}},Ho=e=>({outline:`${unit(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),Ar=e=>({"&:focus-visible":{...Ho(e)}}),Ao=e=>({[`.${e}`]:{...vo(),[`.${e} .${e}-icon`]:{display:"block"}}});var{genStyleHooks:F,genComponentStyleHook:ba,genSubStyleComponent:Gt}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:o}=useContext(v);return {rootPrefixCls:e(),iconPrefixCls:o}},useToken:()=>{let[e,o,t,r,n]=N();return {theme:e,realToken:o,hashId:t,token:r,cssVar:n}},useCSP:()=>{let{csp:e}=useContext(v);return e??{}},getResetStyles:(e,o)=>[{"&":Dr(e)},Ao(o?.prefix.iconPrefixCls??bo)],getCommonStyle:Hr,getCompUnitless:(()=>At)});var va=(e,o)=>{let[t,r]=N();return useStyleRegister({theme:t,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>o?.nonce,layer:{name:"antd"}},()=>[Ao(e)])},Fo=va;var we=["xxl","xl","lg","md","sm","xs"],Pa=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),Ia=e=>{let o=e,t=[...we].reverse();return t.forEach((r,n)=>{let i=r.toUpperCase(),a=`screen${i}Min`,l=`screen${i}`;if(!(o[a]<=o[l]))throw new Error(`${a}<=${l} fails : !(${o[a]}<=${o[l]})`);if(n<t.length-1){let s=`screen${i}Max`;if(!(o[l]<=o[s]))throw new Error(`${l}<=${s} fails : !(${o[l]}<=${o[s]})`);let p=`screen${t[n+1].toUpperCase()}Min`;if(!(o[s]<=o[p]))throw new Error(`${s}<=${p} fails : !(${o[s]}<=${o[p]})`)}}),e};function To(){let[,e]=N(),o=Pa(Ia(e));return z__default.useMemo(()=>{let t=new Map,r=-1,n={};return {matchHandlers:{},dispatch(i){return n=i,t.forEach(a=>a(n)),t.size>=1},subscribe(i){return t.size||this.register(),r+=1,t.set(r,i),i(n),r},unsubscribe(i){t.delete(i),t.size||this.unregister();},unregister(){Object.keys(o).forEach(i=>{let a=o[i],l=this.matchHandlers[a];l?.mql.removeListener(l?.listener);}),t.clear();},register(){Object.keys(o).forEach(i=>{let a=o[i],l=({matches:c})=>{this.dispatch({...n,[i]:c});},s=window.matchMedia(a);s.addListener(l),this.matchHandlers[a]={mql:s,listener:l},l(s);});},responsiveMap:o}},[e])}function Gr(){}var Me=null;function Ma(){Me=null,resetWarned();}var Wt=Gr;process.env.NODE_ENV!=="production"&&(Wt=(e,o,t)=>{Ra(e,`[swiftcrab: ${o}] ${t}`),process.env.NODE_ENV==="test"&&Ma();});var kt=z.createContext({}),G=process.env.NODE_ENV!=="production"?e=>{let{strict:o}=z.useContext(kt),t=(r,n,i)=>{if(!r)if(o===false&&n==="deprecated"){let a=Me;Me||(Me={}),Me[e]=Me[e]||[],Me[e].includes(i||"")||Me[e].push(i||""),a||console.warn("[swiftcrab] There exists deprecated usage in your code:",Me);}else Wt(r,e,i);};return t.deprecated=(r,n,i,a)=>{t(r,"deprecated",`\`${n}\` is deprecated. Please use \`${i}\` instead.${a?` ${a}`:""}`);},t}:()=>{let e=()=>{};return e.deprecated=Gr,e},io=Wt;var Wr=createContext(void 0);var Ea={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Wo=Ea;var Ba={lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],...Oa},timePickerLocale:{...Wo}},ko=Ba;var kr=ko;var se="${label} is not a valid ${type}",Na={locale:"en",Pagination:La,DatePicker:ko,TimePicker:Wo,Calendar:kr,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:se,method:se,array:se,object:se,number:se,date:se,boolean:se,integer:se,float:se,regexp:se,email:se,url:se,hex:se},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}},ze=Na;({...ze.Modal});var jo=[],jr=()=>jo.reduce((e,o)=>({...e,...o}),ze.Modal);function Vr(e){if(e){let o={...e};return jo.push(o),jr(),()=>{jo=jo.filter(t=>t!==o),jr();}}({...ze.Modal});}var Ha=createContext(void 0),ao=Ha;var Aa=(e,o)=>{let t=z.useContext(ao),r=z.useMemo(()=>{let i=o||ze[e],a=t?.[e]??{};return {...typeof i=="function"?i():i,...a||{}}},[e,o,t]),n=z.useMemo(()=>{let i=t?.locale;return t?.exist&&!i?ze.locale:i},[t]);return [r,n]},Ee=Aa;var Vt="internalMark",_r=e=>{let{locale:o={},children:t,_ANT_MARK__:r}=e;process.env.NODE_ENV!=="production"&&G("LocaleProvider")(r===Vt,"deprecated","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale"),z.useEffect(()=>Vr(o?.Modal),[o]);let n=z.useMemo(()=>({...o,exist:true}),[o]);return z.createElement(ao.Provider,{value:n},t)};process.env.NODE_ENV!=="production"&&(_r.displayName="LocaleProvider");var Xr=_r;var Wa=`-ant-${Date.now()}-${Math.random()}`;function ka(e,o){let t={},r=(a,l)=>{let s=a.clone();return s=l?.(s)||s,s.toRgbString()},n=(a,l)=>{let s=new TinyColor(a),c=generate(s.toRgbString());t[`${l}-color`]=r(s),t[`${l}-color-disabled`]=c[1],t[`${l}-color-hover`]=c[4],t[`${l}-color-active`]=c[6],t[`${l}-color-outline`]=s.clone().setAlpha(.2).toRgbString(),t[`${l}-color-deprecated-bg`]=c[0],t[`${l}-color-deprecated-border`]=c[2];};if(o.primaryColor){n(o.primaryColor,"primary");let a=new TinyColor(o.primaryColor),l=generate(a.toRgbString());l.forEach((c,p)=>{t[`primary-${p+1}`]=c;}),t["primary-color-deprecated-l-35"]=r(a,c=>c.lighten(35)),t["primary-color-deprecated-l-20"]=r(a,c=>c.lighten(20)),t["primary-color-deprecated-t-20"]=r(a,c=>c.tint(20)),t["primary-color-deprecated-t-50"]=r(a,c=>c.tint(50)),t["primary-color-deprecated-f-12"]=r(a,c=>c.setAlpha(c.getAlpha()*.12));let s=new TinyColor(l[0]);t["primary-color-active-deprecated-f-30"]=r(s,c=>c.setAlpha(c.getAlpha()*.3)),t["primary-color-active-deprecated-d-02"]=r(s,c=>c.darken(2));}return o.successColor&&n(o.successColor,"success"),o.warningColor&&n(o.warningColor,"warning"),o.errorColor&&n(o.errorColor,"error"),o.infoColor&&n(o.infoColor,"info"),`
|
|
36
|
+
:root {
|
|
37
|
+
${Object.keys(t).map(a=>`--${e}-${a}: ${t[a]};`).join(`
|
|
38
|
+
`)}
|
|
39
|
+
}
|
|
40
|
+
`.trim()}function qr(e,o){let t=ka(e,o);Fa()?updateCSS(t,`${Wa}-dynamic-theme`):io(false,"ConfigProvider","SSR do not support dynamic theme with css variables.");}var Xt=z.createContext(false),Kr=({children:e,disabled:o})=>{let t=z.useContext(Xt);return z.createElement(Xt.Provider,{value:o??t},e)},Vo=Xt;var Ut=z.createContext(void 0),Zr=({children:e,size:o})=>{let t=z.useContext(Ut);return z.createElement(Ut.Provider,{value:o||t},e)},_e=Ut;function ja(){let e=useContext(Vo),o=useContext(_e);return {componentDisabled:e,componentSize:o}}var Yr=ja;var _a={...z},{useId:Jr}=_a,Xa=()=>"",Ua=typeof Jr>"u"?Xa:Jr,en=Ua;function qt(e,o,t){let r=G("ConfigProvider"),n=e||{},i=n.inherit===false||!o?{...So,hashed:o?.hashed??So.hashed,cssVar:o?.cssVar}:o,a=en();if(process.env.NODE_ENV!=="production"){let l=n.cssVar||i.cssVar,s=!!(typeof n.cssVar=="object"&&n.cssVar?.key||a);r(!l||s,"breaking","Missing key in `cssVar` config. Please upgrade to React 18 or set `cssVar.key` manually in each ConfigProvider inside `cssVar` enabled ConfigProvider.");}return qa(()=>{if(!e)return o;let l={...i.components};Object.keys(e.components||{}).forEach(p=>{l[p]={...l[p],...e.components[p]};});let s=`css-var-${a.replace(/:/g,"")}`,c=(n.cssVar??i.cssVar)&&{prefix:t?.prefixCls,...typeof i.cssVar=="object"?i.cssVar:{},...typeof n.cssVar=="object"?n.cssVar:{},key:typeof n.cssVar=="object"&&n.cssVar?.key||s};return {...i,...n,token:{...i.token,...n.token},components:l,cssVar:c}},[n,i],(l,s)=>l.some((c,p)=>{let d=s[p];return !Ka(c,d,true)}))}function Kt(e){let{children:o}=e,[,t]=N(),{motion:r}=t,n=z.useRef(false);return n.current=n.current||r===false,n.current?z.createElement(Provider,{motion:r},o):o}var tn=z.memo(({dropdownMatchSelectWidth:e})=>(G("ConfigProvider").deprecated(e===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null));process.env.NODE_ENV!=="production"&&(tn.displayName="PropWarning");var rn=process.env.NODE_ENV!=="production"?tn:()=>null;var Zt=false;process.env.NODE_ENV!=="production"?e=>{io(!Zt,e,"Static function can not consume context like dynamic theme. Please use 'App' component instead.");}:null;var el=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"],an;function nl(){return an||ho}function il(e){return Object.keys(e).some(o=>o.endsWith("Color"))}var al=e=>{let{prefixCls:o,iconPrefixCls:t,theme:r,holderRender:n}=e;o!==void 0&&(an=o),r&&(il(r)?(io(false,"ConfigProvider","`config` of css variable theme is not work in v5. Please use new `theme` config instead."),qr(nl(),r)):r);};var ll=e=>{let{children:o,csp:t,autoInsertSpaceInButton:r,alert:n,anchor:i,form:a,locale:l,componentSize:s,direction:c,space:p,splitter:d,virtual:u,dropdownMatchSelectWidth:S,popupMatchSelectWidth:f,popupOverflow:y,legacyLocale:h,parentContext:m,iconPrefixCls:C,theme:g,componentDisabled:M,segmented:P,statistic:x,spin:b,calendar:I,carousel:R,cascader:$,collapse:U,typography:J,checkbox:K,descriptions:ee,divider:k,drawer:ye,skeleton:ne,steps:fe,image:H,layout:O,list:pe,mentions:Ce,modal:je,progress:w,result:Se,slider:Z,breadcrumb:me,menu:ve,pagination:j,input:Te,textArea:xe,empty:Pe,badge:Ne,radio:oe,rate:ie,switch:De,transfer:Ve,avatar:He,message:uo,tag:B,table:V,card:Q,tabs:dt,timeline:Je,timePicker:gt,upload:ut,notification:ft,tree:Ct,colorPicker:St,datePicker:yt,rangePicker:xt,flex:Eo,wave:ht,dropdown:bt,warning:$t,tour:vt,variant:Tt,inputNumber:ae,treeSelect:Qi}=e,yr=z.useCallback((A,he)=>{let{prefixCls:to}=e;if(he)return he;let ro=to||m.getPrefixCls("");return A?`${ro}-${A}`:ro},[m.getPrefixCls,e.prefixCls]),fo=C||m.iconPrefixCls||bo,Co=t||m.csp;Fo(fo,Co);let Oo=qt(g,m.theme,{prefixCls:yr("")});process.env.NODE_ENV!=="production"&&(Zt=Zt||!!Oo);let Pt={csp:Co,autoInsertSpaceInButton:r,alert:n,anchor:i,locale:l||h,direction:c,space:p,splitter:d,virtual:u,popupMatchSelectWidth:f??S,popupOverflow:y,getPrefixCls:yr,iconPrefixCls:fo,theme:Oo,segmented:P,statistic:x,spin:b,calendar:I,carousel:R,cascader:$,collapse:U,typography:J,checkbox:K,descriptions:ee,divider:k,drawer:ye,skeleton:ne,steps:fe,image:H,input:Te,textArea:xe,layout:O,list:pe,mentions:Ce,modal:je,progress:w,result:Se,slider:Z,breadcrumb:me,menu:ve,pagination:j,empty:Pe,badge:Ne,radio:oe,rate:ie,switch:De,transfer:Ve,avatar:He,message:uo,tag:B,table:V,card:Q,tabs:dt,timeline:Je,timePicker:gt,upload:ut,notification:ft,tree:Ct,colorPicker:St,datePicker:yt,rangePicker:xt,flex:Eo,wave:ht,dropdown:bt,warning:$t,tour:vt,variant:Tt,inputNumber:ae,treeSelect:Qi};process.env.NODE_ENV!=="production"&&G("ConfigProvider")(!("autoInsertSpaceInButton"in e),"deprecated","`autoInsertSpaceInButton` is deprecated. Please use `{ button: { autoInsertSpace: boolean }}` instead.");let eo={...m};Object.keys(Pt).forEach(A=>{Pt[A]!==void 0&&(eo[A]=Pt[A]);}),el.forEach(A=>{let he=e[A];he&&(eo[A]=he);}),typeof r<"u"&&(eo.button={autoInsertSpace:r,...eo.button});let oo=qa(()=>eo,eo,(A,he)=>{let to=Object.keys(A),ro=Object.keys(he);return to.length!==ro.length||to.some(Bo=>A[Bo]!==he[Bo])}),Yi=z.useMemo(()=>({prefixCls:fo,csp:Co}),[fo,Co]),_=z.createElement(z.Fragment,null,z.createElement(rn,{dropdownMatchSelectWidth:S}),o),xr=z.useMemo(()=>merge(ze.Form?.defaultValidateMessages||{},oo.locale?.Form?.defaultValidateMessages||{},oo.form?.validateMessages||{},a?.validateMessages||{}),[oo,a?.validateMessages]);Object.keys(xr).length>0&&(_=z.createElement(Wr.Provider,{value:xr},_)),l&&(_=z.createElement(Xr,{locale:l,_ANT_MARK__:Vt},_)),(_=z.createElement(Qa.Provider,{value:Yi},_)),s&&(_=z.createElement(Zr,{size:s},_)),_=z.createElement(Kt,null,_);let Ji=z.useMemo(()=>{let{algorithm:A,token:he,components:to,cssVar:ro,...Bo}=Oo||{},hr=A&&(!Array.isArray(A)||A.length>0)?createTheme(A):Lo,It={};Object.entries(to||{}).forEach(([ea,oa])=>{let Ie={...oa};"algorithm"in Ie&&(Ie.algorithm===true?Ie.theme=hr:(Array.isArray(Ie.algorithm)||typeof Ie.algorithm=="function")&&(Ie.theme=createTheme(Ie.algorithm)),delete Ie.algorithm),It[ea]=Ie;});let br={...Re,...he};return {...Bo,theme:hr,token:br,components:It,override:{override:br,...It},cssVar:ro}},[Oo]);return g&&(_=z.createElement(yo.Provider,{value:Ji},_)),oo.warning&&(_=z.createElement(kt.Provider,{value:oo.warning},_)),M!==void 0&&(_=z.createElement(Kr,{disabled:M},_)),z.createElement(v.Provider,{value:oo},_)},Xe=e=>{let o=z.useContext(v),t=z.useContext(ao);return z.createElement(ll,{parentContext:o,legacyLocale:t,...e})};Xe.ConfigContext=v;Xe.SizeContext=_e;Xe.config=al;Xe.useConfig=Yr;Object.defineProperty(Xe,"SizeContext",{get:()=>(io(false,"ConfigProvider","ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."),_e)});process.env.NODE_ENV!=="production"&&(Xe.displayName="ConfigProvider");var ln=Xe;var sn=()=>{let[,e]=N(),[o]=Ee("Empty"),r=new TinyColor(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return z.createElement("svg",{style:r,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},z.createElement("title",null,o?.description||"Empty"),z.createElement("g",{fill:"none",fillRule:"evenodd"},z.createElement("g",{transform:"translate(24 31.67)"},z.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),z.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),z.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),z.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),z.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),z.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),z.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},z.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),z.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))};process.env.NODE_ENV!=="production"&&(sn.displayName="EmptyImage");var cn=sn;var pn=()=>{let[,e]=N(),[o]=Ee("Empty"),{colorFill:t,colorFillTertiary:r,colorFillQuaternary:n,colorBgContainer:i}=e,{borderColor:a,shadowColor:l,contentColor:s}=useMemo(()=>({borderColor:new TinyColor(t).onBackground(i).toHexShortString(),shadowColor:new TinyColor(r).onBackground(i).toHexShortString(),contentColor:new TinyColor(n).onBackground(i).toHexShortString()}),[t,r,n,i]);return z.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},z.createElement("title",null,o?.description||"Empty"),z.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},z.createElement("ellipse",{fill:l,cx:"32",cy:"33",rx:"32",ry:"7"}),z.createElement("g",{fillRule:"nonzero",stroke:a},z.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),z.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:s}))))};process.env.NODE_ENV!=="production"&&(pn.displayName="SimpleImage");var mn=pn;var pl=e=>{let{componentCls:o,margin:t,marginXS:r,marginXL:n,fontSize:i,lineHeight:a}=e;return {[o]:{marginInline:r,fontSize:i,lineHeight:a,textAlign:"center",[`${o}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${o}-description`]:{color:e.colorTextDescription},[`${o}-footer`]:{marginTop:t},"&-normal":{marginBlock:n,color:e.colorTextDescription,[`${o}-description`]:{color:e.colorTextDescription},[`${o}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDescription,[`${o}-image`]:{height:e.emptyImgHeightSM}}}}},dn=F("Empty",e=>{let{componentCls:o,controlHeightLG:t,calc:r}=e,n=mergeToken(e,{emptyImgCls:`${o}-img`,emptyImgHeight:r(t).mul(2.5).equal(),emptyImgHeightMD:t,emptyImgHeightSM:r(t).mul(.875).equal()});return [pl(n)]});var gn=z.createElement(cn,null),un=z.createElement(mn,null),Xo=({className:e,rootClassName:o,prefixCls:t,image:r=gn,description:n,children:i,imageStyle:a,style:l,...s})=>{let{getPrefixCls:c,direction:p,empty:d}=z.useContext(v),u=c("empty",t),[S,f,y]=dn(u),[h]=Ee("Empty"),m=typeof n<"u"?n:h?.description,C=typeof m=="string"?m:"empty",g=null;return typeof r=="string"?g=z.createElement("img",{alt:C,src:r}):g=r,S(z.createElement("div",{className:zo(f,y,u,d?.className,{[`${u}-normal`]:r===un,[`${u}-rtl`]:p==="rtl"},e,o),style:{...d?.style,...l},...s},z.createElement("div",{className:`${u}-image`,style:a},g),m&&z.createElement("div",{className:`${u}-description`},m),i&&z.createElement("div",{className:`${u}-footer`},i)))};Xo.PRESENTED_IMAGE_DEFAULT=gn;Xo.PRESENTED_IMAGE_SIMPLE=un;process.env.NODE_ENV!=="production"&&(Xo.displayName="Empty");var po=Xo;var gl=e=>{let{componentName:o}=e,{getPrefixCls:t}=useContext(v),r=t("empty");switch(o){case "Table":case "List":return z__default.createElement(po,{image:po.PRESENTED_IMAGE_SIMPLE});case "Select":case "TreeSelect":case "Cascader":case "Transfer":case "Mentions":return z__default.createElement(po,{image:po.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});case "Table.filter":return null;default:return z__default.createElement(po,null)}},Uo=gl;var ul=e=>{let o=z__default.useContext(_e);return z__default.useMemo(()=>e?typeof e=="string"?e??o:e instanceof Function?e(o):o:o,[e,o])},Ue=ul;var Cl=createContext({}),qo=Cl;var yl=e=>{let{componentCls:o}=e;return {[o]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},xl=e=>{let{componentCls:o}=e;return {[o]:{position:"relative",maxWidth:"100%",minHeight:1}}},hl=(e,o)=>{let{prefixCls:t,componentCls:r,gridColumns:n}=e,i={};for(let a=n;a>=0;a--)a===0?(i[`${r}${o}-${a}`]={display:"none"},i[`${r}-push-${a}`]={insetInlineStart:"auto"},i[`${r}-pull-${a}`]={insetInlineEnd:"auto"},i[`${r}${o}-push-${a}`]={insetInlineStart:"auto"},i[`${r}${o}-pull-${a}`]={insetInlineEnd:"auto"},i[`${r}${o}-offset-${a}`]={marginInlineStart:0},i[`${r}${o}-order-${a}`]={order:0}):(i[`${r}${o}-${a}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${a/n*100}%`,maxWidth:`${a/n*100}%`}],i[`${r}${o}-push-${a}`]={insetInlineStart:`${a/n*100}%`},i[`${r}${o}-pull-${a}`]={insetInlineEnd:`${a/n*100}%`},i[`${r}${o}-offset-${a}`]={marginInlineStart:`${a/n*100}%`},i[`${r}${o}-order-${a}`]={order:a});return i[`${r}${o}-flex`]={flex:`var(--${t}${o}-flex)`},i},Jt=(e,o)=>hl(e,o),bl=(e,o,t)=>({[`@media (min-width: ${unit(o)})`]:{...Jt(e,t)}}),$l=()=>({}),vl=()=>({}),Cn=F("Grid",yl,$l),Sn=F("Grid",e=>{let o=mergeToken(e,{gridColumns:24}),t={"-sm":o.screenSMMin,"-md":o.screenMDMin,"-lg":o.screenLGMin,"-xl":o.screenXLMin,"-xxl":o.screenXXLMin};return [xl(o),Jt(o,""),Jt(o,"-xs"),Object.keys(t).map(r=>bl(o,t[r],r)).reduce((r,n)=>({...r,...n}),{})]},vl);function yn(e){return typeof e=="number"?`${e} ${e} auto`:/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?`0 0 ${e}`:e}var Pl=["xs","sm","md","lg","xl","xxl"],xn=z.forwardRef((e,o)=>{let{getPrefixCls:t,direction:r}=z.useContext(v),{gutter:n,wrap:i}=z.useContext(qo),{prefixCls:a,span:l,order:s,offset:c,push:p,pull:d,className:u,children:S,flex:f,style:y,...h}=e,m=t("col",a),[C,g,M]=Sn(m),P={},x={};Pl.forEach(R=>{let $={},U=e[R];typeof U=="number"?$.span=U:typeof U=="object"&&($=U||{}),delete h[R],x={...x,[`${m}-${R}-${$.span}`]:$.span!==void 0,[`${m}-${R}-order-${$.order}`]:$.order||$.order===0,[`${m}-${R}-offset-${$.offset}`]:$.offset||$.offset===0,[`${m}-${R}-push-${$.push}`]:$.push||$.push===0,[`${m}-${R}-pull-${$.pull}`]:$.pull||$.pull===0,[`${m}-rtl`]:r==="rtl"},$.flex&&(x[`${m}-${R}-flex`]=true,P[`--${m}-${R}-flex`]=yn($.flex));});let b=zo(m,{[`${m}-${l}`]:l!==void 0,[`${m}-order-${s}`]:s,[`${m}-offset-${c}`]:c,[`${m}-push-${p}`]:p,[`${m}-pull-${d}`]:d},u,x,g,M),I={};if(n&&n[0]>0){let R=n[0]/2;I.paddingLeft=R,I.paddingRight=R;}return f&&(I.flex=yn(f),i===false&&!I.minWidth&&(I.minWidth=0)),C(z.createElement("div",{...h,style:{...I,...y,...P},className:b,ref:o},S))});process.env.NODE_ENV!=="production"&&(xn.displayName="Col");var er=xn;function or(){let[,e]=z.useReducer(o=>o+1,0);return e}function wl(e=true){let o=useRef({}),t=or(),r=To();return Rl(()=>{let n=r.subscribe(i=>{o.current=i,e&&t();});return ()=>r.unsubscribe(n)},[]),o.current}var Io=wl;function bn(e,o){let[t,r]=z.useState(typeof e=="string"?e:""),n=()=>{if(typeof e=="string"&&r(e),typeof e=="object")for(let i=0;i<we.length;i++){let a=we[i];if(!o[a])continue;let l=e[a];if(l!==void 0){r(l);return}}};return z.useEffect(()=>{n();},[JSON.stringify(e),o]),t}var $n=z.forwardRef((e,o)=>{let{prefixCls:t,justify:r,align:n,className:i,style:a,children:l,gutter:s=0,wrap:c,...p}=e,{getPrefixCls:d,direction:u}=z.useContext(v),[S,f]=z.useState({xs:true,sm:true,md:true,lg:true,xl:true,xxl:true}),[y,h]=z.useState({xs:false,sm:false,md:false,lg:false,xl:false,xxl:false}),m=bn(n,y),C=bn(r,y),g=z.useRef(s),M=To();z.useEffect(()=>{let ne=M.subscribe(fe=>{h(fe);let H=g.current||0;(!Array.isArray(H)&&typeof H=="object"||Array.isArray(H)&&(typeof H[0]=="object"||typeof H[1]=="object"))&&f(fe);});return ()=>M.unsubscribe(ne)},[]);let P=()=>{let ne=[void 0,void 0];return (Array.isArray(s)?s:[s,void 0]).forEach((H,O)=>{if(typeof H=="object")for(let pe=0;pe<we.length;pe++){let Ce=we[pe];if(S[Ce]&&H[Ce]!==void 0){ne[O]=H[Ce];break}}else ne[O]=H;}),ne},x=d("row",t),[b,I,R]=Cn(x),$=P(),U=zo(x,{[`${x}-no-wrap`]:c===false,[`${x}-${C}`]:C,[`${x}-${m}`]:m,[`${x}-rtl`]:u==="rtl"},i,I,R),J={},K=$[0]!=null&&$[0]>0?$[0]/-2:void 0;K&&(J.marginLeft=K,J.marginRight=K);let[ee,k]=$;J.rowGap=k;let ye=z.useMemo(()=>({gutter:[ee,k],wrap:c}),[ee,k,c]);return b(z.createElement(qo.Provider,{value:ye},z.createElement("div",{...p,className:U,style:{...J,...a},ref:o},l)))});process.env.NODE_ENV!=="production"&&($n.displayName="Row");var tr=$n;var vn=z__default.createContext(void 0);process.env.NODE_ENV!=="production"&&(vn.displayName="zIndexContext");var Tn=vn;var Oe=100,Ol=10,Bl=Oe*Ol,Ll=Bl+Oe,Pn={Modal:Oe,Drawer:Oe,Popover:Oe,Popconfirm:Oe,Tooltip:Oe,Tour:Oe,FloatButton:Oe},Nl={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function Dl(e){return e in Pn}var In=(e,o)=>{let[,t]=N(),r=z__default.useContext(Tn),n=Dl(e),i;if(o!==void 0)i=[o,o];else {let a=r??0;n?a+=(r?0:t.zIndexPopupBase)+Pn[e]:a+=Nl[e],i=[r===void 0?o:a,a];}if(process.env.NODE_ENV!=="production"){let a=G(e),l=t.zIndexPopupBase+Ll,s=i[0]||0;a(o!==void 0||s<=l,"usage","`zIndex` is over design token `zIndexPopupBase` too much. It may cause unexpected override.");}return i};var Rn=(e,o,t)=>t!==void 0?t:`${e}-${o}`;function Al(e){return o=>z.createElement(ln,{theme:{token:{motion:false,zIndexPopupBase:0}}},z.createElement(e,{...o}))}var Fl=(e,o,t,r,n)=>Al(a=>{let{prefixCls:l,style:s}=a,c=z.useRef(null),[p,d]=z.useState(0),[u,S]=z.useState(0),[f,y]=Hl(false,{value:a.open}),{getPrefixCls:h}=z.useContext(v),m=h(r||"select",l);z.useEffect(()=>{if(y(true),typeof ResizeObserver<"u"){let M=new ResizeObserver(x=>{let b=x[0].target;d(b.offsetHeight+8),S(b.offsetWidth);}),P=setInterval(()=>{let x=n?`.${n(m)}`:`.${m}-dropdown`,b=c.current?.querySelector(x);b&&(clearInterval(P),M.observe(b));},10);return ()=>{clearInterval(P),M.disconnect();}}},[]);let C={...a,style:{...s,margin:0},open:f,visible:f,getPopupContainer:()=>c.current};return t&&(C=t(C)),o&&Object.assign(C,{[o]:{overflow:{adjustX:false,adjustY:false}}}),z.createElement("div",{ref:c,style:{paddingBottom:p,position:"relative",minWidth:u}},z.createElement(e,{...C}))}),wn=Fl;function Mn(e,o,t){return zo({[`${e}-status-success`]:o==="success",[`${e}-status-warning`]:o==="warning",[`${e}-status-error`]:o==="error",[`${e}-status-validating`]:o==="validating",[`${e}-has-feedback`]:t})}var zn=(e,o)=>o||e;var Wl=e=>{let[,,,,o]=N();return o?`${e}-css-var`:""},En=Wl;z.createContext({labelAlign:"right",vertical:false,itemRef:(()=>{})});z.createContext(null);z.createContext({prefixCls:""});var rr=z.createContext({});process.env.NODE_ENV!=="production"&&(rr.displayName="FormItemInputContext");var On=z.createContext(void 0);var kl=(e,o,t=void 0)=>{let{variant:r,[e]:n}=z.useContext(v),i=z.useContext(On),a=n?.variant,l;typeof o<"u"?l=o:t===false?l="borderless":l=i??a??r??"outlined";let s=Ft.includes(l);return [l,s]},Bn=kl;var jl=e=>{let{componentCls:o}=e;return {[o]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},Ln=jl;var Vl=e=>{let{componentCls:o,antCls:t}=e;return {[o]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${o}-item:empty`]:{display:"none"},[`${o}-item > ${t}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},_l=e=>{let{componentCls:o}=e;return {[o]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}};F("Space",e=>{let o=mergeToken(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return [Vl(o),_l(o),Ln(o)]},()=>({}),{resetStyle:false});var ql=z.createContext(null),Nn=(e,o)=>{let t=z.useContext(ql),r=z.useMemo(()=>{if(!t)return "";let{compactDirection:n,isFirstItem:i,isLastItem:a}=t,l=n==="vertical"?"-vertical-":"-";return zo(`${e}-compact${l}item`,{[`${e}-compact${l}first-item`]:i,[`${e}-compact${l}last-item`]:a,[`${e}-compact${l}item-rtl`]:o==="rtl"})},[e,o,t]);return {compactSize:t?.compactSize,compactDirection:t?.compactDirection,compactItemClassnames:r}};var Kl=e=>{let t={overflow:{adjustX:true,adjustY:true,shiftY:true},htmlRegion:e==="scroll"?"scroll":"visible",dynamicInset:true};return {bottomLeft:{...t,points:["tl","bl"],offset:[0,4]},bottomRight:{...t,points:["tr","br"],offset:[0,4]},topLeft:{...t,points:["bl","tl"],offset:[0,-4]},topRight:{...t,points:["br","tr"],offset:[0,-4]}}};function Zl(e,o){return e||Kl(o)}var Dn=Zl;function Ql(e,o,t){let{focusElCls:r,focus:n,borderElCls:i}=t,a=i?"> *":"",l=["hover",n?"focus":null,"active"].filter(Boolean).map(s=>`&:${s} ${a}`).join(",");return {[`&-item:not(${o}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{[l]:{zIndex:2},...r?{[`&${r}`]:{zIndex:2}}:{},[`&[disabled] ${a}`]:{zIndex:0}}}}function Yl(e,o,t){let{borderElCls:r}=t,n=r?`> ${r}`:"";return {[`&-item:not(${o}-first-item):not(${o}-last-item) ${n}`]:{borderRadius:0},[`&-item:not(${o}-last-item)${o}-first-item`]:{[`& ${n}, &${e}-sm ${n}, &${e}-lg ${n}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${o}-first-item)${o}-last-item`]:{[`& ${n}, &${e}-sm ${n}, &${e}-lg ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function Ko(e,o={focus:true}){let{componentCls:t}=e,r=`${t}-compact`;return {[r]:{...Ql(e,r,o),...Yl(t,r,o)}}}var Jl=e=>({animationDuration:e,animationFillMode:"both"}),es=e=>({animationDuration:e,animationFillMode:"both"}),mo=(e,o,t,r,n=false)=>{let i=n?"&":"";return {[`
|
|
41
|
+
${i}${e}-enter,
|
|
42
|
+
${i}${e}-appear
|
|
43
|
+
`]:{...Jl(r),animationPlayState:"paused"},[`${i}${e}-leave`]:{...es(r),animationPlayState:"paused"},[`
|
|
44
|
+
${i}${e}-enter${e}-enter-active,
|
|
45
|
+
${i}${e}-appear${e}-appear-active
|
|
46
|
+
`]:{animationName:o,animationPlayState:"running"},[`${i}${e}-leave${e}-leave-active`]:{animationName:t,animationPlayState:"running",pointerEvents:"none"}}};new Keyframes("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}});new Keyframes("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}});var An=new Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Fn=new Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),Gn=new Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Wn=new Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),kn=new Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),jn=new Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Vn=new Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),_n=new Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),rs={"move-up":{inKeyframes:Vn,outKeyframes:_n},"move-down":{inKeyframes:An,outKeyframes:Fn},"move-left":{inKeyframes:Gn,outKeyframes:Wn},"move-right":{inKeyframes:kn,outKeyframes:jn}},Zo=(e,o)=>{let{antCls:t}=e,r=`${t}-${o}`,{inKeyframes:n,outKeyframes:i}=rs[o];return [mo(r,n,i,e.motionDurationMid),{[`
|
|
47
|
+
${r}-enter,
|
|
48
|
+
${r}-appear
|
|
49
|
+
`]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};var Qo=new Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),Yo=new Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),Jo=new Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),et=new Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),Xn=new Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),Un=new Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),qn=new Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),Kn=new Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),ns={"slide-up":{inKeyframes:Qo,outKeyframes:Yo},"slide-down":{inKeyframes:Jo,outKeyframes:et},"slide-left":{inKeyframes:Xn,outKeyframes:Un},"slide-right":{inKeyframes:qn,outKeyframes:Kn}},ot=(e,o)=>{let{antCls:t}=e,r=`${t}-${o}`,{inKeyframes:n,outKeyframes:i}=ns[o];return [mo(r,n,i,e.motionDurationMid),{[`
|
|
50
|
+
${r}-enter,
|
|
51
|
+
${r}-appear
|
|
52
|
+
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]};new Keyframes("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}});new Keyframes("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}});new Keyframes("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}});new Keyframes("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}});new Keyframes("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}});new Keyframes("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}});new Keyframes("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}});new Keyframes("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}});new Keyframes("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}});new Keyframes("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}});new Keyframes("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}});new Keyframes("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}});var Zn=e=>{let{optionHeight:o,optionFontSize:t,optionLineHeight:r,optionPadding:n}=e;return {position:"relative",display:"block",minHeight:o,padding:n,color:e.colorText,fontWeight:"normal",fontSize:t,lineHeight:r,boxSizing:"border-box"}},Ss=e=>{let{antCls:o,componentCls:t}=e,r=`${t}-item`,n=`&${o}-slide-up-enter${o}-slide-up-enter-active`,i=`&${o}-slide-up-appear${o}-slide-up-appear-active`,a=`&${o}-slide-up-leave${o}-slide-up-leave-active`,l=`${t}-dropdown-placement-`;return [{[`${t}-dropdown`]:{...Y(e),position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[`
|
|
53
|
+
${n}${l}bottomLeft,
|
|
54
|
+
${i}${l}bottomLeft
|
|
55
|
+
`]:{animationName:Qo},[`
|
|
56
|
+
${n}${l}topLeft,
|
|
57
|
+
${i}${l}topLeft,
|
|
58
|
+
${n}${l}topRight,
|
|
59
|
+
${i}${l}topRight
|
|
60
|
+
`]:{animationName:Jo},[`${a}${l}bottomLeft`]:{animationName:Yo},[`
|
|
61
|
+
${a}${l}topLeft,
|
|
62
|
+
${a}${l}topRight
|
|
63
|
+
`]:{animationName:et},"&-hidden":{display:"none"},[r]:{...Zn(e),cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":{flex:"auto",...$o},"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary},[`&:has(+ ${r}-option-selected:not(${r}-option-disabled))`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${r}-option-selected:not(${r}-option-disabled)`]:{borderStartStartRadius:0,borderStartEndRadius:0}}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":{...Zn(e),color:e.colorTextDisabled}},"&-rtl":{direction:"rtl"}}},ot(e,"slide-up"),ot(e,"slide-down"),Zo(e,"move-up"),Zo(e,"move-down")]},Qn=Ss;var ys=e=>{let{multipleSelectItemHeight:o,paddingXXS:t,lineWidth:r,INTERNAL_FIXED_ITEM_MARGIN:n}=e,i=e.max(e.calc(t).sub(r).equal(),0),a=e.max(e.calc(i).sub(n).equal(),0);return {basePadding:i,containerPadding:a,itemHeight:unit(o),itemLineHeight:unit(e.calc(o).sub(e.calc(e.lineWidth).mul(2)).equal())}},xs=e=>{let{multipleSelectItemHeight:o,selectHeight:t,lineWidth:r}=e;return e.calc(t).sub(o).div(2).sub(r).equal()},hs=e=>{let{componentCls:o,iconCls:t,borderRadiusSM:r,motionDurationSlow:n,paddingXS:i,multipleItemColorDisabled:a,multipleItemBorderColorDisabled:l,colorIcon:s,colorIconHover:c,INTERNAL_FIXED_ITEM_MARGIN:p}=e;return {[`${o}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"nowrap",overflow:"hidden",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${o}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:p,borderRadius:r,cursor:"default",transition:`font-size ${n}, line-height ${n}, height ${n}`,marginInlineEnd:e.calc(p).mul(2).equal(),paddingInlineStart:i,paddingInlineEnd:e.calc(i).div(2).equal(),[`${o}-disabled&`]:{color:a,borderColor:l,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(i).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":{...vo(),display:"inline-flex",alignItems:"center",color:s,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${t}`]:{verticalAlign:"-0.2em"},"&:hover":{color:c}}}}}},bs=(e,o)=>{let{componentCls:t,INTERNAL_FIXED_ITEM_MARGIN:r}=e,n=`${t}-selection-overflow`,i=e.multipleSelectItemHeight,a=xs(e),l=o?`${t}-${o}`:"",s=ys(e);return {[`${t}-multiple${l}`]:{...hs(e),[`${t}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:s.basePadding,paddingBlock:s.containerPadding,borderRadius:e.borderRadius,[`${t}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${unit(r)} 0`,lineHeight:unit(i),visibility:"hidden",content:'"\\a0"'}},[`${t}-selection-item`]:{height:s.itemHeight,lineHeight:unit(s.itemLineHeight)},[`${t}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:unit(i),marginBlock:r}},[`${t}-prefix`]:{marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(s.basePadding).equal()},[`${n}-item + ${n}-item,
|
|
64
|
+
${t}-prefix + ${t}-selection-wrap
|
|
65
|
+
`]:{[`${t}-selection-search`]:{marginInlineStart:0},[`${t}-selection-placeholder`]:{insetInlineStart:0}},[`${n}-item-suffix`]:{minHeight:s.itemHeight,marginBlock:r},[`${t}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(a).equal(),"\n &-input,\n &-mirror\n ":{height:i,fontFamily:e.fontFamily,lineHeight:unit(i),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${t}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(s.basePadding).equal(),insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}}}};function ir(e,o){let{componentCls:t}=e,r=o?`${t}-${o}`:"",n={[`${t}-multiple${r}`]:{fontSize:e.fontSize,[`${t}-selector`]:{[`${t}-show-search&`]:{cursor:"text"}},[`
|
|
66
|
+
&${t}-show-arrow ${t}-selector,
|
|
67
|
+
&${t}-allow-clear ${t}-selector
|
|
68
|
+
`]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return [bs(e,o),n]}var $s=e=>{let{componentCls:o}=e,t=mergeToken(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=mergeToken(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return [ir(e),ir(t,"sm"),{[`${o}-multiple${o}-sm`]:{[`${o}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${o}-selection-search`]:{marginInlineStart:2}}},ir(r,"lg")]},Yn=$s;function ar(e,o){let{componentCls:t,inputPaddingHorizontalBase:r,borderRadius:n}=e,i=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),a=o?`${t}-${o}`:"";return {[`${t}-single${a}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${t}-selector`]:{...Y(e,true),display:"flex",borderRadius:n,flex:"1 1 auto",[`${t}-selection-search`]:{position:"absolute",inset:0,width:"100%","&-input":{width:"100%",WebkitAppearance:"textfield"}},[`
|
|
69
|
+
${t}-selection-item,
|
|
70
|
+
${t}-selection-placeholder
|
|
71
|
+
`]:{display:"block",padding:0,lineHeight:unit(i),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${t}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${t}-selection-item:empty:after`,`${t}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}},[`
|
|
72
|
+
&${t}-show-arrow ${t}-selection-item,
|
|
73
|
+
&${t}-show-arrow ${t}-selection-search,
|
|
74
|
+
&${t}-show-arrow ${t}-selection-placeholder
|
|
75
|
+
`]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${t}-open ${t}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${t}-customize-input)`]:{[`${t}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${unit(r)}`,[`${t}-selection-search-input`]:{height:i},"&:after":{lineHeight:unit(i)}}},[`&${t}-customize-input`]:{[`${t}-selector`]:{"&:after":{display:"none"},[`${t}-selection-search`]:{position:"static",width:"100%"},[`${t}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${unit(r)}`,"&:after":{display:"none"}}}}}}}function lr(e){let{componentCls:o}=e,t=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return [ar(e),ar(mergeToken(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${o}-single${o}-sm`]:{[`&:not(${o}-customize-input)`]:{[`${o}-selector`]:{padding:`0 ${unit(t)}`},[`&${o}-show-arrow ${o}-selection-search`]:{insetInlineEnd:e.calc(t).add(e.calc(e.fontSize).mul(1.5)).equal()},[`
|
|
76
|
+
&${o}-show-arrow ${o}-selection-item,
|
|
77
|
+
&${o}-show-arrow ${o}-selection-placeholder
|
|
78
|
+
`]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},ar(mergeToken(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}var Jn=e=>{let{fontSize:o,lineHeight:t,lineWidth:r,controlHeight:n,controlHeightSM:i,controlHeightLG:a,paddingXXS:l,controlPaddingHorizontal:s,zIndexPopupBase:c,colorText:p,fontWeightStrong:d,controlItemBgActive:u,controlItemBgHover:S,colorBgContainer:f,colorFillSecondary:y,colorBgContainerDisabled:h,colorTextDisabled:m,colorPrimaryHover:C,colorPrimary:g,controlOutline:M}=e,P=l*2,x=r*2,b=Math.min(n-P,n-x),I=Math.min(i-P,i-x),R=Math.min(a-P,a-x);return {INTERNAL_FIXED_ITEM_MARGIN:Math.floor(l/2),zIndexPopup:c+50,optionSelectedColor:p,optionSelectedFontWeight:d,optionSelectedBg:u,optionActiveBg:S,optionPadding:`${(n-o*t)/2}px ${s}px`,optionFontSize:o,optionLineHeight:t,optionHeight:n,selectorBg:f,clearBg:f,singleItemHeightLG:a,multipleItemBg:y,multipleItemBorderColor:"transparent",multipleItemHeight:b,multipleItemHeightSM:I,multipleItemHeightLG:R,multipleSelectorBgDisabled:h,multipleItemColorDisabled:m,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25),hoverBorderColor:C,activeBorderColor:g,activeOutlineColor:M,selectAffixPadding:l}};var ti=(e,o)=>{let{componentCls:t,antCls:r,controlOutlineWidth:n}=e;return {[`&:not(${t}-customize-input) ${t}-selector`]:{border:`${unit(e.lineWidth)} ${e.lineType} ${o.borderColor}`,background:e.selectorBg},[`&:not(${t}-disabled):not(${t}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${t}-selector`]:{borderColor:o.hoverBorderHover},[`${t}-focused& ${t}-selector`]:{borderColor:o.activeBorderColor,boxShadow:`0 0 0 ${unit(n)} ${o.activeOutlineColor}`,outline:0},[`${t}-prefix`]:{color:o.color}}}},ei=(e,o)=>({[`&${e.componentCls}-status-${o.status}`]:{...ti(e,o)}}),vs=e=>({"&-outlined":{...ti(e,{borderColor:e.colorBorder,hoverBorderHover:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeOutlineColor:e.activeOutlineColor,color:e.colorText}),...ei(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeOutlineColor:e.colorErrorOutline,color:e.colorError}),...ei(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeOutlineColor:e.colorWarningOutline,color:e.colorWarning}),[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${unit(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}),ri=(e,o)=>{let{componentCls:t,antCls:r}=e;return {[`&:not(${t}-customize-input) ${t}-selector`]:{background:o.bg,border:`${unit(e.lineWidth)} ${e.lineType} transparent`,color:o.color},[`&:not(${t}-disabled):not(${t}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${t}-selector`]:{background:o.hoverBg},[`${t}-focused& ${t}-selector`]:{background:e.selectorBg,borderColor:o.activeBorderColor,outline:0}}}},oi=(e,o)=>({[`&${e.componentCls}-status-${o.status}`]:{...ri(e,o)}}),Ts=e=>({"&-filled":{...ri(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor,color:e.colorText}),...oi(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError}),...oi(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning}),[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${unit(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}),Ps=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",border:`${unit(e.lineWidth)} ${e.lineType} transparent`},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${unit(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`},[`&${e.componentCls}-status-error`]:{[`${e.componentCls}-prefix, ${e.componentCls}-selection-item`]:{color:e.colorError}},[`&${e.componentCls}-status-warning`]:{[`${e.componentCls}-prefix, ${e.componentCls}-selection-item`]:{color:e.colorWarning}}}}),Is=e=>({[e.componentCls]:{...vs(e),...Ts(e),...Ps(e)}}),ni=Is;var Rs=e=>{let{componentCls:o}=e;return {position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${o}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${o}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},ws=e=>{let{componentCls:o}=e;return {[`${o}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none",fontFamily:"inherit","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},Ms=e=>{let{antCls:o,componentCls:t,inputPaddingHorizontalBase:r,iconCls:n}=e;return {[t]:{...Y(e),position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${t}-customize-input) ${t}-selector`]:{...Rs(e),...ws(e)},[`${t}-selection-item`]:{flex:1,fontWeight:"normal",position:"relative",userSelect:"none",...$o,[`> ${o}-typography`]:{display:"inline"}},[`${t}-selection-placeholder`]:{...$o,flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"},[`${t}-arrow`]:{...vo(),position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${e.motionDurationSlow} ease`,[n]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${t}-suffix)`]:{pointerEvents:"auto"}},[`${t}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}},[`${t}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${t}-prefix`]:{flex:"none",marginInlineEnd:e.selectAffixPadding},[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},[`&:hover ${t}-clear`]:{opacity:1,background:e.colorBgBase,borderRadius:"50%"}},[`${t}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${t}-has-feedback`]:{[`${t}-clear`]:{insetInlineEnd:e.calc(r).add(e.fontSize).add(e.paddingXS).equal()}}}}}},zs=e=>{let{componentCls:o}=e;return [{[o]:{[`&${o}-in-form-item`]:{width:"100%"}}},Ms(e),lr(e),Yn(e),Qn(e),{[`${o}-rtl`]:{direction:"rtl"}},Ko(e,{borderElCls:`${o}-selector`,focusElCls:`${o}-focused`})]},ii=F("Select",(e,{rootPrefixCls:o})=>{let t=mergeToken(e,{rootPrefixCls:o,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return [zs(t),ni(t)]},Jn,{unitless:{optionLineHeight:true,optionSelectedFontWeight:true}});function sr({suffixIcon:e,clearIcon:o,menuItemSelectedIcon:t,removeIcon:r,loading:n,multiple:i,hasFeedback:a,prefixCls:l,showSuffixIcon:s,feedbackIcon:c,showArrow:p,componentName:d}){process.env.NODE_ENV!=="production"&&G(d).deprecated(!o,"clearIcon","allowClear={{ clearIcon: React.ReactNode }}");let u=o??z.createElement(Os,null),S=m=>e===null&&!a&&!p?null:z.createElement(z.Fragment,null,s!==false&&m,a&&c),f=null;if(e!==void 0)f=S(e);else if(n)f=S(z.createElement(Ns,{spin:true}));else {let m=`${l}-suffix`;f=({open:C,showSearch:g})=>S(C&&g?z.createElement(Ds,{className:m}):z.createElement(Ls,{className:m}));}let y=null;t!==void 0?y=t:i?y=z.createElement(Es,null):y=null;let h=null;return r!==void 0?h=r:h=z.createElement(Bs,null),{clearIcon:u,suffixIcon:f,itemIcon:y,removeIcon:h}}function cr(e,o){return o!==void 0?o:e!==null}var li="SECRET_COMBOBOX_MODE_DO_NOT_USE",si=(e,o)=>{let{prefixCls:t,bordered:r,className:n,rootClassName:i,getPopupContainer:a,popupClassName:l,dropdownClassName:s,listHeight:c=256,placement:p,listItemHeight:d,size:u,disabled:S,notFoundContent:f,status:y,builtinPlacements:h,dropdownMatchSelectWidth:m,popupMatchSelectWidth:C,direction:g,style:M,allowClear:P,variant:x,dropdownStyle:b,transitionName:I,tagRender:R,maxCount:$,prefix:U,showSearch:J=false,...K}=e,{getPopupContainer:ee,getPrefixCls:k,renderEmpty:ye,direction:ne,virtual:fe,popupMatchSelectWidth:H,popupOverflow:O,select:pe}=z.useContext(v),[,Ce]=N(),je=d??Ce?.controlHeight,w=k("select",t),Se=k(),Z=g??ne,{compactSize:me,compactItemClassnames:ve}=Nn(w,Z),[j,Te]=Bn("select",x,r),xe=En(w),[Pe,Ne,oe]=ii(w,xe),ie=z.useMemo(()=>{let{mode:ae}=e;if(ae!=="combobox")return ae===li?"combobox":ae},[e.mode]),De=ie==="multiple"||ie==="tags",Ve=cr(e.suffixIcon,e.showArrow),He=C??m??H,{status:uo,hasFeedback:B,isFormItemInput:V,feedbackIcon:Q}=z.useContext(rr),dt=zn(uo,y),Je;f!==void 0?Je=f:ie==="combobox"?Je=null:Je=ye?.("Select")||z.createElement(Uo,{componentName:"Select"});let{suffixIcon:gt,itemIcon:ut,removeIcon:ft,clearIcon:Ct}=sr({...K,multiple:De,hasFeedback:B,feedbackIcon:Q,showSuffixIcon:Ve,prefixCls:w,componentName:"Select"}),St=P===true?{clearIcon:Ct}:P,yt=Gs(K,["suffixIcon","itemIcon"]),xt=zo(l||s,{[`${w}-dropdown-${Z}`]:Z==="rtl"},i,oe,xe,Ne),Eo=Ue(ae=>u??me??ae),ht=z.useContext(Vo),bt=S??ht,$t=zo({[`${w}-lg`]:Eo==="large",[`${w}-sm`]:Eo==="small",[`${w}-rtl`]:Z==="rtl",[`${w}-${j}`]:Te,[`${w}-in-form-item`]:V},Mn(w,dt,B),ve,pe?.className,n,i,oe,xe,Ne),vt=z.useMemo(()=>p!==void 0?p:Z==="rtl"?"bottomRight":"bottomLeft",[p,Z]);if(process.env.NODE_ENV!=="production"){let ae=G("Select");ae.deprecated(!s,"dropdownClassName","popupClassName"),ae.deprecated(m===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),ae(!("showArrow"in e),"deprecated","`showArrow` is deprecated which will be removed in next major version. It will be a default behavior, you can hide it by setting `suffixIcon` to null."),ae.deprecated(!("bordered"in e),"bordered","variant"),ae(!(typeof $<"u"&&!De),"usage","`maxCount` only works with mode `multiple` or `tags`");}let[Tt]=In("SelectLike",b?.zIndex);return Pe(z.createElement(Hs,{ref:o,virtual:fe,showSearch:J,...yt,style:{...pe?.style,...M},dropdownMatchSelectWidth:He,transitionName:Rn(Se,"slide-up",I),builtinPlacements:Dn(h,O),listHeight:c,listItemHeight:je,mode:ie,prefixCls:w,placement:vt,direction:Z,prefix:U,suffixIcon:gt,menuItemSelectedIcon:ut,removeIcon:ft,allowClear:St,notFoundContent:Je,className:$t,getPopupContainer:a||ee,dropdownClassName:xt,disabled:bt,dropdownStyle:{...b,zIndex:Tt},maxCount:De?$:void 0,tagRender:De?R:void 0}))};process.env.NODE_ENV!=="production"&&(si.displayName="Select");var Ye=z.forwardRef(si),Ws=wn(Ye,"dropdownAlign");Ye.SECRET_COMBOBOX_MODE_DO_NOT_USE=li;Ye.Option=Option;Ye.OptGroup=OptGroup;Ye._InternalPanelDoNotUseOrYouWillBeFired=Ws;process.env.NODE_ENV!=="production"&&(Ye.displayName="Select");var ci=Ye;function tt(e){return mergeToken(e,{inputAffixPadding:e.paddingXXS})}var rt=e=>{let{controlHeight:o,fontSize:t,lineHeight:r,lineWidth:n,controlHeightSM:i,controlHeightLG:a,fontSizeLG:l,lineHeightLG:s,paddingSM:c,controlPaddingHorizontalSM:p,controlPaddingHorizontal:d,colorFillAlter:u,colorPrimaryHover:S,colorPrimary:f,controlOutlineWidth:y,controlOutline:h,colorErrorOutline:m,colorWarningOutline:C,colorBgContainer:g}=e;return {paddingBlock:Math.max(Math.round((o-t*r)/2*10)/10-n,0),paddingBlockSM:Math.max(Math.round((i-t*r)/2*10)/10-n,0),paddingBlockLG:Math.ceil((a-l*s)/2*10)/10-n,paddingInline:c-n,paddingInlineSM:p-n,paddingInlineLG:d-n,addonBg:u,activeBorderColor:f,hoverBorderColor:S,activeShadow:`0 0 0 ${y}px ${h}`,errorActiveShadow:`0 0 0 ${y}px ${m}`,warningActiveShadow:`0 0 0 ${y}px ${C}`,hoverBg:g,activeBg:g,inputFontSize:t,inputFontSizeLG:l,inputFontSizeSM:t}};var ks=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),wo=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":{...ks(mergeToken(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled}))}}),nt=(e,o)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:o.borderColor,"&:hover":{borderColor:o.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:o.activeBorderColor,boxShadow:o.activeShadow,outline:0,backgroundColor:e.activeBg}}),pi=(e,o)=>({[`&${e.componentCls}-status-${o.status}:not(${e.componentCls}-disabled)`]:{...nt(e,o),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:o.affixColor}},[`&${e.componentCls}-status-${o.status}${e.componentCls}-disabled`]:{borderColor:o.borderColor}}),ui=(e,o)=>({"&-outlined":{...nt(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow}),[`&${e.componentCls}-disabled, &[disabled]`]:{...wo(e)},...pi(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError}),...pi(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning}),...o}}),mi=(e,o)=>({[`&${e.componentCls}-group-wrapper-status-${o.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:o.addonBorderColor,color:o.addonColor}}}),fi=e=>({"&-outlined":{[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},...mi(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText}),...mi(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText}),[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:{...wo(e)}}}}),Ci=(e,o)=>{let{componentCls:t}=e;return {"&-borderless":{background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${t}-disabled, &[disabled]`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${t}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${t}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}},...o}}},Si=(e,o)=>({background:o.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:o?.inputColor},"&:hover":{background:o.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:o.activeBorderColor,backgroundColor:e.activeBg}}),di=(e,o)=>({[`&${e.componentCls}-status-${o.status}:not(${e.componentCls}-disabled)`]:{...Si(e,o),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:o.affixColor}}}),yi=(e,o)=>({"&-filled":{...Si(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor}),[`&${e.componentCls}-disabled, &[disabled]`]:{...wo(e)},...di(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError}),...di(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning}),...o}}),gi=(e,o)=>({[`&${e.componentCls}-group-wrapper-status-${o.status}`]:{[`${e.componentCls}-group-addon`]:{background:o.addonBg,color:o.addonColor}}}),xi=e=>({"&-filled":{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${unit(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${unit(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}},...gi(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText}),...gi(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText}),[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}}});var js=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}});var hi=e=>{let{paddingBlockLG:o,lineHeightLG:t,borderRadiusLG:r,paddingInlineLG:n}=e;return {padding:`${unit(o)} ${unit(n)}`,fontSize:e.inputFontSizeLG,lineHeight:t,borderRadius:r}},it=e=>({padding:`${unit(e.paddingBlockSM)} ${unit(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),at=e=>({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${unit(e.paddingBlock)} ${unit(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`,...js(e.colorTextPlaceholder),"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":{...hi(e)},"&-sm":{...it(e)},"&-rtl, &-textarea-rtl":{direction:"rtl"}}),Vs=e=>{let{componentCls:o,antCls:t}=e;return {position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${o}, &-lg > ${o}-group-addon`]:{...hi(e)},[`&-sm ${o}, &-sm > ${o}-group-addon`]:{...it(e)},[`&-lg ${t}-select-single ${t}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${t}-select-single ${t}-select-selector`]:{height:e.controlHeightSM},[`> ${o}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${o}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${unit(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${t}-select`]:{margin:`${unit(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${unit(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${t}-select-single:not(${t}-select-customize-input):not(${t}-pagination-size-changer)`]:{[`${t}-select-selector`]:{backgroundColor:"inherit",border:`${unit(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}}},[`${t}-cascader-picker`]:{margin:`-9px ${unit(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${t}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[o]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${o}-search-with-button &`]:{zIndex:0}}},[`> ${o}:first-child, ${o}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-select ${t}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${o}-affix-wrapper`]:{[`&:not(:first-child) ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${o}:last-child, ${o}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${t}-select ${t}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${o}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${o}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${o}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${o}-group-compact`]:{display:"block",...Nr(),[`${o}-group-addon, ${o}-group-wrap, > ${o}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`
|
|
79
|
+
& > ${o}-affix-wrapper,
|
|
80
|
+
& > ${o}-number-affix-wrapper,
|
|
81
|
+
& > ${t}-picker-range
|
|
82
|
+
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[o]:{float:"none"},[`& > ${t}-select > ${t}-select-selector,
|
|
83
|
+
& > ${t}-select-auto-complete ${o},
|
|
84
|
+
& > ${t}-cascader-picker ${o},
|
|
85
|
+
& > ${o}-group-wrapper ${o}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${t}-select-focused`]:{zIndex:1},[`& > ${t}-select > ${t}-select-arrow`]:{zIndex:1},[`& > *:first-child,
|
|
86
|
+
& > ${t}-select:first-child > ${t}-select-selector,
|
|
87
|
+
& > ${t}-select-auto-complete:first-child ${o},
|
|
88
|
+
& > ${t}-cascader-picker:first-child ${o}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,
|
|
89
|
+
& > ${t}-select:last-child > ${t}-select-selector,
|
|
90
|
+
& > ${t}-cascader-picker:last-child ${o},
|
|
91
|
+
& > ${t}-cascader-picker-focused:last-child ${o}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${t}-select-auto-complete ${o}`]:{verticalAlign:"top"},[`${o}-group-wrapper + ${o}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${o}-affix-wrapper`]:{borderRadius:0}},[`${o}-group-wrapper:not(:last-child)`]:{[`&${o}-search > ${o}-group`]:{[`& > ${o}-group-addon > ${o}-search-button`]:{borderRadius:0},[`& > ${o}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}}}},_s=e=>{let{componentCls:o,controlHeightSM:t,lineWidth:r,calc:n}=e,a=n(t).sub(n(r).mul(2)).sub(16).div(2).equal();return {[o]:{...Y(e),...at(e),...ui(e),...yi(e),...Ci(e),'&[type="color"]':{height:e.controlHeight,[`&${o}-lg`]:{height:e.controlHeightLG},[`&${o}-sm`]:{height:t,paddingTop:a,paddingBottom:a}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}}}},Xs=e=>{let{componentCls:o}=e;return {[`${o}-clear-icon`]:{margin:0,lineHeight:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${unit(e.inputAffixPadding)}`}}}},Us=e=>{let{componentCls:o,inputAffixPadding:t,colorTextDescription:r,motionDurationSlow:n,colorIcon:i,colorIconHover:a,iconCls:l}=e,s=`${o}-affix-wrapper`,c=`${o}-affix-wrapper-disabled`;return {[s]:{...at(e),display:"inline-flex",[`&:not(${o}-disabled):hover`]:{zIndex:1,[`${o}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${o}`]:{padding:0},[`> input${o}, > textarea${o}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[o]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:t},"&-suffix":{marginInlineStart:t}},...Xs(e),[`${l}${o}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${n}`,"&:hover":{color:a}}},[c]:{[`${l}${o}-password-icon`]:{color:i,cursor:"not-allowed","&:hover":{color:i}}}}},qs=e=>{let{componentCls:o,borderRadiusLG:t,borderRadiusSM:r}=e;return {[`${o}-group`]:{...Y(e),...Vs(e),"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${o}-group-addon`]:{borderRadius:t,fontSize:e.inputFontSizeLG}},"&-sm":{[`${o}-group-addon`]:{borderRadius:r}},...fi(e),...xi(e),[`&:not(${o}-compact-first-item):not(${o}-compact-last-item)${o}-compact-item`]:{[`${o}, ${o}-group-addon`]:{borderRadius:0}},[`&:not(${o}-compact-last-item)${o}-compact-first-item`]:{[`${o}, ${o}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${o}-compact-first-item)${o}-compact-last-item`]:{[`${o}, ${o}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${o}-compact-last-item)${o}-compact-item`]:{[`${o}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}}}}},Ks=e=>{let{componentCls:o,antCls:t}=e,r=`${o}-search`;return {[r]:{[o]:{"&:hover, &:focus":{[`+ ${o}-group-addon ${r}-button:not(${t}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${o}-affix-wrapper`]:{height:e.controlHeight,borderRadius:0},[`${o}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal()},[`> ${o}-group`]:{[`> ${o}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{marginInlineEnd:-1,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${r}-button:not(${t}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${t}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${o}-affix-wrapper, ${r}-button`]:{height:e.controlHeightLG}},"&-small":{[`${o}-affix-wrapper, ${r}-button`]:{height:e.controlHeightSM}},"&-rtl":{direction:"rtl"},[`&${o}-compact-item`]:{[`&:not(${o}-compact-last-item)`]:{[`${o}-group-addon`]:{[`${o}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${o}-compact-first-item)`]:{[`${o},${o}-affix-wrapper`]:{borderRadius:0}},[`> ${o}-group-addon ${o}-search-button,
|
|
92
|
+
> ${o},
|
|
93
|
+
${o}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${o}-affix-wrapper-focused`]:{zIndex:2}}}}},Zs=e=>{let{componentCls:o,paddingLG:t}=e,r=`${o}-textarea`;return {[r]:{position:"relative","&-show-count":{[`> ${o}`]:{height:"100%"},[`${o}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
|
|
94
|
+
&-allow-clear > ${o},
|
|
95
|
+
&-affix-wrapper${r}-has-feedback ${o}
|
|
96
|
+
`]:{paddingInlineEnd:t},[`&-affix-wrapper${o}-affix-wrapper`]:{padding:0,[`> textarea${o}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${o}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${o}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${o}-affix-wrapper-sm`]:{[`${o}-suffix`]:{[`${o}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},Qs=e=>{let{componentCls:o}=e;return {[`${o}-out-of-range`]:{[`&, & input, & textarea, ${o}-show-count-suffix, ${o}-data-count`]:{color:e.colorError}}}};F("Input",e=>{let o=mergeToken(e,tt(e));return [_s(o),Zs(o),Us(o),qs(o),Ks(o),Qs(o),Ko(o)]},rt,{resetFont:false});var Ys=e=>{let{componentCls:o}=e;return {[`${o}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${o}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${o}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${o}-disabled`]:{cursor:"not-allowed",[`${o}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${o}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${o}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${o}-simple-pager`]:{color:e.colorTextDisabled},[`${o}-jump-prev, ${o}-jump-next`]:{[`${o}-item-link-icon`]:{opacity:0},[`${o}-item-ellipsis`]:{opacity:1}}},[`&${o}-simple`]:{[`${o}-prev, ${o}-next`]:{[`&${o}-disabled ${o}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Js=e=>{let{componentCls:o}=e;return {[`&${o}-mini ${o}-total-text, &${o}-mini ${o}-simple-pager`]:{height:e.itemSizeSM,lineHeight:unit(e.itemSizeSM)},[`&${o}-mini ${o}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:unit(e.calc(e.itemSizeSM).sub(2).equal())},[`&${o}-mini:not(${o}-disabled) ${o}-item:not(${o}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${o}-mini ${o}-prev, &${o}-mini ${o}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:unit(e.itemSizeSM)},[`&${o}-mini:not(${o}-disabled)`]:{[`${o}-prev, ${o}-next`]:{[`&:hover ${o}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${o}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${o}-disabled:hover ${o}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
97
|
+
&${o}-mini ${o}-prev ${o}-item-link,
|
|
98
|
+
&${o}-mini ${o}-next ${o}-item-link
|
|
99
|
+
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:unit(e.itemSizeSM)}},[`&${o}-mini ${o}-jump-prev, &${o}-mini ${o}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:unit(e.itemSizeSM)},[`&${o}-mini ${o}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:unit(e.itemSizeSM),input:{...it(e),width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM}}}}},ec=e=>{let{componentCls:o}=e;return {[`
|
|
100
|
+
&${o}-simple ${o}-prev,
|
|
101
|
+
&${o}-simple ${o}-next
|
|
102
|
+
`]:{height:e.itemSizeSM,lineHeight:unit(e.itemSizeSM),verticalAlign:"top",[`${o}-item-link`]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:unit(e.itemSizeSM)}}},[`&${o}-simple ${o}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${unit(e.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${unit(e.inputOutlineOffset)} 0 ${unit(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},oc=e=>{let{componentCls:o}=e;return {[`${o}-jump-prev, ${o}-jump-next`]:{outline:0,[`${o}-item-container`]:{position:"relative",[`${o}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${o}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${o}-item-link-icon`]:{opacity:1},[`${o}-item-ellipsis`]:{opacity:0}}},[`
|
|
103
|
+
${o}-prev,
|
|
104
|
+
${o}-jump-prev,
|
|
105
|
+
${o}-jump-next
|
|
106
|
+
`]:{marginInlineEnd:e.marginXS},[`
|
|
107
|
+
${o}-prev,
|
|
108
|
+
${o}-next,
|
|
109
|
+
${o}-jump-prev,
|
|
110
|
+
${o}-jump-next
|
|
111
|
+
`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:unit(e.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${o}-prev, ${o}-next`]:{outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${o}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${unit(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${o}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${o}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${o}-disabled:hover`]:{[`${o}-item-link`]:{backgroundColor:"transparent"}}},[`${o}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${o}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:unit(e.controlHeight),verticalAlign:"top",input:{...at(e),...nt(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow}),"&[disabled]":{...wo(e)},width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS}}}}},tc=e=>{let{componentCls:o}=e;return {[`${o}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:unit(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:e.itemBg,border:`${unit(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${unit(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${o}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},rc=e=>{let{componentCls:o}=e;return {[o]:{...Y(e),display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${o}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:unit(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"},...tc(e),...oc(e),...ec(e),...Js(e),...Ys(e),[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${o}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${o}-options`]:{display:"none"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},nc=e=>{let{componentCls:o}=e;return {[`${o}:not(${o}-disabled)`]:{[`${o}-item`]:{...Ar(e)},[`${o}-jump-prev, ${o}-jump-next`]:{"&:focus-visible":{[`${o}-item-link-icon`]:{opacity:1},[`${o}-item-ellipsis`]:{opacity:0},...Ho(e)}},[`${o}-prev, ${o}-next`]:{[`&:focus-visible ${o}-item-link`]:{...Ho(e)}}}}},pr=e=>({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0,...rt(e)}),mr=e=>mergeToken(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},tt(e)),bi=F("Pagination",e=>{let o=mr(e);return [rc(o),nc(o)]},pr);var ac=e=>{let{componentCls:o}=e;return {[`${o}${o}-bordered${o}-disabled:not(${o}-mini)`]:{"&, &:hover":{[`${o}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${o}-item-link`]:{borderColor:e.colorBorder}},[`${o}-item, ${o}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${o}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${o}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${o}-prev, ${o}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${o}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${o}${o}-bordered:not(${o}-mini)`]:{[`${o}-prev, ${o}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${o}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${o}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${o}-disabled`]:{[`${o}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${o}-item`]:{backgroundColor:e.itemBg,border:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${o}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},$i=Gt(["Pagination","bordered"],e=>{let o=mr(e);return [ac(o)]},pr);function lt(e){return useMemo(()=>typeof e=="boolean"?[e,{}]:e&&typeof e=="object"?[true,e]:[void 0,void 0],[e])}var wi=e=>{let{align:o,prefixCls:t,selectPrefixCls:r,className:n,rootClassName:i,style:a,size:l,locale:s,responsive:c,showSizeChanger:p,selectComponentClass:d,pageSizeOptions:u,...S}=e,{xs:f}=Io(c),[,y]=N(),{getPrefixCls:h,direction:m,pagination:C={}}=z.useContext(v),g=h("pagination",t),[M,P,x]=bi(g),b=Ue(l),I=b==="small"||!!(f&&!b&&c),[R]=Ee("Pagination",La),$={...R,...s},[U,J]=lt(p),[K,ee]=lt(C.showSizeChanger),k=U??K,ye=J??ee,ne=d||ci,fe=z.useMemo(()=>u?u.map(w=>Number(w)):void 0,[u]),H=w=>{let{disabled:Se,size:Z,onSizeChange:me,"aria-label":ve,className:j,options:Te}=w,{className:xe,onChange:Pe}=ye||{},Ne=Te.find(oe=>String(oe.value)===String(Z))?.value;return z.createElement(ne,{disabled:Se,showSearch:true,popupMatchSelectWidth:false,getPopupContainer:oe=>oe.parentNode,"aria-label":ve,options:Te,...ye,value:Ne,onChange:(oe,ie)=>{me?.(oe),Pe?.(oe,ie);},size:I?"small":"middle",className:zo(j,xe)})};process.env.NODE_ENV!=="production"&&G("Pagination")(!d,"usage","`selectComponentClass` is not official api which will be removed.");let O=z.useMemo(()=>{let w=z.createElement("span",{className:`${g}-item-ellipsis`},"\u2022\u2022\u2022"),Se=z.createElement("button",{className:`${g}-item-link`,type:"button",tabIndex:-1},m==="rtl"?z.createElement(Ii,null):z.createElement(Pi,null)),Z=z.createElement("button",{className:`${g}-item-link`,type:"button",tabIndex:-1},m==="rtl"?z.createElement(Pi,null):z.createElement(Ii,null)),me=z.createElement("a",{className:`${g}-item-link`},z.createElement("div",{className:`${g}-item-container`},m==="rtl"?z.createElement(Ti,{className:`${g}-item-link-icon`}):z.createElement(vi,{className:`${g}-item-link-icon`}),w)),ve=z.createElement("a",{className:`${g}-item-link`},z.createElement("div",{className:`${g}-item-container`},m==="rtl"?z.createElement(vi,{className:`${g}-item-link-icon`}):z.createElement(Ti,{className:`${g}-item-link-icon`}),w));return {prevIcon:Se,nextIcon:Z,jumpPrevIcon:me,jumpNextIcon:ve}},[m,g]),pe=h("select",r),Ce=zo({[`${g}-${o}`]:!!o,[`${g}-mini`]:I,[`${g}-rtl`]:m==="rtl",[`${g}-bordered`]:y.wireframe},C?.className,n,i,P,x),je={...C?.style,...a};return M(z.createElement(z.Fragment,null,y.wireframe&&z.createElement($i,{prefixCls:g}),z.createElement(sc,{...O,...S,style:je,prefixCls:g,selectPrefixCls:pe,className:Ce,locale:$,pageSizeOptions:fe,showSizeChanger:k,sizeChangerRender:H})))};process.env.NODE_ENV!=="production"&&(wi.displayName="Pagination");var Mi=wi;var zi=Mi;var pc=(e,o,t)=>z__default.isValidElement(e)?z__default.cloneElement(e,typeof t=="function"?t(e.props||{}):t):o;function st(e,o){return pc(e,e,o)}var ct=100,Ni=ct/5,Di=ct/2-Ni/2,dr=Di*2*Math.PI,Oi=50,Bi=e=>{let{dotClassName:o,style:t,hasCircleCls:r}=e;return z.createElement("circle",{className:zo(`${o}-circle`,{[`${o}-circle-bg`]:r}),r:Di,cx:Oi,cy:Oi,strokeWidth:Ni,style:t})},dc=({percent:e,prefixCls:o})=>{let t=`${o}-dot`,r=`${t}-holder`,n=`${r}-hidden`,[i,a]=z.useState(false);Rl(()=>{e!==0&&a(true);},[e!==0]);let l=Math.max(Math.min(e,100),0);if(!i)return null;let s={strokeDashoffset:`${dr/4}`,strokeDasharray:`${dr*l/100} ${dr*(100-l)/100}`};return z.createElement("span",{className:zo(r,`${t}-progress`,l<=0&&n)},z.createElement("svg",{viewBox:`0 0 ${ct} ${ct}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":l},z.createElement(Bi,{dotClassName:t,hasCircleCls:true}),z.createElement(Bi,{dotClassName:t,style:s})))},Hi=dc;function gr(e){let{prefixCls:o,percent:t=0}=e,r=`${o}-dot`,n=`${r}-holder`,i=`${n}-hidden`;return z.createElement(z.Fragment,null,z.createElement("span",{className:zo(n,t>0&&i)},z.createElement("span",{className:zo(r,`${o}-dot-spin`)},[1,2,3,4].map(a=>z.createElement("i",{className:`${o}-dot-item`,key:a})))),z.createElement(Hi,{prefixCls:o,percent:t}))}function ur(e){let{prefixCls:o,indicator:t,percent:r}=e,n=`${o}-dot`;return t&&z.isValidElement(t)?st(t,{className:zo(t.props.className,n),percent:r}):z.createElement(gr,{prefixCls:o,percent:r})}var uc=new Keyframes("antSpinMove",{to:{opacity:1}}),fc=new Keyframes("antRotate",{to:{transform:"rotate(405deg)"}}),Cc=e=>{let{componentCls:o,calc:t}=e;return {[o]:{...Y(e),position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"relative",display:"inline-block",opacity:1},[`${o}-text`]:{fontSize:e.fontSize,paddingTop:t(t(e.dotSize).sub(e.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${e.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[o]:{[`${o}-dot-holder`]:{color:e.colorWhite},[`${o}-text`]:{color:e.colorTextLightSolid}}},"&-nested-loading":{position:"relative",[`> div > ${o}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${o}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:t(e.dotSize).mul(-1).div(2).equal()},[`${o}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${o}-show-text ${o}-dot`]:{marginTop:t(e.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${o}-dot`]:{margin:t(e.dotSizeSM).mul(-1).div(2).equal()},[`${o}-text`]:{paddingTop:t(t(e.dotSizeSM).sub(e.fontSize)).div(2).add(2).equal()},[`&${o}-show-text ${o}-dot`]:{marginTop:t(e.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${o}-dot`]:{margin:t(e.dotSizeLG).mul(-1).div(2).equal()},[`${o}-text`]:{paddingTop:t(t(e.dotSizeLG).sub(e.fontSize)).div(2).add(2).equal()},[`&${o}-show-text ${o}-dot`]:{marginTop:t(e.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${o}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${o}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${o}-dot-holder`]:{width:"1em",height:"1em",fontSize:e.dotSize,display:"inline-block",transition:`transform ${e.motionDurationSlow} ease, opacity ${e.motionDurationSlow} ease`,transformOrigin:"50% 50%",lineHeight:1,color:e.colorPrimary,"&-hidden":{transform:"scale(0.3)",opacity:0}},[`${o}-dot-progress`]:{position:"absolute",top:"50%",transform:"translate(-50%, -50%)",insetInlineStart:"50%"},[`${o}-dot`]:{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:t(e.dotSize).sub(t(e.marginXXS).div(2)).div(2).equal(),height:t(e.dotSize).sub(t(e.marginXXS).div(2)).div(2).equal(),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:uc,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-spin":{transform:"rotate(45deg)",animationName:fc,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(r=>`${r} ${e.motionDurationSlow} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}},[`&-sm ${o}-dot`]:{"&, &-holder":{fontSize:e.dotSizeSM}},[`&-sm ${o}-dot-holder`]:{i:{width:t(t(e.dotSizeSM).sub(t(e.marginXXS).div(2))).div(2).equal(),height:t(t(e.dotSizeSM).sub(t(e.marginXXS).div(2))).div(2).equal()}},[`&-lg ${o}-dot`]:{"&, &-holder":{fontSize:e.dotSizeLG}},[`&-lg ${o}-dot-holder`]:{i:{width:t(t(e.dotSizeLG).sub(e.marginXXS)).div(2).equal(),height:t(t(e.dotSizeLG).sub(e.marginXXS)).div(2).equal()}},[`&${o}-show-text ${o}-text`]:{display:"block"}}}},Sc=e=>{let{controlHeightLG:o,controlHeight:t}=e;return {contentHeight:400,dotSize:o/2,dotSizeSM:o*.35,dotSizeLG:t}},Gi=F("Spin",e=>{let o=mergeToken(e,{spinDotDefault:e.colorTextDescription});return [Cc(o)]},Sc);var yc=200,Wi=[[30,.05],[70,.03],[96,.01]];function fr(e,o){let[t,r]=z.useState(0),n=z.useRef(null),i=o==="auto";return z.useEffect(()=>(i&&e&&(r(0),n.current=setInterval(()=>{r(a=>{let l=100-a;for(let s=0;s<Wi.length;s+=1){let[c,p]=Wi[s];if(a<=c)return a+l*p}return a});},yc)),()=>{clearInterval(n.current);}),[i,e]),i?t:o}var ki;function hc(e,o){return !!e&&!!o&&!isNaN(Number(o))}var Cr=e=>{let{prefixCls:o,spinning:t=true,delay:r=0,className:n,rootClassName:i,size:a="default",tip:l,wrapperClassName:s,style:c,children:p,fullscreen:d=false,indicator:u,percent:S,...f}=e,{getPrefixCls:y,direction:h,spin:m}=z.useContext(v),C=y("spin",o),[g,M,P]=Gi(C),[x,b]=z.useState(()=>t&&!hc(t,r)),I=fr(x,S);z.useEffect(()=>{if(t){let k=debounce(r,()=>{b(true);});return k(),()=>{k?.cancel?.();}}b(false);},[r,t]);let R=z.useMemo(()=>typeof p<"u"&&!d,[p,d]);process.env.NODE_ENV!=="production"&&G("Spin")(!l||R||d,"usage","`tip` only work in nest or fullscreen pattern.");let $=zo(C,m?.className,{[`${C}-sm`]:a==="small",[`${C}-lg`]:a==="large",[`${C}-spinning`]:x,[`${C}-show-text`]:!!l,[`${C}-rtl`]:h==="rtl"},n,!d&&i,M,P),U=zo(`${C}-container`,{[`${C}-blur`]:x}),J=u??m?.indicator??ki,K={...m?.style,...c},ee=z.createElement("div",{...f,style:K,className:$,"aria-live":"polite","aria-busy":x},z.createElement(ur,{prefixCls:C,indicator:J,percent:I}),l&&(R||d)?z.createElement("div",{className:`${C}-text`},l):null);return g(R?z.createElement("div",{...f,className:zo(`${C}-nested-loading`,s,M,P)},x&&z.createElement("div",{key:"loading"},ee),z.createElement("div",{className:U,key:"container"},p)):d?z.createElement("div",{className:zo(`${C}-fullscreen`,{[`${C}-fullscreen-show`]:x},i,M,P)},ee):ee)};Cr.setDefaultIndicator=e=>{ki=e;};process.env.NODE_ENV!=="production"&&(Cr.displayName="Spin");var ji=Cr;var Mo=z__default.createContext({});Mo.Consumer;var $c=({prefixCls:e,className:o,avatar:t,title:r,description:n,...i})=>{let{getPrefixCls:a}=useContext(v),l=a("list",e),s=zo(`${l}-item-meta`,o),c=z__default.createElement("div",{className:`${l}-item-meta-content`},r&&z__default.createElement("h4",{className:`${l}-item-meta-title`},r),n&&z__default.createElement("div",{className:`${l}-item-meta-description`},n));return z__default.createElement("div",{...i,className:s},t&&z__default.createElement("div",{className:`${l}-item-meta-avatar`},t),(r||n)&&c)},vc=z__default.forwardRef((e,o)=>{let{prefixCls:t,children:r,actions:n,extra:i,styles:a,className:l,classNames:s,colStyle:c,...p}=e,{grid:d,itemLayout:u}=useContext(Mo),{getPrefixCls:S,list:f}=useContext(v),y=b=>zo(f?.item?.classNames?.[b],s?.[b]),h=b=>({...f?.item?.styles?.[b],...a?.[b]}),m=()=>{let b=false;return Children.forEach(r,I=>{typeof I=="string"&&(b=true);}),b&&Children.count(r)>1},C=()=>u==="vertical"?!!i:!m(),g=S("list",t),M=n&&n.length>0&&z__default.createElement("ul",{className:zo(`${g}-item-action`,y("actions")),key:"actions",style:h("actions")},n.map((b,I)=>z__default.createElement("li",{key:`${g}-item-action-${I}`},b,I!==n.length-1&&z__default.createElement("em",{className:`${g}-item-action-split`})))),x=z__default.createElement(d?"div":"li",{...p,...d?{}:{ref:o},className:zo(`${g}-item`,{[`${g}-item-no-flex`]:!C()},l)},u==="vertical"&&i?[z__default.createElement("div",{className:`${g}-item-main`,key:"content"},r,M),z__default.createElement("div",{className:zo(`${g}-item-extra`,y("extra")),key:"extra",style:h("extra")},i)]:[r,M,st(i,{key:"extra"})]);return d?z__default.createElement(er,{ref:o,flex:1,style:c},x):x}),_i=vc;_i.Meta=$c;var Xi=_i;var Tc=e=>{let{listBorderedCls:o,componentCls:t,paddingLG:r,margin:n,itemPaddingSM:i,itemPaddingLG:a,marginLG:l,borderRadiusLG:s}=e;return {[o]:{border:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:s,[`${t}-header,${t}-footer,${t}-item`]:{paddingInline:r},[`${t}-pagination`]:{margin:`${unit(n)} ${unit(l)}`}},[`${o}${t}-sm`]:{[`${t}-item,${t}-header,${t}-footer`]:{padding:i}},[`${o}${t}-lg`]:{[`${t}-item,${t}-header,${t}-footer`]:{padding:a}}}},Pc=e=>{let{componentCls:o,screenSM:t,screenMD:r,marginLG:n,marginSM:i,margin:a}=e;return {[`@media screen and (max-width:${r}px)`]:{[o]:{[`${o}-item`]:{[`${o}-item-action`]:{marginInlineStart:n}}},[`${o}-vertical`]:{[`${o}-item`]:{[`${o}-item-extra`]:{marginInlineStart:n}}}},[`@media screen and (max-width: ${t}px)`]:{[o]:{[`${o}-item`]:{flexWrap:"wrap",[`${o}-action`]:{marginInlineStart:i}}},[`${o}-vertical`]:{[`${o}-item`]:{flexWrap:"wrap-reverse",[`${o}-item-main`]:{minWidth:e.contentWidth},[`${o}-item-extra`]:{margin:`auto auto ${unit(a)}`}}}}}},Ic=e=>{let{componentCls:o,antCls:t,controlHeight:r,minHeight:n,paddingSM:i,marginLG:a,padding:l,itemPadding:s,colorPrimary:c,itemPaddingSM:p,itemPaddingLG:d,paddingXS:u,margin:S,colorText:f,colorTextDescription:y,motionDurationSlow:h,lineWidth:m,headerBg:C,footerBg:g,emptyTextPadding:M,metaMarginBottom:P,avatarMarginRight:x,titleMarginBottom:b,descriptionFontSize:I}=e;return {[o]:{...Y(e),position:"relative","*":{outline:"none"},[`${o}-header`]:{background:C},[`${o}-footer`]:{background:g},[`${o}-header, ${o}-footer`]:{paddingBlock:i},[`${o}-pagination`]:{marginBlockStart:a,[`${t}-pagination-options`]:{textAlign:"start"}},[`${o}-spin`]:{minHeight:n,textAlign:"center"},[`${o}-items`]:{margin:0,padding:0,listStyle:"none"},[`${o}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:s,color:f,[`${o}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${o}-item-meta-avatar`]:{marginInlineEnd:x},[`${o}-item-meta-content`]:{flex:"1 0",width:0,color:f},[`${o}-item-meta-title`]:{margin:`0 0 ${unit(e.marginXXS)} 0`,color:f,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:f,transition:`all ${h}`,"&:hover":{color:c}}},[`${o}-item-meta-description`]:{color:y,fontSize:I,lineHeight:e.lineHeight}},[`${o}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${unit(u)}`,color:y,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${o}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:m,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${o}-empty`]:{padding:`${unit(l)} 0`,color:y,fontSize:e.fontSizeSM,textAlign:"center"},[`${o}-empty-text`]:{padding:M,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${o}-item-no-flex`]:{display:"block"}},[`${o}-grid ${t}-col > ${o}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:S,paddingBlock:0,borderBlockEnd:"none"},[`${o}-vertical ${o}-item`]:{alignItems:"initial",[`${o}-item-main`]:{display:"block",flex:1},[`${o}-item-extra`]:{marginInlineStart:a},[`${o}-item-meta`]:{marginBlockEnd:P,[`${o}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:b,color:f,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${o}-item-action`]:{marginBlockStart:l,marginInlineStart:"auto","> li":{padding:`0 ${unit(l)}`,"&:first-child":{paddingInlineStart:0}}}},[`${o}-split ${o}-item`]:{borderBlockEnd:`${unit(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${o}-split ${o}-header`]:{borderBlockEnd:`${unit(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${o}-split${o}-empty ${o}-footer`]:{borderTop:`${unit(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${o}-loading ${o}-spin-nested-loading`]:{minHeight:r},[`${o}-split${o}-something-after-last-item ${t}-spin-container > ${o}-items > ${o}-item:last-child`]:{borderBlockEnd:`${unit(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${o}-lg ${o}-item`]:{padding:d},[`${o}-sm ${o}-item`]:{padding:p},[`${o}:not(${o}-vertical)`]:{[`${o}-item-no-flex`]:{[`${o}-item-action`]:{float:"right"}}}}},Rc=e=>({contentWidth:220,itemPadding:`${unit(e.paddingContentVertical)} 0`,itemPaddingSM:`${unit(e.paddingContentVerticalSM)} ${unit(e.paddingContentHorizontal)}`,itemPaddingLG:`${unit(e.paddingContentVerticalLG)} ${unit(e.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize}),Ui=F("List",e=>{let o=mergeToken(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return [Ic(o),Tc(o),Pc(o)]},Rc);function wc({pagination:e=false,prefixCls:o,bordered:t=false,split:r=true,className:n,rootClassName:i,style:a,children:l,itemLayout:s,loadMore:c,grid:p,dataSource:d=[],size:u,header:S,footer:f,loading:y=false,rowKey:h,renderItem:m,locale:C,...g},M){let P=e&&typeof e=="object"?e:{},[x,b]=z.useState(P.defaultCurrent||1),[I,R]=z.useState(P.defaultPageSize||10),{getPrefixCls:$,renderEmpty:U,direction:J,list:K}=z.useContext(v),ee={current:1,total:0},k=B=>(V,Q)=>{b(V),R(Q),e&&e?.[B]?.(V,Q);},ye=k("onChange"),ne=k("onShowSizeChange"),fe=(B,V)=>{if(!m)return null;let Q;return typeof h=="function"?Q=h(B):h?Q=B[h]:Q=B.key,Q||(Q=`list-item-${V}`),z.createElement(z.Fragment,{key:Q},m(B,V))},H=()=>!!(c||e||f),O=$("list",o),[pe,Ce,je]=Ui(O),w=y;typeof w=="boolean"&&(w={spinning:w});let Se=!!w?.spinning,Z=Ue(u),me="";switch(Z){case "large":me="lg";break;case "small":me="sm";break;}let ve=zo(O,{[`${O}-vertical`]:s==="vertical",[`${O}-${me}`]:me,[`${O}-split`]:r,[`${O}-bordered`]:t,[`${O}-loading`]:Se,[`${O}-grid`]:!!p,[`${O}-something-after-last-item`]:H(),[`${O}-rtl`]:J==="rtl"},K?.className,n,i,Ce,je),j=$r(ee,{total:d.length,current:x,pageSize:I},e||{}),Te=Math.ceil(j.total/j.pageSize);j.current>Te&&(j.current=Te);let xe=e&&z.createElement("div",{className:zo(`${O}-pagination`)},z.createElement(zi,{align:"end",...j,onChange:ye,onShowSizeChange:ne})),Pe=[...d];e&&d.length>(j.current-1)*j.pageSize&&(Pe=[...d].splice((j.current-1)*j.pageSize,j.pageSize));let Ne=Object.keys(p||{}).some(B=>["xs","sm","md","lg","xl","xxl"].includes(B)),oe=Io(Ne),ie=z.useMemo(()=>{for(let B=0;B<we.length;B+=1){let V=we[B];if(oe[V])return V}},[oe]),De=z.useMemo(()=>{if(!p)return;let B=ie&&p[ie]?p[ie]:p.column;if(B)return {width:`${100/B}%`,maxWidth:`${100/B}%`}},[JSON.stringify(p),ie]),Ve=Se&&z.createElement("div",{style:{minHeight:53}});if(Pe.length>0){let B=Pe.map((V,Q)=>fe(V,Q));Ve=p?z.createElement(tr,{gutter:p.gutter},z.Children.map(B,V=>z.createElement("div",{key:V?.key,style:De},V))):z.createElement("ul",{className:`${O}-items`},B);}else !l&&!Se&&(Ve=z.createElement("div",{className:`${O}-empty-text`},C?.emptyText||U?.("List")||z.createElement(Uo,{componentName:"List"})));let He=j.position||"bottom",uo=z.useMemo(()=>({grid:p,itemLayout:s}),[JSON.stringify(p),s]);return pe(z.createElement(Mo.Provider,{value:uo},z.createElement("div",{ref:M,style:{...K?.style,...a},className:ve,...g},(He==="top"||He==="both")&&xe,S&&z.createElement("div",{className:`${O}-header`},S),z.createElement(ji,{...w},Ve,l),f&&z.createElement("div",{className:`${O}-footer`},f),c||(He==="bottom"||He==="both")&&xe)))}var Ki=z.forwardRef(wc);process.env.NODE_ENV!=="production"&&(Ki.displayName="List");var Zi=Ki;Zi.Item=Xi;var bS=Zi;export{bS as default};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import type { CSSProperties } from 'react';
|
|
2
|
+
import type { GetDefaultToken } from '../../theme/internal';
|
|
3
|
+
export interface ComponentToken {
|
|
4
|
+
/**
|
|
5
|
+
* @desc 内容宽度
|
|
6
|
+
* @descEN Width of content
|
|
7
|
+
*/
|
|
8
|
+
contentWidth: number | string;
|
|
9
|
+
/**
|
|
10
|
+
* @desc 大号列表项内间距
|
|
11
|
+
* @descEN Padding of large item
|
|
12
|
+
*/
|
|
13
|
+
itemPaddingLG: string;
|
|
14
|
+
/**
|
|
15
|
+
* @desc 小号列表项内间距
|
|
16
|
+
* @descEN Padding of small item
|
|
17
|
+
*/
|
|
18
|
+
itemPaddingSM: string;
|
|
19
|
+
/**
|
|
20
|
+
* @desc 列表项内间距
|
|
21
|
+
* @descEN Padding of item
|
|
22
|
+
*/
|
|
23
|
+
itemPadding: string;
|
|
24
|
+
/**
|
|
25
|
+
* @desc 头部区域背景色
|
|
26
|
+
* @descEN Background color of header
|
|
27
|
+
*/
|
|
28
|
+
headerBg: string;
|
|
29
|
+
/**
|
|
30
|
+
* @desc 底部区域背景色
|
|
31
|
+
* @descEN Background color of footer
|
|
32
|
+
*/
|
|
33
|
+
footerBg: string;
|
|
34
|
+
/**
|
|
35
|
+
* @desc 空文本内边距
|
|
36
|
+
* @descEN Padding of empty text
|
|
37
|
+
*/
|
|
38
|
+
emptyTextPadding: CSSProperties['padding'];
|
|
39
|
+
/**
|
|
40
|
+
* @desc Meta 下间距
|
|
41
|
+
* @descEN Margin bottom of meta
|
|
42
|
+
*/
|
|
43
|
+
metaMarginBottom: CSSProperties['marginBottom'];
|
|
44
|
+
/**
|
|
45
|
+
* @desc 头像右间距
|
|
46
|
+
* @descEN Right margin of avatar
|
|
47
|
+
*/
|
|
48
|
+
avatarMarginRight: CSSProperties['marginRight'];
|
|
49
|
+
/**
|
|
50
|
+
* @desc 标题下间距
|
|
51
|
+
* @descEN Margin bottom of title
|
|
52
|
+
*/
|
|
53
|
+
titleMarginBottom: CSSProperties['marginBottom'];
|
|
54
|
+
/**
|
|
55
|
+
* @desc 描述文字大小
|
|
56
|
+
* @descEN Font size of description
|
|
57
|
+
*/
|
|
58
|
+
descriptionFontSize: number;
|
|
59
|
+
}
|
|
60
|
+
export declare const prepareComponentToken: GetDefaultToken<'List'>;
|
|
61
|
+
declare const _default: (prefixCls: string, rootCls?: string) => readonly [(node: React.ReactElement) => React.ReactElement, string, string];
|
|
62
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import {createTheme,unit,useCacheToken}from'@ant-design/cssinjs';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import*as Pe from'react';import Pe__default,{useContext}from'react';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';var N=(e,o=false)=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:o?"inherit":e.fontFamily}),Se=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}});var U=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),V=(e,o,r,n)=>{let t=`[class^="${o}"], [class*=" ${o}"]`,l=r?`.${r}`:t,i={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},c={};return n!==false&&(c={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[l]:{...c,...i,[t]:i}}};var H=e=>({[`.${e}`]:{...Se(),[`.${e} .${e}-icon`]:{display:"block"}}});function _(e){return (e+8)/e}function z(e){let o=new Array(10).fill(null).map((r,n)=>{let t=n-1,l=e*Math.E**(t/5),i=n>1?Math.floor(l):Math.ceil(l);return Math.floor(i/2)*2});return o[1]=e,o.map(r=>({size:r,lineHeight:_(r)}))}var q={version:"0.0.2"};var K=q.version;var B={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},ye={...B,colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
2
|
+
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
3
|
+
'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:false,motion:true},u=ye;function w(e,{generateColorPalettes:o,generateNeutralColorPalettes:r}){let{colorSuccess:n,colorWarning:t,colorError:l,colorInfo:i,colorPrimary:c,colorBgBase:g,colorTextBase:s}=e,a=o(c),p=o(n),m=o(t),C=o(l),f=o(i),x=r(g,s),v=e.colorLink||e.colorInfo,T=o(v),$=new TinyColor(C[1]).mix(new TinyColor(C[3]),50).toHexString();return {...x,colorPrimaryBg:a[1],colorPrimaryBgHover:a[2],colorPrimaryBorder:a[3],colorPrimaryBorderHover:a[4],colorPrimaryHover:a[5],colorPrimary:a[6],colorPrimaryActive:a[7],colorPrimaryTextHover:a[8],colorPrimaryText:a[9],colorPrimaryTextActive:a[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:C[1],colorErrorBgHover:C[2],colorErrorBgFilledHover:$,colorErrorBgActive:C[3],colorErrorBorder:C[3],colorErrorBorderHover:C[4],colorErrorHover:C[5],colorError:C[6],colorErrorActive:C[7],colorErrorTextHover:C[8],colorErrorText:C[9],colorErrorTextActive:C[10],colorWarningBg:m[1],colorWarningBgHover:m[2],colorWarningBorder:m[3],colorWarningBorderHover:m[4],colorWarningHover:m[4],colorWarning:m[6],colorWarningActive:m[7],colorWarningTextHover:m[8],colorWarningText:m[9],colorWarningTextActive:m[10],colorInfoBg:f[1],colorInfoBgHover:f[2],colorInfoBorder:f[3],colorInfoBorderHover:f[4],colorInfoHover:f[4],colorInfo:f[6],colorInfoActive:f[7],colorInfoTextHover:f[8],colorInfoText:f[9],colorInfoTextActive:f[10],colorLinkHover:T[4],colorLink:T[6],colorLinkActive:T[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var xe=e=>{let o=e,r=e,n=e,t=e;return e<6&&e>=5?o=e+1:e<16&&e>=6?o=e+2:e>=16&&(o=16),e<7&&e>=5?r=4:e<8&&e>=7?r=5:e<14&&e>=8?r=6:e<16&&e>=14?r=7:e>=16&&(r=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?t=4:e>=8&&(t=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:r,borderRadiusLG:o,borderRadiusOuter:t}},Y=xe;function A(e){let{motionUnit:o,motionBase:r,borderRadius:n,lineWidth:t}=e;return {motionDurationFast:`${(r+o).toFixed(1)}s`,motionDurationMid:`${(r+o*2).toFixed(1)}s`,motionDurationSlow:`${(r+o*3).toFixed(1)}s`,lineWidthBold:t+1,...Y(n)}}var Te=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},J=Te;var ke=e=>{let o=z(e),r=o.map(a=>a.size),n=o.map(a=>a.lineHeight),t=r[1],l=r[0],i=r[2],c=n[1],g=n[0],s=n[2];return {fontSizeSM:l,fontSize:t,fontSizeLG:i,fontSizeXL:r[3],fontSizeHeading1:r[6],fontSizeHeading2:r[5],fontSizeHeading3:r[4],fontSizeHeading4:r[3],fontSizeHeading5:r[2],lineHeight:c,lineHeightLG:s,lineHeightSM:g,fontHeight:Math.round(c*t),fontHeightLG:Math.round(s*i),fontHeightSM:Math.round(g*l),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},Z=ke;function I(e){let{sizeUnit:o,sizeStep:r}=e;return {sizeXXL:o*(r+8),sizeXL:o*(r+4),sizeLG:o*(r+2),sizeMD:o*(r+1),sizeMS:o*r,size:o*r,sizeSM:o*(r-1),sizeXS:o*(r-2),sizeXXS:o*(r-3)}}var S=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),y=(e,o)=>new TinyColor(e).darken(o).toHexString();var oe=e=>{let o=generate(e);return {1:o[0],2:o[1],3:o[2],4:o[3],5:o[4],6:o[5],7:o[6],8:o[4],9:o[5],10:o[6]}},te=(e,o)=>{let r=e||"#fff",n=o||"#000";return {colorBgBase:r,colorTextBase:n,colorText:S(n,.88),colorTextSecondary:S(n,.65),colorTextTertiary:S(n,.45),colorTextQuaternary:S(n,.25),colorFill:S(n,.15),colorFillSecondary:S(n,.06),colorFillTertiary:S(n,.04),colorFillQuaternary:S(n,.02),colorBgSolid:S(n,1),colorBgSolidHover:S(n,.75),colorBgSolidActive:S(n,.95),colorBgLayout:y(r,4),colorBgContainer:y(r,0),colorBgElevated:y(r,0),colorBgSpotlight:S(n,.85),colorBgBlur:"transparent",colorBorder:y(r,15),colorBorderSecondary:y(r,6)}};function R(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys(B).map(r=>{let n=e[r]===presetPrimaryColors[r]?presetPalettes[r]:generate(e[r]);return new Array(10).fill(1).reduce((t,l,i)=>(t[`${r}-${i+1}`]=n[i],t[`${r}${i+1}`]=n[i],t),{})}).reduce((r,n)=>(r={...r,...n},r),{});return {...e,...o,...w(e,{generateColorPalettes:oe,generateNeutralColorPalettes:te}),...Z(e.fontSize),...I(e),...J(e),...A(e)}}var re=createTheme(R),ne={token:u,override:{override:u},hashed:true},G=Pe__default.createContext(ne);function X(e){return e>=0&&e<=255}function ve(e,o){let{r,g:n,b:t,a:l}=new TinyColor(e).toRgb();if(l<1)return e;let{r:i,g:c,b:g}=new TinyColor(o).toRgb();for(let s=.01;s<=1;s+=.01){let a=Math.round((r-i*(1-s))/s),p=Math.round((n-c*(1-s))/s),m=Math.round((t-g*(1-s))/s);if(X(a)&&X(p)&&X(m))return new TinyColor({r:a,g:p,b:m,a:Math.round(s*100)/100}).toRgbString()}return new TinyColor({r,g:n,b:t,a:1}).toRgbString()}var k=ve;function P(e){let{override:o,...r}=e,n={...o};Object.keys(u).forEach(m=>{delete n[m];});let t={...r,...n},l=480,i=576,c=768,g=992,s=1200,a=1600;return t.motion===false&&(t.motionDurationFast="0s",t.motionDurationMid="0s",t.motionDurationSlow="0s"),{...t,colorFillContent:t.colorFillSecondary,colorFillContentHover:t.colorFill,colorFillAlter:t.colorFillQuaternary,colorBgContainerDisabled:t.colorFillTertiary,colorBorderBg:t.colorBgContainer,colorSplit:k(t.colorBorderSecondary,t.colorBgContainer),colorTextPlaceholder:t.colorTextQuaternary,colorTextDisabled:t.colorTextQuaternary,colorTextHeading:t.colorText,colorTextLabel:t.colorTextSecondary,colorTextDescription:t.colorTextTertiary,colorTextLightSolid:t.colorWhite,colorHighlight:t.colorError,colorBgTextHover:t.colorFillSecondary,colorBgTextActive:t.colorFill,colorIcon:t.colorTextTertiary,colorIconHover:t.colorText,colorErrorOutline:k(t.colorErrorBg,t.colorBgContainer),colorWarningOutline:k(t.colorWarningBg,t.colorBgContainer),fontSizeIcon:t.fontSizeSM,lineWidthFocus:t.lineWidth*3,lineWidth:t.lineWidth,controlOutlineWidth:t.lineWidth*2,controlInteractiveSize:t.controlHeight/2,controlItemBgHover:t.colorFillTertiary,controlItemBgActive:t.colorPrimaryBg,controlItemBgActiveHover:t.colorPrimaryBgHover,controlItemBgActiveDisabled:t.colorFill,controlTmpOutline:t.colorFillQuaternary,controlOutline:k(t.colorPrimaryBg,t.colorBgContainer),lineType:t.lineType,borderRadius:t.borderRadius,borderRadiusXS:t.borderRadiusXS,borderRadiusSM:t.borderRadiusSM,borderRadiusLG:t.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:t.sizeXXS,paddingXS:t.sizeXS,paddingSM:t.sizeSM,padding:t.size,paddingMD:t.sizeMD,paddingLG:t.sizeLG,paddingXL:t.sizeXL,paddingContentHorizontalLG:t.sizeLG,paddingContentVerticalLG:t.sizeMS,paddingContentHorizontal:t.sizeMS,paddingContentVertical:t.sizeSM,paddingContentHorizontalSM:t.size,paddingContentVerticalSM:t.sizeXS,marginXXS:t.sizeXXS,marginXS:t.sizeXS,marginSM:t.sizeSM,margin:t.size,marginMD:t.sizeMD,marginLG:t.sizeLG,marginXL:t.sizeXL,marginXXL:t.sizeXXL,boxShadow:`
|
|
4
|
+
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
5
|
+
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
6
|
+
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
7
|
+
`,boxShadowSecondary:`
|
|
8
|
+
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
9
|
+
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
10
|
+
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
11
|
+
`,boxShadowTertiary:`
|
|
12
|
+
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
|
13
|
+
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
14
|
+
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
15
|
+
`,screenXS:l,screenXSMin:l,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:c-1,screenMD:c,screenMDMin:c,screenMDMax:g-1,screenLG:g,screenLGMin:g,screenLGMax:s-1,screenXL:s,screenXLMin:s,screenXLMax:a-1,screenXXL:a,screenXXLMin:a,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
|
16
|
+
0 1px 2px -2px ${new TinyColor("rgba(0, 0, 0, 0.16)").toRgbString()},
|
|
17
|
+
0 3px 6px 0 ${new TinyColor("rgba(0, 0, 0, 0.12)").toRgbString()},
|
|
18
|
+
0 5px 12px 4px ${new TinyColor("rgba(0, 0, 0, 0.09)").toRgbString()}
|
|
19
|
+
`,boxShadowDrawerRight:`
|
|
20
|
+
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
21
|
+
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
22
|
+
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
23
|
+
`,boxShadowDrawerLeft:`
|
|
24
|
+
6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
25
|
+
3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
26
|
+
9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
27
|
+
`,boxShadowDrawerUp:`
|
|
28
|
+
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
29
|
+
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
30
|
+
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
31
|
+
`,boxShadowDrawerDown:`
|
|
32
|
+
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
33
|
+
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
34
|
+
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
35
|
+
`,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)",...n}}var E={lineHeight:true,lineHeightSM:true,lineHeightLG:true,lineHeightHeading1:true,lineHeightHeading2:true,lineHeightHeading3:true,lineHeightHeading4:true,lineHeightHeading5:true,opacityLoading:true,fontWeightStrong:true,zIndexPopupBase:true,zIndexBase:true,opacityImage:true},ze={size:true,sizeSM:true,sizeLG:true,sizeMD:true,sizeXS:true,sizeXXS:true,sizeMS:true,sizeXL:true,sizeXXL:true,sizeUnit:true,sizeStep:true,motionBase:true,motionUnit:true},Be={screenXS:true,screenXSMin:true,screenXSMax:true,screenSM:true,screenSMMin:true,screenSMMax:true,screenMD:true,screenMDMin:true,screenMDMax:true,screenLG:true,screenLGMin:true,screenLGMax:true,screenXL:true,screenXLMin:true,screenXLMax:true,screenXXL:true,screenXXLMin:true},ie=(e,o,r)=>{let n=r.getDerivativeToken(e),{override:t,...l}=o,i={...n,override:t};return i=P(i),l&&Object.entries(l).forEach(([c,g])=>{let{theme:s,...a}=g,p=a;s&&(p=ie({...i,...a},{override:a},s)),i[c]=p;}),i};function b(){let{token:e,hashed:o,theme:r,override:n,cssVar:t}=Pe__default.useContext(G),l=`${K}-${o||""}`,i=r||re,[c,g,s]=useCacheToken(i,[u,e],{salt:l,override:n,getComputedToken:ie,formatToken:P,cssVar:t&&{prefix:t.prefix,key:t.key,unitless:E,ignore:ze,preserve:Be}});return [i,s,o?g:"",c,t]}var ae="ant",j="anticon";var Le=(e,o)=>o||(e?`${ae}-${e}`:ae),M=Pe.createContext({getPrefixCls:Le,iconPrefixCls:j}),{Consumer:Go}=M;var{genStyleHooks:W,genComponentStyleHook:Ae,genSubStyleComponent:Ie}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:o}=useContext(M);return {rootPrefixCls:e(),iconPrefixCls:o}},useToken:()=>{let[e,o,r,n,t]=b();return {theme:e,realToken:o,hashId:r,token:n,cssVar:t}},useCSP:()=>{let{csp:e}=useContext(M);return e??{}},getResetStyles:(e,o)=>[{"&":U(e)},H(o?.prefix.iconPrefixCls??j)],getCommonStyle:V,getCompUnitless:(()=>E)});var De=e=>{let{listBorderedCls:o,componentCls:r,paddingLG:n,margin:t,itemPaddingSM:l,itemPaddingLG:i,marginLG:c,borderRadiusLG:g}=e;return {[o]:{border:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:g,[`${r}-header,${r}-footer,${r}-item`]:{paddingInline:n},[`${r}-pagination`]:{margin:`${unit(t)} ${unit(c)}`}},[`${o}${r}-sm`]:{[`${r}-item,${r}-header,${r}-footer`]:{padding:l}},[`${o}${r}-lg`]:{[`${r}-item,${r}-header,${r}-footer`]:{padding:i}}}},Fe=e=>{let{componentCls:o,screenSM:r,screenMD:n,marginLG:t,marginSM:l,margin:i}=e;return {[`@media screen and (max-width:${n}px)`]:{[o]:{[`${o}-item`]:{[`${o}-item-action`]:{marginInlineStart:t}}},[`${o}-vertical`]:{[`${o}-item`]:{[`${o}-item-extra`]:{marginInlineStart:t}}}},[`@media screen and (max-width: ${r}px)`]:{[o]:{[`${o}-item`]:{flexWrap:"wrap",[`${o}-action`]:{marginInlineStart:l}}},[`${o}-vertical`]:{[`${o}-item`]:{flexWrap:"wrap-reverse",[`${o}-item-main`]:{minWidth:e.contentWidth},[`${o}-item-extra`]:{margin:`auto auto ${unit(i)}`}}}}}},Re=e=>{let{componentCls:o,antCls:r,controlHeight:n,minHeight:t,paddingSM:l,marginLG:i,padding:c,itemPadding:g,colorPrimary:s,itemPaddingSM:a,itemPaddingLG:p,paddingXS:m,margin:C,colorText:f,colorTextDescription:x,motionDurationSlow:v,lineWidth:T,headerBg:$,footerBg:pe,emptyTextPadding:ge,metaMarginBottom:me,avatarMarginRight:de,titleMarginBottom:fe,descriptionFontSize:Ce}=e;return {[o]:{...N(e),position:"relative","*":{outline:"none"},[`${o}-header`]:{background:$},[`${o}-footer`]:{background:pe},[`${o}-header, ${o}-footer`]:{paddingBlock:l},[`${o}-pagination`]:{marginBlockStart:i,[`${r}-pagination-options`]:{textAlign:"start"}},[`${o}-spin`]:{minHeight:t,textAlign:"center"},[`${o}-items`]:{margin:0,padding:0,listStyle:"none"},[`${o}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:g,color:f,[`${o}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${o}-item-meta-avatar`]:{marginInlineEnd:de},[`${o}-item-meta-content`]:{flex:"1 0",width:0,color:f},[`${o}-item-meta-title`]:{margin:`0 0 ${unit(e.marginXXS)} 0`,color:f,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:f,transition:`all ${v}`,"&:hover":{color:s}}},[`${o}-item-meta-description`]:{color:x,fontSize:Ce,lineHeight:e.lineHeight}},[`${o}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${unit(m)}`,color:x,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${o}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:T,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${o}-empty`]:{padding:`${unit(c)} 0`,color:x,fontSize:e.fontSizeSM,textAlign:"center"},[`${o}-empty-text`]:{padding:ge,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${o}-item-no-flex`]:{display:"block"}},[`${o}-grid ${r}-col > ${o}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:C,paddingBlock:0,borderBlockEnd:"none"},[`${o}-vertical ${o}-item`]:{alignItems:"initial",[`${o}-item-main`]:{display:"block",flex:1},[`${o}-item-extra`]:{marginInlineStart:i},[`${o}-item-meta`]:{marginBlockEnd:me,[`${o}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:fe,color:f,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${o}-item-action`]:{marginBlockStart:c,marginInlineStart:"auto","> li":{padding:`0 ${unit(c)}`,"&:first-child":{paddingInlineStart:0}}}},[`${o}-split ${o}-item`]:{borderBlockEnd:`${unit(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${o}-split ${o}-header`]:{borderBlockEnd:`${unit(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${o}-split${o}-empty ${o}-footer`]:{borderTop:`${unit(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${o}-loading ${o}-spin-nested-loading`]:{minHeight:n},[`${o}-split${o}-something-after-last-item ${r}-spin-container > ${o}-items > ${o}-item:last-child`]:{borderBlockEnd:`${unit(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${o}-lg ${o}-item`]:{padding:p},[`${o}-sm ${o}-item`]:{padding:a},[`${o}:not(${o}-vertical)`]:{[`${o}-item-no-flex`]:{[`${o}-item-action`]:{float:"right"}}}}},Ge=e=>({contentWidth:220,itemPadding:`${unit(e.paddingContentVertical)} 0`,itemPaddingSM:`${unit(e.paddingContentVerticalSM)} ${unit(e.paddingContentHorizontal)}`,itemPaddingLG:`${unit(e.paddingContentVerticalLG)} ${unit(e.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize}),yt=W("List",e=>{let o=mergeToken(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return [Re(o),De(o),Fe(o)]},Ge);export{yt as default,Ge as prepareComponentToken};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import i from'rc-pagination/lib/locale/ar_EG';import o from'rc-picker/lib/locale/ar_EG';var t={placeholder:"\u0627\u062E\u062A\u064A\u0627\u0631 \u0627\u0644\u0648\u0642\u062A"},a=t;var m={lang:{placeholder:"\u0627\u062E\u062A\u064A\u0627\u0631 \u0627\u0644\u062A\u0627\u0631\u064A\u062E",rangePlaceholder:["\u0627\u0644\u0628\u062F\u0627\u064A\u0629","\u0627\u0644\u0646\u0647\u0627\u064A\u0629"],yearFormat:"YYYY",dateFormat:"D/M/YYYY",dayFormat:"D",dateTimeFormat:"DD/MM/YYYY HH:mm:ss",monthFormat:"MMMM",monthBeforeYear:true,shortWeekDays:["\u0627\u0644\u0623\u062D\u062F","\u0627\u0644\u0625\u062B\u0646\u064A\u0646","\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621","\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621","\u0627\u0644\u062E\u0645\u064A\u0633","\u0627\u0644\u062C\u0645\u0639\u0629","\u0627\u0644\u0633\u0628\u062A"],shortMonths:["\u064A\u0646\u0627\u064A\u0631","\u0641\u0628\u0631\u0627\u064A\u0631","\u0645\u0627\u0631\u0633","\u0625\u0628\u0631\u064A\u0644","\u0645\u0627\u064A\u0648","\u064A\u0648\u0646\u064A\u0648","\u064A\u0648\u0644\u064A\u0648","\u0623\u063A\u0633\u0637\u0633","\u0633\u0628\u062A\u0645\u0628\u0631","\u0623\u0643\u062A\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062F\u064A\u0633\u0645\u0628\u0631"],...o},timePickerLocale:{...a},dateFormat:"DD-MM-YYYY",monthFormat:"MM-YYYY",dateTimeFormat:"DD-MM-YYYY HH:mm:ss",weekFormat:"wo-YYYY"},l=m;var r=l;var e="\u0644\u064A\u0633 ${label} \u0645\u0646 \u0646\u0648\u0639 ${type} \u0635\u0627\u0644\u062D\u064B\u0627",n={locale:"ar",Pagination:i,DatePicker:l,TimePicker:a,Calendar:r,global:{placeholder:"\u064A\u0631\u062C\u0649 \u0627\u0644\u062A\u062D\u062F\u064A\u062F"},Table:{filterTitle:"\u0627\u0644\u0641\u0644\u0627\u062A\u0631",filterConfirm:"\u062A\u0623\u0643\u064A\u062F",filterReset:"\u0625\u0639\u0627\u062F\u0629 \u0636\u0628\u0637",selectAll:"\u0627\u062E\u062A\u064A\u0627\u0631 \u0627\u0644\u0643\u0644",selectInvert:"\u0625\u0644\u063A\u0627\u0621 \u0627\u0644\u0627\u062E\u062A\u064A\u0627\u0631",selectionAll:"\u062D\u062F\u062F \u062C\u0645\u064A\u0639 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A",sortTitle:"\u0631\u062A\u0628",expand:"\u062A\u0648\u0633\u064A\u0639 \u0627\u0644\u0635\u0641",collapse:"\u0637\u064A \u0627\u0644\u0635\u0641",triggerDesc:"\u062A\u0631\u062A\u064A\u0628 \u062A\u0646\u0627\u0632\u0644\u064A",triggerAsc:"\u062A\u0631\u062A\u064A\u0628 \u062A\u0635\u0627\u0639\u062F\u064A",cancelSort:"\u0625\u0644\u063A\u0627\u0621 \u0627\u0644\u062A\u0631\u062A\u064A\u0628"},Modal:{okText:"\u062A\u0623\u0643\u064A\u062F",cancelText:"\u0625\u0644\u063A\u0627\u0621",justOkText:"\u062A\u0623\u0643\u064A\u062F"},Popconfirm:{okText:"\u062A\u0623\u0643\u064A\u062F",cancelText:"\u0625\u0644\u063A\u0627\u0621"},Transfer:{titles:["",""],searchPlaceholder:"\u0627\u0628\u062D\u062B \u0647\u0646\u0627",itemUnit:"\u0639\u0646\u0635\u0631",itemsUnit:"\u0639\u0646\u0627\u0635\u0631"},Upload:{uploading:"\u062C\u0627\u0631\u064A \u0627\u0644\u0631\u0641\u0639...",removeFile:"\u0627\u062D\u0630\u0641 \u0627\u0644\u0645\u0644\u0641",uploadError:"\u0645\u0634\u0643\u0644\u0629 \u0641\u0649 \u0627\u0644\u0631\u0641\u0639",previewFile:"\u0627\u0633\u062A\u0639\u0631\u0636 \u0627\u0644\u0645\u0644\u0641",downloadFile:"\u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0645\u0644\u0641"},Empty:{description:"\u0644\u0627 \u062A\u0648\u062C\u062F \u0628\u064A\u0627\u0646\u0627\u062A"},Icon:{icon:"\u0623\u064A\u0642\u0648\u0646\u0629"},Text:{edit:"\u062A\u0639\u062F\u064A\u0644",copy:"\u0646\u0633\u062E",copied:"\u0646\u0642\u0644",expand:"\u0648\u0633\u0639"},Form:{defaultValidateMessages:{default:"\u062E\u0637\u0623 \u0641\u064A \u062D\u0642\u0644 \u0627\u0644\u0625\u062F\u062E\u0627\u0644 ${label}",required:"\u064A\u0631\u062C\u0649 \u0625\u062F\u062E\u0627\u0644 ${label}",enum:"${label} \u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 \u0648\u0627\u062D\u062F\u0627 \u0645\u0646 [${enum}]",whitespace:"${label} \u0644\u0627 \u064A\u0645\u0643\u0646 \u0623\u0646 \u064A\u0643\u0648\u0646 \u062D\u0631\u0641\u064B\u0627 \u0641\u0627\u0631\u063A\u064B\u0627",date:{format:"${label} \u062A\u0646\u0633\u064A\u0642 \u0627\u0644\u062A\u0627\u0631\u064A\u062E \u063A\u064A\u0631 \u0635\u062D\u064A\u062D",parse:"${label} \u0644\u0627 \u064A\u0645\u0643\u0646 \u062A\u062D\u0648\u064A\u0644\u0647\u0627 \u0625\u0644\u0649 \u062A\u0627\u0631\u064A\u062E",invalid:"\u062A\u0627\u0631\u064A\u062E ${label} \u063A\u064A\u0631 \u0635\u062D\u064A\u062D"},types:{string:e,method:e,array:e,object:e,number:e,date:e,boolean:e,integer:e,float:e,regexp:e,email:e,url:e,hex:e},string:{len:"\u064A\u062C\u0628 ${label} \u0627\u0646 \u064A\u0643\u0648\u0646 ${len} \u0623\u062D\u0631\u0641",min:"${label} \u0639\u0644\u0649 \u0627\u0644\u0623\u0642\u0644 ${min} \u0623\u062D\u0631\u0641",max:"${label} \u064A\u0635\u0644 \u0625\u0644\u0649 ${max} \u0623\u062D\u0631\u0641",range:"\u064A\u062C\u0628 ${label} \u0627\u0646 \u064A\u0643\u0648\u0646 \u0645\u0627\u0628\u064A\u0646 ${min}-${max} \u0623\u062D\u0631\u0641"},number:{len:"${len} \u0627\u0646 \u064A\u0633\u0627\u0648\u064A ${label} \u064A\u062C\u0628",min:"${min} \u0627\u0644\u0623\u062F\u0646\u0649 \u0647\u0648 ${label} \u062D\u062F",max:"${max} \u0627\u0644\u0623\u0642\u0635\u0649 \u0647\u0648 ${label} \u062D\u062F",range:"${max}-${min} \u0627\u0646 \u064A\u0643\u0648\u0646 \u0645\u0627\u0628\u064A\u0646 ${label} \u064A\u062C\u0628"},array:{len:"\u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 ${label} \u0637\u0648\u0644\u0647 ${len}",min:"\u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 ${label} \u0637\u0648\u0644\u0647 \u0627\u0644\u0623\u062F\u0646\u0649 ${min}",max:"\u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 ${label} \u0637\u0648\u0644\u0647 \u0627\u0644\u0623\u0642\u0635\u0649 ${max}",range:"\u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 ${label} \u0637\u0648\u0644\u0647 \u0645\u0627\u0628\u064A\u0646 ${min}-${max}"},pattern:{mismatch:"\u0644\u0627 \u064A\u062A\u0637\u0627\u0628\u0642 ${label} \u0645\u0639 ${pattern}"}}},Image:{preview:"\u0645\u0639\u0627\u064A\u0646\u0629"},QRCode:{expired:"\u0627\u0646\u062A\u0647\u062A \u0635\u0644\u0627\u062D\u064A\u0629 \u0631\u0645\u0632 \u0627\u0644\u0627\u0633\u062A\u062C\u0627\u0628\u0629 \u0627\u0644\u0633\u0631\u064A\u0639\u0629",refresh:"\u0627\u0646\u0642\u0631 \u0644\u0644\u062A\u062D\u062F\u064A\u062B",scanned:"\u062A\u0645 \u0627\u0644\u0645\u0633\u062D"},ColorPicker:{presetEmpty:"\u0644\u0627 \u064A\u0648\u062C\u062F",transparent:"\u0634\u0641\u0627\u0641",singleColor:"\u0644\u0648\u0646 \u0648\u0627\u062D\u062F",gradientColor:"\u062A\u062F\u0631\u062C \u0644\u0648\u0646\u064A"}},h=n;export{h as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import m from'rc-pagination/lib/locale/az_AZ';import t from'rc-picker/lib/locale/az_AZ';var i={placeholder:"Vaxt\u0131 se\xE7",rangePlaceholder:["Ba\u015Flama tarixi","Bitm\u0259 tarixi"]},a=i;var n={lang:{placeholder:"Tarix se\xE7in",rangePlaceholder:["Ba\u015Flama tarixi","Bitm\u0259 tarixi"],yearPlaceholder:"\u0130l se\xE7in",quarterPlaceholder:"R\xFCb se\xE7in",monthPlaceholder:"Ay se\xE7in",weekPlaceholder:"H\u0259ft\u0259 se\xE7in",rangeYearPlaceholder:["Ba\u015Flama il","Bitm\u0259 il"],rangeQuarterPlaceholder:["Ba\u015Flama r\xFCb","Bitm\u0259 r\xFCb"],rangeMonthPlaceholder:["Ba\u015Flama ay","Bitm\u0259 ay"],rangeWeekPlaceholder:["Ba\u015Flama h\u0259ft\u0259","Bitm\u0259 h\u0259ft\u0259"],...t},timePickerLocale:{...a}},l=n;var r=l;var e="${label} H\xF6kml\xFC deyil ${type}",o={locale:"az",Pagination:m,DatePicker:l,TimePicker:a,Calendar:r,global:{placeholder:"Z\u0259hm\u0259t olmasa se\xE7in"},Table:{filterTitle:"Filter menyu",filterConfirm:"Axtar",filterReset:"S\u0131f\u0131rla",emptyText:"M\u0259lumat yoxdur",selectAll:"Cari s\u0259hif\u0259ni se\xE7",selectInvert:"M\xF6vcud s\u0259hif\u0259nin elementl\u0259rinin s\u0131ras\u0131n\u0131 t\u0259rs \xE7evir",filterEmptyText:"Filter yoxdur",filterCheckall:"B\xFCt\xFCn madd\u0259l\u0259ri se\xE7",filterSearchPlaceholder:"Filterl\u0259rd\u0259 axtar",selectNone:"B\xFCt\xFCn m\u0259lumat\u0131 sil",selectionAll:"B\xFCt\xFCn m\u0259lumat\u0131 se\xE7",sortTitle:"S\u0131rala",expand:"S\u0131ran\u0131 geni\u015Fl\u0259ndir",collapse:"S\u0131ran\u0131 qapad\u0131n",triggerDesc:"Azalan s\u0131ralama \xFC\xE7\xFCn klik edin",triggerAsc:"Artan s\u0131ralama \xFC\xE7\xFCn klik edin",cancelSort:"S\u0131ralamay\u0131 l\u0259\u011Fv edin"},Tour:{Next:"N\xF6vb\u0259ti",Previous:"\u018Fvv\u0259lki",Finish:"Bitir"},Modal:{okText:"B\u0259li",cancelText:"L\u0259\u011Fv et",justOkText:"B\u0259li"},Popconfirm:{okText:"B\u0259li",cancelText:"L\u0259\u011Fv et"},Transfer:{titles:["",""],notFoundContent:"Tap\u0131lmad\u0131",searchPlaceholder:"Burada axtar",itemUnit:"item",itemsUnit:"items",remove:"Sil",selectCurrent:"Cari s\u0259hif\u0259ni se\xE7",removeCurrent:"Cari s\u0259hif\u0259ni sil",selectAll:"B\xFCt\xFCn m\u0259lumat\u0131 se\xE7",deselectAll:"B\xFCt\xFCn se\xE7m\u0259 ni\u015Fanlar\u0131n\u0131 sil",removeAll:"B\xFCt\xFCn m\u0259lumat\u0131 sil",selectInvert:"M\xF6vcud s\u0259hif\u0259nin elementl\u0259rinin s\u0131ras\u0131n\u0131 t\u0259rs \xE7evir"},Upload:{uploading:"Y\xFCkl\u0259nir...",removeFile:"Fayl\u0131 sil",uploadError:"Y\xFCkl\u0259m\u0259 x\u0259tas\u0131",previewFile:"Fayla \xF6nbax\u0131\u015F",downloadFile:"Fayl\u0131 y\xFCkl\u0259"},Empty:{description:"M\u0259lumat yoxdur"},Icon:{icon:"icon"},Text:{edit:"D\u0259yi\u015Fiklik et",copy:"Kopyala",copied:"Kopyaland\u0131",expand:"Geni\u015Fl\u0259ndir",collapse:"Y\u0131\u011F\u0131lma"},Form:{optional:"\uFF08Se\xE7imli\uFF09",defaultValidateMessages:{default:"Sah\u0259 t\u0259sdiq x\u0259tas\u0131 ${label}",required:"Xahi\u015F edirik daxil olun ${label}",enum:"${label} Onlardan biri olmal\u0131d\u0131r[${enum}]",whitespace:"${label} Null xarakter ola bilm\u0259z",date:{format:"${label} Tarix format\u0131 h\xF6kml\xFC deyil",parse:"${label} Tarixi d\xF6nd\u0259rm\u0259k m\xFCmk\xFCn deyil",invalid:"${label} s\u0259hv tarixdir"},types:{string:e,method:e,array:e,object:e,number:e,date:e,boolean:e,integer:e,float:e,regexp:e,email:e,url:e,hex:e},string:{len:"${label} Olmal\u0131d\u0131r ${len} i\u015Far\u0259l\u0259r",min:"${label} \u0259n az ${min} i\u015Far\u0259l\u0259r",max:"${label} \u0259n \xE7ox ${max} i\u015Far\u0259l\u0259r",range:"${label} Olmal\u0131d\u0131r ${min}-${max} h\u0259rfl\u0259r aras\u0131nda"},number:{len:"${label} B\u0259rab\u0259r olmal\u0131d\u0131r ${len}",min:"${label} Minimal d\u0259y\u0259ri ${min}",max:"${label} Maksimal qiym\u0259t: ${max}",range:"${label} Olmal\u0131d\u0131r ${min}-${max} aralar\u0131nda"},array:{len:"Olmal\u0131d\u0131r ${len} par\xE7a ${label}",min:"\u0259n az ${min} par\xE7a ${label}",max:"\u0259n \xE7ox ${max} par\xE7a ${label}",range:"${label} miqdar\u0131Olmal\u0131d\u0131r ${min}-${max} aralar\u0131nda"},pattern:{mismatch:"${label} \u015Eablona uy\u011Fun g\u0259lmir ${pattern}"}}},Image:{preview:"\xD6nbax\u0131\u015F"},QRCode:{expired:"QR kodunun m\xFCdd\u0259ti bitmi\u015Fdir",refresh:"Yenil\u0259",scanned:"G\xF6z\u0259tildi"},ColorPicker:{presetEmpty:"Bo\u015Fdur",transparent:"\u015E\u0259ffaf",singleColor:"T\u0259k r\u0259ng",gradientColor:"Gradient r\u0259ng"}},k=o;export{k as default};
|