@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,47 @@
|
|
|
1
|
+
import*as m from'react';import m__default,{createContext,useContext}from'react';import Io from'classnames';import {createTheme,Keyframes,useCacheToken,unit,useStyleRegister}from'@ant-design/cssinjs';import $r from'@ant-design/icons/lib/components/Context';import Lr from'rc-util/lib/hooks/useMemo';import {merge}from'rc-util/lib/utils/set';import Bt,{resetWarned}from'rc-util/lib/warning';import'rc-pagination/lib/locale/en_US';import Vt from'rc-picker/lib/locale/en_US';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';import ar from'rc-util/lib/Dom/canUseDom';import {updateCSS}from'rc-util/lib/Dom/dynamicCSS';import Rr from'rc-util/lib/isEqual';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import {Provider}from'rc-motion';function Ue(){}var P=null;function Wt(){P=null,resetWarned();}var Ce=Ue;process.env.NODE_ENV!=="production"&&(Ce=(e,o,r)=>{Bt(e,`[swiftcrab: ${o}] ${r}`),process.env.NODE_ENV==="test"&&Wt();});var ue=m.createContext({}),M=process.env.NODE_ENV!=="production"?e=>{let{strict:o}=m.useContext(ue),r=(n,t,l)=>{if(!n)if(o===false&&t==="deprecated"){let i=P;P||(P={}),P[e]=P[e]||[],P[e].includes(l||"")||P[e].push(l||""),i||console.warn("[swiftcrab] There exists deprecated usage in your code:",P);}else Ce(n,e,l);};return r.deprecated=(n,t,l,i)=>{r(n,"deprecated",`\`${t}\` is deprecated. Please use \`${l}\` instead.${i?` ${i}`:""}`);},r}:()=>{let e=()=>{};return e.deprecated=Ue,e},z=Ce;var _e=createContext(void 0);({lang:{...Vt}});var S="${label} is not a valid ${type}",_t={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:S,method:S,array:S,object:S,number:S,date:S,boolean:S,integer:S,float:S,regexp:S,email:S,url:S,hex:S},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}"}}}},R=_t;({...R.Modal});var ne=[],Ke=()=>ne.reduce((e,o)=>({...e,...o}),R.Modal);function Qe(e){if(e){let o={...e};return ne.push(o),Ke(),()=>{ne=ne.filter(r=>r!==o),Ke();}}({...R.Modal});}var Kt=createContext(void 0),X=Kt;var Se="internalMark",Je=e=>{let{locale:o={},children:r,_ANT_MARK__:n}=e;process.env.NODE_ENV!=="production"&&M("LocaleProvider")(n===Se,"deprecated","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale"),m.useEffect(()=>Qe(o?.Modal),[o]);let t=m.useMemo(()=>({...o,exist:true}),[o]);return m.createElement(X.Provider,{value:t},r)};process.env.NODE_ENV!=="production"&&(Je.displayName="LocaleProvider");var Ze=Je;var xe={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"},Qt={...xe,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},v=Qt;function ke(e,{generateColorPalettes:o,generateNeutralColorPalettes:r}){let{colorSuccess:n,colorWarning:t,colorError:l,colorInfo:i,colorPrimary:s,colorBgBase:c,colorTextBase:a}=e,p=o(s),g=o(n),d=o(t),f=o(l),y=o(i),W=r(c,a),w=e.colorLink||e.colorInfo,b=o(w),j=new TinyColor(f[1]).mix(new TinyColor(f[3]),50).toHexString();return {...W,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:f[1],colorErrorBgHover:f[2],colorErrorBgFilledHover:j,colorErrorBgActive:f[3],colorErrorBorder:f[3],colorErrorBorderHover:f[4],colorErrorHover:f[5],colorError:f[6],colorErrorActive:f[7],colorErrorTextHover:f[8],colorErrorText:f[9],colorErrorTextActive:f[10],colorWarningBg: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:y[1],colorInfoBgHover:y[2],colorInfoBorder:y[3],colorInfoBorderHover:y[4],colorInfoHover:y[4],colorInfo:y[6],colorInfoActive:y[7],colorInfoTextHover:y[8],colorInfoText:y[9],colorInfoTextActive:y[10],colorLinkHover:b[4],colorLink:b[6],colorLinkActive:b[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var Yt=e=>{let o=e,r=e,n=e,t=e;return e<6&&e>=5?o=e+1:e<16&&e>=6?o=e+2:e>=16&&(o=16),e<7&&e>=5?r=4:e<8&&e>=7?r=5:e<14&&e>=8?r=6:e<16&&e>=14?r=7:e>=16&&(r=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?t=4:e>=8&&(t=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:r,borderRadiusLG:o,borderRadiusOuter:t}},eo=Yt;function Te(e){let{motionUnit:o,motionBase:r,borderRadius:n,lineWidth:t}=e;return {motionDurationFast:`${(r+o).toFixed(1)}s`,motionDurationMid:`${(r+o*2).toFixed(1)}s`,motionDurationSlow:`${(r+o*3).toFixed(1)}s`,lineWidthBold:t+1,...eo(n)}}var Jt=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},oo=Jt;function to(e){return (e+8)/e}function he(e){let o=new Array(10).fill(null).map((r,n)=>{let t=n-1,l=e*Math.E**(t/5),i=n>1?Math.floor(l):Math.ceil(l);return Math.floor(i/2)*2});return o[1]=e,o.map(r=>({size:r,lineHeight:to(r)}))}var Zt=e=>{let o=he(e),r=o.map(p=>p.size),n=o.map(p=>p.lineHeight),t=r[1],l=r[0],i=r[2],s=n[1],c=n[0],a=n[2];return {fontSizeSM:l,fontSize:t,fontSizeLG:i,fontSizeXL:r[3],fontSizeHeading1:r[6],fontSizeHeading2:r[5],fontSizeHeading3:r[4],fontSizeHeading4:r[3],fontSizeHeading5:r[2],lineHeight:s,lineHeightLG:a,lineHeightSM:c,fontHeight:Math.round(s*t),fontHeightLG:Math.round(a*i),fontHeightSM:Math.round(c*l),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},ro=Zt;function Pe(e){let{sizeUnit:o,sizeStep:r}=e;return {sizeXXL:o*(r+8),sizeXL:o*(r+4),sizeLG:o*(r+2),sizeMD:o*(r+1),sizeMS:o*r,size:o*r,sizeSM:o*(r-1),sizeXS:o*(r-2),sizeXXS:o*(r-3)}}var x=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),D=(e,o)=>new TinyColor(e).darken(o).toHexString();var io=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]}},ao=(e,o)=>{let r=e||"#fff",n=o||"#000";return {colorBgBase:r,colorTextBase:n,colorText:x(n,.88),colorTextSecondary:x(n,.65),colorTextTertiary:x(n,.45),colorTextQuaternary:x(n,.25),colorFill:x(n,.15),colorFillSecondary:x(n,.06),colorFillTertiary:x(n,.04),colorFillQuaternary:x(n,.02),colorBgSolid:x(n,1),colorBgSolidHover:x(n,.75),colorBgSolidActive:x(n,.95),colorBgLayout:D(r,4),colorBgContainer:D(r,0),colorBgElevated:D(r,0),colorBgSpotlight:x(n,.85),colorBgBlur:"transparent",colorBorder:D(r,15),colorBorderSecondary:D(r,6)}};function Le(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys(xe).map(r=>{let n=e[r]===presetPrimaryColors[r]?presetPalettes[r]:generate(e[r]);return new Array(10).fill(1).reduce((t,l,i)=>(t[`${r}-${i+1}`]=n[i],t[`${r}${i+1}`]=n[i],t),{})}).reduce((r,n)=>(r={...r,...n},r),{});return {...e,...o,...ke(e,{generateColorPalettes:io,generateNeutralColorPalettes:ao}),...ro(e.fontSize),...Pe(e),...oo(e),...Te(e)}}var ie=createTheme(Le),U={token:v,override:{override:v},hashed:true},_=m__default.createContext(U);var ae="ant",q="anticon";var nr=(e,o)=>o||(e?`${ae}-${e}`:ae),T=m.createContext({getPrefixCls:nr,iconPrefixCls:q}),{Consumer:ir}=T;var sr=`-ant-${Date.now()}-${Math.random()}`;function cr(e,o){let r={},n=(i,s)=>{let c=i.clone();return c=s?.(c)||c,c.toRgbString()},t=(i,s)=>{let c=new TinyColor(i),a=generate(c.toRgbString());r[`${s}-color`]=n(c),r[`${s}-color-disabled`]=a[1],r[`${s}-color-hover`]=a[4],r[`${s}-color-active`]=a[6],r[`${s}-color-outline`]=c.clone().setAlpha(.2).toRgbString(),r[`${s}-color-deprecated-bg`]=a[0],r[`${s}-color-deprecated-border`]=a[2];};if(o.primaryColor){t(o.primaryColor,"primary");let i=new TinyColor(o.primaryColor),s=generate(i.toRgbString());s.forEach((a,p)=>{r[`primary-${p+1}`]=a;}),r["primary-color-deprecated-l-35"]=n(i,a=>a.lighten(35)),r["primary-color-deprecated-l-20"]=n(i,a=>a.lighten(20)),r["primary-color-deprecated-t-20"]=n(i,a=>a.tint(20)),r["primary-color-deprecated-t-50"]=n(i,a=>a.tint(50)),r["primary-color-deprecated-f-12"]=n(i,a=>a.setAlpha(a.getAlpha()*.12));let c=new TinyColor(s[0]);r["primary-color-active-deprecated-f-30"]=n(c,a=>a.setAlpha(a.getAlpha()*.3)),r["primary-color-active-deprecated-d-02"]=n(c,a=>a.darken(2));}return o.successColor&&t(o.successColor,"success"),o.warningColor&&t(o.warningColor,"warning"),o.errorColor&&t(o.errorColor,"error"),o.infoColor&&t(o.infoColor,"info"),`
|
|
4
|
+
:root {
|
|
5
|
+
${Object.keys(r).map(i=>`--${e}-${i}: ${r[i]};`).join(`
|
|
6
|
+
`)}
|
|
7
|
+
}
|
|
8
|
+
`.trim()}function co(e,o){let r=cr(e,o);ar()?updateCSS(r,`${sr}-dynamic-theme`):z(false,"ConfigProvider","SSR do not support dynamic theme with css variables.");}var we=m.createContext(false),po=({children:e,disabled:o})=>{let r=m.useContext(we);return m.createElement(we.Provider,{value:o??r},e)},go=we;var $e=m.createContext(void 0),mo=({children:e,size:o})=>{let r=m.useContext($e);return m.createElement($e.Provider,{value:o||r},e)},K=$e;function pr(){let e=useContext(go),o=useContext(K);return {componentDisabled:e,componentSize:o}}var Co=pr;var yo={version:"0.0.2"};var So=yo.version;function Ae(e){return e>=0&&e<=255}function mr(e,o){let{r,g:n,b:t,a:l}=new TinyColor(e).toRgb();if(l<1)return e;let{r:i,g:s,b:c}=new TinyColor(o).toRgb();for(let a=.01;a<=1;a+=.01){let p=Math.round((r-i*(1-a))/a),g=Math.round((n-s*(1-a))/a),d=Math.round((t-c*(1-a))/a);if(Ae(p)&&Ae(g)&&Ae(d))return new TinyColor({r:p,g,b:d,a:Math.round(a*100)/100}).toRgbString()}return new TinyColor({r,g:n,b:t,a:1}).toRgbString()}var Q=mr;function se(e){let{override:o,...r}=e,n={...o};Object.keys(v).forEach(d=>{delete n[d];});let t={...r,...n},l=480,i=576,s=768,c=992,a=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:Q(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:Q(t.colorErrorBg,t.colorBgContainer),colorWarningOutline:Q(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:Q(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:`
|
|
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:l,screenXSMin:l,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:c-1,screenLG:c,screenLGMin:c,screenLGMax:a-1,screenXL:a,screenXLMin:a,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 Ie={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},Cr={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},ur={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},xo=(e,o,r)=>{let n=r.getDerivativeToken(e),{override:t,...l}=o,i={...n,override:t};return i=se(i),l&&Object.entries(l).forEach(([s,c])=>{let{theme:a,...p}=c,g=p;a&&(g=xo({...i,...p},{override:p},a)),i[s]=g;}),i};function L(){let{token:e,hashed:o,theme:r,override:n,cssVar:t}=m__default.useContext(_),l=`${So}-${o||""}`,i=r||ie,[s,c,a]=useCacheToken(i,[v,e],{salt:l,override:n,getComputedToken:xo,formatToken:se,cssVar:t&&{prefix:t.prefix,key:t.key,unitless:Ie,ignore:Cr,preserve:ur}});return [i,a,o?c:"",s,t]}var yr=()=>({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 bo=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"}}}),ko=(e,o,r,n)=>{let t=`[class^="${o}"], [class*=" ${o}"]`,l=r?`.${r}`:t,i={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},s={};return n!==false&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[l]:{...s,...i,[t]:i}}};var ce=e=>({[`.${e}`]:{...yr(),[`.${e} .${e}-icon`]:{display:"block"}}});var{genStyleHooks:ze,genComponentStyleHook:xr,genSubStyleComponent:br}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:o}=useContext(T);return {rootPrefixCls:e(),iconPrefixCls:o}},useToken:()=>{let[e,o,r,n,t]=L();return {theme:e,realToken:o,hashId:r,token:n,cssVar:t}},useCSP:()=>{let{csp:e}=useContext(T);return e??{}},getResetStyles:(e,o)=>[{"&":bo(e)},ce(o?.prefix.iconPrefixCls??q)],getCommonStyle:ko,getCompUnitless:(()=>Ie)});var Tr=(e,o)=>{let[r,n]=L();return useStyleRegister({theme:r,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>o?.nonce,layer:{name:"antd"}},()=>[ce(e)])},pe=Tr;var Pr={...m},{useId:Po}=Pr,vr=()=>"",Mr=typeof Po>"u"?vr:Po,vo=Mr;function Ee(e,o,r){let n=M("ConfigProvider"),t=e||{},l=t.inherit===false||!o?{...U,hashed:o?.hashed??U.hashed,cssVar:o?.cssVar}:o,i=vo();if(process.env.NODE_ENV!=="production"){let s=t.cssVar||l.cssVar,c=!!(typeof t.cssVar=="object"&&t.cssVar?.key||i);n(!s||c,"breaking","Missing key in `cssVar` config. Please upgrade to React 18 or set `cssVar.key` manually in each ConfigProvider inside `cssVar` enabled ConfigProvider.");}return Lr(()=>{if(!e)return o;let s={...l.components};Object.keys(e.components||{}).forEach(p=>{s[p]={...s[p],...e.components[p]};});let c=`css-var-${i.replace(/:/g,"")}`,a=(t.cssVar??l.cssVar)&&{prefix:r?.prefixCls,...typeof l.cssVar=="object"?l.cssVar:{},...typeof t.cssVar=="object"?t.cssVar:{},key:typeof t.cssVar=="object"&&t.cssVar?.key||c};return {...l,...t,token:{...l.token,...t.token},components:s,cssVar:a}},[t,l],(s,c)=>s.some((a,p)=>{let g=c[p];return !Rr(a,g,true)}))}function De(e){let{children:o}=e,[,r]=L(),{motion:n}=r,t=m.useRef(false);return t.current=t.current||n===false,t.current?m.createElement(Provider,{motion:n},o):o}var Lo=m.memo(({dropdownMatchSelectWidth:e})=>(M("ConfigProvider").deprecated(e===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null));process.env.NODE_ENV!=="production"&&(Lo.displayName="PropWarning");var Ro=process.env.NODE_ENV!=="production"?Lo:()=>null;var Fe=false;process.env.NODE_ENV!=="production"?e=>{z(!Fe,e,"Static function can not consume context like dynamic theme. Please use 'App' component instead.");}:null;var Ir=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"],$o;function Fr(){return $o||ae}function Or(e){return Object.keys(e).some(o=>o.endsWith("Color"))}var Br=e=>{let{prefixCls:o,iconPrefixCls:r,theme:n,holderRender:t}=e;o!==void 0&&($o=o),n&&(Or(n)?(z(false,"ConfigProvider","`config` of css variable theme is not work in v5. Please use new `theme` config instead."),co(Fr(),n)):n);};var Nr=e=>{let{children:o,csp:r,autoInsertSpaceInButton:n,alert:t,anchor:l,form:i,locale:s,componentSize:c,direction:a,space:p,splitter:g,virtual:d,dropdownMatchSelectWidth:f,popupMatchSelectWidth:y,popupOverflow:W,legacyLocale:w,parentContext:b,iconPrefixCls:j,theme:J,componentDisabled:We,segmented:zo,statistic:Eo,spin:Do,calendar:Fo,carousel:Oo,cascader:Bo,collapse:No,typography:Wo,checkbox:jo,descriptions:Go,divider:Vo,drawer:Xo,skeleton:Uo,steps:_o,image:qo,layout:Ko,list:Qo,mentions:Yo,modal:Jo,progress:Zo,result:et,slider:ot,breadcrumb:tt,menu:rt,pagination:nt,input:it,textArea:at,empty:lt,badge:st,radio:ct,rate:pt,switch:gt,transfer:mt,avatar:dt,message:ft,tag:Ct,table:ut,card:yt,tabs:St,timeline:xt,timePicker:bt,upload:kt,notification:Tt,tree:ht,colorPicker:Pt,datePicker:vt,rangePicker:Mt,flex:Lt,wave:Rt,dropdown:wt,warning:$t,tour:At,variant:Ht,inputNumber:It,treeSelect:zt}=e,je=m.useCallback((C,k)=>{let{prefixCls:H}=e;if(k)return k;let I=H||b.getPrefixCls("");return C?`${I}-${C}`:I},[b.getPrefixCls,e.prefixCls]),G=j||b.iconPrefixCls||q,V=r||b.csp;pe(G,V);let Z=Ee(J,b.theme,{prefixCls:je("")});process.env.NODE_ENV!=="production"&&(Fe=Fe||!!Z);let de={csp:V,autoInsertSpaceInButton:n,alert:t,anchor:l,locale:s||w,direction:a,space:p,splitter:g,virtual:d,popupMatchSelectWidth:y??f,popupOverflow:W,getPrefixCls:je,iconPrefixCls:G,theme:Z,segmented:zo,statistic:Eo,spin:Do,calendar:Fo,carousel:Oo,cascader:Bo,collapse:No,typography:Wo,checkbox:jo,descriptions:Go,divider:Vo,drawer:Xo,skeleton:Uo,steps:_o,image:qo,input:it,textArea:at,layout:Ko,list:Qo,mentions:Yo,modal:Jo,progress:Zo,result:et,slider:ot,breadcrumb:tt,menu:rt,pagination:nt,empty:lt,badge:st,radio:ct,rate:pt,switch:gt,transfer:mt,avatar:dt,message:ft,tag:Ct,table:ut,card:yt,tabs:St,timeline:xt,timePicker:bt,upload:kt,notification:Tt,tree:ht,colorPicker:Pt,datePicker:vt,rangePicker:Mt,flex:Lt,wave:Rt,dropdown:wt,warning:$t,tour:At,variant:Ht,inputNumber:It,treeSelect:zt};process.env.NODE_ENV!=="production"&&M("ConfigProvider")(!("autoInsertSpaceInButton"in e),"deprecated","`autoInsertSpaceInButton` is deprecated. Please use `{ button: { autoInsertSpace: boolean }}` instead.");let $={...b};Object.keys(de).forEach(C=>{de[C]!==void 0&&($[C]=de[C]);}),Ir.forEach(C=>{let k=e[C];k&&($[C]=k);}),typeof n<"u"&&($.button={autoInsertSpace:n,...$.button});let A=Lr(()=>$,$,(C,k)=>{let H=Object.keys(C),I=Object.keys(k);return H.length!==I.length||H.some(ee=>C[ee]!==k[ee])}),Et=m.useMemo(()=>({prefixCls:G,csp:V}),[G,V]),u=m.createElement(m.Fragment,null,m.createElement(Ro,{dropdownMatchSelectWidth:f}),o),Ge=m.useMemo(()=>merge(R.Form?.defaultValidateMessages||{},A.locale?.Form?.defaultValidateMessages||{},A.form?.validateMessages||{},i?.validateMessages||{}),[A,i?.validateMessages]);Object.keys(Ge).length>0&&(u=m.createElement(_e.Provider,{value:Ge},u)),s&&(u=m.createElement(Ze,{locale:s,_ANT_MARK__:Se},u)),(u=m.createElement($r.Provider,{value:Et},u)),c&&(u=m.createElement(mo,{size:c},u)),u=m.createElement(De,null,u);let Dt=m.useMemo(()=>{let{algorithm:C,token:k,components:H,cssVar:I,...ee}=Z||{},Ve=C&&(!Array.isArray(C)||C.length>0)?createTheme(C):ie,fe={};Object.entries(H||{}).forEach(([Ft,Ot])=>{let h={...Ot};"algorithm"in h&&(h.algorithm===true?h.theme=Ve:(Array.isArray(h.algorithm)||typeof h.algorithm=="function")&&(h.theme=createTheme(h.algorithm)),delete h.algorithm),fe[Ft]=h;});let Xe={...v,...k};return {...ee,theme:Ve,token:Xe,components:fe,override:{override:Xe,...fe},cssVar:I}},[Z]);return J&&(u=m.createElement(_.Provider,{value:Dt},u)),A.warning&&(u=m.createElement(ue.Provider,{value:A.warning},u)),We!==void 0&&(u=m.createElement(po,{disabled:We},u)),m.createElement(T.Provider,{value:A},u)},B=e=>{let o=m.useContext(T),r=m.useContext(X);return m.createElement(Nr,{parentContext:o,legacyLocale:r,...e})};B.ConfigContext=T;B.SizeContext=K;B.config=Br;B.useConfig=Co;Object.defineProperty(B,"SizeContext",{get:()=>(z(false,"ConfigProvider","ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."),K)});process.env.NODE_ENV!=="production"&&(B.displayName="ConfigProvider");var Gr=new Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),me=e=>({height:e,lineHeight:unit(e)}),N=e=>({width:e,...me(e)}),Vr=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Gr,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),Oe=(e,o)=>({width:o(e).mul(5).equal(),minWidth:o(e).mul(5).equal(),...me(e)}),Xr=e=>{let{skeletonAvatarCls:o,gradientFromColor:r,controlHeight:n,controlHeightLG:t,controlHeightSM:l}=e;return {[o]:{display:"inline-block",verticalAlign:"top",background:r,...N(n)},[`${o}${o}-circle`]:{borderRadius:"50%"},[`${o}${o}-lg`]:{...N(t)},[`${o}${o}-sm`]:{...N(l)}}},Ur=e=>{let{controlHeight:o,borderRadiusSM:r,skeletonInputCls:n,controlHeightLG:t,controlHeightSM:l,gradientFromColor:i,calc:s}=e;return {[n]:{display:"inline-block",verticalAlign:"top",background:i,borderRadius:r,...Oe(o,s)},[`${n}-lg`]:{...Oe(t,s)},[`${n}-sm`]:{...Oe(l,s)}}},Ao=e=>({width:e,...me(e)}),_r=e=>{let{skeletonImageCls:o,imageSizeBase:r,gradientFromColor:n,borderRadiusSM:t,calc:l}=e;return {[o]:{display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:n,borderRadius:t,...Ao(l(r).mul(2).equal()),[`${o}-path`]:{fill:"#bfbfbf"},[`${o}-svg`]:{...Ao(r),maxWidth:l(r).mul(4).equal(),maxHeight:l(r).mul(4).equal()},[`${o}-svg${o}-svg-circle`]:{borderRadius:"50%"}},[`${o}${o}-circle`]:{borderRadius:"50%"}}},Be=(e,o,r)=>{let{skeletonButtonCls:n}=e;return {[`${r}${n}-circle`]:{width:o,minWidth:o,borderRadius:"50%"},[`${r}${n}-round`]:{borderRadius:o}}},Ne=(e,o)=>({width:o(e).mul(2).equal(),minWidth:o(e).mul(2).equal(),...me(e)}),qr=e=>{let{borderRadiusSM:o,skeletonButtonCls:r,controlHeight:n,controlHeightLG:t,controlHeightSM:l,gradientFromColor:i,calc:s}=e;return {[r]:{display:"inline-block",verticalAlign:"top",background:i,borderRadius:o,width:s(n).mul(2).equal(),minWidth:s(n).mul(2).equal(),...Ne(n,s)},...Be(e,n,r),[`${r}-lg`]:{...Ne(t,s)},...Be(e,t,`${r}-lg`),[`${r}-sm`]:{...Ne(l,s)},...Be(e,l,`${r}-sm`)}},Kr=e=>{let{componentCls:o,skeletonAvatarCls:r,skeletonTitleCls:n,skeletonParagraphCls:t,skeletonButtonCls:l,skeletonInputCls:i,skeletonImageCls:s,controlHeight:c,controlHeightLG:a,controlHeightSM:p,gradientFromColor:g,padding:d,marginSM:f,borderRadius:y,titleHeight:W,blockRadius:w,paragraphLiHeight:b,controlHeightXS:j,paragraphMarginTop:J}=e;return {[o]:{display:"table",width:"100%",[`${o}-header`]:{display:"table-cell",paddingInlineEnd:d,verticalAlign:"top",[r]:{display:"inline-block",verticalAlign:"top",background:g,...N(c)},[`${r}-circle`]:{borderRadius:"50%"},[`${r}-lg`]:{...N(a)},[`${r}-sm`]:{...N(p)}},[`${o}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[n]:{width:"100%",height:W,background:g,borderRadius:w,[`+ ${t}`]:{marginBlockStart:p}},[t]:{padding:0,"> li":{width:"100%",height:b,listStyle:"none",background:g,borderRadius:w,"+ li":{marginBlockStart:j}}},[`${t}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${o}-content`]:{[`${n}, ${t} > li`]:{borderRadius:y}}},[`${o}-with-avatar ${o}-content`]:{[n]:{marginBlockStart:f,[`+ ${t}`]:{marginBlockStart:J}}},[`${o}${o}-element`]:{display:"inline-block",width:"auto",...qr(e),...Xr(e),...Ur(e),..._r(e)},[`${o}${o}-block`]:{width:"100%",[l]:{width:"100%"},[i]:{width:"100%"}},[`${o}${o}-active`]:{[`
|
|
41
|
+
${n},
|
|
42
|
+
${t} > li,
|
|
43
|
+
${r},
|
|
44
|
+
${l},
|
|
45
|
+
${i},
|
|
46
|
+
${s}
|
|
47
|
+
`]:{...Vr(e)}}}},Qr=e=>{let{colorFillContent:o,colorFill:r}=e,n=o,t=r;return {color:n,colorGradientEnd:t,gradientFromColor:n,gradientToColor:t,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},Ho=ze("Skeleton",e=>{let{componentCls:o,calc:r}=e,n=mergeToken(e,{skeletonAvatarCls:`${o}-avatar`,skeletonTitleCls:`${o}-title`,skeletonParagraphCls:`${o}-paragraph`,skeletonButtonCls:`${o}-button`,skeletonInputCls:`${o}-input`,skeletonImageCls:`${o}-image`,imageSizeBase:r(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return [Kr(n)]},Qr,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]});var Yr=e=>{let{prefixCls:o,className:r,rootClassName:n,style:t,active:l,children:i}=e,{getPrefixCls:s}=m.useContext(T),c=s("skeleton",o),[a,p,g]=Ho(c),d=Io(c,`${c}-element`,{[`${c}-active`]:l},p,r,n,g);return a(m.createElement("div",{className:d},m.createElement("div",{className:Io(`${c}-image`,r),style:t},i)))},el=Yr;export{el as default};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
type widthUnit = number | string;
|
|
3
|
+
export interface SkeletonParagraphProps {
|
|
4
|
+
prefixCls?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
style?: React.CSSProperties;
|
|
7
|
+
width?: widthUnit | Array<widthUnit>;
|
|
8
|
+
rows?: number;
|
|
9
|
+
}
|
|
10
|
+
declare const Paragraph: React.FC<SkeletonParagraphProps>;
|
|
11
|
+
export default Paragraph;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as a from'react';import l from'classnames';var p=(r,e)=>{let{width:t,rows:s=2}=e;if(Array.isArray(t))return t[r];if(s-1===r)return t},c=r=>{let{prefixCls:e,className:t,style:s,rows:n}=r,o=[...new Array(n)].map((m,i)=>a.createElement("li",{key:i,style:{width:p(i,r)}}));return a.createElement("ul",{className:l(e,t),style:s},o)},u=c;export{u as default};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { AvatarProps } from './Avatar';
|
|
3
|
+
import SkeletonAvatar from './Avatar';
|
|
4
|
+
import SkeletonButton from './Button';
|
|
5
|
+
import SkeletonImage from './Image';
|
|
6
|
+
import SkeletonInput from './Input';
|
|
7
|
+
import SkeletonNode from './Node';
|
|
8
|
+
import type { SkeletonParagraphProps } from './Paragraph';
|
|
9
|
+
import type { SkeletonTitleProps } from './Title';
|
|
10
|
+
type SkeletonAvatarProps = Omit<AvatarProps, 'active'>;
|
|
11
|
+
export interface SkeletonProps {
|
|
12
|
+
active?: boolean;
|
|
13
|
+
loading?: boolean;
|
|
14
|
+
prefixCls?: string;
|
|
15
|
+
className?: string;
|
|
16
|
+
rootClassName?: string;
|
|
17
|
+
style?: React.CSSProperties;
|
|
18
|
+
children?: React.ReactNode;
|
|
19
|
+
avatar?: SkeletonAvatarProps | boolean;
|
|
20
|
+
title?: SkeletonTitleProps | boolean;
|
|
21
|
+
paragraph?: SkeletonParagraphProps | boolean;
|
|
22
|
+
round?: boolean;
|
|
23
|
+
}
|
|
24
|
+
type CompoundedComponent = {
|
|
25
|
+
Button: typeof SkeletonButton;
|
|
26
|
+
Avatar: typeof SkeletonAvatar;
|
|
27
|
+
Input: typeof SkeletonInput;
|
|
28
|
+
Image: typeof SkeletonImage;
|
|
29
|
+
Node: typeof SkeletonNode;
|
|
30
|
+
};
|
|
31
|
+
declare const Skeleton: React.FC<SkeletonProps> & CompoundedComponent;
|
|
32
|
+
export default Skeleton;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import*as f from'react';import f__default,{createContext,useContext}from'react';import oo from'classnames';import {createTheme,Keyframes,useCacheToken,unit,useStyleRegister}from'@ant-design/cssinjs';import Qr from'@ant-design/icons/lib/components/Context';import _r from'rc-util/lib/hooks/useMemo';import {merge}from'rc-util/lib/utils/set';import ir,{resetWarned}from'rc-util/lib/warning';import'rc-pagination/lib/locale/en_US';import pr from'rc-picker/lib/locale/en_US';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';import Mr from'rc-util/lib/Dom/canUseDom';import {updateCSS}from'rc-util/lib/Dom/dynamicCSS';import qr from'rc-util/lib/isEqual';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import {Provider}from'rc-motion';import kn from'rc-util/lib/omit';function mo(){}var R=null;function lr(){R=null,resetWarned();}var ze=mo;process.env.NODE_ENV!=="production"&&(ze=(e,o,t)=>{ir(e,`[swiftcrab: ${o}] ${t}`),process.env.NODE_ENV==="test"&&lr();});var Ie=f.createContext({}),A=process.env.NODE_ENV!=="production"?e=>{let{strict:o}=f.useContext(Ie),t=(n,r,l)=>{if(!n)if(o===false&&r==="deprecated"){let a=R;R||(R={}),R[e]=R[e]||[],R[e].includes(l||"")||R[e].push(l||""),a||console.warn("[swiftcrab] There exists deprecated usage in your code:",R);}else ze(n,e,l);};return t.deprecated=(n,r,l,a)=>{t(n,"deprecated",`\`${r}\` is deprecated. Please use \`${l}\` instead.${a?` ${a}`:""}`);},t}:()=>{let e=()=>{};return e.deprecated=mo,e},X=ze;var go=createContext(void 0);({lang:{...pr}});var b="${label} is not a valid ${type}",dr={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:b,method:b,array:b,object:b,number:b,date:b,boolean:b,integer:b,float:b,regexp:b,email:b,url:b,hex:b},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}"}}}},D=dr;({...D.Modal});var xe=[],Co=()=>xe.reduce((e,o)=>({...e,...o}),D.Modal);function uo(e){if(e){let o={...e};return xe.push(o),Co(),()=>{xe=xe.filter(t=>t!==o),Co();}}({...D.Modal});}var Cr=createContext(void 0),oe=Cr;var Ee="internalMark",yo=e=>{let{locale:o={},children:t,_ANT_MARK__:n}=e;process.env.NODE_ENV!=="production"&&A("LocaleProvider")(n===Ee,"deprecated","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale"),f.useEffect(()=>uo(o?.Modal),[o]);let r=f.useMemo(()=>({...o,exist:true}),[o]);return f.createElement(oe.Provider,{value:r},t)};process.env.NODE_ENV!=="production"&&(yo.displayName="LocaleProvider");var xo=yo;var He={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"},ur={...He,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},w=ur;function Fe(e,{generateColorPalettes:o,generateNeutralColorPalettes:t}){let{colorSuccess:n,colorWarning:r,colorError:l,colorInfo:a,colorPrimary:i,colorBgBase:s,colorTextBase:c}=e,p=o(i),m=o(n),g=o(r),d=o(l),S=o(a),y=t(s,c),$=e.colorLink||e.colorInfo,k=o($),E=new TinyColor(d[1]).mix(new TinyColor(d[3]),50).toHexString();return {...y,colorPrimaryBg:p[1],colorPrimaryBgHover:p[2],colorPrimaryBorder:p[3],colorPrimaryBorderHover:p[4],colorPrimaryHover:p[5],colorPrimary:p[6],colorPrimaryActive:p[7],colorPrimaryTextHover:p[8],colorPrimaryText:p[9],colorPrimaryTextActive:p[10],colorSuccessBg: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:d[1],colorErrorBgHover:d[2],colorErrorBgFilledHover:E,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:g[1],colorWarningBgHover:g[2],colorWarningBorder:g[3],colorWarningBorderHover:g[4],colorWarningHover:g[4],colorWarning:g[6],colorWarningActive:g[7],colorWarningTextHover:g[8],colorWarningText:g[9],colorWarningTextActive:g[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:k[4],colorLink:k[6],colorLinkActive:k[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var Sr=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}},ko=Sr;function Be(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,...ko(n)}}var yr=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},bo=yr;function ho(e){return (e+8)/e}function Oe(e){let o=new Array(10).fill(null).map((t,n)=>{let r=n-1,l=e*Math.E**(r/5),a=n>1?Math.floor(l):Math.ceil(l);return Math.floor(a/2)*2});return o[1]=e,o.map(t=>({size:t,lineHeight:ho(t)}))}var xr=e=>{let o=Oe(e),t=o.map(p=>p.size),n=o.map(p=>p.lineHeight),r=t[1],l=t[0],a=t[2],i=n[1],s=n[0],c=n[2];return {fontSizeSM:l,fontSize:r,fontSizeLG:a,fontSizeXL:t[3],fontSizeHeading1:t[6],fontSizeHeading2:t[5],fontSizeHeading3:t[4],fontSizeHeading4:t[3],fontSizeHeading5:t[2],lineHeight:i,lineHeightLG:c,lineHeightSM:s,fontHeight:Math.round(i*r),fontHeightLG:Math.round(c*a),fontHeightSM:Math.round(s*l),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},Po=xr;function We(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 h=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),_=(e,o)=>new TinyColor(e).darken(o).toHexString();var vo=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]}},Mo=(e,o)=>{let t=e||"#fff",n=o||"#000";return {colorBgBase:t,colorTextBase:n,colorText:h(n,.88),colorTextSecondary:h(n,.65),colorTextTertiary:h(n,.45),colorTextQuaternary:h(n,.25),colorFill:h(n,.15),colorFillSecondary:h(n,.06),colorFillTertiary:h(n,.04),colorFillQuaternary:h(n,.02),colorBgSolid:h(n,1),colorBgSolidHover:h(n,.75),colorBgSolidActive:h(n,.95),colorBgLayout:_(t,4),colorBgContainer:_(t,0),colorBgElevated:_(t,0),colorBgSpotlight:h(n,.85),colorBgBlur:"transparent",colorBorder:_(t,15),colorBorderSecondary:_(t,6)}};function Ge(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys(He).map(t=>{let n=e[t]===presetPrimaryColors[t]?presetPalettes[t]:generate(e[t]);return new Array(10).fill(1).reduce((r,l,a)=>(r[`${t}-${a+1}`]=n[a],r[`${t}${a+1}`]=n[a],r),{})}).reduce((t,n)=>(t={...t,...n},t),{});return {...e,...o,...Fe(e,{generateColorPalettes:vo,generateNeutralColorPalettes:Mo}),...Po(e.fontSize),...We(e),...bo(e),...Be(e)}}var ke=createTheme(Ge),te={token:w,override:{override:w},hashed:true},re=f__default.createContext(te);var be="ant",ne="anticon";var Tr=(e,o)=>o||(e?`${be}-${e}`:be),C=f.createContext({getPrefixCls:Tr,iconPrefixCls:ne}),{Consumer:vr}=C;var wr=`-ant-${Date.now()}-${Math.random()}`;function Lr(e,o){let t={},n=(a,i)=>{let s=a.clone();return s=i?.(s)||s,s.toRgbString()},r=(a,i)=>{let s=new TinyColor(a),c=generate(s.toRgbString());t[`${i}-color`]=n(s),t[`${i}-color-disabled`]=c[1],t[`${i}-color-hover`]=c[4],t[`${i}-color-active`]=c[6],t[`${i}-color-outline`]=s.clone().setAlpha(.2).toRgbString(),t[`${i}-color-deprecated-bg`]=c[0],t[`${i}-color-deprecated-border`]=c[2];};if(o.primaryColor){r(o.primaryColor,"primary");let a=new TinyColor(o.primaryColor),i=generate(a.toRgbString());i.forEach((c,p)=>{t[`primary-${p+1}`]=c;}),t["primary-color-deprecated-l-35"]=n(a,c=>c.lighten(35)),t["primary-color-deprecated-l-20"]=n(a,c=>c.lighten(20)),t["primary-color-deprecated-t-20"]=n(a,c=>c.tint(20)),t["primary-color-deprecated-t-50"]=n(a,c=>c.tint(50)),t["primary-color-deprecated-f-12"]=n(a,c=>c.setAlpha(c.getAlpha()*.12));let s=new TinyColor(i[0]);t["primary-color-active-deprecated-f-30"]=n(s,c=>c.setAlpha(c.getAlpha()*.3)),t["primary-color-active-deprecated-d-02"]=n(s,c=>c.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(a=>`--${e}-${a}: ${t[a]};`).join(`
|
|
6
|
+
`)}
|
|
7
|
+
}
|
|
8
|
+
`.trim()}function Lo(e,o){let t=Lr(e,o);Mr()?updateCSS(t,`${wr}-dynamic-theme`):X(false,"ConfigProvider","SSR do not support dynamic theme with css variables.");}var Ue=f.createContext(false),$o=({children:e,disabled:o})=>{let t=f.useContext(Ue);return f.createElement(Ue.Provider,{value:o??t},e)},Ao=Ue;var _e=f.createContext(void 0),zo=({children:e,size:o})=>{let t=f.useContext(_e);return f.createElement(_e.Provider,{value:o||t},e)},ie=_e;function $r(){let e=useContext(Ao),o=useContext(ie);return {componentDisabled:e,componentSize:o}}var No=$r;var Ho={version:"0.0.2"};var Do=Ho.version;function qe(e){return e>=0&&e<=255}function zr(e,o){let{r:t,g:n,b:r,a:l}=new TinyColor(e).toRgb();if(l<1)return e;let{r:a,g:i,b:s}=new TinyColor(o).toRgb();for(let c=.01;c<=1;c+=.01){let p=Math.round((t-a*(1-c))/c),m=Math.round((n-i*(1-c))/c),g=Math.round((r-s*(1-c))/c);if(qe(p)&&qe(m)&&qe(g))return new TinyColor({r:p,g:m,b:g,a:Math.round(c*100)/100}).toRgbString()}return new TinyColor({r:t,g:n,b:r,a:1}).toRgbString()}var ae=zr;function Pe(e){let{override:o,...t}=e,n={...o};Object.keys(w).forEach(g=>{delete n[g];});let r={...t,...n},l=480,a=576,i=768,s=992,c=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:ae(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:ae(r.colorErrorBg,r.colorBgContainer),colorWarningOutline:ae(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:ae(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:l,screenXSMin:l,screenXSMax:a-1,screenSM:a,screenSMMin:a,screenSMMax:i-1,screenMD:i,screenMDMin:i,screenMDMax:s-1,screenLG:s,screenLGMin:s,screenLGMax:c-1,screenXL:c,screenXLMin:c,screenXLMax:p-1,screenXXL:p,screenXXLMin:p,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
|
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 Qe={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},Er={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},Fo=(e,o,t)=>{let n=t.getDerivativeToken(e),{override:r,...l}=o,a={...n,override:r};return a=Pe(a),l&&Object.entries(l).forEach(([i,s])=>{let{theme:c,...p}=s,m=p;c&&(m=Fo({...a,...p},{override:p},c)),a[i]=m;}),a};function z(){let{token:e,hashed:o,theme:t,override:n,cssVar:r}=f__default.useContext(re),l=`${Do}-${o||""}`,a=t||ke,[i,s,c]=useCacheToken(a,[w,e],{salt:l,override:n,getComputedToken:Fo,formatToken:Pe,cssVar:r&&{prefix:r.prefix,key:r.key,unitless:Qe,ignore:Er,preserve:Hr}});return [a,c,o?s:"",i,r]}var Dr=()=>({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 Bo=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"}}}),Oo=(e,o,t,n)=>{let r=`[class^="${o}"], [class*=" ${o}"]`,l=t?`.${t}`:r,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},i={};return n!==false&&(i={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[l]:{...i,...a,[r]:a}}};var Te=e=>({[`.${e}`]:{...Dr(),[`.${e} .${e}-icon`]:{display:"block"}}});var{genStyleHooks:Ye,genComponentStyleHook:Br,genSubStyleComponent:Or}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:o}=useContext(C);return {rootPrefixCls:e(),iconPrefixCls:o}},useToken:()=>{let[e,o,t,n,r]=z();return {theme:e,realToken:o,hashId:t,token:n,cssVar:r}},useCSP:()=>{let{csp:e}=useContext(C);return e??{}},getResetStyles:(e,o)=>[{"&":Bo(e)},Te(o?.prefix.iconPrefixCls??ne)],getCommonStyle:Oo,getCompUnitless:(()=>Qe)});var jr=(e,o)=>{let[t,n]=z();return useStyleRegister({theme:t,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>o?.nonce,layer:{name:"antd"}},()=>[Te(e)])},ve=jr;var Gr={...f},{useId:Vo}=Gr,Xr=()=>"",Ur=typeof Vo>"u"?Xr:Vo,Go=Ur;function Je(e,o,t){let n=A("ConfigProvider"),r=e||{},l=r.inherit===false||!o?{...te,hashed:o?.hashed??te.hashed,cssVar:o?.cssVar}:o,a=Go();if(process.env.NODE_ENV!=="production"){let i=r.cssVar||l.cssVar,s=!!(typeof r.cssVar=="object"&&r.cssVar?.key||a);n(!i||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 i={...l.components};Object.keys(e.components||{}).forEach(p=>{i[p]={...i[p],...e.components[p]};});let s=`css-var-${a.replace(/:/g,"")}`,c=(r.cssVar??l.cssVar)&&{prefix:t?.prefixCls,...typeof l.cssVar=="object"?l.cssVar:{},...typeof r.cssVar=="object"?r.cssVar:{},key:typeof r.cssVar=="object"&&r.cssVar?.key||s};return {...l,...r,token:{...l.token,...r.token},components:i,cssVar:c}},[r,l],(i,s)=>i.some((c,p)=>{let m=s[p];return !qr(c,m,true)}))}function Ze(e){let{children:o}=e,[,t]=z(),{motion:n}=t,r=f.useRef(false);return r.current=r.current||n===false,r.current?f.createElement(Provider,{motion:n},o):o}var Uo=f.memo(({dropdownMatchSelectWidth:e})=>(A("ConfigProvider").deprecated(e===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null));process.env.NODE_ENV!=="production"&&(Uo.displayName="PropWarning");var _o=process.env.NODE_ENV!=="production"?Uo:()=>null;var eo=false;process.env.NODE_ENV!=="production"?e=>{X(!eo,e,"Static function can not consume context like dynamic theme. Please use 'App' component instead.");}:null;var Zr=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"],Ko;function rn(){return Ko||be}function nn(e){return Object.keys(e).some(o=>o.endsWith("Color"))}var an=e=>{let{prefixCls:o,iconPrefixCls:t,theme:n,holderRender:r}=e;o!==void 0&&(Ko=o),n&&(nn(n)?(X(false,"ConfigProvider","`config` of css variable theme is not work in v5. Please use new `theme` config instead."),Lo(rn(),n)):n);};var ln=e=>{let{children:o,csp:t,autoInsertSpaceInButton:n,alert:r,anchor:l,form:a,locale:i,componentSize:s,direction:c,space:p,splitter:m,virtual:g,dropdownMatchSelectWidth:d,popupMatchSelectWidth:S,popupOverflow:y,legacyLocale:$,parentContext:k,iconPrefixCls:E,theme:v,componentDisabled:H,segmented:B,statistic:me,spin:ge,calendar:Le,carousel:O,cascader:de,collapse:J,typography:lt,checkbox:st,descriptions:ct,divider:pt,drawer:mt,skeleton:gt,steps:dt,image:ft,layout:Ct,list:ut,mentions:St,modal:yt,progress:xt,result:kt,slider:bt,breadcrumb:ht,menu:Pt,pagination:Tt,input:vt,textArea:Mt,empty:Rt,badge:wt,radio:Lt,rate:$t,switch:At,transfer:zt,avatar:It,message:Nt,tag:Et,table:Ht,card:Dt,tabs:Ft,timeline:Bt,timePicker:Ot,upload:Wt,notification:jt,tree:Vt,colorPicker:Gt,datePicker:Xt,rangePicker:Ut,flex:_t,wave:qt,dropdown:Kt,warning:Qt,tour:Yt,variant:Jt,inputNumber:Zt,treeSelect:er}=e,lo=f.useCallback((u,T)=>{let{prefixCls:V}=e;if(T)return T;let G=V||k.getPrefixCls("");return u?`${G}-${u}`:G},[k.getPrefixCls,e.prefixCls]),Z=E||k.iconPrefixCls||ne,ee=t||k.csp;ve(Z,ee);let fe=Je(v,k.theme,{prefixCls:lo("")});process.env.NODE_ENV!=="production"&&(eo=eo||!!fe);let $e={csp:ee,autoInsertSpaceInButton:n,alert:r,anchor:l,locale:i||$,direction:c,space:p,splitter:m,virtual:g,popupMatchSelectWidth:S??d,popupOverflow:y,getPrefixCls:lo,iconPrefixCls:Z,theme:fe,segmented:B,statistic:me,spin:ge,calendar:Le,carousel:O,cascader:de,collapse:J,typography:lt,checkbox:st,descriptions:ct,divider:pt,drawer:mt,skeleton:gt,steps:dt,image:ft,input:vt,textArea:Mt,layout:Ct,list:ut,mentions:St,modal:yt,progress:xt,result:kt,slider:bt,breadcrumb:ht,menu:Pt,pagination:Tt,empty:Rt,badge:wt,radio:Lt,rate:$t,switch:At,transfer:zt,avatar:It,message:Nt,tag:Et,table:Ht,card:Dt,tabs:Ft,timeline:Bt,timePicker:Ot,upload:Wt,notification:jt,tree:Vt,colorPicker:Gt,datePicker:Xt,rangePicker:Ut,flex:_t,wave:qt,dropdown:Kt,warning:Qt,tour:Yt,variant:Jt,inputNumber:Zt,treeSelect:er};process.env.NODE_ENV!=="production"&&A("ConfigProvider")(!("autoInsertSpaceInButton"in e),"deprecated","`autoInsertSpaceInButton` is deprecated. Please use `{ button: { autoInsertSpace: boolean }}` instead.");let W={...k};Object.keys($e).forEach(u=>{$e[u]!==void 0&&(W[u]=$e[u]);}),Zr.forEach(u=>{let T=e[u];T&&(W[u]=T);}),typeof n<"u"&&(W.button={autoInsertSpace:n,...W.button});let j=_r(()=>W,W,(u,T)=>{let V=Object.keys(u),G=Object.keys(T);return V.length!==G.length||V.some(Ce=>u[Ce]!==T[Ce])}),or=f.useMemo(()=>({prefixCls:Z,csp:ee}),[Z,ee]),x=f.createElement(f.Fragment,null,f.createElement(_o,{dropdownMatchSelectWidth:d}),o),so=f.useMemo(()=>merge(D.Form?.defaultValidateMessages||{},j.locale?.Form?.defaultValidateMessages||{},j.form?.validateMessages||{},a?.validateMessages||{}),[j,a?.validateMessages]);Object.keys(so).length>0&&(x=f.createElement(go.Provider,{value:so},x)),i&&(x=f.createElement(xo,{locale:i,_ANT_MARK__:Ee},x)),(x=f.createElement(Qr.Provider,{value:or},x)),s&&(x=f.createElement(zo,{size:s},x)),x=f.createElement(Ze,null,x);let tr=f.useMemo(()=>{let{algorithm:u,token:T,components:V,cssVar:G,...Ce}=fe||{},co=u&&(!Array.isArray(u)||u.length>0)?createTheme(u):ke,Ae={};Object.entries(V||{}).forEach(([rr,nr])=>{let M={...nr};"algorithm"in M&&(M.algorithm===true?M.theme=co:(Array.isArray(M.algorithm)||typeof M.algorithm=="function")&&(M.theme=createTheme(M.algorithm)),delete M.algorithm),Ae[rr]=M;});let po={...w,...T};return {...Ce,theme:co,token:po,components:Ae,override:{override:po,...Ae},cssVar:G}},[fe]);return v&&(x=f.createElement(re.Provider,{value:tr},x)),j.warning&&(x=f.createElement(Ie.Provider,{value:j.warning},x)),H!==void 0&&(x=f.createElement($o,{disabled:H},x)),f.createElement(C.Provider,{value:j},x)},Q=e=>{let o=f.useContext(C),t=f.useContext(oe);return f.createElement(ln,{parentContext:o,legacyLocale:t,...e})};Q.ConfigContext=C;Q.SizeContext=ie;Q.config=an;Q.useConfig=No;Object.defineProperty(Q,"SizeContext",{get:()=>(X(false,"ConfigProvider","ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."),ie)});process.env.NODE_ENV!=="production"&&(Q.displayName="ConfigProvider");var sn=e=>{let{prefixCls:o,className:t,style:n,size:r,shape:l}=e,a=oo({[`${o}-lg`]:r==="large",[`${o}-sm`]:r==="small"}),i=oo({[`${o}-circle`]:l==="circle",[`${o}-square`]:l==="square",[`${o}-round`]:l==="round"}),s=f.useMemo(()=>typeof r=="number"?{width:r,height:r,lineHeight:`${r}px`}:{},[r]);return f.createElement("span",{className:oo(o,a,i,t),style:{...s,...n}})},I=sn;var mn=new Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),we=e=>({height:e,lineHeight:unit(e)}),Y=e=>({width:e,...we(e)}),gn=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:mn,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),to=(e,o)=>({width:o(e).mul(5).equal(),minWidth:o(e).mul(5).equal(),...we(e)}),dn=e=>{let{skeletonAvatarCls:o,gradientFromColor:t,controlHeight:n,controlHeightLG:r,controlHeightSM:l}=e;return {[o]:{display:"inline-block",verticalAlign:"top",background:t,...Y(n)},[`${o}${o}-circle`]:{borderRadius:"50%"},[`${o}${o}-lg`]:{...Y(r)},[`${o}${o}-sm`]:{...Y(l)}}},fn=e=>{let{controlHeight:o,borderRadiusSM:t,skeletonInputCls:n,controlHeightLG:r,controlHeightSM:l,gradientFromColor:a,calc:i}=e;return {[n]:{display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,...to(o,i)},[`${n}-lg`]:{...to(r,i)},[`${n}-sm`]:{...to(l,i)}}},Qo=e=>({width:e,...we(e)}),Cn=e=>{let{skeletonImageCls:o,imageSizeBase:t,gradientFromColor:n,borderRadiusSM:r,calc:l}=e;return {[o]:{display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:n,borderRadius:r,...Qo(l(t).mul(2).equal()),[`${o}-path`]:{fill:"#bfbfbf"},[`${o}-svg`]:{...Qo(t),maxWidth:l(t).mul(4).equal(),maxHeight:l(t).mul(4).equal()},[`${o}-svg${o}-svg-circle`]:{borderRadius:"50%"}},[`${o}${o}-circle`]:{borderRadius:"50%"}}},ro=(e,o,t)=>{let{skeletonButtonCls:n}=e;return {[`${t}${n}-circle`]:{width:o,minWidth:o,borderRadius:"50%"},[`${t}${n}-round`]:{borderRadius:o}}},no=(e,o)=>({width:o(e).mul(2).equal(),minWidth:o(e).mul(2).equal(),...we(e)}),un=e=>{let{borderRadiusSM:o,skeletonButtonCls:t,controlHeight:n,controlHeightLG:r,controlHeightSM:l,gradientFromColor:a,calc:i}=e;return {[t]:{display:"inline-block",verticalAlign:"top",background:a,borderRadius:o,width:i(n).mul(2).equal(),minWidth:i(n).mul(2).equal(),...no(n,i)},...ro(e,n,t),[`${t}-lg`]:{...no(r,i)},...ro(e,r,`${t}-lg`),[`${t}-sm`]:{...no(l,i)},...ro(e,l,`${t}-sm`)}},Sn=e=>{let{componentCls:o,skeletonAvatarCls:t,skeletonTitleCls:n,skeletonParagraphCls:r,skeletonButtonCls:l,skeletonInputCls:a,skeletonImageCls:i,controlHeight:s,controlHeightLG:c,controlHeightSM:p,gradientFromColor:m,padding:g,marginSM:d,borderRadius:S,titleHeight:y,blockRadius:$,paragraphLiHeight:k,controlHeightXS:E,paragraphMarginTop:v}=e;return {[o]:{display:"table",width:"100%",[`${o}-header`]:{display:"table-cell",paddingInlineEnd:g,verticalAlign:"top",[t]:{display:"inline-block",verticalAlign:"top",background:m,...Y(s)},[`${t}-circle`]:{borderRadius:"50%"},[`${t}-lg`]:{...Y(c)},[`${t}-sm`]:{...Y(p)}},[`${o}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[n]:{width:"100%",height:y,background:m,borderRadius:$,[`+ ${r}`]:{marginBlockStart:p}},[r]:{padding:0,"> li":{width:"100%",height:k,listStyle:"none",background:m,borderRadius:$,"+ li":{marginBlockStart:E}}},[`${r}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${o}-content`]:{[`${n}, ${r} > li`]:{borderRadius:S}}},[`${o}-with-avatar ${o}-content`]:{[n]:{marginBlockStart:d,[`+ ${r}`]:{marginBlockStart:v}}},[`${o}${o}-element`]:{display:"inline-block",width:"auto",...un(e),...dn(e),...fn(e),...Cn(e)},[`${o}${o}-block`]:{width:"100%",[l]:{width:"100%"},[a]:{width:"100%"}},[`${o}${o}-active`]:{[`
|
|
41
|
+
${n},
|
|
42
|
+
${r} > li,
|
|
43
|
+
${t},
|
|
44
|
+
${l},
|
|
45
|
+
${a},
|
|
46
|
+
${i}
|
|
47
|
+
`]:{...gn(e)}}}},yn=e=>{let{colorFillContent:o,colorFill:t}=e,n=o,r=t;return {color:n,colorGradientEnd:r,gradientFromColor:n,gradientToColor:r,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},P=Ye("Skeleton",e=>{let{componentCls:o,calc:t}=e,n=mergeToken(e,{skeletonAvatarCls:`${o}-avatar`,skeletonTitleCls:`${o}-title`,skeletonParagraphCls:`${o}-paragraph`,skeletonButtonCls:`${o}-button`,skeletonInputCls:`${o}-input`,skeletonImageCls:`${o}-image`,imageSizeBase:t(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return [Sn(n)]},yn,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]});var bn=e=>{let{prefixCls:o,className:t,rootClassName:n,active:r,shape:l="circle",size:a="default"}=e,{getPrefixCls:i}=f.useContext(C),s=i("skeleton",o),[c,p,m]=P(s),g=kn(e,["prefixCls","className"]),d=oo(s,`${s}-element`,{[`${s}-active`]:r},t,n,p,m);return c(f.createElement("div",{className:d},f.createElement(I,{prefixCls:`${s}-avatar`,shape:l,size:a,...g})))},Yo=bn;var Tn=e=>{let{prefixCls:o,className:t,rootClassName:n,active:r,block:l=false,size:a="default"}=e,{getPrefixCls:i}=f.useContext(C),s=i("skeleton",o),[c,p,m]=P(s),g=kn(e,["prefixCls"]),d=oo(s,`${s}-element`,{[`${s}-active`]:r,[`${s}-block`]:l},t,n,p,m);return c(f.createElement("div",{className:d},f.createElement(I,{prefixCls:`${s}-button`,size:a,...g})))},Jo=Tn;var vn="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",Mn=e=>{let{prefixCls:o,className:t,rootClassName:n,style:r,active:l}=e,{getPrefixCls:a}=f.useContext(C),i=a("skeleton",o),[s,c,p]=P(i),m=oo(i,`${i}-element`,{[`${i}-active`]:l},t,n,c,p);return s(f.createElement("div",{className:m},f.createElement("div",{className:oo(`${i}-image`,t),style:r},f.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${i}-image-svg`},f.createElement("title",null,"Image placeholder"),f.createElement("path",{d:vn,className:`${i}-image-path`})))))},et=Mn;var Ln=e=>{let{prefixCls:o,className:t,rootClassName:n,active:r,block:l,size:a="default"}=e,{getPrefixCls:i}=f.useContext(C),s=i("skeleton",o),[c,p,m]=P(s),g=kn(e,["prefixCls"]),d=oo(s,`${s}-element`,{[`${s}-active`]:r,[`${s}-block`]:l},t,n,p,m);return c(f.createElement("div",{className:d},f.createElement(I,{prefixCls:`${s}-input`,size:a,...g})))},ot=Ln;var $n=e=>{let{prefixCls:o,className:t,rootClassName:n,style:r,active:l,children:a}=e,{getPrefixCls:i}=f.useContext(C),s=i("skeleton",o),[c,p,m]=P(s),g=oo(s,`${s}-element`,{[`${s}-active`]:l},p,t,n,m);return c(f.createElement("div",{className:g},f.createElement("div",{className:oo(`${s}-image`,t),style:r},a)))},rt=$n;var zn=(e,o)=>{let{width:t,rows:n=2}=o;if(Array.isArray(t))return t[e];if(n-1===e)return t},In=e=>{let{prefixCls:o,className:t,style:n,rows:r}=e,l=[...new Array(r)].map((a,i)=>f.createElement("li",{key:i,style:{width:zn(i,e)}}));return f.createElement("ul",{className:oo(o,t),style:n},l)},nt=In;var En=({prefixCls:e,className:o,width:t,style:n})=>f.createElement("h3",{className:oo(e,o),style:{width:t,...n}}),at=En;function ao(e){return e&&typeof e=="object"?e:{}}function Dn(e,o){return e&&!o?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Fn(e,o){return !e&&o?{width:"38%"}:e&&o?{width:"50%"}:{}}function Bn(e,o){let t={};return (!e||!o)&&(t.width="61%"),!e&&o?t.rows=3:t.rows=2,t}var F=e=>{let{prefixCls:o,loading:t,className:n,rootClassName:r,style:l,children:a,avatar:i=false,title:s=true,paragraph:c=true,active:p,round:m}=e,{getPrefixCls:g,direction:d,skeleton:S}=f.useContext(C),y=g("skeleton",o),[$,k,E]=P(y);if(t||!("loading"in e)){let v=!!i,H=!!s,B=!!c,me;if(v){let O={prefixCls:`${y}-avatar`,...Dn(H,B),...ao(i)};me=f.createElement("div",{className:`${y}-header`},f.createElement(I,{...O}));}let ge;if(H||B){let O;if(H){let J={prefixCls:`${y}-title`,...Fn(v,B),...ao(s)};O=f.createElement(at,{...J});}let de;if(B){let J={prefixCls:`${y}-paragraph`,...Bn(v,H),...ao(c)};de=f.createElement(nt,{...J});}ge=f.createElement("div",{className:`${y}-content`},O,de);}let Le=oo(y,{[`${y}-with-avatar`]:v,[`${y}-active`]:p,[`${y}-rtl`]:d==="rtl",[`${y}-round`]:m},S?.className,n,r,k,E);return $(f.createElement("div",{className:Le,style:{...S?.style,...l}},me,ge))}return a??null};F.Button=Jo;F.Avatar=Yo;F.Input=ot;F.Image=et;F.Node=rt;process.env.NODE_ENV!=="production"&&(F.displayName="Skeleton");var Rs=F;
|
|
48
|
+
export{Rs as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import*as e from'react';import i from'classnames';var l=({prefixCls:t,className:s,width:r,style:a})=>e.createElement("h3",{className:i(t,s),style:{width:r,...a}}),c=l;export{c as default};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import*as d from'react';import d__default,{createContext,useContext}from'react';import oo from'classnames';import {createTheme,Keyframes,useCacheToken,unit,useStyleRegister}from'@ant-design/cssinjs';import Yr from'@ant-design/icons/lib/components/Context';import qr from'rc-util/lib/hooks/useMemo';import {merge}from'rc-util/lib/utils/set';import ar,{resetWarned}from'rc-util/lib/warning';import'rc-pagination/lib/locale/en_US';import mr from'rc-picker/lib/locale/en_US';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';import Rr from'rc-util/lib/Dom/canUseDom';import {updateCSS}from'rc-util/lib/Dom/dynamicCSS';import Kr from'rc-util/lib/isEqual';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import {Provider}from'rc-motion';import Pn from'rc-util/lib/omit';function mo(){}var R=null;function sr(){R=null,resetWarned();}var ze=mo;process.env.NODE_ENV!=="production"&&(ze=(e,o,t)=>{ar(e,`[swiftcrab: ${o}] ${t}`),process.env.NODE_ENV==="test"&&sr();});var Ie=d.createContext({}),A=process.env.NODE_ENV!=="production"?e=>{let{strict:o}=d.useContext(Ie),t=(n,r,l)=>{if(!n)if(o===false&&r==="deprecated"){let a=R;R||(R={}),R[e]=R[e]||[],R[e].includes(l||"")||R[e].push(l||""),a||console.warn("[swiftcrab] There exists deprecated usage in your code:",R);}else ze(n,e,l);};return t.deprecated=(n,r,l,a)=>{t(n,"deprecated",`\`${r}\` is deprecated. Please use \`${l}\` instead.${a?` ${a}`:""}`);},t}:()=>{let e=()=>{};return e.deprecated=mo,e},X=ze;var go=createContext(void 0);({lang:{...mr}});var P="${label} is not a valid ${type}",dr={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}"}}}},D=dr;({...D.Modal});var xe=[],Co=()=>xe.reduce((e,o)=>({...e,...o}),D.Modal);function uo(e){if(e){let o={...e};return xe.push(o),Co(),()=>{xe=xe.filter(t=>t!==o),Co();}}({...D.Modal});}var ur=createContext(void 0),oe=ur;var Ee="internalMark",yo=e=>{let{locale:o={},children:t,_ANT_MARK__:n}=e;process.env.NODE_ENV!=="production"&&A("LocaleProvider")(n===Ee,"deprecated","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale"),d.useEffect(()=>uo(o?.Modal),[o]);let r=d.useMemo(()=>({...o,exist:true}),[o]);return d.createElement(oe.Provider,{value:r},t)};process.env.NODE_ENV!=="production"&&(yo.displayName="LocaleProvider");var xo=yo;var He={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"},Sr={...He,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},w=Sr;function Fe(e,{generateColorPalettes:o,generateNeutralColorPalettes:t}){let{colorSuccess:n,colorWarning:r,colorError:l,colorInfo:a,colorPrimary:i,colorBgBase:s,colorTextBase:c}=e,p=o(i),m=o(n),g=o(r),f=o(l),S=o(a),y=t(s,c),$=e.colorLink||e.colorInfo,k=o($),E=new TinyColor(f[1]).mix(new TinyColor(f[3]),50).toHexString();return {...y,colorPrimaryBg:p[1],colorPrimaryBgHover:p[2],colorPrimaryBorder:p[3],colorPrimaryBorderHover:p[4],colorPrimaryHover:p[5],colorPrimary:p[6],colorPrimaryActive:p[7],colorPrimaryTextHover:p[8],colorPrimaryText:p[9],colorPrimaryTextActive:p[10],colorSuccessBg: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:f[1],colorErrorBgHover:f[2],colorErrorBgFilledHover:E,colorErrorBgActive:f[3],colorErrorBorder:f[3],colorErrorBorderHover:f[4],colorErrorHover:f[5],colorError:f[6],colorErrorActive:f[7],colorErrorTextHover:f[8],colorErrorText:f[9],colorErrorTextActive:f[10],colorWarningBg:g[1],colorWarningBgHover:g[2],colorWarningBorder:g[3],colorWarningBorderHover:g[4],colorWarningHover:g[4],colorWarning:g[6],colorWarningActive:g[7],colorWarningTextHover:g[8],colorWarningText:g[9],colorWarningTextActive:g[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:k[4],colorLink:k[6],colorLinkActive:k[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var yr=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}},ko=yr;function Be(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,...ko(n)}}var xr=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},Po=xr;function bo(e){return (e+8)/e}function Oe(e){let o=new Array(10).fill(null).map((t,n)=>{let r=n-1,l=e*Math.E**(r/5),a=n>1?Math.floor(l):Math.ceil(l);return Math.floor(a/2)*2});return o[1]=e,o.map(t=>({size:t,lineHeight:bo(t)}))}var kr=e=>{let o=Oe(e),t=o.map(p=>p.size),n=o.map(p=>p.lineHeight),r=t[1],l=t[0],a=t[2],i=n[1],s=n[0],c=n[2];return {fontSizeSM:l,fontSize:r,fontSizeLG:a,fontSizeXL:t[3],fontSizeHeading1:t[6],fontSizeHeading2:t[5],fontSizeHeading3:t[4],fontSizeHeading4:t[3],fontSizeHeading5:t[2],lineHeight:i,lineHeightLG:c,lineHeightSM:s,fontHeight:Math.round(i*r),fontHeightLG:Math.round(c*a),fontHeightSM:Math.round(s*l),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},ho=kr;function We(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 b=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),_=(e,o)=>new TinyColor(e).darken(o).toHexString();var vo=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]}},Mo=(e,o)=>{let t=e||"#fff",n=o||"#000";return {colorBgBase:t,colorTextBase:n,colorText:b(n,.88),colorTextSecondary:b(n,.65),colorTextTertiary:b(n,.45),colorTextQuaternary:b(n,.25),colorFill:b(n,.15),colorFillSecondary:b(n,.06),colorFillTertiary:b(n,.04),colorFillQuaternary:b(n,.02),colorBgSolid:b(n,1),colorBgSolidHover:b(n,.75),colorBgSolidActive:b(n,.95),colorBgLayout:_(t,4),colorBgContainer:_(t,0),colorBgElevated:_(t,0),colorBgSpotlight:b(n,.85),colorBgBlur:"transparent",colorBorder:_(t,15),colorBorderSecondary:_(t,6)}};function Ge(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys(He).map(t=>{let n=e[t]===presetPrimaryColors[t]?presetPalettes[t]:generate(e[t]);return new Array(10).fill(1).reduce((r,l,a)=>(r[`${t}-${a+1}`]=n[a],r[`${t}${a+1}`]=n[a],r),{})}).reduce((t,n)=>(t={...t,...n},t),{});return {...e,...o,...Fe(e,{generateColorPalettes:vo,generateNeutralColorPalettes:Mo}),...ho(e.fontSize),...We(e),...Po(e),...Be(e)}}var ke=createTheme(Ge),te={token:w,override:{override:w},hashed:true},re=d__default.createContext(te);var Pe="ant",ne="anticon";var vr=(e,o)=>o||(e?`${Pe}-${e}`:Pe),C=d.createContext({getPrefixCls:vr,iconPrefixCls:ne}),{Consumer:Mr}=C;var Lr=`-ant-${Date.now()}-${Math.random()}`;function $r(e,o){let t={},n=(a,i)=>{let s=a.clone();return s=i?.(s)||s,s.toRgbString()},r=(a,i)=>{let s=new TinyColor(a),c=generate(s.toRgbString());t[`${i}-color`]=n(s),t[`${i}-color-disabled`]=c[1],t[`${i}-color-hover`]=c[4],t[`${i}-color-active`]=c[6],t[`${i}-color-outline`]=s.clone().setAlpha(.2).toRgbString(),t[`${i}-color-deprecated-bg`]=c[0],t[`${i}-color-deprecated-border`]=c[2];};if(o.primaryColor){r(o.primaryColor,"primary");let a=new TinyColor(o.primaryColor),i=generate(a.toRgbString());i.forEach((c,p)=>{t[`primary-${p+1}`]=c;}),t["primary-color-deprecated-l-35"]=n(a,c=>c.lighten(35)),t["primary-color-deprecated-l-20"]=n(a,c=>c.lighten(20)),t["primary-color-deprecated-t-20"]=n(a,c=>c.tint(20)),t["primary-color-deprecated-t-50"]=n(a,c=>c.tint(50)),t["primary-color-deprecated-f-12"]=n(a,c=>c.setAlpha(c.getAlpha()*.12));let s=new TinyColor(i[0]);t["primary-color-active-deprecated-f-30"]=n(s,c=>c.setAlpha(c.getAlpha()*.3)),t["primary-color-active-deprecated-d-02"]=n(s,c=>c.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(a=>`--${e}-${a}: ${t[a]};`).join(`
|
|
6
|
+
`)}
|
|
7
|
+
}
|
|
8
|
+
`.trim()}function Lo(e,o){let t=$r(e,o);Rr()?updateCSS(t,`${Lr}-dynamic-theme`):X(false,"ConfigProvider","SSR do not support dynamic theme with css variables.");}var Ue=d.createContext(false),$o=({children:e,disabled:o})=>{let t=d.useContext(Ue);return d.createElement(Ue.Provider,{value:o??t},e)},Ao=Ue;var _e=d.createContext(void 0),zo=({children:e,size:o})=>{let t=d.useContext(_e);return d.createElement(_e.Provider,{value:o||t},e)},ie=_e;function Ar(){let e=useContext(Ao),o=useContext(ie);return {componentDisabled:e,componentSize:o}}var No=Ar;var Ho={version:"0.0.2"};var Do=Ho.version;function qe(e){return e>=0&&e<=255}function Ir(e,o){let{r:t,g:n,b:r,a:l}=new TinyColor(e).toRgb();if(l<1)return e;let{r:a,g:i,b:s}=new TinyColor(o).toRgb();for(let c=.01;c<=1;c+=.01){let p=Math.round((t-a*(1-c))/c),m=Math.round((n-i*(1-c))/c),g=Math.round((r-s*(1-c))/c);if(qe(p)&&qe(m)&&qe(g))return new TinyColor({r:p,g:m,b:g,a:Math.round(c*100)/100}).toRgbString()}return new TinyColor({r:t,g:n,b:r,a:1}).toRgbString()}var ae=Ir;function he(e){let{override:o,...t}=e,n={...o};Object.keys(w).forEach(g=>{delete n[g];});let r={...t,...n},l=480,a=576,i=768,s=992,c=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:ae(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:ae(r.colorErrorBg,r.colorBgContainer),colorWarningOutline:ae(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:ae(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:l,screenXSMin:l,screenXSMax:a-1,screenSM:a,screenSMMin:a,screenSMMax:i-1,screenMD:i,screenMDMin:i,screenMDMax:s-1,screenLG:s,screenLGMin:s,screenLGMax:c-1,screenXL:c,screenXLMin:c,screenXLMax:p-1,screenXXL:p,screenXXLMin:p,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
|
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 Qe={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},Hr={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},Dr={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},Fo=(e,o,t)=>{let n=t.getDerivativeToken(e),{override:r,...l}=o,a={...n,override:r};return a=he(a),l&&Object.entries(l).forEach(([i,s])=>{let{theme:c,...p}=s,m=p;c&&(m=Fo({...a,...p},{override:p},c)),a[i]=m;}),a};function z(){let{token:e,hashed:o,theme:t,override:n,cssVar:r}=d__default.useContext(re),l=`${Do}-${o||""}`,a=t||ke,[i,s,c]=useCacheToken(a,[w,e],{salt:l,override:n,getComputedToken:Fo,formatToken:he,cssVar:r&&{prefix:r.prefix,key:r.key,unitless:Qe,ignore:Hr,preserve:Dr}});return [a,c,o?s:"",i,r]}var Fr=()=>({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 Bo=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"}}}),Oo=(e,o,t,n)=>{let r=`[class^="${o}"], [class*=" ${o}"]`,l=t?`.${t}`:r,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},i={};return n!==false&&(i={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[l]:{...i,...a,[r]:a}}};var Te=e=>({[`.${e}`]:{...Fr(),[`.${e} .${e}-icon`]:{display:"block"}}});var{genStyleHooks:Ye,genComponentStyleHook:Or,genSubStyleComponent:Wr}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:o}=useContext(C);return {rootPrefixCls:e(),iconPrefixCls:o}},useToken:()=>{let[e,o,t,n,r]=z();return {theme:e,realToken:o,hashId:t,token:n,cssVar:r}},useCSP:()=>{let{csp:e}=useContext(C);return e??{}},getResetStyles:(e,o)=>[{"&":Bo(e)},Te(o?.prefix.iconPrefixCls??ne)],getCommonStyle:Oo,getCompUnitless:(()=>Qe)});var Vr=(e,o)=>{let[t,n]=z();return useStyleRegister({theme:t,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>o?.nonce,layer:{name:"antd"}},()=>[Te(e)])},ve=Vr;var Xr={...d},{useId:Vo}=Xr,Ur=()=>"",_r=typeof Vo>"u"?Ur:Vo,Go=_r;function Je(e,o,t){let n=A("ConfigProvider"),r=e||{},l=r.inherit===false||!o?{...te,hashed:o?.hashed??te.hashed,cssVar:o?.cssVar}:o,a=Go();if(process.env.NODE_ENV!=="production"){let i=r.cssVar||l.cssVar,s=!!(typeof r.cssVar=="object"&&r.cssVar?.key||a);n(!i||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 qr(()=>{if(!e)return o;let i={...l.components};Object.keys(e.components||{}).forEach(p=>{i[p]={...i[p],...e.components[p]};});let s=`css-var-${a.replace(/:/g,"")}`,c=(r.cssVar??l.cssVar)&&{prefix:t?.prefixCls,...typeof l.cssVar=="object"?l.cssVar:{},...typeof r.cssVar=="object"?r.cssVar:{},key:typeof r.cssVar=="object"&&r.cssVar?.key||s};return {...l,...r,token:{...l.token,...r.token},components:i,cssVar:c}},[r,l],(i,s)=>i.some((c,p)=>{let m=s[p];return !Kr(c,m,true)}))}function Ze(e){let{children:o}=e,[,t]=z(),{motion:n}=t,r=d.useRef(false);return r.current=r.current||n===false,r.current?d.createElement(Provider,{motion:n},o):o}var Uo=d.memo(({dropdownMatchSelectWidth:e})=>(A("ConfigProvider").deprecated(e===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null));process.env.NODE_ENV!=="production"&&(Uo.displayName="PropWarning");var _o=process.env.NODE_ENV!=="production"?Uo:()=>null;var eo=false;process.env.NODE_ENV!=="production"?e=>{X(!eo,e,"Static function can not consume context like dynamic theme. Please use 'App' component instead.");}:null;var en=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"],Ko;function nn(){return Ko||Pe}function an(e){return Object.keys(e).some(o=>o.endsWith("Color"))}var ln=e=>{let{prefixCls:o,iconPrefixCls:t,theme:n,holderRender:r}=e;o!==void 0&&(Ko=o),n&&(an(n)?(X(false,"ConfigProvider","`config` of css variable theme is not work in v5. Please use new `theme` config instead."),Lo(nn(),n)):n);};var sn=e=>{let{children:o,csp:t,autoInsertSpaceInButton:n,alert:r,anchor:l,form:a,locale:i,componentSize:s,direction:c,space:p,splitter:m,virtual:g,dropdownMatchSelectWidth:f,popupMatchSelectWidth:S,popupOverflow:y,legacyLocale:$,parentContext:k,iconPrefixCls:E,theme:v,componentDisabled:H,segmented:B,statistic:me,spin:ge,calendar:Le,carousel:O,cascader:fe,collapse:J,typography:st,checkbox:ct,descriptions:pt,divider:mt,drawer:gt,skeleton:ft,steps:dt,image:Ct,layout:ut,list:St,mentions:yt,modal:xt,progress:kt,result:Pt,slider:bt,breadcrumb:ht,menu:Tt,pagination:vt,input:Mt,textArea:Rt,empty:wt,badge:Lt,radio:$t,rate:At,switch:zt,transfer:It,avatar:Nt,message:Et,tag:Ht,table:Dt,card:Ft,tabs:Bt,timeline:Ot,timePicker:Wt,upload:jt,notification:Vt,tree:Gt,colorPicker:Xt,datePicker:Ut,rangePicker:_t,flex:qt,wave:Kt,dropdown:Qt,warning:Yt,tour:Jt,variant:Zt,inputNumber:er,treeSelect:or}=e,lo=d.useCallback((u,T)=>{let{prefixCls:V}=e;if(T)return T;let G=V||k.getPrefixCls("");return u?`${G}-${u}`:G},[k.getPrefixCls,e.prefixCls]),Z=E||k.iconPrefixCls||ne,ee=t||k.csp;ve(Z,ee);let de=Je(v,k.theme,{prefixCls:lo("")});process.env.NODE_ENV!=="production"&&(eo=eo||!!de);let $e={csp:ee,autoInsertSpaceInButton:n,alert:r,anchor:l,locale:i||$,direction:c,space:p,splitter:m,virtual:g,popupMatchSelectWidth:S??f,popupOverflow:y,getPrefixCls:lo,iconPrefixCls:Z,theme:de,segmented:B,statistic:me,spin:ge,calendar:Le,carousel:O,cascader:fe,collapse:J,typography:st,checkbox:ct,descriptions:pt,divider:mt,drawer:gt,skeleton:ft,steps:dt,image:Ct,input:Mt,textArea:Rt,layout:ut,list:St,mentions:yt,modal:xt,progress:kt,result:Pt,slider:bt,breadcrumb:ht,menu:Tt,pagination:vt,empty:wt,badge:Lt,radio:$t,rate:At,switch:zt,transfer:It,avatar:Nt,message:Et,tag:Ht,table:Dt,card:Ft,tabs:Bt,timeline:Ot,timePicker:Wt,upload:jt,notification:Vt,tree:Gt,colorPicker:Xt,datePicker:Ut,rangePicker:_t,flex:qt,wave:Kt,dropdown:Qt,warning:Yt,tour:Jt,variant:Zt,inputNumber:er,treeSelect:or};process.env.NODE_ENV!=="production"&&A("ConfigProvider")(!("autoInsertSpaceInButton"in e),"deprecated","`autoInsertSpaceInButton` is deprecated. Please use `{ button: { autoInsertSpace: boolean }}` instead.");let W={...k};Object.keys($e).forEach(u=>{$e[u]!==void 0&&(W[u]=$e[u]);}),en.forEach(u=>{let T=e[u];T&&(W[u]=T);}),typeof n<"u"&&(W.button={autoInsertSpace:n,...W.button});let j=qr(()=>W,W,(u,T)=>{let V=Object.keys(u),G=Object.keys(T);return V.length!==G.length||V.some(Ce=>u[Ce]!==T[Ce])}),tr=d.useMemo(()=>({prefixCls:Z,csp:ee}),[Z,ee]),x=d.createElement(d.Fragment,null,d.createElement(_o,{dropdownMatchSelectWidth:f}),o),so=d.useMemo(()=>merge(D.Form?.defaultValidateMessages||{},j.locale?.Form?.defaultValidateMessages||{},j.form?.validateMessages||{},a?.validateMessages||{}),[j,a?.validateMessages]);Object.keys(so).length>0&&(x=d.createElement(go.Provider,{value:so},x)),i&&(x=d.createElement(xo,{locale:i,_ANT_MARK__:Ee},x)),(x=d.createElement(Yr.Provider,{value:tr},x)),s&&(x=d.createElement(zo,{size:s},x)),x=d.createElement(Ze,null,x);let rr=d.useMemo(()=>{let{algorithm:u,token:T,components:V,cssVar:G,...Ce}=de||{},co=u&&(!Array.isArray(u)||u.length>0)?createTheme(u):ke,Ae={};Object.entries(V||{}).forEach(([nr,ir])=>{let M={...ir};"algorithm"in M&&(M.algorithm===true?M.theme=co:(Array.isArray(M.algorithm)||typeof M.algorithm=="function")&&(M.theme=createTheme(M.algorithm)),delete M.algorithm),Ae[nr]=M;});let po={...w,...T};return {...Ce,theme:co,token:po,components:Ae,override:{override:po,...Ae},cssVar:G}},[de]);return v&&(x=d.createElement(re.Provider,{value:rr},x)),j.warning&&(x=d.createElement(Ie.Provider,{value:j.warning},x)),H!==void 0&&(x=d.createElement($o,{disabled:H},x)),d.createElement(C.Provider,{value:j},x)},Q=e=>{let o=d.useContext(C),t=d.useContext(oe);return d.createElement(sn,{parentContext:o,legacyLocale:t,...e})};Q.ConfigContext=C;Q.SizeContext=ie;Q.config=ln;Q.useConfig=No;Object.defineProperty(Q,"SizeContext",{get:()=>(X(false,"ConfigProvider","ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."),ie)});process.env.NODE_ENV!=="production"&&(Q.displayName="ConfigProvider");var cn=e=>{let{prefixCls:o,className:t,style:n,size:r,shape:l}=e,a=oo({[`${o}-lg`]:r==="large",[`${o}-sm`]:r==="small"}),i=oo({[`${o}-circle`]:l==="circle",[`${o}-square`]:l==="square",[`${o}-round`]:l==="round"}),s=d.useMemo(()=>typeof r=="number"?{width:r,height:r,lineHeight:`${r}px`}:{},[r]);return d.createElement("span",{className:oo(o,a,i,t),style:{...s,...n}})},I=cn;var gn=new Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),we=e=>({height:e,lineHeight:unit(e)}),Y=e=>({width:e,...we(e)}),fn=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:gn,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),to=(e,o)=>({width:o(e).mul(5).equal(),minWidth:o(e).mul(5).equal(),...we(e)}),dn=e=>{let{skeletonAvatarCls:o,gradientFromColor:t,controlHeight:n,controlHeightLG:r,controlHeightSM:l}=e;return {[o]:{display:"inline-block",verticalAlign:"top",background:t,...Y(n)},[`${o}${o}-circle`]:{borderRadius:"50%"},[`${o}${o}-lg`]:{...Y(r)},[`${o}${o}-sm`]:{...Y(l)}}},Cn=e=>{let{controlHeight:o,borderRadiusSM:t,skeletonInputCls:n,controlHeightLG:r,controlHeightSM:l,gradientFromColor:a,calc:i}=e;return {[n]:{display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,...to(o,i)},[`${n}-lg`]:{...to(r,i)},[`${n}-sm`]:{...to(l,i)}}},Qo=e=>({width:e,...we(e)}),un=e=>{let{skeletonImageCls:o,imageSizeBase:t,gradientFromColor:n,borderRadiusSM:r,calc:l}=e;return {[o]:{display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:n,borderRadius:r,...Qo(l(t).mul(2).equal()),[`${o}-path`]:{fill:"#bfbfbf"},[`${o}-svg`]:{...Qo(t),maxWidth:l(t).mul(4).equal(),maxHeight:l(t).mul(4).equal()},[`${o}-svg${o}-svg-circle`]:{borderRadius:"50%"}},[`${o}${o}-circle`]:{borderRadius:"50%"}}},ro=(e,o,t)=>{let{skeletonButtonCls:n}=e;return {[`${t}${n}-circle`]:{width:o,minWidth:o,borderRadius:"50%"},[`${t}${n}-round`]:{borderRadius:o}}},no=(e,o)=>({width:o(e).mul(2).equal(),minWidth:o(e).mul(2).equal(),...we(e)}),Sn=e=>{let{borderRadiusSM:o,skeletonButtonCls:t,controlHeight:n,controlHeightLG:r,controlHeightSM:l,gradientFromColor:a,calc:i}=e;return {[t]:{display:"inline-block",verticalAlign:"top",background:a,borderRadius:o,width:i(n).mul(2).equal(),minWidth:i(n).mul(2).equal(),...no(n,i)},...ro(e,n,t),[`${t}-lg`]:{...no(r,i)},...ro(e,r,`${t}-lg`),[`${t}-sm`]:{...no(l,i)},...ro(e,l,`${t}-sm`)}},yn=e=>{let{componentCls:o,skeletonAvatarCls:t,skeletonTitleCls:n,skeletonParagraphCls:r,skeletonButtonCls:l,skeletonInputCls:a,skeletonImageCls:i,controlHeight:s,controlHeightLG:c,controlHeightSM:p,gradientFromColor:m,padding:g,marginSM:f,borderRadius:S,titleHeight:y,blockRadius:$,paragraphLiHeight:k,controlHeightXS:E,paragraphMarginTop:v}=e;return {[o]:{display:"table",width:"100%",[`${o}-header`]:{display:"table-cell",paddingInlineEnd:g,verticalAlign:"top",[t]:{display:"inline-block",verticalAlign:"top",background:m,...Y(s)},[`${t}-circle`]:{borderRadius:"50%"},[`${t}-lg`]:{...Y(c)},[`${t}-sm`]:{...Y(p)}},[`${o}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[n]:{width:"100%",height:y,background:m,borderRadius:$,[`+ ${r}`]:{marginBlockStart:p}},[r]:{padding:0,"> li":{width:"100%",height:k,listStyle:"none",background:m,borderRadius:$,"+ li":{marginBlockStart:E}}},[`${r}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${o}-content`]:{[`${n}, ${r} > li`]:{borderRadius:S}}},[`${o}-with-avatar ${o}-content`]:{[n]:{marginBlockStart:f,[`+ ${r}`]:{marginBlockStart:v}}},[`${o}${o}-element`]:{display:"inline-block",width:"auto",...Sn(e),...dn(e),...Cn(e),...un(e)},[`${o}${o}-block`]:{width:"100%",[l]:{width:"100%"},[a]:{width:"100%"}},[`${o}${o}-active`]:{[`
|
|
41
|
+
${n},
|
|
42
|
+
${r} > li,
|
|
43
|
+
${t},
|
|
44
|
+
${l},
|
|
45
|
+
${a},
|
|
46
|
+
${i}
|
|
47
|
+
`]:{...fn(e)}}}},xn=e=>{let{colorFillContent:o,colorFill:t}=e,n=o,r=t;return {color:n,colorGradientEnd:r,gradientFromColor:n,gradientToColor:r,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},h=Ye("Skeleton",e=>{let{componentCls:o,calc:t}=e,n=mergeToken(e,{skeletonAvatarCls:`${o}-avatar`,skeletonTitleCls:`${o}-title`,skeletonParagraphCls:`${o}-paragraph`,skeletonButtonCls:`${o}-button`,skeletonInputCls:`${o}-input`,skeletonImageCls:`${o}-image`,imageSizeBase:t(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return [yn(n)]},xn,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]});var bn=e=>{let{prefixCls:o,className:t,rootClassName:n,active:r,shape:l="circle",size:a="default"}=e,{getPrefixCls:i}=d.useContext(C),s=i("skeleton",o),[c,p,m]=h(s),g=Pn(e,["prefixCls","className"]),f=oo(s,`${s}-element`,{[`${s}-active`]:r},t,n,p,m);return c(d.createElement("div",{className:f},d.createElement(I,{prefixCls:`${s}-avatar`,shape:l,size:a,...g})))},Yo=bn;var vn=e=>{let{prefixCls:o,className:t,rootClassName:n,active:r,block:l=false,size:a="default"}=e,{getPrefixCls:i}=d.useContext(C),s=i("skeleton",o),[c,p,m]=h(s),g=Pn(e,["prefixCls"]),f=oo(s,`${s}-element`,{[`${s}-active`]:r,[`${s}-block`]:l},t,n,p,m);return c(d.createElement("div",{className:f},d.createElement(I,{prefixCls:`${s}-button`,size:a,...g})))},Jo=vn;var Mn="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",Rn=e=>{let{prefixCls:o,className:t,rootClassName:n,style:r,active:l}=e,{getPrefixCls:a}=d.useContext(C),i=a("skeleton",o),[s,c,p]=h(i),m=oo(i,`${i}-element`,{[`${i}-active`]:l},t,n,c,p);return s(d.createElement("div",{className:m},d.createElement("div",{className:oo(`${i}-image`,t),style:r},d.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${i}-image-svg`},d.createElement("title",null,"Image placeholder"),d.createElement("path",{d:Mn,className:`${i}-image-path`})))))},et=Rn;var $n=e=>{let{prefixCls:o,className:t,rootClassName:n,active:r,block:l,size:a="default"}=e,{getPrefixCls:i}=d.useContext(C),s=i("skeleton",o),[c,p,m]=h(s),g=Pn(e,["prefixCls"]),f=oo(s,`${s}-element`,{[`${s}-active`]:r,[`${s}-block`]:l},t,n,p,m);return c(d.createElement("div",{className:f},d.createElement(I,{prefixCls:`${s}-input`,size:a,...g})))},ot=$n;var An=e=>{let{prefixCls:o,className:t,rootClassName:n,style:r,active:l,children:a}=e,{getPrefixCls:i}=d.useContext(C),s=i("skeleton",o),[c,p,m]=h(s),g=oo(s,`${s}-element`,{[`${s}-active`]:l},p,t,n,m);return c(d.createElement("div",{className:g},d.createElement("div",{className:oo(`${s}-image`,t),style:r},a)))},rt=An;var In=(e,o)=>{let{width:t,rows:n=2}=o;if(Array.isArray(t))return t[e];if(n-1===e)return t},Nn=e=>{let{prefixCls:o,className:t,style:n,rows:r}=e,l=[...new Array(r)].map((a,i)=>d.createElement("li",{key:i,style:{width:In(i,e)}}));return d.createElement("ul",{className:oo(o,t),style:n},l)},nt=Nn;var Hn=({prefixCls:e,className:o,width:t,style:n})=>d.createElement("h3",{className:oo(e,o),style:{width:t,...n}}),at=Hn;function ao(e){return e&&typeof e=="object"?e:{}}function Fn(e,o){return e&&!o?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Bn(e,o){return !e&&o?{width:"38%"}:e&&o?{width:"50%"}:{}}function On(e,o){let t={};return (!e||!o)&&(t.width="61%"),!e&&o?t.rows=3:t.rows=2,t}var F=e=>{let{prefixCls:o,loading:t,className:n,rootClassName:r,style:l,children:a,avatar:i=false,title:s=true,paragraph:c=true,active:p,round:m}=e,{getPrefixCls:g,direction:f,skeleton:S}=d.useContext(C),y=g("skeleton",o),[$,k,E]=h(y);if(t||!("loading"in e)){let v=!!i,H=!!s,B=!!c,me;if(v){let O={prefixCls:`${y}-avatar`,...Fn(H,B),...ao(i)};me=d.createElement("div",{className:`${y}-header`},d.createElement(I,{...O}));}let ge;if(H||B){let O;if(H){let J={prefixCls:`${y}-title`,...Bn(v,B),...ao(s)};O=d.createElement(at,{...J});}let fe;if(B){let J={prefixCls:`${y}-paragraph`,...On(v,H),...ao(c)};fe=d.createElement(nt,{...J});}ge=d.createElement("div",{className:`${y}-content`},O,fe);}let Le=oo(y,{[`${y}-with-avatar`]:v,[`${y}-active`]:p,[`${y}-rtl`]:f==="rtl",[`${y}-round`]:m},S?.className,n,r,k,E);return $(d.createElement("div",{className:Le,style:{...S?.style,...l}},me,ge))}return a??null};F.Button=Jo;F.Avatar=Yo;F.Input=ot;F.Image=et;F.Node=rt;process.env.NODE_ENV!=="production"&&(F.displayName="Skeleton");var lt=F;var $s=lt;
|
|
48
|
+
export{$s as default};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { GetDefaultToken } from '../../theme/internal';
|
|
2
|
+
export type ComponentToken = {
|
|
3
|
+
/** @deprecated use gradientFromColor instead. */
|
|
4
|
+
color: string;
|
|
5
|
+
/** @deprecated use gradientToColor instead. */
|
|
6
|
+
colorGradientEnd: string;
|
|
7
|
+
/**
|
|
8
|
+
* @desc 渐变色起点颜色
|
|
9
|
+
* @descEN Start color of gradient
|
|
10
|
+
*/
|
|
11
|
+
gradientFromColor: string;
|
|
12
|
+
/**
|
|
13
|
+
* @desc 渐变色终点颜色
|
|
14
|
+
* @descEN End color of gradient
|
|
15
|
+
*/
|
|
16
|
+
gradientToColor: string;
|
|
17
|
+
/**
|
|
18
|
+
* @desc 标题骨架屏高度
|
|
19
|
+
* @descEN Height of title skeleton
|
|
20
|
+
*/
|
|
21
|
+
titleHeight: number | string;
|
|
22
|
+
/**
|
|
23
|
+
* @desc 骨架屏圆角
|
|
24
|
+
* @descEN Border radius of skeleton
|
|
25
|
+
*/
|
|
26
|
+
blockRadius: number;
|
|
27
|
+
/**
|
|
28
|
+
* @desc 段落骨架屏上间距
|
|
29
|
+
* @descEN Margin top of paragraph skeleton
|
|
30
|
+
*/
|
|
31
|
+
paragraphMarginTop: number;
|
|
32
|
+
/**
|
|
33
|
+
* @desc 段落骨架屏单行高度
|
|
34
|
+
* @descEN Line height of paragraph skeleton
|
|
35
|
+
*/
|
|
36
|
+
paragraphLiHeight: number;
|
|
37
|
+
};
|
|
38
|
+
export declare const prepareComponentToken: GetDefaultToken<'Skeleton'>;
|
|
39
|
+
declare const _default: (prefixCls: string, rootCls?: string) => readonly [(node: React.ReactElement) => React.ReactElement, string, string];
|
|
40
|
+
export default _default;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import {createTheme,Keyframes,useCacheToken,unit}from'@ant-design/cssinjs';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import*as be from'react';import be__default,{useContext}from'react';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';function _(e){return (e+8)/e}function A(e){let o=new Array(10).fill(null).map((r,n)=>{let t=n-1,l=e*Math.E**(t/5),i=n>1?Math.floor(l):Math.ceil(l);return Math.floor(i/2)*2});return o[1]=e,o.map(r=>({size:r,lineHeight:_(r)}))}var K={version:"0.0.2"};var J=K.version;var z={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={...z,colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
2
|
+
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
3
|
+
'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:false,motion:true},u=ue;function L(e,{generateColorPalettes:o,generateNeutralColorPalettes:r}){let{colorSuccess:n,colorWarning:t,colorError:l,colorInfo:i,colorPrimary:a,colorBgBase:m,colorTextBase:c}=e,s=o(a),p=o(n),g=o(t),d=o(l),C=o(i),H=r(m,c),b=e.colorLink||e.colorInfo,k=o(b),w=new TinyColor(d[1]).mix(new TinyColor(d[3]),50).toHexString();return {...H,colorPrimaryBg:s[1],colorPrimaryBgHover:s[2],colorPrimaryBorder:s[3],colorPrimaryBorderHover:s[4],colorPrimaryHover:s[5],colorPrimary:s[6],colorPrimaryActive:s[7],colorPrimaryTextHover:s[8],colorPrimaryText:s[9],colorPrimaryTextActive:s[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:d[1],colorErrorBgHover:d[2],colorErrorBgFilledHover:w,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:g[1],colorWarningBgHover:g[2],colorWarningBorder:g[3],colorWarningBorderHover:g[4],colorWarningHover:g[4],colorWarning:g[6],colorWarningActive:g[7],colorWarningTextHover:g[8],colorWarningText:g[9],colorWarningTextActive:g[10],colorInfoBg:C[1],colorInfoBgHover:C[2],colorInfoBorder:C[3],colorInfoBorderHover:C[4],colorInfoHover:C[4],colorInfo:C[6],colorInfoActive:C[7],colorInfoTextHover:C[8],colorInfoText:C[9],colorInfoTextActive:C[10],colorLinkHover:k[4],colorLink:k[6],colorLinkActive:k[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var Se=e=>{let o=e,r=e,n=e,t=e;return e<6&&e>=5?o=e+1:e<16&&e>=6?o=e+2:e>=16&&(o=16),e<7&&e>=5?r=4:e<8&&e>=7?r=5:e<14&&e>=8?r=6:e<16&&e>=14?r=7:e>=16&&(r=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?t=4:e>=8&&(t=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:r,borderRadiusLG:o,borderRadiusOuter:t}},Y=Se;function B(e){let{motionUnit:o,motionBase:r,borderRadius:n,lineWidth:t}=e;return {motionDurationFast:`${(r+o).toFixed(1)}s`,motionDurationMid:`${(r+o*2).toFixed(1)}s`,motionDurationSlow:`${(r+o*3).toFixed(1)}s`,lineWidthBold:t+1,...Y(n)}}var ye=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},Z=ye;var ke=e=>{let o=A(e),r=o.map(s=>s.size),n=o.map(s=>s.lineHeight),t=r[1],l=r[0],i=r[2],a=n[1],m=n[0],c=n[2];return {fontSizeSM:l,fontSize:t,fontSizeLG:i,fontSizeXL:r[3],fontSizeHeading1:r[6],fontSizeHeading2:r[5],fontSizeHeading3:r[4],fontSizeHeading4:r[3],fontSizeHeading5:r[2],lineHeight:a,lineHeightLG:c,lineHeightSM:m,fontHeight:Math.round(a*t),fontHeightLG:Math.round(c*i),fontHeightSM:Math.round(m*l),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},ee=ke;function R(e){let{sizeUnit:o,sizeStep:r}=e;return {sizeXXL:o*(r+8),sizeXL:o*(r+4),sizeLG:o*(r+2),sizeMD:o*(r+1),sizeMS:o*r,size:o*r,sizeSM:o*(r-1),sizeXS:o*(r-2),sizeXXS:o*(r-3)}}var f=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),S=(e,o)=>new TinyColor(e).darken(o).toHexString();var te=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]}},re=(e,o)=>{let r=e||"#fff",n=o||"#000";return {colorBgBase:r,colorTextBase:n,colorText:f(n,.88),colorTextSecondary:f(n,.65),colorTextTertiary:f(n,.45),colorTextQuaternary:f(n,.25),colorFill:f(n,.15),colorFillSecondary:f(n,.06),colorFillTertiary:f(n,.04),colorFillQuaternary:f(n,.02),colorBgSolid:f(n,1),colorBgSolidHover:f(n,.75),colorBgSolidActive:f(n,.95),colorBgLayout:S(r,4),colorBgContainer:S(r,0),colorBgElevated:S(r,0),colorBgSpotlight:f(n,.85),colorBgBlur:"transparent",colorBorder:S(r,15),colorBorderSecondary:S(r,6)}};function D(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys(z).map(r=>{let n=e[r]===presetPrimaryColors[r]?presetPalettes[r]:generate(e[r]);return new Array(10).fill(1).reduce((t,l,i)=>(t[`${r}-${i+1}`]=n[i],t[`${r}${i+1}`]=n[i],t),{})}).reduce((r,n)=>(r={...r,...n},r),{});return {...e,...o,...L(e,{generateColorPalettes:te,generateNeutralColorPalettes:re}),...ee(e.fontSize),...R(e),...Z(e),...B(e)}}var ne=createTheme(D),ie={token:u,override:{override:u},hashed:true},O=be__default.createContext(ie);function G(e){return e>=0&&e<=255}function Pe(e,o){let{r,g:n,b:t,a:l}=new TinyColor(e).toRgb();if(l<1)return e;let{r:i,g:a,b:m}=new TinyColor(o).toRgb();for(let c=.01;c<=1;c+=.01){let s=Math.round((r-i*(1-c))/c),p=Math.round((n-a*(1-c))/c),g=Math.round((t-m*(1-c))/c);if(G(s)&&G(p)&&G(g))return new TinyColor({r:s,g:p,b:g,a:Math.round(c*100)/100}).toRgbString()}return new TinyColor({r,g:n,b:t,a:1}).toRgbString()}var x=Pe;function P(e){let{override:o,...r}=e,n={...o};Object.keys(u).forEach(g=>{delete n[g];});let t={...r,...n},l=480,i=576,a=768,m=992,c=1200,s=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:l,screenXSMin:l,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:a-1,screenMD:a,screenMDMin:a,screenMDMax:m-1,screenLG:m,screenLGMin:m,screenLGMax:c-1,screenXL:c,screenXLMin:c,screenXLMax:s-1,screenXXL:s,screenXXLMin:s,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
|
16
|
+
0 1px 2px -2px ${new TinyColor("rgba(0, 0, 0, 0.16)").toRgbString()},
|
|
17
|
+
0 3px 6px 0 ${new TinyColor("rgba(0, 0, 0, 0.12)").toRgbString()},
|
|
18
|
+
0 5px 12px 4px ${new TinyColor("rgba(0, 0, 0, 0.09)").toRgbString()}
|
|
19
|
+
`,boxShadowDrawerRight:`
|
|
20
|
+
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
21
|
+
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
22
|
+
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
23
|
+
`,boxShadowDrawerLeft:`
|
|
24
|
+
6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
25
|
+
3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
26
|
+
9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
27
|
+
`,boxShadowDrawerUp:`
|
|
28
|
+
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
29
|
+
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
30
|
+
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
31
|
+
`,boxShadowDrawerDown:`
|
|
32
|
+
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
33
|
+
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
34
|
+
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
35
|
+
`,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)",...n}}var X={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},He={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},le=(e,o,r)=>{let n=r.getDerivativeToken(e),{override:t,...l}=o,i={...n,override:t};return i=P(i),l&&Object.entries(l).forEach(([a,m])=>{let{theme:c,...s}=m,p=s;c&&(p=le({...i,...s},{override:s},c)),i[a]=p;}),i};function T(){let{token:e,hashed:o,theme:r,override:n,cssVar:t}=be__default.useContext(O),l=`${J}-${o||""}`,i=r||ne,[a,m,c]=useCacheToken(i,[u,e],{salt:l,override:n,getComputedToken:le,formatToken:P,cssVar:t&&{prefix:t.prefix,key:t.key,unitless:X,ignore:He,preserve:we}});return [i,c,o?m:"",a,t]}var ae="ant",j="anticon";var Ae=(e,o)=>o||(e?`${ae}-${e}`:ae),v=be.createContext({getPrefixCls:Ae,iconPrefixCls:j}),{Consumer:Eo}=v;var ze=()=>({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 ce=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"}}}),pe=(e,o,r,n)=>{let t=`[class^="${o}"], [class*=" ${o}"]`,l=r?`.${r}`:t,i={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},a={};return n!==false&&(a={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[l]:{...a,...i,[t]:i}}};var W=e=>({[`.${e}`]:{...ze(),[`.${e} .${e}-icon`]:{display:"block"}}});var{genStyleHooks:N,genComponentStyleHook:Le,genSubStyleComponent:Be}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:o}=useContext(v);return {rootPrefixCls:e(),iconPrefixCls:o}},useToken:()=>{let[e,o,r,n,t]=T();return {theme:e,realToken:o,hashId:r,token:n,cssVar:t}},useCSP:()=>{let{csp:e}=useContext(v);return e??{}},getResetStyles:(e,o)=>[{"&":ce(e)},W(o?.prefix.iconPrefixCls??j)],getCommonStyle:pe,getCompUnitless:(()=>X)});var $e=new Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),M=e=>({height:e,lineHeight:unit(e)}),y=e=>({width:e,...M(e)}),De=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:$e,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),U=(e,o)=>({width:o(e).mul(5).equal(),minWidth:o(e).mul(5).equal(),...M(e)}),Oe=e=>{let{skeletonAvatarCls:o,gradientFromColor:r,controlHeight:n,controlHeightLG:t,controlHeightSM:l}=e;return {[o]:{display:"inline-block",verticalAlign:"top",background:r,...y(n)},[`${o}${o}-circle`]:{borderRadius:"50%"},[`${o}${o}-lg`]:{...y(t)},[`${o}${o}-sm`]:{...y(l)}}},Ge=e=>{let{controlHeight:o,borderRadiusSM:r,skeletonInputCls:n,controlHeightLG:t,controlHeightSM:l,gradientFromColor:i,calc:a}=e;return {[n]:{display:"inline-block",verticalAlign:"top",background:i,borderRadius:r,...U(o,a)},[`${n}-lg`]:{...U(t,a)},[`${n}-sm`]:{...U(l,a)}}},de=e=>({width:e,...M(e)}),Ee=e=>{let{skeletonImageCls:o,imageSizeBase:r,gradientFromColor:n,borderRadiusSM:t,calc:l}=e;return {[o]:{display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:n,borderRadius:t,...de(l(r).mul(2).equal()),[`${o}-path`]:{fill:"#bfbfbf"},[`${o}-svg`]:{...de(r),maxWidth:l(r).mul(4).equal(),maxHeight:l(r).mul(4).equal()},[`${o}-svg${o}-svg-circle`]:{borderRadius:"50%"}},[`${o}${o}-circle`]:{borderRadius:"50%"}}},q=(e,o,r)=>{let{skeletonButtonCls:n}=e;return {[`${r}${n}-circle`]:{width:o,minWidth:o,borderRadius:"50%"},[`${r}${n}-round`]:{borderRadius:o}}},V=(e,o)=>({width:o(e).mul(2).equal(),minWidth:o(e).mul(2).equal(),...M(e)}),Xe=e=>{let{borderRadiusSM:o,skeletonButtonCls:r,controlHeight:n,controlHeightLG:t,controlHeightSM:l,gradientFromColor:i,calc:a}=e;return {[r]:{display:"inline-block",verticalAlign:"top",background:i,borderRadius:o,width:a(n).mul(2).equal(),minWidth:a(n).mul(2).equal(),...V(n,a)},...q(e,n,r),[`${r}-lg`]:{...V(t,a)},...q(e,t,`${r}-lg`),[`${r}-sm`]:{...V(l,a)},...q(e,l,`${r}-sm`)}},je=e=>{let{componentCls:o,skeletonAvatarCls:r,skeletonTitleCls:n,skeletonParagraphCls:t,skeletonButtonCls:l,skeletonInputCls:i,skeletonImageCls:a,controlHeight:m,controlHeightLG:c,controlHeightSM:s,gradientFromColor:p,padding:g,marginSM:d,borderRadius:C,titleHeight:H,blockRadius:b,paragraphLiHeight:k,controlHeightXS:w,paragraphMarginTop:fe}=e;return {[o]:{display:"table",width:"100%",[`${o}-header`]:{display:"table-cell",paddingInlineEnd:g,verticalAlign:"top",[r]:{display:"inline-block",verticalAlign:"top",background:p,...y(m)},[`${r}-circle`]:{borderRadius:"50%"},[`${r}-lg`]:{...y(c)},[`${r}-sm`]:{...y(s)}},[`${o}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[n]:{width:"100%",height:H,background:p,borderRadius:b,[`+ ${t}`]:{marginBlockStart:s}},[t]:{padding:0,"> li":{width:"100%",height:k,listStyle:"none",background:p,borderRadius:b,"+ li":{marginBlockStart:w}}},[`${t}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${o}-content`]:{[`${n}, ${t} > li`]:{borderRadius:C}}},[`${o}-with-avatar ${o}-content`]:{[n]:{marginBlockStart:d,[`+ ${t}`]:{marginBlockStart:fe}}},[`${o}${o}-element`]:{display:"inline-block",width:"auto",...Xe(e),...Oe(e),...Ge(e),...Ee(e)},[`${o}${o}-block`]:{width:"100%",[l]:{width:"100%"},[i]:{width:"100%"}},[`${o}${o}-active`]:{[`
|
|
36
|
+
${n},
|
|
37
|
+
${t} > li,
|
|
38
|
+
${r},
|
|
39
|
+
${l},
|
|
40
|
+
${i},
|
|
41
|
+
${a}
|
|
42
|
+
`]:{...De(e)}}}},We=e=>{let{colorFillContent:o,colorFill:r}=e,n=o,t=r;return {color:n,colorGradientEnd:t,gradientFromColor:n,gradientToColor:t,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},bt=N("Skeleton",e=>{let{componentCls:o,calc:r}=e,n=mergeToken(e,{skeletonAvatarCls:`${o}-avatar`,skeletonTitleCls:`${o}-title`,skeletonParagraphCls:`${o}-paragraph`,skeletonButtonCls:`${o}-button`,skeletonInputCls:`${o}-input`,skeletonImageCls:`${o}-image`,imageSizeBase:r(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return [je(n)]},We,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]});export{bt as default,We as prepareComponentToken};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { SliderProps as RcSliderProps } from 'rc-slider';
|
|
2
|
+
import type { DirectionType } from '../config-provider';
|
|
3
|
+
export interface SliderInternalContextProps {
|
|
4
|
+
handleRender?: RcSliderProps['handleRender'];
|
|
5
|
+
direction?: DirectionType;
|
|
6
|
+
}
|
|
7
|
+
/** @private Internal context. Do not use in your production. */
|
|
8
|
+
declare const SliderInternalContext: import("react").Context<SliderInternalContextProps>;
|
|
9
|
+
export default SliderInternalContext;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {createContext}from'react';var r=createContext({}),o=r;export{o as default};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { SliderRef } from 'rc-slider/lib/Slider';
|
|
3
|
+
import type { TooltipProps } from '../tooltip';
|
|
4
|
+
export type SliderTooltipProps = TooltipProps & {
|
|
5
|
+
draggingDelete?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const SliderTooltip: React.ForwardRefExoticComponent<SliderTooltipProps & React.RefAttributes<SliderRef>>;
|
|
8
|
+
export default SliderTooltip;
|