@web-utils/component 4.0.14 → 4.0.15

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 (168) hide show
  1. package/address-input/index.mjs +15 -13
  2. package/card/index.mjs +20 -18
  3. package/carousel/index.mjs +12 -10
  4. package/chat/index.mjs +56 -45
  5. package/chunk-file-uploader/index.mjs +378 -36
  6. package/chunk-file-uploader/style.css +1 -1
  7. package/chunks/{ElementTaskConfig.Bko0kgTp.mjs → ElementTaskConfig.AvBOzAni.mjs} +63 -55
  8. package/chunks/FormItem.Bhsy_O2B.mjs +372 -0
  9. package/chunks/FyForm.DriwCJ7b.mjs +765 -0
  10. package/chunks/SignalAndMessage.BpjOoKhK.mjs +92 -0
  11. package/chunks/SubTablePlus.BH0IIv3X.mjs +270 -0
  12. package/chunks/TableColumn.BzivvXMF.mjs +337 -0
  13. package/chunks/{confirmable-mixin.B2TtLAdk.mjs → confirmable-mixin.BFZb6pcK.mjs} +1 -1
  14. package/chunks/{dataformat.CpqOeGBl.mjs → dataformat.DJoNBlmI.mjs} +6 -6
  15. package/chunks/{dic.Dkl-leRW.mjs → dic.BinnDitI.mjs} +9 -9
  16. package/chunks/{event.9aDS6jcw.mjs → event.DSlcqYHL.mjs} +2 -2
  17. package/chunks/{form-input.CvFdwlEV.mjs → form-input.BtS_J5a2.mjs} +2 -2
  18. package/chunks/{index.9OxHjTIE.mjs → index.CIfe3UB3.mjs} +2 -2
  19. package/chunks/{index.B2TRddqf.mjs → index.Cn7aq-Et.mjs} +8 -8
  20. package/chunks/{init.DAsXSoLW.mjs → init.xOlFpTyZ.mjs} +2 -2
  21. package/chunks/{util.DqFv_pWg.mjs → util.DI42t5GU.mjs} +22 -22
  22. package/color-picker/index.mjs +101 -22
  23. package/confirm-button/index.mjs +1 -1
  24. package/confirmable/index.mjs +1 -1
  25. package/data-box/index.mjs +15 -12
  26. package/data-card/index.mjs +12 -10
  27. package/data-card-text/index.mjs +12 -10
  28. package/data-display/index.mjs +17 -15
  29. package/data-icons/index.mjs +16 -13
  30. package/data-imgtext/index.mjs +18 -15
  31. package/data-operatext/index.mjs +16 -14
  32. package/data-panel/index.mjs +16 -13
  33. package/data-pay/index.mjs +20 -16
  34. package/data-price/index.mjs +16 -14
  35. package/data-progress/index.mjs +17 -13
  36. package/data-rotate/index.mjs +15 -12
  37. package/data-table-picker/index.mjs +18 -15
  38. package/data-tabs/index.mjs +15 -12
  39. package/dialog-form/index.mjs +18 -16
  40. package/dynamic-table/index.mjs +30 -25
  41. package/editable-progress/index.mjs +11 -9
  42. package/editable-tree/index.mjs +56 -52
  43. package/egd-collapse-item/index.mjs +9 -9
  44. package/element-dialog/index.mjs +23 -22
  45. package/flex-column/index.mjs +1 -1
  46. package/flex-item/index.mjs +1 -1
  47. package/flex-row/index.mjs +1 -1
  48. package/flow/index.mjs +11 -10
  49. package/flow-designer/index.mjs +1973 -699
  50. package/flow-designer/style.css +1 -1
  51. package/flow-node/index.mjs +1 -1
  52. package/flow-viewer/index.mjs +9 -9
  53. package/form-block/index.mjs +34 -32
  54. package/form-cascader/index.mjs +24 -23
  55. package/form-checkbox/index.mjs +17 -16
  56. package/form-checkbox-group/index.mjs +23 -20
  57. package/form-date-picker/index.mjs +20 -18
  58. package/form-holder/index.mjs +14 -13
  59. package/form-input/index.mjs +15 -14
  60. package/form-input-cron-expression/index.mjs +22 -19
  61. package/form-input-email/index.mjs +16 -15
  62. package/form-input-id-card/index.mjs +13 -12
  63. package/form-input-number/index.mjs +17 -16
  64. package/form-input-phone-number/index.mjs +22 -21
  65. package/form-input-tag/index.mjs +15 -14
  66. package/form-input-time/index.mjs +15 -14
  67. package/form-item/index.mjs +3 -140
  68. package/form-item-group/index.mjs +31 -28
  69. package/form-radio-group/index.mjs +28 -27
  70. package/form-select/index.mjs +23 -21
  71. package/form-switch/index.mjs +17 -16
  72. package/form-table/index.mjs +17 -16
  73. package/form-table-plus/index.mjs +22 -21
  74. package/form-textarea/index.mjs +16 -15
  75. package/form-tree-select/index.mjs +15 -14
  76. package/form-tree-select-multiple/index.mjs +15 -14
  77. package/form-view/index.mjs +39 -35
  78. package/fy-array/index.mjs +37 -33
  79. package/fy-cascader/index.mjs +17 -16
  80. package/fy-checkbox/index.mjs +13 -11
  81. package/fy-code/index.mjs +10 -10
  82. package/fy-curd/index.mjs +1147 -1123
  83. package/fy-date/index.mjs +11 -10
  84. package/fy-draggable/index.mjs +10 -9
  85. package/fy-dynamic/index.mjs +25 -22
  86. package/fy-empty/index.mjs +1 -1
  87. package/fy-form/index.mjs +15 -638
  88. package/fy-form-design/index.mjs +1165 -1127
  89. package/fy-input/index.mjs +14 -12
  90. package/fy-input-color/index.mjs +15 -13
  91. package/fy-input-icon/index.mjs +23 -20
  92. package/fy-input-map/index.mjs +31 -28
  93. package/fy-input-number/index.mjs +10 -9
  94. package/fy-input-table/index.mjs +22 -18
  95. package/fy-input-tree/index.mjs +37 -33
  96. package/fy-progress/index.mjs +10 -9
  97. package/fy-radio/index.mjs +16 -15
  98. package/fy-rate/index.mjs +11 -10
  99. package/fy-select/index.mjs +29 -25
  100. package/fy-slider/index.mjs +12 -11
  101. package/fy-switch/index.mjs +10 -9
  102. package/fy-tabs/index.mjs +17 -15
  103. package/fy-time/index.mjs +1 -1
  104. package/fy-title/index.mjs +1 -1
  105. package/fy-tree/index.mjs +24 -18
  106. package/fy-u-editor/index.mjs +1 -1
  107. package/fy-upload/index.mjs +76 -74
  108. package/guide-steps/index.mjs +13 -11
  109. package/iframe-window/index.mjs +10 -9
  110. package/image-cropper/index.mjs +30 -28
  111. package/image-preview/index.mjs +14 -12
  112. package/index.mjs +72 -72
  113. package/input-number/index.mjs +14 -13
  114. package/input-number-range/index.mjs +12 -11
  115. package/license/index.mjs +1 -1
  116. package/login/index.mjs +26 -21
  117. package/nav-bar/index.mjs +10 -9
  118. package/notice/index.mjs +10 -9
  119. package/package.json +1 -1
  120. package/page-index/index.mjs +13 -12
  121. package/page-index-top/index.mjs +28 -23
  122. package/page-skeleton/index.mjs +14 -14
  123. package/page-skeleton-new/index.mjs +9 -8
  124. package/pageable-table/index.mjs +182 -172
  125. package/pageable-view/index.mjs +16 -15
  126. package/picker-table-view/index.mjs +58 -49
  127. package/present-view/index.mjs +39 -35
  128. package/record-video/index.mjs +1 -1
  129. package/resize-observer/index.mjs +1 -1
  130. package/search/index.mjs +22 -20
  131. package/search-popover/index.mjs +1 -1
  132. package/sign/index.mjs +1 -1
  133. package/skeleton-panel/index.mjs +10 -9
  134. package/split-pane/index.mjs +37 -36
  135. package/static-pageable-table/index.mjs +13 -11
  136. package/sub-table/index.mjs +49 -36
  137. package/sub-table-plus/index.mjs +18 -229
  138. package/swiper/index.mjs +12 -11
  139. package/table-column/index.mjs +3 -223
  140. package/table-view/index.mjs +60 -52
  141. package/tabs-view/index.mjs +19 -17
  142. package/tag-render/index.mjs +18 -16
  143. package/text-ellipsis/index.mjs +10 -9
  144. package/toolbar/index.mjs +14 -13
  145. package/toolbar-button/index.mjs +14 -13
  146. package/verify/index.mjs +1 -1
  147. package/vue-cron/index.mjs +267 -259
  148. package/watermark/index.mjs +1 -1
  149. package/web-types.json +1 -1
  150. package/x-input-tag/index.mjs +24 -21
  151. package/chunks/ElementBaseInfo.ZADwixb5.mjs +0 -125
  152. package/chunks/ElementForm.CQ3PN5qj.mjs +0 -223
  153. package/chunks/ElementListeners.De_PRuIm.mjs +0 -215
  154. package/chunks/ElementMultiInstance.DQo2wuAQ.mjs +0 -181
  155. package/chunks/ElementOtherConfig.B1NfMTYh.mjs +0 -60
  156. package/chunks/ElementProperties.CosfDrlW.mjs +0 -112
  157. package/chunks/FlowCondition.Y6qEYi1T.mjs +0 -102
  158. package/chunks/FormTemp.BQxO5IQq.mjs +0 -123
  159. package/chunks/SignalAndMessage.Bb5PFX0N.mjs +0 -85
  160. package/chunks/UserTaskListeners.Bv3BDfEI.mjs +0 -169
  161. package/chunks/core.0Exl13Mz.mjs +0 -54
  162. package/chunks/dictionary.DGt59Ir7.mjs +0 -68
  163. package/chunks/form-item.LWjePsPa.mjs +0 -233
  164. package/chunks/sub-table-plus-props.BVsD71hT.mjs +0 -30
  165. package/chunks/utilSelf.Csq1766E.mjs +0 -48
  166. package/chunks/utils.DRcxC1Fb.mjs +0 -60
  167. package/element-listeners/style.css +0 -1
  168. package/element-multi-instance/style.css +0 -1
@@ -0,0 +1,337 @@
1
+ import x from "element-ui/lib/table-column";
2
+ import { _ as C } from "./helper.BiMLcEEk.mjs";
3
+ import { h as y } from "vue";
4
+ import { hyphenate as N } from "@web-utils/core";
5
+ import { getDictTreeByType as V, remote as E } from "../configComponents.mjs";
6
+ import { n as D } from "./_plugin-vue2_normalizer.CeySl7Fu.mjs";
7
+ const ct = (t) => {
8
+ const e = {};
9
+ for (const n in t)
10
+ e[N(n)] = t[n];
11
+ return e;
12
+ }, O = (t, e = "id", n = "label") => {
13
+ const s = [];
14
+ function l(o, i) {
15
+ if (!o) return;
16
+ const r = [...i, { [e]: o[e], [n]: o[n] }];
17
+ if (!o.children || o.children.length === 0) {
18
+ s.push(r);
19
+ return;
20
+ }
21
+ o.children.forEach((c) => {
22
+ l(c, r);
23
+ });
24
+ }
25
+ return t.forEach((o) => l(o, [])), s;
26
+ }, v = (t) => {
27
+ const e = [];
28
+ return t && (isArray(t) ? t.forEach((n) => {
29
+ isArray(n) ? e.push(...v(n)) : n && e.push(n);
30
+ }) : t && e.push(t)), e;
31
+ }, F = (t, e = "id", n = "label") => {
32
+ const s = [];
33
+ return O(t).forEach((l) => {
34
+ const o = [], i = [];
35
+ for (let r = 0; r < l.length; r++)
36
+ o.push(l[r][e]), i.push(l[r][n]);
37
+ s.push({
38
+ value: o.join("/"),
39
+ label: i.join("/")
40
+ });
41
+ }), s;
42
+ }, M = (t, e = "id", n = "label") => {
43
+ const s = {};
44
+ return O(t).forEach((l) => {
45
+ const o = [], i = [];
46
+ for (let r = 0; r < l.length; r++)
47
+ o.push(l[r][e]), i.push(l[r][n]);
48
+ s[o.join("/")] = {
49
+ value: o.join("/"),
50
+ label: i.join("/")
51
+ };
52
+ }), s;
53
+ }, p = {}, T = {}, u = {}, P = (t, e = !0, { options: n, treeDict: s, idAsValue: l, labelAsValue: o } = {}) => {
54
+ let i = t;
55
+ s && (i = `${t}-${l}-${o}${n ? "-options" : ""}`);
56
+ const r = p[i];
57
+ return e && r ? r : s ? H(t, e, { idAsValue: l, labelAsValue: o }) : k(t, e);
58
+ }, k = (t, e = !0) => {
59
+ if (u[t])
60
+ return u[t];
61
+ const n = new Promise((s, l) => {
62
+ e && p[t] ? s(p[t]) : E(t).then((o) => {
63
+ let i = o.data.data;
64
+ if (e) {
65
+ const r = {};
66
+ i.forEach(({ label: c, value: a }) => {
67
+ r[a] = Object.freeze({ label: c, value: a });
68
+ }), T[t] = r, i = Object.freeze(i), p[t] = i;
69
+ }
70
+ u[t] = null, s(i);
71
+ }).catch((o) => {
72
+ u[t] = null, l(o);
73
+ });
74
+ });
75
+ return u[t] = n, n;
76
+ }, H = (t, e = !0, { idAsValue: n, labelAsValue: s } = {}) => {
77
+ const l = `${t}-${n}-${s}`;
78
+ if (u[l])
79
+ return u[l];
80
+ const o = new Promise((i, r) => {
81
+ e && p[l] ? i(p[l]) : V(t, { idAsValue: n, labelAsValue: s }).then((c) => {
82
+ const a = c.data.data;
83
+ e && (p[l] = a, p[`${l}-options`] = F(a), T[l] = M(a)), u[l] = null, i(a);
84
+ }).catch((c) => {
85
+ u[l] = null, r(c);
86
+ });
87
+ });
88
+ return u[l] = o, o;
89
+ }, K = async (t, e, n = !0, { treeDict: s, idAsValue: l, labelAsValue: o } = {}) => {
90
+ let i = t;
91
+ s && (i = `${t}-${l}-${o}`);
92
+ const r = T[i];
93
+ let c;
94
+ if (n && r)
95
+ c = r[e];
96
+ else {
97
+ let a = await P(t, n, { treeDict: s, idAsValue: l, labelAsValue: o });
98
+ if (n)
99
+ c = T[i][e];
100
+ else {
101
+ s && (a = F(a));
102
+ for (let h = 0; h < a.length; h++) {
103
+ const m = a[h];
104
+ if (m.value === e) {
105
+ c = m;
106
+ break;
107
+ }
108
+ }
109
+ }
110
+ }
111
+ return c;
112
+ }, z = async (t, e, n = !0, { treeDict: s, idAsValue: l, labelAsValue: o } = {}) => {
113
+ var i;
114
+ return ((i = await K(t, e, n, { treeDict: s, idAsValue: l, labelAsValue: o })) == null ? void 0 : i.label) || e || "";
115
+ }, I = {
116
+ name: "DictRender",
117
+ inheritAttrs: !1,
118
+ props: {
119
+ row: Object,
120
+ column: Object,
121
+ dictType: String,
122
+ options: Array,
123
+ treeDict: Boolean,
124
+ idAsValue: {
125
+ type: Boolean,
126
+ default: !0
127
+ },
128
+ labelAsValue: Boolean
129
+ },
130
+ data() {
131
+ return {
132
+ label: ""
133
+ };
134
+ },
135
+ computed: {
136
+ value() {
137
+ return this.row[this.column.property];
138
+ }
139
+ },
140
+ watch: {
141
+ value: {
142
+ immediate: !0,
143
+ async handler() {
144
+ var t, e;
145
+ this.dictType ? this.label = await z(this.dictType, this.value, !0, {
146
+ treeDict: this.treeDict,
147
+ idAsValue: this.idAsValue,
148
+ labelAsValue: this.labelAsValue
149
+ }) : this.label = ((e = (t = this.options) == null ? void 0 : t.find((n) => `${n.value}` == `${this.value}`)) == null ? void 0 : e.label) ?? `${this.value}`;
150
+ }
151
+ }
152
+ },
153
+ render() {
154
+ return y("span", C([{}, {
155
+ on: this.$listeners
156
+ }, {}, {
157
+ domProps: this.$attrs
158
+ }]), [this.label]);
159
+ }
160
+ }, U = null, L = null;
161
+ var R = /* @__PURE__ */ D(
162
+ I,
163
+ U,
164
+ L,
165
+ !1,
166
+ null,
167
+ null
168
+ );
169
+ const W = R.exports, J = {
170
+ props: {
171
+ type: {
172
+ type: String,
173
+ default: "default"
174
+ },
175
+ label: String,
176
+ className: String,
177
+ labelClassName: String,
178
+ property: String,
179
+ prop: String,
180
+ width: {},
181
+ minWidth: {},
182
+ renderHeader: Function,
183
+ sortable: {
184
+ type: [Boolean, String],
185
+ default: !0
186
+ },
187
+ sortMethod: Function,
188
+ sortBy: [String, Function, Array],
189
+ resizable: {
190
+ type: Boolean,
191
+ default: !0
192
+ },
193
+ columnKey: String,
194
+ align: String,
195
+ headerAlign: String,
196
+ showTooltipWhenOverflow: Boolean,
197
+ clickable: Boolean,
198
+ cellClick: Function,
199
+ showOverflowTooltip: {
200
+ type: Boolean,
201
+ default: !0
202
+ },
203
+ fixed: [Boolean, String],
204
+ formatter: Function,
205
+ selectable: Function,
206
+ reserveSelection: Boolean,
207
+ filterMethod: Function,
208
+ filteredValue: Array,
209
+ filters: Array,
210
+ filterPlacement: String,
211
+ filterMultiple: {
212
+ type: Boolean,
213
+ default: !0
214
+ },
215
+ index: [Number, Function],
216
+ sortOrders: {
217
+ type: Array,
218
+ default() {
219
+ return ["ascending", "descending", null];
220
+ },
221
+ validator(t) {
222
+ return t.every((e) => ["ascending", "descending", null].indexOf(e) > -1);
223
+ }
224
+ },
225
+ dictType: String,
226
+ options: Array,
227
+ autoUpdate: Boolean,
228
+ treeDict: Boolean,
229
+ idAsValue: {
230
+ type: Boolean,
231
+ default: !0
232
+ },
233
+ labelAsValue: Boolean
234
+ }
235
+ }, X = {
236
+ selection: !0,
237
+ "single-selection": !0,
238
+ index: !0,
239
+ expand: !0
240
+ }, q = (t, e, n, s, l) => {
241
+ var i;
242
+ const o = t.rowDbClick || ((i = t.$children.find((r) => r.$options.name === "TableView")) == null ? void 0 : i.rowDbClick);
243
+ o == null || o(e, n, s, l);
244
+ }, G = (t) => {
245
+ let e = t.target;
246
+ for (; e && e.tagName.toUpperCase() !== "HTML"; ) {
247
+ if (e.tagName.toUpperCase() === "TD")
248
+ return e;
249
+ e = e.parentNode;
250
+ }
251
+ return null;
252
+ }, Q = () => {
253
+ }, Y = (t) => !v(t).length, Z = {
254
+ name: "TableColumn",
255
+ functional: !0,
256
+ mixins: [J],
257
+ render(t, {
258
+ data: e,
259
+ props: n,
260
+ children: s,
261
+ parent: l,
262
+ listeners: {
263
+ click: o
264
+ }
265
+ }) {
266
+ const {
267
+ scopedSlots: i,
268
+ ...r
269
+ } = e, {
270
+ clickable: c,
271
+ cellClick: a,
272
+ ...h
273
+ } = n, m = {
274
+ ...i || {}
275
+ }, B = X[n.type];
276
+ if (!B) {
277
+ const $ = i == null ? void 0 : i.default, b = c || o || a;
278
+ (b || n.dictType || n.options) && (m.default = (S) => {
279
+ const {
280
+ row: f,
281
+ column: d
282
+ } = S, A = b ? (_) => {
283
+ const w = G(_);
284
+ o || a ? (o == null || o(f, d, f, d, w, _), a == null || a(f, d, f, d, w, _)) : q(l, f, d, w, _);
285
+ } : Q;
286
+ let g = $ == null ? void 0 : $(S);
287
+ return Y(g) && (g = null), (n.dictType || n.options) && !g ? y(W, {
288
+ class: {
289
+ "is-clickable": b
290
+ },
291
+ on: {
292
+ click: A
293
+ },
294
+ attrs: {
295
+ row: f,
296
+ column: d,
297
+ dictType: n.dictType,
298
+ treeDict: n.treeDict,
299
+ idAsValue: n.idAsValue,
300
+ labelAsValue: n.labelAsValue,
301
+ options: n.options
302
+ }
303
+ }) : b ? y("span", {
304
+ class: "is-clickable",
305
+ on: {
306
+ click: A
307
+ }
308
+ }, [g || (f == null ? void 0 : f[d == null ? void 0 : d.property])]) : g;
309
+ });
310
+ }
311
+ const j = {
312
+ ...r,
313
+ props: {
314
+ ...h,
315
+ showOverflowTooltip: B ? !1 : h.showOverflowTooltip
316
+ }
317
+ };
318
+ return y(x, C([{}, j, {
319
+ scopedSlots: m
320
+ }]));
321
+ }
322
+ }, tt = null, et = null;
323
+ var nt = /* @__PURE__ */ D(
324
+ Z,
325
+ tt,
326
+ et,
327
+ !1,
328
+ null,
329
+ null
330
+ );
331
+ const ut = nt.exports;
332
+ export {
333
+ ut as T,
334
+ W as _,
335
+ z as g,
336
+ ct as t
337
+ };
@@ -1,7 +1,7 @@
1
1
  import w from "element-ui/lib/loading";
2
2
  import B from "element-ui/lib/message-box";
3
3
  import { isFunction as a } from "@web-utils/core";
4
- import { g as d } from "./index.B2TRddqf.mjs";
4
+ import { g as d } from "./index.Cn7aq-Et.mjs";
5
5
  async function k(t, e, n) {
6
6
  const { stop: o, prevent: r, message: f, loadable: l, loadingText: y, confirmable: x, confirmType: b, confirmText: T, confirmTitle: S } = e;
7
7
  o && t.stopPropagation(), r && t.preventDefault();
@@ -1,5 +1,5 @@
1
1
  import { isBlank as l } from "@web-utils/core";
2
- import { S as E, K as A, b as I, M as f, A as h, R as T, c as p, e as m, f as L, g as S, h as B, I as _ } from "./util.DqFv_pWg.mjs";
2
+ import { S as E, K as A, D as I, M as f, A as h, R as T, m as p, b as m, n as L, p as S, f as B, I as _ } from "./util.DI42t5GU.mjs";
3
3
  const P = {
4
4
  common: {
5
5
  condition: "条件",
@@ -143,12 +143,12 @@ const v = (e, n = 12, t = !1) => {
143
143
  return l(n) ? E.includes(e.type) ? `${u("tip.select")} ${t}` : `${u("tip.input")} ${t}` : n;
144
144
  };
145
145
  export {
146
- O as a,
147
- N as b,
148
- R as c,
149
- v as d,
146
+ N as a,
147
+ R as b,
148
+ v as c,
149
+ $ as d,
150
150
  M as f,
151
- $ as g,
151
+ O as g,
152
152
  C as i,
153
153
  u as t
154
154
  };
@@ -1,5 +1,5 @@
1
1
  import { isBlank as P } from "@web-utils/core";
2
- import { m as w, n as E } from "./util.DqFv_pWg.mjs";
2
+ import { q as w, r as E } from "./util.DI42t5GU.mjs";
3
3
  const F = (d, r = []) => new Promise((i) => {
4
4
  const c = [], s = [], a = {};
5
5
  d.forEach((t) => {
@@ -44,7 +44,7 @@ const F = (d, r = []) => new Promise((i) => {
44
44
  c(a);
45
45
  });
46
46
  });
47
- }, K = (d) => {
47
+ }, q = (d) => {
48
48
  const r = {}, i = d.dicData || {};
49
49
  return d.column.forEach((c) => {
50
50
  c.dicData && (r[c.prop] = w(c.dicData, c.props, c.dataType));
@@ -100,20 +100,20 @@ const D = (d) => {
100
100
  n && (r = n.dicUrl, c = n.dicMethod, e = n.headers || {}, i = n.dicQuery || {}, t = n.dicFormatter, a = n.props);
101
101
  const g = "key";
102
102
  r = r || "";
103
- let m;
104
- const y = {};
105
- return m = r.match(/[^{}]+(?=})/g) || [], m.forEach((p) => {
103
+ let y;
104
+ const m = {};
105
+ return y = r.match(/[^{}]+(?=})/g) || [], y.forEach((p) => {
106
106
  const f = `{{${p}}}`, h = u[p];
107
107
  p === g ? r = r.replace(f, o) : r = r.replace(f, h);
108
- }), c === "post" && (m = Object.keys(i), m.forEach((p) => {
108
+ }), c === "post" && (y = Object.keys(i), y.forEach((p) => {
109
109
  const f = i[p];
110
- typeof f == "string" && f.match(/\{{|}}/g) ? y[p] = u[f.replace(/\{{|}}/g, "")] : y[p] = f;
110
+ typeof f == "string" && f.match(/\{{|}}/g) ? m[p] = u[f.replace(/\{{|}}/g, "")] : m[p] = f;
111
111
  })), a && (s = (a || {}).res || s), new Promise((p) => {
112
112
  const f = (h) => {
113
113
  let l = [];
114
114
  typeof t == "function" ? l = t(h.data) : l = E(h.data, s), p(l);
115
115
  };
116
- c === "post" ? window.axios.post(r, y, { headers: e }).then((h) => {
116
+ c === "post" ? window.axios.post(r, m, { headers: e }).then((h) => {
117
117
  f(h);
118
118
  }).catch(() => [p([])]) : window.axios.get(r, { params: i, headers: e }).then((h) => {
119
119
  f(h);
@@ -122,7 +122,7 @@ const D = (d) => {
122
122
  };
123
123
  export {
124
124
  U as a,
125
- K as b,
125
+ q as b,
126
126
  F as l,
127
127
  D as s
128
128
  };
@@ -1,7 +1,7 @@
1
- import { D as r, a as i, b as a } from "./util.DqFv_pWg.mjs";
1
+ import { k as r, w as i, D as a } from "./util.DI42t5GU.mjs";
2
2
  import { s as l } from "./slot.DXIbhGat.mjs";
3
3
  import { isBlank as s } from "@web-utils/core";
4
- import { i as p } from "./dataformat.CpqOeGBl.mjs";
4
+ import { i as p } from "./dataformat.DJoNBlmI.mjs";
5
5
  const f = {
6
6
  mixins: [l],
7
7
  data() {
@@ -1,5 +1,5 @@
1
- import { f as r } from "./form-item.LWjePsPa.mjs";
2
- import { d as t } from "./index.B2TRddqf.mjs";
1
+ import { f as r } from "./FormItem.Bhsy_O2B.mjs";
2
+ import { h as t } from "./index.Cn7aq-Et.mjs";
3
3
  const o = {
4
4
  name: "FormInput",
5
5
  mixins: [r],
@@ -11,6 +11,6 @@ const o = (n, r) => i(n) || s(n) ? [r, n] : d(n) ? [r, ...n] : [r], u = () => {
11
11
  return e > 0 ? parseInt(n.substring(e + 5, n.indexOf(".", e)), 10) : -1;
12
12
  };
13
13
  export {
14
- u as a,
15
- o as g
14
+ o as a,
15
+ u as g
16
16
  };
@@ -169,16 +169,16 @@ function S(e, r, t) {
169
169
  }
170
170
  const _ = (e) => Object.keys(v(e).props), v = (e) => e.default || e;
171
171
  export {
172
- V as a,
173
- A as b,
174
- _ as c,
175
- a as d,
176
- E as e,
172
+ K as a,
173
+ O as b,
174
+ V as c,
175
+ A as d,
176
+ _ as e,
177
177
  F as f,
178
178
  v as g,
179
- R as h,
180
- K as i,
181
- O as j,
179
+ a as h,
180
+ E as i,
181
+ R as j,
182
182
  C as n,
183
183
  S as v
184
184
  };
@@ -1,5 +1,5 @@
1
- import { l as a, a as n, b as h, s as r } from "./dic.Dkl-leRW.mjs";
2
- import { D as d, d as c } from "./util.DqFv_pWg.mjs";
1
+ import { l as a, a as n, b as h, s as r } from "./dic.BinnDitI.mjs";
2
+ import { k as d, d as c } from "./util.DI42t5GU.mjs";
3
3
  import { s as l } from "./slot.DXIbhGat.mjs";
4
4
  import { isBlank as s } from "@web-utils/core";
5
5
  const f = {
@@ -206,36 +206,36 @@ export {
206
206
  V as A,
207
207
  q as B,
208
208
  W as C,
209
- f as D,
209
+ B as D,
210
210
  R as I,
211
211
  D as K,
212
212
  k as M,
213
213
  K as R,
214
214
  F as S,
215
- M as a,
216
- B as b,
217
- O as c,
215
+ Y as a,
216
+ L as b,
217
+ T as c,
218
218
  u as d,
219
- L as e,
220
- H as f,
221
- z as g,
222
- I as h,
223
- G as i,
224
- ee as j,
225
- T as k,
226
- re as l,
227
- _ as m,
228
- te as n,
219
+ ne as e,
220
+ I as f,
221
+ v as g,
222
+ Z as h,
223
+ ee as i,
224
+ se as j,
225
+ f as k,
226
+ J as l,
227
+ O as m,
228
+ H as n,
229
229
  oe as o,
230
- v as p,
231
- Y as q,
232
- Q as r,
230
+ z as p,
231
+ _ as q,
232
+ te as r,
233
233
  X as s,
234
- ne as t,
234
+ Q as t,
235
235
  ie as u,
236
- Z as v,
237
- U as w,
238
- se as x,
239
- J as y,
236
+ G as v,
237
+ M as w,
238
+ re as x,
239
+ U as y,
240
240
  x as z
241
241
  };