@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.
Files changed (169) hide show
  1. package/address-input/index.mjs +13 -15
  2. package/card/index.mjs +18 -20
  3. package/carousel/index.mjs +10 -12
  4. package/chat/index.mjs +45 -56
  5. package/chunk-file-uploader/index.mjs +36 -378
  6. package/chunk-file-uploader/style.css +1 -1
  7. package/chunks/ElementBaseInfo.ZADwixb5.mjs +125 -0
  8. package/chunks/ElementForm.CQ3PN5qj.mjs +223 -0
  9. package/chunks/ElementListeners.De_PRuIm.mjs +215 -0
  10. package/chunks/ElementMultiInstance.DQo2wuAQ.mjs +181 -0
  11. package/chunks/ElementOtherConfig.B1NfMTYh.mjs +60 -0
  12. package/chunks/ElementProperties.CosfDrlW.mjs +112 -0
  13. package/chunks/{ElementTaskConfig.AvBOzAni.mjs → ElementTaskConfig.Bko0kgTp.mjs} +55 -63
  14. package/chunks/FlowCondition.Y6qEYi1T.mjs +102 -0
  15. package/chunks/FormTemp.BQxO5IQq.mjs +123 -0
  16. package/chunks/SignalAndMessage.Bb5PFX0N.mjs +85 -0
  17. package/chunks/UserTaskListeners.Bv3BDfEI.mjs +169 -0
  18. package/chunks/{confirmable-mixin.BFZb6pcK.mjs → confirmable-mixin.B2TtLAdk.mjs} +1 -1
  19. package/chunks/core.0Exl13Mz.mjs +54 -0
  20. package/chunks/{dataformat.DJoNBlmI.mjs → dataformat.CpqOeGBl.mjs} +6 -6
  21. package/chunks/{dic.BinnDitI.mjs → dic.Dkl-leRW.mjs} +9 -9
  22. package/chunks/dictionary.DGt59Ir7.mjs +68 -0
  23. package/chunks/{event.DSlcqYHL.mjs → event.9aDS6jcw.mjs} +2 -2
  24. package/chunks/{form-input.BtS_J5a2.mjs → form-input.CvFdwlEV.mjs} +2 -2
  25. package/chunks/form-item.LWjePsPa.mjs +233 -0
  26. package/chunks/{index.CIfe3UB3.mjs → index.9OxHjTIE.mjs} +2 -2
  27. package/chunks/{index.Cn7aq-Et.mjs → index.B2TRddqf.mjs} +8 -8
  28. package/chunks/{init.xOlFpTyZ.mjs → init.DAsXSoLW.mjs} +2 -2
  29. package/chunks/sub-table-plus-props.BVsD71hT.mjs +30 -0
  30. package/chunks/{util.DI42t5GU.mjs → util.DqFv_pWg.mjs} +22 -22
  31. package/chunks/utilSelf.Csq1766E.mjs +48 -0
  32. package/chunks/utils.DRcxC1Fb.mjs +60 -0
  33. package/color-picker/index.mjs +22 -101
  34. package/confirm-button/index.mjs +1 -1
  35. package/confirmable/index.mjs +1 -1
  36. package/data-box/index.mjs +12 -15
  37. package/data-card/index.mjs +10 -12
  38. package/data-card-text/index.mjs +10 -12
  39. package/data-display/index.mjs +15 -17
  40. package/data-icons/index.mjs +13 -16
  41. package/data-imgtext/index.mjs +15 -18
  42. package/data-operatext/index.mjs +14 -16
  43. package/data-panel/index.mjs +13 -16
  44. package/data-pay/index.mjs +16 -20
  45. package/data-price/index.mjs +14 -16
  46. package/data-progress/index.mjs +13 -17
  47. package/data-rotate/index.mjs +12 -15
  48. package/data-table-picker/index.mjs +15 -18
  49. package/data-tabs/index.mjs +12 -15
  50. package/dialog-form/index.mjs +16 -18
  51. package/dynamic-table/index.mjs +25 -30
  52. package/editable-progress/index.mjs +9 -11
  53. package/editable-tree/index.mjs +52 -56
  54. package/egd-collapse-item/index.mjs +9 -9
  55. package/element-dialog/index.mjs +22 -23
  56. package/element-listeners/style.css +1 -0
  57. package/element-multi-instance/style.css +1 -0
  58. package/flex-column/index.mjs +1 -1
  59. package/flex-item/index.mjs +1 -1
  60. package/flex-row/index.mjs +1 -1
  61. package/flow/index.mjs +10 -11
  62. package/flow-designer/index.mjs +699 -1973
  63. package/flow-designer/style.css +1 -1
  64. package/flow-node/index.mjs +1 -1
  65. package/flow-viewer/index.mjs +9 -9
  66. package/form-block/index.mjs +32 -34
  67. package/form-cascader/index.mjs +23 -24
  68. package/form-checkbox/index.mjs +16 -17
  69. package/form-checkbox-group/index.mjs +20 -23
  70. package/form-date-picker/index.mjs +18 -20
  71. package/form-holder/index.mjs +13 -14
  72. package/form-input/index.mjs +14 -15
  73. package/form-input-cron-expression/index.mjs +19 -22
  74. package/form-input-email/index.mjs +15 -16
  75. package/form-input-id-card/index.mjs +12 -13
  76. package/form-input-number/index.mjs +16 -17
  77. package/form-input-phone-number/index.mjs +21 -22
  78. package/form-input-tag/index.mjs +14 -15
  79. package/form-input-time/index.mjs +14 -15
  80. package/form-item/index.mjs +140 -3
  81. package/form-item-group/index.mjs +28 -31
  82. package/form-radio-group/index.mjs +27 -28
  83. package/form-select/index.mjs +21 -23
  84. package/form-switch/index.mjs +16 -17
  85. package/form-table/index.mjs +16 -17
  86. package/form-table-plus/index.mjs +21 -22
  87. package/form-textarea/index.mjs +15 -16
  88. package/form-tree-select/index.mjs +14 -15
  89. package/form-tree-select-multiple/index.mjs +14 -15
  90. package/form-view/index.mjs +35 -39
  91. package/fy-array/index.mjs +33 -37
  92. package/fy-cascader/index.mjs +16 -17
  93. package/fy-checkbox/index.mjs +11 -13
  94. package/fy-code/index.mjs +10 -10
  95. package/fy-curd/index.mjs +1128 -1152
  96. package/fy-date/index.mjs +10 -11
  97. package/fy-draggable/index.mjs +9 -10
  98. package/fy-dynamic/index.mjs +22 -25
  99. package/fy-empty/index.mjs +1 -1
  100. package/fy-form/index.mjs +638 -15
  101. package/fy-form-design/index.mjs +1307 -1345
  102. package/fy-from/crud/zh.d.ts +6 -6
  103. package/fy-input/index.mjs +12 -14
  104. package/fy-input-color/index.mjs +13 -15
  105. package/fy-input-icon/index.mjs +20 -23
  106. package/fy-input-map/index.mjs +28 -31
  107. package/fy-input-number/index.mjs +9 -10
  108. package/fy-input-table/index.mjs +18 -22
  109. package/fy-input-tree/index.mjs +33 -37
  110. package/fy-progress/index.mjs +9 -10
  111. package/fy-radio/index.mjs +15 -16
  112. package/fy-rate/index.mjs +10 -11
  113. package/fy-select/index.mjs +25 -29
  114. package/fy-slider/index.mjs +11 -12
  115. package/fy-switch/index.mjs +9 -10
  116. package/fy-tabs/index.mjs +15 -17
  117. package/fy-time/index.mjs +1 -1
  118. package/fy-title/index.mjs +1 -1
  119. package/fy-tree/index.mjs +18 -24
  120. package/fy-u-editor/index.mjs +1 -1
  121. package/fy-upload/index.mjs +74 -76
  122. package/guide-steps/index.mjs +11 -13
  123. package/iframe-window/index.mjs +9 -10
  124. package/image-cropper/index.mjs +28 -30
  125. package/image-preview/index.mjs +12 -14
  126. package/index.mjs +72 -72
  127. package/input-number/index.mjs +13 -14
  128. package/input-number-range/index.mjs +11 -12
  129. package/license/index.mjs +1 -1
  130. package/login/index.mjs +21 -26
  131. package/nav-bar/index.mjs +9 -10
  132. package/notice/index.mjs +9 -10
  133. package/package.json +1 -1
  134. package/page-index/index.mjs +12 -13
  135. package/page-index-top/index.mjs +23 -28
  136. package/page-skeleton/index.mjs +14 -14
  137. package/page-skeleton-new/index.mjs +8 -9
  138. package/pageable-table/index.mjs +172 -182
  139. package/pageable-view/index.mjs +15 -16
  140. package/picker-table-view/index.mjs +49 -58
  141. package/present-view/index.mjs +35 -39
  142. package/record-video/index.mjs +1 -1
  143. package/resize-observer/index.mjs +1 -1
  144. package/search/index.mjs +20 -22
  145. package/search-popover/index.mjs +1 -1
  146. package/sign/index.mjs +1 -1
  147. package/skeleton-panel/index.mjs +9 -10
  148. package/split-pane/index.mjs +36 -37
  149. package/static-pageable-table/index.mjs +11 -13
  150. package/sub-table/index.mjs +36 -49
  151. package/sub-table-plus/index.mjs +229 -18
  152. package/swiper/index.mjs +11 -12
  153. package/table-column/index.mjs +223 -3
  154. package/table-view/index.mjs +52 -60
  155. package/tabs-view/index.mjs +17 -19
  156. package/tag-render/index.mjs +16 -18
  157. package/text-ellipsis/index.mjs +9 -10
  158. package/toolbar/index.mjs +13 -14
  159. package/toolbar-button/index.mjs +13 -14
  160. package/verify/index.mjs +1 -1
  161. package/vue-cron/index.mjs +259 -267
  162. package/watermark/index.mjs +1 -1
  163. package/web-types.json +1 -1
  164. package/x-input-tag/index.mjs +21 -24
  165. package/chunks/FormItem.Bhsy_O2B.mjs +0 -372
  166. package/chunks/FyForm.DriwCJ7b.mjs +0 -765
  167. package/chunks/SignalAndMessage.BpjOoKhK.mjs +0 -92
  168. package/chunks/SubTablePlus.BH0IIv3X.mjs +0 -270
  169. package/chunks/TableColumn.BzivvXMF.mjs +0 -337
@@ -1,7 +1,5 @@
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 = {
1
+ import { n as c } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
+ const i = {
5
3
  name: "DataPrice",
6
4
  props: {
7
5
  option: {
@@ -19,24 +17,24 @@ const p = {
19
17
  }
20
18
  }
21
19
  };
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) + " ")]);
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) + " ")]);
29
27
  }), 0)])])])];
30
28
  })], 2)], 1);
31
- }, l = [], d = /* @__PURE__ */ o(
32
- p,
33
- _,
29
+ }, o = [], p = /* @__PURE__ */ c(
30
+ i,
34
31
  l,
32
+ o,
35
33
  !1,
36
34
  null,
37
35
  null
38
36
  );
39
- const C = d.exports;
37
+ const v = p.exports;
40
38
  export {
41
- C as default
39
+ v as default
42
40
  };
@@ -1,9 +1,5 @@
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 = {
1
+ import { n as o } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
+ const r = {
7
3
  name: "DataProgress",
8
4
  props: {
9
5
  option: {
@@ -27,22 +23,22 @@ const p = {
27
23
  }
28
24
  }
29
25
  };
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) {
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) {
34
30
  t.click && t.click(t);
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)])]);
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)])]);
36
32
  }), 1)], 1);
37
- }, _ = [], m = /* @__PURE__ */ c(
38
- p,
39
- l,
40
- _,
33
+ }, i = [], c = /* @__PURE__ */ o(
34
+ r,
35
+ e,
36
+ i,
41
37
  !1,
42
38
  null,
43
39
  null
44
40
  );
45
- const k = m.exports;
41
+ const u = c.exports;
46
42
  export {
47
- k as default
43
+ u as default
48
44
  };
@@ -1,8 +1,5 @@
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 = {
1
+ import { n as i } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
+ const o = {
6
3
  name: "DataRotate",
7
4
  props: {
8
5
  option: {
@@ -26,22 +23,22 @@ const c = {
26
23
  }
27
24
  }
28
25
  };
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) {
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) {
33
30
  a.click && a.click(a);
34
- } } }, [t("p", { staticClass: "item-more" }, [n._v("更多"), t("i", { staticClass: "el-icon-arrow-right" })])])])]);
31
+ } } }, [t("p", { staticClass: "item-more" }, [s._v("更多"), t("i", { staticClass: "el-icon-arrow-right" })])])])]);
35
32
  }), 1)], 1);
36
- }, p = [], m = /* @__PURE__ */ e(
33
+ }, c = [], r = /* @__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 h = m.exports;
41
+ const m = r.exports;
45
42
  export {
46
- h as default
43
+ m as default
47
44
  };
@@ -1,9 +1,6 @@
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 = {
1
+ import { f as i } from "../chunks/index.B2TRddqf.mjs";
2
+ import { n } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
3
+ const o = {
7
4
  name: "DataTablePicker",
8
5
  props: {
9
6
  visible: Boolean,
@@ -35,7 +32,7 @@ const a = {
35
32
  };
36
33
  },
37
34
  methods: {
38
- filterTableColumnProperties: r,
35
+ filterTableColumnProperties: i,
39
36
  selectionChange(t) {
40
37
  this.selectedRows = t;
41
38
  },
@@ -54,22 +51,22 @@ const a = {
54
51
  }
55
52
  }
56
53
  };
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)];
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)];
61
58
  }, proxy: !0 }, { key: "footer", fn: function() {
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(" 关 闭 ")])];
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(" 关 闭 ")])];
63
60
  }, proxy: !0 }], null, !0) });
64
- }, u = [], m = /* @__PURE__ */ s(
65
- a,
66
- c,
67
- u,
61
+ }, s = [], a = /* @__PURE__ */ n(
62
+ o,
63
+ r,
64
+ s,
68
65
  !1,
69
66
  null,
70
67
  null
71
68
  );
72
- const _ = m.exports;
69
+ const h = a.exports;
73
70
  export {
74
- _ as default
71
+ h as default
75
72
  };
@@ -1,8 +1,5 @@
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 = {
1
+ import { n as o } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
+ const i = {
6
3
  name: "DataTabs",
7
4
  props: {
8
5
  option: {
@@ -26,22 +23,22 @@ const c = {
26
23
  }
27
24
  }
28
25
  };
29
- var l = function() {
26
+ var e = function() {
30
27
  var t = this, a = t._self._c;
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) {
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) {
33
30
  s.click && s.click(s);
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))])])])]);
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))])])])]);
35
32
  }), 1)], 1);
36
- }, _ = [], p = /* @__PURE__ */ e(
37
- c,
38
- l,
39
- _,
33
+ }, r = [], c = /* @__PURE__ */ o(
34
+ i,
35
+ e,
36
+ r,
40
37
  !1,
41
38
  null,
42
39
  null
43
40
  );
44
- const C = p.exports;
41
+ const _ = c.exports;
45
42
  export {
46
- C as default
43
+ _ as default
47
44
  };
@@ -1,9 +1,7 @@
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";
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";
7
5
  const i = {
8
6
  name: "DialogForm",
9
7
  data() {
@@ -35,8 +33,8 @@ const i = {
35
33
  }
36
34
  },
37
35
  methods: {
38
- isEmpty: l,
39
- deepClone: r,
36
+ isEmpty: a,
37
+ deepClone: l,
40
38
  submit() {
41
39
  this.$refs.form.submit();
42
40
  },
@@ -64,28 +62,28 @@ const i = {
64
62
  }
65
63
  };
66
64
  i.showForm = (t) => {
67
- const e = c.extend(i), o = new e().$mount();
65
+ const e = n.extend(i), o = new e().$mount();
68
66
  return document.body.appendChild(o.$el), o.show(t), o;
69
67
  };
70
- const d = i;
71
- var p = function() {
68
+ const c = i;
69
+ var d = function() {
72
70
  var e = this, o = e._self._c;
73
71
  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) {
74
72
  e.visible = 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) {
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) {
76
74
  e.disabled = s;
77
75
  }, submit: e.handleSubmit, "reset-change": e.close }, model: { value: e.data, callback: function(s) {
78
76
  e.data = s;
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(
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,
81
80
  d,
82
- p,
83
- u,
81
+ m,
84
82
  !1,
85
83
  null,
86
84
  null
87
85
  );
88
- const C = f.exports;
86
+ const _ = u.exports;
89
87
  export {
90
- C as default
88
+ _ as default
91
89
  };
@@ -1,16 +1,11 @@
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 = {
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 = {
9
4
  number: "fa fa-superscript",
10
5
  email: "el-icon-lx-mail",
11
6
  phone: "fa fa-phone",
12
7
  idCard: "el-icon-lx-news"
13
- }, b = {
8
+ }, m = {
14
9
  name: "DynamicTable",
15
10
  inject: {
16
11
  elForm: {
@@ -61,15 +56,15 @@ const l = {
61
56
  },
62
57
  methods: {
63
58
  getIcon(t) {
64
- return l[t.type] ? l[t.type] : "";
59
+ return n[t.type] ? n[t.type] : "";
65
60
  },
66
61
  addRow() {
67
62
  const t = this.value;
68
63
  t.push(this.newRow()), this.$emit("input", t);
69
64
  },
70
65
  removeRow(t, e) {
71
- const i = this.value;
72
- i.splice(e, 1), this.$emit("input", i);
66
+ const a = this.value;
67
+ a.splice(e, 1), this.$emit("input", a);
73
68
  },
74
69
  newRow() {
75
70
  const t = {};
@@ -80,35 +75,35 @@ const l = {
80
75
  getRules(t) {
81
76
  const e = t.rules;
82
77
  if (["email", "idCard", "phone", "number"].includes(t.type)) {
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;
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;
85
80
  } else
86
81
  return e;
87
82
  }
88
83
  }
89
84
  };
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);
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);
96
91
  }, expression: "row[column.prop]" } })], 1)];
97
92
  } }], null, !0) });
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);
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);
101
96
  } } })];
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,
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,
107
102
  !1,
108
103
  null,
109
104
  null
110
105
  );
111
- const F = w.exports;
106
+ const _ = y.exports;
112
107
  export {
113
- F as default
108
+ _ as default
114
109
  };
@@ -1,7 +1,5 @@
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 = {
1
+ import { n as o } from "../chunks/_plugin-vue2_normalizer.CeySl7Fu.mjs";
2
+ const r = {
5
3
  name: "EditableProgress",
6
4
  props: {
7
5
  disabled: {
@@ -67,20 +65,20 @@ const a = {
67
65
  }
68
66
  }
69
67
  };
70
- var l = function() {
68
+ var a = function() {
71
69
  var e = this, t = e._self._c;
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;
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;
74
72
  }, expression: "percent" } })], 1);
75
- }, p = [], d = /* @__PURE__ */ n(
73
+ }, l = [], n = /* @__PURE__ */ o(
74
+ r,
76
75
  a,
77
76
  l,
78
- p,
79
77
  !1,
80
78
  null,
81
79
  null
82
80
  );
83
- const c = d.exports;
81
+ const p = n.exports;
84
82
  export {
85
- c as default
83
+ p as default
86
84
  };