geekin-devtoys 0.2.21 → 0.3.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.
- package/lib/GDialog/index.js +1 -1
- package/lib/GDialog/index.mjs +2 -2
- package/lib/GDialog/style.css +1 -1
- package/lib/GInputTreeTag/index.js +1 -1
- package/lib/GInputTreeTag/index.mjs +205 -199
- package/lib/GInputTreeTag/style.css +1 -1
- package/lib/GTable/index.js +1 -1
- package/lib/GTable/index.mjs +13 -11
- package/lib/GTable/style.css +1 -1
- package/lib/components/GInputTreeTag/index.d.ts +2017 -5
- package/lib/components/GScreen/index.d.ts +55 -3
- package/lib/components/GTable/index.d.ts +7 -0
- package/lib/{index-il5JtS6o.js → index-B1MYKy3L.js} +1 -1
- package/lib/{index-CzamRrBC.mjs → index-Dxw2pU4z.mjs} +12 -27
- package/package.json +1 -1
|
@@ -1,3 +1,55 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
/**
|
|
4
|
+
* @description 设计稿宽度
|
|
5
|
+
* @version 0.1.8
|
|
6
|
+
* @default 1920
|
|
7
|
+
*/
|
|
8
|
+
width?: number;
|
|
9
|
+
/**
|
|
10
|
+
* @description 设计稿高度
|
|
11
|
+
* @version 0.1.8
|
|
12
|
+
* @default 1080
|
|
13
|
+
*/
|
|
14
|
+
height?: number;
|
|
15
|
+
/**
|
|
16
|
+
* @description 防抖延迟时间(ms),设为 0 则关闭防抖
|
|
17
|
+
* @version 0.1.8
|
|
18
|
+
* @default 166
|
|
19
|
+
*/
|
|
20
|
+
debounceDelay?: number;
|
|
21
|
+
}
|
|
22
|
+
declare function __VLS_template(): {
|
|
23
|
+
attrs: Partial<{}>;
|
|
24
|
+
slots: {
|
|
25
|
+
default?(_: {}): any;
|
|
26
|
+
};
|
|
27
|
+
refs: {};
|
|
28
|
+
rootEl: any;
|
|
29
|
+
};
|
|
30
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
31
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {
|
|
32
|
+
scale: Ref<{
|
|
33
|
+
x: number;
|
|
34
|
+
y: number;
|
|
35
|
+
}, {
|
|
36
|
+
x: number;
|
|
37
|
+
y: number;
|
|
38
|
+
} | {
|
|
39
|
+
x: number;
|
|
40
|
+
y: number;
|
|
41
|
+
}>;
|
|
42
|
+
safeScaleX: import('vue').ComputedRef<number>;
|
|
43
|
+
yScaleRatio: import('vue').ComputedRef<number>;
|
|
44
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
45
|
+
width: number;
|
|
46
|
+
height: number;
|
|
47
|
+
debounceDelay: number;
|
|
48
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
49
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
50
|
+
export default _default;
|
|
51
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
52
|
+
new (): {
|
|
53
|
+
$slots: S;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
@@ -65,6 +65,12 @@ interface Props {
|
|
|
65
65
|
* @default 'total, sizes, prev, pager, next'
|
|
66
66
|
*/
|
|
67
67
|
layout?: string;
|
|
68
|
+
/**
|
|
69
|
+
* @description 表格尺寸,控制行高与表头高度
|
|
70
|
+
* @version 0.2.23
|
|
71
|
+
* @default 'default'
|
|
72
|
+
*/
|
|
73
|
+
size?: 'large' | 'default' | 'small';
|
|
68
74
|
}
|
|
69
75
|
declare function __VLS_template(): {
|
|
70
76
|
attrs: Partial<{}>;
|
|
@@ -97,6 +103,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
97
103
|
"onSorted:data"?: ((value: any[]) => any) | undefined;
|
|
98
104
|
}>, {
|
|
99
105
|
data: Record<string, any>[];
|
|
106
|
+
size: "large" | "default" | "small";
|
|
100
107
|
pagination: boolean;
|
|
101
108
|
operationLabel: string;
|
|
102
109
|
operaWidth: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue");var o=e.defineComponent({name:"ArrowDown",__name:"arrow-down",setup(
|
|
1
|
+
"use strict";const e=require("vue");var o=e.defineComponent({name:"ArrowDown",__name:"arrow-down",setup(t){return(a,r)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.59 30.59 0 0 0-42.752 0z"})]))}}),n=o,l=e.defineComponent({name:"ChatDotRound",__name:"chat-dot-round",setup(t){return(a,r)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.06 461.06 0 0 1-206.912-48.384l-175.616 58.56z"}),e.createElementVNode("path",{fill:"currentColor",d:"M512 563.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4"})]))}}),c=l,_=e.defineComponent({name:"CircleCheck",__name:"circle-check",setup(t){return(a,r)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),e.createElementVNode("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752z"})]))}}),m=_,p=e.defineComponent({name:"Operation",__name:"operation",setup(t){return(a,r)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M389.44 768a96.064 96.064 0 0 1 181.12 0H896v64H570.56a96.064 96.064 0 0 1-181.12 0H128v-64zm192-288a96.064 96.064 0 0 1 181.12 0H896v64H762.56a96.064 96.064 0 0 1-181.12 0H128v-64zm-320-288a96.064 96.064 0 0 1 181.12 0H896v64H442.56a96.064 96.064 0 0 1-181.12 0H128v-64z"})]))}}),d=p,s=e.defineComponent({name:"Refresh",__name:"refresh",setup(t){return(a,r)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"})]))}}),u=s,h=e.defineComponent({name:"Remove",__name:"remove",setup(t){return(a,r)=>(e.openBlock(),e.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),e.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),v=h;exports.arrow_down_default=n;exports.chat_dot_round_default=c;exports.circle_check_default=m;exports.operation_default=d;exports.refresh_default=u;exports.remove_default=v;
|
|
@@ -13,7 +13,7 @@ var c = /* @__PURE__ */ e({
|
|
|
13
13
|
})
|
|
14
14
|
]));
|
|
15
15
|
}
|
|
16
|
-
}),
|
|
16
|
+
}), h = c, l = /* @__PURE__ */ e({
|
|
17
17
|
name: "ChatDotRound",
|
|
18
18
|
__name: "chat-dot-round",
|
|
19
19
|
setup(o) {
|
|
@@ -31,7 +31,7 @@ var c = /* @__PURE__ */ e({
|
|
|
31
31
|
})
|
|
32
32
|
]));
|
|
33
33
|
}
|
|
34
|
-
}),
|
|
34
|
+
}), u = l, s = /* @__PURE__ */ e({
|
|
35
35
|
name: "CircleCheck",
|
|
36
36
|
__name: "circle-check",
|
|
37
37
|
setup(o) {
|
|
@@ -49,7 +49,7 @@ var c = /* @__PURE__ */ e({
|
|
|
49
49
|
})
|
|
50
50
|
]));
|
|
51
51
|
}
|
|
52
|
-
}),
|
|
52
|
+
}), i = s, m = /* @__PURE__ */ e({
|
|
53
53
|
name: "Operation",
|
|
54
54
|
__name: "operation",
|
|
55
55
|
setup(o) {
|
|
@@ -63,7 +63,7 @@ var c = /* @__PURE__ */ e({
|
|
|
63
63
|
})
|
|
64
64
|
]));
|
|
65
65
|
}
|
|
66
|
-
}),
|
|
66
|
+
}), f = m, p = /* @__PURE__ */ e({
|
|
67
67
|
name: "Refresh",
|
|
68
68
|
__name: "refresh",
|
|
69
69
|
setup(o) {
|
|
@@ -77,7 +77,7 @@ var c = /* @__PURE__ */ e({
|
|
|
77
77
|
})
|
|
78
78
|
]));
|
|
79
79
|
}
|
|
80
|
-
}),
|
|
80
|
+
}), d = p, v = /* @__PURE__ */ e({
|
|
81
81
|
name: "Remove",
|
|
82
82
|
__name: "remove",
|
|
83
83
|
setup(o) {
|
|
@@ -95,27 +95,12 @@ var c = /* @__PURE__ */ e({
|
|
|
95
95
|
})
|
|
96
96
|
]));
|
|
97
97
|
}
|
|
98
|
-
}),
|
|
99
|
-
name: "User",
|
|
100
|
-
__name: "user",
|
|
101
|
-
setup(o) {
|
|
102
|
-
return (_, n) => (t(), r("svg", {
|
|
103
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
104
|
-
viewBox: "0 0 1024 1024"
|
|
105
|
-
}, [
|
|
106
|
-
a("path", {
|
|
107
|
-
fill: "currentColor",
|
|
108
|
-
d: "M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m320 320v-96a96 96 0 0 0-96-96H288a96 96 0 0 0-96 96v96a32 32 0 1 1-64 0v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 1 1-64 0"
|
|
109
|
-
})
|
|
110
|
-
]));
|
|
111
|
-
}
|
|
112
|
-
}), C = w;
|
|
98
|
+
}), x = v;
|
|
113
99
|
export {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
C as u
|
|
100
|
+
d as a,
|
|
101
|
+
i as b,
|
|
102
|
+
u as c,
|
|
103
|
+
h as d,
|
|
104
|
+
f as o,
|
|
105
|
+
x as r
|
|
121
106
|
};
|