@web-utils/component 2.0.14 → 2.7.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/dist/chunks/config.46422d7f.js +73 -0
- package/dist/chunks/{3a79781b.js → confirmable-mixin.3a79781b.js} +0 -0
- package/dist/chunks/dataformat.fb35ee10.js +61 -0
- package/dist/chunks/detail.a3249549.js +28 -0
- package/dist/chunks/dic.5f7e3523.js +132 -0
- package/dist/chunks/event.50c365eb.js +235 -0
- package/dist/chunks/{76680a03.js → form-input-mixin.ff5b58f7.js} +2 -2
- package/dist/chunks/{b4acd3a6.js → form-item-mixin.79f6eaff.js} +3 -1
- package/dist/chunks/{61ad06b2.js → form-pick-mixin.61ad06b2.js} +0 -0
- package/dist/chunks/init.352281f5.js +121 -0
- package/dist/chunks/{41a066be.js → input-number-mixin.41a066be.js} +0 -0
- package/dist/chunks/{5a78e0db.js → mixins.5a78e0db.js} +0 -0
- package/dist/chunks/packages.5d7a86c4.js +114 -0
- package/dist/chunks/permission.ce5d2121.js +16 -0
- package/dist/chunks/slot.1b8d2b1b.js +27 -0
- package/dist/chunks/{8c0142e0.js → tab-mixin.8c0142e0.js} +0 -0
- package/dist/chunks/util.5053d54e.js +264 -0
- package/dist/chunks/{97652d86.js → utils.97652d86.js} +0 -0
- package/dist/chunks/{f71045fc.js → utils.fa73de78.js} +1 -0
- package/dist/chunks/{5d4282fb.js → vueComponentNormalizer.71e2aa87.js} +3 -1
- package/dist/components/address-input/index.js +1 -1
- package/dist/components/affix/index.js +102 -0
- package/dist/components/affix/style.css +1 -0
- package/dist/components/array/index.js +156 -0
- package/dist/components/array/style.css +1 -0
- package/dist/components/article/index.js +93 -0
- package/dist/components/article/style.css +1 -0
- package/dist/components/aside-menu/index.js +1 -1
- package/dist/components/avatar/index.js +106 -0
- package/dist/components/avatar/style.css +1 -0
- package/dist/components/awesome-button/index.js +1 -1
- package/dist/components/base.css +1 -1
- package/dist/components/capsule-tab/index.js +1 -1
- package/dist/components/card/index.js +130 -0
- package/dist/components/card/style.css +1 -0
- package/dist/components/carousel/index.js +70 -0
- package/dist/components/carousel/style.css +1 -0
- package/dist/components/chat/index.js +567 -0
- package/dist/components/chat/style.css +1 -0
- package/dist/components/chunk-file-uploader/index.js +2 -2
- package/dist/components/chunk-file-uploader-button/index.js +2 -2
- package/dist/components/chunk-file-uploader-drop/index.js +2 -2
- package/dist/components/chunk-file-uploader-file/index.js +2 -2
- package/dist/components/chunk-file-uploader-files/index.js +2 -2
- package/dist/components/chunk-file-uploader-list/index.js +2 -2
- package/dist/components/chunk-file-uploader-un-support/index.js +2 -2
- package/dist/components/code/index.js +66 -0
- package/dist/components/code-mirror-editor/index.js +4 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/column/index.js +114 -0
- package/dist/components/column-default/index.js +105 -0
- package/dist/components/column-dynamic/index.js +93 -0
- package/dist/components/column-menu/index.js +286 -0
- package/dist/components/column-slot/index.js +265 -0
- package/dist/components/comment/index.js +94 -0
- package/dist/components/comment/style.css +1 -0
- package/dist/components/confirm-button/index.js +2 -2
- package/dist/components/confirmable/index.js +2 -2
- package/dist/components/context-menu/index.js +11 -1
- package/dist/components/count-up/index.js +120 -0
- package/dist/components/custom-scrollbar/index.js +2 -2
- package/dist/components/data-box/index.js +97 -0
- package/dist/components/data-box/style.css +1 -0
- package/dist/components/data-card/index.js +98 -0
- package/dist/components/data-card/style.css +1 -0
- package/dist/components/data-cardtext/index.js +82 -0
- package/dist/components/data-cardtext/style.css +1 -0
- package/dist/components/data-display/index.js +93 -0
- package/dist/components/data-display/style.css +1 -0
- package/dist/components/data-icons/index.js +104 -0
- package/dist/components/data-icons/style.css +1 -0
- package/dist/components/data-imgtext/index.js +106 -0
- package/dist/components/data-imgtext/style.css +1 -0
- package/dist/components/data-operatext/index.js +99 -0
- package/dist/components/data-operatext/style.css +1 -0
- package/dist/components/data-panel/index.js +93 -0
- package/dist/components/data-panel/style.css +1 -0
- package/dist/components/data-pay/index.js +149 -0
- package/dist/components/data-pay/style.css +1 -0
- package/dist/components/data-price/index.js +84 -0
- package/dist/components/data-price/style.css +1 -0
- package/dist/components/data-progress/index.js +97 -0
- package/dist/components/data-progress/style.css +1 -0
- package/dist/components/data-rotate/index.js +96 -0
- package/dist/components/data-rotate/style.css +1 -0
- package/dist/components/data-table-picker/index.js +2 -2
- package/dist/components/data-tabs/index.js +94 -0
- package/dist/components/data-tabs/style.css +1 -0
- package/dist/components/dialog-column/index.js +138 -0
- package/dist/components/dialog-excel/index.js +214 -0
- package/dist/components/dialog-filter/index.js +245 -0
- package/dist/components/dialog-form/index.js +275 -0
- package/dist/components/draggable/index.js +384 -0
- package/dist/components/draggable/style.css +1 -0
- package/dist/components/dynamic-table/index.js +1 -1
- package/dist/components/e-charts/index.js +7 -1
- package/dist/components/editable-progress/index.js +1 -1
- package/dist/components/editable-tree/index.js +2 -2
- package/dist/components/egd-collapse/index.js +1 -1
- package/dist/components/egd-collapse-item/index.js +1 -1
- package/dist/components/element-dialog/index.js +1 -1
- package/dist/components/empty/index.js +59 -0
- package/dist/components/empty/style.css +1 -0
- package/dist/components/empty-view/index.js +1 -1
- package/dist/components/error-view/index.js +1 -1
- package/dist/components/flex-column/index.js +2 -2
- package/dist/components/flex-item/index.js +2 -2
- package/dist/components/flex-row/index.js +2 -2
- package/dist/components/flex-scroller/index.js +1 -1
- package/dist/components/flow/index.js +278 -0
- package/dist/components/flow/style.css +1 -0
- package/dist/components/flow-node/index.js +102 -0
- package/dist/components/form-button/index.js +2 -2
- package/dist/components/form-cascader/index.js +4 -4
- package/dist/components/form-checkbox-group/index.js +4 -4
- package/dist/components/form-date-picker/index.js +4 -4
- package/dist/components/form-group/index.js +122 -0
- package/dist/components/form-group/style.css +1 -0
- package/dist/components/form-holder/index.js +23 -2
- package/dist/components/form-input/index.js +3 -3
- package/dist/components/form-input-email/index.js +3 -3
- package/dist/components/form-input-id-card/index.js +3 -3
- package/dist/components/form-input-number/index.js +4 -4
- package/dist/components/form-input-phone-number/index.js +3 -3
- package/dist/components/form-input-time/index.js +3 -3
- package/dist/components/form-item/index.js +2 -2
- package/dist/components/form-item-config-provider/index.js +1 -1
- package/dist/components/form-item-group/index.js +1 -1
- package/dist/components/form-radio-group/index.js +4 -4
- package/dist/components/form-select/index.js +4 -4
- package/dist/components/form-switch/index.js +3 -3
- package/dist/components/form-temp/index.js +149 -0
- package/dist/components/form-textarea/index.js +3 -3
- package/dist/components/form-view/index.js +1 -1
- package/dist/components/fy-cascader/index.js +132 -0
- package/dist/components/fy-checkbox/index.js +116 -0
- package/dist/components/fy-checkbox/style.css +1 -0
- package/dist/components/fy-curd/index.js +846 -0
- package/dist/components/fy-curd/style.css +1 -0
- package/dist/components/fy-date/index.js +84 -0
- package/dist/components/fy-date/style.css +1 -0
- package/dist/components/fy-dialog-form/index.js +278 -0
- package/dist/components/fy-dialog-form/style.css +1 -0
- package/dist/components/fy-dynamic/index.js +335 -0
- package/dist/components/fy-dynamic/style.css +1 -0
- package/dist/components/fy-form/index.js +754 -0
- package/dist/components/fy-form/style.css +1 -0
- package/dist/components/fy-form-menu/index.js +95 -0
- package/dist/components/fy-input/index.js +162 -0
- package/dist/components/fy-input-color/index.js +96 -0
- package/dist/components/fy-input-icon/index.js +161 -0
- package/dist/components/fy-input-icon/style.css +1 -0
- package/dist/components/fy-input-map/index.js +275 -0
- package/dist/components/fy-input-map/style.css +1 -0
- package/dist/components/fy-input-number/index.js +87 -0
- package/dist/components/fy-input-table/index.js +172 -0
- package/dist/components/fy-input-table/style.css +1 -0
- package/dist/components/fy-input-tree/index.js +265 -0
- package/dist/components/fy-input-tree/style.css +1 -0
- package/dist/components/fy-radio/index.js +68 -0
- package/dist/components/fy-radio/style.css +1 -0
- package/dist/components/fy-rate/index.js +105 -0
- package/dist/components/fy-rate/style.css +1 -0
- package/dist/components/fy-select/index.js +223 -0
- package/dist/components/fy-select/style.css +1 -0
- package/dist/components/fy-slider/index.js +79 -0
- package/dist/components/fy-switch/index.js +73 -0
- package/dist/components/fy-time/index.js +95 -0
- package/dist/components/fy-title/index.js +40 -0
- package/dist/components/fy-title/style.css +1 -0
- package/dist/components/fy-upload/index.js +704 -0
- package/dist/components/fy-upload/style.css +1 -0
- package/dist/components/guide-steps/index.js +1 -1
- package/dist/components/header-menu/index.js +238 -0
- package/dist/components/header-search/index.js +246 -0
- package/dist/components/icon-card/index.js +1 -1
- package/dist/components/icon-temp/index.js +50 -0
- package/dist/components/icon-temp/style.css +1 -0
- package/dist/components/iframe-window/index.js +1 -1
- package/dist/components/image-viewer/index.js +1 -1
- package/dist/components/input-number/index.js +2 -2
- package/dist/components/input-number-range/index.js +1 -1
- package/dist/components/keep-view-alive/index.js +6 -2
- package/dist/components/keyboard/index.js +389 -0
- package/dist/components/keyboard/style.css +1 -0
- package/dist/components/license/index.js +134 -0
- package/dist/components/loading-view/index.js +1 -1
- package/dist/components/login/index.js +244 -0
- package/dist/components/login/style.css +1 -0
- package/dist/components/name-avatar/index.js +66 -0
- package/dist/components/name-avatar/style.css +1 -0
- package/dist/components/nav-bar/index.js +1 -1
- package/dist/components/not-implement/index.js +1 -1
- package/dist/components/notice/index.js +143 -0
- package/dist/components/notice/style.css +1 -0
- package/dist/components/page/index.js +1 -1
- package/dist/components/page-header/index.js +1 -1
- package/dist/components/page-index/index.js +1 -1
- package/dist/components/page-index-top/index.js +1 -1
- package/dist/components/page-skeleton/index.js +1 -1
- package/dist/components/page-skeleton-new/index.js +1 -1
- package/dist/components/pageable-table/index.js +6 -2
- package/dist/components/pageable-view/index.js +7 -2
- package/dist/components/photo-swipe/index.js +7 -1
- package/dist/components/progress/index.js +60 -0
- package/dist/components/queue/index.js +76 -0
- package/dist/components/record-video/index.js +173 -0
- package/dist/components/record-video/style.css +1 -0
- package/dist/components/resize-observer/index.js +2 -2
- package/dist/components/search/index.js +142 -0
- package/dist/components/search/style.css +1 -0
- package/dist/components/search-popover/index.js +1 -1
- package/dist/components/sign/index.js +128 -0
- package/dist/components/sign/style.css +1 -0
- package/dist/components/sign-panel/index.js +14 -1
- package/dist/components/skeleton/index.js +82 -0
- package/dist/components/skeleton/style.css +1 -0
- package/dist/components/split-pane/index.js +7 -1
- package/dist/components/stateful/index.js +1 -1
- package/dist/components/static-pageable-table/index.js +1 -1
- package/dist/components/swiper/index.js +1 -1
- package/dist/components/tab/index.js +4 -2
- package/dist/components/tab-item/index.js +2 -2
- package/dist/components/table-column/index.js +1 -1
- package/dist/components/table-page/index.js +129 -0
- package/dist/components/table-view/index.js +2 -2
- package/dist/components/tabs/index.js +90 -0
- package/dist/components/tabs/style.css +0 -0
- package/dist/components/tag-render/index.js +1 -1
- package/dist/components/text-ellipsis/index.js +107 -0
- package/dist/components/text-ellipsis/style.css +1 -0
- package/dist/components/tinymce-editor/index.js +1 -1
- package/dist/components/tinymce-wrapper/index.js +1 -1
- package/dist/components/toolbar/index.js +1 -1
- package/dist/components/toolbar-button/index.js +1 -1
- package/dist/components/tree/index.js +427 -0
- package/dist/components/tree/style.css +1 -0
- package/dist/components/trigger/index.js +1 -1
- package/dist/components/verify/index.js +80 -0
- package/dist/components/verify/style.css +1 -0
- package/dist/components/vue-tags-input/index.js +115 -1
- package/dist/components/watermark/index.js +20 -2
- package/dist/index.css +4128 -745
- package/dist/index.es.js +21634 -7064
- package/package.json +20 -4
- package/web-types.json +12777 -2788
- package/dist/components/x-dialog/index.js +0 -173
- package/dist/components/x-dialog/style.css +0 -1
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { n as s } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
2
|
+
var l = function() {
|
|
3
|
+
var t = this, o = t.$createElement, r = t._self._c || o;
|
|
4
|
+
return r("div", {
|
|
5
|
+
staticClass: "data-card"
|
|
6
|
+
}, [r("ElRow", {
|
|
7
|
+
attrs: {
|
|
8
|
+
span: 24
|
|
9
|
+
}
|
|
10
|
+
}, t._l(t.data, function(e, n) {
|
|
11
|
+
return r("ElCol", {
|
|
12
|
+
key: n,
|
|
13
|
+
attrs: {
|
|
14
|
+
md: t.span,
|
|
15
|
+
xs: 24,
|
|
16
|
+
sm: 12
|
|
17
|
+
}
|
|
18
|
+
}, [r("div", {
|
|
19
|
+
staticClass: "item"
|
|
20
|
+
}, [r("a", {
|
|
21
|
+
attrs: {
|
|
22
|
+
href: e.href,
|
|
23
|
+
target: e.target
|
|
24
|
+
},
|
|
25
|
+
on: {
|
|
26
|
+
click: function(d) {
|
|
27
|
+
e.click && e.click(e);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}, [r("img", {
|
|
31
|
+
staticClass: "item-img",
|
|
32
|
+
attrs: {
|
|
33
|
+
src: e.src,
|
|
34
|
+
alt: ""
|
|
35
|
+
}
|
|
36
|
+
}), r("div", {
|
|
37
|
+
staticClass: "item-text",
|
|
38
|
+
style: {
|
|
39
|
+
backgroundColor: t.bgText
|
|
40
|
+
}
|
|
41
|
+
}, [r("h3", {
|
|
42
|
+
style: {
|
|
43
|
+
color: t.colorText
|
|
44
|
+
}
|
|
45
|
+
}, [t._v(t._s(e.name))]), r("p", {
|
|
46
|
+
style: {
|
|
47
|
+
color: t.colorText
|
|
48
|
+
}
|
|
49
|
+
}, [t._v(t._s(e.text))])])])])]);
|
|
50
|
+
}), 1)], 1);
|
|
51
|
+
}, c = [];
|
|
52
|
+
const i = {
|
|
53
|
+
name: "DataCard",
|
|
54
|
+
props: {
|
|
55
|
+
option: {
|
|
56
|
+
type: Object,
|
|
57
|
+
default: () => {
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
computed: {
|
|
62
|
+
span() {
|
|
63
|
+
return this.option.span || 6;
|
|
64
|
+
},
|
|
65
|
+
data() {
|
|
66
|
+
return this.option.data || [];
|
|
67
|
+
},
|
|
68
|
+
colorText() {
|
|
69
|
+
return this.option.colorText || "#fff";
|
|
70
|
+
},
|
|
71
|
+
bgText() {
|
|
72
|
+
return this.option.bgText || "#2e323f";
|
|
73
|
+
},
|
|
74
|
+
borderColor() {
|
|
75
|
+
return this.option.borderColor || "#2e323f";
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}, a = {};
|
|
79
|
+
var _ = /* @__PURE__ */ s(
|
|
80
|
+
i,
|
|
81
|
+
l,
|
|
82
|
+
c,
|
|
83
|
+
!1,
|
|
84
|
+
u,
|
|
85
|
+
null,
|
|
86
|
+
null,
|
|
87
|
+
null
|
|
88
|
+
);
|
|
89
|
+
function u(t) {
|
|
90
|
+
for (let o in a)
|
|
91
|
+
this[o] = a[o];
|
|
92
|
+
}
|
|
93
|
+
const f = /* @__PURE__ */ function() {
|
|
94
|
+
return _.exports;
|
|
95
|
+
}();
|
|
96
|
+
export {
|
|
97
|
+
f as default
|
|
98
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.data-card .item{position:relative;margin:0 auto 50px;width:230px;height:340px;overflow:hidden;border-radius:5px;border-color:#fff;border-width:1px;border-style:solid}.data-card .item:hover .item-text{top:0}.data-card .item-img{width:100%;border-radius:5px 5px 0 0}.data-card .item-text{position:absolute;top:150px;padding:20px 15px;width:100%;height:340px;overflow:auto;box-sizing:border-box;border-radius:0 0 5px 5px;opacity:.9;transition:top .4s}.data-card .item-text>p{font-size:12px;line-height:25px;text-indent:2em}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { n as r } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
2
|
+
var c = function() {
|
|
3
|
+
var t = this, e = t.$createElement, a = t._self._c || e;
|
|
4
|
+
return a("div", {
|
|
5
|
+
staticClass: "avue-data-cardText"
|
|
6
|
+
}, [a("ElRow", {
|
|
7
|
+
attrs: {
|
|
8
|
+
span: 24
|
|
9
|
+
}
|
|
10
|
+
}, t._l(t.data, function(n, o) {
|
|
11
|
+
return a("ElCol", {
|
|
12
|
+
key: o,
|
|
13
|
+
attrs: {
|
|
14
|
+
md: t.span,
|
|
15
|
+
xs: 24,
|
|
16
|
+
sm: 12
|
|
17
|
+
}
|
|
18
|
+
}, [a("div", {
|
|
19
|
+
staticClass: "item"
|
|
20
|
+
}, [a("a", {
|
|
21
|
+
attrs: {
|
|
22
|
+
href: n.href,
|
|
23
|
+
target: n.target
|
|
24
|
+
},
|
|
25
|
+
on: {
|
|
26
|
+
click: function(d) {
|
|
27
|
+
n.click && n.click(n);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}, [a("div", {
|
|
31
|
+
staticClass: "item-header"
|
|
32
|
+
}, [t._v(" " + t._s(n.title) + " ")]), a("div", {
|
|
33
|
+
staticClass: "item-content"
|
|
34
|
+
}, [t._v(t._s(n.content))]), a("div", {
|
|
35
|
+
staticClass: "item-footer"
|
|
36
|
+
}, [a("span", [t._v(t._s(n.name))]), a("span", [t._v(t._s(n.date))])])])])]);
|
|
37
|
+
}), 1)], 1);
|
|
38
|
+
}, i = [];
|
|
39
|
+
const _ = {
|
|
40
|
+
name: "DataCardtext",
|
|
41
|
+
props: {
|
|
42
|
+
option: {
|
|
43
|
+
type: Object,
|
|
44
|
+
default: () => {
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
computed: {
|
|
49
|
+
icon() {
|
|
50
|
+
return this.option.icon;
|
|
51
|
+
},
|
|
52
|
+
color() {
|
|
53
|
+
return this.option.color || "#333";
|
|
54
|
+
},
|
|
55
|
+
span() {
|
|
56
|
+
return this.option.span || 8;
|
|
57
|
+
},
|
|
58
|
+
data() {
|
|
59
|
+
return this.option.data || [];
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}, s = {};
|
|
63
|
+
var l = /* @__PURE__ */ r(
|
|
64
|
+
_,
|
|
65
|
+
c,
|
|
66
|
+
i,
|
|
67
|
+
!1,
|
|
68
|
+
u,
|
|
69
|
+
null,
|
|
70
|
+
null,
|
|
71
|
+
null
|
|
72
|
+
);
|
|
73
|
+
function u(t) {
|
|
74
|
+
for (let e in s)
|
|
75
|
+
this[e] = s[e];
|
|
76
|
+
}
|
|
77
|
+
const v = /* @__PURE__ */ function() {
|
|
78
|
+
return l.exports;
|
|
79
|
+
}();
|
|
80
|
+
export {
|
|
81
|
+
v as default
|
|
82
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.avue-data-cardText .item{padding:20px 25px;margin:10px 20px;background:#F8F8F8;border-radius:6px;box-shadow:2px 2px 20px #ccc}.avue-data-cardText .item-header{color:#000;font-weight:700}.avue-data-cardText .item-content{margin-top:8PX;font-size:14px;line-height:22px;color:#333}.avue-data-cardText .item-footer{margin-top:20px;display:flex;justify-content:space-between;font-size:12px;color:#999}.avue-data-cardText .item a{text-decoration:none}.avue-data-cardText .item a:visited{color:inherit}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { n as i } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
2
|
+
var r = function() {
|
|
3
|
+
var t = this, s = t.$createElement, n = t._self._c || s;
|
|
4
|
+
return n("div", {
|
|
5
|
+
staticClass: "avue-data-display"
|
|
6
|
+
}, [n("ElRow", {
|
|
7
|
+
attrs: {
|
|
8
|
+
span: 24
|
|
9
|
+
}
|
|
10
|
+
}, t._l(t.data, function(a, e) {
|
|
11
|
+
return n("ElCol", {
|
|
12
|
+
key: e,
|
|
13
|
+
attrs: {
|
|
14
|
+
md: t.span,
|
|
15
|
+
xs: 12,
|
|
16
|
+
sm: 12
|
|
17
|
+
}
|
|
18
|
+
}, [n("div", {
|
|
19
|
+
staticClass: "item",
|
|
20
|
+
style: {
|
|
21
|
+
color: t.color
|
|
22
|
+
}
|
|
23
|
+
}, [n("a", {
|
|
24
|
+
attrs: {
|
|
25
|
+
href: a.href,
|
|
26
|
+
target: a.target
|
|
27
|
+
},
|
|
28
|
+
on: {
|
|
29
|
+
click: function(_) {
|
|
30
|
+
a.click && a.click(a);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}, [n("CountUp", {
|
|
34
|
+
staticClass: "count",
|
|
35
|
+
attrs: {
|
|
36
|
+
animation: a.animation || t.animation,
|
|
37
|
+
decimals: a.decimals || t.decimals,
|
|
38
|
+
end: a.count
|
|
39
|
+
}
|
|
40
|
+
}), n("span", {
|
|
41
|
+
staticClass: "splitLine"
|
|
42
|
+
}), n("div", {
|
|
43
|
+
staticClass: "title"
|
|
44
|
+
}, [t._v(t._s(a.title))])], 1)])]);
|
|
45
|
+
}), 1)], 1);
|
|
46
|
+
}, l = [];
|
|
47
|
+
const c = {
|
|
48
|
+
name: "DataDisplay",
|
|
49
|
+
props: {
|
|
50
|
+
option: {
|
|
51
|
+
type: Object,
|
|
52
|
+
default: () => {
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
computed: {
|
|
57
|
+
animation() {
|
|
58
|
+
return this.option.animation;
|
|
59
|
+
},
|
|
60
|
+
decimals() {
|
|
61
|
+
return this.option.decimals || 0;
|
|
62
|
+
},
|
|
63
|
+
span() {
|
|
64
|
+
return this.option.span || 6;
|
|
65
|
+
},
|
|
66
|
+
data() {
|
|
67
|
+
return this.option.data || [];
|
|
68
|
+
},
|
|
69
|
+
color() {
|
|
70
|
+
return this.option.color || "rgb(63, 161, 255)";
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}, o = {};
|
|
74
|
+
var p = /* @__PURE__ */ i(
|
|
75
|
+
c,
|
|
76
|
+
r,
|
|
77
|
+
l,
|
|
78
|
+
!1,
|
|
79
|
+
u,
|
|
80
|
+
null,
|
|
81
|
+
null,
|
|
82
|
+
null
|
|
83
|
+
);
|
|
84
|
+
function u(t) {
|
|
85
|
+
for (let s in o)
|
|
86
|
+
this[s] = o[s];
|
|
87
|
+
}
|
|
88
|
+
const v = /* @__PURE__ */ function() {
|
|
89
|
+
return p.exports;
|
|
90
|
+
}();
|
|
91
|
+
export {
|
|
92
|
+
v as default
|
|
93
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.avue-data-display .item{display:flex;align-items:center;flex-direction:column;margin:5px 0;text-align:center}.avue-data-display .item a{text-decoration:none}.avue-data-display .item a:visited{color:inherit}.avue-data-display .count{display:block;margin:8px 0 15px;font-weight:700;font-size:32px;color:#15a0ff}.avue-data-display .title{line-height:32px;color:#999}.avue-data-display .splitLine{display:block;margin:0 auto;width:24px;height:1px;background:#9B9B9B}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { n as c } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
2
|
+
var e = function() {
|
|
3
|
+
var t = this, a = t.$createElement, n = t._self._c || a;
|
|
4
|
+
return n("div", {
|
|
5
|
+
staticClass: "data-icons"
|
|
6
|
+
}, [n("ElRow", {
|
|
7
|
+
attrs: {
|
|
8
|
+
span: 24
|
|
9
|
+
}
|
|
10
|
+
}, [t._l(t.data, function(s, i) {
|
|
11
|
+
return [n("ElCol", {
|
|
12
|
+
key: i,
|
|
13
|
+
attrs: {
|
|
14
|
+
xs: 12,
|
|
15
|
+
sm: 6,
|
|
16
|
+
md: t.span
|
|
17
|
+
}
|
|
18
|
+
}, [n("div", {
|
|
19
|
+
staticClass: "item",
|
|
20
|
+
class: [{
|
|
21
|
+
"item--easy": t.discount
|
|
22
|
+
}]
|
|
23
|
+
}, [n("a", {
|
|
24
|
+
attrs: {
|
|
25
|
+
href: s.href,
|
|
26
|
+
target: s.target
|
|
27
|
+
},
|
|
28
|
+
on: {
|
|
29
|
+
click: function(d) {
|
|
30
|
+
s.click && s.click(s);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}, [n("div", {
|
|
34
|
+
staticClass: "item-icon",
|
|
35
|
+
style: {
|
|
36
|
+
color: t.color
|
|
37
|
+
}
|
|
38
|
+
}, [n("i", {
|
|
39
|
+
class: s.icon
|
|
40
|
+
})]), n("div", {
|
|
41
|
+
staticClass: "item-info"
|
|
42
|
+
}, [n("span", [t._v(t._s(s.title))]), n("CountUp", {
|
|
43
|
+
staticClass: "count",
|
|
44
|
+
style: {
|
|
45
|
+
color: t.color
|
|
46
|
+
},
|
|
47
|
+
attrs: {
|
|
48
|
+
animation: s.animation || t.animation,
|
|
49
|
+
decimals: s.decimals || t.decimals,
|
|
50
|
+
end: s.count
|
|
51
|
+
}
|
|
52
|
+
})], 1)])])])];
|
|
53
|
+
})], 2)], 1);
|
|
54
|
+
}, r = [];
|
|
55
|
+
const l = {
|
|
56
|
+
name: "DataIcons",
|
|
57
|
+
props: {
|
|
58
|
+
option: {
|
|
59
|
+
type: Object,
|
|
60
|
+
default: () => {
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
computed: {
|
|
65
|
+
animation() {
|
|
66
|
+
return this.option.animation;
|
|
67
|
+
},
|
|
68
|
+
decimals() {
|
|
69
|
+
return this.option.decimals || 0;
|
|
70
|
+
},
|
|
71
|
+
span() {
|
|
72
|
+
return this.option.span || 4;
|
|
73
|
+
},
|
|
74
|
+
data() {
|
|
75
|
+
return this.option.data;
|
|
76
|
+
},
|
|
77
|
+
color() {
|
|
78
|
+
return this.option.color || "rgb(63, 161, 255)";
|
|
79
|
+
},
|
|
80
|
+
discount() {
|
|
81
|
+
return this.option.discount || !1;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}, o = {};
|
|
85
|
+
var u = /* @__PURE__ */ c(
|
|
86
|
+
l,
|
|
87
|
+
e,
|
|
88
|
+
r,
|
|
89
|
+
!1,
|
|
90
|
+
_,
|
|
91
|
+
null,
|
|
92
|
+
null,
|
|
93
|
+
null
|
|
94
|
+
);
|
|
95
|
+
function _(t) {
|
|
96
|
+
for (let a in o)
|
|
97
|
+
this[a] = o[a];
|
|
98
|
+
}
|
|
99
|
+
const v = /* @__PURE__ */ function() {
|
|
100
|
+
return u.exports;
|
|
101
|
+
}();
|
|
102
|
+
export {
|
|
103
|
+
v as default
|
|
104
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.data-icons .item{display:flex;align-items:center;justify-content:center;width:90%;margin:10px 15px}.data-icons .item a{text-decoration:none}.data-icons .item a:visited{color:inherit}.data-icons .item-icon{margin-top:3px;margin-right:0!important;text-align:center}.data-icons .item-icon>i{font-size:46px!important}.data-icons .item-info{text-align:center;padding:10px 0}.data-icons .item-info>span{display:block;padding:5px 0;color:#999;font-size:12px}.data-icons .item-info .count{font-size:20px;line-height:25px}.data-icons .item--easy{flex-direction:column}.data-icons .item--easy>.item-icon{margin:0}.data-icons .item--easy>.item-info{margin-top:-15px}.data-icons .item--easy>.item-info>span{font-size:14px}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { n as l } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
2
|
+
var i = function() {
|
|
3
|
+
var a = this, e = a.$createElement, t = a._self._c || e;
|
|
4
|
+
return t("div", {
|
|
5
|
+
staticClass: "avue-data-imgtext"
|
|
6
|
+
}, [t("ElRow", {
|
|
7
|
+
attrs: {
|
|
8
|
+
span: 24
|
|
9
|
+
}
|
|
10
|
+
}, a._l(a.data, function(s, o) {
|
|
11
|
+
return t("ElCol", {
|
|
12
|
+
key: o,
|
|
13
|
+
attrs: {
|
|
14
|
+
md: a.span,
|
|
15
|
+
xs: 24,
|
|
16
|
+
sm: 12
|
|
17
|
+
}
|
|
18
|
+
}, [t("div", {
|
|
19
|
+
staticClass: "item",
|
|
20
|
+
style: {
|
|
21
|
+
color: a.color
|
|
22
|
+
}
|
|
23
|
+
}, [t("a", {
|
|
24
|
+
attrs: {
|
|
25
|
+
href: s.href,
|
|
26
|
+
target: s.target
|
|
27
|
+
},
|
|
28
|
+
on: {
|
|
29
|
+
click: function(n) {
|
|
30
|
+
s.click && s.click(s);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}, [t("div", {
|
|
34
|
+
staticClass: "item-header"
|
|
35
|
+
}, [t("img", {
|
|
36
|
+
attrs: {
|
|
37
|
+
src: s.imgsrc,
|
|
38
|
+
alt: ""
|
|
39
|
+
}
|
|
40
|
+
})]), t("div", {
|
|
41
|
+
staticClass: "item-content"
|
|
42
|
+
}, [t("span", [a._v(a._s(s.title))]), t("p", [a._v(a._s(s.content))])]), t("div", {
|
|
43
|
+
staticClass: "item-footer"
|
|
44
|
+
}, [t("div", {
|
|
45
|
+
staticClass: "time"
|
|
46
|
+
}, [t("span", [a._v(a._s(s.time))])]), t("div", {
|
|
47
|
+
staticClass: "imgs"
|
|
48
|
+
}, [t("ul", a._l(s.headimg, function(n, c) {
|
|
49
|
+
return t("li", {
|
|
50
|
+
key: c
|
|
51
|
+
}, [t("ElTooltip", {
|
|
52
|
+
attrs: {
|
|
53
|
+
effect: "dark",
|
|
54
|
+
content: n.name,
|
|
55
|
+
placement: "top-start"
|
|
56
|
+
}
|
|
57
|
+
}, [t("img", {
|
|
58
|
+
attrs: {
|
|
59
|
+
src: n.src,
|
|
60
|
+
alt: ""
|
|
61
|
+
}
|
|
62
|
+
})])], 1);
|
|
63
|
+
}), 0)])])])])]);
|
|
64
|
+
}), 1)], 1);
|
|
65
|
+
}, _ = [];
|
|
66
|
+
const u = {
|
|
67
|
+
name: "DataImgtext",
|
|
68
|
+
props: {
|
|
69
|
+
option: {
|
|
70
|
+
type: Object,
|
|
71
|
+
default: () => {
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
computed: {
|
|
76
|
+
span() {
|
|
77
|
+
return this.option.span || 6;
|
|
78
|
+
},
|
|
79
|
+
data() {
|
|
80
|
+
return this.option.data || [];
|
|
81
|
+
},
|
|
82
|
+
color() {
|
|
83
|
+
return this.option.color || "rgb(63, 161, 255)";
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}, r = {};
|
|
87
|
+
var p = /* @__PURE__ */ l(
|
|
88
|
+
u,
|
|
89
|
+
i,
|
|
90
|
+
_,
|
|
91
|
+
!1,
|
|
92
|
+
v,
|
|
93
|
+
null,
|
|
94
|
+
null,
|
|
95
|
+
null
|
|
96
|
+
);
|
|
97
|
+
function v(a) {
|
|
98
|
+
for (let e in r)
|
|
99
|
+
this[e] = r[e];
|
|
100
|
+
}
|
|
101
|
+
const m = /* @__PURE__ */ function() {
|
|
102
|
+
return p.exports;
|
|
103
|
+
}();
|
|
104
|
+
export {
|
|
105
|
+
m as default
|
|
106
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.avue-data-imgtext .item{position:relative;height:340px;width:240px;margin:10px auto 50px;border-radius:5px;box-shadow:2px 2px 20px #ccc}.avue-data-imgtext .item a{text-decoration:none}.avue-data-imgtext .item a:visited{color:inherit}.avue-data-imgtext .item-header img{width:100%;height:170px;background:red;border-radius:5px 5px 0 0}.avue-data-imgtext .item-content{padding:10px 15px;color:#333!important}.avue-data-imgtext .item-content span{font-size:20px}.avue-data-imgtext .item-content:hover span{color:#1890ff}.avue-data-imgtext .item-content p{font-size:14px;height:60px;margin:6px 0;overflow:hidden}.avue-data-imgtext .item-footer{padding:10px 15px;position:relative}.avue-data-imgtext .item-footer img{height:20px;width:20px;border-radius:50%}.avue-data-imgtext .item-footer div{display:inline-block}.avue-data-imgtext .item-footer div ul,.avue-data-imgtext .item-footer div li{padding:0;list-style:none;display:inline-block;border:2px solid white;border-radius:50%;margin:0 0 0 -8px}.avue-data-imgtext .item-footer div:nth-child(1){font-size:14px;color:#ccc!important}.avue-data-imgtext .item-footer div:nth-child(2){position:absolute;right:15px}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { n as o } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
2
|
+
var c = function() {
|
|
3
|
+
var t = this, e = t.$createElement, a = t._self._c || e;
|
|
4
|
+
return a("div", {
|
|
5
|
+
staticClass: "avue-data-operatext"
|
|
6
|
+
}, [a("ElRow", {
|
|
7
|
+
attrs: {
|
|
8
|
+
span: 24
|
|
9
|
+
}
|
|
10
|
+
}, t._l(t.data, function(s, i) {
|
|
11
|
+
return a("ElCol", {
|
|
12
|
+
key: i,
|
|
13
|
+
attrs: {
|
|
14
|
+
md: t.span,
|
|
15
|
+
xs: 24,
|
|
16
|
+
sm: 12
|
|
17
|
+
}
|
|
18
|
+
}, [a("div", {
|
|
19
|
+
staticClass: "item"
|
|
20
|
+
}, [a("a", {
|
|
21
|
+
attrs: {
|
|
22
|
+
href: s.href
|
|
23
|
+
},
|
|
24
|
+
on: {
|
|
25
|
+
click: function(n) {
|
|
26
|
+
s.click && s.click(s);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}, [a("div", {
|
|
30
|
+
staticClass: "item-header",
|
|
31
|
+
style: {
|
|
32
|
+
backgroundColor: s.color,
|
|
33
|
+
backgroundImage: `url(${s.colorImg})`
|
|
34
|
+
}
|
|
35
|
+
}, [a("span", {
|
|
36
|
+
staticClass: "item-title"
|
|
37
|
+
}, [t._v(t._s(s.title))]), a("span", {
|
|
38
|
+
staticClass: "item-subtitle"
|
|
39
|
+
}, [t._v(t._s(s.subtitle))])]), a("div", {
|
|
40
|
+
staticClass: "item-content"
|
|
41
|
+
}, [a("div", {
|
|
42
|
+
staticClass: "item-img"
|
|
43
|
+
}, [a("img", {
|
|
44
|
+
attrs: {
|
|
45
|
+
src: s.img,
|
|
46
|
+
alt: ""
|
|
47
|
+
}
|
|
48
|
+
})]), a("div", {
|
|
49
|
+
staticClass: "item-list"
|
|
50
|
+
}, t._l(s.list, function(n, r) {
|
|
51
|
+
return a("div", {
|
|
52
|
+
key: r,
|
|
53
|
+
staticClass: "item-row"
|
|
54
|
+
}, [a("span", {
|
|
55
|
+
staticClass: "item-label"
|
|
56
|
+
}, [t._v(t._s(n.label))]), a("span", {
|
|
57
|
+
staticClass: "item-value"
|
|
58
|
+
}, [t._v(t._s(n.value))])]);
|
|
59
|
+
}), 0)])])])]);
|
|
60
|
+
}), 1)], 1);
|
|
61
|
+
}, _ = [];
|
|
62
|
+
const u = {
|
|
63
|
+
name: "DataOperatext",
|
|
64
|
+
props: {
|
|
65
|
+
option: {
|
|
66
|
+
type: Object,
|
|
67
|
+
default: () => {
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
computed: {
|
|
72
|
+
span() {
|
|
73
|
+
return this.option.span || 6;
|
|
74
|
+
},
|
|
75
|
+
data() {
|
|
76
|
+
return this.option.data || [];
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}, l = {};
|
|
80
|
+
var p = /* @__PURE__ */ o(
|
|
81
|
+
u,
|
|
82
|
+
c,
|
|
83
|
+
_,
|
|
84
|
+
!1,
|
|
85
|
+
v,
|
|
86
|
+
null,
|
|
87
|
+
null,
|
|
88
|
+
null
|
|
89
|
+
);
|
|
90
|
+
function v(t) {
|
|
91
|
+
for (let e in l)
|
|
92
|
+
this[e] = l[e];
|
|
93
|
+
}
|
|
94
|
+
const m = /* @__PURE__ */ function() {
|
|
95
|
+
return p.exports;
|
|
96
|
+
}();
|
|
97
|
+
export {
|
|
98
|
+
m as default
|
|
99
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.avue-data-operatext .item{margin:5px 10px;box-sizing:border-box;position:relative;border-radius:3px;background:#ffffff;box-shadow:0 1px 1px #0000001a}.avue-data-operatext .item a{color:#333;text-decoration:none}.avue-data-operatext .item a:visited{color:inherit}.avue-data-operatext .item-header{padding:20px 20px 60px;border-top-right-radius:3px;border-top-left-radius:3px;color:#fff;background-position:center center}.avue-data-operatext .item-title{margin-top:0;margin-bottom:5px;font-size:25px;font-weight:300;text-shadow:0 1px 1px rgba(0,0,0,.2);display:block}.avue-data-operatext .item-subtitle{font-size:14px;font-weight:400}.avue-data-operatext .item-content{border-radius:0 0 3px 3px;border-top:1px solid #f4f4f4;padding:10px 10px 20px;background-color:#fff}.avue-data-operatext .item-img{margin:-60px auto 5px;width:90px;height:90px;border-radius:100%;overflow:hidden;border:4px solid #fff}.avue-data-operatext .item-img img{width:100%;height:100%}.avue-data-operatext .item-list{display:flex;flex-wrap:wrap}.avue-data-operatext .item-row{box-sizing:border-box;width:33.33%;text-align:center}.avue-data-operatext .item-label{margin-bottom:5px;display:block;font-weight:600;font-size:16px}.avue-data-operatext .item-value{display:block;font-weight:300;text-transform:uppercase}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { n as o } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
2
|
+
var l = function() {
|
|
3
|
+
var t = this, s = t.$createElement, a = t._self._c || s;
|
|
4
|
+
return a("div", {
|
|
5
|
+
staticClass: "avue-data-panel"
|
|
6
|
+
}, [a("ElRow", {
|
|
7
|
+
attrs: {
|
|
8
|
+
span: 24
|
|
9
|
+
}
|
|
10
|
+
}, t._l(t.data, function(n, i) {
|
|
11
|
+
return a("ElCol", {
|
|
12
|
+
key: i,
|
|
13
|
+
attrs: {
|
|
14
|
+
md: t.span,
|
|
15
|
+
xs: 24,
|
|
16
|
+
sm: 12
|
|
17
|
+
}
|
|
18
|
+
}, [a("a", {
|
|
19
|
+
attrs: {
|
|
20
|
+
href: n.href
|
|
21
|
+
},
|
|
22
|
+
on: {
|
|
23
|
+
click: function(d) {
|
|
24
|
+
n.click && n.click(n);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}, [a("div", {
|
|
28
|
+
staticClass: "item"
|
|
29
|
+
}, [a("div", {
|
|
30
|
+
staticClass: "item-icon"
|
|
31
|
+
}, [a("i", {
|
|
32
|
+
class: n.icon,
|
|
33
|
+
style: {
|
|
34
|
+
color: n.color
|
|
35
|
+
}
|
|
36
|
+
})]), a("div", {
|
|
37
|
+
staticClass: "item-info"
|
|
38
|
+
}, [a("div", {
|
|
39
|
+
staticClass: "item-title"
|
|
40
|
+
}, [t._v(t._s(n.title))]), a("CountUp", {
|
|
41
|
+
staticClass: "item-count",
|
|
42
|
+
attrs: {
|
|
43
|
+
animation: n.animation || t.animation,
|
|
44
|
+
decimals: n.decimals || t.decimals,
|
|
45
|
+
end: n.count
|
|
46
|
+
}
|
|
47
|
+
})], 1)])])]);
|
|
48
|
+
}), 1)], 1);
|
|
49
|
+
}, c = [];
|
|
50
|
+
const r = {
|
|
51
|
+
name: "DataPanel",
|
|
52
|
+
props: {
|
|
53
|
+
option: {
|
|
54
|
+
type: Object,
|
|
55
|
+
default: () => {
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
computed: {
|
|
60
|
+
decimals() {
|
|
61
|
+
return this.option.decimals || 0;
|
|
62
|
+
},
|
|
63
|
+
animation() {
|
|
64
|
+
return this.option.animation;
|
|
65
|
+
},
|
|
66
|
+
span() {
|
|
67
|
+
return this.option.span || 6;
|
|
68
|
+
},
|
|
69
|
+
data() {
|
|
70
|
+
return this.option.data || [];
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}, e = {};
|
|
74
|
+
var u = /* @__PURE__ */ o(
|
|
75
|
+
r,
|
|
76
|
+
l,
|
|
77
|
+
c,
|
|
78
|
+
!1,
|
|
79
|
+
_,
|
|
80
|
+
null,
|
|
81
|
+
null,
|
|
82
|
+
null
|
|
83
|
+
);
|
|
84
|
+
function _(t) {
|
|
85
|
+
for (let s in e)
|
|
86
|
+
this[s] = e[s];
|
|
87
|
+
}
|
|
88
|
+
const v = /* @__PURE__ */ function() {
|
|
89
|
+
return u.exports;
|
|
90
|
+
}();
|
|
91
|
+
export {
|
|
92
|
+
v as default
|
|
93
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.avue-data-panel .item{padding:0 30px;margin:0 20px;cursor:pointer;height:108px;font-size:12px;position:relative;overflow:hidden;color:#666;background:#fff;box-shadow:4px 4px 40px #0000000d;border-color:#0000000d;display:flex;align-items:center;justify-content:space-between}.avue-data-panel .item-icon{font-size:52px}.avue-data-panel .item-info{text-align:center}.avue-data-panel .item-title{line-height:18px;color:#00000073;font-size:16px;margin-bottom:12px}.avue-data-panel .item-count{font-size:20px}
|