hzzt-kfb-slide 0.0.6 → 0.0.7
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/{annotateCPG0T3zR.js → annotate2o-1dfLI.js} +1 -1
- package/dist/components/annotateAI-JWSH6.js +1 -0
- package/dist/components/{annotateBZhYifBy.js → annotateC9P_HUni.js} +1 -1
- package/dist/components/annotateCvQBDtIU.js +123 -0
- package/dist/components/{arrowBJ1_uQ_E.js → arrowBciNhKeC.js} +1 -1
- package/dist/components/{arrowDownNi-pK4NR.js → arrowDownCQ4SyfeE.js} +1 -1
- package/dist/components/{arrowDownUoENEig7.js → arrowDownClJawdrb.js} +1 -1
- package/dist/components/{arrowLeftBjlKltMm.js → arrowLeftBfE-rUOd.js} +1 -1
- package/dist/components/{arrowLeftDNerwLPi.js → arrowLeftDXKznfa7.js} +1 -1
- package/dist/components/{arrowRight44qqQj9S.js → arrowRightBFIf561u.js} +1 -1
- package/dist/components/{arrowRightMPKmxcZ8.js → arrowRightDD_81Jxi.js} +1 -1
- package/dist/components/{arrowUpDNv09R_q.js → arrowUpBWJ4tPxX.js} +1 -1
- package/dist/components/{arrowUpu-KhVqDz.js → arrowUpCW9dIkdT.js} +1 -1
- package/dist/components/{arrowDFlQxMKW.js → arrowqYc4Vwqs.js} +1 -1
- package/dist/components/{channelDTeDAbXs.js → channelB-5CsDgJ.js} +1 -1
- package/dist/components/{channelCzSNjDqs.js → channelDQ0dcclf.js} +1 -1
- package/dist/components/{checkD58Lt_t9.js → checkDCUaoqtc.js} +1 -1
- package/dist/components/{checkDg1XwTUE.js → checkDv3SyUAt.js} +1 -1
- package/dist/components/{configFTiUKUAQ.js → configBG9sz92K.js} +1 -1
- package/dist/components/{configDTj11Wdw.js → configD1oGPTSe.js} +1 -1
- package/dist/components/customBiZeClOe.js +39 -0
- package/dist/components/customDNmw3TmQ.js +1 -0
- package/dist/components/{deleteBIUy0hW2.js → deleteAeZFc9Ps.js} +1 -1
- package/dist/components/{deleteCeXlMQda.js → deletet8ykhJaO.js} +1 -1
- package/dist/components/{dotBcz-OP0B.js → dotB2osXT1L.js} +1 -1
- package/dist/components/{dotDpCmvPJC.js → dotBXbuJdtx.js} +1 -1
- package/dist/components/dotBi8Aw3pw.js +113 -0
- package/dist/components/dotCj7nxagF.js +1 -0
- package/dist/components/{downloadnu9isJ53.js → downloadBPXmLTeR.js} +1 -1
- package/dist/components/downloadBsgfGz04.js +79 -0
- package/dist/components/downloadDqEDdAXm.js +1 -0
- package/dist/components/{downloadBs4QK_IT.js → downloadpQ-y7WlA.js} +1 -1
- package/dist/components/{flipvyz7dJPZ.js → flipRSac65ir.js} +1 -1
- package/dist/components/{flipBwR2T8Rs.js → flipi9yEEtLG.js} +1 -1
- package/dist/components/fullscreenBZwo5K13.js +1 -0
- package/dist/components/{fullscreenyNOuxxJv.js → fullscreenBnIlw4_E.js} +1 -1
- package/dist/components/{fullscreenCVgGTPtD.js → fullscreenDS7i-f5F.js} +1 -1
- package/dist/components/fullscreenhc8QDZIL.js +51 -0
- package/dist/components/indexCbr7K6Yq.js +2843 -0
- package/dist/components/indexMzBpWXyM.js +4 -0
- package/dist/components/{infoC4fRWu15.js → infoBNq0rH3E.js} +1 -1
- package/dist/components/{infoCDweeRWp.js → infoCU8_TgkY.js} +1 -1
- package/dist/components/{levelDjuyEKmz.js → levelC0LnNmSP.js} +1 -1
- package/dist/components/{levelDjZ5vvyy.js → levelDYvedJFa.js} +1 -1
- package/dist/components/{microscopeDCINdehp.js → microscopeBr8-XStr.js} +1 -1
- package/dist/components/{microscopeDptxRPdj.js → microscopeCiYvQsyw.js} +1 -1
- package/dist/components/microscopeDMLPoAJp.js +132 -0
- package/dist/components/microscopeE9Kqv-Pu.js +1 -0
- package/dist/components/moveB-HST0mB.js +74 -0
- package/dist/components/{moveB-QJFdLP.js → moveBASWwKjj.js} +1 -1
- package/dist/components/moveBu-wHLhg.js +1 -0
- package/dist/components/{moveCNc2f0wf.js → moveNyavIpT3.js} +1 -1
- package/dist/components/{nextBX5bmT1e.js → nextDsMto_p-.js} +1 -1
- package/dist/components/{next-o3fIifP.js → nextcOKttjz3.js} +1 -1
- package/dist/components/{prevDRvSbFTC.js → prevB1Bq4rF3.js} +1 -1
- package/dist/components/{prevkbxOICn5.js → prevnbS-kjx3.js} +1 -1
- package/dist/components/{processh0Wf3Q99.js → processBAx9XRyY.js} +1 -1
- package/dist/components/processBM18h6Qd.js +1 -0
- package/dist/components/{processD06c6uax.js → processD9bf999H.js} +1 -1
- package/dist/components/{processBHqsEap8.js → processQaCeq-7y.js} +65 -62
- package/dist/components/{rotateCm7bVQY_.js → rotateANr_UwKh.js} +1 -1
- package/dist/components/{rotateCxZ7Z2pw.js → rotateBseHg5iL.js} +1 -1
- package/dist/components/rotateC63rgVZz.js +1 -0
- package/dist/components/rotateDG77ULy7.js +131 -0
- package/dist/components/{settingCzWjOOeH.js → settingCDSCrpW7.js} +1 -1
- package/dist/components/settingCrFlPK23.js +1 -0
- package/dist/components/settingDxud32Gv.js +147 -0
- package/dist/components/{settinghh-xgIto.js → settingN7OnPn3C.js} +1 -1
- package/dist/components/{tailorBalVOrgz.js → tailorCIVAqMFR.js} +1 -1
- package/dist/components/{tailorCvZYsl2H.js → tailorDwORSrp6.js} +1 -1
- package/dist/components/{useCommonDs02MG_d.js → useCommonBCMuQZUh.js} +1 -1
- package/dist/components/{useCommonBBhfDvWF.js → useCommonDf_LQLq6.js} +1 -1
- package/dist/components/zoom5nzfwbaS.js +1 -0
- package/dist/components/zoomBUaHoVgA.js +63 -0
- package/dist/components/{zoomInBFjk_aLI.js → zoomInCML6d0KQ.js} +1 -1
- package/dist/components/{zoomIn8-tgvQFE.js → zoomInCQuBW71J.js} +1 -1
- package/dist/components/{zoomOutC4Ami8gE.js → zoomOutBWAYvxae.js} +1 -1
- package/dist/components/{zoomOutD3_PopeU.js → zoomOutDFjiTeeB.js} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.es.js +1 -1
- package/package.json +4 -4
- package/types/components/KfbView/useLabel.d.ts +2 -1
- package/dist/components/annotateCqAOjkGt.js +0 -132
- package/dist/components/annotateDfW6BtgB.js +0 -1
- package/dist/components/customLw3nDjEr.js +0 -48
- package/dist/components/customSv562l99.js +0 -1
- package/dist/components/dotC4Q5qfQ3.js +0 -122
- package/dist/components/dotDO8OTl1O.js +0 -1
- package/dist/components/downloadCyOnwVa8.js +0 -1
- package/dist/components/downloadGCe-OpHT.js +0 -88
- package/dist/components/fullscreenBeGbvwYS.js +0 -1
- package/dist/components/fullscreenDvfoQFJX.js +0 -60
- package/dist/components/indexCBVjt8NT.js +0 -4
- package/dist/components/indexDOcglE90.js +0 -2948
- package/dist/components/microscopeB6hcfWtD.js +0 -1
- package/dist/components/microscopeD4o4Sywm.js +0 -129
- package/dist/components/moveBM4KQ8bE.js +0 -83
- package/dist/components/movemH2hKtp1.js +0 -1
- package/dist/components/processBqhO-55V.js +0 -1
- package/dist/components/rotateBdsvaWJ_.js +0 -140
- package/dist/components/rotateCyw4Ggca.js +0 -1
- package/dist/components/settingC3yidTns.js +0 -156
- package/dist/components/settingDDEEOrtI.js +0 -1
- package/dist/components/zoomCWKzKF3-.js +0 -1
- package/dist/components/zoomcWHR4OY6.js +0 -72
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("vue"),t=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("vue"),t=require("./indexMzBpWXyM.js"),n={},o={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};function r(d,e){return C.openBlock(),C.createElementBlock("svg",o,e[0]||(e[0]=[C.createElementVNode("g",{id:"24*24/设置"},[C.createElementVNode("path",{id:"Subtract","fill-rule":"evenodd","clip-rule":"evenodd",d:"M21.8811 9.11141L21.9182 9.16079C21.9799 9.25956 22.017 9.38301 21.9923 9.50646V14.494C21.9923 14.6175 21.9676 14.7409 21.9058 14.8397L21.8688 14.8891C21.7453 15.0989 21.523 15.2347 21.2761 15.2347C21.202 15.2347 21.1155 15.2224 21.0414 15.1977C20.9179 15.1607 20.7945 15.136 20.6586 15.136C20.0782 15.136 19.4855 15.531 19.1398 16.1236C18.7076 16.8643 18.7816 17.7902 19.3003 18.2223C19.5596 18.4445 19.6337 18.8025 19.4608 19.0988L19.4114 19.1729C19.362 19.2717 19.2632 19.3581 19.1645 19.4198L14.8425 21.9136C14.7313 21.963 14.6202 22 14.4967 22H14.3609C14.0398 22 13.7681 21.7778 13.6941 21.4568C13.5582 20.8148 12.8297 20.3457 12.0023 20.3457C11.175 20.3457 10.4464 20.8272 10.3106 21.4568C10.2488 21.7778 9.9648 22 9.64374 22H9.5079C9.38442 22 9.26093 21.9753 9.16214 21.9136L4.82781 19.4322C4.72902 19.3828 4.64258 19.284 4.58084 19.1852L4.5191 19.0865C4.35857 18.8025 4.42031 18.4445 4.66728 18.2223C5.16122 17.8026 5.22297 16.926 4.80312 16.1977C4.46971 15.6051 3.88932 15.2224 3.33364 15.2224C3.21016 15.2224 3.08667 15.2471 2.97553 15.2841C2.90144 15.3088 2.82735 15.3211 2.75326 15.3211C2.50629 15.3211 2.28402 15.1853 2.16053 14.9755L2.08644 14.852C2.03705 14.7409 2 14.6298 2 14.5063V9.50646C2 9.38301 2.0247 9.25956 2.08644 9.16079L2.11114 9.08672C2.23462 8.87685 2.4569 8.74105 2.70387 8.74105C2.79031 8.74105 2.87675 8.76574 2.95084 8.79043C3.08667 8.83981 3.2225 8.8645 3.35834 8.8645C3.95107 8.8645 4.5438 8.4818 4.87721 7.88922C5.3094 7.13615 5.22297 6.23493 4.69198 5.7905C4.43266 5.56828 4.35857 5.21027 4.53145 4.91398L4.58084 4.82756C4.63024 4.7288 4.72902 4.64238 4.82781 4.58065L9.17449 2.08688C9.28563 2.0375 9.39677 2.00047 9.52025 2.00047H9.65609C9.97715 1.98812 10.2488 2.22268 10.3229 2.53132C10.4587 3.14859 11.1873 3.60537 12.0147 3.60537C12.842 3.60537 13.5706 3.13624 13.7064 2.53132C13.7681 2.22268 14.0522 2.00047 14.3732 2.00047H14.5091C14.6325 2.00047 14.756 2.02516 14.8548 2.08688L19.1768 4.58065C19.2756 4.64238 19.362 4.7288 19.4238 4.82756L19.4608 4.88929C19.6337 5.18558 19.572 5.55594 19.3126 5.76581C18.7569 6.22259 18.6829 7.14849 19.1151 7.90156C19.4485 8.49414 20.0535 8.87685 20.6339 8.87685C20.7821 8.87685 20.9179 8.85216 21.0538 8.80278C21.1279 8.77809 21.202 8.76574 21.2884 8.76574C21.5354 8.76574 21.7576 8.90154 21.8811 9.11141ZM7 12C7 14.76 9.24 17 12 17C14.76 17 17 14.76 17 12C17 9.24 14.76 7 12 7C9.24 7 7 9.24 7 12Z"})],-1)]))}const c=t._export_sfc(n,[["render",r]]);exports.default=c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),V=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),V=require("./indexMzBpWXyM.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.createElementVNode("g",{id:"24*24/框选"},[e.createElementVNode("path",{id:"Vector",d:"M6.00001 1.94995H7.95001V3.89995H6.00001V1.94995ZM1.95001 13.95H3.90001V15.9H1.95001V13.95ZM13.95 1.94995H15.9V3.89995H13.95V1.94995ZM1.95001 10.05H3.90001V12H1.95001V10.05ZM10.05 1.94995H12V3.89995H10.05V1.94995ZM21.9 21.3V17.4L19.95 18L21.9 21.3ZM1.95001 5.99995H3.90001V7.94995H1.95001V5.99995Z"}),e.createElementVNode("path",{id:"Vector_2",d:"M21.75 8.24995C21.6 8.09995 21.3 7.94995 21 7.94995H16.05V5.99995H13.95V7.94995H9.00001C8.70001 7.94995 8.55001 8.09995 8.25001 8.24995C8.10001 8.54995 7.95001 8.69995 7.95001 8.99995V13.95H6.00001V15.9H7.95001V21C7.95001 21.3 8.10001 21.45 8.25001 21.75C8.40001 21.9 8.70001 22.05 9.00001 22.05H20.1L18.3 18.9L16.05 21V12.9L22.05 16.35V8.99995C22.05 8.69995 21.9 8.54995 21.75 8.24995ZM1.95001 1.94995H3.90001V3.89995H1.95001V1.94995Z"})],-1)]))}const H=V._export_sfc(o,[["render",n]]);exports.default=H;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),n=require("./
|
|
1
|
+
"use strict";const e=require("vue"),n=require("./indexMzBpWXyM.js"),u={size:24,isPrevent:!1};function c(){const t=e.inject("show-text",{value:!0}),{t:o}=n.useLocalI18n(),s=e.computed(()=>t.value?"hzzt-kfb-toolbox__text":"hzzt-kfb-toolbox__tooltip");return{showText:t,t:o,textClass:s}}exports.defaultProps=u;exports.useCommon=c;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("element-plus"),_=require("./indexMzBpWXyM.js"),b={class:"hzzt-kfb-toolbox-zoom"},z=["data-index","onClick"],k={class:"hzzt-kfb-toolbox__text"},p={class:"hzzt-kfb-toolbox-zoom__button"},x=e.defineComponent({name:"ToolZoom",__name:"zoom",emits:["tool"],setup(v,{emit:r}){var c;const u=r,t=e.inject("kfbViewRef"),m=[{scaleNum:2,style:"background-color: rgba(0, 0, 0, 0.5)"},{scaleNum:4,style:"background-color: rgba(0, 0, 0, 0.6)"},{scaleNum:10,style:"background-color: rgba(0, 0, 0, 0.7)"},{scaleNum:20,style:"background-color: rgba(0, 0, 0, 0.8)"},{scaleNum:40,style:"background-color: rgba(0, 0, 0, 0.8)"}],n=e.ref(`${((c=t==null?void 0:t.value)==null?void 0:c.zoom)||"0x"}`);e.watch(()=>{var o;return(o=t==null?void 0:t.value)==null?void 0:o.zoom},o=>{n.value=`${o}x`});function s(o){u("tool","zoom",o)}return(o,a)=>(e.openBlock(),e.createElementBlock("div",b,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(m,(l,d)=>e.createElementVNode("div",{key:d,class:"hzzt-kfb-toolbox__icon","data-index":l.scaleNum,onClick:N=>s(l.scaleNum)},[e.createElementVNode("span",k,e.toDisplayString(l.scaleNum)+"x",1)],8,z)),64)),e.createElementVNode("div",p,[e.createVNode(e.unref(i.ElInput),{modelValue:n.value,"onUpdate:modelValue":a[0]||(a[0]=l=>n.value=l),class:"hzzt-kfb-toolbox-zoom__input",onKeydown:a[1]||(a[1]=e.withKeys(l=>s(Number(n.value.replace("x",""))),["enter"]))},null,8,["modelValue"])])]))}}),g=_._export_sfc(x,[["__scopeId","data-v-af758f1f"]]);exports.default=g;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { defineComponent as b, inject as z, ref as p, watch as x, createElementBlock as r, openBlock as m, createElementVNode as s, Fragment as f, renderList as k, toDisplayString as g, createVNode as v, unref as N, withKeys as y } from "vue";
|
|
2
|
+
import { ElInput as h } from "element-plus";
|
|
3
|
+
import { _ as V } from "./indexCbr7K6Yq.js";
|
|
4
|
+
const w = { class: "hzzt-kfb-toolbox-zoom" }, $ = ["data-index", "onClick"], C = { class: "hzzt-kfb-toolbox__text" }, E = { class: "hzzt-kfb-toolbox-zoom__button" }, B = /* @__PURE__ */ b({
|
|
5
|
+
name: "ToolZoom",
|
|
6
|
+
__name: "zoom",
|
|
7
|
+
emits: ["tool"],
|
|
8
|
+
setup(I, { emit: u }) {
|
|
9
|
+
var c;
|
|
10
|
+
const d = u, e = z("kfbViewRef"), i = [
|
|
11
|
+
{
|
|
12
|
+
scaleNum: 2,
|
|
13
|
+
style: "background-color: rgba(0, 0, 0, 0.5)"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
scaleNum: 4,
|
|
17
|
+
style: "background-color: rgba(0, 0, 0, 0.6)"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
scaleNum: 10,
|
|
21
|
+
style: "background-color: rgba(0, 0, 0, 0.7)"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
scaleNum: 20,
|
|
25
|
+
style: "background-color: rgba(0, 0, 0, 0.8)"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
scaleNum: 40,
|
|
29
|
+
style: "background-color: rgba(0, 0, 0, 0.8)"
|
|
30
|
+
}
|
|
31
|
+
], l = p(`${((c = e == null ? void 0 : e.value) == null ? void 0 : c.zoom) || "0x"}`);
|
|
32
|
+
x(() => {
|
|
33
|
+
var o;
|
|
34
|
+
return (o = e == null ? void 0 : e.value) == null ? void 0 : o.zoom;
|
|
35
|
+
}, (o) => {
|
|
36
|
+
l.value = `${o}x`;
|
|
37
|
+
});
|
|
38
|
+
function n(o) {
|
|
39
|
+
d("tool", "zoom", o);
|
|
40
|
+
}
|
|
41
|
+
return (o, a) => (m(), r("div", w, [
|
|
42
|
+
(m(), r(f, null, k(i, (t, _) => s("div", {
|
|
43
|
+
key: _,
|
|
44
|
+
class: "hzzt-kfb-toolbox__icon",
|
|
45
|
+
"data-index": t.scaleNum,
|
|
46
|
+
onClick: (K) => n(t.scaleNum)
|
|
47
|
+
}, [
|
|
48
|
+
s("span", C, g(t.scaleNum) + "x", 1)
|
|
49
|
+
], 8, $)), 64)),
|
|
50
|
+
s("div", E, [
|
|
51
|
+
v(N(h), {
|
|
52
|
+
modelValue: l.value,
|
|
53
|
+
"onUpdate:modelValue": a[0] || (a[0] = (t) => l.value = t),
|
|
54
|
+
class: "hzzt-kfb-toolbox-zoom__input",
|
|
55
|
+
onKeydown: a[1] || (a[1] = y((t) => n(Number(l.value.replace("x", ""))), ["enter"]))
|
|
56
|
+
}, null, 8, ["modelValue"])
|
|
57
|
+
])
|
|
58
|
+
]));
|
|
59
|
+
}
|
|
60
|
+
}), D = /* @__PURE__ */ V(B, [["__scopeId", "data-v-af758f1f"]]);
|
|
61
|
+
export {
|
|
62
|
+
D as default
|
|
63
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./indexMzBpWXyM.js"),o={},l={t:"1748500532947",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"10927",width:"32",height:"32"};function r(i,t){return e.openBlock(),e.createElementBlock("svg",l,t[0]||(t[0]=[e.createElementVNode("path",{d:"M919.264 905.984l-138.912-138.912C851.808 692.32 896 591.328 896 480c0-229.376-186.624-416-416-416S64 250.624 64 480s186.624 416 416 416c95.008 0 182.432-32.384 252.544-86.208l141.44 141.44a31.904 31.904 0 0 0 45.248 0 32 32 0 0 0 0.032-45.248zM128 480C128 285.92 285.92 128 480 128s352 157.92 352 352-157.92 352-352 352S128 674.08 128 480z","p-id":"10928",fill:"#333333"},null,-1),e.createElementVNode("path",{d:"M625.792 448H336a32 32 0 0 0 0 64h289.792a32 32 0 1 0 0-64z","p-id":"10929",fill:"#333333"},null,-1)]))}const c=n._export_sfc(o,[["render",r]]);exports.default=c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./indexMzBpWXyM.js"),c={},o={t:"1748500019773",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9740",width:"32",height:"32"};function s(i,t){return e.openBlock(),e.createElementBlock("svg",o,t[0]||(t[0]=[e.createElementVNode("path",{d:"M919.264 905.984l-138.912-138.912C851.808 692.32 896 591.328 896 480c0-229.376-186.624-416-416-416S64 250.624 64 480s186.624 416 416 416c95.008 0 182.432-32.384 252.544-86.208l141.44 141.44a31.904 31.904 0 0 0 45.248 0 32 32 0 0 0 0.032-45.248zM128 480C128 285.92 285.92 128 480 128s352 157.92 352 352-157.92 352-352 352S128 674.08 128 480z","p-id":"9741",fill:"#333333","data-spm-anchor-id":"a313x.search_index.0.i5.3c223a8142DgM6",class:"selected"},null,-1),e.createElementVNode("path",{d:"M625.792 448H512v-112a32 32 0 0 0-64 0V448h-112a32 32 0 0 0 0 64H448v112a32 32 0 1 0 64 0V512h113.792a32 32 0 1 0 0-64z","p-id":"9742",fill:"#333333"},null,-1)]))}const l=n._export_sfc(c,[["render",s]]);exports.default=l;
|
package/dist/index.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./components/
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./components/indexMzBpWXyM.js");exports.HzztKfbSlide=e._sfc_main;exports.HzztKfbToolbox=e._sfc_main$2;exports.HzztKfbView=e._sfc_main$1;exports.default=e.index;
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.hzzt-kfb-tool-config{--hzzt-kfb-tool-config-title-font-size: 20px;--hzzt-kfb-tool-config-title-color: #000000;--hzzt-kfb-tool-config-font-size: 14px;--hzzt-kfb-tool-config-color: #000000;--hzzt-kfb-tool-config-icon-color: #ffffff;--hzzt-kfb-tool-config-icon-background-color: #000000;--hzzt-kfb-tool-config-block-background-color: #ffffff;font-size:var(--hzzt-kfb-tool-config-font-size);color:var(--hzzt-kfb-tool-config-color)}.hzzt-kfb-tool-config__title{font-size:var(--hzzt-kfb-tool-config-title-font-size);color:var(--hzzt-kfb-tool-config-title-color)}.hzzt-kfb-tool-config__icon{width:48px;height:48px;border-radius:100%;color:var(--hzzt-kfb-tool-config-icon-color);background-color:var(--hzzt-kfb-tool-config-icon-background-color)}.hzzt-kfb-tool-config__block{width:240px;padding:8px;margin-bottom:8px;background-color:var(--hzzt-kfb-tool-config-block-background-color);border:var(--el-border)}.hzzt-kfb-toolbox{--hzzt-kfb-toolbox-padding: 8px 0;--hzzt-kfb-toolbox-font-size: 12px;--hzzt-kfb-toolbox-background-color: #fff;--hzzt-kfb-toolbox-icon-width: 40px;--hzzt-kfb-toolbox-icon-color: #000000;--hzzt-kfb-toolbox-icon-hover-color: #FFFFFF;--hzzt-kfb-toolbox-icon-hover-background-color: #424D68;--hzzt-kfb-toolbox-tooltip-color: #FFFFFF;--hzzt-kfb-toolbox-tooltip-background-color: #0655C3;--hzzt-kfb-toolbox-text-color: #000000;--hzzt-kfb-toolbox-text-hover-color: #FFFFFF;display:flex;align-items:center;justify-content:space-between;background-color:var(--hzzt-kfb-toolbox-background-color);padding:var(--hzzt-kfb-toolbox-padding);font-size:var(--hzzt-kfb-toolbox-font-size);position:relative;border-bottom:1px solid var(--hzzt-border-color, #DCDCDC);width:100%}.hzzt-kfb-toolbox__component{display:flex;flex:1;align-items:center;justify-content:center}.hzzt-kfb-toolbox__icon{min-width:var(--hzzt-kfb-toolbox-icon-width);color:var(--hzzt-kfb-toolbox-icon-color);display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;position:relative;margin:0 4px}.hzzt-kfb-toolbox__icon:hover{color:var(--hzzt-kfb-toolbox-icon-hover-color);background:var(--hzzt-kfb-toolbox-icon-hover-background-color);border-radius:4px}.hzzt-kfb-toolbox__icon:hover .hzzt-kfb-toolbox__tooltip{display:flex}.hzzt-kfb-toolbox__icon:hover .hzzt-kfb-toolbox__text{color:var(--hzzt-kfb-toolbox-text-hover-color)}.hzzt-kfb-toolbox__tooltip{align-items:center;justify-content:center;background-color:var(--hzzt-kfb-toolbox-tooltip-background-color);position:absolute;color:var(--hzzt-kfb-toolbox-tooltip-color);padding:2px 4px;border-radius:4px;top:30px;display:none;white-space:nowrap;z-index:9999}.hzzt-kfb-toolbox__text{color:var(--hzzt-kfb-toolbox-text-color)}.hzzt-kfb-toolbox__line{--hzzt-kfb-toolbox-line-color: #A8ABB2;margin:0 8px;width:1px;height:20px;background:var(--hzzt-kfb-toolbox-line-color)}.hzzt-kfb-toolbox-rotate__angle .el-input-number{width:120PX}.hzzt-kfb-toolbox-rotate__btn{--hzzt-kfb-toolbox-rotate-btn-backgroud-color: #3B55BF;cursor:pointer;width:10px;height:10px;background:var(--hzzt-kfb-toolbox-rotate-btn-backgroud-color);z-index:2}.hzzt-kfb-toolbox-rotate__container{width:64px;height:64px}.hzzt-kfb-toolbox-rotate__img{cursor:pointer;-webkit-user-select:none;user-select:none;width:100%;height:100%}.hzzt-kfb-toolbox-zoom{display:flex;--hzzt-kfb-toolbox-zoom-backgroud-color: #F3F3F4}.hzzt-kfb-toolbox-zoom__button{font-size:16px;line-height:16px;margin-left:2px;height:32px;background:var(--hzzt-kfb-toolbox-zoom-backgroud-color);border-radius:4px;border:1px solid #DCDDE1}.hzzt-kfb-toolbox-zoom__input{width:60px;height:30px;--el-input-bg-color: getCssVarNoName($B, "backgroud-color");--el-input-text-color: #000;--el-input-border: none}.hzzt-kfb-toolbox-zoom__input .el-input__wrapper{box-shadow:none}.hzzt-kfb-toolbox-zoom__input .el-input__wrapper .el-input__inner{font-size:16px;font-weight:600}.el-popover-padding-0{--el-popover-padding: 0 }.hzzt-kfb-menu[data-v-739aad62]{position:absolute;display:none;background:#fff;box-shadow:var(--el-box-shadow);border-radius:var(--el-border-radius-base);padding:8px 0;font-size:14px}.hzzt-kfb-menu .hzzt-kfb-menu-item[data-v-739aad62]{min-width:200px;display:flex;align-items:center;justify-content:space-between;padding:6px 16px;position:relative;cursor:pointer;line-height:1}.hzzt-kfb-menu .hzzt-kfb-menu-item[data-v-739aad62]:hover{background:var(--el-color-info-light-8)}.hzzt-kfb-menu .hzzt-kfb-menu-item:hover .hzzt-kfb-sub-menu[data-v-739aad62]{display:block}.hzzt-kfb-menu .hzzt-kfb-menu-item .hzzt-kfb-sub-menu[data-v-739aad62]{position:absolute;display:none;left:0;top:0;transform:translate(200px);box-shadow:var(--el-box-shadow);border-radius:var(--el-border-radius-base);padding:8px 0;background:#fff}.hzzt-kfb-menu .hzzt-kfb-menu-item .hzzt-kfb-sub-menu .hzzt-kfb-menu-item[data-v-739aad62],.hzzt-kfb-menu[data-v-739aad62] .el-cascader-menu{min-width:auto}.hzzt-kfb-menu[data-v-739aad62] .el-cascader-menu .el-cascader-node__label{display:flex;align-items:center;padding:0 16px 0 8px}.hzzt-kfb-menu[data-v-739aad62] .el-cascader-menu .el-cascader-menu__wrap.el-scrollbar__wrap{height:auto}.hzzt-kfb-microscope[data-v-e8b36101]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}.hzzt-kfb-microscope .hzzt-kfb-microscope__container[data-v-e8b36101]{border:2px dashed red;border-radius:50%;min-width:24px;min-height:24px}.hzzt-kfb-microscope .hzzt-kfb-microscope__top[data-v-e8b36101]{width:18px;height:18px;position:absolute;top:-20px;left:50%;cursor:pointer;transform:translate(-50%);pointer-events:auto}.hzzt-kfb-microscope .hzzt-kfb-microscope__bottom[data-v-e8b36101]{width:18px;height:18px;position:absolute;bottom:-20px;left:50%;cursor:pointer;transform:translate(-50%);pointer-events:auto}.hzzt-kfb-microscope .hzzt-kfb-microscope__left[data-v-e8b36101]{width:18px;height:18px;position:absolute;left:-20px;top:50%;cursor:pointer;transform:translateY(-50%);pointer-events:auto}.hzzt-kfb-microscope .hzzt-kfb-microscope__right[data-v-e8b36101]{width:18px;height:18px;position:absolute;right:-20px;top:50%;cursor:pointer;transform:translateY(-50%);pointer-events:auto}.hzzt-kfb-label[data-v-7397de48]{position:absolute;top:0;left:0;background:#fff;color:#000}.hzzt-kfb-label .hzzt-kfb-label__title[data-v-7397de48]{font-size:12px;color:#000;padding:0 4px}.hzzt-kfb-label .hzzt-kfb-label__img[data-v-7397de48]{cursor:pointer;background:#0000004d}.hzzt-kfb-label .hzzt-kfb-label__img img[data-v-7397de48]{height:120px;width:120px}.hzzt-kfb-label .hzzt-kfb-label__pathology[data-v-7397de48]{--set-patholgy-height: 20px;height:var(--set-patholgy-height);font-size:12px;width:100%;display:flex;align-items:center;cursor:pointer;padding:2px 4px;border:1px solid var(--el-border-color)}.hzzt-kfb-label .hzzt-kfb-label__expend[data-v-7397de48]{position:absolute;--expand-button-width: 10px;width:var(--expand-button-width);height:40px;top:50%;transform:translateY(-50%);right:calc(-1 * var(--expand-button-width));background:#0006;border-radius:0 6px 6px 0;cursor:pointer;color:#fff}.hzzt-kfb-keyword[data-v-c8d940f0]{position:absolute;bottom:5px;left:50%;width:156px;margin-left:-78px}.hzzt-kfb-keyword .hzzt-kfb-keyword__code[data-v-c8d940f0]{margin:2px;width:48px;height:48px;background-color:#c8c8c880;color:#333;cursor:pointer}.hzzt-kfb-keyword .hzzt-kfb-keyword__code[data-v-c8d940f0]:hover{background-color:#bebebecc}.hzzt-kfb-level{position:absolute;right:50px;bottom:300px;height:200px;width:30px;border-radius:4px;background:#00000040}.hzzt-kfb-level .el-slider__runway{background-color:#00000080}.hzzt-kfb-level .el-slider__bar{background-color:unset}.hzzt-kfb-level .el-slider__stop{background-color:#e2e2e2}.hzzt-kfb-level--large{height:250px}.hzzt-kfb-channel{position:absolute;bottom:20px;right:50px;border:1px solid #000;border-radius:4px;background:#fff9}.hzzt-kfb-channel__box{min-width:48px;height:32px;margin:0 2px;border-radius:2px;cursor:pointer;text-align:center;line-height:32px;font-weight:700;border-left:1px solid #000;border-right:1px solid #000}.hzzt-kfb-channel__box--unactive{background:#fff!important;color:#000}.hzzt-kfb-channel__box:last-child{margin-right:0;border-right:unset}.hzzt-kfb-view{position:relative}.hzzt-kfb-view__main{width:100%;height:100%}.hzzt-kfb-view__filter{position:absolute}.hzzt-kfb-view__hotmap{position:absolute;left:0;top:0;height:100%;width:2px;color:red;background:red;z-index:999}.hzzt-kfb-view__hotmap .icon-caret-left{position:absolute;top:50%;left:-22px;color:red;font-size:30px;transform:translateY(-50%);cursor:pointer;-webkit-user-select:none;user-select:none}.hzzt-kfb-view__hotmap .icon-caret-right{position:absolute;top:50%;left:-7px;color:red;font-size:30px;transform:translateY(-50%);cursor:pointer;-webkit-user-select:none;user-select:none}.hzzt-kfb-view__tag{position:absolute;right:4px;top:4px;z-index:999}.hzzt-kfb-img-triangle-left:after{content:"";position:absolute;left:-10px;top:50%;transform:translate(-50%);width:0;height:0;border:10px solid transparent;border-right-color:#000c}.hzzt-kfb-slides[data-v-c2a1a22e]{background-color:#fff;box-sizing:border-box;display:flex;flex-direction:column;height:100%;width:100%;overflow:auto;border-right:2px solid #DCDCDC}.hzzt-kfb-slides__row[data-v-c2a1a22e]{align-items:center;display:flex;flex:1;flex-direction:column;overflow:hidden;min-height:0;padding:0 8px;font-size:12px}.hzzt-kfb-slides__top[data-v-c2a1a22e]{align-items:center;display:flex;justify-content:space-between;overflow:hidden;width:100%;font-size:14px;margin:4px 0;color:#000}.hzzt-kfb-slides__top .text-primary[data-v-c2a1a22e]{color:var(--el-color-primary)}.hzzt-kfb-slides__box[data-v-c2a1a22e]{border:1px solid #DCDDE1;border-radius:5px;background-color:#f2f3ff;cursor:pointer;width:100%;padding:6px;margin-bottom:8px;position:relative;overflow:hidden}.hzzt-kfb-slides__box--active[data-v-c2a1a22e]{border:2px solid #366EF4}.hzzt-kfb-slides__gallery[data-v-c2a1a22e]{display:flex;position:relative;overflow:hidden;border-radius:4px}.hzzt-kfb-slides__img[data-v-c2a1a22e]{width:100px;max-height:100px}.hzzt-kfb-slides__img1[data-v-c2a1a22e]{max-height:100px}.hzzt-kfb-slides__read[data-v-c2a1a22e]{position:absolute;top:6px;z-index:2;left:6px;width:32px;height:16px;background:var(--el-color-danger);color:#fff;border-radius:999px;text-align:center;line-height:16px}.hzzt-kfb-slides__grade[data-v-c2a1a22e]{position:absolute;top:6px;z-index:2;right:6px;width:32px;height:16px;color:#fff;border-radius:999px;text-align:center;line-height:16px}.hzzt-kfb-slides__header[data-v-c2a1a22e]{display:flex;align-items:center;height:30px}.hzzt-kfb-slides__text[data-v-c2a1a22e]{width:100%}.hzzt-kfb-slides .w-10\%[data-v-c2a1a22e]{width:10%}.hzzt-kfb-slides .w-20\%[data-v-c2a1a22e]{width:20%}.hzzt-kfb-slides .w-30\%[data-v-c2a1a22e]{width:30%}.hzzt-kfb-slides .w-40\%[data-v-c2a1a22e]{width:40%}.hzzt-kfb-slides .text-center[data-v-c2a1a22e]{text-align:center}.hzzt-kfb-ai{--hzzt-kfb-ai-background-color: #fff;--hzzt-kfb-ai-font-size: 14px;--hzzt-kfb-ai-img-width: 100px;--hzzt-kfb-ai-height-width: 100px;background-color:var(--hzzt-kfb-ai-background-color);font-size:var(--hzzt-kfb-ai-font-size);box-sizing:border-box;display:flex;flex-direction:column;height:100%}.hzzt-kfb-ai__img{border:2px solid var(--el-border-color);border-radius:3px;cursor:pointer;margin-bottom:4px;margin-right:4px;width:calc(var(--hzzt-kfb-ai-img-width) + 4px)}.hzzt-kfb-ai__img--active{border-color:var(--el-color-primary)}.hzzt-kfb-ai__img img{display:block;height:var(--hzzt-kfb-ai-img-height);object-fit:contain;overflow:hidden;width:var(--hzzt-kfb-ai-img-width)}.label-sub-title{border-top:1px solid #eee;font-size:14px;font-weight:700}.hzzt-kfb-slide{width:100%;height:100%;display:flex;flex-direction:column}.hzzt-kfb-slide .hzzt-kfb-view{height:100%;width:100%;overflow:hidden}.hzzt-kfb-slide .hzzt-kfb-view-screen-active{box-shadow:0 4px 10px #00000080;border:2px solid var(--el-color-primary)!important}.el-card[data-v-3599775b],.el-card[data-v-0141cae6],.el-card[data-v-ca4687d6]{border:none;--el-card-padding: 12px}.hzzt-kfb-toolbox-dot__box[data-v-ca4687d6]{width:24px;height:24px;border-radius:4px;margin:0 4px;cursor:pointer}.hzzt-kfb-toolbox-dot__box[data-v-ca4687d6]:hover{opacity:.8}.hzzt-kfb-toolbox-annotate-img[data-v-71f2944f]{cursor:pointer;padding:4px;width:40px;height:40px}.hzzt-kfb-toolbox-annotate-img[data-v-71f2944f]:hover{background:#84b5ff}.el-card[data-v-71f2944f],.el-card[data-v-bdb018f5],.el-card[data-v-fe8098cc]{border:none;--el-card-padding: 12px}.el-card[data-v-aa10a89d]{border:none}.hzzt-kfb-toolbox__icon[data-v-af758f1f]{font-size:16px;font-weight:600;margin:0;line-height:1}.el-card[data-v-b1632013]{border:none;--el-card-padding: 12px}
|
|
1
|
+
@charset "UTF-8";.hzzt-kfb-tool-config{--hzzt-kfb-tool-config-title-font-size: 20px;--hzzt-kfb-tool-config-title-color: #000000;--hzzt-kfb-tool-config-font-size: 14px;--hzzt-kfb-tool-config-color: #000000;--hzzt-kfb-tool-config-icon-color: #ffffff;--hzzt-kfb-tool-config-icon-background-color: #000000;--hzzt-kfb-tool-config-block-background-color: #ffffff;font-size:var(--hzzt-kfb-tool-config-font-size);color:var(--hzzt-kfb-tool-config-color)}.hzzt-kfb-tool-config__title{font-size:var(--hzzt-kfb-tool-config-title-font-size);color:var(--hzzt-kfb-tool-config-title-color)}.hzzt-kfb-tool-config__icon{width:48px;height:48px;border-radius:100%;color:var(--hzzt-kfb-tool-config-icon-color);background-color:var(--hzzt-kfb-tool-config-icon-background-color)}.hzzt-kfb-tool-config__block{width:240px;padding:8px;margin-bottom:8px;background-color:var(--hzzt-kfb-tool-config-block-background-color);border:var(--el-border)}.hzzt-kfb-toolbox{--hzzt-kfb-toolbox-padding: 8px 0;--hzzt-kfb-toolbox-font-size: 12px;--hzzt-kfb-toolbox-background-color: #fff;--hzzt-kfb-toolbox-icon-width: 40px;--hzzt-kfb-toolbox-icon-color: #000000;--hzzt-kfb-toolbox-icon-hover-color: #FFFFFF;--hzzt-kfb-toolbox-icon-hover-background-color: #424D68;--hzzt-kfb-toolbox-tooltip-color: #FFFFFF;--hzzt-kfb-toolbox-tooltip-background-color: #0655C3;--hzzt-kfb-toolbox-text-color: #000000;--hzzt-kfb-toolbox-text-hover-color: #FFFFFF;display:flex;align-items:center;justify-content:space-between;background-color:var(--hzzt-kfb-toolbox-background-color);padding:var(--hzzt-kfb-toolbox-padding);font-size:var(--hzzt-kfb-toolbox-font-size);position:relative;border-bottom:1px solid var(--hzzt-border-color, #DCDCDC);width:100%}.hzzt-kfb-toolbox__component{display:flex;flex:1;align-items:center;justify-content:center}.hzzt-kfb-toolbox__icon{min-width:var(--hzzt-kfb-toolbox-icon-width);color:var(--hzzt-kfb-toolbox-icon-color);display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;position:relative;margin:0 4px}.hzzt-kfb-toolbox__icon:hover{color:var(--hzzt-kfb-toolbox-icon-hover-color);background:var(--hzzt-kfb-toolbox-icon-hover-background-color);border-radius:4px}.hzzt-kfb-toolbox__icon:hover .hzzt-kfb-toolbox__tooltip{display:flex}.hzzt-kfb-toolbox__icon:hover .hzzt-kfb-toolbox__text{color:var(--hzzt-kfb-toolbox-text-hover-color)}.hzzt-kfb-toolbox__tooltip{align-items:center;justify-content:center;background-color:var(--hzzt-kfb-toolbox-tooltip-background-color);position:absolute;color:var(--hzzt-kfb-toolbox-tooltip-color);padding:2px 4px;border-radius:4px;top:30px;display:none;white-space:nowrap;z-index:9999}.hzzt-kfb-toolbox__text{color:var(--hzzt-kfb-toolbox-text-color)}.hzzt-kfb-toolbox__line{--hzzt-kfb-toolbox-line-color: #A8ABB2;margin:0 8px;width:1px;height:20px;background:var(--hzzt-kfb-toolbox-line-color)}.hzzt-kfb-toolbox-rotate__angle .el-input-number{width:120PX}.hzzt-kfb-toolbox-rotate__btn{--hzzt-kfb-toolbox-rotate-btn-backgroud-color: #3B55BF;cursor:pointer;width:10px;height:10px;background:var(--hzzt-kfb-toolbox-rotate-btn-backgroud-color);z-index:2}.hzzt-kfb-toolbox-rotate__container{width:64px;height:64px}.hzzt-kfb-toolbox-rotate__img{cursor:pointer;user-select:none;width:100%;height:100%}.hzzt-kfb-toolbox-zoom{display:flex;--hzzt-kfb-toolbox-zoom-backgroud-color: #F3F3F4}.hzzt-kfb-toolbox-zoom__button{font-size:16px;line-height:16px;margin-left:2px;height:32px;background:var(--hzzt-kfb-toolbox-zoom-backgroud-color);border-radius:4px;border:1px solid #DCDDE1}.hzzt-kfb-toolbox-zoom__input{width:60px;height:30px;--el-input-bg-color: getCssVarNoName($B, "backgroud-color");--el-input-text-color: #000;--el-input-border: none}.hzzt-kfb-toolbox-zoom__input .el-input__wrapper{box-shadow:none}.hzzt-kfb-toolbox-zoom__input .el-input__wrapper .el-input__inner{font-size:16px;font-weight:600}.el-popover-padding-0{--el-popover-padding: 0 }.hzzt-kfb-menu[data-v-739aad62]{position:absolute;display:none;background:#fff;box-shadow:var(--el-box-shadow);border-radius:var(--el-border-radius-base);padding:8px 0;font-size:14px}.hzzt-kfb-menu .hzzt-kfb-menu-item[data-v-739aad62]{min-width:200px;display:flex;align-items:center;justify-content:space-between;padding:6px 16px;position:relative;cursor:pointer;line-height:1}.hzzt-kfb-menu .hzzt-kfb-menu-item[data-v-739aad62]:hover{background:var(--el-color-info-light-8)}.hzzt-kfb-menu .hzzt-kfb-menu-item:hover .hzzt-kfb-sub-menu[data-v-739aad62]{display:block}.hzzt-kfb-menu .hzzt-kfb-menu-item .hzzt-kfb-sub-menu[data-v-739aad62]{position:absolute;display:none;left:0;top:0;transform:translate(200px);box-shadow:var(--el-box-shadow);border-radius:var(--el-border-radius-base);padding:8px 0;background:#fff}.hzzt-kfb-menu .hzzt-kfb-menu-item .hzzt-kfb-sub-menu .hzzt-kfb-menu-item[data-v-739aad62],.hzzt-kfb-menu[data-v-739aad62] .el-cascader-menu{min-width:auto}.hzzt-kfb-menu[data-v-739aad62] .el-cascader-menu .el-cascader-node__label{display:flex;align-items:center;padding:0 16px 0 8px}.hzzt-kfb-menu[data-v-739aad62] .el-cascader-menu .el-cascader-menu__wrap.el-scrollbar__wrap{height:auto}.hzzt-kfb-microscope[data-v-e8b36101]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}.hzzt-kfb-microscope .hzzt-kfb-microscope__container[data-v-e8b36101]{border:2px dashed red;border-radius:50%;min-width:24px;min-height:24px}.hzzt-kfb-microscope .hzzt-kfb-microscope__top[data-v-e8b36101]{width:18px;height:18px;position:absolute;top:-20px;left:50%;cursor:pointer;transform:translate(-50%);pointer-events:auto}.hzzt-kfb-microscope .hzzt-kfb-microscope__bottom[data-v-e8b36101]{width:18px;height:18px;position:absolute;bottom:-20px;left:50%;cursor:pointer;transform:translate(-50%);pointer-events:auto}.hzzt-kfb-microscope .hzzt-kfb-microscope__left[data-v-e8b36101]{width:18px;height:18px;position:absolute;left:-20px;top:50%;cursor:pointer;transform:translateY(-50%);pointer-events:auto}.hzzt-kfb-microscope .hzzt-kfb-microscope__right[data-v-e8b36101]{width:18px;height:18px;position:absolute;right:-20px;top:50%;cursor:pointer;transform:translateY(-50%);pointer-events:auto}.hzzt-kfb-label[data-v-7397de48]{position:absolute;top:0;left:0;background:#fff;color:#000}.hzzt-kfb-label .hzzt-kfb-label__title[data-v-7397de48]{font-size:12px;color:#000;padding:0 4px}.hzzt-kfb-label .hzzt-kfb-label__img[data-v-7397de48]{cursor:pointer;background:#0000004d}.hzzt-kfb-label .hzzt-kfb-label__img img[data-v-7397de48]{height:120px;width:120px}.hzzt-kfb-label .hzzt-kfb-label__pathology[data-v-7397de48]{--set-patholgy-height: 20px;height:var(--set-patholgy-height);font-size:12px;width:100%;display:flex;align-items:center;cursor:pointer;padding:2px 4px;border:1px solid var(--el-border-color)}.hzzt-kfb-label .hzzt-kfb-label__expend[data-v-7397de48]{position:absolute;--expand-button-width: 10px;width:var(--expand-button-width);height:40px;top:50%;transform:translateY(-50%);right:calc(-1 * var(--expand-button-width));background:#0006;border-radius:0 6px 6px 0;cursor:pointer;color:#fff}.hzzt-kfb-keyword[data-v-c8d940f0]{position:absolute;bottom:5px;left:50%;width:156px;margin-left:-78px}.hzzt-kfb-keyword .hzzt-kfb-keyword__code[data-v-c8d940f0]{margin:2px;width:48px;height:48px;background-color:#c8c8c880;color:#333;cursor:pointer}.hzzt-kfb-keyword .hzzt-kfb-keyword__code[data-v-c8d940f0]:hover{background-color:#bebebecc}.hzzt-kfb-level{position:absolute;right:50px;bottom:300px;height:200px;width:30px;border-radius:4px;background:#00000040}.hzzt-kfb-level .el-slider__runway{background-color:#00000080}.hzzt-kfb-level .el-slider__bar{background-color:unset}.hzzt-kfb-level .el-slider__stop{background-color:#e2e2e2}.hzzt-kfb-level--large{height:250px}.hzzt-kfb-channel{position:absolute;bottom:20px;right:50px;border:1px solid #000;border-radius:4px;background:#fff9}.hzzt-kfb-channel__box{min-width:48px;height:32px;margin:0 2px;border-radius:2px;cursor:pointer;text-align:center;line-height:32px;font-weight:700;border-left:1px solid #000;border-right:1px solid #000}.hzzt-kfb-channel__box--unactive{background:#fff!important;color:#000}.hzzt-kfb-channel__box:last-child{margin-right:0;border-right:unset}.hzzt-kfb-view{position:relative}.hzzt-kfb-view__main{width:100%;height:100%}.hzzt-kfb-view__filter{position:absolute}.hzzt-kfb-view__hotmap{position:absolute;left:0;top:0;height:100%;width:2px;color:red;background:red;z-index:999}.hzzt-kfb-view__hotmap .icon-caret-left{position:absolute;top:50%;left:-22px;color:red;font-size:30px;transform:translateY(-50%);cursor:pointer;user-select:none}.hzzt-kfb-view__hotmap .icon-caret-right{position:absolute;top:50%;left:-7px;color:red;font-size:30px;transform:translateY(-50%);cursor:pointer;user-select:none}.hzzt-kfb-view__tag{position:absolute;right:4px;top:4px;z-index:999}.hzzt-kfb-img-triangle-left:after{content:"";position:absolute;left:-10px;top:50%;transform:translate(-50%);width:0;height:0;border:10px solid transparent;border-right-color:#000c}.hzzt-kfb-slides[data-v-c2a1a22e]{background-color:#fff;box-sizing:border-box;display:flex;flex-direction:column;height:100%;width:100%;overflow:auto;border-right:2px solid #DCDCDC}.hzzt-kfb-slides__row[data-v-c2a1a22e]{align-items:center;display:flex;flex:1;flex-direction:column;overflow:hidden;min-height:0;padding:0 8px;font-size:12px}.hzzt-kfb-slides__top[data-v-c2a1a22e]{align-items:center;display:flex;justify-content:space-between;overflow:hidden;width:100%;font-size:14px;margin:4px 0;color:#000}.hzzt-kfb-slides__top .text-primary[data-v-c2a1a22e]{color:var(--el-color-primary)}.hzzt-kfb-slides__box[data-v-c2a1a22e]{border:1px solid #DCDDE1;border-radius:5px;background-color:#f2f3ff;cursor:pointer;width:100%;padding:6px;margin-bottom:8px;position:relative;overflow:hidden}.hzzt-kfb-slides__box--active[data-v-c2a1a22e]{border:2px solid #366EF4}.hzzt-kfb-slides__gallery[data-v-c2a1a22e]{display:flex;position:relative;overflow:hidden;border-radius:4px}.hzzt-kfb-slides__img[data-v-c2a1a22e]{width:100px;max-height:100px}.hzzt-kfb-slides__img1[data-v-c2a1a22e]{max-height:100px}.hzzt-kfb-slides__read[data-v-c2a1a22e]{position:absolute;top:6px;z-index:2;left:6px;width:32px;height:16px;background:var(--el-color-danger);color:#fff;border-radius:999px;text-align:center;line-height:16px}.hzzt-kfb-slides__grade[data-v-c2a1a22e]{position:absolute;top:6px;z-index:2;right:6px;width:32px;height:16px;color:#fff;border-radius:999px;text-align:center;line-height:16px}.hzzt-kfb-slides__header[data-v-c2a1a22e]{display:flex;align-items:center;height:30px}.hzzt-kfb-slides__text[data-v-c2a1a22e]{width:100%}.hzzt-kfb-slides .w-10\%[data-v-c2a1a22e]{width:10%}.hzzt-kfb-slides .w-20\%[data-v-c2a1a22e]{width:20%}.hzzt-kfb-slides .w-30\%[data-v-c2a1a22e]{width:30%}.hzzt-kfb-slides .w-40\%[data-v-c2a1a22e]{width:40%}.hzzt-kfb-slides .text-center[data-v-c2a1a22e]{text-align:center}.hzzt-kfb-ai{--hzzt-kfb-ai-background-color: #fff;--hzzt-kfb-ai-font-size: 14px;--hzzt-kfb-ai-img-width: 100px;--hzzt-kfb-ai-height-width: 100px;background-color:var(--hzzt-kfb-ai-background-color);font-size:var(--hzzt-kfb-ai-font-size);box-sizing:border-box;display:flex;flex-direction:column;height:100%}.hzzt-kfb-ai__img{border:2px solid var(--el-border-color);border-radius:3px;cursor:pointer;margin-bottom:4px;margin-right:4px;width:calc(var(--hzzt-kfb-ai-img-width) + 4px)}.hzzt-kfb-ai__img--active{border-color:var(--el-color-primary)}.hzzt-kfb-ai__img img{display:block;height:var(--hzzt-kfb-ai-img-height);object-fit:contain;overflow:hidden;width:var(--hzzt-kfb-ai-img-width)}.label-sub-title{border-top:1px solid #eee;font-size:14px;font-weight:700}.hzzt-kfb-slide{width:100%;height:100%;display:flex;flex-direction:column}.hzzt-kfb-slide .hzzt-kfb-view{height:100%;width:100%;overflow:hidden}.hzzt-kfb-slide .hzzt-kfb-view-screen-active{box-shadow:0 4px 10px #00000080;border:2px solid var(--el-color-primary)!important}.el-card[data-v-3599775b],.el-card[data-v-0141cae6],.el-card[data-v-ca4687d6]{border:none;--el-card-padding: 12px}.hzzt-kfb-toolbox-dot__box[data-v-ca4687d6]{width:24px;height:24px;border-radius:4px;margin:0 4px;cursor:pointer}.hzzt-kfb-toolbox-dot__box[data-v-ca4687d6]:hover{opacity:.8}.hzzt-kfb-toolbox-annotate-img[data-v-71f2944f]{cursor:pointer;padding:4px;width:40px;height:40px}.hzzt-kfb-toolbox-annotate-img[data-v-71f2944f]:hover{background:#84b5ff}.el-card[data-v-71f2944f],.el-card[data-v-bdb018f5],.el-card[data-v-fe8098cc]{border:none;--el-card-padding: 12px}.el-card[data-v-aa10a89d]{border:none}.hzzt-kfb-toolbox__icon[data-v-af758f1f]{font-size:16px;font-weight:600;margin:0;line-height:1}.el-card[data-v-b1632013]{border:none;--el-card-padding: 12px}
|
package/dist/index.es.js
CHANGED
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"package.json"
|
|
11
11
|
],
|
|
12
12
|
"license": "MIT",
|
|
13
|
-
"version": "0.0.
|
|
13
|
+
"version": "0.0.7",
|
|
14
14
|
"type": "module",
|
|
15
15
|
"scripts": {
|
|
16
16
|
"dev": "vite",
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"preview": "vite preview"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"vue": "^3.4.35",
|
|
23
|
-
"v-lazy-image": "^2.1.1",
|
|
24
22
|
"element-plus": "^2.10.2",
|
|
23
|
+
"vue-i18n": "^11.1.7",
|
|
24
|
+
"v-lazy-image": "^2.1.1",
|
|
25
25
|
"kfb-view": "^3.3.1",
|
|
26
|
-
"vue
|
|
26
|
+
"vue": "^3.4.35"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/node": "^24.0.3",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type Ref } from 'vue';
|
|
2
2
|
import { KfbProps, KfbViewInterface, Label } from "@/components/KfbView/index.ts";
|
|
3
|
-
|
|
3
|
+
import { Emits } from "@/instances.ts";
|
|
4
|
+
export declare function useLabel(props: KfbProps, emit: Emits, kfbView: Ref<KfbViewInterface>): {
|
|
4
5
|
currentLabel: Ref<{
|
|
5
6
|
id?: number | undefined;
|
|
6
7
|
parent_id?: number | undefined;
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
import { defineComponent as x, mergeDefaults as C, ref as E, createBlock as u, openBlock as d, unref as t, withCtx as s, createVNode as n, createElementVNode as l, createTextVNode as m, toDisplayString as f, createElementBlock as k, Fragment as z, renderList as j, normalizeClass as B } from "vue";
|
|
2
|
-
import { v as D, f as I, d as N, a as S, s as V, p as T, e as F, r as L, b as A, c as R, l as U, _ as $ } from "./indexDOcglE90.js";
|
|
3
|
-
import { u as q, d as G } from "./useCommonDs02MG_d.js";
|
|
4
|
-
import { ElPopover as H, ElCard as J, ElText as v, ElRow as K, ElCol as M, ElIcon as Q } from "element-plus";
|
|
5
|
-
import W from "./annotateCPG0T3zR.js";
|
|
6
|
-
var X = Object.defineProperty, Y = Object.defineProperties, Z = Object.getOwnPropertyDescriptors, g = Object.getOwnPropertySymbols, ee = Object.prototype.hasOwnProperty, te = Object.prototype.propertyIsEnumerable, b = (r, e, o) => e in r ? X(r, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : r[e] = o, oe = (r, e) => {
|
|
7
|
-
for (var o in e || (e = {}))
|
|
8
|
-
ee.call(e, o) && b(r, o, e[o]);
|
|
9
|
-
if (g)
|
|
10
|
-
for (var o of g(e))
|
|
11
|
-
te.call(e, o) && b(r, o, e[o]);
|
|
12
|
-
return r;
|
|
13
|
-
}, re = (r, e) => Y(r, Z(e));
|
|
14
|
-
const ae = ["onClick"], se = ["src", "alt"], ne = /* @__PURE__ */ x(re(oe({}, {
|
|
15
|
-
name: "ToolAnnotate"
|
|
16
|
-
}), {
|
|
17
|
-
__name: "annotate",
|
|
18
|
-
props: /* @__PURE__ */ C({
|
|
19
|
-
size: {},
|
|
20
|
-
text: {},
|
|
21
|
-
name: {},
|
|
22
|
-
component: {},
|
|
23
|
-
isPrevent: { type: Boolean },
|
|
24
|
-
callback: { type: Function }
|
|
25
|
-
}, G),
|
|
26
|
-
emits: ["tool"],
|
|
27
|
-
setup(r, { emit: e }) {
|
|
28
|
-
const o = e, { t: i, textClass: y } = q(), _ = {
|
|
29
|
-
line: U,
|
|
30
|
-
arrow: R,
|
|
31
|
-
bilateral: A,
|
|
32
|
-
rectangle: L,
|
|
33
|
-
ellipse: F,
|
|
34
|
-
polygon: T,
|
|
35
|
-
star: V,
|
|
36
|
-
flag: S,
|
|
37
|
-
dot: N,
|
|
38
|
-
font: I,
|
|
39
|
-
voice: D
|
|
40
|
-
}, P = Object.keys(_).map((a) => ({
|
|
41
|
-
name: a,
|
|
42
|
-
src: _[a]
|
|
43
|
-
})), c = E(!1);
|
|
44
|
-
function h(a) {
|
|
45
|
-
c.value = !1, o("tool", "annotate", {
|
|
46
|
-
tool: a.substring(0, 1).toLocaleUpperCase() + a.substring(1)
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
function w() {
|
|
50
|
-
c.value = !c.value;
|
|
51
|
-
}
|
|
52
|
-
return (a, le) => (d(), u(t(H), {
|
|
53
|
-
visible: c.value,
|
|
54
|
-
"popper-class": "el-popover-padding-0",
|
|
55
|
-
placement: "bottom",
|
|
56
|
-
width: "220px",
|
|
57
|
-
trigger: "click"
|
|
58
|
-
}, {
|
|
59
|
-
reference: s(() => [
|
|
60
|
-
l("div", {
|
|
61
|
-
class: "hzzt-kfb-toolbox__icon",
|
|
62
|
-
onClick: w
|
|
63
|
-
}, [
|
|
64
|
-
n(t(Q), { size: a.size }, {
|
|
65
|
-
default: s(() => [
|
|
66
|
-
n(W)
|
|
67
|
-
]),
|
|
68
|
-
_: 1
|
|
69
|
-
}, 8, ["size"]),
|
|
70
|
-
l("div", {
|
|
71
|
-
class: B(t(y))
|
|
72
|
-
}, f(t(i)(a.text || "标注")), 3)
|
|
73
|
-
])
|
|
74
|
-
]),
|
|
75
|
-
default: s(() => [
|
|
76
|
-
n(t(J), {
|
|
77
|
-
shadow: "never",
|
|
78
|
-
header: t(i)("标注工具"),
|
|
79
|
-
"body-style": { padding: "8px" }
|
|
80
|
-
}, {
|
|
81
|
-
default: s(() => [
|
|
82
|
-
l("div", null, [
|
|
83
|
-
n(t(v), { type: "danger" }, {
|
|
84
|
-
default: s(() => [
|
|
85
|
-
m(f(t(i)("按ESC可退出标注模式")), 1)
|
|
86
|
-
]),
|
|
87
|
-
_: 1
|
|
88
|
-
})
|
|
89
|
-
]),
|
|
90
|
-
l("div", null, [
|
|
91
|
-
n(t(v), { type: "danger" }, {
|
|
92
|
-
default: s(() => [
|
|
93
|
-
m(f(t(i)("点击标注按Delete键可删除标注")), 1)
|
|
94
|
-
]),
|
|
95
|
-
_: 1
|
|
96
|
-
})
|
|
97
|
-
]),
|
|
98
|
-
n(t(K), null, {
|
|
99
|
-
default: s(() => [
|
|
100
|
-
(d(!0), k(z, null, j(t(P), (p, O) => (d(), u(t(M), {
|
|
101
|
-
key: O,
|
|
102
|
-
class: "flex justify-content-center align-items-center",
|
|
103
|
-
span: 8
|
|
104
|
-
}, {
|
|
105
|
-
default: s(() => [
|
|
106
|
-
l("div", {
|
|
107
|
-
class: "hzzt-kfb-toolbox-annotate-img",
|
|
108
|
-
onClick: (ie) => h(p.name)
|
|
109
|
-
}, [
|
|
110
|
-
l("img", {
|
|
111
|
-
style: { width: "100%" },
|
|
112
|
-
src: p.src,
|
|
113
|
-
alt: p.name
|
|
114
|
-
}, null, 8, se)
|
|
115
|
-
], 8, ae)
|
|
116
|
-
]),
|
|
117
|
-
_: 2
|
|
118
|
-
}, 1024))), 128))
|
|
119
|
-
]),
|
|
120
|
-
_: 1
|
|
121
|
-
})
|
|
122
|
-
]),
|
|
123
|
-
_: 1
|
|
124
|
-
}, 8, ["header"])
|
|
125
|
-
]),
|
|
126
|
-
_: 1
|
|
127
|
-
}, 8, ["visible"]));
|
|
128
|
-
}
|
|
129
|
-
})), ue = /* @__PURE__ */ $(ne, [["__scopeId", "data-v-71f2944f"]]);
|
|
130
|
-
export {
|
|
131
|
-
ue as default
|
|
132
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./indexCBVjt8NT.js"),p=require("./useCommonBBhfDvWF.js"),l=require("element-plus"),b=require("./annotateBZhYifBy.js");var w=Object.defineProperty,x=Object.defineProperties,h=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,C=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,f=(n,t,r)=>t in n?w(n,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[t]=r,P=(n,t)=>{for(var r in t||(t={}))C.call(t,r)&&f(n,r,t[r]);if(d)for(var r of d(t))E.call(t,r)&&f(n,r,t[r]);return n},N=(n,t)=>x(n,h(t));const V=["onClick"],O=["src","alt"],k=e.defineComponent(N(P({},{name:"ToolAnnotate"}),{__name:"annotate",props:e.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function}},p.defaultProps),emits:["tool"],setup(n,{emit:t}){const r=t,{t:s,textClass:_}=p.useCommon(),u={line:o.line,arrow:o.arrow,bilateral:o.bilateral,rectangle:o.rectangle,ellipse:o.ellipse,polygon:o.polygon,star:o.star,flag:o.flag,dot:o.dot,font:o.font,voice:o.voice},m=Object.keys(u).map(a=>({name:a,src:u[a]})),c=e.ref(!1);function v(a){c.value=!1,r("tool","annotate",{tool:a.substring(0,1).toLocaleUpperCase()+a.substring(1)})}function g(){c.value=!c.value}return(a,B)=>(e.openBlock(),e.createBlock(e.unref(l.ElPopover),{visible:c.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(l.ElIcon),{size:a.size},{default:e.withCtx(()=>[e.createVNode(b.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(_))},e.toDisplayString(e.unref(s)(a.text||"标注")),3)])]),default:e.withCtx(()=>[e.createVNode(e.unref(l.ElCard),{shadow:"never",header:e.unref(s)("标注工具"),"body-style":{padding:"8px"}},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(e.unref(l.ElText),{type:"danger"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("按ESC可退出标注模式")),1)]),_:1})]),e.createElementVNode("div",null,[e.createVNode(e.unref(l.ElText),{type:"danger"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("点击标注按Delete键可删除标注")),1)]),_:1})]),e.createVNode(e.unref(l.ElRow),null,{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(m),(i,y)=>(e.openBlock(),e.createBlock(e.unref(l.ElCol),{key:y,class:"flex justify-content-center align-items-center",span:8},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"hzzt-kfb-toolbox-annotate-img",onClick:S=>v(i.name)},[e.createElementVNode("img",{style:{width:"100%"},src:i.src,alt:i.name},null,8,O)],8,V)]),_:2},1024))),128))]),_:1})]),_:1},8,["header"])]),_:1},8,["visible"]))}})),z=o._export_sfc(k,[["__scopeId","data-v-71f2944f"]]);exports.default=z;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { defineComponent as u, mergeDefaults as _, ref as d, createElementBlock as v, openBlock as s, createBlock as P, createElementVNode as y, resolveDynamicComponent as O, normalizeClass as b, unref as a, renderSlot as g, createTextVNode as w, toDisplayString as z } from "vue";
|
|
2
|
-
import { u as C, d as h } from "./useCommonDs02MG_d.js";
|
|
3
|
-
var k = Object.defineProperty, D = Object.defineProperties, j = Object.getOwnPropertyDescriptors, l = Object.getOwnPropertySymbols, B = Object.prototype.hasOwnProperty, E = Object.prototype.propertyIsEnumerable, p = (t, e, o) => e in t ? k(t, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[e] = o, S = (t, e) => {
|
|
4
|
-
for (var o in e || (e = {}))
|
|
5
|
-
B.call(e, o) && p(t, o, e[o]);
|
|
6
|
-
if (l)
|
|
7
|
-
for (var o of l(e))
|
|
8
|
-
E.call(e, o) && p(t, o, e[o]);
|
|
9
|
-
return t;
|
|
10
|
-
}, x = (t, e) => D(t, j(e));
|
|
11
|
-
const I = /* @__PURE__ */ u(x(S({}, {
|
|
12
|
-
name: "ToolCustom"
|
|
13
|
-
}), {
|
|
14
|
-
__name: "custom",
|
|
15
|
-
props: /* @__PURE__ */ _({
|
|
16
|
-
size: {},
|
|
17
|
-
text: {},
|
|
18
|
-
name: {},
|
|
19
|
-
component: {},
|
|
20
|
-
isPrevent: { type: Boolean },
|
|
21
|
-
callback: { type: Function }
|
|
22
|
-
}, h),
|
|
23
|
-
emits: ["tool"],
|
|
24
|
-
setup(t, { emit: e }) {
|
|
25
|
-
const o = t, c = e, { t: i, textClass: m } = C(), n = d();
|
|
26
|
-
function f() {
|
|
27
|
-
c("tool", o.name || "", n.value);
|
|
28
|
-
}
|
|
29
|
-
return (r, N) => (s(), v("div", {
|
|
30
|
-
ref_key: "toolRef",
|
|
31
|
-
ref: n,
|
|
32
|
-
class: "hzzt-kfb-toolbox__icon",
|
|
33
|
-
onClick: f
|
|
34
|
-
}, [
|
|
35
|
-
(s(), P(O(r.component), { size: r.size }, null, 8, ["size"])),
|
|
36
|
-
y("div", {
|
|
37
|
-
class: b(a(m))
|
|
38
|
-
}, [
|
|
39
|
-
g(r.$slots, "default", {}, () => [
|
|
40
|
-
w(z(a(i)(r.text || " ")), 1)
|
|
41
|
-
])
|
|
42
|
-
], 2)
|
|
43
|
-
], 512));
|
|
44
|
-
}
|
|
45
|
-
}));
|
|
46
|
-
export {
|
|
47
|
-
I as default
|
|
48
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),a=require("./useCommonBBhfDvWF.js");var f=Object.defineProperty,_=Object.defineProperties,d=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertySymbols,v=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable,c=(r,e,t)=>e in r?f(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,y=(r,e)=>{for(var t in e||(e={}))v.call(e,t)&&c(r,t,e[t]);if(l)for(var t of l(e))P.call(e,t)&&c(r,t,e[t]);return r},O=(r,e)=>_(r,d(e));const b=o.defineComponent(O(y({},{name:"ToolCustom"}),{__name:"custom",props:o.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function}},a.defaultProps),emits:["tool"],setup(r,{emit:e}){const t=r,p=e,{t:i,textClass:u}=a.useCommon(),s=o.ref();function m(){p("tool",t.name||"",s.value)}return(n,g)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"toolRef",ref:s,class:"hzzt-kfb-toolbox__icon",onClick:m},[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.component),{size:n.size},null,8,["size"])),o.createElementVNode("div",{class:o.normalizeClass(o.unref(u))},[o.renderSlot(n.$slots,"default",{},()=>[o.createTextVNode(o.toDisplayString(o.unref(i)(n.text||" ")),1)])],2)],512))}}));exports.default=b;
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import { defineComponent as x, mergeDefaults as O, ref as b, inject as z, watch as F, createBlock as h, openBlock as f, unref as s, withCtx as i, createVNode as p, createElementVNode as c, toDisplayString as v, createElementBlock as k, Fragment as D, renderList as B, normalizeStyle as S, createCommentVNode as j, normalizeClass as V } from "vue";
|
|
2
|
-
import { u as I, d as N } from "./useCommonDs02MG_d.js";
|
|
3
|
-
import A from "./dotBcz-OP0B.js";
|
|
4
|
-
import L from "./checkD58Lt_t9.js";
|
|
5
|
-
import { ElPopover as R, ElCard as T, ElIcon as g } from "element-plus";
|
|
6
|
-
import { _ as $ } from "./indexDOcglE90.js";
|
|
7
|
-
var q = Object.defineProperty, G = Object.defineProperties, H = Object.getOwnPropertyDescriptors, C = Object.getOwnPropertySymbols, J = Object.prototype.hasOwnProperty, K = Object.prototype.propertyIsEnumerable, y = (t, e, l) => e in t ? q(t, e, { enumerable: !0, configurable: !0, writable: !0, value: l }) : t[e] = l, M = (t, e) => {
|
|
8
|
-
for (var l in e || (e = {}))
|
|
9
|
-
J.call(e, l) && y(t, l, e[l]);
|
|
10
|
-
if (C)
|
|
11
|
-
for (var l of C(e))
|
|
12
|
-
K.call(e, l) && y(t, l, e[l]);
|
|
13
|
-
return t;
|
|
14
|
-
}, Q = (t, e) => G(t, H(e));
|
|
15
|
-
const U = { class: "margin-b-1" }, W = { class: "flex align-items-center" }, X = ["onClick"], Y = /* @__PURE__ */ x(Q(M({}, {
|
|
16
|
-
name: "ToolDot"
|
|
17
|
-
}), {
|
|
18
|
-
__name: "dot",
|
|
19
|
-
props: /* @__PURE__ */ O({
|
|
20
|
-
size: {},
|
|
21
|
-
text: {},
|
|
22
|
-
name: {},
|
|
23
|
-
component: {},
|
|
24
|
-
isPrevent: { type: Boolean },
|
|
25
|
-
callback: { type: Function }
|
|
26
|
-
}, N),
|
|
27
|
-
emits: ["tool"],
|
|
28
|
-
setup(t, { emit: e }) {
|
|
29
|
-
const l = e, { t: _, textClass: P } = I(), u = b(!1), d = b([
|
|
30
|
-
{ label: "#004BFF", value: 0, checked: !1 },
|
|
31
|
-
{ label: "#FF4B40", value: 0, checked: !1 },
|
|
32
|
-
{ label: "#FFAA00", value: 0, checked: !1 },
|
|
33
|
-
{ label: "#51C964", value: 0, checked: !1 },
|
|
34
|
-
{ label: "#00BEFF", value: 0, checked: !1 },
|
|
35
|
-
{ label: "#8C58CE", value: 0, checked: !1 },
|
|
36
|
-
{ label: "#F261A7", value: 0, checked: !1 }
|
|
37
|
-
]), m = z("kfbViewRef");
|
|
38
|
-
F(() => {
|
|
39
|
-
var o, a;
|
|
40
|
-
return (a = (o = m == null ? void 0 : m.value) == null ? void 0 : o.kfbView) == null ? void 0 : a.labelList;
|
|
41
|
-
}, (o) => {
|
|
42
|
-
d.value.forEach((a) => {
|
|
43
|
-
var r;
|
|
44
|
-
a.value = (r = (o || []).filter((n) => (n == null ? void 0 : n.custom) && (n == null ? void 0 : n.strokeStyle) === a.label && (n == null ? void 0 : n.tool) === "Dot")) == null ? void 0 : r.length;
|
|
45
|
-
});
|
|
46
|
-
});
|
|
47
|
-
function w(o) {
|
|
48
|
-
d.value.forEach((a) => {
|
|
49
|
-
a.checked = !1;
|
|
50
|
-
}), o.checked = !0, l("tool", "annotate", {
|
|
51
|
-
strokeStyle: o.label,
|
|
52
|
-
tool: "Dot",
|
|
53
|
-
once: !1,
|
|
54
|
-
custom: !0,
|
|
55
|
-
subType: "count"
|
|
56
|
-
});
|
|
57
|
-
}
|
|
58
|
-
function E() {
|
|
59
|
-
u.value = !u.value, u.value || d.value.forEach((o) => {
|
|
60
|
-
o.checked = !1;
|
|
61
|
-
}), l("tool", "endDraw");
|
|
62
|
-
}
|
|
63
|
-
return (o, a) => (f(), h(s(R), {
|
|
64
|
-
visible: u.value,
|
|
65
|
-
"popper-class": "el-popover-padding-0",
|
|
66
|
-
placement: "bottom",
|
|
67
|
-
width: "300px",
|
|
68
|
-
trigger: "click"
|
|
69
|
-
}, {
|
|
70
|
-
reference: i(() => [
|
|
71
|
-
c("div", {
|
|
72
|
-
class: "hzzt-kfb-toolbox__icon",
|
|
73
|
-
onClick: a[0] || (a[0] = (r) => E())
|
|
74
|
-
}, [
|
|
75
|
-
p(s(g), { size: o.size }, {
|
|
76
|
-
default: i(() => [
|
|
77
|
-
p(A)
|
|
78
|
-
]),
|
|
79
|
-
_: 1
|
|
80
|
-
}, 8, ["size"]),
|
|
81
|
-
c("div", {
|
|
82
|
-
class: V(s(P))
|
|
83
|
-
}, v(s(_)(o.text || "打点")), 3)
|
|
84
|
-
])
|
|
85
|
-
]),
|
|
86
|
-
default: i(() => [
|
|
87
|
-
p(s(T), { shadow: "never" }, {
|
|
88
|
-
default: i(() => [
|
|
89
|
-
c("div", null, [
|
|
90
|
-
c("p", U, v(s(_)("按下ESC键结束打点操作")), 1),
|
|
91
|
-
c("div", W, [
|
|
92
|
-
(f(!0), k(D, null, B(d.value, (r) => (f(), k("div", {
|
|
93
|
-
key: r.label,
|
|
94
|
-
class: "flex column align-items-center"
|
|
95
|
-
}, [
|
|
96
|
-
c("div", {
|
|
97
|
-
style: S({ "background-color": r.label }),
|
|
98
|
-
class: "hzzt-kfb-toolbox-dot__box flex justify-content-center align-items-center",
|
|
99
|
-
onClick: (n) => w(r)
|
|
100
|
-
}, [
|
|
101
|
-
p(s(g), { size: "16" }, {
|
|
102
|
-
default: i(() => [
|
|
103
|
-
r.checked ? (f(), h(L, { key: 0 })) : j("", !0)
|
|
104
|
-
]),
|
|
105
|
-
_: 2
|
|
106
|
-
}, 1024)
|
|
107
|
-
], 12, X),
|
|
108
|
-
c("p", null, v(r.value ? r.value : " "), 1)
|
|
109
|
-
]))), 128))
|
|
110
|
-
])
|
|
111
|
-
])
|
|
112
|
-
]),
|
|
113
|
-
_: 1
|
|
114
|
-
})
|
|
115
|
-
]),
|
|
116
|
-
_: 1
|
|
117
|
-
}, 8, ["visible"]));
|
|
118
|
-
}
|
|
119
|
-
})), re = /* @__PURE__ */ $(Y, [["__scopeId", "data-v-ca4687d6"]]);
|
|
120
|
-
export {
|
|
121
|
-
re as default
|
|
122
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),v=require("./useCommonBBhfDvWF.js"),h=require("./dotDpCmvPJC.js"),C=require("./checkDg1XwTUE.js"),u=require("element-plus"),g=require("./indexCBVjt8NT.js");var y=Object.defineProperty,E=Object.defineProperties,w=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertySymbols,P=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,_=(r,t,l)=>t in r?y(r,t,{enumerable:!0,configurable:!0,writable:!0,value:l}):r[t]=l,V=(r,t)=>{for(var l in t||(t={}))P.call(t,l)&&_(r,l,t[l]);if(p)for(var l of p(t))x.call(t,l)&&_(r,l,t[l]);return r},N=(r,t)=>E(r,w(t));const O={class:"margin-b-1"},B={class:"flex align-items-center"},z=["onClick"],F=e.defineComponent(N(V({},{name:"ToolDot"}),{__name:"dot",props:e.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function}},v.defaultProps),emits:["tool"],setup(r,{emit:t}){const l=t,{t:d,textClass:m}=v.useCommon(),s=e.ref(!1),i=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}]),f=e.inject("kfbViewRef");e.watch(()=>{var o,a;return(a=(o=f==null?void 0:f.value)==null?void 0:o.kfbView)==null?void 0:a.labelList},o=>{i.value.forEach(a=>{var n;a.value=(n=(o||[]).filter(c=>(c==null?void 0:c.custom)&&(c==null?void 0:c.strokeStyle)===a.label&&(c==null?void 0:c.tool)==="Dot"))==null?void 0:n.length})});function b(o){i.value.forEach(a=>{a.checked=!1}),o.checked=!0,l("tool","annotate",{strokeStyle:o.label,tool:"Dot",once:!1,custom:!0,subType:"count"})}function k(){s.value=!s.value,s.value||i.value.forEach(o=>{o.checked=!1}),l("tool","endDraw")}return(o,a)=>(e.openBlock(),e.createBlock(e.unref(u.ElPopover),{visible:s.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:a[0]||(a[0]=n=>k())},[e.createVNode(e.unref(u.ElIcon),{size:o.size},{default:e.withCtx(()=>[e.createVNode(h.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(m))},e.toDisplayString(e.unref(d)(o.text||"打点")),3)])]),default:e.withCtx(()=>[e.createVNode(e.unref(u.ElCard),{shadow:"never"},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("p",O,e.toDisplayString(e.unref(d)("按下ESC键结束打点操作")),1),e.createElementVNode("div",B,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,n=>(e.openBlock(),e.createElementBlock("div",{key:n.label,class:"flex column align-items-center"},[e.createElementVNode("div",{style:e.normalizeStyle({"background-color":n.label}),class:"hzzt-kfb-toolbox-dot__box flex justify-content-center align-items-center",onClick:c=>b(n)},[e.createVNode(e.unref(u.ElIcon),{size:"16"},{default:e.withCtx(()=>[n.checked?(e.openBlock(),e.createBlock(C.default,{key:0})):e.createCommentVNode("",!0)]),_:2},1024)],12,z),e.createElementVNode("p",null,e.toDisplayString(n.value?n.value:" "),1)]))),128))])])]),_:1})]),_:1},8,["visible"]))}})),S=g._export_sfc(F,[["__scopeId","data-v-ca4687d6"]]);exports.default=S;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),p=require("./useCommonBBhfDvWF.js"),l=require("element-plus"),_=require("./downloadnu9isJ53.js"),v=require("./indexCBVjt8NT.js");var w=Object.defineProperty,g=Object.defineProperties,P=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,f=(o,t,r)=>t in o?w(o,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[t]=r,b=(o,t)=>{for(var r in t||(t={}))y.call(t,r)&&f(o,r,t[r]);if(u)for(var r of u(t))C.call(t,r)&&f(o,r,t[r]);return o},x=(o,t)=>g(o,P(t));const O={class:"flex column align-items-center"},N=e.defineComponent(x(b({},{name:"ToolDownload"}),{__name:"download",props:e.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function}},p.defaultProps),emits:["tool"],setup(o,{emit:t}){const r=t,{t:i,textClass:m}=p.useCommon(),a=e.ref(!1);function c(s){r("tool","download",s),a.value=!1}return(s,n)=>(e.openBlock(),e.createBlock(e.unref(l.ElPopover),{visible:a.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:n[2]||(n[2]=d=>a.value=!a.value)},[e.createVNode(e.unref(l.ElIcon),{size:s.size},{default:e.withCtx(()=>[e.createVNode(_.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(m))},e.toDisplayString(e.unref(i)(s.text||"下载")),3)])]),default:e.withCtx(()=>[e.createVNode(e.unref(l.ElCard),{shadow:"never"},{default:e.withCtx(()=>[e.createElementVNode("div",O,[e.createVNode(e.unref(l.ElLink),{onClick:n[0]||(n[0]=d=>c("all"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("下载全部切片")),1)]),_:1}),e.createVNode(e.unref(l.ElLink),{type:"primary",class:"margin-t-2",onClick:n[1]||(n[1]=d=>c("single"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("下载当前切片")),1)]),_:1})])]),_:1})]),_:1},8,["visible"]))}})),V=v._export_sfc(N,[["__scopeId","data-v-b1632013"]]);exports.default=V;
|