@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
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import*as C from'react';import C__default,{createContext,useContext,forwardRef,useRef,useEffect,useMemo,isValidElement}from'react';import Ci,{resetWarned}from'rc-util/lib/warning';import Sl from'@ant-design/icons/EditOutlined';import eo from'classnames';import hl from'rc-resize-observer';import yl from'rc-util/lib/Children/toArray';import Yt from'rc-util/lib/hooks/useLayoutEffect';import pi from'rc-util/lib/hooks/useMergedState';import vl from'rc-util/lib/omit';import {composeRef}from'rc-util/lib/ref';import {isStyleSupport}from'rc-util/lib/Dom/styleChecker';import {createTheme,Keyframes,useCacheToken,unit,useStyleRegister}from'@ant-design/cssinjs';import ma from'@ant-design/icons/lib/components/Context';import la from'rc-util/lib/hooks/useMemo';import {merge}from'rc-util/lib/utils/set';import vi from'rc-pagination/lib/locale/en_US';import hi from'rc-picker/lib/locale/en_US';import {presetPrimaryColors,presetPalettes,generate,gold}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';import Fi from'rc-util/lib/Dom/canUseDom';import {updateCSS}from'rc-util/lib/Dom/dynamicCSS';import ca from'rc-util/lib/isEqual';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import {Provider}from'rc-motion';import gs,{Popup}from'rc-tooltip';import'rc-field-form';import Qs from'@ant-design/icons/EnterOutlined';import qn from'rc-util/lib/KeyCode';import _s from'rc-textarea';import Ss from'@ant-design/icons/CloseCircleFilled';import Ws from'rc-input';import {triggerFocus}from'rc-input/lib/utils/commonUtils';import ol from'copy-to-clipboard';import tl from'rc-util/lib/hooks/useEvent';import dl from'@ant-design/icons/CheckOutlined';import fl from'@ant-design/icons/CopyOutlined';import ul from'@ant-design/icons/LoadingOutlined';function lr(){}var xe=null;function xi(){xe=null,resetWarned();}var ut=lr;process.env.NODE_ENV!=="production"&&(ut=(e,o,t)=>{Ci(e,`[swiftcrab: ${o}] ${t}`),process.env.NODE_ENV==="test"&&xi();});var gt=C.createContext({}),A=process.env.NODE_ENV!=="production"?e=>{let{strict:o}=C.useContext(gt),t=(r,n,i)=>{if(!r)if(o===false&&n==="deprecated"){let a=xe;xe||(xe={}),xe[e]=xe[e]||[],xe[e].includes(i||"")||xe[e].push(i||""),a||console.warn("[swiftcrab] There exists deprecated usage in your code:",xe);}else ut(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=lr,e},Ge=ut;var cr=createContext(void 0);var bi={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},$o=bi;var Ti={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"],...hi},timePickerLocale:{...$o}},Io=Ti;var pr=Io;var ee="${label} is not a valid ${type}",Pi={locale:"en",Pagination:vi,DatePicker:Io,TimePicker:$o,Calendar:pr,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:ee,method:ee,array:ee,object:ee,number:ee,date:ee,boolean:ee,integer:ee,float:ee,regexp:ee,email:ee,url:ee,hex:ee},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"}},Se=Pi;({...Se.Modal});var Eo=[],mr=()=>Eo.reduce((e,o)=>({...e,...o}),Se.Modal);function dr(e){if(e){let o={...e};return Eo.push(o),mr(),()=>{Eo=Eo.filter(t=>t!==o),mr();}}({...Se.Modal});}var wi=createContext(void 0),_e=wi;var $i=(e,o)=>{let t=C.useContext(_e),r=C.useMemo(()=>{let i=o||Se[e],a=t?.[e]??{};return {...typeof i=="function"?i():i,...a||{}}},[e,o,t]),n=C.useMemo(()=>{let i=t?.locale;return t?.exist&&!i?Se.locale:i},[t]);return [r,n]},xt=$i;var St="internalMark",fr=e=>{let{locale:o={},children:t,_ANT_MARK__:r}=e;process.env.NODE_ENV!=="production"&&A("LocaleProvider")(r===St,"deprecated","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale"),C.useEffect(()=>dr(o?.Modal),[o]);let n=C.useMemo(()=>({...o,exist:true}),[o]);return C.createElement(_e.Provider,{value:n},t)};process.env.NODE_ENV!=="production"&&(fr.displayName="LocaleProvider");var ur=fr;var bt={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"},Ii={...bt,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},be=Ii;function Tt(e,{generateColorPalettes:o,generateNeutralColorPalettes:t}){let{colorSuccess:r,colorWarning:n,colorError:i,colorInfo:a,colorPrimary:s,colorBgBase:c,colorTextBase:l}=e,m=o(s),d=o(r),p=o(n),f=o(i),u=o(a),y=t(c,l),x=e.colorLink||e.colorInfo,g=o(x),v=new TinyColor(f[1]).mix(new TinyColor(f[3]),50).toHexString();return {...y,colorPrimaryBg:m[1],colorPrimaryBgHover:m[2],colorPrimaryBorder:m[3],colorPrimaryBorderHover:m[4],colorPrimaryHover:m[5],colorPrimary:m[6],colorPrimaryActive:m[7],colorPrimaryTextHover:m[8],colorPrimaryText:m[9],colorPrimaryTextActive:m[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:f[1],colorErrorBgHover:f[2],colorErrorBgFilledHover:v,colorErrorBgActive:f[3],colorErrorBorder:f[3],colorErrorBorderHover:f[4],colorErrorHover:f[5],colorError:f[6],colorErrorActive:f[7],colorErrorTextHover:f[8],colorErrorText:f[9],colorErrorTextActive:f[10],colorWarningBg:p[1],colorWarningBgHover:p[2],colorWarningBorder:p[3],colorWarningBorderHover:p[4],colorWarningHover:p[4],colorWarning:p[6],colorWarningActive:p[7],colorWarningTextHover:p[8],colorWarningText:p[9],colorWarningTextActive:p[10],colorInfoBg:u[1],colorInfoBgHover:u[2],colorInfoBorder:u[3],colorInfoBorderHover:u[4],colorInfoHover:u[4],colorInfo:u[6],colorInfoActive:u[7],colorInfoTextHover:u[8],colorInfoText:u[9],colorInfoTextActive:u[10],colorLinkHover:g[4],colorLink:g[6],colorLinkActive:g[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var Ei=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}},gr=Ei;function vt(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,...gr(r)}}var ki=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},Cr=ki;function yr(e){return (e+8)/e}function Pt(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:yr(t)}))}var Mi=e=>{let o=Pt(e),t=o.map(m=>m.size),r=o.map(m=>m.lineHeight),n=t[1],i=t[0],a=t[2],s=r[1],c=r[0],l=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:s,lineHeightLG:l,lineHeightSM:c,fontHeight:Math.round(s*n),fontHeightLG:Math.round(l*a),fontHeightSM:Math.round(c*i),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}},xr=Mi;function Rt(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 oe=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),Ue=(e,o)=>new TinyColor(e).darken(o).toHexString();var br=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]}},hr=(e,o)=>{let t=e||"#fff",r=o||"#000";return {colorBgBase:t,colorTextBase:r,colorText:oe(r,.88),colorTextSecondary:oe(r,.65),colorTextTertiary:oe(r,.45),colorTextQuaternary:oe(r,.25),colorFill:oe(r,.15),colorFillSecondary:oe(r,.06),colorFillTertiary:oe(r,.04),colorFillQuaternary:oe(r,.02),colorBgSolid:oe(r,1),colorBgSolidHover:oe(r,.75),colorBgSolidActive:oe(r,.95),colorBgLayout:Ue(t,4),colorBgContainer:Ue(t,0),colorBgElevated:Ue(t,0),colorBgSpotlight:oe(r,.85),colorBgBlur:"transparent",colorBorder:Ue(t,15),colorBorderSecondary:Ue(t,6)}};function It(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys(bt).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,...Tt(e,{generateColorPalettes:br,generateNeutralColorPalettes:hr}),...xr(e.fontSize),...Rt(e),...Cr(e),...vt(e)}}var ko=createTheme(It),co={token:be,override:{override:be},hashed:true},po=C__default.createContext(co);var mo="ant",fo="anticon",Et=["outlined","borderless","filled"],Ni=(e,o)=>o||(e?`${mo}-${e}`:mo),M=C.createContext({getPrefixCls:Ni,iconPrefixCls:fo}),{Consumer:Bi}=M;var Di=`-ant-${Date.now()}-${Math.random()}`;function Wi(e,o){let t={},r=(a,s)=>{let c=a.clone();return c=s?.(c)||c,c.toRgbString()},n=(a,s)=>{let c=new TinyColor(a),l=generate(c.toRgbString());t[`${s}-color`]=r(c),t[`${s}-color-disabled`]=l[1],t[`${s}-color-hover`]=l[4],t[`${s}-color-active`]=l[6],t[`${s}-color-outline`]=c.clone().setAlpha(.2).toRgbString(),t[`${s}-color-deprecated-bg`]=l[0],t[`${s}-color-deprecated-border`]=l[2];};if(o.primaryColor){n(o.primaryColor,"primary");let a=new TinyColor(o.primaryColor),s=generate(a.toRgbString());s.forEach((l,m)=>{t[`primary-${m+1}`]=l;}),t["primary-color-deprecated-l-35"]=r(a,l=>l.lighten(35)),t["primary-color-deprecated-l-20"]=r(a,l=>l.lighten(20)),t["primary-color-deprecated-t-20"]=r(a,l=>l.tint(20)),t["primary-color-deprecated-t-50"]=r(a,l=>l.tint(50)),t["primary-color-deprecated-f-12"]=r(a,l=>l.setAlpha(l.getAlpha()*.12));let c=new TinyColor(s[0]);t["primary-color-active-deprecated-f-30"]=r(c,l=>l.setAlpha(l.getAlpha()*.3)),t["primary-color-active-deprecated-d-02"]=r(c,l=>l.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"),`
|
|
4
|
+
:root {
|
|
5
|
+
${Object.keys(t).map(a=>`--${e}-${a}: ${t[a]};`).join(`
|
|
6
|
+
`)}
|
|
7
|
+
}
|
|
8
|
+
`.trim()}function Pr(e,o){let t=Wi(e,o);Fi()?updateCSS(t,`${Di}-dynamic-theme`):Ge(false,"ConfigProvider","SSR do not support dynamic theme with css variables.");}var Mt=C.createContext(false),Rr=({children:e,disabled:o})=>{let t=C.useContext(Mt);return C.createElement(Mt.Provider,{value:o??t},e)},qe=Mt;var Ot=C.createContext(void 0),wr=({children:e,size:o})=>{let t=C.useContext(Ot);return C.createElement(Ot.Provider,{value:o||t},e)},Le=Ot;function Vi(){let e=useContext(qe),o=useContext(Le);return {componentDisabled:e,componentSize:o}}var Ir=Vi;var $e=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];var Er={version:"0.0.2"};var kr=Er.version;function At(e){return e>=0&&e<=255}function Gi(e,o){let{r:t,g:r,b:n,a:i}=new TinyColor(e).toRgb();if(i<1)return e;let{r:a,g:s,b:c}=new TinyColor(o).toRgb();for(let l=.01;l<=1;l+=.01){let m=Math.round((t-a*(1-l))/l),d=Math.round((r-s*(1-l))/l),p=Math.round((n-c*(1-l))/l);if(At(m)&&At(d)&&At(p))return new TinyColor({r:m,g:d,b:p,a:Math.round(l*100)/100}).toRgbString()}return new TinyColor({r:t,g:r,b:n,a:1}).toRgbString()}var uo=Gi;function Oo(e){let{override:o,...t}=e,r={...o};Object.keys(be).forEach(p=>{delete r[p];});let n={...t,...r},i=480,a=576,s=768,c=992,l=1200,m=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:uo(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:uo(n.colorErrorBg,n.colorBgContainer),colorWarningOutline:uo(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:uo(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:`
|
|
9
|
+
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
10
|
+
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
11
|
+
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
12
|
+
`,boxShadowSecondary:`
|
|
13
|
+
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
14
|
+
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
15
|
+
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
16
|
+
`,boxShadowTertiary:`
|
|
17
|
+
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
|
18
|
+
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
19
|
+
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
20
|
+
`,screenXS:i,screenXSMin:i,screenXSMax:a-1,screenSM:a,screenSMMin:a,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:c-1,screenLG:c,screenLGMin:c,screenLGMax:l-1,screenXL:l,screenXLMin:l,screenXLMax:m-1,screenXXL:m,screenXXLMin:m,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
|
21
|
+
0 1px 2px -2px ${new TinyColor("rgba(0, 0, 0, 0.16)").toRgbString()},
|
|
22
|
+
0 3px 6px 0 ${new TinyColor("rgba(0, 0, 0, 0.12)").toRgbString()},
|
|
23
|
+
0 5px 12px 4px ${new TinyColor("rgba(0, 0, 0, 0.09)").toRgbString()}
|
|
24
|
+
`,boxShadowDrawerRight:`
|
|
25
|
+
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
26
|
+
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
27
|
+
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
28
|
+
`,boxShadowDrawerLeft:`
|
|
29
|
+
6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
30
|
+
3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
31
|
+
9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
32
|
+
`,boxShadowDrawerUp:`
|
|
33
|
+
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
34
|
+
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
35
|
+
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
36
|
+
`,boxShadowDrawerDown:`
|
|
37
|
+
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
38
|
+
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
39
|
+
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
40
|
+
`,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 zt={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},Ui={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},Ki={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},Mr=(e,o,t)=>{let r=t.getDerivativeToken(e),{override:n,...i}=o,a={...r,override:n};return a=Oo(a),i&&Object.entries(i).forEach(([s,c])=>{let{theme:l,...m}=c,d=m;l&&(d=Mr({...a,...m},{override:m},l)),a[s]=d;}),a};function Q(){let{token:e,hashed:o,theme:t,override:r,cssVar:n}=C__default.useContext(po),i=`${kr}-${o||""}`,a=t||ko,[s,c,l]=useCacheToken(a,[be,e],{salt:i,override:r,getComputedToken:Mr,formatToken:Oo,cssVar:n&&{prefix:n.prefix,key:n.key,unitless:zt,ignore:Ui,preserve:Ki}});return [a,l,o?c:"",s,n]}var go=(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}),Zi=()=>({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"}}),Or=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),Ar=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"}}}),Lr=(e,o,t,r)=>{let n=`[class^="${o}"], [class*=" ${o}"]`,i=t?`.${t}`:n,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},s={};return r!==false&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:{...s,...a,[n]:a}}},Yi=e=>({outline:`${unit(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),Qi=e=>({"&:focus-visible":{...Yi(e)}}),Ao=e=>({[`.${e}`]:{...Zi(),[`.${e} .${e}-icon`]:{display:"block"}}}),Lo=e=>({color:e.colorLink,textDecoration:e.linkDecoration,outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,border:0,padding:0,background:"none",userSelect:"none",...Qi(e),"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}});var{genStyleHooks:he,genComponentStyleHook:ea,genSubStyleComponent:oa}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:o}=useContext(M);return {rootPrefixCls:e(),iconPrefixCls:o}},useToken:()=>{let[e,o,t,r,n]=Q();return {theme:e,realToken:o,hashId:t,token:r,cssVar:n}},useCSP:()=>{let{csp:e}=useContext(M);return e??{}},getResetStyles:(e,o)=>[{"&":Ar(e)},Ao(o?.prefix.iconPrefixCls??fo)],getCommonStyle:Lr,getCompUnitless:(()=>zt)});function zo(e,o){return $e.reduce((t,r)=>{let n=e[`${r}1`],i=e[`${r}3`],a=e[`${r}6`],s=e[`${r}7`];return {...t,...o(r,{lightColor:n,lightBorderColor:i,darkColor:a,textColor:s})}},{})}var ra=(e,o)=>{let[t,r]=Q();return useStyleRegister({theme:t,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>o?.nonce,layer:{name:"antd"}},()=>[Ao(e)])},No=ra;var ia={...C},{useId:Nr}=ia,aa=()=>"",sa=typeof Nr>"u"?aa:Nr,Br=sa;function Nt(e,o,t){let r=A("ConfigProvider"),n=e||{},i=n.inherit===false||!o?{...co,hashed:o?.hashed??co.hashed,cssVar:o?.cssVar}:o,a=Br();if(process.env.NODE_ENV!=="production"){let s=n.cssVar||i.cssVar,c=!!(typeof n.cssVar=="object"&&n.cssVar?.key||a);r(!s||c,"breaking","Missing key in `cssVar` config. Please upgrade to React 18 or set `cssVar.key` manually in each ConfigProvider inside `cssVar` enabled ConfigProvider.");}return la(()=>{if(!e)return o;let s={...i.components};Object.keys(e.components||{}).forEach(m=>{s[m]={...s[m],...e.components[m]};});let c=`css-var-${a.replace(/:/g,"")}`,l=(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||c};return {...i,...n,token:{...i.token,...n.token},components:s,cssVar:l}},[n,i],(s,c)=>s.some((l,m)=>{let d=c[m];return !ca(l,d,true)}))}function Bt(e){let{children:o}=e,[,t]=Q(),{motion:r}=t,n=C.useRef(false);return n.current=n.current||r===false,n.current?C.createElement(Provider,{motion:r},o):o}var Hr=C.memo(({dropdownMatchSelectWidth:e})=>(A("ConfigProvider").deprecated(e===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null));process.env.NODE_ENV!=="production"&&(Hr.displayName="PropWarning");var Dr=process.env.NODE_ENV!=="production"?Hr:()=>null;var Ft=false;process.env.NODE_ENV!=="production"?e=>{Ge(!Ft,e,"Static function can not consume context like dynamic theme. Please use 'App' component instead.");}:null;var ua=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"],Vr;function xa(){return Vr||mo}function Sa(e){return Object.keys(e).some(o=>o.endsWith("Color"))}var ba=e=>{let{prefixCls:o,iconPrefixCls:t,theme:r,holderRender:n}=e;o!==void 0&&(Vr=o),r&&(Sa(r)?(Ge(false,"ConfigProvider","`config` of css variable theme is not work in v5. Please use new `theme` config instead."),Pr(xa(),r)):r);};var ha=e=>{let{children:o,csp:t,autoInsertSpaceInButton:r,alert:n,anchor:i,form:a,locale:s,componentSize:c,direction:l,space:m,splitter:d,virtual:p,dropdownMatchSelectWidth:f,popupMatchSelectWidth:u,popupOverflow:y,legacyLocale:x,parentContext:g,iconPrefixCls:v,theme:P,componentDisabled:W,segmented:$,statistic:T,spin:I,calendar:R,carousel:L,cascader:w,collapse:U,typography:F,checkbox:j,descriptions:S,divider:E,drawer:z,skeleton:G,steps:N,image:Me,layout:ae,list:Oe,mentions:de,modal:se,progress:q,result:fe,slider:Pe,breadcrumb:ue,menu:ge,pagination:pe,input:Z,textArea:B,empty:K,badge:_,radio:H,rate:Ce,switch:Re,transfer:Y,avatar:ro,message:Fe,tag:He,table:J,card:Ae,tabs:tt,timeline:To,timePicker:rt,upload:nt,notification:it,tree:no,colorPicker:vo,datePicker:at,rangePicker:st,flex:lt,wave:ct,dropdown:pt,warning:b,tour:O,variant:we,inputNumber:io,treeSelect:mt}=e,nr=C.useCallback((V,me)=>{let{prefixCls:Ve}=e;if(me)return me;let je=Ve||g.getPrefixCls("");return V?`${je}-${V}`:je},[g.getPrefixCls,e.prefixCls]),ao=v||g.iconPrefixCls||fo,so=t||g.csp;No(ao,so);let Po=Nt(P,g.theme,{prefixCls:nr("")});process.env.NODE_ENV!=="production"&&(Ft=Ft||!!Po);let dt={csp:so,autoInsertSpaceInButton:r,alert:n,anchor:i,locale:s||x,direction:l,space:m,splitter:d,virtual:p,popupMatchSelectWidth:u??f,popupOverflow:y,getPrefixCls:nr,iconPrefixCls:ao,theme:Po,segmented:$,statistic:T,spin:I,calendar:R,carousel:L,cascader:w,collapse:U,typography:F,checkbox:j,descriptions:S,divider:E,drawer:z,skeleton:G,steps:N,image:Me,input:Z,textArea:B,layout:ae,list:Oe,mentions:de,modal:se,progress:q,result:fe,slider:Pe,breadcrumb:ue,menu:ge,pagination:pe,empty:K,badge:_,radio:H,rate:Ce,switch:Re,transfer:Y,avatar:ro,message:Fe,tag:He,table:J,card:Ae,tabs:tt,timeline:To,timePicker:rt,upload:nt,notification:it,tree:no,colorPicker:vo,datePicker:at,rangePicker:st,flex:lt,wave:ct,dropdown:pt,warning:b,tour:O,variant:we,inputNumber:io,treeSelect:mt};process.env.NODE_ENV!=="production"&&A("ConfigProvider")(!("autoInsertSpaceInButton"in e),"deprecated","`autoInsertSpaceInButton` is deprecated. Please use `{ button: { autoInsertSpace: boolean }}` instead.");let De={...g};Object.keys(dt).forEach(V=>{dt[V]!==void 0&&(De[V]=dt[V]);}),ua.forEach(V=>{let me=e[V];me&&(De[V]=me);}),typeof r<"u"&&(De.button={autoInsertSpace:r,...De.button});let We=la(()=>De,De,(V,me)=>{let Ve=Object.keys(V),je=Object.keys(me);return Ve.length!==je.length||Ve.some(Ro=>V[Ro]!==me[Ro])}),di=C.useMemo(()=>({prefixCls:ao,csp:so}),[ao,so]),X=C.createElement(C.Fragment,null,C.createElement(Dr,{dropdownMatchSelectWidth:f}),o),ir=C.useMemo(()=>merge(Se.Form?.defaultValidateMessages||{},We.locale?.Form?.defaultValidateMessages||{},We.form?.validateMessages||{},a?.validateMessages||{}),[We,a?.validateMessages]);Object.keys(ir).length>0&&(X=C.createElement(cr.Provider,{value:ir},X)),s&&(X=C.createElement(ur,{locale:s,_ANT_MARK__:St},X)),(X=C.createElement(ma.Provider,{value:di},X)),c&&(X=C.createElement(wr,{size:c},X)),X=C.createElement(Bt,null,X);let fi=C.useMemo(()=>{let{algorithm:V,token:me,components:Ve,cssVar:je,...Ro}=Po||{},ar=V&&(!Array.isArray(V)||V.length>0)?createTheme(V):ko,ft={};Object.entries(Ve||{}).forEach(([ui,gi])=>{let ye={...gi};"algorithm"in ye&&(ye.algorithm===true?ye.theme=ar:(Array.isArray(ye.algorithm)||typeof ye.algorithm=="function")&&(ye.theme=createTheme(ye.algorithm)),delete ye.algorithm),ft[ui]=ye;});let sr={...be,...me};return {...Ro,theme:ar,token:sr,components:ft,override:{override:sr,...ft},cssVar:je}},[Po]);return P&&(X=C.createElement(po.Provider,{value:fi},X)),We.warning&&(X=C.createElement(gt.Provider,{value:We.warning},X)),W!==void 0&&(X=C.createElement(Rr,{disabled:W},X)),C.createElement(M.Provider,{value:We},X)},Ye=e=>{let o=C.useContext(M),t=C.useContext(_e);return C.createElement(ha,{parentContext:o,legacyLocale:t,...e})};Ye.ConfigContext=M;Ye.SizeContext=Le;Ye.config=ba;Ye.useConfig=Ir;Object.defineProperty(Ye,"SizeContext",{get:()=>(Ge(false,"ConfigProvider","ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."),Le)});process.env.NODE_ENV!=="production"&&(Ye.displayName="ConfigProvider");C.createContext({labelAlign:"right",vertical:false,itemRef:(()=>{})});C.createContext(null);C.createContext({prefixCls:""});var ze=C.createContext({});process.env.NODE_ENV!=="production"&&(ze.displayName="FormItemInputContext");var jr=({children:e,status:o,override:t})=>{let r=C.useContext(ze),n=C.useMemo(()=>{let i={...r};return t&&delete i.isFormItemInput,o&&(delete i.status,delete i.hasFeedback,delete i.feedbackIcon),i},[o,t,r]);return C.createElement(ze.Provider,{value:n},e)},Gr=C.createContext(void 0);var Ta=e=>{let o=C__default.useContext(Le);return C__default.useMemo(()=>e?typeof e=="string"?e??o:e instanceof Function?e(o):o:o,[e,o])},Co=Ta;var va=e=>{let{componentCls:o}=e;return {[o]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},Xr=va;var Pa=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"}}}},Ra=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}}}};he("Space",e=>{let o=mergeToken(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return [Pa(o),Ra(o),Xr(o)]},()=>({}),{resetStyle:false});var Ur=C.createContext(null),Kr=(e,o)=>{let t=C.useContext(Ur),r=C.useMemo(()=>{if(!t)return "";let{compactDirection:n,isFirstItem:i,isLastItem:a}=t,s=n==="vertical"?"-vertical-":"-";return eo(`${e}-compact${s}item`,{[`${e}-compact${s}first-item`]:i,[`${e}-compact${s}last-item`]:a,[`${e}-compact${s}item-rtl`]:o==="rtl"})},[e,o,t]);return {compactSize:t?.compactSize,compactDirection:t?.compactDirection,compactItemClassnames:r}},qr=({children:e})=>C.createElement(Ur.Provider,{value:null},e);var Ia=e=>{let{space:o,form:t,children:r}=e;if(r==null)return null;let n=r;return t&&(n=C__default.createElement(jr,{override:true,status:true},n)),o&&(n=C__default.createElement(qr,null,n)),n},yo=Ia;var Yr=C__default.createContext(void 0);process.env.NODE_ENV!=="production"&&(Yr.displayName="zIndexContext");var Fo=Yr;var Te=100,Ma=10,Oa=Te*Ma,Aa=Oa+Te,Qr={Modal:Te,Drawer:Te,Popover:Te,Popconfirm:Te,Tooltip:Te,Tour:Te,FloatButton:Te},La={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function za(e){return e in Qr}var Jr=(e,o)=>{let[,t]=Q(),r=C__default.useContext(Fo),n=za(e),i;if(o!==void 0)i=[o,o];else {let a=r??0;n?a+=(r?0:t.zIndexPopupBase)+Qr[e]:a+=La[e],i=[r===void 0?o:a,a];}if(process.env.NODE_ENV!=="production"){let a=A(e),s=t.zIndexPopupBase+Aa,c=i[0]||0;a(o!==void 0||c<=s,"usage","`zIndex` is over design token `zIndexPopupBase` too much. It may cause unexpected override.");}return i};var en=(e,o,t)=>t!==void 0?t:`${e}-${o}`;function on(e){let{sizePopupArrow:o,borderRadiusXS:t,borderRadiusOuter:r}=e,n=o/2,i=0,a=n,s=r*1/Math.sqrt(2),c=n-r*(1-1/Math.sqrt(2)),l=n-t*(1/Math.sqrt(2)),m=r*(Math.sqrt(2)-1)+t*(1/Math.sqrt(2)),d=2*n-l,p=m,f=2*n-s,u=c,y=2*n-i,x=a,g=n*Math.sqrt(2)+r*(Math.sqrt(2)-2),v=r*(Math.sqrt(2)-1),P=`polygon(${v}px 100%, 50% ${v}px, ${2*n-v}px 100%, ${v}px 100%)`,W=`path('M ${i} ${a} A ${r} ${r} 0 0 0 ${s} ${c} L ${l} ${m} A ${t} ${t} 0 0 1 ${d} ${p} L ${f} ${u} A ${r} ${r} 0 0 0 ${y} ${x} Z')`;return {arrowShadowWidth:g,arrowPath:W,arrowPolygon:P}}var tn=(e,o,t)=>{let{sizePopupArrow:r,arrowPolygon:n,arrowPath:i,arrowShadowWidth:a,borderRadiusXS:s,calc:c}=e;return {pointerEvents:"none",width:r,height:r,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:r,height:c(r).div(2).equal(),background:o,clipPath:{_multi_value_:true,value:[n,i]},content:'""'},"&::after":{content:'""',position:"absolute",width:a,height:a,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:true,value:`0 0 ${unit(s)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:t,zIndex:0,background:"transparent"}}};var Ht=8;function Do(e){let{contentRadius:o,limitVerticalRadius:t}=e,r=o>12?o+2:12;return {arrowOffsetHorizontal:r,arrowOffsetVertical:t?Ht:r}}function Ho(e,o){return e?o:{}}function Dt(e,o,t){let{componentCls:r,boxShadowPopoverArrow:n,arrowOffsetVertical:i,arrowOffsetHorizontal:a}=e,{arrowDistance:s=0,arrowPlacement:c={left:true,right:true,top:true,bottom:true}}={};return {[r]:{[`${r}-arrow`]:[{position:"absolute",zIndex:1,display:"block",...tn(e,o,n),"&:before":{background:o}}],...Ho(!!c.top,{[[`&-placement-top > ${r}-arrow`,`&-placement-topLeft > ${r}-arrow`,`&-placement-topRight > ${r}-arrow`].join(",")]:{bottom:s,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${r}-arrow`]:{left:{_skip_check_:true,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":a,[`> ${r}-arrow`]:{left:{_skip_check_:true,value:a}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${unit(a)})`,[`> ${r}-arrow`]:{right:{_skip_check_:true,value:a}}}}),...Ho(!!c.bottom,{[[`&-placement-bottom > ${r}-arrow`,`&-placement-bottomLeft > ${r}-arrow`,`&-placement-bottomRight > ${r}-arrow`].join(",")]:{top:s,transform:"translateY(-100%)"},[`&-placement-bottom > ${r}-arrow`]:{left:{_skip_check_:true,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":a,[`> ${r}-arrow`]:{left:{_skip_check_:true,value:a}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${unit(a)})`,[`> ${r}-arrow`]:{right:{_skip_check_:true,value:a}}}}),...Ho(!!c.left,{[[`&-placement-left > ${r}-arrow`,`&-placement-leftTop > ${r}-arrow`,`&-placement-leftBottom > ${r}-arrow`].join(",")]:{right:{_skip_check_:true,value:s},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${r}-arrow`]:{top:{_skip_check_:true,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${r}-arrow`]:{top:i},[`&-placement-leftBottom > ${r}-arrow`]:{bottom:i}}),...Ho(!!c.right,{[[`&-placement-right > ${r}-arrow`,`&-placement-rightTop > ${r}-arrow`,`&-placement-rightBottom > ${r}-arrow`].join(",")]:{left:{_skip_check_:true,value:s},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${r}-arrow`]:{top:{_skip_check_:true,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${r}-arrow`]:{top:i},[`&-placement-rightBottom > ${r}-arrow`]:{bottom:i}})}}}function Ba(e,o,t,r){if(r===false)return {adjustX:false,adjustY:false};let n=r&&typeof r=="object"?r:{},i={};switch(e){case "top":case "bottom":i.shiftX=o.arrowOffsetHorizontal*2+t,i.shiftY=true,i.adjustY=true;break;case "left":case "right":i.shiftY=o.arrowOffsetVertical*2+t,i.shiftX=true,i.adjustX=true;break}let a={...i,...n};return a.shiftX||(a.adjustX=true),a.shiftY||(a.adjustY=true),a}var nn={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},Fa={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},Ha=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function Wt(e){let{arrowWidth:o,autoAdjustOverflow:t,arrowPointAtCenter:r,offset:n,borderRadius:i}=e,s=o/2,c={};return Object.keys(nn).forEach(l=>{let d={...r&&Fa[l]||nn[l],offset:[0,0],dynamicInset:true};switch(c[l]=d,Ha.has(l)&&(d.autoArrow=false),l){case "top":case "topLeft":case "topRight":d.offset[1]=-s-n;break;case "bottom":case "bottomLeft":case "bottomRight":d.offset[1]=s+n;break;case "left":case "leftTop":case "leftBottom":d.offset[0]=-s-n;break;case "right":case "rightTop":case "rightBottom":d.offset[0]=s+n;break}let p=Do({contentRadius:i,limitVerticalRadius:true});if(r)switch(l){case "topLeft":case "bottomLeft":d.offset[0]=-p.arrowOffsetHorizontal-s;break;case "topRight":case "bottomRight":d.offset[0]=p.arrowOffsetHorizontal+s;break;case "leftTop":case "rightTop":d.offset[1]=-p.arrowOffsetHorizontal*2+s;break;case "leftBottom":case "rightBottom":d.offset[1]=p.arrowOffsetHorizontal*2-s;break}d.overflow=Ba(l,p,o,t),(d.htmlRegion="visibleFirst");}),c}function an(e){return e&&C__default.isValidElement(e)&&e.type===C__default.Fragment}var Da=(e,o,t)=>C__default.isValidElement(e)?C__default.cloneElement(e,typeof t=="function"?t(e.props||{}):t):o;function Vo(e,o){return Da(e,e,o)}var Wa=e=>({animationDuration:e,animationFillMode:"both"}),Va=e=>({animationDuration:e,animationFillMode:"both"}),xo=(e,o,t,r,n=false)=>{let i=n?"&":"";return {[`
|
|
41
|
+
${i}${e}-enter,
|
|
42
|
+
${i}${e}-appear
|
|
43
|
+
`]:{...Wa(r),animationPlayState:"paused"},[`${i}${e}-leave`]:{...Va(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}});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}});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}});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}});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}});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}});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}});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}});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}});new Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}});new Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}});new Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}});new Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}});new Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}});new Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}});new Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}});new Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}});var ln=new Keyframes("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),cn=new Keyframes("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),Vt=new Keyframes("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),jt=new Keyframes("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),pn=new Keyframes("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),mn=new Keyframes("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),dn=new Keyframes("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),fn=new Keyframes("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),un=new Keyframes("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),gn=new Keyframes("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),Cn=new Keyframes("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),yn=new Keyframes("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),ss={zoom:{inKeyframes:ln,outKeyframes:cn},"zoom-big":{inKeyframes:Vt,outKeyframes:jt},"zoom-big-fast":{inKeyframes:Vt,outKeyframes:jt},"zoom-left":{inKeyframes:dn,outKeyframes:fn},"zoom-right":{inKeyframes:un,outKeyframes:gn},"zoom-up":{inKeyframes:pn,outKeyframes:mn},"zoom-down":{inKeyframes:Cn,outKeyframes:yn}},Gt=(e,o)=>{let{antCls:t}=e,r=`${t}-${o}`,{inKeyframes:n,outKeyframes:i}=ss[o];return [xo(r,n,i,e.motionDurationFast),{[`
|
|
47
|
+
${r}-enter,
|
|
48
|
+
${r}-appear
|
|
49
|
+
`]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};var ls=e=>{let{calc:o,componentCls:t,tooltipMaxWidth:r,tooltipColor:n,tooltipBg:i,tooltipBorderRadius:a,zIndexPopup:s,controlHeight:c,boxShadowSecondary:l,paddingSM:m,paddingXS:d,arrowOffsetHorizontal:p,sizePopupArrow:f}=e,u=o(a).add(f).add(p).equal(),y=o(a).mul(2).add(f).equal();return [{[t]:{...go(e),position:"absolute",zIndex:s,display:"block",width:"max-content",maxWidth:r,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":i,[`${t}-inner`]:{minWidth:y,minHeight:c,padding:`${unit(e.calc(m).div(2).equal())} ${unit(d)}`,color:n,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:i,borderRadius:a,boxShadow:l,boxSizing:"border-box"},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:u},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:e.min(a,Ht)}},[`${t}-content`]:{position:"relative"},...zo(e,(x,{darkColor:g})=>({[`&${t}-${x}`]:{[`${t}-inner`]:{backgroundColor:g},[`${t}-arrow`]:{"--antd-arrow-background-color":g}}})),"&-rtl":{direction:"rtl"}}},Dt(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},cs=e=>({zIndexPopup:e.zIndexPopupBase+70,...Do({contentRadius:e.borderRadius,limitVerticalRadius:true}),...on(mergeToken(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))}),jo=(e,o=true)=>he("Tooltip",r=>{let{borderRadius:n,colorTextLightSolid:i,colorBgSpotlight:a}=r,s=mergeToken(r,{tooltipMaxWidth:250,tooltipColor:i,tooltipBorderRadius:n,tooltipBg:a});return [ls(s),Gt(r,"zoom-big-fast")]},cs,{resetStyle:false,injectStyle:o})(e);var ps=$e.map(e=>`${e}-inverse`);function Sn(e,o=true){return o?[...ps,...$e].includes(e):$e.includes(e)}function Go(e,o){let t=Sn(o),r=eo({[`${e}-${o}`]:o&&t}),n={},i={};return o&&!t&&(n.background=o,i["--antd-arrow-background-color"]=o),{className:r,overlayStyle:n,arrowStyle:i}}var us=e=>{let{prefixCls:o,className:t,placement:r="top",title:n,color:i,overlayInnerStyle:a}=e,{getPrefixCls:s}=C.useContext(M),c=s("tooltip",o),[l,m,d]=jo(c),p=Go(c,i),f=p.arrowStyle,u={...a,...p.overlayStyle},y=eo(m,d,c,`${c}-pure`,`${c}-placement-${r}`,t,p.className);return l(C.createElement("div",{className:y,style:f},C.createElement("div",{className:`${c}-arrow`}),C.createElement(Popup,{...e,className:m,prefixCls:c,overlayInnerStyle:u},n)))},bn=us;var ys=C.forwardRef((e,o)=>{let{prefixCls:t,openClassName:r,getTooltipContainer:n,overlayClassName:i,color:a,overlayInnerStyle:s,children:c,afterOpenChange:l,afterVisibleChange:m,destroyTooltipOnHide:d,arrow:p=true,title:f,overlay:u,builtinPlacements:y,arrowPointAtCenter:x=false,autoAdjustOverflow:g=true}=e,v=!!p,[,P]=Q(),{getPopupContainer:W,getPrefixCls:$,direction:T}=C.useContext(M),I=A("Tooltip"),R=C.useRef(null),L=()=>{R.current?.forceAlign();};C.useImperativeHandle(o,()=>({forceAlign:L,forcePopupAlign:()=>{I.deprecated(false,"forcePopupAlign","forceAlign"),L();},nativeElement:R.current?.nativeElement})),process.env.NODE_ENV!=="production"&&([["visible","open"],["defaultVisible","defaultOpen"],["onVisibleChange","onOpenChange"],["afterVisibleChange","afterOpenChange"],["arrowPointAtCenter","arrow={{ pointAtCenter: true }}"]].forEach(([J,Ae])=>{I.deprecated(!(J in e),J,Ae);}),I(!d||typeof d=="boolean","usage","`destroyTooltipOnHide` no need config `keepParent` anymore. Please use `boolean` value directly."),I(!p||typeof p=="boolean"||!("arrowPointAtCenter"in p),"deprecated","`arrowPointAtCenter` in `arrow` is deprecated. Please use `pointAtCenter` instead."));let[w,U]=pi(false,{value:e.open??e.visible,defaultValue:e.defaultOpen??e.defaultVisible}),F=!f&&!u&&f!==0,j=J=>{U(F?false:J),F||(e.onOpenChange?.(J),e.onVisibleChange?.(J));},S=C.useMemo(()=>{let J=x;return typeof p=="object"&&(J=p.pointAtCenter??p.arrowPointAtCenter??x),y||Wt({arrowPointAtCenter:J,autoAdjustOverflow:g,arrowWidth:v?P.sizePopupArrow:0,borderRadius:P.borderRadius,offset:P.marginXXS})},[x,p,y,P]),E=C.useMemo(()=>f===0?f:u||f||"",[u,f]),z=C.createElement(yo,{space:true},typeof E=="function"?E():E),{getPopupContainer:G,placement:N="top",mouseEnterDelay:Me=.1,mouseLeaveDelay:ae=.1,overlayStyle:Oe,rootClassName:de,...se}=e,q=$("tooltip",t),fe=$(),Pe=e["data-popover-inject"],ue=w;!("open"in e)&&!("visible"in e)&&F&&(ue=false);let ge=C.isValidElement(c)&&!an(c)?c:C.createElement("span",null,c),pe=ge.props,Z=!pe.className||typeof pe.className=="string"?eo(pe.className,r||`${q}-open`):pe.className,[B,K,_]=jo(q,!Pe),H=Go(q,a),Ce=H.arrowStyle,Re={...s,...H.overlayStyle},Y=eo(i,{[`${q}-rtl`]:T==="rtl"},H.className,de,K,_),[ro,Fe]=Jr("Tooltip",se.zIndex),He=C.createElement(gs,{...se,zIndex:ro,showArrow:v,placement:N,mouseEnterDelay:Me,mouseLeaveDelay:ae,prefixCls:q,overlayClassName:Y,overlayStyle:{...Ce,...Oe},getTooltipContainer:G||n||W,ref:R,builtinPlacements:S,overlay:z,visible:ue,onVisibleChange:j,afterVisibleChange:l??m,overlayInnerStyle:Re,arrowContent:C.createElement("span",{className:`${q}-arrow-content`}),motion:{motionName:en(fe,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!d},ue?Vo(ge,{className:Z}):ge);return B(C.createElement(Fo.Provider,{value:Fe},He))}),_t=ys;process.env.NODE_ENV!=="production"&&(_t.displayName="Tooltip");_t._InternalPanelDoNotUseOrYouWillBeFired=bn;var Je=_t;var bs=e=>{let o;return typeof e=="object"&&e?.clearIcon?o=e:e&&(o={clearIcon:C__default.createElement(Ss,null)}),o},_o=bs;function So(e,o,t){return eo({[`${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 Xo=(e,o)=>o||e;var Ts=e=>{let[,,,,o]=Q();return o?`${e}-css-var`:""},Uo=Ts;var vs=(e,o,t=void 0)=>{let{variant:r,[e]:n}=C.useContext(M),i=C.useContext(Gr),a=n?.variant,s;typeof o<"u"?s=o:t===false?s="borderless":s=i??a??r??"outlined";let c=Et.includes(s);return [s,c]},Ko=vs;function Ut(e,o){let t=useRef([]),r=()=>{t.current.push(setTimeout(()=>{e.current?.input&&e.current?.input.getAttribute("type")==="password"&&e.current?.input.hasAttribute("value")&&e.current?.input.removeAttribute("value");}));};return useEffect(()=>(r(),()=>t.current.forEach(n=>{n&&clearTimeout(n);})),[]),r}function ws(e,o,t){let{focusElCls:r,focus:n,borderElCls:i}=t,a=i?"> *":"",s=["hover",n?"focus":null,"active"].filter(Boolean).map(c=>`&:${c} ${a}`).join(",");return {[`&-item:not(${o}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{[s]:{zIndex:2},...r?{[`&${r}`]:{zIndex:2}}:{},[`&[disabled] ${a}`]:{zIndex:0}}}}function $s(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 Tn(e,o={focus:true}){let{componentCls:t}=e,r=`${t}-compact`;return {[r]:{...ws(e,r,o),...$s(t,r,o)}}}function vn(e){return mergeToken(e,{inputAffixPadding:e.paddingXXS})}var Pn=e=>{let{controlHeight:o,fontSize:t,lineHeight:r,lineWidth:n,controlHeightSM:i,controlHeightLG:a,fontSizeLG:s,lineHeightLG:c,paddingSM:l,controlPaddingHorizontalSM:m,controlPaddingHorizontal:d,colorFillAlter:p,colorPrimaryHover:f,colorPrimary:u,controlOutlineWidth:y,controlOutline:x,colorErrorOutline:g,colorWarningOutline:v,colorBgContainer:P}=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-s*c)/2*10)/10-n,paddingInline:l-n,paddingInlineSM:m-n,paddingInlineLG:d-n,addonBg:p,activeBorderColor:u,hoverBorderColor:f,activeShadow:`0 0 0 ${y}px ${x}`,errorActiveShadow:`0 0 0 ${y}px ${g}`,warningActiveShadow:`0 0 0 ${y}px ${v}`,hoverBg:P,activeBg:P,inputFontSize:t,inputFontSizeLG:s,inputFontSizeSM:t}};var Is=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),Kt=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])":{...Is(mergeToken(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled}))}}),En=(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}}),Rn=(e,o)=>({[`&${e.componentCls}-status-${o.status}:not(${e.componentCls}-disabled)`]:{...En(e,o),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:o.affixColor}},[`&${e.componentCls}-status-${o.status}${e.componentCls}-disabled`]:{borderColor:o.borderColor}}),kn=(e,o)=>({"&-outlined":{...En(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow}),[`&${e.componentCls}-disabled, &[disabled]`]:{...Kt(e)},...Rn(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError}),...Rn(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning}),...o}}),wn=(e,o)=>({[`&${e.componentCls}-group-wrapper-status-${o.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:o.addonBorderColor,color:o.addonColor}}}),Mn=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}},...wn(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText}),...wn(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText}),[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:{...Kt(e)}}}}),On=(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}}},An=(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}}),$n=(e,o)=>({[`&${e.componentCls}-status-${o.status}:not(${e.componentCls}-disabled)`]:{...An(e,o),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:o.affixColor}}}),Ln=(e,o)=>({"&-filled":{...An(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor}),[`&${e.componentCls}-disabled, &[disabled]`]:{...Kt(e)},...$n(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError}),...$n(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning}),...o}}),In=(e,o)=>({[`&${e.componentCls}-group-wrapper-status-${o.status}`]:{[`${e.componentCls}-group-addon`]:{background:o.addonBg,color:o.addonColor}}}),zn=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}`}}},...In(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText}),...In(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 Es=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}});var Nn=e=>{let{paddingBlockLG:o,lineHeightLG:t,borderRadiusLG:r,paddingInlineLG:n}=e;return {padding:`${unit(o)} ${unit(n)}`,fontSize:e.inputFontSizeLG,lineHeight:t,borderRadius:r}},Bn=e=>({padding:`${unit(e.paddingBlockSM)} ${unit(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),Fn=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}`,...Es(e.colorTextPlaceholder),"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":{...Nn(e)},"&-sm":{...Bn(e)},"&-rtl, &-textarea-rtl":{direction:"rtl"}}),ks=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`]:{...Nn(e)},[`&-sm ${o}, &-sm > ${o}-group-addon`]:{...Bn(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",...Or(),[`${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},[`
|
|
50
|
+
& > ${o}-affix-wrapper,
|
|
51
|
+
& > ${o}-number-affix-wrapper,
|
|
52
|
+
& > ${t}-picker-range
|
|
53
|
+
`]:{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,
|
|
54
|
+
& > ${t}-select-auto-complete ${o},
|
|
55
|
+
& > ${t}-cascader-picker ${o},
|
|
56
|
+
& > ${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,
|
|
57
|
+
& > ${t}-select:first-child > ${t}-select-selector,
|
|
58
|
+
& > ${t}-select-auto-complete:first-child ${o},
|
|
59
|
+
& > ${t}-cascader-picker:first-child ${o}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,
|
|
60
|
+
& > ${t}-select:last-child > ${t}-select-selector,
|
|
61
|
+
& > ${t}-cascader-picker:last-child ${o},
|
|
62
|
+
& > ${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}}}}}},Ms=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]:{...go(e),...Fn(e),...kn(e),...Ln(e),...On(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"}}}},Os=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)}`}}}},As=e=>{let{componentCls:o,inputAffixPadding:t,colorTextDescription:r,motionDurationSlow:n,colorIcon:i,colorIconHover:a,iconCls:s}=e,c=`${o}-affix-wrapper`,l=`${o}-affix-wrapper-disabled`;return {[c]:{...Fn(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}},...Os(e),[`${s}${o}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${n}`,"&:hover":{color:a}}},[l]:{[`${s}${o}-password-icon`]:{color:i,cursor:"not-allowed","&:hover":{color:i}}}}},Ls=e=>{let{componentCls:o,borderRadiusLG:t,borderRadiusSM:r}=e;return {[`${o}-group`]:{...go(e),...ks(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}},...Mn(e),...zn(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}}}}}},zs=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,
|
|
63
|
+
> ${o},
|
|
64
|
+
${o}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${o}-affix-wrapper-focused`]:{zIndex:2}}}}},Ns=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"}},[`
|
|
65
|
+
&-allow-clear > ${o},
|
|
66
|
+
&-affix-wrapper${r}-has-feedback ${o}
|
|
67
|
+
`]:{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}}}}}},Bs=e=>{let{componentCls:o}=e;return {[`${o}-out-of-range`]:{[`&, & input, & textarea, ${o}-show-count-suffix, ${o}-data-count`]:{color:e.colorError}}}},qo=he("Input",e=>{let o=mergeToken(e,vn(e));return [Ms(o),Ns(o),As(o),Ls(o),zs(o),Bs(o),Tn(o)]},Pn,{resetFont:false});function Hn(e){return !!(e.prefix||e.suffix||e.allowClear||e.showCount)}var js=forwardRef((e,o)=>{let{prefixCls:t,bordered:r=true,status:n,size:i,disabled:a,onBlur:s,onFocus:c,suffix:l,allowClear:m,addonAfter:d,addonBefore:p,className:f,style:u,styles:y,rootClassName:x,onChange:g,classNames:v,variant:P,...W}=e;if(process.env.NODE_ENV!=="production"){let{deprecated:_}=A("Input");_(!("bordered"in e),"bordered","variant");}let{getPrefixCls:$,direction:T,input:I}=C__default.useContext(M),R=$("input",t),L=useRef(null),w=Uo(R),[U,F,j]=qo(R,w),{compactSize:S,compactItemClassnames:E}=Kr(R,T),z=Co(_=>i??S??_),G=C__default.useContext(qe),N=a??G,{status:Me,hasFeedback:ae,feedbackIcon:Oe}=useContext(ze),de=Xo(Me,n),se=Hn(e)||!!ae,q=useRef(se);if(process.env.NODE_ENV!=="production"){let _=A("Input");useEffect(()=>{se&&!q.current&&_(document.activeElement===L.current?.input,"usage","When Input is focused, dynamic add or remove prefix / suffix will make it lose focus caused by dom structure change. Read more: https://ant.design/components/input/#FAQ"),q.current=se;},[se]);}let fe=Ut(L),Pe=_=>{fe(),s?.(_);},ue=_=>{fe(),c?.(_);},ge=_=>{fe(),g?.(_);},pe=(ae||l)&&C__default.createElement(C__default.Fragment,null,l,ae&&Oe),Z=_o(m??I?.allowClear),[B,K]=Ko("input",P,r);return U(C__default.createElement(Ws,{ref:composeRef(o,L),prefixCls:R,autoComplete:I?.autoComplete,...W,disabled:N,onBlur:Pe,onFocus:ue,style:{...I?.style,...u},styles:{...I?.styles,...y},suffix:pe,allowClear:Z,className:eo(f,x,j,w,E,I?.className),onChange:ge,addonBefore:p&&C__default.createElement(yo,{form:true,space:true},p),addonAfter:d&&C__default.createElement(yo,{form:true,space:true},d),classNames:{...v,...I?.classNames,input:eo({[`${R}-sm`]:z==="small",[`${R}-lg`]:z==="large",[`${R}-rtl`]:T==="rtl"},v?.input,I?.classNames?.input,F),variant:eo({[`${R}-${B}`]:K},So(R,de)),affixWrapper:eo({[`${R}-affix-wrapper-sm`]:z==="small",[`${R}-affix-wrapper-lg`]:z==="large",[`${R}-affix-wrapper-rtl`]:T==="rtl"},F),wrapper:eo({[`${R}-group-rtl`]:T==="rtl"},F),groupWrapper:eo({[`${R}-group-wrapper-sm`]:z==="small",[`${R}-group-wrapper-lg`]:z==="large",[`${R}-group-wrapper-rtl`]:T==="rtl",[`${R}-group-wrapper-${B}`]:K},So(`${R}-group-wrapper`,de,ae),F)}}))});process.env.NODE_ENV!=="production"&&(js.displayName="Input");var Xs=forwardRef((e,o)=>{let{prefixCls:t,bordered:r=true,size:n,disabled:i,status:a,allowClear:s,classNames:c,rootClassName:l,className:m,style:d,styles:p,variant:f,...u}=e;if(process.env.NODE_ENV!=="production"){let{deprecated:N}=A("TextArea");N(!("bordered"in e),"bordered","variant");}let{getPrefixCls:y,direction:x,textArea:g}=C.useContext(M),v=Co(n),P=C.useContext(qe),W=i??P,{status:$,hasFeedback:T,feedbackIcon:I}=C.useContext(ze),R=Xo($,a),L=C.useRef(null);C.useImperativeHandle(o,()=>({resizableTextArea:L.current?.resizableTextArea,focus:N=>{triggerFocus(L.current?.resizableTextArea?.textArea,N);},blur:()=>L.current?.blur()}));let w=y("input",t),U=Uo(w),[F,j,S]=qo(w,U),[E,z]=Ko("textArea",f,r),G=_o(s??g?.allowClear);return F(C.createElement(_s,{autoComplete:g?.autoComplete,...u,style:{...g?.style,...d},styles:{...g?.styles,...p},disabled:W,allowClear:G,className:eo(S,U,m,l,g?.className),classNames:{...c,...g?.classNames,textarea:eo({[`${w}-sm`]:v==="small",[`${w}-lg`]:v==="large"},j,c?.textarea,g?.classNames?.textarea),variant:eo({[`${w}-${E}`]:z},So(w,R)),affixWrapper:eo(`${w}-textarea-affix-wrapper`,{[`${w}-affix-wrapper-rtl`]:x==="rtl",[`${w}-affix-wrapper-sm`]:v==="small",[`${w}-affix-wrapper-lg`]:v==="large",[`${w}-textarea-show-count`]:e.showCount||e.count?.show},j)},prefixCls:w,suffix:T&&C.createElement("span",{className:`${w}-textarea-suffix`},I),ref:L}))}),Vn=Xs;var qs=(e,o,t,r)=>{let{titleMarginBottom:n,fontWeightStrong:i}=r;return {marginBottom:n,color:t,fontWeight:i,fontSize:e,lineHeight:o}},jn=e=>{let o=[1,2,3,4,5],t={};return o.forEach(r=>{t[`
|
|
68
|
+
h${r}&,
|
|
69
|
+
div&-h${r},
|
|
70
|
+
div&-h${r} > textarea,
|
|
71
|
+
h${r}
|
|
72
|
+
`]=qs(e[`fontSizeHeading${r}`],e[`lineHeightHeading${r}`],e.colorTextHeading,e);}),t},Gn=e=>{let{componentCls:o}=e;return {"a&, a":{...Lo(e),userSelect:"text",[`&[disabled], &${o}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}}}},_n=e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:gold[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),Xn=e=>{let{componentCls:o,paddingSM:t}=e,r=t;return {"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),marginTop:e.calc(r).mul(-1).equal(),marginBottom:`calc(1em - ${unit(r)})`},[`${o}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},Un=e=>({[`${e.componentCls}-copy-success`]:{"\n &,\n &:hover,\n &:focus":{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),Kn=()=>({"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-ellipsis-single-line":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}});var Zs=e=>{let{componentCls:o,titleMarginTop:t}=e;return {[o]:{color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${o}-secondary`]:{color:e.colorTextDescription},[`&${o}-success`]:{color:e.colorSuccess},[`&${o}-warning`]:{color:e.colorWarning},[`&${o}-danger`]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},[`&${o}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"},...jn(e),[`
|
|
73
|
+
& + h1${o},
|
|
74
|
+
& + h2${o},
|
|
75
|
+
& + h3${o},
|
|
76
|
+
& + h4${o},
|
|
77
|
+
& + h5${o}
|
|
78
|
+
`]:{marginTop:t},"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5":{"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ":{marginTop:t}},..._n(e),...Gn(e),[`
|
|
79
|
+
${o}-expand,
|
|
80
|
+
${o}-collapse,
|
|
81
|
+
${o}-edit,
|
|
82
|
+
${o}-copy
|
|
83
|
+
`]:{...Lo(e),marginInlineStart:e.marginXXS},...Xn(e),...Un(e),...Kn(),"&-rtl":{direction:"rtl"}}}},Ys=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"}),Yo=he("Typography",e=>[Zs(e)],Ys);var el=e=>{let{prefixCls:o,"aria-label":t,className:r,style:n,direction:i,maxLength:a,autoSize:s=true,value:c,onSave:l,onCancel:m,onEnd:d,component:p,enterIcon:f=C.createElement(Qs,null)}=e,u=C.useRef(null),y=C.useRef(false),x=C.useRef(null),[g,v]=C.useState(c);C.useEffect(()=>{v(c);},[c]),C.useEffect(()=>{if(u.current?.resizableTextArea){let{textArea:S}=u.current.resizableTextArea;S.focus();let{length:E}=S.value;S.setSelectionRange(E,E);}},[]);let P=({target:S})=>{v(S.value.replace(/[\n\r]/g,""));},W=()=>{y.current=true;},$=()=>{y.current=false;},T=({keyCode:S})=>{y.current||(x.current=S);},I=()=>{l(g.trim());},R=({keyCode:S,ctrlKey:E,altKey:z,metaKey:G,shiftKey:N})=>{x.current!==S||y.current||E||z||G||N||(S===qn.ENTER?(I(),d?.()):S===qn.ESC&&m());},L=()=>{I();},[w,U,F]=Yo(o),j=eo(o,`${o}-edit-content`,{[`${o}-rtl`]:i==="rtl",[`${o}-${p}`]:!!p},r,U,F);return w(C.createElement("div",{className:j,style:n},C.createElement(Vn,{ref:u,maxLength:a,value:g,onChange:P,onKeyDown:T,onKeyUp:R,onCompositionStart:W,onCompositionEnd:$,onBlur:L,"aria-label":t,rows:1,autoSize:s}),f!==null?Vo(f,{className:`${o}-edit-content-confirm`}):null))},Zn=el;function qt(e,o=false){return o&&e==null?[]:Array.isArray(e)?e:[e]}var rl=({copyConfig:e,children:o})=>{let[t,r]=C.useState(false),[n,i]=C.useState(false),a=C.useRef(null),s=()=>{a.current&&clearTimeout(a.current);},c={};e.format&&(c.format=e.format),C.useEffect(()=>s,[]);let l=tl(async m=>{m?.preventDefault(),m?.stopPropagation(),i(true);try{let d=typeof e.text=="function"?await e.text():e.text;ol(d||qt(o,!0).join("")||"",c),i(!1),r(!0),s(),a.current=setTimeout(()=>{r(!1);},3e3),e.onCopy?.(m);}catch(d){throw i(false),d}});return {copied:t,copyLoading:n,onClick:l}},Yn=rl;function bo(e,o){return C.useMemo(()=>{let t=!!e;return [t,{...o,...t&&typeof e=="object"?e:null}]},[e])}var al=e=>{let o=useRef(void 0);return useEffect(()=>{o.current=e;}),o.current},Jn=al;var cl=(e,o,t)=>useMemo(()=>e===true?{title:o??t}:isValidElement(e)?{title:e}:typeof e=="object"?{title:o??t,...e}:{title:e},[e,o,t]),ei=cl;var oi=C.forwardRef((e,o)=>{let{prefixCls:t,component:r="article",className:n,rootClassName:i,setContentRef:a,children:s,direction:c,style:l,...m}=e,{getPrefixCls:d,direction:p,typography:f}=C.useContext(M),u=c??p,y=a?composeRef(o,a):o,x=d("typography",t);process.env.NODE_ENV!=="production"&&A("Typography").deprecated(!a,"setContentRef","ref");let[g,v,P]=Yo(x),W=eo(x,f?.className,{[`${x}-rtl`]:u==="rtl"},n,i,v,P),$={...f?.style,...l};return g(C.createElement(r,{className:W,style:$,ref:y,...m},s))});process.env.NODE_ENV!=="production"&&(oi.displayName="Typography");var ti=oi;function Zt(e){return e===false?[false,false]:Array.isArray(e)?e:[e]}function Qo(e,o,t){return e===true||e===void 0?o:e||t&&o}function ri(e){let o=document.createElement("em");e.appendChild(o),process.env.NODE_ENV!=="production"&&(o.className="ant-typography-css-ellipsis-content-measure");let t=e.getBoundingClientRect(),r=o.getBoundingClientRect();return e.removeChild(o),t.left>r.left||r.right>t.right||t.top>r.top||r.bottom>t.bottom}var ho=e=>["string","number"].includes(typeof e);var Cl=({prefixCls:e,copied:o,locale:t,iconOnly:r,tooltips:n,icon:i,tabIndex:a,onCopy:s,loading:c})=>{let l=Zt(n),m=Zt(i),{copied:d,copy:p}=t??{},f=o?d:p,u=Qo(l[o?1:0],f),y=typeof u=="string"?u:f;return C.createElement(Je,{title:u},C.createElement("button",{type:"button",className:eo(`${e}-copy`,{[`${e}-copy-success`]:o,[`${e}-copy-icon-only`]:r}),onClick:s,"aria-label":y,tabIndex:a},o?Qo(m[1],C.createElement(dl,null),true):Qo(m[0],c?C.createElement(ul,null):C.createElement(fl,null),true)))},ni=Cl;var Jo=C.forwardRef(({style:e,children:o},t)=>{let r=C.useRef(null);return C.useImperativeHandle(t,()=>({isExceed:()=>{let n=r.current;return n.scrollHeight>n.clientHeight},getHeight:()=>r.current.clientHeight})),C.createElement("span",{"aria-hidden":true,ref:r,style:{position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)",...e}},o)}),xl=e=>e.reduce((o,t)=>o+(ho(t)?String(t).length:1),0);function ii(e,o){let t=0,r=[];for(let n=0;n<e.length;n+=1){if(t===o)return r;let i=e[n],s=ho(i)?String(i).length:1,c=t+s;if(c>o){let l=o-t;return r.push(String(i).slice(0,l)),r}r.push(i),t=c;}return e}var Qt=0,Jt=1,er=2,or=3,ai=4,et={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function tr(e){let{enableMeasure:o,width:t,text:r,children:n,rows:i,expanded:a,miscDeps:s,onEllipsis:c}=e,l=C.useMemo(()=>yl(r),[r]),m=C.useMemo(()=>xl(l),[r]),d=C.useMemo(()=>n(l,false),[r]),[p,f]=C.useState(null),u=C.useRef(null),y=C.useRef(null),x=C.useRef(null),g=C.useRef(null),v=C.useRef(null),[P,W]=C.useState(false),[$,T]=C.useState(Qt),[I,R]=C.useState(0),[L,w]=C.useState(null);Yt(()=>{T(o&&t&&m?Jt:Qt);},[t,r,i,o,l]),Yt(()=>{if($===Jt){T(er);let S=y.current&&getComputedStyle(y.current).whiteSpace;w(S);}else if($===er){let S=!!x.current?.isExceed();T(S?or:ai),f(S?[0,m]:null),W(S);let E=x.current?.getHeight()||0,z=i===1?0:g.current?.getHeight()||0,G=v.current?.getHeight()||0,N=Math.max(E,z+G);R(N+1),c(S);}},[$]);let U=p?Math.ceil((p[0]+p[1])/2):0;Yt(()=>{let[S,E]=p||[0,0];if(S!==E){let G=(u.current?.getHeight()||0)>I,N=U;E-S===1&&(N=G?S:E),f(G?[S,N]:[N,E]);}},[p,U]);let F=C.useMemo(()=>{if(!o)return n(l,false);if($!==or||!p||p[0]!==p[1]){let S=n(l,false);return [ai,Qt].includes($)?S:C.createElement("span",{style:{...et,WebkitLineClamp:i}},S)}return n(a?l:ii(l,p[0]),P)},[a,$,p,l,...s]),j={width:t,margin:0,padding:0,whiteSpace:L==="nowrap"?"normal":"inherit"};return C.createElement(C.Fragment,null,F,$===er&&C.createElement(C.Fragment,null,C.createElement(Jo,{style:{...j,...et,WebkitLineClamp:i},ref:x},d),C.createElement(Jo,{style:{...j,...et,WebkitLineClamp:i-1},ref:g},d),C.createElement(Jo,{style:{...j,...et,WebkitLineClamp:1},ref:v},n([],true))),$===or&&p&&p[0]!==p[1]&&C.createElement(Jo,{style:{...j,top:400},ref:u},n(ii(l,U),true)),$===Jt&&C.createElement("span",{style:{whiteSpace:"inherit"},ref:y}))}var li=({enableEllipsis:e,isEllipsis:o,children:t,tooltipProps:r})=>!r?.title||!e?t:C.createElement(Je,{open:o?void 0:false,...r},t);process.env.NODE_ENV!=="production"&&(li.displayName="EllipsisTooltip");var ci=li;function Rl({mark:e,code:o,underline:t,delete:r,strong:n,keyboard:i,italic:a},s){let c=s;function l(m,d){d&&(c=C.createElement(m,{},c));}return l("strong",n),l("u",t),l("del",r),l("code",o),l("mark",e),l("kbd",i),l("i",a),c}var wl="...",$l=C.forwardRef((e,o)=>{let{prefixCls:t,className:r,style:n,type:i,disabled:a,children:s,ellipsis:c,editable:l,copyable:m,component:d,title:p,...f}=e,{getPrefixCls:u,direction:y}=C.useContext(M),[x]=xt("Text"),g=C.useRef(null),v=C.useRef(null),P=u("typography",t),W=vl(f,["mark","code","delete","underline","strong","keyboard","italic"]),[$,T]=bo(l),[I,R]=pi(false,{value:T.editing}),{triggerType:L=["icon"]}=T,w=b=>{b&&T.onStart?.(),R(b);},U=Jn(I);Yt(()=>{!I&&U&&v.current?.focus();},[I]);let F=b=>{b?.preventDefault(),w(true);},j=b=>{T.onChange?.(b),w(false);},S=()=>{T.onCancel?.(),w(false);},[E,z]=bo(m),{copied:G,copyLoading:N,onClick:Me}=Yn({copyConfig:z,children:s}),[ae,Oe]=C.useState(false),[de,se]=C.useState(false),[q,fe]=C.useState(false),[Pe,ue]=C.useState(false),[ge,pe]=C.useState(true),[Z,B]=bo(c,{expandable:false,symbol:b=>b?x?.collapse:x?.expand}),[K,_]=pi(B.defaultExpanded||false,{value:B.expanded}),H=Z&&(!K||B.expandable==="collapsible"),{rows:Ce=1}=B,Re=C.useMemo(()=>H&&(B.suffix!==void 0||B.onEllipsis||B.expandable||$||E),[H,B,$,E]);Yt(()=>{Z&&!Re&&(Oe(isStyleSupport("webkitLineClamp")),se(isStyleSupport("textOverflow")));},[Re,Z]);let[Y,ro]=C.useState(H),Fe=C.useMemo(()=>Re?false:Ce===1?de:ae,[Re,de,ae]);Yt(()=>{ro(Fe&&H);},[Fe,H]);let He=H&&(Y?Pe:q),J=H&&Ce===1&&Y,Ae=H&&Ce>1&&Y,tt=(b,O)=>{_(O.expanded),B.onExpand?.(b,O);},[To,rt]=C.useState(0),nt=({offsetWidth:b})=>{rt(b);},it=b=>{fe(b),q!==b&&B.onEllipsis?.(b);};C.useEffect(()=>{let b=g.current;if(Z&&Y&&b){let O=ri(b);Pe!==O&&ue(O);}},[Z,Y,s,Ae,ge,To]),C.useEffect(()=>{let b=g.current;if(typeof IntersectionObserver>"u"||!b||!Y||!H)return;let O=new IntersectionObserver(()=>{pe(!!b.offsetParent);});return O.observe(b),()=>{O.disconnect();}},[Y,H]);let no=ei(B.tooltip,T.text,s),vo=C.useMemo(()=>{if(!(!Z||Y))return [T.text,s,p,no.title].find(ho)},[Z,Y,p,no.title,He]);if(I)return C.createElement(Zn,{value:T.text??(typeof s=="string"?s:""),onSave:j,onCancel:S,onEnd:T.onEnd,prefixCls:P,className:r,style:n,direction:y,component:d,maxLength:T.maxLength,autoSize:T.autoSize,enterIcon:T.enterIcon});let at=()=>{let{expandable:b,symbol:O}=B;return b?C.createElement("button",{type:"button",key:"expand",className:`${P}-${K?"collapse":"expand"}`,onClick:we=>tt(we,{expanded:!K}),"aria-label":K?x.collapse:x?.expand},typeof O=="function"?O(K):O):null},st=()=>{if(!$)return;let{icon:b,tooltip:O,tabIndex:we}=T,io=yl(O)[0]||x?.edit,mt=typeof io=="string"?io:"";return L.includes("icon")?C.createElement(Je,{key:"edit",title:O===false?"":io},C.createElement("button",{type:"button",ref:v,className:`${P}-edit`,onClick:F,"aria-label":mt,tabIndex:we},b||C.createElement(Sl,{role:"button"}))):null},lt=()=>E?C.createElement(ni,{key:"copy",...z,prefixCls:P,copied:G,locale:x,onCopy:Me,loading:N,iconOnly:s==null}):null,ct=b=>[b&&at(),st(),lt()],pt=b=>[b&&!K&&C.createElement("span",{"aria-hidden":true,key:"ellipsis"},wl),B.suffix,ct(b)];return C.createElement(hl,{onResize:nt,disabled:!H},b=>C.createElement(ci,{tooltipProps:no,enableEllipsis:H,isEllipsis:He},C.createElement(ti,{className:eo({[`${P}-${i}`]:i,[`${P}-disabled`]:a,[`${P}-ellipsis`]:Z,[`${P}-ellipsis-single-line`]:J,[`${P}-ellipsis-multiple-line`]:Ae},r),prefixCls:t,style:{...n,WebkitLineClamp:Ae?Ce:void 0},component:d,ref:composeRef(b,g,o),direction:y,onClick:L.includes("text")?F:void 0,"aria-label":vo?.toString(),title:p,...W},C.createElement(tr,{enableMeasure:H&&!Y,text:s,rows:Ce,width:To,onEllipsis:it,expanded:K,miscDeps:[G,K,N,$,E,x]},(O,we)=>Rl(e,C.createElement(C.Fragment,null,O.length>0&&we&&!K&&vo?C.createElement("span",{key:"show-content","aria-hidden":true},O):O,pt(we)))))))}),mi=$l;var Il=C.forwardRef(({ellipsis:e,rel:o,...t},r)=>{process.env.NODE_ENV!=="production"&&A("Typography.Link")(typeof e!="object","usage","`ellipsis` only supports boolean value.");let n={...t,rel:o===void 0&&t.target==="_blank"?"noopener noreferrer":o};return delete n.navigate,C.createElement(mi,{...n,ref:r,ellipsis:!!e,component:"a"})}),Wg=Il;export{Wg as default};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { BlockProps } from './Base';
|
|
3
|
+
export interface ParagraphProps extends BlockProps<'div'>, Omit<React.HTMLAttributes<HTMLDivElement>, 'type' | keyof BlockProps<'div'>> {
|
|
4
|
+
}
|
|
5
|
+
declare const Paragraph: React.ForwardRefExoticComponent<ParagraphProps & React.RefAttributes<HTMLElement>>;
|
|
6
|
+
export default Paragraph;
|