hzzt-kfb-slide 0.1.0 → 0.1.2
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/{annotateBCPPxCOM.js → annotateCMJGbBLj.js} +1 -1
- package/dist/components/{annotateBe1iGjLm.js → annotateCgNFZFGe.js} +1 -1
- package/dist/components/{annotateBjK38kC5.js → annotateDJFMTHXi.js} +3 -3
- package/dist/components/{annotateDswEmgoP.js → annotatejOG4ozNZ.js} +1 -1
- package/dist/components/{arrowBsGolew1.js → arrowBD2-xgIB.js} +1 -1
- package/dist/components/{arrowCircleDcEhXBbb.js → arrowCircleCAfdy8wW.js} +1 -1
- package/dist/components/{arrowCircleCwh64ps_.js → arrowCircleCf_nzJuW.js} +1 -1
- package/dist/components/{arrowB_iF_C7o.js → arrowD30w6-6J.js} +1 -1
- package/dist/components/{arrowDownBO1BfpJc.js → arrowDownDbjXJahP.js} +1 -1
- package/dist/components/{arrowDownGBYuSng0.js → arrowDownmXw2RWeL.js} +1 -1
- package/dist/components/{arrowLeftD5sInyYk.js → arrowLeftBwpF3loy.js} +1 -1
- package/dist/components/{arrowLeftC5fR0o6a.js → arrowLeftRbPGsfKL.js} +1 -1
- package/dist/components/{arrowRightD8w_2T2p.js → arrowRightBwD1sc8e.js} +1 -1
- package/dist/components/{arrowRightDZ5B3UGP.js → arrowRightD3iq1e3c.js} +1 -1
- package/dist/components/{arrowUpBeusa4Lo.js → arrowUpB1vQJOJG.js} +1 -1
- package/dist/components/{arrowUpBc9Kyfxz.js → arrowUpB5adayIQ.js} +1 -1
- package/dist/components/{bilateralCZQNj8IO.js → bilateralBKbIltDO.js} +1 -1
- package/dist/components/{bilateraliBpUezXT.js → bilateralBV_xkHx0.js} +1 -1
- package/dist/components/{channelD-i4fzni.js → channelB1SrYJDW.js} +1 -1
- package/dist/components/{channelCex9iiR2.js → channelH1BojppK.js} +1 -1
- package/dist/components/{checkCt32HIH2.js → checkBD6gH0q_.js} +1 -1
- package/dist/components/{checkDdnX-C4X.js → checkBY8nYbfd.js} +1 -1
- package/dist/components/{configBwkv57gw.js → configBcEj_8AB.js} +1 -1
- package/dist/components/{configBFvCGNtv.js → configCLkyNyEP.js} +1 -1
- package/dist/components/{customCGjGRDJm.js → customBdoSDhjH.js} +1 -1
- package/dist/components/{customCjYE_yPK.js → customDNmdytIO.js} +1 -1
- package/dist/components/{deleteBpbziZfN.js → deleteCCGds9UX.js} +1 -1
- package/dist/components/{deleteB9iRvKYT.js → deleteDG___Ydm.js} +1 -1
- package/dist/components/{dotD_biewxL.js → dotBWzkPfEe.js} +4 -4
- package/dist/components/{dotDcO8K7mJ.js → dotCAK1gSEZ.js} +1 -1
- package/dist/components/{dotCF84g70n.js → dotCog1e5Lr.js} +1 -1
- package/dist/components/{dotBlqZNkl0.js → dotDUHWjeT6.js} +1 -1
- package/dist/components/{dotDvq6YQgW.js → dotDeD0p4h3.js} +1 -1
- package/dist/components/{dotDeJyIiYJ.js → dotDhfq1ngT.js} +1 -1
- package/dist/components/{downloadBnieQIP8.js → downloadBZfVn0zc.js} +1 -1
- package/dist/components/{downloadDy93WSTG.js → downloadBd_Cujel.js} +1 -1
- package/dist/components/{downloadBwUL0Ea7.js → downloadBmt1pNrx.js} +1 -1
- package/dist/components/{downloadC8nKUjq6.js → downloadD849T2y9.js} +3 -3
- package/dist/components/{ellipseBxnZw_Wq.js → ellipseDQW2p8r2.js} +1 -1
- package/dist/components/{ellipseCp5zAGAh.js → ellipsei0WMn5o1.js} +1 -1
- package/dist/components/{expandLeft0jc4WZXg.js → expandLeftBv_okPlY.js} +1 -1
- package/dist/components/{expandLeftC1Ta5tGY.js → expandLeftDmUFkh2d.js} +1 -1
- package/dist/components/{expandRightBH8iguKS.js → expandRightBsKPjotO.js} +1 -1
- package/dist/components/{expandRightDb0-tlNj.js → expandRightDs1uCp6s.js} +1 -1
- package/dist/components/{flagBEcBfVBz.js → flagBKJwm8DA.js} +1 -1
- package/dist/components/{flagDbfaF80Z.js → flagC4kAWLMv.js} +1 -1
- package/dist/components/{flipChZNTRna.js → flipDVfGi2qG.js} +1 -1
- package/dist/components/{flipBIarRte4.js → fliprd-6cbtm.js} +1 -1
- package/dist/components/{fontU7S814K8.js → fontBhLyULEE.js} +1 -1
- package/dist/components/{fontBuHpTztq.js → fontPyP8n1pb.js} +1 -1
- package/dist/components/{fullscreenBpAk7wDb.js → fullscreenBT9qKvk2.js} +1 -1
- package/dist/components/{fullscreenBiMgHdq_.js → fullscreenBjnoUXEr.js} +2 -2
- package/dist/components/{fullscreenBQ1YkrN_.js → fullscreenC0sJWM1b.js} +1 -1
- package/dist/components/{fullscreenuBLuHv03.js → fullscreenDGVwmkgF.js} +1 -1
- package/dist/components/index3jvwVv4H.js +4 -0
- package/dist/components/indexCNC1g25E.js +3092 -0
- package/dist/components/{infoC4hGYJaF.js → infoDHGaQ92c.js} +1 -1
- package/dist/components/{infoCp7ve5DR.js → infoDniQzKU5.js} +1 -1
- package/dist/components/{levelCeI--h7X.js → levelCWEo4E8o.js} +1 -1
- package/dist/components/{levelKqcfU9Ld.js → levelDged-DD8.js} +1 -1
- package/dist/components/lineBNwqZbqu.js +11 -0
- package/dist/components/{lineC3B9m1Ug.js → lineCAnsgtDB.js} +1 -1
- package/dist/components/linej48TZYKp.js +1 -0
- package/dist/components/{lineOSorc3WE.js → linenA1Sbb0z.js} +1 -1
- package/dist/components/{microscopemifUUWdo.js → microscopeCXgA1RNg.js} +1 -1
- package/dist/components/{microscopeD9m8Vj5p.js → microscopeDxei39qJ.js} +3 -3
- package/dist/components/{microscopeBFEz_lq4.js → microscopeI_67Zvi_.js} +1 -1
- package/dist/components/{microscopeD9DoPiHa.js → microscopeM3B9tem3.js} +1 -1
- package/dist/components/{moveCoqqrHrF.js → moveB-6xS2dU.js} +1 -1
- package/dist/components/{move67AZY9GV.js → moveB0MjN8ns.js} +3 -3
- package/dist/components/{moveP1udjvew.js → moveCyESuupp.js} +1 -1
- package/dist/components/{move0dbwvgpp.js → moveDWuEFnzY.js} +1 -1
- package/dist/components/{nextF-0K-c0T.js → nextBP6jYEfR.js} +1 -1
- package/dist/components/{next949tlxwI.js → nextCmL8I293.js} +1 -1
- package/dist/components/{polygonCVRu0jGg.js → polygonDAJzvnQG.js} +1 -1
- package/dist/components/{polygonCY1umCDA.js → polygondICyAF92.js} +1 -1
- package/dist/components/{prevZJi0HBQa.js → prevDADkZRjt.js} +1 -1
- package/dist/components/{prevBoMShTVJ.js → prevGutMlHdh.js} +1 -1
- package/dist/components/{processDFHVq7yX.js → processBJa4jfKx.js} +1 -1
- package/dist/components/{processX0dS45XF.js → processD6VCGhpy.js} +1 -1
- package/dist/components/{process3Kd9iKAC.js → processD8Wa4hOW.js} +1 -1
- package/dist/components/{processBtDhC5cN.js → processDprLKUHQ.js} +3 -3
- package/dist/components/{rectangleD42v1SqR.js → rectangleC08rVGjN.js} +1 -1
- package/dist/components/{rectangleBRcZJKiG.js → rectangleDUCBCBPE.js} +1 -1
- package/dist/components/{rotate5_xJfsZ2.js → rotateB4aIQveS.js} +1 -1
- package/dist/components/{rotateDu_mkWYc.js → rotateB7TupsDC.js} +4 -4
- package/dist/components/{rotate7jt-EuDp.js → rotateCiAoG6uz.js} +1 -1
- package/dist/components/{rotateHyLr1dia.js → rotateDcAKg0Ly.js} +1 -1
- package/dist/components/{setting3Ugpfl6Q.js → settingBo2jK0Dr.js} +1 -1
- package/dist/components/{settingBdsG5NNP.js → settingC52gqdUZ.js} +1 -1
- package/dist/components/{settingCutO8H2U.js → settingCPRrk8ML.js} +1 -1
- package/dist/components/{settingonwvagGo.js → settingC_K-RcOZ.js} +3 -3
- package/dist/components/{starB6lZrSR_.js → starCWnNtX4T.js} +1 -1
- package/dist/components/{starBuk9Zpe8.js → starD4ECjoeD.js} +1 -1
- package/dist/components/{tailorCxS09ZPn.js → tailorB4WI6Umx.js} +1 -1
- package/dist/components/{tailorC1nOu9Zx.js → tailormZu5rnh-.js} +1 -1
- package/dist/components/useCommonBTTzsGT6.js +1 -0
- package/dist/components/{useCommonDvVbDPSe.js → useCommoncwGp0w86.js} +2 -2
- package/dist/components/{voiceCifc7IPf.js → voiceCE58JuHB.js} +1 -1
- package/dist/components/{voiceDFacjiIM.js → voiceCykEd0Hn.js} +1 -1
- package/dist/components/{zoomB7VyAZrz.js → zoomDT5Z2mH5.js} +1 -1
- package/dist/components/{zoomBFx-vjsG.js → zoomDoOddf7F.js} +1 -1
- package/dist/components/{zoomInRDq1eDLi.js → zoomInCQ1hHcFV.js} +1 -1
- package/dist/components/{zoomInCf25h6Us.js → zoomInDIq1CbWp.js} +1 -1
- package/dist/components/{zoomOutjIFNPuhT.js → zoomOutDMbifalR.js} +1 -1
- package/dist/components/{zoomOutDdDapD_E.js → zoomOutvL8Qk5cc.js} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.es.js +2 -1
- package/package.json +8 -4
- package/types/{index.vue.d.ts → components/HzztKfbSlide.vue.d.ts} +3 -2
- package/types/components/KfbImage.vue.d.ts +1 -1
- package/types/components/KfbToolConfig.vue.d.ts +0 -3
- package/types/components/KfbView/index.d.ts +8 -9
- package/types/components/KfbView/useHotmap.d.ts +3 -3
- package/types/components/ai/list.vue.d.ts +2 -3
- package/types/components/ai/useAi.d.ts +4 -2
- package/types/components/ai/useAiResult.d.ts +7 -0
- package/types/components/icon/zoomOut.vue.d.ts +2 -0
- package/types/components/toolbox/line.vue.d.ts +2 -0
- package/types/const/index.d.ts +1 -0
- package/types/index.d.ts +4 -950
- package/types/instances.d.ts +19 -13
- package/types/plugins/index.d.ts +10 -0
- package/dist/components/indexCFzrAiFg.js +0 -4
- package/dist/components/indexCiVL4LuE.js +0 -3009
- package/dist/components/lineBIoJpzbf.js +0 -12
- package/dist/components/lineCzuS7Giu.js +0 -1
- package/dist/components/useCommon_E1byFLe.js +0 -1
|
@@ -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("./index3jvwVv4H.js"),o={},r={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};function c(C,t){return e.openBlock(),e.createElementBlock("svg",r,t[0]||(t[0]=[e.createElementVNode("g",{id:"24*24/æç¤º"},[e.createElementVNode("path",{id:"Subtract","fill-rule":"evenodd","clip-rule":"evenodd",d:"M2 12C2 6.48013 6.47433 2 12 2C17.5201 2 22 6.48013 22 12C22 17.5257 17.5201 22 12 22C6.47991 22 2 17.5257 2 12ZM12.168 15.2761C11.8141 16.152 12.2581 17.082 13.1461 17.352C14.0339 17.6222 14.0161 18.03 13.1102 18.2517L12.4083 18.4256C11.4963 18.6534 10.2302 18.6295 9.60024 18.3776C8.97024 18.1256 8.74219 17.2017 9.09024 16.3317L10.6622 12.4137C11.0161 11.5378 10.5602 10.6198 9.65414 10.3678L9.35414 10.2839C8.44805 10.032 8.4661 9.70195 9.3961 9.55195L10.2961 9.40804C11.22 9.25805 12.4981 9.34219 13.128 9.59414C13.7641 9.84609 13.992 10.77 13.6381 11.64L12.168 15.2761ZM11.52 7.05C11.52 6.36586 12.0722 5.8139 12.7561 5.8139C13.44 5.8139 13.9981 6.36609 13.9922 7.05C13.9922 7.73414 13.44 8.28609 12.7561 8.28609C12.072 8.28609 11.52 7.7339 11.52 7.05Z"})],-1)]))}const d=n._export_sfc(o,[["render",c]]);exports.default=d;
|
|
@@ -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("./index3jvwVv4H.js"),f={},l={t:"1751700110518",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1574",width:"32",height:"32"};function n(i,t){return e.openBlock(),e.createElementBlock("svg",l,t[0]||(t[0]=[e.createElementVNode("path",{d:"M979.776 260.032c-2.496-2.816-4.992-5.696-7.808-8.064-7.488-6.272-15.488-11.712-24.384-16.064-130.816-64.192-261.504-128.64-392.32-192.832C544 37.632 532.096 33.6 519.552 32h-12.16c-30.4 5.568-56.512 21.696-83.584 34.88-118.592 57.472-236.992 115.136-355.2 173.376-18.304 9.088-32.576 23.488-35.904 45.504-0.128 0.768-0.448 1.472-0.704 2.176v9.344c1.92 10.048 5.12 19.584 11.904 27.584 2.368 2.688 4.608 5.568 7.36 7.808 7.232 5.824 14.528 11.456 22.976 15.616 131.776 64.704 263.36 129.664 395.264 194.176 11.136 5.504 22.592 10.88 35.456 12.032 13.056 1.216 25.28-1.024 36.8-6.656a771854.477 771854.477 0 0 0 399.936-195.712c4.48-2.24 9.152-4.096 13.376-6.72 12.48-7.488 24.192-16.128 30.784-29.632 2.816-5.76 4.096-12.288 6.144-18.496v-9.344c-2.048-10.176-5.312-19.904-12.224-27.904z","p-id":"1575",fill:"#ffffff"},null,-1),e.createElementVNode("path",{d:"M934.848 454.976c-14.336-2.496-28.352-1.088-41.536 5.44-25.344 12.608-50.496 25.728-76.032 38.016-100.224 48.128-200.64 96-300.928 144.064-2.88 1.344-5.184 1.536-8.192 0.128-122.88-59.584-245.696-119.04-368.512-178.56-20.608-9.984-42.432-12.992-64.704-8.832-22.848 4.352-38.72 23.232-41.92 47.232-0.192 1.28-0.704 2.624-1.024 3.904v12.16c1.92 9.856 5.12 19.2 11.584 27.2 6.144 7.552 13.312 13.76 21.952 17.984 134.976 66.944 270.016 133.952 405.184 200.512 10.816 5.312 22.016 10.56 34.624 11.584 12.672 1.024 24.704-1.088 35.968-6.464 138.816-66.432 277.632-132.8 416.256-199.552 18.624-8.96 29.184-24.832 33.408-44.864 0.384-1.472 0.704-3.008 1.088-4.48v-11.264c-1.28-4.096-2.112-8.448-3.776-12.352-9.792-24.128-28.288-37.376-53.44-41.856z","p-id":"1576",fill:"#ffffff"},null,-1),e.createElementVNode("path",{d:"M934.784 670.656c-14.272-2.496-28.352-1.088-41.536 5.44-25.664 12.736-51.136 25.984-76.928 38.464-99.776 47.872-199.552 95.424-299.328 143.296-3.648 1.664-6.464 1.6-9.92-0.128C384.96 798.464 262.784 739.328 140.608 680c-18.88-9.152-38.72-11.84-59.2-10.24-23.808 1.792-42.176 19.136-47.36 43.264-0.704 3.008-1.408 5.952-2.048 8.96v12.16c1.92 9.664 4.992 18.88 11.264 26.816 6.272 7.872 13.696 14.208 22.656 18.624C200.704 846.4 335.552 913.28 470.528 979.776c11.52 5.696 23.616 10.944 36.8 12.16h9.344c10.816-1.728 20.992-5.12 30.848-10.112 12.672-6.4 26.048-11.52 38.848-17.664 123.2-59.2 246.336-118.528 369.344-177.792 19.52-9.408 30.848-25.28 35.2-46.272 0.32-1.344 0.64-2.688 1.024-4.032V724.8c-1.28-4.096-2.112-8.448-3.776-12.352-9.664-24.128-28.224-37.376-53.376-41.792z","p-id":"1577",fill:"#ffffff"},null,-1)]))}const o=c._export_sfc(f,[["render",n]]);exports.default=o;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { defineComponent as e, createElementBlock as o, openBlock as n } from "vue";
|
|
2
|
+
const t = { class: "hzzt-kfb-toolbox__line" }, s = /* @__PURE__ */ e({
|
|
3
|
+
name: "ToolLine",
|
|
4
|
+
__name: "line",
|
|
5
|
+
setup(_) {
|
|
6
|
+
return (c, l) => (n(), o("div", t));
|
|
7
|
+
}
|
|
8
|
+
});
|
|
9
|
+
export {
|
|
10
|
+
s as default
|
|
11
|
+
};
|
|
@@ -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("./index3jvwVv4H.js"),o={},r={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",r,t[0]||(t[0]=[e.createElementVNode("g",null,[e.createElementVNode("path",{d:"M19.875 10.125C19.5106 10.1257 19.1543 10.2324 18.8496 10.4322C18.5449 10.632 18.3049 10.9161 18.159 11.25H5.091C4.945 10.9162 4.70501 10.6321 4.40031 10.4323C4.0956 10.2325 3.73935 10.1258 3.375 10.125C2.8779 10.1256 2.40133 10.3233 2.04983 10.6748C1.69833 11.0263 1.5006 11.5029 1.5 12C1.5 13.0342 2.3415 13.875 3.375 13.875C3.73941 13.8745 4.09579 13.7679 4.40055 13.5681C4.7053 13.3683 4.94524 13.084 5.091 12.75H18.1583C18.304 13.084 18.5439 13.3683 18.8487 13.5681C19.1535 13.7679 19.5098 13.8745 19.8743 13.875C20.9085 13.875 21.7493 13.0342 21.7493 12C21.7491 11.5029 21.5515 11.0262 21.2001 10.6747C20.8487 10.3231 20.3721 10.1254 19.875 10.125Z",fill:"currentColor"})],-1)]))}const c=n._export_sfc(o,[["render",l]]);exports.default=c;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t={class:"hzzt-kfb-toolbox__line"},o=e.defineComponent({name:"ToolLine",__name:"line",setup(n){return(c,l)=>(e.openBlock(),e.createElementBlock("div",t))}});exports.default=o;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var x=Object.defineProperty,N=Object.defineProperties;var C=Object.getOwnPropertyDescriptors;var v=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var V=(i,o,l)=>o in i?x(i,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):i[o]=l,m=(i,o)=>{for(var l in o||(o={}))h.call(o,l)&&V(i,l,o[l]);if(v)for(var l of v(o))w.call(o,l)&&V(i,l,o[l]);return i},g=(i,o)=>N(i,C(o));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),_=require("./
|
|
1
|
+
"use strict";var x=Object.defineProperty,N=Object.defineProperties;var C=Object.getOwnPropertyDescriptors;var v=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var V=(i,o,l)=>o in i?x(i,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):i[o]=l,m=(i,o)=>{for(var l in o||(o={}))h.call(o,l)&&V(i,l,o[l]);if(v)for(var l of v(o))w.call(o,l)&&V(i,l,o[l]);return i},g=(i,o)=>N(i,C(o));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),_=require("./microscopeI_67Zvi_.js"),s=require("element-plus"),E=require("./useCommonBTTzsGT6.js"),p=require("./index3jvwVv4H.js"),y={class:"flex align-items-center margin-t-2"},I={style:{"min-width":"120px"}},P={class:"flex align-items-center margin-t-2"},S={style:{"min-width":"120px"}},k={class:"flex align-items-center margin-t-2"},z={style:{"min-width":"120px"}},D=e.defineComponent({name:"ToolMicroscope",__name:"microscope",props:e.mergeDefaults({scope:{},size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function},options:{}},g(m({},E.defaultProps),{scope:()=>m({},p.DEFAULT_MICROSCOPE)})),emits:["tool"],setup(i,{emit:o}){const l=i,n=e.reactive(m(m({},p.DEFAULT_MICROSCOPE),l.scope));e.watch(()=>l.scope,a=>{Object.assign(n,a)});const f=o,{t:d,textClass:b}=E.useCommon(),u=e.ref(!1);function c(a,t){a==="visible"?(u.value=!u.value,f("tool","microscope",{name:a,value:u.value})):f("tool","microscope",{name:a,value:t})}return(a,t)=>(e.openBlock(),e.createBlock(e.unref(s.ElPopover),{visible:u.value,"popper-class":"el-popover-padding-0",placement:"bottom",width:"300px",trigger:"click"},{reference:e.withCtx(()=>[e.createElementVNode("div",{class:"hzzt-kfb-toolbox__icon",onClick:t[8]||(t[8]=r=>c("visible",u.value))},[e.createVNode(e.unref(s.ElIcon),{size:a.size},{default:e.withCtx(()=>[e.createVNode(_.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(b))},e.toDisplayString(e.unref(d)(a.text||"镜下")),3)])]),default:e.withCtx(()=>[e.createVNode(e.unref(s.ElCard),{shadow:"never",header:e.unref(d)("镜下视野")},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(e.unref(s.ElRadioGroup),{modelValue:n.shape,"onUpdate:modelValue":t[0]||(t[0]=r=>n.shape=r),onChange:t[1]||(t[1]=r=>c("change",n))},{default:e.withCtx(()=>[e.createVNode(e.unref(s.ElRadio),{value:"50%",label:e.unref(d)("圆形")},null,8,["label"]),e.createVNode(e.unref(s.ElRadio),{value:"0",label:e.unref(d)("矩形")},null,8,["label"])]),_:1},8,["modelValue"]),e.createElementVNode("div",y,[e.createElementVNode("p",I,e.toDisplayString(e.unref(d)("视野直径(mm)"))+": ",1),e.createVNode(e.unref(s.ElInputNumber),{class:"flex-1",modelValue:n.width,"onUpdate:modelValue":t[2]||(t[2]=r=>n.width=r),onInput:t[3]||(t[3]=r=>c("change",n))},null,8,["modelValue"])]),e.createElementVNode("div",P,[e.createElementVNode("p",S,e.toDisplayString(e.unref(d)("边框宽度"))+"(px): ",1),e.createVNode(e.unref(s.ElInputNumber),{class:"flex-1",modelValue:n.borderWidth,"onUpdate:modelValue":t[4]||(t[4]=r=>n.borderWidth=r),onInput:t[5]||(t[5]=r=>c("change",n))},null,8,["modelValue"])]),e.createElementVNode("div",k,[e.createElementVNode("p",z,e.toDisplayString(e.unref(d)("边框颜色"))+": ",1),e.createVNode(e.unref(s.ElColorPicker),{modelValue:n.color,"onUpdate:modelValue":t[6]||(t[6]=r=>n.color=r),onChange:t[7]||(t[7]=r=>c("change",n))},null,8,["modelValue"])])])]),_:1},8,["header"])]),_:1},8,["visible"]))}}),O=p._export_sfc(D,[["__scopeId","data-v-fe8098cc"]]);exports.default=O;
|
|
@@ -11,10 +11,10 @@ var x = (i, l, t) => l in i ? w(i, l, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
return i;
|
|
12
12
|
}, V = (i, l) => k(i, z(l));
|
|
13
13
|
import { defineComponent as U, mergeDefaults as $, reactive as y, watch as B, ref as D, createBlock as N, openBlock as O, unref as o, withCtx as v, createVNode as a, createElementVNode as r, toDisplayString as f, normalizeClass as R } from "vue";
|
|
14
|
-
import F from "./
|
|
14
|
+
import F from "./microscopeM3B9tem3.js";
|
|
15
15
|
import { ElPopover as M, ElCard as S, ElRadioGroup as T, ElRadio as h, ElInputNumber as C, ElColorPicker as W, ElIcon as j } from "element-plus";
|
|
16
|
-
import { u as A, d as G } from "./
|
|
17
|
-
import { b as E, _ as L } from "./
|
|
16
|
+
import { u as A, d as G } from "./useCommoncwGp0w86.js";
|
|
17
|
+
import { b as E, _ as L } from "./indexCNC1g25E.js";
|
|
18
18
|
const q = { class: "flex align-items-center margin-t-2" }, H = { style: { "min-width": "120px" } }, J = { class: "flex align-items-center margin-t-2" }, K = { style: { "min-width": "120px" } }, Q = { class: "flex align-items-center margin-t-2" }, X = { style: { "min-width": "120px" } }, Y = /* @__PURE__ */ U({
|
|
19
19
|
name: "ToolMicroscope",
|
|
20
20
|
__name: "microscope",
|
|
@@ -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("./index3jvwVv4H.js"),n={},r={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};function c(s,t){return e.openBlock(),e.createElementBlock("svg",r,t[0]||(t[0]=[e.createElementVNode("g",{id:"24*24/显微镜"},[e.createElementVNode("path",{id:"Vector",d:"M10.3277 17.3171C10.7838 17.3171 11.1554 16.9691 11.1554 16.5419C11.1554 16.1148 10.7838 15.7667 10.3277 15.7667H4.5C4.04392 15.7667 3.6723 16.1148 3.6723 16.5419C3.6723 16.9691 4.04392 17.3171 4.5 17.3171H5.3277V18.8834H2.8277C2.37162 18.8834 2 19.2314 2 19.6586V21.2248C2 21.652 2.37162 22 2.8277 22H21.1723C21.6284 22 22 21.652 22 21.2248V19.6586C22 19.2314 21.6284 18.8834 21.1723 18.8834H18.8074C20.0912 14.5644 19.4493 10.8624 16.8818 7.84069L15.5135 10.0714C17.152 12.4761 17.3885 15.387 16.2061 18.8834H9.51689V17.3171H10.3277ZM10.3615 3.58498L7.43919 8.3153L7.08446 8.12546C6.47635 7.80905 5.71622 7.99889 5.37838 8.56843C5.04054 9.12214 5.24324 9.83407 5.83446 10.1505L12.3209 13.6626C12.9122 13.9948 13.6892 13.805 14.027 13.2513C14.3818 12.6976 14.1791 11.9698 13.5878 11.6534H13.5709L13.2162 11.4636L16.1385 6.70161C17.0676 5.21449 16.5439 3.30022 14.9561 2.43009C13.3682 1.55996 11.3243 2.0504 10.3953 3.53752C10.3784 3.55334 10.3615 3.56916 10.3615 3.58498Z"})],-1)]))}const C=o._export_sfc(n,[["render",c]]);exports.default=C;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as b, mergeDefaults as _, ref as u, createBlock as C, openBlock as g, unref as o, withCtx as s, createVNode as i, createElementVNode as r, toDisplayString as v, normalizeClass as x } from "vue";
|
|
2
|
-
import { u as z, d as k } from "./
|
|
3
|
-
import E from "./
|
|
2
|
+
import { u as z, d as k } from "./useCommoncwGp0w86.js";
|
|
3
|
+
import E from "./moveB-6xS2dU.js";
|
|
4
4
|
import { ElPopover as V, ElCard as I, ElInputNumber as w, ElIcon as B } from "element-plus";
|
|
5
|
-
import { _ as M } from "./
|
|
5
|
+
import { _ as M } from "./indexCNC1g25E.js";
|
|
6
6
|
const N = { class: "margin-b-1" }, P = /* @__PURE__ */ b({
|
|
7
7
|
name: "ToolMove",
|
|
8
8
|
__name: "move",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./useCommonBTTzsGT6.js"),p=require("./moveDWuEFnzY.js"),r=require("element-plus"),c=require("./index3jvwVv4H.js"),f={class:"margin-b-1"},b=e.defineComponent({name:"ToolMove",__name:"move",props:e.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function},options:{}},u.defaultProps),emits:["tool"],setup(g,{emit:m}){const d=m,{t:i,textClass:v}=u.useCommon(),n=e.ref(!1),l=e.ref(1);function s(o,t){o==="visible"?n.value=!n.value:d("tool","move",{name:o,value:t})}return(o,t)=>(e.openBlock(),e.createBlock(e.unref(r.ElPopover),{visible:n.value,"popper-class":"el-popover-padding-0",placement:"bottom",width:"200px",trigger:"click"},{reference:e.withCtx(()=>[e.createElementVNode("div",{class:"hzzt-kfb-toolbox__icon",onClick:t[3]||(t[3]=a=>s("visible",n.value))},[e.createVNode(e.unref(r.ElIcon),{size:o.size},{default:e.withCtx(()=>[e.createVNode(p.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(v))},e.toDisplayString(e.unref(i)(o.text||"快速移动")),3)])]),default:e.withCtx(()=>[e.createVNode(e.unref(r.ElCard),{shadow:"never"},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("p",f,e.toDisplayString(e.unref(i)("图像移动倍率"))+":",1),e.createVNode(e.unref(r.ElInputNumber),{modelValue:l.value,"onUpdate:modelValue":t[0]||(t[0]=a=>l.value=a),step:.2,min:1,max:10,onChange:t[1]||(t[1]=a=>s("ratio",l.value)),onInput:t[2]||(t[2]=a=>s("ratio",l.value))},null,8,["modelValue"])])]),_:1})]),_:1},8,["visible"]))}}),C=c._export_sfc(b,[["__scopeId","data-v-aa10a89d"]]);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("./index3jvwVv4H.js"),o={},r={t:"1716452230517",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5203",width:"128",height:"128"};function c(s,t){return e.openBlock(),e.createElementBlock("svg",r,t[0]||(t[0]=[e.createElementVNode("path",{d:"M682.666667 341.333333V170.666667l341.333333 341.333333-341.333333 341.333333v-170.666666h-213.333334V341.333333h213.333334zM384 341.333333H298.666667v341.333334h85.333333V341.333333zM212.736 341.333333H128v341.333334h84.736V341.333333zM42.666667 341.333333H0v341.333334h42.666667V341.333333z","p-id":"5204"},null,-1)]))}const i=n._export_sfc(o,[["render",c]]);exports.default=i;
|
|
@@ -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("./index3jvwVv4H.js"),r={},o={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function n(c,t){return e.openBlock(),e.createElementBlock("svg",o,t[0]||(t[0]=[e.createElementVNode("g",{id:"上一例"},[e.createElementVNode("path",{id:"Subtract",d:"M12.9012 6.09942C13.2648 5.91152 13.6903 6.0067 14.0204 6.24493C16.6043 8.10984 18.3663 10.1237 19.2186 11.2049C19.5935 11.6804 19.5935 12.3192 19.2186 12.7947C18.3663 13.8759 16.6043 15.8897 14.0204 17.7547C13.6903 17.9929 13.2648 18.0881 12.9012 17.9002C12.6792 17.7854 12.4124 17.6134 12.1327 17.3553C11.9272 17.1657 11.7725 16.9887 11.6561 16.8328C11.3717 16.4518 11.5019 15.9679 11.8377 15.6277C13.3236 14.1225 14.8063 12.6746 15.3153 12.1795C15.3392 12.1562 15.3579 12.1282 15.3709 12.0975C15.384 12.0666 15.3905 12.0333 15.3905 11.9998C15.3905 11.9663 15.384 11.933 15.3709 11.9022C15.3579 11.8714 15.3392 11.8434 15.3153 11.8201C14.8063 11.325 13.3237 9.87706 11.8377 8.37188C11.5019 8.03166 11.3717 7.5478 11.6561 7.1668C11.7725 7.01089 11.9272 6.83394 12.1327 6.64434C12.4125 6.38625 12.6792 6.21425 12.9012 6.09942Z",fill:"currentColor","fill-opacity":"0.9"}),e.createElementVNode("path",{id:"Subtract_2",d:"M6.40122 6.09942C6.76477 5.91152 7.1903 6.0067 7.52036 6.24493C10.1043 8.10984 11.8663 10.1237 12.7186 11.2049C13.0935 11.6804 13.0935 12.3192 12.7186 12.7947C11.8663 13.8759 10.1043 15.8897 7.52036 17.7547C7.19029 17.9929 6.76478 18.0881 6.40122 17.9002C6.17924 17.7854 5.91243 17.6134 5.63266 17.3553C5.42717 17.1657 5.27248 16.9887 5.1561 16.8328C4.87166 16.4518 5.00188 15.9679 5.33774 15.6277C6.82361 14.1225 8.30629 12.6746 8.81528 12.1795C8.83919 12.1562 8.85793 12.1282 8.87094 12.0975C8.88399 12.0666 8.89047 12.0333 8.89047 11.9998C8.89047 11.9663 8.88399 11.933 8.87094 11.9022C8.85793 11.8714 8.83919 11.8434 8.81528 11.8201C8.30629 11.325 6.82371 9.87706 5.33774 8.37188C5.00193 8.03166 4.87171 7.5478 5.1561 7.1668C5.27252 7.01089 5.42718 6.83394 5.63266 6.64434C5.91247 6.38625 6.17924 6.21425 6.40122 6.09942Z",fill:"currentColor","fill-opacity":"0.9"})],-1)]))}const l=C._export_sfc(r,[["render",n]]);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("./index3jvwVv4H.js"),n={},o={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function r(c,t){return e.openBlock(),e.createElementBlock("svg",o,t[0]||(t[0]=[e.createElementVNode("g",null,[e.createElementVNode("path",{d:"M21 18.7882V5.21175C21.855 5.03775 22.5 4.28025 22.5 3.375C22.5 2.3415 21.6592 1.5 20.625 1.5C19.719 1.5 18.9622 2.145 18.7882 3L7.21175 5C7.12493 4.57681 6.89482 4.19651 6.56022 3.92325C6.22561 3.65 5.807 3.50051 5.375 3.5C4.8779 3.5006 4.40133 3.69833 4.04983 4.04983C3.69833 4.40133 3.5006 4.8779 3.5 5.375C3.5 6.28025 4.145 7.03775 5 7.21175L3 18.7875C2.145 18.9615 1.5 19.719 1.5 20.6243C1.5004 21.1215 1.69804 21.5982 2.04957 21.9499C2.40109 22.3016 2.87777 22.4994 3.375 22.5C4.28025 22.5 5.03775 21.855 5.21175 21H18.7875C18.9615 21.855 19.719 22.5 20.6242 22.5C20.8811 22.5527 21.1462 22.5509 21.4024 22.4948C21.6586 22.4387 21.9001 22.3294 22.1114 22.1741C22.3227 22.0188 22.4991 21.8209 22.6292 21.5932C22.7592 21.3655 22.8401 21.113 22.8665 20.8521C22.8929 20.5912 22.8643 20.3276 22.7825 20.0785C22.7007 19.8293 22.5676 19.6001 22.3917 19.4056C22.2158 19.2111 22.001 19.0556 21.7613 18.9493C21.5216 18.843 21.2622 18.7881 21 18.7882ZM4.5 19.1348L6.5 6.86525C6.638 6.761 6.761 6.638 6.86525 6.5L19.134 4.5C19.239 4.638 19.3612 4.761 19.4992 4.86525V19.134C19.3605 19.239 19.2382 19.3612 19.1332 19.5H4.86525C4.76115 19.3618 4.63821 19.2388 4.5 19.1348Z",fill:"currentColor"})],-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"),C=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),C=require("./index3jvwVv4H.js"),r={},o={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function n(c,t){return e.openBlock(),e.createElementBlock("svg",o,t[0]||(t[0]=[e.createElementVNode("g",{id:"上一例"},[e.createElementVNode("path",{id:"Subtract",d:"M11.0988 6.09942C10.7352 5.91152 10.3097 6.0067 9.97964 6.24493C7.39574 8.10984 5.63367 10.1237 4.7814 11.2049C4.40654 11.6804 4.40654 12.3192 4.7814 12.7947C5.63366 13.8759 7.39572 15.8897 9.97964 17.7547C10.3097 17.9929 10.7352 18.0881 11.0988 17.9002C11.3208 17.7854 11.5876 17.6134 11.8673 17.3553C12.0728 17.1657 12.2275 16.9887 12.3439 16.8328C12.6283 16.4518 12.4981 15.9679 12.1623 15.6277C10.6764 14.1225 9.19371 12.6746 8.68472 12.1795C8.66081 12.1562 8.64207 12.1282 8.62906 12.0975C8.61601 12.0666 8.60953 12.0333 8.60953 11.9998C8.60953 11.9663 8.61601 11.933 8.62906 11.9022C8.64207 11.8714 8.66081 11.8434 8.68472 11.8201C9.19371 11.325 10.6763 9.87706 12.1623 8.37188C12.4981 8.03166 12.6283 7.5478 12.3439 7.1668C12.2275 7.01089 12.0728 6.83394 11.8673 6.64434C11.5875 6.38625 11.3208 6.21425 11.0988 6.09942Z",fill:"currentColor","fill-opacity":"0.9"}),e.createElementVNode("path",{id:"Subtract_2",d:"M17.5988 6.09942C17.2352 5.91152 16.8097 6.0067 16.4796 6.24493C13.8957 8.10984 12.1337 10.1237 11.2814 11.2049C10.9065 11.6804 10.9065 12.3192 11.2814 12.7947C12.1337 13.8759 13.8957 15.8897 16.4796 17.7547C16.8097 17.9929 17.2352 18.0881 17.5988 17.9002C17.8208 17.7854 18.0876 17.6134 18.3673 17.3553C18.5728 17.1657 18.7275 16.9887 18.8439 16.8328C19.1283 16.4518 18.9981 15.9679 18.6623 15.6277C17.1764 14.1225 15.6937 12.6746 15.1847 12.1795C15.1608 12.1562 15.1421 12.1282 15.1291 12.0975C15.116 12.0666 15.1095 12.0333 15.1095 11.9998C15.1095 11.9663 15.116 11.933 15.1291 11.9022C15.1421 11.8714 15.1608 11.8434 15.1847 11.8201C15.6937 11.325 17.1763 9.87706 18.6623 8.37188C18.9981 8.03166 19.1283 7.5478 18.8439 7.1668C18.7275 7.01089 18.5728 6.83394 18.3673 6.64434C18.0875 6.38625 17.8208 6.21425 17.5988 6.09942Z",fill:"currentColor","fill-opacity":"0.9"})],-1)]))}const l=C._export_sfc(r,[["render",n]]);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("./index3jvwVv4H.js"),r={},n={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};function c(d,t){return e.openBlock(),e.createElementBlock("svg",n,t[0]||(t[0]=[e.createElementVNode("g",{id:"24*24/图片"},[e.createElementVNode("path",{id:"Vector",d:"M20 4H4C2.9 4 2 4.9 2 6V18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V6C22 4.9 21.1 4 20 4ZM4 7C4 6.45 4.45 6 5 6H19C19.55 6 20 6.45 20 7V17C20 17.15 19.95 17.25 19.95 17.35L16.35 11.4C16.2 11.15 15.8 11.05 15.6 11.3L13.5 13.1C13.25 13.3 12.9 13.25 12.7 12.95L10.45 8.75C10.25 8.4 9.8 8.4 9.55 8.7L4.05 17.35C4.05 17.25 4 17.1 4 17V7Z"}),e.createElementVNode("path",{id:"Vector_2",d:"M16 8.5C16 8.89782 16.158 9.27936 16.4393 9.56066C16.7206 9.84197 17.1022 10 17.5 10C17.8978 10 18.2794 9.84197 18.5607 9.56066C18.842 9.27936 19 8.89782 19 8.5C19 8.10218 18.842 7.72064 18.5607 7.43934C18.2794 7.15804 17.8978 7 17.5 7C17.1022 7 16.7206 7.15804 16.4393 7.43934C16.158 7.72064 16 8.10218 16 8.5Z"})],-1)]))}const C=o._export_sfc(r,[["render",c]]);exports.default=C;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var _=Object.defineProperty,h=Object.defineProperties;var b=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var w=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable;var V=(s,o,r)=>o in s?_(s,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):s[o]=r,i=(s,o)=>{for(var r in o||(o={}))w.call(o,r)&&V(s,r,o[r]);if(p)for(var r of p(o))S.call(o,r)&&V(s,r,o[r]);return s},C=(s,o)=>h(s,b(o));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),x=require("./
|
|
1
|
+
"use strict";var _=Object.defineProperty,h=Object.defineProperties;var b=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var w=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable;var V=(s,o,r)=>o in s?_(s,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):s[o]=r,i=(s,o)=>{for(var r in o||(o={}))w.call(o,r)&&V(s,r,o[r]);if(p)for(var r of p(o))S.call(o,r)&&V(s,r,o[r]);return s},C=(s,o)=>h(s,b(o));Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),x=require("./useCommonBTTzsGT6.js"),t=require("element-plus"),y=require("./processBJa4jfKx.js"),c=require("./index3jvwVv4H.js"),D={class:"margin-l-4"},v={class:"margin-l-4"},F={class:"margin-l-4"},P={class:"margin-l-4"},U={class:"margin-l-4"},I={class:"margin-l-4"},k={class:"margin-l-4"},z={class:"flex justify-content-end"},T={class:"hzzt-kfb-toolbox__icon"},q=e.defineComponent({name:"ToolProcess",__name:"process",props:e.mergeDefaults({process:{},size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function},options:{}},C(i({},x.defaultProps),{process:()=>i({},c.DEFAULT_PROCESS)})),emits:["tool"],setup(s,{emit:o}){const r=s,m=o,{t:d,textClass:E}=x.useCommon(),l=e.reactive(i(i({},c.DEFAULT_PROCESS),r.process));function u(){m("tool","process",l)}function N(){Object.assign(l,c.DEFAULT_PROCESS),u()}function g(){m("tool","save_process",l)}return(f,a)=>(e.openBlock(),e.createBlock(e.unref(t.ElPopover),{"popper-class":"el-popover-padding-0",placement:"bottom",width:"400px",trigger:"click"},{reference:e.withCtx(()=>[e.createElementVNode("div",T,[e.createVNode(e.unref(t.ElIcon),{size:f.size},{default:e.withCtx(()=>[e.createVNode(y.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(E))},e.toDisplayString(e.unref(d)(f.text||"图像处理")),3)])]),default:e.withCtx(()=>[e.createVNode(e.unref(t.ElCard),{shadow:"never",header:e.unref(d)("图像处理")},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElForm),null,{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElRow),null,{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElCol),{span:24},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElFormItem),{label:e.unref(d)("红通道")},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElSlider),{modelValue:l.r,"onUpdate:modelValue":a[0]||(a[0]=n=>l.r=n),class:"flex-1",step:.1,min:-1,max:1,onChange:u},null,8,["modelValue"]),e.createElementVNode("span",D,e.toDisplayString(l.r*100)+"%",1)]),_:1},8,["label"])]),_:1}),e.createVNode(e.unref(t.ElCol),{span:24},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElFormItem),{label:e.unref(d)("绿通道")},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElSlider),{modelValue:l.g,"onUpdate:modelValue":a[1]||(a[1]=n=>l.g=n),class:"flex-1",step:.1,min:-1,max:1,onChange:u},null,8,["modelValue"]),e.createElementVNode("span",v,e.toDisplayString(l.g*100)+"%",1)]),_:1},8,["label"])]),_:1}),e.createVNode(e.unref(t.ElCol),{span:24},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElFormItem),{label:e.unref(d)("蓝通道")},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElSlider),{modelValue:l.b,"onUpdate:modelValue":a[2]||(a[2]=n=>l.b=n),class:"flex-1",step:.1,min:-1,max:1,onChange:u},null,8,["modelValue"]),e.createElementVNode("span",F,e.toDisplayString(l.b*100)+"%",1)]),_:1},8,["label"])]),_:1}),e.createVNode(e.unref(t.ElCol),{span:24},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElFormItem),{label:e.unref(d)("gamma值")},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElSlider),{modelValue:l.ga,"onUpdate:modelValue":a[3]||(a[3]=n=>l.ga=n),class:"flex-1",step:.01,min:-.05,max:2,onChange:u},null,8,["modelValue"]),e.createElementVNode("span",P,e.toDisplayString(l.ga),1)]),_:1},8,["label"])]),_:1}),e.createVNode(e.unref(t.ElCol),{span:24},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElFormItem),{label:e.unref(d)("对比度")},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElSlider),{modelValue:l.c,"onUpdate:modelValue":a[4]||(a[4]=n=>l.c=n),class:"flex-1",step:.1,min:-1,max:1,onChange:u},null,8,["modelValue"]),e.createElementVNode("span",U,e.toDisplayString(l.c*100)+"%",1)]),_:1},8,["label"])]),_:1}),e.createVNode(e.unref(t.ElCol),{span:24},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElFormItem),{label:e.unref(d)("饱和度")},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElSlider),{modelValue:l.s,"onUpdate:modelValue":a[5]||(a[5]=n=>l.s=n),class:"flex-1",step:.1,min:-1,max:1,onChange:u},null,8,["modelValue"]),e.createElementVNode("span",I,e.toDisplayString(l.s*100)+"%",1)]),_:1},8,["label"])]),_:1}),e.createVNode(e.unref(t.ElCol),{span:24},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElFormItem),{label:e.unref(d)("亮度")},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElSlider),{modelValue:l.l,"onUpdate:modelValue":a[6]||(a[6]=n=>l.l=n),class:"flex-1",step:.1,min:-1,max:1,onChange:u},null,8,["modelValue"]),e.createElementVNode("span",k,e.toDisplayString(l.l*100)+"%",1)]),_:1},8,["label"])]),_:1})]),_:1})]),_:1}),e.createElementVNode("div",z,[e.createVNode(e.unref(t.ElButton),{onClick:N},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)("重置")),1)]),_:1}),e.createVNode(e.unref(t.ElButton),{type:"primary",onClick:g},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(d)("保存")),1)]),_:1})])]),_:1},8,["header"])]),_:1}))}}),B=c._export_sfc(q,[["__scopeId","data-v-bdb018f5"]]);exports.default=B;
|
|
@@ -11,10 +11,10 @@ var E = (m, s, d) => s in m ? y(m, s, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
return m;
|
|
12
12
|
}, v = (m, s) => w(m, B(s));
|
|
13
13
|
import { defineComponent as S, mergeDefaults as I, reactive as N, createBlock as R, openBlock as T, unref as e, withCtx as o, createVNode as l, createElementVNode as p, toDisplayString as u, createTextVNode as h, normalizeClass as j } from "vue";
|
|
14
|
-
import { u as O, d as A } from "./
|
|
14
|
+
import { u as O, d as A } from "./useCommoncwGp0w86.js";
|
|
15
15
|
import { ElPopover as L, ElCard as q, ElForm as G, ElRow as H, ElCol as f, ElFormItem as c, ElSlider as _, ElButton as U, ElIcon as J } from "element-plus";
|
|
16
|
-
import K from "./
|
|
17
|
-
import { D as b, _ as M } from "./
|
|
16
|
+
import K from "./processD8Wa4hOW.js";
|
|
17
|
+
import { D as b, _ as M } from "./indexCNC1g25E.js";
|
|
18
18
|
const Q = { class: "margin-l-4" }, W = { class: "margin-l-4" }, X = { class: "margin-l-4" }, Y = { class: "margin-l-4" }, Z = { class: "margin-l-4" }, $ = { class: "margin-l-4" }, ee = { class: "margin-l-4" }, le = { class: "flex justify-content-end" }, ae = { class: "hzzt-kfb-toolbox__icon" }, oe = /* @__PURE__ */ S({
|
|
19
19
|
name: "ToolProcess",
|
|
20
20
|
__name: "process",
|
|
@@ -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("./index3jvwVv4H.js"),r={},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:"M20.25 21H3.75C3.55109 21 3.36032 20.921 3.21967 20.7803C3.07902 20.6397 3 20.4489 3 20.25V3.75C3 3.55109 3.07902 3.36032 3.21967 3.21967C3.36032 3.07902 3.55109 3 3.75 3H20.25C20.4489 3 20.6397 3.07902 20.7803 3.21967C20.921 3.36032 21 3.55109 21 3.75V20.25C21 20.4489 20.921 20.6397 20.7803 20.7803C20.6397 20.921 20.4489 21 20.25 21ZM4.5 19.5H19.5V4.5H4.5V19.5Z",fill:"currentColor"})],-1)]))}const c=n._export_sfc(r,[["render",l]]);exports.default=c;
|
|
@@ -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("./index3jvwVv4H.js"),n={},r={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};function c(i,t){return e.openBlock(),e.createElementBlock("svg",r,t[0]||(t[0]=[e.createElementVNode("g",{id:"24*24/旋转"},[e.createElementVNode("path",{id:"Vector",d:"M10.875 1.5H15.375C18.0674 1.5 20.25 3.68262 20.25 6.375V9H22.3052C22.4723 9 22.5558 9.20203 22.4377 9.32016L18.671 13.0868C18.5618 13.196 18.375 13.1184 18.375 12.964V6.375C18.375 4.71816 17.0318 3.375 15.375 3.375H10.875C10.6679 3.375 10.5 3.20712 10.5 3V1.875C10.5 1.66788 10.6679 1.5 10.875 1.5ZM1.875 20.25H15.375C15.5822 20.25 15.75 20.0822 15.75 19.875V6.375C15.75 6.16781 15.5822 6 15.375 6H1.875C1.66781 6 1.5 6.16781 1.5 6.375V19.875C1.5 20.0822 1.66781 20.25 1.875 20.25Z"})],-1)]))}const s=o._export_sfc(n,[["render",c]]);exports.default=s;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as C, mergeDefaults as y, inject as h, ref as g, watch as w, createBlock as V, openBlock as P, unref as i, withCtx as c, createVNode as r, createElementVNode as o, normalizeStyle as E, normalizeClass as I, toDisplayString as M } from "vue";
|
|
2
2
|
import { isPointInEllipse as $, getAngle as F } from "kfb-view";
|
|
3
|
-
import { u as N, d as B } from "./
|
|
3
|
+
import { u as N, d as B } from "./useCommoncwGp0w86.js";
|
|
4
4
|
import { ElPopover as D, ElCard as R, ElInputNumber as S, ElIcon as j } from "element-plus";
|
|
5
|
-
import A from "./
|
|
6
|
-
import q from "./
|
|
7
|
-
import { _ as T } from "./
|
|
5
|
+
import A from "./rotateDcAKg0Ly.js";
|
|
6
|
+
import q from "./arrowCircleCAfdy8wW.js";
|
|
7
|
+
import { _ as T } from "./indexCNC1g25E.js";
|
|
8
8
|
const U = { class: "flex align-items-center" }, X = { class: "flex column align-items-center flex-1" }, Y = { class: "flex justify-content-center align-items-center" }, G = { class: "hzzt-kfb-toolbox-rotate__container" }, H = { class: "hzzt-kfb-toolbox-rotate__angle" }, J = { class: "hzzt-kfb-toolbox__icon" }, K = /* @__PURE__ */ C({
|
|
9
9
|
name: "ToolRotate",
|
|
10
10
|
__name: "rotate",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),x=require("kfb-view"),_=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),x=require("kfb-view"),_=require("./useCommonBTTzsGT6.js"),s=require("element-plus"),V=require("./rotateB4aIQveS.js"),N=require("./arrowCircleCf_nzJuW.js"),C=require("./index3jvwVv4H.js"),E={class:"flex align-items-center"},k={class:"flex column align-items-center flex-1"},w={class:"flex justify-content-center align-items-center"},h={class:"hzzt-kfb-toolbox-rotate__container"},y={class:"hzzt-kfb-toolbox-rotate__angle"},P={class:"hzzt-kfb-toolbox__icon"},q=e.defineComponent({name:"ToolRotate",__name:"rotate",props:e.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function},options:{}},_.defaultProps),setup($){var f;const{t:g,textClass:b}=_.useCommon(),n=e.inject("kfbViewRef"),i=e.ref(!1),r=e.ref(((f=n==null?void 0:n.value)==null?void 0:f.degrees)||0);e.watch(()=>{var o;return(o=n==null?void 0:n.value)==null?void 0:o.degrees},o=>{r.value=o});function a(o){var t;r.value=parseFloat(o.toFixed(2)),(t=n==null?void 0:n.value)!=null&&t.kfbView&&n.value.kfbView.viewer.viewport.setRotation(r.value)}function d(o){const t=document.querySelector(".hzzt-kfb-toolbox-rotate__container");if(!t)return;const l=t.getBoundingClientRect(),c={x:32,y:32},v={x:o.clientX-l.left,y:o.clientY-l.top};if(x.isPointInEllipse(v,c,32,32)){const p=x.getAngle(c,{x:c.x,y:0},v);if(isNaN(p/Math.PI*180))return;let u=parseFloat((p/Math.PI*180).toFixed(2));u<0&&(u+=360),i.value=!0,a(u)}}function z(o){i.value&&d(o)}function m(){i.value=!1}return(o,t)=>(e.openBlock(),e.createBlock(e.unref(s.ElPopover),{placement:"bottom",width:"260px",trigger:"click","popper-class":"el-popover-padding-0"},{reference:e.withCtx(()=>[e.createElementVNode("div",P,[e.createVNode(e.unref(s.ElIcon),{size:o.size},{default:e.withCtx(()=>[e.createVNode(V.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(b))},e.toDisplayString(e.unref(g)(o.text||"旋转")),3)])]),default:e.withCtx(()=>[e.createVNode(e.unref(s.ElCard),{shadow:"never","body-style":{padding:"12px 12px 12px 0"}},{default:e.withCtx(()=>[e.createElementVNode("div",E,[e.createElementVNode("div",k,[e.createElementVNode("div",{class:"hzzt-kfb-toolbox-rotate__btn margin-b-1",onClick:t[0]||(t[0]=l=>a(0))}),e.createElementVNode("div",w,[e.createElementVNode("div",{class:"hzzt-kfb-toolbox-rotate__btn margin-r-1",onClick:t[1]||(t[1]=l=>a(270))}),e.createElementVNode("div",h,[e.createElementVNode("div",{class:"hzzt-kfb-toolbox-rotate__img",style:e.normalizeStyle({transform:`rotate(${r.value}deg)`}),onMousedown:d,onMousemove:z,onMouseup:m,onMouseleave:m},[e.createVNode(N.default)],36)]),e.createElementVNode("div",{class:"hzzt-kfb-toolbox-rotate__btn margin-l-1",onClick:t[2]||(t[2]=l=>a(90))})]),e.createElementVNode("div",{class:"hzzt-kfb-toolbox-rotate__btn margin-t-1",onClick:t[3]||(t[3]=l=>a(180))})]),e.createElementVNode("div",y,[e.createVNode(e.unref(s.ElInputNumber),{modelValue:r.value,"onUpdate:modelValue":t[4]||(t[4]=l=>r.value=l),min:0,max:360,step:5,onChange:t[5]||(t[5]=l=>a(r.value))},null,8,["modelValue"])])])]),_:1})]),_:1}))}}),M=C._export_sfc(q,[["__scopeId","data-v-23fd8f31"]]);exports.default=M;
|
|
@@ -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("./index3jvwVv4H.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"),d=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),d=require("./useCommonBTTzsGT6.js"),r=require("element-plus"),m=require("./settingBo2jK0Dr.js"),v=require("./index3jvwVv4H.js"),x={class:"hzzt-kfb-toolbox__icon"},c=e.defineComponent({name:"ToolSetting",__name:"setting",props:e.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function},options:{}},d.defaultProps),emits:["tool"],setup(V,{emit:s}){const i=s,{t:o,textClass:f}=d.useCommon(),a=e.ref({all:!0,grid:!1,ruler:!1,navigator:!0,graduation:!0});function u(n,t){n==="grid"||n==="graduation"?i("tool",n,{show:t}):n==="ruler"?i("tool",n,{ruler:t}):n==="tool"&&(a.value.grid=!!t,a.value.ruler=!!t,a.value.navigator=!!t,a.value.graduation=!!t),i("tool",n,t)}return(n,t)=>(e.openBlock(),e.createBlock(e.unref(r.ElPopover),{placement:"bottom",width:"230px",trigger:"click","popper-class":"el-popover-padding-0"},{reference:e.withCtx(()=>[e.createElementVNode("div",x,[e.createVNode(e.unref(r.ElIcon),{size:n.size},{default:e.withCtx(()=>[e.createVNode(m.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(f))},e.toDisplayString(e.unref(o)(n.text||"工具")),3)])]),default:e.withCtx(()=>[e.createVNode(e.unref(r.ElCard),{shadow:"never",header:e.unref(o)("工具"),"body-style":{padding:0}},{default:e.withCtx(()=>[e.createVNode(e.unref(r.ElForm),{"label-width":"85px","label-position":"right"},{default:e.withCtx(()=>[e.createVNode(e.unref(r.ElFormItem),{label:e.unref(o)("全部")},{default:e.withCtx(()=>[e.createVNode(e.unref(r.ElSwitch),{modelValue:a.value.all,"onUpdate:modelValue":t[0]||(t[0]=l=>a.value.all=l),"active-text":e.unref(o)("开"),"inactive-text":e.unref(o)("关"),onChange:t[1]||(t[1]=l=>u("tool",l))},null,8,["modelValue","active-text","inactive-text"])]),_:1},8,["label"]),e.createVNode(e.unref(r.ElFormItem),{label:e.unref(o)("自动网格")},{default:e.withCtx(()=>[e.createVNode(e.unref(r.ElSwitch),{modelValue:a.value.grid,"onUpdate:modelValue":t[2]||(t[2]=l=>a.value.grid=l),"active-text":e.unref(o)("开"),"inactive-text":e.unref(o)("关"),onChange:t[3]||(t[3]=l=>u("grid",l))},null,8,["modelValue","active-text","inactive-text"])]),_:1},8,["label"]),e.createVNode(e.unref(r.ElFormItem),{label:e.unref(o)("自动标尺")},{default:e.withCtx(()=>[e.createVNode(e.unref(r.ElSwitch),{modelValue:a.value.ruler,"onUpdate:modelValue":t[4]||(t[4]=l=>a.value.ruler=l),"active-text":e.unref(o)("开"),"inactive-text":e.unref(o)("关"),onChange:t[5]||(t[5]=l=>u("ruler",l))},null,8,["modelValue","active-text","inactive-text"])]),_:1},8,["label"]),e.createVNode(e.unref(r.ElFormItem),{label:e.unref(o)("导航图")},{default:e.withCtx(()=>[e.createVNode(e.unref(r.ElSwitch),{modelValue:a.value.navigator,"onUpdate:modelValue":t[6]||(t[6]=l=>a.value.navigator=l),"active-text":e.unref(o)("开"),"inactive-text":e.unref(o)("关"),onChange:t[7]||(t[7]=l=>u("navigator",l))},null,8,["modelValue","active-text","inactive-text"])]),_:1},8,["label"]),e.createVNode(e.unref(r.ElFormItem),{label:e.unref(o)("比例尺")},{default:e.withCtx(()=>[e.createVNode(e.unref(r.ElSwitch),{modelValue:a.value.graduation,"onUpdate:modelValue":t[8]||(t[8]=l=>a.value.graduation=l),"active-text":e.unref(o)("开"),"inactive-text":e.unref(o)("关"),onChange:t[9]||(t[9]=l=>u("graduation",l))},null,8,["modelValue","active-text","inactive-text"])]),_:1},8,["label"])]),_:1})]),_:1},8,["header"])]),_:1}))}}),g=v._export_sfc(c,[["__scopeId","data-v-3599775b"]]);exports.default=g;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as x, mergeDefaults as f, ref as b, createBlock as V, openBlock as c, unref as e, withCtx as r, createVNode as i, createElementVNode as m, normalizeClass as C, toDisplayString as z } from "vue";
|
|
2
|
-
import { u as E, d as w } from "./
|
|
2
|
+
import { u as E, d as w } from "./useCommoncwGp0w86.js";
|
|
3
3
|
import { ElPopover as k, ElCard as U, ElForm as F, ElFormItem as d, ElSwitch as s, ElIcon as S } from "element-plus";
|
|
4
|
-
import _ from "./
|
|
5
|
-
import { _ as B } from "./
|
|
4
|
+
import _ from "./settingCPRrk8ML.js";
|
|
5
|
+
import { _ as B } from "./indexCNC1g25E.js";
|
|
6
6
|
const I = { class: "hzzt-kfb-toolbox__icon" }, P = /* @__PURE__ */ x({
|
|
7
7
|
name: "ToolSetting",
|
|
8
8
|
__name: "setting",
|
|
@@ -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("./index3jvwVv4H.js"),r={},o={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function l(L,t){return e.openBlock(),e.createElementBlock("svg",o,t[0]||(t[0]=[e.createElementVNode("g",null,[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.1529 4.44025C10.8361 2.79767 13.1631 2.79767 13.8463 4.44025L14.7047 6.50373C14.9927 7.19608 15.6447 7.66939 16.3922 7.72931L18.6197 7.90705C20.3929 8.04936 21.1114 10.2624 19.7603 11.4197L18.0631 12.8738C17.4936 13.3618 17.2455 14.1278 17.4195 14.8572L17.9381 17.0311C18.3505 18.7613 16.4679 20.1291 14.9498 19.202L13.0426 18.0369C12.4025 17.646 11.5976 17.646 10.9576 18.0369L9.05037 19.202C7.53225 20.1292 5.64957 18.7614 6.06209 17.0311L6.58065 14.8572C6.75466 14.1277 6.50569 13.3617 5.93611 12.8738L4.23885 11.4197C2.88828 10.2623 3.60732 8.04922 5.38045 7.90705L7.60799 7.72931C8.35551 7.66939 9.00744 7.19611 9.29549 6.50373L10.1529 4.44025ZM12.9234 5.21955C12.5817 4.39867 11.4185 4.3987 11.0767 5.21955L9.85408 8.15998C9.71 8.50601 9.38399 8.74233 9.01033 8.77228L5.83748 9.02717C4.95088 9.09824 4.59083 10.2043 5.26619 10.783L7.68416 12.8543C7.96892 13.0982 8.09339 13.4808 8.00643 13.8455L7.26815 16.9422C7.0618 17.8073 8.00228 18.4913 8.76131 18.0281L11.4791 16.368C11.7989 16.1728 12.2012 16.1728 12.5211 16.368L15.2379 18.0281C15.997 18.4918 16.9384 17.8074 16.732 16.9422L15.9937 13.8455C15.9068 13.4808 16.0312 13.0983 16.316 12.8543L18.734 10.783C19.4092 10.2043 19.0492 9.09824 18.1627 9.02717L14.9898 8.77228C14.6162 8.74233 14.2902 8.50598 14.1461 8.15998L12.9234 5.21955Z",fill:"currentColor"})],-1)]))}const C=n._export_sfc(r,[["render",l]]);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("./index3jvwVv4H.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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),n=require("./index3jvwVv4H.js"),u={size:24,isPrevent:!1};function c(){const t=e.inject("show-menu-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;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { inject as s, computed as n } from "vue";
|
|
2
|
-
import { u } from "./
|
|
2
|
+
import { u } from "./indexCNC1g25E.js";
|
|
3
3
|
const l = {
|
|
4
4
|
size: 24,
|
|
5
5
|
isPrevent: !1
|
|
6
6
|
};
|
|
7
7
|
function c() {
|
|
8
|
-
const t = s("show-text", {
|
|
8
|
+
const t = s("show-menu-text", {
|
|
9
9
|
value: !0
|
|
10
10
|
}), { t: o } = u(), e = n(
|
|
11
11
|
() => t.value ? "hzzt-kfb-toolbox__text" : "hzzt-kfb-toolbox__tooltip"
|
|
@@ -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("./index3jvwVv4H.js"),o={},c={viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"200",height:"200"};function n(i,t){return e.openBlock(),e.createElementBlock("svg",c,t[0]||(t[0]=[e.createElementVNode("path",{d:"M515.041727 670.617766c91.584167 0 166.095647-74.504255 166.095647-166.095646V229.350568c0-91.584167-74.51148-166.095647-166.095647-166.095647-91.598617 0-166.102872 74.51148-166.102871 166.095647V504.52212c0 91.591392 74.504255 166.095647 166.102871 166.095646z",fill:"currentColor"},null,-1),e.createElementVNode("path",{d:"M801.643237 874.001665H558.391759v-45.423608c161.507768-21.313766 286.60151-159.788217 286.60151-327.01819a43.350032 43.350032 0 0 0-86.700064 0c0 134.124998-109.12648 243.251478-243.258703 243.251479-134.124998 0-243.244253-109.12648-243.244253-243.251479a43.350032 43.350032 0 0 0-86.700063 0c0 167.229972 125.100967 305.711649 286.601509 327.01819v45.423608H228.440217a43.350032 43.350032 0 0 0 0 86.700064h573.20302a43.350032 43.350032 0 0 0 0-86.700064z",fill:"currentColor"},null,-1)]))}const l=r._export_sfc(o,[["render",n]]);exports.default=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("element-plus"),_=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("element-plus"),_=require("./index3jvwVv4H.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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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
2
|
import { ElInput as h } from "element-plus";
|
|
3
|
-
import { _ as V } from "./
|
|
3
|
+
import { _ as V } from "./indexCNC1g25E.js";
|
|
4
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
5
|
name: "ToolZoom",
|
|
6
6
|
__name: "zoom",
|
|
@@ -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("./index3jvwVv4H.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;
|