mamba-layout 0.1.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.
Files changed (169) hide show
  1. package/README.md +47 -0
  2. package/dist/_virtual/_plugin-vue_export-helper.js +9 -0
  3. package/dist/assets/logo.png.js +4 -0
  4. package/dist/components/UserAvatar/index.d.ts +2 -0
  5. package/dist/components/UserAvatar/index.js +5 -0
  6. package/dist/components/UserAvatar/src/UserAvatar.css +1 -0
  7. package/dist/components/UserAvatar/src/UserAvatar.vue.d.ts +9 -0
  8. package/dist/components/UserAvatar/src/UserAvatar.vue.js +7 -0
  9. package/dist/components/UserAvatar/src/UserAvatar.vue2.js +61 -0
  10. package/dist/components/index.d.ts +2 -0
  11. package/dist/components/index.js +51 -0
  12. package/dist/index.d.ts +13 -0
  13. package/dist/index.js +80 -0
  14. package/dist/layout/BaseLayout.css +1 -0
  15. package/dist/layout/BaseLayout.vue.d.ts +23 -0
  16. package/dist/layout/BaseLayout.vue.js +7 -0
  17. package/dist/layout/BaseLayout.vue2.js +75 -0
  18. package/dist/layout/components/AppSelect.css +1 -0
  19. package/dist/layout/components/AppSelect.vue.d.ts +2 -0
  20. package/dist/layout/components/AppSelect.vue.js +7 -0
  21. package/dist/layout/components/AppSelect.vue2.js +69 -0
  22. package/dist/layout/components/AsideBar.css +1 -0
  23. package/dist/layout/components/AsideBar.vue.d.ts +21 -0
  24. package/dist/layout/components/AsideBar.vue.js +7 -0
  25. package/dist/layout/components/AsideBar.vue2.js +49 -0
  26. package/dist/layout/components/AsideSubMenuItem.vue.d.ts +25 -0
  27. package/dist/layout/components/AsideSubMenuItem.vue.js +84 -0
  28. package/dist/layout/components/AsideSubMenuItem.vue2.js +4 -0
  29. package/dist/layout/components/AsideSubMenus.vue.d.ts +16 -0
  30. package/dist/layout/components/AsideSubMenus.vue.js +36 -0
  31. package/dist/layout/components/AsideSubMenus.vue2.js +4 -0
  32. package/dist/layout/components/AsideTabMenus.vue.d.ts +2 -0
  33. package/dist/layout/components/AsideTabMenus.vue.js +41 -0
  34. package/dist/layout/components/AsideTabMenus.vue2.js +4 -0
  35. package/dist/layout/components/AsideUser.vue.d.ts +2 -0
  36. package/dist/layout/components/AsideUser.vue.js +58 -0
  37. package/dist/layout/components/AsideUser.vue2.js +4 -0
  38. package/dist/layout/components/HeaderBar.css +1 -0
  39. package/dist/layout/components/HeaderBar.vue.d.ts +17 -0
  40. package/dist/layout/components/HeaderBar.vue.js +7 -0
  41. package/dist/layout/components/HeaderBar.vue2.js +55 -0
  42. package/dist/layout/components/HeaderMenuToggle.vue.d.ts +25 -0
  43. package/dist/layout/components/HeaderMenuToggle.vue.js +40 -0
  44. package/dist/layout/components/HeaderMenuToggle.vue2.js +4 -0
  45. package/dist/layout/components/LanguageSelect.css +1 -0
  46. package/dist/layout/components/LanguageSelect.vue.d.ts +22 -0
  47. package/dist/layout/components/LanguageSelect.vue.js +8 -0
  48. package/dist/layout/components/LanguageSelect.vue2.js +101 -0
  49. package/dist/layout/components/LanguageSelect2.css +1 -0
  50. package/dist/layout/components/LayoutBreadcrumb.css +1 -0
  51. package/dist/layout/components/LayoutBreadcrumb.vue.d.ts +29 -0
  52. package/dist/layout/components/LayoutBreadcrumb.vue.js +7 -0
  53. package/dist/layout/components/LayoutBreadcrumb.vue2.js +189 -0
  54. package/dist/layout/components/MenuDrawer.css +1 -0
  55. package/dist/layout/components/MenuDrawer.vue.d.ts +12 -0
  56. package/dist/layout/components/MenuDrawer.vue.js +163 -0
  57. package/dist/layout/components/MenuDrawer.vue3.js +5 -0
  58. package/dist/layout/components/MenuItemIcon.css +1 -0
  59. package/dist/layout/components/MenuItemIcon.vue.d.ts +7 -0
  60. package/dist/layout/components/MenuItemIcon.vue.js +7 -0
  61. package/dist/layout/components/MenuItemIcon.vue2.js +23 -0
  62. package/dist/layout/components/NavIconBtn.css +1 -0
  63. package/dist/layout/components/NavIconBtn.vue.d.ts +26 -0
  64. package/dist/layout/components/NavIconBtn.vue.js +7 -0
  65. package/dist/layout/components/NavIconBtn.vue2.js +23 -0
  66. package/dist/layout/components/SHeaderRight.css +1 -0
  67. package/dist/layout/components/SHeaderRight.vue.d.ts +2 -0
  68. package/dist/layout/components/SHeaderRight.vue.js +7 -0
  69. package/dist/layout/components/SHeaderRight.vue2.js +80 -0
  70. package/dist/layout/components/ThemeToggle.css +1 -0
  71. package/dist/layout/components/ThemeToggle.vue.d.ts +2 -0
  72. package/dist/layout/components/ThemeToggle.vue.js +7 -0
  73. package/dist/layout/components/ThemeToggle.vue2.js +30 -0
  74. package/dist/layout/components/TimezoneSelect.css +1 -0
  75. package/dist/layout/components/TimezoneSelect.vue.d.ts +7 -0
  76. package/dist/layout/components/TimezoneSelect.vue.js +8 -0
  77. package/dist/layout/components/TimezoneSelect.vue2.js +78 -0
  78. package/dist/layout/components/TimezoneSelect2.css +1 -0
  79. package/dist/layout/components/UserInfo.css +1 -0
  80. package/dist/layout/components/UserInfo.vue.d.ts +2 -0
  81. package/dist/layout/components/UserInfo.vue.js +8 -0
  82. package/dist/layout/components/UserInfo.vue2.js +111 -0
  83. package/dist/layout/components/UserInfo2.css +1 -0
  84. package/dist/layout/components/index.d.ts +23 -0
  85. package/dist/layout/components/index.js +49 -0
  86. package/dist/layout/components/mobile/AppSelectMobile.vue.d.ts +2 -0
  87. package/dist/layout/components/mobile/AppSelectMobile.vue.js +60 -0
  88. package/dist/layout/components/mobile/AppSelectMobile.vue2.js +4 -0
  89. package/dist/layout/components/mobile/AsideBarMobile.css +1 -0
  90. package/dist/layout/components/mobile/AsideBarMobile.vue.d.ts +21 -0
  91. package/dist/layout/components/mobile/AsideBarMobile.vue.js +7 -0
  92. package/dist/layout/components/mobile/AsideBarMobile.vue2.js +47 -0
  93. package/dist/layout/components/mobile/AsideUserMobile.css +1 -0
  94. package/dist/layout/components/mobile/AsideUserMobile.vue.d.ts +2 -0
  95. package/dist/layout/components/mobile/AsideUserMobile.vue.js +7 -0
  96. package/dist/layout/components/mobile/AsideUserMobile.vue2.js +56 -0
  97. package/dist/layout/components/mobile/AsideUserMobilePopover.css +1 -0
  98. package/dist/layout/components/mobile/AsideUserMobilePopover.vue.d.ts +17 -0
  99. package/dist/layout/components/mobile/AsideUserMobilePopover.vue.js +7 -0
  100. package/dist/layout/components/mobile/AsideUserMobilePopover.vue2.js +52 -0
  101. package/dist/layout/components/mobile/HeaderRightMobile.css +1 -0
  102. package/dist/layout/components/mobile/HeaderRightMobile.vue.d.ts +2 -0
  103. package/dist/layout/components/mobile/HeaderRightMobile.vue.js +7 -0
  104. package/dist/layout/components/mobile/HeaderRightMobile.vue2.js +50 -0
  105. package/dist/layout/components/mobile/MobileMenuToggle.css +1 -0
  106. package/dist/layout/components/mobile/MobileMenuToggle.vue.d.ts +2 -0
  107. package/dist/layout/components/mobile/MobileMenuToggle.vue.js +7 -0
  108. package/dist/layout/components/mobile/MobileMenuToggle.vue2.js +31 -0
  109. package/dist/layout/hooks/index.d.ts +4 -0
  110. package/dist/layout/hooks/index.js +17 -0
  111. package/dist/layout/hooks/useApp.d.ts +6 -0
  112. package/dist/layout/hooks/useApp.js +20 -0
  113. package/dist/layout/hooks/useSetting.d.ts +62 -0
  114. package/dist/layout/hooks/useSetting.js +24 -0
  115. package/dist/layout/hooks/useState.d.ts +763 -0
  116. package/dist/layout/hooks/useState.js +99 -0
  117. package/dist/layout/hooks/useTheme.d.ts +15 -0
  118. package/dist/layout/hooks/useTheme.js +44 -0
  119. package/dist/layout/utils/index.d.ts +7 -0
  120. package/dist/layout/utils/index.js +59 -0
  121. package/dist/layout.css +1 -0
  122. package/dist/layout.es.js +53770 -0
  123. package/dist/layout.global.js +78 -0
  124. package/dist/locales/en/account.d.ts +10 -0
  125. package/dist/locales/en/account.js +12 -0
  126. package/dist/locales/en/admin.d.ts +207 -0
  127. package/dist/locales/en/admin.js +209 -0
  128. package/dist/locales/en/common.d.ts +40 -0
  129. package/dist/locales/en/common.js +42 -0
  130. package/dist/locales/en/components.d.ts +37 -0
  131. package/dist/locales/en/components.js +39 -0
  132. package/dist/locales/en/constant.d.ts +151 -0
  133. package/dist/locales/en/constant.js +153 -0
  134. package/dist/locales/en/filterBox.d.ts +11 -0
  135. package/dist/locales/en/filterBox.js +13 -0
  136. package/dist/locales/en/index.d.ts +487 -0
  137. package/dist/locales/en/index.js +22 -0
  138. package/dist/locales/en/instanceForm.d.ts +17 -0
  139. package/dist/locales/en/instanceForm.js +19 -0
  140. package/dist/locales/en/password.d.ts +18 -0
  141. package/dist/locales/en/password.js +20 -0
  142. package/dist/locales/index.d.ts +973 -0
  143. package/dist/locales/index.js +12 -0
  144. package/dist/locales/messages.d.ts +973 -0
  145. package/dist/locales/messages.js +9 -0
  146. package/dist/locales/zh-cn/account.d.ts +10 -0
  147. package/dist/locales/zh-cn/account.js +12 -0
  148. package/dist/locales/zh-cn/admin.d.ts +205 -0
  149. package/dist/locales/zh-cn/admin.js +207 -0
  150. package/dist/locales/zh-cn/common.d.ts +40 -0
  151. package/dist/locales/zh-cn/common.js +42 -0
  152. package/dist/locales/zh-cn/components.d.ts +37 -0
  153. package/dist/locales/zh-cn/components.js +39 -0
  154. package/dist/locales/zh-cn/constant.d.ts +151 -0
  155. package/dist/locales/zh-cn/constant.js +153 -0
  156. package/dist/locales/zh-cn/filterBox.d.ts +11 -0
  157. package/dist/locales/zh-cn/filterBox.js +13 -0
  158. package/dist/locales/zh-cn/index.d.ts +485 -0
  159. package/dist/locales/zh-cn/index.js +22 -0
  160. package/dist/locales/zh-cn/instanceForm.d.ts +17 -0
  161. package/dist/locales/zh-cn/instanceForm.js +19 -0
  162. package/dist/locales/zh-cn/password.d.ts +18 -0
  163. package/dist/locales/zh-cn/password.js +20 -0
  164. package/dist/standalone.d.ts +0 -0
  165. package/dist/utils/createContext.d.ts +8 -0
  166. package/dist/utils/createContext.js +14 -0
  167. package/dist/utils/repoUtils.d.ts +59 -0
  168. package/dist/utils/repoUtils.js +160 -0
  169. package/package.json +110 -0
@@ -0,0 +1,763 @@
1
+ import { Ref } from 'vue';
2
+ import { RouteItem } from '../../utils/repoUtils';
3
+ export interface RouteItemWithPath extends RouteItem {
4
+ paths?: RouteItem[];
5
+ }
6
+ export interface LayoutContext {
7
+ menus: Ref<RouteItem[]>;
8
+ currentEndRoute: Ref<RouteItemWithPath | undefined>;
9
+ currentEndParentRoute: Ref<RouteItem | undefined>;
10
+ currentTabPath: Ref<string>;
11
+ currentAppId: Ref<string>;
12
+ defaultParentActive: Ref<string>;
13
+ sideOpen: Ref<boolean>;
14
+ isMobile: Ref<boolean>;
15
+ getMenus: () => RouteItem[];
16
+ }
17
+ export declare const injectLayoutContext: <T extends LayoutContext | null | undefined = LayoutContext>(fallback?: T | undefined) => T extends null ? LayoutContext | null : LayoutContext, provideLayoutContext: (contextValue: LayoutContext) => LayoutContext;
18
+ export declare function useStateHook(): {
19
+ menus: Ref<{
20
+ [x: string]: unknown;
21
+ id?: string | undefined;
22
+ path?: string | undefined;
23
+ name?: string | undefined;
24
+ icon?: string | undefined;
25
+ fullPath?: string | undefined;
26
+ title?: string | undefined;
27
+ children?: /*elided*/ any[] | undefined;
28
+ disabled?: boolean | undefined;
29
+ menuType?: string | undefined;
30
+ meta?: {
31
+ [x: string]: unknown;
32
+ appId?: string | undefined;
33
+ appName?: string | undefined;
34
+ icon?: string | undefined;
35
+ isAffix?: boolean | undefined;
36
+ isHide?: boolean | undefined;
37
+ isKeepAlive?: boolean | undefined;
38
+ isLink?: boolean | undefined;
39
+ permissionMenuId?: string | undefined;
40
+ title?: string | undefined;
41
+ visible?: string | undefined;
42
+ translations?: import('../../utils/repoUtils').Translations | {
43
+ name?: string | undefined;
44
+ description?: string | undefined;
45
+ tooltip?: string | undefined;
46
+ } | undefined;
47
+ parent?: string | undefined;
48
+ parentPath?: string | undefined;
49
+ transition?: string | undefined;
50
+ hideSidebar?: boolean | undefined;
51
+ } | undefined;
52
+ }[], RouteItem[] | {
53
+ [x: string]: unknown;
54
+ id?: string | undefined;
55
+ path?: string | undefined;
56
+ name?: string | undefined;
57
+ icon?: string | undefined;
58
+ fullPath?: string | undefined;
59
+ title?: string | undefined;
60
+ children?: /*elided*/ any[] | undefined;
61
+ disabled?: boolean | undefined;
62
+ menuType?: string | undefined;
63
+ meta?: {
64
+ [x: string]: unknown;
65
+ appId?: string | undefined;
66
+ appName?: string | undefined;
67
+ icon?: string | undefined;
68
+ isAffix?: boolean | undefined;
69
+ isHide?: boolean | undefined;
70
+ isKeepAlive?: boolean | undefined;
71
+ isLink?: boolean | undefined;
72
+ permissionMenuId?: string | undefined;
73
+ title?: string | undefined;
74
+ visible?: string | undefined;
75
+ translations?: import('../../utils/repoUtils').Translations | {
76
+ name?: string | undefined;
77
+ description?: string | undefined;
78
+ tooltip?: string | undefined;
79
+ } | undefined;
80
+ parent?: string | undefined;
81
+ parentPath?: string | undefined;
82
+ transition?: string | undefined;
83
+ hideSidebar?: boolean | undefined;
84
+ } | undefined;
85
+ }[]>;
86
+ currentEndRoute: Ref<RouteItemWithPath | undefined, RouteItemWithPath | undefined>;
87
+ currentTabPath: Ref<string, string>;
88
+ currentAppId: Ref<string, string>;
89
+ defaultParentActive: Ref<string, string>;
90
+ sideOpen: Ref<boolean, boolean>;
91
+ isMobile: Ref<boolean, boolean>;
92
+ getMenus: () => RouteItem[];
93
+ currentEndParentRoute: Ref<RouteItem | undefined, RouteItem | undefined>;
94
+ leftScrollRef: Ref<({
95
+ $: import('vue').ComponentInternalInstance;
96
+ $data: {};
97
+ $props: Partial<{
98
+ readonly tabindex: string | number;
99
+ readonly height: string | number;
100
+ readonly maxHeight: string | number;
101
+ readonly always: boolean;
102
+ readonly minSize: number;
103
+ readonly distance: number;
104
+ readonly wrapStyle: import('vue').StyleValue;
105
+ readonly wrapClass: string | unknown[];
106
+ readonly viewClass: string | unknown[];
107
+ readonly viewStyle: string | unknown[] | Record<string, any>;
108
+ readonly tag: string;
109
+ readonly native: boolean;
110
+ readonly noresize: boolean;
111
+ }> & Omit<{
112
+ readonly distance: number;
113
+ readonly height: string | number;
114
+ readonly maxHeight: string | number;
115
+ readonly native: boolean;
116
+ readonly wrapStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
117
+ readonly wrapClass: string | unknown[];
118
+ readonly viewClass: string | unknown[];
119
+ readonly viewStyle: string | unknown[] | Record<string, any>;
120
+ readonly noresize: boolean;
121
+ readonly tag: string;
122
+ readonly always: boolean;
123
+ readonly minSize: number;
124
+ readonly id?: string | undefined;
125
+ readonly ariaLabel?: string | undefined;
126
+ readonly ariaOrientation?: string | undefined;
127
+ readonly tabindex?: (string | number) | undefined;
128
+ readonly role?: string | undefined;
129
+ onScroll?: ((args_0: {
130
+ scrollTop: number;
131
+ scrollLeft: number;
132
+ }) => any) | undefined | undefined;
133
+ "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined | undefined;
134
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "distance" | "height" | "maxHeight" | "native" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "noresize" | "tag" | "always" | "minSize" | "tabindex">;
135
+ $attrs: {
136
+ [x: string]: unknown;
137
+ };
138
+ $refs: {
139
+ [x: string]: unknown;
140
+ };
141
+ $slots: Readonly<{
142
+ [name: string]: import('vue').Slot<any> | undefined;
143
+ }>;
144
+ $root: import('vue').ComponentPublicInstance | null;
145
+ $parent: import('vue').ComponentPublicInstance | null;
146
+ $host: Element | null;
147
+ $emit: ((event: "scroll", args_0: {
148
+ scrollTop: number;
149
+ scrollLeft: number;
150
+ }) => void) & ((event: "end-reached", direction: import('element-plus').ScrollbarDirection) => void);
151
+ $el: any;
152
+ $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
153
+ readonly ariaLabel: StringConstructor;
154
+ readonly ariaOrientation: {
155
+ readonly type: import('vue').PropType<string>;
156
+ readonly required: false;
157
+ readonly validator: ((val: unknown) => boolean) | undefined;
158
+ __epPropKey: true;
159
+ };
160
+ readonly distance: {
161
+ readonly type: import('vue').PropType<number>;
162
+ readonly required: false;
163
+ readonly validator: ((val: unknown) => boolean) | undefined;
164
+ __epPropKey: true;
165
+ } & {
166
+ readonly default: 0;
167
+ };
168
+ readonly height: {
169
+ readonly type: import('vue').PropType<string | number>;
170
+ readonly required: false;
171
+ readonly validator: ((val: unknown) => boolean) | undefined;
172
+ __epPropKey: true;
173
+ } & {
174
+ readonly default: "";
175
+ };
176
+ readonly maxHeight: {
177
+ readonly type: import('vue').PropType<string | number>;
178
+ readonly required: false;
179
+ readonly validator: ((val: unknown) => boolean) | undefined;
180
+ __epPropKey: true;
181
+ } & {
182
+ readonly default: "";
183
+ };
184
+ readonly native: BooleanConstructor;
185
+ readonly wrapStyle: {
186
+ readonly type: import('vue').PropType<import('vue').StyleValue>;
187
+ readonly required: false;
188
+ readonly validator: ((val: unknown) => boolean) | undefined;
189
+ __epPropKey: true;
190
+ } & {
191
+ readonly default: "";
192
+ };
193
+ readonly wrapClass: {
194
+ readonly type: import('vue').PropType<string | unknown[]>;
195
+ readonly required: false;
196
+ readonly validator: ((val: unknown) => boolean) | undefined;
197
+ __epPropKey: true;
198
+ } & {
199
+ readonly default: "";
200
+ };
201
+ readonly viewClass: {
202
+ readonly type: import('vue').PropType<string | unknown[]>;
203
+ readonly required: false;
204
+ readonly validator: ((val: unknown) => boolean) | undefined;
205
+ __epPropKey: true;
206
+ } & {
207
+ readonly default: "";
208
+ };
209
+ readonly viewStyle: {
210
+ readonly type: import('vue').PropType<string | unknown[] | Record<string, any>>;
211
+ readonly required: false;
212
+ readonly validator: ((val: unknown) => boolean) | undefined;
213
+ __epPropKey: true;
214
+ } & {
215
+ readonly default: "";
216
+ };
217
+ readonly noresize: BooleanConstructor;
218
+ readonly tag: {
219
+ readonly type: import('vue').PropType<string>;
220
+ readonly required: false;
221
+ readonly validator: ((val: unknown) => boolean) | undefined;
222
+ __epPropKey: true;
223
+ } & {
224
+ readonly default: "div";
225
+ };
226
+ readonly always: BooleanConstructor;
227
+ readonly minSize: {
228
+ readonly type: import('vue').PropType<number>;
229
+ readonly required: false;
230
+ readonly validator: ((val: unknown) => boolean) | undefined;
231
+ __epPropKey: true;
232
+ } & {
233
+ readonly default: 20;
234
+ };
235
+ readonly tabindex: {
236
+ readonly type: import('vue').PropType<string | number>;
237
+ readonly required: false;
238
+ readonly validator: ((val: unknown) => boolean) | undefined;
239
+ __epPropKey: true;
240
+ } & {
241
+ readonly default: undefined;
242
+ };
243
+ readonly id: StringConstructor;
244
+ readonly role: StringConstructor;
245
+ }>> & {
246
+ onScroll?: ((args_0: {
247
+ scrollTop: number;
248
+ scrollLeft: number;
249
+ }) => any) | undefined;
250
+ "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
251
+ }, {
252
+ wrapRef: Ref<HTMLDivElement | undefined>;
253
+ update: () => void;
254
+ scrollTo: {
255
+ (xCord: number, yCord?: number): void;
256
+ (options: ScrollToOptions): void;
257
+ };
258
+ setScrollTop: (value: number) => void;
259
+ setScrollLeft: (value: number) => void;
260
+ handleScroll: () => void;
261
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
262
+ scroll: (args_0: {
263
+ scrollTop: number;
264
+ scrollLeft: number;
265
+ }) => void;
266
+ "end-reached": (direction: import('element-plus').ScrollbarDirection) => void;
267
+ }, string, {
268
+ readonly tabindex: string | number;
269
+ readonly height: string | number;
270
+ readonly maxHeight: string | number;
271
+ readonly always: boolean;
272
+ readonly minSize: number;
273
+ readonly distance: number;
274
+ readonly wrapStyle: import('vue').StyleValue;
275
+ readonly wrapClass: string | unknown[];
276
+ readonly viewClass: string | unknown[];
277
+ readonly viewStyle: string | unknown[] | Record<string, any>;
278
+ readonly tag: string;
279
+ readonly native: boolean;
280
+ readonly noresize: boolean;
281
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
282
+ beforeCreate?: (() => void) | (() => void)[];
283
+ created?: (() => void) | (() => void)[];
284
+ beforeMount?: (() => void) | (() => void)[];
285
+ mounted?: (() => void) | (() => void)[];
286
+ beforeUpdate?: (() => void) | (() => void)[];
287
+ updated?: (() => void) | (() => void)[];
288
+ activated?: (() => void) | (() => void)[];
289
+ deactivated?: (() => void) | (() => void)[];
290
+ beforeDestroy?: (() => void) | (() => void)[];
291
+ beforeUnmount?: (() => void) | (() => void)[];
292
+ destroyed?: (() => void) | (() => void)[];
293
+ unmounted?: (() => void) | (() => void)[];
294
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
295
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
296
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
297
+ };
298
+ $forceUpdate: () => void;
299
+ $nextTick: typeof import('vue').nextTick;
300
+ $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;
301
+ } & Readonly<{
302
+ readonly tabindex: string | number;
303
+ readonly height: string | number;
304
+ readonly maxHeight: string | number;
305
+ readonly always: boolean;
306
+ readonly minSize: number;
307
+ readonly distance: number;
308
+ readonly wrapStyle: import('vue').StyleValue;
309
+ readonly wrapClass: string | unknown[];
310
+ readonly viewClass: string | unknown[];
311
+ readonly viewStyle: string | unknown[] | Record<string, any>;
312
+ readonly tag: string;
313
+ readonly native: boolean;
314
+ readonly noresize: boolean;
315
+ }> & Omit<Readonly<import('vue').ExtractPropTypes<{
316
+ readonly ariaLabel: StringConstructor;
317
+ readonly ariaOrientation: {
318
+ readonly type: import('vue').PropType<string>;
319
+ readonly required: false;
320
+ readonly validator: ((val: unknown) => boolean) | undefined;
321
+ __epPropKey: true;
322
+ };
323
+ readonly distance: {
324
+ readonly type: import('vue').PropType<number>;
325
+ readonly required: false;
326
+ readonly validator: ((val: unknown) => boolean) | undefined;
327
+ __epPropKey: true;
328
+ } & {
329
+ readonly default: 0;
330
+ };
331
+ readonly height: {
332
+ readonly type: import('vue').PropType<string | number>;
333
+ readonly required: false;
334
+ readonly validator: ((val: unknown) => boolean) | undefined;
335
+ __epPropKey: true;
336
+ } & {
337
+ readonly default: "";
338
+ };
339
+ readonly maxHeight: {
340
+ readonly type: import('vue').PropType<string | number>;
341
+ readonly required: false;
342
+ readonly validator: ((val: unknown) => boolean) | undefined;
343
+ __epPropKey: true;
344
+ } & {
345
+ readonly default: "";
346
+ };
347
+ readonly native: BooleanConstructor;
348
+ readonly wrapStyle: {
349
+ readonly type: import('vue').PropType<import('vue').StyleValue>;
350
+ readonly required: false;
351
+ readonly validator: ((val: unknown) => boolean) | undefined;
352
+ __epPropKey: true;
353
+ } & {
354
+ readonly default: "";
355
+ };
356
+ readonly wrapClass: {
357
+ readonly type: import('vue').PropType<string | unknown[]>;
358
+ readonly required: false;
359
+ readonly validator: ((val: unknown) => boolean) | undefined;
360
+ __epPropKey: true;
361
+ } & {
362
+ readonly default: "";
363
+ };
364
+ readonly viewClass: {
365
+ readonly type: import('vue').PropType<string | unknown[]>;
366
+ readonly required: false;
367
+ readonly validator: ((val: unknown) => boolean) | undefined;
368
+ __epPropKey: true;
369
+ } & {
370
+ readonly default: "";
371
+ };
372
+ readonly viewStyle: {
373
+ readonly type: import('vue').PropType<string | unknown[] | Record<string, any>>;
374
+ readonly required: false;
375
+ readonly validator: ((val: unknown) => boolean) | undefined;
376
+ __epPropKey: true;
377
+ } & {
378
+ readonly default: "";
379
+ };
380
+ readonly noresize: BooleanConstructor;
381
+ readonly tag: {
382
+ readonly type: import('vue').PropType<string>;
383
+ readonly required: false;
384
+ readonly validator: ((val: unknown) => boolean) | undefined;
385
+ __epPropKey: true;
386
+ } & {
387
+ readonly default: "div";
388
+ };
389
+ readonly always: BooleanConstructor;
390
+ readonly minSize: {
391
+ readonly type: import('vue').PropType<number>;
392
+ readonly required: false;
393
+ readonly validator: ((val: unknown) => boolean) | undefined;
394
+ __epPropKey: true;
395
+ } & {
396
+ readonly default: 20;
397
+ };
398
+ readonly tabindex: {
399
+ readonly type: import('vue').PropType<string | number>;
400
+ readonly required: false;
401
+ readonly validator: ((val: unknown) => boolean) | undefined;
402
+ __epPropKey: true;
403
+ } & {
404
+ readonly default: undefined;
405
+ };
406
+ readonly id: StringConstructor;
407
+ readonly role: StringConstructor;
408
+ }>> & {
409
+ onScroll?: ((args_0: {
410
+ scrollTop: number;
411
+ scrollLeft: number;
412
+ }) => any) | undefined;
413
+ "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
414
+ }, "distance" | "height" | "maxHeight" | "native" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "noresize" | "tag" | "always" | "minSize" | "tabindex" | "wrapRef" | "update" | "scrollTo" | "setScrollTop" | "setScrollLeft" | "handleScroll"> & import('vue').ShallowUnwrapRef<{
415
+ wrapRef: Ref<HTMLDivElement | undefined>;
416
+ update: () => void;
417
+ scrollTo: {
418
+ (xCord: number, yCord?: number): void;
419
+ (options: ScrollToOptions): void;
420
+ };
421
+ setScrollTop: (value: number) => void;
422
+ setScrollLeft: (value: number) => void;
423
+ handleScroll: () => void;
424
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
425
+ $slots: {
426
+ default?(_: {}): any;
427
+ };
428
+ }) | undefined, ({
429
+ $: import('vue').ComponentInternalInstance;
430
+ $data: {};
431
+ $props: Partial<{
432
+ readonly tabindex: string | number;
433
+ readonly height: string | number;
434
+ readonly maxHeight: string | number;
435
+ readonly always: boolean;
436
+ readonly minSize: number;
437
+ readonly distance: number;
438
+ readonly wrapStyle: import('vue').StyleValue;
439
+ readonly wrapClass: string | unknown[];
440
+ readonly viewClass: string | unknown[];
441
+ readonly viewStyle: string | unknown[] | Record<string, any>;
442
+ readonly tag: string;
443
+ readonly native: boolean;
444
+ readonly noresize: boolean;
445
+ }> & Omit<{
446
+ readonly distance: number;
447
+ readonly height: string | number;
448
+ readonly maxHeight: string | number;
449
+ readonly native: boolean;
450
+ readonly wrapStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
451
+ readonly wrapClass: string | unknown[];
452
+ readonly viewClass: string | unknown[];
453
+ readonly viewStyle: string | unknown[] | Record<string, any>;
454
+ readonly noresize: boolean;
455
+ readonly tag: string;
456
+ readonly always: boolean;
457
+ readonly minSize: number;
458
+ readonly id?: string | undefined;
459
+ readonly ariaLabel?: string | undefined;
460
+ readonly ariaOrientation?: string | undefined;
461
+ readonly tabindex?: (string | number) | undefined;
462
+ readonly role?: string | undefined;
463
+ onScroll?: ((args_0: {
464
+ scrollTop: number;
465
+ scrollLeft: number;
466
+ }) => any) | undefined | undefined;
467
+ "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined | undefined;
468
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "distance" | "height" | "maxHeight" | "native" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "noresize" | "tag" | "always" | "minSize" | "tabindex">;
469
+ $attrs: {
470
+ [x: string]: unknown;
471
+ };
472
+ $refs: {
473
+ [x: string]: unknown;
474
+ };
475
+ $slots: Readonly<{
476
+ [name: string]: import('vue').Slot<any> | undefined;
477
+ }>;
478
+ $root: import('vue').ComponentPublicInstance | null;
479
+ $parent: import('vue').ComponentPublicInstance | null;
480
+ $host: Element | null;
481
+ $emit: ((event: "scroll", args_0: {
482
+ scrollTop: number;
483
+ scrollLeft: number;
484
+ }) => void) & ((event: "end-reached", direction: import('element-plus').ScrollbarDirection) => void);
485
+ $el: any;
486
+ $options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
487
+ readonly ariaLabel: StringConstructor;
488
+ readonly ariaOrientation: {
489
+ readonly type: import('vue').PropType<string>;
490
+ readonly required: false;
491
+ readonly validator: ((val: unknown) => boolean) | undefined;
492
+ __epPropKey: true;
493
+ };
494
+ readonly distance: {
495
+ readonly type: import('vue').PropType<number>;
496
+ readonly required: false;
497
+ readonly validator: ((val: unknown) => boolean) | undefined;
498
+ __epPropKey: true;
499
+ } & {
500
+ readonly default: 0;
501
+ };
502
+ readonly height: {
503
+ readonly type: import('vue').PropType<string | number>;
504
+ readonly required: false;
505
+ readonly validator: ((val: unknown) => boolean) | undefined;
506
+ __epPropKey: true;
507
+ } & {
508
+ readonly default: "";
509
+ };
510
+ readonly maxHeight: {
511
+ readonly type: import('vue').PropType<string | number>;
512
+ readonly required: false;
513
+ readonly validator: ((val: unknown) => boolean) | undefined;
514
+ __epPropKey: true;
515
+ } & {
516
+ readonly default: "";
517
+ };
518
+ readonly native: BooleanConstructor;
519
+ readonly wrapStyle: {
520
+ readonly type: import('vue').PropType<import('vue').StyleValue>;
521
+ readonly required: false;
522
+ readonly validator: ((val: unknown) => boolean) | undefined;
523
+ __epPropKey: true;
524
+ } & {
525
+ readonly default: "";
526
+ };
527
+ readonly wrapClass: {
528
+ readonly type: import('vue').PropType<string | unknown[]>;
529
+ readonly required: false;
530
+ readonly validator: ((val: unknown) => boolean) | undefined;
531
+ __epPropKey: true;
532
+ } & {
533
+ readonly default: "";
534
+ };
535
+ readonly viewClass: {
536
+ readonly type: import('vue').PropType<string | unknown[]>;
537
+ readonly required: false;
538
+ readonly validator: ((val: unknown) => boolean) | undefined;
539
+ __epPropKey: true;
540
+ } & {
541
+ readonly default: "";
542
+ };
543
+ readonly viewStyle: {
544
+ readonly type: import('vue').PropType<string | unknown[] | Record<string, any>>;
545
+ readonly required: false;
546
+ readonly validator: ((val: unknown) => boolean) | undefined;
547
+ __epPropKey: true;
548
+ } & {
549
+ readonly default: "";
550
+ };
551
+ readonly noresize: BooleanConstructor;
552
+ readonly tag: {
553
+ readonly type: import('vue').PropType<string>;
554
+ readonly required: false;
555
+ readonly validator: ((val: unknown) => boolean) | undefined;
556
+ __epPropKey: true;
557
+ } & {
558
+ readonly default: "div";
559
+ };
560
+ readonly always: BooleanConstructor;
561
+ readonly minSize: {
562
+ readonly type: import('vue').PropType<number>;
563
+ readonly required: false;
564
+ readonly validator: ((val: unknown) => boolean) | undefined;
565
+ __epPropKey: true;
566
+ } & {
567
+ readonly default: 20;
568
+ };
569
+ readonly tabindex: {
570
+ readonly type: import('vue').PropType<string | number>;
571
+ readonly required: false;
572
+ readonly validator: ((val: unknown) => boolean) | undefined;
573
+ __epPropKey: true;
574
+ } & {
575
+ readonly default: undefined;
576
+ };
577
+ readonly id: StringConstructor;
578
+ readonly role: StringConstructor;
579
+ }>> & {
580
+ onScroll?: ((args_0: {
581
+ scrollTop: number;
582
+ scrollLeft: number;
583
+ }) => any) | undefined;
584
+ "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
585
+ }, {
586
+ wrapRef: Ref<HTMLDivElement | undefined>;
587
+ update: () => void;
588
+ scrollTo: {
589
+ (xCord: number, yCord?: number): void;
590
+ (options: ScrollToOptions): void;
591
+ };
592
+ setScrollTop: (value: number) => void;
593
+ setScrollLeft: (value: number) => void;
594
+ handleScroll: () => void;
595
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
596
+ scroll: (args_0: {
597
+ scrollTop: number;
598
+ scrollLeft: number;
599
+ }) => void;
600
+ "end-reached": (direction: import('element-plus').ScrollbarDirection) => void;
601
+ }, string, {
602
+ readonly tabindex: string | number;
603
+ readonly height: string | number;
604
+ readonly maxHeight: string | number;
605
+ readonly always: boolean;
606
+ readonly minSize: number;
607
+ readonly distance: number;
608
+ readonly wrapStyle: import('vue').StyleValue;
609
+ readonly wrapClass: string | unknown[];
610
+ readonly viewClass: string | unknown[];
611
+ readonly viewStyle: string | unknown[] | Record<string, any>;
612
+ readonly tag: string;
613
+ readonly native: boolean;
614
+ readonly noresize: boolean;
615
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
616
+ beforeCreate?: (() => void) | (() => void)[];
617
+ created?: (() => void) | (() => void)[];
618
+ beforeMount?: (() => void) | (() => void)[];
619
+ mounted?: (() => void) | (() => void)[];
620
+ beforeUpdate?: (() => void) | (() => void)[];
621
+ updated?: (() => void) | (() => void)[];
622
+ activated?: (() => void) | (() => void)[];
623
+ deactivated?: (() => void) | (() => void)[];
624
+ beforeDestroy?: (() => void) | (() => void)[];
625
+ beforeUnmount?: (() => void) | (() => void)[];
626
+ destroyed?: (() => void) | (() => void)[];
627
+ unmounted?: (() => void) | (() => void)[];
628
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
629
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
630
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
631
+ };
632
+ $forceUpdate: () => void;
633
+ $nextTick: typeof import('vue').nextTick;
634
+ $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;
635
+ } & Readonly<{
636
+ readonly tabindex: string | number;
637
+ readonly height: string | number;
638
+ readonly maxHeight: string | number;
639
+ readonly always: boolean;
640
+ readonly minSize: number;
641
+ readonly distance: number;
642
+ readonly wrapStyle: import('vue').StyleValue;
643
+ readonly wrapClass: string | unknown[];
644
+ readonly viewClass: string | unknown[];
645
+ readonly viewStyle: string | unknown[] | Record<string, any>;
646
+ readonly tag: string;
647
+ readonly native: boolean;
648
+ readonly noresize: boolean;
649
+ }> & Omit<Readonly<import('vue').ExtractPropTypes<{
650
+ readonly ariaLabel: StringConstructor;
651
+ readonly ariaOrientation: {
652
+ readonly type: import('vue').PropType<string>;
653
+ readonly required: false;
654
+ readonly validator: ((val: unknown) => boolean) | undefined;
655
+ __epPropKey: true;
656
+ };
657
+ readonly distance: {
658
+ readonly type: import('vue').PropType<number>;
659
+ readonly required: false;
660
+ readonly validator: ((val: unknown) => boolean) | undefined;
661
+ __epPropKey: true;
662
+ } & {
663
+ readonly default: 0;
664
+ };
665
+ readonly height: {
666
+ readonly type: import('vue').PropType<string | number>;
667
+ readonly required: false;
668
+ readonly validator: ((val: unknown) => boolean) | undefined;
669
+ __epPropKey: true;
670
+ } & {
671
+ readonly default: "";
672
+ };
673
+ readonly maxHeight: {
674
+ readonly type: import('vue').PropType<string | number>;
675
+ readonly required: false;
676
+ readonly validator: ((val: unknown) => boolean) | undefined;
677
+ __epPropKey: true;
678
+ } & {
679
+ readonly default: "";
680
+ };
681
+ readonly native: BooleanConstructor;
682
+ readonly wrapStyle: {
683
+ readonly type: import('vue').PropType<import('vue').StyleValue>;
684
+ readonly required: false;
685
+ readonly validator: ((val: unknown) => boolean) | undefined;
686
+ __epPropKey: true;
687
+ } & {
688
+ readonly default: "";
689
+ };
690
+ readonly wrapClass: {
691
+ readonly type: import('vue').PropType<string | unknown[]>;
692
+ readonly required: false;
693
+ readonly validator: ((val: unknown) => boolean) | undefined;
694
+ __epPropKey: true;
695
+ } & {
696
+ readonly default: "";
697
+ };
698
+ readonly viewClass: {
699
+ readonly type: import('vue').PropType<string | unknown[]>;
700
+ readonly required: false;
701
+ readonly validator: ((val: unknown) => boolean) | undefined;
702
+ __epPropKey: true;
703
+ } & {
704
+ readonly default: "";
705
+ };
706
+ readonly viewStyle: {
707
+ readonly type: import('vue').PropType<string | unknown[] | Record<string, any>>;
708
+ readonly required: false;
709
+ readonly validator: ((val: unknown) => boolean) | undefined;
710
+ __epPropKey: true;
711
+ } & {
712
+ readonly default: "";
713
+ };
714
+ readonly noresize: BooleanConstructor;
715
+ readonly tag: {
716
+ readonly type: import('vue').PropType<string>;
717
+ readonly required: false;
718
+ readonly validator: ((val: unknown) => boolean) | undefined;
719
+ __epPropKey: true;
720
+ } & {
721
+ readonly default: "div";
722
+ };
723
+ readonly always: BooleanConstructor;
724
+ readonly minSize: {
725
+ readonly type: import('vue').PropType<number>;
726
+ readonly required: false;
727
+ readonly validator: ((val: unknown) => boolean) | undefined;
728
+ __epPropKey: true;
729
+ } & {
730
+ readonly default: 20;
731
+ };
732
+ readonly tabindex: {
733
+ readonly type: import('vue').PropType<string | number>;
734
+ readonly required: false;
735
+ readonly validator: ((val: unknown) => boolean) | undefined;
736
+ __epPropKey: true;
737
+ } & {
738
+ readonly default: undefined;
739
+ };
740
+ readonly id: StringConstructor;
741
+ readonly role: StringConstructor;
742
+ }>> & {
743
+ onScroll?: ((args_0: {
744
+ scrollTop: number;
745
+ scrollLeft: number;
746
+ }) => any) | undefined;
747
+ "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
748
+ }, "distance" | "height" | "maxHeight" | "native" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "noresize" | "tag" | "always" | "minSize" | "tabindex" | "wrapRef" | "update" | "scrollTo" | "setScrollTop" | "setScrollLeft" | "handleScroll"> & import('vue').ShallowUnwrapRef<{
749
+ wrapRef: Ref<HTMLDivElement | undefined>;
750
+ update: () => void;
751
+ scrollTo: {
752
+ (xCord: number, yCord?: number): void;
753
+ (options: ScrollToOptions): void;
754
+ };
755
+ setScrollTop: (value: number) => void;
756
+ setScrollLeft: (value: number) => void;
757
+ handleScroll: () => void;
758
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
759
+ $slots: {
760
+ default?(_: {}): any;
761
+ };
762
+ }) | undefined>;
763
+ };