antdv-next 1.3.3 → 1.3.4
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/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/is.d.ts +4 -0
- package/dist/_util/is.js +9 -0
- package/dist/_util/responsiveObserver.d.ts +2 -2
- package/dist/_util/statusUtils.d.ts +1 -1
- package/dist/_util/tools.d.ts +14 -1
- package/dist/_util/tools.js +29 -2
- package/dist/_util/vueNode.d.ts +2 -7
- 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 +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 +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 +12861 -12583
- package/dist/antd-with-locales.js +80 -80
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +10489 -10224
- package/dist/antd.js +77 -77
- 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 +5 -4
- package/dist/auto-complete/index.js +5 -13
- package/dist/avatar/Avatar.d.ts +2 -2
- package/dist/avatar/AvatarContext.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 +3 -3
- package/dist/badge/style/index.d.ts +2 -2
- package/dist/badge/style/ribbon.d.ts +2 -2
- package/dist/border-beam/BorderBeam.d.ts +3 -3
- package/dist/border-beam/hooks/useBorderSize.d.ts +2 -2
- package/dist/border-beam/style/index.d.ts +2 -2
- package/dist/breadcrumb/Breadcrumb.d.ts +3 -3
- package/dist/breadcrumb/BreadcrumbItem.d.ts +3 -3
- 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 +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/generateCalendar.js +3 -2
- package/dist/calendar/index.d.ts +2 -2
- package/dist/calendar/style/index.d.ts +2 -2
- package/dist/card/Card.d.ts +2 -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/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/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/collapse/Collapse.d.ts +2 -2
- package/dist/collapse/Collapse.js +7 -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 +2 -1
- package/dist/components.js +4 -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/generateSinglePicker.d.ts +7 -7
- 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/util.d.ts +3 -3
- package/dist/descriptions/Cell.d.ts +2 -2
- package/dist/descriptions/Cell.js +4 -1
- package/dist/descriptions/Item.d.ts +2 -2
- package/dist/descriptions/Row.d.ts +2 -2
- package/dist/descriptions/hooks/useItems.d.ts +10 -10
- package/dist/descriptions/hooks/useRow.d.ts +2 -2
- package/dist/descriptions/index.d.ts +2 -2
- 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 +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/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 +4 -4
- package/dist/form/Form.js +52 -9
- 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/FormItem/index.js +11 -4
- package/dist/form/FormItemInput.d.ts +2 -2
- package/dist/form/FormItemLabel.d.ts +3 -3
- package/dist/form/context.d.ts +7 -6
- package/dist/form/hooks/useForm.d.ts +28 -1
- package/dist/form/hooks/useForm.js +60 -1
- package/dist/form/hooks/useVariant.d.ts +2 -2
- package/dist/form/index.d.ts +2 -1
- package/dist/form/index.js +4 -1
- 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 +2 -2
- package/dist/image/hooks/usePreviewConfig.d.ts +9 -9
- package/dist/image/index.d.ts +3 -3
- package/dist/image/style/index.d.ts +2 -2
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -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 +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-number/index.d.ts +2 -2
- 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/en_GB.js +12 -1
- 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 +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/MenuItemGroup.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 +2 -2
- package/dist/menu/style/index.d.ts +2 -2
- package/dist/menu/style/vertical.js +3 -2
- package/dist/message/PureList.d.ts +3 -3
- package/dist/message/PurePanel.d.ts +3 -3
- package/dist/message/style/index.d.ts +5 -5
- package/dist/message/useMessage.d.ts +3 -3
- package/dist/modal/ConfirmDialog.d.ts +4 -4
- package/dist/modal/ConfirmDialog.js +15 -0
- package/dist/modal/Modal.d.ts +2 -2
- package/dist/modal/Modal.js +5 -0
- package/dist/modal/PurePanel.d.ts +2 -2
- package/dist/modal/PurePanel.js +5 -0
- 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/confirm.js +5 -0
- 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/PureList.d.ts +3 -3
- package/dist/notification/PurePanel.d.ts +3 -3
- package/dist/notification/style/index.d.ts +5 -5
- package/dist/notification/useNotification.d.ts +3 -3
- package/dist/notification/useNotification.js +3 -1
- package/dist/package.js +1 -1
- 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/PurePanel.js +3 -2
- package/dist/popconfirm/index.d.ts +3 -3
- package/dist/popconfirm/index.js +3 -2
- package/dist/popconfirm/style/index.d.ts +2 -2
- package/dist/popover/PurePanel.d.ts +4 -4
- package/dist/popover/PurePanel.js +4 -3
- package/dist/popover/index.d.ts +2 -2
- package/dist/popover/index.js +2 -1
- 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/radio/style/index.js +68 -2
- package/dist/rate/index.d.ts +2 -2
- 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 +6 -6
- 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/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/slider/style/index.js +1 -0
- 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/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 +2 -2
- 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/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/splitter/style/index.js +1 -1
- 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 +2 -2
- package/dist/steps/style/index.d.ts +2 -2
- package/dist/style/index.js +14 -5
- package/dist/switch/index.d.ts +2 -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/TableMeasureRowContext.d.ts +3 -3
- package/dist/table/hooks/useFilter/FilterDropdown.d.ts +3 -3
- package/dist/table/hooks/useFilter/FilterSearch.d.ts +2 -2
- package/dist/table/hooks/useFilter/FilterWrapper.d.ts +3 -3
- 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 +2 -2
- 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 +2 -2
- package/dist/theme/index.d.ts +4 -4
- package/dist/theme/util/alias.js +3 -3
- package/dist/theme/util/genStyleUtils.d.ts +6 -6
- package/dist/time-picker/index.d.ts +4 -4
- package/dist/timeline/Timeline.d.ts +2 -2
- 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 +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/panelRender.d.ts +2 -2
- package/dist/tour/style/index.d.ts +2 -2
- package/dist/tour/style/index.js +1 -0
- 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 +2 -2
- 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 +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/Upload.js +6 -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/watermark/context.d.ts +2 -2
- package/dist/watermark/index.d.ts +2 -2
- package/package.json +8 -8
- package/web-tags.json +944 -924
- package/web-types.json +2926 -2886
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 vue278 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: vue278.DefineSetupFnComponent<AppProps, {}, {}, AppProps & {}, vue278.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 vue489 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: vue489.DefineSetupFnComponent<AppConfig, {}, {}, AppConfig & {}, vue489.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 vue141 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: vue141.Ref<string>, rootCls?: vue141.Ref<string | undefined>) => readonly [vue141.Ref<string, string>, vue141.ComputedRef<string | undefined>];
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ComponentToken, _default as default, prepareComponentToken };
|
|
@@ -2,8 +2,8 @@ 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 { InputStatus } from "../_util/statusUtils.js";
|
|
5
|
-
import { InternalSelectProps, SelectPopupSemanticClassNames, SelectPopupSemanticStyles, SelectSlots } from "../select/index.js";
|
|
6
|
-
import * as
|
|
5
|
+
import { InternalSelectProps, SearchConfig, SelectPopupSemanticClassNames, SelectPopupSemanticStyles, SelectSlots } from "../select/index.js";
|
|
6
|
+
import * as vue473 from "vue";
|
|
7
7
|
import { App, CSSProperties, SlotsType } from "vue";
|
|
8
8
|
import { Option, SelectProps } from "@v-c/select";
|
|
9
9
|
|
|
@@ -36,7 +36,7 @@ type AutoCompleteStylesType = SemanticStylesType<AutoCompleteProps, AutoComplete
|
|
|
36
36
|
popup?: SelectPopupSemanticStyles;
|
|
37
37
|
}>;
|
|
38
38
|
type RcEventKeys = 'onClear' | 'onKeyUp' | 'onKeyDown' | 'onBlur' | 'onClick' | 'onActive' | 'onChange' | 'onDeselect' | 'onInputKeyDown' | 'onMouseDown' | 'onMouseLeave' | 'onMouseEnter' | 'onFocus' | 'onPopupScroll' | 'onPopupVisibleChange' | 'onSelect' | 'onSearch';
|
|
39
|
-
interface AutoCompleteProps extends Omit<InternalSelectProps, 'loading' | 'mode' | 'optionLabelProp' | 'labelInValue' | 'classes' | 'styles' | 'getInputElement' | 'getRawInputElement' | RcEventKeys>, AutoCompleteEmitsProps {
|
|
39
|
+
interface AutoCompleteProps extends Omit<InternalSelectProps, 'loading' | 'mode' | 'optionLabelProp' | 'labelInValue' | 'classes' | 'styles' | 'getInputElement' | 'getRawInputElement' | 'showSearch' | 'optionFilterProp' | 'filterSort' | RcEventKeys>, AutoCompleteEmitsProps {
|
|
40
40
|
/** @deprecated Please use `options` instead */
|
|
41
41
|
dataSource?: DataSourceItemType[];
|
|
42
42
|
status?: InputStatus;
|
|
@@ -54,6 +54,7 @@ interface AutoCompleteProps extends Omit<InternalSelectProps, 'loading' | 'mode'
|
|
|
54
54
|
popupRender?: (menu: VueNode$1) => any;
|
|
55
55
|
/** @deprecated Please use `styles.popup.root` instead */
|
|
56
56
|
dropdownStyle?: CSSProperties;
|
|
57
|
+
showSearch?: boolean | Pick<SearchConfig, 'filterOption' | 'onSearch'>;
|
|
57
58
|
}
|
|
58
59
|
interface AutoCompleteEmits {
|
|
59
60
|
'openChange': (open: boolean) => void;
|
|
@@ -108,7 +109,7 @@ interface AutoCompleteSlots {
|
|
|
108
109
|
maxTagPlaceholder?: SelectSlots['maxTagPlaceholder'];
|
|
109
110
|
notFoundContent?: SelectSlots['notFoundContent'];
|
|
110
111
|
}
|
|
111
|
-
declare const InternalAutoComplete:
|
|
112
|
+
declare const InternalAutoComplete: vue473.DefineSetupFnComponent<AutoCompleteProps, AutoCompleteEmits, SlotsType<AutoCompleteSlots>, AutoCompleteProps, vue473.PublicProps>;
|
|
112
113
|
declare const AutoComplete: typeof InternalAutoComplete & {
|
|
113
114
|
Option: typeof Option;
|
|
114
115
|
install: (app: App) => void;
|
|
@@ -233,6 +233,11 @@ const InternalAutoComplete = /* @__PURE__ */ defineComponent((props, { slots, em
|
|
|
233
233
|
type: Object,
|
|
234
234
|
required: false
|
|
235
235
|
},
|
|
236
|
+
showSearch: {
|
|
237
|
+
type: [Boolean, Object],
|
|
238
|
+
required: false,
|
|
239
|
+
default: void 0
|
|
240
|
+
},
|
|
236
241
|
prefix: {
|
|
237
242
|
type: [
|
|
238
243
|
Function,
|
|
@@ -301,11 +306,6 @@ const InternalAutoComplete = /* @__PURE__ */ defineComponent((props, { slots, em
|
|
|
301
306
|
type: Object,
|
|
302
307
|
required: false
|
|
303
308
|
},
|
|
304
|
-
showSearch: {
|
|
305
|
-
type: [Boolean, Object],
|
|
306
|
-
required: false,
|
|
307
|
-
default: void 0
|
|
308
|
-
},
|
|
309
309
|
searchValue: {
|
|
310
310
|
type: String,
|
|
311
311
|
required: false
|
|
@@ -320,14 +320,6 @@ const InternalAutoComplete = /* @__PURE__ */ defineComponent((props, { slots, em
|
|
|
320
320
|
required: false,
|
|
321
321
|
default: void 0
|
|
322
322
|
},
|
|
323
|
-
filterSort: {
|
|
324
|
-
type: Function,
|
|
325
|
-
required: false
|
|
326
|
-
},
|
|
327
|
-
optionFilterProp: {
|
|
328
|
-
type: String,
|
|
329
|
-
required: false
|
|
330
|
-
},
|
|
331
323
|
options: {
|
|
332
324
|
type: Array,
|
|
333
325
|
required: false
|
package/dist/avatar/Avatar.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VueNode as VueNode$1 } 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 vue245 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: vue245.DefineSetupFnComponent<AvatarProps, AvatarEmits, SlotsType<AvatarSlots>, AvatarProps, vue245.PublicProps>;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { AvatarEmits, AvatarEmitsProps, AvatarProps, AvatarSlots, Avatar as default };
|
|
@@ -12,7 +12,7 @@ interface AvatarContextType {
|
|
|
12
12
|
shape?: 'circle' | 'square';
|
|
13
13
|
}
|
|
14
14
|
declare function useAvatarContext(): Ref<{
|
|
15
|
-
size?: number |
|
|
15
|
+
size?: number | "default" | SizeType | {
|
|
16
16
|
xxxl?: number | undefined;
|
|
17
17
|
xxl?: number | undefined;
|
|
18
18
|
xl?: number | undefined;
|
|
@@ -23,7 +23,7 @@ declare function useAvatarContext(): Ref<{
|
|
|
23
23
|
};
|
|
24
24
|
shape?: "circle" | "square" | undefined;
|
|
25
25
|
}, AvatarContextType | {
|
|
26
|
-
size?: number |
|
|
26
|
+
size?: number | "default" | SizeType | {
|
|
27
27
|
xxxl?: number | undefined;
|
|
28
28
|
xxl?: number | undefined;
|
|
29
29
|
xl?: number | undefined;
|
|
@@ -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 vue242 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: vue242.DefineSetupFnComponent<AvatarGroupProps, {}, {}, AvatarGroupProps & {}, vue242.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 vue173 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: vue173.Ref<string>, rootCls?: vue173.Ref<string | undefined>) => readonly [vue173.Ref<string, string>, vue173.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 vue487 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: vue487.DefineSetupFnComponent<RibbonProps, EmptyEmit, SlotsType<RibbonSlots>, RibbonProps, vue487.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 vue477 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: vue477.DefineSetupFnComponent<ScrollNumberProps, EmptyEmit, SlotsType<ScrollNumberSlots>, ScrollNumberProps, vue477.PublicProps>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { ScrollNumberProps, ScrollNumberSlots, _default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue409 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: vue409.DefineSetupFnComponent<SingleNumberProps, {}, {}, SingleNumberProps & {}, vue409.PublicProps>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { SingleNumberProps, _default as default };
|
package/dist/badge/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { SizeType } from "../config-provider/SizeContext.js";
|
|
|
7
7
|
import { PresetStatusColorType } from "../_util/colors.js";
|
|
8
8
|
import _default, { RibbonProps, RibbonSlots } from "./Ribbon.js";
|
|
9
9
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
10
|
-
import * as
|
|
10
|
+
import * as vue737 from "vue";
|
|
11
11
|
import { CSSProperties, SlotsType } from "vue";
|
|
12
12
|
import { LiteralUnion } from "@v-c/util/dist/type";
|
|
13
13
|
|
|
@@ -46,11 +46,11 @@ interface BadgeSlots {
|
|
|
46
46
|
count?: () => any;
|
|
47
47
|
text?: () => any;
|
|
48
48
|
}
|
|
49
|
-
declare const InternalBadge:
|
|
49
|
+
declare const InternalBadge: vue737.DefineSetupFnComponent<BadgeProps, EmptyEmit, SlotsType<BadgeSlots>, BadgeProps, vue737.PublicProps>;
|
|
50
50
|
declare const Badge: typeof InternalBadge & {
|
|
51
51
|
Ribbon: typeof _default;
|
|
52
52
|
};
|
|
53
|
-
declare const BadgeRibbon:
|
|
53
|
+
declare const BadgeRibbon: vue737.DefineSetupFnComponent<RibbonProps, EmptyEmit, SlotsType<RibbonSlots>, RibbonProps, vue737.PublicProps>;
|
|
54
54
|
type BadgeRibbonProps = RibbonProps;
|
|
55
55
|
//#endregion
|
|
56
56
|
export { BadgeClassNamesType, BadgeProps, BadgeRibbon, BadgeRibbonProps, BadgeSemanticClassNames, BadgeSemanticName, BadgeSemanticStyles, BadgeSlots, BadgeStylesType, Badge as default };
|
|
@@ -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 vue155 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 */
|
|
@@ -109,6 +109,6 @@ interface BadgeToken extends FullToken<'Badge'> {
|
|
|
109
109
|
}
|
|
110
110
|
declare function prepareToken(token: Parameters<GenStyleFn<'Badge'>>[0]): BadgeToken;
|
|
111
111
|
declare const prepareComponentToken: GetDefaultToken<'Badge'>;
|
|
112
|
-
declare const _default: (prefixCls:
|
|
112
|
+
declare const _default: (prefixCls: vue155.Ref<string>, rootCls?: vue155.Ref<string | undefined>) => readonly [vue155.Ref<string, string>, vue155.ComputedRef<string | undefined>];
|
|
113
113
|
//#endregion
|
|
114
114
|
export { BadgeToken, ComponentToken, _default as default, prepareComponentToken, prepareToken };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue165 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/badge/style/ribbon.d.ts
|
|
4
|
-
declare const _default: (prefixCls:
|
|
4
|
+
declare const _default: (prefixCls: vue165.Ref<string>, rootCls?: vue165.Ref<string | undefined>) => readonly [vue165.Ref<string, string>, vue165.ComputedRef<string | undefined>];
|
|
5
5
|
//#endregion
|
|
6
6
|
export { _default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BorderBeamColor, BorderBeamGradient } from "./util.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue415 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/border-beam/BorderBeam.d.ts
|
|
@@ -12,8 +12,8 @@ interface BorderBeamProps {
|
|
|
12
12
|
interface BorderBeamSlots {
|
|
13
13
|
default?: () => any;
|
|
14
14
|
}
|
|
15
|
-
declare const BorderBeam:
|
|
15
|
+
declare const BorderBeam: vue415.DefineSetupFnComponent<BorderBeamProps, Record<string, never>, SlotsType<BorderBeamSlots>, BorderBeamProps & {
|
|
16
16
|
[x: `on${Capitalize<string>}`]: ((...args: unknown[]) => any) | undefined;
|
|
17
|
-
},
|
|
17
|
+
}, vue415.PublicProps>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { type BorderBeamColor, type BorderBeamGradient, BorderBeamProps, BorderBeamSlots, BorderBeam as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue191 from "vue";
|
|
2
2
|
import { Ref } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/border-beam/hooks/useBorderSize.d.ts
|
|
@@ -7,6 +7,6 @@ interface BorderInfo {
|
|
|
7
7
|
borderWidth: BorderWidth;
|
|
8
8
|
borderRadius: string;
|
|
9
9
|
}
|
|
10
|
-
declare function useBorderSize(domNode: Ref<HTMLElement | SVGElement | null | undefined>):
|
|
10
|
+
declare function useBorderSize(domNode: Ref<HTMLElement | SVGElement | null | undefined>): vue191.ShallowRef<BorderInfo, BorderInfo>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { BorderInfo, BorderWidth, useBorderSize as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue187 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/border-beam/style/index.d.ts
|
|
4
4
|
type ComponentToken = object;
|
|
5
|
-
declare const _default: (prefixCls:
|
|
5
|
+
declare const _default: (prefixCls: vue187.Ref<string>, rootCls?: vue187.Ref<string | undefined>) => readonly [vue187.Ref<string, string>, vue187.ComputedRef<string | undefined>];
|
|
6
6
|
//#endregion
|
|
7
7
|
export { ComponentToken, _default as default };
|
|
@@ -5,7 +5,7 @@ import { DropdownProps } from "../dropdown/dropdown.js";
|
|
|
5
5
|
import "../dropdown/index.js";
|
|
6
6
|
import _default, { BreadcrumbItemProps, MenuItem } from "./BreadcrumbItem.js";
|
|
7
7
|
import _default$1 from "./BreadcrumbSeparator.js";
|
|
8
|
-
import * as
|
|
8
|
+
import * as vue456 from "vue";
|
|
9
9
|
import { CSSProperties, SlotsType } from "vue";
|
|
10
10
|
import { Key } from "@v-c/util/dist/type";
|
|
11
11
|
|
|
@@ -105,8 +105,8 @@ interface BreadcrumbSlots {
|
|
|
105
105
|
menu: MenuItem;
|
|
106
106
|
}) => any;
|
|
107
107
|
}
|
|
108
|
-
declare const Breadcrumb:
|
|
108
|
+
declare const Breadcrumb: vue456.DefineSetupFnComponent<BreadcrumbProps<AnyObject>, BreadcrumbEmits, SlotsType<BreadcrumbSlots>, BreadcrumbProps<AnyObject> & {
|
|
109
109
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
110
|
-
},
|
|
110
|
+
}, vue456.PublicProps>;
|
|
111
111
|
//#endregion
|
|
112
112
|
export { BreadcrumbClassNamesType, BreadcrumbEmits, BreadcrumbEmitsProps, _default as BreadcrumbItem, BreadcrumbItemRenderContext, BreadcrumbItemType, BreadcrumbProps, BreadcrumbSemanticClassNames, BreadcrumbSemanticName, BreadcrumbSemanticStyles, _default$1 as BreadcrumbSeparator, BreadcrumbSeparatorType, BreadcrumbSlots, BreadcrumbStylesType, InternalRouteType, ItemType, Breadcrumb as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VueNode as VueNode$1 } from "../_util/type.js";
|
|
2
2
|
import { DropdownProps } from "../dropdown/dropdown.js";
|
|
3
3
|
import "../dropdown/index.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue450 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: vue450.DefineSetupFnComponent<Omit<BreadcrumbItemProps, "key">, {}, {}, Omit<BreadcrumbItemProps, "key"> & {}, vue450.PublicProps>;
|
|
34
|
+
declare const BreadcrumbItem: vue450.DefineSetupFnComponent<Omit<BreadcrumbItemProps, "key">, {}, {}, Omit<BreadcrumbItemProps, "key"> & {}, vue450.PublicProps>;
|
|
35
35
|
declare const _default: typeof BreadcrumbItem & {
|
|
36
36
|
/** @internal */__ANT_BREADCRUMB_ITEM: boolean;
|
|
37
37
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue564 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/breadcrumb/BreadcrumbSeparator.d.ts
|
|
4
|
-
declare const BreadcrumbSeparator:
|
|
4
|
+
declare const BreadcrumbSeparator: vue564.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue564.PublicProps>;
|
|
5
5
|
declare const _default: typeof BreadcrumbSeparator & {
|
|
6
6
|
/** @internal */__ANT_BREADCRUMB_SEPARATOR: boolean;
|
|
7
7
|
};
|
|
@@ -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 vue297 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: vue297.Ref<string>, rootCls?: vue297.Ref<string | undefined>) => readonly [vue297.Ref<string, string>, vue297.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_runtime25 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_runtime25.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 vue419 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: vue419.DefineSetupFnComponent<ButtonProps, ButtonEmits, SlotsType<ButtonSlots>, ButtonProps, vue419.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 vue545 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: vue545.DefineSetupFnComponent<DefaultLoadingIconProps, {}, {}, DefaultLoadingIconProps & {}, vue545.PublicProps>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { DefaultLoadingIconProps, DefaultLoadingIcon as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue1069 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: vue1069.DefineSetupFnComponent<IconWrapperProps, {}, {}, IconWrapperProps & {}, vue1069.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 "link" | "text";
|
|
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 vue290 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/button/style/compact.d.ts
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: vue290.DefineComponent<vue290.ExtractPropTypes<{
|
|
5
5
|
prefixCls: StringConstructor;
|
|
6
6
|
rootCls: StringConstructor;
|
|
7
|
-
}>, () => null, {}, {}, {},
|
|
7
|
+
}>, () => null, {}, {}, {}, vue290.ComponentOptionsMixin, vue290.ComponentOptionsMixin, {}, string, vue290.PublicProps, Readonly<vue290.ExtractPropTypes<{
|
|
8
8
|
prefixCls: StringConstructor;
|
|
9
9
|
rootCls: StringConstructor;
|
|
10
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string,
|
|
10
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, vue290.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 vue252 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/button/style/index.d.ts
|
|
5
|
-
declare const _default: (prefixCls:
|
|
5
|
+
declare const _default: (prefixCls: vue252.Ref<string>, rootCls?: vue252.Ref<string | undefined>) => readonly [vue252.Ref<string, string>, vue252.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 vue673 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: vue673.DefineSetupFnComponent<CalendarHeaderProps<any>, {}, {}, CalendarHeaderProps<any> & {}, vue673.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 vue566 from "vue";
|
|
7
7
|
import { CSSProperties, SlotsType } from "vue";
|
|
8
8
|
import { GenerateConfig } from "@v-c/picker/generate/index";
|
|
9
9
|
|
|
@@ -104,6 +104,6 @@ interface CalendarEmitsProps<DateType = AnyObject> {
|
|
|
104
104
|
onPanelChange?: CalendarEmits<DateType>['panelChange'];
|
|
105
105
|
onSelect?: CalendarEmits<DateType>['select'];
|
|
106
106
|
}
|
|
107
|
-
declare function generateCalendar<DateType extends AnyObject>(generateConfig: GenerateConfig<DateType>):
|
|
107
|
+
declare function generateCalendar<DateType extends AnyObject>(generateConfig: GenerateConfig<DateType>): vue566.DefineSetupFnComponent<CalendarProps<DateType>, CalendarEmits<DateType>, SlotsType<CalendarSlots>, CalendarProps<DateType>, vue566.PublicProps>;
|
|
108
108
|
//#endregion
|
|
109
109
|
export { CalendarClassNamesType, CalendarEmits, CalendarEmitsProps, CalendarMode, CalendarProps, CalendarSemanticClassNames, CalendarSemanticName, CalendarSemanticStyles, CalendarSlots, CalendarStylesType, HeaderRender, SelectInfo, calendarProps, generateCalendar as default };
|
|
@@ -89,9 +89,10 @@ function generateCalendar(generateConfig) {
|
|
|
89
89
|
emit("panelChange", date, newMode);
|
|
90
90
|
};
|
|
91
91
|
const triggerChange = (date) => {
|
|
92
|
+
const prevValue = mergedValue.value;
|
|
92
93
|
if (props.value === void 0) innerValue.value = date;
|
|
93
|
-
if (!isSameDate(date,
|
|
94
|
-
if (panelMode.value === "date" && !isSameMonth(date,
|
|
94
|
+
if (!isSameDate(date, prevValue, generateConfig)) {
|
|
95
|
+
if (panelMode.value === "date" && !isSameMonth(date, prevValue, generateConfig) || panelMode.value === "month" && !isSameYear(date, prevValue, generateConfig)) triggerPanelChange(date, mergedMode.value);
|
|
95
96
|
emit("update:value", date);
|
|
96
97
|
emit("change", date);
|
|
97
98
|
}
|
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 vue557 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: vue557.DefineSetupFnComponent<CalendarProps<Dayjs>, CalendarEmits<Dayjs>, vue557.SlotsType<CalendarSlots>, CalendarProps<Dayjs>, vue557.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 vue260 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: vue260.Ref<string>, rootCls?: vue260.Ref<string | undefined>) => readonly [vue260.Ref<string, string>, vue260.ComputedRef<string | undefined>];
|
|
67
67
|
//#endregion
|
|
68
68
|
export { ComponentToken, _default as default, genCalendarStyles, prepareComponentToken };
|
package/dist/card/Card.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ 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 vue618 from "vue";
|
|
7
7
|
import { CSSProperties, SlotsType } from "vue";
|
|
8
8
|
|
|
9
9
|
//#region src/card/Card.d.ts
|
|
@@ -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: vue618.DefineSetupFnComponent<CardProps, CardEmits, SlotsType<CardSlots>, CardProps, vue618.PublicProps>;
|
|
85
85
|
//#endregion
|
|
86
86
|
export { CardClassNamesType, CardEmits, CardEmitsProps, CardProps, CardSemanticClassNames, CardSemanticName, CardSemanticStyles, CardSize, CardSlots, CardStylesType, CardTabListType, CardType, Card as default };
|