@web-utils/component 2.70.0 → 3.0.1

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 (189) hide show
  1. package/address-input/index.mjs +16 -14
  2. package/awesome-button/index.mjs +30 -29
  3. package/card/index.mjs +42 -40
  4. package/carousel/index.mjs +27 -25
  5. package/chat/index.mjs +70 -59
  6. package/chunk-file-uploader/index.mjs +594 -35
  7. package/chunk-file-uploader/style.css +1 -1
  8. package/chunks/CountUp.f1a19f35.mjs +124 -0
  9. package/chunks/CountUp.vue_vue_type_template_lang.1f68c96e.mjs +8 -0
  10. package/chunks/EasyPopup.vue_vue_type_style_index_0_lang.89350bda.mjs +32 -0
  11. package/chunks/EditableTree.vue_vue_type_style_index_0_lang.5dba9f89.mjs +356 -0
  12. package/chunks/ElementDialog.d8f3105c.mjs +211 -0
  13. package/chunks/ElementDialog.vue_vue_type_style_index_0_lang.57cb8e07.mjs +95 -0
  14. package/chunks/EmptyView.e2430422.mjs +51 -0
  15. package/chunks/EmptyView.vue_vue_type_style_index_0_lang.ffa84770.mjs +23 -0
  16. package/chunks/FlowNode.vue_vue_type_template_lang.662bdcfa.mjs +37 -0
  17. package/chunks/FormInput.vue_vue_type_template_lang.3cb79386.mjs +65 -0
  18. package/chunks/FormItem.2920ac0c.mjs +45 -0
  19. package/chunks/FormItem.vue_vue_type_style_index_0_lang.970bd712.mjs +258 -0
  20. package/chunks/FormItemGroup.41daddb6.mjs +64 -0
  21. package/chunks/FormItemGroup.vue_vue_type_style_index_0_lang.b588a8ea.mjs +155 -0
  22. package/chunks/FyCurd.8acd2983.mjs +548 -0
  23. package/chunks/FyCurd.vue_vue_type_style_index_0_lang.4fbd4b30.mjs +2945 -0
  24. package/chunks/FyDate.vue_vue_type_style_index_0_lang.429c03e3.mjs +47 -0
  25. package/chunks/FyDynamic.vue_vue_type_style_index_0_lang.304417ce.mjs +151 -0
  26. package/chunks/FyEmpty.vue_vue_type_style_index_0_lang.fc8bd24c.mjs +22 -0
  27. package/chunks/FyForm.0294e494.mjs +439 -0
  28. package/chunks/FyForm.vue_vue_type_style_index_0_lang.6e64daee.mjs +737 -0
  29. package/chunks/FyInput.vue_vue_type_template_lang.d2c56811.mjs +93 -0
  30. package/chunks/FyInputColor.vue_vue_type_template_lang.6eca0ddd.mjs +56 -0
  31. package/chunks/FyInputIcon.vue_vue_type_style_index_0_lang.11a6a221.mjs +158 -0
  32. package/chunks/FyRate.vue_vue_type_style_index_0_lang.82174185.mjs +39 -0
  33. package/chunks/FySelect.vue_vue_type_style_index_0_lang.5f0f3244.mjs +102 -0
  34. package/chunks/FyTabs.vue_vue_type_template_lang.66af5ac9.mjs +41 -0
  35. package/chunks/HighlightJS.vue_vue_type_style_index_0_lang.fefeaa3b.mjs +15 -0
  36. package/chunks/IconTemp.42c48e1f.mjs +32 -0
  37. package/chunks/IconTemp.vue_vue_type_style_index_0_lang.a0777b31.mjs +23 -0
  38. package/chunks/InputNumber.vue_vue_type_style_index_0_lang.18046bd3.mjs +172 -0
  39. package/chunks/LoadingView.vue_vue_type_style_index_0_lang.4c3fff2a.mjs +23 -0
  40. package/chunks/NavBar.vue_vue_type_style_index_0_lang.e21b57f3.mjs +21 -0
  41. package/chunks/Page.81f4b8d9.mjs +32 -0
  42. package/chunks/Page.vue_vue_type_style_index_0_lang.cb4f9bf2.mjs +13 -0
  43. package/chunks/PageHeader.vue_vue_type_style_index_0_lang.3bcca5aa.mjs +26 -0
  44. package/chunks/PageSkeleton.vue_vue_type_style_index_0_lang.8621381f.mjs +88 -0
  45. package/chunks/PageableTable.333cbdc1.mjs +335 -0
  46. package/chunks/PageableTable.vue_vue_type_style_index_0_lang.fd89fb43.mjs +148 -0
  47. package/chunks/ResizeObserver.60f728f0.mjs +54 -0
  48. package/chunks/ResizeObserver.vue_vue_type_style_index_0_lang.7079029c.mjs +13 -0
  49. package/chunks/TableColumn.8503272e.mjs +106 -0
  50. package/chunks/Toolbar.5c539dbb.mjs +24 -0
  51. package/chunks/Toolbar.vue_vue_type_style_index_0_lang.7594243c.mjs +275 -0
  52. package/chunks/ToolbarButton.vue_vue_type_style_index_0_lang.e2cb14ba.mjs +31 -0
  53. package/chunks/XInputTag.vue_vue_type_style_index_0_lang.7ad045b3.mjs +74 -0
  54. package/chunks/confirmable-mixin.26e1d0e0.mjs +197 -0
  55. package/chunks/{dataformat.f995e2f9.mjs → dataformat.816df805.mjs} +5 -5
  56. package/chunks/{dic.eaac0823.mjs → dic.3b4ba802.mjs} +40 -40
  57. package/chunks/{event.b5d855dd.mjs → event.4377230d.mjs} +2 -2
  58. package/chunks/{index.57f871af.mjs → index.d91bd77a.mjs} +7 -7
  59. package/chunks/{init.47f219b4.mjs → init.f0a03127.mjs} +2 -2
  60. package/chunks/{util.ae730cde.mjs → util.7844e2c2.mjs} +21 -21
  61. package/color-picker/index.mjs +200 -32
  62. package/confirm-button/index.mjs +1 -1
  63. package/confirmable/index.mjs +1 -1
  64. package/count-up/index.mjs +14 -17
  65. package/data-box/index.mjs +36 -33
  66. package/data-card/index.mjs +35 -33
  67. package/data-cardtext/index.mjs +29 -27
  68. package/data-display/index.mjs +37 -34
  69. package/data-icons/index.mjs +32 -29
  70. package/data-imgtext/index.mjs +30 -27
  71. package/data-operatext/index.mjs +41 -39
  72. package/data-panel/index.mjs +39 -36
  73. package/data-pay/index.mjs +26 -22
  74. package/data-price/index.mjs +34 -32
  75. package/data-progress/index.mjs +32 -28
  76. package/data-rotate/index.mjs +38 -35
  77. package/data-table-picker/index.mjs +25 -22
  78. package/data-tabs/index.mjs +35 -32
  79. package/dialog-form/index.mjs +41 -32
  80. package/dynamic-table/index.mjs +47 -42
  81. package/easy-popup/index.mjs +29 -56
  82. package/editable-progress/index.mjs +16 -14
  83. package/editable-tree/index.mjs +129 -476
  84. package/egd-collapse-item/index.mjs +1 -2
  85. package/element-dialog/index.mjs +37 -126
  86. package/empty-view/index.mjs +13 -31
  87. package/flex-column/index.mjs +1 -1
  88. package/flex-item/index.mjs +1 -1
  89. package/flex-row/index.mjs +1 -1
  90. package/flow/index.mjs +105 -40
  91. package/flow-designer/index.mjs +1190 -1114
  92. package/flow-node/index.mjs +15 -47
  93. package/flow-viewer/index.mjs +167 -78
  94. package/form-block/index.mjs +24 -22
  95. package/form-cascader/index.mjs +29 -29
  96. package/form-checkbox-group/index.mjs +76 -31
  97. package/form-date-picker/index.mjs +21 -20
  98. package/form-holder/index.mjs +16 -15
  99. package/form-input/index.mjs +30 -88
  100. package/form-input-email/index.mjs +28 -28
  101. package/form-input-id-card/index.mjs +37 -37
  102. package/form-input-number/index.mjs +219 -59
  103. package/form-input-phone-number/index.mjs +25 -25
  104. package/form-input-tag/index.mjs +160 -38
  105. package/form-input-time/index.mjs +23 -23
  106. package/form-item/index.mjs +15 -144
  107. package/form-item-group/index.mjs +15 -163
  108. package/form-radio-group/index.mjs +39 -38
  109. package/form-select/index.mjs +33 -32
  110. package/form-switch/index.mjs +26 -26
  111. package/form-textarea/index.mjs +26 -26
  112. package/form-view/index.mjs +46 -42
  113. package/fy-array/index.mjs +65 -61
  114. package/fy-cascader/index.mjs +14 -13
  115. package/fy-checkbox/index.mjs +37 -32
  116. package/fy-code/index.mjs +11 -14
  117. package/fy-curd/index.mjs +206 -2795
  118. package/fy-date/index.mjs +16 -57
  119. package/fy-draggable/index.mjs +21 -20
  120. package/fy-dynamic/index.mjs +64 -207
  121. package/fy-empty/index.mjs +12 -29
  122. package/fy-form/index.mjs +178 -732
  123. package/fy-form-design/index.mjs +1738 -1179
  124. package/fy-input/index.mjs +15 -101
  125. package/fy-input-color/index.mjs +17 -66
  126. package/fy-input-icon/index.mjs +21 -116
  127. package/fy-input-map/index.mjs +27 -24
  128. package/fy-input-number/index.mjs +23 -22
  129. package/fy-input-table/index.mjs +22 -18
  130. package/fy-input-tree/index.mjs +32 -28
  131. package/fy-progress/index.mjs +24 -23
  132. package/fy-radio/index.mjs +23 -18
  133. package/fy-rate/index.mjs +16 -49
  134. package/fy-select/index.mjs +29 -122
  135. package/fy-slider/index.mjs +18 -17
  136. package/fy-switch/index.mjs +21 -20
  137. package/fy-tabs/index.mjs +14 -48
  138. package/fy-time/index.mjs +20 -14
  139. package/fy-title/index.mjs +1 -1
  140. package/fy-tree/index.mjs +26 -20
  141. package/fy-u-editor/index.mjs +1 -1
  142. package/fy-upload/index.mjs +76 -74
  143. package/guide-steps/index.mjs +24 -22
  144. package/highlight-j-s/index.mjs +19 -29
  145. package/icon-temp/index.mjs +12 -30
  146. package/iframe-window/index.mjs +19 -18
  147. package/image-cropper/index.mjs +53 -51
  148. package/image-preview/index.mjs +27 -25
  149. package/input-number/index.mjs +63 -172
  150. package/input-number-range/index.mjs +24 -23
  151. package/license/index.mjs +1 -1
  152. package/loading-view/index.mjs +15 -33
  153. package/login/index.mjs +40 -35
  154. package/nav-bar/index.mjs +15 -30
  155. package/notice/index.mjs +19 -18
  156. package/package.json +1 -1
  157. package/page/index.mjs +12 -20
  158. package/page-header/index.mjs +13 -34
  159. package/page-index/index.mjs +34 -33
  160. package/page-index-top/index.mjs +100 -51
  161. package/page-skeleton/index.mjs +18 -35
  162. package/page-skeleton-new/index.mjs +16 -15
  163. package/pageable-table/index.mjs +85 -223
  164. package/pageable-view/index.mjs +34 -33
  165. package/present-view/index.mjs +75 -71
  166. package/record-video/index.mjs +1 -1
  167. package/resize-observer/index.mjs +21 -29
  168. package/search/index.mjs +29 -27
  169. package/search-popover/index.mjs +1 -1
  170. package/sign/index.mjs +1 -1
  171. package/split-pane/index.mjs +40 -45
  172. package/static-pageable-table/index.mjs +20 -18
  173. package/swiper/index.mjs +27 -25
  174. package/table-view/index.mjs +627 -89
  175. package/tag-render/index.mjs +21 -19
  176. package/text-ellipsis/index.mjs +13 -12
  177. package/tinymce-editor/index.mjs +73 -72
  178. package/toolbar/index.mjs +15 -208
  179. package/toolbar-button/index.mjs +32 -57
  180. package/verify/index.mjs +1 -1
  181. package/vue-cron/index.mjs +112 -104
  182. package/watermark/index.mjs +1 -1
  183. package/web-types.json +1 -1
  184. package/x-input-tag/index.mjs +51 -117
  185. package/chunks/FormTemp.7f91629d.mjs +0 -165
  186. package/chunks/confirmable-mixin.817b542f.mjs +0 -116
  187. package/chunks/form-input-mixin.4632ad36.mjs +0 -24
  188. package/chunks/form-item-mixin.ad148e7b.mjs +0 -140
  189. package/chunks/input-number-mixin.41a066be.mjs +0 -60
@@ -1,9 +1,13 @@
1
- import { p as u, e as h } from "../chunks/event.b5d855dd.mjs";
2
- import { isBlank as n } from "@web-utils/core";
3
- import { n as p } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
4
- var f = function() {
1
+ import { p as u, e as h } from "../chunks/event.4377230d.mjs";
2
+ import { isBlank as r } from "@web-utils/core";
3
+ import p from "element-ui/lib/tree";
4
+ import f from "element-ui/lib/option";
5
+ import y from "element-ui/lib/input";
6
+ import _ from "element-ui/lib/select";
7
+ import { n as m } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
8
+ var k = function() {
5
9
  var e = this, t = e.$createElement, l = e._self._c || t;
6
- return l("ElSelect", {
10
+ return l(_, {
7
11
  ref: "main",
8
12
  staticClass: "avue-input-tree",
9
13
  attrs: {
@@ -26,7 +30,7 @@ var f = function() {
26
30
  }
27
31
  }, [e.filter ? l("div", {
28
32
  staticClass: "avue-input-tree__filter"
29
- }, [l("ElInput", {
33
+ }, [l(y, {
30
34
  attrs: {
31
35
  size: "mini",
32
36
  placeholder: e.filterText
@@ -38,12 +42,12 @@ var f = function() {
38
42
  },
39
43
  expression: "filterValue"
40
44
  }
41
- })], 1) : e._e(), l("ElOption", {
45
+ })], 1) : e._e(), l(f, {
42
46
  staticClass: "avue-input-tree__dropdown",
43
47
  attrs: {
44
48
  value: e.text
45
49
  }
46
- }, [l("ElTree", {
50
+ }, [l(p, {
47
51
  ref: "tree",
48
52
  staticClass: "avue-input-tree__select",
49
53
  attrs: {
@@ -92,8 +96,8 @@ var f = function() {
92
96
  }
93
97
  }], null, !0)
94
98
  })], 1)], 1);
95
- }, y = [];
96
- const m = {
99
+ }, v = [];
100
+ const x = {
97
101
  name: "FyInputTree",
98
102
  mixins: [u, h],
99
103
  props: {
@@ -200,9 +204,9 @@ const m = {
200
204
  },
201
205
  handleTreeLoad(e, t) {
202
206
  const l = (i) => {
203
- const s = (r, o, c) => {
204
- r.forEach((a) => {
205
- a[this.valueKey] === o ? a[this.childrenKey] = c : a[this.childrenKey] && s(a[this.childrenKey]);
207
+ const s = (n, d, c) => {
208
+ n.forEach((a) => {
209
+ a[this.valueKey] === d ? a[this.childrenKey] = c : a[this.childrenKey] && s(a[this.childrenKey]);
206
210
  });
207
211
  };
208
212
  s(this.dicList, e.key, i), t(i);
@@ -213,7 +217,7 @@ const m = {
213
217
  return e ? t[this.labelKey].toLowerCase().indexOf(e.toLowerCase()) !== -1 : !0;
214
218
  },
215
219
  checkChange(e, t, l, i) {
216
- this.text.splice(0, this.text.length), this.$refs.tree.getCheckedNodes(this.leafOnly, !1).forEach((r) => this.text.push(r[this.valueKey])), typeof this.checked == "function" && this.checked(e, t, l, i);
220
+ this.text.splice(0, this.text.length), this.$refs.tree.getCheckedNodes(this.leafOnly, !1).forEach((n) => this.text.push(n[this.valueKey])), typeof this.checked == "function" && this.checked(e, t, l, i);
217
221
  },
218
222
  getHalfList() {
219
223
  let e = this.$refs.tree.getCheckedNodes(!1, !0);
@@ -237,31 +241,31 @@ const m = {
237
241
  disabledParentNode(e, t) {
238
242
  e.forEach((l) => {
239
243
  const i = l[this.childrenKey];
240
- n(i) || (t || (l.disabled = !0), this.disabledParentNode(i, t));
244
+ r(i) || (t || (l.disabled = !0), this.disabledParentNode(i, t));
241
245
  });
242
246
  },
243
247
  handleNodeClick(e, t, l) {
244
- e.disabled || (typeof this.nodeClick == "function" && this.nodeClick(e, t, l), !this.multiple && (n(e[this.childrenKey]) && !this.multiple || this.parent) && (this.text = e[this.valueKey], this.$refs.main.blur()));
248
+ e.disabled || (typeof this.nodeClick == "function" && this.nodeClick(e, t, l), !this.multiple && (r(e[this.childrenKey]) && !this.multiple || this.parent) && (this.text = e[this.valueKey], this.$refs.main.blur()));
245
249
  }
246
250
  }
247
- }, d = {};
248
- var _ = /* @__PURE__ */ p(
249
- m,
250
- f,
251
- y,
252
- !1,
251
+ }, o = {};
252
+ var C = /* @__PURE__ */ m(
253
+ x,
253
254
  k,
255
+ v,
256
+ !1,
257
+ K,
254
258
  null,
255
259
  null,
256
260
  null
257
261
  );
258
- function k(e) {
259
- for (let t in d)
260
- this[t] = d[t];
262
+ function K(e) {
263
+ for (let t in o)
264
+ this[t] = o[t];
261
265
  }
262
- const K = /* @__PURE__ */ function() {
263
- return _.exports;
266
+ const E = /* @__PURE__ */ function() {
267
+ return C.exports;
264
268
  }();
265
269
  export {
266
- K as default
270
+ E as default
267
271
  };
@@ -1,21 +1,22 @@
1
- import { n } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
2
- var s = function() {
3
- var e = this, t = e.$createElement, r = e._self._c || t;
1
+ import o from "element-ui/lib/progress";
2
+ import { n as s } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
3
+ var i = function() {
4
+ var t = this, e = t.$createElement, r = t._self._c || e;
4
5
  return r("div", {
5
6
  staticClass: "avue-progress"
6
- }, [r("ElProgress", {
7
+ }, [r(o, {
7
8
  attrs: {
8
- type: e.type,
9
- color: e.color,
10
- width: e.width,
9
+ type: t.type,
10
+ color: t.color,
11
+ width: t.width,
11
12
  "text-inside": "",
12
- "show-text": e.showText,
13
- "stroke-width": e.strokeWidth,
14
- percentage: e.percentage
13
+ "show-text": t.showText,
14
+ "stroke-width": t.strokeWidth,
15
+ percentage: t.percentage
15
16
  }
16
17
  })], 1);
17
- }, i = [];
18
- const a = {
18
+ }, p = [];
19
+ const c = {
19
20
  name: "FyProgress",
20
21
  props: {
21
22
  showText: {
@@ -37,24 +38,24 @@ const a = {
37
38
  type: [Number]
38
39
  }
39
40
  }
40
- }, o = {};
41
- var c = /* @__PURE__ */ n(
42
- a,
43
- s,
41
+ }, n = {};
42
+ var a = /* @__PURE__ */ s(
43
+ c,
44
44
  i,
45
- !1,
46
45
  p,
46
+ !1,
47
+ _,
47
48
  null,
48
49
  null,
49
50
  null
50
51
  );
51
- function p(e) {
52
- for (let t in o)
53
- this[t] = o[t];
52
+ function _(t) {
53
+ for (let e in n)
54
+ this[e] = n[e];
54
55
  }
55
- const _ = /* @__PURE__ */ function() {
56
- return c.exports;
56
+ const m = /* @__PURE__ */ function() {
57
+ return a.exports;
57
58
  }();
58
59
  export {
59
- _ as default
60
+ m as default
60
61
  };
@@ -1,10 +1,12 @@
1
- import { p as l, e as s } from "../chunks/event.b5d855dd.mjs";
2
- import { n as i } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
3
- var c = function() {
4
- var e = this, t = e.$createElement, a = e._self._c || t;
5
- return a("div", {
1
+ import { p as l, e as s } from "../chunks/event.4377230d.mjs";
2
+ import i from "element-ui/lib/radio";
3
+ import _ from "element-ui/lib/radio-group";
4
+ import { n as c } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
5
+ var u = function() {
6
+ var e = this, t = e.$createElement, o = e._self._c || t;
7
+ return o("div", {
6
8
  staticClass: "avue-radio"
7
- }, [a("ElRadioGroup", {
9
+ }, [o(_, {
8
10
  attrs: {
9
11
  size: e.size,
10
12
  disabled: e.disabled
@@ -21,9 +23,9 @@ var c = function() {
21
23
  },
22
24
  expression: "text"
23
25
  }
24
- }, e._l(e.dic, function(n, o) {
25
- return a(e.componentName, {
26
- key: o,
26
+ }, e._l(e.dic, function(n, r) {
27
+ return o(e.componentName, {
28
+ key: r,
27
29
  tag: "Component",
28
30
  attrs: {
29
31
  label: n[e.valueKey],
@@ -34,8 +36,11 @@ var c = function() {
34
36
  }, [e._v(" " + e._s(n[e.labelKey]) + " ")]);
35
37
  }), 1)], 1);
36
38
  }, d = [];
37
- const u = {
39
+ const p = {
38
40
  name: "FyRadio",
41
+ components: {
42
+ ElRadio: i
43
+ },
39
44
  mixins: [l, s],
40
45
  props: {
41
46
  // eslint-disable-next-line vue/no-unused-properties
@@ -47,10 +52,10 @@ const u = {
47
52
  name: "radio"
48
53
  };
49
54
  }
50
- }, r = {};
51
- var _ = /* @__PURE__ */ i(
55
+ }, a = {};
56
+ var m = /* @__PURE__ */ c(
57
+ p,
52
58
  u,
53
- c,
54
59
  d,
55
60
  !1,
56
61
  v,
@@ -59,12 +64,12 @@ var _ = /* @__PURE__ */ i(
59
64
  null
60
65
  );
61
66
  function v(e) {
62
- for (let t in r)
63
- this[t] = r[t];
67
+ for (let t in a)
68
+ this[t] = a[t];
64
69
  }
65
- const y = /* @__PURE__ */ function() {
66
- return _.exports;
70
+ const R = /* @__PURE__ */ function() {
71
+ return m.exports;
67
72
  }();
68
73
  export {
69
- y as default
74
+ R as default
70
75
  };
package/fy-rate/index.mjs CHANGED
@@ -1,42 +1,9 @@
1
- import { p as a, e as r } from "../chunks/event.b5d855dd.mjs";
1
+ import { p as o, e as r } from "../chunks/event.4377230d.mjs";
2
+ import { s, r as a } from "../chunks/FyRate.vue_vue_type_style_index_0_lang.82174185.mjs";
2
3
  import { n } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
3
- var i = function() {
4
- var e = this, o = e.$createElement, s = e._self._c || o;
5
- return s("ElRate", {
6
- attrs: {
7
- max: e.max,
8
- "low-threshold": e.lowThreshold,
9
- "high-threshold": e.highThreshold,
10
- "disabled-void-color": e.disabledVoidColor,
11
- "disabled-void-icon-class": e.disabledVoidIconClass,
12
- "allow-half": e.allowHalf,
13
- readonly: e.readonly,
14
- texts: e.texts,
15
- "show-score": e.showScore,
16
- "score-template": e.scoreTemplate,
17
- "show-text": e.showText,
18
- "icon-classes": e.iconClasses,
19
- "void-icon-class": e.voidIconClass,
20
- disabled: e.disabled,
21
- colors: e.colors
22
- },
23
- nativeOn: {
24
- click: function(t) {
25
- return e.handleClick.apply(null, arguments);
26
- }
27
- },
28
- model: {
29
- value: e.text,
30
- callback: function(t) {
31
- e.text = t;
32
- },
33
- expression: "text"
34
- }
35
- });
36
- }, d = [];
37
- const c = {
4
+ const l = {
38
5
  name: "FyRate",
39
- mixins: [a, r],
6
+ mixins: [o, r],
40
7
  props: {
41
8
  allowHalf: Boolean,
42
9
  lowThreshold: Number,
@@ -83,24 +50,24 @@ const c = {
83
50
  mounted() {
84
51
  },
85
52
  methods: {}
86
- }, l = {};
87
- var h = /* @__PURE__ */ n(
88
- c,
89
- i,
90
- d,
53
+ }, t = {};
54
+ var i = /* @__PURE__ */ n(
55
+ l,
56
+ a,
57
+ s,
91
58
  !1,
92
- u,
59
+ p,
93
60
  null,
94
61
  null,
95
62
  null
96
63
  );
97
- function u(e) {
98
- for (let o in l)
99
- this[o] = l[o];
64
+ function p(d) {
65
+ for (let e in t)
66
+ this[e] = t[e];
100
67
  }
101
- const _ = /* @__PURE__ */ function() {
102
- return h.exports;
68
+ const f = /* @__PURE__ */ function() {
69
+ return i.exports;
103
70
  }();
104
71
  export {
105
- _ as default
72
+ f as default
106
73
  };
@@ -1,106 +1,13 @@
1
- import { p as r, e as c } from "../chunks/event.b5d855dd.mjs";
2
- import { s as d } from "../chunks/dic.eaac0823.mjs";
3
- import { b as u } from "../chunks/util.ae730cde.mjs";
4
- import { isBlank as p } from "@web-utils/core";
5
- import { p as h } from "../chunks/packages.1fc9ccba.mjs";
6
- import { n as f } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
7
- var _ = function() {
8
- var e = this, a = e.$createElement, l = e._self._c || a;
9
- return l("ElSelect", {
10
- ref: "main",
11
- staticClass: "avue-select",
12
- attrs: {
13
- size: e.size,
14
- loading: e.loading,
15
- "loading-text": e.loadingText,
16
- multiple: e.multiple,
17
- filterable: e.remote ? !0 : e.filterable,
18
- remote: e.remote,
19
- readonly: e.readonly,
20
- "no-match-text": e.noMatchText,
21
- "no-data-text": e.noDataText,
22
- "remote-method": e.remote ? e.handleRemoteMethod : void 0,
23
- "popper-class": e.popperClass,
24
- "popper-append-to-body": e.popperAppendToBody,
25
- "collapse-tags": e.tags,
26
- clearable: e.clearableVal,
27
- placeholder: e.placeholder,
28
- "multiple-limit": e.limit,
29
- "allow-create": e.allowCreate,
30
- "default-first-option": e.defaultFirstOption,
31
- disabled: e.disabled
32
- },
33
- on: {
34
- focus: e.handleFocus,
35
- blur: e.handleBlur,
36
- change: e.changeSelect
37
- },
38
- nativeOn: {
39
- click: function(t) {
40
- return e.handleClick.apply(null, arguments);
41
- }
42
- },
43
- model: {
44
- value: e.text,
45
- callback: function(t) {
46
- e.text = t;
47
- },
48
- expression: "text"
49
- }
50
- }, [e.group ? e._l(e.netDic, function(t, n) {
51
- return l("ElOptionGroup", {
52
- key: n,
53
- attrs: {
54
- label: e.getLabelText(t)
55
- }
56
- }, e._l(t[e.groupsKey], function(s, i) {
57
- return l("ElOption", {
58
- key: i,
59
- attrs: {
60
- disabled: s[e.disabledKey],
61
- label: e.getLabelText(s),
62
- value: s[e.valueKey]
63
- }
64
- }, [e.$scopedSlots.default ? e._t("default", null, {
65
- label: e.labelKey,
66
- value: e.valueKey,
67
- item: s
68
- }) : [l("span", [e._v(e._s(e.getLabelText(s)))]), s[e.descKey] ? l("span", {
69
- staticClass: "avue-select__desc"
70
- }, [e._v(e._s(s[e.descKey]))]) : e._e()]], 2);
71
- }), 1);
72
- }) : [e.all && e.multiple ? l("ElCheckbox", {
73
- staticClass: "avue-select__check",
74
- on: {
75
- change: e.selectAll
76
- },
77
- model: {
78
- value: e.checkAll,
79
- callback: function(t) {
80
- e.checkAll = t;
81
- },
82
- expression: "checkAll"
83
- }
84
- }, [e._v(" 全选 ")]) : e._e(), e._l(e.netDic, function(t, n) {
85
- return l("ElOption", {
86
- key: n,
87
- attrs: {
88
- disabled: t[e.disabledKey],
89
- label: e.getLabelText(t),
90
- value: t[e.valueKey]
91
- }
92
- }, [e.$scopedSlots.default ? e._t("default", null, {
93
- label: e.labelKey,
94
- value: e.valueKey,
95
- item: t
96
- }) : [l("span", [e._v(e._s(e.getLabelText(t)))]), t[e.descKey] ? l("span", {
97
- staticClass: "avue-select__desc"
98
- }, [e._v(e._s(t[e.descKey]))]) : e._e()]], 2);
99
- })]], 2);
100
- }, y = [];
101
- const m = {
1
+ import { p as o, e as s } from "../chunks/event.4377230d.mjs";
2
+ import { s as n } from "../chunks/dic.3b4ba802.mjs";
3
+ import { b as i } from "../chunks/util.7844e2c2.mjs";
4
+ import { isBlank as r } from "@web-utils/core";
5
+ import { p as c } from "../chunks/packages.1fc9ccba.mjs";
6
+ import { s as d, r as h } from "../chunks/FySelect.vue_vue_type_style_index_0_lang.5f0f3244.mjs";
7
+ import { n as p } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
8
+ const f = {
102
9
  name: "FySelect",
103
- mixins: [r, c],
10
+ mixins: [o, s],
104
11
  props: {
105
12
  loadingText: {
106
13
  type: String
@@ -158,7 +65,7 @@ const m = {
158
65
  },
159
66
  watch: {
160
67
  text(e) {
161
- p(e) || this.remote && !this.created && (this.created = !0, this.handleRemoteMethod(this.multiple ? this.text.join(u) : this.text));
68
+ r(e) || this.remote && !this.created && (this.created = !0, this.handleRemoteMethod(this.multiple ? this.text.join(i) : this.text));
162
69
  },
163
70
  dic: {
164
71
  handler(e) {
@@ -173,24 +80,24 @@ const m = {
173
80
  methods: {
174
81
  setSort() {
175
82
  if (!window.Sortable) {
176
- h.logs("Sortable");
83
+ c.logs("Sortable");
177
84
  return;
178
85
  }
179
86
  const e = this.$refs.main.$el.querySelectorAll(".el-select__tags > span")[0];
180
87
  window.Sortable.create(e, {
181
88
  animation: 100,
182
- onEnd: (a) => {
183
- const l = this.value.splice(a.oldIndex, 1)[0];
184
- this.value.splice(a.newIndex, 0, l);
89
+ onEnd: (t) => {
90
+ const a = this.value.splice(t.oldIndex, 1)[0];
91
+ this.value.splice(t.newIndex, 0, a);
185
92
  }
186
93
  });
187
94
  },
188
95
  handleRemoteMethod(e) {
189
- this.loading = !0, d({
96
+ this.loading = !0, n({
190
97
  column: this.column,
191
98
  value: e
192
- }).then((a) => {
193
- this.loading = !1, this.netDic = a;
99
+ }).then((t) => {
100
+ this.loading = !1, this.netDic = t;
194
101
  });
195
102
  },
196
103
  selectAll() {
@@ -202,24 +109,24 @@ const m = {
202
109
  this.checkAll = e.length === this.netDic.length;
203
110
  }
204
111
  }
205
- }, o = {};
206
- var v = /* @__PURE__ */ f(
207
- m,
208
- _,
209
- y,
112
+ }, l = {};
113
+ var u = /* @__PURE__ */ p(
114
+ f,
115
+ h,
116
+ d,
210
117
  !1,
211
- g,
118
+ m,
212
119
  null,
213
120
  null,
214
121
  null
215
122
  );
216
- function g(e) {
217
- for (let a in o)
218
- this[a] = o[a];
123
+ function m(e) {
124
+ for (let t in l)
125
+ this[t] = l[t];
219
126
  }
220
- const B = /* @__PURE__ */ function() {
221
- return v.exports;
127
+ const D = /* @__PURE__ */ function() {
128
+ return u.exports;
222
129
  }();
223
130
  export {
224
- B as default
131
+ D as default
225
132
  };
@@ -1,9 +1,10 @@
1
- import { p as r, e as l } from "../chunks/event.b5d855dd.mjs";
2
- import { s as i } from "../chunks/util.ae730cde.mjs";
3
- import { n as a } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
4
- var p = function() {
1
+ import { p as r, e as i } from "../chunks/event.4377230d.mjs";
2
+ import { s as l } from "../chunks/util.7844e2c2.mjs";
3
+ import a from "element-ui/lib/slider";
4
+ import { n as p } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
5
+ var m = function() {
5
6
  var t = this, o = t.$createElement, s = t._self._c || o;
6
- return s("ElSlider", {
7
+ return s(a, {
7
8
  attrs: {
8
9
  disabled: t.disabled,
9
10
  vertical: t.vertical,
@@ -34,10 +35,10 @@ var p = function() {
34
35
  expression: "text"
35
36
  }
36
37
  });
37
- }, m = [];
38
- const u = {
38
+ }, u = [];
39
+ const c = {
39
40
  name: "FySlider",
40
- mixins: [r, l],
41
+ mixins: [r, i],
41
42
  props: {
42
43
  step: Number,
43
44
  min: Number,
@@ -54,26 +55,26 @@ const u = {
54
55
  tooltipClass: String
55
56
  },
56
57
  methods: {
57
- setPx: i
58
+ setPx: l
58
59
  }
59
60
  }, n = {};
60
- var c = /* @__PURE__ */ a(
61
- u,
62
- p,
61
+ var h = /* @__PURE__ */ p(
62
+ c,
63
63
  m,
64
+ u,
64
65
  !1,
65
- h,
66
+ _,
66
67
  null,
67
68
  null,
68
69
  null
69
70
  );
70
- function h(t) {
71
+ function _(t) {
71
72
  for (let o in n)
72
73
  this[o] = n[o];
73
74
  }
74
- const d = /* @__PURE__ */ function() {
75
- return c.exports;
75
+ const w = /* @__PURE__ */ function() {
76
+ return h.exports;
76
77
  }();
77
78
  export {
78
- d as default
79
+ w as default
79
80
  };
@@ -1,8 +1,9 @@
1
- import { p as c, e as l } from "../chunks/event.b5d855dd.mjs";
1
+ import { p as c, e as o } from "../chunks/event.4377230d.mjs";
2
+ import l from "element-ui/lib/switch";
2
3
  import { n as r } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
3
- var o = function() {
4
+ var s = function() {
4
5
  var e = this, t = e.$createElement, a = e._self._c || t;
5
- return a("ElSwitch", {
6
+ return a(l, {
6
7
  attrs: {
7
8
  "active-text": e.active[e.labelKey],
8
9
  "active-value": e.active[e.valueKey],
@@ -18,22 +19,22 @@ var o = function() {
18
19
  size: e.size
19
20
  },
20
21
  nativeOn: {
21
- click: function(i) {
22
+ click: function(n) {
22
23
  return e.handleClick.apply(null, arguments);
23
24
  }
24
25
  },
25
26
  model: {
26
27
  value: e.text,
27
- callback: function(i) {
28
- e.text = i;
28
+ callback: function(n) {
29
+ e.text = n;
29
30
  },
30
31
  expression: "text"
31
32
  }
32
33
  });
33
- }, s = [];
34
- const v = {
34
+ }, v = [];
35
+ const u = {
35
36
  name: "FySwitch",
36
- mixins: [c, l],
37
+ mixins: [c, o],
37
38
  props: {
38
39
  // eslint-disable-next-line vue/no-unused-properties
39
40
  value: [String, Object, Number, Boolean, Array],
@@ -51,24 +52,24 @@ const v = {
51
52
  return this.dic[0] || {};
52
53
  }
53
54
  }
54
- }, n = {};
55
- var u = /* @__PURE__ */ r(
56
- v,
57
- o,
55
+ }, i = {};
56
+ var _ = /* @__PURE__ */ r(
57
+ u,
58
58
  s,
59
+ v,
59
60
  !1,
60
- _,
61
+ m,
61
62
  null,
62
63
  null,
63
64
  null
64
65
  );
65
- function _(e) {
66
- for (let t in n)
67
- this[t] = n[t];
66
+ function m(e) {
67
+ for (let t in i)
68
+ this[t] = i[t];
68
69
  }
69
- const p = /* @__PURE__ */ function() {
70
- return u.exports;
70
+ const y = /* @__PURE__ */ function() {
71
+ return _.exports;
71
72
  }();
72
73
  export {
73
- p as default
74
+ y as default
74
75
  };