@antsoo-lib/components 0.1.11 → 0.1.13
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/dist/es/modal/index.d.ts +1 -0
- package/package.json +3 -4
- package/src/_util/ActionButton.tsx +0 -124
- package/src/_util/BaseInput.tsx +0 -169
- package/src/_util/BaseInputInner.tsx +0 -97
- package/src/_util/BaseMixin.ts +0 -46
- package/src/_util/EventInterface.ts +0 -19
- package/src/_util/KeyCode.ts +0 -522
- package/src/_util/Portal.tsx +0 -73
- package/src/_util/PortalWrapper.tsx +0 -191
- package/src/_util/__mocks__/Portal.tsx +0 -13
- package/src/_util/__mocks__/RenderSlot.tsx +0 -12
- package/src/_util/canUseDom.ts +0 -5
- package/src/_util/classNames.ts +0 -28
- package/src/_util/collapseMotion.tsx +0 -51
- package/src/_util/colors.ts +0 -34
- package/src/_util/component-classes.ts +0 -167
- package/src/_util/copy-to-clipboard/index.ts +0 -120
- package/src/_util/copy-to-clipboard/toggle-selection.ts +0 -41
- package/src/_util/createContext.ts +0 -22
- package/src/_util/createRef.ts +0 -31
- package/src/_util/cssinjs/Cache.ts +0 -28
- package/src/_util/cssinjs/Keyframes.ts +0 -19
- package/src/_util/cssinjs/StyleContext.tsx +0 -187
- package/src/_util/cssinjs/hooks/useCacheToken.tsx +0 -167
- package/src/_util/cssinjs/hooks/useGlobalCache.tsx +0 -60
- package/src/_util/cssinjs/hooks/useHMR.ts +0 -34
- package/src/_util/cssinjs/hooks/useStyleRegister/cacheMapUtil.ts +0 -91
- package/src/_util/cssinjs/hooks/useStyleRegister/index.tsx +0 -567
- package/src/_util/cssinjs/index.ts +0 -75
- package/src/_util/cssinjs/linters/contentQuotesLinter.ts +0 -25
- package/src/_util/cssinjs/linters/hashedAnimationLinter.ts +0 -15
- package/src/_util/cssinjs/linters/index.ts +0 -6
- package/src/_util/cssinjs/linters/interface.ts +0 -9
- package/src/_util/cssinjs/linters/legacyNotSelectorLinter.ts +0 -33
- package/src/_util/cssinjs/linters/logicalPropertiesLinter.ts +0 -88
- package/src/_util/cssinjs/linters/parentSelectorLinter.ts +0 -15
- package/src/_util/cssinjs/linters/utils.ts +0 -13
- package/src/_util/cssinjs/theme/Theme.ts +0 -38
- package/src/_util/cssinjs/theme/ThemeCache.ts +0 -135
- package/src/_util/cssinjs/theme/createTheme.ts +0 -26
- package/src/_util/cssinjs/theme/index.ts +0 -4
- package/src/_util/cssinjs/theme/interface.ts +0 -5
- package/src/_util/cssinjs/transformers/interface.ts +0 -5
- package/src/_util/cssinjs/transformers/legacyLogicalProperties.ts +0 -162
- package/src/_util/cssinjs/transformers/px2rem.ts +0 -77
- package/src/_util/cssinjs/util.ts +0 -118
- package/src/_util/debouncedWatch.ts +0 -87
- package/src/_util/eagerComputed.ts +0 -17
- package/src/_util/easings.ts +0 -8
- package/src/_util/env.ts +0 -9
- package/src/_util/extendsObject.ts +0 -21
- package/src/_util/firstNotUndefined.ts +0 -10
- package/src/_util/gapSize.ts +0 -13
- package/src/_util/getRequestAnimationFrame.ts +0 -47
- package/src/_util/getScroll.ts +0 -33
- package/src/_util/getScrollBarSize.ts +0 -60
- package/src/_util/hooks/_vueuse/_configurable.ts +0 -34
- package/src/_util/hooks/_vueuse/is.ts +0 -26
- package/src/_util/hooks/_vueuse/resolveUnref.ts +0 -10
- package/src/_util/hooks/_vueuse/tryOnMounted.ts +0 -15
- package/src/_util/hooks/_vueuse/tryOnScopeDispose.ts +0 -16
- package/src/_util/hooks/_vueuse/types.ts +0 -143
- package/src/_util/hooks/_vueuse/unrefElement.ts +0 -25
- package/src/_util/hooks/_vueuse/useElementSize.ts +0 -66
- package/src/_util/hooks/_vueuse/useMutationObserver.ts +0 -63
- package/src/_util/hooks/_vueuse/useResizeObserver.ts +0 -95
- package/src/_util/hooks/_vueuse/useSupported.ts +0 -14
- package/src/_util/hooks/useBreakpoint.ts +0 -25
- package/src/_util/hooks/useDestroyed.ts +0 -12
- package/src/_util/hooks/useFlexGapSupport.ts +0 -12
- package/src/_util/hooks/useId.ts +0 -31
- package/src/_util/hooks/useLayoutState.ts +0 -42
- package/src/_util/hooks/useMemo.ts +0 -21
- package/src/_util/hooks/useMergedState.ts +0 -47
- package/src/_util/hooks/useRefs.ts +0 -21
- package/src/_util/hooks/useScrollLocker.ts +0 -53
- package/src/_util/hooks/useState.ts +0 -17
- package/src/_util/isNumeric.ts +0 -5
- package/src/_util/isValid.ts +0 -4
- package/src/_util/isValidValue.ts +0 -3
- package/src/_util/json2mq.ts +0 -60
- package/src/_util/omit.ts +0 -9
- package/src/_util/pickAttrs.ts +0 -74
- package/src/_util/placements.ts +0 -111
- package/src/_util/props-util/index.ts +0 -287
- package/src/_util/props-util/initDefaultProps.ts +0 -34
- package/src/_util/raf.ts +0 -47
- package/src/_util/reactivePick.ts +0 -16
- package/src/_util/requestAnimationTimeout.ts +0 -24
- package/src/_util/responsiveObserve.ts +0 -86
- package/src/_util/scrollTo.ts +0 -38
- package/src/_util/setStyle.ts +0 -30
- package/src/_util/shallowequal.ts +0 -50
- package/src/_util/static-style-extract/index.tsx +0 -92
- package/src/_util/static-style-extract/interface.ts +0 -3
- package/src/_util/statusUtils.tsx +0 -23
- package/src/_util/styleChecker.ts +0 -62
- package/src/_util/supportsPassive.js +0 -13
- package/src/_util/throttleByAnimationFrame.ts +0 -31
- package/src/_util/toReactive.ts +0 -43
- package/src/_util/transButton.tsx +0 -103
- package/src/_util/transKeys.ts +0 -17
- package/src/_util/transition.tsx +0 -130
- package/src/_util/type.ts +0 -95
- package/src/_util/unreachableException.ts +0 -7
- package/src/_util/util.ts +0 -102
- package/src/_util/vnode.ts +0 -84
- package/src/_util/vue-types/index.ts +0 -45
- package/src/_util/warning.ts +0 -21
- package/src/_util/wave/WaveEffect.tsx +0 -172
- package/src/_util/wave/index.tsx +0 -96
- package/src/_util/wave/style.ts +0 -38
- package/src/_util/wave/useWave.ts +0 -26
- package/src/_util/wave/util.ts +0 -34
- package/src/affix/index.en-US.md +0 -47
- package/src/affix/index.tsx +0 -287
- package/src/affix/index.zh-CN.md +0 -50
- package/src/affix/style/index.ts +0 -27
- package/src/affix/utils.ts +0 -107
- package/src/alert/index.en-US.md +0 -36
- package/src/alert/index.tsx +0 -207
- package/src/alert/index.zh-CN.md +0 -37
- package/src/alert/style/index.ts +0 -240
- package/src/anchor/Anchor.tsx +0 -331
- package/src/anchor/AnchorLink.tsx +0 -108
- package/src/anchor/context.ts +0 -36
- package/src/anchor/index.en-US.md +0 -59
- package/src/anchor/index.tsx +0 -23
- package/src/anchor/index.zh-CN.md +0 -60
- package/src/anchor/style/index.ts +0 -173
- package/src/app/context.ts +0 -45
- package/src/app/index.en-US.md +0 -131
- package/src/app/index.tsx +0 -84
- package/src/app/index.zh-CN.md +0 -132
- package/src/app/style/index.ts +0 -22
- package/src/auto-complete/OptGroup.tsx +0 -15
- package/src/auto-complete/Option.tsx +0 -18
- package/src/auto-complete/index.en-US.md +0 -95
- package/src/auto-complete/index.tsx +0 -174
- package/src/auto-complete/index.zh-CN.md +0 -96
- package/src/avatar/Avatar.tsx +0 -222
- package/src/avatar/AvatarContext.ts +0 -18
- package/src/avatar/Group.tsx +0 -100
- package/src/avatar/index.en-US.md +0 -37
- package/src/avatar/index.ts +0 -22
- package/src/avatar/index.zh-CN.md +0 -42
- package/src/avatar/style/index.ts +0 -211
- package/src/badge/Badge.tsx +0 -242
- package/src/badge/Ribbon.tsx +0 -63
- package/src/badge/ScrollNumber.tsx +0 -87
- package/src/badge/SingleNumber.tsx +0 -134
- package/src/badge/index.en_US.md +0 -48
- package/src/badge/index.ts +0 -19
- package/src/badge/index.zh-CN.md +0 -49
- package/src/badge/style/index.ts +0 -378
- package/src/breadcrumb/Breadcrumb.tsx +0 -172
- package/src/breadcrumb/BreadcrumbItem.tsx +0 -91
- package/src/breadcrumb/BreadcrumbSeparator.tsx +0 -33
- package/src/breadcrumb/index.en-US.md +0 -120
- package/src/breadcrumb/index.ts +0 -27
- package/src/breadcrumb/index.zh-CN.md +0 -121
- package/src/breadcrumb/style/index.ts +0 -127
- package/src/button/LoadingIcon.tsx +0 -70
- package/src/button/button-group.tsx +0 -61
- package/src/button/button.tsx +0 -246
- package/src/button/buttonTypes.ts +0 -47
- package/src/button/index.en-US.md +0 -72
- package/src/button/index.ts +0 -25
- package/src/button/index.zh-CN.md +0 -75
- package/src/button/style/group.ts +0 -80
- package/src/button/style/index.ts +0 -557
- package/src/calendar/Header.tsx +0 -206
- package/src/calendar/date-fns.tsx +0 -9
- package/src/calendar/dayjs.tsx +0 -9
- package/src/calendar/generateCalendar.tsx +0 -371
- package/src/calendar/index.en-US.md +0 -68
- package/src/calendar/index.tsx +0 -5
- package/src/calendar/index.zh-CN.md +0 -67
- package/src/calendar/locale/ar_EG.ts +0 -3
- package/src/calendar/locale/az_AZ.ts +0 -3
- package/src/calendar/locale/bg_BG.ts +0 -3
- package/src/calendar/locale/bn_BD.ts +0 -3
- package/src/calendar/locale/by_BY.ts +0 -3
- package/src/calendar/locale/ca_ES.ts +0 -3
- package/src/calendar/locale/cs_CZ.ts +0 -3
- package/src/calendar/locale/da_DK.ts +0 -3
- package/src/calendar/locale/de_DE.ts +0 -3
- package/src/calendar/locale/el_GR.ts +0 -3
- package/src/calendar/locale/en_GB.ts +0 -3
- package/src/calendar/locale/en_US.ts +0 -3
- package/src/calendar/locale/es_ES.ts +0 -3
- package/src/calendar/locale/et_EE.ts +0 -3
- package/src/calendar/locale/fa_IR.ts +0 -3
- package/src/calendar/locale/fi_FI.ts +0 -3
- package/src/calendar/locale/fr_BE.ts +0 -3
- package/src/calendar/locale/fr_CA.ts +0 -3
- package/src/calendar/locale/fr_FR.ts +0 -3
- package/src/calendar/locale/ga_IE.ts +0 -3
- package/src/calendar/locale/gl_ES.ts +0 -3
- package/src/calendar/locale/he_IL.ts +0 -3
- package/src/calendar/locale/hi_IN.ts +0 -3
- package/src/calendar/locale/hr_HR.ts +0 -3
- package/src/calendar/locale/hu_HU.ts +0 -3
- package/src/calendar/locale/id_ID.ts +0 -3
- package/src/calendar/locale/is_IS.ts +0 -3
- package/src/calendar/locale/it_IT.ts +0 -3
- package/src/calendar/locale/ja_JP.ts +0 -3
- package/src/calendar/locale/ka_GE.ts +0 -3
- package/src/calendar/locale/kk_KZ.ts +0 -3
- package/src/calendar/locale/km_KH.ts +0 -3
- package/src/calendar/locale/kmr_IQ.ts +0 -3
- package/src/calendar/locale/kn_IN.ts +0 -3
- package/src/calendar/locale/ko_KR.ts +0 -3
- package/src/calendar/locale/lt_LT.ts +0 -3
- package/src/calendar/locale/lv_LV.ts +0 -3
- package/src/calendar/locale/mk_MK.ts +0 -3
- package/src/calendar/locale/ml_IN.ts +0 -3
- package/src/calendar/locale/mn_MN.ts +0 -3
- package/src/calendar/locale/ms_MY.ts +0 -3
- package/src/calendar/locale/nb_NO.ts +0 -3
- package/src/calendar/locale/nl_BE.ts +0 -3
- package/src/calendar/locale/nl_NL.ts +0 -3
- package/src/calendar/locale/pl_PL.ts +0 -3
- package/src/calendar/locale/pt_BR.ts +0 -3
- package/src/calendar/locale/pt_PT.ts +0 -3
- package/src/calendar/locale/ro_RO.ts +0 -3
- package/src/calendar/locale/ru_RU.ts +0 -3
- package/src/calendar/locale/sk_SK.ts +0 -3
- package/src/calendar/locale/sl_SI.ts +0 -3
- package/src/calendar/locale/sr_RS.ts +0 -3
- package/src/calendar/locale/sv_SE.ts +0 -3
- package/src/calendar/locale/ta_IN.ts +0 -3
- package/src/calendar/locale/th_TH.ts +0 -3
- package/src/calendar/locale/tr_TR.ts +0 -3
- package/src/calendar/locale/uk_UA.ts +0 -3
- package/src/calendar/locale/ur_PK.ts +0 -3
- package/src/calendar/locale/vi_VN.ts +0 -3
- package/src/calendar/locale/zh_CN.ts +0 -3
- package/src/calendar/locale/zh_TW.ts +0 -3
- package/src/calendar/moment.tsx +0 -11
- package/src/calendar/style/index.tsx +0 -218
- package/src/card/Card.tsx +0 -197
- package/src/card/Grid.tsx +0 -28
- package/src/card/Meta.tsx +0 -56
- package/src/card/index.en-US.md +0 -59
- package/src/card/index.ts +0 -26
- package/src/card/index.zh-CN.md +0 -60
- package/src/card/style/index.tsx +0 -387
- package/src/carousel/index.en-US.md +0 -38
- package/src/carousel/index.tsx +0 -161
- package/src/carousel/index.zh-CN.md +0 -39
- package/src/carousel/style/index.tsx +0 -350
- package/src/cascader/index.en-US.md +0 -97
- package/src/cascader/index.tsx +0 -357
- package/src/cascader/index.zh-CN.md +0 -100
- package/src/cascader/style/index.ts +0 -165
- package/src/checkbox/Checkbox.tsx +0 -140
- package/src/checkbox/Group.tsx +0 -131
- package/src/checkbox/index.en-US.md +0 -58
- package/src/checkbox/index.ts +0 -21
- package/src/checkbox/index.zh-CN.md +0 -59
- package/src/checkbox/interface.ts +0 -90
- package/src/checkbox/style/index.ts +0 -303
- package/src/col/index.ts +0 -5
- package/src/col/style/index.ts +0 -4
- package/src/collapse/Collapse.tsx +0 -204
- package/src/collapse/CollapsePanel.tsx +0 -124
- package/src/collapse/PanelContent.tsx +0 -35
- package/src/collapse/commonProps.ts +0 -56
- package/src/collapse/index.en-US.md +0 -47
- package/src/collapse/index.ts +0 -22
- package/src/collapse/index.zh-CN.md +0 -47
- package/src/collapse/style/index.tsx +0 -271
- package/src/comment/index.en-US.md +0 -22
- package/src/comment/index.tsx +0 -118
- package/src/comment/index.zh-CN.md +0 -23
- package/src/comment/style/index.ts +0 -160
- package/src/components.ts +0 -263
- package/src/config-provider/DisabledContext.ts +0 -17
- package/src/config-provider/SizeContext.ts +0 -17
- package/src/config-provider/context.ts +0 -178
- package/src/config-provider/cssVariables.ts +0 -102
- package/src/config-provider/hooks/useConfigInject.ts +0 -74
- package/src/config-provider/hooks/useTheme.ts +0 -44
- package/src/config-provider/index.en-US.md +0 -115
- package/src/config-provider/index.tsx +0 -296
- package/src/config-provider/index.zh-CN.md +0 -116
- package/src/config-provider/renderEmpty.tsx +0 -35
- package/src/config-provider/style/index.ts +0 -31
- package/src/date-picker/PickerButton.tsx +0 -9
- package/src/date-picker/PickerTag.tsx +0 -6
- package/src/date-picker/date-fns.tsx +0 -38
- package/src/date-picker/dayjs.tsx +0 -40
- package/src/date-picker/generatePicker/generateRangePicker.tsx +0 -256
- package/src/date-picker/generatePicker/generateSinglePicker.tsx +0 -290
- package/src/date-picker/generatePicker/index.tsx +0 -85
- package/src/date-picker/generatePicker/interface.ts +0 -74
- package/src/date-picker/generatePicker/props.ts +0 -301
- package/src/date-picker/index.en-US.md +0 -232
- package/src/date-picker/index.tsx +0 -5
- package/src/date-picker/index.zh-CN.md +0 -231
- package/src/date-picker/locale/ar_EG.ts +0 -24
- package/src/date-picker/locale/az_AZ.ts +0 -16
- package/src/date-picker/locale/bg_BG.ts +0 -20
- package/src/date-picker/locale/bn_BD.ts +0 -27
- package/src/date-picker/locale/by_BY.ts +0 -23
- package/src/date-picker/locale/ca_ES.ts +0 -20
- package/src/date-picker/locale/cs_CZ.ts +0 -20
- package/src/date-picker/locale/da_DK.ts +0 -20
- package/src/date-picker/locale/de_DE.ts +0 -20
- package/src/date-picker/locale/el_GR.ts +0 -20
- package/src/date-picker/locale/en_GB.ts +0 -28
- package/src/date-picker/locale/en_US.ts +0 -28
- package/src/date-picker/locale/es_ES.ts +0 -20
- package/src/date-picker/locale/et_EE.ts +0 -20
- package/src/date-picker/locale/example.json +0 -40
- package/src/date-picker/locale/fa_IR.ts +0 -27
- package/src/date-picker/locale/fi_FI.ts +0 -20
- package/src/date-picker/locale/fr_BE.ts +0 -20
- package/src/date-picker/locale/fr_CA.ts +0 -27
- package/src/date-picker/locale/fr_FR.ts +0 -27
- package/src/date-picker/locale/ga_IE.ts +0 -27
- package/src/date-picker/locale/gl_ES.ts +0 -20
- package/src/date-picker/locale/he_IL.ts +0 -20
- package/src/date-picker/locale/hi_IN.ts +0 -27
- package/src/date-picker/locale/hr_HR.ts +0 -27
- package/src/date-picker/locale/hu_HU.ts +0 -20
- package/src/date-picker/locale/id_ID.ts +0 -20
- package/src/date-picker/locale/is_IS.ts +0 -20
- package/src/date-picker/locale/it_IT.ts +0 -20
- package/src/date-picker/locale/ja_JP.ts +0 -28
- package/src/date-picker/locale/ka_GE.ts +0 -23
- package/src/date-picker/locale/kk_KZ.ts +0 -27
- package/src/date-picker/locale/km_KH.ts +0 -27
- package/src/date-picker/locale/kmr_IQ.ts +0 -19
- package/src/date-picker/locale/kn_IN.ts +0 -20
- package/src/date-picker/locale/ko_KR.ts +0 -20
- package/src/date-picker/locale/lt_LT.ts +0 -27
- package/src/date-picker/locale/lv_LV.ts +0 -20
- package/src/date-picker/locale/mk_MK.ts +0 -20
- package/src/date-picker/locale/ml_IN.ts +0 -27
- package/src/date-picker/locale/mn_MN.ts +0 -20
- package/src/date-picker/locale/ms_MY.ts +0 -20
- package/src/date-picker/locale/nb_NO.ts +0 -27
- package/src/date-picker/locale/nl_BE.ts +0 -27
- package/src/date-picker/locale/nl_NL.ts +0 -27
- package/src/date-picker/locale/pl_PL.ts +0 -20
- package/src/date-picker/locale/pt_BR.ts +0 -20
- package/src/date-picker/locale/pt_PT.ts +0 -47
- package/src/date-picker/locale/ro_RO.ts +0 -20
- package/src/date-picker/locale/ru_RU.ts +0 -28
- package/src/date-picker/locale/sk_SK.ts +0 -20
- package/src/date-picker/locale/sl_SI.ts +0 -45
- package/src/date-picker/locale/sr_RS.ts +0 -27
- package/src/date-picker/locale/sv_SE.ts +0 -27
- package/src/date-picker/locale/ta_IN.ts +0 -21
- package/src/date-picker/locale/th_TH.ts +0 -27
- package/src/date-picker/locale/tr_TR.ts +0 -28
- package/src/date-picker/locale/uk_UA.ts +0 -20
- package/src/date-picker/locale/ur_PK.ts +0 -27
- package/src/date-picker/locale/vi_VN.ts +0 -20
- package/src/date-picker/locale/zh_CN.ts +0 -31
- package/src/date-picker/locale/zh_TW.ts +0 -30
- package/src/date-picker/moment.tsx +0 -41
- package/src/date-picker/style/index.ts +0 -1451
- package/src/date-picker/util.ts +0 -102
- package/src/descriptions/Cell.tsx +0 -75
- package/src/descriptions/Row.tsx +0 -139
- package/src/descriptions/index.en-US.md +0 -40
- package/src/descriptions/index.tsx +0 -257
- package/src/descriptions/index.zh-CN.md +0 -41
- package/src/descriptions/style/index.ts +0 -208
- package/src/divider/index.en-US.md +0 -24
- package/src/divider/index.tsx +0 -98
- package/src/divider/index.zh-CN.md +0 -25
- package/src/divider/style/index.ts +0 -167
- package/src/drawer/index.en-US.md +0 -60
- package/src/drawer/index.tsx +0 -441
- package/src/drawer/index.zh-CN.md +0 -59
- package/src/drawer/style/index.ts +0 -230
- package/src/drawer/style/motion.ts +0 -134
- package/src/dropdown/dropdown-button.tsx +0 -120
- package/src/dropdown/dropdown.tsx +0 -219
- package/src/dropdown/index.en-US.md +0 -64
- package/src/dropdown/index.ts +0 -24
- package/src/dropdown/index.zh-CN.md +0 -68
- package/src/dropdown/props.ts +0 -95
- package/src/dropdown/style/button.ts +0 -26
- package/src/dropdown/style/index.ts +0 -458
- package/src/dropdown/style/status.ts +0 -25
- package/src/empty/empty.tsx +0 -77
- package/src/empty/index.en-US.md +0 -38
- package/src/empty/index.tsx +0 -91
- package/src/empty/index.zh-CN.md +0 -39
- package/src/empty/simple.tsx +0 -42
- package/src/empty/style/index.ts +0 -80
- package/src/flex/index.en-US.md +0 -32
- package/src/flex/index.tsx +0 -59
- package/src/flex/index.zh-CN.md +0 -33
- package/src/flex/interface.ts +0 -17
- package/src/flex/style/index.ts +0 -110
- package/src/flex/utils.ts +0 -67
- package/src/float-button/BackTop.tsx +0 -146
- package/src/float-button/FloatButton.tsx +0 -105
- package/src/float-button/FloatButtonContent.tsx +0 -38
- package/src/float-button/FloatButtonGroup.tsx +0 -142
- package/src/float-button/context.ts +0 -19
- package/src/float-button/index.en-US.md +0 -60
- package/src/float-button/index.ts +0 -41
- package/src/float-button/index.zh-CN.md +0 -63
- package/src/float-button/interface.ts +0 -71
- package/src/float-button/style/index.ts +0 -396
- package/src/float-button/util.ts +0 -10
- package/src/form/ErrorList.tsx +0 -66
- package/src/form/Form.tsx +0 -416
- package/src/form/FormItem.tsx +0 -545
- package/src/form/FormItemContext.ts +0 -128
- package/src/form/FormItemInput.tsx +0 -114
- package/src/form/FormItemLabel.tsx +0 -118
- package/src/form/context.ts +0 -78
- package/src/form/index.en-US.md +0 -255
- package/src/form/index.tsx +0 -31
- package/src/form/index.zh-CN.md +0 -253
- package/src/form/interface.ts +0 -227
- package/src/form/style/explain.ts +0 -56
- package/src/form/style/index.ts +0 -492
- package/src/form/useForm.ts +0 -394
- package/src/form/utils/asyncUtil.ts +0 -34
- package/src/form/utils/messages.ts +0 -49
- package/src/form/utils/typeUtil.ts +0 -7
- package/src/form/utils/useDebounce.ts +0 -18
- package/src/form/utils/validateUtil.ts +0 -244
- package/src/form/utils/valueUtil.ts +0 -85
- package/src/grid/Col.tsx +0 -160
- package/src/grid/Row.tsx +0 -199
- package/src/grid/context.ts +0 -25
- package/src/grid/index.en-US.md +0 -67
- package/src/grid/index.ts +0 -11
- package/src/grid/index.zh-CN.md +0 -64
- package/src/grid/style/index.ts +0 -179
- package/src/icon/index.en-US.md +0 -247
- package/src/icon/index.tsx +0 -11
- package/src/icon/index.zh-CN.md +0 -248
- package/src/image/PreviewGroup.tsx +0 -77
- package/src/image/index.en-US.md +0 -48
- package/src/image/index.tsx +0 -87
- package/src/image/index.zh-CN.md +0 -49
- package/src/image/style/index.ts +0 -322
- package/src/index.ts +0 -32
- package/src/input/ClearableLabeledInput.tsx +0 -126
- package/src/input/Group.tsx +0 -50
- package/src/input/Input.tsx +0 -206
- package/src/input/Password.tsx +0 -112
- package/src/input/ResizableTextArea.tsx +0 -189
- package/src/input/Search.tsx +0 -171
- package/src/input/TextArea.tsx +0 -317
- package/src/input/calculateNodeHeight.tsx +0 -175
- package/src/input/index.en-US.md +0 -101
- package/src/input/index.ts +0 -38
- package/src/input/index.zh-CN.md +0 -102
- package/src/input/inputProps.ts +0 -41
- package/src/input/style/index.ts +0 -971
- package/src/input/util.ts +0 -21
- package/src/input-number/index.en-US.md +0 -65
- package/src/input-number/index.tsx +0 -250
- package/src/input-number/index.zh-CN.md +0 -68
- package/src/input-number/src/InputNumber.tsx +0 -593
- package/src/input-number/src/StepHandler.tsx +0 -110
- package/src/input-number/src/hooks/useCursor.ts +0 -79
- package/src/input-number/src/hooks/useFrame.ts +0 -26
- package/src/input-number/src/utils/MiniDecimal.ts +0 -307
- package/src/input-number/src/utils/numberUtil.ts +0 -115
- package/src/input-number/src/utils/supportUtil.ts +0 -3
- package/src/input-number/style/index.tsx +0 -416
- package/src/layout/Sider.tsx +0 -235
- package/src/layout/index.en-US.md +0 -122
- package/src/layout/index.ts +0 -28
- package/src/layout/index.zh-CN.md +0 -123
- package/src/layout/injectionKey.ts +0 -12
- package/src/layout/layout.tsx +0 -113
- package/src/layout/style/index.ts +0 -226
- package/src/layout/style/light.ts +0 -27
- package/src/list/Item.tsx +0 -112
- package/src/list/ItemMeta.tsx +0 -52
- package/src/list/contextKey.ts +0 -8
- package/src/list/index.en-US.md +0 -73
- package/src/list/index.tsx +0 -344
- package/src/list/index.zh-CN.md +0 -74
- package/src/list/style/index.tsx +0 -354
- package/src/locale/LocaleReceiver.tsx +0 -87
- package/src/locale/ar_EG.ts +0 -120
- package/src/locale/az_AZ.ts +0 -48
- package/src/locale/bg_BG.ts +0 -46
- package/src/locale/bn_BD.ts +0 -134
- package/src/locale/by_BY.ts +0 -128
- package/src/locale/ca_ES.ts +0 -129
- package/src/locale/cs_CZ.ts +0 -57
- package/src/locale/da_DK.ts +0 -56
- package/src/locale/de_DE.ts +0 -127
- package/src/locale/el_GR.ts +0 -46
- package/src/locale/en_GB.ts +0 -108
- package/src/locale/en_US.ts +0 -146
- package/src/locale/es_ES.ts +0 -134
- package/src/locale/et_EE.ts +0 -136
- package/src/locale/fa_IR.ts +0 -134
- package/src/locale/fi_FI.ts +0 -56
- package/src/locale/fr_BE.ts +0 -50
- package/src/locale/fr_CA.ts +0 -62
- package/src/locale/fr_FR.ts +0 -131
- package/src/locale/ga_IE.ts +0 -127
- package/src/locale/gl_ES.ts +0 -114
- package/src/locale/he_IL.ts +0 -120
- package/src/locale/hi_IN.ts +0 -134
- package/src/locale/hr_HR.ts +0 -133
- package/src/locale/hu_HU.ts +0 -47
- package/src/locale/hy_AM.ts +0 -115
- package/src/locale/id_ID.ts +0 -48
- package/src/locale/index.tsx +0 -111
- package/src/locale/is_IS.ts +0 -46
- package/src/locale/it_IT.ts +0 -62
- package/src/locale/ja_JP.ts +0 -106
- package/src/locale/ka_GE.ts +0 -134
- package/src/locale/kk_KZ.ts +0 -128
- package/src/locale/km_KH.ts +0 -108
- package/src/locale/kmr_IQ.ts +0 -46
- package/src/locale/kn_IN.ts +0 -54
- package/src/locale/ko_KR.ts +0 -100
- package/src/locale/ku_IQ.ts +0 -50
- package/src/locale/lt_LT.ts +0 -125
- package/src/locale/lv_LV.ts +0 -46
- package/src/locale/mk_MK.ts +0 -61
- package/src/locale/ml_IN.ts +0 -134
- package/src/locale/mn_MN.ts +0 -46
- package/src/locale/ms_MY.ts +0 -66
- package/src/locale/nb_NO.ts +0 -128
- package/src/locale/ne_NP.ts +0 -47
- package/src/locale/nl_BE.ts +0 -134
- package/src/locale/nl_NL.ts +0 -134
- package/src/locale/pl_PL.ts +0 -136
- package/src/locale/pt_BR.ts +0 -139
- package/src/locale/pt_PT.ts +0 -47
- package/src/locale/ro_RO.ts +0 -134
- package/src/locale/ru_RU.ts +0 -143
- package/src/locale/sk_SK.ts +0 -135
- package/src/locale/sl_SI.ts +0 -46
- package/src/locale/sr_RS.ts +0 -134
- package/src/locale/sv_SE.ts +0 -134
- package/src/locale/ta_IN.ts +0 -66
- package/src/locale/th_TH.ts +0 -130
- package/src/locale/tr_TR.ts +0 -132
- package/src/locale/uk_UA.ts +0 -46
- package/src/locale/ur_PK.ts +0 -134
- package/src/locale/vi_VN.ts +0 -46
- package/src/locale/zh_CN.ts +0 -145
- package/src/locale/zh_HK.ts +0 -141
- package/src/locale/zh_TW.ts +0 -142
- package/src/locale-provider/LocaleReceiver.tsx +0 -5
- package/src/locale-provider/index.ts +0 -5
- package/src/mentions/index.en-US.md +0 -70
- package/src/mentions/index.tsx +0 -301
- package/src/mentions/index.zh-CN.md +0 -71
- package/src/mentions/style/index.ts +0 -232
- package/src/menu/index.en-US.md +0 -166
- package/src/menu/index.tsx +0 -56
- package/src/menu/index.zh-CN.md +0 -166
- package/src/menu/src/Divider.tsx +0 -29
- package/src/menu/src/InlineSubMenuList.tsx +0 -56
- package/src/menu/src/ItemGroup.tsx +0 -48
- package/src/menu/src/Menu.tsx +0 -529
- package/src/menu/src/MenuItem.tsx +0 -272
- package/src/menu/src/OverrideContext.ts +0 -30
- package/src/menu/src/PopupTrigger.tsx +0 -117
- package/src/menu/src/SubMenu.tsx +0 -376
- package/src/menu/src/SubMenuList.tsx +0 -25
- package/src/menu/src/hooks/useDirectionStyle.ts +0 -16
- package/src/menu/src/hooks/useItems.tsx +0 -137
- package/src/menu/src/hooks/useKeyPath.ts +0 -46
- package/src/menu/src/hooks/useMenuContext.ts +0 -144
- package/src/menu/src/interface.ts +0 -116
- package/src/menu/src/placements.ts +0 -52
- package/src/menu/style/horizontal.ts +0 -57
- package/src/menu/style/index.ts +0 -585
- package/src/menu/style/rtl.ts +0 -28
- package/src/menu/style/theme.ts +0 -264
- package/src/menu/style/vertical.ts +0 -231
- package/src/message/PurePanel.tsx +0 -75
- package/src/message/index.en-US.md +0 -119
- package/src/message/index.tsx +0 -263
- package/src/message/index.zh-CN.md +0 -122
- package/src/message/interface.ts +0 -49
- package/src/message/style/index.ts +0 -180
- package/src/message/useMessage.tsx +0 -231
- package/src/modal/ConfirmDialog.tsx +0 -232
- package/src/modal/Modal.tsx +0 -262
- package/src/modal/confirm.tsx +0 -146
- package/src/modal/destroyFns.ts +0 -2
- package/src/modal/index.en-US.md +0 -161
- package/src/modal/index.tsx +0 -84
- package/src/modal/index.zh-CN.md +0 -165
- package/src/modal/locale.ts +0 -28
- package/src/modal/style/index.ts +0 -466
- package/src/modal/useModal/HookModal.tsx +0 -75
- package/src/modal/useModal/index.tsx +0 -151
- package/src/notification/PurePanel.tsx +0 -122
- package/src/notification/index.en-US.md +0 -108
- package/src/notification/index.tsx +0 -256
- package/src/notification/index.zh-CN.md +0 -109
- package/src/notification/interface.ts +0 -62
- package/src/notification/style/index.ts +0 -287
- package/src/notification/style/placement.ts +0 -81
- package/src/notification/useNotification.tsx +0 -150
- package/src/notification/util.ts +0 -74
- package/src/page-header/index.en-US.md +0 -34
- package/src/page-header/index.tsx +0 -196
- package/src/page-header/index.zh-CN.md +0 -34
- package/src/page-header/style/index.ts +0 -155
- package/src/pagination/Pagination.tsx +0 -169
- package/src/pagination/Select.tsx +0 -38
- package/src/pagination/index.en-US.md +0 -48
- package/src/pagination/index.ts +0 -7
- package/src/pagination/index.zh-CN.md +0 -42
- package/src/pagination/style/index.tsx +0 -717
- package/src/popconfirm/index.en-US.md +0 -47
- package/src/popconfirm/index.tsx +0 -243
- package/src/popconfirm/index.zh-CN.md +0 -46
- package/src/popconfirm/style/index.ts +0 -89
- package/src/popover/index.en-US.md +0 -28
- package/src/popover/index.tsx +0 -81
- package/src/popover/index.zh-CN.md +0 -29
- package/src/popover/style/index.ts +0 -183
- package/src/progress/Circle.tsx +0 -110
- package/src/progress/Line.tsx +0 -163
- package/src/progress/Steps.tsx +0 -67
- package/src/progress/index.en-US.md +0 -56
- package/src/progress/index.ts +0 -6
- package/src/progress/index.zh-CN.md +0 -57
- package/src/progress/progress.tsx +0 -163
- package/src/progress/props.ts +0 -52
- package/src/progress/style/index.ts +0 -274
- package/src/progress/utils.ts +0 -97
- package/src/qrcode/QRCode.tsx +0 -354
- package/src/qrcode/index.en-US.md +0 -43
- package/src/qrcode/index.tsx +0 -117
- package/src/qrcode/index.zh-CN.md +0 -44
- package/src/qrcode/interface.ts +0 -51
- package/src/qrcode/qrcodegen.ts +0 -969
- package/src/qrcode/style/index.ts +0 -65
- package/src/radio/Group.tsx +0 -148
- package/src/radio/Radio.tsx +0 -127
- package/src/radio/RadioButton.tsx +0 -23
- package/src/radio/context.ts +0 -24
- package/src/radio/index.en-US.md +0 -54
- package/src/radio/index.ts +0 -27
- package/src/radio/index.zh-CN.md +0 -55
- package/src/radio/interface.ts +0 -33
- package/src/radio/style/index.tsx +0 -545
- package/src/rate/Star.tsx +0 -99
- package/src/rate/index.en-US.md +0 -44
- package/src/rate/index.tsx +0 -254
- package/src/rate/index.zh-CN.md +0 -45
- package/src/rate/style/index.ts +0 -135
- package/src/rate/util.ts +0 -40
- package/src/result/index.en-US.md +0 -23
- package/src/result/index.tsx +0 -122
- package/src/result/index.zh-CN.md +0 -24
- package/src/result/noFound.tsx +0 -289
- package/src/result/serverError.tsx +0 -331
- package/src/result/style/index.tsx +0 -157
- package/src/result/unauthorized.tsx +0 -280
- package/src/row/index.ts +0 -6
- package/src/row/style/index.ts +0 -4
- package/src/segmented/index.en-US.md +0 -50
- package/src/segmented/index.ts +0 -6
- package/src/segmented/index.zh-CN.md +0 -53
- package/src/segmented/src/MotionThumb.tsx +0 -162
- package/src/segmented/src/index.ts +0 -5
- package/src/segmented/src/segmented.tsx +0 -191
- package/src/segmented/style/index.ts +0 -216
- package/src/select/index.en-US.md +0 -128
- package/src/select/index.tsx +0 -318
- package/src/select/index.zh-CN.md +0 -128
- package/src/select/style/dropdown.ts +0 -166
- package/src/select/style/index.ts +0 -342
- package/src/select/style/multiple.ts +0 -239
- package/src/select/style/single.ts +0 -192
- package/src/select/utils/iconUtil.tsx +0 -63
- package/src/skeleton/Avatar.tsx +0 -49
- package/src/skeleton/Button.tsx +0 -50
- package/src/skeleton/Element.tsx +0 -43
- package/src/skeleton/Image.tsx +0 -43
- package/src/skeleton/Input.tsx +0 -48
- package/src/skeleton/Paragraph.tsx +0 -44
- package/src/skeleton/Skeleton.tsx +0 -174
- package/src/skeleton/Title.tsx +0 -24
- package/src/skeleton/index.en-US.md +0 -64
- package/src/skeleton/index.tsx +0 -42
- package/src/skeleton/index.zh-CN.md +0 -65
- package/src/skeleton/style/index.ts +0 -388
- package/src/slider/SliderTooltip.tsx +0 -50
- package/src/slider/index.en-US.md +0 -51
- package/src/slider/index.tsx +0 -256
- package/src/slider/index.zh-CN.md +0 -50
- package/src/slider/style/index.tsx +0 -346
- package/src/space/Compact.tsx +0 -136
- package/src/space/index.en-US.md +0 -46
- package/src/space/index.tsx +0 -162
- package/src/space/index.zh-CN.md +0 -52
- package/src/space/style/compact.tsx +0 -30
- package/src/space/style/index.tsx +0 -54
- package/src/spin/Spin.tsx +0 -133
- package/src/spin/index.en-US.md +0 -36
- package/src/spin/index.ts +0 -19
- package/src/spin/index.zh-CN.md +0 -37
- package/src/spin/style/index.ts +0 -241
- package/src/statistic/Countdown.tsx +0 -103
- package/src/statistic/Number.tsx +0 -54
- package/src/statistic/Statistic.tsx +0 -89
- package/src/statistic/index.en-US.md +0 -47
- package/src/statistic/index.ts +0 -21
- package/src/statistic/index.zh-CN.md +0 -48
- package/src/statistic/style/index.tsx +0 -69
- package/src/statistic/utils.ts +0 -69
- package/src/steps/index.en-US.md +0 -58
- package/src/steps/index.tsx +0 -170
- package/src/steps/index.zh-CN.md +0 -63
- package/src/steps/style/custom-icon.ts +0 -36
- package/src/steps/style/index.tsx +0 -408
- package/src/steps/style/inline.ts +0 -124
- package/src/steps/style/label-placement.ts +0 -56
- package/src/steps/style/nav.ts +0 -146
- package/src/steps/style/progress-dot.ts +0 -133
- package/src/steps/style/progress.ts +0 -60
- package/src/steps/style/rtl.ts +0 -47
- package/src/steps/style/small.ts +0 -68
- package/src/steps/style/vertical.ts +0 -72
- package/src/style/compact-item-vertical.ts +0 -57
- package/src/style/compact-item.ts +0 -102
- package/src/style/index.ts +0 -138
- package/src/style/motion/collapse.ts +0 -24
- package/src/style/motion/fade.ts +0 -49
- package/src/style/motion/index.ts +0 -77
- package/src/style/motion/motion.ts +0 -51
- package/src/style/motion/move.ts +0 -163
- package/src/style/motion/slide.ts +0 -166
- package/src/style/motion/zoom.ts +0 -230
- package/src/style/operationUnit.ts +0 -20
- package/src/style/placementArrow.ts +0 -257
- package/src/style/presetColor.tsx +0 -34
- package/src/style/reset.css +0 -253
- package/src/style/roundedArrow.ts +0 -71
- package/src/switch/index.en-US.md +0 -42
- package/src/switch/index.tsx +0 -209
- package/src/switch/index.zh-CN.md +0 -43
- package/src/switch/style/index.ts +0 -354
- package/src/table/Column.tsx +0 -18
- package/src/table/ColumnGroup.tsx +0 -16
- package/src/table/ExpandIcon.tsx +0 -41
- package/src/table/Table.tsx +0 -689
- package/src/table/context.ts +0 -45
- package/src/table/hooks/useColumns.tsx +0 -55
- package/src/table/hooks/useFilter/FilterDropdown.tsx +0 -576
- package/src/table/hooks/useFilter/FilterSearch.tsx +0 -41
- package/src/table/hooks/useFilter/FilterWrapper.tsx +0 -16
- package/src/table/hooks/useFilter/index.tsx +0 -300
- package/src/table/hooks/useLazyKVMap.ts +0 -51
- package/src/table/hooks/usePagination.ts +0 -92
- package/src/table/hooks/useSelection.tsx +0 -690
- package/src/table/hooks/useSorter.tsx +0 -450
- package/src/table/hooks/useTitleColumns.tsx +0 -30
- package/src/table/index.en-US.md +0 -306
- package/src/table/index.tsx +0 -56
- package/src/table/index.zh-CN.md +0 -313
- package/src/table/interface.tsx +0 -235
- package/src/table/style/bordered.ts +0 -159
- package/src/table/style/ellipsis.ts +0 -37
- package/src/table/style/empty.ts +0 -22
- package/src/table/style/expand.ts +0 -152
- package/src/table/style/filter.ts +0 -172
- package/src/table/style/fixed.ts +0 -132
- package/src/table/style/index.ts +0 -378
- package/src/table/style/pagination.ts +0 -39
- package/src/table/style/radius.ts +0 -57
- package/src/table/style/resize.ts +0 -52
- package/src/table/style/rtl.ts +0 -39
- package/src/table/style/selection.ts +0 -76
- package/src/table/style/size.ts +0 -68
- package/src/table/style/sorter.ts +0 -101
- package/src/table/style/sticky.ts +0 -59
- package/src/table/style/summary.ts +0 -29
- package/src/table/util.ts +0 -62
- package/src/tabs/index.en-US.md +0 -69
- package/src/tabs/index.ts +0 -21
- package/src/tabs/index.zh-CN.md +0 -71
- package/src/tabs/src/TabContext.ts +0 -35
- package/src/tabs/src/TabNavList/AddButton.tsx +0 -50
- package/src/tabs/src/TabNavList/OperationNode.tsx +0 -253
- package/src/tabs/src/TabNavList/TabNode.tsx +0 -140
- package/src/tabs/src/TabNavList/index.tsx +0 -581
- package/src/tabs/src/TabPanelList/TabPane.tsx +0 -81
- package/src/tabs/src/TabPanelList/index.tsx +0 -68
- package/src/tabs/src/Tabs.tsx +0 -387
- package/src/tabs/src/hooks/useOffsets.ts +0 -41
- package/src/tabs/src/hooks/useRaf.ts +0 -53
- package/src/tabs/src/hooks/useSyncState.ts +0 -21
- package/src/tabs/src/hooks/useTouchMove.ts +0 -141
- package/src/tabs/src/index.ts +0 -11
- package/src/tabs/src/interface.ts +0 -48
- package/src/tabs/style/index.ts +0 -906
- package/src/tabs/style/motion.ts +0 -46
- package/src/tag/CheckableTag.tsx +0 -56
- package/src/tag/index.en-US.md +0 -44
- package/src/tag/index.tsx +0 -175
- package/src/tag/index.zh-CN.md +0 -45
- package/src/tag/style/index.ts +0 -184
- package/src/theme/convertLegacyToken.ts +0 -1107
- package/src/theme/index.ts +0 -30
- package/src/theme/interface/alias.ts +0 -153
- package/src/theme/interface/components.ts +0 -121
- package/src/theme/interface/index.ts +0 -25
- package/src/theme/interface/maps/colors.ts +0 -438
- package/src/theme/interface/maps/font.ts +0 -49
- package/src/theme/interface/maps/index.ts +0 -34
- package/src/theme/interface/maps/size.ts +0 -68
- package/src/theme/interface/maps/style.ts +0 -38
- package/src/theme/interface/presetColors.ts +0 -25
- package/src/theme/interface/seeds.ts +0 -221
- package/src/theme/internal.ts +0 -145
- package/src/theme/themes/ColorMap.ts +0 -20
- package/src/theme/themes/compact/genCompactSizeMapToken.ts +0 -19
- package/src/theme/themes/compact/index.ts +0 -27
- package/src/theme/themes/dark/colorAlgorithm.ts +0 -9
- package/src/theme/themes/dark/colors.ts +0 -54
- package/src/theme/themes/dark/index.ts +0 -45
- package/src/theme/themes/default/colorAlgorithm.ts +0 -9
- package/src/theme/themes/default/colors.ts +0 -54
- package/src/theme/themes/default/index.ts +0 -49
- package/src/theme/themes/seed.ts +0 -79
- package/src/theme/themes/shared/genColorMapToken.ts +0 -93
- package/src/theme/themes/shared/genCommonMapToken.ts +0 -19
- package/src/theme/themes/shared/genControlHeight.ts +0 -13
- package/src/theme/themes/shared/genFontMapToken.ts +0 -33
- package/src/theme/themes/shared/genFontSizes.ts +0 -24
- package/src/theme/themes/shared/genRadius.ts +0 -59
- package/src/theme/themes/shared/genSizeMapToken.ts +0 -17
- package/src/theme/util/alias.ts +0 -202
- package/src/theme/util/genComponentStyleHook.ts +0 -110
- package/src/theme/util/getAlphaColor.ts +0 -29
- package/src/theme/util/statistic.ts +0 -71
- package/src/time-picker/date-fns.tsx +0 -27
- package/src/time-picker/dayjs.tsx +0 -30
- package/src/time-picker/index.en-US.md +0 -95
- package/src/time-picker/index.tsx +0 -9
- package/src/time-picker/index.zh-CN.md +0 -97
- package/src/time-picker/locale/ar_EG.ts +0 -7
- package/src/time-picker/locale/az_AZ.ts +0 -7
- package/src/time-picker/locale/bg_BG.ts +0 -7
- package/src/time-picker/locale/bn_BD.ts +0 -8
- package/src/time-picker/locale/by_BY.ts +0 -8
- package/src/time-picker/locale/ca_ES.ts +0 -7
- package/src/time-picker/locale/cs_CZ.ts +0 -7
- package/src/time-picker/locale/da_DK.ts +0 -8
- package/src/time-picker/locale/de_DE.ts +0 -7
- package/src/time-picker/locale/el_GR.ts +0 -7
- package/src/time-picker/locale/en_GB.ts +0 -7
- package/src/time-picker/locale/en_US.ts +0 -8
- package/src/time-picker/locale/es_ES.ts +0 -7
- package/src/time-picker/locale/et_EE.ts +0 -7
- package/src/time-picker/locale/fa_IR.ts +0 -8
- package/src/time-picker/locale/fi_FI.ts +0 -7
- package/src/time-picker/locale/fr_BE.ts +0 -7
- package/src/time-picker/locale/fr_CA.ts +0 -8
- package/src/time-picker/locale/fr_FR.ts +0 -8
- package/src/time-picker/locale/ga_IE.ts +0 -8
- package/src/time-picker/locale/gl_ES.ts +0 -7
- package/src/time-picker/locale/he_IL.ts +0 -7
- package/src/time-picker/locale/hi_IN.ts +0 -8
- package/src/time-picker/locale/hr_HR.ts +0 -8
- package/src/time-picker/locale/hu_HU.ts +0 -7
- package/src/time-picker/locale/id_ID.ts +0 -7
- package/src/time-picker/locale/is_IS.ts +0 -7
- package/src/time-picker/locale/it_IT.ts +0 -7
- package/src/time-picker/locale/ja_JP.ts +0 -8
- package/src/time-picker/locale/ka_GE.ts +0 -8
- package/src/time-picker/locale/kk_KZ.ts +0 -8
- package/src/time-picker/locale/km_KH.ts +0 -8
- package/src/time-picker/locale/kmr_IQ.ts +0 -7
- package/src/time-picker/locale/kn_IN.ts +0 -7
- package/src/time-picker/locale/ko_KR.ts +0 -8
- package/src/time-picker/locale/lt_LT.ts +0 -8
- package/src/time-picker/locale/lv_LV.ts +0 -7
- package/src/time-picker/locale/mk_MK.ts +0 -7
- package/src/time-picker/locale/ml_IN.ts +0 -8
- package/src/time-picker/locale/mn_MN.ts +0 -7
- package/src/time-picker/locale/ms_MY.ts +0 -7
- package/src/time-picker/locale/nb_NO.ts +0 -8
- package/src/time-picker/locale/nl_BE.ts +0 -8
- package/src/time-picker/locale/nl_NL.ts +0 -8
- package/src/time-picker/locale/pl_PL.ts +0 -7
- package/src/time-picker/locale/pt_BR.ts +0 -7
- package/src/time-picker/locale/pt_PT.ts +0 -7
- package/src/time-picker/locale/ro_RO.ts +0 -7
- package/src/time-picker/locale/ru_RU.ts +0 -9
- package/src/time-picker/locale/sk_SK.ts +0 -7
- package/src/time-picker/locale/sl_SI.ts +0 -7
- package/src/time-picker/locale/sr_RS.ts +0 -8
- package/src/time-picker/locale/sv_SE.ts +0 -7
- package/src/time-picker/locale/ta_IN.ts +0 -7
- package/src/time-picker/locale/th_TH.ts +0 -7
- package/src/time-picker/locale/tr_TR.ts +0 -8
- package/src/time-picker/locale/uk_UA.ts +0 -7
- package/src/time-picker/locale/ur_PK.ts +0 -8
- package/src/time-picker/locale/vi_VN.ts +0 -7
- package/src/time-picker/locale/zh_CN.ts +0 -8
- package/src/time-picker/locale/zh_TW.ts +0 -7
- package/src/time-picker/moment.tsx +0 -29
- package/src/time-picker/time-picker.tsx +0 -247
- package/src/timeline/Timeline.tsx +0 -116
- package/src/timeline/TimelineItem.tsx +0 -64
- package/src/timeline/index.en-US.md +0 -47
- package/src/timeline/index.tsx +0 -21
- package/src/timeline/index.zh-CN.md +0 -48
- package/src/timeline/style/index.tsx +0 -237
- package/src/tooltip/Tooltip.tsx +0 -322
- package/src/tooltip/abstractTooltipProps.ts +0 -61
- package/src/tooltip/index.en-US.md +0 -52
- package/src/tooltip/index.ts +0 -14
- package/src/tooltip/index.zh-CN.md +0 -53
- package/src/tooltip/style/index.ts +0 -158
- package/src/tooltip/util.ts +0 -23
- package/src/tour/index.en-US.md +0 -60
- package/src/tour/index.tsx +0 -92
- package/src/tour/index.zh-CN.md +0 -61
- package/src/tour/interface.ts +0 -43
- package/src/tour/panelRender.tsx +0 -152
- package/src/tour/style/index.ts +0 -251
- package/src/tour/useMergedType.ts +0 -39
- package/src/transfer/ListBody.tsx +0 -170
- package/src/transfer/ListItem.tsx +0 -97
- package/src/transfer/index.en-US.md +0 -104
- package/src/transfer/index.tsx +0 -455
- package/src/transfer/index.zh-CN.md +0 -105
- package/src/transfer/interface.ts +0 -8
- package/src/transfer/list.tsx +0 -424
- package/src/transfer/operation.tsx +0 -68
- package/src/transfer/search.tsx +0 -52
- package/src/transfer/style/index.tsx +0 -376
- package/src/tree/DirectoryTree.tsx +0 -309
- package/src/tree/Tree.tsx +0 -277
- package/src/tree/breakchange.md +0 -1
- package/src/tree/index.en-US.md +0 -93
- package/src/tree/index.tsx +0 -38
- package/src/tree/index.zh-CN.md +0 -94
- package/src/tree/style/index.ts +0 -482
- package/src/tree/utils/dictUtil.ts +0 -100
- package/src/tree/utils/dropIndicator.tsx +0 -33
- package/src/tree/utils/iconUtil.tsx +0 -67
- package/src/tree-select/index.en-US.md +0 -100
- package/src/tree-select/index.tsx +0 -364
- package/src/tree-select/index.zh-CN.md +0 -95
- package/src/tree-select/style/index.tsx +0 -75
- package/src/typography/Base.tsx +0 -626
- package/src/typography/Editable.tsx +0 -161
- package/src/typography/Link.tsx +0 -37
- package/src/typography/Paragraph.tsx +0 -24
- package/src/typography/Text.tsx +0 -45
- package/src/typography/Title.tsx +0 -40
- package/src/typography/Typography.tsx +0 -58
- package/src/typography/index.en-US.md +0 -146
- package/src/typography/index.tsx +0 -41
- package/src/typography/index.zh-CN.md +0 -147
- package/src/typography/style/index.tsx +0 -128
- package/src/typography/style/mixins.tsx +0 -262
- package/src/typography/util.tsx +0 -227
- package/src/upload/Dragger.tsx +0 -24
- package/src/upload/Upload.tsx +0 -458
- package/src/upload/UploadList/ListItem.tsx +0 -306
- package/src/upload/UploadList/index.tsx +0 -264
- package/src/upload/index.en-US.md +0 -139
- package/src/upload/index.tsx +0 -19
- package/src/upload/index.zh-CN.md +0 -140
- package/src/upload/interface.tsx +0 -195
- package/src/upload/style/dragger.ts +0 -76
- package/src/upload/style/index.ts +0 -66
- package/src/upload/style/list.ts +0 -129
- package/src/upload/style/motion.ts +0 -52
- package/src/upload/style/picture.ts +0 -228
- package/src/upload/style/rtl.ts +0 -15
- package/src/upload/utils.tsx +0 -124
- package/src/vc-align/Align.tsx +0 -209
- package/src/vc-align/hooks/useBuffer.tsx +0 -39
- package/src/vc-align/index.ts +0 -4
- package/src/vc-align/interface.ts +0 -60
- package/src/vc-align/util.ts +0 -61
- package/src/vc-cascader/Cascader.tsx +0 -585
- package/src/vc-cascader/OptionList/Checkbox.tsx +0 -44
- package/src/vc-cascader/OptionList/Column.tsx +0 -182
- package/src/vc-cascader/OptionList/index.tsx +0 -246
- package/src/vc-cascader/OptionList/useActive.ts +0 -32
- package/src/vc-cascader/OptionList/useKeyboard.ts +0 -194
- package/src/vc-cascader/context.ts +0 -37
- package/src/vc-cascader/hooks/useDisplayValues.ts +0 -64
- package/src/vc-cascader/hooks/useEntities.ts +0 -37
- package/src/vc-cascader/hooks/useMissingValues.ts +0 -27
- package/src/vc-cascader/hooks/useSearchConfig.ts +0 -41
- package/src/vc-cascader/hooks/useSearchOptions.ts +0 -78
- package/src/vc-cascader/index.tsx +0 -16
- package/src/vc-cascader/utils/commonUtil.ts +0 -51
- package/src/vc-cascader/utils/treeUtil.ts +0 -60
- package/src/vc-checkbox/Checkbox.tsx +0 -151
- package/src/vc-dialog/Content.tsx +0 -158
- package/src/vc-dialog/Dialog.tsx +0 -203
- package/src/vc-dialog/DialogWrap.tsx +0 -78
- package/src/vc-dialog/IDialogPropTypes.ts +0 -50
- package/src/vc-dialog/Mask.tsx +0 -25
- package/src/vc-dialog/index.ts +0 -7
- package/src/vc-dialog/util.ts +0 -46
- package/src/vc-drawer/index.ts +0 -4
- package/src/vc-drawer/src/DrawerChild.tsx +0 -258
- package/src/vc-drawer/src/DrawerWrapper.tsx +0 -101
- package/src/vc-drawer/src/IDrawerPropTypes.ts +0 -60
- package/src/vc-drawer/src/utils.ts +0 -112
- package/src/vc-dropdown/Dropdown.tsx +0 -145
- package/src/vc-dropdown/index.ts +0 -4
- package/src/vc-dropdown/placements.ts +0 -47
- package/src/vc-image/index.ts +0 -5
- package/src/vc-image/src/Image.tsx +0 -308
- package/src/vc-image/src/Preview.tsx +0 -422
- package/src/vc-image/src/PreviewGroup.tsx +0 -212
- package/src/vc-image/src/getFixScaleEleTransPosition.ts +0 -61
- package/src/vc-image/src/hooks/useFrameSetState.ts +0 -32
- package/src/vc-input/BaseInput.tsx +0 -153
- package/src/vc-input/Input.tsx +0 -255
- package/src/vc-input/inputProps.ts +0 -123
- package/src/vc-input/utils/commonUtils.ts +0 -105
- package/src/vc-input/utils/types.ts +0 -3
- package/src/vc-mentions/index.ts +0 -6
- package/src/vc-mentions/src/DropdownMenu.tsx +0 -86
- package/src/vc-mentions/src/KeywordTrigger.tsx +0 -102
- package/src/vc-mentions/src/Mentions.tsx +0 -306
- package/src/vc-mentions/src/MentionsContext.ts +0 -16
- package/src/vc-mentions/src/Option.tsx +0 -31
- package/src/vc-mentions/src/mentionsProps.ts +0 -52
- package/src/vc-mentions/src/util.ts +0 -124
- package/src/vc-notification/HookNotification.tsx +0 -231
- package/src/vc-notification/Notice.tsx +0 -139
- package/src/vc-notification/Notification.tsx +0 -279
- package/src/vc-notification/index.ts +0 -6
- package/src/vc-notification/useNotification.tsx +0 -182
- package/src/vc-overflow/Item.tsx +0 -100
- package/src/vc-overflow/Overflow.tsx +0 -376
- package/src/vc-overflow/RawItem.tsx +0 -54
- package/src/vc-overflow/context.ts +0 -49
- package/src/vc-overflow/index.ts +0 -6
- package/src/vc-pagination/KeyCode.ts +0 -14
- package/src/vc-pagination/Options.tsx +0 -172
- package/src/vc-pagination/Pager.tsx +0 -69
- package/src/vc-pagination/Pagination.tsx +0 -683
- package/src/vc-pagination/index.ts +0 -2
- package/src/vc-pagination/locale/ar_EG.ts +0 -15
- package/src/vc-pagination/locale/az_AZ.ts +0 -15
- package/src/vc-pagination/locale/bg_BG.ts +0 -15
- package/src/vc-pagination/locale/bn_BD.ts +0 -15
- package/src/vc-pagination/locale/by_BY.ts +0 -14
- package/src/vc-pagination/locale/ca_ES.ts +0 -15
- package/src/vc-pagination/locale/cs_CZ.ts +0 -15
- package/src/vc-pagination/locale/da_DK.ts +0 -15
- package/src/vc-pagination/locale/de_DE.ts +0 -15
- package/src/vc-pagination/locale/el_GR.ts +0 -15
- package/src/vc-pagination/locale/en_GB.ts +0 -15
- package/src/vc-pagination/locale/en_US.ts +0 -15
- package/src/vc-pagination/locale/es_ES.ts +0 -15
- package/src/vc-pagination/locale/et_EE.ts +0 -15
- package/src/vc-pagination/locale/fa_IR.ts +0 -15
- package/src/vc-pagination/locale/fi_FI.ts +0 -15
- package/src/vc-pagination/locale/fr_BE.ts +0 -15
- package/src/vc-pagination/locale/fr_CA.ts +0 -15
- package/src/vc-pagination/locale/fr_FR.ts +0 -15
- package/src/vc-pagination/locale/ga_IE.ts +0 -15
- package/src/vc-pagination/locale/gl_ES.ts +0 -15
- package/src/vc-pagination/locale/he_IL.ts +0 -15
- package/src/vc-pagination/locale/hi_IN.ts +0 -15
- package/src/vc-pagination/locale/hr_HR.ts +0 -15
- package/src/vc-pagination/locale/hu_HU.ts +0 -15
- package/src/vc-pagination/locale/id_ID.ts +0 -15
- package/src/vc-pagination/locale/is_IS.ts +0 -15
- package/src/vc-pagination/locale/it_IT.ts +0 -15
- package/src/vc-pagination/locale/ja_JP.ts +0 -15
- package/src/vc-pagination/locale/ka_GE.ts +0 -14
- package/src/vc-pagination/locale/kk_KZ.ts +0 -15
- package/src/vc-pagination/locale/km_KH.ts +0 -15
- package/src/vc-pagination/locale/kmr_IQ.ts +0 -15
- package/src/vc-pagination/locale/kn_IN.ts +0 -15
- package/src/vc-pagination/locale/ko_KR.ts +0 -15
- package/src/vc-pagination/locale/lt_LT.ts +0 -15
- package/src/vc-pagination/locale/lv_LV.ts +0 -15
- package/src/vc-pagination/locale/mk_MK.ts +0 -15
- package/src/vc-pagination/locale/ml_IN.ts +0 -15
- package/src/vc-pagination/locale/mm_MM.ts +0 -15
- package/src/vc-pagination/locale/mn_MN.ts +0 -15
- package/src/vc-pagination/locale/ms_MY.ts +0 -15
- package/src/vc-pagination/locale/nb_NO.ts +0 -14
- package/src/vc-pagination/locale/nl_BE.ts +0 -15
- package/src/vc-pagination/locale/nl_NL.ts +0 -15
- package/src/vc-pagination/locale/pa_IN.ts +0 -15
- package/src/vc-pagination/locale/pb_IN.ts +0 -15
- package/src/vc-pagination/locale/pl_PL.ts +0 -15
- package/src/vc-pagination/locale/pt_BR.ts +0 -15
- package/src/vc-pagination/locale/pt_PT.ts +0 -15
- package/src/vc-pagination/locale/ro_RO.ts +0 -15
- package/src/vc-pagination/locale/ru_RU.ts +0 -15
- package/src/vc-pagination/locale/sk_SK.ts +0 -15
- package/src/vc-pagination/locale/sl_SI.ts +0 -15
- package/src/vc-pagination/locale/sr_RS.ts +0 -14
- package/src/vc-pagination/locale/sv_SE.ts +0 -15
- package/src/vc-pagination/locale/ta_IN.ts +0 -15
- package/src/vc-pagination/locale/th_TH.ts +0 -15
- package/src/vc-pagination/locale/tr_TR.ts +0 -15
- package/src/vc-pagination/locale/ug_CN.ts +0 -14
- package/src/vc-pagination/locale/uk_UA.ts +0 -15
- package/src/vc-pagination/locale/ur_PK.ts +0 -15
- package/src/vc-pagination/locale/vi_VN.ts +0 -15
- package/src/vc-pagination/locale/zh_CN.ts +0 -15
- package/src/vc-pagination/locale/zh_TW.ts +0 -15
- package/src/vc-picker/PanelContext.tsx +0 -39
- package/src/vc-picker/Picker.tsx +0 -641
- package/src/vc-picker/PickerPanel.tsx +0 -609
- package/src/vc-picker/PickerTrigger.tsx +0 -104
- package/src/vc-picker/PresetPanel.tsx +0 -44
- package/src/vc-picker/RangeContext.tsx +0 -76
- package/src/vc-picker/RangePicker.tsx +0 -1324
- package/src/vc-picker/generate/dateFns.ts +0 -140
- package/src/vc-picker/generate/dayjs.ts +0 -250
- package/src/vc-picker/generate/index.ts +0 -52
- package/src/vc-picker/generate/moment.ts +0 -159
- package/src/vc-picker/hooks/useCellClassName.ts +0 -97
- package/src/vc-picker/hooks/useHoverValue.ts +0 -47
- package/src/vc-picker/hooks/useMergeProps.ts +0 -8
- package/src/vc-picker/hooks/usePickerInput.ts +0 -177
- package/src/vc-picker/hooks/usePresets.ts +0 -30
- package/src/vc-picker/hooks/useRangeDisabled.ts +0 -115
- package/src/vc-picker/hooks/useRangeViewDates.ts +0 -129
- package/src/vc-picker/hooks/useTextValueMapping.ts +0 -37
- package/src/vc-picker/hooks/useValueTexts.ts +0 -52
- package/src/vc-picker/index.tsx +0 -12
- package/src/vc-picker/interface.ts +0 -116
- package/src/vc-picker/locale/ar_EG.ts +0 -32
- package/src/vc-picker/locale/az_AZ.ts +0 -33
- package/src/vc-picker/locale/bg_BG.ts +0 -31
- package/src/vc-picker/locale/bn_BD.ts +0 -33
- package/src/vc-picker/locale/by_BY.ts +0 -33
- package/src/vc-picker/locale/ca_ES.ts +0 -32
- package/src/vc-picker/locale/cs_CZ.ts +0 -32
- package/src/vc-picker/locale/da_DK.ts +0 -32
- package/src/vc-picker/locale/de_DE.ts +0 -32
- package/src/vc-picker/locale/el_GR.ts +0 -32
- package/src/vc-picker/locale/en_GB.ts +0 -32
- package/src/vc-picker/locale/en_US.ts +0 -33
- package/src/vc-picker/locale/es_ES.ts +0 -32
- package/src/vc-picker/locale/es_MX.ts +0 -33
- package/src/vc-picker/locale/et_EE.ts +0 -32
- package/src/vc-picker/locale/fa_IR.ts +0 -32
- package/src/vc-picker/locale/fi_FI.ts +0 -32
- package/src/vc-picker/locale/fr_BE.ts +0 -32
- package/src/vc-picker/locale/fr_CA.ts +0 -32
- package/src/vc-picker/locale/fr_FR.ts +0 -32
- package/src/vc-picker/locale/ga_IE.ts +0 -33
- package/src/vc-picker/locale/gl_ES.ts +0 -32
- package/src/vc-picker/locale/he_IL.ts +0 -33
- package/src/vc-picker/locale/hi_IN.ts +0 -33
- package/src/vc-picker/locale/hr_HR.ts +0 -33
- package/src/vc-picker/locale/hu_HU.ts +0 -32
- package/src/vc-picker/locale/id_ID.ts +0 -33
- package/src/vc-picker/locale/is_IS.ts +0 -32
- package/src/vc-picker/locale/it_IT.ts +0 -32
- package/src/vc-picker/locale/ja_JP.ts +0 -32
- package/src/vc-picker/locale/ka_GE.ts +0 -33
- package/src/vc-picker/locale/kk_KZ.ts +0 -32
- package/src/vc-picker/locale/km_KH.ts +0 -32
- package/src/vc-picker/locale/kmr_IQ.ts +0 -32
- package/src/vc-picker/locale/kn_IN.ts +0 -33
- package/src/vc-picker/locale/ko_KR.ts +0 -32
- package/src/vc-picker/locale/lt_LT.ts +0 -32
- package/src/vc-picker/locale/lv_LV.ts +0 -32
- package/src/vc-picker/locale/mk_MK.ts +0 -32
- package/src/vc-picker/locale/ml_IN.ts +0 -33
- package/src/vc-picker/locale/mm_MM.ts +0 -33
- package/src/vc-picker/locale/mn_MN.ts +0 -33
- package/src/vc-picker/locale/ms_MY.ts +0 -32
- package/src/vc-picker/locale/nb_NO.ts +0 -33
- package/src/vc-picker/locale/nl_BE.ts +0 -32
- package/src/vc-picker/locale/nl_NL.ts +0 -32
- package/src/vc-picker/locale/pl_PL.ts +0 -32
- package/src/vc-picker/locale/pt_BR.ts +0 -34
- package/src/vc-picker/locale/pt_PT.ts +0 -34
- package/src/vc-picker/locale/ro_RO.ts +0 -33
- package/src/vc-picker/locale/ru_RU.ts +0 -32
- package/src/vc-picker/locale/sk_SK.ts +0 -32
- package/src/vc-picker/locale/sl_SI.ts +0 -32
- package/src/vc-picker/locale/sr_RS.ts +0 -32
- package/src/vc-picker/locale/sv_SE.ts +0 -32
- package/src/vc-picker/locale/ta_IN.ts +0 -33
- package/src/vc-picker/locale/th_TH.ts +0 -32
- package/src/vc-picker/locale/tr_TR.ts +0 -32
- package/src/vc-picker/locale/ug_CN.ts +0 -31
- package/src/vc-picker/locale/uk_UA.ts +0 -32
- package/src/vc-picker/locale/ur_PK.ts +0 -33
- package/src/vc-picker/locale/vi_VN.ts +0 -33
- package/src/vc-picker/locale/zh_CN.ts +0 -32
- package/src/vc-picker/locale/zh_TW.ts +0 -33
- package/src/vc-picker/panels/DatePanel/DateBody.tsx +0 -119
- package/src/vc-picker/panels/DatePanel/DateHeader.tsx +0 -106
- package/src/vc-picker/panels/DatePanel/index.tsx +0 -117
- package/src/vc-picker/panels/DatetimePanel/index.tsx +0 -167
- package/src/vc-picker/panels/DecadePanel/DecadeBody.tsx +0 -68
- package/src/vc-picker/panels/DecadePanel/DecadeHeader.tsx +0 -45
- package/src/vc-picker/panels/DecadePanel/index.tsx +0 -80
- package/src/vc-picker/panels/Header.tsx +0 -101
- package/src/vc-picker/panels/MonthPanel/MonthBody.tsx +0 -89
- package/src/vc-picker/panels/MonthPanel/MonthHeader.tsx +0 -50
- package/src/vc-picker/panels/MonthPanel/index.tsx +0 -83
- package/src/vc-picker/panels/PanelBody.tsx +0 -146
- package/src/vc-picker/panels/QuarterPanel/QuarterBody.tsx +0 -71
- package/src/vc-picker/panels/QuarterPanel/QuarterHeader.tsx +0 -49
- package/src/vc-picker/panels/QuarterPanel/index.tsx +0 -76
- package/src/vc-picker/panels/TimePanel/TimeBody.tsx +0 -315
- package/src/vc-picker/panels/TimePanel/TimeHeader.tsx +0 -42
- package/src/vc-picker/panels/TimePanel/TimeUnitColumn.tsx +0 -103
- package/src/vc-picker/panels/TimePanel/index.tsx +0 -111
- package/src/vc-picker/panels/WeekPanel/index.tsx +0 -44
- package/src/vc-picker/panels/YearPanel/YearBody.tsx +0 -78
- package/src/vc-picker/panels/YearPanel/YearHeader.tsx +0 -49
- package/src/vc-picker/panels/YearPanel/index.tsx +0 -85
- package/src/vc-picker/utils/dateUtil.ts +0 -320
- package/src/vc-picker/utils/getExtraFooter.tsx +0 -13
- package/src/vc-picker/utils/getRanges.tsx +0 -66
- package/src/vc-picker/utils/miscUtil.ts +0 -55
- package/src/vc-picker/utils/timeUtil.ts +0 -60
- package/src/vc-picker/utils/uiUtil.ts +0 -277
- package/src/vc-picker/utils/warnUtil.ts +0 -17
- package/src/vc-progress/index.ts +0 -9
- package/src/vc-progress/src/Circle.tsx +0 -178
- package/src/vc-progress/src/Line.tsx +0 -114
- package/src/vc-progress/src/common.ts +0 -44
- package/src/vc-progress/src/index.ts +0 -12
- package/src/vc-progress/src/types.ts +0 -30
- package/src/vc-resize-observer/index.tsx +0 -141
- package/src/vc-select/BaseSelect.tsx +0 -928
- package/src/vc-select/OptGroup.tsx +0 -15
- package/src/vc-select/Option.tsx +0 -18
- package/src/vc-select/OptionList.tsx +0 -391
- package/src/vc-select/Select.tsx +0 -658
- package/src/vc-select/SelectContext.ts +0 -36
- package/src/vc-select/SelectTrigger.tsx +0 -193
- package/src/vc-select/Selector/Input.tsx +0 -172
- package/src/vc-select/Selector/MultipleSelector.tsx +0 -302
- package/src/vc-select/Selector/SingleSelector.tsx +0 -187
- package/src/vc-select/Selector/index.tsx +0 -283
- package/src/vc-select/Selector/interface.ts +0 -27
- package/src/vc-select/TransBtn.tsx +0 -69
- package/src/vc-select/hooks/useBaseProps.ts +0 -24
- package/src/vc-select/hooks/useCache.ts +0 -56
- package/src/vc-select/hooks/useDelayReset.ts +0 -32
- package/src/vc-select/hooks/useFilterOptions.ts +0 -87
- package/src/vc-select/hooks/useId.ts +0 -31
- package/src/vc-select/hooks/useLock.ts +0 -29
- package/src/vc-select/hooks/useOptions.ts +0 -59
- package/src/vc-select/hooks/useSelectTriggerControl.ts +0 -32
- package/src/vc-select/index.ts +0 -13
- package/src/vc-select/interface.ts +0 -11
- package/src/vc-select/utils/commonUtil.ts +0 -12
- package/src/vc-select/utils/keyUtil.ts +0 -34
- package/src/vc-select/utils/legacyUtil.ts +0 -62
- package/src/vc-select/utils/platformUtil.ts +0 -4
- package/src/vc-select/utils/valueUtil.ts +0 -130
- package/src/vc-select/utils/warningPropsUtil.ts +0 -136
- package/src/vc-slick/arrows.jsx +0 -119
- package/src/vc-slick/default-props.js +0 -56
- package/src/vc-slick/dots.jsx +0 -86
- package/src/vc-slick/index.js +0 -4
- package/src/vc-slick/initial-state.js +0 -27
- package/src/vc-slick/inner-slider.jsx +0 -760
- package/src/vc-slick/slider.jsx +0 -198
- package/src/vc-slick/track.jsx +0 -190
- package/src/vc-slick/utils/innerSliderUtils.js +0 -785
- package/src/vc-slider/index.ts +0 -4
- package/src/vc-slider/src/Handle.tsx +0 -148
- package/src/vc-slider/src/Range.tsx +0 -527
- package/src/vc-slider/src/Slider.tsx +0 -226
- package/src/vc-slider/src/common/Marks.tsx +0 -75
- package/src/vc-slider/src/common/Steps.tsx +0 -76
- package/src/vc-slider/src/common/Track.tsx +0 -29
- package/src/vc-slider/src/common/createSlider.tsx +0 -368
- package/src/vc-slider/src/index.ts +0 -8
- package/src/vc-slider/src/utils.ts +0 -134
- package/src/vc-steps/Step.tsx +0 -201
- package/src/vc-steps/Steps.tsx +0 -146
- package/src/vc-steps/index.ts +0 -6
- package/src/vc-steps/interface.ts +0 -16
- package/src/vc-table/Body/BodyRow.tsx +0 -217
- package/src/vc-table/Body/ExpandedRow.tsx +0 -68
- package/src/vc-table/Body/MeasureCell.tsx +0 -35
- package/src/vc-table/Body/index.tsx +0 -146
- package/src/vc-table/Cell/index.tsx +0 -368
- package/src/vc-table/ColGroup.tsx +0 -38
- package/src/vc-table/FixedHolder/index.tsx +0 -191
- package/src/vc-table/Footer/Cell.tsx +0 -53
- package/src/vc-table/Footer/Row.tsx +0 -9
- package/src/vc-table/Footer/Summary.tsx +0 -27
- package/src/vc-table/Footer/index.tsx +0 -41
- package/src/vc-table/Header/DragHandle.tsx +0 -160
- package/src/vc-table/Header/Header.tsx +0 -128
- package/src/vc-table/Header/HeaderRow.tsx +0 -112
- package/src/vc-table/Panel/index.tsx +0 -7
- package/src/vc-table/Table.tsx +0 -865
- package/src/vc-table/constant.ts +0 -1
- package/src/vc-table/context/BodyContext.tsx +0 -41
- package/src/vc-table/context/ExpandedRowContext.tsx +0 -18
- package/src/vc-table/context/HoverContext.tsx +0 -21
- package/src/vc-table/context/ResizeContext.tsx +0 -18
- package/src/vc-table/context/StickyContext.tsx +0 -14
- package/src/vc-table/context/SummaryContext.tsx +0 -23
- package/src/vc-table/context/TableContext.tsx +0 -34
- package/src/vc-table/hooks/useColumns.tsx +0 -251
- package/src/vc-table/hooks/useFlattenRecords.ts +0 -90
- package/src/vc-table/hooks/useFrame.ts +0 -63
- package/src/vc-table/hooks/useSticky.ts +0 -41
- package/src/vc-table/hooks/useStickyOffsets.ts +0 -55
- package/src/vc-table/index.ts +0 -11
- package/src/vc-table/interface.ts +0 -257
- package/src/vc-table/stickyScrollBar.tsx +0 -241
- package/src/vc-table/sugar/Column.tsx +0 -14
- package/src/vc-table/sugar/ColumnGroup.tsx +0 -15
- package/src/vc-table/utils/expandUtil.tsx +0 -51
- package/src/vc-table/utils/fixUtil.ts +0 -69
- package/src/vc-table/utils/legacyUtil.ts +0 -59
- package/src/vc-table/utils/valueUtil.tsx +0 -89
- package/src/vc-tooltip/index.ts +0 -4
- package/src/vc-tooltip/src/Content.tsx +0 -30
- package/src/vc-tooltip/src/Tooltip.tsx +0 -137
- package/src/vc-tooltip/src/placements.ts +0 -83
- package/src/vc-tour/Mask.tsx +0 -132
- package/src/vc-tour/Tour.tsx +0 -259
- package/src/vc-tour/TourStep/DefaultPanel.tsx +0 -57
- package/src/vc-tour/TourStep/index.tsx +0 -27
- package/src/vc-tour/hooks/useTarget.ts +0 -101
- package/src/vc-tour/index.ts +0 -7
- package/src/vc-tour/interface.ts +0 -37
- package/src/vc-tour/placements.tsx +0 -79
- package/src/vc-tour/util.ts +0 -7
- package/src/vc-tree/DropIndicator.tsx +0 -34
- package/src/vc-tree/Indent.tsx +0 -31
- package/src/vc-tree/MotionTreeNode.tsx +0 -125
- package/src/vc-tree/NodeList.tsx +0 -304
- package/src/vc-tree/Tree.tsx +0 -1242
- package/src/vc-tree/TreeNode.tsx +0 -585
- package/src/vc-tree/contextTypes.ts +0 -149
- package/src/vc-tree/index.ts +0 -9
- package/src/vc-tree/interface.tsx +0 -102
- package/src/vc-tree/props.ts +0 -256
- package/src/vc-tree/useMaxLevel.ts +0 -39
- package/src/vc-tree/util.tsx +0 -352
- package/src/vc-tree/utils/conductUtil.ts +0 -241
- package/src/vc-tree/utils/diffUtil.ts +0 -45
- package/src/vc-tree/utils/treeUtil.ts +0 -458
- package/src/vc-tree-select/LegacyContext.tsx +0 -65
- package/src/vc-tree-select/OptionList.tsx +0 -263
- package/src/vc-tree-select/TreeNode.tsx +0 -15
- package/src/vc-tree-select/TreeSelect.tsx +0 -765
- package/src/vc-tree-select/TreeSelectContext.ts +0 -27
- package/src/vc-tree-select/hooks/useCache.ts +0 -44
- package/src/vc-tree-select/hooks/useCheckedKeys.ts +0 -39
- package/src/vc-tree-select/hooks/useDataEntities.ts +0 -42
- package/src/vc-tree-select/hooks/useFilterTreeData.ts +0 -64
- package/src/vc-tree-select/hooks/useTreeData.ts +0 -75
- package/src/vc-tree-select/index.tsx +0 -10
- package/src/vc-tree-select/interface.ts +0 -101
- package/src/vc-tree-select/utils/legacyUtil.tsx +0 -180
- package/src/vc-tree-select/utils/strategyUtil.ts +0 -48
- package/src/vc-tree-select/utils/valueUtil.ts +0 -50
- package/src/vc-tree-select/utils/warningPropsUtil.ts +0 -35
- package/src/vc-trigger/Popup/Mask.tsx +0 -38
- package/src/vc-trigger/Popup/MobilePopupInner.tsx +0 -60
- package/src/vc-trigger/Popup/PopupInner.tsx +0 -221
- package/src/vc-trigger/Popup/index.tsx +0 -57
- package/src/vc-trigger/Popup/interface.ts +0 -61
- package/src/vc-trigger/Popup/useStretchStyle.ts +0 -42
- package/src/vc-trigger/Popup/useVisibleStatus.ts +0 -98
- package/src/vc-trigger/Trigger.tsx +0 -716
- package/src/vc-trigger/context.ts +0 -38
- package/src/vc-trigger/index.ts +0 -8
- package/src/vc-trigger/interface.ts +0 -147
- package/src/vc-trigger/utils/alignUtil.ts +0 -40
- package/src/vc-trigger/utils/motionUtil.ts +0 -22
- package/src/vc-upload/AjaxUploader.tsx +0 -320
- package/src/vc-upload/Upload.tsx +0 -43
- package/src/vc-upload/attr-accept.ts +0 -53
- package/src/vc-upload/index.ts +0 -7
- package/src/vc-upload/interface.tsx +0 -83
- package/src/vc-upload/request.ts +0 -104
- package/src/vc-upload/traverseFileTree.ts +0 -73
- package/src/vc-upload/uid.ts +0 -6
- package/src/vc-util/Children/toArray.ts +0 -26
- package/src/vc-util/Dom/addEventListener.js +0 -22
- package/src/vc-util/Dom/class.js +0 -28
- package/src/vc-util/Dom/contains.ts +0 -12
- package/src/vc-util/Dom/css.ts +0 -133
- package/src/vc-util/Dom/dynamicCSS.ts +0 -153
- package/src/vc-util/Dom/isVisible.ts +0 -25
- package/src/vc-util/Dom/scrollLocker.ts +0 -130
- package/src/vc-util/devWarning.ts +0 -7
- package/src/vc-util/get.ts +0 -13
- package/src/vc-util/isEqual.ts +0 -52
- package/src/vc-util/isMobile.ts +0 -15
- package/src/vc-util/set.ts +0 -51
- package/src/vc-util/warning.ts +0 -40
- package/src/vc-virtual-list/Filler.tsx +0 -72
- package/src/vc-virtual-list/Item.tsx +0 -26
- package/src/vc-virtual-list/List.tsx +0 -549
- package/src/vc-virtual-list/ScrollBar.tsx +0 -266
- package/src/vc-virtual-list/hooks/useFrameWheel.ts +0 -62
- package/src/vc-virtual-list/hooks/useHeights.tsx +0 -67
- package/src/vc-virtual-list/hooks/useMobileTouchMove.ts +0 -85
- package/src/vc-virtual-list/hooks/useOriginScroll.ts +0 -33
- package/src/vc-virtual-list/hooks/useScrollTo.tsx +0 -113
- package/src/vc-virtual-list/index.ts +0 -4
- package/src/vc-virtual-list/interface.ts +0 -11
- package/src/vc-virtual-list/utils/algorithmUtil.js +0 -81
- package/src/vc-virtual-list/utils/isFirefox.ts +0 -3
- package/src/vc-virtual-list/utils/itemUtil.js +0 -147
- package/src/watermark/index.en-US.md +0 -42
- package/src/watermark/index.tsx +0 -260
- package/src/watermark/index.zh-CN.md +0 -43
- package/src/watermark/utils.ts +0 -43
|
@@ -1,301 +0,0 @@
|
|
|
1
|
-
import type { CSSProperties } from 'vue'
|
|
2
|
-
|
|
3
|
-
import type { PickerLocale } from '.'
|
|
4
|
-
import type { FocusEventHandler, MouseEventHandler } from '../../_util/EventInterface'
|
|
5
|
-
import type { InputStatus } from '../../_util/statusUtils'
|
|
6
|
-
import type { VueNode } from '../../_util/type'
|
|
7
|
-
import {
|
|
8
|
-
arrayType,
|
|
9
|
-
booleanType,
|
|
10
|
-
functionType,
|
|
11
|
-
objectType,
|
|
12
|
-
someType,
|
|
13
|
-
stringType,
|
|
14
|
-
} from '../../_util/type'
|
|
15
|
-
import type { SizeType } from '../../config-provider'
|
|
16
|
-
import type { RangeDateRender, RangeInfo, RangeType } from '../../vc-picker/RangePicker'
|
|
17
|
-
import type {
|
|
18
|
-
CustomFormat,
|
|
19
|
-
DisabledTime,
|
|
20
|
-
DisabledTimes,
|
|
21
|
-
EventValue,
|
|
22
|
-
PanelMode,
|
|
23
|
-
PickerMode,
|
|
24
|
-
PresetDate,
|
|
25
|
-
RangeValue,
|
|
26
|
-
} from '../../vc-picker/interface'
|
|
27
|
-
import type { DateRender } from '../../vc-picker/panels/DatePanel/DateBody'
|
|
28
|
-
import type { MonthCellRender } from '../../vc-picker/panels/MonthPanel/MonthBody'
|
|
29
|
-
import type { SharedTimeProps } from '../../vc-picker/panels/TimePanel'
|
|
30
|
-
|
|
31
|
-
const DataPickerPlacements = ['bottomLeft', 'bottomRight', 'topLeft', 'topRight'] as const
|
|
32
|
-
type DataPickerPlacement = (typeof DataPickerPlacements)[number]
|
|
33
|
-
|
|
34
|
-
type RangeShowTimeObject<DateType> = Omit<SharedTimeProps<DateType>, 'defaultValue'> & {
|
|
35
|
-
defaultValue?: DateType[]
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
function commonProps<DateType = any>() {
|
|
39
|
-
return {
|
|
40
|
-
id: String,
|
|
41
|
-
/**
|
|
42
|
-
* @deprecated `dropdownClassName` is deprecated which will be removed in next major
|
|
43
|
-
* version.Please use `popupClassName` instead.
|
|
44
|
-
*/
|
|
45
|
-
dropdownClassName: String,
|
|
46
|
-
popupClassName: String,
|
|
47
|
-
popupStyle: objectType<CSSProperties>(),
|
|
48
|
-
transitionName: String,
|
|
49
|
-
placeholder: String,
|
|
50
|
-
allowClear: booleanType(),
|
|
51
|
-
autofocus: booleanType(),
|
|
52
|
-
disabled: booleanType(),
|
|
53
|
-
tabindex: Number,
|
|
54
|
-
open: booleanType(),
|
|
55
|
-
defaultOpen: booleanType(),
|
|
56
|
-
/** Make input readOnly to avoid popup keyboard in mobile */
|
|
57
|
-
inputReadOnly: booleanType(),
|
|
58
|
-
format: someType<string | CustomFormat<DateType> | (string | CustomFormat<DateType>)[]>([
|
|
59
|
-
String,
|
|
60
|
-
Function,
|
|
61
|
-
Array,
|
|
62
|
-
]),
|
|
63
|
-
// Value
|
|
64
|
-
// format: string | CustomFormat<DateType> | (string | CustomFormat<DateType>)[];
|
|
65
|
-
// Render
|
|
66
|
-
// suffixIcon?: VueNode;
|
|
67
|
-
// clearIcon?: VueNode;
|
|
68
|
-
// prevIcon?: VueNode;
|
|
69
|
-
// nextIcon?: VueNode;
|
|
70
|
-
// superPrevIcon?: VueNode;
|
|
71
|
-
// superNextIcon?: VueNode;
|
|
72
|
-
getPopupContainer: functionType<(node: HTMLElement) => HTMLElement>(),
|
|
73
|
-
panelRender: functionType<(originPanel: VueNode) => VueNode>(),
|
|
74
|
-
// // Events
|
|
75
|
-
onChange: functionType<(value: DateType | string | null, dateString: string) => void>(),
|
|
76
|
-
'onUpdate:value': functionType<(value: DateType | string | null) => void>(),
|
|
77
|
-
onOk: functionType<(value: DateType | string | null) => void>(),
|
|
78
|
-
onOpenChange: functionType<(open: boolean) => void>(),
|
|
79
|
-
'onUpdate:open': functionType<(open: boolean) => void>(),
|
|
80
|
-
onFocus: functionType<FocusEventHandler>(),
|
|
81
|
-
onBlur: functionType<FocusEventHandler>(),
|
|
82
|
-
onMousedown: functionType<MouseEventHandler>(),
|
|
83
|
-
onMouseup: functionType<MouseEventHandler>(),
|
|
84
|
-
onMouseenter: functionType<MouseEventHandler>(),
|
|
85
|
-
onMouseleave: functionType<MouseEventHandler>(),
|
|
86
|
-
onClick: functionType<MouseEventHandler>(),
|
|
87
|
-
onContextmenu: functionType<MouseEventHandler>(),
|
|
88
|
-
onKeydown: functionType<(event: KeyboardEvent, preventDefault: () => void) => void>(),
|
|
89
|
-
// WAI-ARIA
|
|
90
|
-
role: String,
|
|
91
|
-
name: String,
|
|
92
|
-
autocomplete: String,
|
|
93
|
-
direction: stringType<'ltr' | 'rtl'>(),
|
|
94
|
-
showToday: booleanType(),
|
|
95
|
-
showTime: someType<boolean | SharedTimeProps<DateType>>([Boolean, Object]),
|
|
96
|
-
locale: objectType<PickerLocale>(),
|
|
97
|
-
size: stringType<SizeType>(),
|
|
98
|
-
bordered: booleanType(),
|
|
99
|
-
dateRender: functionType<DateRender<DateType>>(),
|
|
100
|
-
disabledDate: functionType<(date: DateType) => boolean>(),
|
|
101
|
-
mode: stringType<PanelMode>(),
|
|
102
|
-
picker: stringType<PickerMode>(),
|
|
103
|
-
valueFormat: String,
|
|
104
|
-
placement: stringType<DataPickerPlacement>(),
|
|
105
|
-
status: stringType<InputStatus>(),
|
|
106
|
-
|
|
107
|
-
/** @deprecated Please use `disabledTime` instead. */
|
|
108
|
-
disabledHours: functionType<DisabledTimes['disabledHours']>(),
|
|
109
|
-
/** @deprecated Please use `disabledTime` instead. */
|
|
110
|
-
disabledMinutes: functionType<DisabledTimes['disabledMinutes']>(),
|
|
111
|
-
/** @deprecated Please use `disabledTime` instead. */
|
|
112
|
-
disabledSeconds: functionType<DisabledTimes['disabledSeconds']>(),
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
export interface CommonProps<DateType> {
|
|
117
|
-
id?: string
|
|
118
|
-
prefixCls?: string
|
|
119
|
-
/**
|
|
120
|
-
* @deprecated `dropdownClassName` is deprecated which will be removed in next major
|
|
121
|
-
* version.Please use `popupClassName` instead.
|
|
122
|
-
*/
|
|
123
|
-
|
|
124
|
-
dropdownClassName?: string
|
|
125
|
-
popupClassName?: string
|
|
126
|
-
popupStyle?: CSSProperties
|
|
127
|
-
transitionName?: string
|
|
128
|
-
placeholder?: string
|
|
129
|
-
allowClear?: boolean
|
|
130
|
-
autofocus?: boolean
|
|
131
|
-
disabled?: boolean
|
|
132
|
-
tabindex?: number
|
|
133
|
-
open?: boolean
|
|
134
|
-
defaultOpen?: boolean
|
|
135
|
-
inputReadOnly?: boolean
|
|
136
|
-
format?: string | CustomFormat<DateType> | (string | CustomFormat<DateType>)[]
|
|
137
|
-
suffixIcon?: VueNode
|
|
138
|
-
clearIcon?: VueNode
|
|
139
|
-
prevIcon?: VueNode
|
|
140
|
-
nextIcon?: VueNode
|
|
141
|
-
superPrevIcon?: VueNode
|
|
142
|
-
superNextIcon?: VueNode
|
|
143
|
-
getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement
|
|
144
|
-
panelRender?: (originPanel: VueNode) => VueNode
|
|
145
|
-
onChange?: (value: DateType | string | null, dateString: string) => void
|
|
146
|
-
'onUpdate:value'?: (value: DateType | string | null) => void
|
|
147
|
-
onOk?: (value: DateType | string | null) => void
|
|
148
|
-
onOpenChange?: (open: boolean) => void
|
|
149
|
-
'onUpdate:open'?: (open: boolean) => void
|
|
150
|
-
onFocus?: FocusEventHandler
|
|
151
|
-
onBlur?: FocusEventHandler
|
|
152
|
-
onMousedown?: MouseEventHandler
|
|
153
|
-
onMouseup?: MouseEventHandler
|
|
154
|
-
onMouseenter?: MouseEventHandler
|
|
155
|
-
onMouseleave?: MouseEventHandler
|
|
156
|
-
onClick?: MouseEventHandler
|
|
157
|
-
onContextmenu?: MouseEventHandler
|
|
158
|
-
onKeydown?: (event: KeyboardEvent, preventDefault: () => void) => void
|
|
159
|
-
role?: string
|
|
160
|
-
name?: string
|
|
161
|
-
autocomplete?: string
|
|
162
|
-
direction?: 'ltr' | 'rtl'
|
|
163
|
-
showToday?: boolean
|
|
164
|
-
showTime?: boolean | SharedTimeProps<DateType>
|
|
165
|
-
locale?: PickerLocale
|
|
166
|
-
size?: SizeType
|
|
167
|
-
bordered?: boolean
|
|
168
|
-
dateRender?: DateRender<DateType>
|
|
169
|
-
disabledDate?: (date: DateType) => boolean
|
|
170
|
-
mode?: PanelMode
|
|
171
|
-
picker?: PickerMode
|
|
172
|
-
valueFormat?: string
|
|
173
|
-
placement?: DataPickerPlacement
|
|
174
|
-
status?: InputStatus
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
function datePickerProps<DateType = any>() {
|
|
178
|
-
return {
|
|
179
|
-
defaultPickerValue: someType<DateType | string>([Object, String]),
|
|
180
|
-
defaultValue: someType<DateType | string>([Object, String]),
|
|
181
|
-
value: someType<DateType | string>([Object, String]),
|
|
182
|
-
presets: arrayType<PresetDate<DateType>[]>(),
|
|
183
|
-
disabledTime: functionType<DisabledTime<DateType>>(),
|
|
184
|
-
renderExtraFooter: functionType<(mode: PanelMode) => VueNode>(),
|
|
185
|
-
showNow: booleanType(),
|
|
186
|
-
monthCellRender: functionType<MonthCellRender<DateType>>(),
|
|
187
|
-
// deprecated Please use `monthCellRender"` instead.',
|
|
188
|
-
monthCellContentRender: functionType<MonthCellRender<DateType>>(),
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
export interface DatePickerProps<DateType> {
|
|
193
|
-
defaultPickerValue?: DateType | string
|
|
194
|
-
defaultValue?: DateType | string
|
|
195
|
-
value?: DateType | string
|
|
196
|
-
presets?: PresetDate<DateType>[]
|
|
197
|
-
disabledTime?: DisabledTime<DateType>
|
|
198
|
-
renderExtraFooter?: (mode: PanelMode) => VueNode
|
|
199
|
-
showNow?: boolean
|
|
200
|
-
monthCellRender?: MonthCellRender<DateType>
|
|
201
|
-
// deprecated Please use `monthCellRender"` instead.',
|
|
202
|
-
monthCellContentRender?: MonthCellRender<DateType>
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
function rangePickerProps<DateType>() {
|
|
206
|
-
return {
|
|
207
|
-
allowEmpty: arrayType<[boolean, boolean]>(),
|
|
208
|
-
dateRender: functionType<RangeDateRender<DateType>>(),
|
|
209
|
-
defaultPickerValue: arrayType<RangeValue<DateType> | RangeValue<string>>(),
|
|
210
|
-
defaultValue: arrayType<RangeValue<DateType> | RangeValue<string>>(),
|
|
211
|
-
value: arrayType<RangeValue<DateType> | RangeValue<string>>(),
|
|
212
|
-
presets: arrayType<PresetDate<Array<DateType>>[]>(),
|
|
213
|
-
disabledTime: functionType<(date: EventValue<DateType>, type: RangeType) => DisabledTimes>(),
|
|
214
|
-
disabled: someType<boolean | [boolean, boolean]>([Boolean, Array]),
|
|
215
|
-
renderExtraFooter: functionType<() => VueNode>(),
|
|
216
|
-
separator: { type: String },
|
|
217
|
-
showTime: someType<boolean | RangeShowTimeObject<DateType>>([Boolean, Object]),
|
|
218
|
-
ranges:
|
|
219
|
-
objectType<
|
|
220
|
-
Record<
|
|
221
|
-
string,
|
|
222
|
-
Exclude<RangeValue<DateType>, null> | (() => Exclude<RangeValue<DateType>, null>)
|
|
223
|
-
>
|
|
224
|
-
>(),
|
|
225
|
-
placeholder: arrayType<string[]>(),
|
|
226
|
-
mode: arrayType<[PanelMode, PanelMode]>(),
|
|
227
|
-
onChange:
|
|
228
|
-
functionType<
|
|
229
|
-
(
|
|
230
|
-
value: RangeValue<DateType> | RangeValue<string> | null,
|
|
231
|
-
dateString: [string, string],
|
|
232
|
-
) => void
|
|
233
|
-
>(),
|
|
234
|
-
'onUpdate:value':
|
|
235
|
-
functionType<(value: RangeValue<DateType> | RangeValue<string> | null) => void>(),
|
|
236
|
-
onCalendarChange:
|
|
237
|
-
functionType<
|
|
238
|
-
(
|
|
239
|
-
values: RangeValue<DateType> | RangeValue<string>,
|
|
240
|
-
formatString: [string, string],
|
|
241
|
-
info: RangeInfo,
|
|
242
|
-
) => void
|
|
243
|
-
>(),
|
|
244
|
-
onPanelChange:
|
|
245
|
-
functionType<
|
|
246
|
-
(values: RangeValue<DateType> | RangeValue<string>, modes: [PanelMode, PanelMode]) => void
|
|
247
|
-
>(),
|
|
248
|
-
onOk: functionType<(dates: RangeValue<DateType> | RangeValue<string>) => void>(),
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
export interface RangePickerProps<DateType> {
|
|
253
|
-
allowEmpty?: [boolean, boolean]
|
|
254
|
-
dateRender?: RangeDateRender<DateType>
|
|
255
|
-
defaultPickerValue?: RangeValue<DateType> | RangeValue<string>
|
|
256
|
-
defaultValue?: RangeValue<DateType> | RangeValue<string>
|
|
257
|
-
value?: RangeValue<DateType> | RangeValue<string>
|
|
258
|
-
presets?: PresetDate<RangeValue<DateType>>[]
|
|
259
|
-
disabledTime?: (date: EventValue<DateType>, type: RangeType) => DisabledTimes
|
|
260
|
-
disabled?: [boolean, boolean]
|
|
261
|
-
renderExtraFooter?: () => VueNode
|
|
262
|
-
separator?: string
|
|
263
|
-
showTime?: boolean | RangeShowTimeObject<DateType>
|
|
264
|
-
ranges?: Record<
|
|
265
|
-
string,
|
|
266
|
-
Exclude<RangeValue<DateType>, null> | (() => Exclude<RangeValue<DateType>, null>)
|
|
267
|
-
>
|
|
268
|
-
placeholder?: [string, string]
|
|
269
|
-
mode?: [PanelMode, PanelMode]
|
|
270
|
-
onChange?: (
|
|
271
|
-
value: RangeValue<DateType> | RangeValue<string> | null,
|
|
272
|
-
dateString: [string, string],
|
|
273
|
-
) => void
|
|
274
|
-
'onUpdate:value'?: (value: RangeValue<DateType> | RangeValue<string> | null) => void
|
|
275
|
-
onCalendarChange?: (
|
|
276
|
-
values: RangeValue<DateType> | RangeValue<string>,
|
|
277
|
-
formatString: [string, string],
|
|
278
|
-
info: RangeInfo,
|
|
279
|
-
) => void
|
|
280
|
-
onPanelChange?: (
|
|
281
|
-
values: RangeValue<DateType> | RangeValue<string>,
|
|
282
|
-
modes: [PanelMode, PanelMode],
|
|
283
|
-
) => void
|
|
284
|
-
onOk?: (dates: RangeValue<DateType> | RangeValue<string>) => void
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
export interface ExtraDatePickerProps<DateType> {
|
|
288
|
-
valueFormat?: string
|
|
289
|
-
defaultPickerValue?: DateType | string
|
|
290
|
-
defaultValue?: DateType | string
|
|
291
|
-
value?: DateType | string
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
export interface ExtraRangePickerProps<DateType> {
|
|
295
|
-
valueFormat?: string
|
|
296
|
-
defaultPickerValue?: RangeValue<DateType> | RangeValue<string>
|
|
297
|
-
defaultValue?: RangeValue<DateType> | RangeValue<string>
|
|
298
|
-
value?: RangeValue<DateType> | RangeValue<string>
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
export { commonProps, datePickerProps, rangePickerProps }
|
|
@@ -1,232 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
category: Components
|
|
3
|
-
type: Data Entry
|
|
4
|
-
title: DatePicker
|
|
5
|
-
cover: https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*xXA9TJ8BTioAAAAAAAAAAAAADrJ8AQ/original
|
|
6
|
-
coverDark: https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*3OpRQKcygo8AAAAAAAAAAAAADrJ8AQ/original
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
To select or input a date.
|
|
10
|
-
|
|
11
|
-
## When To Use
|
|
12
|
-
|
|
13
|
-
By clicking the input box, you can select a date from a popup calendar.
|
|
14
|
-
|
|
15
|
-
## API
|
|
16
|
-
|
|
17
|
-
There are five kinds of picker:
|
|
18
|
-
|
|
19
|
-
- DatePicker
|
|
20
|
-
- DatePicker\[picker="month"]
|
|
21
|
-
- DatePicker\[picker="week"]
|
|
22
|
-
- DatePicker\[picker="year"]
|
|
23
|
-
- DatePicker\[picker="quarter"]
|
|
24
|
-
- RangePicker
|
|
25
|
-
|
|
26
|
-
### Localization
|
|
27
|
-
|
|
28
|
-
The default locale is en-US, if you need to use other languages, recommend to use internationalized components provided by us at the entrance. Look at: [ConfigProvider](/components/config-provider/).
|
|
29
|
-
|
|
30
|
-
If there are special needs (only modifying single component language), Please use the property: local. Example: [default](https://github.com/vueComponent/ant-design-vue/blob/main/components/date-picker/locale/example.json).
|
|
31
|
-
|
|
32
|
-
```html
|
|
33
|
-
<template>
|
|
34
|
-
<a-date-picker v-model:value="value" :locale="locale" />
|
|
35
|
-
</template>
|
|
36
|
-
<script>
|
|
37
|
-
import locale from 'ant-design-vue/es/date-picker/locale/zh_CN'
|
|
38
|
-
|
|
39
|
-
import { defineComponent } from 'vue'
|
|
40
|
-
|
|
41
|
-
export default defineComponent({
|
|
42
|
-
setup() {
|
|
43
|
-
return {
|
|
44
|
-
locale,
|
|
45
|
-
value: null,
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
})
|
|
49
|
-
</script>
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
```html
|
|
53
|
-
<template>
|
|
54
|
-
<a-config-provider :locale="locale">
|
|
55
|
-
<a-date-picker v-model:value="value" />
|
|
56
|
-
</a-config-provider>
|
|
57
|
-
</template>
|
|
58
|
-
<script>
|
|
59
|
-
// The default locale is en-US, if you want to use other locale, just set locale in entry file globally.
|
|
60
|
-
import dayjs from 'dayjs';
|
|
61
|
-
import 'dayjs/locale/zh-cn';
|
|
62
|
-
import locale from 'ant-design-vue/es/date-picker/locale/zh_CN';
|
|
63
|
-
import { defineComponent } from 'vue';
|
|
64
|
-
dayjs.locale('zh-cn');
|
|
65
|
-
export default defineComponent({
|
|
66
|
-
setup() {
|
|
67
|
-
return {
|
|
68
|
-
value: dayjs('2015-01-01', 'YYYY-MM-DD')
|
|
69
|
-
dayjs,
|
|
70
|
-
locale
|
|
71
|
-
};
|
|
72
|
-
},
|
|
73
|
-
});
|
|
74
|
-
</script>
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
### Common API
|
|
78
|
-
|
|
79
|
-
The following APIs are shared by DatePicker, RangePicker.
|
|
80
|
-
|
|
81
|
-
| Property | Description | Type | Default | Version |
|
|
82
|
-
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | --------- |
|
|
83
|
-
| allowClear | Whether to show clear button | boolean | true | |
|
|
84
|
-
| autofocus | If get focus when component mounted | boolean | false | |
|
|
85
|
-
| bordered | Whether has border style | boolean | true | |
|
|
86
|
-
| dateRender | Custom rendering function for date cells | v-slot:dateRender="{current, today}" | - | |
|
|
87
|
-
| disabled | Determine whether the DatePicker is disabled | boolean | false | |
|
|
88
|
-
| disabledDate | Specify the date that cannot be selected | (currentDate: dayjs) => boolean | - | |
|
|
89
|
-
| format | To set the date format, refer to [dayjs](https://day.js.org/). When an array is provided, all values are used for parsing and first value is used for formatting, support [Custom Format](#components-date-picker-demo-format) | [formatType](#formattype) | `YYYY-MM-DD` | |
|
|
90
|
-
| popupClassName | To customize the className of the popup calendar | string | - | |
|
|
91
|
-
| getPopupContainer | To set the container of the floating layer, while the default is to create a `div` element in `body` | function(trigger) | - | |
|
|
92
|
-
| inputReadOnly | Set the `readonly` attribute of the input tag (avoids virtual keyboard on touch devices) | boolean | false | |
|
|
93
|
-
| locale | Localization configuration | object | [default](https://github.com/vueComponent/ant-design-vue/blob/main/components/date-picker/locale/example.json) | |
|
|
94
|
-
| mode | The picker panel mode | `time` \| `date` \| `month` \| `year` \| `decade` | - | |
|
|
95
|
-
| nextIcon | The custom next icon | slot | - | 3.0 |
|
|
96
|
-
| open | The open state of picker | boolean | - | |
|
|
97
|
-
| picker | Set picker type | `date` \| `week` \| `month` \| `quarter` \| `year` | `date` | `quarter` |
|
|
98
|
-
| placeholder | The placeholder of date input | string \| \[string,string] | - | |
|
|
99
|
-
| placement | The position where the selection box pops up | `bottomLeft` `bottomRight` `topLeft` `topRight` | bottomLeft | 3.3.0 |
|
|
100
|
-
| popupStyle | To customize the style of the popup calendar | CSSProperties | {} | |
|
|
101
|
-
| presets | The preset ranges for quick selection | { label: slot, value: [dayjs](https://day.js.org/) }[] | - | 4.0 |
|
|
102
|
-
| prevIcon | The custom prev icon | slot | - | 3.0 |
|
|
103
|
-
| size | To determine the size of the input box, the height of `large` and `small`, are 40px and 24px respectively, while default size is 32px | `large` \| `middle` \| `small` | - | |
|
|
104
|
-
| status | Set validation status | 'error' \| 'warning' | - | 3.3.0 |
|
|
105
|
-
| suffixIcon | The custom suffix icon | v-slot:suffixIcon | - | |
|
|
106
|
-
| superNextIcon | The custom super next icon | slot | - | 3.0 |
|
|
107
|
-
| superPrevIcon | The custom super prev icon | slot | - | 3.0 |
|
|
108
|
-
| valueFormat | optional, format of binding value. If not specified, the binding value will be a Date object | string, [date formats](https://day.js.org/docs/en/display/format) | - | |
|
|
109
|
-
|
|
110
|
-
### Common Events
|
|
111
|
-
|
|
112
|
-
| Events Name | Description | Arguments | Version |
|
|
113
|
-
| ----------- | -------------------------------------------------------------------------------------- | --------------------- | ------- |
|
|
114
|
-
| openChange | a callback function, can be executed whether the popup calendar is popped up or closed | function(status) | |
|
|
115
|
-
| panelChange | callback when picker panel mode is changed | function(value, mode) | |
|
|
116
|
-
|
|
117
|
-
### Common Methods
|
|
118
|
-
|
|
119
|
-
| Name | Description | Version |
|
|
120
|
-
| ------- | ------------ | ------- |
|
|
121
|
-
| blur() | remove focus | |
|
|
122
|
-
| focus() | get focus | |
|
|
123
|
-
|
|
124
|
-
### DatePicker
|
|
125
|
-
|
|
126
|
-
| Property | Description | Type | Default | Version |
|
|
127
|
-
| --------------------- | ---------------------------------------------------------------------------------------- | ------------------------------- | -------------------------------------------------- | ------- |
|
|
128
|
-
| defaultPickerValue | To set default picker date | [dayjs](https://day.js.org/) | - | |
|
|
129
|
-
| disabledTime | To specify the time that cannot be selected | function(date) | - | |
|
|
130
|
-
| format | To set the date format, refer to [dayjs](https://day.js.org/) | [formatType](#formattype) | `YYYY-MM-DD` | |
|
|
131
|
-
| renderExtraFooter | Render extra footer in panel | v-slot:renderExtraFooter="mode" | - | |
|
|
132
|
-
| showNow | Whether to show 'Now' button on panel when `showTime` is set | boolean | - | |
|
|
133
|
-
| showTime | To provide an additional time selection | object \| boolean | [TimePicker Options](/components/time-picker/#api) | |
|
|
134
|
-
| showTime.defaultValue | To set default time of selected date, [demo](#components-date-picker-demo-disabled-date) | [dayjs](https://day.js.org/) | dayjs() | |
|
|
135
|
-
| showToday | Whether to show `Today` button | boolean | true | |
|
|
136
|
-
| value(v-model) | To set date | [dayjs](https://day.js.org/) | - | |
|
|
137
|
-
|
|
138
|
-
### DatePicker Events
|
|
139
|
-
|
|
140
|
-
| Events Name | Description | Arguments | Version |
|
|
141
|
-
| ----------- | ----------------------------------------------------------------------- | --------------------------------------------------- | ------- |
|
|
142
|
-
| change | a callback function, can be executed when the selected time is changing | function(date: dayjs \| string, dateString: string) | |
|
|
143
|
-
| ok | callback when click ok button | function(date: dayjs \| string) | |
|
|
144
|
-
|
|
145
|
-
### DatePicker\[picker=year]
|
|
146
|
-
|
|
147
|
-
| Property | Description | Type | Default | Version |
|
|
148
|
-
| -------- | ------------------------------------------------------------- | ------------------------- | ------- | ------- |
|
|
149
|
-
| format | To set the date format, refer to [dayjs](https://day.js.org/) | [formatType](#formattype) | `YYYY` | |
|
|
150
|
-
|
|
151
|
-
### DatePicker\[picker=quarter]
|
|
152
|
-
|
|
153
|
-
| Property | Description | Type | Default | Version |
|
|
154
|
-
| -------- | ------------------------------------------------------------- | ------------------------- | ---------- | ------- |
|
|
155
|
-
| format | To set the date format, refer to [dayjs](https://day.js.org/) | [formatType](#formattype) | `YYYY-\QQ` | |
|
|
156
|
-
|
|
157
|
-
### DatePicker\[picker=month]
|
|
158
|
-
|
|
159
|
-
| Property | Description | Type | Default | Version |
|
|
160
|
-
| --------------- | ------------------------------------------------------------- | ------------------------------------------ | --------- | ------- |
|
|
161
|
-
| format | To set the date format, refer to [dayjs](https://day.js.org/) | [formatType](#formattype) | `YYYY-MM` | |
|
|
162
|
-
| monthCellRender | Custom month cell content render method | v-slot:monthCellRender="{current, locale}" | - | |
|
|
163
|
-
|
|
164
|
-
### DatePicker\[picker=week]
|
|
165
|
-
|
|
166
|
-
| Property | Description | Type | Default | Version |
|
|
167
|
-
| -------- | ------------------------------------------------------------- | ------------------------- | --------- | ------- |
|
|
168
|
-
| format | To set the date format, refer to [dayjs](https://day.js.org/) | [formatType](#formattype) | `YYYY-wo` | |
|
|
169
|
-
|
|
170
|
-
### RangePicker
|
|
171
|
-
|
|
172
|
-
| Property | Description | Type | Default | Version |
|
|
173
|
-
| --------------------- | ---------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------- | ------- |
|
|
174
|
-
| allowEmpty | Allow start or end input leave empty | \[boolean, boolean] | \[false, false] | |
|
|
175
|
-
| dateRender | Customize date cell. | v-slot:dateRender="{current: dayjs, today: dayjs, info: { range: `start` \| `end` }}" | - | |
|
|
176
|
-
| defaultPickerValue | To set default picker date | \[[dayjs](https://day.js.org/), [dayjs](https://day.js.org/)] | - | |
|
|
177
|
-
| disabled | If disable start or end | \[boolean, boolean] | - | |
|
|
178
|
-
| disabledTime | To specify the time that cannot be selected | function(date: dayjs, partial: `start` \| `end`) | - | |
|
|
179
|
-
| format | To set the date format, refer to [dayjs](https://day.js.org/) | [formatType](#formattype) | `YYYY-MM-DD HH:mm:ss` | |
|
|
180
|
-
| presets | The preset ranges for quick selection | { label: slot, value: [dayjs](https://day.js.org/)\[] }[] | - | 4.0 |
|
|
181
|
-
| ranges | The preseted ranges for quick selection | { \[range: string]: [dayjs](https://day.js.org/)\[] } \| { \[range: string]: () => [dayjs](https://day.js.org/)\[] } | - | |
|
|
182
|
-
| renderExtraFooter | Render extra footer in panel | v-slot:renderExtraFooter="mode" | - | |
|
|
183
|
-
| separator | Set separator between inputs | string \| v-slot:separator | `<SwapRightOutlined />` | |
|
|
184
|
-
| showTime | To provide an additional time selection | object \| boolean | [TimePicker Options](/components/time-picker/#api) | |
|
|
185
|
-
| showTime.defaultValue | To set default time of selected date, [demo](#components-date-picker-demo-disabled-date) | [dayjs](https://day.js.org/)\[] | \[dayjs(), dayjs()] | |
|
|
186
|
-
| value(v-model) | To set date | \[[dayjs](https://day.js.org/), [dayjs](https://day.js.org/)] | - | |
|
|
187
|
-
|
|
188
|
-
### RangePicker Events
|
|
189
|
-
|
|
190
|
-
| Events Name | Description | Arguments | Version | |
|
|
191
|
-
| -------------- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------- | --- |
|
|
192
|
-
| calendarChange | Callback function, can be executed when the start time or the end time of the range is changing. | function(dates: \[dayjs, dayjs], dateStrings: \[string, string], info: { range:`start`\|`end` }) | - | |
|
|
193
|
-
| change | a callback function, can be executed when the selected time is changing | function(dates: \[dayjs, dayjs] \| \[string, string], dateStrings: \[string, string]) | | |
|
|
194
|
-
| ok | callback when click ok button | function(dates: \[dayjs, dayjs] \| \[string, string]) | | |
|
|
195
|
-
|
|
196
|
-
#### formatType
|
|
197
|
-
|
|
198
|
-
```typescript
|
|
199
|
-
import type { Dayjs } from 'dayjs'
|
|
200
|
-
|
|
201
|
-
type Generic = string
|
|
202
|
-
type GenericFn = (value: Dayjs) => string
|
|
203
|
-
|
|
204
|
-
export type FormatType = Generic | GenericFn | Array<Generic | GenericFn>
|
|
205
|
-
```
|
|
206
|
-
|
|
207
|
-
## FAQ
|
|
208
|
-
|
|
209
|
-
### How to use DatePicker with customize date library(like moment.js \| dayjs \| date-fns)?
|
|
210
|
-
|
|
211
|
-
Please refer [replace date](/docs/vue/replace-date)
|
|
212
|
-
|
|
213
|
-
### Why config dayjs.locale globally not work?
|
|
214
|
-
|
|
215
|
-
DatePicker default set `locale` as `en` in v4. You can config DatePicker `locale` prop or [ConfigProvider `locale`](/components/config-provider) prop instead.
|
|
216
|
-
|
|
217
|
-
### How to modify start day of week?
|
|
218
|
-
|
|
219
|
-
Please use correct [language](/docs/vue/i18n) ([#5605](https://github.com/ant-design/ant-design/issues/5605)), or update dayjs `locale` config:
|
|
220
|
-
|
|
221
|
-
- Example: <https://codesandbox.io/s/dayjs-day-of-week-x9tuj2?file=/demo.tsx>
|
|
222
|
-
|
|
223
|
-
```js
|
|
224
|
-
import dayjs from 'dayjs'
|
|
225
|
-
import 'dayjs/locale/zh-cn'
|
|
226
|
-
import updateLocale from 'dayjs/plugin/updateLocale'
|
|
227
|
-
|
|
228
|
-
dayjs.extend(updateLocale)
|
|
229
|
-
dayjs.updateLocale('zh-cn', {
|
|
230
|
-
weekStart: 0,
|
|
231
|
-
})
|
|
232
|
-
```
|