@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,149 @@
|
|
|
1
|
+
import { n as r } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
2
|
+
var c = function() {
|
|
3
|
+
var t = this, o = t.$createElement, s = t._self._c || o;
|
|
4
|
+
return s("div", {
|
|
5
|
+
staticClass: "avue-data-pay"
|
|
6
|
+
}, [s("ElRow", {
|
|
7
|
+
attrs: {
|
|
8
|
+
span: 24
|
|
9
|
+
}
|
|
10
|
+
}, t._l(t.data, function(a, i) {
|
|
11
|
+
return s("ElCol", {
|
|
12
|
+
key: i,
|
|
13
|
+
attrs: {
|
|
14
|
+
md: t.span,
|
|
15
|
+
xs: 24,
|
|
16
|
+
sm: 12
|
|
17
|
+
}
|
|
18
|
+
}, [s("div", {
|
|
19
|
+
staticClass: "item"
|
|
20
|
+
}, [s("div", {
|
|
21
|
+
staticClass: "top",
|
|
22
|
+
style: {
|
|
23
|
+
backgroundColor: a.color
|
|
24
|
+
}
|
|
25
|
+
}), s("div", {
|
|
26
|
+
staticClass: "header"
|
|
27
|
+
}, [s("p", {
|
|
28
|
+
staticClass: "title"
|
|
29
|
+
}, [t._v(" " + t._s(a.title) + " ")]), s("img", {
|
|
30
|
+
staticClass: "img",
|
|
31
|
+
attrs: {
|
|
32
|
+
src: a.src,
|
|
33
|
+
alt: ""
|
|
34
|
+
}
|
|
35
|
+
}), a.subtitle ? [s("p", {
|
|
36
|
+
staticClass: "subtitle",
|
|
37
|
+
style: {
|
|
38
|
+
color: a.color
|
|
39
|
+
}
|
|
40
|
+
}, [t._v(" " + t._s(a.subtitle) + " ")])] : t._e(), a.money || a.dismoney ? [s("p", {
|
|
41
|
+
staticClass: "money",
|
|
42
|
+
style: {
|
|
43
|
+
color: a.color
|
|
44
|
+
}
|
|
45
|
+
}, [s("span", [t._v("¥")]), s("CountUp", {
|
|
46
|
+
staticClass: "b",
|
|
47
|
+
attrs: {
|
|
48
|
+
decimals: a.decimals || t.decimals,
|
|
49
|
+
animation: a.animation || t.animation,
|
|
50
|
+
end: a.dismoney
|
|
51
|
+
}
|
|
52
|
+
}), s("s", [t._v(t._s(a.money))]), s("em", [t._v(t._s(a.tip))])], 1)] : t._e(), s("div", {
|
|
53
|
+
staticClass: "line"
|
|
54
|
+
}), s("a", {
|
|
55
|
+
staticClass: "btn",
|
|
56
|
+
style: {
|
|
57
|
+
backgroundColor: a.color
|
|
58
|
+
},
|
|
59
|
+
attrs: {
|
|
60
|
+
href: a.href
|
|
61
|
+
},
|
|
62
|
+
on: {
|
|
63
|
+
click: function(n) {
|
|
64
|
+
a.click && a.click(a);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}, [t._v(t._s(a.subtext))])], 2), s("div", {
|
|
68
|
+
staticClass: "list"
|
|
69
|
+
}, t._l(a.list, function(n, e) {
|
|
70
|
+
return s("div", {
|
|
71
|
+
key: e,
|
|
72
|
+
staticClass: "list-item"
|
|
73
|
+
}, [n.check ? s("i", {
|
|
74
|
+
staticClass: "list-item-icon list-item--check",
|
|
75
|
+
style: {
|
|
76
|
+
color: a.color
|
|
77
|
+
}
|
|
78
|
+
}, [t._v("√")]) : s("i", {
|
|
79
|
+
staticClass: "list-item-icon list-item--no"
|
|
80
|
+
}, [t._v("x")]), s("a", {
|
|
81
|
+
attrs: {
|
|
82
|
+
href: n.href ? n.href : "javascript:void(0);"
|
|
83
|
+
}
|
|
84
|
+
}, [s("ElTooltip", {
|
|
85
|
+
attrs: {
|
|
86
|
+
effect: "dark",
|
|
87
|
+
disabled: !n.tip,
|
|
88
|
+
placement: "top"
|
|
89
|
+
}
|
|
90
|
+
}, [s("div", {
|
|
91
|
+
attrs: {
|
|
92
|
+
slot: "content"
|
|
93
|
+
},
|
|
94
|
+
domProps: {
|
|
95
|
+
innerHTML: t._s(n.tip)
|
|
96
|
+
},
|
|
97
|
+
slot: "content"
|
|
98
|
+
}), s("span", {
|
|
99
|
+
class: {
|
|
100
|
+
"list-item--link": n.href
|
|
101
|
+
}
|
|
102
|
+
}, [t._v(t._s(n.title))])])], 1)]);
|
|
103
|
+
}), 0)])]);
|
|
104
|
+
}), 1)], 1);
|
|
105
|
+
}, _ = [];
|
|
106
|
+
const d = {
|
|
107
|
+
name: "DataPay",
|
|
108
|
+
props: {
|
|
109
|
+
option: {
|
|
110
|
+
type: Object,
|
|
111
|
+
default: () => {
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
computed: {
|
|
116
|
+
animation() {
|
|
117
|
+
return this.option.animation;
|
|
118
|
+
},
|
|
119
|
+
decimals() {
|
|
120
|
+
return this.option.decimals || 0;
|
|
121
|
+
},
|
|
122
|
+
span() {
|
|
123
|
+
return this.option.span || 6;
|
|
124
|
+
},
|
|
125
|
+
data() {
|
|
126
|
+
return this.option.data || [];
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}, l = {};
|
|
130
|
+
var p = /* @__PURE__ */ r(
|
|
131
|
+
d,
|
|
132
|
+
c,
|
|
133
|
+
_,
|
|
134
|
+
!1,
|
|
135
|
+
u,
|
|
136
|
+
null,
|
|
137
|
+
null,
|
|
138
|
+
null
|
|
139
|
+
);
|
|
140
|
+
function u(t) {
|
|
141
|
+
for (let o in l)
|
|
142
|
+
this[o] = l[o];
|
|
143
|
+
}
|
|
144
|
+
const f = /* @__PURE__ */ function() {
|
|
145
|
+
return p.exports;
|
|
146
|
+
}();
|
|
147
|
+
export {
|
|
148
|
+
f as default
|
|
149
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.avue-data-pay .item{margin:0 auto;padding-bottom:16px;width:80%;position:relative;border-radius:4px;background-color:#fff;min-height:670px;box-shadow:1px 2px 10px #eee}.avue-data-pay .item a{text-decoration:none}.avue-data-pay .item a:visited{color:inherit}.avue-data-pay .top{width:100%;height:6px;position:absolute;top:0;left:0;border-radius:4px 4px 0 0}.avue-data-pay .header{margin-bottom:40px;text-align:center}.avue-data-pay .title{text-align:center;padding:20px 0 10px;font-size:20px;font-weight:200}.avue-data-pay .money span{margin-right:5px;font-size:14px}.avue-data-pay .money .b{margin-right:2px;font-size:20px;font-weight:700}.avue-data-pay .money s{margin-right:3px;font-size:12px}.avue-data-pay .money em{font-size:14px;font-style:normal}.avue-data-pay .img{width:50px}.avue-data-pay .line{width:60%;height:1px;background:hsla(0deg,0%,59%,.1);margin:20px auto}.avue-data-pay .btn{display:block;width:120px;height:32px;line-height:32px;margin:0 auto;text-align:center;border-radius:32px;color:#fff;cursor:pointer;transition:opacity .2s ease-in-out}.avue-data-pay .list-item{list-style:none;padding-left:20px;margin-bottom:12px;color:#666;font-size:14px}.avue-data-pay .list-item a{color:#666}.avue-data-pay .list-item-icon{color:#515a6e;margin-right:8px}.avue-data-pay .list-item--link{font-size:12px;color:#2d8cf0}.avue-data-pay .list-item--no{color:#c5c8ce}.avue-data-pay .list-item--no+span{color:#c5c8ce}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { n as l } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
2
|
+
var o = function() {
|
|
3
|
+
var t = this, n = t.$createElement, s = t._self._c || n;
|
|
4
|
+
return s("div", {
|
|
5
|
+
staticClass: "data-price"
|
|
6
|
+
}, [s("ElRow", {
|
|
7
|
+
attrs: {
|
|
8
|
+
span: 24
|
|
9
|
+
}
|
|
10
|
+
}, [t._l(t.data, function(a, c) {
|
|
11
|
+
return [s("ElCol", {
|
|
12
|
+
key: c,
|
|
13
|
+
attrs: {
|
|
14
|
+
xs: 12,
|
|
15
|
+
sm: 6,
|
|
16
|
+
md: t.span
|
|
17
|
+
}
|
|
18
|
+
}, [s("div", {
|
|
19
|
+
staticClass: "item item--active"
|
|
20
|
+
}, [s("a", {
|
|
21
|
+
attrs: {
|
|
22
|
+
href: a.href,
|
|
23
|
+
target: a.target
|
|
24
|
+
},
|
|
25
|
+
on: {
|
|
26
|
+
click: function(e) {
|
|
27
|
+
a.click && a.click(a);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}, [s("div", {
|
|
31
|
+
staticClass: "title"
|
|
32
|
+
}, [t._v(" " + t._s(a.title) + " ")]), s("div", {
|
|
33
|
+
staticClass: "body"
|
|
34
|
+
}, [s("span", {
|
|
35
|
+
staticClass: "price"
|
|
36
|
+
}, [t._v(t._s(a.price))]), s("span", {
|
|
37
|
+
staticClass: "append"
|
|
38
|
+
}, [t._v(t._s(a.append))])]), s("div", {
|
|
39
|
+
staticClass: "list"
|
|
40
|
+
}, t._l(a.list, function(e, i) {
|
|
41
|
+
return s("p", {
|
|
42
|
+
key: i
|
|
43
|
+
}, [t._v(" " + t._s(e) + " ")]);
|
|
44
|
+
}), 0)])])])];
|
|
45
|
+
})], 2)], 1);
|
|
46
|
+
}, _ = [];
|
|
47
|
+
const p = {
|
|
48
|
+
name: "DataPrice",
|
|
49
|
+
props: {
|
|
50
|
+
option: {
|
|
51
|
+
type: Object,
|
|
52
|
+
default: () => {
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
computed: {
|
|
57
|
+
span() {
|
|
58
|
+
return this.option.span || 6;
|
|
59
|
+
},
|
|
60
|
+
data() {
|
|
61
|
+
return this.option.data;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}, r = {};
|
|
65
|
+
var u = /* @__PURE__ */ l(
|
|
66
|
+
p,
|
|
67
|
+
o,
|
|
68
|
+
_,
|
|
69
|
+
!1,
|
|
70
|
+
v,
|
|
71
|
+
null,
|
|
72
|
+
null,
|
|
73
|
+
null
|
|
74
|
+
);
|
|
75
|
+
function v(t) {
|
|
76
|
+
for (let n in r)
|
|
77
|
+
this[n] = r[n];
|
|
78
|
+
}
|
|
79
|
+
const f = /* @__PURE__ */ function() {
|
|
80
|
+
return u.exports;
|
|
81
|
+
}();
|
|
82
|
+
export {
|
|
83
|
+
f as default
|
|
84
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.data-price .item{margin:0 20px;text-align:center;box-shadow:2px 3px 15px #eee;border:1px solid #ccc}.data-price .item:hover{border:1px solid #00a680}.data-price .item:hover .body{color:#fff;background-color:#00a680}.data-price .item:hover .body:after{border-top-color:#00a680}.data-price .item:hover .list{color:#00a680}.data-price .item:hover .price{color:#fff}.data-price .item .title{height:80px;line-height:80px;font-size:18px;color:#333}.data-price .item .price{padding:0 8px;margin:0 0 50px;line-height:120px;height:120px;font-size:42px;color:#6b6b6b}.data-price .item .append{font-size:16px}.data-price .item .body{position:relative;padding:0;margin:0 0 50px;background-color:#f4f4f4;line-height:120px;height:120px;font-size:42px;color:#6b6b6b}.data-price .item .body:before{content:"\a5";font-size:16px;font-weight:400}.data-price .item .body:after{content:"";position:absolute;display:block;width:0;height:0;bottom:-15px;left:50%;transform:translate(-50%);border-color:transparent;border-style:solid;border-width:30px;border-bottom-width:0;border-top-width:20px;border-top-color:#f4f4f4}.data-price .item .list{padding-bottom:30px;color:#666;font-size:14px}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { n as r } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
2
|
+
var i = function() {
|
|
3
|
+
var a = this, n = a.$createElement, s = a._self._c || n;
|
|
4
|
+
return s("div", {
|
|
5
|
+
staticClass: "data-progress"
|
|
6
|
+
}, [s("ElRow", {
|
|
7
|
+
attrs: {
|
|
8
|
+
span: 24
|
|
9
|
+
}
|
|
10
|
+
}, a._l(a.data, function(t, o) {
|
|
11
|
+
return s("ElCol", {
|
|
12
|
+
key: o,
|
|
13
|
+
attrs: {
|
|
14
|
+
md: a.span,
|
|
15
|
+
xs: 24,
|
|
16
|
+
sm: 12
|
|
17
|
+
}
|
|
18
|
+
}, [s("div", {
|
|
19
|
+
staticClass: "item"
|
|
20
|
+
}, [s("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
|
+
}, [s("div", {
|
|
31
|
+
staticClass: "item-header"
|
|
32
|
+
}, [s("CountUp", {
|
|
33
|
+
staticClass: "item-count",
|
|
34
|
+
attrs: {
|
|
35
|
+
animation: t.animation || a.animation,
|
|
36
|
+
decimals: t.decimals || a.decimals,
|
|
37
|
+
end: t.count
|
|
38
|
+
}
|
|
39
|
+
}), s("div", {
|
|
40
|
+
staticClass: "item-title",
|
|
41
|
+
domProps: {
|
|
42
|
+
textContent: a._s(t.title)
|
|
43
|
+
}
|
|
44
|
+
})], 1), s("ElProgress", {
|
|
45
|
+
attrs: {
|
|
46
|
+
"stroke-width": 15,
|
|
47
|
+
percentage: t.count,
|
|
48
|
+
color: t.color,
|
|
49
|
+
"show-text": !1
|
|
50
|
+
}
|
|
51
|
+
})], 1)])]);
|
|
52
|
+
}), 1)], 1);
|
|
53
|
+
}, c = [];
|
|
54
|
+
const l = {
|
|
55
|
+
name: "DataProgress",
|
|
56
|
+
props: {
|
|
57
|
+
option: {
|
|
58
|
+
type: Object,
|
|
59
|
+
default: () => {
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
computed: {
|
|
64
|
+
animation() {
|
|
65
|
+
return this.option.animation;
|
|
66
|
+
},
|
|
67
|
+
decimals() {
|
|
68
|
+
return this.option.decimals || 0;
|
|
69
|
+
},
|
|
70
|
+
span() {
|
|
71
|
+
return this.option.span || 8;
|
|
72
|
+
},
|
|
73
|
+
data() {
|
|
74
|
+
return this.option.data || [];
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}, e = {};
|
|
78
|
+
var u = /* @__PURE__ */ r(
|
|
79
|
+
l,
|
|
80
|
+
i,
|
|
81
|
+
c,
|
|
82
|
+
!1,
|
|
83
|
+
_,
|
|
84
|
+
null,
|
|
85
|
+
null,
|
|
86
|
+
null
|
|
87
|
+
);
|
|
88
|
+
function _(a) {
|
|
89
|
+
for (let n in e)
|
|
90
|
+
this[n] = e[n];
|
|
91
|
+
}
|
|
92
|
+
const m = /* @__PURE__ */ function() {
|
|
93
|
+
return u.exports;
|
|
94
|
+
}();
|
|
95
|
+
export {
|
|
96
|
+
m as default
|
|
97
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.data-progress .item{margin:10px}.data-progress .item a{text-decoration:none}.data-progress .item a:visited{color:inherit}.data-progress .item-header{margin-bottom:10px;display:flex;align-items:center;justify-content:space-between}.data-progress .item-count{line-height:26px;font-size:26px;color:#666}.data-progress .item-title{color:#999;font-size:14px}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { n as i } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
2
|
+
var c = function() {
|
|
3
|
+
var t = this, s = t.$createElement, a = t._self._c || s;
|
|
4
|
+
return a("div", {
|
|
5
|
+
staticClass: "avue-data-rotate"
|
|
6
|
+
}, [a("ElRow", {
|
|
7
|
+
attrs: {
|
|
8
|
+
span: 24
|
|
9
|
+
}
|
|
10
|
+
}, t._l(t.data, function(n, e) {
|
|
11
|
+
return a("ElCol", {
|
|
12
|
+
key: e,
|
|
13
|
+
attrs: {
|
|
14
|
+
md: t.span,
|
|
15
|
+
xs: 24,
|
|
16
|
+
sm: 12
|
|
17
|
+
}
|
|
18
|
+
}, [a("div", {
|
|
19
|
+
staticClass: "item",
|
|
20
|
+
style: {
|
|
21
|
+
backgroundColor: n.color
|
|
22
|
+
}
|
|
23
|
+
}, [a("div", {
|
|
24
|
+
staticClass: "item-box"
|
|
25
|
+
}, [a("CountUp", {
|
|
26
|
+
staticClass: "item-count",
|
|
27
|
+
attrs: {
|
|
28
|
+
decimals: n.decimals || t.decimals,
|
|
29
|
+
animation: n.animation || t.animation,
|
|
30
|
+
end: n.count
|
|
31
|
+
}
|
|
32
|
+
}), a("span", {
|
|
33
|
+
staticClass: "item-title"
|
|
34
|
+
}, [t._v(t._s(n.title))]), a("i", {
|
|
35
|
+
staticClass: "item-icon",
|
|
36
|
+
class: n.icon
|
|
37
|
+
})], 1), a("a", {
|
|
38
|
+
attrs: {
|
|
39
|
+
href: n.href
|
|
40
|
+
},
|
|
41
|
+
on: {
|
|
42
|
+
click: function(p) {
|
|
43
|
+
n.click && n.click(n);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}, [a("p", {
|
|
47
|
+
staticClass: "item-more"
|
|
48
|
+
}, [t._v("更多"), a("i", {
|
|
49
|
+
staticClass: "el-icon-arrow-right"
|
|
50
|
+
})])])])]);
|
|
51
|
+
}), 1)], 1);
|
|
52
|
+
}, r = [];
|
|
53
|
+
const l = {
|
|
54
|
+
name: "DataRotate",
|
|
55
|
+
props: {
|
|
56
|
+
option: {
|
|
57
|
+
type: Object,
|
|
58
|
+
default: () => {
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
computed: {
|
|
63
|
+
animation() {
|
|
64
|
+
return this.option.animation;
|
|
65
|
+
},
|
|
66
|
+
decimals() {
|
|
67
|
+
return this.option.decimals || 0;
|
|
68
|
+
},
|
|
69
|
+
span() {
|
|
70
|
+
return this.option.span || 8;
|
|
71
|
+
},
|
|
72
|
+
data() {
|
|
73
|
+
return this.option.data || [];
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}, o = {};
|
|
77
|
+
var u = /* @__PURE__ */ i(
|
|
78
|
+
l,
|
|
79
|
+
c,
|
|
80
|
+
r,
|
|
81
|
+
!1,
|
|
82
|
+
_,
|
|
83
|
+
null,
|
|
84
|
+
null,
|
|
85
|
+
null
|
|
86
|
+
);
|
|
87
|
+
function _(t) {
|
|
88
|
+
for (let s in o)
|
|
89
|
+
this[s] = o[s];
|
|
90
|
+
}
|
|
91
|
+
const m = /* @__PURE__ */ function() {
|
|
92
|
+
return u.exports;
|
|
93
|
+
}();
|
|
94
|
+
export {
|
|
95
|
+
m as default
|
|
96
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.avue-data-rotate .item{margin:5px 10px;box-sizing:border-box;position:relative;color:#fff;border-radius:3px}.avue-data-rotate .item-box{padding:10px 20px}.avue-data-rotate .item-count{margin-bottom:5px;font-size:38px;white-space:nowrap;font-weight:300;display:block}.avue-data-rotate .item-title{font-size:15px}.avue-data-rotate .item-icon{transition:all .3s linear;position:absolute;top:20px;right:20px;font-size:65px;color:#00000026}.avue-data-rotate .item-icon:hover{font-size:70px}.avue-data-rotate .item-more{position:relative;text-align:center;padding:3px 0;color:#fff;color:#fffc;display:block;z-index:10;font-size:14px;letter-spacing:2px;background:rgba(0,0,0,.1);text-decoration:none}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { dialog as o } from "@web-utils/core/dist/mixin/index";
|
|
2
|
-
import { f as r } from "../../chunks/
|
|
3
|
-
import { n as s } from "../../chunks/
|
|
2
|
+
import { f as r } from "../../chunks/utils.fa73de78.js";
|
|
3
|
+
import { n as s } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
4
4
|
var a = function() {
|
|
5
5
|
var e = this, t = e.$createElement, l = e._self._c || t;
|
|
6
6
|
return l("ElementDialog", {
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { n as i } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
2
|
+
var r = function() {
|
|
3
|
+
var t = this, n = t.$createElement, a = t._self._c || n;
|
|
4
|
+
return a("div", {
|
|
5
|
+
staticClass: "avue-data-tabs"
|
|
6
|
+
}, [a("ElRow", {
|
|
7
|
+
attrs: {
|
|
8
|
+
span: 24
|
|
9
|
+
}
|
|
10
|
+
}, t._l(t.data, function(s, 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
|
+
style: {
|
|
21
|
+
background: s.color
|
|
22
|
+
}
|
|
23
|
+
}, [a("a", {
|
|
24
|
+
attrs: {
|
|
25
|
+
href: s.href,
|
|
26
|
+
target: s.target
|
|
27
|
+
},
|
|
28
|
+
on: {
|
|
29
|
+
click: function(p) {
|
|
30
|
+
s.click && s.click(s);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}, [a("div", {
|
|
34
|
+
staticClass: "item-header"
|
|
35
|
+
}, [a("p", [t._v(t._s(s.title))]), a("span", [t._v(t._s(s.subtitle))])]), a("div", {
|
|
36
|
+
staticClass: "item-body"
|
|
37
|
+
}, [a("CountUp", {
|
|
38
|
+
staticClass: "h2",
|
|
39
|
+
attrs: {
|
|
40
|
+
decimals: s.decimals || t.decimals,
|
|
41
|
+
animation: s.animation || t.animation,
|
|
42
|
+
end: s.count
|
|
43
|
+
}
|
|
44
|
+
})], 1), a("div", {
|
|
45
|
+
staticClass: "item-footer"
|
|
46
|
+
}, [a("span", [t._v(t._s(s.allcount))]), a("p", [t._v(t._s(s.text))])]), a("p", {
|
|
47
|
+
staticClass: "item-tip"
|
|
48
|
+
}, [t._v(t._s(s.key))])])])]);
|
|
49
|
+
}), 1)], 1);
|
|
50
|
+
}, c = [];
|
|
51
|
+
const l = {
|
|
52
|
+
name: "DataTabs",
|
|
53
|
+
props: {
|
|
54
|
+
option: {
|
|
55
|
+
type: Object,
|
|
56
|
+
default: () => {
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
computed: {
|
|
61
|
+
animation() {
|
|
62
|
+
return this.option.animation;
|
|
63
|
+
},
|
|
64
|
+
decimals() {
|
|
65
|
+
return this.option.decimals || 0;
|
|
66
|
+
},
|
|
67
|
+
span() {
|
|
68
|
+
return this.option.span || 8;
|
|
69
|
+
},
|
|
70
|
+
data() {
|
|
71
|
+
return this.option.data || [];
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}, e = {};
|
|
75
|
+
var _ = /* @__PURE__ */ i(
|
|
76
|
+
l,
|
|
77
|
+
r,
|
|
78
|
+
c,
|
|
79
|
+
!1,
|
|
80
|
+
u,
|
|
81
|
+
null,
|
|
82
|
+
null,
|
|
83
|
+
null
|
|
84
|
+
);
|
|
85
|
+
function u(t) {
|
|
86
|
+
for (let n in e)
|
|
87
|
+
this[n] = e[n];
|
|
88
|
+
}
|
|
89
|
+
const v = /* @__PURE__ */ function() {
|
|
90
|
+
return _.exports;
|
|
91
|
+
}();
|
|
92
|
+
export {
|
|
93
|
+
v as default
|
|
94
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.avue-data-tabs .item{position:relative;margin:15px;padding:12px;height:160px;border-radius:4px;box-sizing:border-box;overflow:hidden;color:#fff}.avue-data-tabs .item a{color:#fff}.avue-data-tabs .item-header{position:relative}.avue-data-tabs .item-header>p{color:#fff;margin:0;font-size:14px}.avue-data-tabs .item-header>span{position:absolute;right:0px;top:0px;padding:2px 8px;border-radius:4px;font-size:12px;background:rgba(255,255,255,.3)}.avue-data-tabs .item-body .h2{color:#fff;margin:0;font-size:32px;line-height:60px;font-weight:700}.avue-data-tabs .item-footer{padding-top:8px;line-height:20px}.avue-data-tabs .item-footer>span{font-size:10px}.avue-data-tabs .item-footer>p{color:#fff;margin:0;font-size:12px}.avue-data-tabs .item-tip{display:flex;align-items:center;justify-content:center;position:absolute;width:80px;height:80px;bottom:10px;right:10px;border:2px solid #fff;border-radius:100%;font-size:48px;transform:rotate(-40deg);opacity:.1}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { c as u } from "../../chunks/config.46422d7f.js";
|
|
2
|
+
import { n as c } from "../../chunks/vueComponentNormalizer.71e2aa87.js";
|
|
3
|
+
var d = function() {
|
|
4
|
+
var e = this, l = e.$createElement, r = e._self._c || l;
|
|
5
|
+
return e.columnBox ? r("div", [r("ElDrawer", {
|
|
6
|
+
staticClass: "avue-crud__dialog avue-crud__column avue-dialog",
|
|
7
|
+
attrs: {
|
|
8
|
+
"lock-scroll": "",
|
|
9
|
+
title: "列显隐",
|
|
10
|
+
size: e.crud.isMobile ? "100%" : "40%",
|
|
11
|
+
visible: e.columnBox
|
|
12
|
+
},
|
|
13
|
+
on: {
|
|
14
|
+
"update:visible": function(o) {
|
|
15
|
+
e.columnBox = o;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}, [r("ElTable", {
|
|
19
|
+
ref: "table",
|
|
20
|
+
attrs: {
|
|
21
|
+
data: e.data,
|
|
22
|
+
height: "100%",
|
|
23
|
+
size: "small",
|
|
24
|
+
border: ""
|
|
25
|
+
}
|
|
26
|
+
}, [r("ElTableColumn", {
|
|
27
|
+
key: "label",
|
|
28
|
+
attrs: {
|
|
29
|
+
align: "center",
|
|
30
|
+
width: "100",
|
|
31
|
+
"header-align": "center",
|
|
32
|
+
prop: "label",
|
|
33
|
+
label: "列名"
|
|
34
|
+
}
|
|
35
|
+
}), e._l(e.defaultColumn, function(o, i) {
|
|
36
|
+
return [o.hide !== !0 ? r("ElTableColumn", {
|
|
37
|
+
key: i,
|
|
38
|
+
attrs: {
|
|
39
|
+
label: o.label,
|
|
40
|
+
prop: o.prop,
|
|
41
|
+
align: "center",
|
|
42
|
+
"header-align": "center"
|
|
43
|
+
},
|
|
44
|
+
scopedSlots: e._u([{
|
|
45
|
+
key: "default",
|
|
46
|
+
fn: function(s) {
|
|
47
|
+
var t = s.row;
|
|
48
|
+
return [r("ElCheckbox", {
|
|
49
|
+
on: {
|
|
50
|
+
change: function(n) {
|
|
51
|
+
return e.handleChange(o.prop);
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
model: {
|
|
55
|
+
value: e.crud.objectOption[t.prop][o.prop],
|
|
56
|
+
callback: function(n) {
|
|
57
|
+
e.$set(e.crud.objectOption[t.prop], o.prop, n);
|
|
58
|
+
},
|
|
59
|
+
expression: "crud.objectOption[row.prop][item.prop]"
|
|
60
|
+
}
|
|
61
|
+
})];
|
|
62
|
+
}
|
|
63
|
+
}], null, !0)
|
|
64
|
+
}) : e._e()];
|
|
65
|
+
})], 2)], 1)], 1) : e._e();
|
|
66
|
+
}, p = [];
|
|
67
|
+
const h = {
|
|
68
|
+
name: "DialogColumn",
|
|
69
|
+
inject: ["crud"],
|
|
70
|
+
data() {
|
|
71
|
+
return {
|
|
72
|
+
data: [],
|
|
73
|
+
columnBox: !1
|
|
74
|
+
};
|
|
75
|
+
},
|
|
76
|
+
computed: {
|
|
77
|
+
defaultColumn() {
|
|
78
|
+
return [{
|
|
79
|
+
label: "隐藏",
|
|
80
|
+
prop: "hide"
|
|
81
|
+
}, {
|
|
82
|
+
label: "冻结",
|
|
83
|
+
prop: "fixed"
|
|
84
|
+
}, {
|
|
85
|
+
label: "过滤",
|
|
86
|
+
prop: "filters"
|
|
87
|
+
}, {
|
|
88
|
+
label: "潘旭",
|
|
89
|
+
prop: "sortable"
|
|
90
|
+
}, {
|
|
91
|
+
label: "序号",
|
|
92
|
+
prop: "index",
|
|
93
|
+
hide: !0
|
|
94
|
+
}, {
|
|
95
|
+
label: "宽度",
|
|
96
|
+
prop: "width",
|
|
97
|
+
hide: !0
|
|
98
|
+
}];
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
methods: {
|
|
102
|
+
handleShow() {
|
|
103
|
+
this.data = [], this.crud.propOption.forEach((e) => {
|
|
104
|
+
e.showColumn !== !1 && this.data.push(e);
|
|
105
|
+
}), this.columnBox = !0, this.$nextTick(() => this.rowDrop());
|
|
106
|
+
},
|
|
107
|
+
handleChange(e) {
|
|
108
|
+
["hide", "filters"].includes(e) && this.crud.refreshTable();
|
|
109
|
+
},
|
|
110
|
+
rowDrop() {
|
|
111
|
+
const e = this.$refs.table.$el.querySelectorAll(u.dropRowClass)[0];
|
|
112
|
+
this.crud.tableDrop("column", e, (l) => {
|
|
113
|
+
const r = l.oldIndex, o = l.newIndex;
|
|
114
|
+
this.crud.headerSort(r, o), this.crud.refreshTable(() => this.rowDrop());
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}, a = {};
|
|
119
|
+
var f = /* @__PURE__ */ c(
|
|
120
|
+
h,
|
|
121
|
+
d,
|
|
122
|
+
p,
|
|
123
|
+
!1,
|
|
124
|
+
b,
|
|
125
|
+
null,
|
|
126
|
+
null,
|
|
127
|
+
null
|
|
128
|
+
);
|
|
129
|
+
function b(e) {
|
|
130
|
+
for (let l in a)
|
|
131
|
+
this[l] = a[l];
|
|
132
|
+
}
|
|
133
|
+
const v = /* @__PURE__ */ function() {
|
|
134
|
+
return f.exports;
|
|
135
|
+
}();
|
|
136
|
+
export {
|
|
137
|
+
v as default
|
|
138
|
+
};
|