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/input/Password.js
CHANGED
package/dist/input/Search.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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 { SizeType } from "../config-provider/SizeContext.js";
|
|
5
5
|
import { InputEmits, InputProps, InputRef } from "./Input.js";
|
|
6
6
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
7
7
|
import { ButtonSemanticClassNames, ButtonSemanticStyles } from "../button/Button.js";
|
|
8
|
-
import * as
|
|
8
|
+
import * as vue728 from "vue";
|
|
9
9
|
import { CSSProperties, SlotsType } from "vue";
|
|
10
10
|
|
|
11
11
|
//#region src/input/Search.d.ts
|
|
@@ -33,7 +33,12 @@ type InputSearchStylesType = SemanticStylesType<SearchProps, InputSearchSemantic
|
|
|
33
33
|
interface SearchProps extends Omit<InputProps, 'class' | 'style' | 'rootClass'>, ComponentBaseProps, SearchEmitsProps {
|
|
34
34
|
inputPrefixCls?: string;
|
|
35
35
|
on?: never;
|
|
36
|
-
enterButton?: boolean | VueNode;
|
|
36
|
+
enterButton?: boolean | VueNode$1;
|
|
37
|
+
/**
|
|
38
|
+
* Custom search icon shown inside the trigger button when enterButton is a
|
|
39
|
+
* boolean. Mirrors ant-design 6.4.0 PR #57256.
|
|
40
|
+
*/
|
|
41
|
+
searchIcon?: VueNode$1;
|
|
37
42
|
loading?: boolean;
|
|
38
43
|
size?: SizeType;
|
|
39
44
|
hidden?: boolean;
|
|
@@ -60,7 +65,12 @@ interface SearchSlots {
|
|
|
60
65
|
addonBefore: () => any;
|
|
61
66
|
addonAfter: () => any;
|
|
62
67
|
clearIcon: () => any;
|
|
68
|
+
/**
|
|
69
|
+
* Custom search icon shown inside the trigger button when enterButton is
|
|
70
|
+
* boolean. Slot takes priority over the `searchIcon` prop.
|
|
71
|
+
*/
|
|
72
|
+
searchIcon?: () => any;
|
|
63
73
|
}
|
|
64
|
-
declare const InternalSearch:
|
|
74
|
+
declare const InternalSearch: vue728.DefineSetupFnComponent<SearchProps, SearchEmits, SlotsType<SearchSlots>, SearchProps, vue728.PublicProps>;
|
|
65
75
|
//#endregion
|
|
66
76
|
export { InputSearchClassNamesType, InputSearchRef, InputSearchSemanticClassNames, InputSearchSemanticName, InputSearchSemanticStyles, InputSearchStylesType, SearchEmits, SearchEmitsProps, SearchProps, SearchSlots, InternalSearch as default };
|
package/dist/input/Search.js
CHANGED
|
@@ -2,7 +2,7 @@ import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
|
2
2
|
import { useSize } from "../config-provider/hooks/useSize.js";
|
|
3
3
|
import { useCompactItemContext } from "../space/Compact.js";
|
|
4
4
|
import { getAttrStyleAndClass, useMergeSemantic, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
5
|
-
import { toPropsRefs } from "../_util/tools.js";
|
|
5
|
+
import { getSlotPropsFnRun, toPropsRefs } from "../_util/tools.js";
|
|
6
6
|
import button_default from "../button/index.js";
|
|
7
7
|
import { SpaceCompact } from "../space/index.js";
|
|
8
8
|
import Input_default from "./Input.js";
|
|
@@ -94,7 +94,8 @@ const InternalSearch = /* @__PURE__ */ defineComponent((props, { slots, attrs, e
|
|
|
94
94
|
const btnClassName = clsx(btnPrefixCls, { [`${btnPrefixCls}-${variant.value}`]: variant.value });
|
|
95
95
|
const enterButtonValue = props.enterButton ?? false;
|
|
96
96
|
const isBooleanEnterButton = typeof enterButtonValue === "boolean";
|
|
97
|
-
const
|
|
97
|
+
const searchIconFromSlot = getSlotPropsFnRun(slots, props, "searchIcon", false);
|
|
98
|
+
const searchIcon = isBooleanEnterButton ? searchIconFromSlot ?? props.searchIcon ?? createVNode(SearchOutlined, null, null) : null;
|
|
98
99
|
const buttonChildren = isBooleanEnterButton ? void 0 : enterButtonValue;
|
|
99
100
|
let buttonNode;
|
|
100
101
|
const enterButtonNode = buttonChildren;
|
|
@@ -171,6 +172,18 @@ const InternalSearch = /* @__PURE__ */ defineComponent((props, { slots, attrs, e
|
|
|
171
172
|
required: false,
|
|
172
173
|
default: void 0
|
|
173
174
|
},
|
|
175
|
+
searchIcon: {
|
|
176
|
+
type: [
|
|
177
|
+
Function,
|
|
178
|
+
String,
|
|
179
|
+
Number,
|
|
180
|
+
null,
|
|
181
|
+
Object,
|
|
182
|
+
Boolean
|
|
183
|
+
],
|
|
184
|
+
required: false,
|
|
185
|
+
default: void 0
|
|
186
|
+
},
|
|
174
187
|
loading: {
|
|
175
188
|
type: Boolean,
|
|
176
189
|
required: false,
|
|
@@ -251,6 +264,10 @@ const InternalSearch = /* @__PURE__ */ defineComponent((props, { slots, attrs, e
|
|
|
251
264
|
type: String,
|
|
252
265
|
required: false
|
|
253
266
|
},
|
|
267
|
+
autocomplete: {
|
|
268
|
+
type: String,
|
|
269
|
+
required: false
|
|
270
|
+
},
|
|
254
271
|
htmlSize: {
|
|
255
272
|
type: Number,
|
|
256
273
|
required: false
|
package/dist/input/TextArea.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import "../_util/hooks/index.js";
|
|
|
3
3
|
import { SizeType } from "../config-provider/SizeContext.js";
|
|
4
4
|
import { InputStatus } from "../_util/statusUtils.js";
|
|
5
5
|
import { ComponentBaseProps, Variant } from "../config-provider/context.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue730 from "vue";
|
|
7
7
|
import { CSSProperties, SlotsType } from "vue";
|
|
8
8
|
import { InputProps } from "@v-c/input";
|
|
9
9
|
import { TextAreaProps as TextAreaProps$1, TextAreaRef as TextAreaRef$1 } from "@v-c/textarea";
|
|
@@ -69,6 +69,6 @@ interface TextAreaEmitsProps {
|
|
|
69
69
|
interface TextAreaSlots {
|
|
70
70
|
default?: () => any;
|
|
71
71
|
}
|
|
72
|
-
declare const InternalTextArea:
|
|
72
|
+
declare const InternalTextArea: vue730.DefineSetupFnComponent<TextAreaProps, TextAreaEmits, SlotsType<TextAreaSlots>, TextAreaProps, vue730.PublicProps>;
|
|
73
73
|
//#endregion
|
|
74
74
|
export { InputTextAreaRef, TextAreaClassNamesType, TextAreaEmits, TextAreaEmitsProps, TextAreaProps, TextAreaRef, TextAreaSemanticClassNames, TextAreaSemanticName, TextAreaSemanticStyles, TextAreaSlots, TextAreaStylesType, InternalTextArea as default };
|
package/dist/input/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import InternalSearch, { InputSearchRef, SearchEmits, SearchProps, SearchSlots }
|
|
|
5
5
|
import InternalTextArea, { InputTextAreaRef, TextAreaProps, TextAreaRef } from "./TextArea.js";
|
|
6
6
|
import InputGroup$1, { InputGroupProps } from "./Group.js";
|
|
7
7
|
import InternalPassword, { InputPasswordRef, PasswordEmits, PasswordProps, PasswordSlots } from "./Password.js";
|
|
8
|
-
import * as
|
|
8
|
+
import * as vue12 from "vue";
|
|
9
9
|
import { App } from "vue";
|
|
10
10
|
|
|
11
11
|
//#region src/input/index.d.ts
|
|
@@ -18,11 +18,11 @@ type CompoundedInputType = typeof InternalInput & {
|
|
|
18
18
|
install: (app: App) => App;
|
|
19
19
|
};
|
|
20
20
|
declare const CompoundedInput: CompoundedInputType;
|
|
21
|
-
declare const InputGroup:
|
|
21
|
+
declare const InputGroup: vue12.DefineSetupFnComponent<InputGroupProps, EmptyEmit, vue12.SlotsType<{
|
|
22
22
|
default?: () => any;
|
|
23
|
-
}>, InputGroupProps,
|
|
24
|
-
declare const InputOTP:
|
|
25
|
-
declare const InputPassword:
|
|
26
|
-
declare const InputSearch:
|
|
23
|
+
}>, InputGroupProps, vue12.PublicProps>;
|
|
24
|
+
declare const InputOTP: vue12.DefineSetupFnComponent<OTPProps, OTPEmits, vue12.SlotsType<OTPSlots>, OTPProps, vue12.PublicProps>;
|
|
25
|
+
declare const InputPassword: vue12.DefineSetupFnComponent<PasswordProps, PasswordEmits, vue12.SlotsType<PasswordSlots>, PasswordProps, vue12.PublicProps>;
|
|
26
|
+
declare const InputSearch: vue12.DefineSetupFnComponent<SearchProps, SearchEmits, vue12.SlotsType<SearchSlots>, SearchProps, vue12.PublicProps>;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { type InputEmits, InputGroup, type InputGroupProps, InputOTP, InputPassword, type InputPasswordRef, type InputProps, type InputRef, InputSearch, type InputSearchRef, type InputSlots, type InputTextAreaRef, type OTPEmits, type OTPProps, type OTPSlots, type PasswordProps, type SearchProps, InternalTextArea as TextArea, type TextAreaProps, type TextAreaRef, CompoundedInput as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentToken, InputToken, initComponentToken, initInputToken } from "./token.js";
|
|
2
2
|
import { GenerateStyle } from "../../theme/interface/index.js";
|
|
3
3
|
import "../../theme/internal.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue740 from "vue";
|
|
5
5
|
import { CSSObject } from "@antdv-next/cssinjs";
|
|
6
6
|
|
|
7
7
|
//#region src/input/style/index.d.ts
|
|
@@ -16,7 +16,7 @@ declare function genBasicInputStyle(token: InputToken, option?: {
|
|
|
16
16
|
declare const genInputGroupStyle: GenerateStyle<InputToken, CSSObject>;
|
|
17
17
|
declare const genInputStyle: GenerateStyle<InputToken, CSSObject>;
|
|
18
18
|
declare const genAffixStyle: GenerateStyle<InputToken, CSSObject>;
|
|
19
|
-
declare const useSharedStyle: (prefixCls:
|
|
20
|
-
declare const _default: (prefixCls:
|
|
19
|
+
declare const useSharedStyle: (prefixCls: vue740.Ref<string>, rootCls?: vue740.Ref<string | undefined>) => readonly [vue740.Ref<string, string>, vue740.ComputedRef<string | undefined>];
|
|
20
|
+
declare const _default: (prefixCls: vue740.Ref<string>, rootCls?: vue740.Ref<string | undefined>) => readonly [vue740.Ref<string, string>, vue740.ComputedRef<string | undefined>];
|
|
21
21
|
//#endregion
|
|
22
22
|
export { type ComponentToken, _default as default, genActiveStyle, genAffixStyle, genBasicInputStyle, genInputGroupStyle, genInputLargeStyle, genInputSmallStyle, genInputStyle, genPlaceholderStyle, initComponentToken, initInputToken, useSharedStyle };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue903 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/input/style/otp.d.ts
|
|
4
|
-
declare const _default: (prefixCls:
|
|
4
|
+
declare const _default: (prefixCls: vue903.Ref<string>, rootCls?: vue903.Ref<string | undefined>) => readonly [vue903.Ref<string, string>, vue903.ComputedRef<string | undefined>];
|
|
5
5
|
//#endregion
|
|
6
6
|
export { _default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue895 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/input/style/search.d.ts
|
|
4
|
-
declare const _default: (prefixCls:
|
|
4
|
+
declare const _default: (prefixCls: vue895.Ref<string>, rootCls?: vue895.Ref<string | undefined>) => readonly [vue895.Ref<string, string>, vue895.ComputedRef<string | undefined>];
|
|
5
5
|
//#endregion
|
|
6
6
|
export { _default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentToken, initComponentToken, initInputToken } from "./token.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue891 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/input/style/textarea.d.ts
|
|
5
|
-
declare const _default: (prefixCls:
|
|
5
|
+
declare const _default: (prefixCls: vue891.Ref<string>, rootCls?: vue891.Ref<string | undefined>) => readonly [vue891.Ref<string, string>, vue891.ComputedRef<string | undefined>];
|
|
6
6
|
//#endregion
|
|
7
7
|
export { type ComponentToken, _default as default, initComponentToken, initInputToken };
|
|
@@ -61,7 +61,7 @@ function genOutlinedStyle(token, extraStyles) {
|
|
|
61
61
|
hoverBorderColor: token.colorErrorBorderHover,
|
|
62
62
|
activeBorderColor: token.colorError,
|
|
63
63
|
activeShadow: token.errorActiveShadow,
|
|
64
|
-
affixColor: token.
|
|
64
|
+
affixColor: token.colorErrorAffix
|
|
65
65
|
}),
|
|
66
66
|
...genOutlinedStatusStyle(token, {
|
|
67
67
|
status: "warning",
|
|
@@ -69,7 +69,7 @@ function genOutlinedStyle(token, extraStyles) {
|
|
|
69
69
|
hoverBorderColor: token.colorWarningBorderHover,
|
|
70
70
|
activeBorderColor: token.colorWarning,
|
|
71
71
|
activeShadow: token.warningActiveShadow,
|
|
72
|
-
affixColor: token.
|
|
72
|
+
affixColor: token.colorWarningAffix
|
|
73
73
|
}),
|
|
74
74
|
...extraStyles
|
|
75
75
|
} };
|
|
@@ -114,8 +114,14 @@ function genBorderlessStyle(token, extraStyles) {
|
|
|
114
114
|
color: token.colorTextDisabled,
|
|
115
115
|
cursor: "not-allowed"
|
|
116
116
|
},
|
|
117
|
-
[`&${componentCls}-status-error`]: {
|
|
118
|
-
|
|
117
|
+
[`&${componentCls}-status-error`]: {
|
|
118
|
+
"&, & input, & textarea": { color: token.colorError },
|
|
119
|
+
[`${componentCls}-prefix, ${componentCls}-suffix`]: { color: token.colorErrorAffix }
|
|
120
|
+
},
|
|
121
|
+
[`&${componentCls}-status-warning`]: {
|
|
122
|
+
"&, & input, & textarea": { color: token.colorWarning },
|
|
123
|
+
[`${componentCls}-prefix, ${componentCls}-suffix`]: { color: token.colorWarningAffix }
|
|
124
|
+
},
|
|
119
125
|
...extraStyles
|
|
120
126
|
} };
|
|
121
127
|
}
|
|
@@ -155,7 +161,7 @@ function genFilledStyle(token, extraStyles) {
|
|
|
155
161
|
hoverBg: token.colorErrorBgHover,
|
|
156
162
|
activeBorderColor: token.colorError,
|
|
157
163
|
inputColor: token.colorErrorText,
|
|
158
|
-
affixColor: token.
|
|
164
|
+
affixColor: token.colorErrorAffix
|
|
159
165
|
}),
|
|
160
166
|
...genFilledStatusStyle(token, {
|
|
161
167
|
status: "warning",
|
|
@@ -163,7 +169,7 @@ function genFilledStyle(token, extraStyles) {
|
|
|
163
169
|
hoverBg: token.colorWarningBgHover,
|
|
164
170
|
activeBorderColor: token.colorWarning,
|
|
165
171
|
inputColor: token.colorWarningText,
|
|
166
|
-
affixColor: token.
|
|
172
|
+
affixColor: token.colorWarningAffix
|
|
167
173
|
}),
|
|
168
174
|
...extraStyles
|
|
169
175
|
} };
|
|
@@ -254,7 +260,7 @@ function genUnderlinedStyle(token, extraStyles) {
|
|
|
254
260
|
hoverBorderColor: token.colorErrorBorderHover,
|
|
255
261
|
activeBorderColor: token.colorError,
|
|
256
262
|
activeShadow: token.errorActiveShadow,
|
|
257
|
-
affixColor: token.
|
|
263
|
+
affixColor: token.colorErrorAffix
|
|
258
264
|
}),
|
|
259
265
|
...genUnderlinedStatusStyle(token, {
|
|
260
266
|
status: "warning",
|
|
@@ -262,7 +268,7 @@ function genUnderlinedStyle(token, extraStyles) {
|
|
|
262
268
|
hoverBorderColor: token.colorWarningBorderHover,
|
|
263
269
|
activeBorderColor: token.colorWarning,
|
|
264
270
|
activeShadow: token.warningActiveShadow,
|
|
265
|
-
affixColor: token.
|
|
271
|
+
affixColor: token.colorWarningAffix
|
|
266
272
|
}),
|
|
267
273
|
...extraStyles
|
|
268
274
|
} };
|
|
@@ -1,10 +1,10 @@
|
|
|
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 { SizeType } from "../config-provider/SizeContext.js";
|
|
5
5
|
import { InputStatus } from "../_util/statusUtils.js";
|
|
6
6
|
import { ComponentBaseProps, Variant } from "../config-provider/context.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as vue55 from "vue";
|
|
8
8
|
import { CSSProperties, SlotsType } from "vue";
|
|
9
9
|
import { InputNumberProps as InputNumberProps$1, InputNumberRef as VcInputNumberRef, ValueType } from "@v-c/input-number";
|
|
10
10
|
|
|
@@ -37,10 +37,10 @@ interface InputNumberProps extends ComponentBaseProps, Omit<InputNumberProps$1,
|
|
|
37
37
|
size?: SizeType;
|
|
38
38
|
status?: InputStatus;
|
|
39
39
|
disabled?: boolean;
|
|
40
|
-
addonBefore?: VueNode;
|
|
41
|
-
addonAfter?: VueNode;
|
|
42
|
-
prefix?: VueNode;
|
|
43
|
-
suffix?: VueNode;
|
|
40
|
+
addonBefore?: VueNode$1;
|
|
41
|
+
addonAfter?: VueNode$1;
|
|
42
|
+
prefix?: VueNode$1;
|
|
43
|
+
suffix?: VueNode$1;
|
|
44
44
|
/** @deprecated Use `variant="borderless"` instead. */
|
|
45
45
|
bordered?: boolean;
|
|
46
46
|
/**
|
|
@@ -51,8 +51,8 @@ interface InputNumberProps extends ComponentBaseProps, Omit<InputNumberProps$1,
|
|
|
51
51
|
classes?: InputNumberClassNamesType;
|
|
52
52
|
styles?: InputNumberStylesType;
|
|
53
53
|
controls?: boolean | {
|
|
54
|
-
upIcon?: VueNode;
|
|
55
|
-
downIcon?: VueNode;
|
|
54
|
+
upIcon?: VueNode$1;
|
|
55
|
+
downIcon?: VueNode$1;
|
|
56
56
|
};
|
|
57
57
|
type?: 'number' | 'text';
|
|
58
58
|
}
|
|
@@ -105,6 +105,6 @@ interface InputNumberSlots {
|
|
|
105
105
|
addonAfter?: () => any;
|
|
106
106
|
default?: () => any;
|
|
107
107
|
}
|
|
108
|
-
declare const InputNumber:
|
|
108
|
+
declare const InputNumber: vue55.DefineSetupFnComponent<InputNumberProps, InputNumberEmits, SlotsType<InputNumberSlots>, InputNumberProps, vue55.PublicProps>;
|
|
109
109
|
//#endregion
|
|
110
110
|
export { InputNumberClassNamesType, InputNumberEmits, InputNumberEmitsProps, InputNumberProps, type VcInputNumberRef as InputNumberRef, InputNumberSemanticClassNames, InputNumberSemanticName, InputNumberSemanticStyles, InputNumberSlots, InputNumberStepContext, InputNumberStylesType, type ValueType, InputNumber as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentToken } from "./token.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue899 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/input-number/style/index.d.ts
|
|
5
|
-
declare const _default: (prefixCls:
|
|
5
|
+
declare const _default: (prefixCls: vue899.Ref<string>, rootCls?: vue899.Ref<string | undefined>) => readonly [vue899.Ref<string, string>, vue899.ComputedRef<string | undefined>];
|
|
6
6
|
//#endregion
|
|
7
7
|
export { type ComponentToken, _default as default };
|
package/dist/layout/Sider.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Breakpoint } from "../_util/responsiveObserver.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue53 from "vue";
|
|
3
3
|
import { CSSProperties, Ref, SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/layout/Sider.d.ts
|
|
@@ -39,6 +39,6 @@ interface SiderState {
|
|
|
39
39
|
collapsed?: boolean;
|
|
40
40
|
below: boolean;
|
|
41
41
|
}
|
|
42
|
-
declare const Sider:
|
|
42
|
+
declare const Sider: vue53.DefineSetupFnComponent<SiderProps, SiderEmits, SlotsType<SiderSlots>, SiderProps, vue53.PublicProps>;
|
|
43
43
|
//#endregion
|
|
44
44
|
export { CollapseType, SiderContextProps, SiderEmits, SiderEmitsProps, SiderProps, SiderSlots, SiderState, SiderTheme, Sider as default, useSiderCtx };
|
package/dist/layout/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import Layout, { BasicProps } from "./layout.js";
|
|
2
2
|
import { SiderEmits, SiderProps, SiderSlots, useSiderCtx } from "./Sider.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue100 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/layout/index.d.ts
|
|
6
6
|
declare const useLayoutSider: typeof useSiderCtx;
|
|
7
|
-
declare const LayoutHeader:
|
|
8
|
-
declare const LayoutFooter:
|
|
9
|
-
declare const LayoutContent:
|
|
10
|
-
declare const LayoutSider:
|
|
7
|
+
declare const LayoutHeader: vue100.DefineSetupFnComponent<BasicProps, {}, {}, BasicProps & {}, vue100.PublicProps>;
|
|
8
|
+
declare const LayoutFooter: vue100.DefineSetupFnComponent<BasicProps, {}, {}, BasicProps & {}, vue100.PublicProps>;
|
|
9
|
+
declare const LayoutContent: vue100.DefineSetupFnComponent<BasicProps, {}, {}, BasicProps & {}, vue100.PublicProps>;
|
|
10
|
+
declare const LayoutSider: vue100.DefineSetupFnComponent<SiderProps, SiderEmits, vue100.SlotsType<SiderSlots>, SiderProps, vue100.PublicProps>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { LayoutContent, LayoutFooter, LayoutHeader, type BasicProps as LayoutProps, LayoutSider, type SiderProps, Layout as default, useLayoutSider };
|
package/dist/layout/layout.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue57 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/layout/layout.d.ts
|
|
5
5
|
interface GeneratorProps {
|
|
@@ -11,9 +11,9 @@ interface BasicProps extends ComponentBaseProps {
|
|
|
11
11
|
suffixCls?: string;
|
|
12
12
|
hasSider?: boolean;
|
|
13
13
|
}
|
|
14
|
-
declare const Layout:
|
|
15
|
-
declare const Header:
|
|
16
|
-
declare const Footer:
|
|
17
|
-
declare const Content:
|
|
14
|
+
declare const Layout: vue57.DefineSetupFnComponent<BasicProps, {}, {}, BasicProps & {}, vue57.PublicProps>;
|
|
15
|
+
declare const Header: vue57.DefineSetupFnComponent<BasicProps, {}, {}, BasicProps & {}, vue57.PublicProps>;
|
|
16
|
+
declare const Footer: vue57.DefineSetupFnComponent<BasicProps, {}, {}, BasicProps & {}, vue57.PublicProps>;
|
|
17
|
+
declare const Content: vue57.DefineSetupFnComponent<BasicProps, {}, {}, BasicProps & {}, vue57.PublicProps>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { BasicProps, Content, Footer, GeneratorProps, Header, Layout 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 vue436 from "vue";
|
|
4
4
|
import { CSSProperties } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/layout/style/index.d.ts
|
|
@@ -95,6 +95,6 @@ interface ComponentToken {
|
|
|
95
95
|
interface LayoutToken extends FullToken<'Layout'> {}
|
|
96
96
|
declare const prepareComponentToken: GetDefaultToken<'Layout'>;
|
|
97
97
|
declare const DEPRECATED_TOKENS: [keyof ComponentToken, keyof ComponentToken][];
|
|
98
|
-
declare const _default: (prefixCls:
|
|
98
|
+
declare const _default: (prefixCls: vue436.Ref<string>, rootCls?: vue436.Ref<string | undefined>) => readonly [vue436.Ref<string, string>, vue436.ComputedRef<string | undefined>];
|
|
99
99
|
//#endregion
|
|
100
100
|
export { ComponentToken, DEPRECATED_TOKENS, LayoutToken, _default as default, prepareComponentToken };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue136 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/layout/style/sider.d.ts
|
|
4
|
-
declare const _default: (prefixCls:
|
|
4
|
+
declare const _default: (prefixCls: vue136.Ref<string>, rootCls?: vue136.Ref<string | undefined>) => readonly [vue136.Ref<string, string>, vue136.ComputedRef<string | undefined>];
|
|
5
5
|
//#endregion
|
|
6
6
|
export { _default as default };
|
package/dist/locale/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import "../tour/index.js";
|
|
|
14
14
|
import { TransferLocale as TransferLocale$1 } from "../transfer/interface.js";
|
|
15
15
|
import "../transfer/index.js";
|
|
16
16
|
import { UploadLocale } from "../upload/interface.js";
|
|
17
|
-
import * as
|
|
17
|
+
import * as vue98 from "vue";
|
|
18
18
|
import { Ref } from "vue";
|
|
19
19
|
|
|
20
20
|
//#region src/locale/index.d.ts
|
|
@@ -77,7 +77,7 @@ interface Locale {
|
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
79
|
declare function useLocaleProvider(props: LocaleContext): void;
|
|
80
|
-
declare const LocaleProvider:
|
|
80
|
+
declare const LocaleProvider: vue98.DefineSetupFnComponent<LocaleProviderProps, {}, {}, LocaleProviderProps & {}, vue98.PublicProps>;
|
|
81
81
|
declare function useLocaleContext(): LocaleContext;
|
|
82
82
|
//#endregion
|
|
83
83
|
export { ANT_MARK, Locale, LocaleContext, LocaleContextProps, LocaleProvider, LocaleProviderProps, useLocaleContext, useLocaleProvider };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Locale } from "./index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue683 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/locale/useLocale.d.ts
|
|
5
5
|
type LocaleComponentName = Exclude<keyof Locale, 'locale'>;
|
|
6
|
-
declare function useLocale<C extends LocaleComponentName = LocaleComponentName>(componentName: C, defaultLocale?: Locale[C] | (() => Locale[C])):
|
|
6
|
+
declare function useLocale<C extends LocaleComponentName = LocaleComponentName>(componentName: C, defaultLocale?: Locale[C] | (() => Locale[C])): vue683.ComputedRef<any>[];
|
|
7
7
|
//#endregion
|
|
8
8
|
export { LocaleComponentName, useLocale as default };
|
|
@@ -5,7 +5,7 @@ import { RowProps } from "../grid/row.js";
|
|
|
5
5
|
import "../grid/index.js";
|
|
6
6
|
import { MasonryItemType } from "./MasonryItem.js";
|
|
7
7
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
8
|
-
import * as
|
|
8
|
+
import * as vue119 from "vue";
|
|
9
9
|
import { CSSProperties, SlotsType } from "vue";
|
|
10
10
|
|
|
11
11
|
//#region src/masonry/Masonry.d.ts
|
|
@@ -63,8 +63,8 @@ interface MasonryConstructor {
|
|
|
63
63
|
}[]) => void;
|
|
64
64
|
$slots: MasonrySlots<T>;
|
|
65
65
|
};
|
|
66
|
-
install: (app:
|
|
66
|
+
install: (app: vue119.App) => void;
|
|
67
67
|
}
|
|
68
|
-
declare const Masonry:
|
|
68
|
+
declare const Masonry: vue119.DefineSetupFnComponent<MasonryProps<any>, MasonryEmits, SlotsType<MasonrySlots<any>>, MasonryProps<any>, vue119.PublicProps>;
|
|
69
69
|
//#endregion
|
|
70
70
|
export { Gap, Key, MasonryClassNamesType, MasonryConstructor, MasonryEmits, MasonryEmitsProps, MasonryProps, MasonryRef, MasonrySemanticClassNames, MasonrySemanticName, MasonrySemanticStyles, MasonrySlots, MasonryStylesType, Masonry as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { VueNode } from "../_util/type.js";
|
|
1
|
+
import { VueNode as VueNode$1 } from "../_util/type.js";
|
|
2
2
|
import { MasonryProps } from "./Masonry.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue122 from "vue";
|
|
4
4
|
import { CSSProperties } from "vue";
|
|
5
5
|
import { Key } from "@v-c/util/dist/type";
|
|
6
6
|
|
|
@@ -9,7 +9,7 @@ interface MasonryItemType<T = any> {
|
|
|
9
9
|
key: Key;
|
|
10
10
|
column?: number;
|
|
11
11
|
height?: number;
|
|
12
|
-
children?: VueNode;
|
|
12
|
+
children?: VueNode$1;
|
|
13
13
|
data: T;
|
|
14
14
|
class?: string;
|
|
15
15
|
style?: CSSProperties;
|
|
@@ -23,6 +23,6 @@ interface MasonryItemProps extends Pick<MasonryProps, 'itemRender'> {
|
|
|
23
23
|
column: number;
|
|
24
24
|
onResize?: VoidFunction | null;
|
|
25
25
|
}
|
|
26
|
-
declare const MasonryItem:
|
|
26
|
+
declare const MasonryItem: vue122.DefineSetupFnComponent<MasonryItemProps, {}, {}, MasonryItemProps & {}, vue122.PublicProps>;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { MasonryItemType, MasonryItem as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue647 from "vue";
|
|
2
2
|
import { Ref } from "vue";
|
|
3
3
|
import { Key } from "@v-c/util/dist/type";
|
|
4
4
|
|
|
@@ -13,6 +13,6 @@ type ItemPositions = Map<Key, {
|
|
|
13
13
|
* Always get stable positions by order
|
|
14
14
|
* instead of dynamic adjust for next item height.
|
|
15
15
|
*/
|
|
16
|
-
declare function usePositions(itemHeights: Ref<ItemHeightData[]>, columnCount: Ref<number>, verticalGutter: Ref<number>): readonly [
|
|
16
|
+
declare function usePositions(itemHeights: Ref<ItemHeightData[]>, columnCount: Ref<number>, verticalGutter: Ref<number>): readonly [vue647.ComputedRef<ItemPositions>, vue647.ComputedRef<number>];
|
|
17
17
|
//#endregion
|
|
18
18
|
export { ItemHeightData, ItemPositions, usePositions as default };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { FullToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import { GenerateStyle } from "../../theme/interface/index.js";
|
|
3
3
|
import "../../theme/internal.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue320 from "vue";
|
|
5
5
|
import { CSSObject } from "@antdv-next/cssinjs";
|
|
6
6
|
|
|
7
7
|
//#region src/masonry/style/index.d.ts
|
|
8
8
|
interface ComponentToken {}
|
|
9
9
|
interface MasonryToken extends FullToken<'Masonry'> {}
|
|
10
10
|
declare const genMasonryStyle: GenerateStyle<MasonryToken, CSSObject>;
|
|
11
|
-
declare const _default: (prefixCls:
|
|
11
|
+
declare const _default: (prefixCls: vue320.Ref<string>, rootCls?: vue320.Ref<string | undefined>) => readonly [vue320.Ref<string, string>, vue320.ComputedRef<string | undefined>];
|
|
12
12
|
//#endregion
|
|
13
13
|
export { ComponentToken, MasonryToken, _default as default, genMasonryStyle };
|
package/dist/mentions/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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 { SizeType } from "../config-provider/SizeContext.js";
|
|
5
5
|
import { InputStatus } from "../_util/statusUtils.js";
|
|
6
6
|
import { ComponentBaseProps, Variant } from "../config-provider/context.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as vue35 from "vue";
|
|
8
8
|
import { App, CSSProperties, SlotsType } from "vue";
|
|
9
9
|
import { DataDrivenOptionProps, MentionsProps as MentionsProps$1, MentionsRef as MentionsRef$1, Option } from "@v-c/mentions";
|
|
10
10
|
|
|
@@ -12,7 +12,7 @@ import { DataDrivenOptionProps, MentionsProps as MentionsProps$1, MentionsRef as
|
|
|
12
12
|
type MentionPlacement = 'top' | 'bottom';
|
|
13
13
|
interface OptionProps {
|
|
14
14
|
value: string;
|
|
15
|
-
content?: VueNode;
|
|
15
|
+
content?: VueNode$1;
|
|
16
16
|
[key: string]: any;
|
|
17
17
|
}
|
|
18
18
|
type MentionSemanticName = keyof MentionSemanticClassNames & keyof MentionSemanticStyles;
|
|
@@ -31,7 +31,7 @@ interface MentionSemanticStyles {
|
|
|
31
31
|
type MentionsClassNamesType = SemanticClassNamesType<MentionProps, MentionSemanticClassNames>;
|
|
32
32
|
type MentionsStylesType = SemanticStylesType<MentionProps, MentionSemanticStyles>;
|
|
33
33
|
interface MentionsOptionProps extends DataDrivenOptionProps {
|
|
34
|
-
content?: VueNode;
|
|
34
|
+
content?: VueNode$1;
|
|
35
35
|
}
|
|
36
36
|
interface MentionProps extends Omit<MentionsProps$1, 'suffix' | 'classNames' | 'className' | 'styles' | 'onFocus' | 'onChange' | 'onBlur' | 'onSelect' | 'onPopupScroll' | 'onSearch'>, ComponentBaseProps, MentionsEmitsProps {
|
|
37
37
|
loading?: boolean;
|
|
@@ -51,7 +51,7 @@ interface MentionProps extends Omit<MentionsProps$1, 'suffix' | 'classNames' | '
|
|
|
51
51
|
index: number;
|
|
52
52
|
}) => any;
|
|
53
53
|
allowClear?: boolean | {
|
|
54
|
-
clearIcon?: VueNode;
|
|
54
|
+
clearIcon?: VueNode$1;
|
|
55
55
|
};
|
|
56
56
|
disabled?: boolean;
|
|
57
57
|
}
|
|
@@ -91,7 +91,7 @@ interface MentionsEntity {
|
|
|
91
91
|
prefix: string;
|
|
92
92
|
value: string;
|
|
93
93
|
}
|
|
94
|
-
declare const InternalMentions:
|
|
94
|
+
declare const InternalMentions: vue35.DefineSetupFnComponent<MentionProps, MentionsEmits, SlotsType<MentionsSlots>, MentionProps, vue35.PublicProps>;
|
|
95
95
|
declare const Mentions: typeof InternalMentions & {
|
|
96
96
|
Option: typeof Option;
|
|
97
97
|
getMentions: (value: string, config?: MentionsConfig) => MentionsEntity[];
|
package/dist/mentions/index.js
CHANGED
|
@@ -2,6 +2,7 @@ import { devUseWarning, isDev } from "../_util/warning.js";
|
|
|
2
2
|
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
3
|
import { useSize } from "../config-provider/hooks/useSize.js";
|
|
4
4
|
import { getAttrStyleAndClass as getAttrStyleAndClass$1, useMergeSemantic, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
5
|
+
import { useZIndex } from "../_util/hooks/useZIndex.js";
|
|
5
6
|
import { getSlotPropsFnRun, toPropsRefs as toPropsRefs$1 } from "../_util/tools.js";
|
|
6
7
|
import useCSSVarCls_default from "../config-provider/hooks/useCSSVarCls.js";
|
|
7
8
|
import { useDisabledContext } from "../config-provider/DisabledContext.js";
|
|
@@ -95,6 +96,7 @@ const Mentions = /* @__PURE__ */ defineComponent((props, { slots, emit, expose,
|
|
|
95
96
|
const handlePopupScroll = (event) => {
|
|
96
97
|
emit("popupScroll", event);
|
|
97
98
|
};
|
|
99
|
+
const [mentionsZIndex] = useZIndex("SelectLike", computed(() => props.styles?.popup?.zIndex));
|
|
98
100
|
const notFoundContent = computed(() => {
|
|
99
101
|
if (props.notFoundContent !== void 0) return props.notFoundContent;
|
|
100
102
|
return renderEmpty?.value?.("Select") || createVNode(DefaultRenderEmpty, { "componentName": "Select" }, null);
|
|
@@ -160,9 +162,13 @@ const Mentions = /* @__PURE__ */ defineComponent((props, { slots, emit, expose,
|
|
|
160
162
|
variant: clsx({ [`${prefixCls.value}-${mergedVariant.value}`]: enableVariantCls.value }, getStatusClassNames(prefixCls.value, mergedStatus.value)),
|
|
161
163
|
affixWrapper: hashId.value
|
|
162
164
|
};
|
|
165
|
+
const popupStyle = mergedStyles.value.popup;
|
|
163
166
|
const mergedStylesValue = {
|
|
164
167
|
textarea: mergedStyles.value.textarea,
|
|
165
|
-
popup:
|
|
168
|
+
popup: {
|
|
169
|
+
...popupStyle,
|
|
170
|
+
zIndex: popupStyle?.zIndex ?? mentionsZIndex.value
|
|
171
|
+
},
|
|
166
172
|
suffix: mergedStyles.value.suffix
|
|
167
173
|
};
|
|
168
174
|
const restProps = omit(props, omitKeys);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SharedComponentToken } from "../../input/style/token.js";
|
|
2
2
|
import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
3
3
|
import "../../theme/internal.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue718 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/mentions/style/index.d.ts
|
|
7
7
|
interface ComponentToken extends SharedComponentToken {
|
|
@@ -22,6 +22,6 @@ interface ComponentToken extends SharedComponentToken {
|
|
|
22
22
|
controlItemWidth: number | string;
|
|
23
23
|
}
|
|
24
24
|
declare const prepareComponentToken: GetDefaultToken<'Mentions'>;
|
|
25
|
-
declare const _default: (prefixCls:
|
|
25
|
+
declare const _default: (prefixCls: vue718.Ref<string>, rootCls?: vue718.Ref<string | undefined>) => readonly [vue718.Ref<string, string>, vue718.ComputedRef<string | undefined>];
|
|
26
26
|
//#endregion
|
|
27
27
|
export { ComponentToken, _default as default, prepareComponentToken };
|