g-ui-web 1.1.33 → 1.2.1

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.
@@ -11,26 +11,26 @@ declare function __VLS_template(): {
11
11
  $: import('vue').ComponentInternalInstance;
12
12
  $data: {};
13
13
  $props: Partial<{
14
- readonly height: import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
15
- readonly maxHeight: import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
14
+ readonly height: string | number;
15
+ readonly maxHeight: string | number;
16
16
  readonly always: boolean;
17
- readonly tabindex: import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
17
+ readonly tabindex: string | number;
18
18
  readonly minSize: number;
19
- readonly native: import('element-plus/es/utils').EpPropMergeType<BooleanConstructor, unknown, unknown>;
19
+ readonly native: boolean;
20
20
  readonly wrapStyle: import('vue').StyleValue;
21
- readonly wrapClass: import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, ArrayConstructor], unknown, unknown>;
22
- readonly viewClass: import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, ArrayConstructor], unknown, unknown>;
23
- readonly viewStyle: import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, ArrayConstructor, ObjectConstructor], unknown, unknown>;
21
+ readonly wrapClass: string | unknown[];
22
+ readonly viewClass: string | unknown[];
23
+ readonly viewStyle: string | unknown[] | Record<string, any>;
24
24
  readonly tag: string;
25
25
  readonly noresize: boolean;
26
26
  }> & Omit<{
27
- readonly height: import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
28
- readonly maxHeight: import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
29
- readonly native: import('element-plus/es/utils').EpPropMergeType<BooleanConstructor, unknown, unknown>;
30
- readonly wrapStyle: import('vue').StyleValue;
31
- readonly wrapClass: import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, ArrayConstructor], unknown, unknown>;
32
- readonly viewClass: import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, ArrayConstructor], unknown, unknown>;
33
- readonly viewStyle: import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, ArrayConstructor, ObjectConstructor], unknown, unknown>;
27
+ readonly height: string | number;
28
+ readonly maxHeight: string | number;
29
+ readonly native: boolean;
30
+ readonly wrapStyle: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
31
+ readonly wrapClass: string | unknown[];
32
+ readonly viewClass: string | unknown[];
33
+ readonly viewStyle: string | unknown[] | Record<string, any>;
34
34
  readonly noresize: boolean;
35
35
  readonly tag: string;
36
36
  readonly always: boolean;
@@ -39,11 +39,12 @@ declare function __VLS_template(): {
39
39
  readonly ariaLabel?: string | undefined;
40
40
  readonly role?: string | undefined;
41
41
  readonly ariaOrientation?: string | undefined;
42
- readonly tabindex?: import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
42
+ readonly tabindex?: (string | number) | undefined;
43
43
  onScroll?: ((args_0: {
44
44
  scrollTop: number;
45
45
  scrollLeft: number;
46
46
  }) => any) | undefined | undefined;
47
+ "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined | undefined;
47
48
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "height" | "maxHeight" | "native" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "noresize" | "tag" | "always" | "minSize" | "tabindex">;
48
49
  $attrs: {
49
50
  [x: string]: unknown;
@@ -57,31 +58,101 @@ declare function __VLS_template(): {
57
58
  $root: ComponentPublicInstance | null;
58
59
  $parent: ComponentPublicInstance | null;
59
60
  $host: Element | null;
60
- $emit: (event: "scroll", args_0: {
61
+ $emit: ((event: "scroll", args_0: {
61
62
  scrollTop: number;
62
63
  scrollLeft: number;
63
- }) => void;
64
+ }) => void) & ((event: "end-reached", direction: import('element-plus').ScrollbarDirection) => void);
64
65
  $el: any;
65
66
  $options: import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
66
67
  readonly ariaLabel: StringConstructor;
67
68
  readonly ariaOrientation: {
68
- readonly type: import('vue').PropType<string>;
69
+ readonly type: PropType<string>;
70
+ readonly required: false;
71
+ readonly validator: ((val: unknown) => boolean) | undefined;
72
+ __epPropKey: true;
73
+ };
74
+ readonly height: {
75
+ readonly type: globalThis.PropType<string | number>;
76
+ readonly required: false;
77
+ readonly validator: ((val: unknown) => boolean) | undefined;
78
+ __epPropKey: true;
79
+ } & {
80
+ readonly default: "";
81
+ };
82
+ readonly maxHeight: {
83
+ readonly type: globalThis.PropType<string | number>;
84
+ readonly required: false;
85
+ readonly validator: ((val: unknown) => boolean) | undefined;
86
+ __epPropKey: true;
87
+ } & {
88
+ readonly default: "";
89
+ };
90
+ readonly native: {
91
+ readonly type: globalThis.PropType<boolean>;
92
+ readonly required: false;
93
+ readonly validator: ((val: unknown) => boolean) | undefined;
94
+ __epPropKey: true;
95
+ } & {
96
+ readonly default: false;
97
+ };
98
+ readonly wrapStyle: {
99
+ readonly type: globalThis.PropType<import('vue').StyleValue>;
100
+ readonly required: false;
101
+ readonly validator: ((val: unknown) => boolean) | undefined;
102
+ __epPropKey: true;
103
+ } & {
104
+ readonly default: "";
105
+ };
106
+ readonly wrapClass: {
107
+ readonly type: globalThis.PropType<string | unknown[]>;
69
108
  readonly required: false;
70
109
  readonly validator: ((val: unknown) => boolean) | undefined;
71
110
  __epPropKey: true;
111
+ } & {
112
+ readonly default: "";
113
+ };
114
+ readonly viewClass: {
115
+ readonly type: globalThis.PropType<string | unknown[]>;
116
+ readonly required: false;
117
+ readonly validator: ((val: unknown) => boolean) | undefined;
118
+ __epPropKey: true;
119
+ } & {
120
+ readonly default: "";
121
+ };
122
+ readonly viewStyle: {
123
+ readonly type: globalThis.PropType<string | unknown[] | Record<string, any>>;
124
+ readonly required: false;
125
+ readonly validator: ((val: unknown) => boolean) | undefined;
126
+ __epPropKey: true;
127
+ } & {
128
+ readonly default: "";
72
129
  };
73
- readonly height: import('element-plus/es/utils').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
74
- readonly maxHeight: import('element-plus/es/utils').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
75
- readonly native: import('element-plus/es/utils').EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
76
- readonly wrapStyle: import('element-plus/es/utils').EpPropFinalized<(new (...args: any[]) => string | import('vue').CSSProperties | import('vue').StyleValue[]) | (() => import('vue').StyleValue) | ((new (...args: any[]) => string | import('vue').CSSProperties | import('vue').StyleValue[]) | (() => import('vue').StyleValue))[], unknown, unknown, "", boolean>;
77
- readonly wrapClass: import('element-plus/es/utils').EpPropFinalized<readonly [StringConstructor, ArrayConstructor], unknown, unknown, "", boolean>;
78
- readonly viewClass: import('element-plus/es/utils').EpPropFinalized<readonly [StringConstructor, ArrayConstructor], unknown, unknown, "", boolean>;
79
- readonly viewStyle: import('element-plus/es/utils').EpPropFinalized<readonly [StringConstructor, ArrayConstructor, ObjectConstructor], unknown, unknown, "", boolean>;
80
130
  readonly noresize: BooleanConstructor;
81
- readonly tag: import('element-plus/es/utils').EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
131
+ readonly tag: {
132
+ readonly type: globalThis.PropType<string>;
133
+ readonly required: false;
134
+ readonly validator: ((val: unknown) => boolean) | undefined;
135
+ __epPropKey: true;
136
+ } & {
137
+ readonly default: "div";
138
+ };
82
139
  readonly always: BooleanConstructor;
83
- readonly minSize: import('element-plus/es/utils').EpPropFinalized<NumberConstructor, unknown, unknown, 20, boolean>;
84
- readonly tabindex: import('element-plus/es/utils').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, undefined, boolean>;
140
+ readonly minSize: {
141
+ readonly type: globalThis.PropType<number>;
142
+ readonly required: false;
143
+ readonly validator: ((val: unknown) => boolean) | undefined;
144
+ __epPropKey: true;
145
+ } & {
146
+ readonly default: 20;
147
+ };
148
+ readonly tabindex: {
149
+ readonly type: globalThis.PropType<string | number>;
150
+ readonly required: false;
151
+ readonly validator: ((val: unknown) => boolean) | undefined;
152
+ __epPropKey: true;
153
+ } & {
154
+ readonly default: undefined;
155
+ };
85
156
  readonly id: StringConstructor;
86
157
  readonly role: StringConstructor;
87
158
  }>> & {
@@ -89,8 +160,9 @@ declare function __VLS_template(): {
89
160
  scrollTop: number;
90
161
  scrollLeft: number;
91
162
  }) => any) | undefined;
163
+ "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
92
164
  }, {
93
- wrapRef: import('vue').Ref<HTMLDivElement | undefined>;
165
+ wrapRef: Ref<HTMLDivElement | undefined>;
94
166
  update: () => void;
95
167
  scrollTo: {
96
168
  (xCord: number, yCord?: number): void;
@@ -104,17 +176,18 @@ declare function __VLS_template(): {
104
176
  scrollTop: number;
105
177
  scrollLeft: number;
106
178
  }) => void;
179
+ "end-reached": (direction: import('element-plus').ScrollbarDirection) => void;
107
180
  }, string, {
108
- readonly height: import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
109
- readonly maxHeight: import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
181
+ readonly height: string | number;
182
+ readonly maxHeight: string | number;
110
183
  readonly always: boolean;
111
- readonly tabindex: import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
184
+ readonly tabindex: string | number;
112
185
  readonly minSize: number;
113
- readonly native: import('element-plus/es/utils').EpPropMergeType<BooleanConstructor, unknown, unknown>;
186
+ readonly native: boolean;
114
187
  readonly wrapStyle: import('vue').StyleValue;
115
- readonly wrapClass: import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, ArrayConstructor], unknown, unknown>;
116
- readonly viewClass: import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, ArrayConstructor], unknown, unknown>;
117
- readonly viewStyle: import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, ArrayConstructor, ObjectConstructor], unknown, unknown>;
188
+ readonly wrapClass: string | unknown[];
189
+ readonly viewClass: string | unknown[];
190
+ readonly viewStyle: string | unknown[] | Record<string, any>;
118
191
  readonly tag: string;
119
192
  readonly noresize: boolean;
120
193
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
@@ -138,38 +211,108 @@ declare function __VLS_template(): {
138
211
  $nextTick: typeof nextTick;
139
212
  $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;
140
213
  } & Readonly<{
141
- readonly height: import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
142
- readonly maxHeight: import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
214
+ readonly height: string | number;
215
+ readonly maxHeight: string | number;
143
216
  readonly always: boolean;
144
- readonly tabindex: import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
217
+ readonly tabindex: string | number;
145
218
  readonly minSize: number;
146
- readonly native: import('element-plus/es/utils').EpPropMergeType<BooleanConstructor, unknown, unknown>;
219
+ readonly native: boolean;
147
220
  readonly wrapStyle: import('vue').StyleValue;
148
- readonly wrapClass: import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, ArrayConstructor], unknown, unknown>;
149
- readonly viewClass: import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, ArrayConstructor], unknown, unknown>;
150
- readonly viewStyle: import('element-plus/es/utils').EpPropMergeType<readonly [StringConstructor, ArrayConstructor, ObjectConstructor], unknown, unknown>;
221
+ readonly wrapClass: string | unknown[];
222
+ readonly viewClass: string | unknown[];
223
+ readonly viewStyle: string | unknown[] | Record<string, any>;
151
224
  readonly tag: string;
152
225
  readonly noresize: boolean;
153
226
  }> & Omit<Readonly<globalThis.ExtractPropTypes<{
154
227
  readonly ariaLabel: StringConstructor;
155
228
  readonly ariaOrientation: {
156
- readonly type: import('vue').PropType<string>;
229
+ readonly type: PropType<string>;
157
230
  readonly required: false;
158
231
  readonly validator: ((val: unknown) => boolean) | undefined;
159
232
  __epPropKey: true;
160
233
  };
161
- readonly height: import('element-plus/es/utils').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
162
- readonly maxHeight: import('element-plus/es/utils').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
163
- readonly native: import('element-plus/es/utils').EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
164
- readonly wrapStyle: import('element-plus/es/utils').EpPropFinalized<(new (...args: any[]) => string | import('vue').CSSProperties | import('vue').StyleValue[]) | (() => import('vue').StyleValue) | ((new (...args: any[]) => string | import('vue').CSSProperties | import('vue').StyleValue[]) | (() => import('vue').StyleValue))[], unknown, unknown, "", boolean>;
165
- readonly wrapClass: import('element-plus/es/utils').EpPropFinalized<readonly [StringConstructor, ArrayConstructor], unknown, unknown, "", boolean>;
166
- readonly viewClass: import('element-plus/es/utils').EpPropFinalized<readonly [StringConstructor, ArrayConstructor], unknown, unknown, "", boolean>;
167
- readonly viewStyle: import('element-plus/es/utils').EpPropFinalized<readonly [StringConstructor, ArrayConstructor, ObjectConstructor], unknown, unknown, "", boolean>;
234
+ readonly height: {
235
+ readonly type: globalThis.PropType<string | number>;
236
+ readonly required: false;
237
+ readonly validator: ((val: unknown) => boolean) | undefined;
238
+ __epPropKey: true;
239
+ } & {
240
+ readonly default: "";
241
+ };
242
+ readonly maxHeight: {
243
+ readonly type: globalThis.PropType<string | number>;
244
+ readonly required: false;
245
+ readonly validator: ((val: unknown) => boolean) | undefined;
246
+ __epPropKey: true;
247
+ } & {
248
+ readonly default: "";
249
+ };
250
+ readonly native: {
251
+ readonly type: globalThis.PropType<boolean>;
252
+ readonly required: false;
253
+ readonly validator: ((val: unknown) => boolean) | undefined;
254
+ __epPropKey: true;
255
+ } & {
256
+ readonly default: false;
257
+ };
258
+ readonly wrapStyle: {
259
+ readonly type: globalThis.PropType<import('vue').StyleValue>;
260
+ readonly required: false;
261
+ readonly validator: ((val: unknown) => boolean) | undefined;
262
+ __epPropKey: true;
263
+ } & {
264
+ readonly default: "";
265
+ };
266
+ readonly wrapClass: {
267
+ readonly type: globalThis.PropType<string | unknown[]>;
268
+ readonly required: false;
269
+ readonly validator: ((val: unknown) => boolean) | undefined;
270
+ __epPropKey: true;
271
+ } & {
272
+ readonly default: "";
273
+ };
274
+ readonly viewClass: {
275
+ readonly type: globalThis.PropType<string | unknown[]>;
276
+ readonly required: false;
277
+ readonly validator: ((val: unknown) => boolean) | undefined;
278
+ __epPropKey: true;
279
+ } & {
280
+ readonly default: "";
281
+ };
282
+ readonly viewStyle: {
283
+ readonly type: globalThis.PropType<string | unknown[] | Record<string, any>>;
284
+ readonly required: false;
285
+ readonly validator: ((val: unknown) => boolean) | undefined;
286
+ __epPropKey: true;
287
+ } & {
288
+ readonly default: "";
289
+ };
168
290
  readonly noresize: BooleanConstructor;
169
- readonly tag: import('element-plus/es/utils').EpPropFinalized<StringConstructor, unknown, unknown, "div", boolean>;
291
+ readonly tag: {
292
+ readonly type: globalThis.PropType<string>;
293
+ readonly required: false;
294
+ readonly validator: ((val: unknown) => boolean) | undefined;
295
+ __epPropKey: true;
296
+ } & {
297
+ readonly default: "div";
298
+ };
170
299
  readonly always: BooleanConstructor;
171
- readonly minSize: import('element-plus/es/utils').EpPropFinalized<NumberConstructor, unknown, unknown, 20, boolean>;
172
- readonly tabindex: import('element-plus/es/utils').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, undefined, boolean>;
300
+ readonly minSize: {
301
+ readonly type: globalThis.PropType<number>;
302
+ readonly required: false;
303
+ readonly validator: ((val: unknown) => boolean) | undefined;
304
+ __epPropKey: true;
305
+ } & {
306
+ readonly default: 20;
307
+ };
308
+ readonly tabindex: {
309
+ readonly type: globalThis.PropType<string | number>;
310
+ readonly required: false;
311
+ readonly validator: ((val: unknown) => boolean) | undefined;
312
+ __epPropKey: true;
313
+ } & {
314
+ readonly default: undefined;
315
+ };
173
316
  readonly id: StringConstructor;
174
317
  readonly role: StringConstructor;
175
318
  }>> & {
@@ -177,8 +320,9 @@ declare function __VLS_template(): {
177
320
  scrollTop: number;
178
321
  scrollLeft: number;
179
322
  }) => any) | undefined;
323
+ "onEnd-reached"?: ((direction: import('element-plus').ScrollbarDirection) => any) | undefined;
180
324
  }, "height" | "maxHeight" | "scrollTo" | "setScrollLeft" | "setScrollTop" | "native" | "wrapStyle" | "wrapClass" | "viewClass" | "viewStyle" | "noresize" | "tag" | "always" | "minSize" | "tabindex" | "wrapRef" | "update" | "handleScroll"> & import('vue').ShallowUnwrapRef<{
181
- wrapRef: import('vue').Ref<HTMLDivElement | undefined>;
325
+ wrapRef: Ref<HTMLDivElement | undefined>;
182
326
  update: () => void;
183
327
  scrollTo: {
184
328
  (xCord: number, yCord?: number): void;
@@ -187,7 +331,7 @@ declare function __VLS_template(): {
187
331
  setScrollTop: (value: number) => void;
188
332
  setScrollLeft: (value: number) => void;
189
333
  handleScroll: () => void;
190
- }> & {} & import('@vue/runtime-core').ComponentCustomProperties & {} & {
334
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
191
335
  $slots: {
192
336
  default?(_: {}): any;
193
337
  };