@mingto/mt-ui 1.1.38 → 1.1.40

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.
Files changed (95) hide show
  1. package/README.md +53 -45
  2. package/dist/avatar-image/index.d.ts +3 -3
  3. package/dist/avatar-image/src/avatar-image.vue.d.ts +1 -1
  4. package/dist/avatar-text/index.d.ts +2 -2
  5. package/dist/avatar-text/src/avatar-text.vue.d.ts +3 -2
  6. package/dist/backtop/index.d.ts +2 -2
  7. package/dist/backtop/src/backtop.d.ts +1 -1
  8. package/dist/backtop/src/backtop.vue.d.ts +1 -1
  9. package/dist/badge/index.d.ts +3 -3
  10. package/dist/badge/src/badge.vue.d.ts +1 -1
  11. package/dist/button/index.d.ts +44 -26
  12. package/dist/button/src/button.vue.d.ts +25 -13
  13. package/dist/cell/index.d.ts +15 -22
  14. package/dist/cell/src/cell.vue.d.ts +9 -16
  15. package/dist/cell-group/index.d.ts +8 -6
  16. package/dist/cell-group/src/cell-group.d.ts +6 -6
  17. package/dist/config-provider/index.d.ts +12 -3
  18. package/dist/config-provider/src/config-provider.d.ts +41 -6
  19. package/dist/dialog/index.d.ts +29 -29
  20. package/dist/dialog/src/dialog.d.ts +2 -2
  21. package/dist/dialog/src/dialog.vue.d.ts +15 -14
  22. package/dist/dialog/src/layout/dialog-confirm-layout.vue.d.ts +1 -37
  23. package/dist/empty/index.d.ts +3 -3
  24. package/dist/empty/src/empty.d.ts +1 -1
  25. package/dist/empty/src/empty.vue.d.ts +2 -2
  26. package/dist/fade-transition/index.d.ts +5 -5
  27. package/dist/fade-transition/src/fade-transition.vue.d.ts +2 -2
  28. package/dist/file-preview/src/ai-music-preview.vue.d.ts +17 -16
  29. package/dist/file-preview/src/iframe-preview.vue.d.ts +3 -2
  30. package/dist/file-preview/src/image-preview.vue.d.ts +3 -2
  31. package/dist/file-preview/src/music-preview.vue.d.ts +3 -2
  32. package/dist/hooks/dom/use-z-index.d.ts +4 -1
  33. package/dist/hooks/event/use-same-target.d.ts +4 -2
  34. package/dist/hooks/index.d.ts +1 -0
  35. package/dist/hooks/locale/use-locale.d.ts +2 -2
  36. package/dist/hooks/use-namespace/index.d.ts +23 -0
  37. package/dist/hooks/vue/use-children.d.ts +6 -3
  38. package/dist/image/index.d.ts +25 -10
  39. package/dist/image/src/image.d.ts +7 -0
  40. package/dist/image/src/image.vue.d.ts +15 -5
  41. package/dist/index.es.js +67693 -64647
  42. package/dist/index.umd.js +68543 -106524
  43. package/dist/infinite-scroll/index.d.ts +27 -27
  44. package/dist/infinite-scroll/src/infinite-scroll.d.ts +7 -4
  45. package/dist/infinite-scroll/src/infinite-scroll.vue.d.ts +18 -16
  46. package/dist/loading/src/loading.d.ts +3 -1
  47. package/dist/locale/index.d.ts +2 -0
  48. package/dist/locale/lang/ar.d.ts +8 -0
  49. package/dist/locale/lang/en.d.ts +8 -0
  50. package/dist/locale/lang/ms.d.ts +8 -0
  51. package/dist/locale/lang/th.d.ts +8 -0
  52. package/dist/locale/lang/vi.d.ts +8 -0
  53. package/dist/locale/lang/zh-cn.d.ts +8 -0
  54. package/dist/locale/lang/zh-tw.d.ts +8 -0
  55. package/dist/message/src/message.d.ts +1 -1
  56. package/dist/message/src/message.vue.d.ts +4 -4
  57. package/dist/popover/index.d.ts +28 -28
  58. package/dist/popover/src/content.vue.d.ts +6 -10
  59. package/dist/popover/src/popover.vue.d.ts +15 -15
  60. package/dist/poster/src/method.d.ts +3 -3
  61. package/dist/progress/index.d.ts +16 -13
  62. package/dist/progress/src/progress.d.ts +2 -2
  63. package/dist/progress/src/progress.vue.d.ts +10 -7
  64. package/dist/qrcode/index.d.ts +3 -3
  65. package/dist/qrcode/src/qrcode.vue.d.ts +1 -1
  66. package/dist/style.css +544 -373
  67. package/dist/tab/src/tab.d.ts +2 -1
  68. package/dist/table/index.d.ts +2 -4
  69. package/dist/table/src/table.vue.d.ts +2 -4
  70. package/dist/table-column/index.d.ts +3 -6
  71. package/dist/table-column/src/table-column.vue.d.ts +3 -6
  72. package/dist/tabs/index.d.ts +8 -8
  73. package/dist/tabs/src/tabs.d.ts +1 -0
  74. package/dist/tabs/src/tabs.vue.d.ts +3 -3
  75. package/dist/tag/index.d.ts +17 -17
  76. package/dist/tag/src/tag.d.ts +6 -2
  77. package/dist/tag/src/tag.vue.d.ts +8 -8
  78. package/dist/tooltip/index.d.ts +60 -53
  79. package/dist/tooltip/src/tooltip.vue.d.ts +78 -77
  80. package/dist/upload/index.d.ts +320 -237
  81. package/dist/upload/src/layout/upload-file-list-layout.vue.d.ts +8 -2
  82. package/dist/upload/src/layout/upload-image-grid-layout.vue.d.ts +8 -2
  83. package/dist/upload/src/layout/upload-image-only-layout.vue.d.ts +8 -2
  84. package/dist/upload/src/trigger/upload-file-list-trigger.vue.d.ts +1 -1
  85. package/dist/upload/src/trigger/upload-image-only-trigger.vue.d.ts +8 -2
  86. package/dist/upload/src/upload-content.d.ts +15 -4
  87. package/dist/upload/src/upload-content.vue.d.ts +41 -16
  88. package/dist/upload/src/upload.d.ts +16 -7
  89. package/dist/upload/src/upload.vue.d.ts +407 -213
  90. package/dist/utils/class/deferred.d.ts +8 -5
  91. package/dist/utils/prop/size.d.ts +1 -1
  92. package/dist/utils/vue/children.d.ts +1 -3
  93. package/dist/utils/vue/install.d.ts +2 -2
  94. package/package.json +5 -3
  95. /package/dist/upload/src/{use-full-scree-drag.d.ts → use-full-screen-drag.d.ts} +0 -0
@@ -19,5 +19,6 @@ interface TabContext {
19
19
  isActive: ComputedRef<boolean>;
20
20
  }
21
21
  type TabProps = ExtractPropTypes<typeof tabProps>;
22
+ declare function isTabContext(obj: unknown): obj is TabContext;
22
23
  export type { TabContext, TabProps, };
23
- export { tabProps };
24
+ export { isTabContext, tabProps };
@@ -11,10 +11,8 @@ export declare const MtTable: {
11
11
  __isTeleport?: never;
12
12
  __isSuspense?: never;
13
13
  } & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
14
- $slots: Readonly<{
15
- default: any;
16
- }> & {
17
- default: any;
14
+ $slots: {
15
+ default?(_: any): any;
18
16
  };
19
17
  }) & import('vue').Plugin;
20
18
  export default MtTable;
@@ -1,9 +1,7 @@
1
1
  declare function __VLS_template(): {
2
2
  attrs: Partial<{}>;
3
- slots: Readonly<{
4
- default: any;
5
- }> & {
6
- default: any;
3
+ slots: {
4
+ default?(_: any): any;
7
5
  };
8
6
  refs: {};
9
7
  rootEl: any;
@@ -11,12 +11,9 @@ export declare const MtTableColumn: {
11
11
  __isTeleport?: never;
12
12
  __isSuspense?: never;
13
13
  } & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
14
- $slots: Readonly<{
15
- default: any;
16
- header: any;
17
- }> & {
18
- default: any;
19
- header: any;
14
+ $slots: {
15
+ default?(_: any): any;
16
+ header?(_: any): any;
20
17
  };
21
18
  }) & import('vue').Plugin;
22
19
  export default MtTableColumn;
@@ -1,11 +1,8 @@
1
1
  declare function __VLS_template(): {
2
2
  attrs: Partial<{}>;
3
- slots: Readonly<{
4
- default: any;
5
- header: any;
6
- }> & {
7
- default: any;
8
- header: any;
3
+ slots: {
4
+ default?(_: any): any;
5
+ header?(_: any): any;
9
6
  };
10
7
  refs: {};
11
8
  rootEl: any;
@@ -9,14 +9,14 @@ export declare const MtTabs: {
9
9
  readonly default: "card";
10
10
  };
11
11
  }>> & Readonly<{
12
- onChange?: ((args_0: string | number) => any) | undefined;
13
12
  "onUpdate:modelValue"?: ((args_0: string | number) => any) | undefined;
13
+ onChange?: ((args_0: string | number) => any) | undefined;
14
14
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
- change: (args_0: string | number) => any;
16
15
  "update:modelValue": (args_0: string | number) => any;
16
+ change: (args_0: string | number) => any;
17
17
  }, import('vue').PublicProps, {
18
- readonly type: "button" | "line" | "card";
19
18
  readonly modelValue: string | number;
19
+ readonly type: "button" | "line" | "card";
20
20
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
21
21
  tabsRef: HTMLDivElement;
22
22
  }, HTMLDivElement, import('vue').ComponentProvideOptions, {
@@ -36,11 +36,11 @@ export declare const MtTabs: {
36
36
  readonly default: "card";
37
37
  };
38
38
  }>> & Readonly<{
39
- onChange?: ((args_0: string | number) => any) | undefined;
40
39
  "onUpdate:modelValue"?: ((args_0: string | number) => any) | undefined;
40
+ onChange?: ((args_0: string | number) => any) | undefined;
41
41
  }>, {}, {}, {}, {}, {
42
- readonly type: "button" | "line" | "card";
43
42
  readonly modelValue: string | number;
43
+ readonly type: "button" | "line" | "card";
44
44
  }>;
45
45
  __isFragment?: never;
46
46
  __isTeleport?: never;
@@ -55,14 +55,14 @@ export declare const MtTabs: {
55
55
  readonly default: "card";
56
56
  };
57
57
  }>> & Readonly<{
58
- onChange?: ((args_0: string | number) => any) | undefined;
59
58
  "onUpdate:modelValue"?: ((args_0: string | number) => any) | undefined;
59
+ onChange?: ((args_0: string | number) => any) | undefined;
60
60
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
61
- change: (args_0: string | number) => any;
62
61
  "update:modelValue": (args_0: string | number) => any;
62
+ change: (args_0: string | number) => any;
63
63
  }, string, {
64
- readonly type: "button" | "line" | "card";
65
64
  readonly modelValue: string | number;
65
+ readonly type: "button" | "line" | "card";
66
66
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
67
67
  $slots: {
68
68
  default?(_: {}): any;
@@ -1,4 +1,5 @@
1
1
  import { ComputedRef, ExtractPropTypes, InjectionKey, PropType } from 'vue';
2
+ export { isTabContext, tabProps } from '../../tab';
2
3
  declare const tabsProps: {
3
4
  /**
4
5
  * 绑定值,选中选项卡的 name/索引 ,默认值是第一个 tab 的 索引
@@ -19,8 +19,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
19
19
  readonly default: "card";
20
20
  };
21
21
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
22
- change: (args_0: string | number) => any;
23
22
  "update:modelValue": (args_0: string | number) => any;
23
+ change: (args_0: string | number) => any;
24
24
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
25
25
  readonly modelValue: {
26
26
  readonly type: import('vue').PropType<number | string>;
@@ -31,11 +31,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
31
31
  readonly default: "card";
32
32
  };
33
33
  }>> & Readonly<{
34
- onChange?: ((args_0: string | number) => any) | undefined;
35
34
  "onUpdate:modelValue"?: ((args_0: string | number) => any) | undefined;
35
+ onChange?: ((args_0: string | number) => any) | undefined;
36
36
  }>, {
37
- readonly type: "button" | "line" | "card";
38
37
  readonly modelValue: string | number;
38
+ readonly type: "button" | "line" | "card";
39
39
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
40
40
  tabsRef: HTMLDivElement;
41
41
  }, HTMLDivElement>;
@@ -1,7 +1,7 @@
1
1
  export declare const MtTag: {
2
2
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3
3
  readonly type: {
4
- readonly type: import('vue').PropType<"default" | "primary" | "success" | "error" | "warning">;
4
+ readonly type: import('vue').PropType<"default" | "primary" | "error" | "success" | "warning">;
5
5
  readonly validator: (value: string) => boolean;
6
6
  readonly default: "default";
7
7
  };
@@ -19,19 +19,19 @@ export declare const MtTag: {
19
19
  readonly default: false;
20
20
  };
21
21
  readonly effect: {
22
- readonly type: import('vue').PropType<"dark" | "light" | "plain">;
22
+ readonly type: import('vue').PropType<"plain" | "dark" | "light">;
23
23
  readonly validator: (value: string) => boolean;
24
24
  readonly default: "light";
25
25
  };
26
26
  }>> & Readonly<{
27
- onClose?: ((...args: any[]) => any) | undefined;
27
+ onClose?: (() => any) | undefined;
28
28
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
29
- close: (...args: any[]) => void;
29
+ close: () => any;
30
30
  }, import('vue').PublicProps, {
31
31
  readonly round: boolean;
32
32
  readonly size: "normal" | "small" | "large";
33
- readonly type: "default" | "error" | "primary" | "success" | "warning";
34
- readonly effect: "dark" | "light" | "plain";
33
+ readonly type: "default" | "primary" | "error" | "success" | "warning";
34
+ readonly effect: "plain" | "dark" | "light";
35
35
  readonly closable: boolean;
36
36
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLSpanElement, import('vue').ComponentProvideOptions, {
37
37
  P: {};
@@ -42,7 +42,7 @@ export declare const MtTag: {
42
42
  Defaults: {};
43
43
  }, Readonly<import('vue').ExtractPropTypes<{
44
44
  readonly type: {
45
- readonly type: import('vue').PropType<"default" | "primary" | "success" | "error" | "warning">;
45
+ readonly type: import('vue').PropType<"default" | "primary" | "error" | "success" | "warning">;
46
46
  readonly validator: (value: string) => boolean;
47
47
  readonly default: "default";
48
48
  };
@@ -60,17 +60,17 @@ export declare const MtTag: {
60
60
  readonly default: false;
61
61
  };
62
62
  readonly effect: {
63
- readonly type: import('vue').PropType<"dark" | "light" | "plain">;
63
+ readonly type: import('vue').PropType<"plain" | "dark" | "light">;
64
64
  readonly validator: (value: string) => boolean;
65
65
  readonly default: "light";
66
66
  };
67
67
  }>> & Readonly<{
68
- onClose?: ((...args: any[]) => any) | undefined;
68
+ onClose?: (() => any) | undefined;
69
69
  }>, {}, {}, {}, {}, {
70
70
  readonly round: boolean;
71
71
  readonly size: "normal" | "small" | "large";
72
- readonly type: "default" | "error" | "primary" | "success" | "warning";
73
- readonly effect: "dark" | "light" | "plain";
72
+ readonly type: "default" | "primary" | "error" | "success" | "warning";
73
+ readonly effect: "plain" | "dark" | "light";
74
74
  readonly closable: boolean;
75
75
  }>;
76
76
  __isFragment?: never;
@@ -78,7 +78,7 @@ export declare const MtTag: {
78
78
  __isSuspense?: never;
79
79
  } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
80
80
  readonly type: {
81
- readonly type: import('vue').PropType<"default" | "primary" | "success" | "error" | "warning">;
81
+ readonly type: import('vue').PropType<"default" | "primary" | "error" | "success" | "warning">;
82
82
  readonly validator: (value: string) => boolean;
83
83
  readonly default: "default";
84
84
  };
@@ -96,19 +96,19 @@ export declare const MtTag: {
96
96
  readonly default: false;
97
97
  };
98
98
  readonly effect: {
99
- readonly type: import('vue').PropType<"dark" | "light" | "plain">;
99
+ readonly type: import('vue').PropType<"plain" | "dark" | "light">;
100
100
  readonly validator: (value: string) => boolean;
101
101
  readonly default: "light";
102
102
  };
103
103
  }>> & Readonly<{
104
- onClose?: ((...args: any[]) => any) | undefined;
104
+ onClose?: (() => any) | undefined;
105
105
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
106
- close: (...args: any[]) => void;
106
+ close: () => any;
107
107
  }, string, {
108
108
  readonly round: boolean;
109
109
  readonly size: "normal" | "small" | "large";
110
- readonly type: "default" | "error" | "primary" | "success" | "warning";
111
- readonly effect: "dark" | "light" | "plain";
110
+ readonly type: "default" | "primary" | "error" | "success" | "warning";
111
+ readonly effect: "plain" | "dark" | "light";
112
112
  readonly closable: boolean;
113
113
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
114
114
  $slots: {
@@ -1,10 +1,14 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
+ declare const tagTypes: readonly ["default", "primary", "success", "error", "warning"];
3
+ declare const tagEffects: readonly ["dark", "light", "plain"];
4
+ type TagType = (typeof tagTypes)[number];
5
+ type TagEffect = (typeof tagEffects)[number];
2
6
  declare const tagProps: {
3
7
  /**
4
8
  * 标签类型
5
9
  */
6
10
  readonly type: {
7
- readonly type: PropType<"default" | "primary" | "success" | "error" | "warning">;
11
+ readonly type: PropType<TagType>;
8
12
  readonly validator: (value: string) => boolean;
9
13
  readonly default: "default";
10
14
  };
@@ -34,7 +38,7 @@ declare const tagProps: {
34
38
  * 主题效果
35
39
  */
36
40
  readonly effect: {
37
- readonly type: PropType<"dark" | "light" | "plain">;
41
+ readonly type: PropType<TagEffect>;
38
42
  readonly validator: (value: string) => boolean;
39
43
  readonly default: "light";
40
44
  };
@@ -9,7 +9,7 @@ declare function __VLS_template(): {
9
9
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
10
  declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
11
11
  readonly type: {
12
- readonly type: import('vue').PropType<"default" | "primary" | "success" | "error" | "warning">;
12
+ readonly type: import('vue').PropType<"default" | "primary" | "error" | "success" | "warning">;
13
13
  readonly validator: (value: string) => boolean;
14
14
  readonly default: "default";
15
15
  };
@@ -27,15 +27,15 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
27
27
  readonly default: false;
28
28
  };
29
29
  readonly effect: {
30
- readonly type: import('vue').PropType<"dark" | "light" | "plain">;
30
+ readonly type: import('vue').PropType<"plain" | "dark" | "light">;
31
31
  readonly validator: (value: string) => boolean;
32
32
  readonly default: "light";
33
33
  };
34
34
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
35
- close: (...args: any[]) => void;
35
+ close: () => any;
36
36
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
37
37
  readonly type: {
38
- readonly type: import('vue').PropType<"default" | "primary" | "success" | "error" | "warning">;
38
+ readonly type: import('vue').PropType<"default" | "primary" | "error" | "success" | "warning">;
39
39
  readonly validator: (value: string) => boolean;
40
40
  readonly default: "default";
41
41
  };
@@ -53,17 +53,17 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
53
53
  readonly default: false;
54
54
  };
55
55
  readonly effect: {
56
- readonly type: import('vue').PropType<"dark" | "light" | "plain">;
56
+ readonly type: import('vue').PropType<"plain" | "dark" | "light">;
57
57
  readonly validator: (value: string) => boolean;
58
58
  readonly default: "light";
59
59
  };
60
60
  }>> & Readonly<{
61
- onClose?: ((...args: any[]) => any) | undefined;
61
+ onClose?: (() => any) | undefined;
62
62
  }>, {
63
63
  readonly round: boolean;
64
64
  readonly size: "normal" | "small" | "large";
65
- readonly type: "default" | "error" | "primary" | "success" | "warning";
66
- readonly effect: "dark" | "light" | "plain";
65
+ readonly type: "default" | "primary" | "error" | "success" | "warning";
66
+ readonly effect: "plain" | "dark" | "light";
67
67
  readonly closable: boolean;
68
68
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLSpanElement>;
69
69
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -83,16 +83,20 @@ export declare const MtTooltip: {
83
83
  type: import('vue').PropType<string>;
84
84
  default: string;
85
85
  };
86
- }>> & Readonly<{}>, {
86
+ }>> & Readonly<{
87
+ "onUpdate:visible"?: ((args_0: boolean) => any) | undefined;
88
+ }>, {
87
89
  hide: () => void;
88
90
  show: () => void;
89
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
91
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
92
+ "update:visible": (args_0: boolean) => any;
93
+ }, import('vue').PublicProps, {
90
94
  width: string;
91
- effect: import('../popover').PopoverEffect;
95
+ disabled: boolean;
92
96
  visible: boolean | null;
93
- offset: number;
94
97
  content: string;
95
- disabled: boolean;
98
+ offset: number;
99
+ effect: import('../popover').PopoverEffect;
96
100
  placement: import('@popperjs/core').Placement;
97
101
  enterable: boolean;
98
102
  'visible-arrow': boolean;
@@ -130,13 +134,13 @@ export declare const MtTooltip: {
130
134
  $: import('vue').ComponentInternalInstance;
131
135
  $data: {};
132
136
  $props: Partial<{
137
+ appendTo: string | HTMLElement;
133
138
  width: string | number;
134
- effect: import('../popover').PopoverEffect;
139
+ disabled: boolean;
135
140
  visible: boolean | null;
136
- offset: number;
137
141
  content: string;
138
- disabled: boolean;
139
- appendTo: string | HTMLElement;
142
+ offset: number;
143
+ effect: import('../popover').PopoverEffect;
140
144
  trigger: import('../popover').PopoverTriggerType;
141
145
  placement: import('@popperjs/core').Placement;
142
146
  strategy: "fixed" | "absolute";
@@ -179,12 +183,12 @@ export declare const MtTooltip: {
179
183
  enterable: boolean;
180
184
  teleported: boolean;
181
185
  }> & Omit<{
186
+ readonly appendTo: string | HTMLElement;
182
187
  readonly width: string | number;
183
- readonly effect: import('../popover').PopoverEffect;
188
+ readonly disabled: boolean;
184
189
  readonly visible: boolean | null;
185
190
  readonly content: string;
186
- readonly disabled: boolean;
187
- readonly appendTo: string | HTMLElement;
191
+ readonly effect: import('../popover').PopoverEffect;
188
192
  readonly trigger: import('../popover').PopoverTriggerType;
189
193
  readonly placement: import('@popperjs/core').Placement;
190
194
  readonly strategy: "fixed" | "absolute";
@@ -225,15 +229,15 @@ export declare const MtTooltip: {
225
229
  readonly virtualRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
226
230
  readonly enterable: boolean;
227
231
  readonly teleported: boolean;
228
- readonly offset?: number | undefined;
229
232
  readonly zIndex?: number | undefined;
233
+ readonly offset?: number | undefined;
230
234
  readonly 'onUpdate:visible'?: (((visible: boolean) => void) & ((args_0: boolean) => any)) | undefined;
231
235
  readonly fallbackPlacements?: import('@popperjs/core').Placement[] | undefined;
232
- readonly onBeforeEnter?: (() => any) | undefined;
233
- readonly onBeforeLeave?: (() => any) | undefined;
234
236
  readonly onHide?: (() => any) | undefined;
235
237
  readonly onShow?: (() => any) | undefined;
236
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "width" | "effect" | "visible" | "offset" | "content" | "disabled" | "appendTo" | "trigger" | "placement" | "strategy" | "showArrow" | "popperOptions" | "fallbackPlacements" | "gpuAcceleration" | "popperClass" | "showAfter" | "hideAfter" | "autoClose" | "popperStyle" | "rawContent" | "virtualTriggering" | "virtualRef" | "enterable" | "teleported">;
238
+ readonly onBeforeLeave?: (() => any) | undefined;
239
+ readonly onBeforeEnter?: (() => any) | undefined;
240
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "appendTo" | "width" | "disabled" | "visible" | "content" | "offset" | "effect" | "trigger" | "placement" | "strategy" | "showArrow" | "popperOptions" | "fallbackPlacements" | "gpuAcceleration" | "popperClass" | "showAfter" | "hideAfter" | "autoClose" | "popperStyle" | "rawContent" | "virtualTriggering" | "virtualRef" | "enterable" | "teleported">;
237
241
  $attrs: import('vue').Attrs;
238
242
  $refs: {
239
243
  [x: string]: unknown;
@@ -244,7 +248,7 @@ export declare const MtTooltip: {
244
248
  $root: import('vue').ComponentPublicInstance | null;
245
249
  $parent: import('vue').ComponentPublicInstance | null;
246
250
  $host: Element | null;
247
- $emit: ((event: "beforeEnter") => void) & ((event: "beforeLeave") => void) & ((event: "hide") => void) & ((event: "show") => void) & ((event: "update:visible", args_0: boolean) => void);
251
+ $emit: ((event: "hide") => void) & ((event: "show") => void) & ((event: "beforeLeave") => void) & ((event: "beforeEnter") => void) & ((event: "update:visible", args_0: boolean) => void);
248
252
  $el: any;
249
253
  $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
250
254
  trigger: {
@@ -375,28 +379,28 @@ export declare const MtTooltip: {
375
379
  default: boolean;
376
380
  };
377
381
  }>> & Readonly<{
378
- onBeforeEnter?: (() => any) | undefined;
379
- onBeforeLeave?: (() => any) | undefined;
380
382
  onHide?: (() => any) | undefined;
381
383
  onShow?: (() => any) | undefined;
384
+ onBeforeLeave?: (() => any) | undefined;
385
+ onBeforeEnter?: (() => any) | undefined;
382
386
  "onUpdate:visible"?: ((args_0: boolean) => any) | undefined;
383
387
  }>, {
384
388
  hide: () => void;
385
389
  show: () => void;
386
390
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
387
- beforeEnter: () => any;
388
- beforeLeave: () => any;
389
391
  hide: () => any;
390
392
  show: () => any;
393
+ beforeLeave: () => any;
394
+ beforeEnter: () => any;
391
395
  "update:visible": (args_0: boolean) => any;
392
396
  }, string, {
397
+ appendTo: string | HTMLElement;
393
398
  width: string | number;
394
- effect: import('../popover').PopoverEffect;
399
+ disabled: boolean;
395
400
  visible: boolean | null;
396
- offset: number;
397
401
  content: string;
398
- disabled: boolean;
399
- appendTo: string | HTMLElement;
402
+ offset: number;
403
+ effect: import('../popover').PopoverEffect;
400
404
  trigger: import('../popover').PopoverTriggerType;
401
405
  placement: import('@popperjs/core').Placement;
402
406
  strategy: "fixed" | "absolute";
@@ -459,13 +463,13 @@ export declare const MtTooltip: {
459
463
  $nextTick: typeof import('vue').nextTick;
460
464
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
461
465
  } & Readonly<{
466
+ appendTo: string | HTMLElement;
462
467
  width: string | number;
463
- effect: import('../popover').PopoverEffect;
468
+ disabled: boolean;
464
469
  visible: boolean | null;
465
- offset: number;
466
470
  content: string;
467
- disabled: boolean;
468
- appendTo: string | HTMLElement;
471
+ offset: number;
472
+ effect: import('../popover').PopoverEffect;
469
473
  trigger: import('../popover').PopoverTriggerType;
470
474
  placement: import('@popperjs/core').Placement;
471
475
  strategy: "fixed" | "absolute";
@@ -636,23 +640,23 @@ export declare const MtTooltip: {
636
640
  default: boolean;
637
641
  };
638
642
  }>> & Readonly<{
639
- onBeforeEnter?: (() => any) | undefined;
640
- onBeforeLeave?: (() => any) | undefined;
641
643
  onHide?: (() => any) | undefined;
642
644
  onShow?: (() => any) | undefined;
645
+ onBeforeLeave?: (() => any) | undefined;
646
+ onBeforeEnter?: (() => any) | undefined;
643
647
  "onUpdate:visible"?: ((args_0: boolean) => any) | undefined;
644
- }>, "hide" | "show" | ("width" | "effect" | "visible" | "offset" | "content" | "disabled" | "appendTo" | "trigger" | "placement" | "strategy" | "showArrow" | "popperOptions" | "fallbackPlacements" | "gpuAcceleration" | "popperClass" | "showAfter" | "hideAfter" | "autoClose" | "popperStyle" | "rawContent" | "virtualTriggering" | "virtualRef" | "enterable" | "teleported")> & {
648
+ }>, "hide" | "show" | ("appendTo" | "width" | "disabled" | "visible" | "content" | "offset" | "effect" | "trigger" | "placement" | "strategy" | "showArrow" | "popperOptions" | "fallbackPlacements" | "gpuAcceleration" | "popperClass" | "showAfter" | "hideAfter" | "autoClose" | "popperStyle" | "rawContent" | "virtualTriggering" | "virtualRef" | "enterable" | "teleported")> & {
645
649
  hide: () => void;
646
650
  show: () => void;
647
651
  } & {} & import('vue').ComponentCustomProperties & {} & {
648
652
  $slots: Readonly<{
649
- reference: any;
650
- default: any;
651
- content: any;
653
+ reference?: () => import('vue').VNode[];
654
+ default?: () => import('vue').VNode[];
655
+ content?: () => import('vue').VNode[];
652
656
  }> & {
653
- reference: any;
654
- default: any;
655
- content: any;
657
+ reference?: () => import('vue').VNode[];
658
+ default?: () => import('vue').VNode[];
659
+ content?: () => import('vue').VNode[];
656
660
  };
657
661
  }) | null;
658
662
  }, any, import('vue').ComponentProvideOptions, {
@@ -746,16 +750,18 @@ export declare const MtTooltip: {
746
750
  type: import('vue').PropType<string>;
747
751
  default: string;
748
752
  };
749
- }>> & Readonly<{}>, {
753
+ }>> & Readonly<{
754
+ "onUpdate:visible"?: ((args_0: boolean) => any) | undefined;
755
+ }>, {
750
756
  hide: () => void;
751
757
  show: () => void;
752
758
  }, {}, {}, {}, {
753
759
  width: string;
754
- effect: import('../popover').PopoverEffect;
760
+ disabled: boolean;
755
761
  visible: boolean | null;
756
- offset: number;
757
762
  content: string;
758
- disabled: boolean;
763
+ offset: number;
764
+ effect: import('../popover').PopoverEffect;
759
765
  placement: import('@popperjs/core').Placement;
760
766
  enterable: boolean;
761
767
  'visible-arrow': boolean;
@@ -876,16 +882,20 @@ export declare const MtTooltip: {
876
882
  type: import('vue').PropType<string>;
877
883
  default: string;
878
884
  };
879
- }>> & Readonly<{}>, {
885
+ }>> & Readonly<{
886
+ "onUpdate:visible"?: ((args_0: boolean) => any) | undefined;
887
+ }>, {
880
888
  hide: () => void;
881
889
  show: () => void;
882
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
890
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
891
+ "update:visible": (args_0: boolean) => any;
892
+ }, string, {
883
893
  width: string;
884
- effect: import('../popover').PopoverEffect;
894
+ disabled: boolean;
885
895
  visible: boolean | null;
886
- offset: number;
887
896
  content: string;
888
- disabled: boolean;
897
+ offset: number;
898
+ effect: import('../popover').PopoverEffect;
889
899
  placement: import('@popperjs/core').Placement;
890
900
  enterable: boolean;
891
901
  'visible-arrow': boolean;
@@ -919,12 +929,9 @@ export declare const MtTooltip: {
919
929
  [x: string]: boolean;
920
930
  } | /*elided*/ any)[])[])[])[])[])[])[])[])[])[])[];
921
931
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
922
- $slots: Readonly<{
923
- default: any;
924
- content: any;
925
- }> & {
926
- default: any;
927
- content: any;
932
+ $slots: {
933
+ default?(_: {}): any;
934
+ content?(_: {}): any;
928
935
  };
929
936
  }) & import('vue').Plugin;
930
937
  export default MtTooltip;