hzzt-kfb-slide 0.0.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/dist/components/annotateCVLkqudX.js +1 -0
- package/dist/components/annotateCX9GkmOg.js +1 -0
- package/dist/components/annotateCYZEG4by.js +122 -0
- package/dist/components/annotateDDGAeaL1.js +15 -0
- package/dist/components/arrow6aTSOsV2.js +1 -0
- package/dist/components/arrowDOQZx-5i.js +25 -0
- package/dist/components/checkCazbS-c6.js +1 -0
- package/dist/components/checkDT-yvng0.js +22 -0
- package/dist/components/configB5XxbCMh.js +20 -0
- package/dist/components/configB7FH_Li-.js +1 -0
- package/dist/components/configCPI2rG9d.js +40 -0
- package/dist/components/configOyvUhGVP.js +1 -0
- package/dist/components/custom-mCr5M_c.js +1 -0
- package/dist/components/customc4LeZve5.js +40 -0
- package/dist/components/dot1kt2iBMi.js +28 -0
- package/dist/components/dotB1Nn2uO0.js +1 -0
- package/dist/components/dotBzY_NqlA.js +1 -0
- package/dist/components/dotDKLgWFRD.js +112 -0
- package/dist/components/downloadBWFjb3Fj.js +1 -0
- package/dist/components/downloadCshCNWAW.js +24 -0
- package/dist/components/downloadDmK-mUW4.js +79 -0
- package/dist/components/download_UT5bsTk.js +1 -0
- package/dist/components/flipCbiBH_o3.js +1 -0
- package/dist/components/flipDA2I3h_e.js +1 -0
- package/dist/components/flipDUZT4wIY.js +40 -0
- package/dist/components/flipDUjW55Vh.js +19 -0
- package/dist/components/fullscreenD6c_uo6X.js +1 -0
- package/dist/components/fullscreenDUzPX17n.js +1 -0
- package/dist/components/fullscreenDyMv4lzQ.js +20 -0
- package/dist/components/fullscreenQqpG_OS1.js +52 -0
- package/dist/components/indexDvexHnyj.js +10651 -0
- package/dist/components/indexNnjbVZ_m.js +30 -0
- package/dist/components/infoBJj_CFzD.js +22 -0
- package/dist/components/infoBNm69fP0.js +41 -0
- package/dist/components/infoB_-hN7Fr.js +1 -0
- package/dist/components/infoDvOItrdO.js +1 -0
- package/dist/components/lineBIoJpzbf.js +12 -0
- package/dist/components/lineCzuS7Giu.js +1 -0
- package/dist/components/microscopeBsAciWA9.js +1 -0
- package/dist/components/microscopeCJwTonZV.js +20 -0
- package/dist/components/microscopeDQl6TocT.js +1 -0
- package/dist/components/microscopeQHJ_dU_L.js +124 -0
- package/dist/components/moveBzYl-c4_.js +1 -0
- package/dist/components/moveCe8MSGn0.js +74 -0
- package/dist/components/moveDxSu5JyS.js +1 -0
- package/dist/components/moveUEjGdGB8.js +24 -0
- package/dist/components/nextCGxHdIok.js +1 -0
- package/dist/components/nextDeuoTRY7.js +40 -0
- package/dist/components/nextUojG6t-0.js +1 -0
- package/dist/components/nextXkdsQP9z.js +31 -0
- package/dist/components/prevBjMmvSpY.js +31 -0
- package/dist/components/prevBrrsxCoK.js +40 -0
- package/dist/components/prevDCKFCMZw.js +1 -0
- package/dist/components/prevhOkmcBJ2.js +1 -0
- package/dist/components/processCUjiU4DT.js +1 -0
- package/dist/components/processCaqwpK4F.js +252 -0
- package/dist/components/processCigaxNDK.js +1 -0
- package/dist/components/processRSLucFP3.js +24 -0
- package/dist/components/rotateBgPHUO92.js +20 -0
- package/dist/components/rotateCIEP8gXK.js +1 -0
- package/dist/components/rotateCt5rJEBm.js +1 -0
- package/dist/components/rotateWiDuyX22.js +130 -0
- package/dist/components/setting8L58q_d4.js +134 -0
- package/dist/components/settingBwRgwtCV.js +22 -0
- package/dist/components/settingCgwUdss3.js +1 -0
- package/dist/components/settingDEgu1o7Z.js +1 -0
- package/dist/components/tailor0e5PmiKv.js +24 -0
- package/dist/components/tailorA3InL_3L.js +1 -0
- package/dist/components/tailorBB_gVLzK.js +40 -0
- package/dist/components/tailorCeILe_eG.js +1 -0
- package/dist/components/useCommonDK4IjSxd.js +17 -0
- package/dist/components/useCommon_CFgwTZy.js +1 -0
- package/dist/components/zoomCOaNFEUh.js +63 -0
- package/dist/components/zoomD7pWi-kc.js +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.css +1 -0
- package/dist/index.es.js +7 -0
- package/package.json +39 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),L=require("./indexNnjbVZ_m.js"),o={},r={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};function n(c,t){return e.openBlock(),e.createElementBlock("svg",r,t[0]||(t[0]=[e.createStaticVNode('<g id="24*24/修改"><g id="修改"><g id="Vector"><path d="M11.9139 5.38836L18.2712 10.0097L18.601 7.21173L14.6353 4.16692L11.9139 5.38836Z"></path><path d="M4.81541 14.8397L11.0512 19.6226L17.4062 11.171L11.0489 6.54963L4.81541 14.8397Z"></path><path d="M3.99135 15.9356L5.79998 20.0686L10.2256 20.7206L3.99135 15.9356Z"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M11.0512 19.6226L17.4062 11.171L18.2712 10.0097L18.601 7.21173L14.6353 4.16692L11.9139 5.38836L11.0489 6.54963L4.81541 14.8397L3.99135 15.9356L5.79998 20.0686L10.2256 20.7206L11.0512 19.6226ZM3.99135 15.9356L14.3518 2.15699L20.5861 6.942L10.2256 20.7206L4.52996 21.769L3.99135 15.9356Z"></path></g></g></g>',1)]))}const d=L._export_sfc(o,[["render",n]]);exports.default=d;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./indexNnjbVZ_m.js"),x=require("./useCommon_CFgwTZy.js"),o=require("element-plus"),v=require("./annotateCVLkqudX.js"),C=["onClick"],h=["src","alt"],b=e.defineComponent({name:"ToolAnnotate",__name:"annotate",props:e.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function}},t.defaultProps),emits:["tool"],setup(c,{emit:i}){const u=c,d=i,{t:l,textClass:f}=x.useCommon(u),s={line:t.line,arrow:t.arrow,bilateral:t.bilateral,rectangle:t.rectangle,ellipse:t.ellipse,polygon:t.polygon,star:t.star,flag:t.flag,dot:t.dot,font:t.font},p=Object.keys(s).map(n=>({name:n,src:s[n]})),a=e.ref(!1);function m(n){a.value=!1,d("tool","annotate",{tool:n.substring(0,1).toLocaleUpperCase()+n.substring(1)})}function g(){a.value=!a.value}return(n,E)=>(e.openBlock(),e.createBlock(e.unref(o.ElPopover),{visible:a.value,"popper-class":"el-popover-padding-0",placement:"bottom",width:"220px",trigger:"click"},{reference:e.withCtx(()=>[e.createElementVNode("div",{class:"hzzt-kfb-toolbox__icon",onClick:g},[e.createVNode(e.unref(o.ElIcon),{size:n.size},{default:e.withCtx(()=>[e.createVNode(v.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(f))},e.toDisplayString(e.unref(l)(n.text||"标注")),3)])]),default:e.withCtx(()=>[e.createVNode(e.unref(o.ElCard),{shadow:"never",header:e.unref(l)("标注工具"),"body-style":{padding:"8px"}},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(e.unref(o.ElText),{type:"danger"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("按ESC可退出标注模式")),1)]),_:1})]),e.createElementVNode("div",null,[e.createVNode(e.unref(o.ElText),{type:"danger"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("点击标注按Delete键可删除标注")),1)]),_:1})]),e.createVNode(e.unref(o.ElRow),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(p),(r,_)=>(e.openBlock(),e.createBlock(e.unref(o.ElCol),{key:_,class:"flex justify-content-center align-items-center",span:8},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"hzzt-kfb-toolbox-annotate-img",onClick:k=>m(r.name)},[e.createElementVNode("img",{style:{width:"100%"},src:r.src,alt:r.name},null,8,h)],8,C)]),_:2},1024))),128))]),_:1})]),_:1},8,["header"])]),_:1},8,["visible"]))}}),y=t._export_sfc(b,[["__scopeId","data-v-55085851"]]);exports.default=y;
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { defineComponent as y, mergeDefaults as z, ref as E, createBlock as d, openBlock as i, unref as e, withCtx as o, createVNode as a, createElementVNode as s, createTextVNode as m, toDisplayString as c, createElementBlock as w, Fragment as B, renderList as D, normalizeClass as N } from "vue";
|
|
2
|
+
import { f as P, c as T, e as V, s as j, p as F, g as I, r as L, h as S, i as A, l as O, d as R, _ as U } from "./indexDvexHnyj.js";
|
|
3
|
+
import { u as $ } from "./useCommonDK4IjSxd.js";
|
|
4
|
+
import { ElPopover as q, ElCard as G, ElText as u, ElRow as H, ElCol as J, ElIcon as K } from "element-plus";
|
|
5
|
+
import M from "./annotateDDGAeaL1.js";
|
|
6
|
+
const Q = ["onClick"], W = ["src", "alt"], X = /* @__PURE__ */ y({
|
|
7
|
+
name: "ToolAnnotate",
|
|
8
|
+
__name: "annotate",
|
|
9
|
+
props: /* @__PURE__ */ z({
|
|
10
|
+
size: {},
|
|
11
|
+
text: {},
|
|
12
|
+
name: {},
|
|
13
|
+
component: {},
|
|
14
|
+
isPrevent: { type: Boolean },
|
|
15
|
+
callback: { type: Function }
|
|
16
|
+
}, R),
|
|
17
|
+
emits: ["tool"],
|
|
18
|
+
setup(f, { emit: _ }) {
|
|
19
|
+
const g = f, v = _, { t: n, textClass: b } = $(g), p = {
|
|
20
|
+
line: O,
|
|
21
|
+
arrow: A,
|
|
22
|
+
bilateral: S,
|
|
23
|
+
rectangle: L,
|
|
24
|
+
ellipse: I,
|
|
25
|
+
polygon: F,
|
|
26
|
+
star: j,
|
|
27
|
+
flag: V,
|
|
28
|
+
dot: T,
|
|
29
|
+
font: P
|
|
30
|
+
}, h = Object.keys(p).map((t) => ({
|
|
31
|
+
name: t,
|
|
32
|
+
src: p[t]
|
|
33
|
+
})), l = E(!1);
|
|
34
|
+
function x(t) {
|
|
35
|
+
l.value = !1, v("tool", "annotate", {
|
|
36
|
+
tool: t.substring(0, 1).toLocaleUpperCase() + t.substring(1)
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
function C() {
|
|
40
|
+
l.value = !l.value;
|
|
41
|
+
}
|
|
42
|
+
return (t, Y) => (i(), d(e(q), {
|
|
43
|
+
visible: l.value,
|
|
44
|
+
"popper-class": "el-popover-padding-0",
|
|
45
|
+
placement: "bottom",
|
|
46
|
+
width: "220px",
|
|
47
|
+
trigger: "click"
|
|
48
|
+
}, {
|
|
49
|
+
reference: o(() => [
|
|
50
|
+
s("div", {
|
|
51
|
+
class: "hzzt-kfb-toolbox__icon",
|
|
52
|
+
onClick: C
|
|
53
|
+
}, [
|
|
54
|
+
a(e(K), { size: t.size }, {
|
|
55
|
+
default: o(() => [
|
|
56
|
+
a(M)
|
|
57
|
+
]),
|
|
58
|
+
_: 1
|
|
59
|
+
}, 8, ["size"]),
|
|
60
|
+
s("div", {
|
|
61
|
+
class: N(e(b))
|
|
62
|
+
}, c(e(n)(t.text || "标注")), 3)
|
|
63
|
+
])
|
|
64
|
+
]),
|
|
65
|
+
default: o(() => [
|
|
66
|
+
a(e(G), {
|
|
67
|
+
shadow: "never",
|
|
68
|
+
header: e(n)("标注工具"),
|
|
69
|
+
"body-style": { padding: "8px" }
|
|
70
|
+
}, {
|
|
71
|
+
default: o(() => [
|
|
72
|
+
s("div", null, [
|
|
73
|
+
a(e(u), { type: "danger" }, {
|
|
74
|
+
default: o(() => [
|
|
75
|
+
m(c(e(n)("按ESC可退出标注模式")), 1)
|
|
76
|
+
]),
|
|
77
|
+
_: 1
|
|
78
|
+
})
|
|
79
|
+
]),
|
|
80
|
+
s("div", null, [
|
|
81
|
+
a(e(u), { type: "danger" }, {
|
|
82
|
+
default: o(() => [
|
|
83
|
+
m(c(e(n)("点击标注按Delete键可删除标注")), 1)
|
|
84
|
+
]),
|
|
85
|
+
_: 1
|
|
86
|
+
})
|
|
87
|
+
]),
|
|
88
|
+
a(e(H), null, {
|
|
89
|
+
default: o(() => [
|
|
90
|
+
(i(!0), w(B, null, D(e(h), (r, k) => (i(), d(e(J), {
|
|
91
|
+
key: k,
|
|
92
|
+
class: "flex justify-content-center align-items-center",
|
|
93
|
+
span: 8
|
|
94
|
+
}, {
|
|
95
|
+
default: o(() => [
|
|
96
|
+
s("div", {
|
|
97
|
+
class: "hzzt-kfb-toolbox-annotate-img",
|
|
98
|
+
onClick: (Z) => x(r.name)
|
|
99
|
+
}, [
|
|
100
|
+
s("img", {
|
|
101
|
+
style: { width: "100%" },
|
|
102
|
+
src: r.src,
|
|
103
|
+
alt: r.name
|
|
104
|
+
}, null, 8, W)
|
|
105
|
+
], 8, Q)
|
|
106
|
+
]),
|
|
107
|
+
_: 2
|
|
108
|
+
}, 1024))), 128))
|
|
109
|
+
]),
|
|
110
|
+
_: 1
|
|
111
|
+
})
|
|
112
|
+
]),
|
|
113
|
+
_: 1
|
|
114
|
+
}, 8, ["header"])
|
|
115
|
+
]),
|
|
116
|
+
_: 1
|
|
117
|
+
}, 8, ["visible"]));
|
|
118
|
+
}
|
|
119
|
+
}), ne = /* @__PURE__ */ U(X, [["__scopeId", "data-v-55085851"]]);
|
|
120
|
+
export {
|
|
121
|
+
ne as default
|
|
122
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { createElementBlock as L, openBlock as e, createStaticVNode as o } from "vue";
|
|
2
|
+
import { _ as r } from "./indexDvexHnyj.js";
|
|
3
|
+
const d = {}, n = {
|
|
4
|
+
viewBox: "0 0 24 24",
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
6
|
+
};
|
|
7
|
+
function p(a, t) {
|
|
8
|
+
return e(), L("svg", n, t[0] || (t[0] = [
|
|
9
|
+
o('<g id="24*24/修改"><g id="修改"><g id="Vector"><path d="M11.9139 5.38836L18.2712 10.0097L18.601 7.21173L14.6353 4.16692L11.9139 5.38836Z"></path><path d="M4.81541 14.8397L11.0512 19.6226L17.4062 11.171L11.0489 6.54963L4.81541 14.8397Z"></path><path d="M3.99135 15.9356L5.79998 20.0686L10.2256 20.7206L3.99135 15.9356Z"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M11.0512 19.6226L17.4062 11.171L18.2712 10.0097L18.601 7.21173L14.6353 4.16692L11.9139 5.38836L11.0489 6.54963L4.81541 14.8397L3.99135 15.9356L5.79998 20.0686L10.2256 20.7206L11.0512 19.6226ZM3.99135 15.9356L14.3518 2.15699L20.5861 6.942L10.2256 20.7206L4.52996 21.769L3.99135 15.9356Z"></path></g></g></g>', 1)
|
|
10
|
+
]));
|
|
11
|
+
}
|
|
12
|
+
const s = /* @__PURE__ */ r(d, [["render", p]]);
|
|
13
|
+
export {
|
|
14
|
+
s as default
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./indexNnjbVZ_m.js"),o={},r={width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function l(i,t){return e.openBlock(),e.createElementBlock("svg",r,t[0]||(t[0]=[e.createElementVNode("path",{d:"M61 32C61 15.9837 48.0163 3 32 3C15.9837 3 3 15.9837 3 32C3 48.0163 15.9837 61 32 61V64C14.3269 64 0 49.6731 0 32C0 14.3269 14.3269 0 32 0C49.6731 0 64 14.3269 64 32C64 49.6731 49.6731 64 32 64V61C48.0163 61 61 48.0163 61 32Z",fill:"#5594F7"},null,-1),e.createElementVNode("path",{d:"M11 46L32 10L53 46L32 33.5L11 46Z",fill:"#5594F7"},null,-1)]))}const c=n._export_sfc(o,[["render",l]]);exports.default=c;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as n, createElementVNode as e } from "vue";
|
|
2
|
+
import { _ as r } from "./indexDvexHnyj.js";
|
|
3
|
+
const l = {}, s = {
|
|
4
|
+
width: "64",
|
|
5
|
+
height: "64",
|
|
6
|
+
viewBox: "0 0 64 64",
|
|
7
|
+
fill: "none",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
9
|
+
};
|
|
10
|
+
function i(c, t) {
|
|
11
|
+
return n(), o("svg", s, t[0] || (t[0] = [
|
|
12
|
+
e("path", {
|
|
13
|
+
d: "M61 32C61 15.9837 48.0163 3 32 3C15.9837 3 3 15.9837 3 32C3 48.0163 15.9837 61 32 61V64C14.3269 64 0 49.6731 0 32C0 14.3269 14.3269 0 32 0C49.6731 0 64 14.3269 64 32C64 49.6731 49.6731 64 32 64V61C48.0163 61 61 48.0163 61 32Z",
|
|
14
|
+
fill: "#5594F7"
|
|
15
|
+
}, null, -1),
|
|
16
|
+
e("path", {
|
|
17
|
+
d: "M11 46L32 10L53 46L32 33.5L11 46Z",
|
|
18
|
+
fill: "#5594F7"
|
|
19
|
+
}, null, -1)
|
|
20
|
+
]));
|
|
21
|
+
}
|
|
22
|
+
const a = /* @__PURE__ */ r(l, [["render", i]]);
|
|
23
|
+
export {
|
|
24
|
+
a as default
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./indexNnjbVZ_m.js"),o={},r={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg","p-id":"2295",width:"32",height:"32"};function c(i,t){return e.openBlock(),e.createElementBlock("svg",r,t[0]||(t[0]=[e.createElementVNode("path",{d:"M1002.81 144.43a64 64 0 0 0-90.38 4.76L381.56 739l-272.3-272.3a64 64 0 0 0-90.51 90.51l320 320A64 64 0 0 0 384 896h1.68a64 64 0 0 0 45.89-21.16l576-640a64 64 0 0 0-4.76-90.41z","p-id":"2296",fill:"#ffffff"},null,-1)]))}const l=n._export_sfc(o,[["render",c]]);exports.default=l;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { createElementBlock as t, openBlock as o, createElementVNode as r } from "vue";
|
|
2
|
+
import { _ as f } from "./indexDvexHnyj.js";
|
|
3
|
+
const n = {}, l = {
|
|
4
|
+
viewBox: "0 0 1024 1024",
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
+
"p-id": "2295",
|
|
7
|
+
width: "32",
|
|
8
|
+
height: "32"
|
|
9
|
+
};
|
|
10
|
+
function c(s, e) {
|
|
11
|
+
return o(), t("svg", l, e[0] || (e[0] = [
|
|
12
|
+
r("path", {
|
|
13
|
+
d: "M1002.81 144.43a64 64 0 0 0-90.38 4.76L381.56 739l-272.3-272.3a64 64 0 0 0-90.51 90.51l320 320A64 64 0 0 0 384 896h1.68a64 64 0 0 0 45.89-21.16l576-640a64 64 0 0 0-4.76-90.41z",
|
|
14
|
+
"p-id": "2296",
|
|
15
|
+
fill: "#ffffff"
|
|
16
|
+
}, null, -1)
|
|
17
|
+
]));
|
|
18
|
+
}
|
|
19
|
+
const d = /* @__PURE__ */ f(n, [["render", c]]);
|
|
20
|
+
export {
|
|
21
|
+
d as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { createElementBlock as e, openBlock as t, createElementVNode as o } from "vue";
|
|
2
|
+
import { _ as r } from "./indexDvexHnyj.js";
|
|
3
|
+
const n = {}, s = {
|
|
4
|
+
viewBox: "0 0 1024 1024",
|
|
5
|
+
width: "64",
|
|
6
|
+
height: "64"
|
|
7
|
+
};
|
|
8
|
+
function i(l, c) {
|
|
9
|
+
return t(), e("svg", s, c[0] || (c[0] = [
|
|
10
|
+
o("path", {
|
|
11
|
+
d: "M492 451.6c-8.4 11.1-20.4 19.5-34.8 23.3-75 19.8-211.1 45.3-279.3-6.1C88.6 401.4 70.8 274 138.2 184.7S333 77.6 422.3 145c68.2 51.5 80.9 189.3 82.4 266.9 0.4 14.7-4.3 28.5-12.7 39.7zM192.2 225.3c-44.9 59.5-33.1 144.5 26.5 189.4 31.4 23.7 116.9 21.9 218.4-4.5-2.4-104.9-24.1-187.6-55.5-211.3-59.5-45-144.4-33.1-189.4 26.4zM520.6 411.8c1.5-77.6 14.3-215.4 82.4-266.9 89.3-67.4 216.7-49.6 284.1 39.7s49.6 216.7-39.7 284.1c-68.2 51.5-204.2 25.9-279.3 6.1-14.3-3.8-26.4-12.1-34.8-23.3-8.3-11.1-13-24.9-12.7-39.7z m123.1-213c-31.4 23.7-53.1 106.5-55.5 211.3 101.5 26.4 187.1 28.2 218.4 4.5 59.5-44.9 71.4-129.9 26.5-189.4s-129.8-71.3-189.4-26.4zM504.8 614.3c-1.5 77.6-14.3 215.4-82.4 266.9-89.3 67.4-216.7 49.6-284.1-39.7S88.7 624.8 178 557.4c68.2-51.5 204.2-25.9 279.3-6.1 14.3 3.8 26.4 12.1 34.8 23.3 8.3 11.1 13 24.9 12.7 39.7z m-123.1 213c31.4-23.7 53.1-106.5 55.5-211.3-101.5-26.4-187.1-28.2-218.4-4.5-59.5 44.9-71.4 129.9-26.5 189.4 44.9 59.4 129.8 71.3 189.4 26.4zM533.4 574.5c8.4-11.1 20.4-19.5 34.8-23.3 75-19.8 211.1-45.3 279.3 6.1 89.3 67.4 107.1 194.8 39.7 284.1S692.3 948.6 603 881.2c-68.2-51.5-80.9-189.3-82.4-266.9-0.3-14.8 4.4-28.6 12.8-39.8z m299.8 226.3c44.9-59.5 33.1-144.5-26.5-189.4-31.4-23.7-116.9-21.9-218.4 4.5 2.4 104.9 24.1 187.6 55.5 211.3 59.5 45 144.4 33.1 189.4-26.4z",
|
|
12
|
+
fill: "currentColor",
|
|
13
|
+
"p-id": "12356"
|
|
14
|
+
}, null, -1)
|
|
15
|
+
]));
|
|
16
|
+
}
|
|
17
|
+
const d = /* @__PURE__ */ r(n, [["render", i]]);
|
|
18
|
+
export {
|
|
19
|
+
d as default
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("element-plus"),u=require("./configOyvUhGVP.js"),m=require("./indexNnjbVZ_m.js"),f=require("./useCommon_CFgwTZy.js"),d=e.defineComponent({name:"ToolConfig",__name:"config",props:e.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function}},m.defaultProps),emits:["tool"],setup(t,{emit:n}){const s=t,c=n,{t:i,textClass:r}=f.useCommon(s),l=()=>{c("tool","config")};return(o,p)=>(e.openBlock(),e.createElementBlock("div",{class:"hzzt-kfb-toolbox__icon",onClick:l},[e.createVNode(e.unref(a.ElIcon),{size:o.size},{default:e.withCtx(()=>[e.createVNode(u.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(r))},e.toDisplayString(e.unref(i)(o.text||"配置")),3)]))}});exports.default=d;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { defineComponent as c, mergeDefaults as p, createElementBlock as f, openBlock as u, createVNode as t, createElementVNode as d, unref as o, withCtx as z, normalizeClass as C, toDisplayString as _ } from "vue";
|
|
2
|
+
import { ElIcon as g } from "element-plus";
|
|
3
|
+
import k from "./configB5XxbCMh.js";
|
|
4
|
+
import { d as x } from "./indexDvexHnyj.js";
|
|
5
|
+
import { u as h } from "./useCommonDK4IjSxd.js";
|
|
6
|
+
const N = /* @__PURE__ */ c({
|
|
7
|
+
name: "ToolConfig",
|
|
8
|
+
__name: "config",
|
|
9
|
+
props: /* @__PURE__ */ p({
|
|
10
|
+
size: {},
|
|
11
|
+
text: {},
|
|
12
|
+
name: {},
|
|
13
|
+
component: {},
|
|
14
|
+
isPrevent: { type: Boolean },
|
|
15
|
+
callback: { type: Function }
|
|
16
|
+
}, x),
|
|
17
|
+
emits: ["tool"],
|
|
18
|
+
setup(n, { emit: s }) {
|
|
19
|
+
const i = n, r = s, { t: a, textClass: l } = h(i), m = () => {
|
|
20
|
+
r("tool", "config");
|
|
21
|
+
};
|
|
22
|
+
return (e, b) => (u(), f("div", {
|
|
23
|
+
class: "hzzt-kfb-toolbox__icon",
|
|
24
|
+
onClick: m
|
|
25
|
+
}, [
|
|
26
|
+
t(o(g), { size: e.size }, {
|
|
27
|
+
default: z(() => [
|
|
28
|
+
t(k)
|
|
29
|
+
]),
|
|
30
|
+
_: 1
|
|
31
|
+
}, 8, ["size"]),
|
|
32
|
+
d("div", {
|
|
33
|
+
class: C(o(l))
|
|
34
|
+
}, _(o(a)(e.text || "配置")), 3)
|
|
35
|
+
]));
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
export {
|
|
39
|
+
N as default
|
|
40
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./indexNnjbVZ_m.js"),n={},o={viewBox:"0 0 1024 1024",width:"64",height:"64"};function r(s,c){return e.openBlock(),e.createElementBlock("svg",o,c[0]||(c[0]=[e.createElementVNode("path",{d:"M492 451.6c-8.4 11.1-20.4 19.5-34.8 23.3-75 19.8-211.1 45.3-279.3-6.1C88.6 401.4 70.8 274 138.2 184.7S333 77.6 422.3 145c68.2 51.5 80.9 189.3 82.4 266.9 0.4 14.7-4.3 28.5-12.7 39.7zM192.2 225.3c-44.9 59.5-33.1 144.5 26.5 189.4 31.4 23.7 116.9 21.9 218.4-4.5-2.4-104.9-24.1-187.6-55.5-211.3-59.5-45-144.4-33.1-189.4 26.4zM520.6 411.8c1.5-77.6 14.3-215.4 82.4-266.9 89.3-67.4 216.7-49.6 284.1 39.7s49.6 216.7-39.7 284.1c-68.2 51.5-204.2 25.9-279.3 6.1-14.3-3.8-26.4-12.1-34.8-23.3-8.3-11.1-13-24.9-12.7-39.7z m123.1-213c-31.4 23.7-53.1 106.5-55.5 211.3 101.5 26.4 187.1 28.2 218.4 4.5 59.5-44.9 71.4-129.9 26.5-189.4s-129.8-71.3-189.4-26.4zM504.8 614.3c-1.5 77.6-14.3 215.4-82.4 266.9-89.3 67.4-216.7 49.6-284.1-39.7S88.7 624.8 178 557.4c68.2-51.5 204.2-25.9 279.3-6.1 14.3 3.8 26.4 12.1 34.8 23.3 8.3 11.1 13 24.9 12.7 39.7z m-123.1 213c31.4-23.7 53.1-106.5 55.5-211.3-101.5-26.4-187.1-28.2-218.4-4.5-59.5 44.9-71.4 129.9-26.5 189.4 44.9 59.4 129.8 71.3 189.4 26.4zM533.4 574.5c8.4-11.1 20.4-19.5 34.8-23.3 75-19.8 211.1-45.3 279.3 6.1 89.3 67.4 107.1 194.8 39.7 284.1S692.3 948.6 603 881.2c-68.2-51.5-80.9-189.3-82.4-266.9-0.3-14.8 4.4-28.6 12.8-39.8z m299.8 226.3c44.9-59.5 33.1-144.5-26.5-189.4-31.4-23.7-116.9-21.9-218.4 4.5 2.4 104.9 24.1 187.6 55.5 211.3 59.5 45 144.4 33.1 189.4-26.4z",fill:"currentColor","p-id":"12356"},null,-1)]))}const i=t._export_sfc(n,[["render",r]]);exports.default=i;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),m=require("./indexNnjbVZ_m.js"),u=require("./useCommon_CFgwTZy.js"),f=e.defineComponent({name:"ToolCustom",__name:"custom",props:e.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function}},m.defaultProps),emits:["tool"],setup(l,{emit:s}){const t=l,r=s,{t:c,textClass:a}=u.useCommon(t),n=e.useTemplateRef("toolRef");function i(){r("tool",t.name||"",n.value)}return(o,p)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"toolRef",ref:n,class:"hzzt-kfb-toolbox__icon",onClick:i},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.component),{size:o.size},null,8,["size"])),e.createElementVNode("div",{class:e.normalizeClass(e.unref(a))},[e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(e.unref(c)(o.text||" ")),1)])],2)],512))}});exports.default=f;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { defineComponent as p, mergeDefaults as f, useTemplateRef as u, createElementBlock as d, openBlock as n, createBlock as k, createElementVNode as z, resolveDynamicComponent as C, normalizeClass as v, unref as s, renderSlot as y, createTextVNode as _, toDisplayString as B } from "vue";
|
|
2
|
+
import { d as R } from "./indexDvexHnyj.js";
|
|
3
|
+
import { u as T } from "./useCommonDK4IjSxd.js";
|
|
4
|
+
const g = /* @__PURE__ */ p({
|
|
5
|
+
name: "ToolCustom",
|
|
6
|
+
__name: "custom",
|
|
7
|
+
props: /* @__PURE__ */ f({
|
|
8
|
+
size: {},
|
|
9
|
+
text: {},
|
|
10
|
+
name: {},
|
|
11
|
+
component: {},
|
|
12
|
+
isPrevent: { type: Boolean },
|
|
13
|
+
callback: { type: Function }
|
|
14
|
+
}, R),
|
|
15
|
+
emits: ["tool"],
|
|
16
|
+
setup(l, { emit: a }) {
|
|
17
|
+
const o = l, m = a, { t: r, textClass: c } = T(o), t = u("toolRef");
|
|
18
|
+
function i() {
|
|
19
|
+
m("tool", o.name || "", t.value);
|
|
20
|
+
}
|
|
21
|
+
return (e, b) => (n(), d("div", {
|
|
22
|
+
ref_key: "toolRef",
|
|
23
|
+
ref: t,
|
|
24
|
+
class: "hzzt-kfb-toolbox__icon",
|
|
25
|
+
onClick: i
|
|
26
|
+
}, [
|
|
27
|
+
(n(), k(C(e.component), { size: e.size }, null, 8, ["size"])),
|
|
28
|
+
z("div", {
|
|
29
|
+
class: v(s(c))
|
|
30
|
+
}, [
|
|
31
|
+
y(e.$slots, "default", {}, () => [
|
|
32
|
+
_(B(s(r)(e.text || " ")), 1)
|
|
33
|
+
])
|
|
34
|
+
], 2)
|
|
35
|
+
], 512));
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
export {
|
|
39
|
+
g as default
|
|
40
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { createElementBlock as c, openBlock as o, createElementVNode as e } from "vue";
|
|
2
|
+
import { _ as n } from "./indexDvexHnyj.js";
|
|
3
|
+
const s = {}, r = {
|
|
4
|
+
t: "1717224898796",
|
|
5
|
+
class: "icon",
|
|
6
|
+
viewBox: "0 0 1024 1024",
|
|
7
|
+
version: "1.1",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
"p-id": "2344",
|
|
10
|
+
width: "128",
|
|
11
|
+
height: "128"
|
|
12
|
+
};
|
|
13
|
+
function l(i, t) {
|
|
14
|
+
return o(), c("svg", r, t[0] || (t[0] = [
|
|
15
|
+
e("path", {
|
|
16
|
+
d: "M512 427.023m-90 0a90 90 0 1 0 180 0 90 90 0 1 0-180 0Z",
|
|
17
|
+
"p-id": "2345"
|
|
18
|
+
}, null, -1),
|
|
19
|
+
e("path", {
|
|
20
|
+
d: "M512 910.402c-19.14 0-37.482-5.854-53.042-16.929-14.063-10.01-24.926-23.596-31.589-39.46L255.043 585.177l-0.154-0.25C225.522 537.209 210 482.605 210 427.021c0-80.667 31.414-156.506 88.454-213.546S431.333 125.021 512 125.021s156.506 31.414 213.546 88.454C782.587 270.515 814 346.354 814 427.021c0 55.849-15.655 110.671-45.274 158.539l-0.264 0.419-172.081 268.716c-6.755 15.726-17.66 29.176-31.704 39.055-15.485 10.895-33.7 16.652-52.677 16.652zM309.246 551.141l175.494 273.78 1.194 3.197c4.149 11.107 14.381 18.284 26.066 18.284 11.584 0 21.791-7.071 26.004-18.015l1.165-3.028L714.43 551.678C737.701 513.983 750 470.884 750 427.021c0-63.572-24.756-123.339-69.709-168.292-44.952-44.951-104.719-69.708-168.291-69.708s-123.339 24.756-168.292 69.708S274 363.449 274 427.021c0 43.64 12.186 86.552 35.246 124.12z",
|
|
21
|
+
"p-id": "2346"
|
|
22
|
+
}, null, -1)
|
|
23
|
+
]));
|
|
24
|
+
}
|
|
25
|
+
const a = /* @__PURE__ */ n(s, [["render", l]]);
|
|
26
|
+
export {
|
|
27
|
+
a as default
|
|
28
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),d=require("./indexNnjbVZ_m.js"),b=require("./useCommon_CFgwTZy.js"),C=require("./dotBzY_NqlA.js"),_=require("./checkCazbS-c6.js"),r=require("element-plus"),E={class:"margin-b-1"},g={class:"flex align-items-center"},x=["onClick"],y=e.defineComponent({name:"ToolDot",__name:"dot",props:e.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function}},d.defaultProps),emits:["tool"],setup(f,{emit:v}){const k=f,i=v,{t:u,textClass:m}=b.useCommon(k),n=e.ref(!1),c=e.ref([{label:"#004BFF",value:0,checked:!1},{label:"#FF4B40",value:0,checked:!1},{label:"#FFAA00",value:0,checked:!1},{label:"#51C964",value:0,checked:!1},{label:"#00BEFF",value:0,checked:!1},{label:"#8C58CE",value:0,checked:!1},{label:"#F261A7",value:0,checked:!1}]),s=e.inject("kfbViewRef");e.watch(()=>{var l,t;return(t=(l=s==null?void 0:s.value)==null?void 0:l.kfbView)==null?void 0:t.labelList},l=>{c.value.forEach(t=>{var o;t.value=(o=(l??[]).filter(a=>(a==null?void 0:a.custom)&&(a==null?void 0:a.strokeStyle)===t.label&&(a==null?void 0:a.tool)==="Dot"))==null?void 0:o.length})});function p(l){c.value.forEach(t=>{t.checked=!1}),l.checked=!0,i("tool","annotate",{strokeStyle:l.label,tool:"Dot",once:!1,custom:!0})}function h(){n.value=!n.value,n.value||c.value.forEach(l=>{l.checked=!1}),i("tool","endDraw")}return(l,t)=>(e.openBlock(),e.createBlock(e.unref(r.ElPopover),{visible:n.value,"popper-class":"el-popover-padding-0",placement:"bottom",width:"300px",trigger:"click"},{reference:e.withCtx(()=>[e.createElementVNode("div",{class:"hzzt-kfb-toolbox__icon",onClick:t[0]||(t[0]=o=>h())},[e.createVNode(e.unref(r.ElIcon),{size:l.size},{default:e.withCtx(()=>[e.createVNode(C.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(m))},e.toDisplayString(e.unref(u)(l.text||"打点")),3)])]),default:e.withCtx(()=>[e.createVNode(e.unref(r.ElCard),{shadow:"never"},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("p",E,e.toDisplayString(e.unref(u)("按下ESC键结束打点操作")),1),e.createElementVNode("div",g,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,o=>(e.openBlock(),e.createElementBlock("div",{key:o.label,class:"flex column align-items-center"},[e.createElementVNode("div",{style:e.normalizeStyle({"background-color":o.label}),class:"hzzt-kfb-toolbox-dot__box flex justify-content-center align-items-center",onClick:a=>p(o)},[e.createVNode(e.unref(r.ElIcon),{size:"16"},{default:e.withCtx(()=>[o.checked?(e.openBlock(),e.createBlock(_.default,{key:0})):e.createCommentVNode("",!0)]),_:2},1024)],12,x),e.createElementVNode("p",null,e.toDisplayString(o.value?o.value:" "),1)]))),128))])])]),_:1})]),_:1},8,["visible"]))}}),V=d._export_sfc(y,[["__scopeId","data-v-e2d9f6c1"]]);exports.default=V;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("./indexNnjbVZ_m.js"),n={},o={t:"1717224898796",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2344",width:"128",height:"128"};function r(s,t){return e.openBlock(),e.createElementBlock("svg",o,t[0]||(t[0]=[e.createElementVNode("path",{d:"M512 427.023m-90 0a90 90 0 1 0 180 0 90 90 0 1 0-180 0Z","p-id":"2345"},null,-1),e.createElementVNode("path",{d:"M512 910.402c-19.14 0-37.482-5.854-53.042-16.929-14.063-10.01-24.926-23.596-31.589-39.46L255.043 585.177l-0.154-0.25C225.522 537.209 210 482.605 210 427.021c0-80.667 31.414-156.506 88.454-213.546S431.333 125.021 512 125.021s156.506 31.414 213.546 88.454C782.587 270.515 814 346.354 814 427.021c0 55.849-15.655 110.671-45.274 158.539l-0.264 0.419-172.081 268.716c-6.755 15.726-17.66 29.176-31.704 39.055-15.485 10.895-33.7 16.652-52.677 16.652zM309.246 551.141l175.494 273.78 1.194 3.197c4.149 11.107 14.381 18.284 26.066 18.284 11.584 0 21.791-7.071 26.004-18.015l1.165-3.028L714.43 551.678C737.701 513.983 750 470.884 750 427.021c0-63.572-24.756-123.339-69.709-168.292-44.952-44.951-104.719-69.708-168.291-69.708s-123.339 24.756-168.292 69.708S274 363.449 274 427.021c0 43.64 12.186 86.552 35.246 124.12z","p-id":"2346"},null,-1)]))}const l=c._export_sfc(n,[["render",r]]);exports.default=l;
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { defineComponent as F, mergeDefaults as y, ref as p, inject as w, watch as B, createBlock as k, openBlock as i, unref as a, withCtx as s, createVNode as u, createElementVNode as c, toDisplayString as f, createElementBlock as h, Fragment as D, renderList as S, normalizeStyle as V, createCommentVNode as A, normalizeClass as L } from "vue";
|
|
2
|
+
import { d as N, _ as P } from "./indexDvexHnyj.js";
|
|
3
|
+
import { u as j } from "./useCommonDK4IjSxd.js";
|
|
4
|
+
import I from "./dot1kt2iBMi.js";
|
|
5
|
+
import $ from "./checkDT-yvng0.js";
|
|
6
|
+
import { ElPopover as T, ElCard as q, ElIcon as b } from "element-plus";
|
|
7
|
+
const G = { class: "margin-b-1" }, H = { class: "flex align-items-center" }, J = ["onClick"], K = /* @__PURE__ */ F({
|
|
8
|
+
name: "ToolDot",
|
|
9
|
+
__name: "dot",
|
|
10
|
+
props: /* @__PURE__ */ y({
|
|
11
|
+
size: {},
|
|
12
|
+
text: {},
|
|
13
|
+
name: {},
|
|
14
|
+
component: {},
|
|
15
|
+
isPrevent: { type: Boolean },
|
|
16
|
+
callback: { type: Function }
|
|
17
|
+
}, N),
|
|
18
|
+
emits: ["tool"],
|
|
19
|
+
setup(_, { emit: C }) {
|
|
20
|
+
const g = _, v = C, { t: m, textClass: x } = j(g), n = p(!1), r = p([
|
|
21
|
+
{ label: "#004BFF", value: 0, checked: !1 },
|
|
22
|
+
{ label: "#FF4B40", value: 0, checked: !1 },
|
|
23
|
+
{ label: "#FFAA00", value: 0, checked: !1 },
|
|
24
|
+
{ label: "#51C964", value: 0, checked: !1 },
|
|
25
|
+
{ label: "#00BEFF", value: 0, checked: !1 },
|
|
26
|
+
{ label: "#8C58CE", value: 0, checked: !1 },
|
|
27
|
+
{ label: "#F261A7", value: 0, checked: !1 }
|
|
28
|
+
]), d = w("kfbViewRef");
|
|
29
|
+
B(() => {
|
|
30
|
+
var e, l;
|
|
31
|
+
return (l = (e = d == null ? void 0 : d.value) == null ? void 0 : e.kfbView) == null ? void 0 : l.labelList;
|
|
32
|
+
}, (e) => {
|
|
33
|
+
r.value.forEach((l) => {
|
|
34
|
+
var o;
|
|
35
|
+
l.value = (o = (e ?? []).filter((t) => (t == null ? void 0 : t.custom) && (t == null ? void 0 : t.strokeStyle) === l.label && (t == null ? void 0 : t.tool) === "Dot")) == null ? void 0 : o.length;
|
|
36
|
+
});
|
|
37
|
+
});
|
|
38
|
+
function z(e) {
|
|
39
|
+
r.value.forEach((l) => {
|
|
40
|
+
l.checked = !1;
|
|
41
|
+
}), e.checked = !0, v("tool", "annotate", {
|
|
42
|
+
strokeStyle: e.label,
|
|
43
|
+
tool: "Dot",
|
|
44
|
+
once: !1,
|
|
45
|
+
custom: !0
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
function E() {
|
|
49
|
+
n.value = !n.value, n.value || r.value.forEach((e) => {
|
|
50
|
+
e.checked = !1;
|
|
51
|
+
}), v("tool", "endDraw");
|
|
52
|
+
}
|
|
53
|
+
return (e, l) => (i(), k(a(T), {
|
|
54
|
+
visible: n.value,
|
|
55
|
+
"popper-class": "el-popover-padding-0",
|
|
56
|
+
placement: "bottom",
|
|
57
|
+
width: "300px",
|
|
58
|
+
trigger: "click"
|
|
59
|
+
}, {
|
|
60
|
+
reference: s(() => [
|
|
61
|
+
c("div", {
|
|
62
|
+
class: "hzzt-kfb-toolbox__icon",
|
|
63
|
+
onClick: l[0] || (l[0] = (o) => E())
|
|
64
|
+
}, [
|
|
65
|
+
u(a(b), { size: e.size }, {
|
|
66
|
+
default: s(() => [
|
|
67
|
+
u(I)
|
|
68
|
+
]),
|
|
69
|
+
_: 1
|
|
70
|
+
}, 8, ["size"]),
|
|
71
|
+
c("div", {
|
|
72
|
+
class: L(a(x))
|
|
73
|
+
}, f(a(m)(e.text || "打点")), 3)
|
|
74
|
+
])
|
|
75
|
+
]),
|
|
76
|
+
default: s(() => [
|
|
77
|
+
u(a(q), { shadow: "never" }, {
|
|
78
|
+
default: s(() => [
|
|
79
|
+
c("div", null, [
|
|
80
|
+
c("p", G, f(a(m)("按下ESC键结束打点操作")), 1),
|
|
81
|
+
c("div", H, [
|
|
82
|
+
(i(!0), h(D, null, S(r.value, (o) => (i(), h("div", {
|
|
83
|
+
key: o.label,
|
|
84
|
+
class: "flex column align-items-center"
|
|
85
|
+
}, [
|
|
86
|
+
c("div", {
|
|
87
|
+
style: V({ "background-color": o.label }),
|
|
88
|
+
class: "hzzt-kfb-toolbox-dot__box flex justify-content-center align-items-center",
|
|
89
|
+
onClick: (t) => z(o)
|
|
90
|
+
}, [
|
|
91
|
+
u(a(b), { size: "16" }, {
|
|
92
|
+
default: s(() => [
|
|
93
|
+
o.checked ? (i(), k($, { key: 0 })) : A("", !0)
|
|
94
|
+
]),
|
|
95
|
+
_: 2
|
|
96
|
+
}, 1024)
|
|
97
|
+
], 12, J),
|
|
98
|
+
c("p", null, f(o.value ? o.value : " "), 1)
|
|
99
|
+
]))), 128))
|
|
100
|
+
])
|
|
101
|
+
])
|
|
102
|
+
]),
|
|
103
|
+
_: 1
|
|
104
|
+
})
|
|
105
|
+
]),
|
|
106
|
+
_: 1
|
|
107
|
+
}, 8, ["visible"]));
|
|
108
|
+
}
|
|
109
|
+
}), X = /* @__PURE__ */ P(K, [["__scopeId", "data-v-e2d9f6c1"]]);
|
|
110
|
+
export {
|
|
111
|
+
X as default
|
|
112
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./indexNnjbVZ_m.js"),r={},n={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};function c(i,t){return e.openBlock(),e.createElementBlock("svg",n,t[0]||(t[0]=[e.createElementVNode("g",{id:"24*24/下载"},[e.createElementVNode("path",{id:"Vector",d:"M7.55491 10.4357L10.6647 14.0355L11.5 15L12.3353 14.0355L15.4451 10.4357L17 8.62905H13.4276V2H9.57243V8.62905H6L7.55491 10.4357Z"}),e.createElementVNode("path",{id:"Vector_2",d:"M13.72 14L11.6933 16.2L9.66667 14H2V22H22V14H13.72ZM16.6667 20.4667H14V17.8H16.6667V20.4667ZM20.6667 20.4667H18V17.8H20.6667V20.4667Z"})],-1)]))}const d=o._export_sfc(r,[["render",c]]);exports.default=d;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as r, createElementVNode as t } from "vue";
|
|
2
|
+
import { _ as n } from "./indexDvexHnyj.js";
|
|
3
|
+
const c = {}, s = {
|
|
4
|
+
viewBox: "0 0 24 24",
|
|
5
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
6
|
+
};
|
|
7
|
+
function V(d, e) {
|
|
8
|
+
return r(), o("svg", s, e[0] || (e[0] = [
|
|
9
|
+
t("g", { id: "24*24/下载" }, [
|
|
10
|
+
t("path", {
|
|
11
|
+
id: "Vector",
|
|
12
|
+
d: "M7.55491 10.4357L10.6647 14.0355L11.5 15L12.3353 14.0355L15.4451 10.4357L17 8.62905H13.4276V2H9.57243V8.62905H6L7.55491 10.4357Z"
|
|
13
|
+
}),
|
|
14
|
+
t("path", {
|
|
15
|
+
id: "Vector_2",
|
|
16
|
+
d: "M13.72 14L11.6933 16.2L9.66667 14H2V22H22V14H13.72ZM16.6667 20.4667H14V17.8H16.6667V20.4667ZM20.6667 20.4667H18V17.8H20.6667V20.4667Z"
|
|
17
|
+
})
|
|
18
|
+
], -1)
|
|
19
|
+
]));
|
|
20
|
+
}
|
|
21
|
+
const _ = /* @__PURE__ */ n(c, [["render", V]]);
|
|
22
|
+
export {
|
|
23
|
+
_ as default
|
|
24
|
+
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { defineComponent as C, mergeDefaults as g, ref as x, createBlock as b, openBlock as w, unref as e, withCtx as t, createVNode as l, createElementVNode as i, createTextVNode as p, toDisplayString as r, normalizeClass as z } from "vue";
|
|
2
|
+
import { d as y, _ as E } from "./indexDvexHnyj.js";
|
|
3
|
+
import { u as B } from "./useCommonDK4IjSxd.js";
|
|
4
|
+
import { ElPopover as D, ElCard as N, ElLink as c, ElIcon as P } from "element-plus";
|
|
5
|
+
import T from "./downloadCshCNWAW.js";
|
|
6
|
+
const V = { class: "flex column align-items-center" }, $ = /* @__PURE__ */ C({
|
|
7
|
+
name: "ToolDownload",
|
|
8
|
+
__name: "download",
|
|
9
|
+
props: /* @__PURE__ */ g({
|
|
10
|
+
size: {},
|
|
11
|
+
text: {},
|
|
12
|
+
name: {},
|
|
13
|
+
component: {},
|
|
14
|
+
isPrevent: { type: Boolean },
|
|
15
|
+
callback: { type: Function }
|
|
16
|
+
}, y),
|
|
17
|
+
emits: ["tool"],
|
|
18
|
+
setup(f, { emit: u }) {
|
|
19
|
+
const v = f, _ = u, { t: a, textClass: k } = B(v), n = x(!1);
|
|
20
|
+
function d(s) {
|
|
21
|
+
_("tool", "download", s), n.value = !1;
|
|
22
|
+
}
|
|
23
|
+
return (s, o) => (w(), b(e(D), {
|
|
24
|
+
visible: n.value,
|
|
25
|
+
"popper-class": "el-popover-padding-0",
|
|
26
|
+
placement: "bottom",
|
|
27
|
+
width: 180,
|
|
28
|
+
trigger: "click"
|
|
29
|
+
}, {
|
|
30
|
+
reference: t(() => [
|
|
31
|
+
i("div", {
|
|
32
|
+
class: "hzzt-kfb-toolbox__icon",
|
|
33
|
+
onClick: o[2] || (o[2] = (m) => n.value = !n.value)
|
|
34
|
+
}, [
|
|
35
|
+
l(e(P), { size: s.size }, {
|
|
36
|
+
default: t(() => [
|
|
37
|
+
l(T)
|
|
38
|
+
]),
|
|
39
|
+
_: 1
|
|
40
|
+
}, 8, ["size"]),
|
|
41
|
+
i("div", {
|
|
42
|
+
class: z(e(k))
|
|
43
|
+
}, r(e(a)(s.text || "下载")), 3)
|
|
44
|
+
])
|
|
45
|
+
]),
|
|
46
|
+
default: t(() => [
|
|
47
|
+
l(e(N), { shadow: "never" }, {
|
|
48
|
+
default: t(() => [
|
|
49
|
+
i("div", V, [
|
|
50
|
+
l(e(c), {
|
|
51
|
+
onClick: o[0] || (o[0] = (m) => d("all"))
|
|
52
|
+
}, {
|
|
53
|
+
default: t(() => [
|
|
54
|
+
p(r(e(a)("下载全部切片")), 1)
|
|
55
|
+
]),
|
|
56
|
+
_: 1
|
|
57
|
+
}),
|
|
58
|
+
l(e(c), {
|
|
59
|
+
type: "primary",
|
|
60
|
+
class: "margin-t-2",
|
|
61
|
+
onClick: o[1] || (o[1] = (m) => d("single"))
|
|
62
|
+
}, {
|
|
63
|
+
default: t(() => [
|
|
64
|
+
p(r(e(a)("下载当前切片")), 1)
|
|
65
|
+
]),
|
|
66
|
+
_: 1
|
|
67
|
+
})
|
|
68
|
+
])
|
|
69
|
+
]),
|
|
70
|
+
_: 1
|
|
71
|
+
})
|
|
72
|
+
]),
|
|
73
|
+
_: 1
|
|
74
|
+
}, 8, ["visible"]));
|
|
75
|
+
}
|
|
76
|
+
}), j = /* @__PURE__ */ E($, [["__scopeId", "data-v-5e120452"]]);
|
|
77
|
+
export {
|
|
78
|
+
j as default
|
|
79
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./indexNnjbVZ_m.js"),m=require("./useCommon_CFgwTZy.js"),o=require("element-plus"),v=require("./downloadBWFjb3Fj.js"),C={class:"flex column align-items-center"},x=e.defineComponent({name:"ToolDownload",__name:"download",props:e.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function}},s.defaultProps),emits:["tool"],setup(d,{emit:c}){const u=d,f=c,{t:r,textClass:p}=m.useCommon(u),n=e.ref(!1);function i(l){f("tool","download",l),n.value=!1}return(l,t)=>(e.openBlock(),e.createBlock(e.unref(o.ElPopover),{visible:n.value,"popper-class":"el-popover-padding-0",placement:"bottom",width:180,trigger:"click"},{reference:e.withCtx(()=>[e.createElementVNode("div",{class:"hzzt-kfb-toolbox__icon",onClick:t[2]||(t[2]=a=>n.value=!n.value)},[e.createVNode(e.unref(o.ElIcon),{size:l.size},{default:e.withCtx(()=>[e.createVNode(v.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(p))},e.toDisplayString(e.unref(r)(l.text||"下载")),3)])]),default:e.withCtx(()=>[e.createVNode(e.unref(o.ElCard),{shadow:"never"},{default:e.withCtx(()=>[e.createElementVNode("div",C,[e.createVNode(e.unref(o.ElLink),{onClick:t[0]||(t[0]=a=>i("all"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("下载全部切片")),1)]),_:1}),e.createVNode(e.unref(o.ElLink),{type:"primary",class:"margin-t-2",onClick:t[1]||(t[1]=a=>i("single"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("下载当前切片")),1)]),_:1})])]),_:1})]),_:1},8,["visible"]))}}),w=s._export_sfc(x,[["__scopeId","data-v-5e120452"]]);exports.default=w;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("element-plus"),u=require("./flipDA2I3h_e.js"),m=require("./indexNnjbVZ_m.js"),p=require("./useCommon_CFgwTZy.js"),f=e.defineComponent({name:"ToolFlip",__name:"flip",props:e.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function}},m.defaultProps),emits:["tool"],setup(o,{emit:n}){const s=o,l=n,{t:i,textClass:r}=p.useCommon(s),c=()=>{l("tool","flip")};return(t,d)=>(e.openBlock(),e.createElementBlock("div",{class:"hzzt-kfb-toolbox__icon",onClick:c},[e.createVNode(e.unref(a.ElIcon),{size:t.size},{default:e.withCtx(()=>[e.createVNode(u.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(r))},e.toDisplayString(e.unref(i)(t.text||"镜像")),3)]))}});exports.default=f;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("vue"),t=require("./indexNnjbVZ_m.js"),l={},n={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"};function o(s,e){return c.openBlock(),c.createElementBlock("svg",n,e[0]||(e[0]=[c.createElementVNode("path",{d:"M437.333333 192L194.133333 78.933333c-29.866667-14.933333-61.866667-12.8-89.6 4.266667-27.733333 17.066667-42.666667 46.933333-42.666666 78.933333v699.733334c0 32 17.066667 61.866667 42.666666 78.933333 14.933333 10.666667 32 14.933333 49.066667 14.933333 12.8 0 27.733333-2.133333 38.4-8.533333L437.333333 832c32-14.933333 53.333333-49.066667 53.333334-83.2V275.2c0-36.266667-21.333333-68.266667-53.333334-83.2z m-21.333333 556.8c0 6.4-4.266667 12.8-10.666667 17.066667L162.133333 878.933333c-8.533333 4.266667-14.933333 0-17.066666-2.133333s-8.533333-6.4-8.533334-14.933333V162.133333c0-8.533333 4.266667-12.8 8.533334-14.933333 2.133333-2.133333 4.266667-2.133333 8.533333-2.133333 2.133333 0 4.266667 0 8.533333 2.133333L405.333333 260.266667c6.4 2.133333 10.666667 8.533333 10.666667 17.066666v471.466667zM885.333333 70.4l-12.8 72.533333c8.533333 2.133333 14.933333 8.533333 14.933334 17.066667V213.333333h74.666666V162.133333c0-44.8-32-83.2-76.8-91.733333zM887.466667 256h74.666666v128h-74.666666zM533.333333 467.2h74.666667v128H533.333333zM618.666667 260.266667l78.933333-36.266667-32-68.266667L586.666667 192c-21.333333 10.666667-36.266667 25.6-46.933334 46.933333l68.266667 29.866667c4.266667-4.266667 6.4-8.533333 10.666667-8.533333zM608 748.8V640H533.333333v108.8c0 10.666667 2.133333 21.333333 6.4 32l70.4-25.6c-2.133333-2.133333-2.133333-4.266667-2.133333-6.4zM887.466667 426.666667h74.666666v128h-74.666666zM533.333333 296.533333h74.666667v128H533.333333zM887.466667 599.466667h74.666666v128h-74.666666zM887.466667 861.866667c0 4.266667-2.133333 8.533333-4.266667 10.666666l57.6 46.933334c12.8-17.066667 19.2-36.266667 19.2-57.6v-91.733334h-74.666667v91.733334zM706.538667 134.912l115.989333-54.122667 31.573333 67.648L738.133333 202.581333zM618.666667 763.733333L586.666667 832l117.333333 55.466667 32-68.266667-117.333333-53.333333zM861.866667 878.933333l-87.466667-40.533333-32 68.266667 87.466667 40.533333c12.8 6.4 25.6 8.533333 38.4 8.533333h12.8l-10.666667-74.666666c-2.133333 0-4.266667-2.133333-8.533333-2.133334z","p-id":"6958",fill:"currentColor"},null,-1)]))}const r=t._export_sfc(l,[["render",o]]);exports.default=r;
|