@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,5 +1,7 @@
1
- import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
- const i = {
1
+ import i from "element-ui/lib/col";
2
+ import c from "element-ui/lib/row";
3
+ import { n as o } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
4
+ const p = {
3
5
  name: "DataPrice",
4
6
  props: {
5
7
  option: {
@@ -17,24 +19,24 @@ const i = {
17
19
  }
18
20
  }
19
21
  };
20
- var l = function() {
21
- var t = this, a = t._self._c;
22
- return a("div", { staticClass: "data-price" }, [a("ElRow", { attrs: { span: 24 } }, [t._l(t.data, function(s, r) {
23
- return [a("ElCol", { key: r, attrs: { xs: 12, sm: 6, md: t.span } }, [a("div", { staticClass: "item item--active" }, [a("a", { attrs: { href: s.href, target: s.target }, on: { click: function(n) {
24
- s.click && s.click(s);
25
- } } }, [a("div", { staticClass: "title" }, [t._v(" " + t._s(s.title) + " ")]), a("div", { staticClass: "body" }, [a("span", { staticClass: "price" }, [t._v(t._s(s.price))]), a("span", { staticClass: "append" }, [t._v(t._s(s.append))])]), a("div", { staticClass: "list" }, t._l(s.list, function(n, e) {
26
- return a("p", { key: e }, [t._v(" " + t._s(n) + " ")]);
22
+ var _ = function() {
23
+ var t = this, s = t._self._c;
24
+ return s("div", { staticClass: "data-price" }, [s(c, { attrs: { span: 24 } }, [t._l(t.data, function(a, r) {
25
+ return [s(i, { key: r, attrs: { xs: 12, sm: 6, md: t.span } }, [s("div", { staticClass: "item item--active" }, [s("a", { attrs: { href: a.href, target: a.target }, on: { click: function(n) {
26
+ a.click && a.click(a);
27
+ } } }, [s("div", { staticClass: "title" }, [t._v(" " + t._s(a.title) + " ")]), s("div", { staticClass: "body" }, [s("span", { staticClass: "price" }, [t._v(t._s(a.price))]), s("span", { staticClass: "append" }, [t._v(t._s(a.append))])]), s("div", { staticClass: "list" }, t._l(a.list, function(n, e) {
28
+ return s("p", { key: e }, [t._v(" " + t._s(n) + " ")]);
27
29
  }), 0)])])])];
28
30
  })], 2)], 1);
29
- }, o = [], p = /* @__PURE__ */ c(
30
- i,
31
+ }, l = [], d = /* @__PURE__ */ o(
32
+ p,
33
+ _,
31
34
  l,
32
- o,
33
35
  !1,
34
36
  null,
35
37
  null
36
38
  );
37
- const v = p.exports;
39
+ const C = d.exports;
38
40
  export {
39
- v as default
41
+ C as default
40
42
  };
@@ -1,5 +1,9 @@
1
- import { n as o } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
- const r = {
1
+ import o from "element-ui/lib/progress";
2
+ import r from "../count-up/index.mjs";
3
+ import e from "element-ui/lib/col";
4
+ import i from "element-ui/lib/row";
5
+ import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
6
+ const p = {
3
7
  name: "DataProgress",
4
8
  props: {
5
9
  option: {
@@ -23,22 +27,22 @@ const r = {
23
27
  }
24
28
  }
25
29
  };
26
- var e = function() {
27
- var s = this, a = s._self._c;
28
- return a("div", { staticClass: "data-progress" }, [a("ElRow", { attrs: { span: 24 } }, s._l(s.data, function(t, n) {
29
- return a("ElCol", { key: n, attrs: { md: s.span, xs: 24, sm: 12 } }, [a("div", { staticClass: "item" }, [a("a", { attrs: { href: t.href, target: t.target }, on: { click: function(d) {
30
+ var l = function() {
31
+ var a = this, n = a._self._c;
32
+ return n("div", { staticClass: "data-progress" }, [n(i, { attrs: { span: 24 } }, a._l(a.data, function(t, s) {
33
+ return n(e, { key: s, attrs: { md: a.span, xs: 24, sm: 12 } }, [n("div", { staticClass: "item" }, [n("a", { attrs: { href: t.href, target: t.target }, on: { click: function(u) {
30
34
  t.click && t.click(t);
31
- } } }, [a("div", { staticClass: "item-header" }, [a("CountUp", { staticClass: "item-count", attrs: { animation: t.animation || s.animation, decimals: t.decimals || s.decimals, end: t.count } }), a("div", { staticClass: "item-title", domProps: { textContent: s._s(t.title) } })], 1), a("ElProgress", { attrs: { "stroke-width": 15, percentage: t.count, color: t.color, "show-text": !1 } })], 1)])]);
35
+ } } }, [n("div", { staticClass: "item-header" }, [n(r, { staticClass: "item-count", attrs: { animation: t.animation || a.animation, decimals: t.decimals || a.decimals, end: t.count } }), n("div", { staticClass: "item-title", domProps: { textContent: a._s(t.title) } })], 1), n(o, { attrs: { "stroke-width": 15, percentage: t.count, color: t.color, "show-text": !1 } })], 1)])]);
32
36
  }), 1)], 1);
33
- }, i = [], c = /* @__PURE__ */ o(
34
- r,
35
- e,
36
- i,
37
+ }, _ = [], m = /* @__PURE__ */ c(
38
+ p,
39
+ l,
40
+ _,
37
41
  !1,
38
42
  null,
39
43
  null
40
44
  );
41
- const u = c.exports;
45
+ const k = m.exports;
42
46
  export {
43
- u as default
47
+ k as default
44
48
  };
@@ -1,5 +1,8 @@
1
- import { n as i } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
- const o = {
1
+ import o 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 = {
3
6
  name: "DataRotate",
4
7
  props: {
5
8
  option: {
@@ -23,22 +26,22 @@ const o = {
23
26
  }
24
27
  }
25
28
  };
26
- var e = function() {
27
- var s = this, t = s._self._c;
28
- return t("div", { staticClass: "avue-data-rotate" }, [t("ElRow", { attrs: { span: 24 } }, s._l(s.data, function(a, n) {
29
- return t("ElCol", { key: n, attrs: { md: s.span, xs: 24, sm: 12 } }, [t("div", { staticClass: "item", style: { backgroundColor: a.color } }, [t("div", { staticClass: "item-box" }, [t("CountUp", { staticClass: "item-count", attrs: { decimals: a.decimals || s.decimals, animation: a.animation || s.animation, end: a.count } }), t("span", { staticClass: "item-title" }, [s._v(s._s(a.title))]), t("i", { staticClass: "item-icon", class: a.icon })], 1), t("a", { attrs: { href: a.href }, on: { click: function(d) {
29
+ var l = function() {
30
+ var n = this, t = n._self._c;
31
+ return t("div", { staticClass: "avue-data-rotate" }, [t(r, { attrs: { span: 24 } }, n._l(n.data, function(a, s) {
32
+ return t(i, { key: s, attrs: { md: n.span, xs: 24, sm: 12 } }, [t("div", { staticClass: "item", style: { backgroundColor: a.color } }, [t("div", { staticClass: "item-box" }, [t(o, { staticClass: "item-count", attrs: { decimals: a.decimals || n.decimals, animation: a.animation || n.animation, end: a.count } }), t("span", { staticClass: "item-title" }, [n._v(n._s(a.title))]), t("i", { staticClass: "item-icon", class: a.icon })], 1), t("a", { attrs: { href: a.href }, on: { click: function(u) {
30
33
  a.click && a.click(a);
31
- } } }, [t("p", { staticClass: "item-more" }, [s._v("更多"), t("i", { staticClass: "el-icon-arrow-right" })])])])]);
34
+ } } }, [t("p", { staticClass: "item-more" }, [n._v("更多"), t("i", { staticClass: "el-icon-arrow-right" })])])])]);
32
35
  }), 1)], 1);
33
- }, c = [], r = /* @__PURE__ */ i(
34
- o,
35
- e,
36
+ }, p = [], m = /* @__PURE__ */ e(
36
37
  c,
38
+ l,
39
+ p,
37
40
  !1,
38
41
  null,
39
42
  null
40
43
  );
41
- const m = r.exports;
44
+ const h = m.exports;
42
45
  export {
43
- m as default
46
+ h as default
44
47
  };
@@ -1,6 +1,9 @@
1
- import { f as i } from "../chunks/index.B2TRddqf.mjs";
2
- import { n } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
- const o = {
1
+ import l from "element-ui/lib/button";
2
+ import n from "../pageable-table/index.mjs";
3
+ import o from "../element-dialog/index.mjs";
4
+ import { f as r } from "../chunks/index.Cn7aq-Et.mjs";
5
+ import { n as s } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
6
+ const a = {
4
7
  name: "DataTablePicker",
5
8
  props: {
6
9
  visible: Boolean,
@@ -32,7 +35,7 @@ const o = {
32
35
  };
33
36
  },
34
37
  methods: {
35
- filterTableColumnProperties: i,
38
+ filterTableColumnProperties: r,
36
39
  selectionChange(t) {
37
40
  this.selectedRows = t;
38
41
  },
@@ -51,22 +54,22 @@ const o = {
51
54
  }
52
55
  }
53
56
  };
54
- var r = function() {
55
- var e = this, l = e._self._c;
56
- return l("ElementDialog", { ref: "dialog", attrs: { visible: e.visible, title: e.title, width: e.width, height: e.height, embed: "", "flex-column": "" }, on: { close: e.close }, scopedSlots: e._u([{ key: "default", fn: function() {
57
- return [e._t("search-form"), l("PageableTable", { ref: "pageableTable", staticStyle: { height: "60vh" }, attrs: { "highlight-current-row": "", "hide-on-single-page": "", model: e.model, columns: e.columns, api: e.api, "row-class-name": "pointer", multiple: e.multiple }, on: { "selection-change": e.selectionChange, "row-click": e.toggleRowSelection, "current-change": e.currentChange } }, [e._t("default")], 2)];
57
+ var c = function() {
58
+ var e = this, i = e._self._c;
59
+ return i(o, { ref: "dialog", attrs: { visible: e.visible, title: e.title, width: e.width, height: e.height, embed: "", "flex-column": "" }, on: { close: e.close }, scopedSlots: e._u([{ key: "default", fn: function() {
60
+ return [e._t("search-form"), i(n, { ref: "pageableTable", staticStyle: { height: "60vh" }, attrs: { "highlight-current-row": "", "hide-on-single-page": "", model: e.model, columns: e.columns, api: e.api, "row-class-name": "pointer", multiple: e.multiple }, on: { "selection-change": e.selectionChange, "row-click": e.toggleRowSelection, "current-change": e.currentChange } }, [e._t("default")], 2)];
58
61
  }, proxy: !0 }, { key: "footer", fn: function() {
59
- return [l("ElButton", { attrs: { size: "mini", type: "primary" }, on: { click: e.confirm } }, [e._v(" 确 定 ")]), l("ElButton", { attrs: { size: "mini" }, on: { click: e.close } }, [e._v(" 关 闭 ")])];
62
+ return [i(l, { attrs: { size: "mini", type: "primary" }, on: { click: e.confirm } }, [e._v(" 确 定 ")]), i(l, { attrs: { size: "mini" }, on: { click: e.close } }, [e._v(" 关 闭 ")])];
60
63
  }, proxy: !0 }], null, !0) });
61
- }, s = [], a = /* @__PURE__ */ n(
62
- o,
63
- r,
64
- s,
64
+ }, u = [], m = /* @__PURE__ */ s(
65
+ a,
66
+ c,
67
+ u,
65
68
  !1,
66
69
  null,
67
70
  null
68
71
  );
69
- const h = a.exports;
72
+ const _ = m.exports;
70
73
  export {
71
- h as default
74
+ _ as default
72
75
  };
@@ -1,5 +1,8 @@
1
- import { n as o } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
- const i = {
1
+ import o 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 = {
3
6
  name: "DataTabs",
4
7
  props: {
5
8
  option: {
@@ -23,22 +26,22 @@ const i = {
23
26
  }
24
27
  }
25
28
  };
26
- var e = function() {
29
+ var l = function() {
27
30
  var t = this, a = t._self._c;
28
- return a("div", { staticClass: "avue-data-tabs" }, [a("ElRow", { attrs: { span: 24 } }, t._l(t.data, function(s, n) {
29
- return a("ElCol", { key: n, attrs: { md: t.span, xs: 24, sm: 12 } }, [a("div", { staticClass: "item", style: { background: s.color } }, [a("a", { attrs: { href: s.href, target: s.target }, on: { click: function(d) {
31
+ return a("div", { staticClass: "avue-data-tabs" }, [a(r, { attrs: { span: 24 } }, t._l(t.data, function(s, n) {
32
+ return a(i, { key: n, attrs: { md: t.span, xs: 24, sm: 12 } }, [a("div", { staticClass: "item", style: { background: s.color } }, [a("a", { attrs: { href: s.href, target: s.target }, on: { click: function(u) {
30
33
  s.click && s.click(s);
31
- } } }, [a("div", { staticClass: "item-header" }, [a("p", [t._v(t._s(s.title))]), a("span", [t._v(t._s(s.subtitle))])]), a("div", { staticClass: "item-body" }, [a("CountUp", { staticClass: "h2", attrs: { decimals: s.decimals || t.decimals, animation: s.animation || t.animation, end: s.count } })], 1), a("div", { staticClass: "item-footer" }, [a("span", [t._v(t._s(s.allcount))]), a("p", [t._v(t._s(s.text))])]), a("p", { staticClass: "item-tip" }, [t._v(t._s(s.key))])])])]);
34
+ } } }, [a("div", { staticClass: "item-header" }, [a("p", [t._v(t._s(s.title))]), a("span", [t._v(t._s(s.subtitle))])]), a("div", { staticClass: "item-body" }, [a(o, { staticClass: "h2", attrs: { decimals: s.decimals || t.decimals, animation: s.animation || t.animation, end: s.count } })], 1), a("div", { staticClass: "item-footer" }, [a("span", [t._v(t._s(s.allcount))]), a("p", [t._v(t._s(s.text))])]), a("p", { staticClass: "item-tip" }, [t._v(t._s(s.key))])])])]);
32
35
  }), 1)], 1);
33
- }, r = [], c = /* @__PURE__ */ o(
34
- i,
35
- e,
36
- r,
36
+ }, _ = [], p = /* @__PURE__ */ e(
37
+ c,
38
+ l,
39
+ _,
37
40
  !1,
38
41
  null,
39
42
  null
40
43
  );
41
- const _ = c.exports;
44
+ const C = p.exports;
42
45
  export {
43
- _ as default
46
+ C as default
44
47
  };
@@ -1,7 +1,9 @@
1
- import { isEmpty as a } from "@web-utils/core";
2
- import { d as l } from "../chunks/util.DqFv_pWg.mjs";
3
- import n from "vue";
4
- import { n as r } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
1
+ import a from "element-ui/lib/button";
2
+ import { F as n } from "../chunks/FyForm.DriwCJ7b.mjs";
3
+ import { isEmpty as l } from "@web-utils/core";
4
+ import { d as r } from "../chunks/util.DI42t5GU.mjs";
5
+ import c from "vue";
6
+ import { n as m } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
5
7
  const i = {
6
8
  name: "DialogForm",
7
9
  data() {
@@ -33,8 +35,8 @@ const i = {
33
35
  }
34
36
  },
35
37
  methods: {
36
- isEmpty: a,
37
- deepClone: l,
38
+ isEmpty: l,
39
+ deepClone: r,
38
40
  submit() {
39
41
  this.$refs.form.submit();
40
42
  },
@@ -62,28 +64,28 @@ const i = {
62
64
  }
63
65
  };
64
66
  i.showForm = (t) => {
65
- const e = n.extend(i), o = new e().$mount();
67
+ const e = c.extend(i), o = new e().$mount();
66
68
  return document.body.appendChild(o.$el), o.show(t), o;
67
69
  };
68
- const c = i;
69
- var d = function() {
70
+ const d = i;
71
+ var p = function() {
70
72
  var e = this, o = e._self._c;
71
73
  return e._self._setupProxy, o(e.dialogType, e._b({ tag: "Component", staticClass: "dialog-form", attrs: { visible: e.visible, "destroy-on-close": "", "before-close": e.beforeClose }, on: { "update:visible": function(s) {
72
74
  e.visible = s;
73
- } } }, "Component", e.dialog, !1), [o("FyForm", { ref: "form", attrs: { option: { ...e.deepClone(e.option), menuBtn: !1 }, status: e.disabled }, on: { "update:status": function(s) {
75
+ } } }, "Component", e.dialog, !1), [o(n, { ref: "form", attrs: { option: { ...e.deepClone(e.option), menuBtn: !1 }, status: e.disabled }, on: { "update:status": function(s) {
74
76
  e.disabled = s;
75
77
  }, submit: e.handleSubmit, "reset-change": e.close }, model: { value: e.data, callback: function(s) {
76
78
  e.data = s;
77
- }, expression: "data" } }), e.isEmpty(e.option.menuBtn, !0) ? o("span", { staticClass: "avue-dialog__footer", class: `avue-dialog__footer--${e.menuPosition}` }, [e.isEmpty(e.option.submitBtn, !0) ? o("ElButton", { attrs: { size: e.$AVUE.size, icon: e.option.submitIcon, loading: e.disabled, type: "primary" }, on: { click: e.submit } }, [e._v(e._s(e.option.submitText))]) : e._e(), e.isEmpty(e.option.emptyBtn, !0) ? o("ElButton", { attrs: { disabled: e.disabled, size: e.$AVUE.size, icon: e.option.emptyIcon }, on: { click: e.reset } }, [e._v(e._s(e.option.emptyText))]) : e._e()], 1) : e._e()], 1);
78
- }, m = [], u = /* @__PURE__ */ r(
79
- c,
79
+ }, expression: "data" } }), e.isEmpty(e.option.menuBtn, !0) ? o("span", { staticClass: "avue-dialog__footer", class: `avue-dialog__footer--${e.menuPosition}` }, [e.isEmpty(e.option.submitBtn, !0) ? o(a, { attrs: { size: e.$AVUE.size, icon: e.option.submitIcon, loading: e.disabled, type: "primary" }, on: { click: e.submit } }, [e._v(e._s(e.option.submitText))]) : e._e(), e.isEmpty(e.option.emptyBtn, !0) ? o(a, { attrs: { disabled: e.disabled, size: e.$AVUE.size, icon: e.option.emptyIcon }, on: { click: e.reset } }, [e._v(e._s(e.option.emptyText))]) : e._e()], 1) : e._e()], 1);
80
+ }, u = [], f = /* @__PURE__ */ m(
80
81
  d,
81
- m,
82
+ p,
83
+ u,
82
84
  !1,
83
85
  null,
84
86
  null
85
87
  );
86
- const _ = u.exports;
88
+ const C = f.exports;
87
89
  export {
88
- _ as default
90
+ C as default
89
91
  };
@@ -1,11 +1,16 @@
1
- import { fastClone as o, validateNumber as p, validateIdCard as u, validatePhoneNum as d } from "@web-utils/core";
2
- import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
- const n = {
1
+ import p from "element-ui/lib/button";
2
+ import { T as o } from "../chunks/TableColumn.BzivvXMF.mjs";
3
+ import u from "element-ui/lib/input";
4
+ import d from "element-ui/lib/form-item";
5
+ import c from "element-ui/lib/table";
6
+ import { fastClone as m, validateNumber as f, validateIdCard as _, validatePhoneNum as h } from "@web-utils/core";
7
+ import { n as y } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
8
+ const l = {
4
9
  number: "fa fa-superscript",
5
10
  email: "el-icon-lx-mail",
6
11
  phone: "fa fa-phone",
7
12
  idCard: "el-icon-lx-news"
8
- }, m = {
13
+ }, b = {
9
14
  name: "DynamicTable",
10
15
  inject: {
11
16
  elForm: {
@@ -56,15 +61,15 @@ const n = {
56
61
  },
57
62
  methods: {
58
63
  getIcon(t) {
59
- return n[t.type] ? n[t.type] : "";
64
+ return l[t.type] ? l[t.type] : "";
60
65
  },
61
66
  addRow() {
62
67
  const t = this.value;
63
68
  t.push(this.newRow()), this.$emit("input", t);
64
69
  },
65
70
  removeRow(t, e) {
66
- const a = this.value;
67
- a.splice(e, 1), this.$emit("input", a);
71
+ const i = this.value;
72
+ i.splice(e, 1), this.$emit("input", i);
68
73
  },
69
74
  newRow() {
70
75
  const t = {};
@@ -75,35 +80,35 @@ const n = {
75
80
  getRules(t) {
76
81
  const e = t.rules;
77
82
  if (["email", "idCard", "phone", "number"].includes(t.type)) {
78
- const a = o(e || []);
79
- return t.type === "number" && a.push({ validator: p, message: "请输入数字!" }), t.type === "email" && a.push({ type: "email", message: "请输入正确的邮箱地址!" }), t.type === "idCard" && a.push({ validator: u, message: "请输入正确的身份证号码!" }), t.type === "phone" && a.push({ validator: d, message: "请输入正确的手机号码!" }), a;
83
+ const i = m(e || []);
84
+ return t.type === "number" && i.push({ validator: f, message: "请输入数字!" }), t.type === "email" && i.push({ type: "email", message: "请输入正确的邮箱地址!" }), t.type === "idCard" && i.push({ validator: _, message: "请输入正确的身份证号码!" }), t.type === "phone" && i.push({ validator: h, message: "请输入正确的手机号码!" }), i;
80
85
  } else
81
86
  return e;
82
87
  }
83
88
  }
84
89
  };
85
- var f = function() {
86
- var e = this, a = e._self._c;
87
- return a("div", { staticClass: "dynamic-table" }, [a("ElTable", { key: e.key, staticStyle: { width: "100%" }, attrs: { data: e.value } }, [e._l(e.columns, function(i) {
88
- return a("TableColumn", { key: i.prop, attrs: { prop: i.prop, label: i.label, "min-width": "150" }, scopedSlots: e._u([{ key: "default", fn: function({ row: l, $index: s }) {
89
- return [a("ElFormItem", { style: { marginBottom: e.inputDisabled ? "0px" : "16px" }, attrs: { prop: `${e.prop}.${s}.${i.prop}`, size: "mini", rules: e.getRules(i) } }, [a("ElInput", { attrs: { "prefix-icon": e.getIcon(i), disabled: e.inputDisabled, placeholder: e.inputDisabled ? "" : `请输入${i.label}!` }, model: { value: l[i.prop], callback: function(r) {
90
- e.$set(l, i.prop, r);
90
+ var v = function() {
91
+ var e = this, i = e._self._c;
92
+ return i("div", { staticClass: "dynamic-table" }, [i(c, { key: e.key, staticStyle: { width: "100%" }, attrs: { data: e.value } }, [e._l(e.columns, function(a) {
93
+ return i(o, { key: a.prop, attrs: { prop: a.prop, label: a.label, "min-width": "150" }, scopedSlots: e._u([{ key: "default", fn: function({ row: r, $index: n }) {
94
+ return [i(d, { style: { marginBottom: e.inputDisabled ? "0px" : "16px" }, attrs: { prop: `${e.prop}.${n}.${a.prop}`, size: "mini", rules: e.getRules(a) } }, [i(u, { attrs: { "prefix-icon": e.getIcon(a), disabled: e.inputDisabled, placeholder: e.inputDisabled ? "" : `请输入${a.label}!` }, model: { value: r[a.prop], callback: function(s) {
95
+ e.$set(r, a.prop, s);
91
96
  }, expression: "row[column.prop]" } })], 1)];
92
97
  } }], null, !0) });
93
- }), e.inputDisabled ? e._e() : a("TableColumn", { attrs: { label: "操作", width: "60", fixed: "right" }, scopedSlots: e._u([{ key: "default", fn: function({ row: i, column: l, $index: s }) {
94
- return [a("i", { staticClass: "el-icon-minus dynamic-table-action-icon", staticStyle: { position: "relative", top: "-8px", color: "#f00" }, attrs: { title: "删除" }, on: { click: function(r) {
95
- return r.stopPropagation(), e.removeRow(i, s, l);
98
+ }), e.inputDisabled ? e._e() : i(o, { attrs: { label: "操作", width: "60", fixed: "right" }, scopedSlots: e._u([{ key: "default", fn: function({ row: a, column: r, $index: n }) {
99
+ return [i("i", { staticClass: "el-icon-minus dynamic-table-action-icon", staticStyle: { position: "relative", top: "-8px", color: "#f00" }, attrs: { title: "删除" }, on: { click: function(s) {
100
+ return s.stopPropagation(), e.removeRow(a, n, r);
96
101
  } } })];
97
- } }], null, !1, 410881950) })], 2), e.inputDisabled ? e._e() : a("ElButton", { staticStyle: { color: "#08c108" }, attrs: { type: "text", icon: "el-icon-plus" }, on: { click: e.addRow } }, [e._v(" 添加 ")])], 1);
98
- }, h = [], y = /* @__PURE__ */ c(
99
- m,
100
- f,
101
- h,
102
+ } }], null, !1, 410881950) })], 2), e.inputDisabled ? e._e() : i(p, { staticStyle: { color: "#08c108" }, attrs: { type: "text", icon: "el-icon-plus" }, on: { click: e.addRow } }, [e._v(" 添加 ")])], 1);
103
+ }, g = [], w = /* @__PURE__ */ y(
104
+ b,
105
+ v,
106
+ g,
102
107
  !1,
103
108
  null,
104
109
  null
105
110
  );
106
- const _ = y.exports;
111
+ const F = w.exports;
107
112
  export {
108
- _ as default
113
+ F as default
109
114
  };
@@ -1,5 +1,7 @@
1
- import { n as o } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
- const r = {
1
+ import i from "element-ui/lib/slider";
2
+ import r from "element-ui/lib/progress";
3
+ import { n } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
4
+ const a = {
3
5
  name: "EditableProgress",
4
6
  props: {
5
7
  disabled: {
@@ -65,20 +67,20 @@ const r = {
65
67
  }
66
68
  }
67
69
  };
68
- var a = function() {
70
+ var l = function() {
69
71
  var e = this, t = e._self._c;
70
- return t("div", { staticClass: "editable-progress", on: { mouseover: e.onMouseOver, mousedown: e.onMouseDown, mouseleave: e.onMouseLeave, click: e.wrapperClick } }, [t("ElProgress", { directives: [{ name: "show", rawName: "v-show", value: !e.slider, expression: "!slider" }], class: e.percent === 100 ? "progress__success" : "", attrs: { "stroke-width": e.strokeWidth, "text-inside": "", percentage: e.percent } }), e.disabled ? e._e() : t("ElSlider", { directives: [{ name: "show", rawName: "v-show", value: e.slider, expression: "slider" }], ref: "slider", style: { width: `${e.max === 100 ? 100 : e.max - 1}%` }, attrs: { "tooltip-class": e.tooltipClass, max: e.max, "format-tooltip": e.formatTooltip, disabled: e.disabled, step: e.step }, on: { input: e.onInput, change: e.onChange }, model: { value: e.percent, callback: function(i) {
71
- e.percent = i;
72
+ return t("div", { staticClass: "editable-progress", on: { mouseover: e.onMouseOver, mousedown: e.onMouseDown, mouseleave: e.onMouseLeave, click: e.wrapperClick } }, [t(r, { directives: [{ name: "show", rawName: "v-show", value: !e.slider, expression: "!slider" }], class: e.percent === 100 ? "progress__success" : "", attrs: { "stroke-width": e.strokeWidth, "text-inside": "", percentage: e.percent } }), e.disabled ? e._e() : t(i, { directives: [{ name: "show", rawName: "v-show", value: e.slider, expression: "slider" }], ref: "slider", style: { width: `${e.max === 100 ? 100 : e.max - 1}%` }, attrs: { "tooltip-class": e.tooltipClass, max: e.max, "format-tooltip": e.formatTooltip, disabled: e.disabled, step: e.step }, on: { input: e.onInput, change: e.onChange }, model: { value: e.percent, callback: function(o) {
73
+ e.percent = o;
72
74
  }, expression: "percent" } })], 1);
73
- }, l = [], n = /* @__PURE__ */ o(
74
- r,
75
+ }, p = [], d = /* @__PURE__ */ n(
75
76
  a,
76
77
  l,
78
+ p,
77
79
  !1,
78
80
  null,
79
81
  null
80
82
  );
81
- const p = n.exports;
83
+ const c = d.exports;
82
84
  export {
83
- p as default
85
+ c as default
84
86
  };