@web-utils/component 3.3.16 → 3.3.17
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/chunks/{FormTemp.Cf9d5N_a.mjs → FormTemp.D8cHwam4.mjs} +4 -5
- package/data-card-text/index.mjs +49 -0
- package/data-card-text/style.css +1 -0
- package/flow-designer/index.mjs +2 -3
- package/flow-viewer/index.mjs +2 -3
- package/form-input-tag/index.mjs +6 -7
- package/form-view/index.mjs +2 -3
- package/fy-curd/index.mjs +3 -4
- package/fy-form/index.mjs +1 -1
- package/fy-form-design/index.mjs +2 -3
- package/fy-input-icon/index.mjs +26 -27
- package/index.mjs +4 -4
- package/name-avatar/index.mjs +14 -6
- package/package.json +12 -12
- package/page-skeleton/index.mjs +12 -15
- package/present-view/index.mjs +2 -3
- package/split-pane/index.mjs +2 -3
- package/swiper/index.mjs +6 -7
- package/toolbar/index.mjs +2 -3
- package/web-types.json +18 -2
- package/data-cardtext/index.mjs +0 -44
- package/data-cardtext/style.css +0 -1
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { isBlank as _ } from "@web-utils/core";
|
|
2
2
|
import { formatDate as i } from "@web-utils/integrations/dayjs";
|
|
3
3
|
import { p as h, M as g, A as b, b as c, q as A, e as S, k as d, t as T, h as C, v, u as x } from "./util.B_LEdJSZ.mjs";
|
|
4
|
-
import "../fy-u-editor/style.css";
|
|
5
4
|
import { a as D, b as O } from "./dataformat.skVZSF57.mjs";
|
|
6
5
|
import { s as j } from "./slot.DXIbhGat.mjs";
|
|
7
6
|
import { n as L } from "./_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
8
|
-
const
|
|
7
|
+
const M = (n = {}, e = {}, s = {}, r = []) => {
|
|
9
8
|
let t = n[e.prop];
|
|
10
9
|
const a = e.type, o = e.separator;
|
|
11
10
|
if (e.bind && (t = h(n, e.bind)), _(t))
|
|
@@ -116,8 +115,8 @@ var k = function() {
|
|
|
116
115
|
null,
|
|
117
116
|
null
|
|
118
117
|
);
|
|
119
|
-
const
|
|
118
|
+
const R = I.exports;
|
|
120
119
|
export {
|
|
121
|
-
|
|
122
|
-
|
|
120
|
+
R as F,
|
|
121
|
+
M as d
|
|
123
122
|
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { n as e } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
2
|
+
const o = {
|
|
3
|
+
name: "DataCardText",
|
|
4
|
+
props: {
|
|
5
|
+
option: {
|
|
6
|
+
type: Object,
|
|
7
|
+
default: () => {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
computed: {
|
|
12
|
+
icon() {
|
|
13
|
+
return this.option.icon;
|
|
14
|
+
},
|
|
15
|
+
color() {
|
|
16
|
+
return this.option.color || "#333";
|
|
17
|
+
},
|
|
18
|
+
span() {
|
|
19
|
+
return this.option.span || 8;
|
|
20
|
+
},
|
|
21
|
+
data() {
|
|
22
|
+
return this.option.data || [];
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
methods: {
|
|
26
|
+
itemClick(s) {
|
|
27
|
+
s.click && s.click(s), this.$router.push(s.path);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
var c = function() {
|
|
32
|
+
var t = this, n = t._self._c;
|
|
33
|
+
return n("div", { staticClass: "data-card-text" }, [n("ElRow", { attrs: { span: 24 } }, t._l(t.data, function(a, r) {
|
|
34
|
+
return n("ElCol", { key: r, attrs: { md: t.span, xs: 24, sm: 12 } }, [n("div", { staticClass: "item" }, [n("a", { attrs: { href: a.path ? "javascript:;" : a.href, target: a.path ? "" : a.target }, on: { click: function(p) {
|
|
35
|
+
return t.itemClick(a);
|
|
36
|
+
} } }, [n("div", { staticClass: "item-header" }, [t._v(" " + t._s(a.title) + " ")]), a.content ? n("div", { staticClass: "item-content" }, [t._v(t._s(a.content))]) : t._e(), a.name || a.date ? n("div", { staticClass: "item-footer" }, [n("span", [t._v(t._s(a.name))]), n("span", [t._v(t._s(a.date))])]) : t._e()])])]);
|
|
37
|
+
}), 1)], 1);
|
|
38
|
+
}, i = [], l = /* @__PURE__ */ e(
|
|
39
|
+
o,
|
|
40
|
+
c,
|
|
41
|
+
i,
|
|
42
|
+
!1,
|
|
43
|
+
null,
|
|
44
|
+
null
|
|
45
|
+
);
|
|
46
|
+
const d = l.exports;
|
|
47
|
+
export {
|
|
48
|
+
d as default
|
|
49
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.data-card-text .item{background:#f8f8f8;border-radius:6px;margin:10px 20px;padding:20px 25px;box-shadow:2px 2px 20px #ccc}.data-card-text .item-header{color:#000;font-weight:700}.data-card-text .item-content{color:#333;margin-top:8px;font-size:14px;line-height:22px}.data-card-text .item-footer{color:#999;justify-content:space-between;margin-top:20px;font-size:12px;display:flex}.data-card-text .item a{text-decoration:none}.data-card-text .item a:visited{color:inherit}
|
package/flow-designer/index.mjs
CHANGED
|
@@ -49,7 +49,6 @@ import pe from "highlight.js/lib/core";
|
|
|
49
49
|
import Re from "highlight.js/lib/languages/xml";
|
|
50
50
|
import ze from "highlight.js/lib/languages/json";
|
|
51
51
|
import je from "../highlight-j-s/index.mjs";
|
|
52
|
-
import "../highlight-j-s/style.css";
|
|
53
52
|
function J(n, e, t, i, s, a, r, o, p, E, m, l, u) {
|
|
54
53
|
n = n || {}, i.registerProvider(this), this._contextPad = i, this._modeling = s, this._elementFactory = a, this._connect = r, this._create = o, this._popupMenu = p, this._canvas = E, this._rules = m, this._translate = l, n.autoPlace !== !1 && (this._autoPlace = e.get("autoPlace", !1)), t.on("create.end", 250, function(F) {
|
|
55
54
|
const C = F.context.shape;
|
|
@@ -6700,7 +6699,7 @@ var ui = function() {
|
|
|
6700
6699
|
null,
|
|
6701
6700
|
null
|
|
6702
6701
|
);
|
|
6703
|
-
const
|
|
6702
|
+
const Ri = fi.exports;
|
|
6704
6703
|
export {
|
|
6705
|
-
|
|
6704
|
+
Ri as default
|
|
6706
6705
|
};
|
package/flow-viewer/index.mjs
CHANGED
|
@@ -31,7 +31,6 @@ import d from "diagram-js/lib/navigation/zoomscroll/ZoomScroll";
|
|
|
31
31
|
import { create as p, attr as c, append as m } from "tiny-svg";
|
|
32
32
|
import { query as E } from "min-dom";
|
|
33
33
|
import $ from "../easy-popup/index.mjs";
|
|
34
|
-
import "../easy-popup/style.css";
|
|
35
34
|
import { n as F } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
36
35
|
const f = d.prototype._handleWheel, S = {
|
|
37
36
|
__init__: ["zoomScroll"],
|
|
@@ -179,7 +178,7 @@ var C = function() {
|
|
|
179
178
|
null,
|
|
180
179
|
null
|
|
181
180
|
);
|
|
182
|
-
const
|
|
181
|
+
const j = W.exports;
|
|
183
182
|
export {
|
|
184
|
-
|
|
183
|
+
j as default
|
|
185
184
|
};
|
package/form-input-tag/index.mjs
CHANGED
|
@@ -9,17 +9,16 @@ var l = (t, e, r) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writab
|
|
|
9
9
|
i.call(e, r) && l(t, r, e[r]);
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
|
-
import { f as
|
|
13
|
-
import { d, n as c } from "../chunks/index.DwCBGcYk.mjs";
|
|
12
|
+
import { f as d } from "../chunks/form-input-mixin.DMuQta5I.mjs";
|
|
13
|
+
import { d as m, n as c } from "../chunks/index.DwCBGcYk.mjs";
|
|
14
14
|
import s from "../x-input-tag/index.mjs";
|
|
15
|
-
import "../x-input-tag/style.css";
|
|
16
15
|
import { n as f } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
17
16
|
const _ = Object.keys(s.props).filter((t) => !["value", "placeholder", "disabled"].includes(t)), b = {
|
|
18
17
|
name: "FormInputTag",
|
|
19
18
|
components: {
|
|
20
19
|
XInputTag: s
|
|
21
20
|
},
|
|
22
|
-
mixins: [
|
|
21
|
+
mixins: [d],
|
|
23
22
|
props: {
|
|
24
23
|
value: [Array, String],
|
|
25
24
|
block: {
|
|
@@ -37,7 +36,7 @@ const _ = Object.keys(s.props).filter((t) => !["value", "placeholder", "disabled
|
|
|
37
36
|
},
|
|
38
37
|
computed: {
|
|
39
38
|
inputProps() {
|
|
40
|
-
return
|
|
39
|
+
return m(n(n({}, c(this.$attrs)), this.$props), _);
|
|
41
40
|
}
|
|
42
41
|
}
|
|
43
42
|
};
|
|
@@ -58,7 +57,7 @@ var y = function() {
|
|
|
58
57
|
null,
|
|
59
58
|
null
|
|
60
59
|
);
|
|
61
|
-
const
|
|
60
|
+
const F = I.exports;
|
|
62
61
|
export {
|
|
63
|
-
|
|
62
|
+
F as default
|
|
64
63
|
};
|
package/form-view/index.mjs
CHANGED
|
@@ -29,7 +29,6 @@ var u = (o, t, e) => new Promise((r, s) => {
|
|
|
29
29
|
import { hasOwn as b, toStringArray as S, animate as F, isInContainer as k } from "@web-utils/core";
|
|
30
30
|
import { merge as B } from "@web-utils/integrations/lodash";
|
|
31
31
|
import C from "../resize-observer/index.mjs";
|
|
32
|
-
import "../resize-observer/style.css";
|
|
33
32
|
import { n as L } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
34
33
|
const y = [
|
|
35
34
|
"back",
|
|
@@ -235,7 +234,7 @@ var N = function() {
|
|
|
235
234
|
null,
|
|
236
235
|
null
|
|
237
236
|
);
|
|
238
|
-
const
|
|
237
|
+
const E = A.exports;
|
|
239
238
|
export {
|
|
240
|
-
|
|
239
|
+
E as default
|
|
241
240
|
};
|
package/fy-curd/index.mjs
CHANGED
|
@@ -6,10 +6,9 @@ import { o as h, j as C, d as a, u as B, i as P, a as b, k as D, l as T, s as z
|
|
|
6
6
|
import { isBlank as c } from "@web-utils/core";
|
|
7
7
|
import { s as M } from "../chunks/slot.DXIbhGat.mjs";
|
|
8
8
|
import { n as f } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
9
|
-
import { F as L, d as w } from "../chunks/FormTemp.
|
|
9
|
+
import { F as L, d as w } from "../chunks/FormTemp.D8cHwam4.mjs";
|
|
10
10
|
import { s as V } from "../chunks/dic.28d_-7EJ.mjs";
|
|
11
11
|
import R from "../icon-temp/index.mjs";
|
|
12
|
-
import "../icon-temp/style.css";
|
|
13
12
|
const p = {
|
|
14
13
|
menuWidth: 220,
|
|
15
14
|
menuFixed: "right",
|
|
@@ -1886,7 +1885,7 @@ var Ue = function() {
|
|
|
1886
1885
|
null,
|
|
1887
1886
|
null
|
|
1888
1887
|
);
|
|
1889
|
-
const
|
|
1888
|
+
const lt = qe.exports;
|
|
1890
1889
|
export {
|
|
1891
|
-
|
|
1890
|
+
lt as default
|
|
1892
1891
|
};
|
package/fy-form/index.mjs
CHANGED
|
@@ -14,7 +14,7 @@ var D = (i, e, r) => new Promise((s, p) => {
|
|
|
14
14
|
}, a = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(t, l);
|
|
15
15
|
a((r = r.apply(i, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { F as P, d as z } from "../chunks/FormTemp.
|
|
17
|
+
import { F as P, d as z } from "../chunks/FormTemp.D8cHwam4.mjs";
|
|
18
18
|
import { i as B } from "../chunks/init.DBM2D2IY.mjs";
|
|
19
19
|
import { s as v, d as x, u as j, x as I, p as L, j as S, a as V, o as M, y as A } from "../chunks/util.B_LEdJSZ.mjs";
|
|
20
20
|
import { d as W, c as R, a as G, b as H, f as U } from "../chunks/dataformat.skVZSF57.mjs";
|
package/fy-form-design/index.mjs
CHANGED
|
@@ -31,7 +31,6 @@ import g from "vuedraggable";
|
|
|
31
31
|
import { c as _ } from "../chunks/json-beautifier.vs8mCOxd.mjs";
|
|
32
32
|
import { d as m, z as h } from "../chunks/util.B_LEdJSZ.mjs";
|
|
33
33
|
import { cloneDeep as v } from "@web-utils/integrations/lodash";
|
|
34
|
-
import "../fy-u-editor/style.css";
|
|
35
34
|
import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
36
35
|
const E = [
|
|
37
36
|
{
|
|
@@ -2883,7 +2882,7 @@ var ra = function() {
|
|
|
2883
2882
|
null,
|
|
2884
2883
|
null
|
|
2885
2884
|
);
|
|
2886
|
-
const
|
|
2885
|
+
const _a = da.exports;
|
|
2887
2886
|
export {
|
|
2888
|
-
|
|
2887
|
+
_a as default
|
|
2889
2888
|
};
|
package/fy-input-icon/index.mjs
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { p as s, e as l } from "../chunks/event.m1ZDHbkO.mjs";
|
|
2
2
|
import a from "../icon-temp/index.mjs";
|
|
3
|
-
import "../icon-temp/style.css";
|
|
4
3
|
import { n as r } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
5
4
|
const o = {
|
|
6
5
|
name: "FyInputIcon",
|
|
@@ -25,26 +24,26 @@ const o = {
|
|
|
25
24
|
},
|
|
26
25
|
computed: {
|
|
27
26
|
icons() {
|
|
28
|
-
return (this.tabs.list || []).map((
|
|
27
|
+
return (this.tabs.list || []).map((t) => !t.value && !t.label ? { value: t, label: t } : t);
|
|
29
28
|
},
|
|
30
29
|
filteredIcons() {
|
|
31
|
-
return this.filterText ? this.icons.filter((
|
|
30
|
+
return this.filterText ? this.icons.filter((t) => t.label.indexOf(this.filterText) !== -1) : this.icons;
|
|
32
31
|
}
|
|
33
32
|
},
|
|
34
33
|
watch: {
|
|
35
34
|
iconList: {
|
|
36
35
|
immediate: !0,
|
|
37
|
-
handler(
|
|
38
|
-
this.tabs = (
|
|
36
|
+
handler(t) {
|
|
37
|
+
this.tabs = (t == null ? void 0 : t[0]) || {};
|
|
39
38
|
}
|
|
40
39
|
}
|
|
41
40
|
},
|
|
42
41
|
methods: {
|
|
43
|
-
handleTabs(
|
|
44
|
-
this.tabs =
|
|
42
|
+
handleTabs(t) {
|
|
43
|
+
this.tabs = t;
|
|
45
44
|
},
|
|
46
|
-
handleSubmit(
|
|
47
|
-
this.visible = !1, this.text =
|
|
45
|
+
handleSubmit(t) {
|
|
46
|
+
this.visible = !1, this.text = t, this.handleChange(t);
|
|
48
47
|
},
|
|
49
48
|
handleShow() {
|
|
50
49
|
this.$refs.main.blur(), !(this.disabled || this.readonly) && (this.visible = !0);
|
|
@@ -52,22 +51,22 @@ const o = {
|
|
|
52
51
|
}
|
|
53
52
|
};
|
|
54
53
|
var c = function() {
|
|
55
|
-
var
|
|
56
|
-
return n("div", { staticClass: "avue-input-icon" }, [n("ElInput", { ref: "main", attrs: { placeholder:
|
|
57
|
-
return
|
|
58
|
-
} }, scopedSlots:
|
|
59
|
-
return [n("IconTemp", { attrs: { text:
|
|
60
|
-
}, proxy: !0 }]), model: { value:
|
|
61
|
-
|
|
62
|
-
}, expression: "text" } }),
|
|
63
|
-
|
|
64
|
-
} } }, [n("div", { staticClass: "avue-input-icon__filter" }, [n("ElInput", { attrs: { placeholder: "请输入", size:
|
|
65
|
-
|
|
66
|
-
}, expression: "filterText" } })], 1), n("FyTabs", { attrs: { option: { tabs:
|
|
67
|
-
return n("div", { key: i.value, class: ["avue-input-icon__item", { active:
|
|
68
|
-
return
|
|
69
|
-
} } }, [n("IconTemp", { attrs: { text: i.value, size:
|
|
70
|
-
}), 0)], 1) :
|
|
54
|
+
var e = this, n = e._self._c;
|
|
55
|
+
return n("div", { staticClass: "avue-input-icon" }, [n("ElInput", { ref: "main", attrs: { placeholder: e.placeholder, size: e.size, clearable: e.clearableVal, disabled: e.disabled }, on: { focus: e.handleShow }, nativeOn: { click: function(i) {
|
|
56
|
+
return e.handleClick.apply(null, arguments);
|
|
57
|
+
} }, scopedSlots: e._u([{ key: "append", fn: function() {
|
|
58
|
+
return [n("IconTemp", { attrs: { text: e.text, small: e.size === "mini" }, on: { click: e.handleShow } })];
|
|
59
|
+
}, proxy: !0 }]), model: { value: e.text, callback: function(i) {
|
|
60
|
+
e.text = i;
|
|
61
|
+
}, expression: "text" } }), e.visible ? n("ElementDialog", { attrs: { title: e.placeholder, visible: e.visible, width: e.dialogWidth }, on: { "update:visible": function(i) {
|
|
62
|
+
e.visible = i;
|
|
63
|
+
} } }, [n("div", { staticClass: "avue-input-icon__filter" }, [n("ElInput", { attrs: { placeholder: "请输入", size: e.size }, model: { value: e.filterText, callback: function(i) {
|
|
64
|
+
e.filterText = i;
|
|
65
|
+
}, expression: "filterText" } })], 1), n("FyTabs", { attrs: { option: { tabs: e.iconList } }, on: { change: e.handleTabs } }), n("div", { staticClass: "avue-input-icon__list" }, e._l(e.filteredIcons, function(i) {
|
|
66
|
+
return n("div", { key: i.value, class: ["avue-input-icon__item", { active: e.text === i }], attrs: { title: i.label || i.value }, on: { click: function(p) {
|
|
67
|
+
return e.handleSubmit(i.value);
|
|
68
|
+
} } }, [n("IconTemp", { attrs: { text: i.value, size: e.tabs.iconSize, small: e.size === "mini" } }), n("p", { staticClass: "avue-input-icon__label" }, [e._v(e._s(i.label || i.value))])], 1);
|
|
69
|
+
}), 0)], 1) : e._e()], 1);
|
|
71
70
|
}, u = [], d = /* @__PURE__ */ r(
|
|
72
71
|
o,
|
|
73
72
|
c,
|
|
@@ -76,7 +75,7 @@ var c = function() {
|
|
|
76
75
|
null,
|
|
77
76
|
null
|
|
78
77
|
);
|
|
79
|
-
const
|
|
78
|
+
const v = d.exports;
|
|
80
79
|
export {
|
|
81
|
-
|
|
80
|
+
v as default
|
|
82
81
|
};
|
package/index.mjs
CHANGED
|
@@ -52,9 +52,9 @@ import "./data-box/style.css";
|
|
|
52
52
|
import C from "./data-card/index.mjs";
|
|
53
53
|
import { default as ef } from "./data-card/index.mjs";
|
|
54
54
|
import "./data-card/style.css";
|
|
55
|
-
import b from "./data-
|
|
56
|
-
import { default as pf } from "./data-
|
|
57
|
-
import "./data-
|
|
55
|
+
import b from "./data-card-text/index.mjs";
|
|
56
|
+
import { default as pf } from "./data-card-text/index.mjs";
|
|
57
|
+
import "./data-card-text/style.css";
|
|
58
58
|
import T from "./data-display/index.mjs";
|
|
59
59
|
import { default as ff } from "./data-display/index.mjs";
|
|
60
60
|
import "./data-display/style.css";
|
|
@@ -468,7 +468,7 @@ export {
|
|
|
468
468
|
of as CustomScrollbar,
|
|
469
469
|
rf as DataBox,
|
|
470
470
|
ef as DataCard,
|
|
471
|
-
pf as
|
|
471
|
+
pf as DataCardText,
|
|
472
472
|
ff as DataDisplay,
|
|
473
473
|
df as DataIcons,
|
|
474
474
|
cf as DataImgtext,
|
package/name-avatar/index.mjs
CHANGED
|
@@ -16,6 +16,14 @@ const n = {
|
|
|
16
16
|
faceUrl: {
|
|
17
17
|
type: String,
|
|
18
18
|
default: ""
|
|
19
|
+
},
|
|
20
|
+
fontSize: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: "12px"
|
|
23
|
+
},
|
|
24
|
+
size: {
|
|
25
|
+
type: String,
|
|
26
|
+
default: "40px"
|
|
19
27
|
}
|
|
20
28
|
},
|
|
21
29
|
computed: {
|
|
@@ -23,23 +31,23 @@ const n = {
|
|
|
23
31
|
return this.num !== void 0 ? `+${this.num}` : this.name ? this.name.slice(-2) : "";
|
|
24
32
|
},
|
|
25
33
|
styles() {
|
|
26
|
-
const e = {};
|
|
27
|
-
return this.
|
|
34
|
+
const e = { "font-size": this.fontSize };
|
|
35
|
+
return this.fontColor && (e.color = this.fontColor), this.backgroundColor && (e.background = this.backgroundColor), e;
|
|
28
36
|
}
|
|
29
37
|
}
|
|
30
38
|
};
|
|
31
39
|
var s = function() {
|
|
32
40
|
var t = this, a = t._self._c;
|
|
33
|
-
return a("div", { staticClass: "name-avatar", class: t.square ? "square" : "round" }, [t.faceUrl && !t.num ? a("img", { staticClass: "name-avatar-image", attrs: { src: t.faceUrl, alt: "" } }) : a("div", { staticClass: "name-avatar-text", style: t.styles }, [t._v(" " + t._s(t.text) + " ")])]);
|
|
34
|
-
},
|
|
41
|
+
return a("div", { staticClass: "name-avatar", class: t.square ? "square" : "round", style: { width: t.size, height: t.size } }, [t.faceUrl && !t.num ? a("img", { staticClass: "name-avatar-image", attrs: { src: t.faceUrl, alt: "" } }) : a("div", { staticClass: "name-avatar-text", style: t.styles }, [t._v(" " + t._s(t.text) + " ")])]);
|
|
42
|
+
}, i = [], o = /* @__PURE__ */ r(
|
|
35
43
|
n,
|
|
36
44
|
s,
|
|
37
|
-
|
|
45
|
+
i,
|
|
38
46
|
!1,
|
|
39
47
|
null,
|
|
40
48
|
null
|
|
41
49
|
);
|
|
42
|
-
const f =
|
|
50
|
+
const f = o.exports;
|
|
43
51
|
export {
|
|
44
52
|
f as default
|
|
45
53
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@web-utils/component",
|
|
3
3
|
"description": "Web Components",
|
|
4
|
-
"version": "3.3.
|
|
4
|
+
"version": "3.3.17",
|
|
5
5
|
"author": "Simple",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
@@ -17,32 +17,32 @@
|
|
|
17
17
|
"@tinymce/tinymce-vue": "3.2.8",
|
|
18
18
|
"@wangeditor/editor": "^5.1.23",
|
|
19
19
|
"@wangeditor/editor-for-vue": "^1.0.2",
|
|
20
|
-
"@web-utils/core": "^3.0.
|
|
21
|
-
"@web-utils/integrations": "^3.0.
|
|
22
|
-
"@web-utils/vue": "^3.0.
|
|
23
|
-
"bpmn-js": "^17.
|
|
20
|
+
"@web-utils/core": "^3.0.17",
|
|
21
|
+
"@web-utils/integrations": "^3.0.17",
|
|
22
|
+
"@web-utils/vue": "^3.0.17",
|
|
23
|
+
"bpmn-js": "^17.8.1",
|
|
24
24
|
"bpmn-js-token-simulation": "^0.34.1",
|
|
25
25
|
"codemirror": "^5.65.15",
|
|
26
26
|
"countup.js": "^2.8.0",
|
|
27
27
|
"dayjs": "^1.11.11",
|
|
28
|
-
"diagram-js": "14.
|
|
28
|
+
"diagram-js": "14.7.1",
|
|
29
29
|
"echarts": "^5.5.0",
|
|
30
30
|
"highlight.js": "^11.9.0",
|
|
31
31
|
"lodash-es": "^4.17.21",
|
|
32
32
|
"min-dash": "^4.2.1",
|
|
33
|
-
"min-dom": "^5.
|
|
34
|
-
"monaco-editor": "^0.
|
|
35
|
-
"overlayscrollbars": "^2.8.
|
|
36
|
-
"photoswipe": "^5.4.
|
|
33
|
+
"min-dom": "^5.1.1",
|
|
34
|
+
"monaco-editor": "^0.49.0",
|
|
35
|
+
"overlayscrollbars": "^2.8.3",
|
|
36
|
+
"photoswipe": "^5.4.4",
|
|
37
37
|
"qrcode": "^1.5.3",
|
|
38
38
|
"quill": "^1.3.7",
|
|
39
39
|
"resize-detector": "^0.3.0",
|
|
40
40
|
"simple-uploader.js": "^0.6.0",
|
|
41
|
-
"tiny-svg": "^4.
|
|
41
|
+
"tiny-svg": "^4.1.2",
|
|
42
42
|
"tinymce": "4.9.11",
|
|
43
43
|
"video.js": "^8.12.0",
|
|
44
44
|
"viewerjs": "^1.11.6",
|
|
45
|
-
"vue-cropper": "^0.6.
|
|
45
|
+
"vue-cropper": "^0.6.5",
|
|
46
46
|
"vuedraggable": "^2.24.3",
|
|
47
47
|
"x2js": "^3.4.4"
|
|
48
48
|
}
|
package/page-skeleton/index.mjs
CHANGED
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
import "../
|
|
3
|
-
import
|
|
4
|
-
import "../
|
|
5
|
-
|
|
6
|
-
import "../page-header/style.css";
|
|
7
|
-
import { n as a } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
8
|
-
const l = {
|
|
1
|
+
import n from "../page/index.mjs";
|
|
2
|
+
import o from "../nav-bar/index.mjs";
|
|
3
|
+
import a from "../page-header/index.mjs";
|
|
4
|
+
import { n as l } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
5
|
+
const r = {
|
|
9
6
|
name: "PageSkeleton",
|
|
10
7
|
components: {
|
|
11
|
-
Page:
|
|
12
|
-
NavBar:
|
|
13
|
-
PageHeader:
|
|
8
|
+
Page: n,
|
|
9
|
+
NavBar: o,
|
|
10
|
+
PageHeader: a
|
|
14
11
|
},
|
|
15
12
|
props: {
|
|
16
13
|
title: String,
|
|
@@ -32,15 +29,15 @@ var s = function() {
|
|
|
32
29
|
return t("Page", { staticClass: "page-skeleton" }, [e.header ? e._t("header", function() {
|
|
33
30
|
return [e.title ? t("PageHeader", { attrs: { title: e.title } }) : t("NavBar")];
|
|
34
31
|
}) : e._e(), t("div", { class: ["page-content", { "flex-column": e.flexColumn, "flex-row": e.flexRow, "content-scroll": e.contentScroll }, e.contentClass] }, [e._t("default")], 2)], 2);
|
|
35
|
-
}, c = [], f = /* @__PURE__ */
|
|
36
|
-
|
|
32
|
+
}, c = [], f = /* @__PURE__ */ l(
|
|
33
|
+
r,
|
|
37
34
|
s,
|
|
38
35
|
c,
|
|
39
36
|
!1,
|
|
40
37
|
null,
|
|
41
38
|
null
|
|
42
39
|
);
|
|
43
|
-
const
|
|
40
|
+
const d = f.exports;
|
|
44
41
|
export {
|
|
45
|
-
|
|
42
|
+
d as default
|
|
46
43
|
};
|
package/present-view/index.mjs
CHANGED
|
@@ -29,7 +29,6 @@ var d = (e, t, o) => new Promise((r, s) => {
|
|
|
29
29
|
import { hasOwn as p, toStringArray as S, delay as F, isInContainer as k } from "@web-utils/core";
|
|
30
30
|
import { merge as B } from "@web-utils/integrations/lodash";
|
|
31
31
|
import L from "../resize-observer/index.mjs";
|
|
32
|
-
import "../resize-observer/style.css";
|
|
33
32
|
import { n as C } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
34
33
|
const w = [
|
|
35
34
|
"back",
|
|
@@ -224,7 +223,7 @@ var O = function() {
|
|
|
224
223
|
null,
|
|
225
224
|
null
|
|
226
225
|
);
|
|
227
|
-
const
|
|
226
|
+
const E = z.exports;
|
|
228
227
|
export {
|
|
229
|
-
|
|
228
|
+
E as default
|
|
230
229
|
};
|
package/split-pane/index.mjs
CHANGED
|
@@ -16,7 +16,6 @@ var l = (e, t, s) => new Promise((o, i) => {
|
|
|
16
16
|
});
|
|
17
17
|
import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
18
18
|
import d from "../resize-observer/index.mjs";
|
|
19
|
-
import "../resize-observer/style.css";
|
|
20
19
|
function g(e, t) {
|
|
21
20
|
for (let s = 0; s < t.length; s++)
|
|
22
21
|
if (e === t[s])
|
|
@@ -208,7 +207,7 @@ var M = function() {
|
|
|
208
207
|
null,
|
|
209
208
|
null
|
|
210
209
|
);
|
|
211
|
-
const
|
|
210
|
+
const y = w.exports;
|
|
212
211
|
export {
|
|
213
|
-
|
|
212
|
+
y as default
|
|
214
213
|
};
|
package/swiper/index.mjs
CHANGED
|
@@ -15,13 +15,12 @@ var h = (e, t, s) => new Promise((i, r) => {
|
|
|
15
15
|
a((s = s.apply(e, t)).next());
|
|
16
16
|
});
|
|
17
17
|
import { getEleWidth as c } from "@web-utils/core";
|
|
18
|
-
import
|
|
19
|
-
import "../
|
|
20
|
-
import { n as u } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
18
|
+
import u from "../resize-observer/index.mjs";
|
|
19
|
+
import { n as p } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
21
20
|
const f = {
|
|
22
21
|
name: "Swiper",
|
|
23
22
|
components: {
|
|
24
|
-
ResizeObserver:
|
|
23
|
+
ResizeObserver: u
|
|
25
24
|
},
|
|
26
25
|
data() {
|
|
27
26
|
return {
|
|
@@ -126,7 +125,7 @@ var w = function() {
|
|
|
126
125
|
return s("div", { staticClass: "egd-swiper" }, [s("ElButton", { staticClass: "el-carousel__arrow el-carousel__arrow--left", attrs: { disabled: t.reachedLeft, icon: "el-icon-arrow-left" }, on: { click: t.clickLeft } }), s("div", { ref: "swiperBox", staticClass: "egd-swiper-box", on: { wheel: function(i) {
|
|
127
126
|
return i.stopPropagation(), i.preventDefault(), t.onMouseWheel.apply(null, arguments);
|
|
128
127
|
} } }, [s("div", { ref: "swiperContent", staticClass: "egd-swiper-content", style: t.swiperContentStyle }, [t._t("default")], 2)]), s("ElButton", { staticClass: "el-carousel__arrow el-carousel__arrow--right", attrs: { disabled: t.reachedRight, icon: "el-icon-arrow-right" }, on: { click: t.clickRight } }), s("ResizeObserver", { on: { notify: t.resize } })], 1);
|
|
129
|
-
}, m = [], X = /* @__PURE__ */
|
|
128
|
+
}, m = [], X = /* @__PURE__ */ p(
|
|
130
129
|
f,
|
|
131
130
|
w,
|
|
132
131
|
m,
|
|
@@ -134,7 +133,7 @@ var w = function() {
|
|
|
134
133
|
null,
|
|
135
134
|
null
|
|
136
135
|
);
|
|
137
|
-
const
|
|
136
|
+
const E = X.exports;
|
|
138
137
|
export {
|
|
139
|
-
|
|
138
|
+
E as default
|
|
140
139
|
};
|
package/toolbar/index.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { h as i } from "vue";
|
|
2
2
|
import { NOOP as u } from "@web-utils/core";
|
|
3
3
|
import f from "../toolbar-button/index.mjs";
|
|
4
|
-
import "../toolbar-button/style.css";
|
|
5
4
|
const h = {
|
|
6
5
|
back: {
|
|
7
6
|
label: "返回",
|
|
@@ -97,7 +96,7 @@ const h = {
|
|
|
97
96
|
icon: "el-icon-search",
|
|
98
97
|
separateLine: !1
|
|
99
98
|
}
|
|
100
|
-
},
|
|
99
|
+
}, B = {
|
|
101
100
|
name: "Toolbar",
|
|
102
101
|
provide() {
|
|
103
102
|
return {
|
|
@@ -194,5 +193,5 @@ const h = {
|
|
|
194
193
|
}
|
|
195
194
|
};
|
|
196
195
|
export {
|
|
197
|
-
|
|
196
|
+
B as default
|
|
198
197
|
};
|
package/web-types.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "@web-utils/component",
|
|
5
|
-
"version": "3.3.
|
|
5
|
+
"version": "3.3.17",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"description-markup": "markdown",
|
|
@@ -1143,7 +1143,7 @@
|
|
|
1143
1143
|
]
|
|
1144
1144
|
},
|
|
1145
1145
|
{
|
|
1146
|
-
"name": "
|
|
1146
|
+
"name": "DataCardText",
|
|
1147
1147
|
"description": "",
|
|
1148
1148
|
"attributes": [
|
|
1149
1149
|
{
|
|
@@ -17708,6 +17708,22 @@
|
|
|
17708
17708
|
"type": "string"
|
|
17709
17709
|
},
|
|
17710
17710
|
"default": "''"
|
|
17711
|
+
},
|
|
17712
|
+
{
|
|
17713
|
+
"name": "fontSize",
|
|
17714
|
+
"value": {
|
|
17715
|
+
"kind": "expression",
|
|
17716
|
+
"type": "string"
|
|
17717
|
+
},
|
|
17718
|
+
"default": "'12px'"
|
|
17719
|
+
},
|
|
17720
|
+
{
|
|
17721
|
+
"name": "size",
|
|
17722
|
+
"value": {
|
|
17723
|
+
"kind": "expression",
|
|
17724
|
+
"type": "string"
|
|
17725
|
+
},
|
|
17726
|
+
"default": "'40px'"
|
|
17711
17727
|
}
|
|
17712
17728
|
]
|
|
17713
17729
|
},
|
package/data-cardtext/index.mjs
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { n as r } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
2
|
-
const e = {
|
|
3
|
-
name: "DataCardtext",
|
|
4
|
-
props: {
|
|
5
|
-
option: {
|
|
6
|
-
type: Object,
|
|
7
|
-
default: () => {
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
computed: {
|
|
12
|
-
icon() {
|
|
13
|
-
return this.option.icon;
|
|
14
|
-
},
|
|
15
|
-
color() {
|
|
16
|
-
return this.option.color || "#333";
|
|
17
|
-
},
|
|
18
|
-
span() {
|
|
19
|
-
return this.option.span || 8;
|
|
20
|
-
},
|
|
21
|
-
data() {
|
|
22
|
-
return this.option.data || [];
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
var o = function() {
|
|
27
|
-
var t = this, a = t._self._c;
|
|
28
|
-
return a("div", { staticClass: "avue-data-cardText" }, [a("ElRow", { attrs: { span: 24 } }, t._l(t.data, function(n, s) {
|
|
29
|
-
return a("ElCol", { key: s, attrs: { md: t.span, xs: 24, sm: 12 } }, [a("div", { staticClass: "item" }, [a("a", { attrs: { href: n.href, target: n.target }, on: { click: function(_) {
|
|
30
|
-
n.click && n.click(n);
|
|
31
|
-
} } }, [a("div", { staticClass: "item-header" }, [t._v(" " + t._s(n.title) + " ")]), a("div", { staticClass: "item-content" }, [t._v(t._s(n.content))]), a("div", { staticClass: "item-footer" }, [a("span", [t._v(t._s(n.name))]), a("span", [t._v(t._s(n.date))])])])])]);
|
|
32
|
-
}), 1)], 1);
|
|
33
|
-
}, c = [], i = /* @__PURE__ */ r(
|
|
34
|
-
e,
|
|
35
|
-
o,
|
|
36
|
-
c,
|
|
37
|
-
!1,
|
|
38
|
-
null,
|
|
39
|
-
null
|
|
40
|
-
);
|
|
41
|
-
const p = i.exports;
|
|
42
|
-
export {
|
|
43
|
-
p as default
|
|
44
|
-
};
|
package/data-cardtext/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.avue-data-cardText .item{background:#f8f8f8;border-radius:6px;margin:10px 20px;padding:20px 25px;box-shadow:2px 2px 20px #ccc}.avue-data-cardText .item-header{color:#000;font-weight:700}.avue-data-cardText .item-content{color:#333;margin-top:8px;font-size:14px;line-height:22px}.avue-data-cardText .item-footer{color:#999;justify-content:space-between;margin-top:20px;font-size:12px;display:flex}.avue-data-cardText .item a{text-decoration:none}.avue-data-cardText .item a:visited{color:inherit}
|