@web-utils/component 3.0.3 → 3.0.5
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/address-input/index.mjs +22 -24
- package/awesome-button/index.mjs +29 -30
- package/card/index.mjs +40 -42
- package/carousel/index.mjs +25 -27
- package/chat/index.mjs +57 -67
- package/chunks/FormTemp.7f91629d.mjs +165 -0
- package/chunks/confirmable-mixin.817b542f.mjs +116 -0
- package/chunks/{dataformat.e655611c.mjs → dataformat.f995e2f9.mjs} +3 -3
- package/chunks/{event.10295951.mjs → event.b5d855dd.mjs} +1 -1
- package/chunks/{form-input-mixin.78a567bc.mjs → form-input-mixin.4632ad36.mjs} +1 -1
- package/chunks/{form-item-mixin.57cb2019.mjs → form-item-mixin.ad148e7b.mjs} +13 -13
- package/color-picker/index.mjs +128 -0
- package/confirm-button/index.mjs +1 -1
- package/confirmable/index.mjs +1 -1
- package/data-box/index.mjs +32 -34
- package/data-card/index.mjs +33 -35
- package/data-cardtext/index.mjs +27 -29
- package/data-display/index.mjs +33 -35
- package/data-icons/index.mjs +28 -30
- package/data-imgtext/index.mjs +27 -30
- package/data-operatext/index.mjs +39 -41
- package/data-panel/index.mjs +36 -38
- package/data-pay/index.mjs +20 -23
- package/data-price/index.mjs +32 -34
- package/data-progress/index.mjs +27 -30
- package/data-rotate/index.mjs +17 -19
- package/data-table-picker/index.mjs +22 -23
- package/data-tabs/index.mjs +31 -33
- package/dialog-form/index.mjs +31 -39
- package/dynamic-table/index.mjs +36 -40
- package/editable-progress/index.mjs +14 -16
- package/editable-tree/index.mjs +139 -143
- package/egd-collapse-item/index.mjs +2 -1
- package/element-dialog/index.mjs +24 -25
- package/flow-designer/index.mjs +1095 -1111
- package/form-block/index.mjs +22 -24
- package/form-cascader/index.mjs +20 -20
- package/form-checkbox-group/index.mjs +24 -25
- package/form-date-picker/index.mjs +18 -19
- package/form-holder/index.mjs +14 -15
- package/form-input/index.mjs +23 -23
- package/form-input-email/index.mjs +17 -17
- package/form-input-id-card/index.mjs +24 -24
- package/form-input-number/index.mjs +1 -1
- package/form-input-phone-number/index.mjs +26 -26
- package/form-input-tag/index.mjs +1 -1
- package/form-input-time/index.mjs +17 -17
- package/form-item/index.mjs +54 -56
- package/form-item-group/index.mjs +31 -33
- package/form-radio-group/index.mjs +51 -52
- package/form-select/index.mjs +31 -32
- package/form-switch/index.mjs +22 -22
- package/form-textarea/index.mjs +20 -20
- package/fy-array/index.mjs +61 -65
- package/fy-cascader/index.mjs +19 -20
- package/fy-checkbox/index.mjs +32 -37
- package/fy-code/index.mjs +13 -10
- package/fy-curd/index.mjs +638 -663
- package/fy-date/index.mjs +20 -21
- package/fy-draggable/index.mjs +19 -20
- package/fy-dynamic/index.mjs +26 -27
- package/fy-form/index.mjs +111 -122
- package/fy-form-design/index.mjs +1238 -1270
- package/fy-input/index.mjs +15 -17
- package/fy-input-color/index.mjs +25 -27
- package/fy-input-icon/index.mjs +20 -21
- package/fy-input-map/index.mjs +22 -24
- package/fy-input-number/index.mjs +22 -23
- package/fy-input-table/index.mjs +15 -17
- package/fy-input-tree/index.mjs +28 -32
- package/fy-progress/index.mjs +23 -24
- package/fy-radio/index.mjs +18 -23
- package/fy-rate/index.mjs +12 -13
- package/fy-select/index.mjs +40 -44
- package/fy-slider/index.mjs +17 -18
- package/fy-switch/index.mjs +20 -21
- package/fy-tabs/index.mjs +19 -21
- package/fy-time/index.mjs +14 -20
- package/fy-title/index.mjs +1 -1
- package/fy-tree/index.mjs +17 -21
- package/fy-upload/index.mjs +74 -76
- package/guide-steps/index.mjs +22 -24
- package/image-cropper/index.mjs +50 -51
- package/image-preview/index.mjs +24 -26
- package/index.mjs +480 -477
- package/input-number/index.mjs +13 -14
- package/input-number-range/index.mjs +23 -24
- package/login/index.mjs +35 -40
- package/nav-bar/index.mjs +13 -14
- package/notice/index.mjs +18 -19
- package/package.json +3 -3
- package/page-index/index.mjs +33 -34
- package/page-index-top/index.mjs +22 -24
- package/pageable-table/index.mjs +92 -96
- package/pageable-view/index.mjs +33 -34
- package/search/index.mjs +21 -23
- package/static-pageable-table/index.mjs +18 -20
- package/swiper/index.mjs +22 -23
- package/table-view/index.mjs +49 -53
- package/tag-render/index.mjs +19 -21
- package/text-ellipsis/index.mjs +11 -12
- package/tinymce-editor/index.mjs +50 -51
- package/toolbar-button/index.mjs +18 -19
- package/vue-cron/index.mjs +104 -112
- package/web-types.json +85 -1
- package/x-input-tag/index.mjs +47 -50
- package/chunks/FormTemp.d079292b.mjs +0 -139
- package/chunks/confirmable-mixin.26e1d0e0.mjs +0 -197
- package/chunks/detail.d6f8e347.mjs +0 -29
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
var c = (e, o, t) => new Promise((r, n) => {
|
|
2
|
+
var d = (i) => {
|
|
3
|
+
try {
|
|
4
|
+
s(t.next(i));
|
|
5
|
+
} catch (l) {
|
|
6
|
+
n(l);
|
|
7
|
+
}
|
|
8
|
+
}, u = (i) => {
|
|
9
|
+
try {
|
|
10
|
+
s(t.throw(i));
|
|
11
|
+
} catch (l) {
|
|
12
|
+
n(l);
|
|
13
|
+
}
|
|
14
|
+
}, s = (i) => i.done ? r(i.value) : Promise.resolve(i.value).then(d, u);
|
|
15
|
+
s((t = t.apply(e, o)).next());
|
|
16
|
+
});
|
|
17
|
+
import p from "element-ui/packages/color-picker/src/color";
|
|
18
|
+
import h from "element-ui/src/utils/clickoutside";
|
|
19
|
+
import { n as f } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
20
|
+
var m = function() {
|
|
21
|
+
var e = this, o = e.$createElement, t = e._self._c || o;
|
|
22
|
+
return t("ElColorPickerDropdown", {
|
|
23
|
+
directives: [{
|
|
24
|
+
name: "clickoutside",
|
|
25
|
+
rawName: "v-clickoutside",
|
|
26
|
+
value: e.onClickOutside,
|
|
27
|
+
expression: "onClickOutside"
|
|
28
|
+
}],
|
|
29
|
+
ref: "dropdown",
|
|
30
|
+
class: ["el-color-picker__panel", e.popperClass || ""],
|
|
31
|
+
attrs: {
|
|
32
|
+
offset: e.offset,
|
|
33
|
+
"append-to-body": e.appendToBody,
|
|
34
|
+
color: e.color,
|
|
35
|
+
predefine: e.predefine
|
|
36
|
+
},
|
|
37
|
+
on: {
|
|
38
|
+
pick: e.confirmValue,
|
|
39
|
+
clear: e.clearValue
|
|
40
|
+
},
|
|
41
|
+
model: {
|
|
42
|
+
value: e.showPicker,
|
|
43
|
+
callback: function(r) {
|
|
44
|
+
e.showPicker = r;
|
|
45
|
+
},
|
|
46
|
+
expression: "showPicker"
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
}, k = [];
|
|
50
|
+
const v = {
|
|
51
|
+
name: "ColorPicker",
|
|
52
|
+
directives: { Clickoutside: h },
|
|
53
|
+
props: {
|
|
54
|
+
popperClass: String,
|
|
55
|
+
predefine: Array,
|
|
56
|
+
visible: Boolean,
|
|
57
|
+
hideOnClickOutside: {
|
|
58
|
+
type: Boolean,
|
|
59
|
+
default: !0
|
|
60
|
+
},
|
|
61
|
+
value: String,
|
|
62
|
+
offset: Number,
|
|
63
|
+
anchor: HTMLElement,
|
|
64
|
+
appendToBody: {
|
|
65
|
+
type: Boolean,
|
|
66
|
+
default: !0
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
data() {
|
|
70
|
+
return {
|
|
71
|
+
color: new p({ enableAlpha: !1 }),
|
|
72
|
+
showPicker: !1
|
|
73
|
+
};
|
|
74
|
+
},
|
|
75
|
+
watch: {
|
|
76
|
+
value: {
|
|
77
|
+
immediate: !0,
|
|
78
|
+
handler(e) {
|
|
79
|
+
e && e !== this.color.value && this.color.fromString(e);
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
visible: {
|
|
83
|
+
immediate: !0,
|
|
84
|
+
handler(e) {
|
|
85
|
+
return c(this, null, function* () {
|
|
86
|
+
e ? (yield this.$nextTick(), this.$refs.dropdown.referenceElm = this.anchor) : this.$refs.dropdown && this.$refs.dropdown.doDestroy(!0), this.showPicker = e;
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
methods: {
|
|
92
|
+
confirmValue() {
|
|
93
|
+
this.emitInput(this.color), this.$emit("pick", this.color.value), this.hide();
|
|
94
|
+
},
|
|
95
|
+
clearValue() {
|
|
96
|
+
this.$emit("clear"), this.hide();
|
|
97
|
+
},
|
|
98
|
+
emitInput(e) {
|
|
99
|
+
this.$emit("input", e.value);
|
|
100
|
+
},
|
|
101
|
+
onClickOutside() {
|
|
102
|
+
this.hideOnClickOutside && this.hide();
|
|
103
|
+
},
|
|
104
|
+
hide() {
|
|
105
|
+
this.$emit("update:visible", !1);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}, a = {};
|
|
109
|
+
var _ = /* @__PURE__ */ f(
|
|
110
|
+
v,
|
|
111
|
+
m,
|
|
112
|
+
k,
|
|
113
|
+
!1,
|
|
114
|
+
w,
|
|
115
|
+
null,
|
|
116
|
+
null,
|
|
117
|
+
null
|
|
118
|
+
);
|
|
119
|
+
function w(e) {
|
|
120
|
+
for (let o in a)
|
|
121
|
+
this[o] = a[o];
|
|
122
|
+
}
|
|
123
|
+
const b = /* @__PURE__ */ function() {
|
|
124
|
+
return _.exports;
|
|
125
|
+
}();
|
|
126
|
+
export {
|
|
127
|
+
b as default
|
|
128
|
+
};
|
package/confirm-button/index.mjs
CHANGED
package/confirmable/index.mjs
CHANGED
package/data-box/index.mjs
CHANGED
|
@@ -1,59 +1,57 @@
|
|
|
1
|
-
import e from "
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var n = this, o = n.$createElement, a = n._self._c || o;
|
|
6
|
-
return a("div", {
|
|
1
|
+
import { n as e } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
2
|
+
var c = function() {
|
|
3
|
+
var a = this, s = a.$createElement, n = a._self._c || s;
|
|
4
|
+
return n("div", {
|
|
7
5
|
staticClass: "data-box"
|
|
8
|
-
}, [
|
|
6
|
+
}, [n("ElRow", {
|
|
9
7
|
attrs: {
|
|
10
8
|
span: 24
|
|
11
9
|
}
|
|
12
|
-
},
|
|
13
|
-
return
|
|
10
|
+
}, a._l(a.data, function(t, i) {
|
|
11
|
+
return n("ElCol", {
|
|
14
12
|
key: i,
|
|
15
13
|
attrs: {
|
|
16
|
-
md:
|
|
14
|
+
md: a.span,
|
|
17
15
|
xs: 24,
|
|
18
16
|
sm: 12
|
|
19
17
|
}
|
|
20
|
-
}, [
|
|
18
|
+
}, [n("div", {
|
|
21
19
|
staticClass: "item"
|
|
22
|
-
}, [
|
|
20
|
+
}, [n("a", {
|
|
23
21
|
attrs: {
|
|
24
22
|
href: t.href,
|
|
25
23
|
target: t.target
|
|
26
24
|
},
|
|
27
25
|
on: {
|
|
28
|
-
click: function(
|
|
26
|
+
click: function(d) {
|
|
29
27
|
t.click && t.click(t);
|
|
30
28
|
}
|
|
31
29
|
}
|
|
32
|
-
}, [
|
|
30
|
+
}, [n("div", {
|
|
33
31
|
staticClass: "item-icon",
|
|
34
32
|
style: {
|
|
35
33
|
backgroundColor: t.color
|
|
36
34
|
}
|
|
37
|
-
}, [
|
|
35
|
+
}, [n("i", {
|
|
38
36
|
class: t.icon
|
|
39
|
-
})]),
|
|
37
|
+
})]), n("div", {
|
|
40
38
|
staticClass: "item-info"
|
|
41
|
-
}, [
|
|
39
|
+
}, [n("CountUp", {
|
|
42
40
|
staticClass: "title",
|
|
43
41
|
style: {
|
|
44
42
|
color: t.color
|
|
45
43
|
},
|
|
46
44
|
attrs: {
|
|
47
|
-
animation: t.animation ||
|
|
48
|
-
decimals: t.decimals ||
|
|
45
|
+
animation: t.animation || a.animation,
|
|
46
|
+
decimals: t.decimals || a.decimals,
|
|
49
47
|
end: t.count
|
|
50
48
|
}
|
|
51
|
-
}),
|
|
49
|
+
}), n("div", {
|
|
52
50
|
staticClass: "info"
|
|
53
|
-
}, [
|
|
51
|
+
}, [a._v(a._s(t.title))])], 1)])])]);
|
|
54
52
|
}), 1)], 1);
|
|
55
|
-
},
|
|
56
|
-
const
|
|
53
|
+
}, r = [];
|
|
54
|
+
const l = {
|
|
57
55
|
name: "DataBox",
|
|
58
56
|
props: {
|
|
59
57
|
option: {
|
|
@@ -76,24 +74,24 @@ const u = {
|
|
|
76
74
|
return this.option.data || [];
|
|
77
75
|
}
|
|
78
76
|
}
|
|
79
|
-
},
|
|
80
|
-
var
|
|
81
|
-
u,
|
|
77
|
+
}, o = {};
|
|
78
|
+
var _ = /* @__PURE__ */ e(
|
|
82
79
|
l,
|
|
83
|
-
|
|
80
|
+
c,
|
|
81
|
+
r,
|
|
84
82
|
!1,
|
|
85
|
-
|
|
83
|
+
u,
|
|
86
84
|
null,
|
|
87
85
|
null,
|
|
88
86
|
null
|
|
89
87
|
);
|
|
90
|
-
function
|
|
91
|
-
for (let
|
|
92
|
-
this[
|
|
88
|
+
function u(a) {
|
|
89
|
+
for (let s in o)
|
|
90
|
+
this[s] = o[s];
|
|
93
91
|
}
|
|
94
|
-
const
|
|
95
|
-
return
|
|
92
|
+
const v = /* @__PURE__ */ function() {
|
|
93
|
+
return _.exports;
|
|
96
94
|
}();
|
|
97
95
|
export {
|
|
98
|
-
|
|
96
|
+
v as default
|
|
99
97
|
};
|
package/data-card/index.mjs
CHANGED
|
@@ -1,57 +1,55 @@
|
|
|
1
|
-
import s from "
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var t = this, e = t.$createElement, o = t._self._c || e;
|
|
6
|
-
return o("div", {
|
|
1
|
+
import { n as s } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
2
|
+
var l = function() {
|
|
3
|
+
var t = this, o = t.$createElement, r = t._self._c || o;
|
|
4
|
+
return r("div", {
|
|
7
5
|
staticClass: "data-card"
|
|
8
|
-
}, [
|
|
6
|
+
}, [r("ElRow", {
|
|
9
7
|
attrs: {
|
|
10
8
|
span: 24
|
|
11
9
|
}
|
|
12
|
-
}, t._l(t.data, function(
|
|
13
|
-
return
|
|
14
|
-
key:
|
|
10
|
+
}, t._l(t.data, function(e, n) {
|
|
11
|
+
return r("ElCol", {
|
|
12
|
+
key: n,
|
|
15
13
|
attrs: {
|
|
16
14
|
md: t.span,
|
|
17
15
|
xs: 24,
|
|
18
16
|
sm: 12
|
|
19
17
|
}
|
|
20
|
-
}, [
|
|
18
|
+
}, [r("div", {
|
|
21
19
|
staticClass: "item"
|
|
22
|
-
}, [
|
|
20
|
+
}, [r("a", {
|
|
23
21
|
attrs: {
|
|
24
|
-
href:
|
|
25
|
-
target:
|
|
22
|
+
href: e.href,
|
|
23
|
+
target: e.target
|
|
26
24
|
},
|
|
27
25
|
on: {
|
|
28
|
-
click: function(
|
|
29
|
-
|
|
26
|
+
click: function(d) {
|
|
27
|
+
e.click && e.click(e);
|
|
30
28
|
}
|
|
31
29
|
}
|
|
32
|
-
}, [
|
|
30
|
+
}, [r("img", {
|
|
33
31
|
staticClass: "item-img",
|
|
34
32
|
attrs: {
|
|
35
|
-
src:
|
|
33
|
+
src: e.src,
|
|
36
34
|
alt: ""
|
|
37
35
|
}
|
|
38
|
-
}),
|
|
36
|
+
}), r("div", {
|
|
39
37
|
staticClass: "item-text",
|
|
40
38
|
style: {
|
|
41
39
|
backgroundColor: t.bgText
|
|
42
40
|
}
|
|
43
|
-
}, [
|
|
41
|
+
}, [r("h3", {
|
|
44
42
|
style: {
|
|
45
43
|
color: t.colorText
|
|
46
44
|
}
|
|
47
|
-
}, [t._v(t._s(
|
|
45
|
+
}, [t._v(t._s(e.name))]), r("p", {
|
|
48
46
|
style: {
|
|
49
47
|
color: t.colorText
|
|
50
48
|
}
|
|
51
|
-
}, [t._v(t._s(
|
|
49
|
+
}, [t._v(t._s(e.text))])])])])]);
|
|
52
50
|
}), 1)], 1);
|
|
53
|
-
},
|
|
54
|
-
const
|
|
51
|
+
}, c = [];
|
|
52
|
+
const i = {
|
|
55
53
|
name: "DataCard",
|
|
56
54
|
props: {
|
|
57
55
|
option: {
|
|
@@ -77,24 +75,24 @@ const u = {
|
|
|
77
75
|
return this.option.borderColor || "#2e323f";
|
|
78
76
|
}
|
|
79
77
|
}
|
|
80
|
-
},
|
|
81
|
-
var
|
|
82
|
-
u,
|
|
78
|
+
}, a = {};
|
|
79
|
+
var _ = /* @__PURE__ */ s(
|
|
83
80
|
i,
|
|
84
|
-
|
|
81
|
+
l,
|
|
82
|
+
c,
|
|
85
83
|
!1,
|
|
86
|
-
|
|
84
|
+
u,
|
|
87
85
|
null,
|
|
88
86
|
null,
|
|
89
87
|
null
|
|
90
88
|
);
|
|
91
|
-
function
|
|
92
|
-
for (let
|
|
93
|
-
this[
|
|
89
|
+
function u(t) {
|
|
90
|
+
for (let o in a)
|
|
91
|
+
this[o] = a[o];
|
|
94
92
|
}
|
|
95
|
-
const
|
|
96
|
-
return
|
|
93
|
+
const f = /* @__PURE__ */ function() {
|
|
94
|
+
return _.exports;
|
|
97
95
|
}();
|
|
98
96
|
export {
|
|
99
|
-
|
|
97
|
+
f as default
|
|
100
98
|
};
|
package/data-cardtext/index.mjs
CHANGED
|
@@ -1,44 +1,42 @@
|
|
|
1
|
-
import r from "
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var t = this, e = t.$createElement, n = t._self._c || e;
|
|
6
|
-
return n("div", {
|
|
1
|
+
import { n as r } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
2
|
+
var c = function() {
|
|
3
|
+
var t = this, e = t.$createElement, a = t._self._c || e;
|
|
4
|
+
return a("div", {
|
|
7
5
|
staticClass: "avue-data-cardText"
|
|
8
|
-
}, [
|
|
6
|
+
}, [a("ElRow", {
|
|
9
7
|
attrs: {
|
|
10
8
|
span: 24
|
|
11
9
|
}
|
|
12
|
-
}, t._l(t.data, function(
|
|
13
|
-
return
|
|
10
|
+
}, t._l(t.data, function(n, o) {
|
|
11
|
+
return a("ElCol", {
|
|
14
12
|
key: o,
|
|
15
13
|
attrs: {
|
|
16
14
|
md: t.span,
|
|
17
15
|
xs: 24,
|
|
18
16
|
sm: 12
|
|
19
17
|
}
|
|
20
|
-
}, [
|
|
18
|
+
}, [a("div", {
|
|
21
19
|
staticClass: "item"
|
|
22
|
-
}, [
|
|
20
|
+
}, [a("a", {
|
|
23
21
|
attrs: {
|
|
24
|
-
href:
|
|
25
|
-
target:
|
|
22
|
+
href: n.href,
|
|
23
|
+
target: n.target
|
|
26
24
|
},
|
|
27
25
|
on: {
|
|
28
|
-
click: function(
|
|
29
|
-
|
|
26
|
+
click: function(d) {
|
|
27
|
+
n.click && n.click(n);
|
|
30
28
|
}
|
|
31
29
|
}
|
|
32
|
-
}, [
|
|
30
|
+
}, [a("div", {
|
|
33
31
|
staticClass: "item-header"
|
|
34
|
-
}, [t._v(" " + t._s(
|
|
32
|
+
}, [t._v(" " + t._s(n.title) + " ")]), a("div", {
|
|
35
33
|
staticClass: "item-content"
|
|
36
|
-
}, [t._v(t._s(
|
|
34
|
+
}, [t._v(t._s(n.content))]), a("div", {
|
|
37
35
|
staticClass: "item-footer"
|
|
38
|
-
}, [
|
|
36
|
+
}, [a("span", [t._v(t._s(n.name))]), a("span", [t._v(t._s(n.date))])])])])]);
|
|
39
37
|
}), 1)], 1);
|
|
40
|
-
},
|
|
41
|
-
const
|
|
38
|
+
}, i = [];
|
|
39
|
+
const _ = {
|
|
42
40
|
name: "DataCardtext",
|
|
43
41
|
props: {
|
|
44
42
|
option: {
|
|
@@ -62,23 +60,23 @@ const p = {
|
|
|
62
60
|
}
|
|
63
61
|
}
|
|
64
62
|
}, s = {};
|
|
65
|
-
var
|
|
66
|
-
|
|
63
|
+
var l = /* @__PURE__ */ r(
|
|
64
|
+
_,
|
|
65
|
+
c,
|
|
67
66
|
i,
|
|
68
|
-
l,
|
|
69
67
|
!1,
|
|
70
|
-
|
|
68
|
+
u,
|
|
71
69
|
null,
|
|
72
70
|
null,
|
|
73
71
|
null
|
|
74
72
|
);
|
|
75
|
-
function
|
|
73
|
+
function u(t) {
|
|
76
74
|
for (let e in s)
|
|
77
75
|
this[e] = s[e];
|
|
78
76
|
}
|
|
79
|
-
const
|
|
80
|
-
return
|
|
77
|
+
const v = /* @__PURE__ */ function() {
|
|
78
|
+
return l.exports;
|
|
81
79
|
}();
|
|
82
80
|
export {
|
|
83
|
-
|
|
81
|
+
v as default
|
|
84
82
|
};
|
package/data-display/index.mjs
CHANGED
|
@@ -1,53 +1,51 @@
|
|
|
1
1
|
import e from "@web-utils/component/count-up";
|
|
2
|
-
import r from "
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var t = this, o = t.$createElement, a = t._self._c || o;
|
|
7
|
-
return a("div", {
|
|
2
|
+
import { n as r } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
3
|
+
var l = function() {
|
|
4
|
+
var t = this, s = t.$createElement, n = t._self._c || s;
|
|
5
|
+
return n("div", {
|
|
8
6
|
staticClass: "avue-data-display"
|
|
9
|
-
}, [
|
|
7
|
+
}, [n("ElRow", {
|
|
10
8
|
attrs: {
|
|
11
9
|
span: 24
|
|
12
10
|
}
|
|
13
|
-
}, t._l(t.data, function(
|
|
14
|
-
return
|
|
11
|
+
}, t._l(t.data, function(a, i) {
|
|
12
|
+
return n("ElCol", {
|
|
15
13
|
key: i,
|
|
16
14
|
attrs: {
|
|
17
15
|
md: t.span,
|
|
18
16
|
xs: 12,
|
|
19
17
|
sm: 12
|
|
20
18
|
}
|
|
21
|
-
}, [
|
|
19
|
+
}, [n("div", {
|
|
22
20
|
staticClass: "item",
|
|
23
21
|
style: {
|
|
24
22
|
color: t.color
|
|
25
23
|
}
|
|
26
|
-
}, [
|
|
24
|
+
}, [n("a", {
|
|
27
25
|
attrs: {
|
|
28
|
-
href:
|
|
29
|
-
target:
|
|
26
|
+
href: a.href,
|
|
27
|
+
target: a.target
|
|
30
28
|
},
|
|
31
29
|
on: {
|
|
32
|
-
click: function(
|
|
33
|
-
|
|
30
|
+
click: function(d) {
|
|
31
|
+
a.click && a.click(a);
|
|
34
32
|
}
|
|
35
33
|
}
|
|
36
|
-
}, [
|
|
34
|
+
}, [n("CountUp", {
|
|
37
35
|
staticClass: "count",
|
|
38
36
|
attrs: {
|
|
39
|
-
animation:
|
|
40
|
-
decimals:
|
|
41
|
-
end:
|
|
37
|
+
animation: a.animation || t.animation,
|
|
38
|
+
decimals: a.decimals || t.decimals,
|
|
39
|
+
end: a.count
|
|
42
40
|
}
|
|
43
|
-
}),
|
|
41
|
+
}), n("span", {
|
|
44
42
|
staticClass: "splitLine"
|
|
45
|
-
}),
|
|
43
|
+
}), n("div", {
|
|
46
44
|
staticClass: "title"
|
|
47
|
-
}, [t._v(t._s(
|
|
45
|
+
}, [t._v(t._s(a.title))])], 1)])]);
|
|
48
46
|
}), 1)], 1);
|
|
49
|
-
},
|
|
50
|
-
const
|
|
47
|
+
}, c = [];
|
|
48
|
+
const p = {
|
|
51
49
|
name: "DataDisplay",
|
|
52
50
|
components: {
|
|
53
51
|
CountUp: e
|
|
@@ -76,24 +74,24 @@ const u = {
|
|
|
76
74
|
return this.option.color || "rgb(63, 161, 255)";
|
|
77
75
|
}
|
|
78
76
|
}
|
|
79
|
-
},
|
|
80
|
-
var
|
|
81
|
-
u,
|
|
77
|
+
}, o = {};
|
|
78
|
+
var u = /* @__PURE__ */ r(
|
|
82
79
|
p,
|
|
83
|
-
|
|
80
|
+
l,
|
|
81
|
+
c,
|
|
84
82
|
!1,
|
|
85
|
-
|
|
83
|
+
_,
|
|
86
84
|
null,
|
|
87
85
|
null,
|
|
88
86
|
null
|
|
89
87
|
);
|
|
90
|
-
function
|
|
91
|
-
for (let
|
|
92
|
-
this[
|
|
88
|
+
function _(t) {
|
|
89
|
+
for (let s in o)
|
|
90
|
+
this[s] = o[s];
|
|
93
91
|
}
|
|
94
|
-
const
|
|
95
|
-
return
|
|
92
|
+
const h = /* @__PURE__ */ function() {
|
|
93
|
+
return u.exports;
|
|
96
94
|
}();
|
|
97
95
|
export {
|
|
98
|
-
|
|
96
|
+
h as default
|
|
99
97
|
};
|
package/data-icons/index.mjs
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import c from "
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var l = function() {
|
|
5
|
-
var t = this, s = t.$createElement, n = t._self._c || s;
|
|
1
|
+
import { n as c } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
2
|
+
var e = function() {
|
|
3
|
+
var t = this, a = t.$createElement, n = t._self._c || a;
|
|
6
4
|
return n("div", {
|
|
7
5
|
staticClass: "data-icons"
|
|
8
|
-
}, [n(
|
|
6
|
+
}, [n("ElRow", {
|
|
9
7
|
attrs: {
|
|
10
8
|
span: 24
|
|
11
9
|
}
|
|
12
|
-
}, [t._l(t.data, function(
|
|
13
|
-
return [n(
|
|
10
|
+
}, [t._l(t.data, function(s, i) {
|
|
11
|
+
return [n("ElCol", {
|
|
14
12
|
key: i,
|
|
15
13
|
attrs: {
|
|
16
14
|
xs: 12,
|
|
@@ -24,12 +22,12 @@ var l = function() {
|
|
|
24
22
|
}]
|
|
25
23
|
}, [n("a", {
|
|
26
24
|
attrs: {
|
|
27
|
-
href:
|
|
28
|
-
target:
|
|
25
|
+
href: s.href,
|
|
26
|
+
target: s.target
|
|
29
27
|
},
|
|
30
28
|
on: {
|
|
31
|
-
click: function(
|
|
32
|
-
|
|
29
|
+
click: function(d) {
|
|
30
|
+
s.click && s.click(s);
|
|
33
31
|
}
|
|
34
32
|
}
|
|
35
33
|
}, [n("div", {
|
|
@@ -38,23 +36,23 @@ var l = function() {
|
|
|
38
36
|
color: t.color
|
|
39
37
|
}
|
|
40
38
|
}, [n("i", {
|
|
41
|
-
class:
|
|
39
|
+
class: s.icon
|
|
42
40
|
})]), n("div", {
|
|
43
41
|
staticClass: "item-info"
|
|
44
|
-
}, [n("span", [t._v(t._s(
|
|
42
|
+
}, [n("span", [t._v(t._s(s.title))]), n("CountUp", {
|
|
45
43
|
staticClass: "count",
|
|
46
44
|
style: {
|
|
47
45
|
color: t.color
|
|
48
46
|
},
|
|
49
47
|
attrs: {
|
|
50
|
-
animation:
|
|
51
|
-
decimals:
|
|
52
|
-
end:
|
|
48
|
+
animation: s.animation || t.animation,
|
|
49
|
+
decimals: s.decimals || t.decimals,
|
|
50
|
+
end: s.count
|
|
53
51
|
}
|
|
54
52
|
})], 1)])])])];
|
|
55
53
|
})], 2)], 1);
|
|
56
|
-
},
|
|
57
|
-
const
|
|
54
|
+
}, r = [];
|
|
55
|
+
const l = {
|
|
58
56
|
name: "DataIcons",
|
|
59
57
|
props: {
|
|
60
58
|
option: {
|
|
@@ -83,24 +81,24 @@ const _ = {
|
|
|
83
81
|
return this.option.discount || !1;
|
|
84
82
|
}
|
|
85
83
|
}
|
|
86
|
-
},
|
|
87
|
-
var
|
|
88
|
-
_,
|
|
84
|
+
}, o = {};
|
|
85
|
+
var u = /* @__PURE__ */ c(
|
|
89
86
|
l,
|
|
90
|
-
|
|
87
|
+
e,
|
|
88
|
+
r,
|
|
91
89
|
!1,
|
|
92
|
-
|
|
90
|
+
_,
|
|
93
91
|
null,
|
|
94
92
|
null,
|
|
95
93
|
null
|
|
96
94
|
);
|
|
97
|
-
function
|
|
98
|
-
for (let
|
|
99
|
-
this[
|
|
95
|
+
function _(t) {
|
|
96
|
+
for (let a in o)
|
|
97
|
+
this[a] = o[a];
|
|
100
98
|
}
|
|
101
|
-
const
|
|
102
|
-
return
|
|
99
|
+
const v = /* @__PURE__ */ function() {
|
|
100
|
+
return u.exports;
|
|
103
101
|
}();
|
|
104
102
|
export {
|
|
105
|
-
|
|
103
|
+
v as default
|
|
106
104
|
};
|