@lingshugroup/web-plus 2.1.0 → 2.1.1
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/bellMessage/Index.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/bellMessage/Index.vue/index.js +3 -3
- package/lib/packages/ls-components/components/chart/Index.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/chart/Index.vue/index.js +1 -1
- package/lib/packages/ls-components/components/descriptions/Index.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/descriptions/Index.vue/index.js +1 -1
- package/lib/packages/ls-components/components/descriptions/Index.vue/index2.cjs +1 -1
- package/lib/packages/ls-components/components/descriptions/Index.vue/index2.js +76 -78
- package/lib/packages/ls-components/components/descriptions/Index.vue/index2.js.br +0 -0
- package/lib/packages/ls-components/components/descriptions/Index.vue/index2.js.gz +0 -0
- package/lib/packages/ls-components/components/descriptions/types/index.cjs +1 -1
- package/lib/packages/ls-components/components/descriptions/types/index.js +2 -7
- package/lib/packages/ls-components/components/editor/Index.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/editor/Index.vue/index.js +2 -2
- package/lib/packages/ls-components/components/upload/Index.vue/index.cjs +1 -1
- package/lib/packages/ls-components/components/upload/Index.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-5125f923"]]);exports.default=u;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./index2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import t from "../../../../../_virtual/_plugin-vue_export-helper/index.js";
|
|
4
|
+
const _ = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5125f923"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
_ 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-75e6a7a8"]]);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 m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-75e6a7a8"]]);
|
|
5
5
|
export {
|
|
6
6
|
m 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-23d75aa4"]]);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 s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
4
|
+
const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-23d75aa4"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var g=Object.defineProperty;var p=(u,s)=>g(u,"name",{value:s,configurable:!0});Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});;/* empty css */;/* empty css */;/* empty css */const e=require("vue"),C=/* empty css */b=/* empty css */B=/* empty css */S=/* empty css */m=/* empty css */v=/* empty css */w={class:"cell-item"},D=e.defineComponent({name:"LSDescriptions"}),q=e.defineComponent({...D,props:B.lsDescProp,setup(u){const s=e.useSlots(),l=u,k=e.ref({column:1}),y=e.useAttrs(),i=e.ref(),h=S.useNamespace("descriptions").b();e.watch(()=>l.labelColor,async o=>{o&&c(o,1)},{deep:!0,immediate:!0}),e.watch(()=>l.labelBgColor,async o=>{o&&c(o,2)},{deep:!0,immediate:!0}),e.watch(()=>l.list,o=>{c(l.labelColor,2),c(l.labelBgColor,2),f(o.find(r=>r.labelWidth))},{immediate:!0,deep:!0}),e.watch(()=>y["label-width"],o=>{f(o||l.list.find(r=>r.labelWidth))},{immediate:!0,deep:!0});function f(o){e.nextTick(()=>{var r;o&&(((r=i.value)==null?void 0:r.querySelectorAll(".el-descriptions__content"))||[]).forEach(n=>{n.style.width="auto"})})}p(f,"updateLabelWidth");async function c(o,r){var n;await e.nextTick(),(((n=i.value)==null?void 0:n.querySelectorAll(".el-descriptions__label"))||[]).forEach(t=>{r===1?t.style.color=o:r===2&&(t.style.backgroundColor=o)})}return p(c,"updateLabelStyle"),(o,r)=>{const d=m.ElDescriptionsItem,n=m.ElDescriptions;return e.openBlock(),e.createElementBlock("div",{ref_key:"lsDescRef",ref:i,class:e.normalizeClass([e.unref(h),`column-${o.$attrs.column||1}`,o.$attrs.title||o.$attrs.extra||e.unref(s).title||e.unref(s).extra?"":"no-header"])},[e.createVNode(n,e.mergeProps(e.unref(v.default)(e.unref(k),o.$attrs),{border:""}),{title:e.withCtx(()=>[e.renderSlot(o.$slots,"title",{},void 0,!0)]),extra:e.withCtx(()=>[e.renderSlot(o.$slots,"extra",{},void 0,!0)]),default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.list,(t,_)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:_},[t.hide?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(d,e.mergeProps({key:0,ref_for:!0},t),{label:e.withCtx(()=>{var a;return[e.createElementVNode("div",w,[(a=t.iconConfig||{})!=null&&a.name||e.unref(s).icon?(e.openBlock(),e.createBlock(C.default,e.mergeProps({key:0,ref_for:!0},t.iconConfig),{default:e.withCtx(()=>[e.renderSlot(o.$slots,"icon",{},void 0,!0)]),_:2},1040)):e.createCommentVNode("",!0),e.createTextVNode(" "+e.toDisplayString(t==null?void 0:t.label),1)])]}),default:e.withCtx(()=>{var a;return[t.type==="date"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(t.value?e.unref(b.default)(t.value).format(t.format||"YYYY-MM-DD HH:mm:ss"):"--"),1)],64)):t.type==="select"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(((a=(t.propMap||{})[t.value])==null?void 0:a.label)||"--"),1)],64)):t.type=="slot"?e.renderSlot(o.$slots,t.slotName,{key:2,data:t==null?void 0:t.value},void 0,!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createTextVNode(e.toDisplayString((t==null?void 0:t.value)||(l.showZero?"0":"--")),1)],64))]}),_:2},1040))],64))),128))]),_:3},16)],2)}}});exports.default=q;
|
|
@@ -1,136 +1,134 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var V = Object.defineProperty;
|
|
2
|
+
var C = (b, i) => V(b, "name", { value: i, configurable: !0 });
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
5
5
|
/* empty css */
|
|
6
|
-
import { defineComponent as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { lsDescProp as
|
|
10
|
-
import { useNamespace as
|
|
11
|
-
import { ElDescriptions as
|
|
12
|
-
import
|
|
13
|
-
const
|
|
6
|
+
import { defineComponent as E, useSlots as Y, ref as g, useAttrs as M, watch as f, nextTick as $, createElementBlock as n, openBlock as r, normalizeClass as W, unref as l, createVNode as q, mergeProps as v, withCtx as c, Fragment as u, renderList as H, createBlock as S, createCommentVNode as w, renderSlot as m, createTextVNode as y, toDisplayString as _, createElementVNode as I } from "vue";
|
|
7
|
+
import P from "../../icon/Index.vue/index.js";
|
|
8
|
+
import R from "../../../../../_virtual/dayjs.min/index.js";
|
|
9
|
+
import { lsDescProp as T } from "../types/index.js";
|
|
10
|
+
import { useNamespace as j } from "../../_hooks/useNamespace/index.js";
|
|
11
|
+
import { ElDescriptions as z, ElDescriptionsItem as F } from "../../../../../node_modules/.pnpm/element-plus@2.10.6_vue@3.5.18_typescript@5.9.2_/node_modules/element-plus/es/components/descriptions/index/index.js";
|
|
12
|
+
import Z from "../../../../../node_modules/.pnpm/lodash-es@4.17.21/node_modules/lodash-es/merge/index.js";
|
|
13
|
+
const x = { class: "cell-item" }, G = E({
|
|
14
14
|
name: "LSDescriptions"
|
|
15
|
-
}),
|
|
16
|
-
...
|
|
17
|
-
props:
|
|
18
|
-
setup(
|
|
19
|
-
const
|
|
15
|
+
}), ae = /* @__PURE__ */ E({
|
|
16
|
+
...G,
|
|
17
|
+
props: T,
|
|
18
|
+
setup(b) {
|
|
19
|
+
const i = Y(), s = b, N = g({
|
|
20
20
|
column: 1
|
|
21
|
-
}),
|
|
22
|
-
|
|
23
|
-
() =>
|
|
21
|
+
}), B = M(), h = g(), L = j("descriptions").b();
|
|
22
|
+
f(
|
|
23
|
+
() => s.labelColor,
|
|
24
24
|
async (o) => {
|
|
25
|
-
o &&
|
|
25
|
+
o && p(o, 1);
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
deep: !0,
|
|
29
29
|
immediate: !0
|
|
30
30
|
}
|
|
31
|
-
),
|
|
32
|
-
() =>
|
|
31
|
+
), f(
|
|
32
|
+
() => s.labelBgColor,
|
|
33
33
|
async (o) => {
|
|
34
|
-
o &&
|
|
34
|
+
o && p(o, 2);
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
deep: !0,
|
|
38
38
|
immediate: !0
|
|
39
39
|
}
|
|
40
|
-
),
|
|
41
|
-
() =>
|
|
42
|
-
() => {
|
|
43
|
-
|
|
40
|
+
), f(
|
|
41
|
+
() => s.list,
|
|
42
|
+
(o) => {
|
|
43
|
+
p(s.labelColor, 2), p(s.labelBgColor, 2), D(o.find((t) => t.labelWidth));
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
immediate: !0,
|
|
47
47
|
deep: !0
|
|
48
48
|
}
|
|
49
|
-
),
|
|
50
|
-
() =>
|
|
49
|
+
), f(
|
|
50
|
+
() => B["label-width"],
|
|
51
51
|
(o) => {
|
|
52
|
-
|
|
52
|
+
D(o || s.list.find((t) => t.labelWidth));
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
55
|
immediate: !0,
|
|
56
56
|
deep: !0
|
|
57
57
|
}
|
|
58
58
|
);
|
|
59
|
-
function
|
|
60
|
-
|
|
61
|
-
var
|
|
62
|
-
o && (((
|
|
63
|
-
|
|
64
|
-
})
|
|
65
|
-
i.style.width = "auto";
|
|
66
|
-
}));
|
|
59
|
+
function D(o) {
|
|
60
|
+
$(() => {
|
|
61
|
+
var t;
|
|
62
|
+
o && (((t = h.value) == null ? void 0 : t.querySelectorAll(".el-descriptions__content")) || []).forEach((a) => {
|
|
63
|
+
a.style.width = "auto";
|
|
64
|
+
});
|
|
67
65
|
});
|
|
68
66
|
}
|
|
69
|
-
|
|
70
|
-
async function
|
|
71
|
-
var
|
|
72
|
-
await
|
|
73
|
-
|
|
67
|
+
C(D, "updateLabelWidth");
|
|
68
|
+
async function p(o, t) {
|
|
69
|
+
var a;
|
|
70
|
+
await $(), (((a = h.value) == null ? void 0 : a.querySelectorAll(".el-descriptions__label")) || []).forEach((e) => {
|
|
71
|
+
t === 1 ? e.style.color = o : t === 2 && (e.style.backgroundColor = o);
|
|
74
72
|
});
|
|
75
73
|
}
|
|
76
|
-
return
|
|
77
|
-
const
|
|
78
|
-
return
|
|
74
|
+
return C(p, "updateLabelStyle"), (o, t) => {
|
|
75
|
+
const k = F, a = z;
|
|
76
|
+
return r(), n("div", {
|
|
79
77
|
ref_key: "lsDescRef",
|
|
80
|
-
ref:
|
|
81
|
-
class:
|
|
82
|
-
|
|
78
|
+
ref: h,
|
|
79
|
+
class: W([
|
|
80
|
+
l(L),
|
|
83
81
|
`column-${o.$attrs.column || 1}`,
|
|
84
|
-
o.$attrs.title || o.$attrs.extra ||
|
|
82
|
+
o.$attrs.title || o.$attrs.extra || l(i).title || l(i).extra ? "" : "no-header"
|
|
85
83
|
])
|
|
86
84
|
}, [
|
|
87
|
-
q(
|
|
88
|
-
title:
|
|
89
|
-
|
|
85
|
+
q(a, v(l(Z)(l(N), o.$attrs), { border: "" }), {
|
|
86
|
+
title: c(() => [
|
|
87
|
+
m(o.$slots, "title", {}, void 0, !0)
|
|
90
88
|
]),
|
|
91
|
-
extra:
|
|
92
|
-
|
|
89
|
+
extra: c(() => [
|
|
90
|
+
m(o.$slots, "extra", {}, void 0, !0)
|
|
93
91
|
]),
|
|
94
|
-
default:
|
|
95
|
-
(
|
|
96
|
-
e.hide ?
|
|
92
|
+
default: c(() => [
|
|
93
|
+
(r(!0), n(u, null, H(o.list, (e, A) => (r(), n(u, { key: A }, [
|
|
94
|
+
e.hide ? w("", !0) : (r(), S(k, v({
|
|
97
95
|
key: 0,
|
|
98
|
-
|
|
99
|
-
}, {
|
|
100
|
-
label:
|
|
101
|
-
var
|
|
96
|
+
ref_for: !0
|
|
97
|
+
}, e), {
|
|
98
|
+
label: c(() => {
|
|
99
|
+
var d;
|
|
102
100
|
return [
|
|
103
|
-
|
|
104
|
-
(
|
|
101
|
+
I("div", x, [
|
|
102
|
+
(d = e.iconConfig || {}) != null && d.name || l(i).icon ? (r(), S(P, v({
|
|
105
103
|
key: 0,
|
|
106
104
|
ref_for: !0
|
|
107
105
|
}, e.iconConfig), {
|
|
108
|
-
default:
|
|
109
|
-
|
|
106
|
+
default: c(() => [
|
|
107
|
+
m(o.$slots, "icon", {}, void 0, !0)
|
|
110
108
|
]),
|
|
111
109
|
_: 2
|
|
112
|
-
}, 1040)) :
|
|
113
|
-
|
|
110
|
+
}, 1040)) : w("", !0),
|
|
111
|
+
y(" " + _(e == null ? void 0 : e.label), 1)
|
|
114
112
|
])
|
|
115
113
|
];
|
|
116
114
|
}),
|
|
117
|
-
default:
|
|
118
|
-
var
|
|
115
|
+
default: c(() => {
|
|
116
|
+
var d;
|
|
119
117
|
return [
|
|
120
|
-
e.type === "date" ? (
|
|
121
|
-
|
|
122
|
-
], 64)) : e.type === "select" ? (
|
|
123
|
-
|
|
124
|
-
], 64)) : e.type == "slot" ?
|
|
118
|
+
e.type === "date" ? (r(), n(u, { key: 0 }, [
|
|
119
|
+
y(_(e.value ? l(R)(e.value).format(e.format || "YYYY-MM-DD HH:mm:ss") : "--"), 1)
|
|
120
|
+
], 64)) : e.type === "select" ? (r(), n(u, { key: 1 }, [
|
|
121
|
+
y(_(((d = (e.propMap || {})[e.value]) == null ? void 0 : d.label) || "--"), 1)
|
|
122
|
+
], 64)) : e.type == "slot" ? m(o.$slots, e.slotName, {
|
|
125
123
|
key: 2,
|
|
126
124
|
data: e == null ? void 0 : e.value
|
|
127
|
-
}, void 0, !0) : (
|
|
128
|
-
|
|
125
|
+
}, void 0, !0) : (r(), n(u, { key: 3 }, [
|
|
126
|
+
y(_((e == null ? void 0 : e.value) || (s.showZero ? "0" : "--")), 1)
|
|
129
127
|
], 64))
|
|
130
128
|
];
|
|
131
129
|
}),
|
|
132
130
|
_: 2
|
|
133
|
-
},
|
|
131
|
+
}, 1040))
|
|
134
132
|
], 64))), 128))
|
|
135
133
|
]),
|
|
136
134
|
_: 3
|
|
@@ -140,5 +138,5 @@ const F = { class: "cell-item" }, Z = w({
|
|
|
140
138
|
}
|
|
141
139
|
});
|
|
142
140
|
export {
|
|
143
|
-
|
|
141
|
+
ae as default
|
|
144
142
|
};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var o=Object.defineProperty;var e=(t,l)=>o(t,"name",{value:l,configurable:!0});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../_utils/runtime/index.cjs"),s=r.buildProps({labelColor:{type:String,default:""},labelBgColor:{type:String,default:"#e2edff"},list:{type:Array,default:e(()=>[],"default")},showZero:{type:Boolean,default:!1}});exports.lsDescProp=s;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
var
|
|
2
|
-
var e = (l,
|
|
1
|
+
var t = Object.defineProperty;
|
|
2
|
+
var e = (l, o) => t(l, "name", { value: o, configurable: !0 });
|
|
3
3
|
import { buildProps as r } from "../../_utils/runtime/index.js";
|
|
4
4
|
const p = r({
|
|
5
5
|
// label字体颜色
|
|
@@ -12,11 +12,6 @@ const p = r({
|
|
|
12
12
|
type: String,
|
|
13
13
|
default: "#e2edff"
|
|
14
14
|
},
|
|
15
|
-
// label展示区域宽度
|
|
16
|
-
labelWidth: {
|
|
17
|
-
type: String,
|
|
18
|
-
default: ""
|
|
19
|
-
},
|
|
20
15
|
/**
|
|
21
16
|
* 数据
|
|
22
17
|
* type: 默认文本, date:时间, select:单复选, slot:自定义例如table
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=;/* empty css */;/* empty css */;/* empty css */const t=/* empty css */r=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 */;/* empty css */const t=/* empty css */r=t.default(e.default,[["__scopeId","data-v-12c98c03"]]);exports.default=r;
|
|
@@ -2,7 +2,7 @@ import o from "./index2.js";
|
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
import t from "../../../../../_virtual/_plugin-vue_export-helper/index.js";
|
|
5
|
-
const
|
|
5
|
+
const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-12c98c03"]]);
|
|
6
6
|
export {
|
|
7
|
-
|
|
7
|
+
c as default
|
|
8
8
|
};
|
|
@@ -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-3fb3b5e0"]]);exports.default=u;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./index2.js";
|
|
2
2
|
/* empty css */
|
|
3
|
-
import
|
|
4
|
-
const
|
|
3
|
+
import t from "../../../../../_virtual/_plugin-vue_export-helper/index.js";
|
|
4
|
+
const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3fb3b5e0"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
a as default
|
|
7
7
|
};
|