@lingshugroup/web-plus 1.8.3 → 1.8.4
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/layout/components/Header.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/layout/components/Header.vue/index.js +1 -1
- package/lib/packages/ls-components/components/layout/components/Header.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/layout/components/Header.vue/index2.js +50 -36
- package/lib/packages/ls-components/components/layout/components/Header.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/layout/components/Header.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/preview_pdf/Pdf.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/preview_pdf/Pdf.vue/index.js +3 -3
- 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-8515db90"]]);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 m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ r(o, [["__scopeId", "data-v-8515db90"]]);
|
|
5
5
|
export {
|
|
6
6
|
m as default
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var h=Object.defineProperty;var s=(o,r)=>h(o,"name",{value:r,configurable:!0});Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});;/* empty css */;/* empty css */const e=require("vue"),g=,/* empty css */l=,/* empty css */f=,/* empty css */k=,/* empty css */y=,/* empty css */v={class:"head-left"},N=["src"],_={class:"title"},S={class:"head-right"},B={class:"name"},E=e.defineComponent({__name:"Header",props:l.lsHeaderProp,emits:l.lsEmitNames,setup(o,{emit:r}){const a=r,c=e.useSlots(),i=g.useNamespace("header").b(),n=o,d=e.computed(()=>({lineHeight:n.height})),m=e.computed(()=>Number(n.height.replace("px",""))*.7);function u(t){a("onDropdownCommand2",t)}return s(u,"onDropdownCommand"),(t,q)=>{const p=y.ElAvatar;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(i)),style:e.normalizeStyle(e.unref(d))},[e.createElementVNode("div",v,[e.renderSlot(t.$slots,"left",{},void 0,!0),[1,2].includes(Number(t.mode))&&t.showLogo?(e.openBlock(),e.createElementBlock("img",{key:0,src:t.logo,style:e.normalizeStyle({height:`${e.unref(m)}px`}),alt:""},null,12,N)):e.createCommentVNode("",!0)]),e.createElementVNode("div",_,[e.unref(c).title?e.renderSlot(t.$slots,"title",{key:0},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(t.title),1)],64))]),e.createElementVNode("div",S,[e.renderSlot(t.$slots,"right",{},void 0,!0),t.showCommand?(e.openBlock(),e.createBlock(f.default,e.mergeProps({key:0},n,{onOnDropdownCommand:u}),null,16)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(p,{size:30,src:t.userIcon||e.unref(k.default),alt:""},null,8,["src"]),e.createElementVNode("div",B,e.toDisplayString(t.userName),1)],64))])],6)}}});exports.default=E;
|
|
@@ -1,45 +1,59 @@
|
|
|
1
|
-
var
|
|
2
|
-
var a = (
|
|
3
|
-
|
|
1
|
+
var _ = Object.defineProperty;
|
|
2
|
+
var a = (n, m) => _(n, "name", { value: m, configurable: !0 });
|
|
3
|
+
/* empty css */
|
|
4
|
+
/* empty css */
|
|
5
|
+
import { defineComponent as k, useSlots as w, computed as d, createElementBlock as s, openBlock as o, normalizeStyle as c, normalizeClass as S, unref as t, createElementVNode as r, renderSlot as i, createCommentVNode as D, Fragment as p, createTextVNode as E, toDisplayString as u, createBlock as H, mergeProps as V, createVNode as $ } from "vue";
|
|
4
6
|
import { useNamespace as b } from "../../../_hooks/useNamespace/index.js";
|
|
5
|
-
import { lsEmitNames as
|
|
6
|
-
import
|
|
7
|
-
|
|
7
|
+
import { lsEmitNames as z, lsHeaderProp as B } from "../../types/index.js";
|
|
8
|
+
import I from "../CommandList.vue/index.js";
|
|
9
|
+
import L from "../default_head.png/index.js";
|
|
10
|
+
import { ElAvatar as P } from "../../../../../../node_modules/.pnpm/element-plus@2.9.9_vue@3.5.13_typescript@5.8.3_/node_modules/element-plus/es/components/avatar/index/index.js";
|
|
11
|
+
const A = { class: "head-left" }, F = ["src"], O = { class: "title" }, T = { class: "head-right" }, U = { class: "name" }, Z = /* @__PURE__ */ k({
|
|
8
12
|
__name: "Header",
|
|
9
|
-
props:
|
|
10
|
-
emits:
|
|
11
|
-
setup(
|
|
12
|
-
const h =
|
|
13
|
-
lineHeight:
|
|
14
|
-
})), y = d(() => Number(
|
|
13
|
+
props: B,
|
|
14
|
+
emits: z,
|
|
15
|
+
setup(n, { emit: m }) {
|
|
16
|
+
const h = m, f = w(), g = b("header").b(), l = n, v = d(() => ({
|
|
17
|
+
lineHeight: l.height
|
|
18
|
+
})), y = d(() => Number(l.height.replace("px", "")) * 0.7);
|
|
15
19
|
function C(e) {
|
|
16
20
|
h("onDropdownCommand2", e);
|
|
17
21
|
}
|
|
18
|
-
return a(C, "onDropdownCommand"), (e,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
22
|
+
return a(C, "onDropdownCommand"), (e, q) => {
|
|
23
|
+
const N = P;
|
|
24
|
+
return o(), s("div", {
|
|
25
|
+
class: S(t(g)),
|
|
26
|
+
style: c(t(v))
|
|
27
|
+
}, [
|
|
28
|
+
r("div", A, [
|
|
29
|
+
i(e.$slots, "left", {}, void 0, !0),
|
|
30
|
+
[1, 2].includes(Number(e.mode)) && e.showLogo ? (o(), s("img", {
|
|
31
|
+
key: 0,
|
|
32
|
+
src: e.logo,
|
|
33
|
+
style: c({ height: `${t(y)}px` }),
|
|
34
|
+
alt: ""
|
|
35
|
+
}, null, 12, F)) : D("", !0)
|
|
36
|
+
]),
|
|
37
|
+
r("div", O, [
|
|
38
|
+
t(f).title ? i(e.$slots, "title", { key: 0 }, void 0, !0) : (o(), s(p, { key: 1 }, [
|
|
39
|
+
E(u(e.title), 1)
|
|
40
|
+
], 64))
|
|
41
|
+
]),
|
|
42
|
+
r("div", T, [
|
|
43
|
+
i(e.$slots, "right", {}, void 0, !0),
|
|
44
|
+
e.showCommand ? (o(), H(I, V({ key: 0 }, l, { onOnDropdownCommand: C }), null, 16)) : (o(), s(p, { key: 1 }, [
|
|
45
|
+
$(N, {
|
|
46
|
+
size: 30,
|
|
47
|
+
src: e.userIcon || t(L),
|
|
48
|
+
alt: ""
|
|
49
|
+
}, null, 8, ["src"]),
|
|
50
|
+
r("div", U, u(e.userName), 1)
|
|
51
|
+
], 64))
|
|
52
|
+
])
|
|
53
|
+
], 6);
|
|
54
|
+
};
|
|
41
55
|
}
|
|
42
56
|
});
|
|
43
57
|
export {
|
|
44
|
-
|
|
58
|
+
Z as default
|
|
45
59
|
};
|
|
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-aba443a2"]]);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-aba443a2"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
m as default
|
|
7
7
|
};
|