@swiftcrab/crab 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -143
- package/package.json +7 -4
- package/es/_util/ActionButton.d.ts +0 -19
- package/es/_util/ActionButton.js +0 -47
- package/es/_util/ContextIsolator.d.ts +0 -3
- package/es/_util/ContextIsolator.js +0 -40
- package/es/_util/PurePanel.d.ts +0 -9
- package/es/_util/PurePanel.js +0 -40
- package/es/_util/aria-data-attrs.d.ts +0 -4
- package/es/_util/aria-data-attrs.js +0 -0
- package/es/_util/capitalize.d.ts +0 -1
- package/es/_util/capitalize.js +0 -1
- package/es/_util/colors.d.ts +0 -13
- package/es/_util/colors.js +0 -1
- package/es/_util/easings.d.ts +0 -1
- package/es/_util/easings.js +0 -1
- package/es/_util/extendsObject.d.ts +0 -3
- package/es/_util/extendsObject.js +0 -1
- package/es/_util/gapSize.d.ts +0 -3
- package/es/_util/gapSize.js +0 -1
- package/es/_util/getAllowClear.d.ts +0 -4
- package/es/_util/getAllowClear.js +0 -1
- package/es/_util/getRenderPropValue.d.ts +0 -3
- package/es/_util/getRenderPropValue.js +0 -1
- package/es/_util/getScroll.d.ts +0 -3
- package/es/_util/getScroll.js +0 -1
- package/es/_util/hooks/useClosable.d.ts +0 -31
- package/es/_util/hooks/useClosable.js +0 -1
- package/es/_util/hooks/useForceUpdate.d.ts +0 -2
- package/es/_util/hooks/useForceUpdate.js +0 -1
- package/es/_util/hooks/useMultipleSelect.d.ts +0 -6
- package/es/_util/hooks/useMultipleSelect.js +0 -1
- package/es/_util/hooks/usePatchElement.d.ts +0 -5
- package/es/_util/hooks/usePatchElement.js +0 -1
- package/es/_util/hooks/useProxyImperativeHandle.d.ts +0 -4
- package/es/_util/hooks/useProxyImperativeHandle.js +0 -1
- package/es/_util/hooks/useSyncState.d.ts +0 -3
- package/es/_util/hooks/useSyncState.js +0 -1
- package/es/_util/hooks/useUniqueMemo.d.ts +0 -6
- package/es/_util/hooks/useUniqueMemo.js +0 -1
- package/es/_util/hooks/useZIndex.d.ts +0 -8
- package/es/_util/hooks/useZIndex.js +0 -35
- package/es/_util/isNumeric.d.ts +0 -2
- package/es/_util/isNumeric.js +0 -1
- package/es/_util/isPrimitive.d.ts +0 -2
- package/es/_util/isPrimitive.js +0 -1
- package/es/_util/motion.d.ts +0 -7
- package/es/_util/motion.js +0 -40
- package/es/_util/placements.d.ts +0 -21
- package/es/_util/placements.js +0 -1
- package/es/_util/reactNode.d.ts +0 -7
- package/es/_util/reactNode.js +0 -1
- package/es/_util/responsiveObserver.d.ts +0 -22
- package/es/_util/responsiveObserver.js +0 -35
- package/es/_util/scrollTo.d.ts +0 -10
- package/es/_util/scrollTo.js +0 -1
- package/es/_util/statusUtils.d.ts +0 -6
- package/es/_util/statusUtils.js +0 -1
- package/es/_util/styleChecker.d.ts +0 -3
- package/es/_util/styleChecker.js +0 -1
- package/es/_util/throttleByAnimationFrame.d.ts +0 -5
- package/es/_util/throttleByAnimationFrame.js +0 -1
- package/es/_util/toList.d.ts +0 -1
- package/es/_util/toList.js +0 -1
- package/es/_util/transKeys.d.ts +0 -3
- package/es/_util/transKeys.js +0 -1
- package/es/_util/type.d.ts +0 -54
- package/es/_util/type.js +0 -0
- package/es/_util/warning.d.ts +0 -31
- package/es/_util/warning.js +0 -1
- package/es/_util/wave/WaveEffect.d.ts +0 -10
- package/es/_util/wave/WaveEffect.js +0 -40
- package/es/_util/wave/index.d.ts +0 -9
- package/es/_util/wave/index.js +0 -40
- package/es/_util/wave/interface.d.ts +0 -11
- package/es/_util/wave/interface.js +0 -40
- package/es/_util/wave/style.d.ts +0 -7
- package/es/_util/wave/style.js +0 -35
- package/es/_util/wave/useWave.d.ts +0 -4
- package/es/_util/wave/useWave.js +0 -40
- package/es/_util/wave/util.d.ts +0 -2
- package/es/_util/wave/util.js +0 -1
- package/es/_util/zindexContext.d.ts +0 -3
- package/es/_util/zindexContext.js +0 -1
- package/es/affix/index.d.ts +0 -22
- package/es/affix/index.js +0 -40
- package/es/affix/style/index.d.ts +0 -11
- package/es/affix/style/index.js +0 -35
- package/es/affix/utils.d.ts +0 -4
- package/es/affix/utils.js +0 -1
- package/es/alert/Alert.d.ts +0 -42
- package/es/alert/Alert.js +0 -42
- package/es/alert/ErrorBoundary.d.ts +0 -24
- package/es/alert/ErrorBoundary.js +0 -42
- package/es/alert/index.d.ts +0 -8
- package/es/alert/index.js +0 -42
- package/es/alert/style/index.d.ts +0 -26
- package/es/alert/style/index.js +0 -37
- package/es/anchor/Anchor.d.ts +0 -59
- package/es/anchor/Anchor.js +0 -40
- package/es/anchor/AnchorLink.d.ts +0 -14
- package/es/anchor/AnchorLink.js +0 -40
- package/es/anchor/context.d.ts +0 -4
- package/es/anchor/context.js +0 -1
- package/es/anchor/index.d.ts +0 -10
- package/es/anchor/index.js +0 -40
- package/es/anchor/style/index.d.ts +0 -16
- package/es/anchor/style/index.js +0 -35
- package/es/app/context.d.ts +0 -16
- package/es/app/context.js +0 -1
- package/es/app/index.d.ts +0 -16
- package/es/app/index.js +0 -76
- package/es/app/style/index.d.ts +0 -6
- package/es/app/style/index.js +0 -35
- package/es/auto-complete/index.d.ts +0 -28
- package/es/auto-complete/index.js +0 -78
- package/es/avatar/AvatarContext.d.ts +0 -9
- package/es/avatar/AvatarContext.js +0 -1
- package/es/avatar/avatar.d.ts +0 -26
- package/es/avatar/avatar.js +0 -40
- package/es/avatar/group.d.ts +0 -27
- package/es/avatar/group.js +0 -49
- package/es/avatar/index.d.ts +0 -10
- package/es/avatar/index.js +0 -49
- package/es/avatar/style/index.d.ts +0 -51
- package/es/avatar/style/index.js +0 -35
- package/es/badge/Ribbon.d.ts +0 -16
- package/es/badge/Ribbon.js +0 -40
- package/es/badge/ScrollNumber.d.ts +0 -18
- package/es/badge/ScrollNumber.js +0 -40
- package/es/badge/SingleNumber.d.ts +0 -14
- package/es/badge/SingleNumber.js +0 -1
- package/es/badge/index.d.ts +0 -41
- package/es/badge/index.js +0 -40
- package/es/badge/style/index.d.ts +0 -104
- package/es/badge/style/index.js +0 -35
- package/es/badge/style/ribbon.d.ts +0 -2
- package/es/badge/style/ribbon.js +0 -35
- package/es/breadcrumb/Breadcrumb.d.ts +0 -58
- package/es/breadcrumb/Breadcrumb.js +0 -87
- package/es/breadcrumb/BreadcrumbItem.d.ts +0 -31
- package/es/breadcrumb/BreadcrumbItem.js +0 -83
- package/es/breadcrumb/BreadcrumbSeparator.d.ts +0 -4
- package/es/breadcrumb/BreadcrumbSeparator.js +0 -40
- package/es/breadcrumb/index.d.ts +0 -4
- package/es/breadcrumb/index.js +0 -87
- package/es/breadcrumb/style/index.d.ts +0 -41
- package/es/breadcrumb/style/index.js +0 -38
- package/es/breadcrumb/useItemRender.d.ts +0 -8
- package/es/breadcrumb/useItemRender.js +0 -1
- package/es/breadcrumb/useItems.d.ts +0 -6
- package/es/breadcrumb/useItems.js +0 -1
- package/es/button/IconWrapper.d.ts +0 -9
- package/es/button/IconWrapper.js +0 -1
- package/es/button/LoadingIcon.d.ts +0 -11
- package/es/button/LoadingIcon.js +0 -1
- package/es/button/button-group.d.ts +0 -12
- package/es/button/button-group.js +0 -40
- package/es/button/button.d.ts +0 -44
- package/es/button/button.js +0 -47
- package/es/button/buttonHelpers.d.ts +0 -18
- package/es/button/buttonHelpers.js +0 -1
- package/es/button/index.d.ts +0 -6
- package/es/button/index.js +0 -47
- package/es/button/style/compact.d.ts +0 -2
- package/es/button/style/compact.js +0 -47
- package/es/button/style/group.d.ts +0 -4
- package/es/button/style/group.js +0 -1
- package/es/button/style/index.d.ts +0 -4
- package/es/button/style/index.js +0 -47
- package/es/button/style/token.d.ts +0 -233
- package/es/button/style/token.js +0 -47
- package/es/calendar/Header.d.ts +0 -17
- package/es/calendar/Header.js +0 -79
- package/es/calendar/generateCalendar.d.ts +0 -44
- package/es/calendar/generateCalendar.js +0 -118
- package/es/calendar/index.d.ts +0 -10
- package/es/calendar/index.js +0 -118
- package/es/calendar/locale/ar_EG.d.ts +0 -2
- package/es/calendar/locale/ar_EG.js +0 -1
- package/es/calendar/locale/az_AZ.d.ts +0 -2
- package/es/calendar/locale/az_AZ.js +0 -1
- package/es/calendar/locale/bg_BG.d.ts +0 -2
- package/es/calendar/locale/bg_BG.js +0 -1
- package/es/calendar/locale/bn_BD.d.ts +0 -2
- package/es/calendar/locale/bn_BD.js +0 -1
- package/es/calendar/locale/by_BY.d.ts +0 -2
- package/es/calendar/locale/by_BY.js +0 -1
- package/es/calendar/locale/ca_ES.d.ts +0 -2
- package/es/calendar/locale/ca_ES.js +0 -1
- package/es/calendar/locale/cs_CZ.d.ts +0 -2
- package/es/calendar/locale/cs_CZ.js +0 -1
- package/es/calendar/locale/da_DK.d.ts +0 -2
- package/es/calendar/locale/da_DK.js +0 -1
- package/es/calendar/locale/de_DE.d.ts +0 -2
- package/es/calendar/locale/de_DE.js +0 -1
- package/es/calendar/locale/el_GR.d.ts +0 -2
- package/es/calendar/locale/el_GR.js +0 -1
- package/es/calendar/locale/en_GB.d.ts +0 -2
- package/es/calendar/locale/en_GB.js +0 -1
- package/es/calendar/locale/en_US.d.ts +0 -2
- package/es/calendar/locale/en_US.js +0 -1
- package/es/calendar/locale/es_ES.d.ts +0 -2
- package/es/calendar/locale/es_ES.js +0 -1
- package/es/calendar/locale/et_EE.d.ts +0 -2
- package/es/calendar/locale/et_EE.js +0 -1
- package/es/calendar/locale/eu_ES.d.ts +0 -2
- package/es/calendar/locale/eu_ES.js +0 -1
- package/es/calendar/locale/fa_IR.d.ts +0 -2
- package/es/calendar/locale/fa_IR.js +0 -1
- package/es/calendar/locale/fi_FI.d.ts +0 -2
- package/es/calendar/locale/fi_FI.js +0 -1
- package/es/calendar/locale/fr_BE.d.ts +0 -2
- package/es/calendar/locale/fr_BE.js +0 -1
- package/es/calendar/locale/fr_CA.d.ts +0 -2
- package/es/calendar/locale/fr_CA.js +0 -1
- package/es/calendar/locale/fr_FR.d.ts +0 -2
- package/es/calendar/locale/fr_FR.js +0 -1
- package/es/calendar/locale/ga_IE.d.ts +0 -2
- package/es/calendar/locale/ga_IE.js +0 -1
- package/es/calendar/locale/gl_ES.d.ts +0 -2
- package/es/calendar/locale/gl_ES.js +0 -1
- package/es/calendar/locale/he_IL.d.ts +0 -2
- package/es/calendar/locale/he_IL.js +0 -1
- package/es/calendar/locale/hi_IN.d.ts +0 -2
- package/es/calendar/locale/hi_IN.js +0 -1
- package/es/calendar/locale/hr_HR.d.ts +0 -2
- package/es/calendar/locale/hr_HR.js +0 -1
- package/es/calendar/locale/hu_HU.d.ts +0 -2
- package/es/calendar/locale/hu_HU.js +0 -1
- package/es/calendar/locale/id_ID.d.ts +0 -2
- package/es/calendar/locale/id_ID.js +0 -1
- package/es/calendar/locale/is_IS.d.ts +0 -2
- package/es/calendar/locale/is_IS.js +0 -1
- package/es/calendar/locale/it_IT.d.ts +0 -2
- package/es/calendar/locale/it_IT.js +0 -1
- package/es/calendar/locale/ja_JP.d.ts +0 -2
- package/es/calendar/locale/ja_JP.js +0 -1
- package/es/calendar/locale/ka_GE.d.ts +0 -2
- package/es/calendar/locale/ka_GE.js +0 -1
- package/es/calendar/locale/kk_KZ.d.ts +0 -2
- package/es/calendar/locale/kk_KZ.js +0 -1
- package/es/calendar/locale/km_KH.d.ts +0 -2
- package/es/calendar/locale/km_KH.js +0 -1
- package/es/calendar/locale/kmr_IQ.d.ts +0 -2
- package/es/calendar/locale/kmr_IQ.js +0 -1
- package/es/calendar/locale/kn_IN.d.ts +0 -2
- package/es/calendar/locale/kn_IN.js +0 -1
- package/es/calendar/locale/ko_KR.d.ts +0 -2
- package/es/calendar/locale/ko_KR.js +0 -1
- package/es/calendar/locale/lt_LT.d.ts +0 -2
- package/es/calendar/locale/lt_LT.js +0 -1
- package/es/calendar/locale/lv_LV.d.ts +0 -2
- package/es/calendar/locale/lv_LV.js +0 -1
- package/es/calendar/locale/mk_MK.d.ts +0 -2
- package/es/calendar/locale/mk_MK.js +0 -1
- package/es/calendar/locale/ml_IN.d.ts +0 -2
- package/es/calendar/locale/ml_IN.js +0 -1
- package/es/calendar/locale/mn_MN.d.ts +0 -2
- package/es/calendar/locale/mn_MN.js +0 -1
- package/es/calendar/locale/ms_MY.d.ts +0 -2
- package/es/calendar/locale/ms_MY.js +0 -1
- package/es/calendar/locale/my_MM.d.ts +0 -2
- package/es/calendar/locale/my_MM.js +0 -1
- package/es/calendar/locale/nb_NO.d.ts +0 -2
- package/es/calendar/locale/nb_NO.js +0 -1
- package/es/calendar/locale/nl_BE.d.ts +0 -2
- package/es/calendar/locale/nl_BE.js +0 -1
- package/es/calendar/locale/nl_NL.d.ts +0 -2
- package/es/calendar/locale/nl_NL.js +0 -1
- package/es/calendar/locale/pl_PL.d.ts +0 -2
- package/es/calendar/locale/pl_PL.js +0 -1
- package/es/calendar/locale/pt_BR.d.ts +0 -2
- package/es/calendar/locale/pt_BR.js +0 -1
- package/es/calendar/locale/pt_PT.d.ts +0 -2
- package/es/calendar/locale/pt_PT.js +0 -1
- package/es/calendar/locale/ro_RO.d.ts +0 -2
- package/es/calendar/locale/ro_RO.js +0 -1
- package/es/calendar/locale/ru_RU.d.ts +0 -2
- package/es/calendar/locale/ru_RU.js +0 -1
- package/es/calendar/locale/si_LK.d.ts +0 -2
- package/es/calendar/locale/si_LK.js +0 -1
- package/es/calendar/locale/sk_SK.d.ts +0 -2
- package/es/calendar/locale/sk_SK.js +0 -1
- package/es/calendar/locale/sl_SI.d.ts +0 -2
- package/es/calendar/locale/sl_SI.js +0 -1
- package/es/calendar/locale/sr_RS.d.ts +0 -2
- package/es/calendar/locale/sr_RS.js +0 -1
- package/es/calendar/locale/sv_SE.d.ts +0 -2
- package/es/calendar/locale/sv_SE.js +0 -1
- package/es/calendar/locale/ta_IN.d.ts +0 -2
- package/es/calendar/locale/ta_IN.js +0 -1
- package/es/calendar/locale/th_TH.d.ts +0 -2
- package/es/calendar/locale/th_TH.js +0 -1
- package/es/calendar/locale/tk_TK.d.ts +0 -2
- package/es/calendar/locale/tk_TK.js +0 -1
- package/es/calendar/locale/tr_TR.d.ts +0 -2
- package/es/calendar/locale/tr_TR.js +0 -1
- package/es/calendar/locale/uk_UA.d.ts +0 -2
- package/es/calendar/locale/uk_UA.js +0 -1
- package/es/calendar/locale/ur_PK.d.ts +0 -2
- package/es/calendar/locale/ur_PK.js +0 -1
- package/es/calendar/locale/uz_UZ.d.ts +0 -2
- package/es/calendar/locale/uz_UZ.js +0 -1
- package/es/calendar/locale/vi_VN.d.ts +0 -2
- package/es/calendar/locale/vi_VN.js +0 -1
- package/es/calendar/locale/zh_CN.d.ts +0 -2
- package/es/calendar/locale/zh_CN.js +0 -1
- package/es/calendar/locale/zh_TW.d.ts +0 -2
- package/es/calendar/locale/zh_TW.js +0 -1
- package/es/calendar/style/index.d.ts +0 -61
- package/es/calendar/style/index.js +0 -86
- package/es/card/Card.d.ts +0 -56
- package/es/card/Card.js +0 -67
- package/es/card/Grid.d.ts +0 -9
- package/es/card/Grid.js +0 -40
- package/es/card/Meta.d.ts +0 -11
- package/es/card/Meta.js +0 -40
- package/es/card/index.d.ts +0 -13
- package/es/card/index.js +0 -67
- package/es/card/style/index.d.ts +0 -51
- package/es/card/style/index.js +0 -44
- package/es/carousel/index.d.ts +0 -27
- package/es/carousel/index.js +0 -40
- package/es/carousel/style/index.d.ts +0 -43
- package/es/carousel/style/index.js +0 -35
- package/es/cascader/Panel.d.ts +0 -12
- package/es/cascader/Panel.js +0 -49
- package/es/cascader/hooks/useBase.d.ts +0 -8
- package/es/cascader/hooks/useBase.js +0 -40
- package/es/cascader/hooks/useCheckable.d.ts +0 -2
- package/es/cascader/hooks/useCheckable.js +0 -1
- package/es/cascader/hooks/useColumnIcons.d.ts +0 -3
- package/es/cascader/hooks/useColumnIcons.js +0 -1
- package/es/cascader/index.d.ts +0 -55
- package/es/cascader/index.js +0 -87
- package/es/cascader/style/columns.d.ts +0 -4
- package/es/cascader/style/columns.js +0 -44
- package/es/cascader/style/index.d.ts +0 -51
- package/es/cascader/style/index.js +0 -44
- package/es/cascader/style/panel.d.ts +0 -2
- package/es/cascader/style/panel.js +0 -44
- package/es/checkbox/Checkbox.d.ts +0 -43
- package/es/checkbox/Checkbox.js +0 -46
- package/es/checkbox/Group.d.ts +0 -32
- package/es/checkbox/Group.js +0 -46
- package/es/checkbox/GroupContext.d.ts +0 -12
- package/es/checkbox/GroupContext.js +0 -1
- package/es/checkbox/index.d.ts +0 -11
- package/es/checkbox/index.js +0 -46
- package/es/checkbox/style/index.d.ts +0 -23
- package/es/checkbox/style/index.js +0 -41
- package/es/checkbox/useBubbleLock.d.ts +0 -7
- package/es/checkbox/useBubbleLock.js +0 -1
- package/es/col/index.d.ts +0 -4
- package/es/col/index.js +0 -40
- package/es/col/style/index.d.ts +0 -2
- package/es/col/style/index.js +0 -1
- package/es/collapse/Collapse.d.ts +0 -45
- package/es/collapse/Collapse.js +0 -47
- package/es/collapse/CollapsePanel.d.ts +0 -19
- package/es/collapse/CollapsePanel.js +0 -40
- package/es/collapse/index.d.ts +0 -4
- package/es/collapse/index.js +0 -47
- package/es/collapse/style/index.d.ts +0 -46
- package/es/collapse/style/index.js +0 -42
- package/es/color-picker/ColorPicker.d.ts +0 -8
- package/es/color-picker/ColorPicker.js +0 -130
- package/es/color-picker/ColorPickerPanel.d.ts +0 -9
- package/es/color-picker/ColorPickerPanel.js +0 -130
- package/es/color-picker/color.d.ts +0 -34
- package/es/color-picker/color.js +0 -1
- package/es/color-picker/components/ColorAlphaInput.d.ts +0 -9
- package/es/color-picker/components/ColorAlphaInput.js +0 -70
- package/es/color-picker/components/ColorClear.d.ts +0 -9
- package/es/color-picker/components/ColorClear.js +0 -1
- package/es/color-picker/components/ColorHexInput.d.ts +0 -9
- package/es/color-picker/components/ColorHexInput.js +0 -65
- package/es/color-picker/components/ColorHsbInput.d.ts +0 -9
- package/es/color-picker/components/ColorHsbInput.js +0 -70
- package/es/color-picker/components/ColorInput.d.ts +0 -14
- package/es/color-picker/components/ColorInput.js +0 -115
- package/es/color-picker/components/ColorPresets.d.ts +0 -12
- package/es/color-picker/components/ColorPresets.js +0 -47
- package/es/color-picker/components/ColorRgbInput.d.ts +0 -9
- package/es/color-picker/components/ColorRgbInput.js +0 -70
- package/es/color-picker/components/ColorSlider.d.ts +0 -20
- package/es/color-picker/components/ColorSlider.js +0 -61
- package/es/color-picker/components/ColorSteppers.d.ts +0 -15
- package/es/color-picker/components/ColorSteppers.js +0 -70
- package/es/color-picker/components/ColorTrigger.d.ts +0 -20
- package/es/color-picker/components/ColorTrigger.js +0 -1
- package/es/color-picker/components/PanelPicker/GradientColorBar.d.ts +0 -8
- package/es/color-picker/components/PanelPicker/GradientColorBar.js +0 -61
- package/es/color-picker/components/PanelPicker/index.d.ts +0 -3
- package/es/color-picker/components/PanelPicker/index.js +0 -130
- package/es/color-picker/components/PanelPresets.d.ts +0 -3
- package/es/color-picker/components/PanelPresets.js +0 -47
- package/es/color-picker/context.d.ts +0 -38
- package/es/color-picker/context.js +0 -1
- package/es/color-picker/hooks/useModeColor.d.ts +0 -17
- package/es/color-picker/hooks/useModeColor.js +0 -1
- package/es/color-picker/index.d.ts +0 -4
- package/es/color-picker/index.js +0 -130
- package/es/color-picker/interface.d.ts +0 -73
- package/es/color-picker/interface.js +0 -1
- package/es/color-picker/style/color-block.d.ts +0 -8
- package/es/color-picker/style/color-block.js +0 -1
- package/es/color-picker/style/index.d.ts +0 -62
- package/es/color-picker/style/index.js +0 -35
- package/es/color-picker/style/input.d.ts +0 -5
- package/es/color-picker/style/input.js +0 -1
- package/es/color-picker/style/picker.d.ts +0 -5
- package/es/color-picker/style/picker.js +0 -1
- package/es/color-picker/style/presets.d.ts +0 -5
- package/es/color-picker/style/presets.js +0 -1
- package/es/color-picker/style/slider.d.ts +0 -5
- package/es/color-picker/style/slider.js +0 -1
- package/es/color-picker/util.d.ts +0 -15
- package/es/color-picker/util.js +0 -1
- package/es/config-provider/DisabledContext.d.ts +0 -8
- package/es/config-provider/DisabledContext.js +0 -1
- package/es/config-provider/MotionWrapper.d.ts +0 -5
- package/es/config-provider/MotionWrapper.js +0 -35
- package/es/config-provider/PropWarning.d.ts +0 -6
- package/es/config-provider/PropWarning.js +0 -1
- package/es/config-provider/SizeContext.d.ts +0 -9
- package/es/config-provider/SizeContext.js +0 -1
- package/es/config-provider/UnstableContext.d.ts +0 -10
- package/es/config-provider/UnstableContext.js +0 -1
- package/es/config-provider/context.d.ts +0 -248
- package/es/config-provider/context.js +0 -1
- package/es/config-provider/cssVariables.d.ts +0 -3
- package/es/config-provider/cssVariables.js +0 -6
- package/es/config-provider/defaultRenderEmpty.d.ts +0 -8
- package/es/config-provider/defaultRenderEmpty.js +0 -41
- package/es/config-provider/hooks/useCSSVarCls.d.ts +0 -7
- package/es/config-provider/hooks/useCSSVarCls.js +0 -35
- package/es/config-provider/hooks/useConfig.d.ts +0 -5
- package/es/config-provider/hooks/useConfig.js +0 -1
- package/es/config-provider/hooks/useSize.d.ts +0 -3
- package/es/config-provider/hooks/useSize.js +0 -1
- package/es/config-provider/hooks/useTheme.d.ts +0 -4
- package/es/config-provider/hooks/useTheme.js +0 -35
- package/es/config-provider/hooks/useThemeKey.d.ts +0 -3
- package/es/config-provider/hooks/useThemeKey.js +0 -1
- package/es/config-provider/index.d.ts +0 -139
- package/es/config-provider/index.js +0 -40
- package/es/config-provider/style/index.d.ts +0 -1
- package/es/config-provider/style/index.js +0 -35
- package/es/copy/index.d.ts +0 -13
- package/es/copy/index.js +0 -1
- package/es/date-picker/PickerButton.d.ts +0 -4
- package/es/date-picker/PickerButton.js +0 -47
- package/es/date-picker/generatePicker/constant.d.ts +0 -5
- package/es/date-picker/generatePicker/constant.js +0 -1
- package/es/date-picker/generatePicker/generateRangePicker.d.ts +0 -17
- package/es/date-picker/generatePicker/generateRangePicker.js +0 -98
- package/es/date-picker/generatePicker/generateSinglePicker.d.ts +0 -25
- package/es/date-picker/generatePicker/generateSinglePicker.js +0 -98
- package/es/date-picker/generatePicker/index.d.ts +0 -36
- package/es/date-picker/generatePicker/index.js +0 -98
- package/es/date-picker/generatePicker/interface.d.ts +0 -72
- package/es/date-picker/generatePicker/interface.js +0 -0
- package/es/date-picker/generatePicker/useComponents.d.ts +0 -13
- package/es/date-picker/generatePicker/useComponents.js +0 -47
- package/es/date-picker/index.d.ts +0 -48
- package/es/date-picker/index.js +0 -98
- package/es/date-picker/locale/ar_EG.d.ts +0 -3
- package/es/date-picker/locale/ar_EG.js +0 -1
- package/es/date-picker/locale/az_AZ.d.ts +0 -3
- package/es/date-picker/locale/az_AZ.js +0 -1
- package/es/date-picker/locale/bg_BG.d.ts +0 -3
- package/es/date-picker/locale/bg_BG.js +0 -1
- package/es/date-picker/locale/bn_BD.d.ts +0 -3
- package/es/date-picker/locale/bn_BD.js +0 -1
- package/es/date-picker/locale/by_BY.d.ts +0 -3
- package/es/date-picker/locale/by_BY.js +0 -1
- package/es/date-picker/locale/ca_ES.d.ts +0 -3
- package/es/date-picker/locale/ca_ES.js +0 -1
- package/es/date-picker/locale/cs_CZ.d.ts +0 -3
- package/es/date-picker/locale/cs_CZ.js +0 -1
- package/es/date-picker/locale/da_DK.d.ts +0 -3
- package/es/date-picker/locale/da_DK.js +0 -1
- package/es/date-picker/locale/de_DE.d.ts +0 -3
- package/es/date-picker/locale/de_DE.js +0 -1
- package/es/date-picker/locale/el_GR.d.ts +0 -3
- package/es/date-picker/locale/el_GR.js +0 -1
- package/es/date-picker/locale/en_GB.d.ts +0 -3
- package/es/date-picker/locale/en_GB.js +0 -1
- package/es/date-picker/locale/en_US.d.ts +0 -3
- package/es/date-picker/locale/en_US.js +0 -1
- package/es/date-picker/locale/es_ES.d.ts +0 -3
- package/es/date-picker/locale/es_ES.js +0 -1
- package/es/date-picker/locale/et_EE.d.ts +0 -3
- package/es/date-picker/locale/et_EE.js +0 -1
- package/es/date-picker/locale/eu_ES.d.ts +0 -3
- package/es/date-picker/locale/eu_ES.js +0 -1
- package/es/date-picker/locale/fa_IR.d.ts +0 -3
- package/es/date-picker/locale/fa_IR.js +0 -1
- package/es/date-picker/locale/fi_FI.d.ts +0 -3
- package/es/date-picker/locale/fi_FI.js +0 -1
- package/es/date-picker/locale/fr_BE.d.ts +0 -3
- package/es/date-picker/locale/fr_BE.js +0 -1
- package/es/date-picker/locale/fr_CA.d.ts +0 -3
- package/es/date-picker/locale/fr_CA.js +0 -1
- package/es/date-picker/locale/fr_FR.d.ts +0 -3
- package/es/date-picker/locale/fr_FR.js +0 -1
- package/es/date-picker/locale/ga_IE.d.ts +0 -3
- package/es/date-picker/locale/ga_IE.js +0 -1
- package/es/date-picker/locale/gl_ES.d.ts +0 -3
- package/es/date-picker/locale/gl_ES.js +0 -1
- package/es/date-picker/locale/he_IL.d.ts +0 -3
- package/es/date-picker/locale/he_IL.js +0 -1
- package/es/date-picker/locale/hi_IN.d.ts +0 -3
- package/es/date-picker/locale/hi_IN.js +0 -1
- package/es/date-picker/locale/hr_HR.d.ts +0 -3
- package/es/date-picker/locale/hr_HR.js +0 -1
- package/es/date-picker/locale/hu_HU.d.ts +0 -3
- package/es/date-picker/locale/hu_HU.js +0 -1
- package/es/date-picker/locale/id_ID.d.ts +0 -3
- package/es/date-picker/locale/id_ID.js +0 -1
- package/es/date-picker/locale/is_IS.d.ts +0 -3
- package/es/date-picker/locale/is_IS.js +0 -1
- package/es/date-picker/locale/it_IT.d.ts +0 -3
- package/es/date-picker/locale/it_IT.js +0 -1
- package/es/date-picker/locale/ja_JP.d.ts +0 -3
- package/es/date-picker/locale/ja_JP.js +0 -1
- package/es/date-picker/locale/ka_GE.d.ts +0 -3
- package/es/date-picker/locale/ka_GE.js +0 -1
- package/es/date-picker/locale/kk_KZ.d.ts +0 -3
- package/es/date-picker/locale/kk_KZ.js +0 -1
- package/es/date-picker/locale/km_KH.d.ts +0 -3
- package/es/date-picker/locale/km_KH.js +0 -1
- package/es/date-picker/locale/kmr_IQ.d.ts +0 -3
- package/es/date-picker/locale/kmr_IQ.js +0 -1
- package/es/date-picker/locale/kn_IN.d.ts +0 -3
- package/es/date-picker/locale/kn_IN.js +0 -1
- package/es/date-picker/locale/ko_KR.d.ts +0 -3
- package/es/date-picker/locale/ko_KR.js +0 -1
- package/es/date-picker/locale/lt_LT.d.ts +0 -3
- package/es/date-picker/locale/lt_LT.js +0 -1
- package/es/date-picker/locale/lv_LV.d.ts +0 -3
- package/es/date-picker/locale/lv_LV.js +0 -1
- package/es/date-picker/locale/mk_MK.d.ts +0 -3
- package/es/date-picker/locale/mk_MK.js +0 -1
- package/es/date-picker/locale/ml_IN.d.ts +0 -3
- package/es/date-picker/locale/ml_IN.js +0 -1
- package/es/date-picker/locale/mn_MN.d.ts +0 -3
- package/es/date-picker/locale/mn_MN.js +0 -1
- package/es/date-picker/locale/ms_MY.d.ts +0 -3
- package/es/date-picker/locale/ms_MY.js +0 -1
- package/es/date-picker/locale/my_MM.d.ts +0 -3
- package/es/date-picker/locale/my_MM.js +0 -1
- package/es/date-picker/locale/nb_NO.d.ts +0 -3
- package/es/date-picker/locale/nb_NO.js +0 -1
- package/es/date-picker/locale/nl_BE.d.ts +0 -3
- package/es/date-picker/locale/nl_BE.js +0 -1
- package/es/date-picker/locale/nl_NL.d.ts +0 -3
- package/es/date-picker/locale/nl_NL.js +0 -1
- package/es/date-picker/locale/pl_PL.d.ts +0 -3
- package/es/date-picker/locale/pl_PL.js +0 -1
- package/es/date-picker/locale/pt_BR.d.ts +0 -3
- package/es/date-picker/locale/pt_BR.js +0 -1
- package/es/date-picker/locale/pt_PT.d.ts +0 -3
- package/es/date-picker/locale/pt_PT.js +0 -1
- package/es/date-picker/locale/ro_RO.d.ts +0 -3
- package/es/date-picker/locale/ro_RO.js +0 -1
- package/es/date-picker/locale/ru_RU.d.ts +0 -4
- package/es/date-picker/locale/ru_RU.js +0 -1
- package/es/date-picker/locale/si_LK.d.ts +0 -3
- package/es/date-picker/locale/si_LK.js +0 -1
- package/es/date-picker/locale/sk_SK.d.ts +0 -3
- package/es/date-picker/locale/sk_SK.js +0 -1
- package/es/date-picker/locale/sl_SI.d.ts +0 -3
- package/es/date-picker/locale/sl_SI.js +0 -1
- package/es/date-picker/locale/sr_RS.d.ts +0 -3
- package/es/date-picker/locale/sr_RS.js +0 -1
- package/es/date-picker/locale/sv_SE.d.ts +0 -3
- package/es/date-picker/locale/sv_SE.js +0 -1
- package/es/date-picker/locale/ta_IN.d.ts +0 -3
- package/es/date-picker/locale/ta_IN.js +0 -1
- package/es/date-picker/locale/th_TH.d.ts +0 -3
- package/es/date-picker/locale/th_TH.js +0 -1
- package/es/date-picker/locale/tk_TK.d.ts +0 -3
- package/es/date-picker/locale/tk_TK.js +0 -1
- package/es/date-picker/locale/tr_TR.d.ts +0 -3
- package/es/date-picker/locale/tr_TR.js +0 -1
- package/es/date-picker/locale/uk_UA.d.ts +0 -3
- package/es/date-picker/locale/uk_UA.js +0 -1
- package/es/date-picker/locale/ur_PK.d.ts +0 -3
- package/es/date-picker/locale/ur_PK.js +0 -1
- package/es/date-picker/locale/uz_UZ.d.ts +0 -3
- package/es/date-picker/locale/uz_UZ.js +0 -1
- package/es/date-picker/locale/vi_VN.d.ts +0 -3
- package/es/date-picker/locale/vi_VN.js +0 -1
- package/es/date-picker/locale/zh_CN.d.ts +0 -3
- package/es/date-picker/locale/zh_CN.js +0 -1
- package/es/date-picker/locale/zh_TW.d.ts +0 -3
- package/es/date-picker/locale/zh_TW.js +0 -1
- package/es/date-picker/style/index.d.ts +0 -7
- package/es/date-picker/style/index.js +0 -86
- package/es/date-picker/style/multiple.d.ts +0 -4
- package/es/date-picker/style/multiple.js +0 -35
- package/es/date-picker/style/panel.d.ts +0 -6
- package/es/date-picker/style/panel.js +0 -12
- package/es/date-picker/style/token.d.ts +0 -103
- package/es/date-picker/style/token.js +0 -35
- package/es/date-picker/style/variants.d.ts +0 -4
- package/es/date-picker/style/variants.js +0 -35
- package/es/date-picker/util.d.ts +0 -8
- package/es/date-picker/util.js +0 -1
- package/es/descriptions/Cell.d.ts +0 -17
- package/es/descriptions/Cell.js +0 -1
- package/es/descriptions/DescriptionsContext.d.ts +0 -7
- package/es/descriptions/DescriptionsContext.js +0 -1
- package/es/descriptions/Item.d.ts +0 -13
- package/es/descriptions/Item.js +0 -1
- package/es/descriptions/Row.d.ts +0 -13
- package/es/descriptions/Row.js +0 -1
- package/es/descriptions/constant.d.ts +0 -3
- package/es/descriptions/constant.js +0 -1
- package/es/descriptions/hooks/useItems.d.ts +0 -4
- package/es/descriptions/hooks/useItems.js +0 -35
- package/es/descriptions/hooks/useRow.d.ts +0 -3
- package/es/descriptions/hooks/useRow.js +0 -1
- package/es/descriptions/index.d.ts +0 -42
- package/es/descriptions/index.js +0 -40
- package/es/descriptions/style/index.d.ts +0 -52
- package/es/descriptions/style/index.js +0 -35
- package/es/divider/index.d.ts +0 -20
- package/es/divider/index.js +0 -40
- package/es/divider/style/index.d.ts +0 -23
- package/es/divider/style/index.js +0 -35
- package/es/drag/SortableBoard.d.ts +0 -4
- package/es/drag/SortableBoard.js +0 -1
- package/es/drag/SortableBoardProvider.d.ts +0 -14
- package/es/drag/SortableBoardProvider.js +0 -1
- package/es/drag/SortableList.d.ts +0 -8
- package/es/drag/SortableList.js +0 -1
- package/es/drag/SortableZone.d.ts +0 -7
- package/es/drag/SortableZone.js +0 -1
- package/es/drag/SortableZoneShared.d.ts +0 -36
- package/es/drag/SortableZoneShared.js +0 -1
- package/es/drag/index.d.ts +0 -12
- package/es/drag/index.js +0 -1
- package/es/drag/type.d.ts +0 -362
- package/es/drag/type.js +0 -0
- package/es/drawer/DrawerPanel.d.ts +0 -49
- package/es/drawer/DrawerPanel.js +0 -54
- package/es/drawer/index.d.ts +0 -34
- package/es/drawer/index.js +0 -54
- package/es/drawer/style/index.d.ts +0 -23
- package/es/drawer/style/index.js +0 -35
- package/es/drawer/style/motion.d.ts +0 -4
- package/es/drawer/style/motion.js +0 -1
- package/es/dropdown/dropdown-button.d.ts +0 -21
- package/es/dropdown/dropdown-button.js +0 -88
- package/es/dropdown/dropdown.d.ts +0 -50
- package/es/dropdown/dropdown.js +0 -83
- package/es/dropdown/index.d.ts +0 -8
- package/es/dropdown/index.js +0 -88
- package/es/dropdown/style/index.d.ts +0 -40
- package/es/dropdown/style/index.js +0 -64
- package/es/dropdown/style/status.d.ts +0 -4
- package/es/dropdown/style/status.js +0 -1
- package/es/empty/empty.d.ts +0 -3
- package/es/empty/empty.js +0 -36
- package/es/empty/index.d.ts +0 -21
- package/es/empty/index.js +0 -41
- package/es/empty/simple.d.ts +0 -3
- package/es/empty/simple.js +0 -36
- package/es/empty/style/index.d.ts +0 -5
- package/es/empty/style/index.js +0 -35
- package/es/flex/index.d.ts +0 -4
- package/es/flex/index.js +0 -40
- package/es/flex/interface.d.ts +0 -15
- package/es/flex/interface.js +0 -0
- package/es/flex/style/index.d.ts +0 -30
- package/es/flex/style/index.js +0 -35
- package/es/flex/utils.d.ts +0 -6
- package/es/flex/utils.js +0 -1
- package/es/form/ErrorList.d.ts +0 -13
- package/es/form/ErrorList.js +0 -50
- package/es/form/Form.d.ts +0 -43
- package/es/form/Form.js +0 -50
- package/es/form/FormItem/ItemHolder.d.ts +0 -18
- package/es/form/FormItem/ItemHolder.js +0 -59
- package/es/form/FormItem/StatusProvider.d.ts +0 -16
- package/es/form/FormItem/StatusProvider.js +0 -1
- package/es/form/FormItem/index.d.ts +0 -46
- package/es/form/FormItem/index.js +0 -59
- package/es/form/FormItemInput.d.ts +0 -22
- package/es/form/FormItemInput.js +0 -50
- package/es/form/FormItemLabel.d.ts +0 -22
- package/es/form/FormItemLabel.js +0 -49
- package/es/form/FormList.d.ts +0 -25
- package/es/form/FormList.js +0 -40
- package/es/form/context.d.ts +0 -52
- package/es/form/context.js +0 -1
- package/es/form/hooks/useChildren.d.ts +0 -2
- package/es/form/hooks/useChildren.js +0 -1
- package/es/form/hooks/useDebounce.d.ts +0 -1
- package/es/form/hooks/useDebounce.js +0 -1
- package/es/form/hooks/useForm.d.ts +0 -8
- package/es/form/hooks/useForm.js +0 -1
- package/es/form/hooks/useFormInstance.d.ts +0 -2
- package/es/form/hooks/useFormInstance.js +0 -1
- package/es/form/hooks/useFormItemStatus.d.ts +0 -9
- package/es/form/hooks/useFormItemStatus.js +0 -1
- package/es/form/hooks/useFormWarning.d.ts +0 -2
- package/es/form/hooks/useFormWarning.js +0 -1
- package/es/form/hooks/useFrameState.d.ts +0 -3
- package/es/form/hooks/useFrameState.js +0 -1
- package/es/form/hooks/useItemRef.d.ts +0 -3
- package/es/form/hooks/useItemRef.js +0 -1
- package/es/form/hooks/useVariants.d.ts +0 -7
- package/es/form/hooks/useVariants.js +0 -40
- package/es/form/index.d.ts +0 -26
- package/es/form/index.js +0 -59
- package/es/form/interface.d.ts +0 -3
- package/es/form/interface.js +0 -0
- package/es/form/style/explain.d.ts +0 -4
- package/es/form/style/explain.js +0 -3
- package/es/form/style/fallbackCmp.d.ts +0 -6
- package/es/form/style/fallbackCmp.js +0 -45
- package/es/form/style/index.d.ts +0 -74
- package/es/form/style/index.js +0 -45
- package/es/form/util.d.ts +0 -9
- package/es/form/util.js +0 -1
- package/es/form/validateMessagesContext.d.ts +0 -3
- package/es/form/validateMessagesContext.js +0 -1
- package/es/form-area/ValidateTooltip.d.ts +0 -12
- package/es/form-area/ValidateTooltip.js +0 -353
- package/es/form-area/index.d.ts +0 -4
- package/es/form-area/index.js +0 -353
- package/es/form-area/renderItemMap.d.ts +0 -45
- package/es/form-area/renderItemMap.js +0 -353
- package/es/form-area/type.d.ts +0 -160
- package/es/form-area/type.js +0 -0
- package/es/grid/RowContext.d.ts +0 -6
- package/es/grid/RowContext.js +0 -1
- package/es/grid/col.d.ts +0 -29
- package/es/grid/col.js +0 -40
- package/es/grid/hooks/useBreakpoint.d.ts +0 -3
- package/es/grid/hooks/useBreakpoint.js +0 -35
- package/es/grid/index.d.ts +0 -10
- package/es/grid/index.js +0 -40
- package/es/grid/row.d.ts +0 -20
- package/es/grid/row.js +0 -40
- package/es/grid/style/index.d.ts +0 -7
- package/es/grid/style/index.js +0 -35
- package/es/hooks/index.d.ts +0 -5
- package/es/hooks/index.js +0 -353
- package/es/hooks/useDrawer.d.ts +0 -10
- package/es/hooks/useDrawer.js +0 -1
- package/es/hooks/useForm.d.ts +0 -36
- package/es/hooks/useForm.js +0 -353
- package/es/hooks/useModal.d.ts +0 -10
- package/es/hooks/useModal.js +0 -1
- package/es/hooks/useParsedHash.d.ts +0 -7
- package/es/hooks/useParsedHash.js +0 -1
- package/es/hooks/useUrlState.d.ts +0 -9
- package/es/hooks/useUrlState.js +0 -1
- package/es/icon/index.d.ts +0 -2
- package/es/icon/index.js +0 -1
- package/es/image/PreviewGroup.d.ts +0 -15
- package/es/image/PreviewGroup.js +0 -54
- package/es/image/index.d.ts +0 -9
- package/es/image/index.js +0 -54
- package/es/image/style/index.d.ts +0 -59
- package/es/image/style/index.js +0 -49
- package/es/index.d.ts +0 -151
- package/es/index.js +0 -356
- package/es/input/Group.d.ts +0 -15
- package/es/input/Group.js +0 -58
- package/es/input/Input.d.ts +0 -25
- package/es/input/Input.js +0 -58
- package/es/input/OTP/OTPInput.d.ts +0 -11
- package/es/input/OTP/OTPInput.js +0 -58
- package/es/input/OTP/index.d.ts +0 -29
- package/es/input/OTP/index.js +0 -58
- package/es/input/Password.d.ts +0 -14
- package/es/input/Password.js +0 -58
- package/es/input/Search.d.ts +0 -12
- package/es/input/Search.js +0 -65
- package/es/input/TextArea.d.ts +0 -25
- package/es/input/TextArea.js +0 -58
- package/es/input/hooks/useRemovePasswordTimeout.d.ts +0 -2
- package/es/input/hooks/useRemovePasswordTimeout.js +0 -1
- package/es/input/index.d.ts +0 -20
- package/es/input/index.js +0 -65
- package/es/input/style/index.d.ts +0 -17
- package/es/input/style/index.js +0 -53
- package/es/input/style/otp.d.ts +0 -2
- package/es/input/style/otp.js +0 -35
- package/es/input/style/token.d.ts +0 -97
- package/es/input/style/token.js +0 -35
- package/es/input/style/variants.d.ts +0 -15
- package/es/input/style/variants.js +0 -35
- package/es/input/utils.d.ts +0 -8
- package/es/input/utils.js +0 -1
- package/es/input-number/index.d.ts +0 -34
- package/es/input-number/index.js +0 -70
- package/es/input-number/style/index.d.ts +0 -18
- package/es/input-number/style/index.js +0 -65
- package/es/input-number/style/token.d.ts +0 -52
- package/es/input-number/style/token.js +0 -35
- package/es/layout/Sider.d.ts +0 -28
- package/es/layout/Sider.js +0 -40
- package/es/layout/context.d.ts +0 -8
- package/es/layout/context.js +0 -1
- package/es/layout/hooks/useHasSider.d.ts +0 -2
- package/es/layout/hooks/useHasSider.js +0 -40
- package/es/layout/index.d.ts +0 -15
- package/es/layout/index.js +0 -40
- package/es/layout/layout.d.ts +0 -18
- package/es/layout/layout.js +0 -40
- package/es/layout/style/index.d.ts +0 -96
- package/es/layout/style/index.js +0 -35
- package/es/layout/style/sider.d.ts +0 -2
- package/es/layout/style/sider.js +0 -35
- package/es/list/Item.d.ts +0 -35
- package/es/list/Item.js +0 -40
- package/es/list/context.d.ts +0 -8
- package/es/list/context.js +0 -1
- package/es/list/index.d.ts +0 -56
- package/es/list/index.js +0 -111
- package/es/list/style/index.d.ts +0 -62
- package/es/list/style/index.js +0 -35
- package/es/locale/ar_EG.d.ts +0 -3
- package/es/locale/ar_EG.js +0 -1
- package/es/locale/az_AZ.d.ts +0 -3
- package/es/locale/az_AZ.js +0 -1
- package/es/locale/bg_BG.d.ts +0 -3
- package/es/locale/bg_BG.js +0 -1
- package/es/locale/bn_BD.d.ts +0 -3
- package/es/locale/bn_BD.js +0 -1
- package/es/locale/by_BY.d.ts +0 -3
- package/es/locale/by_BY.js +0 -1
- package/es/locale/ca_ES.d.ts +0 -3
- package/es/locale/ca_ES.js +0 -1
- package/es/locale/context.d.ts +0 -6
- package/es/locale/context.js +0 -1
- package/es/locale/cs_CZ.d.ts +0 -3
- package/es/locale/cs_CZ.js +0 -1
- package/es/locale/da_DK.d.ts +0 -3
- package/es/locale/da_DK.js +0 -1
- package/es/locale/de_DE.d.ts +0 -3
- package/es/locale/de_DE.js +0 -1
- package/es/locale/el_GR.d.ts +0 -3
- package/es/locale/el_GR.js +0 -1
- package/es/locale/en_GB.d.ts +0 -3
- package/es/locale/en_GB.js +0 -1
- package/es/locale/en_US.d.ts +0 -3
- package/es/locale/en_US.js +0 -1
- package/es/locale/es_ES.d.ts +0 -3
- package/es/locale/es_ES.js +0 -1
- package/es/locale/et_EE.d.ts +0 -3
- package/es/locale/et_EE.js +0 -1
- package/es/locale/eu_ES.d.ts +0 -3
- package/es/locale/eu_ES.js +0 -1
- package/es/locale/fa_IR.d.ts +0 -3
- package/es/locale/fa_IR.js +0 -1
- package/es/locale/fi_FI.d.ts +0 -3
- package/es/locale/fi_FI.js +0 -1
- package/es/locale/fr_BE.d.ts +0 -3
- package/es/locale/fr_BE.js +0 -1
- package/es/locale/fr_CA.d.ts +0 -3
- package/es/locale/fr_CA.js +0 -1
- package/es/locale/fr_FR.d.ts +0 -3
- package/es/locale/fr_FR.js +0 -1
- package/es/locale/ga_IE.d.ts +0 -3
- package/es/locale/ga_IE.js +0 -1
- package/es/locale/gl_ES.d.ts +0 -3
- package/es/locale/gl_ES.js +0 -1
- package/es/locale/he_IL.d.ts +0 -3
- package/es/locale/he_IL.js +0 -1
- package/es/locale/hi_IN.d.ts +0 -3
- package/es/locale/hi_IN.js +0 -1
- package/es/locale/hr_HR.d.ts +0 -3
- package/es/locale/hr_HR.js +0 -1
- package/es/locale/hu_HU.d.ts +0 -3
- package/es/locale/hu_HU.js +0 -1
- package/es/locale/hy_AM.d.ts +0 -3
- package/es/locale/hy_AM.js +0 -2
- package/es/locale/id_ID.d.ts +0 -3
- package/es/locale/id_ID.js +0 -1
- package/es/locale/index.d.ts +0 -61
- package/es/locale/index.js +0 -1
- package/es/locale/is_IS.d.ts +0 -3
- package/es/locale/is_IS.js +0 -1
- package/es/locale/it_IT.d.ts +0 -3
- package/es/locale/it_IT.js +0 -1
- package/es/locale/ja_JP.d.ts +0 -3
- package/es/locale/ja_JP.js +0 -1
- package/es/locale/ka_GE.d.ts +0 -3
- package/es/locale/ka_GE.js +0 -1
- package/es/locale/kk_KZ.d.ts +0 -3
- package/es/locale/kk_KZ.js +0 -1
- package/es/locale/km_KH.d.ts +0 -3
- package/es/locale/km_KH.js +0 -1
- package/es/locale/kmr_IQ.d.ts +0 -3
- package/es/locale/kmr_IQ.js +0 -1
- package/es/locale/kn_IN.d.ts +0 -3
- package/es/locale/kn_IN.js +0 -1
- package/es/locale/ko_KR.d.ts +0 -3
- package/es/locale/ko_KR.js +0 -1
- package/es/locale/ku_IQ.d.ts +0 -3
- package/es/locale/ku_IQ.js +0 -1
- package/es/locale/lt_LT.d.ts +0 -3
- package/es/locale/lt_LT.js +0 -1
- package/es/locale/lv_LV.d.ts +0 -3
- package/es/locale/lv_LV.js +0 -1
- package/es/locale/mk_MK.d.ts +0 -3
- package/es/locale/mk_MK.js +0 -1
- package/es/locale/ml_IN.d.ts +0 -3
- package/es/locale/ml_IN.js +0 -1
- package/es/locale/mn_MN.d.ts +0 -3
- package/es/locale/mn_MN.js +0 -1
- package/es/locale/ms_MY.d.ts +0 -3
- package/es/locale/ms_MY.js +0 -1
- package/es/locale/my_MM.d.ts +0 -3
- package/es/locale/my_MM.js +0 -1
- package/es/locale/nb_NO.d.ts +0 -3
- package/es/locale/nb_NO.js +0 -1
- package/es/locale/ne_NP.d.ts +0 -3
- package/es/locale/ne_NP.js +0 -1
- package/es/locale/nl_BE.d.ts +0 -3
- package/es/locale/nl_BE.js +0 -1
- package/es/locale/nl_NL.d.ts +0 -3
- package/es/locale/nl_NL.js +0 -1
- package/es/locale/pl_PL.d.ts +0 -3
- package/es/locale/pl_PL.js +0 -1
- package/es/locale/pt_BR.d.ts +0 -3
- package/es/locale/pt_BR.js +0 -1
- package/es/locale/pt_PT.d.ts +0 -3
- package/es/locale/pt_PT.js +0 -1
- package/es/locale/ro_RO.d.ts +0 -3
- package/es/locale/ro_RO.js +0 -1
- package/es/locale/ru_RU.d.ts +0 -3
- package/es/locale/ru_RU.js +0 -1
- package/es/locale/si_LK.d.ts +0 -3
- package/es/locale/si_LK.js +0 -1
- package/es/locale/sk_SK.d.ts +0 -3
- package/es/locale/sk_SK.js +0 -1
- package/es/locale/sl_SI.d.ts +0 -3
- package/es/locale/sl_SI.js +0 -1
- package/es/locale/sr_RS.d.ts +0 -3
- package/es/locale/sr_RS.js +0 -1
- package/es/locale/sv_SE.d.ts +0 -3
- package/es/locale/sv_SE.js +0 -1
- package/es/locale/ta_IN.d.ts +0 -3
- package/es/locale/ta_IN.js +0 -1
- package/es/locale/th_TH.d.ts +0 -3
- package/es/locale/th_TH.js +0 -1
- package/es/locale/tk_TK.d.ts +0 -3
- package/es/locale/tk_TK.js +0 -1
- package/es/locale/tr_TR.d.ts +0 -3
- package/es/locale/tr_TR.js +0 -1
- package/es/locale/uk_UA.d.ts +0 -3
- package/es/locale/uk_UA.js +0 -1
- package/es/locale/ur_PK.d.ts +0 -3
- package/es/locale/ur_PK.js +0 -1
- package/es/locale/useLocale.d.ts +0 -4
- package/es/locale/useLocale.js +0 -1
- package/es/locale/uz_UZ.d.ts +0 -3
- package/es/locale/uz_UZ.js +0 -1
- package/es/locale/vi_VN.d.ts +0 -3
- package/es/locale/vi_VN.js +0 -1
- package/es/locale/zh_CN.d.ts +0 -3
- package/es/locale/zh_CN.js +0 -1
- package/es/locale/zh_HK.d.ts +0 -3
- package/es/locale/zh_HK.js +0 -1
- package/es/locale/zh_TW.d.ts +0 -3
- package/es/locale/zh_TW.js +0 -1
- package/es/mentions/index.d.ts +0 -45
- package/es/mentions/index.js +0 -58
- package/es/mentions/style/index.d.ts +0 -22
- package/es/mentions/style/index.js +0 -53
- package/es/menu/MenuContext.d.ts +0 -11
- package/es/menu/MenuContext.js +0 -1
- package/es/menu/MenuDivider.d.ts +0 -9
- package/es/menu/MenuDivider.js +0 -40
- package/es/menu/MenuItem.d.ts +0 -13
- package/es/menu/MenuItem.js +0 -49
- package/es/menu/OverrideContext.d.ts +0 -13
- package/es/menu/OverrideContext.js +0 -40
- package/es/menu/SubMenu.d.ts +0 -13
- package/es/menu/SubMenu.js +0 -35
- package/es/menu/index.d.ts +0 -32
- package/es/menu/index.js +0 -66
- package/es/menu/interface.d.ts +0 -20
- package/es/menu/interface.js +0 -0
- package/es/menu/menu.d.ts +0 -19
- package/es/menu/menu.js +0 -66
- package/es/menu/style/horizontal.d.ts +0 -4
- package/es/menu/style/horizontal.js +0 -3
- package/es/menu/style/index.d.ts +0 -354
- package/es/menu/style/index.js +0 -61
- package/es/menu/style/rtl.d.ts +0 -5
- package/es/menu/style/rtl.js +0 -2
- package/es/menu/style/theme.d.ts +0 -4
- package/es/menu/style/theme.js +0 -1
- package/es/menu/style/vertical.d.ts +0 -4
- package/es/menu/style/vertical.js +0 -9
- package/es/message/PurePanel.d.ts +0 -23
- package/es/message/PurePanel.js +0 -47
- package/es/message/index.d.ts +0 -23
- package/es/message/index.js +0 -47
- package/es/message/interface.d.ts +0 -66
- package/es/message/interface.js +0 -0
- package/es/message/style/index.d.ts +0 -23
- package/es/message/style/index.js +0 -42
- package/es/message/useMessage.d.ts +0 -8
- package/es/message/useMessage.js +0 -47
- package/es/message/util.d.ts +0 -4
- package/es/message/util.js +0 -1
- package/es/modal/ConfirmDialog.d.ts +0 -32
- package/es/modal/ConfirmDialog.js +0 -69
- package/es/modal/Modal.d.ts +0 -4
- package/es/modal/Modal.js +0 -68
- package/es/modal/PurePanel.d.ts +0 -9
- package/es/modal/PurePanel.js +0 -69
- package/es/modal/components/ConfirmCancelBtn.d.ts +0 -10
- package/es/modal/components/ConfirmCancelBtn.js +0 -47
- package/es/modal/components/ConfirmOkBtn.d.ts +0 -9
- package/es/modal/components/ConfirmOkBtn.js +0 -47
- package/es/modal/components/NormalCancelBtn.d.ts +0 -8
- package/es/modal/components/NormalCancelBtn.js +0 -47
- package/es/modal/components/NormalOkBtn.d.ts +0 -8
- package/es/modal/components/NormalOkBtn.js +0 -47
- package/es/modal/confirm.d.ts +0 -20
- package/es/modal/confirm.js +0 -69
- package/es/modal/context.d.ts +0 -8
- package/es/modal/context.js +0 -1
- package/es/modal/destroyFns.d.ts +0 -2
- package/es/modal/destroyFns.js +0 -1
- package/es/modal/index.d.ts +0 -15
- package/es/modal/index.js +0 -69
- package/es/modal/interface.d.ts +0 -123
- package/es/modal/interface.js +0 -0
- package/es/modal/locale.d.ts +0 -7
- package/es/modal/locale.js +0 -1
- package/es/modal/shared.d.ts +0 -9
- package/es/modal/shared.js +0 -47
- package/es/modal/style/confirm.d.ts +0 -2
- package/es/modal/style/confirm.js +0 -50
- package/es/modal/style/index.d.ts +0 -110
- package/es/modal/style/index.js +0 -49
- package/es/modal/useModal/HookModal.d.ts +0 -17
- package/es/modal/useModal/HookModal.js +0 -69
- package/es/modal/useModal/index.d.ts +0 -8
- package/es/modal/useModal/index.js +0 -69
- package/es/notification/PurePanel.d.ts +0 -27
- package/es/notification/PurePanel.js +0 -40
- package/es/notification/index.d.ts +0 -22
- package/es/notification/index.js +0 -40
- package/es/notification/interface.d.ts +0 -68
- package/es/notification/interface.js +0 -1
- package/es/notification/style/index.d.ts +0 -89
- package/es/notification/style/index.js +0 -35
- package/es/notification/style/placement.d.ts +0 -5
- package/es/notification/style/placement.js +0 -1
- package/es/notification/style/pure-panel.d.ts +0 -2
- package/es/notification/style/pure-panel.js +0 -35
- package/es/notification/style/stack.d.ts +0 -4
- package/es/notification/style/stack.js +0 -1
- package/es/notification/useNotification.d.ts +0 -8
- package/es/notification/useNotification.js +0 -40
- package/es/notification/util.d.ts +0 -5
- package/es/notification/util.js +0 -1
- package/es/pagination/Pagination.d.ts +0 -25
- package/es/pagination/Pagination.js +0 -111
- package/es/pagination/index.d.ts +0 -3
- package/es/pagination/index.js +0 -111
- package/es/pagination/style/bordered.d.ts +0 -2
- package/es/pagination/style/bordered.js +0 -68
- package/es/pagination/style/index.d.ts +0 -99
- package/es/pagination/style/index.js +0 -68
- package/es/pagination/useShowSizeChanger.d.ts +0 -3
- package/es/pagination/useShowSizeChanger.js +0 -1
- package/es/popconfirm/PurePanel.d.ts +0 -20
- package/es/popconfirm/PurePanel.js +0 -56
- package/es/popconfirm/index.d.ts +0 -30
- package/es/popconfirm/index.js +0 -56
- package/es/popconfirm/style/index.d.ts +0 -17
- package/es/popconfirm/style/index.js +0 -35
- package/es/popover/PurePanel.d.ts +0 -17
- package/es/popover/PurePanel.js +0 -49
- package/es/popover/index.d.ts +0 -15
- package/es/popover/index.js +0 -49
- package/es/popover/style/index.d.ts +0 -46
- package/es/popover/style/index.js +0 -44
- package/es/progress/Circle.d.ts +0 -10
- package/es/progress/Circle.js +0 -49
- package/es/progress/Line.d.ts +0 -36
- package/es/progress/Line.js +0 -35
- package/es/progress/Steps.d.ts +0 -9
- package/es/progress/Steps.js +0 -1
- package/es/progress/index.d.ts +0 -3
- package/es/progress/index.js +0 -49
- package/es/progress/progress.d.ts +0 -58
- package/es/progress/progress.js +0 -49
- package/es/progress/style/index.d.ts +0 -38
- package/es/progress/style/index.js +0 -35
- package/es/progress/utils.d.ts +0 -10
- package/es/progress/utils.js +0 -1
- package/es/qr-code/QrcodeStatus.d.ts +0 -11
- package/es/qr-code/QrcodeStatus.js +0 -47
- package/es/qr-code/index.d.ts +0 -4
- package/es/qr-code/index.js +0 -47
- package/es/qr-code/interface.d.ts +0 -29
- package/es/qr-code/interface.js +0 -0
- package/es/qr-code/style/index.d.ts +0 -6
- package/es/qr-code/style/index.js +0 -35
- package/es/qrcode/index.d.ts +0 -2
- package/es/qrcode/index.js +0 -47
- package/es/qrcode/interface.d.ts +0 -1
- package/es/qrcode/interface.js +0 -0
- package/es/qrcode/style/index.d.ts +0 -1
- package/es/qrcode/style/index.js +0 -35
- package/es/radio/context.d.ts +0 -7
- package/es/radio/context.js +0 -1
- package/es/radio/group.d.ts +0 -4
- package/es/radio/group.js +0 -41
- package/es/radio/index.d.ts +0 -11
- package/es/radio/index.js +0 -41
- package/es/radio/interface.d.ts +0 -43
- package/es/radio/interface.js +0 -0
- package/es/radio/radio.d.ts +0 -4
- package/es/radio/radio.js +0 -41
- package/es/radio/radioButton.d.ts +0 -6
- package/es/radio/radioButton.js +0 -41
- package/es/radio/style/index.d.ts +0 -76
- package/es/radio/style/index.js +0 -36
- package/es/rate/index.d.ts +0 -8
- package/es/rate/index.js +0 -49
- package/es/rate/style/index.d.ts +0 -27
- package/es/rate/style/index.js +0 -35
- package/es/result/index.d.ts +0 -33
- package/es/result/index.js +0 -40
- package/es/result/noFound.d.ts +0 -3
- package/es/result/noFound.js +0 -1
- package/es/result/serverError.d.ts +0 -3
- package/es/result/serverError.js +0 -1
- package/es/result/style/index.d.ts +0 -27
- package/es/result/style/index.js +0 -35
- package/es/result/unauthorized.d.ts +0 -3
- package/es/result/unauthorized.js +0 -1
- package/es/row/index.d.ts +0 -4
- package/es/row/index.js +0 -40
- package/es/row/style/index.d.ts +0 -2
- package/es/row/style/index.js +0 -1
- package/es/search-area/index.d.ts +0 -5
- package/es/search-area/index.js +0 -353
- package/es/search-area/style/index.d.ts +0 -2
- package/es/search-area/style/index.js +0 -1
- package/es/segmented/index.d.ts +0 -26
- package/es/segmented/index.js +0 -40
- package/es/segmented/style/index.d.ts +0 -46
- package/es/segmented/style/index.js +0 -35
- package/es/select/index.d.ts +0 -57
- package/es/select/index.js +0 -78
- package/es/select/mergedBuiltinPlacements.d.ts +0 -4
- package/es/select/mergedBuiltinPlacements.js +0 -1
- package/es/select/style/dropdown.d.ts +0 -4
- package/es/select/style/dropdown.js +0 -24
- package/es/select/style/index.d.ts +0 -4
- package/es/select/style/index.js +0 -73
- package/es/select/style/multiple.d.ts +0 -32
- package/es/select/style/multiple.js +0 -40
- package/es/select/style/single.d.ts +0 -3
- package/es/select/style/single.js +0 -45
- package/es/select/style/token.d.ts +0 -138
- package/es/select/style/token.js +0 -1
- package/es/select/style/variants.d.ts +0 -4
- package/es/select/style/variants.js +0 -1
- package/es/select/useIcons.d.ts +0 -26
- package/es/select/useIcons.js +0 -1
- package/es/select/useShowArrow.d.ts +0 -8
- package/es/select/useShowArrow.js +0 -1
- package/es/skeleton/Avatar.d.ts +0 -7
- package/es/skeleton/Avatar.js +0 -47
- package/es/skeleton/Button.d.ts +0 -8
- package/es/skeleton/Button.js +0 -47
- package/es/skeleton/Element.d.ts +0 -12
- package/es/skeleton/Element.js +0 -1
- package/es/skeleton/Image.d.ts +0 -6
- package/es/skeleton/Image.js +0 -48
- package/es/skeleton/Input.d.ts +0 -8
- package/es/skeleton/Input.js +0 -47
- package/es/skeleton/Node.d.ts +0 -8
- package/es/skeleton/Node.js +0 -47
- package/es/skeleton/Paragraph.d.ts +0 -11
- package/es/skeleton/Paragraph.js +0 -1
- package/es/skeleton/Skeleton.d.ts +0 -32
- package/es/skeleton/Skeleton.js +0 -48
- package/es/skeleton/Title.d.ts +0 -9
- package/es/skeleton/Title.js +0 -1
- package/es/skeleton/index.d.ts +0 -3
- package/es/skeleton/index.js +0 -48
- package/es/skeleton/style/index.d.ts +0 -40
- package/es/skeleton/style/index.js +0 -42
- package/es/slider/Context.d.ts +0 -9
- package/es/slider/Context.js +0 -1
- package/es/slider/SliderTooltip.d.ts +0 -8
- package/es/slider/SliderTooltip.js +0 -49
- package/es/slider/index.d.ts +0 -97
- package/es/slider/index.js +0 -61
- package/es/slider/style/index.d.ts +0 -97
- package/es/slider/style/index.js +0 -47
- package/es/slider/useRafLock.d.ts +0 -1
- package/es/slider/useRafLock.js +0 -1
- package/es/space/Compact.d.ts +0 -25
- package/es/space/Compact.js +0 -40
- package/es/space/Item.d.ts +0 -10
- package/es/space/Item.js +0 -1
- package/es/space/context.d.ts +0 -6
- package/es/space/context.js +0 -1
- package/es/space/index.d.ts +0 -28
- package/es/space/index.js +0 -40
- package/es/space/style/compact.d.ts +0 -8
- package/es/space/style/compact.js +0 -1
- package/es/space/style/index.d.ts +0 -7
- package/es/space/style/index.js +0 -35
- package/es/spin/Indicator/Looper.d.ts +0 -6
- package/es/spin/Indicator/Looper.js +0 -1
- package/es/spin/Indicator/Progress.d.ts +0 -7
- package/es/spin/Indicator/Progress.js +0 -1
- package/es/spin/Indicator/index.d.ts +0 -7
- package/es/spin/Indicator/index.js +0 -1
- package/es/spin/index.d.ts +0 -36
- package/es/spin/index.js +0 -40
- package/es/spin/style/index.d.ts +0 -26
- package/es/spin/style/index.js +0 -35
- package/es/spin/usePercent.d.ts +0 -1
- package/es/spin/usePercent.js +0 -1
- package/es/splitter/Panel.d.ts +0 -7
- package/es/splitter/Panel.js +0 -1
- package/es/splitter/SplitBar.d.ts +0 -19
- package/es/splitter/SplitBar.js +0 -1
- package/es/splitter/Splitter.d.ts +0 -4
- package/es/splitter/Splitter.js +0 -40
- package/es/splitter/hooks/useItems.d.ts +0 -12
- package/es/splitter/hooks/useItems.js +0 -1
- package/es/splitter/hooks/useResizable.d.ts +0 -7
- package/es/splitter/hooks/useResizable.js +0 -1
- package/es/splitter/hooks/useResize.d.ts +0 -6
- package/es/splitter/hooks/useResize.js +0 -1
- package/es/splitter/hooks/useSizes.d.ts +0 -8
- package/es/splitter/hooks/useSizes.js +0 -1
- package/es/splitter/index.d.ts +0 -8
- package/es/splitter/index.js +0 -40
- package/es/splitter/interface.d.ts +0 -64
- package/es/splitter/interface.js +0 -0
- package/es/splitter/style/index.d.ts +0 -27
- package/es/splitter/style/index.js +0 -35
- package/es/statistic/Countdown.d.ts +0 -10
- package/es/statistic/Countdown.js +0 -48
- package/es/statistic/Number.d.ts +0 -8
- package/es/statistic/Number.js +0 -1
- package/es/statistic/Statistic.d.ts +0 -21
- package/es/statistic/Statistic.js +0 -48
- package/es/statistic/index.d.ts +0 -11
- package/es/statistic/index.js +0 -48
- package/es/statistic/interface.d.ts +0 -0
- package/es/statistic/interface.js +0 -0
- package/es/statistic/style/index.d.ts +0 -16
- package/es/statistic/style/index.js +0 -35
- package/es/statistic/utils.d.ts +0 -15
- package/es/statistic/utils.js +0 -1
- package/es/steps/index.d.ts +0 -39
- package/es/steps/index.js +0 -49
- package/es/steps/style/custom-icon.d.ts +0 -5
- package/es/steps/style/custom-icon.js +0 -1
- package/es/steps/style/horizontal.d.ts +0 -5
- package/es/steps/style/horizontal.js +0 -1
- package/es/steps/style/index.d.ts +0 -102
- package/es/steps/style/index.js +0 -35
- package/es/steps/style/inline.d.ts +0 -5
- package/es/steps/style/inline.js +0 -1
- package/es/steps/style/label-placement.d.ts +0 -5
- package/es/steps/style/label-placement.js +0 -1
- package/es/steps/style/nav.d.ts +0 -5
- package/es/steps/style/nav.js +0 -1
- package/es/steps/style/progress-dot.d.ts +0 -5
- package/es/steps/style/progress-dot.js +0 -1
- package/es/steps/style/progress.d.ts +0 -5
- package/es/steps/style/progress.js +0 -1
- package/es/steps/style/rtl.d.ts +0 -5
- package/es/steps/style/rtl.js +0 -1
- package/es/steps/style/small.d.ts +0 -5
- package/es/steps/style/small.js +0 -1
- package/es/steps/style/vertical.d.ts +0 -5
- package/es/steps/style/vertical.js +0 -1
- package/es/steps/useLegacyItems.d.ts +0 -3
- package/es/steps/useLegacyItems.js +0 -1
- package/es/style/compact-item-vertical.d.ts +0 -3
- package/es/style/compact-item-vertical.js +0 -1
- package/es/style/compact-item.d.ts +0 -17
- package/es/style/compact-item.js +0 -1
- package/es/style/index.d.ts +0 -12
- package/es/style/index.js +0 -1
- package/es/style/motion/collapse.d.ts +0 -3
- package/es/style/motion/collapse.js +0 -3
- package/es/style/motion/fade.d.ts +0 -6
- package/es/style/motion/fade.js +0 -10
- package/es/style/motion/index.d.ts +0 -6
- package/es/style/motion/index.js +0 -21
- package/es/style/motion/motion.d.ts +0 -2
- package/es/style/motion/motion.js +0 -7
- package/es/style/motion/move.d.ts +0 -14
- package/es/style/motion/move.js +0 -10
- package/es/style/motion/slide.d.ts +0 -14
- package/es/style/motion/slide.js +0 -10
- package/es/style/motion/zoom.d.ts +0 -18
- package/es/style/motion/zoom.js +0 -10
- package/es/style/placementArrow.d.ts +0 -19
- package/es/style/placementArrow.js +0 -1
- package/es/style/roundedArrow.d.ts +0 -7
- package/es/style/roundedArrow.js +0 -1
- package/es/switch/index.d.ts +0 -37
- package/es/switch/index.js +0 -40
- package/es/switch/style/index.d.ts +0 -71
- package/es/switch/style/index.js +0 -35
- package/es/table/Column.d.ts +0 -8
- package/es/table/Column.js +0 -1
- package/es/table/ColumnGroup.d.ts +0 -10
- package/es/table/ColumnGroup.js +0 -1
- package/es/table/ExpandIcon.d.ts +0 -12
- package/es/table/ExpandIcon.js +0 -1
- package/es/table/InternalTable.d.ts +0 -32
- package/es/table/InternalTable.js +0 -216
- package/es/table/RcTable/VirtualTable.d.ts +0 -5
- package/es/table/RcTable/VirtualTable.js +0 -1
- package/es/table/RcTable/index.d.ts +0 -5
- package/es/table/RcTable/index.js +0 -1
- package/es/table/Table.d.ts +0 -17
- package/es/table/Table.js +0 -216
- package/es/table/hooks/useContainerWidth.d.ts +0 -1
- package/es/table/hooks/useContainerWidth.js +0 -1
- package/es/table/hooks/useFilter/FilterDropdown.d.ts +0 -31
- package/es/table/hooks/useFilter/FilterDropdown.js +0 -113
- package/es/table/hooks/useFilter/FilterSearch.d.ts +0 -12
- package/es/table/hooks/useFilter/FilterSearch.js +0 -65
- package/es/table/hooks/useFilter/FilterWrapper.d.ts +0 -8
- package/es/table/hooks/useFilter/FilterWrapper.js +0 -1
- package/es/table/hooks/useFilter/index.d.ts +0 -22
- package/es/table/hooks/useFilter/index.js +0 -113
- package/es/table/hooks/useLazyKVMap.d.ts +0 -4
- package/es/table/hooks/useLazyKVMap.js +0 -1
- package/es/table/hooks/usePagination.d.ts +0 -5
- package/es/table/hooks/usePagination.js +0 -1
- package/es/table/hooks/useSelection.d.ts +0 -20
- package/es/table/hooks/useSelection.js +0 -95
- package/es/table/hooks/useSorter.d.ts +0 -19
- package/es/table/hooks/useSorter.js +0 -49
- package/es/table/hooks/useTitleColumns.d.ts +0 -4
- package/es/table/hooks/useTitleColumns.js +0 -1
- package/es/table/index.d.ts +0 -7
- package/es/table/index.js +0 -216
- package/es/table/interface.d.ts +0 -194
- package/es/table/interface.js +0 -1
- package/es/table/style/bordered.d.ts +0 -5
- package/es/table/style/bordered.js +0 -10
- package/es/table/style/ellipsis.d.ts +0 -5
- package/es/table/style/ellipsis.js +0 -4
- package/es/table/style/empty.d.ts +0 -5
- package/es/table/style/empty.js +0 -1
- package/es/table/style/expand.d.ts +0 -5
- package/es/table/style/expand.js +0 -1
- package/es/table/style/filter.d.ts +0 -4
- package/es/table/style/filter.js +0 -1
- package/es/table/style/fixed.d.ts +0 -5
- package/es/table/style/fixed.js +0 -21
- package/es/table/style/index.d.ts +0 -202
- package/es/table/style/index.js +0 -97
- package/es/table/style/pagination.d.ts +0 -5
- package/es/table/style/pagination.js +0 -1
- package/es/table/style/radius.d.ts +0 -5
- package/es/table/style/radius.js +0 -1
- package/es/table/style/rtl.d.ts +0 -5
- package/es/table/style/rtl.js +0 -1
- package/es/table/style/selection.d.ts +0 -5
- package/es/table/style/selection.js +0 -5
- package/es/table/style/size.d.ts +0 -5
- package/es/table/style/size.js +0 -10
- package/es/table/style/sorter.d.ts +0 -5
- package/es/table/style/sorter.js +0 -4
- package/es/table/style/sticky.d.ts +0 -5
- package/es/table/style/sticky.js +0 -1
- package/es/table/style/summary.d.ts +0 -5
- package/es/table/style/summary.js +0 -1
- package/es/table/style/virtual.d.ts +0 -5
- package/es/table/style/virtual.js +0 -4
- package/es/table/util.d.ts +0 -13
- package/es/table/util.js +0 -1
- package/es/tabs/TabPane.d.ts +0 -5
- package/es/tabs/TabPane.js +0 -1
- package/es/tabs/hooks/useAnimateConfig.d.ts +0 -3
- package/es/tabs/hooks/useAnimateConfig.js +0 -40
- package/es/tabs/hooks/useLegacyItems.d.ts +0 -4
- package/es/tabs/hooks/useLegacyItems.js +0 -1
- package/es/tabs/index.d.ts +0 -29
- package/es/tabs/index.js +0 -51
- package/es/tabs/style/index.d.ts +0 -136
- package/es/tabs/style/index.js +0 -46
- package/es/tabs/style/motion.d.ts +0 -4
- package/es/tabs/style/motion.js +0 -10
- package/es/tag/CheckableTag.d.ts +0 -17
- package/es/tag/CheckableTag.js +0 -40
- package/es/tag/index.d.ts +0 -27
- package/es/tag/index.js +0 -40
- package/es/tag/style/index.d.ts +0 -25
- package/es/tag/style/index.js +0 -35
- package/es/tag/style/presetCmp.d.ts +0 -2
- package/es/tag/style/presetCmp.js +0 -35
- package/es/tag/style/statusCmp.d.ts +0 -2
- package/es/tag/style/statusCmp.js +0 -35
- package/es/theme/context.d.ts +0 -31
- package/es/theme/context.js +0 -3
- package/es/theme/getDesignToken.d.ts +0 -4
- package/es/theme/getDesignToken.js +0 -35
- package/es/theme/index.d.ts +0 -35
- package/es/theme/index.js +0 -35
- package/es/theme/interface/alias.d.ts +0 -545
- package/es/theme/interface/alias.js +0 -0
- package/es/theme/interface/components.d.ts +0 -131
- package/es/theme/interface/components.js +0 -0
- package/es/theme/interface/cssinjs-utils.d.ts +0 -10
- package/es/theme/interface/cssinjs-utils.js +0 -0
- package/es/theme/interface/index.d.ts +0 -15
- package/es/theme/interface/index.js +0 -1
- package/es/theme/interface/maps/colors.d.ts +0 -530
- package/es/theme/interface/maps/colors.js +0 -0
- package/es/theme/interface/maps/font.d.ts +0 -117
- package/es/theme/interface/maps/font.js +0 -0
- package/es/theme/interface/maps/index.d.ts +0 -29
- package/es/theme/interface/maps/index.js +0 -0
- package/es/theme/interface/maps/size.d.ts +0 -69
- package/es/theme/interface/maps/size.js +0 -0
- package/es/theme/interface/maps/style.d.ts +0 -42
- package/es/theme/interface/maps/style.js +0 -0
- package/es/theme/interface/presetColors.d.ts +0 -11
- package/es/theme/interface/presetColors.js +0 -1
- package/es/theme/interface/seeds.d.ts +0 -225
- package/es/theme/interface/seeds.js +0 -0
- package/es/theme/internal.d.ts +0 -13
- package/es/theme/internal.js +0 -35
- package/es/theme/themes/ColorMap.d.ts +0 -15
- package/es/theme/themes/ColorMap.js +0 -0
- package/es/theme/themes/compact/genCompactSizeMapToken.d.ts +0 -2
- package/es/theme/themes/compact/genCompactSizeMapToken.js +0 -1
- package/es/theme/themes/compact/index.d.ts +0 -4
- package/es/theme/themes/compact/index.js +0 -1
- package/es/theme/themes/dark/colorAlgorithm.d.ts +0 -2
- package/es/theme/themes/dark/colorAlgorithm.js +0 -1
- package/es/theme/themes/dark/colors.d.ts +0 -3
- package/es/theme/themes/dark/colors.js +0 -1
- package/es/theme/themes/dark/index.d.ts +0 -4
- package/es/theme/themes/dark/index.js +0 -1
- package/es/theme/themes/default/colorAlgorithm.d.ts +0 -2
- package/es/theme/themes/default/colorAlgorithm.js +0 -1
- package/es/theme/themes/default/colors.d.ts +0 -3
- package/es/theme/themes/default/colors.js +0 -1
- package/es/theme/themes/default/index.d.ts +0 -2
- package/es/theme/themes/default/index.js +0 -1
- package/es/theme/themes/seed.d.ts +0 -4
- package/es/theme/themes/seed.js +0 -3
- package/es/theme/themes/shared/genColorMapToken.d.ts +0 -8
- package/es/theme/themes/shared/genColorMapToken.js +0 -1
- package/es/theme/themes/shared/genCommonMapToken.d.ts +0 -2
- package/es/theme/themes/shared/genCommonMapToken.js +0 -1
- package/es/theme/themes/shared/genControlHeight.d.ts +0 -3
- package/es/theme/themes/shared/genControlHeight.js +0 -1
- package/es/theme/themes/shared/genFontMapToken.d.ts +0 -3
- package/es/theme/themes/shared/genFontMapToken.js +0 -1
- package/es/theme/themes/shared/genFontSizes.d.ts +0 -5
- package/es/theme/themes/shared/genFontSizes.js +0 -1
- package/es/theme/themes/shared/genRadius.d.ts +0 -3
- package/es/theme/themes/shared/genRadius.js +0 -1
- package/es/theme/themes/shared/genSizeMapToken.d.ts +0 -2
- package/es/theme/themes/shared/genSizeMapToken.js +0 -1
- package/es/theme/useToken.d.ts +0 -19
- package/es/theme/useToken.js +0 -35
- package/es/theme/util/alias.d.ts +0 -12
- package/es/theme/util/alias.js +0 -35
- package/es/theme/util/genPresetColor.d.ts +0 -15
- package/es/theme/util/genPresetColor.js +0 -1
- package/es/theme/util/genStyleUtils.d.ts +0 -26
- package/es/theme/util/genStyleUtils.js +0 -35
- package/es/theme/util/getAlphaColor.d.ts +0 -2
- package/es/theme/util/getAlphaColor.js +0 -1
- package/es/theme/util/useResetIconStyle.d.ts +0 -3
- package/es/theme/util/useResetIconStyle.js +0 -35
- package/es/time-picker/index.d.ts +0 -30
- package/es/time-picker/index.js +0 -98
- package/es/time-picker/locale/ar_EG.d.ts +0 -3
- package/es/time-picker/locale/ar_EG.js +0 -1
- package/es/time-picker/locale/az_AZ.d.ts +0 -3
- package/es/time-picker/locale/az_AZ.js +0 -1
- package/es/time-picker/locale/bg_BG.d.ts +0 -3
- package/es/time-picker/locale/bg_BG.js +0 -1
- package/es/time-picker/locale/bn_BD.d.ts +0 -3
- package/es/time-picker/locale/bn_BD.js +0 -1
- package/es/time-picker/locale/by_BY.d.ts +0 -3
- package/es/time-picker/locale/by_BY.js +0 -1
- package/es/time-picker/locale/ca_ES.d.ts +0 -3
- package/es/time-picker/locale/ca_ES.js +0 -1
- package/es/time-picker/locale/cs_CZ.d.ts +0 -3
- package/es/time-picker/locale/cs_CZ.js +0 -1
- package/es/time-picker/locale/da_DK.d.ts +0 -3
- package/es/time-picker/locale/da_DK.js +0 -1
- package/es/time-picker/locale/de_DE.d.ts +0 -3
- package/es/time-picker/locale/de_DE.js +0 -1
- package/es/time-picker/locale/el_GR.d.ts +0 -3
- package/es/time-picker/locale/el_GR.js +0 -1
- package/es/time-picker/locale/en_GB.d.ts +0 -3
- package/es/time-picker/locale/en_GB.js +0 -1
- package/es/time-picker/locale/en_US.d.ts +0 -3
- package/es/time-picker/locale/en_US.js +0 -1
- package/es/time-picker/locale/es_ES.d.ts +0 -3
- package/es/time-picker/locale/es_ES.js +0 -1
- package/es/time-picker/locale/et_EE.d.ts +0 -3
- package/es/time-picker/locale/et_EE.js +0 -1
- package/es/time-picker/locale/eu_ES.d.ts +0 -3
- package/es/time-picker/locale/eu_ES.js +0 -1
- package/es/time-picker/locale/fa_IR.d.ts +0 -3
- package/es/time-picker/locale/fa_IR.js +0 -1
- package/es/time-picker/locale/fi_FI.d.ts +0 -3
- package/es/time-picker/locale/fi_FI.js +0 -1
- package/es/time-picker/locale/fr_BE.d.ts +0 -3
- package/es/time-picker/locale/fr_BE.js +0 -1
- package/es/time-picker/locale/fr_CA.d.ts +0 -3
- package/es/time-picker/locale/fr_CA.js +0 -1
- package/es/time-picker/locale/fr_FR.d.ts +0 -3
- package/es/time-picker/locale/fr_FR.js +0 -1
- package/es/time-picker/locale/ga_IE.d.ts +0 -3
- package/es/time-picker/locale/ga_IE.js +0 -1
- package/es/time-picker/locale/gl_ES.d.ts +0 -3
- package/es/time-picker/locale/gl_ES.js +0 -1
- package/es/time-picker/locale/he_IL.d.ts +0 -3
- package/es/time-picker/locale/he_IL.js +0 -1
- package/es/time-picker/locale/hi_IN.d.ts +0 -3
- package/es/time-picker/locale/hi_IN.js +0 -1
- package/es/time-picker/locale/hr_HR.d.ts +0 -3
- package/es/time-picker/locale/hr_HR.js +0 -1
- package/es/time-picker/locale/hu_HU.d.ts +0 -3
- package/es/time-picker/locale/hu_HU.js +0 -1
- package/es/time-picker/locale/id_ID.d.ts +0 -3
- package/es/time-picker/locale/id_ID.js +0 -1
- package/es/time-picker/locale/is_IS.d.ts +0 -3
- package/es/time-picker/locale/is_IS.js +0 -1
- package/es/time-picker/locale/it_IT.d.ts +0 -3
- package/es/time-picker/locale/it_IT.js +0 -1
- package/es/time-picker/locale/ja_JP.d.ts +0 -3
- package/es/time-picker/locale/ja_JP.js +0 -1
- package/es/time-picker/locale/ka_GE.d.ts +0 -3
- package/es/time-picker/locale/ka_GE.js +0 -1
- package/es/time-picker/locale/kk_KZ.d.ts +0 -3
- package/es/time-picker/locale/kk_KZ.js +0 -1
- package/es/time-picker/locale/km_KH.d.ts +0 -3
- package/es/time-picker/locale/km_KH.js +0 -1
- package/es/time-picker/locale/kmr_IQ.d.ts +0 -3
- package/es/time-picker/locale/kmr_IQ.js +0 -1
- package/es/time-picker/locale/kn_IN.d.ts +0 -3
- package/es/time-picker/locale/kn_IN.js +0 -1
- package/es/time-picker/locale/ko_KR.d.ts +0 -3
- package/es/time-picker/locale/ko_KR.js +0 -1
- package/es/time-picker/locale/lt_LT.d.ts +0 -3
- package/es/time-picker/locale/lt_LT.js +0 -1
- package/es/time-picker/locale/lv_LV.d.ts +0 -3
- package/es/time-picker/locale/lv_LV.js +0 -1
- package/es/time-picker/locale/mk_MK.d.ts +0 -3
- package/es/time-picker/locale/mk_MK.js +0 -1
- package/es/time-picker/locale/ml_IN.d.ts +0 -3
- package/es/time-picker/locale/ml_IN.js +0 -1
- package/es/time-picker/locale/mn_MN.d.ts +0 -3
- package/es/time-picker/locale/mn_MN.js +0 -1
- package/es/time-picker/locale/ms_MY.d.ts +0 -3
- package/es/time-picker/locale/ms_MY.js +0 -1
- package/es/time-picker/locale/my_MM.d.ts +0 -3
- package/es/time-picker/locale/my_MM.js +0 -1
- package/es/time-picker/locale/nb_NO.d.ts +0 -3
- package/es/time-picker/locale/nb_NO.js +0 -1
- package/es/time-picker/locale/nl_BE.d.ts +0 -3
- package/es/time-picker/locale/nl_BE.js +0 -1
- package/es/time-picker/locale/nl_NL.d.ts +0 -3
- package/es/time-picker/locale/nl_NL.js +0 -1
- package/es/time-picker/locale/pl_PL.d.ts +0 -3
- package/es/time-picker/locale/pl_PL.js +0 -1
- package/es/time-picker/locale/pt_BR.d.ts +0 -3
- package/es/time-picker/locale/pt_BR.js +0 -1
- package/es/time-picker/locale/pt_PT.d.ts +0 -3
- package/es/time-picker/locale/pt_PT.js +0 -1
- package/es/time-picker/locale/ro_RO.d.ts +0 -3
- package/es/time-picker/locale/ro_RO.js +0 -1
- package/es/time-picker/locale/ru_RU.d.ts +0 -4
- package/es/time-picker/locale/ru_RU.js +0 -1
- package/es/time-picker/locale/si_LK.d.ts +0 -3
- package/es/time-picker/locale/si_LK.js +0 -1
- package/es/time-picker/locale/sk_SK.d.ts +0 -3
- package/es/time-picker/locale/sk_SK.js +0 -1
- package/es/time-picker/locale/sl_SI.d.ts +0 -3
- package/es/time-picker/locale/sl_SI.js +0 -1
- package/es/time-picker/locale/sr_RS.d.ts +0 -3
- package/es/time-picker/locale/sr_RS.js +0 -1
- package/es/time-picker/locale/sv_SE.d.ts +0 -3
- package/es/time-picker/locale/sv_SE.js +0 -1
- package/es/time-picker/locale/ta_IN.d.ts +0 -3
- package/es/time-picker/locale/ta_IN.js +0 -1
- package/es/time-picker/locale/th_TH.d.ts +0 -3
- package/es/time-picker/locale/th_TH.js +0 -1
- package/es/time-picker/locale/tk_TK.d.ts +0 -3
- package/es/time-picker/locale/tk_TK.js +0 -1
- package/es/time-picker/locale/tr_TR.d.ts +0 -3
- package/es/time-picker/locale/tr_TR.js +0 -1
- package/es/time-picker/locale/uk_UA.d.ts +0 -3
- package/es/time-picker/locale/uk_UA.js +0 -1
- package/es/time-picker/locale/ur_PK.d.ts +0 -3
- package/es/time-picker/locale/ur_PK.js +0 -1
- package/es/time-picker/locale/uz_UZ.d.ts +0 -3
- package/es/time-picker/locale/uz_UZ.js +0 -1
- package/es/time-picker/locale/vi_VN.d.ts +0 -3
- package/es/time-picker/locale/vi_VN.js +0 -1
- package/es/time-picker/locale/zh_CN.d.ts +0 -3
- package/es/time-picker/locale/zh_CN.js +0 -1
- package/es/time-picker/locale/zh_TW.d.ts +0 -3
- package/es/time-picker/locale/zh_TW.js +0 -1
- package/es/timeline/Timeline.d.ts +0 -20
- package/es/timeline/Timeline.js +0 -48
- package/es/timeline/TimelineItem.d.ts +0 -20
- package/es/timeline/TimelineItem.js +0 -40
- package/es/timeline/TimelineItemList.d.ts +0 -7
- package/es/timeline/TimelineItemList.js +0 -40
- package/es/timeline/index.d.ts +0 -4
- package/es/timeline/index.js +0 -48
- package/es/timeline/style/index.d.ts +0 -31
- package/es/timeline/style/index.js +0 -43
- package/es/timeline/useItems.d.ts +0 -4
- package/es/timeline/useItems.js +0 -1
- package/es/tooltip/PurePanel.d.ts +0 -7
- package/es/tooltip/PurePanel.js +0 -49
- package/es/tooltip/index.d.ts +0 -80
- package/es/tooltip/index.js +0 -49
- package/es/tooltip/style/index.d.ts +0 -13
- package/es/tooltip/style/index.js +0 -44
- package/es/tooltip/util.d.ts +0 -6
- package/es/tooltip/util.js +0 -1
- package/es/tour/PurePanel.d.ts +0 -6
- package/es/tour/PurePanel.js +0 -56
- package/es/tour/index.d.ts +0 -7
- package/es/tour/index.js +0 -56
- package/es/tour/interface.d.ts +0 -31
- package/es/tour/interface.js +0 -0
- package/es/tour/panelRender.d.ts +0 -12
- package/es/tour/panelRender.js +0 -47
- package/es/tour/style/index.d.ts +0 -28
- package/es/tour/style/index.js +0 -35
- package/es/transfer/ListBody.d.ts +0 -17
- package/es/transfer/ListBody.js +0 -117
- package/es/transfer/ListItem.d.ts +0 -15
- package/es/transfer/ListItem.js +0 -46
- package/es/transfer/hooks/useData.d.ts +0 -5
- package/es/transfer/hooks/useData.js +0 -1
- package/es/transfer/hooks/useSelection.d.ts +0 -9
- package/es/transfer/hooks/useSelection.js +0 -1
- package/es/transfer/index.d.ts +0 -91
- package/es/transfer/index.js +0 -153
- package/es/transfer/interface.d.ts +0 -7
- package/es/transfer/interface.js +0 -0
- package/es/transfer/list.d.ts +0 -48
- package/es/transfer/list.js +0 -153
- package/es/transfer/operation.d.ts +0 -17
- package/es/transfer/operation.js +0 -47
- package/es/transfer/search.d.ts +0 -11
- package/es/transfer/search.js +0 -65
- package/es/transfer/style/index.d.ts +0 -36
- package/es/transfer/style/index.js +0 -35
- package/es/tree/DirectoryTree.d.ts +0 -16
- package/es/tree/DirectoryTree.js +0 -48
- package/es/tree/Tree.d.ts +0 -136
- package/es/tree/Tree.js +0 -48
- package/es/tree/index.d.ts +0 -16
- package/es/tree/index.js +0 -48
- package/es/tree/style/directory.d.ts +0 -3
- package/es/tree/style/directory.js +0 -1
- package/es/tree/style/index.d.ts +0 -57
- package/es/tree/style/index.js +0 -43
- package/es/tree/utils/dictUtil.d.ts +0 -13
- package/es/tree/utils/dictUtil.js +0 -1
- package/es/tree/utils/dropIndicator.d.ts +0 -11
- package/es/tree/utils/dropIndicator.js +0 -1
- package/es/tree/utils/iconUtil.d.ts +0 -13
- package/es/tree/utils/iconUtil.js +0 -1
- package/es/tree-select/index.d.ts +0 -61
- package/es/tree-select/index.js +0 -86
- package/es/tree-select/style/index.d.ts +0 -6
- package/es/tree-select/style/index.js +0 -43
- package/es/type/index.d.ts +0 -1
- package/es/type/index.js +0 -356
- package/es/typography/Base/CopyBtn.d.ts +0 -13
- package/es/typography/Base/CopyBtn.js +0 -49
- package/es/typography/Base/Ellipsis.d.ts +0 -18
- package/es/typography/Base/Ellipsis.js +0 -1
- package/es/typography/Base/EllipsisTooltip.d.ts +0 -10
- package/es/typography/Base/EllipsisTooltip.js +0 -49
- package/es/typography/Base/index.d.ts +0 -59
- package/es/typography/Base/index.js +0 -83
- package/es/typography/Base/util.d.ts +0 -10
- package/es/typography/Base/util.js +0 -1
- package/es/typography/Editable.d.ts +0 -20
- package/es/typography/Editable.js +0 -74
- package/es/typography/Link.d.ts +0 -7
- package/es/typography/Link.js +0 -83
- package/es/typography/Paragraph.d.ts +0 -6
- package/es/typography/Paragraph.js +0 -83
- package/es/typography/Text.d.ts +0 -7
- package/es/typography/Text.js +0 -83
- package/es/typography/Title.d.ts +0 -8
- package/es/typography/Title.js +0 -83
- package/es/typography/Typography.d.ts +0 -19
- package/es/typography/Typography.js +0 -56
- package/es/typography/hooks/useCopyClick.d.ts +0 -11
- package/es/typography/hooks/useCopyClick.js +0 -1
- package/es/typography/hooks/useMergedConfig.d.ts +0 -1
- package/es/typography/hooks/useMergedConfig.js +0 -1
- package/es/typography/hooks/usePrevious.d.ts +0 -2
- package/es/typography/hooks/usePrevious.js +0 -1
- package/es/typography/hooks/useTooltipProps.d.ts +0 -61
- package/es/typography/hooks/useTooltipProps.js +0 -1
- package/es/typography/index.d.ts +0 -13
- package/es/typography/index.js +0 -83
- package/es/typography/style/index.d.ts +0 -18
- package/es/typography/style/index.js +0 -51
- package/es/typography/style/mixins.d.ts +0 -9
- package/es/typography/style/mixins.js +0 -6
- package/es/upload/Dragger.d.ts +0 -10
- package/es/upload/Dragger.js +0 -80
- package/es/upload/Upload.d.ts +0 -23
- package/es/upload/Upload.js +0 -80
- package/es/upload/UploadList/ListItem.d.ts +0 -28
- package/es/upload/UploadList/ListItem.js +0 -49
- package/es/upload/UploadList/index.d.ts +0 -8
- package/es/upload/UploadList/index.js +0 -57
- package/es/upload/index.d.ts +0 -13
- package/es/upload/index.js +0 -80
- package/es/upload/interface.d.ts +0 -138
- package/es/upload/interface.js +0 -0
- package/es/upload/style/dragger.d.ts +0 -4
- package/es/upload/style/dragger.js +0 -7
- package/es/upload/style/index.d.ts +0 -16
- package/es/upload/style/index.js +0 -66
- package/es/upload/style/list.d.ts +0 -4
- package/es/upload/style/list.js +0 -4
- package/es/upload/style/motion.d.ts +0 -4
- package/es/upload/style/motion.js +0 -10
- package/es/upload/style/picture.d.ts +0 -5
- package/es/upload/style/picture.js +0 -12
- package/es/upload/style/rtl.d.ts +0 -4
- package/es/upload/style/rtl.js +0 -1
- package/es/upload/utils.d.ts +0 -8
- package/es/upload/utils.js +0 -2
- package/es/utils/common.d.ts +0 -32
- package/es/utils/common.js +0 -4
- package/es/utils/index.d.ts +0 -2
- package/es/utils/index.js +0 -4
- package/es/utils/moneyFormat.d.ts +0 -38
- package/es/utils/moneyFormat.js +0 -1
- package/es/version/index.d.ts +0 -2
- package/es/version/index.js +0 -1
- package/es/watermark/context.d.ts +0 -8
- package/es/watermark/context.js +0 -1
- package/es/watermark/index.d.ts +0 -26
- package/es/watermark/index.js +0 -35
- package/es/watermark/useClips.d.ts +0 -7
- package/es/watermark/useClips.js +0 -1
- package/es/watermark/useRafDebounce.d.ts +0 -4
- package/es/watermark/useRafDebounce.js +0 -1
- package/es/watermark/useWatermark.d.ts +0 -13
- package/es/watermark/useWatermark.js +0 -1
- package/es/watermark/utils.d.ts +0 -7
- package/es/watermark/utils.js +0 -1
- package/umd/index.min.js +0 -629
package/es/skeleton/Node.js
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import*as g from'react';import g__default,{createContext,useContext}from'react';import Ro from'classnames';import {createTheme,Keyframes,useCacheToken,unit,useStyleRegister}from'@ant-design/cssinjs';import Pr from'@ant-design/icons/lib/components/Context';import kr from'rc-util/lib/hooks/useMemo';import {merge}from'rc-util/lib/utils/set';import'rc-util/lib/warning';import'rc-pagination/lib/locale/en_US';import Wt from'rc-picker/lib/locale/en_US';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';import er from'rc-util/lib/Dom/canUseDom';import {updateCSS}from'rc-util/lib/Dom/dynamicCSS';import Tr from'rc-util/lib/isEqual';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import {Provider}from'rc-motion';function Be(){}var Et=Be,je=g.createContext({}),J=()=>{let e=()=>{};return e.deprecated=Be,e},B=Et;var Ge=createContext(void 0);({lang:{...Wt}});var S="${label} is not a valid ${type}",Nt={Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Form:{defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:S,method:S,array:S,object:S,number:S,date:S,boolean:S,integer:S,float:S,regexp:S,email:S,url:S,hex:S},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}}},M=Nt;({...M.Modal});var oe=[],Xe=()=>oe.reduce((e,o)=>({...e,...o}),M.Modal);function Ue(e){if(e){let o={...e};return oe.push(o),Xe(),()=>{oe=oe.filter(r=>r!==o),Xe();}}({...M.Modal});}var jt=createContext(void 0),j=jt;var Ke="internalMark",Gt=e=>{let{locale:o={},children:r,_ANT_MARK__:n}=e;g.useEffect(()=>Ue(o?.Modal),[o]);let t=g.useMemo(()=>({...o,exist:true}),[o]);return g.createElement(j.Provider,{value:t},r)},qe=Gt;var Ce={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"},Vt={...Ce,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},P=Vt;function ye(e,{generateColorPalettes:o,generateNeutralColorPalettes:r}){let{colorSuccess:n,colorWarning:t,colorError:s,colorInfo:i,colorPrimary:l,colorBgBase:c,colorTextBase:a}=e,p=o(l),m=o(n),d=o(t),f=o(s),y=o(i),W=r(c,a),L=e.colorLink||e.colorInfo,b=o(L),F=new TinyColor(f[1]).mix(new TinyColor(f[3]),50).toHexString();return {...W,colorPrimaryBg:p[1],colorPrimaryBgHover:p[2],colorPrimaryBorder:p[3],colorPrimaryBorderHover:p[4],colorPrimaryHover:p[5],colorPrimary:p[6],colorPrimaryActive:p[7],colorPrimaryTextHover:p[8],colorPrimaryText:p[9],colorPrimaryTextActive:p[10],colorSuccessBg:m[1],colorSuccessBgHover:m[2],colorSuccessBorder:m[3],colorSuccessBorderHover:m[4],colorSuccessHover:m[4],colorSuccess:m[6],colorSuccessActive:m[7],colorSuccessTextHover:m[8],colorSuccessText:m[9],colorSuccessTextActive:m[10],colorErrorBg:f[1],colorErrorBgHover:f[2],colorErrorBgFilledHover:F,colorErrorBgActive:f[3],colorErrorBorder:f[3],colorErrorBorderHover:f[4],colorErrorHover:f[5],colorError:f[6],colorErrorActive:f[7],colorErrorTextHover:f[8],colorErrorText:f[9],colorErrorTextActive:f[10],colorWarningBg:d[1],colorWarningBgHover:d[2],colorWarningBorder:d[3],colorWarningBorderHover:d[4],colorWarningHover:d[4],colorWarning:d[6],colorWarningActive:d[7],colorWarningTextHover:d[8],colorWarningText:d[9],colorWarningTextActive:d[10],colorInfoBg:y[1],colorInfoBgHover:y[2],colorInfoBorder:y[3],colorInfoBorderHover:y[4],colorInfoHover:y[4],colorInfo:y[6],colorInfoActive:y[7],colorInfoTextHover:y[8],colorInfoText:y[9],colorInfoTextActive:y[10],colorLinkHover:b[4],colorLink:b[6],colorLinkActive:b[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var Xt=e=>{let o=e,r=e,n=e,t=e;return e<6&&e>=5?o=e+1:e<16&&e>=6?o=e+2:e>=16&&(o=16),e<7&&e>=5?r=4:e<8&&e>=7?r=5:e<14&&e>=8?r=6:e<16&&e>=14?r=7:e>=16&&(r=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?t=4:e>=8&&(t=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:r,borderRadiusLG:o,borderRadiusOuter:t}},Qe=Xt;function Se(e){let{motionUnit:o,motionBase:r,borderRadius:n,lineWidth:t}=e;return {motionDurationFast:`${(r+o).toFixed(1)}s`,motionDurationMid:`${(r+o*2).toFixed(1)}s`,motionDurationSlow:`${(r+o*3).toFixed(1)}s`,lineWidthBold:t+1,...Qe(n)}}var Ut=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},Ye=Ut;function Je(e){return (e+8)/e}function xe(e){let o=new Array(10).fill(null).map((r,n)=>{let t=n-1,s=e*Math.E**(t/5),i=n>1?Math.floor(s):Math.ceil(s);return Math.floor(i/2)*2});return o[1]=e,o.map(r=>({size:r,lineHeight:Je(r)}))}var _t=e=>{let o=xe(e),r=o.map(p=>p.size),n=o.map(p=>p.lineHeight),t=r[1],s=r[0],i=r[2],l=n[1],c=n[0],a=n[2];return {fontSizeSM:s,fontSize:t,fontSizeLG:i,fontSizeXL:r[3],fontSizeHeading1:r[6],fontSizeHeading2:r[5],fontSizeHeading3:r[4],fontSizeHeading4:r[3],fontSizeHeading5:r[2],lineHeight:l,lineHeightLG:a,lineHeightSM:c,fontHeight:Math.round(l*t),fontHeightLG:Math.round(a*i),fontHeightSM:Math.round(c*s),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},Ze=_t;function be(e){let{sizeUnit:o,sizeStep:r}=e;return {sizeXXL:o*(r+8),sizeXL:o*(r+4),sizeLG:o*(r+2),sizeMD:o*(r+1),sizeMS:o*r,size:o*r,sizeSM:o*(r-1),sizeXS:o*(r-2),sizeXXS:o*(r-3)}}var x=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),I=(e,o)=>new TinyColor(e).darken(o).toHexString();var oo=e=>{let o=generate(e);return {1:o[0],2:o[1],3:o[2],4:o[3],5:o[4],6:o[5],7:o[6],8:o[4],9:o[5],10:o[6]}},to=(e,o)=>{let r=e||"#fff",n=o||"#000";return {colorBgBase:r,colorTextBase:n,colorText:x(n,.88),colorTextSecondary:x(n,.65),colorTextTertiary:x(n,.45),colorTextQuaternary:x(n,.25),colorFill:x(n,.15),colorFillSecondary:x(n,.06),colorFillTertiary:x(n,.04),colorFillQuaternary:x(n,.02),colorBgSolid:x(n,1),colorBgSolidHover:x(n,.75),colorBgSolidActive:x(n,.95),colorBgLayout:I(r,4),colorBgContainer:I(r,0),colorBgElevated:I(r,0),colorBgSpotlight:x(n,.85),colorBgBlur:"transparent",colorBorder:I(r,15),colorBorderSecondary:I(r,6)}};function he(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys(Ce).map(r=>{let n=e[r]===presetPrimaryColors[r]?presetPalettes[r]:generate(e[r]);return new Array(10).fill(1).reduce((t,s,i)=>(t[`${r}-${i+1}`]=n[i],t[`${r}${i+1}`]=n[i],t),{})}).reduce((r,n)=>(r={...r,...n},r),{});return {...e,...o,...ye(e,{generateColorPalettes:oo,generateNeutralColorPalettes:to}),...Ze(e.fontSize),...be(e),...Ye(e),...Se(e)}}var te=createTheme(he),G={token:P,override:{override:P},hashed:true},V=g__default.createContext(G);var re="ant",X="anticon";var Jt=(e,o)=>o||(e?`${re}-${e}`:re),T=g.createContext({getPrefixCls:Jt,iconPrefixCls:X}),{Consumer:Zt}=T;var tr=`-ant-${Date.now()}-${Math.random()}`;function rr(e,o){let r={},n=(i,l)=>{let c=i.clone();return c=l?.(c)||c,c.toRgbString()},t=(i,l)=>{let c=new TinyColor(i),a=generate(c.toRgbString());r[`${l}-color`]=n(c),r[`${l}-color-disabled`]=a[1],r[`${l}-color-hover`]=a[4],r[`${l}-color-active`]=a[6],r[`${l}-color-outline`]=c.clone().setAlpha(.2).toRgbString(),r[`${l}-color-deprecated-bg`]=a[0],r[`${l}-color-deprecated-border`]=a[2];};if(o.primaryColor){t(o.primaryColor,"primary");let i=new TinyColor(o.primaryColor),l=generate(i.toRgbString());l.forEach((a,p)=>{r[`primary-${p+1}`]=a;}),r["primary-color-deprecated-l-35"]=n(i,a=>a.lighten(35)),r["primary-color-deprecated-l-20"]=n(i,a=>a.lighten(20)),r["primary-color-deprecated-t-20"]=n(i,a=>a.tint(20)),r["primary-color-deprecated-t-50"]=n(i,a=>a.tint(50)),r["primary-color-deprecated-f-12"]=n(i,a=>a.setAlpha(a.getAlpha()*.12));let c=new TinyColor(l[0]);r["primary-color-active-deprecated-f-30"]=n(c,a=>a.setAlpha(a.getAlpha()*.3)),r["primary-color-active-deprecated-d-02"]=n(c,a=>a.darken(2));}return o.successColor&&t(o.successColor,"success"),o.warningColor&&t(o.warningColor,"warning"),o.errorColor&&t(o.errorColor,"error"),o.infoColor&&t(o.infoColor,"info"),`
|
|
4
|
-
:root {
|
|
5
|
-
${Object.keys(r).map(i=>`--${e}-${i}: ${r[i]};`).join(`
|
|
6
|
-
`)}
|
|
7
|
-
}
|
|
8
|
-
`.trim()}function io(e,o){let r=rr(e,o);er()?updateCSS(r,`${tr}-dynamic-theme`):B();}var ve=g.createContext(false),ao=({children:e,disabled:o})=>{let r=g.useContext(ve);return g.createElement(ve.Provider,{value:o??r},e)},lo=ve;var Me=g.createContext(void 0),so=({children:e,size:o})=>{let r=g.useContext(Me);return g.createElement(Me.Provider,{value:o||r},e)},U=Me;function nr(){let e=useContext(lo),o=useContext(U);return {componentDisabled:e,componentSize:o}}var po=nr;var go={version:"0.0.2"};var fo=go.version;function Le(e){return e>=0&&e<=255}function ar(e,o){let{r,g:n,b:t,a:s}=new TinyColor(e).toRgb();if(s<1)return e;let{r:i,g:l,b:c}=new TinyColor(o).toRgb();for(let a=.01;a<=1;a+=.01){let p=Math.round((r-i*(1-a))/a),m=Math.round((n-l*(1-a))/a),d=Math.round((t-c*(1-a))/a);if(Le(p)&&Le(m)&&Le(d))return new TinyColor({r:p,g:m,b:d,a:Math.round(a*100)/100}).toRgbString()}return new TinyColor({r,g:n,b:t,a:1}).toRgbString()}var _=ar;function ie(e){let{override:o,...r}=e,n={...o};Object.keys(P).forEach(d=>{delete n[d];});let t={...r,...n},s=480,i=576,l=768,c=992,a=1200,p=1600;return t.motion===false&&(t.motionDurationFast="0s",t.motionDurationMid="0s",t.motionDurationSlow="0s"),{...t,colorFillContent:t.colorFillSecondary,colorFillContentHover:t.colorFill,colorFillAlter:t.colorFillQuaternary,colorBgContainerDisabled:t.colorFillTertiary,colorBorderBg:t.colorBgContainer,colorSplit:_(t.colorBorderSecondary,t.colorBgContainer),colorTextPlaceholder:t.colorTextQuaternary,colorTextDisabled:t.colorTextQuaternary,colorTextHeading:t.colorText,colorTextLabel:t.colorTextSecondary,colorTextDescription:t.colorTextTertiary,colorTextLightSolid:t.colorWhite,colorHighlight:t.colorError,colorBgTextHover:t.colorFillSecondary,colorBgTextActive:t.colorFill,colorIcon:t.colorTextTertiary,colorIconHover:t.colorText,colorErrorOutline:_(t.colorErrorBg,t.colorBgContainer),colorWarningOutline:_(t.colorWarningBg,t.colorBgContainer),fontSizeIcon:t.fontSizeSM,lineWidthFocus:t.lineWidth*3,lineWidth:t.lineWidth,controlOutlineWidth:t.lineWidth*2,controlInteractiveSize:t.controlHeight/2,controlItemBgHover:t.colorFillTertiary,controlItemBgActive:t.colorPrimaryBg,controlItemBgActiveHover:t.colorPrimaryBgHover,controlItemBgActiveDisabled:t.colorFill,controlTmpOutline:t.colorFillQuaternary,controlOutline:_(t.colorPrimaryBg,t.colorBgContainer),lineType:t.lineType,borderRadius:t.borderRadius,borderRadiusXS:t.borderRadiusXS,borderRadiusSM:t.borderRadiusSM,borderRadiusLG:t.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:t.sizeXXS,paddingXS:t.sizeXS,paddingSM:t.sizeSM,padding:t.size,paddingMD:t.sizeMD,paddingLG:t.sizeLG,paddingXL:t.sizeXL,paddingContentHorizontalLG:t.sizeLG,paddingContentVerticalLG:t.sizeMS,paddingContentHorizontal:t.sizeMS,paddingContentVertical:t.sizeSM,paddingContentHorizontalSM:t.size,paddingContentVerticalSM:t.sizeXS,marginXXS:t.sizeXXS,marginXS:t.sizeXS,marginSM:t.sizeSM,margin:t.size,marginMD:t.sizeMD,marginLG:t.sizeLG,marginXL:t.sizeXL,marginXXL:t.sizeXXL,boxShadow:`
|
|
9
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
10
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
11
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
12
|
-
`,boxShadowSecondary:`
|
|
13
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
14
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
15
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
16
|
-
`,boxShadowTertiary:`
|
|
17
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
|
18
|
-
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
19
|
-
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
20
|
-
`,screenXS:s,screenXSMin:s,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:l-1,screenMD:l,screenMDMin:l,screenMDMax:c-1,screenLG:c,screenLGMin:c,screenLGMax:a-1,screenXL:a,screenXLMin:a,screenXLMax:p-1,screenXXL:p,screenXXLMin:p,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
|
21
|
-
0 1px 2px -2px ${new TinyColor("rgba(0, 0, 0, 0.16)").toRgbString()},
|
|
22
|
-
0 3px 6px 0 ${new TinyColor("rgba(0, 0, 0, 0.12)").toRgbString()},
|
|
23
|
-
0 5px 12px 4px ${new TinyColor("rgba(0, 0, 0, 0.09)").toRgbString()}
|
|
24
|
-
`,boxShadowDrawerRight:`
|
|
25
|
-
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
26
|
-
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
27
|
-
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
28
|
-
`,boxShadowDrawerLeft:`
|
|
29
|
-
6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
30
|
-
3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
31
|
-
9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
32
|
-
`,boxShadowDrawerUp:`
|
|
33
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
34
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
35
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
36
|
-
`,boxShadowDrawerDown:`
|
|
37
|
-
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
38
|
-
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
39
|
-
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
40
|
-
`,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)",...n}}var we={lineHeight:true,lineHeightSM:true,lineHeightLG:true,lineHeightHeading1:true,lineHeightHeading2:true,lineHeightHeading3:true,lineHeightHeading4:true,lineHeightHeading5:true,opacityLoading:true,fontWeightStrong:true,zIndexPopupBase:true,zIndexBase:true,opacityImage:true},cr={size:true,sizeSM:true,sizeLG:true,sizeMD:true,sizeXS:true,sizeXXS:true,sizeMS:true,sizeXL:true,sizeXXL:true,sizeUnit:true,sizeStep:true,motionBase:true,motionUnit:true},pr={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},Co=(e,o,r)=>{let n=r.getDerivativeToken(e),{override:t,...s}=o,i={...n,override:t};return i=ie(i),s&&Object.entries(s).forEach(([l,c])=>{let{theme:a,...p}=c,m=p;a&&(m=Co({...i,...p},{override:p},a)),i[l]=m;}),i};function v(){let{token:e,hashed:o,theme:r,override:n,cssVar:t}=g__default.useContext(V),s=`${fo}-${o||""}`,i=r||te,[l,c,a]=useCacheToken(i,[P,e],{salt:s,override:n,getComputedToken:Co,formatToken:ie,cssVar:t&&{prefix:t.prefix,key:t.key,unitless:we,ignore:cr,preserve:pr}});return [i,a,o?c:"",l,t]}var mr=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}});var uo=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"}}}),yo=(e,o,r,n)=>{let t=`[class^="${o}"], [class*=" ${o}"]`,s=r?`.${r}`:t,i={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},l={};return n!==false&&(l={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[s]:{...l,...i,[t]:i}}};var ae=e=>({[`.${e}`]:{...mr(),[`.${e} .${e}-icon`]:{display:"block"}}});var{genStyleHooks:$e,genComponentStyleHook:dr,genSubStyleComponent:fr}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:o}=useContext(T);return {rootPrefixCls:e(),iconPrefixCls:o}},useToken:()=>{let[e,o,r,n,t]=v();return {theme:e,realToken:o,hashId:r,token:n,cssVar:t}},useCSP:()=>{let{csp:e}=useContext(T);return e??{}},getResetStyles:(e,o)=>[{"&":uo(e)},ae(o?.prefix.iconPrefixCls??X)],getCommonStyle:yo,getCompUnitless:(()=>we)});var ur=(e,o)=>{let[r,n]=v();return useStyleRegister({theme:r,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>o?.nonce,layer:{name:"antd"}},()=>[ae(e)])},le=ur;var Sr={...g},{useId:bo}=Sr,xr=()=>"",br=typeof bo>"u"?xr:bo,ko=br;function Ae(e,o,r){J();let t=e||{},s=t.inherit===false||!o?{...G,hashed:o?.hashed??G.hashed,cssVar:o?.cssVar}:o,i=ko();return kr(()=>{if(!e)return o;let l={...s.components};Object.keys(e.components||{}).forEach(p=>{l[p]={...l[p],...e.components[p]};});let c=`css-var-${i.replace(/:/g,"")}`,a=(t.cssVar??s.cssVar)&&{prefix:r?.prefixCls,...typeof s.cssVar=="object"?s.cssVar:{},...typeof t.cssVar=="object"?t.cssVar:{},key:typeof t.cssVar=="object"&&t.cssVar?.key||c};return {...s,...t,token:{...s.token,...t.token},components:l,cssVar:a}},[t,s],(l,c)=>l.some((a,p)=>{let m=c[p];return !Tr(a,m,true)}))}function He(e){let{children:o}=e,[,r]=v(),{motion:n}=r,t=g.useRef(false);return t.current=t.current||n===false,t.current?g.createElement(Provider,{motion:n},o):o}g.memo(({dropdownMatchSelectWidth:e})=>(J().deprecated(e===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null));var ho=()=>null;var Lr=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"],vo;function Ar(){return vo||re}function Hr(e){return Object.keys(e).some(o=>o.endsWith("Color"))}var Ir=e=>{let{prefixCls:o,iconPrefixCls:r,theme:n,holderRender:t}=e;o!==void 0&&(vo=o),n&&(Hr(n)?(io(Ar(),n)):n);};var Er=e=>{let{children:o,csp:r,autoInsertSpaceInButton:n,alert:t,anchor:s,form:i,locale:l,componentSize:c,direction:a,space:p,splitter:m,virtual:d,dropdownMatchSelectWidth:f,popupMatchSelectWidth:y,popupOverflow:W,legacyLocale:L,parentContext:b,iconPrefixCls:F,theme:Q,componentDisabled:De,segmented:wo,statistic:$o,spin:Ao,calendar:Ho,carousel:Io,cascader:Eo,collapse:zo,typography:Do,checkbox:Wo,descriptions:Fo,divider:Oo,drawer:No,skeleton:Bo,steps:jo,image:Go,layout:Vo,list:Xo,mentions:Uo,modal:_o,progress:Ko,result:qo,slider:Qo,breadcrumb:Yo,menu:Jo,pagination:Zo,input:et,textArea:ot,empty:tt,badge:rt,radio:nt,rate:it,switch:at,transfer:lt,avatar:st,message:ct,tag:pt,table:mt,card:gt,tabs:dt,timeline:ft,timePicker:Ct,upload:ut,notification:yt,tree:St,colorPicker:xt,datePicker:bt,rangePicker:kt,flex:Tt,wave:ht,dropdown:Pt,warning:vt,tour:Mt,variant:Lt,inputNumber:Rt,treeSelect:wt}=e,We=g.useCallback((C,k)=>{let{prefixCls:$}=e;if(k)return k;let A=$||b.getPrefixCls("");return C?`${A}-${C}`:A},[b.getPrefixCls,e.prefixCls]),O=F||b.iconPrefixCls||X,N=r||b.csp;le(O,N);let pe=Ae(Q,b.theme,{prefixCls:We("")}),me={csp:N,autoInsertSpaceInButton:n,alert:t,anchor:s,locale:l||L,direction:a,space:p,splitter:m,virtual:d,popupMatchSelectWidth:y??f,popupOverflow:W,getPrefixCls:We,iconPrefixCls:O,theme:pe,segmented:wo,statistic:$o,spin:Ao,calendar:Ho,carousel:Io,cascader:Eo,collapse:zo,typography:Do,checkbox:Wo,descriptions:Fo,divider:Oo,drawer:No,skeleton:Bo,steps:jo,image:Go,input:et,textArea:ot,layout:Vo,list:Xo,mentions:Uo,modal:_o,progress:Ko,result:qo,slider:Qo,breadcrumb:Yo,menu:Jo,pagination:Zo,empty:tt,badge:rt,radio:nt,rate:it,switch:at,transfer:lt,avatar:st,message:ct,tag:pt,table:mt,card:gt,tabs:dt,timeline:ft,timePicker:Ct,upload:ut,notification:yt,tree:St,colorPicker:xt,datePicker:bt,rangePicker:kt,flex:Tt,wave:ht,dropdown:Pt,warning:vt,tour:Mt,variant:Lt,inputNumber:Rt,treeSelect:wt},R={...b};Object.keys(me).forEach(C=>{me[C]!==void 0&&(R[C]=me[C]);}),Lr.forEach(C=>{let k=e[C];k&&(R[C]=k);}),typeof n<"u"&&(R.button={autoInsertSpace:n,...R.button});let w=kr(()=>R,R,(C,k)=>{let $=Object.keys(C),A=Object.keys(k);return $.length!==A.length||$.some(Y=>C[Y]!==k[Y])}),$t=g.useMemo(()=>({prefixCls:O,csp:N}),[O,N]),u=g.createElement(g.Fragment,null,g.createElement(ho,{dropdownMatchSelectWidth:f}),o),Fe=g.useMemo(()=>merge(M.Form?.defaultValidateMessages||{},w.locale?.Form?.defaultValidateMessages||{},w.form?.validateMessages||{},i?.validateMessages||{}),[w,i?.validateMessages]);Object.keys(Fe).length>0&&(u=g.createElement(Ge.Provider,{value:Fe},u)),l&&(u=g.createElement(qe,{locale:l,_ANT_MARK__:Ke},u)),(u=g.createElement(Pr.Provider,{value:$t},u)),c&&(u=g.createElement(so,{size:c},u)),u=g.createElement(He,null,u);let At=g.useMemo(()=>{let{algorithm:C,token:k,components:$,cssVar:A,...Y}=pe||{},Oe=C&&(!Array.isArray(C)||C.length>0)?createTheme(C):te,ge={};Object.entries($||{}).forEach(([Ht,It])=>{let h={...It};"algorithm"in h&&(h.algorithm===true?h.theme=Oe:(Array.isArray(h.algorithm)||typeof h.algorithm=="function")&&(h.theme=createTheme(h.algorithm)),delete h.algorithm),ge[Ht]=h;});let Ne={...P,...k};return {...Y,theme:Oe,token:Ne,components:ge,override:{override:Ne,...ge},cssVar:A}},[pe]);return Q&&(u=g.createElement(V.Provider,{value:At},u)),w.warning&&(u=g.createElement(je.Provider,{value:w.warning},u)),De!==void 0&&(u=g.createElement(ao,{disabled:De},u)),g.createElement(T.Provider,{value:w},u)},K=e=>{let o=g.useContext(T),r=g.useContext(j);return g.createElement(Er,{parentContext:o,legacyLocale:r,...e})};K.ConfigContext=T;K.SizeContext=U;K.config=Ir;K.useConfig=po;Object.defineProperty(K,"SizeContext",{get:()=>(U)});var Wr=new Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),ce=e=>({height:e,lineHeight:unit(e)}),D=e=>({width:e,...ce(e)}),Fr=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Wr,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),Ie=(e,o)=>({width:o(e).mul(5).equal(),minWidth:o(e).mul(5).equal(),...ce(e)}),Or=e=>{let{skeletonAvatarCls:o,gradientFromColor:r,controlHeight:n,controlHeightLG:t,controlHeightSM:s}=e;return {[o]:{display:"inline-block",verticalAlign:"top",background:r,...D(n)},[`${o}${o}-circle`]:{borderRadius:"50%"},[`${o}${o}-lg`]:{...D(t)},[`${o}${o}-sm`]:{...D(s)}}},Nr=e=>{let{controlHeight:o,borderRadiusSM:r,skeletonInputCls:n,controlHeightLG:t,controlHeightSM:s,gradientFromColor:i,calc:l}=e;return {[n]:{display:"inline-block",verticalAlign:"top",background:i,borderRadius:r,...Ie(o,l)},[`${n}-lg`]:{...Ie(t,l)},[`${n}-sm`]:{...Ie(s,l)}}},Mo=e=>({width:e,...ce(e)}),Br=e=>{let{skeletonImageCls:o,imageSizeBase:r,gradientFromColor:n,borderRadiusSM:t,calc:s}=e;return {[o]:{display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:n,borderRadius:t,...Mo(s(r).mul(2).equal()),[`${o}-path`]:{fill:"#bfbfbf"},[`${o}-svg`]:{...Mo(r),maxWidth:s(r).mul(4).equal(),maxHeight:s(r).mul(4).equal()},[`${o}-svg${o}-svg-circle`]:{borderRadius:"50%"}},[`${o}${o}-circle`]:{borderRadius:"50%"}}},Ee=(e,o,r)=>{let{skeletonButtonCls:n}=e;return {[`${r}${n}-circle`]:{width:o,minWidth:o,borderRadius:"50%"},[`${r}${n}-round`]:{borderRadius:o}}},ze=(e,o)=>({width:o(e).mul(2).equal(),minWidth:o(e).mul(2).equal(),...ce(e)}),jr=e=>{let{borderRadiusSM:o,skeletonButtonCls:r,controlHeight:n,controlHeightLG:t,controlHeightSM:s,gradientFromColor:i,calc:l}=e;return {[r]:{display:"inline-block",verticalAlign:"top",background:i,borderRadius:o,width:l(n).mul(2).equal(),minWidth:l(n).mul(2).equal(),...ze(n,l)},...Ee(e,n,r),[`${r}-lg`]:{...ze(t,l)},...Ee(e,t,`${r}-lg`),[`${r}-sm`]:{...ze(s,l)},...Ee(e,s,`${r}-sm`)}},Gr=e=>{let{componentCls:o,skeletonAvatarCls:r,skeletonTitleCls:n,skeletonParagraphCls:t,skeletonButtonCls:s,skeletonInputCls:i,skeletonImageCls:l,controlHeight:c,controlHeightLG:a,controlHeightSM:p,gradientFromColor:m,padding:d,marginSM:f,borderRadius:y,titleHeight:W,blockRadius:L,paragraphLiHeight:b,controlHeightXS:F,paragraphMarginTop:Q}=e;return {[o]:{display:"table",width:"100%",[`${o}-header`]:{display:"table-cell",paddingInlineEnd:d,verticalAlign:"top",[r]:{display:"inline-block",verticalAlign:"top",background:m,...D(c)},[`${r}-circle`]:{borderRadius:"50%"},[`${r}-lg`]:{...D(a)},[`${r}-sm`]:{...D(p)}},[`${o}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[n]:{width:"100%",height:W,background:m,borderRadius:L,[`+ ${t}`]:{marginBlockStart:p}},[t]:{padding:0,"> li":{width:"100%",height:b,listStyle:"none",background:m,borderRadius:L,"+ li":{marginBlockStart:F}}},[`${t}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${o}-content`]:{[`${n}, ${t} > li`]:{borderRadius:y}}},[`${o}-with-avatar ${o}-content`]:{[n]:{marginBlockStart:f,[`+ ${t}`]:{marginBlockStart:Q}}},[`${o}${o}-element`]:{display:"inline-block",width:"auto",...jr(e),...Or(e),...Nr(e),...Br(e)},[`${o}${o}-block`]:{width:"100%",[s]:{width:"100%"},[i]:{width:"100%"}},[`${o}${o}-active`]:{[`
|
|
41
|
-
${n},
|
|
42
|
-
${t} > li,
|
|
43
|
-
${r},
|
|
44
|
-
${s},
|
|
45
|
-
${i},
|
|
46
|
-
${l}
|
|
47
|
-
`]:{...Fr(e)}}}},Vr=e=>{let{colorFillContent:o,colorFill:r}=e,n=o,t=r;return {color:n,colorGradientEnd:t,gradientFromColor:n,gradientToColor:t,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},Lo=$e("Skeleton",e=>{let{componentCls:o,calc:r}=e,n=mergeToken(e,{skeletonAvatarCls:`${o}-avatar`,skeletonTitleCls:`${o}-title`,skeletonParagraphCls:`${o}-paragraph`,skeletonButtonCls:`${o}-button`,skeletonInputCls:`${o}-input`,skeletonImageCls:`${o}-image`,imageSizeBase:r(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return [Gr(n)]},Vr,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]});var Xr=e=>{let{prefixCls:o,className:r,rootClassName:n,style:t,active:s,children:i}=e,{getPrefixCls:l}=g.useContext(T),c=l("skeleton",o),[a,p,m]=Lo(c),d=Ro(c,`${c}-element`,{[`${c}-active`]:s},p,r,n,m);return a(g.createElement("div",{className:d},g.createElement("div",{className:Ro(`${c}-image`,r),style:t},i)))},Ja=Xr;export{Ja as default};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type widthUnit = number | string;
|
|
3
|
-
export interface SkeletonParagraphProps {
|
|
4
|
-
prefixCls?: string;
|
|
5
|
-
className?: string;
|
|
6
|
-
style?: React.CSSProperties;
|
|
7
|
-
width?: widthUnit | Array<widthUnit>;
|
|
8
|
-
rows?: number;
|
|
9
|
-
}
|
|
10
|
-
declare const Paragraph: React.FC<SkeletonParagraphProps>;
|
|
11
|
-
export default Paragraph;
|
package/es/skeleton/Paragraph.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import*as a from'react';import l from'classnames';var p=(r,e)=>{let{width:t,rows:s=2}=e;if(Array.isArray(t))return t[r];if(s-1===r)return t},c=r=>{let{prefixCls:e,className:t,style:s,rows:n}=r,o=[...new Array(n)].map((m,i)=>a.createElement("li",{key:i,style:{width:p(i,r)}}));return a.createElement("ul",{className:l(e,t),style:s},o)},u=c;export{u as default};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { AvatarProps } from './Avatar';
|
|
3
|
-
import SkeletonAvatar from './Avatar';
|
|
4
|
-
import SkeletonButton from './Button';
|
|
5
|
-
import SkeletonImage from './Image';
|
|
6
|
-
import SkeletonInput from './Input';
|
|
7
|
-
import SkeletonNode from './Node';
|
|
8
|
-
import type { SkeletonParagraphProps } from './Paragraph';
|
|
9
|
-
import type { SkeletonTitleProps } from './Title';
|
|
10
|
-
type SkeletonAvatarProps = Omit<AvatarProps, 'active'>;
|
|
11
|
-
export interface SkeletonProps {
|
|
12
|
-
active?: boolean;
|
|
13
|
-
loading?: boolean;
|
|
14
|
-
prefixCls?: string;
|
|
15
|
-
className?: string;
|
|
16
|
-
rootClassName?: string;
|
|
17
|
-
style?: React.CSSProperties;
|
|
18
|
-
children?: React.ReactNode;
|
|
19
|
-
avatar?: SkeletonAvatarProps | boolean;
|
|
20
|
-
title?: SkeletonTitleProps | boolean;
|
|
21
|
-
paragraph?: SkeletonParagraphProps | boolean;
|
|
22
|
-
round?: boolean;
|
|
23
|
-
}
|
|
24
|
-
type CompoundedComponent = {
|
|
25
|
-
Button: typeof SkeletonButton;
|
|
26
|
-
Avatar: typeof SkeletonAvatar;
|
|
27
|
-
Input: typeof SkeletonInput;
|
|
28
|
-
Image: typeof SkeletonImage;
|
|
29
|
-
Node: typeof SkeletonNode;
|
|
30
|
-
};
|
|
31
|
-
declare const Skeleton: React.FC<SkeletonProps> & CompoundedComponent;
|
|
32
|
-
export default Skeleton;
|
package/es/skeleton/Skeleton.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import*as f from'react';import f__default,{createContext,useContext}from'react';import Qe from'classnames';import {createTheme,Keyframes,useCacheToken,unit,useStyleRegister}from'@ant-design/cssinjs';import Gr from'@ant-design/icons/lib/components/Context';import Or from'rc-util/lib/hooks/useMemo';import {merge}from'rc-util/lib/utils/set';import'rc-util/lib/warning';import'rc-pagination/lib/locale/en_US';import rr from'rc-picker/lib/locale/en_US';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';import kr from'rc-util/lib/Dom/canUseDom';import {updateCSS}from'rc-util/lib/Dom/dynamicCSS';import Vr from'rc-util/lib/isEqual';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import {Provider}from'rc-motion';import fn from'rc-util/lib/omit';function ao(){}var er=ao,lo=f.createContext({}),de=()=>{let e=()=>{};return e.deprecated=ao,e},Y=er;var so=createContext(void 0);({lang:{...rr}});var h="${label} is not a valid ${type}",ar={Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Form:{defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:h,method:h,array:h,object:h,number:h,date:h,boolean:h,integer:h,float:h,regexp:h,email:h,url:h,hex:h},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}"}}}},E=ar;({...E.Modal});var ue=[],po=()=>ue.reduce((e,o)=>({...e,...o}),E.Modal);function mo(e){if(e){let o={...e};return ue.push(o),po(),()=>{ue=ue.filter(t=>t!==o),po();}}({...E.Modal});}var sr=createContext(void 0),J=sr;var fo="internalMark",cr=e=>{let{locale:o={},children:t,_ANT_MARK__:n}=e;f.useEffect(()=>mo(o?.Modal),[o]);let r=f.useMemo(()=>({...o,exist:true}),[o]);return f.createElement(J.Provider,{value:r},t)},Co=cr;var ze={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},pr={...ze,colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
2
|
-
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
3
|
-
'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:false,motion:true},R=pr;function Ie(e,{generateColorPalettes:o,generateNeutralColorPalettes:t}){let{colorSuccess:n,colorWarning:r,colorError:c,colorInfo:a,colorPrimary:i,colorBgBase:l,colorTextBase:s}=e,p=o(i),m=o(n),g=o(r),d=o(c),y=o(a),S=t(l,s),L=e.colorLink||e.colorInfo,k=o(L),N=new TinyColor(d[1]).mix(new TinyColor(d[3]),50).toHexString();return {...S,colorPrimaryBg:p[1],colorPrimaryBgHover:p[2],colorPrimaryBorder:p[3],colorPrimaryBorderHover:p[4],colorPrimaryHover:p[5],colorPrimary:p[6],colorPrimaryActive:p[7],colorPrimaryTextHover:p[8],colorPrimaryText:p[9],colorPrimaryTextActive:p[10],colorSuccessBg:m[1],colorSuccessBgHover:m[2],colorSuccessBorder:m[3],colorSuccessBorderHover:m[4],colorSuccessHover:m[4],colorSuccess:m[6],colorSuccessActive:m[7],colorSuccessTextHover:m[8],colorSuccessText:m[9],colorSuccessTextActive:m[10],colorErrorBg:d[1],colorErrorBgHover:d[2],colorErrorBgFilledHover:N,colorErrorBgActive:d[3],colorErrorBorder:d[3],colorErrorBorderHover:d[4],colorErrorHover:d[5],colorError:d[6],colorErrorActive:d[7],colorErrorTextHover:d[8],colorErrorText:d[9],colorErrorTextActive:d[10],colorWarningBg:g[1],colorWarningBgHover:g[2],colorWarningBorder:g[3],colorWarningBorderHover:g[4],colorWarningHover:g[4],colorWarning:g[6],colorWarningActive:g[7],colorWarningTextHover:g[8],colorWarningText:g[9],colorWarningTextActive:g[10],colorInfoBg:y[1],colorInfoBgHover:y[2],colorInfoBorder:y[3],colorInfoBorderHover:y[4],colorInfoHover:y[4],colorInfo:y[6],colorInfoActive:y[7],colorInfoTextHover:y[8],colorInfoText:y[9],colorInfoTextActive:y[10],colorLinkHover:k[4],colorLink:k[6],colorLinkActive:k[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var mr=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}},uo=mr;function Ee(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,...uo(n)}}var gr=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},yo=gr;function So(e){return (e+8)/e}function He(e){let o=new Array(10).fill(null).map((t,n)=>{let r=n-1,c=e*Math.E**(r/5),a=n>1?Math.floor(c):Math.ceil(c);return Math.floor(a/2)*2});return o[1]=e,o.map(t=>({size:t,lineHeight:So(t)}))}var dr=e=>{let o=He(e),t=o.map(p=>p.size),n=o.map(p=>p.lineHeight),r=t[1],c=t[0],a=t[2],i=n[1],l=n[0],s=n[2];return {fontSizeSM:c,fontSize:r,fontSizeLG:a,fontSizeXL:t[3],fontSizeHeading1:t[6],fontSizeHeading2:t[5],fontSizeHeading3:t[4],fontSizeHeading4:t[3],fontSizeHeading5:t[2],lineHeight:i,lineHeightLG:s,lineHeightSM:l,fontHeight:Math.round(i*r),fontHeightLG:Math.round(s*a),fontHeightSM:Math.round(l*c),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},xo=dr;function De(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 P=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),j=(e,o)=>new TinyColor(e).darken(o).toHexString();var ho=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]}},Po=(e,o)=>{let t=e||"#fff",n=o||"#000";return {colorBgBase:t,colorTextBase:n,colorText:P(n,.88),colorTextSecondary:P(n,.65),colorTextTertiary:P(n,.45),colorTextQuaternary:P(n,.25),colorFill:P(n,.15),colorFillSecondary:P(n,.06),colorFillTertiary:P(n,.04),colorFillQuaternary:P(n,.02),colorBgSolid:P(n,1),colorBgSolidHover:P(n,.75),colorBgSolidActive:P(n,.95),colorBgLayout:j(t,4),colorBgContainer:j(t,0),colorBgElevated:j(t,0),colorBgSpotlight:P(n,.85),colorBgBlur:"transparent",colorBorder:j(t,15),colorBorderSecondary:j(t,6)}};function Be(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys(ze).map(t=>{let n=e[t]===presetPrimaryColors[t]?presetPalettes[t]:generate(e[t]);return new Array(10).fill(1).reduce((r,c,a)=>(r[`${t}-${a+1}`]=n[a],r[`${t}${a+1}`]=n[a],r),{})}).reduce((t,n)=>(t={...t,...n},t),{});return {...e,...o,...Ie(e,{generateColorPalettes:ho,generateNeutralColorPalettes:Po}),...xo(e.fontSize),...De(e),...yo(e),...Ee(e)}}var ye=createTheme(Be),Z={token:R,override:{override:R},hashed:true},ee=f__default.createContext(Z);var Se="ant",oe="anticon";var Sr=(e,o)=>o||(e?`${Se}-${e}`:Se),C=f.createContext({getPrefixCls:Sr,iconPrefixCls:oe}),{Consumer:xr}=C;var Pr=`-ant-${Date.now()}-${Math.random()}`;function br(e,o){let t={},n=(a,i)=>{let l=a.clone();return l=i?.(l)||l,l.toRgbString()},r=(a,i)=>{let l=new TinyColor(a),s=generate(l.toRgbString());t[`${i}-color`]=n(l),t[`${i}-color-disabled`]=s[1],t[`${i}-color-hover`]=s[4],t[`${i}-color-active`]=s[6],t[`${i}-color-outline`]=l.clone().setAlpha(.2).toRgbString(),t[`${i}-color-deprecated-bg`]=s[0],t[`${i}-color-deprecated-border`]=s[2];};if(o.primaryColor){r(o.primaryColor,"primary");let a=new TinyColor(o.primaryColor),i=generate(a.toRgbString());i.forEach((s,p)=>{t[`primary-${p+1}`]=s;}),t["primary-color-deprecated-l-35"]=n(a,s=>s.lighten(35)),t["primary-color-deprecated-l-20"]=n(a,s=>s.lighten(20)),t["primary-color-deprecated-t-20"]=n(a,s=>s.tint(20)),t["primary-color-deprecated-t-50"]=n(a,s=>s.tint(50)),t["primary-color-deprecated-f-12"]=n(a,s=>s.setAlpha(s.getAlpha()*.12));let l=new TinyColor(i[0]);t["primary-color-active-deprecated-f-30"]=n(l,s=>s.setAlpha(s.getAlpha()*.3)),t["primary-color-active-deprecated-d-02"]=n(l,s=>s.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 vo(e,o){let t=br(e,o);kr()?updateCSS(t,`${Pr}-dynamic-theme`):Y();}var Ve=f.createContext(false),Mo=({children:e,disabled:o})=>{let t=f.useContext(Ve);return f.createElement(Ve.Provider,{value:o??t},e)},Ro=Ve;var je=f.createContext(void 0),wo=({children:e,size:o})=>{let t=f.useContext(je);return f.createElement(je.Provider,{value:o||t},e)},te=je;function Tr(){let e=useContext(Ro),o=useContext(te);return {componentDisabled:e,componentSize:o}}var $o=Tr;var zo={version:"0.0.2"};var No=zo.version;function Ge(e){return e>=0&&e<=255}function Mr(e,o){let{r:t,g:n,b:r,a:c}=new TinyColor(e).toRgb();if(c<1)return e;let{r:a,g:i,b:l}=new TinyColor(o).toRgb();for(let s=.01;s<=1;s+=.01){let p=Math.round((t-a*(1-s))/s),m=Math.round((n-i*(1-s))/s),g=Math.round((r-l*(1-s))/s);if(Ge(p)&&Ge(m)&&Ge(g))return new TinyColor({r:p,g:m,b:g,a:Math.round(s*100)/100}).toRgbString()}return new TinyColor({r:t,g:n,b:r,a:1}).toRgbString()}var re=Mr;function ke(e){let{override:o,...t}=e,n={...o};Object.keys(R).forEach(g=>{delete n[g];});let r={...t,...n},c=480,a=576,i=768,l=992,s=1200,p=1600;return r.motion===false&&(r.motionDurationFast="0s",r.motionDurationMid="0s",r.motionDurationSlow="0s"),{...r,colorFillContent:r.colorFillSecondary,colorFillContentHover:r.colorFill,colorFillAlter:r.colorFillQuaternary,colorBgContainerDisabled:r.colorFillTertiary,colorBorderBg:r.colorBgContainer,colorSplit:re(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:re(r.colorErrorBg,r.colorBgContainer),colorWarningOutline:re(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:re(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:c,screenXSMin:c,screenXSMax:a-1,screenSM:a,screenSMMin:a,screenSMMax:i-1,screenMD:i,screenMDMin:i,screenMDMax:l-1,screenLG:l,screenLGMin:l,screenLGMax:s-1,screenXL:s,screenXLMin:s,screenXLMax:p-1,screenXXL:p,screenXXLMin:p,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
|
21
|
-
0 1px 2px -2px ${new TinyColor("rgba(0, 0, 0, 0.16)").toRgbString()},
|
|
22
|
-
0 3px 6px 0 ${new TinyColor("rgba(0, 0, 0, 0.12)").toRgbString()},
|
|
23
|
-
0 5px 12px 4px ${new TinyColor("rgba(0, 0, 0, 0.09)").toRgbString()}
|
|
24
|
-
`,boxShadowDrawerRight:`
|
|
25
|
-
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
26
|
-
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
27
|
-
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
28
|
-
`,boxShadowDrawerLeft:`
|
|
29
|
-
6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
30
|
-
3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
31
|
-
9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
32
|
-
`,boxShadowDrawerUp:`
|
|
33
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
34
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
35
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
36
|
-
`,boxShadowDrawerDown:`
|
|
37
|
-
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
38
|
-
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
39
|
-
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
40
|
-
`,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)",...n}}var Ue={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},Lr={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},$r={screenXS:true,screenXSMin:true,screenXSMax:true,screenSM:true,screenSMMin:true,screenSMMax:true,screenMD:true,screenMDMin:true,screenMDMax:true,screenLG:true,screenLGMin:true,screenLGMax:true,screenXL:true,screenXLMin:true,screenXLMax:true,screenXXL:true,screenXXLMin:true},Io=(e,o,t)=>{let n=t.getDerivativeToken(e),{override:r,...c}=o,a={...n,override:r};return a=ke(a),c&&Object.entries(c).forEach(([i,l])=>{let{theme:s,...p}=l,m=p;s&&(m=Io({...a,...p},{override:p},s)),a[i]=m;}),a};function $(){let{token:e,hashed:o,theme:t,override:n,cssVar:r}=f__default.useContext(ee),c=`${No}-${o||""}`,a=t||ye,[i,l,s]=useCacheToken(a,[R,e],{salt:c,override:n,getComputedToken:Io,formatToken:ke,cssVar:r&&{prefix:r.prefix,key:r.key,unitless:Ue,ignore:Lr,preserve:$r}});return [a,s,o?l:"",i,r]}var Ar=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}});var Eo=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"}}}),Ho=(e,o,t,n)=>{let r=`[class^="${o}"], [class*=" ${o}"]`,c=t?`.${t}`:r,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},i={};return n!==false&&(i={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[c]:{...i,...a,[r]:a}}};var he=e=>({[`.${e}`]:{...Ar(),[`.${e} .${e}-icon`]:{display:"block"}}});var{genStyleHooks:_e,genComponentStyleHook:Nr,genSubStyleComponent:Ir}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:o}=useContext(C);return {rootPrefixCls:e(),iconPrefixCls:o}},useToken:()=>{let[e,o,t,n,r]=$();return {theme:e,realToken:o,hashId:t,token:n,cssVar:r}},useCSP:()=>{let{csp:e}=useContext(C);return e??{}},getResetStyles:(e,o)=>[{"&":Eo(e)},he(o?.prefix.iconPrefixCls??oe)],getCommonStyle:Ho,getCompUnitless:(()=>Ue)});var Hr=(e,o)=>{let[t,n]=$();return useStyleRegister({theme:t,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>o?.nonce,layer:{name:"antd"}},()=>[he(e)])},Pe=Hr;var Fr={...f},{useId:Wo}=Fr,Wr=()=>"",Br=typeof Wo>"u"?Wr:Wo,Bo=Br;function qe(e,o,t){de();let r=e||{},c=r.inherit===false||!o?{...Z,hashed:o?.hashed??Z.hashed,cssVar:o?.cssVar}:o,a=Bo();return Or(()=>{if(!e)return o;let i={...c.components};Object.keys(e.components||{}).forEach(p=>{i[p]={...i[p],...e.components[p]};});let l=`css-var-${a.replace(/:/g,"")}`,s=(r.cssVar??c.cssVar)&&{prefix:t?.prefixCls,...typeof c.cssVar=="object"?c.cssVar:{},...typeof r.cssVar=="object"?r.cssVar:{},key:typeof r.cssVar=="object"&&r.cssVar?.key||l};return {...c,...r,token:{...c.token,...r.token},components:i,cssVar:s}},[r,c],(i,l)=>i.some((s,p)=>{let m=l[p];return !Vr(s,m,true)}))}function Ke(e){let{children:o}=e,[,t]=$(),{motion:n}=t,r=f.useRef(false);return r.current=r.current||n===false,r.current?f.createElement(Provider,{motion:n},o):o}f.memo(({dropdownMatchSelectWidth:e})=>(de().deprecated(e===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null));var Vo=()=>null;var _r=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"],Go;function Yr(){return Go||Se}function Jr(e){return Object.keys(e).some(o=>o.endsWith("Color"))}var Zr=e=>{let{prefixCls:o,iconPrefixCls:t,theme:n,holderRender:r}=e;o!==void 0&&(Go=o),n&&(Jr(n)?(vo(Yr(),n)):n);};var en=e=>{let{children:o,csp:t,autoInsertSpaceInButton:n,alert:r,anchor:c,form:a,locale:i,componentSize:l,direction:s,space:p,splitter:m,virtual:g,dropdownMatchSelectWidth:d,popupMatchSelectWidth:y,popupOverflow:S,legacyLocale:L,parentContext:k,iconPrefixCls:N,theme:v,componentDisabled:I,segmented:H,statistic:ce,spin:pe,calendar:Me,carousel:D,cascader:me,collapse:q,typography:tt,checkbox:rt,descriptions:nt,divider:it,drawer:at,skeleton:lt,steps:st,image:ct,layout:pt,list:mt,mentions:gt,modal:dt,progress:ft,result:Ct,slider:ut,breadcrumb:yt,menu:St,pagination:xt,input:kt,textArea:ht,empty:Pt,badge:bt,radio:Tt,rate:vt,switch:Mt,transfer:Rt,avatar:wt,message:Lt,tag:$t,table:At,card:zt,tabs:Nt,timeline:It,timePicker:Et,upload:Ht,notification:Dt,tree:Ft,colorPicker:Wt,datePicker:Bt,rangePicker:Ot,flex:Vt,wave:jt,dropdown:Gt,warning:Xt,tour:Ut,variant:_t,inputNumber:qt,treeSelect:Kt}=e,to=f.useCallback((u,T)=>{let{prefixCls:B}=e;if(T)return T;let O=B||k.getPrefixCls("");return u?`${O}-${u}`:O},[k.getPrefixCls,e.prefixCls]),K=N||k.iconPrefixCls||oe,Q=t||k.csp;Pe(K,Q);let Re=qe(v,k.theme,{prefixCls:to("")}),we={csp:Q,autoInsertSpaceInButton:n,alert:r,anchor:c,locale:i||L,direction:s,space:p,splitter:m,virtual:g,popupMatchSelectWidth:y??d,popupOverflow:S,getPrefixCls:to,iconPrefixCls:K,theme:Re,segmented:H,statistic:ce,spin:pe,calendar:Me,carousel:D,cascader:me,collapse:q,typography:tt,checkbox:rt,descriptions:nt,divider:it,drawer:at,skeleton:lt,steps:st,image:ct,input:kt,textArea:ht,layout:pt,list:mt,mentions:gt,modal:dt,progress:ft,result:Ct,slider:ut,breadcrumb:yt,menu:St,pagination:xt,empty:Pt,badge:bt,radio:Tt,rate:vt,switch:Mt,transfer:Rt,avatar:wt,message:Lt,tag:$t,table:At,card:zt,tabs:Nt,timeline:It,timePicker:Et,upload:Ht,notification:Dt,tree:Ft,colorPicker:Wt,datePicker:Bt,rangePicker:Ot,flex:Vt,wave:jt,dropdown:Gt,warning:Xt,tour:Ut,variant:_t,inputNumber:qt,treeSelect:Kt},F={...k};Object.keys(we).forEach(u=>{we[u]!==void 0&&(F[u]=we[u]);}),_r.forEach(u=>{let T=e[u];T&&(F[u]=T);}),typeof n<"u"&&(F.button={autoInsertSpace:n,...F.button});let W=Or(()=>F,F,(u,T)=>{let B=Object.keys(u),O=Object.keys(T);return B.length!==O.length||B.some(ge=>u[ge]!==T[ge])}),Qt=f.useMemo(()=>({prefixCls:K,csp:Q}),[K,Q]),x=f.createElement(f.Fragment,null,f.createElement(Vo,{dropdownMatchSelectWidth:d}),o),ro=f.useMemo(()=>merge(E.Form?.defaultValidateMessages||{},W.locale?.Form?.defaultValidateMessages||{},W.form?.validateMessages||{},a?.validateMessages||{}),[W,a?.validateMessages]);Object.keys(ro).length>0&&(x=f.createElement(so.Provider,{value:ro},x)),i&&(x=f.createElement(Co,{locale:i,_ANT_MARK__:fo},x)),(x=f.createElement(Gr.Provider,{value:Qt},x)),l&&(x=f.createElement(wo,{size:l},x)),x=f.createElement(Ke,null,x);let Yt=f.useMemo(()=>{let{algorithm:u,token:T,components:B,cssVar:O,...ge}=Re||{},no=u&&(!Array.isArray(u)||u.length>0)?createTheme(u):ye,Le={};Object.entries(B||{}).forEach(([Jt,Zt])=>{let M={...Zt};"algorithm"in M&&(M.algorithm===true?M.theme=no:(Array.isArray(M.algorithm)||typeof M.algorithm=="function")&&(M.theme=createTheme(M.algorithm)),delete M.algorithm),Le[Jt]=M;});let io={...R,...T};return {...ge,theme:no,token:io,components:Le,override:{override:io,...Le},cssVar:O}},[Re]);return v&&(x=f.createElement(ee.Provider,{value:Yt},x)),W.warning&&(x=f.createElement(lo.Provider,{value:W.warning},x)),I!==void 0&&(x=f.createElement(Mo,{disabled:I},x)),f.createElement(C.Provider,{value:W},x)},ne=e=>{let o=f.useContext(C),t=f.useContext(J);return f.createElement(en,{parentContext:o,legacyLocale:t,...e})};ne.ConfigContext=C;ne.SizeContext=te;ne.config=Zr;ne.useConfig=$o;Object.defineProperty(ne,"SizeContext",{get:()=>(te)});var on=e=>{let{prefixCls:o,className:t,style:n,size:r,shape:c}=e,a=Qe({[`${o}-lg`]:r==="large",[`${o}-sm`]:r==="small"}),i=Qe({[`${o}-circle`]:c==="circle",[`${o}-square`]:c==="square",[`${o}-round`]:c==="round"}),l=f.useMemo(()=>typeof r=="number"?{width:r,height:r,lineHeight:`${r}px`}:{},[r]);return f.createElement("span",{className:Qe(o,a,i,t),style:{...l,...n}})},A=on;var nn=new Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),ve=e=>({height:e,lineHeight:unit(e)}),U=e=>({width:e,...ve(e)}),an=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:nn,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),Ye=(e,o)=>({width:o(e).mul(5).equal(),minWidth:o(e).mul(5).equal(),...ve(e)}),ln=e=>{let{skeletonAvatarCls:o,gradientFromColor:t,controlHeight:n,controlHeightLG:r,controlHeightSM:c}=e;return {[o]:{display:"inline-block",verticalAlign:"top",background:t,...U(n)},[`${o}${o}-circle`]:{borderRadius:"50%"},[`${o}${o}-lg`]:{...U(r)},[`${o}${o}-sm`]:{...U(c)}}},sn=e=>{let{controlHeight:o,borderRadiusSM:t,skeletonInputCls:n,controlHeightLG:r,controlHeightSM:c,gradientFromColor:a,calc:i}=e;return {[n]:{display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,...Ye(o,i)},[`${n}-lg`]:{...Ye(r,i)},[`${n}-sm`]:{...Ye(c,i)}}},Xo=e=>({width:e,...ve(e)}),cn=e=>{let{skeletonImageCls:o,imageSizeBase:t,gradientFromColor:n,borderRadiusSM:r,calc:c}=e;return {[o]:{display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:n,borderRadius:r,...Xo(c(t).mul(2).equal()),[`${o}-path`]:{fill:"#bfbfbf"},[`${o}-svg`]:{...Xo(t),maxWidth:c(t).mul(4).equal(),maxHeight:c(t).mul(4).equal()},[`${o}-svg${o}-svg-circle`]:{borderRadius:"50%"}},[`${o}${o}-circle`]:{borderRadius:"50%"}}},Je=(e,o,t)=>{let{skeletonButtonCls:n}=e;return {[`${t}${n}-circle`]:{width:o,minWidth:o,borderRadius:"50%"},[`${t}${n}-round`]:{borderRadius:o}}},Ze=(e,o)=>({width:o(e).mul(2).equal(),minWidth:o(e).mul(2).equal(),...ve(e)}),pn=e=>{let{borderRadiusSM:o,skeletonButtonCls:t,controlHeight:n,controlHeightLG:r,controlHeightSM:c,gradientFromColor:a,calc:i}=e;return {[t]:{display:"inline-block",verticalAlign:"top",background:a,borderRadius:o,width:i(n).mul(2).equal(),minWidth:i(n).mul(2).equal(),...Ze(n,i)},...Je(e,n,t),[`${t}-lg`]:{...Ze(r,i)},...Je(e,r,`${t}-lg`),[`${t}-sm`]:{...Ze(c,i)},...Je(e,c,`${t}-sm`)}},mn=e=>{let{componentCls:o,skeletonAvatarCls:t,skeletonTitleCls:n,skeletonParagraphCls:r,skeletonButtonCls:c,skeletonInputCls:a,skeletonImageCls:i,controlHeight:l,controlHeightLG:s,controlHeightSM:p,gradientFromColor:m,padding:g,marginSM:d,borderRadius:y,titleHeight:S,blockRadius:L,paragraphLiHeight:k,controlHeightXS:N,paragraphMarginTop:v}=e;return {[o]:{display:"table",width:"100%",[`${o}-header`]:{display:"table-cell",paddingInlineEnd:g,verticalAlign:"top",[t]:{display:"inline-block",verticalAlign:"top",background:m,...U(l)},[`${t}-circle`]:{borderRadius:"50%"},[`${t}-lg`]:{...U(s)},[`${t}-sm`]:{...U(p)}},[`${o}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[n]:{width:"100%",height:S,background:m,borderRadius:L,[`+ ${r}`]:{marginBlockStart:p}},[r]:{padding:0,"> li":{width:"100%",height:k,listStyle:"none",background:m,borderRadius:L,"+ li":{marginBlockStart:N}}},[`${r}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${o}-content`]:{[`${n}, ${r} > li`]:{borderRadius:y}}},[`${o}-with-avatar ${o}-content`]:{[n]:{marginBlockStart:d,[`+ ${r}`]:{marginBlockStart:v}}},[`${o}${o}-element`]:{display:"inline-block",width:"auto",...pn(e),...ln(e),...sn(e),...cn(e)},[`${o}${o}-block`]:{width:"100%",[c]:{width:"100%"},[a]:{width:"100%"}},[`${o}${o}-active`]:{[`
|
|
41
|
-
${n},
|
|
42
|
-
${r} > li,
|
|
43
|
-
${t},
|
|
44
|
-
${c},
|
|
45
|
-
${a},
|
|
46
|
-
${i}
|
|
47
|
-
`]:{...an(e)}}}},gn=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}},b=_e("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 [mn(n)]},gn,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]});var Cn=e=>{let{prefixCls:o,className:t,rootClassName:n,active:r,shape:c="circle",size:a="default"}=e,{getPrefixCls:i}=f.useContext(C),l=i("skeleton",o),[s,p,m]=b(l),g=fn(e,["prefixCls","className"]),d=Qe(l,`${l}-element`,{[`${l}-active`]:r},t,n,p,m);return s(f.createElement("div",{className:d},f.createElement(A,{prefixCls:`${l}-avatar`,shape:c,size:a,...g})))},Uo=Cn;var Sn=e=>{let{prefixCls:o,className:t,rootClassName:n,active:r,block:c=false,size:a="default"}=e,{getPrefixCls:i}=f.useContext(C),l=i("skeleton",o),[s,p,m]=b(l),g=fn(e,["prefixCls"]),d=Qe(l,`${l}-element`,{[`${l}-active`]:r,[`${l}-block`]:c},t,n,p,m);return s(f.createElement("div",{className:d},f.createElement(A,{prefixCls:`${l}-button`,size:a,...g})))},_o=Sn;var xn="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",kn=e=>{let{prefixCls:o,className:t,rootClassName:n,style:r,active:c}=e,{getPrefixCls:a}=f.useContext(C),i=a("skeleton",o),[l,s,p]=b(i),m=Qe(i,`${i}-element`,{[`${i}-active`]:c},t,n,s,p);return l(f.createElement("div",{className:m},f.createElement("div",{className:Qe(`${i}-image`,t),style:r},f.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${i}-image-svg`},f.createElement("title",null,"Image placeholder"),f.createElement("path",{d:xn,className:`${i}-image-path`})))))},Ko=kn;var bn=e=>{let{prefixCls:o,className:t,rootClassName:n,active:r,block:c,size:a="default"}=e,{getPrefixCls:i}=f.useContext(C),l=i("skeleton",o),[s,p,m]=b(l),g=fn(e,["prefixCls"]),d=Qe(l,`${l}-element`,{[`${l}-active`]:r,[`${l}-block`]:c},t,n,p,m);return s(f.createElement("div",{className:d},f.createElement(A,{prefixCls:`${l}-input`,size:a,...g})))},Qo=bn;var Tn=e=>{let{prefixCls:o,className:t,rootClassName:n,style:r,active:c,children:a}=e,{getPrefixCls:i}=f.useContext(C),l=i("skeleton",o),[s,p,m]=b(l),g=Qe(l,`${l}-element`,{[`${l}-active`]:c},p,t,n,m);return s(f.createElement("div",{className:g},f.createElement("div",{className:Qe(`${l}-image`,t),style:r},a)))},Jo=Tn;var Mn=(e,o)=>{let{width:t,rows:n=2}=o;if(Array.isArray(t))return t[e];if(n-1===e)return t},Rn=e=>{let{prefixCls:o,className:t,style:n,rows:r}=e,c=[...new Array(r)].map((a,i)=>f.createElement("li",{key:i,style:{width:Mn(i,e)}}));return f.createElement("ul",{className:Qe(o,t),style:n},c)},Zo=Rn;var Ln=({prefixCls:e,className:o,width:t,style:n})=>f.createElement("h3",{className:Qe(e,o),style:{width:t,...n}}),ot=Ln;function oo(e){return e&&typeof e=="object"?e:{}}function An(e,o){return e&&!o?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function zn(e,o){return !e&&o?{width:"38%"}:e&&o?{width:"50%"}:{}}function Nn(e,o){let t={};return (!e||!o)&&(t.width="61%"),!e&&o?t.rows=3:t.rows=2,t}var _=e=>{let{prefixCls:o,loading:t,className:n,rootClassName:r,style:c,children:a,avatar:i=false,title:l=true,paragraph:s=true,active:p,round:m}=e,{getPrefixCls:g,direction:d,skeleton:y}=f.useContext(C),S=g("skeleton",o),[L,k,N]=b(S);if(t||!("loading"in e)){let v=!!i,I=!!l,H=!!s,ce;if(v){let D={prefixCls:`${S}-avatar`,...An(I,H),...oo(i)};ce=f.createElement("div",{className:`${S}-header`},f.createElement(A,{...D}));}let pe;if(I||H){let D;if(I){let q={prefixCls:`${S}-title`,...zn(v,H),...oo(l)};D=f.createElement(ot,{...q});}let me;if(H){let q={prefixCls:`${S}-paragraph`,...Nn(v,I),...oo(s)};me=f.createElement(Zo,{...q});}pe=f.createElement("div",{className:`${S}-content`},D,me);}let Me=Qe(S,{[`${S}-with-avatar`]:v,[`${S}-active`]:p,[`${S}-rtl`]:d==="rtl",[`${S}-round`]:m},y?.className,n,r,k,N);return L(f.createElement("div",{className:Me,style:{...y?.style,...c}},ce,pe))}return a??null};_.Button=_o;_.Avatar=Uo;_.Input=Qo;_.Image=Ko;_.Node=Jo;var vs=_;
|
|
48
|
-
export{vs as default};
|
package/es/skeleton/Title.d.ts
DELETED
package/es/skeleton/Title.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import*as e from'react';import i from'classnames';var l=({prefixCls:t,className:s,width:r,style:a})=>e.createElement("h3",{className:i(t,s),style:{width:r,...a}}),c=l;export{c as default};
|
package/es/skeleton/index.d.ts
DELETED
package/es/skeleton/index.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import*as f from'react';import f__default,{createContext,useContext}from'react';import Qe from'classnames';import {createTheme,Keyframes,useCacheToken,unit,useStyleRegister}from'@ant-design/cssinjs';import Xr from'@ant-design/icons/lib/components/Context';import Vr from'rc-util/lib/hooks/useMemo';import {merge}from'rc-util/lib/utils/set';import'rc-util/lib/warning';import'rc-pagination/lib/locale/en_US';import nr from'rc-picker/lib/locale/en_US';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';import hr from'rc-util/lib/Dom/canUseDom';import {updateCSS}from'rc-util/lib/Dom/dynamicCSS';import jr from'rc-util/lib/isEqual';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import {Provider}from'rc-motion';import Cn from'rc-util/lib/omit';function ao(){}var or=ao,lo=f.createContext({}),de=()=>{let e=()=>{};return e.deprecated=ao,e},Y=or;var so=createContext(void 0);({lang:{...nr}});var h="${label} is not a valid ${type}",lr={Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Form:{defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:h,method:h,array:h,object:h,number:h,date:h,boolean:h,integer:h,float:h,regexp:h,email:h,url:h,hex:h},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}"}}}},E=lr;({...E.Modal});var ue=[],po=()=>ue.reduce((e,o)=>({...e,...o}),E.Modal);function mo(e){if(e){let o={...e};return ue.push(o),po(),()=>{ue=ue.filter(t=>t!==o),po();}}({...E.Modal});}var cr=createContext(void 0),J=cr;var fo="internalMark",pr=e=>{let{locale:o={},children:t,_ANT_MARK__:n}=e;f.useEffect(()=>mo(o?.Modal),[o]);let r=f.useMemo(()=>({...o,exist:true}),[o]);return f.createElement(J.Provider,{value:r},t)},Co=pr;var ze={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"},mr={...ze,colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
2
|
-
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
3
|
-
'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:false,motion:true},R=mr;function Ie(e,{generateColorPalettes:o,generateNeutralColorPalettes:t}){let{colorSuccess:n,colorWarning:r,colorError:c,colorInfo:a,colorPrimary:i,colorBgBase:l,colorTextBase:s}=e,p=o(i),m=o(n),g=o(r),d=o(c),y=o(a),S=t(l,s),L=e.colorLink||e.colorInfo,k=o(L),N=new TinyColor(d[1]).mix(new TinyColor(d[3]),50).toHexString();return {...S,colorPrimaryBg:p[1],colorPrimaryBgHover:p[2],colorPrimaryBorder:p[3],colorPrimaryBorderHover:p[4],colorPrimaryHover:p[5],colorPrimary:p[6],colorPrimaryActive:p[7],colorPrimaryTextHover:p[8],colorPrimaryText:p[9],colorPrimaryTextActive:p[10],colorSuccessBg:m[1],colorSuccessBgHover:m[2],colorSuccessBorder:m[3],colorSuccessBorderHover:m[4],colorSuccessHover:m[4],colorSuccess:m[6],colorSuccessActive:m[7],colorSuccessTextHover:m[8],colorSuccessText:m[9],colorSuccessTextActive:m[10],colorErrorBg:d[1],colorErrorBgHover:d[2],colorErrorBgFilledHover:N,colorErrorBgActive:d[3],colorErrorBorder:d[3],colorErrorBorderHover:d[4],colorErrorHover:d[5],colorError:d[6],colorErrorActive:d[7],colorErrorTextHover:d[8],colorErrorText:d[9],colorErrorTextActive:d[10],colorWarningBg:g[1],colorWarningBgHover:g[2],colorWarningBorder:g[3],colorWarningBorderHover:g[4],colorWarningHover:g[4],colorWarning:g[6],colorWarningActive:g[7],colorWarningTextHover:g[8],colorWarningText:g[9],colorWarningTextActive:g[10],colorInfoBg:y[1],colorInfoBgHover:y[2],colorInfoBorder:y[3],colorInfoBorderHover:y[4],colorInfoHover:y[4],colorInfo:y[6],colorInfoActive:y[7],colorInfoTextHover:y[8],colorInfoText:y[9],colorInfoTextActive:y[10],colorLinkHover:k[4],colorLink:k[6],colorLinkActive:k[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var gr=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}},uo=gr;function Ee(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,...uo(n)}}var dr=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},yo=dr;function So(e){return (e+8)/e}function He(e){let o=new Array(10).fill(null).map((t,n)=>{let r=n-1,c=e*Math.E**(r/5),a=n>1?Math.floor(c):Math.ceil(c);return Math.floor(a/2)*2});return o[1]=e,o.map(t=>({size:t,lineHeight:So(t)}))}var fr=e=>{let o=He(e),t=o.map(p=>p.size),n=o.map(p=>p.lineHeight),r=t[1],c=t[0],a=t[2],i=n[1],l=n[0],s=n[2];return {fontSizeSM:c,fontSize:r,fontSizeLG:a,fontSizeXL:t[3],fontSizeHeading1:t[6],fontSizeHeading2:t[5],fontSizeHeading3:t[4],fontSizeHeading4:t[3],fontSizeHeading5:t[2],lineHeight:i,lineHeightLG:s,lineHeightSM:l,fontHeight:Math.round(i*r),fontHeightLG:Math.round(s*a),fontHeightSM:Math.round(l*c),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},xo=fr;function De(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 P=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),j=(e,o)=>new TinyColor(e).darken(o).toHexString();var ho=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]}},Po=(e,o)=>{let t=e||"#fff",n=o||"#000";return {colorBgBase:t,colorTextBase:n,colorText:P(n,.88),colorTextSecondary:P(n,.65),colorTextTertiary:P(n,.45),colorTextQuaternary:P(n,.25),colorFill:P(n,.15),colorFillSecondary:P(n,.06),colorFillTertiary:P(n,.04),colorFillQuaternary:P(n,.02),colorBgSolid:P(n,1),colorBgSolidHover:P(n,.75),colorBgSolidActive:P(n,.95),colorBgLayout:j(t,4),colorBgContainer:j(t,0),colorBgElevated:j(t,0),colorBgSpotlight:P(n,.85),colorBgBlur:"transparent",colorBorder:j(t,15),colorBorderSecondary:j(t,6)}};function Be(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys(ze).map(t=>{let n=e[t]===presetPrimaryColors[t]?presetPalettes[t]:generate(e[t]);return new Array(10).fill(1).reduce((r,c,a)=>(r[`${t}-${a+1}`]=n[a],r[`${t}${a+1}`]=n[a],r),{})}).reduce((t,n)=>(t={...t,...n},t),{});return {...e,...o,...Ie(e,{generateColorPalettes:ho,generateNeutralColorPalettes:Po}),...xo(e.fontSize),...De(e),...yo(e),...Ee(e)}}var ye=createTheme(Be),Z={token:R,override:{override:R},hashed:true},ee=f__default.createContext(Z);var Se="ant",oe="anticon";var xr=(e,o)=>o||(e?`${Se}-${e}`:Se),C=f.createContext({getPrefixCls:xr,iconPrefixCls:oe}),{Consumer:kr}=C;var br=`-ant-${Date.now()}-${Math.random()}`;function Tr(e,o){let t={},n=(a,i)=>{let l=a.clone();return l=i?.(l)||l,l.toRgbString()},r=(a,i)=>{let l=new TinyColor(a),s=generate(l.toRgbString());t[`${i}-color`]=n(l),t[`${i}-color-disabled`]=s[1],t[`${i}-color-hover`]=s[4],t[`${i}-color-active`]=s[6],t[`${i}-color-outline`]=l.clone().setAlpha(.2).toRgbString(),t[`${i}-color-deprecated-bg`]=s[0],t[`${i}-color-deprecated-border`]=s[2];};if(o.primaryColor){r(o.primaryColor,"primary");let a=new TinyColor(o.primaryColor),i=generate(a.toRgbString());i.forEach((s,p)=>{t[`primary-${p+1}`]=s;}),t["primary-color-deprecated-l-35"]=n(a,s=>s.lighten(35)),t["primary-color-deprecated-l-20"]=n(a,s=>s.lighten(20)),t["primary-color-deprecated-t-20"]=n(a,s=>s.tint(20)),t["primary-color-deprecated-t-50"]=n(a,s=>s.tint(50)),t["primary-color-deprecated-f-12"]=n(a,s=>s.setAlpha(s.getAlpha()*.12));let l=new TinyColor(i[0]);t["primary-color-active-deprecated-f-30"]=n(l,s=>s.setAlpha(s.getAlpha()*.3)),t["primary-color-active-deprecated-d-02"]=n(l,s=>s.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 vo(e,o){let t=Tr(e,o);hr()?updateCSS(t,`${br}-dynamic-theme`):Y();}var Ve=f.createContext(false),Mo=({children:e,disabled:o})=>{let t=f.useContext(Ve);return f.createElement(Ve.Provider,{value:o??t},e)},Ro=Ve;var je=f.createContext(void 0),wo=({children:e,size:o})=>{let t=f.useContext(je);return f.createElement(je.Provider,{value:o||t},e)},te=je;function vr(){let e=useContext(Ro),o=useContext(te);return {componentDisabled:e,componentSize:o}}var $o=vr;var zo={version:"0.0.2"};var No=zo.version;function Ge(e){return e>=0&&e<=255}function Rr(e,o){let{r:t,g:n,b:r,a:c}=new TinyColor(e).toRgb();if(c<1)return e;let{r:a,g:i,b:l}=new TinyColor(o).toRgb();for(let s=.01;s<=1;s+=.01){let p=Math.round((t-a*(1-s))/s),m=Math.round((n-i*(1-s))/s),g=Math.round((r-l*(1-s))/s);if(Ge(p)&&Ge(m)&&Ge(g))return new TinyColor({r:p,g:m,b:g,a:Math.round(s*100)/100}).toRgbString()}return new TinyColor({r:t,g:n,b:r,a:1}).toRgbString()}var re=Rr;function ke(e){let{override:o,...t}=e,n={...o};Object.keys(R).forEach(g=>{delete n[g];});let r={...t,...n},c=480,a=576,i=768,l=992,s=1200,p=1600;return r.motion===false&&(r.motionDurationFast="0s",r.motionDurationMid="0s",r.motionDurationSlow="0s"),{...r,colorFillContent:r.colorFillSecondary,colorFillContentHover:r.colorFill,colorFillAlter:r.colorFillQuaternary,colorBgContainerDisabled:r.colorFillTertiary,colorBorderBg:r.colorBgContainer,colorSplit:re(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:re(r.colorErrorBg,r.colorBgContainer),colorWarningOutline:re(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:re(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:c,screenXSMin:c,screenXSMax:a-1,screenSM:a,screenSMMin:a,screenSMMax:i-1,screenMD:i,screenMDMin:i,screenMDMax:l-1,screenLG:l,screenLGMin:l,screenLGMax:s-1,screenXL:s,screenXLMin:s,screenXLMax:p-1,screenXXL:p,screenXXLMin:p,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
|
21
|
-
0 1px 2px -2px ${new TinyColor("rgba(0, 0, 0, 0.16)").toRgbString()},
|
|
22
|
-
0 3px 6px 0 ${new TinyColor("rgba(0, 0, 0, 0.12)").toRgbString()},
|
|
23
|
-
0 5px 12px 4px ${new TinyColor("rgba(0, 0, 0, 0.09)").toRgbString()}
|
|
24
|
-
`,boxShadowDrawerRight:`
|
|
25
|
-
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
26
|
-
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
27
|
-
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
28
|
-
`,boxShadowDrawerLeft:`
|
|
29
|
-
6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
30
|
-
3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
31
|
-
9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
32
|
-
`,boxShadowDrawerUp:`
|
|
33
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
34
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
35
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
36
|
-
`,boxShadowDrawerDown:`
|
|
37
|
-
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
38
|
-
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
39
|
-
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
40
|
-
`,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)",...n}}var Ue={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},$r={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},Ar={screenXS:true,screenXSMin:true,screenXSMax:true,screenSM:true,screenSMMin:true,screenSMMax:true,screenMD:true,screenMDMin:true,screenMDMax:true,screenLG:true,screenLGMin:true,screenLGMax:true,screenXL:true,screenXLMin:true,screenXLMax:true,screenXXL:true,screenXXLMin:true},Io=(e,o,t)=>{let n=t.getDerivativeToken(e),{override:r,...c}=o,a={...n,override:r};return a=ke(a),c&&Object.entries(c).forEach(([i,l])=>{let{theme:s,...p}=l,m=p;s&&(m=Io({...a,...p},{override:p},s)),a[i]=m;}),a};function $(){let{token:e,hashed:o,theme:t,override:n,cssVar:r}=f__default.useContext(ee),c=`${No}-${o||""}`,a=t||ye,[i,l,s]=useCacheToken(a,[R,e],{salt:c,override:n,getComputedToken:Io,formatToken:ke,cssVar:r&&{prefix:r.prefix,key:r.key,unitless:Ue,ignore:$r,preserve:Ar}});return [a,s,o?l:"",i,r]}var zr=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}});var Eo=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"}}}),Ho=(e,o,t,n)=>{let r=`[class^="${o}"], [class*=" ${o}"]`,c=t?`.${t}`:r,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},i={};return n!==false&&(i={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[c]:{...i,...a,[r]:a}}};var he=e=>({[`.${e}`]:{...zr(),[`.${e} .${e}-icon`]:{display:"block"}}});var{genStyleHooks:_e,genComponentStyleHook:Ir,genSubStyleComponent:Er}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:o}=useContext(C);return {rootPrefixCls:e(),iconPrefixCls:o}},useToken:()=>{let[e,o,t,n,r]=$();return {theme:e,realToken:o,hashId:t,token:n,cssVar:r}},useCSP:()=>{let{csp:e}=useContext(C);return e??{}},getResetStyles:(e,o)=>[{"&":Eo(e)},he(o?.prefix.iconPrefixCls??oe)],getCommonStyle:Ho,getCompUnitless:(()=>Ue)});var Dr=(e,o)=>{let[t,n]=$();return useStyleRegister({theme:t,token:n,hashId:"",path:["ant-design-icons",e],nonce:()=>o?.nonce,layer:{name:"antd"}},()=>[he(e)])},Pe=Dr;var Wr={...f},{useId:Wo}=Wr,Br=()=>"",Or=typeof Wo>"u"?Br:Wo,Bo=Or;function qe(e,o,t){de();let r=e||{},c=r.inherit===false||!o?{...Z,hashed:o?.hashed??Z.hashed,cssVar:o?.cssVar}:o,a=Bo();return Vr(()=>{if(!e)return o;let i={...c.components};Object.keys(e.components||{}).forEach(p=>{i[p]={...i[p],...e.components[p]};});let l=`css-var-${a.replace(/:/g,"")}`,s=(r.cssVar??c.cssVar)&&{prefix:t?.prefixCls,...typeof c.cssVar=="object"?c.cssVar:{},...typeof r.cssVar=="object"?r.cssVar:{},key:typeof r.cssVar=="object"&&r.cssVar?.key||l};return {...c,...r,token:{...c.token,...r.token},components:i,cssVar:s}},[r,c],(i,l)=>i.some((s,p)=>{let m=l[p];return !jr(s,m,true)}))}function Ke(e){let{children:o}=e,[,t]=$(),{motion:n}=t,r=f.useRef(false);return r.current=r.current||n===false,r.current?f.createElement(Provider,{motion:n},o):o}f.memo(({dropdownMatchSelectWidth:e})=>(de().deprecated(e===void 0,"dropdownMatchSelectWidth","popupMatchSelectWidth"),null));var Vo=()=>null;var qr=["getTargetContainer","getPopupContainer","renderEmpty","input","pagination","form","select","button"],Go;function Jr(){return Go||Se}function Zr(e){return Object.keys(e).some(o=>o.endsWith("Color"))}var en=e=>{let{prefixCls:o,iconPrefixCls:t,theme:n,holderRender:r}=e;o!==void 0&&(Go=o),n&&(Zr(n)?(vo(Jr(),n)):n);};var on=e=>{let{children:o,csp:t,autoInsertSpaceInButton:n,alert:r,anchor:c,form:a,locale:i,componentSize:l,direction:s,space:p,splitter:m,virtual:g,dropdownMatchSelectWidth:d,popupMatchSelectWidth:y,popupOverflow:S,legacyLocale:L,parentContext:k,iconPrefixCls:N,theme:v,componentDisabled:I,segmented:H,statistic:ce,spin:pe,calendar:Me,carousel:D,cascader:me,collapse:q,typography:rt,checkbox:nt,descriptions:it,divider:at,drawer:lt,skeleton:st,steps:ct,image:pt,layout:mt,list:gt,mentions:dt,modal:ft,progress:Ct,result:ut,slider:yt,breadcrumb:St,menu:xt,pagination:kt,input:ht,textArea:Pt,empty:bt,badge:Tt,radio:vt,rate:Mt,switch:Rt,transfer:wt,avatar:Lt,message:$t,tag:At,table:zt,card:Nt,tabs:It,timeline:Et,timePicker:Ht,upload:Dt,notification:Ft,tree:Wt,colorPicker:Bt,datePicker:Ot,rangePicker:Vt,flex:jt,wave:Gt,dropdown:Xt,warning:Ut,tour:_t,variant:qt,inputNumber:Kt,treeSelect:Qt}=e,to=f.useCallback((u,T)=>{let{prefixCls:B}=e;if(T)return T;let O=B||k.getPrefixCls("");return u?`${O}-${u}`:O},[k.getPrefixCls,e.prefixCls]),K=N||k.iconPrefixCls||oe,Q=t||k.csp;Pe(K,Q);let Re=qe(v,k.theme,{prefixCls:to("")}),we={csp:Q,autoInsertSpaceInButton:n,alert:r,anchor:c,locale:i||L,direction:s,space:p,splitter:m,virtual:g,popupMatchSelectWidth:y??d,popupOverflow:S,getPrefixCls:to,iconPrefixCls:K,theme:Re,segmented:H,statistic:ce,spin:pe,calendar:Me,carousel:D,cascader:me,collapse:q,typography:rt,checkbox:nt,descriptions:it,divider:at,drawer:lt,skeleton:st,steps:ct,image:pt,input:ht,textArea:Pt,layout:mt,list:gt,mentions:dt,modal:ft,progress:Ct,result:ut,slider:yt,breadcrumb:St,menu:xt,pagination:kt,empty:bt,badge:Tt,radio:vt,rate:Mt,switch:Rt,transfer:wt,avatar:Lt,message:$t,tag:At,table:zt,card:Nt,tabs:It,timeline:Et,timePicker:Ht,upload:Dt,notification:Ft,tree:Wt,colorPicker:Bt,datePicker:Ot,rangePicker:Vt,flex:jt,wave:Gt,dropdown:Xt,warning:Ut,tour:_t,variant:qt,inputNumber:Kt,treeSelect:Qt},F={...k};Object.keys(we).forEach(u=>{we[u]!==void 0&&(F[u]=we[u]);}),qr.forEach(u=>{let T=e[u];T&&(F[u]=T);}),typeof n<"u"&&(F.button={autoInsertSpace:n,...F.button});let W=Vr(()=>F,F,(u,T)=>{let B=Object.keys(u),O=Object.keys(T);return B.length!==O.length||B.some(ge=>u[ge]!==T[ge])}),Yt=f.useMemo(()=>({prefixCls:K,csp:Q}),[K,Q]),x=f.createElement(f.Fragment,null,f.createElement(Vo,{dropdownMatchSelectWidth:d}),o),ro=f.useMemo(()=>merge(E.Form?.defaultValidateMessages||{},W.locale?.Form?.defaultValidateMessages||{},W.form?.validateMessages||{},a?.validateMessages||{}),[W,a?.validateMessages]);Object.keys(ro).length>0&&(x=f.createElement(so.Provider,{value:ro},x)),i&&(x=f.createElement(Co,{locale:i,_ANT_MARK__:fo},x)),(x=f.createElement(Xr.Provider,{value:Yt},x)),l&&(x=f.createElement(wo,{size:l},x)),x=f.createElement(Ke,null,x);let Jt=f.useMemo(()=>{let{algorithm:u,token:T,components:B,cssVar:O,...ge}=Re||{},no=u&&(!Array.isArray(u)||u.length>0)?createTheme(u):ye,Le={};Object.entries(B||{}).forEach(([Zt,er])=>{let M={...er};"algorithm"in M&&(M.algorithm===true?M.theme=no:(Array.isArray(M.algorithm)||typeof M.algorithm=="function")&&(M.theme=createTheme(M.algorithm)),delete M.algorithm),Le[Zt]=M;});let io={...R,...T};return {...ge,theme:no,token:io,components:Le,override:{override:io,...Le},cssVar:O}},[Re]);return v&&(x=f.createElement(ee.Provider,{value:Jt},x)),W.warning&&(x=f.createElement(lo.Provider,{value:W.warning},x)),I!==void 0&&(x=f.createElement(Mo,{disabled:I},x)),f.createElement(C.Provider,{value:W},x)},ne=e=>{let o=f.useContext(C),t=f.useContext(J);return f.createElement(on,{parentContext:o,legacyLocale:t,...e})};ne.ConfigContext=C;ne.SizeContext=te;ne.config=en;ne.useConfig=$o;Object.defineProperty(ne,"SizeContext",{get:()=>(te)});var tn=e=>{let{prefixCls:o,className:t,style:n,size:r,shape:c}=e,a=Qe({[`${o}-lg`]:r==="large",[`${o}-sm`]:r==="small"}),i=Qe({[`${o}-circle`]:c==="circle",[`${o}-square`]:c==="square",[`${o}-round`]:c==="round"}),l=f.useMemo(()=>typeof r=="number"?{width:r,height:r,lineHeight:`${r}px`}:{},[r]);return f.createElement("span",{className:Qe(o,a,i,t),style:{...l,...n}})},A=tn;var an=new Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),ve=e=>({height:e,lineHeight:unit(e)}),U=e=>({width:e,...ve(e)}),ln=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:an,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),Ye=(e,o)=>({width:o(e).mul(5).equal(),minWidth:o(e).mul(5).equal(),...ve(e)}),sn=e=>{let{skeletonAvatarCls:o,gradientFromColor:t,controlHeight:n,controlHeightLG:r,controlHeightSM:c}=e;return {[o]:{display:"inline-block",verticalAlign:"top",background:t,...U(n)},[`${o}${o}-circle`]:{borderRadius:"50%"},[`${o}${o}-lg`]:{...U(r)},[`${o}${o}-sm`]:{...U(c)}}},cn=e=>{let{controlHeight:o,borderRadiusSM:t,skeletonInputCls:n,controlHeightLG:r,controlHeightSM:c,gradientFromColor:a,calc:i}=e;return {[n]:{display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,...Ye(o,i)},[`${n}-lg`]:{...Ye(r,i)},[`${n}-sm`]:{...Ye(c,i)}}},Xo=e=>({width:e,...ve(e)}),pn=e=>{let{skeletonImageCls:o,imageSizeBase:t,gradientFromColor:n,borderRadiusSM:r,calc:c}=e;return {[o]:{display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:n,borderRadius:r,...Xo(c(t).mul(2).equal()),[`${o}-path`]:{fill:"#bfbfbf"},[`${o}-svg`]:{...Xo(t),maxWidth:c(t).mul(4).equal(),maxHeight:c(t).mul(4).equal()},[`${o}-svg${o}-svg-circle`]:{borderRadius:"50%"}},[`${o}${o}-circle`]:{borderRadius:"50%"}}},Je=(e,o,t)=>{let{skeletonButtonCls:n}=e;return {[`${t}${n}-circle`]:{width:o,minWidth:o,borderRadius:"50%"},[`${t}${n}-round`]:{borderRadius:o}}},Ze=(e,o)=>({width:o(e).mul(2).equal(),minWidth:o(e).mul(2).equal(),...ve(e)}),mn=e=>{let{borderRadiusSM:o,skeletonButtonCls:t,controlHeight:n,controlHeightLG:r,controlHeightSM:c,gradientFromColor:a,calc:i}=e;return {[t]:{display:"inline-block",verticalAlign:"top",background:a,borderRadius:o,width:i(n).mul(2).equal(),minWidth:i(n).mul(2).equal(),...Ze(n,i)},...Je(e,n,t),[`${t}-lg`]:{...Ze(r,i)},...Je(e,r,`${t}-lg`),[`${t}-sm`]:{...Ze(c,i)},...Je(e,c,`${t}-sm`)}},gn=e=>{let{componentCls:o,skeletonAvatarCls:t,skeletonTitleCls:n,skeletonParagraphCls:r,skeletonButtonCls:c,skeletonInputCls:a,skeletonImageCls:i,controlHeight:l,controlHeightLG:s,controlHeightSM:p,gradientFromColor:m,padding:g,marginSM:d,borderRadius:y,titleHeight:S,blockRadius:L,paragraphLiHeight:k,controlHeightXS:N,paragraphMarginTop:v}=e;return {[o]:{display:"table",width:"100%",[`${o}-header`]:{display:"table-cell",paddingInlineEnd:g,verticalAlign:"top",[t]:{display:"inline-block",verticalAlign:"top",background:m,...U(l)},[`${t}-circle`]:{borderRadius:"50%"},[`${t}-lg`]:{...U(s)},[`${t}-sm`]:{...U(p)}},[`${o}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[n]:{width:"100%",height:S,background:m,borderRadius:L,[`+ ${r}`]:{marginBlockStart:p}},[r]:{padding:0,"> li":{width:"100%",height:k,listStyle:"none",background:m,borderRadius:L,"+ li":{marginBlockStart:N}}},[`${r}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${o}-content`]:{[`${n}, ${r} > li`]:{borderRadius:y}}},[`${o}-with-avatar ${o}-content`]:{[n]:{marginBlockStart:d,[`+ ${r}`]:{marginBlockStart:v}}},[`${o}${o}-element`]:{display:"inline-block",width:"auto",...mn(e),...sn(e),...cn(e),...pn(e)},[`${o}${o}-block`]:{width:"100%",[c]:{width:"100%"},[a]:{width:"100%"}},[`${o}${o}-active`]:{[`
|
|
41
|
-
${n},
|
|
42
|
-
${r} > li,
|
|
43
|
-
${t},
|
|
44
|
-
${c},
|
|
45
|
-
${a},
|
|
46
|
-
${i}
|
|
47
|
-
`]:{...ln(e)}}}},dn=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}},b=_e("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 [gn(n)]},dn,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]});var un=e=>{let{prefixCls:o,className:t,rootClassName:n,active:r,shape:c="circle",size:a="default"}=e,{getPrefixCls:i}=f.useContext(C),l=i("skeleton",o),[s,p,m]=b(l),g=Cn(e,["prefixCls","className"]),d=Qe(l,`${l}-element`,{[`${l}-active`]:r},t,n,p,m);return s(f.createElement("div",{className:d},f.createElement(A,{prefixCls:`${l}-avatar`,shape:c,size:a,...g})))},Uo=un;var xn=e=>{let{prefixCls:o,className:t,rootClassName:n,active:r,block:c=false,size:a="default"}=e,{getPrefixCls:i}=f.useContext(C),l=i("skeleton",o),[s,p,m]=b(l),g=Cn(e,["prefixCls"]),d=Qe(l,`${l}-element`,{[`${l}-active`]:r,[`${l}-block`]:c},t,n,p,m);return s(f.createElement("div",{className:d},f.createElement(A,{prefixCls:`${l}-button`,size:a,...g})))},_o=xn;var kn="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",hn=e=>{let{prefixCls:o,className:t,rootClassName:n,style:r,active:c}=e,{getPrefixCls:a}=f.useContext(C),i=a("skeleton",o),[l,s,p]=b(i),m=Qe(i,`${i}-element`,{[`${i}-active`]:c},t,n,s,p);return l(f.createElement("div",{className:m},f.createElement("div",{className:Qe(`${i}-image`,t),style:r},f.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${i}-image-svg`},f.createElement("title",null,"Image placeholder"),f.createElement("path",{d:kn,className:`${i}-image-path`})))))},Ko=hn;var Tn=e=>{let{prefixCls:o,className:t,rootClassName:n,active:r,block:c,size:a="default"}=e,{getPrefixCls:i}=f.useContext(C),l=i("skeleton",o),[s,p,m]=b(l),g=Cn(e,["prefixCls"]),d=Qe(l,`${l}-element`,{[`${l}-active`]:r,[`${l}-block`]:c},t,n,p,m);return s(f.createElement("div",{className:d},f.createElement(A,{prefixCls:`${l}-input`,size:a,...g})))},Qo=Tn;var vn=e=>{let{prefixCls:o,className:t,rootClassName:n,style:r,active:c,children:a}=e,{getPrefixCls:i}=f.useContext(C),l=i("skeleton",o),[s,p,m]=b(l),g=Qe(l,`${l}-element`,{[`${l}-active`]:c},p,t,n,m);return s(f.createElement("div",{className:g},f.createElement("div",{className:Qe(`${l}-image`,t),style:r},a)))},Jo=vn;var Rn=(e,o)=>{let{width:t,rows:n=2}=o;if(Array.isArray(t))return t[e];if(n-1===e)return t},wn=e=>{let{prefixCls:o,className:t,style:n,rows:r}=e,c=[...new Array(r)].map((a,i)=>f.createElement("li",{key:i,style:{width:Rn(i,e)}}));return f.createElement("ul",{className:Qe(o,t),style:n},c)},Zo=wn;var $n=({prefixCls:e,className:o,width:t,style:n})=>f.createElement("h3",{className:Qe(e,o),style:{width:t,...n}}),ot=$n;function oo(e){return e&&typeof e=="object"?e:{}}function zn(e,o){return e&&!o?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Nn(e,o){return !e&&o?{width:"38%"}:e&&o?{width:"50%"}:{}}function In(e,o){let t={};return (!e||!o)&&(t.width="61%"),!e&&o?t.rows=3:t.rows=2,t}var _=e=>{let{prefixCls:o,loading:t,className:n,rootClassName:r,style:c,children:a,avatar:i=false,title:l=true,paragraph:s=true,active:p,round:m}=e,{getPrefixCls:g,direction:d,skeleton:y}=f.useContext(C),S=g("skeleton",o),[L,k,N]=b(S);if(t||!("loading"in e)){let v=!!i,I=!!l,H=!!s,ce;if(v){let D={prefixCls:`${S}-avatar`,...zn(I,H),...oo(i)};ce=f.createElement("div",{className:`${S}-header`},f.createElement(A,{...D}));}let pe;if(I||H){let D;if(I){let q={prefixCls:`${S}-title`,...Nn(v,H),...oo(l)};D=f.createElement(ot,{...q});}let me;if(H){let q={prefixCls:`${S}-paragraph`,...In(v,I),...oo(s)};me=f.createElement(Zo,{...q});}pe=f.createElement("div",{className:`${S}-content`},D,me);}let Me=Qe(S,{[`${S}-with-avatar`]:v,[`${S}-active`]:p,[`${S}-rtl`]:d==="rtl",[`${S}-round`]:m},y?.className,n,r,k,N);return L(f.createElement("div",{className:Me,style:{...y?.style,...c}},ce,pe))}return a??null};_.Button=_o;_.Avatar=Uo;_.Input=Qo;_.Image=Ko;_.Node=Jo;var tt=_;var ws=tt;
|
|
48
|
-
export{ws as default};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import type { GetDefaultToken } from '../../theme/internal';
|
|
2
|
-
export type ComponentToken = {
|
|
3
|
-
/** @deprecated use gradientFromColor instead. */
|
|
4
|
-
color: string;
|
|
5
|
-
/** @deprecated use gradientToColor instead. */
|
|
6
|
-
colorGradientEnd: string;
|
|
7
|
-
/**
|
|
8
|
-
* @desc 渐变色起点颜色
|
|
9
|
-
* @descEN Start color of gradient
|
|
10
|
-
*/
|
|
11
|
-
gradientFromColor: string;
|
|
12
|
-
/**
|
|
13
|
-
* @desc 渐变色终点颜色
|
|
14
|
-
* @descEN End color of gradient
|
|
15
|
-
*/
|
|
16
|
-
gradientToColor: string;
|
|
17
|
-
/**
|
|
18
|
-
* @desc 标题骨架屏高度
|
|
19
|
-
* @descEN Height of title skeleton
|
|
20
|
-
*/
|
|
21
|
-
titleHeight: number | string;
|
|
22
|
-
/**
|
|
23
|
-
* @desc 骨架屏圆角
|
|
24
|
-
* @descEN Border radius of skeleton
|
|
25
|
-
*/
|
|
26
|
-
blockRadius: number;
|
|
27
|
-
/**
|
|
28
|
-
* @desc 段落骨架屏上间距
|
|
29
|
-
* @descEN Margin top of paragraph skeleton
|
|
30
|
-
*/
|
|
31
|
-
paragraphMarginTop: number;
|
|
32
|
-
/**
|
|
33
|
-
* @desc 段落骨架屏单行高度
|
|
34
|
-
* @descEN Line height of paragraph skeleton
|
|
35
|
-
*/
|
|
36
|
-
paragraphLiHeight: number;
|
|
37
|
-
};
|
|
38
|
-
export declare const prepareComponentToken: GetDefaultToken<'Skeleton'>;
|
|
39
|
-
declare const _default: (prefixCls: string, rootCls?: string) => readonly [(node: React.ReactElement) => React.ReactElement, string, string];
|
|
40
|
-
export default _default;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import {createTheme,Keyframes,useCacheToken,unit}from'@ant-design/cssinjs';import {genStyleUtils,mergeToken}from'@ant-design/cssinjs-utils';import*as be from'react';import be__default,{useContext}from'react';import {presetPrimaryColors,presetPalettes,generate}from'@ant-design/colors';import {TinyColor}from'@ctrl/tinycolor';function _(e){return (e+8)/e}function A(e){let o=new Array(10).fill(null).map((r,n)=>{let t=n-1,l=e*Math.E**(t/5),i=n>1?Math.floor(l):Math.ceil(l);return Math.floor(i/2)*2});return o[1]=e,o.map(r=>({size:r,lineHeight:_(r)}))}var K={version:"0.0.2"};var J=K.version;var z={blue:"#1677FF",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#EB2F96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},ue={...z,colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
|
|
2
|
-
'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
3
|
-
'Noto Color Emoji'`,fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:false,motion:true},u=ue;function L(e,{generateColorPalettes:o,generateNeutralColorPalettes:r}){let{colorSuccess:n,colorWarning:t,colorError:l,colorInfo:i,colorPrimary:a,colorBgBase:m,colorTextBase:c}=e,s=o(a),p=o(n),g=o(t),d=o(l),C=o(i),H=r(m,c),b=e.colorLink||e.colorInfo,k=o(b),w=new TinyColor(d[1]).mix(new TinyColor(d[3]),50).toHexString();return {...H,colorPrimaryBg:s[1],colorPrimaryBgHover:s[2],colorPrimaryBorder:s[3],colorPrimaryBorderHover:s[4],colorPrimaryHover:s[5],colorPrimary:s[6],colorPrimaryActive:s[7],colorPrimaryTextHover:s[8],colorPrimaryText:s[9],colorPrimaryTextActive:s[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:d[1],colorErrorBgHover:d[2],colorErrorBgFilledHover:w,colorErrorBgActive:d[3],colorErrorBorder:d[3],colorErrorBorderHover:d[4],colorErrorHover:d[5],colorError:d[6],colorErrorActive:d[7],colorErrorTextHover:d[8],colorErrorText:d[9],colorErrorTextActive:d[10],colorWarningBg:g[1],colorWarningBgHover:g[2],colorWarningBorder:g[3],colorWarningBorderHover:g[4],colorWarningHover:g[4],colorWarning:g[6],colorWarningActive:g[7],colorWarningTextHover:g[8],colorWarningText:g[9],colorWarningTextActive:g[10],colorInfoBg:C[1],colorInfoBgHover:C[2],colorInfoBorder:C[3],colorInfoBorderHover:C[4],colorInfoHover:C[4],colorInfo:C[6],colorInfoActive:C[7],colorInfoTextHover:C[8],colorInfoText:C[9],colorInfoTextActive:C[10],colorLinkHover:k[4],colorLink:k[6],colorLinkActive:k[7],colorBgMask:new TinyColor("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"}}var Se=e=>{let o=e,r=e,n=e,t=e;return e<6&&e>=5?o=e+1:e<16&&e>=6?o=e+2:e>=16&&(o=16),e<7&&e>=5?r=4:e<8&&e>=7?r=5:e<14&&e>=8?r=6:e<16&&e>=14?r=7:e>=16&&(r=8),e<6&&e>=2?n=1:e>=6&&(n=2),e>4&&e<8?t=4:e>=8&&(t=6),{borderRadius:e,borderRadiusXS:n,borderRadiusSM:r,borderRadiusLG:o,borderRadiusOuter:t}},Y=Se;function B(e){let{motionUnit:o,motionBase:r,borderRadius:n,lineWidth:t}=e;return {motionDurationFast:`${(r+o).toFixed(1)}s`,motionDurationMid:`${(r+o*2).toFixed(1)}s`,motionDurationSlow:`${(r+o*3).toFixed(1)}s`,lineWidthBold:t+1,...Y(n)}}var ye=e=>{let{controlHeight:o}=e;return {controlHeightSM:o*.75,controlHeightXS:o*.5,controlHeightLG:o*1.25}},Z=ye;var ke=e=>{let o=A(e),r=o.map(s=>s.size),n=o.map(s=>s.lineHeight),t=r[1],l=r[0],i=r[2],a=n[1],m=n[0],c=n[2];return {fontSizeSM:l,fontSize:t,fontSizeLG:i,fontSizeXL:r[3],fontSizeHeading1:r[6],fontSizeHeading2:r[5],fontSizeHeading3:r[4],fontSizeHeading4:r[3],fontSizeHeading5:r[2],lineHeight:a,lineHeightLG:c,lineHeightSM:m,fontHeight:Math.round(a*t),fontHeightLG:Math.round(c*i),fontHeightSM:Math.round(m*l),lineHeightHeading1:n[6],lineHeightHeading2:n[5],lineHeightHeading3:n[4],lineHeightHeading4:n[3],lineHeightHeading5:n[2]}},ee=ke;function R(e){let{sizeUnit:o,sizeStep:r}=e;return {sizeXXL:o*(r+8),sizeXL:o*(r+4),sizeLG:o*(r+2),sizeMD:o*(r+1),sizeMS:o*r,size:o*r,sizeSM:o*(r-1),sizeXS:o*(r-2),sizeXXS:o*(r-3)}}var f=(e,o)=>new TinyColor(e).setAlpha(o).toRgbString(),S=(e,o)=>new TinyColor(e).darken(o).toHexString();var te=e=>{let o=generate(e);return {1:o[0],2:o[1],3:o[2],4:o[3],5:o[4],6:o[5],7:o[6],8:o[4],9:o[5],10:o[6]}},re=(e,o)=>{let r=e||"#fff",n=o||"#000";return {colorBgBase:r,colorTextBase:n,colorText:f(n,.88),colorTextSecondary:f(n,.65),colorTextTertiary:f(n,.45),colorTextQuaternary:f(n,.25),colorFill:f(n,.15),colorFillSecondary:f(n,.06),colorFillTertiary:f(n,.04),colorFillQuaternary:f(n,.02),colorBgSolid:f(n,1),colorBgSolidHover:f(n,.75),colorBgSolidActive:f(n,.95),colorBgLayout:S(r,4),colorBgContainer:S(r,0),colorBgElevated:S(r,0),colorBgSpotlight:f(n,.85),colorBgBlur:"transparent",colorBorder:S(r,15),colorBorderSecondary:S(r,6)}};function D(e){presetPrimaryColors.pink=presetPrimaryColors.magenta,presetPalettes.pink=presetPalettes.magenta;let o=Object.keys(z).map(r=>{let n=e[r]===presetPrimaryColors[r]?presetPalettes[r]:generate(e[r]);return new Array(10).fill(1).reduce((t,l,i)=>(t[`${r}-${i+1}`]=n[i],t[`${r}${i+1}`]=n[i],t),{})}).reduce((r,n)=>(r={...r,...n},r),{});return {...e,...o,...L(e,{generateColorPalettes:te,generateNeutralColorPalettes:re}),...ee(e.fontSize),...R(e),...Z(e),...B(e)}}var ne=createTheme(D),ie={token:u,override:{override:u},hashed:true},O=be__default.createContext(ie);function G(e){return e>=0&&e<=255}function Pe(e,o){let{r,g:n,b:t,a:l}=new TinyColor(e).toRgb();if(l<1)return e;let{r:i,g:a,b:m}=new TinyColor(o).toRgb();for(let c=.01;c<=1;c+=.01){let s=Math.round((r-i*(1-c))/c),p=Math.round((n-a*(1-c))/c),g=Math.round((t-m*(1-c))/c);if(G(s)&&G(p)&&G(g))return new TinyColor({r:s,g:p,b:g,a:Math.round(c*100)/100}).toRgbString()}return new TinyColor({r,g:n,b:t,a:1}).toRgbString()}var x=Pe;function P(e){let{override:o,...r}=e,n={...o};Object.keys(u).forEach(g=>{delete n[g];});let t={...r,...n},l=480,i=576,a=768,m=992,c=1200,s=1600;return t.motion===false&&(t.motionDurationFast="0s",t.motionDurationMid="0s",t.motionDurationSlow="0s"),{...t,colorFillContent:t.colorFillSecondary,colorFillContentHover:t.colorFill,colorFillAlter:t.colorFillQuaternary,colorBgContainerDisabled:t.colorFillTertiary,colorBorderBg:t.colorBgContainer,colorSplit:x(t.colorBorderSecondary,t.colorBgContainer),colorTextPlaceholder:t.colorTextQuaternary,colorTextDisabled:t.colorTextQuaternary,colorTextHeading:t.colorText,colorTextLabel:t.colorTextSecondary,colorTextDescription:t.colorTextTertiary,colorTextLightSolid:t.colorWhite,colorHighlight:t.colorError,colorBgTextHover:t.colorFillSecondary,colorBgTextActive:t.colorFill,colorIcon:t.colorTextTertiary,colorIconHover:t.colorText,colorErrorOutline:x(t.colorErrorBg,t.colorBgContainer),colorWarningOutline:x(t.colorWarningBg,t.colorBgContainer),fontSizeIcon:t.fontSizeSM,lineWidthFocus:t.lineWidth*3,lineWidth:t.lineWidth,controlOutlineWidth:t.lineWidth*2,controlInteractiveSize:t.controlHeight/2,controlItemBgHover:t.colorFillTertiary,controlItemBgActive:t.colorPrimaryBg,controlItemBgActiveHover:t.colorPrimaryBgHover,controlItemBgActiveDisabled:t.colorFill,controlTmpOutline:t.colorFillQuaternary,controlOutline:x(t.colorPrimaryBg,t.colorBgContainer),lineType:t.lineType,borderRadius:t.borderRadius,borderRadiusXS:t.borderRadiusXS,borderRadiusSM:t.borderRadiusSM,borderRadiusLG:t.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:t.sizeXXS,paddingXS:t.sizeXS,paddingSM:t.sizeSM,padding:t.size,paddingMD:t.sizeMD,paddingLG:t.sizeLG,paddingXL:t.sizeXL,paddingContentHorizontalLG:t.sizeLG,paddingContentVerticalLG:t.sizeMS,paddingContentHorizontal:t.sizeMS,paddingContentVertical:t.sizeSM,paddingContentHorizontalSM:t.size,paddingContentVerticalSM:t.sizeXS,marginXXS:t.sizeXXS,marginXS:t.sizeXS,marginSM:t.sizeSM,margin:t.size,marginMD:t.sizeMD,marginLG:t.sizeLG,marginXL:t.sizeXL,marginXXL:t.sizeXXL,boxShadow:`
|
|
4
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
5
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
6
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
7
|
-
`,boxShadowSecondary:`
|
|
8
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
9
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
10
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
11
|
-
`,boxShadowTertiary:`
|
|
12
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.03),
|
|
13
|
-
0 1px 6px -1px rgba(0, 0, 0, 0.02),
|
|
14
|
-
0 2px 4px 0 rgba(0, 0, 0, 0.02)
|
|
15
|
-
`,screenXS:l,screenXSMin:l,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:a-1,screenMD:a,screenMDMin:a,screenMDMax:m-1,screenLG:m,screenLGMin:m,screenLGMax:c-1,screenXL:c,screenXLMin:c,screenXLMax:s-1,screenXXL:s,screenXXLMin:s,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`
|
|
16
|
-
0 1px 2px -2px ${new TinyColor("rgba(0, 0, 0, 0.16)").toRgbString()},
|
|
17
|
-
0 3px 6px 0 ${new TinyColor("rgba(0, 0, 0, 0.12)").toRgbString()},
|
|
18
|
-
0 5px 12px 4px ${new TinyColor("rgba(0, 0, 0, 0.09)").toRgbString()}
|
|
19
|
-
`,boxShadowDrawerRight:`
|
|
20
|
-
-6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
21
|
-
-3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
22
|
-
-9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
23
|
-
`,boxShadowDrawerLeft:`
|
|
24
|
-
6px 0 16px 0 rgba(0, 0, 0, 0.08),
|
|
25
|
-
3px 0 6px -4px rgba(0, 0, 0, 0.12),
|
|
26
|
-
9px 0 28px 8px rgba(0, 0, 0, 0.05)
|
|
27
|
-
`,boxShadowDrawerUp:`
|
|
28
|
-
0 6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
29
|
-
0 3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
30
|
-
0 9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
31
|
-
`,boxShadowDrawerDown:`
|
|
32
|
-
0 -6px 16px 0 rgba(0, 0, 0, 0.08),
|
|
33
|
-
0 -3px 6px -4px rgba(0, 0, 0, 0.12),
|
|
34
|
-
0 -9px 28px 8px rgba(0, 0, 0, 0.05)
|
|
35
|
-
`,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)",...n}}var X={lineHeight:true,lineHeightSM:true,lineHeightLG:true,lineHeightHeading1:true,lineHeightHeading2:true,lineHeightHeading3:true,lineHeightHeading4:true,lineHeightHeading5:true,opacityLoading:true,fontWeightStrong:true,zIndexPopupBase:true,zIndexBase:true,opacityImage:true},He={size:true,sizeSM:true,sizeLG:true,sizeMD:true,sizeXS:true,sizeXXS:true,sizeMS:true,sizeXL:true,sizeXXL:true,sizeUnit:true,sizeStep:true,motionBase:true,motionUnit:true},we={screenXS:true,screenXSMin:true,screenXSMax:true,screenSM:true,screenSMMin:true,screenSMMax:true,screenMD:true,screenMDMin:true,screenMDMax:true,screenLG:true,screenLGMin:true,screenLGMax:true,screenXL:true,screenXLMin:true,screenXLMax:true,screenXXL:true,screenXXLMin:true},le=(e,o,r)=>{let n=r.getDerivativeToken(e),{override:t,...l}=o,i={...n,override:t};return i=P(i),l&&Object.entries(l).forEach(([a,m])=>{let{theme:c,...s}=m,p=s;c&&(p=le({...i,...s},{override:s},c)),i[a]=p;}),i};function T(){let{token:e,hashed:o,theme:r,override:n,cssVar:t}=be__default.useContext(O),l=`${J}-${o||""}`,i=r||ne,[a,m,c]=useCacheToken(i,[u,e],{salt:l,override:n,getComputedToken:le,formatToken:P,cssVar:t&&{prefix:t.prefix,key:t.key,unitless:X,ignore:He,preserve:we}});return [i,c,o?m:"",a,t]}var ae="ant",j="anticon";var Ae=(e,o)=>o||(e?`${ae}-${e}`:ae),v=be.createContext({getPrefixCls:Ae,iconPrefixCls:j}),{Consumer:Eo}=v;var ze=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}});var ce=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),pe=(e,o,r,n)=>{let t=`[class^="${o}"], [class*=" ${o}"]`,l=r?`.${r}`:t,i={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}},a={};return n!==false&&(a={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[l]:{...a,...i,[t]:i}}};var W=e=>({[`.${e}`]:{...ze(),[`.${e} .${e}-icon`]:{display:"block"}}});var{genStyleHooks:N,genComponentStyleHook:Le,genSubStyleComponent:Be}=genStyleUtils({usePrefix:()=>{let{getPrefixCls:e,iconPrefixCls:o}=useContext(v);return {rootPrefixCls:e(),iconPrefixCls:o}},useToken:()=>{let[e,o,r,n,t]=T();return {theme:e,realToken:o,hashId:r,token:n,cssVar:t}},useCSP:()=>{let{csp:e}=useContext(v);return e??{}},getResetStyles:(e,o)=>[{"&":ce(e)},W(o?.prefix.iconPrefixCls??j)],getCommonStyle:pe,getCompUnitless:(()=>X)});var $e=new Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),M=e=>({height:e,lineHeight:unit(e)}),y=e=>({width:e,...M(e)}),De=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:$e,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),U=(e,o)=>({width:o(e).mul(5).equal(),minWidth:o(e).mul(5).equal(),...M(e)}),Oe=e=>{let{skeletonAvatarCls:o,gradientFromColor:r,controlHeight:n,controlHeightLG:t,controlHeightSM:l}=e;return {[o]:{display:"inline-block",verticalAlign:"top",background:r,...y(n)},[`${o}${o}-circle`]:{borderRadius:"50%"},[`${o}${o}-lg`]:{...y(t)},[`${o}${o}-sm`]:{...y(l)}}},Ge=e=>{let{controlHeight:o,borderRadiusSM:r,skeletonInputCls:n,controlHeightLG:t,controlHeightSM:l,gradientFromColor:i,calc:a}=e;return {[n]:{display:"inline-block",verticalAlign:"top",background:i,borderRadius:r,...U(o,a)},[`${n}-lg`]:{...U(t,a)},[`${n}-sm`]:{...U(l,a)}}},de=e=>({width:e,...M(e)}),Ee=e=>{let{skeletonImageCls:o,imageSizeBase:r,gradientFromColor:n,borderRadiusSM:t,calc:l}=e;return {[o]:{display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:n,borderRadius:t,...de(l(r).mul(2).equal()),[`${o}-path`]:{fill:"#bfbfbf"},[`${o}-svg`]:{...de(r),maxWidth:l(r).mul(4).equal(),maxHeight:l(r).mul(4).equal()},[`${o}-svg${o}-svg-circle`]:{borderRadius:"50%"}},[`${o}${o}-circle`]:{borderRadius:"50%"}}},q=(e,o,r)=>{let{skeletonButtonCls:n}=e;return {[`${r}${n}-circle`]:{width:o,minWidth:o,borderRadius:"50%"},[`${r}${n}-round`]:{borderRadius:o}}},V=(e,o)=>({width:o(e).mul(2).equal(),minWidth:o(e).mul(2).equal(),...M(e)}),Xe=e=>{let{borderRadiusSM:o,skeletonButtonCls:r,controlHeight:n,controlHeightLG:t,controlHeightSM:l,gradientFromColor:i,calc:a}=e;return {[r]:{display:"inline-block",verticalAlign:"top",background:i,borderRadius:o,width:a(n).mul(2).equal(),minWidth:a(n).mul(2).equal(),...V(n,a)},...q(e,n,r),[`${r}-lg`]:{...V(t,a)},...q(e,t,`${r}-lg`),[`${r}-sm`]:{...V(l,a)},...q(e,l,`${r}-sm`)}},je=e=>{let{componentCls:o,skeletonAvatarCls:r,skeletonTitleCls:n,skeletonParagraphCls:t,skeletonButtonCls:l,skeletonInputCls:i,skeletonImageCls:a,controlHeight:m,controlHeightLG:c,controlHeightSM:s,gradientFromColor:p,padding:g,marginSM:d,borderRadius:C,titleHeight:H,blockRadius:b,paragraphLiHeight:k,controlHeightXS:w,paragraphMarginTop:fe}=e;return {[o]:{display:"table",width:"100%",[`${o}-header`]:{display:"table-cell",paddingInlineEnd:g,verticalAlign:"top",[r]:{display:"inline-block",verticalAlign:"top",background:p,...y(m)},[`${r}-circle`]:{borderRadius:"50%"},[`${r}-lg`]:{...y(c)},[`${r}-sm`]:{...y(s)}},[`${o}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[n]:{width:"100%",height:H,background:p,borderRadius:b,[`+ ${t}`]:{marginBlockStart:s}},[t]:{padding:0,"> li":{width:"100%",height:k,listStyle:"none",background:p,borderRadius:b,"+ li":{marginBlockStart:w}}},[`${t}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${o}-content`]:{[`${n}, ${t} > li`]:{borderRadius:C}}},[`${o}-with-avatar ${o}-content`]:{[n]:{marginBlockStart:d,[`+ ${t}`]:{marginBlockStart:fe}}},[`${o}${o}-element`]:{display:"inline-block",width:"auto",...Xe(e),...Oe(e),...Ge(e),...Ee(e)},[`${o}${o}-block`]:{width:"100%",[l]:{width:"100%"},[i]:{width:"100%"}},[`${o}${o}-active`]:{[`
|
|
36
|
-
${n},
|
|
37
|
-
${t} > li,
|
|
38
|
-
${r},
|
|
39
|
-
${l},
|
|
40
|
-
${i},
|
|
41
|
-
${a}
|
|
42
|
-
`]:{...De(e)}}}},We=e=>{let{colorFillContent:o,colorFill:r}=e,n=o,t=r;return {color:n,colorGradientEnd:t,gradientFromColor:n,gradientToColor:t,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},bt=N("Skeleton",e=>{let{componentCls:o,calc:r}=e,n=mergeToken(e,{skeletonAvatarCls:`${o}-avatar`,skeletonTitleCls:`${o}-title`,skeletonParagraphCls:`${o}-paragraph`,skeletonButtonCls:`${o}-button`,skeletonInputCls:`${o}-input`,skeletonImageCls:`${o}-image`,imageSizeBase:r(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return [je(n)]},We,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]});export{bt as default,We as prepareComponentToken};
|
package/es/slider/Context.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { SliderProps as RcSliderProps } from 'rc-slider';
|
|
2
|
-
import type { DirectionType } from '../config-provider';
|
|
3
|
-
export interface SliderInternalContextProps {
|
|
4
|
-
handleRender?: RcSliderProps['handleRender'];
|
|
5
|
-
direction?: DirectionType;
|
|
6
|
-
}
|
|
7
|
-
/** @private Internal context. Do not use in your production. */
|
|
8
|
-
declare const SliderInternalContext: import("react").Context<SliderInternalContextProps>;
|
|
9
|
-
export default SliderInternalContext;
|
package/es/slider/Context.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {createContext}from'react';var r=createContext({}),o=r;export{o as default};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { SliderRef } from 'rc-slider/lib/Slider';
|
|
3
|
-
import type { TooltipProps } from '../tooltip';
|
|
4
|
-
export type SliderTooltipProps = TooltipProps & {
|
|
5
|
-
draggingDelete?: boolean;
|
|
6
|
-
};
|
|
7
|
-
declare const SliderTooltip: React.ForwardRefExoticComponent<SliderTooltipProps & React.RefAttributes<SliderRef>>;
|
|
8
|
-
export default SliderTooltip;
|