@web-utils/component 3.0.6 → 3.1.0
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 +20 -57
- package/affix/index.mjs +26 -47
- package/aside-menu/index.mjs +18 -43
- package/avatar/index.mjs +27 -49
- package/awesome-button/index.mjs +35 -43
- package/capsule-tab/index.mjs +16 -34
- package/card/index.mjs +21 -76
- package/carousel/index.mjs +14 -49
- package/chat/index.mjs +104 -414
- package/chunk-file-uploader/index.mjs +21 -38
- package/chunks/FormTemp.aa57efb4.mjs +125 -0
- package/code-mirror-editor/index.mjs +69 -79
- package/color-picker/index.mjs +29 -60
- package/comment/index.mjs +17 -48
- package/confirm-button/index.mjs +11 -19
- package/confirmable/index.mjs +12 -20
- package/context-menu/index.mjs +42 -144
- package/count-up/index.mjs +18 -25
- package/custom-scrollbar/index.mjs +13 -22
- package/data-box/index.mjs +15 -66
- package/data-card/index.mjs +16 -65
- package/data-cardtext/index.mjs +16 -52
- package/data-display/index.mjs +18 -62
- package/data-icons/index.mjs +16 -68
- package/data-imgtext/index.mjs +18 -79
- package/data-operatext/index.mjs +18 -75
- package/data-panel/index.mjs +16 -63
- package/data-pay/index.mjs +20 -122
- package/data-price/index.mjs +18 -60
- package/data-progress/index.mjs +16 -67
- package/data-rotate/index.mjs +16 -66
- package/data-table-picker/index.mjs +25 -88
- package/data-tabs/index.mjs +16 -64
- package/dialog-form/index.mjs +48 -94
- package/dynamic-table/index.mjs +43 -127
- package/e-charts/index.mjs +21 -34
- package/easy-popup/index.mjs +35 -61
- package/editable-progress/index.mjs +22 -77
- package/editable-tree/index.mjs +235 -546
- package/egd-collapse/index.mjs +13 -26
- package/egd-collapse-item/index.mjs +27 -87
- package/element-dialog/index.mjs +69 -133
- package/empty-view/index.mjs +13 -33
- package/error-view/index.mjs +14 -34
- package/flex-column/index.mjs +15 -23
- package/flex-item/index.mjs +18 -26
- package/flex-row/index.mjs +23 -31
- package/flex-scroller/index.mjs +16 -27
- package/flow/index.mjs +70 -110
- package/flow-designer/index.mjs +1215 -4804
- package/flow-node/index.mjs +15 -51
- package/flow-viewer/index.mjs +64 -89
- package/form-block/index.mjs +43 -62
- package/form-button/index.mjs +10 -18
- package/form-cascader/index.mjs +49 -100
- package/form-checkbox-group/index.mjs +43 -110
- package/form-date-picker/index.mjs +51 -97
- package/form-holder/index.mjs +25 -42
- package/form-input/index.mjs +40 -90
- package/form-input-email/index.mjs +35 -79
- package/form-input-id-card/index.mjs +40 -87
- package/form-input-number/index.mjs +42 -102
- package/form-input-phone-number/index.mjs +34 -75
- package/form-input-tag/index.mjs +31 -73
- package/form-input-time/index.mjs +42 -87
- package/form-item/index.mjs +70 -89
- package/form-item-config-provider/index.mjs +12 -20
- package/form-item-group/index.mjs +46 -65
- package/form-radio-group/index.mjs +50 -108
- package/form-select/index.mjs +44 -95
- package/form-switch/index.mjs +38 -85
- package/form-textarea/index.mjs +31 -75
- package/form-view/index.mjs +112 -260
- package/fy-array/index.mjs +35 -121
- package/fy-article/index.mjs +12 -43
- package/fy-cascader/index.mjs +26 -67
- package/fy-checkbox/index.mjs +27 -77
- package/fy-code/index.mjs +19 -33
- package/fy-curd/index.mjs +810 -2017
- package/fy-date/index.mjs +18 -59
- package/fy-draggable/index.mjs +81 -140
- package/fy-dynamic/index.mjs +85 -204
- package/fy-empty/index.mjs +14 -35
- package/fy-form/index.mjs +254 -571
- package/fy-form-design/index.mjs +1489 -6084
- package/fy-form-design/style.css +1 -1
- package/fy-input/index.mjs +34 -104
- package/fy-input-color/index.mjs +22 -67
- package/fy-input-icon/index.mjs +37 -122
- package/fy-input-map/index.mjs +57 -149
- package/fy-input-number/index.mjs +18 -53
- package/fy-input-table/index.mjs +36 -102
- package/fy-input-tree/index.mjs +51 -138
- package/fy-progress/index.mjs +12 -31
- package/fy-radio/index.mjs +20 -51
- package/fy-rate/index.mjs +18 -51
- package/fy-select/index.mjs +49 -134
- package/fy-slider/index.mjs +19 -52
- package/fy-switch/index.mjs +18 -48
- package/fy-tabs/index.mjs +19 -51
- package/fy-time/index.mjs +22 -62
- package/fy-title/index.mjs +14 -25
- package/fy-tree/index.mjs +74 -216
- package/fy-u-editor/index.mjs +50 -64
- package/fy-upload/index.mjs +167 -338
- package/guide-steps/index.mjs +33 -53
- package/highlight-j-s/index.mjs +13 -27
- package/icon-card/index.mjs +12 -36
- package/icon-temp/index.mjs +12 -34
- package/iframe-window/index.mjs +13 -40
- package/image-cropper/index.mjs +46 -171
- package/image-preview/index.mjs +54 -168
- package/image-viewer/index.mjs +24 -50
- package/index.css +1 -0
- package/index.mjs +3973 -501
- package/input-number/index.mjs +84 -173
- package/input-number-range/index.mjs +20 -70
- package/j-s-x-component/index.mjs +3 -3
- package/keep-view-alive/index.mjs +47 -55
- package/keyboard/index.mjs +100 -113
- package/license/index.mjs +34 -51
- package/loading-view/index.mjs +14 -34
- package/login/index.mjs +33 -161
- package/monaco-editor/index.mjs +13 -21
- package/name-avatar/index.mjs +13 -32
- package/nav-bar/index.mjs +12 -31
- package/not-implement/index.mjs +14 -25
- package/notice/index.mjs +32 -80
- package/package.json +1 -1
- package/page/index.mjs +11 -23
- package/page-header/index.mjs +16 -37
- package/page-index/index.mjs +42 -93
- package/page-index-top/index.mjs +42 -84
- package/page-skeleton/index.mjs +24 -39
- package/page-skeleton-new/index.mjs +21 -68
- package/pageable-table/index.mjs +105 -227
- package/pageable-view/index.mjs +30 -83
- package/photo-swipe/index.mjs +62 -87
- package/present-view/index.mjs +114 -267
- package/queue/index.mjs +14 -29
- package/record-video/index.mjs +29 -66
- package/resize-observer/index.mjs +18 -30
- package/search/index.mjs +47 -81
- package/search-popover/index.mjs +57 -329
- package/sign/index.mjs +43 -60
- package/sign-panel/index.mjs +40 -151
- package/skeleton/index.mjs +18 -44
- package/split-pane/index.mjs +45 -129
- package/stateful/index.mjs +18 -26
- package/static-pageable-table/index.mjs +18 -44
- package/swiper/index.mjs +53 -94
- package/tab/index.mjs +13 -39
- package/tab-item/index.mjs +23 -37
- package/table-column/index.mjs +27 -35
- package/table-view/index.mjs +89 -209
- package/tag-render/index.mjs +34 -69
- package/text-ellipsis/index.mjs +22 -47
- package/tinymce-editor/index.mjs +174 -285
- package/toolbar/index.mjs +21 -42
- package/toolbar-button/index.mjs +25 -54
- package/verify/index.mjs +16 -29
- package/vue-cron/index.mjs +272 -1089
- package/vue-qr-code/index.mjs +19 -27
- package/vue-quill-editor/index.mjs +15 -27
- package/vue-tags-input/index.mjs +104 -224
- package/vue-tree-select/index.mjs +595 -742
- package/vue-video-player/index.mjs +42 -57
- package/watermark/index.mjs +27 -35
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +50 -112
- package/chunks/FormTemp.7f91629d.mjs +0 -165
- /package/chunks/{vueComponentNormalizer.446f5dc4.mjs → _plugin-vue2_normalizer.446f5dc4.mjs} +0 -0
package/comment/index.mjs
CHANGED
|
@@ -1,37 +1,9 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
|
|
3
|
-
var t = this, a = t.$createElement, e = t._self._c || a;
|
|
4
|
-
return e("div", {
|
|
5
|
-
class: ["avue-comment", {
|
|
6
|
-
"avue-comment--reverse": t.reverse
|
|
7
|
-
}]
|
|
8
|
-
}, [e("img", {
|
|
9
|
-
staticClass: "avue-comment__avatar",
|
|
10
|
-
attrs: {
|
|
11
|
-
src: t.avatar,
|
|
12
|
-
alt: ""
|
|
13
|
-
}
|
|
14
|
-
}), e("div", {
|
|
15
|
-
staticClass: "avue-comment__main"
|
|
16
|
-
}, [e("div", {
|
|
17
|
-
staticClass: "avue-comment__header"
|
|
18
|
-
}, [t.author ? e("div", {
|
|
19
|
-
staticClass: "avue-comment__author",
|
|
20
|
-
domProps: {
|
|
21
|
-
textContent: t._s(t.author)
|
|
22
|
-
}
|
|
23
|
-
}) : t._e(), t._t("default")], 2), t.body ? e("div", {
|
|
24
|
-
staticClass: "avue-comment__body",
|
|
25
|
-
domProps: {
|
|
26
|
-
innerHTML: t._s(t.body)
|
|
27
|
-
}
|
|
28
|
-
}) : t._e()])]);
|
|
29
|
-
}, u = [];
|
|
30
|
-
const r = {
|
|
1
|
+
import { n as r } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
|
|
2
|
+
const e = {
|
|
31
3
|
avatar: "avatar",
|
|
32
4
|
author: "author",
|
|
33
5
|
body: "body"
|
|
34
|
-
},
|
|
6
|
+
}, o = {
|
|
35
7
|
name: "Comment",
|
|
36
8
|
props: {
|
|
37
9
|
reverse: {
|
|
@@ -44,18 +16,18 @@ const r = {
|
|
|
44
16
|
},
|
|
45
17
|
props: {
|
|
46
18
|
type: Object,
|
|
47
|
-
default: () =>
|
|
19
|
+
default: () => e
|
|
48
20
|
}
|
|
49
21
|
},
|
|
50
22
|
computed: {
|
|
51
23
|
avatarKey() {
|
|
52
|
-
return this.props.avatar ||
|
|
24
|
+
return this.props.avatar || e.avatar;
|
|
53
25
|
},
|
|
54
26
|
authorKey() {
|
|
55
|
-
return this.props.author ||
|
|
27
|
+
return this.props.author || e.author;
|
|
56
28
|
},
|
|
57
29
|
bodyKey() {
|
|
58
|
-
return this.props.body ||
|
|
30
|
+
return this.props.body || e.body;
|
|
59
31
|
},
|
|
60
32
|
avatar() {
|
|
61
33
|
return this.data[this.avatarKey];
|
|
@@ -67,24 +39,21 @@ const r = {
|
|
|
67
39
|
return this.data[this.bodyKey];
|
|
68
40
|
}
|
|
69
41
|
}
|
|
70
|
-
}
|
|
71
|
-
var
|
|
72
|
-
|
|
42
|
+
};
|
|
43
|
+
var s = function() {
|
|
44
|
+
var t = this, a = t._self._c;
|
|
45
|
+
return a("div", { class: ["avue-comment", { "avue-comment--reverse": t.reverse }] }, [a("img", { staticClass: "avue-comment__avatar", attrs: { src: t.avatar, alt: "" } }), a("div", { staticClass: "avue-comment__main" }, [a("div", { staticClass: "avue-comment__header" }, [t.author ? a("div", { staticClass: "avue-comment__author", domProps: { textContent: t._s(t.author) } }) : t._e(), t._t("default")], 2), t.body ? a("div", { staticClass: "avue-comment__body", domProps: { innerHTML: t._s(t.body) } }) : t._e()])]);
|
|
46
|
+
}, n = [], u = /* @__PURE__ */ r(
|
|
47
|
+
o,
|
|
48
|
+
s,
|
|
73
49
|
n,
|
|
74
|
-
u,
|
|
75
50
|
!1,
|
|
76
|
-
|
|
51
|
+
null,
|
|
77
52
|
null,
|
|
78
53
|
null,
|
|
79
54
|
null
|
|
80
55
|
);
|
|
81
|
-
|
|
82
|
-
for (let a in o)
|
|
83
|
-
this[a] = o[a];
|
|
84
|
-
}
|
|
85
|
-
const m = /* @__PURE__ */ function() {
|
|
86
|
-
return v.exports;
|
|
87
|
-
}();
|
|
56
|
+
const d = u.exports;
|
|
88
57
|
export {
|
|
89
|
-
|
|
58
|
+
d as default
|
|
90
59
|
};
|
package/confirm-button/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { n as
|
|
3
|
-
const
|
|
1
|
+
import { c as n } from "../chunks/confirmable-mixin.817b542f.mjs";
|
|
2
|
+
import { n as t } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
|
|
3
|
+
const o = {
|
|
4
4
|
props: {
|
|
5
5
|
type: {
|
|
6
6
|
type: String,
|
|
@@ -29,29 +29,21 @@ const i = {
|
|
|
29
29
|
default: "ElButton"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
},
|
|
32
|
+
}, e = {
|
|
33
33
|
name: "ConfirmButton",
|
|
34
|
-
mixins: [
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
var u = /* @__PURE__ */ o(
|
|
34
|
+
mixins: [n, o]
|
|
35
|
+
}, l = null, a = null;
|
|
36
|
+
var i = /* @__PURE__ */ t(
|
|
37
|
+
e,
|
|
39
38
|
l,
|
|
40
|
-
r,
|
|
41
39
|
a,
|
|
42
40
|
!1,
|
|
43
|
-
|
|
41
|
+
null,
|
|
44
42
|
null,
|
|
45
43
|
null,
|
|
46
44
|
null
|
|
47
45
|
);
|
|
48
|
-
|
|
49
|
-
for (let t in n)
|
|
50
|
-
this[t] = n[t];
|
|
51
|
-
}
|
|
52
|
-
const f = /* @__PURE__ */ function() {
|
|
53
|
-
return u.exports;
|
|
54
|
-
}();
|
|
46
|
+
const u = i.exports;
|
|
55
47
|
export {
|
|
56
|
-
|
|
48
|
+
u as default
|
|
57
49
|
};
|
package/confirmable/index.mjs
CHANGED
|
@@ -1,28 +1,20 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { n as
|
|
3
|
-
const
|
|
1
|
+
import { c as n } from "../chunks/confirmable-mixin.817b542f.mjs";
|
|
2
|
+
import { n as l } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
|
|
3
|
+
const o = {
|
|
4
4
|
name: "Confirmable",
|
|
5
|
-
mixins: [
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
_,
|
|
12
|
-
i,
|
|
5
|
+
mixins: [n]
|
|
6
|
+
}, e = null, s = null;
|
|
7
|
+
var r = /* @__PURE__ */ l(
|
|
8
|
+
o,
|
|
9
|
+
e,
|
|
10
|
+
s,
|
|
13
11
|
!1,
|
|
14
|
-
|
|
12
|
+
null,
|
|
15
13
|
null,
|
|
16
14
|
null,
|
|
17
15
|
null
|
|
18
16
|
);
|
|
19
|
-
|
|
20
|
-
for (let n in e)
|
|
21
|
-
this[n] = e[n];
|
|
22
|
-
}
|
|
23
|
-
const u = /* @__PURE__ */ function() {
|
|
24
|
-
return s.exports;
|
|
25
|
-
}();
|
|
17
|
+
const t = r.exports;
|
|
26
18
|
export {
|
|
27
|
-
|
|
19
|
+
t as default
|
|
28
20
|
};
|
package/context-menu/index.mjs
CHANGED
|
@@ -1,116 +1,5 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
|
|
3
|
-
var t = this, i = t.$createElement, e = t._self._c || i;
|
|
4
|
-
return t.rendered ? e("div", {
|
|
5
|
-
directives: [{
|
|
6
|
-
name: "show",
|
|
7
|
-
rawName: "v-show",
|
|
8
|
-
value: t.visible,
|
|
9
|
-
expression: "visible"
|
|
10
|
-
}],
|
|
11
|
-
staticClass: "cm-container",
|
|
12
|
-
style: t.axisComputed
|
|
13
|
-
}, [e("svg", {
|
|
14
|
-
staticStyle: {
|
|
15
|
-
position: "absolute",
|
|
16
|
-
width: "0",
|
|
17
|
-
height: "0",
|
|
18
|
-
overflow: "hidden"
|
|
19
|
-
},
|
|
20
|
-
attrs: {
|
|
21
|
-
"aria-hidden": "true"
|
|
22
|
-
}
|
|
23
|
-
}, [e("symbol", {
|
|
24
|
-
attrs: {
|
|
25
|
-
id: "icon-arrow",
|
|
26
|
-
viewBox: "0 0 1024 1024"
|
|
27
|
-
}
|
|
28
|
-
}, [e("path", {
|
|
29
|
-
attrs: {
|
|
30
|
-
d: "M288.791335 65.582671l446.41733 446.417329-446.41733 446.417329z"
|
|
31
|
-
}
|
|
32
|
-
})])]), e("ul", {
|
|
33
|
-
staticClass: "cm-ul cm-ul-1 easy-cm-ul",
|
|
34
|
-
class: t.underline ? "cm-underline" : ""
|
|
35
|
-
}, t._l(t.list, function(s, l) {
|
|
36
|
-
return e("li", {
|
|
37
|
-
key: l,
|
|
38
|
-
style: t.liStyle
|
|
39
|
-
}, [e("div", {
|
|
40
|
-
class: t.firstLeft ? "cm-left" : "",
|
|
41
|
-
on: {
|
|
42
|
-
click: function(n) {
|
|
43
|
-
return t.onItemClick(s, [l]);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}, [e("i", {
|
|
47
|
-
staticClass: "cm-item-icon",
|
|
48
|
-
class: s.icon
|
|
49
|
-
}), e("span", {
|
|
50
|
-
staticClass: "cm-item-label"
|
|
51
|
-
}, [t._v(t._s(s.text))]), t.arrow && s.children && s.children.length > 0 ? e("svg", {
|
|
52
|
-
staticClass: "icon",
|
|
53
|
-
attrs: {
|
|
54
|
-
"aria-hidden": "true"
|
|
55
|
-
}
|
|
56
|
-
}, [e("use", {
|
|
57
|
-
attrs: {
|
|
58
|
-
"xlink:href": "#icon-arrow"
|
|
59
|
-
}
|
|
60
|
-
})]) : t._e()]), s.children && s.children.length > 0 ? e("ul", {
|
|
61
|
-
staticClass: "cm-ul cm-ul-2 easy-cm-ul",
|
|
62
|
-
class: t.underline ? "cm-underline" : "",
|
|
63
|
-
style: t.secondBorderCheck(l)
|
|
64
|
-
}, t._l(s.children, function(n, r) {
|
|
65
|
-
return e("li", {
|
|
66
|
-
key: r,
|
|
67
|
-
style: t.liStyle
|
|
68
|
-
}, [e("div", {
|
|
69
|
-
class: t.secondLeft ? "cm-left" : "",
|
|
70
|
-
on: {
|
|
71
|
-
click: function(o) {
|
|
72
|
-
return t.onItemClick(n, [l, r]);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}, [e("i", {
|
|
76
|
-
staticClass: "cm-item-icon",
|
|
77
|
-
class: n.icon
|
|
78
|
-
}), e("span", {
|
|
79
|
-
staticClass: "cm-item-label"
|
|
80
|
-
}, [t._v(t._s(n.text))]), t.arrow && n.children && n.children.length > 0 ? e("svg", {
|
|
81
|
-
staticClass: "icon",
|
|
82
|
-
attrs: {
|
|
83
|
-
"aria-hidden": "true"
|
|
84
|
-
}
|
|
85
|
-
}, [e("use", {
|
|
86
|
-
attrs: {
|
|
87
|
-
"xlink:href": "#icon-arrow"
|
|
88
|
-
}
|
|
89
|
-
})]) : t._e()]), n.children && n.children.length > 0 ? e("ul", {
|
|
90
|
-
staticClass: "cm-ul cm-ul-3 easy-cm-ul",
|
|
91
|
-
class: t.underline ? "cm-underline" : "",
|
|
92
|
-
style: t.thirdBorderCheck(l, r)
|
|
93
|
-
}, t._l(n.children, function(o, h) {
|
|
94
|
-
return e("li", {
|
|
95
|
-
key: h,
|
|
96
|
-
style: t.liStyle
|
|
97
|
-
}, [e("div", {
|
|
98
|
-
on: {
|
|
99
|
-
click: function(p) {
|
|
100
|
-
return t.onItemClick(o, [l, r, h]);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}, [e("i", {
|
|
104
|
-
staticClass: "cm-item-icon",
|
|
105
|
-
class: o.icon
|
|
106
|
-
}), e("span", {
|
|
107
|
-
staticClass: "cm-item-label"
|
|
108
|
-
}, [t._v(t._s(o.text))])])]);
|
|
109
|
-
}), 0) : t._e()]);
|
|
110
|
-
}), 0) : t._e()]);
|
|
111
|
-
}), 0)]) : t._e();
|
|
112
|
-
}, u = [];
|
|
113
|
-
const m = {
|
|
1
|
+
import { n as c } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
|
|
2
|
+
const a = {
|
|
114
3
|
name: "ContextMenu",
|
|
115
4
|
props: {
|
|
116
5
|
list: {
|
|
@@ -187,69 +76,78 @@ const m = {
|
|
|
187
76
|
};
|
|
188
77
|
},
|
|
189
78
|
firstLeft() {
|
|
190
|
-
const
|
|
191
|
-
return this.axis.x + this.itemWidth * 2 >=
|
|
79
|
+
const i = document.body.offsetWidth;
|
|
80
|
+
return this.axis.x + this.itemWidth * 2 >= i;
|
|
192
81
|
},
|
|
193
82
|
secondLeft() {
|
|
194
|
-
const
|
|
195
|
-
return this.axis.x + this.itemWidth * 3 >=
|
|
83
|
+
const i = document.body.offsetWidth;
|
|
84
|
+
return this.axis.x + this.itemWidth * 3 >= i;
|
|
196
85
|
}
|
|
197
86
|
},
|
|
198
87
|
watch: {
|
|
199
88
|
axis() {
|
|
200
89
|
if (this.border) {
|
|
201
|
-
const
|
|
202
|
-
this.axis.x + this.offset.x + this.itemWidth >=
|
|
90
|
+
const i = document.body.offsetWidth, t = document.body.offsetHeight;
|
|
91
|
+
this.axis.x + this.offset.x + this.itemWidth >= i && (this.axis.x = i - this.itemWidth - this.borderWidth - this.offset.x), this.axis.y + this.offset.y + this.itemHeight * this.list.length >= t && (this.axis.y = t - this.itemHeight * this.list.length - this.borderWidth - this.offset.y);
|
|
203
92
|
}
|
|
204
93
|
}
|
|
205
94
|
},
|
|
206
95
|
destroyed() {
|
|
207
|
-
var
|
|
208
|
-
this.appendToBody && ((
|
|
96
|
+
var i;
|
|
97
|
+
this.appendToBody && ((i = this.$el) != null && i.parentNode) && this.$el.parentNode.removeChild(this.$el);
|
|
209
98
|
},
|
|
210
99
|
methods: {
|
|
211
|
-
secondBorderCheck(
|
|
212
|
-
const
|
|
100
|
+
secondBorderCheck(i) {
|
|
101
|
+
const t = document.body.offsetWidth, e = document.body.offsetHeight, s = this.axis.y + (i + this.list[i].children.length) * this.itemHeight;
|
|
213
102
|
return {
|
|
214
|
-
left: this.axis.x + this.itemWidth * 2 >=
|
|
215
|
-
top: e >= s ? 0 : `${-(this.list[
|
|
103
|
+
left: this.axis.x + this.itemWidth * 2 >= t ? "-100%" : "100%",
|
|
104
|
+
top: e >= s ? 0 : `${-(this.list[i].children.length - 1) * this.itemHeight}px`
|
|
216
105
|
};
|
|
217
106
|
},
|
|
218
|
-
thirdBorderCheck(
|
|
219
|
-
const e = document.body.offsetWidth, s = document.body.offsetHeight, l = this.axis.y + this.list[
|
|
107
|
+
thirdBorderCheck(i, t) {
|
|
108
|
+
const e = document.body.offsetWidth, s = document.body.offsetHeight, l = this.axis.y + this.list[i].children[t].children.length * this.itemHeight + (i + t) * this.itemHeight + parseInt(this.secondBorderCheck(i).top);
|
|
220
109
|
return {
|
|
221
110
|
left: this.axis.x + this.itemWidth * 3 >= e ? "-100%" : "100%",
|
|
222
|
-
top: l > s ? `${-(this.list[
|
|
111
|
+
top: l > s ? `${-(this.list[i].children[t].children.length - 1) * this.itemHeight}px` : 0
|
|
223
112
|
};
|
|
224
113
|
},
|
|
225
|
-
show(
|
|
226
|
-
document.addEventListener("click", this.hide, !0), this.axis = { x:
|
|
114
|
+
show(i) {
|
|
115
|
+
document.addEventListener("click", this.hide, !0), this.axis = { x: i.clientX, y: i.clientY }, this.rendered = !0, this.visible = !0, this.appendToBody && document.body.appendChild(this.$el);
|
|
227
116
|
},
|
|
228
117
|
hide() {
|
|
229
118
|
this.visible = !1, document.removeEventListener("click", this.hide);
|
|
230
119
|
},
|
|
231
|
-
onItemClick(
|
|
232
|
-
this.$emit("on-item-click",
|
|
120
|
+
onItemClick(i, t) {
|
|
121
|
+
this.$emit("on-item-click", i, t);
|
|
233
122
|
}
|
|
234
123
|
}
|
|
235
|
-
}
|
|
236
|
-
var
|
|
237
|
-
|
|
124
|
+
};
|
|
125
|
+
var d = function() {
|
|
126
|
+
var t = this, e = t._self._c;
|
|
127
|
+
return t.rendered ? e("div", { directives: [{ name: "show", rawName: "v-show", value: t.visible, expression: "visible" }], staticClass: "cm-container", style: t.axisComputed }, [e("svg", { staticStyle: { position: "absolute", width: "0", height: "0", overflow: "hidden" }, attrs: { "aria-hidden": "true" } }, [e("symbol", { attrs: { id: "icon-arrow", viewBox: "0 0 1024 1024" } }, [e("path", { attrs: { d: "M288.791335 65.582671l446.41733 446.417329-446.41733 446.417329z" } })])]), e("ul", { staticClass: "cm-ul cm-ul-1 easy-cm-ul", class: t.underline ? "cm-underline" : "" }, t._l(t.list, function(s, l) {
|
|
128
|
+
return e("li", { key: l, style: t.liStyle }, [e("div", { class: t.firstLeft ? "cm-left" : "", on: { click: function(n) {
|
|
129
|
+
return t.onItemClick(s, [l]);
|
|
130
|
+
} } }, [e("i", { staticClass: "cm-item-icon", class: s.icon }), e("span", { staticClass: "cm-item-label" }, [t._v(t._s(s.text))]), t.arrow && s.children && s.children.length > 0 ? e("svg", { staticClass: "icon", attrs: { "aria-hidden": "true" } }, [e("use", { attrs: { "xlink:href": "#icon-arrow" } })]) : t._e()]), s.children && s.children.length > 0 ? e("ul", { staticClass: "cm-ul cm-ul-2 easy-cm-ul", class: t.underline ? "cm-underline" : "", style: t.secondBorderCheck(l) }, t._l(s.children, function(n, r) {
|
|
131
|
+
return e("li", { key: r, style: t.liStyle }, [e("div", { class: t.secondLeft ? "cm-left" : "", on: { click: function(h) {
|
|
132
|
+
return t.onItemClick(n, [l, r]);
|
|
133
|
+
} } }, [e("i", { staticClass: "cm-item-icon", class: n.icon }), e("span", { staticClass: "cm-item-label" }, [t._v(t._s(n.text))]), t.arrow && n.children && n.children.length > 0 ? e("svg", { staticClass: "icon", attrs: { "aria-hidden": "true" } }, [e("use", { attrs: { "xlink:href": "#icon-arrow" } })]) : t._e()]), n.children && n.children.length > 0 ? e("ul", { staticClass: "cm-ul cm-ul-3 easy-cm-ul", class: t.underline ? "cm-underline" : "", style: t.thirdBorderCheck(l, r) }, t._l(n.children, function(h, o) {
|
|
134
|
+
return e("li", { key: o, style: t.liStyle }, [e("div", { on: { click: function(f) {
|
|
135
|
+
return t.onItemClick(h, [l, r, o]);
|
|
136
|
+
} } }, [e("i", { staticClass: "cm-item-icon", class: h.icon }), e("span", { staticClass: "cm-item-label" }, [t._v(t._s(h.text))])])]);
|
|
137
|
+
}), 0) : t._e()]);
|
|
138
|
+
}), 0) : t._e()]);
|
|
139
|
+
}), 0)]) : t._e();
|
|
140
|
+
}, u = [], m = /* @__PURE__ */ c(
|
|
141
|
+
a,
|
|
238
142
|
d,
|
|
239
143
|
u,
|
|
240
144
|
!1,
|
|
241
|
-
|
|
145
|
+
null,
|
|
242
146
|
null,
|
|
243
147
|
null,
|
|
244
148
|
null
|
|
245
149
|
);
|
|
246
|
-
|
|
247
|
-
for (let i in c)
|
|
248
|
-
this[i] = c[i];
|
|
249
|
-
}
|
|
250
|
-
const _ = /* @__PURE__ */ function() {
|
|
251
|
-
return f.exports;
|
|
252
|
-
}();
|
|
150
|
+
const p = m.exports;
|
|
253
151
|
export {
|
|
254
|
-
|
|
152
|
+
p as default
|
|
255
153
|
};
|
package/count-up/index.mjs
CHANGED
|
@@ -1,22 +1,18 @@
|
|
|
1
|
-
var
|
|
1
|
+
var u = Object.defineProperty, o = Object.defineProperties;
|
|
2
2
|
var d = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var i = Object.getOwnPropertySymbols;
|
|
4
|
-
var l = Object.prototype.hasOwnProperty,
|
|
5
|
-
var r = (t, e, s) => e in t ?
|
|
4
|
+
var l = Object.prototype.hasOwnProperty, c = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var r = (t, e, s) => e in t ? u(t, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[e] = s, a = (t, e) => {
|
|
6
6
|
for (var s in e || (e = {}))
|
|
7
7
|
l.call(e, s) && r(t, s, e[s]);
|
|
8
8
|
if (i)
|
|
9
9
|
for (var s of i(e))
|
|
10
|
-
|
|
10
|
+
c.call(e, s) && r(t, s, e[s]);
|
|
11
11
|
return t;
|
|
12
|
-
},
|
|
13
|
-
import { CountUp as
|
|
14
|
-
import { n as
|
|
15
|
-
|
|
16
|
-
var t = this, e = t.$createElement, s = t._self._c || e;
|
|
17
|
-
return s("span", [t._v(t._s(t.end))]);
|
|
18
|
-
}, _ = [];
|
|
19
|
-
const y = {
|
|
12
|
+
}, n = (t, e) => o(t, d(e));
|
|
13
|
+
import { CountUp as p } from "countup.js";
|
|
14
|
+
import { n as h } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
|
|
15
|
+
const m = {
|
|
20
16
|
name: "CountUp",
|
|
21
17
|
props: {
|
|
22
18
|
animation: {
|
|
@@ -74,7 +70,7 @@ const y = {
|
|
|
74
70
|
},
|
|
75
71
|
methods: {
|
|
76
72
|
init() {
|
|
77
|
-
this.c || (this.c = new
|
|
73
|
+
this.c || (this.c = new p(this.$el, this.end, n(a({}, this.options), {
|
|
78
74
|
decimal: this.decimals,
|
|
79
75
|
duration: this.duration,
|
|
80
76
|
startVal: this.start
|
|
@@ -104,24 +100,21 @@ const y = {
|
|
|
104
100
|
var e;
|
|
105
101
|
(e = this.c) == null || e.update(t);
|
|
106
102
|
}
|
|
107
|
-
}
|
|
108
|
-
var
|
|
109
|
-
|
|
103
|
+
};
|
|
104
|
+
var f = function() {
|
|
105
|
+
var e = this, s = e._self._c;
|
|
106
|
+
return s("span", [e._v(e._s(e.end))]);
|
|
107
|
+
}, _ = [], y = /* @__PURE__ */ h(
|
|
108
|
+
m,
|
|
110
109
|
f,
|
|
111
110
|
_,
|
|
112
111
|
!1,
|
|
113
|
-
|
|
112
|
+
null,
|
|
114
113
|
null,
|
|
115
114
|
null,
|
|
116
115
|
null
|
|
117
116
|
);
|
|
118
|
-
|
|
119
|
-
for (let e in u)
|
|
120
|
-
this[e] = u[e];
|
|
121
|
-
}
|
|
122
|
-
const U = /* @__PURE__ */ function() {
|
|
123
|
-
return v.exports;
|
|
124
|
-
}();
|
|
117
|
+
const C = y.exports;
|
|
125
118
|
export {
|
|
126
|
-
|
|
119
|
+
C as default
|
|
127
120
|
};
|
|
@@ -1,14 +1,8 @@
|
|
|
1
1
|
import "overlayscrollbars/overlayscrollbars.css";
|
|
2
2
|
import { OverlayScrollbars as r } from "overlayscrollbars";
|
|
3
|
-
import { defaults as
|
|
4
|
-
import { n as
|
|
5
|
-
|
|
6
|
-
var t = this, e = t.$createElement, o = t._self._c || e;
|
|
7
|
-
return o(t.element, {
|
|
8
|
-
tag: "Component"
|
|
9
|
-
}, [t._t("default")], 2);
|
|
10
|
-
}, p = [];
|
|
11
|
-
const u = {
|
|
3
|
+
import { defaults as n } from "lodash-es";
|
|
4
|
+
import { n as c } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
|
|
5
|
+
const a = {
|
|
12
6
|
name: "CustomScrollbar",
|
|
13
7
|
props: {
|
|
14
8
|
element: {
|
|
@@ -31,7 +25,7 @@ const u = {
|
|
|
31
25
|
},
|
|
32
26
|
computed: {
|
|
33
27
|
innerOptions() {
|
|
34
|
-
return
|
|
28
|
+
return n(
|
|
35
29
|
{
|
|
36
30
|
scrollbars: { autoHide: "leave", autoHideDelay: 100, theme: this.theme }
|
|
37
31
|
},
|
|
@@ -89,24 +83,21 @@ const u = {
|
|
|
89
83
|
this.reverse && o.scrollTop === 0 && ((s = this.onLoadMore) == null || s.call(this));
|
|
90
84
|
}
|
|
91
85
|
}
|
|
92
|
-
}
|
|
93
|
-
var
|
|
94
|
-
|
|
86
|
+
};
|
|
87
|
+
var h = function() {
|
|
88
|
+
var e = this, o = e._self._c;
|
|
89
|
+
return o(e.element, { tag: "Component" }, [e._t("default")], 2);
|
|
90
|
+
}, p = [], d = /* @__PURE__ */ c(
|
|
91
|
+
a,
|
|
95
92
|
h,
|
|
96
93
|
p,
|
|
97
94
|
!1,
|
|
98
|
-
|
|
95
|
+
null,
|
|
99
96
|
null,
|
|
100
97
|
null,
|
|
101
98
|
null
|
|
102
99
|
);
|
|
103
|
-
|
|
104
|
-
for (let e in n)
|
|
105
|
-
this[e] = n[e];
|
|
106
|
-
}
|
|
107
|
-
const g = /* @__PURE__ */ function() {
|
|
108
|
-
return d.exports;
|
|
109
|
-
}();
|
|
100
|
+
const _ = d.exports;
|
|
110
101
|
export {
|
|
111
|
-
|
|
102
|
+
_ as default
|
|
112
103
|
};
|
package/data-box/index.mjs
CHANGED
|
@@ -1,57 +1,5 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
|
|
3
|
-
var a = this, s = a.$createElement, n = a._self._c || s;
|
|
4
|
-
return n("div", {
|
|
5
|
-
staticClass: "data-box"
|
|
6
|
-
}, [n("ElRow", {
|
|
7
|
-
attrs: {
|
|
8
|
-
span: 24
|
|
9
|
-
}
|
|
10
|
-
}, a._l(a.data, function(t, i) {
|
|
11
|
-
return n("ElCol", {
|
|
12
|
-
key: i,
|
|
13
|
-
attrs: {
|
|
14
|
-
md: a.span,
|
|
15
|
-
xs: 24,
|
|
16
|
-
sm: 12
|
|
17
|
-
}
|
|
18
|
-
}, [n("div", {
|
|
19
|
-
staticClass: "item"
|
|
20
|
-
}, [n("a", {
|
|
21
|
-
attrs: {
|
|
22
|
-
href: t.href,
|
|
23
|
-
target: t.target
|
|
24
|
-
},
|
|
25
|
-
on: {
|
|
26
|
-
click: function(d) {
|
|
27
|
-
t.click && t.click(t);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}, [n("div", {
|
|
31
|
-
staticClass: "item-icon",
|
|
32
|
-
style: {
|
|
33
|
-
backgroundColor: t.color
|
|
34
|
-
}
|
|
35
|
-
}, [n("i", {
|
|
36
|
-
class: t.icon
|
|
37
|
-
})]), n("div", {
|
|
38
|
-
staticClass: "item-info"
|
|
39
|
-
}, [n("CountUp", {
|
|
40
|
-
staticClass: "title",
|
|
41
|
-
style: {
|
|
42
|
-
color: t.color
|
|
43
|
-
},
|
|
44
|
-
attrs: {
|
|
45
|
-
animation: t.animation || a.animation,
|
|
46
|
-
decimals: t.decimals || a.decimals,
|
|
47
|
-
end: t.count
|
|
48
|
-
}
|
|
49
|
-
}), n("div", {
|
|
50
|
-
staticClass: "info"
|
|
51
|
-
}, [a._v(a._s(t.title))])], 1)])])]);
|
|
52
|
-
}), 1)], 1);
|
|
53
|
-
}, r = [];
|
|
54
|
-
const l = {
|
|
1
|
+
import { n as o } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
|
|
2
|
+
const i = {
|
|
55
3
|
name: "DataBox",
|
|
56
4
|
props: {
|
|
57
5
|
option: {
|
|
@@ -74,24 +22,25 @@ const l = {
|
|
|
74
22
|
return this.option.data || [];
|
|
75
23
|
}
|
|
76
24
|
}
|
|
77
|
-
}
|
|
78
|
-
var
|
|
25
|
+
};
|
|
26
|
+
var l = function() {
|
|
27
|
+
var n = this, a = n._self._c;
|
|
28
|
+
return a("div", { staticClass: "data-box" }, [a("ElRow", { attrs: { span: 24 } }, n._l(n.data, function(t, s) {
|
|
29
|
+
return a("ElCol", { key: s, attrs: { md: n.span, xs: 24, sm: 12 } }, [a("div", { staticClass: "item" }, [a("a", { attrs: { href: t.href, target: t.target }, on: { click: function(d) {
|
|
30
|
+
t.click && t.click(t);
|
|
31
|
+
} } }, [a("div", { staticClass: "item-icon", style: { backgroundColor: t.color } }, [a("i", { class: t.icon })]), a("div", { staticClass: "item-info" }, [a("CountUp", { staticClass: "title", style: { color: t.color }, attrs: { animation: t.animation || n.animation, decimals: t.decimals || n.decimals, end: t.count } }), a("div", { staticClass: "info" }, [n._v(n._s(t.title))])], 1)])])]);
|
|
32
|
+
}), 1)], 1);
|
|
33
|
+
}, c = [], r = /* @__PURE__ */ o(
|
|
34
|
+
i,
|
|
79
35
|
l,
|
|
80
36
|
c,
|
|
81
|
-
r,
|
|
82
37
|
!1,
|
|
83
|
-
|
|
38
|
+
null,
|
|
84
39
|
null,
|
|
85
40
|
null,
|
|
86
41
|
null
|
|
87
42
|
);
|
|
88
|
-
|
|
89
|
-
for (let s in o)
|
|
90
|
-
this[s] = o[s];
|
|
91
|
-
}
|
|
92
|
-
const v = /* @__PURE__ */ function() {
|
|
93
|
-
return _.exports;
|
|
94
|
-
}();
|
|
43
|
+
const u = r.exports;
|
|
95
44
|
export {
|
|
96
|
-
|
|
45
|
+
u as default
|
|
97
46
|
};
|