@mingto/mt-ui 1.1.32

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 (155) hide show
  1. package/README.md +19 -0
  2. package/dist/avatar-image/index.d.ts +86 -0
  3. package/dist/avatar-image/src/avatar-image.d.ts +35 -0
  4. package/dist/avatar-image/src/avatar-image.vue.d.ts +45 -0
  5. package/dist/avatar-text/index.d.ts +92 -0
  6. package/dist/avatar-text/src/avatar-text.d.ts +35 -0
  7. package/dist/avatar-text/src/avatar-text.vue.d.ts +62 -0
  8. package/dist/backtop/index.d.ts +103 -0
  9. package/dist/backtop/src/backtop.d.ts +43 -0
  10. package/dist/backtop/src/backtop.vue.d.ts +66 -0
  11. package/dist/badge/index.d.ts +117 -0
  12. package/dist/badge/src/badge.d.ts +48 -0
  13. package/dist/badge/src/badge.vue.d.ts +76 -0
  14. package/dist/button/index.d.ts +230 -0
  15. package/dist/button/src/button.d.ts +93 -0
  16. package/dist/button/src/button.vue.d.ts +144 -0
  17. package/dist/button-group/index.d.ts +18 -0
  18. package/dist/button-group/src/button-group.d.ts +3 -0
  19. package/dist/button-group/src/button-group.vue.d.ts +17 -0
  20. package/dist/cell/index.d.ts +157 -0
  21. package/dist/cell/src/cell.d.ts +56 -0
  22. package/dist/cell/src/cell.vue.d.ts +103 -0
  23. package/dist/cell-group/index.d.ts +83 -0
  24. package/dist/cell-group/src/cell-group.d.ts +104 -0
  25. package/dist/collapse-transition/index.d.ts +18 -0
  26. package/dist/collapse-transition/src/collapse-transition.d.ts +4 -0
  27. package/dist/collapse-transition/src/collapse-transition.vue.d.ts +17 -0
  28. package/dist/config-provider/index.d.ts +51 -0
  29. package/dist/config-provider/src/config-provider.d.ts +32 -0
  30. package/dist/dialog/index.d.ts +414 -0
  31. package/dist/dialog/src/dialog.d.ts +124 -0
  32. package/dist/dialog/src/dialog.vue.d.ts +174 -0
  33. package/dist/dialog/src/layout/dialog-confirm-layout.vue.d.ts +116 -0
  34. package/dist/empty/index.d.ts +86 -0
  35. package/dist/empty/src/empty.d.ts +35 -0
  36. package/dist/empty/src/empty.vue.d.ts +45 -0
  37. package/dist/fade-transition/index.d.ts +49 -0
  38. package/dist/fade-transition/src/fade-transition.d.ts +9 -0
  39. package/dist/fade-transition/src/fade-transition.vue.d.ts +33 -0
  40. package/dist/file-preview/index.d.ts +4 -0
  41. package/dist/file-preview/src/ai-music-preview.vue.d.ts +43 -0
  42. package/dist/file-preview/src/file-preview.d.ts +41 -0
  43. package/dist/file-preview/src/file-preview.vue.d.ts +42 -0
  44. package/dist/file-preview/src/iframe-preview.vue.d.ts +16 -0
  45. package/dist/file-preview/src/image-preview.vue.d.ts +14 -0
  46. package/dist/file-preview/src/method.d.ts +9 -0
  47. package/dist/file-preview/src/music-preview.vue.d.ts +14 -0
  48. package/dist/file-preview/src/video-preview.vue.d.ts +14 -0
  49. package/dist/hooks/dom/index.d.ts +1 -0
  50. package/dist/hooks/dom/use-z-index.d.ts +3 -0
  51. package/dist/hooks/event/index.d.ts +1 -0
  52. package/dist/hooks/event/use-click-outside.d.ts +2 -0
  53. package/dist/hooks/event/use-same-target.d.ts +5 -0
  54. package/dist/hooks/index.d.ts +4 -0
  55. package/dist/hooks/locale/index.d.ts +1 -0
  56. package/dist/hooks/locale/use-locale.d.ts +10 -0
  57. package/dist/hooks/vue/index.d.ts +2 -0
  58. package/dist/hooks/vue/use-children.d.ts +5 -0
  59. package/dist/hooks/vue/use-parent.d.ts +11 -0
  60. package/dist/icon/assets/font/iconfont.json.d.ts +2034 -0
  61. package/dist/icon/index.d.ts +98 -0
  62. package/dist/icon/src/icon.d.ts +42 -0
  63. package/dist/icon/src/icon.vue.d.ts +53 -0
  64. package/dist/image/index.d.ts +142 -0
  65. package/dist/image/src/image.d.ts +50 -0
  66. package/dist/image/src/image.vue.d.ts +92 -0
  67. package/dist/index.d.ts +80 -0
  68. package/dist/index.es.js +64743 -0
  69. package/dist/index.umd.js +64742 -0
  70. package/dist/infinite-scroll/index.d.ts +319 -0
  71. package/dist/infinite-scroll/src/infinite-scroll.d.ts +123 -0
  72. package/dist/infinite-scroll/src/infinite-scroll.vue.d.ts +197 -0
  73. package/dist/loading/index.d.ts +72 -0
  74. package/dist/loading/src/loading.d.ts +27 -0
  75. package/dist/loading/src/loading.vue.d.ts +49 -0
  76. package/dist/locale/index.d.ts +17 -0
  77. package/dist/locale/lang/ar.d.ts +40 -0
  78. package/dist/locale/lang/en.d.ts +40 -0
  79. package/dist/locale/lang/ms.d.ts +40 -0
  80. package/dist/locale/lang/th.d.ts +40 -0
  81. package/dist/locale/lang/vi.d.ts +40 -0
  82. package/dist/locale/lang/zh-cn.d.ts +40 -0
  83. package/dist/locale/lang/zh-tw.d.ts +40 -0
  84. package/dist/message/index.d.ts +4 -0
  85. package/dist/message/src/instance.d.ts +16 -0
  86. package/dist/message/src/message.d.ts +69 -0
  87. package/dist/message/src/message.vue.d.ts +96 -0
  88. package/dist/message/src/method.d.ts +3 -0
  89. package/dist/overlay/index.d.ts +54 -0
  90. package/dist/overlay/src/overlay.d.ts +18 -0
  91. package/dist/overlay/src/overlay.vue.d.ts +38 -0
  92. package/dist/popover/index.d.ts +596 -0
  93. package/dist/popover/src/arrow.vue.d.ts +6 -0
  94. package/dist/popover/src/content.vue.d.ts +216 -0
  95. package/dist/popover/src/popover.d.ts +217 -0
  96. package/dist/popover/src/popover.vue.d.ts +344 -0
  97. package/dist/popover/src/trigger-ref.d.ts +17 -0
  98. package/dist/popover/src/trigger.vue.d.ts +59 -0
  99. package/dist/poster/index.d.ts +3 -0
  100. package/dist/poster/src/method.d.ts +51 -0
  101. package/dist/progress/index.d.ts +170 -0
  102. package/dist/progress/src/progress.d.ts +47 -0
  103. package/dist/progress/src/progress.vue.d.ts +109 -0
  104. package/dist/qrcode/index.d.ts +160 -0
  105. package/dist/qrcode/src/qrcode.d.ts +71 -0
  106. package/dist/qrcode/src/qrcode.vue.d.ts +88 -0
  107. package/dist/style.css +20075 -0
  108. package/dist/tab/index.d.ts +57 -0
  109. package/dist/tab/src/tab.d.ts +23 -0
  110. package/dist/tab/src/tab.vue.d.ts +25 -0
  111. package/dist/table/index.d.ts +20 -0
  112. package/dist/table/src/table.vue.d.ts +19 -0
  113. package/dist/table-column/index.d.ts +22 -0
  114. package/dist/table-column/src/table-column.vue.d.ts +21 -0
  115. package/dist/tabs/index.d.ts +71 -0
  116. package/dist/tabs/src/tabs.d.ts +26 -0
  117. package/dist/tabs/src/tabs.vue.d.ts +48 -0
  118. package/dist/tag/index.d.ts +118 -0
  119. package/dist/tag/src/tag.d.ts +44 -0
  120. package/dist/tag/src/tag.vue.d.ts +75 -0
  121. package/dist/teleport/index.d.ts +52 -0
  122. package/dist/teleport/src/teleport.d.ts +12 -0
  123. package/dist/teleport/src/teleport.vue.d.ts +38 -0
  124. package/dist/tooltip/index.d.ts +934 -0
  125. package/dist/tooltip/src/tooltip.d.ts +94 -0
  126. package/dist/tooltip/src/tooltip.vue.d.ts +1295 -0
  127. package/dist/upload/index.d.ts +982 -0
  128. package/dist/upload/src/layout/upload-file-list-layout.vue.d.ts +29 -0
  129. package/dist/upload/src/layout/upload-image-grid-layout.vue.d.ts +59 -0
  130. package/dist/upload/src/layout/upload-image-only-layout.vue.d.ts +59 -0
  131. package/dist/upload/src/trigger/upload-file-list-trigger.vue.d.ts +47 -0
  132. package/dist/upload/src/trigger/upload-image-grid-trigger.vue.d.ts +45 -0
  133. package/dist/upload/src/trigger/upload-image-only-trigger.vue.d.ts +135 -0
  134. package/dist/upload/src/upload-config.d.ts +3 -0
  135. package/dist/upload/src/upload-content.d.ts +63 -0
  136. package/dist/upload/src/upload-content.vue.d.ts +129 -0
  137. package/dist/upload/src/upload-full-screen-drag.vue.d.ts +12 -0
  138. package/dist/upload/src/upload-image-copper.vue.d.ts +9 -0
  139. package/dist/upload/src/upload.d.ts +196 -0
  140. package/dist/upload/src/upload.vue.d.ts +825 -0
  141. package/dist/upload/src/use-full-scree-drag.d.ts +6 -0
  142. package/dist/utils/class/deferred.d.ts +7 -0
  143. package/dist/utils/dom/__test__/is-valid-css-value.test.d.ts +1 -0
  144. package/dist/utils/dom/index.d.ts +2 -0
  145. package/dist/utils/dom/style.d.ts +10 -0
  146. package/dist/utils/dom/unit.d.ts +35 -0
  147. package/dist/utils/function/index.d.ts +1 -0
  148. package/dist/utils/function/shared.d.ts +2 -0
  149. package/dist/utils/index.d.ts +5 -0
  150. package/dist/utils/prop/index.d.ts +1 -0
  151. package/dist/utils/prop/size.d.ts +9 -0
  152. package/dist/utils/vue/children.d.ts +5 -0
  153. package/dist/utils/vue/index.d.ts +2 -0
  154. package/dist/utils/vue/install.d.ts +5 -0
  155. package/package.json +41 -0
@@ -0,0 +1,144 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: Readonly<{
4
+ default: any;
5
+ icon: any;
6
+ }> & {
7
+ default: any;
8
+ icon: any;
9
+ };
10
+ refs: {};
11
+ rootEl: HTMLButtonElement;
12
+ };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
15
+ readonly type: {
16
+ readonly type: import('vue').PropType<"default" | "primary" | "error" | "success" | "noble">;
17
+ readonly validator: (value: string) => boolean;
18
+ readonly default: "default";
19
+ };
20
+ readonly size: {
21
+ type: import('vue').PropType<"normal" | "small" | "large">;
22
+ default: string;
23
+ validator: (value: "normal" | "small" | "large") => boolean;
24
+ };
25
+ readonly width: {
26
+ readonly type: import('vue').PropType<number | string>;
27
+ readonly validator: (value: number | string) => boolean;
28
+ readonly default: "auto";
29
+ };
30
+ readonly height: {
31
+ readonly type: import('vue').PropType<number | string>;
32
+ readonly validator: (value: number | string) => boolean;
33
+ readonly default: "auto";
34
+ };
35
+ readonly round: {
36
+ readonly type: BooleanConstructor;
37
+ readonly default: false;
38
+ };
39
+ readonly circle: {
40
+ readonly type: BooleanConstructor;
41
+ readonly default: false;
42
+ };
43
+ readonly loading: {
44
+ readonly type: BooleanConstructor;
45
+ readonly default: false;
46
+ };
47
+ readonly disabled: {
48
+ readonly type: BooleanConstructor;
49
+ readonly default: false;
50
+ };
51
+ readonly text: {
52
+ readonly type: BooleanConstructor;
53
+ readonly default: false;
54
+ };
55
+ readonly block: {
56
+ readonly type: BooleanConstructor;
57
+ readonly default: false;
58
+ };
59
+ readonly plain: {
60
+ readonly type: BooleanConstructor;
61
+ readonly default: false;
62
+ };
63
+ readonly nativeType: {
64
+ readonly type: import('vue').PropType<"button" | "submit" | "reset">;
65
+ readonly default: "button";
66
+ };
67
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
68
+ click: (args_0: MouseEvent) => any;
69
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
70
+ readonly type: {
71
+ readonly type: import('vue').PropType<"default" | "primary" | "error" | "success" | "noble">;
72
+ readonly validator: (value: string) => boolean;
73
+ readonly default: "default";
74
+ };
75
+ readonly size: {
76
+ type: import('vue').PropType<"normal" | "small" | "large">;
77
+ default: string;
78
+ validator: (value: "normal" | "small" | "large") => boolean;
79
+ };
80
+ readonly width: {
81
+ readonly type: import('vue').PropType<number | string>;
82
+ readonly validator: (value: number | string) => boolean;
83
+ readonly default: "auto";
84
+ };
85
+ readonly height: {
86
+ readonly type: import('vue').PropType<number | string>;
87
+ readonly validator: (value: number | string) => boolean;
88
+ readonly default: "auto";
89
+ };
90
+ readonly round: {
91
+ readonly type: BooleanConstructor;
92
+ readonly default: false;
93
+ };
94
+ readonly circle: {
95
+ readonly type: BooleanConstructor;
96
+ readonly default: false;
97
+ };
98
+ readonly loading: {
99
+ readonly type: BooleanConstructor;
100
+ readonly default: false;
101
+ };
102
+ readonly disabled: {
103
+ readonly type: BooleanConstructor;
104
+ readonly default: false;
105
+ };
106
+ readonly text: {
107
+ readonly type: BooleanConstructor;
108
+ readonly default: false;
109
+ };
110
+ readonly block: {
111
+ readonly type: BooleanConstructor;
112
+ readonly default: false;
113
+ };
114
+ readonly plain: {
115
+ readonly type: BooleanConstructor;
116
+ readonly default: false;
117
+ };
118
+ readonly nativeType: {
119
+ readonly type: import('vue').PropType<"button" | "submit" | "reset">;
120
+ readonly default: "button";
121
+ };
122
+ }>> & Readonly<{
123
+ onClick?: ((args_0: MouseEvent) => any) | undefined;
124
+ }>, {
125
+ readonly round: boolean;
126
+ readonly size: "normal" | "small" | "large";
127
+ readonly type: "default" | "error" | "primary" | "success" | "noble";
128
+ readonly circle: boolean;
129
+ readonly text: boolean;
130
+ readonly width: string | number;
131
+ readonly height: string | number;
132
+ readonly plain: boolean;
133
+ readonly loading: boolean;
134
+ readonly disabled: boolean;
135
+ readonly block: boolean;
136
+ readonly nativeType: "button" | "reset" | "submit";
137
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLButtonElement>;
138
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
139
+ export default _default;
140
+ type __VLS_WithTemplateSlots<T, S> = T & {
141
+ new (): {
142
+ $slots: S;
143
+ };
144
+ };
@@ -0,0 +1,18 @@
1
+ export declare const MtButtonGroup: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
3
+ P: {};
4
+ B: {};
5
+ D: {};
6
+ C: {};
7
+ M: {};
8
+ Defaults: {};
9
+ }, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
10
+ __isFragment?: never;
11
+ __isTeleport?: never;
12
+ __isSuspense?: never;
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: {
15
+ default?(_: {}): any;
16
+ };
17
+ }) & import('vue').Plugin;
18
+ export default MtButtonGroup;
@@ -0,0 +1,3 @@
1
+ import { ExtractPropTypes } from 'vue';
2
+ export declare const buttonGroupProps: {};
3
+ export type ButtonGroupProps = ExtractPropTypes<typeof buttonGroupProps>;
@@ -0,0 +1,17 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ rootEl: HTMLDivElement;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
+ export default _default;
13
+ type __VLS_WithTemplateSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,157 @@
1
+ export declare const MtCell: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3
+ readonly icon: {
4
+ readonly type: StringConstructor;
5
+ readonly default: "";
6
+ };
7
+ readonly title: {
8
+ readonly type: StringConstructor;
9
+ readonly default: "";
10
+ };
11
+ readonly description: {
12
+ readonly type: StringConstructor;
13
+ readonly default: "";
14
+ };
15
+ readonly link: {
16
+ readonly type: BooleanConstructor;
17
+ readonly default: false;
18
+ };
19
+ readonly clickable: {
20
+ readonly type: BooleanConstructor;
21
+ readonly default: true;
22
+ };
23
+ readonly width: {
24
+ readonly type: import('vue').PropType<number | string>;
25
+ readonly validator: (value: number | string) => boolean;
26
+ readonly default: "100%";
27
+ };
28
+ readonly height: {
29
+ readonly type: import('vue').PropType<number | string>;
30
+ readonly validator: (value: number | string) => boolean;
31
+ readonly default: "auto";
32
+ };
33
+ }>> & Readonly<{
34
+ onClick?: (() => any) | undefined;
35
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
36
+ click: () => any;
37
+ }, import('vue').PublicProps, {
38
+ readonly clickable: boolean;
39
+ readonly link: boolean;
40
+ readonly title: string;
41
+ readonly width: string | number;
42
+ readonly height: string | number;
43
+ readonly icon: string;
44
+ readonly description: string;
45
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
46
+ P: {};
47
+ B: {};
48
+ D: {};
49
+ C: {};
50
+ M: {};
51
+ Defaults: {};
52
+ }, Readonly<import('vue').ExtractPropTypes<{
53
+ readonly icon: {
54
+ readonly type: StringConstructor;
55
+ readonly default: "";
56
+ };
57
+ readonly title: {
58
+ readonly type: StringConstructor;
59
+ readonly default: "";
60
+ };
61
+ readonly description: {
62
+ readonly type: StringConstructor;
63
+ readonly default: "";
64
+ };
65
+ readonly link: {
66
+ readonly type: BooleanConstructor;
67
+ readonly default: false;
68
+ };
69
+ readonly clickable: {
70
+ readonly type: BooleanConstructor;
71
+ readonly default: true;
72
+ };
73
+ readonly width: {
74
+ readonly type: import('vue').PropType<number | string>;
75
+ readonly validator: (value: number | string) => boolean;
76
+ readonly default: "100%";
77
+ };
78
+ readonly height: {
79
+ readonly type: import('vue').PropType<number | string>;
80
+ readonly validator: (value: number | string) => boolean;
81
+ readonly default: "auto";
82
+ };
83
+ }>> & Readonly<{
84
+ onClick?: (() => any) | undefined;
85
+ }>, {}, {}, {}, {}, {
86
+ readonly clickable: boolean;
87
+ readonly link: boolean;
88
+ readonly title: string;
89
+ readonly width: string | number;
90
+ readonly height: string | number;
91
+ readonly icon: string;
92
+ readonly description: string;
93
+ }>;
94
+ __isFragment?: never;
95
+ __isTeleport?: never;
96
+ __isSuspense?: never;
97
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
98
+ readonly icon: {
99
+ readonly type: StringConstructor;
100
+ readonly default: "";
101
+ };
102
+ readonly title: {
103
+ readonly type: StringConstructor;
104
+ readonly default: "";
105
+ };
106
+ readonly description: {
107
+ readonly type: StringConstructor;
108
+ readonly default: "";
109
+ };
110
+ readonly link: {
111
+ readonly type: BooleanConstructor;
112
+ readonly default: false;
113
+ };
114
+ readonly clickable: {
115
+ readonly type: BooleanConstructor;
116
+ readonly default: true;
117
+ };
118
+ readonly width: {
119
+ readonly type: import('vue').PropType<number | string>;
120
+ readonly validator: (value: number | string) => boolean;
121
+ readonly default: "100%";
122
+ };
123
+ readonly height: {
124
+ readonly type: import('vue').PropType<number | string>;
125
+ readonly validator: (value: number | string) => boolean;
126
+ readonly default: "auto";
127
+ };
128
+ }>> & Readonly<{
129
+ onClick?: (() => any) | undefined;
130
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
131
+ click: () => any;
132
+ }, string, {
133
+ readonly clickable: boolean;
134
+ readonly link: boolean;
135
+ readonly title: string;
136
+ readonly width: string | number;
137
+ readonly height: string | number;
138
+ readonly icon: string;
139
+ readonly description: string;
140
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
141
+ $slots: Readonly<{
142
+ icon: any;
143
+ title: any;
144
+ description: any;
145
+ right: {
146
+ isHover: boolean;
147
+ };
148
+ }> & {
149
+ icon: any;
150
+ title: any;
151
+ description: any;
152
+ right: {
153
+ isHover: boolean;
154
+ };
155
+ };
156
+ }) & import('vue').Plugin;
157
+ export default MtCell;
@@ -0,0 +1,56 @@
1
+ import { ExtractPropTypes, PropType } from 'vue';
2
+ declare const cellProps: {
3
+ /**
4
+ * 左侧的图片路径
5
+ */
6
+ readonly icon: {
7
+ readonly type: StringConstructor;
8
+ readonly default: "";
9
+ };
10
+ /**
11
+ * 中间的标题文本
12
+ */
13
+ readonly title: {
14
+ readonly type: StringConstructor;
15
+ readonly default: "";
16
+ };
17
+ /**
18
+ * 标题下方的描述信息
19
+ */
20
+ readonly description: {
21
+ readonly type: StringConstructor;
22
+ readonly default: "";
23
+ };
24
+ /**
25
+ * 是否展示右侧箭头
26
+ */
27
+ readonly link: {
28
+ readonly type: BooleanConstructor;
29
+ readonly default: false;
30
+ };
31
+ /**
32
+ * 是否显示可点击指针样式
33
+ */
34
+ readonly clickable: {
35
+ readonly type: BooleanConstructor;
36
+ readonly default: true;
37
+ };
38
+ /**
39
+ * 单元格宽度
40
+ */
41
+ readonly width: {
42
+ readonly type: PropType<number | string>;
43
+ readonly validator: (value: number | string) => boolean;
44
+ readonly default: "100%";
45
+ };
46
+ /**
47
+ * 单元格高度
48
+ */
49
+ readonly height: {
50
+ readonly type: PropType<number | string>;
51
+ readonly validator: (value: number | string) => boolean;
52
+ readonly default: "auto";
53
+ };
54
+ };
55
+ export type CellProps = ExtractPropTypes<typeof cellProps>;
56
+ export { cellProps };
@@ -0,0 +1,103 @@
1
+ declare function __VLS_template(): {
2
+ attrs: Partial<{}>;
3
+ slots: Readonly<{
4
+ icon: any;
5
+ title: any;
6
+ description: any;
7
+ right: {
8
+ isHover: boolean;
9
+ };
10
+ }> & {
11
+ icon: any;
12
+ title: any;
13
+ description: any;
14
+ right: {
15
+ isHover: boolean;
16
+ };
17
+ };
18
+ refs: {};
19
+ rootEl: HTMLDivElement;
20
+ };
21
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
23
+ readonly icon: {
24
+ readonly type: StringConstructor;
25
+ readonly default: "";
26
+ };
27
+ readonly title: {
28
+ readonly type: StringConstructor;
29
+ readonly default: "";
30
+ };
31
+ readonly description: {
32
+ readonly type: StringConstructor;
33
+ readonly default: "";
34
+ };
35
+ readonly link: {
36
+ readonly type: BooleanConstructor;
37
+ readonly default: false;
38
+ };
39
+ readonly clickable: {
40
+ readonly type: BooleanConstructor;
41
+ readonly default: true;
42
+ };
43
+ readonly width: {
44
+ readonly type: import('vue').PropType<number | string>;
45
+ readonly validator: (value: number | string) => boolean;
46
+ readonly default: "100%";
47
+ };
48
+ readonly height: {
49
+ readonly type: import('vue').PropType<number | string>;
50
+ readonly validator: (value: number | string) => boolean;
51
+ readonly default: "auto";
52
+ };
53
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
54
+ click: () => any;
55
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
56
+ readonly icon: {
57
+ readonly type: StringConstructor;
58
+ readonly default: "";
59
+ };
60
+ readonly title: {
61
+ readonly type: StringConstructor;
62
+ readonly default: "";
63
+ };
64
+ readonly description: {
65
+ readonly type: StringConstructor;
66
+ readonly default: "";
67
+ };
68
+ readonly link: {
69
+ readonly type: BooleanConstructor;
70
+ readonly default: false;
71
+ };
72
+ readonly clickable: {
73
+ readonly type: BooleanConstructor;
74
+ readonly default: true;
75
+ };
76
+ readonly width: {
77
+ readonly type: import('vue').PropType<number | string>;
78
+ readonly validator: (value: number | string) => boolean;
79
+ readonly default: "100%";
80
+ };
81
+ readonly height: {
82
+ readonly type: import('vue').PropType<number | string>;
83
+ readonly validator: (value: number | string) => boolean;
84
+ readonly default: "auto";
85
+ };
86
+ }>> & Readonly<{
87
+ onClick?: (() => any) | undefined;
88
+ }>, {
89
+ readonly clickable: boolean;
90
+ readonly link: boolean;
91
+ readonly title: string;
92
+ readonly width: string | number;
93
+ readonly height: string | number;
94
+ readonly icon: string;
95
+ readonly description: string;
96
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
97
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
98
+ export default _default;
99
+ type __VLS_WithTemplateSlots<T, S> = T & {
100
+ new (): {
101
+ $slots: S;
102
+ };
103
+ };
@@ -0,0 +1,83 @@
1
+ export declare const MtCellGroup: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3
+ gutter: {
4
+ type: NumberConstructor;
5
+ default: number;
6
+ };
7
+ width: {
8
+ type: import('vue').PropType<number | string>;
9
+ validator: (value: number | string) => boolean;
10
+ default: string;
11
+ };
12
+ hideFirstMargin: {
13
+ type: import('vue').PropType<boolean>;
14
+ default: boolean;
15
+ };
16
+ hideLastMargin: {
17
+ type: import('vue').PropType<boolean>;
18
+ default: boolean;
19
+ };
20
+ }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
21
+ width: string | number;
22
+ gutter: number;
23
+ hideFirstMargin: boolean;
24
+ hideLastMargin: boolean;
25
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
26
+ P: {};
27
+ B: {};
28
+ D: {};
29
+ C: {};
30
+ M: {};
31
+ Defaults: {};
32
+ }, Readonly<import('vue').ExtractPropTypes<{
33
+ gutter: {
34
+ type: NumberConstructor;
35
+ default: number;
36
+ };
37
+ width: {
38
+ type: import('vue').PropType<number | string>;
39
+ validator: (value: number | string) => boolean;
40
+ default: string;
41
+ };
42
+ hideFirstMargin: {
43
+ type: import('vue').PropType<boolean>;
44
+ default: boolean;
45
+ };
46
+ hideLastMargin: {
47
+ type: import('vue').PropType<boolean>;
48
+ default: boolean;
49
+ };
50
+ }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
51
+ width: string | number;
52
+ gutter: number;
53
+ hideFirstMargin: boolean;
54
+ hideLastMargin: boolean;
55
+ }>;
56
+ __isFragment?: never;
57
+ __isTeleport?: never;
58
+ __isSuspense?: never;
59
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
60
+ gutter: {
61
+ type: NumberConstructor;
62
+ default: number;
63
+ };
64
+ width: {
65
+ type: import('vue').PropType<number | string>;
66
+ validator: (value: number | string) => boolean;
67
+ default: string;
68
+ };
69
+ hideFirstMargin: {
70
+ type: import('vue').PropType<boolean>;
71
+ default: boolean;
72
+ };
73
+ hideLastMargin: {
74
+ type: import('vue').PropType<boolean>;
75
+ default: boolean;
76
+ };
77
+ }>> & Readonly<{}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
78
+ width: string | number;
79
+ gutter: number;
80
+ hideFirstMargin: boolean;
81
+ hideLastMargin: boolean;
82
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').Plugin;
83
+ export default MtCellGroup;
@@ -0,0 +1,104 @@
1
+ import { ExtractPropTypes, InjectionKey, PropType } from 'vue';
2
+ declare const cellGroupProps: {
3
+ /**
4
+ * 单元格之间的间距
5
+ */
6
+ gutter: {
7
+ type: NumberConstructor;
8
+ default: number;
9
+ };
10
+ /**
11
+ * 整体宽度
12
+ */
13
+ width: {
14
+ type: PropType<number | string>;
15
+ validator: (value: number | string) => boolean;
16
+ default: string;
17
+ };
18
+ /**
19
+ * 隐藏第一个单元格间距
20
+ */
21
+ hideFirstMargin: {
22
+ type: PropType<boolean>;
23
+ default: boolean;
24
+ };
25
+ /**
26
+ * 隐藏最后一个单元格间距
27
+ */
28
+ hideLastMargin: {
29
+ type: PropType<boolean>;
30
+ default: boolean;
31
+ };
32
+ };
33
+ export type CellGroupProps = ExtractPropTypes<typeof cellGroupProps>;
34
+ interface CellGroupContext {
35
+ }
36
+ declare const CellGroupKey: InjectionKey<CellGroupContext>;
37
+ export { CellGroupKey };
38
+ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
39
+ /**
40
+ * 单元格之间的间距
41
+ */
42
+ gutter: {
43
+ type: NumberConstructor;
44
+ default: number;
45
+ };
46
+ /**
47
+ * 整体宽度
48
+ */
49
+ width: {
50
+ type: PropType<number | string>;
51
+ validator: (value: number | string) => boolean;
52
+ default: string;
53
+ };
54
+ /**
55
+ * 隐藏第一个单元格间距
56
+ */
57
+ hideFirstMargin: {
58
+ type: PropType<boolean>;
59
+ default: boolean;
60
+ };
61
+ /**
62
+ * 隐藏最后一个单元格间距
63
+ */
64
+ hideLastMargin: {
65
+ type: PropType<boolean>;
66
+ default: boolean;
67
+ };
68
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
69
+ /**
70
+ * 单元格之间的间距
71
+ */
72
+ gutter: {
73
+ type: NumberConstructor;
74
+ default: number;
75
+ };
76
+ /**
77
+ * 整体宽度
78
+ */
79
+ width: {
80
+ type: PropType<number | string>;
81
+ validator: (value: number | string) => boolean;
82
+ default: string;
83
+ };
84
+ /**
85
+ * 隐藏第一个单元格间距
86
+ */
87
+ hideFirstMargin: {
88
+ type: PropType<boolean>;
89
+ default: boolean;
90
+ };
91
+ /**
92
+ * 隐藏最后一个单元格间距
93
+ */
94
+ hideLastMargin: {
95
+ type: PropType<boolean>;
96
+ default: boolean;
97
+ };
98
+ }>> & Readonly<{}>, {
99
+ width: string | number;
100
+ gutter: number;
101
+ hideFirstMargin: boolean;
102
+ hideLastMargin: boolean;
103
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
104
+ export default _default;