antdv-next 1.4.4 → 1.4.6
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/_util/ActionButton.d.ts +1 -1
- package/dist/_util/PurePanel.d.ts +0 -1
- package/dist/_util/PurePanel.js +6 -5
- package/dist/_util/aria-data-attrs.d.ts +0 -1
- package/dist/_util/colors.d.ts +1 -0
- package/dist/_util/convertToTooltipProps.d.ts +0 -1
- package/dist/_util/gapSize.d.ts +0 -1
- package/dist/_util/getAllowClear.d.ts +0 -1
- package/dist/_util/getScroll.d.ts +2 -1
- package/dist/_util/getScroll.js +4 -1
- package/dist/_util/hooks/useClosable.d.ts +0 -1
- package/dist/_util/hooks/useMergeSemantic.d.ts +2 -3
- package/dist/_util/hooks/useMergedMask.d.ts +0 -1
- package/dist/_util/hooks/useOrientation.d.ts +0 -1
- package/dist/_util/hooks/usePatchElement.d.ts +0 -1
- package/dist/_util/hooks/usePatchElement.js +2 -1
- package/dist/_util/hooks/useResponsive.d.ts +0 -1
- package/dist/_util/hooks/useZIndex.d.ts +0 -1
- package/dist/_util/motion.d.ts +0 -1
- package/dist/_util/placements.d.ts +0 -1
- package/dist/_util/scrollTo.js +2 -2
- package/dist/_util/statusUtils.d.ts +0 -1
- package/dist/_util/styleChecker.d.ts +0 -1
- package/dist/_util/tools.d.ts +1 -2
- package/dist/_util/transKeys.d.ts +0 -1
- package/dist/_util/type.d.ts +1 -2
- package/dist/_util/vnode/index.d.ts +0 -1
- package/dist/_util/vueNode.d.ts +1 -2
- package/dist/_util/warning.d.ts +0 -2
- package/dist/_util/wave/WaveEffect.d.ts +0 -1
- package/dist/_util/wave/index.d.ts +0 -1
- package/dist/_util/wave/interface.d.ts +1 -0
- package/dist/_util/wave/style.d.ts +1 -0
- package/dist/_util/wave/useWave.d.ts +0 -1
- package/dist/_util/zindexContext.d.ts +0 -1
- package/dist/affix/index.d.ts +0 -1
- package/dist/affix/style/index.d.ts +1 -0
- package/dist/alert/Alert.d.ts +1 -1
- package/dist/alert/style/index.d.ts +1 -1
- package/dist/anchor/Anchor.d.ts +1 -1
- package/dist/anchor/Anchor.js +2 -1
- package/dist/anchor/AnchorLink.d.ts +0 -1
- package/dist/anchor/context.d.ts +0 -1
- package/dist/anchor/style/index.d.ts +1 -0
- package/dist/antd-with-locales.esm.js +11179 -11893
- package/dist/antd-with-locales.js +99 -89
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +10712 -11275
- package/dist/antd.js +99 -89
- package/dist/app/App.d.ts +0 -1
- package/dist/app/context.d.ts +1 -0
- package/dist/app/index.d.ts +0 -1
- package/dist/app/style/index.d.ts +1 -0
- package/dist/app/useApp.d.ts +0 -1
- package/dist/auto-complete/index.d.ts +1 -1
- package/dist/avatar/Avatar.d.ts +0 -1
- package/dist/avatar/AvatarContext.d.ts +0 -1
- package/dist/avatar/AvatarGroup.d.ts +0 -1
- package/dist/avatar/index.d.ts +0 -1
- package/dist/avatar/style/index.d.ts +1 -0
- package/dist/badge/Ribbon.d.ts +1 -1
- package/dist/badge/ScrollNumber.d.ts +0 -1
- package/dist/badge/SingleNumber.js +2 -1
- package/dist/badge/index.d.ts +2 -1
- package/dist/badge/style/index.d.ts +1 -0
- package/dist/badge/style/index.js +2 -1
- package/dist/badge/style/ribbon.js +2 -1
- package/dist/border-beam/BorderBeam.d.ts +0 -1
- package/dist/border-beam/hooks/useBorderSize.d.ts +0 -1
- package/dist/breadcrumb/Breadcrumb.d.ts +2 -1
- package/dist/breadcrumb/BreadcrumbContext.d.ts +1 -1
- package/dist/breadcrumb/BreadcrumbItem.d.ts +3 -2
- package/dist/breadcrumb/BreadcrumbSeparator.d.ts +2 -1
- package/dist/breadcrumb/style/index.d.ts +1 -0
- package/dist/breadcrumb/style/index.js +14 -4
- package/dist/breadcrumb/useItemRender.d.ts +0 -1
- package/dist/button/Button.d.ts +3 -2
- package/dist/button/buttonHelper.d.ts +1 -2
- package/dist/button/style/group.d.ts +1 -1
- package/dist/button/style/index.d.ts +0 -1
- package/dist/button/style/token.d.ts +3 -3
- package/dist/button/style/variant.d.ts +0 -1
- package/dist/button/style/variant.js +2 -2
- package/dist/calendar/Header.d.ts +0 -1
- package/dist/calendar/generateCalendar.d.ts +2 -1
- package/dist/calendar/index.d.ts +0 -1
- package/dist/calendar/style/index.d.ts +2 -1
- package/dist/calendar/style/index.js +3 -2
- package/dist/card/Card.d.ts +1 -1
- package/dist/card/CardMeta.d.ts +1 -1
- package/dist/card/style/index.d.ts +1 -0
- package/dist/carousel/index.d.ts +0 -1
- package/dist/carousel/index.js +4 -1
- package/dist/carousel/style/index.d.ts +1 -0
- package/dist/cascader/Panel.d.ts +0 -1
- package/dist/cascader/hooks/useBase.d.ts +0 -1
- package/dist/cascader/hooks/useIcons.d.ts +1 -7
- package/dist/cascader/index.d.ts +1 -1
- package/dist/cascader/style/columns.d.ts +1 -1
- package/dist/cascader/style/index.d.ts +1 -1
- package/dist/checkbox/Checkbox.d.ts +1 -1
- package/dist/checkbox/Group.d.ts +0 -1
- package/dist/checkbox/GroupContext.d.ts +0 -1
- package/dist/checkbox/style/index.d.ts +1 -0
- package/dist/checkbox/style/index.js +3 -2
- package/dist/collapse/Collapse.d.ts +1 -1
- package/dist/collapse/CollapsePanel.d.ts +0 -1
- package/dist/collapse/style/index.d.ts +1 -1
- package/dist/collapse/style/index.js +8 -1
- package/dist/color-picker/ColorPicker.d.ts +0 -1
- package/dist/color-picker/ColorPickerPanel.d.ts +0 -1
- package/dist/color-picker/color.d.ts +0 -1
- package/dist/color-picker/components/ColorAlphaInput.d.ts +0 -1
- package/dist/color-picker/components/ColorClear.d.ts +0 -1
- package/dist/color-picker/components/ColorHexInput.d.ts +0 -1
- package/dist/color-picker/components/ColorHexInput.js +2 -1
- package/dist/color-picker/components/ColorHsbInput.d.ts +0 -1
- package/dist/color-picker/components/ColorInput.d.ts +0 -1
- package/dist/color-picker/components/ColorPresets.d.ts +0 -1
- package/dist/color-picker/components/ColorRgbInput.d.ts +0 -1
- package/dist/color-picker/components/ColorSlider.d.ts +0 -1
- package/dist/color-picker/components/ColorTrigger.d.ts +0 -1
- package/dist/color-picker/components/PanelPicker/GradientColorBar.d.ts +0 -1
- package/dist/color-picker/context.d.ts +0 -1
- package/dist/color-picker/hooks/useModeColor.d.ts +0 -1
- package/dist/color-picker/index.d.ts +0 -1
- package/dist/color-picker/interface.d.ts +1 -1
- package/dist/color-picker/style/color-block.d.ts +0 -1
- package/dist/color-picker/style/index.d.ts +1 -0
- package/dist/color-picker/style/index.js +7 -6
- package/dist/color-picker/style/input.d.ts +1 -1
- package/dist/color-picker/style/picker.d.ts +1 -1
- package/dist/color-picker/style/presets.d.ts +1 -1
- package/dist/color-picker/style/slider.d.ts +1 -1
- package/dist/color-picker/util.d.ts +0 -1
- package/dist/components.d.ts +14 -0
- package/dist/config-provider/DisabledContext.d.ts +0 -1
- package/dist/config-provider/SizeContext.d.ts +0 -1
- package/dist/config-provider/SizeContext.js +2 -1
- package/dist/config-provider/context.d.ts +19 -4
- package/dist/config-provider/context.js +2 -1
- package/dist/config-provider/defaultRenderEmpty.d.ts +0 -1
- package/dist/config-provider/define.d.ts +1 -1
- package/dist/config-provider/hooks/useCSSVarCls.d.ts +0 -1
- package/dist/config-provider/hooks/useConfig.d.ts +0 -1
- package/dist/config-provider/hooks/useSize.d.ts +0 -1
- package/dist/config-provider/hooks/useTheme.d.ts +0 -1
- package/dist/config-provider/hooks/useThemeKey.d.ts +0 -1
- package/dist/config-provider/index.d.ts +0 -1
- package/dist/config-provider/style/index.d.ts +1 -0
- package/dist/date-picker/PickerButton.d.ts +1 -0
- package/dist/date-picker/generatePicker/SuffixIcon.d.ts +0 -1
- package/dist/date-picker/generatePicker/generateRangePicker.d.ts +0 -1
- package/dist/date-picker/generatePicker/generateSinglePicker.d.ts +0 -1
- package/dist/date-picker/generatePicker/generateSinglePicker.js +3 -1
- package/dist/date-picker/generatePicker/index.d.ts +0 -1
- package/dist/date-picker/generatePicker/interface.d.ts +3 -2
- package/dist/date-picker/generatePicker/useComponents.d.ts +2 -2
- package/dist/date-picker/hooks/useMergedPickerSemantic.d.ts +0 -1
- package/dist/date-picker/index.d.ts +0 -1
- package/dist/date-picker/locale/ar_EG.d.ts +1 -1
- package/dist/date-picker/locale/az_AZ.d.ts +1 -1
- package/dist/date-picker/locale/bg_BG.d.ts +1 -1
- package/dist/date-picker/locale/bn_BD.d.ts +1 -1
- package/dist/date-picker/locale/by_BY.d.ts +1 -1
- package/dist/date-picker/locale/ca_ES.d.ts +1 -1
- package/dist/date-picker/locale/cs_CZ.d.ts +1 -1
- package/dist/date-picker/locale/da_DK.d.ts +1 -1
- package/dist/date-picker/locale/de_DE.d.ts +1 -1
- package/dist/date-picker/locale/el_GR.d.ts +1 -1
- package/dist/date-picker/locale/en_GB.d.ts +1 -1
- package/dist/date-picker/locale/en_US.d.ts +1 -1
- package/dist/date-picker/locale/es_ES.d.ts +1 -1
- package/dist/date-picker/locale/es_US.d.ts +1 -1
- package/dist/date-picker/locale/et_EE.d.ts +1 -1
- package/dist/date-picker/locale/eu_ES.d.ts +1 -1
- package/dist/date-picker/locale/fa_IR.d.ts +1 -1
- package/dist/date-picker/locale/fi_FI.d.ts +1 -1
- package/dist/date-picker/locale/fr_BE.d.ts +1 -1
- package/dist/date-picker/locale/fr_CA.d.ts +1 -1
- package/dist/date-picker/locale/fr_FR.d.ts +1 -1
- package/dist/date-picker/locale/ga_IE.d.ts +1 -1
- package/dist/date-picker/locale/gl_ES.d.ts +1 -1
- package/dist/date-picker/locale/he_IL.d.ts +1 -1
- package/dist/date-picker/locale/hi_IN.d.ts +1 -1
- package/dist/date-picker/locale/hr_HR.d.ts +1 -1
- package/dist/date-picker/locale/hu_HU.d.ts +1 -1
- package/dist/date-picker/locale/id_ID.d.ts +1 -1
- package/dist/date-picker/locale/is_IS.d.ts +1 -1
- package/dist/date-picker/locale/it_IT.d.ts +1 -1
- package/dist/date-picker/locale/ja_JP.d.ts +1 -1
- package/dist/date-picker/locale/ka_GE.d.ts +1 -1
- package/dist/date-picker/locale/kk_KZ.d.ts +1 -1
- package/dist/date-picker/locale/km_KH.d.ts +1 -1
- package/dist/date-picker/locale/kmr_IQ.d.ts +1 -1
- package/dist/date-picker/locale/kn_IN.d.ts +1 -1
- package/dist/date-picker/locale/ko_KR.d.ts +1 -1
- package/dist/date-picker/locale/lt_LT.d.ts +1 -1
- package/dist/date-picker/locale/lv_LV.d.ts +1 -1
- package/dist/date-picker/locale/mk_MK.d.ts +1 -1
- package/dist/date-picker/locale/ml_IN.d.ts +1 -1
- package/dist/date-picker/locale/mn_MN.d.ts +1 -1
- package/dist/date-picker/locale/mr_IN.d.ts +1 -1
- package/dist/date-picker/locale/ms_MY.d.ts +1 -1
- package/dist/date-picker/locale/my_MM.d.ts +1 -1
- package/dist/date-picker/locale/nb_NO.d.ts +1 -1
- package/dist/date-picker/locale/nl_BE.d.ts +1 -1
- package/dist/date-picker/locale/nl_NL.d.ts +1 -1
- package/dist/date-picker/locale/pl_PL.d.ts +1 -1
- package/dist/date-picker/locale/pt_BR.d.ts +1 -1
- package/dist/date-picker/locale/pt_PT.d.ts +1 -1
- package/dist/date-picker/locale/ro_RO.d.ts +1 -1
- package/dist/date-picker/locale/ru_RU.d.ts +1 -1
- package/dist/date-picker/locale/si_LK.d.ts +1 -1
- package/dist/date-picker/locale/sk_SK.d.ts +1 -1
- package/dist/date-picker/locale/sl_SI.d.ts +1 -1
- package/dist/date-picker/locale/sr_RS.d.ts +1 -1
- package/dist/date-picker/locale/sv_SE.d.ts +1 -1
- package/dist/date-picker/locale/ta_IN.d.ts +1 -1
- package/dist/date-picker/locale/th_TH.d.ts +1 -1
- package/dist/date-picker/locale/tk_TK.d.ts +1 -1
- package/dist/date-picker/locale/tr_TR.d.ts +1 -1
- package/dist/date-picker/locale/uk_UA.d.ts +1 -1
- package/dist/date-picker/locale/ur_PK.d.ts +1 -1
- package/dist/date-picker/locale/uz_UZ.d.ts +1 -1
- package/dist/date-picker/locale/vi_VN.d.ts +1 -1
- package/dist/date-picker/locale/zh_CN.d.ts +1 -1
- package/dist/date-picker/locale/zh_TW.d.ts +1 -1
- package/dist/date-picker/style/index.d.ts +0 -1
- package/dist/date-picker/style/index.js +6 -0
- package/dist/date-picker/style/multiple.d.ts +1 -0
- package/dist/date-picker/style/panel.d.ts +1 -1
- package/dist/date-picker/style/token.d.ts +0 -1
- package/dist/date-picker/style/util.d.ts +0 -1
- package/dist/date-picker/style/variants.d.ts +0 -1
- package/dist/date-picker/util.d.ts +3 -3
- package/dist/descriptions/Cell.d.ts +0 -1
- package/dist/descriptions/DescriptionsContext.d.ts +0 -1
- package/dist/descriptions/Item.d.ts +1 -2
- package/dist/descriptions/Row.d.ts +0 -1
- package/dist/descriptions/constant.d.ts +0 -1
- package/dist/descriptions/hooks/useItems.d.ts +6 -7
- package/dist/descriptions/hooks/useRow.d.ts +0 -1
- package/dist/descriptions/index.d.ts +1 -1
- package/dist/descriptions/style/index.d.ts +1 -0
- package/dist/descriptions/style/index.js +2 -1
- package/dist/divider/index.d.ts +1 -1
- package/dist/divider/style/index.d.ts +1 -1
- package/dist/drawer/DrawerPanel.d.ts +1 -1
- package/dist/drawer/index.d.ts +1 -1
- package/dist/drawer/style/index.d.ts +1 -0
- package/dist/drawer/style/motion.d.ts +1 -1
- package/dist/drawer/useFocusable.d.ts +0 -1
- package/dist/dropdown/dropdown.d.ts +1 -1
- package/dist/dropdown/index.d.ts +0 -1
- package/dist/dropdown/style/index.d.ts +1 -1
- package/dist/dropdown/style/status.d.ts +1 -1
- package/dist/empty/index.d.ts +1 -1
- package/dist/empty/style/index.js +3 -2
- package/dist/flex/index.d.ts +0 -1
- package/dist/flex/interface.d.ts +0 -1
- package/dist/flex/style/index.d.ts +1 -0
- package/dist/flex/utils.d.ts +0 -1
- package/dist/float-button/BackTop.d.ts +0 -1
- package/dist/float-button/BackTop.js +2 -1
- package/dist/float-button/FloatButton.d.ts +2 -1
- package/dist/float-button/FloatButtonGroup.d.ts +1 -1
- package/dist/float-button/PurePanel.d.ts +0 -1
- package/dist/float-button/context.d.ts +0 -1
- package/dist/float-button/style/button.d.ts +0 -1
- package/dist/float-button/style/group.d.ts +0 -1
- package/dist/float-button/style/index.d.ts +1 -0
- package/dist/form/ErrorList.d.ts +0 -1
- package/dist/form/Form.d.ts +2 -1
- package/dist/form/Form.js +18 -9
- package/dist/form/FormItem/ItemHolder.d.ts +0 -1
- package/dist/form/FormItem/StatusProvider.d.ts +0 -1
- package/dist/form/FormItem/index.d.ts +1 -2
- package/dist/form/FormItemInput.d.ts +1 -1
- package/dist/form/FormItemLabel.d.ts +1 -1
- package/dist/form/context.d.ts +2 -2
- package/dist/form/hooks/useForm.d.ts +0 -1
- package/dist/form/hooks/useVariant.d.ts +1 -2
- package/dist/form/interface.d.ts +0 -1
- package/dist/form/namePathType.d.ts +1 -1
- package/dist/form/style/explain.d.ts +1 -1
- package/dist/form/style/fallbackCmp.js +2 -1
- package/dist/form/style/index.d.ts +1 -1
- package/dist/form/types.d.ts +3 -3
- package/dist/form/util.d.ts +0 -1
- package/dist/form/utils/NameMap.d.ts +0 -1
- package/dist/form/utils/asyncUtil.d.ts +0 -1
- package/dist/form/utils/typeUtil.d.ts +0 -1
- package/dist/form/utils/validateUtil.d.ts +0 -1
- package/dist/form/utils/valueUtil.d.ts +0 -1
- package/dist/form/validateMessagesContext.d.ts +0 -1
- package/dist/grid/RowContext.d.ts +0 -1
- package/dist/grid/col.d.ts +0 -1
- package/dist/grid/hooks/useBreakpoint.d.ts +0 -1
- package/dist/grid/hooks/useGutter.d.ts +0 -1
- package/dist/grid/index.d.ts +0 -1
- package/dist/grid/row.d.ts +1 -2
- package/dist/grid/style/index.d.ts +1 -0
- package/dist/image/PreviewGroup.d.ts +3 -2
- package/dist/image/hooks/useMergedPreviewConfig.d.ts +0 -1
- package/dist/image/hooks/usePreviewConfig.d.ts +5 -6
- package/dist/image/index.d.ts +4 -2
- package/dist/image/style/index.d.ts +1 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.js +14 -12
- package/dist/input/Group.d.ts +0 -1
- package/dist/input/Input.d.ts +1 -1
- package/dist/input/OTP/OTPInput.d.ts +0 -1
- package/dist/input/OTP/OTPInput.js +3 -3
- package/dist/input/OTP/index.d.ts +1 -1
- package/dist/input/OTP/index.js +4 -2
- package/dist/input/Password.d.ts +0 -1
- package/dist/input/Search.d.ts +1 -1
- package/dist/input/TextArea.d.ts +1 -1
- package/dist/input/hooks/useRemovePasswordTimeout.d.ts +0 -1
- package/dist/input/index.d.ts +0 -1
- package/dist/input/style/index.d.ts +1 -1
- package/dist/input/style/otp.js +2 -1
- package/dist/input/style/search.js +2 -1
- package/dist/input/style/textarea.d.ts +0 -1
- package/dist/input/style/textarea.js +3 -1
- package/dist/input/style/token.d.ts +1 -0
- package/dist/input/style/variants.d.ts +1 -1
- package/dist/input-number/index.d.ts +1 -1
- package/dist/input-number/style/index.d.ts +0 -1
- package/dist/input-number/style/token.d.ts +1 -0
- package/dist/layout/Sider.d.ts +1 -1
- package/dist/layout/hooks/useHasSider.d.ts +0 -1
- package/dist/layout/index.d.ts +0 -1
- package/dist/layout/layout.d.ts +0 -1
- package/dist/layout/style/index.d.ts +1 -1
- package/dist/locale/ar_EG.d.ts +0 -1
- package/dist/locale/az_AZ.d.ts +0 -1
- package/dist/locale/bg_BG.d.ts +0 -1
- package/dist/locale/bn_BD.d.ts +0 -1
- package/dist/locale/by_BY.d.ts +0 -1
- package/dist/locale/ca_ES.d.ts +0 -1
- package/dist/locale/cs_CZ.d.ts +0 -1
- package/dist/locale/da_DK.d.ts +0 -1
- package/dist/locale/de_DE.d.ts +0 -1
- package/dist/locale/el_GR.d.ts +0 -1
- package/dist/locale/en_GB.d.ts +0 -1
- package/dist/locale/en_US.d.ts +0 -1
- package/dist/locale/es_ES.d.ts +0 -1
- package/dist/locale/es_US.d.ts +0 -1
- package/dist/locale/et_EE.d.ts +0 -1
- package/dist/locale/eu_ES.d.ts +0 -1
- package/dist/locale/fa_IR.d.ts +0 -1
- package/dist/locale/fi_FI.d.ts +0 -1
- package/dist/locale/fr_BE.d.ts +0 -1
- package/dist/locale/fr_CA.d.ts +0 -1
- package/dist/locale/fr_FR.d.ts +0 -1
- package/dist/locale/ga_IE.d.ts +0 -1
- package/dist/locale/gl_ES.d.ts +0 -1
- package/dist/locale/he_IL.d.ts +0 -1
- package/dist/locale/hi_IN.d.ts +0 -1
- package/dist/locale/hr_HR.d.ts +0 -1
- package/dist/locale/hu_HU.d.ts +0 -1
- package/dist/locale/hy_AM.d.ts +0 -1
- package/dist/locale/id_ID.d.ts +0 -1
- package/dist/locale/index.d.ts +5 -1
- package/dist/locale/is_IS.d.ts +0 -1
- package/dist/locale/it_IT.d.ts +0 -1
- package/dist/locale/ja_JP.d.ts +0 -1
- package/dist/locale/ka_GE.d.ts +0 -1
- package/dist/locale/kk_KZ.d.ts +0 -1
- package/dist/locale/km_KH.d.ts +0 -1
- package/dist/locale/kmr_IQ.d.ts +0 -1
- package/dist/locale/kn_IN.d.ts +0 -1
- package/dist/locale/ko_KR.d.ts +0 -1
- package/dist/locale/ku_IQ.d.ts +0 -1
- package/dist/locale/lt_LT.d.ts +0 -1
- package/dist/locale/lv_LV.d.ts +0 -1
- package/dist/locale/mk_MK.d.ts +0 -1
- package/dist/locale/ml_IN.d.ts +0 -1
- package/dist/locale/mn_MN.d.ts +0 -1
- package/dist/locale/mr_IN.d.ts +0 -1
- package/dist/locale/ms_MY.d.ts +0 -1
- package/dist/locale/my_MM.d.ts +0 -1
- package/dist/locale/nb_NO.d.ts +0 -1
- package/dist/locale/ne_NP.d.ts +0 -1
- package/dist/locale/nl_BE.d.ts +0 -1
- package/dist/locale/nl_NL.d.ts +0 -1
- package/dist/locale/pl_PL.d.ts +0 -1
- package/dist/locale/pt_BR.d.ts +0 -1
- package/dist/locale/pt_PT.d.ts +0 -1
- package/dist/locale/ro_RO.d.ts +0 -1
- package/dist/locale/ru_RU.d.ts +0 -1
- package/dist/locale/si_LK.d.ts +0 -1
- package/dist/locale/sk_SK.d.ts +0 -1
- package/dist/locale/sl_SI.d.ts +0 -1
- package/dist/locale/sr_RS.d.ts +0 -1
- package/dist/locale/sv_SE.d.ts +0 -1
- package/dist/locale/ta_IN.d.ts +0 -1
- package/dist/locale/th_TH.d.ts +0 -1
- package/dist/locale/tk_TK.d.ts +0 -1
- package/dist/locale/tr_TR.d.ts +0 -1
- package/dist/locale/uk_UA.d.ts +0 -1
- package/dist/locale/ur_PK.d.ts +0 -1
- package/dist/locale/useLocale.d.ts +0 -1
- package/dist/locale/uz_UZ.d.ts +0 -1
- package/dist/locale/vi_VN.d.ts +0 -1
- package/dist/locale/zh_CN.d.ts +0 -1
- package/dist/locale/zh_HK.d.ts +0 -1
- package/dist/locale/zh_TW.d.ts +0 -1
- package/dist/masonry/Masonry.d.ts +2 -1
- package/dist/masonry/MasonryItem.d.ts +0 -1
- package/dist/masonry/hooks/usePositions.d.ts +0 -1
- package/dist/masonry/hooks/useRefs.d.ts +0 -1
- package/dist/masonry/index.d.ts +0 -1
- package/dist/masonry/style/index.d.ts +1 -1
- package/dist/mentions/index.d.ts +1 -1
- package/dist/mentions/index.js +4 -0
- package/dist/mentions/style/index.d.ts +1 -0
- package/dist/menu/MenuContext.d.ts +0 -1
- package/dist/menu/MenuItem.d.ts +0 -1
- package/dist/menu/MenuItemGroup.d.ts +0 -1
- package/dist/menu/OverrideContext.d.ts +0 -1
- package/dist/menu/OverrideContext.js +3 -2
- package/dist/menu/SubMenu.d.ts +0 -1
- package/dist/menu/index.d.ts +0 -1
- package/dist/menu/interface.d.ts +1 -2
- package/dist/menu/menu.d.ts +0 -1
- package/dist/menu/style/horizontal.d.ts +1 -1
- package/dist/menu/style/index.d.ts +1 -1
- package/dist/menu/style/rtl.d.ts +1 -1
- package/dist/menu/style/theme.d.ts +0 -1
- package/dist/menu/style/vertical.d.ts +1 -0
- package/dist/message/PureList.d.ts +0 -1
- package/dist/message/PurePanel.d.ts +0 -1
- package/dist/message/index.d.ts +0 -1
- package/dist/message/interface.d.ts +1 -3
- package/dist/message/style/index.d.ts +0 -1
- package/dist/message/useMessage.d.ts +0 -1
- package/dist/message/util.d.ts +0 -1
- package/dist/modal/ConfirmDialog.d.ts +0 -1
- package/dist/modal/Modal.d.ts +0 -1
- package/dist/modal/PurePanel.d.ts +0 -1
- package/dist/modal/components/ConfirmCancelBtn.d.ts +0 -1
- package/dist/modal/components/ConfirmOkBtn.d.ts +0 -1
- package/dist/modal/components/NormalCancelBtn.d.ts +0 -1
- package/dist/modal/components/NormalOkBtn.d.ts +0 -1
- package/dist/modal/confirm.d.ts +1 -4
- package/dist/modal/context.d.ts +0 -1
- package/dist/modal/index.d.ts +0 -1
- package/dist/modal/interface.d.ts +2 -1
- package/dist/modal/locale.d.ts +0 -1
- package/dist/modal/shared.d.ts +0 -1
- package/dist/modal/style/confirm.js +2 -1
- package/dist/modal/style/index.d.ts +0 -1
- package/dist/modal/useModal/HookModal.d.ts +0 -1
- package/dist/modal/useModal/index.d.ts +0 -1
- package/dist/modal/useModal/types.d.ts +0 -1
- package/dist/notification/PureList.d.ts +0 -1
- package/dist/notification/PurePanel.d.ts +1 -1
- package/dist/notification/index.d.ts +0 -1
- package/dist/notification/interface.d.ts +1 -1
- package/dist/notification/style/index.d.ts +2 -1
- package/dist/notification/style/notification.d.ts +1 -1
- package/dist/notification/style/placement.d.ts +1 -1
- package/dist/notification/useNotification.d.ts +0 -1
- package/dist/notification/util.d.ts +0 -1
- package/dist/package.js +1 -1
- package/dist/package.json.d.ts +1 -0
- package/dist/pagination/Pagination.d.ts +0 -1
- package/dist/pagination/index.d.ts +0 -1
- package/dist/pagination/interface.d.ts +1 -1
- package/dist/pagination/style/bordered.js +2 -1
- package/dist/pagination/style/index.d.ts +1 -0
- package/dist/pagination/useShowSizeChanger.d.ts +0 -1
- package/dist/popconfirm/PurePanel.d.ts +0 -1
- package/dist/popconfirm/index.d.ts +2 -1
- package/dist/popconfirm/style/index.d.ts +1 -0
- package/dist/popover/PurePanel.d.ts +0 -1
- package/dist/popover/index.d.ts +1 -1
- package/dist/popover/style/index.d.ts +1 -0
- package/dist/progress/Circle.d.ts +0 -1
- package/dist/progress/Line.d.ts +0 -1
- package/dist/progress/Steps.d.ts +0 -1
- package/dist/progress/progress.d.ts +1 -1
- package/dist/progress/style/index.d.ts +1 -0
- package/dist/progress/utils.d.ts +3 -12
- package/dist/qrcode/QrcodeStatus.d.ts +0 -1
- package/dist/qrcode/QrcodeStatus.js +8 -6
- package/dist/qrcode/index.d.ts +0 -1
- package/dist/qrcode/interface.d.ts +1 -1
- package/dist/qrcode/style/index.d.ts +1 -0
- package/dist/qrcode/style/index.js +2 -1
- package/dist/radio/context.d.ts +0 -1
- package/dist/radio/group.d.ts +0 -1
- package/dist/radio/index.d.ts +2 -1
- package/dist/radio/interface.d.ts +1 -1
- package/dist/radio/radio.d.ts +0 -1
- package/dist/radio/radioButton.d.ts +0 -1
- package/dist/radio/style/index.d.ts +1 -0
- package/dist/rate/index.d.ts +0 -1
- package/dist/rate/style/index.d.ts +1 -1
- package/dist/rate/style/index.js +2 -1
- package/dist/result/index.d.ts +1 -1
- package/dist/result/style/index.d.ts +1 -1
- package/dist/result/style/index.js +3 -2
- package/dist/segmented/index.d.ts +1 -1
- package/dist/segmented/style/index.d.ts +1 -0
- package/dist/segmented/style/index.js +8 -2
- package/dist/select/index.d.ts +1 -1
- package/dist/select/mergedBuiltinPlacements.d.ts +0 -1
- package/dist/select/style/dropdown.d.ts +1 -0
- package/dist/select/style/index.d.ts +0 -1
- package/dist/select/style/index.js +21 -8
- package/dist/select/style/select-input-customize.d.ts +0 -1
- package/dist/select/style/select-input-multiple.d.ts +0 -1
- package/dist/select/style/select-input-multiple.js +2 -2
- package/dist/select/style/select-input.d.ts +0 -1
- package/dist/select/style/select-input.js +2 -1
- package/dist/select/style/token.d.ts +1 -1
- package/dist/select/useIcons.d.ts +2 -19
- package/dist/select/useShowArrow.d.ts +0 -1
- package/dist/skeleton/Avatar.d.ts +0 -1
- package/dist/skeleton/Button.d.ts +0 -1
- package/dist/skeleton/Element.d.ts +0 -1
- package/dist/skeleton/Image.d.ts +0 -1
- package/dist/skeleton/Input.d.ts +0 -1
- package/dist/skeleton/Node.d.ts +0 -1
- package/dist/skeleton/Skeleton.d.ts +1 -1
- package/dist/skeleton/style/index.d.ts +1 -0
- package/dist/skeleton/style/index.js +3 -2
- package/dist/slider/Context.d.ts +0 -1
- package/dist/slider/SliderTooltip.d.ts +0 -1
- package/dist/slider/index.d.ts +1 -1
- package/dist/slider/index.js +3 -5
- package/dist/slider/style/index.d.ts +1 -0
- package/dist/slider/useRafLock.d.ts +0 -1
- package/dist/space/Addon.d.ts +0 -1
- package/dist/space/Compact.d.ts +1 -2
- package/dist/space/Item.d.ts +0 -1
- package/dist/space/context.d.ts +0 -1
- package/dist/space/index.d.ts +1 -1
- package/dist/space/style/addon.js +2 -2
- package/dist/space/style/index.d.ts +1 -0
- package/dist/spin/Indicator/index.d.ts +0 -1
- package/dist/spin/index.d.ts +1 -1
- package/dist/spin/style/index.d.ts +1 -0
- package/dist/spin/style/index.js +3 -3
- package/dist/spin/usePercent.d.ts +0 -1
- package/dist/splitter/Panel.d.ts +0 -1
- package/dist/splitter/SplitBar.d.ts +0 -1
- package/dist/splitter/SplitBar.js +12 -1
- package/dist/splitter/Splitter.d.ts +0 -1
- package/dist/splitter/hooks/useItems.d.ts +0 -1
- package/dist/splitter/hooks/useResizable.d.ts +0 -1
- package/dist/splitter/hooks/useResize.d.ts +0 -1
- package/dist/splitter/hooks/useSizes.d.ts +0 -1
- package/dist/splitter/index.d.ts +0 -1
- package/dist/splitter/interface.d.ts +1 -1
- package/dist/splitter/style/index.d.ts +1 -0
- package/dist/statistic/Number.d.ts +0 -1
- package/dist/statistic/Statistic.d.ts +1 -1
- package/dist/statistic/Timer.d.ts +0 -1
- package/dist/statistic/index.d.ts +0 -1
- package/dist/statistic/style/index.d.ts +1 -0
- package/dist/statistic/style/index.js +2 -1
- package/dist/statistic/utils.d.ts +0 -1
- package/dist/steps/context.d.ts +0 -1
- package/dist/steps/index.d.ts +3 -2
- package/dist/steps/style/horizontal.d.ts +1 -1
- package/dist/steps/style/icon.d.ts +1 -1
- package/dist/steps/style/index.d.ts +1 -1
- package/dist/steps/style/inline.d.ts +1 -1
- package/dist/steps/style/label-placement.d.ts +1 -1
- package/dist/steps/style/max-count.d.ts +1 -1
- package/dist/steps/style/nav.d.ts +1 -1
- package/dist/steps/style/panel.d.ts +1 -1
- package/dist/steps/style/progress-dot.d.ts +1 -1
- package/dist/steps/style/progress.d.ts +1 -1
- package/dist/steps/style/rtl.d.ts +1 -1
- package/dist/steps/style/small.d.ts +1 -1
- package/dist/steps/style/status.d.ts +1 -1
- package/dist/steps/style/util.d.ts +0 -1
- package/dist/steps/style/vertical.d.ts +1 -1
- package/dist/steps/useDisplaySteps.d.ts +0 -1
- package/dist/style/compact-item-vertical.d.ts +1 -1
- package/dist/style/compact-item.d.ts +1 -1
- package/dist/style/index.d.ts +1 -1
- package/dist/style/index.js +7 -2
- package/dist/style/motion/collapse.d.ts +0 -1
- package/dist/style/motion/fade.d.ts +0 -1
- package/dist/style/motion/motion.d.ts +0 -1
- package/dist/style/motion/move.d.ts +0 -1
- package/dist/style/motion/slide.d.ts +0 -1
- package/dist/style/motion/util.d.ts +0 -1
- package/dist/style/motion/zoom.d.ts +0 -1
- package/dist/style/placementArrow.d.ts +0 -1
- package/dist/style/roundedArrow.d.ts +1 -1
- package/dist/switch/index.d.ts +1 -1
- package/dist/switch/style/index.d.ts +1 -0
- package/dist/table/Column.d.ts +0 -1
- package/dist/table/ColumnGroup.d.ts +0 -1
- package/dist/table/ExpandIcon.d.ts +0 -1
- package/dist/table/InternalTable.d.ts +7 -7
- package/dist/table/Table.d.ts +1 -2
- package/dist/table/TableMeasureRowContext.d.ts +0 -1
- package/dist/table/TableMeasureRowContext.js +2 -1
- package/dist/table/hooks/useColumnTitleProps.d.ts +0 -1
- package/dist/table/hooks/useFilledColumns.d.ts +0 -1
- package/dist/table/hooks/useFilter/FilterDropdown.d.ts +0 -1
- package/dist/table/hooks/useFilter/FilterDropdown.js +6 -3
- package/dist/table/hooks/useFilter/FilterSearch.d.ts +0 -1
- package/dist/table/hooks/useFilter/FilterWrapper.d.ts +0 -1
- package/dist/table/hooks/useFilter/index.d.ts +0 -1
- package/dist/table/hooks/useFilter/index.js +4 -2
- package/dist/table/hooks/useLazyKVMap.d.ts +0 -1
- package/dist/table/hooks/usePagination.d.ts +0 -1
- package/dist/table/hooks/useSelection.d.ts +0 -1
- package/dist/table/hooks/useSelection.js +5 -3
- package/dist/table/hooks/useSorter.d.ts +0 -1
- package/dist/table/hooks/useSpinProps.d.ts +0 -1
- package/dist/table/hooks/useTitleColumns.d.ts +0 -1
- package/dist/table/index.d.ts +0 -1
- package/dist/table/interface.d.ts +14 -4
- package/dist/table/style/bordered.d.ts +1 -1
- package/dist/table/style/bordered.js +9 -2
- package/dist/table/style/ellipsis.d.ts +1 -1
- package/dist/table/style/empty.d.ts +1 -1
- package/dist/table/style/expand.d.ts +1 -1
- package/dist/table/style/filter.d.ts +1 -0
- package/dist/table/style/fixed.d.ts +2 -4
- package/dist/table/style/index.d.ts +1 -0
- package/dist/table/style/pagination.d.ts +1 -1
- package/dist/table/style/radius.d.ts +1 -1
- package/dist/table/style/rtl.d.ts +1 -1
- package/dist/table/style/selection.d.ts +1 -1
- package/dist/table/style/size.d.ts +1 -1
- package/dist/table/style/sorter.d.ts +1 -1
- package/dist/table/style/sticky.d.ts +1 -1
- package/dist/table/style/summary.d.ts +1 -1
- package/dist/table/style/virtual.d.ts +1 -1
- package/dist/table/util.d.ts +0 -1
- package/dist/table/utils.d.ts +0 -1
- package/dist/tabs/TabPane.d.ts +0 -1
- package/dist/tabs/hooks/useAnimateConfig.d.ts +0 -1
- package/dist/tabs/hooks/useLegacyItems.d.ts +0 -1
- package/dist/tabs/index.d.ts +1 -1
- package/dist/tabs/style/index.d.ts +1 -0
- package/dist/tabs/style/index.js +6 -1
- package/dist/tabs/style/motion.d.ts +1 -0
- package/dist/tag/CheckableTag.d.ts +0 -1
- package/dist/tag/CheckableTagGroup.d.ts +1 -1
- package/dist/tag/hooks/useColor.d.ts +1 -2
- package/dist/tag/index.d.ts +1 -1
- package/dist/tag/style/index.d.ts +1 -1
- package/dist/tag/style/index.js +8 -2
- package/dist/theme/context.d.ts +2 -2
- package/dist/theme/getDesignToken.d.ts +1 -1
- package/dist/theme/index.d.ts +2 -2
- package/dist/theme/interface/alias.d.ts +6 -7
- package/dist/theme/interface/components.d.ts +5 -1
- package/dist/theme/interface/cssinjs-utils.d.ts +0 -1
- package/dist/theme/interface/index.d.ts +0 -1
- package/dist/theme/interface/maps/index.d.ts +0 -1
- package/dist/theme/interface/presetColors.d.ts +2 -2
- package/dist/theme/interface/seeds.d.ts +0 -1
- package/dist/theme/themes/ColorMap.d.ts +1 -0
- package/dist/theme/themes/compact/genCompactSizeMapToken.d.ts +1 -0
- package/dist/theme/themes/compact/index.d.ts +1 -1
- package/dist/theme/themes/dark/colors.d.ts +0 -1
- package/dist/theme/themes/dark/index.d.ts +1 -1
- package/dist/theme/themes/default/colors.d.ts +0 -1
- package/dist/theme/themes/default/index.d.ts +1 -0
- package/dist/theme/themes/seed.d.ts +1 -0
- package/dist/theme/themes/shared/genColorMapToken.d.ts +2 -5
- package/dist/theme/themes/shared/genCommonMapToken.d.ts +1 -0
- package/dist/theme/themes/shared/genControlHeight.d.ts +1 -0
- package/dist/theme/themes/shared/genFontMapToken.d.ts +1 -0
- package/dist/theme/themes/shared/genRadius.d.ts +1 -0
- package/dist/theme/themes/shared/genSizeMapToken.d.ts +1 -0
- package/dist/theme/useToken.d.ts +3 -3
- package/dist/theme/util/alias.d.ts +1 -0
- package/dist/theme/util/genPresetColor.d.ts +0 -1
- package/dist/theme/util/genStyleUtils.d.ts +31 -30
- package/dist/theme/util/useResetIconStyle.d.ts +1 -1
- package/dist/time-picker/index.d.ts +2 -1
- package/dist/time-picker/locale/ar_EG.d.ts +0 -1
- package/dist/time-picker/locale/az_AZ.d.ts +0 -1
- package/dist/time-picker/locale/bg_BG.d.ts +0 -1
- package/dist/time-picker/locale/bn_BD.d.ts +0 -1
- package/dist/time-picker/locale/by_BY.d.ts +0 -1
- package/dist/time-picker/locale/ca_ES.d.ts +0 -1
- package/dist/time-picker/locale/cs_CZ.d.ts +0 -1
- package/dist/time-picker/locale/da_DK.d.ts +0 -1
- package/dist/time-picker/locale/de_DE.d.ts +0 -1
- package/dist/time-picker/locale/el_GR.d.ts +0 -1
- package/dist/time-picker/locale/en_GB.d.ts +0 -1
- package/dist/time-picker/locale/en_US.d.ts +0 -1
- package/dist/time-picker/locale/es_ES.d.ts +0 -1
- package/dist/time-picker/locale/et_EE.d.ts +0 -1
- package/dist/time-picker/locale/eu_ES.d.ts +0 -1
- package/dist/time-picker/locale/fa_IR.d.ts +0 -1
- package/dist/time-picker/locale/fi_FI.d.ts +0 -1
- package/dist/time-picker/locale/fr_BE.d.ts +0 -1
- package/dist/time-picker/locale/fr_CA.d.ts +0 -1
- package/dist/time-picker/locale/fr_FR.d.ts +0 -1
- package/dist/time-picker/locale/ga_IE.d.ts +0 -1
- package/dist/time-picker/locale/gl_ES.d.ts +0 -1
- package/dist/time-picker/locale/he_IL.d.ts +0 -1
- package/dist/time-picker/locale/hi_IN.d.ts +0 -1
- package/dist/time-picker/locale/hr_HR.d.ts +0 -1
- package/dist/time-picker/locale/hu_HU.d.ts +0 -1
- package/dist/time-picker/locale/id_ID.d.ts +0 -1
- package/dist/time-picker/locale/is_IS.d.ts +0 -1
- package/dist/time-picker/locale/it_IT.d.ts +0 -1
- package/dist/time-picker/locale/ja_JP.d.ts +0 -1
- package/dist/time-picker/locale/ka_GE.d.ts +0 -1
- package/dist/time-picker/locale/kk_KZ.d.ts +0 -1
- package/dist/time-picker/locale/km_KH.d.ts +0 -1
- package/dist/time-picker/locale/kmr_IQ.d.ts +0 -1
- package/dist/time-picker/locale/kn_IN.d.ts +0 -1
- package/dist/time-picker/locale/ko_KR.d.ts +0 -1
- package/dist/time-picker/locale/lt_LT.d.ts +0 -1
- package/dist/time-picker/locale/lv_LV.d.ts +0 -1
- package/dist/time-picker/locale/mk_MK.d.ts +0 -1
- package/dist/time-picker/locale/ml_IN.d.ts +0 -1
- package/dist/time-picker/locale/mn_MN.d.ts +0 -1
- package/dist/time-picker/locale/mr_IN.d.ts +0 -1
- package/dist/time-picker/locale/ms_MY.d.ts +0 -1
- package/dist/time-picker/locale/my_MM.d.ts +0 -1
- package/dist/time-picker/locale/nb_NO.d.ts +0 -1
- package/dist/time-picker/locale/nl_BE.d.ts +0 -1
- package/dist/time-picker/locale/nl_NL.d.ts +0 -1
- package/dist/time-picker/locale/pl_PL.d.ts +0 -1
- package/dist/time-picker/locale/pt_BR.d.ts +0 -1
- package/dist/time-picker/locale/pt_PT.d.ts +0 -1
- package/dist/time-picker/locale/ro_RO.d.ts +0 -1
- package/dist/time-picker/locale/ru_RU.d.ts +0 -1
- package/dist/time-picker/locale/si_LK.d.ts +0 -1
- package/dist/time-picker/locale/sk_SK.d.ts +0 -1
- package/dist/time-picker/locale/sl_SI.d.ts +0 -1
- package/dist/time-picker/locale/sr_RS.d.ts +0 -1
- package/dist/time-picker/locale/sv_SE.d.ts +0 -1
- package/dist/time-picker/locale/ta_IN.d.ts +0 -1
- package/dist/time-picker/locale/th_TH.d.ts +0 -1
- package/dist/time-picker/locale/tk_TK.d.ts +0 -1
- package/dist/time-picker/locale/tr_TR.d.ts +0 -1
- package/dist/time-picker/locale/uk_UA.d.ts +0 -1
- package/dist/time-picker/locale/ur_PK.d.ts +0 -1
- package/dist/time-picker/locale/uz_UZ.d.ts +0 -1
- package/dist/time-picker/locale/vi_VN.d.ts +0 -1
- package/dist/time-picker/locale/zh_CN.d.ts +0 -1
- package/dist/time-picker/locale/zh_TW.d.ts +0 -1
- package/dist/timeline/Timeline.d.ts +1 -1
- package/dist/timeline/TimelineItem.d.ts +0 -1
- package/dist/timeline/style/horizontal.d.ts +1 -1
- package/dist/timeline/style/index.d.ts +1 -0
- package/dist/timeline/useItems.d.ts +0 -1
- package/dist/tooltip/PurePanel.d.ts +0 -1
- package/dist/tooltip/hooks/useMergedArrow.d.ts +0 -1
- package/dist/tooltip/index.d.ts +1 -1
- package/dist/tooltip/style/index.d.ts +1 -1
- package/dist/tooltip/style/index.js +3 -2
- package/dist/tooltip/util.d.ts +0 -1
- package/dist/tour/PurePanel.d.ts +0 -1
- package/dist/tour/index.d.ts +0 -1
- package/dist/tour/interface.d.ts +1 -1
- package/dist/tour/panelRender.d.ts +0 -1
- package/dist/tour/style/index.d.ts +1 -0
- package/dist/tour/style/index.js +3 -2
- package/dist/transfer/Actions.d.ts +0 -1
- package/dist/transfer/Actions.js +11 -3
- package/dist/transfer/ListBody.d.ts +0 -1
- package/dist/transfer/ListItem.d.ts +0 -1
- package/dist/transfer/Section.d.ts +0 -1
- package/dist/transfer/Section.js +3 -2
- package/dist/transfer/Transfer.d.ts +0 -1
- package/dist/transfer/Transfer.js +8 -3
- package/dist/transfer/hooks/useData.d.ts +0 -1
- package/dist/transfer/hooks/useSelection.d.ts +0 -1
- package/dist/transfer/index.d.ts +0 -1
- package/dist/transfer/interface.d.ts +0 -1
- package/dist/transfer/search.d.ts +0 -1
- package/dist/transfer/style/index.d.ts +1 -0
- package/dist/tree/DirectoryTree.d.ts +1 -2
- package/dist/tree/Tree.d.ts +1 -1
- package/dist/tree/index.d.ts +0 -1
- package/dist/tree/style/directory.d.ts +1 -10
- package/dist/tree/style/index.d.ts +0 -1
- package/dist/tree/style/index.js +1 -1
- package/dist/tree/utils/dictUtil.d.ts +1 -8
- package/dist/tree/utils/dropIndicator.d.ts +0 -1
- package/dist/tree/utils/iconUtil.d.ts +0 -1
- package/dist/tree-select/index.d.ts +2 -1
- package/dist/tree-select/style/index.d.ts +1 -1
- package/dist/tree-select/style/index.js +2 -1
- package/dist/typography/Base/CopyBtn.d.ts +0 -1
- package/dist/typography/Base/Ellipsis.d.ts +0 -1
- package/dist/typography/Base/Ellipsis.js +4 -2
- package/dist/typography/Base/EllipsisTooltip.d.ts +0 -1
- package/dist/typography/Base/index.d.ts +1 -2
- package/dist/typography/Base/util.d.ts +0 -1
- package/dist/typography/Editable.d.ts +0 -1
- package/dist/typography/Link.d.ts +1 -2
- package/dist/typography/Paragraph.d.ts +1 -2
- package/dist/typography/Text.d.ts +1 -2
- package/dist/typography/Title.d.ts +1 -2
- package/dist/typography/Typography.d.ts +0 -1
- package/dist/typography/hooks/useCopyClick.d.ts +1 -4
- package/dist/typography/hooks/useTooltipProps.d.ts +0 -1
- package/dist/typography/index.d.ts +0 -1
- package/dist/typography/interface.d.ts +1 -1
- package/dist/typography/style/index.d.ts +1 -0
- package/dist/typography/style/mixins.d.ts +1 -1
- package/dist/typography/style/mixins.js +5 -1
- package/dist/upload/Dragger.d.ts +0 -1
- package/dist/upload/Dragger.js +5 -4
- package/dist/upload/Upload.d.ts +0 -1
- package/dist/upload/Upload.js +7 -4
- package/dist/upload/UploadList/ListItem.d.ts +0 -1
- package/dist/upload/UploadList/index.d.ts +0 -1
- package/dist/upload/index.d.ts +0 -1
- package/dist/upload/interface.d.ts +2 -1
- package/dist/upload/style/dragger.d.ts +1 -1
- package/dist/upload/style/index.d.ts +1 -0
- package/dist/upload/style/list.d.ts +1 -1
- package/dist/upload/style/motion.d.ts +1 -0
- package/dist/upload/style/picture.d.ts +1 -1
- package/dist/upload/style/rtl.d.ts +1 -1
- package/dist/upload/utils.d.ts +0 -1
- package/dist/watermark/context.d.ts +0 -1
- package/dist/watermark/useClips.d.ts +0 -1
- package/dist/watermark/useWatermark.d.ts +0 -1
- package/dist/watermark/utils.d.ts +0 -1
- package/package.json +18 -17
- package/web-tags.json +1318 -1322
- package/web-types.json +5941 -5954
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import Statistic, { InternalStatisticProps, StatisticSlots } from "./Statistic.js";
|
|
2
2
|
import StatisticTimer$1, { InternalStatisticTimerProps, StatisticTimeEmits } from "./Timer.js";
|
|
3
|
-
|
|
4
3
|
//#region src/statistic/index.d.ts
|
|
5
4
|
type StatisticProps = InternalStatisticProps;
|
|
6
5
|
type StatisticTimerProps = InternalStatisticTimerProps;
|
|
@@ -36,7 +36,8 @@ const prepareComponentToken = (token) => {
|
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
38
|
var style_default = genStyleHooks("Statistic", (token) => {
|
|
39
|
-
|
|
39
|
+
const statisticToken = mergeToken(token, {});
|
|
40
|
+
return genStatisticStyle(statisticToken);
|
|
40
41
|
}, prepareComponentToken);
|
|
41
42
|
//#endregion
|
|
42
43
|
export { style_default as default, prepareComponentToken };
|
package/dist/steps/context.d.ts
CHANGED
package/dist/steps/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { VueNode } from "../_util/type.js";
|
|
2
2
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
3
|
+
import "../_util/hooks/index.js";
|
|
3
4
|
import { SizeType } from "../config-provider/SizeContext.js";
|
|
4
5
|
import { CSSProperties, SlotsType } from "vue";
|
|
5
6
|
import { StepsProps as StepsProps$1 } from "@v-c/steps";
|
|
6
|
-
|
|
7
7
|
//#region src/steps/index.d.ts
|
|
8
8
|
type RcIconRenderTypeInfo = Parameters<NonNullable<StepsProps$1['iconRender']>>[1];
|
|
9
9
|
type IconRenderType = (params: {
|
|
@@ -58,7 +58,8 @@ type ProgressDotRender = (params: {
|
|
|
58
58
|
info: {
|
|
59
59
|
index: number;
|
|
60
60
|
status: NonNullable<StepsProps$1['status']>;
|
|
61
|
-
title: any;
|
|
61
|
+
title: any;
|
|
62
|
+
/** @deprecated Please use `content` instead. */
|
|
62
63
|
description: any;
|
|
63
64
|
content: any;
|
|
64
65
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StepsToken } from "./index.js";
|
|
2
2
|
import { GenerateStyle } from "../../theme/interface/index.js";
|
|
3
|
+
import "../../theme/internal.js";
|
|
3
4
|
import { CSSObject } from "@antdv-next/cssinjs";
|
|
4
|
-
|
|
5
5
|
//#region src/steps/style/horizontal.d.ts
|
|
6
6
|
declare const genHorizontalStyle: GenerateStyle<StepsToken, CSSObject>;
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StepsToken } from "./index.js";
|
|
2
2
|
import { GenerateStyle } from "../../theme/interface/index.js";
|
|
3
|
+
import "../../theme/internal.js";
|
|
3
4
|
import { CSSObject } from "@antdv-next/cssinjs";
|
|
4
|
-
|
|
5
5
|
//#region src/steps/style/icon.d.ts
|
|
6
6
|
declare const genIconStyle: GenerateStyle<StepsToken, CSSObject>;
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StepsToken } from "./index.js";
|
|
2
2
|
import { GenerateStyle } from "../../theme/interface/index.js";
|
|
3
|
+
import "../../theme/internal.js";
|
|
3
4
|
import { CSSObject } from "@antdv-next/cssinjs";
|
|
4
|
-
|
|
5
5
|
//#region src/steps/style/inline.d.ts
|
|
6
6
|
declare const genInlineStyle: GenerateStyle<StepsToken, CSSObject>;
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StepsToken } from "./index.js";
|
|
2
2
|
import { GenerateStyle } from "../../theme/interface/index.js";
|
|
3
|
+
import "../../theme/internal.js";
|
|
3
4
|
import { CSSObject } from "@antdv-next/cssinjs";
|
|
4
|
-
|
|
5
5
|
//#region src/steps/style/label-placement.d.ts
|
|
6
6
|
declare const genLabelPlacementStyle: GenerateStyle<StepsToken, CSSObject>;
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StepsToken } from "./index.js";
|
|
2
2
|
import { GenerateStyle } from "../../theme/interface/index.js";
|
|
3
|
+
import "../../theme/internal.js";
|
|
3
4
|
import { CSSObject } from "@antdv-next/cssinjs";
|
|
4
|
-
|
|
5
5
|
//#region src/steps/style/max-count.d.ts
|
|
6
6
|
declare const genMaxCountStyle: GenerateStyle<StepsToken, CSSObject>;
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StepsToken } from "./index.js";
|
|
2
2
|
import { GenerateStyle } from "../../theme/interface/index.js";
|
|
3
|
+
import "../../theme/internal.js";
|
|
3
4
|
import { CSSObject } from "@antdv-next/cssinjs";
|
|
4
|
-
|
|
5
5
|
//#region src/steps/style/nav.d.ts
|
|
6
6
|
declare const genLegacyNavStyle: GenerateStyle<StepsToken, CSSObject>;
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StepsToken } from "./index.js";
|
|
2
2
|
import { GenerateStyle } from "../../theme/interface/index.js";
|
|
3
|
+
import "../../theme/internal.js";
|
|
3
4
|
import { CSSObject } from "@antdv-next/cssinjs";
|
|
4
|
-
|
|
5
5
|
//#region src/steps/style/panel.d.ts
|
|
6
6
|
declare const genPanelStyle: GenerateStyle<StepsToken, CSSObject>;
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StepsToken } from "./index.js";
|
|
2
2
|
import { GenerateStyle } from "../../theme/interface/index.js";
|
|
3
|
+
import "../../theme/internal.js";
|
|
3
4
|
import { CSSObject } from "@antdv-next/cssinjs";
|
|
4
|
-
|
|
5
5
|
//#region src/steps/style/progress-dot.d.ts
|
|
6
6
|
declare const genDotStyle: GenerateStyle<StepsToken, CSSObject>;
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StepsToken } from "./index.js";
|
|
2
2
|
import { GenerateStyle } from "../../theme/interface/index.js";
|
|
3
|
+
import "../../theme/internal.js";
|
|
3
4
|
import { CSSObject } from "@antdv-next/cssinjs";
|
|
4
|
-
|
|
5
5
|
//#region src/steps/style/progress.d.ts
|
|
6
6
|
declare const genStepsProgressStyle: GenerateStyle<StepsToken, CSSObject>;
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StepsToken } from "./index.js";
|
|
2
2
|
import { GenerateStyle } from "../../theme/interface/index.js";
|
|
3
|
+
import "../../theme/internal.js";
|
|
3
4
|
import { CSSObject } from "@antdv-next/cssinjs";
|
|
4
|
-
|
|
5
5
|
//#region src/steps/style/rtl.d.ts
|
|
6
6
|
declare const genRTLStyle: GenerateStyle<StepsToken, CSSObject>;
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StepsToken } from "./index.js";
|
|
2
2
|
import { GenerateStyle } from "../../theme/interface/index.js";
|
|
3
|
+
import "../../theme/internal.js";
|
|
3
4
|
import { CSSObject } from "@antdv-next/cssinjs";
|
|
4
|
-
|
|
5
5
|
//#region src/steps/style/small.d.ts
|
|
6
6
|
declare const genSmallStyle: GenerateStyle<StepsToken, CSSObject>;
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StepsToken } from "./index.js";
|
|
2
2
|
import { GenerateStyle } from "../../theme/interface/index.js";
|
|
3
|
+
import "../../theme/internal.js";
|
|
3
4
|
import { CSSObject } from "@antdv-next/cssinjs";
|
|
4
|
-
|
|
5
5
|
//#region src/steps/style/status.d.ts
|
|
6
6
|
declare const STATUS_WAIT = "wait";
|
|
7
7
|
declare const STATUS_PROCESS = "process";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { StepsToken } from "./index.js";
|
|
2
2
|
import { GenerateStyle } from "../../theme/interface/index.js";
|
|
3
|
+
import "../../theme/internal.js";
|
|
3
4
|
import { CSSObject } from "@antdv-next/cssinjs";
|
|
4
|
-
|
|
5
5
|
//#region src/steps/style/vertical.d.ts
|
|
6
6
|
declare const genVerticalStyle: GenerateStyle<StepsToken, CSSObject>;
|
|
7
7
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FullToken, OverrideComponent } from "../theme/interface/cssinjs-utils.js";
|
|
2
|
+
import "../theme/internal.js";
|
|
2
3
|
import { CSSInterpolation } from "@antdv-next/cssinjs";
|
|
3
|
-
|
|
4
4
|
//#region src/style/compact-item-vertical.d.ts
|
|
5
5
|
declare function genCompactItemVerticalStyle<T extends OverrideComponent>(token: FullToken<T>): CSSInterpolation;
|
|
6
6
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FullToken, OverrideComponent } from "../theme/interface/cssinjs-utils.js";
|
|
2
|
+
import "../theme/internal.js";
|
|
2
3
|
import { CSSInterpolation } from "@antdv-next/cssinjs";
|
|
3
|
-
|
|
4
4
|
//#region src/style/compact-item.d.ts
|
|
5
5
|
interface CompactItemOptions {
|
|
6
6
|
focus?: boolean;
|
package/dist/style/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AliasToken } from "../theme/interface/alias.js";
|
|
2
2
|
import { GenerateStyle } from "../theme/interface/index.js";
|
|
3
|
+
import "../theme/internal.js";
|
|
3
4
|
import { CSSObject } from "@antdv-next/cssinjs";
|
|
4
|
-
|
|
5
5
|
//#region src/style/index.d.ts
|
|
6
6
|
declare const textEllipsis: CSSObject;
|
|
7
7
|
declare function resetComponent(token: AliasToken, needInheritFontFamily?: boolean): CSSObject;
|
package/dist/style/index.js
CHANGED
|
@@ -31,7 +31,10 @@ function resetIcon() {
|
|
|
31
31
|
"-webkit-font-smoothing": "antialiased",
|
|
32
32
|
"-moz-osx-font-smoothing": "grayscale",
|
|
33
33
|
"> *": { lineHeight: 1 },
|
|
34
|
-
svg: {
|
|
34
|
+
svg: {
|
|
35
|
+
display: "inline-block",
|
|
36
|
+
verticalAlign: "inherit"
|
|
37
|
+
}
|
|
35
38
|
};
|
|
36
39
|
}
|
|
37
40
|
const loadingCircle = new Keyframes("loadingCircle", { "100%": { transform: "rotate(360deg)" } });
|
|
@@ -104,8 +107,10 @@ function genIconStyle(iconPrefixCls) {
|
|
|
104
107
|
return {
|
|
105
108
|
[`.${iconPrefixCls}`]: {
|
|
106
109
|
...resetIcon(),
|
|
107
|
-
|
|
110
|
+
"&::before": { display: "none" },
|
|
111
|
+
"&[tabindex]": { cursor: "pointer" }
|
|
108
112
|
},
|
|
113
|
+
[`.${iconPrefixCls} .${iconPrefixCls}-icon`]: { display: "block" },
|
|
109
114
|
[`.${iconPrefixCls}-spin`]: {
|
|
110
115
|
animationName: loadingCircle,
|
|
111
116
|
animationDuration: "1s",
|
|
@@ -2,7 +2,6 @@ import { AliasToken } from "../../theme/interface/alias.js";
|
|
|
2
2
|
import { GenerateStyle } from "../../theme/interface/index.js";
|
|
3
3
|
import { TokenWithCommonCls } from "../../theme/internal.js";
|
|
4
4
|
import { CSSObject } from "@antdv-next/cssinjs";
|
|
5
|
-
|
|
6
5
|
//#region src/style/motion/collapse.d.ts
|
|
7
6
|
declare const genCollapseMotion: GenerateStyle<TokenWithCommonCls<AliasToken>, CSSObject>;
|
|
8
7
|
//#endregion
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AliasToken } from "../../theme/interface/alias.js";
|
|
2
2
|
import { TokenWithCommonCls } from "../../theme/internal.js";
|
|
3
3
|
import { CSSInterpolation, Keyframes } from "@antdv-next/cssinjs";
|
|
4
|
-
|
|
5
4
|
//#region src/style/motion/fade.d.ts
|
|
6
5
|
declare const fadeIn: Keyframes;
|
|
7
6
|
declare const fadeOut: Keyframes;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AliasToken } from "../../theme/interface/alias.js";
|
|
2
2
|
import { TokenWithCommonCls } from "../../theme/internal.js";
|
|
3
3
|
import { CSSInterpolation, Keyframes } from "@antdv-next/cssinjs";
|
|
4
|
-
|
|
5
4
|
//#region src/style/motion/move.d.ts
|
|
6
5
|
declare const moveDownIn: Keyframes;
|
|
7
6
|
declare const moveDownOut: Keyframes;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AliasToken } from "../../theme/interface/alias.js";
|
|
2
2
|
import { TokenWithCommonCls } from "../../theme/internal.js";
|
|
3
3
|
import { CSSInterpolation, Keyframes } from "@antdv-next/cssinjs";
|
|
4
|
-
|
|
5
4
|
//#region src/style/motion/slide.d.ts
|
|
6
5
|
declare const slideUpIn: Keyframes;
|
|
7
6
|
declare const slideUpOut: Keyframes;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AliasToken } from "../../theme/interface/alias.js";
|
|
2
2
|
import { TokenWithCommonCls } from "../../theme/internal.js";
|
|
3
3
|
import { CSSInterpolation, Keyframes } from "@antdv-next/cssinjs";
|
|
4
|
-
|
|
5
4
|
//#region src/style/motion/zoom.d.ts
|
|
6
5
|
declare const zoomIn: Keyframes;
|
|
7
6
|
declare const zoomOut: Keyframes;
|
|
@@ -2,7 +2,6 @@ import { AliasToken } from "../theme/interface/alias.js";
|
|
|
2
2
|
import { ArrowToken } from "./roundedArrow.js";
|
|
3
3
|
import { TokenWithCommonCls } from "../theme/internal.js";
|
|
4
4
|
import { CSSInterpolation } from "@antdv-next/cssinjs";
|
|
5
|
-
|
|
6
5
|
//#region src/style/placementArrow.d.ts
|
|
7
6
|
declare const MAX_VERTICAL_CONTENT_RADIUS = 8;
|
|
8
7
|
interface ArrowOffsetToken {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AliasToken } from "../theme/interface/alias.js";
|
|
2
|
+
import "../theme/interface/index.js";
|
|
2
3
|
import { CSSUtil } from "../theme/internal.js";
|
|
3
4
|
import { CSSObject } from "@antdv-next/cssinjs";
|
|
4
|
-
|
|
5
5
|
//#region src/style/roundedArrow.d.ts
|
|
6
6
|
interface ArrowToken {
|
|
7
7
|
/** @internal */
|
package/dist/switch/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { VueNode } from "../_util/type.js";
|
|
2
2
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
3
|
+
import "../_util/hooks/index.js";
|
|
3
4
|
import { SizeType } from "../config-provider/SizeContext.js";
|
|
4
5
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
5
6
|
import { CSSProperties, SlotsType } from "vue";
|
|
6
7
|
import { SwitchChangeEventHandler, SwitchClickEventHandler } from "@v-c/switch";
|
|
7
|
-
|
|
8
8
|
//#region src/switch/index.d.ts
|
|
9
9
|
type SwitchSize = Exclude<SizeType, 'large'> | 'default';
|
|
10
10
|
type SwitchSemanticName = keyof SwitchSemanticClassNames & keyof SwitchSemanticStyles;
|
package/dist/table/Column.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AnyObject, EmptyEmit } from "../_util/type.js";
|
|
2
2
|
import { ColumnType } from "./interface.js";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
|
-
|
|
5
4
|
//#region src/table/Column.d.ts
|
|
6
5
|
interface ColumnProps<RecordType = AnyObject> extends ColumnType<RecordType> {
|
|
7
6
|
children?: null;
|
|
@@ -2,7 +2,6 @@ import { AnyObject, EmptyEmit } from "../_util/type.js";
|
|
|
2
2
|
import { ColumnType } from "./interface.js";
|
|
3
3
|
import { ColumnProps } from "./Column.js";
|
|
4
4
|
import { SlotsType } from "vue";
|
|
5
|
-
|
|
6
5
|
//#region src/table/ColumnGroup.d.ts
|
|
7
6
|
interface ColumnGroupProps<RecordType = AnyObject> extends Omit<ColumnType<RecordType>, 'children'> {
|
|
8
7
|
children: ColumnProps<RecordType> | ColumnProps<RecordType>[];
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { AnyObject } from "../_util/type.js";
|
|
2
2
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
3
|
+
import "../_util/hooks/index.js";
|
|
3
4
|
import { SizeType } from "../config-provider/SizeContext.js";
|
|
4
5
|
import { PaginationSemanticClassNames, PaginationSemanticStyles } from "../pagination/interface.js";
|
|
5
6
|
import { SpinProps } from "../spin/index.js";
|
|
6
|
-
import { ColumnType, ColumnsType, FilterDropdownProps, FilterValue, GetPopupContainer, Key, SortOrder, SorterResult, SorterTooltipProps, TableCurrentDataSource, TableLocale, TablePaginationConfig, TableRowSelection } from "./interface.js";
|
|
7
|
+
import { ColumnType as ColumnType$1, ColumnsType, FilterDropdownProps, FilterValue, GetPopupContainer, Key, SortOrder, SorterResult, SorterTooltipProps, TableCurrentDataSource, TableLocale, TablePaginationConfig, TableRowSelection } from "./interface.js";
|
|
7
8
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
8
9
|
import { CSSProperties, SlotsType } from "vue";
|
|
9
10
|
import { Reference, TableProps as TableProps$1 } from "@v-c/table";
|
|
10
|
-
|
|
11
11
|
//#region src/table/InternalTable.d.ts
|
|
12
12
|
interface HeaderTableProps {}
|
|
13
13
|
interface HeaderTableEmits {
|
|
@@ -57,7 +57,7 @@ interface TableProps<RecordType = AnyObject> extends ComponentBaseProps, Omit<Ta
|
|
|
57
57
|
styles?: TableStylesType<RecordType>;
|
|
58
58
|
dropdownPrefixCls?: string;
|
|
59
59
|
dataSource?: TableProps$1<RecordType>['data'];
|
|
60
|
-
column?: Partial<ColumnType<RecordType>>;
|
|
60
|
+
column?: Partial<ColumnType$1<RecordType>>;
|
|
61
61
|
columns?: ColumnsType<RecordType>;
|
|
62
62
|
pagination?: false | TablePaginationConfig;
|
|
63
63
|
loading?: boolean | SpinProps;
|
|
@@ -101,21 +101,21 @@ interface TableSlots<RecordType = AnyObject> {
|
|
|
101
101
|
expanded: boolean;
|
|
102
102
|
}) => any;
|
|
103
103
|
headerCell?: (ctx: {
|
|
104
|
-
column: ColumnType<RecordType>;
|
|
104
|
+
column: ColumnType$1<RecordType>;
|
|
105
105
|
index: number;
|
|
106
106
|
text: any;
|
|
107
107
|
}) => any;
|
|
108
108
|
bodyCell?: (ctx: {
|
|
109
|
-
column: ColumnType<RecordType>;
|
|
109
|
+
column: ColumnType$1<RecordType>;
|
|
110
110
|
index: number;
|
|
111
111
|
text: any;
|
|
112
112
|
record: RecordType;
|
|
113
113
|
}) => any;
|
|
114
114
|
filterDropdown?: (ctx: FilterDropdownProps & {
|
|
115
|
-
column: ColumnType<RecordType>;
|
|
115
|
+
column: ColumnType$1<RecordType>;
|
|
116
116
|
}) => any;
|
|
117
117
|
filterIcon?: (ctx: {
|
|
118
|
-
column: ColumnType<RecordType>;
|
|
118
|
+
column: ColumnType$1<RecordType>;
|
|
119
119
|
filtered: boolean;
|
|
120
120
|
}) => any;
|
|
121
121
|
}
|
package/dist/table/Table.d.ts
CHANGED
|
@@ -5,9 +5,8 @@ import Column from "./Column.js";
|
|
|
5
5
|
import ColumnGroup from "./ColumnGroup.js";
|
|
6
6
|
import { PublicProps } from "vue";
|
|
7
7
|
import { EXPAND_COLUMN, Summary } from "@v-c/table";
|
|
8
|
-
|
|
9
8
|
//#region src/table/Table.d.ts
|
|
10
|
-
type TableEmitsProps<RecordType = AnyObject> = { [K in keyof TableEmits<RecordType> as `on${Capitalize<string & K>}`]?: TableEmits<RecordType>[K] };
|
|
9
|
+
type TableEmitsProps<RecordType = AnyObject> = { [K in keyof TableEmits<RecordType> as `on${Capitalize<string & K>}`]?: TableEmits<RecordType>[K]; };
|
|
11
10
|
interface InternalTableProps<RecordType = AnyObject> extends TableProps$1<RecordType>, TableEmitsProps<RecordType> {}
|
|
12
11
|
type TableInstance<RecordType = AnyObject> = {
|
|
13
12
|
$props: InternalTableProps<RecordType> & PublicProps;
|
|
@@ -5,7 +5,8 @@ function useTableMeasureRowContext() {
|
|
|
5
5
|
return inject(TableMeasureRowContextKey, ref(false));
|
|
6
6
|
}
|
|
7
7
|
const TableMeasureRowContextProvider = defineComponent((props, { slots }) => {
|
|
8
|
-
|
|
8
|
+
const value = computed(() => props.value);
|
|
9
|
+
provide(TableMeasureRowContextKey, value);
|
|
9
10
|
return () => {
|
|
10
11
|
return slots?.default?.();
|
|
11
12
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AnyObject } from "../../_util/type.js";
|
|
2
2
|
import { ColumnTitleProps, FilterValue } from "../interface.js";
|
|
3
3
|
import { ComputedRef, Ref } from "vue";
|
|
4
|
-
|
|
5
4
|
//#region src/table/hooks/useColumnTitleProps.d.ts
|
|
6
5
|
declare function useColumnTitleProps<RecordType extends AnyObject = AnyObject>(sorterTitleProps: Ref<ColumnTitleProps<RecordType>>, filters: Ref<Record<string, FilterValue | null>>): ComputedRef<ColumnTitleProps<RecordType>>;
|
|
7
6
|
//#endregion
|
|
@@ -3,7 +3,6 @@ import { ColumnFilterItem, ColumnType, FilterDropdownProps as FilterDropdownProp
|
|
|
3
3
|
import { FilterState } from "./index.js";
|
|
4
4
|
import { SlotsType } from "vue";
|
|
5
5
|
import { DataNode } from "@v-c/tree";
|
|
6
|
-
|
|
7
6
|
//#region src/table/hooks/useFilter/FilterDropdown.d.ts
|
|
8
7
|
declare function flattenKeys(filters?: ColumnFilterItem[]): FilterValue;
|
|
9
8
|
type TreeColumnFilterItem = ColumnFilterItem & FilterTreeDataNode;
|
|
@@ -124,7 +124,8 @@ const FilterDropdown = /* @__PURE__ */ defineComponent((props, { slots }) => {
|
|
|
124
124
|
const searchValue = shallowRef("");
|
|
125
125
|
const normalizedSearchValue = computed(() => searchValue.value.trim().toLowerCase());
|
|
126
126
|
const onSearch = (e) => {
|
|
127
|
-
|
|
127
|
+
const target = e.target;
|
|
128
|
+
searchValue.value = target?.value || "";
|
|
128
129
|
};
|
|
129
130
|
watch(mergedVisible, (nextVisible) => {
|
|
130
131
|
if (!nextVisible) searchValue.value = "";
|
|
@@ -168,8 +169,10 @@ const FilterDropdown = /* @__PURE__ */ defineComponent((props, { slots }) => {
|
|
|
168
169
|
};
|
|
169
170
|
const dropdownMenuClass = computed(() => clsx({ [`${props.dropdownPrefixCls}-menu-without-submenu`]: !hasSubMenu(column?.value?.filters || []) }));
|
|
170
171
|
const onCheckAll = (e) => {
|
|
171
|
-
if (e.target.checked)
|
|
172
|
-
|
|
172
|
+
if (e.target.checked) {
|
|
173
|
+
const allFilterKeys = flattenKeys(column.value?.filters).map((key) => String(key));
|
|
174
|
+
setFilteredKeysSync(allFilterKeys);
|
|
175
|
+
} else setFilteredKeysSync([]);
|
|
173
176
|
};
|
|
174
177
|
const getTreeData = ({ filters }) => (filters || []).map((filter, index) => {
|
|
175
178
|
const key = String(filter.value);
|
|
@@ -3,7 +3,6 @@ import { devUseWarning } from "../../../_util/warning.js";
|
|
|
3
3
|
import { ColumnType, ColumnsType, FilterDropdownProps, FilterKey, FilterValue, GetPopupContainer, Key, TableLocale, TransformColumns } from "../../interface.js";
|
|
4
4
|
import { flattenKeys } from "./FilterDropdown.js";
|
|
5
5
|
import { Ref } from "vue";
|
|
6
|
-
|
|
7
6
|
//#region src/table/hooks/useFilter/index.d.ts
|
|
8
7
|
interface FilterState<RecordType = AnyObject> {
|
|
9
8
|
column: ColumnType<RecordType>;
|
|
@@ -75,8 +75,10 @@ function generateFilterInfo(filterStates) {
|
|
|
75
75
|
const keyAsString = key;
|
|
76
76
|
const { filters, filterDropdown } = column;
|
|
77
77
|
if (filterDropdown) currentFilters[keyAsString] = filteredKeys || null;
|
|
78
|
-
else if (Array.isArray(filteredKeys))
|
|
79
|
-
|
|
78
|
+
else if (Array.isArray(filteredKeys)) {
|
|
79
|
+
const keys = flattenKeys(filters);
|
|
80
|
+
currentFilters[keyAsString] = keys.filter((originKey) => filteredKeys.includes(String(originKey)));
|
|
81
|
+
} else currentFilters[keyAsString] = null;
|
|
80
82
|
});
|
|
81
83
|
return currentFilters;
|
|
82
84
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AnyObject } from "../../_util/type.js";
|
|
2
2
|
import { GetRowKey, Key } from "../interface.js";
|
|
3
3
|
import { Ref } from "vue";
|
|
4
|
-
|
|
5
4
|
//#region src/table/hooks/useLazyKVMap.d.ts
|
|
6
5
|
declare function useLazyKVMap<RecordType extends AnyObject = AnyObject>(data: readonly RecordType[] | Ref<RecordType[]>, childrenColumnName: string | Ref<string>, getRowKey: GetRowKey<RecordType> | Ref<GetRowKey<RecordType>>): readonly [(key: Key) => RecordType];
|
|
7
6
|
//#endregion
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { TablePaginationConfig } from "../interface.js";
|
|
2
2
|
import { Ref } from "vue";
|
|
3
|
-
|
|
4
3
|
//#region src/table/hooks/usePagination.d.ts
|
|
5
4
|
declare const DEFAULT_PAGE_SIZE = 10;
|
|
6
5
|
declare function getPaginationParam(mergedPagination: TablePaginationConfig, pagination?: TablePaginationConfig | boolean): any;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AnyObject } from "../../_util/type.js";
|
|
2
2
|
import { GetPopupContainer, GetRowKey, Key, SelectionItem, TableLocale, TableRowSelection, TransformColumns } from "../interface.js";
|
|
3
3
|
import { Ref } from "vue";
|
|
4
|
-
|
|
5
4
|
//#region src/table/hooks/useSelection.d.ts
|
|
6
5
|
declare const SELECTION_COLUMN: {};
|
|
7
6
|
declare const SELECTION_ALL: "SELECT_ALL";
|
|
@@ -146,9 +146,11 @@ function useSelection(config, rowSelection) {
|
|
|
146
146
|
key: "all",
|
|
147
147
|
text: tableLocale.value.selectionAll,
|
|
148
148
|
onSelect() {
|
|
149
|
-
setSelectedKeys(data.value.
|
|
150
|
-
|
|
151
|
-
|
|
149
|
+
setSelectedKeys(data.value.reduce((keys, record, index) => {
|
|
150
|
+
const key = getRowKey.value(record, index);
|
|
151
|
+
if (!isCheckboxDisabled(record) || derivedSelectedKeySet.value.has(key)) keys.push(key);
|
|
152
|
+
return keys;
|
|
153
|
+
}, []), "all");
|
|
152
154
|
}
|
|
153
155
|
};
|
|
154
156
|
if (selection === "SELECT_INVERT") return {
|
|
@@ -2,7 +2,6 @@ import { AnyObject } from "../../_util/type.js";
|
|
|
2
2
|
import { ColumnTitleProps, ColumnType, ColumnsType, Key, SortOrder, SorterResult, SorterTooltipProps, TableLocale, TransformColumns } from "../interface.js";
|
|
3
3
|
import { Locale } from "../../locale/index.js";
|
|
4
4
|
import { Ref } from "vue";
|
|
5
|
-
|
|
6
5
|
//#region src/table/hooks/useSorter.d.ts
|
|
7
6
|
interface SortState<RecordType = AnyObject> {
|
|
8
7
|
column: ColumnType<RecordType>;
|