@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
package/es/popconfirm/index.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import*as k from'react';import k__default,{createContext,useContext,forwardRef,useMemo,useState,useRef,Children,useEffect}from'react';import oc from'@ant-design/icons/ExclamationCircleFilled';import er from'classnames';import xs from'rc-util/lib/hooks/useMergedState';import Kn from'rc-util/lib/omit';import {createTheme,Keyframes,unit,useCacheToken,useStyleRegister}from'@ant-design/cssinjs';import pa from'@ant-design/icons/lib/components/Context';import sa from'rc-util/lib/hooks/useMemo';import {merge}from'rc-util/lib/utils/set';import'rc-util/lib/warning';import Ri from'rc-pagination/lib/locale/en_US';import Pi from'rc-picker/lib/locale/en_US';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';import Wi from'rc-util/lib/Dom/canUseDom';import {updateCSS}from'rc-util/lib/Dom/dynamicCSS';import la from'rc-util/lib/isEqual';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import zs,{Provider}from'rc-motion';import Is from'rc-util/lib/KeyCode';import ys,{Popup}from'rc-tooltip';import'rc-field-form';import hl from'rc-util/lib/Children/toArray';import Yl from'rc-util/lib/hooks/useState';import {useComposeRef,supportRef,composeRef,getNodeRef}from'rc-util/lib/ref';import Xs from'rc-util/lib/Dom/isVisible';import Ws from'rc-util/lib/hooks/useEvent';import In from'rc-util/lib/raf';import'react-dom';import {unmount,render}from'rc-util/lib/React/render';import il from'@ant-design/icons/LoadingOutlined';import {Color}from'@rc-component/color-picker';import Sl from'@ant-design/icons/RightOutlined';import dl from'rc-collapse';function lr(){}var bi=lr,cr=k.createContext({}),He=()=>{let e=()=>{};return e.deprecated=lr,e},ao=bi;var pr=createContext(void 0);var Ti={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},wo=Ti;var vi={lang:{placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"],...Pi},timePickerLocale:{...wo}},ko=vi;var mr=ko;var G="${label} is not a valid ${type}",wi={locale:"en",Pagination:Ri,DatePicker:ko,TimePicker:wo,Calendar:mr,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:G,method:G,array:G,object:G,number:G,date:G,boolean:G,integer:G,float:G,regexp:G,email:G,url:G,hex:G},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}},J=wi;({...J.Modal});var Io=[],dr=()=>Io.reduce((e,o)=>({...e,...o}),J.Modal);function fr(e){if(e){let o={...e};return Io.push(o),dr(),()=>{Io=Io.filter(t=>t!==o),dr();}}({...J.Modal});}var Ii=createContext(void 0),Fe=Ii;var $i=(e,o)=>{let t=k.useContext(Fe),r=k.useMemo(()=>{let i=o||J[e],a=t?.[e]??{};return {...typeof i=="function"?i():i,...a||{}}},[e,o,t]),n=k.useMemo(()=>{let i=t?.locale;return t?.exist&&!i?J.locale:i},[t]);return [r,n]},$o=$i;var ur="internalMark",Mi=e=>{let{locale:o={},children:t,_ANT_MARK__:r}=e;k.useEffect(()=>fr(o?.Modal),[o]);let n=k.useMemo(()=>({...o,exist:true}),[o]);return k.createElement(Fe.Provider,{value:n},t)},gr=Mi;var ft={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"},Bi={...ft,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},pe=Bi;function gt(e,{generateColorPalettes:o,generateNeutralColorPalettes:t}){let{colorSuccess:r,colorWarning:n,colorError:i,colorInfo:a,colorPrimary:s,colorBgBase:l,colorTextBase:c}=e,p=o(s),m=o(r),d=o(n),f=o(i),u=o(a),g=t(l,c),y=e.colorLink||e.colorInfo,x=o(y),C=new TinyColor(f[1]).mix(new TinyColor(f[3]),50).toHexString();return {...g,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:C,colorErrorBgActive:f[3],colorErrorBorder:f[3],colorErrorBorderHover:f[4],colorErrorHover:f[5],colorError:f[6],colorErrorActive:f[7],colorErrorTextHover:f[8],colorErrorText:f[9],colorErrorTextActive:f[10],colorWarningBg:d[1],colorWarningBgHover:d[2],colorWarningBorder:d[3],colorWarningBorderHover:d[4],colorWarningHover:d[4],colorWarning:d[6],colorWarningActive:d[7],colorWarningTextHover:d[8],colorWarningText:d[9],colorWarningTextActive:d[10],colorInfoBg:u[1],colorInfoBgHover:u[2],colorInfoBorder:u[3],colorInfoBorderHover:u[4],colorInfoHover:u[4],colorInfo:u[6],colorInfoActive:u[7],colorInfoTextHover:u[8],colorInfoText:u[9],colorInfoTextActive:u[10],colorLinkHover:x[4],colorLink:x[6],colorLinkActive:x[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var Li=e=>{let o=e,t=e,r=e,n=e;return e<6&&e>=5?o=e+1:e<16&&e>=6?o=e+2:e>=16&&(o=16),e<7&&e>=5?t=4:e<8&&e>=7?t=5:e<14&&e>=8?t=6:e<16&&e>=14?t=7:e>=16&&(t=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?n=4:e>=8&&(n=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:t,borderRadiusLG:o,borderRadiusOuter:n}},Cr=Li;function Ct(e){let{motionUnit:o,motionBase:t,borderRadius:r,lineWidth:n}=e;return {motionDurationFast:`${(t+o).toFixed(1)}s`,motionDurationMid:`${(t+o*2).toFixed(1)}s`,motionDurationSlow:`${(t+o*3).toFixed(1)}s`,lineWidthBold:n+1,...Cr(r)}}var Oi=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},yr=Oi;function We(e){return (e+8)/e}function yt(e){let o=new Array(10).fill(null).map((t,r)=>{let n=r-1,i=e*Math.E**(n/5),a=r>1?Math.floor(i):Math.ceil(i);return Math.floor(a/2)*2});return o[1]=e,o.map(t=>({size:t,lineHeight:We(t)}))}var Ei=e=>{let o=yt(e),t=o.map(p=>p.size),r=o.map(p=>p.lineHeight),n=t[1],i=t[0],a=t[2],s=r[1],l=r[0],c=r[2];return {fontSizeSM:i,fontSize:n,fontSizeLG:a,fontSizeXL:t[3],fontSizeHeading1:t[6],fontSizeHeading2:t[5],fontSizeHeading3:t[4],fontSizeHeading4:t[3],fontSizeHeading5:t[2],lineHeight:s,lineHeightLG:c,lineHeightSM:l,fontHeight:Math.round(s*n),fontHeightLG:Math.round(c*a),fontHeightSM:Math.round(l*i),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}},xr=Ei;function xt(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 V=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),Ge=(e,o)=>new TinyColor(e).darken(o).toHexString();var br=e=>{let o=generate(e);return {1:o[0],2:o[1],3:o[2],4:o[3],5:o[4],6:o[5],7:o[6],8:o[4],9:o[5],10:o[6]}},hr=(e,o)=>{let t=e||"#fff",r=o||"#000";return {colorBgBase:t,colorTextBase:r,colorText:V(r,.88),colorTextSecondary:V(r,.65),colorTextTertiary:V(r,.45),colorTextQuaternary:V(r,.25),colorFill:V(r,.15),colorFillSecondary:V(r,.06),colorFillTertiary:V(r,.04),colorFillQuaternary:V(r,.02),colorBgSolid:V(r,1),colorBgSolidHover:V(r,.75),colorBgSolidActive:V(r,.95),colorBgLayout:Ge(t,4),colorBgContainer:Ge(t,0),colorBgElevated:Ge(t,0),colorBgSpotlight:V(r,.85),colorBgBlur:"transparent",colorBorder:Ge(t,15),colorBorderSecondary:Ge(t,6)}};function ht(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys(ft).map(t=>{let r=e[t]===presetPrimaryColors[t]?presetPalettes[t]:generate(e[t]);return new Array(10).fill(1).reduce((n,i,a)=>(n[`${t}-${a+1}`]=r[a],n[`${t}${a+1}`]=r[a],n),{})}).reduce((t,r)=>(t={...t,...r},t),{});return {...e,...o,...gt(e,{generateColorPalettes:br,generateNeutralColorPalettes:hr}),...xr(e.fontSize),...xt(e),...yr(e),...Ct(e)}}var Mo=createTheme(ht),lo={token:pe,override:{override:pe},hashed:true},co=k__default.createContext(lo);var xe="ant",po="anticon";var Fi=(e,o)=>o||(e?`${xe}-${e}`:xe),S=k.createContext({getPrefixCls:Fi,iconPrefixCls:po}),{Consumer:Di}=S;var Vi=`-ant-${Date.now()}-${Math.random()}`;function ji(e,o){let t={},r=(a,s)=>{let l=a.clone();return l=s?.(l)||l,l.toRgbString()},n=(a,s)=>{let l=new TinyColor(a),c=generate(l.toRgbString());t[`${s}-color`]=r(l),t[`${s}-color-disabled`]=c[1],t[`${s}-color-hover`]=c[4],t[`${s}-color-active`]=c[6],t[`${s}-color-outline`]=l.clone().setAlpha(.2).toRgbString(),t[`${s}-color-deprecated-bg`]=c[0],t[`${s}-color-deprecated-border`]=c[2];};if(o.primaryColor){n(o.primaryColor,"primary");let a=new TinyColor(o.primaryColor),s=generate(a.toRgbString());s.forEach((c,p)=>{t[`primary-${p+1}`]=c;}),t["primary-color-deprecated-l-35"]=r(a,c=>c.lighten(35)),t["primary-color-deprecated-l-20"]=r(a,c=>c.lighten(20)),t["primary-color-deprecated-t-20"]=r(a,c=>c.tint(20)),t["primary-color-deprecated-t-50"]=r(a,c=>c.tint(50)),t["primary-color-deprecated-f-12"]=r(a,c=>c.setAlpha(c.getAlpha()*.12));let l=new TinyColor(s[0]);t["primary-color-active-deprecated-f-30"]=r(l,c=>c.setAlpha(c.getAlpha()*.3)),t["primary-color-active-deprecated-d-02"]=r(l,c=>c.darken(2));}return o.successColor&&n(o.successColor,"success"),o.warningColor&&n(o.warningColor,"warning"),o.errorColor&&n(o.errorColor,"error"),o.infoColor&&n(o.infoColor,"info"),`
|
|
4
|
-
:root {
|
|
5
|
-
${Object.keys(t).map(a=>`--${e}-${a}: ${t[a]};`).join(`
|
|
6
|
-
`)}
|
|
7
|
-
}
|
|
8
|
-
`.trim()}function vr(e,o){let t=ji(e,o);Wi()?updateCSS(t,`${Vi}-dynamic-theme`):ao();}var Pt=k.createContext(false),Rr=({children:e,disabled:o})=>{let t=k.useContext(Pt);return k.createElement(Pt.Provider,{value:o??t},e)},Bo=Pt;var vt=k.createContext(void 0),wr=({children:e,size:o})=>{let t=k.useContext(vt);return k.createElement(vt.Provider,{value:o||t},e)},Re=vt;function _i(){let e=useContext(Bo),o=useContext(Re);return {componentDisabled:e,componentSize:o}}var Ir=_i;var re=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];var $r={version:"0.0.2"};var Mr=$r.version;function Rt(e){return e>=0&&e<=255}function Ki(e,o){let{r:t,g:r,b:n,a:i}=new TinyColor(e).toRgb();if(i<1)return e;let{r:a,g:s,b:l}=new TinyColor(o).toRgb();for(let c=.01;c<=1;c+=.01){let p=Math.round((t-a*(1-c))/c),m=Math.round((r-s*(1-c))/c),d=Math.round((n-l*(1-c))/c);if(Rt(p)&&Rt(m)&&Rt(d))return new TinyColor({r:p,g:m,b:d,a:Math.round(c*100)/100}).toRgbString()}return new TinyColor({r:t,g:r,b:n,a:1}).toRgbString()}var mo=Ki;function Oo(e){let{override:o,...t}=e,r={...o};Object.keys(pe).forEach(d=>{delete r[d];});let n={...t,...r},i=480,a=576,s=768,l=992,c=1200,p=1600;return n.motion===false&&(n.motionDurationFast="0s",n.motionDurationMid="0s",n.motionDurationSlow="0s"),{...n,colorFillContent:n.colorFillSecondary,colorFillContentHover:n.colorFill,colorFillAlter:n.colorFillQuaternary,colorBgContainerDisabled:n.colorFillTertiary,colorBorderBg:n.colorBgContainer,colorSplit:mo(n.colorBorderSecondary,n.colorBgContainer),colorTextPlaceholder:n.colorTextQuaternary,colorTextDisabled:n.colorTextQuaternary,colorTextHeading:n.colorText,colorTextLabel:n.colorTextSecondary,colorTextDescription:n.colorTextTertiary,colorTextLightSolid:n.colorWhite,colorHighlight:n.colorError,colorBgTextHover:n.colorFillSecondary,colorBgTextActive:n.colorFill,colorIcon:n.colorTextTertiary,colorIconHover:n.colorText,colorErrorOutline:mo(n.colorErrorBg,n.colorBgContainer),colorWarningOutline:mo(n.colorWarningBg,n.colorBgContainer),fontSizeIcon:n.fontSizeSM,lineWidthFocus:n.lineWidth*3,lineWidth:n.lineWidth,controlOutlineWidth:n.lineWidth*2,controlInteractiveSize:n.controlHeight/2,controlItemBgHover:n.colorFillTertiary,controlItemBgActive:n.colorPrimaryBg,controlItemBgActiveHover:n.colorPrimaryBgHover,controlItemBgActiveDisabled:n.colorFill,controlTmpOutline:n.colorFillQuaternary,controlOutline:mo(n.colorPrimaryBg,n.colorBgContainer),lineType:n.lineType,borderRadius:n.borderRadius,borderRadiusXS:n.borderRadiusXS,borderRadiusSM:n.borderRadiusSM,borderRadiusLG:n.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:n.sizeXXS,paddingXS:n.sizeXS,paddingSM:n.sizeSM,padding:n.size,paddingMD:n.sizeMD,paddingLG:n.sizeLG,paddingXL:n.sizeXL,paddingContentHorizontalLG:n.sizeLG,paddingContentVerticalLG:n.sizeMS,paddingContentHorizontal:n.sizeMS,paddingContentVertical:n.sizeSM,paddingContentHorizontalSM:n.size,paddingContentVerticalSM:n.sizeXS,marginXXS:n.sizeXXS,marginXS:n.sizeXS,marginSM:n.sizeSM,margin:n.size,marginMD:n.sizeMD,marginLG:n.sizeLG,marginXL:n.sizeXL,marginXXL:n.sizeXXL,boxShadow:`
|
|
9
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
10
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
11
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
12
|
-
`,boxShadowSecondary:`
|
|
13
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
14
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
15
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
16
|
-
`,boxShadowTertiary:`
|
|
17
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
|
18
|
-
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
19
|
-
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
20
|
-
`,screenXS:i,screenXSMin:i,screenXSMax:a-1,screenSM:a,screenSMMin:a,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:l-1,screenLG:l,screenLGMin:l,screenLGMax:c-1,screenXL:c,screenXLMin:c,screenXLMax:p-1,screenXXL:p,screenXXLMin:p,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
|
21
|
-
0 1px 2px -2px ${new TinyColor("rgba(0, 0, 0, 0.16)").toRgbString()},
|
|
22
|
-
0 3px 6px 0 ${new TinyColor("rgba(0, 0, 0, 0.12)").toRgbString()},
|
|
23
|
-
0 5px 12px 4px ${new TinyColor("rgba(0, 0, 0, 0.09)").toRgbString()}
|
|
24
|
-
`,boxShadowDrawerRight:`
|
|
25
|
-
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
26
|
-
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
27
|
-
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
28
|
-
`,boxShadowDrawerLeft:`
|
|
29
|
-
6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
30
|
-
3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
31
|
-
9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
32
|
-
`,boxShadowDrawerUp:`
|
|
33
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
34
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
35
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
36
|
-
`,boxShadowDrawerDown:`
|
|
37
|
-
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
38
|
-
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
39
|
-
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
40
|
-
`,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)",...r}}var kt={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},Zi={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},Yi={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},Br=(e,o,t)=>{let r=t.getDerivativeToken(e),{override:n,...i}=o,a={...r,override:n};return a=Oo(a),i&&Object.entries(i).forEach(([s,l])=>{let{theme:c,...p}=l,m=p;c&&(m=Br({...a,...p},{override:p},c)),a[s]=m;}),a};function z(){let{token:e,hashed:o,theme:t,override:r,cssVar:n}=k__default.useContext(co),i=`${Mr}-${o||""}`,a=t||Mo,[s,l,c]=useCacheToken(a,[pe,e],{salt:i,override:r,getComputedToken:Br,formatToken:Oo,cssVar:n&&{prefix:n.prefix,key:n.key,unitless:kt,ignore:Zi,preserve:Yi}});return [a,c,o?l:"",s,n]}var _e=(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}),fo=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}});var Lr=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"}}}),Or=(e,o,t,r)=>{let n=`[class^="${o}"], [class*=" ${o}"]`,i=t?`.${t}`:n,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},s={};return r!==false&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:{...s,...a,[n]:a}}},Ji=e=>({outline:`${unit(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),Er=e=>({"&:focus-visible":{...Ji(e)}}),Eo=e=>({[`.${e}`]:{...fo(),[`.${e} .${e}-icon`]:{display:"block"}}});var{genStyleHooks:j,genComponentStyleHook:It,genSubStyleComponent:$t}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:o}=useContext(S);return {rootPrefixCls:e(),iconPrefixCls:o}},useToken:()=>{let[e,o,t,r,n]=z();return {theme:e,realToken:o,hashId:t,token:r,cssVar:n}},useCSP:()=>{let{csp:e}=useContext(S);return e??{}},getResetStyles:(e,o)=>[{"&":Lr(e)},Eo(o?.prefix.iconPrefixCls??po)],getCommonStyle:Or,getCompUnitless:(()=>kt)});function Ao(e,o){return re.reduce((t,r)=>{let n=e[`${r}1`],i=e[`${r}3`],a=e[`${r}6`],s=e[`${r}7`];return {...t,...o(r,{lightColor:n,lightBorderColor:i,darkColor:a,textColor:s})}},{})}var ta=(e,o)=>{let[t,r]=z();return useStyleRegister({theme:t,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>o?.nonce,layer:{name:"antd"}},()=>[Eo(e)])},No=ta;var na={...k},{useId:Nr}=na,ia=()=>"",aa=typeof Nr>"u"?ia:Nr,zr=aa;function Mt(e,o,t){He();let n=e||{},i=n.inherit===false||!o?{...lo,hashed:o?.hashed??lo.hashed,cssVar:o?.cssVar}:o,a=zr();return sa(()=>{if(!e)return o;let s={...i.components};Object.keys(e.components||{}).forEach(p=>{s[p]={...s[p],...e.components[p]};});let l=`css-var-${a.replace(/:/g,"")}`,c=(n.cssVar??i.cssVar)&&{prefix:t?.prefixCls,...typeof i.cssVar=="object"?i.cssVar:{},...typeof n.cssVar=="object"?n.cssVar:{},key:typeof n.cssVar=="object"&&n.cssVar?.key||l};return {...i,...n,token:{...i.token,...n.token},components:s,cssVar:c}},[n,i],(s,l)=>s.some((c,p)=>{let m=l[p];return !la(c,m,true)}))}function Bt(e){let{children:o}=e,[,t]=z(),{motion:r}=t,n=k.useRef(false);return n.current=n.current||r===false,n.current?k.createElement(Provider,{motion:r},o):o}k.memo(({dropdownMatchSelectWidth:e})=>(He().deprecated(e===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null));var Fr=()=>null;var fa=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"],Wr;function ya(){return Wr||xe}function xa(e){return Object.keys(e).some(o=>o.endsWith("Color"))}var Sa=e=>{let{prefixCls:o,iconPrefixCls:t,theme:r,holderRender:n}=e;o!==void 0&&(Wr=o),r&&(xa(r)?(vr(ya(),r)):r);};var ba=e=>{let{children:o,csp:t,autoInsertSpaceInButton:r,alert:n,anchor:i,form:a,locale:s,componentSize:l,direction:c,space:p,splitter:m,virtual:d,dropdownMatchSelectWidth:f,popupMatchSelectWidth:u,popupOverflow:g,legacyLocale:y,parentContext:x,iconPrefixCls:C,theme:b,componentDisabled:I,segmented:B,statistic:$,spin:v,calendar:T,carousel:P,cascader:A,collapse:h,typography:R,checkbox:D,descriptions:ne,divider:X,drawer:Y,skeleton:Pe,steps:w,image:Ie,layout:Ze,list:Ye,mentions:Qe,modal:Q,progress:oe,result:ie,slider:K,breadcrumb:Ce,menu:ae,pagination:se,input:le,textArea:$e,empty:Me,badge:ve,radio:ye,rate:Je,switch:Be,transfer:eo,avatar:Le,message:Oe,tag:oo,table:W,card:to,tabs:To,timeline:it,timePicker:at,upload:Po,notification:vo,tree:ro,colorPicker:L,datePicker:st,rangePicker:si,flex:li,wave:ci,dropdown:pi,warning:mi,tour:di,variant:fi,inputNumber:ui,treeSelect:gi}=e,nr=k.useCallback((O,te)=>{let{prefixCls:Ne}=e;if(te)return te;let ze=Ne||x.getPrefixCls("");return O?`${ze}-${O}`:ze},[x.getPrefixCls,e.prefixCls]),no=C||x.iconPrefixCls||po,io=t||x.csp;No(no,io);let lt=Mt(b,x.theme,{prefixCls:nr("")}),ct={csp:io,autoInsertSpaceInButton:r,alert:n,anchor:i,locale:s||y,direction:c,space:p,splitter:m,virtual:d,popupMatchSelectWidth:u??f,popupOverflow:g,getPrefixCls:nr,iconPrefixCls:no,theme:lt,segmented:B,statistic:$,spin:v,calendar:T,carousel:P,cascader:A,collapse:h,typography:R,checkbox:D,descriptions:ne,divider:X,drawer:Y,skeleton:Pe,steps:w,image:Ie,input:le,textArea:$e,layout:Ze,list:Ye,mentions:Qe,modal:Q,progress:oe,result:ie,slider:K,breadcrumb:Ce,menu:ae,pagination:se,empty:Me,badge:ve,radio:ye,rate:Je,switch:Be,transfer:eo,avatar:Le,message:Oe,tag:oo,table:W,card:to,tabs:To,timeline:it,timePicker:at,upload:Po,notification:vo,tree:ro,colorPicker:L,datePicker:st,rangePicker:si,flex:li,wave:ci,dropdown:pi,warning:mi,tour:di,variant:fi,inputNumber:ui,treeSelect:gi},Ee={...x};Object.keys(ct).forEach(O=>{ct[O]!==void 0&&(Ee[O]=ct[O]);}),fa.forEach(O=>{let te=e[O];te&&(Ee[O]=te);}),typeof r<"u"&&(Ee.button={autoInsertSpace:r,...Ee.button});let Ae=sa(()=>Ee,Ee,(O,te)=>{let Ne=Object.keys(O),ze=Object.keys(te);return Ne.length!==ze.length||Ne.some(Ro=>O[Ro]!==te[Ro])}),Ci=k.useMemo(()=>({prefixCls:no,csp:io}),[no,io]),N=k.createElement(k.Fragment,null,k.createElement(Fr,{dropdownMatchSelectWidth:f}),o),ir=k.useMemo(()=>merge(J.Form?.defaultValidateMessages||{},Ae.locale?.Form?.defaultValidateMessages||{},Ae.form?.validateMessages||{},a?.validateMessages||{}),[Ae,a?.validateMessages]);Object.keys(ir).length>0&&(N=k.createElement(pr.Provider,{value:ir},N)),s&&(N=k.createElement(gr,{locale:s,_ANT_MARK__:ur},N)),(N=k.createElement(pa.Provider,{value:Ci},N)),l&&(N=k.createElement(wr,{size:l},N)),N=k.createElement(Bt,null,N);let yi=k.useMemo(()=>{let{algorithm:O,token:te,components:Ne,cssVar:ze,...Ro}=lt||{},ar=O&&(!Array.isArray(O)||O.length>0)?createTheme(O):Mo,pt={};Object.entries(Ne||{}).forEach(([xi,Si])=>{let ce={...Si};"algorithm"in ce&&(ce.algorithm===true?ce.theme=ar:(Array.isArray(ce.algorithm)||typeof ce.algorithm=="function")&&(ce.theme=createTheme(ce.algorithm)),delete ce.algorithm),pt[xi]=ce;});let sr={...pe,...te};return {...Ro,theme:ar,token:sr,components:pt,override:{override:sr,...pt},cssVar:ze}},[lt]);return b&&(N=k.createElement(co.Provider,{value:yi},N)),Ae.warning&&(N=k.createElement(cr.Provider,{value:Ae.warning},N)),I!==void 0&&(N=k.createElement(Rr,{disabled:I},N)),k.createElement(S.Provider,{value:Ae},N)},uo=e=>{let o=k.useContext(S),t=k.useContext(Fe);return k.createElement(ba,{parentContext:o,legacyLocale:t,...e})};uo.ConfigContext=S;uo.SizeContext=Re;uo.config=Sa;uo.useConfig=Ir;Object.defineProperty(uo,"SizeContext",{get:()=>(Re)});var me=e=>e?typeof e=="function"?e():e:null;var Lt=()=>({height:0,opacity:0}),Gr=e=>{let{scrollHeight:o}=e;return {height:o,opacity:1}},ha=e=>({height:e?e.offsetHeight:0}),Ot=(e,o)=>o?.deadline===true||o.propertyName==="height",Ta=(e=xe)=>({motionName:`${e}-motion-collapse`,onAppearStart:Lt,onEnterStart:Lt,onAppearActive:Gr,onEnterActive:Gr,onLeaveStart:ha,onLeaveActive:Lt,onAppearEnd:Ot,onEnterEnd:Ot,onLeaveEnd:Ot,motionDeadline:500});var Ho=(e,o,t)=>t!==void 0?t:`${e}-${o}`;var Vr=Ta;function Do(e){return e&&k__default.isValidElement(e)&&e.type===k__default.Fragment}var Pa=(e,o,t)=>k__default.isValidElement(e)?k__default.cloneElement(e,typeof t=="function"?t(e.props||{}):t):o;function ee(e,o){return Pa(e,e,o)}k.createContext({labelAlign:"right",vertical:false,itemRef:(()=>{})});k.createContext(null);k.createContext({prefixCls:""});var jr=k.createContext({}),_r=({children:e,status:o,override:t})=>{let r=k.useContext(jr),n=k.useMemo(()=>{let i={...r};return t&&delete i.isFormItemInput,o&&(delete i.status,delete i.hasFeedback,delete i.feedbackIcon),i},[o,t,r]);return k.createElement(jr.Provider,{value:n},e)};k.createContext(void 0);var va=e=>{let o=k__default.useContext(Re);return k__default.useMemo(()=>e?typeof e=="string"?e??o:e instanceof Function?e(o):o:o,[e,o])},go=va;var Ra=e=>{let{componentCls:o}=e;return {[o]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},Kr=Ra;var wa=e=>{let{componentCls:o,antCls:t}=e;return {[o]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${o}-item:empty`]:{display:"none"},[`${o}-item > ${t}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},ka=e=>{let{componentCls:o}=e;return {[o]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}};j("Space",e=>{let o=mergeToken(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return [wa(o),ka(o),Kr(o)]},()=>({}),{resetStyle:false});var Ur=k.createContext(null),qr=(e,o)=>{let t=k.useContext(Ur),r=k.useMemo(()=>{if(!t)return "";let{compactDirection:n,isFirstItem:i,isLastItem:a}=t,s=n==="vertical"?"-vertical-":"-";return er(`${e}-compact${s}item`,{[`${e}-compact${s}first-item`]:i,[`${e}-compact${s}last-item`]:a,[`${e}-compact${s}item-rtl`]:o==="rtl"})},[e,o,t]);return {compactSize:t?.compactSize,compactDirection:t?.compactDirection,compactItemClassnames:r}},Zr=({children:e})=>k.createElement(Ur.Provider,{value:null},e);var Ma=e=>{let{space:o,form:t,children:r}=e;if(r==null)return null;let n=r;return t&&(n=k__default.createElement(_r,{override:true,status:true},n)),o&&(n=k__default.createElement(Zr,null,n)),n},Qr=Ma;var La=k__default.createContext(void 0),Wo=La;var de=100,Jr={Modal:de,Drawer:de,Popover:de,Popconfirm:de,Tooltip:de,Tour:de,FloatButton:de},Na={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function za(e){return e in Jr}var en=(e,o)=>{let[,t]=z(),r=k__default.useContext(Wo),n=za(e),i;if(o!==void 0)i=[o,o];else {let a=r??0;n?a+=(r?0:t.zIndexPopupBase)+Jr[e]:a+=Na[e],i=[r===void 0?o:a,a];}return i};function Go(e){let{sizePopupArrow:o,borderRadiusXS:t,borderRadiusOuter:r}=e,n=o/2,i=0,a=n,s=r*1/Math.sqrt(2),l=n-r*(1-1/Math.sqrt(2)),c=n-t*(1/Math.sqrt(2)),p=r*(Math.sqrt(2)-1)+t*(1/Math.sqrt(2)),m=2*n-c,d=p,f=2*n-s,u=l,g=2*n-i,y=a,x=n*Math.sqrt(2)+r*(Math.sqrt(2)-2),C=r*(Math.sqrt(2)-1),b=`polygon(${C}px 100%, 50% ${C}px, ${2*n-C}px 100%, ${C}px 100%)`,I=`path('M ${i} ${a} A ${r} ${r} 0 0 0 ${s} ${l} L ${c} ${p} A ${t} ${t} 0 0 1 ${m} ${d} L ${f} ${u} A ${r} ${r} 0 0 0 ${g} ${y} Z')`;return {arrowShadowWidth:x,arrowPath:I,arrowPolygon:b}}var on=(e,o,t)=>{let{sizePopupArrow:r,arrowPolygon:n,arrowPath:i,arrowShadowWidth:a,borderRadiusXS:s,calc:l}=e;return {pointerEvents:"none",width:r,height:r,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:r,height:l(r).div(2).equal(),background:o,clipPath:{_multi_value_:true,value:[n,i]},content:'""'},"&::after":{content:'""',position:"absolute",width:a,height:a,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:true,value:`0 0 ${unit(s)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:t,zIndex:0,background:"transparent"}}};var Et=8;function Xe(e){let{contentRadius:o,limitVerticalRadius:t}=e,r=o>12?o+2:12;return {arrowOffsetHorizontal:r,arrowOffsetVertical:t?Et:r}}function Vo(e,o){return e?o:{}}function Co(e,o,t){let{componentCls:r,boxShadowPopoverArrow:n,arrowOffsetVertical:i,arrowOffsetHorizontal:a}=e,{arrowDistance:s=0,arrowPlacement:l={left:true,right:true,top:true,bottom:true}}={};return {[r]:{[`${r}-arrow`]:[{position:"absolute",zIndex:1,display:"block",...on(e,o,n),"&:before":{background:o}}],...Vo(!!l.top,{[[`&-placement-top > ${r}-arrow`,`&-placement-topLeft > ${r}-arrow`,`&-placement-topRight > ${r}-arrow`].join(",")]:{bottom:s,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${r}-arrow`]:{left:{_skip_check_:true,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":a,[`> ${r}-arrow`]:{left:{_skip_check_:true,value:a}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${unit(a)})`,[`> ${r}-arrow`]:{right:{_skip_check_:true,value:a}}}}),...Vo(!!l.bottom,{[[`&-placement-bottom > ${r}-arrow`,`&-placement-bottomLeft > ${r}-arrow`,`&-placement-bottomRight > ${r}-arrow`].join(",")]:{top:s,transform:"translateY(-100%)"},[`&-placement-bottom > ${r}-arrow`]:{left:{_skip_check_:true,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":a,[`> ${r}-arrow`]:{left:{_skip_check_:true,value:a}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${unit(a)})`,[`> ${r}-arrow`]:{right:{_skip_check_:true,value:a}}}}),...Vo(!!l.left,{[[`&-placement-left > ${r}-arrow`,`&-placement-leftTop > ${r}-arrow`,`&-placement-leftBottom > ${r}-arrow`].join(",")]:{right:{_skip_check_:true,value:s},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${r}-arrow`]:{top:{_skip_check_:true,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${r}-arrow`]:{top:i},[`&-placement-leftBottom > ${r}-arrow`]:{bottom:i}}),...Vo(!!l.right,{[[`&-placement-right > ${r}-arrow`,`&-placement-rightTop > ${r}-arrow`,`&-placement-rightBottom > ${r}-arrow`].join(",")]:{left:{_skip_check_:true,value:s},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${r}-arrow`]:{top:{_skip_check_:true,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${r}-arrow`]:{top:i},[`&-placement-rightBottom > ${r}-arrow`]:{bottom:i}})}}}function Fa(e,o,t,r){if(r===false)return {adjustX:false,adjustY:false};let n=r&&typeof r=="object"?r:{},i={};switch(e){case "top":case "bottom":i.shiftX=o.arrowOffsetHorizontal*2+t,i.shiftY=true,i.adjustY=true;break;case "left":case "right":i.shiftY=o.arrowOffsetVertical*2+t,i.shiftX=true,i.adjustX=true;break}let a={...i,...n};return a.shiftX||(a.adjustX=true),a.shiftY||(a.adjustY=true),a}var rn={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},Da={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},Wa=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function At(e){let{arrowWidth:o,autoAdjustOverflow:t,arrowPointAtCenter:r,offset:n,borderRadius:i}=e,s=o/2,l={};return Object.keys(rn).forEach(c=>{let m={...r&&Da[c]||rn[c],offset:[0,0],dynamicInset:true};switch(l[c]=m,Wa.has(c)&&(m.autoArrow=false),c){case "top":case "topLeft":case "topRight":m.offset[1]=-s-n;break;case "bottom":case "bottomLeft":case "bottomRight":m.offset[1]=s+n;break;case "left":case "leftTop":case "leftBottom":m.offset[0]=-s-n;break;case "right":case "rightTop":case "rightBottom":m.offset[0]=s+n;break}let d=Xe({contentRadius:i,limitVerticalRadius:true});if(r)switch(c){case "topLeft":case "bottomLeft":m.offset[0]=-d.arrowOffsetHorizontal-s;break;case "topRight":case "bottomRight":m.offset[0]=d.arrowOffsetHorizontal+s;break;case "leftTop":case "rightTop":m.offset[1]=-d.arrowOffsetHorizontal*2+s;break;case "leftBottom":case "rightBottom":m.offset[1]=d.arrowOffsetHorizontal*2-s;break}m.overflow=Fa(c,d,o,t),(m.htmlRegion="visibleFirst");}),l}var Ga=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
|
|
41
|
-
opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},
|
|
42
|
-
opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),Nt=Ga;var Va=e=>({animationDuration:e,animationFillMode:"both"}),ja=e=>({animationDuration:e,animationFillMode:"both"}),yo=(e,o,t,r,n=false)=>{let i=n?"&":"";return {[`
|
|
43
|
-
${i}${e}-enter,
|
|
44
|
-
${i}${e}-appear
|
|
45
|
-
`]:{...Va(r),animationPlayState:"paused"},[`${i}${e}-leave`]:{...ja(r),animationPlayState:"paused"},[`
|
|
46
|
-
${i}${e}-enter${e}-enter-active,
|
|
47
|
-
${i}${e}-appear${e}-appear-active
|
|
48
|
-
`]:{animationName:o,animationPlayState:"running"},[`${i}${e}-leave${e}-leave-active`]:{animationName:t,animationPlayState:"running",pointerEvents:"none"}}};new Keyframes("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}});new Keyframes("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}});new Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}});new Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}});new Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}});new Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}});new Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}});new Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}});new Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}});new Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}});var an=new Keyframes("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),sn=new Keyframes("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),zt=new Keyframes("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Ht=new Keyframes("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),ln=new Keyframes("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),cn=new Keyframes("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),pn=new Keyframes("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),mn=new Keyframes("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),dn=new Keyframes("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),fn=new Keyframes("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),un=new Keyframes("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),gn=new Keyframes("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),cs={zoom:{inKeyframes:an,outKeyframes:sn},"zoom-big":{inKeyframes:zt,outKeyframes:Ht},"zoom-big-fast":{inKeyframes:zt,outKeyframes:Ht},"zoom-left":{inKeyframes:pn,outKeyframes:mn},"zoom-right":{inKeyframes:dn,outKeyframes:fn},"zoom-up":{inKeyframes:ln,outKeyframes:cn},"zoom-down":{inKeyframes:un,outKeyframes:gn}},xo=(e,o)=>{let{antCls:t}=e,r=`${t}-${o}`,{inKeyframes:n,outKeyframes:i}=cs[o];return [yo(r,n,i,o==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[`
|
|
49
|
-
${r}-enter,
|
|
50
|
-
${r}-appear
|
|
51
|
-
`]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};var ps=e=>{let{calc:o,componentCls:t,tooltipMaxWidth:r,tooltipColor:n,tooltipBg:i,tooltipBorderRadius:a,zIndexPopup:s,controlHeight:l,boxShadowSecondary:c,paddingSM:p,paddingXS:m,arrowOffsetHorizontal:d,sizePopupArrow:f}=e,u=o(a).add(f).add(d).equal(),g=o(a).mul(2).add(f).equal();return [{[t]:{..._e(e),position:"absolute",zIndex:s,display:"block",width:"max-content",maxWidth:r,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":i,[`${t}-inner`]:{minWidth:g,minHeight:l,padding:`${unit(e.calc(p).div(2).equal())} ${unit(m)}`,color:n,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:i,borderRadius:a,boxShadow:c,boxSizing:"border-box"},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:u},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:e.min(a,Et)}},[`${t}-content`]:{position:"relative"},...Ao(e,(y,{darkColor:x})=>({[`&${t}-${y}`]:{[`${t}-inner`]:{backgroundColor:x},[`${t}-arrow`]:{"--antd-arrow-background-color":x}}})),"&-rtl":{direction:"rtl"}}},Co(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},ms=e=>({zIndexPopup:e.zIndexPopupBase+70,...Xe({contentRadius:e.borderRadius,limitVerticalRadius:true}),...Go(mergeToken(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))}),jo=(e,o=true)=>j("Tooltip",r=>{let{borderRadius:n,colorTextLightSolid:i,colorBgSpotlight:a}=r,s=mergeToken(r,{tooltipMaxWidth:250,tooltipColor:i,tooltipBorderRadius:n,tooltipBg:a});return [ps(s),xo(r,"zoom-big-fast")]},ms,{resetStyle:false,injectStyle:o})(e);var ds=re.map(e=>`${e}-inverse`);function yn(e,o=true){return o?[...ds,...re].includes(e):re.includes(e)}function _o(e,o){let t=yn(o),r=er({[`${e}-${o}`]:o&&t}),n={},i={};return o&&!t&&(n.background=o,i["--antd-arrow-background-color"]=o),{className:r,overlayStyle:n,arrowStyle:i}}var Cs=e=>{let{prefixCls:o,className:t,placement:r="top",title:n,color:i,overlayInnerStyle:a}=e,{getPrefixCls:s}=k.useContext(S),l=s("tooltip",o),[c,p,m]=jo(l),d=_o(l,i),f=d.arrowStyle,u={...a,...d.overlayStyle},g=er(p,m,l,`${l}-pure`,`${l}-placement-${r}`,t,d.className);return c(k.createElement("div",{className:g,style:f},k.createElement("div",{className:`${l}-arrow`}),k.createElement(Popup,{...e,className:p,prefixCls:l,overlayInnerStyle:u},n)))},xn=Cs;var Ss=k.forwardRef((e,o)=>{let{prefixCls:t,openClassName:r,getTooltipContainer:n,overlayClassName:i,color:a,overlayInnerStyle:s,children:l,afterOpenChange:c,afterVisibleChange:p,destroyTooltipOnHide:m,arrow:d=true,title:f,overlay:u,builtinPlacements:g,arrowPointAtCenter:y=false,autoAdjustOverflow:x=true}=e,C=!!d,[,b]=z(),{getPopupContainer:I,getPrefixCls:B,direction:$}=k.useContext(S),v=He(),T=k.useRef(null),P=()=>{T.current?.forceAlign();};k.useImperativeHandle(o,()=>({forceAlign:P,forcePopupAlign:()=>{v.deprecated(false,"forcePopupAlign","forceAlign"),P();},nativeElement:T.current?.nativeElement}));let[A,h]=xs(false,{value:e.open??e.visible,defaultValue:e.defaultOpen??e.defaultVisible}),R=!f&&!u&&f!==0,D=W=>{h(R?false:W),R||(e.onOpenChange?.(W),e.onVisibleChange?.(W));},ne=k.useMemo(()=>{let W=y;return typeof d=="object"&&(W=d.pointAtCenter??d.arrowPointAtCenter??y),g||At({arrowPointAtCenter:W,autoAdjustOverflow:x,arrowWidth:C?b.sizePopupArrow:0,borderRadius:b.borderRadius,offset:b.marginXXS})},[y,d,g,b]),X=k.useMemo(()=>f===0?f:u||f||"",[u,f]),Y=k.createElement(Qr,{space:true},typeof X=="function"?X():X),{getPopupContainer:Pe,placement:w="top",mouseEnterDelay:Ie=.1,mouseLeaveDelay:Ze=.1,overlayStyle:Ye,rootClassName:Qe,...Q}=e,oe=B("tooltip",t),ie=B(),K=e["data-popover-inject"],Ce=A;!("open"in e)&&!("visible"in e)&&R&&(Ce=false);let ae=k.isValidElement(l)&&!Do(l)?l:k.createElement("span",null,l),se=ae.props,le=!se.className||typeof se.className=="string"?er(se.className,r||`${oe}-open`):se.className,[$e,Me,ve]=jo(oe,!K),ye=_o(oe,a),Je=ye.arrowStyle,Be={...s,...ye.overlayStyle},eo=er(i,{[`${oe}-rtl`]:$==="rtl"},ye.className,Qe,Me,ve),[Le,Oe]=en("Tooltip",Q.zIndex),oo=k.createElement(ys,{...Q,zIndex:Le,showArrow:C,placement:w,mouseEnterDelay:Ie,mouseLeaveDelay:Ze,prefixCls:oe,overlayClassName:eo,overlayStyle:{...Je,...Ye},getTooltipContainer:Pe||n||I,ref:T,builtinPlacements:ne,overlay:Y,visible:Ce,onVisibleChange:D,afterVisibleChange:c??p,overlayInnerStyle:Be,arrowContent:k.createElement("span",{className:`${oe}-arrow-content`}),motion:{motionName:Ho(ie,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!m},Ce?ee(ae,{className:le}):ae);return $e(k.createElement(Wo.Provider,{value:Oe},oo))}),bn=Ss;bn._InternalPanelDoNotUseOrYouWillBeFired=xn;var hn=bn;var bs=e=>{let{componentCls:o,popoverColor:t,titleMinWidth:r,fontWeightStrong:n,innerPadding:i,boxShadowSecondary:a,colorTextHeading:s,borderRadiusLG:l,zIndexPopup:c,titleMarginBottom:p,colorBgElevated:m,popoverBg:d,titleBorderBottom:f,innerContentPadding:u,titlePadding:g}=e;return [{[o]:{..._e(e),position:"absolute",top:0,left:{_skip_check_:true,value:0},zIndex:c,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"--antd-arrow-background-color":m,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${o}-content`]:{position:"relative"},[`${o}-inner`]:{backgroundColor:d,backgroundClip:"padding-box",borderRadius:l,boxShadow:a,padding:i},[`${o}-title`]:{minWidth:r,marginBottom:p,color:s,fontWeight:n,borderBottom:f,padding:g},[`${o}-inner-content`]:{color:t,padding:u}}},Co(e,"var(--antd-arrow-background-color)"),{[`${o}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${o}-content`]:{display:"inline-block"}}}]},hs=e=>{let{componentCls:o}=e;return {[o]:re.map(t=>{let r=e[`${t}6`];return {[`&${o}-${t}`]:{"--antd-arrow-background-color":r,[`${o}-inner`]:{backgroundColor:r},[`${o}-arrow`]:{background:"transparent"}}}})}},Ts=e=>{let{lineWidth:o,controlHeight:t,fontHeight:r,padding:n,wireframe:i,zIndexPopupBase:a,borderRadiusLG:s,marginXS:l,lineType:c,colorSplit:p,paddingSM:m}=e,d=t-r,f=d/2,u=d/2-o,g=n;return {titleMinWidth:177,zIndexPopup:a+30,...Go(e),...Xe({contentRadius:s,limitVerticalRadius:true}),innerPadding:i?0:12,titleMarginBottom:i?0:l,titlePadding:i?`${f}px ${g}px ${u}px`:0,titleBorderBottom:i?`${o}px ${c} ${p}`:"none",innerContentPadding:i?`${m}px ${g}px`:0}},Xo=j("Popover",e=>{let{colorBgElevated:o,colorText:t}=e,r=mergeToken(e,{popoverBg:o,popoverColor:t});return [bs(r),hs(r),xo(r,"zoom-big")]},Ts,{resetStyle:false,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});var Ft=({title:e,content:o,prefixCls:t})=>!e&&!o?null:k.createElement(k.Fragment,null,e&&k.createElement("div",{className:`${t}-title`},e),o&&k.createElement("div",{className:`${t}-inner-content`},o)),vs=e=>{let{hashId:o,prefixCls:t,className:r,style:n,placement:i="top",title:a,content:s,children:l}=e,c=me(a),p=me(s),m=er(o,t,`${t}-pure`,`${t}-placement-${i}`,r);return k.createElement("div",{className:m,style:n},k.createElement("div",{className:`${t}-arrow`}),k.createElement(Popup,{...e,className:o,prefixCls:t},l||k.createElement(Ft,{prefixCls:t,title:c,content:p})))},Rs=e=>{let{prefixCls:o,className:t,...r}=e,{getPrefixCls:n}=k.useContext(S),i=n("popover",o),[a,s,l]=Xo(i);return a(k.createElement(vs,{...r,prefixCls:i,hashId:s,className:er(t,l)}))},Ko=Rs;var $s=k.forwardRef((e,o)=>{let{prefixCls:t,title:r,content:n,overlayClassName:i,placement:a="top",trigger:s="hover",children:l,mouseEnterDelay:c=.1,mouseLeaveDelay:p=.1,onOpenChange:m,overlayStyle:d={},...f}=e,{getPrefixCls:u}=k.useContext(S),g=u("popover",t),[y,x,C]=Xo(g),b=u(),I=er(i,x,C),[B,$]=xs(false,{value:e.open??e.visible,defaultValue:e.defaultOpen??e.defaultVisible}),v=(R,D)=>{$(R,true),m?.(R,D);},T=R=>{R.keyCode===Is.ESC&&v(false,R);},P=R=>{v(R);},A=me(r),h=me(n);return y(k.createElement(hn,{placement:a,trigger:s,mouseEnterDelay:c,mouseLeaveDelay:p,overlayStyle:d,...f,prefixCls:g,overlayClassName:I,ref:o,open:B,onOpenChange:P,overlay:A||h?k.createElement(Ft,{prefixCls:g,title:A,content:h}):null,transitionName:Ho(b,"zoom-big",f.transitionName),"data-popover-inject":true},ee(l,{onKeyDown:R=>{k.isValidElement(l)&&l?.props.onKeyDown?.(R),T(R);}})))}),Pn=$s;Pn._InternalPanelDoNotUseOrYouWillBeFired=Ko;var vn=Pn;var Ms=e=>{let{componentCls:o,colorPrimary:t}=e;return {[o]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${t})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},Rn=It("Wave",e=>[Ms(e)]);var Uo=`${xe}-wave-target`;var Es=(e,o)=>(render(e,o),()=>unmount(o)),As=Es;function wn(){return As}function Dt(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function kn(e){let{borderTopColor:o,borderColor:t,backgroundColor:r}=getComputedStyle(e);return Dt(o)?o:Dt(t)?t:Dt(r)?r:null}function Wt(e){return Number.isNaN(e)?0:e}var Fs=e=>{let{className:o,target:t,component:r,registerUnmount:n}=e,i=k.useRef(null),a=k.useRef(null);k.useEffect(()=>{a.current=n();},[]);let[s,l]=k.useState(null),[c,p]=k.useState([]),[m,d]=k.useState(0),[f,u]=k.useState(0),[g,y]=k.useState(0),[x,C]=k.useState(0),[b,I]=k.useState(false),B={left:m,top:f,width:g,height:x,borderRadius:c.map(T=>`${T}px`).join(" ")};s&&(B["--wave-color"]=s);function $(){let T=getComputedStyle(t);l(kn(t));let P=T.position==="static",{borderLeftWidth:A,borderTopWidth:h}=T;d(P?t.offsetLeft:Wt(-parseFloat(A))),u(P?t.offsetTop:Wt(-parseFloat(h))),y(t.offsetWidth),C(t.offsetHeight);let{borderTopLeftRadius:R,borderTopRightRadius:D,borderBottomLeftRadius:ne,borderBottomRightRadius:X}=T;p([R,D,X,ne].map(Y=>Wt(parseFloat(Y))));}if(k.useEffect(()=>{if(t){let T=In(()=>{$(),I(true);}),P;return typeof ResizeObserver<"u"&&(P=new ResizeObserver($),P.observe(t)),()=>{In.cancel(T),P?.disconnect();}}},[]),!b)return null;let v=(r==="Checkbox"||r==="Radio")&&t?.classList.contains(Uo);return k.createElement(zs,{visible:true,motionAppear:true,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(T,P)=>{if(P.deadline||P.propertyName==="opacity"){let A=i.current?.parentElement;a.current?.().then(()=>{A?.remove();});}return false}},({className:T},P)=>k.createElement("div",{ref:composeRef(i,P),className:er(o,T,{"wave-quick":v}),style:B}))},Ds=(e,o)=>{let{component:t}=o;if(t==="Checkbox"&&!e.querySelector("input")?.checked)return;let r=document.createElement("div");r.style.position="absolute",r.style.left="0px",r.style.top="0px",e?.insertBefore(r,e?.firstChild);let n=wn(),i=null;function a(){return i}i=n(k.createElement(Fs,{...o,target:e,registerUnmount:a}),r);},$n=Ds;var Gs=(e,o,t)=>{let{wave:r}=k.useContext(S),[,n,i]=z(),a=Ws(c=>{let p=e.current;if(r?.disabled||!p)return;let m=p.querySelector(`.${Uo}`)||p,{showEffect:d}=r||{};(d||$n)(m,{className:o,token:n,component:t,event:c,hashId:i});}),s=k.useRef(null);return c=>{In.cancel(s.current),s.current=In(()=>{a(c);});}},Bn=Gs;var Zs=e=>{let{children:o,disabled:t,component:r}=e,{getPrefixCls:n}=useContext(S),i=useRef(null),a=n("wave"),[,s]=Rn(a),l=Bn(i,er(a,s),r);if(k__default.useEffect(()=>{let p=i.current;if(!p||p.nodeType!==1||t)return;let m=d=>{!Xs(d.target)||!p.getAttribute||p.getAttribute("disabled")||p.disabled||p.className.includes("disabled")||p.className.includes("-leave")||l(d);};return p.addEventListener("click",m,true),()=>{p.removeEventListener("click",m,true);}},[t]),!k__default.isValidElement(o))return o??null;let c=supportRef(o)?composeRef(getNodeRef(o),i):i;return ee(o,{ref:c})},On=Zs;var Gt=k.createContext(void 0),Qs=e=>{let{getPrefixCls:o,direction:t}=k.useContext(S),{prefixCls:r,size:n,className:i,...a}=e,s=o("btn-group",r),[,,l]=z(),c="";switch(n){case "large":c="lg";break;case "small":c="sm";break;}let p=er(s,{[`${s}-${c}`]:c,[`${s}-rtl`]:t==="rtl"},i,l);return k.createElement(Gt.Provider,{value:n},k.createElement("div",{...a,className:p}))},En=Qs;var An=/^[\u4E00-\u9FA5]{2}$/,Zo=An.test.bind(An);function Yo(e){return e==="danger"?{danger:true}:{type:e}}function Nn(e){return typeof e=="string"}function Qo(e){return e==="text"||e==="link"}function Js(e,o){if(e==null)return;let t=o?" ":"";return typeof e!="string"&&typeof e!="number"&&Nn(e.type)&&Zo(e.props.children)?ee(e,{children:e.props.children.split("").join(t)}):Nn(e)?Zo(e)?k__default.createElement("span",null,e.split("").join(t)):k__default.createElement("span",null,e):Do(e)?k__default.createElement("span",null,e):e}function zn(e,o){let t=false,r=[];return k__default.Children.forEach(e,n=>{let i=typeof n,a=i==="string"||i==="number";if(t&&a){let s=r.length-1,l=r[s];r[s]=`${l}${n}`;}else r.push(n);t=a;}),k__default.Children.map(r,n=>Js(n,o))}var rl=forwardRef((e,o)=>{let{className:t,style:r,children:n,prefixCls:i}=e,a=er(`${i}-icon`,t);return k__default.createElement("span",{ref:o,className:a,style:r},n)}),Jo=rl;var Hn=forwardRef((e,o)=>{let{prefixCls:t,className:r,style:n,iconClassName:i}=e,a=er(`${t}-loading-icon`,r);return k__default.createElement(Jo,{prefixCls:t,className:a,style:n,ref:o},k__default.createElement(il,{className:i}))}),Vt=()=>({width:0,opacity:0,transform:"scale(0)"}),jt=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),sl=e=>{let{prefixCls:o,loading:t,existIcon:r,className:n,style:i,mount:a}=e,s=!!t;return r?k__default.createElement(Hn,{prefixCls:o,className:n,style:i}):k__default.createElement(zs,{visible:s,motionName:`${o}-loading-icon-motion`,motionAppear:!a,motionEnter:!a,motionLeave:!a,removeOnLeave:true,onAppearStart:Vt,onAppearActive:jt,onEnterStart:Vt,onEnterActive:jt,onLeaveStart:jt,onLeaveActive:Vt},({className:l,style:c},p)=>{let m={...i,...c};return k__default.createElement(Hn,{prefixCls:o,className:er(n,l),style:m,ref:p})})},Dn=sl;var Wn=(e,o)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:o}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:o}}}}}),ll=e=>{let{componentCls:o,fontSize:t,lineWidth:r,groupBorderColor:n,colorErrorHover:i}=e;return {[`${o}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${o}`]:{"&:not(:last-child)":{[`&, & > ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[o]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${o}-icon-only`]:{fontSize:t}},Wn(`${o}-primary`,n),Wn(`${o}-danger`,i)]}},Gn=ll;var cl=(e,o)=>e?.replace(/[^\w/]/g,"").slice(0,o?8:6)||"",pl=(e,o)=>e?cl(e,o):"",ho=class e{metaColor;colors;cleared=false;constructor(o){if(o instanceof e){this.metaColor=o.metaColor.clone(),this.colors=o.colors?.map(r=>({color:new e(r.color),percent:r.percent})),this.cleared=o.cleared;return}let t=Array.isArray(o);t&&o.length?(this.colors=o.map(({color:r,percent:n})=>({color:new e(r),percent:n})),this.metaColor=new Color(this.colors[0].color.metaColor)):this.metaColor=new Color(t?"":o),(!o||t&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=true);}toHsb(){return this.metaColor.toHsb()}toHsbString(){return this.metaColor.toHsbString()}toHex(){return pl(this.toHexString(),this.metaColor.a<1)}toHexString(){return this.metaColor.toHexString()}toRgb(){return this.metaColor.toRgb()}toRgbString(){return this.metaColor.toRgbString()}isGradient(){return !!this.colors&&!this.cleared}getColors(){return this.colors||[{color:this,percent:0}]}toCssString(){let{colors:o}=this;return o?`linear-gradient(90deg, ${o.map(r=>`${r.color.toRgbString()} ${r.percent}%`).join(", ")})`:this.metaColor.toRgbString()}equals(o){return !o||this.isGradient()!==o.isGradient()?false:this.isGradient()?this.colors.length===o.colors.length&&this.colors.every((t,r)=>{let n=o.colors[r];return t.percent===n.percent&&t.color.equals(n.color)}):this.toHexString()===o.toHexString()}};var fl=k.forwardRef((e,o)=>{let{getPrefixCls:t}=k.useContext(S),{prefixCls:r,className:n,showArrow:i=true}=e,a=t("collapse",r),s=er({[`${a}-no-arrow`]:!i},n);return k.createElement(dl.Panel,{ref:o,...e,prefixCls:a,className:s})}),jn=fl;var ul=e=>{let{componentCls:o,contentBg:t,padding:r,headerBg:n,headerPadding:i,collapseHeaderPaddingSM:a,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:l,lineWidth:c,lineType:p,colorBorder:m,colorText:d,colorTextHeading:f,colorTextDisabled:u,fontSizeLG:g,lineHeight:y,lineHeightLG:x,marginSM:C,paddingSM:b,paddingLG:I,paddingXS:B,motionDurationSlow:$,fontSizeIcon:v,contentPadding:T,fontHeight:P,fontHeightLG:A}=e,h=`${unit(c)} ${p} ${m}`;return {[o]:{..._e(e),backgroundColor:n,border:h,borderRadius:l,"&-rtl":{direction:"rtl"},[`& > ${o}-item`]:{borderBottom:h,"&:last-child":{[`
|
|
52
|
-
&,
|
|
53
|
-
& > ${o}-header`]:{borderRadius:`0 0 ${unit(l)} ${unit(l)}`}},[`> ${o}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:i,color:f,lineHeight:y,cursor:"pointer",transition:`all ${$}, visibility 0s`,[`> ${o}-header-text`]:{flex:"auto"},[`${o}-expand-icon`]:{height:P,display:"flex",alignItems:"center",paddingInlineEnd:C},[`${o}-arrow`]:{...fo(),fontSize:v,transition:`transform ${$}`,svg:{transition:`transform ${$}`}},[`${o}-header-text`]:{marginInlineEnd:"auto"}},[`${o}-collapsible-header`]:{cursor:"default",[`${o}-header-text`]:{flex:"none",cursor:"pointer"}},[`${o}-collapsible-icon`]:{cursor:"unset",[`${o}-expand-icon`]:{cursor:"pointer"}}},[`${o}-content`]:{color:d,backgroundColor:t,borderTop:h,[`& > ${o}-content-box`]:{padding:T},"&-hidden":{display:"none"}},"&-small":{[`> ${o}-item`]:{[`> ${o}-header`]:{padding:a,paddingInlineStart:B,[`> ${o}-expand-icon`]:{marginInlineStart:e.calc(b).sub(B).equal()}},[`> ${o}-content > ${o}-content-box`]:{padding:b}}},"&-large":{[`> ${o}-item`]:{fontSize:g,lineHeight:x,[`> ${o}-header`]:{padding:s,paddingInlineStart:r,[`> ${o}-expand-icon`]:{height:A,marginInlineStart:e.calc(I).sub(r).equal()}},[`> ${o}-content > ${o}-content-box`]:{padding:I}}},[`${o}-item:last-child`]:{borderBottom:0,[`> ${o}-content`]:{borderRadius:`0 0 ${unit(l)} ${unit(l)}`}},[`& ${o}-item-disabled > ${o}-header`]:{"\n &,\n & > .arrow\n ":{color:u,cursor:"not-allowed"}},[`&${o}-icon-position-end`]:{[`& > ${o}-item`]:{[`> ${o}-header`]:{[`${o}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:C}}}}}}},gl=e=>{let{componentCls:o}=e,t=`> ${o}-item > ${o}-header ${o}-arrow`;return {[`${o}-rtl`]:{[t]:{transform:"rotate(180deg)"}}}},Cl=e=>{let{componentCls:o,headerBg:t,paddingXXS:r,colorBorder:n}=e;return {[`${o}-borderless`]:{backgroundColor:t,border:0,[`> ${o}-item`]:{borderBottom:`1px solid ${n}`},[`
|
|
54
|
-
> ${o}-item:last-child,
|
|
55
|
-
> ${o}-item:last-child ${o}-header
|
|
56
|
-
`]:{borderRadius:0},[`> ${o}-item:last-child`]:{borderBottom:0},[`> ${o}-item > ${o}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${o}-item > ${o}-content > ${o}-content-box`]:{paddingTop:r}}}},yl=e=>{let{componentCls:o,paddingSM:t}=e;return {[`${o}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${o}-item`]:{borderBottom:0,[`> ${o}-content`]:{backgroundColor:"transparent",border:0,[`> ${o}-content-box`]:{paddingBlock:t}}}}}},xl=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),_n=j("Collapse",e=>{let o=mergeToken(e,{collapseHeaderPaddingSM:`${unit(e.paddingXS)} ${unit(e.paddingSM)}`,collapseHeaderPaddingLG:`${unit(e.padding)} ${unit(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return [ul(o),Cl(o),yl(o),gl(o),Nt(o)]},xl);var Tl=k.forwardRef((e,o)=>{let{getPrefixCls:t,direction:r,collapse:n}=k.useContext(S),{prefixCls:i,className:a,rootClassName:s,style:l,bordered:c=true,ghost:p,size:m,expandIconPosition:d="start",children:f,expandIcon:u}=e,g=go(h=>m??h??"middle"),y=t("collapse",i),x=t(),[C,b,I]=_n(y),B=k.useMemo(()=>d==="left"?"start":d==="right"?"end":d,[d]),$=u??n?.expandIcon,v=k.useCallback((h={})=>{let R=typeof $=="function"?$(h):k.createElement(Sl,{rotate:h.isActive?90:void 0,"aria-label":h.isActive?"expanded":"collapsed"});return ee(R,()=>({className:er(R?.props?.className,`${y}-arrow`)}))},[$,y]),T=er(`${y}-icon-position-${B}`,{[`${y}-borderless`]:!c,[`${y}-rtl`]:r==="rtl",[`${y}-ghost`]:!!p,[`${y}-${g}`]:g!=="middle"},n?.className,a,s,b,I),P={...Vr(x),motionAppear:false,leavedClassName:`${y}-content-hidden`},A=k.useMemo(()=>f?hl(f).map((h,R)=>{let D=h.props;if(D?.disabled){let ne=h.key??String(R),X={...Kn(h.props,["disabled"]),key:ne,collapsible:D.collapsible??"disabled"};return ee(h,X)}return h}):null,[f]);return C(k.createElement(dl,{ref:o,openMotion:P,...Kn(e,["rootClassName"]),expandIcon:v,prefixCls:y,className:T,style:{...n?.style,...l}},A))});Object.assign(Tl,{Panel:jn});var Un=(e,o)=>{let{r:t,g:r,b:n,a:i}=e.toRgb(),a=new Color(e.toRgbString()).onBackground(o).toHsv();return i<=.5?a.v>.5:t*.299+r*.587+n*.114>192};var et=e=>{let{paddingInline:o,onlyIconSize:t}=e;return mergeToken(e,{buttonPaddingHorizontal:o,buttonPaddingVertical:0,buttonIconOnlyFontSize:t})},ot=e=>{let o=e.contentFontSize??e.fontSize,t=e.contentFontSizeSM??e.fontSize,r=e.contentFontSizeLG??e.fontSizeLG,n=e.contentLineHeight??We(o),i=e.contentLineHeightSM??We(t),a=e.contentLineHeightLG??We(r),s=Un(new ho(e.colorBgSolid),"#fff")?"#000":"#fff";return {fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:s,contentFontSize:o,contentFontSizeSM:t,contentFontSizeLG:r,contentLineHeight:n,contentLineHeightSM:i,contentLineHeightLG:a,paddingBlock:Math.max((e.controlHeight-o*n)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-t*i)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-r*a)/2-e.lineWidth,0)}};var Rl=e=>{let{componentCls:o,iconCls:t,fontWeight:r,opacityLoading:n,motionDurationSlow:i,motionEaseInOut:a,marginXS:s,calc:l}=e;return {[o]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${unit(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},[`${o}-icon > svg`]:fo(),"> a":{color:"currentColor"},"&:not(:disabled)":Er(e),[`&${o}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${o}-two-chinese-chars > *:not(${t})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&${o}-icon-only`]:{paddingInline:0,[`&${o}-compact-item`]:{flex:"none"},[`&${o}-round`]:{width:"auto"}},[`&${o}-loading`]:{opacity:n,cursor:"default"},[`${o}-loading-icon`]:{transition:["width","opacity","margin"].map(c=>`${c} ${i} ${a}`).join(",")},[`&:not(${o}-icon-end)`]:{[`${o}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:l(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:l(s).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",[`${o}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:l(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:l(s).mul(-1).equal()}}}}}},qn=(e,o,t)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":o,"&:active":t}}),wl=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),kl=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),Il=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),Xt=(e,o,t,r,n,i,a,s)=>({[`&${e}-background-ghost`]:{color:t||void 0,background:o,borderColor:r||void 0,boxShadow:"none",...qn(e,{background:o,...a},{background:o,...s}),"&:disabled":{cursor:"not-allowed",color:n||void 0,borderColor:i||void 0}}}),$l=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{...Il(e)}}),Ml=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),tt=(e,o,t,r)=>({...(r&&["link","text"].includes(r)?Ml:$l)(e),...qn(e.componentCls,o,t)}),Kt=(e,o,t,r,n)=>({[`&${e.componentCls}-variant-solid`]:{color:o,background:t,...tt(e,r,n)}}),Ut=(e,o,t,r,n)=>({[`&${e.componentCls}-variant-outlined, &${e.componentCls}-variant-dashed`]:{borderColor:o,background:t,...tt(e,r,n)}}),qt=e=>({[`&${e.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),Zt=(e,o,t,r)=>({[`&${e.componentCls}-variant-filled`]:{boxShadow:"none",background:o,...tt(e,t,r)}}),qe=(e,o,t,r,n)=>({[`&${e.componentCls}-variant-${t}`]:{color:o,boxShadow:"none",...tt(e,r,n,t)}}),Bl=e=>({color:e.defaultColor,boxShadow:e.defaultShadow,...Kt(e,e.solidTextColor,e.colorBgSolid,{color:e.solidTextColor,background:e.colorBgSolidHover},{color:e.solidTextColor,background:e.colorBgSolidActive}),...qt(e),...Zt(e,e.colorFillTertiary,{background:e.colorFillSecondary},{background:e.colorFill}),...qe(e,e.textTextColor,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive}),...Xt(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)}),Ll=e=>({color:e.colorPrimary,boxShadow:e.primaryShadow,...Ut(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer}),...qt(e),...Zt(e,e.colorPrimaryBg,{background:e.colorPrimaryBgHover},{background:e.colorPrimaryBorder}),...qe(e,e.colorLink,"text",{color:e.colorPrimaryTextHover,background:e.colorPrimaryBg},{color:e.colorPrimaryTextActive,background:e.colorPrimaryBorder}),...Xt(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})}),Ol=e=>({color:e.colorError,boxShadow:e.dangerShadow,...Kt(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive}),...Ut(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive}),...qt(e),...Zt(e,e.colorErrorBg,{background:e.colorErrorBgFilledHover},{background:e.colorErrorBgActive}),...qe(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive}),...qe(e,e.colorError,"link",{color:e.colorErrorHover},{color:e.colorErrorActive}),...Xt(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})}),El=e=>{let{componentCls:o}=e;return {[`${o}-color-default`]:Bl(e),[`${o}-color-primary`]:Ll(e),[`${o}-color-dangerous`]:Ol(e)}},Al=e=>({...Ut(e,e.defaultBorderColor,e.defaultBg,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg}),...qe(e,e.textTextColor,"text",{color:e.textTextHoverColor,background:e.textHoverBg},{color:e.textTextActiveColor,background:e.colorBgTextActive}),...Kt(e,e.primaryColor,e.colorPrimary,{background:e.colorPrimaryHover,color:e.primaryColor},{background:e.colorPrimaryActive,color:e.primaryColor}),...qe(e,e.colorLink,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})}),Yt=(e,o="")=>{let{componentCls:t,controlHeight:r,fontSize:n,borderRadius:i,buttonPaddingHorizontal:a,iconCls:s,buttonPaddingVertical:l,buttonIconOnlyFontSize:c}=e;return [{[o]:{fontSize:n,height:r,padding:`${unit(l)} ${unit(a)}`,borderRadius:i,[`&${t}-icon-only`]:{width:r,[s]:{fontSize:c,verticalAlign:"calc(-0.125em - 1px)"}}}},{[`${t}${t}-circle${o}`]:wl(e)},{[`${t}${t}-round${o}`]:kl(e)}]},Nl=e=>{let o=mergeToken(e,{fontSize:e.contentFontSize});return Yt(o,e.componentCls)},zl=e=>{let o=mergeToken(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:0,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return Yt(o,`${e.componentCls}-sm`)},Hl=e=>{let o=mergeToken(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return Yt(o,`${e.componentCls}-lg`)},Fl=e=>{let{componentCls:o}=e;return {[o]:{[`&${o}-block`]:{width:"100%"}}}},Zn=j("Button",e=>{let o=et(e);return [Rl(o),Nl(o),zl(o),Hl(o),Fl(o),El(o),Al(o),Gn(o)]},ot,{unitless:{fontWeight:true,contentLineHeight:true,contentLineHeightSM:true,contentLineHeightLG:true}});function Dl(e,o,t){let{focusElCls:r,focus:n,borderElCls:i}=t,a=i?"> *":"",s=["hover",n?"focus":null,"active"].filter(Boolean).map(l=>`&:${l} ${a}`).join(",");return {[`&-item:not(${o}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{[s]:{zIndex:2},...r?{[`&${r}`]:{zIndex:2}}:{},[`&[disabled] ${a}`]:{zIndex:0}}}}function Wl(e,o,t){let{borderElCls:r}=t,n=r?`> ${r}`:"";return {[`&-item:not(${o}-first-item):not(${o}-last-item) ${n}`]:{borderRadius:0},[`&-item:not(${o}-last-item)${o}-first-item`]:{[`& ${n}, &${e}-sm ${n}, &${e}-lg ${n}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${o}-first-item)${o}-last-item`]:{[`& ${n}, &${e}-sm ${n}, &${e}-lg ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function Yn(e,o={focus:true}){let{componentCls:t}=e,r=`${t}-compact`;return {[r]:{...Dl(e,r,o),...Wl(t,r,o)}}}function Gl(e,o){return {[`&-item:not(${o}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function Vl(e,o){return {[`&-item:not(${o}-first-item):not(${o}-last-item)`]:{borderRadius:0},[`&-item${o}-first-item:not(${o}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${o}-last-item:not(${o}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function Qn(e){let o=`${e.componentCls}-compact-vertical`;return {[o]:{...Gl(e,o),...Vl(e.componentCls,o)}}}var jl=e=>{let{componentCls:o,colorPrimaryHover:t,lineWidth:r,calc:n}=e,i=n(r).mul(-1).equal(),a=s=>({[`${o}-compact${s?"-vertical":""}-item${o}-primary:not([disabled])`]:{"& + &::before":{position:"absolute",top:s?i:0,insetInlineStart:s?0:i,backgroundColor:t,content:'""',width:s?"100%":r,height:s?r:"100%"}}});return {...a(),...a(true)}},Jn=$t(["Button","compact"],e=>{let o=et(e);return [Yn(o),Qn(o),jl(o)]},ot);function Ul(e){if(typeof e=="object"&&e){let o=e?.delay;return o=!Number.isNaN(o)&&typeof o=="number"?o:0,{loading:o<=0,delay:o}}return {loading:!!e,delay:0}}var ql={default:["default","outlined"],primary:["primary","solid"],dashed:["default","dashed"],link:["primary","link"],text:["default","text"]},Zl=k__default.forwardRef((e,o)=>{let{loading:t=false,prefixCls:r,color:n,variant:i,type:a,danger:s=false,shape:l="default",size:c,styles:p,disabled:m,className:d,rootClassName:f,children:u,icon:g,iconPosition:y="start",ghost:x=false,block:C=false,htmlType:b="button",classNames:I,style:B={},autoInsertSpace:$,autoFocus:v,...T}=e,P=a||"default",[A,h]=useMemo(()=>{if(n&&i)return [n,i];let L=ql[P]||[];return s?["danger",L[1]]:L},[a,n,i,s]),D=A==="danger"?"dangerous":A,{getPrefixCls:ne,direction:X,button:Y}=useContext(S),Pe=$??Y?.autoInsertSpace??true,w=ne("btn",r),[Ie,Ze,Ye]=Zn(w),Qe=useContext(Bo),Q=m??Qe,oe=useContext(Gt),ie=useMemo(()=>Ul(t),[t]),[K,Ce]=useState(ie.loading),[ae,se]=useState(false),le=useRef(null),$e=useComposeRef(o,le),Me=Children.count(u)===1&&!g&&!Qo(h),ve=useRef(true);k__default.useEffect(()=>(ve.current=false,()=>{ve.current=true;}),[]),useEffect(()=>{let L=null;ie.delay>0?L=setTimeout(()=>{L=null,Ce(true);},ie.delay):Ce(ie.loading);function st(){L&&(clearTimeout(L),L=null);}return st},[ie]),useEffect(()=>{if(!le.current||!Pe)return;let L=le.current.textContent||"";Me&&Zo(L)?ae||se(true):ae&&se(false);}),useEffect(()=>{v&&le.current&&le.current.focus();},[]);let ye=k__default.useCallback(L=>{if(K||Q){L.preventDefault();return}e.onClick?.(L);},[e.onClick,K,Q]),{compactSize:Je,compactItemClassnames:Be}=qr(w,X),eo={large:"lg",small:"sm",middle:void 0},Le=go(L=>c??Je??oe??L),Oe=Le?eo[Le]??"":"",oo=K?"loading":g,W=Kn(T,["navigate"]),to=er(w,Ze,Ye,{[`${w}-${l}`]:l!=="default"&&l,[`${w}-${P}`]:P,[`${w}-dangerous`]:s,[`${w}-color-${D}`]:D,[`${w}-variant-${h}`]:h,[`${w}-${Oe}`]:Oe,[`${w}-icon-only`]:!u&&u!==0&&!!oo,[`${w}-background-ghost`]:x&&!Qo(h),[`${w}-loading`]:K,[`${w}-two-chinese-chars`]:ae&&Pe&&!K,[`${w}-block`]:C,[`${w}-rtl`]:X==="rtl",[`${w}-icon-end`]:y==="end"},Be,d,f,Y?.className),To={...Y?.style,...B},it=er(I?.icon,Y?.classNames?.icon),at={...p?.icon||{},...Y?.styles?.icon||{}},Po=g&&!K?k__default.createElement(Jo,{prefixCls:w,className:it,style:at},g):k__default.createElement(Dn,{existIcon:!!g,prefixCls:w,loading:K,mount:ve.current}),vo=u||u===0?zn(u,Me&&Pe):null;if(W.href!==void 0)return Ie(k__default.createElement("a",{...W,className:er(to,{[`${w}-disabled`]:Q}),href:Q?void 0:W.href,style:To,onClick:ye,ref:$e,tabIndex:Q?-1:0},Po,vo));let ro=k__default.createElement("button",{...T,type:b,className:to,style:To,onClick:ye,disabled:Q,ref:$e},Po,vo,Be&&k__default.createElement(Jn,{prefixCls:w}));return Qo(h)||(ro=k__default.createElement(On,{component:"Button",disabled:K},ro)),Ie(ro)}),or=Zl;or.Group=En;or.__ANT_BUTTON=true;var ri=or;var rt=ri;function tr(e){return !!e?.then}var Ql=e=>{let{type:o,children:t,prefixCls:r,buttonProps:n,close:i,autoFocus:a,emitEvent:s,isSilent:l,quitOnNullishReturnValue:c,actionFn:p}=e,m=k.useRef(false),d=k.useRef(null),[f,u]=Yl(false),g=(...C)=>{i?.(...C);};k.useEffect(()=>{let C=null;return a&&(C=setTimeout(()=>{d.current?.focus({preventScroll:true});})),()=>{C&&clearTimeout(C);}},[]);let y=C=>{tr(C)&&(u(true),C.then((...b)=>{u(false,true),g(...b),m.current=false;},b=>{if(u(false,true),m.current=false,!l?.())return Promise.reject(b)}));},x=C=>{if(m.current)return;if(m.current=true,!p){g();return}let b;if(s){if(b=p(C),c&&!tr(b)){m.current=false,g(C);return}}else if(p.length)b=p(i),m.current=false;else if(b=p(),!tr(b)){g();return}y(b);};return k.createElement(rt,{...Yo(o),onClick:x,loading:f,prefixCls:r,...n,ref:d},t)},ni=Ql;var Jl=e=>{let{componentCls:o,iconCls:t,antCls:r,zIndexPopup:n,colorText:i,colorWarning:a,marginXXS:s,marginXS:l,fontSize:c,fontWeightStrong:p,colorTextHeading:m}=e;return {[o]:{zIndex:n,[`&${r}-popover`]:{fontSize:c},[`${o}-message`]:{marginBottom:l,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${o}-message-icon ${t}`]:{color:a,fontSize:c,lineHeight:1,marginInlineEnd:l},[`${o}-title`]:{fontWeight:p,color:m,"&:only-child":{fontWeight:"normal"}},[`${o}-description`]:{marginTop:s,color:i}},[`${o}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:l}}}}},ec=e=>{let{zIndexPopupBase:o}=e;return {zIndexPopup:o+60}},nt=j("Popconfirm",e=>Jl(e),ec,{resetStyle:false});var rr=e=>{let{prefixCls:o,okButtonProps:t,cancelButtonProps:r,title:n,description:i,cancelText:a,okText:s,okType:l="primary",icon:c=k.createElement(oc,null),showCancel:p=true,close:m,onConfirm:d,onCancel:f,onPopupClick:u}=e,{getPrefixCls:g}=k.useContext(S),[y]=$o("Popconfirm",J.Popconfirm),x=me(n),C=me(i);return k.createElement("div",{className:`${o}-inner-content`,onClick:u},k.createElement("div",{className:`${o}-message`},c&&k.createElement("span",{className:`${o}-message-icon`},c),k.createElement("div",{className:`${o}-message-text`},x&&k.createElement("div",{className:`${o}-title`},x),C&&k.createElement("div",{className:`${o}-description`},C))),k.createElement("div",{className:`${o}-buttons`},p&&k.createElement(rt,{onClick:f,size:"small",...r},a||y?.cancelText),k.createElement(ni,{buttonProps:{size:"small",...Yo(l),...t},actionFn:d,close:m,prefixCls:g("btn"),quitOnNullishReturnValue:true,emitEvent:true},s||y?.okText)))},rc=e=>{let{prefixCls:o,placement:t,className:r,style:n,...i}=e,{getPrefixCls:a}=k.useContext(S),s=a("popconfirm",o),[l]=nt(s);return l(k.createElement(Ko,{placement:t,className:er(s,r),style:n,content:k.createElement(rr,{prefixCls:s,...i})}))},ii=rc;var lc=k.forwardRef((e,o)=>{let{prefixCls:t,placement:r="top",trigger:n="click",okType:i="primary",icon:a=k.createElement(oc,null),children:s,overlayClassName:l,onOpenChange:c,onVisibleChange:p,...m}=e,{getPrefixCls:d}=k.useContext(S),[f,u]=xs(false,{value:e.open??e.visible,defaultValue:e.defaultOpen??e.defaultVisible}),g=(v,T)=>{u(v,true),p?.(v),c?.(v,T);},y=v=>{g(false,v);},x=v=>e.onConfirm?.call(void 0,v),C=v=>{g(false,v),e.onCancel?.call(void 0,v);},b=(v,T)=>{let{disabled:P=false}=e;P||g(v,T);},I=d("popconfirm",t),B=er(I,l),[$]=nt(I);return $(k.createElement(vn,{...Kn(m,["title"]),trigger:n,placement:r,onOpenChange:b,open:f,ref:o,overlayClassName:B,content:k.createElement(rr,{okType:i,icon:a,...e,prefixCls:I,close:y,onConfirm:x,onCancel:C}),"data-popover-inject":true},s))}),ai=lc;ai._InternalPanelDoNotUseOrYouWillBeFired=ii;var My=ai;export{My as default};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { FullToken, GetDefaultToken } from '../../theme/internal';
|
|
2
|
-
export interface ComponentToken {
|
|
3
|
-
/**
|
|
4
|
-
* @desc 确认框 z-index
|
|
5
|
-
* @descEN z-index of Popconfirm
|
|
6
|
-
*/
|
|
7
|
-
zIndexPopup: number;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* @desc Popconfirm 组件的 Token
|
|
11
|
-
* @descEN Token for Popconfirm component
|
|
12
|
-
*/
|
|
13
|
-
export interface PopconfirmToken extends FullToken<'Popconfirm'> {
|
|
14
|
-
}
|
|
15
|
-
export declare const prepareComponentToken: GetDefaultToken<'Popconfirm'>;
|
|
16
|
-
declare const _default: (prefixCls: string, rootCls?: string) => readonly [(node: React.ReactElement) => React.ReactElement, string, string];
|
|
17
|
-
export default _default;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import {createTheme,useCacheToken}from'@ant-design/cssinjs';import {genStyleUtils}from'@ant-design/cssinjs-utils';import*as de from'react';import de__default,{useContext}from'react';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';function j(e){return (e+8)/e}function h(e){let t=new Array(10).fill(null).map((r,n)=>{let o=n-1,s=e*Math.E**(o/5),i=n>1?Math.floor(s):Math.ceil(s);return Math.floor(i/2)*2});return t[1]=e,t.map(r=>({size:r,lineHeight:j(r)}))}var W={version:"0.0.2"};var $=W.version;var v={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"},se={...v,colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
2
|
-
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
3
|
-
'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:false,motion:true},u=se;function z(e,{generateColorPalettes:t,generateNeutralColorPalettes:r}){let{colorSuccess:n,colorWarning:o,colorError:s,colorInfo:i,colorPrimary:c,colorBgBase:g,colorTextBase:l}=e,a=t(c),p=t(n),m=t(o),f=t(s),C=t(i),ne=r(g,l),ie=e.colorLink||e.colorInfo,P=t(ie),ae=new TinyColor(f[1]).mix(new TinyColor(f[3]),50).toHexString();return {...ne,colorPrimaryBg:a[1],colorPrimaryBgHover:a[2],colorPrimaryBorder:a[3],colorPrimaryBorderHover:a[4],colorPrimaryHover:a[5],colorPrimary:a[6],colorPrimaryActive:a[7],colorPrimaryTextHover:a[8],colorPrimaryText:a[9],colorPrimaryTextActive:a[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:f[1],colorErrorBgHover:f[2],colorErrorBgFilledHover:ae,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: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:C[1],colorInfoBgHover:C[2],colorInfoBorder:C[3],colorInfoBorderHover:C[4],colorInfoHover:C[4],colorInfo:C[6],colorInfoActive:C[7],colorInfoTextHover:C[8],colorInfoText:C[9],colorInfoTextActive:C[10],colorLinkHover:P[4],colorLink:P[6],colorLinkActive:P[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var ce=e=>{let t=e,r=e,n=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?r=4:e<8&&e>=7?r=5:e<14&&e>=8?r=6:e<16&&e>=14?r=7:e>=16&&(r=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:r,borderRadiusLG:t,borderRadiusOuter:o}},N=ce;function H(e){let{motionUnit:t,motionBase:r,borderRadius:n,lineWidth:o}=e;return {motionDurationFast:`${(r+t).toFixed(1)}s`,motionDurationMid:`${(r+t*2).toFixed(1)}s`,motionDurationSlow:`${(r+t*3).toFixed(1)}s`,lineWidthBold:o+1,...N(n)}}var pe=e=>{let{controlHeight:t}=e;return {controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}},U=pe;var ge=e=>{let t=h(e),r=t.map(a=>a.size),n=t.map(a=>a.lineHeight),o=r[1],s=r[0],i=r[2],c=n[1],g=n[0],l=n[2];return {fontSizeSM:s,fontSize:o,fontSizeLG:i,fontSizeXL:r[3],fontSizeHeading1:r[6],fontSizeHeading2:r[5],fontSizeHeading3:r[4],fontSizeHeading4:r[3],fontSizeHeading5:r[2],lineHeight:c,lineHeightLG:l,lineHeightSM:g,fontHeight:Math.round(c*o),fontHeightLG:Math.round(l*i),fontHeightSM:Math.round(g*s),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},V=ge;function w(e){let{sizeUnit:t,sizeStep:r}=e;return {sizeXXL:t*(r+8),sizeXL:t*(r+4),sizeLG:t*(r+2),sizeMD:t*(r+1),sizeMS:t*r,size:t*r,sizeSM:t*(r-1),sizeXS:t*(r-2),sizeXXS:t*(r-3)}}var d=(e,t)=>new TinyColor(e).setAlpha(t).toRgbString(),y=(e,t)=>new TinyColor(e).darken(t).toHexString();var _=e=>{let t=generate(e);return {1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},q=(e,t)=>{let r=e||"#fff",n=t||"#000";return {colorBgBase:r,colorTextBase:n,colorText:d(n,.88),colorTextSecondary:d(n,.65),colorTextTertiary:d(n,.45),colorTextQuaternary:d(n,.25),colorFill:d(n,.15),colorFillSecondary:d(n,.06),colorFillTertiary:d(n,.04),colorFillQuaternary:d(n,.02),colorBgSolid:d(n,1),colorBgSolidHover:d(n,.75),colorBgSolidActive:d(n,.95),colorBgLayout:y(r,4),colorBgContainer:y(r,0),colorBgElevated:y(r,0),colorBgSpotlight:d(n,.85),colorBgBlur:"transparent",colorBorder:y(r,15),colorBorderSecondary:y(r,6)}};function L(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let t=Object.keys(v).map(r=>{let n=e[r]===presetPrimaryColors[r]?presetPalettes[r]:generate(e[r]);return new Array(10).fill(1).reduce((o,s,i)=>(o[`${r}-${i+1}`]=n[i],o[`${r}${i+1}`]=n[i],o),{})}).reduce((r,n)=>(r={...r,...n},r),{});return {...e,...t,...z(e,{generateColorPalettes:_,generateNeutralColorPalettes:q}),...V(e.fontSize),...w(e),...U(e),...H(e)}}var K=createTheme(L),J={token:u,override:{override:u},hashed:true},D=de__default.createContext(J);function B(e){return e>=0&&e<=255}function ue(e,t){let{r,g:n,b:o,a:s}=new TinyColor(e).toRgb();if(s<1)return e;let{r:i,g:c,b:g}=new TinyColor(t).toRgb();for(let l=.01;l<=1;l+=.01){let a=Math.round((r-i*(1-l))/l),p=Math.round((n-c*(1-l))/l),m=Math.round((o-g*(1-l))/l);if(B(a)&&B(p)&&B(m))return new TinyColor({r:a,g:p,b:m,a:Math.round(l*100)/100}).toRgbString()}return new TinyColor({r,g:n,b:o,a:1}).toRgbString()}var S=ue;function k(e){let{override:t,...r}=e,n={...t};Object.keys(u).forEach(m=>{delete n[m];});let o={...r,...n},s=480,i=576,c=768,g=992,l=1200,a=1600;return o.motion===false&&(o.motionDurationFast="0s",o.motionDurationMid="0s",o.motionDurationSlow="0s"),{...o,colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:S(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:S(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:S(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:o.lineWidth*3,lineWidth:o.lineWidth,controlOutlineWidth:o.lineWidth*2,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:S(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:`
|
|
4
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
5
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
6
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
7
|
-
`,boxShadowSecondary:`
|
|
8
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
9
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
10
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
11
|
-
`,boxShadowTertiary:`
|
|
12
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
|
13
|
-
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
14
|
-
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
15
|
-
`,screenXS:s,screenXSMin:s,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:c-1,screenMD:c,screenMDMin:c,screenMDMax:g-1,screenLG:g,screenLGMin:g,screenLGMax:l-1,screenXL:l,screenXLMin:l,screenXLMax:a-1,screenXXL:a,screenXXLMin:a,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 R={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},xe={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},Te={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},Y=(e,t,r)=>{let n=r.getDerivativeToken(e),{override:o,...s}=t,i={...n,override:o};return i=k(i),s&&Object.entries(s).forEach(([c,g])=>{let{theme:l,...a}=g,p=a;l&&(p=Y({...i,...a},{override:a},l)),i[c]=p;}),i};function x(){let{token:e,hashed:t,theme:r,override:n,cssVar:o}=de__default.useContext(D),s=`${$}-${t||""}`,i=r||K,[c,g,l]=useCacheToken(i,[u,e],{salt:s,override:n,getComputedToken:Y,formatToken:k,cssVar:o&&{prefix:o.prefix,key:o.key,unitless:R,ignore:xe,preserve:Te}});return [i,l,t?g:"",c,o]}var Z="ant",X="anticon";var ke=(e,t)=>t||(e?`${Z}-${e}`:Z),b=de.createContext({getPrefixCls:ke,iconPrefixCls:X}),{Consumer:ho}=b;var be=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}});var oe=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"}}}),te=(e,t,r,n)=>{let o=`[class^="${t}"], [class*=" ${t}"]`,s=r?`.${r}`:o,i={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},c={};return n!==false&&(c={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[s]:{...c,...i,[o]:i}}};var G=e=>({[`.${e}`]:{...be(),[`.${e} .${e}-icon`]:{display:"block"}}});var{genStyleHooks:O,genComponentStyleHook:he,genSubStyleComponent:ve}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:t}=useContext(b);return {rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{let[e,t,r,n,o]=x();return {theme:e,realToken:t,hashId:r,token:n,cssVar:o}},useCSP:()=>{let{csp:e}=useContext(b);return e??{}},getResetStyles:(e,t)=>[{"&":oe(e)},G(t?.prefix.iconPrefixCls??X)],getCommonStyle:te,getCompUnitless:(()=>R)});var Me=e=>{let{componentCls:t,iconCls:r,antCls:n,zIndexPopup:o,colorText:s,colorWarning:i,marginXXS:c,marginXS:g,fontSize:l,fontWeightStrong:a,colorTextHeading:p}=e;return {[t]:{zIndex:o,[`&${n}-popover`]:{fontSize:l},[`${t}-message`]:{marginBottom:g,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${t}-message-icon ${r}`]:{color:i,fontSize:l,lineHeight:1,marginInlineEnd:g},[`${t}-title`]:{fontWeight:a,color:p,"&:only-child":{fontWeight:"normal"}},[`${t}-description`]:{marginTop:c,color:s}},[`${t}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:g}}}}},ze=e=>{let{zIndexPopupBase:t}=e;return {zIndexPopup:t+60}},at=O("Popconfirm",e=>Me(e),ze,{resetStyle:false});export{at as default,ze as prepareComponentToken};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { PopoverProps } from '.';
|
|
3
|
-
interface OverlayProps {
|
|
4
|
-
prefixCls?: string;
|
|
5
|
-
title?: React.ReactNode;
|
|
6
|
-
content?: React.ReactNode;
|
|
7
|
-
}
|
|
8
|
-
export declare const Overlay: React.FC<OverlayProps>;
|
|
9
|
-
export interface PurePanelProps extends Omit<PopoverProps, 'children'> {
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
}
|
|
12
|
-
interface RawPurePanelProps extends PopoverProps {
|
|
13
|
-
hashId: string;
|
|
14
|
-
}
|
|
15
|
-
export declare const RawPurePanel: React.FC<RawPurePanelProps>;
|
|
16
|
-
declare const PurePanel: React.FC<PurePanelProps>;
|
|
17
|
-
export default PurePanel;
|
package/es/popover/PurePanel.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import*as g from'react';import g__default,{createContext,useContext}from'react';import Uo from'classnames';import {Popup}from'rc-tooltip';import {createTheme,Keyframes,useCacheToken,unit,useStyleRegister}from'@ant-design/cssinjs';import Vr from'@ant-design/icons/lib/components/Context';import Nr from'rc-util/lib/hooks/useMemo';import {merge}from'rc-util/lib/utils/set';import'rc-util/lib/warning';import'rc-pagination/lib/locale/en_US';import rr from'rc-picker/lib/locale/en_US';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';import hr from'rc-util/lib/Dom/canUseDom';import {updateCSS}from'rc-util/lib/Dom/dynamicCSS';import jr from'rc-util/lib/isEqual';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import {Provider}from'rc-motion';var xe=e=>e?typeof e=="function"?e():e:null;function Ge(){}var er=Ge,Ue=g.createContext({}),re=()=>{let e=()=>{};return e.deprecated=Ge,e},V=er;var qe=createContext(void 0);({lang:{...rr}});var x="${label} is not a valid ${type}",ar={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:x,method:x,array:x,object:x,number:x,date:x,boolean:x,integer:x,float:x,regexp:x,email:x,url:x,hex:x},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}"}}}},I=ar;({...I.Modal});var ae=[],Ye=()=>ae.reduce((e,o)=>({...e,...o}),I.Modal);function Qe(e){if(e){let o={...e};return ae.push(o),Ye(),()=>{ae=ae.filter(r=>r!==o),Ye();}}({...I.Modal});}var lr=createContext(void 0),X=lr;var eo="internalMark",cr=e=>{let{locale:o={},children:r,_ANT_MARK__:n}=e;g.useEffect(()=>Qe(o?.Modal),[o]);let t=g.useMemo(()=>({...o,exist:true}),[o]);return g.createElement(X.Provider,{value:t},r)},oo=cr;var Te={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"},pr={...Te,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},M=pr;function be(e,{generateColorPalettes:o,generateNeutralColorPalettes:r}){let{colorSuccess:n,colorWarning:t,colorError:a,colorInfo:i,colorPrimary:l,colorBgBase:c,colorTextBase:s}=e,p=o(l),m=o(n),f=o(t),d=o(a),u=o(i),b=r(c,s),N=e.colorLink||e.colorInfo,T=o(N),R=new TinyColor(d[1]).mix(new TinyColor(d[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:d[1],colorErrorBgHover:d[2],colorErrorBgFilledHover:R,colorErrorBgActive:d[3],colorErrorBorder:d[3],colorErrorBorderHover:d[4],colorErrorHover:d[5],colorError:d[6],colorErrorActive:d[7],colorErrorTextHover:d[8],colorErrorText:d[9],colorErrorTextActive:d[10],colorWarningBg:f[1],colorWarningBgHover:f[2],colorWarningBorder:f[3],colorWarningBorderHover:f[4],colorWarningHover:f[4],colorWarning:f[6],colorWarningActive:f[7],colorWarningTextHover:f[8],colorWarningText:f[9],colorWarningTextActive:f[10],colorInfoBg:u[1],colorInfoBgHover:u[2],colorInfoBorder:u[3],colorInfoBorderHover:u[4],colorInfoHover:u[4],colorInfo:u[6],colorInfoActive:u[7],colorInfoTextHover:u[8],colorInfoText:u[9],colorInfoTextActive:u[10],colorLinkHover:T[4],colorLink:T[6],colorLinkActive:T[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var mr=e=>{let o=e,r=e,n=e,t=e;return e<6&&e>=5?o=e+1:e<16&&e>=6?o=e+2:e>=16&&(o=16),e<7&&e>=5?r=4:e<8&&e>=7?r=5:e<14&&e>=8?r=6:e<16&&e>=14?r=7:e>=16&&(r=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?t=4:e>=8&&(t=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:r,borderRadiusLG:o,borderRadiusOuter:t}},to=mr;function ke(e){let{motionUnit:o,motionBase:r,borderRadius:n,lineWidth:t}=e;return {motionDurationFast:`${(r+o).toFixed(1)}s`,motionDurationMid:`${(r+o*2).toFixed(1)}s`,motionDurationSlow:`${(r+o*3).toFixed(1)}s`,lineWidthBold:t+1,...to(n)}}var fr=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},ro=fr;function no(e){return (e+8)/e}function ve(e){let o=new Array(10).fill(null).map((r,n)=>{let t=n-1,a=e*Math.E**(t/5),i=n>1?Math.floor(a):Math.ceil(a);return Math.floor(i/2)*2});return o[1]=e,o.map(r=>({size:r,lineHeight:no(r)}))}var gr=e=>{let o=ve(e),r=o.map(p=>p.size),n=o.map(p=>p.lineHeight),t=r[1],a=r[0],i=r[2],l=n[1],c=n[0],s=n[2];return {fontSizeSM:a,fontSize:t,fontSizeLG:i,fontSizeXL:r[3],fontSizeHeading1:r[6],fontSizeHeading2:r[5],fontSizeHeading3:r[4],fontSizeHeading4:r[3],fontSizeHeading5:r[2],lineHeight:l,lineHeightLG:s,lineHeightSM:c,fontHeight:Math.round(l*t),fontHeightLG:Math.round(s*i),fontHeightSM:Math.round(c*a),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},io=gr;function we(e){let{sizeUnit:o,sizeStep:r}=e;return {sizeXXL:o*(r+8),sizeXL:o*(r+4),sizeLG:o*(r+2),sizeMD:o*(r+1),sizeMS:o*r,size:o*r,sizeSM:o*(r-1),sizeXS:o*(r-2),sizeXXS:o*(r-3)}}var S=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),H=(e,o)=>new TinyColor(e).darken(o).toHexString();var so=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]}},lo=(e,o)=>{let r=e||"#fff",n=o||"#000";return {colorBgBase:r,colorTextBase:n,colorText:S(n,.88),colorTextSecondary:S(n,.65),colorTextTertiary:S(n,.45),colorTextQuaternary:S(n,.25),colorFill:S(n,.15),colorFillSecondary:S(n,.06),colorFillTertiary:S(n,.04),colorFillQuaternary:S(n,.02),colorBgSolid:S(n,1),colorBgSolidHover:S(n,.75),colorBgSolidActive:S(n,.95),colorBgLayout:H(r,4),colorBgContainer:H(r,0),colorBgElevated:H(r,0),colorBgSpotlight:S(n,.85),colorBgBlur:"transparent",colorBorder:H(r,15),colorBorderSecondary:H(r,6)}};function Oe(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys(Te).map(r=>{let n=e[r]===presetPrimaryColors[r]?presetPalettes[r]:generate(e[r]);return new Array(10).fill(1).reduce((t,a,i)=>(t[`${r}-${i+1}`]=n[i],t[`${r}${i+1}`]=n[i],t),{})}).reduce((r,n)=>(r={...r,...n},r),{});return {...e,...o,...be(e,{generateColorPalettes:so,generateNeutralColorPalettes:lo}),...io(e.fontSize),...we(e),...ro(e),...ke(e)}}var se=createTheme(Oe),K={token:M,override:{override:M},hashed:true},G=g__default.createContext(K);var le="ant",U="anticon";var xr=(e,o)=>o||(e?`${le}-${e}`:le),v=g.createContext({getPrefixCls:xr,iconPrefixCls:U}),{Consumer:Sr}=v;var Pr=`-ant-${Date.now()}-${Math.random()}`;function br(e,o){let r={},n=(i,l)=>{let c=i.clone();return c=l?.(c)||c,c.toRgbString()},t=(i,l)=>{let c=new TinyColor(i),s=generate(c.toRgbString());r[`${l}-color`]=n(c),r[`${l}-color-disabled`]=s[1],r[`${l}-color-hover`]=s[4],r[`${l}-color-active`]=s[6],r[`${l}-color-outline`]=c.clone().setAlpha(.2).toRgbString(),r[`${l}-color-deprecated-bg`]=s[0],r[`${l}-color-deprecated-border`]=s[2];};if(o.primaryColor){t(o.primaryColor,"primary");let i=new TinyColor(o.primaryColor),l=generate(i.toRgbString());l.forEach((s,p)=>{r[`primary-${p+1}`]=s;}),r["primary-color-deprecated-l-35"]=n(i,s=>s.lighten(35)),r["primary-color-deprecated-l-20"]=n(i,s=>s.lighten(20)),r["primary-color-deprecated-t-20"]=n(i,s=>s.tint(20)),r["primary-color-deprecated-t-50"]=n(i,s=>s.tint(50)),r["primary-color-deprecated-f-12"]=n(i,s=>s.setAlpha(s.getAlpha()*.12));let c=new TinyColor(l[0]);r["primary-color-active-deprecated-f-30"]=n(c,s=>s.setAlpha(s.getAlpha()*.3)),r["primary-color-active-deprecated-d-02"]=n(c,s=>s.darken(2));}return o.successColor&&t(o.successColor,"success"),o.warningColor&&t(o.warningColor,"warning"),o.errorColor&&t(o.errorColor,"error"),o.infoColor&&t(o.infoColor,"info"),`
|
|
4
|
-
:root {
|
|
5
|
-
${Object.keys(r).map(i=>`--${e}-${i}: ${r[i]};`).join(`
|
|
6
|
-
`)}
|
|
7
|
-
}
|
|
8
|
-
`.trim()}function mo(e,o){let r=br(e,o);hr()?updateCSS(r,`${Pr}-dynamic-theme`):V();}var $e=g.createContext(false),fo=({children:e,disabled:o})=>{let r=g.useContext($e);return g.createElement($e.Provider,{value:o??r},e)},go=$e;var Ie=g.createContext(void 0),uo=({children:e,size:o})=>{let r=g.useContext(Ie);return g.createElement(Ie.Provider,{value:o||r},e)},q=Ie;function kr(){let e=useContext(go),o=useContext(q);return {componentDisabled:e,componentSize:o}}var yo=kr;var Z=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"];var xo={version:"0.0.2"};var So=xo.version;function ze(e){return e>=0&&e<=255}function wr(e,o){let{r,g:n,b:t,a}=new TinyColor(e).toRgb();if(a<1)return e;let{r:i,g:l,b:c}=new TinyColor(o).toRgb();for(let s=.01;s<=1;s+=.01){let p=Math.round((r-i*(1-s))/s),m=Math.round((n-l*(1-s))/s),f=Math.round((t-c*(1-s))/s);if(ze(p)&&ze(m)&&ze(f))return new TinyColor({r:p,g:m,b:f,a:Math.round(s*100)/100}).toRgbString()}return new TinyColor({r,g:n,b:t,a:1}).toRgbString()}var Y=wr;function pe(e){let{override:o,...r}=e,n={...o};Object.keys(M).forEach(f=>{delete n[f];});let t={...r,...n},a=480,i=576,l=768,c=992,s=1200,p=1600;return t.motion===false&&(t.motionDurationFast="0s",t.motionDurationMid="0s",t.motionDurationSlow="0s"),{...t,colorFillContent:t.colorFillSecondary,colorFillContentHover:t.colorFill,colorFillAlter:t.colorFillQuaternary,colorBgContainerDisabled:t.colorFillTertiary,colorBorderBg:t.colorBgContainer,colorSplit:Y(t.colorBorderSecondary,t.colorBgContainer),colorTextPlaceholder:t.colorTextQuaternary,colorTextDisabled:t.colorTextQuaternary,colorTextHeading:t.colorText,colorTextLabel:t.colorTextSecondary,colorTextDescription:t.colorTextTertiary,colorTextLightSolid:t.colorWhite,colorHighlight:t.colorError,colorBgTextHover:t.colorFillSecondary,colorBgTextActive:t.colorFill,colorIcon:t.colorTextTertiary,colorIconHover:t.colorText,colorErrorOutline:Y(t.colorErrorBg,t.colorBgContainer),colorWarningOutline:Y(t.colorWarningBg,t.colorBgContainer),fontSizeIcon:t.fontSizeSM,lineWidthFocus:t.lineWidth*3,lineWidth:t.lineWidth,controlOutlineWidth:t.lineWidth*2,controlInteractiveSize:t.controlHeight/2,controlItemBgHover:t.colorFillTertiary,controlItemBgActive:t.colorPrimaryBg,controlItemBgActiveHover:t.colorPrimaryBgHover,controlItemBgActiveDisabled:t.colorFill,controlTmpOutline:t.colorFillQuaternary,controlOutline:Y(t.colorPrimaryBg,t.colorBgContainer),lineType:t.lineType,borderRadius:t.borderRadius,borderRadiusXS:t.borderRadiusXS,borderRadiusSM:t.borderRadiusSM,borderRadiusLG:t.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:t.sizeXXS,paddingXS:t.sizeXS,paddingSM:t.sizeSM,padding:t.size,paddingMD:t.sizeMD,paddingLG:t.sizeLG,paddingXL:t.sizeXL,paddingContentHorizontalLG:t.sizeLG,paddingContentVerticalLG:t.sizeMS,paddingContentHorizontal:t.sizeMS,paddingContentVertical:t.sizeSM,paddingContentHorizontalSM:t.size,paddingContentVerticalSM:t.sizeXS,marginXXS:t.sizeXXS,marginXS:t.sizeXS,marginSM:t.sizeSM,margin:t.size,marginMD:t.sizeMD,marginLG:t.sizeLG,marginXL:t.sizeXL,marginXXL:t.sizeXXL,boxShadow:`
|
|
9
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
10
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
11
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
12
|
-
`,boxShadowSecondary:`
|
|
13
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
14
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
15
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
16
|
-
`,boxShadowTertiary:`
|
|
17
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
|
18
|
-
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
19
|
-
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
20
|
-
`,screenXS:a,screenXSMin:a,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:l-1,screenMD:l,screenMDMin:l,screenMDMax:c-1,screenLG:c,screenLGMin:c,screenLGMax:s-1,screenXL:s,screenXLMin:s,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 De={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},Or={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},Lr={screenXS:true,screenXSMin:true,screenXSMax:true,screenSM:true,screenSMMin:true,screenSMMax:true,screenMD:true,screenMDMin:true,screenMDMax:true,screenLG:true,screenLGMin:true,screenLGMax:true,screenXL:true,screenXLMin:true,screenXLMax:true,screenXXL:true,screenXXLMin:true},ho=(e,o,r)=>{let n=r.getDerivativeToken(e),{override:t,...a}=o,i={...n,override:t};return i=pe(i),a&&Object.entries(a).forEach(([l,c])=>{let{theme:s,...p}=c,m=p;s&&(m=ho({...i,...p},{override:p},s)),i[l]=m;}),i};function O(){let{token:e,hashed:o,theme:r,override:n,cssVar:t}=g__default.useContext(G),a=`${So}-${o||""}`,i=r||se,[l,c,s]=useCacheToken(i,[M,e],{salt:a,override:n,getComputedToken:ho,formatToken:pe,cssVar:t&&{prefix:t.prefix,key:t.key,unitless:De,ignore:Or,preserve:Lr}});return [i,s,o?c:"",l,t]}var To=(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}),$r=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}});var Po=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"}}}),bo=(e,o,r,n)=>{let t=`[class^="${o}"], [class*=" ${o}"]`,a=r?`.${r}`:t,i={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},l={};return n!==false&&(l={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[a]:{...l,...i,[t]:i}}};var me=e=>({[`.${e}`]:{...$r(),[`.${e} .${e}-icon`]:{display:"block"}}});var{genStyleHooks:We,genComponentStyleHook:zr,genSubStyleComponent:Ar}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:o}=useContext(v);return {rootPrefixCls:e(),iconPrefixCls:o}},useToken:()=>{let[e,o,r,n,t]=O();return {theme:e,realToken:o,hashId:r,token:n,cssVar:t}},useCSP:()=>{let{csp:e}=useContext(v);return e??{}},getResetStyles:(e,o)=>[{"&":Po(e)},me(o?.prefix.iconPrefixCls??U)],getCommonStyle:bo,getCompUnitless:(()=>De)});var Wr=(e,o)=>{let[r,n]=O();return useStyleRegister({theme:r,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>o?.nonce,layer:{name:"antd"}},()=>[me(e)])},fe=Wr;var Hr={...g},{useId:wo}=Hr,Fr=()=>"",Br=typeof wo>"u"?Fr:wo,Mo=Br;function Ee(e,o,r){re();let t=e||{},a=t.inherit===false||!o?{...K,hashed:o?.hashed??K.hashed,cssVar:o?.cssVar}:o,i=Mo();return Nr(()=>{if(!e)return o;let l={...a.components};Object.keys(e.components||{}).forEach(p=>{l[p]={...l[p],...e.components[p]};});let c=`css-var-${i.replace(/:/g,"")}`,s=(t.cssVar??a.cssVar)&&{prefix:r?.prefixCls,...typeof a.cssVar=="object"?a.cssVar:{},...typeof t.cssVar=="object"?t.cssVar:{},key:typeof t.cssVar=="object"&&t.cssVar?.key||c};return {...a,...t,token:{...a.token,...t.token},components:l,cssVar:s}},[t,a],(l,c)=>l.some((s,p)=>{let m=c[p];return !jr(s,m,true)}))}function He(e){let{children:o}=e,[,r]=O(),{motion:n}=r,t=g.useRef(false);return t.current=t.current||n===false,t.current?g.createElement(Provider,{motion:n},o):o}g.memo(({dropdownMatchSelectWidth:e})=>(re().deprecated(e===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null));var Oo=()=>null;var Gr=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"],$o;function Yr(){return $o||le}function Qr(e){return Object.keys(e).some(o=>o.endsWith("Color"))}var Jr=e=>{let{prefixCls:o,iconPrefixCls:r,theme:n,holderRender:t}=e;o!==void 0&&($o=o),n&&(Qr(n)?(mo(Yr(),n)):n);};var en=e=>{let{children:o,csp:r,autoInsertSpaceInButton:n,alert:t,anchor:a,form:i,locale:l,componentSize:c,direction:s,space:p,splitter:m,virtual:f,dropdownMatchSelectWidth:d,popupMatchSelectWidth:u,popupOverflow:b,legacyLocale:N,parentContext:T,iconPrefixCls:R,theme:ee,componentDisabled:oe,segmented:qo,statistic:Zo,spin:Yo,calendar:Qo,carousel:Jo,cascader:et,collapse:ot,typography:tt,checkbox:rt,descriptions:nt,divider:it,drawer:at,skeleton:st,steps:lt,image:ct,layout:pt,list:mt,mentions:ft,modal:gt,progress:dt,result:ut,slider:Ct,breadcrumb:yt,menu:xt,pagination:St,input:ht,textArea:Tt,empty:Pt,badge:bt,radio:kt,rate:vt,switch:wt,transfer:Mt,avatar:Rt,message:Ot,tag:Lt,table:$t,card:It,tabs:zt,timeline:At,timePicker:Dt,upload:Wt,notification:Et,tree:Ht,colorPicker:Ft,datePicker:Bt,rangePicker:Nt,flex:jt,wave:_t,dropdown:Vt,warning:Xt,tour:Kt,variant:Gt,inputNumber:Ut,treeSelect:qt}=e,_e=g.useCallback((C,k)=>{let{prefixCls:D}=e;if(k)return k;let W=D||T.getPrefixCls("");return C?`${W}-${C}`:W},[T.getPrefixCls,e.prefixCls]),j=R||T.iconPrefixCls||U,_=r||T.csp;fe(j,_);let ue=Ee(ee,T.theme,{prefixCls:_e("")}),Ce={csp:_,autoInsertSpaceInButton:n,alert:t,anchor:a,locale:l||N,direction:s,space:p,splitter:m,virtual:f,popupMatchSelectWidth:u??d,popupOverflow:b,getPrefixCls:_e,iconPrefixCls:j,theme:ue,segmented:qo,statistic:Zo,spin:Yo,calendar:Qo,carousel:Jo,cascader:et,collapse:ot,typography:tt,checkbox:rt,descriptions:nt,divider:it,drawer:at,skeleton:st,steps:lt,image:ct,input:ht,textArea:Tt,layout:pt,list:mt,mentions:ft,modal:gt,progress:dt,result:ut,slider:Ct,breadcrumb:yt,menu:xt,pagination:St,empty:Pt,badge:bt,radio:kt,rate:vt,switch:wt,transfer:Mt,avatar:Rt,message:Ot,tag:Lt,table:$t,card:It,tabs:zt,timeline:At,timePicker:Dt,upload:Wt,notification:Et,tree:Ht,colorPicker:Ft,datePicker:Bt,rangePicker:Nt,flex:jt,wave:_t,dropdown:Vt,warning:Xt,tour:Kt,variant:Gt,inputNumber:Ut,treeSelect:qt},z={...T};Object.keys(Ce).forEach(C=>{Ce[C]!==void 0&&(z[C]=Ce[C]);}),Gr.forEach(C=>{let k=e[C];k&&(z[C]=k);}),typeof n<"u"&&(z.button={autoInsertSpace:n,...z.button});let A=Nr(()=>z,z,(C,k)=>{let D=Object.keys(C),W=Object.keys(k);return D.length!==W.length||D.some(te=>C[te]!==k[te])}),Zt=g.useMemo(()=>({prefixCls:j,csp:_}),[j,_]),y=g.createElement(g.Fragment,null,g.createElement(Oo,{dropdownMatchSelectWidth:d}),o),Ve=g.useMemo(()=>merge(I.Form?.defaultValidateMessages||{},A.locale?.Form?.defaultValidateMessages||{},A.form?.validateMessages||{},i?.validateMessages||{}),[A,i?.validateMessages]);Object.keys(Ve).length>0&&(y=g.createElement(qe.Provider,{value:Ve},y)),l&&(y=g.createElement(oo,{locale:l,_ANT_MARK__:eo},y)),(y=g.createElement(Vr.Provider,{value:Zt},y)),c&&(y=g.createElement(uo,{size:c},y)),y=g.createElement(He,null,y);let Yt=g.useMemo(()=>{let{algorithm:C,token:k,components:D,cssVar:W,...te}=ue||{},Xe=C&&(!Array.isArray(C)||C.length>0)?createTheme(C):se,ye={};Object.entries(D||{}).forEach(([Qt,Jt])=>{let w={...Jt};"algorithm"in w&&(w.algorithm===true?w.theme=Xe:(Array.isArray(w.algorithm)||typeof w.algorithm=="function")&&(w.theme=createTheme(w.algorithm)),delete w.algorithm),ye[Qt]=w;});let Ke={...M,...k};return {...te,theme:Xe,token:Ke,components:ye,override:{override:Ke,...ye},cssVar:W}},[ue]);return ee&&(y=g.createElement(G.Provider,{value:Yt},y)),A.warning&&(y=g.createElement(Ue.Provider,{value:A.warning},y)),oe!==void 0&&(y=g.createElement(fo,{disabled:oe},y)),g.createElement(v.Provider,{value:A},y)},Q=e=>{let o=g.useContext(v),r=g.useContext(X);return g.createElement(en,{parentContext:o,legacyLocale:r,...e})};Q.ConfigContext=v;Q.SizeContext=q;Q.config=Jr;Q.useConfig=yo;Object.defineProperty(Q,"SizeContext",{get:()=>(q)});var on=e=>({animationDuration:e,animationFillMode:"both"}),tn=e=>({animationDuration:e,animationFillMode:"both"}),J=(e,o,r,n,t=false)=>{let a=t?"&":"";return {[`
|
|
41
|
-
${a}${e}-enter,
|
|
42
|
-
${a}${e}-appear
|
|
43
|
-
`]:{...on(n),animationPlayState:"paused"},[`${a}${e}-leave`]:{...tn(n),animationPlayState:"paused"},[`
|
|
44
|
-
${a}${e}-enter${e}-enter-active,
|
|
45
|
-
${a}${e}-appear${e}-appear-active
|
|
46
|
-
`]:{animationName:o,animationPlayState:"running"},[`${a}${e}-leave${e}-leave-active`]:{animationName:r,animationPlayState:"running",pointerEvents:"none"}}};new Keyframes("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}});new Keyframes("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}});new Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}});new Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}});new Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}});new Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}});new Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}});new Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}});new Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}});new Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}});new Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}});new Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}});var zo=new Keyframes("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Ao=new Keyframes("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),Fe=new Keyframes("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Be=new Keyframes("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),Do=new Keyframes("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),Wo=new Keyframes("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),Eo=new Keyframes("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),Ho=new Keyframes("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),Fo=new Keyframes("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),Bo=new Keyframes("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),No=new Keyframes("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),jo=new Keyframes("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),Pn={zoom:{inKeyframes:zo,outKeyframes:Ao},"zoom-big":{inKeyframes:Fe,outKeyframes:Be},"zoom-big-fast":{inKeyframes:Fe,outKeyframes:Be},"zoom-left":{inKeyframes:Eo,outKeyframes:Ho},"zoom-right":{inKeyframes:Fo,outKeyframes:Bo},"zoom-up":{inKeyframes:Do,outKeyframes:Wo},"zoom-down":{inKeyframes:No,outKeyframes:jo}},Ne=(e,o)=>{let{antCls:r}=e,n=`${r}-${o}`,{inKeyframes:t,outKeyframes:a}=Pn[o];return [J(n,t,a,e.motionDurationMid),{[`
|
|
47
|
-
${n}-enter,
|
|
48
|
-
${n}-appear
|
|
49
|
-
`]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};function _o(e){let{sizePopupArrow:o,borderRadiusXS:r,borderRadiusOuter:n}=e,t=o/2,a=0,i=t,l=n*1/Math.sqrt(2),c=t-n*(1-1/Math.sqrt(2)),s=t-r*(1/Math.sqrt(2)),p=n*(Math.sqrt(2)-1)+r*(1/Math.sqrt(2)),m=2*t-s,f=p,d=2*t-l,u=c,b=2*t-a,N=i,T=t*Math.sqrt(2)+n*(Math.sqrt(2)-2),R=n*(Math.sqrt(2)-1),ee=`polygon(${R}px 100%, 50% ${R}px, ${2*t-R}px 100%, ${R}px 100%)`,oe=`path('M ${a} ${i} A ${n} ${n} 0 0 0 ${l} ${c} L ${s} ${p} A ${r} ${r} 0 0 1 ${m} ${f} L ${d} ${u} A ${n} ${n} 0 0 0 ${b} ${N} Z')`;return {arrowShadowWidth:T,arrowPath:oe,arrowPolygon:ee}}var Vo=(e,o,r)=>{let{sizePopupArrow:n,arrowPolygon:t,arrowPath:a,arrowShadowWidth:i,borderRadiusXS:l,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:[t,a]},content:'""'},"&::after":{content:'""',position:"absolute",width:i,height:i,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:true,value:`0 0 ${unit(l)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:r,zIndex:0,background:"transparent"}}};var kn=8;function Ko(e){let{contentRadius:o,limitVerticalRadius:r}=e,n=o>12?o+2:12;return {arrowOffsetHorizontal:n,arrowOffsetVertical:r?kn:n}}function de(e,o){return e?o:{}}function je(e,o,r){let{componentCls:n,boxShadowPopoverArrow:t,arrowOffsetVertical:a,arrowOffsetHorizontal:i}=e,{arrowDistance:l=0,arrowPlacement:c={left:true,right:true,top:true,bottom:true}}={};return {[n]:{[`${n}-arrow`]:[{position:"absolute",zIndex:1,display:"block",...Vo(e,o,t),"&:before":{background:o}}],...de(!!c.top,{[[`&-placement-top > ${n}-arrow`,`&-placement-topLeft > ${n}-arrow`,`&-placement-topRight > ${n}-arrow`].join(",")]:{bottom:l,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${n}-arrow`]:{left:{_skip_check_:true,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":i,[`> ${n}-arrow`]:{left:{_skip_check_:true,value:i}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${unit(i)})`,[`> ${n}-arrow`]:{right:{_skip_check_:true,value:i}}}}),...de(!!c.bottom,{[[`&-placement-bottom > ${n}-arrow`,`&-placement-bottomLeft > ${n}-arrow`,`&-placement-bottomRight > ${n}-arrow`].join(",")]:{top:l,transform:"translateY(-100%)"},[`&-placement-bottom > ${n}-arrow`]:{left:{_skip_check_:true,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":i,[`> ${n}-arrow`]:{left:{_skip_check_:true,value:i}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${unit(i)})`,[`> ${n}-arrow`]:{right:{_skip_check_:true,value:i}}}}),...de(!!c.left,{[[`&-placement-left > ${n}-arrow`,`&-placement-leftTop > ${n}-arrow`,`&-placement-leftBottom > ${n}-arrow`].join(",")]:{right:{_skip_check_:true,value:l},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${n}-arrow`]:{top:{_skip_check_:true,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${n}-arrow`]:{top:a},[`&-placement-leftBottom > ${n}-arrow`]:{bottom:a}}),...de(!!c.right,{[[`&-placement-right > ${n}-arrow`,`&-placement-rightTop > ${n}-arrow`,`&-placement-rightBottom > ${n}-arrow`].join(",")]:{left:{_skip_check_:true,value:l},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${n}-arrow`]:{top:{_skip_check_:true,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${n}-arrow`]:{top:a},[`&-placement-rightBottom > ${n}-arrow`]:{bottom:a}})}}}var vn=e=>{let{componentCls:o,popoverColor:r,titleMinWidth:n,fontWeightStrong:t,innerPadding:a,boxShadowSecondary:i,colorTextHeading:l,borderRadiusLG:c,zIndexPopup:s,titleMarginBottom:p,colorBgElevated:m,popoverBg:f,titleBorderBottom:d,innerContentPadding:u,titlePadding:b}=e;return [{[o]:{...To(e),position:"absolute",top:0,left:{_skip_check_:true,value:0},zIndex:s,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"--antd-arrow-background-color":m,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${o}-content`]:{position:"relative"},[`${o}-inner`]:{backgroundColor:f,backgroundClip:"padding-box",borderRadius:c,boxShadow:i,padding:a},[`${o}-title`]:{minWidth:n,marginBottom:p,color:l,fontWeight:t,borderBottom:d,padding:b},[`${o}-inner-content`]:{color:r,padding:u}}},je(e,"var(--antd-arrow-background-color)"),{[`${o}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${o}-content`]:{display:"inline-block"}}}]},wn=e=>{let{componentCls:o}=e;return {[o]:Z.map(r=>{let n=e[`${r}6`];return {[`&${o}-${r}`]:{"--antd-arrow-background-color":n,[`${o}-inner`]:{backgroundColor:n},[`${o}-arrow`]:{background:"transparent"}}}})}},Mn=e=>{let{lineWidth:o,controlHeight:r,fontHeight:n,padding:t,wireframe:a,zIndexPopupBase:i,borderRadiusLG:l,marginXS:c,lineType:s,colorSplit:p,paddingSM:m}=e,f=r-n,d=f/2,u=f/2-o,b=t;return {titleMinWidth:177,zIndexPopup:i+30,..._o(e),...Ko({contentRadius:l,limitVerticalRadius:true}),innerPadding:a?0:12,titleMarginBottom:a?0:c,titlePadding:a?`${d}px ${b}px ${u}px`:0,titleBorderBottom:a?`${o}px ${s} ${p}`:"none",innerContentPadding:a?`${m}px ${b}px`:0}},Go=We("Popover",e=>{let{colorBgElevated:o,colorText:r}=e,n=mergeToken(e,{popoverBg:o,popoverColor:r});return [vn(n),wn(n),Ne(n,"zoom-big")]},Mn,{resetStyle:false,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});var On=({title:e,content:o,prefixCls:r})=>!e&&!o?null:g.createElement(g.Fragment,null,e&&g.createElement("div",{className:`${r}-title`},e),o&&g.createElement("div",{className:`${r}-inner-content`},o)),Ln=e=>{let{hashId:o,prefixCls:r,className:n,style:t,placement:a="top",title:i,content:l,children:c}=e,s=xe(i),p=xe(l),m=Uo(o,r,`${r}-pure`,`${r}-placement-${a}`,n);return g.createElement("div",{className:m,style:t},g.createElement("div",{className:`${r}-arrow`}),g.createElement(Popup,{...e,className:o,prefixCls:r},c||g.createElement(On,{prefixCls:r,title:s,content:p})))},$n=e=>{let{prefixCls:o,className:r,...n}=e,{getPrefixCls:t}=g.useContext(v),a=t("popover",o),[i,l,c]=Go(a);return i(g.createElement(Ln,{...n,prefixCls:a,hashId:l,className:Uo(r,c)}))},xl=$n;export{On as Overlay,Ln as RawPurePanel,xl as default};
|
package/es/popover/index.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { RenderFunction } from '../_util/getRenderPropValue';
|
|
3
|
-
import type { AbstractTooltipProps, TooltipRef } from '../tooltip';
|
|
4
|
-
import PurePanel from './PurePanel';
|
|
5
|
-
export interface PopoverProps extends AbstractTooltipProps {
|
|
6
|
-
title?: React.ReactNode | RenderFunction;
|
|
7
|
-
content?: React.ReactNode | RenderFunction;
|
|
8
|
-
onOpenChange?: (open: boolean, e?: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLDivElement>) => void;
|
|
9
|
-
}
|
|
10
|
-
declare const InternalPopover: React.ForwardRefExoticComponent<PopoverProps & React.RefAttributes<TooltipRef>>;
|
|
11
|
-
type CompoundedComponent = typeof InternalPopover & {
|
|
12
|
-
_InternalPanelDoNotUseOrYouWillBeFired: typeof PurePanel;
|
|
13
|
-
};
|
|
14
|
-
declare const Popover: CompoundedComponent;
|
|
15
|
-
export default Popover;
|