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/package.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PaginationEmits, PaginationProps, PaginationSlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue77 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/pagination/Pagination.d.ts
|
|
@@ -10,6 +10,6 @@ interface PaginationEmitsProps {
|
|
|
10
10
|
'onUpdate:current'?: PaginationEmits['update:current'];
|
|
11
11
|
'onUpdate:pageSize'?: PaginationEmits['update:pageSize'];
|
|
12
12
|
}
|
|
13
|
-
declare const Pagination:
|
|
13
|
+
declare const Pagination: vue77.DefineSetupFnComponent<InternalPaginationProps, PaginationEmits, SlotsType<PaginationSlots>, InternalPaginationProps, vue77.PublicProps>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { InternalPaginationProps, PaginationEmitsProps, Pagination as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue624 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/pagination/style/bordered.d.ts
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: vue624.DefineComponent<vue624.ExtractPropTypes<{
|
|
5
5
|
prefixCls: StringConstructor;
|
|
6
6
|
rootCls: StringConstructor;
|
|
7
|
-
}>, () => null, {}, {}, {},
|
|
7
|
+
}>, () => null, {}, {}, {}, vue624.ComponentOptionsMixin, vue624.ComponentOptionsMixin, {}, string, vue624.PublicProps, Readonly<vue624.ExtractPropTypes<{
|
|
8
8
|
prefixCls: StringConstructor;
|
|
9
9
|
rootCls: StringConstructor;
|
|
10
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string,
|
|
10
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, vue624.ComponentProvideOptions, true, {}, any>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { _default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SharedComponentToken, SharedInputToken } from "../../input/style/token.js";
|
|
2
2
|
import { FullToken, GenStyleFn, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
3
3
|
import "../../theme/internal.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue479 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/pagination/style/index.d.ts
|
|
7
7
|
interface ComponentToken {
|
|
@@ -109,6 +109,6 @@ interface PaginationToken extends FullToken<'Pagination'>, SharedComponentToken,
|
|
|
109
109
|
}
|
|
110
110
|
declare const prepareComponentToken: GetDefaultToken<'Pagination'>;
|
|
111
111
|
declare function prepareToken(token: Parameters<GenStyleFn<'Pagination'>>[0]): PaginationToken;
|
|
112
|
-
declare const _default: (prefixCls:
|
|
112
|
+
declare const _default: (prefixCls: vue479.Ref<string>, rootCls?: vue479.Ref<string | undefined>) => readonly [vue479.Ref<string, string>, vue479.ComputedRef<string | undefined>];
|
|
113
113
|
//#endregion
|
|
114
114
|
export { ComponentToken, PaginationToken, _default as default, prepareComponentToken, prepareToken };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PopconfirmProps, PopconfirmSemanticClassNames, PopconfirmSemanticStyles } from "./index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue645 from "vue";
|
|
3
3
|
import { CSSProperties } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/popconfirm/PurePanel.d.ts
|
|
@@ -16,11 +16,11 @@ interface OverlayProps extends Pick<PopconfirmProps, 'icon' | 'okButtonProps' |
|
|
|
16
16
|
classes?: PopconfirmSemanticClassNames;
|
|
17
17
|
styles?: PopconfirmSemanticStyles;
|
|
18
18
|
}
|
|
19
|
-
declare const Overlay:
|
|
19
|
+
declare const Overlay: vue645.DefineSetupFnComponent<OverlayProps, {}, {}, OverlayProps & {}, vue645.PublicProps>;
|
|
20
20
|
interface PurePanelProps extends Omit<OverlayProps, 'prefixCls'>, Pick<PopconfirmProps, 'placement'> {
|
|
21
21
|
class?: string;
|
|
22
22
|
style?: CSSProperties;
|
|
23
23
|
}
|
|
24
|
-
declare const PurePanel:
|
|
24
|
+
declare const PurePanel: vue645.DefineSetupFnComponent<PurePanelProps, {}, {}, PurePanelProps & {}, vue645.PublicProps>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { Overlay, OverlayProps, PopconfirmLocale, PurePanelProps, PurePanel as default };
|
|
@@ -3,6 +3,7 @@ import en_US_default from "../locale/en_US.js";
|
|
|
3
3
|
import useLocale_default from "../locale/useLocale.js";
|
|
4
4
|
import button_default from "../button/index.js";
|
|
5
5
|
import ActionButton_default from "../_util/ActionButton.js";
|
|
6
|
+
import { isRenderable } from "../_util/is.js";
|
|
6
7
|
import PurePanel_default$1 from "../popover/PurePanel.js";
|
|
7
8
|
import style_default from "./style/index.js";
|
|
8
9
|
import { computed, createVNode, defineComponent, isVNode, mergeProps } from "vue";
|
|
@@ -39,10 +40,10 @@ const Overlay = /* @__PURE__ */ defineComponent((props) => {
|
|
|
39
40
|
}, [createVNode("div", { "class": `${prefixCls}-message` }, [icon && createVNode("span", {
|
|
40
41
|
"class": clsx(`${prefixCls}-message-icon`, classes?.icon),
|
|
41
42
|
"style": styles?.icon
|
|
42
|
-
}, [icon]), createVNode("div", { "class": `${prefixCls}-message-text` }, [title && createVNode("div", {
|
|
43
|
+
}, [icon]), createVNode("div", { "class": `${prefixCls}-message-text` }, [isRenderable(title) && createVNode("div", {
|
|
43
44
|
"class": clsx(`${prefixCls}-title`, classes?.title),
|
|
44
45
|
"style": styles?.title
|
|
45
|
-
}, [title]), description && createVNode("div", {
|
|
46
|
+
}, [title]), isRenderable(description) && createVNode("div", {
|
|
46
47
|
"class": clsx(`${prefixCls}-description`, classes?.content),
|
|
47
48
|
"style": styles?.content
|
|
48
49
|
}, [description])])]), createVNode("div", { "class": `${prefixCls}-buttons` }, [mergedShowCancel && createVNode(button_default, mergeProps({ "onClick": onCancel }, cancelButtonAttrs), _isSlot(mergedCancelText) ? mergedCancelText : { default: () => [mergedCancelText] }), createVNode(ActionButton_default, {
|
|
@@ -6,7 +6,7 @@ import { PopoverProps, PopoverSemanticClassNames, PopoverSemanticName, PopoverSe
|
|
|
6
6
|
import PurePanel from "./PurePanel.js";
|
|
7
7
|
import { ButtonProps, LegacyButtonType } from "../button/Button.js";
|
|
8
8
|
import "../button/index.js";
|
|
9
|
-
import * as
|
|
9
|
+
import * as vue639 from "vue";
|
|
10
10
|
import { App, CSSProperties, SlotsType } from "vue";
|
|
11
11
|
|
|
12
12
|
//#region src/popconfirm/index.d.ts
|
|
@@ -19,7 +19,7 @@ type PopconfirmSemanticStyles = PopoverSemanticStyles & {
|
|
|
19
19
|
};
|
|
20
20
|
type PopconfirmClassNamesType = SemanticClassNamesType<PopconfirmProps, PopconfirmSemanticClassNames>;
|
|
21
21
|
type PopconfirmStylesType = SemanticStylesType<PopconfirmProps, PopconfirmSemanticStyles>;
|
|
22
|
-
interface PopconfirmProps extends Omit<PopoverProps, 'title' | 'content' | 'classes' | 'styles'>, PopconfirmEmitsProps {
|
|
22
|
+
interface PopconfirmProps extends Omit<PopoverProps, 'title' | 'content' | 'classes' | 'styles' | 'onOpenChange'>, PopconfirmEmitsProps {
|
|
23
23
|
title?: VueNode$1;
|
|
24
24
|
description?: VueNode$1;
|
|
25
25
|
disabled?: boolean;
|
|
@@ -55,7 +55,7 @@ interface PopconfirmSlots {
|
|
|
55
55
|
okText?: () => any;
|
|
56
56
|
cancelText?: () => any;
|
|
57
57
|
}
|
|
58
|
-
declare const InternalPopconfirm:
|
|
58
|
+
declare const InternalPopconfirm: vue639.DefineSetupFnComponent<PopconfirmProps, PopconfirmEmits, SlotsType<PopconfirmSlots>, PopconfirmProps, vue639.PublicProps>;
|
|
59
59
|
type PopconfirmType = typeof InternalPopconfirm & {
|
|
60
60
|
install: (app: App) => void;
|
|
61
61
|
_InternalPanelDoNotUseOrYouWillBeFired: typeof PurePanel;
|
package/dist/popconfirm/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
2
2
|
import { useMergeSemantic, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
3
|
-
import { getSlotPropsFnRun, toPropsRefs as toPropsRefs$1 } from "../_util/tools.js";
|
|
3
|
+
import { getSlotPropsFnRun, toPropsRefs as toPropsRefs$1, useLiveListener } from "../_util/tools.js";
|
|
4
4
|
import useMergedArrow_default from "../tooltip/hooks/useMergedArrow.js";
|
|
5
5
|
import popover_default from "../popover/index.js";
|
|
6
6
|
import style_default from "./style/index.js";
|
|
@@ -60,6 +60,7 @@ const Popconfirm = /* @__PURE__ */ defineComponent((props, { slots, attrs, expos
|
|
|
60
60
|
if (props.disabled) return;
|
|
61
61
|
settingOpen(value, e);
|
|
62
62
|
};
|
|
63
|
+
const handleConfirm = useLiveListener("confirm");
|
|
63
64
|
expose({
|
|
64
65
|
forceAlign: () => popoverRef.value?.forceAlign?.(),
|
|
65
66
|
nativeElement: computed(() => popoverRef.value?.nativeElement),
|
|
@@ -90,7 +91,7 @@ const Popconfirm = /* @__PURE__ */ defineComponent((props, { slots, attrs, expos
|
|
|
90
91
|
"okButtonProps": props.okButtonProps,
|
|
91
92
|
"cancelButtonProps": props.cancelButtonProps,
|
|
92
93
|
"close": close,
|
|
93
|
-
"onConfirm":
|
|
94
|
+
"onConfirm": handleConfirm,
|
|
94
95
|
"onCancel": onCancel,
|
|
95
96
|
"onPopupClick": handlePopupClick,
|
|
96
97
|
"classes": mergedClassNames.value,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FullToken, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue529 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/popconfirm/style/index.d.ts
|
|
6
6
|
interface ComponentToken {
|
|
@@ -16,6 +16,6 @@ interface ComponentToken {
|
|
|
16
16
|
*/
|
|
17
17
|
interface PopconfirmToken extends FullToken<'Popconfirm'> {}
|
|
18
18
|
declare const prepareComponentToken: GetDefaultToken<'Popconfirm'>;
|
|
19
|
-
declare const _default: (prefixCls:
|
|
19
|
+
declare const _default: (prefixCls: vue529.Ref<string>, rootCls?: vue529.Ref<string | undefined>) => readonly [vue529.Ref<string, string>, vue529.ComputedRef<string | undefined>];
|
|
20
20
|
//#endregion
|
|
21
21
|
export { ComponentToken, PopconfirmToken, _default as default, prepareComponentToken };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VueNode as VueNode$1 } from "../_util/type.js";
|
|
2
2
|
import { PopoverProps, PopoverSemanticClassNames, PopoverSemanticStyles } from "./index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue729 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/popover/PurePanel.d.ts
|
|
6
6
|
interface OverlayProps {
|
|
@@ -10,12 +10,12 @@ interface OverlayProps {
|
|
|
10
10
|
classes?: PopoverSemanticClassNames;
|
|
11
11
|
styles?: PopoverSemanticStyles;
|
|
12
12
|
}
|
|
13
|
-
declare const Overlay:
|
|
13
|
+
declare const Overlay: vue729.DefineSetupFnComponent<OverlayProps, {}, {}, OverlayProps & {}, vue729.PublicProps>;
|
|
14
14
|
interface PurePanelProps extends PopoverProps {}
|
|
15
15
|
interface RawPurePanelProps extends PopoverProps {
|
|
16
16
|
hashId: string;
|
|
17
17
|
}
|
|
18
|
-
declare const RawPurePanel:
|
|
19
|
-
declare const PurePanel:
|
|
18
|
+
declare const RawPurePanel: vue729.DefineSetupFnComponent<RawPurePanelProps, {}, {}, RawPurePanelProps & {}, vue729.PublicProps>;
|
|
19
|
+
declare const PurePanel: vue729.DefineSetupFnComponent<PurePanelProps, {}, {}, PurePanelProps & {}, vue729.PublicProps>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { Overlay, PurePanelProps, RawPurePanel, PurePanel as default };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
2
2
|
import { useMergeSemantic, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
3
3
|
import { getSlotPropsFnRun, toPropsRefs as toPropsRefs$1 } from "../_util/tools.js";
|
|
4
|
+
import { isRenderable } from "../_util/is.js";
|
|
4
5
|
import style_default from "./style/index.js";
|
|
5
6
|
import { Fragment, computed, createVNode, defineComponent, mergeDefaults, mergeProps } from "vue";
|
|
6
7
|
import { clsx } from "@v-c/util";
|
|
@@ -14,11 +15,11 @@ const Overlay = /* @__PURE__ */ defineComponent((props, { slots }) => {
|
|
|
14
15
|
const { prefixCls, classes, styles } = props;
|
|
15
16
|
const title = getSlotPropsFnRun(slots, props, "title");
|
|
16
17
|
const content = getSlotPropsFnRun(slots, props, "content");
|
|
17
|
-
if (!title && !content) return null;
|
|
18
|
-
return createVNode(Fragment, null, [title && createVNode("div", {
|
|
18
|
+
if (!isRenderable(title) && !isRenderable(content)) return null;
|
|
19
|
+
return createVNode(Fragment, null, [isRenderable(title) && createVNode("div", {
|
|
19
20
|
"class": clsx(`${prefixCls}-title`, classes?.title),
|
|
20
21
|
"style": styles?.title
|
|
21
|
-
}, [title]), content && createVNode("div", {
|
|
22
|
+
}, [title]), isRenderable(content) && createVNode("div", {
|
|
22
23
|
"class": clsx(`${prefixCls}-content`, classes?.content),
|
|
23
24
|
"style": styles?.content
|
|
24
25
|
}, [content])]);
|
package/dist/popover/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ 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 { TooltipEmits, TooltipProps, TooltipRef, TooltipSemanticClassNames, TooltipSemanticStyles } from "../tooltip/index.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue717 from "vue";
|
|
6
6
|
import { App, CSSProperties, SlotsType } from "vue";
|
|
7
7
|
|
|
8
8
|
//#region src/popover/index.d.ts
|
|
@@ -35,7 +35,7 @@ interface PopoverSlots {
|
|
|
35
35
|
content: () => any;
|
|
36
36
|
default: () => any;
|
|
37
37
|
}
|
|
38
|
-
declare const InternalPopover:
|
|
38
|
+
declare const InternalPopover: vue717.DefineSetupFnComponent<PopoverProps, PopoverEmits, SlotsType<PopoverSlots>, PopoverProps, vue717.PublicProps>;
|
|
39
39
|
declare const Popover: typeof InternalPopover & {
|
|
40
40
|
install: (app: App) => void;
|
|
41
41
|
_InternalPanelDoNotUseOrYouWillBeFired: any;
|
package/dist/popover/index.js
CHANGED
|
@@ -3,6 +3,7 @@ import { useMergeSemantic, useToArr, useToProps } from "../_util/hooks/useMergeS
|
|
|
3
3
|
import { getSlotPropsFnRun, toPropsRefs as toPropsRefs$1 } from "../_util/tools.js";
|
|
4
4
|
import useMergedArrow_default from "../tooltip/hooks/useMergedArrow.js";
|
|
5
5
|
import tooltip_default from "../tooltip/index.js";
|
|
6
|
+
import { isRenderable } from "../_util/is.js";
|
|
6
7
|
import style_default from "./style/index.js";
|
|
7
8
|
import PurePanel_default, { Overlay } from "./PurePanel.js";
|
|
8
9
|
import { computed, createVNode, defineComponent, mergeDefaults, mergeProps, shallowRef, watch } from "vue";
|
|
@@ -79,7 +80,7 @@ const Popover = /* @__PURE__ */ defineComponent((props, { slots, attrs, expose,
|
|
|
79
80
|
},
|
|
80
81
|
"open": open.value,
|
|
81
82
|
"onOpenChange": onInternalOpenChange,
|
|
82
|
-
"overlay": titleNode || contentNode ? createVNode(Overlay, {
|
|
83
|
+
"overlay": isRenderable(titleNode) || isRenderable(contentNode) ? createVNode(Overlay, {
|
|
83
84
|
"prefixCls": prefixCls.value,
|
|
84
85
|
"title": titleNode,
|
|
85
86
|
"content": contentNode,
|
|
@@ -2,7 +2,7 @@ import { ArrowToken } from "../../style/roundedArrow.js";
|
|
|
2
2
|
import { ArrowOffsetToken } from "../../style/placementArrow.js";
|
|
3
3
|
import { FullToken, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
4
4
|
import "../../theme/internal.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue535 from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/popover/style/index.d.ts
|
|
8
8
|
interface ComponentToken extends ArrowToken, ArrowOffsetToken {
|
|
@@ -56,6 +56,6 @@ type PopoverToken = FullToken<'Popover'> & {
|
|
|
56
56
|
popoverColor: string;
|
|
57
57
|
};
|
|
58
58
|
declare const prepareComponentToken: GetDefaultToken<'Popover'>;
|
|
59
|
-
declare const _default: (prefixCls:
|
|
59
|
+
declare const _default: (prefixCls: vue535.Ref<string>, rootCls?: vue535.Ref<string | undefined>) => readonly [vue535.Ref<string, string>, vue535.ComputedRef<string | undefined>];
|
|
60
60
|
//#endregion
|
|
61
61
|
export { ComponentToken, PopoverToken, _default as default, prepareComponentToken };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EmptyEmit } from "../_util/type.js";
|
|
2
2
|
import { ProgressProps, ProgressSemanticClassNames, ProgressSemanticStyles } from "./progress.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue442 from "vue";
|
|
4
4
|
import { SlotsType } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/progress/Circle.d.ts
|
|
@@ -11,8 +11,8 @@ interface CircleProps extends Omit<ProgressProps, 'classes' | 'styles'> {
|
|
|
11
11
|
classes: ProgressSemanticClassNames;
|
|
12
12
|
styles: ProgressSemanticStyles;
|
|
13
13
|
}
|
|
14
|
-
declare const Circle:
|
|
14
|
+
declare const Circle: vue442.DefineSetupFnComponent<CircleProps, EmptyEmit, SlotsType<{
|
|
15
15
|
default?: () => any;
|
|
16
|
-
}>, CircleProps,
|
|
16
|
+
}>, CircleProps, vue442.PublicProps>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { CircleProps, Circle as default };
|
package/dist/progress/Line.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EmptyEmit } from "../_util/type.js";
|
|
2
2
|
import { PercentPositionType, ProgressGradient, ProgressProps, ProgressSemanticClassNames, ProgressSemanticStyles, StringGradients } from "./progress.js";
|
|
3
3
|
import { DirectionType } from "../config-provider/context.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue433 from "vue";
|
|
5
5
|
import { SlotsType } from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/progress/Line.d.ts
|
|
@@ -41,8 +41,8 @@ declare function handleGradient(strokeColor: ProgressGradient, directionConfig?:
|
|
|
41
41
|
background: string;
|
|
42
42
|
"--progress-line-stroke-color": string;
|
|
43
43
|
};
|
|
44
|
-
declare const Line:
|
|
44
|
+
declare const Line: vue433.DefineSetupFnComponent<LineProps, EmptyEmit, SlotsType<{
|
|
45
45
|
default?: () => any;
|
|
46
|
-
}>, LineProps,
|
|
46
|
+
}>, LineProps, vue433.PublicProps>;
|
|
47
47
|
//#endregion
|
|
48
48
|
export { LineProps, Line as default, handleGradient, sortGradient };
|
package/dist/progress/Steps.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EmptyEmit } from "../_util/type.js";
|
|
2
2
|
import { ProgressProps, ProgressSemanticClassNames, ProgressSemanticStyles } from "./progress.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue67 from "vue";
|
|
4
4
|
import { SlotsType } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/progress/Steps.d.ts
|
|
@@ -16,6 +16,6 @@ interface ProgressStepsProps extends Omit<ProgressProps, 'classes' | 'styles'> {
|
|
|
16
16
|
interface ProgressStepsSlots {
|
|
17
17
|
default?: () => any;
|
|
18
18
|
}
|
|
19
|
-
declare const Steps:
|
|
19
|
+
declare const Steps: vue67.DefineSetupFnComponent<ProgressStepsProps, EmptyEmit, SlotsType<ProgressStepsSlots>, ProgressStepsProps, vue67.PublicProps>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { ProgressStepsProps, ProgressStepsSlots, Steps as default };
|
|
@@ -2,7 +2,7 @@ import { EmptyEmit } from "../_util/type.js";
|
|
|
2
2
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue61 from "vue";
|
|
6
6
|
import { AriaAttributes, CSSProperties, SlotsType } from "vue";
|
|
7
7
|
|
|
8
8
|
//#region src/progress/progress.d.ts
|
|
@@ -81,6 +81,6 @@ interface ProgressProps extends ComponentBaseProps, ProgressAriaProps {
|
|
|
81
81
|
interface ProgressSlots {
|
|
82
82
|
default?: () => any;
|
|
83
83
|
}
|
|
84
|
-
declare const Progress:
|
|
84
|
+
declare const Progress: vue61.DefineSetupFnComponent<ProgressProps, EmptyEmit, SlotsType<ProgressSlots>, ProgressProps, vue61.PublicProps>;
|
|
85
85
|
//#endregion
|
|
86
86
|
export { GapPlacement, GapPosition, PercentPositionType, ProgressAriaProps, ProgressClassNamesType, ProgressGradient, ProgressProps, ProgressSemanticClassNames, ProgressSemanticName, ProgressSemanticStyles, ProgressSize, ProgressSlots, ProgressStylesType, ProgressType, ProgressTypes, StringGradients, SuccessProps, Progress 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 vue541 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/progress/style/index.d.ts
|
|
6
6
|
interface ComponentToken {
|
|
@@ -37,6 +37,6 @@ interface ComponentToken {
|
|
|
37
37
|
}
|
|
38
38
|
declare const LineStrokeColorVar = "--progress-line-stroke-color";
|
|
39
39
|
declare const prepareComponentToken: GetDefaultToken<'Progress'>;
|
|
40
|
-
declare const _default: (prefixCls:
|
|
40
|
+
declare const _default: (prefixCls: vue541.Ref<string>, rootCls?: vue541.Ref<string | undefined>) => readonly [vue541.Ref<string, string>, vue541.ComputedRef<string | undefined>];
|
|
41
41
|
//#endregion
|
|
42
42
|
export { ComponentToken, LineStrokeColorVar, _default as default, prepareComponentToken };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Locale } from "../locale/index.js";
|
|
2
2
|
import { QRCodeProps, StatusRenderInfo } from "./interface.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue475 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/qrcode/QrcodeStatus.d.ts
|
|
6
6
|
interface QRcodeStatusProps {
|
|
@@ -10,6 +10,6 @@ interface QRcodeStatusProps {
|
|
|
10
10
|
statusRender?: QRCodeProps['statusRender'];
|
|
11
11
|
status: StatusRenderInfo['status'];
|
|
12
12
|
}
|
|
13
|
-
declare const QRcodeStatus:
|
|
13
|
+
declare const QRcodeStatus: vue475.DefineSetupFnComponent<QRcodeStatusProps, {}, {}, QRcodeStatusProps & {}, vue475.PublicProps>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { QRcodeStatusProps, QRcodeStatus as default };
|
package/dist/qrcode/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { QRCodeEmits, QRCodeProps as QRCodeProps$1, QRCodeSlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue63 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/qrcode/index.d.ts
|
|
@@ -7,7 +7,7 @@ interface InternalQRCodeProps extends QRCodeProps$1, QRCodeEmitsProps {}
|
|
|
7
7
|
interface QRCodeEmitsProps {
|
|
8
8
|
onRefresh?: QRCodeEmits['refresh'];
|
|
9
9
|
}
|
|
10
|
-
declare const QRCode:
|
|
10
|
+
declare const QRCode: vue63.DefineSetupFnComponent<InternalQRCodeProps, QRCodeEmits, SlotsType<QRCodeSlots>, InternalQRCodeProps, vue63.PublicProps>;
|
|
11
11
|
type QRCodeProps = InternalQRCodeProps;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { InternalQRCodeProps, type QRCodeEmits, QRCodeEmitsProps, QRCodeProps, QRCode as default };
|
|
@@ -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 vue685 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/qrcode/style/index.d.ts
|
|
6
6
|
interface ComponentToken {}
|
|
7
7
|
declare const prepareComponentToken: GetDefaultToken<'QRCode'>;
|
|
8
|
-
declare const _default: (prefixCls:
|
|
8
|
+
declare const _default: (prefixCls: vue685.Ref<string>, rootCls?: vue685.Ref<string | undefined>) => readonly [vue685.Ref<string, string>, vue685.ComputedRef<string | undefined>];
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ComponentToken, _default as default, prepareComponentToken };
|
package/dist/radio/group.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RadioGroupEmits, RadioGroupProps, RadioGroupSlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue725 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/radio/group.d.ts
|
|
@@ -11,6 +11,6 @@ interface RadioGroupEmitsProps {
|
|
|
11
11
|
onFocus?: RadioGroupEmits['focus'];
|
|
12
12
|
onBlur?: RadioGroupEmits['blur'];
|
|
13
13
|
}
|
|
14
|
-
declare const RadioGroup:
|
|
14
|
+
declare const RadioGroup: vue725.DefineSetupFnComponent<InternalRadioGroupProps, RadioGroupEmits, SlotsType<RadioGroupSlots>, InternalRadioGroupProps, vue725.PublicProps>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { InternalRadioGroupProps, RadioGroupEmitsProps, RadioGroup as default };
|
package/dist/radio/index.d.ts
CHANGED
|
@@ -6,13 +6,13 @@ import { InternalRadioButtonProps } from "./radioButton.js";
|
|
|
6
6
|
import "../index.js";
|
|
7
7
|
import { InternalRadioGroupProps } from "./group.js";
|
|
8
8
|
import InternalRadio, { InternalRadioProps } from "./radio.js";
|
|
9
|
-
import * as
|
|
9
|
+
import * as vue719 from "vue";
|
|
10
10
|
|
|
11
11
|
//#region src/radio/index.d.ts
|
|
12
12
|
type RadioGroupProps = InternalRadioGroupProps;
|
|
13
13
|
type RadioProps = InternalRadioProps;
|
|
14
14
|
type RadioOptionType = CheckboxOptionType;
|
|
15
|
-
declare const RadioGroup:
|
|
16
|
-
declare const RadioButton:
|
|
15
|
+
declare const RadioGroup: vue719.DefineSetupFnComponent<InternalRadioGroupProps, RadioGroupEmits, vue719.SlotsType<RadioGroupSlots>, InternalRadioGroupProps, vue719.PublicProps>;
|
|
16
|
+
declare const RadioButton: vue719.DefineSetupFnComponent<InternalRadioButtonProps, CheckboxEmits, vue719.SlotsType<CheckboxSlots>, InternalRadioButtonProps, vue719.PublicProps>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { RadioButton, type RadioChangeEvent, type RadioEmits, RadioGroup, type RadioGroupEmits, type RadioGroupOptionType, RadioGroupProps, type RadioGroupSlots, RadioOptionType, RadioProps, type RadioSlots, InternalRadio as default };
|
package/dist/radio/radio.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RadioEmits, RadioProps, RadioSlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue54 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/radio/radio.d.ts
|
|
@@ -16,6 +16,6 @@ interface RadioEmitsProps {
|
|
|
16
16
|
onBlur?: RadioEmits['blur'];
|
|
17
17
|
onClick?: RadioEmits['click'];
|
|
18
18
|
}
|
|
19
|
-
declare const InternalRadio:
|
|
19
|
+
declare const InternalRadio: vue54.DefineSetupFnComponent<InternalRadioProps, RadioEmits, SlotsType<RadioSlots>, InternalRadioProps, vue54.PublicProps>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { InternalRadioProps, RadioEmitsProps, InternalRadio as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AbstractCheckboxProps, CheckboxEmits, CheckboxSlots } from "../checkbox/Checkbox.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue95 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/radio/radioButton.d.ts
|
|
@@ -17,6 +17,6 @@ interface RadioButtonEmitsProps {
|
|
|
17
17
|
onClick?: CheckboxEmits['click'];
|
|
18
18
|
}
|
|
19
19
|
interface InternalRadioButtonProps extends RadioButtonProps, RadioButtonEmitsProps {}
|
|
20
|
-
declare const RadioButton:
|
|
20
|
+
declare const RadioButton: vue95.DefineSetupFnComponent<InternalRadioButtonProps, CheckboxEmits, SlotsType<CheckboxSlots>, InternalRadioButtonProps, vue95.PublicProps>;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { InternalRadioButtonProps, RadioButtonEmitsProps, RadioButtonProps, RadioButton 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 vue580 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/radio/style/index.d.ts
|
|
6
6
|
interface ComponentToken {
|
|
@@ -80,6 +80,6 @@ interface ComponentToken {
|
|
|
80
80
|
radioBgColor: string;
|
|
81
81
|
}
|
|
82
82
|
declare const prepareComponentToken: GetDefaultToken<'Radio'>;
|
|
83
|
-
declare const _default: (prefixCls:
|
|
83
|
+
declare const _default: (prefixCls: vue580.Ref<string>, rootCls?: vue580.Ref<string | undefined>) => readonly [vue580.Ref<string, string>, vue580.ComputedRef<string | undefined>];
|
|
84
84
|
//#endregion
|
|
85
85
|
export { ComponentToken, _default as default, prepareComponentToken };
|
|
@@ -6,8 +6,30 @@ import { unit } from "@antdv-next/cssinjs";
|
|
|
6
6
|
|
|
7
7
|
//#region src/radio/style/index.ts
|
|
8
8
|
const getGroupRadioStyle = (token) => {
|
|
9
|
-
const { componentCls, antCls } = token;
|
|
9
|
+
const { componentCls, antCls, lineWidth, borderRadius, borderRadiusLG, borderRadiusSM, calc } = token;
|
|
10
10
|
const groupPrefixCls = `${componentCls}-group`;
|
|
11
|
+
const buttonWrapperCls = `${componentCls}-button-wrapper`;
|
|
12
|
+
const badgeCls = `${antCls}-badge`;
|
|
13
|
+
const genVerticalBadgeButtonStyle = (radius) => ({
|
|
14
|
+
[`> ${badgeCls}`]: { width: "auto" },
|
|
15
|
+
[`> ${badgeCls} > ${buttonWrapperCls}`]: { width: "100%" },
|
|
16
|
+
[`> ${badgeCls}:not(:last-child)`]: { marginBlockEnd: calc(lineWidth).mul(-1).equal() },
|
|
17
|
+
[`> ${badgeCls} > ${buttonWrapperCls}:not(:last-child)`]: { marginBlockEnd: 0 },
|
|
18
|
+
[`> ${badgeCls}:first-child > ${buttonWrapperCls}`]: {
|
|
19
|
+
borderStartStartRadius: radius,
|
|
20
|
+
borderStartEndRadius: radius,
|
|
21
|
+
borderEndStartRadius: 0,
|
|
22
|
+
borderEndEndRadius: 0
|
|
23
|
+
},
|
|
24
|
+
[`> ${badgeCls}:last-child > ${buttonWrapperCls}`]: {
|
|
25
|
+
borderStartStartRadius: 0,
|
|
26
|
+
borderStartEndRadius: 0,
|
|
27
|
+
borderEndStartRadius: radius,
|
|
28
|
+
borderEndEndRadius: radius
|
|
29
|
+
},
|
|
30
|
+
[`> ${badgeCls}:not(:first-child):not(:last-child) > ${buttonWrapperCls}`]: { borderRadius: 0 },
|
|
31
|
+
[`> ${badgeCls}:first-child:last-child > ${buttonWrapperCls}`]: { borderRadius: radius }
|
|
32
|
+
});
|
|
11
33
|
return { [groupPrefixCls]: {
|
|
12
34
|
...resetComponent(token),
|
|
13
35
|
display: "inline-block",
|
|
@@ -20,7 +42,11 @@ const getGroupRadioStyle = (token) => {
|
|
|
20
42
|
display: "flex",
|
|
21
43
|
flexDirection: "column",
|
|
22
44
|
rowGap: token.marginXS,
|
|
23
|
-
[
|
|
45
|
+
[`&:has(> ${buttonWrapperCls}, > ${badgeCls} > ${buttonWrapperCls})`]: { rowGap: 0 },
|
|
46
|
+
[`${componentCls}-wrapper`]: { marginInlineEnd: 0 },
|
|
47
|
+
...genVerticalBadgeButtonStyle(borderRadius),
|
|
48
|
+
[`&${groupPrefixCls}-large`]: { ...genVerticalBadgeButtonStyle(borderRadiusLG) },
|
|
49
|
+
[`&${groupPrefixCls}-small`]: { ...genVerticalBadgeButtonStyle(borderRadiusSM) }
|
|
24
50
|
}
|
|
25
51
|
} };
|
|
26
52
|
};
|
|
@@ -193,6 +219,46 @@ const getRadioButtonStyle = (token) => {
|
|
|
193
219
|
borderEndEndRadius: borderRadiusSM
|
|
194
220
|
}
|
|
195
221
|
},
|
|
222
|
+
[`${componentCls}-group-vertical > &`]: {
|
|
223
|
+
marginInlineEnd: 0,
|
|
224
|
+
borderRadius: 0,
|
|
225
|
+
"&:not(:last-child)": { marginBlockEnd: calc(lineWidth).mul(-1).equal() },
|
|
226
|
+
"&:first-child": {
|
|
227
|
+
borderStartStartRadius: borderRadius,
|
|
228
|
+
borderStartEndRadius: borderRadius,
|
|
229
|
+
borderEndStartRadius: 0,
|
|
230
|
+
borderEndEndRadius: 0
|
|
231
|
+
},
|
|
232
|
+
"&:last-child": {
|
|
233
|
+
borderStartStartRadius: 0,
|
|
234
|
+
borderStartEndRadius: 0,
|
|
235
|
+
borderEndStartRadius: borderRadius,
|
|
236
|
+
borderEndEndRadius: borderRadius
|
|
237
|
+
},
|
|
238
|
+
"&:first-child:last-child": { borderRadius }
|
|
239
|
+
},
|
|
240
|
+
[`${componentCls}-group-vertical${componentCls}-group-large > &`]: {
|
|
241
|
+
"&:first-child": {
|
|
242
|
+
borderStartStartRadius: borderRadiusLG,
|
|
243
|
+
borderStartEndRadius: borderRadiusLG
|
|
244
|
+
},
|
|
245
|
+
"&:last-child": {
|
|
246
|
+
borderEndStartRadius: borderRadiusLG,
|
|
247
|
+
borderEndEndRadius: borderRadiusLG
|
|
248
|
+
},
|
|
249
|
+
"&:first-child:last-child": { borderRadius: borderRadiusLG }
|
|
250
|
+
},
|
|
251
|
+
[`${componentCls}-group-vertical${componentCls}-group-small > &`]: {
|
|
252
|
+
"&:first-child": {
|
|
253
|
+
borderStartStartRadius: borderRadiusSM,
|
|
254
|
+
borderStartEndRadius: borderRadiusSM
|
|
255
|
+
},
|
|
256
|
+
"&:last-child": {
|
|
257
|
+
borderEndStartRadius: borderRadiusSM,
|
|
258
|
+
borderEndEndRadius: borderRadiusSM
|
|
259
|
+
},
|
|
260
|
+
"&:first-child:last-child": { borderRadius: borderRadiusSM }
|
|
261
|
+
},
|
|
196
262
|
"&:hover": {
|
|
197
263
|
position: "relative",
|
|
198
264
|
color: colorPrimary
|
package/dist/rate/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SizeType } from "../config-provider/SizeContext.js";
|
|
2
2
|
import { TooltipProps } from "../tooltip/index.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue491 from "vue";
|
|
4
4
|
import { RateProps as RateProps$1 } from "@v-c/rate";
|
|
5
5
|
|
|
6
6
|
//#region src/rate/index.d.ts
|
|
@@ -27,6 +27,6 @@ interface RateEmitsProps {
|
|
|
27
27
|
onKeydown?: RateEmits['keydown'];
|
|
28
28
|
onMouseleave?: RateEmits['mouseleave'];
|
|
29
29
|
}
|
|
30
|
-
declare const Rate:
|
|
30
|
+
declare const Rate: vue491.DefineSetupFnComponent<RateProps, RateEmits, {}, RateProps, vue491.PublicProps>;
|
|
31
31
|
//#endregion
|
|
32
32
|
export { RateEmits, RateEmitsProps, RateProps, Rate 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 vue570 from "vue";
|
|
4
4
|
import { CSSObject } from "@antdv-next/cssinjs";
|
|
5
5
|
|
|
6
6
|
//#region src/rate/style/index.d.ts
|
|
@@ -37,6 +37,6 @@ interface ComponentToken {
|
|
|
37
37
|
starBg: string;
|
|
38
38
|
}
|
|
39
39
|
declare const prepareComponentToken: GetDefaultToken<'Rate'>;
|
|
40
|
-
declare const _default: (prefixCls:
|
|
40
|
+
declare const _default: (prefixCls: vue570.Ref<string>, rootCls?: vue570.Ref<string | undefined>) => readonly [vue570.Ref<string, string>, vue570.ComputedRef<string | undefined>];
|
|
41
41
|
//#endregion
|
|
42
42
|
export { ComponentToken, _default as default, prepareComponentToken };
|