@lingshugroup/web-plus 1.0.35 → 1.0.37
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/lib/index.css +1 -1
- package/lib/index.css.br +0 -0
- package/lib/index.css.gz +0 -0
- package/lib/packages/ls-components/components/preview_docx/Docx.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/preview_docx/Docx.vue/index.js +2 -2
- package/lib/packages/ls-components/components/preview_docx/Index.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/preview_docx/Index.vue/index.js +2 -2
- package/lib/packages/ls-components/components/preview_docx/Index.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/preview_docx/Index.vue/index2.js +42 -42
- package/lib/packages/ls-components/components/preview_docx/Index.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/preview_docx/Index.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_image/Image.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/preview_image/Image.vue/index.js +2 -2
- package/lib/packages/ls-components/components/preview_image/Image.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/preview_image/Image.vue/index2.js +159 -149
- package/lib/packages/ls-components/components/preview_image/Image.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/preview_image/Image.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_image/Index.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/preview_image/Index.vue/index.js +2 -2
- package/lib/packages/ls-components/components/preview_image/Index.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/preview_image/Index.vue/index2.js +44 -44
- package/lib/packages/ls-components/components/preview_image/Index.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/preview_image/Index.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_pdf/Index.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/preview_pdf/Index.vue/index.js +4 -4
- package/lib/packages/ls-components/components/preview_pdf/Index.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/preview_pdf/Index.vue/index2.js +38 -38
- package/lib/packages/ls-components/components/preview_pdf/Index.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/preview_pdf/Index.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_xlsx/Index.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/preview_xlsx/Index.vue/index.js +1 -1
- package/lib/packages/ls-components/components/preview_xlsx/Index.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/preview_xlsx/Index.vue/index2.js +41 -41
- package/lib/packages/ls-components/components/preview_xlsx/Index.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/preview_xlsx/Index.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/upload/Index.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/upload/Index.vue/index.js +2 -2
- package/lib/packages/ls-components/components/upload/Index.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/upload/Index.vue/index2.js +111 -104
- package/lib/packages/ls-components/components/upload/Index.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/upload/Index.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/upload/types/index.cjs +1 -1
- package/lib/packages/ls-components/components/upload/types/index.js +4 -0
- package/lib/packages/ls-components/components/upload/types/index.js.br +0 -0
- package/lib/packages/ls-components/components/upload/types/index.js.gz +0 -0
- package/package.json +1 -1
package/lib/index.css.br
CHANGED
|
Binary file
|
package/lib/index.css.gz
CHANGED
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=;/* empty css */;/* empty css */const t=,/* empty css */u=t.default(e.default,[["__scopeId","data-v-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=;/* empty css */;/* empty css */const t=,/* empty css */u=t.default(e.default,[["__scopeId","data-v-8788fe98"]]);exports.default=u;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./index2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../../_virtual/_plugin-vue_export-helper/index.js";
|
|
4
|
-
const
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8788fe98"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=;/* empty css */;/* empty css */const t=,/* empty css */u=t.default(e.default,[["__scopeId","data-v-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=;/* empty css */;/* empty css */const t=,/* empty css */u=t.default(e.default,[["__scopeId","data-v-5fd3b66d"]]);exports.default=u;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./index2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import r from "../../../../../_virtual/_plugin-vue_export-helper/index.js";
|
|
4
|
-
const
|
|
4
|
+
const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-5fd3b66d"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var L=Object.defineProperty;var n=(s,u)=>L(s,"name",{value:u,configurable:!0});Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),C=,/* empty css */f=,/* empty css */M=,/* empty css */E=require("element-plus");;/* empty css */;/* empty css */;/* empty css */const P=,/* empty css */_=,/* empty css */S=e.defineComponent({name:"LSPreviewDocx"}),w=e.defineComponent({...S,name:"LSPreviewDocx",components:{LSDocx:f.default},inheritAttrs:!1,props:e.mergeModels(M.lsPreviewProp,{modelValue:{type:Boolean},modelModifiers:{}}),emits:e.mergeModels(["loadComplete","loadError"],["update:modelValue"]),setup(s,{emit:u}){const i=u,o=s,{zoomSize:p}=e.toRefs(o),r=e.useModel(s,"modelValue"),d=e.reactive({zoomSize:p,source:""}),v=C.useNamespace("preview").b(),c=e.ref();let a=null;e.watch(()=>r==null?void 0:r.value,t=>{t&&m()},{immediate:!0,deep:!0}),e.watch(()=>o.source,t=>{d.source=t},{immediate:!0,deep:!0});function m(){o.needLoading&&(c.value=E.ElLoading.service(o.loadingOption)),a=setTimeout(()=>{o.source||(P.ElMessage.error("文件加载超时,请检查文件是否存在!"),l(),r.value=!1),clearTimeout(a)},6e3)}n(m,"openLoading");const l=n(()=>{a&&clearTimeout(a),o.needLoading&&c.value&&c.value.close()},"closeLoading"),g=n(()=>{l(),i("loadComplete")},"loadComplete"),q=n(()=>{l(),i("loadError")},"loadError");return e.onBeforeMount(()=>{r.value&&m()}),e.onBeforeUnmount(()=>{l()}),(t,B)=>r.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(v))},[e.createVNode(f.default,e.mergeProps(e.unref(_.default)(e.unref(d),t.$attrs),{onLoadComplete:g,onLoadError:q}),null,16)],2)):e.createCommentVNode("",!0)}});exports.default=w;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
var
|
|
2
|
-
var t = (n, l) =>
|
|
3
|
-
import { defineComponent as
|
|
4
|
-
import { useNamespace as
|
|
5
|
-
import
|
|
6
|
-
import { lsPreviewProp as
|
|
7
|
-
import { ElLoading as
|
|
1
|
+
var M = Object.defineProperty;
|
|
2
|
+
var t = (n, l) => M(n, "name", { value: l, configurable: !0 });
|
|
3
|
+
import { defineComponent as g, mergeModels as p, toRefs as P, useModel as _, reactive as w, ref as x, watch as f, onBeforeMount as S, onBeforeUnmount as V, openBlock as h, createElementBlock as k, normalizeClass as z, unref as i, createVNode as D, mergeProps as N, createCommentVNode as T } from "vue";
|
|
4
|
+
import { useNamespace as y } from "../../_hooks/useNamespace/index.js";
|
|
5
|
+
import v from "../Docx.vue/index.js";
|
|
6
|
+
import { lsPreviewProp as A } from "../types/index.js";
|
|
7
|
+
import { ElLoading as I } from "element-plus";
|
|
8
8
|
/* empty css */
|
|
9
9
|
/* empty css */
|
|
10
10
|
/* empty css */
|
|
11
|
-
import { ElMessage as
|
|
12
|
-
import
|
|
13
|
-
const
|
|
11
|
+
import { ElMessage as O } from "../../../../../node_modules/.pnpm/element-plus@2.8.1_vue@3.5.13_typescript@5.5.4_/node_modules/element-plus/es/components/message/index/index.js";
|
|
12
|
+
import R from "../../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge/index.js";
|
|
13
|
+
const U = g({
|
|
14
14
|
name: "LSPreviewDocx"
|
|
15
|
-
}),
|
|
16
|
-
|
|
15
|
+
}), Z = /* @__PURE__ */ g({
|
|
16
|
+
...U,
|
|
17
17
|
name: "LSPreviewDocx",
|
|
18
18
|
components: {
|
|
19
|
-
LSDocx:
|
|
19
|
+
LSDocx: v
|
|
20
20
|
},
|
|
21
21
|
inheritAttrs: !1,
|
|
22
|
-
props: /* @__PURE__ */ p(
|
|
22
|
+
props: /* @__PURE__ */ p(A, {
|
|
23
23
|
modelValue: {
|
|
24
24
|
type: Boolean
|
|
25
25
|
},
|
|
@@ -27,58 +27,58 @@ const $ = L({
|
|
|
27
27
|
}),
|
|
28
28
|
emits: /* @__PURE__ */ p(["loadComplete", "loadError"], ["update:modelValue"]),
|
|
29
29
|
setup(n, { emit: l }) {
|
|
30
|
-
const
|
|
31
|
-
zoomSize:
|
|
30
|
+
const c = l, e = n, { zoomSize: L } = P(e), o = _(n, "modelValue"), d = w({
|
|
31
|
+
zoomSize: L,
|
|
32
32
|
source: ""
|
|
33
|
-
}),
|
|
33
|
+
}), C = y("preview").b(), s = x();
|
|
34
34
|
let a = null;
|
|
35
|
-
|
|
35
|
+
f(
|
|
36
36
|
() => o == null ? void 0 : o.value,
|
|
37
37
|
(r) => {
|
|
38
|
-
r &&
|
|
38
|
+
r && u();
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
41
|
immediate: !0,
|
|
42
42
|
deep: !0
|
|
43
43
|
}
|
|
44
|
-
),
|
|
44
|
+
), f(
|
|
45
45
|
() => e.source,
|
|
46
46
|
(r) => {
|
|
47
|
-
|
|
47
|
+
d.source = r;
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
50
|
immediate: !0,
|
|
51
51
|
deep: !0
|
|
52
52
|
}
|
|
53
53
|
);
|
|
54
|
-
function
|
|
55
|
-
e.needLoading && (
|
|
56
|
-
e.source || (
|
|
54
|
+
function u() {
|
|
55
|
+
e.needLoading && (s.value = I.service(e.loadingOption)), a = setTimeout(() => {
|
|
56
|
+
e.source || (O.error("文件加载超时,请检查文件是否存在!"), m(), o.value = !1), clearTimeout(a);
|
|
57
57
|
}, 6e3);
|
|
58
58
|
}
|
|
59
|
-
t(
|
|
60
|
-
const
|
|
61
|
-
a && clearTimeout(a), e.needLoading &&
|
|
62
|
-
}, "closeLoading"),
|
|
63
|
-
|
|
64
|
-
}, "loadComplete"),
|
|
65
|
-
|
|
59
|
+
t(u, "openLoading");
|
|
60
|
+
const m = /* @__PURE__ */ t(() => {
|
|
61
|
+
a && clearTimeout(a), e.needLoading && s.value && s.value.close();
|
|
62
|
+
}, "closeLoading"), E = /* @__PURE__ */ t(() => {
|
|
63
|
+
m(), c("loadComplete");
|
|
64
|
+
}, "loadComplete"), B = /* @__PURE__ */ t(() => {
|
|
65
|
+
m(), c("loadError");
|
|
66
66
|
}, "loadError");
|
|
67
|
-
return
|
|
68
|
-
o.value &&
|
|
69
|
-
}),
|
|
70
|
-
|
|
71
|
-
}), (r,
|
|
67
|
+
return S(() => {
|
|
68
|
+
o.value && u();
|
|
69
|
+
}), V(() => {
|
|
70
|
+
m();
|
|
71
|
+
}), (r, b) => o.value ? (h(), k("div", {
|
|
72
72
|
key: 0,
|
|
73
|
-
class:
|
|
73
|
+
class: z(i(C))
|
|
74
74
|
}, [
|
|
75
|
-
|
|
76
|
-
onLoadComplete:
|
|
77
|
-
onLoadError:
|
|
75
|
+
D(v, N(i(R)(i(d), r.$attrs), {
|
|
76
|
+
onLoadComplete: E,
|
|
77
|
+
onLoadError: B
|
|
78
78
|
}), null, 16)
|
|
79
|
-
], 2)) :
|
|
79
|
+
], 2)) : T("", !0);
|
|
80
80
|
}
|
|
81
81
|
});
|
|
82
82
|
export {
|
|
83
|
-
|
|
83
|
+
Z as default
|
|
84
84
|
};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=;/* empty css */;/* empty css */const t=,/* empty css */u=t.default(e.default,[["__scopeId","data-v-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=;/* empty css */;/* empty css */const t=,/* empty css */u=t.default(e.default,[["__scopeId","data-v-938c8f87"]]);exports.default=u;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./index2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../../../../_virtual/_plugin-vue_export-helper/index.js";
|
|
4
|
-
const
|
|
4
|
+
const f = /* @__PURE__ */ t(o, [["__scopeId", "data-v-938c8f87"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
f as default
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var te=Object.defineProperty;var r=(z,I)=>te(z,"name",{value:I,configurable:!0});Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),w=require("../../../../../node_modules/.pnpm/@vueuse_core@12.0.0_typescript@5.5.4/node_modules/@vueuse/core/index/index.cjs"),oe=require("../../_hooks/useNamespace/index.cjs"),se=require("../../_hooks/useZIndex/index.cjs"),E=require("../../_constants/aria/index.cjs"),F=require("../../_utils/check/index.cjs"),re=require("../../_utils/types/index.cjs"),_=require("../types/index.cjs"),f=require("../../icon/Index.vue/index.cjs"),L=require("../../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/throttle/index.cjs"),j=require("../../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge/index.cjs"),ae=["src"],le=["src"],ie=e.defineComponent({name:"LSImage"}),ce=e.defineComponent({...ie,props:_.imageViewerProps,emits:_.previewEmits,setup(z,{expose:I,emit:Z}){const v={CONTAIN:{name:"FullScreen"},ORIGINAL:{name:"ScaleToOriginal"}},H=F.isFirefox()?"DOMMouseScroll":"mousewheel",l=z,h=Z,s=oe.useNamespace("image"),{nextZIndex:P}=se.useZIndex(),V=e.ref(),T=e.ref([]),S=e.effectScope(),g=e.ref(!0),u=e.ref(l.initialIndex),N=e.shallowRef(v.CONTAIN),a=e.reactive({scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1,width:"auto",height:"auto",objectFit:"none"}),G=e.computed(()=>{const{source:n}=l;return F.isString(n)||n.length<=1}),B=e.computed(()=>u.value===0),D=e.computed(()=>u.value===l.source.length-1),W=e.computed(()=>l.source[u.value]),M=e.computed(()=>{const{scale:n,deg:t,offsetX:o,offsetY:i,enableTransition:c,width:b,height:x,objectFit:C}=a;let m=o/n,p=i/n;switch(t%360){case 90:case-270:[m,p]=[p,-m];break;case 180:case-180:[m,p]=[-m,-p];break;case 270:case-90:[m,p]=[-p,m];break}const k={transform:`scale(${n}) rotate(${t}deg) translate(${m}px, ${p}px)`,transition:c?"transform .3s":""};return N.value.name===v.CONTAIN.name&&(k.maxWidth=k.maxHeight="100%"),k.width=b,k.height=x,k.objectFit=C,k}),J=e.computed(()=>F.isNumber(l.zIndex)?l.zIndex:P()),K=r(()=>{l.onClose&&l.onClose(),h("update:source",[])},"closeFunc");function O(){U(),K()}r(O,"hide");function Q(){const n=L.default(o=>{switch(o.code){case E.EVENT_CODE.esc:l.closeOnPressEscape&&O();break;case E.EVENT_CODE.space:X();break;case E.EVENT_CODE.left:Y();break;case E.EVENT_CODE.up:d("zoomIn");break;case E.EVENT_CODE.right:$();break;case E.EVENT_CODE.down:d("zoomOut");break}}),t=L.default(o=>{(o.wheelDelta?o.wheelDelta:-o.detail)>0?d("zoomIn",{zoomRate:1.2,enableTransition:!1}):d("zoomOut",{zoomRate:1.2,enableTransition:!1})});S.run(()=>{w.useEventListener(document,"keydown",n),w.useEventListener(document,H,t)})}r(Q,"registerEventListener");function U(){S.stop()}r(U,"unregisterEventListener");function q(){g.value=!1,h("loadComplete")}r(q,"handleImgLoad");function R(n){g.value=!1,n.target.alt="ls.image.error",h("loadError")}r(R,"handleImgError");function A(n){if(g.value||n.button!==0||!V.value)return;a.enableTransition=!1;const{offsetX:t,offsetY:o}=a,i=n.pageX,c=n.pageY,b=L.default(C=>{a.offsetX=t+C.pageX-i,a.offsetY=o+C.pageY-c}),x=w.useEventListener(document,"mousemove",b);w.useEventListener(document,"mouseup",()=>{x()}),n.preventDefault()}r(A,"handleMouseDown");function ee(){j.default(a,{scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1,width:"auto",height:"auto",objectFit:"none"})}r(ee,"reset");function ne(){j.default(a,{scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1,width:"100%",height:"100%",objectFit:"cover"})}r(ne,"fullScreen");function X(){if(g.value)return;const n=re.keysOf(v),t=Object.values(v),o=N.value.name,c=(t.findIndex(b=>b.name===o)+1)%n.length;N.value=v[n[c]],o===v.CONTAIN.name?ne():ee()}r(X,"toggleMode");function y(n){const t=l.source.length;u.value=(n+t)%t}r(y,"setActiveItem");function Y(){B.value&&!l.infinite||y(u.value-1)}r(Y,"prev");function $(){D.value&&!l.infinite||y(u.value+1)}r($,"next");function d(n,t={}){if(g.value)return;const{zoomRate:o,rotateDeg:i,enableTransition:c}={zoomRate:1.4,rotateDeg:90,enableTransition:!0,...t};switch(n){case"zoomOut":a.scale>.2&&(a.scale=Number.parseFloat((a.scale/o).toFixed(3)));break;case"zoomIn":a.scale<7&&(a.scale=Number.parseFloat((a.scale*o).toFixed(3)));break;case"clockwise":a.deg+=i;break;case"anticlockwise":a.deg-=i;break}a.enableTransition=c}return r(d,"handleActions"),e.watch(W,()=>{e.nextTick(()=>{const n=T.value[0];n!=null&&n.complete||(g.value=!0)})}),e.watch(u,n=>{h("switch",n)}),e.onMounted(()=>{var n,t;Q(),(t=(n=V.value)==null?void 0:n.focus)==null||t.call(n)}),I({setActiveItem:y}),(n,t)=>(e.openBlock(),e.createElementBlock("div",null,[(e.openBlock(),e.createBlock(e.Teleport,{to:"body",disabled:!n.teleported},[e.createVNode(e.Transition,{name:"viewer-fade",appear:""},{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"wrapper",ref:V,tabindex:-1,class:e.normalizeClass(e.unref(s).e("wrapper")),style:e.normalizeStyle({zIndex:e.unref(J)})},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(s).e("mask")),onClick:t[0]||(t[0]=e.withModifiers(o=>n.hideOnClickModal&&O(),["self"]))},null,2),e.createElementVNode("span",{class:e.normalizeClass([e.unref(s).e("btn"),e.unref(s).e("close")]),onClick:O},[e.createVNode(f.default,{name:"Close",size:24,color:"#FFF"})],2),e.unref(G)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",{class:e.normalizeClass([e.unref(s).e("btn"),e.unref(s).e("prev"),e.unref(s).is("disabled",!n.infinite&&e.unref(B))]),onClick:Y},[e.createVNode(f.default,{name:"ArrowLeft",size:24,color:"#FFF"})],2),e.createElementVNode("span",{class:e.normalizeClass([e.unref(s).e("btn"),e.unref(s).e("next"),e.unref(s).is("disabled",!n.infinite&&e.unref(D))]),onClick:$},[e.createVNode(f.default,{name:"ArrowRight",size:24,color:"#FFF"})],2)],64)),e.createElementVNode("div",{class:e.normalizeClass([e.unref(s).e("btn"),e.unref(s).e("actions")])},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(s).e("actions__inner"))},[e.createVNode(f.default,{name:"ZoomOut",size:24,color:"#FFF",onClick:t[1]||(t[1]=o=>d("zoomOut"))}),e.createVNode(f.default,{name:"ZoomIn",size:24,color:"#FFF",onClick:t[2]||(t[2]=o=>d("zoomIn"))}),e.createElementVNode("i",{class:e.normalizeClass(e.unref(s).e("actions__divider"))},null,2),e.createVNode(f.default,{name:e.unref(N).name,size:24,color:"#FFF",onClick:X},null,8,["name"]),e.createElementVNode("i",{class:e.normalizeClass(e.unref(s).e("actions__divider"))},null,2),e.createVNode(f.default,{name:"RefreshLeft",size:24,color:"#FFF",onClick:t[3]||(t[3]=o=>d("anticlockwise"))}),e.createVNode(f.default,{name:"RefreshRight",size:24,color:"#FFF",onClick:t[4]||(t[4]=o=>d("clockwise"))})],2)],2),n.source?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(s).e("canvas"))},[e.unref(F.isArray)(n.source)?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(n.source,(o,i)=>e.withDirectives((e.openBlock(),e.createElementBlock("img",{ref_for:!0,ref:r(c=>e.unref(T)[i]=c,"ref"),key:o,src:o,style:e.normalizeStyle(e.unref(M)),class:e.normalizeClass(e.unref(s).e("img")),onLoad:q,onError:R,onMousedown:A},null,46,ae)),[[e.vShow,i===e.unref(u)]])),128)):(e.openBlock(),e.createElementBlock("img",{ref:r(o=>e.unref(T)[0]=o,"ref"),key:n.source,src:n.source,style:e.normalizeStyle(e.unref(M)),class:e.normalizeClass(e.unref(s).e("img")),onLoad:q,onError:R,onMousedown:A},null,46,le))],2)):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"default",{},void 0,!0)],6)]),_:3})],8,["disabled"]))]))}});exports.default=ce;
|