@web-utils/component 3.0.6 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (172) hide show
  1. package/address-input/index.mjs +20 -57
  2. package/affix/index.mjs +26 -47
  3. package/aside-menu/index.mjs +18 -43
  4. package/avatar/index.mjs +27 -49
  5. package/awesome-button/index.mjs +35 -43
  6. package/capsule-tab/index.mjs +16 -34
  7. package/card/index.mjs +21 -76
  8. package/carousel/index.mjs +14 -49
  9. package/chat/index.mjs +104 -414
  10. package/chunk-file-uploader/index.mjs +21 -38
  11. package/chunks/FormTemp.aa57efb4.mjs +125 -0
  12. package/code-mirror-editor/index.mjs +69 -79
  13. package/color-picker/index.mjs +29 -60
  14. package/comment/index.mjs +17 -48
  15. package/confirm-button/index.mjs +11 -19
  16. package/confirmable/index.mjs +12 -20
  17. package/context-menu/index.mjs +42 -144
  18. package/count-up/index.mjs +18 -25
  19. package/custom-scrollbar/index.mjs +13 -22
  20. package/data-box/index.mjs +15 -66
  21. package/data-card/index.mjs +16 -65
  22. package/data-cardtext/index.mjs +16 -52
  23. package/data-display/index.mjs +18 -62
  24. package/data-icons/index.mjs +16 -68
  25. package/data-imgtext/index.mjs +18 -79
  26. package/data-operatext/index.mjs +18 -75
  27. package/data-panel/index.mjs +16 -63
  28. package/data-pay/index.mjs +20 -122
  29. package/data-price/index.mjs +18 -60
  30. package/data-progress/index.mjs +16 -67
  31. package/data-rotate/index.mjs +16 -66
  32. package/data-table-picker/index.mjs +25 -88
  33. package/data-tabs/index.mjs +16 -64
  34. package/dialog-form/index.mjs +48 -94
  35. package/dynamic-table/index.mjs +43 -127
  36. package/e-charts/index.mjs +21 -34
  37. package/easy-popup/index.mjs +35 -61
  38. package/editable-progress/index.mjs +22 -77
  39. package/editable-tree/index.mjs +235 -546
  40. package/egd-collapse/index.mjs +13 -26
  41. package/egd-collapse-item/index.mjs +27 -87
  42. package/element-dialog/index.mjs +69 -133
  43. package/empty-view/index.mjs +13 -33
  44. package/error-view/index.mjs +14 -34
  45. package/flex-column/index.mjs +15 -23
  46. package/flex-item/index.mjs +18 -26
  47. package/flex-row/index.mjs +23 -31
  48. package/flex-scroller/index.mjs +16 -27
  49. package/flow/index.mjs +70 -110
  50. package/flow-designer/index.mjs +1215 -4804
  51. package/flow-node/index.mjs +15 -51
  52. package/flow-viewer/index.mjs +64 -89
  53. package/form-block/index.mjs +43 -62
  54. package/form-button/index.mjs +10 -18
  55. package/form-cascader/index.mjs +49 -100
  56. package/form-checkbox-group/index.mjs +43 -110
  57. package/form-date-picker/index.mjs +51 -97
  58. package/form-holder/index.mjs +25 -42
  59. package/form-input/index.mjs +40 -90
  60. package/form-input-email/index.mjs +35 -79
  61. package/form-input-id-card/index.mjs +40 -87
  62. package/form-input-number/index.mjs +42 -102
  63. package/form-input-phone-number/index.mjs +34 -75
  64. package/form-input-tag/index.mjs +31 -73
  65. package/form-input-time/index.mjs +42 -87
  66. package/form-item/index.mjs +70 -89
  67. package/form-item-config-provider/index.mjs +12 -20
  68. package/form-item-group/index.mjs +46 -65
  69. package/form-radio-group/index.mjs +50 -108
  70. package/form-select/index.mjs +44 -95
  71. package/form-switch/index.mjs +38 -85
  72. package/form-textarea/index.mjs +31 -75
  73. package/form-view/index.mjs +112 -260
  74. package/fy-array/index.mjs +35 -121
  75. package/fy-article/index.mjs +12 -43
  76. package/fy-cascader/index.mjs +26 -67
  77. package/fy-checkbox/index.mjs +27 -77
  78. package/fy-code/index.mjs +19 -33
  79. package/fy-curd/index.mjs +810 -2017
  80. package/fy-date/index.mjs +18 -59
  81. package/fy-draggable/index.mjs +81 -140
  82. package/fy-dynamic/index.mjs +85 -204
  83. package/fy-empty/index.mjs +14 -35
  84. package/fy-form/index.mjs +254 -571
  85. package/fy-form-design/index.mjs +1489 -6084
  86. package/fy-form-design/style.css +1 -1
  87. package/fy-input/index.mjs +34 -104
  88. package/fy-input-color/index.mjs +22 -67
  89. package/fy-input-icon/index.mjs +37 -122
  90. package/fy-input-map/index.mjs +57 -149
  91. package/fy-input-number/index.mjs +18 -53
  92. package/fy-input-table/index.mjs +36 -102
  93. package/fy-input-tree/index.mjs +51 -138
  94. package/fy-progress/index.mjs +12 -31
  95. package/fy-radio/index.mjs +20 -51
  96. package/fy-rate/index.mjs +18 -51
  97. package/fy-select/index.mjs +49 -134
  98. package/fy-slider/index.mjs +19 -52
  99. package/fy-switch/index.mjs +18 -48
  100. package/fy-tabs/index.mjs +19 -51
  101. package/fy-time/index.mjs +22 -62
  102. package/fy-title/index.mjs +14 -25
  103. package/fy-tree/index.mjs +74 -216
  104. package/fy-u-editor/index.mjs +50 -64
  105. package/fy-upload/index.mjs +167 -338
  106. package/guide-steps/index.mjs +33 -53
  107. package/highlight-j-s/index.mjs +13 -27
  108. package/icon-card/index.mjs +12 -36
  109. package/icon-temp/index.mjs +12 -34
  110. package/iframe-window/index.mjs +13 -40
  111. package/image-cropper/index.mjs +46 -171
  112. package/image-preview/index.mjs +54 -168
  113. package/image-viewer/index.mjs +24 -50
  114. package/index.css +1 -0
  115. package/index.mjs +3973 -501
  116. package/input-number/index.mjs +84 -173
  117. package/input-number-range/index.mjs +20 -70
  118. package/j-s-x-component/index.mjs +3 -3
  119. package/keep-view-alive/index.mjs +47 -55
  120. package/keyboard/index.mjs +100 -113
  121. package/license/index.mjs +34 -51
  122. package/loading-view/index.mjs +14 -34
  123. package/login/index.mjs +33 -161
  124. package/monaco-editor/index.mjs +13 -21
  125. package/name-avatar/index.mjs +13 -32
  126. package/nav-bar/index.mjs +12 -31
  127. package/not-implement/index.mjs +14 -25
  128. package/notice/index.mjs +32 -80
  129. package/package.json +1 -1
  130. package/page/index.mjs +11 -23
  131. package/page-header/index.mjs +16 -37
  132. package/page-index/index.mjs +42 -93
  133. package/page-index-top/index.mjs +42 -84
  134. package/page-skeleton/index.mjs +24 -39
  135. package/page-skeleton-new/index.mjs +21 -68
  136. package/pageable-table/index.mjs +105 -227
  137. package/pageable-view/index.mjs +30 -83
  138. package/photo-swipe/index.mjs +62 -87
  139. package/present-view/index.mjs +114 -267
  140. package/queue/index.mjs +14 -29
  141. package/record-video/index.mjs +29 -66
  142. package/resize-observer/index.mjs +18 -30
  143. package/search/index.mjs +47 -81
  144. package/search-popover/index.mjs +57 -329
  145. package/sign/index.mjs +43 -60
  146. package/sign-panel/index.mjs +40 -151
  147. package/skeleton/index.mjs +18 -44
  148. package/split-pane/index.mjs +45 -129
  149. package/stateful/index.mjs +18 -26
  150. package/static-pageable-table/index.mjs +18 -44
  151. package/swiper/index.mjs +53 -94
  152. package/tab/index.mjs +13 -39
  153. package/tab-item/index.mjs +23 -37
  154. package/table-column/index.mjs +27 -35
  155. package/table-view/index.mjs +89 -209
  156. package/tag-render/index.mjs +34 -69
  157. package/text-ellipsis/index.mjs +22 -47
  158. package/tinymce-editor/index.mjs +174 -285
  159. package/toolbar/index.mjs +21 -42
  160. package/toolbar-button/index.mjs +25 -54
  161. package/verify/index.mjs +16 -29
  162. package/vue-cron/index.mjs +272 -1089
  163. package/vue-qr-code/index.mjs +19 -27
  164. package/vue-quill-editor/index.mjs +15 -27
  165. package/vue-tags-input/index.mjs +104 -224
  166. package/vue-tree-select/index.mjs +595 -742
  167. package/vue-video-player/index.mjs +42 -57
  168. package/watermark/index.mjs +27 -35
  169. package/web-types.json +1 -1
  170. package/x-input-tag/index.mjs +50 -112
  171. package/chunks/FormTemp.7f91629d.mjs +0 -165
  172. /package/chunks/{vueComponentNormalizer.446f5dc4.mjs → _plugin-vue2_normalizer.446f5dc4.mjs} +0 -0
@@ -1,112 +1,5 @@
1
- import { n as r } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
2
- var c = function() {
3
- var t = this, o = t.$createElement, s = t._self._c || o;
4
- return s("div", {
5
- staticClass: "avue-data-pay"
6
- }, [s("ElRow", {
7
- attrs: {
8
- span: 24
9
- }
10
- }, t._l(t.data, function(a, i) {
11
- return s("ElCol", {
12
- key: i,
13
- attrs: {
14
- md: t.span,
15
- xs: 24,
16
- sm: 12
17
- }
18
- }, [s("div", {
19
- staticClass: "item"
20
- }, [s("div", {
21
- staticClass: "top",
22
- style: {
23
- backgroundColor: a.color
24
- }
25
- }), s("div", {
26
- staticClass: "header"
27
- }, [s("p", {
28
- staticClass: "title"
29
- }, [t._v(" " + t._s(a.title) + " ")]), s("img", {
30
- staticClass: "img",
31
- attrs: {
32
- src: a.src,
33
- alt: ""
34
- }
35
- }), a.subtitle ? [s("p", {
36
- staticClass: "subtitle",
37
- style: {
38
- color: a.color
39
- }
40
- }, [t._v(" " + t._s(a.subtitle) + " ")])] : t._e(), a.money || a.dismoney ? [s("p", {
41
- staticClass: "money",
42
- style: {
43
- color: a.color
44
- }
45
- }, [s("span", [t._v("¥")]), s("CountUp", {
46
- staticClass: "b",
47
- attrs: {
48
- decimals: a.decimals || t.decimals,
49
- animation: a.animation || t.animation,
50
- end: a.dismoney
51
- }
52
- }), s("s", [t._v(t._s(a.money))]), s("em", [t._v(t._s(a.tip))])], 1)] : t._e(), s("div", {
53
- staticClass: "line"
54
- }), s("a", {
55
- staticClass: "btn",
56
- style: {
57
- backgroundColor: a.color
58
- },
59
- attrs: {
60
- href: a.href
61
- },
62
- on: {
63
- click: function(n) {
64
- a.click && a.click(a);
65
- }
66
- }
67
- }, [t._v(t._s(a.subtext))])], 2), s("div", {
68
- staticClass: "list"
69
- }, t._l(a.list, function(n, e) {
70
- return s("div", {
71
- key: e,
72
- staticClass: "list-item"
73
- }, [n.check ? s("i", {
74
- staticClass: "list-item-icon list-item--check",
75
- style: {
76
- color: a.color
77
- }
78
- }, [t._v("√")]) : s("i", {
79
- staticClass: "list-item-icon list-item--no"
80
- }, [t._v("x")]), s("a", {
81
- attrs: {
82
- href: n.href ? n.href : "javascript:void(0);"
83
- }
84
- }, [s("ElTooltip", {
85
- attrs: {
86
- effect: "dark",
87
- disabled: !n.tip,
88
- placement: "top"
89
- },
90
- scopedSlots: t._u([{
91
- key: "content",
92
- fn: function() {
93
- return [s("div", {
94
- domProps: {
95
- innerHTML: t._s(n.tip)
96
- }
97
- })];
98
- },
99
- proxy: !0
100
- }], null, !0)
101
- }, [s("span", {
102
- class: {
103
- "list-item--link": n.href
104
- }
105
- }, [t._v(t._s(n.title))])])], 1)]);
106
- }), 0)])]);
107
- }), 1)], 1);
108
- }, _ = [];
109
- const u = {
1
+ import { n as i } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
2
+ const r = {
110
3
  name: "DataPay",
111
4
  props: {
112
5
  option: {
@@ -129,24 +22,29 @@ const u = {
129
22
  return this.option.data || [];
130
23
  }
131
24
  }
132
- }, l = {};
133
- var p = /* @__PURE__ */ r(
134
- u,
25
+ };
26
+ var e = 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, l) {
29
+ return t("ElCol", { key: l, 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
+ a.click && a.click(a);
31
+ } } }, [s._v(s._s(a.subtext))])], 2), t("div", { staticClass: "list" }, s._l(a.list, function(n, o) {
32
+ return t("div", { key: o, 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
+ }), 0)])]);
36
+ }), 1)], 1);
37
+ }, c = [], _ = /* @__PURE__ */ i(
38
+ r,
39
+ e,
135
40
  c,
136
- _,
137
41
  !1,
138
- d,
42
+ null,
139
43
  null,
140
44
  null,
141
45
  null
142
46
  );
143
- function d(t) {
144
- for (let o in l)
145
- this[o] = l[o];
146
- }
147
- const f = /* @__PURE__ */ function() {
148
- return p.exports;
149
- }();
47
+ const u = _.exports;
150
48
  export {
151
- f as default
49
+ u as default
152
50
  };
@@ -1,50 +1,5 @@
1
- import { n as l } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
2
- var o = function() {
3
- var t = this, n = t.$createElement, s = t._self._c || n;
4
- return s("div", {
5
- staticClass: "data-price"
6
- }, [s("ElRow", {
7
- attrs: {
8
- span: 24
9
- }
10
- }, [t._l(t.data, function(a, c) {
11
- return [s("ElCol", {
12
- key: c,
13
- attrs: {
14
- xs: 12,
15
- sm: 6,
16
- md: t.span
17
- }
18
- }, [s("div", {
19
- staticClass: "item item--active"
20
- }, [s("a", {
21
- attrs: {
22
- href: a.href,
23
- target: a.target
24
- },
25
- on: {
26
- click: function(e) {
27
- a.click && a.click(a);
28
- }
29
- }
30
- }, [s("div", {
31
- staticClass: "title"
32
- }, [t._v(" " + t._s(a.title) + " ")]), s("div", {
33
- staticClass: "body"
34
- }, [s("span", {
35
- staticClass: "price"
36
- }, [t._v(t._s(a.price))]), s("span", {
37
- staticClass: "append"
38
- }, [t._v(t._s(a.append))])]), s("div", {
39
- staticClass: "list"
40
- }, t._l(a.list, function(e, i) {
41
- return s("p", {
42
- key: i
43
- }, [t._v(" " + t._s(e) + " ")]);
44
- }), 0)])])])];
45
- })], 2)], 1);
46
- }, _ = [];
47
- const p = {
1
+ import { n as c } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
2
+ const i = {
48
3
  name: "DataPrice",
49
4
  props: {
50
5
  option: {
@@ -61,24 +16,27 @@ const p = {
61
16
  return this.option.data;
62
17
  }
63
18
  }
64
- }, r = {};
65
- var u = /* @__PURE__ */ l(
66
- p,
67
- o,
19
+ };
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, e) {
23
+ return [a("ElCol", { key: e, 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, r) {
26
+ return a("p", { key: r }, [t._v(" " + t._s(n) + " ")]);
27
+ }), 0)])])])];
28
+ })], 2)], 1);
29
+ }, _ = [], o = /* @__PURE__ */ c(
30
+ i,
31
+ l,
68
32
  _,
69
33
  !1,
70
- v,
34
+ null,
71
35
  null,
72
36
  null,
73
37
  null
74
38
  );
75
- function v(t) {
76
- for (let n in r)
77
- this[n] = r[n];
78
- }
79
- const f = /* @__PURE__ */ function() {
80
- return u.exports;
81
- }();
39
+ const u = o.exports;
82
40
  export {
83
- f as default
41
+ u as default
84
42
  };
@@ -1,57 +1,5 @@
1
- import { n as r } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
2
- var i = function() {
3
- var a = this, n = a.$createElement, s = a._self._c || n;
4
- return s("div", {
5
- staticClass: "data-progress"
6
- }, [s("ElRow", {
7
- attrs: {
8
- span: 24
9
- }
10
- }, a._l(a.data, function(t, o) {
11
- return s("ElCol", {
12
- key: o,
13
- attrs: {
14
- md: a.span,
15
- xs: 24,
16
- sm: 12
17
- }
18
- }, [s("div", {
19
- staticClass: "item"
20
- }, [s("a", {
21
- attrs: {
22
- href: t.href,
23
- target: t.target
24
- },
25
- on: {
26
- click: function(d) {
27
- t.click && t.click(t);
28
- }
29
- }
30
- }, [s("div", {
31
- staticClass: "item-header"
32
- }, [s("CountUp", {
33
- staticClass: "item-count",
34
- attrs: {
35
- animation: t.animation || a.animation,
36
- decimals: t.decimals || a.decimals,
37
- end: t.count
38
- }
39
- }), s("div", {
40
- staticClass: "item-title",
41
- domProps: {
42
- textContent: a._s(t.title)
43
- }
44
- })], 1), s("ElProgress", {
45
- attrs: {
46
- "stroke-width": 15,
47
- percentage: t.count,
48
- color: t.color,
49
- "show-text": !1
50
- }
51
- })], 1)])]);
52
- }), 1)], 1);
53
- }, c = [];
54
- const l = {
1
+ import { n as e } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
2
+ const o = {
55
3
  name: "DataProgress",
56
4
  props: {
57
5
  option: {
@@ -74,24 +22,25 @@ const l = {
74
22
  return this.option.data || [];
75
23
  }
76
24
  }
77
- }, e = {};
78
- var u = /* @__PURE__ */ r(
79
- l,
25
+ };
26
+ var r = 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
+ 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)])]);
32
+ }), 1)], 1);
33
+ }, i = [], l = /* @__PURE__ */ e(
34
+ o,
35
+ r,
80
36
  i,
81
- c,
82
37
  !1,
83
- _,
38
+ null,
84
39
  null,
85
40
  null,
86
41
  null
87
42
  );
88
- function _(a) {
89
- for (let n in e)
90
- this[n] = e[n];
91
- }
92
- const m = /* @__PURE__ */ function() {
93
- return u.exports;
94
- }();
43
+ const _ = l.exports;
95
44
  export {
96
- m as default
45
+ _ as default
97
46
  };
@@ -1,56 +1,5 @@
1
- import { n as i } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
2
- var c = function() {
3
- var t = this, s = t.$createElement, a = t._self._c || s;
4
- return a("div", {
5
- staticClass: "avue-data-rotate"
6
- }, [a("ElRow", {
7
- attrs: {
8
- span: 24
9
- }
10
- }, t._l(t.data, function(n, e) {
11
- return a("ElCol", {
12
- key: e,
13
- attrs: {
14
- md: t.span,
15
- xs: 24,
16
- sm: 12
17
- }
18
- }, [a("div", {
19
- staticClass: "item",
20
- style: {
21
- backgroundColor: n.color
22
- }
23
- }, [a("div", {
24
- staticClass: "item-box"
25
- }, [a("CountUp", {
26
- staticClass: "item-count",
27
- attrs: {
28
- decimals: n.decimals || t.decimals,
29
- animation: n.animation || t.animation,
30
- end: n.count
31
- }
32
- }), a("span", {
33
- staticClass: "item-title"
34
- }, [t._v(t._s(n.title))]), a("i", {
35
- staticClass: "item-icon",
36
- class: n.icon
37
- })], 1), a("a", {
38
- attrs: {
39
- href: n.href
40
- },
41
- on: {
42
- click: function(p) {
43
- n.click && n.click(n);
44
- }
45
- }
46
- }, [a("p", {
47
- staticClass: "item-more"
48
- }, [t._v("更多"), a("i", {
49
- staticClass: "el-icon-arrow-right"
50
- })])])])]);
51
- }), 1)], 1);
52
- }, r = [];
53
- const l = {
1
+ import { n as o } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
2
+ const i = {
54
3
  name: "DataRotate",
55
4
  props: {
56
5
  option: {
@@ -73,24 +22,25 @@ const l = {
73
22
  return this.option.data || [];
74
23
  }
75
24
  }
76
- }, o = {};
77
- var u = /* @__PURE__ */ i(
78
- l,
25
+ };
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(_) {
30
+ a.click && a.click(a);
31
+ } } }, [t("p", { staticClass: "item-more" }, [s._v("更多"), t("i", { staticClass: "el-icon-arrow-right" })])])])]);
32
+ }), 1)], 1);
33
+ }, c = [], l = /* @__PURE__ */ o(
34
+ i,
35
+ e,
79
36
  c,
80
- r,
81
37
  !1,
82
- _,
38
+ null,
83
39
  null,
84
40
  null,
85
41
  null
86
42
  );
87
- function _(t) {
88
- for (let s in o)
89
- this[s] = o[s];
90
- }
91
- const m = /* @__PURE__ */ function() {
92
- return u.exports;
93
- }();
43
+ const d = l.exports;
94
44
  export {
95
- m as default
45
+ d as default
96
46
  };
@@ -1,70 +1,6 @@
1
- import { f as n } from "../chunks/index.57f871af.mjs";
2
- import { n as o } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
3
- var r = function() {
4
- var e = this, t = e.$createElement, l = e._self._c || t;
5
- return l("ElementDialog", {
6
- ref: "dialog",
7
- attrs: {
8
- visible: e.visible,
9
- title: e.title,
10
- width: e.width,
11
- height: e.height,
12
- embed: "",
13
- "flex-column": ""
14
- },
15
- on: {
16
- close: e.close
17
- },
18
- scopedSlots: e._u([{
19
- key: "default",
20
- fn: function() {
21
- return [e._t("search-form"), l("PageableTable", {
22
- ref: "pageableTable",
23
- staticStyle: {
24
- height: "60vh"
25
- },
26
- attrs: {
27
- "highlight-current-row": "",
28
- "hide-on-single-page": "",
29
- model: e.model,
30
- columns: e.columns,
31
- api: e.api,
32
- "row-class-name": "pointer",
33
- multiple: e.multiple
34
- },
35
- on: {
36
- "selection-change": e.selectionChange,
37
- "row-click": e.toggleRowSelection,
38
- "current-change": e.currentChange
39
- }
40
- }, [e._t("default")], 2)];
41
- },
42
- proxy: !0
43
- }, {
44
- key: "footer",
45
- fn: function() {
46
- return [l("ElButton", {
47
- attrs: {
48
- size: "mini",
49
- type: "primary"
50
- },
51
- on: {
52
- click: e.confirm
53
- }
54
- }, [e._v(" 确 定 ")]), l("ElButton", {
55
- attrs: {
56
- size: "mini"
57
- },
58
- on: {
59
- click: e.close
60
- }
61
- }, [e._v(" 关 闭 ")])];
62
- },
63
- proxy: !0
64
- }], null, !0)
65
- });
66
- }, s = [];
67
- const a = {
1
+ import { f as i } from "../chunks/index.57f871af.mjs";
2
+ import { n } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
3
+ const o = {
68
4
  name: "DataTablePicker",
69
5
  props: {
70
6
  visible: Boolean,
@@ -96,42 +32,43 @@ const a = {
96
32
  };
97
33
  },
98
34
  methods: {
99
- filterTableColumnProperties: n,
100
- selectionChange(e) {
101
- this.selectedRows = e;
35
+ filterTableColumnProperties: i,
36
+ selectionChange(t) {
37
+ this.selectedRows = t;
102
38
  },
103
- currentChange(e) {
104
- this.currentRow = e;
39
+ currentChange(t) {
40
+ this.currentRow = t;
105
41
  },
106
- toggleRowSelection(e) {
107
- this.$refs.pageableTable.$refs.table.toggleRowSelection(e);
42
+ toggleRowSelection(t) {
43
+ this.$refs.pageableTable.$refs.table.toggleRowSelection(t);
108
44
  },
109
45
  close() {
110
46
  this.$refs.dialog.hide();
111
47
  },
112
48
  confirm() {
113
- var e;
114
- this.multiple ? (e = this.selectedRows) != null && e.length ? (this.$emit("confirm", this.selectedRows), this.close()) : this.$message.warning("请选择") : this.currentRow ? (this.$emit("confirm", this.currentRow), this.close()) : this.$message.warning("请选择");
49
+ var t;
50
+ this.multiple ? (t = this.selectedRows) != null && t.length ? (this.$emit("confirm", this.selectedRows), this.close()) : this.$message.warning("请选择") : this.currentRow ? (this.$emit("confirm", this.currentRow), this.close()) : this.$message.warning("请选择");
115
51
  }
116
52
  }
117
- }, i = {};
118
- var c = /* @__PURE__ */ o(
119
- a,
53
+ };
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)];
58
+ }, 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(" 关 闭 ")])];
60
+ }, proxy: !0 }], null, !0) });
61
+ }, s = [], a = /* @__PURE__ */ n(
62
+ o,
120
63
  r,
121
64
  s,
122
65
  !1,
123
- u,
66
+ null,
124
67
  null,
125
68
  null,
126
69
  null
127
70
  );
128
- function u(e) {
129
- for (let t in i)
130
- this[t] = i[t];
131
- }
132
- const f = /* @__PURE__ */ function() {
133
- return c.exports;
134
- }();
71
+ const h = a.exports;
135
72
  export {
136
- f as default
73
+ h as default
137
74
  };
@@ -1,54 +1,5 @@
1
- import { n as i } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
2
- var r = function() {
3
- var t = this, n = t.$createElement, a = t._self._c || n;
4
- return a("div", {
5
- staticClass: "avue-data-tabs"
6
- }, [a("ElRow", {
7
- attrs: {
8
- span: 24
9
- }
10
- }, t._l(t.data, function(s, o) {
11
- return a("ElCol", {
12
- key: o,
13
- attrs: {
14
- md: t.span,
15
- xs: 24,
16
- sm: 12
17
- }
18
- }, [a("div", {
19
- staticClass: "item",
20
- style: {
21
- background: s.color
22
- }
23
- }, [a("a", {
24
- attrs: {
25
- href: s.href,
26
- target: s.target
27
- },
28
- on: {
29
- click: function(p) {
30
- s.click && s.click(s);
31
- }
32
- }
33
- }, [a("div", {
34
- staticClass: "item-header"
35
- }, [a("p", [t._v(t._s(s.title))]), a("span", [t._v(t._s(s.subtitle))])]), a("div", {
36
- staticClass: "item-body"
37
- }, [a("CountUp", {
38
- staticClass: "h2",
39
- attrs: {
40
- decimals: s.decimals || t.decimals,
41
- animation: s.animation || t.animation,
42
- end: s.count
43
- }
44
- })], 1), a("div", {
45
- staticClass: "item-footer"
46
- }, [a("span", [t._v(t._s(s.allcount))]), a("p", [t._v(t._s(s.text))])]), a("p", {
47
- staticClass: "item-tip"
48
- }, [t._v(t._s(s.key))])])])]);
49
- }), 1)], 1);
50
- }, c = [];
51
- const l = {
1
+ import { n as e } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
2
+ const o = {
52
3
  name: "DataTabs",
53
4
  props: {
54
5
  option: {
@@ -71,24 +22,25 @@ const l = {
71
22
  return this.option.data || [];
72
23
  }
73
24
  }
74
- }, e = {};
75
- var _ = /* @__PURE__ */ i(
25
+ };
26
+ var i = function() {
27
+ 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(_) {
30
+ 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))])])])]);
32
+ }), 1)], 1);
33
+ }, l = [], r = /* @__PURE__ */ e(
34
+ o,
35
+ i,
76
36
  l,
77
- r,
78
- c,
79
37
  !1,
80
- u,
38
+ null,
81
39
  null,
82
40
  null,
83
41
  null
84
42
  );
85
- function u(t) {
86
- for (let n in e)
87
- this[n] = e[n];
88
- }
89
- const v = /* @__PURE__ */ function() {
90
- return _.exports;
91
- }();
43
+ const p = r.exports;
92
44
  export {
93
- v as default
45
+ p as default
94
46
  };