@web-utils/component 4.0.14 → 4.0.15

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