hzzt-kfb-slide 1.0.24 → 1.0.26
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/annotateBE-TBqtr.js +1 -0
- package/dist/components/{annotateDwqDlQHU.js → annotateCidykvxP.js} +1 -1
- package/dist/components/{annotateDj1SrS_a.js → annotateCndegnxC.js} +1 -1
- package/dist/components/annotateDtYTtzmg.js +149 -0
- package/dist/components/{arrowBMHpWsEH.js → arrowBamyal5k.js} +1 -1
- package/dist/components/{arrowCircleDuSqtzMW.js → arrowCircleB8SCU_MJ.js} +1 -1
- package/dist/components/{arrowCircleBmHEN-JI.js → arrowCircled4pHD-1N.js} +1 -1
- package/dist/components/{arrowDownDg4Iux0I.js → arrowDownBznc0Pgr.js} +1 -1
- package/dist/components/{arrowDownDHMfjEPC.js → arrowDownUmHKxcKj.js} +1 -1
- package/dist/components/{arrowLeft2uwr6U4X.js → arrowLeftC20lbanO.js} +1 -1
- package/dist/components/{arrowLeftBomf068D.js → arrowLeftDRP4WmCE.js} +1 -1
- package/dist/components/{arrowRightN5OT5_ay.js → arrowRight96Cjm0Lx.js} +1 -1
- package/dist/components/{arrowRightUFNiSn5O.js → arrowRightBiqBysaD.js} +1 -1
- package/dist/components/{arrowUp7VzJV-yV.js → arrowUpC-DPJW6Q.js} +1 -1
- package/dist/components/{arrowUpDfyBIhzo.js → arrowUpC5-mYraF.js} +1 -1
- package/dist/components/{arrowBtJH9WSt.js → arrowmoS0_eOv.js} +1 -1
- package/dist/components/{bilateralDyPW9hqP.js → bilateralBYIxdbvV.js} +1 -1
- package/dist/components/{bilateralCBepYApz.js → bilateralDzDB_sLD.js} +1 -1
- package/dist/components/{channelCFuJooM5.js → channeljDIvE9yz.js} +1 -1
- package/dist/components/{channelDuLZeozH.js → channelpFaRyrGf.js} +1 -1
- package/dist/components/{checkCxKZCeoS.js → checkDCHcEtVx.js} +1 -1
- package/dist/components/{checkB4u7QZYU.js → checkXk_obLle.js} +1 -1
- package/dist/components/{configD50N6EeU.js → configDSP2WQUp.js} +1 -1
- package/dist/components/{configCJ-JylfE.js → configmd3P36HW.js} +1 -1
- package/dist/components/{customBYnf3s-g.js → customjxo-tQ5P.js} +1 -1
- package/dist/components/{customC57_Jrk-.js → customuh_avc4y.js} +1 -1
- package/dist/components/{deleteBdjYbMxh.js → deleteCPSM4NAr.js} +1 -1
- package/dist/components/{deleteBYsrPPjp.js → deletekCGHY9xa.js} +1 -1
- package/dist/components/{dotB_8OA49C.js → dotBkRKAyMX.js} +1 -1
- package/dist/components/dotCCdrQhOo.js +143 -0
- package/dist/components/{dotkVlRwKB8.js → dotCF4uUQRa.js} +1 -1
- package/dist/components/dotD4dI0yUu.js +1 -0
- package/dist/components/{dotCjUfbGo4.js → dotWlWuj3jZ.js} +1 -1
- package/dist/components/{dotDiVsY_Te.js → dotWtWR9rNf.js} +1 -1
- package/dist/components/{downloadCVvCHK9N.js → downloadBURidpR_.js} +1 -1
- package/dist/components/{downloadDODds1eE.js → downloadC2Sr_kWm.js} +1 -1
- package/dist/components/downloadCA_CLqBH.js +1 -0
- package/dist/components/downloadDInIs_oI.js +81 -0
- package/dist/components/{ellipse-R-oGsMT.js → ellipseC2Ko5lRD.js} +1 -1
- package/dist/components/{ellipseBpFWCtW0.js → ellipseDpnWPSxU.js} +1 -1
- package/dist/components/{expandLeftCGCAY2Ct.js → expandLeftBLkgTZng.js} +1 -1
- package/dist/components/{expandLeftDcmRoNOd.js → expandLeftDhkoNEKD.js} +1 -1
- package/dist/components/{expandRightD7-_hpdV.js → expandRightBoqS0cDe.js} +1 -1
- package/dist/components/{expandRightCV70l9Cq.js → expandRightDR9NCUGa.js} +1 -1
- package/dist/components/{flagCOAhp_WR.js → flagCiLtbI45.js} +1 -1
- package/dist/components/{flagCHf7JI54.js → flagDoHpJSaO.js} +1 -1
- package/dist/components/{flipD2bvHjsC.js → flipBJN2uYh7.js} +1 -1
- package/dist/components/{flipCpaX0Iyz.js → flipGE8N34A3.js} +1 -1
- package/dist/components/{fontCfoc4pdt.js → fontDVIxGPeW.js} +1 -1
- package/dist/components/{fontBJzxNreF.js → fontU9YlCR9E.js} +1 -1
- package/dist/components/freehandgdwXLC_x.js +34 -0
- package/dist/components/freehandqBtOyNzQ.js +1 -0
- package/dist/components/{fullscreenCXdC_DMF.js → fullscreenBMNBG9Fm.js} +1 -1
- package/dist/components/{fullscreenC3X7Rwsy.js → fullscreenBMmRl7dz.js} +2 -2
- package/dist/components/{fullscreenM3oeLoI5.js → fullscreenBdhRZW1r.js} +1 -1
- package/dist/components/{fullscreenBalit8nl.js → fullscreenC6P-hXfN.js} +1 -1
- package/dist/components/{fulltailorEXD0Jjxd.js → fulltailor-eFZFomM.js} +1 -1
- package/dist/components/{fulltailorCRboWyOs.js → fulltailorPf6AprBU.js} +1 -1
- package/dist/components/indexBRaJsjOY.js +4 -0
- package/dist/components/indexBh5KU0gc.js +5008 -0
- package/dist/components/{infohwWWmqxM.js → infoBcYal44g.js} +1 -1
- package/dist/components/{infoDRPS23_K.js → infoCgW0NaTc.js} +1 -1
- package/dist/components/{levelBG-BSueQ.js → levelBp7M0oW4.js} +1 -1
- package/dist/components/{levelMQDCgsws.js → levelCRL8G9__.js} +1 -1
- package/dist/components/{lineD7Gq6H0J.js → lineD2mCJsUO.js} +1 -1
- package/dist/components/{lineZ9H8JEB_.js → lineDmwARNMn.js} +1 -1
- package/dist/components/{measureC2R3WvFw.js → measureBxnl5iGU.js} +1 -1
- package/dist/components/{measureXrf_OeNq.js → measureCE4Xlb8R.js} +1 -1
- package/dist/components/{microscopeDXHxtEHN.js → microscope0VaNq0do.js} +1 -1
- package/dist/components/microscope9mMQxWqA.js +147 -0
- package/dist/components/microscopeIGamo4Ij.js +1 -0
- package/dist/components/{microscopeunB4--Gd.js → microscope_gjo5MoC.js} +1 -1
- package/dist/components/{moveCu4lK7IM.js → moveB3wrUFzd.js} +1 -1
- package/dist/components/moveC4RDecwf.js +1 -0
- package/dist/components/{movejVU05SK3.js → moveCo44PFIc.js} +1 -1
- package/dist/components/moveDqshP8HT.js +76 -0
- package/dist/components/{nextDn4GWTyO.js → nextBh4zZ7j6.js} +1 -1
- package/dist/components/{nextGgMsQrxa.js → nextDLDNBPXf.js} +1 -1
- package/dist/components/{polygonB-kSVFEf.js → polygonDsYwro4R.js} +1 -1
- package/dist/components/{polygonDI4jLfci.js → polygont_89oS7j.js} +1 -1
- package/dist/components/{prevBbIPtnXd.js → prevBAqulhdH.js} +1 -1
- package/dist/components/{prevDXpNE1l0.js → prevCQip82r6.js} +1 -1
- package/dist/components/{processC8kKI6C1.js → processB76eGDiy.js} +1 -1
- package/dist/components/{processDa6HlSDL.js → processBmrqVbb2.js} +1 -1
- package/dist/components/processC19xFYhY.js +295 -0
- package/dist/components/processTGO8CmzN.js +1 -0
- package/dist/components/{rectangleRNSMiMIi.js → rectangleBro2O0hr.js} +1 -1
- package/dist/components/{rectangleCBm32OF3.js → rectangleD9Ham9iK.js} +1 -1
- package/dist/components/{rotate95cRmpyx.js → rotateCNH7F32U.js} +1 -1
- package/dist/components/rotateCfChbP6a.js +142 -0
- package/dist/components/{rotateDNEa4Rzz.js → rotateCrg4FOh-.js} +1 -1
- package/dist/components/rotateDVkrjEau.js +1 -0
- package/dist/components/{settingCUHdp1Ss.js → settingBOG9If-4.js} +1 -1
- package/dist/components/settingCWK8PmKC.js +1 -0
- package/dist/components/{settingDrSS6Ied.js → settingDkG_RjMQ.js} +52 -48
- package/dist/components/{settingWCciwGM8.js → settingmEa8RYHz.js} +1 -1
- package/dist/components/{starBOmhp-Gy.js → starcJ20NiFZ.js} +1 -1
- package/dist/components/{starD6G3MZ1H.js → starkSlvciyw.js} +1 -1
- package/dist/components/{tailorEZDh8TEV.js → tailorC936gAoK.js} +1 -1
- package/dist/components/{tailorBToMWmGO.js → tailordIPjCtXS.js} +1 -1
- package/dist/components/{useCommon_9DhxPoI.js → useCommonCOFBzxWN.js} +1 -1
- package/dist/components/{useCommonBTo6JBq5.js → useCommonDHbNZHPx.js} +4 -4
- package/dist/components/{voiceCOa_uTcr.js → voiceUknr2eXa.js} +1 -1
- package/dist/components/{voicek2QWvoiK.js → voicen7U74JwA.js} +1 -1
- package/dist/components/{zoomjCX1WJPP.js → zoomCGh3a_3H.js} +1 -1
- package/dist/components/{zoomFgIK8MFG.js → zoomCeap-21N.js} +1 -1
- package/dist/components/{zoomInT3JGG_RI.js → zoomInC75FDgJJ.js} +1 -1
- package/dist/components/{zoomInr1RZ7bIh.js → zoomInChxGkEtv.js} +1 -1
- package/dist/components/{zoomOutBSotNx_0.js → zoomOutCr-CKqCR.js} +1 -1
- package/dist/components/{zoomOutBjp2WoRT.js → zoomOutDV8Ag5T1.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 +1 -1
- package/types/components/HzztKfbSlide.vue.d.ts +6 -5
- package/types/components/icon/mark/freehand.vue.d.ts +2 -0
- package/types/components/toolbox/useToolboxPanel.d.ts +20 -0
- package/dist/components/annotateDasGF2ry.js +0 -1
- package/dist/components/annotatekAHslaWF.js +0 -134
- package/dist/components/dot5LgZ-End.js +0 -132
- package/dist/components/dotBni5nmje.js +0 -1
- package/dist/components/downloadB2Z6r6kH.js +0 -81
- package/dist/components/downloadC7NZVTVW.js +0 -1
- package/dist/components/indexCh8I5U1l.js +0 -4924
- package/dist/components/indexCuLX0-us.js +0 -4
- package/dist/components/microscopeBJqUKOlZ.js +0 -138
- package/dist/components/microscopeCd7yfJnU.js +0 -1
- package/dist/components/move4NgSIpoM.js +0 -1
- package/dist/components/moveCJTY0ouJ.js +0 -76
- package/dist/components/processBytuzbVA.js +0 -287
- package/dist/components/processie8amaoV.js +0 -1
- package/dist/components/rotateCQFtlvAG.js +0 -1
- package/dist/components/rotateDsRGMV7c.js +0 -138
- package/dist/components/settingCNVOhixt.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var E=Object.defineProperty,N=Object.defineProperties;var k=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var w=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable;var m=(n,t,o)=>t in n?E(n,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):n[t]=o,s=(n,t)=>{for(var o in t||(t={}))w.call(t,o)&&m(n,o,t[o]);if(p)for(var o of p(t))z.call(t,o)&&m(n,o,t[o]);return n},c=(n,t)=>N(n,k(t));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),g=require("./useCommonCOFBzxWN.js"),d=require("./indexBRaJsjOY.js"),l=require("element-plus"),P=require("./annotateCidykvxP.js"),S=["onClick"],T=e.defineComponent({name:"ToolAnnotate",__name:"annotate",props:e.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function},options:{}},g.defaultProps),emits:["tool"],setup(n,{emit:t}){const o=n,u=t,{t:r,textClass:C}=g.useCommon(),x={measure:"Measure",line:"Line",arrow:"Arrow",bilateral:"Bilateral",rectangle:"Rectangle",ellipse:"Ellipse",polygon:"Polygon",freehand:"Freehand",star:"Star",flag:"Flag",dot:"Dot",font:"Font",voice:"Voice"},{visible:_,togglePanel:b,closePanel:h}=d.useToolboxPanel("annotate");function v(a){h();const i=s({once:!0},o.options||{});if(a==="freehand"){u("tool","annotate",c(s({},i),{tool:"Polygon",subType:"freehand",isClose:!1,fillStyle:"",enableDbClickClose:!1}));return}u("tool","annotate",c(s({},i),{tool:a.substring(0,1).toLocaleUpperCase()+a.substring(1)}))}function y(){b()}return(a,i)=>(e.openBlock(),e.createBlock(e.unref(l.ElPopover),{visible:e.unref(_),"popper-class":"el-popover-padding-0",placement:"bottom",width:"220px",trigger:"click",teleported:!1},{reference:e.withCtx(()=>[e.createElementVNode("div",{class:"hzzt-kfb-toolbox__icon",onClick:y},[e.createVNode(e.unref(l.ElIcon),{size:a.size},{default:e.withCtx(()=>[e.createVNode(P.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(C))},e.toDisplayString(e.unref(r)(a.text||"标注")),3)])]),default:e.withCtx(()=>[e.createVNode(e.unref(l.ElCard),{shadow:"never",header:e.unref(r)("标注工具"),"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(r)("按ESC可退出标注模式")),1)]),_:1})]),e.createElementVNode("div",null,[e.createVNode(e.unref(l.ElText),{type:"danger"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("点击标注按Delete键可删除标注")),1)]),_:1})]),e.createVNode(e.unref(l.ElRow),null,{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(x,(V,f)=>e.createVNode(e.unref(l.ElCol),{key:f,class:"flex justify-content-center align-items-center",span:8},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"hzzt-kfb-toolbox-annotate-icon",onClick:D=>v(f)},[e.createVNode(d._sfc_main,{size:"32",name:`mark${V}`},null,8,["name"])],8,S)]),_:2},1024)),64))]),_:1})]),_:1},8,["header"])]),_:1},8,["visible"]))}}),B=d._export_sfc(T,[["__scopeId","data-v-ee114194"]]);exports.default=B;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),L=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),L=require("./indexBRaJsjOY.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,149 @@
|
|
|
1
|
+
var B = Object.defineProperty, D = Object.defineProperties;
|
|
2
|
+
var F = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var _ = Object.getOwnPropertySymbols;
|
|
4
|
+
var T = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var g = (n, e, o) => e in n ? B(n, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : n[e] = o, c = (n, e) => {
|
|
6
|
+
for (var o in e || (e = {}))
|
|
7
|
+
T.call(e, o) && g(n, o, e[o]);
|
|
8
|
+
if (_)
|
|
9
|
+
for (var o of _(e))
|
|
10
|
+
S.call(e, o) && g(n, o, e[o]);
|
|
11
|
+
return n;
|
|
12
|
+
}, d = (n, e) => D(n, F(e));
|
|
13
|
+
import { defineComponent as V, mergeDefaults as L, createBlock as N, openBlock as b, unref as t, withCtx as l, createVNode as a, createElementVNode as r, createTextVNode as v, toDisplayString as f, createElementBlock as $, Fragment as A, renderList as I, normalizeClass as R } from "vue";
|
|
14
|
+
import { u as j, d as M } from "./useCommonDHbNZHPx.js";
|
|
15
|
+
import { u as O, b as U, _ as q } from "./indexBh5KU0gc.js";
|
|
16
|
+
import { ElPopover as G, ElCard as H, ElText as C, ElRow as J, ElCol as K, ElIcon as Q } from "element-plus";
|
|
17
|
+
import W from "./annotateCndegnxC.js";
|
|
18
|
+
const X = ["onClick"], Y = /* @__PURE__ */ V({
|
|
19
|
+
name: "ToolAnnotate",
|
|
20
|
+
__name: "annotate",
|
|
21
|
+
props: /* @__PURE__ */ L({
|
|
22
|
+
size: {},
|
|
23
|
+
text: {},
|
|
24
|
+
name: {},
|
|
25
|
+
component: {},
|
|
26
|
+
isPrevent: { type: Boolean },
|
|
27
|
+
callback: { type: Function },
|
|
28
|
+
options: {}
|
|
29
|
+
}, M),
|
|
30
|
+
emits: ["tool"],
|
|
31
|
+
setup(n, { emit: e }) {
|
|
32
|
+
const o = n, u = e, { t: i, textClass: h } = j(), x = {
|
|
33
|
+
measure: "Measure",
|
|
34
|
+
line: "Line",
|
|
35
|
+
arrow: "Arrow",
|
|
36
|
+
bilateral: "Bilateral",
|
|
37
|
+
rectangle: "Rectangle",
|
|
38
|
+
ellipse: "Ellipse",
|
|
39
|
+
polygon: "Polygon",
|
|
40
|
+
freehand: "Freehand",
|
|
41
|
+
star: "Star",
|
|
42
|
+
flag: "Flag",
|
|
43
|
+
dot: "Dot",
|
|
44
|
+
font: "Font",
|
|
45
|
+
voice: "Voice"
|
|
46
|
+
}, { visible: k, togglePanel: y, closePanel: z } = O("annotate");
|
|
47
|
+
function E(s) {
|
|
48
|
+
z();
|
|
49
|
+
const p = c({
|
|
50
|
+
once: !0
|
|
51
|
+
}, o.options || {});
|
|
52
|
+
if (s === "freehand") {
|
|
53
|
+
u("tool", "annotate", d(c({}, p), {
|
|
54
|
+
tool: "Polygon",
|
|
55
|
+
subType: "freehand",
|
|
56
|
+
isClose: !1,
|
|
57
|
+
fillStyle: "",
|
|
58
|
+
enableDbClickClose: !1
|
|
59
|
+
}));
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
u("tool", "annotate", d(c({}, p), {
|
|
63
|
+
tool: s.substring(0, 1).toLocaleUpperCase() + s.substring(1)
|
|
64
|
+
}));
|
|
65
|
+
}
|
|
66
|
+
function P() {
|
|
67
|
+
y();
|
|
68
|
+
}
|
|
69
|
+
return (s, p) => (b(), N(t(G), {
|
|
70
|
+
visible: t(k),
|
|
71
|
+
"popper-class": "el-popover-padding-0",
|
|
72
|
+
placement: "bottom",
|
|
73
|
+
width: "220px",
|
|
74
|
+
trigger: "click",
|
|
75
|
+
teleported: !1
|
|
76
|
+
}, {
|
|
77
|
+
reference: l(() => [
|
|
78
|
+
r("div", {
|
|
79
|
+
class: "hzzt-kfb-toolbox__icon",
|
|
80
|
+
onClick: P
|
|
81
|
+
}, [
|
|
82
|
+
a(t(Q), { size: s.size }, {
|
|
83
|
+
default: l(() => [
|
|
84
|
+
a(W)
|
|
85
|
+
]),
|
|
86
|
+
_: 1
|
|
87
|
+
}, 8, ["size"]),
|
|
88
|
+
r("div", {
|
|
89
|
+
class: R(t(h))
|
|
90
|
+
}, f(t(i)(s.text || "标注")), 3)
|
|
91
|
+
])
|
|
92
|
+
]),
|
|
93
|
+
default: l(() => [
|
|
94
|
+
a(t(H), {
|
|
95
|
+
shadow: "never",
|
|
96
|
+
header: t(i)("标注工具"),
|
|
97
|
+
"body-style": { padding: "8px" }
|
|
98
|
+
}, {
|
|
99
|
+
default: l(() => [
|
|
100
|
+
r("div", null, [
|
|
101
|
+
a(t(C), { type: "danger" }, {
|
|
102
|
+
default: l(() => [
|
|
103
|
+
v(f(t(i)("按ESC可退出标注模式")), 1)
|
|
104
|
+
]),
|
|
105
|
+
_: 1
|
|
106
|
+
})
|
|
107
|
+
]),
|
|
108
|
+
r("div", null, [
|
|
109
|
+
a(t(C), { type: "danger" }, {
|
|
110
|
+
default: l(() => [
|
|
111
|
+
v(f(t(i)("点击标注按Delete键可删除标注")), 1)
|
|
112
|
+
]),
|
|
113
|
+
_: 1
|
|
114
|
+
})
|
|
115
|
+
]),
|
|
116
|
+
a(t(J), null, {
|
|
117
|
+
default: l(() => [
|
|
118
|
+
(b(), $(A, null, I(x, (w, m) => a(t(K), {
|
|
119
|
+
key: m,
|
|
120
|
+
class: "flex justify-content-center align-items-center",
|
|
121
|
+
span: 8
|
|
122
|
+
}, {
|
|
123
|
+
default: l(() => [
|
|
124
|
+
r("div", {
|
|
125
|
+
class: "hzzt-kfb-toolbox-annotate-icon",
|
|
126
|
+
onClick: (Z) => E(m)
|
|
127
|
+
}, [
|
|
128
|
+
a(U, {
|
|
129
|
+
size: "32",
|
|
130
|
+
name: `mark${w}`
|
|
131
|
+
}, null, 8, ["name"])
|
|
132
|
+
], 8, X)
|
|
133
|
+
]),
|
|
134
|
+
_: 2
|
|
135
|
+
}, 1024)), 64))
|
|
136
|
+
]),
|
|
137
|
+
_: 1
|
|
138
|
+
})
|
|
139
|
+
]),
|
|
140
|
+
_: 1
|
|
141
|
+
}, 8, ["header"])
|
|
142
|
+
]),
|
|
143
|
+
_: 1
|
|
144
|
+
}, 8, ["visible"]));
|
|
145
|
+
}
|
|
146
|
+
}), se = /* @__PURE__ */ q(Y, [["__scopeId", "data-v-ee114194"]]);
|
|
147
|
+
export {
|
|
148
|
+
se as default
|
|
149
|
+
};
|
|
@@ -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("./indexBRaJsjOY.js"),r={},l={width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function o(i,t){return e.openBlock(),e.createElementBlock("svg",l,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(r,[["render",o]]);exports.default=c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./indexBRaJsjOY.js"),o={},n={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"};function c(s,t){return e.openBlock(),e.createElementBlock("svg",n,t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M104.704 338.752a64 64 0 0 1 90.496 0l316.8 316.8 316.8-316.8a64 64 0 0 1 90.496 90.496L557.248 791.296a64 64 0 0 1-90.496 0L104.704 429.248a64 64 0 0 1 0-90.496z"},null,-1)]))}const l=r._export_sfc(o,[["render",c]]);exports.default=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./indexBRaJsjOY.js"),o={},n={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"};function l(s,t){return e.openBlock(),e.createElementBlock("svg",n,t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M685.248 104.704a64 64 0 0 1 0 90.496L368.448 512l316.8 316.8a64 64 0 0 1-90.496 90.496L232.704 557.248a64 64 0 0 1 0-90.496l362.048-362.048a64 64 0 0 1 90.496 0z"},null,-1)]))}const c=r._export_sfc(o,[["render",l]]);exports.default=c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./indexBRaJsjOY.js"),o={},n={"data-v-be2211c4":"",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"};function c(s,t){return e.openBlock(),e.createElementBlock("svg",n,t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M338.752 104.704a64 64 0 0 0 0 90.496l316.8 316.8-316.8 316.8a64 64 0 0 0 90.496 90.496l362.048-362.048a64 64 0 0 0 0-90.496L429.248 104.704a64 64 0 0 0-90.496 0z"},null,-1)]))}const l=r._export_sfc(o,[["render",c]]);exports.default=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./indexBRaJsjOY.js"),o={},n={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"};function c(s,t){return e.openBlock(),e.createElementBlock("svg",n,t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M104.704 685.248a64 64 0 0 0 90.496 0l316.8-316.8 316.8 316.8a64 64 0 0 0 90.496-90.496L557.248 232.704a64 64 0 0 0-90.496 0L104.704 594.752a64 64 0 0 0 0 90.496z"},null,-1)]))}const l=r._export_sfc(o,[["render",c]]);exports.default=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./indexBRaJsjOY.js"),n={},o={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function l(i,t){return e.openBlock(),e.createElementBlock("svg",o,t[0]||(t[0]=[e.createElementVNode("g",null,[e.createElementVNode("path",{d:"M19.4505 17.3295L12.84 10.7175L16.5495 8.54999L4.5495 4.55099L8.55 16.5495L10.7175 12.8385L17.3295 19.4505L19.4505 17.3295Z",fill:"currentColor"})],-1)]))}const c=r._export_sfc(n,[["render",l]]);exports.default=c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./indexBRaJsjOY.js"),n={},o={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function l(i,t){return e.openBlock(),e.createElementBlock("svg",o,t[0]||(t[0]=[e.createElementVNode("g",null,[e.createElementVNode("path",{d:"M15 13.4341L10.1201 8.5526L12.8585 6.95238L4 4L6.95319 12.8582L8.55325 10.1185L13.4343 15L15 13.4341Z",fill:"currentColor"}),e.createElementVNode("path",{d:"M9 10.5659L13.8799 15.4474L11.1415 17.0476L20 20L17.0468 11.1418L15.4467 13.8815L10.5657 9L9 10.5659Z",fill:"currentColor"})],-1)]))}const c=r._export_sfc(n,[["render",l]]);exports.default=c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("./indexBRaJsjOY.js"),c={},l={viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64"};function n(d,t){return e.openBlock(),e.createElementBlock("svg",l,t[0]||(t[0]=[e.createElementVNode("path",{d:"M512 0C229.302857 0 0 229.302857 0 512c0 93.257143 25.234286 180.297143 68.754286 255.634286L512 512V0z",fill:"#d81e06","data-spm-anchor-id":"a313x.search_index.0.i9.3dfc3a81UyqIlJ",class:""},null,-1),e.createElementVNode("path",{d:"M512 512L68.754286 767.634286C157.257143 920.502857 322.194286 1024 512 1024s354.377143-103.131429 443.245714-256.365714L512 512z",fill:"#1afa29","data-spm-anchor-id":"a313x.search_index.0.i7.3dfc3a81UyqIlJ",class:""},null,-1),e.createElementVNode("path",{d:"M512 0v512l443.245714 255.634286C998.765714 692.297143 1024 605.257143 1024 512c0-282.697143-229.302857-512-512-512z",fill:"#13227a","data-spm-anchor-id":"a313x.search_index.0.i10.3dfc3a81UyqIlJ",class:"selected"},null,-1)]))}const s=a._export_sfc(c,[["render",n]]);exports.default=s;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createElementBlock as t, openBlock as o, createElementVNode as r } from "vue";
|
|
2
|
-
import { _ as f } from "./
|
|
2
|
+
import { _ as f } from "./indexBh5KU0gc.js";
|
|
3
3
|
const n = {}, l = {
|
|
4
4
|
viewBox: "0 0 1024 1024",
|
|
5
5
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -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("./indexBRaJsjOY.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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./indexBRaJsjOY.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;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as p, mergeDefaults as f, ref as u, createElementBlock as d, openBlock as t, createBlock as k, createElementVNode as z, resolveDynamicComponent as C, normalizeClass as v, unref as n, renderSlot as y, createTextVNode as _, toDisplayString as B } from "vue";
|
|
2
|
-
import { u as b, d as h } from "./
|
|
2
|
+
import { u as b, d as h } from "./useCommonDHbNZHPx.js";
|
|
3
3
|
const g = /* @__PURE__ */ p({
|
|
4
4
|
name: "ToolCustom",
|
|
5
5
|
__name: "custom",
|
|
@@ -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("./useCommonCOFBzxWN.js"),u=e.defineComponent({name:"ToolCustom",__name:"custom",props:e.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function},options:{}},n.defaultProps),emits:["tool"],setup(s,{emit:l}){const r=s,c=l,{t:a,textClass:i}=n.useCommon(),t=e.ref();function m(){c("tool",r.name||"",t.value)}return(o,p)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"toolRef",ref:t,class:"hzzt-kfb-toolbox__icon",onClick:m},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.component),{size:o.size},null,8,["size"])),e.createElementVNode("div",{class:e.normalizeClass(e.unref(i))},[e.renderSlot(o.$slots,"default",{},()=>[e.createTextVNode(e.toDisplayString(e.unref(a)(o.text||" ")),1)])],2)],512))}});exports.default=u;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./indexBRaJsjOY.js"),n={},o={viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"};function l(c,t){return e.openBlock(),e.createElementBlock("svg",o,t[0]||(t[0]=[e.createElementVNode("path",{d:"M256 170.667h512V85.333H256v85.334z m597.333 0h128a42.667 42.667 0 1 1 0 85.333H42.667a42.667 42.667 0 0 1 0-85.333h128V85.333A85.333 85.333 0 0 1 256 0h512a85.333 85.333 0 0 1 85.333 85.333v85.334z m-768 170.666a42.667 42.667 0 0 1 85.334 0h682.666a42.667 42.667 0 1 1 85.334 0v597.334A85.333 85.333 0 0 1 853.333 1024H170.667a85.333 85.333 0 0 1-85.334-85.333V341.333z m85.334 0v597.334h682.666V341.333H170.667z",fill:"currentColor"},null,-1),e.createElementVNode("path",{d:"M384 298.667a42.667 42.667 0 0 1 42.667 42.666v469.334a42.667 42.667 0 0 1-85.334 0V341.333A42.667 42.667 0 0 1 384 298.667z m256 0a42.667 42.667 0 0 1 42.667 42.666v469.334a42.667 42.667 0 0 1-85.334 0V341.333A42.667 42.667 0 0 1 640 298.667z",fill:"currentColor"},null,-1)]))}const a=r._export_sfc(n,[["render",l]]);exports.default=a;
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { defineComponent as P, mergeDefaults as S, ref as V, inject as N, watch as C, createBlock as k, openBlock as r, unref as a, withCtx as i, createVNode as u, createElementVNode as n, toDisplayString as f, createElementBlock as z, Fragment as O, renderList as T, normalizeClass as b, normalizeStyle as A, createCommentVNode as j } from "vue";
|
|
2
|
+
import { u as I, i as $, g as U, a as W, _ as Y } from "./indexBh5KU0gc.js";
|
|
3
|
+
import { u as q, d as G } from "./useCommonDHbNZHPx.js";
|
|
4
|
+
import H from "./dotCF4uUQRa.js";
|
|
5
|
+
import J from "./checkDCHcEtVx.js";
|
|
6
|
+
import { ElPopover as K, ElCard as M, ElIcon as g } from "element-plus";
|
|
7
|
+
const Q = { class: "hzzt-dot-count-card__hint" }, X = { class: "hzzt-dot-count-row flex align-items-center" }, Z = ["onClick"], R = { class: "hzzt-dot-count-item__num" }, D = "#FFAA00", ee = /* @__PURE__ */ P({
|
|
8
|
+
name: "ToolDot",
|
|
9
|
+
__name: "dot",
|
|
10
|
+
props: /* @__PURE__ */ S({
|
|
11
|
+
size: {},
|
|
12
|
+
text: {},
|
|
13
|
+
name: {},
|
|
14
|
+
component: {},
|
|
15
|
+
isPrevent: { type: Boolean },
|
|
16
|
+
callback: { type: Function },
|
|
17
|
+
options: {}
|
|
18
|
+
}, G),
|
|
19
|
+
emits: ["tool"],
|
|
20
|
+
setup(te, { emit: w }) {
|
|
21
|
+
const p = w, { t: h, textClass: E } = q();
|
|
22
|
+
function v() {
|
|
23
|
+
m(), p("tool", "endDraw");
|
|
24
|
+
}
|
|
25
|
+
const { visible: x, togglePanel: y } = I("dot", { onClose: v }), c = V([
|
|
26
|
+
{ label: D, value: 0, checked: !1 },
|
|
27
|
+
{ label: "#004BFF", value: 0, checked: !1 },
|
|
28
|
+
{ label: "#FF4B40", value: 0, checked: !1 },
|
|
29
|
+
{ label: "#51C964", value: 0, checked: !1 },
|
|
30
|
+
{ label: "#00BEFF", value: 0, checked: !1 },
|
|
31
|
+
{ label: "#8C58CE", value: 0, checked: !1 },
|
|
32
|
+
{ label: "#F261A7", value: 0, checked: !1 }
|
|
33
|
+
]), l = N("kfbViewRef");
|
|
34
|
+
function F() {
|
|
35
|
+
var t, o;
|
|
36
|
+
const e = ((o = (t = l == null ? void 0 : l.value) == null ? void 0 : t.kfbView) == null ? void 0 : o.labelList) || [];
|
|
37
|
+
c.value.forEach((d) => {
|
|
38
|
+
d.value = e.filter(
|
|
39
|
+
(s) => $(s) && U(s) === d.label && (s == null ? void 0 : s.tool) === "Dot"
|
|
40
|
+
).length;
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
C(
|
|
44
|
+
() => {
|
|
45
|
+
var e, t;
|
|
46
|
+
return (t = (e = l == null ? void 0 : l.value) == null ? void 0 : e.kfbView) == null ? void 0 : t.labelList;
|
|
47
|
+
},
|
|
48
|
+
F,
|
|
49
|
+
{ deep: !0 }
|
|
50
|
+
), C(
|
|
51
|
+
() => {
|
|
52
|
+
var e, t;
|
|
53
|
+
return (t = (e = l == null ? void 0 : l.value) == null ? void 0 : e.isCountDrawing) == null ? void 0 : t.value;
|
|
54
|
+
},
|
|
55
|
+
(e) => {
|
|
56
|
+
e || c.value.forEach((t) => {
|
|
57
|
+
t.checked = !1;
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
);
|
|
61
|
+
function m() {
|
|
62
|
+
c.value.forEach((e) => {
|
|
63
|
+
e.checked = !1;
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
function _(e) {
|
|
67
|
+
m(), e.checked = !0, p("tool", "annotate", W(e.label));
|
|
68
|
+
}
|
|
69
|
+
function L() {
|
|
70
|
+
const e = c.value.find((t) => t.label === D);
|
|
71
|
+
e && _(e);
|
|
72
|
+
}
|
|
73
|
+
function B() {
|
|
74
|
+
y(
|
|
75
|
+
() => L(),
|
|
76
|
+
v
|
|
77
|
+
);
|
|
78
|
+
}
|
|
79
|
+
return (e, t) => (r(), k(a(K), {
|
|
80
|
+
visible: a(x),
|
|
81
|
+
"popper-class": "el-popover-padding-0 hzzt-dot-count-popover",
|
|
82
|
+
placement: "bottom",
|
|
83
|
+
width: "auto",
|
|
84
|
+
trigger: "click",
|
|
85
|
+
teleported: !1
|
|
86
|
+
}, {
|
|
87
|
+
reference: i(() => [
|
|
88
|
+
n("div", {
|
|
89
|
+
class: "hzzt-kfb-toolbox__icon",
|
|
90
|
+
onClick: t[0] || (t[0] = (o) => B())
|
|
91
|
+
}, [
|
|
92
|
+
u(a(g), { size: e.size }, {
|
|
93
|
+
default: i(() => [
|
|
94
|
+
u(H)
|
|
95
|
+
]),
|
|
96
|
+
_: 1
|
|
97
|
+
}, 8, ["size"]),
|
|
98
|
+
n("div", {
|
|
99
|
+
class: b(a(E))
|
|
100
|
+
}, f(a(h)(e.text || "打点")), 3)
|
|
101
|
+
])
|
|
102
|
+
]),
|
|
103
|
+
default: i(() => [
|
|
104
|
+
u(a(M), {
|
|
105
|
+
shadow: "never",
|
|
106
|
+
class: "hzzt-dot-count-card"
|
|
107
|
+
}, {
|
|
108
|
+
default: i(() => [
|
|
109
|
+
n("p", Q, f(a(h)("按下ESC键结束打点操作")), 1),
|
|
110
|
+
n("div", X, [
|
|
111
|
+
(r(!0), z(O, null, T(c.value, (o) => (r(), z("div", {
|
|
112
|
+
key: o.label,
|
|
113
|
+
class: b(["hzzt-dot-count-item", { "is-active": o.checked }]),
|
|
114
|
+
onClick: (d) => _(o)
|
|
115
|
+
}, [
|
|
116
|
+
n("div", {
|
|
117
|
+
style: A({ backgroundColor: o.label }),
|
|
118
|
+
class: "hzzt-kfb-toolbox-dot__box flex align-items-center justify-content-center"
|
|
119
|
+
}, [
|
|
120
|
+
o.checked ? (r(), k(a(g), {
|
|
121
|
+
key: 0,
|
|
122
|
+
size: "14"
|
|
123
|
+
}, {
|
|
124
|
+
default: i(() => [
|
|
125
|
+
u(J)
|
|
126
|
+
]),
|
|
127
|
+
_: 1
|
|
128
|
+
})) : j("", !0)
|
|
129
|
+
], 4),
|
|
130
|
+
n("span", R, f(o.value), 1)
|
|
131
|
+
], 10, Z))), 128))
|
|
132
|
+
])
|
|
133
|
+
]),
|
|
134
|
+
_: 1
|
|
135
|
+
})
|
|
136
|
+
]),
|
|
137
|
+
_: 1
|
|
138
|
+
}, 8, ["visible"]));
|
|
139
|
+
}
|
|
140
|
+
}), ie = /* @__PURE__ */ Y(ee, [["__scopeId", "data-v-b2c96454"]]);
|
|
141
|
+
export {
|
|
142
|
+
ie as default
|
|
143
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./indexBRaJsjOY.js"),p=require("./useCommonCOFBzxWN.js"),w=require("./dotWtWR9rNf.js"),x=require("./checkXk_obLle.js"),r=require("element-plus"),y={class:"hzzt-dot-count-card__hint"},D={class:"hzzt-dot-count-row flex align-items-center"},V=["onClick"],B={class:"hzzt-dot-count-item__num"},C="#FFAA00",N=e.defineComponent({name:"ToolDot",__name:"dot",props:e.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function},options:{}},p.defaultProps),emits:["tool"],setup(S,{emit:k}){const u=k,{t:d,textClass:m}=p.useCommon();function f(){h(),u("tool","endDraw")}const{visible:_,togglePanel:z}=s.useToolboxPanel("dot",{onClose:f}),c=e.ref([{label:C,value:0,checked:!1},{label:"#004BFF",value:0,checked:!1},{label:"#FF4B40",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}]),n=e.inject("kfbViewRef");function b(){var o,l;const t=((l=(o=n==null?void 0:n.value)==null?void 0:o.kfbView)==null?void 0:l.labelList)||[];c.value.forEach(i=>{i.value=t.filter(a=>s.isCountDotLabel(a)&&s.getLabelStrokeStyle(a)===i.label&&(a==null?void 0:a.tool)==="Dot").length})}e.watch(()=>{var t,o;return(o=(t=n==null?void 0:n.value)==null?void 0:t.kfbView)==null?void 0:o.labelList},b,{deep:!0}),e.watch(()=>{var t,o;return(o=(t=n==null?void 0:n.value)==null?void 0:t.isCountDrawing)==null?void 0:o.value},t=>{t||c.value.forEach(o=>{o.checked=!1})});function h(){c.value.forEach(t=>{t.checked=!1})}function v(t){h(),t.checked=!0,u("tool","annotate",s.getCountDrawStartOptions(t.label))}function g(){const t=c.value.find(o=>o.label===C);t&&v(t)}function E(){z(()=>g(),f)}return(t,o)=>(e.openBlock(),e.createBlock(e.unref(r.ElPopover),{visible:e.unref(_),"popper-class":"el-popover-padding-0 hzzt-dot-count-popover",placement:"bottom",width:"auto",trigger:"click",teleported:!1},{reference:e.withCtx(()=>[e.createElementVNode("div",{class:"hzzt-kfb-toolbox__icon",onClick:o[0]||(o[0]=l=>E())},[e.createVNode(e.unref(r.ElIcon),{size:t.size},{default:e.withCtx(()=>[e.createVNode(w.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(m))},e.toDisplayString(e.unref(d)(t.text||"打点")),3)])]),default:e.withCtx(()=>[e.createVNode(e.unref(r.ElCard),{shadow:"never",class:"hzzt-dot-count-card"},{default:e.withCtx(()=>[e.createElementVNode("p",y,e.toDisplayString(e.unref(d)("按下ESC键结束打点操作")),1),e.createElementVNode("div",D,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,l=>(e.openBlock(),e.createElementBlock("div",{key:l.label,class:e.normalizeClass(["hzzt-dot-count-item",{"is-active":l.checked}]),onClick:i=>v(l)},[e.createElementVNode("div",{style:e.normalizeStyle({backgroundColor:l.label}),class:"hzzt-kfb-toolbox-dot__box flex align-items-center justify-content-center"},[l.checked?(e.openBlock(),e.createBlock(e.unref(r.ElIcon),{key:0,size:"14"},{default:e.withCtx(()=>[e.createVNode(x.default)]),_:1})):e.createCommentVNode("",!0)],4),e.createElementVNode("span",B,e.toDisplayString(l.value),1)],10,V))),128))])]),_:1})]),_:1},8,["visible"]))}}),F=s._export_sfc(N,[["__scopeId","data-v-b2c96454"]]);exports.default=F;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./indexBRaJsjOY.js"),n={},o={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function c(i,t){return e.openBlock(),e.createElementBlock("svg",o,t[0]||(t[0]=[e.createElementVNode("g",null,[e.createElementVNode("circle",{cx:"12",cy:"12",r:"4",fill:"currentColor"})],-1)]))}const l=r._export_sfc(n,[["render",c]]);exports.default=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),c=require("./indexBRaJsjOY.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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./indexBRaJsjOY.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 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("./indexBRaJsjOY.js"),s=require("./useCommonCOFBzxWN.js"),o=require("element-plus"),v=require("./downloadC2Sr_kWm.js"),x={class:"flex column align-items-center"},C=e.defineComponent({name:"ToolDownload",__name:"download",props:e.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function},options:{}},s.defaultProps),emits:["tool"],setup(w,{emit:d}){const c=d,{t:l,textClass:u}=s.useCommon(),{visible:f,togglePanel:p,closePanel:m}=a.useToolboxPanel("download");function r(n){c("tool","download",n),m()}return(n,t)=>(e.openBlock(),e.createBlock(e.unref(o.ElPopover),{visible:e.unref(f),"popper-class":"el-popover-padding-0",placement:"bottom",width:180,trigger:"click",teleported:!1},{reference:e.withCtx(()=>[e.createElementVNode("div",{class:"hzzt-kfb-toolbox__icon",onClick:t[2]||(t[2]=i=>e.unref(p)())},[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(u))},e.toDisplayString(e.unref(l)(n.text||"下载")),3)])]),default:e.withCtx(()=>[e.createVNode(e.unref(o.ElCard),{shadow:"never"},{default:e.withCtx(()=>[e.createElementVNode("div",x,[e.createVNode(e.unref(o.ElLink),{onClick:t[0]||(t[0]=i=>r("all"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("下载全部切片")),1)]),_:1}),e.createVNode(e.unref(o.ElLink),{type:"primary",class:"margin-t-2",onClick:t[1]||(t[1]=i=>r("single"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("下载当前切片")),1)]),_:1})])]),_:1})]),_:1},8,["visible"]))}}),g=a._export_sfc(C,[["__scopeId","data-v-53dfb322"]]);exports.default=g;
|