antdv-next 1.3.2-beta.1 → 1.3.2
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/responsiveObserver.d.ts +2 -2
- package/dist/_util/statusUtils.d.ts +1 -1
- package/dist/_util/vueNode.d.ts +6 -8
- 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 +1627 -1622
- package/dist/antd-with-locales.js +37 -37
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +107 -102
- package/dist/antd.js +8 -8
- package/dist/app/App.d.ts +2 -2
- package/dist/app/context.d.ts +2 -2
- package/dist/app/style/index.d.ts +2 -2
- package/dist/auto-complete/index.d.ts +2 -2
- package/dist/avatar/Avatar.d.ts +2 -2
- package/dist/avatar/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/style/compact.d.ts +4 -4
- package/dist/button/style/index.d.ts +2 -2
- package/dist/calendar/Header.d.ts +2 -2
- package/dist/calendar/generateCalendar.d.ts +2 -2
- package/dist/calendar/index.d.ts +2 -2
- package/dist/calendar/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/hooks/useCheckable.d.ts +2 -2
- package/dist/cascader/index.d.ts +2 -2
- package/dist/cascader/style/index.d.ts +2 -2
- package/dist/cascader/style/panel.d.ts +2 -2
- package/dist/checkbox/Checkbox.d.ts +2 -2
- package/dist/checkbox/Group.d.ts +2 -2
- package/dist/checkbox/style/index.d.ts +4 -4
- package/dist/collapse/Collapse.d.ts +2 -2
- package/dist/collapse/CollapsePanel.d.ts +2 -2
- package/dist/collapse/style/index.d.ts +2 -2
- package/dist/color-picker/ColorPicker.d.ts +2 -2
- package/dist/color-picker/ColorPickerPanel.d.ts +2 -2
- package/dist/color-picker/components/ColorAlphaInput.d.ts +2 -2
- package/dist/color-picker/components/ColorClear.d.ts +2 -2
- package/dist/color-picker/components/ColorHexInput.d.ts +2 -2
- package/dist/color-picker/components/ColorHsbInput.d.ts +2 -2
- package/dist/color-picker/components/ColorInput.d.ts +2 -2
- package/dist/color-picker/components/ColorPresets.d.ts +2 -2
- package/dist/color-picker/components/ColorRgbInput.d.ts +2 -2
- package/dist/color-picker/components/ColorSlider.d.ts +3 -3
- package/dist/color-picker/components/ColorSteppers.d.ts +2 -2
- package/dist/color-picker/components/ColorTrigger.d.ts +2 -2
- package/dist/color-picker/components/PanelPicker/GradientColorBar.d.ts +2 -2
- package/dist/color-picker/components/PanelPicker/index.d.ts +2 -2
- package/dist/color-picker/components/PanelPresets.d.ts +2 -2
- package/dist/color-picker/context.d.ts +3 -3
- package/dist/color-picker/hooks/useModeColor.d.ts +2 -2
- package/dist/color-picker/style/index.d.ts +2 -2
- package/dist/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 +5 -5
- 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/generateSinglePicker.js +4 -1
- package/dist/date-picker/generatePicker/index.d.ts +8 -8
- package/dist/date-picker/generatePicker/useComponents.d.ts +11 -11
- package/dist/date-picker/index.d.ts +13 -13
- package/dist/date-picker/style/index.d.ts +2 -2
- package/dist/date-picker/util.d.ts +3 -7
- package/dist/descriptions/Cell.d.ts +2 -2
- package/dist/descriptions/Item.d.ts +2 -2
- package/dist/descriptions/Row.d.ts +2 -2
- package/dist/descriptions/hooks/useItems.d.ts +8 -8
- package/dist/descriptions/hooks/useRow.d.ts +2 -2
- package/dist/descriptions/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 +2 -2
- package/dist/form/FormItem/ItemHolder.d.ts +3 -3
- package/dist/form/FormItem/StatusProvider.d.ts +2 -2
- package/dist/form/FormItem/index.d.ts +2 -2
- package/dist/form/FormItemInput.d.ts +2 -2
- package/dist/form/FormItemLabel.d.ts +3 -3
- package/dist/form/context.d.ts +6 -6
- package/dist/form/hooks/useVariant.d.ts +2 -2
- package/dist/form/style/fallbackCmp.d.ts +4 -4
- package/dist/form/style/index.d.ts +2 -2
- package/dist/grid/col.d.ts +2 -2
- package/dist/grid/index.d.ts +2 -2
- package/dist/grid/row.d.ts +2 -2
- package/dist/grid/style/index.d.ts +3 -3
- package/dist/image/PreviewGroup.d.ts +12 -12
- package/dist/image/hooks/useMergedPreviewConfig.d.ts +2 -2
- package/dist/image/hooks/usePreviewConfig.d.ts +11 -11
- package/dist/image/index.d.ts +3 -3
- package/dist/image/style/index.d.ts +2 -2
- 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/index.d.ts +2 -2
- package/dist/locale/useLocale.d.ts +2 -2
- package/dist/masonry/MasonryItem.d.ts +2 -2
- package/dist/masonry/hooks/usePositions.d.ts +2 -2
- package/dist/masonry/style/index.d.ts +2 -2
- package/dist/mentions/index.d.ts +2 -2
- package/dist/mentions/style/index.d.ts +2 -2
- package/dist/menu/MenuContext.d.ts +3 -3
- package/dist/menu/MenuDivider.d.ts +2 -2
- package/dist/menu/MenuItem.d.ts +2 -2
- package/dist/menu/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/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/Modal.d.ts +2 -2
- package/dist/modal/PurePanel.d.ts +2 -2
- package/dist/modal/components/ConfirmCancelBtn.d.ts +2 -2
- package/dist/modal/components/ConfirmOkBtn.d.ts +2 -2
- package/dist/modal/components/NormalCancelBtn.d.ts +2 -2
- package/dist/modal/components/NormalOkBtn.d.ts +2 -2
- package/dist/modal/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/package.js +1 -1
- package/dist/pagination/Pagination.d.ts +2 -2
- package/dist/pagination/Pagination.js +3 -3
- package/dist/pagination/style/bordered.d.ts +4 -4
- package/dist/pagination/style/index.d.ts +2 -12
- package/dist/pagination/style/index.js +6 -6
- package/dist/popconfirm/PurePanel.d.ts +3 -3
- package/dist/popconfirm/index.d.ts +2 -2
- package/dist/popconfirm/style/index.d.ts +2 -2
- package/dist/popover/PurePanel.d.ts +4 -4
- package/dist/popover/index.d.ts +2 -2
- package/dist/popover/style/index.d.ts +2 -2
- package/dist/progress/Circle.d.ts +3 -3
- package/dist/progress/Line.d.ts +3 -3
- package/dist/progress/Steps.d.ts +2 -2
- package/dist/progress/progress.d.ts +2 -2
- package/dist/progress/style/index.d.ts +2 -2
- package/dist/qrcode/QrcodeStatus.d.ts +2 -2
- package/dist/qrcode/index.d.ts +2 -2
- package/dist/qrcode/style/index.d.ts +2 -2
- package/dist/radio/group.d.ts +2 -2
- package/dist/radio/index.d.ts +3 -3
- package/dist/radio/radio.d.ts +2 -2
- package/dist/radio/radioButton.d.ts +2 -2
- package/dist/radio/style/index.d.ts +2 -2
- package/dist/rate/index.d.ts +2 -2
- package/dist/rate/style/index.d.ts +2 -2
- package/dist/result/index.d.ts +2 -2
- package/dist/result/noFound.d.ts +2 -2
- package/dist/result/serverError.d.ts +2 -2
- package/dist/result/style/index.d.ts +2 -2
- package/dist/result/unauthorized.d.ts +2 -2
- package/dist/segmented/index.d.ts +2 -2
- package/dist/segmented/style/index.d.ts +2 -2
- package/dist/select/index.d.ts +4 -4
- package/dist/select/style/index.d.ts +2 -2
- package/dist/select/useIcons.d.ts +10 -15
- package/dist/select/usePopupRender.d.ts +2 -2
- package/dist/skeleton/Avatar.d.ts +2 -2
- package/dist/skeleton/Button.d.ts +2 -2
- package/dist/skeleton/Element.d.ts +2 -2
- package/dist/skeleton/Image.d.ts +2 -2
- package/dist/skeleton/Input.d.ts +2 -2
- package/dist/skeleton/Node.d.ts +2 -2
- package/dist/skeleton/Paragraph.d.ts +2 -2
- package/dist/skeleton/Skeleton.d.ts +2 -2
- package/dist/skeleton/Title.d.ts +2 -2
- package/dist/skeleton/style/index.d.ts +2 -2
- package/dist/slider/SliderTooltip.d.ts +3 -3
- package/dist/slider/index.d.ts +2 -2
- package/dist/slider/style/index.d.ts +2 -2
- package/dist/space/Addon.d.ts +2 -2
- package/dist/space/Compact.d.ts +6 -6
- package/dist/space/Item.d.ts +2 -2
- package/dist/space/index.d.ts +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/SplitBar.js +12 -1
- package/dist/splitter/Splitter.d.ts +2 -2
- package/dist/splitter/hooks/useResizable.d.ts +2 -2
- package/dist/splitter/hooks/useResize.d.ts +2 -2
- package/dist/splitter/hooks/useSizes.d.ts +2 -2
- package/dist/splitter/index.d.ts +2 -2
- package/dist/splitter/style/index.d.ts +2 -2
- package/dist/statistic/Number.d.ts +2 -2
- package/dist/statistic/Statistic.d.ts +2 -2
- package/dist/statistic/Timer.d.ts +2 -2
- package/dist/statistic/index.d.ts +2 -2
- package/dist/statistic/style/index.d.ts +2 -2
- package/dist/steps/PanelArrow.d.ts +2 -2
- package/dist/steps/ProgressIcon.d.ts +2 -2
- package/dist/steps/index.d.ts +2 -2
- package/dist/steps/style/index.d.ts +2 -2
- package/dist/switch/index.d.ts +2 -2
- package/dist/switch/index.js +4 -0
- package/dist/switch/style/index.d.ts +2 -2
- package/dist/table/Column.d.ts +2 -2
- package/dist/table/ColumnGroup.d.ts +2 -2
- package/dist/table/ExpandIcon.d.ts +2 -2
- package/dist/table/InternalTable.d.ts +2 -2
- package/dist/table/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 +7 -8
- package/dist/theme/themes/default/theme.d.ts +2 -2
- package/dist/theme/util/genStyleUtils.d.ts +14 -14
- 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/panelRender.js +4 -2
- package/dist/tour/style/index.d.ts +2 -2
- package/dist/transfer/Actions.d.ts +2 -2
- package/dist/transfer/ListBody.d.ts +2 -2
- package/dist/transfer/ListItem.d.ts +2 -2
- package/dist/transfer/Section.d.ts +2 -2
- package/dist/transfer/Transfer.d.ts +2 -2
- package/dist/transfer/hooks/useData.d.ts +2 -2
- package/dist/transfer/search.d.ts +2 -2
- package/dist/transfer/style/index.d.ts +2 -2
- package/dist/tree/DirectoryTree.d.ts +2 -2
- package/dist/tree/Tree.d.ts +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/Dragger.js +1 -1
- package/dist/upload/Upload.d.ts +2 -2
- package/dist/upload/UploadList/ListItem.d.ts +2 -2
- package/dist/upload/UploadList/index.d.ts +2 -2
- package/dist/upload/index.d.ts +3 -3
- package/dist/upload/style/index.d.ts +2 -2
- package/dist/watermark/context.d.ts +2 -2
- package/dist/watermark/index.d.ts +2 -2
- package/package.json +3 -3
- package/web-tags.json +1580 -1584
- package/web-types.json +4655 -4668
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VueNode as VueNode$1 } from "../_util/type.js";
|
|
2
2
|
import { MenuProps } from "./menu.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue254 from "vue";
|
|
4
4
|
import { Ref } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/menu/OverrideContext.d.ts
|
|
@@ -15,10 +15,10 @@ interface OverrideContextProps {
|
|
|
15
15
|
}
|
|
16
16
|
declare function useOverrideContext(): Ref<OverrideContextProps, OverrideContextProps> | null;
|
|
17
17
|
/** @internal Only used for Dropdown component. Do not use this in your production. */
|
|
18
|
-
declare const OverrideProvider:
|
|
18
|
+
declare const OverrideProvider: vue254.DefineSetupFnComponent<{
|
|
19
19
|
value?: OverrideContextProps | null;
|
|
20
20
|
}, {}, {}, {
|
|
21
21
|
value?: OverrideContextProps | null;
|
|
22
|
-
} & {},
|
|
22
|
+
} & {}, vue254.PublicProps>;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { OverrideContextProps, OverrideProvider, useOverrideContext };
|
package/dist/menu/SubMenu.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EmptyEmit, VueNode as VueNode$1 } from "../_util/type.js";
|
|
2
2
|
import { SubMenuType } from "./interface.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue250 from "vue";
|
|
4
4
|
import { SlotsType } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/menu/SubMenu.d.ts
|
|
@@ -12,6 +12,6 @@ interface SubMenuSlots {
|
|
|
12
12
|
icon: () => any;
|
|
13
13
|
default: () => any;
|
|
14
14
|
}
|
|
15
|
-
declare const SubMenu:
|
|
15
|
+
declare const SubMenu: vue250.DefineSetupFnComponent<SubMenuProps, EmptyEmit, SlotsType<SubMenuSlots>, SubMenuProps, vue250.PublicProps>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { SubMenuProps, SubMenuSlots, SubMenu as default };
|
package/dist/menu/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { MenuEmits, MenuEmitsProps, MenuProps as MenuProps$2, MenuSlots } from "
|
|
|
5
5
|
import MenuItemGroup, { MenuItemGroupProps } from "./MenuItemGroup.js";
|
|
6
6
|
import SubMenu, { SubMenuProps } from "./SubMenu.js";
|
|
7
7
|
import MenuDivider from "./MenuDivider.js";
|
|
8
|
-
import * as
|
|
8
|
+
import * as vue469 from "vue";
|
|
9
9
|
import { SlotsType } from "vue";
|
|
10
10
|
import { MenuRef as MenuRef$1 } from "@v-c/menu";
|
|
11
11
|
|
|
@@ -17,8 +17,8 @@ interface MenuRef {
|
|
|
17
17
|
}
|
|
18
18
|
interface InternalMenuProps extends MenuProps$2, MenuEmitsProps {}
|
|
19
19
|
type MenuProps = InternalMenuProps;
|
|
20
|
-
declare const Menu:
|
|
21
|
-
declare const MenuItem:
|
|
20
|
+
declare const Menu: vue469.DefineSetupFnComponent<InternalMenuProps, MenuEmits, SlotsType<MenuSlots>, InternalMenuProps, vue469.PublicProps>;
|
|
21
|
+
declare const MenuItem: vue469.DefineSetupFnComponent<MenuItemProps, EmptyEmit, SlotsType<MenuItemSlots>, MenuItemProps, vue469.PublicProps>;
|
|
22
22
|
declare const _default: typeof Menu & {
|
|
23
23
|
Item: typeof MenuItem$1;
|
|
24
24
|
SubMenu: typeof SubMenu;
|
package/dist/menu/menu.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ItemType } from "./interface.js";
|
|
2
2
|
import { MenuTheme } from "./MenuContext.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue269 from "vue";
|
|
4
4
|
import { CSSProperties, SlotsType } from "vue";
|
|
5
5
|
import { MenuInfo, MenuItemProps, MenuProps as MenuProps$1, RenderIconInfo, SelectInfo } from "@v-c/menu";
|
|
6
6
|
|
|
@@ -114,6 +114,6 @@ interface MenuSlots {
|
|
|
114
114
|
itemIcon?: (props: MenuItemProps & RenderIconInfo) => any;
|
|
115
115
|
}
|
|
116
116
|
interface InternalMenuRuntimeProps extends InternalMenuProps, MenuEmitsProps {}
|
|
117
|
-
declare const InternalMenu:
|
|
117
|
+
declare const InternalMenu: vue269.DefineSetupFnComponent<InternalMenuRuntimeProps, MenuEmits, SlotsType<MenuSlots>, InternalMenuRuntimeProps, vue269.PublicProps>;
|
|
118
118
|
//#endregion
|
|
119
119
|
export { MenuClassNamesType, MenuEmits, MenuEmitsProps, MenuPopupSemanticClassNames, MenuPopupSemanticName, MenuPopupSemanticStyles, MenuProps, MenuSemanticClassNames, MenuSemanticName, MenuSemanticStyles, MenuSlots, MenuStylesType, RenderItem, SubMenuSemanticClassNames, SubMenuSemanticName, SubMenuSemanticStyles, InternalMenu as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FullToken, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue34 from "vue";
|
|
4
4
|
import { CSSProperties, ComputedRef } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/menu/style/index.d.ts
|
|
@@ -361,6 +361,6 @@ interface MenuToken extends FullToken<'Menu'> {
|
|
|
361
361
|
darkPopupBg: string;
|
|
362
362
|
}
|
|
363
363
|
declare const prepareComponentToken: GetDefaultToken<'Menu'>;
|
|
364
|
-
declare const _default: (prefixCls: ComputedRef<string>, rootCls?: ComputedRef<string>, injectStyle?: boolean) => readonly [
|
|
364
|
+
declare const _default: (prefixCls: ComputedRef<string>, rootCls?: ComputedRef<string>, injectStyle?: boolean) => readonly [vue34.Ref<string, string>, ComputedRef<string | undefined>];
|
|
365
365
|
//#endregion
|
|
366
366
|
export { ComponentToken, MenuToken, _default as default, prepareComponentToken };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ArgsClassNamesType, NoticeType } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue74 from "vue";
|
|
3
3
|
import { CSSProperties, SlotsType, VueNode } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/message/PureList.d.ts
|
|
@@ -21,8 +21,8 @@ interface PureListSlots {
|
|
|
21
21
|
* @private Internal component. Do not use in production.
|
|
22
22
|
* Mirrors ant-design 6.4 `message._InternalListDoNotUseOrYouWillBeFired`.
|
|
23
23
|
*/
|
|
24
|
-
declare const PureList:
|
|
24
|
+
declare const PureList: vue74.DefineSetupFnComponent<PureListProps, Record<string, never>, SlotsType<PureListSlots>, PureListProps & {
|
|
25
25
|
[x: `on${Capitalize<string>}`]: ((...args: unknown[]) => any) | undefined;
|
|
26
|
-
},
|
|
26
|
+
}, vue74.PublicProps>;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { PureListItem, PureListProps, PureListSlots, PureList as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VueNode as VueNode$1 } from "../_util/type.js";
|
|
2
2
|
import { ArgsClassNamesType, ArgsStylesType, MessageSemanticClassNames, MessageSemanticStyles, NoticeType } from "./interface.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue39 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/message/PurePanel.d.ts
|
|
6
6
|
interface PureContentProps {
|
|
@@ -18,7 +18,7 @@ declare const TypeIcon: Record<NoticeType, any>;
|
|
|
18
18
|
* need the `${prefixCls}-icon` class anymore.
|
|
19
19
|
*/
|
|
20
20
|
declare function resolveMessageIcon(_prefixCls: string, icon: VueNode$1 | undefined, type: NoticeType | undefined): VueNode$1;
|
|
21
|
-
declare const PureContent:
|
|
21
|
+
declare const PureContent: vue39.DefineSetupFnComponent<PureContentProps, {}, {}, PureContentProps & {}, vue39.PublicProps>;
|
|
22
22
|
interface PurePanelProps extends Omit<PureContentProps, 'prefixCls' | 'children' | 'classNames' | 'styles'> {
|
|
23
23
|
content?: VueNode$1;
|
|
24
24
|
duration?: number | false | null;
|
|
@@ -38,6 +38,6 @@ interface PurePanelProps extends Omit<PureContentProps, 'prefixCls' | 'children'
|
|
|
38
38
|
styles?: ArgsStylesType;
|
|
39
39
|
}
|
|
40
40
|
/** @private Internal Component. Do not use in your production. */
|
|
41
|
-
declare const PurePanel:
|
|
41
|
+
declare const PurePanel: vue39.DefineSetupFnComponent<PurePanelProps, {}, {}, PurePanelProps & {}, vue39.PublicProps>;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { PureContent, PureContentProps, PurePanelProps, TypeIcon, PurePanel as default, resolveMessageIcon };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue161 from "vue";
|
|
2
2
|
import { CSSProperties } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/message/style/index.d.ts
|
|
@@ -21,14 +21,14 @@ interface ComponentToken {
|
|
|
21
21
|
contentPadding: CSSProperties['padding'];
|
|
22
22
|
}
|
|
23
23
|
/** Register the PurePanel sub-style component for Message. */
|
|
24
|
-
declare const PurePanelStyle:
|
|
24
|
+
declare const PurePanelStyle: vue161.DefineComponent<vue161.ExtractPropTypes<{
|
|
25
25
|
prefixCls: StringConstructor;
|
|
26
26
|
rootCls: StringConstructor;
|
|
27
|
-
}>, () => null, {}, {}, {},
|
|
27
|
+
}>, () => null, {}, {}, {}, vue161.ComponentOptionsMixin, vue161.ComponentOptionsMixin, {}, string, vue161.PublicProps, Readonly<vue161.ExtractPropTypes<{
|
|
28
28
|
prefixCls: StringConstructor;
|
|
29
29
|
rootCls: StringConstructor;
|
|
30
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string,
|
|
30
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, vue161.ComponentProvideOptions, true, {}, any>;
|
|
31
31
|
/** Register the main style hook for Message. */
|
|
32
|
-
declare const _default: (prefixCls:
|
|
32
|
+
declare const _default: (prefixCls: vue161.Ref<string>, rootCls?: vue161.Ref<string | undefined>) => readonly [vue161.Ref<string, string>, vue161.ComputedRef<string | undefined>];
|
|
33
33
|
//#endregion
|
|
34
34
|
export { ComponentToken, PurePanelStyle, _default as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ConfigOptions, MessageInstance } from "./interface.js";
|
|
2
2
|
import { MaybeRef } from "@v-c/util/dist/type";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue_jsx_runtime0 from "vue/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/message/useMessage.d.ts
|
|
6
6
|
type HolderProps = ConfigOptions & {
|
|
7
7
|
onAllRemoved?: VoidFunction;
|
|
8
8
|
};
|
|
9
|
-
declare function useInternalMessage(messageConfig?: MaybeRef<HolderProps>): readonly [MessageInstance, () =>
|
|
10
|
-
declare function useMessage(messageConfig?: ConfigOptions): readonly [MessageInstance, () =>
|
|
9
|
+
declare function useInternalMessage(messageConfig?: MaybeRef<HolderProps>): readonly [MessageInstance, () => vue_jsx_runtime0.JSX.Element];
|
|
10
|
+
declare function useMessage(messageConfig?: ConfigOptions): readonly [MessageInstance, () => vue_jsx_runtime0.JSX.Element];
|
|
11
11
|
//#endregion
|
|
12
12
|
export { useMessage as default, useInternalMessage };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EmptyEmit } from "../_util/type.js";
|
|
2
2
|
import { ModalFuncProps, ModalLocale } from "./interface.js";
|
|
3
3
|
import { ThemeConfig } from "../config-provider/context.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue172 from "vue";
|
|
5
5
|
import { SlotsType } from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/modal/ConfirmDialog.d.ts
|
|
@@ -29,13 +29,13 @@ interface ConfirmDialogProps extends ModalFuncProps {
|
|
|
29
29
|
*/
|
|
30
30
|
isSilent?: () => boolean;
|
|
31
31
|
}
|
|
32
|
-
declare const ConfirmContent:
|
|
32
|
+
declare const ConfirmContent: vue172.DefineSetupFnComponent<ConfirmDialogProps & {
|
|
33
33
|
confirmPrefixCls: string;
|
|
34
34
|
}, EmptyEmit, SlotsType<{
|
|
35
35
|
default?: () => any;
|
|
36
36
|
}>, ConfirmDialogProps & {
|
|
37
37
|
confirmPrefixCls: string;
|
|
38
|
-
},
|
|
39
|
-
declare const ConfirmDialogWrapper:
|
|
38
|
+
}, vue172.PublicProps>;
|
|
39
|
+
declare const ConfirmDialogWrapper: vue172.DefineSetupFnComponent<ConfirmDialogProps, {}, {}, ConfirmDialogProps & {}, vue172.PublicProps>;
|
|
40
40
|
//#endregion
|
|
41
41
|
export { ConfirmContent, ConfirmDialogProps, ConfirmDialogWrapper as default };
|
package/dist/modal/Modal.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ModalEmits, ModalProps, ModalSlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue159 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/modal/Modal.d.ts
|
|
@@ -9,6 +9,6 @@ interface ModalEmitsProps {
|
|
|
9
9
|
onCancel?: ModalEmits['cancel'];
|
|
10
10
|
'onUpdate:open'?: ModalEmits['update:open'];
|
|
11
11
|
}
|
|
12
|
-
declare const Modal:
|
|
12
|
+
declare const Modal: vue159.DefineSetupFnComponent<InternalModalProps, ModalEmits, SlotsType<ModalSlots>, InternalModalProps, vue159.PublicProps>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { InternalModalProps, ModalEmitsProps, Modal as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ModalClassNamesType, ModalFuncProps, ModalStylesType } from "./interface.js";
|
|
2
2
|
import { DialogProps } from "@v-c/dialog";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue_jsx_runtime5 from "vue/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/modal/PurePanel.d.ts
|
|
6
6
|
interface PurePanelProps extends Omit<DialogProps, 'prefixCls' | 'footer' | 'visible' | 'classNames' | 'styles' | 'style'>, Pick<ModalFuncProps, 'type' | 'footer'>, PurePanelEmitsProps {
|
|
@@ -22,6 +22,6 @@ interface PurePanelSlots {
|
|
|
22
22
|
};
|
|
23
23
|
}) => any;
|
|
24
24
|
}
|
|
25
|
-
declare const _default: (props: any) =>
|
|
25
|
+
declare const _default: (props: any) => vue_jsx_runtime5.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { PurePanelEmitsProps, PurePanelProps, PurePanelSlots, _default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VueNode as VueNode$1 } from "../../_util/type.js";
|
|
2
2
|
import { ConfirmDialogProps } from "../ConfirmDialog.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue218 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/modal/components/ConfirmCancelBtn.d.ts
|
|
6
6
|
interface ConfirmCancelBtnProps extends Pick<ConfirmDialogProps, 'cancelButtonProps' | 'isSilent' | 'rootPrefixCls' | 'close' | 'onConfirm' | 'onCancel'> {
|
|
@@ -9,6 +9,6 @@ interface ConfirmCancelBtnProps extends Pick<ConfirmDialogProps, 'cancelButtonPr
|
|
|
9
9
|
mergedOkCancel?: boolean;
|
|
10
10
|
onClose?: () => void;
|
|
11
11
|
}
|
|
12
|
-
declare const ConfirmCancelBtn:
|
|
12
|
+
declare const ConfirmCancelBtn: vue218.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue218.PublicProps>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { ConfirmCancelBtnProps, ConfirmCancelBtn as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VueNode as VueNode$1 } from "../../_util/type.js";
|
|
2
2
|
import { ConfirmDialogProps } from "../ConfirmDialog.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue240 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/modal/components/ConfirmOkBtn.d.ts
|
|
6
6
|
interface ConfirmOkBtnProps extends Pick<ConfirmDialogProps, 'close' | 'isSilent' | 'okType' | 'okButtonProps' | 'rootPrefixCls' | 'onConfirm' | 'onOk'> {
|
|
@@ -8,6 +8,6 @@ interface ConfirmOkBtnProps extends Pick<ConfirmDialogProps, 'close' | 'isSilent
|
|
|
8
8
|
okTextLocale?: VueNode$1;
|
|
9
9
|
onClose?: () => void;
|
|
10
10
|
}
|
|
11
|
-
declare const ConfirmOkBtn:
|
|
11
|
+
declare const ConfirmOkBtn: vue240.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue240.PublicProps>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { ConfirmOkBtnProps, ConfirmOkBtn as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { VueNode as VueNode$1 } from "../../_util/type.js";
|
|
2
2
|
import { ModalEmits, ModalProps } from "../interface.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue244 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/modal/components/NormalCancelBtn.d.ts
|
|
6
6
|
interface NormalCancelBtnProps extends Pick<ModalProps, 'cancelButtonProps'> {
|
|
7
7
|
cancelTextLocale?: VueNode$1;
|
|
8
8
|
onCancel?: ModalEmits['cancel'];
|
|
9
9
|
}
|
|
10
|
-
declare const NormalCancelBtn:
|
|
10
|
+
declare const NormalCancelBtn: vue244.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue244.PublicProps>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { NormalCancelBtnProps, NormalCancelBtn as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { VueNode as VueNode$1 } from "../../_util/type.js";
|
|
2
2
|
import { ModalEmits, ModalProps } from "../interface.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue242 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/modal/components/NormalOkBtn.d.ts
|
|
6
6
|
interface NormalOkBtnProps extends Pick<ModalProps, 'confirmLoading' | 'okButtonProps' | 'okType'> {
|
|
7
7
|
okTextLocale?: VueNode$1;
|
|
8
8
|
onOk?: ModalEmits['ok'];
|
|
9
9
|
}
|
|
10
|
-
declare const NormalOkBtn:
|
|
10
|
+
declare const NormalOkBtn: vue242.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue242.PublicProps>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { NormalOkBtnProps, NormalOkBtn as default };
|
package/dist/modal/shared.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ModalEmits, ModalProps } from "./interface.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as vue216 from "vue";
|
|
3
|
+
import * as vue_jsx_runtime6 from "vue/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/modal/shared.d.ts
|
|
6
|
-
declare function renderCloseIcon(prefixCls: string, closeIcon?: any):
|
|
6
|
+
declare function renderCloseIcon(prefixCls: string, closeIcon?: any): vue_jsx_runtime6.JSX.Element;
|
|
7
7
|
interface FooterProps extends Pick<ModalProps, 'footer' | 'okText' | 'okType' | 'cancelText' | 'confirmLoading' | 'okButtonProps' | 'cancelButtonProps'> {
|
|
8
8
|
onOk?: ModalEmits['ok'];
|
|
9
9
|
onCancel?: ModalEmits['cancel'];
|
|
10
10
|
}
|
|
11
|
-
declare const Footer:
|
|
11
|
+
declare const Footer: vue216.DefineSetupFnComponent<FooterProps, {}, {}, FooterProps & {}, vue216.PublicProps>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { Footer, FooterProps, renderCloseIcon };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue364 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/modal/style/confirm.d.ts
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: vue364.DefineComponent<vue364.ExtractPropTypes<{
|
|
5
5
|
prefixCls: StringConstructor;
|
|
6
6
|
rootCls: StringConstructor;
|
|
7
|
-
}>, () => null, {}, {}, {},
|
|
7
|
+
}>, () => null, {}, {}, {}, vue364.ComponentOptionsMixin, vue364.ComponentOptionsMixin, {}, string, vue364.PublicProps, Readonly<vue364.ExtractPropTypes<{
|
|
8
8
|
prefixCls: StringConstructor;
|
|
9
9
|
rootCls: StringConstructor;
|
|
10
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string,
|
|
10
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, vue364.ComponentProvideOptions, true, {}, any>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { _default as default };
|
|
@@ -2,7 +2,7 @@ import { AliasToken } from "../../theme/interface/alias.js";
|
|
|
2
2
|
import { FullToken, GenStyleFn, GlobalToken } from "../../theme/interface/cssinjs-utils.js";
|
|
3
3
|
import { GenerateStyle } from "../../theme/interface/index.js";
|
|
4
4
|
import { TokenWithCommonCls } from "../../theme/internal.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue453 from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/modal/style/index.d.ts
|
|
8
8
|
/** Component only token. Which will handle additional calculation of alias token */
|
|
@@ -136,6 +136,6 @@ declare function prepareComponentToken(token: GlobalToken): {
|
|
|
136
136
|
confirmBtnsMarginTop: number;
|
|
137
137
|
mask: boolean;
|
|
138
138
|
};
|
|
139
|
-
declare const _default: (prefixCls:
|
|
139
|
+
declare const _default: (prefixCls: vue453.Ref<string>, rootCls?: vue453.Ref<string | undefined>) => readonly [vue453.Ref<string, string>, vue453.ComputedRef<string | undefined>];
|
|
140
140
|
//#endregion
|
|
141
141
|
export { ComponentToken, ModalToken, _default as default, genModalMaskStyle, prepareComponentToken, prepareToken };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EmptyEmit } from "../../_util/type.js";
|
|
2
2
|
import { ModalFuncProps } from "../interface.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue581 from "vue";
|
|
4
4
|
import { SlotsType } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/modal/useModal/HookModal.d.ts
|
|
@@ -10,8 +10,8 @@ interface HookModalProps {
|
|
|
10
10
|
onConfirm?: (confirmed: boolean) => void;
|
|
11
11
|
isSilent?: () => boolean;
|
|
12
12
|
}
|
|
13
|
-
declare const HookModal:
|
|
13
|
+
declare const HookModal: vue581.DefineSetupFnComponent<HookModalProps, EmptyEmit, SlotsType<{
|
|
14
14
|
default?: () => any;
|
|
15
|
-
}>, HookModalProps,
|
|
15
|
+
}>, HookModalProps, vue581.PublicProps>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { HookModalProps, HookModal as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IconType, NotificationClassNamesType, NotificationPlacement } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue26 from "vue";
|
|
3
3
|
import { CSSProperties, SlotsType, VueNode } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/notification/PureList.d.ts
|
|
@@ -25,8 +25,8 @@ interface PureListSlots {
|
|
|
25
25
|
* @private Internal component. Do not use in production.
|
|
26
26
|
* Mirrors ant-design 6.4.0 `notification._InternalListDoNotUseOrYouWillBeFired`.
|
|
27
27
|
*/
|
|
28
|
-
declare const PureList:
|
|
28
|
+
declare const PureList: vue26.DefineSetupFnComponent<PureListProps, Record<string, never>, SlotsType<PureListSlots>, PureListProps & {
|
|
29
29
|
[x: `on${Capitalize<string>}`]: ((...args: unknown[]) => any) | undefined;
|
|
30
|
-
},
|
|
30
|
+
}, vue26.PublicProps>;
|
|
31
31
|
//#endregion
|
|
32
32
|
export { PureListItem, PureListProps, PureListSlots, PureList as default };
|
|
@@ -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 { IconType, NotificationSemanticClassNames, NotificationSemanticStyles } from "./interface.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue35 from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/notification/PurePanel.d.ts
|
|
8
8
|
type PurePanelClassNamesType = SemanticClassNamesType<PurePanelProps, NotificationSemanticClassNames>;
|
|
@@ -22,7 +22,7 @@ interface PureContentProps {
|
|
|
22
22
|
declare const TypeIcon: Record<IconType, any>;
|
|
23
23
|
declare function resolveIconNode(icon: VueNode$1 | undefined, type: IconType | undefined): VueNode$1;
|
|
24
24
|
declare function getIconWrapperClassName(prefixCls: string, type: IconType | undefined): string;
|
|
25
|
-
declare const PureContent:
|
|
25
|
+
declare const PureContent: vue35.DefineSetupFnComponent<PureContentProps, {}, {}, PureContentProps & {}, vue35.PublicProps>;
|
|
26
26
|
interface PurePanelProps extends Omit<PureContentProps, 'prefixCls' | 'children' | 'classes' | 'styles'> {
|
|
27
27
|
content?: VueNode$1;
|
|
28
28
|
duration?: number | false | null;
|
|
@@ -41,6 +41,6 @@ interface PurePanelProps extends Omit<PureContentProps, 'prefixCls' | 'children'
|
|
|
41
41
|
onClick?: (event: Event) => void;
|
|
42
42
|
}
|
|
43
43
|
/** @private Internal Component. Do not use in your production. */
|
|
44
|
-
declare const PurePanel:
|
|
44
|
+
declare const PurePanel: vue35.DefineSetupFnComponent<PurePanelProps, {}, {}, PurePanelProps & {}, vue35.PublicProps>;
|
|
45
45
|
//#endregion
|
|
46
46
|
export { PureContent, PureContentProps, PurePanelClassNamesType, PurePanelProps, PurePanelStylesType, TypeIcon, PurePanel as default, getCloseIcon, getIconWrapperClassName, resolveIconNode };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FullToken, GenStyleFn } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import { GenerateStyle } from "../../theme/interface/index.js";
|
|
3
3
|
import "../../theme/internal.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue114 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/notification/style/index.d.ts
|
|
7
7
|
type WidthKey<Token extends NotificationToken> = { [Key in keyof Token]: Token[Key] extends number | string ? Key : never }[keyof Token];
|
|
@@ -107,16 +107,16 @@ interface NotificationToken extends FullToken<'Notification'> {
|
|
|
107
107
|
/** Derive internal Notification style tokens from alias and component tokens. */
|
|
108
108
|
declare const prepareNotificationToken: (token: Parameters<GenStyleFn<'Notification'>>[0]) => NotificationToken;
|
|
109
109
|
/** Register the PurePanel sub-style component for Notification. */
|
|
110
|
-
declare const PurePanelStyle:
|
|
110
|
+
declare const PurePanelStyle: vue114.DefineComponent<vue114.ExtractPropTypes<{
|
|
111
111
|
prefixCls: StringConstructor;
|
|
112
112
|
rootCls: StringConstructor;
|
|
113
|
-
}>, () => null, {}, {}, {},
|
|
113
|
+
}>, () => null, {}, {}, {}, vue114.ComponentOptionsMixin, vue114.ComponentOptionsMixin, {}, string, vue114.PublicProps, Readonly<vue114.ExtractPropTypes<{
|
|
114
114
|
prefixCls: StringConstructor;
|
|
115
115
|
rootCls: StringConstructor;
|
|
116
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string,
|
|
116
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, vue114.ComponentProvideOptions, true, {}, any>;
|
|
117
117
|
/** Compose the shared list, item, and placement styles. */
|
|
118
118
|
declare function sharedGenerateStyle<Token extends NotificationToken>(token: Token, config: SharedStyleConfig<Token>): ReturnType<GenerateStyle<Token>>;
|
|
119
119
|
/** Register the main style hook for Notification. */
|
|
120
|
-
declare const _default: (prefixCls:
|
|
120
|
+
declare const _default: (prefixCls: vue114.Ref<string>, rootCls?: vue114.Ref<string | undefined>) => readonly [vue114.Ref<string, string>, vue114.ComputedRef<string | undefined>];
|
|
121
121
|
//#endregion
|
|
122
122
|
export { ComponentToken, NotificationToken, PurePanelStyle, _default as default, prepareNotificationToken, sharedGenerateStyle };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { NotificationConfig, NotificationInstance } from "./interface.js";
|
|
2
2
|
import { MaybeRef } from "@v-c/util/dist/type";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue_jsx_runtime2 from "vue/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/notification/useNotification.d.ts
|
|
6
6
|
type HolderProps = NotificationConfig & {
|
|
7
7
|
onAllRemoved?: VoidFunction;
|
|
8
8
|
};
|
|
9
|
-
declare function useInternalNotification(notificationConfig?: MaybeRef<HolderProps>): readonly [NotificationInstance, () =>
|
|
10
|
-
declare function useNotification(notificationConfig?: MaybeRef<NotificationConfig>): readonly [NotificationInstance, () =>
|
|
9
|
+
declare function useInternalNotification(notificationConfig?: MaybeRef<HolderProps>): readonly [NotificationInstance, () => vue_jsx_runtime2.JSX.Element];
|
|
10
|
+
declare function useNotification(notificationConfig?: MaybeRef<NotificationConfig>): readonly [NotificationInstance, () => vue_jsx_runtime2.JSX.Element];
|
|
11
11
|
//#endregion
|
|
12
12
|
export { useNotification as default, useInternalNotification };
|
package/dist/package.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PaginationEmits, PaginationProps, PaginationSlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue222 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: vue222.DefineSetupFnComponent<InternalPaginationProps, PaginationEmits, SlotsType<PaginationSlots>, InternalPaginationProps, vue222.PublicProps>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { InternalPaginationProps, PaginationEmitsProps, Pagination as default };
|
|
@@ -10,10 +10,10 @@ import useBreakpoint_default from "../grid/hooks/useBreakpoint.js";
|
|
|
10
10
|
import style_default from "./style/index.js";
|
|
11
11
|
import bordered_default from "./style/bordered.js";
|
|
12
12
|
import resolveShowSizeChanger from "./useShowSizeChanger.js";
|
|
13
|
-
import { Fragment, computed,
|
|
13
|
+
import { Fragment, computed, createVNode, defineComponent, mergeProps } from "vue";
|
|
14
14
|
import { clsx } from "@v-c/util";
|
|
15
15
|
import { getAttrStyleAndClass } from "@v-c/util/dist/props-util";
|
|
16
|
-
import { DoubleLeftOutlined, DoubleRightOutlined, LeftOutlined, RightOutlined } from "@antdv-next/icons";
|
|
16
|
+
import { DoubleLeftOutlined, DoubleRightOutlined, EllipsisOutlined, LeftOutlined, RightOutlined } from "@antdv-next/icons";
|
|
17
17
|
import { omit } from "es-toolkit";
|
|
18
18
|
import VcPagination from "@v-c/pagination";
|
|
19
19
|
import Pagination from "@v-c/pagination/locale/zh_CN";
|
|
@@ -81,7 +81,7 @@ const Pagination$1 = /* @__PURE__ */ defineComponent((props, { slots, attrs, emi
|
|
|
81
81
|
};
|
|
82
82
|
if (isDev) devUseWarning("Pagination")(!props.selectComponentClass, "usage", "`selectComponentClass` is not official api which will be removed.");
|
|
83
83
|
const selectPrefixCls = computed(() => getPrefixCls("select", props.selectPrefixCls));
|
|
84
|
-
const defaultEllipsis = computed(() => createVNode("span", { "class": `${prefixCls.value}-item-ellipsis` }, [
|
|
84
|
+
const defaultEllipsis = computed(() => createVNode("span", { "class": `${prefixCls.value}-item-ellipsis` }, [createVNode(EllipsisOutlined, null, null)]));
|
|
85
85
|
const defaultPrevIcon = computed(() => createVNode("button", {
|
|
86
86
|
"class": `${prefixCls.value}-item-link`,
|
|
87
87
|
"type": "button",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue675 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/pagination/style/bordered.d.ts
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: vue675.DefineComponent<vue675.ExtractPropTypes<{
|
|
5
5
|
prefixCls: StringConstructor;
|
|
6
6
|
rootCls: StringConstructor;
|
|
7
|
-
}>, () => null, {}, {}, {},
|
|
7
|
+
}>, () => null, {}, {}, {}, vue675.ComponentOptionsMixin, vue675.ComponentOptionsMixin, {}, string, vue675.PublicProps, Readonly<vue675.ExtractPropTypes<{
|
|
8
8
|
prefixCls: StringConstructor;
|
|
9
9
|
rootCls: StringConstructor;
|
|
10
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string,
|
|
10
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, vue675.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 vue961 from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/pagination/style/index.d.ts
|
|
7
7
|
interface ComponentToken {
|
|
@@ -96,16 +96,6 @@ interface PaginationToken extends FullToken<'Pagination'>, SharedComponentToken,
|
|
|
96
96
|
* @descEN Horizontal padding of Pagination item
|
|
97
97
|
*/
|
|
98
98
|
paginationItemPaddingInline: number | string;
|
|
99
|
-
/**
|
|
100
|
-
* @desc 省略号字母间距
|
|
101
|
-
* @descEN Letter spacing of ellipsis
|
|
102
|
-
*/
|
|
103
|
-
paginationEllipsisLetterSpacing: number | string;
|
|
104
|
-
/**
|
|
105
|
-
* @desc 省略号文本缩进
|
|
106
|
-
* @descEN Text indent of ellipsis
|
|
107
|
-
*/
|
|
108
|
-
paginationEllipsisTextIndent: string;
|
|
109
99
|
/**
|
|
110
100
|
* @desc 斜杠横向外边距
|
|
111
101
|
* @descEN Horizontal margin of slash
|
|
@@ -119,6 +109,6 @@ interface PaginationToken extends FullToken<'Pagination'>, SharedComponentToken,
|
|
|
119
109
|
}
|
|
120
110
|
declare const prepareComponentToken: GetDefaultToken<'Pagination'>;
|
|
121
111
|
declare function prepareToken(token: Parameters<GenStyleFn<'Pagination'>>[0]): PaginationToken;
|
|
122
|
-
declare const _default: (prefixCls:
|
|
112
|
+
declare const _default: (prefixCls: vue961.Ref<string>, rootCls?: vue961.Ref<string | undefined>) => readonly [vue961.Ref<string, string>, vue961.ComputedRef<string | undefined>];
|
|
123
113
|
//#endregion
|
|
124
114
|
export { ComponentToken, PaginationToken, _default as default, prepareComponentToken, prepareToken };
|
|
@@ -160,11 +160,13 @@ const genPaginationJumpStyle = (token) => {
|
|
|
160
160
|
display: "block",
|
|
161
161
|
margin: "auto",
|
|
162
162
|
color: token.colorTextDisabled,
|
|
163
|
-
letterSpacing: token.paginationEllipsisLetterSpacing,
|
|
164
163
|
textAlign: "center",
|
|
165
|
-
textIndent: token.paginationEllipsisTextIndent,
|
|
166
164
|
opacity: 1,
|
|
167
|
-
transition: `all ${token.motionDurationMid}
|
|
165
|
+
transition: `all ${token.motionDurationMid}`,
|
|
166
|
+
"svg": {
|
|
167
|
+
transform: "scale(2)",
|
|
168
|
+
transformOrigin: "center"
|
|
169
|
+
}
|
|
168
170
|
}
|
|
169
171
|
},
|
|
170
172
|
"&:hover": {
|
|
@@ -384,10 +386,8 @@ function prepareToken(token) {
|
|
|
384
386
|
paginationMiniOptionsMarginInlineStart: token.calc(token.marginXXS).div(2).equal(),
|
|
385
387
|
paginationMiniQuickJumperInputWidth: token.calc(token.controlHeightLG).mul(1.1).equal(),
|
|
386
388
|
paginationItemPaddingInline: token.calc(token.marginXXS).mul(1.5).equal(),
|
|
387
|
-
paginationEllipsisLetterSpacing: token.calc(token.marginXXS).div(2).equal(),
|
|
388
389
|
paginationSlashMarginInlineStart: token.marginSM,
|
|
389
|
-
paginationSlashMarginInlineEnd: token.marginSM
|
|
390
|
-
paginationEllipsisTextIndent: "0.13em"
|
|
390
|
+
paginationSlashMarginInlineEnd: token.marginSM
|
|
391
391
|
}, initInputToken(token));
|
|
392
392
|
}
|
|
393
393
|
var style_default = genStyleHooks("Pagination", (token) => {
|