@swiftcrab/crab 0.0.3 → 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/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/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/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 -36
- 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/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 -151
- 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 -131
- 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-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 -32
- 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
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import {createTheme,Keyframes,useCacheToken,unit}from'@ant-design/cssinjs';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import*as ot from'react';import ot__default,{useContext}from'react';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';var je={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},M=(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}),Ce=()=>({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"}}),qe=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),Ne=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"}}}),Ke=(e,o,t,n)=>{let r=`[class^="${o}"], [class*=" ${o}"]`,i=t?`.${t}`:r,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},d={};return n!==false&&(d={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:{...d,...a,[r]:a}}};var ye=e=>({[`.${e}`]:{...Ce(),[`.${e} .${e}-icon`]:{display:"block"}}});function Ko(e,o,t){let{focusElCls:n,focus:r,borderElCls:i}=t,a=i?"> *":"",d=["hover",r?"focus":null,"active"].filter(Boolean).map(c=>`&:${c} ${a}`).join(",");return {[`&-item:not(${o}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{[d]:{zIndex:2},...n?{[`&${n}`]:{zIndex:2}}:{},[`&[disabled] ${a}`]:{zIndex:0}}}}function Uo(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 V(e,o={focus:true}){let{componentCls:t}=e,n=`${t}-compact`;return {[n]:{...Ko(e,n,o),...Uo(t,n,o)}}}function _e(e){return (e+8)/e}function xe(e){let o=new Array(10).fill(null).map((t,n)=>{let r=n-1,i=e*Math.E**(r/5),a=n>1?Math.floor(i):Math.ceil(i);return Math.floor(a/2)*2});return o[1]=e,o.map(t=>({size:t,lineHeight:_e(t)}))}var Ve={version:"0.0.2"};var Ye=Ve.version;var $e={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"},Vo={...$e,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},R=Vo;function ve(e,{generateColorPalettes:o,generateNeutralColorPalettes:t}){let{colorSuccess:n,colorWarning:r,colorError:i,colorInfo:a,colorPrimary:d,colorBgBase:c,colorTextBase:l}=e,s=o(d),p=o(n),m=o(r),u=o(i),f=o(a),$=t(c,l),h=e.colorLink||e.colorInfo,S=o(h),y=new TinyColor(u[1]).mix(new TinyColor(u[3]),50).toHexString();return {...$,colorPrimaryBg:s[1],colorPrimaryBgHover:s[2],colorPrimaryBorder:s[3],colorPrimaryBorderHover:s[4],colorPrimaryHover:s[5],colorPrimary:s[6],colorPrimaryActive:s[7],colorPrimaryTextHover:s[8],colorPrimaryText:s[9],colorPrimaryTextActive:s[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:u[1],colorErrorBgHover:u[2],colorErrorBgFilledHover:y,colorErrorBgActive:u[3],colorErrorBorder:u[3],colorErrorBorderHover:u[4],colorErrorHover:u[5],colorError:u[6],colorErrorActive:u[7],colorErrorTextHover:u[8],colorErrorText:u[9],colorErrorTextActive:u[10],colorWarningBg:m[1],colorWarningBgHover:m[2],colorWarningBorder:m[3],colorWarningBorderHover:m[4],colorWarningHover:m[4],colorWarning:m[6],colorWarningActive:m[7],colorWarningTextHover:m[8],colorWarningText:m[9],colorWarningTextActive:m[10],colorInfoBg:f[1],colorInfoBgHover:f[2],colorInfoBorder:f[3],colorInfoBorderHover:f[4],colorInfoHover:f[4],colorInfo:f[6],colorInfoActive:f[7],colorInfoTextHover:f[8],colorInfoText:f[9],colorInfoTextActive:f[10],colorLinkHover:S[4],colorLink:S[6],colorLinkActive:S[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var Yo=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}},Ze=Yo;function Ie(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,...Ze(n)}}var Zo=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},Qe=Zo;var Qo=e=>{let o=xe(e),t=o.map(s=>s.size),n=o.map(s=>s.lineHeight),r=t[1],i=t[0],a=t[2],d=n[1],c=n[0],l=n[2];return {fontSizeSM:i,fontSize:r,fontSizeLG:a,fontSizeXL:t[3],fontSizeHeading1:t[6],fontSizeHeading2:t[5],fontSizeHeading3:t[4],fontSizeHeading4:t[3],fontSizeHeading5:t[2],lineHeight:d,lineHeightLG:l,lineHeightSM:c,fontHeight:Math.round(d*r),fontHeightLG:Math.round(l*a),fontHeightSM:Math.round(c*i),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},Je=Qo;function we(e){let{sizeUnit:o,sizeStep:t}=e;return {sizeXXL:o*(t+8),sizeXL:o*(t+4),sizeLG:o*(t+2),sizeMD:o*(t+1),sizeMS:o*t,size:o*t,sizeSM:o*(t-1),sizeXS:o*(t-2),sizeXXS:o*(t-3)}}var x=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),A=(e,o)=>new TinyColor(e).darken(o).toHexString();var oo=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]}},to=(e,o)=>{let t=e||"#fff",n=o||"#000";return {colorBgBase:t,colorTextBase:n,colorText:x(n,.88),colorTextSecondary:x(n,.65),colorTextTertiary:x(n,.45),colorTextQuaternary:x(n,.25),colorFill:x(n,.15),colorFillSecondary:x(n,.06),colorFillTertiary:x(n,.04),colorFillQuaternary:x(n,.02),colorBgSolid:x(n,1),colorBgSolidHover:x(n,.75),colorBgSolidActive:x(n,.95),colorBgLayout:A(t,4),colorBgContainer:A(t,0),colorBgElevated:A(t,0),colorBgSpotlight:x(n,.85),colorBgBlur:"transparent",colorBorder:A(t,15),colorBorderSecondary:A(t,6)}};function He(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys($e).map(t=>{let n=e[t]===presetPrimaryColors[t]?presetPalettes[t]:generate(e[t]);return new Array(10).fill(1).reduce((r,i,a)=>(r[`${t}-${a+1}`]=n[a],r[`${t}${a+1}`]=n[a],r),{})}).reduce((t,n)=>(t={...t,...n},t),{});return {...e,...o,...ve(e,{generateColorPalettes:oo,generateNeutralColorPalettes:to}),...Je(e.fontSize),...we(e),...Qe(e),...Ie(e)}}var ro=createTheme(He),no={token:R,override:{override:R},hashed:true},ke=ot__default.createContext(no);function Be(e){return e>=0&&e<=255}function rt(e,o){let{r:t,g:n,b:r,a:i}=new TinyColor(e).toRgb();if(i<1)return e;let{r:a,g:d,b:c}=new TinyColor(o).toRgb();for(let l=.01;l<=1;l+=.01){let s=Math.round((t-a*(1-l))/l),p=Math.round((n-d*(1-l))/l),m=Math.round((r-c*(1-l))/l);if(Be(s)&&Be(p)&&Be(m))return new TinyColor({r:s,g:p,b:m,a:Math.round(l*100)/100}).toRgbString()}return new TinyColor({r:t,g:n,b:r,a:1}).toRgbString()}var j=rt;function Z(e){let{override:o,...t}=e,n={...o};Object.keys(R).forEach(m=>{delete n[m];});let r={...t,...n},i=480,a=576,d=768,c=992,l=1200,s=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:j(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:j(r.colorErrorBg,r.colorBgContainer),colorWarningOutline:j(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:j(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:`
|
|
4
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
5
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
6
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
7
|
-
`,boxShadowSecondary:`
|
|
8
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
9
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
10
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
11
|
-
`,boxShadowTertiary:`
|
|
12
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
|
13
|
-
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
14
|
-
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
15
|
-
`,screenXS:i,screenXSMin:i,screenXSMax:a-1,screenSM:a,screenSMMin:a,screenSMMax:d-1,screenMD:d,screenMDMin:d,screenMDMax:c-1,screenLG:c,screenLGMin:c,screenLGMax:l-1,screenXL:l,screenXLMin:l,screenXLMax:s-1,screenXXL:s,screenXXLMin:s,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
|
16
|
-
0 1px 2px -2px ${new TinyColor("rgba(0, 0, 0, 0.16)").toRgbString()},
|
|
17
|
-
0 3px 6px 0 ${new TinyColor("rgba(0, 0, 0, 0.12)").toRgbString()},
|
|
18
|
-
0 5px 12px 4px ${new TinyColor("rgba(0, 0, 0, 0.09)").toRgbString()}
|
|
19
|
-
`,boxShadowDrawerRight:`
|
|
20
|
-
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
21
|
-
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
22
|
-
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
23
|
-
`,boxShadowDrawerLeft:`
|
|
24
|
-
6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
25
|
-
3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
26
|
-
9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
27
|
-
`,boxShadowDrawerUp:`
|
|
28
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
29
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
30
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
31
|
-
`,boxShadowDrawerDown:`
|
|
32
|
-
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
33
|
-
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
34
|
-
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
35
|
-
`,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)",...n}}var Oe={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},at={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},lt={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},io=(e,o,t)=>{let n=t.getDerivativeToken(e),{override:r,...i}=o,a={...n,override:r};return a=Z(a),i&&Object.entries(i).forEach(([d,c])=>{let{theme:l,...s}=c,p=s;l&&(p=io({...a,...s},{override:s},l)),a[d]=p;}),a};function q(){let{token:e,hashed:o,theme:t,override:n,cssVar:r}=ot__default.useContext(ke),i=`${Ye}-${o||""}`,a=t||ro,[d,c,l]=useCacheToken(a,[R,e],{salt:i,override:n,getComputedToken:io,formatToken:Z,cssVar:r&&{prefix:r.prefix,key:r.key,unitless:Oe,ignore:at,preserve:lt}});return [a,l,o?c:"",d,r]}var ao="ant",ze="anticon";var st=(e,o)=>o||(e?`${ao}-${e}`:ao),Q=ot.createContext({getPrefixCls:st,iconPrefixCls:ze}),{Consumer:_r}=Q;var{genStyleHooks:O,genComponentStyleHook:dt,genSubStyleComponent:pt}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:o}=useContext(Q);return {rootPrefixCls:e(),iconPrefixCls:o}},useToken:()=>{let[e,o,t,n,r]=q();return {theme:e,realToken:o,hashId:t,token:n,cssVar:r}},useCSP:()=>{let{csp:e}=useContext(Q);return e??{}},getResetStyles:(e,o)=>[{"&":Ne(e)},ye(o?.prefix.iconPrefixCls??ze)],getCommonStyle:Ke,getCompUnitless:(()=>Oe)});function J(e){return mergeToken(e,{inputAffixPadding:e.paddingXXS})}var ee=e=>{let{controlHeight:o,fontSize:t,lineHeight:n,lineWidth:r,controlHeightSM:i,controlHeightLG:a,fontSizeLG:d,lineHeightLG:c,paddingSM:l,controlPaddingHorizontalSM:s,controlPaddingHorizontal:p,colorFillAlter:m,colorPrimaryHover:u,colorPrimary:f,controlOutlineWidth:$,controlOutline:h,colorErrorOutline:S,colorWarningOutline:y,colorBgContainer:I}=e;return {paddingBlock:Math.max(Math.round((o-t*n)/2*10)/10-r,0),paddingBlockSM:Math.max(Math.round((i-t*n)/2*10)/10-r,0),paddingBlockLG:Math.ceil((a-d*c)/2*10)/10-r,paddingInline:l-r,paddingInlineSM:s-r,paddingInlineLG:p-r,addonBg:m,activeBorderColor:f,hoverBorderColor:u,activeShadow:`0 0 0 ${$}px ${h}`,errorActiveShadow:`0 0 0 ${$}px ${S}`,warningActiveShadow:`0 0 0 ${$}px ${y}`,hoverBg:I,activeBg:I,inputFontSize:t,inputFontSizeLG:d,inputFontSizeSM:t}};var mt=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),Ee=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":{...mt(mergeToken(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled}))}}),uo=(e,o)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:o.borderColor,"&:hover":{borderColor:o.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:o.activeBorderColor,boxShadow:o.activeShadow,outline:0,backgroundColor:e.activeBg}}),co=(e,o)=>({[`&${e.componentCls}-status-${o.status}:not(${e.componentCls}-disabled)`]:{...uo(e,o),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:o.affixColor}},[`&${e.componentCls}-status-${o.status}${e.componentCls}-disabled`]:{borderColor:o.borderColor}}),oe=(e,o)=>({"&-outlined":{...uo(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow}),[`&${e.componentCls}-disabled, &[disabled]`]:{...Ee(e)},...co(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError}),...co(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning}),...o}}),po=(e,o)=>({[`&${e.componentCls}-group-wrapper-status-${o.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:o.addonBorderColor,color:o.addonColor}}}),fo=e=>({"&-outlined":{[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},...po(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText}),...po(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText}),[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:{...Ee(e)}}}}),te=(e,o)=>{let{componentCls:t}=e;return {"&-borderless":{background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${t}-disabled, &[disabled]`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${t}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${t}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}},...o}}},So=(e,o)=>({background:o.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:o?.inputColor},"&:hover":{background:o.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:o.activeBorderColor,backgroundColor:e.activeBg}}),mo=(e,o)=>({[`&${e.componentCls}-status-${o.status}:not(${e.componentCls}-disabled)`]:{...So(e,o),[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:o.affixColor}}}),re=(e,o)=>({"&-filled":{...So(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor}),[`&${e.componentCls}-disabled, &[disabled]`]:{...Ee(e)},...mo(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError}),...mo(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning}),...o}}),go=(e,o)=>({[`&${e.componentCls}-group-wrapper-status-${o.status}`]:{[`${e.componentCls}-group-addon`]:{background:o.addonBg,color:o.addonColor}}}),ho=e=>({"&-filled":{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${unit(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${unit(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}},...go(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText}),...go(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText}),[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}}});var Ae=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}});var bo=e=>{let{paddingBlockLG:o,lineHeightLG:t,borderRadiusLG:n,paddingInlineLG:r}=e;return {padding:`${unit(o)} ${unit(r)}`,fontSize:e.inputFontSizeLG,lineHeight:t,borderRadius:n}},Co=e=>({padding:`${unit(e.paddingBlockSM)} ${unit(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),yo=e=>({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${unit(e.paddingBlock)} ${unit(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`,...Ae(e.colorTextPlaceholder),"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":{...bo(e)},"&-sm":{...Co(e)},"&-rtl, &-textarea-rtl":{direction:"rtl"}}),gt=e=>{let{componentCls:o,antCls:t}=e;return {position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${o}, &-lg > ${o}-group-addon`]:{...bo(e)},[`&-sm ${o}, &-sm > ${o}-group-addon`]:{...Co(e)},[`&-lg ${t}-select-single ${t}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${t}-select-single ${t}-select-selector`]:{height:e.controlHeightSM},[`> ${o}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${o}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${unit(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${t}-select`]:{margin:`${unit(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${unit(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${t}-select-single:not(${t}-select-customize-input):not(${t}-pagination-size-changer)`]:{[`${t}-select-selector`]:{backgroundColor:"inherit",border:`${unit(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}}},[`${t}-cascader-picker`]:{margin:`-9px ${unit(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${t}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[o]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${o}-search-with-button &`]:{zIndex:0}}},[`> ${o}:first-child, ${o}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-select ${t}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${o}-affix-wrapper`]:{[`&:not(:first-child) ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${o}:last-child, ${o}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${t}-select ${t}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${o}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${o}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${o}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${o}-group-compact`]:{display:"block",...qe(),[`${o}-group-addon, ${o}-group-wrap, > ${o}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`
|
|
36
|
-
& > ${o}-affix-wrapper,
|
|
37
|
-
& > ${o}-number-affix-wrapper,
|
|
38
|
-
& > ${t}-picker-range
|
|
39
|
-
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[o]:{float:"none"},[`& > ${t}-select > ${t}-select-selector,
|
|
40
|
-
& > ${t}-select-auto-complete ${o},
|
|
41
|
-
& > ${t}-cascader-picker ${o},
|
|
42
|
-
& > ${o}-group-wrapper ${o}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${t}-select-focused`]:{zIndex:1},[`& > ${t}-select > ${t}-select-arrow`]:{zIndex:1},[`& > *:first-child,
|
|
43
|
-
& > ${t}-select:first-child > ${t}-select-selector,
|
|
44
|
-
& > ${t}-select-auto-complete:first-child ${o},
|
|
45
|
-
& > ${t}-cascader-picker:first-child ${o}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child,
|
|
46
|
-
& > ${t}-select:last-child > ${t}-select-selector,
|
|
47
|
-
& > ${t}-cascader-picker:last-child ${o},
|
|
48
|
-
& > ${t}-cascader-picker-focused:last-child ${o}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${t}-select-auto-complete ${o}`]:{verticalAlign:"top"},[`${o}-group-wrapper + ${o}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${o}-affix-wrapper`]:{borderRadius:0}},[`${o}-group-wrapper:not(:last-child)`]:{[`&${o}-search > ${o}-group`]:{[`& > ${o}-group-addon > ${o}-search-button`]:{borderRadius:0},[`& > ${o}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}}}},ut=e=>{let{componentCls:o,controlHeightSM:t,lineWidth:n,calc:r}=e,a=r(t).sub(r(n).mul(2)).sub(16).div(2).equal();return {[o]:{...M(e),...yo(e),...oe(e),...re(e),...te(e),'&[type="color"]':{height:e.controlHeight,[`&${o}-lg`]:{height:e.controlHeightLG},[`&${o}-sm`]:{height:t,paddingTop:a,paddingBottom:a}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}}}},ft=e=>{let{componentCls:o}=e;return {[`${o}-clear-icon`]:{margin:0,lineHeight:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${unit(e.inputAffixPadding)}`}}}},St=e=>{let{componentCls:o,inputAffixPadding:t,colorTextDescription:n,motionDurationSlow:r,colorIcon:i,colorIconHover:a,iconCls:d}=e,c=`${o}-affix-wrapper`,l=`${o}-affix-wrapper-disabled`;return {[c]:{...yo(e),display:"inline-flex",[`&:not(${o}-disabled):hover`]:{zIndex:1,[`${o}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${o}`]:{padding:0},[`> input${o}, > textarea${o}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[o]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:n},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:t},"&-suffix":{marginInlineStart:t}},...ft(e),[`${d}${o}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${r}`,"&:hover":{color:a}}},[l]:{[`${d}${o}-password-icon`]:{color:i,cursor:"not-allowed","&:hover":{color:i}}}}},ht=e=>{let{componentCls:o,borderRadiusLG:t,borderRadiusSM:n}=e;return {[`${o}-group`]:{...M(e),...gt(e),"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${o}-group-addon`]:{borderRadius:t,fontSize:e.inputFontSizeLG}},"&-sm":{[`${o}-group-addon`]:{borderRadius:n}},...fo(e),...ho(e),[`&:not(${o}-compact-first-item):not(${o}-compact-last-item)${o}-compact-item`]:{[`${o}, ${o}-group-addon`]:{borderRadius:0}},[`&:not(${o}-compact-last-item)${o}-compact-first-item`]:{[`${o}, ${o}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${o}-compact-first-item)${o}-compact-last-item`]:{[`${o}, ${o}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${o}-compact-last-item)${o}-compact-item`]:{[`${o}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}}}}},bt=e=>{let{componentCls:o,antCls:t}=e,n=`${o}-search`;return {[n]:{[o]:{"&:hover, &:focus":{[`+ ${o}-group-addon ${n}-button:not(${t}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${o}-affix-wrapper`]:{height:e.controlHeight,borderRadius:0},[`${o}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal()},[`> ${o}-group`]:{[`> ${o}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${n}-button`]:{marginInlineEnd:-1,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${n}-button:not(${t}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${t}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${n}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${o}-affix-wrapper, ${n}-button`]:{height:e.controlHeightLG}},"&-small":{[`${o}-affix-wrapper, ${n}-button`]:{height:e.controlHeightSM}},"&-rtl":{direction:"rtl"},[`&${o}-compact-item`]:{[`&:not(${o}-compact-last-item)`]:{[`${o}-group-addon`]:{[`${o}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${o}-compact-first-item)`]:{[`${o},${o}-affix-wrapper`]:{borderRadius:0}},[`> ${o}-group-addon ${o}-search-button,
|
|
49
|
-
> ${o},
|
|
50
|
-
${o}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${o}-affix-wrapper-focused`]:{zIndex:2}}}}},Ct=e=>{let{componentCls:o,paddingLG:t}=e,n=`${o}-textarea`;return {[n]:{position:"relative","&-show-count":{[`> ${o}`]:{height:"100%"},[`${o}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
|
|
51
|
-
&-allow-clear > ${o},
|
|
52
|
-
&-affix-wrapper${n}-has-feedback ${o}
|
|
53
|
-
`]:{paddingInlineEnd:t},[`&-affix-wrapper${o}-affix-wrapper`]:{padding:0,[`> textarea${o}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${o}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${o}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${n}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${o}-affix-wrapper-sm`]:{[`${o}-suffix`]:{[`${o}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},yt=e=>{let{componentCls:o}=e;return {[`${o}-out-of-range`]:{[`&, & input, & textarea, ${o}-show-count-suffix, ${o}-data-count`]:{color:e.colorError}}}};O("Input",e=>{let o=mergeToken(e,J(e));return [ut(o),Ct(o),St(o),ht(o),bt(o),yt(o),V(o)]},ee,{resetFont:false});var xt=e=>({animationDuration:e,animationFillMode:"both"}),$t=e=>({animationDuration:e,animationFillMode:"both"}),W=(e,o,t,n,r=false)=>{let i=r?"&":"";return {[`
|
|
54
|
-
${i}${e}-enter,
|
|
55
|
-
${i}${e}-appear
|
|
56
|
-
`]:{...xt(n),animationPlayState:"paused"},[`${i}${e}-leave`]:{...$t(n),animationPlayState:"paused"},[`
|
|
57
|
-
${i}${e}-enter${e}-enter-active,
|
|
58
|
-
${i}${e}-appear${e}-appear-active
|
|
59
|
-
`]:{animationName:o,animationPlayState:"running"},[`${i}${e}-leave${e}-leave-active`]:{animationName:t,animationPlayState:"running",pointerEvents:"none"}}};new Keyframes("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}});new Keyframes("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}});var $o=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}}),To=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}}),vo=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}}),Io=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}}),wo=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}}),Po=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}}),Mo=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}}),Ho=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}}),It={"move-up":{inKeyframes:Mo,outKeyframes:Ho},"move-down":{inKeyframes:$o,outKeyframes:To},"move-left":{inKeyframes:vo,outKeyframes:Io},"move-right":{inKeyframes:wo,outKeyframes:Po}},ne=(e,o)=>{let{antCls:t}=e,n=`${t}-${o}`,{inKeyframes:r,outKeyframes:i}=It[o];return [W(n,r,i,e.motionDurationMid),{[`
|
|
60
|
-
${n}-enter,
|
|
61
|
-
${n}-appear
|
|
62
|
-
`]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};var ie=new Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),ae=new Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),le=new Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),se=new Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),ko=new Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),Bo=new Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),Ro=new Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),Oo=new Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),wt={"slide-up":{inKeyframes:ie,outKeyframes:ae},"slide-down":{inKeyframes:le,outKeyframes:se},"slide-left":{inKeyframes:ko,outKeyframes:Bo},"slide-right":{inKeyframes:Ro,outKeyframes:Oo}},ce=(e,o)=>{let{antCls:t}=e,n=`${t}-${o}`,{inKeyframes:r,outKeyframes:i}=wt[o];return [W(n,r,i,e.motionDurationMid),{[`
|
|
63
|
-
${n}-enter,
|
|
64
|
-
${n}-appear
|
|
65
|
-
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]};new Keyframes("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}});new Keyframes("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}});new Keyframes("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}});new Keyframes("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}});new Keyframes("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}});new Keyframes("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}});new Keyframes("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}});new Keyframes("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}});new Keyframes("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}});new Keyframes("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}});new Keyframes("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}});new Keyframes("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}});function zo(e){let{sizePopupArrow:o,borderRadiusXS:t,borderRadiusOuter:n}=e,r=o/2,i=0,a=r,d=n*1/Math.sqrt(2),c=r-n*(1-1/Math.sqrt(2)),l=r-t*(1/Math.sqrt(2)),s=n*(Math.sqrt(2)-1)+t*(1/Math.sqrt(2)),p=2*r-l,m=s,u=2*r-d,f=c,$=2*r-i,h=a,S=r*Math.sqrt(2)+n*(Math.sqrt(2)-2),y=n*(Math.sqrt(2)-1),I=`polygon(${y}px 100%, 50% ${y}px, ${2*r-y}px 100%, ${y}px 100%)`,P=`path('M ${i} ${a} A ${n} ${n} 0 0 0 ${d} ${c} L ${l} ${s} A ${t} ${t} 0 0 1 ${p} ${m} L ${u} ${f} A ${n} ${n} 0 0 0 ${$} ${h} Z')`;return {arrowShadowWidth:S,arrowPath:P,arrowPolygon:I}}var Eo=(e,o,t)=>{let{sizePopupArrow:n,arrowPolygon:r,arrowPath:i,arrowShadowWidth:a,borderRadiusXS:d,calc:c}=e;return {pointerEvents:"none",width:n,height:n,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:n,height:c(n).div(2).equal(),background:o,clipPath:{_multi_value_:true,value:[r,i]},content:'""'},"&::after":{content:'""',position:"absolute",width:a,height:a,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:true,value:`0 0 ${unit(d)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:t,zIndex:0,background:"transparent"}}};var Wo=e=>{let{multipleSelectItemHeight:o,paddingXXS:t,lineWidth:n,INTERNAL_FIXED_ITEM_MARGIN:r}=e,i=e.max(e.calc(t).sub(n).equal(),0),a=e.max(e.calc(i).sub(r).equal(),0);return {basePadding:i,containerPadding:a,itemHeight:unit(o),itemLineHeight:unit(e.calc(o).sub(e.calc(e.lineWidth).mul(2)).equal())}};var Do=e=>{let{componentCls:o,iconCls:t,borderRadiusSM:n,motionDurationSlow:r,paddingXS:i,multipleItemColorDisabled:a,multipleItemBorderColorDisabled:d,colorIcon:c,colorIconHover:l,INTERNAL_FIXED_ITEM_MARGIN:s}=e;return {[`${o}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"nowrap",overflow:"hidden",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${o}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:s,borderRadius:n,cursor:"default",transition:`font-size ${r}, line-height ${r}, height ${r}`,marginInlineEnd:e.calc(s).mul(2).equal(),paddingInlineStart:i,paddingInlineEnd:e.calc(i).div(2).equal(),[`${o}-disabled&`]:{color:a,borderColor:d,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(i).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":{...Ce(),display:"inline-flex",alignItems:"center",color:c,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${t}`]:{verticalAlign:"-0.2em"},"&:hover":{color:l}}}}}};var We=(e,o)=>{let{componentCls:t,controlHeight:n}=e,r=o?`${t}-${o}`:"",i=Wo(e);return [{[`${t}-multiple${r}`]:{paddingBlock:i.containerPadding,paddingInlineStart:i.basePadding,minHeight:n,[`${t}-selection-item`]:{height:i.itemHeight,lineHeight:unit(i.itemLineHeight)}}}]},Ft=e=>{let{componentCls:o,calc:t,lineWidth:n}=e,r=mergeToken(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS,controlHeight:e.controlHeightSM}),i=mergeToken(e,{fontHeight:t(e.multipleItemHeightLG).sub(t(n).mul(2).equal()).equal(),fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius,controlHeight:e.controlHeightLG});return [We(r,"small"),We(e),We(i,"large"),{[`${o}${o}-multiple`]:{width:"100%",cursor:"text",[`${o}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${o}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:0,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}},...Do(e),[`${o}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}}}]},Lo=Ft;var Xt=e=>{let{pickerCellCls:o,pickerCellInnerCls:t,cellHeight:n,borderRadiusSM:r,motionDurationMid:i,cellHoverBg:a,lineWidth:d,lineType:c,colorPrimary:l,cellActiveWithRangeBg:s,colorTextLightSolid:p,colorTextDisabled:m,cellBgDisabled:u,colorFillSecondary:f}=e;return {"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:n,transform:"translateY(-50%)",content:'""',pointerEvents:"none"},[t]:{position:"relative",zIndex:2,display:"inline-block",minWidth:n,height:n,lineHeight:unit(n),borderRadius:r,transition:`background ${i}`},[`&:hover:not(${o}-in-view):not(${o}-disabled),
|
|
66
|
-
&:hover:not(${o}-selected):not(${o}-range-start):not(${o}-range-end):not(${o}-disabled)`]:{[t]:{background:a}},[`&-in-view${o}-today ${t}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${unit(d)} ${c} ${l}`,borderRadius:r,content:'""'}},[`&-in-view${o}-in-range,
|
|
67
|
-
&-in-view${o}-range-start,
|
|
68
|
-
&-in-view${o}-range-end`]:{position:"relative",[`&:not(${o}-disabled):before`]:{background:s}},[`&-in-view${o}-selected,
|
|
69
|
-
&-in-view${o}-range-start,
|
|
70
|
-
&-in-view${o}-range-end`]:{[`&:not(${o}-disabled) ${t}`]:{color:p,background:l},[`&${o}-disabled ${t}`]:{background:f}},[`&-in-view${o}-range-start:not(${o}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${o}-range-end:not(${o}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${o}-range-start:not(${o}-range-end) ${t}`]:{borderStartStartRadius:r,borderEndStartRadius:r,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${o}-range-end:not(${o}-range-start) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:r,borderEndEndRadius:r},"&-disabled":{color:m,cursor:"not-allowed",[t]:{background:"transparent"},"&::before":{background:u}},[`&-disabled${o}-today ${t}::before`]:{borderColor:m}}},de=e=>{let{componentCls:o,pickerCellCls:t,pickerCellInnerCls:n,pickerYearMonthCellWidth:r,pickerControlIconSize:i,cellWidth:a,paddingSM:d,paddingXS:c,paddingXXS:l,colorBgContainer:s,lineWidth:p,lineType:m,borderRadiusLG:u,colorPrimary:f,colorTextHeading:$,colorSplit:h,pickerControlIconBorderWidth:S,colorIcon:y,textHeight:I,motionDurationMid:P,colorIconHover:z,fontWeightStrong:ge,cellHeight:N,pickerCellPaddingVertical:K,colorTextDisabled:L,colorText:G,fontSize:ue,motionDurationSlow:fe,withoutTimeCellHeight:Se,pickerQuarterPanelContentHeight:he,borderRadiusSM:B,colorTextLightSolid:U,cellHoverBg:_,timeColumnHeight:F,timeColumnWidth:X,timeCellHeight:E,controlItemBgActive:be,marginXXS:Ge,pickerDatePanelPaddingHorizontal:Fe,pickerControlIconMargin:Xe}=e,No=e.calc(a).mul(7).add(e.calc(Fe).mul(2)).equal();return {[o]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:s,borderRadius:u,outline:"none","&-focused":{borderColor:f},"&-rtl":{[`${o}-prev-icon,
|
|
71
|
-
${o}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${o}-next-icon,
|
|
72
|
-
${o}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${o}-time-panel`]:{[`${o}-content`]:{direction:"ltr","> *":{direction:"rtl"}}}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:No},"&-header":{display:"flex",padding:`0 ${unit(c)}`,color:$,borderBottom:`${unit(p)} ${m} ${h}`,"> *":{flex:"none"},button:{padding:0,color:y,lineHeight:unit(I),background:"transparent",border:0,cursor:"pointer",transition:`color ${P}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center"},"> button":{minWidth:"1.6em",fontSize:ue,"&:hover":{color:z},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:ge,lineHeight:unit(I),"> button":{color:"inherit",fontWeight:"inherit","&:not(:first-child)":{marginInlineStart:c},"&:hover":{color:f}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",width:i,height:i,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:i,height:i,border:"0 solid currentcolor",borderBlockWidth:`${unit(S)} 0`,borderInlineWidth:`${unit(S)} 0`,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Xe,insetInlineStart:Xe,display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderBlockWidth:`${unit(S)} 0`,borderInlineWidth:`${unit(S)} 0`,content:'""'}},"&-prev-icon, &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon, &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:N,fontWeight:"normal"},th:{height:e.calc(N).add(e.calc(K).mul(2)).equal(),color:G,verticalAlign:"middle"}},"&-cell":{padding:`${unit(K)} 0`,color:L,cursor:"pointer","&-in-view":{color:G},...Xt(e)},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${o}-content`]:{height:e.calc(Se).mul(4).equal()},[n]:{padding:`0 ${unit(c)}`}},"&-quarter-panel":{[`${o}-content`]:{height:he}},"&-decade-panel":{[n]:{padding:`0 ${unit(e.calc(c).div(2).equal())}`},[`${o}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${o}-body`]:{padding:`0 ${unit(c)}`},[n]:{width:r}},"&-date-panel":{[`${o}-body`]:{padding:`${unit(c)} ${unit(Fe)}`},[`${o}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${o}-cell`]:{[`&:hover ${n},
|
|
73
|
-
&-selected ${n},
|
|
74
|
-
${n}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${P}`},"&:first-child:before":{borderStartStartRadius:B,borderEndStartRadius:B},"&:last-child:before":{borderStartEndRadius:B,borderEndEndRadius:B}},"&:hover td:before":{background:_},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${t}`]:{"&:before":{background:f},[`&${o}-cell-week`]:{color:new TinyColor(U).setAlpha(.5).toHexString()},[n]:{color:U}}},"&-range-hover td:before":{background:be}}},"&-week-panel, &-date-panel-show-week":{[`${o}-body`]:{padding:`${unit(c)} ${unit(d)}`},[`${o}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${o}-time-panel`]:{borderInlineStart:`${unit(p)} ${m} ${h}`},[`${o}-date-panel,
|
|
75
|
-
${o}-time-panel`]:{transition:`opacity ${fe}`},"&-active":{[`${o}-date-panel,
|
|
76
|
-
${o}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${o}-content`]:{display:"flex",flex:"auto",height:F},"&-column":{flex:"1 0 auto",width:X,margin:`${unit(l)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${P}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:e.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:"block",height:`calc(100% - ${unit(E)})`,content:'""'},"&:not(:first-child)":{borderInlineStart:`${unit(p)} ${m} ${h}`},"&-active":{background:new TinyColor(be).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${o}-time-panel-cell`]:{marginInline:Ge,[`${o}-time-panel-cell-inner`]:{display:"block",width:e.calc(X).sub(e.calc(Ge).mul(2)).equal(),height:E,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(X).sub(E).div(2).equal(),color:G,lineHeight:unit(E),borderRadius:B,cursor:"pointer",transition:`background ${P}`,"&:hover":{background:_}},"&-selected":{[`${o}-time-panel-cell-inner`]:{background:be}},"&-disabled":{[`${o}-time-panel-cell-inner`]:{color:L,background:"transparent",cursor:"not-allowed"}}}}}}}}},jt=e=>{let{componentCls:o,textHeight:t,lineWidth:n,paddingSM:r,antCls:i,colorPrimary:a,cellActiveWithRangeBg:d,colorPrimaryBorder:c,lineType:l,colorSplit:s}=e;return {[`${o}-dropdown`]:{[`${o}-footer`]:{borderTop:`${unit(n)} ${l} ${s}`,"&-extra":{padding:`0 ${unit(r)}`,lineHeight:unit(e.calc(t).sub(e.calc(n).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${unit(n)} ${l} ${s}`}}},[`${o}-panels + ${o}-footer ${o}-ranges`]:{justifyContent:"space-between"},[`${o}-ranges`]:{marginBlock:0,paddingInline:unit(r),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:unit(e.calc(t).sub(e.calc(n).mul(2)).equal()),display:"inline-block"},[`${o}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${o}-preset > ${i}-tag-blue`]:{color:a,background:d,borderColor:c,cursor:"pointer"},[`${o}-ok`]:{paddingBlock:e.calc(n).mul(2).equal(),marginInlineStart:"auto"}}}}},Fo=jt;var pe=e=>{let{componentCls:o,controlHeightLG:t,paddingXXS:n,padding:r}=e;return {pickerCellCls:`${o}-cell`,pickerCellInnerCls:`${o}-cell-inner`,pickerYearMonthCellWidth:e.calc(t).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(t).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(n).add(e.calc(n).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(r).add(e.calc(n).div(2)).equal()}},me=e=>{let{colorBgContainerDisabled:o,controlHeight:t,controlHeightSM:n,controlHeightLG:r,paddingXXS:i,lineWidth:a}=e,d=i*2,c=a*2,l=Math.min(t-d,t-c),s=Math.min(n-d,n-c),p=Math.min(r-d,r-c);return {INTERNAL_FIXED_ITEM_MARGIN:Math.floor(i/2),cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new TinyColor(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new TinyColor(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:o,timeColumnWidth:r*1.4,timeColumnHeight:224,timeCellHeight:28,cellWidth:n*1.5,cellHeight:n,textHeight:r,withoutTimeCellHeight:r*1.65,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:l,multipleItemHeightSM:s,multipleItemHeightLG:p,multipleSelectorBgDisabled:o,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},jo=e=>({...ee(e),...me(e),...zo(e),presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50});var qt=e=>{let{componentCls:o}=e;return {[o]:[{...oe(e),...re(e),...te(e)},{"&-outlined":{[`&${o}-multiple ${o}-selection-item`]:{background:e.multipleItemBg,border:`${unit(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${o}-multiple ${o}-selection-item`]:{background:e.colorBgContainer,border:`${unit(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${o}-multiple ${o}-selection-item`]:{background:e.multipleItemBg,border:`${unit(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}},qo=qt;var Le=(e,o,t,n)=>{let r=e.calc(t).add(2).equal(),i=e.max(e.calc(o).sub(r).div(2).equal(),0),a=e.max(e.calc(o).sub(r).sub(i).equal(),0);return {padding:`${unit(i)} ${unit(n)} ${unit(a)}`}},Nt=e=>{let{componentCls:o,colorError:t,colorWarning:n}=e;return {[`${o}:not(${o}-disabled):not([disabled])`]:{[`&${o}-status-error`]:{[`${o}-active-bar`]:{background:t}},[`&${o}-status-warning`]:{[`${o}-active-bar`]:{background:n}}}}},Kt=e=>{let{componentCls:o,antCls:t,controlHeight:n,paddingInline:r,lineWidth:i,lineType:a,colorBorder:d,borderRadius:c,motionDurationMid:l,colorTextDisabled:s,colorTextPlaceholder:p,controlHeightLG:m,fontSizeLG:u,controlHeightSM:f,paddingInlineSM:$,paddingXS:h,marginXS:S,colorTextDescription:y,lineWidthBold:I,colorPrimary:P,motionDurationSlow:z,zIndexPopup:ge,paddingXXS:N,sizePopupArrow:K,colorBgElevated:L,borderRadiusLG:G,boxShadowSecondary:ue,borderRadiusSM:fe,colorSplit:Se,cellHoverBg:he,presetsWidth:B,presetsMaxWidth:U,boxShadowPopoverArrow:_,fontHeight:F,fontHeightLG:X,lineHeightLG:E}=e;return [{[o]:{...M(e),...Le(e,n,F,r),position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:c,transition:`border ${l}, box-shadow ${l}, background ${l}`,[`${o}-prefix`]:{marginInlineEnd:e.inputAffixPadding},[`${o}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":{position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:e.fontSize,lineHeight:e.lineHeight,transition:`all ${l}`,...Ae(p),flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:s,cursor:"not-allowed"}},"&-placeholder":{"> input":{color:p}}},"&-large":{...Le(e,m,X,r),[`${o}-input > input`]:{fontSize:u,lineHeight:E}},"&-small":{...Le(e,f,F,$)},[`${o}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:e.calc(h).div(2).equal(),color:s,lineHeight:1,pointerEvents:"none",transition:`opacity ${l}, color ${l}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:S}}},[`${o}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:s,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${l}, color ${l}`,"> *":{verticalAlign:"top"},"&:hover":{color:y}},"&:hover":{[`${o}-clear`]:{opacity:1},[`${o}-suffix:not(:last-child)`]:{opacity:0}},[`${o}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:u,color:s,fontSize:u,verticalAlign:"top",cursor:"default",[`${o}-focused &`]:{color:y},[`${o}-range-separator &`]:{[`${o}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${o}-active-bar`]:{bottom:e.calc(i).mul(-1).equal(),height:I,background:P,opacity:0,transition:`all ${z} ease-out`,pointerEvents:"none"},[`&${o}-focused`]:{[`${o}-active-bar`]:{opacity:1}},[`${o}-range-separator`]:{alignItems:"center",padding:`0 ${unit(h)}`,lineHeight:1}},"&-range, &-multiple":{[`${o}-clear`]:{insetInlineEnd:r},[`&${o}-small`]:{[`${o}-clear`]:{insetInlineEnd:$}}},"&-dropdown":{...M(e),...de(e),pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:true,value:-9999},zIndex:ge,[`&${o}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${o}-dropdown-placement-bottomLeft,
|
|
77
|
-
&${o}-dropdown-placement-bottomRight`]:{[`${o}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${o}-dropdown-placement-topLeft,
|
|
78
|
-
&${o}-dropdown-placement-topRight`]:{[`${o}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${t}-slide-up-enter${t}-slide-up-enter-active${o}-dropdown-placement-topLeft,
|
|
79
|
-
&${t}-slide-up-enter${t}-slide-up-enter-active${o}-dropdown-placement-topRight,
|
|
80
|
-
&${t}-slide-up-appear${t}-slide-up-appear-active${o}-dropdown-placement-topLeft,
|
|
81
|
-
&${t}-slide-up-appear${t}-slide-up-appear-active${o}-dropdown-placement-topRight`]:{animationName:le},[`&${t}-slide-up-enter${t}-slide-up-enter-active${o}-dropdown-placement-bottomLeft,
|
|
82
|
-
&${t}-slide-up-enter${t}-slide-up-enter-active${o}-dropdown-placement-bottomRight,
|
|
83
|
-
&${t}-slide-up-appear${t}-slide-up-appear-active${o}-dropdown-placement-bottomLeft,
|
|
84
|
-
&${t}-slide-up-appear${t}-slide-up-appear-active${o}-dropdown-placement-bottomRight`]:{animationName:ie},[`&${t}-slide-up-leave ${o}-panel-container`]:{pointerEvents:"none"},[`&${t}-slide-up-leave${t}-slide-up-leave-active${o}-dropdown-placement-topLeft,
|
|
85
|
-
&${t}-slide-up-leave${t}-slide-up-leave-active${o}-dropdown-placement-topRight`]:{animationName:se},[`&${t}-slide-up-leave${t}-slide-up-leave-active${o}-dropdown-placement-bottomLeft,
|
|
86
|
-
&${t}-slide-up-leave${t}-slide-up-leave-active${o}-dropdown-placement-bottomRight`]:{animationName:ae},[`${o}-panel > ${o}-time-panel`]:{paddingTop:N},[`${o}-range-wrapper`]:{display:"flex",position:"relative"},[`${o}-range-arrow`]:{position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(r).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${z} ease-out`,...Eo(e,L,_),"&:before":{insetInlineStart:e.calc(r).mul(1.5).equal()}},[`${o}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:L,borderRadius:G,boxShadow:ue,transition:`margin ${z}`,display:"inline-block",pointerEvents:"auto",[`${o}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${o}-presets`]:{display:"flex",flexDirection:"column",minWidth:B,maxWidth:U,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:h,borderInlineEnd:`${unit(i)} ${a} ${Se}`,li:{...je,borderRadius:fe,paddingInline:h,paddingBlock:e.calc(f).sub(F).div(2).equal(),cursor:"pointer",transition:`all ${z}`,"+ li":{marginTop:S},"&:hover":{background:he}}}},[`${o}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${o}-panel`]:{borderWidth:0}}},[`${o}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${o}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:d}}}},"&-dropdown-range":{padding:`${unit(e.calc(K).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${o}-separator`]:{transform:"rotate(180deg)"},[`${o}-footer`]:{"&-extra":{direction:"rtl"}}}}},ce(e,"slide-up"),ce(e,"slide-down"),ne(e,"move-up"),ne(e,"move-down")]};O("DatePicker",e=>{let o=mergeToken(J(e),pe(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return [Fo(o),Kt(o),qo(o),Nt(o),Lo(o),V(e,{focusElCls:`${e.componentCls}-focused`})]},jo);var Ut=e=>{let{calendarCls:o,componentCls:t,fullBg:n,fullPanelBg:r,itemActiveBg:i}=e;return {[o]:{...de(e),...M(e),background:n,"&-rtl":{direction:"rtl"},[`${o}-header`]:{display:"flex",justifyContent:"flex-end",padding:`${unit(e.paddingSM)} 0`,[`${o}-year-select`]:{minWidth:e.yearControlWidth},[`${o}-month-select`]:{minWidth:e.monthControlWidth,marginInlineStart:e.marginXS},[`${o}-mode-switch`]:{marginInlineStart:e.marginXS}}},[`${o} ${t}-panel`]:{background:r,border:0,borderTop:`${unit(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,borderRadius:0,[`${t}-month-panel, ${t}-date-panel`]:{width:"auto"},[`${t}-body`]:{padding:`${unit(e.paddingXS)} 0`},[`${t}-content`]:{width:"100%"}},[`${o}-mini`]:{borderRadius:e.borderRadiusLG,[`${o}-header`]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS},[`${t}-panel`]:{borderRadius:`0 0 ${unit(e.borderRadiusLG)} ${unit(e.borderRadiusLG)}`},[`${t}-content`]:{height:e.miniContentHeight,th:{height:"auto",padding:0,lineHeight:unit(e.weekHeight)}},[`${t}-cell::before`]:{pointerEvents:"none"}},[`${o}${o}-full`]:{[`${t}-panel`]:{display:"block",width:"100%",textAlign:"end",background:n,border:0,[`${t}-body`]:{"th, td":{padding:0},th:{height:"auto",paddingInlineEnd:e.paddingSM,paddingBottom:e.paddingXXS,lineHeight:unit(e.weekHeight)}}},[`${t}-cell`]:{"&::before":{display:"none"},"&:hover":{[`${o}-date`]:{background:e.controlItemBgHover}},[`${o}-date-today::before`]:{display:"none"},[`&-in-view${t}-cell-selected`]:{[`${o}-date, ${o}-date-today`]:{background:i}},"&-selected, &-selected:hover":{[`${o}-date, ${o}-date-today`]:{[`${o}-date-value`]:{color:e.colorPrimary}}}},[`${o}-date`]:{display:"block",width:"auto",height:"auto",margin:`0 ${unit(e.calc(e.marginXS).div(2).equal())}`,padding:`${unit(e.calc(e.paddingXS).div(2).equal())} ${unit(e.paddingXS)} 0`,border:0,borderTop:`${unit(e.lineWidthBold)} ${e.lineType} ${e.colorSplit}`,borderRadius:0,transition:`background ${e.motionDurationSlow}`,"&-value":{lineHeight:unit(e.dateValueHeight),transition:`color ${e.motionDurationSlow}`},"&-content":{position:"static",width:"auto",height:e.dateContentHeight,overflowY:"auto",color:e.colorText,lineHeight:e.lineHeight,textAlign:"start"},"&-today":{borderColor:e.colorPrimary,[`${o}-date-value`]:{color:e.colorText}}}},[`@media only screen and (max-width: ${unit(e.screenXS)}) `]:{[o]:{[`${o}-header`]:{display:"block",[`${o}-year-select`]:{width:"50%"},[`${o}-month-select`]:{width:`calc(50% - ${unit(e.paddingXS)})`},[`${o}-mode-switch`]:{width:"100%",marginTop:e.marginXS,marginInlineStart:0,"> label":{width:"50%",textAlign:"center"}}}}}}},_t=e=>({fullBg:e.colorBgContainer,fullPanelBg:e.colorBgContainer,itemActiveBg:e.controlItemBgActive,yearControlWidth:80,monthControlWidth:70,miniContentHeight:256,...me(e)}),Ni=O("Calendar",e=>{let o=`${e.componentCls}-calendar`,t=mergeToken(e,pe(e),{calendarCls:o,pickerCellInnerCls:`${e.componentCls}-cell-inner`,dateValueHeight:e.controlHeightSM,weekHeight:e.calc(e.controlHeightSM).mul(.75).equal(),dateContentHeight:e.calc(e.calc(e.fontHeightSM).add(e.marginXS)).mul(3).add(e.calc(e.lineWidth).mul(2)).equal()});return [Ut(t)]},_t);export{Ni as default,Ut as genCalendarStyles,_t as prepareComponentToken};
|
package/es/card/Card.d.ts
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { Tab } from 'rc-tabs/lib/interface';
|
|
3
|
-
import type { TabsProps } from '../tabs';
|
|
4
|
-
export type CardType = 'inner';
|
|
5
|
-
export type CardSize = 'default' | 'small';
|
|
6
|
-
export interface CardTabListType extends Omit<Tab, 'label'> {
|
|
7
|
-
key: string;
|
|
8
|
-
/** @deprecated Please use `label` instead */
|
|
9
|
-
tab?: React.ReactNode;
|
|
10
|
-
label?: React.ReactNode;
|
|
11
|
-
}
|
|
12
|
-
export interface CardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
13
|
-
prefixCls?: string;
|
|
14
|
-
title?: React.ReactNode;
|
|
15
|
-
extra?: React.ReactNode;
|
|
16
|
-
bordered?: boolean;
|
|
17
|
-
/** @deprecated Please use `styles.header` instead */
|
|
18
|
-
headStyle?: React.CSSProperties;
|
|
19
|
-
/** @deprecated Please use `styles.body` instead */
|
|
20
|
-
bodyStyle?: React.CSSProperties;
|
|
21
|
-
style?: React.CSSProperties;
|
|
22
|
-
loading?: boolean;
|
|
23
|
-
hoverable?: boolean;
|
|
24
|
-
children?: React.ReactNode;
|
|
25
|
-
id?: string;
|
|
26
|
-
className?: string;
|
|
27
|
-
rootClassName?: string;
|
|
28
|
-
size?: CardSize;
|
|
29
|
-
type?: CardType;
|
|
30
|
-
cover?: React.ReactNode;
|
|
31
|
-
actions?: React.ReactNode[];
|
|
32
|
-
tabList?: CardTabListType[];
|
|
33
|
-
tabBarExtraContent?: React.ReactNode;
|
|
34
|
-
onTabChange?: (key: string) => void;
|
|
35
|
-
activeTabKey?: string;
|
|
36
|
-
defaultActiveTabKey?: string;
|
|
37
|
-
tabProps?: TabsProps;
|
|
38
|
-
classNames?: {
|
|
39
|
-
header?: string;
|
|
40
|
-
body?: string;
|
|
41
|
-
extra?: string;
|
|
42
|
-
title?: string;
|
|
43
|
-
actions?: string;
|
|
44
|
-
cover?: string;
|
|
45
|
-
};
|
|
46
|
-
styles?: {
|
|
47
|
-
header?: React.CSSProperties;
|
|
48
|
-
body?: React.CSSProperties;
|
|
49
|
-
extra?: React.CSSProperties;
|
|
50
|
-
title?: React.CSSProperties;
|
|
51
|
-
actions?: React.CSSProperties;
|
|
52
|
-
cover?: React.CSSProperties;
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
|
|
56
|
-
export default Card;
|
package/es/card/Card.js
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import*as y from'react';import y__default,{createContext,useContext}from'react';import J from'classnames';import ni from'rc-util/lib/omit';import'rc-util/lib/warning';import {createTheme,Keyframes,unit,useCacheToken,useStyleRegister}from'@ant-design/cssinjs';import En from'@ant-design/icons/lib/components/Context';import Ln from'rc-util/lib/hooks/useMemo';import {merge}from'rc-util/lib/utils/set';import'rc-pagination/lib/locale/en_US';import jr from'rc-picker/lib/locale/en_US';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';import ln from'rc-util/lib/Dom/canUseDom';import {updateCSS}from'rc-util/lib/Dom/dynamicCSS';import In from'rc-util/lib/isEqual';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import {Provider}from'rc-motion';import ca from'@ant-design/icons/CloseOutlined';import pa from'@ant-design/icons/EllipsisOutlined';import ma from'@ant-design/icons/PlusOutlined';import da from'rc-tabs';import ki from'rc-util/lib/Children/toArray';function tt(){}var _r=tt,rt=y.createContext({}),Ke=()=>{let e=()=>{};return e.deprecated=tt,e},Re=_r;var nt=createContext(void 0);({lang:{...jr}});var L="${label} is not a valid ${type}",Kr={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:L,method:L,array:L,object:L,number:L,date:L,boolean:L,integer:L,float:L,regexp:L,email:L,url:L,hex:L},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}"}}}},re=Kr;({...re.Modal});var Ze=[],at=()=>Ze.reduce((e,o)=>({...e,...o}),re.Modal);function st(e){if(e){let o={...e};return Ze.push(o),at(),()=>{Ze=Ze.filter(t=>t!==o),at();}}({...re.Modal});}var qr=createContext(void 0),Me=qr;var ct="internalMark",Zr=e=>{let{locale:o={},children:t,_ANT_MARK__:n}=e;y.useEffect(()=>st(o?.Modal),[o]);let r=y.useMemo(()=>({...o,exist:true}),[o]);return y.createElement(Me.Provider,{value:r},t)},pt=Zr;var $o={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"},Qr={...$o,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=Qr;function Ro(e,{generateColorPalettes:o,generateNeutralColorPalettes:t}){let{colorSuccess:n,colorWarning:r,colorError:i,colorInfo:a,colorPrimary:s,colorBgBase:c,colorTextBase:l}=e,p=o(s),m=o(n),g=o(r),f=o(i),S=o(a),b=t(c,l),M=e.colorLink||e.colorInfo,v=o(M),z=new TinyColor(f[1]).mix(new TinyColor(f[3]),50).toHexString();return {...b,colorPrimaryBg:p[1],colorPrimaryBgHover:p[2],colorPrimaryBorder:p[3],colorPrimaryBorderHover:p[4],colorPrimaryHover:p[5],colorPrimary:p[6],colorPrimaryActive:p[7],colorPrimaryTextHover:p[8],colorPrimaryText:p[9],colorPrimaryTextActive:p[10],colorSuccessBg:m[1],colorSuccessBgHover:m[2],colorSuccessBorder:m[3],colorSuccessBorderHover:m[4],colorSuccessHover:m[4],colorSuccess:m[6],colorSuccessActive:m[7],colorSuccessTextHover:m[8],colorSuccessText:m[9],colorSuccessTextActive:m[10],colorErrorBg:f[1],colorErrorBgHover:f[2],colorErrorBgFilledHover:z,colorErrorBgActive:f[3],colorErrorBorder:f[3],colorErrorBorderHover:f[4],colorErrorHover:f[5],colorError:f[6],colorErrorActive:f[7],colorErrorTextHover:f[8],colorErrorText:f[9],colorErrorTextActive:f[10],colorWarningBg:g[1],colorWarningBgHover:g[2],colorWarningBorder:g[3],colorWarningBorderHover:g[4],colorWarningHover:g[4],colorWarning:g[6],colorWarningActive:g[7],colorWarningTextHover:g[8],colorWarningText:g[9],colorWarningTextActive:g[10],colorInfoBg:S[1],colorInfoBgHover:S[2],colorInfoBorder:S[3],colorInfoBorderHover:S[4],colorInfoHover:S[4],colorInfo:S[6],colorInfoActive:S[7],colorInfoTextHover:S[8],colorInfoText:S[9],colorInfoTextActive:S[10],colorLinkHover:v[4],colorLink:v[6],colorLinkActive:v[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var Yr=e=>{let o=e,t=e,n=e,r=e;return e<6&&e>=5?o=e+1:e<16&&e>=6?o=e+2:e>=16&&(o=16),e<7&&e>=5?t=4:e<8&&e>=7?t=5:e<14&&e>=8?t=6:e<16&&e>=14?t=7:e>=16&&(t=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?r=4:e>=8&&(r=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:t,borderRadiusLG:o,borderRadiusOuter:r}},mt=Yr;function Mo(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,...mt(n)}}var Jr=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},dt=Jr;function gt(e){return (e+8)/e}function wo(e){let o=new Array(10).fill(null).map((t,n)=>{let r=n-1,i=e*Math.E**(r/5),a=n>1?Math.floor(i):Math.ceil(i);return Math.floor(a/2)*2});return o[1]=e,o.map(t=>({size:t,lineHeight:gt(t)}))}var en=e=>{let o=wo(e),t=o.map(p=>p.size),n=o.map(p=>p.lineHeight),r=t[1],i=t[0],a=t[2],s=n[1],c=n[0],l=n[2];return {fontSizeSM:i,fontSize:r,fontSizeLG:a,fontSizeXL:t[3],fontSizeHeading1:t[6],fontSizeHeading2:t[5],fontSizeHeading3:t[4],fontSizeHeading4:t[3],fontSizeHeading5:t[2],lineHeight:s,lineHeightLG:l,lineHeightSM:c,fontHeight:Math.round(s*r),fontHeightLG:Math.round(l*a),fontHeightSM:Math.round(c*i),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},ft=en;function zo(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 I=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),ue=(e,o)=>new TinyColor(e).darken(o).toHexString();var Ct=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]}},yt=(e,o)=>{let t=e||"#fff",n=o||"#000";return {colorBgBase:t,colorTextBase:n,colorText:I(n,.88),colorTextSecondary:I(n,.65),colorTextTertiary:I(n,.45),colorTextQuaternary:I(n,.25),colorFill:I(n,.15),colorFillSecondary:I(n,.06),colorFillTertiary:I(n,.04),colorFillQuaternary:I(n,.02),colorBgSolid:I(n,1),colorBgSolidHover:I(n,.75),colorBgSolidActive:I(n,.95),colorBgLayout:ue(t,4),colorBgContainer:ue(t,0),colorBgElevated:ue(t,0),colorBgSpotlight:I(n,.85),colorBgBlur:"transparent",colorBorder:ue(t,15),colorBorderSecondary:ue(t,6)}};function Oo(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys($o).map(t=>{let n=e[t]===presetPrimaryColors[t]?presetPalettes[t]:generate(e[t]);return new Array(10).fill(1).reduce((r,i,a)=>(r[`${t}-${a+1}`]=n[a],r[`${t}${a+1}`]=n[a],r),{})}).reduce((t,n)=>(t={...t,...n},t),{});return {...e,...o,...Ro(e,{generateColorPalettes:Ct,generateNeutralColorPalettes:yt}),...ft(e.fontSize),...zo(e),...dt(e),...Mo(e)}}var Qe=createTheme(Oo),we={token:X,override:{override:X},hashed:true},ze=y__default.createContext(we);var Le="ant",Ie="anticon";var an=(e,o)=>o||(e?`${Le}-${e}`:Le),C=y.createContext({getPrefixCls:an,iconPrefixCls:Ie}),{Consumer:sn}=C;var pn=`-ant-${Date.now()}-${Math.random()}`;function mn(e,o){let t={},n=(a,s)=>{let c=a.clone();return c=s?.(c)||c,c.toRgbString()},r=(a,s)=>{let c=new TinyColor(a),l=generate(c.toRgbString());t[`${s}-color`]=n(c),t[`${s}-color-disabled`]=l[1],t[`${s}-color-hover`]=l[4],t[`${s}-color-active`]=l[6],t[`${s}-color-outline`]=c.clone().setAlpha(.2).toRgbString(),t[`${s}-color-deprecated-bg`]=l[0],t[`${s}-color-deprecated-border`]=l[2];};if(o.primaryColor){r(o.primaryColor,"primary");let a=new TinyColor(o.primaryColor),s=generate(a.toRgbString());s.forEach((l,p)=>{t[`primary-${p+1}`]=l;}),t["primary-color-deprecated-l-35"]=n(a,l=>l.lighten(35)),t["primary-color-deprecated-l-20"]=n(a,l=>l.lighten(20)),t["primary-color-deprecated-t-20"]=n(a,l=>l.tint(20)),t["primary-color-deprecated-t-50"]=n(a,l=>l.tint(50)),t["primary-color-deprecated-f-12"]=n(a,l=>l.setAlpha(l.getAlpha()*.12));let c=new TinyColor(s[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(a=>`--${e}-${a}: ${t[a]};`).join(`
|
|
6
|
-
`)}
|
|
7
|
-
}
|
|
8
|
-
`.trim()}function ht(e,o){let t=mn(e,o);ln()?updateCSS(t,`${pn}-dynamic-theme`):Re();}var No=y.createContext(false),xt=({children:e,disabled:o})=>{let t=y.useContext(No);return y.createElement(No.Provider,{value:o??t},e)},vt=No;var Ao=y.createContext(void 0),Tt=({children:e,size:o})=>{let t=y.useContext(Ao);return y.createElement(Ao.Provider,{value:o||t},e)},ne=Ao;function dn(){let e=useContext(vt),o=useContext(ne);return {componentDisabled:e,componentSize:o}}var $t=dn;var Rt={version:"0.0.2"};var Mt=Rt.version;function Do(e){return e>=0&&e<=255}function fn(e,o){let{r:t,g:n,b:r,a:i}=new TinyColor(e).toRgb();if(i<1)return e;let{r:a,g:s,b:c}=new TinyColor(o).toRgb();for(let l=.01;l<=1;l+=.01){let p=Math.round((t-a*(1-l))/l),m=Math.round((n-s*(1-l))/l),g=Math.round((r-c*(1-l))/l);if(Do(p)&&Do(m)&&Do(g))return new TinyColor({r:p,g:m,b:g,a:Math.round(l*100)/100}).toRgbString()}return new TinyColor({r:t,g:n,b:r,a:1}).toRgbString()}var Oe=fn;function Je(e){let{override:o,...t}=e,n={...o};Object.keys(X).forEach(g=>{delete n[g];});let r={...t,...n},i=480,a=576,s=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:Oe(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:Oe(r.colorErrorBg,r.colorBgContainer),colorWarningOutline:Oe(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:Oe(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:i,screenXSMin:i,screenXSMax:a-1,screenSM:a,screenSMMin:a,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:c-1,screenLG:c,screenLGMin:c,screenLGMax:l-1,screenXL:l,screenXLMin:l,screenXLMax: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 Bo={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},yn={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},Sn={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},wt=(e,o,t)=>{let n=t.getDerivativeToken(e),{override:r,...i}=o,a={...n,override:r};return a=Je(a),i&&Object.entries(i).forEach(([s,c])=>{let{theme:l,...p}=c,m=p;l&&(m=wt({...a,...p},{override:p},l)),a[s]=m;}),a};function _(){let{token:e,hashed:o,theme:t,override:n,cssVar:r}=y__default.useContext(ze),i=`${Mt}-${o||""}`,a=t||Qe,[s,c,l]=useCacheToken(a,[X,e],{salt:i,override:n,getComputedToken:wt,formatToken:Je,cssVar:r&&{prefix:r.prefix,key:r.key,unitless:Bo,ignore:yn,preserve:Sn}});return [a,l,o?c:"",s,r]}var Ee={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},Ne=(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}),hn=()=>({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"}}),Ae=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),zt=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"}}}),Lt=(e,o,t,n)=>{let r=`[class^="${o}"], [class*=" ${o}"]`,i=t?`.${t}`:r,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},s={};return n!==false&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:{...s,...a,[r]:a}}},xn=e=>({outline:`${unit(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),Wo=e=>({"&:focus-visible":{...xn(e)}}),eo=e=>({[`.${e}`]:{...hn(),[`.${e} .${e}-icon`]:{display:"block"}}});var{genStyleHooks:ie,genComponentStyleHook:Tn,genSubStyleComponent:Pn}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:o}=useContext(C);return {rootPrefixCls:e(),iconPrefixCls:o}},useToken:()=>{let[e,o,t,n,r]=_();return {theme:e,realToken:o,hashId:t,token:n,cssVar:r}},useCSP:()=>{let{csp:e}=useContext(C);return e??{}},getResetStyles:(e,o)=>[{"&":zt(e)},eo(o?.prefix.iconPrefixCls??Ie)],getCommonStyle:Lt,getCompUnitless:(()=>Bo)});var kn=(e,o)=>{let[t,n]=_();return useStyleRegister({theme:t,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>o?.nonce,layer:{name:"antd"}},()=>[eo(e)])},oo=kn;var Mn={...y},{useId:Ot}=Mn,wn=()=>"",zn=typeof Ot>"u"?wn:Ot,Et=zn;function _o(e,o,t){Ke();let r=e||{},i=r.inherit===false||!o?{...we,hashed:o?.hashed??we.hashed,cssVar:o?.cssVar}:o,a=Et();return Ln(()=>{if(!e)return o;let s={...i.components};Object.keys(e.components||{}).forEach(p=>{s[p]={...s[p],...e.components[p]};});let c=`css-var-${a.replace(/:/g,"")}`,l=(r.cssVar??i.cssVar)&&{prefix:t?.prefixCls,...typeof i.cssVar=="object"?i.cssVar:{},...typeof r.cssVar=="object"?r.cssVar:{},key:typeof r.cssVar=="object"&&r.cssVar?.key||c};return {...i,...r,token:{...i.token,...r.token},components:s,cssVar:l}},[r,i],(s,c)=>s.some((l,p)=>{let m=c[p];return !In(l,m,true)}))}function Fo(e){let{children:o}=e,[,t]=_(),{motion:n}=t,r=y.useRef(false);return r.current=r.current||n===false,r.current?y.createElement(Provider,{motion:n},o):o}y.memo(({dropdownMatchSelectWidth:e})=>(Ke().deprecated(e===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null));var At=()=>null;var Dn=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"],Ht;function _n(){return Ht||Le}function Fn(e){return Object.keys(e).some(o=>o.endsWith("Color"))}var Gn=e=>{let{prefixCls:o,iconPrefixCls:t,theme:n,holderRender:r}=e;o!==void 0&&(Ht=o),n&&(Fn(n)?(ht(_n(),n)):n);};var jn=e=>{let{children:o,csp:t,autoInsertSpaceInButton:n,alert:r,anchor:i,form:a,locale:s,componentSize:c,direction:l,space:p,splitter:m,virtual:g,dropdownMatchSelectWidth:f,popupMatchSelectWidth:S,popupOverflow:b,legacyLocale:M,parentContext:v,iconPrefixCls:z,theme:w,componentDisabled:N,segmented:D,statistic:R,spin:F,calendar:ee,carousel:P,cascader:H,collapse:G,typography:j,checkbox:se,descriptions:A,divider:B,drawer:le,skeleton:h,steps:xe,image:ve,layout:Te,list:oe,mentions:ce,modal:Pe,progress:Ge,result:te,slider:Qo,breadcrumb:je,menu:lo,pagination:co,input:po,textArea:mo,empty:go,badge:fo,radio:uo,rate:Co,switch:yo,transfer:So,avatar:$,message:U,tag:Ve,table:bo,card:br,tabs:hr,timeline:xr,timePicker:vr,upload:Tr,notification:Pr,tree:$r,colorPicker:kr,datePicker:Rr,rangePicker:Mr,flex:wr,wave:zr,dropdown:Lr,warning:Ir,tour:Or,variant:Er,inputNumber:Nr,treeSelect:Ar}=e,Yo=y.useCallback((T,W)=>{let{prefixCls:de}=e;if(W)return W;let ge=de||v.getPrefixCls("");return T?`${ge}-${T}`:ge},[v.getPrefixCls,e.prefixCls]),$e=z||v.iconPrefixCls||Ie,ke=t||v.csp;oo($e,ke);let ho=_o(w,v.theme,{prefixCls:Yo("")}),xo={csp:ke,autoInsertSpaceInButton:n,alert:r,anchor:i,locale:s||M,direction:l,space:p,splitter:m,virtual:g,popupMatchSelectWidth:S??f,popupOverflow:b,getPrefixCls:Yo,iconPrefixCls:$e,theme:ho,segmented:D,statistic:R,spin:F,calendar:ee,carousel:P,cascader:H,collapse:G,typography:j,checkbox:se,descriptions:A,divider:B,drawer:le,skeleton:h,steps:xe,image:ve,input:po,textArea:mo,layout:Te,list:oe,mentions:ce,modal:Pe,progress:Ge,result:te,slider:Qo,breadcrumb:je,menu:lo,pagination:co,empty:go,badge:fo,radio:uo,rate:Co,switch:yo,transfer:So,avatar:$,message:U,tag:Ve,table:bo,card:br,tabs:hr,timeline:xr,timePicker:vr,upload:Tr,notification:Pr,tree:$r,colorPicker:kr,datePicker:Rr,rangePicker:Mr,flex:wr,wave:zr,dropdown:Lr,warning:Ir,tour:Or,variant:Er,inputNumber:Nr,treeSelect:Ar},pe={...v};Object.keys(xo).forEach(T=>{xo[T]!==void 0&&(pe[T]=xo[T]);}),Dn.forEach(T=>{let W=e[T];W&&(pe[T]=W);}),typeof n<"u"&&(pe.button={autoInsertSpace:n,...pe.button});let me=Ln(()=>pe,pe,(T,W)=>{let de=Object.keys(T),ge=Object.keys(W);return de.length!==ge.length||de.some(Xe=>T[Xe]!==W[Xe])}),Dr=y.useMemo(()=>({prefixCls:$e,csp:ke}),[$e,ke]),k=y.createElement(y.Fragment,null,y.createElement(At,{dropdownMatchSelectWidth:f}),o),Jo=y.useMemo(()=>merge(re.Form?.defaultValidateMessages||{},me.locale?.Form?.defaultValidateMessages||{},me.form?.validateMessages||{},a?.validateMessages||{}),[me,a?.validateMessages]);Object.keys(Jo).length>0&&(k=y.createElement(nt.Provider,{value:Jo},k)),s&&(k=y.createElement(pt,{locale:s,_ANT_MARK__:ct},k)),(k=y.createElement(En.Provider,{value:Dr},k)),c&&(k=y.createElement(Tt,{size:c},k)),k=y.createElement(Fo,null,k);let Hr=y.useMemo(()=>{let{algorithm:T,token:W,components:de,cssVar:ge,...Xe}=ho||{},et=T&&(!Array.isArray(T)||T.length>0)?createTheme(T):Qe,vo={};Object.entries(de||{}).forEach(([Br,Wr])=>{let V={...Wr};"algorithm"in V&&(V.algorithm===true?V.theme=et:(Array.isArray(V.algorithm)||typeof V.algorithm=="function")&&(V.theme=createTheme(V.algorithm)),delete V.algorithm),vo[Br]=V;});let ot={...X,...W};return {...Xe,theme:et,token:ot,components:vo,override:{override:ot,...vo},cssVar:ge}},[ho]);return w&&(k=y.createElement(ze.Provider,{value:Hr},k)),me.warning&&(k=y.createElement(rt.Provider,{value:me.warning},k)),N!==void 0&&(k=y.createElement(xt,{disabled:N},k)),y.createElement(C.Provider,{value:me},k)},De=e=>{let o=y.useContext(C),t=y.useContext(Me);return y.createElement(jn,{parentContext:o,legacyLocale:t,...e})};De.ConfigContext=C;De.SizeContext=ne;De.config=Gn;De.useConfig=$t;Object.defineProperty(De,"SizeContext",{get:()=>(ne)});var Vn=e=>{let o=y__default.useContext(ne);return y__default.useMemo(()=>e?typeof e=="string"?e??o:e instanceof Function?e(o):o:o,[e,o])},ro=Vn;var Xn=e=>{let{prefixCls:o,className:t,style:n,size:r,shape:i}=e,a=J({[`${o}-lg`]:r==="large",[`${o}-sm`]:r==="small"}),s=J({[`${o}-circle`]:i==="circle",[`${o}-square`]:i==="square",[`${o}-round`]:i==="round"}),c=y.useMemo(()=>typeof r=="number"?{width:r,height:r,lineHeight:`${r}px`}:{},[r]);return y.createElement("span",{className:J(o,a,s,t),style:{...c,...n}})},q=Xn;var qn=new Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),io=e=>({height:e,lineHeight:unit(e)}),be=e=>({width:e,...io(e)}),Zn=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:qn,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),jo=(e,o)=>({width:o(e).mul(5).equal(),minWidth:o(e).mul(5).equal(),...io(e)}),Qn=e=>{let{skeletonAvatarCls:o,gradientFromColor:t,controlHeight:n,controlHeightLG:r,controlHeightSM:i}=e;return {[o]:{display:"inline-block",verticalAlign:"top",background:t,...be(n)},[`${o}${o}-circle`]:{borderRadius:"50%"},[`${o}${o}-lg`]:{...be(r)},[`${o}${o}-sm`]:{...be(i)}}},Yn=e=>{let{controlHeight:o,borderRadiusSM:t,skeletonInputCls:n,controlHeightLG:r,controlHeightSM:i,gradientFromColor:a,calc:s}=e;return {[n]:{display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,...jo(o,s)},[`${n}-lg`]:{...jo(r,s)},[`${n}-sm`]:{...jo(i,s)}}},Wt=e=>({width:e,...io(e)}),Jn=e=>{let{skeletonImageCls:o,imageSizeBase:t,gradientFromColor:n,borderRadiusSM:r,calc:i}=e;return {[o]:{display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:n,borderRadius:r,...Wt(i(t).mul(2).equal()),[`${o}-path`]:{fill:"#bfbfbf"},[`${o}-svg`]:{...Wt(t),maxWidth:i(t).mul(4).equal(),maxHeight:i(t).mul(4).equal()},[`${o}-svg${o}-svg-circle`]:{borderRadius:"50%"}},[`${o}${o}-circle`]:{borderRadius:"50%"}}},Vo=(e,o,t)=>{let{skeletonButtonCls:n}=e;return {[`${t}${n}-circle`]:{width:o,minWidth:o,borderRadius:"50%"},[`${t}${n}-round`]:{borderRadius:o}}},Xo=(e,o)=>({width:o(e).mul(2).equal(),minWidth:o(e).mul(2).equal(),...io(e)}),ei=e=>{let{borderRadiusSM:o,skeletonButtonCls:t,controlHeight:n,controlHeightLG:r,controlHeightSM:i,gradientFromColor:a,calc:s}=e;return {[t]:{display:"inline-block",verticalAlign:"top",background:a,borderRadius:o,width:s(n).mul(2).equal(),minWidth:s(n).mul(2).equal(),...Xo(n,s)},...Vo(e,n,t),[`${t}-lg`]:{...Xo(r,s)},...Vo(e,r,`${t}-lg`),[`${t}-sm`]:{...Xo(i,s)},...Vo(e,i,`${t}-sm`)}},oi=e=>{let{componentCls:o,skeletonAvatarCls:t,skeletonTitleCls:n,skeletonParagraphCls:r,skeletonButtonCls:i,skeletonInputCls:a,skeletonImageCls:s,controlHeight:c,controlHeightLG:l,controlHeightSM:p,gradientFromColor:m,padding:g,marginSM:f,borderRadius:S,titleHeight:b,blockRadius:M,paragraphLiHeight:v,controlHeightXS:z,paragraphMarginTop:w}=e;return {[o]:{display:"table",width:"100%",[`${o}-header`]:{display:"table-cell",paddingInlineEnd:g,verticalAlign:"top",[t]:{display:"inline-block",verticalAlign:"top",background:m,...be(c)},[`${t}-circle`]:{borderRadius:"50%"},[`${t}-lg`]:{...be(l)},[`${t}-sm`]:{...be(p)}},[`${o}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[n]:{width:"100%",height:b,background:m,borderRadius:M,[`+ ${r}`]:{marginBlockStart:p}},[r]:{padding:0,"> li":{width:"100%",height:v,listStyle:"none",background:m,borderRadius:M,"+ li":{marginBlockStart:z}}},[`${r}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${o}-content`]:{[`${n}, ${r} > li`]:{borderRadius:S}}},[`${o}-with-avatar ${o}-content`]:{[n]:{marginBlockStart:f,[`+ ${r}`]:{marginBlockStart:w}}},[`${o}${o}-element`]:{display:"inline-block",width:"auto",...ei(e),...Qn(e),...Yn(e),...Jn(e)},[`${o}${o}-block`]:{width:"100%",[i]:{width:"100%"},[a]:{width:"100%"}},[`${o}${o}-active`]:{[`
|
|
41
|
-
${n},
|
|
42
|
-
${r} > li,
|
|
43
|
-
${t},
|
|
44
|
-
${i},
|
|
45
|
-
${a},
|
|
46
|
-
${s}
|
|
47
|
-
`]:{...Zn(e)}}}},ti=e=>{let{colorFillContent:o,colorFill:t}=e,n=o,r=t;return {color:n,colorGradientEnd:r,gradientFromColor:n,gradientToColor:r,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},O=ie("Skeleton",e=>{let{componentCls:o,calc:t}=e,n=mergeToken(e,{skeletonAvatarCls:`${o}-avatar`,skeletonTitleCls:`${o}-title`,skeletonParagraphCls:`${o}-paragraph`,skeletonButtonCls:`${o}-button`,skeletonInputCls:`${o}-input`,skeletonImageCls:`${o}-image`,imageSizeBase:t(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return [oi(n)]},ti,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]});var ii=e=>{let{prefixCls:o,className:t,rootClassName:n,active:r,shape:i="circle",size:a="default"}=e,{getPrefixCls:s}=y.useContext(C),c=s("skeleton",o),[l,p,m]=O(c),g=ni(e,["prefixCls","className"]),f=J(c,`${c}-element`,{[`${c}-active`]:r},t,n,p,m);return l(y.createElement("div",{className:f},y.createElement(q,{prefixCls:`${c}-avatar`,shape:i,size:a,...g})))},_t=ii;var li=e=>{let{prefixCls:o,className:t,rootClassName:n,active:r,block:i=false,size:a="default"}=e,{getPrefixCls:s}=y.useContext(C),c=s("skeleton",o),[l,p,m]=O(c),g=ni(e,["prefixCls"]),f=J(c,`${c}-element`,{[`${c}-active`]:r,[`${c}-block`]:i},t,n,p,m);return l(y.createElement("div",{className:f},y.createElement(q,{prefixCls:`${c}-button`,size:a,...g})))},Ft=li;var ci="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",pi=e=>{let{prefixCls:o,className:t,rootClassName:n,style:r,active:i}=e,{getPrefixCls:a}=y.useContext(C),s=a("skeleton",o),[c,l,p]=O(s),m=J(s,`${s}-element`,{[`${s}-active`]:i},t,n,l,p);return c(y.createElement("div",{className:m},y.createElement("div",{className:J(`${s}-image`,t),style:r},y.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${s}-image-svg`},y.createElement("title",null,"Image placeholder"),y.createElement("path",{d:ci,className:`${s}-image-path`})))))},jt=pi;var gi=e=>{let{prefixCls:o,className:t,rootClassName:n,active:r,block:i,size:a="default"}=e,{getPrefixCls:s}=y.useContext(C),c=s("skeleton",o),[l,p,m]=O(c),g=ni(e,["prefixCls"]),f=J(c,`${c}-element`,{[`${c}-active`]:r,[`${c}-block`]:i},t,n,p,m);return l(y.createElement("div",{className:f},y.createElement(q,{prefixCls:`${c}-input`,size:a,...g})))},Vt=gi;var fi=e=>{let{prefixCls:o,className:t,rootClassName:n,style:r,active:i,children:a}=e,{getPrefixCls:s}=y.useContext(C),c=s("skeleton",o),[l,p,m]=O(c),g=J(c,`${c}-element`,{[`${c}-active`]:i},p,t,n,m);return l(y.createElement("div",{className:g},y.createElement("div",{className:J(`${c}-image`,t),style:r},a)))},Kt=fi;var Ci=(e,o)=>{let{width:t,rows:n=2}=o;if(Array.isArray(t))return t[e];if(n-1===e)return t},yi=e=>{let{prefixCls:o,className:t,style:n,rows:r}=e,i=[...new Array(r)].map((a,s)=>y.createElement("li",{key:s,style:{width:Ci(s,e)}}));return y.createElement("ul",{className:J(o,t),style:n},i)},Ut=yi;var bi=({prefixCls:e,className:o,width:t,style:n})=>y.createElement("h3",{className:J(e,o),style:{width:t,...n}}),Zt=bi;function Uo(e){return e&&typeof e=="object"?e:{}}function xi(e,o){return e&&!o?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function vi(e,o){return !e&&o?{width:"38%"}:e&&o?{width:"50%"}:{}}function Ti(e,o){let t={};return (!e||!o)&&(t.width="61%"),!e&&o?t.rows=3:t.rows=2,t}var he=e=>{let{prefixCls:o,loading:t,className:n,rootClassName:r,style:i,children:a,avatar:s=false,title:c=true,paragraph:l=true,active:p,round:m}=e,{getPrefixCls:g,direction:f,skeleton:S}=y.useContext(C),b=g("skeleton",o),[M,v,z]=O(b);if(t||!("loading"in e)){let w=!!s,N=!!c,D=!!l,R;if(w){let P={prefixCls:`${b}-avatar`,...xi(N,D),...Uo(s)};R=y.createElement("div",{className:`${b}-header`},y.createElement(q,{...P}));}let F;if(N||D){let P;if(N){let G={prefixCls:`${b}-title`,...vi(w,D),...Uo(c)};P=y.createElement(Zt,{...G});}let H;if(D){let G={prefixCls:`${b}-paragraph`,...Ti(w,N),...Uo(l)};H=y.createElement(Ut,{...G});}F=y.createElement("div",{className:`${b}-content`},P,H);}let ee=J(b,{[`${b}-with-avatar`]:w,[`${b}-active`]:p,[`${b}-rtl`]:f==="rtl",[`${b}-round`]:m},S?.className,n,r,v,z);return M(y.createElement("div",{className:ee,style:{...S?.style,...i}},R,F))}return a??null};he.Button=Ft;he.Avatar=_t;he.Input=Vt;he.Image=jt;he.Node=Kt;var Qt=he;var Yt=Qt;var Pi=e=>{let[,,,,o]=_();return o?`${e}-css-var`:""},Jt=Pi;var er=(e,o,t)=>t!==void 0?t:`${e}-${o}`;var $i={motionAppear:false,motionEnter:true,motionLeave:true};function qo(e,o={inkBar:true,tabPane:false}){let t;return o===false?t={inkBar:false,tabPane:false}:o===true?t={inkBar:true,tabPane:true}:t={inkBar:true,...typeof o=="object"?o:{}},t.tabPane&&(t.tabPaneMotion={...$i,motionName:er(e,"switch")}),t}function Ri(e){return e.filter(o=>o)}function Zo(e,o){if(e)return e;let t=ki(o).map(n=>{if(y.isValidElement(n)){let{key:r,props:i}=n,{tab:a,...s}=i||{};return {key:String(r),...s,label:a}}return null});return Ri(t)}var Mi=e=>({animationDuration:e,animationFillMode:"both"}),wi=e=>({animationDuration:e,animationFillMode:"both"}),Fe=(e,o,t,n,r=false)=>{let i=r?"&":"";return {[`
|
|
48
|
-
${i}${e}-enter,
|
|
49
|
-
${i}${e}-appear
|
|
50
|
-
`]:{...Mi(n),animationPlayState:"paused"},[`${i}${e}-leave`]:{...wi(n),animationPlayState:"paused"},[`
|
|
51
|
-
${i}${e}-enter${e}-enter-active,
|
|
52
|
-
${i}${e}-appear${e}-appear-active
|
|
53
|
-
`]:{animationName:o,animationPlayState:"running"},[`${i}${e}-leave${e}-leave-active`]:{animationName:t,animationPlayState:"running",pointerEvents:"none"}}};new Keyframes("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}});new Keyframes("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}});new Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}});var rr=new Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),nr=new Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),ir=new Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),ar=new Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),sr=new Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),lr=new Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),cr=new Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),pr=new Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),Wi={"slide-up":{inKeyframes:rr,outKeyframes:nr},"slide-down":{inKeyframes:ir,outKeyframes:ar},"slide-left":{inKeyframes:sr,outKeyframes:lr},"slide-right":{inKeyframes:cr,outKeyframes:pr}},ao=(e,o)=>{let{antCls:t}=e,n=`${t}-${o}`,{inKeyframes:r,outKeyframes:i}=Wi[o];return [Fe(n,r,i,e.motionDurationMid),{[`
|
|
54
|
-
${n}-enter,
|
|
55
|
-
${n}-appear
|
|
56
|
-
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]};new Keyframes("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}});new Keyframes("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}});new Keyframes("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}});new Keyframes("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}});new Keyframes("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}});new Keyframes("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}});new Keyframes("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}});new Keyframes("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}});new Keyframes("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}});new Keyframes("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}});new Keyframes("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}});new Keyframes("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}});var Ji=e=>{let{componentCls:o,motionDurationSlow:t}=e;return [{[o]:{[`${o}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${t}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${t}`}}}}},[ao(e,"slide-up"),ao(e,"slide-down")]]},mr=Ji;var ea=e=>{let{componentCls:o,tabsCardPadding:t,cardBg:n,cardGutter:r,colorBorderSecondary:i,itemSelectedColor:a}=e;return {[`${o}-card`]:{[`> ${o}-nav, > div > ${o}-nav`]:{[`${o}-tab`]:{margin:0,padding:t,background:n,border:`${unit(e.lineWidth)} ${e.lineType} ${i}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${o}-tab-active`]:{color:a,background:e.colorBgContainer},[`${o}-ink-bar`]:{visibility:"hidden"}},[`&${o}-top, &${o}-bottom`]:{[`> ${o}-nav, > div > ${o}-nav`]:{[`${o}-tab + ${o}-tab`]:{marginLeft:{_skip_check_:true,value:unit(r)}}}},[`&${o}-top`]:{[`> ${o}-nav, > div > ${o}-nav`]:{[`${o}-tab`]:{borderRadius:`${unit(e.borderRadiusLG)} ${unit(e.borderRadiusLG)} 0 0`},[`${o}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${o}-bottom`]:{[`> ${o}-nav, > div > ${o}-nav`]:{[`${o}-tab`]:{borderRadius:`0 0 ${unit(e.borderRadiusLG)} ${unit(e.borderRadiusLG)}`},[`${o}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${o}-left, &${o}-right`]:{[`> ${o}-nav, > div > ${o}-nav`]:{[`${o}-tab + ${o}-tab`]:{marginTop:unit(r)}}},[`&${o}-left`]:{[`> ${o}-nav, > div > ${o}-nav`]:{[`${o}-tab`]:{borderRadius:{_skip_check_:true,value:`${unit(e.borderRadiusLG)} 0 0 ${unit(e.borderRadiusLG)}`}},[`${o}-tab-active`]:{borderRightColor:{_skip_check_:true,value:e.colorBgContainer}}}},[`&${o}-right`]:{[`> ${o}-nav, > div > ${o}-nav`]:{[`${o}-tab`]:{borderRadius:{_skip_check_:true,value:`0 ${unit(e.borderRadiusLG)} ${unit(e.borderRadiusLG)} 0`}},[`${o}-tab-active`]:{borderLeftColor:{_skip_check_:true,value:e.colorBgContainer}}}}}}},oa=e=>{let{componentCls:o,itemHoverColor:t,dropdownEdgeChildVerticalPadding:n}=e;return {[`${o}-dropdown`]:{...Ne(e),position:"absolute",top:-9999,left:{_skip_check_:true,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${o}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${unit(n)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:true,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":{...Ee,display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${unit(e.paddingXXS)} ${unit(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:true,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:t}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}}}}}},ta=e=>{let{componentCls:o,margin:t,colorBorderSecondary:n,horizontalMargin:r,verticalItemPadding:i,verticalItemMargin:a,calc:s}=e;return {[`${o}-top, ${o}-bottom`]:{flexDirection:"column",[`> ${o}-nav, > div > ${o}-nav`]:{margin:r,"&::before":{position:"absolute",right:{_skip_check_:true,value:0},left:{_skip_check_:true,value:0},borderBottom:`${unit(e.lineWidth)} ${e.lineType} ${n}`,content:"''"},[`${o}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow},
|
|
57
|
-
right ${e.motionDurationSlow}`}},[`${o}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:true,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:true,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${o}-nav-wrap-ping-left::before`]:{opacity:1},[`&${o}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${o}-top`]:{[`> ${o}-nav,
|
|
58
|
-
> div > ${o}-nav`]:{"&::before":{bottom:0},[`${o}-ink-bar`]:{bottom:0}}},[`${o}-bottom`]:{[`> ${o}-nav, > div > ${o}-nav`]:{order:1,marginTop:t,marginBottom:0,"&::before":{top:0},[`${o}-ink-bar`]:{top:0}},[`> ${o}-content-holder, > div > ${o}-content-holder`]:{order:0}},[`${o}-left, ${o}-right`]:{[`> ${o}-nav, > div > ${o}-nav`]:{flexDirection:"column",minWidth:s(e.controlHeight).mul(1.25).equal(),[`${o}-tab`]:{padding:i,textAlign:"center"},[`${o}-tab + ${o}-tab`]:{margin:a},[`${o}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:true,value:0},left:{_skip_check_:true,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${o}-nav-wrap-ping-top::before`]:{opacity:1},[`&${o}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${o}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${o}-nav-list, ${o}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${o}-left`]:{[`> ${o}-nav, > div > ${o}-nav`]:{[`${o}-ink-bar`]:{right:{_skip_check_:true,value:0}}},[`> ${o}-content-holder, > div > ${o}-content-holder`]:{marginLeft:{_skip_check_:true,value:unit(s(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:true,value:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${o}-content > ${o}-tabpane`]:{paddingLeft:{_skip_check_:true,value:e.paddingLG}}}},[`${o}-right`]:{[`> ${o}-nav, > div > ${o}-nav`]:{order:1,[`${o}-ink-bar`]:{left:{_skip_check_:true,value:0}}},[`> ${o}-content-holder, > div > ${o}-content-holder`]:{order:0,marginRight:{_skip_check_:true,value:s(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:true,value:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${o}-content > ${o}-tabpane`]:{paddingRight:{_skip_check_:true,value:e.paddingLG}}}}}},ra=e=>{let{componentCls:o,cardPaddingSM:t,cardPaddingLG:n,horizontalItemPaddingSM:r,horizontalItemPaddingLG:i}=e;return {[o]:{"&-small":{[`> ${o}-nav`]:{[`${o}-tab`]:{padding:r,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${o}-nav`]:{[`${o}-tab`]:{padding:i,fontSize:e.titleFontSizeLG}}}},[`${o}-card`]:{[`&${o}-small`]:{[`> ${o}-nav`]:{[`${o}-tab`]:{padding:t}},[`&${o}-bottom`]:{[`> ${o}-nav ${o}-tab`]:{borderRadius:`0 0 ${unit(e.borderRadius)} ${unit(e.borderRadius)}`}},[`&${o}-top`]:{[`> ${o}-nav ${o}-tab`]:{borderRadius:`${unit(e.borderRadius)} ${unit(e.borderRadius)} 0 0`}},[`&${o}-right`]:{[`> ${o}-nav ${o}-tab`]:{borderRadius:{_skip_check_:true,value:`0 ${unit(e.borderRadius)} ${unit(e.borderRadius)} 0`}}},[`&${o}-left`]:{[`> ${o}-nav ${o}-tab`]:{borderRadius:{_skip_check_:true,value:`${unit(e.borderRadius)} 0 0 ${unit(e.borderRadius)}`}}}},[`&${o}-large`]:{[`> ${o}-nav`]:{[`${o}-tab`]:{padding:n}}}}}},na=e=>{let{componentCls:o,itemActiveColor:t,itemHoverColor:n,iconCls:r,tabsHorizontalItemMargin:i,horizontalItemPadding:a,itemSelectedColor:s,itemColor:c}=e,l=`${o}-tab`;return {[l]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:a,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:c,"&-btn, &-remove":{"&:focus:not(:focus-visible), &:active":{color:t},...Wo(e)},"&-btn":{outline:"none",transition:`all ${e.motionDurationSlow}`,[`${l}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:true,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:true,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:n},[`&${l}-active ${l}-btn`]:{color:s,textShadow:e.tabsActiveTextShadow},[`&${l}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${l}-disabled ${l}-btn, &${l}-disabled ${o}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${l}-remove ${r}`]:{margin:0},[`${r}:not(:last-child)`]:{marginRight:{_skip_check_:true,value:e.marginSM}}},[`${l} + ${l}`]:{margin:{_skip_check_:true,value:i}}}},ia=e=>{let{componentCls:o,tabsHorizontalItemMarginRTL:t,iconCls:n,cardGutter:r,calc:i}=e;return {[`${o}-rtl`]:{direction:"rtl",[`${o}-nav`]:{[`${o}-tab`]:{margin:{_skip_check_:true,value:t},[`${o}-tab:last-of-type`]:{marginLeft:{_skip_check_:true,value:0}},[n]:{marginRight:{_skip_check_:true,value:0},marginLeft:{_skip_check_:true,value:unit(e.marginSM)}},[`${o}-tab-remove`]:{marginRight:{_skip_check_:true,value:unit(e.marginXS)},marginLeft:{_skip_check_:true,value:unit(i(e.marginXXS).mul(-1).equal())},[n]:{margin:0}}}},[`&${o}-left`]:{[`> ${o}-nav`]:{order:1},[`> ${o}-content-holder`]:{order:0}},[`&${o}-right`]:{[`> ${o}-nav`]:{order:0},[`> ${o}-content-holder`]:{order:1}},[`&${o}-card${o}-top, &${o}-card${o}-bottom`]:{[`> ${o}-nav, > div > ${o}-nav`]:{[`${o}-tab + ${o}-tab`]:{marginRight:{_skip_check_:true,value:r},marginLeft:{_skip_check_:true,value:0}}}}},[`${o}-dropdown-rtl`]:{direction:"rtl"},[`${o}-menu-item`]:{[`${o}-dropdown-rtl`]:{textAlign:{_skip_check_:true,value:"right"}}}}},aa=e=>{let{componentCls:o,tabsCardPadding:t,cardHeight:n,cardGutter:r,itemHoverColor:i,itemActiveColor:a,colorBorderSecondary:s}=e;return {[o]:{...Ne(e),display:"flex",[`> ${o}-nav, > div > ${o}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${o}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${o}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${o}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${o}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${o}-nav-more`]:{position:"relative",padding:t,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:true,value:0},bottom:0,left:{_skip_check_:true,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${o}-nav-add`]:{minWidth:n,marginLeft:{_skip_check_:true,value:r},padding:unit(e.paddingXS),background:"transparent",border:`${unit(e.lineWidth)} ${e.lineType} ${s}`,borderRadius:`${unit(e.borderRadiusLG)} ${unit(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:i},"&:active, &:focus:not(:focus-visible)":{color:a},...Wo(e)}},[`${o}-extra-content`]:{flex:"none"},[`${o}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"},...na(e),[`${o}-content`]:{position:"relative",width:"100%"},[`${o}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${o}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}},[`${o}-centered`]:{[`> ${o}-nav, > div > ${o}-nav`]:{[`${o}-nav-wrap`]:{[`&:not([class*='${o}-nav-wrap-ping']) > ${o}-nav-list`]:{margin:"auto"}}}}}},sa=e=>{let o=e.controlHeightLG;return {zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:o,cardPadding:`${(o-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${e.paddingXXS*1.5}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${e.paddingXXS*1.5}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}},dr=ie("Tabs",e=>{let o=mergeToken(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${unit(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${unit(e.horizontalItemGutter)}`});return [ra(o),ia(o),ta(o),oa(o),ea(o),aa(o),mr(o)]},sa);var la=()=>null,gr=la;var ur=e=>{let{type:o,className:t,rootClassName:n,size:r,onEdit:i,hideAdd:a,centered:s,addIcon:c,removeIcon:l,moreIcon:p,more:m,popupClassName:g,children:f,items:S,animated:b,style:M,indicatorSize:v,indicator:z,...w}=e,{prefixCls:N}=w,{direction:D,tabs:R,getPrefixCls:F,getPopupContainer:ee}=y.useContext(C),P=F("tabs",N),H=Jt(P),[G,j,se]=dr(P,H),A;o==="editable-card"&&(A={onEdit:(oe,{key:ce,event:Pe})=>{i?.(oe==="add"?Pe:ce,oe);},removeIcon:l??R?.removeIcon??y.createElement(ca,null),addIcon:(c??R?.addIcon)||y.createElement(ma,null),showAdd:a!==true});let B=F(),le=ro(r),h=Zo(S,f),xe=qo(P,b),ve={...R?.style,...M},Te={align:z?.align??R?.indicator?.align,size:z?.size??v??R?.indicator?.size??R?.indicatorSize};return G(y.createElement(da,{direction:D,getPopupContainer:ee,...w,items:h,className:J({[`${P}-${le}`]:le,[`${P}-card`]:["card","editable-card"].includes(o),[`${P}-editable-card`]:o==="editable-card",[`${P}-centered`]:s},R?.className,t,n,j,se,H),popupClassName:J(g,j,se,H),style:ve,editable:A,more:{icon:R?.more?.icon??R?.moreIcon??p??y.createElement(pa,null),transitionName:`${B}-slide-up`,...m},prefixCls:P,animated:xe,indicator:Te}))};ur.TabPane=gr;var Cr=ur;var fa=({prefixCls:e,className:o,hoverable:t=true,...n})=>{let{getPrefixCls:r}=y.useContext(C),i=r("card",e),a=J(`${i}-grid`,o,{[`${i}-grid-hoverable`]:t});return y.createElement("div",{...n,className:a})},yr=fa;var ua=e=>{let{antCls:o,componentCls:t,headerHeight:n,cardPaddingBase:r,tabsMarginBottom:i}=e;return {display:"flex",justifyContent:"center",flexDirection:"column",minHeight:n,marginBottom:-1,padding:`0 ${unit(r)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${unit(e.borderRadiusLG)} ${unit(e.borderRadiusLG)} 0 0`,...Ae(),"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":{display:"inline-block",flex:1,...Ee,[`
|
|
59
|
-
> ${t}-typography,
|
|
60
|
-
> ${t}-typography-edit-content
|
|
61
|
-
`]:{insetInlineStart:0,marginTop:0,marginBottom:0}},[`${o}-tabs-top`]:{clear:"both",marginBottom:i,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${unit(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}}},Ca=e=>{let{cardPaddingBase:o,colorBorderSecondary:t,cardShadow:n,lineWidth:r}=e;return {width:"33.33%",padding:o,border:0,borderRadius:0,boxShadow:`
|
|
62
|
-
${unit(r)} 0 0 0 ${t},
|
|
63
|
-
0 ${unit(r)} 0 0 ${t},
|
|
64
|
-
${unit(r)} ${unit(r)} 0 0 ${t},
|
|
65
|
-
${unit(r)} 0 0 0 ${t} inset,
|
|
66
|
-
0 ${unit(r)} 0 0 ${t} inset;
|
|
67
|
-
`,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:n}}},ya=e=>{let{componentCls:o,iconCls:t,actionsLiMargin:n,cardActionsIconSize:r,colorBorderSecondary:i,actionsBg:a}=e;return {margin:0,padding:0,listStyle:"none",background:a,borderTop:`${unit(e.lineWidth)} ${e.lineType} ${i}`,display:"flex",borderRadius:`0 0 ${unit(e.borderRadiusLG)} ${unit(e.borderRadiusLG)}`,...Ae(),"& > li":{margin:n,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${o}-btn), > ${t}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:unit(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${t}`]:{fontSize:r,lineHeight:unit(e.calc(r).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${unit(e.lineWidth)} ${e.lineType} ${i}`}}}},Sa=e=>({margin:`${unit(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex",...Ae(),"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,...Ee},"&-description":{color:e.colorTextDescription}}),ba=e=>{let{componentCls:o,cardPaddingBase:t,colorFillAlter:n}=e;return {[`${o}-head`]:{padding:`0 ${unit(t)}`,background:n,"&-title":{fontSize:e.fontSize}},[`${o}-body`]:{padding:`${unit(e.padding)} ${unit(t)}`}}},ha=e=>{let{componentCls:o}=e;return {overflow:"hidden",[`${o}-body`]:{userSelect:"none"}}},xa=e=>{let{componentCls:o,cardShadow:t,cardHeadPadding:n,colorBorderSecondary:r,boxShadowTertiary:i,cardPaddingBase:a,extraColor:s}=e;return {[o]:{...Ne(e),position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${o}-bordered)`]:{boxShadow:i},[`${o}-head`]:ua(e),[`${o}-extra`]:{marginInlineStart:"auto",color:s,fontWeight:"normal",fontSize:e.fontSize},[`${o}-body`]:{padding:a,borderRadius:`0 0 ${unit(e.borderRadiusLG)} ${unit(e.borderRadiusLG)}`,...Ae()},[`${o}-grid`]:Ca(e),[`${o}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${unit(e.borderRadiusLG)} ${unit(e.borderRadiusLG)} 0 0`}},[`${o}-actions`]:ya(e),[`${o}-meta`]:Sa(e)},[`${o}-bordered`]:{border:`${unit(e.lineWidth)} ${e.lineType} ${r}`,[`${o}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${o}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:t}},[`${o}-contain-grid`]:{borderRadius:`${unit(e.borderRadiusLG)} ${unit(e.borderRadiusLG)} 0 0 `,[`${o}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${o}-loading) ${o}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${o}-contain-tabs`]:{[`> div${o}-head`]:{minHeight:0,[`${o}-head-title, ${o}-extra`]:{paddingTop:n}}},[`${o}-type-inner`]:ba(e),[`${o}-loading`]:ha(e),[`${o}-rtl`]:{direction:"rtl"}}},va=e=>{let{componentCls:o,cardPaddingSM:t,headerHeightSM:n,headerFontSizeSM:r}=e;return {[`${o}-small`]:{[`> ${o}-head`]:{minHeight:n,padding:`0 ${unit(t)}`,fontSize:r,[`> ${o}-head-wrapper`]:{[`> ${o}-extra`]:{fontSize:e.fontSize}}},[`> ${o}-body`]:{padding:t}},[`${o}-small${o}-contain-tabs`]:{[`> ${o}-head`]:{[`${o}-head-title, ${o}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},Ta=e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,headerHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText}),Sr=ie("Card",e=>{let o=mergeToken(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return [xa(o),va(o)]},Ta);var $a=e=>{let{actionClasses:o,actions:t=[],actionStyle:n}=e;return y.createElement("ul",{className:o,style:n},t.map((r,i)=>{let a=`action-${i}`;return y.createElement("li",{style:{width:`${100/t.length}%`},key:a},y.createElement("span",null,r))}))},ka=y.forwardRef((e,o)=>{let{prefixCls:t,className:n,rootClassName:r,style:i,extra:a,headStyle:s={},bodyStyle:c={},title:l,loading:p,bordered:m=true,size:g,type:f,cover:S,actions:b,tabList:M,children:v,activeTabKey:z,defaultActiveTabKey:w,tabBarExtraContent:N,hoverable:D,tabProps:R={},classNames:F,styles:ee,...P}=e,{getPrefixCls:H,direction:G,card:j}=y.useContext(C),se=$=>{e.onTabChange?.($);},A=$=>J(j?.classNames?.[$],F?.[$]),B=$=>({...j?.styles?.[$],...ee?.[$]}),le=y.useMemo(()=>{let $=false;return y.Children.forEach(v,U=>{U?.type===yr&&($=true);}),$},[v]),h=H("card",t),[xe,ve,Te]=Sr(h),oe=y.createElement(Yt,{loading:true,active:true,paragraph:{rows:4},title:false},v),ce=z!==void 0,Pe={...R,[ce?"activeKey":"defaultActiveKey"]:ce?z:w,tabBarExtraContent:N},Ge,te=ro(g),je=M?y.createElement(Cr,{size:!te||te==="default"?"large":te,...Pe,className:`${h}-head-tabs`,onChange:se,items:M.map(({tab:$,...U})=>({label:$,...U}))}):null;if(l||a||je){let $=J(`${h}-head`,A("header")),U=J(`${h}-head-title`,A("title")),Ve=J(`${h}-extra`,A("extra")),bo={...s,...B("header")};Ge=y.createElement("div",{className:$,style:bo},y.createElement("div",{className:`${h}-head-wrapper`},l&&y.createElement("div",{className:U,style:B("title")},l),a&&y.createElement("div",{className:Ve,style:B("extra")},a)),je);}let lo=J(`${h}-cover`,A("cover")),co=S?y.createElement("div",{className:lo,style:B("cover")},S):null,po=J(`${h}-body`,A("body")),mo={...c,...B("body")},go=y.createElement("div",{className:po,style:mo},p?oe:v),fo=J(`${h}-actions`,A("actions")),uo=b?.length?y.createElement($a,{actionClasses:fo,actionStyle:B("actions"),actions:b}):null,Co=ni(P,["onTabChange"]),yo=J(h,j?.className,{[`${h}-loading`]:p,[`${h}-bordered`]:m,[`${h}-hoverable`]:D,[`${h}-contain-grid`]:le,[`${h}-contain-tabs`]:M?.length,[`${h}-${te}`]:te,[`${h}-type-${f}`]:!!f,[`${h}-rtl`]:G==="rtl"},n,r,ve,Te),So={...j?.style,...i};return xe(y.createElement("div",{ref:o,...Co,className:yo,style:So},Ge,co,go,uo))}),Gm=ka;export{Gm as default};
|
package/es/card/Grid.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface CardGridProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
-
prefixCls?: string;
|
|
4
|
-
className?: string;
|
|
5
|
-
hoverable?: boolean;
|
|
6
|
-
style?: React.CSSProperties;
|
|
7
|
-
}
|
|
8
|
-
declare const Grid: React.FC<CardGridProps>;
|
|
9
|
-
export default Grid;
|