@swiftcrab/crab 0.0.4 → 0.0.5
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 +1 -143
- package/package.json +7 -4
- package/es/_util/ActionButton.d.ts +0 -19
- package/es/_util/ActionButton.js +0 -47
- package/es/_util/ContextIsolator.d.ts +0 -3
- package/es/_util/ContextIsolator.js +0 -40
- package/es/_util/PurePanel.d.ts +0 -9
- package/es/_util/PurePanel.js +0 -40
- package/es/_util/aria-data-attrs.d.ts +0 -4
- package/es/_util/aria-data-attrs.js +0 -0
- package/es/_util/capitalize.d.ts +0 -1
- package/es/_util/capitalize.js +0 -1
- package/es/_util/colors.d.ts +0 -13
- package/es/_util/colors.js +0 -1
- package/es/_util/easings.d.ts +0 -1
- package/es/_util/easings.js +0 -1
- package/es/_util/extendsObject.d.ts +0 -3
- package/es/_util/extendsObject.js +0 -1
- package/es/_util/gapSize.d.ts +0 -3
- package/es/_util/gapSize.js +0 -1
- package/es/_util/getAllowClear.d.ts +0 -4
- package/es/_util/getAllowClear.js +0 -1
- package/es/_util/getRenderPropValue.d.ts +0 -3
- package/es/_util/getRenderPropValue.js +0 -1
- package/es/_util/getScroll.d.ts +0 -3
- package/es/_util/getScroll.js +0 -1
- package/es/_util/hooks/useClosable.d.ts +0 -31
- package/es/_util/hooks/useClosable.js +0 -1
- package/es/_util/hooks/useForceUpdate.d.ts +0 -2
- package/es/_util/hooks/useForceUpdate.js +0 -1
- package/es/_util/hooks/useMultipleSelect.d.ts +0 -6
- package/es/_util/hooks/useMultipleSelect.js +0 -1
- package/es/_util/hooks/usePatchElement.d.ts +0 -5
- package/es/_util/hooks/usePatchElement.js +0 -1
- package/es/_util/hooks/useProxyImperativeHandle.d.ts +0 -4
- package/es/_util/hooks/useProxyImperativeHandle.js +0 -1
- package/es/_util/hooks/useSyncState.d.ts +0 -3
- package/es/_util/hooks/useSyncState.js +0 -1
- package/es/_util/hooks/useUniqueMemo.d.ts +0 -6
- package/es/_util/hooks/useUniqueMemo.js +0 -1
- package/es/_util/hooks/useZIndex.d.ts +0 -8
- package/es/_util/hooks/useZIndex.js +0 -35
- package/es/_util/isNumeric.d.ts +0 -2
- package/es/_util/isNumeric.js +0 -1
- package/es/_util/isPrimitive.d.ts +0 -2
- package/es/_util/isPrimitive.js +0 -1
- package/es/_util/motion.d.ts +0 -7
- package/es/_util/motion.js +0 -40
- package/es/_util/placements.d.ts +0 -21
- package/es/_util/placements.js +0 -1
- package/es/_util/reactNode.d.ts +0 -7
- package/es/_util/reactNode.js +0 -1
- package/es/_util/responsiveObserver.d.ts +0 -22
- package/es/_util/responsiveObserver.js +0 -35
- package/es/_util/scrollTo.d.ts +0 -10
- package/es/_util/scrollTo.js +0 -1
- package/es/_util/statusUtils.d.ts +0 -6
- package/es/_util/statusUtils.js +0 -1
- package/es/_util/styleChecker.d.ts +0 -3
- package/es/_util/styleChecker.js +0 -1
- package/es/_util/throttleByAnimationFrame.d.ts +0 -5
- package/es/_util/throttleByAnimationFrame.js +0 -1
- package/es/_util/toList.d.ts +0 -1
- package/es/_util/toList.js +0 -1
- package/es/_util/transKeys.d.ts +0 -3
- package/es/_util/transKeys.js +0 -1
- package/es/_util/type.d.ts +0 -54
- package/es/_util/type.js +0 -0
- package/es/_util/warning.d.ts +0 -31
- package/es/_util/warning.js +0 -1
- package/es/_util/wave/WaveEffect.d.ts +0 -10
- package/es/_util/wave/WaveEffect.js +0 -40
- package/es/_util/wave/index.d.ts +0 -9
- package/es/_util/wave/index.js +0 -40
- package/es/_util/wave/interface.d.ts +0 -11
- package/es/_util/wave/interface.js +0 -40
- package/es/_util/wave/style.d.ts +0 -7
- package/es/_util/wave/style.js +0 -35
- package/es/_util/wave/useWave.d.ts +0 -4
- package/es/_util/wave/useWave.js +0 -40
- package/es/_util/wave/util.d.ts +0 -2
- package/es/_util/wave/util.js +0 -1
- package/es/_util/zindexContext.d.ts +0 -3
- package/es/_util/zindexContext.js +0 -1
- package/es/affix/index.d.ts +0 -22
- package/es/affix/index.js +0 -40
- package/es/affix/style/index.d.ts +0 -11
- package/es/affix/style/index.js +0 -35
- package/es/affix/utils.d.ts +0 -4
- package/es/affix/utils.js +0 -1
- package/es/alert/Alert.d.ts +0 -42
- package/es/alert/Alert.js +0 -42
- package/es/alert/ErrorBoundary.d.ts +0 -24
- package/es/alert/ErrorBoundary.js +0 -42
- package/es/alert/index.d.ts +0 -8
- package/es/alert/index.js +0 -42
- package/es/alert/style/index.d.ts +0 -26
- package/es/alert/style/index.js +0 -37
- package/es/anchor/Anchor.d.ts +0 -59
- package/es/anchor/Anchor.js +0 -40
- package/es/anchor/AnchorLink.d.ts +0 -14
- package/es/anchor/AnchorLink.js +0 -40
- package/es/anchor/context.d.ts +0 -4
- package/es/anchor/context.js +0 -1
- package/es/anchor/index.d.ts +0 -10
- package/es/anchor/index.js +0 -40
- package/es/anchor/style/index.d.ts +0 -16
- package/es/anchor/style/index.js +0 -35
- package/es/app/context.d.ts +0 -16
- package/es/app/context.js +0 -1
- package/es/app/index.d.ts +0 -16
- package/es/app/index.js +0 -76
- package/es/app/style/index.d.ts +0 -6
- package/es/app/style/index.js +0 -35
- package/es/auto-complete/index.d.ts +0 -28
- package/es/auto-complete/index.js +0 -78
- package/es/avatar/AvatarContext.d.ts +0 -9
- package/es/avatar/AvatarContext.js +0 -1
- package/es/avatar/avatar.d.ts +0 -26
- package/es/avatar/avatar.js +0 -40
- package/es/avatar/group.d.ts +0 -27
- package/es/avatar/group.js +0 -49
- package/es/avatar/index.d.ts +0 -10
- package/es/avatar/index.js +0 -49
- package/es/avatar/style/index.d.ts +0 -51
- package/es/avatar/style/index.js +0 -35
- package/es/badge/Ribbon.d.ts +0 -16
- package/es/badge/Ribbon.js +0 -40
- package/es/badge/ScrollNumber.d.ts +0 -18
- package/es/badge/ScrollNumber.js +0 -40
- package/es/badge/SingleNumber.d.ts +0 -14
- package/es/badge/SingleNumber.js +0 -1
- package/es/badge/index.d.ts +0 -41
- package/es/badge/index.js +0 -40
- package/es/badge/style/index.d.ts +0 -104
- package/es/badge/style/index.js +0 -35
- package/es/badge/style/ribbon.d.ts +0 -2
- package/es/badge/style/ribbon.js +0 -35
- package/es/breadcrumb/Breadcrumb.d.ts +0 -58
- package/es/breadcrumb/Breadcrumb.js +0 -87
- package/es/breadcrumb/BreadcrumbItem.d.ts +0 -31
- package/es/breadcrumb/BreadcrumbItem.js +0 -83
- package/es/breadcrumb/BreadcrumbSeparator.d.ts +0 -4
- package/es/breadcrumb/BreadcrumbSeparator.js +0 -40
- package/es/breadcrumb/index.d.ts +0 -4
- package/es/breadcrumb/index.js +0 -87
- package/es/breadcrumb/style/index.d.ts +0 -41
- package/es/breadcrumb/style/index.js +0 -38
- package/es/breadcrumb/useItemRender.d.ts +0 -8
- package/es/breadcrumb/useItemRender.js +0 -1
- package/es/breadcrumb/useItems.d.ts +0 -6
- package/es/breadcrumb/useItems.js +0 -1
- package/es/button/IconWrapper.d.ts +0 -9
- package/es/button/IconWrapper.js +0 -1
- package/es/button/LoadingIcon.d.ts +0 -11
- package/es/button/LoadingIcon.js +0 -1
- package/es/button/button-group.d.ts +0 -12
- package/es/button/button-group.js +0 -40
- package/es/button/button.d.ts +0 -44
- package/es/button/button.js +0 -47
- package/es/button/buttonHelpers.d.ts +0 -18
- package/es/button/buttonHelpers.js +0 -1
- package/es/button/index.d.ts +0 -6
- package/es/button/index.js +0 -47
- package/es/button/style/compact.d.ts +0 -2
- package/es/button/style/compact.js +0 -47
- package/es/button/style/group.d.ts +0 -4
- package/es/button/style/group.js +0 -1
- package/es/button/style/index.d.ts +0 -4
- package/es/button/style/index.js +0 -47
- package/es/button/style/token.d.ts +0 -233
- package/es/button/style/token.js +0 -47
- package/es/calendar/Header.d.ts +0 -17
- package/es/calendar/Header.js +0 -79
- package/es/calendar/generateCalendar.d.ts +0 -44
- package/es/calendar/generateCalendar.js +0 -118
- package/es/calendar/index.d.ts +0 -10
- package/es/calendar/index.js +0 -118
- package/es/calendar/locale/ar_EG.d.ts +0 -2
- package/es/calendar/locale/ar_EG.js +0 -1
- package/es/calendar/locale/az_AZ.d.ts +0 -2
- package/es/calendar/locale/az_AZ.js +0 -1
- package/es/calendar/locale/bg_BG.d.ts +0 -2
- package/es/calendar/locale/bg_BG.js +0 -1
- package/es/calendar/locale/bn_BD.d.ts +0 -2
- package/es/calendar/locale/bn_BD.js +0 -1
- package/es/calendar/locale/by_BY.d.ts +0 -2
- package/es/calendar/locale/by_BY.js +0 -1
- package/es/calendar/locale/ca_ES.d.ts +0 -2
- package/es/calendar/locale/ca_ES.js +0 -1
- package/es/calendar/locale/cs_CZ.d.ts +0 -2
- package/es/calendar/locale/cs_CZ.js +0 -1
- package/es/calendar/locale/da_DK.d.ts +0 -2
- package/es/calendar/locale/da_DK.js +0 -1
- package/es/calendar/locale/de_DE.d.ts +0 -2
- package/es/calendar/locale/de_DE.js +0 -1
- package/es/calendar/locale/el_GR.d.ts +0 -2
- package/es/calendar/locale/el_GR.js +0 -1
- package/es/calendar/locale/en_GB.d.ts +0 -2
- package/es/calendar/locale/en_GB.js +0 -1
- package/es/calendar/locale/en_US.d.ts +0 -2
- package/es/calendar/locale/en_US.js +0 -1
- package/es/calendar/locale/es_ES.d.ts +0 -2
- package/es/calendar/locale/es_ES.js +0 -1
- package/es/calendar/locale/et_EE.d.ts +0 -2
- package/es/calendar/locale/et_EE.js +0 -1
- package/es/calendar/locale/eu_ES.d.ts +0 -2
- package/es/calendar/locale/eu_ES.js +0 -1
- package/es/calendar/locale/fa_IR.d.ts +0 -2
- package/es/calendar/locale/fa_IR.js +0 -1
- package/es/calendar/locale/fi_FI.d.ts +0 -2
- package/es/calendar/locale/fi_FI.js +0 -1
- package/es/calendar/locale/fr_BE.d.ts +0 -2
- package/es/calendar/locale/fr_BE.js +0 -1
- package/es/calendar/locale/fr_CA.d.ts +0 -2
- package/es/calendar/locale/fr_CA.js +0 -1
- package/es/calendar/locale/fr_FR.d.ts +0 -2
- package/es/calendar/locale/fr_FR.js +0 -1
- package/es/calendar/locale/ga_IE.d.ts +0 -2
- package/es/calendar/locale/ga_IE.js +0 -1
- package/es/calendar/locale/gl_ES.d.ts +0 -2
- package/es/calendar/locale/gl_ES.js +0 -1
- package/es/calendar/locale/he_IL.d.ts +0 -2
- package/es/calendar/locale/he_IL.js +0 -1
- package/es/calendar/locale/hi_IN.d.ts +0 -2
- package/es/calendar/locale/hi_IN.js +0 -1
- package/es/calendar/locale/hr_HR.d.ts +0 -2
- package/es/calendar/locale/hr_HR.js +0 -1
- package/es/calendar/locale/hu_HU.d.ts +0 -2
- package/es/calendar/locale/hu_HU.js +0 -1
- package/es/calendar/locale/id_ID.d.ts +0 -2
- package/es/calendar/locale/id_ID.js +0 -1
- package/es/calendar/locale/is_IS.d.ts +0 -2
- package/es/calendar/locale/is_IS.js +0 -1
- package/es/calendar/locale/it_IT.d.ts +0 -2
- package/es/calendar/locale/it_IT.js +0 -1
- package/es/calendar/locale/ja_JP.d.ts +0 -2
- package/es/calendar/locale/ja_JP.js +0 -1
- package/es/calendar/locale/ka_GE.d.ts +0 -2
- package/es/calendar/locale/ka_GE.js +0 -1
- package/es/calendar/locale/kk_KZ.d.ts +0 -2
- package/es/calendar/locale/kk_KZ.js +0 -1
- package/es/calendar/locale/km_KH.d.ts +0 -2
- package/es/calendar/locale/km_KH.js +0 -1
- package/es/calendar/locale/kmr_IQ.d.ts +0 -2
- package/es/calendar/locale/kmr_IQ.js +0 -1
- package/es/calendar/locale/kn_IN.d.ts +0 -2
- package/es/calendar/locale/kn_IN.js +0 -1
- package/es/calendar/locale/ko_KR.d.ts +0 -2
- package/es/calendar/locale/ko_KR.js +0 -1
- package/es/calendar/locale/lt_LT.d.ts +0 -2
- package/es/calendar/locale/lt_LT.js +0 -1
- package/es/calendar/locale/lv_LV.d.ts +0 -2
- package/es/calendar/locale/lv_LV.js +0 -1
- package/es/calendar/locale/mk_MK.d.ts +0 -2
- package/es/calendar/locale/mk_MK.js +0 -1
- package/es/calendar/locale/ml_IN.d.ts +0 -2
- package/es/calendar/locale/ml_IN.js +0 -1
- package/es/calendar/locale/mn_MN.d.ts +0 -2
- package/es/calendar/locale/mn_MN.js +0 -1
- package/es/calendar/locale/ms_MY.d.ts +0 -2
- package/es/calendar/locale/ms_MY.js +0 -1
- package/es/calendar/locale/my_MM.d.ts +0 -2
- package/es/calendar/locale/my_MM.js +0 -1
- package/es/calendar/locale/nb_NO.d.ts +0 -2
- package/es/calendar/locale/nb_NO.js +0 -1
- package/es/calendar/locale/nl_BE.d.ts +0 -2
- package/es/calendar/locale/nl_BE.js +0 -1
- package/es/calendar/locale/nl_NL.d.ts +0 -2
- package/es/calendar/locale/nl_NL.js +0 -1
- package/es/calendar/locale/pl_PL.d.ts +0 -2
- package/es/calendar/locale/pl_PL.js +0 -1
- package/es/calendar/locale/pt_BR.d.ts +0 -2
- package/es/calendar/locale/pt_BR.js +0 -1
- package/es/calendar/locale/pt_PT.d.ts +0 -2
- package/es/calendar/locale/pt_PT.js +0 -1
- package/es/calendar/locale/ro_RO.d.ts +0 -2
- package/es/calendar/locale/ro_RO.js +0 -1
- package/es/calendar/locale/ru_RU.d.ts +0 -2
- package/es/calendar/locale/ru_RU.js +0 -1
- package/es/calendar/locale/si_LK.d.ts +0 -2
- package/es/calendar/locale/si_LK.js +0 -1
- package/es/calendar/locale/sk_SK.d.ts +0 -2
- package/es/calendar/locale/sk_SK.js +0 -1
- package/es/calendar/locale/sl_SI.d.ts +0 -2
- package/es/calendar/locale/sl_SI.js +0 -1
- package/es/calendar/locale/sr_RS.d.ts +0 -2
- package/es/calendar/locale/sr_RS.js +0 -1
- package/es/calendar/locale/sv_SE.d.ts +0 -2
- package/es/calendar/locale/sv_SE.js +0 -1
- package/es/calendar/locale/ta_IN.d.ts +0 -2
- package/es/calendar/locale/ta_IN.js +0 -1
- package/es/calendar/locale/th_TH.d.ts +0 -2
- package/es/calendar/locale/th_TH.js +0 -1
- package/es/calendar/locale/tk_TK.d.ts +0 -2
- package/es/calendar/locale/tk_TK.js +0 -1
- package/es/calendar/locale/tr_TR.d.ts +0 -2
- package/es/calendar/locale/tr_TR.js +0 -1
- package/es/calendar/locale/uk_UA.d.ts +0 -2
- package/es/calendar/locale/uk_UA.js +0 -1
- package/es/calendar/locale/ur_PK.d.ts +0 -2
- package/es/calendar/locale/ur_PK.js +0 -1
- package/es/calendar/locale/uz_UZ.d.ts +0 -2
- package/es/calendar/locale/uz_UZ.js +0 -1
- package/es/calendar/locale/vi_VN.d.ts +0 -2
- package/es/calendar/locale/vi_VN.js +0 -1
- package/es/calendar/locale/zh_CN.d.ts +0 -2
- package/es/calendar/locale/zh_CN.js +0 -1
- package/es/calendar/locale/zh_TW.d.ts +0 -2
- package/es/calendar/locale/zh_TW.js +0 -1
- package/es/calendar/style/index.d.ts +0 -61
- package/es/calendar/style/index.js +0 -86
- package/es/calendar-panel/index.d.ts +0 -7
- package/es/calendar-panel/index.js +0 -40
- package/es/calendar-panel/style/index.d.ts +0 -4
- package/es/calendar-panel/style/index.js +0 -35
- package/es/calendar-panel/style/style.d.ts +0 -1
- package/es/calendar-panel/style/style.js +0 -639
- package/es/calendar-panel/types.d.ts +0 -158
- package/es/calendar-panel/types.js +0 -0
- package/es/calendar-panel/utils.d.ts +0 -39
- package/es/calendar-panel/utils.js +0 -1
- package/es/card/Card.d.ts +0 -56
- package/es/card/Card.js +0 -67
- package/es/card/Grid.d.ts +0 -9
- package/es/card/Grid.js +0 -40
- package/es/card/Meta.d.ts +0 -11
- package/es/card/Meta.js +0 -40
- package/es/card/index.d.ts +0 -13
- package/es/card/index.js +0 -67
- package/es/card/style/index.d.ts +0 -51
- package/es/card/style/index.js +0 -44
- package/es/carousel/index.d.ts +0 -27
- package/es/carousel/index.js +0 -40
- package/es/carousel/style/index.d.ts +0 -43
- package/es/carousel/style/index.js +0 -35
- package/es/cascader/Panel.d.ts +0 -12
- package/es/cascader/Panel.js +0 -49
- package/es/cascader/hooks/useBase.d.ts +0 -8
- package/es/cascader/hooks/useBase.js +0 -40
- package/es/cascader/hooks/useCheckable.d.ts +0 -2
- package/es/cascader/hooks/useCheckable.js +0 -1
- package/es/cascader/hooks/useColumnIcons.d.ts +0 -3
- package/es/cascader/hooks/useColumnIcons.js +0 -1
- package/es/cascader/index.d.ts +0 -55
- package/es/cascader/index.js +0 -87
- package/es/cascader/style/columns.d.ts +0 -4
- package/es/cascader/style/columns.js +0 -44
- package/es/cascader/style/index.d.ts +0 -51
- package/es/cascader/style/index.js +0 -44
- package/es/cascader/style/panel.d.ts +0 -2
- package/es/cascader/style/panel.js +0 -44
- package/es/checkbox/Checkbox.d.ts +0 -43
- package/es/checkbox/Checkbox.js +0 -46
- package/es/checkbox/Group.d.ts +0 -32
- package/es/checkbox/Group.js +0 -46
- package/es/checkbox/GroupContext.d.ts +0 -12
- package/es/checkbox/GroupContext.js +0 -1
- package/es/checkbox/index.d.ts +0 -11
- package/es/checkbox/index.js +0 -46
- package/es/checkbox/style/index.d.ts +0 -23
- package/es/checkbox/style/index.js +0 -41
- package/es/checkbox/useBubbleLock.d.ts +0 -7
- package/es/checkbox/useBubbleLock.js +0 -1
- package/es/clap-overflow/index.d.ts +0 -19
- package/es/clap-overflow/index.js +0 -40
- package/es/clap-overflow/style/index.d.ts +0 -16
- package/es/clap-overflow/style/index.js +0 -35
- package/es/col/index.d.ts +0 -4
- package/es/col/index.js +0 -40
- package/es/col/style/index.d.ts +0 -2
- package/es/col/style/index.js +0 -1
- package/es/collapse/Collapse.d.ts +0 -45
- package/es/collapse/Collapse.js +0 -47
- package/es/collapse/CollapsePanel.d.ts +0 -19
- package/es/collapse/CollapsePanel.js +0 -40
- package/es/collapse/index.d.ts +0 -4
- package/es/collapse/index.js +0 -47
- package/es/collapse/style/index.d.ts +0 -46
- package/es/collapse/style/index.js +0 -42
- package/es/color-picker/ColorPicker.d.ts +0 -8
- package/es/color-picker/ColorPicker.js +0 -130
- package/es/color-picker/ColorPickerPanel.d.ts +0 -9
- package/es/color-picker/ColorPickerPanel.js +0 -130
- package/es/color-picker/color.d.ts +0 -34
- package/es/color-picker/color.js +0 -1
- package/es/color-picker/components/ColorAlphaInput.d.ts +0 -9
- package/es/color-picker/components/ColorAlphaInput.js +0 -70
- package/es/color-picker/components/ColorClear.d.ts +0 -9
- package/es/color-picker/components/ColorClear.js +0 -1
- package/es/color-picker/components/ColorHexInput.d.ts +0 -9
- package/es/color-picker/components/ColorHexInput.js +0 -65
- package/es/color-picker/components/ColorHsbInput.d.ts +0 -9
- package/es/color-picker/components/ColorHsbInput.js +0 -70
- package/es/color-picker/components/ColorInput.d.ts +0 -14
- package/es/color-picker/components/ColorInput.js +0 -115
- package/es/color-picker/components/ColorPresets.d.ts +0 -12
- package/es/color-picker/components/ColorPresets.js +0 -47
- package/es/color-picker/components/ColorRgbInput.d.ts +0 -9
- package/es/color-picker/components/ColorRgbInput.js +0 -70
- package/es/color-picker/components/ColorSlider.d.ts +0 -20
- package/es/color-picker/components/ColorSlider.js +0 -61
- package/es/color-picker/components/ColorSteppers.d.ts +0 -15
- package/es/color-picker/components/ColorSteppers.js +0 -70
- package/es/color-picker/components/ColorTrigger.d.ts +0 -20
- package/es/color-picker/components/ColorTrigger.js +0 -1
- package/es/color-picker/components/PanelPicker/GradientColorBar.d.ts +0 -8
- package/es/color-picker/components/PanelPicker/GradientColorBar.js +0 -61
- package/es/color-picker/components/PanelPicker/index.d.ts +0 -3
- package/es/color-picker/components/PanelPicker/index.js +0 -130
- package/es/color-picker/components/PanelPresets.d.ts +0 -3
- package/es/color-picker/components/PanelPresets.js +0 -47
- package/es/color-picker/context.d.ts +0 -38
- package/es/color-picker/context.js +0 -1
- package/es/color-picker/hooks/useModeColor.d.ts +0 -17
- package/es/color-picker/hooks/useModeColor.js +0 -1
- package/es/color-picker/index.d.ts +0 -4
- package/es/color-picker/index.js +0 -130
- package/es/color-picker/interface.d.ts +0 -73
- package/es/color-picker/interface.js +0 -1
- package/es/color-picker/style/color-block.d.ts +0 -8
- package/es/color-picker/style/color-block.js +0 -1
- package/es/color-picker/style/index.d.ts +0 -62
- package/es/color-picker/style/index.js +0 -35
- package/es/color-picker/style/input.d.ts +0 -5
- package/es/color-picker/style/input.js +0 -1
- package/es/color-picker/style/picker.d.ts +0 -5
- package/es/color-picker/style/picker.js +0 -1
- package/es/color-picker/style/presets.d.ts +0 -5
- package/es/color-picker/style/presets.js +0 -1
- package/es/color-picker/style/slider.d.ts +0 -5
- package/es/color-picker/style/slider.js +0 -1
- package/es/color-picker/util.d.ts +0 -15
- package/es/color-picker/util.js +0 -1
- package/es/config-provider/DisabledContext.d.ts +0 -8
- package/es/config-provider/DisabledContext.js +0 -1
- package/es/config-provider/MotionWrapper.d.ts +0 -5
- package/es/config-provider/MotionWrapper.js +0 -35
- package/es/config-provider/PropWarning.d.ts +0 -6
- package/es/config-provider/PropWarning.js +0 -1
- package/es/config-provider/SizeContext.d.ts +0 -9
- package/es/config-provider/SizeContext.js +0 -1
- package/es/config-provider/UnstableContext.d.ts +0 -10
- package/es/config-provider/UnstableContext.js +0 -1
- package/es/config-provider/context.d.ts +0 -248
- package/es/config-provider/context.js +0 -1
- package/es/config-provider/cssVariables.d.ts +0 -3
- package/es/config-provider/cssVariables.js +0 -6
- package/es/config-provider/defaultRenderEmpty.d.ts +0 -8
- package/es/config-provider/defaultRenderEmpty.js +0 -41
- package/es/config-provider/hooks/useCSSVarCls.d.ts +0 -7
- package/es/config-provider/hooks/useCSSVarCls.js +0 -35
- package/es/config-provider/hooks/useConfig.d.ts +0 -5
- package/es/config-provider/hooks/useConfig.js +0 -1
- package/es/config-provider/hooks/useSize.d.ts +0 -3
- package/es/config-provider/hooks/useSize.js +0 -1
- package/es/config-provider/hooks/useTheme.d.ts +0 -4
- package/es/config-provider/hooks/useTheme.js +0 -35
- package/es/config-provider/hooks/useThemeKey.d.ts +0 -3
- package/es/config-provider/hooks/useThemeKey.js +0 -1
- package/es/config-provider/index.d.ts +0 -139
- package/es/config-provider/index.js +0 -40
- package/es/config-provider/style/index.d.ts +0 -1
- package/es/config-provider/style/index.js +0 -35
- package/es/copy/index.d.ts +0 -13
- package/es/copy/index.js +0 -1
- package/es/date-picker/PickerButton.d.ts +0 -4
- package/es/date-picker/PickerButton.js +0 -47
- package/es/date-picker/generatePicker/constant.d.ts +0 -5
- package/es/date-picker/generatePicker/constant.js +0 -1
- package/es/date-picker/generatePicker/generateRangePicker.d.ts +0 -17
- package/es/date-picker/generatePicker/generateRangePicker.js +0 -98
- package/es/date-picker/generatePicker/generateSinglePicker.d.ts +0 -25
- package/es/date-picker/generatePicker/generateSinglePicker.js +0 -98
- package/es/date-picker/generatePicker/index.d.ts +0 -36
- package/es/date-picker/generatePicker/index.js +0 -98
- package/es/date-picker/generatePicker/interface.d.ts +0 -72
- package/es/date-picker/generatePicker/interface.js +0 -0
- package/es/date-picker/generatePicker/useComponents.d.ts +0 -13
- package/es/date-picker/generatePicker/useComponents.js +0 -47
- package/es/date-picker/index.d.ts +0 -48
- package/es/date-picker/index.js +0 -98
- package/es/date-picker/locale/ar_EG.d.ts +0 -3
- package/es/date-picker/locale/ar_EG.js +0 -1
- package/es/date-picker/locale/az_AZ.d.ts +0 -3
- package/es/date-picker/locale/az_AZ.js +0 -1
- package/es/date-picker/locale/bg_BG.d.ts +0 -3
- package/es/date-picker/locale/bg_BG.js +0 -1
- package/es/date-picker/locale/bn_BD.d.ts +0 -3
- package/es/date-picker/locale/bn_BD.js +0 -1
- package/es/date-picker/locale/by_BY.d.ts +0 -3
- package/es/date-picker/locale/by_BY.js +0 -1
- package/es/date-picker/locale/ca_ES.d.ts +0 -3
- package/es/date-picker/locale/ca_ES.js +0 -1
- package/es/date-picker/locale/cs_CZ.d.ts +0 -3
- package/es/date-picker/locale/cs_CZ.js +0 -1
- package/es/date-picker/locale/da_DK.d.ts +0 -3
- package/es/date-picker/locale/da_DK.js +0 -1
- package/es/date-picker/locale/de_DE.d.ts +0 -3
- package/es/date-picker/locale/de_DE.js +0 -1
- package/es/date-picker/locale/el_GR.d.ts +0 -3
- package/es/date-picker/locale/el_GR.js +0 -1
- package/es/date-picker/locale/en_GB.d.ts +0 -3
- package/es/date-picker/locale/en_GB.js +0 -1
- package/es/date-picker/locale/en_US.d.ts +0 -3
- package/es/date-picker/locale/en_US.js +0 -1
- package/es/date-picker/locale/es_ES.d.ts +0 -3
- package/es/date-picker/locale/es_ES.js +0 -1
- package/es/date-picker/locale/et_EE.d.ts +0 -3
- package/es/date-picker/locale/et_EE.js +0 -1
- package/es/date-picker/locale/eu_ES.d.ts +0 -3
- package/es/date-picker/locale/eu_ES.js +0 -1
- package/es/date-picker/locale/fa_IR.d.ts +0 -3
- package/es/date-picker/locale/fa_IR.js +0 -1
- package/es/date-picker/locale/fi_FI.d.ts +0 -3
- package/es/date-picker/locale/fi_FI.js +0 -1
- package/es/date-picker/locale/fr_BE.d.ts +0 -3
- package/es/date-picker/locale/fr_BE.js +0 -1
- package/es/date-picker/locale/fr_CA.d.ts +0 -3
- package/es/date-picker/locale/fr_CA.js +0 -1
- package/es/date-picker/locale/fr_FR.d.ts +0 -3
- package/es/date-picker/locale/fr_FR.js +0 -1
- package/es/date-picker/locale/ga_IE.d.ts +0 -3
- package/es/date-picker/locale/ga_IE.js +0 -1
- package/es/date-picker/locale/gl_ES.d.ts +0 -3
- package/es/date-picker/locale/gl_ES.js +0 -1
- package/es/date-picker/locale/he_IL.d.ts +0 -3
- package/es/date-picker/locale/he_IL.js +0 -1
- package/es/date-picker/locale/hi_IN.d.ts +0 -3
- package/es/date-picker/locale/hi_IN.js +0 -1
- package/es/date-picker/locale/hr_HR.d.ts +0 -3
- package/es/date-picker/locale/hr_HR.js +0 -1
- package/es/date-picker/locale/hu_HU.d.ts +0 -3
- package/es/date-picker/locale/hu_HU.js +0 -1
- package/es/date-picker/locale/id_ID.d.ts +0 -3
- package/es/date-picker/locale/id_ID.js +0 -1
- package/es/date-picker/locale/is_IS.d.ts +0 -3
- package/es/date-picker/locale/is_IS.js +0 -1
- package/es/date-picker/locale/it_IT.d.ts +0 -3
- package/es/date-picker/locale/it_IT.js +0 -1
- package/es/date-picker/locale/ja_JP.d.ts +0 -3
- package/es/date-picker/locale/ja_JP.js +0 -1
- package/es/date-picker/locale/ka_GE.d.ts +0 -3
- package/es/date-picker/locale/ka_GE.js +0 -1
- package/es/date-picker/locale/kk_KZ.d.ts +0 -3
- package/es/date-picker/locale/kk_KZ.js +0 -1
- package/es/date-picker/locale/km_KH.d.ts +0 -3
- package/es/date-picker/locale/km_KH.js +0 -1
- package/es/date-picker/locale/kmr_IQ.d.ts +0 -3
- package/es/date-picker/locale/kmr_IQ.js +0 -1
- package/es/date-picker/locale/kn_IN.d.ts +0 -3
- package/es/date-picker/locale/kn_IN.js +0 -1
- package/es/date-picker/locale/ko_KR.d.ts +0 -3
- package/es/date-picker/locale/ko_KR.js +0 -1
- package/es/date-picker/locale/lt_LT.d.ts +0 -3
- package/es/date-picker/locale/lt_LT.js +0 -1
- package/es/date-picker/locale/lv_LV.d.ts +0 -3
- package/es/date-picker/locale/lv_LV.js +0 -1
- package/es/date-picker/locale/mk_MK.d.ts +0 -3
- package/es/date-picker/locale/mk_MK.js +0 -1
- package/es/date-picker/locale/ml_IN.d.ts +0 -3
- package/es/date-picker/locale/ml_IN.js +0 -1
- package/es/date-picker/locale/mn_MN.d.ts +0 -3
- package/es/date-picker/locale/mn_MN.js +0 -1
- package/es/date-picker/locale/ms_MY.d.ts +0 -3
- package/es/date-picker/locale/ms_MY.js +0 -1
- package/es/date-picker/locale/my_MM.d.ts +0 -3
- package/es/date-picker/locale/my_MM.js +0 -1
- package/es/date-picker/locale/nb_NO.d.ts +0 -3
- package/es/date-picker/locale/nb_NO.js +0 -1
- package/es/date-picker/locale/nl_BE.d.ts +0 -3
- package/es/date-picker/locale/nl_BE.js +0 -1
- package/es/date-picker/locale/nl_NL.d.ts +0 -3
- package/es/date-picker/locale/nl_NL.js +0 -1
- package/es/date-picker/locale/pl_PL.d.ts +0 -3
- package/es/date-picker/locale/pl_PL.js +0 -1
- package/es/date-picker/locale/pt_BR.d.ts +0 -3
- package/es/date-picker/locale/pt_BR.js +0 -1
- package/es/date-picker/locale/pt_PT.d.ts +0 -3
- package/es/date-picker/locale/pt_PT.js +0 -1
- package/es/date-picker/locale/ro_RO.d.ts +0 -3
- package/es/date-picker/locale/ro_RO.js +0 -1
- package/es/date-picker/locale/ru_RU.d.ts +0 -4
- package/es/date-picker/locale/ru_RU.js +0 -1
- package/es/date-picker/locale/si_LK.d.ts +0 -3
- package/es/date-picker/locale/si_LK.js +0 -1
- package/es/date-picker/locale/sk_SK.d.ts +0 -3
- package/es/date-picker/locale/sk_SK.js +0 -1
- package/es/date-picker/locale/sl_SI.d.ts +0 -3
- package/es/date-picker/locale/sl_SI.js +0 -1
- package/es/date-picker/locale/sr_RS.d.ts +0 -3
- package/es/date-picker/locale/sr_RS.js +0 -1
- package/es/date-picker/locale/sv_SE.d.ts +0 -3
- package/es/date-picker/locale/sv_SE.js +0 -1
- package/es/date-picker/locale/ta_IN.d.ts +0 -3
- package/es/date-picker/locale/ta_IN.js +0 -1
- package/es/date-picker/locale/th_TH.d.ts +0 -3
- package/es/date-picker/locale/th_TH.js +0 -1
- package/es/date-picker/locale/tk_TK.d.ts +0 -3
- package/es/date-picker/locale/tk_TK.js +0 -1
- package/es/date-picker/locale/tr_TR.d.ts +0 -3
- package/es/date-picker/locale/tr_TR.js +0 -1
- package/es/date-picker/locale/uk_UA.d.ts +0 -3
- package/es/date-picker/locale/uk_UA.js +0 -1
- package/es/date-picker/locale/ur_PK.d.ts +0 -3
- package/es/date-picker/locale/ur_PK.js +0 -1
- package/es/date-picker/locale/uz_UZ.d.ts +0 -3
- package/es/date-picker/locale/uz_UZ.js +0 -1
- package/es/date-picker/locale/vi_VN.d.ts +0 -3
- package/es/date-picker/locale/vi_VN.js +0 -1
- package/es/date-picker/locale/zh_CN.d.ts +0 -3
- package/es/date-picker/locale/zh_CN.js +0 -1
- package/es/date-picker/locale/zh_TW.d.ts +0 -3
- package/es/date-picker/locale/zh_TW.js +0 -1
- package/es/date-picker/style/index.d.ts +0 -7
- package/es/date-picker/style/index.js +0 -86
- package/es/date-picker/style/multiple.d.ts +0 -4
- package/es/date-picker/style/multiple.js +0 -35
- package/es/date-picker/style/panel.d.ts +0 -6
- package/es/date-picker/style/panel.js +0 -12
- package/es/date-picker/style/token.d.ts +0 -103
- package/es/date-picker/style/token.js +0 -35
- package/es/date-picker/style/variants.d.ts +0 -4
- package/es/date-picker/style/variants.js +0 -35
- package/es/date-picker/util.d.ts +0 -8
- package/es/date-picker/util.js +0 -1
- package/es/descriptions/Cell.d.ts +0 -17
- package/es/descriptions/Cell.js +0 -1
- package/es/descriptions/DescriptionsContext.d.ts +0 -7
- package/es/descriptions/DescriptionsContext.js +0 -1
- package/es/descriptions/Item.d.ts +0 -13
- package/es/descriptions/Item.js +0 -1
- package/es/descriptions/Row.d.ts +0 -13
- package/es/descriptions/Row.js +0 -1
- package/es/descriptions/constant.d.ts +0 -3
- package/es/descriptions/constant.js +0 -1
- package/es/descriptions/hooks/useItems.d.ts +0 -4
- package/es/descriptions/hooks/useItems.js +0 -35
- package/es/descriptions/hooks/useRow.d.ts +0 -3
- package/es/descriptions/hooks/useRow.js +0 -1
- package/es/descriptions/index.d.ts +0 -42
- package/es/descriptions/index.js +0 -40
- package/es/descriptions/style/index.d.ts +0 -52
- package/es/descriptions/style/index.js +0 -35
- package/es/divider/index.d.ts +0 -20
- package/es/divider/index.js +0 -40
- package/es/divider/style/index.d.ts +0 -23
- package/es/divider/style/index.js +0 -35
- package/es/drag/SortableBoard.d.ts +0 -4
- package/es/drag/SortableBoard.js +0 -1
- package/es/drag/SortableBoardProvider.d.ts +0 -14
- package/es/drag/SortableBoardProvider.js +0 -1
- package/es/drag/SortableList.d.ts +0 -8
- package/es/drag/SortableList.js +0 -1
- package/es/drag/SortableZone.d.ts +0 -7
- package/es/drag/SortableZone.js +0 -1
- package/es/drag/SortableZoneShared.d.ts +0 -36
- package/es/drag/SortableZoneShared.js +0 -1
- package/es/drag/index.d.ts +0 -12
- package/es/drag/index.js +0 -1
- package/es/drag/type.d.ts +0 -362
- package/es/drag/type.js +0 -0
- package/es/drawer/DrawerPanel.d.ts +0 -49
- package/es/drawer/DrawerPanel.js +0 -54
- package/es/drawer/index.d.ts +0 -34
- package/es/drawer/index.js +0 -54
- package/es/drawer/style/index.d.ts +0 -23
- package/es/drawer/style/index.js +0 -35
- package/es/drawer/style/motion.d.ts +0 -4
- package/es/drawer/style/motion.js +0 -1
- package/es/dropdown/dropdown-button.d.ts +0 -21
- package/es/dropdown/dropdown-button.js +0 -88
- package/es/dropdown/dropdown.d.ts +0 -50
- package/es/dropdown/dropdown.js +0 -83
- package/es/dropdown/index.d.ts +0 -8
- package/es/dropdown/index.js +0 -88
- package/es/dropdown/style/index.d.ts +0 -40
- package/es/dropdown/style/index.js +0 -64
- package/es/dropdown/style/status.d.ts +0 -4
- package/es/dropdown/style/status.js +0 -1
- package/es/empty/empty.d.ts +0 -3
- package/es/empty/empty.js +0 -36
- package/es/empty/index.d.ts +0 -21
- package/es/empty/index.js +0 -41
- package/es/empty/simple.d.ts +0 -3
- package/es/empty/simple.js +0 -36
- package/es/empty/style/index.d.ts +0 -5
- package/es/empty/style/index.js +0 -35
- package/es/flex/index.d.ts +0 -4
- package/es/flex/index.js +0 -40
- package/es/flex/interface.d.ts +0 -15
- package/es/flex/interface.js +0 -0
- package/es/flex/style/index.d.ts +0 -30
- package/es/flex/style/index.js +0 -35
- package/es/flex/utils.d.ts +0 -6
- package/es/flex/utils.js +0 -1
- package/es/form/ErrorList.d.ts +0 -13
- package/es/form/ErrorList.js +0 -50
- package/es/form/Form.d.ts +0 -43
- package/es/form/Form.js +0 -50
- package/es/form/FormItem/ItemHolder.d.ts +0 -18
- package/es/form/FormItem/ItemHolder.js +0 -59
- package/es/form/FormItem/StatusProvider.d.ts +0 -16
- package/es/form/FormItem/StatusProvider.js +0 -1
- package/es/form/FormItem/index.d.ts +0 -46
- package/es/form/FormItem/index.js +0 -59
- package/es/form/FormItemInput.d.ts +0 -22
- package/es/form/FormItemInput.js +0 -50
- package/es/form/FormItemLabel.d.ts +0 -22
- package/es/form/FormItemLabel.js +0 -49
- package/es/form/FormList.d.ts +0 -25
- package/es/form/FormList.js +0 -40
- package/es/form/context.d.ts +0 -52
- package/es/form/context.js +0 -1
- package/es/form/hooks/useChildren.d.ts +0 -2
- package/es/form/hooks/useChildren.js +0 -1
- package/es/form/hooks/useDebounce.d.ts +0 -1
- package/es/form/hooks/useDebounce.js +0 -1
- package/es/form/hooks/useForm.d.ts +0 -8
- package/es/form/hooks/useForm.js +0 -1
- package/es/form/hooks/useFormInstance.d.ts +0 -2
- package/es/form/hooks/useFormInstance.js +0 -1
- package/es/form/hooks/useFormItemStatus.d.ts +0 -9
- package/es/form/hooks/useFormItemStatus.js +0 -1
- package/es/form/hooks/useFormWarning.d.ts +0 -2
- package/es/form/hooks/useFormWarning.js +0 -1
- package/es/form/hooks/useFrameState.d.ts +0 -3
- package/es/form/hooks/useFrameState.js +0 -1
- package/es/form/hooks/useItemRef.d.ts +0 -3
- package/es/form/hooks/useItemRef.js +0 -1
- package/es/form/hooks/useVariants.d.ts +0 -7
- package/es/form/hooks/useVariants.js +0 -40
- package/es/form/index.d.ts +0 -26
- package/es/form/index.js +0 -59
- package/es/form/interface.d.ts +0 -3
- package/es/form/interface.js +0 -0
- package/es/form/style/explain.d.ts +0 -4
- package/es/form/style/explain.js +0 -3
- package/es/form/style/fallbackCmp.d.ts +0 -6
- package/es/form/style/fallbackCmp.js +0 -45
- package/es/form/style/index.d.ts +0 -74
- package/es/form/style/index.js +0 -45
- package/es/form/util.d.ts +0 -9
- package/es/form/util.js +0 -1
- package/es/form/validateMessagesContext.d.ts +0 -3
- package/es/form/validateMessagesContext.js +0 -1
- package/es/form-area/ValidateTooltip.d.ts +0 -12
- package/es/form-area/ValidateTooltip.js +0 -353
- package/es/form-area/index.d.ts +0 -4
- package/es/form-area/index.js +0 -353
- package/es/form-area/renderItemMap.d.ts +0 -45
- package/es/form-area/renderItemMap.js +0 -353
- package/es/form-area/type.d.ts +0 -160
- package/es/form-area/type.js +0 -0
- package/es/gantt/index.d.ts +0 -4
- package/es/gantt/index.js +0 -101
- package/es/gantt/style/index.d.ts +0 -4
- package/es/gantt/style/index.js +0 -35
- package/es/gantt/style/style.d.ts +0 -1
- package/es/gantt/style/style.js +0 -372
- package/es/gantt/type.d.ts +0 -138
- package/es/gantt/type.js +0 -0
- package/es/gantt/utils.d.ts +0 -36
- package/es/gantt/utils.js +0 -1
- package/es/grid/RowContext.d.ts +0 -6
- package/es/grid/RowContext.js +0 -1
- package/es/grid/col.d.ts +0 -29
- package/es/grid/col.js +0 -40
- package/es/grid/hooks/useBreakpoint.d.ts +0 -3
- package/es/grid/hooks/useBreakpoint.js +0 -35
- package/es/grid/index.d.ts +0 -10
- package/es/grid/index.js +0 -40
- package/es/grid/row.d.ts +0 -20
- package/es/grid/row.js +0 -40
- package/es/grid/style/index.d.ts +0 -7
- package/es/grid/style/index.js +0 -35
- package/es/hooks/index.d.ts +0 -5
- package/es/hooks/index.js +0 -353
- package/es/hooks/useDrawer.d.ts +0 -10
- package/es/hooks/useDrawer.js +0 -1
- package/es/hooks/useForm.d.ts +0 -15
- package/es/hooks/useForm.js +0 -353
- package/es/hooks/useModal.d.ts +0 -10
- package/es/hooks/useModal.js +0 -1
- package/es/hooks/useParsedHash.d.ts +0 -7
- package/es/hooks/useParsedHash.js +0 -1
- package/es/hooks/useUrlState.d.ts +0 -9
- package/es/hooks/useUrlState.js +0 -1
- package/es/hour-panel/index.d.ts +0 -4
- package/es/hour-panel/index.js +0 -99
- package/es/hour-panel/style/index.d.ts +0 -12
- package/es/hour-panel/style/index.js +0 -35
- package/es/hour-panel/style/style.d.ts +0 -1
- package/es/hour-panel/style/style.js +0 -351
- package/es/hour-panel/types.d.ts +0 -145
- package/es/hour-panel/types.js +0 -1
- package/es/hour-panel/utils.d.ts +0 -31
- package/es/hour-panel/utils.js +0 -1
- package/es/icon/index.d.ts +0 -2
- package/es/icon/index.js +0 -1
- package/es/image/PreviewGroup.d.ts +0 -15
- package/es/image/PreviewGroup.js +0 -54
- package/es/image/index.d.ts +0 -9
- package/es/image/index.js +0 -54
- package/es/image/style/index.d.ts +0 -59
- package/es/image/style/index.js +0 -49
- package/es/index.d.ts +0 -161
- package/es/index.js +0 -356
- package/es/input/Group.d.ts +0 -15
- package/es/input/Group.js +0 -58
- package/es/input/Input.d.ts +0 -25
- package/es/input/Input.js +0 -58
- package/es/input/OTP/OTPInput.d.ts +0 -11
- package/es/input/OTP/OTPInput.js +0 -58
- package/es/input/OTP/index.d.ts +0 -29
- package/es/input/OTP/index.js +0 -58
- package/es/input/Password.d.ts +0 -14
- package/es/input/Password.js +0 -58
- package/es/input/Search.d.ts +0 -12
- package/es/input/Search.js +0 -65
- package/es/input/TextArea.d.ts +0 -25
- package/es/input/TextArea.js +0 -58
- package/es/input/hooks/useRemovePasswordTimeout.d.ts +0 -2
- package/es/input/hooks/useRemovePasswordTimeout.js +0 -1
- package/es/input/index.d.ts +0 -20
- package/es/input/index.js +0 -65
- package/es/input/style/index.d.ts +0 -17
- package/es/input/style/index.js +0 -53
- package/es/input/style/otp.d.ts +0 -2
- package/es/input/style/otp.js +0 -35
- package/es/input/style/token.d.ts +0 -97
- package/es/input/style/token.js +0 -35
- package/es/input/style/variants.d.ts +0 -15
- package/es/input/style/variants.js +0 -35
- package/es/input/utils.d.ts +0 -8
- package/es/input/utils.js +0 -1
- package/es/input-number/index.d.ts +0 -34
- package/es/input-number/index.js +0 -70
- package/es/input-number/style/index.d.ts +0 -18
- package/es/input-number/style/index.js +0 -65
- package/es/input-number/style/token.d.ts +0 -52
- package/es/input-number/style/token.js +0 -35
- package/es/layout/Sider.d.ts +0 -28
- package/es/layout/Sider.js +0 -40
- package/es/layout/context.d.ts +0 -8
- package/es/layout/context.js +0 -1
- package/es/layout/hooks/useHasSider.d.ts +0 -2
- package/es/layout/hooks/useHasSider.js +0 -40
- package/es/layout/index.d.ts +0 -15
- package/es/layout/index.js +0 -40
- package/es/layout/layout.d.ts +0 -18
- package/es/layout/layout.js +0 -40
- package/es/layout/style/index.d.ts +0 -96
- package/es/layout/style/index.js +0 -35
- package/es/layout/style/sider.d.ts +0 -2
- package/es/layout/style/sider.js +0 -35
- package/es/list/Item.d.ts +0 -35
- package/es/list/Item.js +0 -40
- package/es/list/context.d.ts +0 -8
- package/es/list/context.js +0 -1
- package/es/list/index.d.ts +0 -56
- package/es/list/index.js +0 -111
- package/es/list/style/index.d.ts +0 -62
- package/es/list/style/index.js +0 -35
- package/es/locale/ar_EG.d.ts +0 -3
- package/es/locale/ar_EG.js +0 -1
- package/es/locale/az_AZ.d.ts +0 -3
- package/es/locale/az_AZ.js +0 -1
- package/es/locale/bg_BG.d.ts +0 -3
- package/es/locale/bg_BG.js +0 -1
- package/es/locale/bn_BD.d.ts +0 -3
- package/es/locale/bn_BD.js +0 -1
- package/es/locale/by_BY.d.ts +0 -3
- package/es/locale/by_BY.js +0 -1
- package/es/locale/ca_ES.d.ts +0 -3
- package/es/locale/ca_ES.js +0 -1
- package/es/locale/context.d.ts +0 -6
- package/es/locale/context.js +0 -1
- package/es/locale/cs_CZ.d.ts +0 -3
- package/es/locale/cs_CZ.js +0 -1
- package/es/locale/da_DK.d.ts +0 -3
- package/es/locale/da_DK.js +0 -1
- package/es/locale/de_DE.d.ts +0 -3
- package/es/locale/de_DE.js +0 -1
- package/es/locale/el_GR.d.ts +0 -3
- package/es/locale/el_GR.js +0 -1
- package/es/locale/en_GB.d.ts +0 -3
- package/es/locale/en_GB.js +0 -1
- package/es/locale/en_US.d.ts +0 -3
- package/es/locale/en_US.js +0 -1
- package/es/locale/es_ES.d.ts +0 -3
- package/es/locale/es_ES.js +0 -1
- package/es/locale/et_EE.d.ts +0 -3
- package/es/locale/et_EE.js +0 -1
- package/es/locale/eu_ES.d.ts +0 -3
- package/es/locale/eu_ES.js +0 -1
- package/es/locale/fa_IR.d.ts +0 -3
- package/es/locale/fa_IR.js +0 -1
- package/es/locale/fi_FI.d.ts +0 -3
- package/es/locale/fi_FI.js +0 -1
- package/es/locale/fr_BE.d.ts +0 -3
- package/es/locale/fr_BE.js +0 -1
- package/es/locale/fr_CA.d.ts +0 -3
- package/es/locale/fr_CA.js +0 -1
- package/es/locale/fr_FR.d.ts +0 -3
- package/es/locale/fr_FR.js +0 -1
- package/es/locale/ga_IE.d.ts +0 -3
- package/es/locale/ga_IE.js +0 -1
- package/es/locale/gl_ES.d.ts +0 -3
- package/es/locale/gl_ES.js +0 -1
- package/es/locale/he_IL.d.ts +0 -3
- package/es/locale/he_IL.js +0 -1
- package/es/locale/hi_IN.d.ts +0 -3
- package/es/locale/hi_IN.js +0 -1
- package/es/locale/hr_HR.d.ts +0 -3
- package/es/locale/hr_HR.js +0 -1
- package/es/locale/hu_HU.d.ts +0 -3
- package/es/locale/hu_HU.js +0 -1
- package/es/locale/hy_AM.d.ts +0 -3
- package/es/locale/hy_AM.js +0 -2
- package/es/locale/id_ID.d.ts +0 -3
- package/es/locale/id_ID.js +0 -1
- package/es/locale/index.d.ts +0 -61
- package/es/locale/index.js +0 -1
- package/es/locale/is_IS.d.ts +0 -3
- package/es/locale/is_IS.js +0 -1
- package/es/locale/it_IT.d.ts +0 -3
- package/es/locale/it_IT.js +0 -1
- package/es/locale/ja_JP.d.ts +0 -3
- package/es/locale/ja_JP.js +0 -1
- package/es/locale/ka_GE.d.ts +0 -3
- package/es/locale/ka_GE.js +0 -1
- package/es/locale/kk_KZ.d.ts +0 -3
- package/es/locale/kk_KZ.js +0 -1
- package/es/locale/km_KH.d.ts +0 -3
- package/es/locale/km_KH.js +0 -1
- package/es/locale/kmr_IQ.d.ts +0 -3
- package/es/locale/kmr_IQ.js +0 -1
- package/es/locale/kn_IN.d.ts +0 -3
- package/es/locale/kn_IN.js +0 -1
- package/es/locale/ko_KR.d.ts +0 -3
- package/es/locale/ko_KR.js +0 -1
- package/es/locale/ku_IQ.d.ts +0 -3
- package/es/locale/ku_IQ.js +0 -1
- package/es/locale/lt_LT.d.ts +0 -3
- package/es/locale/lt_LT.js +0 -1
- package/es/locale/lv_LV.d.ts +0 -3
- package/es/locale/lv_LV.js +0 -1
- package/es/locale/mk_MK.d.ts +0 -3
- package/es/locale/mk_MK.js +0 -1
- package/es/locale/ml_IN.d.ts +0 -3
- package/es/locale/ml_IN.js +0 -1
- package/es/locale/mn_MN.d.ts +0 -3
- package/es/locale/mn_MN.js +0 -1
- package/es/locale/ms_MY.d.ts +0 -3
- package/es/locale/ms_MY.js +0 -1
- package/es/locale/my_MM.d.ts +0 -3
- package/es/locale/my_MM.js +0 -1
- package/es/locale/nb_NO.d.ts +0 -3
- package/es/locale/nb_NO.js +0 -1
- package/es/locale/ne_NP.d.ts +0 -3
- package/es/locale/ne_NP.js +0 -1
- package/es/locale/nl_BE.d.ts +0 -3
- package/es/locale/nl_BE.js +0 -1
- package/es/locale/nl_NL.d.ts +0 -3
- package/es/locale/nl_NL.js +0 -1
- package/es/locale/pl_PL.d.ts +0 -3
- package/es/locale/pl_PL.js +0 -1
- package/es/locale/pt_BR.d.ts +0 -3
- package/es/locale/pt_BR.js +0 -1
- package/es/locale/pt_PT.d.ts +0 -3
- package/es/locale/pt_PT.js +0 -1
- package/es/locale/ro_RO.d.ts +0 -3
- package/es/locale/ro_RO.js +0 -1
- package/es/locale/ru_RU.d.ts +0 -3
- package/es/locale/ru_RU.js +0 -1
- package/es/locale/si_LK.d.ts +0 -3
- package/es/locale/si_LK.js +0 -1
- package/es/locale/sk_SK.d.ts +0 -3
- package/es/locale/sk_SK.js +0 -1
- package/es/locale/sl_SI.d.ts +0 -3
- package/es/locale/sl_SI.js +0 -1
- package/es/locale/sr_RS.d.ts +0 -3
- package/es/locale/sr_RS.js +0 -1
- package/es/locale/sv_SE.d.ts +0 -3
- package/es/locale/sv_SE.js +0 -1
- package/es/locale/ta_IN.d.ts +0 -3
- package/es/locale/ta_IN.js +0 -1
- package/es/locale/th_TH.d.ts +0 -3
- package/es/locale/th_TH.js +0 -1
- package/es/locale/tk_TK.d.ts +0 -3
- package/es/locale/tk_TK.js +0 -1
- package/es/locale/tr_TR.d.ts +0 -3
- package/es/locale/tr_TR.js +0 -1
- package/es/locale/uk_UA.d.ts +0 -3
- package/es/locale/uk_UA.js +0 -1
- package/es/locale/ur_PK.d.ts +0 -3
- package/es/locale/ur_PK.js +0 -1
- package/es/locale/useLocale.d.ts +0 -4
- package/es/locale/useLocale.js +0 -1
- package/es/locale/uz_UZ.d.ts +0 -3
- package/es/locale/uz_UZ.js +0 -1
- package/es/locale/vi_VN.d.ts +0 -3
- package/es/locale/vi_VN.js +0 -1
- package/es/locale/zh_CN.d.ts +0 -3
- package/es/locale/zh_CN.js +0 -1
- package/es/locale/zh_HK.d.ts +0 -3
- package/es/locale/zh_HK.js +0 -1
- package/es/locale/zh_TW.d.ts +0 -3
- package/es/locale/zh_TW.js +0 -1
- package/es/mentions/index.d.ts +0 -45
- package/es/mentions/index.js +0 -58
- package/es/mentions/style/index.d.ts +0 -22
- package/es/mentions/style/index.js +0 -53
- package/es/menu/MenuContext.d.ts +0 -11
- package/es/menu/MenuContext.js +0 -1
- package/es/menu/MenuDivider.d.ts +0 -9
- package/es/menu/MenuDivider.js +0 -40
- package/es/menu/MenuItem.d.ts +0 -13
- package/es/menu/MenuItem.js +0 -49
- package/es/menu/OverrideContext.d.ts +0 -13
- package/es/menu/OverrideContext.js +0 -40
- package/es/menu/SubMenu.d.ts +0 -13
- package/es/menu/SubMenu.js +0 -35
- package/es/menu/index.d.ts +0 -32
- package/es/menu/index.js +0 -66
- package/es/menu/interface.d.ts +0 -20
- package/es/menu/interface.js +0 -0
- package/es/menu/menu.d.ts +0 -19
- package/es/menu/menu.js +0 -66
- package/es/menu/style/horizontal.d.ts +0 -4
- package/es/menu/style/horizontal.js +0 -3
- package/es/menu/style/index.d.ts +0 -354
- package/es/menu/style/index.js +0 -61
- package/es/menu/style/rtl.d.ts +0 -5
- package/es/menu/style/rtl.js +0 -2
- package/es/menu/style/theme.d.ts +0 -4
- package/es/menu/style/theme.js +0 -1
- package/es/menu/style/vertical.d.ts +0 -4
- package/es/menu/style/vertical.js +0 -9
- package/es/message/PurePanel.d.ts +0 -23
- package/es/message/PurePanel.js +0 -47
- package/es/message/index.d.ts +0 -23
- package/es/message/index.js +0 -47
- package/es/message/interface.d.ts +0 -66
- package/es/message/interface.js +0 -0
- package/es/message/style/index.d.ts +0 -23
- package/es/message/style/index.js +0 -42
- package/es/message/useMessage.d.ts +0 -8
- package/es/message/useMessage.js +0 -47
- package/es/message/util.d.ts +0 -4
- package/es/message/util.js +0 -1
- package/es/modal/ConfirmDialog.d.ts +0 -32
- package/es/modal/ConfirmDialog.js +0 -69
- package/es/modal/Modal.d.ts +0 -4
- package/es/modal/Modal.js +0 -68
- package/es/modal/PurePanel.d.ts +0 -9
- package/es/modal/PurePanel.js +0 -69
- package/es/modal/components/ConfirmCancelBtn.d.ts +0 -10
- package/es/modal/components/ConfirmCancelBtn.js +0 -47
- package/es/modal/components/ConfirmOkBtn.d.ts +0 -9
- package/es/modal/components/ConfirmOkBtn.js +0 -47
- package/es/modal/components/NormalCancelBtn.d.ts +0 -8
- package/es/modal/components/NormalCancelBtn.js +0 -47
- package/es/modal/components/NormalOkBtn.d.ts +0 -8
- package/es/modal/components/NormalOkBtn.js +0 -47
- package/es/modal/confirm.d.ts +0 -20
- package/es/modal/confirm.js +0 -69
- package/es/modal/context.d.ts +0 -8
- package/es/modal/context.js +0 -1
- package/es/modal/destroyFns.d.ts +0 -2
- package/es/modal/destroyFns.js +0 -1
- package/es/modal/index.d.ts +0 -15
- package/es/modal/index.js +0 -69
- package/es/modal/interface.d.ts +0 -123
- package/es/modal/interface.js +0 -0
- package/es/modal/locale.d.ts +0 -7
- package/es/modal/locale.js +0 -1
- package/es/modal/shared.d.ts +0 -9
- package/es/modal/shared.js +0 -47
- package/es/modal/style/confirm.d.ts +0 -2
- package/es/modal/style/confirm.js +0 -50
- package/es/modal/style/index.d.ts +0 -110
- package/es/modal/style/index.js +0 -49
- package/es/modal/useModal/HookModal.d.ts +0 -17
- package/es/modal/useModal/HookModal.js +0 -69
- package/es/modal/useModal/index.d.ts +0 -8
- package/es/modal/useModal/index.js +0 -69
- package/es/notification/PurePanel.d.ts +0 -27
- package/es/notification/PurePanel.js +0 -40
- package/es/notification/index.d.ts +0 -22
- package/es/notification/index.js +0 -40
- package/es/notification/interface.d.ts +0 -68
- package/es/notification/interface.js +0 -1
- package/es/notification/style/index.d.ts +0 -89
- package/es/notification/style/index.js +0 -35
- package/es/notification/style/placement.d.ts +0 -5
- package/es/notification/style/placement.js +0 -1
- package/es/notification/style/pure-panel.d.ts +0 -2
- package/es/notification/style/pure-panel.js +0 -35
- package/es/notification/style/stack.d.ts +0 -4
- package/es/notification/style/stack.js +0 -1
- package/es/notification/useNotification.d.ts +0 -8
- package/es/notification/useNotification.js +0 -40
- package/es/notification/util.d.ts +0 -5
- package/es/notification/util.js +0 -1
- package/es/pagination/Pagination.d.ts +0 -25
- package/es/pagination/Pagination.js +0 -111
- package/es/pagination/index.d.ts +0 -3
- package/es/pagination/index.js +0 -111
- package/es/pagination/style/bordered.d.ts +0 -2
- package/es/pagination/style/bordered.js +0 -68
- package/es/pagination/style/index.d.ts +0 -99
- package/es/pagination/style/index.js +0 -68
- package/es/pagination/useShowSizeChanger.d.ts +0 -3
- package/es/pagination/useShowSizeChanger.js +0 -1
- package/es/popconfirm/PurePanel.d.ts +0 -20
- package/es/popconfirm/PurePanel.js +0 -56
- package/es/popconfirm/index.d.ts +0 -30
- package/es/popconfirm/index.js +0 -56
- package/es/popconfirm/style/index.d.ts +0 -17
- package/es/popconfirm/style/index.js +0 -35
- package/es/popover/PurePanel.d.ts +0 -17
- package/es/popover/PurePanel.js +0 -49
- package/es/popover/index.d.ts +0 -15
- package/es/popover/index.js +0 -49
- package/es/popover/style/index.d.ts +0 -46
- package/es/popover/style/index.js +0 -44
- package/es/progress/Circle.d.ts +0 -10
- package/es/progress/Circle.js +0 -49
- package/es/progress/Line.d.ts +0 -36
- package/es/progress/Line.js +0 -35
- package/es/progress/Steps.d.ts +0 -9
- package/es/progress/Steps.js +0 -1
- package/es/progress/index.d.ts +0 -3
- package/es/progress/index.js +0 -49
- package/es/progress/progress.d.ts +0 -58
- package/es/progress/progress.js +0 -49
- package/es/progress/style/index.d.ts +0 -38
- package/es/progress/style/index.js +0 -35
- package/es/progress/utils.d.ts +0 -10
- package/es/progress/utils.js +0 -1
- package/es/qr-code/QrcodeStatus.d.ts +0 -11
- package/es/qr-code/QrcodeStatus.js +0 -47
- package/es/qr-code/index.d.ts +0 -4
- package/es/qr-code/index.js +0 -47
- package/es/qr-code/interface.d.ts +0 -29
- package/es/qr-code/interface.js +0 -0
- package/es/qr-code/style/index.d.ts +0 -6
- package/es/qr-code/style/index.js +0 -35
- package/es/qrcode/index.d.ts +0 -2
- package/es/qrcode/index.js +0 -47
- package/es/qrcode/interface.d.ts +0 -1
- package/es/qrcode/interface.js +0 -0
- package/es/qrcode/style/index.d.ts +0 -1
- package/es/qrcode/style/index.js +0 -35
- package/es/radio/context.d.ts +0 -7
- package/es/radio/context.js +0 -1
- package/es/radio/group.d.ts +0 -4
- package/es/radio/group.js +0 -41
- package/es/radio/index.d.ts +0 -11
- package/es/radio/index.js +0 -41
- package/es/radio/interface.d.ts +0 -43
- package/es/radio/interface.js +0 -0
- package/es/radio/radio.d.ts +0 -4
- package/es/radio/radio.js +0 -41
- package/es/radio/radioButton.d.ts +0 -6
- package/es/radio/radioButton.js +0 -41
- package/es/radio/style/index.d.ts +0 -76
- package/es/radio/style/index.js +0 -36
- package/es/rate/index.d.ts +0 -8
- package/es/rate/index.js +0 -49
- package/es/rate/style/index.d.ts +0 -27
- package/es/rate/style/index.js +0 -35
- package/es/result/index.d.ts +0 -33
- package/es/result/index.js +0 -40
- package/es/result/noFound.d.ts +0 -3
- package/es/result/noFound.js +0 -1
- package/es/result/serverError.d.ts +0 -3
- package/es/result/serverError.js +0 -1
- package/es/result/style/index.d.ts +0 -27
- package/es/result/style/index.js +0 -35
- package/es/result/unauthorized.d.ts +0 -3
- package/es/result/unauthorized.js +0 -1
- package/es/row/index.d.ts +0 -4
- package/es/row/index.js +0 -40
- package/es/row/style/index.d.ts +0 -2
- package/es/row/style/index.js +0 -1
- package/es/search-area/index.d.ts +0 -5
- package/es/search-area/index.js +0 -353
- package/es/search-area/style/index.d.ts +0 -2
- package/es/search-area/style/index.js +0 -1
- package/es/segmented/index.d.ts +0 -26
- package/es/segmented/index.js +0 -40
- package/es/segmented/style/index.d.ts +0 -46
- package/es/segmented/style/index.js +0 -35
- package/es/select/index.d.ts +0 -57
- package/es/select/index.js +0 -78
- package/es/select/mergedBuiltinPlacements.d.ts +0 -4
- package/es/select/mergedBuiltinPlacements.js +0 -1
- package/es/select/style/dropdown.d.ts +0 -4
- package/es/select/style/dropdown.js +0 -24
- package/es/select/style/index.d.ts +0 -4
- package/es/select/style/index.js +0 -73
- package/es/select/style/multiple.d.ts +0 -32
- package/es/select/style/multiple.js +0 -40
- package/es/select/style/single.d.ts +0 -3
- package/es/select/style/single.js +0 -45
- package/es/select/style/token.d.ts +0 -138
- package/es/select/style/token.js +0 -1
- package/es/select/style/variants.d.ts +0 -4
- package/es/select/style/variants.js +0 -1
- package/es/select/useIcons.d.ts +0 -26
- package/es/select/useIcons.js +0 -1
- package/es/select/useShowArrow.d.ts +0 -8
- package/es/select/useShowArrow.js +0 -1
- package/es/skeleton/Avatar.d.ts +0 -7
- package/es/skeleton/Avatar.js +0 -47
- package/es/skeleton/Button.d.ts +0 -8
- package/es/skeleton/Button.js +0 -47
- package/es/skeleton/Element.d.ts +0 -12
- package/es/skeleton/Element.js +0 -1
- package/es/skeleton/Image.d.ts +0 -6
- package/es/skeleton/Image.js +0 -48
- package/es/skeleton/Input.d.ts +0 -8
- package/es/skeleton/Input.js +0 -47
- package/es/skeleton/Node.d.ts +0 -8
- package/es/skeleton/Node.js +0 -47
- package/es/skeleton/Paragraph.d.ts +0 -11
- package/es/skeleton/Paragraph.js +0 -1
- package/es/skeleton/Skeleton.d.ts +0 -32
- package/es/skeleton/Skeleton.js +0 -48
- package/es/skeleton/Title.d.ts +0 -9
- package/es/skeleton/Title.js +0 -1
- package/es/skeleton/index.d.ts +0 -3
- package/es/skeleton/index.js +0 -48
- package/es/skeleton/style/index.d.ts +0 -40
- package/es/skeleton/style/index.js +0 -42
- package/es/slider/Context.d.ts +0 -9
- package/es/slider/Context.js +0 -1
- package/es/slider/SliderTooltip.d.ts +0 -8
- package/es/slider/SliderTooltip.js +0 -49
- package/es/slider/index.d.ts +0 -97
- package/es/slider/index.js +0 -61
- package/es/slider/style/index.d.ts +0 -97
- package/es/slider/style/index.js +0 -47
- package/es/slider/useRafLock.d.ts +0 -1
- package/es/slider/useRafLock.js +0 -1
- package/es/space/Compact.d.ts +0 -25
- package/es/space/Compact.js +0 -40
- package/es/space/Item.d.ts +0 -10
- package/es/space/Item.js +0 -1
- package/es/space/context.d.ts +0 -6
- package/es/space/context.js +0 -1
- package/es/space/index.d.ts +0 -28
- package/es/space/index.js +0 -40
- package/es/space/style/compact.d.ts +0 -8
- package/es/space/style/compact.js +0 -1
- package/es/space/style/index.d.ts +0 -7
- package/es/space/style/index.js +0 -35
- package/es/spin/Indicator/Looper.d.ts +0 -6
- package/es/spin/Indicator/Looper.js +0 -1
- package/es/spin/Indicator/Progress.d.ts +0 -7
- package/es/spin/Indicator/Progress.js +0 -1
- package/es/spin/Indicator/index.d.ts +0 -7
- package/es/spin/Indicator/index.js +0 -1
- package/es/spin/index.d.ts +0 -36
- package/es/spin/index.js +0 -40
- package/es/spin/style/index.d.ts +0 -26
- package/es/spin/style/index.js +0 -35
- package/es/spin/usePercent.d.ts +0 -1
- package/es/spin/usePercent.js +0 -1
- package/es/splitter/Panel.d.ts +0 -7
- package/es/splitter/Panel.js +0 -1
- package/es/splitter/SplitBar.d.ts +0 -19
- package/es/splitter/SplitBar.js +0 -1
- package/es/splitter/Splitter.d.ts +0 -4
- package/es/splitter/Splitter.js +0 -40
- package/es/splitter/hooks/useItems.d.ts +0 -12
- package/es/splitter/hooks/useItems.js +0 -1
- package/es/splitter/hooks/useResizable.d.ts +0 -7
- package/es/splitter/hooks/useResizable.js +0 -1
- package/es/splitter/hooks/useResize.d.ts +0 -6
- package/es/splitter/hooks/useResize.js +0 -1
- package/es/splitter/hooks/useSizes.d.ts +0 -8
- package/es/splitter/hooks/useSizes.js +0 -1
- package/es/splitter/index.d.ts +0 -8
- package/es/splitter/index.js +0 -40
- package/es/splitter/interface.d.ts +0 -64
- package/es/splitter/interface.js +0 -0
- package/es/splitter/style/index.d.ts +0 -27
- package/es/splitter/style/index.js +0 -35
- package/es/statistic/Countdown.d.ts +0 -10
- package/es/statistic/Countdown.js +0 -48
- package/es/statistic/Number.d.ts +0 -8
- package/es/statistic/Number.js +0 -1
- package/es/statistic/Statistic.d.ts +0 -21
- package/es/statistic/Statistic.js +0 -48
- package/es/statistic/index.d.ts +0 -11
- package/es/statistic/index.js +0 -48
- package/es/statistic/interface.d.ts +0 -0
- package/es/statistic/interface.js +0 -0
- package/es/statistic/style/index.d.ts +0 -16
- package/es/statistic/style/index.js +0 -35
- package/es/statistic/utils.d.ts +0 -15
- package/es/statistic/utils.js +0 -1
- package/es/steps/index.d.ts +0 -39
- package/es/steps/index.js +0 -49
- package/es/steps/style/custom-icon.d.ts +0 -5
- package/es/steps/style/custom-icon.js +0 -1
- package/es/steps/style/horizontal.d.ts +0 -5
- package/es/steps/style/horizontal.js +0 -1
- package/es/steps/style/index.d.ts +0 -102
- package/es/steps/style/index.js +0 -35
- package/es/steps/style/inline.d.ts +0 -5
- package/es/steps/style/inline.js +0 -1
- package/es/steps/style/label-placement.d.ts +0 -5
- package/es/steps/style/label-placement.js +0 -1
- package/es/steps/style/nav.d.ts +0 -5
- package/es/steps/style/nav.js +0 -1
- package/es/steps/style/progress-dot.d.ts +0 -5
- package/es/steps/style/progress-dot.js +0 -1
- package/es/steps/style/progress.d.ts +0 -5
- package/es/steps/style/progress.js +0 -1
- package/es/steps/style/rtl.d.ts +0 -5
- package/es/steps/style/rtl.js +0 -1
- package/es/steps/style/small.d.ts +0 -5
- package/es/steps/style/small.js +0 -1
- package/es/steps/style/vertical.d.ts +0 -5
- package/es/steps/style/vertical.js +0 -1
- package/es/steps/useLegacyItems.d.ts +0 -3
- package/es/steps/useLegacyItems.js +0 -1
- package/es/style/compact-item-vertical.d.ts +0 -3
- package/es/style/compact-item-vertical.js +0 -1
- package/es/style/compact-item.d.ts +0 -17
- package/es/style/compact-item.js +0 -1
- package/es/style/index.d.ts +0 -12
- package/es/style/index.js +0 -1
- package/es/style/motion/collapse.d.ts +0 -3
- package/es/style/motion/collapse.js +0 -3
- package/es/style/motion/fade.d.ts +0 -6
- package/es/style/motion/fade.js +0 -10
- package/es/style/motion/index.d.ts +0 -6
- package/es/style/motion/index.js +0 -21
- package/es/style/motion/motion.d.ts +0 -2
- package/es/style/motion/motion.js +0 -7
- package/es/style/motion/move.d.ts +0 -14
- package/es/style/motion/move.js +0 -10
- package/es/style/motion/slide.d.ts +0 -14
- package/es/style/motion/slide.js +0 -10
- package/es/style/motion/zoom.d.ts +0 -18
- package/es/style/motion/zoom.js +0 -10
- package/es/style/placementArrow.d.ts +0 -19
- package/es/style/placementArrow.js +0 -1
- package/es/style/roundedArrow.d.ts +0 -7
- package/es/style/roundedArrow.js +0 -1
- package/es/switch/index.d.ts +0 -37
- package/es/switch/index.js +0 -40
- package/es/switch/style/index.d.ts +0 -71
- package/es/switch/style/index.js +0 -35
- package/es/table/Column.d.ts +0 -8
- package/es/table/Column.js +0 -1
- package/es/table/ColumnGroup.d.ts +0 -10
- package/es/table/ColumnGroup.js +0 -1
- package/es/table/ExpandIcon.d.ts +0 -12
- package/es/table/ExpandIcon.js +0 -1
- package/es/table/InternalTable.d.ts +0 -32
- package/es/table/InternalTable.js +0 -216
- package/es/table/RcTable/VirtualTable.d.ts +0 -5
- package/es/table/RcTable/VirtualTable.js +0 -1
- package/es/table/RcTable/index.d.ts +0 -5
- package/es/table/RcTable/index.js +0 -1
- package/es/table/Table.d.ts +0 -17
- package/es/table/Table.js +0 -216
- package/es/table/hooks/useContainerWidth.d.ts +0 -1
- package/es/table/hooks/useContainerWidth.js +0 -1
- package/es/table/hooks/useFilter/FilterDropdown.d.ts +0 -31
- package/es/table/hooks/useFilter/FilterDropdown.js +0 -113
- package/es/table/hooks/useFilter/FilterSearch.d.ts +0 -12
- package/es/table/hooks/useFilter/FilterSearch.js +0 -65
- package/es/table/hooks/useFilter/FilterWrapper.d.ts +0 -8
- package/es/table/hooks/useFilter/FilterWrapper.js +0 -1
- package/es/table/hooks/useFilter/index.d.ts +0 -22
- package/es/table/hooks/useFilter/index.js +0 -113
- package/es/table/hooks/useLazyKVMap.d.ts +0 -4
- package/es/table/hooks/useLazyKVMap.js +0 -1
- package/es/table/hooks/usePagination.d.ts +0 -5
- package/es/table/hooks/usePagination.js +0 -1
- package/es/table/hooks/useSelection.d.ts +0 -20
- package/es/table/hooks/useSelection.js +0 -95
- package/es/table/hooks/useSorter.d.ts +0 -19
- package/es/table/hooks/useSorter.js +0 -49
- package/es/table/hooks/useTitleColumns.d.ts +0 -4
- package/es/table/hooks/useTitleColumns.js +0 -1
- package/es/table/index.d.ts +0 -7
- package/es/table/index.js +0 -216
- package/es/table/interface.d.ts +0 -194
- package/es/table/interface.js +0 -1
- package/es/table/style/bordered.d.ts +0 -5
- package/es/table/style/bordered.js +0 -10
- package/es/table/style/ellipsis.d.ts +0 -5
- package/es/table/style/ellipsis.js +0 -4
- package/es/table/style/empty.d.ts +0 -5
- package/es/table/style/empty.js +0 -1
- package/es/table/style/expand.d.ts +0 -5
- package/es/table/style/expand.js +0 -1
- package/es/table/style/filter.d.ts +0 -4
- package/es/table/style/filter.js +0 -1
- package/es/table/style/fixed.d.ts +0 -5
- package/es/table/style/fixed.js +0 -21
- package/es/table/style/index.d.ts +0 -202
- package/es/table/style/index.js +0 -97
- package/es/table/style/pagination.d.ts +0 -5
- package/es/table/style/pagination.js +0 -1
- package/es/table/style/radius.d.ts +0 -5
- package/es/table/style/radius.js +0 -1
- package/es/table/style/rtl.d.ts +0 -5
- package/es/table/style/rtl.js +0 -1
- package/es/table/style/selection.d.ts +0 -5
- package/es/table/style/selection.js +0 -5
- package/es/table/style/size.d.ts +0 -5
- package/es/table/style/size.js +0 -10
- package/es/table/style/sorter.d.ts +0 -5
- package/es/table/style/sorter.js +0 -4
- package/es/table/style/sticky.d.ts +0 -5
- package/es/table/style/sticky.js +0 -1
- package/es/table/style/summary.d.ts +0 -5
- package/es/table/style/summary.js +0 -1
- package/es/table/style/virtual.d.ts +0 -5
- package/es/table/style/virtual.js +0 -4
- package/es/table/util.d.ts +0 -13
- package/es/table/util.js +0 -1
- package/es/tabs/TabPane.d.ts +0 -5
- package/es/tabs/TabPane.js +0 -1
- package/es/tabs/hooks/useAnimateConfig.d.ts +0 -3
- package/es/tabs/hooks/useAnimateConfig.js +0 -40
- package/es/tabs/hooks/useLegacyItems.d.ts +0 -4
- package/es/tabs/hooks/useLegacyItems.js +0 -1
- package/es/tabs/index.d.ts +0 -29
- package/es/tabs/index.js +0 -51
- package/es/tabs/style/index.d.ts +0 -136
- package/es/tabs/style/index.js +0 -46
- package/es/tabs/style/motion.d.ts +0 -4
- package/es/tabs/style/motion.js +0 -10
- package/es/tag/CheckableTag.d.ts +0 -17
- package/es/tag/CheckableTag.js +0 -40
- package/es/tag/index.d.ts +0 -27
- package/es/tag/index.js +0 -40
- package/es/tag/style/index.d.ts +0 -25
- package/es/tag/style/index.js +0 -35
- package/es/tag/style/presetCmp.d.ts +0 -2
- package/es/tag/style/presetCmp.js +0 -35
- package/es/tag/style/statusCmp.d.ts +0 -2
- package/es/tag/style/statusCmp.js +0 -35
- package/es/theme/context.d.ts +0 -31
- package/es/theme/context.js +0 -3
- package/es/theme/getDesignToken.d.ts +0 -4
- package/es/theme/getDesignToken.js +0 -35
- package/es/theme/index.d.ts +0 -35
- package/es/theme/index.js +0 -35
- package/es/theme/interface/alias.d.ts +0 -545
- package/es/theme/interface/alias.js +0 -0
- package/es/theme/interface/components.d.ts +0 -140
- package/es/theme/interface/components.js +0 -0
- package/es/theme/interface/cssinjs-utils.d.ts +0 -10
- package/es/theme/interface/cssinjs-utils.js +0 -0
- package/es/theme/interface/index.d.ts +0 -15
- package/es/theme/interface/index.js +0 -1
- package/es/theme/interface/maps/colors.d.ts +0 -530
- package/es/theme/interface/maps/colors.js +0 -0
- package/es/theme/interface/maps/font.d.ts +0 -117
- package/es/theme/interface/maps/font.js +0 -0
- package/es/theme/interface/maps/index.d.ts +0 -29
- package/es/theme/interface/maps/index.js +0 -0
- package/es/theme/interface/maps/size.d.ts +0 -69
- package/es/theme/interface/maps/size.js +0 -0
- package/es/theme/interface/maps/style.d.ts +0 -42
- package/es/theme/interface/maps/style.js +0 -0
- package/es/theme/interface/presetColors.d.ts +0 -11
- package/es/theme/interface/presetColors.js +0 -1
- package/es/theme/interface/seeds.d.ts +0 -225
- package/es/theme/interface/seeds.js +0 -0
- package/es/theme/internal.d.ts +0 -13
- package/es/theme/internal.js +0 -35
- package/es/theme/themes/ColorMap.d.ts +0 -15
- package/es/theme/themes/ColorMap.js +0 -0
- package/es/theme/themes/compact/genCompactSizeMapToken.d.ts +0 -2
- package/es/theme/themes/compact/genCompactSizeMapToken.js +0 -1
- package/es/theme/themes/compact/index.d.ts +0 -4
- package/es/theme/themes/compact/index.js +0 -1
- package/es/theme/themes/dark/colorAlgorithm.d.ts +0 -2
- package/es/theme/themes/dark/colorAlgorithm.js +0 -1
- package/es/theme/themes/dark/colors.d.ts +0 -3
- package/es/theme/themes/dark/colors.js +0 -1
- package/es/theme/themes/dark/index.d.ts +0 -4
- package/es/theme/themes/dark/index.js +0 -1
- package/es/theme/themes/default/colorAlgorithm.d.ts +0 -2
- package/es/theme/themes/default/colorAlgorithm.js +0 -1
- package/es/theme/themes/default/colors.d.ts +0 -3
- package/es/theme/themes/default/colors.js +0 -1
- package/es/theme/themes/default/index.d.ts +0 -2
- package/es/theme/themes/default/index.js +0 -1
- package/es/theme/themes/seed.d.ts +0 -4
- package/es/theme/themes/seed.js +0 -3
- package/es/theme/themes/shared/genColorMapToken.d.ts +0 -8
- package/es/theme/themes/shared/genColorMapToken.js +0 -1
- package/es/theme/themes/shared/genCommonMapToken.d.ts +0 -2
- package/es/theme/themes/shared/genCommonMapToken.js +0 -1
- package/es/theme/themes/shared/genControlHeight.d.ts +0 -3
- package/es/theme/themes/shared/genControlHeight.js +0 -1
- package/es/theme/themes/shared/genFontMapToken.d.ts +0 -3
- package/es/theme/themes/shared/genFontMapToken.js +0 -1
- package/es/theme/themes/shared/genFontSizes.d.ts +0 -5
- package/es/theme/themes/shared/genFontSizes.js +0 -1
- package/es/theme/themes/shared/genRadius.d.ts +0 -3
- package/es/theme/themes/shared/genRadius.js +0 -1
- package/es/theme/themes/shared/genSizeMapToken.d.ts +0 -2
- package/es/theme/themes/shared/genSizeMapToken.js +0 -1
- package/es/theme/useToken.d.ts +0 -19
- package/es/theme/useToken.js +0 -35
- package/es/theme/util/alias.d.ts +0 -12
- package/es/theme/util/alias.js +0 -35
- package/es/theme/util/genPresetColor.d.ts +0 -15
- package/es/theme/util/genPresetColor.js +0 -1
- package/es/theme/util/genStyleUtils.d.ts +0 -26
- package/es/theme/util/genStyleUtils.js +0 -35
- package/es/theme/util/getAlphaColor.d.ts +0 -2
- package/es/theme/util/getAlphaColor.js +0 -1
- package/es/theme/util/useResetIconStyle.d.ts +0 -3
- package/es/theme/util/useResetIconStyle.js +0 -35
- package/es/time-out/index.d.ts +0 -18
- package/es/time-out/index.js +0 -40
- package/es/time-out/style/index.d.ts +0 -31
- package/es/time-out/style/index.js +0 -35
- package/es/time-out/style/style.d.ts +0 -1
- package/es/time-out/style/style.js +0 -104
- package/es/time-picker/index.d.ts +0 -30
- package/es/time-picker/index.js +0 -98
- package/es/time-picker/locale/ar_EG.d.ts +0 -3
- package/es/time-picker/locale/ar_EG.js +0 -1
- package/es/time-picker/locale/az_AZ.d.ts +0 -3
- package/es/time-picker/locale/az_AZ.js +0 -1
- package/es/time-picker/locale/bg_BG.d.ts +0 -3
- package/es/time-picker/locale/bg_BG.js +0 -1
- package/es/time-picker/locale/bn_BD.d.ts +0 -3
- package/es/time-picker/locale/bn_BD.js +0 -1
- package/es/time-picker/locale/by_BY.d.ts +0 -3
- package/es/time-picker/locale/by_BY.js +0 -1
- package/es/time-picker/locale/ca_ES.d.ts +0 -3
- package/es/time-picker/locale/ca_ES.js +0 -1
- package/es/time-picker/locale/cs_CZ.d.ts +0 -3
- package/es/time-picker/locale/cs_CZ.js +0 -1
- package/es/time-picker/locale/da_DK.d.ts +0 -3
- package/es/time-picker/locale/da_DK.js +0 -1
- package/es/time-picker/locale/de_DE.d.ts +0 -3
- package/es/time-picker/locale/de_DE.js +0 -1
- package/es/time-picker/locale/el_GR.d.ts +0 -3
- package/es/time-picker/locale/el_GR.js +0 -1
- package/es/time-picker/locale/en_GB.d.ts +0 -3
- package/es/time-picker/locale/en_GB.js +0 -1
- package/es/time-picker/locale/en_US.d.ts +0 -3
- package/es/time-picker/locale/en_US.js +0 -1
- package/es/time-picker/locale/es_ES.d.ts +0 -3
- package/es/time-picker/locale/es_ES.js +0 -1
- package/es/time-picker/locale/et_EE.d.ts +0 -3
- package/es/time-picker/locale/et_EE.js +0 -1
- package/es/time-picker/locale/eu_ES.d.ts +0 -3
- package/es/time-picker/locale/eu_ES.js +0 -1
- package/es/time-picker/locale/fa_IR.d.ts +0 -3
- package/es/time-picker/locale/fa_IR.js +0 -1
- package/es/time-picker/locale/fi_FI.d.ts +0 -3
- package/es/time-picker/locale/fi_FI.js +0 -1
- package/es/time-picker/locale/fr_BE.d.ts +0 -3
- package/es/time-picker/locale/fr_BE.js +0 -1
- package/es/time-picker/locale/fr_CA.d.ts +0 -3
- package/es/time-picker/locale/fr_CA.js +0 -1
- package/es/time-picker/locale/fr_FR.d.ts +0 -3
- package/es/time-picker/locale/fr_FR.js +0 -1
- package/es/time-picker/locale/ga_IE.d.ts +0 -3
- package/es/time-picker/locale/ga_IE.js +0 -1
- package/es/time-picker/locale/gl_ES.d.ts +0 -3
- package/es/time-picker/locale/gl_ES.js +0 -1
- package/es/time-picker/locale/he_IL.d.ts +0 -3
- package/es/time-picker/locale/he_IL.js +0 -1
- package/es/time-picker/locale/hi_IN.d.ts +0 -3
- package/es/time-picker/locale/hi_IN.js +0 -1
- package/es/time-picker/locale/hr_HR.d.ts +0 -3
- package/es/time-picker/locale/hr_HR.js +0 -1
- package/es/time-picker/locale/hu_HU.d.ts +0 -3
- package/es/time-picker/locale/hu_HU.js +0 -1
- package/es/time-picker/locale/id_ID.d.ts +0 -3
- package/es/time-picker/locale/id_ID.js +0 -1
- package/es/time-picker/locale/is_IS.d.ts +0 -3
- package/es/time-picker/locale/is_IS.js +0 -1
- package/es/time-picker/locale/it_IT.d.ts +0 -3
- package/es/time-picker/locale/it_IT.js +0 -1
- package/es/time-picker/locale/ja_JP.d.ts +0 -3
- package/es/time-picker/locale/ja_JP.js +0 -1
- package/es/time-picker/locale/ka_GE.d.ts +0 -3
- package/es/time-picker/locale/ka_GE.js +0 -1
- package/es/time-picker/locale/kk_KZ.d.ts +0 -3
- package/es/time-picker/locale/kk_KZ.js +0 -1
- package/es/time-picker/locale/km_KH.d.ts +0 -3
- package/es/time-picker/locale/km_KH.js +0 -1
- package/es/time-picker/locale/kmr_IQ.d.ts +0 -3
- package/es/time-picker/locale/kmr_IQ.js +0 -1
- package/es/time-picker/locale/kn_IN.d.ts +0 -3
- package/es/time-picker/locale/kn_IN.js +0 -1
- package/es/time-picker/locale/ko_KR.d.ts +0 -3
- package/es/time-picker/locale/ko_KR.js +0 -1
- package/es/time-picker/locale/lt_LT.d.ts +0 -3
- package/es/time-picker/locale/lt_LT.js +0 -1
- package/es/time-picker/locale/lv_LV.d.ts +0 -3
- package/es/time-picker/locale/lv_LV.js +0 -1
- package/es/time-picker/locale/mk_MK.d.ts +0 -3
- package/es/time-picker/locale/mk_MK.js +0 -1
- package/es/time-picker/locale/ml_IN.d.ts +0 -3
- package/es/time-picker/locale/ml_IN.js +0 -1
- package/es/time-picker/locale/mn_MN.d.ts +0 -3
- package/es/time-picker/locale/mn_MN.js +0 -1
- package/es/time-picker/locale/ms_MY.d.ts +0 -3
- package/es/time-picker/locale/ms_MY.js +0 -1
- package/es/time-picker/locale/my_MM.d.ts +0 -3
- package/es/time-picker/locale/my_MM.js +0 -1
- package/es/time-picker/locale/nb_NO.d.ts +0 -3
- package/es/time-picker/locale/nb_NO.js +0 -1
- package/es/time-picker/locale/nl_BE.d.ts +0 -3
- package/es/time-picker/locale/nl_BE.js +0 -1
- package/es/time-picker/locale/nl_NL.d.ts +0 -3
- package/es/time-picker/locale/nl_NL.js +0 -1
- package/es/time-picker/locale/pl_PL.d.ts +0 -3
- package/es/time-picker/locale/pl_PL.js +0 -1
- package/es/time-picker/locale/pt_BR.d.ts +0 -3
- package/es/time-picker/locale/pt_BR.js +0 -1
- package/es/time-picker/locale/pt_PT.d.ts +0 -3
- package/es/time-picker/locale/pt_PT.js +0 -1
- package/es/time-picker/locale/ro_RO.d.ts +0 -3
- package/es/time-picker/locale/ro_RO.js +0 -1
- package/es/time-picker/locale/ru_RU.d.ts +0 -4
- package/es/time-picker/locale/ru_RU.js +0 -1
- package/es/time-picker/locale/si_LK.d.ts +0 -3
- package/es/time-picker/locale/si_LK.js +0 -1
- package/es/time-picker/locale/sk_SK.d.ts +0 -3
- package/es/time-picker/locale/sk_SK.js +0 -1
- package/es/time-picker/locale/sl_SI.d.ts +0 -3
- package/es/time-picker/locale/sl_SI.js +0 -1
- package/es/time-picker/locale/sr_RS.d.ts +0 -3
- package/es/time-picker/locale/sr_RS.js +0 -1
- package/es/time-picker/locale/sv_SE.d.ts +0 -3
- package/es/time-picker/locale/sv_SE.js +0 -1
- package/es/time-picker/locale/ta_IN.d.ts +0 -3
- package/es/time-picker/locale/ta_IN.js +0 -1
- package/es/time-picker/locale/th_TH.d.ts +0 -3
- package/es/time-picker/locale/th_TH.js +0 -1
- package/es/time-picker/locale/tk_TK.d.ts +0 -3
- package/es/time-picker/locale/tk_TK.js +0 -1
- package/es/time-picker/locale/tr_TR.d.ts +0 -3
- package/es/time-picker/locale/tr_TR.js +0 -1
- package/es/time-picker/locale/uk_UA.d.ts +0 -3
- package/es/time-picker/locale/uk_UA.js +0 -1
- package/es/time-picker/locale/ur_PK.d.ts +0 -3
- package/es/time-picker/locale/ur_PK.js +0 -1
- package/es/time-picker/locale/uz_UZ.d.ts +0 -3
- package/es/time-picker/locale/uz_UZ.js +0 -1
- package/es/time-picker/locale/vi_VN.d.ts +0 -3
- package/es/time-picker/locale/vi_VN.js +0 -1
- package/es/time-picker/locale/zh_CN.d.ts +0 -3
- package/es/time-picker/locale/zh_CN.js +0 -1
- package/es/time-picker/locale/zh_TW.d.ts +0 -3
- package/es/time-picker/locale/zh_TW.js +0 -1
- package/es/timeline/Timeline.d.ts +0 -20
- package/es/timeline/Timeline.js +0 -48
- package/es/timeline/TimelineItem.d.ts +0 -20
- package/es/timeline/TimelineItem.js +0 -40
- package/es/timeline/TimelineItemList.d.ts +0 -7
- package/es/timeline/TimelineItemList.js +0 -40
- package/es/timeline/index.d.ts +0 -4
- package/es/timeline/index.js +0 -48
- package/es/timeline/style/index.d.ts +0 -31
- package/es/timeline/style/index.js +0 -43
- package/es/timeline/useItems.d.ts +0 -4
- package/es/timeline/useItems.js +0 -1
- package/es/tooltip/PurePanel.d.ts +0 -7
- package/es/tooltip/PurePanel.js +0 -49
- package/es/tooltip/index.d.ts +0 -80
- package/es/tooltip/index.js +0 -49
- package/es/tooltip/style/index.d.ts +0 -13
- package/es/tooltip/style/index.js +0 -44
- package/es/tooltip/util.d.ts +0 -6
- package/es/tooltip/util.js +0 -1
- package/es/tour/PurePanel.d.ts +0 -6
- package/es/tour/PurePanel.js +0 -56
- package/es/tour/index.d.ts +0 -7
- package/es/tour/index.js +0 -56
- package/es/tour/interface.d.ts +0 -31
- package/es/tour/interface.js +0 -0
- package/es/tour/panelRender.d.ts +0 -12
- package/es/tour/panelRender.js +0 -47
- package/es/tour/style/index.d.ts +0 -28
- package/es/tour/style/index.js +0 -35
- package/es/transfer/ListBody.d.ts +0 -17
- package/es/transfer/ListBody.js +0 -117
- package/es/transfer/ListItem.d.ts +0 -15
- package/es/transfer/ListItem.js +0 -46
- package/es/transfer/hooks/useData.d.ts +0 -5
- package/es/transfer/hooks/useData.js +0 -1
- package/es/transfer/hooks/useSelection.d.ts +0 -9
- package/es/transfer/hooks/useSelection.js +0 -1
- package/es/transfer/index.d.ts +0 -91
- package/es/transfer/index.js +0 -153
- package/es/transfer/interface.d.ts +0 -7
- package/es/transfer/interface.js +0 -0
- package/es/transfer/list.d.ts +0 -48
- package/es/transfer/list.js +0 -153
- package/es/transfer/operation.d.ts +0 -17
- package/es/transfer/operation.js +0 -47
- package/es/transfer/search.d.ts +0 -11
- package/es/transfer/search.js +0 -65
- package/es/transfer/style/index.d.ts +0 -36
- package/es/transfer/style/index.js +0 -35
- package/es/tree/DirectoryTree.d.ts +0 -16
- package/es/tree/DirectoryTree.js +0 -48
- package/es/tree/Tree.d.ts +0 -136
- package/es/tree/Tree.js +0 -48
- package/es/tree/index.d.ts +0 -16
- package/es/tree/index.js +0 -48
- package/es/tree/style/directory.d.ts +0 -3
- package/es/tree/style/directory.js +0 -1
- package/es/tree/style/index.d.ts +0 -57
- package/es/tree/style/index.js +0 -43
- package/es/tree/utils/dictUtil.d.ts +0 -13
- package/es/tree/utils/dictUtil.js +0 -1
- package/es/tree/utils/dropIndicator.d.ts +0 -11
- package/es/tree/utils/dropIndicator.js +0 -1
- package/es/tree/utils/iconUtil.d.ts +0 -13
- package/es/tree/utils/iconUtil.js +0 -1
- package/es/tree-select/index.d.ts +0 -61
- package/es/tree-select/index.js +0 -86
- package/es/tree-select/style/index.d.ts +0 -6
- package/es/tree-select/style/index.js +0 -43
- package/es/type/index.d.ts +0 -1
- package/es/type/index.js +0 -356
- package/es/typography/Base/CopyBtn.d.ts +0 -13
- package/es/typography/Base/CopyBtn.js +0 -49
- package/es/typography/Base/Ellipsis.d.ts +0 -18
- package/es/typography/Base/Ellipsis.js +0 -1
- package/es/typography/Base/EllipsisTooltip.d.ts +0 -10
- package/es/typography/Base/EllipsisTooltip.js +0 -49
- package/es/typography/Base/index.d.ts +0 -59
- package/es/typography/Base/index.js +0 -83
- package/es/typography/Base/util.d.ts +0 -10
- package/es/typography/Base/util.js +0 -1
- package/es/typography/Editable.d.ts +0 -20
- package/es/typography/Editable.js +0 -74
- package/es/typography/Link.d.ts +0 -7
- package/es/typography/Link.js +0 -83
- package/es/typography/Paragraph.d.ts +0 -6
- package/es/typography/Paragraph.js +0 -83
- package/es/typography/Text.d.ts +0 -7
- package/es/typography/Text.js +0 -83
- package/es/typography/Title.d.ts +0 -8
- package/es/typography/Title.js +0 -83
- package/es/typography/Typography.d.ts +0 -19
- package/es/typography/Typography.js +0 -56
- package/es/typography/hooks/useCopyClick.d.ts +0 -11
- package/es/typography/hooks/useCopyClick.js +0 -1
- package/es/typography/hooks/useMergedConfig.d.ts +0 -1
- package/es/typography/hooks/useMergedConfig.js +0 -1
- package/es/typography/hooks/usePrevious.d.ts +0 -2
- package/es/typography/hooks/usePrevious.js +0 -1
- package/es/typography/hooks/useTooltipProps.d.ts +0 -61
- package/es/typography/hooks/useTooltipProps.js +0 -1
- package/es/typography/index.d.ts +0 -13
- package/es/typography/index.js +0 -83
- package/es/typography/style/index.d.ts +0 -18
- package/es/typography/style/index.js +0 -51
- package/es/typography/style/mixins.d.ts +0 -9
- package/es/typography/style/mixins.js +0 -6
- package/es/upload/Dragger.d.ts +0 -10
- package/es/upload/Dragger.js +0 -80
- package/es/upload/Upload.d.ts +0 -23
- package/es/upload/Upload.js +0 -80
- package/es/upload/UploadList/ListItem.d.ts +0 -28
- package/es/upload/UploadList/ListItem.js +0 -49
- package/es/upload/UploadList/index.d.ts +0 -8
- package/es/upload/UploadList/index.js +0 -57
- package/es/upload/index.d.ts +0 -13
- package/es/upload/index.js +0 -80
- package/es/upload/interface.d.ts +0 -138
- package/es/upload/interface.js +0 -0
- package/es/upload/style/dragger.d.ts +0 -4
- package/es/upload/style/dragger.js +0 -7
- package/es/upload/style/index.d.ts +0 -16
- package/es/upload/style/index.js +0 -66
- package/es/upload/style/list.d.ts +0 -4
- package/es/upload/style/list.js +0 -4
- package/es/upload/style/motion.d.ts +0 -4
- package/es/upload/style/motion.js +0 -10
- package/es/upload/style/picture.d.ts +0 -5
- package/es/upload/style/picture.js +0 -12
- package/es/upload/style/rtl.d.ts +0 -4
- package/es/upload/style/rtl.js +0 -1
- package/es/upload/utils.d.ts +0 -8
- package/es/upload/utils.js +0 -2
- package/es/utils/common.d.ts +0 -73
- package/es/utils/common.js +0 -4
- package/es/utils/index.d.ts +0 -2
- package/es/utils/index.js +0 -4
- package/es/utils/moneyFormat.d.ts +0 -38
- package/es/utils/moneyFormat.js +0 -1
- package/es/version/index.d.ts +0 -2
- package/es/version/index.js +0 -1
- package/es/watermark/context.d.ts +0 -8
- package/es/watermark/context.js +0 -1
- package/es/watermark/index.d.ts +0 -26
- package/es/watermark/index.js +0 -35
- package/es/watermark/useClips.d.ts +0 -7
- package/es/watermark/useClips.js +0 -1
- package/es/watermark/useRafDebounce.d.ts +0 -4
- package/es/watermark/useRafDebounce.js +0 -1
- package/es/watermark/useWatermark.d.ts +0 -13
- package/es/watermark/useWatermark.js +0 -1
- package/es/watermark/utils.d.ts +0 -7
- package/es/watermark/utils.js +0 -1
- package/umd/index.min.js +0 -629
package/es/button/button.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { SizeType } from '../config-provider/SizeContext';
|
|
3
|
-
import Group from './button-group';
|
|
4
|
-
import type { ButtonColorType, ButtonHTMLType, ButtonShape, ButtonType, ButtonVariantType } from './buttonHelpers';
|
|
5
|
-
export type LegacyButtonType = ButtonType | 'danger';
|
|
6
|
-
export interface BaseButtonProps {
|
|
7
|
-
type?: ButtonType;
|
|
8
|
-
color?: ButtonColorType;
|
|
9
|
-
variant?: ButtonVariantType;
|
|
10
|
-
icon?: React.ReactNode;
|
|
11
|
-
iconPosition?: 'start' | 'end';
|
|
12
|
-
shape?: ButtonShape;
|
|
13
|
-
size?: SizeType;
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
loading?: boolean | {
|
|
16
|
-
delay?: number;
|
|
17
|
-
};
|
|
18
|
-
prefixCls?: string;
|
|
19
|
-
className?: string;
|
|
20
|
-
rootClassName?: string;
|
|
21
|
-
ghost?: boolean;
|
|
22
|
-
danger?: boolean;
|
|
23
|
-
block?: boolean;
|
|
24
|
-
children?: React.ReactNode;
|
|
25
|
-
[key: `data-${string}`]: string;
|
|
26
|
-
classNames?: {
|
|
27
|
-
icon: string;
|
|
28
|
-
};
|
|
29
|
-
styles?: {
|
|
30
|
-
icon: React.CSSProperties;
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
type MergedHTMLAttributes = Omit<React.HTMLAttributes<HTMLElement> & React.ButtonHTMLAttributes<HTMLElement> & React.AnchorHTMLAttributes<HTMLElement>, 'type' | 'color'>;
|
|
34
|
-
export interface ButtonProps extends BaseButtonProps, MergedHTMLAttributes {
|
|
35
|
-
href?: string;
|
|
36
|
-
htmlType?: ButtonHTMLType;
|
|
37
|
-
autoInsertSpace?: boolean;
|
|
38
|
-
}
|
|
39
|
-
declare const InternalCompoundedButton: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
|
|
40
|
-
type CompoundedComponent = typeof InternalCompoundedButton & {
|
|
41
|
-
Group: typeof Group;
|
|
42
|
-
};
|
|
43
|
-
declare const Button: CompoundedComponent;
|
|
44
|
-
export default Button;
|
package/es/button/button.js
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import*as C from'react';import C__default,{createContext,useContext,forwardRef,useMemo,useState,useRef,Children,useEffect}from'react';import xt from'classnames';import Ar from'rc-util/lib/omit';import {useComposeRef,supportRef,composeRef,getNodeRef}from'rc-util/lib/ref';import'rc-util/lib/warning';import Ri from'rc-util/lib/Dom/isVisible';import {createTheme,Keyframes,unit,useCacheToken,useStyleRegister}from'@ant-design/cssinjs';import Qn from'@ant-design/icons/lib/components/Context';import _n from'rc-util/lib/hooks/useMemo';import {merge}from'rc-util/lib/utils/set';import'rc-pagination/lib/locale/en_US';import pn from'rc-picker/lib/locale/en_US';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';import kn from'rc-util/lib/Dom/canUseDom';import {updateCSS}from'rc-util/lib/Dom/dynamicCSS';import qn from'rc-util/lib/isEqual';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import Ci,{Provider}from'rc-motion';import bi from'rc-util/lib/hooks/useEvent';import dr from'rc-util/lib/raf';import'react-dom';import {unmount,render}from'rc-util/lib/React/render';import Wa from'rc-util/lib/Children/toArray';import Ki from'@ant-design/icons/LoadingOutlined';import {Color}from'@rc-component/color-picker';import'rc-util/lib/hooks/useMergedState';import Na from'@ant-design/icons/RightOutlined';import ea from'rc-collapse';function Rt(){}var sn=Rt,Mt=C.createContext({}),eo=()=>{let e=()=>{};return e.deprecated=Rt,e},ke=sn;var $t=createContext(void 0);({lang:{...pn}});var I="${label} is not a valid ${type}",gn={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:I,method:I,array:I,object:I,number:I,date:I,boolean:I,integer:I,float:I,regexp:I,email:I,url:I,hex:I},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}"}}}},ne=gn;({...ne.Modal});var ro=[],It=()=>ro.reduce((e,o)=>({...e,...o}),ne.Modal);function Lt(e){if(e){let o={...e};return ro.push(o),It(),()=>{ro=ro.filter(t=>t!==o),It();}}({...ne.Modal});}var un=createContext(void 0),Ie=un;var Bt="internalMark",yn=e=>{let{locale:o={},children:t,_ANT_MARK__:n}=e;C.useEffect(()=>Lt(o?.Modal),[o]);let r=C.useMemo(()=>({...o,exist:true}),[o]);return C.createElement(Ie.Provider,{value:r},t)},Et=yn;var Ho={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"},Sn={...Ho,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},X=Sn;function No(e,{generateColorPalettes:o,generateNeutralColorPalettes:t}){let{colorSuccess:n,colorWarning:r,colorError:s,colorInfo:i,colorPrimary:a,colorBgBase:c,colorTextBase:l}=e,p=o(a),m=o(n),d=o(r),g=o(s),u=o(i),$=t(c,l),b=e.colorLink||e.colorInfo,h=o(b),B=new TinyColor(g[1]).mix(new TinyColor(g[3]),50).toHexString();return {...$,colorPrimaryBg:p[1],colorPrimaryBgHover:p[2],colorPrimaryBorder:p[3],colorPrimaryBorderHover:p[4],colorPrimaryHover:p[5],colorPrimary:p[6],colorPrimaryActive:p[7],colorPrimaryTextHover:p[8],colorPrimaryText:p[9],colorPrimaryTextActive:p[10],colorSuccessBg:m[1],colorSuccessBgHover:m[2],colorSuccessBorder:m[3],colorSuccessBorderHover:m[4],colorSuccessHover:m[4],colorSuccess:m[6],colorSuccessActive:m[7],colorSuccessTextHover:m[8],colorSuccessText:m[9],colorSuccessTextActive:m[10],colorErrorBg:g[1],colorErrorBgHover:g[2],colorErrorBgFilledHover:B,colorErrorBgActive:g[3],colorErrorBorder:g[3],colorErrorBorderHover:g[4],colorErrorHover:g[5],colorError:g[6],colorErrorActive:g[7],colorErrorTextHover:g[8],colorErrorText:g[9],colorErrorTextActive:g[10],colorWarningBg:d[1],colorWarningBgHover:d[2],colorWarningBorder:d[3],colorWarningBorderHover:d[4],colorWarningHover:d[4],colorWarning:d[6],colorWarningActive:d[7],colorWarningTextHover:d[8],colorWarningText:d[9],colorWarningTextActive:d[10],colorInfoBg:u[1],colorInfoBgHover:u[2],colorInfoBorder:u[3],colorInfoBorderHover:u[4],colorInfoHover:u[4],colorInfo:u[6],colorInfoActive:u[7],colorInfoTextHover:u[8],colorInfoText:u[9],colorInfoTextActive:u[10],colorLinkHover:h[4],colorLink:h[6],colorLinkActive:h[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var xn=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}},zt=xn;function Do(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,...zt(n)}}var bn=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},Ot=bn;function ue(e){return (e+8)/e}function Wo(e){let o=new Array(10).fill(null).map((t,n)=>{let r=n-1,s=e*Math.E**(r/5),i=n>1?Math.floor(s):Math.ceil(s);return Math.floor(i/2)*2});return o[1]=e,o.map(t=>({size:t,lineHeight:ue(t)}))}var Tn=e=>{let o=Wo(e),t=o.map(p=>p.size),n=o.map(p=>p.lineHeight),r=t[1],s=t[0],i=t[2],a=n[1],c=n[0],l=n[2];return {fontSizeSM:s,fontSize:r,fontSizeLG:i,fontSizeXL:t[3],fontSizeHeading1:t[6],fontSizeHeading2:t[5],fontSizeHeading3:t[4],fontSizeHeading4:t[3],fontSizeHeading5:t[2],lineHeight:a,lineHeightLG:l,lineHeightSM:c,fontHeight:Math.round(a*r),fontHeightLG:Math.round(l*i),fontHeightSM:Math.round(c*s),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},Ht=Tn;function Go(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 L=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),Ce=(e,o)=>new TinyColor(e).darken(o).toHexString();var Nt=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]}},Dt=(e,o)=>{let t=e||"#fff",n=o||"#000";return {colorBgBase:t,colorTextBase:n,colorText:L(n,.88),colorTextSecondary:L(n,.65),colorTextTertiary:L(n,.45),colorTextQuaternary:L(n,.25),colorFill:L(n,.15),colorFillSecondary:L(n,.06),colorFillTertiary:L(n,.04),colorFillQuaternary:L(n,.02),colorBgSolid:L(n,1),colorBgSolidHover:L(n,.75),colorBgSolidActive:L(n,.95),colorBgLayout:Ce(t,4),colorBgContainer:Ce(t,0),colorBgElevated:Ce(t,0),colorBgSpotlight:L(n,.85),colorBgBlur:"transparent",colorBorder:Ce(t,15),colorBorderSecondary:Ce(t,6)}};function Vo(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys(Ho).map(t=>{let n=e[t]===presetPrimaryColors[t]?presetPalettes[t]:generate(e[t]);return new Array(10).fill(1).reduce((r,s,i)=>(r[`${t}-${i+1}`]=n[i],r[`${t}${i+1}`]=n[i],r),{})}).reduce((t,n)=>(t={...t,...n},t),{});return {...e,...o,...No(e,{generateColorPalettes:Nt,generateNeutralColorPalettes:Dt}),...Ht(e.fontSize),...Go(e),...Ot(e),...Do(e)}}var no=createTheme(Vo),Le={token:X,override:{override:X},hashed:true},we=C__default.createContext(Le);var Y="ant",Be="anticon";var Mn=(e,o)=>o||(e?`${Y}-${e}`:Y),x=C.createContext({getPrefixCls:Mn,iconPrefixCls:Be}),{Consumer:$n}=x;var Ln=`-ant-${Date.now()}-${Math.random()}`;function wn(e,o){let t={},n=(i,a)=>{let c=i.clone();return c=a?.(c)||c,c.toRgbString()},r=(i,a)=>{let c=new TinyColor(i),l=generate(c.toRgbString());t[`${a}-color`]=n(c),t[`${a}-color-disabled`]=l[1],t[`${a}-color-hover`]=l[4],t[`${a}-color-active`]=l[6],t[`${a}-color-outline`]=c.clone().setAlpha(.2).toRgbString(),t[`${a}-color-deprecated-bg`]=l[0],t[`${a}-color-deprecated-border`]=l[2];};if(o.primaryColor){r(o.primaryColor,"primary");let i=new TinyColor(o.primaryColor),a=generate(i.toRgbString());a.forEach((l,p)=>{t[`primary-${p+1}`]=l;}),t["primary-color-deprecated-l-35"]=n(i,l=>l.lighten(35)),t["primary-color-deprecated-l-20"]=n(i,l=>l.lighten(20)),t["primary-color-deprecated-t-20"]=n(i,l=>l.tint(20)),t["primary-color-deprecated-t-50"]=n(i,l=>l.tint(50)),t["primary-color-deprecated-f-12"]=n(i,l=>l.setAlpha(l.getAlpha()*.12));let c=new TinyColor(a[0]);t["primary-color-active-deprecated-f-30"]=n(c,l=>l.setAlpha(l.getAlpha()*.3)),t["primary-color-active-deprecated-d-02"]=n(c,l=>l.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(i=>`--${e}-${i}: ${t[i]};`).join(`
|
|
6
|
-
`)}
|
|
7
|
-
}
|
|
8
|
-
`.trim()}function Ft(e,o){let t=wn(e,o);kn()?updateCSS(t,`${Ln}-dynamic-theme`):ke();}var Uo=C.createContext(false),jt=({children:e,disabled:o})=>{let t=C.useContext(Uo);return C.createElement(Uo.Provider,{value:o??t},e)},io=Uo;var Xo=C.createContext(void 0),Vt=({children:e,size:o})=>{let t=C.useContext(Xo);return C.createElement(Xo.Provider,{value:o||t},e)},ie=Xo;function Bn(){let e=useContext(io),o=useContext(ie);return {componentDisabled:e,componentSize:o}}var Ut=Bn;var _t={version:"0.0.3"};var qt=_t.version;function _o(e){return e>=0&&e<=255}function zn(e,o){let{r:t,g:n,b:r,a:s}=new TinyColor(e).toRgb();if(s<1)return e;let{r:i,g:a,b:c}=new TinyColor(o).toRgb();for(let l=.01;l<=1;l+=.01){let p=Math.round((t-i*(1-l))/l),m=Math.round((n-a*(1-l))/l),d=Math.round((r-c*(1-l))/l);if(_o(p)&&_o(m)&&_o(d))return new TinyColor({r:p,g:m,b:d,a:Math.round(l*100)/100}).toRgbString()}return new TinyColor({r:t,g:n,b:r,a:1}).toRgbString()}var Ee=zn;function so(e){let{override:o,...t}=e,n={...o};Object.keys(X).forEach(d=>{delete n[d];});let r={...t,...n},s=480,i=576,a=768,c=992,l=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:Ee(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:Ee(r.colorErrorBg,r.colorBgContainer),colorWarningOutline:Ee(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:Ee(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:s,screenXSMin:s,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:a-1,screenMD:a,screenMDMin:a,screenMDMax:c-1,screenLG:c,screenLGMin:c,screenLGMax:l-1,screenXL:l,screenXLMin:l,screenXLMax:p-1,screenXXL:p,screenXXLMin:p,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
|
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 Zo={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},An={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},Nn={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},Zt=(e,o,t)=>{let n=t.getDerivativeToken(e),{override:r,...s}=o,i={...n,override:r};return i=so(i),s&&Object.entries(s).forEach(([a,c])=>{let{theme:l,...p}=c,m=p;l&&(m=Zt({...i,...p},{override:p},l)),i[a]=m;}),i};function w(){let{token:e,hashed:o,theme:t,override:n,cssVar:r}=C__default.useContext(we),s=`${qt}-${o||""}`,i=t||no,[a,c,l]=useCacheToken(i,[X,e],{salt:s,override:n,getComputedToken:Zt,formatToken:so,cssVar:r&&{prefix:r.prefix,key:r.key,unitless:Zo,ignore:An,preserve:Nn}});return [i,l,o?c:"",a,r]}var Qt=(e,o=false)=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:o?"inherit":e.fontFamily}),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 Yt=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"}}}),Jt=(e,o,t,n)=>{let r=`[class^="${o}"], [class*=" ${o}"]`,s=t?`.${t}`:r,i={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},a={};return n!==false&&(a={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[s]:{...a,...i,[r]:i}}},Wn=e=>({outline:`${unit(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),er=e=>({"&:focus-visible":{...Wn(e)}}),lo=e=>({[`.${e}`]:{...ze(),[`.${e} .${e}-icon`]:{display:"block"}}});var{genStyleHooks:ae,genComponentStyleHook:Qo,genSubStyleComponent:Yo}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:o}=useContext(x);return {rootPrefixCls:e(),iconPrefixCls:o}},useToken:()=>{let[e,o,t,n,r]=w();return {theme:e,realToken:o,hashId:t,token:n,cssVar:r}},useCSP:()=>{let{csp:e}=useContext(x);return e??{}},getResetStyles:(e,o)=>[{"&":Yt(e)},lo(o?.prefix.iconPrefixCls??Be)],getCommonStyle:Jt,getCompUnitless:(()=>Zo)});var jn=(e,o)=>{let[t,n]=w();return useStyleRegister({theme:t,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>o?.nonce,layer:{name:"antd"}},()=>[lo(e)])},co=jn;var Kn={...C},{useId:tr}=Kn,Un=()=>"",Xn=typeof tr>"u"?Un:tr,rr=Xn;function Jo(e,o,t){eo();let r=e||{},s=r.inherit===false||!o?{...Le,hashed:o?.hashed??Le.hashed,cssVar:o?.cssVar}:o,i=rr();return _n(()=>{if(!e)return o;let a={...s.components};Object.keys(e.components||{}).forEach(p=>{a[p]={...a[p],...e.components[p]};});let c=`css-var-${i.replace(/:/g,"")}`,l=(r.cssVar??s.cssVar)&&{prefix:t?.prefixCls,...typeof s.cssVar=="object"?s.cssVar:{},...typeof r.cssVar=="object"?r.cssVar:{},key:typeof r.cssVar=="object"&&r.cssVar?.key||c};return {...s,...r,token:{...s.token,...r.token},components:a,cssVar:l}},[r,s],(a,c)=>a.some((l,p)=>{let m=c[p];return !qn(l,m,true)}))}function et(e){let{children:o}=e,[,t]=w(),{motion:n}=t,r=C.useRef(false);return r.current=r.current||n===false,r.current?C.createElement(Provider,{motion:n},o):o}C.memo(({dropdownMatchSelectWidth:e})=>(eo().deprecated(e===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null));var ir=()=>null;var ei=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"],sr;function ni(){return sr||Y}function ii(e){return Object.keys(e).some(o=>o.endsWith("Color"))}var ai=e=>{let{prefixCls:o,iconPrefixCls:t,theme:n,holderRender:r}=e;o!==void 0&&(sr=o),n&&(ii(n)?(Ft(ni(),n)):n);};var si=e=>{let{children:o,csp:t,autoInsertSpaceInButton:n,alert:r,anchor:s,form:i,locale:a,componentSize:c,direction:l,space:p,splitter:m,virtual:d,dropdownMatchSelectWidth:g,popupMatchSelectWidth:u,popupOverflow:$,legacyLocale:b,parentContext:h,iconPrefixCls:B,theme:H,componentDisabled:A,segmented:N,statistic:k,spin:F,calendar:T,carousel:S,cascader:E,collapse:f,typography:j,checkbox:V,descriptions:oe,divider:Z,drawer:K,skeleton:Te,steps:y,image:We,layout:To,list:ho,mentions:vo,modal:Q,progress:Po,result:te,slider:D,breadcrumb:Ge,menu:he,pagination:Fe,input:re,textArea:je,empty:Ve,badge:ve,radio:Ke,rate:Ro,switch:Ue,transfer:Mo,avatar:Xe,message:_e,tag:$o,table:Pe,card:qe,tabs:Ze,timeline:ko,timePicker:Io,upload:Qe,notification:Ye,tree:Re,colorPicker:v,datePicker:Lo,rangePicker:Xr,flex:_r,wave:qr,dropdown:Zr,warning:Qr,tour:Yr,variant:Jr,inputNumber:en,treeSelect:on}=e,Tt=C.useCallback((P,W)=>{let{prefixCls:de}=e;if(W)return W;let ge=de||h.getPrefixCls("");return P?`${ge}-${P}`:ge},[h.getPrefixCls,e.prefixCls]),Me=B||h.iconPrefixCls||Be,$e=t||h.csp;co(Me,$e);let wo=Jo(H,h.theme,{prefixCls:Tt("")}),Bo={csp:$e,autoInsertSpaceInButton:n,alert:r,anchor:s,locale:a||b,direction:l,space:p,splitter:m,virtual:d,popupMatchSelectWidth:u??g,popupOverflow:$,getPrefixCls:Tt,iconPrefixCls:Me,theme:wo,segmented:N,statistic:k,spin:F,calendar:T,carousel:S,cascader:E,collapse:f,typography:j,checkbox:V,descriptions:oe,divider:Z,drawer:K,skeleton:Te,steps:y,image:We,input:re,textArea:je,layout:To,list:ho,mentions:vo,modal:Q,progress:Po,result:te,slider:D,breadcrumb:Ge,menu:he,pagination:Fe,empty:Ve,badge:ve,radio:Ke,rate:Ro,switch:Ue,transfer:Mo,avatar:Xe,message:_e,tag:$o,table:Pe,card:qe,tabs:Ze,timeline:ko,timePicker:Io,upload:Qe,notification:Ye,tree:Re,colorPicker:v,datePicker:Lo,rangePicker:Xr,flex:_r,wave:qr,dropdown:Zr,warning:Qr,tour:Yr,variant:Jr,inputNumber:en,treeSelect:on},pe={...h};Object.keys(Bo).forEach(P=>{Bo[P]!==void 0&&(pe[P]=Bo[P]);}),ei.forEach(P=>{let W=e[P];W&&(pe[P]=W);}),typeof n<"u"&&(pe.button={autoInsertSpace:n,...pe.button});let me=_n(()=>pe,pe,(P,W)=>{let de=Object.keys(P),ge=Object.keys(W);return de.length!==ge.length||de.some(Je=>P[Je]!==W[Je])}),tn=C.useMemo(()=>({prefixCls:Me,csp:$e}),[Me,$e]),M=C.createElement(C.Fragment,null,C.createElement(ir,{dropdownMatchSelectWidth:g}),o),ht=C.useMemo(()=>merge(ne.Form?.defaultValidateMessages||{},me.locale?.Form?.defaultValidateMessages||{},me.form?.validateMessages||{},i?.validateMessages||{}),[me,i?.validateMessages]);Object.keys(ht).length>0&&(M=C.createElement($t.Provider,{value:ht},M)),a&&(M=C.createElement(Et,{locale:a,_ANT_MARK__:Bt},M)),(M=C.createElement(Qn.Provider,{value:tn},M)),c&&(M=C.createElement(Vt,{size:c},M)),M=C.createElement(et,null,M);let rn=C.useMemo(()=>{let{algorithm:P,token:W,components:de,cssVar:ge,...Je}=wo||{},vt=P&&(!Array.isArray(P)||P.length>0)?createTheme(P):no,Eo={};Object.entries(de||{}).forEach(([nn,an])=>{let U={...an};"algorithm"in U&&(U.algorithm===true?U.theme=vt:(Array.isArray(U.algorithm)||typeof U.algorithm=="function")&&(U.theme=createTheme(U.algorithm)),delete U.algorithm),Eo[nn]=U;});let Pt={...X,...W};return {...Je,theme:vt,token:Pt,components:Eo,override:{override:Pt,...Eo},cssVar:ge}},[wo]);return H&&(M=C.createElement(we.Provider,{value:rn},M)),me.warning&&(M=C.createElement(Mt.Provider,{value:me.warning},M)),A!==void 0&&(M=C.createElement(jt,{disabled:A},M)),C.createElement(x.Provider,{value:me},M)},Oe=e=>{let o=C.useContext(x),t=C.useContext(Ie);return C.createElement(si,{parentContext:o,legacyLocale:t,...e})};Oe.ConfigContext=x;Oe.SizeContext=ie;Oe.config=ai;Oe.useConfig=Ut;Object.defineProperty(Oe,"SizeContext",{get:()=>(ie)});function lr(e){return e&&C__default.isValidElement(e)&&e.type===C__default.Fragment}var li=(e,o,t)=>C__default.isValidElement(e)?C__default.cloneElement(e,typeof t=="function"?t(e.props||{}):t):o;function se(e,o){return li(e,e,o)}var ci=e=>{let{componentCls:o,colorPrimary:t}=e;return {[o]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${t})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},cr=Qo("Wave",e=>[ci(e)]);var go=`${Y}-wave-target`;var gi=(e,o)=>(render(e,o),()=>unmount(o)),fi=gi;function pr(){return fi}function ot(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function mr(e){let{borderTopColor:o,borderColor:t,backgroundColor:n}=getComputedStyle(e);return ot(o)?o:ot(t)?t:ot(n)?n:null}function tt(e){return Number.isNaN(e)?0:e}var Si=e=>{let{className:o,target:t,component:n,registerUnmount:r}=e,s=C.useRef(null),i=C.useRef(null);C.useEffect(()=>{i.current=r();},[]);let[a,c]=C.useState(null),[l,p]=C.useState([]),[m,d]=C.useState(0),[g,u]=C.useState(0),[$,b]=C.useState(0),[h,B]=C.useState(0),[H,A]=C.useState(false),N={left:m,top:g,width:$,height:h,borderRadius:l.map(T=>`${T}px`).join(" ")};a&&(N["--wave-color"]=a);function k(){let T=getComputedStyle(t);c(mr(t));let S=T.position==="static",{borderLeftWidth:E,borderTopWidth:f}=T;d(S?t.offsetLeft:tt(-parseFloat(E))),u(S?t.offsetTop:tt(-parseFloat(f))),b(t.offsetWidth),B(t.offsetHeight);let{borderTopLeftRadius:j,borderTopRightRadius:V,borderBottomLeftRadius:oe,borderBottomRightRadius:Z}=T;p([j,V,Z,oe].map(K=>tt(parseFloat(K))));}if(C.useEffect(()=>{if(t){let T=dr(()=>{k(),A(true);}),S;return typeof ResizeObserver<"u"&&(S=new ResizeObserver(k),S.observe(t)),()=>{dr.cancel(T),S?.disconnect();}}},[]),!H)return null;let F=(n==="Checkbox"||n==="Radio")&&t?.classList.contains(go);return C.createElement(Ci,{visible:true,motionAppear:true,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(T,S)=>{if(S.deadline||S.propertyName==="opacity"){let E=s.current?.parentElement;i.current?.().then(()=>{E?.remove();});}return false}},({className:T},S)=>C.createElement("div",{ref:composeRef(s,S),className:xt(o,T,{"wave-quick":F}),style:N}))},xi=(e,o)=>{let{component:t}=o;if(t==="Checkbox"&&!e.querySelector("input")?.checked)return;let n=document.createElement("div");n.style.position="absolute",n.style.left="0px",n.style.top="0px",e?.insertBefore(n,e?.firstChild);let r=pr(),s=null;function i(){return s}s=r(C.createElement(Si,{...o,target:e,registerUnmount:i}),n);},gr=xi;var Ti=(e,o,t)=>{let{wave:n}=C.useContext(x),[,r,s]=w(),i=bi(l=>{let p=e.current;if(n?.disabled||!p)return;let m=p.querySelector(`.${go}`)||p,{showEffect:d}=n||{};(d||gr)(m,{className:o,token:r,component:t,event:l,hashId:s});}),a=C.useRef(null);return l=>{dr.cancel(a.current),a.current=dr(()=>{i(l);});}},ur=Ti;var Ii=e=>{let{children:o,disabled:t,component:n}=e,{getPrefixCls:r}=useContext(x),s=useRef(null),i=r("wave"),[,a]=cr(i),c=ur(s,xt(i,a),n);if(C__default.useEffect(()=>{let p=s.current;if(!p||p.nodeType!==1||t)return;let m=d=>{!Ri(d.target)||!p.getAttribute||p.getAttribute("disabled")||p.disabled||p.className.includes("disabled")||p.className.includes("-leave")||c(d);};return p.addEventListener("click",m,true),()=>{p.removeEventListener("click",m,true);}},[t]),!C__default.isValidElement(o))return o??null;let l=supportRef(o)?composeRef(getNodeRef(o),s):s;return se(o,{ref:l})},yr=Ii;var Li=e=>{let o=C__default.useContext(ie);return C__default.useMemo(()=>e?typeof e=="string"?e??o:e instanceof Function?e(o):o:o,[e,o])},He=Li;var wi=e=>{let{componentCls:o}=e;return {[o]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},xr=wi;var Bi=e=>{let{componentCls:o,antCls:t}=e;return {[o]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${o}-item:empty`]:{display:"none"},[`${o}-item > ${t}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},Ei=e=>{let{componentCls:o}=e;return {[o]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}};ae("Space",e=>{let o=mergeToken(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return [Bi(o),Ei(o),xr(o)]},()=>({}),{resetStyle:false});var Hi=C.createContext(null),br=(e,o)=>{let t=C.useContext(Hi),n=C.useMemo(()=>{if(!t)return "";let{compactDirection:r,isFirstItem:s,isLastItem:i}=t,a=r==="vertical"?"-vertical-":"-";return xt(`${e}-compact${a}item`,{[`${e}-compact${a}first-item`]:s,[`${e}-compact${a}last-item`]:i,[`${e}-compact${a}item-rtl`]:o==="rtl"})},[e,o,t]);return {compactSize:t?.compactSize,compactDirection:t?.compactDirection,compactItemClassnames:n}};var rt=C.createContext(void 0),Ni=e=>{let{getPrefixCls:o,direction:t}=C.useContext(x),{prefixCls:n,size:r,className:s,...i}=e,a=o("btn-group",n),[,,c]=w(),l="";switch(r){case "large":l="lg";break;case "small":l="sm";break;}let p=xt(a,{[`${a}-${l}`]:l,[`${a}-rtl`]:t==="rtl"},s,c);return C.createElement(rt.Provider,{value:r},C.createElement("div",{...i,className:p}))},Tr=Ni;var hr=/^[\u4E00-\u9FA5]{2}$/,uo=hr.test.bind(hr);function vr(e){return typeof e=="string"}function Co(e){return e==="text"||e==="link"}function Di(e,o){if(e==null)return;let t=o?" ":"";return typeof e!="string"&&typeof e!="number"&&vr(e.type)&&uo(e.props.children)?se(e,{children:e.props.children.split("").join(t)}):vr(e)?uo(e)?C__default.createElement("span",null,e.split("").join(t)):C__default.createElement("span",null,e):lr(e)?C__default.createElement("span",null,e):e}function Pr(e,o){let t=false,n=[];return C__default.Children.forEach(e,r=>{let s=typeof r,i=s==="string"||s==="number";if(t&&i){let a=n.length-1,c=n[a];n[a]=`${c}${r}`;}else n.push(r);t=i;}),C__default.Children.map(n,r=>Di(r,o))}var ji=forwardRef((e,o)=>{let{className:t,style:n,children:r,prefixCls:s}=e,i=xt(`${s}-icon`,t);return C__default.createElement("span",{ref:o,className:i,style:n},r)}),yo=ji;var Rr=forwardRef((e,o)=>{let{prefixCls:t,className:n,style:r,iconClassName:s}=e,i=xt(`${t}-loading-icon`,n);return C__default.createElement(yo,{prefixCls:t,className:i,style:r,ref:o},C__default.createElement(Ki,{className:s}))}),nt=()=>({width:0,opacity:0,transform:"scale(0)"}),it=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),Xi=e=>{let{prefixCls:o,loading:t,existIcon:n,className:r,style:s,mount:i}=e,a=!!t;return n?C__default.createElement(Rr,{prefixCls:o,className:r,style:s}):C__default.createElement(Ci,{visible:a,motionName:`${o}-loading-icon-motion`,motionAppear:!i,motionEnter:!i,motionLeave:!i,removeOnLeave:true,onAppearStart:nt,onAppearActive:it,onEnterStart:nt,onEnterActive:it,onLeaveStart:it,onLeaveActive:nt},({className:c,style:l},p)=>{let m={...s,...l};return C__default.createElement(Rr,{prefixCls:o,className:xt(r,c),style:m,ref:p})})},$r=Xi;var kr=(e,o)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:o}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:o}}}}}),_i=e=>{let{componentCls:o,fontSize:t,lineWidth:n,groupBorderColor:r,colorErrorHover:s}=e;return {[`${o}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${o}`]:{"&:not(:last-child)":{[`&, & > ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(n).mul(-1).equal(),[`&, & > ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[o]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${o}-icon-only`]:{fontSize:t}},kr(`${o}-primary`,r),kr(`${o}-danger`,s)]}},Ir=_i;var qi=(e,o)=>e?.replace(/[^\w/]/g,"").slice(0,o?8:6)||"",Zi=(e,o)=>e?qi(e,o):"",De=class e{metaColor;colors;cleared=false;constructor(o){if(o instanceof e){this.metaColor=o.metaColor.clone(),this.colors=o.colors?.map(n=>({color:new e(n.color),percent:n.percent})),this.cleared=o.cleared;return}let t=Array.isArray(o);t&&o.length?(this.colors=o.map(({color:n,percent:r})=>({color:new e(n),percent:r})),this.metaColor=new Color(this.colors[0].color.metaColor)):this.metaColor=new Color(t?"":o),(!o||t&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=true);}toHsb(){return this.metaColor.toHsb()}toHsbString(){return this.metaColor.toHsbString()}toHex(){return Zi(this.toHexString(),this.metaColor.a<1)}toHexString(){return this.metaColor.toHexString()}toRgb(){return this.metaColor.toRgb()}toRgbString(){return this.metaColor.toRgbString()}isGradient(){return !!this.colors&&!this.cleared}getColors(){return this.colors||[{color:this,percent:0}]}toCssString(){let{colors:o}=this;return o?`linear-gradient(90deg, ${o.map(n=>`${n.color.toRgbString()} ${n.percent}%`).join(", ")})`:this.metaColor.toRgbString()}equals(o){return !o||this.isGradient()!==o.isGradient()?false:this.isGradient()?this.colors.length===o.colors.length&&this.colors.every((t,n)=>{let r=o.colors[n];return t.percent===r.percent&&t.color.equals(r.color)}):this.toHexString()===o.toHexString()}};var at=()=>({height:0,opacity:0}),wr=e=>{let{scrollHeight:o}=e;return {height:o,opacity:1}},Qi=e=>({height:e?e.offsetHeight:0}),st=(e,o)=>o?.deadline===true||o.propertyName==="height",Yi=(e=Y)=>({motionName:`${e}-motion-collapse`,onAppearStart:at,onEnterStart:at,onAppearActive:wr,onEnterActive:wr,onLeaveStart:Qi,onLeaveActive:at,onAppearEnd:st,onEnterEnd:st,onLeaveEnd:st,motionDeadline:500});var Br=Yi;var oa=C.forwardRef((e,o)=>{let{getPrefixCls:t}=C.useContext(x),{prefixCls:n,className:r,showArrow:s=true}=e,i=t("collapse",n),a=xt({[`${i}-no-arrow`]:!s},r);return C.createElement(ea.Panel,{ref:o,...e,prefixCls:i,className:a})}),Er=oa;var ta=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
|
|
41
|
-
opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
|
|
42
|
-
opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),lt=ta;new Keyframes("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}});new Keyframes("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}});new Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}});new Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}});new Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}});new Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}});new Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}});new Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}});new Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}});new Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}});new Keyframes("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}});new Keyframes("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}});new Keyframes("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}});new Keyframes("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}});new Keyframes("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}});new Keyframes("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}});new Keyframes("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}});new Keyframes("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}});new Keyframes("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}});new Keyframes("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}});new Keyframes("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}});new Keyframes("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}});var Ea=e=>{let{componentCls:o,contentBg:t,padding:n,headerBg:r,headerPadding:s,collapseHeaderPaddingSM:i,collapseHeaderPaddingLG:a,collapsePanelBorderRadius:c,lineWidth:l,lineType:p,colorBorder:m,colorText:d,colorTextHeading:g,colorTextDisabled:u,fontSizeLG:$,lineHeight:b,lineHeightLG:h,marginSM:B,paddingSM:H,paddingLG:A,paddingXS:N,motionDurationSlow:k,fontSizeIcon:F,contentPadding:T,fontHeight:S,fontHeightLG:E}=e,f=`${unit(l)} ${p} ${m}`;return {[o]:{...Qt(e),backgroundColor:r,border:f,borderRadius:c,"&-rtl":{direction:"rtl"},[`& > ${o}-item`]:{borderBottom:f,"&:last-child":{[`
|
|
43
|
-
&,
|
|
44
|
-
& > ${o}-header`]:{borderRadius:`0 0 ${unit(c)} ${unit(c)}`}},[`> ${o}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:s,color:g,lineHeight:b,cursor:"pointer",transition:`all ${k}, visibility 0s`,[`> ${o}-header-text`]:{flex:"auto"},[`${o}-expand-icon`]:{height:S,display:"flex",alignItems:"center",paddingInlineEnd:B},[`${o}-arrow`]:{...ze(),fontSize:F,transition:`transform ${k}`,svg:{transition:`transform ${k}`}},[`${o}-header-text`]:{marginInlineEnd:"auto"}},[`${o}-collapsible-header`]:{cursor:"default",[`${o}-header-text`]:{flex:"none",cursor:"pointer"}},[`${o}-collapsible-icon`]:{cursor:"unset",[`${o}-expand-icon`]:{cursor:"pointer"}}},[`${o}-content`]:{color:d,backgroundColor:t,borderTop:f,[`& > ${o}-content-box`]:{padding:T},"&-hidden":{display:"none"}},"&-small":{[`> ${o}-item`]:{[`> ${o}-header`]:{padding:i,paddingInlineStart:N,[`> ${o}-expand-icon`]:{marginInlineStart:e.calc(H).sub(N).equal()}},[`> ${o}-content > ${o}-content-box`]:{padding:H}}},"&-large":{[`> ${o}-item`]:{fontSize:$,lineHeight:h,[`> ${o}-header`]:{padding:a,paddingInlineStart:n,[`> ${o}-expand-icon`]:{height:E,marginInlineStart:e.calc(A).sub(n).equal()}},[`> ${o}-content > ${o}-content-box`]:{padding:A}}},[`${o}-item:last-child`]:{borderBottom:0,[`> ${o}-content`]:{borderRadius:`0 0 ${unit(c)} ${unit(c)}`}},[`& ${o}-item-disabled > ${o}-header`]:{"\n &,\n & > .arrow\n ":{color:u,cursor:"not-allowed"}},[`&${o}-icon-position-end`]:{[`& > ${o}-item`]:{[`> ${o}-header`]:{[`${o}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:B}}}}}}},za=e=>{let{componentCls:o}=e,t=`> ${o}-item > ${o}-header ${o}-arrow`;return {[`${o}-rtl`]:{[t]:{transform:"rotate(180deg)"}}}},Oa=e=>{let{componentCls:o,headerBg:t,paddingXXS:n,colorBorder:r}=e;return {[`${o}-borderless`]:{backgroundColor:t,border:0,[`> ${o}-item`]:{borderBottom:`1px solid ${r}`},[`
|
|
45
|
-
> ${o}-item:last-child,
|
|
46
|
-
> ${o}-item:last-child ${o}-header
|
|
47
|
-
`]:{borderRadius:0},[`> ${o}-item:last-child`]:{borderBottom:0},[`> ${o}-item > ${o}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${o}-item > ${o}-content > ${o}-content-box`]:{paddingTop:n}}}},Ha=e=>{let{componentCls:o,paddingSM:t}=e;return {[`${o}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${o}-item`]:{borderBottom:0,[`> ${o}-content`]:{backgroundColor:"transparent",border:0,[`> ${o}-content-box`]:{paddingBlock:t}}}}}},Aa=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),Or=ae("Collapse",e=>{let o=mergeToken(e,{collapseHeaderPaddingSM:`${unit(e.paddingXS)} ${unit(e.paddingSM)}`,collapseHeaderPaddingLG:`${unit(e.padding)} ${unit(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return [Ea(o),Oa(o),Ha(o),za(o),lt(o)]},Aa);var Ga=C.forwardRef((e,o)=>{let{getPrefixCls:t,direction:n,collapse:r}=C.useContext(x),{prefixCls:s,className:i,rootClassName:a,style:c,bordered:l=true,ghost:p,size:m,expandIconPosition:d="start",children:g,expandIcon:u}=e,$=He(f=>m??f??"middle"),b=t("collapse",s),h=t(),[B,H,A]=Or(b),N=C.useMemo(()=>d==="left"?"start":d==="right"?"end":d,[d]),k=u??r?.expandIcon,F=C.useCallback((f={})=>{let j=typeof k=="function"?k(f):C.createElement(Na,{rotate:f.isActive?90:void 0,"aria-label":f.isActive?"expanded":"collapsed"});return se(j,()=>({className:xt(j?.props?.className,`${b}-arrow`)}))},[k,b]),T=xt(`${b}-icon-position-${N}`,{[`${b}-borderless`]:!l,[`${b}-rtl`]:n==="rtl",[`${b}-ghost`]:!!p,[`${b}-${$}`]:$!=="middle"},r?.className,i,a,H,A),S={...Br(h),motionAppear:false,leavedClassName:`${b}-content-hidden`},E=C.useMemo(()=>g?Wa(g).map((f,j)=>{let V=f.props;if(V?.disabled){let oe=f.key??String(j),Z={...Ar(f.props,["disabled"]),key:oe,collapsible:V.collapsible??"disabled"};return se(f,Z)}return f}):null,[g]);return B(C.createElement(ea,{ref:o,openMotion:S,...Ar(e,["rootClassName"]),expandIcon:F,prefixCls:b,className:T,style:{...r?.style,...c}},E))});Object.assign(Ga,{Panel:Er});var Nr=(e,o)=>{let{r:t,g:n,b:r,a:s}=e.toRgb(),i=new Color(e.toRgbString()).onBackground(o).toHsv();return s<=.5?i.v>.5:t*.299+n*.587+r*.114>192};var So=e=>{let{paddingInline:o,onlyIconSize:t}=e;return mergeToken(e,{buttonPaddingHorizontal:o,buttonPaddingVertical:0,buttonIconOnlyFontSize:t})},xo=e=>{let o=e.contentFontSize??e.fontSize,t=e.contentFontSizeSM??e.fontSize,n=e.contentFontSizeLG??e.fontSizeLG,r=e.contentLineHeight??ue(o),s=e.contentLineHeightSM??ue(t),i=e.contentLineHeightLG??ue(n),a=Nr(new De(e.colorBgSolid),"#fff")?"#000":"#fff";return {fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:a,contentFontSize:o,contentFontSizeSM:t,contentFontSizeLG:n,contentLineHeight:r,contentLineHeightSM:s,contentLineHeightLG:i,paddingBlock:Math.max((e.controlHeight-o*r)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-t*s)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-n*i)/2-e.lineWidth,0)}};var Va=e=>{let{componentCls:o,iconCls:t,fontWeight:n,opacityLoading:r,motionDurationSlow:s,motionEaseInOut:i,marginXS:a,calc:c}=e;return {[o]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:n,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${unit(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},[`${o}-icon > svg`]:ze(),"> a":{color:"currentColor"},"&:not(:disabled)":er(e),[`&${o}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${o}-two-chinese-chars > *:not(${t})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&${o}-icon-only`]:{paddingInline:0,[`&${o}-compact-item`]:{flex:"none"},[`&${o}-round`]:{width:"auto"}},[`&${o}-loading`]:{opacity:r,cursor:"default"},[`${o}-loading-icon`]:{transition:["width","opacity","margin"].map(l=>`${l} ${s} ${i}`).join(",")},[`&:not(${o}-icon-end)`]:{[`${o}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:c(a).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:c(a).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",[`${o}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:c(a).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:c(a).mul(-1).equal()}}}}}},Dr=(e,o,t)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":o,"&:active":t}}),Ka=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Ua=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),Xa=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),mt=(e,o,t,n,r,s,i,a)=>({[`&${e}-background-ghost`]:{color:t||void 0,background:o,borderColor:n||void 0,boxShadow:"none",...Dr(e,{background:o,...i},{background:o,...a}),"&:disabled":{cursor:"not-allowed",color:r||void 0,borderColor:s||void 0}}}),_a=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{...Xa(e)}}),qa=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),bo=(e,o,t,n)=>({...(n&&["link","text"].includes(n)?qa:_a)(e),...Dr(e.componentCls,o,t)}),dt=(e,o,t,n,r)=>({[`&${e.componentCls}-variant-solid`]:{color:o,background:t,...bo(e,n,r)}}),gt=(e,o,t,n,r)=>({[`&${e.componentCls}-variant-outlined, &${e.componentCls}-variant-dashed`]:{borderColor:o,background:t,...bo(e,n,r)}}),ft=e=>({[`&${e.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),ut=(e,o,t,n)=>({[`&${e.componentCls}-variant-filled`]:{boxShadow:"none",background:o,...bo(e,t,n)}}),be=(e,o,t,n,r)=>({[`&${e.componentCls}-variant-${t}`]:{color:o,boxShadow:"none",...bo(e,n,r,t)}}),Za=e=>({color:e.defaultColor,boxShadow:e.defaultShadow,...dt(e,e.solidTextColor,e.colorBgSolid,{color:e.solidTextColor,background:e.colorBgSolidHover},{color:e.solidTextColor,background:e.colorBgSolidActive}),...ft(e),...ut(e,e.colorFillTertiary,{background:e.colorFillSecondary},{background:e.colorFill}),...be(e,e.textTextColor,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive}),...mt(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)}),Qa=e=>({color:e.colorPrimary,boxShadow:e.primaryShadow,...gt(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer}),...ft(e),...ut(e,e.colorPrimaryBg,{background:e.colorPrimaryBgHover},{background:e.colorPrimaryBorder}),...be(e,e.colorLink,"text",{color:e.colorPrimaryTextHover,background:e.colorPrimaryBg},{color:e.colorPrimaryTextActive,background:e.colorPrimaryBorder}),...mt(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})}),Ya=e=>({color:e.colorError,boxShadow:e.dangerShadow,...dt(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive}),...gt(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive}),...ft(e),...ut(e,e.colorErrorBg,{background:e.colorErrorBgFilledHover},{background:e.colorErrorBgActive}),...be(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive}),...be(e,e.colorError,"link",{color:e.colorErrorHover},{color:e.colorErrorActive}),...mt(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})}),Ja=e=>{let{componentCls:o}=e;return {[`${o}-color-default`]:Za(e),[`${o}-color-primary`]:Qa(e),[`${o}-color-dangerous`]:Ya(e)}},es=e=>({...gt(e,e.defaultBorderColor,e.defaultBg,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg}),...be(e,e.textTextColor,"text",{color:e.textTextHoverColor,background:e.textHoverBg},{color:e.textTextActiveColor,background:e.colorBgTextActive}),...dt(e,e.primaryColor,e.colorPrimary,{background:e.colorPrimaryHover,color:e.primaryColor},{background:e.colorPrimaryActive,color:e.primaryColor}),...be(e,e.colorLink,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})}),Ct=(e,o="")=>{let{componentCls:t,controlHeight:n,fontSize:r,borderRadius:s,buttonPaddingHorizontal:i,iconCls:a,buttonPaddingVertical:c,buttonIconOnlyFontSize:l}=e;return [{[o]:{fontSize:r,height:n,padding:`${unit(c)} ${unit(i)}`,borderRadius:s,[`&${t}-icon-only`]:{width:n,[a]:{fontSize:l,verticalAlign:"calc(-0.125em - 1px)"}}}},{[`${t}${t}-circle${o}`]:Ka(e)},{[`${t}${t}-round${o}`]:Ua(e)}]},os=e=>{let o=mergeToken(e,{fontSize:e.contentFontSize});return Ct(o,e.componentCls)},ts=e=>{let o=mergeToken(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:0,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return Ct(o,`${e.componentCls}-sm`)},rs=e=>{let o=mergeToken(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return Ct(o,`${e.componentCls}-lg`)},ns=e=>{let{componentCls:o}=e;return {[o]:{[`&${o}-block`]:{width:"100%"}}}},Wr=ae("Button",e=>{let o=So(e);return [Va(o),os(o),ts(o),rs(o),ns(o),Ja(o),es(o),Ir(o)]},xo,{unitless:{fontWeight:true,contentLineHeight:true,contentLineHeightSM:true,contentLineHeightLG:true}});function is(e,o,t){let{focusElCls:n,focus:r,borderElCls:s}=t,i=s?"> *":"",a=["hover",r?"focus":null,"active"].filter(Boolean).map(c=>`&:${c} ${i}`).join(",");return {[`&-item:not(${o}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{[a]:{zIndex:2},...n?{[`&${n}`]:{zIndex:2}}:{},[`&[disabled] ${i}`]:{zIndex:0}}}}function as(e,o,t){let{borderElCls:n}=t,r=n?`> ${n}`:"";return {[`&-item:not(${o}-first-item):not(${o}-last-item) ${r}`]:{borderRadius:0},[`&-item:not(${o}-last-item)${o}-first-item`]:{[`& ${r}, &${e}-sm ${r}, &${e}-lg ${r}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${o}-first-item)${o}-last-item`]:{[`& ${r}, &${e}-sm ${r}, &${e}-lg ${r}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function Gr(e,o={focus:true}){let{componentCls:t}=e,n=`${t}-compact`;return {[n]:{...is(e,n,o),...as(t,n,o)}}}function ss(e,o){return {[`&-item:not(${o}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function ls(e,o){return {[`&-item:not(${o}-first-item):not(${o}-last-item)`]:{borderRadius:0},[`&-item${o}-first-item:not(${o}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${o}-last-item:not(${o}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function Fr(e){let o=`${e.componentCls}-compact-vertical`;return {[o]:{...ss(e,o),...ls(e.componentCls,o)}}}var cs=e=>{let{componentCls:o,colorPrimaryHover:t,lineWidth:n,calc:r}=e,s=r(n).mul(-1).equal(),i=a=>({[`${o}-compact${a?"-vertical":""}-item${o}-primary:not([disabled])`]:{"& + &::before":{position:"absolute",top:a?s:0,insetInlineStart:a?0:s,backgroundColor:t,content:'""',width:a?"100%":n,height:a?n:"100%"}}});return {...i(),...i(true)}},jr=Yo(["Button","compact"],e=>{let o=So(e);return [Gr(o),Fr(o),cs(o)]},xo);function gs(e){if(typeof e=="object"&&e){let o=e?.delay;return o=!Number.isNaN(o)&&typeof o=="number"?o:0,{loading:o<=0,delay:o}}return {loading:!!e,delay:0}}var fs={default:["default","outlined"],primary:["primary","solid"],dashed:["default","dashed"],link:["primary","link"],text:["default","text"]},us=C__default.forwardRef((e,o)=>{let{loading:t=false,prefixCls:n,color:r,variant:s,type:i,danger:a=false,shape:c="default",size:l,styles:p,disabled:m,className:d,rootClassName:g,children:u,icon:$,iconPosition:b="start",ghost:h=false,block:B=false,htmlType:H="button",classNames:A,style:N={},autoInsertSpace:k,autoFocus:F,...T}=e,S=i||"default",[E,f]=useMemo(()=>{if(r&&s)return [r,s];let v=fs[S]||[];return a?["danger",v[1]]:v},[i,r,s,a]),V=E==="danger"?"dangerous":E,{getPrefixCls:oe,direction:Z,button:K}=useContext(x),Te=k??K?.autoInsertSpace??true,y=oe("btn",n),[We,To,ho]=Wr(y),vo=useContext(io),Q=m??vo,Po=useContext(rt),te=useMemo(()=>gs(t),[t]),[D,Ge]=useState(te.loading),[he,Fe]=useState(false),re=useRef(null),je=useComposeRef(o,re),Ve=Children.count(u)===1&&!$&&!Co(f),ve=useRef(true);C__default.useEffect(()=>(ve.current=false,()=>{ve.current=true;}),[]),useEffect(()=>{let v=null;te.delay>0?v=setTimeout(()=>{v=null,Ge(true);},te.delay):Ge(te.loading);function Lo(){v&&(clearTimeout(v),v=null);}return Lo},[te]),useEffect(()=>{if(!re.current||!Te)return;let v=re.current.textContent||"";Ve&&uo(v)?he||Fe(true):he&&Fe(false);}),useEffect(()=>{F&&re.current&&re.current.focus();},[]);let Ke=C__default.useCallback(v=>{if(D||Q){v.preventDefault();return}e.onClick?.(v);},[e.onClick,D,Q]),{compactSize:Ro,compactItemClassnames:Ue}=br(y,Z),Mo={large:"lg",small:"sm",middle:void 0},Xe=He(v=>l??Ro??Po??v),_e=Xe?Mo[Xe]??"":"",$o=D?"loading":$,Pe=Ar(T,["navigate"]),qe=xt(y,To,ho,{[`${y}-${c}`]:c!=="default"&&c,[`${y}-${S}`]:S,[`${y}-dangerous`]:a,[`${y}-color-${V}`]:V,[`${y}-variant-${f}`]:f,[`${y}-${_e}`]:_e,[`${y}-icon-only`]:!u&&u!==0&&!!$o,[`${y}-background-ghost`]:h&&!Co(f),[`${y}-loading`]:D,[`${y}-two-chinese-chars`]:he&&Te&&!D,[`${y}-block`]:B,[`${y}-rtl`]:Z==="rtl",[`${y}-icon-end`]:b==="end"},Ue,d,g,K?.className),Ze={...K?.style,...N},ko=xt(A?.icon,K?.classNames?.icon),Io={...p?.icon||{},...K?.styles?.icon||{}},Qe=$&&!D?C__default.createElement(yo,{prefixCls:y,className:ko,style:Io},$):C__default.createElement($r,{existIcon:!!$,prefixCls:y,loading:D,mount:ve.current}),Ye=u||u===0?Pr(u,Ve&&Te):null;if(Pe.href!==void 0)return We(C__default.createElement("a",{...Pe,className:xt(qe,{[`${y}-disabled`]:Q}),href:Q?void 0:Pe.href,style:Ze,onClick:Ke,ref:je,tabIndex:Q?-1:0},Qe,Ye));let Re=C__default.createElement("button",{...T,type:H,className:qe,style:Ze,onClick:Ke,disabled:Q,ref:je},Qe,Ye,Ue&&C__default.createElement(jr,{prefixCls:y}));return Co(f)||(Re=C__default.createElement(yr,{component:"Button",disabled:D},Re)),We(Re)}),bt=us;bt.Group=Tr;bt.__ANT_BUTTON=true;var Ig=bt;export{Ig as default};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { BaseButtonProps, LegacyButtonType } from './button';
|
|
3
|
-
export declare const isTwoCNChar: any;
|
|
4
|
-
export declare function convertLegacyProps(type?: LegacyButtonType): Pick<BaseButtonProps, 'danger' | 'type'>;
|
|
5
|
-
export declare function isString(str: unknown): str is string;
|
|
6
|
-
export declare function isUnBorderedButtonVariant(type?: ButtonVariantType): type is "text" | "link";
|
|
7
|
-
export declare function spaceChildren(children: React.ReactNode, needInserted: boolean): (number | React.JSX.Element)[] | null | undefined;
|
|
8
|
-
declare const _ButtonTypes: readonly ["default", "primary", "dashed", "link", "text"];
|
|
9
|
-
export type ButtonType = (typeof _ButtonTypes)[number];
|
|
10
|
-
declare const _ButtonShapes: readonly ["default", "circle", "round"];
|
|
11
|
-
export type ButtonShape = (typeof _ButtonShapes)[number];
|
|
12
|
-
declare const _ButtonHTMLTypes: readonly ["submit", "button", "reset"];
|
|
13
|
-
export type ButtonHTMLType = (typeof _ButtonHTMLTypes)[number];
|
|
14
|
-
export declare const _ButtonVariantTypes: readonly ["outlined", "dashed", "solid", "filled", "text", "link"];
|
|
15
|
-
export type ButtonVariantType = (typeof _ButtonVariantTypes)[number];
|
|
16
|
-
export declare const _ButtonColorTypes: readonly ["default", "primary", "danger"];
|
|
17
|
-
export type ButtonColorType = (typeof _ButtonColorTypes)[number];
|
|
18
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import s from'react';function c(t){return t&&s.isValidElement(t)&&t.type===s.Fragment}var B=(t,n,e)=>s.isValidElement(t)?s.cloneElement(t,typeof e=="function"?e(t.props||{}):e):n;function y(t,n){return B(t,t,n)}var f=/^[\u4E00-\u9FA5]{2}$/,l=f.test.bind(f);function C(t){return t==="danger"?{danger:true}:{type:t}}function m(t){return typeof t=="string"}function P(t){return t==="text"||t==="link"}function R(t,n){if(t==null)return;let e=n?" ":"";return typeof t!="string"&&typeof t!="number"&&m(t.type)&&l(t.props.children)?y(t,{children:t.props.children.split("").join(e)}):m(t)?l(t)?s.createElement("span",null,t.split("").join(e)):s.createElement("span",null,t):c(t)?s.createElement("span",null,t):t}function E(t,n){let e=false,r=[];return s.Children.forEach(t,o=>{let a=typeof o,u=a==="string"||a==="number";if(e&&u){let i=r.length-1,d=r[i];r[i]=`${d}${o}`;}else r.push(o);e=u;}),s.Children.map(r,o=>R(o,n))}var _=["outlined","dashed","solid","filled","text","link"],N=["default","primary","danger"];export{N as _ButtonColorTypes,_ as _ButtonVariantTypes,C as convertLegacyProps,m as isString,l as isTwoCNChar,P as isUnBorderedButtonVariant,E as spaceChildren};
|
package/es/button/index.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import Button from './button';
|
|
2
|
-
export type { SizeType as ButtonSize } from '../config-provider/SizeContext';
|
|
3
|
-
export type { ButtonProps } from './button';
|
|
4
|
-
export type { ButtonGroupProps } from './button-group';
|
|
5
|
-
export * from './buttonHelpers';
|
|
6
|
-
export default Button;
|
package/es/button/index.js
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import*as C from'react';import C__default,{createContext,useContext,forwardRef,useMemo,useState,useRef,Children,useEffect}from'react';import xt from'classnames';import Ar from'rc-util/lib/omit';import {useComposeRef,supportRef,composeRef,getNodeRef}from'rc-util/lib/ref';import'rc-util/lib/warning';import Mi from'rc-util/lib/Dom/isVisible';import {createTheme,Keyframes,unit,useCacheToken,useStyleRegister}from'@ant-design/cssinjs';import Yn from'@ant-design/icons/lib/components/Context';import qn from'rc-util/lib/hooks/useMemo';import {merge}from'rc-util/lib/utils/set';import'rc-pagination/lib/locale/en_US';import mn from'rc-picker/lib/locale/en_US';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';import In from'rc-util/lib/Dom/canUseDom';import {updateCSS}from'rc-util/lib/Dom/dynamicCSS';import Zn from'rc-util/lib/isEqual';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import yi,{Provider}from'rc-motion';import Ti from'rc-util/lib/hooks/useEvent';import dr from'rc-util/lib/raf';import'react-dom';import {unmount,render}from'rc-util/lib/React/render';import Ga from'rc-util/lib/Children/toArray';import Ui from'@ant-design/icons/LoadingOutlined';import {Color}from'@rc-component/color-picker';import'rc-util/lib/hooks/useMergedState';import Da from'@ant-design/icons/RightOutlined';import oa from'rc-collapse';function Rt(){}var ln=Rt,Mt=C.createContext({}),eo=()=>{let e=()=>{};return e.deprecated=Rt,e},ke=ln;var $t=createContext(void 0);({lang:{...mn}});var I="${label} is not a valid ${type}",fn={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:I,method:I,array:I,object:I,number:I,date:I,boolean:I,integer:I,float:I,regexp:I,email:I,url:I,hex:I},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}"}}}},ne=fn;({...ne.Modal});var ro=[],It=()=>ro.reduce((e,o)=>({...e,...o}),ne.Modal);function Lt(e){if(e){let o={...e};return ro.push(o),It(),()=>{ro=ro.filter(t=>t!==o),It();}}({...ne.Modal});}var Cn=createContext(void 0),Ie=Cn;var Bt="internalMark",Sn=e=>{let{locale:o={},children:t,_ANT_MARK__:n}=e;C.useEffect(()=>Lt(o?.Modal),[o]);let r=C.useMemo(()=>({...o,exist:true}),[o]);return C.createElement(Ie.Provider,{value:r},t)},Et=Sn;var Ho={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"},xn={...Ho,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},X=xn;function No(e,{generateColorPalettes:o,generateNeutralColorPalettes:t}){let{colorSuccess:n,colorWarning:r,colorError:s,colorInfo:i,colorPrimary:a,colorBgBase:c,colorTextBase:l}=e,p=o(a),m=o(n),d=o(r),g=o(s),u=o(i),$=t(c,l),b=e.colorLink||e.colorInfo,h=o(b),B=new TinyColor(g[1]).mix(new TinyColor(g[3]),50).toHexString();return {...$,colorPrimaryBg:p[1],colorPrimaryBgHover:p[2],colorPrimaryBorder:p[3],colorPrimaryBorderHover:p[4],colorPrimaryHover:p[5],colorPrimary:p[6],colorPrimaryActive:p[7],colorPrimaryTextHover:p[8],colorPrimaryText:p[9],colorPrimaryTextActive:p[10],colorSuccessBg:m[1],colorSuccessBgHover:m[2],colorSuccessBorder:m[3],colorSuccessBorderHover:m[4],colorSuccessHover:m[4],colorSuccess:m[6],colorSuccessActive:m[7],colorSuccessTextHover:m[8],colorSuccessText:m[9],colorSuccessTextActive:m[10],colorErrorBg:g[1],colorErrorBgHover:g[2],colorErrorBgFilledHover:B,colorErrorBgActive:g[3],colorErrorBorder:g[3],colorErrorBorderHover:g[4],colorErrorHover:g[5],colorError:g[6],colorErrorActive:g[7],colorErrorTextHover:g[8],colorErrorText:g[9],colorErrorTextActive:g[10],colorWarningBg:d[1],colorWarningBgHover:d[2],colorWarningBorder:d[3],colorWarningBorderHover:d[4],colorWarningHover:d[4],colorWarning:d[6],colorWarningActive:d[7],colorWarningTextHover:d[8],colorWarningText:d[9],colorWarningTextActive:d[10],colorInfoBg:u[1],colorInfoBgHover:u[2],colorInfoBorder:u[3],colorInfoBorderHover:u[4],colorInfoHover:u[4],colorInfo:u[6],colorInfoActive:u[7],colorInfoTextHover:u[8],colorInfoText:u[9],colorInfoTextActive:u[10],colorLinkHover:h[4],colorLink:h[6],colorLinkActive:h[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var bn=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}},zt=bn;function Do(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,...zt(n)}}var Tn=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},Ot=Tn;function ue(e){return (e+8)/e}function Wo(e){let o=new Array(10).fill(null).map((t,n)=>{let r=n-1,s=e*Math.E**(r/5),i=n>1?Math.floor(s):Math.ceil(s);return Math.floor(i/2)*2});return o[1]=e,o.map(t=>({size:t,lineHeight:ue(t)}))}var hn=e=>{let o=Wo(e),t=o.map(p=>p.size),n=o.map(p=>p.lineHeight),r=t[1],s=t[0],i=t[2],a=n[1],c=n[0],l=n[2];return {fontSizeSM:s,fontSize:r,fontSizeLG:i,fontSizeXL:t[3],fontSizeHeading1:t[6],fontSizeHeading2:t[5],fontSizeHeading3:t[4],fontSizeHeading4:t[3],fontSizeHeading5:t[2],lineHeight:a,lineHeightLG:l,lineHeightSM:c,fontHeight:Math.round(a*r),fontHeightLG:Math.round(l*i),fontHeightSM:Math.round(c*s),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},Ht=hn;function Go(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 L=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),Ce=(e,o)=>new TinyColor(e).darken(o).toHexString();var Nt=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]}},Dt=(e,o)=>{let t=e||"#fff",n=o||"#000";return {colorBgBase:t,colorTextBase:n,colorText:L(n,.88),colorTextSecondary:L(n,.65),colorTextTertiary:L(n,.45),colorTextQuaternary:L(n,.25),colorFill:L(n,.15),colorFillSecondary:L(n,.06),colorFillTertiary:L(n,.04),colorFillQuaternary:L(n,.02),colorBgSolid:L(n,1),colorBgSolidHover:L(n,.75),colorBgSolidActive:L(n,.95),colorBgLayout:Ce(t,4),colorBgContainer:Ce(t,0),colorBgElevated:Ce(t,0),colorBgSpotlight:L(n,.85),colorBgBlur:"transparent",colorBorder:Ce(t,15),colorBorderSecondary:Ce(t,6)}};function Vo(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys(Ho).map(t=>{let n=e[t]===presetPrimaryColors[t]?presetPalettes[t]:generate(e[t]);return new Array(10).fill(1).reduce((r,s,i)=>(r[`${t}-${i+1}`]=n[i],r[`${t}${i+1}`]=n[i],r),{})}).reduce((t,n)=>(t={...t,...n},t),{});return {...e,...o,...No(e,{generateColorPalettes:Nt,generateNeutralColorPalettes:Dt}),...Ht(e.fontSize),...Go(e),...Ot(e),...Do(e)}}var no=createTheme(Vo),Le={token:X,override:{override:X},hashed:true},we=C__default.createContext(Le);var Y="ant",Be="anticon";var $n=(e,o)=>o||(e?`${Y}-${e}`:Y),x=C.createContext({getPrefixCls:$n,iconPrefixCls:Be}),{Consumer:kn}=x;var wn=`-ant-${Date.now()}-${Math.random()}`;function Bn(e,o){let t={},n=(i,a)=>{let c=i.clone();return c=a?.(c)||c,c.toRgbString()},r=(i,a)=>{let c=new TinyColor(i),l=generate(c.toRgbString());t[`${a}-color`]=n(c),t[`${a}-color-disabled`]=l[1],t[`${a}-color-hover`]=l[4],t[`${a}-color-active`]=l[6],t[`${a}-color-outline`]=c.clone().setAlpha(.2).toRgbString(),t[`${a}-color-deprecated-bg`]=l[0],t[`${a}-color-deprecated-border`]=l[2];};if(o.primaryColor){r(o.primaryColor,"primary");let i=new TinyColor(o.primaryColor),a=generate(i.toRgbString());a.forEach((l,p)=>{t[`primary-${p+1}`]=l;}),t["primary-color-deprecated-l-35"]=n(i,l=>l.lighten(35)),t["primary-color-deprecated-l-20"]=n(i,l=>l.lighten(20)),t["primary-color-deprecated-t-20"]=n(i,l=>l.tint(20)),t["primary-color-deprecated-t-50"]=n(i,l=>l.tint(50)),t["primary-color-deprecated-f-12"]=n(i,l=>l.setAlpha(l.getAlpha()*.12));let c=new TinyColor(a[0]);t["primary-color-active-deprecated-f-30"]=n(c,l=>l.setAlpha(l.getAlpha()*.3)),t["primary-color-active-deprecated-d-02"]=n(c,l=>l.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(i=>`--${e}-${i}: ${t[i]};`).join(`
|
|
6
|
-
`)}
|
|
7
|
-
}
|
|
8
|
-
`.trim()}function Ft(e,o){let t=Bn(e,o);In()?updateCSS(t,`${wn}-dynamic-theme`):ke();}var Uo=C.createContext(false),jt=({children:e,disabled:o})=>{let t=C.useContext(Uo);return C.createElement(Uo.Provider,{value:o??t},e)},io=Uo;var Xo=C.createContext(void 0),Vt=({children:e,size:o})=>{let t=C.useContext(Xo);return C.createElement(Xo.Provider,{value:o||t},e)},ie=Xo;function En(){let e=useContext(io),o=useContext(ie);return {componentDisabled:e,componentSize:o}}var Ut=En;var _t={version:"0.0.3"};var qt=_t.version;function _o(e){return e>=0&&e<=255}function On(e,o){let{r:t,g:n,b:r,a:s}=new TinyColor(e).toRgb();if(s<1)return e;let{r:i,g:a,b:c}=new TinyColor(o).toRgb();for(let l=.01;l<=1;l+=.01){let p=Math.round((t-i*(1-l))/l),m=Math.round((n-a*(1-l))/l),d=Math.round((r-c*(1-l))/l);if(_o(p)&&_o(m)&&_o(d))return new TinyColor({r:p,g:m,b:d,a:Math.round(l*100)/100}).toRgbString()}return new TinyColor({r:t,g:n,b:r,a:1}).toRgbString()}var Ee=On;function so(e){let{override:o,...t}=e,n={...o};Object.keys(X).forEach(d=>{delete n[d];});let r={...t,...n},s=480,i=576,a=768,c=992,l=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:Ee(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:Ee(r.colorErrorBg,r.colorBgContainer),colorWarningOutline:Ee(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:Ee(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:s,screenXSMin:s,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:a-1,screenMD:a,screenMDMin:a,screenMDMax:c-1,screenLG:c,screenLGMin:c,screenLGMax:l-1,screenXL:l,screenXLMin:l,screenXLMax:p-1,screenXXL:p,screenXXLMin:p,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
|
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 Zo={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},Nn={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},Dn={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},Zt=(e,o,t)=>{let n=t.getDerivativeToken(e),{override:r,...s}=o,i={...n,override:r};return i=so(i),s&&Object.entries(s).forEach(([a,c])=>{let{theme:l,...p}=c,m=p;l&&(m=Zt({...i,...p},{override:p},l)),i[a]=m;}),i};function w(){let{token:e,hashed:o,theme:t,override:n,cssVar:r}=C__default.useContext(we),s=`${qt}-${o||""}`,i=t||no,[a,c,l]=useCacheToken(i,[X,e],{salt:s,override:n,getComputedToken:Zt,formatToken:so,cssVar:r&&{prefix:r.prefix,key:r.key,unitless:Zo,ignore:Nn,preserve:Dn}});return [i,l,o?c:"",a,r]}var Qt=(e,o=false)=>({boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:o?"inherit":e.fontFamily}),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 Yt=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"}}}),Jt=(e,o,t,n)=>{let r=`[class^="${o}"], [class*=" ${o}"]`,s=t?`.${t}`:r,i={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},a={};return n!==false&&(a={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[s]:{...a,...i,[r]:i}}},Gn=e=>({outline:`${unit(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),er=e=>({"&:focus-visible":{...Gn(e)}}),lo=e=>({[`.${e}`]:{...ze(),[`.${e} .${e}-icon`]:{display:"block"}}});var{genStyleHooks:ae,genComponentStyleHook:Qo,genSubStyleComponent:Yo}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:o}=useContext(x);return {rootPrefixCls:e(),iconPrefixCls:o}},useToken:()=>{let[e,o,t,n,r]=w();return {theme:e,realToken:o,hashId:t,token:n,cssVar:r}},useCSP:()=>{let{csp:e}=useContext(x);return e??{}},getResetStyles:(e,o)=>[{"&":Yt(e)},lo(o?.prefix.iconPrefixCls??Be)],getCommonStyle:Jt,getCompUnitless:(()=>Zo)});var Vn=(e,o)=>{let[t,n]=w();return useStyleRegister({theme:t,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>o?.nonce,layer:{name:"antd"}},()=>[lo(e)])},co=Vn;var Un={...C},{useId:tr}=Un,Xn=()=>"",_n=typeof tr>"u"?Xn:tr,rr=_n;function Jo(e,o,t){eo();let r=e||{},s=r.inherit===false||!o?{...Le,hashed:o?.hashed??Le.hashed,cssVar:o?.cssVar}:o,i=rr();return qn(()=>{if(!e)return o;let a={...s.components};Object.keys(e.components||{}).forEach(p=>{a[p]={...a[p],...e.components[p]};});let c=`css-var-${i.replace(/:/g,"")}`,l=(r.cssVar??s.cssVar)&&{prefix:t?.prefixCls,...typeof s.cssVar=="object"?s.cssVar:{},...typeof r.cssVar=="object"?r.cssVar:{},key:typeof r.cssVar=="object"&&r.cssVar?.key||c};return {...s,...r,token:{...s.token,...r.token},components:a,cssVar:l}},[r,s],(a,c)=>a.some((l,p)=>{let m=c[p];return !Zn(l,m,true)}))}function et(e){let{children:o}=e,[,t]=w(),{motion:n}=t,r=C.useRef(false);return r.current=r.current||n===false,r.current?C.createElement(Provider,{motion:n},o):o}C.memo(({dropdownMatchSelectWidth:e})=>(eo().deprecated(e===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null));var ir=()=>null;var oi=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"],sr;function ii(){return sr||Y}function ai(e){return Object.keys(e).some(o=>o.endsWith("Color"))}var si=e=>{let{prefixCls:o,iconPrefixCls:t,theme:n,holderRender:r}=e;o!==void 0&&(sr=o),n&&(ai(n)?(Ft(ii(),n)):n);};var li=e=>{let{children:o,csp:t,autoInsertSpaceInButton:n,alert:r,anchor:s,form:i,locale:a,componentSize:c,direction:l,space:p,splitter:m,virtual:d,dropdownMatchSelectWidth:g,popupMatchSelectWidth:u,popupOverflow:$,legacyLocale:b,parentContext:h,iconPrefixCls:B,theme:H,componentDisabled:A,segmented:N,statistic:k,spin:F,calendar:T,carousel:S,cascader:E,collapse:f,typography:j,checkbox:V,descriptions:oe,divider:Z,drawer:K,skeleton:Te,steps:y,image:We,layout:To,list:ho,mentions:vo,modal:Q,progress:Po,result:te,slider:D,breadcrumb:Ge,menu:he,pagination:Fe,input:re,textArea:je,empty:Ve,badge:ve,radio:Ke,rate:Ro,switch:Ue,transfer:Mo,avatar:Xe,message:_e,tag:$o,table:Pe,card:qe,tabs:Ze,timeline:ko,timePicker:Io,upload:Qe,notification:Ye,tree:Re,colorPicker:v,datePicker:Lo,rangePicker:_r,flex:qr,wave:Zr,dropdown:Qr,warning:Yr,tour:Jr,variant:en,inputNumber:on,treeSelect:tn}=e,Tt=C.useCallback((P,W)=>{let{prefixCls:de}=e;if(W)return W;let ge=de||h.getPrefixCls("");return P?`${ge}-${P}`:ge},[h.getPrefixCls,e.prefixCls]),Me=B||h.iconPrefixCls||Be,$e=t||h.csp;co(Me,$e);let wo=Jo(H,h.theme,{prefixCls:Tt("")}),Bo={csp:$e,autoInsertSpaceInButton:n,alert:r,anchor:s,locale:a||b,direction:l,space:p,splitter:m,virtual:d,popupMatchSelectWidth:u??g,popupOverflow:$,getPrefixCls:Tt,iconPrefixCls:Me,theme:wo,segmented:N,statistic:k,spin:F,calendar:T,carousel:S,cascader:E,collapse:f,typography:j,checkbox:V,descriptions:oe,divider:Z,drawer:K,skeleton:Te,steps:y,image:We,input:re,textArea:je,layout:To,list:ho,mentions:vo,modal:Q,progress:Po,result:te,slider:D,breadcrumb:Ge,menu:he,pagination:Fe,empty:Ve,badge:ve,radio:Ke,rate:Ro,switch:Ue,transfer:Mo,avatar:Xe,message:_e,tag:$o,table:Pe,card:qe,tabs:Ze,timeline:ko,timePicker:Io,upload:Qe,notification:Ye,tree:Re,colorPicker:v,datePicker:Lo,rangePicker:_r,flex:qr,wave:Zr,dropdown:Qr,warning:Yr,tour:Jr,variant:en,inputNumber:on,treeSelect:tn},pe={...h};Object.keys(Bo).forEach(P=>{Bo[P]!==void 0&&(pe[P]=Bo[P]);}),oi.forEach(P=>{let W=e[P];W&&(pe[P]=W);}),typeof n<"u"&&(pe.button={autoInsertSpace:n,...pe.button});let me=qn(()=>pe,pe,(P,W)=>{let de=Object.keys(P),ge=Object.keys(W);return de.length!==ge.length||de.some(Je=>P[Je]!==W[Je])}),rn=C.useMemo(()=>({prefixCls:Me,csp:$e}),[Me,$e]),M=C.createElement(C.Fragment,null,C.createElement(ir,{dropdownMatchSelectWidth:g}),o),ht=C.useMemo(()=>merge(ne.Form?.defaultValidateMessages||{},me.locale?.Form?.defaultValidateMessages||{},me.form?.validateMessages||{},i?.validateMessages||{}),[me,i?.validateMessages]);Object.keys(ht).length>0&&(M=C.createElement($t.Provider,{value:ht},M)),a&&(M=C.createElement(Et,{locale:a,_ANT_MARK__:Bt},M)),(M=C.createElement(Yn.Provider,{value:rn},M)),c&&(M=C.createElement(Vt,{size:c},M)),M=C.createElement(et,null,M);let nn=C.useMemo(()=>{let{algorithm:P,token:W,components:de,cssVar:ge,...Je}=wo||{},vt=P&&(!Array.isArray(P)||P.length>0)?createTheme(P):no,Eo={};Object.entries(de||{}).forEach(([an,sn])=>{let U={...sn};"algorithm"in U&&(U.algorithm===true?U.theme=vt:(Array.isArray(U.algorithm)||typeof U.algorithm=="function")&&(U.theme=createTheme(U.algorithm)),delete U.algorithm),Eo[an]=U;});let Pt={...X,...W};return {...Je,theme:vt,token:Pt,components:Eo,override:{override:Pt,...Eo},cssVar:ge}},[wo]);return H&&(M=C.createElement(we.Provider,{value:nn},M)),me.warning&&(M=C.createElement(Mt.Provider,{value:me.warning},M)),A!==void 0&&(M=C.createElement(jt,{disabled:A},M)),C.createElement(x.Provider,{value:me},M)},Oe=e=>{let o=C.useContext(x),t=C.useContext(Ie);return C.createElement(li,{parentContext:o,legacyLocale:t,...e})};Oe.ConfigContext=x;Oe.SizeContext=ie;Oe.config=si;Oe.useConfig=Ut;Object.defineProperty(Oe,"SizeContext",{get:()=>(ie)});function lr(e){return e&&C__default.isValidElement(e)&&e.type===C__default.Fragment}var ci=(e,o,t)=>C__default.isValidElement(e)?C__default.cloneElement(e,typeof t=="function"?t(e.props||{}):t):o;function se(e,o){return ci(e,e,o)}var pi=e=>{let{componentCls:o,colorPrimary:t}=e;return {[o]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${t})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},cr=Qo("Wave",e=>[pi(e)]);var go=`${Y}-wave-target`;var fi=(e,o)=>(render(e,o),()=>unmount(o)),ui=fi;function pr(){return ui}function ot(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function mr(e){let{borderTopColor:o,borderColor:t,backgroundColor:n}=getComputedStyle(e);return ot(o)?o:ot(t)?t:ot(n)?n:null}function tt(e){return Number.isNaN(e)?0:e}var xi=e=>{let{className:o,target:t,component:n,registerUnmount:r}=e,s=C.useRef(null),i=C.useRef(null);C.useEffect(()=>{i.current=r();},[]);let[a,c]=C.useState(null),[l,p]=C.useState([]),[m,d]=C.useState(0),[g,u]=C.useState(0),[$,b]=C.useState(0),[h,B]=C.useState(0),[H,A]=C.useState(false),N={left:m,top:g,width:$,height:h,borderRadius:l.map(T=>`${T}px`).join(" ")};a&&(N["--wave-color"]=a);function k(){let T=getComputedStyle(t);c(mr(t));let S=T.position==="static",{borderLeftWidth:E,borderTopWidth:f}=T;d(S?t.offsetLeft:tt(-parseFloat(E))),u(S?t.offsetTop:tt(-parseFloat(f))),b(t.offsetWidth),B(t.offsetHeight);let{borderTopLeftRadius:j,borderTopRightRadius:V,borderBottomLeftRadius:oe,borderBottomRightRadius:Z}=T;p([j,V,Z,oe].map(K=>tt(parseFloat(K))));}if(C.useEffect(()=>{if(t){let T=dr(()=>{k(),A(true);}),S;return typeof ResizeObserver<"u"&&(S=new ResizeObserver(k),S.observe(t)),()=>{dr.cancel(T),S?.disconnect();}}},[]),!H)return null;let F=(n==="Checkbox"||n==="Radio")&&t?.classList.contains(go);return C.createElement(yi,{visible:true,motionAppear:true,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(T,S)=>{if(S.deadline||S.propertyName==="opacity"){let E=s.current?.parentElement;i.current?.().then(()=>{E?.remove();});}return false}},({className:T},S)=>C.createElement("div",{ref:composeRef(s,S),className:xt(o,T,{"wave-quick":F}),style:N}))},bi=(e,o)=>{let{component:t}=o;if(t==="Checkbox"&&!e.querySelector("input")?.checked)return;let n=document.createElement("div");n.style.position="absolute",n.style.left="0px",n.style.top="0px",e?.insertBefore(n,e?.firstChild);let r=pr(),s=null;function i(){return s}s=r(C.createElement(xi,{...o,target:e,registerUnmount:i}),n);},gr=bi;var hi=(e,o,t)=>{let{wave:n}=C.useContext(x),[,r,s]=w(),i=Ti(l=>{let p=e.current;if(n?.disabled||!p)return;let m=p.querySelector(`.${go}`)||p,{showEffect:d}=n||{};(d||gr)(m,{className:o,token:r,component:t,event:l,hashId:s});}),a=C.useRef(null);return l=>{dr.cancel(a.current),a.current=dr(()=>{i(l);});}},ur=hi;var Li=e=>{let{children:o,disabled:t,component:n}=e,{getPrefixCls:r}=useContext(x),s=useRef(null),i=r("wave"),[,a]=cr(i),c=ur(s,xt(i,a),n);if(C__default.useEffect(()=>{let p=s.current;if(!p||p.nodeType!==1||t)return;let m=d=>{!Mi(d.target)||!p.getAttribute||p.getAttribute("disabled")||p.disabled||p.className.includes("disabled")||p.className.includes("-leave")||c(d);};return p.addEventListener("click",m,true),()=>{p.removeEventListener("click",m,true);}},[t]),!C__default.isValidElement(o))return o??null;let l=supportRef(o)?composeRef(getNodeRef(o),s):s;return se(o,{ref:l})},yr=Li;var wi=e=>{let o=C__default.useContext(ie);return C__default.useMemo(()=>e?typeof e=="string"?e??o:e instanceof Function?e(o):o:o,[e,o])},He=wi;var Bi=e=>{let{componentCls:o}=e;return {[o]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},xr=Bi;var Ei=e=>{let{componentCls:o,antCls:t}=e;return {[o]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${o}-item:empty`]:{display:"none"},[`${o}-item > ${t}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},zi=e=>{let{componentCls:o}=e;return {[o]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}};ae("Space",e=>{let o=mergeToken(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return [Ei(o),zi(o),xr(o)]},()=>({}),{resetStyle:false});var Ai=C.createContext(null),br=(e,o)=>{let t=C.useContext(Ai),n=C.useMemo(()=>{if(!t)return "";let{compactDirection:r,isFirstItem:s,isLastItem:i}=t,a=r==="vertical"?"-vertical-":"-";return xt(`${e}-compact${a}item`,{[`${e}-compact${a}first-item`]:s,[`${e}-compact${a}last-item`]:i,[`${e}-compact${a}item-rtl`]:o==="rtl"})},[e,o,t]);return {compactSize:t?.compactSize,compactDirection:t?.compactDirection,compactItemClassnames:n}};var rt=C.createContext(void 0),Di=e=>{let{getPrefixCls:o,direction:t}=C.useContext(x),{prefixCls:n,size:r,className:s,...i}=e,a=o("btn-group",n),[,,c]=w(),l="";switch(r){case "large":l="lg";break;case "small":l="sm";break;}let p=xt(a,{[`${a}-${l}`]:l,[`${a}-rtl`]:t==="rtl"},s,c);return C.createElement(rt.Provider,{value:r},C.createElement("div",{...i,className:p}))},Tr=Di;var hr=/^[\u4E00-\u9FA5]{2}$/,uo=hr.test.bind(hr);function Sm(e){return e==="danger"?{danger:true}:{type:e}}function vr(e){return typeof e=="string"}function Co(e){return e==="text"||e==="link"}function Wi(e,o){if(e==null)return;let t=o?" ":"";return typeof e!="string"&&typeof e!="number"&&vr(e.type)&&uo(e.props.children)?se(e,{children:e.props.children.split("").join(t)}):vr(e)?uo(e)?C__default.createElement("span",null,e.split("").join(t)):C__default.createElement("span",null,e):lr(e)?C__default.createElement("span",null,e):e}function Pr(e,o){let t=false,n=[];return C__default.Children.forEach(e,r=>{let s=typeof r,i=s==="string"||s==="number";if(t&&i){let a=n.length-1,c=n[a];n[a]=`${c}${r}`;}else n.push(r);t=i;}),C__default.Children.map(n,r=>Wi(r,o))}var xm=["outlined","dashed","solid","filled","text","link"],bm=["default","primary","danger"];var Vi=forwardRef((e,o)=>{let{className:t,style:n,children:r,prefixCls:s}=e,i=xt(`${s}-icon`,t);return C__default.createElement("span",{ref:o,className:i,style:n},r)}),yo=Vi;var Rr=forwardRef((e,o)=>{let{prefixCls:t,className:n,style:r,iconClassName:s}=e,i=xt(`${t}-loading-icon`,n);return C__default.createElement(yo,{prefixCls:t,className:i,style:r,ref:o},C__default.createElement(Ui,{className:s}))}),nt=()=>({width:0,opacity:0,transform:"scale(0)"}),it=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),_i=e=>{let{prefixCls:o,loading:t,existIcon:n,className:r,style:s,mount:i}=e,a=!!t;return n?C__default.createElement(Rr,{prefixCls:o,className:r,style:s}):C__default.createElement(yi,{visible:a,motionName:`${o}-loading-icon-motion`,motionAppear:!i,motionEnter:!i,motionLeave:!i,removeOnLeave:true,onAppearStart:nt,onAppearActive:it,onEnterStart:nt,onEnterActive:it,onLeaveStart:it,onLeaveActive:nt},({className:c,style:l},p)=>{let m={...s,...l};return C__default.createElement(Rr,{prefixCls:o,className:xt(r,c),style:m,ref:p})})},$r=_i;var kr=(e,o)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:o}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:o}}}}}),qi=e=>{let{componentCls:o,fontSize:t,lineWidth:n,groupBorderColor:r,colorErrorHover:s}=e;return {[`${o}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${o}`]:{"&:not(:last-child)":{[`&, & > ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(n).mul(-1).equal(),[`&, & > ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[o]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${o}-icon-only`]:{fontSize:t}},kr(`${o}-primary`,r),kr(`${o}-danger`,s)]}},Ir=qi;var Zi=(e,o)=>e?.replace(/[^\w/]/g,"").slice(0,o?8:6)||"",Qi=(e,o)=>e?Zi(e,o):"",De=class e{metaColor;colors;cleared=false;constructor(o){if(o instanceof e){this.metaColor=o.metaColor.clone(),this.colors=o.colors?.map(n=>({color:new e(n.color),percent:n.percent})),this.cleared=o.cleared;return}let t=Array.isArray(o);t&&o.length?(this.colors=o.map(({color:n,percent:r})=>({color:new e(n),percent:r})),this.metaColor=new Color(this.colors[0].color.metaColor)):this.metaColor=new Color(t?"":o),(!o||t&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=true);}toHsb(){return this.metaColor.toHsb()}toHsbString(){return this.metaColor.toHsbString()}toHex(){return Qi(this.toHexString(),this.metaColor.a<1)}toHexString(){return this.metaColor.toHexString()}toRgb(){return this.metaColor.toRgb()}toRgbString(){return this.metaColor.toRgbString()}isGradient(){return !!this.colors&&!this.cleared}getColors(){return this.colors||[{color:this,percent:0}]}toCssString(){let{colors:o}=this;return o?`linear-gradient(90deg, ${o.map(n=>`${n.color.toRgbString()} ${n.percent}%`).join(", ")})`:this.metaColor.toRgbString()}equals(o){return !o||this.isGradient()!==o.isGradient()?false:this.isGradient()?this.colors.length===o.colors.length&&this.colors.every((t,n)=>{let r=o.colors[n];return t.percent===r.percent&&t.color.equals(r.color)}):this.toHexString()===o.toHexString()}};var at=()=>({height:0,opacity:0}),wr=e=>{let{scrollHeight:o}=e;return {height:o,opacity:1}},Yi=e=>({height:e?e.offsetHeight:0}),st=(e,o)=>o?.deadline===true||o.propertyName==="height",Ji=(e=Y)=>({motionName:`${e}-motion-collapse`,onAppearStart:at,onEnterStart:at,onAppearActive:wr,onEnterActive:wr,onLeaveStart:Yi,onLeaveActive:at,onAppearEnd:st,onEnterEnd:st,onLeaveEnd:st,motionDeadline:500});var Br=Ji;var ta=C.forwardRef((e,o)=>{let{getPrefixCls:t}=C.useContext(x),{prefixCls:n,className:r,showArrow:s=true}=e,i=t("collapse",n),a=xt({[`${i}-no-arrow`]:!s},r);return C.createElement(oa.Panel,{ref:o,...e,prefixCls:i,className:a})}),Er=ta;var ra=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
|
|
41
|
-
opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
|
|
42
|
-
opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),lt=ra;new Keyframes("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}});new Keyframes("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}});new Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}});new Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}});new Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}});new Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}});new Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}});new Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}});new Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}});new Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}});new Keyframes("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}});new Keyframes("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}});new Keyframes("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}});new Keyframes("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}});new Keyframes("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}});new Keyframes("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}});new Keyframes("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}});new Keyframes("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}});new Keyframes("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}});new Keyframes("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}});new Keyframes("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}});new Keyframes("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}});var za=e=>{let{componentCls:o,contentBg:t,padding:n,headerBg:r,headerPadding:s,collapseHeaderPaddingSM:i,collapseHeaderPaddingLG:a,collapsePanelBorderRadius:c,lineWidth:l,lineType:p,colorBorder:m,colorText:d,colorTextHeading:g,colorTextDisabled:u,fontSizeLG:$,lineHeight:b,lineHeightLG:h,marginSM:B,paddingSM:H,paddingLG:A,paddingXS:N,motionDurationSlow:k,fontSizeIcon:F,contentPadding:T,fontHeight:S,fontHeightLG:E}=e,f=`${unit(l)} ${p} ${m}`;return {[o]:{...Qt(e),backgroundColor:r,border:f,borderRadius:c,"&-rtl":{direction:"rtl"},[`& > ${o}-item`]:{borderBottom:f,"&:last-child":{[`
|
|
43
|
-
&,
|
|
44
|
-
& > ${o}-header`]:{borderRadius:`0 0 ${unit(c)} ${unit(c)}`}},[`> ${o}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:s,color:g,lineHeight:b,cursor:"pointer",transition:`all ${k}, visibility 0s`,[`> ${o}-header-text`]:{flex:"auto"},[`${o}-expand-icon`]:{height:S,display:"flex",alignItems:"center",paddingInlineEnd:B},[`${o}-arrow`]:{...ze(),fontSize:F,transition:`transform ${k}`,svg:{transition:`transform ${k}`}},[`${o}-header-text`]:{marginInlineEnd:"auto"}},[`${o}-collapsible-header`]:{cursor:"default",[`${o}-header-text`]:{flex:"none",cursor:"pointer"}},[`${o}-collapsible-icon`]:{cursor:"unset",[`${o}-expand-icon`]:{cursor:"pointer"}}},[`${o}-content`]:{color:d,backgroundColor:t,borderTop:f,[`& > ${o}-content-box`]:{padding:T},"&-hidden":{display:"none"}},"&-small":{[`> ${o}-item`]:{[`> ${o}-header`]:{padding:i,paddingInlineStart:N,[`> ${o}-expand-icon`]:{marginInlineStart:e.calc(H).sub(N).equal()}},[`> ${o}-content > ${o}-content-box`]:{padding:H}}},"&-large":{[`> ${o}-item`]:{fontSize:$,lineHeight:h,[`> ${o}-header`]:{padding:a,paddingInlineStart:n,[`> ${o}-expand-icon`]:{height:E,marginInlineStart:e.calc(A).sub(n).equal()}},[`> ${o}-content > ${o}-content-box`]:{padding:A}}},[`${o}-item:last-child`]:{borderBottom:0,[`> ${o}-content`]:{borderRadius:`0 0 ${unit(c)} ${unit(c)}`}},[`& ${o}-item-disabled > ${o}-header`]:{"\n &,\n & > .arrow\n ":{color:u,cursor:"not-allowed"}},[`&${o}-icon-position-end`]:{[`& > ${o}-item`]:{[`> ${o}-header`]:{[`${o}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:B}}}}}}},Oa=e=>{let{componentCls:o}=e,t=`> ${o}-item > ${o}-header ${o}-arrow`;return {[`${o}-rtl`]:{[t]:{transform:"rotate(180deg)"}}}},Ha=e=>{let{componentCls:o,headerBg:t,paddingXXS:n,colorBorder:r}=e;return {[`${o}-borderless`]:{backgroundColor:t,border:0,[`> ${o}-item`]:{borderBottom:`1px solid ${r}`},[`
|
|
45
|
-
> ${o}-item:last-child,
|
|
46
|
-
> ${o}-item:last-child ${o}-header
|
|
47
|
-
`]:{borderRadius:0},[`> ${o}-item:last-child`]:{borderBottom:0},[`> ${o}-item > ${o}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${o}-item > ${o}-content > ${o}-content-box`]:{paddingTop:n}}}},Aa=e=>{let{componentCls:o,paddingSM:t}=e;return {[`${o}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${o}-item`]:{borderBottom:0,[`> ${o}-content`]:{backgroundColor:"transparent",border:0,[`> ${o}-content-box`]:{paddingBlock:t}}}}}},Na=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),Or=ae("Collapse",e=>{let o=mergeToken(e,{collapseHeaderPaddingSM:`${unit(e.paddingXS)} ${unit(e.paddingSM)}`,collapseHeaderPaddingLG:`${unit(e.padding)} ${unit(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return [za(o),Ha(o),Aa(o),Oa(o),lt(o)]},Na);var Fa=C.forwardRef((e,o)=>{let{getPrefixCls:t,direction:n,collapse:r}=C.useContext(x),{prefixCls:s,className:i,rootClassName:a,style:c,bordered:l=true,ghost:p,size:m,expandIconPosition:d="start",children:g,expandIcon:u}=e,$=He(f=>m??f??"middle"),b=t("collapse",s),h=t(),[B,H,A]=Or(b),N=C.useMemo(()=>d==="left"?"start":d==="right"?"end":d,[d]),k=u??r?.expandIcon,F=C.useCallback((f={})=>{let j=typeof k=="function"?k(f):C.createElement(Da,{rotate:f.isActive?90:void 0,"aria-label":f.isActive?"expanded":"collapsed"});return se(j,()=>({className:xt(j?.props?.className,`${b}-arrow`)}))},[k,b]),T=xt(`${b}-icon-position-${N}`,{[`${b}-borderless`]:!l,[`${b}-rtl`]:n==="rtl",[`${b}-ghost`]:!!p,[`${b}-${$}`]:$!=="middle"},r?.className,i,a,H,A),S={...Br(h),motionAppear:false,leavedClassName:`${b}-content-hidden`},E=C.useMemo(()=>g?Ga(g).map((f,j)=>{let V=f.props;if(V?.disabled){let oe=f.key??String(j),Z={...Ar(f.props,["disabled"]),key:oe,collapsible:V.collapsible??"disabled"};return se(f,Z)}return f}):null,[g]);return B(C.createElement(oa,{ref:o,openMotion:S,...Ar(e,["rootClassName"]),expandIcon:F,prefixCls:b,className:T,style:{...r?.style,...c}},E))});Object.assign(Fa,{Panel:Er});var Nr=(e,o)=>{let{r:t,g:n,b:r,a:s}=e.toRgb(),i=new Color(e.toRgbString()).onBackground(o).toHsv();return s<=.5?i.v>.5:t*.299+n*.587+r*.114>192};var So=e=>{let{paddingInline:o,onlyIconSize:t}=e;return mergeToken(e,{buttonPaddingHorizontal:o,buttonPaddingVertical:0,buttonIconOnlyFontSize:t})},xo=e=>{let o=e.contentFontSize??e.fontSize,t=e.contentFontSizeSM??e.fontSize,n=e.contentFontSizeLG??e.fontSizeLG,r=e.contentLineHeight??ue(o),s=e.contentLineHeightSM??ue(t),i=e.contentLineHeightLG??ue(n),a=Nr(new De(e.colorBgSolid),"#fff")?"#000":"#fff";return {fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:a,contentFontSize:o,contentFontSizeSM:t,contentFontSizeLG:n,contentLineHeight:r,contentLineHeightSM:s,contentLineHeightLG:i,paddingBlock:Math.max((e.controlHeight-o*r)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-t*s)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-n*i)/2-e.lineWidth,0)}};var Ka=e=>{let{componentCls:o,iconCls:t,fontWeight:n,opacityLoading:r,motionDurationSlow:s,motionEaseInOut:i,marginXS:a,calc:c}=e;return {[o]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:n,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${unit(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},[`${o}-icon > svg`]:ze(),"> a":{color:"currentColor"},"&:not(:disabled)":er(e),[`&${o}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${o}-two-chinese-chars > *:not(${t})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&${o}-icon-only`]:{paddingInline:0,[`&${o}-compact-item`]:{flex:"none"},[`&${o}-round`]:{width:"auto"}},[`&${o}-loading`]:{opacity:r,cursor:"default"},[`${o}-loading-icon`]:{transition:["width","opacity","margin"].map(l=>`${l} ${s} ${i}`).join(",")},[`&:not(${o}-icon-end)`]:{[`${o}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:c(a).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:c(a).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",[`${o}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:c(a).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:c(a).mul(-1).equal()}}}}}},Dr=(e,o,t)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":o,"&:active":t}}),Ua=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Xa=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),_a=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),mt=(e,o,t,n,r,s,i,a)=>({[`&${e}-background-ghost`]:{color:t||void 0,background:o,borderColor:n||void 0,boxShadow:"none",...Dr(e,{background:o,...i},{background:o,...a}),"&:disabled":{cursor:"not-allowed",color:r||void 0,borderColor:s||void 0}}}),qa=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{..._a(e)}}),Za=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),bo=(e,o,t,n)=>({...(n&&["link","text"].includes(n)?Za:qa)(e),...Dr(e.componentCls,o,t)}),dt=(e,o,t,n,r)=>({[`&${e.componentCls}-variant-solid`]:{color:o,background:t,...bo(e,n,r)}}),gt=(e,o,t,n,r)=>({[`&${e.componentCls}-variant-outlined, &${e.componentCls}-variant-dashed`]:{borderColor:o,background:t,...bo(e,n,r)}}),ft=e=>({[`&${e.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),ut=(e,o,t,n)=>({[`&${e.componentCls}-variant-filled`]:{boxShadow:"none",background:o,...bo(e,t,n)}}),be=(e,o,t,n,r)=>({[`&${e.componentCls}-variant-${t}`]:{color:o,boxShadow:"none",...bo(e,n,r,t)}}),Qa=e=>({color:e.defaultColor,boxShadow:e.defaultShadow,...dt(e,e.solidTextColor,e.colorBgSolid,{color:e.solidTextColor,background:e.colorBgSolidHover},{color:e.solidTextColor,background:e.colorBgSolidActive}),...ft(e),...ut(e,e.colorFillTertiary,{background:e.colorFillSecondary},{background:e.colorFill}),...be(e,e.textTextColor,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive}),...mt(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)}),Ya=e=>({color:e.colorPrimary,boxShadow:e.primaryShadow,...gt(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer}),...ft(e),...ut(e,e.colorPrimaryBg,{background:e.colorPrimaryBgHover},{background:e.colorPrimaryBorder}),...be(e,e.colorLink,"text",{color:e.colorPrimaryTextHover,background:e.colorPrimaryBg},{color:e.colorPrimaryTextActive,background:e.colorPrimaryBorder}),...mt(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})}),Ja=e=>({color:e.colorError,boxShadow:e.dangerShadow,...dt(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive}),...gt(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive}),...ft(e),...ut(e,e.colorErrorBg,{background:e.colorErrorBgFilledHover},{background:e.colorErrorBgActive}),...be(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive}),...be(e,e.colorError,"link",{color:e.colorErrorHover},{color:e.colorErrorActive}),...mt(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})}),es=e=>{let{componentCls:o}=e;return {[`${o}-color-default`]:Qa(e),[`${o}-color-primary`]:Ya(e),[`${o}-color-dangerous`]:Ja(e)}},os=e=>({...gt(e,e.defaultBorderColor,e.defaultBg,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg}),...be(e,e.textTextColor,"text",{color:e.textTextHoverColor,background:e.textHoverBg},{color:e.textTextActiveColor,background:e.colorBgTextActive}),...dt(e,e.primaryColor,e.colorPrimary,{background:e.colorPrimaryHover,color:e.primaryColor},{background:e.colorPrimaryActive,color:e.primaryColor}),...be(e,e.colorLink,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})}),Ct=(e,o="")=>{let{componentCls:t,controlHeight:n,fontSize:r,borderRadius:s,buttonPaddingHorizontal:i,iconCls:a,buttonPaddingVertical:c,buttonIconOnlyFontSize:l}=e;return [{[o]:{fontSize:r,height:n,padding:`${unit(c)} ${unit(i)}`,borderRadius:s,[`&${t}-icon-only`]:{width:n,[a]:{fontSize:l,verticalAlign:"calc(-0.125em - 1px)"}}}},{[`${t}${t}-circle${o}`]:Ua(e)},{[`${t}${t}-round${o}`]:Xa(e)}]},ts=e=>{let o=mergeToken(e,{fontSize:e.contentFontSize});return Ct(o,e.componentCls)},rs=e=>{let o=mergeToken(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:0,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return Ct(o,`${e.componentCls}-sm`)},ns=e=>{let o=mergeToken(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return Ct(o,`${e.componentCls}-lg`)},is=e=>{let{componentCls:o}=e;return {[o]:{[`&${o}-block`]:{width:"100%"}}}},Wr=ae("Button",e=>{let o=So(e);return [Ka(o),ts(o),rs(o),ns(o),is(o),es(o),os(o),Ir(o)]},xo,{unitless:{fontWeight:true,contentLineHeight:true,contentLineHeightSM:true,contentLineHeightLG:true}});function as(e,o,t){let{focusElCls:n,focus:r,borderElCls:s}=t,i=s?"> *":"",a=["hover",r?"focus":null,"active"].filter(Boolean).map(c=>`&:${c} ${i}`).join(",");return {[`&-item:not(${o}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{[a]:{zIndex:2},...n?{[`&${n}`]:{zIndex:2}}:{},[`&[disabled] ${i}`]:{zIndex:0}}}}function ss(e,o,t){let{borderElCls:n}=t,r=n?`> ${n}`:"";return {[`&-item:not(${o}-first-item):not(${o}-last-item) ${r}`]:{borderRadius:0},[`&-item:not(${o}-last-item)${o}-first-item`]:{[`& ${r}, &${e}-sm ${r}, &${e}-lg ${r}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${o}-first-item)${o}-last-item`]:{[`& ${r}, &${e}-sm ${r}, &${e}-lg ${r}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function Gr(e,o={focus:true}){let{componentCls:t}=e,n=`${t}-compact`;return {[n]:{...as(e,n,o),...ss(t,n,o)}}}function ls(e,o){return {[`&-item:not(${o}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function cs(e,o){return {[`&-item:not(${o}-first-item):not(${o}-last-item)`]:{borderRadius:0},[`&-item${o}-first-item:not(${o}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${o}-last-item:not(${o}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function Fr(e){let o=`${e.componentCls}-compact-vertical`;return {[o]:{...ls(e,o),...cs(e.componentCls,o)}}}var ps=e=>{let{componentCls:o,colorPrimaryHover:t,lineWidth:n,calc:r}=e,s=r(n).mul(-1).equal(),i=a=>({[`${o}-compact${a?"-vertical":""}-item${o}-primary:not([disabled])`]:{"& + &::before":{position:"absolute",top:a?s:0,insetInlineStart:a?0:s,backgroundColor:t,content:'""',width:a?"100%":n,height:a?n:"100%"}}});return {...i(),...i(true)}},jr=Yo(["Button","compact"],e=>{let o=So(e);return [Gr(o),Fr(o),ps(o)]},xo);function fs(e){if(typeof e=="object"&&e){let o=e?.delay;return o=!Number.isNaN(o)&&typeof o=="number"?o:0,{loading:o<=0,delay:o}}return {loading:!!e,delay:0}}var us={default:["default","outlined"],primary:["primary","solid"],dashed:["default","dashed"],link:["primary","link"],text:["default","text"]},Cs=C__default.forwardRef((e,o)=>{let{loading:t=false,prefixCls:n,color:r,variant:s,type:i,danger:a=false,shape:c="default",size:l,styles:p,disabled:m,className:d,rootClassName:g,children:u,icon:$,iconPosition:b="start",ghost:h=false,block:B=false,htmlType:H="button",classNames:A,style:N={},autoInsertSpace:k,autoFocus:F,...T}=e,S=i||"default",[E,f]=useMemo(()=>{if(r&&s)return [r,s];let v=us[S]||[];return a?["danger",v[1]]:v},[i,r,s,a]),V=E==="danger"?"dangerous":E,{getPrefixCls:oe,direction:Z,button:K}=useContext(x),Te=k??K?.autoInsertSpace??true,y=oe("btn",n),[We,To,ho]=Wr(y),vo=useContext(io),Q=m??vo,Po=useContext(rt),te=useMemo(()=>fs(t),[t]),[D,Ge]=useState(te.loading),[he,Fe]=useState(false),re=useRef(null),je=useComposeRef(o,re),Ve=Children.count(u)===1&&!$&&!Co(f),ve=useRef(true);C__default.useEffect(()=>(ve.current=false,()=>{ve.current=true;}),[]),useEffect(()=>{let v=null;te.delay>0?v=setTimeout(()=>{v=null,Ge(true);},te.delay):Ge(te.loading);function Lo(){v&&(clearTimeout(v),v=null);}return Lo},[te]),useEffect(()=>{if(!re.current||!Te)return;let v=re.current.textContent||"";Ve&&uo(v)?he||Fe(true):he&&Fe(false);}),useEffect(()=>{F&&re.current&&re.current.focus();},[]);let Ke=C__default.useCallback(v=>{if(D||Q){v.preventDefault();return}e.onClick?.(v);},[e.onClick,D,Q]),{compactSize:Ro,compactItemClassnames:Ue}=br(y,Z),Mo={large:"lg",small:"sm",middle:void 0},Xe=He(v=>l??Ro??Po??v),_e=Xe?Mo[Xe]??"":"",$o=D?"loading":$,Pe=Ar(T,["navigate"]),qe=xt(y,To,ho,{[`${y}-${c}`]:c!=="default"&&c,[`${y}-${S}`]:S,[`${y}-dangerous`]:a,[`${y}-color-${V}`]:V,[`${y}-variant-${f}`]:f,[`${y}-${_e}`]:_e,[`${y}-icon-only`]:!u&&u!==0&&!!$o,[`${y}-background-ghost`]:h&&!Co(f),[`${y}-loading`]:D,[`${y}-two-chinese-chars`]:he&&Te&&!D,[`${y}-block`]:B,[`${y}-rtl`]:Z==="rtl",[`${y}-icon-end`]:b==="end"},Ue,d,g,K?.className),Ze={...K?.style,...N},ko=xt(A?.icon,K?.classNames?.icon),Io={...p?.icon||{},...K?.styles?.icon||{}},Qe=$&&!D?C__default.createElement(yo,{prefixCls:y,className:ko,style:Io},$):C__default.createElement($r,{existIcon:!!$,prefixCls:y,loading:D,mount:ve.current}),Ye=u||u===0?Pr(u,Ve&&Te):null;if(Pe.href!==void 0)return We(C__default.createElement("a",{...Pe,className:xt(qe,{[`${y}-disabled`]:Q}),href:Q?void 0:Pe.href,style:Ze,onClick:Ke,ref:je,tabIndex:Q?-1:0},Qe,Ye));let Re=C__default.createElement("button",{...T,type:H,className:qe,style:Ze,onClick:Ke,disabled:Q,ref:je},Qe,Ye,Ue&&C__default.createElement(jr,{prefixCls:y}));return Co(f)||(Re=C__default.createElement(yr,{component:"Button",disabled:D},Re)),We(Re)}),bt=Cs;bt.Group=Tr;bt.__ANT_BUTTON=true;var Xr=bt;var Og=Xr;export{bm as _ButtonColorTypes,xm as _ButtonVariantTypes,Sm as convertLegacyProps,Og as default,vr as isString,uo as isTwoCNChar,Co as isUnBorderedButtonVariant,Pr as spaceChildren};
|