@swiftcrab/crab 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -143
- package/package.json +7 -4
- package/es/_util/ActionButton.d.ts +0 -19
- package/es/_util/ActionButton.js +0 -47
- package/es/_util/ContextIsolator.d.ts +0 -3
- package/es/_util/ContextIsolator.js +0 -40
- package/es/_util/PurePanel.d.ts +0 -9
- package/es/_util/PurePanel.js +0 -40
- package/es/_util/aria-data-attrs.d.ts +0 -4
- package/es/_util/aria-data-attrs.js +0 -0
- package/es/_util/capitalize.d.ts +0 -1
- package/es/_util/capitalize.js +0 -1
- package/es/_util/colors.d.ts +0 -13
- package/es/_util/colors.js +0 -1
- package/es/_util/easings.d.ts +0 -1
- package/es/_util/easings.js +0 -1
- package/es/_util/extendsObject.d.ts +0 -3
- package/es/_util/extendsObject.js +0 -1
- package/es/_util/gapSize.d.ts +0 -3
- package/es/_util/gapSize.js +0 -1
- package/es/_util/getAllowClear.d.ts +0 -4
- package/es/_util/getAllowClear.js +0 -1
- package/es/_util/getRenderPropValue.d.ts +0 -3
- package/es/_util/getRenderPropValue.js +0 -1
- package/es/_util/getScroll.d.ts +0 -3
- package/es/_util/getScroll.js +0 -1
- package/es/_util/hooks/useClosable.d.ts +0 -31
- package/es/_util/hooks/useClosable.js +0 -1
- package/es/_util/hooks/useForceUpdate.d.ts +0 -2
- package/es/_util/hooks/useForceUpdate.js +0 -1
- package/es/_util/hooks/useMultipleSelect.d.ts +0 -6
- package/es/_util/hooks/useMultipleSelect.js +0 -1
- package/es/_util/hooks/usePatchElement.d.ts +0 -5
- package/es/_util/hooks/usePatchElement.js +0 -1
- package/es/_util/hooks/useProxyImperativeHandle.d.ts +0 -4
- package/es/_util/hooks/useProxyImperativeHandle.js +0 -1
- package/es/_util/hooks/useSyncState.d.ts +0 -3
- package/es/_util/hooks/useSyncState.js +0 -1
- package/es/_util/hooks/useUniqueMemo.d.ts +0 -6
- package/es/_util/hooks/useUniqueMemo.js +0 -1
- package/es/_util/hooks/useZIndex.d.ts +0 -8
- package/es/_util/hooks/useZIndex.js +0 -35
- package/es/_util/isNumeric.d.ts +0 -2
- package/es/_util/isNumeric.js +0 -1
- package/es/_util/isPrimitive.d.ts +0 -2
- package/es/_util/isPrimitive.js +0 -1
- package/es/_util/motion.d.ts +0 -7
- package/es/_util/motion.js +0 -40
- package/es/_util/placements.d.ts +0 -21
- package/es/_util/placements.js +0 -1
- package/es/_util/reactNode.d.ts +0 -7
- package/es/_util/reactNode.js +0 -1
- package/es/_util/responsiveObserver.d.ts +0 -22
- package/es/_util/responsiveObserver.js +0 -35
- package/es/_util/scrollTo.d.ts +0 -10
- package/es/_util/scrollTo.js +0 -1
- package/es/_util/statusUtils.d.ts +0 -6
- package/es/_util/statusUtils.js +0 -1
- package/es/_util/styleChecker.d.ts +0 -3
- package/es/_util/styleChecker.js +0 -1
- package/es/_util/throttleByAnimationFrame.d.ts +0 -5
- package/es/_util/throttleByAnimationFrame.js +0 -1
- package/es/_util/toList.d.ts +0 -1
- package/es/_util/toList.js +0 -1
- package/es/_util/transKeys.d.ts +0 -3
- package/es/_util/transKeys.js +0 -1
- package/es/_util/type.d.ts +0 -54
- package/es/_util/type.js +0 -0
- package/es/_util/warning.d.ts +0 -31
- package/es/_util/warning.js +0 -1
- package/es/_util/wave/WaveEffect.d.ts +0 -10
- package/es/_util/wave/WaveEffect.js +0 -40
- package/es/_util/wave/index.d.ts +0 -9
- package/es/_util/wave/index.js +0 -40
- package/es/_util/wave/interface.d.ts +0 -11
- package/es/_util/wave/interface.js +0 -40
- package/es/_util/wave/style.d.ts +0 -7
- package/es/_util/wave/style.js +0 -35
- package/es/_util/wave/useWave.d.ts +0 -4
- package/es/_util/wave/useWave.js +0 -40
- package/es/_util/wave/util.d.ts +0 -2
- package/es/_util/wave/util.js +0 -1
- package/es/_util/zindexContext.d.ts +0 -3
- package/es/_util/zindexContext.js +0 -1
- package/es/affix/index.d.ts +0 -22
- package/es/affix/index.js +0 -40
- package/es/affix/style/index.d.ts +0 -11
- package/es/affix/style/index.js +0 -35
- package/es/affix/utils.d.ts +0 -4
- package/es/affix/utils.js +0 -1
- package/es/alert/Alert.d.ts +0 -42
- package/es/alert/Alert.js +0 -42
- package/es/alert/ErrorBoundary.d.ts +0 -24
- package/es/alert/ErrorBoundary.js +0 -42
- package/es/alert/index.d.ts +0 -8
- package/es/alert/index.js +0 -42
- package/es/alert/style/index.d.ts +0 -26
- package/es/alert/style/index.js +0 -37
- package/es/anchor/Anchor.d.ts +0 -59
- package/es/anchor/Anchor.js +0 -40
- package/es/anchor/AnchorLink.d.ts +0 -14
- package/es/anchor/AnchorLink.js +0 -40
- package/es/anchor/context.d.ts +0 -4
- package/es/anchor/context.js +0 -1
- package/es/anchor/index.d.ts +0 -10
- package/es/anchor/index.js +0 -40
- package/es/anchor/style/index.d.ts +0 -16
- package/es/anchor/style/index.js +0 -35
- package/es/app/context.d.ts +0 -16
- package/es/app/context.js +0 -1
- package/es/app/index.d.ts +0 -16
- package/es/app/index.js +0 -76
- package/es/app/style/index.d.ts +0 -6
- package/es/app/style/index.js +0 -35
- package/es/auto-complete/index.d.ts +0 -28
- package/es/auto-complete/index.js +0 -78
- package/es/avatar/AvatarContext.d.ts +0 -9
- package/es/avatar/AvatarContext.js +0 -1
- package/es/avatar/avatar.d.ts +0 -26
- package/es/avatar/avatar.js +0 -40
- package/es/avatar/group.d.ts +0 -27
- package/es/avatar/group.js +0 -49
- package/es/avatar/index.d.ts +0 -10
- package/es/avatar/index.js +0 -49
- package/es/avatar/style/index.d.ts +0 -51
- package/es/avatar/style/index.js +0 -35
- package/es/badge/Ribbon.d.ts +0 -16
- package/es/badge/Ribbon.js +0 -40
- package/es/badge/ScrollNumber.d.ts +0 -18
- package/es/badge/ScrollNumber.js +0 -40
- package/es/badge/SingleNumber.d.ts +0 -14
- package/es/badge/SingleNumber.js +0 -1
- package/es/badge/index.d.ts +0 -41
- package/es/badge/index.js +0 -40
- package/es/badge/style/index.d.ts +0 -104
- package/es/badge/style/index.js +0 -35
- package/es/badge/style/ribbon.d.ts +0 -2
- package/es/badge/style/ribbon.js +0 -35
- package/es/breadcrumb/Breadcrumb.d.ts +0 -58
- package/es/breadcrumb/Breadcrumb.js +0 -87
- package/es/breadcrumb/BreadcrumbItem.d.ts +0 -31
- package/es/breadcrumb/BreadcrumbItem.js +0 -83
- package/es/breadcrumb/BreadcrumbSeparator.d.ts +0 -4
- package/es/breadcrumb/BreadcrumbSeparator.js +0 -40
- package/es/breadcrumb/index.d.ts +0 -4
- package/es/breadcrumb/index.js +0 -87
- package/es/breadcrumb/style/index.d.ts +0 -41
- package/es/breadcrumb/style/index.js +0 -38
- package/es/breadcrumb/useItemRender.d.ts +0 -8
- package/es/breadcrumb/useItemRender.js +0 -1
- package/es/breadcrumb/useItems.d.ts +0 -6
- package/es/breadcrumb/useItems.js +0 -1
- package/es/button/IconWrapper.d.ts +0 -9
- package/es/button/IconWrapper.js +0 -1
- package/es/button/LoadingIcon.d.ts +0 -11
- package/es/button/LoadingIcon.js +0 -1
- package/es/button/button-group.d.ts +0 -12
- package/es/button/button-group.js +0 -40
- package/es/button/button.d.ts +0 -44
- package/es/button/button.js +0 -47
- package/es/button/buttonHelpers.d.ts +0 -18
- package/es/button/buttonHelpers.js +0 -1
- package/es/button/index.d.ts +0 -6
- package/es/button/index.js +0 -47
- package/es/button/style/compact.d.ts +0 -2
- package/es/button/style/compact.js +0 -47
- package/es/button/style/group.d.ts +0 -4
- package/es/button/style/group.js +0 -1
- package/es/button/style/index.d.ts +0 -4
- package/es/button/style/index.js +0 -47
- package/es/button/style/token.d.ts +0 -233
- package/es/button/style/token.js +0 -47
- package/es/calendar/Header.d.ts +0 -17
- package/es/calendar/Header.js +0 -79
- package/es/calendar/generateCalendar.d.ts +0 -44
- package/es/calendar/generateCalendar.js +0 -118
- package/es/calendar/index.d.ts +0 -10
- package/es/calendar/index.js +0 -118
- package/es/calendar/locale/ar_EG.d.ts +0 -2
- package/es/calendar/locale/ar_EG.js +0 -1
- package/es/calendar/locale/az_AZ.d.ts +0 -2
- package/es/calendar/locale/az_AZ.js +0 -1
- package/es/calendar/locale/bg_BG.d.ts +0 -2
- package/es/calendar/locale/bg_BG.js +0 -1
- package/es/calendar/locale/bn_BD.d.ts +0 -2
- package/es/calendar/locale/bn_BD.js +0 -1
- package/es/calendar/locale/by_BY.d.ts +0 -2
- package/es/calendar/locale/by_BY.js +0 -1
- package/es/calendar/locale/ca_ES.d.ts +0 -2
- package/es/calendar/locale/ca_ES.js +0 -1
- package/es/calendar/locale/cs_CZ.d.ts +0 -2
- package/es/calendar/locale/cs_CZ.js +0 -1
- package/es/calendar/locale/da_DK.d.ts +0 -2
- package/es/calendar/locale/da_DK.js +0 -1
- package/es/calendar/locale/de_DE.d.ts +0 -2
- package/es/calendar/locale/de_DE.js +0 -1
- package/es/calendar/locale/el_GR.d.ts +0 -2
- package/es/calendar/locale/el_GR.js +0 -1
- package/es/calendar/locale/en_GB.d.ts +0 -2
- package/es/calendar/locale/en_GB.js +0 -1
- package/es/calendar/locale/en_US.d.ts +0 -2
- package/es/calendar/locale/en_US.js +0 -1
- package/es/calendar/locale/es_ES.d.ts +0 -2
- package/es/calendar/locale/es_ES.js +0 -1
- package/es/calendar/locale/et_EE.d.ts +0 -2
- package/es/calendar/locale/et_EE.js +0 -1
- package/es/calendar/locale/eu_ES.d.ts +0 -2
- package/es/calendar/locale/eu_ES.js +0 -1
- package/es/calendar/locale/fa_IR.d.ts +0 -2
- package/es/calendar/locale/fa_IR.js +0 -1
- package/es/calendar/locale/fi_FI.d.ts +0 -2
- package/es/calendar/locale/fi_FI.js +0 -1
- package/es/calendar/locale/fr_BE.d.ts +0 -2
- package/es/calendar/locale/fr_BE.js +0 -1
- package/es/calendar/locale/fr_CA.d.ts +0 -2
- package/es/calendar/locale/fr_CA.js +0 -1
- package/es/calendar/locale/fr_FR.d.ts +0 -2
- package/es/calendar/locale/fr_FR.js +0 -1
- package/es/calendar/locale/ga_IE.d.ts +0 -2
- package/es/calendar/locale/ga_IE.js +0 -1
- package/es/calendar/locale/gl_ES.d.ts +0 -2
- package/es/calendar/locale/gl_ES.js +0 -1
- package/es/calendar/locale/he_IL.d.ts +0 -2
- package/es/calendar/locale/he_IL.js +0 -1
- package/es/calendar/locale/hi_IN.d.ts +0 -2
- package/es/calendar/locale/hi_IN.js +0 -1
- package/es/calendar/locale/hr_HR.d.ts +0 -2
- package/es/calendar/locale/hr_HR.js +0 -1
- package/es/calendar/locale/hu_HU.d.ts +0 -2
- package/es/calendar/locale/hu_HU.js +0 -1
- package/es/calendar/locale/id_ID.d.ts +0 -2
- package/es/calendar/locale/id_ID.js +0 -1
- package/es/calendar/locale/is_IS.d.ts +0 -2
- package/es/calendar/locale/is_IS.js +0 -1
- package/es/calendar/locale/it_IT.d.ts +0 -2
- package/es/calendar/locale/it_IT.js +0 -1
- package/es/calendar/locale/ja_JP.d.ts +0 -2
- package/es/calendar/locale/ja_JP.js +0 -1
- package/es/calendar/locale/ka_GE.d.ts +0 -2
- package/es/calendar/locale/ka_GE.js +0 -1
- package/es/calendar/locale/kk_KZ.d.ts +0 -2
- package/es/calendar/locale/kk_KZ.js +0 -1
- package/es/calendar/locale/km_KH.d.ts +0 -2
- package/es/calendar/locale/km_KH.js +0 -1
- package/es/calendar/locale/kmr_IQ.d.ts +0 -2
- package/es/calendar/locale/kmr_IQ.js +0 -1
- package/es/calendar/locale/kn_IN.d.ts +0 -2
- package/es/calendar/locale/kn_IN.js +0 -1
- package/es/calendar/locale/ko_KR.d.ts +0 -2
- package/es/calendar/locale/ko_KR.js +0 -1
- package/es/calendar/locale/lt_LT.d.ts +0 -2
- package/es/calendar/locale/lt_LT.js +0 -1
- package/es/calendar/locale/lv_LV.d.ts +0 -2
- package/es/calendar/locale/lv_LV.js +0 -1
- package/es/calendar/locale/mk_MK.d.ts +0 -2
- package/es/calendar/locale/mk_MK.js +0 -1
- package/es/calendar/locale/ml_IN.d.ts +0 -2
- package/es/calendar/locale/ml_IN.js +0 -1
- package/es/calendar/locale/mn_MN.d.ts +0 -2
- package/es/calendar/locale/mn_MN.js +0 -1
- package/es/calendar/locale/ms_MY.d.ts +0 -2
- package/es/calendar/locale/ms_MY.js +0 -1
- package/es/calendar/locale/my_MM.d.ts +0 -2
- package/es/calendar/locale/my_MM.js +0 -1
- package/es/calendar/locale/nb_NO.d.ts +0 -2
- package/es/calendar/locale/nb_NO.js +0 -1
- package/es/calendar/locale/nl_BE.d.ts +0 -2
- package/es/calendar/locale/nl_BE.js +0 -1
- package/es/calendar/locale/nl_NL.d.ts +0 -2
- package/es/calendar/locale/nl_NL.js +0 -1
- package/es/calendar/locale/pl_PL.d.ts +0 -2
- package/es/calendar/locale/pl_PL.js +0 -1
- package/es/calendar/locale/pt_BR.d.ts +0 -2
- package/es/calendar/locale/pt_BR.js +0 -1
- package/es/calendar/locale/pt_PT.d.ts +0 -2
- package/es/calendar/locale/pt_PT.js +0 -1
- package/es/calendar/locale/ro_RO.d.ts +0 -2
- package/es/calendar/locale/ro_RO.js +0 -1
- package/es/calendar/locale/ru_RU.d.ts +0 -2
- package/es/calendar/locale/ru_RU.js +0 -1
- package/es/calendar/locale/si_LK.d.ts +0 -2
- package/es/calendar/locale/si_LK.js +0 -1
- package/es/calendar/locale/sk_SK.d.ts +0 -2
- package/es/calendar/locale/sk_SK.js +0 -1
- package/es/calendar/locale/sl_SI.d.ts +0 -2
- package/es/calendar/locale/sl_SI.js +0 -1
- package/es/calendar/locale/sr_RS.d.ts +0 -2
- package/es/calendar/locale/sr_RS.js +0 -1
- package/es/calendar/locale/sv_SE.d.ts +0 -2
- package/es/calendar/locale/sv_SE.js +0 -1
- package/es/calendar/locale/ta_IN.d.ts +0 -2
- package/es/calendar/locale/ta_IN.js +0 -1
- package/es/calendar/locale/th_TH.d.ts +0 -2
- package/es/calendar/locale/th_TH.js +0 -1
- package/es/calendar/locale/tk_TK.d.ts +0 -2
- package/es/calendar/locale/tk_TK.js +0 -1
- package/es/calendar/locale/tr_TR.d.ts +0 -2
- package/es/calendar/locale/tr_TR.js +0 -1
- package/es/calendar/locale/uk_UA.d.ts +0 -2
- package/es/calendar/locale/uk_UA.js +0 -1
- package/es/calendar/locale/ur_PK.d.ts +0 -2
- package/es/calendar/locale/ur_PK.js +0 -1
- package/es/calendar/locale/uz_UZ.d.ts +0 -2
- package/es/calendar/locale/uz_UZ.js +0 -1
- package/es/calendar/locale/vi_VN.d.ts +0 -2
- package/es/calendar/locale/vi_VN.js +0 -1
- package/es/calendar/locale/zh_CN.d.ts +0 -2
- package/es/calendar/locale/zh_CN.js +0 -1
- package/es/calendar/locale/zh_TW.d.ts +0 -2
- package/es/calendar/locale/zh_TW.js +0 -1
- package/es/calendar/style/index.d.ts +0 -61
- package/es/calendar/style/index.js +0 -86
- package/es/calendar-panel/index.d.ts +0 -7
- package/es/calendar-panel/index.js +0 -40
- package/es/calendar-panel/style/index.d.ts +0 -4
- package/es/calendar-panel/style/index.js +0 -35
- package/es/calendar-panel/style/style.d.ts +0 -1
- package/es/calendar-panel/style/style.js +0 -639
- package/es/calendar-panel/types.d.ts +0 -158
- package/es/calendar-panel/types.js +0 -0
- package/es/calendar-panel/utils.d.ts +0 -39
- package/es/calendar-panel/utils.js +0 -1
- package/es/card/Card.d.ts +0 -56
- package/es/card/Card.js +0 -67
- package/es/card/Grid.d.ts +0 -9
- package/es/card/Grid.js +0 -40
- package/es/card/Meta.d.ts +0 -11
- package/es/card/Meta.js +0 -40
- package/es/card/index.d.ts +0 -13
- package/es/card/index.js +0 -67
- package/es/card/style/index.d.ts +0 -51
- package/es/card/style/index.js +0 -44
- package/es/carousel/index.d.ts +0 -27
- package/es/carousel/index.js +0 -40
- package/es/carousel/style/index.d.ts +0 -43
- package/es/carousel/style/index.js +0 -35
- package/es/cascader/Panel.d.ts +0 -12
- package/es/cascader/Panel.js +0 -49
- package/es/cascader/hooks/useBase.d.ts +0 -8
- package/es/cascader/hooks/useBase.js +0 -40
- package/es/cascader/hooks/useCheckable.d.ts +0 -2
- package/es/cascader/hooks/useCheckable.js +0 -1
- package/es/cascader/hooks/useColumnIcons.d.ts +0 -3
- package/es/cascader/hooks/useColumnIcons.js +0 -1
- package/es/cascader/index.d.ts +0 -55
- package/es/cascader/index.js +0 -87
- package/es/cascader/style/columns.d.ts +0 -4
- package/es/cascader/style/columns.js +0 -44
- package/es/cascader/style/index.d.ts +0 -51
- package/es/cascader/style/index.js +0 -44
- package/es/cascader/style/panel.d.ts +0 -2
- package/es/cascader/style/panel.js +0 -44
- package/es/checkbox/Checkbox.d.ts +0 -43
- package/es/checkbox/Checkbox.js +0 -46
- package/es/checkbox/Group.d.ts +0 -32
- package/es/checkbox/Group.js +0 -46
- package/es/checkbox/GroupContext.d.ts +0 -12
- package/es/checkbox/GroupContext.js +0 -1
- package/es/checkbox/index.d.ts +0 -11
- package/es/checkbox/index.js +0 -46
- package/es/checkbox/style/index.d.ts +0 -23
- package/es/checkbox/style/index.js +0 -41
- package/es/checkbox/useBubbleLock.d.ts +0 -7
- package/es/checkbox/useBubbleLock.js +0 -1
- package/es/clap-overflow/index.d.ts +0 -19
- package/es/clap-overflow/index.js +0 -40
- package/es/clap-overflow/style/index.d.ts +0 -16
- package/es/clap-overflow/style/index.js +0 -35
- package/es/col/index.d.ts +0 -4
- package/es/col/index.js +0 -40
- package/es/col/style/index.d.ts +0 -2
- package/es/col/style/index.js +0 -1
- package/es/collapse/Collapse.d.ts +0 -45
- package/es/collapse/Collapse.js +0 -47
- package/es/collapse/CollapsePanel.d.ts +0 -19
- package/es/collapse/CollapsePanel.js +0 -40
- package/es/collapse/index.d.ts +0 -4
- package/es/collapse/index.js +0 -47
- package/es/collapse/style/index.d.ts +0 -46
- package/es/collapse/style/index.js +0 -42
- package/es/color-picker/ColorPicker.d.ts +0 -8
- package/es/color-picker/ColorPicker.js +0 -130
- package/es/color-picker/ColorPickerPanel.d.ts +0 -9
- package/es/color-picker/ColorPickerPanel.js +0 -130
- package/es/color-picker/color.d.ts +0 -34
- package/es/color-picker/color.js +0 -1
- package/es/color-picker/components/ColorAlphaInput.d.ts +0 -9
- package/es/color-picker/components/ColorAlphaInput.js +0 -70
- package/es/color-picker/components/ColorClear.d.ts +0 -9
- package/es/color-picker/components/ColorClear.js +0 -1
- package/es/color-picker/components/ColorHexInput.d.ts +0 -9
- package/es/color-picker/components/ColorHexInput.js +0 -65
- package/es/color-picker/components/ColorHsbInput.d.ts +0 -9
- package/es/color-picker/components/ColorHsbInput.js +0 -70
- package/es/color-picker/components/ColorInput.d.ts +0 -14
- package/es/color-picker/components/ColorInput.js +0 -115
- package/es/color-picker/components/ColorPresets.d.ts +0 -12
- package/es/color-picker/components/ColorPresets.js +0 -47
- package/es/color-picker/components/ColorRgbInput.d.ts +0 -9
- package/es/color-picker/components/ColorRgbInput.js +0 -70
- package/es/color-picker/components/ColorSlider.d.ts +0 -20
- package/es/color-picker/components/ColorSlider.js +0 -61
- package/es/color-picker/components/ColorSteppers.d.ts +0 -15
- package/es/color-picker/components/ColorSteppers.js +0 -70
- package/es/color-picker/components/ColorTrigger.d.ts +0 -20
- package/es/color-picker/components/ColorTrigger.js +0 -1
- package/es/color-picker/components/PanelPicker/GradientColorBar.d.ts +0 -8
- package/es/color-picker/components/PanelPicker/GradientColorBar.js +0 -61
- package/es/color-picker/components/PanelPicker/index.d.ts +0 -3
- package/es/color-picker/components/PanelPicker/index.js +0 -130
- package/es/color-picker/components/PanelPresets.d.ts +0 -3
- package/es/color-picker/components/PanelPresets.js +0 -47
- package/es/color-picker/context.d.ts +0 -38
- package/es/color-picker/context.js +0 -1
- package/es/color-picker/hooks/useModeColor.d.ts +0 -17
- package/es/color-picker/hooks/useModeColor.js +0 -1
- package/es/color-picker/index.d.ts +0 -4
- package/es/color-picker/index.js +0 -130
- package/es/color-picker/interface.d.ts +0 -73
- package/es/color-picker/interface.js +0 -1
- package/es/color-picker/style/color-block.d.ts +0 -8
- package/es/color-picker/style/color-block.js +0 -1
- package/es/color-picker/style/index.d.ts +0 -62
- package/es/color-picker/style/index.js +0 -35
- package/es/color-picker/style/input.d.ts +0 -5
- package/es/color-picker/style/input.js +0 -1
- package/es/color-picker/style/picker.d.ts +0 -5
- package/es/color-picker/style/picker.js +0 -1
- package/es/color-picker/style/presets.d.ts +0 -5
- package/es/color-picker/style/presets.js +0 -1
- package/es/color-picker/style/slider.d.ts +0 -5
- package/es/color-picker/style/slider.js +0 -1
- package/es/color-picker/util.d.ts +0 -15
- package/es/color-picker/util.js +0 -1
- package/es/config-provider/DisabledContext.d.ts +0 -8
- package/es/config-provider/DisabledContext.js +0 -1
- package/es/config-provider/MotionWrapper.d.ts +0 -5
- package/es/config-provider/MotionWrapper.js +0 -35
- package/es/config-provider/PropWarning.d.ts +0 -6
- package/es/config-provider/PropWarning.js +0 -1
- package/es/config-provider/SizeContext.d.ts +0 -9
- package/es/config-provider/SizeContext.js +0 -1
- package/es/config-provider/UnstableContext.d.ts +0 -10
- package/es/config-provider/UnstableContext.js +0 -1
- package/es/config-provider/context.d.ts +0 -248
- package/es/config-provider/context.js +0 -1
- package/es/config-provider/cssVariables.d.ts +0 -3
- package/es/config-provider/cssVariables.js +0 -6
- package/es/config-provider/defaultRenderEmpty.d.ts +0 -8
- package/es/config-provider/defaultRenderEmpty.js +0 -41
- package/es/config-provider/hooks/useCSSVarCls.d.ts +0 -7
- package/es/config-provider/hooks/useCSSVarCls.js +0 -35
- package/es/config-provider/hooks/useConfig.d.ts +0 -5
- package/es/config-provider/hooks/useConfig.js +0 -1
- package/es/config-provider/hooks/useSize.d.ts +0 -3
- package/es/config-provider/hooks/useSize.js +0 -1
- package/es/config-provider/hooks/useTheme.d.ts +0 -4
- package/es/config-provider/hooks/useTheme.js +0 -35
- package/es/config-provider/hooks/useThemeKey.d.ts +0 -3
- package/es/config-provider/hooks/useThemeKey.js +0 -1
- package/es/config-provider/index.d.ts +0 -139
- package/es/config-provider/index.js +0 -40
- package/es/config-provider/style/index.d.ts +0 -1
- package/es/config-provider/style/index.js +0 -35
- package/es/copy/index.d.ts +0 -13
- package/es/copy/index.js +0 -1
- package/es/date-picker/PickerButton.d.ts +0 -4
- package/es/date-picker/PickerButton.js +0 -47
- package/es/date-picker/generatePicker/constant.d.ts +0 -5
- package/es/date-picker/generatePicker/constant.js +0 -1
- package/es/date-picker/generatePicker/generateRangePicker.d.ts +0 -17
- package/es/date-picker/generatePicker/generateRangePicker.js +0 -98
- package/es/date-picker/generatePicker/generateSinglePicker.d.ts +0 -25
- package/es/date-picker/generatePicker/generateSinglePicker.js +0 -98
- package/es/date-picker/generatePicker/index.d.ts +0 -36
- package/es/date-picker/generatePicker/index.js +0 -98
- package/es/date-picker/generatePicker/interface.d.ts +0 -72
- package/es/date-picker/generatePicker/interface.js +0 -0
- package/es/date-picker/generatePicker/useComponents.d.ts +0 -13
- package/es/date-picker/generatePicker/useComponents.js +0 -47
- package/es/date-picker/index.d.ts +0 -48
- package/es/date-picker/index.js +0 -98
- package/es/date-picker/locale/ar_EG.d.ts +0 -3
- package/es/date-picker/locale/ar_EG.js +0 -1
- package/es/date-picker/locale/az_AZ.d.ts +0 -3
- package/es/date-picker/locale/az_AZ.js +0 -1
- package/es/date-picker/locale/bg_BG.d.ts +0 -3
- package/es/date-picker/locale/bg_BG.js +0 -1
- package/es/date-picker/locale/bn_BD.d.ts +0 -3
- package/es/date-picker/locale/bn_BD.js +0 -1
- package/es/date-picker/locale/by_BY.d.ts +0 -3
- package/es/date-picker/locale/by_BY.js +0 -1
- package/es/date-picker/locale/ca_ES.d.ts +0 -3
- package/es/date-picker/locale/ca_ES.js +0 -1
- package/es/date-picker/locale/cs_CZ.d.ts +0 -3
- package/es/date-picker/locale/cs_CZ.js +0 -1
- package/es/date-picker/locale/da_DK.d.ts +0 -3
- package/es/date-picker/locale/da_DK.js +0 -1
- package/es/date-picker/locale/de_DE.d.ts +0 -3
- package/es/date-picker/locale/de_DE.js +0 -1
- package/es/date-picker/locale/el_GR.d.ts +0 -3
- package/es/date-picker/locale/el_GR.js +0 -1
- package/es/date-picker/locale/en_GB.d.ts +0 -3
- package/es/date-picker/locale/en_GB.js +0 -1
- package/es/date-picker/locale/en_US.d.ts +0 -3
- package/es/date-picker/locale/en_US.js +0 -1
- package/es/date-picker/locale/es_ES.d.ts +0 -3
- package/es/date-picker/locale/es_ES.js +0 -1
- package/es/date-picker/locale/et_EE.d.ts +0 -3
- package/es/date-picker/locale/et_EE.js +0 -1
- package/es/date-picker/locale/eu_ES.d.ts +0 -3
- package/es/date-picker/locale/eu_ES.js +0 -1
- package/es/date-picker/locale/fa_IR.d.ts +0 -3
- package/es/date-picker/locale/fa_IR.js +0 -1
- package/es/date-picker/locale/fi_FI.d.ts +0 -3
- package/es/date-picker/locale/fi_FI.js +0 -1
- package/es/date-picker/locale/fr_BE.d.ts +0 -3
- package/es/date-picker/locale/fr_BE.js +0 -1
- package/es/date-picker/locale/fr_CA.d.ts +0 -3
- package/es/date-picker/locale/fr_CA.js +0 -1
- package/es/date-picker/locale/fr_FR.d.ts +0 -3
- package/es/date-picker/locale/fr_FR.js +0 -1
- package/es/date-picker/locale/ga_IE.d.ts +0 -3
- package/es/date-picker/locale/ga_IE.js +0 -1
- package/es/date-picker/locale/gl_ES.d.ts +0 -3
- package/es/date-picker/locale/gl_ES.js +0 -1
- package/es/date-picker/locale/he_IL.d.ts +0 -3
- package/es/date-picker/locale/he_IL.js +0 -1
- package/es/date-picker/locale/hi_IN.d.ts +0 -3
- package/es/date-picker/locale/hi_IN.js +0 -1
- package/es/date-picker/locale/hr_HR.d.ts +0 -3
- package/es/date-picker/locale/hr_HR.js +0 -1
- package/es/date-picker/locale/hu_HU.d.ts +0 -3
- package/es/date-picker/locale/hu_HU.js +0 -1
- package/es/date-picker/locale/id_ID.d.ts +0 -3
- package/es/date-picker/locale/id_ID.js +0 -1
- package/es/date-picker/locale/is_IS.d.ts +0 -3
- package/es/date-picker/locale/is_IS.js +0 -1
- package/es/date-picker/locale/it_IT.d.ts +0 -3
- package/es/date-picker/locale/it_IT.js +0 -1
- package/es/date-picker/locale/ja_JP.d.ts +0 -3
- package/es/date-picker/locale/ja_JP.js +0 -1
- package/es/date-picker/locale/ka_GE.d.ts +0 -3
- package/es/date-picker/locale/ka_GE.js +0 -1
- package/es/date-picker/locale/kk_KZ.d.ts +0 -3
- package/es/date-picker/locale/kk_KZ.js +0 -1
- package/es/date-picker/locale/km_KH.d.ts +0 -3
- package/es/date-picker/locale/km_KH.js +0 -1
- package/es/date-picker/locale/kmr_IQ.d.ts +0 -3
- package/es/date-picker/locale/kmr_IQ.js +0 -1
- package/es/date-picker/locale/kn_IN.d.ts +0 -3
- package/es/date-picker/locale/kn_IN.js +0 -1
- package/es/date-picker/locale/ko_KR.d.ts +0 -3
- package/es/date-picker/locale/ko_KR.js +0 -1
- package/es/date-picker/locale/lt_LT.d.ts +0 -3
- package/es/date-picker/locale/lt_LT.js +0 -1
- package/es/date-picker/locale/lv_LV.d.ts +0 -3
- package/es/date-picker/locale/lv_LV.js +0 -1
- package/es/date-picker/locale/mk_MK.d.ts +0 -3
- package/es/date-picker/locale/mk_MK.js +0 -1
- package/es/date-picker/locale/ml_IN.d.ts +0 -3
- package/es/date-picker/locale/ml_IN.js +0 -1
- package/es/date-picker/locale/mn_MN.d.ts +0 -3
- package/es/date-picker/locale/mn_MN.js +0 -1
- package/es/date-picker/locale/ms_MY.d.ts +0 -3
- package/es/date-picker/locale/ms_MY.js +0 -1
- package/es/date-picker/locale/my_MM.d.ts +0 -3
- package/es/date-picker/locale/my_MM.js +0 -1
- package/es/date-picker/locale/nb_NO.d.ts +0 -3
- package/es/date-picker/locale/nb_NO.js +0 -1
- package/es/date-picker/locale/nl_BE.d.ts +0 -3
- package/es/date-picker/locale/nl_BE.js +0 -1
- package/es/date-picker/locale/nl_NL.d.ts +0 -3
- package/es/date-picker/locale/nl_NL.js +0 -1
- package/es/date-picker/locale/pl_PL.d.ts +0 -3
- package/es/date-picker/locale/pl_PL.js +0 -1
- package/es/date-picker/locale/pt_BR.d.ts +0 -3
- package/es/date-picker/locale/pt_BR.js +0 -1
- package/es/date-picker/locale/pt_PT.d.ts +0 -3
- package/es/date-picker/locale/pt_PT.js +0 -1
- package/es/date-picker/locale/ro_RO.d.ts +0 -3
- package/es/date-picker/locale/ro_RO.js +0 -1
- package/es/date-picker/locale/ru_RU.d.ts +0 -4
- package/es/date-picker/locale/ru_RU.js +0 -1
- package/es/date-picker/locale/si_LK.d.ts +0 -3
- package/es/date-picker/locale/si_LK.js +0 -1
- package/es/date-picker/locale/sk_SK.d.ts +0 -3
- package/es/date-picker/locale/sk_SK.js +0 -1
- package/es/date-picker/locale/sl_SI.d.ts +0 -3
- package/es/date-picker/locale/sl_SI.js +0 -1
- package/es/date-picker/locale/sr_RS.d.ts +0 -3
- package/es/date-picker/locale/sr_RS.js +0 -1
- package/es/date-picker/locale/sv_SE.d.ts +0 -3
- package/es/date-picker/locale/sv_SE.js +0 -1
- package/es/date-picker/locale/ta_IN.d.ts +0 -3
- package/es/date-picker/locale/ta_IN.js +0 -1
- package/es/date-picker/locale/th_TH.d.ts +0 -3
- package/es/date-picker/locale/th_TH.js +0 -1
- package/es/date-picker/locale/tk_TK.d.ts +0 -3
- package/es/date-picker/locale/tk_TK.js +0 -1
- package/es/date-picker/locale/tr_TR.d.ts +0 -3
- package/es/date-picker/locale/tr_TR.js +0 -1
- package/es/date-picker/locale/uk_UA.d.ts +0 -3
- package/es/date-picker/locale/uk_UA.js +0 -1
- package/es/date-picker/locale/ur_PK.d.ts +0 -3
- package/es/date-picker/locale/ur_PK.js +0 -1
- package/es/date-picker/locale/uz_UZ.d.ts +0 -3
- package/es/date-picker/locale/uz_UZ.js +0 -1
- package/es/date-picker/locale/vi_VN.d.ts +0 -3
- package/es/date-picker/locale/vi_VN.js +0 -1
- package/es/date-picker/locale/zh_CN.d.ts +0 -3
- package/es/date-picker/locale/zh_CN.js +0 -1
- package/es/date-picker/locale/zh_TW.d.ts +0 -3
- package/es/date-picker/locale/zh_TW.js +0 -1
- package/es/date-picker/style/index.d.ts +0 -7
- package/es/date-picker/style/index.js +0 -86
- package/es/date-picker/style/multiple.d.ts +0 -4
- package/es/date-picker/style/multiple.js +0 -35
- package/es/date-picker/style/panel.d.ts +0 -6
- package/es/date-picker/style/panel.js +0 -12
- package/es/date-picker/style/token.d.ts +0 -103
- package/es/date-picker/style/token.js +0 -35
- package/es/date-picker/style/variants.d.ts +0 -4
- package/es/date-picker/style/variants.js +0 -35
- package/es/date-picker/util.d.ts +0 -8
- package/es/date-picker/util.js +0 -1
- package/es/descriptions/Cell.d.ts +0 -17
- package/es/descriptions/Cell.js +0 -1
- package/es/descriptions/DescriptionsContext.d.ts +0 -7
- package/es/descriptions/DescriptionsContext.js +0 -1
- package/es/descriptions/Item.d.ts +0 -13
- package/es/descriptions/Item.js +0 -1
- package/es/descriptions/Row.d.ts +0 -13
- package/es/descriptions/Row.js +0 -1
- package/es/descriptions/constant.d.ts +0 -3
- package/es/descriptions/constant.js +0 -1
- package/es/descriptions/hooks/useItems.d.ts +0 -4
- package/es/descriptions/hooks/useItems.js +0 -35
- package/es/descriptions/hooks/useRow.d.ts +0 -3
- package/es/descriptions/hooks/useRow.js +0 -1
- package/es/descriptions/index.d.ts +0 -42
- package/es/descriptions/index.js +0 -40
- package/es/descriptions/style/index.d.ts +0 -52
- package/es/descriptions/style/index.js +0 -35
- package/es/divider/index.d.ts +0 -20
- package/es/divider/index.js +0 -40
- package/es/divider/style/index.d.ts +0 -23
- package/es/divider/style/index.js +0 -35
- package/es/drag/SortableBoard.d.ts +0 -4
- package/es/drag/SortableBoard.js +0 -1
- package/es/drag/SortableBoardProvider.d.ts +0 -14
- package/es/drag/SortableBoardProvider.js +0 -1
- package/es/drag/SortableList.d.ts +0 -8
- package/es/drag/SortableList.js +0 -1
- package/es/drag/SortableZone.d.ts +0 -7
- package/es/drag/SortableZone.js +0 -1
- package/es/drag/SortableZoneShared.d.ts +0 -36
- package/es/drag/SortableZoneShared.js +0 -1
- package/es/drag/index.d.ts +0 -12
- package/es/drag/index.js +0 -1
- package/es/drag/type.d.ts +0 -362
- package/es/drag/type.js +0 -0
- package/es/drawer/DrawerPanel.d.ts +0 -49
- package/es/drawer/DrawerPanel.js +0 -54
- package/es/drawer/index.d.ts +0 -34
- package/es/drawer/index.js +0 -54
- package/es/drawer/style/index.d.ts +0 -23
- package/es/drawer/style/index.js +0 -35
- package/es/drawer/style/motion.d.ts +0 -4
- package/es/drawer/style/motion.js +0 -1
- package/es/dropdown/dropdown-button.d.ts +0 -21
- package/es/dropdown/dropdown-button.js +0 -88
- package/es/dropdown/dropdown.d.ts +0 -50
- package/es/dropdown/dropdown.js +0 -83
- package/es/dropdown/index.d.ts +0 -8
- package/es/dropdown/index.js +0 -88
- package/es/dropdown/style/index.d.ts +0 -40
- package/es/dropdown/style/index.js +0 -64
- package/es/dropdown/style/status.d.ts +0 -4
- package/es/dropdown/style/status.js +0 -1
- package/es/empty/empty.d.ts +0 -3
- package/es/empty/empty.js +0 -36
- package/es/empty/index.d.ts +0 -21
- package/es/empty/index.js +0 -41
- package/es/empty/simple.d.ts +0 -3
- package/es/empty/simple.js +0 -36
- package/es/empty/style/index.d.ts +0 -5
- package/es/empty/style/index.js +0 -35
- package/es/flex/index.d.ts +0 -4
- package/es/flex/index.js +0 -40
- package/es/flex/interface.d.ts +0 -15
- package/es/flex/interface.js +0 -0
- package/es/flex/style/index.d.ts +0 -30
- package/es/flex/style/index.js +0 -35
- package/es/flex/utils.d.ts +0 -6
- package/es/flex/utils.js +0 -1
- package/es/form/ErrorList.d.ts +0 -13
- package/es/form/ErrorList.js +0 -50
- package/es/form/Form.d.ts +0 -43
- package/es/form/Form.js +0 -50
- package/es/form/FormItem/ItemHolder.d.ts +0 -18
- package/es/form/FormItem/ItemHolder.js +0 -59
- package/es/form/FormItem/StatusProvider.d.ts +0 -16
- package/es/form/FormItem/StatusProvider.js +0 -1
- package/es/form/FormItem/index.d.ts +0 -46
- package/es/form/FormItem/index.js +0 -59
- package/es/form/FormItemInput.d.ts +0 -22
- package/es/form/FormItemInput.js +0 -50
- package/es/form/FormItemLabel.d.ts +0 -22
- package/es/form/FormItemLabel.js +0 -49
- package/es/form/FormList.d.ts +0 -25
- package/es/form/FormList.js +0 -40
- package/es/form/context.d.ts +0 -52
- package/es/form/context.js +0 -1
- package/es/form/hooks/useChildren.d.ts +0 -2
- package/es/form/hooks/useChildren.js +0 -1
- package/es/form/hooks/useDebounce.d.ts +0 -1
- package/es/form/hooks/useDebounce.js +0 -1
- package/es/form/hooks/useForm.d.ts +0 -8
- package/es/form/hooks/useForm.js +0 -1
- package/es/form/hooks/useFormInstance.d.ts +0 -2
- package/es/form/hooks/useFormInstance.js +0 -1
- package/es/form/hooks/useFormItemStatus.d.ts +0 -9
- package/es/form/hooks/useFormItemStatus.js +0 -1
- package/es/form/hooks/useFormWarning.d.ts +0 -2
- package/es/form/hooks/useFormWarning.js +0 -1
- package/es/form/hooks/useFrameState.d.ts +0 -3
- package/es/form/hooks/useFrameState.js +0 -1
- package/es/form/hooks/useItemRef.d.ts +0 -3
- package/es/form/hooks/useItemRef.js +0 -1
- package/es/form/hooks/useVariants.d.ts +0 -7
- package/es/form/hooks/useVariants.js +0 -40
- package/es/form/index.d.ts +0 -26
- package/es/form/index.js +0 -59
- package/es/form/interface.d.ts +0 -3
- package/es/form/interface.js +0 -0
- package/es/form/style/explain.d.ts +0 -4
- package/es/form/style/explain.js +0 -3
- package/es/form/style/fallbackCmp.d.ts +0 -6
- package/es/form/style/fallbackCmp.js +0 -45
- package/es/form/style/index.d.ts +0 -74
- package/es/form/style/index.js +0 -45
- package/es/form/util.d.ts +0 -9
- package/es/form/util.js +0 -1
- package/es/form/validateMessagesContext.d.ts +0 -3
- package/es/form/validateMessagesContext.js +0 -1
- package/es/form-area/ValidateTooltip.d.ts +0 -12
- package/es/form-area/ValidateTooltip.js +0 -353
- package/es/form-area/index.d.ts +0 -4
- package/es/form-area/index.js +0 -353
- package/es/form-area/renderItemMap.d.ts +0 -45
- package/es/form-area/renderItemMap.js +0 -353
- package/es/form-area/type.d.ts +0 -160
- package/es/form-area/type.js +0 -0
- package/es/gantt/index.d.ts +0 -4
- package/es/gantt/index.js +0 -101
- package/es/gantt/style/index.d.ts +0 -4
- package/es/gantt/style/index.js +0 -35
- package/es/gantt/style/style.d.ts +0 -1
- package/es/gantt/style/style.js +0 -372
- package/es/gantt/type.d.ts +0 -138
- package/es/gantt/type.js +0 -0
- package/es/gantt/utils.d.ts +0 -36
- package/es/gantt/utils.js +0 -1
- package/es/grid/RowContext.d.ts +0 -6
- package/es/grid/RowContext.js +0 -1
- package/es/grid/col.d.ts +0 -29
- package/es/grid/col.js +0 -40
- package/es/grid/hooks/useBreakpoint.d.ts +0 -3
- package/es/grid/hooks/useBreakpoint.js +0 -35
- package/es/grid/index.d.ts +0 -10
- package/es/grid/index.js +0 -40
- package/es/grid/row.d.ts +0 -20
- package/es/grid/row.js +0 -40
- package/es/grid/style/index.d.ts +0 -7
- package/es/grid/style/index.js +0 -35
- package/es/hooks/index.d.ts +0 -5
- package/es/hooks/index.js +0 -353
- package/es/hooks/useDrawer.d.ts +0 -10
- package/es/hooks/useDrawer.js +0 -1
- package/es/hooks/useForm.d.ts +0 -15
- package/es/hooks/useForm.js +0 -353
- package/es/hooks/useModal.d.ts +0 -10
- package/es/hooks/useModal.js +0 -1
- package/es/hooks/useParsedHash.d.ts +0 -7
- package/es/hooks/useParsedHash.js +0 -1
- package/es/hooks/useUrlState.d.ts +0 -9
- package/es/hooks/useUrlState.js +0 -1
- package/es/hour-panel/index.d.ts +0 -4
- package/es/hour-panel/index.js +0 -99
- package/es/hour-panel/style/index.d.ts +0 -12
- package/es/hour-panel/style/index.js +0 -35
- package/es/hour-panel/style/style.d.ts +0 -1
- package/es/hour-panel/style/style.js +0 -351
- package/es/hour-panel/types.d.ts +0 -145
- package/es/hour-panel/types.js +0 -1
- package/es/hour-panel/utils.d.ts +0 -31
- package/es/hour-panel/utils.js +0 -1
- package/es/icon/index.d.ts +0 -2
- package/es/icon/index.js +0 -1
- package/es/image/PreviewGroup.d.ts +0 -15
- package/es/image/PreviewGroup.js +0 -54
- package/es/image/index.d.ts +0 -9
- package/es/image/index.js +0 -54
- package/es/image/style/index.d.ts +0 -59
- package/es/image/style/index.js +0 -49
- package/es/index.d.ts +0 -161
- package/es/index.js +0 -356
- package/es/input/Group.d.ts +0 -15
- package/es/input/Group.js +0 -58
- package/es/input/Input.d.ts +0 -25
- package/es/input/Input.js +0 -58
- package/es/input/OTP/OTPInput.d.ts +0 -11
- package/es/input/OTP/OTPInput.js +0 -58
- package/es/input/OTP/index.d.ts +0 -29
- package/es/input/OTP/index.js +0 -58
- package/es/input/Password.d.ts +0 -14
- package/es/input/Password.js +0 -58
- package/es/input/Search.d.ts +0 -12
- package/es/input/Search.js +0 -65
- package/es/input/TextArea.d.ts +0 -25
- package/es/input/TextArea.js +0 -58
- package/es/input/hooks/useRemovePasswordTimeout.d.ts +0 -2
- package/es/input/hooks/useRemovePasswordTimeout.js +0 -1
- package/es/input/index.d.ts +0 -20
- package/es/input/index.js +0 -65
- package/es/input/style/index.d.ts +0 -17
- package/es/input/style/index.js +0 -53
- package/es/input/style/otp.d.ts +0 -2
- package/es/input/style/otp.js +0 -35
- package/es/input/style/token.d.ts +0 -97
- package/es/input/style/token.js +0 -35
- package/es/input/style/variants.d.ts +0 -15
- package/es/input/style/variants.js +0 -35
- package/es/input/utils.d.ts +0 -8
- package/es/input/utils.js +0 -1
- package/es/input-number/index.d.ts +0 -34
- package/es/input-number/index.js +0 -70
- package/es/input-number/style/index.d.ts +0 -18
- package/es/input-number/style/index.js +0 -65
- package/es/input-number/style/token.d.ts +0 -52
- package/es/input-number/style/token.js +0 -35
- package/es/layout/Sider.d.ts +0 -28
- package/es/layout/Sider.js +0 -40
- package/es/layout/context.d.ts +0 -8
- package/es/layout/context.js +0 -1
- package/es/layout/hooks/useHasSider.d.ts +0 -2
- package/es/layout/hooks/useHasSider.js +0 -40
- package/es/layout/index.d.ts +0 -15
- package/es/layout/index.js +0 -40
- package/es/layout/layout.d.ts +0 -18
- package/es/layout/layout.js +0 -40
- package/es/layout/style/index.d.ts +0 -96
- package/es/layout/style/index.js +0 -35
- package/es/layout/style/sider.d.ts +0 -2
- package/es/layout/style/sider.js +0 -35
- package/es/list/Item.d.ts +0 -35
- package/es/list/Item.js +0 -40
- package/es/list/context.d.ts +0 -8
- package/es/list/context.js +0 -1
- package/es/list/index.d.ts +0 -56
- package/es/list/index.js +0 -111
- package/es/list/style/index.d.ts +0 -62
- package/es/list/style/index.js +0 -35
- package/es/locale/ar_EG.d.ts +0 -3
- package/es/locale/ar_EG.js +0 -1
- package/es/locale/az_AZ.d.ts +0 -3
- package/es/locale/az_AZ.js +0 -1
- package/es/locale/bg_BG.d.ts +0 -3
- package/es/locale/bg_BG.js +0 -1
- package/es/locale/bn_BD.d.ts +0 -3
- package/es/locale/bn_BD.js +0 -1
- package/es/locale/by_BY.d.ts +0 -3
- package/es/locale/by_BY.js +0 -1
- package/es/locale/ca_ES.d.ts +0 -3
- package/es/locale/ca_ES.js +0 -1
- package/es/locale/context.d.ts +0 -6
- package/es/locale/context.js +0 -1
- package/es/locale/cs_CZ.d.ts +0 -3
- package/es/locale/cs_CZ.js +0 -1
- package/es/locale/da_DK.d.ts +0 -3
- package/es/locale/da_DK.js +0 -1
- package/es/locale/de_DE.d.ts +0 -3
- package/es/locale/de_DE.js +0 -1
- package/es/locale/el_GR.d.ts +0 -3
- package/es/locale/el_GR.js +0 -1
- package/es/locale/en_GB.d.ts +0 -3
- package/es/locale/en_GB.js +0 -1
- package/es/locale/en_US.d.ts +0 -3
- package/es/locale/en_US.js +0 -1
- package/es/locale/es_ES.d.ts +0 -3
- package/es/locale/es_ES.js +0 -1
- package/es/locale/et_EE.d.ts +0 -3
- package/es/locale/et_EE.js +0 -1
- package/es/locale/eu_ES.d.ts +0 -3
- package/es/locale/eu_ES.js +0 -1
- package/es/locale/fa_IR.d.ts +0 -3
- package/es/locale/fa_IR.js +0 -1
- package/es/locale/fi_FI.d.ts +0 -3
- package/es/locale/fi_FI.js +0 -1
- package/es/locale/fr_BE.d.ts +0 -3
- package/es/locale/fr_BE.js +0 -1
- package/es/locale/fr_CA.d.ts +0 -3
- package/es/locale/fr_CA.js +0 -1
- package/es/locale/fr_FR.d.ts +0 -3
- package/es/locale/fr_FR.js +0 -1
- package/es/locale/ga_IE.d.ts +0 -3
- package/es/locale/ga_IE.js +0 -1
- package/es/locale/gl_ES.d.ts +0 -3
- package/es/locale/gl_ES.js +0 -1
- package/es/locale/he_IL.d.ts +0 -3
- package/es/locale/he_IL.js +0 -1
- package/es/locale/hi_IN.d.ts +0 -3
- package/es/locale/hi_IN.js +0 -1
- package/es/locale/hr_HR.d.ts +0 -3
- package/es/locale/hr_HR.js +0 -1
- package/es/locale/hu_HU.d.ts +0 -3
- package/es/locale/hu_HU.js +0 -1
- package/es/locale/hy_AM.d.ts +0 -3
- package/es/locale/hy_AM.js +0 -2
- package/es/locale/id_ID.d.ts +0 -3
- package/es/locale/id_ID.js +0 -1
- package/es/locale/index.d.ts +0 -61
- package/es/locale/index.js +0 -1
- package/es/locale/is_IS.d.ts +0 -3
- package/es/locale/is_IS.js +0 -1
- package/es/locale/it_IT.d.ts +0 -3
- package/es/locale/it_IT.js +0 -1
- package/es/locale/ja_JP.d.ts +0 -3
- package/es/locale/ja_JP.js +0 -1
- package/es/locale/ka_GE.d.ts +0 -3
- package/es/locale/ka_GE.js +0 -1
- package/es/locale/kk_KZ.d.ts +0 -3
- package/es/locale/kk_KZ.js +0 -1
- package/es/locale/km_KH.d.ts +0 -3
- package/es/locale/km_KH.js +0 -1
- package/es/locale/kmr_IQ.d.ts +0 -3
- package/es/locale/kmr_IQ.js +0 -1
- package/es/locale/kn_IN.d.ts +0 -3
- package/es/locale/kn_IN.js +0 -1
- package/es/locale/ko_KR.d.ts +0 -3
- package/es/locale/ko_KR.js +0 -1
- package/es/locale/ku_IQ.d.ts +0 -3
- package/es/locale/ku_IQ.js +0 -1
- package/es/locale/lt_LT.d.ts +0 -3
- package/es/locale/lt_LT.js +0 -1
- package/es/locale/lv_LV.d.ts +0 -3
- package/es/locale/lv_LV.js +0 -1
- package/es/locale/mk_MK.d.ts +0 -3
- package/es/locale/mk_MK.js +0 -1
- package/es/locale/ml_IN.d.ts +0 -3
- package/es/locale/ml_IN.js +0 -1
- package/es/locale/mn_MN.d.ts +0 -3
- package/es/locale/mn_MN.js +0 -1
- package/es/locale/ms_MY.d.ts +0 -3
- package/es/locale/ms_MY.js +0 -1
- package/es/locale/my_MM.d.ts +0 -3
- package/es/locale/my_MM.js +0 -1
- package/es/locale/nb_NO.d.ts +0 -3
- package/es/locale/nb_NO.js +0 -1
- package/es/locale/ne_NP.d.ts +0 -3
- package/es/locale/ne_NP.js +0 -1
- package/es/locale/nl_BE.d.ts +0 -3
- package/es/locale/nl_BE.js +0 -1
- package/es/locale/nl_NL.d.ts +0 -3
- package/es/locale/nl_NL.js +0 -1
- package/es/locale/pl_PL.d.ts +0 -3
- package/es/locale/pl_PL.js +0 -1
- package/es/locale/pt_BR.d.ts +0 -3
- package/es/locale/pt_BR.js +0 -1
- package/es/locale/pt_PT.d.ts +0 -3
- package/es/locale/pt_PT.js +0 -1
- package/es/locale/ro_RO.d.ts +0 -3
- package/es/locale/ro_RO.js +0 -1
- package/es/locale/ru_RU.d.ts +0 -3
- package/es/locale/ru_RU.js +0 -1
- package/es/locale/si_LK.d.ts +0 -3
- package/es/locale/si_LK.js +0 -1
- package/es/locale/sk_SK.d.ts +0 -3
- package/es/locale/sk_SK.js +0 -1
- package/es/locale/sl_SI.d.ts +0 -3
- package/es/locale/sl_SI.js +0 -1
- package/es/locale/sr_RS.d.ts +0 -3
- package/es/locale/sr_RS.js +0 -1
- package/es/locale/sv_SE.d.ts +0 -3
- package/es/locale/sv_SE.js +0 -1
- package/es/locale/ta_IN.d.ts +0 -3
- package/es/locale/ta_IN.js +0 -1
- package/es/locale/th_TH.d.ts +0 -3
- package/es/locale/th_TH.js +0 -1
- package/es/locale/tk_TK.d.ts +0 -3
- package/es/locale/tk_TK.js +0 -1
- package/es/locale/tr_TR.d.ts +0 -3
- package/es/locale/tr_TR.js +0 -1
- package/es/locale/uk_UA.d.ts +0 -3
- package/es/locale/uk_UA.js +0 -1
- package/es/locale/ur_PK.d.ts +0 -3
- package/es/locale/ur_PK.js +0 -1
- package/es/locale/useLocale.d.ts +0 -4
- package/es/locale/useLocale.js +0 -1
- package/es/locale/uz_UZ.d.ts +0 -3
- package/es/locale/uz_UZ.js +0 -1
- package/es/locale/vi_VN.d.ts +0 -3
- package/es/locale/vi_VN.js +0 -1
- package/es/locale/zh_CN.d.ts +0 -3
- package/es/locale/zh_CN.js +0 -1
- package/es/locale/zh_HK.d.ts +0 -3
- package/es/locale/zh_HK.js +0 -1
- package/es/locale/zh_TW.d.ts +0 -3
- package/es/locale/zh_TW.js +0 -1
- package/es/mentions/index.d.ts +0 -45
- package/es/mentions/index.js +0 -58
- package/es/mentions/style/index.d.ts +0 -22
- package/es/mentions/style/index.js +0 -53
- package/es/menu/MenuContext.d.ts +0 -11
- package/es/menu/MenuContext.js +0 -1
- package/es/menu/MenuDivider.d.ts +0 -9
- package/es/menu/MenuDivider.js +0 -40
- package/es/menu/MenuItem.d.ts +0 -13
- package/es/menu/MenuItem.js +0 -49
- package/es/menu/OverrideContext.d.ts +0 -13
- package/es/menu/OverrideContext.js +0 -40
- package/es/menu/SubMenu.d.ts +0 -13
- package/es/menu/SubMenu.js +0 -35
- package/es/menu/index.d.ts +0 -32
- package/es/menu/index.js +0 -66
- package/es/menu/interface.d.ts +0 -20
- package/es/menu/interface.js +0 -0
- package/es/menu/menu.d.ts +0 -19
- package/es/menu/menu.js +0 -66
- package/es/menu/style/horizontal.d.ts +0 -4
- package/es/menu/style/horizontal.js +0 -3
- package/es/menu/style/index.d.ts +0 -354
- package/es/menu/style/index.js +0 -61
- package/es/menu/style/rtl.d.ts +0 -5
- package/es/menu/style/rtl.js +0 -2
- package/es/menu/style/theme.d.ts +0 -4
- package/es/menu/style/theme.js +0 -1
- package/es/menu/style/vertical.d.ts +0 -4
- package/es/menu/style/vertical.js +0 -9
- package/es/message/PurePanel.d.ts +0 -23
- package/es/message/PurePanel.js +0 -47
- package/es/message/index.d.ts +0 -23
- package/es/message/index.js +0 -47
- package/es/message/interface.d.ts +0 -66
- package/es/message/interface.js +0 -0
- package/es/message/style/index.d.ts +0 -23
- package/es/message/style/index.js +0 -42
- package/es/message/useMessage.d.ts +0 -8
- package/es/message/useMessage.js +0 -47
- package/es/message/util.d.ts +0 -4
- package/es/message/util.js +0 -1
- package/es/modal/ConfirmDialog.d.ts +0 -32
- package/es/modal/ConfirmDialog.js +0 -69
- package/es/modal/Modal.d.ts +0 -4
- package/es/modal/Modal.js +0 -68
- package/es/modal/PurePanel.d.ts +0 -9
- package/es/modal/PurePanel.js +0 -69
- package/es/modal/components/ConfirmCancelBtn.d.ts +0 -10
- package/es/modal/components/ConfirmCancelBtn.js +0 -47
- package/es/modal/components/ConfirmOkBtn.d.ts +0 -9
- package/es/modal/components/ConfirmOkBtn.js +0 -47
- package/es/modal/components/NormalCancelBtn.d.ts +0 -8
- package/es/modal/components/NormalCancelBtn.js +0 -47
- package/es/modal/components/NormalOkBtn.d.ts +0 -8
- package/es/modal/components/NormalOkBtn.js +0 -47
- package/es/modal/confirm.d.ts +0 -20
- package/es/modal/confirm.js +0 -69
- package/es/modal/context.d.ts +0 -8
- package/es/modal/context.js +0 -1
- package/es/modal/destroyFns.d.ts +0 -2
- package/es/modal/destroyFns.js +0 -1
- package/es/modal/index.d.ts +0 -15
- package/es/modal/index.js +0 -69
- package/es/modal/interface.d.ts +0 -123
- package/es/modal/interface.js +0 -0
- package/es/modal/locale.d.ts +0 -7
- package/es/modal/locale.js +0 -1
- package/es/modal/shared.d.ts +0 -9
- package/es/modal/shared.js +0 -47
- package/es/modal/style/confirm.d.ts +0 -2
- package/es/modal/style/confirm.js +0 -50
- package/es/modal/style/index.d.ts +0 -110
- package/es/modal/style/index.js +0 -49
- package/es/modal/useModal/HookModal.d.ts +0 -17
- package/es/modal/useModal/HookModal.js +0 -69
- package/es/modal/useModal/index.d.ts +0 -8
- package/es/modal/useModal/index.js +0 -69
- package/es/notification/PurePanel.d.ts +0 -27
- package/es/notification/PurePanel.js +0 -40
- package/es/notification/index.d.ts +0 -22
- package/es/notification/index.js +0 -40
- package/es/notification/interface.d.ts +0 -68
- package/es/notification/interface.js +0 -1
- package/es/notification/style/index.d.ts +0 -89
- package/es/notification/style/index.js +0 -35
- package/es/notification/style/placement.d.ts +0 -5
- package/es/notification/style/placement.js +0 -1
- package/es/notification/style/pure-panel.d.ts +0 -2
- package/es/notification/style/pure-panel.js +0 -35
- package/es/notification/style/stack.d.ts +0 -4
- package/es/notification/style/stack.js +0 -1
- package/es/notification/useNotification.d.ts +0 -8
- package/es/notification/useNotification.js +0 -40
- package/es/notification/util.d.ts +0 -5
- package/es/notification/util.js +0 -1
- package/es/pagination/Pagination.d.ts +0 -25
- package/es/pagination/Pagination.js +0 -111
- package/es/pagination/index.d.ts +0 -3
- package/es/pagination/index.js +0 -111
- package/es/pagination/style/bordered.d.ts +0 -2
- package/es/pagination/style/bordered.js +0 -68
- package/es/pagination/style/index.d.ts +0 -99
- package/es/pagination/style/index.js +0 -68
- package/es/pagination/useShowSizeChanger.d.ts +0 -3
- package/es/pagination/useShowSizeChanger.js +0 -1
- package/es/popconfirm/PurePanel.d.ts +0 -20
- package/es/popconfirm/PurePanel.js +0 -56
- package/es/popconfirm/index.d.ts +0 -30
- package/es/popconfirm/index.js +0 -56
- package/es/popconfirm/style/index.d.ts +0 -17
- package/es/popconfirm/style/index.js +0 -35
- package/es/popover/PurePanel.d.ts +0 -17
- package/es/popover/PurePanel.js +0 -49
- package/es/popover/index.d.ts +0 -15
- package/es/popover/index.js +0 -49
- package/es/popover/style/index.d.ts +0 -46
- package/es/popover/style/index.js +0 -44
- package/es/progress/Circle.d.ts +0 -10
- package/es/progress/Circle.js +0 -49
- package/es/progress/Line.d.ts +0 -36
- package/es/progress/Line.js +0 -35
- package/es/progress/Steps.d.ts +0 -9
- package/es/progress/Steps.js +0 -1
- package/es/progress/index.d.ts +0 -3
- package/es/progress/index.js +0 -49
- package/es/progress/progress.d.ts +0 -58
- package/es/progress/progress.js +0 -49
- package/es/progress/style/index.d.ts +0 -38
- package/es/progress/style/index.js +0 -35
- package/es/progress/utils.d.ts +0 -10
- package/es/progress/utils.js +0 -1
- package/es/qr-code/QrcodeStatus.d.ts +0 -11
- package/es/qr-code/QrcodeStatus.js +0 -47
- package/es/qr-code/index.d.ts +0 -4
- package/es/qr-code/index.js +0 -47
- package/es/qr-code/interface.d.ts +0 -29
- package/es/qr-code/interface.js +0 -0
- package/es/qr-code/style/index.d.ts +0 -6
- package/es/qr-code/style/index.js +0 -35
- package/es/qrcode/index.d.ts +0 -2
- package/es/qrcode/index.js +0 -47
- package/es/qrcode/interface.d.ts +0 -1
- package/es/qrcode/interface.js +0 -0
- package/es/qrcode/style/index.d.ts +0 -1
- package/es/qrcode/style/index.js +0 -35
- package/es/radio/context.d.ts +0 -7
- package/es/radio/context.js +0 -1
- package/es/radio/group.d.ts +0 -4
- package/es/radio/group.js +0 -41
- package/es/radio/index.d.ts +0 -11
- package/es/radio/index.js +0 -41
- package/es/radio/interface.d.ts +0 -43
- package/es/radio/interface.js +0 -0
- package/es/radio/radio.d.ts +0 -4
- package/es/radio/radio.js +0 -41
- package/es/radio/radioButton.d.ts +0 -6
- package/es/radio/radioButton.js +0 -41
- package/es/radio/style/index.d.ts +0 -76
- package/es/radio/style/index.js +0 -36
- package/es/rate/index.d.ts +0 -8
- package/es/rate/index.js +0 -49
- package/es/rate/style/index.d.ts +0 -27
- package/es/rate/style/index.js +0 -35
- package/es/result/index.d.ts +0 -33
- package/es/result/index.js +0 -40
- package/es/result/noFound.d.ts +0 -3
- package/es/result/noFound.js +0 -1
- package/es/result/serverError.d.ts +0 -3
- package/es/result/serverError.js +0 -1
- package/es/result/style/index.d.ts +0 -27
- package/es/result/style/index.js +0 -35
- package/es/result/unauthorized.d.ts +0 -3
- package/es/result/unauthorized.js +0 -1
- package/es/row/index.d.ts +0 -4
- package/es/row/index.js +0 -40
- package/es/row/style/index.d.ts +0 -2
- package/es/row/style/index.js +0 -1
- package/es/search-area/index.d.ts +0 -5
- package/es/search-area/index.js +0 -353
- package/es/search-area/style/index.d.ts +0 -2
- package/es/search-area/style/index.js +0 -1
- package/es/segmented/index.d.ts +0 -26
- package/es/segmented/index.js +0 -40
- package/es/segmented/style/index.d.ts +0 -46
- package/es/segmented/style/index.js +0 -35
- package/es/select/index.d.ts +0 -57
- package/es/select/index.js +0 -78
- package/es/select/mergedBuiltinPlacements.d.ts +0 -4
- package/es/select/mergedBuiltinPlacements.js +0 -1
- package/es/select/style/dropdown.d.ts +0 -4
- package/es/select/style/dropdown.js +0 -24
- package/es/select/style/index.d.ts +0 -4
- package/es/select/style/index.js +0 -73
- package/es/select/style/multiple.d.ts +0 -32
- package/es/select/style/multiple.js +0 -40
- package/es/select/style/single.d.ts +0 -3
- package/es/select/style/single.js +0 -45
- package/es/select/style/token.d.ts +0 -138
- package/es/select/style/token.js +0 -1
- package/es/select/style/variants.d.ts +0 -4
- package/es/select/style/variants.js +0 -1
- package/es/select/useIcons.d.ts +0 -26
- package/es/select/useIcons.js +0 -1
- package/es/select/useShowArrow.d.ts +0 -8
- package/es/select/useShowArrow.js +0 -1
- package/es/skeleton/Avatar.d.ts +0 -7
- package/es/skeleton/Avatar.js +0 -47
- package/es/skeleton/Button.d.ts +0 -8
- package/es/skeleton/Button.js +0 -47
- package/es/skeleton/Element.d.ts +0 -12
- package/es/skeleton/Element.js +0 -1
- package/es/skeleton/Image.d.ts +0 -6
- package/es/skeleton/Image.js +0 -48
- package/es/skeleton/Input.d.ts +0 -8
- package/es/skeleton/Input.js +0 -47
- package/es/skeleton/Node.d.ts +0 -8
- package/es/skeleton/Node.js +0 -47
- package/es/skeleton/Paragraph.d.ts +0 -11
- package/es/skeleton/Paragraph.js +0 -1
- package/es/skeleton/Skeleton.d.ts +0 -32
- package/es/skeleton/Skeleton.js +0 -48
- package/es/skeleton/Title.d.ts +0 -9
- package/es/skeleton/Title.js +0 -1
- package/es/skeleton/index.d.ts +0 -3
- package/es/skeleton/index.js +0 -48
- package/es/skeleton/style/index.d.ts +0 -40
- package/es/skeleton/style/index.js +0 -42
- package/es/slider/Context.d.ts +0 -9
- package/es/slider/Context.js +0 -1
- package/es/slider/SliderTooltip.d.ts +0 -8
- package/es/slider/SliderTooltip.js +0 -49
- package/es/slider/index.d.ts +0 -97
- package/es/slider/index.js +0 -61
- package/es/slider/style/index.d.ts +0 -97
- package/es/slider/style/index.js +0 -47
- package/es/slider/useRafLock.d.ts +0 -1
- package/es/slider/useRafLock.js +0 -1
- package/es/space/Compact.d.ts +0 -25
- package/es/space/Compact.js +0 -40
- package/es/space/Item.d.ts +0 -10
- package/es/space/Item.js +0 -1
- package/es/space/context.d.ts +0 -6
- package/es/space/context.js +0 -1
- package/es/space/index.d.ts +0 -28
- package/es/space/index.js +0 -40
- package/es/space/style/compact.d.ts +0 -8
- package/es/space/style/compact.js +0 -1
- package/es/space/style/index.d.ts +0 -7
- package/es/space/style/index.js +0 -35
- package/es/spin/Indicator/Looper.d.ts +0 -6
- package/es/spin/Indicator/Looper.js +0 -1
- package/es/spin/Indicator/Progress.d.ts +0 -7
- package/es/spin/Indicator/Progress.js +0 -1
- package/es/spin/Indicator/index.d.ts +0 -7
- package/es/spin/Indicator/index.js +0 -1
- package/es/spin/index.d.ts +0 -36
- package/es/spin/index.js +0 -40
- package/es/spin/style/index.d.ts +0 -26
- package/es/spin/style/index.js +0 -35
- package/es/spin/usePercent.d.ts +0 -1
- package/es/spin/usePercent.js +0 -1
- package/es/splitter/Panel.d.ts +0 -7
- package/es/splitter/Panel.js +0 -1
- package/es/splitter/SplitBar.d.ts +0 -19
- package/es/splitter/SplitBar.js +0 -1
- package/es/splitter/Splitter.d.ts +0 -4
- package/es/splitter/Splitter.js +0 -40
- package/es/splitter/hooks/useItems.d.ts +0 -12
- package/es/splitter/hooks/useItems.js +0 -1
- package/es/splitter/hooks/useResizable.d.ts +0 -7
- package/es/splitter/hooks/useResizable.js +0 -1
- package/es/splitter/hooks/useResize.d.ts +0 -6
- package/es/splitter/hooks/useResize.js +0 -1
- package/es/splitter/hooks/useSizes.d.ts +0 -8
- package/es/splitter/hooks/useSizes.js +0 -1
- package/es/splitter/index.d.ts +0 -8
- package/es/splitter/index.js +0 -40
- package/es/splitter/interface.d.ts +0 -64
- package/es/splitter/interface.js +0 -0
- package/es/splitter/style/index.d.ts +0 -27
- package/es/splitter/style/index.js +0 -35
- package/es/statistic/Countdown.d.ts +0 -10
- package/es/statistic/Countdown.js +0 -48
- package/es/statistic/Number.d.ts +0 -8
- package/es/statistic/Number.js +0 -1
- package/es/statistic/Statistic.d.ts +0 -21
- package/es/statistic/Statistic.js +0 -48
- package/es/statistic/index.d.ts +0 -11
- package/es/statistic/index.js +0 -48
- package/es/statistic/interface.d.ts +0 -0
- package/es/statistic/interface.js +0 -0
- package/es/statistic/style/index.d.ts +0 -16
- package/es/statistic/style/index.js +0 -35
- package/es/statistic/utils.d.ts +0 -15
- package/es/statistic/utils.js +0 -1
- package/es/steps/index.d.ts +0 -39
- package/es/steps/index.js +0 -49
- package/es/steps/style/custom-icon.d.ts +0 -5
- package/es/steps/style/custom-icon.js +0 -1
- package/es/steps/style/horizontal.d.ts +0 -5
- package/es/steps/style/horizontal.js +0 -1
- package/es/steps/style/index.d.ts +0 -102
- package/es/steps/style/index.js +0 -35
- package/es/steps/style/inline.d.ts +0 -5
- package/es/steps/style/inline.js +0 -1
- package/es/steps/style/label-placement.d.ts +0 -5
- package/es/steps/style/label-placement.js +0 -1
- package/es/steps/style/nav.d.ts +0 -5
- package/es/steps/style/nav.js +0 -1
- package/es/steps/style/progress-dot.d.ts +0 -5
- package/es/steps/style/progress-dot.js +0 -1
- package/es/steps/style/progress.d.ts +0 -5
- package/es/steps/style/progress.js +0 -1
- package/es/steps/style/rtl.d.ts +0 -5
- package/es/steps/style/rtl.js +0 -1
- package/es/steps/style/small.d.ts +0 -5
- package/es/steps/style/small.js +0 -1
- package/es/steps/style/vertical.d.ts +0 -5
- package/es/steps/style/vertical.js +0 -1
- package/es/steps/useLegacyItems.d.ts +0 -3
- package/es/steps/useLegacyItems.js +0 -1
- package/es/style/compact-item-vertical.d.ts +0 -3
- package/es/style/compact-item-vertical.js +0 -1
- package/es/style/compact-item.d.ts +0 -17
- package/es/style/compact-item.js +0 -1
- package/es/style/index.d.ts +0 -12
- package/es/style/index.js +0 -1
- package/es/style/motion/collapse.d.ts +0 -3
- package/es/style/motion/collapse.js +0 -3
- package/es/style/motion/fade.d.ts +0 -6
- package/es/style/motion/fade.js +0 -10
- package/es/style/motion/index.d.ts +0 -6
- package/es/style/motion/index.js +0 -21
- package/es/style/motion/motion.d.ts +0 -2
- package/es/style/motion/motion.js +0 -7
- package/es/style/motion/move.d.ts +0 -14
- package/es/style/motion/move.js +0 -10
- package/es/style/motion/slide.d.ts +0 -14
- package/es/style/motion/slide.js +0 -10
- package/es/style/motion/zoom.d.ts +0 -18
- package/es/style/motion/zoom.js +0 -10
- package/es/style/placementArrow.d.ts +0 -19
- package/es/style/placementArrow.js +0 -1
- package/es/style/roundedArrow.d.ts +0 -7
- package/es/style/roundedArrow.js +0 -1
- package/es/switch/index.d.ts +0 -37
- package/es/switch/index.js +0 -40
- package/es/switch/style/index.d.ts +0 -71
- package/es/switch/style/index.js +0 -35
- package/es/table/Column.d.ts +0 -8
- package/es/table/Column.js +0 -1
- package/es/table/ColumnGroup.d.ts +0 -10
- package/es/table/ColumnGroup.js +0 -1
- package/es/table/ExpandIcon.d.ts +0 -12
- package/es/table/ExpandIcon.js +0 -1
- package/es/table/InternalTable.d.ts +0 -32
- package/es/table/InternalTable.js +0 -216
- package/es/table/RcTable/VirtualTable.d.ts +0 -5
- package/es/table/RcTable/VirtualTable.js +0 -1
- package/es/table/RcTable/index.d.ts +0 -5
- package/es/table/RcTable/index.js +0 -1
- package/es/table/Table.d.ts +0 -17
- package/es/table/Table.js +0 -216
- package/es/table/hooks/useContainerWidth.d.ts +0 -1
- package/es/table/hooks/useContainerWidth.js +0 -1
- package/es/table/hooks/useFilter/FilterDropdown.d.ts +0 -31
- package/es/table/hooks/useFilter/FilterDropdown.js +0 -113
- package/es/table/hooks/useFilter/FilterSearch.d.ts +0 -12
- package/es/table/hooks/useFilter/FilterSearch.js +0 -65
- package/es/table/hooks/useFilter/FilterWrapper.d.ts +0 -8
- package/es/table/hooks/useFilter/FilterWrapper.js +0 -1
- package/es/table/hooks/useFilter/index.d.ts +0 -22
- package/es/table/hooks/useFilter/index.js +0 -113
- package/es/table/hooks/useLazyKVMap.d.ts +0 -4
- package/es/table/hooks/useLazyKVMap.js +0 -1
- package/es/table/hooks/usePagination.d.ts +0 -5
- package/es/table/hooks/usePagination.js +0 -1
- package/es/table/hooks/useSelection.d.ts +0 -20
- package/es/table/hooks/useSelection.js +0 -95
- package/es/table/hooks/useSorter.d.ts +0 -19
- package/es/table/hooks/useSorter.js +0 -49
- package/es/table/hooks/useTitleColumns.d.ts +0 -4
- package/es/table/hooks/useTitleColumns.js +0 -1
- package/es/table/index.d.ts +0 -7
- package/es/table/index.js +0 -216
- package/es/table/interface.d.ts +0 -194
- package/es/table/interface.js +0 -1
- package/es/table/style/bordered.d.ts +0 -5
- package/es/table/style/bordered.js +0 -10
- package/es/table/style/ellipsis.d.ts +0 -5
- package/es/table/style/ellipsis.js +0 -4
- package/es/table/style/empty.d.ts +0 -5
- package/es/table/style/empty.js +0 -1
- package/es/table/style/expand.d.ts +0 -5
- package/es/table/style/expand.js +0 -1
- package/es/table/style/filter.d.ts +0 -4
- package/es/table/style/filter.js +0 -1
- package/es/table/style/fixed.d.ts +0 -5
- package/es/table/style/fixed.js +0 -21
- package/es/table/style/index.d.ts +0 -202
- package/es/table/style/index.js +0 -97
- package/es/table/style/pagination.d.ts +0 -5
- package/es/table/style/pagination.js +0 -1
- package/es/table/style/radius.d.ts +0 -5
- package/es/table/style/radius.js +0 -1
- package/es/table/style/rtl.d.ts +0 -5
- package/es/table/style/rtl.js +0 -1
- package/es/table/style/selection.d.ts +0 -5
- package/es/table/style/selection.js +0 -5
- package/es/table/style/size.d.ts +0 -5
- package/es/table/style/size.js +0 -10
- package/es/table/style/sorter.d.ts +0 -5
- package/es/table/style/sorter.js +0 -4
- package/es/table/style/sticky.d.ts +0 -5
- package/es/table/style/sticky.js +0 -1
- package/es/table/style/summary.d.ts +0 -5
- package/es/table/style/summary.js +0 -1
- package/es/table/style/virtual.d.ts +0 -5
- package/es/table/style/virtual.js +0 -4
- package/es/table/util.d.ts +0 -13
- package/es/table/util.js +0 -1
- package/es/tabs/TabPane.d.ts +0 -5
- package/es/tabs/TabPane.js +0 -1
- package/es/tabs/hooks/useAnimateConfig.d.ts +0 -3
- package/es/tabs/hooks/useAnimateConfig.js +0 -40
- package/es/tabs/hooks/useLegacyItems.d.ts +0 -4
- package/es/tabs/hooks/useLegacyItems.js +0 -1
- package/es/tabs/index.d.ts +0 -29
- package/es/tabs/index.js +0 -51
- package/es/tabs/style/index.d.ts +0 -136
- package/es/tabs/style/index.js +0 -46
- package/es/tabs/style/motion.d.ts +0 -4
- package/es/tabs/style/motion.js +0 -10
- package/es/tag/CheckableTag.d.ts +0 -17
- package/es/tag/CheckableTag.js +0 -40
- package/es/tag/index.d.ts +0 -27
- package/es/tag/index.js +0 -40
- package/es/tag/style/index.d.ts +0 -25
- package/es/tag/style/index.js +0 -35
- package/es/tag/style/presetCmp.d.ts +0 -2
- package/es/tag/style/presetCmp.js +0 -35
- package/es/tag/style/statusCmp.d.ts +0 -2
- package/es/tag/style/statusCmp.js +0 -35
- package/es/theme/context.d.ts +0 -31
- package/es/theme/context.js +0 -3
- package/es/theme/getDesignToken.d.ts +0 -4
- package/es/theme/getDesignToken.js +0 -35
- package/es/theme/index.d.ts +0 -35
- package/es/theme/index.js +0 -35
- package/es/theme/interface/alias.d.ts +0 -545
- package/es/theme/interface/alias.js +0 -0
- package/es/theme/interface/components.d.ts +0 -140
- package/es/theme/interface/components.js +0 -0
- package/es/theme/interface/cssinjs-utils.d.ts +0 -10
- package/es/theme/interface/cssinjs-utils.js +0 -0
- package/es/theme/interface/index.d.ts +0 -15
- package/es/theme/interface/index.js +0 -1
- package/es/theme/interface/maps/colors.d.ts +0 -530
- package/es/theme/interface/maps/colors.js +0 -0
- package/es/theme/interface/maps/font.d.ts +0 -117
- package/es/theme/interface/maps/font.js +0 -0
- package/es/theme/interface/maps/index.d.ts +0 -29
- package/es/theme/interface/maps/index.js +0 -0
- package/es/theme/interface/maps/size.d.ts +0 -69
- package/es/theme/interface/maps/size.js +0 -0
- package/es/theme/interface/maps/style.d.ts +0 -42
- package/es/theme/interface/maps/style.js +0 -0
- package/es/theme/interface/presetColors.d.ts +0 -11
- package/es/theme/interface/presetColors.js +0 -1
- package/es/theme/interface/seeds.d.ts +0 -225
- package/es/theme/interface/seeds.js +0 -0
- package/es/theme/internal.d.ts +0 -13
- package/es/theme/internal.js +0 -35
- package/es/theme/themes/ColorMap.d.ts +0 -15
- package/es/theme/themes/ColorMap.js +0 -0
- package/es/theme/themes/compact/genCompactSizeMapToken.d.ts +0 -2
- package/es/theme/themes/compact/genCompactSizeMapToken.js +0 -1
- package/es/theme/themes/compact/index.d.ts +0 -4
- package/es/theme/themes/compact/index.js +0 -1
- package/es/theme/themes/dark/colorAlgorithm.d.ts +0 -2
- package/es/theme/themes/dark/colorAlgorithm.js +0 -1
- package/es/theme/themes/dark/colors.d.ts +0 -3
- package/es/theme/themes/dark/colors.js +0 -1
- package/es/theme/themes/dark/index.d.ts +0 -4
- package/es/theme/themes/dark/index.js +0 -1
- package/es/theme/themes/default/colorAlgorithm.d.ts +0 -2
- package/es/theme/themes/default/colorAlgorithm.js +0 -1
- package/es/theme/themes/default/colors.d.ts +0 -3
- package/es/theme/themes/default/colors.js +0 -1
- package/es/theme/themes/default/index.d.ts +0 -2
- package/es/theme/themes/default/index.js +0 -1
- package/es/theme/themes/seed.d.ts +0 -4
- package/es/theme/themes/seed.js +0 -3
- package/es/theme/themes/shared/genColorMapToken.d.ts +0 -8
- package/es/theme/themes/shared/genColorMapToken.js +0 -1
- package/es/theme/themes/shared/genCommonMapToken.d.ts +0 -2
- package/es/theme/themes/shared/genCommonMapToken.js +0 -1
- package/es/theme/themes/shared/genControlHeight.d.ts +0 -3
- package/es/theme/themes/shared/genControlHeight.js +0 -1
- package/es/theme/themes/shared/genFontMapToken.d.ts +0 -3
- package/es/theme/themes/shared/genFontMapToken.js +0 -1
- package/es/theme/themes/shared/genFontSizes.d.ts +0 -5
- package/es/theme/themes/shared/genFontSizes.js +0 -1
- package/es/theme/themes/shared/genRadius.d.ts +0 -3
- package/es/theme/themes/shared/genRadius.js +0 -1
- package/es/theme/themes/shared/genSizeMapToken.d.ts +0 -2
- package/es/theme/themes/shared/genSizeMapToken.js +0 -1
- package/es/theme/useToken.d.ts +0 -19
- package/es/theme/useToken.js +0 -35
- package/es/theme/util/alias.d.ts +0 -12
- package/es/theme/util/alias.js +0 -35
- package/es/theme/util/genPresetColor.d.ts +0 -15
- package/es/theme/util/genPresetColor.js +0 -1
- package/es/theme/util/genStyleUtils.d.ts +0 -26
- package/es/theme/util/genStyleUtils.js +0 -35
- package/es/theme/util/getAlphaColor.d.ts +0 -2
- package/es/theme/util/getAlphaColor.js +0 -1
- package/es/theme/util/useResetIconStyle.d.ts +0 -3
- package/es/theme/util/useResetIconStyle.js +0 -35
- package/es/time-out/index.d.ts +0 -18
- package/es/time-out/index.js +0 -40
- package/es/time-out/style/index.d.ts +0 -31
- package/es/time-out/style/index.js +0 -35
- package/es/time-out/style/style.d.ts +0 -1
- package/es/time-out/style/style.js +0 -104
- package/es/time-picker/index.d.ts +0 -30
- package/es/time-picker/index.js +0 -98
- package/es/time-picker/locale/ar_EG.d.ts +0 -3
- package/es/time-picker/locale/ar_EG.js +0 -1
- package/es/time-picker/locale/az_AZ.d.ts +0 -3
- package/es/time-picker/locale/az_AZ.js +0 -1
- package/es/time-picker/locale/bg_BG.d.ts +0 -3
- package/es/time-picker/locale/bg_BG.js +0 -1
- package/es/time-picker/locale/bn_BD.d.ts +0 -3
- package/es/time-picker/locale/bn_BD.js +0 -1
- package/es/time-picker/locale/by_BY.d.ts +0 -3
- package/es/time-picker/locale/by_BY.js +0 -1
- package/es/time-picker/locale/ca_ES.d.ts +0 -3
- package/es/time-picker/locale/ca_ES.js +0 -1
- package/es/time-picker/locale/cs_CZ.d.ts +0 -3
- package/es/time-picker/locale/cs_CZ.js +0 -1
- package/es/time-picker/locale/da_DK.d.ts +0 -3
- package/es/time-picker/locale/da_DK.js +0 -1
- package/es/time-picker/locale/de_DE.d.ts +0 -3
- package/es/time-picker/locale/de_DE.js +0 -1
- package/es/time-picker/locale/el_GR.d.ts +0 -3
- package/es/time-picker/locale/el_GR.js +0 -1
- package/es/time-picker/locale/en_GB.d.ts +0 -3
- package/es/time-picker/locale/en_GB.js +0 -1
- package/es/time-picker/locale/en_US.d.ts +0 -3
- package/es/time-picker/locale/en_US.js +0 -1
- package/es/time-picker/locale/es_ES.d.ts +0 -3
- package/es/time-picker/locale/es_ES.js +0 -1
- package/es/time-picker/locale/et_EE.d.ts +0 -3
- package/es/time-picker/locale/et_EE.js +0 -1
- package/es/time-picker/locale/eu_ES.d.ts +0 -3
- package/es/time-picker/locale/eu_ES.js +0 -1
- package/es/time-picker/locale/fa_IR.d.ts +0 -3
- package/es/time-picker/locale/fa_IR.js +0 -1
- package/es/time-picker/locale/fi_FI.d.ts +0 -3
- package/es/time-picker/locale/fi_FI.js +0 -1
- package/es/time-picker/locale/fr_BE.d.ts +0 -3
- package/es/time-picker/locale/fr_BE.js +0 -1
- package/es/time-picker/locale/fr_CA.d.ts +0 -3
- package/es/time-picker/locale/fr_CA.js +0 -1
- package/es/time-picker/locale/fr_FR.d.ts +0 -3
- package/es/time-picker/locale/fr_FR.js +0 -1
- package/es/time-picker/locale/ga_IE.d.ts +0 -3
- package/es/time-picker/locale/ga_IE.js +0 -1
- package/es/time-picker/locale/gl_ES.d.ts +0 -3
- package/es/time-picker/locale/gl_ES.js +0 -1
- package/es/time-picker/locale/he_IL.d.ts +0 -3
- package/es/time-picker/locale/he_IL.js +0 -1
- package/es/time-picker/locale/hi_IN.d.ts +0 -3
- package/es/time-picker/locale/hi_IN.js +0 -1
- package/es/time-picker/locale/hr_HR.d.ts +0 -3
- package/es/time-picker/locale/hr_HR.js +0 -1
- package/es/time-picker/locale/hu_HU.d.ts +0 -3
- package/es/time-picker/locale/hu_HU.js +0 -1
- package/es/time-picker/locale/id_ID.d.ts +0 -3
- package/es/time-picker/locale/id_ID.js +0 -1
- package/es/time-picker/locale/is_IS.d.ts +0 -3
- package/es/time-picker/locale/is_IS.js +0 -1
- package/es/time-picker/locale/it_IT.d.ts +0 -3
- package/es/time-picker/locale/it_IT.js +0 -1
- package/es/time-picker/locale/ja_JP.d.ts +0 -3
- package/es/time-picker/locale/ja_JP.js +0 -1
- package/es/time-picker/locale/ka_GE.d.ts +0 -3
- package/es/time-picker/locale/ka_GE.js +0 -1
- package/es/time-picker/locale/kk_KZ.d.ts +0 -3
- package/es/time-picker/locale/kk_KZ.js +0 -1
- package/es/time-picker/locale/km_KH.d.ts +0 -3
- package/es/time-picker/locale/km_KH.js +0 -1
- package/es/time-picker/locale/kmr_IQ.d.ts +0 -3
- package/es/time-picker/locale/kmr_IQ.js +0 -1
- package/es/time-picker/locale/kn_IN.d.ts +0 -3
- package/es/time-picker/locale/kn_IN.js +0 -1
- package/es/time-picker/locale/ko_KR.d.ts +0 -3
- package/es/time-picker/locale/ko_KR.js +0 -1
- package/es/time-picker/locale/lt_LT.d.ts +0 -3
- package/es/time-picker/locale/lt_LT.js +0 -1
- package/es/time-picker/locale/lv_LV.d.ts +0 -3
- package/es/time-picker/locale/lv_LV.js +0 -1
- package/es/time-picker/locale/mk_MK.d.ts +0 -3
- package/es/time-picker/locale/mk_MK.js +0 -1
- package/es/time-picker/locale/ml_IN.d.ts +0 -3
- package/es/time-picker/locale/ml_IN.js +0 -1
- package/es/time-picker/locale/mn_MN.d.ts +0 -3
- package/es/time-picker/locale/mn_MN.js +0 -1
- package/es/time-picker/locale/ms_MY.d.ts +0 -3
- package/es/time-picker/locale/ms_MY.js +0 -1
- package/es/time-picker/locale/my_MM.d.ts +0 -3
- package/es/time-picker/locale/my_MM.js +0 -1
- package/es/time-picker/locale/nb_NO.d.ts +0 -3
- package/es/time-picker/locale/nb_NO.js +0 -1
- package/es/time-picker/locale/nl_BE.d.ts +0 -3
- package/es/time-picker/locale/nl_BE.js +0 -1
- package/es/time-picker/locale/nl_NL.d.ts +0 -3
- package/es/time-picker/locale/nl_NL.js +0 -1
- package/es/time-picker/locale/pl_PL.d.ts +0 -3
- package/es/time-picker/locale/pl_PL.js +0 -1
- package/es/time-picker/locale/pt_BR.d.ts +0 -3
- package/es/time-picker/locale/pt_BR.js +0 -1
- package/es/time-picker/locale/pt_PT.d.ts +0 -3
- package/es/time-picker/locale/pt_PT.js +0 -1
- package/es/time-picker/locale/ro_RO.d.ts +0 -3
- package/es/time-picker/locale/ro_RO.js +0 -1
- package/es/time-picker/locale/ru_RU.d.ts +0 -4
- package/es/time-picker/locale/ru_RU.js +0 -1
- package/es/time-picker/locale/si_LK.d.ts +0 -3
- package/es/time-picker/locale/si_LK.js +0 -1
- package/es/time-picker/locale/sk_SK.d.ts +0 -3
- package/es/time-picker/locale/sk_SK.js +0 -1
- package/es/time-picker/locale/sl_SI.d.ts +0 -3
- package/es/time-picker/locale/sl_SI.js +0 -1
- package/es/time-picker/locale/sr_RS.d.ts +0 -3
- package/es/time-picker/locale/sr_RS.js +0 -1
- package/es/time-picker/locale/sv_SE.d.ts +0 -3
- package/es/time-picker/locale/sv_SE.js +0 -1
- package/es/time-picker/locale/ta_IN.d.ts +0 -3
- package/es/time-picker/locale/ta_IN.js +0 -1
- package/es/time-picker/locale/th_TH.d.ts +0 -3
- package/es/time-picker/locale/th_TH.js +0 -1
- package/es/time-picker/locale/tk_TK.d.ts +0 -3
- package/es/time-picker/locale/tk_TK.js +0 -1
- package/es/time-picker/locale/tr_TR.d.ts +0 -3
- package/es/time-picker/locale/tr_TR.js +0 -1
- package/es/time-picker/locale/uk_UA.d.ts +0 -3
- package/es/time-picker/locale/uk_UA.js +0 -1
- package/es/time-picker/locale/ur_PK.d.ts +0 -3
- package/es/time-picker/locale/ur_PK.js +0 -1
- package/es/time-picker/locale/uz_UZ.d.ts +0 -3
- package/es/time-picker/locale/uz_UZ.js +0 -1
- package/es/time-picker/locale/vi_VN.d.ts +0 -3
- package/es/time-picker/locale/vi_VN.js +0 -1
- package/es/time-picker/locale/zh_CN.d.ts +0 -3
- package/es/time-picker/locale/zh_CN.js +0 -1
- package/es/time-picker/locale/zh_TW.d.ts +0 -3
- package/es/time-picker/locale/zh_TW.js +0 -1
- package/es/timeline/Timeline.d.ts +0 -20
- package/es/timeline/Timeline.js +0 -48
- package/es/timeline/TimelineItem.d.ts +0 -20
- package/es/timeline/TimelineItem.js +0 -40
- package/es/timeline/TimelineItemList.d.ts +0 -7
- package/es/timeline/TimelineItemList.js +0 -40
- package/es/timeline/index.d.ts +0 -4
- package/es/timeline/index.js +0 -48
- package/es/timeline/style/index.d.ts +0 -31
- package/es/timeline/style/index.js +0 -43
- package/es/timeline/useItems.d.ts +0 -4
- package/es/timeline/useItems.js +0 -1
- package/es/tooltip/PurePanel.d.ts +0 -7
- package/es/tooltip/PurePanel.js +0 -49
- package/es/tooltip/index.d.ts +0 -80
- package/es/tooltip/index.js +0 -49
- package/es/tooltip/style/index.d.ts +0 -13
- package/es/tooltip/style/index.js +0 -44
- package/es/tooltip/util.d.ts +0 -6
- package/es/tooltip/util.js +0 -1
- package/es/tour/PurePanel.d.ts +0 -6
- package/es/tour/PurePanel.js +0 -56
- package/es/tour/index.d.ts +0 -7
- package/es/tour/index.js +0 -56
- package/es/tour/interface.d.ts +0 -31
- package/es/tour/interface.js +0 -0
- package/es/tour/panelRender.d.ts +0 -12
- package/es/tour/panelRender.js +0 -47
- package/es/tour/style/index.d.ts +0 -28
- package/es/tour/style/index.js +0 -35
- package/es/transfer/ListBody.d.ts +0 -17
- package/es/transfer/ListBody.js +0 -117
- package/es/transfer/ListItem.d.ts +0 -15
- package/es/transfer/ListItem.js +0 -46
- package/es/transfer/hooks/useData.d.ts +0 -5
- package/es/transfer/hooks/useData.js +0 -1
- package/es/transfer/hooks/useSelection.d.ts +0 -9
- package/es/transfer/hooks/useSelection.js +0 -1
- package/es/transfer/index.d.ts +0 -91
- package/es/transfer/index.js +0 -153
- package/es/transfer/interface.d.ts +0 -7
- package/es/transfer/interface.js +0 -0
- package/es/transfer/list.d.ts +0 -48
- package/es/transfer/list.js +0 -153
- package/es/transfer/operation.d.ts +0 -17
- package/es/transfer/operation.js +0 -47
- package/es/transfer/search.d.ts +0 -11
- package/es/transfer/search.js +0 -65
- package/es/transfer/style/index.d.ts +0 -36
- package/es/transfer/style/index.js +0 -35
- package/es/tree/DirectoryTree.d.ts +0 -16
- package/es/tree/DirectoryTree.js +0 -48
- package/es/tree/Tree.d.ts +0 -136
- package/es/tree/Tree.js +0 -48
- package/es/tree/index.d.ts +0 -16
- package/es/tree/index.js +0 -48
- package/es/tree/style/directory.d.ts +0 -3
- package/es/tree/style/directory.js +0 -1
- package/es/tree/style/index.d.ts +0 -57
- package/es/tree/style/index.js +0 -43
- package/es/tree/utils/dictUtil.d.ts +0 -13
- package/es/tree/utils/dictUtil.js +0 -1
- package/es/tree/utils/dropIndicator.d.ts +0 -11
- package/es/tree/utils/dropIndicator.js +0 -1
- package/es/tree/utils/iconUtil.d.ts +0 -13
- package/es/tree/utils/iconUtil.js +0 -1
- package/es/tree-select/index.d.ts +0 -61
- package/es/tree-select/index.js +0 -86
- package/es/tree-select/style/index.d.ts +0 -6
- package/es/tree-select/style/index.js +0 -43
- package/es/type/index.d.ts +0 -1
- package/es/type/index.js +0 -356
- package/es/typography/Base/CopyBtn.d.ts +0 -13
- package/es/typography/Base/CopyBtn.js +0 -49
- package/es/typography/Base/Ellipsis.d.ts +0 -18
- package/es/typography/Base/Ellipsis.js +0 -1
- package/es/typography/Base/EllipsisTooltip.d.ts +0 -10
- package/es/typography/Base/EllipsisTooltip.js +0 -49
- package/es/typography/Base/index.d.ts +0 -59
- package/es/typography/Base/index.js +0 -83
- package/es/typography/Base/util.d.ts +0 -10
- package/es/typography/Base/util.js +0 -1
- package/es/typography/Editable.d.ts +0 -20
- package/es/typography/Editable.js +0 -74
- package/es/typography/Link.d.ts +0 -7
- package/es/typography/Link.js +0 -83
- package/es/typography/Paragraph.d.ts +0 -6
- package/es/typography/Paragraph.js +0 -83
- package/es/typography/Text.d.ts +0 -7
- package/es/typography/Text.js +0 -83
- package/es/typography/Title.d.ts +0 -8
- package/es/typography/Title.js +0 -83
- package/es/typography/Typography.d.ts +0 -19
- package/es/typography/Typography.js +0 -56
- package/es/typography/hooks/useCopyClick.d.ts +0 -11
- package/es/typography/hooks/useCopyClick.js +0 -1
- package/es/typography/hooks/useMergedConfig.d.ts +0 -1
- package/es/typography/hooks/useMergedConfig.js +0 -1
- package/es/typography/hooks/usePrevious.d.ts +0 -2
- package/es/typography/hooks/usePrevious.js +0 -1
- package/es/typography/hooks/useTooltipProps.d.ts +0 -61
- package/es/typography/hooks/useTooltipProps.js +0 -1
- package/es/typography/index.d.ts +0 -13
- package/es/typography/index.js +0 -83
- package/es/typography/style/index.d.ts +0 -18
- package/es/typography/style/index.js +0 -51
- package/es/typography/style/mixins.d.ts +0 -9
- package/es/typography/style/mixins.js +0 -6
- package/es/upload/Dragger.d.ts +0 -10
- package/es/upload/Dragger.js +0 -80
- package/es/upload/Upload.d.ts +0 -23
- package/es/upload/Upload.js +0 -80
- package/es/upload/UploadList/ListItem.d.ts +0 -28
- package/es/upload/UploadList/ListItem.js +0 -49
- package/es/upload/UploadList/index.d.ts +0 -8
- package/es/upload/UploadList/index.js +0 -57
- package/es/upload/index.d.ts +0 -13
- package/es/upload/index.js +0 -80
- package/es/upload/interface.d.ts +0 -138
- package/es/upload/interface.js +0 -0
- package/es/upload/style/dragger.d.ts +0 -4
- package/es/upload/style/dragger.js +0 -7
- package/es/upload/style/index.d.ts +0 -16
- package/es/upload/style/index.js +0 -66
- package/es/upload/style/list.d.ts +0 -4
- package/es/upload/style/list.js +0 -4
- package/es/upload/style/motion.d.ts +0 -4
- package/es/upload/style/motion.js +0 -10
- package/es/upload/style/picture.d.ts +0 -5
- package/es/upload/style/picture.js +0 -12
- package/es/upload/style/rtl.d.ts +0 -4
- package/es/upload/style/rtl.js +0 -1
- package/es/upload/utils.d.ts +0 -8
- package/es/upload/utils.js +0 -2
- package/es/utils/common.d.ts +0 -73
- package/es/utils/common.js +0 -4
- package/es/utils/index.d.ts +0 -2
- package/es/utils/index.js +0 -4
- package/es/utils/moneyFormat.d.ts +0 -38
- package/es/utils/moneyFormat.js +0 -1
- package/es/version/index.d.ts +0 -2
- package/es/version/index.js +0 -1
- package/es/watermark/context.d.ts +0 -8
- package/es/watermark/context.js +0 -1
- package/es/watermark/index.d.ts +0 -26
- package/es/watermark/index.js +0 -35
- package/es/watermark/useClips.d.ts +0 -7
- package/es/watermark/useClips.js +0 -1
- package/es/watermark/useRafDebounce.d.ts +0 -4
- package/es/watermark/useRafDebounce.js +0 -1
- package/es/watermark/useWatermark.d.ts +0 -13
- package/es/watermark/useWatermark.js +0 -1
- package/es/watermark/utils.d.ts +0 -7
- package/es/watermark/utils.js +0 -1
- package/umd/index.min.js +0 -629
package/es/modal/index.js
DELETED
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import*as M from'react';import M__default,{createContext,useContext,forwardRef,useMemo,useState,useRef,Children,useEffect}from'react';import'rc-util/lib/warning';import {createTheme,Keyframes,unit,useCacheToken,useStyleRegister}from'@ant-design/cssinjs';import Pl from'@ant-design/icons/lib/components/Context';import Sl from'rc-util/lib/hooks/useMemo';import {merge}from'rc-util/lib/utils/set';import Ha from'rc-pagination/lib/locale/en_US';import za from'rc-picker/lib/locale/en_US';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';import Ja from'rc-util/lib/Dom/canUseDom';import {updateCSS}from'rc-util/lib/Dom/dynamicCSS';import bl from'rc-util/lib/isEqual';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import _l,{Provider}from'rc-motion';import'react-dom';import {unmount,render}from'rc-util/lib/React/render';import Wp from'@ant-design/icons/CheckCircleFilled';import Gp from'@ant-design/icons/CloseCircleFilled';import jp from'@ant-design/icons/ExclamationCircleFilled';import Vp from'@ant-design/icons/InfoCircleFilled';import Tt from'classnames';import Ec from'rc-util/lib/hooks/useState';import ki from'rc-util/lib/omit';import {useComposeRef,supportRef,composeRef,getNodeRef}from'rc-util/lib/ref';import os from'rc-util/lib/Dom/isVisible';import Zl from'rc-util/lib/hooks/useEvent';import Un from'rc-util/lib/raf';import tc from'rc-util/lib/Children/toArray';import bs from'@ant-design/icons/LoadingOutlined';import {Color}from'@rc-component/color-picker';import'rc-util/lib/hooks/useMergedState';import ec from'@ant-design/icons/RightOutlined';import $s from'rc-collapse';import Gc from'@ant-design/icons/CloseOutlined';import Hp,{Panel}from'rc-dialog';import'rc-field-form';import jc from'rc-util/lib/pickAttrs';import'rc-util/lib/Dom/styleChecker';function en(){}var Ea=en,on=M.createContext({}),Ao=()=>{let e=()=>{};return e.deprecated=en,e},Me=Ea;var tn=createContext(void 0);var Na={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},Do=Na;var Oa={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"],...za},timePickerLocale:{...Do}},Wo=Oa;var rn=Wo;var G="${label} is not a valid ${type}",Fa={locale:"en",Pagination:Ha,DatePicker:Wo,TimePicker:Do,Calendar:rn,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"}},Z=Fa;var Go={...Z.Modal},jo=[],nn=()=>jo.reduce((e,o)=>({...e,...o}),Z.Modal);function an(e){if(e){let o={...e};return jo.push(o),Go=nn(),()=>{jo=jo.filter(t=>t!==o),Go=nn();}}Go={...Z.Modal};}function Vo(){return Go}var Da=createContext(void 0),Fe=Da;var Wa=(e,o)=>{let t=M.useContext(Fe),n=M.useMemo(()=>{let i=o||Z[e],a=t?.[e]??{};return {...typeof i=="function"?i():i,...a||{}}},[e,o,t]),r=M.useMemo(()=>{let i=t?.locale;return t?.exist&&!i?Z.locale:i},[t]);return [n,r]},Ce=Wa;var ln="internalMark",Ga=e=>{let{locale:o={},children:t,_ANT_MARK__:n}=e;M.useEffect(()=>an(o?.Modal),[o]);let r=M.useMemo(()=>({...o,exist:true}),[o]);return M.createElement(Fe.Provider,{value:r},t)},sn=Ga;var Gt={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"},ja={...Gt,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},le=ja;function Vt(e,{generateColorPalettes:o,generateNeutralColorPalettes:t}){let{colorSuccess:n,colorWarning:r,colorError:i,colorInfo:a,colorPrimary:l,colorBgBase:s,colorTextBase:p}=e,c=o(l),m=o(n),d=o(r),u=o(i),g=o(a),f=t(s,p),C=e.colorLink||e.colorInfo,S=o(C),x=new TinyColor(u[1]).mix(new TinyColor(u[3]),50).toHexString();return {...f,colorPrimaryBg:c[1],colorPrimaryBgHover:c[2],colorPrimaryBorder:c[3],colorPrimaryBorderHover:c[4],colorPrimaryHover:c[5],colorPrimary:c[6],colorPrimaryActive:c[7],colorPrimaryTextHover:c[8],colorPrimaryText:c[9],colorPrimaryTextActive:c[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:u[1],colorErrorBgHover:u[2],colorErrorBgFilledHover:x,colorErrorBgActive:u[3],colorErrorBorder:u[3],colorErrorBorderHover:u[4],colorErrorHover:u[5],colorError:u[6],colorErrorActive:u[7],colorErrorTextHover:u[8],colorErrorText:u[9],colorErrorTextActive:u[10],colorWarningBg: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:g[1],colorInfoBgHover:g[2],colorInfoBorder:g[3],colorInfoBorderHover:g[4],colorInfoHover:g[4],colorInfo:g[6],colorInfoActive:g[7],colorInfoTextHover:g[8],colorInfoText:g[9],colorInfoTextActive:g[10],colorLinkHover:S[4],colorLink:S[6],colorLinkActive:S[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var Va=e=>{let o=e,t=e,n=e,r=e;return e<6&&e>=5?o=e+1:e<16&&e>=6?o=e+2:e>=16&&(o=16),e<7&&e>=5?t=4:e<8&&e>=7?t=5:e<14&&e>=8?t=6:e<16&&e>=14?t=7:e>=16&&(t=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?r=4:e>=8&&(r=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:t,borderRadiusLG:o,borderRadiusOuter:r}},cn=Va;function Ut(e){let{motionUnit:o,motionBase:t,borderRadius:n,lineWidth:r}=e;return {motionDurationFast:`${(t+o).toFixed(1)}s`,motionDurationMid:`${(t+o*2).toFixed(1)}s`,motionDurationSlow:`${(t+o*3).toFixed(1)}s`,lineWidthBold:r+1,...cn(n)}}var Ua=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},pn=Ua;function De(e){return (e+8)/e}function _t(e){let o=new Array(10).fill(null).map((t,n)=>{let r=n-1,i=e*Math.E**(r/5),a=n>1?Math.floor(i):Math.ceil(i);return Math.floor(a/2)*2});return o[1]=e,o.map(t=>({size:t,lineHeight:De(t)}))}var _a=e=>{let o=_t(e),t=o.map(c=>c.size),n=o.map(c=>c.lineHeight),r=t[1],i=t[0],a=t[2],l=n[1],s=n[0],p=n[2];return {fontSizeSM:i,fontSize:r,fontSizeLG:a,fontSizeXL:t[3],fontSizeHeading1:t[6],fontSizeHeading2:t[5],fontSizeHeading3:t[4],fontSizeHeading4:t[3],fontSizeHeading5:t[2],lineHeight:l,lineHeightLG:p,lineHeightSM:s,fontHeight:Math.round(l*r),fontHeightLG:Math.round(p*a),fontHeightSM:Math.round(s*i),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},mn=_a;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 j=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),We=(e,o)=>new TinyColor(e).darken(o).toHexString();var fn=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]}},un=(e,o)=>{let t=e||"#fff",n=o||"#000";return {colorBgBase:t,colorTextBase:n,colorText:j(n,.88),colorTextSecondary:j(n,.65),colorTextTertiary:j(n,.45),colorTextQuaternary:j(n,.25),colorFill:j(n,.15),colorFillSecondary:j(n,.06),colorFillTertiary:j(n,.04),colorFillQuaternary:j(n,.02),colorBgSolid:j(n,1),colorBgSolidHover:j(n,.75),colorBgSolidActive:j(n,.95),colorBgLayout:We(t,4),colorBgContainer:We(t,0),colorBgElevated:We(t,0),colorBgSpotlight:j(n,.85),colorBgBlur:"transparent",colorBorder:We(t,15),colorBorderSecondary:We(t,6)}};function Zt(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys(Gt).map(t=>{let n=e[t]===presetPrimaryColors[t]?presetPalettes[t]:generate(e[t]);return new Array(10).fill(1).reduce((r,i,a)=>(r[`${t}-${a+1}`]=n[a],r[`${t}${a+1}`]=n[a],r),{})}).reduce((t,n)=>(t={...t,...n},t),{});return {...e,...o,...Vt(e,{generateColorPalettes:fn,generateNeutralColorPalettes:un}),...mn(e.fontSize),...Xt(e),...pn(e),...Ut(e)}}var Uo=createTheme(Zt),mo={token:le,override:{override:le},hashed:true},fo=M__default.createContext(mo);var ye="ant",Ge="anticon";var Qa=(e,o)=>o||(e?`${ye}-${e}`:ye),y=M.createContext({getPrefixCls:Qa,iconPrefixCls:Ge}),{Consumer:Ya}=y;var ol=`-ant-${Date.now()}-${Math.random()}`;function tl(e,o){let t={},n=(a,l)=>{let s=a.clone();return s=l?.(s)||s,s.toRgbString()},r=(a,l)=>{let s=new TinyColor(a),p=generate(s.toRgbString());t[`${l}-color`]=n(s),t[`${l}-color-disabled`]=p[1],t[`${l}-color-hover`]=p[4],t[`${l}-color-active`]=p[6],t[`${l}-color-outline`]=s.clone().setAlpha(.2).toRgbString(),t[`${l}-color-deprecated-bg`]=p[0],t[`${l}-color-deprecated-border`]=p[2];};if(o.primaryColor){r(o.primaryColor,"primary");let a=new TinyColor(o.primaryColor),l=generate(a.toRgbString());l.forEach((p,c)=>{t[`primary-${c+1}`]=p;}),t["primary-color-deprecated-l-35"]=n(a,p=>p.lighten(35)),t["primary-color-deprecated-l-20"]=n(a,p=>p.lighten(20)),t["primary-color-deprecated-t-20"]=n(a,p=>p.tint(20)),t["primary-color-deprecated-t-50"]=n(a,p=>p.tint(50)),t["primary-color-deprecated-f-12"]=n(a,p=>p.setAlpha(p.getAlpha()*.12));let s=new TinyColor(l[0]);t["primary-color-active-deprecated-f-30"]=n(s,p=>p.setAlpha(p.getAlpha()*.3)),t["primary-color-active-deprecated-d-02"]=n(s,p=>p.darken(2));}return o.successColor&&r(o.successColor,"success"),o.warningColor&&r(o.warningColor,"warning"),o.errorColor&&r(o.errorColor,"error"),o.infoColor&&r(o.infoColor,"info"),`
|
|
4
|
-
:root {
|
|
5
|
-
${Object.keys(t).map(a=>`--${e}-${a}: ${t[a]};`).join(`
|
|
6
|
-
`)}
|
|
7
|
-
}
|
|
8
|
-
`.trim()}function yn(e,o){let t=tl(e,o);Ja()?updateCSS(t,`${ol}-dynamic-theme`):Me();}var Yt=M.createContext(false),_o=({children:e,disabled:o})=>{let t=M.useContext(Yt);return M.createElement(Yt.Provider,{value:o??t},e)},Xo=Yt;var Jt=M.createContext(void 0),xn=({children:e,size:o})=>{let t=M.useContext(Jt);return M.createElement(Jt.Provider,{value:o||t},e)},$e=Jt;function rl(){let e=useContext(Xo),o=useContext($e);return {componentDisabled:e,componentSize:o}}var bn=rl;var Pn={version:"0.0.3"};var Tn=Pn.version;function er(e){return e>=0&&e<=255}function il(e,o){let{r:t,g:n,b:r,a:i}=new TinyColor(e).toRgb();if(i<1)return e;let{r:a,g:l,b:s}=new TinyColor(o).toRgb();for(let p=.01;p<=1;p+=.01){let c=Math.round((t-a*(1-p))/p),m=Math.round((n-l*(1-p))/p),d=Math.round((r-s*(1-p))/p);if(er(c)&&er(m)&&er(d))return new TinyColor({r:c,g:m,b:d,a:Math.round(p*100)/100}).toRgbString()}return new TinyColor({r:t,g:n,b:r,a:1}).toRgbString()}var uo=il;function qo(e){let{override:o,...t}=e,n={...o};Object.keys(le).forEach(d=>{delete n[d];});let r={...t,...n},i=480,a=576,l=768,s=992,p=1200,c=1600;return r.motion===false&&(r.motionDurationFast="0s",r.motionDurationMid="0s",r.motionDurationSlow="0s"),{...r,colorFillContent:r.colorFillSecondary,colorFillContentHover:r.colorFill,colorFillAlter:r.colorFillQuaternary,colorBgContainerDisabled:r.colorFillTertiary,colorBorderBg:r.colorBgContainer,colorSplit:uo(r.colorBorderSecondary,r.colorBgContainer),colorTextPlaceholder:r.colorTextQuaternary,colorTextDisabled:r.colorTextQuaternary,colorTextHeading:r.colorText,colorTextLabel:r.colorTextSecondary,colorTextDescription:r.colorTextTertiary,colorTextLightSolid:r.colorWhite,colorHighlight:r.colorError,colorBgTextHover:r.colorFillSecondary,colorBgTextActive:r.colorFill,colorIcon:r.colorTextTertiary,colorIconHover:r.colorText,colorErrorOutline:uo(r.colorErrorBg,r.colorBgContainer),colorWarningOutline:uo(r.colorWarningBg,r.colorBgContainer),fontSizeIcon:r.fontSizeSM,lineWidthFocus:r.lineWidth*3,lineWidth:r.lineWidth,controlOutlineWidth:r.lineWidth*2,controlInteractiveSize:r.controlHeight/2,controlItemBgHover:r.colorFillTertiary,controlItemBgActive:r.colorPrimaryBg,controlItemBgActiveHover:r.colorPrimaryBgHover,controlItemBgActiveDisabled:r.colorFill,controlTmpOutline:r.colorFillQuaternary,controlOutline:uo(r.colorPrimaryBg,r.colorBgContainer),lineType:r.lineType,borderRadius:r.borderRadius,borderRadiusXS:r.borderRadiusXS,borderRadiusSM:r.borderRadiusSM,borderRadiusLG:r.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:r.sizeXXS,paddingXS:r.sizeXS,paddingSM:r.sizeSM,padding:r.size,paddingMD:r.sizeMD,paddingLG:r.sizeLG,paddingXL:r.sizeXL,paddingContentHorizontalLG:r.sizeLG,paddingContentVerticalLG:r.sizeMS,paddingContentHorizontal:r.sizeMS,paddingContentVertical:r.sizeSM,paddingContentHorizontalSM:r.size,paddingContentVerticalSM:r.sizeXS,marginXXS:r.sizeXXS,marginXS:r.sizeXS,marginSM:r.sizeSM,margin:r.size,marginMD:r.sizeMD,marginLG:r.sizeLG,marginXL:r.sizeXL,marginXXL:r.sizeXXL,boxShadow:`
|
|
9
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
10
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
11
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
12
|
-
`,boxShadowSecondary:`
|
|
13
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
14
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
15
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
16
|
-
`,boxShadowTertiary:`
|
|
17
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
|
18
|
-
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
19
|
-
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
20
|
-
`,screenXS:i,screenXSMin:i,screenXSMax:a-1,screenSM:a,screenSMMin:a,screenSMMax:l-1,screenMD:l,screenMDMin:l,screenMDMax:s-1,screenLG:s,screenLGMin:s,screenLGMax:p-1,screenXL:p,screenXLMin:p,screenXLMax:c-1,screenXXL:c,screenXXLMin:c,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 tr={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},sl={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},cl={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},vn=(e,o,t)=>{let n=t.getDerivativeToken(e),{override:r,...i}=o,a={...n,override:r};return a=qo(a),i&&Object.entries(i).forEach(([l,s])=>{let{theme:p,...c}=s,m=c;p&&(m=vn({...a,...c},{override:c},p)),a[l]=m;}),a};function L(){let{token:e,hashed:o,theme:t,override:n,cssVar:r}=M__default.useContext(fo),i=`${Tn}-${o||""}`,a=t||Uo,[l,s,p]=useCacheToken(a,[le,e],{salt:i,override:n,getComputedToken:vn,formatToken:qo,cssVar:r&&{prefix:r.prefix,key:r.key,unitless:tr,ignore:sl,preserve:cl}});return [a,p,o?s:"",l,r]}var Zo=(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}),go=()=>({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"}}),Rn=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),Mn=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"}}}),$n=(e,o,t,n)=>{let r=`[class^="${o}"], [class*=" ${o}"]`,i=t?`.${t}`:r,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},l={};return n!==false&&(l={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:{...l,...a,[r]:a}}},ml=e=>({outline:`${unit(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),Qo=e=>({"&:focus-visible":{...ml(e)}}),Yo=e=>({[`.${e}`]:{...go(),[`.${e} .${e}-icon`]:{display:"block"}}});var{genStyleHooks:Q,genComponentStyleHook:rr,genSubStyleComponent:Co}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:o}=useContext(y);return {rootPrefixCls:e(),iconPrefixCls:o}},useToken:()=>{let[e,o,t,n,r]=L();return {theme:e,realToken:o,hashId:t,token:n,cssVar:r}},useCSP:()=>{let{csp:e}=useContext(y);return e??{}},getResetStyles:(e,o)=>[{"&":Mn(e)},Yo(o?.prefix.iconPrefixCls??Ge)],getCommonStyle:$n,getCompUnitless:(()=>tr)});var ul=(e,o)=>{let[t,n]=L();return useStyleRegister({theme:t,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>o?.nonce,layer:{name:"antd"}},()=>[Yo(e)])},Jo=ul;var Cl={...M},{useId:In}=Cl,yl=()=>"",xl=typeof In>"u"?yl:In,Bn=xl;function nr(e,o,t){Ao();let r=e||{},i=r.inherit===false||!o?{...mo,hashed:o?.hashed??mo.hashed,cssVar:o?.cssVar}:o,a=Bn();return Sl(()=>{if(!e)return o;let l={...i.components};Object.keys(e.components||{}).forEach(c=>{l[c]={...l[c],...e.components[c]};});let s=`css-var-${a.replace(/:/g,"")}`,p=(r.cssVar??i.cssVar)&&{prefix:t?.prefixCls,...typeof i.cssVar=="object"?i.cssVar:{},...typeof r.cssVar=="object"?r.cssVar:{},key:typeof r.cssVar=="object"&&r.cssVar?.key||s};return {...i,...r,token:{...i.token,...r.token},components:l,cssVar:p}},[r,i],(l,s)=>l.some((p,c)=>{let m=s[c];return !bl(p,m,true)}))}function ir(e){let{children:o}=e,[,t]=L(),{motion:n}=t,r=M.useRef(false);return r.current=r.current||n===false,r.current?M.createElement(Provider,{motion:n},o):o}M.memo(({dropdownMatchSelectWidth:e})=>(Ao().deprecated(e===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null));var En=()=>null;var Rl=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"],tt,Nn,zn,On;function ot(){return tt||ye}function Ml(){return Nn||Ge}function $l(e){return Object.keys(e).some(o=>o.endsWith("Color"))}var kl=e=>{let{prefixCls:o,iconPrefixCls:t,theme:n,holderRender:r}=e;o!==void 0&&(tt=o),t!==void 0&&(Nn=t),"holderRender"in e&&(On=r),n&&($l(n)?(yn(ot(),n)):zn=n);},Hn=()=>({getPrefixCls:(e,o)=>o||(e?`${ot()}-${e}`:ot()),getIconPrefixCls:Ml,getRootPrefixCls:()=>tt||ot(),getTheme:()=>zn,holderRender:On}),Il=e=>{let{children:o,csp:t,autoInsertSpaceInButton:n,alert:r,anchor:i,form:a,locale:l,componentSize:s,direction:p,space:c,splitter:m,virtual:d,dropdownMatchSelectWidth:u,popupMatchSelectWidth:g,popupOverflow:f,legacyLocale:C,parentContext:S,iconPrefixCls:x,theme:b,componentDisabled:v,segmented:B,statistic:R,spin:E,calendar:P,carousel:T,cascader:w,collapse:h,typography:D,checkbox:V,descriptions:ee,divider:oe,drawer:U,skeleton:ge,steps:$,image:Le,layout:to,list:ro,mentions:te,modal:W,progress:Ro,result:ve,slider:re,breadcrumb:Mo,menu:no,pagination:$o,input:Re,textArea:ko,empty:Io,badge:io,radio:Bo,rate:Et,switch:wo,transfer:Lt,avatar:Eo,message:Lo,tag:Nt,table:ao,card:No,tabs:zo,timeline:zt,timePicker:Ot,upload:Oo,notification:Ho,tree:lo,colorPicker:z,datePicker:Ht,rangePicker:Sa,flex:ba,wave:ha,dropdown:Pa,warning:Ta,tour:va,variant:Ra,inputNumber:Ma,treeSelect:$a}=e,Zr=M.useCallback((O,ne)=>{let{prefixCls:Oe}=e;if(ne)return ne;let He=Oe||S.getPrefixCls("");return O?`${He}-${O}`:He},[S.getPrefixCls,e.prefixCls]),so=x||S.iconPrefixCls||Ge,co=t||S.csp;Jo(so,co);let Ft=nr(b,S.theme,{prefixCls:Zr("")}),At={csp:co,autoInsertSpaceInButton:n,alert:r,anchor:i,locale:l||C,direction:p,space:c,splitter:m,virtual:d,popupMatchSelectWidth:g??u,popupOverflow:f,getPrefixCls:Zr,iconPrefixCls:so,theme:Ft,segmented:B,statistic:R,spin:E,calendar:P,carousel:T,cascader:w,collapse:h,typography:D,checkbox:V,descriptions:ee,divider:oe,drawer:U,skeleton:ge,steps:$,image:Le,input:Re,textArea:ko,layout:to,list:ro,mentions:te,modal:W,progress:Ro,result:ve,slider:re,breadcrumb:Mo,menu:no,pagination:$o,empty:Io,badge:io,radio:Bo,rate:Et,switch:wo,transfer:Lt,avatar:Eo,message:Lo,tag:Nt,table:ao,card:No,tabs:zo,timeline:zt,timePicker:Ot,upload:Oo,notification:Ho,tree:lo,colorPicker:z,datePicker:Ht,rangePicker:Sa,flex:ba,wave:ha,dropdown:Pa,warning:Ta,tour:va,variant:Ra,inputNumber:Ma,treeSelect:$a},Ne={...S};Object.keys(At).forEach(O=>{At[O]!==void 0&&(Ne[O]=At[O]);}),Rl.forEach(O=>{let ne=e[O];ne&&(Ne[O]=ne);}),typeof n<"u"&&(Ne.button={autoInsertSpace:n,...Ne.button});let ze=Sl(()=>Ne,Ne,(O,ne)=>{let Oe=Object.keys(O),He=Object.keys(ne);return Oe.length!==He.length||Oe.some(Fo=>O[Fo]!==ne[Fo])}),ka=M.useMemo(()=>({prefixCls:so,csp:co}),[so,co]),F=M.createElement(M.Fragment,null,M.createElement(En,{dropdownMatchSelectWidth:u}),o),Qr=M.useMemo(()=>merge(Z.Form?.defaultValidateMessages||{},ze.locale?.Form?.defaultValidateMessages||{},ze.form?.validateMessages||{},a?.validateMessages||{}),[ze,a?.validateMessages]);Object.keys(Qr).length>0&&(F=M.createElement(tn.Provider,{value:Qr},F)),l&&(F=M.createElement(sn,{locale:l,_ANT_MARK__:ln},F)),(F=M.createElement(Pl.Provider,{value:ka},F)),s&&(F=M.createElement(xn,{size:s},F)),F=M.createElement(ir,null,F);let Ia=M.useMemo(()=>{let{algorithm:O,token:ne,components:Oe,cssVar:He,...Fo}=Ft||{},Yr=O&&(!Array.isArray(O)||O.length>0)?createTheme(O):Uo,Dt={};Object.entries(Oe||{}).forEach(([Ba,wa])=>{let ae={...wa};"algorithm"in ae&&(ae.algorithm===true?ae.theme=Yr:(Array.isArray(ae.algorithm)||typeof ae.algorithm=="function")&&(ae.theme=createTheme(ae.algorithm)),delete ae.algorithm),Dt[Ba]=ae;});let Jr={...le,...ne};return {...Fo,theme:Yr,token:Jr,components:Dt,override:{override:Jr,...Dt},cssVar:He}},[Ft]);return b&&(F=M.createElement(fo.Provider,{value:Ia},F)),ze.warning&&(F=M.createElement(on.Provider,{value:ze.warning},F)),v!==void 0&&(F=M.createElement(_o,{disabled:v},F)),M.createElement(y.Provider,{value:ze},F)},Ue=e=>{let o=M.useContext(y),t=M.useContext(Fe);return M.createElement(Il,{parentContext:o,legacyLocale:t,...e})};Ue.ConfigContext=y;Ue.SizeContext=$e;Ue.config=kl;Ue.useConfig=bn;Object.defineProperty(Ue,"SizeContext",{get:()=>($e)});var _e=Ue;var Ll=(e,o)=>(render(e,o),()=>unmount(o)),Nl=Ll;function rt(){return Nl}var Ol=M__default.createContext(void 0),nt=Ol;var se=100,Fl=10,ar=se*Fl,Fn={Modal:se,Drawer:se,Popover:se,Popconfirm:se,Tooltip:se,Tour:se,FloatButton:se},Al={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function Dl(e){return e in Fn}var An=(e,o)=>{let[,t]=L(),n=M__default.useContext(nt),r=Dl(e),i;if(o!==void 0)i=[o,o];else {let a=n??0;r?a+=(n?0:t.zIndexPopupBase)+Fn[e]:a+=Al[e],i=[n===void 0?o:a,a];}return i};var lr=()=>({height:0,opacity:0}),Dn=e=>{let{scrollHeight:o}=e;return {height:o,opacity:1}},Wl=e=>({height:e?e.offsetHeight:0}),sr=(e,o)=>o?.deadline===true||o.propertyName==="height",Gl=(e=ye)=>({motionName:`${e}-motion-collapse`,onAppearStart:lr,onEnterStart:lr,onAppearActive:Dn,onEnterActive:Dn,onLeaveStart:Wl,onLeaveActive:lr,onAppearEnd:sr,onEnterEnd:sr,onLeaveEnd:sr,motionDeadline:500});var Xe=(e,o,t)=>t!==void 0?t:`${e}-${o}`;var Wn=Gl;function Gn(e){return e&&M__default.isValidElement(e)&&e.type===M__default.Fragment}var jl=(e,o,t)=>M__default.isValidElement(e)?M__default.cloneElement(e,typeof t=="function"?t(e.props||{}):t):o;function ke(e,o){return jl(e,e,o)}var Vl=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(",")}}}}},jn=rr("Wave",e=>[Vl(e)]);var at=`${ye}-wave-target`;function cr(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 Vn(e){let{borderTopColor:o,borderColor:t,backgroundColor:n}=getComputedStyle(e);return cr(o)?o:cr(t)?t:cr(n)?n:null}function pr(e){return Number.isNaN(e)?0:e}var Kl=e=>{let{className:o,target:t,component:n,registerUnmount:r}=e,i=M.useRef(null),a=M.useRef(null);M.useEffect(()=>{a.current=r();},[]);let[l,s]=M.useState(null),[p,c]=M.useState([]),[m,d]=M.useState(0),[u,g]=M.useState(0),[f,C]=M.useState(0),[S,x]=M.useState(0),[b,v]=M.useState(false),B={left:m,top:u,width:f,height:S,borderRadius:p.map(P=>`${P}px`).join(" ")};l&&(B["--wave-color"]=l);function R(){let P=getComputedStyle(t);s(Vn(t));let T=P.position==="static",{borderLeftWidth:w,borderTopWidth:h}=P;d(T?t.offsetLeft:pr(-parseFloat(w))),g(T?t.offsetTop:pr(-parseFloat(h))),C(t.offsetWidth),x(t.offsetHeight);let{borderTopLeftRadius:D,borderTopRightRadius:V,borderBottomLeftRadius:ee,borderBottomRightRadius:oe}=P;c([D,V,oe,ee].map(U=>pr(parseFloat(U))));}if(M.useEffect(()=>{if(t){let P=Un(()=>{R(),v(true);}),T;return typeof ResizeObserver<"u"&&(T=new ResizeObserver(R),T.observe(t)),()=>{Un.cancel(P),T?.disconnect();}}},[]),!b)return null;let E=(n==="Checkbox"||n==="Radio")&&t?.classList.contains(at);return M.createElement(_l,{visible:true,motionAppear:true,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(P,T)=>{if(T.deadline||T.propertyName==="opacity"){let w=i.current?.parentElement;a.current?.().then(()=>{w?.remove();});}return false}},({className:P},T)=>M.createElement("div",{ref:composeRef(i,T),className:Tt(o,P,{"wave-quick":E}),style:B}))},ql=(e,o)=>{let{component:t}=o;if(t==="Checkbox"&&!e.querySelector("input")?.checked)return;let n=document.createElement("div");n.style.position="absolute",n.style.left="0px",n.style.top="0px",e?.insertBefore(n,e?.firstChild);let r=rt(),i=null;function a(){return i}i=r(M.createElement(Kl,{...o,target:e,registerUnmount:a}),n);},_n=ql;var Ql=(e,o,t)=>{let{wave:n}=M.useContext(y),[,r,i]=L(),a=Zl(p=>{let c=e.current;if(n?.disabled||!c)return;let m=c.querySelector(`.${at}`)||c,{showEffect:d}=n||{};(d||_n)(m,{className:o,token:r,component:t,event:p,hashId:i});}),l=M.useRef(null);return p=>{Un.cancel(l.current),l.current=Un(()=>{a(p);});}},Kn=Ql;var is=e=>{let{children:o,disabled:t,component:n}=e,{getPrefixCls:r}=useContext(y),i=useRef(null),a=r("wave"),[,l]=jn(a),s=Kn(i,Tt(a,l),n);if(M__default.useEffect(()=>{let c=i.current;if(!c||c.nodeType!==1||t)return;let m=d=>{!os(d.target)||!c.getAttribute||c.getAttribute("disabled")||c.disabled||c.className.includes("disabled")||c.className.includes("-leave")||s(d);};return c.addEventListener("click",m,true),()=>{c.removeEventListener("click",m,true);}},[t]),!M__default.isValidElement(o))return o??null;let p=supportRef(o)?composeRef(getNodeRef(o),i):i;return ke(o,{ref:p})},Zn=is;var as=e=>{let o=M__default.useContext($e);return M__default.useMemo(()=>e?typeof e=="string"?e??o:e instanceof Function?e(o):o:o,[e,o])},yo=as;var ls=e=>{let{componentCls:o}=e;return {[o]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},Yn=ls;var ss=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"}}}},cs=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}}}};Q("Space",e=>{let o=mergeToken(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return [ss(o),cs(o),Yn(o)]},()=>({}),{resetStyle:false});var Jn=M.createContext(null),ei=(e,o)=>{let t=M.useContext(Jn),n=M.useMemo(()=>{if(!t)return "";let{compactDirection:r,isFirstItem:i,isLastItem:a}=t,l=r==="vertical"?"-vertical-":"-";return Tt(`${e}-compact${l}item`,{[`${e}-compact${l}first-item`]:i,[`${e}-compact${l}last-item`]:a,[`${e}-compact${l}item-rtl`]:o==="rtl"})},[e,o,t]);return {compactSize:t?.compactSize,compactDirection:t?.compactDirection,compactItemClassnames:n}},oi=({children:e})=>M.createElement(Jn.Provider,{value:null},e);var mr=M.createContext(void 0),fs=e=>{let{getPrefixCls:o,direction:t}=M.useContext(y),{prefixCls:n,size:r,className:i,...a}=e,l=o("btn-group",n),[,,s]=L(),p="";switch(r){case "large":p="lg";break;case "small":p="sm";break;}let c=Tt(l,{[`${l}-${p}`]:p,[`${l}-rtl`]:t==="rtl"},i,s);return M.createElement(mr.Provider,{value:r},M.createElement("div",{...a,className:c}))},ti=fs;var ri=/^[\u4E00-\u9FA5]{2}$/,st=ri.test.bind(ri);function ct(e){return e==="danger"?{danger:true}:{type:e}}function ni(e){return typeof e=="string"}function pt(e){return e==="text"||e==="link"}function us(e,o){if(e==null)return;let t=o?" ":"";return typeof e!="string"&&typeof e!="number"&&ni(e.type)&&st(e.props.children)?ke(e,{children:e.props.children.split("").join(t)}):ni(e)?st(e)?M__default.createElement("span",null,e.split("").join(t)):M__default.createElement("span",null,e):Gn(e)?M__default.createElement("span",null,e):e}function ii(e,o){let t=false,n=[];return M__default.Children.forEach(e,r=>{let i=typeof r,a=i==="string"||i==="number";if(t&&a){let l=n.length-1,s=n[l];n[l]=`${s}${r}`;}else n.push(r);t=a;}),M__default.Children.map(n,r=>us(r,o))}var xs=forwardRef((e,o)=>{let{className:t,style:n,children:r,prefixCls:i}=e,a=Tt(`${i}-icon`,t);return M__default.createElement("span",{ref:o,className:a,style:n},r)}),mt=xs;var ai=forwardRef((e,o)=>{let{prefixCls:t,className:n,style:r,iconClassName:i}=e,a=Tt(`${t}-loading-icon`,n);return M__default.createElement(mt,{prefixCls:t,className:a,style:r,ref:o},M__default.createElement(bs,{className:i}))}),dr=()=>({width:0,opacity:0,transform:"scale(0)"}),fr=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),Ps=e=>{let{prefixCls:o,loading:t,existIcon:n,className:r,style:i,mount:a}=e,l=!!t;return n?M__default.createElement(ai,{prefixCls:o,className:r,style:i}):M__default.createElement(_l,{visible:l,motionName:`${o}-loading-icon-motion`,motionAppear:!a,motionEnter:!a,motionLeave:!a,removeOnLeave:true,onAppearStart:dr,onAppearActive:fr,onEnterStart:dr,onEnterActive:fr,onLeaveStart:fr,onLeaveActive:dr},({className:s,style:p},c)=>{let m={...i,...p};return M__default.createElement(ai,{prefixCls:o,className:Tt(r,s),style:m,ref:c})})},si=Ps;var ci=(e,o)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:o}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:o}}}}}),Ts=e=>{let{componentCls:o,fontSize:t,lineWidth:n,groupBorderColor:r,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(n).mul(-1).equal(),[`&, & > ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[o]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${o}-icon-only`]:{fontSize:t}},ci(`${o}-primary`,r),ci(`${o}-danger`,i)]}},pi=Ts;var vs=(e,o)=>e?.replace(/[^\w/]/g,"").slice(0,o?8:6)||"",Rs=(e,o)=>e?vs(e,o):"",bo=class e{metaColor;colors;cleared=false;constructor(o){if(o instanceof e){this.metaColor=o.metaColor.clone(),this.colors=o.colors?.map(n=>({color:new e(n.color),percent:n.percent})),this.cleared=o.cleared;return}let t=Array.isArray(o);t&&o.length?(this.colors=o.map(({color:n,percent:r})=>({color:new e(n),percent:r})),this.metaColor=new Color(this.colors[0].color.metaColor)):this.metaColor=new Color(t?"":o),(!o||t&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=true);}toHsb(){return this.metaColor.toHsb()}toHsbString(){return this.metaColor.toHsbString()}toHex(){return Rs(this.toHexString(),this.metaColor.a<1)}toHexString(){return this.metaColor.toHexString()}toRgb(){return this.metaColor.toRgb()}toRgbString(){return this.metaColor.toRgbString()}isGradient(){return !!this.colors&&!this.cleared}getColors(){return this.colors||[{color:this,percent:0}]}toCssString(){let{colors:o}=this;return o?`linear-gradient(90deg, ${o.map(n=>`${n.color.toRgbString()} ${n.percent}%`).join(", ")})`:this.metaColor.toRgbString()}equals(o){return !o||this.isGradient()!==o.isGradient()?false:this.isGradient()?this.colors.length===o.colors.length&&this.colors.every((t,n)=>{let r=o.colors[n];return t.percent===r.percent&&t.color.equals(r.color)}):this.toHexString()===o.toHexString()}};var ks=M.forwardRef((e,o)=>{let{getPrefixCls:t}=M.useContext(y),{prefixCls:n,className:r,showArrow:i=true}=e,a=t("collapse",n),l=Tt({[`${a}-no-arrow`]:!i},r);return M.createElement($s.Panel,{ref:o,...e,prefixCls:a,className:l})}),di=ks;var Is=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`}}}),ur=Is;var Bs=e=>({animationDuration:e,animationFillMode:"both"}),ws=e=>({animationDuration:e,animationFillMode:"both"}),qe=(e,o,t,n,r=false)=>{let i=r?"&":"";return {[`
|
|
43
|
-
${i}${e}-enter,
|
|
44
|
-
${i}${e}-appear
|
|
45
|
-
`]:{...Bs(n),animationPlayState:"paused"},[`${i}${e}-leave`]:{...ws(n),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"}}};var ui=new Keyframes("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),gi=new Keyframes("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),gr=(e,o=false)=>{let{antCls:t}=e,n=`${t}-fade`,r=o?"&":"";return [qe(n,ui,gi,e.motionDurationMid,o),{[`
|
|
49
|
-
${r}${n}-enter,
|
|
50
|
-
${r}${n}-appear
|
|
51
|
-
`]:{opacity:0,animationTimingFunction:"linear"},[`${r}${n}-leave`]:{animationTimingFunction:"linear"}}]};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 Ci=new Keyframes("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),yi=new Keyframes("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),Cr=new Keyframes("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),yr=new Keyframes("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),xi=new Keyframes("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),Si=new Keyframes("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),bi=new Keyframes("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),hi=new Keyframes("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),Pi=new Keyframes("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),Ti=new Keyframes("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),vi=new Keyframes("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),Ri=new Keyframes("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),Ks={zoom:{inKeyframes:Ci,outKeyframes:yi},"zoom-big":{inKeyframes:Cr,outKeyframes:yr},"zoom-big-fast":{inKeyframes:Cr,outKeyframes:yr},"zoom-left":{inKeyframes:bi,outKeyframes:hi},"zoom-right":{inKeyframes:Pi,outKeyframes:Ti},"zoom-up":{inKeyframes:xi,outKeyframes:Si},"zoom-down":{inKeyframes:vi,outKeyframes:Ri}},xr=(e,o)=>{let{antCls:t}=e,n=`${t}-${o}`,{inKeyframes:r,outKeyframes:i}=Ks[o];return [qe(n,r,i,e.motionDurationMid),{[`
|
|
52
|
-
${n}-enter,
|
|
53
|
-
${n}-appear
|
|
54
|
-
`]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};var qs=e=>{let{componentCls:o,contentBg:t,padding:n,headerBg:r,headerPadding:i,collapseHeaderPaddingSM:a,collapseHeaderPaddingLG:l,collapsePanelBorderRadius:s,lineWidth:p,lineType:c,colorBorder:m,colorText:d,colorTextHeading:u,colorTextDisabled:g,fontSizeLG:f,lineHeight:C,lineHeightLG:S,marginSM:x,paddingSM:b,paddingLG:v,paddingXS:B,motionDurationSlow:R,fontSizeIcon:E,contentPadding:P,fontHeight:T,fontHeightLG:w}=e,h=`${unit(p)} ${c} ${m}`;return {[o]:{...Zo(e),backgroundColor:r,border:h,borderRadius:s,"&-rtl":{direction:"rtl"},[`& > ${o}-item`]:{borderBottom:h,"&:last-child":{[`
|
|
55
|
-
&,
|
|
56
|
-
& > ${o}-header`]:{borderRadius:`0 0 ${unit(s)} ${unit(s)}`}},[`> ${o}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:i,color:u,lineHeight:C,cursor:"pointer",transition:`all ${R}, visibility 0s`,[`> ${o}-header-text`]:{flex:"auto"},[`${o}-expand-icon`]:{height:T,display:"flex",alignItems:"center",paddingInlineEnd:x},[`${o}-arrow`]:{...go(),fontSize:E,transition:`transform ${R}`,svg:{transition:`transform ${R}`}},[`${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:P},"&-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:f,lineHeight:S,[`> ${o}-header`]:{padding:l,paddingInlineStart:n,[`> ${o}-expand-icon`]:{height:w,marginInlineStart:e.calc(v).sub(n).equal()}},[`> ${o}-content > ${o}-content-box`]:{padding:v}}},[`${o}-item:last-child`]:{borderBottom:0,[`> ${o}-content`]:{borderRadius:`0 0 ${unit(s)} ${unit(s)}`}},[`& ${o}-item-disabled > ${o}-header`]:{"\n &,\n & > .arrow\n ":{color:g,cursor:"not-allowed"}},[`&${o}-icon-position-end`]:{[`& > ${o}-item`]:{[`> ${o}-header`]:{[`${o}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:x}}}}}}},Zs=e=>{let{componentCls:o}=e,t=`> ${o}-item > ${o}-header ${o}-arrow`;return {[`${o}-rtl`]:{[t]:{transform:"rotate(180deg)"}}}},Qs=e=>{let{componentCls:o,headerBg:t,paddingXXS:n,colorBorder:r}=e;return {[`${o}-borderless`]:{backgroundColor:t,border:0,[`> ${o}-item`]:{borderBottom:`1px solid ${r}`},[`
|
|
57
|
-
> ${o}-item:last-child,
|
|
58
|
-
> ${o}-item:last-child ${o}-header
|
|
59
|
-
`]:{borderRadius:0},[`> ${o}-item:last-child`]:{borderBottom:0},[`> ${o}-item > ${o}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${o}-item > ${o}-content > ${o}-content-box`]:{paddingTop:n}}}},Ys=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}}}}}},Js=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),Mi=Q("Collapse",e=>{let o=mergeToken(e,{collapseHeaderPaddingSM:`${unit(e.paddingXS)} ${unit(e.paddingSM)}`,collapseHeaderPaddingLG:`${unit(e.padding)} ${unit(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return [qs(o),Qs(o),Ys(o),Zs(o),ur(o)]},Js);var rc=M.forwardRef((e,o)=>{let{getPrefixCls:t,direction:n,collapse:r}=M.useContext(y),{prefixCls:i,className:a,rootClassName:l,style:s,bordered:p=true,ghost:c,size:m,expandIconPosition:d="start",children:u,expandIcon:g}=e,f=yo(h=>m??h??"middle"),C=t("collapse",i),S=t(),[x,b,v]=Mi(C),B=M.useMemo(()=>d==="left"?"start":d==="right"?"end":d,[d]),R=g??r?.expandIcon,E=M.useCallback((h={})=>{let D=typeof R=="function"?R(h):M.createElement(ec,{rotate:h.isActive?90:void 0,"aria-label":h.isActive?"expanded":"collapsed"});return ke(D,()=>({className:Tt(D?.props?.className,`${C}-arrow`)}))},[R,C]),P=Tt(`${C}-icon-position-${B}`,{[`${C}-borderless`]:!p,[`${C}-rtl`]:n==="rtl",[`${C}-ghost`]:!!c,[`${C}-${f}`]:f!=="middle"},r?.className,a,l,b,v),T={...Wn(S),motionAppear:false,leavedClassName:`${C}-content-hidden`},w=M.useMemo(()=>u?tc(u).map((h,D)=>{let V=h.props;if(V?.disabled){let ee=h.key??String(D),oe={...ki(h.props,["disabled"]),key:ee,collapsible:V.collapsible??"disabled"};return ke(h,oe)}return h}):null,[u]);return x(M.createElement($s,{ref:o,openMotion:T,...ki(e,["rootClassName"]),expandIcon:E,prefixCls:C,className:P,style:{...r?.style,...s}},w))});Object.assign(rc,{Panel:di});var Ii=(e,o)=>{let{r:t,g:n,b:r,a:i}=e.toRgb(),a=new Color(e.toRgbString()).onBackground(o).toHsv();return i<=.5?a.v>.5:t*.299+n*.587+r*.114>192};var dt=e=>{let{paddingInline:o,onlyIconSize:t}=e;return mergeToken(e,{buttonPaddingHorizontal:o,buttonPaddingVertical:0,buttonIconOnlyFontSize:t})},ft=e=>{let o=e.contentFontSize??e.fontSize,t=e.contentFontSizeSM??e.fontSize,n=e.contentFontSizeLG??e.fontSizeLG,r=e.contentLineHeight??De(o),i=e.contentLineHeightSM??De(t),a=e.contentLineHeightLG??De(n),l=Ii(new bo(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:l,contentFontSize:o,contentFontSizeSM:t,contentFontSizeLG:n,contentLineHeight:r,contentLineHeightSM:i,contentLineHeightLG:a,paddingBlock:Math.max((e.controlHeight-o*r)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-t*i)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-n*a)/2-e.lineWidth,0)}};var ac=e=>{let{componentCls:o,iconCls:t,fontWeight:n,opacityLoading:r,motionDurationSlow:i,motionEaseInOut:a,marginXS:l,calc:s}=e;return {[o]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:n,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${unit(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},[`${o}-icon > svg`]:go(),"> a":{color:"currentColor"},"&:not(:disabled)":Qo(e),[`&${o}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${o}-two-chinese-chars > *:not(${t})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&${o}-icon-only`]:{paddingInline:0,[`&${o}-compact-item`]:{flex:"none"},[`&${o}-round`]:{width:"auto"}},[`&${o}-loading`]:{opacity:r,cursor:"default"},[`${o}-loading-icon`]:{transition:["width","opacity","margin"].map(p=>`${p} ${i} ${a}`).join(",")},[`&:not(${o}-icon-end)`]:{[`${o}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:s(l).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:s(l).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",[`${o}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:s(l).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:s(l).mul(-1).equal()}}}}}},Bi=(e,o,t)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":o,"&:active":t}}),lc=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),sc=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),cc=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),br=(e,o,t,n,r,i,a,l)=>({[`&${e}-background-ghost`]:{color:t||void 0,background:o,borderColor:n||void 0,boxShadow:"none",...Bi(e,{background:o,...a},{background:o,...l}),"&:disabled":{cursor:"not-allowed",color:r||void 0,borderColor:i||void 0}}}),pc=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{...cc(e)}}),mc=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),ut=(e,o,t,n)=>({...(n&&["link","text"].includes(n)?mc:pc)(e),...Bi(e.componentCls,o,t)}),hr=(e,o,t,n,r)=>({[`&${e.componentCls}-variant-solid`]:{color:o,background:t,...ut(e,n,r)}}),Pr=(e,o,t,n,r)=>({[`&${e.componentCls}-variant-outlined, &${e.componentCls}-variant-dashed`]:{borderColor:o,background:t,...ut(e,n,r)}}),Tr=e=>({[`&${e.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),vr=(e,o,t,n)=>({[`&${e.componentCls}-variant-filled`]:{boxShadow:"none",background:o,...ut(e,t,n)}}),Ze=(e,o,t,n,r)=>({[`&${e.componentCls}-variant-${t}`]:{color:o,boxShadow:"none",...ut(e,n,r,t)}}),dc=e=>({color:e.defaultColor,boxShadow:e.defaultShadow,...hr(e,e.solidTextColor,e.colorBgSolid,{color:e.solidTextColor,background:e.colorBgSolidHover},{color:e.solidTextColor,background:e.colorBgSolidActive}),...Tr(e),...vr(e,e.colorFillTertiary,{background:e.colorFillSecondary},{background:e.colorFill}),...Ze(e,e.textTextColor,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive}),...br(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)}),fc=e=>({color:e.colorPrimary,boxShadow:e.primaryShadow,...Pr(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer}),...Tr(e),...vr(e,e.colorPrimaryBg,{background:e.colorPrimaryBgHover},{background:e.colorPrimaryBorder}),...Ze(e,e.colorLink,"text",{color:e.colorPrimaryTextHover,background:e.colorPrimaryBg},{color:e.colorPrimaryTextActive,background:e.colorPrimaryBorder}),...br(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})}),uc=e=>({color:e.colorError,boxShadow:e.dangerShadow,...hr(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive}),...Pr(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive}),...Tr(e),...vr(e,e.colorErrorBg,{background:e.colorErrorBgFilledHover},{background:e.colorErrorBgActive}),...Ze(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive}),...Ze(e,e.colorError,"link",{color:e.colorErrorHover},{color:e.colorErrorActive}),...br(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})}),gc=e=>{let{componentCls:o}=e;return {[`${o}-color-default`]:dc(e),[`${o}-color-primary`]:fc(e),[`${o}-color-dangerous`]:uc(e)}},Cc=e=>({...Pr(e,e.defaultBorderColor,e.defaultBg,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg}),...Ze(e,e.textTextColor,"text",{color:e.textTextHoverColor,background:e.textHoverBg},{color:e.textTextActiveColor,background:e.colorBgTextActive}),...hr(e,e.primaryColor,e.colorPrimary,{background:e.colorPrimaryHover,color:e.primaryColor},{background:e.colorPrimaryActive,color:e.primaryColor}),...Ze(e,e.colorLink,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})}),Rr=(e,o="")=>{let{componentCls:t,controlHeight:n,fontSize:r,borderRadius:i,buttonPaddingHorizontal:a,iconCls:l,buttonPaddingVertical:s,buttonIconOnlyFontSize:p}=e;return [{[o]:{fontSize:r,height:n,padding:`${unit(s)} ${unit(a)}`,borderRadius:i,[`&${t}-icon-only`]:{width:n,[l]:{fontSize:p,verticalAlign:"calc(-0.125em - 1px)"}}}},{[`${t}${t}-circle${o}`]:lc(e)},{[`${t}${t}-round${o}`]:sc(e)}]},yc=e=>{let o=mergeToken(e,{fontSize:e.contentFontSize});return Rr(o,e.componentCls)},xc=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 Rr(o,`${e.componentCls}-sm`)},Sc=e=>{let o=mergeToken(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return Rr(o,`${e.componentCls}-lg`)},bc=e=>{let{componentCls:o}=e;return {[o]:{[`&${o}-block`]:{width:"100%"}}}},wi=Q("Button",e=>{let o=dt(e);return [ac(o),yc(o),xc(o),Sc(o),bc(o),gc(o),Cc(o),pi(o)]},ft,{unitless:{fontWeight:true,contentLineHeight:true,contentLineHeightSM:true,contentLineHeightLG:true}});function hc(e,o,t){let{focusElCls:n,focus:r,borderElCls:i}=t,a=i?"> *":"",l=["hover",r?"focus":null,"active"].filter(Boolean).map(s=>`&:${s} ${a}`).join(",");return {[`&-item:not(${o}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{[l]:{zIndex:2},...n?{[`&${n}`]:{zIndex:2}}:{},[`&[disabled] ${a}`]:{zIndex:0}}}}function Pc(e,o,t){let{borderElCls:n}=t,r=n?`> ${n}`:"";return {[`&-item:not(${o}-first-item):not(${o}-last-item) ${r}`]:{borderRadius:0},[`&-item:not(${o}-last-item)${o}-first-item`]:{[`& ${r}, &${e}-sm ${r}, &${e}-lg ${r}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${o}-first-item)${o}-last-item`]:{[`& ${r}, &${e}-sm ${r}, &${e}-lg ${r}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function Ei(e,o={focus:true}){let{componentCls:t}=e,n=`${t}-compact`;return {[n]:{...hc(e,n,o),...Pc(t,n,o)}}}function Tc(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 vc(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 Li(e){let o=`${e.componentCls}-compact-vertical`;return {[o]:{...Tc(e,o),...vc(e.componentCls,o)}}}var Rc=e=>{let{componentCls:o,colorPrimaryHover:t,lineWidth:n,calc:r}=e,i=r(n).mul(-1).equal(),a=l=>({[`${o}-compact${l?"-vertical":""}-item${o}-primary:not([disabled])`]:{"& + &::before":{position:"absolute",top:l?i:0,insetInlineStart:l?0:i,backgroundColor:t,content:'""',width:l?"100%":n,height:l?n:"100%"}}});return {...a(),...a(true)}},Ni=Co(["Button","compact"],e=>{let o=dt(e);return [Ei(o),Li(o),Rc(o)]},ft);function Ic(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 Bc={default:["default","outlined"],primary:["primary","solid"],dashed:["default","dashed"],link:["primary","link"],text:["default","text"]},wc=M__default.forwardRef((e,o)=>{let{loading:t=false,prefixCls:n,color:r,variant:i,type:a,danger:l=false,shape:s="default",size:p,styles:c,disabled:m,className:d,rootClassName:u,children:g,icon:f,iconPosition:C="start",ghost:S=false,block:x=false,htmlType:b="button",classNames:v,style:B={},autoInsertSpace:R,autoFocus:E,...P}=e,T=a||"default",[w,h]=useMemo(()=>{if(r&&i)return [r,i];let z=Bc[T]||[];return l?["danger",z[1]]:z},[a,r,i,l]),V=w==="danger"?"dangerous":w,{getPrefixCls:ee,direction:oe,button:U}=useContext(y),ge=R??U?.autoInsertSpace??true,$=ee("btn",n),[Le,to,ro]=wi($),te=useContext(Xo),W=m??te,Ro=useContext(mr),ve=useMemo(()=>Ic(t),[t]),[re,Mo]=useState(ve.loading),[no,$o]=useState(false),Re=useRef(null),ko=useComposeRef(o,Re),Io=Children.count(g)===1&&!f&&!pt(h),io=useRef(true);M__default.useEffect(()=>(io.current=false,()=>{io.current=true;}),[]),useEffect(()=>{let z=null;ve.delay>0?z=setTimeout(()=>{z=null,Mo(true);},ve.delay):Mo(ve.loading);function Ht(){z&&(clearTimeout(z),z=null);}return Ht},[ve]),useEffect(()=>{if(!Re.current||!ge)return;let z=Re.current.textContent||"";Io&&st(z)?no||$o(true):no&&$o(false);}),useEffect(()=>{E&&Re.current&&Re.current.focus();},[]);let Bo=M__default.useCallback(z=>{if(re||W){z.preventDefault();return}e.onClick?.(z);},[e.onClick,re,W]),{compactSize:Et,compactItemClassnames:wo}=ei($,oe),Lt={large:"lg",small:"sm",middle:void 0},Eo=yo(z=>p??Et??Ro??z),Lo=Eo?Lt[Eo]??"":"",Nt=re?"loading":f,ao=ki(P,["navigate"]),No=Tt($,to,ro,{[`${$}-${s}`]:s!=="default"&&s,[`${$}-${T}`]:T,[`${$}-dangerous`]:l,[`${$}-color-${V}`]:V,[`${$}-variant-${h}`]:h,[`${$}-${Lo}`]:Lo,[`${$}-icon-only`]:!g&&g!==0&&!!Nt,[`${$}-background-ghost`]:S&&!pt(h),[`${$}-loading`]:re,[`${$}-two-chinese-chars`]:no&&ge&&!re,[`${$}-block`]:x,[`${$}-rtl`]:oe==="rtl",[`${$}-icon-end`]:C==="end"},wo,d,u,U?.className),zo={...U?.style,...B},zt=Tt(v?.icon,U?.classNames?.icon),Ot={...c?.icon||{},...U?.styles?.icon||{}},Oo=f&&!re?M__default.createElement(mt,{prefixCls:$,className:zt,style:Ot},f):M__default.createElement(si,{existIcon:!!f,prefixCls:$,loading:re,mount:io.current}),Ho=g||g===0?ii(g,Io&&ge):null;if(ao.href!==void 0)return Le(M__default.createElement("a",{...ao,className:Tt(No,{[`${$}-disabled`]:W}),href:W?void 0:ao.href,style:zo,onClick:Bo,ref:ko,tabIndex:W?-1:0},Oo,Ho));let lo=M__default.createElement("button",{...P,type:b,className:No,style:zo,onClick:Bo,disabled:W,ref:ko},Oo,Ho,wo&&M__default.createElement(Ni,{prefixCls:$}));return pt(h)||(lo=M__default.createElement(Zn,{component:"Button",disabled:re},lo)),Le(lo)}),Ir=wc;Ir.Group=ti;Ir.__ANT_BUTTON=true;var Fi=Ir;var Qe=Fi;function Br(e){return !!e?.then}var Lc=e=>{let{type:o,children:t,prefixCls:n,buttonProps:r,close:i,autoFocus:a,emitEvent:l,isSilent:s,quitOnNullishReturnValue:p,actionFn:c}=e,m=M.useRef(false),d=M.useRef(null),[u,g]=Ec(false),f=(...x)=>{i?.(...x);};M.useEffect(()=>{let x=null;return a&&(x=setTimeout(()=>{d.current?.focus({preventScroll:true});})),()=>{x&&clearTimeout(x);}},[]);let C=x=>{Br(x)&&(g(true),x.then((...b)=>{g(false,true),f(...b),m.current=false;},b=>{if(g(false,true),m.current=false,!s?.())return Promise.reject(b)}));},S=x=>{if(m.current)return;if(m.current=true,!c){f();return}let b;if(l){if(b=c(x),p&&!Br(b)){m.current=false,f(x);return}}else if(c.length)b=c(i),m.current=false;else if(b=c(),!Br(b)){f();return}C(b);};return M.createElement(Qe,{...ct(o),onClick:S,loading:u,prefixCls:n,...r,ref:d},t)},gt=Lc;var me=M__default.createContext({}),{Provider:Ct}=me;var Hc=()=>{let{autoFocusButton:e,cancelButtonProps:o,cancelTextLocale:t,isSilent:n,mergedOkCancel:r,rootPrefixCls:i,close:a,onCancel:l,onConfirm:s}=useContext(me);return r?M__default.createElement(gt,{isSilent:n,actionFn:l,close:(...p)=>{a?.(...p),s?.(false);},autoFocus:e==="cancel",buttonProps:o,prefixCls:`${i}-btn`},t):null},wr=Hc;var Dc=()=>{let{autoFocusButton:e,close:o,isSilent:t,okButtonProps:n,rootPrefixCls:r,okTextLocale:i,okType:a,onConfirm:l,onOk:s}=useContext(me);return M__default.createElement(gt,{isSilent:t,type:a||"primary",actionFn:s,close:(...p)=>{o?.(...p),l?.(true);},autoFocus:e==="ok",buttonProps:n,prefixCls:`${r}-btn`},i)},Er=Dc;M.createContext({labelAlign:"right",vertical:false,itemRef:(()=>{})});M.createContext(null);M.createContext({prefixCls:""});var Ai=M.createContext({}),Di=({children:e,status:o,override:t})=>{let n=M.useContext(Ai),r=M.useMemo(()=>{let i={...n};return t&&delete i.isFormItemInput,o&&(delete i.status,delete i.hasFeedback,delete i.feedbackIcon),i},[o,t,n]);return M.createElement(Ai.Provider,{value:r},e)};M.createContext(void 0);var Wc=e=>{let{space:o,form:t,children:n}=e;if(n==null)return null;let r=n;return t&&(r=M__default.createElement(Di,{override:true,status:true},r)),o&&(r=M__default.createElement(oi,null,r)),r},Gi=Wc;function Lr(e){if(e)return {closable:e.closable,closeIcon:e.closeIcon}}function ji(e){let{closable:o,closeIcon:t}=e||{};return M__default.useMemo(()=>{if(!o&&(o===false||t===false||t===null))return false;if(o===void 0&&t===void 0)return null;let n={closeIcon:typeof t!="boolean"&&t!==null?t:void 0};return o&&typeof o=="object"&&(n={...n,...o}),n},[o,t])}function Vi(...e){let o={};return e.forEach(t=>{t&&Object.keys(t).forEach(n=>{t[n]!==void 0&&(o[n]=t[n]);});}),o}var Vc={};function Nr(e,o,t=Vc){let n=ji(e),r=ji(o),i=typeof n!="boolean"?!!n?.disabled:false,a=M__default.useMemo(()=>({closeIcon:M__default.createElement(Gc,null),...t}),[t]),l=M__default.useMemo(()=>n===false?false:n?Vi(a,r,n):r===false?false:r?Vi(a,r):a.closable?a:false,[n,r,a]);return M__default.useMemo(()=>{if(l===false)return [false,null,i];let{closeIconRender:s}=a,{closeIcon:p}=l,c=p;if(c!=null){s&&(c=s(p));let m=jc(l,true);Object.keys(m).length&&(c=M__default.isValidElement(c)?M__default.cloneElement(c,m):M__default.createElement("span",{...m},c));}return [true,c,i]},[l,a])}var Ui=()=>window.document.documentElement;var Uc=e=>{let[,,,,o]=L();return o?`${e}-css-var`:""},yt=Uc;var _c=e=>{let{prefixCls:o,className:t,style:n,size:r,shape:i}=e,a=Tt({[`${o}-lg`]:r==="large",[`${o}-sm`]:r==="small"}),l=Tt({[`${o}-circle`]:i==="circle",[`${o}-square`]:i==="square",[`${o}-round`]:i==="round"}),s=M.useMemo(()=>typeof r=="number"?{width:r,height:r,lineHeight:`${r}px`}:{},[r]);return M.createElement("span",{className:Tt(o,a,l,t),style:{...s,...n}})},Pe=_c;var qc=new Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),St=e=>({height:e,lineHeight:unit(e)}),Ye=e=>({width:e,...St(e)}),Zc=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:qc,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),Or=(e,o)=>({width:o(e).mul(5).equal(),minWidth:o(e).mul(5).equal(),...St(e)}),Qc=e=>{let{skeletonAvatarCls:o,gradientFromColor:t,controlHeight:n,controlHeightLG:r,controlHeightSM:i}=e;return {[o]:{display:"inline-block",verticalAlign:"top",background:t,...Ye(n)},[`${o}${o}-circle`]:{borderRadius:"50%"},[`${o}${o}-lg`]:{...Ye(r)},[`${o}${o}-sm`]:{...Ye(i)}}},Yc=e=>{let{controlHeight:o,borderRadiusSM:t,skeletonInputCls:n,controlHeightLG:r,controlHeightSM:i,gradientFromColor:a,calc:l}=e;return {[n]:{display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,...Or(o,l)},[`${n}-lg`]:{...Or(r,l)},[`${n}-sm`]:{...Or(i,l)}}},_i=e=>({width:e,...St(e)}),Jc=e=>{let{skeletonImageCls:o,imageSizeBase:t,gradientFromColor:n,borderRadiusSM:r,calc:i}=e;return {[o]:{display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:n,borderRadius:r,..._i(i(t).mul(2).equal()),[`${o}-path`]:{fill:"#bfbfbf"},[`${o}-svg`]:{..._i(t),maxWidth:i(t).mul(4).equal(),maxHeight:i(t).mul(4).equal()},[`${o}-svg${o}-svg-circle`]:{borderRadius:"50%"}},[`${o}${o}-circle`]:{borderRadius:"50%"}}},Hr=(e,o,t)=>{let{skeletonButtonCls:n}=e;return {[`${t}${n}-circle`]:{width:o,minWidth:o,borderRadius:"50%"},[`${t}${n}-round`]:{borderRadius:o}}},Fr=(e,o)=>({width:o(e).mul(2).equal(),minWidth:o(e).mul(2).equal(),...St(e)}),ep=e=>{let{borderRadiusSM:o,skeletonButtonCls:t,controlHeight:n,controlHeightLG:r,controlHeightSM:i,gradientFromColor:a,calc:l}=e;return {[t]:{display:"inline-block",verticalAlign:"top",background:a,borderRadius:o,width:l(n).mul(2).equal(),minWidth:l(n).mul(2).equal(),...Fr(n,l)},...Hr(e,n,t),[`${t}-lg`]:{...Fr(r,l)},...Hr(e,r,`${t}-lg`),[`${t}-sm`]:{...Fr(i,l)},...Hr(e,i,`${t}-sm`)}},op=e=>{let{componentCls:o,skeletonAvatarCls:t,skeletonTitleCls:n,skeletonParagraphCls:r,skeletonButtonCls:i,skeletonInputCls:a,skeletonImageCls:l,controlHeight:s,controlHeightLG:p,controlHeightSM:c,gradientFromColor:m,padding:d,marginSM:u,borderRadius:g,titleHeight:f,blockRadius:C,paragraphLiHeight:S,controlHeightXS:x,paragraphMarginTop:b}=e;return {[o]:{display:"table",width:"100%",[`${o}-header`]:{display:"table-cell",paddingInlineEnd:d,verticalAlign:"top",[t]:{display:"inline-block",verticalAlign:"top",background:m,...Ye(s)},[`${t}-circle`]:{borderRadius:"50%"},[`${t}-lg`]:{...Ye(p)},[`${t}-sm`]:{...Ye(c)}},[`${o}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[n]:{width:"100%",height:f,background:m,borderRadius:C,[`+ ${r}`]:{marginBlockStart:c}},[r]:{padding:0,"> li":{width:"100%",height:S,listStyle:"none",background:m,borderRadius:C,"+ li":{marginBlockStart:x}}},[`${r}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${o}-content`]:{[`${n}, ${r} > li`]:{borderRadius:g}}},[`${o}-with-avatar ${o}-content`]:{[n]:{marginBlockStart:u,[`+ ${r}`]:{marginBlockStart:b}}},[`${o}${o}-element`]:{display:"inline-block",width:"auto",...ep(e),...Qc(e),...Yc(e),...Jc(e)},[`${o}${o}-block`]:{width:"100%",[i]:{width:"100%"},[a]:{width:"100%"}},[`${o}${o}-active`]:{[`
|
|
60
|
-
${n},
|
|
61
|
-
${r} > li,
|
|
62
|
-
${t},
|
|
63
|
-
${i},
|
|
64
|
-
${a},
|
|
65
|
-
${l}
|
|
66
|
-
`]:{...Zc(e)}}}},tp=e=>{let{colorFillContent:o,colorFill:t}=e,n=o,r=t;return {color:n,colorGradientEnd:r,gradientFromColor:n,gradientToColor:r,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},q=Q("Skeleton",e=>{let{componentCls:o,calc:t}=e,n=mergeToken(e,{skeletonAvatarCls:`${o}-avatar`,skeletonTitleCls:`${o}-title`,skeletonParagraphCls:`${o}-paragraph`,skeletonButtonCls:`${o}-button`,skeletonInputCls:`${o}-input`,skeletonImageCls:`${o}-image`,imageSizeBase:t(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return [op(n)]},tp,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]});var ip=e=>{let{prefixCls:o,className:t,rootClassName:n,active:r,shape:i="circle",size:a="default"}=e,{getPrefixCls:l}=M.useContext(y),s=l("skeleton",o),[p,c,m]=q(s),d=ki(e,["prefixCls","className"]),u=Tt(s,`${s}-element`,{[`${s}-active`]:r},t,n,c,m);return p(M.createElement("div",{className:u},M.createElement(Pe,{prefixCls:`${s}-avatar`,shape:i,size:a,...d})))},Xi=ip;var sp=e=>{let{prefixCls:o,className:t,rootClassName:n,active:r,block:i=false,size:a="default"}=e,{getPrefixCls:l}=M.useContext(y),s=l("skeleton",o),[p,c,m]=q(s),d=ki(e,["prefixCls"]),u=Tt(s,`${s}-element`,{[`${s}-active`]:r,[`${s}-block`]:i},t,n,c,m);return p(M.createElement("div",{className:u},M.createElement(Pe,{prefixCls:`${s}-button`,size:a,...d})))},Ki=sp;var cp="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",pp=e=>{let{prefixCls:o,className:t,rootClassName:n,style:r,active:i}=e,{getPrefixCls:a}=M.useContext(y),l=a("skeleton",o),[s,p,c]=q(l),m=Tt(l,`${l}-element`,{[`${l}-active`]:i},t,n,p,c);return s(M.createElement("div",{className:m},M.createElement("div",{className:Tt(`${l}-image`,t),style:r},M.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${l}-image-svg`},M.createElement("title",null,"Image placeholder"),M.createElement("path",{d:cp,className:`${l}-image-path`})))))},Zi=pp;var fp=e=>{let{prefixCls:o,className:t,rootClassName:n,active:r,block:i,size:a="default"}=e,{getPrefixCls:l}=M.useContext(y),s=l("skeleton",o),[p,c,m]=q(s),d=ki(e,["prefixCls"]),u=Tt(s,`${s}-element`,{[`${s}-active`]:r,[`${s}-block`]:i},t,n,c,m);return p(M.createElement("div",{className:u},M.createElement(Pe,{prefixCls:`${s}-input`,size:a,...d})))},Qi=fp;var up=e=>{let{prefixCls:o,className:t,rootClassName:n,style:r,active:i,children:a}=e,{getPrefixCls:l}=M.useContext(y),s=l("skeleton",o),[p,c,m]=q(s),d=Tt(s,`${s}-element`,{[`${s}-active`]:i},c,t,n,m);return p(M.createElement("div",{className:d},M.createElement("div",{className:Tt(`${s}-image`,t),style:r},a)))},Ji=up;var Cp=(e,o)=>{let{width:t,rows:n=2}=o;if(Array.isArray(t))return t[e];if(n-1===e)return t},yp=e=>{let{prefixCls:o,className:t,style:n,rows:r}=e,i=[...new Array(r)].map((a,l)=>M.createElement("li",{key:l,style:{width:Cp(l,e)}}));return M.createElement("ul",{className:Tt(o,t),style:n},i)},ea=yp;var Sp=({prefixCls:e,className:o,width:t,style:n})=>M.createElement("h3",{className:Tt(e,o),style:{width:t,...n}}),ta=Sp;function Dr(e){return e&&typeof e=="object"?e:{}}function hp(e,o){return e&&!o?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Pp(e,o){return !e&&o?{width:"38%"}:e&&o?{width:"50%"}:{}}function Tp(e,o){let t={};return (!e||!o)&&(t.width="61%"),!e&&o?t.rows=3:t.rows=2,t}var Je=e=>{let{prefixCls:o,loading:t,className:n,rootClassName:r,style:i,children:a,avatar:l=false,title:s=true,paragraph:p=true,active:c,round:m}=e,{getPrefixCls:d,direction:u,skeleton:g}=M.useContext(y),f=d("skeleton",o),[C,S,x]=q(f);if(t||!("loading"in e)){let b=!!l,v=!!s,B=!!p,R;if(b){let T={prefixCls:`${f}-avatar`,...hp(v,B),...Dr(l)};R=M.createElement("div",{className:`${f}-header`},M.createElement(Pe,{...T}));}let E;if(v||B){let T;if(v){let h={prefixCls:`${f}-title`,...Pp(b,B),...Dr(s)};T=M.createElement(ta,{...h});}let w;if(B){let h={prefixCls:`${f}-paragraph`,...Tp(b,v),...Dr(p)};w=M.createElement(ea,{...h});}E=M.createElement("div",{className:`${f}-content`},T,w);}let P=Tt(f,{[`${f}-with-avatar`]:b,[`${f}-active`]:c,[`${f}-rtl`]:u==="rtl",[`${f}-round`]:m},g?.className,n,r,S,x);return C(M.createElement("div",{className:P,style:{...g?.style,...i}},R,E))}return a??null};Je.Button=Ki;Je.Avatar=Xi;Je.Input=Qi;Je.Image=Zi;Je.Node=Ji;var ra=Je;var na=ra;function ia(){}var Rp=M.createContext({add:ia,remove:ia});function aa(e){let o=M.useContext(Rp),t=M.useRef(null);return Zl(r=>{if(r){let i=e?r.querySelector(e):r;o.add(i),t.current=i;}else o.remove(t.current);})}var kp=()=>{let{cancelButtonProps:e,cancelTextLocale:o,onCancel:t}=useContext(me);return M__default.createElement(Qe,{onClick:t,...e},o)},Wr=kp;var wp=()=>{let{confirmLoading:e,okButtonProps:o,okType:t,okTextLocale:n,onOk:r}=useContext(me);return M__default.createElement(Qe,{...ct(t),loading:e,onClick:r,...o},n)},Gr=wp;function bt(e,o){return M__default.createElement("span",{className:`${e}-close-x`},o||M__default.createElement(Gc,{className:`${e}-close-icon`}))}var ht=e=>{let{okText:o,okType:t="primary",cancelText:n,confirmLoading:r,onOk:i,onCancel:a,okButtonProps:l,cancelButtonProps:s,footer:p}=e,[c]=Ce("Modal",Vo()),m=o||c?.okText,d=n||c?.cancelText,u={confirmLoading:r,okButtonProps:l,cancelButtonProps:s,okTextLocale:m,cancelTextLocale:d,okType:t,onOk:i,onCancel:a},g=M__default.useMemo(()=>u,[...Object.values(u)]),f;return typeof p=="function"||typeof p>"u"?(f=M__default.createElement(M__default.Fragment,null,M__default.createElement(Gr,null),M__default.createElement(Wr,null)),typeof p=="function"&&(f=p(f,{OkBtn:Gr,CancelBtn:Wr})),f=M__default.createElement(Ct,{value:g},f)):f=p,M__default.createElement(_o,{disabled:false},f)};function la(e){return {position:e,inset:0}}var Lp=e=>{let{componentCls:o,antCls:t}=e;return [{[`${o}-root`]:{[`${o}${t}-zoom-enter, ${o}${t}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${o}${t}-zoom-leave ${o}-content`]:{pointerEvents:"none"},[`${o}-mask`]:{...la("fixed"),zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${o}-hidden`]:{display:"none"}},[`${o}-wrap`]:{...la("fixed"),zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"}}},{[`${o}-root`]:gr(e)}]},Np=e=>{let{componentCls:o}=e;return [{[`${o}-root`]:{[`${o}-wrap-rtl`]:{direction:"rtl"},[`${o}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[o]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[o]:{maxWidth:"calc(100vw - 16px)",margin:`${unit(e.marginXS)} auto`},[`${o}-centered`]:{[o]:{flex:1}}}}},{[o]:{...Zo(e),pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${unit(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${o}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${o}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${o}-close`]:{position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:unit(e.modalCloseBtnSize),justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:disabled":{pointerEvents:"none"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive},...Qo(e)},[`${o}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${unit(e.borderRadiusLG)} ${unit(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${o}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding,[`${o}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",margin:`${unit(e.margin)} auto`}},[`${o}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${o}-open`]:{overflow:"hidden"}}},{[`${o}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${o}-content,
|
|
67
|
-
${o}-body,
|
|
68
|
-
${o}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${o}-confirm-body`]:{marginBottom:"auto"}}}]},zp=e=>{let{componentCls:o}=e;return {[`${o}-root`]:{[`${o}-wrap-rtl`]:{direction:"rtl",[`${o}-confirm-body`]:{direction:"rtl"}}}}},jr=e=>{let o=e.padding,t=e.fontSizeHeading5,n=e.lineHeightHeading5;return mergeToken(e,{modalHeaderHeight:e.calc(e.calc(n).mul(t).equal()).add(e.calc(o).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},Vr=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${unit(e.paddingMD)} ${unit(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${unit(e.padding)} ${unit(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${unit(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${unit(e.paddingXS)} ${unit(e.padding)}`:0,footerBorderTop:e.wireframe?`${unit(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${unit(e.borderRadiusLG)} ${unit(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${unit(e.padding*2)} ${unit(e.padding*2)} ${unit(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM}),Pt=Q("Modal",e=>{let o=jr(e);return [Np(o),zp(o),Lp(o),xr(o,"zoom")]},Vr,{unitless:{titleLineHeight:true}});var Ur,Fp=e=>{Ur={x:e.pageX,y:e.pageY},setTimeout(()=>{Ur=null;},100);};Ui()&&document.documentElement.addEventListener("click",Fp,true);var Ap=e=>{let{getPopupContainer:o,getPrefixCls:t,direction:n,modal:r}=M.useContext(y),i=te=>{let{onCancel:W}=e;W?.(te);},a=te=>{let{onOk:W}=e;W?.(te);},{prefixCls:l,className:s,rootClassName:p,open:c,wrapClassName:m,centered:d,getContainer:u,focusTriggerAfterClose:g=true,style:f,visible:C,width:S=520,footer:x,classNames:b,styles:v,children:B,loading:R,...E}=e,P=t("modal",l),T=t(),w=yt(P),[h,D,V]=Pt(P,w),ee=Tt(m,{[`${P}-centered`]:!!d,[`${P}-wrap-rtl`]:n==="rtl"}),oe=x!==null&&!R?M.createElement(ht,{...e,onOk:a,onCancel:i}):null,[U,ge,$]=Nr(Lr(e),Lr(r),{closable:true,closeIcon:M.createElement(Gc,{className:`${P}-close-icon`}),closeIconRender:te=>bt(P,te)}),Le=aa(`.${P}-content`),[to,ro]=An("Modal",E.zIndex);return h(M.createElement(Gi,{form:true,space:true},M.createElement(nt.Provider,{value:ro},M.createElement(Hp,{width:S,...E,zIndex:to,getContainer:u===void 0?o:u,prefixCls:P,rootClassName:Tt(D,p,V,w),footer:oe,visible:c??C,mousePosition:E.mousePosition??Ur,onClose:i,closable:U&&{disabled:$,closeIcon:ge},closeIcon:ge,focusTriggerAfterClose:g,transitionName:Xe(T,"zoom",e.transitionName),maskTransitionName:Xe(T,"fade",e.maskTransitionName),className:Tt(D,s,r?.className),style:{...r?.style,...f},classNames:{...r?.classNames,...b,wrapper:Tt(ee,b?.wrapper)},styles:{...r?.styles,...v},panelRef:Le},R?M.createElement(na,{active:true,title:false,paragraph:{rows:4},className:`${P}-body-skeleton`}):B))))},vt=Ap;var Dp=e=>{let{componentCls:o,titleFontSize:t,titleLineHeight:n,modalConfirmIconSize:r,fontSize:i,lineHeight:a,modalTitleHeight:l,fontHeight:s,confirmBodyPadding:p}=e,c=`${o}-confirm`;return {[c]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${c}-body-wrapper`]:{...Rn()},[`&${o} ${o}-body`]:{padding:p},[`${c}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${e.iconCls}`]:{flex:"none",fontSize:r,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(s).sub(r).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(l).sub(r).equal()).div(2).equal()}},[`${c}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS,maxWidth:`calc(100% - ${unit(e.marginSM)})`},[`${e.iconCls} + ${c}-paragraph`]:{maxWidth:`calc(100% - ${unit(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${c}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:t,lineHeight:n},[`${c}-content`]:{color:e.colorText,fontSize:i,lineHeight:a},[`${c}-btns`]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${c}-error ${c}-body > ${e.iconCls}`]:{color:e.colorError},[`${c}-warning ${c}-body > ${e.iconCls},
|
|
69
|
-
${c}-confirm ${c}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${c}-info ${c}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${c}-success ${c}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},ca=Co(["Modal","confirm"],e=>{let o=jr(e);return [Dp(o)]},Vr,{order:-1e3});function Xr(e){let{prefixCls:o,icon:t,okText:n,cancelText:r,confirmPrefixCls:i,type:a,okCancel:l,footer:s,locale:p,...c}=e,m=t;if(!t&&t!==null)switch(a){case "info":m=M.createElement(Vp,null);break;case "success":m=M.createElement(Wp,null);break;case "error":m=M.createElement(Gp,null);break;default:m=M.createElement(jp,null);}let d=l??a==="confirm",u=e.autoFocusButton===null?false:e.autoFocusButton||"ok",[g]=Ce("Modal"),f=p||g,C=n||(d?f?.okText:f?.justOkText),S=r||f?.cancelText,x={autoFocusButton:u,cancelTextLocale:S,okTextLocale:C,mergedOkCancel:d,...c},b=M.useMemo(()=>x,[...Object.values(x)]),v=M.createElement(M.Fragment,null,M.createElement(wr,null),M.createElement(Er,null)),B=e.title!==void 0&&e.title!==null,R=`${i}-body`;return M.createElement("div",{className:`${i}-body-wrapper`},M.createElement("div",{className:Tt(R,{[`${R}-has-title`]:B})},m,M.createElement("div",{className:`${i}-paragraph`},B&&M.createElement("span",{className:`${i}-title`},e.title),M.createElement("div",{className:`${i}-content`},e.content))),s===void 0||typeof s=="function"?M.createElement(Ct,{value:b},M.createElement("div",{className:`${i}-btns`},typeof s=="function"?s(v,{OkBtn:Er,CancelBtn:wr}):v)):s,M.createElement(ca,{prefixCls:o}))}var Up=e=>{let{close:o,zIndex:t,afterClose:n,open:r,keyboard:i,centered:a,getContainer:l,maskStyle:s,direction:p,prefixCls:c,wrapClassName:m,rootPrefixCls:d,bodyStyle:u,closable:g=false,closeIcon:f,modalRender:C,focusTriggerAfterClose:S,onConfirm:x,styles:b}=e,v=`${c}-confirm`,B=e.width||416,R=e.style||{},E=e.mask===void 0?true:e.mask,P=e.maskClosable===void 0?false:e.maskClosable,T=Tt(v,`${v}-${e.type}`,{[`${v}-rtl`]:p==="rtl"},e.className),[,w]=L(),h=M.useMemo(()=>t!==void 0?t:w.zIndexPopupBase+ar,[t,w]);return M.createElement(vt,{prefixCls:c,className:T,wrapClassName:Tt({[`${v}-centered`]:!!e.centered},m),onCancel:()=>{o?.({triggerCancel:true}),x?.(false);},open:r,title:"",footer:null,transitionName:Xe(d||"","zoom",e.transitionName),maskTransitionName:Xe(d||"","fade",e.maskTransitionName),mask:E,maskClosable:P,style:R,styles:{body:u,mask:s,...b},width:B,zIndex:h,afterClose:n,keyboard:i,centered:a,getContainer:l,closable:g,closeIcon:f,modalRender:C,focusTriggerAfterClose:S},M.createElement(Xr,{...e,confirmPrefixCls:v}))},_p=e=>{let{rootPrefixCls:o,iconPrefixCls:t,direction:n,theme:r}=e;return M.createElement(_e,{prefixCls:o,iconPrefixCls:t,direction:n,theme:r},M.createElement(Up,{...e}))},Rt=_p;var Xp=[],ie=Xp;var pa="";function ma(){return pa}var qp=e=>{let{prefixCls:o,getContainer:t,direction:n}=e,r=Vo(),i=useContext(y),a=ma()||i.getPrefixCls(),l=o||`${a}-modal`,s=t;return s===false&&(s=void 0),M__default.createElement(Rt,{...e,rootPrefixCls:a,prefixCls:l,iconPrefixCls:i.iconPrefixCls,theme:i.theme,direction:n??i.direction,locale:i.locale?.Modal??r,getContainer:s})};function we(e){let o=Hn(),t=document.createDocumentFragment(),n={...e,close:s,open:true},r,i;function a(...c){c.some(d=>d?.triggerCancel)&&e.onCancel?.(()=>{},...c.slice(1));for(let d=0;d<ie.length;d++)if(ie[d]===s){ie.splice(d,1);break}i();}function l(c){clearTimeout(r),r=setTimeout(()=>{let m=o.getPrefixCls(void 0,ma()),d=o.getIconPrefixCls(),u=o.getTheme(),g=M__default.createElement(qp,{...c});i=rt()(M__default.createElement(_e,{prefixCls:m,iconPrefixCls:d,theme:u},o.holderRender?o.holderRender(g):g),t);});}function s(...c){n={...n,open:false,afterClose:()=>{typeof e.afterClose=="function"&&e.afterClose(),a.apply(this,c);}},n.visible&&delete n.visible,l(n);}function p(c){typeof c=="function"?n=c(n):n={...n,...c},l(n);}return l(n),ie.push(s),{destroy:s,update:p}}function Mt(e){return {...e,type:"warning"}}function $t(e){return {...e,type:"info"}}function kt(e){return {...e,type:"success"}}function It(e){return {...e,type:"error"}}function Bt(e){return {...e,type:"confirm"}}function da({rootPrefixCls:e}){pa=e;}function fa(e){return o=>M.createElement(_e,{theme:{token:{motion:false,zIndexPopupBase:0}}},M.createElement(e,{...o}))}var Yp=e=>{let{prefixCls:o,className:t,closeIcon:n,closable:r,type:i,title:a,children:l,footer:s,...p}=e,{getPrefixCls:c}=M.useContext(y),m=c(),d=o||c("modal"),u=yt(m),[g,f,C]=Pt(d,u),S=`${d}-confirm`,x={};return i?x={closable:r??false,title:"",footer:"",children:M.createElement(Xr,{...e,prefixCls:d,confirmPrefixCls:S,rootPrefixCls:m,content:l})}:x={closable:r??true,title:a,footer:s!==null&&M.createElement(ht,{...e}),children:l},g(M.createElement(Panel,{prefixCls:d,className:Tt(f,`${d}-pure-panel`,i&&S,i&&`${S}-${i}`,t,C,u),...p,closeIcon:bt(d,n),closable:r,...x}))},ua=fa(Yp);function qr(){let[e,o]=M.useState([]),t=M.useCallback(n=>(o(r=>[...r,n]),()=>{o(r=>r.filter(i=>i!==n));}),[]);return [e,t]}var Jp=({afterClose:e,config:o,...t},n)=>{let[r,i]=M.useState(true),[a,l]=M.useState(o),{direction:s,getPrefixCls:p}=M.useContext(y),c=p("modal"),m=p(),d=()=>{e(),a.afterClose?.();},u=(...C)=>{i(false),C.some(x=>x?.triggerCancel)&&a.onCancel?.(()=>{},...C.slice(1));};M.useImperativeHandle(n,()=>({destroy:u,update:C=>{l(S=>({...S,...C}));}}));let g=a.okCancel??a.type==="confirm",[f]=Ce("Modal",Z.Modal);return M.createElement(Rt,{prefixCls:c,rootPrefixCls:m,...a,close:u,open:r,afterClose:d,okText:a.okText||(g?f?.okText:f?.justOkText),direction:a.direction||s,cancelText:a.cancelText||f?.cancelText,...t})},ga=M.forwardRef(Jp);var Ca=0,em=M.memo(M.forwardRef((e,o)=>{let[t,n]=qr();return M.useImperativeHandle(o,()=>({patchElement:n}),[]),M.createElement(M.Fragment,null,t)}));function om(){let e=M.useRef(null),[o,t]=M.useState([]);M.useEffect(()=>{o.length&&([...o].forEach(a=>{a();}),t([]));},[o]);let n=M.useCallback(i=>function(l){Ca+=1;let s=M.createRef(),p,c=new Promise(f=>{p=f;}),m=false,d,u=M.createElement(ga,{key:`modal-${Ca}`,config:i(l),ref:s,afterClose:()=>{d?.();},isSilent:()=>m,onConfirm:f=>{p(f);}});return d=e.current?.patchElement(u),d&&ie.push(d),{destroy:()=>{function f(){s.current?.destroy();}s.current?f():t(C=>[...C,f]);},update:f=>{function C(){s.current?.update(f);}s.current?C():t(S=>[...S,C]);},then:f=>(m=true,c.then(f))}},[]);return [M.useMemo(()=>({info:n($t),success:n(kt),error:n(It),warning:n(Mt),confirm:n(Bt)}),[]),M.createElement(em,{key:"modal-holder",ref:e})]}var ya=om;function xa(e){return we(Mt(e))}var J=vt;J.useModal=ya;J.info=function(o){return we($t(o))};J.success=function(o){return we(kt(o))};J.error=function(o){return we(It(o))};J.warning=xa;J.warn=xa;J.confirm=function(o){return we(Bt(o))};J.destroyAll=function(){for(;ie.length;){let o=ie.pop();o&&o();}};J.config=da;J._InternalPanelDoNotUseOrYouWillBeFired=ua;var th=J;export{th as default};
|
package/es/modal/interface.d.ts
DELETED
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import type React from 'react';
|
|
2
|
-
import type { DialogProps } from 'rc-dialog';
|
|
3
|
-
import type { ButtonProps, LegacyButtonType } from '../button/button';
|
|
4
|
-
import type { DirectionType } from '../config-provider';
|
|
5
|
-
interface ModalCommonProps extends Omit<DialogProps, 'footer'> {
|
|
6
|
-
footer?: React.ReactNode | ((originNode: React.ReactNode, extra: {
|
|
7
|
-
OkBtn: React.FC;
|
|
8
|
-
CancelBtn: React.FC;
|
|
9
|
-
}) => React.ReactNode);
|
|
10
|
-
}
|
|
11
|
-
export interface ModalProps extends ModalCommonProps {
|
|
12
|
-
/** Whether the modal dialog is visible or not */
|
|
13
|
-
open?: boolean;
|
|
14
|
-
/** Whether to apply loading visual effect for OK button or not */
|
|
15
|
-
confirmLoading?: boolean;
|
|
16
|
-
/** The modal dialog's title */
|
|
17
|
-
title?: React.ReactNode;
|
|
18
|
-
/** Specify a function that will be called when a user clicks the OK button */
|
|
19
|
-
onOk?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
20
|
-
/** Specify a function that will be called when a user clicks mask, close button on top right or Cancel button */
|
|
21
|
-
onCancel?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
22
|
-
afterClose?: () => void;
|
|
23
|
-
/** Callback when the animation ends when Modal is turned on and off */
|
|
24
|
-
afterOpenChange?: (open: boolean) => void;
|
|
25
|
-
/** Centered Modal */
|
|
26
|
-
centered?: boolean;
|
|
27
|
-
/** Width of the modal dialog */
|
|
28
|
-
width?: string | number;
|
|
29
|
-
/** Text of the OK button */
|
|
30
|
-
okText?: React.ReactNode;
|
|
31
|
-
/** Button `type` of the OK button */
|
|
32
|
-
okType?: LegacyButtonType;
|
|
33
|
-
/** Text of the Cancel button */
|
|
34
|
-
cancelText?: React.ReactNode;
|
|
35
|
-
/** Whether to close the modal dialog when the mask (area outside the modal) is clicked */
|
|
36
|
-
maskClosable?: boolean;
|
|
37
|
-
/** Force render Modal */
|
|
38
|
-
forceRender?: boolean;
|
|
39
|
-
okButtonProps?: ButtonProps;
|
|
40
|
-
cancelButtonProps?: ButtonProps;
|
|
41
|
-
destroyOnClose?: boolean;
|
|
42
|
-
style?: React.CSSProperties;
|
|
43
|
-
wrapClassName?: string;
|
|
44
|
-
maskTransitionName?: string;
|
|
45
|
-
transitionName?: string;
|
|
46
|
-
className?: string;
|
|
47
|
-
rootClassName?: string;
|
|
48
|
-
classNames?: NonNullable<DialogProps['classNames']>;
|
|
49
|
-
getContainer?: string | HTMLElement | getContainerFunc | false;
|
|
50
|
-
zIndex?: number;
|
|
51
|
-
/** @deprecated Please use `styles.body` instead */
|
|
52
|
-
bodyStyle?: React.CSSProperties;
|
|
53
|
-
/** @deprecated Please use `styles.mask` instead */
|
|
54
|
-
maskStyle?: React.CSSProperties;
|
|
55
|
-
mask?: boolean;
|
|
56
|
-
keyboard?: boolean;
|
|
57
|
-
wrapProps?: any;
|
|
58
|
-
prefixCls?: string;
|
|
59
|
-
closeIcon?: React.ReactNode;
|
|
60
|
-
modalRender?: (node: React.ReactNode) => React.ReactNode;
|
|
61
|
-
focusTriggerAfterClose?: boolean;
|
|
62
|
-
children?: React.ReactNode;
|
|
63
|
-
mousePosition?: MousePosition;
|
|
64
|
-
/** @deprecated Please use `open` instead. */
|
|
65
|
-
visible?: boolean;
|
|
66
|
-
/**
|
|
67
|
-
* @since 5.18.0
|
|
68
|
-
*/
|
|
69
|
-
loading?: boolean;
|
|
70
|
-
}
|
|
71
|
-
type getContainerFunc = () => HTMLElement;
|
|
72
|
-
export interface ModalFuncProps extends ModalCommonProps {
|
|
73
|
-
prefixCls?: string;
|
|
74
|
-
className?: string;
|
|
75
|
-
rootClassName?: string;
|
|
76
|
-
open?: boolean;
|
|
77
|
-
/** @deprecated Please use `open` instead. */
|
|
78
|
-
visible?: boolean;
|
|
79
|
-
title?: React.ReactNode;
|
|
80
|
-
content?: React.ReactNode;
|
|
81
|
-
onOk?: (...args: any[]) => any;
|
|
82
|
-
onCancel?: (...args: any[]) => any;
|
|
83
|
-
afterClose?: () => void;
|
|
84
|
-
okButtonProps?: ButtonProps;
|
|
85
|
-
cancelButtonProps?: ButtonProps;
|
|
86
|
-
centered?: boolean;
|
|
87
|
-
width?: string | number;
|
|
88
|
-
okText?: React.ReactNode;
|
|
89
|
-
okType?: LegacyButtonType;
|
|
90
|
-
cancelText?: React.ReactNode;
|
|
91
|
-
icon?: React.ReactNode;
|
|
92
|
-
mask?: boolean;
|
|
93
|
-
maskClosable?: boolean;
|
|
94
|
-
zIndex?: number;
|
|
95
|
-
okCancel?: boolean;
|
|
96
|
-
style?: React.CSSProperties;
|
|
97
|
-
wrapClassName?: string;
|
|
98
|
-
/** @deprecated Please use `styles.mask` instead */
|
|
99
|
-
maskStyle?: React.CSSProperties;
|
|
100
|
-
type?: 'info' | 'success' | 'error' | 'warn' | 'warning' | 'confirm';
|
|
101
|
-
keyboard?: boolean;
|
|
102
|
-
getContainer?: string | HTMLElement | getContainerFunc | false;
|
|
103
|
-
autoFocusButton?: null | 'ok' | 'cancel';
|
|
104
|
-
transitionName?: string;
|
|
105
|
-
maskTransitionName?: string;
|
|
106
|
-
direction?: DirectionType;
|
|
107
|
-
/** @deprecated Please use `styles.body` instead */
|
|
108
|
-
bodyStyle?: React.CSSProperties;
|
|
109
|
-
closeIcon?: React.ReactNode;
|
|
110
|
-
footer?: ModalProps['footer'];
|
|
111
|
-
modalRender?: (node: React.ReactNode) => React.ReactNode;
|
|
112
|
-
focusTriggerAfterClose?: boolean;
|
|
113
|
-
}
|
|
114
|
-
export interface ModalLocale {
|
|
115
|
-
okText: string;
|
|
116
|
-
cancelText: string;
|
|
117
|
-
justOkText: string;
|
|
118
|
-
}
|
|
119
|
-
export type MousePosition = {
|
|
120
|
-
x: number;
|
|
121
|
-
y: number;
|
|
122
|
-
} | null;
|
|
123
|
-
export {};
|
package/es/modal/interface.js
DELETED
|
File without changes
|
package/es/modal/locale.d.ts
DELETED
package/es/modal/locale.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import'rc-pagination/lib/locale/en_US';import p from'rc-picker/lib/locale/en_US';({lang:{...p}});var b={Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"}},o=b;var n={...o.Modal},c=[],m=()=>c.reduce((a,l)=>({...a,...l}),o.Modal);function w(a){if(a){let l={...a};return c.push(l),n=m(),()=>{c=c.filter(d=>d!==l),n=m();}}n={...o.Modal};}function E(){return n}export{w as changeConfirmLocale,E as getConfirmLocale};
|
package/es/modal/shared.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { ModalProps } from './interface';
|
|
3
|
-
export declare function renderCloseIcon(prefixCls: string, closeIcon?: React.ReactNode): React.JSX.Element;
|
|
4
|
-
interface FooterProps {
|
|
5
|
-
onOk?: React.MouseEventHandler<HTMLButtonElement | HTMLAnchorElement>;
|
|
6
|
-
onCancel?: React.MouseEventHandler<HTMLButtonElement | HTMLAnchorElement>;
|
|
7
|
-
}
|
|
8
|
-
export declare const Footer: React.FC<FooterProps & Pick<ModalProps, 'footer' | 'okText' | 'okType' | 'cancelText' | 'confirmLoading' | 'okButtonProps' | 'cancelButtonProps'>>;
|
|
9
|
-
export {};
|