@xto/feedback 1.2.4 → 1.2.6

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.
@@ -1,10 +1,9 @@
1
1
  import { App } from 'vue';
2
- import { default as MessageService } from './message';
2
+ import { default as _message } from './message';
3
3
  export type { MessageType, MessageProps, MessageInstance, MessageOptions, MessageReturnType } from './types';
4
4
  export type { Message as MessageFn } from './types';
5
- declare const Message: import('./types').Message;
6
- export { Message };
7
- export default MessageService;
5
+ export declare const Message: import('./types').Message;
6
+ export default _message;
8
7
  export declare const MessageComponent: {
9
8
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').MessageProps> & Readonly<{
10
9
  onClose?: (() => any) | undefined;
@@ -1,10 +1,9 @@
1
1
  import { App } from 'vue';
2
- import { default as MessageBoxService } from './messageBox';
2
+ import { default as _messageBox } from './messageBox';
3
3
  export type { MessageBoxMessageType, MessageBoxOptions, MessageBoxResult, MessageBoxFn } from './types';
4
4
  export type { MessageBox as MessageBoxType } from './types';
5
- declare const MessageBox: import('./types').MessageBox;
6
- export { MessageBox };
7
- export default MessageBoxService;
5
+ export declare const MessageBox: import('./types').MessageBox;
6
+ export default _messageBox;
8
7
  export declare const TMessageBox: {
9
8
  install(app: App): void;
10
9
  };
@@ -1,11 +1,10 @@
1
1
  import { App } from 'vue';
2
- import { default as NotificationService } from './notification';
2
+ import { default as _notification } from './notification';
3
3
  export type { NotificationPosition, NotificationOptions, NotificationInstance, NotificationFn } from './types';
4
4
  export type { NotificationType } from './types';
5
5
  export type { Notification as NotificationInterface } from './types';
6
- declare const Notification: import('./types').Notification;
7
- export { Notification };
8
- export default NotificationService;
6
+ export declare const Notification: import('./types').Notification;
7
+ export default _notification;
9
8
  export declare const TNotification: {
10
9
  install(app: App): void;
11
10
  };
package/es/index.d.ts CHANGED
@@ -18,6 +18,9 @@ export type { TooltipProps } from './Tooltip';
18
18
  export type { PopconfirmProps, PopconfirmPlacement, PopconfirmInstance } from './Popconfirm';
19
19
  export type { BacktopProps, BacktopEmits } from './Backtop';
20
20
  export type { ResultProps } from './Result';
21
- export type { MessageProps, MessageOptions, MessageInstance, MessageFn, Message as MessageType } from './Message';
22
- export type { MessageBoxOptions, MessageBoxResult, MessageBoxFn, MessageBox as MessageBoxType } from './MessageBox';
23
- export type { NotificationOptions, NotificationInstance, NotificationFn, NotificationPosition, Notification as NotificationType } from './Notification';
21
+ export type { MessageProps, MessageOptions, MessageInstance, MessageFn } from './Message/types';
22
+ export type { Message as MessageType } from './Message/types';
23
+ export type { MessageBoxOptions, MessageBoxResult, MessageBoxFn } from './MessageBox/types';
24
+ export type { MessageBox as MessageBoxType } from './MessageBox/types';
25
+ export type { NotificationOptions, NotificationInstance, NotificationFn, NotificationPosition } from './Notification/types';
26
+ export type { Notification as NotificationType } from './Notification/types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xto/feedback",
3
- "version": "1.2.4",
3
+ "version": "1.2.6",
4
4
  "description": "Xto Feedback - Feedback components",
5
5
  "homepage": "https://jinguchu.github.io/xto-ui/",
6
6
  "repository": {