g-ui-web 0.11.7 → 0.11.9
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/lib/datatable/index.d.ts +42 -3
- package/lib/datatable/src/index.vue.d.ts +25 -1
- package/lib/ele/popover/index.d.ts +16 -0
- package/lib/ele/popover/src/index.vue.d.ts +14 -0
- package/lib/ele/table/index.d.ts +0 -15
- package/lib/ele/table/src/index.vue.d.ts +12 -9
- package/lib/g-ui-web.js +37423 -36565
- package/lib/g-ui-web.js.gz +0 -0
- package/lib/g-ui-web.umd.cjs +63 -63
- package/lib/line/src/options.d.ts +1 -0
- package/lib/style.css +1 -1
- package/lib/style.css.gz +0 -0
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/tools.d.ts +11 -0
- package/package.json +1 -1
package/lib/datatable/index.d.ts
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
declare const GDatatable: ({
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
|
|
3
|
+
description: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
3
7
|
options: {
|
|
4
8
|
type: ObjectConstructor;
|
|
5
9
|
default: {};
|
|
6
10
|
};
|
|
11
|
+
textSize: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
7
15
|
dbOptions: {
|
|
8
16
|
type: ObjectConstructor;
|
|
9
17
|
default: {};
|
|
@@ -11,12 +19,16 @@ declare const GDatatable: ({
|
|
|
11
19
|
}>> & Readonly<{}>, {
|
|
12
20
|
props: {
|
|
13
21
|
readonly options: Record<string, any>;
|
|
22
|
+
readonly description: string;
|
|
14
23
|
readonly dbOptions: Record<string, any>;
|
|
24
|
+
readonly textSize: string;
|
|
15
25
|
};
|
|
16
|
-
datatableRef: globalThis.Ref<
|
|
26
|
+
datatableRef: globalThis.Ref<import('vxe-table').VxeGridInstance | undefined, import('vxe-table').VxeGridInstance | undefined>;
|
|
17
27
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
18
28
|
options: Record<string, any>;
|
|
29
|
+
description: string;
|
|
19
30
|
dbOptions: Record<string, any>;
|
|
31
|
+
textSize: string;
|
|
20
32
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
21
33
|
P: {};
|
|
22
34
|
B: {};
|
|
@@ -25,10 +37,18 @@ declare const GDatatable: ({
|
|
|
25
37
|
M: {};
|
|
26
38
|
Defaults: {};
|
|
27
39
|
}, Readonly<globalThis.ExtractPropTypes<{
|
|
40
|
+
description: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
28
44
|
options: {
|
|
29
45
|
type: ObjectConstructor;
|
|
30
46
|
default: {};
|
|
31
47
|
};
|
|
48
|
+
textSize: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
32
52
|
dbOptions: {
|
|
33
53
|
type: ObjectConstructor;
|
|
34
54
|
default: {};
|
|
@@ -36,21 +56,33 @@ declare const GDatatable: ({
|
|
|
36
56
|
}>> & Readonly<{}>, {
|
|
37
57
|
props: {
|
|
38
58
|
readonly options: Record<string, any>;
|
|
59
|
+
readonly description: string;
|
|
39
60
|
readonly dbOptions: Record<string, any>;
|
|
61
|
+
readonly textSize: string;
|
|
40
62
|
};
|
|
41
|
-
datatableRef: globalThis.Ref<
|
|
63
|
+
datatableRef: globalThis.Ref<import('vxe-table').VxeGridInstance | undefined, import('vxe-table').VxeGridInstance | undefined>;
|
|
42
64
|
}, {}, {}, {}, {
|
|
43
65
|
options: Record<string, any>;
|
|
66
|
+
description: string;
|
|
44
67
|
dbOptions: Record<string, any>;
|
|
68
|
+
textSize: string;
|
|
45
69
|
}>;
|
|
46
70
|
__isFragment?: never;
|
|
47
71
|
__isTeleport?: never;
|
|
48
72
|
__isSuspense?: never;
|
|
49
73
|
} & import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
|
|
74
|
+
description: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
50
78
|
options: {
|
|
51
79
|
type: ObjectConstructor;
|
|
52
80
|
default: {};
|
|
53
81
|
};
|
|
82
|
+
textSize: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
default: string;
|
|
85
|
+
};
|
|
54
86
|
dbOptions: {
|
|
55
87
|
type: ObjectConstructor;
|
|
56
88
|
default: {};
|
|
@@ -58,15 +90,22 @@ declare const GDatatable: ({
|
|
|
58
90
|
}>> & Readonly<{}>, {
|
|
59
91
|
props: {
|
|
60
92
|
readonly options: Record<string, any>;
|
|
93
|
+
readonly description: string;
|
|
61
94
|
readonly dbOptions: Record<string, any>;
|
|
95
|
+
readonly textSize: string;
|
|
62
96
|
};
|
|
63
|
-
datatableRef: globalThis.Ref<
|
|
97
|
+
datatableRef: globalThis.Ref<import('vxe-table').VxeGridInstance | undefined, import('vxe-table').VxeGridInstance | undefined>;
|
|
64
98
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
65
99
|
options: Record<string, any>;
|
|
100
|
+
description: string;
|
|
66
101
|
dbOptions: Record<string, any>;
|
|
102
|
+
textSize: string;
|
|
67
103
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
68
104
|
$slots: {
|
|
69
105
|
default?(_: {}): any;
|
|
106
|
+
empty?(_: {
|
|
107
|
+
class: string;
|
|
108
|
+
}): any;
|
|
70
109
|
};
|
|
71
110
|
}) & import('vue').Plugin) & Record<string, any>;
|
|
72
111
|
export default GDatatable;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
import { VxeGridInstance } from 'vxe-table';
|
|
1
2
|
declare function __VLS_template(): {
|
|
2
3
|
slots: {
|
|
3
4
|
default?(_: {}): any;
|
|
5
|
+
empty?(_: {
|
|
6
|
+
class: string;
|
|
7
|
+
}): any;
|
|
4
8
|
};
|
|
5
9
|
refs: {
|
|
6
10
|
datatableRef: {
|
|
@@ -12,10 +16,18 @@ declare function __VLS_template(): {
|
|
|
12
16
|
};
|
|
13
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
18
|
declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
|
|
19
|
+
description: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
15
23
|
options: {
|
|
16
24
|
type: ObjectConstructor;
|
|
17
25
|
default: {};
|
|
18
26
|
};
|
|
27
|
+
textSize: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
19
31
|
dbOptions: {
|
|
20
32
|
type: ObjectConstructor;
|
|
21
33
|
default: {};
|
|
@@ -23,21 +35,33 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
23
35
|
}>, {
|
|
24
36
|
props: {
|
|
25
37
|
readonly options: Record<string, any>;
|
|
38
|
+
readonly description: string;
|
|
26
39
|
readonly dbOptions: Record<string, any>;
|
|
40
|
+
readonly textSize: string;
|
|
27
41
|
};
|
|
28
|
-
datatableRef: globalThis.Ref<
|
|
42
|
+
datatableRef: globalThis.Ref<VxeGridInstance | undefined, VxeGridInstance | undefined>;
|
|
29
43
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
44
|
+
description: {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
30
48
|
options: {
|
|
31
49
|
type: ObjectConstructor;
|
|
32
50
|
default: {};
|
|
33
51
|
};
|
|
52
|
+
textSize: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
34
56
|
dbOptions: {
|
|
35
57
|
type: ObjectConstructor;
|
|
36
58
|
default: {};
|
|
37
59
|
};
|
|
38
60
|
}>> & Readonly<{}>, {
|
|
39
61
|
options: Record<string, any>;
|
|
62
|
+
description: string;
|
|
40
63
|
dbOptions: Record<string, any>;
|
|
64
|
+
textSize: string;
|
|
41
65
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
42
66
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
43
67
|
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const GPopover: ({
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
3
|
+
P: {};
|
|
4
|
+
B: {};
|
|
5
|
+
D: {};
|
|
6
|
+
C: {};
|
|
7
|
+
M: {};
|
|
8
|
+
Defaults: {};
|
|
9
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
10
|
+
__isFragment?: never;
|
|
11
|
+
__isTeleport?: never;
|
|
12
|
+
__isSuspense?: never;
|
|
13
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
14
|
+
$slots: Partial<Record<NonNullable<string | number>, (_: any) => any>>;
|
|
15
|
+
}) & import('vue').Plugin) & Record<string, any>;
|
|
16
|
+
export default GPopover;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
slots: Partial<Record<NonNullable<string | number>, (_: any) => any>>;
|
|
3
|
+
refs: {};
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
7
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
package/lib/ele/table/index.d.ts
CHANGED
|
@@ -11,14 +11,9 @@ declare const GTable: ({
|
|
|
11
11
|
type: StringConstructor;
|
|
12
12
|
default: string;
|
|
13
13
|
};
|
|
14
|
-
stripe: {
|
|
15
|
-
type: BooleanConstructor;
|
|
16
|
-
default: boolean;
|
|
17
|
-
};
|
|
18
14
|
}>> & Readonly<{}>, {
|
|
19
15
|
elTableRef: globalThis.Ref<any, any>;
|
|
20
16
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
21
|
-
stripe: boolean;
|
|
22
17
|
emptyText: string;
|
|
23
18
|
textSize: string;
|
|
24
19
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -40,14 +35,9 @@ declare const GTable: ({
|
|
|
40
35
|
type: StringConstructor;
|
|
41
36
|
default: string;
|
|
42
37
|
};
|
|
43
|
-
stripe: {
|
|
44
|
-
type: BooleanConstructor;
|
|
45
|
-
default: boolean;
|
|
46
|
-
};
|
|
47
38
|
}>> & Readonly<{}>, {
|
|
48
39
|
elTableRef: globalThis.Ref<any, any>;
|
|
49
40
|
}, {}, {}, {}, {
|
|
50
|
-
stripe: boolean;
|
|
51
41
|
emptyText: string;
|
|
52
42
|
textSize: string;
|
|
53
43
|
}>;
|
|
@@ -66,14 +56,9 @@ declare const GTable: ({
|
|
|
66
56
|
type: StringConstructor;
|
|
67
57
|
default: string;
|
|
68
58
|
};
|
|
69
|
-
stripe: {
|
|
70
|
-
type: BooleanConstructor;
|
|
71
|
-
default: boolean;
|
|
72
|
-
};
|
|
73
59
|
}>> & Readonly<{}>, {
|
|
74
60
|
elTableRef: globalThis.Ref<any, any>;
|
|
75
61
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
76
|
-
stripe: boolean;
|
|
77
62
|
emptyText: string;
|
|
78
63
|
textSize: string;
|
|
79
64
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
@@ -88,6 +88,10 @@ declare function __VLS_template(): {
|
|
|
88
88
|
type: (NumberConstructor | StringConstructor)[];
|
|
89
89
|
default: undefined;
|
|
90
90
|
};
|
|
91
|
+
allowDragLastColumn: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
91
95
|
}>> & {
|
|
92
96
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
93
97
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
@@ -189,6 +193,7 @@ declare function __VLS_template(): {
|
|
|
189
193
|
scrollTo: (options: ScrollToOptions | number, yCoord?: number) => void;
|
|
190
194
|
setScrollLeft: (left?: number) => void;
|
|
191
195
|
setScrollTop: (top?: number) => void;
|
|
196
|
+
allowDragLastColumn: boolean;
|
|
192
197
|
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("scroll" | "select" | "select-all" | "expand-change" | "current-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend")[], import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, {
|
|
193
198
|
data: any[];
|
|
194
199
|
style: import('vue').CSSProperties;
|
|
@@ -198,6 +203,7 @@ declare function __VLS_template(): {
|
|
|
198
203
|
fit: boolean;
|
|
199
204
|
lazy: boolean;
|
|
200
205
|
scrollbarAlwaysOn: boolean;
|
|
206
|
+
allowDragLastColumn: boolean;
|
|
201
207
|
stripe: boolean;
|
|
202
208
|
treeProps: import('element-plus/es/components/table/src/table/defaults').TreeProps | undefined;
|
|
203
209
|
showHeader: boolean;
|
|
@@ -298,6 +304,10 @@ declare function __VLS_template(): {
|
|
|
298
304
|
type: (NumberConstructor | StringConstructor)[];
|
|
299
305
|
default: undefined;
|
|
300
306
|
};
|
|
307
|
+
allowDragLastColumn: {
|
|
308
|
+
type: BooleanConstructor;
|
|
309
|
+
default: boolean;
|
|
310
|
+
};
|
|
301
311
|
}>> & {
|
|
302
312
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
303
313
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
@@ -399,6 +409,7 @@ declare function __VLS_template(): {
|
|
|
399
409
|
scrollTo: (options: ScrollToOptions | number, yCoord?: number) => void;
|
|
400
410
|
setScrollLeft: (left?: number) => void;
|
|
401
411
|
setScrollTop: (top?: number) => void;
|
|
412
|
+
allowDragLastColumn: boolean;
|
|
402
413
|
}, {}, {}, {}, {
|
|
403
414
|
data: any[];
|
|
404
415
|
style: import('vue').CSSProperties;
|
|
@@ -408,6 +419,7 @@ declare function __VLS_template(): {
|
|
|
408
419
|
fit: boolean;
|
|
409
420
|
lazy: boolean;
|
|
410
421
|
scrollbarAlwaysOn: boolean;
|
|
422
|
+
allowDragLastColumn: boolean;
|
|
411
423
|
stripe: boolean;
|
|
412
424
|
treeProps: import('element-plus/es/components/table/src/table/defaults').TreeProps | undefined;
|
|
413
425
|
showHeader: boolean;
|
|
@@ -435,10 +447,6 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
435
447
|
type: StringConstructor;
|
|
436
448
|
default: string;
|
|
437
449
|
};
|
|
438
|
-
stripe: {
|
|
439
|
-
type: BooleanConstructor;
|
|
440
|
-
default: boolean;
|
|
441
|
-
};
|
|
442
450
|
}>, {
|
|
443
451
|
elTableRef: globalThis.Ref<any, any>;
|
|
444
452
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
|
|
@@ -453,12 +461,7 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
453
461
|
type: StringConstructor;
|
|
454
462
|
default: string;
|
|
455
463
|
};
|
|
456
|
-
stripe: {
|
|
457
|
-
type: BooleanConstructor;
|
|
458
|
-
default: boolean;
|
|
459
|
-
};
|
|
460
464
|
}>> & Readonly<{}>, {
|
|
461
|
-
stripe: boolean;
|
|
462
465
|
emptyText: string;
|
|
463
466
|
textSize: string;
|
|
464
467
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|