@lingshugroup/web-plus 2.0.2 → 2.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/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_image/Index.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/preview_image/Index.vue/index.js +3 -3
- 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 +22 -21
- 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/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-a59f8ae9"]]);exports.default=u;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./index2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import a from "../../../../../_virtual/_plugin-vue_export-helper/index.js";
|
|
4
|
+
const m = /* @__PURE__ */ a(o, [["__scopeId", "data-v-a59f8ae9"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var f=Object.defineProperty;var t=(o,r)=>f(o,"name",{value:r,configurable:!0});Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),
|
|
1
|
+
"use strict";var f=Object.defineProperty;var t=(o,r)=>f(o,"name",{value:r,configurable:!0});Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../Image.vue/index.cjs"),v=require("../../_hooks/usePreviewHook/index.cjs"),g=require("../../_constants/previewType/index.cjs"),C=require("../../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge/index.cjs"),w=e.defineComponent({name:"LSPreviewImage"}),k=e.defineComponent({...w,name:"LSPreviewImage",components:{LSImage:i.default},inheritAttrs:!1,props:e.mergeModels(g.lsPreviewProp,{modelValue:{type:Boolean},modelModifiers:{}}),emits:e.mergeModels(["loadComplete","loadError"],["update:modelValue"]),setup(o,{emit:r}){const l=r,a=o,n=e.useModel(o,"modelValue"),{comClass:m,defAttrs:u,closeLoading:s}=v.default(a,n),c=t(()=>{s(),l("loadComplete")},"loadComplete"),p=t(()=>{s(),l("loadError")},"loadError");return(d,M)=>n.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(m))},[e.createVNode(i.default,e.mergeProps(e.unref(C.default)(e.unref(u),d.$attrs),{"hide-on-click-modal":a.hideOnClickModal,onLoadComplete:c,onLoadError:p}),{viewer:e.withCtx(()=>[e.renderSlot(d.$slots,"viewer",{},void 0,!0)]),_:3},16,["hide-on-click-modal"])],2)):e.createCommentVNode("",!0)}});exports.default=k;
|
|
@@ -1,46 +1,47 @@
|
|
|
1
1
|
var C = Object.defineProperty;
|
|
2
2
|
var r = (e, o) => C(e, "name", { value: o, configurable: !0 });
|
|
3
|
-
import { defineComponent as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { lsPreviewProp as
|
|
7
|
-
import
|
|
8
|
-
const
|
|
3
|
+
import { defineComponent as c, mergeModels as d, useModel as w, createElementBlock as g, createCommentVNode as k, openBlock as h, normalizeClass as L, unref as t, createVNode as P, mergeProps as V, withCtx as E, renderSlot as _ } from "vue";
|
|
4
|
+
import n from "../Image.vue/index.js";
|
|
5
|
+
import M from "../../_hooks/usePreviewHook/index.js";
|
|
6
|
+
import { lsPreviewProp as S } from "../../_constants/previewType/index.js";
|
|
7
|
+
import B from "../../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge/index.js";
|
|
8
|
+
const I = c({
|
|
9
9
|
name: "LSPreviewImage"
|
|
10
|
-
}), H = /* @__PURE__ */
|
|
11
|
-
...
|
|
10
|
+
}), H = /* @__PURE__ */ c({
|
|
11
|
+
...I,
|
|
12
12
|
name: "LSPreviewImage",
|
|
13
13
|
components: {
|
|
14
|
-
LSImage:
|
|
14
|
+
LSImage: n
|
|
15
15
|
},
|
|
16
16
|
inheritAttrs: !1,
|
|
17
|
-
props: /* @__PURE__ */
|
|
17
|
+
props: /* @__PURE__ */ d(S, {
|
|
18
18
|
modelValue: {
|
|
19
19
|
type: Boolean
|
|
20
20
|
},
|
|
21
21
|
modelModifiers: {}
|
|
22
22
|
}),
|
|
23
|
-
emits: /* @__PURE__ */
|
|
23
|
+
emits: /* @__PURE__ */ d(["loadComplete", "loadError"], ["update:modelValue"]),
|
|
24
24
|
setup(e, { emit: o }) {
|
|
25
|
-
const
|
|
26
|
-
s(),
|
|
25
|
+
const l = o, m = e, a = w(e, "modelValue"), { comClass: p, defAttrs: u, closeLoading: s } = M(m, a), f = /* @__PURE__ */ r(() => {
|
|
26
|
+
s(), l("loadComplete");
|
|
27
27
|
}, "loadComplete"), v = /* @__PURE__ */ r(() => {
|
|
28
|
-
s(),
|
|
28
|
+
s(), l("loadError");
|
|
29
29
|
}, "loadError");
|
|
30
|
-
return (
|
|
30
|
+
return (i, y) => a.value ? (h(), g("div", {
|
|
31
31
|
key: 0,
|
|
32
|
-
class:
|
|
32
|
+
class: L(t(p))
|
|
33
33
|
}, [
|
|
34
|
-
|
|
34
|
+
P(n, V(t(B)(t(u), i.$attrs), {
|
|
35
|
+
"hide-on-click-modal": m.hideOnClickModal,
|
|
35
36
|
onLoadComplete: f,
|
|
36
37
|
onLoadError: v
|
|
37
38
|
}), {
|
|
38
|
-
viewer:
|
|
39
|
-
|
|
39
|
+
viewer: E(() => [
|
|
40
|
+
_(i.$slots, "viewer", {}, void 0, !0)
|
|
40
41
|
]),
|
|
41
42
|
_: 3
|
|
42
|
-
}, 16)
|
|
43
|
-
], 2)) :
|
|
43
|
+
}, 16, ["hide-on-click-modal"])
|
|
44
|
+
], 2)) : k("", !0);
|
|
44
45
|
}
|
|
45
46
|
});
|
|
46
47
|
export {
|
|
Binary file
|
|
Binary file
|