hzzt-kfb-slide 1.0.23 → 1.0.25
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/{annotateCdrBq7m9.js → annotateBG24eREo.js} +1 -1
- package/dist/components/annotateD-_vf7FH.js +1 -0
- package/dist/components/annotateDkiIha4h.js +149 -0
- package/dist/components/{annotateDaK1jE3r.js → annotateDnd3KcrX.js} +1 -1
- package/dist/components/{arrowD6uQqBCH.js → arrowBlfajbpN.js} +1 -1
- package/dist/components/{arrowCircleCIYWu4oI.js → arrowCircleBSCcx_fC.js} +1 -1
- package/dist/components/{arrowCircle8n_E-zon.js → arrowCircleDMgYuA-3.js} +1 -1
- package/dist/components/{arrowBheYCQhb.js → arrowDZg78diP.js} +1 -1
- package/dist/components/{arrowDownmooxKjZD.js → arrowDownBBgckqN0.js} +1 -1
- package/dist/components/{arrowDown1zNbYUsw.js → arrowDownD1NYnYSj.js} +1 -1
- package/dist/components/{arrowLeftC4Km9_T8.js → arrowLeft05QmCAJu.js} +1 -1
- package/dist/components/{arrowLeftCkdpHF1s.js → arrowLeftzu39zQqX.js} +1 -1
- package/dist/components/{arrowRightBNW_c51s.js → arrowRightCVoPKqMr.js} +1 -1
- package/dist/components/{arrowRightD2Dn7gNf.js → arrowRightkJF7wYz6.js} +1 -1
- package/dist/components/{arrowUpVMgKMDpa.js → arrowUpBva7KVZX.js} +1 -1
- package/dist/components/{arrowUpDSEsQOF8.js → arrowUpyUjKoPXF.js} +1 -1
- package/dist/components/{bilateralD6Gt3vTK.js → bilateralCm3HSKAK.js} +1 -1
- package/dist/components/{bilateralCuVbPXBS.js → bilateralDznzCZVH.js} +1 -1
- package/dist/components/{channelBKgSvf8R.js → channelD17_c9h8.js} +1 -1
- package/dist/components/{channelCqNdrLRp.js → channelIDu7mJYK.js} +1 -1
- package/dist/components/{checkBgFKeiEk.js → checkBbDLRH8O.js} +1 -1
- package/dist/components/{checkBTxTPUmG.js → checkD1m2v2bw.js} +1 -1
- package/dist/components/{configBwcIvofN.js → configCWYCSPqR.js} +1 -1
- package/dist/components/{configVzpNBK4j.js → configCy79Qt_n.js} +1 -1
- package/dist/components/{customXQMwCWH-.js → customCMTvO4HG.js} +1 -1
- package/dist/components/{customBzNUnI1_.js → customLyCdTYV6.js} +1 -1
- package/dist/components/{deleteuKM3eNg9.js → deleteBiHRutk4.js} +1 -1
- package/dist/components/{deleter46PUcR7.js → deleteDpKh3xn4.js} +1 -1
- package/dist/components/dotBc9dhQCv.js +143 -0
- package/dist/components/{dotAjbwYIjc.js → dotBetIG6uP.js} +1 -1
- package/dist/components/{dotB5fcm7HI.js → dotBgdFw0l7.js} +1 -1
- package/dist/components/dotBw1pQUxk.js +1 -0
- package/dist/components/{dotDRxxoGDN.js → dotCTotQZoj.js} +1 -1
- package/dist/components/{dota_h96wsk.js → dotnVcsn8FU.js} +1 -1
- package/dist/components/{downloadPtg2z7ow.js → downloadCN790nIm.js} +1 -1
- package/dist/components/{download0raNbGIQ.js → downloadCr4HK16a.js} +1 -1
- package/dist/components/downloadD-tJRPCD.js +81 -0
- package/dist/components/downloadzolHCBdV.js +1 -0
- package/dist/components/{ellipseBZ8yYlaL.js → ellipseC2Excj9e.js} +1 -1
- package/dist/components/{ellipseYlyaoyZy.js → ellipseCPpO6dlh.js} +1 -1
- package/dist/components/{expandLeftghSpebGj.js → expandLeftBtWtAbSO.js} +1 -1
- package/dist/components/{expandLeftBz3QWv76.js → expandLeftDjhONtSY.js} +1 -1
- package/dist/components/{expandRightChb52_6H.js → expandRightBtg63BJP.js} +1 -1
- package/dist/components/{expandRightDd6ZAOUC.js → expandRightCPU_U80H.js} +1 -1
- package/dist/components/{flagBMUYJUOS.js → flagDsDn0eQi.js} +1 -1
- package/dist/components/{flagBDAHGxBH.js → flagKDKRw3kw.js} +1 -1
- package/dist/components/{flipjqZMkNdX.js → flipCvhvEaNg.js} +1 -1
- package/dist/components/{flipBP-wAUm3.js → flipDhYZqhKq.js} +1 -1
- package/dist/components/{fontuqvRNpUO.js → fontCFXVa27j.js} +1 -1
- package/dist/components/{fontD7bsQ6Kn.js → fonto8Ggoqjd.js} +1 -1
- package/dist/components/freehandC0F3TTm7.js +1 -0
- package/dist/components/freehandCwL2CDB5.js +34 -0
- package/dist/components/{fullscreen9MksDRTj.js → fullscreen6r3rYJqU.js} +1 -1
- package/dist/components/{fullscreenD0Tzcmnh.js → fullscreenDc8Ns6os.js} +1 -1
- package/dist/components/{fullscreen37xb3o_w.js → fullscreenSfx7hfGy.js} +2 -2
- package/dist/components/{fullscreenCGg-0cLE.js → fullscreenaEfvcfg0.js} +1 -1
- package/dist/components/{fulltailorCoKvg5RU.js → fulltailorDMN2jXrv.js} +1 -1
- package/dist/components/{fulltailorBSTnzZ4Z.js → fulltailorM_9ui8Qd.js} +1 -1
- package/dist/components/indexC4oVi9nu.js +4 -0
- package/dist/components/indexDS1PyYnS.js +5006 -0
- package/dist/components/{infoCliobJhI.js → infoB9esuFzs.js} +1 -1
- package/dist/components/{infoDPbhLlzT.js → infoDmd1PmhE.js} +1 -1
- package/dist/components/{leveltna91jcl.js → levelDhMs2yvV.js} +1 -1
- package/dist/components/{levelDVFlbZm1.js → leveluOkoJ5uA.js} +1 -1
- package/dist/components/{lineDzSSW3FQ.js → lineDHgkYYRA.js} +1 -1
- package/dist/components/{lineCD0z4dkx.js → lineDngsCaW7.js} +1 -1
- package/dist/components/{measureBPBCptL3.js → measureBnx0wTco.js} +1 -1
- package/dist/components/{measureD5T3GJdx.js → measureSjys_2v3.js} +1 -1
- package/dist/components/{microscopeDegPy72f.js → microscopeDP6T8Lwr.js} +1 -1
- package/dist/components/microscopeDkxzcQ6n.js +1 -0
- package/dist/components/microscopeu-Zle96z.js +147 -0
- package/dist/components/{microscopeDcthRXKH.js → microscopewtjodcx-.js} +1 -1
- package/dist/components/moveBL2y9KN4.js +76 -0
- package/dist/components/{moveDqW3yXmH.js → moveCVbVQ36M.js} +1 -1
- package/dist/components/moveD0Ssq1Gq.js +1 -0
- package/dist/components/{move070cVXtD.js → moveDBzQXotC.js} +1 -1
- package/dist/components/{nextBZAAY1k5.js → nextCEb_5C9P.js} +1 -1
- package/dist/components/{nexthP2NziP8.js → nextDLfsr0Qz.js} +1 -1
- package/dist/components/{polygonBME7HxkO.js → polygonB1q4diO5.js} +1 -1
- package/dist/components/{polygonm12gSiRd.js → polygonBbkNrOKO.js} +1 -1
- package/dist/components/{prevBeRhvwg-.js → prevDnDtJQtE.js} +1 -1
- package/dist/components/{prevBjt_4jy1.js → prevloGKoZxg.js} +1 -1
- package/dist/components/{processDp8eVPwV.js → processB2ipTlge.js} +1 -1
- package/dist/components/processCPHPa_1z.js +1 -0
- package/dist/components/{processB0ltLhs4.js → processDKHcLOYj.js} +1 -1
- package/dist/components/processebsPuk6I.js +295 -0
- package/dist/components/{rectangleDF-sjc4U.js → rectangleBGNsCFYC.js} +1 -1
- package/dist/components/{rectangleBayqQAM3.js → rectangleBcRNueFj.js} +1 -1
- package/dist/components/{rotateDAZpn-EP.js → rotateC_REScrV.js} +1 -1
- package/dist/components/rotateCwMaqJVZ.js +1 -0
- package/dist/components/rotateDjH8rcdX.js +142 -0
- package/dist/components/{rotateCHwgvi0w.js → rotatedxrC7JsT.js} +1 -1
- package/dist/components/{settingDCHoGlD6.js → setting6_GVR_Vy.js} +1 -1
- package/dist/components/{settingbRL2Yq3Q.js → settingB-SF1Xv3.js} +1 -1
- package/dist/components/{settingDDrDpNDx.js → settingBoPQM5uB.js} +52 -48
- package/dist/components/settingD-76NDpj.js +1 -0
- package/dist/components/{stargRYGEmWK.js → starB4AKJs4t.js} +1 -1
- package/dist/components/{starC7c9npWd.js → starBZyDOo8i.js} +1 -1
- package/dist/components/{tailorBANgQtgd.js → tailorCgtT6MLg.js} +1 -1
- package/dist/components/{tailorDNkQPURv.js → tailorRhbP_gZO.js} +1 -1
- package/dist/components/{useCommonBnNHmM1A.js → useCommonBsA4taM2.js} +4 -4
- package/dist/components/{useCommonD_oGx4Eb.js → useCommonlyd0sOE2.js} +1 -1
- package/dist/components/{voiceTmNBX9My.js → voiceBut72TDW.js} +1 -1
- package/dist/components/{voiceDUWhgryp.js → voiceDnYzO3wN.js} +1 -1
- package/dist/components/{zoomCBwLbhKZ.js → zoomCLNYvbCn.js} +1 -1
- package/dist/components/{zoomDhb7eteA.js → zoomDT84gHFo.js} +1 -1
- package/dist/components/{zoomInDzdlJrl-.js → zoomIn4aqslp-q.js} +1 -1
- package/dist/components/{zoomInBRC0loE6.js → zoomIno-123uPw.js} +1 -1
- package/dist/components/{zoomOutDFJC7cdD.js → zoomOutBZF1VG7_.js} +1 -1
- package/dist/components/{zoomOutCughQp6N.js → zoomOutDAUQW_fX.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/annotateCEdf17JQ.js +0 -1
- package/dist/components/annotateDaCoAYvk.js +0 -134
- package/dist/components/dotBcS-s4Ji.js +0 -132
- package/dist/components/dotC60HsnQC.js +0 -1
- package/dist/components/downloadCeZHm1b2.js +0 -81
- package/dist/components/downloadQG7ZwYfQ.js +0 -1
- package/dist/components/indexDTYgyrVJ.js +0 -4
- package/dist/components/indexDv4bEiVT.js +0 -4924
- package/dist/components/microscopeC0PdDwyZ.js +0 -138
- package/dist/components/microscopeCrL6eo86.js +0 -1
- package/dist/components/moveBwSb5kHc.js +0 -76
- package/dist/components/moveDIVhruOl.js +0 -1
- package/dist/components/processBts7MflP.js +0 -1
- package/dist/components/processCU2pn9qa.js +0 -287
- package/dist/components/rotateDTWjJwsV.js +0 -1
- package/dist/components/rotateDptIMits.js +0 -138
- package/dist/components/settingD62IUtKU.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("./useCommonlyd0sOE2.js"),d=require("./indexC4oVi9nu.js"),l=require("element-plus"),P=require("./annotateDnd3KcrX.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;
|
|
@@ -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 "./useCommonBsA4taM2.js";
|
|
15
|
+
import { u as O, b as U, _ as q } from "./indexDS1PyYnS.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 "./annotateBG24eREo.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"),L=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),L=require("./indexC4oVi9nu.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;
|
|
@@ -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("./indexC4oVi9nu.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("./indexC4oVi9nu.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("./indexC4oVi9nu.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("./indexC4oVi9nu.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("./indexC4oVi9nu.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("./indexC4oVi9nu.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("./indexC4oVi9nu.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("./indexC4oVi9nu.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 +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("./indexC4oVi9nu.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,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 "./indexDS1PyYnS.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"),t=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t=require("./indexC4oVi9nu.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 "./useCommonBsA4taM2.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("./useCommonlyd0sOE2.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("./indexC4oVi9nu.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 "./indexDS1PyYnS.js";
|
|
3
|
+
import { u as q, d as G } from "./useCommonBsA4taM2.js";
|
|
4
|
+
import H from "./dotBgdFw0l7.js";
|
|
5
|
+
import J from "./checkD1m2v2bw.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
|
+
};
|
|
@@ -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("./indexC4oVi9nu.js"),n={},o={t:"1717224898796",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2344",width:"128",height:"128"};function r(s,t){return e.openBlock(),e.createElementBlock("svg",o,t[0]||(t[0]=[e.createElementVNode("path",{d:"M512 427.023m-90 0a90 90 0 1 0 180 0 90 90 0 1 0-180 0Z","p-id":"2345"},null,-1),e.createElementVNode("path",{d:"M512 910.402c-19.14 0-37.482-5.854-53.042-16.929-14.063-10.01-24.926-23.596-31.589-39.46L255.043 585.177l-0.154-0.25C225.522 537.209 210 482.605 210 427.021c0-80.667 31.414-156.506 88.454-213.546S431.333 125.021 512 125.021s156.506 31.414 213.546 88.454C782.587 270.515 814 346.354 814 427.021c0 55.849-15.655 110.671-45.274 158.539l-0.264 0.419-172.081 268.716c-6.755 15.726-17.66 29.176-31.704 39.055-15.485 10.895-33.7 16.652-52.677 16.652zM309.246 551.141l175.494 273.78 1.194 3.197c4.149 11.107 14.381 18.284 26.066 18.284 11.584 0 21.791-7.071 26.004-18.015l1.165-3.028L714.43 551.678C737.701 513.983 750 470.884 750 427.021c0-63.572-24.756-123.339-69.709-168.292-44.952-44.951-104.719-69.708-168.291-69.708s-123.339 24.756-168.292 69.708S274 363.449 274 427.021c0 43.64 12.186 86.552 35.246 124.12z","p-id":"2346"},null,-1)]))}const l=c._export_sfc(n,[["render",r]]);exports.default=l;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./indexC4oVi9nu.js"),p=require("./useCommonlyd0sOE2.js"),w=require("./dotBetIG6uP.js"),x=require("./checkBbDLRH8O.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("./indexC4oVi9nu.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"),o=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./indexC4oVi9nu.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;
|