hzzt-kfb-slide 0.0.1 → 0.0.3
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/annotateBNqnmoMI.js +1 -0
- package/dist/components/{annotateDDGAeaL1.js → annotateCdbWkykl.js} +1 -1
- package/dist/components/{annotateCVLkqudX.js → annotateCtCMs-ef.js} +1 -1
- package/dist/components/{annotateCYZEG4by.js → annotateD0egGTin.js} +46 -46
- package/dist/components/{arrow6aTSOsV2.js → arrowC9aIuvQe.js} +1 -1
- package/dist/components/{arrowDOQZx-5i.js → arrowDG9uJA9k.js} +1 -1
- package/dist/components/arrowDownC6bqk-lY.js +1 -0
- package/dist/components/arrowDownGmouwhLr.js +18 -0
- package/dist/components/arrowLeftBOXSO3ql.js +1 -0
- package/dist/components/arrowLeftDtz6Sjds.js +18 -0
- package/dist/components/arrowRightDSH6IzNE.js +19 -0
- package/dist/components/arrowRightHppOESBK.js +1 -0
- package/dist/components/arrowUpCHU6h7kZ.js +18 -0
- package/dist/components/arrowUpCuroteRQ.js +1 -0
- package/dist/components/channelB8E2yoQ7.js +35 -0
- package/dist/components/channelNB37p_zP.js +1 -0
- package/dist/components/{checkDT-yvng0.js → checkLEGWCAxP.js} +1 -1
- package/dist/components/{checkCazbS-c6.js → checkseAngK1P.js} +1 -1
- package/dist/components/{configB5XxbCMh.js → configCCGG0UB4.js} +3 -3
- package/dist/components/{configOyvUhGVP.js → configDLPuCFH1.js} +1 -1
- package/dist/components/customBbYfn41m.js +1 -0
- package/dist/components/customDo3qaJ1U.js +39 -0
- package/dist/components/deleteD2WtxFlL.js +1 -0
- package/dist/components/deleteMXhIkgfB.js +25 -0
- package/dist/components/dotBgHmd0mz.js +1 -0
- package/dist/components/{dot1kt2iBMi.js → dotDJRbd0BV.js} +1 -1
- package/dist/components/{dotBzY_NqlA.js → dotEN0Eh5Op.js} +1 -1
- package/dist/components/{dotDKLgWFRD.js → dotg0NvS9Ck.js} +29 -29
- package/dist/components/{downloadCshCNWAW.js → downloadCaAoF5Or.js} +1 -1
- package/dist/components/{downloadBWFjb3Fj.js → downloadCaJyQTwU.js} +1 -1
- package/dist/components/{downloadDmK-mUW4.js → downloadD_Bmec44.js} +19 -19
- package/dist/components/downloadGX-_YQez.js +1 -0
- package/dist/components/{flipDUjW55Vh.js → flipBkZOXGJN.js} +5 -5
- package/dist/components/{flipDA2I3h_e.js → flipCC_nhFBO.js} +1 -1
- package/dist/components/{fullscreenDUzPX17n.js → fullscreenC380_EU3.js} +1 -1
- package/dist/components/fullscreenDUzxAfXo.js +1 -0
- package/dist/components/{fullscreenQqpG_OS1.js → fullscreenDjH9QoF2.js} +15 -16
- package/dist/components/{fullscreenDyMv4lzQ.js → fullscreenEVnYx--1.js} +1 -1
- package/dist/components/indexD_phlegk.js +30 -0
- package/dist/components/indexDdIv5EKS.js +11179 -0
- package/dist/components/{infoBJj_CFzD.js → infoBFIavOPB.js} +3 -3
- package/dist/components/{infoB_-hN7Fr.js → infoCp5QUeZm.js} +1 -1
- package/dist/components/levelC1Ud4D0B.js +35 -0
- package/dist/components/levelZfTb2sPf.js +1 -0
- package/dist/components/microscopeBeixYxYI.js +1 -0
- package/dist/components/{microscopeQHJ_dU_L.js → microscopeCmqOpPc4.js} +13 -13
- package/dist/components/{microscopeBsAciWA9.js → microscopeDZWMA8RW.js} +1 -1
- package/dist/components/{microscopeCJwTonZV.js → microscopeXeEtWd1W.js} +1 -1
- package/dist/components/moveB1DiH4PI.js +74 -0
- package/dist/components/{moveDxSu5JyS.js → moveBea2jbYH.js} +1 -1
- package/dist/components/moveBzePKtM6.js +1 -0
- package/dist/components/{moveUEjGdGB8.js → moveDwsVnmQi.js} +1 -1
- package/dist/components/{nextUojG6t-0.js → nextC52pb5sE.js} +1 -1
- package/dist/components/{nextXkdsQP9z.js → nextDYmCUlzZ.js} +3 -3
- package/dist/components/{prevhOkmcBJ2.js → prevT7x-zgKu.js} +1 -1
- package/dist/components/{prevBjMmvSpY.js → prevv0XqJ_iF.js} +3 -3
- package/dist/components/{processCaqwpK4F.js → process0WK-TxPd.js} +24 -24
- package/dist/components/{processRSLucFP3.js → processBiTw6vPV.js} +1 -1
- package/dist/components/processCmTYHlH3.js +1 -0
- package/dist/components/{processCigaxNDK.js → processDW13CjX-.js} +1 -1
- package/dist/components/rotateBViLTXxd.js +1 -0
- package/dist/components/{rotateBgPHUO92.js → rotateCbkJvPFi.js} +1 -1
- package/dist/components/{rotateCIEP8gXK.js → rotateDlk_Qk4Y.js} +1 -1
- package/dist/components/rotateLcm0V_kN.js +130 -0
- package/dist/components/setting3RU3dG2s.js +1 -0
- package/dist/components/settingCZkmIJSr.js +147 -0
- package/dist/components/{settingDEgu1o7Z.js → settingDVPXWTEf.js} +1 -1
- package/dist/components/{settingBwRgwtCV.js → settingDyHmqPh3.js} +1 -1
- package/dist/components/{tailor0e5PmiKv.js → tailorBgKlGdZj.js} +1 -1
- package/dist/components/{tailorA3InL_3L.js → tailorDHg9ZsXw.js} +1 -1
- package/dist/components/useCommonB2St3W5r.js +1 -0
- package/dist/components/useCommonCwKio4Jh.js +22 -0
- package/dist/components/{zoomD7pWi-kc.js → zoomBKsf5GkB.js} +1 -1
- package/dist/components/{zoomCOaNFEUh.js → zoomCnS6EmhN.js} +2 -2
- package/dist/components/zoomIn73PRBFpz.js +1 -0
- package/dist/components/zoomInDWX2Osc6.js +30 -0
- package/dist/components/zoomOutD8Mlbb8q.js +1 -0
- package/dist/components/zoomOutgHFV2sxE.js +32 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.es.js +3 -3
- package/package.json +9 -7
- package/types/components/KfbIcon.vue.d.ts +12 -0
- package/types/components/KfbImage.vue.d.ts +47 -0
- package/types/components/KfbSlideList.vue.d.ts +24 -0
- package/types/components/KfbToolConfig.vue.d.ts +13 -0
- package/types/components/KfbToolbox.vue.d.ts +26 -0
- package/types/components/KfbView/KfbChannel.vue.d.ts +16 -0
- package/types/components/KfbView/KfbKeyword.vue.d.ts +2 -0
- package/types/components/KfbView/KfbLabel.vue.d.ts +13 -0
- package/types/components/KfbView/KfbLevel.vue.d.ts +14 -0
- package/types/components/KfbView/KfbMenu.vue.d.ts +10 -0
- package/types/components/KfbView/KfbMicroscope.vue.d.ts +14 -0
- package/types/components/KfbView/index.d.ts +237 -0
- package/types/components/KfbView/index.vue.d.ts +271 -0
- package/types/components/KfbView/useDot.d.ts +3 -0
- package/types/components/KfbView/useHotmap.d.ts +38 -0
- package/types/components/KfbView/useImageProcess.d.ts +15 -0
- package/types/components/KfbView/useLabel.d.ts +85 -0
- package/types/components/KfbView/useMove.d.ts +9 -0
- package/types/components/KfbView/usePointer.d.ts +12 -0
- package/types/components/KfbView/useSync.d.ts +5 -0
- package/types/components/KfbView/useTailor.d.ts +7 -0
- package/types/components/ai/list.vue.d.ts +13 -0
- package/types/components/ai/useAi.d.ts +87 -0
- package/types/components/icon/annotate.vue.d.ts +2 -0
- package/types/components/icon/arrow.vue.d.ts +2 -0
- package/types/components/icon/arrowDown.vue.d.ts +2 -0
- package/types/components/icon/arrowLeft.vue.d.ts +2 -0
- package/types/components/icon/arrowRight.vue.d.ts +2 -0
- package/types/components/icon/arrowUp.vue.d.ts +2 -0
- package/types/components/icon/channel.vue.d.ts +2 -0
- package/types/components/icon/check.vue.d.ts +2 -0
- package/types/components/icon/config.vue.d.ts +2 -0
- package/types/components/icon/delete.vue.d.ts +2 -0
- package/types/components/icon/dot.vue.d.ts +2 -0
- package/types/components/icon/download.vue.d.ts +2 -0
- package/types/components/icon/flip.vue.d.ts +2 -0
- package/types/components/icon/fullscreen.vue.d.ts +2 -0
- package/types/components/icon/index.d.ts +5 -0
- package/types/components/icon/info.vue.d.ts +2 -0
- package/types/components/icon/level.vue.d.ts +2 -0
- package/types/components/icon/list.vue.d.ts +2 -0
- package/types/components/icon/menu.vue.d.ts +2 -0
- package/types/components/icon/microscope.vue.d.ts +2 -0
- package/types/components/icon/move.vue.d.ts +2 -0
- package/types/components/icon/next.vue.d.ts +2 -0
- package/types/components/icon/prev.vue.d.ts +2 -0
- package/types/components/icon/process.vue.d.ts +2 -0
- package/types/components/icon/rotate.vue.d.ts +2 -0
- package/types/components/icon/setting.vue.d.ts +2 -0
- package/types/components/icon/tailor.vue.d.ts +2 -0
- package/types/components/icon/zoomIn.vue.d.ts +2 -0
- package/types/components/toolbox/annotate.vue.d.ts +10 -0
- package/types/components/toolbox/custom.vue.d.ts +20 -0
- package/types/components/toolbox/dot.vue.d.ts +10 -0
- package/types/components/toolbox/download.vue.d.ts +10 -0
- package/types/components/toolbox/fullscreen.vue.d.ts +10 -0
- package/types/components/toolbox/instances.d.ts +17 -0
- package/types/components/toolbox/microscope.vue.d.ts +15 -0
- package/types/components/toolbox/move.vue.d.ts +10 -0
- package/types/components/toolbox/process.vue.d.ts +12 -0
- package/types/components/toolbox/rotate.vue.d.ts +6 -0
- package/types/components/toolbox/setting.vue.d.ts +10 -0
- package/types/components/toolbox/useCommon.d.ts +9 -0
- package/types/components/toolbox/zoom.vue.d.ts +6 -0
- package/types/index.d.ts +911 -0
- package/types/index.vue.d.ts +53 -0
- package/types/instances.d.ts +70 -0
- package/types/plugins/i18n.d.ts +6 -0
- package/dist/components/annotateCX9GkmOg.js +0 -1
- package/dist/components/configB7FH_Li-.js +0 -1
- package/dist/components/configCPI2rG9d.js +0 -40
- package/dist/components/custom-mCr5M_c.js +0 -1
- package/dist/components/customc4LeZve5.js +0 -40
- package/dist/components/dotB1Nn2uO0.js +0 -1
- package/dist/components/download_UT5bsTk.js +0 -1
- package/dist/components/flipCbiBH_o3.js +0 -1
- package/dist/components/flipDUZT4wIY.js +0 -40
- package/dist/components/fullscreenD6c_uo6X.js +0 -1
- package/dist/components/indexDvexHnyj.js +0 -10651
- package/dist/components/indexNnjbVZ_m.js +0 -30
- package/dist/components/infoBNm69fP0.js +0 -41
- package/dist/components/infoDvOItrdO.js +0 -1
- package/dist/components/microscopeDQl6TocT.js +0 -1
- package/dist/components/moveBzYl-c4_.js +0 -1
- package/dist/components/moveCe8MSGn0.js +0 -74
- package/dist/components/nextCGxHdIok.js +0 -1
- package/dist/components/nextDeuoTRY7.js +0 -40
- package/dist/components/prevBrrsxCoK.js +0 -40
- package/dist/components/prevDCKFCMZw.js +0 -1
- package/dist/components/processCUjiU4DT.js +0 -1
- package/dist/components/rotateCt5rJEBm.js +0 -1
- package/dist/components/rotateWiDuyX22.js +0 -130
- package/dist/components/setting8L58q_d4.js +0 -134
- package/dist/components/settingCgwUdss3.js +0 -1
- package/dist/components/tailorBB_gVLzK.js +0 -40
- package/dist/components/tailorCeILe_eG.js +0 -1
- package/dist/components/useCommonDK4IjSxd.js +0 -17
- package/dist/components/useCommon_CFgwTZy.js +0 -1
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { defineComponent as w, mergeDefaults as y, inject as C, ref as b, watch as h, createBlock as V, openBlock as $, unref as i, withCtx as c, createVNode as r, createElementVNode as o, normalizeStyle as P, normalizeClass as E, toDisplayString as I } from "vue";
|
|
2
|
+
import { a as M, b as F, _ as N } from "./indexDdIv5EKS.js";
|
|
3
|
+
import { u as B, d as D } from "./useCommonCwKio4Jh.js";
|
|
4
|
+
import { ElPopover as R, ElCard as S, ElInputNumber as j, ElIcon as A } from "element-plus";
|
|
5
|
+
import K from "./rotateCbkJvPFi.js";
|
|
6
|
+
import q from "./arrowDG9uJA9k.js";
|
|
7
|
+
const T = { class: "flex align-items-center" }, U = { class: "flex column align-items-center flex-1" }, X = { class: "flex justify-content-center align-items-center" }, Y = { class: "hzzt-kfb-toolbox-rotate__container" }, G = { class: "hzzt-kfb-toolbox-rotate__angle" }, H = { class: "hzzt-kfb-toolbox__icon" }, J = /* @__PURE__ */ w({
|
|
8
|
+
name: "ToolRotate",
|
|
9
|
+
__name: "rotate",
|
|
10
|
+
props: /* @__PURE__ */ y({
|
|
11
|
+
size: {},
|
|
12
|
+
text: {},
|
|
13
|
+
name: {},
|
|
14
|
+
component: {},
|
|
15
|
+
isPrevent: { type: Boolean },
|
|
16
|
+
callback: { type: Function }
|
|
17
|
+
}, D),
|
|
18
|
+
setup(L) {
|
|
19
|
+
var v;
|
|
20
|
+
const { t: g, textClass: z } = B(), n = C("kfbViewRef"), u = b(!1), s = b(((v = n == null ? void 0 : n.value) == null ? void 0 : v.degrees) ?? 0);
|
|
21
|
+
h(() => {
|
|
22
|
+
var e;
|
|
23
|
+
return (e = n == null ? void 0 : n.value) == null ? void 0 : e.degrees;
|
|
24
|
+
}, (e) => {
|
|
25
|
+
s.value = e;
|
|
26
|
+
});
|
|
27
|
+
function a(e) {
|
|
28
|
+
var t;
|
|
29
|
+
s.value = parseFloat(e.toFixed(2)), (t = n == null ? void 0 : n.value) != null && t.kfbView && n.value.kfbView.viewer.viewport.setRotation(s.value);
|
|
30
|
+
}
|
|
31
|
+
function p(e) {
|
|
32
|
+
const t = document.querySelector(".hzzt-kfb-toolbox-rotate__container");
|
|
33
|
+
if (!t) return;
|
|
34
|
+
const l = t.getBoundingClientRect(), d = { x: 32, y: 32 }, _ = {
|
|
35
|
+
x: e.clientX - l.left,
|
|
36
|
+
y: e.clientY - l.top
|
|
37
|
+
};
|
|
38
|
+
if (M(_, d, 32, 32)) {
|
|
39
|
+
const x = F(d, { x: d.x, y: 0 }, _);
|
|
40
|
+
if (isNaN(x / Math.PI * 180)) return;
|
|
41
|
+
let m = parseFloat((x / Math.PI * 180).toFixed(2));
|
|
42
|
+
m < 0 && (m += 360), u.value = !0, a(m);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
function k(e) {
|
|
46
|
+
u.value && p(e);
|
|
47
|
+
}
|
|
48
|
+
function f() {
|
|
49
|
+
u.value = !1;
|
|
50
|
+
}
|
|
51
|
+
return (e, t) => ($(), V(i(R), {
|
|
52
|
+
placement: "bottom",
|
|
53
|
+
width: "260px",
|
|
54
|
+
trigger: "click",
|
|
55
|
+
"popper-class": "el-popover-padding-0"
|
|
56
|
+
}, {
|
|
57
|
+
reference: c(() => [
|
|
58
|
+
o("div", H, [
|
|
59
|
+
r(i(A), { size: e.size }, {
|
|
60
|
+
default: c(() => [
|
|
61
|
+
r(K)
|
|
62
|
+
]),
|
|
63
|
+
_: 1
|
|
64
|
+
}, 8, ["size"]),
|
|
65
|
+
o("div", {
|
|
66
|
+
class: E(i(z))
|
|
67
|
+
}, I(i(g)(e.text || "旋转")), 3)
|
|
68
|
+
])
|
|
69
|
+
]),
|
|
70
|
+
default: c(() => [
|
|
71
|
+
r(i(S), {
|
|
72
|
+
shadow: "never",
|
|
73
|
+
"body-style": { padding: "12px 12px 12px 0" }
|
|
74
|
+
}, {
|
|
75
|
+
default: c(() => [
|
|
76
|
+
o("div", T, [
|
|
77
|
+
o("div", U, [
|
|
78
|
+
o("div", {
|
|
79
|
+
class: "hzzt-kfb-toolbox-rotate__btn margin-b-1",
|
|
80
|
+
onClick: t[0] || (t[0] = (l) => a(0))
|
|
81
|
+
}),
|
|
82
|
+
o("div", X, [
|
|
83
|
+
o("div", {
|
|
84
|
+
class: "hzzt-kfb-toolbox-rotate__btn margin-r-1",
|
|
85
|
+
onClick: t[1] || (t[1] = (l) => a(270))
|
|
86
|
+
}),
|
|
87
|
+
o("div", Y, [
|
|
88
|
+
o("div", {
|
|
89
|
+
class: "hzzt-kfb-toolbox-rotate__img",
|
|
90
|
+
style: P({ transform: `rotate(${s.value}deg)` }),
|
|
91
|
+
onMousedown: p,
|
|
92
|
+
onMousemove: k,
|
|
93
|
+
onMouseup: f,
|
|
94
|
+
onMouseleave: f
|
|
95
|
+
}, [
|
|
96
|
+
r(q)
|
|
97
|
+
], 36)
|
|
98
|
+
]),
|
|
99
|
+
o("div", {
|
|
100
|
+
class: "hzzt-kfb-toolbox-rotate__btn margin-l-1",
|
|
101
|
+
onClick: t[2] || (t[2] = (l) => a(90))
|
|
102
|
+
})
|
|
103
|
+
]),
|
|
104
|
+
o("div", {
|
|
105
|
+
class: "hzzt-kfb-toolbox-rotate__btn margin-t-1",
|
|
106
|
+
onClick: t[3] || (t[3] = (l) => a(180))
|
|
107
|
+
})
|
|
108
|
+
]),
|
|
109
|
+
o("div", G, [
|
|
110
|
+
r(i(j), {
|
|
111
|
+
modelValue: s.value,
|
|
112
|
+
"onUpdate:modelValue": t[4] || (t[4] = (l) => s.value = l),
|
|
113
|
+
min: 0,
|
|
114
|
+
max: 360,
|
|
115
|
+
step: 5,
|
|
116
|
+
onChange: t[5] || (t[5] = (l) => a(s.value))
|
|
117
|
+
}, null, 8, ["modelValue"])
|
|
118
|
+
])
|
|
119
|
+
])
|
|
120
|
+
]),
|
|
121
|
+
_: 1
|
|
122
|
+
})
|
|
123
|
+
]),
|
|
124
|
+
_: 1
|
|
125
|
+
}));
|
|
126
|
+
}
|
|
127
|
+
}), ot = /* @__PURE__ */ N(J, [["__scopeId", "data-v-9856a364"]]);
|
|
128
|
+
export {
|
|
129
|
+
ot as default
|
|
130
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),d=require("./useCommonB2St3W5r.js"),r=require("element-plus"),m=require("./settingDVPXWTEf.js"),v=require("./indexD_phlegk.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}},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;
|
|
@@ -0,0 +1,147 @@
|
|
|
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 "./useCommonCwKio4Jh.js";
|
|
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 "./settingDyHmqPh3.js";
|
|
5
|
+
import { _ as B } from "./indexDdIv5EKS.js";
|
|
6
|
+
const I = { class: "hzzt-kfb-toolbox__icon" }, P = /* @__PURE__ */ x({
|
|
7
|
+
name: "ToolSetting",
|
|
8
|
+
__name: "setting",
|
|
9
|
+
props: /* @__PURE__ */ f({
|
|
10
|
+
size: {},
|
|
11
|
+
text: {},
|
|
12
|
+
name: {},
|
|
13
|
+
component: {},
|
|
14
|
+
isPrevent: { type: Boolean },
|
|
15
|
+
callback: { type: Function }
|
|
16
|
+
}, w),
|
|
17
|
+
emits: ["tool"],
|
|
18
|
+
setup(D, { emit: p }) {
|
|
19
|
+
const v = p, { t: a, textClass: g } = E(), o = b({
|
|
20
|
+
all: !0,
|
|
21
|
+
grid: !1,
|
|
22
|
+
ruler: !1,
|
|
23
|
+
navigator: !0,
|
|
24
|
+
graduation: !0
|
|
25
|
+
});
|
|
26
|
+
function u(n, t) {
|
|
27
|
+
n === "grid" || n === "graduation" ? v("tool", n, {
|
|
28
|
+
show: t
|
|
29
|
+
}) : n === "ruler" ? v("tool", n, {
|
|
30
|
+
ruler: t
|
|
31
|
+
}) : n === "tool" && (o.value.grid = !!t, o.value.ruler = !!t, o.value.navigator = !!t, o.value.graduation = !!t), v("tool", n, t);
|
|
32
|
+
}
|
|
33
|
+
return (n, t) => (c(), V(e(k), {
|
|
34
|
+
placement: "bottom",
|
|
35
|
+
width: "230px",
|
|
36
|
+
trigger: "click",
|
|
37
|
+
"popper-class": "el-popover-padding-0"
|
|
38
|
+
}, {
|
|
39
|
+
reference: r(() => [
|
|
40
|
+
m("div", I, [
|
|
41
|
+
i(e(S), { size: n.size }, {
|
|
42
|
+
default: r(() => [
|
|
43
|
+
i(_)
|
|
44
|
+
]),
|
|
45
|
+
_: 1
|
|
46
|
+
}, 8, ["size"]),
|
|
47
|
+
m("div", {
|
|
48
|
+
class: C(e(g))
|
|
49
|
+
}, z(e(a)(n.text || "工具")), 3)
|
|
50
|
+
])
|
|
51
|
+
]),
|
|
52
|
+
default: r(() => [
|
|
53
|
+
i(e(U), {
|
|
54
|
+
shadow: "never",
|
|
55
|
+
header: e(a)("工具"),
|
|
56
|
+
"body-style": { padding: 0 }
|
|
57
|
+
}, {
|
|
58
|
+
default: r(() => [
|
|
59
|
+
i(e(F), {
|
|
60
|
+
"label-width": "85px",
|
|
61
|
+
"label-position": "right"
|
|
62
|
+
}, {
|
|
63
|
+
default: r(() => [
|
|
64
|
+
i(e(d), {
|
|
65
|
+
label: e(a)("全部")
|
|
66
|
+
}, {
|
|
67
|
+
default: r(() => [
|
|
68
|
+
i(e(s), {
|
|
69
|
+
modelValue: o.value.all,
|
|
70
|
+
"onUpdate:modelValue": t[0] || (t[0] = (l) => o.value.all = l),
|
|
71
|
+
"active-text": e(a)("开"),
|
|
72
|
+
"inactive-text": e(a)("关"),
|
|
73
|
+
onChange: t[1] || (t[1] = (l) => u("tool", l))
|
|
74
|
+
}, null, 8, ["modelValue", "active-text", "inactive-text"])
|
|
75
|
+
]),
|
|
76
|
+
_: 1
|
|
77
|
+
}, 8, ["label"]),
|
|
78
|
+
i(e(d), {
|
|
79
|
+
label: e(a)("自动网格")
|
|
80
|
+
}, {
|
|
81
|
+
default: r(() => [
|
|
82
|
+
i(e(s), {
|
|
83
|
+
modelValue: o.value.grid,
|
|
84
|
+
"onUpdate:modelValue": t[2] || (t[2] = (l) => o.value.grid = l),
|
|
85
|
+
"active-text": e(a)("开"),
|
|
86
|
+
"inactive-text": e(a)("关"),
|
|
87
|
+
onChange: t[3] || (t[3] = (l) => u("grid", l))
|
|
88
|
+
}, null, 8, ["modelValue", "active-text", "inactive-text"])
|
|
89
|
+
]),
|
|
90
|
+
_: 1
|
|
91
|
+
}, 8, ["label"]),
|
|
92
|
+
i(e(d), {
|
|
93
|
+
label: e(a)("自动标尺")
|
|
94
|
+
}, {
|
|
95
|
+
default: r(() => [
|
|
96
|
+
i(e(s), {
|
|
97
|
+
modelValue: o.value.ruler,
|
|
98
|
+
"onUpdate:modelValue": t[4] || (t[4] = (l) => o.value.ruler = l),
|
|
99
|
+
"active-text": e(a)("开"),
|
|
100
|
+
"inactive-text": e(a)("关"),
|
|
101
|
+
onChange: t[5] || (t[5] = (l) => u("ruler", l))
|
|
102
|
+
}, null, 8, ["modelValue", "active-text", "inactive-text"])
|
|
103
|
+
]),
|
|
104
|
+
_: 1
|
|
105
|
+
}, 8, ["label"]),
|
|
106
|
+
i(e(d), {
|
|
107
|
+
label: e(a)("导航图")
|
|
108
|
+
}, {
|
|
109
|
+
default: r(() => [
|
|
110
|
+
i(e(s), {
|
|
111
|
+
modelValue: o.value.navigator,
|
|
112
|
+
"onUpdate:modelValue": t[6] || (t[6] = (l) => o.value.navigator = l),
|
|
113
|
+
"active-text": e(a)("开"),
|
|
114
|
+
"inactive-text": e(a)("关"),
|
|
115
|
+
onChange: t[7] || (t[7] = (l) => u("navigator", l))
|
|
116
|
+
}, null, 8, ["modelValue", "active-text", "inactive-text"])
|
|
117
|
+
]),
|
|
118
|
+
_: 1
|
|
119
|
+
}, 8, ["label"]),
|
|
120
|
+
i(e(d), {
|
|
121
|
+
label: e(a)("比例尺")
|
|
122
|
+
}, {
|
|
123
|
+
default: r(() => [
|
|
124
|
+
i(e(s), {
|
|
125
|
+
modelValue: o.value.graduation,
|
|
126
|
+
"onUpdate:modelValue": t[8] || (t[8] = (l) => o.value.graduation = l),
|
|
127
|
+
"active-text": e(a)("开"),
|
|
128
|
+
"inactive-text": e(a)("关"),
|
|
129
|
+
onChange: t[9] || (t[9] = (l) => u("graduation", l))
|
|
130
|
+
}, null, 8, ["modelValue", "active-text", "inactive-text"])
|
|
131
|
+
]),
|
|
132
|
+
_: 1
|
|
133
|
+
}, 8, ["label"])
|
|
134
|
+
]),
|
|
135
|
+
_: 1
|
|
136
|
+
})
|
|
137
|
+
]),
|
|
138
|
+
_: 1
|
|
139
|
+
}, 8, ["header"])
|
|
140
|
+
]),
|
|
141
|
+
_: 1
|
|
142
|
+
}));
|
|
143
|
+
}
|
|
144
|
+
}), G = /* @__PURE__ */ B(P, [["__scopeId", "data-v-3599775b"]]);
|
|
145
|
+
export {
|
|
146
|
+
G as default
|
|
147
|
+
};
|
|
@@ -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("./indexD_phlegk.js"),n={},o={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};function r(d,e){return C.openBlock(),C.createElementBlock("svg",o,e[0]||(e[0]=[C.createElementVNode("g",{id:"24*24/设置"},[C.createElementVNode("path",{id:"Subtract","fill-rule":"evenodd","clip-rule":"evenodd",d:"M21.8811 9.11141L21.9182 9.16079C21.9799 9.25956 22.017 9.38301 21.9923 9.50646V14.494C21.9923 14.6175 21.9676 14.7409 21.9058 14.8397L21.8688 14.8891C21.7453 15.0989 21.523 15.2347 21.2761 15.2347C21.202 15.2347 21.1155 15.2224 21.0414 15.1977C20.9179 15.1607 20.7945 15.136 20.6586 15.136C20.0782 15.136 19.4855 15.531 19.1398 16.1236C18.7076 16.8643 18.7816 17.7902 19.3003 18.2223C19.5596 18.4445 19.6337 18.8025 19.4608 19.0988L19.4114 19.1729C19.362 19.2717 19.2632 19.3581 19.1645 19.4198L14.8425 21.9136C14.7313 21.963 14.6202 22 14.4967 22H14.3609C14.0398 22 13.7681 21.7778 13.6941 21.4568C13.5582 20.8148 12.8297 20.3457 12.0023 20.3457C11.175 20.3457 10.4464 20.8272 10.3106 21.4568C10.2488 21.7778 9.9648 22 9.64374 22H9.5079C9.38442 22 9.26093 21.9753 9.16214 21.9136L4.82781 19.4322C4.72902 19.3828 4.64258 19.284 4.58084 19.1852L4.5191 19.0865C4.35857 18.8025 4.42031 18.4445 4.66728 18.2223C5.16122 17.8026 5.22297 16.926 4.80312 16.1977C4.46971 15.6051 3.88932 15.2224 3.33364 15.2224C3.21016 15.2224 3.08667 15.2471 2.97553 15.2841C2.90144 15.3088 2.82735 15.3211 2.75326 15.3211C2.50629 15.3211 2.28402 15.1853 2.16053 14.9755L2.08644 14.852C2.03705 14.7409 2 14.6298 2 14.5063V9.50646C2 9.38301 2.0247 9.25956 2.08644 9.16079L2.11114 9.08672C2.23462 8.87685 2.4569 8.74105 2.70387 8.74105C2.79031 8.74105 2.87675 8.76574 2.95084 8.79043C3.08667 8.83981 3.2225 8.8645 3.35834 8.8645C3.95107 8.8645 4.5438 8.4818 4.87721 7.88922C5.3094 7.13615 5.22297 6.23493 4.69198 5.7905C4.43266 5.56828 4.35857 5.21027 4.53145 4.91398L4.58084 4.82756C4.63024 4.7288 4.72902 4.64238 4.82781 4.58065L9.17449 2.08688C9.28563 2.0375 9.39677 2.00047 9.52025 2.00047H9.65609C9.97715 1.98812 10.2488 2.22268 10.3229 2.53132C10.4587 3.14859 11.1873 3.60537 12.0147 3.60537C12.842 3.60537 13.5706 3.13624 13.7064 2.53132C13.7681 2.22268 14.0522 2.00047 14.3732 2.00047H14.5091C14.6325 2.00047 14.756 2.02516 14.8548 2.08688L19.1768 4.58065C19.2756 4.64238 19.362 4.7288 19.4238 4.82756L19.4608 4.88929C19.6337 5.18558 19.572 5.55594 19.3126 5.76581C18.7569 6.22259 18.6829 7.14849 19.1151 7.90156C19.4485 8.49414 20.0535 8.87685 20.6339 8.87685C20.7821 8.87685 20.9179 8.85216 21.0538 8.80278C21.1279 8.77809 21.202 8.76574 21.2884 8.76574C21.5354 8.76574 21.7576 8.90154 21.8811 9.11141ZM7 12C7 14.76 9.24 17 12 17C14.76 17 17 14.76 17 12C17 9.24 14.76 7 12 7C9.24 7 7 9.24 7 12Z"})],-1)]))}const c=t._export_sfc(n,[["render",r]]);exports.default=c;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),V=require("./
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),V=require("./indexD_phlegk.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("./indexD_phlegk.js"),u={size:24,isPrevent:!1};function c(){const t=e.inject("show-text",{value:!0}),{t:o}=n.useLocalI18n(),s=e.computed(()=>t.value?"hzzt-kfb-toolbox__text":"hzzt-kfb-toolbox__tooltip");return{showText:t,t:o,textClass:s}}exports.defaultProps=u;exports.useCommon=c;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { inject as s, computed as n } from "vue";
|
|
2
|
+
import { u } from "./indexDdIv5EKS.js";
|
|
3
|
+
const l = {
|
|
4
|
+
size: 24,
|
|
5
|
+
isPrevent: !1
|
|
6
|
+
};
|
|
7
|
+
function c() {
|
|
8
|
+
const t = s("show-text", {
|
|
9
|
+
value: !0
|
|
10
|
+
}), { t: o } = u(), e = n(
|
|
11
|
+
() => t.value ? "hzzt-kfb-toolbox__text" : "hzzt-kfb-toolbox__tooltip"
|
|
12
|
+
);
|
|
13
|
+
return {
|
|
14
|
+
showText: t,
|
|
15
|
+
t: o,
|
|
16
|
+
textClass: e
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export {
|
|
20
|
+
l as d,
|
|
21
|
+
c as u
|
|
22
|
+
};
|
|
@@ -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("./indexD_phlegk.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 s;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(`${((s=t==null?void 0:t.value)==null?void 0:s.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 c(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=>c(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=>c(Number(n.value.replace("x",""))),["enter"]))},null,8,["modelValue"])])]))}}),g=_._export_sfc(x,[["__scopeId","data-v-6bcef5d5"]]);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 k, renderList as f, 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 "./indexDdIv5EKS.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",
|
|
@@ -57,7 +57,7 @@ const w = { class: "hzzt-kfb-toolbox-zoom" }, $ = ["data-index", "onClick"], C =
|
|
|
57
57
|
])
|
|
58
58
|
]));
|
|
59
59
|
}
|
|
60
|
-
}), D = /* @__PURE__ */ V(B, [["__scopeId", "data-v-
|
|
60
|
+
}), D = /* @__PURE__ */ V(B, [["__scopeId", "data-v-6bcef5d5"]]);
|
|
61
61
|
export {
|
|
62
62
|
D as default
|
|
63
63
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./indexD_phlegk.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;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as n, createElementVNode as e } from "vue";
|
|
2
|
+
import { _ as l } from "./indexDdIv5EKS.js";
|
|
3
|
+
const s = {}, r = {
|
|
4
|
+
t: "1748500532947",
|
|
5
|
+
class: "icon",
|
|
6
|
+
viewBox: "0 0 1024 1024",
|
|
7
|
+
version: "1.1",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
"p-id": "10927",
|
|
10
|
+
width: "32",
|
|
11
|
+
height: "32"
|
|
12
|
+
};
|
|
13
|
+
function i(c, t) {
|
|
14
|
+
return n(), o("svg", r, t[0] || (t[0] = [
|
|
15
|
+
e("path", {
|
|
16
|
+
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",
|
|
17
|
+
"p-id": "10928",
|
|
18
|
+
fill: "#333333"
|
|
19
|
+
}, null, -1),
|
|
20
|
+
e("path", {
|
|
21
|
+
d: "M625.792 448H336a32 32 0 0 0 0 64h289.792a32 32 0 1 0 0-64z",
|
|
22
|
+
"p-id": "10929",
|
|
23
|
+
fill: "#333333"
|
|
24
|
+
}, null, -1)
|
|
25
|
+
]));
|
|
26
|
+
}
|
|
27
|
+
const p = /* @__PURE__ */ l(s, [["render", i]]);
|
|
28
|
+
export {
|
|
29
|
+
p as default
|
|
30
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./indexD_phlegk.js"),c={},o={t:"1748500019773",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9740",width:"32",height:"32"};function s(i,t){return e.openBlock(),e.createElementBlock("svg",o,t[0]||(t[0]=[e.createElementVNode("path",{d:"M919.264 905.984l-138.912-138.912C851.808 692.32 896 591.328 896 480c0-229.376-186.624-416-416-416S64 250.624 64 480s186.624 416 416 416c95.008 0 182.432-32.384 252.544-86.208l141.44 141.44a31.904 31.904 0 0 0 45.248 0 32 32 0 0 0 0.032-45.248zM128 480C128 285.92 285.92 128 480 128s352 157.92 352 352-157.92 352-352 352S128 674.08 128 480z","p-id":"9741",fill:"#333333","data-spm-anchor-id":"a313x.search_index.0.i5.3c223a8142DgM6",class:"selected"},null,-1),e.createElementVNode("path",{d:"M625.792 448H512v-112a32 32 0 0 0-64 0V448h-112a32 32 0 0 0 0 64H448v112a32 32 0 1 0 64 0V512h113.792a32 32 0 1 0 0-64z","p-id":"9742",fill:"#333333"},null,-1)]))}const l=n._export_sfc(c,[["render",s]]);exports.default=l;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { createElementBlock as o, openBlock as s, createElementVNode as t } from "vue";
|
|
2
|
+
import { _ as a } from "./indexDdIv5EKS.js";
|
|
3
|
+
const c = {}, l = {
|
|
4
|
+
t: "1748500019773",
|
|
5
|
+
class: "icon",
|
|
6
|
+
viewBox: "0 0 1024 1024",
|
|
7
|
+
version: "1.1",
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
"p-id": "9740",
|
|
10
|
+
width: "32",
|
|
11
|
+
height: "32"
|
|
12
|
+
};
|
|
13
|
+
function n(i, e) {
|
|
14
|
+
return s(), o("svg", l, e[0] || (e[0] = [
|
|
15
|
+
t("path", {
|
|
16
|
+
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",
|
|
17
|
+
"p-id": "9741",
|
|
18
|
+
fill: "#333333",
|
|
19
|
+
"data-spm-anchor-id": "a313x.search_index.0.i5.3c223a8142DgM6",
|
|
20
|
+
class: "selected"
|
|
21
|
+
}, null, -1),
|
|
22
|
+
t("path", {
|
|
23
|
+
d: "M625.792 448H512v-112a32 32 0 0 0-64 0V448h-112a32 32 0 0 0 0 64H448v112a32 32 0 1 0 64 0V512h113.792a32 32 0 1 0 0-64z",
|
|
24
|
+
"p-id": "9742",
|
|
25
|
+
fill: "#333333"
|
|
26
|
+
}, null, -1)
|
|
27
|
+
]));
|
|
28
|
+
}
|
|
29
|
+
const p = /* @__PURE__ */ a(c, [["render", n]]);
|
|
30
|
+
export {
|
|
31
|
+
p as default
|
|
32
|
+
};
|
package/dist/index.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./components/
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./components/indexD_phlegk.js");exports.HzztKfbSlide=e._sfc_main;exports.HzztKfbToolbox=e._sfc_main$2;exports.HzztKfbView=e._sfc_main$1;exports.default=e.index;
|
package/dist/index.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.hzzt-kfb-tool-config{--hzzt-kfb-tool-config-title-font-size: 20px;--hzzt-kfb-tool-config-title-color: #000000;--hzzt-kfb-tool-config-font-size: 14px;--hzzt-kfb-tool-config-color: #000000;--hzzt-kfb-tool-config-icon-color: #ffffff;--hzzt-kfb-tool-config-icon-background-color: #000000;--hzzt-kfb-tool-config-block-background-color: #ffffff;font-size:var(--hzzt-kfb-tool-config-font-size);color:var(--hzzt-kfb-tool-config-color)}.hzzt-kfb-tool-config__title{font-size:var(--hzzt-kfb-tool-config-title-font-size);color:var(--hzzt-kfb-tool-config-title-color)}.hzzt-kfb-tool-config__icon{width:48px;height:48px;border-radius:100%;color:var(--hzzt-kfb-tool-config-icon-color);background-color:var(--hzzt-kfb-tool-config-icon-background-color)}.hzzt-kfb-tool-config__block{width:240px;padding:8px;margin-bottom:8px;background-color:var(--hzzt-kfb-tool-config-block-background-color);border:var(--el-border)}.hzzt-kfb-toolbox{--hzzt-kfb-toolbox-padding: 8px 0;--hzzt-kfb-toolbox-font-size: 12px;--hzzt-kfb-toolbox-background-color: #fff;--hzzt-kfb-toolbox-icon-width: 40px;--hzzt-kfb-toolbox-icon-color: #000000;--hzzt-kfb-toolbox-icon-hover-color: #FFFFFF;--hzzt-kfb-toolbox-icon-hover-background-color: #424D68;--hzzt-kfb-toolbox-tooltip-color: #FFFFFF;--hzzt-kfb-toolbox-tooltip-background-color: #0655C3;--hzzt-kfb-toolbox-text-color: #000000;--hzzt-kfb-toolbox-text-hover-color: #FFFFFF;display:flex;align-items:center;justify-content:space-between;background-color:var(--hzzt-kfb-toolbox-background-color);padding:var(--hzzt-kfb-toolbox-padding);font-size:var(--hzzt-kfb-toolbox-font-size);position:relative;border-bottom:1px solid var(--hzzt-border-color, #DCDCDC);width:100%}.hzzt-kfb-toolbox__component{display:flex;flex:1;align-items:center;justify-content:center}.hzzt-kfb-toolbox__icon{min-width:var(--hzzt-kfb-toolbox-icon-width);color:var(--hzzt-kfb-toolbox-icon-color);display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;position:relative;margin:0 4px}.hzzt-kfb-toolbox__icon:hover{color:var(--hzzt-kfb-toolbox-icon-hover-color);background:var(--hzzt-kfb-toolbox-icon-hover-background-color);border-radius:4px}.hzzt-kfb-toolbox__icon:hover .hzzt-kfb-toolbox__tooltip{display:flex}.hzzt-kfb-toolbox__icon:hover .hzzt-kfb-toolbox__text{color:var(--hzzt-kfb-toolbox-text-hover-color)}.hzzt-kfb-toolbox__tooltip{align-items:center;justify-content:center;background-color:var(--hzzt-kfb-toolbox-tooltip-background-color);position:absolute;color:var(--hzzt-kfb-toolbox-tooltip-color);padding:2px 4px;border-radius:4px;top:30px;display:none;white-space:nowrap;z-index:9999}.hzzt-kfb-toolbox__text{color:var(--hzzt-kfb-toolbox-text-color)}.hzzt-kfb-toolbox__line{--hzzt-kfb-toolbox-line-color: #A8ABB2;margin:0 8px;width:1px;height:20px;background:var(--hzzt-kfb-toolbox-line-color)}.hzzt-kfb-toolbox-rotate__angle .el-input-number{width:120PX}.hzzt-kfb-toolbox-rotate__btn{--hzzt-kfb-toolbox-rotate-btn-backgroud-color: #3B55BF;cursor:pointer;width:10px;height:10px;background:var(--hzzt-kfb-toolbox-rotate-btn-backgroud-color);z-index:2}.hzzt-kfb-toolbox-rotate__container{width:64px;height:64px}.hzzt-kfb-toolbox-rotate__img{cursor:pointer;-webkit-user-select:none;user-select:none;width:100%;height:100%}.hzzt-kfb-toolbox-zoom{display:flex;--hzzt-kfb-toolbox-zoom-backgroud-color: #F3F3F4}.hzzt-kfb-toolbox-zoom__button{font-size:16px;line-height:16px;margin-left:2px;height:32px;background:var(--hzzt-kfb-toolbox-zoom-backgroud-color);border-radius:4px;border:1px solid #DCDDE1}.hzzt-kfb-toolbox-zoom__input{width:60px;height:30px;--el-input-bg-color: getCssVarNoName($B, "backgroud-color");--el-input-text-color: #000;--el-input-border: none}.hzzt-kfb-toolbox-zoom__input .el-input__wrapper{box-shadow:none}.hzzt-kfb-toolbox-zoom__input .el-input__wrapper .el-input__inner{font-size:16px;font-weight:600}.el-popover-padding-0{--el-popover-padding: 0 }.hzzt-kfb-menu[data-v-b5a78a7b]{position:absolute;display:none;background:#fff;box-shadow:var(--el-box-shadow);border-radius:var(--el-border-radius-base);padding:8px 0;font-size:14px}.hzzt-kfb-menu .hzzt-kfb-menu-item[data-v-b5a78a7b]{min-width:200px;display:flex;align-items:center;justify-content:space-between;padding:6px 16px;position:relative;cursor:pointer;line-height:1}.hzzt-kfb-menu .hzzt-kfb-menu-item[data-v-b5a78a7b]:hover{background:var(--el-color-info-light-8)}.hzzt-kfb-menu .hzzt-kfb-menu-item:hover .hzzt-kfb-sub-menu[data-v-b5a78a7b]{display:block}.hzzt-kfb-menu .hzzt-kfb-menu-item .hzzt-kfb-sub-menu[data-v-b5a78a7b]{position:absolute;display:none;left:0;top:0;transform:translate(200px);box-shadow:var(--el-box-shadow);border-radius:var(--el-border-radius-base);padding:8px 0;background:#fff}.hzzt-kfb-menu .hzzt-kfb-menu-item .hzzt-kfb-sub-menu .hzzt-kfb-menu-item[data-v-b5a78a7b],.hzzt-kfb-menu[data-v-b5a78a7b] .el-cascader-menu{min-width:auto}.hzzt-kfb-menu[data-v-b5a78a7b] .el-cascader-menu .el-cascader-node__label{display:flex;align-items:center;padding:0 16px 0 8px}.hzzt-kfb-menu[data-v-b5a78a7b] .el-cascader-menu .el-cascader-menu__wrap.el-scrollbar__wrap{height:auto}.hzzt-kfb-microscope[data-v-ec08882c]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}.hzzt-kfb-microscope .hzzt-kfb-microscope__container[data-v-ec08882c]{border:2px dashed red;border-radius:50%;min-width:24px;min-height:24px}.hzzt-kfb-microscope .hzzt-kfb-microscope__top[data-v-ec08882c]{width:18px;height:18px;position:absolute;top:-20px;left:50%;cursor:pointer;transform:translate(-50%);pointer-events:auto}.hzzt-kfb-microscope .hzzt-kfb-microscope__bottom[data-v-ec08882c]{width:18px;height:18px;position:absolute;bottom:-20px;left:50%;cursor:pointer;transform:translate(-50%);pointer-events:auto}.hzzt-kfb-microscope .hzzt-kfb-microscope__left[data-v-ec08882c]{width:18px;height:18px;position:absolute;left:-20px;top:50%;cursor:pointer;transform:translateY(-50%);pointer-events:auto}.hzzt-kfb-microscope .hzzt-kfb-microscope__right[data-v-ec08882c]{width:18px;height:18px;position:absolute;right:-20px;top:50%;cursor:pointer;transform:translateY(-50%);pointer-events:auto}.hzzt-kfb-view{position:relative}.hzzt-kfb-view__main{width:100%;height:100%}.hzzt-kfb-view__filter{position:absolute}.hzzt-kfb-view__hotmap{position:absolute;left:0;top:0;height:100%;width:2px;color:red;background:red;z-index:9999}.hzzt-kfb-view__hotmap .icon-caret-left{position:absolute;top:50%;left:-22px;color:red;font-size:30px;transform:translateY(-50%);cursor:pointer;-webkit-user-select:none;user-select:none}.hzzt-kfb-view__hotmap .icon-caret-right{position:absolute;top:50%;left:-7px;color:red;font-size:30px;transform:translateY(-50%);cursor:pointer;-webkit-user-select:none;user-select:none}.hzzt-kfb-img-triangle-left:after{content:"";position:absolute;left:-10px;top:50%;transform:translate(-50%);width:0;height:0;border:10px solid transparent;border-right-color:#000c}.hzzt-kfb-slides[data-v-e993b21b]{background-color:#fff;box-sizing:border-box;display:flex;flex-direction:column;height:100%;overflow:auto;border-right:2px solid #DCDCDC}.hzzt-kfb-slides__row[data-v-e993b21b]{align-items:center;display:flex;flex:1;flex-direction:column;overflow:hidden;min-height:0;padding:0 8px;font-size:14px}.hzzt-kfb-slides__top[data-v-e993b21b]{align-items:center;display:flex;justify-content:space-between;overflow:hidden;width:100%;font-size:14px;margin:4px 0;color:#000}.hzzt-kfb-slides__top .text-primary[data-v-e993b21b]{color:var(--el-color-primary)}.hzzt-kfb-slides__box[data-v-e993b21b]{border:1px solid #DCDDE1;border-radius:5px;background-color:#f2f3ff;cursor:pointer;width:100%;padding:6px;margin-bottom:8px;position:relative;overflow:hidden}.hzzt-kfb-slides__box--active[data-v-e993b21b]{border:2px solid #366EF4}.hzzt-kfb-slides__gallery[data-v-e993b21b]{display:flex;position:relative;overflow:hidden;border-radius:4px}.hzzt-kfb-slides__img[data-v-e993b21b]{width:90px}.hzzt-kfb-slides__read[data-v-e993b21b]{position:absolute;top:6px;z-index:2;left:6px;width:32px;height:16px;background:var(--el-color-danger);color:#fff;border-radius:999px;text-align:center;line-height:16px;font-size:12px}.hzzt-kfb-slides__header[data-v-e993b21b]{display:flex;align-items:center;font-size:12px;height:30px}.hzzt-kfb-slides__text[data-v-e993b21b]{font-size:12px;width:100%}.hzzt-kfb-slides .w-10\%[data-v-e993b21b]{width:10%}.hzzt-kfb-slides .w-20\%[data-v-e993b21b]{width:20%}.hzzt-kfb-slides .w-30\%[data-v-e993b21b]{width:30%}.hzzt-kfb-slides .w-40\%[data-v-e993b21b]{width:40%}.hzzt-kfb-ai{--hzzt-kfb-ai-background-color: #fff;--hzzt-kfb-ai-font-size: 14px;--hzzt-kfb-ai-img-width: 100px;--hzzt-kfb-ai-height-width: 100px;background-color:var(--hzzt-kfb-ai-background-color);font-size:var(--hzzt-kfb-ai-font-size);box-sizing:border-box;display:flex;flex-direction:column;height:100%}.hzzt-kfb-ai__img{border:2px solid var(--el-border-color);border-radius:3px;cursor:pointer;margin-bottom:4px;margin-right:4px;width:calc(var(--hzzt-kfb-ai-img-width) + 4px)}.hzzt-kfb-ai__img--active{border-color:var(--el-color-primary)}.hzzt-kfb-ai__img img{display:block;height:var(--hzzt-kfb-ai-img-height);object-fit:contain;overflow:hidden;width:var(--hzzt-kfb-ai-img-width)}.label-sub-title{border-top:1px solid #eee;font-size:14px;font-weight:700}.hzzt-kfb-slide{width:100%;height:100%;display:flex;flex-direction:column}.hzzt-kfb-slide .hzzt-kfb-view{height:100%;width:100%;overflow:hidden}.hzzt-kfb-slide .hzzt-kfb-view-screen-active{box-shadow:0 4px 10px #00000080;border:2px solid var(--el-color-primary)!important}.el-card[data-v-471a2ecc],.el-card[data-v-a0497817],.el-card[data-v-e2d9f6c1]{border:none;--el-card-padding: 12px}.hzzt-kfb-toolbox-dot__box[data-v-e2d9f6c1]{width:24px;height:24px;border-radius:4px;margin:0 4px;cursor:pointer}.hzzt-kfb-toolbox-dot__box[data-v-e2d9f6c1]:hover{opacity:.8}.hzzt-kfb-toolbox-annotate-img[data-v-55085851]{cursor:pointer;padding:4px;width:40px;height:40px}.hzzt-kfb-toolbox-annotate-img[data-v-55085851]:hover{background:#84b5ff}.el-card[data-v-55085851],.el-card[data-v-8859e97b],.el-card[data-v-af2f9405]{border:none;--el-card-padding: 12px}.el-card[data-v-6778505d]{border:none}.hzzt-kfb-toolbox__icon[data-v-8e4cdfee]{font-size:16px;font-weight:600;margin:0;line-height:1}.el-card[data-v-5e120452]{border:none;--el-card-padding: 12px}
|
|
1
|
+
@charset "UTF-8";.hzzt-kfb-tool-config{--hzzt-kfb-tool-config-title-font-size: 20px;--hzzt-kfb-tool-config-title-color: #000000;--hzzt-kfb-tool-config-font-size: 14px;--hzzt-kfb-tool-config-color: #000000;--hzzt-kfb-tool-config-icon-color: #ffffff;--hzzt-kfb-tool-config-icon-background-color: #000000;--hzzt-kfb-tool-config-block-background-color: #ffffff;font-size:var(--hzzt-kfb-tool-config-font-size);color:var(--hzzt-kfb-tool-config-color)}.hzzt-kfb-tool-config__title{font-size:var(--hzzt-kfb-tool-config-title-font-size);color:var(--hzzt-kfb-tool-config-title-color)}.hzzt-kfb-tool-config__icon{width:48px;height:48px;border-radius:100%;color:var(--hzzt-kfb-tool-config-icon-color);background-color:var(--hzzt-kfb-tool-config-icon-background-color)}.hzzt-kfb-tool-config__block{width:240px;padding:8px;margin-bottom:8px;background-color:var(--hzzt-kfb-tool-config-block-background-color);border:var(--el-border)}.hzzt-kfb-toolbox{--hzzt-kfb-toolbox-padding: 8px 0;--hzzt-kfb-toolbox-font-size: 12px;--hzzt-kfb-toolbox-background-color: #fff;--hzzt-kfb-toolbox-icon-width: 40px;--hzzt-kfb-toolbox-icon-color: #000000;--hzzt-kfb-toolbox-icon-hover-color: #FFFFFF;--hzzt-kfb-toolbox-icon-hover-background-color: #424D68;--hzzt-kfb-toolbox-tooltip-color: #FFFFFF;--hzzt-kfb-toolbox-tooltip-background-color: #0655C3;--hzzt-kfb-toolbox-text-color: #000000;--hzzt-kfb-toolbox-text-hover-color: #FFFFFF;display:flex;align-items:center;justify-content:space-between;background-color:var(--hzzt-kfb-toolbox-background-color);padding:var(--hzzt-kfb-toolbox-padding);font-size:var(--hzzt-kfb-toolbox-font-size);position:relative;border-bottom:1px solid var(--hzzt-border-color, #DCDCDC);width:100%}.hzzt-kfb-toolbox__component{display:flex;flex:1;align-items:center;justify-content:center}.hzzt-kfb-toolbox__icon{min-width:var(--hzzt-kfb-toolbox-icon-width);color:var(--hzzt-kfb-toolbox-icon-color);display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;position:relative;margin:0 4px}.hzzt-kfb-toolbox__icon:hover{color:var(--hzzt-kfb-toolbox-icon-hover-color);background:var(--hzzt-kfb-toolbox-icon-hover-background-color);border-radius:4px}.hzzt-kfb-toolbox__icon:hover .hzzt-kfb-toolbox__tooltip{display:flex}.hzzt-kfb-toolbox__icon:hover .hzzt-kfb-toolbox__text{color:var(--hzzt-kfb-toolbox-text-hover-color)}.hzzt-kfb-toolbox__tooltip{align-items:center;justify-content:center;background-color:var(--hzzt-kfb-toolbox-tooltip-background-color);position:absolute;color:var(--hzzt-kfb-toolbox-tooltip-color);padding:2px 4px;border-radius:4px;top:30px;display:none;white-space:nowrap;z-index:9999}.hzzt-kfb-toolbox__text{color:var(--hzzt-kfb-toolbox-text-color)}.hzzt-kfb-toolbox__line{--hzzt-kfb-toolbox-line-color: #A8ABB2;margin:0 8px;width:1px;height:20px;background:var(--hzzt-kfb-toolbox-line-color)}.hzzt-kfb-toolbox-rotate__angle .el-input-number{width:120PX}.hzzt-kfb-toolbox-rotate__btn{--hzzt-kfb-toolbox-rotate-btn-backgroud-color: #3B55BF;cursor:pointer;width:10px;height:10px;background:var(--hzzt-kfb-toolbox-rotate-btn-backgroud-color);z-index:2}.hzzt-kfb-toolbox-rotate__container{width:64px;height:64px}.hzzt-kfb-toolbox-rotate__img{cursor:pointer;-webkit-user-select:none;user-select:none;width:100%;height:100%}.hzzt-kfb-toolbox-zoom{display:flex;--hzzt-kfb-toolbox-zoom-backgroud-color: #F3F3F4}.hzzt-kfb-toolbox-zoom__button{font-size:16px;line-height:16px;margin-left:2px;height:32px;background:var(--hzzt-kfb-toolbox-zoom-backgroud-color);border-radius:4px;border:1px solid #DCDDE1}.hzzt-kfb-toolbox-zoom__input{width:60px;height:30px;--el-input-bg-color: getCssVarNoName($B, "backgroud-color");--el-input-text-color: #000;--el-input-border: none}.hzzt-kfb-toolbox-zoom__input .el-input__wrapper{box-shadow:none}.hzzt-kfb-toolbox-zoom__input .el-input__wrapper .el-input__inner{font-size:16px;font-weight:600}.el-popover-padding-0{--el-popover-padding: 0 }.hzzt-kfb-menu[data-v-1add2dfa]{position:absolute;display:none;background:#fff;box-shadow:var(--el-box-shadow);border-radius:var(--el-border-radius-base);padding:8px 0;font-size:14px}.hzzt-kfb-menu .hzzt-kfb-menu-item[data-v-1add2dfa]{min-width:200px;display:flex;align-items:center;justify-content:space-between;padding:6px 16px;position:relative;cursor:pointer;line-height:1}.hzzt-kfb-menu .hzzt-kfb-menu-item[data-v-1add2dfa]:hover{background:var(--el-color-info-light-8)}.hzzt-kfb-menu .hzzt-kfb-menu-item:hover .hzzt-kfb-sub-menu[data-v-1add2dfa]{display:block}.hzzt-kfb-menu .hzzt-kfb-menu-item .hzzt-kfb-sub-menu[data-v-1add2dfa]{position:absolute;display:none;left:0;top:0;transform:translate(200px);box-shadow:var(--el-box-shadow);border-radius:var(--el-border-radius-base);padding:8px 0;background:#fff}.hzzt-kfb-menu .hzzt-kfb-menu-item .hzzt-kfb-sub-menu .hzzt-kfb-menu-item[data-v-1add2dfa],.hzzt-kfb-menu[data-v-1add2dfa] .el-cascader-menu{min-width:auto}.hzzt-kfb-menu[data-v-1add2dfa] .el-cascader-menu .el-cascader-node__label{display:flex;align-items:center;padding:0 16px 0 8px}.hzzt-kfb-menu[data-v-1add2dfa] .el-cascader-menu .el-cascader-menu__wrap.el-scrollbar__wrap{height:auto}.hzzt-kfb-microscope[data-v-e8b36101]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}.hzzt-kfb-microscope .hzzt-kfb-microscope__container[data-v-e8b36101]{border:2px dashed red;border-radius:50%;min-width:24px;min-height:24px}.hzzt-kfb-microscope .hzzt-kfb-microscope__top[data-v-e8b36101]{width:18px;height:18px;position:absolute;top:-20px;left:50%;cursor:pointer;transform:translate(-50%);pointer-events:auto}.hzzt-kfb-microscope .hzzt-kfb-microscope__bottom[data-v-e8b36101]{width:18px;height:18px;position:absolute;bottom:-20px;left:50%;cursor:pointer;transform:translate(-50%);pointer-events:auto}.hzzt-kfb-microscope .hzzt-kfb-microscope__left[data-v-e8b36101]{width:18px;height:18px;position:absolute;left:-20px;top:50%;cursor:pointer;transform:translateY(-50%);pointer-events:auto}.hzzt-kfb-microscope .hzzt-kfb-microscope__right[data-v-e8b36101]{width:18px;height:18px;position:absolute;right:-20px;top:50%;cursor:pointer;transform:translateY(-50%);pointer-events:auto}.hzzt-kfb-label[data-v-7397de48]{position:absolute;top:0;left:0;background:#fff;color:#000}.hzzt-kfb-label .hzzt-kfb-label__title[data-v-7397de48]{font-size:12px;color:#000;padding:0 4px}.hzzt-kfb-label .hzzt-kfb-label__img[data-v-7397de48]{cursor:pointer;background:#0000004d}.hzzt-kfb-label .hzzt-kfb-label__img img[data-v-7397de48]{height:120px;width:120px}.hzzt-kfb-label .hzzt-kfb-label__pathology[data-v-7397de48]{--set-patholgy-height: 20px;height:var(--set-patholgy-height);font-size:12px;width:100%;display:flex;align-items:center;cursor:pointer;padding:2px 4px;border:1px solid var(--el-border-color)}.hzzt-kfb-label .hzzt-kfb-label__expend[data-v-7397de48]{position:absolute;--expand-button-width: 10px;width:var(--expand-button-width);height:40px;top:50%;transform:translateY(-50%);right:calc(-1 * var(--expand-button-width));background:#0006;border-radius:0 6px 6px 0;cursor:pointer;color:#fff}.hzzt-kfb-keyword[data-v-c8d940f0]{position:absolute;bottom:5px;left:50%;width:156px;margin-left:-78px}.hzzt-kfb-keyword .hzzt-kfb-keyword__code[data-v-c8d940f0]{margin:2px;width:48px;height:48px;background-color:#c8c8c880;color:#333;cursor:pointer}.hzzt-kfb-keyword .hzzt-kfb-keyword__code[data-v-c8d940f0]:hover{background-color:#bebebecc}.hzzt-kfb-level{position:absolute;right:50px;bottom:300px;height:200px;width:30px;border-radius:4px;background:#00000040}.hzzt-kfb-level .el-slider__runway{background-color:#00000080}.hzzt-kfb-level .el-slider__bar{background-color:unset}.hzzt-kfb-level .el-slider__stop{background-color:#e2e2e2}.hzzt-kfb-level--large{height:250px}.hzzt-kfb-channel{position:absolute;bottom:20px;right:50px;border:1px solid #000;border-radius:4px;background:#fff9}.hzzt-kfb-channel__box{min-width:48px;height:32px;margin:0 2px;border-radius:2px;cursor:pointer;text-align:center;line-height:32px;font-weight:700;border-left:1px solid #000;border-right:1px solid #000}.hzzt-kfb-channel__box--unactive{background:#fff!important;color:#000}.hzzt-kfb-channel__box:last-child{margin-right:0;border-right:unset}.hzzt-kfb-view{position:relative}.hzzt-kfb-view__main{width:100%;height:100%}.hzzt-kfb-view__filter{position:absolute}.hzzt-kfb-view__hotmap{position:absolute;left:0;top:0;height:100%;width:2px;color:red;background:red;z-index:999}.hzzt-kfb-view__hotmap .icon-caret-left{position:absolute;top:50%;left:-22px;color:red;font-size:30px;transform:translateY(-50%);cursor:pointer;-webkit-user-select:none;user-select:none}.hzzt-kfb-view__hotmap .icon-caret-right{position:absolute;top:50%;left:-7px;color:red;font-size:30px;transform:translateY(-50%);cursor:pointer;-webkit-user-select:none;user-select:none}.hzzt-kfb-view__tag{position:absolute;right:4px;top:4px;z-index:999}.hzzt-kfb-img-triangle-left:after{content:"";position:absolute;left:-10px;top:50%;transform:translate(-50%);width:0;height:0;border:10px solid transparent;border-right-color:#000c}.hzzt-kfb-slides[data-v-c2a1a22e]{background-color:#fff;box-sizing:border-box;display:flex;flex-direction:column;height:100%;width:100%;overflow:auto;border-right:2px solid #DCDCDC}.hzzt-kfb-slides__row[data-v-c2a1a22e]{align-items:center;display:flex;flex:1;flex-direction:column;overflow:hidden;min-height:0;padding:0 8px;font-size:12px}.hzzt-kfb-slides__top[data-v-c2a1a22e]{align-items:center;display:flex;justify-content:space-between;overflow:hidden;width:100%;font-size:14px;margin:4px 0;color:#000}.hzzt-kfb-slides__top .text-primary[data-v-c2a1a22e]{color:var(--el-color-primary)}.hzzt-kfb-slides__box[data-v-c2a1a22e]{border:1px solid #DCDDE1;border-radius:5px;background-color:#f2f3ff;cursor:pointer;width:100%;padding:6px;margin-bottom:8px;position:relative;overflow:hidden}.hzzt-kfb-slides__box--active[data-v-c2a1a22e]{border:2px solid #366EF4}.hzzt-kfb-slides__gallery[data-v-c2a1a22e]{display:flex;position:relative;overflow:hidden;border-radius:4px}.hzzt-kfb-slides__img[data-v-c2a1a22e]{width:100px;max-height:100px}.hzzt-kfb-slides__img1[data-v-c2a1a22e]{max-height:100px}.hzzt-kfb-slides__read[data-v-c2a1a22e]{position:absolute;top:6px;z-index:2;left:6px;width:32px;height:16px;background:var(--el-color-danger);color:#fff;border-radius:999px;text-align:center;line-height:16px}.hzzt-kfb-slides__grade[data-v-c2a1a22e]{position:absolute;top:6px;z-index:2;right:6px;width:32px;height:16px;color:#fff;border-radius:999px;text-align:center;line-height:16px}.hzzt-kfb-slides__header[data-v-c2a1a22e]{display:flex;align-items:center;height:30px}.hzzt-kfb-slides__text[data-v-c2a1a22e]{width:100%}.hzzt-kfb-slides .w-10\%[data-v-c2a1a22e]{width:10%}.hzzt-kfb-slides .w-20\%[data-v-c2a1a22e]{width:20%}.hzzt-kfb-slides .w-30\%[data-v-c2a1a22e]{width:30%}.hzzt-kfb-slides .w-40\%[data-v-c2a1a22e]{width:40%}.hzzt-kfb-slides .text-center[data-v-c2a1a22e]{text-align:center}.hzzt-kfb-ai{--hzzt-kfb-ai-background-color: #fff;--hzzt-kfb-ai-font-size: 14px;--hzzt-kfb-ai-img-width: 100px;--hzzt-kfb-ai-height-width: 100px;background-color:var(--hzzt-kfb-ai-background-color);font-size:var(--hzzt-kfb-ai-font-size);box-sizing:border-box;display:flex;flex-direction:column;height:100%}.hzzt-kfb-ai__img{border:2px solid var(--el-border-color);border-radius:3px;cursor:pointer;margin-bottom:4px;margin-right:4px;width:calc(var(--hzzt-kfb-ai-img-width) + 4px)}.hzzt-kfb-ai__img--active{border-color:var(--el-color-primary)}.hzzt-kfb-ai__img img{display:block;height:var(--hzzt-kfb-ai-img-height);object-fit:contain;overflow:hidden;width:var(--hzzt-kfb-ai-img-width)}.label-sub-title{border-top:1px solid #eee;font-size:14px;font-weight:700}.hzzt-kfb-slide{width:100%;height:100%;display:flex;flex-direction:column}.hzzt-kfb-slide .hzzt-kfb-view{height:100%;width:100%;overflow:hidden}.hzzt-kfb-slide .hzzt-kfb-view-screen-active{box-shadow:0 4px 10px #00000080;border:2px solid var(--el-color-primary)!important}.el-card[data-v-3599775b],.el-card[data-v-9856a364],.el-card[data-v-76430a1a]{border:none;--el-card-padding: 12px}.hzzt-kfb-toolbox-dot__box[data-v-76430a1a]{width:24px;height:24px;border-radius:4px;margin:0 4px;cursor:pointer}.hzzt-kfb-toolbox-dot__box[data-v-76430a1a]:hover{opacity:.8}.hzzt-kfb-toolbox-annotate-img[data-v-9cfc89b6]{cursor:pointer;padding:4px;width:40px;height:40px}.hzzt-kfb-toolbox-annotate-img[data-v-9cfc89b6]:hover{background:#84b5ff}.el-card[data-v-9cfc89b6],.el-card[data-v-bdb018f5],.el-card[data-v-fe8098cc]{border:none;--el-card-padding: 12px}.el-card[data-v-aa10a89d]{border:none}.hzzt-kfb-toolbox__icon[data-v-6bcef5d5]{font-size:16px;font-weight:600;margin:0;line-height:1}.el-card[data-v-b1632013]{border:none;--el-card-padding: 12px}
|
package/dist/index.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as f, m as o, k as t, n as b } from "./components/indexDdIv5EKS.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
f as HzztKfbSlide,
|
|
4
|
+
o as HzztKfbToolbox,
|
|
5
5
|
t as HzztKfbView,
|
|
6
6
|
b as default
|
|
7
7
|
};
|
package/package.json
CHANGED
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hzzt-kfb-slide",
|
|
3
|
-
"main": "
|
|
4
|
-
"module": "
|
|
5
|
-
"style": "
|
|
6
|
-
"types": "
|
|
3
|
+
"main": "dist/index.cjs.js",
|
|
4
|
+
"module": "dist/index.es.js",
|
|
5
|
+
"style": "dist/index.css",
|
|
6
|
+
"types": "types/index.d.ts",
|
|
7
7
|
"files": [
|
|
8
|
-
"dist"
|
|
8
|
+
"dist",
|
|
9
|
+
"types",
|
|
10
|
+
"package.json"
|
|
9
11
|
],
|
|
10
12
|
"license": "MIT",
|
|
11
|
-
"version": "0.0.
|
|
13
|
+
"version": "0.0.3",
|
|
12
14
|
"type": "module",
|
|
13
15
|
"scripts": {
|
|
14
16
|
"dev": "vite",
|
|
15
17
|
"build": "vite build && npm run build:types",
|
|
16
|
-
"build:types": "vue-tsc --
|
|
18
|
+
"build:types": "vue-tsc --project tsconfig.lib.json --outDir dist/types",
|
|
17
19
|
"preview": "vite preview"
|
|
18
20
|
},
|
|
19
21
|
"dependencies": {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
name: {
|
|
3
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
name: {
|
|
8
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
type ObjectFit = '' | 'contain' | 'cover' | 'fill' | 'none' | 'scale-down';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
src: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
required: true;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
fit: {
|
|
10
|
+
type: PropType<ObjectFit>;
|
|
11
|
+
validator: (value: string) => boolean;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
retryTimes: {
|
|
15
|
+
type: NumberConstructor;
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
load: {
|
|
19
|
+
type: PropType<(event: Event) => void>;
|
|
20
|
+
default: () => {};
|
|
21
|
+
};
|
|
22
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
+
src: {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
required: true;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
fit: {
|
|
29
|
+
type: PropType<ObjectFit>;
|
|
30
|
+
validator: (value: string) => boolean;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
retryTimes: {
|
|
34
|
+
type: NumberConstructor;
|
|
35
|
+
default: number;
|
|
36
|
+
};
|
|
37
|
+
load: {
|
|
38
|
+
type: PropType<(event: Event) => void>;
|
|
39
|
+
default: () => {};
|
|
40
|
+
};
|
|
41
|
+
}>> & Readonly<{}>, {
|
|
42
|
+
src: string;
|
|
43
|
+
fit: ObjectFit;
|
|
44
|
+
retryTimes: number;
|
|
45
|
+
load: (event: Event) => void;
|
|
46
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
47
|
+
export default _default;
|