@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,19 @@
|
|
|
1
|
+
import type { CSSInterpolation } from '@ant-design/cssinjs';
|
|
2
|
+
import type { AliasToken, TokenWithCommonCls } from '../theme/internal';
|
|
3
|
+
import type { ArrowToken } from './roundedArrow';
|
|
4
|
+
export declare const MAX_VERTICAL_CONTENT_RADIUS = 8;
|
|
5
|
+
export interface ArrowOffsetToken {
|
|
6
|
+
}
|
|
7
|
+
export declare function getArrowOffsetToken(options: {
|
|
8
|
+
contentRadius: number;
|
|
9
|
+
limitVerticalRadius?: boolean;
|
|
10
|
+
}): ArrowOffsetToken;
|
|
11
|
+
export default function getArrowStyle<Token extends TokenWithCommonCls<AliasToken> & ArrowOffsetToken & ArrowToken>(token: Token, colorBg: string, options?: {
|
|
12
|
+
arrowDistance?: number;
|
|
13
|
+
arrowPlacement?: {
|
|
14
|
+
left?: boolean;
|
|
15
|
+
right?: boolean;
|
|
16
|
+
top?: boolean;
|
|
17
|
+
bottom?: boolean;
|
|
18
|
+
};
|
|
19
|
+
}): CSSInterpolation;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {unit}from'@ant-design/cssinjs';var p=(e,r,i)=>{let{sizePopupArrow:t,arrowPolygon:l,arrowPath:a,arrowShadowWidth:o,borderRadiusXS:n,calc:s}=e;return {pointerEvents:"none",width:t,height:t,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:t,height:s(t).div(2).equal(),background:r,clipPath:{_multi_value_:true,value:[l,a]},content:'""'},"&::after":{content:'""',position:"absolute",width:o,height:o,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:true,value:`0 0 ${unit(n)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:i,zIndex:0,background:"transparent"}}};var w=8;function g(e){let{contentRadius:r,limitVerticalRadius:i}=e,t=r>12?r+2:12;return {arrowOffsetHorizontal:t,arrowOffsetVertical:i?w:t}}function c(e,r){return e?r:{}}function u(e,r,i){let{componentCls:t,boxShadowPopoverArrow:l,arrowOffsetVertical:a,arrowOffsetHorizontal:o}=e,{arrowDistance:n=0,arrowPlacement:s={left:true,right:true,top:true,bottom:true}}=i||{};return {[t]:{[`${t}-arrow`]:[{position:"absolute",zIndex:1,display:"block",...p(e,r,l),"&:before":{background:r}}],...c(!!s.top,{[[`&-placement-top > ${t}-arrow`,`&-placement-topLeft > ${t}-arrow`,`&-placement-topRight > ${t}-arrow`].join(",")]:{bottom:n,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${t}-arrow`]:{left:{_skip_check_:true,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":o,[`> ${t}-arrow`]:{left:{_skip_check_:true,value:o}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${unit(o)})`,[`> ${t}-arrow`]:{right:{_skip_check_:true,value:o}}}}),...c(!!s.bottom,{[[`&-placement-bottom > ${t}-arrow`,`&-placement-bottomLeft > ${t}-arrow`,`&-placement-bottomRight > ${t}-arrow`].join(",")]:{top:n,transform:"translateY(-100%)"},[`&-placement-bottom > ${t}-arrow`]:{left:{_skip_check_:true,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":o,[`> ${t}-arrow`]:{left:{_skip_check_:true,value:o}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${unit(o)})`,[`> ${t}-arrow`]:{right:{_skip_check_:true,value:o}}}}),...c(!!s.left,{[[`&-placement-left > ${t}-arrow`,`&-placement-leftTop > ${t}-arrow`,`&-placement-leftBottom > ${t}-arrow`].join(",")]:{right:{_skip_check_:true,value:n},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${t}-arrow`]:{top:{_skip_check_:true,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${t}-arrow`]:{top:a},[`&-placement-leftBottom > ${t}-arrow`]:{bottom:a}}),...c(!!s.right,{[[`&-placement-right > ${t}-arrow`,`&-placement-rightTop > ${t}-arrow`,`&-placement-rightBottom > ${t}-arrow`].join(",")]:{left:{_skip_check_:true,value:n},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${t}-arrow`]:{top:{_skip_check_:true,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${t}-arrow`]:{top:a},[`&-placement-rightBottom > ${t}-arrow`]:{bottom:a}})}}}export{w as MAX_VERTICAL_CONTENT_RADIUS,u as default,g as getArrowOffsetToken};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { CSSObject } from '@ant-design/cssinjs';
|
|
2
|
+
import type { AliasToken } from '../theme/interface';
|
|
3
|
+
import type { CSSUtil } from '../theme/internal';
|
|
4
|
+
export interface ArrowToken {
|
|
5
|
+
}
|
|
6
|
+
export declare function getArrowToken(token: AliasToken): ArrowToken;
|
|
7
|
+
export declare const genRoundedArrow: <T extends AliasToken & ArrowToken & CSSUtil>(token: T, bgColor: string, boxShadow: string) => CSSObject;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {unit}from'@ant-design/cssinjs';function A(c){let{sizePopupArrow:h,borderRadiusXS:r,borderRadiusOuter:t}=c,o=h/2,e=0,n=o,s=t*1/Math.sqrt(2),a=o-t*(1-1/Math.sqrt(2)),d=o-r*(1/Math.sqrt(2)),p=t*(Math.sqrt(2)-1)+r*(1/Math.sqrt(2)),u=2*o-d,l=p,w=2*o-s,$=a,g=2*o-e,b=n,m=o*Math.sqrt(2)+t*(Math.sqrt(2)-2),i=t*(Math.sqrt(2)-1),f=`polygon(${i}px 100%, 50% ${i}px, ${2*o-i}px 100%, ${i}px 100%)`,x=`path('M ${e} ${n} A ${t} ${t} 0 0 0 ${s} ${a} L ${d} ${p} A ${r} ${r} 0 0 1 ${u} ${l} L ${w} ${$} A ${t} ${t} 0 0 0 ${g} ${b} Z')`;return {arrowShadowWidth:m,arrowPath:x,arrowPolygon:f}}var k=(c,h,r)=>{let{sizePopupArrow:t,arrowPolygon:o,arrowPath:e,arrowShadowWidth:n,borderRadiusXS:s,calc:a}=c;return {pointerEvents:"none",width:t,height:t,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:t,height:a(t).div(2).equal(),background:h,clipPath:{_multi_value_:true,value:[o,e]},content:'""'},"&::after":{content:'""',position:"absolute",width:n,height:n,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:true,value:`0 0 ${unit(s)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:r,zIndex:0,background:"transparent"}}};export{k as genRoundedArrow,A as getArrowToken};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { SwitchChangeEventHandler, SwitchClickEventHandler } from 'rc-switch';
|
|
3
|
+
export type SwitchSize = 'small' | 'default';
|
|
4
|
+
export type { SwitchChangeEventHandler, SwitchClickEventHandler };
|
|
5
|
+
export interface SwitchProps {
|
|
6
|
+
prefixCls?: string;
|
|
7
|
+
size?: SwitchSize;
|
|
8
|
+
className?: string;
|
|
9
|
+
rootClassName?: string;
|
|
10
|
+
checked?: boolean;
|
|
11
|
+
defaultChecked?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Alias for `checked`.
|
|
14
|
+
* @since 5.12.0
|
|
15
|
+
*/
|
|
16
|
+
value?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Alias for `defaultChecked`.
|
|
19
|
+
* @since 5.12.0
|
|
20
|
+
*/
|
|
21
|
+
defaultValue?: boolean;
|
|
22
|
+
onChange?: SwitchChangeEventHandler;
|
|
23
|
+
onClick?: SwitchClickEventHandler;
|
|
24
|
+
checkedChildren?: React.ReactNode;
|
|
25
|
+
unCheckedChildren?: React.ReactNode;
|
|
26
|
+
disabled?: boolean;
|
|
27
|
+
loading?: boolean;
|
|
28
|
+
autoFocus?: boolean;
|
|
29
|
+
style?: React.CSSProperties;
|
|
30
|
+
title?: string;
|
|
31
|
+
tabIndex?: number;
|
|
32
|
+
id?: string;
|
|
33
|
+
}
|
|
34
|
+
declare const InternalSwitch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>;
|
|
35
|
+
type CompoundedComponent = typeof InternalSwitch & {};
|
|
36
|
+
declare const Switch: CompoundedComponent;
|
|
37
|
+
export default Switch;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import*as f from'react';import f__default,{createContext,useContext,useRef}from'react';import An from'@ant-design/icons/LoadingOutlined';import gn from'classnames';import Nn from'rc-switch';import On from'rc-util/lib/hooks/useMergedState';import kn from'rc-util/lib/Dom/isVisible';import {supportRef,composeRef,getNodeRef}from'rc-util/lib/ref';import {createTheme,useCacheToken,unit,useStyleRegister}from'@ant-design/cssinjs';import Kr from'@ant-design/icons/lib/components/Context';import _r from'rc-util/lib/hooks/useMemo';import {merge}from'rc-util/lib/utils/set';import rr,{resetWarned}from'rc-util/lib/warning';import'rc-pagination/lib/locale/en_US';import cr from'rc-picker/lib/locale/en_US';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';import kr from'rc-util/lib/Dom/canUseDom';import {updateCSS}from'rc-util/lib/Dom/dynamicCSS';import Ur from'rc-util/lib/isEqual';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import un,{Provider}from'rc-motion';import xn from'rc-util/lib/hooks/useEvent';import et from'rc-util/lib/raf';import*as sn from'react-dom';import {unmount,render}from'rc-util/lib/React/render';function co(){}var E=null;function ir(){E=null,resetWarned();}var Ie=co;process.env.NODE_ENV!=="production"&&(Ie=(e,o,t)=>{rr(e,`[swiftcrab: ${o}] ${t}`),process.env.NODE_ENV==="test"&&ir();});var $e=f.createContext({}),$=process.env.NODE_ENV!=="production"?e=>{let{strict:o}=f.useContext($e),t=(n,r,c)=>{if(!n)if(o===false&&r==="deprecated"){let l=E;E||(E={}),E[e]=E[e]||[],E[e].includes(c||"")||E[e].push(c||""),l||console.warn("[swiftcrab] There exists deprecated usage in your code:",E);}else Ie(n,e,c);};return t.deprecated=(n,r,c,l)=>{t(n,"deprecated",`\`${r}\` is deprecated. Please use \`${c}\` instead.${l?` ${l}`:""}`);},t}:()=>{let e=()=>{};return e.deprecated=co,e},z=Ie;var so=createContext(void 0);({lang:{...cr}});var P="${label} is not a valid ${type}",mr={Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Form:{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:P,method:P,array:P,object:P,number:P,date:P,boolean:P,integer:P,float:P,regexp:P,email:P,url:P,hex:P},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}"}}}},F=mr;({...F.Modal});var Se=[],mo=()=>Se.reduce((e,o)=>({...e,...o}),F.Modal);function fo(e){if(e){let o={...e};return Se.push(o),mo(),()=>{Se=Se.filter(t=>t!==o),mo();}}({...F.Modal});}var fr=createContext(void 0),le=fr;var He="internalMark",uo=e=>{let{locale:o={},children:t,_ANT_MARK__:n}=e;process.env.NODE_ENV!=="production"&&$("LocaleProvider")(n===He,"deprecated","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale"),f.useEffect(()=>fo(o?.Modal),[o]);let r=f.useMemo(()=>({...o,exist:true}),[o]);return f.createElement(le.Provider,{value:r},t)};process.env.NODE_ENV!=="production"&&(uo.displayName="LocaleProvider");var Co=uo;var De={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"},gr={...De,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},I=gr;function We(e,{generateColorPalettes:o,generateNeutralColorPalettes:t}){let{colorSuccess:n,colorWarning:r,colorError:c,colorInfo:l,colorPrimary:a,colorBgBase:s,colorTextBase:i}=e,p=o(a),m=o(n),d=o(r),g=o(c),S=o(l),D=t(s,i),A=e.colorLink||e.colorInfo,h=o(A),W=new TinyColor(g[1]).mix(new TinyColor(g[3]),50).toHexString();return {...D,colorPrimaryBg:p[1],colorPrimaryBgHover:p[2],colorPrimaryBorder:p[3],colorPrimaryBorderHover:p[4],colorPrimaryHover:p[5],colorPrimary:p[6],colorPrimaryActive:p[7],colorPrimaryTextHover:p[8],colorPrimaryText:p[9],colorPrimaryTextActive:p[10],colorSuccessBg:m[1],colorSuccessBgHover:m[2],colorSuccessBorder:m[3],colorSuccessBorderHover:m[4],colorSuccessHover:m[4],colorSuccess:m[6],colorSuccessActive:m[7],colorSuccessTextHover:m[8],colorSuccessText:m[9],colorSuccessTextActive:m[10],colorErrorBg:g[1],colorErrorBgHover:g[2],colorErrorBgFilledHover:W,colorErrorBgActive:g[3],colorErrorBorder:g[3],colorErrorBorderHover:g[4],colorErrorHover:g[5],colorError:g[6],colorErrorActive:g[7],colorErrorTextHover:g[8],colorErrorText:g[9],colorErrorTextActive:g[10],colorWarningBg:d[1],colorWarningBgHover:d[2],colorWarningBorder:d[3],colorWarningBorderHover:d[4],colorWarningHover:d[4],colorWarning:d[6],colorWarningActive:d[7],colorWarningTextHover:d[8],colorWarningText:d[9],colorWarningTextActive:d[10],colorInfoBg:S[1],colorInfoBgHover:S[2],colorInfoBorder:S[3],colorInfoBorderHover:S[4],colorInfoHover:S[4],colorInfo:S[6],colorInfoActive:S[7],colorInfoTextHover:S[8],colorInfoText:S[9],colorInfoTextActive:S[10],colorLinkHover:h[4],colorLink:h[6],colorLinkActive:h[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var ur=e=>{let o=e,t=e,n=e,r=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?n=1:e>=6&&(n=2),e>4&&e<8?r=4:e>=8&&(r=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:t,borderRadiusLG:o,borderRadiusOuter:r}},yo=ur;function Ne(e){let{motionUnit:o,motionBase:t,borderRadius:n,lineWidth:r}=e;return {motionDurationFast:`${(t+o).toFixed(1)}s`,motionDurationMid:`${(t+o*2).toFixed(1)}s`,motionDurationSlow:`${(t+o*3).toFixed(1)}s`,lineWidthBold:r+1,...yo(n)}}var Cr=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},So=Cr;function xo(e){return (e+8)/e}function Oe(e){let o=new Array(10).fill(null).map((t,n)=>{let r=n-1,c=e*Math.E**(r/5),l=n>1?Math.floor(c):Math.ceil(c);return Math.floor(l/2)*2});return o[1]=e,o.map(t=>({size:t,lineHeight:xo(t)}))}var yr=e=>{let o=Oe(e),t=o.map(p=>p.size),n=o.map(p=>p.lineHeight),r=t[1],c=t[0],l=t[2],a=n[1],s=n[0],i=n[2];return {fontSizeSM:c,fontSize:r,fontSizeLG:l,fontSizeXL:t[3],fontSizeHeading1:t[6],fontSizeHeading2:t[5],fontSizeHeading3:t[4],fontSizeHeading4:t[3],fontSizeHeading5:t[2],lineHeight:a,lineHeightLG:i,lineHeightSM:s,fontHeight:Math.round(a*r),fontHeightLG:Math.round(i*l),fontHeightSM:Math.round(s*c),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},ho=yr;function Fe(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 k=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),Q=(e,o)=>new TinyColor(e).darken(o).toHexString();var To=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]}},Po=(e,o)=>{let t=e||"#fff",n=o||"#000";return {colorBgBase:t,colorTextBase:n,colorText:k(n,.88),colorTextSecondary:k(n,.65),colorTextTertiary:k(n,.45),colorTextQuaternary:k(n,.25),colorFill:k(n,.15),colorFillSecondary:k(n,.06),colorFillTertiary:k(n,.04),colorFillQuaternary:k(n,.02),colorBgSolid:k(n,1),colorBgSolidHover:k(n,.75),colorBgSolidActive:k(n,.95),colorBgLayout:Q(t,4),colorBgContainer:Q(t,0),colorBgElevated:Q(t,0),colorBgSpotlight:k(n,.85),colorBgBlur:"transparent",colorBorder:Q(t,15),colorBorderSecondary:Q(t,6)}};function Ve(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys(De).map(t=>{let n=e[t]===presetPrimaryColors[t]?presetPalettes[t]:generate(e[t]);return new Array(10).fill(1).reduce((r,c,l)=>(r[`${t}-${l+1}`]=n[l],r[`${t}${l+1}`]=n[l],r),{})}).reduce((t,n)=>(t={...t,...n},t),{});return {...e,...o,...We(e,{generateColorPalettes:To,generateNeutralColorPalettes:Po}),...ho(e.fontSize),...Fe(e),...So(e),...Ne(e)}}var xe=createTheme(Ve),ce={token:I,override:{override:I},hashed:true},se=f__default.createContext(ce);var Y="ant",pe="anticon";var Tr=(e,o)=>o||(e?`${Y}-${e}`:Y),T=f.createContext({getPrefixCls:Tr,iconPrefixCls:pe}),{Consumer:Pr}=T;var Mr=`-ant-${Date.now()}-${Math.random()}`;function wr(e,o){let t={},n=(l,a)=>{let s=l.clone();return s=a?.(s)||s,s.toRgbString()},r=(l,a)=>{let s=new TinyColor(l),i=generate(s.toRgbString());t[`${a}-color`]=n(s),t[`${a}-color-disabled`]=i[1],t[`${a}-color-hover`]=i[4],t[`${a}-color-active`]=i[6],t[`${a}-color-outline`]=s.clone().setAlpha(.2).toRgbString(),t[`${a}-color-deprecated-bg`]=i[0],t[`${a}-color-deprecated-border`]=i[2];};if(o.primaryColor){r(o.primaryColor,"primary");let l=new TinyColor(o.primaryColor),a=generate(l.toRgbString());a.forEach((i,p)=>{t[`primary-${p+1}`]=i;}),t["primary-color-deprecated-l-35"]=n(l,i=>i.lighten(35)),t["primary-color-deprecated-l-20"]=n(l,i=>i.lighten(20)),t["primary-color-deprecated-t-20"]=n(l,i=>i.tint(20)),t["primary-color-deprecated-t-50"]=n(l,i=>i.tint(50)),t["primary-color-deprecated-f-12"]=n(l,i=>i.setAlpha(i.getAlpha()*.12));let s=new TinyColor(a[0]);t["primary-color-active-deprecated-f-30"]=n(s,i=>i.setAlpha(i.getAlpha()*.3)),t["primary-color-active-deprecated-d-02"]=n(s,i=>i.darken(2));}return o.successColor&&r(o.successColor,"success"),o.warningColor&&r(o.warningColor,"warning"),o.errorColor&&r(o.errorColor,"error"),o.infoColor&&r(o.infoColor,"info"),`
|
|
4
|
+
:root {
|
|
5
|
+
${Object.keys(t).map(l=>`--${e}-${l}: ${t[l]};`).join(`
|
|
6
|
+
`)}
|
|
7
|
+
}
|
|
8
|
+
`.trim()}function Mo(e,o){let t=wr(e,o);kr()?updateCSS(t,`${Mr}-dynamic-theme`):z(false,"ConfigProvider","SSR do not support dynamic theme with css variables.");}var Xe=f.createContext(false),wo=({children:e,disabled:o})=>{let t=f.useContext(Xe);return f.createElement(Xe.Provider,{value:o??t},e)},he=Xe;var _e=f.createContext(void 0),Ro=({children:e,size:o})=>{let t=f.useContext(_e);return f.createElement(_e.Provider,{value:o||t},e)},B=_e;function Rr(){let e=useContext(he),o=useContext(B);return {componentDisabled:e,componentSize:o}}var Eo=Rr;var $o={version:"0.0.2"};var zo=$o.version;function Ue(e){return e>=0&&e<=255}function Er(e,o){let{r:t,g:n,b:r,a:c}=new TinyColor(e).toRgb();if(c<1)return e;let{r:l,g:a,b:s}=new TinyColor(o).toRgb();for(let i=.01;i<=1;i+=.01){let p=Math.round((t-l*(1-i))/i),m=Math.round((n-a*(1-i))/i),d=Math.round((r-s*(1-i))/i);if(Ue(p)&&Ue(m)&&Ue(d))return new TinyColor({r:p,g:m,b:d,a:Math.round(i*100)/100}).toRgbString()}return new TinyColor({r:t,g:n,b:r,a:1}).toRgbString()}var me=Er;function Te(e){let{override:o,...t}=e,n={...o};Object.keys(I).forEach(d=>{delete n[d];});let r={...t,...n},c=480,l=576,a=768,s=992,i=1200,p=1600;return r.motion===false&&(r.motionDurationFast="0s",r.motionDurationMid="0s",r.motionDurationSlow="0s"),{...r,colorFillContent:r.colorFillSecondary,colorFillContentHover:r.colorFill,colorFillAlter:r.colorFillQuaternary,colorBgContainerDisabled:r.colorFillTertiary,colorBorderBg:r.colorBgContainer,colorSplit:me(r.colorBorderSecondary,r.colorBgContainer),colorTextPlaceholder:r.colorTextQuaternary,colorTextDisabled:r.colorTextQuaternary,colorTextHeading:r.colorText,colorTextLabel:r.colorTextSecondary,colorTextDescription:r.colorTextTertiary,colorTextLightSolid:r.colorWhite,colorHighlight:r.colorError,colorBgTextHover:r.colorFillSecondary,colorBgTextActive:r.colorFill,colorIcon:r.colorTextTertiary,colorIconHover:r.colorText,colorErrorOutline:me(r.colorErrorBg,r.colorBgContainer),colorWarningOutline:me(r.colorWarningBg,r.colorBgContainer),fontSizeIcon:r.fontSizeSM,lineWidthFocus:r.lineWidth*3,lineWidth:r.lineWidth,controlOutlineWidth:r.lineWidth*2,controlInteractiveSize:r.controlHeight/2,controlItemBgHover:r.colorFillTertiary,controlItemBgActive:r.colorPrimaryBg,controlItemBgActiveHover:r.colorPrimaryBgHover,controlItemBgActiveDisabled:r.colorFill,controlTmpOutline:r.colorFillQuaternary,controlOutline:me(r.colorPrimaryBg,r.colorBgContainer),lineType:r.lineType,borderRadius:r.borderRadius,borderRadiusXS:r.borderRadiusXS,borderRadiusSM:r.borderRadiusSM,borderRadiusLG:r.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:r.sizeXXS,paddingXS:r.sizeXS,paddingSM:r.sizeSM,padding:r.size,paddingMD:r.sizeMD,paddingLG:r.sizeLG,paddingXL:r.sizeXL,paddingContentHorizontalLG:r.sizeLG,paddingContentVerticalLG:r.sizeMS,paddingContentHorizontal:r.sizeMS,paddingContentVertical:r.sizeSM,paddingContentHorizontalSM:r.size,paddingContentVerticalSM:r.sizeXS,marginXXS:r.sizeXXS,marginXS:r.sizeXS,marginSM:r.sizeSM,margin:r.size,marginMD:r.sizeMD,marginLG:r.sizeLG,marginXL:r.sizeXL,marginXXL:r.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:c,screenXSMin:c,screenXSMax:l-1,screenSM:l,screenSMMin:l,screenSMMax:a-1,screenMD:a,screenMDMin:a,screenMDMax:s-1,screenLG:s,screenLGMin:s,screenLGMax:i-1,screenXL:i,screenXLMin:i,screenXLMax:p-1,screenXXL:p,screenXXLMin:p,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)",...n}}var Ke={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},zr={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},Hr={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},Ho=(e,o,t)=>{let n=t.getDerivativeToken(e),{override:r,...c}=o,l={...n,override:r};return l=Te(l),c&&Object.entries(c).forEach(([a,s])=>{let{theme:i,...p}=s,m=p;i&&(m=Ho({...l,...p},{override:p},i)),l[a]=m;}),l};function w(){let{token:e,hashed:o,theme:t,override:n,cssVar:r}=f__default.useContext(se),c=`${zo}-${o||""}`,l=t||xe,[a,s,i]=useCacheToken(l,[I,e],{salt:c,override:n,getComputedToken:Ho,formatToken:Te,cssVar:r&&{prefix:r.prefix,key:r.key,unitless:Ke,ignore:zr,preserve:Hr}});return [l,i,o?s:"",a,r]}var Do=(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}),Ar=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}});var Ao=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"}}}),Wo=(e,o,t,n)=>{let r=`[class^="${o}"], [class*=" ${o}"]`,c=t?`.${t}`:r,l={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},a={};return n!==false&&(a={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[c]:{...a,...l,[r]:l}}},Wr=e=>({outline:`${unit(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),No=e=>({"&:focus-visible":{...Wr(e)}}),Pe=e=>({[`.${e}`]:{...Ar(),[`.${e} .${e}-icon`]:{display:"block"}}});var{genStyleHooks:Qe,genComponentStyleHook:Ye,genSubStyleComponent:Or}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:o}=useContext(T);return {rootPrefixCls:e(),iconPrefixCls:o}},useToken:()=>{let[e,o,t,n,r]=w();return {theme:e,realToken:o,hashId:t,token:n,cssVar:r}},useCSP:()=>{let{csp:e}=useContext(T);return e??{}},getResetStyles:(e,o)=>[{"&":Ao(e)},Pe(o?.prefix.iconPrefixCls??pe)],getCommonStyle:Wo,getCompUnitless:(()=>Ke)});var Br=(e,o)=>{let[t,n]=w();return useStyleRegister({theme:t,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>o?.nonce,layer:{name:"antd"}},()=>[Pe(e)])},ke=Br;var Vr={...f},{useId:Bo}=Vr,Gr=()=>"",Xr=typeof Bo>"u"?Gr:Bo,jo=Xr;function Je(e,o,t){let n=$("ConfigProvider"),r=e||{},c=r.inherit===false||!o?{...ce,hashed:o?.hashed??ce.hashed,cssVar:o?.cssVar}:o,l=jo();if(process.env.NODE_ENV!=="production"){let a=r.cssVar||c.cssVar,s=!!(typeof r.cssVar=="object"&&r.cssVar?.key||l);n(!a||s,"breaking","Missing key in `cssVar` config. Please upgrade to React 18 or set `cssVar.key` manually in each ConfigProvider inside `cssVar` enabled ConfigProvider.");}return _r(()=>{if(!e)return o;let a={...c.components};Object.keys(e.components||{}).forEach(p=>{a[p]={...a[p],...e.components[p]};});let s=`css-var-${l.replace(/:/g,"")}`,i=(r.cssVar??c.cssVar)&&{prefix:t?.prefixCls,...typeof c.cssVar=="object"?c.cssVar:{},...typeof r.cssVar=="object"?r.cssVar:{},key:typeof r.cssVar=="object"&&r.cssVar?.key||s};return {...c,...r,token:{...c.token,...r.token},components:a,cssVar:i}},[r,c],(a,s)=>a.some((i,p)=>{let m=s[p];return !Ur(i,m,true)}))}function Ze(e){let{children:o}=e,[,t]=w(),{motion:n}=t,r=f.useRef(false);return r.current=r.current||n===false,r.current?f.createElement(Provider,{motion:n},o):o}var Go=f.memo(({dropdownMatchSelectWidth:e})=>($("ConfigProvider").deprecated(e===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null));process.env.NODE_ENV!=="production"&&(Go.displayName="PropWarning");var Xo=process.env.NODE_ENV!=="production"?Go:()=>null;var eo=false;process.env.NODE_ENV!=="production"?e=>{z(!eo,e,"Static function can not consume context like dynamic theme. Please use 'App' component instead.");}:null;var Jr=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"],Uo;function tn(){return Uo||Y}function rn(e){return Object.keys(e).some(o=>o.endsWith("Color"))}var nn=e=>{let{prefixCls:o,iconPrefixCls:t,theme:n,holderRender:r}=e;o!==void 0&&(Uo=o),n&&(rn(n)?(z(false,"ConfigProvider","`config` of css variable theme is not work in v5. Please use new `theme` config instead."),Mo(tn(),n)):n);};var an=e=>{let{children:o,csp:t,autoInsertSpaceInButton:n,alert:r,anchor:c,form:l,locale:a,componentSize:s,direction:i,space:p,splitter:m,virtual:d,dropdownMatchSelectWidth:g,popupMatchSelectWidth:S,popupOverflow:D,legacyLocale:A,parentContext:h,iconPrefixCls:W,theme:N,componentDisabled:j,segmented:V,statistic:v,spin:oe,calendar:b,carousel:x,cascader:O,collapse:te,typography:re,checkbox:ne,descriptions:de,divider:G,drawer:Re,skeleton:pt,steps:mt,image:dt,layout:ft,list:gt,mentions:ut,modal:Ct,progress:yt,result:St,slider:xt,breadcrumb:ht,menu:bt,pagination:Tt,input:Pt,textArea:kt,empty:vt,badge:Mt,radio:wt,rate:Rt,switch:Lt,transfer:Et,avatar:It,message:$t,tag:zt,table:Ht,card:Dt,tabs:At,timeline:Wt,timePicker:Nt,upload:Ot,notification:Ft,tree:Bt,colorPicker:jt,datePicker:Vt,rangePicker:Gt,flex:Xt,wave:_t,dropdown:Ut,warning:qt,tour:Kt,variant:Qt,inputNumber:Yt,treeSelect:Jt}=e,no=f.useCallback((u,M)=>{let{prefixCls:U}=e;if(M)return M;let q=U||h.getPrefixCls("");return u?`${q}-${u}`:q},[h.getPrefixCls,e.prefixCls]),ie=W||h.iconPrefixCls||pe,ae=t||h.csp;ke(ie,ae);let fe=Je(N,h.theme,{prefixCls:no("")});process.env.NODE_ENV!=="production"&&(eo=eo||!!fe);let Le={csp:ae,autoInsertSpaceInButton:n,alert:r,anchor:c,locale:a||A,direction:i,space:p,splitter:m,virtual:d,popupMatchSelectWidth:S??g,popupOverflow:D,getPrefixCls:no,iconPrefixCls:ie,theme:fe,segmented:V,statistic:v,spin:oe,calendar:b,carousel:x,cascader:O,collapse:te,typography:re,checkbox:ne,descriptions:de,divider:G,drawer:Re,skeleton:pt,steps:mt,image:dt,input:Pt,textArea:kt,layout:ft,list:gt,mentions:ut,modal:Ct,progress:yt,result:St,slider:xt,breadcrumb:ht,menu:bt,pagination:Tt,empty:vt,badge:Mt,radio:wt,rate:Rt,switch:Lt,transfer:Et,avatar:It,message:$t,tag:zt,table:Ht,card:Dt,tabs:At,timeline:Wt,timePicker:Nt,upload:Ot,notification:Ft,tree:Bt,colorPicker:jt,datePicker:Vt,rangePicker:Gt,flex:Xt,wave:_t,dropdown:Ut,warning:qt,tour:Kt,variant:Qt,inputNumber:Yt,treeSelect:Jt};process.env.NODE_ENV!=="production"&&$("ConfigProvider")(!("autoInsertSpaceInButton"in e),"deprecated","`autoInsertSpaceInButton` is deprecated. Please use `{ button: { autoInsertSpace: boolean }}` instead.");let X={...h};Object.keys(Le).forEach(u=>{Le[u]!==void 0&&(X[u]=Le[u]);}),Jr.forEach(u=>{let M=e[u];M&&(X[u]=M);}),typeof n<"u"&&(X.button={autoInsertSpace:n,...X.button});let _=_r(()=>X,X,(u,M)=>{let U=Object.keys(u),q=Object.keys(M);return U.length!==q.length||U.some(ge=>u[ge]!==M[ge])}),Zt=f.useMemo(()=>({prefixCls:ie,csp:ae}),[ie,ae]),y=f.createElement(f.Fragment,null,f.createElement(Xo,{dropdownMatchSelectWidth:g}),o),io=f.useMemo(()=>merge(F.Form?.defaultValidateMessages||{},_.locale?.Form?.defaultValidateMessages||{},_.form?.validateMessages||{},l?.validateMessages||{}),[_,l?.validateMessages]);Object.keys(io).length>0&&(y=f.createElement(so.Provider,{value:io},y)),a&&(y=f.createElement(Co,{locale:a,_ANT_MARK__:He},y)),(y=f.createElement(Kr.Provider,{value:Zt},y)),s&&(y=f.createElement(Ro,{size:s},y)),y=f.createElement(Ze,null,y);let er=f.useMemo(()=>{let{algorithm:u,token:M,components:U,cssVar:q,...ge}=fe||{},ao=u&&(!Array.isArray(u)||u.length>0)?createTheme(u):xe,Ee={};Object.entries(U||{}).forEach(([or,tr])=>{let L={...tr};"algorithm"in L&&(L.algorithm===true?L.theme=ao:(Array.isArray(L.algorithm)||typeof L.algorithm=="function")&&(L.theme=createTheme(L.algorithm)),delete L.algorithm),Ee[or]=L;});let lo={...I,...M};return {...ge,theme:ao,token:lo,components:Ee,override:{override:lo,...Ee},cssVar:q}},[fe]);return N&&(y=f.createElement(se.Provider,{value:er},y)),_.warning&&(y=f.createElement($e.Provider,{value:_.warning},y)),j!==void 0&&(y=f.createElement(wo,{disabled:j},y)),f.createElement(T.Provider,{value:_},y)},ee=e=>{let o=f.useContext(T),t=f.useContext(le);return f.createElement(an,{parentContext:o,legacyLocale:t,...e})};ee.ConfigContext=T;ee.SizeContext=B;ee.config=nn;ee.useConfig=Eo;Object.defineProperty(ee,"SizeContext",{get:()=>(z(false,"ConfigProvider","ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."),B)});process.env.NODE_ENV!=="production"&&(ee.displayName="ConfigProvider");var ln=(e,o,t)=>f__default.isValidElement(e)?f__default.cloneElement(e,typeof t=="function"?t(e.props||{}):t):o;function Ko(e,o){return ln(e,e,o)}var cn=e=>{let{componentCls:o,colorPrimary:t}=e;return {[o]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${t})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},Qo=Ye("Wave",e=>[cn(e)]);var Me=`${Y}-wave-target`;var dn=(e,o)=>{if(process.env.NODE_ENV!=="production"){let t=parseInt(f.version.split(".")[0],10),n=Object.keys(sn);z(t<19||n.includes("createRoot"),"compatible","swiftcrab v5 support React is 16 ~ 18. see https://u.ant.design/v5-for-19 for compatible.");}return render(e,o),()=>unmount(o)},fn=dn;function Jo(){return fn}function oo(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function Zo(e){let{borderTopColor:o,borderColor:t,backgroundColor:n}=getComputedStyle(e);return oo(o)?o:oo(t)?t:oo(n)?n:null}function to(e){return Number.isNaN(e)?0:e}var yn=e=>{let{className:o,target:t,component:n,registerUnmount:r}=e,c=f.useRef(null),l=f.useRef(null);f.useEffect(()=>{l.current=r();},[]);let[a,s]=f.useState(null),[i,p]=f.useState([]),[m,d]=f.useState(0),[g,S]=f.useState(0),[D,A]=f.useState(0),[h,W]=f.useState(0),[N,j]=f.useState(false),V={left:m,top:g,width:D,height:h,borderRadius:i.map(b=>`${b}px`).join(" ")};a&&(V["--wave-color"]=a);function v(){let b=getComputedStyle(t);s(Zo(t));let x=b.position==="static",{borderLeftWidth:O,borderTopWidth:te}=b;d(x?t.offsetLeft:to(-parseFloat(O))),S(x?t.offsetTop:to(-parseFloat(te))),A(t.offsetWidth),W(t.offsetHeight);let{borderTopLeftRadius:re,borderTopRightRadius:ne,borderBottomLeftRadius:de,borderBottomRightRadius:G}=b;p([re,ne,G,de].map(Re=>to(parseFloat(Re))));}if(f.useEffect(()=>{if(t){let b=et(()=>{v(),j(true);}),x;return typeof ResizeObserver<"u"&&(x=new ResizeObserver(v),x.observe(t)),()=>{et.cancel(b),x?.disconnect();}}},[]),!N)return null;let oe=(n==="Checkbox"||n==="Radio")&&t?.classList.contains(Me);return f.createElement(un,{visible:true,motionAppear:true,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(b,x)=>{if(x.deadline||x.propertyName==="opacity"){let O=c.current?.parentElement;l.current?.().then(()=>{O?.remove();});}return false}},({className:b},x)=>f.createElement("div",{ref:composeRef(c,x),className:gn(o,b,{"wave-quick":oe}),style:V}))},Sn=(e,o)=>{let{component:t}=o;if(t==="Checkbox"&&!e.querySelector("input")?.checked)return;let n=document.createElement("div");n.style.position="absolute",n.style.left="0px",n.style.top="0px",e?.insertBefore(n,e?.firstChild);let r=Jo(),c=null;function l(){return c}c=r(f.createElement(yn,{...o,target:e,registerUnmount:l}),n);},ot=Sn;var hn=(e,o,t)=>{let{wave:n}=f.useContext(T),[,r,c]=w(),l=xn(i=>{let p=e.current;if(n?.disabled||!p)return;let m=p.querySelector(`.${Me}`)||p,{showEffect:d}=n||{};(d||ot)(m,{className:o,token:r,component:t,event:i,hashId:c});}),a=f.useRef(null);return i=>{et.cancel(a.current),a.current=et(()=>{l(i);});}},rt=hn;var it=e=>{let{children:o,disabled:t,component:n}=e,{getPrefixCls:r}=useContext(T),c=useRef(null),l=r("wave"),[,a]=Qo(l),s=rt(c,gn(l,a),n);if(f__default.useEffect(()=>{let p=c.current;if(!p||p.nodeType!==1||t)return;let m=d=>{!kn(d.target)||!p.getAttribute||p.getAttribute("disabled")||p.disabled||p.className.includes("disabled")||p.className.includes("-leave")||s(d);};return p.addEventListener("click",m,true),()=>{p.removeEventListener("click",m,true);}},[t]),!f__default.isValidElement(o))return o??null;let i=supportRef(o)?composeRef(getNodeRef(o),c):c;return Ko(o,{ref:i})};process.env.NODE_ENV!=="production"&&(it.displayName="Wave");var at=it;var Rn=e=>{let o=f__default.useContext(B);return f__default.useMemo(()=>e?typeof e=="string"?e??o:e instanceof Function?e(o):o:o,[e,o])},ct=Rn;var En=e=>{let{componentCls:o,trackHeightSM:t,trackPadding:n,trackMinWidthSM:r,innerMinMarginSM:c,innerMaxMarginSM:l,handleSizeSM:a,calc:s}=e,i=`${o}-inner`,p=unit(s(a).add(s(n).mul(2)).equal()),m=unit(s(l).mul(2).equal());return {[o]:{[`&${o}-small`]:{minWidth:r,height:t,lineHeight:unit(t),[`${o}-inner`]:{paddingInlineStart:l,paddingInlineEnd:c,[`${i}-checked, ${i}-unchecked`]:{minHeight:t},[`${i}-checked`]:{marginInlineStart:`calc(-100% + ${p} - ${m})`,marginInlineEnd:`calc(100% - ${p} + ${m})`},[`${i}-unchecked`]:{marginTop:s(t).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${o}-handle`]:{width:a,height:a},[`${o}-loading-icon`]:{top:s(s(a).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${o}-checked`]:{[`${o}-inner`]:{paddingInlineStart:c,paddingInlineEnd:l,[`${i}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${i}-unchecked`]:{marginInlineStart:`calc(100% - ${p} + ${m})`,marginInlineEnd:`calc(-100% + ${p} - ${m})`}},[`${o}-handle`]:{insetInlineStart:`calc(100% - ${unit(s(a).add(n).equal())})`}},[`&:not(${o}-disabled):active`]:{[`&:not(${o}-checked) ${i}`]:{[`${i}-unchecked`]:{marginInlineStart:s(e.marginXXS).div(2).equal(),marginInlineEnd:s(e.marginXXS).mul(-1).div(2).equal()}},[`&${o}-checked ${i}`]:{[`${i}-checked`]:{marginInlineStart:s(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:s(e.marginXXS).div(2).equal()}}}}}}},In=e=>{let{componentCls:o,handleSize:t,calc:n}=e;return {[o]:{[`${o}-loading-icon${e.iconCls}`]:{position:"relative",top:n(n(t).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${o}-checked ${o}-loading-icon`]:{color:e.switchColor}}}},$n=e=>{let{componentCls:o,trackPadding:t,handleBg:n,handleShadow:r,handleSize:c,calc:l}=e,a=`${o}-handle`;return {[o]:{[a]:{position:"absolute",top:t,insetInlineStart:t,width:c,height:c,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:n,borderRadius:l(c).div(2).equal(),boxShadow:r,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${o}-checked ${a}`]:{insetInlineStart:`calc(100% - ${unit(l(c).add(t).equal())})`},[`&:not(${o}-disabled):active`]:{[`${a}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${o}-checked ${a}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},zn=e=>{let{componentCls:o,trackHeight:t,trackPadding:n,innerMinMargin:r,innerMaxMargin:c,handleSize:l,calc:a}=e,s=`${o}-inner`,i=unit(a(l).add(a(n).mul(2)).equal()),p=unit(a(c).mul(2).equal());return {[o]:{[s]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:c,paddingInlineEnd:r,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${s}-checked, ${s}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:t},[`${s}-checked`]:{marginInlineStart:`calc(-100% + ${i} - ${p})`,marginInlineEnd:`calc(100% - ${i} + ${p})`},[`${s}-unchecked`]:{marginTop:a(t).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${o}-checked ${s}`]:{paddingInlineStart:r,paddingInlineEnd:c,[`${s}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${s}-unchecked`]:{marginInlineStart:`calc(100% - ${i} + ${p})`,marginInlineEnd:`calc(-100% + ${i} - ${p})`}},[`&:not(${o}-disabled):active`]:{[`&:not(${o}-checked) ${s}`]:{[`${s}-unchecked`]:{marginInlineStart:a(n).mul(2).equal(),marginInlineEnd:a(n).mul(-1).mul(2).equal()}},[`&${o}-checked ${s}`]:{[`${s}-checked`]:{marginInlineStart:a(n).mul(-1).mul(2).equal(),marginInlineEnd:a(n).mul(2).equal()}}}}}},Hn=e=>{let{componentCls:o,trackHeight:t,trackMinWidth:n}=e;return {[o]:{...Do(e),position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:n,height:t,lineHeight:unit(t),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${o}-disabled)`]:{background:e.colorTextTertiary},...No(e),[`&${o}-checked`]:{background:e.switchColor,[`&:hover:not(${o}-disabled)`]:{background:e.colorPrimaryHover}},[`&${o}-loading, &${o}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${o}-rtl`]:{direction:"rtl"}}}},Dn=e=>{let{fontSize:o,lineHeight:t,controlHeight:n,colorWhite:r}=e,c=o*t,l=n/2,a=2,s=c-a*2,i=l-a*2;return {trackHeight:c,trackHeightSM:l,trackMinWidth:s*2+a*4,trackMinWidthSM:i*2+a*2,trackPadding:a,handleBg:r,handleSize:s,handleSizeSM:i,handleShadow:`0 2px 4px 0 ${new TinyColor("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:s/2,innerMaxMargin:s+a+a*2,innerMinMarginSM:i/2,innerMaxMarginSM:i+a+a*2}},st=Qe("Switch",e=>{let o=mergeToken(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return [Hn(o),zn(o),$n(o),In(o),En(o)]},Dn);var Fn=f.forwardRef((e,o)=>{let{prefixCls:t,size:n,disabled:r,loading:c,className:l,rootClassName:a,style:s,checked:i,value:p,defaultChecked:m,defaultValue:d,onChange:g,...S}=e,[D,A]=On(false,{value:i??p,defaultValue:m??d}),{getPrefixCls:h,direction:W,switch:N}=f.useContext(T),j=f.useContext(he),V=(r??j)||c,v=h("switch",t),oe=f.createElement("div",{className:`${v}-handle`},c&&f.createElement(An,{className:`${v}-loading-icon`})),[b,x,O]=st(v),te=ct(n),re=gn(N?.className,{[`${v}-small`]:te==="small",[`${v}-loading`]:c,[`${v}-rtl`]:W==="rtl"},l,a,x,O),ne={...N?.style,...s};return b(f.createElement(at,{component:"Switch"},f.createElement(Nn,{...S,checked:D,onChange:(...G)=>{A(G[0]),g?.(...G);},prefixCls:v,className:re,style:ne,disabled:V,ref:o,loadingIcon:oe})))}),ro=Fn;ro.__ANT_SWITCH=true;process.env.NODE_ENV!=="production"&&(ro.displayName="Switch");var $c=ro;
|
|
41
|
+
export{$c as default};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import type { GetDefaultToken } from '../../theme/internal';
|
|
2
|
+
export interface ComponentToken {
|
|
3
|
+
/**
|
|
4
|
+
* @desc 开关高度
|
|
5
|
+
* @descEN Height of Switch
|
|
6
|
+
*/
|
|
7
|
+
trackHeight: number | string;
|
|
8
|
+
/**
|
|
9
|
+
* @desc 小号开关高度
|
|
10
|
+
* @descEN Height of small Switch
|
|
11
|
+
*/
|
|
12
|
+
trackHeightSM: number | string;
|
|
13
|
+
/**
|
|
14
|
+
* @desc 开关最小宽度
|
|
15
|
+
* @descEN Minimum width of Switch
|
|
16
|
+
*/
|
|
17
|
+
trackMinWidth: number | string;
|
|
18
|
+
/**
|
|
19
|
+
* @desc 小号开关最小宽度
|
|
20
|
+
* @descEN Minimum width of small Switch
|
|
21
|
+
*/
|
|
22
|
+
trackMinWidthSM: number | string;
|
|
23
|
+
/**
|
|
24
|
+
* @desc 开关内边距
|
|
25
|
+
* @descEN Padding of Switch
|
|
26
|
+
*/
|
|
27
|
+
trackPadding: number;
|
|
28
|
+
/**
|
|
29
|
+
* @desc 开关把手背景色
|
|
30
|
+
* @descEN Background color of Switch handle
|
|
31
|
+
*/
|
|
32
|
+
handleBg: string;
|
|
33
|
+
/**
|
|
34
|
+
* @desc 开关把手阴影
|
|
35
|
+
* @descEN Shadow of Switch handle
|
|
36
|
+
*/
|
|
37
|
+
handleShadow: string;
|
|
38
|
+
/**
|
|
39
|
+
* @desc 开关把手大小
|
|
40
|
+
* @descEN Size of Switch handle
|
|
41
|
+
*/
|
|
42
|
+
handleSize: number;
|
|
43
|
+
/**
|
|
44
|
+
* @desc 小号开关把手大小
|
|
45
|
+
* @descEN Size of small Switch handle
|
|
46
|
+
*/
|
|
47
|
+
handleSizeSM: number;
|
|
48
|
+
/**
|
|
49
|
+
* @desc 内容区域最小边距
|
|
50
|
+
* @descEN Minimum margin of content area
|
|
51
|
+
*/
|
|
52
|
+
innerMinMargin: number;
|
|
53
|
+
/**
|
|
54
|
+
* @desc 内容区域最大边距
|
|
55
|
+
* @descEN Maximum margin of content area
|
|
56
|
+
*/
|
|
57
|
+
innerMaxMargin: number;
|
|
58
|
+
/**
|
|
59
|
+
* @desc 小号开关内容区域最小边距
|
|
60
|
+
* @descEN Minimum margin of content area of small Switch
|
|
61
|
+
*/
|
|
62
|
+
innerMinMarginSM: number;
|
|
63
|
+
/**
|
|
64
|
+
* @desc 小号开关内容区域最大边距
|
|
65
|
+
* @descEN Maximum margin of content area of small Switch
|
|
66
|
+
*/
|
|
67
|
+
innerMaxMarginSM: number;
|
|
68
|
+
}
|
|
69
|
+
export declare const prepareComponentToken: GetDefaultToken<'Switch'>;
|
|
70
|
+
declare const _default: (prefixCls: string, rootCls?: string) => readonly [(node: React.ReactElement) => React.ReactElement, string, string];
|
|
71
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import {createTheme,useCacheToken,unit}from'@ant-design/cssinjs';import {TinyColor}from'@ctrl/tinycolor';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import*as ke from'react';import ke__default,{useContext}from'react';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';var G=(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}),me=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}});var j=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"}}}),W=(e,o,n,r)=>{let t=`[class^="${o}"], [class*=" ${o}"]`,s=n?`.${n}`:t,c={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},i={};return r!==false&&(i={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[s]:{...i,...c,[t]:c}}},de=e=>({outline:`${unit(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),N=e=>({"&:focus-visible":{...de(e)}}),M=e=>({[`.${e}`]:{...me(),[`.${e} .${e}-icon`]:{display:"block"}}});function U(e){return (e+8)/e}function v(e){let o=new Array(10).fill(null).map((n,r)=>{let t=r-1,s=e*Math.E**(t/5),c=r>1?Math.floor(s):Math.ceil(s);return Math.floor(c/2)*2});return o[1]=e,o.map(n=>({size:n,lineHeight:U(n)}))}var V={version:"0.0.2"};var Q=V.version;var w={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"},ue={...w,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},C=ue;function H(e,{generateColorPalettes:o,generateNeutralColorPalettes:n}){let{colorSuccess:r,colorWarning:t,colorError:s,colorInfo:c,colorPrimary:i,colorBgBase:a,colorTextBase:l}=e,p=o(i),g=o(r),m=o(t),d=o(s),u=o(c),ce=n(a,l),se=e.colorLink||e.colorInfo,P=o(se),pe=new TinyColor(d[1]).mix(new TinyColor(d[3]),50).toHexString();return {...ce,colorPrimaryBg:p[1],colorPrimaryBgHover:p[2],colorPrimaryBorder:p[3],colorPrimaryBorderHover:p[4],colorPrimaryHover:p[5],colorPrimary:p[6],colorPrimaryActive:p[7],colorPrimaryTextHover:p[8],colorPrimaryText:p[9],colorPrimaryTextActive:p[10],colorSuccessBg:g[1],colorSuccessBgHover:g[2],colorSuccessBorder:g[3],colorSuccessBorderHover:g[4],colorSuccessHover:g[4],colorSuccess:g[6],colorSuccessActive:g[7],colorSuccessTextHover:g[8],colorSuccessText:g[9],colorSuccessTextActive:g[10],colorErrorBg:d[1],colorErrorBgHover:d[2],colorErrorBgFilledHover:pe,colorErrorBgActive:d[3],colorErrorBorder:d[3],colorErrorBorderHover:d[4],colorErrorHover:d[5],colorError:d[6],colorErrorActive:d[7],colorErrorTextHover:d[8],colorErrorText:d[9],colorErrorTextActive:d[10],colorWarningBg:m[1],colorWarningBgHover:m[2],colorWarningBorder:m[3],colorWarningBorderHover:m[4],colorWarningHover:m[4],colorWarning:m[6],colorWarningActive:m[7],colorWarningTextHover:m[8],colorWarningText:m[9],colorWarningTextActive:m[10],colorInfoBg: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:P[4],colorLink:P[6],colorLinkActive:P[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var Se=e=>{let o=e,n=e,r=e,t=e;return e<6&&e>=5?o=e+1:e<16&&e>=6?o=e+2:e>=16&&(o=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?t=4:e>=8&&(t=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:o,borderRadiusOuter:t}},_=Se;function z(e){let{motionUnit:o,motionBase:n,borderRadius:r,lineWidth:t}=e;return {motionDurationFast:`${(n+o).toFixed(1)}s`,motionDurationMid:`${(n+o*2).toFixed(1)}s`,motionDurationSlow:`${(n+o*3).toFixed(1)}s`,lineWidthBold:t+1,..._(r)}}var Ce=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},K=Ce;var ye=e=>{let o=v(e),n=o.map(p=>p.size),r=o.map(p=>p.lineHeight),t=n[1],s=n[0],c=n[2],i=r[1],a=r[0],l=r[2];return {fontSizeSM:s,fontSize:t,fontSizeLG:c,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:i,lineHeightLG:l,lineHeightSM:a,fontHeight:Math.round(i*t),fontHeightLG:Math.round(l*c),fontHeightSM:Math.round(a*s),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}},J=ye;function $(e){let{sizeUnit:o,sizeStep:n}=e;return {sizeXXL:o*(n+8),sizeXL:o*(n+4),sizeLG:o*(n+2),sizeMD:o*(n+1),sizeMS:o*n,size:o*n,sizeSM:o*(n-1),sizeXS:o*(n-2),sizeXXS:o*(n-3)}}var f=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),y=(e,o)=>new TinyColor(e).darken(o).toHexString();var Z=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]}},ee=(e,o)=>{let n=e||"#fff",r=o||"#000";return {colorBgBase:n,colorTextBase:r,colorText:f(r,.88),colorTextSecondary:f(r,.65),colorTextTertiary:f(r,.45),colorTextQuaternary:f(r,.25),colorFill:f(r,.15),colorFillSecondary:f(r,.06),colorFillTertiary:f(r,.04),colorFillQuaternary:f(r,.02),colorBgSolid:f(r,1),colorBgSolidHover:f(r,.75),colorBgSolidActive:f(r,.95),colorBgLayout:y(n,4),colorBgContainer:y(n,0),colorBgElevated:y(n,0),colorBgSpotlight:f(r,.85),colorBgBlur:"transparent",colorBorder:y(n,15),colorBorderSecondary:y(n,6)}};function L(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys(w).map(n=>{let r=e[n]===presetPrimaryColors[n]?presetPalettes[n]:generate(e[n]);return new Array(10).fill(1).reduce((t,s,c)=>(t[`${n}-${c+1}`]=r[c],t[`${n}${c+1}`]=r[c],t),{})}).reduce((n,r)=>(n={...n,...r},n),{});return {...e,...o,...H(e,{generateColorPalettes:Z,generateNeutralColorPalettes:ee}),...J(e.fontSize),...$(e),...K(e),...z(e)}}var oe=createTheme(L),te={token:C,override:{override:C},hashed:true},F=ke__default.createContext(te);function B(e){return e>=0&&e<=255}function be(e,o){let{r:n,g:r,b:t,a:s}=new TinyColor(e).toRgb();if(s<1)return e;let{r:c,g:i,b:a}=new TinyColor(o).toRgb();for(let l=.01;l<=1;l+=.01){let p=Math.round((n-c*(1-l))/l),g=Math.round((r-i*(1-l))/l),m=Math.round((t-a*(1-l))/l);if(B(p)&&B(g)&&B(m))return new TinyColor({r:p,g,b:m,a:Math.round(l*100)/100}).toRgbString()}return new TinyColor({r:n,g:r,b:t,a:1}).toRgbString()}var x=be;function T(e){let{override:o,...n}=e,r={...o};Object.keys(C).forEach(m=>{delete r[m];});let t={...n,...r},s=480,c=576,i=768,a=992,l=1200,p=1600;return t.motion===false&&(t.motionDurationFast="0s",t.motionDurationMid="0s",t.motionDurationSlow="0s"),{...t,colorFillContent:t.colorFillSecondary,colorFillContentHover:t.colorFill,colorFillAlter:t.colorFillQuaternary,colorBgContainerDisabled:t.colorFillTertiary,colorBorderBg:t.colorBgContainer,colorSplit:x(t.colorBorderSecondary,t.colorBgContainer),colorTextPlaceholder:t.colorTextQuaternary,colorTextDisabled:t.colorTextQuaternary,colorTextHeading:t.colorText,colorTextLabel:t.colorTextSecondary,colorTextDescription:t.colorTextTertiary,colorTextLightSolid:t.colorWhite,colorHighlight:t.colorError,colorBgTextHover:t.colorFillSecondary,colorBgTextActive:t.colorFill,colorIcon:t.colorTextTertiary,colorIconHover:t.colorText,colorErrorOutline:x(t.colorErrorBg,t.colorBgContainer),colorWarningOutline:x(t.colorWarningBg,t.colorBgContainer),fontSizeIcon:t.fontSizeSM,lineWidthFocus:t.lineWidth*3,lineWidth:t.lineWidth,controlOutlineWidth:t.lineWidth*2,controlInteractiveSize:t.controlHeight/2,controlItemBgHover:t.colorFillTertiary,controlItemBgActive:t.colorPrimaryBg,controlItemBgActiveHover:t.colorPrimaryBgHover,controlItemBgActiveDisabled:t.colorFill,controlTmpOutline:t.colorFillQuaternary,controlOutline:x(t.colorPrimaryBg,t.colorBgContainer),lineType:t.lineType,borderRadius:t.borderRadius,borderRadiusXS:t.borderRadiusXS,borderRadiusSM:t.borderRadiusSM,borderRadiusLG:t.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:t.sizeXXS,paddingXS:t.sizeXS,paddingSM:t.sizeSM,padding:t.size,paddingMD:t.sizeMD,paddingLG:t.sizeLG,paddingXL:t.sizeXL,paddingContentHorizontalLG:t.sizeLG,paddingContentVerticalLG:t.sizeMS,paddingContentHorizontal:t.sizeMS,paddingContentVertical:t.sizeSM,paddingContentHorizontalSM:t.size,paddingContentVerticalSM:t.sizeXS,marginXXS:t.sizeXXS,marginXS:t.sizeXS,marginSM:t.sizeSM,margin:t.size,marginMD:t.sizeMD,marginLG:t.sizeLG,marginXL:t.sizeXL,marginXXL:t.sizeXXL,boxShadow:`
|
|
4
|
+
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
5
|
+
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
6
|
+
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
7
|
+
`,boxShadowSecondary:`
|
|
8
|
+
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
9
|
+
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
10
|
+
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
11
|
+
`,boxShadowTertiary:`
|
|
12
|
+
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
|
13
|
+
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
14
|
+
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
15
|
+
`,screenXS:s,screenXSMin:s,screenXSMax:c-1,screenSM:c,screenSMMin:c,screenSMMax:i-1,screenMD:i,screenMDMin:i,screenMDMax:a-1,screenLG:a,screenLGMin:a,screenLGMax:l-1,screenXL:l,screenXLMin:l,screenXLMax:p-1,screenXXL:p,screenXXLMin:p,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
|
16
|
+
0 1px 2px -2px ${new TinyColor("rgba(0, 0, 0, 0.16)").toRgbString()},
|
|
17
|
+
0 3px 6px 0 ${new TinyColor("rgba(0, 0, 0, 0.12)").toRgbString()},
|
|
18
|
+
0 5px 12px 4px ${new TinyColor("rgba(0, 0, 0, 0.09)").toRgbString()}
|
|
19
|
+
`,boxShadowDrawerRight:`
|
|
20
|
+
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
21
|
+
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
22
|
+
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
23
|
+
`,boxShadowDrawerLeft:`
|
|
24
|
+
6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
25
|
+
3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
26
|
+
9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
27
|
+
`,boxShadowDrawerUp:`
|
|
28
|
+
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
29
|
+
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
30
|
+
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
31
|
+
`,boxShadowDrawerDown:`
|
|
32
|
+
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
33
|
+
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
34
|
+
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
35
|
+
`,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)",...r}}var E={lineHeight:true,lineHeightSM:true,lineHeightLG:true,lineHeightHeading1:true,lineHeightHeading2:true,lineHeightHeading3:true,lineHeightHeading4:true,lineHeightHeading5:true,opacityLoading:true,fontWeightStrong:true,zIndexPopupBase:true,zIndexBase:true,opacityImage:true},ve={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},we={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},ne=(e,o,n)=>{let r=n.getDerivativeToken(e),{override:t,...s}=o,c={...r,override:t};return c=T(c),s&&Object.entries(s).forEach(([i,a])=>{let{theme:l,...p}=a,g=p;l&&(g=ne({...c,...p},{override:p},l)),c[i]=g;}),c};function h(){let{token:e,hashed:o,theme:n,override:r,cssVar:t}=ke__default.useContext(F),s=`${Q}-${o||""}`,c=n||oe,[i,a,l]=useCacheToken(c,[C,e],{salt:s,override:r,getComputedToken:ne,formatToken:T,cssVar:t&&{prefix:t.prefix,key:t.key,unitless:E,ignore:ve,preserve:we}});return [c,l,o?a:"",i,t]}var re="ant",O="anticon";var Ie=(e,o)=>o||(e?`${re}-${e}`:re),b=ke.createContext({getPrefixCls:Ie,iconPrefixCls:O}),{Consumer:Ro}=b;var{genStyleHooks:X,genComponentStyleHook:ze,genSubStyleComponent:$e}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:o}=useContext(b);return {rootPrefixCls:e(),iconPrefixCls:o}},useToken:()=>{let[e,o,n,r,t]=h();return {theme:e,realToken:o,hashId:n,token:r,cssVar:t}},useCSP:()=>{let{csp:e}=useContext(b);return e??{}},getResetStyles:(e,o)=>[{"&":j(e)},M(o?.prefix.iconPrefixCls??O)],getCommonStyle:W,getCompUnitless:(()=>E)});var De=e=>{let{componentCls:o,trackHeightSM:n,trackPadding:r,trackMinWidthSM:t,innerMinMarginSM:s,innerMaxMarginSM:c,handleSizeSM:i,calc:a}=e,l=`${o}-inner`,p=unit(a(i).add(a(r).mul(2)).equal()),g=unit(a(c).mul(2).equal());return {[o]:{[`&${o}-small`]:{minWidth:t,height:n,lineHeight:unit(n),[`${o}-inner`]:{paddingInlineStart:c,paddingInlineEnd:s,[`${l}-checked, ${l}-unchecked`]:{minHeight:n},[`${l}-checked`]:{marginInlineStart:`calc(-100% + ${p} - ${g})`,marginInlineEnd:`calc(100% - ${p} + ${g})`},[`${l}-unchecked`]:{marginTop:a(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${o}-handle`]:{width:i,height:i},[`${o}-loading-icon`]:{top:a(a(i).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${o}-checked`]:{[`${o}-inner`]:{paddingInlineStart:s,paddingInlineEnd:c,[`${l}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${l}-unchecked`]:{marginInlineStart:`calc(100% - ${p} + ${g})`,marginInlineEnd:`calc(-100% + ${p} - ${g})`}},[`${o}-handle`]:{insetInlineStart:`calc(100% - ${unit(a(i).add(r).equal())})`}},[`&:not(${o}-disabled):active`]:{[`&:not(${o}-checked) ${l}`]:{[`${l}-unchecked`]:{marginInlineStart:a(e.marginXXS).div(2).equal(),marginInlineEnd:a(e.marginXXS).mul(-1).div(2).equal()}},[`&${o}-checked ${l}`]:{[`${l}-checked`]:{marginInlineStart:a(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:a(e.marginXXS).div(2).equal()}}}}}}},Le=e=>{let{componentCls:o,handleSize:n,calc:r}=e;return {[o]:{[`${o}-loading-icon${e.iconCls}`]:{position:"relative",top:r(r(n).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${o}-checked ${o}-loading-icon`]:{color:e.switchColor}}}},Fe=e=>{let{componentCls:o,trackPadding:n,handleBg:r,handleShadow:t,handleSize:s,calc:c}=e,i=`${o}-handle`;return {[o]:{[i]:{position:"absolute",top:n,insetInlineStart:n,width:s,height:s,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:c(s).div(2).equal(),boxShadow:t,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${o}-checked ${i}`]:{insetInlineStart:`calc(100% - ${unit(c(s).add(n).equal())})`},[`&:not(${o}-disabled):active`]:{[`${i}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${o}-checked ${i}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},Be=e=>{let{componentCls:o,trackHeight:n,trackPadding:r,innerMinMargin:t,innerMaxMargin:s,handleSize:c,calc:i}=e,a=`${o}-inner`,l=unit(i(c).add(i(r).mul(2)).equal()),p=unit(i(s).mul(2).equal());return {[o]:{[a]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:s,paddingInlineEnd:t,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${a}-checked, ${a}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:n},[`${a}-checked`]:{marginInlineStart:`calc(-100% + ${l} - ${p})`,marginInlineEnd:`calc(100% - ${l} + ${p})`},[`${a}-unchecked`]:{marginTop:i(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${o}-checked ${a}`]:{paddingInlineStart:t,paddingInlineEnd:s,[`${a}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${a}-unchecked`]:{marginInlineStart:`calc(100% - ${l} + ${p})`,marginInlineEnd:`calc(-100% + ${l} - ${p})`}},[`&:not(${o}-disabled):active`]:{[`&:not(${o}-checked) ${a}`]:{[`${a}-unchecked`]:{marginInlineStart:i(r).mul(2).equal(),marginInlineEnd:i(r).mul(-1).mul(2).equal()}},[`&${o}-checked ${a}`]:{[`${a}-checked`]:{marginInlineStart:i(r).mul(-1).mul(2).equal(),marginInlineEnd:i(r).mul(2).equal()}}}}}},Re=e=>{let{componentCls:o,trackHeight:n,trackMinWidth:r}=e;return {[o]:{...G(e),position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:n,lineHeight:unit(n),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${o}-disabled)`]:{background:e.colorTextTertiary},...N(e),[`&${o}-checked`]:{background:e.switchColor,[`&:hover:not(${o}-disabled)`]:{background:e.colorPrimaryHover}},[`&${o}-loading, &${o}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${o}-rtl`]:{direction:"rtl"}}}},Ee=e=>{let{fontSize:o,lineHeight:n,controlHeight:r,colorWhite:t}=e,s=o*n,c=r/2,i=2,a=s-i*2,l=c-i*2;return {trackHeight:s,trackHeightSM:c,trackMinWidth:a*2+i*4,trackMinWidthSM:l*2+i*2,trackPadding:i,handleBg:t,handleSize:a,handleSizeSM:l,handleShadow:`0 2px 4px 0 ${new TinyColor("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:a/2,innerMaxMargin:a+i+i*2,innerMinMarginSM:l/2,innerMaxMarginSM:l+i+i*2}},yt=X("Switch",e=>{let o=mergeToken(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return [Re(o),Be(o),Fe(o),Le(o),De(o)]},Ee);export{yt as default,Ee as prepareComponentToken};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { AnyObject } from '../_util/type';
|
|
2
|
+
import type { ColumnType } from './interface';
|
|
3
|
+
export interface ColumnProps<RecordType = AnyObject> extends ColumnType<RecordType> {
|
|
4
|
+
children?: null;
|
|
5
|
+
}
|
|
6
|
+
/** This is a syntactic sugar for `columns` prop. So HOC will not work on this. */
|
|
7
|
+
declare const Column: <RecordType extends AnyObject>(_: ColumnProps<RecordType>) => null;
|
|
8
|
+
export default Column;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=o=>null,t=e;export{t as default};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
import type { AnyObject } from '../_util/type';
|
|
3
|
+
import type { ColumnProps } from './Column';
|
|
4
|
+
import type { ColumnType } from './interface';
|
|
5
|
+
export interface ColumnGroupProps<RecordType = AnyObject> extends Omit<ColumnType<RecordType>, 'children'> {
|
|
6
|
+
children: React.ReactElement<ColumnProps<RecordType>> | React.ReactElement<ColumnProps<RecordType>>[];
|
|
7
|
+
}
|
|
8
|
+
/** This is a syntactic sugar for `columns` prop. So HOC will not work on this. */
|
|
9
|
+
declare const ColumnGroup: <RecordType extends AnyObject>(_: ColumnGroupProps<RecordType>) => null;
|
|
10
|
+
export default ColumnGroup;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=o=>null,t=e;export{t as default};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { AnyObject } from '../_util/type';
|
|
3
|
+
import type { TableLocale } from './interface';
|
|
4
|
+
interface DefaultExpandIconProps<RecordType = AnyObject> {
|
|
5
|
+
prefixCls: string;
|
|
6
|
+
record: RecordType;
|
|
7
|
+
expanded: boolean;
|
|
8
|
+
expandable: boolean;
|
|
9
|
+
onExpand: (record: RecordType, e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
10
|
+
}
|
|
11
|
+
declare function renderExpandIcon(locale: TableLocale): <RecordType extends AnyObject = AnyObject>(props: DefaultExpandIconProps<RecordType>) => React.JSX.Element;
|
|
12
|
+
export default renderExpandIcon;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as r from'react';import s from'classnames';function i(a){return p=>{let{prefixCls:c,onExpand:d,record:l,expanded:e,expandable:n}=p,o=`${c}-row-expand-icon`;return r.createElement("button",{type:"button",onClick:t=>{d(l,t),t.stopPropagation();},className:s(o,{[`${o}-spaced`]:!n,[`${o}-expanded`]:n&&e,[`${o}-collapsed`]:n&&!e}),"aria-label":e?a.collapse:a.expand,"aria-expanded":e})}}var b=i;export{b as default};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { TableProps as RcTableProps } from 'rc-table';
|
|
2
|
+
import type { AnyObject } from '../_util/type';
|
|
3
|
+
import type { SizeType } from '../config-provider/SizeContext';
|
|
4
|
+
import type { SpinProps } from '../spin';
|
|
5
|
+
import type { ColumnsType, FilterValue, GetPopupContainer, RefInternalTable, SorterResult, SorterTooltipProps, SortOrder, TableCurrentDataSource, TableLocale, TablePaginationConfig, TableRowSelection } from './interface';
|
|
6
|
+
export type { ColumnsType, TablePaginationConfig };
|
|
7
|
+
export interface TableProps<RecordType = AnyObject> extends Omit<RcTableProps<RecordType>, 'transformColumns' | 'internalHooks' | 'internalRefs' | 'data' | 'columns' | 'scroll' | 'emptyText'> {
|
|
8
|
+
dropdownPrefixCls?: string;
|
|
9
|
+
dataSource?: RcTableProps<RecordType>['data'];
|
|
10
|
+
columns?: ColumnsType<RecordType>;
|
|
11
|
+
pagination?: false | TablePaginationConfig;
|
|
12
|
+
loading?: boolean | SpinProps;
|
|
13
|
+
size?: SizeType;
|
|
14
|
+
bordered?: boolean;
|
|
15
|
+
locale?: TableLocale;
|
|
16
|
+
rootClassName?: string;
|
|
17
|
+
onChange?: (pagination: TablePaginationConfig, filters: Record<string, FilterValue | null>, sorter: SorterResult<RecordType> | SorterResult<RecordType>[], extra: TableCurrentDataSource<RecordType>) => void;
|
|
18
|
+
rowSelection?: TableRowSelection<RecordType>;
|
|
19
|
+
getPopupContainer?: GetPopupContainer;
|
|
20
|
+
scroll?: RcTableProps<RecordType>['scroll'] & {
|
|
21
|
+
scrollToFirstRowOnChange?: boolean;
|
|
22
|
+
};
|
|
23
|
+
sortDirections?: SortOrder[];
|
|
24
|
+
showSorterTooltip?: boolean | SorterTooltipProps;
|
|
25
|
+
virtual?: boolean;
|
|
26
|
+
}
|
|
27
|
+
/** Same as `TableProps` but we need record parent render times */
|
|
28
|
+
export interface InternalTableProps<RecordType = AnyObject> extends TableProps<RecordType> {
|
|
29
|
+
_renderTimes: number;
|
|
30
|
+
}
|
|
31
|
+
declare const _default: RefInternalTable;
|
|
32
|
+
export default _default;
|