mamba-layout 0.1.0 → 0.3.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.
- package/dist/components/UserAvatar/src/UserAvatar.vue2.js +4 -4
- package/dist/layout/BaseLayout.css +1 -1
- package/dist/layout/BaseLayout.vue.js +2 -2
- package/dist/layout/BaseLayout.vue2.js +81 -45
- package/dist/layout/components/AppSelect.vue2.js +10 -10
- package/dist/layout/components/AsideBar.vue2.js +9 -9
- package/dist/layout/components/AsideSubMenuItem.vue.js +5 -5
- package/dist/layout/components/AsideSubMenus.vue.js +4 -4
- package/dist/layout/components/AsideTabMenus.vue.js +4 -4
- package/dist/layout/components/AsideUser.vue.js +1 -1
- package/dist/layout/components/HeaderBar.vue2.js +1 -1
- package/dist/layout/components/HeaderMenuToggle.vue.js +1 -1
- package/dist/layout/components/LanguageSelect.vue2.js +32 -33
- package/dist/layout/components/LayoutBreadcrumb.css +1 -1
- package/dist/layout/components/LayoutBreadcrumb.vue.d.ts +1 -1
- package/dist/layout/components/LayoutBreadcrumb.vue2.js +1 -1
- package/dist/layout/components/MenuDrawer.vue.js +1 -1
- package/dist/layout/components/MenuItemIcon.vue2.js +4 -4
- package/dist/layout/components/NavIconBtn.vue2.js +8 -8
- package/dist/layout/components/SHeaderRight.css +1 -1
- package/dist/layout/components/SHeaderRight.vue.js +2 -2
- package/dist/layout/components/SHeaderRight.vue2.js +37 -49
- package/dist/layout/components/ThemeToggle.vue2.js +3 -3
- package/dist/layout/components/TimezoneSelect.vue2.js +29 -29
- package/dist/layout/components/UserInfo.vue.js +2 -2
- package/dist/layout/components/UserInfo.vue2.js +1 -1
- package/dist/layout/components/UserInfo2.css +1 -1
- package/dist/layout/components/mobile/AppSelectMobile.vue.js +19 -19
- package/dist/layout/components/mobile/AsideBarMobile.css +1 -1
- package/dist/layout/components/mobile/AsideBarMobile.vue.js +3 -3
- package/dist/layout/components/mobile/AsideBarMobile.vue2.js +25 -23
- package/dist/layout/components/mobile/AsideUserMobile.vue2.js +3 -3
- package/dist/layout/components/mobile/AsideUserMobilePopover.vue2.js +2 -2
- package/dist/layout/components/mobile/HeaderRightMobile.css +1 -1
- package/dist/layout/components/mobile/HeaderRightMobile.vue.js +1 -1
- package/dist/layout/components/mobile/HeaderRightMobile.vue2.js +21 -25
- package/dist/layout/components/mobile/MobileMenuToggle.css +1 -1
- package/dist/layout/components/mobile/MobileMenuToggle.vue.js +1 -1
- package/dist/layout/components/mobile/MobileMenuToggle.vue2.js +15 -13
- package/dist/layout/hooks/useSetting.d.ts +1 -2
- package/dist/layout/hooks/useState.d.ts +98 -514
- package/dist/layout/hooks/useState.js +56 -55
- package/dist/layout.css +1 -1
- package/dist/layout.es.js +43244 -45315
- package/dist/layout.global.js +84 -54
- package/dist/utils/repoUtils.js +3 -3
- package/package.json +1 -1
|
@@ -94,47 +94,31 @@ export declare function useStateHook(): {
|
|
|
94
94
|
leftScrollRef: Ref<({
|
|
95
95
|
$: import('vue').ComponentInternalInstance;
|
|
96
96
|
$data: {};
|
|
97
|
-
$props:
|
|
98
|
-
readonly
|
|
99
|
-
readonly height
|
|
100
|
-
readonly maxHeight
|
|
101
|
-
readonly
|
|
102
|
-
readonly
|
|
103
|
-
readonly
|
|
104
|
-
readonly
|
|
105
|
-
readonly
|
|
106
|
-
readonly
|
|
107
|
-
readonly
|
|
108
|
-
readonly
|
|
109
|
-
readonly
|
|
110
|
-
readonly
|
|
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;
|
|
97
|
+
$props: {
|
|
98
|
+
readonly distance?: number | undefined;
|
|
99
|
+
readonly height?: number | string | undefined;
|
|
100
|
+
readonly maxHeight?: number | string | undefined;
|
|
101
|
+
readonly native?: boolean | undefined;
|
|
102
|
+
readonly wrapStyle?: import('vue').StyleValue;
|
|
103
|
+
readonly wrapClass?: string | string[] | undefined;
|
|
104
|
+
readonly viewClass?: string | string[] | undefined;
|
|
105
|
+
readonly viewStyle?: import('vue').StyleValue;
|
|
106
|
+
readonly noresize?: boolean | undefined;
|
|
107
|
+
readonly tag?: (keyof HTMLElementTagNameMap | (string & {})) | undefined;
|
|
108
|
+
readonly always?: boolean | undefined;
|
|
109
|
+
readonly minSize?: number | undefined;
|
|
110
|
+
readonly tabindex?: number | string | undefined;
|
|
124
111
|
readonly id?: string | undefined;
|
|
125
|
-
readonly ariaLabel?: string | undefined;
|
|
126
|
-
readonly ariaOrientation?: string | undefined;
|
|
127
|
-
readonly tabindex?: (string | number) | undefined;
|
|
128
112
|
readonly role?: string | undefined;
|
|
129
|
-
|
|
113
|
+
readonly ariaLabel?: string | undefined;
|
|
114
|
+
readonly ariaOrientation?: "horizontal" | "vertical" | "undefined" | undefined;
|
|
115
|
+
readonly onScroll?: ((args_0: {
|
|
130
116
|
scrollTop: number;
|
|
131
117
|
scrollLeft: number;
|
|
132
118
|
}) => any) | undefined | undefined;
|
|
133
|
-
"onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined | undefined;
|
|
134
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps
|
|
135
|
-
$attrs:
|
|
136
|
-
[x: string]: unknown;
|
|
137
|
-
};
|
|
119
|
+
readonly "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined | undefined;
|
|
120
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
121
|
+
$attrs: import('vue').Attrs;
|
|
138
122
|
$refs: {
|
|
139
123
|
[x: string]: unknown;
|
|
140
124
|
};
|
|
@@ -149,107 +133,14 @@ export declare function useStateHook(): {
|
|
|
149
133
|
scrollLeft: number;
|
|
150
134
|
}) => void) & ((event: "end-reached", direction: import('element-plus').ScrollbarDirection) => void);
|
|
151
135
|
$el: any;
|
|
152
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('
|
|
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
|
-
}>> & {
|
|
136
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').ScrollbarProps> & Readonly<{
|
|
246
137
|
onScroll?: ((args_0: {
|
|
247
138
|
scrollTop: number;
|
|
248
139
|
scrollLeft: number;
|
|
249
140
|
}) => any) | undefined;
|
|
250
141
|
"onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
|
|
251
|
-
}
|
|
252
|
-
wrapRef: Ref<HTMLDivElement | undefined>;
|
|
142
|
+
}>, {
|
|
143
|
+
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
253
144
|
update: () => void;
|
|
254
145
|
scrollTo: {
|
|
255
146
|
(xCord: number, yCord?: number): void;
|
|
@@ -258,26 +149,23 @@ export declare function useStateHook(): {
|
|
|
258
149
|
setScrollTop: (value: number) => void;
|
|
259
150
|
setScrollLeft: (value: number) => void;
|
|
260
151
|
handleScroll: () => void;
|
|
261
|
-
},
|
|
152
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
262
153
|
scroll: (args_0: {
|
|
263
154
|
scrollTop: number;
|
|
264
155
|
scrollLeft: number;
|
|
265
156
|
}) => void;
|
|
266
157
|
"end-reached": (direction: import('element-plus').ScrollbarDirection) => void;
|
|
267
158
|
}, string, {
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
readonly tag: string;
|
|
279
|
-
readonly native: boolean;
|
|
280
|
-
readonly noresize: boolean;
|
|
159
|
+
tabindex: number | string;
|
|
160
|
+
height: number | string;
|
|
161
|
+
maxHeight: number | string;
|
|
162
|
+
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
163
|
+
distance: number;
|
|
164
|
+
wrapStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
165
|
+
wrapClass: string | string[];
|
|
166
|
+
viewClass: string | string[];
|
|
167
|
+
viewStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
168
|
+
minSize: number;
|
|
281
169
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
282
170
|
beforeCreate?: (() => void) | (() => void)[];
|
|
283
171
|
created?: (() => void) | (() => void)[];
|
|
@@ -299,120 +187,24 @@ export declare function useStateHook(): {
|
|
|
299
187
|
$nextTick: typeof import('vue').nextTick;
|
|
300
188
|
$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
189
|
} & Readonly<{
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
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
|
-
}>> & {
|
|
190
|
+
tabindex: number | string;
|
|
191
|
+
height: number | string;
|
|
192
|
+
maxHeight: number | string;
|
|
193
|
+
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
194
|
+
distance: number;
|
|
195
|
+
wrapStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
196
|
+
wrapClass: string | string[];
|
|
197
|
+
viewClass: string | string[];
|
|
198
|
+
viewStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
199
|
+
minSize: number;
|
|
200
|
+
}> & Omit<Readonly<import('element-plus').ScrollbarProps> & Readonly<{
|
|
409
201
|
onScroll?: ((args_0: {
|
|
410
202
|
scrollTop: number;
|
|
411
203
|
scrollLeft: number;
|
|
412
204
|
}) => any) | undefined;
|
|
413
205
|
"onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
|
|
414
|
-
}
|
|
415
|
-
wrapRef:
|
|
206
|
+
}>, "distance" | "height" | "maxHeight" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "tag" | "minSize" | "tabindex" | "wrapRef" | "update" | "scrollTo" | "setScrollTop" | "setScrollLeft" | "handleScroll"> & {
|
|
207
|
+
wrapRef: HTMLDivElement | undefined;
|
|
416
208
|
update: () => void;
|
|
417
209
|
scrollTo: {
|
|
418
210
|
(xCord: number, yCord?: number): void;
|
|
@@ -421,54 +213,38 @@ export declare function useStateHook(): {
|
|
|
421
213
|
setScrollTop: (value: number) => void;
|
|
422
214
|
setScrollLeft: (value: number) => void;
|
|
423
215
|
handleScroll: () => void;
|
|
424
|
-
}
|
|
216
|
+
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
425
217
|
$slots: {
|
|
426
|
-
default
|
|
218
|
+
default?: (props: {}) => any;
|
|
427
219
|
};
|
|
428
220
|
}) | undefined, ({
|
|
429
221
|
$: import('vue').ComponentInternalInstance;
|
|
430
222
|
$data: {};
|
|
431
|
-
$props:
|
|
432
|
-
readonly
|
|
433
|
-
readonly height
|
|
434
|
-
readonly maxHeight
|
|
435
|
-
readonly
|
|
436
|
-
readonly
|
|
437
|
-
readonly
|
|
438
|
-
readonly
|
|
439
|
-
readonly
|
|
440
|
-
readonly
|
|
441
|
-
readonly
|
|
442
|
-
readonly
|
|
443
|
-
readonly
|
|
444
|
-
readonly
|
|
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;
|
|
223
|
+
$props: {
|
|
224
|
+
readonly distance?: number | undefined;
|
|
225
|
+
readonly height?: number | string | undefined;
|
|
226
|
+
readonly maxHeight?: number | string | undefined;
|
|
227
|
+
readonly native?: boolean | undefined;
|
|
228
|
+
readonly wrapStyle?: import('vue').StyleValue;
|
|
229
|
+
readonly wrapClass?: string | string[] | undefined;
|
|
230
|
+
readonly viewClass?: string | string[] | undefined;
|
|
231
|
+
readonly viewStyle?: import('vue').StyleValue;
|
|
232
|
+
readonly noresize?: boolean | undefined;
|
|
233
|
+
readonly tag?: (keyof HTMLElementTagNameMap | (string & {})) | undefined;
|
|
234
|
+
readonly always?: boolean | undefined;
|
|
235
|
+
readonly minSize?: number | undefined;
|
|
236
|
+
readonly tabindex?: number | string | undefined;
|
|
458
237
|
readonly id?: string | undefined;
|
|
459
|
-
readonly ariaLabel?: string | undefined;
|
|
460
|
-
readonly ariaOrientation?: string | undefined;
|
|
461
|
-
readonly tabindex?: (string | number) | undefined;
|
|
462
238
|
readonly role?: string | undefined;
|
|
463
|
-
|
|
239
|
+
readonly ariaLabel?: string | undefined;
|
|
240
|
+
readonly ariaOrientation?: "horizontal" | "vertical" | "undefined" | undefined;
|
|
241
|
+
readonly onScroll?: ((args_0: {
|
|
464
242
|
scrollTop: number;
|
|
465
243
|
scrollLeft: number;
|
|
466
244
|
}) => any) | undefined | undefined;
|
|
467
|
-
"onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined | undefined;
|
|
468
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps
|
|
469
|
-
$attrs:
|
|
470
|
-
[x: string]: unknown;
|
|
471
|
-
};
|
|
245
|
+
readonly "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined | undefined;
|
|
246
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
247
|
+
$attrs: import('vue').Attrs;
|
|
472
248
|
$refs: {
|
|
473
249
|
[x: string]: unknown;
|
|
474
250
|
};
|
|
@@ -483,107 +259,14 @@ export declare function useStateHook(): {
|
|
|
483
259
|
scrollLeft: number;
|
|
484
260
|
}) => void) & ((event: "end-reached", direction: import('element-plus').ScrollbarDirection) => void);
|
|
485
261
|
$el: any;
|
|
486
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('
|
|
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
|
-
}>> & {
|
|
262
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').ScrollbarProps> & Readonly<{
|
|
580
263
|
onScroll?: ((args_0: {
|
|
581
264
|
scrollTop: number;
|
|
582
265
|
scrollLeft: number;
|
|
583
266
|
}) => any) | undefined;
|
|
584
267
|
"onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
|
|
585
|
-
}
|
|
586
|
-
wrapRef: Ref<HTMLDivElement | undefined>;
|
|
268
|
+
}>, {
|
|
269
|
+
wrapRef: Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
587
270
|
update: () => void;
|
|
588
271
|
scrollTo: {
|
|
589
272
|
(xCord: number, yCord?: number): void;
|
|
@@ -592,26 +275,23 @@ export declare function useStateHook(): {
|
|
|
592
275
|
setScrollTop: (value: number) => void;
|
|
593
276
|
setScrollLeft: (value: number) => void;
|
|
594
277
|
handleScroll: () => void;
|
|
595
|
-
},
|
|
278
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
596
279
|
scroll: (args_0: {
|
|
597
280
|
scrollTop: number;
|
|
598
281
|
scrollLeft: number;
|
|
599
282
|
}) => void;
|
|
600
283
|
"end-reached": (direction: import('element-plus').ScrollbarDirection) => void;
|
|
601
284
|
}, string, {
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
readonly tag: string;
|
|
613
|
-
readonly native: boolean;
|
|
614
|
-
readonly noresize: boolean;
|
|
285
|
+
tabindex: number | string;
|
|
286
|
+
height: number | string;
|
|
287
|
+
maxHeight: number | string;
|
|
288
|
+
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
289
|
+
distance: number;
|
|
290
|
+
wrapStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
291
|
+
wrapClass: string | string[];
|
|
292
|
+
viewClass: string | string[];
|
|
293
|
+
viewStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
294
|
+
minSize: number;
|
|
615
295
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
616
296
|
beforeCreate?: (() => void) | (() => void)[];
|
|
617
297
|
created?: (() => void) | (() => void)[];
|
|
@@ -633,120 +313,24 @@ export declare function useStateHook(): {
|
|
|
633
313
|
$nextTick: typeof import('vue').nextTick;
|
|
634
314
|
$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
315
|
} & Readonly<{
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
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
|
-
}>> & {
|
|
316
|
+
tabindex: number | string;
|
|
317
|
+
height: number | string;
|
|
318
|
+
maxHeight: number | string;
|
|
319
|
+
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
320
|
+
distance: number;
|
|
321
|
+
wrapStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
322
|
+
wrapClass: string | string[];
|
|
323
|
+
viewClass: string | string[];
|
|
324
|
+
viewStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
|
|
325
|
+
minSize: number;
|
|
326
|
+
}> & Omit<Readonly<import('element-plus').ScrollbarProps> & Readonly<{
|
|
743
327
|
onScroll?: ((args_0: {
|
|
744
328
|
scrollTop: number;
|
|
745
329
|
scrollLeft: number;
|
|
746
330
|
}) => any) | undefined;
|
|
747
331
|
"onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
|
|
748
|
-
}
|
|
749
|
-
wrapRef:
|
|
332
|
+
}>, "distance" | "height" | "maxHeight" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "tag" | "minSize" | "tabindex" | "wrapRef" | "update" | "scrollTo" | "setScrollTop" | "setScrollLeft" | "handleScroll"> & {
|
|
333
|
+
wrapRef: HTMLDivElement | undefined;
|
|
750
334
|
update: () => void;
|
|
751
335
|
scrollTo: {
|
|
752
336
|
(xCord: number, yCord?: number): void;
|
|
@@ -755,9 +339,9 @@ export declare function useStateHook(): {
|
|
|
755
339
|
setScrollTop: (value: number) => void;
|
|
756
340
|
setScrollLeft: (value: number) => void;
|
|
757
341
|
handleScroll: () => void;
|
|
758
|
-
}
|
|
342
|
+
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
759
343
|
$slots: {
|
|
760
|
-
default
|
|
344
|
+
default?: (props: {}) => any;
|
|
761
345
|
};
|
|
762
346
|
}) | undefined>;
|
|
763
347
|
};
|