hzzt-kfb-slide 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/dist/components/annotateCVLkqudX.js +1 -0
  2. package/dist/components/annotateCX9GkmOg.js +1 -0
  3. package/dist/components/annotateCYZEG4by.js +122 -0
  4. package/dist/components/annotateDDGAeaL1.js +15 -0
  5. package/dist/components/arrow6aTSOsV2.js +1 -0
  6. package/dist/components/arrowDOQZx-5i.js +25 -0
  7. package/dist/components/checkCazbS-c6.js +1 -0
  8. package/dist/components/checkDT-yvng0.js +22 -0
  9. package/dist/components/configB5XxbCMh.js +20 -0
  10. package/dist/components/configB7FH_Li-.js +1 -0
  11. package/dist/components/configCPI2rG9d.js +40 -0
  12. package/dist/components/configOyvUhGVP.js +1 -0
  13. package/dist/components/custom-mCr5M_c.js +1 -0
  14. package/dist/components/customc4LeZve5.js +40 -0
  15. package/dist/components/dot1kt2iBMi.js +28 -0
  16. package/dist/components/dotB1Nn2uO0.js +1 -0
  17. package/dist/components/dotBzY_NqlA.js +1 -0
  18. package/dist/components/dotDKLgWFRD.js +112 -0
  19. package/dist/components/downloadBWFjb3Fj.js +1 -0
  20. package/dist/components/downloadCshCNWAW.js +24 -0
  21. package/dist/components/downloadDmK-mUW4.js +79 -0
  22. package/dist/components/download_UT5bsTk.js +1 -0
  23. package/dist/components/flipCbiBH_o3.js +1 -0
  24. package/dist/components/flipDA2I3h_e.js +1 -0
  25. package/dist/components/flipDUZT4wIY.js +40 -0
  26. package/dist/components/flipDUjW55Vh.js +19 -0
  27. package/dist/components/fullscreenD6c_uo6X.js +1 -0
  28. package/dist/components/fullscreenDUzPX17n.js +1 -0
  29. package/dist/components/fullscreenDyMv4lzQ.js +20 -0
  30. package/dist/components/fullscreenQqpG_OS1.js +52 -0
  31. package/dist/components/indexDvexHnyj.js +10651 -0
  32. package/dist/components/indexNnjbVZ_m.js +30 -0
  33. package/dist/components/infoBJj_CFzD.js +22 -0
  34. package/dist/components/infoBNm69fP0.js +41 -0
  35. package/dist/components/infoB_-hN7Fr.js +1 -0
  36. package/dist/components/infoDvOItrdO.js +1 -0
  37. package/dist/components/lineBIoJpzbf.js +12 -0
  38. package/dist/components/lineCzuS7Giu.js +1 -0
  39. package/dist/components/microscopeBsAciWA9.js +1 -0
  40. package/dist/components/microscopeCJwTonZV.js +20 -0
  41. package/dist/components/microscopeDQl6TocT.js +1 -0
  42. package/dist/components/microscopeQHJ_dU_L.js +124 -0
  43. package/dist/components/moveBzYl-c4_.js +1 -0
  44. package/dist/components/moveCe8MSGn0.js +74 -0
  45. package/dist/components/moveDxSu5JyS.js +1 -0
  46. package/dist/components/moveUEjGdGB8.js +24 -0
  47. package/dist/components/nextCGxHdIok.js +1 -0
  48. package/dist/components/nextDeuoTRY7.js +40 -0
  49. package/dist/components/nextUojG6t-0.js +1 -0
  50. package/dist/components/nextXkdsQP9z.js +31 -0
  51. package/dist/components/prevBjMmvSpY.js +31 -0
  52. package/dist/components/prevBrrsxCoK.js +40 -0
  53. package/dist/components/prevDCKFCMZw.js +1 -0
  54. package/dist/components/prevhOkmcBJ2.js +1 -0
  55. package/dist/components/processCUjiU4DT.js +1 -0
  56. package/dist/components/processCaqwpK4F.js +252 -0
  57. package/dist/components/processCigaxNDK.js +1 -0
  58. package/dist/components/processRSLucFP3.js +24 -0
  59. package/dist/components/rotateBgPHUO92.js +20 -0
  60. package/dist/components/rotateCIEP8gXK.js +1 -0
  61. package/dist/components/rotateCt5rJEBm.js +1 -0
  62. package/dist/components/rotateWiDuyX22.js +130 -0
  63. package/dist/components/setting8L58q_d4.js +134 -0
  64. package/dist/components/settingBwRgwtCV.js +22 -0
  65. package/dist/components/settingCgwUdss3.js +1 -0
  66. package/dist/components/settingDEgu1o7Z.js +1 -0
  67. package/dist/components/tailor0e5PmiKv.js +24 -0
  68. package/dist/components/tailorA3InL_3L.js +1 -0
  69. package/dist/components/tailorBB_gVLzK.js +40 -0
  70. package/dist/components/tailorCeILe_eG.js +1 -0
  71. package/dist/components/useCommonDK4IjSxd.js +17 -0
  72. package/dist/components/useCommon_CFgwTZy.js +1 -0
  73. package/dist/components/zoomCOaNFEUh.js +63 -0
  74. package/dist/components/zoomD7pWi-kc.js +1 -0
  75. package/dist/index.cjs.js +1 -0
  76. package/dist/index.css +1 -0
  77. package/dist/index.es.js +7 -0
  78. package/package.json +39 -0
@@ -0,0 +1,22 @@
1
+ import { createElementBlock as o, openBlock as r, createElementVNode as t } from "vue";
2
+ import { _ as n } from "./indexDvexHnyj.js";
3
+ const C = {}, c = {
4
+ viewBox: "0 0 24 24",
5
+ xmlns: "http://www.w3.org/2000/svg"
6
+ };
7
+ function d(s, e) {
8
+ return r(), o("svg", c, e[0] || (e[0] = [
9
+ t("g", { id: "24*24/提示" }, [
10
+ t("path", {
11
+ id: "Subtract",
12
+ "fill-rule": "evenodd",
13
+ "clip-rule": "evenodd",
14
+ 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"
15
+ })
16
+ ], -1)
17
+ ]));
18
+ }
19
+ const _ = /* @__PURE__ */ n(C, [["render", d]]);
20
+ export {
21
+ _ as default
22
+ };
@@ -0,0 +1,41 @@
1
+ import { defineComponent as c, mergeDefaults as p, createElementBlock as f, openBlock as u, createVNode as t, createElementVNode as d, unref as o, withCtx as z, normalizeClass as _, toDisplayString as C } from "vue";
2
+ import { ElIcon as k } from "element-plus";
3
+ import x from "./infoBJj_CFzD.js";
4
+ import { d as h } from "./indexDvexHnyj.js";
5
+ import { u as b } from "./useCommonDK4IjSxd.js";
6
+ const I = /* @__PURE__ */ c({
7
+ name: "ToolInfo",
8
+ __name: "info",
9
+ props: /* @__PURE__ */ p({
10
+ size: {},
11
+ text: {},
12
+ name: {},
13
+ component: {},
14
+ isPrevent: { type: Boolean },
15
+ callback: { type: Function }
16
+ }, h),
17
+ emits: ["tool"],
18
+ setup(n, { emit: s }) {
19
+ const i = n, r = s, { t: a, textClass: l } = b(i);
20
+ function m() {
21
+ r("tool", "info");
22
+ }
23
+ return (e, v) => (u(), f("div", {
24
+ class: "hzzt-kfb-toolbox__icon",
25
+ onClick: m
26
+ }, [
27
+ t(o(k), { size: e.size }, {
28
+ default: z(() => [
29
+ t(x)
30
+ ]),
31
+ _: 1
32
+ }, 8, ["size"]),
33
+ d("div", {
34
+ class: _(o(l))
35
+ }, C(o(a)(e.text || "信息")), 3)
36
+ ]));
37
+ }
38
+ });
39
+ export {
40
+ I as default
41
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./indexNnjbVZ_m.js"),o={},r={viewBox:"0 0 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;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("element-plus"),u=require("./infoB_-hN7Fr.js"),m=require("./indexNnjbVZ_m.js"),f=require("./useCommon_CFgwTZy.js"),d=e.defineComponent({name:"ToolInfo",__name:"info",props:e.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function}},m.defaultProps),emits:["tool"],setup(t,{emit:n}){const s=t,i=n,{t:r,textClass:l}=f.useCommon(s);function c(){i("tool","info")}return(o,p)=>(e.openBlock(),e.createElementBlock("div",{class:"hzzt-kfb-toolbox__icon",onClick:c},[e.createVNode(e.unref(a.ElIcon),{size:o.size},{default:e.withCtx(()=>[e.createVNode(u.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(l))},e.toDisplayString(e.unref(r)(o.text||"信息")),3)]))}});exports.default=d;
@@ -0,0 +1,12 @@
1
+ import { createElementBlock as e, openBlock as o } from "vue";
2
+ const t = { class: "hzzt-kfb-toolbox__line" }, a = /* @__PURE__ */ Object.assign({
3
+ name: "ToolLine"
4
+ }, {
5
+ __name: "line",
6
+ setup(n) {
7
+ return (_, c) => (o(), e("div", t));
8
+ }
9
+ });
10
+ export {
11
+ a as default
12
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),t={class:"hzzt-kfb-toolbox__line"},o=Object.assign({name:"ToolLine"},{__name:"line",setup(n){return(c,s)=>(e.openBlock(),e.createElementBlock("div",t))}});exports.default=o;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),o=require("./indexNnjbVZ_m.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;
@@ -0,0 +1,20 @@
1
+ import { createElementBlock as o, openBlock as C, createElementVNode as t } from "vue";
2
+ import { _ as r } from "./indexDvexHnyj.js";
3
+ const n = {}, c = {
4
+ viewBox: "0 0 24 24",
5
+ xmlns: "http://www.w3.org/2000/svg"
6
+ };
7
+ function s(i, e) {
8
+ return C(), o("svg", c, e[0] || (e[0] = [
9
+ t("g", { id: "24*24/显微镜" }, [
10
+ t("path", {
11
+ id: "Vector",
12
+ 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"
13
+ })
14
+ ], -1)
15
+ ]));
16
+ }
17
+ const m = /* @__PURE__ */ r(n, [["render", s]]);
18
+ export {
19
+ m as default
20
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),v=require("./microscopeBsAciWA9.js"),n=require("element-plus"),d=require("./indexNnjbVZ_m.js"),V=require("./useCommon_CFgwTZy.js"),g={class:"flex align-items-center margin-t-2"},E={style:{"min-width":"120px"}},b={class:"flex align-items-center margin-t-2"},x={style:{"min-width":"120px"}},N={class:"flex align-items-center margin-t-2"},C={style:{"min-width":"120px"}},h=e.defineComponent({name:"ToolMicroscope",__name:"microscope",props:e.mergeDefaults({scope:{},size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function}},{...d.defaultProps,scope:()=>({...d.DEFAULT_MICROSCOPE})}),emits:["tool"],setup(m,{emit:p}){const u=m,o=e.reactive({...d.DEFAULT_MICROSCOPE,...u.scope});e.watch(()=>u.scope,r=>{Object.assign(o,r)});const c=p,{t:i,textClass:f}=V.useCommon(u),s=e.ref(!1);function a(r,t){r==="visible"?(s.value=!s.value,c("tool","microscope",{name:r,value:s.value})):c("tool","microscope",{name:r,value:t})}return(r,t)=>(e.openBlock(),e.createBlock(e.unref(n.ElPopover),{visible:s.value,"popper-class":"el-popover-padding-0",placement:"bottom",width:"300px",trigger:"click"},{reference:e.withCtx(()=>[e.createElementVNode("div",{class:"hzzt-kfb-toolbox__icon",onClick:t[8]||(t[8]=l=>a("visible",s.value))},[e.createVNode(e.unref(n.ElIcon),{size:r.size},{default:e.withCtx(()=>[e.createVNode(v.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(f))},e.toDisplayString(e.unref(i)(r.text||"镜下")),3)])]),default:e.withCtx(()=>[e.createVNode(e.unref(n.ElCard),{shadow:"never",header:e.unref(i)("镜下视野")},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(e.unref(n.ElRadioGroup),{modelValue:o.shape,"onUpdate:modelValue":t[0]||(t[0]=l=>o.shape=l),onChange:t[1]||(t[1]=l=>a("change",o))},{default:e.withCtx(()=>[e.createVNode(e.unref(n.ElRadio),{value:"50%",label:e.unref(i)("圆形")},null,8,["label"]),e.createVNode(e.unref(n.ElRadio),{value:"0",label:e.unref(i)("矩形")},null,8,["label"])]),_:1},8,["modelValue"]),e.createElementVNode("div",g,[e.createElementVNode("p",E,e.toDisplayString(e.unref(i)("视野直径(mm)"))+": ",1),e.createVNode(e.unref(n.ElInputNumber),{class:"flex-1",modelValue:o.width,"onUpdate:modelValue":t[2]||(t[2]=l=>o.width=l),onInput:t[3]||(t[3]=l=>a("change",o))},null,8,["modelValue"])]),e.createElementVNode("div",b,[e.createElementVNode("p",x,e.toDisplayString(e.unref(i)("边框宽度"))+"(px): ",1),e.createVNode(e.unref(n.ElInputNumber),{class:"flex-1",modelValue:o.borderWidth,"onUpdate:modelValue":t[4]||(t[4]=l=>o.borderWidth=l),onInput:t[5]||(t[5]=l=>a("change",o))},null,8,["modelValue"])]),e.createElementVNode("div",N,[e.createElementVNode("p",C,e.toDisplayString(e.unref(i)("边框颜色"))+": ",1),e.createVNode(e.unref(n.ElColorPicker),{modelValue:o.color,"onUpdate:modelValue":t[6]||(t[6]=l=>o.color=l),onChange:t[7]||(t[7]=l=>a("change",o))},null,8,["modelValue"])])])]),_:1},8,["header"])]),_:1},8,["visible"]))}}),w=d._export_sfc(h,[["__scopeId","data-v-af2f9405"]]);exports.default=w;
@@ -0,0 +1,124 @@
1
+ import { defineComponent as h, mergeDefaults as C, reactive as E, watch as _, ref as w, createBlock as k, openBlock as z, unref as o, withCtx as m, createVNode as n, createElementVNode as s, toDisplayString as p, normalizeClass as I } from "vue";
2
+ import P from "./microscopeCJwTonZV.js";
3
+ import { ElPopover as U, ElCard as $, ElRadioGroup as y, ElRadio as v, ElInputNumber as f, ElColorPicker as B, ElIcon as D } from "element-plus";
4
+ import { j as g, d as N, _ as O } from "./indexDvexHnyj.js";
5
+ import { u as R } from "./useCommonDK4IjSxd.js";
6
+ const j = { class: "flex align-items-center margin-t-2" }, F = { style: { "min-width": "120px" } }, M = { class: "flex align-items-center margin-t-2" }, S = { style: { "min-width": "120px" } }, T = { class: "flex align-items-center margin-t-2" }, W = { style: { "min-width": "120px" } }, A = /* @__PURE__ */ h({
7
+ name: "ToolMicroscope",
8
+ __name: "microscope",
9
+ props: /* @__PURE__ */ C({
10
+ scope: {},
11
+ size: {},
12
+ text: {},
13
+ name: {},
14
+ component: {},
15
+ isPrevent: { type: Boolean },
16
+ callback: { type: Function }
17
+ }, {
18
+ ...N,
19
+ scope: () => ({ ...g })
20
+ }),
21
+ emits: ["tool"],
22
+ setup(b, { emit: x }) {
23
+ const u = b, l = E({
24
+ ...g,
25
+ ...u.scope
26
+ });
27
+ _(() => u.scope, (i) => {
28
+ Object.assign(l, i);
29
+ });
30
+ const c = x, { t: a, textClass: V } = R(u), r = w(!1);
31
+ function d(i, e) {
32
+ i === "visible" ? (r.value = !r.value, c("tool", "microscope", {
33
+ name: i,
34
+ value: r.value
35
+ })) : c("tool", "microscope", {
36
+ name: i,
37
+ value: e
38
+ });
39
+ }
40
+ return (i, e) => (z(), k(o(U), {
41
+ visible: r.value,
42
+ "popper-class": "el-popover-padding-0",
43
+ placement: "bottom",
44
+ width: "300px",
45
+ trigger: "click"
46
+ }, {
47
+ reference: m(() => [
48
+ s("div", {
49
+ class: "hzzt-kfb-toolbox__icon",
50
+ onClick: e[8] || (e[8] = (t) => d("visible", r.value))
51
+ }, [
52
+ n(o(D), { size: i.size }, {
53
+ default: m(() => [
54
+ n(P)
55
+ ]),
56
+ _: 1
57
+ }, 8, ["size"]),
58
+ s("div", {
59
+ class: I(o(V))
60
+ }, p(o(a)(i.text || "镜下")), 3)
61
+ ])
62
+ ]),
63
+ default: m(() => [
64
+ n(o($), {
65
+ shadow: "never",
66
+ header: o(a)("镜下视野")
67
+ }, {
68
+ default: m(() => [
69
+ s("div", null, [
70
+ n(o(y), {
71
+ modelValue: l.shape,
72
+ "onUpdate:modelValue": e[0] || (e[0] = (t) => l.shape = t),
73
+ onChange: e[1] || (e[1] = (t) => d("change", l))
74
+ }, {
75
+ default: m(() => [
76
+ n(o(v), {
77
+ value: "50%",
78
+ label: o(a)("圆形")
79
+ }, null, 8, ["label"]),
80
+ n(o(v), {
81
+ value: "0",
82
+ label: o(a)("矩形")
83
+ }, null, 8, ["label"])
84
+ ]),
85
+ _: 1
86
+ }, 8, ["modelValue"]),
87
+ s("div", j, [
88
+ s("p", F, p(o(a)("视野直径(mm)")) + ": ", 1),
89
+ n(o(f), {
90
+ class: "flex-1",
91
+ modelValue: l.width,
92
+ "onUpdate:modelValue": e[2] || (e[2] = (t) => l.width = t),
93
+ onInput: e[3] || (e[3] = (t) => d("change", l))
94
+ }, null, 8, ["modelValue"])
95
+ ]),
96
+ s("div", M, [
97
+ s("p", S, p(o(a)("边框宽度")) + "(px): ", 1),
98
+ n(o(f), {
99
+ class: "flex-1",
100
+ modelValue: l.borderWidth,
101
+ "onUpdate:modelValue": e[4] || (e[4] = (t) => l.borderWidth = t),
102
+ onInput: e[5] || (e[5] = (t) => d("change", l))
103
+ }, null, 8, ["modelValue"])
104
+ ]),
105
+ s("div", T, [
106
+ s("p", W, p(o(a)("边框颜色")) + ": ", 1),
107
+ n(o(B), {
108
+ modelValue: l.color,
109
+ "onUpdate:modelValue": e[6] || (e[6] = (t) => l.color = t),
110
+ onChange: e[7] || (e[7] = (t) => d("change", l))
111
+ }, null, 8, ["modelValue"])
112
+ ])
113
+ ])
114
+ ]),
115
+ _: 1
116
+ }, 8, ["header"])
117
+ ]),
118
+ _: 1
119
+ }, 8, ["visible"]));
120
+ }
121
+ }), K = /* @__PURE__ */ O(A, [["__scopeId", "data-v-af2f9405"]]);
122
+ export {
123
+ K as default
124
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),u=require("./indexNnjbVZ_m.js"),f=require("./useCommon_CFgwTZy.js"),b=require("./moveDxSu5JyS.js"),s=require("element-plus"),C={class:"margin-b-1"},g=e.defineComponent({name:"ToolMove",__name:"move",props:e.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function}},u.defaultProps),emits:["tool"],setup(m,{emit:d}){const v=m,c=d,{t:i,textClass:p}=f.useCommon(v),n=e.ref(!1),l=e.ref(1);function a(o,t){o==="visible"?n.value=!n.value:c("tool","move",{name:o,value:t})}return(o,t)=>(e.openBlock(),e.createBlock(e.unref(s.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]=r=>a("visible",n.value))},[e.createVNode(e.unref(s.ElIcon),{size:o.size},{default:e.withCtx(()=>[e.createVNode(b.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(p))},e.toDisplayString(e.unref(i)(o.text||"快速移动")),3)])]),default:e.withCtx(()=>[e.createVNode(e.unref(s.ElCard),{shadow:"never"},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("p",C,e.toDisplayString(e.unref(i)("图像移动倍率"))+":",1),e.createVNode(e.unref(s.ElInputNumber),{modelValue:l.value,"onUpdate:modelValue":t[0]||(t[0]=r=>l.value=r),step:.2,min:1,max:10,onChange:t[1]||(t[1]=r=>a("ratio",l.value)),onInput:t[2]||(t[2]=r=>a("ratio",l.value))},null,8,["modelValue"])])]),_:1})]),_:1},8,["visible"]))}}),x=u._export_sfc(g,[["__scopeId","data-v-6778505d"]]);exports.default=x;
@@ -0,0 +1,74 @@
1
+ import { defineComponent as g, mergeDefaults as x, ref as u, createBlock as _, openBlock as z, unref as o, withCtx as a, createVNode as i, createElementVNode as r, toDisplayString as v, normalizeClass as k } from "vue";
2
+ import { d as E, _ as V } from "./indexDvexHnyj.js";
3
+ import { u as I } from "./useCommonDK4IjSxd.js";
4
+ import w from "./moveUEjGdGB8.js";
5
+ import { ElPopover as B, ElCard as M, ElInputNumber as N, ElIcon as P } from "element-plus";
6
+ const $ = { class: "margin-b-1" }, y = /* @__PURE__ */ g({
7
+ name: "ToolMove",
8
+ __name: "move",
9
+ props: /* @__PURE__ */ x({
10
+ size: {},
11
+ text: {},
12
+ name: {},
13
+ component: {},
14
+ isPrevent: { type: Boolean },
15
+ callback: { type: Function }
16
+ }, E),
17
+ emits: ["tool"],
18
+ setup(d, { emit: f }) {
19
+ const c = d, b = f, { t: p, textClass: C } = I(c), l = u(!1), n = u(1);
20
+ function m(t, e) {
21
+ t === "visible" ? l.value = !l.value : b("tool", "move", {
22
+ name: t,
23
+ value: e
24
+ });
25
+ }
26
+ return (t, e) => (z(), _(o(B), {
27
+ visible: l.value,
28
+ "popper-class": "el-popover-padding-0",
29
+ placement: "bottom",
30
+ width: "200px",
31
+ trigger: "click"
32
+ }, {
33
+ reference: a(() => [
34
+ r("div", {
35
+ class: "hzzt-kfb-toolbox__icon",
36
+ onClick: e[3] || (e[3] = (s) => m("visible", l.value))
37
+ }, [
38
+ i(o(P), { size: t.size }, {
39
+ default: a(() => [
40
+ i(w)
41
+ ]),
42
+ _: 1
43
+ }, 8, ["size"]),
44
+ r("div", {
45
+ class: k(o(C))
46
+ }, v(o(p)(t.text || "快速移动")), 3)
47
+ ])
48
+ ]),
49
+ default: a(() => [
50
+ i(o(M), { shadow: "never" }, {
51
+ default: a(() => [
52
+ r("div", null, [
53
+ r("p", $, v(o(p)("图像移动倍率")) + ":", 1),
54
+ i(o(N), {
55
+ modelValue: n.value,
56
+ "onUpdate:modelValue": e[0] || (e[0] = (s) => n.value = s),
57
+ step: 0.2,
58
+ min: 1,
59
+ max: 10,
60
+ onChange: e[1] || (e[1] = (s) => m("ratio", n.value)),
61
+ onInput: e[2] || (e[2] = (s) => m("ratio", n.value))
62
+ }, null, 8, ["modelValue"])
63
+ ])
64
+ ]),
65
+ _: 1
66
+ })
67
+ ]),
68
+ _: 1
69
+ }, 8, ["visible"]));
70
+ }
71
+ }), U = /* @__PURE__ */ V(y, [["__scopeId", "data-v-6778505d"]]);
72
+ export {
73
+ U as default
74
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./indexNnjbVZ_m.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;
@@ -0,0 +1,24 @@
1
+ import { createElementBlock as e, openBlock as o, createElementVNode as n } from "vue";
2
+ import { _ as r } from "./indexDvexHnyj.js";
3
+ const s = {}, c = {
4
+ t: "1716452230517",
5
+ class: "icon",
6
+ viewBox: "0 0 1024 1024",
7
+ version: "1.1",
8
+ xmlns: "http://www.w3.org/2000/svg",
9
+ "p-id": "5203",
10
+ width: "128",
11
+ height: "128"
12
+ };
13
+ function i(h, t) {
14
+ return o(), e("svg", c, t[0] || (t[0] = [
15
+ n("path", {
16
+ 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",
17
+ "p-id": "5204"
18
+ }, null, -1)
19
+ ]));
20
+ }
21
+ const p = /* @__PURE__ */ r(s, [["render", i]]);
22
+ export {
23
+ p as default
24
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("element-plus"),u=require("./nextUojG6t-0.js"),m=require("./indexNnjbVZ_m.js"),d=require("./useCommon_CFgwTZy.js"),p=e.defineComponent({name:"ToolNext",__name:"next",props:e.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function}},m.defaultProps),emits:["tool"],setup(o,{emit:n}){const s=o,r=n,{t:l,textClass:c}=d.useCommon(s),i=()=>{r("tool","next")};return(t,f)=>(e.openBlock(),e.createElementBlock("div",{class:"hzzt-kfb-toolbox__icon",onClick:i},[e.createVNode(e.unref(a.ElIcon),{size:t.size},{default:e.withCtx(()=>[e.createVNode(u.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(c))},e.toDisplayString(e.unref(l)(t.text||"下一张")),3)]))}});exports.default=p;
@@ -0,0 +1,40 @@
1
+ import { defineComponent as c, mergeDefaults as p, createElementBlock as f, openBlock as u, createVNode as t, createElementVNode as d, unref as e, withCtx as x, normalizeClass as z, toDisplayString as _ } from "vue";
2
+ import { ElIcon as C } from "element-plus";
3
+ import k from "./nextXkdsQP9z.js";
4
+ import { d as h } from "./indexDvexHnyj.js";
5
+ import { u as b } from "./useCommonDK4IjSxd.js";
6
+ const D = /* @__PURE__ */ c({
7
+ name: "ToolNext",
8
+ __name: "next",
9
+ props: /* @__PURE__ */ p({
10
+ size: {},
11
+ text: {},
12
+ name: {},
13
+ component: {},
14
+ isPrevent: { type: Boolean },
15
+ callback: { type: Function }
16
+ }, h),
17
+ emits: ["tool"],
18
+ setup(n, { emit: s }) {
19
+ const r = n, a = s, { t: i, textClass: l } = b(r), m = () => {
20
+ a("tool", "next");
21
+ };
22
+ return (o, v) => (u(), f("div", {
23
+ class: "hzzt-kfb-toolbox__icon",
24
+ onClick: m
25
+ }, [
26
+ t(e(C), { size: o.size }, {
27
+ default: x(() => [
28
+ t(k)
29
+ ]),
30
+ _: 1
31
+ }, 8, ["size"]),
32
+ d("div", {
33
+ class: z(e(l))
34
+ }, _(e(i)(o.text || "下一张")), 3)
35
+ ]));
36
+ }
37
+ });
38
+ export {
39
+ D as default
40
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),C=require("./indexNnjbVZ_m.js"),o={},r={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function n(i,t){return e.openBlock(),e.createElementBlock("svg",r,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 c=C._export_sfc(o,[["render",n]]);exports.default=c;
@@ -0,0 +1,31 @@
1
+ import { createElementBlock as o, openBlock as e, createElementVNode as C } from "vue";
2
+ import { _ as r } from "./indexDvexHnyj.js";
3
+ const i = {}, l = {
4
+ width: "24",
5
+ height: "24",
6
+ viewBox: "0 0 24 24",
7
+ fill: "none",
8
+ xmlns: "http://www.w3.org/2000/svg"
9
+ };
10
+ function n(c, t) {
11
+ return e(), o("svg", l, t[0] || (t[0] = [
12
+ C("g", { id: "上一例" }, [
13
+ C("path", {
14
+ id: "Subtract",
15
+ 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",
16
+ fill: "currentColor",
17
+ "fill-opacity": "0.9"
18
+ }),
19
+ C("path", {
20
+ id: "Subtract_2",
21
+ 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",
22
+ fill: "currentColor",
23
+ "fill-opacity": "0.9"
24
+ })
25
+ ], -1)
26
+ ]));
27
+ }
28
+ const a = /* @__PURE__ */ r(i, [["render", n]]);
29
+ export {
30
+ a as default
31
+ };
@@ -0,0 +1,31 @@
1
+ import { createElementBlock as o, openBlock as e, createElementVNode as C } from "vue";
2
+ import { _ as r } from "./indexDvexHnyj.js";
3
+ const i = {}, l = {
4
+ width: "24",
5
+ height: "24",
6
+ viewBox: "0 0 24 24",
7
+ fill: "none",
8
+ xmlns: "http://www.w3.org/2000/svg"
9
+ };
10
+ function n(c, t) {
11
+ return e(), o("svg", l, t[0] || (t[0] = [
12
+ C("g", { id: "上一例" }, [
13
+ C("path", {
14
+ id: "Subtract",
15
+ 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",
16
+ fill: "currentColor",
17
+ "fill-opacity": "0.9"
18
+ }),
19
+ C("path", {
20
+ id: "Subtract_2",
21
+ 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",
22
+ fill: "currentColor",
23
+ "fill-opacity": "0.9"
24
+ })
25
+ ], -1)
26
+ ]));
27
+ }
28
+ const a = /* @__PURE__ */ r(i, [["render", n]]);
29
+ export {
30
+ a as default
31
+ };
@@ -0,0 +1,40 @@
1
+ import { defineComponent as c, mergeDefaults as p, createElementBlock as f, openBlock as u, createVNode as t, createElementVNode as d, unref as e, withCtx as z, normalizeClass as _, toDisplayString as v } from "vue";
2
+ import { ElIcon as C } from "element-plus";
3
+ import k from "./prevBjMmvSpY.js";
4
+ import { d as x } from "./indexDvexHnyj.js";
5
+ import { u as h } from "./useCommonDK4IjSxd.js";
6
+ const D = /* @__PURE__ */ c({
7
+ name: "ToolPrev",
8
+ __name: "prev",
9
+ props: /* @__PURE__ */ p({
10
+ size: {},
11
+ text: {},
12
+ name: {},
13
+ component: {},
14
+ isPrevent: { type: Boolean },
15
+ callback: { type: Function }
16
+ }, x),
17
+ emits: ["tool"],
18
+ setup(n, { emit: s }) {
19
+ const r = n, a = s, { t: i, textClass: l } = h(r), m = () => {
20
+ a("tool", "prev");
21
+ };
22
+ return (o, b) => (u(), f("div", {
23
+ class: "hzzt-kfb-toolbox__icon",
24
+ onClick: m
25
+ }, [
26
+ t(e(C), { size: o.size }, {
27
+ default: z(() => [
28
+ t(k)
29
+ ]),
30
+ _: 1
31
+ }, 8, ["size"]),
32
+ d("div", {
33
+ class: _(e(l))
34
+ }, v(e(i)(o.text || "上一张")), 3)
35
+ ]));
36
+ }
37
+ });
38
+ export {
39
+ D as default
40
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),a=require("element-plus"),u=require("./prevhOkmcBJ2.js"),m=require("./indexNnjbVZ_m.js"),p=require("./useCommon_CFgwTZy.js"),d=e.defineComponent({name:"ToolPrev",__name:"prev",props:e.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function}},m.defaultProps),emits:["tool"],setup(o,{emit:n}){const r=o,s=n,{t:l,textClass:c}=p.useCommon(r),i=()=>{s("tool","prev")};return(t,f)=>(e.openBlock(),e.createElementBlock("div",{class:"hzzt-kfb-toolbox__icon",onClick:i},[e.createVNode(e.unref(a.ElIcon),{size:t.size},{default:e.withCtx(()=>[e.createVNode(u.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(c))},e.toDisplayString(e.unref(l)(t.text||"上一张")),3)]))}});exports.default=d;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),C=require("./indexNnjbVZ_m.js"),o={},r={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function n(i,t){return e.openBlock(),e.createElementBlock("svg",r,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 c=C._export_sfc(o,[["render",n]]);exports.default=c;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./indexNnjbVZ_m.js"),C=require("./useCommon_CFgwTZy.js"),t=require("element-plus"),x=require("./processCigaxNDK.js"),E={class:"margin-l-4"},N={class:"margin-l-4"},g={class:"margin-l-4"},_={class:"margin-l-4"},h={class:"margin-l-4"},w={class:"margin-l-4"},b={class:"margin-l-4"},S={class:"flex justify-content-end"},y={class:"hzzt-kfb-toolbox__icon"},D=e.defineComponent({name:"ToolProcess",__name:"process",props:e.mergeDefaults({process:{},size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function}},{...s.defaultProps,process:()=>({...s.DEFAULT_PROCESS})}),emits:["tool"],setup(c,{emit:m}){const d=c,u=m,{t:n,textClass:f}=C.useCommon(d),l=e.reactive({...s.DEFAULT_PROCESS,...d.process});function r(){u("tool","process",l)}function p(){Object.assign(l,s.DEFAULT_PROCESS),r()}function V(){u("tool","save_process",l)}return(i,o)=>(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",y,[e.createVNode(e.unref(t.ElIcon),{size:i.size},{default:e.withCtx(()=>[e.createVNode(x.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(f))},e.toDisplayString(e.unref(n)(i.text||"图像处理")),3)])]),default:e.withCtx(()=>[e.createVNode(e.unref(t.ElCard),{shadow:"never",header:e.unref(n)("图像处理")},{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(n)("红通道")},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElSlider),{modelValue:l.r,"onUpdate:modelValue":o[0]||(o[0]=a=>l.r=a),class:"flex-1",step:.1,min:-1,max:1,onChange:r},null,8,["modelValue"]),e.createElementVNode("span",E,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(n)("绿通道")},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElSlider),{modelValue:l.g,"onUpdate:modelValue":o[1]||(o[1]=a=>l.g=a),class:"flex-1",step:.1,min:-1,max:1,onChange:r},null,8,["modelValue"]),e.createElementVNode("span",N,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(n)("蓝通道")},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElSlider),{modelValue:l.b,"onUpdate:modelValue":o[2]||(o[2]=a=>l.b=a),class:"flex-1",step:.1,min:-1,max:1,onChange:r},null,8,["modelValue"]),e.createElementVNode("span",g,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(n)("gamma值")},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElSlider),{modelValue:l.ga,"onUpdate:modelValue":o[3]||(o[3]=a=>l.ga=a),class:"flex-1",step:.01,min:-.05,max:2,onChange:r},null,8,["modelValue"]),e.createElementVNode("span",_,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(n)("对比度")},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElSlider),{modelValue:l.c,"onUpdate:modelValue":o[4]||(o[4]=a=>l.c=a),class:"flex-1",step:.1,min:-1,max:1,onChange:r},null,8,["modelValue"]),e.createElementVNode("span",h,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(n)("饱和度")},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElSlider),{modelValue:l.s,"onUpdate:modelValue":o[5]||(o[5]=a=>l.s=a),class:"flex-1",step:.1,min:-1,max:1,onChange:r},null,8,["modelValue"]),e.createElementVNode("span",w,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(n)("亮度")},{default:e.withCtx(()=>[e.createVNode(e.unref(t.ElSlider),{modelValue:l.l,"onUpdate:modelValue":o[6]||(o[6]=a=>l.l=a),class:"flex-1",step:.1,min:-1,max:1,onChange:r},null,8,["modelValue"]),e.createElementVNode("span",b,e.toDisplayString(l.l*100)+"%",1)]),_:1},8,["label"])]),_:1})]),_:1})]),_:1}),e.createElementVNode("div",S,[e.createVNode(e.unref(t.ElButton),{onClick:p},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("重置")),1)]),_:1}),e.createVNode(e.unref(t.ElButton),{type:"primary",onClick:V},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("保存")),1)]),_:1})])]),_:1},8,["header"])]),_:1}))}}),v=s._export_sfc(D,[["__scopeId","data-v-8859e97b"]]);exports.default=v;