mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
types: define global components for volar (#10136)
* types: define global components for volar * chore: remove comment
This commit is contained in:
parent
be0de2023c
commit
2b3c1baa0b
@ -4,3 +4,9 @@ import _ActionBarButton from './ActionBarButton';
|
|||||||
export const ActionBarButton = withInstall(_ActionBarButton);
|
export const ActionBarButton = withInstall(_ActionBarButton);
|
||||||
export default ActionBarButton;
|
export default ActionBarButton;
|
||||||
export type { ActionBarButtonProps } from './ActionBarButton';
|
export type { ActionBarButtonProps } from './ActionBarButton';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanActionBarButton: typeof ActionBarButton;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _ActionBarIcon from './ActionBarIcon';
|
|||||||
export const ActionBarIcon = withInstall(_ActionBarIcon);
|
export const ActionBarIcon = withInstall(_ActionBarIcon);
|
||||||
export default ActionBarIcon;
|
export default ActionBarIcon;
|
||||||
export type { ActionBarIconProps } from './ActionBarIcon';
|
export type { ActionBarIconProps } from './ActionBarIcon';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanActionBarIcon: typeof ActionBarIcon;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _ActionBar from './ActionBar';
|
|||||||
export const ActionBar = withInstall(_ActionBar);
|
export const ActionBar = withInstall(_ActionBar);
|
||||||
export default ActionBar;
|
export default ActionBar;
|
||||||
export type { ActionBarProps } from './ActionBar';
|
export type { ActionBarProps } from './ActionBar';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanActionBar: typeof ActionBar;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _ActionSheet from './ActionSheet';
|
|||||||
export const ActionSheet = withInstall(_ActionSheet);
|
export const ActionSheet = withInstall(_ActionSheet);
|
||||||
export default ActionSheet;
|
export default ActionSheet;
|
||||||
export type { ActionSheetProps, ActionSheetAction } from './ActionSheet';
|
export type { ActionSheetProps, ActionSheetAction } from './ActionSheet';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanActionSheet: typeof ActionSheet;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -9,3 +9,9 @@ export type {
|
|||||||
AddressEditInstance,
|
AddressEditInstance,
|
||||||
AddressEditSearchItem,
|
AddressEditSearchItem,
|
||||||
} from './types';
|
} from './types';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanAddressEdit: typeof AddressEdit;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -5,3 +5,9 @@ export const AddressList = withInstall(_AddressList);
|
|||||||
export default AddressList;
|
export default AddressList;
|
||||||
export type { AddressListProps } from './AddressList';
|
export type { AddressListProps } from './AddressList';
|
||||||
export type { AddressListAddress } from './AddressListItem';
|
export type { AddressListAddress } from './AddressListItem';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanAddressList: typeof AddressList;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -5,3 +5,9 @@ export const Area = withInstall(_Area);
|
|||||||
export default Area;
|
export default Area;
|
||||||
export type { AreaProps } from './Area';
|
export type { AreaProps } from './Area';
|
||||||
export type { AreaList, AreaInstance, AreaColumnOption } from './types';
|
export type { AreaList, AreaInstance, AreaColumnOption } from './types';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanArea: typeof Area;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _Badge from './Badge';
|
|||||||
export const Badge = withInstall(_Badge);
|
export const Badge = withInstall(_Badge);
|
||||||
export default Badge;
|
export default Badge;
|
||||||
export type { BadgeProps, BadgePosition } from './Badge';
|
export type { BadgeProps, BadgePosition } from './Badge';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanBadge: typeof Badge;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -10,3 +10,9 @@ export type {
|
|||||||
ButtonNativeType,
|
ButtonNativeType,
|
||||||
ButtonIconPosition,
|
ButtonIconPosition,
|
||||||
} from './types';
|
} from './types';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanButton: typeof Button;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -10,3 +10,9 @@ export type {
|
|||||||
CalendarDayType,
|
CalendarDayType,
|
||||||
CalendarInstance,
|
CalendarInstance,
|
||||||
} from './types';
|
} from './types';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanCalendar: typeof Calendar;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _Card from './Card';
|
|||||||
export const Card = withInstall(_Card);
|
export const Card = withInstall(_Card);
|
||||||
export default Card;
|
export default Card;
|
||||||
export type { CardProps } from './Card';
|
export type { CardProps } from './Card';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanCard: typeof Card;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -5,3 +5,9 @@ export const Cascader = withInstall(_Cascader);
|
|||||||
export default Cascader;
|
export default Cascader;
|
||||||
export type { CascaderProps } from './Cascader';
|
export type { CascaderProps } from './Cascader';
|
||||||
export type { CascaderOption, CascaderFieldNames } from './types';
|
export type { CascaderOption, CascaderFieldNames } from './types';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanCascader: typeof Cascader;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _CellGroup from './CellGroup';
|
|||||||
export const CellGroup = withInstall(_CellGroup);
|
export const CellGroup = withInstall(_CellGroup);
|
||||||
export default CellGroup;
|
export default CellGroup;
|
||||||
export type { CellGroupProps } from './CellGroup';
|
export type { CellGroupProps } from './CellGroup';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanCellGroup: typeof CellGroup;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _Cell from './Cell';
|
|||||||
export const Cell = withInstall(_Cell);
|
export const Cell = withInstall(_Cell);
|
||||||
export default Cell;
|
export default Cell;
|
||||||
export type { CellSize, CellProps, CellArrowDirection } from './Cell';
|
export type { CellSize, CellProps, CellArrowDirection } from './Cell';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanCell: typeof Cell;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -9,3 +9,9 @@ export type {
|
|||||||
CheckboxGroupDirection,
|
CheckboxGroupDirection,
|
||||||
CheckboxGroupToggleAllOptions,
|
CheckboxGroupToggleAllOptions,
|
||||||
} from './types';
|
} from './types';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanCheckboxGroup: typeof CheckboxGroup;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -9,3 +9,9 @@ export type {
|
|||||||
CheckboxInstance,
|
CheckboxInstance,
|
||||||
CheckboxLabelPosition,
|
CheckboxLabelPosition,
|
||||||
} from './types';
|
} from './types';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanCheckbox: typeof Checkbox;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _Circle from './Circle';
|
|||||||
export const Circle = withInstall(_Circle);
|
export const Circle = withInstall(_Circle);
|
||||||
export default Circle;
|
export default Circle;
|
||||||
export type { CircleProps, CircleStartPosition } from './Circle';
|
export type { CircleProps, CircleStartPosition } from './Circle';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanCircle: typeof Circle;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _Col from './Col';
|
|||||||
export const Col = withInstall(_Col);
|
export const Col = withInstall(_Col);
|
||||||
export default Col;
|
export default Col;
|
||||||
export type { ColProps } from './Col';
|
export type { ColProps } from './Col';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanCol: typeof Col;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -5,3 +5,9 @@ export const CollapseItem = withInstall(_CollapseItem);
|
|||||||
export default CollapseItem;
|
export default CollapseItem;
|
||||||
export type { CollapseItemProps } from './CollapseItem';
|
export type { CollapseItemProps } from './CollapseItem';
|
||||||
export type { CollapseItemInstance } from './types';
|
export type { CollapseItemInstance } from './types';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanCollapseItem: typeof CollapseItem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _Collapse from './Collapse';
|
|||||||
export const Collapse = withInstall(_Collapse);
|
export const Collapse = withInstall(_Collapse);
|
||||||
export default Collapse;
|
export default Collapse;
|
||||||
export type { CollapseProps } from './Collapse';
|
export type { CollapseProps } from './Collapse';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanCollapse: typeof Collapse;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _ConfigProvider from './ConfigProvider';
|
|||||||
export const ConfigProvider = withInstall(_ConfigProvider);
|
export const ConfigProvider = withInstall(_ConfigProvider);
|
||||||
export default ConfigProvider;
|
export default ConfigProvider;
|
||||||
export type { ConfigProviderProps } from './ConfigProvider';
|
export type { ConfigProviderProps } from './ConfigProvider';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanConfigProvider: typeof ConfigProvider;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _ContactCard from './ContactCard';
|
|||||||
export const ContactCard = withInstall(_ContactCard);
|
export const ContactCard = withInstall(_ContactCard);
|
||||||
export default ContactCard;
|
export default ContactCard;
|
||||||
export type { ContactCardType, ContactCardProps } from './ContactCard';
|
export type { ContactCardType, ContactCardProps } from './ContactCard';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanContactCard: typeof ContactCard;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _ContactEdit from './ContactEdit';
|
|||||||
export const ContactEdit = withInstall(_ContactEdit);
|
export const ContactEdit = withInstall(_ContactEdit);
|
||||||
export default ContactEdit;
|
export default ContactEdit;
|
||||||
export type { ContactEditInfo, ContactEditProps } from './ContactEdit';
|
export type { ContactEditInfo, ContactEditProps } from './ContactEdit';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanContactEdit: typeof ContactEdit;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _ContactList from './ContactList';
|
|||||||
export const ContactList = withInstall(_ContactList);
|
export const ContactList = withInstall(_ContactList);
|
||||||
export default ContactList;
|
export default ContactList;
|
||||||
export type { ContactListItem, ContactListProps } from './ContactList';
|
export type { ContactListItem, ContactListProps } from './ContactList';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanContactList: typeof ContactList;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -5,3 +5,9 @@ export const CountDown = withInstall(_CountDown);
|
|||||||
export default CountDown;
|
export default CountDown;
|
||||||
export type { CountDownProps } from './CountDown';
|
export type { CountDownProps } from './CountDown';
|
||||||
export type { CountDownInstance, CountDownCurrentTime } from './types';
|
export type { CountDownInstance, CountDownCurrentTime } from './types';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanCountDown: typeof CountDown;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _CouponCell from './CouponCell';
|
|||||||
export const CouponCell = withInstall(_CouponCell);
|
export const CouponCell = withInstall(_CouponCell);
|
||||||
export default CouponCell;
|
export default CouponCell;
|
||||||
export type { CouponCellProps } from './CouponCell';
|
export type { CouponCellProps } from './CouponCell';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanCouponCell: typeof CouponCell;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _CouponList from './CouponList';
|
|||||||
export const CouponList = withInstall(_CouponList);
|
export const CouponList = withInstall(_CouponList);
|
||||||
export default CouponList;
|
export default CouponList;
|
||||||
export type { CouponListProps } from './CouponList';
|
export type { CouponListProps } from './CouponList';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanCouponList: typeof CouponList;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _Coupon from './Coupon';
|
|||||||
export const Coupon = withInstall(_Coupon);
|
export const Coupon = withInstall(_Coupon);
|
||||||
export default Coupon;
|
export default Coupon;
|
||||||
export type { CouponInfo } from './Coupon';
|
export type { CouponInfo } from './Coupon';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanCoupon: typeof Coupon;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -5,3 +5,9 @@ export const DatetimePicker = withInstall(_DatetimePicker);
|
|||||||
export default DatetimePicker;
|
export default DatetimePicker;
|
||||||
export type { DatetimePickerProps };
|
export type { DatetimePickerProps };
|
||||||
export type { DatetimePickerType, DatetimePickerInstance } from './types';
|
export type { DatetimePickerType, DatetimePickerInstance } from './types';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanDatetimePicker: typeof DatetimePicker;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -9,3 +9,9 @@ export type {
|
|||||||
DialogOptions,
|
DialogOptions,
|
||||||
DialogMessageAlign,
|
DialogMessageAlign,
|
||||||
} from './types';
|
} from './types';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanDialog: typeof Dialog.Component;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _Divider from './Divider';
|
|||||||
export const Divider = withInstall(_Divider);
|
export const Divider = withInstall(_Divider);
|
||||||
export default Divider;
|
export default Divider;
|
||||||
export type { DividerProps, DividerContentPosition } from './Divider';
|
export type { DividerProps, DividerContentPosition } from './Divider';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanDivider: typeof Divider;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -5,3 +5,9 @@ export const DropdownItem = withInstall(_DropdownItem);
|
|||||||
export default DropdownItem;
|
export default DropdownItem;
|
||||||
export type { DropdownItemProps };
|
export type { DropdownItemProps };
|
||||||
export type { DropdownItemInstance, DropdownItemOption } from './types';
|
export type { DropdownItemInstance, DropdownItemOption } from './types';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanDropdownItem: typeof DropdownItem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -5,3 +5,9 @@ export const DropdownMenu = withInstall(_DropdownMenu);
|
|||||||
export default DropdownMenu;
|
export default DropdownMenu;
|
||||||
export type { DropdownMenuProps };
|
export type { DropdownMenuProps };
|
||||||
export type { DropdownMenuDirection } from './types';
|
export type { DropdownMenuDirection } from './types';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanDropdownMenu: typeof DropdownMenu;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _Empty from './Empty';
|
|||||||
export const Empty = withInstall(_Empty);
|
export const Empty = withInstall(_Empty);
|
||||||
export default Empty;
|
export default Empty;
|
||||||
export type { EmptyProps } from './Empty';
|
export type { EmptyProps } from './Empty';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanEmpty: typeof Empty;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -18,3 +18,9 @@ export type {
|
|||||||
FieldAutosizeConfig,
|
FieldAutosizeConfig,
|
||||||
FieldValidateTrigger,
|
FieldValidateTrigger,
|
||||||
} from './types';
|
} from './types';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanField: typeof Field;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -5,3 +5,9 @@ export const Form = withInstall(_Form);
|
|||||||
export default Form;
|
export default Form;
|
||||||
export type { FormProps };
|
export type { FormProps };
|
||||||
export type { FormInstance } from './types';
|
export type { FormInstance } from './types';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanForm: typeof Form;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _GridItem from './GridItem';
|
|||||||
export const GridItem = withInstall(_GridItem);
|
export const GridItem = withInstall(_GridItem);
|
||||||
export default GridItem;
|
export default GridItem;
|
||||||
export type { GridItemProps } from './GridItem';
|
export type { GridItemProps } from './GridItem';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanGridItem: typeof GridItem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _Grid from './Grid';
|
|||||||
export const Grid = withInstall(_Grid);
|
export const Grid = withInstall(_Grid);
|
||||||
export default Grid;
|
export default Grid;
|
||||||
export type { GridProps, GridDirection } from './Grid';
|
export type { GridProps, GridDirection } from './Grid';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanGrid: typeof Grid;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _Icon from './Icon';
|
|||||||
export const Icon = withInstall(_Icon);
|
export const Icon = withInstall(_Icon);
|
||||||
export default Icon;
|
export default Icon;
|
||||||
export type { IconProps } from './Icon';
|
export type { IconProps } from './Icon';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanIcon: typeof Icon;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -9,3 +9,9 @@ export type {
|
|||||||
ImagePreviewInstance,
|
ImagePreviewInstance,
|
||||||
ImagePreviewScaleEventParams,
|
ImagePreviewScaleEventParams,
|
||||||
} from './types';
|
} from './types';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanImagePreview: typeof ImagePreview.Component;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _Image from './Image';
|
|||||||
export const Image = withInstall(_Image);
|
export const Image = withInstall(_Image);
|
||||||
export default Image;
|
export default Image;
|
||||||
export type { ImageFit, ImageProps } from './Image';
|
export type { ImageFit, ImageProps } from './Image';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanImage: typeof Image;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _IndexAnchor from './IndexAnchor';
|
|||||||
export const IndexAnchor = withInstall(_IndexAnchor);
|
export const IndexAnchor = withInstall(_IndexAnchor);
|
||||||
export default IndexAnchor;
|
export default IndexAnchor;
|
||||||
export type { IndexAnchorProps } from './IndexAnchor';
|
export type { IndexAnchorProps } from './IndexAnchor';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanIndexAnchor: typeof IndexAnchor;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -5,3 +5,9 @@ export const IndexBar = withInstall(_IndexBar);
|
|||||||
export default IndexBar;
|
export default IndexBar;
|
||||||
export type { IndexBarProps };
|
export type { IndexBarProps };
|
||||||
export type { IndexBarInstance } from './types';
|
export type { IndexBarInstance } from './types';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanIndexBar: typeof IndexBar;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -5,3 +5,9 @@ export const List = withInstall(_List);
|
|||||||
export default List;
|
export default List;
|
||||||
export type { ListProps };
|
export type { ListProps };
|
||||||
export type { ListInstance, ListDirection } from './types';
|
export type { ListInstance, ListDirection } from './types';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanList: typeof List;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _Loading from './Loading';
|
|||||||
export const Loading = withInstall(_Loading);
|
export const Loading = withInstall(_Loading);
|
||||||
export default Loading;
|
export default Loading;
|
||||||
export type { LoadingType, LoadingProps } from './Loading';
|
export type { LoadingType, LoadingProps } from './Loading';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanLoading: typeof Loading;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _NavBar from './NavBar';
|
|||||||
export const NavBar = withInstall(_NavBar);
|
export const NavBar = withInstall(_NavBar);
|
||||||
export default NavBar;
|
export default NavBar;
|
||||||
export type { NavBarProps } from './NavBar';
|
export type { NavBarProps } from './NavBar';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanNavBar: typeof NavBar;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -5,3 +5,9 @@ export const NoticeBar = withInstall(_NoticeBar);
|
|||||||
export default NoticeBar;
|
export default NoticeBar;
|
||||||
export type { NoticeBarProps };
|
export type { NoticeBarProps };
|
||||||
export type { NoticeBarMode, NoticeBarInstance } from './types';
|
export type { NoticeBarMode, NoticeBarInstance } from './types';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanNoticeBar: typeof NoticeBar;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ export default Notify;
|
|||||||
export { Notify };
|
export { Notify };
|
||||||
export type { NotifyProps } from './Notify';
|
export type { NotifyProps } from './Notify';
|
||||||
export type { NotifyType, NotifyOptions } from './types';
|
export type { NotifyType, NotifyOptions } from './types';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanNotify: typeof Notify.Component;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -7,3 +7,9 @@ export type {
|
|||||||
NumberKeyboardProps,
|
NumberKeyboardProps,
|
||||||
NumberKeyboardTheme,
|
NumberKeyboardTheme,
|
||||||
} from './NumberKeyboard';
|
} from './NumberKeyboard';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanNumberKeyboard: typeof NumberKeyboard;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _Overlay from './Overlay';
|
|||||||
export const Overlay = withInstall(_Overlay);
|
export const Overlay = withInstall(_Overlay);
|
||||||
export default Overlay;
|
export default Overlay;
|
||||||
export type { OverlayProps } from './Overlay';
|
export type { OverlayProps } from './Overlay';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanOverlay: typeof Overlay;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _Pagination from './Pagination';
|
|||||||
export const Pagination = withInstall(_Pagination);
|
export const Pagination = withInstall(_Pagination);
|
||||||
export default Pagination;
|
export default Pagination;
|
||||||
export type { PaginationMode, PaginationProps } from './Pagination';
|
export type { PaginationMode, PaginationProps } from './Pagination';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanPagination: typeof Pagination;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _PasswordInput from './PasswordInput';
|
|||||||
export const PasswordInput = withInstall(_PasswordInput);
|
export const PasswordInput = withInstall(_PasswordInput);
|
||||||
export default PasswordInput;
|
export default PasswordInput;
|
||||||
export type { PasswordInputProps } from './PasswordInput';
|
export type { PasswordInputProps } from './PasswordInput';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanPasswordInput: typeof PasswordInput;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -13,3 +13,9 @@ export type {
|
|||||||
PickerObjectOption,
|
PickerObjectOption,
|
||||||
PickerToolbarPosition,
|
PickerToolbarPosition,
|
||||||
} from './types';
|
} from './types';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanPicker: typeof Picker;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -10,3 +10,9 @@ export type {
|
|||||||
PopoverTrigger,
|
PopoverTrigger,
|
||||||
PopoverPlacement,
|
PopoverPlacement,
|
||||||
} from './types';
|
} from './types';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanPopover: typeof Popover;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -9,3 +9,9 @@ export type {
|
|||||||
PopupInstance,
|
PopupInstance,
|
||||||
PopupCloseIconPosition,
|
PopupCloseIconPosition,
|
||||||
} from './types';
|
} from './types';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanPopup: typeof Popup;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -5,3 +5,9 @@ export const Progress = withInstall(_Progress);
|
|||||||
export default Progress;
|
export default Progress;
|
||||||
export type { ProgressProps };
|
export type { ProgressProps };
|
||||||
export type { ProgressInstance } from './types';
|
export type { ProgressInstance } from './types';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanProgress: typeof Progress;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _PullRefresh from './PullRefresh';
|
|||||||
export const PullRefresh = withInstall(_PullRefresh);
|
export const PullRefresh = withInstall(_PullRefresh);
|
||||||
export default PullRefresh;
|
export default PullRefresh;
|
||||||
export type { PullRefreshProps } from './PullRefresh';
|
export type { PullRefreshProps } from './PullRefresh';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanPullRefresh: typeof PullRefresh;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _RadioGroup from './RadioGroup';
|
|||||||
export const RadioGroup = withInstall(_RadioGroup);
|
export const RadioGroup = withInstall(_RadioGroup);
|
||||||
export default RadioGroup;
|
export default RadioGroup;
|
||||||
export type { RadioGroupProps, RadioGroupDirection } from './RadioGroup';
|
export type { RadioGroupProps, RadioGroupDirection } from './RadioGroup';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanRadioGroup: typeof RadioGroup;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _Radio from './Radio';
|
|||||||
export const Radio = withInstall(_Radio);
|
export const Radio = withInstall(_Radio);
|
||||||
export default Radio;
|
export default Radio;
|
||||||
export type { RadioProps, RadioShape, RadioLabelPosition } from './Radio';
|
export type { RadioProps, RadioShape, RadioLabelPosition } from './Radio';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanRadio: typeof Radio;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _Rate from './Rate';
|
|||||||
export const Rate = withInstall(_Rate);
|
export const Rate = withInstall(_Rate);
|
||||||
export default Rate;
|
export default Rate;
|
||||||
export type { RateProps } from './Rate';
|
export type { RateProps } from './Rate';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanRate: typeof Rate;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _Row from './Row';
|
|||||||
export const Row = withInstall(_Row);
|
export const Row = withInstall(_Row);
|
||||||
export default Row;
|
export default Row;
|
||||||
export type { RowProps, RowAlign, RowJustify } from './Row';
|
export type { RowProps, RowAlign, RowJustify } from './Row';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanRow: typeof Row;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -5,3 +5,9 @@ export const Search = withInstall(_Search);
|
|||||||
export default Search;
|
export default Search;
|
||||||
export type { SearchProps };
|
export type { SearchProps };
|
||||||
export type { SearchShape, SearchInstance } from './types';
|
export type { SearchShape, SearchInstance } from './types';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanSearch: typeof Search;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -8,3 +8,9 @@ export type {
|
|||||||
ShareSheetOption,
|
ShareSheetOption,
|
||||||
ShareSheetOptions,
|
ShareSheetOptions,
|
||||||
} from './ShareSheet';
|
} from './ShareSheet';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanShareSheet: typeof ShareSheet;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _SidebarItem from './SidebarItem';
|
|||||||
export const SidebarItem = withInstall(_SidebarItem);
|
export const SidebarItem = withInstall(_SidebarItem);
|
||||||
export default SidebarItem;
|
export default SidebarItem;
|
||||||
export type { SidebarItemProps } from './SidebarItem';
|
export type { SidebarItemProps } from './SidebarItem';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanSidebarItem: typeof SidebarItem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _Sidebar from './Sidebar';
|
|||||||
export const Sidebar = withInstall(_Sidebar);
|
export const Sidebar = withInstall(_Sidebar);
|
||||||
export default Sidebar;
|
export default Sidebar;
|
||||||
export type { SidebarProps } from './Sidebar';
|
export type { SidebarProps } from './Sidebar';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanSidebar: typeof Sidebar;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _Skeleton from './Skeleton';
|
|||||||
export const Skeleton = withInstall(_Skeleton);
|
export const Skeleton = withInstall(_Skeleton);
|
||||||
export default Skeleton;
|
export default Skeleton;
|
||||||
export type { SkeletonProps, SkeletonAvatarShape } from './Skeleton';
|
export type { SkeletonProps, SkeletonAvatarShape } from './Skeleton';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanSkeleton: typeof Skeleton;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _Slider from './Slider';
|
|||||||
export const Slider = withInstall(_Slider);
|
export const Slider = withInstall(_Slider);
|
||||||
export default Slider;
|
export default Slider;
|
||||||
export type { SliderProps } from './Slider';
|
export type { SliderProps } from './Slider';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanSlider: typeof Slider;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -3,3 +3,9 @@ import _Step from './Step';
|
|||||||
|
|
||||||
export const Step = withInstall(_Step);
|
export const Step = withInstall(_Step);
|
||||||
export default Step;
|
export default Step;
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanStep: typeof Step;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _Stepper from './Stepper';
|
|||||||
export const Stepper = withInstall(_Stepper);
|
export const Stepper = withInstall(_Stepper);
|
||||||
export default Stepper;
|
export default Stepper;
|
||||||
export type { StepperTheme, StepperProps } from './Stepper';
|
export type { StepperTheme, StepperProps } from './Stepper';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanStepper: typeof Stepper;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _Steps from './Steps';
|
|||||||
export const Steps = withInstall(_Steps);
|
export const Steps = withInstall(_Steps);
|
||||||
export default Steps;
|
export default Steps;
|
||||||
export type { StepsProps, StepsDirection } from './Steps';
|
export type { StepsProps, StepsDirection } from './Steps';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanSteps: typeof Steps;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _Sticky from './Sticky';
|
|||||||
export const Sticky = withInstall(_Sticky);
|
export const Sticky = withInstall(_Sticky);
|
||||||
export default Sticky;
|
export default Sticky;
|
||||||
export type { StickyProps, StickyPosition } from './Sticky';
|
export type { StickyProps, StickyPosition } from './Sticky';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanSticky: typeof Sticky;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _SubmitBar from './SubmitBar';
|
|||||||
export const SubmitBar = withInstall(_SubmitBar);
|
export const SubmitBar = withInstall(_SubmitBar);
|
||||||
export default SubmitBar;
|
export default SubmitBar;
|
||||||
export type { SubmitBarProps, SubmitBarTextAlign } from './SubmitBar';
|
export type { SubmitBarProps, SubmitBarTextAlign } from './SubmitBar';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanSubmitBar: typeof SubmitBar;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -9,3 +9,9 @@ export type {
|
|||||||
SwipeCellPosition,
|
SwipeCellPosition,
|
||||||
SwipeCellInstance,
|
SwipeCellInstance,
|
||||||
} from './types';
|
} from './types';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanSwipeCell: typeof SwipeCell;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -3,3 +3,9 @@ import _SwipeItem from './SwipeItem';
|
|||||||
|
|
||||||
export const SwipeItem = withInstall(_SwipeItem);
|
export const SwipeItem = withInstall(_SwipeItem);
|
||||||
export default SwipeItem;
|
export default SwipeItem;
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanSwipeItem: typeof SwipeItem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -5,3 +5,9 @@ export const Swipe = withInstall(_Swipe);
|
|||||||
export default Swipe;
|
export default Swipe;
|
||||||
export type { SwipeProps };
|
export type { SwipeProps };
|
||||||
export type { SwipeInstance, SwipeToOptions } from './types';
|
export type { SwipeInstance, SwipeToOptions } from './types';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanSwipe: typeof Swipe;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _Switch from './Switch';
|
|||||||
export const Switch = withInstall(_Switch);
|
export const Switch = withInstall(_Switch);
|
||||||
export default Switch;
|
export default Switch;
|
||||||
export type { SwitchProps } from './Switch';
|
export type { SwitchProps } from './Switch';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanSwitch: typeof Switch;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _Tab from './Tab';
|
|||||||
export const Tab = withInstall(_Tab);
|
export const Tab = withInstall(_Tab);
|
||||||
export default Tab;
|
export default Tab;
|
||||||
export type { TabProps } from './Tab';
|
export type { TabProps } from './Tab';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanTab: typeof Tab;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _TabbarItem from './TabbarItem';
|
|||||||
export const TabbarItem = withInstall(_TabbarItem);
|
export const TabbarItem = withInstall(_TabbarItem);
|
||||||
export default TabbarItem;
|
export default TabbarItem;
|
||||||
export type { TabbarItemProps } from './TabbarItem';
|
export type { TabbarItemProps } from './TabbarItem';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanTabbarItem: typeof TabbarItem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _Tabbar from './Tabbar';
|
|||||||
export const Tabbar = withInstall(_Tabbar);
|
export const Tabbar = withInstall(_Tabbar);
|
||||||
export default Tabbar;
|
export default Tabbar;
|
||||||
export type { TabbarProps } from './Tabbar';
|
export type { TabbarProps } from './Tabbar';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanTabbar: typeof Tabbar;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -5,3 +5,9 @@ export const Tabs = withInstall(_Tabs);
|
|||||||
export default Tabs;
|
export default Tabs;
|
||||||
export type { TabsProps };
|
export type { TabsProps };
|
||||||
export type { TabsType, TabsInstance } from './types';
|
export type { TabsType, TabsInstance } from './types';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanTabs: typeof Tabs;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -4,3 +4,9 @@ import _Tag from './Tag';
|
|||||||
export const Tag = withInstall(_Tag);
|
export const Tag = withInstall(_Tag);
|
||||||
export default Tag;
|
export default Tag;
|
||||||
export type { TagSize, TagType, TagProps } from './Tag';
|
export type { TagSize, TagType, TagProps } from './Tag';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanTag: typeof Tag;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -8,3 +8,9 @@ export type {
|
|||||||
TreeSelectChild,
|
TreeSelectChild,
|
||||||
TreeSelectProps,
|
TreeSelectProps,
|
||||||
} from './TreeSelect';
|
} from './TreeSelect';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanTreeSelect: typeof TreeSelect;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -9,3 +9,9 @@ export type {
|
|||||||
UploaderResultType,
|
UploaderResultType,
|
||||||
UploaderFileListItem,
|
UploaderFileListItem,
|
||||||
} from './types';
|
} from './types';
|
||||||
|
|
||||||
|
declare module 'vue' {
|
||||||
|
export interface GlobalComponents {
|
||||||
|
VanUploader: typeof Uploader;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user