@web-utils/component 4.0.15 → 4.0.16
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 +13 -15
- package/card/index.mjs +18 -20
- package/carousel/index.mjs +10 -12
- package/chat/index.mjs +45 -56
- package/chunk-file-uploader/index.mjs +36 -378
- package/chunk-file-uploader/style.css +1 -1
- package/chunks/ElementBaseInfo.ZADwixb5.mjs +125 -0
- package/chunks/ElementForm.CQ3PN5qj.mjs +223 -0
- package/chunks/ElementListeners.De_PRuIm.mjs +215 -0
- package/chunks/ElementMultiInstance.DQo2wuAQ.mjs +181 -0
- package/chunks/ElementOtherConfig.B1NfMTYh.mjs +60 -0
- package/chunks/ElementProperties.CosfDrlW.mjs +112 -0
- package/chunks/{ElementTaskConfig.AvBOzAni.mjs → ElementTaskConfig.Bko0kgTp.mjs} +55 -63
- package/chunks/FlowCondition.Y6qEYi1T.mjs +102 -0
- package/chunks/FormTemp.BQxO5IQq.mjs +123 -0
- package/chunks/SignalAndMessage.Bb5PFX0N.mjs +85 -0
- package/chunks/UserTaskListeners.Bv3BDfEI.mjs +169 -0
- package/chunks/{confirmable-mixin.BFZb6pcK.mjs → confirmable-mixin.B2TtLAdk.mjs} +1 -1
- package/chunks/core.0Exl13Mz.mjs +54 -0
- package/chunks/{dataformat.DJoNBlmI.mjs → dataformat.CpqOeGBl.mjs} +6 -6
- package/chunks/{dic.BinnDitI.mjs → dic.Dkl-leRW.mjs} +9 -9
- package/chunks/dictionary.DGt59Ir7.mjs +68 -0
- package/chunks/{event.DSlcqYHL.mjs → event.9aDS6jcw.mjs} +2 -2
- package/chunks/{form-input.BtS_J5a2.mjs → form-input.CvFdwlEV.mjs} +2 -2
- package/chunks/form-item.LWjePsPa.mjs +233 -0
- package/chunks/{index.CIfe3UB3.mjs → index.9OxHjTIE.mjs} +2 -2
- package/chunks/{index.Cn7aq-Et.mjs → index.B2TRddqf.mjs} +8 -8
- package/chunks/{init.xOlFpTyZ.mjs → init.DAsXSoLW.mjs} +2 -2
- package/chunks/sub-table-plus-props.BVsD71hT.mjs +30 -0
- package/chunks/{util.DI42t5GU.mjs → util.DqFv_pWg.mjs} +22 -22
- package/chunks/utilSelf.Csq1766E.mjs +48 -0
- package/chunks/utils.DRcxC1Fb.mjs +60 -0
- package/color-picker/index.mjs +22 -101
- package/confirm-button/index.mjs +1 -1
- package/confirmable/index.mjs +1 -1
- package/data-box/index.mjs +12 -15
- package/data-card/index.mjs +10 -12
- package/data-card-text/index.mjs +10 -12
- package/data-display/index.mjs +15 -17
- package/data-icons/index.mjs +13 -16
- package/data-imgtext/index.mjs +15 -18
- package/data-operatext/index.mjs +14 -16
- package/data-panel/index.mjs +13 -16
- package/data-pay/index.mjs +16 -20
- package/data-price/index.mjs +14 -16
- package/data-progress/index.mjs +13 -17
- package/data-rotate/index.mjs +12 -15
- package/data-table-picker/index.mjs +15 -18
- package/data-tabs/index.mjs +12 -15
- package/dialog-form/index.mjs +16 -18
- package/dynamic-table/index.mjs +25 -30
- package/editable-progress/index.mjs +9 -11
- package/editable-tree/index.mjs +52 -56
- package/egd-collapse-item/index.mjs +9 -9
- package/element-dialog/index.mjs +22 -23
- package/element-listeners/style.css +1 -0
- package/element-multi-instance/style.css +1 -0
- package/flex-column/index.mjs +1 -1
- package/flex-item/index.mjs +1 -1
- package/flex-row/index.mjs +1 -1
- package/flow/index.mjs +10 -11
- package/flow-designer/index.mjs +699 -1973
- package/flow-designer/style.css +1 -1
- package/flow-node/index.mjs +1 -1
- package/flow-viewer/index.mjs +9 -9
- package/form-block/index.mjs +32 -34
- package/form-cascader/index.mjs +23 -24
- package/form-checkbox/index.mjs +16 -17
- package/form-checkbox-group/index.mjs +20 -23
- package/form-date-picker/index.mjs +18 -20
- package/form-holder/index.mjs +13 -14
- package/form-input/index.mjs +14 -15
- package/form-input-cron-expression/index.mjs +19 -22
- package/form-input-email/index.mjs +15 -16
- package/form-input-id-card/index.mjs +12 -13
- package/form-input-number/index.mjs +16 -17
- package/form-input-phone-number/index.mjs +21 -22
- package/form-input-tag/index.mjs +14 -15
- package/form-input-time/index.mjs +14 -15
- package/form-item/index.mjs +140 -3
- package/form-item-group/index.mjs +28 -31
- package/form-radio-group/index.mjs +27 -28
- package/form-select/index.mjs +21 -23
- package/form-switch/index.mjs +16 -17
- package/form-table/index.mjs +16 -17
- package/form-table-plus/index.mjs +21 -22
- package/form-textarea/index.mjs +15 -16
- package/form-tree-select/index.mjs +14 -15
- package/form-tree-select-multiple/index.mjs +14 -15
- package/form-view/index.mjs +35 -39
- package/fy-array/index.mjs +33 -37
- package/fy-cascader/index.mjs +16 -17
- package/fy-checkbox/index.mjs +11 -13
- package/fy-code/index.mjs +10 -10
- package/fy-curd/index.mjs +1128 -1152
- package/fy-date/index.mjs +10 -11
- package/fy-draggable/index.mjs +9 -10
- package/fy-dynamic/index.mjs +22 -25
- package/fy-empty/index.mjs +1 -1
- package/fy-form/index.mjs +638 -15
- package/fy-form-design/index.mjs +1307 -1345
- package/fy-from/crud/zh.d.ts +6 -6
- package/fy-input/index.mjs +12 -14
- package/fy-input-color/index.mjs +13 -15
- package/fy-input-icon/index.mjs +20 -23
- package/fy-input-map/index.mjs +28 -31
- package/fy-input-number/index.mjs +9 -10
- package/fy-input-table/index.mjs +18 -22
- package/fy-input-tree/index.mjs +33 -37
- package/fy-progress/index.mjs +9 -10
- package/fy-radio/index.mjs +15 -16
- package/fy-rate/index.mjs +10 -11
- package/fy-select/index.mjs +25 -29
- package/fy-slider/index.mjs +11 -12
- package/fy-switch/index.mjs +9 -10
- package/fy-tabs/index.mjs +15 -17
- package/fy-time/index.mjs +1 -1
- package/fy-title/index.mjs +1 -1
- package/fy-tree/index.mjs +18 -24
- package/fy-u-editor/index.mjs +1 -1
- package/fy-upload/index.mjs +74 -76
- package/guide-steps/index.mjs +11 -13
- package/iframe-window/index.mjs +9 -10
- package/image-cropper/index.mjs +28 -30
- package/image-preview/index.mjs +12 -14
- package/index.mjs +72 -72
- package/input-number/index.mjs +13 -14
- package/input-number-range/index.mjs +11 -12
- package/license/index.mjs +1 -1
- package/login/index.mjs +21 -26
- package/nav-bar/index.mjs +9 -10
- package/notice/index.mjs +9 -10
- package/package.json +1 -1
- package/page-index/index.mjs +12 -13
- package/page-index-top/index.mjs +23 -28
- package/page-skeleton/index.mjs +14 -14
- package/page-skeleton-new/index.mjs +8 -9
- package/pageable-table/index.mjs +172 -182
- package/pageable-view/index.mjs +15 -16
- package/picker-table-view/index.mjs +49 -58
- package/present-view/index.mjs +35 -39
- package/record-video/index.mjs +1 -1
- package/resize-observer/index.mjs +1 -1
- package/search/index.mjs +20 -22
- package/search-popover/index.mjs +1 -1
- package/sign/index.mjs +1 -1
- package/skeleton-panel/index.mjs +9 -10
- package/split-pane/index.mjs +36 -37
- package/static-pageable-table/index.mjs +11 -13
- package/sub-table/index.mjs +36 -49
- package/sub-table-plus/index.mjs +229 -18
- package/swiper/index.mjs +11 -12
- package/table-column/index.mjs +223 -3
- package/table-view/index.mjs +52 -60
- package/tabs-view/index.mjs +17 -19
- package/tag-render/index.mjs +16 -18
- package/text-ellipsis/index.mjs +9 -10
- package/toolbar/index.mjs +13 -14
- package/toolbar-button/index.mjs +13 -14
- package/verify/index.mjs +1 -1
- package/vue-cron/index.mjs +259 -267
- package/watermark/index.mjs +1 -1
- package/web-types.json +1 -1
- package/x-input-tag/index.mjs +21 -24
- package/chunks/FormItem.Bhsy_O2B.mjs +0 -372
- package/chunks/FyForm.DriwCJ7b.mjs +0 -765
- package/chunks/SignalAndMessage.BpjOoKhK.mjs +0 -92
- package/chunks/SubTablePlus.BH0IIv3X.mjs +0 -270
- package/chunks/TableColumn.BzivvXMF.mjs +0 -337
package/color-picker/index.mjs
CHANGED
|
@@ -1,88 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
import c from "element-ui/packages/color-picker/src/components/alpha-slider";
|
|
6
|
-
import p from "element-ui/packages/color-picker/src/components/predefine";
|
|
7
|
-
import d from "element-ui/src/utils/vue-popper";
|
|
8
|
-
import u from "element-ui/src/mixins/locale";
|
|
9
|
-
import { n } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
10
|
-
import m from "element-ui/packages/color-picker/src/color";
|
|
11
|
-
import f from "element-ui/src/utils/clickoutside";
|
|
12
|
-
const h = {
|
|
13
|
-
name: "ElColorPickerDropdown",
|
|
14
|
-
components: {
|
|
15
|
-
SvPanel: s,
|
|
16
|
-
HueSlider: a,
|
|
17
|
-
AlphaSlider: c,
|
|
18
|
-
Predefine: p
|
|
19
|
-
},
|
|
20
|
-
mixins: [d, u],
|
|
21
|
-
props: {
|
|
22
|
-
color: {
|
|
23
|
-
type: Object,
|
|
24
|
-
required: !0
|
|
25
|
-
},
|
|
26
|
-
showAlpha: Boolean,
|
|
27
|
-
predefine: Array
|
|
28
|
-
},
|
|
29
|
-
data() {
|
|
30
|
-
return {
|
|
31
|
-
customInput: ""
|
|
32
|
-
};
|
|
33
|
-
},
|
|
34
|
-
computed: {
|
|
35
|
-
currentColor() {
|
|
36
|
-
const o = this.$parent;
|
|
37
|
-
return !o.value && !o.showPanelColor ? "" : o.color.value;
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
watch: {
|
|
41
|
-
showPopper(o) {
|
|
42
|
-
o === !0 && this.$nextTick(() => {
|
|
43
|
-
const { sl: e, hue: r, alpha: t } = this.$refs;
|
|
44
|
-
e == null || e.update(), r == null || r.update(), t == null || t.update();
|
|
45
|
-
});
|
|
46
|
-
},
|
|
47
|
-
currentColor: {
|
|
48
|
-
immediate: !0,
|
|
49
|
-
handler(o) {
|
|
50
|
-
this.customInput = o;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
mounted() {
|
|
55
|
-
this.$parent.popperElm = this.popperElm = this.$el, this.referenceElm = this.$parent.$el;
|
|
56
|
-
},
|
|
57
|
-
methods: {
|
|
58
|
-
confirmValue() {
|
|
59
|
-
this.$emit("pick");
|
|
60
|
-
},
|
|
61
|
-
handleConfirm() {
|
|
62
|
-
this.color.fromString(this.customInput);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
var _ = function() {
|
|
67
|
-
var e = this, r = e._self._c;
|
|
68
|
-
return r("Transition", { attrs: { name: "el-zoom-in-top" }, on: { "after-leave": e.doDestroy } }, [r("div", { directives: [{ name: "show", rawName: "v-show", value: e.showPopper, expression: "showPopper" }], staticClass: "el-color-dropdown" }, [r("div", { staticClass: "el-color-dropdown__main-wrapper" }, [r("HueSlider", { ref: "hue", staticStyle: { float: "right" }, attrs: { color: e.color, vertical: "" } }), r("SvPanel", { ref: "sl", attrs: { color: e.color } })], 1), e.showAlpha ? r("AlphaSlider", { ref: "alpha", attrs: { color: e.color } }) : e._e(), e.predefine ? r("Predefine", { attrs: { color: e.color, colors: e.predefine } }) : e._e(), r("div", { staticClass: "el-color-dropdown__btns" }, [r("span", { staticClass: "el-color-dropdown__value" }, [r(l, { attrs: { "validate-event": !1, size: "mini" }, on: { blur: e.handleConfirm }, nativeOn: { keyup: function(t) {
|
|
69
|
-
return !t.type.indexOf("key") && e._k(t.keyCode, "enter", 13, t.key, "Enter") ? null : e.handleConfirm.apply(null, arguments);
|
|
70
|
-
} }, model: { value: e.customInput, callback: function(t) {
|
|
71
|
-
e.customInput = t;
|
|
72
|
-
}, expression: "customInput" } })], 1), r(i, { staticClass: "el-color-dropdown__link-btn", attrs: { size: "mini", type: "text" }, on: { click: function(t) {
|
|
73
|
-
return e.$emit("clear");
|
|
74
|
-
} } }, [e._v(" " + e._s(e.t("el.colorpicker.clear")) + " ")]), r(i, { staticClass: "el-color-dropdown__btn", attrs: { plain: "", size: "mini" }, on: { click: e.confirmValue } }, [e._v(" " + e._s(e.t("el.colorpicker.confirm")) + " ")])], 1)], 1)]);
|
|
75
|
-
}, v = [], k = /* @__PURE__ */ n(
|
|
76
|
-
h,
|
|
77
|
-
_,
|
|
78
|
-
v,
|
|
79
|
-
!1,
|
|
80
|
-
null,
|
|
81
|
-
null
|
|
82
|
-
);
|
|
83
|
-
const w = k.exports, C = {
|
|
1
|
+
import t from "element-ui/packages/color-picker/src/color";
|
|
2
|
+
import s from "element-ui/src/utils/clickoutside";
|
|
3
|
+
import { n as l } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
4
|
+
const n = {
|
|
84
5
|
name: "ColorPicker",
|
|
85
|
-
directives: { Clickoutside:
|
|
6
|
+
directives: { Clickoutside: s },
|
|
86
7
|
props: {
|
|
87
8
|
popperClass: String,
|
|
88
9
|
predefine: Array,
|
|
@@ -101,22 +22,22 @@ const w = k.exports, C = {
|
|
|
101
22
|
},
|
|
102
23
|
data() {
|
|
103
24
|
return {
|
|
104
|
-
color: new
|
|
25
|
+
color: new t({ enableAlpha: !1 }),
|
|
105
26
|
showPicker: !1
|
|
106
27
|
};
|
|
107
28
|
},
|
|
108
29
|
watch: {
|
|
109
30
|
value: {
|
|
110
31
|
immediate: !0,
|
|
111
|
-
handler(
|
|
112
|
-
|
|
32
|
+
handler(i) {
|
|
33
|
+
i && i !== this.color.value && this.color.fromString(i);
|
|
113
34
|
}
|
|
114
35
|
},
|
|
115
36
|
visible: {
|
|
116
37
|
immediate: !0,
|
|
117
|
-
async handler(
|
|
38
|
+
async handler(i) {
|
|
118
39
|
var e;
|
|
119
|
-
|
|
40
|
+
i ? (await this.$nextTick(), this.$refs.dropdown.referenceElm = this.anchor) : (e = this.$refs.dropdown) == null || e.doDestroy(!0), this.showPicker = i;
|
|
120
41
|
}
|
|
121
42
|
}
|
|
122
43
|
},
|
|
@@ -127,8 +48,8 @@ const w = k.exports, C = {
|
|
|
127
48
|
clearValue() {
|
|
128
49
|
this.$emit("clear"), this.hide();
|
|
129
50
|
},
|
|
130
|
-
emitInput(
|
|
131
|
-
this.$emit("input",
|
|
51
|
+
emitInput(i) {
|
|
52
|
+
this.$emit("input", i.value);
|
|
132
53
|
},
|
|
133
54
|
onClickOutside() {
|
|
134
55
|
this.hideOnClickOutside && this.hide();
|
|
@@ -138,20 +59,20 @@ const w = k.exports, C = {
|
|
|
138
59
|
}
|
|
139
60
|
}
|
|
140
61
|
};
|
|
141
|
-
var
|
|
142
|
-
var e = this,
|
|
143
|
-
return
|
|
144
|
-
e.showPicker =
|
|
62
|
+
var a = function() {
|
|
63
|
+
var e = this, o = e._self._c;
|
|
64
|
+
return o("ElColorPickerDropdown", { directives: [{ name: "clickoutside", rawName: "v-clickoutside", value: e.onClickOutside, expression: "onClickOutside" }], ref: "dropdown", class: ["el-color-picker__panel", e.popperClass || ""], attrs: { offset: e.offset, "append-to-body": e.appendToBody, color: e.color, predefine: e.predefine }, on: { pick: e.confirmValue, clear: e.clearValue }, model: { value: e.showPicker, callback: function(r) {
|
|
65
|
+
e.showPicker = r;
|
|
145
66
|
}, expression: "showPicker" } });
|
|
146
|
-
},
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
67
|
+
}, c = [], d = /* @__PURE__ */ l(
|
|
68
|
+
n,
|
|
69
|
+
a,
|
|
70
|
+
c,
|
|
150
71
|
!1,
|
|
151
72
|
null,
|
|
152
73
|
null
|
|
153
74
|
);
|
|
154
|
-
const
|
|
75
|
+
const f = d.exports;
|
|
155
76
|
export {
|
|
156
|
-
|
|
77
|
+
f as default
|
|
157
78
|
};
|
package/confirm-button/index.mjs
CHANGED
package/confirmable/index.mjs
CHANGED
package/data-box/index.mjs
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import r from "element-ui/lib/row";
|
|
4
|
-
import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
5
|
-
const e = {
|
|
1
|
+
import { n as o } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
2
|
+
const i = {
|
|
6
3
|
name: "DataBox",
|
|
7
4
|
props: {
|
|
8
5
|
option: {
|
|
@@ -26,22 +23,22 @@ const e = {
|
|
|
26
23
|
}
|
|
27
24
|
}
|
|
28
25
|
};
|
|
29
|
-
var
|
|
26
|
+
var r = function() {
|
|
30
27
|
var n = this, a = n._self._c;
|
|
31
|
-
return a("div", { staticClass: "data-box" }, [a(
|
|
32
|
-
return a(
|
|
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) {
|
|
33
30
|
t.click && t.click(t);
|
|
34
|
-
} } }, [a("div", { staticClass: "item-icon", style: { backgroundColor: t.color } }, [a("i", { class: t.icon })]), a("div", { staticClass: "item-info" }, [a(
|
|
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)])])]);
|
|
35
32
|
}), 1)], 1);
|
|
36
|
-
},
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
33
|
+
}, c = [], l = /* @__PURE__ */ o(
|
|
34
|
+
i,
|
|
35
|
+
r,
|
|
36
|
+
c,
|
|
40
37
|
!1,
|
|
41
38
|
null,
|
|
42
39
|
null
|
|
43
40
|
);
|
|
44
|
-
const
|
|
41
|
+
const u = l.exports;
|
|
45
42
|
export {
|
|
46
|
-
|
|
43
|
+
u as default
|
|
47
44
|
};
|
package/data-card/index.mjs
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import { n as e } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
4
|
-
const c = {
|
|
1
|
+
import { n as s } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
2
|
+
const e = {
|
|
5
3
|
name: "DataCard",
|
|
6
4
|
props: {
|
|
7
5
|
option: {
|
|
@@ -28,22 +26,22 @@ const c = {
|
|
|
28
26
|
}
|
|
29
27
|
}
|
|
30
28
|
};
|
|
31
|
-
var
|
|
29
|
+
var n = function() {
|
|
32
30
|
var t = this, r = t._self._c;
|
|
33
|
-
return r("div", { staticClass: "data-card" }, [r(
|
|
34
|
-
return r(
|
|
31
|
+
return r("div", { staticClass: "data-card" }, [r("ElRow", { attrs: { span: 24 } }, t._l(t.data, function(o, a) {
|
|
32
|
+
return r("ElCol", { key: a, attrs: { md: t.span, xs: 24, sm: 12 } }, [r("div", { staticClass: "item" }, [r("a", { attrs: { href: o.href, target: o.target }, on: { click: function(d) {
|
|
35
33
|
o.click && o.click(o);
|
|
36
34
|
} } }, [r("img", { staticClass: "item-img", attrs: { src: o.src, alt: "" } }), r("div", { staticClass: "item-text", style: { backgroundColor: t.bgText } }, [r("h3", { style: { color: t.colorText } }, [t._v(t._s(o.name))]), r("p", { style: { color: t.colorText } }, [t._v(t._s(o.text))])])])])]);
|
|
37
35
|
}), 1)], 1);
|
|
38
|
-
},
|
|
36
|
+
}, c = [], l = /* @__PURE__ */ s(
|
|
37
|
+
e,
|
|
38
|
+
n,
|
|
39
39
|
c,
|
|
40
|
-
l,
|
|
41
|
-
i,
|
|
42
40
|
!1,
|
|
43
41
|
null,
|
|
44
42
|
null
|
|
45
43
|
);
|
|
46
|
-
const
|
|
44
|
+
const _ = l.exports;
|
|
47
45
|
export {
|
|
48
|
-
|
|
46
|
+
_ as default
|
|
49
47
|
};
|
package/data-card-text/index.mjs
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import o from "
|
|
2
|
-
|
|
3
|
-
import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
4
|
-
const _ = {
|
|
1
|
+
import { n as o } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
2
|
+
const e = {
|
|
5
3
|
name: "DataCardText",
|
|
6
4
|
props: {
|
|
7
5
|
option: {
|
|
@@ -31,22 +29,22 @@ const _ = {
|
|
|
31
29
|
}
|
|
32
30
|
}
|
|
33
31
|
};
|
|
34
|
-
var
|
|
32
|
+
var c = function() {
|
|
35
33
|
var t = this, n = t._self._c;
|
|
36
|
-
return n("div", { staticClass: "data-card-text" }, [n(
|
|
37
|
-
return n(
|
|
34
|
+
return n("div", { staticClass: "data-card-text" }, [n("ElRow", { attrs: { span: 24 } }, t._l(t.data, function(a, r) {
|
|
35
|
+
return n("ElCol", { key: r, attrs: { md: t.span, xs: 24, sm: 12 } }, [n("div", { staticClass: "item" }, [n("a", { attrs: { href: a.path ? "javascript:;" : a.href, target: a.path ? "" : a.target }, on: { click: function(p) {
|
|
38
36
|
return t.itemClick(a);
|
|
39
37
|
} } }, [n("div", { staticClass: "item-header" }, [t._v(" " + t._s(a.title) + " ")]), a.content ? n("div", { staticClass: "item-content" }, [t._v(t._s(a.content))]) : t._e(), a.name || a.date ? n("div", { staticClass: "item-footer" }, [n("span", [t._v(t._s(a.name))]), n("span", [t._v(t._s(a.date))])]) : t._e()])])]);
|
|
40
38
|
}), 1)], 1);
|
|
41
|
-
}, i = [], l = /* @__PURE__ */
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
}, i = [], l = /* @__PURE__ */ o(
|
|
40
|
+
e,
|
|
41
|
+
c,
|
|
44
42
|
i,
|
|
45
43
|
!1,
|
|
46
44
|
null,
|
|
47
45
|
null
|
|
48
46
|
);
|
|
49
|
-
const
|
|
47
|
+
const d = l.exports;
|
|
50
48
|
export {
|
|
51
|
-
|
|
49
|
+
d as default
|
|
52
50
|
};
|
package/data-display/index.mjs
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
import i from "
|
|
3
|
-
|
|
4
|
-
import { n as e } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
5
|
-
const c = {
|
|
1
|
+
import o from "../count-up/index.mjs";
|
|
2
|
+
import { n as i } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
3
|
+
const r = {
|
|
6
4
|
name: "DataDisplay",
|
|
7
5
|
components: {
|
|
8
|
-
CountUp:
|
|
6
|
+
CountUp: o
|
|
9
7
|
},
|
|
10
8
|
props: {
|
|
11
9
|
option: {
|
|
@@ -32,22 +30,22 @@ const c = {
|
|
|
32
30
|
}
|
|
33
31
|
}
|
|
34
32
|
};
|
|
35
|
-
var
|
|
36
|
-
var t = this,
|
|
37
|
-
return
|
|
38
|
-
return
|
|
39
|
-
|
|
40
|
-
} } }, [
|
|
33
|
+
var e = function() {
|
|
34
|
+
var t = this, n = t._self._c;
|
|
35
|
+
return n("div", { staticClass: "avue-data-display" }, [n("ElRow", { attrs: { span: 24 } }, t._l(t.data, function(a, s) {
|
|
36
|
+
return n("ElCol", { key: s, attrs: { md: t.span, xs: 12, sm: 12 } }, [n("div", { staticClass: "item", style: { color: t.color } }, [n("a", { attrs: { href: a.href, target: a.target }, on: { click: function(d) {
|
|
37
|
+
a.click && a.click(a);
|
|
38
|
+
} } }, [n("CountUp", { staticClass: "count", attrs: { animation: a.animation || t.animation, decimals: a.decimals || t.decimals, end: a.count } }), n("span", { staticClass: "splitLine" }), n("div", { staticClass: "title" }, [t._v(t._s(a.title))])], 1)])]);
|
|
41
39
|
}), 1)], 1);
|
|
42
|
-
},
|
|
40
|
+
}, c = [], l = /* @__PURE__ */ i(
|
|
41
|
+
r,
|
|
42
|
+
e,
|
|
43
43
|
c,
|
|
44
|
-
l,
|
|
45
|
-
p,
|
|
46
44
|
!1,
|
|
47
45
|
null,
|
|
48
46
|
null
|
|
49
47
|
);
|
|
50
|
-
const
|
|
48
|
+
const _ = l.exports;
|
|
51
49
|
export {
|
|
52
|
-
|
|
50
|
+
_ as default
|
|
53
51
|
};
|
package/data-icons/index.mjs
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import r from "element-ui/lib/row";
|
|
4
|
-
import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
5
|
-
const e = {
|
|
1
|
+
import { n as o } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
2
|
+
const i = {
|
|
6
3
|
name: "DataIcons",
|
|
7
4
|
props: {
|
|
8
5
|
option: {
|
|
@@ -32,22 +29,22 @@ const e = {
|
|
|
32
29
|
}
|
|
33
30
|
}
|
|
34
31
|
};
|
|
35
|
-
var
|
|
32
|
+
var c = function() {
|
|
36
33
|
var t = this, n = t._self._c;
|
|
37
|
-
return n("div", { staticClass: "data-icons" }, [n(
|
|
38
|
-
return [n(
|
|
39
|
-
|
|
40
|
-
} } }, [n("div", { staticClass: "item-icon", style: { color: t.color } }, [n("i", { class:
|
|
34
|
+
return n("div", { staticClass: "data-icons" }, [n("ElRow", { attrs: { span: 24 } }, [t._l(t.data, function(a, s) {
|
|
35
|
+
return [n("ElCol", { key: s, attrs: { xs: 12, sm: 6, md: t.span } }, [n("div", { staticClass: "item", class: [{ "item--easy": t.discount }] }, [n("a", { attrs: { href: a.href, target: a.target }, on: { click: function(d) {
|
|
36
|
+
a.click && a.click(a);
|
|
37
|
+
} } }, [n("div", { staticClass: "item-icon", style: { color: t.color } }, [n("i", { class: a.icon })]), n("div", { staticClass: "item-info" }, [n("span", [t._v(t._s(a.title))]), n("CountUp", { staticClass: "count", style: { color: t.color }, attrs: { animation: a.animation || t.animation, decimals: a.decimals || t.decimals, end: a.count } })], 1)])])])];
|
|
41
38
|
})], 2)], 1);
|
|
42
|
-
},
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
39
|
+
}, r = [], e = /* @__PURE__ */ o(
|
|
40
|
+
i,
|
|
41
|
+
c,
|
|
42
|
+
r,
|
|
46
43
|
!1,
|
|
47
44
|
null,
|
|
48
45
|
null
|
|
49
46
|
);
|
|
50
|
-
const
|
|
47
|
+
const u = e.exports;
|
|
51
48
|
export {
|
|
52
|
-
|
|
49
|
+
u as default
|
|
53
50
|
};
|
package/data-imgtext/index.mjs
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import i from "element-ui/lib/row";
|
|
4
|
-
import { n as l } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
5
|
-
const _ = {
|
|
1
|
+
import { n as o } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
2
|
+
const c = {
|
|
6
3
|
name: "DataImgtext",
|
|
7
4
|
props: {
|
|
8
5
|
option: {
|
|
@@ -23,24 +20,24 @@ const _ = {
|
|
|
23
20
|
}
|
|
24
21
|
}
|
|
25
22
|
};
|
|
26
|
-
var
|
|
27
|
-
var
|
|
28
|
-
return t("div", { staticClass: "avue-data-imgtext" }, [t(
|
|
29
|
-
return t(
|
|
30
|
-
|
|
31
|
-
} } }, [t("div", { staticClass: "item-header" }, [t("img", { attrs: { src:
|
|
32
|
-
return t("li", { key:
|
|
23
|
+
var i = function() {
|
|
24
|
+
var a = this, t = a._self._c;
|
|
25
|
+
return t("div", { staticClass: "avue-data-imgtext" }, [t("ElRow", { attrs: { span: 24 } }, a._l(a.data, function(s, r) {
|
|
26
|
+
return t("ElCol", { key: r, attrs: { md: a.span, xs: 24, sm: 12 } }, [t("div", { staticClass: "item", style: { color: a.color } }, [t("a", { attrs: { href: s.href, target: s.target }, on: { click: function(n) {
|
|
27
|
+
s.click && s.click(s);
|
|
28
|
+
} } }, [t("div", { staticClass: "item-header" }, [t("img", { attrs: { src: s.imgsrc, alt: "" } })]), t("div", { staticClass: "item-content" }, [t("span", [a._v(a._s(s.title))]), t("p", [a._v(a._s(s.content))])]), t("div", { staticClass: "item-footer" }, [t("div", { staticClass: "time" }, [t("span", [a._v(a._s(s.time))])]), t("div", { staticClass: "imgs" }, [t("ul", a._l(s.headimg, function(n, e) {
|
|
29
|
+
return t("li", { key: e }, [t("ElTooltip", { attrs: { effect: "dark", content: n.name, placement: "top-start" } }, [t("img", { attrs: { src: n.src, alt: "" } })])], 1);
|
|
33
30
|
}), 0)])])])])]);
|
|
34
31
|
}), 1)], 1);
|
|
35
|
-
},
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
32
|
+
}, l = [], p = /* @__PURE__ */ o(
|
|
33
|
+
c,
|
|
34
|
+
i,
|
|
35
|
+
l,
|
|
39
36
|
!1,
|
|
40
37
|
null,
|
|
41
38
|
null
|
|
42
39
|
);
|
|
43
|
-
const
|
|
40
|
+
const f = p.exports;
|
|
44
41
|
export {
|
|
45
|
-
|
|
42
|
+
f as default
|
|
46
43
|
};
|
package/data-operatext/index.mjs
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import { n as o } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
4
|
-
const c = {
|
|
1
|
+
import { n as i } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
2
|
+
const r = {
|
|
5
3
|
name: "DataOperatext",
|
|
6
4
|
props: {
|
|
7
5
|
option: {
|
|
@@ -19,24 +17,24 @@ const c = {
|
|
|
19
17
|
}
|
|
20
18
|
}
|
|
21
19
|
};
|
|
22
|
-
var
|
|
23
|
-
var
|
|
24
|
-
return t("div", { staticClass: "avue-data-operatext" }, [t(
|
|
25
|
-
return t(
|
|
26
|
-
|
|
27
|
-
} } }, [t("div", { staticClass: "item-header", style: { backgroundColor:
|
|
28
|
-
return t("div", { key:
|
|
20
|
+
var c = function() {
|
|
21
|
+
var a = this, t = a._self._c;
|
|
22
|
+
return t("div", { staticClass: "avue-data-operatext" }, [t("ElRow", { attrs: { span: 24 } }, a._l(a.data, function(s, l) {
|
|
23
|
+
return t("ElCol", { key: l, attrs: { md: a.span, xs: 24, sm: 12 } }, [t("div", { staticClass: "item" }, [t("a", { attrs: { href: s.href }, on: { click: function(e) {
|
|
24
|
+
s.click && s.click(s);
|
|
25
|
+
} } }, [t("div", { staticClass: "item-header", style: { backgroundColor: s.color, backgroundImage: `url(${s.colorImg})` } }, [t("span", { staticClass: "item-title" }, [a._v(a._s(s.title))]), t("span", { staticClass: "item-subtitle" }, [a._v(a._s(s.subtitle))])]), t("div", { staticClass: "item-content" }, [t("div", { staticClass: "item-img" }, [t("img", { attrs: { src: s.img, alt: "" } })]), t("div", { staticClass: "item-list" }, a._l(s.list, function(e, n) {
|
|
26
|
+
return t("div", { key: n, staticClass: "item-row" }, [t("span", { staticClass: "item-label" }, [a._v(a._s(e.label))]), t("span", { staticClass: "item-value" }, [a._v(a._s(e.value))])]);
|
|
29
27
|
}), 0)])])])]);
|
|
30
28
|
}), 1)], 1);
|
|
31
|
-
},
|
|
29
|
+
}, o = [], _ = /* @__PURE__ */ i(
|
|
30
|
+
r,
|
|
32
31
|
c,
|
|
33
|
-
|
|
34
|
-
p,
|
|
32
|
+
o,
|
|
35
33
|
!1,
|
|
36
34
|
null,
|
|
37
35
|
null
|
|
38
36
|
);
|
|
39
|
-
const
|
|
37
|
+
const d = _.exports;
|
|
40
38
|
export {
|
|
41
|
-
|
|
39
|
+
d as default
|
|
42
40
|
};
|
package/data-panel/index.mjs
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import i from "../
|
|
2
|
-
|
|
3
|
-
import e from "element-ui/lib/row";
|
|
4
|
-
import { n as r } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
5
|
-
const c = {
|
|
1
|
+
import { n as i } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
2
|
+
const o = {
|
|
6
3
|
name: "DataPanel",
|
|
7
4
|
props: {
|
|
8
5
|
option: {
|
|
@@ -26,22 +23,22 @@ const c = {
|
|
|
26
23
|
}
|
|
27
24
|
}
|
|
28
25
|
};
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
return t("div", { staticClass: "avue-data-panel" }, [t(
|
|
32
|
-
return t(
|
|
33
|
-
|
|
34
|
-
} } }, [t("div", { staticClass: "item" }, [t("div", { staticClass: "item-icon" }, [t("i", { class:
|
|
26
|
+
var e = function() {
|
|
27
|
+
var n = this, t = n._self._c;
|
|
28
|
+
return t("div", { staticClass: "avue-data-panel" }, [t("ElRow", { attrs: { span: 24 } }, n._l(n.data, function(a, s) {
|
|
29
|
+
return t("ElCol", { key: s, attrs: { md: n.span, xs: 24, sm: 12 } }, [t("a", { attrs: { href: a.href }, on: { click: function(d) {
|
|
30
|
+
a.click && a.click(a);
|
|
31
|
+
} } }, [t("div", { staticClass: "item" }, [t("div", { staticClass: "item-icon" }, [t("i", { class: a.icon, style: { color: a.color } })]), t("div", { staticClass: "item-info" }, [t("div", { staticClass: "item-title" }, [n._v(n._s(a.title))]), t("CountUp", { staticClass: "item-count", attrs: { animation: a.animation || n.animation, decimals: a.decimals || n.decimals, end: a.count } })], 1)])])]);
|
|
35
32
|
}), 1)], 1);
|
|
36
|
-
},
|
|
33
|
+
}, c = [], l = /* @__PURE__ */ i(
|
|
34
|
+
o,
|
|
35
|
+
e,
|
|
37
36
|
c,
|
|
38
|
-
l,
|
|
39
|
-
p,
|
|
40
37
|
!1,
|
|
41
38
|
null,
|
|
42
39
|
null
|
|
43
40
|
);
|
|
44
|
-
const
|
|
41
|
+
const u = l.exports;
|
|
45
42
|
export {
|
|
46
|
-
|
|
43
|
+
u as default
|
|
47
44
|
};
|
package/data-pay/index.mjs
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import c from "element-ui/lib/col";
|
|
4
|
-
import e from "element-ui/lib/row";
|
|
5
|
-
import { n as _ } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
6
|
-
const p = {
|
|
1
|
+
import { n as i } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
|
|
2
|
+
const r = {
|
|
7
3
|
name: "DataPay",
|
|
8
4
|
props: {
|
|
9
5
|
option: {
|
|
@@ -27,26 +23,26 @@ const p = {
|
|
|
27
23
|
}
|
|
28
24
|
}
|
|
29
25
|
};
|
|
30
|
-
var
|
|
31
|
-
var
|
|
32
|
-
return
|
|
33
|
-
return
|
|
26
|
+
var c = function() {
|
|
27
|
+
var s = this, t = s._self._c;
|
|
28
|
+
return t("div", { staticClass: "avue-data-pay" }, [t("ElRow", { attrs: { span: 24 } }, s._l(s.data, function(a, o) {
|
|
29
|
+
return t("ElCol", { key: o, attrs: { md: s.span, xs: 24, sm: 12 } }, [t("div", { staticClass: "item" }, [t("div", { staticClass: "top", style: { backgroundColor: a.color } }), t("div", { staticClass: "header" }, [t("p", { staticClass: "title" }, [s._v(" " + s._s(a.title) + " ")]), t("img", { staticClass: "img", attrs: { src: a.src, alt: "" } }), a.subtitle ? [t("p", { staticClass: "subtitle", style: { color: a.color } }, [s._v(" " + s._s(a.subtitle) + " ")])] : s._e(), a.money || a.dismoney ? [t("p", { staticClass: "money", style: { color: a.color } }, [t("span", [s._v("¥")]), t("CountUp", { staticClass: "b", attrs: { decimals: a.decimals || s.decimals, animation: a.animation || s.animation, end: a.dismoney } }), t("s", [s._v(s._s(a.money))]), t("em", [s._v(s._s(a.tip))])], 1)] : s._e(), t("div", { staticClass: "line" }), t("a", { staticClass: "btn", style: { backgroundColor: a.color }, attrs: { href: a.href }, on: { click: function(n) {
|
|
34
30
|
a.click && a.click(a);
|
|
35
|
-
} } }, [
|
|
36
|
-
return
|
|
37
|
-
return [
|
|
38
|
-
}, proxy: !0 }], null, !0) }, [
|
|
31
|
+
} } }, [s._v(s._s(a.subtext))])], 2), t("div", { staticClass: "list" }, s._l(a.list, function(n, l) {
|
|
32
|
+
return t("div", { key: l, staticClass: "list-item" }, [n.check ? t("i", { staticClass: "list-item-icon list-item--check", style: { color: a.color } }, [s._v("√")]) : t("i", { staticClass: "list-item-icon list-item--no" }, [s._v("x")]), t("a", { attrs: { href: n.href ? n.href : "javascript:void(0);" } }, [t("ElTooltip", { attrs: { effect: "dark", disabled: !n.tip, placement: "top" }, scopedSlots: s._u([{ key: "content", fn: function() {
|
|
33
|
+
return [t("div", { domProps: { innerHTML: s._s(n.tip) } })];
|
|
34
|
+
}, proxy: !0 }], null, !0) }, [t("span", { class: { "list-item--link": n.href } }, [s._v(s._s(n.title))])])], 1)]);
|
|
39
35
|
}), 0)])]);
|
|
40
36
|
}), 1)], 1);
|
|
41
|
-
},
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
37
|
+
}, e = [], d = /* @__PURE__ */ i(
|
|
38
|
+
r,
|
|
39
|
+
c,
|
|
40
|
+
e,
|
|
45
41
|
!1,
|
|
46
42
|
null,
|
|
47
43
|
null
|
|
48
44
|
);
|
|
49
|
-
const
|
|
45
|
+
const u = d.exports;
|
|
50
46
|
export {
|
|
51
|
-
|
|
47
|
+
u as default
|
|
52
48
|
};
|