antdv-next 1.1.0 → 1.1.1
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/gapSize.js +1 -0
- package/dist/_util/hooks/useClosable.d.ts +2 -2
- 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/vnode/index.d.ts +9 -0
- package/dist/_util/vnode/index.js +154 -0
- package/dist/_util/vueNode.d.ts +5 -5
- 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/zindexContext.d.ts +3 -3
- package/dist/affix/index.d.ts +3 -3
- package/dist/affix/style/index.d.ts +2 -2
- package/dist/alert/Alert.d.ts +2 -2
- package/dist/alert/style/index.d.ts +2 -2
- package/dist/anchor/Anchor.d.ts +2 -2
- package/dist/anchor/AnchorLink.d.ts +2 -2
- package/dist/anchor/style/index.d.ts +2 -2
- package/dist/antd-with-locales.esm.js +11087 -11526
- package/dist/antd-with-locales.js +82 -82
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +8918 -9373
- package/dist/antd.js +80 -80
- package/dist/app/App.d.ts +2 -2
- package/dist/app/context.d.ts +2 -2
- package/dist/app/style/index.d.ts +2 -2
- package/dist/auto-complete/index.d.ts +2 -2
- package/dist/avatar/Avatar.d.ts +2 -2
- package/dist/avatar/AvatarGroup.d.ts +2 -2
- package/dist/avatar/style/index.d.ts +2 -2
- package/dist/badge/Ribbon.d.ts +2 -2
- package/dist/badge/ScrollNumber.d.ts +2 -2
- package/dist/badge/SingleNumber.d.ts +2 -2
- package/dist/badge/index.d.ts +5 -4
- package/dist/badge/index.js +4 -2
- package/dist/badge/style/index.d.ts +2 -2
- package/dist/badge/style/ribbon.d.ts +2 -2
- package/dist/breadcrumb/Breadcrumb.d.ts +6 -5
- package/dist/breadcrumb/Breadcrumb.js +7 -4
- package/dist/breadcrumb/BreadcrumbItem.d.ts +3 -3
- package/dist/breadcrumb/BreadcrumbItem.js +1 -1
- package/dist/breadcrumb/BreadcrumbSeparator.d.ts +2 -2
- package/dist/breadcrumb/BreadcrumbSeparator.js +1 -1
- package/dist/breadcrumb/index.d.ts +3 -2
- package/dist/breadcrumb/index.js +3 -1
- package/dist/breadcrumb/style/index.d.ts +2 -2
- package/dist/breadcrumb/useItemRender.d.ts +2 -2
- package/dist/button/Button.d.ts +2 -2
- 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/calendar/Header.d.ts +2 -2
- package/dist/calendar/generateCalendar.d.ts +2 -2
- package/dist/calendar/index.d.ts +2 -2
- package/dist/calendar/locale/es_US.d.ts +2 -0
- package/dist/calendar/locale/es_US.js +7 -0
- package/dist/calendar/style/index.d.ts +2 -2
- package/dist/card/Card.d.ts +3 -3
- package/dist/card/Card.js +3 -2
- package/dist/card/CardGrid.d.ts +2 -2
- package/dist/card/CardMeta.d.ts +2 -2
- package/dist/card/style/index.d.ts +2 -2
- 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 +2 -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 +2 -2
- package/dist/checkbox/style/index.d.ts +4 -4
- package/dist/checkbox/style/index.js +1 -0
- package/dist/collapse/Collapse.d.ts +2 -2
- package/dist/collapse/CollapsePanel.d.ts +2 -2
- 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 +2 -2
- package/dist/color-picker/style/index.d.ts +2 -2
- package/dist/components.d.ts +16 -13
- package/dist/components.js +9 -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 +15 -15
- 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/date-picker/PickerButton.d.ts +2 -2
- package/dist/date-picker/generatePicker/SuffixIcon.d.ts +2 -2
- package/dist/date-picker/generatePicker/generateRangePicker.d.ts +2 -2
- package/dist/date-picker/generatePicker/generateRangePicker.js +11 -1
- package/dist/date-picker/generatePicker/generateSinglePicker.d.ts +7 -7
- package/dist/date-picker/generatePicker/generateSinglePicker.js +11 -1
- 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/locale/es_US.d.ts +7 -0
- package/dist/date-picker/locale/es_US.js +15 -0
- package/dist/date-picker/style/index.d.ts +2 -2
- package/dist/date-picker/util.d.ts +3 -3
- package/dist/descriptions/Cell.d.ts +2 -2
- package/dist/descriptions/Cell.js +2 -4
- package/dist/descriptions/Item.d.ts +11 -3
- package/dist/descriptions/Item.js +73 -1
- package/dist/descriptions/Row.d.ts +2 -2
- package/dist/descriptions/hooks/useItems.d.ts +8 -8
- package/dist/descriptions/hooks/useRow.d.ts +2 -2
- package/dist/descriptions/hooks/useRow.js +4 -2
- package/dist/descriptions/index.d.ts +7 -5
- package/dist/descriptions/index.js +19 -4
- package/dist/descriptions/style/index.d.ts +2 -2
- package/dist/descriptions/style/index.js +2 -2
- package/dist/divider/index.d.ts +2 -2
- package/dist/divider/index.js +2 -6
- package/dist/divider/style/index.d.ts +2 -2
- package/dist/drawer/DrawerPanel.d.ts +2 -2
- package/dist/drawer/index.d.ts +3 -3
- 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/empty/empty.d.ts +2 -2
- package/dist/empty/index.d.ts +5 -5
- 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/flex/style/index.js +1 -0
- package/dist/float-button/BackTop.d.ts +2 -2
- package/dist/float-button/FloatButton.d.ts +2 -2
- package/dist/float-button/FloatButtonGroup.d.ts +2 -2
- package/dist/float-button/PurePanel.d.ts +2 -2
- 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 +2 -2
- package/dist/form/Form.d.ts +2 -2
- package/dist/form/Form.js +3 -0
- 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 +6 -2
- package/dist/form/FormItem/index.js +32 -8
- package/dist/form/FormItemInput.d.ts +2 -2
- package/dist/form/FormItemLabel.d.ts +3 -3
- package/dist/form/FormItemLabel.js +2 -2
- 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/form/utils/messages.js +21 -21
- package/dist/form/utils/validateUtil.js +1 -0
- 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 +2 -2
- package/dist/image/hooks/usePreviewConfig.d.ts +10 -10
- package/dist/image/index.d.ts +3 -3
- package/dist/image/style/index.d.ts +2 -2
- package/dist/index.d.ts +18 -15
- package/dist/index.js +5 -1
- package/dist/input/Group.d.ts +3 -3
- package/dist/input/Input.d.ts +2 -2
- package/dist/input/OTP/OTPInput.d.ts +3 -3
- package/dist/input/OTP/index.d.ts +2 -2
- package/dist/input/Password.d.ts +2 -2
- package/dist/input/Search.d.ts +2 -2
- package/dist/input/TextArea.d.ts +2 -2
- package/dist/input/index.d.ts +7 -7
- 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-number/index.d.ts +2 -2
- package/dist/input-number/style/index.d.ts +2 -2
- package/dist/input-number/style/index.js +12 -0
- 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/es_US.d.ts +6 -0
- package/dist/locale/es_US.js +15 -0
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/useLocale.d.ts +2 -2
- package/dist/masonry/Masonry.d.ts +2 -2
- package/dist/masonry/MasonryItem.d.ts +2 -2
- package/dist/masonry/hooks/usePositions.d.ts +2 -2
- package/dist/masonry/style/index.d.ts +2 -2
- package/dist/mentions/index.d.ts +2 -2
- 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 +2 -2
- package/dist/menu/OverrideContext.d.ts +3 -3
- package/dist/menu/SubMenu.d.ts +2 -2
- package/dist/menu/index.d.ts +3 -3
- package/dist/menu/menu.d.ts +5 -5
- package/dist/menu/style/index.d.ts +2 -2
- package/dist/message/PurePanel.d.ts +3 -3
- package/dist/message/style/index.d.ts +2 -2
- package/dist/message/useMessage.d.ts +3 -3
- package/dist/modal/ConfirmDialog.d.ts +4 -4
- package/dist/modal/Modal.d.ts +2 -2
- package/dist/modal/PurePanel.d.ts +2 -2
- package/dist/modal/components/ConfirmCancelBtn.d.ts +2 -2
- package/dist/modal/components/ConfirmOkBtn.d.ts +2 -2
- package/dist/modal/components/NormalCancelBtn.d.ts +2 -2
- package/dist/modal/components/NormalOkBtn.d.ts +2 -2
- package/dist/modal/interface.d.ts +2 -2
- package/dist/modal/shared.d.ts +4 -4
- package/dist/modal/style/confirm.d.ts +4 -4
- package/dist/modal/style/index.d.ts +2 -2
- package/dist/modal/useModal/HookModal.d.ts +3 -3
- package/dist/notification/PurePanel.d.ts +3 -3
- package/dist/notification/style/index.d.ts +2 -2
- package/dist/notification/style/pure-panel.d.ts +4 -4
- package/dist/notification/useNotification.d.ts +3 -3
- package/dist/package.js +1 -1
- package/dist/package.json.d.ts +1 -0
- package/dist/pagination/Pagination.d.ts +2 -2
- package/dist/pagination/style/bordered.d.ts +4 -4
- package/dist/pagination/style/index.d.ts +2 -2
- package/dist/popconfirm/PurePanel.d.ts +3 -3
- package/dist/popconfirm/index.d.ts +2 -2
- package/dist/popconfirm/style/index.d.ts +2 -2
- package/dist/popover/PurePanel.d.ts +4 -4
- package/dist/popover/index.d.ts +2 -2
- 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/Line.js +1 -1
- package/dist/progress/Steps.d.ts +2 -2
- package/dist/progress/index.d.ts +2 -2
- package/dist/progress/progress.d.ts +3 -3
- package/dist/progress/progress.js +4 -3
- 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/group.js +2 -1
- 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/radio/style/index.js +1 -0
- package/dist/rate/index.d.ts +4 -3
- package/dist/rate/index.js +9 -7
- package/dist/rate/style/index.d.ts +2 -2
- package/dist/result/index.d.ts +2 -2
- package/dist/result/noFound.d.ts +2 -2
- package/dist/result/serverError.d.ts +2 -2
- package/dist/result/style/index.d.ts +2 -2
- package/dist/result/unauthorized.d.ts +2 -2
- package/dist/segmented/index.d.ts +2 -2
- package/dist/segmented/style/index.d.ts +2 -2
- package/dist/select/index.d.ts +4 -4
- package/dist/select/style/index.d.ts +2 -2
- 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/Avatar.js +11 -8
- package/dist/skeleton/Button.d.ts +7 -3
- package/dist/skeleton/Button.js +7 -5
- package/dist/skeleton/Element.d.ts +7 -3
- package/dist/skeleton/Element.js +7 -1
- package/dist/skeleton/Image.d.ts +2 -2
- package/dist/skeleton/Input.d.ts +7 -3
- package/dist/skeleton/Input.js +7 -5
- 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 +3 -3
- package/dist/slider/index.js +1 -1
- 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 +4 -4
- 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 +2 -2
- package/dist/space/style/index.js +2 -0
- 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 +2 -2
- package/dist/spin/index.d.ts +8 -7
- package/dist/spin/index.js +7 -5
- 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/SplitBar.d.ts +2 -2
- package/dist/splitter/SplitBar.js +1 -12
- package/dist/splitter/Splitter.d.ts +2 -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/style/index.d.ts +2 -2
- package/dist/statistic/Number.d.ts +2 -2
- package/dist/statistic/Statistic.d.ts +2 -2
- package/dist/statistic/Timer.d.ts +2 -2
- package/dist/statistic/index.d.ts +2 -2
- package/dist/statistic/style/index.d.ts +2 -2
- package/dist/steps/PanelArrow.d.ts +2 -2
- package/dist/steps/ProgressIcon.d.ts +2 -2
- package/dist/steps/index.d.ts +4 -3
- package/dist/steps/index.js +3 -2
- package/dist/steps/style/index.d.ts +2 -2
- package/dist/style/motion/motion.js +1 -7
- package/dist/switch/index.d.ts +4 -3
- package/dist/switch/index.js +4 -2
- 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 +4 -3
- package/dist/table/Table.d.ts +2 -2
- package/dist/table/TableMeasureRowContext.d.ts +3 -3
- package/dist/table/hooks/useFilter/FilterDropdown.d.ts +3 -3
- package/dist/table/hooks/useFilter/FilterWrapper.d.ts +3 -3
- package/dist/table/hooks/useFilter/index.d.ts +12 -12
- 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/bordered.js +1 -1
- package/dist/table/style/index.d.ts +2 -2
- package/dist/table/style/size.js +1 -1
- package/dist/tabs/TabPane.d.ts +2 -2
- package/dist/tabs/hooks/useLegacyItems.d.ts +2 -2
- package/dist/tabs/index.d.ts +2 -2
- package/dist/tabs/index.js +2 -1
- package/dist/tabs/style/index.d.ts +2 -2
- package/dist/tag/CheckableTag.d.ts +2 -2
- package/dist/tag/CheckableTagGroup.d.ts +2 -2
- package/dist/tag/hooks/useColor.d.ts +2 -2
- package/dist/tag/index.d.ts +2 -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 +3 -3
- package/dist/theme/index.d.ts +4 -4
- package/dist/theme/useToken.js +4 -1
- package/dist/theme/util/genStyleUtils.d.ts +14 -14
- package/dist/time-picker/index.d.ts +4 -4
- package/dist/time-picker/index.js +25 -14
- package/dist/timeline/Timeline.d.ts +3 -2
- package/dist/timeline/Timeline.js +4 -1
- package/dist/timeline/TimelineItem.d.ts +16 -0
- package/dist/timeline/TimelineItem.js +90 -0
- package/dist/timeline/index.d.ts +2 -1
- package/dist/timeline/index.js +2 -1
- 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 +2 -2
- 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 +1 -1
- package/dist/tour/panelRender.d.ts +2 -2
- package/dist/tour/panelRender.js +2 -8
- package/dist/tour/style/index.d.ts +2 -2
- package/dist/transfer/Actions.d.ts +2 -2
- package/dist/transfer/ListBody.d.ts +2 -2
- package/dist/transfer/ListItem.d.ts +2 -2
- package/dist/transfer/Section.d.ts +2 -2
- package/dist/transfer/Transfer.d.ts +2 -2
- package/dist/transfer/hooks/useData.d.ts +2 -2
- package/dist/transfer/search.d.ts +2 -2
- package/dist/transfer/style/index.d.ts +2 -2
- package/dist/tree/DirectoryTree.d.ts +2 -2
- package/dist/tree/Tree.d.ts +3 -6
- package/dist/tree/Tree.js +2 -1
- package/dist/tree/style/index.d.ts +2 -2
- package/dist/tree/utils/iconUtil.d.ts +2 -2
- package/dist/tree-select/index.d.ts +3 -3
- 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 +3 -3
- package/dist/typography/Base/EllipsisTooltip.d.ts +2 -2
- package/dist/typography/Base/index.d.ts +2 -2
- package/dist/typography/Editable.d.ts +2 -2
- package/dist/typography/Link.d.ts +2 -2
- package/dist/typography/Paragraph.d.ts +2 -2
- package/dist/typography/Text.d.ts +2 -2
- package/dist/typography/Title.d.ts +2 -2
- 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/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/style/list.js +1 -0
- package/dist/upload/style/picture.js +1 -1
- package/dist/watermark/context.d.ts +2 -2
- package/dist/watermark/index.d.ts +2 -2
- package/global.d.ts +4 -0
- package/package.json +9 -8
- package/web-tags.json +1676 -1663
- package/web-types.json +4942 -4885
package/dist/app/App.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
2
2
|
import { AppConfig } from "./context.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue104 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/app/App.d.ts
|
|
6
6
|
interface AppProps extends ComponentBaseProps, AppConfig {
|
|
7
7
|
component?: any;
|
|
8
8
|
}
|
|
9
|
-
declare const App:
|
|
9
|
+
declare const App: vue104.DefineSetupFnComponent<AppProps, {}, {}, AppProps & {}, vue104.PublicProps>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { AppProps, App as default };
|
package/dist/app/context.d.ts
CHANGED
|
@@ -2,14 +2,14 @@ import { NotificationConfig, NotificationInstance } from "../notification/interf
|
|
|
2
2
|
import { ConfigOptions, MessageInstance } from "../message/interface.js";
|
|
3
3
|
import { HookAPI } from "../modal/useModal/types.js";
|
|
4
4
|
import "../modal/useModal/index.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue65 from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/app/context.d.ts
|
|
8
8
|
interface AppConfig {
|
|
9
9
|
message?: ConfigOptions;
|
|
10
10
|
notification?: NotificationConfig;
|
|
11
11
|
}
|
|
12
|
-
declare const AppConfigProvider:
|
|
12
|
+
declare const AppConfigProvider: vue65.DefineSetupFnComponent<AppConfig, {}, {}, AppConfig & {}, vue65.PublicProps>;
|
|
13
13
|
declare function useAppConfig(): AppConfig;
|
|
14
14
|
interface useAppProps {
|
|
15
15
|
message: MessageInstance;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue941 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/app/style/index.d.ts
|
|
6
6
|
interface ComponentToken {}
|
|
7
7
|
declare const prepareComponentToken: GetDefaultToken<'App'>;
|
|
8
|
-
declare const _default: (prefixCls:
|
|
8
|
+
declare const _default: (prefixCls: vue941.Ref<string>, rootCls?: vue941.Ref<string | undefined>) => readonly [vue941.Ref<string, string>, vue941.ComputedRef<string | undefined>];
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ComponentToken, _default as default, prepareComponentToken };
|
|
@@ -3,7 +3,7 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
|
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { InputStatus } from "../_util/statusUtils.js";
|
|
5
5
|
import { InternalSelectProps, SelectPopupSemanticClassNames, SelectPopupSemanticStyles } from "../select/index.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue180 from "vue";
|
|
7
7
|
import { App, CSSProperties, SlotsType } from "vue";
|
|
8
8
|
import { Option, SelectProps } from "@v-c/select";
|
|
9
9
|
|
|
@@ -101,7 +101,7 @@ interface AutoCompleteEmitsProps {
|
|
|
101
101
|
interface AutoCompleteSlots {
|
|
102
102
|
default?: () => any;
|
|
103
103
|
}
|
|
104
|
-
declare const InternalAutoComplete:
|
|
104
|
+
declare const InternalAutoComplete: vue180.DefineSetupFnComponent<AutoCompleteProps, AutoCompleteEmits, SlotsType<AutoCompleteSlots>, AutoCompleteProps, vue180.PublicProps>;
|
|
105
105
|
declare const AutoComplete: typeof InternalAutoComplete & {
|
|
106
106
|
Option: typeof Option;
|
|
107
107
|
install: (app: App) => void;
|
package/dist/avatar/Avatar.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VueNode } from "../_util/type.js";
|
|
2
2
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
3
3
|
import { AvatarSize } from "./AvatarContext.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue9 from "vue";
|
|
5
5
|
import { SlotsType } from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/avatar/Avatar.d.ts
|
|
@@ -36,6 +36,6 @@ interface AvatarSlots {
|
|
|
36
36
|
src: () => any;
|
|
37
37
|
default: () => any;
|
|
38
38
|
}
|
|
39
|
-
declare const Avatar:
|
|
39
|
+
declare const Avatar: vue9.DefineSetupFnComponent<AvatarProps, AvatarEmits, SlotsType<AvatarSlots>, AvatarProps, vue9.PublicProps>;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { AvatarEmits, AvatarEmitsProps, AvatarProps, AvatarSlots, Avatar as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PopoverProps } from "../popover/index.js";
|
|
2
2
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
3
3
|
import { AvatarSize } from "./AvatarContext.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue132 from "vue";
|
|
5
5
|
import { CSSProperties } from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/avatar/AvatarGroup.d.ts
|
|
@@ -19,6 +19,6 @@ interface AvatarGroupProps extends ComponentBaseProps {
|
|
|
19
19
|
size?: AvatarSize;
|
|
20
20
|
shape?: 'circle' | 'square';
|
|
21
21
|
}
|
|
22
|
-
declare const AvatarGroup:
|
|
22
|
+
declare const AvatarGroup: vue132.DefineSetupFnComponent<AvatarGroupProps, {}, {}, AvatarGroupProps & {}, vue132.PublicProps>;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { AvatarGroupProps, AvatarGroup as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue863 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/avatar/style/index.d.ts
|
|
6
6
|
interface ComponentToken {
|
|
@@ -66,6 +66,6 @@ interface ComponentToken {
|
|
|
66
66
|
groupBorderColor: string;
|
|
67
67
|
}
|
|
68
68
|
declare const prepareComponentToken: GetDefaultToken<'Avatar'>;
|
|
69
|
-
declare const _default: (prefixCls:
|
|
69
|
+
declare const _default: (prefixCls: vue863.Ref<string>, rootCls?: vue863.Ref<string | undefined>) => readonly [vue863.Ref<string, string>, vue863.ComputedRef<string | undefined>];
|
|
70
70
|
//#endregion
|
|
71
71
|
export { ComponentToken, _default as default, prepareComponentToken };
|
package/dist/badge/Ribbon.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
|
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { PresetColorType } from "../_util/colors.js";
|
|
5
5
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue248 from "vue";
|
|
7
7
|
import { CSSProperties, SlotsType } from "vue";
|
|
8
8
|
import { LiteralUnion } from "@v-c/util/dist/type";
|
|
9
9
|
|
|
@@ -33,6 +33,6 @@ interface RibbonSlots {
|
|
|
33
33
|
default?: () => any;
|
|
34
34
|
text?: () => any;
|
|
35
35
|
}
|
|
36
|
-
declare const _default:
|
|
36
|
+
declare const _default: vue248.DefineSetupFnComponent<RibbonProps, EmptyEmit, SlotsType<RibbonSlots>, RibbonProps, vue248.PublicProps>;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { RibbonClassNamesType, RibbonProps, RibbonSemanticClassNames, RibbonSemanticName, RibbonSemanticStyles, RibbonSlots, RibbonStylesType, _default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EmptyEmit } from "../_util/type.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue190 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/badge/ScrollNumber.d.ts
|
|
@@ -13,6 +13,6 @@ interface ScrollNumberProps {
|
|
|
13
13
|
interface ScrollNumberSlots {
|
|
14
14
|
default?: () => any;
|
|
15
15
|
}
|
|
16
|
-
declare const _default:
|
|
16
|
+
declare const _default: vue190.DefineSetupFnComponent<ScrollNumberProps, EmptyEmit, SlotsType<ScrollNumberSlots>, ScrollNumberProps, vue190.PublicProps>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { ScrollNumberProps, ScrollNumberSlots, _default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue174 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/badge/SingleNumber.d.ts
|
|
4
4
|
interface SingleNumberProps {
|
|
@@ -6,6 +6,6 @@ interface SingleNumberProps {
|
|
|
6
6
|
value: string;
|
|
7
7
|
count: number;
|
|
8
8
|
}
|
|
9
|
-
declare const _default:
|
|
9
|
+
declare const _default: vue174.DefineSetupFnComponent<SingleNumberProps, {}, {}, SingleNumberProps & {}, vue174.PublicProps>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { SingleNumberProps, _default as default };
|
package/dist/badge/index.d.ts
CHANGED
|
@@ -3,10 +3,11 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
|
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { PresetColorKey } from "../theme/interface/presetColors.js";
|
|
5
5
|
import "../theme/interface/index.js";
|
|
6
|
+
import { SizeType } from "../config-provider/SizeContext.js";
|
|
6
7
|
import { PresetStatusColorType } from "../_util/colors.js";
|
|
7
8
|
import _default, { RibbonProps, RibbonSlots } from "./Ribbon.js";
|
|
8
9
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
9
|
-
import * as
|
|
10
|
+
import * as vue164 from "vue";
|
|
10
11
|
import { CSSProperties, SlotsType } from "vue";
|
|
11
12
|
import { LiteralUnion } from "@v-c/util/dist/type";
|
|
12
13
|
|
|
@@ -34,7 +35,7 @@ interface BadgeProps extends ComponentBaseProps {
|
|
|
34
35
|
status?: PresetStatusColorType;
|
|
35
36
|
color?: LiteralUnion<PresetColorKey>;
|
|
36
37
|
text?: VueNode;
|
|
37
|
-
size?: '
|
|
38
|
+
size?: Exclude<SizeType, 'large'> | 'default';
|
|
38
39
|
offset?: [number | string, number | string];
|
|
39
40
|
title?: string;
|
|
40
41
|
classes?: BadgeClassNamesType;
|
|
@@ -45,11 +46,11 @@ interface BadgeSlots {
|
|
|
45
46
|
count?: () => any;
|
|
46
47
|
text?: () => any;
|
|
47
48
|
}
|
|
48
|
-
declare const InternalBadge:
|
|
49
|
+
declare const InternalBadge: vue164.DefineSetupFnComponent<BadgeProps, EmptyEmit, SlotsType<BadgeSlots>, BadgeProps, vue164.PublicProps>;
|
|
49
50
|
declare const Badge: typeof InternalBadge & {
|
|
50
51
|
Ribbon: typeof _default;
|
|
51
52
|
};
|
|
52
|
-
declare const BadgeRibbon:
|
|
53
|
+
declare const BadgeRibbon: vue164.DefineSetupFnComponent<RibbonProps, EmptyEmit, SlotsType<RibbonSlots>, RibbonProps, vue164.PublicProps>;
|
|
53
54
|
type BadgeRibbonProps = RibbonProps;
|
|
54
55
|
//#endregion
|
|
55
56
|
export { BadgeClassNamesType, BadgeProps, BadgeRibbon, BadgeRibbonProps, BadgeSemanticClassNames, BadgeSemanticName, BadgeSemanticStyles, BadgeSlots, BadgeStylesType, Badge as default };
|
package/dist/badge/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
1
2
|
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
2
3
|
import { useMergeSemantic, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
3
4
|
import { clsx as clsx$1, getSlotPropsFnRun, toPropsRefs as toPropsRefs$1 } from "../_util/tools.js";
|
|
@@ -23,6 +24,7 @@ const InternalBadge = /* @__PURE__ */ defineComponent((props, { slots, attrs, ex
|
|
|
23
24
|
const badgeRef = shallowRef();
|
|
24
25
|
expose({ badgeRef });
|
|
25
26
|
const [hashId, cssVarCls] = style_default(prefixCls);
|
|
27
|
+
if (isDev) devUseWarning("Badge").deprecated(props.size !== "default", "size=\"default\"", "size=\"medium\"");
|
|
26
28
|
const numberedDisplayCount = computed(() => {
|
|
27
29
|
const { count, overflowCount } = props;
|
|
28
30
|
return count > overflowCount ? `${overflowCount}+` : count;
|
|
@@ -207,7 +209,7 @@ const InternalBadge = /* @__PURE__ */ defineComponent((props, { slots, attrs, ex
|
|
|
207
209
|
default: void 0
|
|
208
210
|
},
|
|
209
211
|
size: {
|
|
210
|
-
type: String,
|
|
212
|
+
type: [String, null],
|
|
211
213
|
required: false
|
|
212
214
|
},
|
|
213
215
|
offset: {
|
|
@@ -237,7 +239,7 @@ const InternalBadge = /* @__PURE__ */ defineComponent((props, { slots, attrs, ex
|
|
|
237
239
|
}, {
|
|
238
240
|
count: null,
|
|
239
241
|
overflowCount: 99,
|
|
240
|
-
size: "
|
|
242
|
+
size: "medium"
|
|
241
243
|
}),
|
|
242
244
|
name: "ABadge",
|
|
243
245
|
inheritAttrs: false
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FullToken, GenStyleFn, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue867 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/badge/style/index.d.ts
|
|
6
6
|
/** Component only token. Which will handle additional calculation of alias token */
|
|
@@ -104,6 +104,6 @@ interface BadgeToken extends FullToken<'Badge'> {
|
|
|
104
104
|
}
|
|
105
105
|
declare function prepareToken(token: Parameters<GenStyleFn<'Badge'>>[0]): BadgeToken;
|
|
106
106
|
declare const prepareComponentToken: GetDefaultToken<'Badge'>;
|
|
107
|
-
declare const _default: (prefixCls:
|
|
107
|
+
declare const _default: (prefixCls: vue867.Ref<string>, rootCls?: vue867.Ref<string | undefined>) => readonly [vue867.Ref<string, string>, vue867.ComputedRef<string | undefined>];
|
|
108
108
|
//#endregion
|
|
109
109
|
export { BadgeToken, ComponentToken, _default as default, prepareComponentToken, prepareToken };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue859 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/badge/style/ribbon.d.ts
|
|
4
|
-
declare const _default: (prefixCls:
|
|
4
|
+
declare const _default: (prefixCls: vue859.Ref<string>, rootCls?: vue859.Ref<string | undefined>) => readonly [vue859.Ref<string, string>, vue859.ComputedRef<string | undefined>];
|
|
5
5
|
//#endregion
|
|
6
6
|
export { _default as default };
|
|
@@ -3,8 +3,9 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
|
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { DropdownProps } from "../dropdown/dropdown.js";
|
|
5
5
|
import "../dropdown/index.js";
|
|
6
|
-
import { BreadcrumbItemProps, MenuItem } from "./BreadcrumbItem.js";
|
|
7
|
-
import
|
|
6
|
+
import _default, { BreadcrumbItemProps, MenuItem } from "./BreadcrumbItem.js";
|
|
7
|
+
import _default$1 from "./BreadcrumbSeparator.js";
|
|
8
|
+
import * as vue264 from "vue";
|
|
8
9
|
import { CSSProperties, SlotsType } from "vue";
|
|
9
10
|
import { Key } from "@v-c/util/dist/type";
|
|
10
11
|
|
|
@@ -98,8 +99,8 @@ interface BreadcrumbSlots {
|
|
|
98
99
|
menu: MenuItem;
|
|
99
100
|
}) => any;
|
|
100
101
|
}
|
|
101
|
-
declare const Breadcrumb:
|
|
102
|
+
declare const Breadcrumb: vue264.DefineSetupFnComponent<BreadcrumbProps<AnyObject>, BreadcrumbEmits, SlotsType<BreadcrumbSlots>, BreadcrumbProps<AnyObject> & {
|
|
102
103
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
103
|
-
},
|
|
104
|
+
}, vue264.PublicProps>;
|
|
104
105
|
//#endregion
|
|
105
|
-
export { BreadcrumbClassNamesType, BreadcrumbEmits, BreadcrumbEmitsProps, BreadcrumbItemType, BreadcrumbProps, BreadcrumbSemanticClassNames, BreadcrumbSemanticName, BreadcrumbSemanticStyles, BreadcrumbSeparatorType, BreadcrumbSlots, BreadcrumbStylesType, InternalRouteType, ItemType, Breadcrumb as default };
|
|
106
|
+
export { BreadcrumbClassNamesType, BreadcrumbEmits, BreadcrumbEmitsProps, _default as BreadcrumbItem, BreadcrumbItemType, BreadcrumbProps, BreadcrumbSemanticClassNames, BreadcrumbSemanticName, BreadcrumbSemanticStyles, _default$1 as BreadcrumbSeparator, BreadcrumbSeparatorType, BreadcrumbSlots, BreadcrumbStylesType, InternalRouteType, ItemType, Breadcrumb as default };
|
|
@@ -6,7 +6,7 @@ import BreadcrumbSeparator_default from "./BreadcrumbSeparator.js";
|
|
|
6
6
|
import useItemRender from "./useItemRender.js";
|
|
7
7
|
import BreadcrumbItem_default, { InternalBreadcrumbItem } from "./BreadcrumbItem.js";
|
|
8
8
|
import style_default from "./style/index.js";
|
|
9
|
-
import { computed, createVNode, defineComponent, isVNode, mergeProps } from "vue";
|
|
9
|
+
import { cloneVNode, computed, createVNode, defineComponent, isVNode, mergeProps } from "vue";
|
|
10
10
|
import { clsx } from "@v-c/util";
|
|
11
11
|
import { filterEmpty } from "@v-c/util/dist/props-util";
|
|
12
12
|
import { DownOutlined } from "@antdv-next/icons";
|
|
@@ -107,8 +107,11 @@ const Breadcrumb = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit
|
|
|
107
107
|
const childrenLength = children.length;
|
|
108
108
|
crumbs = children.map((element, index) => {
|
|
109
109
|
if (!element || !isVNode(element)) return element;
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
const isLastItem = index === childrenLength - 1;
|
|
111
|
+
const isBreadcrumbItem = Boolean(element.type?.__ANT_BREADCRUMB_ITEM);
|
|
112
|
+
return cloneVNode(element, {
|
|
113
|
+
separator: isLastItem ? "" : mergedSeparator.value,
|
|
114
|
+
...isBreadcrumbItem ? { dropdownIcon: mergedDropdownIcon } : {},
|
|
112
115
|
key: index
|
|
113
116
|
});
|
|
114
117
|
});
|
|
@@ -192,4 +195,4 @@ Breadcrumb.install = (app) => {
|
|
|
192
195
|
var Breadcrumb_default = Breadcrumb;
|
|
193
196
|
|
|
194
197
|
//#endregion
|
|
195
|
-
export { Breadcrumb_default as default };
|
|
198
|
+
export { BreadcrumbItem_default as BreadcrumbItem, BreadcrumbSeparator_default as BreadcrumbSeparator, Breadcrumb_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VueNode } from "../_util/type.js";
|
|
2
2
|
import { DropdownProps } from "../dropdown/dropdown.js";
|
|
3
3
|
import "../dropdown/index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue176 from "vue";
|
|
5
5
|
import { CSSProperties } from "vue";
|
|
6
6
|
import { Key } from "@v-c/util/dist/type";
|
|
7
7
|
|
|
@@ -30,8 +30,8 @@ interface BreadcrumbItemProps extends SeparatorType {
|
|
|
30
30
|
class?: string;
|
|
31
31
|
style?: CSSProperties;
|
|
32
32
|
}
|
|
33
|
-
declare const InternalBreadcrumbItem:
|
|
34
|
-
declare const BreadcrumbItem:
|
|
33
|
+
declare const InternalBreadcrumbItem: vue176.DefineSetupFnComponent<Omit<BreadcrumbItemProps, "key">, {}, {}, Omit<BreadcrumbItemProps, "key"> & {}, vue176.PublicProps>;
|
|
34
|
+
declare const BreadcrumbItem: vue176.DefineSetupFnComponent<Omit<BreadcrumbItemProps, "key">, {}, {}, Omit<BreadcrumbItemProps, "key"> & {}, vue176.PublicProps>;
|
|
35
35
|
declare const _default: typeof BreadcrumbItem & {
|
|
36
36
|
/** @internal */__ANT_BREADCRUMB_ITEM: boolean;
|
|
37
37
|
};
|
|
@@ -110,7 +110,7 @@ const BreadcrumbItem = /* @__PURE__ */ defineComponent((props, { slots }) => {
|
|
|
110
110
|
let _slot;
|
|
111
111
|
const { href, ...restProps } = props;
|
|
112
112
|
const children = checkRenderNode(filterEmpty(slots?.default?.() ?? []));
|
|
113
|
-
return createVNode(InternalBreadcrumbItem, restProps, _isSlot(_slot = renderItem(prefixCls.value, restProps, children, href)) ? _slot : { default: () => [_slot] });
|
|
113
|
+
return createVNode(InternalBreadcrumbItem, mergeProps(restProps, { "prefixCls": prefixCls.value }), _isSlot(_slot = renderItem(prefixCls.value, restProps, children, href)) ? _slot : { default: () => [_slot] });
|
|
114
114
|
};
|
|
115
115
|
}, {
|
|
116
116
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue182 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/breadcrumb/BreadcrumbSeparator.d.ts
|
|
4
|
-
declare const BreadcrumbSeparator:
|
|
4
|
+
declare const BreadcrumbSeparator: vue182.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue182.PublicProps>;
|
|
5
5
|
declare const _default: typeof BreadcrumbSeparator & {
|
|
6
6
|
/** @internal */__ANT_BREADCRUMB_SEPARATOR: boolean;
|
|
7
7
|
};
|
|
@@ -17,7 +17,7 @@ const BreadcrumbSeparator = /* @__PURE__ */ defineComponent((_, { slots }) => {
|
|
|
17
17
|
}, [children.length === 1 ? children[0] === "" ? children : children[0] : children.length === 0 ? "/" : children]);
|
|
18
18
|
};
|
|
19
19
|
}, {
|
|
20
|
-
name: "
|
|
20
|
+
name: "ABreadcrumbSeparator",
|
|
21
21
|
inheritAttrs: false
|
|
22
22
|
});
|
|
23
23
|
BreadcrumbSeparator.__ANT_BREADCRUMB_SEPARATOR = true;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import { BreadcrumbItemProps, SeparatorType } from "./BreadcrumbItem.js";
|
|
1
|
+
import _default, { BreadcrumbItemProps, SeparatorType } from "./BreadcrumbItem.js";
|
|
2
|
+
import _default$1 from "./BreadcrumbSeparator.js";
|
|
2
3
|
import Breadcrumb, { BreadcrumbEmits, BreadcrumbProps, BreadcrumbSlots, ItemType } from "./Breadcrumb.js";
|
|
3
|
-
export { type BreadcrumbEmits, type BreadcrumbItemProps, type ItemType as BreadcrumbItemType, type BreadcrumbProps, type BreadcrumbSlots, type SeparatorType, Breadcrumb as default };
|
|
4
|
+
export { type BreadcrumbEmits, _default as BreadcrumbItem, type BreadcrumbItemProps, type ItemType as BreadcrumbItemType, type BreadcrumbProps, _default$1 as BreadcrumbSeparator, type BreadcrumbSlots, type SeparatorType, Breadcrumb as default };
|
package/dist/breadcrumb/index.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import BreadcrumbSeparator_default from "./BreadcrumbSeparator.js";
|
|
2
|
+
import BreadcrumbItem_default from "./BreadcrumbItem.js";
|
|
1
3
|
import Breadcrumb_default from "./Breadcrumb.js";
|
|
2
4
|
|
|
3
5
|
//#region src/breadcrumb/index.tsx
|
|
4
6
|
var breadcrumb_default = Breadcrumb_default;
|
|
5
7
|
|
|
6
8
|
//#endregion
|
|
7
|
-
export { breadcrumb_default as default };
|
|
9
|
+
export { BreadcrumbItem_default as BreadcrumbItem, BreadcrumbSeparator_default as BreadcrumbSeparator, breadcrumb_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue983 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/breadcrumb/style/index.d.ts
|
|
6
6
|
interface ComponentToken {
|
|
@@ -41,6 +41,6 @@ interface ComponentToken {
|
|
|
41
41
|
separatorColor: string;
|
|
42
42
|
}
|
|
43
43
|
declare const prepareComponentToken: GetDefaultToken<'Breadcrumb'>;
|
|
44
|
-
declare const _default: (prefixCls:
|
|
44
|
+
declare const _default: (prefixCls: vue983.Ref<string>, rootCls?: vue983.Ref<string | undefined>) => readonly [vue983.Ref<string, string>, vue983.ComputedRef<string | undefined>];
|
|
45
45
|
//#endregion
|
|
46
46
|
export { ComponentToken, _default as default, prepareComponentToken };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { VueNode } from "../_util/type.js";
|
|
2
2
|
import { BreadcrumbProps, ItemType } from "./Breadcrumb.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue_jsx_runtime4 from "vue/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/breadcrumb/useItemRender.d.ts
|
|
6
6
|
type AddParameters<TFunction extends (...args: any) => any, TParameters extends [...args: any]> = (...args: [...Parameters<TFunction>, ...TParameters]) => ReturnType<TFunction>;
|
|
7
7
|
type ItemRender = NonNullable<BreadcrumbProps['itemRender']>;
|
|
8
8
|
type InternalItemRenderParams = AddParameters<ItemRender, [href?: string, index?: number]>;
|
|
9
|
-
declare function renderItem(prefixCls: string, item: ItemType, children: VueNode, href?: string):
|
|
9
|
+
declare function renderItem(prefixCls: string, item: ItemType, children: VueNode, href?: string): vue_jsx_runtime4.JSX.Element | null;
|
|
10
10
|
declare function useItemRender(prefixCls: string, itemRender?: ItemRender, titleRender?: BreadcrumbProps['titleRender']): InternalItemRenderParams;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { useItemRender as default, renderItem };
|
package/dist/button/Button.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import "../_util/hooks/index.js";
|
|
|
4
4
|
import { SizeType } from "../config-provider/SizeContext.js";
|
|
5
5
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
6
6
|
import { ButtonColorType, ButtonHTMLType, ButtonShape, ButtonType, ButtonVariantType } from "./buttonHelper.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as vue288 from "vue";
|
|
8
8
|
import { CSSProperties, SlotsType } from "vue";
|
|
9
9
|
|
|
10
10
|
//#region src/button/Button.d.ts
|
|
@@ -63,7 +63,7 @@ interface ButtonSlots {
|
|
|
63
63
|
icon?: () => any;
|
|
64
64
|
loadingIcon?: () => any;
|
|
65
65
|
}
|
|
66
|
-
declare const InternalCompoundedButton:
|
|
66
|
+
declare const InternalCompoundedButton: vue288.DefineSetupFnComponent<ButtonProps, ButtonEmits, SlotsType<ButtonSlots>, ButtonProps, vue288.PublicProps>;
|
|
67
67
|
type CompoundedComponent = typeof InternalCompoundedButton & {
|
|
68
68
|
/** @internal */__ANT_BUTTON: boolean;
|
|
69
69
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue290 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/button/DefaultLoadingIcon.d.ts
|
|
4
4
|
interface DefaultLoadingIconProps {
|
|
@@ -7,6 +7,6 @@ interface DefaultLoadingIconProps {
|
|
|
7
7
|
loading?: boolean | object;
|
|
8
8
|
mount: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare const DefaultLoadingIcon:
|
|
10
|
+
declare const DefaultLoadingIcon: vue290.DefineSetupFnComponent<DefaultLoadingIconProps, {}, {}, DefaultLoadingIconProps & {}, vue290.PublicProps>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { DefaultLoadingIconProps, DefaultLoadingIcon as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue283 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/button/IconWrapper.d.ts
|
|
4
4
|
interface IconWrapperProps {
|
|
5
5
|
prefixCls: string;
|
|
6
6
|
}
|
|
7
|
-
declare const IconWrapper:
|
|
7
|
+
declare const IconWrapper: vue283.DefineSetupFnComponent<IconWrapperProps, {}, {}, IconWrapperProps & {}, vue283.PublicProps>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { IconWrapperProps, IconWrapper as default };
|
|
@@ -2,7 +2,7 @@ import { CSSProperties, VNodeChild } from "vue";
|
|
|
2
2
|
|
|
3
3
|
//#region src/button/buttonHelper.d.ts
|
|
4
4
|
declare const isTwoCNChar: (string: string) => boolean;
|
|
5
|
-
declare function isUnBorderedButtonVariant(type?: ButtonVariantType): type is "
|
|
5
|
+
declare function isUnBorderedButtonVariant(type?: ButtonVariantType): type is "text" | "link";
|
|
6
6
|
declare function spaceChildren(children: VNodeChild[], needInserted: boolean, style?: CSSProperties, className?: string): VNodeChild[];
|
|
7
7
|
declare const _ButtonTypes: readonly ["default", "primary", "dashed", "link", "text"];
|
|
8
8
|
type ButtonType = (typeof _ButtonTypes)[number];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue911 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/button/style/compact.d.ts
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: vue911.DefineComponent<vue911.ExtractPropTypes<{
|
|
5
5
|
prefixCls: StringConstructor;
|
|
6
6
|
rootCls: StringConstructor;
|
|
7
|
-
}>, () => null, {}, {}, {},
|
|
7
|
+
}>, () => null, {}, {}, {}, vue911.ComponentOptionsMixin, vue911.ComponentOptionsMixin, {}, string, vue911.PublicProps, Readonly<vue911.ExtractPropTypes<{
|
|
8
8
|
prefixCls: StringConstructor;
|
|
9
9
|
rootCls: StringConstructor;
|
|
10
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string,
|
|
10
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, vue911.ComponentProvideOptions, true, {}, any>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { _default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentToken } from "./token.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue918 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/button/style/index.d.ts
|
|
5
|
-
declare const _default: (prefixCls:
|
|
5
|
+
declare const _default: (prefixCls: vue918.Ref<string>, rootCls?: vue918.Ref<string | undefined>) => readonly [vue918.Ref<string, string>, vue918.ComputedRef<string | undefined>];
|
|
6
6
|
//#endregion
|
|
7
7
|
export { type ComponentToken, _default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CalendarMode, SelectInfo } from "./generateCalendar.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue184 from "vue";
|
|
3
3
|
import { CSSProperties } from "vue";
|
|
4
4
|
import { Locale } from "@v-c/picker";
|
|
5
5
|
import { GenerateConfig } from "@v-c/picker/generate";
|
|
@@ -18,6 +18,6 @@ interface CalendarHeaderProps<DateType> {
|
|
|
18
18
|
onChange: (date: DateType, source: SelectInfo['source']) => void;
|
|
19
19
|
onModeChange: (mode: CalendarMode) => void;
|
|
20
20
|
}
|
|
21
|
-
declare const CalendarHeader:
|
|
21
|
+
declare const CalendarHeader: vue184.DefineSetupFnComponent<CalendarHeaderProps<any>, {}, {}, CalendarHeaderProps<any> & {}, vue184.PublicProps>;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { CalendarHeaderProps, CalendarHeader as default };
|
|
@@ -3,7 +3,7 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
|
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import locale from "../date-picker/locale/en_US.js";
|
|
5
5
|
import "./locale/en_US.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue186 from "vue";
|
|
7
7
|
import { CSSProperties, SlotsType } from "vue";
|
|
8
8
|
import { GenerateConfig } from "@v-c/picker/generate/index";
|
|
9
9
|
|
|
@@ -102,6 +102,6 @@ interface CalendarEmitsProps<DateType = AnyObject> {
|
|
|
102
102
|
onPanelChange?: CalendarEmits<DateType>['panelChange'];
|
|
103
103
|
onSelect?: CalendarEmits<DateType>['select'];
|
|
104
104
|
}
|
|
105
|
-
declare function generateCalendar<DateType extends AnyObject>(generateConfig: GenerateConfig<DateType>):
|
|
105
|
+
declare function generateCalendar<DateType extends AnyObject>(generateConfig: GenerateConfig<DateType>): vue186.DefineSetupFnComponent<CalendarProps<DateType>, CalendarEmits<DateType>, SlotsType<CalendarSlots>, CalendarProps<DateType>, vue186.PublicProps>;
|
|
106
106
|
//#endregion
|
|
107
107
|
export { CalendarClassNamesType, CalendarEmits, CalendarEmitsProps, CalendarMode, CalendarProps, CalendarSemanticClassNames, CalendarSemanticName, CalendarSemanticStyles, CalendarSlots, CalendarStylesType, HeaderRender, SelectInfo, calendarProps, generateCalendar as default };
|
package/dist/calendar/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import generateCalendar, { CalendarEmits, CalendarMode, CalendarProps, CalendarSlots } from "./generateCalendar.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue217 from "vue";
|
|
3
3
|
import { Dayjs } from "dayjs";
|
|
4
4
|
|
|
5
5
|
//#region src/calendar/index.d.ts
|
|
6
|
-
declare const Calendar:
|
|
6
|
+
declare const Calendar: vue217.DefineSetupFnComponent<CalendarProps<Dayjs>, CalendarEmits<Dayjs>, vue217.SlotsType<CalendarSlots>, CalendarProps<Dayjs>, vue217.PublicProps>;
|
|
7
7
|
type CalendarType = typeof Calendar & {
|
|
8
8
|
generateCalendar: typeof generateCalendar;
|
|
9
9
|
};
|
|
@@ -3,7 +3,7 @@ import "../../date-picker/style/index.js";
|
|
|
3
3
|
import { FullToken, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
4
4
|
import { GenerateStyle } from "../../theme/interface/index.js";
|
|
5
5
|
import "../../theme/internal.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue300 from "vue";
|
|
7
7
|
import { CSSObject } from "@antdv-next/cssinjs";
|
|
8
8
|
|
|
9
9
|
//#region src/calendar/style/index.d.ts
|
|
@@ -63,6 +63,6 @@ interface CalendarToken extends FullToken<'Calendar'>, PickerPanelToken, PanelCo
|
|
|
63
63
|
}
|
|
64
64
|
declare const genCalendarStyles: GenerateStyle<CalendarToken, CSSObject>;
|
|
65
65
|
declare const prepareComponentToken: GetDefaultToken<'Calendar'>;
|
|
66
|
-
declare const _default: (prefixCls:
|
|
66
|
+
declare const _default: (prefixCls: vue300.Ref<string>, rootCls?: vue300.Ref<string | undefined>) => readonly [vue300.Ref<string, string>, vue300.ComputedRef<string | undefined>];
|
|
67
67
|
//#endregion
|
|
68
68
|
export { ComponentToken, _default as default, genCalendarStyles, prepareComponentToken };
|
package/dist/card/Card.d.ts
CHANGED
|
@@ -3,12 +3,12 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
|
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { Tab, TabsSlots } from "../tabs/index.js";
|
|
5
5
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue170 from "vue";
|
|
7
7
|
import { CSSProperties, SlotsType } from "vue";
|
|
8
8
|
|
|
9
9
|
//#region src/card/Card.d.ts
|
|
10
10
|
type CardType = 'inner';
|
|
11
|
-
type CardSize = '
|
|
11
|
+
type CardSize = 'small' | 'medium' | 'middle' | 'default';
|
|
12
12
|
interface CardTabListType extends Omit<Tab, 'label'> {
|
|
13
13
|
key: string;
|
|
14
14
|
/** @deprecated Please use `label` instead */
|
|
@@ -81,6 +81,6 @@ interface CardSlots {
|
|
|
81
81
|
tabLabelRender?: TabsSlots['labelRender'];
|
|
82
82
|
tabBarExtraContent?: () => any;
|
|
83
83
|
}
|
|
84
|
-
declare const Card:
|
|
84
|
+
declare const Card: vue170.DefineSetupFnComponent<CardProps, CardEmits, SlotsType<CardSlots>, CardProps, vue170.PublicProps>;
|
|
85
85
|
//#endregion
|
|
86
86
|
export { CardClassNamesType, CardEmits, CardEmitsProps, CardProps, CardSemanticClassNames, CardSemanticName, CardSemanticStyles, CardSize, CardSlots, CardStylesType, CardTabListType, CardType, Card as default };
|