@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,101 +1,9 @@
1
- import { p as u, e as h } from "../chunks/event.b5d855dd.mjs";
1
+ import { p as c, e as u } from "../chunks/event.b5d855dd.mjs";
2
2
  import { isBlank as n } from "@web-utils/core";
3
- import { n as p } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
4
- var f = function() {
5
- var e = this, t = e.$createElement, l = e._self._c || t;
6
- return l("ElSelect", {
7
- ref: "main",
8
- staticClass: "avue-input-tree",
9
- attrs: {
10
- size: e.size,
11
- multiple: e.multiple,
12
- "multiple-limit": e.limit,
13
- "collapse-tags": e.tags,
14
- value: e.labelShow,
15
- clearable: e.clearableVal,
16
- placeholder: e.placeholder,
17
- "popper-class": e.popperClass,
18
- "popper-append-to-body": e.popperAppendToBody,
19
- disabled: e.disabled
20
- },
21
- on: {
22
- click: e.handleClick,
23
- focus: e.handleFocus,
24
- blur: e.handleBlur,
25
- clear: e.handleClear
26
- }
27
- }, [e.filter ? l("div", {
28
- staticClass: "avue-input-tree__filter"
29
- }, [l("ElInput", {
30
- attrs: {
31
- size: "mini",
32
- placeholder: e.filterText
33
- },
34
- model: {
35
- value: e.filterValue,
36
- callback: function(i) {
37
- e.filterValue = i;
38
- },
39
- expression: "filterValue"
40
- }
41
- })], 1) : e._e(), l("ElOption", {
42
- staticClass: "avue-input-tree__dropdown",
43
- attrs: {
44
- value: e.text
45
- }
46
- }, [l("ElTree", {
47
- ref: "tree",
48
- staticClass: "avue-input-tree__select",
49
- attrs: {
50
- data: e.dicList,
51
- lazy: e.lazy,
52
- load: e.handleTreeLoad,
53
- "node-key": e.valueKey,
54
- accordion: e.accordion,
55
- "icon-class": e.iconClass,
56
- "show-checkbox": e.multiple,
57
- "expand-on-click-node": e.expandOnClickNode,
58
- props: e.treeProps,
59
- "check-strictly": e.checkStrictly,
60
- "highlight-current": e.multiple !== !0,
61
- "current-node-key": e.currentNodeKey,
62
- "filter-node-method": e.filterNode,
63
- "default-checked-keys": e.keysList,
64
- "default-expanded-keys": e.defaultExpandedKeys ? e.defaultExpandedKeys : e.keysList,
65
- "default-expand-all": e.defaultExpandAll
66
- },
67
- on: {
68
- check: e.checkChange,
69
- "node-click": function(i) {
70
- return i.target !== i.currentTarget ? null : e.handleNodeClick.apply(null, arguments);
71
- }
72
- },
73
- scopedSlots: e._u([{
74
- key: "default",
75
- fn: function(i) {
76
- var s = i.data;
77
- return [l("div", {
78
- staticClass: "avue-input-tree__item"
79
- }, [e._t("default", function() {
80
- return [l("span", {
81
- class: {
82
- "avue--disabled": s[e.disabledKey]
83
- }
84
- }, [e._v(e._s(s[e.labelKey]))]), s[e.descKey] ? l("span", {
85
- staticClass: "avue-input-tree__desc"
86
- }, [e._v(e._s(s[e.descKey]))]) : e._e()];
87
- }, {
88
- label: e.labelKey,
89
- value: e.valueKey,
90
- item: s
91
- })], 2)];
92
- }
93
- }], null, !0)
94
- })], 1)], 1);
95
- }, y = [];
96
- const m = {
3
+ import { n as h } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
4
+ const p = {
97
5
  name: "FyInputTree",
98
- mixins: [u, h],
6
+ mixins: [c, u],
99
7
  props: {
100
8
  nodeClick: Function,
101
9
  treeLoad: Function,
@@ -171,7 +79,7 @@ const m = {
171
79
  return this.multiple ? this.text : [this.text || ""];
172
80
  },
173
81
  labelShow() {
174
- return [...this.node].map((t) => this.getLabelText(t));
82
+ return [...this.node].map((e) => this.getLabelText(e));
175
83
  }
176
84
  },
177
85
  watch: {
@@ -179,8 +87,8 @@ const m = {
179
87
  this.init();
180
88
  },
181
89
  dic: {
182
- handler(e) {
183
- this.dicList = e;
90
+ handler(t) {
91
+ this.dicList = t;
184
92
  },
185
93
  immediate: !0
186
94
  },
@@ -190,78 +98,83 @@ const m = {
190
98
  },
191
99
  immediate: !0
192
100
  },
193
- filterValue(e) {
194
- this.$refs.tree.filter(e);
101
+ filterValue(t) {
102
+ this.$refs.tree.filter(t);
195
103
  }
196
104
  },
197
105
  methods: {
198
106
  handleClear() {
199
107
  this.text = this.multiple ? [] : "", this.node = [], this.filterValue = "", this.$refs.tree.setCurrentKey(null), this.$refs.tree.setCheckedKeys([]);
200
108
  },
201
- handleTreeLoad(e, t) {
202
- 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]);
109
+ handleTreeLoad(t, e) {
110
+ const i = (l) => {
111
+ const a = (r, d, o) => {
112
+ r.forEach((s) => {
113
+ s[this.valueKey] === d ? s[this.childrenKey] = o : s[this.childrenKey] && a(s[this.childrenKey]);
206
114
  });
207
115
  };
208
- s(this.dicList, e.key, i), t(i);
116
+ a(this.dicList, t.key, l), e(l);
209
117
  };
210
- this.treeLoad && this.treeLoad(e, l);
118
+ this.treeLoad && this.treeLoad(t, i);
211
119
  },
212
- filterNode(e, t) {
213
- return e ? t[this.labelKey].toLowerCase().indexOf(e.toLowerCase()) !== -1 : !0;
120
+ filterNode(t, e) {
121
+ return t ? e[this.labelKey].toLowerCase().indexOf(t.toLowerCase()) !== -1 : !0;
214
122
  },
215
- 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);
123
+ checkChange(t, e, i, l) {
124
+ 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(t, e, i, l);
217
125
  },
218
126
  getHalfList() {
219
- let e = this.$refs.tree.getCheckedNodes(!1, !0);
220
- return e = e.map((t) => t[this.valueKey]), e;
127
+ let t = this.$refs.tree.getCheckedNodes(!1, !0);
128
+ return t = t.map((e) => e[this.valueKey]), t;
221
129
  },
222
130
  init() {
223
131
  this.$nextTick(() => {
224
132
  if (this.node = [], this.multiple)
225
- this.$refs.tree.getCheckedNodes(this.leafOnly, !1).forEach((t) => {
226
- this.node.push(t);
133
+ this.$refs.tree.getCheckedNodes(this.leafOnly, !1).forEach((e) => {
134
+ this.node.push(e);
227
135
  });
228
136
  else {
229
- const e = this.$refs.tree.getNode(this.text);
230
- if (e) {
231
- const t = e.data;
232
- this.$refs.tree.setCurrentKey(t[this.valueKey]), this.node.push(t);
137
+ const t = this.$refs.tree.getNode(this.text);
138
+ if (t) {
139
+ const e = t.data;
140
+ this.$refs.tree.setCurrentKey(e[this.valueKey]), this.node.push(e);
233
141
  }
234
142
  }
235
143
  }), this.disabledParentNode(this.dic, this.parent);
236
144
  },
237
- disabledParentNode(e, t) {
238
- e.forEach((l) => {
239
- const i = l[this.childrenKey];
240
- n(i) || (t || (l.disabled = !0), this.disabledParentNode(i, t));
145
+ disabledParentNode(t, e) {
146
+ t.forEach((i) => {
147
+ const l = i[this.childrenKey];
148
+ n(l) || (e || (i.disabled = !0), this.disabledParentNode(l, e));
241
149
  });
242
150
  },
243
- 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()));
151
+ handleNodeClick(t, e, i) {
152
+ t.disabled || (typeof this.nodeClick == "function" && this.nodeClick(t, e, i), !this.multiple && (n(t[this.childrenKey]) && !this.multiple || this.parent) && (this.text = t[this.valueKey], this.$refs.main.blur()));
245
153
  }
246
154
  }
247
- }, d = {};
248
- var _ = /* @__PURE__ */ p(
249
- m,
155
+ };
156
+ var f = function() {
157
+ var e = this, i = e._self._c;
158
+ return i("ElSelect", { ref: "main", staticClass: "avue-input-tree", attrs: { size: e.size, multiple: e.multiple, "multiple-limit": e.limit, "collapse-tags": e.tags, value: e.labelShow, clearable: e.clearableVal, placeholder: e.placeholder, "popper-class": e.popperClass, "popper-append-to-body": e.popperAppendToBody, disabled: e.disabled }, on: { click: e.handleClick, focus: e.handleFocus, blur: e.handleBlur, clear: e.handleClear } }, [e.filter ? i("div", { staticClass: "avue-input-tree__filter" }, [i("ElInput", { attrs: { size: "mini", placeholder: e.filterText }, model: { value: e.filterValue, callback: function(l) {
159
+ e.filterValue = l;
160
+ }, expression: "filterValue" } })], 1) : e._e(), i("ElOption", { staticClass: "avue-input-tree__dropdown", attrs: { value: e.text } }, [i("ElTree", { ref: "tree", staticClass: "avue-input-tree__select", attrs: { data: e.dicList, lazy: e.lazy, load: e.handleTreeLoad, "node-key": e.valueKey, accordion: e.accordion, "icon-class": e.iconClass, "show-checkbox": e.multiple, "expand-on-click-node": e.expandOnClickNode, props: e.treeProps, "check-strictly": e.checkStrictly, "highlight-current": e.multiple !== !0, "current-node-key": e.currentNodeKey, "filter-node-method": e.filterNode, "default-checked-keys": e.keysList, "default-expanded-keys": e.defaultExpandedKeys ? e.defaultExpandedKeys : e.keysList, "default-expand-all": e.defaultExpandAll }, on: { check: e.checkChange, "node-click": function(l) {
161
+ return l.target !== l.currentTarget ? null : e.handleNodeClick.apply(null, arguments);
162
+ } }, scopedSlots: e._u([{ key: "default", fn: function({ data: l }) {
163
+ return [i("div", { staticClass: "avue-input-tree__item" }, [e._t("default", function() {
164
+ return [i("span", { class: { "avue--disabled": l[e.disabledKey] } }, [e._v(e._s(l[e.labelKey]))]), l[e.descKey] ? i("span", { staticClass: "avue-input-tree__desc" }, [e._v(e._s(l[e.descKey]))]) : e._e()];
165
+ }, { label: e.labelKey, value: e.valueKey, item: l })], 2)];
166
+ } }], null, !0) })], 1)], 1);
167
+ }, y = [], m = /* @__PURE__ */ h(
168
+ p,
250
169
  f,
251
170
  y,
252
171
  !1,
253
- k,
172
+ null,
254
173
  null,
255
174
  null,
256
175
  null
257
176
  );
258
- function k(e) {
259
- for (let t in d)
260
- this[t] = d[t];
261
- }
262
- const K = /* @__PURE__ */ function() {
263
- return _.exports;
264
- }();
177
+ const C = m.exports;
265
178
  export {
266
- K as default
179
+ C as default
267
180
  };
@@ -1,21 +1,5 @@
1
- import { n } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
2
- var s = function() {
3
- var e = this, t = e.$createElement, r = e._self._c || t;
4
- return r("div", {
5
- staticClass: "avue-progress"
6
- }, [r("ElProgress", {
7
- attrs: {
8
- type: e.type,
9
- color: e.color,
10
- width: e.width,
11
- "text-inside": "",
12
- "show-text": e.showText,
13
- "stroke-width": e.strokeWidth,
14
- percentage: e.percentage
15
- }
16
- })], 1);
17
- }, i = [];
18
- const a = {
1
+ import { n as r } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
2
+ const s = {
19
3
  name: "FyProgress",
20
4
  props: {
21
5
  showText: {
@@ -37,24 +21,21 @@ const a = {
37
21
  type: [Number]
38
22
  }
39
23
  }
40
- }, o = {};
41
- var c = /* @__PURE__ */ n(
42
- a,
24
+ };
25
+ var o = function() {
26
+ var e = this, t = e._self._c;
27
+ return t("div", { staticClass: "avue-progress" }, [t("ElProgress", { attrs: { type: e.type, color: e.color, width: e.width, "text-inside": "", "show-text": e.showText, "stroke-width": e.strokeWidth, percentage: e.percentage } })], 1);
28
+ }, n = [], a = /* @__PURE__ */ r(
43
29
  s,
44
- i,
30
+ o,
31
+ n,
45
32
  !1,
46
- p,
33
+ null,
47
34
  null,
48
35
  null,
49
36
  null
50
37
  );
51
- function p(e) {
52
- for (let t in o)
53
- this[t] = o[t];
54
- }
55
- const _ = /* @__PURE__ */ function() {
56
- return c.exports;
57
- }();
38
+ const l = a.exports;
58
39
  export {
59
- _ as default
40
+ l as default
60
41
  };
@@ -1,42 +1,8 @@
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", {
6
- staticClass: "avue-radio"
7
- }, [a("ElRadioGroup", {
8
- attrs: {
9
- size: e.size,
10
- disabled: e.disabled
11
- },
12
- nativeOn: {
13
- click: function(n) {
14
- return e.handleClick.apply(null, arguments);
15
- }
16
- },
17
- model: {
18
- value: e.text,
19
- callback: function(n) {
20
- e.text = n;
21
- },
22
- expression: "text"
23
- }
24
- }, e._l(e.dic, function(n, o) {
25
- return a(e.componentName, {
26
- key: o,
27
- tag: "Component",
28
- attrs: {
29
- label: n[e.valueKey],
30
- border: e.border,
31
- readonly: e.readonly,
32
- disabled: n[e.disabledKey]
33
- }
34
- }, [e._v(" " + e._s(n[e.labelKey]) + " ")]);
35
- }), 1)], 1);
36
- }, d = [];
37
- const u = {
1
+ import { p as t, e as l } from "../chunks/event.b5d855dd.mjs";
2
+ import { n as o } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
3
+ const s = {
38
4
  name: "FyRadio",
39
- mixins: [l, s],
5
+ mixins: [t, l],
40
6
  props: {
41
7
  // eslint-disable-next-line vue/no-unused-properties
42
8
  value: [String, Object, Number, Boolean, Array]
@@ -47,24 +13,27 @@ const u = {
47
13
  name: "radio"
48
14
  };
49
15
  }
50
- }, r = {};
51
- var _ = /* @__PURE__ */ i(
52
- u,
53
- c,
16
+ };
17
+ var i = function() {
18
+ var e = this, a = e._self._c;
19
+ return a("div", { staticClass: "avue-radio" }, [a("ElRadioGroup", { attrs: { size: e.size, disabled: e.disabled }, nativeOn: { click: function(n) {
20
+ return e.handleClick.apply(null, arguments);
21
+ } }, model: { value: e.text, callback: function(n) {
22
+ e.text = n;
23
+ }, expression: "text" } }, e._l(e.dic, function(n, r) {
24
+ return a(e.componentName, { key: r, tag: "Component", attrs: { label: n[e.valueKey], border: e.border, readonly: e.readonly, disabled: n[e.disabledKey] } }, [e._v(" " + e._s(n[e.labelKey]) + " ")]);
25
+ }), 1)], 1);
26
+ }, d = [], _ = /* @__PURE__ */ o(
27
+ s,
28
+ i,
54
29
  d,
55
30
  !1,
56
- v,
31
+ null,
57
32
  null,
58
33
  null,
59
34
  null
60
35
  );
61
- function v(e) {
62
- for (let t in r)
63
- this[t] = r[t];
64
- }
65
- const y = /* @__PURE__ */ function() {
66
- return _.exports;
67
- }();
36
+ const m = _.exports;
68
37
  export {
69
- y as default
38
+ m as default
70
39
  };
package/fy-rate/index.mjs CHANGED
@@ -1,42 +1,8 @@
1
- import { p as a, e as r } from "../chunks/event.b5d855dd.mjs";
2
- 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 = {
1
+ import { p as s, e as a } from "../chunks/event.b5d855dd.mjs";
2
+ import { n as t } from "../chunks/_plugin-vue2_normalizer.446f5dc4.mjs";
3
+ const r = {
38
4
  name: "FyRate",
39
- mixins: [a, r],
5
+ mixins: [s, a],
40
6
  props: {
41
7
  allowHalf: Boolean,
42
8
  lowThreshold: Number,
@@ -83,24 +49,25 @@ const c = {
83
49
  mounted() {
84
50
  },
85
51
  methods: {}
86
- }, l = {};
87
- var h = /* @__PURE__ */ n(
88
- c,
89
- i,
52
+ };
53
+ var n = function() {
54
+ var e = this, l = e._self._c;
55
+ return l("ElRate", { attrs: { max: e.max, "low-threshold": e.lowThreshold, "high-threshold": e.highThreshold, "disabled-void-color": e.disabledVoidColor, "disabled-void-icon-class": e.disabledVoidIconClass, "allow-half": e.allowHalf, readonly: e.readonly, texts: e.texts, "show-score": e.showScore, "score-template": e.scoreTemplate, "show-text": e.showText, "icon-classes": e.iconClasses, "void-icon-class": e.voidIconClass, disabled: e.disabled, colors: e.colors }, nativeOn: { click: function(o) {
56
+ return e.handleClick.apply(null, arguments);
57
+ } }, model: { value: e.text, callback: function(o) {
58
+ e.text = o;
59
+ }, expression: "text" } });
60
+ }, d = [], i = /* @__PURE__ */ t(
61
+ r,
62
+ n,
90
63
  d,
91
64
  !1,
92
- u,
65
+ null,
93
66
  null,
94
67
  null,
95
68
  null
96
69
  );
97
- function u(e) {
98
- for (let o in l)
99
- this[o] = l[o];
100
- }
101
- const _ = /* @__PURE__ */ function() {
102
- return h.exports;
103
- }();
70
+ const u = i.exports;
104
71
  export {
105
- _ as default
72
+ u as default
106
73
  };