antdv-next 1.3.4 → 1.3.5
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/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 +70 -68
- package/dist/antd-with-locales.js +42 -42
- package/dist/antd.esm.js +70 -68
- package/dist/antd.js +3 -3
- package/dist/app/App.d.ts +2 -2
- package/dist/app/context.d.ts +2 -2
- package/dist/app/style/index.d.ts +2 -2
- package/dist/auto-complete/index.d.ts +2 -2
- package/dist/avatar/Avatar.d.ts +2 -2
- package/dist/avatar/AvatarGroup.d.ts +2 -2
- package/dist/avatar/style/index.d.ts +2 -2
- package/dist/badge/Ribbon.d.ts +2 -2
- package/dist/badge/ScrollNumber.d.ts +2 -2
- package/dist/badge/SingleNumber.d.ts +2 -2
- package/dist/badge/index.d.ts +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 +2 -2
- 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 +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/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 +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/FormItem/index.js +2 -0
- package/dist/form/FormItemInput.d.ts +2 -2
- package/dist/form/FormItemLabel.d.ts +3 -3
- package/dist/form/context.d.ts +7 -7
- package/dist/form/hooks/useVariant.d.ts +2 -2
- package/dist/form/style/fallbackCmp.d.ts +4 -4
- package/dist/form/style/index.d.ts +2 -2
- package/dist/grid/col.d.ts +2 -2
- package/dist/grid/index.d.ts +2 -2
- package/dist/grid/row.d.ts +2 -2
- package/dist/grid/style/index.d.ts +3 -3
- package/dist/image/PreviewGroup.d.ts +12 -12
- package/dist/image/hooks/useMergedPreviewConfig.d.ts +6 -6
- package/dist/image/hooks/usePreviewConfig.d.ts +9 -9
- 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/locale/zh_CN.js +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/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/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 +6 -6
- package/dist/pagination/style/bordered.d.ts +4 -4
- package/dist/pagination/style/index.d.ts +2 -2
- package/dist/popconfirm/PurePanel.d.ts +3 -3
- package/dist/popconfirm/index.d.ts +2 -2
- package/dist/popconfirm/style/index.d.ts +2 -2
- package/dist/popover/PurePanel.d.ts +4 -4
- package/dist/popover/index.d.ts +2 -2
- package/dist/popover/style/index.d.ts +2 -2
- package/dist/progress/Circle.d.ts +3 -3
- package/dist/progress/Line.d.ts +3 -3
- package/dist/progress/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 +5 -5
- package/dist/select/usePopupRender.d.ts +2 -2
- package/dist/skeleton/Avatar.d.ts +2 -2
- package/dist/skeleton/Button.d.ts +2 -2
- package/dist/skeleton/Element.d.ts +2 -2
- package/dist/skeleton/Image.d.ts +2 -2
- package/dist/skeleton/Input.d.ts +2 -2
- package/dist/skeleton/Node.d.ts +2 -2
- package/dist/skeleton/Paragraph.d.ts +2 -2
- package/dist/skeleton/Skeleton.d.ts +2 -2
- package/dist/skeleton/Title.d.ts +2 -2
- package/dist/skeleton/style/index.d.ts +2 -2
- package/dist/slider/SliderTooltip.d.ts +3 -3
- package/dist/slider/index.d.ts +2 -2
- package/dist/slider/style/index.d.ts +2 -2
- package/dist/space/Addon.d.ts +2 -2
- package/dist/space/Compact.d.ts +6 -6
- package/dist/space/Item.d.ts +2 -2
- package/dist/space/index.d.ts +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/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/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 +5 -4
- 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 +2 -8
- package/dist/tour/style/index.d.ts +2 -2
- package/dist/transfer/Actions.d.ts +2 -2
- package/dist/transfer/ListBody.d.ts +2 -2
- package/dist/transfer/ListItem.d.ts +2 -2
- package/dist/transfer/Section.d.ts +2 -2
- package/dist/transfer/Transfer.d.ts +2 -2
- package/dist/transfer/hooks/useData.d.ts +2 -2
- package/dist/transfer/search.d.ts +2 -2
- package/dist/transfer/style/index.d.ts +2 -2
- package/dist/tree/DirectoryTree.d.ts +2 -2
- package/dist/tree/Tree.d.ts +2 -2
- package/dist/tree/style/index.d.ts +2 -2
- package/dist/tree/utils/iconUtil.d.ts +2 -2
- package/dist/tree-select/index.d.ts +3 -3
- package/dist/tree-select/style/index.d.ts +2 -2
- package/dist/typography/Base/CopyBtn.d.ts +2 -2
- package/dist/typography/Base/Ellipsis.d.ts +3 -3
- package/dist/typography/Base/EllipsisTooltip.d.ts +2 -2
- package/dist/typography/Base/index.d.ts +2 -2
- package/dist/typography/Editable.d.ts +2 -2
- package/dist/typography/Link.d.ts +2 -2
- package/dist/typography/Paragraph.d.ts +2 -2
- package/dist/typography/Text.d.ts +2 -2
- package/dist/typography/Title.d.ts +2 -2
- package/dist/typography/Typography.d.ts +2 -2
- package/dist/typography/hooks/useCopyClick.d.ts +3 -3
- package/dist/typography/hooks/useMergedConfig.d.ts +2 -2
- package/dist/typography/hooks/useTooltipProps.d.ts +2 -2
- package/dist/typography/index.d.ts +5 -5
- package/dist/typography/style/index.d.ts +2 -2
- package/dist/upload/Dragger.d.ts +3 -3
- package/dist/upload/Upload.d.ts +2 -2
- package/dist/upload/UploadList/ListItem.d.ts +2 -2
- package/dist/upload/UploadList/index.d.ts +2 -2
- package/dist/upload/index.d.ts +3 -3
- package/dist/upload/style/index.d.ts +2 -2
- package/dist/watermark/context.d.ts +2 -2
- package/dist/watermark/index.d.ts +2 -2
- package/package.json +2 -2
- package/web-tags.json +1329 -1333
- package/web-types.json +5127 -5140
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 vue123 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: vue123.DefineSetupFnComponent<SubMenuProps, EmptyEmit, SlotsType<SubMenuSlots>, SubMenuProps, vue123.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 vue100 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: vue100.DefineSetupFnComponent<InternalMenuProps, MenuEmits, SlotsType<MenuSlots>, InternalMenuProps, vue100.PublicProps>;
|
|
21
|
+
declare const MenuItem: vue100.DefineSetupFnComponent<MenuItemProps, EmptyEmit, SlotsType<MenuItemSlots>, MenuItemProps, vue100.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 vue131 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: vue131.DefineSetupFnComponent<InternalMenuRuntimeProps, MenuEmits, SlotsType<MenuSlots>, InternalMenuRuntimeProps, vue131.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 vue545 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 [vue545.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 vue226 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: vue226.DefineSetupFnComponent<PureListProps, Record<string, never>, SlotsType<PureListSlots>, PureListProps & {
|
|
25
25
|
[x: `on${Capitalize<string>}`]: ((...args: unknown[]) => any) | undefined;
|
|
26
|
-
},
|
|
26
|
+
}, vue226.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 vue125 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: vue125.DefineSetupFnComponent<PureContentProps, {}, {}, PureContentProps & {}, vue125.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: vue125.DefineSetupFnComponent<PurePanelProps, {}, {}, PurePanelProps & {}, vue125.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 vue490 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: vue490.DefineComponent<vue490.ExtractPropTypes<{
|
|
25
25
|
prefixCls: StringConstructor;
|
|
26
26
|
rootCls: StringConstructor;
|
|
27
|
-
}>, () => null, {}, {}, {},
|
|
27
|
+
}>, () => null, {}, {}, {}, vue490.ComponentOptionsMixin, vue490.ComponentOptionsMixin, {}, string, vue490.PublicProps, Readonly<vue490.ExtractPropTypes<{
|
|
28
28
|
prefixCls: StringConstructor;
|
|
29
29
|
rootCls: StringConstructor;
|
|
30
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string,
|
|
30
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, vue490.ComponentProvideOptions, true, {}, any>;
|
|
31
31
|
/** Register the main style hook for Message. */
|
|
32
|
-
declare const _default: (prefixCls:
|
|
32
|
+
declare const _default: (prefixCls: vue490.Ref<string>, rootCls?: vue490.Ref<string | undefined>) => readonly [vue490.Ref<string, string>, vue490.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_runtime2 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_runtime2.JSX.Element];
|
|
10
|
+
declare function useMessage(messageConfig?: ConfigOptions): readonly [MessageInstance, () => vue_jsx_runtime2.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 vue338 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: vue338.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
|
+
}, vue338.PublicProps>;
|
|
39
|
+
declare const ConfirmDialogWrapper: vue338.DefineSetupFnComponent<ConfirmDialogProps, {}, {}, ConfirmDialogProps & {}, vue338.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 vue289 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: vue289.DefineSetupFnComponent<InternalModalProps, ModalEmits, SlotsType<ModalSlots>, InternalModalProps, vue289.PublicProps>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { InternalModalProps, ModalEmitsProps, Modal 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 vue172 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: vue172.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue172.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 vue458 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: vue458.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue458.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 vue420 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: vue420.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue420.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 vue87 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: vue87.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue87.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 vue399 from "vue";
|
|
3
|
+
import * as vue_jsx_runtime11 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_runtime11.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: vue399.DefineSetupFnComponent<FooterProps, {}, {}, FooterProps & {}, vue399.PublicProps>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { Footer, FooterProps, renderCloseIcon };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue67 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/modal/style/confirm.d.ts
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: vue67.DefineComponent<vue67.ExtractPropTypes<{
|
|
5
5
|
prefixCls: StringConstructor;
|
|
6
6
|
rootCls: StringConstructor;
|
|
7
|
-
}>, () => null, {}, {}, {},
|
|
7
|
+
}>, () => null, {}, {}, {}, vue67.ComponentOptionsMixin, vue67.ComponentOptionsMixin, {}, string, vue67.PublicProps, Readonly<vue67.ExtractPropTypes<{
|
|
8
8
|
prefixCls: StringConstructor;
|
|
9
9
|
rootCls: StringConstructor;
|
|
10
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string,
|
|
10
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, vue67.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 vue50 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: vue50.Ref<string>, rootCls?: vue50.Ref<string | undefined>) => readonly [vue50.Ref<string, string>, vue50.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 vue139 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: vue139.DefineSetupFnComponent<HookModalProps, EmptyEmit, SlotsType<{
|
|
14
14
|
default?: () => any;
|
|
15
|
-
}>, HookModalProps,
|
|
15
|
+
}>, HookModalProps, vue139.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 vue259 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: vue259.DefineSetupFnComponent<PureListProps, Record<string, never>, SlotsType<PureListSlots>, PureListProps & {
|
|
29
29
|
[x: `on${Capitalize<string>}`]: ((...args: unknown[]) => any) | undefined;
|
|
30
|
-
},
|
|
30
|
+
}, vue259.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 vue234 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: vue234.DefineSetupFnComponent<PureContentProps, {}, {}, PureContentProps & {}, vue234.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: vue234.DefineSetupFnComponent<PurePanelProps, {}, {}, PurePanelProps & {}, vue234.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 vue56 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: vue56.DefineComponent<vue56.ExtractPropTypes<{
|
|
111
111
|
prefixCls: StringConstructor;
|
|
112
112
|
rootCls: StringConstructor;
|
|
113
|
-
}>, () => null, {}, {}, {},
|
|
113
|
+
}>, () => null, {}, {}, {}, vue56.ComponentOptionsMixin, vue56.ComponentOptionsMixin, {}, string, vue56.PublicProps, Readonly<vue56.ExtractPropTypes<{
|
|
114
114
|
prefixCls: StringConstructor;
|
|
115
115
|
rootCls: StringConstructor;
|
|
116
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string,
|
|
116
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, vue56.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: vue56.Ref<string>, rootCls?: vue56.Ref<string | undefined>) => readonly [vue56.Ref<string, string>, vue56.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_runtime8 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_runtime8.JSX.Element];
|
|
10
|
+
declare function useNotification(notificationConfig?: MaybeRef<NotificationConfig>): readonly [NotificationInstance, () => vue_jsx_runtime8.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 vue182 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: vue182.DefineSetupFnComponent<InternalPaginationProps, PaginationEmits, SlotsType<PaginationSlots>, InternalPaginationProps, vue182.PublicProps>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { InternalPaginationProps, PaginationEmitsProps, Pagination as default };
|
|
@@ -16,7 +16,7 @@ import { getAttrStyleAndClass } from "@v-c/util/dist/props-util";
|
|
|
16
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
|
-
import
|
|
19
|
+
import enUS from "@v-c/pagination/locale/zh_CN";
|
|
20
20
|
|
|
21
21
|
//#region src/pagination/Pagination.tsx
|
|
22
22
|
const omitKeys = [
|
|
@@ -29,7 +29,7 @@ const omitKeys = [
|
|
|
29
29
|
"pageSizeOptions",
|
|
30
30
|
"selectComponentClass"
|
|
31
31
|
];
|
|
32
|
-
const Pagination
|
|
32
|
+
const Pagination = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit }) => {
|
|
33
33
|
const { getPrefixCls, prefixCls, direction, class: contextClassName, style: contextStyle, classes: contextClassNames, styles: contextStyles, showSizeChanger: contextShowSizeChangerConfig } = useComponentBaseConfig("pagination", props, ["showSizeChanger"]);
|
|
34
34
|
const { size, responsive, classes, styles, showSizeChanger } = toPropsRefs$1(props, "size", "responsive", "classes", "styles", "showSizeChanger");
|
|
35
35
|
const [hashId, cssVarCls] = style_default(prefixCls, prefixCls);
|
|
@@ -44,7 +44,7 @@ const Pagination$1 = /* @__PURE__ */ defineComponent((props, { slots, attrs, emi
|
|
|
44
44
|
};
|
|
45
45
|
});
|
|
46
46
|
const [mergedClassNames, mergedStyles] = useMergeSemantic(useToArr(contextClassNames, classes), useToArr(contextStyles, styles), useToProps(mergedProps));
|
|
47
|
-
const [contextLocale] = useLocale_default("Pagination",
|
|
47
|
+
const [contextLocale] = useLocale_default("Pagination", enUS);
|
|
48
48
|
const mergedLocale = computed(() => ({
|
|
49
49
|
...contextLocale?.value,
|
|
50
50
|
...props.locale ?? {}
|
|
@@ -344,10 +344,10 @@ const Pagination$1 = /* @__PURE__ */ defineComponent((props, { slots, attrs, emi
|
|
|
344
344
|
name: "APagination",
|
|
345
345
|
inheritAttrs: false
|
|
346
346
|
});
|
|
347
|
-
Pagination
|
|
348
|
-
app.component(Pagination
|
|
347
|
+
Pagination.install = (app) => {
|
|
348
|
+
app.component(Pagination.name, Pagination);
|
|
349
349
|
};
|
|
350
|
-
var Pagination_default = Pagination
|
|
350
|
+
var Pagination_default = Pagination;
|
|
351
351
|
|
|
352
352
|
//#endregion
|
|
353
353
|
export { Pagination_default as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue521 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/pagination/style/bordered.d.ts
|
|
4
|
-
declare const _default:
|
|
4
|
+
declare const _default: vue521.DefineComponent<vue521.ExtractPropTypes<{
|
|
5
5
|
prefixCls: StringConstructor;
|
|
6
6
|
rootCls: StringConstructor;
|
|
7
|
-
}>, () => null, {}, {}, {},
|
|
7
|
+
}>, () => null, {}, {}, {}, vue521.ComponentOptionsMixin, vue521.ComponentOptionsMixin, {}, string, vue521.PublicProps, Readonly<vue521.ExtractPropTypes<{
|
|
8
8
|
prefixCls: StringConstructor;
|
|
9
9
|
rootCls: StringConstructor;
|
|
10
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string,
|
|
10
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, vue521.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 vue558 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: vue558.Ref<string>, rootCls?: vue558.Ref<string | undefined>) => readonly [vue558.Ref<string, string>, vue558.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 vue230 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: vue230.DefineSetupFnComponent<OverlayProps, {}, {}, OverlayProps & {}, vue230.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: vue230.DefineSetupFnComponent<PurePanelProps, {}, {}, PurePanelProps & {}, vue230.PublicProps>;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { Overlay, OverlayProps, PopconfirmLocale, PurePanelProps, PurePanel as 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 vue248 from "vue";
|
|
10
10
|
import { App, CSSProperties, SlotsType } from "vue";
|
|
11
11
|
|
|
12
12
|
//#region src/popconfirm/index.d.ts
|
|
@@ -55,7 +55,7 @@ interface PopconfirmSlots {
|
|
|
55
55
|
okText?: () => any;
|
|
56
56
|
cancelText?: () => any;
|
|
57
57
|
}
|
|
58
|
-
declare const InternalPopconfirm:
|
|
58
|
+
declare const InternalPopconfirm: vue248.DefineSetupFnComponent<PopconfirmProps, PopconfirmEmits, SlotsType<PopconfirmSlots>, PopconfirmProps, vue248.PublicProps>;
|
|
59
59
|
type PopconfirmType = typeof InternalPopconfirm & {
|
|
60
60
|
install: (app: App) => void;
|
|
61
61
|
_InternalPanelDoNotUseOrYouWillBeFired: typeof PurePanel;
|
|
@@ -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 vue186 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: vue186.Ref<string>, rootCls?: vue186.Ref<string | undefined>) => readonly [vue186.Ref<string, string>, vue186.ComputedRef<string | undefined>];
|
|
20
20
|
//#endregion
|
|
21
21
|
export { ComponentToken, PopconfirmToken, _default as default, prepareComponentToken };
|