antdv-next 1.4.5 → 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 +1 -2
- 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 +3 -8
- 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 +10943 -11094
- package/dist/antd-with-locales.js +95 -85
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +8724 -8872
- package/dist/antd.js +87 -77
- 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 +2 -3
- 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 +5 -5
- 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 +4 -5
- 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 +7 -8
- package/dist/image/index.d.ts +4 -2
- package/dist/image/style/index.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- 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/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 +0 -1
- 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/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/panelRender.js +2 -8
- 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 +16 -16
- package/web-tags.json +1725 -1725
- package/web-types.json +5500 -5500
package/dist/form/Form.js
CHANGED
|
@@ -128,10 +128,12 @@ const InternalForm = /* @__PURE__ */ defineComponent((props, { slots, expose, em
|
|
|
128
128
|
emit("validate", name, status, errors);
|
|
129
129
|
};
|
|
130
130
|
const resetFields = (nameList) => {
|
|
131
|
-
|
|
131
|
+
const targetList = nameList ? nameList.map(getNamePath) : void 0;
|
|
132
|
+
getFieldsByNameList(targetList).forEach((field) => field.resetField());
|
|
132
133
|
};
|
|
133
134
|
const clearValidate = (nameList) => {
|
|
134
|
-
|
|
135
|
+
const targetList = nameList ? nameList.map(getNamePath) : void 0;
|
|
136
|
+
getFieldsByNameList(targetList).forEach((field) => field.clearValidate());
|
|
135
137
|
};
|
|
136
138
|
const validateFields = (arg1, arg2) => {
|
|
137
139
|
let nameList;
|
|
@@ -263,33 +265,40 @@ const InternalForm = /* @__PURE__ */ defineComponent((props, { slots, expose, em
|
|
|
263
265
|
triggerFieldsChange();
|
|
264
266
|
};
|
|
265
267
|
const getFieldError = (name) => {
|
|
266
|
-
|
|
268
|
+
const namePath = getNamePath(name);
|
|
269
|
+
return getFields([namePath])[0]?.errors || [];
|
|
267
270
|
};
|
|
268
271
|
const getFieldWarning = (name) => {
|
|
269
|
-
|
|
272
|
+
const namePath = getNamePath(name);
|
|
273
|
+
return getFields([namePath])[0]?.warnings || [];
|
|
270
274
|
};
|
|
271
275
|
const getFieldsError = (nameList) => {
|
|
272
|
-
|
|
276
|
+
const namePathList = nameList?.length ? nameList.map(getNamePath) : void 0;
|
|
277
|
+
return getFields(namePathList).map((field) => ({
|
|
273
278
|
name: field.name,
|
|
274
279
|
errors: field.errors,
|
|
275
280
|
warnings: field.warnings
|
|
276
281
|
}));
|
|
277
282
|
};
|
|
278
283
|
const isFieldTouched = (name) => {
|
|
279
|
-
|
|
284
|
+
const namePath = getNamePath(name);
|
|
285
|
+
return !!getFields([namePath])[0]?.touched;
|
|
280
286
|
};
|
|
281
287
|
const isFieldsTouched = (nameList, allFieldsTouched) => {
|
|
282
|
-
const
|
|
288
|
+
const arrNameList = typeof nameList === "boolean" || nameList === void 0 ? void 0 : nameList.map(getNamePath);
|
|
289
|
+
const fieldsData = getFields(arrNameList);
|
|
283
290
|
if (nameList === false) return false;
|
|
284
291
|
if (!fieldsData.length) return false;
|
|
285
292
|
if (allFieldsTouched) return fieldsData.every((field) => field.touched);
|
|
286
293
|
return fieldsData.some((field) => field.touched);
|
|
287
294
|
};
|
|
288
295
|
const isFieldValidating = (name) => {
|
|
289
|
-
|
|
296
|
+
const namePath = getNamePath(name);
|
|
297
|
+
return !!getFields([namePath])[0]?.validating;
|
|
290
298
|
};
|
|
291
299
|
const isFieldsValidating = (nameList) => {
|
|
292
|
-
|
|
300
|
+
const namePathList = nameList?.length ? nameList.map(getNamePath) : void 0;
|
|
301
|
+
return getFields(namePathList).some((field) => field.validating);
|
|
293
302
|
};
|
|
294
303
|
const setFields = (data) => {
|
|
295
304
|
data.forEach((item) => {
|
|
@@ -5,7 +5,6 @@ import { FormItemInputProps } from "../FormItemInput.js";
|
|
|
5
5
|
import { BaseFormItemProps, FeedbackIcons, FormItemProps, ValidateStatus } from "./index.js";
|
|
6
6
|
import { ComponentBaseProps } from "../../config-provider/context.js";
|
|
7
7
|
import { ReportMetaChange } from "../context.js";
|
|
8
|
-
|
|
9
8
|
//#region src/form/FormItem/ItemHolder.d.ts
|
|
10
9
|
type ItemHolderProps = FormItemProps & {
|
|
11
10
|
errors: any[];
|
|
@@ -4,7 +4,6 @@ import { FormItemLayout } from "../Form.js";
|
|
|
4
4
|
import { FormItemInputProps } from "../FormItemInput.js";
|
|
5
5
|
import { ComponentBaseProps } from "../../config-provider/context.js";
|
|
6
6
|
import { SlotsType } from "vue";
|
|
7
|
-
|
|
8
7
|
//#region src/form/FormItem/index.d.ts
|
|
9
8
|
declare const _ValidateStatuses: readonly ["success", "warning", "error", "validating", ""];
|
|
10
9
|
type ValidateStatus = (typeof _ValidateStatuses)[number];
|
|
@@ -12,7 +11,7 @@ type FeedbackIcons = (itemStatus: {
|
|
|
12
11
|
status: ValidateStatus;
|
|
13
12
|
errors?: any[];
|
|
14
13
|
warnings?: any[];
|
|
15
|
-
}) => { [key in ValidateStatus]?: any };
|
|
14
|
+
}) => { [key in ValidateStatus]?: any; };
|
|
16
15
|
interface BaseFormItemProps {
|
|
17
16
|
name?: NamePath;
|
|
18
17
|
rules?: Rule[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VueNode } from "../_util/type.js";
|
|
2
2
|
import { ColProps } from "../grid/col.js";
|
|
3
|
+
import "../grid/index.js";
|
|
3
4
|
import { ValidateStatus } from "./FormItem/index.js";
|
|
4
|
-
|
|
5
5
|
//#region src/form/FormItemInput.d.ts
|
|
6
6
|
interface FormItemInputMiscProps {
|
|
7
7
|
prefixCls: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { VueNode } from "../_util/type.js";
|
|
2
2
|
import { ColProps } from "../grid/col.js";
|
|
3
|
+
import "../grid/index.js";
|
|
3
4
|
import { TooltipProps } from "../tooltip/index.js";
|
|
4
5
|
import { FormLabelAlign } from "./interface.js";
|
|
5
6
|
import { RequiredMark } from "./Form.js";
|
|
6
|
-
|
|
7
7
|
//#region src/form/FormItemLabel.d.ts
|
|
8
8
|
type FormTooltipProps = TooltipProps & {
|
|
9
9
|
icon?: VueNode;
|
package/dist/form/context.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SemanticClassNames, SemanticStyles } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import "../_util/hooks/index.js";
|
|
2
3
|
import { FormLabelAlign } from "./interface.js";
|
|
3
4
|
import { ColPropsWithClass, FormTooltipProps } from "./FormItemLabel.js";
|
|
4
5
|
import { InternalNamePath, Meta, NamePath, Rule, RulesMap, ValidateMessages } from "./types.js";
|
|
@@ -7,7 +8,6 @@ import { FeedbackIcons, ValidateStatus } from "./FormItem/index.js";
|
|
|
7
8
|
import { Variant } from "../config-provider/context.js";
|
|
8
9
|
import { Ref } from "vue";
|
|
9
10
|
import { Key } from "@v-c/util/dist/type";
|
|
10
|
-
|
|
11
11
|
//#region src/form/context.d.ts
|
|
12
12
|
/** Form Context. Set top form style and pass to Form Item usage. */
|
|
13
13
|
interface FormFieldRegister {
|
|
@@ -71,7 +71,7 @@ declare function useFormItemPrefixContext(): Ref<{
|
|
|
71
71
|
prefixCls: string;
|
|
72
72
|
}>;
|
|
73
73
|
declare function useVariantContextProvider(variant: Ref<Variant | undefined>): void;
|
|
74
|
-
declare function useVariantContext(): Ref<"outlined" | "
|
|
74
|
+
declare function useVariantContext(): Ref<"outlined" | "borderless" | "filled" | "underlined" | undefined, "outlined" | "borderless" | "filled" | "underlined" | undefined>;
|
|
75
75
|
interface FormItemStatusContextProps {
|
|
76
76
|
isFormItemInput?: boolean;
|
|
77
77
|
status?: ValidateStatus;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { ConfigProviderProps } from "../../config-provider/define.js";
|
|
2
2
|
import { Variant } from "../../config-provider/context.js";
|
|
3
3
|
import { Ref } from "vue";
|
|
4
|
-
|
|
5
4
|
//#region src/form/hooks/useVariant.d.ts
|
|
6
5
|
type VariantComponents = keyof Pick<ConfigProviderProps, 'input' | 'inputNumber' | 'textArea' | 'mentions' | 'select' | 'cascader' | 'treeSelect' | 'datePicker' | 'timePicker' | 'rangePicker' | 'card'>;
|
|
7
|
-
declare function useVariant(component: VariantComponents, variant?: Ref<Variant | undefined>, legacyBordered?: Ref<boolean | undefined> | boolean): readonly [import("vue").ComputedRef<"outlined" | "
|
|
6
|
+
declare function useVariant(component: VariantComponents, variant?: Ref<Variant | undefined>, legacyBordered?: Ref<boolean | undefined> | boolean): readonly [import("vue").ComputedRef<"outlined" | "borderless" | "filled" | "underlined">, import("vue").ComputedRef<boolean>];
|
|
8
7
|
declare const useVariants: typeof useVariant;
|
|
9
8
|
//#endregion
|
|
10
9
|
export { useVariant as default, useVariants };
|
package/dist/form/interface.d.ts
CHANGED
|
@@ -4,6 +4,6 @@ type BaseNamePath = string | number | boolean | (string | number | boolean)[];
|
|
|
4
4
|
* Store: The store type from `FormInstance<Store>`
|
|
5
5
|
* ParentNamePath: Auto generate by nest logic. Do not fill manually.
|
|
6
6
|
*/
|
|
7
|
-
type DeepNamePath<Store = any, ParentNamePath extends any[] = []> = ParentNamePath['length'] extends 5 ? never : true extends (Store extends BaseNamePath ? true : false) ? ParentNamePath['length'] extends 0 ? Store | BaseNamePath : Store extends any[] ? [...ParentNamePath, number] : never : Store extends any[] ? [...ParentNamePath, number] | DeepNamePath<Store[number], [...ParentNamePath, number]> : keyof Store extends never ? Store : { [FieldKey in keyof Store]: Store[FieldKey] extends Function ? never : (ParentNamePath['length'] extends 0 ? FieldKey : never) | [...ParentNamePath, FieldKey] | DeepNamePath<Required<Store>[FieldKey], [...ParentNamePath, FieldKey]
|
|
7
|
+
type DeepNamePath<Store = any, ParentNamePath extends any[] = []> = ParentNamePath['length'] extends 5 ? never : true extends (Store extends BaseNamePath ? true : false) ? ParentNamePath['length'] extends 0 ? Store | BaseNamePath : Store extends any[] ? [...ParentNamePath, number] : never : Store extends any[] ? [...ParentNamePath, number] | DeepNamePath<Store[number], [...ParentNamePath, number]> : keyof Store extends never ? Store : { [FieldKey in keyof Store]: Store[FieldKey] extends Function ? never : (ParentNamePath['length'] extends 0 ? FieldKey : never) | [...ParentNamePath, FieldKey] | DeepNamePath<Required<Store>[FieldKey], [...ParentNamePath, FieldKey]>; }[keyof Store];
|
|
8
8
|
//#endregion
|
|
9
9
|
export { DeepNamePath };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FormToken } 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/form/style/explain.d.ts
|
|
6
6
|
declare const genFormValidateMotionStyle: GenerateStyle<FormToken, CSSObject>;
|
|
7
7
|
//#endregion
|
|
@@ -6,7 +6,8 @@ const genFallbackStyle = (token) => {
|
|
|
6
6
|
return { "@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)": { [`${formItemCls}-control`]: { display: "flex" } } };
|
|
7
7
|
};
|
|
8
8
|
var fallbackCmp_default = genSubStyleComponent(["Form", "item-item"], (token, { rootPrefixCls }) => {
|
|
9
|
-
|
|
9
|
+
const formToken = prepareToken(token, rootPrefixCls);
|
|
10
|
+
return genFallbackStyle(formToken);
|
|
10
11
|
});
|
|
11
12
|
//#endregion
|
|
12
13
|
export { fallbackCmp_default as default };
|
package/dist/form/types.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { DeepNamePath } from "./namePathType.js";
|
|
2
2
|
import { Component } from "vue";
|
|
3
|
-
|
|
4
3
|
//#region src/form/types.d.ts
|
|
5
4
|
type ReducerAction = UpdateAction | ValidateAction;
|
|
6
5
|
type BatchTask = (key: string, callback: VoidFunction) => void;
|
|
@@ -204,7 +203,7 @@ interface InternalHooks {
|
|
|
204
203
|
setBatchUpdate: (fn: BatchTask) => void;
|
|
205
204
|
}
|
|
206
205
|
/** Only return partial when type is not any */
|
|
207
|
-
type RecursivePartial<T> = NonNullable<T> extends object ? { [P in keyof T]?: NonNullable<T[P]> extends (infer U)[] ? RecursivePartial<U>[] : NonNullable<T[P]> extends object ? RecursivePartial<T[P]> : T[P] } : T;
|
|
206
|
+
type RecursivePartial<T> = NonNullable<T> extends object ? { [P in keyof T]?: NonNullable<T[P]> extends (infer U)[] ? RecursivePartial<U>[] : NonNullable<T[P]> extends object ? RecursivePartial<T[P]> : T[P]; } : T;
|
|
208
207
|
type FilterFunc = (meta: Meta | null) => boolean;
|
|
209
208
|
interface GetFieldsValueConfig {
|
|
210
209
|
/**
|
|
@@ -244,7 +243,8 @@ type InternalFormInstance = Omit<FormInstance, 'validateFields'> & {
|
|
|
244
243
|
* Form component should register some content into store.
|
|
245
244
|
* We pass the `HOOK_MARK` as key to avoid user call the function.
|
|
246
245
|
*/
|
|
247
|
-
getInternalHooks: (secret: string) => InternalHooks | null;
|
|
246
|
+
getInternalHooks: (secret: string) => InternalHooks | null;
|
|
247
|
+
/** @private Internal usage. Do not use it in your production */
|
|
248
248
|
_init?: boolean;
|
|
249
249
|
};
|
|
250
250
|
type EventArgs = any[];
|
package/dist/form/util.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { EventArgs, InternalNamePath, NamePath, Store } from "../types.js";
|
|
2
2
|
import getValue from "@v-c/util/dist/utils/get";
|
|
3
3
|
import setValue from "@v-c/util/dist/utils/set";
|
|
4
|
-
|
|
5
4
|
//#region src/form/utils/valueUtil.d.ts
|
|
6
5
|
/**
|
|
7
6
|
* Convert name to internal supported format.
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ValidateMessages } from "./types.js";
|
|
2
2
|
import { Ref } from "vue";
|
|
3
|
-
|
|
4
3
|
//#region src/form/validateMessagesContext.d.ts
|
|
5
4
|
declare function useValidateMessagesProvider(validateMessages: Ref<ValidateMessages>): void;
|
|
6
5
|
declare function useValidateMessagesContext(): Ref<ValidateMessages, ValidateMessages> | undefined;
|
package/dist/grid/col.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ScreenMap } from "../../_util/responsiveObserver.js";
|
|
2
2
|
import { Ref } from "vue";
|
|
3
|
-
|
|
4
3
|
//#region src/grid/hooks/useBreakpoint.d.ts
|
|
5
4
|
declare function useBreakpoint(refreshOnChange?: boolean | Ref<boolean>, defaultScreens?: ScreenMap | null | Ref<ScreenMap | null>): Ref<{
|
|
6
5
|
xxxl?: boolean | undefined;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ScreenMap } from "../../_util/responsiveObserver.js";
|
|
2
2
|
import { RowProps } from "../row.js";
|
|
3
3
|
import { Ref } from "vue";
|
|
4
|
-
|
|
5
4
|
//#region src/grid/hooks/useGutter.d.ts
|
|
6
5
|
type Gap = number | undefined;
|
|
7
6
|
declare function useGutter(gutter: Ref<RowProps['gutter']>, screens: Ref<ScreenMap | null>): Ref<[Gap, Gap]>;
|
package/dist/grid/index.d.ts
CHANGED
package/dist/grid/row.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { Breakpoint } from "../_util/responsiveObserver.js";
|
|
2
|
-
|
|
3
2
|
//#region src/grid/row.d.ts
|
|
4
3
|
declare const _RowAligns: readonly ["top", "middle", "bottom", "stretch"];
|
|
5
4
|
declare const _RowJustify: readonly ["start", "end", "center", "space-around", "space-between", "space-evenly"];
|
|
6
|
-
type ResponsiveLike<T> = { [key in Breakpoint]?: T };
|
|
5
|
+
type ResponsiveLike<T> = { [key in Breakpoint]?: T; };
|
|
7
6
|
type Gutter = number | undefined | Partial<Record<Breakpoint, number>>;
|
|
8
7
|
type ResponsiveAligns = ResponsiveLike<(typeof _RowAligns)[number]>;
|
|
9
8
|
type ResponsiveJustify = ResponsiveLike<(typeof _RowJustify)[number]>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AliasToken } from "../../theme/interface/alias.js";
|
|
2
2
|
import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
3
|
+
import "../../theme/internal.js";
|
|
3
4
|
//#region src/grid/style/index.d.ts
|
|
4
5
|
interface ComponentToken {}
|
|
5
6
|
declare const prepareRowComponentToken: GetDefaultToken<'Grid'>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MaskType } from "../_util/hooks/useMergedMask.js";
|
|
2
|
+
import "../_util/hooks/index.js";
|
|
2
3
|
import { DeprecatedPreviewConfig, ImageClassNamesType, ImageStylesType } from "./index.js";
|
|
3
4
|
import { PreviewGroupProps as PreviewGroupProps$1 } from "@v-c/image";
|
|
4
|
-
|
|
5
5
|
//#region src/image/PreviewGroup.d.ts
|
|
6
6
|
declare const icons: {
|
|
7
7
|
rotateLeft: import("vue/jsx-runtime").JSX.Element;
|
|
@@ -16,7 +16,8 @@ declare const icons: {
|
|
|
16
16
|
};
|
|
17
17
|
type OriginPreviewConfig = NonNullable<Exclude<PreviewGroupProps$1['preview'], boolean>>;
|
|
18
18
|
type GroupPreviewConfig = OriginPreviewConfig & DeprecatedPreviewConfig & {
|
|
19
|
-
/** @deprecated Use `onOpenChange` instead */
|
|
19
|
+
/** @deprecated Use `onOpenChange` instead */
|
|
20
|
+
onVisibleChange?: (visible: boolean, prevVisible: boolean, current: number) => void;
|
|
20
21
|
mask?: MaskType;
|
|
21
22
|
};
|
|
22
23
|
interface PreviewGroupProps extends Omit<PreviewGroupProps$1, 'preview' | 'styles'> {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { GroupPreviewConfig } from "../PreviewGroup.js";
|
|
2
2
|
import { PreviewConfig } from "../index.js";
|
|
3
3
|
import { Ref } from "vue";
|
|
4
|
-
|
|
5
4
|
//#region src/image/hooks/useMergedPreviewConfig.d.ts
|
|
6
5
|
declare function useMergedPreviewConfig<T extends PreviewConfig | GroupPreviewConfig>(previewConfig: Ref<T>, contextPreviewConfig: Ref<T>, prefixCls: Ref<string>, mergedRootClassName: Ref<string>, getContextPopupContainer: PreviewConfig['getContainer'], icons: Ref<PreviewConfig['icons']>, defaultCover?: Ref<any>): import("vue").ComputedRef<{
|
|
7
6
|
motionName: string;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
import { GroupPreviewConfig } from "../PreviewGroup.js";
|
|
2
2
|
import { PreviewConfig } from "../index.js";
|
|
3
3
|
import { Ref } from "vue";
|
|
4
|
-
|
|
5
4
|
//#region src/image/hooks/usePreviewConfig.d.ts
|
|
6
5
|
declare function usePreviewConfig<T extends PreviewConfig | GroupPreviewConfig>(preview: Ref<T | boolean | undefined>): import("vue").ComputedRef<({} | null)[] | readonly [{
|
|
7
6
|
readonly open: boolean | undefined;
|
|
8
7
|
readonly onOpenChange: ((value: boolean, info: {
|
|
9
8
|
current: number;
|
|
10
9
|
}) => void) | undefined;
|
|
11
|
-
readonly cover: string | number | boolean | import("vue").
|
|
10
|
+
readonly cover: string | number | boolean | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}> | import("vue").ComponentOptions<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, any, any, any, string, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions> | import("vue").FunctionalComponent<any, {}, any, {}> | {
|
|
12
13
|
new (...args: any[]): any;
|
|
13
14
|
__isFragment?: never;
|
|
14
15
|
__isTeleport?: never;
|
|
15
16
|
__isSuspense?: never;
|
|
16
|
-
} | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
17
|
-
[key: string]: any;
|
|
18
|
-
}> | (string | number | boolean | void | import("vue").Component | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
17
|
+
} | (string | number | boolean | void | import("vue").Component | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
19
18
|
[key: string]: any;
|
|
20
19
|
}> | null | undefined)[] | import("@v-c/image").CoverConfig | {
|
|
21
20
|
enabled?: boolean;
|
|
@@ -37,12 +36,12 @@ declare function usePreviewConfig<T extends PreviewConfig | GroupPreviewConfig>(
|
|
|
37
36
|
image: import("@v-c/image").ImgInfo;
|
|
38
37
|
}) => import("@v-c/util").VueNode;
|
|
39
38
|
readonly onChange?: (current: number, prevCurrent: number) => void;
|
|
40
|
-
readonly
|
|
41
|
-
readonly zIndex?: number;
|
|
39
|
+
readonly closeIcon?: import("@v-c/util").VueNode | boolean | null;
|
|
42
40
|
readonly focusTrap?: boolean;
|
|
41
|
+
readonly afterOpenChange?: (open: boolean) => void;
|
|
43
42
|
readonly maskClosable?: boolean;
|
|
43
|
+
readonly zIndex?: number;
|
|
44
44
|
readonly getContainer?: import("@v-c/portal/dist/Portal.js").PortalProps["getContainer"];
|
|
45
|
-
readonly closeIcon?: import("@v-c/util").VueNode | boolean | null;
|
|
46
45
|
readonly motionName?: string;
|
|
47
46
|
readonly src?: string;
|
|
48
47
|
readonly alt?: string;
|
package/dist/image/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { MaskType } from "../_util/hooks/useMergedMask.js";
|
|
2
2
|
import { VueNode } from "../_util/type.js";
|
|
3
3
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
4
|
+
import "../_util/hooks/index.js";
|
|
4
5
|
import InternalPreviewGroup, { PreviewGroupProps as PreviewGroupProps$1 } from "./PreviewGroup.js";
|
|
5
6
|
import { CSSProperties, SlotsType } from "vue";
|
|
6
7
|
import { ImageProps as ImageProps$1 } from "@v-c/image";
|
|
7
|
-
|
|
8
8
|
//#region src/image/index.d.ts
|
|
9
9
|
type OriginPreviewConfig = NonNullable<Exclude<ImageProps$1['preview'], boolean>>;
|
|
10
10
|
interface DeprecatedPreviewConfig {
|
|
@@ -65,7 +65,9 @@ type ImageStylesType = SemanticStylesType<ImageProps, ImageSemanticStyles, {
|
|
|
65
65
|
popup?: ImagePopupSemanticStyles;
|
|
66
66
|
}>;
|
|
67
67
|
type PreviewConfig = OriginPreviewConfig & DeprecatedPreviewConfig & {
|
|
68
|
-
/** @deprecated Use `onOpenChange` instead */
|
|
68
|
+
/** @deprecated Use `onOpenChange` instead */
|
|
69
|
+
onVisibleChange?: (visible: boolean, prevVisible: boolean) => void;
|
|
70
|
+
/** @deprecated Use `classNames.cover` instead */
|
|
69
71
|
maskClassName?: string;
|
|
70
72
|
mask?: MaskType | VueNode;
|
|
71
73
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FullToken, GetDefaultToken } from "../../theme/interface/cssinjs-utils.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/image/style/index.d.ts
|
|
6
6
|
interface ComponentToken {
|
|
7
7
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -154,9 +154,9 @@ import Typography, { TypographyLink, TypographyParagraph, TypographyText, Typogr
|
|
|
154
154
|
import { DraggerProps } from "./upload/Dragger.js";
|
|
155
155
|
import Upload, { UploadDragger, UploadProps } from "./upload/index.js";
|
|
156
156
|
import Watermark, { WatermarkProps } from "./watermark/index.js";
|
|
157
|
+
import "./components.js";
|
|
157
158
|
import { App, Plugin } from "vue";
|
|
158
159
|
import { StyleProvider } from "@antdv-next/cssinjs";
|
|
159
|
-
|
|
160
160
|
//#region src/index.d.ts
|
|
161
161
|
declare function setPrefix(newPrefix: string): void;
|
|
162
162
|
declare function install(app: App): void;
|
package/dist/input/Group.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ import { EmptyEmit } from "../_util/type.js";
|
|
|
2
2
|
import { SizeType } from "../config-provider/SizeContext.js";
|
|
3
3
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
4
4
|
import { SlotsType } from "vue";
|
|
5
|
-
|
|
6
5
|
//#region src/input/Group.d.ts
|
|
7
6
|
interface InputGroupProps extends ComponentBaseProps {
|
|
8
7
|
size?: SizeType;
|
package/dist/input/Input.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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 { InputStatus } from "../_util/statusUtils.js";
|
|
5
6
|
import { ComponentBaseProps, Variant } from "../config-provider/context.js";
|
|
6
7
|
import { CSSProperties, SlotsType } from "vue";
|
|
7
8
|
import { InputProps as InputProps$1, InputRef as InputRef$1 } from "@v-c/input";
|
|
8
|
-
|
|
9
9
|
//#region src/input/Input.d.ts
|
|
10
10
|
type InputSemanticName = keyof InputSemanticClassNames & keyof InputSemanticStyles;
|
|
11
11
|
interface InputSemanticClassNames {
|
|
@@ -5,6 +5,7 @@ import { clsx } from "@v-c/util";
|
|
|
5
5
|
import raf from "@v-c/util/dist/raf";
|
|
6
6
|
import { omit } from "es-toolkit";
|
|
7
7
|
//#region src/input/OTP/OTPInput.tsx
|
|
8
|
+
const DEFAULT_MASK_VALUE = "•";
|
|
8
9
|
const OTPInput = /* @__PURE__ */ defineComponent((props, { attrs, expose, slots }) => {
|
|
9
10
|
const inputRef = shallowRef();
|
|
10
11
|
expose({
|
|
@@ -37,17 +38,16 @@ const OTPInput = /* @__PURE__ */ defineComponent((props, { attrs, expose, slots
|
|
|
37
38
|
"onActiveChange",
|
|
38
39
|
"mask"
|
|
39
40
|
]);
|
|
40
|
-
const maskValue = typeof props.mask === "string" ? props.mask : props.value;
|
|
41
41
|
return () => createVNode("span", {
|
|
42
42
|
"class": `${props.prefixCls}-input-wrapper`,
|
|
43
43
|
"role": "presentation"
|
|
44
44
|
}, [props.mask && props.value !== "" && props.value !== void 0 && createVNode("span", {
|
|
45
45
|
"class": `${props.prefixCls}-mask-icon`,
|
|
46
46
|
"aria-hidden": "true"
|
|
47
|
-
}, [
|
|
47
|
+
}, [typeof props.mask === "string" ? props.mask : DEFAULT_MASK_VALUE]), createVNode(InternalInput, mergeProps(restAttrs, restInputProps, {
|
|
48
48
|
"ref": inputRef,
|
|
49
49
|
"value": props.value,
|
|
50
|
-
"type": props.
|
|
50
|
+
"type": props.type ?? (props.mask ? "password" : "text"),
|
|
51
51
|
"class": clsx(className, { [`${props.prefixCls}-mask-input`]: props.mask }),
|
|
52
52
|
"style": style,
|
|
53
53
|
"onChange": handleChange,
|
|
@@ -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 { InputStatus } from "../../_util/statusUtils.js";
|
|
5
6
|
import { ComponentBaseProps, Variant } from "../../config-provider/context.js";
|
|
6
7
|
import { CSSProperties, HTMLAttributes, SlotsType } from "vue";
|
|
7
|
-
|
|
8
8
|
//#region src/input/OTP/index.d.ts
|
|
9
9
|
interface OTPSemanticClassNames {
|
|
10
10
|
root?: string;
|
package/dist/input/OTP/index.js
CHANGED
|
@@ -34,7 +34,8 @@ const OTP = /* @__PURE__ */ defineComponent((props, { attrs, emit, slots }) => {
|
|
|
34
34
|
const [mergedClassNames, mergedStyles] = useMergeSemantic(useToArr(contextClassNames, classes), useToArr(contextStyles, contextStyleRoot, styles), useToProps(mergedProps));
|
|
35
35
|
const inputRefs = shallowRef({});
|
|
36
36
|
const internalFormatter = (txt) => props.formatter ? props.formatter(txt) : txt;
|
|
37
|
-
const
|
|
37
|
+
const initialValue = internalFormatter(props.value ?? props.defaultValue ?? "");
|
|
38
|
+
const valueCells = shallowRef(strToArr(initialValue));
|
|
38
39
|
watch(() => props.value, (newValue) => {
|
|
39
40
|
valueCells.value = strToArr(internalFormatter(newValue ?? ""));
|
|
40
41
|
});
|
|
@@ -56,7 +57,8 @@ const OTP = /* @__PURE__ */ defineComponent((props, { attrs, emit, slots }) => {
|
|
|
56
57
|
if (nextCells[i]) break;
|
|
57
58
|
nextCells.pop();
|
|
58
59
|
}
|
|
59
|
-
|
|
60
|
+
const formattedValue = internalFormatter(nextCells.map((cell) => cell || " ").join(""));
|
|
61
|
+
return strToArr(formattedValue).map((cell, i) => {
|
|
60
62
|
if (cell === " " && !nextCells[i]) return nextCells[i];
|
|
61
63
|
return cell;
|
|
62
64
|
});
|
package/dist/input/Password.d.ts
CHANGED
package/dist/input/Search.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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 { InputEmits, InputProps, InputRef } from "./Input.js";
|
|
5
6
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
6
7
|
import { ButtonSemanticClassNames, ButtonSemanticStyles } from "../button/Button.js";
|
|
7
8
|
import { CSSProperties, SlotsType } from "vue";
|
|
8
|
-
|
|
9
9
|
//#region src/input/Search.d.ts
|
|
10
10
|
type InputSearchSemanticName = keyof InputSearchSemanticClassNames & keyof InputSearchSemanticStyles;
|
|
11
11
|
interface InputSearchSemanticClassNames {
|
package/dist/input/TextArea.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import "../_util/hooks/index.js";
|
|
2
3
|
import { SizeType } from "../config-provider/SizeContext.js";
|
|
3
4
|
import { InputStatus } from "../_util/statusUtils.js";
|
|
4
5
|
import { ComponentBaseProps, Variant } from "../config-provider/context.js";
|
|
5
6
|
import { CSSProperties, SlotsType } from "vue";
|
|
6
7
|
import { InputProps } from "@v-c/input";
|
|
7
8
|
import { TextAreaProps as TextAreaProps$1, TextAreaRef as TextAreaRef$1 } from "@v-c/textarea";
|
|
8
|
-
|
|
9
9
|
//#region src/input/TextArea.d.ts
|
|
10
10
|
type TextAreaSemanticName = keyof TextAreaSemanticClassNames & keyof TextAreaSemanticStyles;
|
|
11
11
|
interface TextAreaSemanticClassNames {
|