tutor-pro-ui-vue 1.3.90 → 1.4.0

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.
@@ -5,7 +5,10 @@ declare function __VLS_template(): {
5
5
  customItem?(_: {
6
6
  row: any;
7
7
  }): any;
8
+ empty?(_: {}): any;
9
+ empty?(_: any): any;
8
10
  expand?(_: any): any;
11
+ append?(_: any): any;
9
12
  right?(_: {}): any;
10
13
  };
11
14
  refs: {
@@ -1,8 +1,4 @@
1
1
  import { CommonDialogProps } from './types';
2
- type DialogServiceConfig = CommonDialogProps & {
3
- closedCallback?: () => void;
4
- id: string;
5
- };
6
2
  /**
7
3
  * 获取弹窗服务
8
4
  * - 弹窗服务的id默认是时间戳
@@ -10,8 +6,7 @@ type DialogServiceConfig = CommonDialogProps & {
10
6
  * @param config
11
7
  * @returns
12
8
  */
13
- export declare const getDialogService: (config?: DialogServiceConfig) => {
9
+ export declare const getDialogService: (config?: CommonDialogProps) => {
14
10
  closeAllDialog: () => void;
15
- closeDialog: (id: string) => void;
11
+ closeDialog: (ids: string | string[]) => void;
16
12
  };
17
- export {};
@@ -53,4 +53,6 @@ export declare const dialogProps: {
53
53
  default: undefined;
54
54
  };
55
55
  };
56
- export type CommonDialogProps = Partial<ExtractPropTypes<typeof dialogProps> & Omit<DialogProps, 'modelValue'>>;
56
+ export type CommonDialogProps = Partial<ExtractPropTypes<typeof dialogProps> & Omit<DialogProps, 'modelValue'> & {
57
+ id?: string;
58
+ }>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tutor-pro-ui-vue",
3
3
  "private": false,
4
- "version": "1.3.90",
4
+ "version": "1.4.0",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",