hzzt-kfb-slide 0.0.6 → 0.0.8
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/{annotateCPG0T3zR.js → annotateFlT59Ud8.js} +1 -1
- package/dist/components/annotateJzE3toJV.js +1 -0
- package/dist/components/{annotateBZhYifBy.js → annotateR7c0LCw2.js} +1 -1
- package/dist/components/annotatemJxZMVPO.js +123 -0
- package/dist/components/{arrowDFlQxMKW.js → arrowDHcko1dw.js} +1 -1
- package/dist/components/{arrowBJ1_uQ_E.js → arrowDRio3eqx.js} +1 -1
- package/dist/components/{arrowDownUoENEig7.js → arrowDownByED8CSr.js} +1 -1
- package/dist/components/{arrowDownNi-pK4NR.js → arrowDownDRpTqVDK.js} +1 -1
- package/dist/components/{arrowLeftDNerwLPi.js → arrowLeftCl2XVnFB.js} +1 -1
- package/dist/components/{arrowLeftBjlKltMm.js → arrowLeftDjcuA_pb.js} +1 -1
- package/dist/components/{arrowRightMPKmxcZ8.js → arrowRightClSGs6Mb.js} +1 -1
- package/dist/components/{arrowRight44qqQj9S.js → arrowRightDSkHKM4y.js} +1 -1
- package/dist/components/{arrowUpDNv09R_q.js → arrowUpCgzq2L8A.js} +1 -1
- package/dist/components/{arrowUpu-KhVqDz.js → arrowUpQVIPK_NQ.js} +1 -1
- package/dist/components/{channelDTeDAbXs.js → channelCTQgwZV_.js} +1 -1
- package/dist/components/{channelCzSNjDqs.js → channelD-dojSaC.js} +1 -1
- package/dist/components/{checkDg1XwTUE.js → checkCBxyasVc.js} +1 -1
- package/dist/components/{checkD58Lt_t9.js → checkCqCYDYr4.js} +1 -1
- package/dist/components/{configFTiUKUAQ.js → configGeQGhW9C.js} +1 -1
- package/dist/components/{configDTj11Wdw.js → configP_8ZVyfi.js} +1 -1
- package/dist/components/customB1-3lgH0.js +1 -0
- package/dist/components/customBr26z068.js +39 -0
- package/dist/components/{deleteCeXlMQda.js → deleteBNIxfTCo.js} +1 -1
- package/dist/components/{deleteBIUy0hW2.js → deleteuibq0KAI.js} +1 -1
- package/dist/components/{dotBcz-OP0B.js → dotBJ-lSESE.js} +1 -1
- package/dist/components/dotBucEP5Z8.js +113 -0
- package/dist/components/dotDc-QmqaE.js +1 -0
- package/dist/components/{dotDpCmvPJC.js → dotDhjymv7s.js} +1 -1
- package/dist/components/{downloadBs4QK_IT.js → downloadB5STpOaR.js} +1 -1
- package/dist/components/{downloadnu9isJ53.js → downloadBrpaJY3x.js} +1 -1
- package/dist/components/downloadDh6wiado.js +1 -0
- package/dist/components/downloadDnWeuVMn.js +79 -0
- package/dist/components/{flipBwR2T8Rs.js → flipD7XBmACU.js} +1 -1
- package/dist/components/{flipvyz7dJPZ.js → flipDlTFW9pO.js} +1 -1
- package/dist/components/fullscreenBGej63GA.js +51 -0
- package/dist/components/{fullscreenCVgGTPtD.js → fullscreenCxtySrDu.js} +1 -1
- package/dist/components/fullscreenOKvUhCk1.js +1 -0
- package/dist/components/{fullscreenyNOuxxJv.js → fullscreenoNyXD8h3.js} +1 -1
- package/dist/components/indexB0v3MpmE.js +2937 -0
- package/dist/components/indexBkFttmTs.js +4 -0
- package/dist/components/{infoC4fRWu15.js → infoBjk0dOPE.js} +1 -1
- package/dist/components/{infoCDweeRWp.js → infoCA6EWNF3.js} +1 -1
- package/dist/components/{levelDjuyEKmz.js → levelCG93ncZs.js} +1 -1
- package/dist/components/{levelDjZ5vvyy.js → levelbRjS_tcK.js} +1 -1
- package/dist/components/{microscopeDCINdehp.js → microscopeD-EjOdf2.js} +1 -1
- package/dist/components/{microscopeDptxRPdj.js → microscopeD-FrVKRB.js} +1 -1
- package/dist/components/microscopeDd_Bl9hM.js +1 -0
- package/dist/components/microscopey8VfYeuX.js +132 -0
- package/dist/components/moveCCkgUb-0.js +74 -0
- package/dist/components/{moveB-QJFdLP.js → moveDYmvf7k8.js} +1 -1
- package/dist/components/moveQ5bEeY1C.js +1 -0
- package/dist/components/{moveCNc2f0wf.js → movebJvf1oPR.js} +1 -1
- package/dist/components/{next-o3fIifP.js → nextC6ATDCIW.js} +1 -1
- package/dist/components/{nextBX5bmT1e.js → nextDdiDIgB2.js} +1 -1
- package/dist/components/{prevDRvSbFTC.js → prevC43MjkJW.js} +1 -1
- package/dist/components/{prevkbxOICn5.js → prevD3zqAMQc.js} +1 -1
- package/dist/components/{processh0Wf3Q99.js → processCDMD34sa.js} +1 -1
- package/dist/components/processD1w3RPEQ.js +1 -0
- package/dist/components/{processBHqsEap8.js → processDR1VlciH.js} +65 -62
- package/dist/components/{processD06c6uax.js → processDq-wdwXj.js} +1 -1
- package/dist/components/{rotateCxZ7Z2pw.js → rotateB2TKrdOd.js} +1 -1
- package/dist/components/{rotateCm7bVQY_.js → rotateCVpCm-tK.js} +1 -1
- package/dist/components/rotateDEPrY9R8.js +1 -0
- package/dist/components/rotateD_vW_yY0.js +131 -0
- package/dist/components/{settingCzWjOOeH.js → settingB6ugQHJp.js} +1 -1
- package/dist/components/settingCqgEfv1i.js +147 -0
- package/dist/components/settingDCqhAo43.js +1 -0
- package/dist/components/{settinghh-xgIto.js → settingDgfjjrts.js} +1 -1
- package/dist/components/{tailorBalVOrgz.js → tailorCBjKU02K.js} +1 -1
- package/dist/components/{tailorCvZYsl2H.js → tailorDzvy19FE.js} +1 -1
- package/dist/components/{useCommonDs02MG_d.js → useCommonBD-xKHu3.js} +1 -1
- package/dist/components/{useCommonBBhfDvWF.js → useCommonBD90FQd0.js} +1 -1
- package/dist/components/zoomB5HF8Hai.js +63 -0
- package/dist/components/zoomBcO2XFbA.js +1 -0
- package/dist/components/{zoomIn8-tgvQFE.js → zoomInBrNwgimx.js} +1 -1
- package/dist/components/{zoomInBFjk_aLI.js → zoomInC3EAqFg-.js} +1 -1
- package/dist/components/{zoomOutC4Ami8gE.js → zoomOutDafuMDlQ.js} +1 -1
- package/dist/components/{zoomOutD3_PopeU.js → zoomOutGi1JWbc1.js} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.es.js +1 -1
- package/package.json +3 -4
- package/types/components/KfbSlideList.vue.d.ts +6 -3
- package/types/components/KfbView/index.d.ts +4 -1
- package/types/components/KfbView/index.vue.d.ts +5 -1
- package/types/components/KfbView/useLabel.d.ts +3 -84
- package/types/components/KfbView/useVoice.d.ts +88 -3
- package/types/components/toolbox/useCommon.d.ts +1 -1
- package/types/index.d.ts +41 -23
- package/types/index.vue.d.ts +15 -8
- package/types/instances.d.ts +3 -0
- package/types/plugins/i18n.d.ts +2 -2
- package/dist/components/annotateCqAOjkGt.js +0 -132
- package/dist/components/annotateDfW6BtgB.js +0 -1
- package/dist/components/customLw3nDjEr.js +0 -48
- package/dist/components/customSv562l99.js +0 -1
- package/dist/components/dotC4Q5qfQ3.js +0 -122
- package/dist/components/dotDO8OTl1O.js +0 -1
- package/dist/components/downloadCyOnwVa8.js +0 -1
- package/dist/components/downloadGCe-OpHT.js +0 -88
- package/dist/components/fullscreenBeGbvwYS.js +0 -1
- package/dist/components/fullscreenDvfoQFJX.js +0 -60
- package/dist/components/indexCBVjt8NT.js +0 -4
- package/dist/components/indexDOcglE90.js +0 -2948
- package/dist/components/microscopeB6hcfWtD.js +0 -1
- package/dist/components/microscopeD4o4Sywm.js +0 -129
- package/dist/components/moveBM4KQ8bE.js +0 -83
- package/dist/components/movemH2hKtp1.js +0 -1
- package/dist/components/processBqhO-55V.js +0 -1
- package/dist/components/rotateBdsvaWJ_.js +0 -140
- package/dist/components/rotateCyw4Ggca.js +0 -1
- package/dist/components/settingC3yidTns.js +0 -156
- package/dist/components/settingDDEEOrtI.js +0 -1
- package/dist/components/zoomCWKzKF3-.js +0 -1
- package/dist/components/zoomcWHR4OY6.js +0 -72
|
@@ -0,0 +1,51 @@
|
|
|
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 "./fullscreenCxtySrDu.js";
|
|
4
|
+
import { u as _, d as B } from "./useCommonBD-xKHu3.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
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),g=require("element-plus"),z=require("./fullscreenoNyXD8h3.js"),o=require("./useCommonBD90FQd0.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 +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("./indexBkFttmTs.js"),r={},n={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"};function o(s,e){return C.openBlock(),C.createElementBlock("svg",n,e[0]||(e[0]=[C.createElementVNode("g",{id:"24*24/å…¨å±"},[C.createElementVNode("path",{id:"Vector",d:"M4.25 5H19.75C20.0814 5.00037 20.3991 5.13219 20.6335 5.36653C20.8678 5.60087 20.9996 5.91859 21 6.25V17.75C20.9996 18.0814 20.8678 18.3991 20.6335 18.6335C20.3991 18.8678 20.0814 18.9996 19.75 19H4.25C3.91859 18.9996 3.60087 18.8678 3.36653 18.6335C3.13219 18.3991 3.00037 18.0814 3 17.75V6.25C3.00037 5.91859 3.13219 5.60087 3.36653 5.36653C3.60087 5.13219 3.91859 5.00037 4.25 5ZM5.5 20H2.25C2.1837 20 2.12011 19.9737 2.07322 19.9268C2.02634 19.8799 2 19.8163 2 19.75V16.5C2 16.3674 1.94732 16.2402 1.85355 16.1464C1.75979 16.0527 1.63261 16 1.5 16C1.36739 16 1.24021 16.0527 1.14645 16.1464C1.05268 16.2402 1 16.3674 1 16.5V19.75C1.00037 20.0814 1.13219 20.3991 1.36653 20.6335C1.60087 20.8678 1.91859 20.9996 2.25 21H5.5C5.63261 21 5.75979 20.9473 5.85355 20.8536C5.94732 20.7598 6 20.6326 6 20.5C6 20.3674 5.94732 20.2402 5.85355 20.1464C5.75979 20.0527 5.63261 20 5.5 20ZM1.5 8C1.63261 8 1.75979 7.94732 1.85355 7.85355C1.94732 7.75978 2 7.63261 2 7.5V4.25C2 4.1837 2.02634 4.12011 2.07322 4.07322C2.12011 4.02634 2.1837 4 2.25 4H5.5C5.63261 4 5.75979 3.94732 5.85355 3.85355C5.94732 3.75979 6 3.63261 6 3.5C6 3.36739 5.94732 3.24021 5.85355 3.14645C5.75979 3.05268 5.63261 3 5.5 3H2.25C1.91859 3.00037 1.60087 3.13219 1.36653 3.36653C1.13219 3.60087 1.00037 3.91859 1 4.25V7.5C1 7.63261 1.05268 7.75978 1.14645 7.85355C1.24021 7.94732 1.36739 8 1.5 8ZM22.5 16C22.4343 16 22.3693 16.0129 22.3087 16.0381C22.248 16.0632 22.1929 16.1 22.1464 16.1464C22.1 16.1929 22.0632 16.248 22.0381 16.3087C22.0129 16.3693 22 16.4343 22 16.5V19.75C22 19.8163 21.9737 19.8799 21.9268 19.9268C21.8799 19.9737 21.8163 20 21.75 20H18.5C18.3674 20 18.2402 20.0527 18.1464 20.1464C18.0527 20.2402 18 20.3674 18 20.5C18 20.6326 18.0527 20.7598 18.1464 20.8536C18.2402 20.9473 18.3674 21 18.5 21H21.75C22.0814 20.9996 22.3991 20.8678 22.6335 20.6335C22.8678 20.3991 22.9996 20.0814 23 19.75V16.5C23 16.3674 22.9473 16.2402 22.8536 16.1464C22.7598 16.0527 22.6326 16 22.5 16ZM21.75 3H18.5C18.3674 3 18.2402 3.05268 18.1464 3.14645C18.0527 3.24021 18 3.36739 18 3.5C18 3.63261 18.0527 3.75979 18.1464 3.85355C18.2402 3.94732 18.3674 4 18.5 4H21.75C21.8163 4 21.8799 4.02634 21.9268 4.07322C21.9737 4.12011 22 4.1837 22 4.25V7.5C22 7.63261 22.0527 7.75978 22.1464 7.85355C22.2402 7.94732 22.3674 8 22.5 8C22.6326 8 22.7598 7.94732 22.8536 7.85355C22.9473 7.75978 23 7.63261 23 7.5V4.25C22.9996 3.91859 22.8678 3.60087 22.6335 3.36653C22.3991 3.13219 22.0814 3.00037 21.75 3Z"})],-1)]))}const c=t._export_sfc(r,[["render",o]]);exports.default=c;
|