@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,55 +1,5 @@
1
- import { n as s } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
2
- var l = function() {
3
- var t = this, o = t.$createElement, r = t._self._c || o;
4
- return r("div", {
5
- staticClass: "data-card"
6
- }, [r("ElRow", {
7
- attrs: {
8
- span: 24
9
- }
10
- }, t._l(t.data, function(e, n) {
11
- return r("ElCol", {
12
- key: n,
13
- attrs: {
14
- md: t.span,
15
- xs: 24,
16
- sm: 12
17
- }
18
- }, [r("div", {
19
- staticClass: "item"
20
- }, [r("a", {
21
- attrs: {
22
- href: e.href,
23
- target: e.target
24
- },
25
- on: {
26
- click: function(d) {
27
- e.click && e.click(e);
28
- }
29
- }
30
- }, [r("img", {
31
- staticClass: "item-img",
32
- attrs: {
33
- src: e.src,
34
- alt: ""
35
- }
36
- }), r("div", {
37
- staticClass: "item-text",
38
- style: {
39
- backgroundColor: t.bgText
40
- }
41
- }, [r("h3", {
42
- style: {
43
- color: t.colorText
44
- }
45
- }, [t._v(t._s(e.name))]), r("p", {
46
- style: {
47
- color: t.colorText
48
- }
49
- }, [t._v(t._s(e.text))])])])])]);
50
- }), 1)], 1);
51
- }, c = [];
52
- const i = {
1
+ import { n as e } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
2
+ const s = {
53
3
  name: "DataCard",
54
4
  props: {
55
5
  option: {
@@ -75,24 +25,25 @@ const i = {
75
25
  return this.option.borderColor || "#2e323f";
76
26
  }
77
27
  }
78
- }, a = {};
79
- var _ = /* @__PURE__ */ s(
80
- i,
28
+ };
29
+ var n = function() {
30
+ var t = this, r = t._self._c;
31
+ return r("div", { staticClass: "data-card" }, [r("ElRow", { attrs: { span: 24 } }, t._l(t.data, function(a, o) {
32
+ return r("ElCol", { key: o, attrs: { md: t.span, xs: 24, sm: 12 } }, [r("div", { staticClass: "item" }, [r("a", { attrs: { href: a.href, target: a.target }, on: { click: function(_) {
33
+ a.click && a.click(a);
34
+ } } }, [r("img", { staticClass: "item-img", attrs: { src: a.src, alt: "" } }), r("div", { staticClass: "item-text", style: { backgroundColor: t.bgText } }, [r("h3", { style: { color: t.colorText } }, [t._v(t._s(a.name))]), r("p", { style: { color: t.colorText } }, [t._v(t._s(a.text))])])])])]);
35
+ }), 1)], 1);
36
+ }, l = [], c = /* @__PURE__ */ e(
37
+ s,
38
+ n,
81
39
  l,
82
- c,
83
40
  !1,
84
- u,
41
+ null,
85
42
  null,
86
43
  null,
87
44
  null
88
45
  );
89
- function u(t) {
90
- for (let o in a)
91
- this[o] = a[o];
92
- }
93
- const f = /* @__PURE__ */ function() {
94
- return _.exports;
95
- }();
46
+ const p = c.exports;
96
47
  export {
97
- f as default
48
+ p as default
98
49
  };
@@ -1,42 +1,5 @@
1
- import { n as r } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
2
- var c = function() {
3
- var t = this, e = t.$createElement, a = t._self._c || e;
4
- return a("div", {
5
- staticClass: "avue-data-cardText"
6
- }, [a("ElRow", {
7
- attrs: {
8
- span: 24
9
- }
10
- }, t._l(t.data, function(n, 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
- }, [a("a", {
21
- attrs: {
22
- href: n.href,
23
- target: n.target
24
- },
25
- on: {
26
- click: function(d) {
27
- n.click && n.click(n);
28
- }
29
- }
30
- }, [a("div", {
31
- staticClass: "item-header"
32
- }, [t._v(" " + t._s(n.title) + " ")]), a("div", {
33
- staticClass: "item-content"
34
- }, [t._v(t._s(n.content))]), a("div", {
35
- staticClass: "item-footer"
36
- }, [a("span", [t._v(t._s(n.name))]), a("span", [t._v(t._s(n.date))])])])])]);
37
- }), 1)], 1);
38
- }, i = [];
39
- const _ = {
1
+ import { n as e } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
2
+ const r = {
40
3
  name: "DataCardtext",
41
4
  props: {
42
5
  option: {
@@ -59,24 +22,25 @@ const _ = {
59
22
  return this.option.data || [];
60
23
  }
61
24
  }
62
- }, s = {};
63
- var l = /* @__PURE__ */ r(
64
- _,
25
+ };
26
+ var o = function() {
27
+ var t = this, a = t._self._c;
28
+ return a("div", { staticClass: "avue-data-cardText" }, [a("ElRow", { attrs: { span: 24 } }, t._l(t.data, function(n, s) {
29
+ return a("ElCol", { key: s, attrs: { md: t.span, xs: 24, sm: 12 } }, [a("div", { staticClass: "item" }, [a("a", { attrs: { href: n.href, target: n.target }, on: { click: function(_) {
30
+ n.click && n.click(n);
31
+ } } }, [a("div", { staticClass: "item-header" }, [t._v(" " + t._s(n.title) + " ")]), a("div", { staticClass: "item-content" }, [t._v(t._s(n.content))]), a("div", { staticClass: "item-footer" }, [a("span", [t._v(t._s(n.name))]), a("span", [t._v(t._s(n.date))])])])])]);
32
+ }), 1)], 1);
33
+ }, c = [], i = /* @__PURE__ */ e(
34
+ r,
35
+ o,
65
36
  c,
66
- i,
67
37
  !1,
68
- u,
38
+ null,
69
39
  null,
70
40
  null,
71
41
  null
72
42
  );
73
- function u(t) {
74
- for (let e in s)
75
- this[e] = s[e];
76
- }
77
- const v = /* @__PURE__ */ function() {
78
- return l.exports;
79
- }();
43
+ const p = i.exports;
80
44
  export {
81
- v as default
45
+ p as default
82
46
  };
@@ -1,54 +1,9 @@
1
- import e from "@web-utils/component/count-up";
2
- import { n as r } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
3
- var l = function() {
4
- var t = this, s = t.$createElement, n = t._self._c || s;
5
- return n("div", {
6
- staticClass: "avue-data-display"
7
- }, [n("ElRow", {
8
- attrs: {
9
- span: 24
10
- }
11
- }, t._l(t.data, function(a, i) {
12
- return n("ElCol", {
13
- key: i,
14
- attrs: {
15
- md: t.span,
16
- xs: 12,
17
- sm: 12
18
- }
19
- }, [n("div", {
20
- staticClass: "item",
21
- style: {
22
- color: t.color
23
- }
24
- }, [n("a", {
25
- attrs: {
26
- href: a.href,
27
- target: a.target
28
- },
29
- on: {
30
- click: function(d) {
31
- a.click && a.click(a);
32
- }
33
- }
34
- }, [n("CountUp", {
35
- staticClass: "count",
36
- attrs: {
37
- animation: a.animation || t.animation,
38
- decimals: a.decimals || t.decimals,
39
- end: a.count
40
- }
41
- }), n("span", {
42
- staticClass: "splitLine"
43
- }), n("div", {
44
- staticClass: "title"
45
- }, [t._v(t._s(a.title))])], 1)])]);
46
- }), 1)], 1);
47
- }, c = [];
48
- const p = {
1
+ import o from "@web-utils/component/count-up";
2
+ import { n as i } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
3
+ const r = {
49
4
  name: "DataDisplay",
50
5
  components: {
51
- CountUp: e
6
+ CountUp: o
52
7
  },
53
8
  props: {
54
9
  option: {
@@ -74,24 +29,25 @@ const p = {
74
29
  return this.option.color || "rgb(63, 161, 255)";
75
30
  }
76
31
  }
77
- }, o = {};
78
- var u = /* @__PURE__ */ r(
79
- p,
32
+ };
33
+ var l = function() {
34
+ var t = this, n = t._self._c;
35
+ return n("div", { staticClass: "avue-data-display" }, [n("ElRow", { attrs: { span: 24 } }, t._l(t.data, function(a, s) {
36
+ return n("ElCol", { key: s, attrs: { md: t.span, xs: 12, sm: 12 } }, [n("div", { staticClass: "item", style: { color: t.color } }, [n("a", { attrs: { href: a.href, target: a.target }, on: { click: function(u) {
37
+ a.click && a.click(a);
38
+ } } }, [n("CountUp", { staticClass: "count", attrs: { animation: a.animation || t.animation, decimals: a.decimals || t.decimals, end: a.count } }), n("span", { staticClass: "splitLine" }), n("div", { staticClass: "title" }, [t._v(t._s(a.title))])], 1)])]);
39
+ }), 1)], 1);
40
+ }, e = [], c = /* @__PURE__ */ i(
41
+ r,
80
42
  l,
81
- c,
43
+ e,
82
44
  !1,
83
- _,
45
+ null,
84
46
  null,
85
47
  null,
86
48
  null
87
49
  );
88
- function _(t) {
89
- for (let s in o)
90
- this[s] = o[s];
91
- }
92
- const h = /* @__PURE__ */ function() {
93
- return u.exports;
94
- }();
50
+ const f = c.exports;
95
51
  export {
96
- h as default
52
+ f as default
97
53
  };
@@ -1,58 +1,5 @@
1
- import { n as c } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
2
- var e = function() {
3
- var t = this, a = t.$createElement, n = t._self._c || a;
4
- return n("div", {
5
- staticClass: "data-icons"
6
- }, [n("ElRow", {
7
- attrs: {
8
- span: 24
9
- }
10
- }, [t._l(t.data, function(s, i) {
11
- return [n("ElCol", {
12
- key: i,
13
- attrs: {
14
- xs: 12,
15
- sm: 6,
16
- md: t.span
17
- }
18
- }, [n("div", {
19
- staticClass: "item",
20
- class: [{
21
- "item--easy": t.discount
22
- }]
23
- }, [n("a", {
24
- attrs: {
25
- href: s.href,
26
- target: s.target
27
- },
28
- on: {
29
- click: function(d) {
30
- s.click && s.click(s);
31
- }
32
- }
33
- }, [n("div", {
34
- staticClass: "item-icon",
35
- style: {
36
- color: t.color
37
- }
38
- }, [n("i", {
39
- class: s.icon
40
- })]), n("div", {
41
- staticClass: "item-info"
42
- }, [n("span", [t._v(t._s(s.title))]), n("CountUp", {
43
- staticClass: "count",
44
- style: {
45
- color: t.color
46
- },
47
- attrs: {
48
- animation: s.animation || t.animation,
49
- decimals: s.decimals || t.decimals,
50
- end: s.count
51
- }
52
- })], 1)])])])];
53
- })], 2)], 1);
54
- }, r = [];
55
- const l = {
1
+ import { n as o } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
2
+ const i = {
56
3
  name: "DataIcons",
57
4
  props: {
58
5
  option: {
@@ -81,24 +28,25 @@ const l = {
81
28
  return this.option.discount || !1;
82
29
  }
83
30
  }
84
- }, o = {};
85
- var u = /* @__PURE__ */ c(
86
- l,
87
- e,
31
+ };
32
+ var c = function() {
33
+ var t = this, n = t._self._c;
34
+ return n("div", { staticClass: "data-icons" }, [n("ElRow", { attrs: { span: 24 } }, [t._l(t.data, function(a, s) {
35
+ return [n("ElCol", { key: s, attrs: { xs: 12, sm: 6, md: t.span } }, [n("div", { staticClass: "item", class: [{ "item--easy": t.discount }] }, [n("a", { attrs: { href: a.href, target: a.target }, on: { click: function(u) {
36
+ a.click && a.click(a);
37
+ } } }, [n("div", { staticClass: "item-icon", style: { color: t.color } }, [n("i", { class: a.icon })]), n("div", { staticClass: "item-info" }, [n("span", [t._v(t._s(a.title))]), n("CountUp", { staticClass: "count", style: { color: t.color }, attrs: { animation: a.animation || t.animation, decimals: a.decimals || t.decimals, end: a.count } })], 1)])])])];
38
+ })], 2)], 1);
39
+ }, r = [], e = /* @__PURE__ */ o(
40
+ i,
41
+ c,
88
42
  r,
89
43
  !1,
90
- _,
44
+ null,
91
45
  null,
92
46
  null,
93
47
  null
94
48
  );
95
- function _(t) {
96
- for (let a in o)
97
- this[a] = o[a];
98
- }
99
- const v = /* @__PURE__ */ function() {
100
- return u.exports;
101
- }();
49
+ const _ = e.exports;
102
50
  export {
103
- v as default
51
+ _ as default
104
52
  };
@@ -1,69 +1,5 @@
1
- import { n as l } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
2
- var i = function() {
3
- var a = this, e = a.$createElement, t = a._self._c || e;
4
- return t("div", {
5
- staticClass: "avue-data-imgtext"
6
- }, [t("ElRow", {
7
- attrs: {
8
- span: 24
9
- }
10
- }, a._l(a.data, function(s, o) {
11
- return t("ElCol", {
12
- key: o,
13
- attrs: {
14
- md: a.span,
15
- xs: 24,
16
- sm: 12
17
- }
18
- }, [t("div", {
19
- staticClass: "item",
20
- style: {
21
- color: a.color
22
- }
23
- }, [t("a", {
24
- attrs: {
25
- href: s.href,
26
- target: s.target
27
- },
28
- on: {
29
- click: function(n) {
30
- s.click && s.click(s);
31
- }
32
- }
33
- }, [t("div", {
34
- staticClass: "item-header"
35
- }, [t("img", {
36
- attrs: {
37
- src: s.imgsrc,
38
- alt: ""
39
- }
40
- })]), t("div", {
41
- staticClass: "item-content"
42
- }, [t("span", [a._v(a._s(s.title))]), t("p", [a._v(a._s(s.content))])]), t("div", {
43
- staticClass: "item-footer"
44
- }, [t("div", {
45
- staticClass: "time"
46
- }, [t("span", [a._v(a._s(s.time))])]), t("div", {
47
- staticClass: "imgs"
48
- }, [t("ul", a._l(s.headimg, function(n, c) {
49
- return t("li", {
50
- key: c
51
- }, [t("ElTooltip", {
52
- attrs: {
53
- effect: "dark",
54
- content: n.name,
55
- placement: "top-start"
56
- }
57
- }, [t("img", {
58
- attrs: {
59
- src: n.src,
60
- alt: ""
61
- }
62
- })])], 1);
63
- }), 0)])])])])]);
64
- }), 1)], 1);
65
- }, _ = [];
66
- const u = {
1
+ import { n as o } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
2
+ const l = {
67
3
  name: "DataImgtext",
68
4
  props: {
69
5
  option: {
@@ -83,24 +19,27 @@ const u = {
83
19
  return this.option.color || "rgb(63, 161, 255)";
84
20
  }
85
21
  }
86
- }, r = {};
87
- var p = /* @__PURE__ */ l(
88
- u,
22
+ };
23
+ var c = function() {
24
+ var a = this, t = a._self._c;
25
+ return t("div", { staticClass: "avue-data-imgtext" }, [t("ElRow", { attrs: { span: 24 } }, a._l(a.data, function(s, e) {
26
+ return t("ElCol", { key: e, attrs: { md: a.span, xs: 24, sm: 12 } }, [t("div", { staticClass: "item", style: { color: a.color } }, [t("a", { attrs: { href: s.href, target: s.target }, on: { click: function(n) {
27
+ s.click && s.click(s);
28
+ } } }, [t("div", { staticClass: "item-header" }, [t("img", { attrs: { src: s.imgsrc, alt: "" } })]), t("div", { staticClass: "item-content" }, [t("span", [a._v(a._s(s.title))]), t("p", [a._v(a._s(s.content))])]), t("div", { staticClass: "item-footer" }, [t("div", { staticClass: "time" }, [t("span", [a._v(a._s(s.time))])]), t("div", { staticClass: "imgs" }, [t("ul", a._l(s.headimg, function(n, r) {
29
+ return t("li", { key: r }, [t("ElTooltip", { attrs: { effect: "dark", content: n.name, placement: "top-start" } }, [t("img", { attrs: { src: n.src, alt: "" } })])], 1);
30
+ }), 0)])])])])]);
31
+ }), 1)], 1);
32
+ }, i = [], _ = /* @__PURE__ */ o(
33
+ l,
34
+ c,
89
35
  i,
90
- _,
91
36
  !1,
92
- v,
37
+ null,
93
38
  null,
94
39
  null,
95
40
  null
96
41
  );
97
- function v(a) {
98
- for (let e in r)
99
- this[e] = r[e];
100
- }
101
- const m = /* @__PURE__ */ function() {
102
- return p.exports;
103
- }();
42
+ const u = _.exports;
104
43
  export {
105
- m as default
44
+ u as default
106
45
  };
@@ -1,65 +1,5 @@
1
- import { n as o } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
2
- var c = function() {
3
- var t = this, e = t.$createElement, a = t._self._c || e;
4
- return a("div", {
5
- staticClass: "avue-data-operatext"
6
- }, [a("ElRow", {
7
- attrs: {
8
- span: 24
9
- }
10
- }, t._l(t.data, function(s, i) {
11
- return a("ElCol", {
12
- key: i,
13
- attrs: {
14
- md: t.span,
15
- xs: 24,
16
- sm: 12
17
- }
18
- }, [a("div", {
19
- staticClass: "item"
20
- }, [a("a", {
21
- attrs: {
22
- href: s.href
23
- },
24
- on: {
25
- click: function(n) {
26
- s.click && s.click(s);
27
- }
28
- }
29
- }, [a("div", {
30
- staticClass: "item-header",
31
- style: {
32
- backgroundColor: s.color,
33
- backgroundImage: `url(${s.colorImg})`
34
- }
35
- }, [a("span", {
36
- staticClass: "item-title"
37
- }, [t._v(t._s(s.title))]), a("span", {
38
- staticClass: "item-subtitle"
39
- }, [t._v(t._s(s.subtitle))])]), a("div", {
40
- staticClass: "item-content"
41
- }, [a("div", {
42
- staticClass: "item-img"
43
- }, [a("img", {
44
- attrs: {
45
- src: s.img,
46
- alt: ""
47
- }
48
- })]), a("div", {
49
- staticClass: "item-list"
50
- }, t._l(s.list, function(n, r) {
51
- return a("div", {
52
- key: r,
53
- staticClass: "item-row"
54
- }, [a("span", {
55
- staticClass: "item-label"
56
- }, [t._v(t._s(n.label))]), a("span", {
57
- staticClass: "item-value"
58
- }, [t._v(t._s(n.value))])]);
59
- }), 0)])])])]);
60
- }), 1)], 1);
61
- }, _ = [];
62
- const u = {
1
+ import { n as i } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
2
+ const r = {
63
3
  name: "DataOperatext",
64
4
  props: {
65
5
  option: {
@@ -76,24 +16,27 @@ const u = {
76
16
  return this.option.data || [];
77
17
  }
78
18
  }
79
- }, l = {};
80
- var p = /* @__PURE__ */ o(
81
- u,
19
+ };
20
+ var c = function() {
21
+ var a = this, t = a._self._c;
22
+ return t("div", { staticClass: "avue-data-operatext" }, [t("ElRow", { attrs: { span: 24 } }, a._l(a.data, function(s, l) {
23
+ return t("ElCol", { key: l, attrs: { md: a.span, xs: 24, sm: 12 } }, [t("div", { staticClass: "item" }, [t("a", { attrs: { href: s.href }, on: { click: function(e) {
24
+ s.click && s.click(s);
25
+ } } }, [t("div", { staticClass: "item-header", style: { backgroundColor: s.color, backgroundImage: `url(${s.colorImg})` } }, [t("span", { staticClass: "item-title" }, [a._v(a._s(s.title))]), t("span", { staticClass: "item-subtitle" }, [a._v(a._s(s.subtitle))])]), t("div", { staticClass: "item-content" }, [t("div", { staticClass: "item-img" }, [t("img", { attrs: { src: s.img, alt: "" } })]), t("div", { staticClass: "item-list" }, a._l(s.list, function(e, n) {
26
+ return t("div", { key: n, staticClass: "item-row" }, [t("span", { staticClass: "item-label" }, [a._v(a._s(e.label))]), t("span", { staticClass: "item-value" }, [a._v(a._s(e.value))])]);
27
+ }), 0)])])])]);
28
+ }), 1)], 1);
29
+ }, o = [], _ = /* @__PURE__ */ i(
30
+ r,
82
31
  c,
83
- _,
32
+ o,
84
33
  !1,
85
- v,
34
+ null,
86
35
  null,
87
36
  null,
88
37
  null
89
38
  );
90
- function v(t) {
91
- for (let e in l)
92
- this[e] = l[e];
93
- }
94
- const m = /* @__PURE__ */ function() {
95
- return p.exports;
96
- }();
39
+ const d = _.exports;
97
40
  export {
98
- m as default
41
+ d as default
99
42
  };
@@ -1,53 +1,5 @@
1
- import { n as o } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
2
- var l = function() {
3
- var t = this, s = t.$createElement, a = t._self._c || s;
4
- return a("div", {
5
- staticClass: "avue-data-panel"
6
- }, [a("ElRow", {
7
- attrs: {
8
- span: 24
9
- }
10
- }, t._l(t.data, function(n, i) {
11
- return a("ElCol", {
12
- key: i,
13
- attrs: {
14
- md: t.span,
15
- xs: 24,
16
- sm: 12
17
- }
18
- }, [a("a", {
19
- attrs: {
20
- href: n.href
21
- },
22
- on: {
23
- click: function(d) {
24
- n.click && n.click(n);
25
- }
26
- }
27
- }, [a("div", {
28
- staticClass: "item"
29
- }, [a("div", {
30
- staticClass: "item-icon"
31
- }, [a("i", {
32
- class: n.icon,
33
- style: {
34
- color: n.color
35
- }
36
- })]), a("div", {
37
- staticClass: "item-info"
38
- }, [a("div", {
39
- staticClass: "item-title"
40
- }, [t._v(t._s(n.title))]), a("CountUp", {
41
- staticClass: "item-count",
42
- attrs: {
43
- animation: n.animation || t.animation,
44
- decimals: n.decimals || t.decimals,
45
- end: n.count
46
- }
47
- })], 1)])])]);
48
- }), 1)], 1);
49
- }, c = [];
50
- const r = {
1
+ import { n as i } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
2
+ const e = {
51
3
  name: "DataPanel",
52
4
  props: {
53
5
  option: {
@@ -70,24 +22,25 @@ const r = {
70
22
  return this.option.data || [];
71
23
  }
72
24
  }
73
- }, e = {};
74
- var u = /* @__PURE__ */ o(
75
- r,
25
+ };
26
+ var o = function() {
27
+ var n = this, t = n._self._c;
28
+ return t("div", { staticClass: "avue-data-panel" }, [t("ElRow", { attrs: { span: 24 } }, n._l(n.data, function(a, s) {
29
+ return t("ElCol", { key: s, attrs: { md: n.span, xs: 24, sm: 12 } }, [t("a", { attrs: { href: a.href }, on: { click: function(_) {
30
+ a.click && a.click(a);
31
+ } } }, [t("div", { staticClass: "item" }, [t("div", { staticClass: "item-icon" }, [t("i", { class: a.icon, style: { color: a.color } })]), t("div", { staticClass: "item-info" }, [t("div", { staticClass: "item-title" }, [n._v(n._s(a.title))]), t("CountUp", { staticClass: "item-count", attrs: { animation: a.animation || n.animation, decimals: a.decimals || n.decimals, end: a.count } })], 1)])])]);
32
+ }), 1)], 1);
33
+ }, l = [], c = /* @__PURE__ */ i(
34
+ e,
35
+ o,
76
36
  l,
77
- c,
78
37
  !1,
79
- _,
38
+ null,
80
39
  null,
81
40
  null,
82
41
  null
83
42
  );
84
- function _(t) {
85
- for (let s in e)
86
- this[s] = e[s];
87
- }
88
- const v = /* @__PURE__ */ function() {
89
- return u.exports;
90
- }();
43
+ const u = c.exports;
91
44
  export {
92
- v as default
45
+ u as default
93
46
  };