antdv-next 1.2.2 → 1.3.0
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 +2 -2
- package/dist/_util/ContextIsolator.d.ts +3 -3
- package/dist/_util/PurePanel.d.ts +3 -3
- package/dist/_util/hooks/useClosable.d.ts +7 -7
- package/dist/_util/hooks/useMergeSemantic.d.ts +4 -4
- package/dist/_util/hooks/useMergedMask.d.ts +3 -3
- package/dist/_util/instance.d.ts +2 -2
- package/dist/_util/responsiveObserver.d.ts +2 -2
- package/dist/_util/statusUtils.d.ts +1 -1
- package/dist/_util/vueNode.d.ts +4 -9
- package/dist/_util/wave/WaveEffect.d.ts +5 -5
- package/dist/_util/wave/index.d.ts +2 -2
- package/dist/_util/wave/style.d.ts +2 -2
- package/dist/_util/wave/util.d.ts +1 -1
- package/dist/_util/wave/util.js +1 -1
- package/dist/_util/zindexContext.d.ts +2 -2
- package/dist/affix/index.d.ts +3 -3
- package/dist/affix/style/index.d.ts +2 -2
- package/dist/alert/Alert.d.ts +17 -10
- package/dist/alert/Alert.js +9 -3
- package/dist/alert/style/index.d.ts +3 -3
- package/dist/anchor/Anchor.d.ts +3 -3
- package/dist/anchor/Anchor.js +2 -2
- package/dist/anchor/AnchorLink.d.ts +9 -4
- package/dist/anchor/AnchorLink.js +5 -1
- package/dist/anchor/style/index.d.ts +2 -2
- package/dist/antd-with-locales.esm.js +14614 -14290
- package/dist/antd-with-locales.js +73 -80
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +10754 -10431
- package/dist/antd.js +70 -77
- package/dist/app/App.d.ts +2 -2
- package/dist/app/App.js +6 -1
- package/dist/app/context.d.ts +2 -2
- package/dist/app/style/index.d.ts +2 -2
- package/dist/auto-complete/index.d.ts +6 -6
- package/dist/auto-complete/index.js +1 -1
- package/dist/avatar/Avatar.d.ts +5 -5
- package/dist/avatar/AvatarGroup.d.ts +2 -2
- package/dist/avatar/style/index.d.ts +3 -3
- package/dist/badge/Ribbon.d.ts +4 -4
- package/dist/badge/ScrollNumber.d.ts +2 -2
- package/dist/badge/SingleNumber.d.ts +2 -2
- package/dist/badge/index.d.ts +6 -6
- package/dist/badge/style/index.d.ts +7 -2
- package/dist/badge/style/index.js +4 -3
- package/dist/badge/style/ribbon.d.ts +2 -2
- package/dist/border-beam/BorderBeam.d.ts +19 -0
- package/dist/border-beam/BorderBeam.js +82 -0
- package/dist/border-beam/hooks/useBorderSize.d.ts +12 -0
- package/dist/border-beam/hooks/useBorderSize.js +42 -0
- package/dist/border-beam/index.d.ts +3 -0
- package/dist/border-beam/index.js +7 -0
- package/dist/border-beam/style/index.d.ts +7 -0
- package/dist/border-beam/style/index.js +59 -0
- package/dist/border-beam/util.d.ts +11 -0
- package/dist/border-beam/util.js +35 -0
- package/dist/breadcrumb/Breadcrumb.d.ts +7 -7
- package/dist/breadcrumb/BreadcrumbItem.d.ts +7 -7
- package/dist/breadcrumb/BreadcrumbSeparator.d.ts +2 -2
- package/dist/breadcrumb/style/index.d.ts +2 -2
- package/dist/breadcrumb/useItemRender.d.ts +2 -2
- package/dist/button/Button.d.ts +4 -4
- package/dist/button/Button.js +1 -0
- package/dist/button/DefaultLoadingIcon.d.ts +2 -2
- package/dist/button/IconWrapper.d.ts +2 -2
- package/dist/button/buttonHelper.d.ts +1 -1
- package/dist/button/style/compact.d.ts +4 -4
- package/dist/button/style/index.d.ts +2 -2
- package/dist/button/style/index.js +5 -0
- package/dist/calendar/Header.d.ts +2 -2
- package/dist/calendar/generateCalendar.d.ts +12 -10
- package/dist/calendar/generateCalendar.js +8 -2
- package/dist/calendar/index.d.ts +2 -2
- package/dist/calendar/style/index.d.ts +2 -2
- package/dist/card/Card.d.ts +11 -11
- package/dist/card/CardGrid.d.ts +2 -2
- package/dist/card/CardMeta.d.ts +6 -6
- package/dist/card/style/index.d.ts +2 -2
- package/dist/carousel/index.d.ts +5 -5
- package/dist/carousel/style/index.d.ts +2 -2
- package/dist/cascader/Panel.d.ts +2 -2
- package/dist/cascader/hooks/useBase.d.ts +5 -5
- package/dist/cascader/hooks/useCheckable.d.ts +2 -2
- package/dist/cascader/index.d.ts +4 -4
- package/dist/cascader/index.js +11 -2
- package/dist/cascader/style/index.d.ts +2 -2
- package/dist/cascader/style/panel.d.ts +2 -2
- package/dist/checkbox/Checkbox.d.ts +2 -2
- package/dist/checkbox/Group.d.ts +4 -4
- package/dist/checkbox/style/index.d.ts +4 -4
- package/dist/collapse/Collapse.d.ts +5 -5
- package/dist/collapse/CollapsePanel.d.ts +5 -5
- package/dist/collapse/style/index.d.ts +2 -2
- package/dist/color-picker/ColorPicker.d.ts +2 -2
- package/dist/color-picker/ColorPickerPanel.d.ts +2 -2
- package/dist/color-picker/components/ColorAlphaInput.d.ts +2 -2
- package/dist/color-picker/components/ColorClear.d.ts +2 -2
- package/dist/color-picker/components/ColorHexInput.d.ts +2 -2
- package/dist/color-picker/components/ColorHsbInput.d.ts +2 -2
- package/dist/color-picker/components/ColorInput.d.ts +2 -2
- package/dist/color-picker/components/ColorPresets.d.ts +2 -2
- package/dist/color-picker/components/ColorRgbInput.d.ts +2 -2
- package/dist/color-picker/components/ColorSlider.d.ts +3 -3
- package/dist/color-picker/components/ColorSteppers.d.ts +2 -2
- package/dist/color-picker/components/ColorTrigger.d.ts +2 -2
- package/dist/color-picker/components/PanelPicker/GradientColorBar.d.ts +2 -2
- package/dist/color-picker/components/PanelPicker/index.d.ts +2 -2
- package/dist/color-picker/components/PanelPresets.d.ts +2 -2
- package/dist/color-picker/context.d.ts +3 -3
- package/dist/color-picker/hooks/useModeColor.d.ts +4 -4
- package/dist/color-picker/interface.d.ts +2 -2
- package/dist/color-picker/style/index.d.ts +2 -2
- package/dist/components.d.ts +4 -1
- package/dist/components.js +3 -1
- package/dist/config-provider/DisabledContext.d.ts +2 -2
- package/dist/config-provider/SizeContext.d.ts +2 -2
- package/dist/config-provider/context.d.ts +67 -34
- package/dist/config-provider/defaultRenderEmpty.d.ts +2 -2
- package/dist/config-provider/hooks/useCSSVarCls.d.ts +2 -2
- package/dist/config-provider/hooks/useConfig.d.ts +3 -3
- package/dist/config-provider/hooks/useSize.d.ts +2 -2
- package/dist/config-provider/hooks/useTheme.d.ts +2 -2
- package/dist/config-provider/index.d.ts +4 -4
- package/dist/config-provider/index.js +2 -0
- package/dist/date-picker/PickerButton.d.ts +2 -2
- package/dist/date-picker/generatePicker/SuffixIcon.d.ts +5 -5
- package/dist/date-picker/generatePicker/SuffixIcon.js +1 -1
- package/dist/date-picker/generatePicker/generateRangePicker.d.ts +4 -4
- package/dist/date-picker/generatePicker/generateSinglePicker.d.ts +9 -9
- package/dist/date-picker/generatePicker/generateSinglePicker.js +4 -0
- package/dist/date-picker/generatePicker/index.d.ts +8 -8
- package/dist/date-picker/generatePicker/useComponents.d.ts +11 -11
- package/dist/date-picker/index.d.ts +13 -13
- package/dist/date-picker/style/index.d.ts +2 -2
- package/dist/date-picker/style/index.js +13 -3
- package/dist/date-picker/util.d.ts +3 -3
- package/dist/descriptions/Cell.d.ts +5 -5
- package/dist/descriptions/Item.d.ts +5 -5
- package/dist/descriptions/Row.d.ts +2 -2
- package/dist/descriptions/Row.js +3 -3
- package/dist/descriptions/hooks/useItems.d.ts +13 -13
- package/dist/descriptions/hooks/useRow.d.ts +2 -2
- package/dist/descriptions/index.d.ts +5 -5
- package/dist/descriptions/style/index.d.ts +2 -2
- package/dist/divider/index.d.ts +2 -2
- package/dist/divider/style/index.d.ts +2 -2
- package/dist/drawer/DrawerPanel.d.ts +7 -7
- package/dist/drawer/index.d.ts +3 -3
- package/dist/drawer/index.js +5 -2
- package/dist/drawer/style/index.d.ts +2 -2
- package/dist/drawer/useFocusable.d.ts +2 -2
- package/dist/dropdown/dropdown.d.ts +2 -2
- package/dist/dropdown/style/index.d.ts +2 -2
- package/dist/dropdown/style/index.js +1 -1
- package/dist/empty/empty.d.ts +2 -2
- package/dist/empty/index.d.ts +8 -8
- package/dist/empty/simple.d.ts +2 -2
- package/dist/empty/style/index.d.ts +2 -2
- package/dist/flex/index.d.ts +2 -2
- package/dist/flex/style/index.d.ts +2 -2
- package/dist/float-button/BackTop.d.ts +2 -2
- package/dist/float-button/BackTop.js +5 -0
- package/dist/float-button/FloatButton.d.ts +8 -7
- package/dist/float-button/FloatButton.js +6 -0
- package/dist/float-button/FloatButtonGroup.d.ts +4 -4
- package/dist/float-button/FloatButtonGroup.js +5 -0
- package/dist/float-button/PurePanel.d.ts +2 -2
- package/dist/float-button/PurePanel.js +10 -0
- package/dist/float-button/context.d.ts +3 -3
- package/dist/float-button/style/index.d.ts +2 -2
- package/dist/form/ErrorList.d.ts +8 -4
- package/dist/form/ErrorList.js +13 -2
- package/dist/form/Form.d.ts +9 -2
- package/dist/form/Form.js +10 -4
- package/dist/form/FormItem/ItemHolder.d.ts +3 -3
- package/dist/form/FormItem/StatusProvider.d.ts +2 -2
- package/dist/form/FormItem/index.d.ts +2 -2
- package/dist/form/FormItemInput.d.ts +6 -6
- package/dist/form/FormItemInput.js +6 -2
- package/dist/form/FormItemLabel.d.ts +7 -7
- package/dist/form/context.d.ts +7 -7
- package/dist/form/hooks/useVariant.d.ts +2 -2
- package/dist/form/style/fallbackCmp.d.ts +4 -4
- package/dist/form/style/index.d.ts +2 -2
- package/dist/grid/col.d.ts +2 -2
- package/dist/grid/index.d.ts +2 -2
- package/dist/grid/row.d.ts +2 -2
- package/dist/grid/style/index.d.ts +3 -3
- package/dist/image/PreviewGroup.d.ts +12 -12
- package/dist/image/hooks/useMergedPreviewConfig.d.ts +6 -6
- package/dist/image/hooks/usePreviewConfig.d.ts +10 -10
- package/dist/image/index.d.ts +12 -5
- package/dist/image/style/index.d.ts +2 -2
- package/dist/index.d.ts +3 -1
- package/dist/index.js +2 -1
- package/dist/input/Group.d.ts +3 -3
- package/dist/input/Input.d.ts +10 -7
- package/dist/input/Input.js +8 -2
- package/dist/input/OTP/OTPInput.d.ts +3 -3
- package/dist/input/OTP/OTPInput.js +4 -0
- package/dist/input/OTP/index.d.ts +4 -4
- package/dist/input/Password.d.ts +4 -4
- package/dist/input/Password.js +4 -0
- package/dist/input/Search.d.ts +14 -4
- package/dist/input/Search.js +19 -2
- package/dist/input/TextArea.d.ts +2 -2
- package/dist/input/index.d.ts +6 -6
- package/dist/input/style/index.d.ts +3 -3
- package/dist/input/style/otp.d.ts +2 -2
- package/dist/input/style/search.d.ts +2 -2
- package/dist/input/style/textarea.d.ts +2 -2
- package/dist/input/style/variants.js +14 -8
- package/dist/input-number/index.d.ts +9 -9
- package/dist/input-number/style/index.d.ts +2 -2
- package/dist/layout/Sider.d.ts +2 -2
- package/dist/layout/index.d.ts +5 -5
- package/dist/layout/layout.d.ts +5 -5
- package/dist/layout/style/index.d.ts +2 -2
- package/dist/layout/style/sider.d.ts +2 -2
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/useLocale.d.ts +2 -2
- package/dist/masonry/Masonry.d.ts +3 -3
- package/dist/masonry/MasonryItem.d.ts +4 -4
- package/dist/masonry/hooks/usePositions.d.ts +2 -2
- package/dist/masonry/style/index.d.ts +2 -2
- package/dist/mentions/index.d.ts +6 -6
- package/dist/mentions/index.js +7 -1
- package/dist/mentions/style/index.d.ts +2 -2
- package/dist/menu/MenuContext.d.ts +3 -3
- package/dist/menu/MenuDivider.d.ts +2 -2
- package/dist/menu/MenuItem.d.ts +5 -5
- package/dist/menu/MenuItemGroup.d.ts +4 -4
- package/dist/menu/OverrideContext.d.ts +5 -5
- package/dist/menu/SubMenu.d.ts +4 -4
- package/dist/menu/index.d.ts +3 -3
- package/dist/menu/menu.d.ts +2 -2
- package/dist/menu/style/index.d.ts +2 -2
- package/dist/menu/style/index.js +11 -3
- package/dist/menu/style/vertical.js +2 -1
- package/dist/message/PureList.d.ts +28 -0
- package/dist/message/PureList.js +75 -0
- package/dist/message/PurePanel.d.ts +17 -9
- package/dist/message/PurePanel.js +33 -38
- package/dist/message/index.d.ts +3 -0
- package/dist/message/index.js +3 -1
- package/dist/message/interface.d.ts +11 -5
- package/dist/message/style/index.d.ts +12 -6
- package/dist/message/style/index.js +102 -98
- package/dist/message/useMessage.d.ts +3 -3
- package/dist/message/useMessage.js +18 -14
- package/dist/message/util.js +1 -1
- package/dist/modal/ConfirmDialog.d.ts +4 -4
- package/dist/modal/Modal.d.ts +2 -2
- package/dist/modal/Modal.js +7 -3
- package/dist/modal/PurePanel.d.ts +2 -2
- package/dist/modal/components/ConfirmCancelBtn.d.ts +4 -4
- package/dist/modal/components/ConfirmOkBtn.d.ts +4 -4
- package/dist/modal/components/NormalCancelBtn.d.ts +4 -4
- package/dist/modal/components/NormalOkBtn.d.ts +4 -4
- package/dist/modal/interface.d.ts +22 -14
- package/dist/modal/shared.d.ts +4 -4
- package/dist/modal/style/confirm.d.ts +4 -4
- package/dist/modal/style/index.d.ts +4 -4
- package/dist/modal/useModal/HookModal.d.ts +3 -3
- package/dist/notification/PureList.d.ts +32 -0
- package/dist/notification/PureList.js +72 -0
- package/dist/notification/PurePanel.d.ts +16 -13
- package/dist/notification/PurePanel.js +42 -19
- package/dist/notification/index.d.ts +3 -0
- package/dist/notification/index.js +3 -1
- package/dist/notification/interface.d.ts +8 -8
- package/dist/notification/style/index.d.ts +27 -26
- package/dist/notification/style/index.js +104 -174
- package/dist/notification/style/notification.d.ts +23 -0
- package/dist/notification/style/notification.js +195 -0
- package/dist/notification/style/placement.d.ts +1 -0
- package/dist/notification/style/placement.js +125 -60
- package/dist/notification/useNotification.d.ts +3 -3
- package/dist/notification/useNotification.js +22 -14
- package/dist/notification/util.d.ts +14 -4
- package/dist/notification/util.js +18 -52
- package/dist/package.js +1 -1
- package/dist/package.json.d.ts +12 -12
- package/dist/pagination/Pagination.d.ts +2 -2
- package/dist/pagination/interface.d.ts +7 -7
- package/dist/pagination/style/bordered.d.ts +4 -4
- package/dist/pagination/style/index.d.ts +2 -2
- package/dist/popconfirm/PurePanel.d.ts +6 -7
- package/dist/popconfirm/PurePanel.js +4 -1
- package/dist/popconfirm/index.d.ts +16 -12
- package/dist/popconfirm/style/index.d.ts +2 -2
- package/dist/popover/PurePanel.d.ts +7 -7
- package/dist/popover/index.d.ts +5 -5
- package/dist/popover/style/index.d.ts +2 -2
- package/dist/progress/Circle.d.ts +3 -3
- package/dist/progress/Line.d.ts +3 -3
- package/dist/progress/Steps.d.ts +2 -2
- package/dist/progress/progress.d.ts +2 -2
- package/dist/progress/style/index.d.ts +2 -2
- package/dist/qrcode/QrcodeStatus.d.ts +2 -2
- package/dist/qrcode/index.d.ts +2 -2
- package/dist/qrcode/style/index.d.ts +2 -2
- package/dist/radio/group.d.ts +2 -2
- package/dist/radio/index.d.ts +3 -3
- package/dist/radio/radio.d.ts +2 -2
- package/dist/radio/radioButton.d.ts +2 -2
- package/dist/radio/style/index.d.ts +2 -2
- package/dist/rate/index.d.ts +2 -2
- package/dist/rate/style/index.d.ts +2 -2
- package/dist/result/index.d.ts +7 -7
- package/dist/result/noFound.d.ts +2 -2
- package/dist/result/serverError.d.ts +2 -2
- package/dist/result/style/index.d.ts +4 -4
- package/dist/result/style/index.js +1 -1
- package/dist/result/unauthorized.d.ts +2 -2
- package/dist/segmented/index.d.ts +4 -4
- package/dist/segmented/index.js +1 -1
- package/dist/segmented/style/index.d.ts +2 -2
- package/dist/select/index.d.ts +8 -8
- package/dist/select/index.js +1 -1
- package/dist/select/style/dropdown.js +1 -1
- package/dist/select/style/index.d.ts +2 -2
- package/dist/select/style/select-input.js +10 -5
- package/dist/select/useIcons.d.ts +5 -5
- package/dist/select/usePopupRender.d.ts +2 -2
- package/dist/skeleton/Avatar.d.ts +2 -2
- package/dist/skeleton/Button.d.ts +2 -2
- package/dist/skeleton/Element.d.ts +2 -2
- package/dist/skeleton/Image.d.ts +2 -2
- package/dist/skeleton/Input.d.ts +2 -2
- package/dist/skeleton/Node.d.ts +2 -2
- package/dist/skeleton/Paragraph.d.ts +2 -2
- package/dist/skeleton/Skeleton.d.ts +2 -2
- package/dist/skeleton/Title.d.ts +2 -2
- package/dist/skeleton/style/index.d.ts +2 -2
- package/dist/slider/SliderTooltip.d.ts +3 -3
- package/dist/slider/index.d.ts +2 -2
- package/dist/slider/style/index.d.ts +2 -2
- package/dist/space/Addon.d.ts +2 -2
- package/dist/space/Compact.d.ts +6 -6
- package/dist/space/Item.d.ts +2 -2
- package/dist/space/index.d.ts +6 -6
- package/dist/space/style/addon.d.ts +2 -2
- package/dist/space/style/compact.d.ts +2 -2
- package/dist/space/style/index.d.ts +16 -3
- package/dist/spin/Indicator/Looper.d.ts +2 -2
- package/dist/spin/Indicator/Progress.d.ts +2 -2
- package/dist/spin/Indicator/index.d.ts +4 -4
- package/dist/spin/index.d.ts +7 -7
- package/dist/spin/style/index.d.ts +2 -2
- package/dist/spin/usePercent.d.ts +2 -2
- package/dist/splitter/Panel.d.ts +3 -3
- package/dist/splitter/Panel.js +14 -3
- package/dist/splitter/SplitBar.d.ts +2 -2
- package/dist/splitter/Splitter.d.ts +2 -2
- package/dist/splitter/Splitter.js +8 -2
- package/dist/splitter/hooks/useResizable.d.ts +2 -2
- package/dist/splitter/hooks/useResize.d.ts +2 -2
- package/dist/splitter/hooks/useSizes.d.ts +2 -2
- package/dist/splitter/index.d.ts +2 -2
- package/dist/splitter/interface.d.ts +21 -4
- package/dist/splitter/style/index.d.ts +2 -2
- package/dist/statistic/Number.d.ts +2 -2
- package/dist/statistic/Statistic.d.ts +6 -6
- package/dist/statistic/Timer.d.ts +2 -2
- package/dist/statistic/index.d.ts +2 -2
- package/dist/statistic/style/index.d.ts +3 -3
- package/dist/steps/PanelArrow.d.ts +2 -2
- package/dist/steps/ProgressIcon.d.ts +2 -2
- package/dist/steps/index.d.ts +8 -8
- package/dist/steps/style/index.d.ts +3 -3
- package/dist/style/compact-item-vertical.js +2 -1
- package/dist/style/compact-item.js +6 -6
- package/dist/switch/index.d.ts +5 -5
- package/dist/switch/style/index.d.ts +2 -2
- package/dist/table/Column.d.ts +2 -2
- package/dist/table/ColumnGroup.d.ts +2 -2
- package/dist/table/ExpandIcon.d.ts +2 -2
- package/dist/table/InternalTable.d.ts +2 -2
- package/dist/table/InternalTable.js +6 -4
- package/dist/table/TableMeasureRowContext.d.ts +3 -3
- package/dist/table/hooks/useFilledColumns.d.ts +14 -0
- package/dist/table/hooks/useFilledColumns.js +41 -0
- package/dist/table/hooks/useFilter/FilterSearch.d.ts +2 -2
- package/dist/table/hooks/useFilter/FilterWrapper.d.ts +3 -3
- package/dist/table/hooks/useFilter/index.d.ts +21 -21
- package/dist/table/hooks/usePagination.d.ts +2 -2
- package/dist/table/hooks/useSelection.d.ts +2 -2
- package/dist/table/hooks/useSorter.d.ts +2 -2
- package/dist/table/style/index.d.ts +2 -2
- package/dist/tabs/TabPane.d.ts +2 -2
- package/dist/tabs/hooks/useLegacyItems.d.ts +2 -2
- package/dist/tabs/index.d.ts +9 -7
- package/dist/tabs/style/index.d.ts +2 -2
- package/dist/tag/CheckableTag.d.ts +4 -4
- package/dist/tag/CheckableTagGroup.d.ts +4 -4
- package/dist/tag/hooks/useColor.d.ts +2 -2
- package/dist/tag/index.d.ts +7 -5
- package/dist/tag/index.js +7 -2
- package/dist/tag/style/index.d.ts +2 -2
- package/dist/tag/style/presetCmp.d.ts +4 -4
- package/dist/tag/style/statusCmp.d.ts +4 -4
- package/dist/theme/context.d.ts +2 -2
- package/dist/theme/index.d.ts +4 -4
- package/dist/theme/interface/alias.d.ts +14 -0
- package/dist/theme/interface/components.d.ts +118 -116
- package/dist/theme/interface/maps/colors.d.ts +14 -0
- package/dist/theme/interface/maps/font.d.ts +5 -5
- package/dist/theme/themes/default/theme.d.ts +2 -2
- package/dist/theme/themes/shared/genColorMapToken.js +2 -0
- package/dist/theme/useToken.js +1 -1
- package/dist/theme/util/alias.js +2 -0
- package/dist/theme/util/genStyleUtils.d.ts +6 -6
- package/dist/time-picker/index.d.ts +6 -6
- package/dist/time-picker/index.js +4 -0
- package/dist/timeline/Timeline.d.ts +11 -11
- package/dist/timeline/TimelineItem.d.ts +2 -2
- package/dist/timeline/style/index.d.ts +2 -2
- package/dist/tooltip/PurePanel.d.ts +2 -2
- package/dist/tooltip/UniqueProvider/MotionContent.d.ts +2 -2
- package/dist/tooltip/UniqueProvider/index.d.ts +2 -2
- package/dist/tooltip/index.d.ts +5 -5
- package/dist/tooltip/style/index.d.ts +2 -2
- package/dist/tour/PurePanel.d.ts +2 -2
- package/dist/tour/index.d.ts +2 -2
- package/dist/tour/index.js +5 -0
- package/dist/tour/interface.d.ts +6 -4
- package/dist/tour/panelRender.d.ts +2 -2
- package/dist/tour/panelRender.js +4 -9
- package/dist/tour/style/index.d.ts +2 -2
- package/dist/transfer/Actions.d.ts +4 -4
- package/dist/transfer/ListBody.d.ts +2 -2
- package/dist/transfer/ListItem.d.ts +4 -4
- package/dist/transfer/Section.d.ts +2 -2
- package/dist/transfer/Transfer.d.ts +2 -2
- package/dist/transfer/Transfer.js +34 -4
- package/dist/transfer/hooks/useData.d.ts +2 -2
- package/dist/transfer/interface.d.ts +47 -15
- package/dist/transfer/search.d.ts +4 -4
- package/dist/transfer/style/index.d.ts +2 -2
- package/dist/tree/DirectoryTree.d.ts +2 -2
- package/dist/tree/DirectoryTree.js +0 -4
- package/dist/tree/Tree.d.ts +10 -8
- package/dist/tree/Tree.js +0 -4
- package/dist/tree/style/index.d.ts +2 -2
- package/dist/tree/utils/dropIndicator.d.ts +2 -2
- package/dist/tree/utils/iconUtil.d.ts +4 -4
- package/dist/tree-select/index.d.ts +8 -6
- package/dist/tree-select/index.js +1 -1
- package/dist/tree-select/style/index.d.ts +2 -2
- package/dist/typography/Base/CopyBtn.d.ts +2 -2
- package/dist/typography/Base/Ellipsis.d.ts +5 -5
- package/dist/typography/Base/EllipsisTooltip.d.ts +2 -2
- package/dist/typography/Base/index.d.ts +2 -2
- package/dist/typography/Base/index.js +31 -26
- package/dist/typography/Editable.d.ts +11 -4
- package/dist/typography/Editable.js +18 -3
- package/dist/typography/Link.d.ts +2 -2
- package/dist/typography/Link.js +4 -0
- package/dist/typography/Paragraph.d.ts +2 -2
- package/dist/typography/Paragraph.js +4 -0
- package/dist/typography/Text.d.ts +2 -2
- package/dist/typography/Text.js +4 -0
- package/dist/typography/Title.d.ts +2 -2
- package/dist/typography/Title.js +4 -0
- package/dist/typography/Typography.d.ts +2 -2
- package/dist/typography/hooks/useCopyClick.d.ts +3 -3
- package/dist/typography/hooks/useMergedConfig.d.ts +2 -2
- package/dist/typography/hooks/useTooltipProps.d.ts +2 -2
- package/dist/typography/index.d.ts +5 -5
- package/dist/typography/interface.d.ts +25 -17
- package/dist/typography/style/index.d.ts +2 -2
- package/dist/upload/Dragger.d.ts +3 -3
- package/dist/upload/Upload.d.ts +2 -2
- package/dist/upload/UploadList/ListItem.d.ts +2 -2
- package/dist/upload/UploadList/index.d.ts +2 -2
- package/dist/upload/index.d.ts +3 -3
- package/dist/upload/style/index.d.ts +2 -2
- package/dist/upload/utils.js +1 -1
- package/dist/watermark/context.d.ts +2 -2
- package/dist/watermark/index.d.ts +2 -2
- package/dist/watermark/index.js +4 -3
- package/package.json +65 -29
- package/web-tags.json +1251 -1233
- package/web-types.json +3794 -3750
- package/dist/notification/style/pure-panel.d.ts +0 -12
- package/dist/notification/style/pure-panel.js +0 -18
- package/dist/notification/style/stack.d.ts +0 -9
- package/dist/notification/style/stack.js +0 -88
package/dist/empty/simple.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue655 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/empty/simple.d.ts
|
|
4
|
-
declare const Simple:
|
|
4
|
+
declare const Simple: vue655.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue655.PublicProps>;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { Simple as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue601 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/empty/style/index.d.ts
|
|
4
4
|
/** Component only token. Which will handle additional calculation of alias token */
|
|
5
5
|
interface ComponentToken {}
|
|
6
|
-
declare const _default: (prefixCls:
|
|
6
|
+
declare const _default: (prefixCls: vue601.Ref<string>, rootCls?: vue601.Ref<string | undefined>) => readonly [vue601.Ref<string, string>, vue601.ComputedRef<string | undefined>];
|
|
7
7
|
//#endregion
|
|
8
8
|
export { ComponentToken, _default as default };
|
package/dist/flex/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { EmptyEmit } from "../_util/type.js";
|
|
2
2
|
import { FlexProps } from "./interface.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue659 from "vue";
|
|
4
4
|
import { SlotsType } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/flex/index.d.ts
|
|
7
7
|
interface FlexSlots {
|
|
8
8
|
default: () => any;
|
|
9
9
|
}
|
|
10
|
-
declare const Flex:
|
|
10
|
+
declare const Flex: vue659.DefineSetupFnComponent<FlexProps, EmptyEmit, SlotsType<FlexSlots>, FlexProps, vue659.PublicProps>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { type FlexProps, FlexSlots, Flex as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FullToken, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue531 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/flex/style/index.d.ts
|
|
6
6
|
/** Component only token. Which will handle additional calculation of alias token */
|
|
@@ -29,6 +29,6 @@ interface FlexToken extends FullToken<'Flex'> {
|
|
|
29
29
|
flexGapLG: number;
|
|
30
30
|
}
|
|
31
31
|
declare const prepareComponentToken: GetDefaultToken<'Flex'>;
|
|
32
|
-
declare const _default: (prefixCls:
|
|
32
|
+
declare const _default: (prefixCls: vue531.Ref<string>, rootCls?: vue531.Ref<string | undefined>) => readonly [vue531.Ref<string, string>, vue531.ComputedRef<string | undefined>];
|
|
33
33
|
//#endregion
|
|
34
34
|
export { ComponentToken, FlexToken, _default as default, prepareComponentToken };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FloatButtonProps } from "./FloatButton.js";
|
|
2
2
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue765 from "vue";
|
|
4
4
|
import { SlotsType } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/float-button/BackTop.d.ts
|
|
@@ -19,7 +19,7 @@ interface BackTopSlots {
|
|
|
19
19
|
default?: () => any;
|
|
20
20
|
icon?: () => any;
|
|
21
21
|
}
|
|
22
|
-
declare const BackTop:
|
|
22
|
+
declare const BackTop: vue765.DefineSetupFnComponent<BackTopProps, BackTopEmits, SlotsType<BackTopSlots>, BackTopProps, vue765.PublicProps>;
|
|
23
23
|
declare const BackTopWithInstall: typeof BackTop;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { BackTopEmits, BackTopEmitsProps, BackTopProps, BackTopSlots, BackTopWithInstall as default };
|
|
@@ -166,6 +166,11 @@ const BackTopWithInstall = /* @__PURE__ */ defineComponent((props, { attrs, slot
|
|
|
166
166
|
type: Object,
|
|
167
167
|
required: false
|
|
168
168
|
},
|
|
169
|
+
disabled: {
|
|
170
|
+
type: Boolean,
|
|
171
|
+
required: false,
|
|
172
|
+
default: void 0
|
|
173
|
+
},
|
|
169
174
|
htmlType: {
|
|
170
175
|
type: String,
|
|
171
176
|
required: false
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VueNode } from "../_util/type.js";
|
|
1
|
+
import { VueNode as VueNode$1 } from "../_util/type.js";
|
|
2
2
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { TooltipProps } from "../tooltip/index.js";
|
|
@@ -7,7 +7,7 @@ import { ComponentBaseProps } from "../config-provider/context.js";
|
|
|
7
7
|
import { ButtonHTMLType } from "../button/buttonHelper.js";
|
|
8
8
|
import { ButtonSemanticClassNames, ButtonSemanticName, ButtonSemanticStyles } from "../button/Button.js";
|
|
9
9
|
import "../button/index.js";
|
|
10
|
-
import * as
|
|
10
|
+
import * as vue1041 from "vue";
|
|
11
11
|
import { CSSProperties, SlotsType } from "vue";
|
|
12
12
|
|
|
13
13
|
//#region src/float-button/FloatButton.d.ts
|
|
@@ -23,18 +23,19 @@ type FloatButtonSemanticName = ButtonSemanticName;
|
|
|
23
23
|
type FloatButtonClassNamesType = SemanticClassNamesType<FloatButtonProps, ButtonSemanticClassNames>;
|
|
24
24
|
type FloatButtonStylesType = SemanticStylesType<FloatButtonProps, ButtonSemanticStyles>;
|
|
25
25
|
interface FloatButtonProps extends ComponentBaseProps, FloatButtonEmitsProps {
|
|
26
|
-
icon?: VueNode;
|
|
26
|
+
icon?: VueNode$1;
|
|
27
27
|
/** @deprecated Use `content` instead */
|
|
28
|
-
description?: VueNode;
|
|
29
|
-
content?: VueNode;
|
|
28
|
+
description?: VueNode$1;
|
|
29
|
+
content?: VueNode$1;
|
|
30
30
|
type?: FloatButtonType;
|
|
31
31
|
shape?: FloatButtonShape;
|
|
32
|
-
tooltip?: VueNode | TooltipProps;
|
|
32
|
+
tooltip?: VueNode$1 | TooltipProps;
|
|
33
33
|
href?: string;
|
|
34
34
|
target?: '_self' | '_blank' | '_parent' | '_top' | string;
|
|
35
35
|
badge?: FloatButtonBadgeProps & {
|
|
36
36
|
class?: string;
|
|
37
37
|
};
|
|
38
|
+
disabled?: boolean;
|
|
38
39
|
htmlType?: ButtonHTMLType;
|
|
39
40
|
ariaLabel?: string;
|
|
40
41
|
style?: CSSProperties;
|
|
@@ -61,7 +62,7 @@ interface FloatButtonEmitsProps {
|
|
|
61
62
|
onBlur?: FloatButtonEmits['blur'];
|
|
62
63
|
}
|
|
63
64
|
declare const floatButtonPrefixCls = "float-btn";
|
|
64
|
-
declare const InternalFloatButton:
|
|
65
|
+
declare const InternalFloatButton: vue1041.DefineSetupFnComponent<FloatButtonProps, FloatButtonEmits, SlotsType<FloatButtonSlots>, FloatButtonProps, vue1041.PublicProps>;
|
|
65
66
|
declare const FloatButton: typeof InternalFloatButton;
|
|
66
67
|
//#endregion
|
|
67
68
|
export { FloatButtonBadgeProps, FloatButtonClassNamesType, FloatButtonElement, FloatButtonEmits, FloatButtonEmitsProps, FloatButtonGroupTrigger, FloatButtonProps, FloatButtonRef, FloatButtonSemanticName, FloatButtonShape, FloatButtonSlots, FloatButtonStylesType, FloatButtonType, FloatButton as default, floatButtonPrefixCls };
|
|
@@ -92,6 +92,7 @@ const FloatButton = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit
|
|
|
92
92
|
"icon": mergedIcon ? () => mergedIcon : void 0,
|
|
93
93
|
"htmlType": props.htmlType,
|
|
94
94
|
"aria-label": props.ariaLabel,
|
|
95
|
+
"disabled": props.disabled,
|
|
95
96
|
"_skipSemantic": true,
|
|
96
97
|
"onClick": (e) => emit("click", e),
|
|
97
98
|
"onMouseenter": (e) => emit("mouseenter", e),
|
|
@@ -172,6 +173,11 @@ const FloatButton = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit
|
|
|
172
173
|
type: Object,
|
|
173
174
|
required: false
|
|
174
175
|
},
|
|
176
|
+
disabled: {
|
|
177
|
+
type: Boolean,
|
|
178
|
+
required: false,
|
|
179
|
+
default: void 0
|
|
180
|
+
},
|
|
175
181
|
htmlType: {
|
|
176
182
|
type: String,
|
|
177
183
|
required: false
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { VueNode } from "../_util/type.js";
|
|
1
|
+
import { VueNode as VueNode$1 } from "../_util/type.js";
|
|
2
2
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { FloatButtonGroupTrigger, FloatButtonProps } from "./FloatButton.js";
|
|
5
5
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue679 from "vue";
|
|
7
7
|
import { CSSProperties, SlotsType } from "vue";
|
|
8
8
|
|
|
9
9
|
//#region src/float-button/FloatButtonGroup.d.ts
|
|
@@ -36,7 +36,7 @@ interface FloatButtonGroupProps extends Omit<FloatButtonProps, 'classes' | 'styl
|
|
|
36
36
|
trigger?: FloatButtonGroupTrigger;
|
|
37
37
|
open?: boolean;
|
|
38
38
|
defaultOpen?: boolean;
|
|
39
|
-
closeIcon?: VueNode;
|
|
39
|
+
closeIcon?: VueNode$1;
|
|
40
40
|
placement?: 'top' | 'left' | 'right' | 'bottom';
|
|
41
41
|
style?: CSSProperties;
|
|
42
42
|
}
|
|
@@ -55,7 +55,7 @@ interface FloatButtonGroupEmitsProps {
|
|
|
55
55
|
'onUpdate:open'?: FloatButtonGroupEmits['update:open'];
|
|
56
56
|
onClick?: FloatButtonGroupEmits['click'];
|
|
57
57
|
}
|
|
58
|
-
declare const InternalFloatButtonGroup:
|
|
58
|
+
declare const InternalFloatButtonGroup: vue679.DefineSetupFnComponent<FloatButtonGroupProps, FloatButtonGroupEmits, SlotsType<FloatButtonGroupSlots>, FloatButtonGroupProps, vue679.PublicProps>;
|
|
59
59
|
declare const FloatButtonGroup: typeof InternalFloatButtonGroup;
|
|
60
60
|
//#endregion
|
|
61
61
|
export { FloatButtonGroupClassNamesType, FloatButtonGroupEmits, FloatButtonGroupEmitsProps, FloatButtonGroupProps, FloatButtonGroupSemanticClassNames, FloatButtonGroupSemanticName, FloatButtonGroupSemanticStyles, FloatButtonGroupSlots, FloatButtonGroupStylesType, FloatButtonGroup as default };
|
|
@@ -305,6 +305,11 @@ const FloatButtonGroup = /* @__PURE__ */ defineComponent((props, { slots, attrs,
|
|
|
305
305
|
type: Object,
|
|
306
306
|
required: false
|
|
307
307
|
},
|
|
308
|
+
disabled: {
|
|
309
|
+
type: Boolean,
|
|
310
|
+
required: false,
|
|
311
|
+
default: void 0
|
|
312
|
+
},
|
|
308
313
|
htmlType: {
|
|
309
314
|
type: String,
|
|
310
315
|
required: false
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FloatButtonProps } from "./FloatButton.js";
|
|
2
2
|
import { FloatButtonGroupProps } from "./FloatButtonGroup.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue663 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/float-button/PurePanel.d.ts
|
|
6
6
|
interface PureFloatButtonProps extends Omit<FloatButtonProps, 'target'> {
|
|
@@ -14,6 +14,6 @@ interface PurePanelProps extends Omit<PureFloatButtonProps, 'classes' | 'styles'
|
|
|
14
14
|
classes?: ClassNamesType;
|
|
15
15
|
styles?: StylesType;
|
|
16
16
|
}
|
|
17
|
-
declare const PurePanel:
|
|
17
|
+
declare const PurePanel: vue663.DefineSetupFnComponent<PurePanelProps, {}, {}, PurePanelProps & {}, vue663.PublicProps>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { PureFloatButtonProps, PurePanelProps, PurePanel as default };
|
|
@@ -84,6 +84,11 @@ const PureFloatButton = /* @__PURE__ */ defineComponent((props, { slots, attrs }
|
|
|
84
84
|
type: Object,
|
|
85
85
|
required: false
|
|
86
86
|
},
|
|
87
|
+
disabled: {
|
|
88
|
+
type: Boolean,
|
|
89
|
+
required: false,
|
|
90
|
+
default: void 0
|
|
91
|
+
},
|
|
87
92
|
htmlType: {
|
|
88
93
|
type: String,
|
|
89
94
|
required: false
|
|
@@ -222,6 +227,11 @@ const PurePanel = /* @__PURE__ */ defineComponent((props, { attrs, slots }) => {
|
|
|
222
227
|
type: Object,
|
|
223
228
|
required: false
|
|
224
229
|
},
|
|
230
|
+
disabled: {
|
|
231
|
+
type: Boolean,
|
|
232
|
+
required: false,
|
|
233
|
+
default: void 0
|
|
234
|
+
},
|
|
225
235
|
htmlType: {
|
|
226
236
|
type: String,
|
|
227
237
|
required: false
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FloatButtonProps, FloatButtonShape } from "./FloatButton.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue661 from "vue";
|
|
3
3
|
import { Ref } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/float-button/context.d.ts
|
|
@@ -11,10 +11,10 @@ interface GroupContextProps {
|
|
|
11
11
|
}
|
|
12
12
|
declare function useGroupContext(): Ref<GroupContextProps | null, GroupContextProps | null> | undefined;
|
|
13
13
|
declare function useGroupContextProvider(value: Ref<GroupContextProps | null>): void;
|
|
14
|
-
declare const GroupContextProvider:
|
|
14
|
+
declare const GroupContextProvider: vue661.DefineSetupFnComponent<{
|
|
15
15
|
value: GroupContextProps;
|
|
16
16
|
}, {}, {}, {
|
|
17
17
|
value: GroupContextProps;
|
|
18
|
-
} & {},
|
|
18
|
+
} & {}, vue661.PublicProps>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { GroupContextProps, GroupContextProvider, useGroupContext, useGroupContextProvider };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FullToken, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue539 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/float-button/style/index.d.ts
|
|
6
6
|
/** Component only token. Which will handle additional calculation of alias token */
|
|
@@ -32,6 +32,6 @@ type FloatButtonToken = FullToken<'FloatButton'> & {
|
|
|
32
32
|
floatButtonInsetInlineEnd: number;
|
|
33
33
|
};
|
|
34
34
|
declare const prepareComponentToken: GetDefaultToken<'FloatButton'>;
|
|
35
|
-
declare const _default: (prefixCls:
|
|
35
|
+
declare const _default: (prefixCls: vue539.Ref<string>, rootCls?: vue539.Ref<string | undefined>) => readonly [vue539.Ref<string, string>, vue539.ComputedRef<string | undefined>];
|
|
36
36
|
//#endregion
|
|
37
37
|
export { ComponentToken, FloatButtonToken, _default as default, prepareComponentToken };
|
package/dist/form/ErrorList.d.ts
CHANGED
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
import { VueNode } from "../_util/type.js";
|
|
1
|
+
import { VueNode as VueNode$1 } from "../_util/type.js";
|
|
2
2
|
import { ValidateStatus } from "./FormItem/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue1059 from "vue";
|
|
4
|
+
import { CSSProperties } from "vue";
|
|
4
5
|
|
|
5
6
|
//#region src/form/ErrorList.d.ts
|
|
6
7
|
interface ErrorListProps {
|
|
7
8
|
fieldId?: string;
|
|
8
|
-
help?: VueNode;
|
|
9
|
+
help?: VueNode$1;
|
|
9
10
|
helpStatus?: ValidateStatus;
|
|
10
11
|
errors?: any[];
|
|
11
12
|
warnings?: any[];
|
|
12
13
|
onVisibleChanged?: (visible: boolean) => void;
|
|
14
|
+
/** ant-design 6.4 #57607: per-item class for each help/error line. */
|
|
15
|
+
helpItemClassName?: string;
|
|
16
|
+
helpItemStyle?: CSSProperties;
|
|
13
17
|
}
|
|
14
|
-
declare const ErrorList:
|
|
18
|
+
declare const ErrorList: vue1059.DefineSetupFnComponent<ErrorListProps, {}, {}, ErrorListProps & {}, vue1059.PublicProps>;
|
|
15
19
|
//#endregion
|
|
16
20
|
export { ErrorListProps, ErrorList as default };
|
package/dist/form/ErrorList.js
CHANGED
|
@@ -75,8 +75,11 @@ const ErrorList = /* @__PURE__ */ defineComponent((props, { attrs }) => {
|
|
|
75
75
|
const { key, error, errorStatus, class: itemClassName, style: itemStyle } = itemProps;
|
|
76
76
|
return createVNode("div", {
|
|
77
77
|
"key": key,
|
|
78
|
-
"class": clsx(itemClassName, { [`${baseClassName.value}-${errorStatus}`]: !!errorStatus }),
|
|
79
|
-
"style":
|
|
78
|
+
"class": clsx(itemClassName, props.helpItemClassName, { [`${baseClassName.value}-${errorStatus}`]: !!errorStatus }),
|
|
79
|
+
"style": {
|
|
80
|
+
...props.helpItemStyle,
|
|
81
|
+
...itemStyle
|
|
82
|
+
}
|
|
80
83
|
}, [error]);
|
|
81
84
|
})) ? _slot : { default: () => [_slot] })])] });
|
|
82
85
|
};
|
|
@@ -113,6 +116,14 @@ const ErrorList = /* @__PURE__ */ defineComponent((props, { attrs }) => {
|
|
|
113
116
|
onVisibleChanged: {
|
|
114
117
|
type: Function,
|
|
115
118
|
required: false
|
|
119
|
+
},
|
|
120
|
+
helpItemClassName: {
|
|
121
|
+
type: String,
|
|
122
|
+
required: false
|
|
123
|
+
},
|
|
124
|
+
helpItemStyle: {
|
|
125
|
+
type: Object,
|
|
126
|
+
required: false
|
|
116
127
|
}
|
|
117
128
|
},
|
|
118
129
|
name: "FormErrorList",
|
package/dist/form/Form.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { FormTooltipProps } from "./FormItemLabel.js";
|
|
|
8
8
|
import { FieldData, InternalNamePath, NamePath, Rule, ValidateErrorEntity, ValidateMessages, ValidateOptions } from "./types.js";
|
|
9
9
|
import { FeedbackIcons } from "./FormItem/index.js";
|
|
10
10
|
import { ComponentBaseProps, Variant } from "../config-provider/context.js";
|
|
11
|
-
import * as
|
|
11
|
+
import * as vue1087 from "vue";
|
|
12
12
|
import { CSSProperties, HTMLAttributes, SlotsType } from "vue";
|
|
13
13
|
|
|
14
14
|
//#region src/form/Form.d.ts
|
|
@@ -22,11 +22,17 @@ interface FormSemanticClassNames {
|
|
|
22
22
|
root?: string;
|
|
23
23
|
label?: string;
|
|
24
24
|
content?: string;
|
|
25
|
+
help?: string;
|
|
26
|
+
helpItem?: string;
|
|
27
|
+
extra?: string;
|
|
25
28
|
}
|
|
26
29
|
interface FormSemanticStyles {
|
|
27
30
|
root?: CSSProperties;
|
|
28
31
|
label?: CSSProperties;
|
|
29
32
|
content?: CSSProperties;
|
|
33
|
+
help?: CSSProperties;
|
|
34
|
+
helpItem?: CSSProperties;
|
|
35
|
+
extra?: CSSProperties;
|
|
30
36
|
}
|
|
31
37
|
type FormClassNamesType = SemanticClassNamesType<FormProps, FormSemanticClassNames>;
|
|
32
38
|
type FormStylesType = SemanticStylesType<FormProps, FormSemanticStyles>;
|
|
@@ -54,6 +60,7 @@ interface FormProps extends ComponentBaseProps, FormEmitsProps {
|
|
|
54
60
|
clearOnDestroy?: boolean;
|
|
55
61
|
validateOnRuleChange?: boolean;
|
|
56
62
|
autoComplete?: string | undefined;
|
|
63
|
+
autocomplete?: string | undefined;
|
|
57
64
|
tooltip?: FormTooltipProps;
|
|
58
65
|
}
|
|
59
66
|
interface FormEmits {
|
|
@@ -104,6 +111,6 @@ interface FormInstance {
|
|
|
104
111
|
focusField: (fieldName: NamePath) => void;
|
|
105
112
|
getFieldInstance: (name: NamePath) => any;
|
|
106
113
|
}
|
|
107
|
-
declare const InternalForm:
|
|
114
|
+
declare const InternalForm: vue1087.DefineSetupFnComponent<FormProps, FormEmits, SlotsType<FormSlots>, FormProps, vue1087.PublicProps>;
|
|
108
115
|
//#endregion
|
|
109
116
|
export { FormClassNamesType, FormEmits, FormEmitsProps, FormInstance, FormItemLayout, FormLayout, FormProps, FormSemanticClassNames, FormSemanticName, FormSemanticStyles, FormSlots, FormStylesType, RequiredMark, type ScrollFocusOptions, InternalForm as default };
|
package/dist/form/Form.js
CHANGED
|
@@ -21,11 +21,13 @@ import scrollIntoView from "scroll-into-view-if-needed";
|
|
|
21
21
|
//#region src/form/Form.tsx
|
|
22
22
|
const InternalForm = /* @__PURE__ */ defineComponent((props, { slots, expose, emit, attrs }) => {
|
|
23
23
|
const contextDisabled = useDisabledContext();
|
|
24
|
-
const { prefixCls, direction, requiredMark: contextRequiredMark, colon: contextColon, scrollToFirstError: contextScrollToFirstError, class: contextClassName, style: contextStyle, styles: contextStyles, classes: contextClassNames, tooltip: contextTooltip } = useComponentBaseConfig("form", props, [
|
|
24
|
+
const { prefixCls, direction, requiredMark: contextRequiredMark, colon: contextColon, scrollToFirstError: contextScrollToFirstError, autoComplete: contextAutoComplete, autocomplete: contextAutocomplete, class: contextClassName, style: contextStyle, styles: contextStyles, classes: contextClassNames, tooltip: contextTooltip } = useComponentBaseConfig("form", props, [
|
|
25
25
|
"scrollToFirstError",
|
|
26
26
|
"colon",
|
|
27
27
|
"requiredMark",
|
|
28
|
-
"tooltip"
|
|
28
|
+
"tooltip",
|
|
29
|
+
"autoComplete",
|
|
30
|
+
"autocomplete"
|
|
29
31
|
]);
|
|
30
32
|
const { size, styles, classes, variant, model, rules, validateTrigger, validateMessages, feedbackIcons } = toPropsRefs(props, "size", "classes", "styles", "variant", "model", "rules", "validateTrigger", "validateMessages", "feedbackIcons");
|
|
31
33
|
const mergedSize = useSize(size);
|
|
@@ -38,6 +40,7 @@ const InternalForm = /* @__PURE__ */ defineComponent((props, { slots, expose, em
|
|
|
38
40
|
return true;
|
|
39
41
|
});
|
|
40
42
|
const mergedColon = computed(() => props.colon ?? contextColon.value);
|
|
43
|
+
const mergedAutoComplete = computed(() => props.autoComplete ?? props.autocomplete ?? contextAutoComplete.value ?? contextAutocomplete.value);
|
|
41
44
|
const mergedTooltip = computed(() => {
|
|
42
45
|
return {
|
|
43
46
|
...contextTooltip.value,
|
|
@@ -333,14 +336,13 @@ const InternalForm = /* @__PURE__ */ defineComponent((props, { slots, expose, em
|
|
|
333
336
|
return () => {
|
|
334
337
|
const { layout, rootClass, name } = props;
|
|
335
338
|
const { className, style, restAttrs } = getAttrStyleAndClass(attrs);
|
|
336
|
-
const autocomplete = props.autoComplete ?? restAttrs.autocomplete;
|
|
337
339
|
const formClassName = clsx(prefixCls.value, `${prefixCls.value}-${layout}`, {
|
|
338
340
|
[`${prefixCls.value}-hide-required-mark`]: mergedRequiredMark.value === false,
|
|
339
341
|
[`${prefixCls.value}-rtl`]: direction.value === "rtl",
|
|
340
342
|
[`${prefixCls.value}-${mergedSize.value}`]: mergedSize.value
|
|
341
343
|
}, cssVarCls.value, rootCls.value, hashId.value, contextClassName.value, className, rootClass, mergedClassNames.value.root);
|
|
342
344
|
return createVNode("form", mergeProps({ "id": name }, restAttrs, {
|
|
343
|
-
"autocomplete":
|
|
345
|
+
"autocomplete": mergedAutoComplete.value,
|
|
344
346
|
"name": name,
|
|
345
347
|
"ref": nativeElementRef,
|
|
346
348
|
"style": [
|
|
@@ -464,6 +466,10 @@ const InternalForm = /* @__PURE__ */ defineComponent((props, { slots, expose, em
|
|
|
464
466
|
type: [String, null],
|
|
465
467
|
required: false
|
|
466
468
|
},
|
|
469
|
+
autocomplete: {
|
|
470
|
+
type: [String, null],
|
|
471
|
+
required: false
|
|
472
|
+
},
|
|
467
473
|
tooltip: {
|
|
468
474
|
type: Object,
|
|
469
475
|
required: false
|
|
@@ -5,7 +5,7 @@ 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
|
-
import * as
|
|
8
|
+
import * as vue889 from "vue";
|
|
9
9
|
|
|
10
10
|
//#region src/form/FormItem/ItemHolder.d.ts
|
|
11
11
|
type ItemHolderProps = FormItemProps & {
|
|
@@ -16,7 +16,7 @@ type ItemHolderProps = FormItemProps & {
|
|
|
16
16
|
isRequired?: boolean;
|
|
17
17
|
onSubItemMetaChange: ReportMetaChange;
|
|
18
18
|
};
|
|
19
|
-
declare const ItemHolder:
|
|
19
|
+
declare const ItemHolder: vue889.DefineSetupFnComponent<ItemHolderProps, {}, {}, BaseFormItemProps & ComponentBaseProps & Omit<FormItemLabelProps, "requiredMark"> & FormItemInputProps & {
|
|
20
20
|
noStyle?: boolean;
|
|
21
21
|
id?: string;
|
|
22
22
|
hasFeedback?: boolean | {
|
|
@@ -34,6 +34,6 @@ declare const ItemHolder: vue358.DefineSetupFnComponent<ItemHolderProps, {}, {},
|
|
|
34
34
|
fieldId?: string;
|
|
35
35
|
isRequired?: boolean;
|
|
36
36
|
onSubItemMetaChange: ReportMetaChange;
|
|
37
|
-
} & {},
|
|
37
|
+
} & {}, vue889.PublicProps>;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { ItemHolderProps, ItemHolder as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Meta, NamePath } from "../types.js";
|
|
2
2
|
import { FeedbackIcons, ValidateStatus } from "./index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue738 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/form/FormItem/StatusProvider.d.ts
|
|
6
6
|
interface StatusProviderProps {
|
|
@@ -15,6 +15,6 @@ interface StatusProviderProps {
|
|
|
15
15
|
noStyle?: boolean;
|
|
16
16
|
name?: NamePath;
|
|
17
17
|
}
|
|
18
|
-
declare const StatusProvider:
|
|
18
|
+
declare const StatusProvider: vue738.DefineSetupFnComponent<StatusProviderProps, {}, {}, StatusProviderProps & {}, vue738.PublicProps>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { StatusProviderProps, StatusProvider as default };
|
|
@@ -3,7 +3,7 @@ import { NamePath, Rule, TriggerType } from "../types.js";
|
|
|
3
3
|
import { FormItemLayout } from "../Form.js";
|
|
4
4
|
import { FormItemInputProps } from "../FormItemInput.js";
|
|
5
5
|
import { ComponentBaseProps } from "../../config-provider/context.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue734 from "vue";
|
|
7
7
|
import { SlotsType } from "vue";
|
|
8
8
|
|
|
9
9
|
//#region src/form/FormItem/index.d.ts
|
|
@@ -44,6 +44,6 @@ interface FormItemSlots {
|
|
|
44
44
|
help?: () => any;
|
|
45
45
|
}
|
|
46
46
|
interface InternalFormItemProps extends FormItemProps, FormItemEmitsProps {}
|
|
47
|
-
declare const InternalFormItem:
|
|
47
|
+
declare const InternalFormItem: vue734.DefineSetupFnComponent<InternalFormItemProps, FormItemEmits, SlotsType<FormItemSlots>, InternalFormItemProps, vue734.PublicProps>;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { BaseFormItemProps, FeedbackIcons, FormItemEmits, FormItemEmitsProps, FormItemProps, FormItemSlots, ValidateStatus, InternalFormItem as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { VueNode } from "../_util/type.js";
|
|
1
|
+
import { VueNode as VueNode$1 } from "../_util/type.js";
|
|
2
2
|
import { ColProps } from "../grid/col.js";
|
|
3
3
|
import "../grid/index.js";
|
|
4
4
|
import { ValidateStatus } from "./FormItem/index.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue1078 from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/form/FormItemInput.d.ts
|
|
8
8
|
interface FormItemInputMiscProps {
|
|
@@ -15,12 +15,12 @@ interface FormItemInputMiscProps {
|
|
|
15
15
|
interface FormItemInputProps {
|
|
16
16
|
labelCol?: ColProps;
|
|
17
17
|
wrapperCol?: ColProps;
|
|
18
|
-
extra?: VueNode;
|
|
18
|
+
extra?: VueNode$1;
|
|
19
19
|
status?: ValidateStatus;
|
|
20
|
-
help?: VueNode;
|
|
20
|
+
help?: VueNode$1;
|
|
21
21
|
fieldId?: string;
|
|
22
|
-
label?: VueNode;
|
|
22
|
+
label?: VueNode$1;
|
|
23
23
|
}
|
|
24
|
-
declare const FormItemInput:
|
|
24
|
+
declare const FormItemInput: vue1078.DefineSetupFnComponent<FormItemInputProps & FormItemInputMiscProps, {}, {}, FormItemInputProps & FormItemInputMiscProps & {}, vue1078.PublicProps>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { FormItemInputProps, FormItemInput as default };
|
|
@@ -60,13 +60,17 @@ const FormItemInput = /* @__PURE__ */ defineComponent((props, { slots }) => {
|
|
|
60
60
|
"warnings": warnings,
|
|
61
61
|
"help": help,
|
|
62
62
|
"helpStatus": status,
|
|
63
|
-
"class": `${baseClassName.value}-explain-connected`,
|
|
63
|
+
"class": clsx(`${baseClassName.value}-explain-connected`, contextClassNames.value?.help),
|
|
64
|
+
"helpItemClassName": contextClassNames.value?.helpItem,
|
|
65
|
+
"helpItemStyle": contextStyles.value?.helpItem,
|
|
66
|
+
"style": contextStyles.value?.help,
|
|
64
67
|
"onVisibleChanged": onErrorVisibleChanged
|
|
65
68
|
}, null)] }) : null;
|
|
66
69
|
const extraProps = {};
|
|
67
70
|
if (fieldId) extraProps.id = `${fieldId}_extra`;
|
|
68
71
|
const extraDom = extra ? createVNode("div", mergeProps(extraProps, {
|
|
69
|
-
"class": `${baseClassName.value}-extra`,
|
|
72
|
+
"class": clsx(`${baseClassName.value}-extra`, contextClassNames.value?.extra),
|
|
73
|
+
"style": contextStyles.value?.extra,
|
|
70
74
|
"ref": extraRef
|
|
71
75
|
}), [extra]) : null;
|
|
72
76
|
const dom = createVNode(Fragment, null, [inputDom, errorListDom || extraDom ? createVNode("div", {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { VueNode } from "../_util/type.js";
|
|
1
|
+
import { VueNode as VueNode$1 } from "../_util/type.js";
|
|
2
2
|
import { ColProps } from "../grid/col.js";
|
|
3
3
|
import "../grid/index.js";
|
|
4
4
|
import { TooltipProps } from "../tooltip/index.js";
|
|
5
5
|
import { FormLabelAlign } from "./interface.js";
|
|
6
6
|
import { RequiredMark } from "./Form.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as vue1076 from "vue";
|
|
8
8
|
|
|
9
9
|
//#region src/form/FormItemLabel.d.ts
|
|
10
10
|
type FormTooltipProps = TooltipProps & {
|
|
11
|
-
icon?: VueNode;
|
|
11
|
+
icon?: VueNode$1;
|
|
12
12
|
};
|
|
13
|
-
type FormItemTooltipType = FormTooltipProps | VueNode;
|
|
13
|
+
type FormItemTooltipType = FormTooltipProps | VueNode$1;
|
|
14
14
|
type ColPropsWithClass = ColProps & {
|
|
15
15
|
class?: string;
|
|
16
16
|
};
|
|
17
17
|
interface FormItemLabelProps {
|
|
18
18
|
colon?: boolean;
|
|
19
19
|
htmlFor?: string;
|
|
20
|
-
label?: VueNode;
|
|
20
|
+
label?: VueNode$1;
|
|
21
21
|
labelAlign?: FormLabelAlign;
|
|
22
22
|
labelCol?: ColPropsWithClass;
|
|
23
23
|
/**
|
|
@@ -27,12 +27,12 @@ interface FormItemLabelProps {
|
|
|
27
27
|
tooltip?: FormItemTooltipType;
|
|
28
28
|
vertical?: boolean;
|
|
29
29
|
}
|
|
30
|
-
declare const FormItemLabel:
|
|
30
|
+
declare const FormItemLabel: vue1076.DefineSetupFnComponent<FormItemLabelProps & {
|
|
31
31
|
required?: boolean;
|
|
32
32
|
prefixCls: string;
|
|
33
33
|
}, {}, {}, FormItemLabelProps & {
|
|
34
34
|
required?: boolean;
|
|
35
35
|
prefixCls: string;
|
|
36
|
-
} & {},
|
|
36
|
+
} & {}, vue1076.PublicProps>;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { ColPropsWithClass, FormItemLabelProps, FormItemTooltipType, FormTooltipProps, FormItemLabel as default };
|
package/dist/form/context.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { InternalNamePath, Meta, NamePath, Rule, ValidateMessages } from "./type
|
|
|
6
6
|
import { FormLayout, FormSemanticName, RequiredMark } from "./Form.js";
|
|
7
7
|
import { FeedbackIcons, ValidateStatus } from "./FormItem/index.js";
|
|
8
8
|
import { Variant } from "../config-provider/context.js";
|
|
9
|
-
import * as
|
|
9
|
+
import * as vue783 from "vue";
|
|
10
10
|
import { Ref } from "vue";
|
|
11
11
|
import { Key } from "@v-c/util/dist/type";
|
|
12
12
|
|
|
@@ -61,7 +61,7 @@ interface FormItemPrefixContextProps {
|
|
|
61
61
|
status?: ValidateStatus;
|
|
62
62
|
}
|
|
63
63
|
declare function useFormItemPrefixContextProvider(value: Ref<FormItemPrefixContextProps>): void;
|
|
64
|
-
declare const FormItemPrefixContextProvider:
|
|
64
|
+
declare const FormItemPrefixContextProvider: vue783.DefineSetupFnComponent<FormItemPrefixContextProps, {}, {}, FormItemPrefixContextProps & {}, vue783.PublicProps>;
|
|
65
65
|
declare function useFormItemPrefixContext(): Ref<{
|
|
66
66
|
prefixCls: string;
|
|
67
67
|
}, {
|
|
@@ -70,7 +70,7 @@ declare function useFormItemPrefixContext(): Ref<{
|
|
|
70
70
|
prefixCls: string;
|
|
71
71
|
}>;
|
|
72
72
|
declare function useVariantContextProvider(variant: Ref<Variant | undefined>): void;
|
|
73
|
-
declare function useVariantContext(): Ref<"
|
|
73
|
+
declare function useVariantContext(): Ref<"filled" | "outlined" | "borderless" | "underlined" | undefined, "filled" | "outlined" | "borderless" | "underlined" | undefined>;
|
|
74
74
|
interface FormItemStatusContextProps {
|
|
75
75
|
isFormItemInput?: boolean;
|
|
76
76
|
status?: ValidateStatus;
|
|
@@ -101,19 +101,19 @@ declare function useFormItemInputContext(): Ref<{
|
|
|
101
101
|
/** `noStyle` Form Item Context. Used for error collection */
|
|
102
102
|
type ReportMetaChange = (meta: Meta, uniqueKeys: Key[]) => void;
|
|
103
103
|
declare function useNoStyleItemContextProvider(value: ReportMetaChange): void;
|
|
104
|
-
declare const NoStyleItemContextProvider:
|
|
104
|
+
declare const NoStyleItemContextProvider: vue783.DefineSetupFnComponent<{
|
|
105
105
|
value: ReportMetaChange;
|
|
106
106
|
}, {}, {}, {
|
|
107
107
|
value: ReportMetaChange;
|
|
108
|
-
} & {},
|
|
108
|
+
} & {}, vue783.PublicProps>;
|
|
109
109
|
declare function useNoStyleItemContext(): ReportMetaChange | null;
|
|
110
|
-
declare const NoFormStyle:
|
|
110
|
+
declare const NoFormStyle: vue783.DefineSetupFnComponent<{
|
|
111
111
|
override?: boolean;
|
|
112
112
|
status?: boolean;
|
|
113
113
|
}, {}, {}, {
|
|
114
114
|
override?: boolean;
|
|
115
115
|
status?: boolean;
|
|
116
|
-
} & {},
|
|
116
|
+
} & {}, vue783.PublicProps>;
|
|
117
117
|
interface FormItemProviderProps {
|
|
118
118
|
fieldId: Ref<string | undefined>;
|
|
119
119
|
triggerChange: () => void;
|