hzzt-kfb-slide 0.0.3 → 0.0.5
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/README.md +5 -0
- package/dist/{components/annotateCtCMs-ef.js → dist/components/annotateBZhYifBy.js} +1 -1
- package/dist/{components/annotateCdbWkykl.js → dist/components/annotateCPG0T3zR.js} +1 -1
- package/dist/dist/components/annotateCqAOjkGt.js +132 -0
- package/dist/dist/components/annotateDfW6BtgB.js +1 -0
- package/dist/{components/arrowDG9uJA9k.js → dist/components/arrowBJ1_uQ_E.js} +1 -1
- package/dist/{components/arrowC9aIuvQe.js → dist/components/arrowDFlQxMKW.js} +1 -1
- package/dist/{components/arrowDownGmouwhLr.js → dist/components/arrowDownNi-pK4NR.js} +1 -1
- package/dist/{components/arrowDownC6bqk-lY.js → dist/components/arrowDownUoENEig7.js} +1 -1
- package/dist/{components/arrowLeftDtz6Sjds.js → dist/components/arrowLeftBjlKltMm.js} +1 -1
- package/dist/{components/arrowLeftBOXSO3ql.js → dist/components/arrowLeftDNerwLPi.js} +1 -1
- package/dist/{components/arrowRightDSH6IzNE.js → dist/components/arrowRight44qqQj9S.js} +1 -1
- package/dist/{components/arrowRightHppOESBK.js → dist/components/arrowRightMPKmxcZ8.js} +1 -1
- package/dist/{components/arrowUpCHU6h7kZ.js → dist/components/arrowUpDNv09R_q.js} +1 -1
- package/dist/{components/arrowUpCuroteRQ.js → dist/components/arrowUpu-KhVqDz.js} +1 -1
- package/dist/{components/channelNB37p_zP.js → dist/components/channelCzSNjDqs.js} +1 -1
- package/dist/{components/channelB8E2yoQ7.js → dist/components/channelDTeDAbXs.js} +1 -1
- package/dist/{components/checkLEGWCAxP.js → dist/components/checkD58Lt_t9.js} +1 -1
- package/dist/{components/checkseAngK1P.js → dist/components/checkDg1XwTUE.js} +1 -1
- package/dist/{components/configDLPuCFH1.js → dist/components/configDTj11Wdw.js} +1 -1
- package/dist/{components/configCCGG0UB4.js → dist/components/configFTiUKUAQ.js} +1 -1
- package/dist/dist/components/customLw3nDjEr.js +48 -0
- package/dist/dist/components/customSv562l99.js +1 -0
- package/dist/{components/deleteD2WtxFlL.js → dist/components/deleteBIUy0hW2.js} +1 -1
- package/dist/{components/deleteMXhIkgfB.js → dist/components/deleteCeXlMQda.js} +1 -1
- package/dist/{components/dotDJRbd0BV.js → dist/components/dotBcz-OP0B.js} +1 -1
- package/dist/dist/components/dotC4Q5qfQ3.js +122 -0
- package/dist/dist/components/dotDO8OTl1O.js +1 -0
- package/dist/{components/dotEN0Eh5Op.js → dist/components/dotDpCmvPJC.js} +1 -1
- package/dist/{components/downloadCaAoF5Or.js → dist/components/downloadBs4QK_IT.js} +1 -1
- package/dist/dist/components/downloadCyOnwVa8.js +1 -0
- package/dist/dist/components/downloadGCe-OpHT.js +88 -0
- package/dist/{components/downloadCaJyQTwU.js → dist/components/downloadnu9isJ53.js} +1 -1
- package/dist/{components/flipBkZOXGJN.js → dist/components/flipBwR2T8Rs.js} +1 -1
- package/dist/{components/flipCC_nhFBO.js → dist/components/flipvyz7dJPZ.js} +1 -1
- package/dist/dist/components/fullscreenBeGbvwYS.js +1 -0
- package/dist/{components/fullscreenEVnYx--1.js → dist/components/fullscreenCVgGTPtD.js} +1 -1
- package/dist/dist/components/fullscreenDvfoQFJX.js +60 -0
- package/dist/{components/fullscreenC380_EU3.js → dist/components/fullscreenyNOuxxJv.js} +1 -1
- package/dist/dist/components/indexCBVjt8NT.js +4 -0
- package/dist/dist/components/indexDOcglE90.js +2948 -0
- package/dist/{components/infoBFIavOPB.js → dist/components/infoC4fRWu15.js} +1 -1
- package/dist/{components/infoCp5QUeZm.js → dist/components/infoCDweeRWp.js} +1 -1
- package/dist/{components/levelZfTb2sPf.js → dist/components/levelDjZ5vvyy.js} +1 -1
- package/dist/{components/levelC1Ud4D0B.js → dist/components/levelDjuyEKmz.js} +1 -1
- package/dist/dist/components/microscopeB6hcfWtD.js +1 -0
- package/dist/dist/components/microscopeD4o4Sywm.js +129 -0
- package/dist/{components/microscopeDZWMA8RW.js → dist/components/microscopeDCINdehp.js} +1 -1
- package/dist/{components/microscopeXeEtWd1W.js → dist/components/microscopeDptxRPdj.js} +1 -1
- package/dist/{components/moveBea2jbYH.js → dist/components/moveB-QJFdLP.js} +1 -1
- package/dist/dist/components/moveBM4KQ8bE.js +83 -0
- package/dist/{components/moveDwsVnmQi.js → dist/components/moveCNc2f0wf.js} +1 -1
- package/dist/dist/components/movemH2hKtp1.js +1 -0
- package/dist/{components/nextC52pb5sE.js → dist/components/next-o3fIifP.js} +1 -1
- package/dist/{components/nextDYmCUlzZ.js → dist/components/nextBX5bmT1e.js} +1 -1
- package/dist/{components/prevv0XqJ_iF.js → dist/components/prevDRvSbFTC.js} +1 -1
- package/dist/{components/prevT7x-zgKu.js → dist/components/prevkbxOICn5.js} +1 -1
- package/dist/{components/process0WK-TxPd.js → dist/components/processBHqsEap8.js} +94 -89
- package/dist/dist/components/processBqhO-55V.js +1 -0
- package/dist/{components/processDW13CjX-.js → dist/components/processD06c6uax.js} +1 -1
- package/dist/{components/processBiTw6vPV.js → dist/components/processh0Wf3Q99.js} +1 -1
- package/dist/dist/components/rotateBdsvaWJ_.js +140 -0
- package/dist/{components/rotateDlk_Qk4Y.js → dist/components/rotateCm7bVQY_.js} +1 -1
- package/dist/{components/rotateCbkJvPFi.js → dist/components/rotateCxZ7Z2pw.js} +1 -1
- package/dist/dist/components/rotateCyw4Ggca.js +1 -0
- package/dist/dist/components/settingC3yidTns.js +156 -0
- package/dist/{components/settingDyHmqPh3.js → dist/components/settingCzWjOOeH.js} +1 -1
- package/dist/dist/components/settingDDEEOrtI.js +1 -0
- package/dist/{components/settingDVPXWTEf.js → dist/components/settinghh-xgIto.js} +1 -1
- package/dist/{components/tailorDHg9ZsXw.js → dist/components/tailorBalVOrgz.js} +1 -1
- package/dist/{components/tailorBgKlGdZj.js → dist/components/tailorCvZYsl2H.js} +1 -1
- package/dist/{components/useCommonB2St3W5r.js → dist/components/useCommonBBhfDvWF.js} +1 -1
- package/dist/{components/useCommonCwKio4Jh.js → dist/components/useCommonDs02MG_d.js} +1 -1
- package/dist/dist/components/zoomCWKzKF3-.js +1 -0
- package/dist/{components/zoomIn73PRBFpz.js → dist/components/zoomIn8-tgvQFE.js} +1 -1
- package/dist/{components/zoomInDWX2Osc6.js → dist/components/zoomInBFjk_aLI.js} +1 -1
- package/dist/{components/zoomOutD8Mlbb8q.js → dist/components/zoomOutC4Ami8gE.js} +1 -1
- package/dist/{components/zoomOutgHFV2sxE.js → dist/components/zoomOutD3_PopeU.js} +1 -1
- package/dist/dist/components/zoomcWHR4OY6.js +72 -0
- package/dist/{index.cjs.js → dist/index.cjs.js} +1 -1
- package/dist/{index.css → dist/index.css} +1 -1
- package/dist/{index.es.js → dist/index.es.js} +1 -1
- package/dist/package.json +39 -0
- package/{types → dist/types}/components/KfbView/index.d.ts +5 -1
- package/{types → dist/types}/components/KfbView/index.vue.d.ts +8 -4
- package/dist/types/components/KfbView/useLabel.d.ts +172 -0
- package/dist/types/components/KfbView/useVoice.d.ts +8 -0
- package/{types → dist/types}/components/ai/useAi.d.ts +6 -2
- package/{types → dist/types}/index.d.ts +18 -6
- package/{types → dist/types}/instances.d.ts +1 -0
- package/package.json +4 -6
- package/dist/components/annotateBNqnmoMI.js +0 -1
- package/dist/components/annotateD0egGTin.js +0 -122
- package/dist/components/customBbYfn41m.js +0 -1
- package/dist/components/customDo3qaJ1U.js +0 -39
- package/dist/components/dotBgHmd0mz.js +0 -1
- package/dist/components/dotg0NvS9Ck.js +0 -112
- package/dist/components/downloadD_Bmec44.js +0 -79
- package/dist/components/downloadGX-_YQez.js +0 -1
- package/dist/components/fullscreenDUzxAfXo.js +0 -1
- package/dist/components/fullscreenDjH9QoF2.js +0 -51
- package/dist/components/indexD_phlegk.js +0 -30
- package/dist/components/indexDdIv5EKS.js +0 -11179
- package/dist/components/microscopeBeixYxYI.js +0 -1
- package/dist/components/microscopeCmqOpPc4.js +0 -124
- package/dist/components/moveB1DiH4PI.js +0 -74
- package/dist/components/moveBzePKtM6.js +0 -1
- package/dist/components/processCmTYHlH3.js +0 -1
- package/dist/components/rotateBViLTXxd.js +0 -1
- package/dist/components/rotateLcm0V_kN.js +0 -130
- package/dist/components/setting3RU3dG2s.js +0 -1
- package/dist/components/settingCZkmIJSr.js +0 -147
- package/dist/components/zoomBKsf5GkB.js +0 -1
- package/dist/components/zoomCnS6EmhN.js +0 -63
- package/types/components/KfbView/useLabel.d.ts +0 -85
- /package/dist/{components → dist/components}/lineBIoJpzbf.js +0 -0
- /package/dist/{components → dist/components}/lineCzuS7Giu.js +0 -0
- /package/{types → dist/types}/components/KfbIcon.vue.d.ts +0 -0
- /package/{types → dist/types}/components/KfbImage.vue.d.ts +0 -0
- /package/{types → dist/types}/components/KfbSlideList.vue.d.ts +0 -0
- /package/{types → dist/types}/components/KfbToolConfig.vue.d.ts +0 -0
- /package/{types → dist/types}/components/KfbToolbox.vue.d.ts +0 -0
- /package/{types → dist/types}/components/KfbView/KfbChannel.vue.d.ts +0 -0
- /package/{types → dist/types}/components/KfbView/KfbKeyword.vue.d.ts +0 -0
- /package/{types → dist/types}/components/KfbView/KfbLabel.vue.d.ts +0 -0
- /package/{types → dist/types}/components/KfbView/KfbLevel.vue.d.ts +0 -0
- /package/{types → dist/types}/components/KfbView/KfbMenu.vue.d.ts +0 -0
- /package/{types → dist/types}/components/KfbView/KfbMicroscope.vue.d.ts +0 -0
- /package/{types → dist/types}/components/KfbView/useDot.d.ts +0 -0
- /package/{types → dist/types}/components/KfbView/useHotmap.d.ts +0 -0
- /package/{types → dist/types}/components/KfbView/useImageProcess.d.ts +0 -0
- /package/{types → dist/types}/components/KfbView/useMove.d.ts +0 -0
- /package/{types → dist/types}/components/KfbView/usePointer.d.ts +0 -0
- /package/{types → dist/types}/components/KfbView/useSync.d.ts +0 -0
- /package/{types → dist/types}/components/KfbView/useTailor.d.ts +0 -0
- /package/{types → dist/types}/components/ai/list.vue.d.ts +0 -0
- /package/{types → dist/types}/components/icon/annotate.vue.d.ts +0 -0
- /package/{types → dist/types}/components/icon/arrow.vue.d.ts +0 -0
- /package/{types → dist/types}/components/icon/arrowDown.vue.d.ts +0 -0
- /package/{types → dist/types}/components/icon/arrowLeft.vue.d.ts +0 -0
- /package/{types → dist/types}/components/icon/arrowRight.vue.d.ts +0 -0
- /package/{types → dist/types}/components/icon/arrowUp.vue.d.ts +0 -0
- /package/{types → dist/types}/components/icon/channel.vue.d.ts +0 -0
- /package/{types → dist/types}/components/icon/check.vue.d.ts +0 -0
- /package/{types → dist/types}/components/icon/config.vue.d.ts +0 -0
- /package/{types → dist/types}/components/icon/delete.vue.d.ts +0 -0
- /package/{types → dist/types}/components/icon/dot.vue.d.ts +0 -0
- /package/{types → dist/types}/components/icon/download.vue.d.ts +0 -0
- /package/{types → dist/types}/components/icon/flip.vue.d.ts +0 -0
- /package/{types → dist/types}/components/icon/fullscreen.vue.d.ts +0 -0
- /package/{types → dist/types}/components/icon/index.d.ts +0 -0
- /package/{types → dist/types}/components/icon/info.vue.d.ts +0 -0
- /package/{types → dist/types}/components/icon/level.vue.d.ts +0 -0
- /package/{types → dist/types}/components/icon/list.vue.d.ts +0 -0
- /package/{types → dist/types}/components/icon/menu.vue.d.ts +0 -0
- /package/{types → dist/types}/components/icon/microscope.vue.d.ts +0 -0
- /package/{types → dist/types}/components/icon/move.vue.d.ts +0 -0
- /package/{types → dist/types}/components/icon/next.vue.d.ts +0 -0
- /package/{types → dist/types}/components/icon/prev.vue.d.ts +0 -0
- /package/{types → dist/types}/components/icon/process.vue.d.ts +0 -0
- /package/{types → dist/types}/components/icon/rotate.vue.d.ts +0 -0
- /package/{types → dist/types}/components/icon/setting.vue.d.ts +0 -0
- /package/{types → dist/types}/components/icon/tailor.vue.d.ts +0 -0
- /package/{types → dist/types}/components/icon/zoomIn.vue.d.ts +0 -0
- /package/{types → dist/types}/components/toolbox/annotate.vue.d.ts +0 -0
- /package/{types → dist/types}/components/toolbox/custom.vue.d.ts +0 -0
- /package/{types → dist/types}/components/toolbox/dot.vue.d.ts +0 -0
- /package/{types → dist/types}/components/toolbox/download.vue.d.ts +0 -0
- /package/{types → dist/types}/components/toolbox/fullscreen.vue.d.ts +0 -0
- /package/{types → dist/types}/components/toolbox/instances.d.ts +0 -0
- /package/{types → dist/types}/components/toolbox/microscope.vue.d.ts +0 -0
- /package/{types → dist/types}/components/toolbox/move.vue.d.ts +0 -0
- /package/{types → dist/types}/components/toolbox/process.vue.d.ts +0 -0
- /package/{types → dist/types}/components/toolbox/rotate.vue.d.ts +0 -0
- /package/{types → dist/types}/components/toolbox/setting.vue.d.ts +0 -0
- /package/{types → dist/types}/components/toolbox/useCommon.d.ts +0 -0
- /package/{types → dist/types}/components/toolbox/zoom.vue.d.ts +0 -0
- /package/{types → dist/types}/index.vue.d.ts +0 -0
- /package/{types → dist/types}/plugins/i18n.d.ts +0 -0
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { defineComponent as z, mergeDefaults as E, ref as p, inject as F, watch as y, createBlock as k, openBlock as i, unref as a, withCtx as s, createVNode as u, createElementVNode as c, toDisplayString as f, createElementBlock as h, Fragment as w, renderList as B, normalizeStyle as D, createCommentVNode as S, normalizeClass as V } from "vue";
|
|
2
|
-
import { u as A, d as L } from "./useCommonCwKio4Jh.js";
|
|
3
|
-
import N from "./dotDJRbd0BV.js";
|
|
4
|
-
import P from "./checkLEGWCAxP.js";
|
|
5
|
-
import { ElPopover as j, ElCard as I, ElIcon as b } from "element-plus";
|
|
6
|
-
import { _ as $ } from "./indexDdIv5EKS.js";
|
|
7
|
-
const T = { class: "margin-b-1" }, q = { class: "flex align-items-center" }, G = ["onClick"], H = /* @__PURE__ */ z({
|
|
8
|
-
name: "ToolDot",
|
|
9
|
-
__name: "dot",
|
|
10
|
-
props: /* @__PURE__ */ E({
|
|
11
|
-
size: {},
|
|
12
|
-
text: {},
|
|
13
|
-
name: {},
|
|
14
|
-
component: {},
|
|
15
|
-
isPrevent: { type: Boolean },
|
|
16
|
-
callback: { type: Function }
|
|
17
|
-
}, L),
|
|
18
|
-
emits: ["tool"],
|
|
19
|
-
setup(J, { emit: _ }) {
|
|
20
|
-
const v = _, { t: m, textClass: C } = A(), n = p(!1), r = p([
|
|
21
|
-
{ label: "#004BFF", value: 0, checked: !1 },
|
|
22
|
-
{ label: "#FF4B40", value: 0, checked: !1 },
|
|
23
|
-
{ label: "#FFAA00", value: 0, checked: !1 },
|
|
24
|
-
{ label: "#51C964", value: 0, checked: !1 },
|
|
25
|
-
{ label: "#00BEFF", value: 0, checked: !1 },
|
|
26
|
-
{ label: "#8C58CE", value: 0, checked: !1 },
|
|
27
|
-
{ label: "#F261A7", value: 0, checked: !1 }
|
|
28
|
-
]), d = F("kfbViewRef");
|
|
29
|
-
y(() => {
|
|
30
|
-
var e, l;
|
|
31
|
-
return (l = (e = d == null ? void 0 : d.value) == null ? void 0 : e.kfbView) == null ? void 0 : l.labelList;
|
|
32
|
-
}, (e) => {
|
|
33
|
-
r.value.forEach((l) => {
|
|
34
|
-
var o;
|
|
35
|
-
l.value = (o = (e ?? []).filter((t) => (t == null ? void 0 : t.custom) && (t == null ? void 0 : t.strokeStyle) === l.label && (t == null ? void 0 : t.tool) === "Dot")) == null ? void 0 : o.length;
|
|
36
|
-
});
|
|
37
|
-
});
|
|
38
|
-
function g(e) {
|
|
39
|
-
r.value.forEach((l) => {
|
|
40
|
-
l.checked = !1;
|
|
41
|
-
}), e.checked = !0, v("tool", "annotate", {
|
|
42
|
-
strokeStyle: e.label,
|
|
43
|
-
tool: "Dot",
|
|
44
|
-
once: !1,
|
|
45
|
-
custom: !0
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
function x() {
|
|
49
|
-
n.value = !n.value, n.value || r.value.forEach((e) => {
|
|
50
|
-
e.checked = !1;
|
|
51
|
-
}), v("tool", "endDraw");
|
|
52
|
-
}
|
|
53
|
-
return (e, l) => (i(), k(a(j), {
|
|
54
|
-
visible: n.value,
|
|
55
|
-
"popper-class": "el-popover-padding-0",
|
|
56
|
-
placement: "bottom",
|
|
57
|
-
width: "300px",
|
|
58
|
-
trigger: "click"
|
|
59
|
-
}, {
|
|
60
|
-
reference: s(() => [
|
|
61
|
-
c("div", {
|
|
62
|
-
class: "hzzt-kfb-toolbox__icon",
|
|
63
|
-
onClick: l[0] || (l[0] = (o) => x())
|
|
64
|
-
}, [
|
|
65
|
-
u(a(b), { size: e.size }, {
|
|
66
|
-
default: s(() => [
|
|
67
|
-
u(N)
|
|
68
|
-
]),
|
|
69
|
-
_: 1
|
|
70
|
-
}, 8, ["size"]),
|
|
71
|
-
c("div", {
|
|
72
|
-
class: V(a(C))
|
|
73
|
-
}, f(a(m)(e.text || "打点")), 3)
|
|
74
|
-
])
|
|
75
|
-
]),
|
|
76
|
-
default: s(() => [
|
|
77
|
-
u(a(I), { shadow: "never" }, {
|
|
78
|
-
default: s(() => [
|
|
79
|
-
c("div", null, [
|
|
80
|
-
c("p", T, f(a(m)("按下ESC键结束打点操作")), 1),
|
|
81
|
-
c("div", q, [
|
|
82
|
-
(i(!0), h(w, null, B(r.value, (o) => (i(), h("div", {
|
|
83
|
-
key: o.label,
|
|
84
|
-
class: "flex column align-items-center"
|
|
85
|
-
}, [
|
|
86
|
-
c("div", {
|
|
87
|
-
style: D({ "background-color": o.label }),
|
|
88
|
-
class: "hzzt-kfb-toolbox-dot__box flex justify-content-center align-items-center",
|
|
89
|
-
onClick: (t) => g(o)
|
|
90
|
-
}, [
|
|
91
|
-
u(a(b), { size: "16" }, {
|
|
92
|
-
default: s(() => [
|
|
93
|
-
o.checked ? (i(), k(P, { key: 0 })) : S("", !0)
|
|
94
|
-
]),
|
|
95
|
-
_: 2
|
|
96
|
-
}, 1024)
|
|
97
|
-
], 12, G),
|
|
98
|
-
c("p", null, f(o.value ? o.value : " "), 1)
|
|
99
|
-
]))), 128))
|
|
100
|
-
])
|
|
101
|
-
])
|
|
102
|
-
]),
|
|
103
|
-
_: 1
|
|
104
|
-
})
|
|
105
|
-
]),
|
|
106
|
-
_: 1
|
|
107
|
-
}, 8, ["visible"]));
|
|
108
|
-
}
|
|
109
|
-
}), W = /* @__PURE__ */ $(H, [["__scopeId", "data-v-76430a1a"]]);
|
|
110
|
-
export {
|
|
111
|
-
W as default
|
|
112
|
-
};
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { defineComponent as _, mergeDefaults as k, ref as C, createBlock as b, openBlock as g, unref as e, withCtx as t, createVNode as l, createElementVNode as i, createTextVNode as p, toDisplayString as r, normalizeClass as x } from "vue";
|
|
2
|
-
import { u as w, d as z } from "./useCommonCwKio4Jh.js";
|
|
3
|
-
import { ElPopover as y, ElCard as E, ElLink as c, ElIcon as B } from "element-plus";
|
|
4
|
-
import D from "./downloadCaAoF5Or.js";
|
|
5
|
-
import { _ as N } from "./indexDdIv5EKS.js";
|
|
6
|
-
const P = { class: "flex column align-items-center" }, T = /* @__PURE__ */ _({
|
|
7
|
-
name: "ToolDownload",
|
|
8
|
-
__name: "download",
|
|
9
|
-
props: /* @__PURE__ */ k({
|
|
10
|
-
size: {},
|
|
11
|
-
text: {},
|
|
12
|
-
name: {},
|
|
13
|
-
component: {},
|
|
14
|
-
isPrevent: { type: Boolean },
|
|
15
|
-
callback: { type: Function }
|
|
16
|
-
}, z),
|
|
17
|
-
emits: ["tool"],
|
|
18
|
-
setup(V, { emit: f }) {
|
|
19
|
-
const u = f, { t: a, textClass: v } = w(), n = C(!1);
|
|
20
|
-
function d(s) {
|
|
21
|
-
u("tool", "download", s), n.value = !1;
|
|
22
|
-
}
|
|
23
|
-
return (s, o) => (g(), b(e(y), {
|
|
24
|
-
visible: n.value,
|
|
25
|
-
"popper-class": "el-popover-padding-0",
|
|
26
|
-
placement: "bottom",
|
|
27
|
-
width: 180,
|
|
28
|
-
trigger: "click"
|
|
29
|
-
}, {
|
|
30
|
-
reference: t(() => [
|
|
31
|
-
i("div", {
|
|
32
|
-
class: "hzzt-kfb-toolbox__icon",
|
|
33
|
-
onClick: o[2] || (o[2] = (m) => n.value = !n.value)
|
|
34
|
-
}, [
|
|
35
|
-
l(e(B), { size: s.size }, {
|
|
36
|
-
default: t(() => [
|
|
37
|
-
l(D)
|
|
38
|
-
]),
|
|
39
|
-
_: 1
|
|
40
|
-
}, 8, ["size"]),
|
|
41
|
-
i("div", {
|
|
42
|
-
class: x(e(v))
|
|
43
|
-
}, r(e(a)(s.text || "下载")), 3)
|
|
44
|
-
])
|
|
45
|
-
]),
|
|
46
|
-
default: t(() => [
|
|
47
|
-
l(e(E), { shadow: "never" }, {
|
|
48
|
-
default: t(() => [
|
|
49
|
-
i("div", P, [
|
|
50
|
-
l(e(c), {
|
|
51
|
-
onClick: o[0] || (o[0] = (m) => d("all"))
|
|
52
|
-
}, {
|
|
53
|
-
default: t(() => [
|
|
54
|
-
p(r(e(a)("下载全部切片")), 1)
|
|
55
|
-
]),
|
|
56
|
-
_: 1
|
|
57
|
-
}),
|
|
58
|
-
l(e(c), {
|
|
59
|
-
type: "primary",
|
|
60
|
-
class: "margin-t-2",
|
|
61
|
-
onClick: o[1] || (o[1] = (m) => d("single"))
|
|
62
|
-
}, {
|
|
63
|
-
default: t(() => [
|
|
64
|
-
p(r(e(a)("下载当前切片")), 1)
|
|
65
|
-
]),
|
|
66
|
-
_: 1
|
|
67
|
-
})
|
|
68
|
-
])
|
|
69
|
-
]),
|
|
70
|
-
_: 1
|
|
71
|
-
})
|
|
72
|
-
]),
|
|
73
|
-
_: 1
|
|
74
|
-
}, 8, ["visible"]));
|
|
75
|
-
}
|
|
76
|
-
}), S = /* @__PURE__ */ N(T, [["__scopeId", "data-v-b1632013"]]);
|
|
77
|
-
export {
|
|
78
|
-
S as default
|
|
79
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./useCommonB2St3W5r.js"),o=require("element-plus"),f=require("./downloadCaJyQTwU.js"),p=require("./indexD_phlegk.js"),m={class:"flex column align-items-center"},v=e.defineComponent({name:"ToolDownload",__name:"download",props:e.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function}},s.defaultProps),emits:["tool"],setup(x,{emit:d}){const u=d,{t:r,textClass:c}=s.useCommon(),n=e.ref(!1);function i(l){u("tool","download",l),n.value=!1}return(l,t)=>(e.openBlock(),e.createBlock(e.unref(o.ElPopover),{visible:n.value,"popper-class":"el-popover-padding-0",placement:"bottom",width:180,trigger:"click"},{reference:e.withCtx(()=>[e.createElementVNode("div",{class:"hzzt-kfb-toolbox__icon",onClick:t[2]||(t[2]=a=>n.value=!n.value)},[e.createVNode(e.unref(o.ElIcon),{size:l.size},{default:e.withCtx(()=>[e.createVNode(f.default)]),_:1},8,["size"]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(c))},e.toDisplayString(e.unref(r)(l.text||"下载")),3)])]),default:e.withCtx(()=>[e.createVNode(e.unref(o.ElCard),{shadow:"never"},{default:e.withCtx(()=>[e.createElementVNode("div",m,[e.createVNode(e.unref(o.ElLink),{onClick:t[0]||(t[0]=a=>i("all"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("下载全部切片")),1)]),_:1}),e.createVNode(e.unref(o.ElLink),{type:"primary",class:"margin-t-2",onClick:t[1]||(t[1]=a=>i("single"))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("下载当前切片")),1)]),_:1})])]),_:1})]),_:1},8,["visible"]))}}),C=p._export_sfc(v,[["__scopeId","data-v-b1632013"]]);exports.default=C;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),g=require("element-plus"),z=require("./fullscreenC380_EU3.js"),o=require("./useCommonB2St3W5r.js"),k=l.defineComponent({name:"ToolFullscreen",__name:"fullscreen",props:l.mergeDefaults({size:{},text:{},name:{},component:{},isPrevent:{type:Boolean},callback:{type:Function}},o.defaultProps),emits:["tool"],setup(i,{emit:m}){const a=i,f=m,s=l.ref(!1),{t:c,textClass:F}=o.useCommon(),e=document,n=document.documentElement,t=()=>{setTimeout(()=>{s.value=u()},500)},u=()=>!!(e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement),d=()=>{u()?E():v()},v=()=>{n.requestFullscreen?n.requestFullscreen():n.webkitRequestFullscreen?n.webkitRequestFullscreen():n.mozRequestFullScreen?n.mozRequestFullScreen():n.msRequestFullscreen&&n.msRequestFullscreen()},E=()=>{e.exitFullscreen?e.exitFullscreen():e.webkitExitFullscreen?e.webkitExitFullscreen():e.mozCancelFullScreen?e.mozCancelFullScreen():e.msExitFullscreen&&e.msExitFullscreen()},h=()=>{f("tool","fullscreen",!s.value),a.isPrevent||d()};return e.addEventListener("fullscreenchange",t),e.addEventListener("webkitfullscreenchange",t),e.addEventListener("mozfullscreenchange",t),e.addEventListener("MSFullscreenChange",t),l.onBeforeUnmount(()=>{e.removeEventListener("fullscreenchange",t),e.removeEventListener("webkitfullscreenchange",t),e.removeEventListener("mozfullscreenchange",t),e.removeEventListener("MSFullscreenChange",t)}),(r,p)=>(l.openBlock(),l.createElementBlock("div",{class:"hzzt-kfb-toolbox__icon",onClick:h},[l.createVNode(l.unref(g.ElIcon),{size:r.size},{default:l.withCtx(()=>[l.createVNode(z.default)]),_:1},8,["size"]),l.createElementVNode("div",{class:l.normalizeClass(l.unref(F))},l.toDisplayString(s.value?l.unref(c)(r.text||"退出全屏"):l.unref(c)(r.text||"全屏")),3)]))}});exports.default=k;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { defineComponent as h, mergeDefaults as z, ref as g, onBeforeUnmount as k, createElementBlock as x, openBlock as C, createVNode as u, createElementVNode as b, unref as t, withCtx as q, normalizeClass as w, toDisplayString as L } from "vue";
|
|
2
|
-
import { ElIcon as S } from "element-plus";
|
|
3
|
-
import R from "./fullscreenEVnYx--1.js";
|
|
4
|
-
import { u as _, d as B } from "./useCommonCwKio4Jh.js";
|
|
5
|
-
const N = /* @__PURE__ */ h({
|
|
6
|
-
name: "ToolFullscreen",
|
|
7
|
-
__name: "fullscreen",
|
|
8
|
-
props: /* @__PURE__ */ z({
|
|
9
|
-
size: {},
|
|
10
|
-
text: {},
|
|
11
|
-
name: {},
|
|
12
|
-
component: {},
|
|
13
|
-
isPrevent: { type: Boolean },
|
|
14
|
-
callback: { type: Function }
|
|
15
|
-
}, B),
|
|
16
|
-
emits: ["tool"],
|
|
17
|
-
setup(i, { emit: m }) {
|
|
18
|
-
const a = i, f = m, s = g(!1), { t: c, textClass: F } = _(), e = document, l = document.documentElement, n = () => {
|
|
19
|
-
setTimeout(() => {
|
|
20
|
-
s.value = o();
|
|
21
|
-
}, 500);
|
|
22
|
-
}, o = () => !!(e.fullscreenElement || e.webkitFullscreenElement || e.mozFullScreenElement || e.msFullscreenElement), d = () => {
|
|
23
|
-
o() ? v() : E();
|
|
24
|
-
}, E = () => {
|
|
25
|
-
l.requestFullscreen ? l.requestFullscreen() : l.webkitRequestFullscreen ? l.webkitRequestFullscreen() : l.mozRequestFullScreen ? l.mozRequestFullScreen() : l.msRequestFullscreen && l.msRequestFullscreen();
|
|
26
|
-
}, v = () => {
|
|
27
|
-
e.exitFullscreen ? e.exitFullscreen() : e.webkitExitFullscreen ? e.webkitExitFullscreen() : e.mozCancelFullScreen ? e.mozCancelFullScreen() : e.msExitFullscreen && e.msExitFullscreen();
|
|
28
|
-
}, p = () => {
|
|
29
|
-
f("tool", "fullscreen", !s.value), a.isPrevent || d();
|
|
30
|
-
};
|
|
31
|
-
return e.addEventListener("fullscreenchange", n), e.addEventListener("webkitfullscreenchange", n), e.addEventListener("mozfullscreenchange", n), e.addEventListener("MSFullscreenChange", n), k(() => {
|
|
32
|
-
e.removeEventListener("fullscreenchange", n), e.removeEventListener("webkitfullscreenchange", n), e.removeEventListener("mozfullscreenchange", n), e.removeEventListener("MSFullscreenChange", n);
|
|
33
|
-
}), (r, y) => (C(), x("div", {
|
|
34
|
-
class: "hzzt-kfb-toolbox__icon",
|
|
35
|
-
onClick: p
|
|
36
|
-
}, [
|
|
37
|
-
u(t(S), { size: r.size }, {
|
|
38
|
-
default: q(() => [
|
|
39
|
-
u(R)
|
|
40
|
-
]),
|
|
41
|
-
_: 1
|
|
42
|
-
}, 8, ["size"]),
|
|
43
|
-
b("div", {
|
|
44
|
-
class: w(t(F))
|
|
45
|
-
}, L(s.value ? t(c)(r.text || "退出全屏") : t(c)(r.text || "全屏")), 3)
|
|
46
|
-
]));
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
export {
|
|
50
|
-
N as default
|
|
51
|
-
};
|