duck-vue-components 0.2.5 → 0.2.7

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 (44) hide show
  1. package/dist/constants.cjs +1 -1
  2. package/dist/constants.d.cts +2 -2
  3. package/dist/constants.d.ts +2 -2
  4. package/dist/constants.js +1 -1
  5. package/dist/{controls-CAMRPXvF.cjs → controls-DG8fwV0k.cjs} +480 -326
  6. package/dist/{controls-C2eYKsnS.js → controls-Dxh5hv4E.js} +462 -320
  7. package/dist/controls.cjs +19 -2
  8. package/dist/controls.d.cts +2 -2
  9. package/dist/controls.d.ts +2 -2
  10. package/dist/controls.js +2 -2
  11. package/dist/hooks.cjs +1 -1
  12. package/dist/hooks.js +1 -1
  13. package/dist/{index-CpIVvKpt.d.ts → index-BGyW0r_d.d.ts} +3 -3
  14. package/dist/{index-C227XKGI.d.ts → index-BetJMx5K.d.cts} +442 -393
  15. package/dist/{index-B-JdU485.d.ts → index-DRjT-kbb.d.ts} +5 -5
  16. package/dist/{index-1Pf2-Oor.d.cts → index-Di4VXcF7.d.ts} +7 -1
  17. package/dist/{index-DbRrwdMu.d.cts → index-LRnqHV-3.d.cts} +3 -3
  18. package/dist/{index-HZiNsnNI.d.ts → index-dsgEPomF.d.cts} +7 -1
  19. package/dist/{index-CtHSjmJQ.d.cts → index-fSwrl15m.d.ts} +441 -396
  20. package/dist/{index-CmiTP4nh.d.cts → index-us2I7-ho.d.cts} +2 -2
  21. package/dist/index.cjs +9 -7
  22. package/dist/index.d.cts +1 -1
  23. package/dist/index.d.ts +1 -1
  24. package/dist/index.js +10 -8
  25. package/dist/locale.js +1 -1
  26. package/dist/pages.cjs +2 -2
  27. package/dist/pages.d.cts +2 -2
  28. package/dist/pages.d.ts +2 -2
  29. package/dist/pages.js +3 -3
  30. package/dist/stores.cjs +2 -2
  31. package/dist/stores.d.cts +1 -1
  32. package/dist/stores.d.ts +1 -1
  33. package/dist/stores.js +2 -2
  34. package/dist/style.css +0 -4
  35. package/dist/{utils-D_H_FuDE.cjs → utils-CJUw1Ktb.cjs} +4 -3
  36. package/dist/{utils-CUQ01uOs.js → utils-Cx01ubSA.js} +5 -4
  37. package/dist/utils.cjs +1 -1
  38. package/dist/utils.d.cts +1 -1
  39. package/dist/utils.d.ts +1 -1
  40. package/dist/utils.js +1 -1
  41. package/package.json +2 -1
  42. /package/dist/{constants-Djb2MLAv.cjs → constants-Br-3mtDb.cjs} +0 -0
  43. /package/dist/{constants-BTxLCrpe.js → constants-WErhxuYm.js} +0 -0
  44. /package/dist/{locale-B3sWTtoq.js → locale-BscyDzS3.js} +0 -0
@@ -1,11 +1,11 @@
1
1
  const require_locale = require("./locale-BTmar3YP.cjs");
2
- const require_utils = require("./utils-D_H_FuDE.cjs");
2
+ const require_utils = require("./utils-CJUw1Ktb.cjs");
3
3
  const require_stores = require("./stores.cjs");
4
4
  const require_hooks = require("./hooks.cjs");
5
5
  let element_plus = require("element-plus");
6
6
  let pinia = require("pinia");
7
- let vue = require("vue");
8
7
  let lodash_es = require("lodash-es");
8
+ let vue = require("vue");
9
9
  let axios = require("axios");
10
10
  axios = require_locale.__toESM(axios);
11
11
  let js_cookie = require("js-cookie");
@@ -13,43 +13,9 @@ js_cookie = require_locale.__toESM(js_cookie);
13
13
  let _element_plus_icons_vue = require("@element-plus/icons-vue");
14
14
  let sortablejs = require("sortablejs");
15
15
  sortablejs = require_locale.__toESM(sortablejs);
16
- //#region src/packages/controls/MyButton/MyButton.vue?vue&type=script&setup=true&lang.ts
17
- var MyButton_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vue.defineComponent)({
18
- __name: "MyButton",
19
- props: { type: {
20
- type: String,
21
- required: false
22
- } },
23
- setup(__props) {
24
- const count = (0, vue.ref)(0);
25
- return (_ctx, _cache) => {
26
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("button", {
27
- class: "my-button",
28
- onClick: _cache[0] || (_cache[0] = ($event) => count.value++)
29
- }, [
30
- _cache[1] || (_cache[1] = (0, vue.createTextVNode)(" my button", -1)),
31
- _cache[2] || (_cache[2] = (0, vue.createElementVNode)("br", null, null, -1)),
32
- (0, vue.createTextVNode)(" type: " + (0, vue.toDisplayString)(__props.type), 1),
33
- _cache[3] || (_cache[3] = (0, vue.createElementVNode)("br", null, null, -1)),
34
- (0, vue.createTextVNode)(" count: " + (0, vue.toDisplayString)(count.value), 1)
35
- ]);
36
- };
37
- }
38
- });
39
- //#endregion
40
- //#region \0plugin-vue:export-helper
41
- var _plugin_vue_export_helper_default = (sfc, props) => {
42
- const target = sfc.__vccOpts || sfc;
43
- for (const [key, val] of props) target[key] = val;
44
- return target;
45
- };
46
- //#endregion
47
- //#region src/packages/controls/MyButton/MyButton.vue
48
- var MyButton_default = /* @__PURE__ */ _plugin_vue_export_helper_default(MyButton_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-8d6f1d45"]]);
49
- //#endregion
50
16
  //#region src/packages/controls/affix/affix.vue?vue&type=script&setup=true&lang.ts
51
- const _hoisted_1$25 = ["innerHTML"];
52
- const _hoisted_2$24 = { key: 2 };
17
+ const _hoisted_1$28 = ["innerHTML"];
18
+ const _hoisted_2$27 = { key: 2 };
53
19
  //#endregion
54
20
  //#region src/packages/controls/affix/affix.vue
55
21
  var affix_default = /* @__PURE__ */ (0, vue.defineComponent)({
@@ -85,7 +51,7 @@ var affix_default = /* @__PURE__ */ (0, vue.defineComponent)({
85
51
  fn: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.default) && (0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.default), { key: 0 })) : typeof __props.control.default === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
86
52
  key: 1,
87
53
  innerHTML: __props.control.default
88
- }, null, 8, _hoisted_1$25)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$24, (0, vue.toDisplayString)(__props.control.default), 1))]),
54
+ }, null, 8, _hoisted_1$28)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$27, (0, vue.toDisplayString)(__props.control.default), 1))]),
89
55
  key: "0"
90
56
  } : void 0]), 1040);
91
57
  };
@@ -94,11 +60,132 @@ var affix_default = /* @__PURE__ */ (0, vue.defineComponent)({
94
60
  //#endregion
95
61
  //#region src/packages/controls/affix/affix.ts
96
62
  var affix_exports = /* @__PURE__ */ require_locale.__exportAll({
97
- Template: () => Template$34,
98
- init: () => init$37
63
+ Template: () => Template$37,
64
+ init: () => init$40
99
65
  });
100
- const Template$34 = require_utils.withInstall(affix_default);
101
- function init$37(moduleName, name, options = {}) {
66
+ const Template$37 = require_utils.withInstall(affix_default);
67
+ function init$40(moduleName, name, options = {}) {
68
+ return {
69
+ moduleName,
70
+ name,
71
+ ...options
72
+ };
73
+ }
74
+ //#endregion
75
+ //#region src/packages/controls/alert/alert.vue?vue&type=script&setup=true&lang.ts
76
+ const _hoisted_1$27 = ["innerHTML"];
77
+ const _hoisted_2$26 = { key: 2 };
78
+ const _hoisted_3$21 = ["innerHTML"];
79
+ const _hoisted_4$16 = { key: 2 };
80
+ const _hoisted_5$13 = ["innerHTML"];
81
+ const _hoisted_6$13 = { key: 2 };
82
+ //#endregion
83
+ //#region src/packages/controls/alert/alert.vue
84
+ var alert_default = /* @__PURE__ */ (0, vue.defineComponent)({
85
+ __name: "alert",
86
+ props: { control: {
87
+ type: Object,
88
+ required: true
89
+ } },
90
+ setup(__props) {
91
+ const props = __props;
92
+ /**
93
+ * 从 control 对象中提取并返回排除 default、title 和 icon 之外的其他属性
94
+ * @returns 剩余的属性对象
95
+ * */
96
+ const AlertProps = (0, vue.computed)(() => {
97
+ const { default: _default, title, icon, ...rest } = props.control;
98
+ return rest;
99
+ });
100
+ return (_ctx, _cache) => {
101
+ return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(element_plus.ElAlert), (0, vue.mergeProps)(AlertProps.value, { onClose: _cache[0] || (_cache[0] = (event) => __props.control.close?.(event)) }), (0, vue.createSlots)({
102
+ default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.control?.name) + " ", 1)]),
103
+ _: 2
104
+ }, [
105
+ __props.control?.default ? {
106
+ name: "default",
107
+ fn: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.default) && !(0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.default), { key: 0 })) : typeof __props.control.default === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
108
+ key: 1,
109
+ innerHTML: __props.control.default
110
+ }, null, 8, _hoisted_1$27)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$26, (0, vue.toDisplayString)(__props.control.default), 1))]),
111
+ key: "0"
112
+ } : void 0,
113
+ __props.control?.title ? {
114
+ name: "title",
115
+ fn: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.title) && !(0, vue.unref)(require_utils.isHTML)(__props.control.title) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.title), { key: 0 })) : typeof __props.control.title === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.title) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
116
+ key: 1,
117
+ innerHTML: __props.control.title
118
+ }, null, 8, _hoisted_3$21)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_4$16, (0, vue.toDisplayString)(__props.control.title), 1))]),
119
+ key: "1"
120
+ } : void 0,
121
+ __props.control?.icon ? {
122
+ name: "icon",
123
+ fn: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.icon) && !(0, vue.unref)(require_utils.isHTML)(__props.control.icon) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.icon), { key: 0 })) : typeof __props.control.icon === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.icon) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
124
+ key: 1,
125
+ innerHTML: __props.control.icon
126
+ }, null, 8, _hoisted_5$13)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_6$13, (0, vue.toDisplayString)(__props.control.icon), 1))]),
127
+ key: "2"
128
+ } : void 0
129
+ ]), 1040);
130
+ };
131
+ }
132
+ });
133
+ //#endregion
134
+ //#region src/packages/controls/alert/alert.ts
135
+ var alert_exports = /* @__PURE__ */ require_locale.__exportAll({
136
+ Template: () => Template$36,
137
+ init: () => init$39
138
+ });
139
+ const Template$36 = require_utils.withInstall(alert_default);
140
+ function init$39(moduleName, name, options = {}) {
141
+ return {
142
+ moduleName,
143
+ name,
144
+ ...options
145
+ };
146
+ }
147
+ //#endregion
148
+ //#region src/packages/controls/avatar/avatar.vue?vue&type=script&setup=true&lang.ts
149
+ const _hoisted_1$26 = { key: 0 };
150
+ const _hoisted_2$25 = ["innerHTML"];
151
+ const _hoisted_3$20 = { key: 2 };
152
+ //#endregion
153
+ //#region src/packages/controls/avatar/avatar.vue
154
+ var avatar_default = /* @__PURE__ */ (0, vue.defineComponent)({
155
+ __name: "avatar",
156
+ props: { control: {
157
+ type: Object,
158
+ required: true
159
+ } },
160
+ setup(__props) {
161
+ const props = __props;
162
+ const avatarProps = (0, vue.computed)(() => {
163
+ const { default: _default, ...rest } = props.control;
164
+ return rest;
165
+ });
166
+ return (_ctx, _cache) => {
167
+ return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(element_plus.ElAvatar), (0, vue.mergeProps)(avatarProps.value, { onError: _cache[0] || (_cache[0] = (event) => __props.control.error?.(event)) }), (0, vue.createSlots)({
168
+ default: (0, vue.withCtx)(() => [!__props.control.default ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_1$26, (0, vue.toDisplayString)(__props.control.name), 1)) : (0, vue.createCommentVNode)("v-if", true)]),
169
+ _: 2
170
+ }, [__props.control.default ? {
171
+ name: "default",
172
+ fn: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.default) && !(0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.default), { key: 0 })) : typeof __props.control.default === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
173
+ key: 1,
174
+ innerHTML: __props.control.default
175
+ }, null, 8, _hoisted_2$25)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$20, (0, vue.toDisplayString)(__props.control.default), 1))]),
176
+ key: "0"
177
+ } : void 0]), 1040);
178
+ };
179
+ }
180
+ });
181
+ //#endregion
182
+ //#region src/packages/controls/avatar/avatar.ts
183
+ var avatar_exports = /* @__PURE__ */ require_locale.__exportAll({
184
+ Template: () => Template$35,
185
+ init: () => init$38
186
+ });
187
+ const Template$35 = require_utils.withInstall(avatar_default);
188
+ function init$38(moduleName, name, options = {}) {
102
189
  return {
103
190
  moduleName,
104
191
  name,
@@ -107,8 +194,8 @@ function init$37(moduleName, name, options = {}) {
107
194
  }
108
195
  //#endregion
109
196
  //#region src/packages/controls/autocomplete/autocomplete.vue?vue&type=script&setup=true&lang.ts
110
- const _hoisted_1$24 = ["innerHTML"];
111
- const _hoisted_2$23 = { key: 2 };
197
+ const _hoisted_1$25 = ["innerHTML"];
198
+ const _hoisted_2$24 = { key: 2 };
112
199
  const _hoisted_3$19 = ["innerHTML"];
113
200
  const _hoisted_4$15 = { key: 2 };
114
201
  const _hoisted_5$12 = ["innerHTML"];
@@ -155,7 +242,7 @@ var autocomplete_default = /* @__PURE__ */ (0, vue.defineComponent)({
155
242
  fn: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.default) && !(0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.default), { key: 0 })) : typeof __props.control.default === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
156
243
  key: 1,
157
244
  innerHTML: __props.control.default
158
- }, null, 8, _hoisted_1$24)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$23, (0, vue.toDisplayString)(__props.control.default), 1))]),
245
+ }, null, 8, _hoisted_1$25)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$24, (0, vue.toDisplayString)(__props.control.default), 1))]),
159
246
  key: "0"
160
247
  } : void 0,
161
248
  __props.control?.loadingSlot ? {
@@ -205,12 +292,12 @@ var autocomplete_default = /* @__PURE__ */ (0, vue.defineComponent)({
205
292
  //#endregion
206
293
  //#region src/packages/controls/autocomplete/autocomplete.ts
207
294
  var autocomplete_exports = /* @__PURE__ */ require_locale.__exportAll({
208
- Template: () => Template$33,
209
- init: () => init$36
295
+ Template: () => Template$34,
296
+ init: () => init$37
210
297
  });
211
298
  const { t: t$2 } = require_locale.i18n.global;
212
- const Template$33 = require_utils.withInstall(autocomplete_default);
213
- function init$36(moduleName, name, options = {}) {
299
+ const Template$34 = require_utils.withInstall(autocomplete_default);
300
+ function init$37(moduleName, name, options = {}) {
214
301
  return {
215
302
  name,
216
303
  placeholder: t$2("controls.pleaseInput") + t$2(moduleName ? `${moduleName}.${name}` : name),
@@ -219,15 +306,13 @@ function init$36(moduleName, name, options = {}) {
219
306
  }
220
307
  //#endregion
221
308
  //#region src/packages/controls/button/button.vue?vue&type=script&setup=true&lang.ts
222
- const _hoisted_1$23 = ["innerHTML"];
223
- const _hoisted_2$22 = { key: 2 };
309
+ const _hoisted_1$24 = ["innerHTML"];
310
+ const _hoisted_2$23 = { key: 2 };
224
311
  const _hoisted_3$18 = ["innerHTML"];
225
312
  const _hoisted_4$14 = { key: 2 };
226
313
  const _hoisted_5$11 = ["innerHTML"];
227
314
  const _hoisted_6$11 = { key: 2 };
228
- //#endregion
229
- //#region src/packages/controls/button/button.vue
230
- var button_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ (0, vue.defineComponent)({
315
+ var button_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vue.defineComponent)({
231
316
  __name: "button",
232
317
  props: { control: {
233
318
  type: Object,
@@ -268,7 +353,7 @@ var button_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PUR
268
353
  fn: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.default) && !(0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)((0, vue.markRaw)(__props.control.default)), { key: 0 })) : typeof __props.control.default === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
269
354
  key: 1,
270
355
  innerHTML: __props.control.default
271
- }, null, 8, _hoisted_1$23)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$22, (0, vue.toDisplayString)(__props.control.default), 1))]),
356
+ }, null, 8, _hoisted_1$24)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$23, (0, vue.toDisplayString)(__props.control.default), 1))]),
272
357
  key: "1"
273
358
  } : __props.control.separator ? {
274
359
  name: "default",
@@ -319,15 +404,25 @@ var button_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PUR
319
404
  ]), 1040, ["class"]);
320
405
  };
321
406
  }
322
- }), [["__scopeId", "data-v-2741bf9a"]]);
407
+ });
408
+ //#endregion
409
+ //#region \0plugin-vue:export-helper
410
+ var _plugin_vue_export_helper_default = (sfc, props) => {
411
+ const target = sfc.__vccOpts || sfc;
412
+ for (const [key, val] of props) target[key] = val;
413
+ return target;
414
+ };
415
+ //#endregion
416
+ //#region src/packages/controls/button/button.vue
417
+ var button_default = /* @__PURE__ */ _plugin_vue_export_helper_default(button_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-2741bf9a"]]);
323
418
  //#endregion
324
419
  //#region src/packages/controls/button/button.ts
325
420
  var button_exports = /* @__PURE__ */ require_locale.__exportAll({
326
- Template: () => Template$32,
327
- init: () => init$35
421
+ Template: () => Template$33,
422
+ init: () => init$36
328
423
  });
329
- const Template$32 = require_utils.withInstall(button_default);
330
- function init$35(moduleName, name, options) {
424
+ const Template$33 = require_utils.withInstall(button_default);
425
+ function init$36(moduleName, name, options) {
331
426
  return {
332
427
  moduleName,
333
428
  name,
@@ -402,8 +497,8 @@ var buttonGroup_default = /* @__PURE__ */ (0, vue.defineComponent)({
402
497
  });
403
498
  //#endregion
404
499
  //#region src/packages/controls/popconfirm/popconfirm.vue?vue&type=script&setup=true&lang.ts
405
- const _hoisted_1$22 = ["innerHTML"];
406
- const _hoisted_2$21 = ["innerHTML"];
500
+ const _hoisted_1$23 = ["innerHTML"];
501
+ const _hoisted_2$22 = ["innerHTML"];
407
502
  const _hoisted_3$17 = { key: 2 };
408
503
  //#endregion
409
504
  //#region src/packages/controls/popconfirm/popconfirm.vue
@@ -448,14 +543,14 @@ var popconfirm_default = /* @__PURE__ */ (0, vue.defineComponent)({
448
543
  actions: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.actions) && !(0, vue.unref)(require_utils.isHTML)(__props.control.actions) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.actions), { key: 0 })) : typeof __props.control.actions === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.actions) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
449
544
  key: 1,
450
545
  innerHTML: __props.control.actions
451
- }, null, 8, _hoisted_2$21)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$17, (0, vue.toDisplayString)(__props.control.actions), 1))]),
546
+ }, null, 8, _hoisted_2$22)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$17, (0, vue.toDisplayString)(__props.control.actions), 1))]),
452
547
  _: 2
453
548
  }, [__props.control.reference ? {
454
549
  name: "reference",
455
550
  fn: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.reference) && !(0, vue.unref)(require_utils.isHTML)(__props.control.reference) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.reference), { key: 0 })) : typeof __props.control.reference === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.reference) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
456
551
  key: 1,
457
552
  innerHTML: __props.control.reference
458
- }, null, 8, _hoisted_1$22)) : ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(button_exports).Template, {
553
+ }, null, 8, _hoisted_1$23)) : ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(button_exports).Template, {
459
554
  key: 2,
460
555
  control: buttonProps.value
461
556
  }, null, 8, ["control"]))]),
@@ -471,13 +566,13 @@ var popconfirm_default = /* @__PURE__ */ (0, vue.defineComponent)({
471
566
  //#endregion
472
567
  //#region src/packages/controls/popconfirm/popconfirm.ts
473
568
  var popconfirm_exports = /* @__PURE__ */ require_locale.__exportAll({
474
- Template: () => Template$31,
475
- init: () => init$34
569
+ Template: () => Template$32,
570
+ init: () => init$35
476
571
  });
477
- const Template$31 = require_utils.withInstall(popconfirm_default);
478
- function init$34(moduleName, name, options = {}) {
572
+ const Template$32 = require_utils.withInstall(popconfirm_default);
573
+ function init$35(moduleName, name, options = {}) {
479
574
  const label = options?.label ?? require_locale.t(`${moduleName}.${name}`);
480
- const button = options?.button ?? init$35(moduleName, name, {
575
+ const button = options?.button ?? init$36(moduleName, name, {
481
576
  text: options?.text ?? false,
482
577
  label,
483
578
  icon: options?.icon,
@@ -582,13 +677,13 @@ var dropdown_default = /* @__PURE__ */ (0, vue.defineComponent)({
582
677
  //#endregion
583
678
  //#region src/packages/controls/dropdown/dropdown.ts
584
679
  var dropdown_exports = /* @__PURE__ */ require_locale.__exportAll({
585
- Template: () => Template$30,
586
- init: () => init$33
680
+ Template: () => Template$31,
681
+ init: () => init$34
587
682
  });
588
- const Template$30 = require_utils.withInstall(dropdown_default);
589
- function init$33(moduleName, name, options) {
683
+ const Template$31 = require_utils.withInstall(dropdown_default);
684
+ function init$34(moduleName, name, options) {
590
685
  const items = (0, vue.reactive)(options?.items ?? []);
591
- const button = options?.button ?? init$35(moduleName, name, {
686
+ const button = options?.button ?? init$36(moduleName, name, {
592
687
  suffixIcon: _element_plus_icons_vue.ArrowDown,
593
688
  text: options?.text ?? false,
594
689
  disabled: options?.disabled ?? false,
@@ -619,17 +714,17 @@ function init$33(moduleName, name, options) {
619
714
  //#endregion
620
715
  //#region src/packages/controls/buttonGroup/buttonGroup.ts
621
716
  var buttonGroup_exports = /* @__PURE__ */ require_locale.__exportAll({
622
- Template: () => Template$29,
717
+ Template: () => Template$30,
623
718
  createComponent: () => createComponent$3,
624
- init: () => init$32
719
+ init: () => init$33
625
720
  });
626
- const Template$29 = require_utils.withInstall(buttonGroup_default);
721
+ const Template$30 = require_utils.withInstall(buttonGroup_default);
627
722
  const componentMap = {
628
723
  button: button_exports,
629
724
  popconfirm: popconfirm_exports,
630
725
  dropdown: dropdown_exports
631
726
  };
632
- function init$32(moduleName, options) {
727
+ function init$33(moduleName, options) {
633
728
  const localSetting = require_stores.useLocalSettingStore();
634
729
  const controls = (0, vue.reactive)(options?.controls ?? []);
635
730
  const buttonsArea = options?.buttonsArea ?? "custom";
@@ -691,8 +786,8 @@ function createComponent$3(controlType, moduleName, name, options, items) {
691
786
  }
692
787
  //#endregion
693
788
  //#region src/packages/controls/dialog/dialog.vue?vue&type=script&setup=true&lang.ts
694
- const _hoisted_1$21 = ["innerHTML"];
695
- const _hoisted_2$20 = { key: 2 };
789
+ const _hoisted_1$22 = ["innerHTML"];
790
+ const _hoisted_2$21 = { key: 2 };
696
791
  const _hoisted_3$16 = ["innerHTML"];
697
792
  const _hoisted_4$13 = { key: 2 };
698
793
  //#endregion
@@ -856,7 +951,7 @@ var dialog_default$1 = /* @__PURE__ */ (0, vue.defineComponent)({
856
951
  }, null, 512)) : typeof __props.control.default === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
857
952
  key: 1,
858
953
  innerHTML: __props.control.default
859
- }, null, 8, _hoisted_1$21)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$20, (0, vue.toDisplayString)(__props.control.default), 1))]),
954
+ }, null, 8, _hoisted_1$22)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$21, (0, vue.toDisplayString)(__props.control.default), 1))]),
860
955
  key: "1"
861
956
  } : void 0, _ctx.$slots.footer ? {
862
957
  name: "footer",
@@ -887,10 +982,10 @@ var dialog_default$1 = /* @__PURE__ */ (0, vue.defineComponent)({
887
982
  //#region src/packages/controls/dialog/dialog.ts
888
983
  var dialog_exports = /* @__PURE__ */ require_locale.__exportAll({
889
984
  DIALOG_FORM_INJECTION_KEY: () => DIALOG_FORM_INJECTION_KEY,
890
- Template: () => Template$28,
891
- init: () => init$31
985
+ Template: () => Template$29,
986
+ init: () => init$32
892
987
  });
893
- const Template$28 = require_utils.withInstall(dialog_default$1);
988
+ const Template$29 = require_utils.withInstall(dialog_default$1);
894
989
  function createButtonClickHandler(formRef, dialogControl) {
895
990
  return (buttonName, event) => {
896
991
  switch (buttonName.name) {
@@ -942,7 +1037,7 @@ const closeDialog = (dialogControl, done) => {
942
1037
  else handleClose();
943
1038
  };
944
1039
  const DIALOG_FORM_INJECTION_KEY = Symbol("dialog-form");
945
- function init$31(name, templateName, buttons, options = {}) {
1040
+ function init$32(name, templateName, buttons, options = {}) {
946
1041
  const dialogControl = (0, vue.reactive)({
947
1042
  name,
948
1043
  buttons,
@@ -995,8 +1090,8 @@ function init$31(name, templateName, buttons, options = {}) {
995
1090
  }
996
1091
  //#endregion
997
1092
  //#region src/packages/controls/divider/divider.vue?vue&type=script&setup=true&lang.ts
998
- const _hoisted_1$20 = ["innerHTML"];
999
- const _hoisted_2$19 = { key: 2 };
1093
+ const _hoisted_1$21 = ["innerHTML"];
1094
+ const _hoisted_2$20 = { key: 2 };
1000
1095
  //#endregion
1001
1096
  //#region src/packages/controls/divider/divider.vue
1002
1097
  var divider_default = /* @__PURE__ */ (0, vue.defineComponent)({
@@ -1016,7 +1111,7 @@ var divider_default = /* @__PURE__ */ (0, vue.defineComponent)({
1016
1111
  default: (0, vue.withCtx)(() => [__props.control?.default ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, [(0, vue.unref)(require_utils.isComponent)(__props.control.default) && !(0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.default), { key: 0 })) : typeof __props.control.default === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
1017
1112
  key: 1,
1018
1113
  innerHTML: __props.control.default
1019
- }, null, 8, _hoisted_1$20)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$19, (0, vue.toDisplayString)(__props.control.default), 1))], 64)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.control?.text ?? (0, vue.unref)(require_locale.t)(`${__props.control.moduleName}.${__props.control.name}`)), 1)], 64))]),
1114
+ }, null, 8, _hoisted_1$21)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$20, (0, vue.toDisplayString)(__props.control.default), 1))], 64)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.control?.text ?? (0, vue.unref)(require_locale.t)(`${__props.control.moduleName}.${__props.control.name}`)), 1)], 64))]),
1020
1115
  _: 1
1021
1116
  }, 16);
1022
1117
  };
@@ -1025,11 +1120,11 @@ var divider_default = /* @__PURE__ */ (0, vue.defineComponent)({
1025
1120
  //#endregion
1026
1121
  //#region src/packages/controls/divider/divider.ts
1027
1122
  var divider_exports = /* @__PURE__ */ require_locale.__exportAll({
1028
- Template: () => Template$27,
1029
- init: () => init$30
1123
+ Template: () => Template$28,
1124
+ init: () => init$31
1030
1125
  });
1031
- const Template$27 = require_utils.withInstall(divider_default);
1032
- function init$30(moduleName, name, options = {}) {
1126
+ const Template$28 = require_utils.withInstall(divider_default);
1127
+ function init$31(moduleName, name, options = {}) {
1033
1128
  return {
1034
1129
  moduleName,
1035
1130
  name,
@@ -1039,11 +1134,11 @@ function init$30(moduleName, name, options = {}) {
1039
1134
  }
1040
1135
  //#endregion
1041
1136
  //#region src/packages/controls/input/input.vue?vue&type=script&setup=true&lang.ts
1042
- const _hoisted_1$19 = {
1137
+ const _hoisted_1$20 = {
1043
1138
  class: "minput-box",
1044
1139
  style: { "width": "100%" }
1045
1140
  };
1046
- const _hoisted_2$18 = ["innerHTML"];
1141
+ const _hoisted_2$19 = ["innerHTML"];
1047
1142
  const _hoisted_3$15 = { key: 2 };
1048
1143
  const _hoisted_4$12 = ["innerHTML"];
1049
1144
  const _hoisted_5$10 = { key: 2 };
@@ -1204,7 +1299,7 @@ var input_default = /* @__PURE__ */ (0, vue.defineComponent)({
1204
1299
  });
1205
1300
  __expose(instance);
1206
1301
  return (_ctx, _cache) => {
1207
- return (0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, null, [(0, vue.createElementVNode)("div", _hoisted_1$19, [(0, vue.createVNode)((0, vue.unref)(element_plus.ElInput), (0, vue.mergeProps)(inputProps.value, {
1302
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, null, [(0, vue.createElementVNode)("div", _hoisted_1$20, [(0, vue.createVNode)((0, vue.unref)(element_plus.ElInput), (0, vue.mergeProps)(inputProps.value, {
1208
1303
  placeholder: placeholder.value,
1209
1304
  modelValue: inputValue.value,
1210
1305
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => inputValue.value = $event),
@@ -1228,7 +1323,7 @@ var input_default = /* @__PURE__ */ (0, vue.defineComponent)({
1228
1323
  fn: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.prefix) && !(0, vue.unref)(require_utils.isHTML)(__props.control.prefix) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.prefix), { key: 0 })) : typeof __props.control.prefix === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.prefix) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
1229
1324
  key: 1,
1230
1325
  innerHTML: __props.control.prefix
1231
- }, null, 8, _hoisted_2$18)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$15, (0, vue.toDisplayString)(__props.control.prefix), 1))]),
1326
+ }, null, 8, _hoisted_2$19)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$15, (0, vue.toDisplayString)(__props.control.prefix), 1))]),
1232
1327
  key: "1"
1233
1328
  } : void 0,
1234
1329
  _ctx.$slots.suffix ? {
@@ -1409,11 +1504,11 @@ var input_default = /* @__PURE__ */ (0, vue.defineComponent)({
1409
1504
  //#endregion
1410
1505
  //#region src/packages/controls/input/input.ts
1411
1506
  var input_exports = /* @__PURE__ */ require_locale.__exportAll({
1412
- Template: () => Template$26,
1413
- init: () => init$29
1507
+ Template: () => Template$27,
1508
+ init: () => init$30
1414
1509
  });
1415
- const Template$26 = require_utils.withInstall(input_default);
1416
- function init$29(moduleName, name, options) {
1510
+ const Template$27 = require_utils.withInstall(input_default);
1511
+ function init$30(moduleName, name, options) {
1417
1512
  let instance = null;
1418
1513
  return {
1419
1514
  moduleName,
@@ -1436,8 +1531,8 @@ function init$29(moduleName, name, options) {
1436
1531
  }
1437
1532
  //#endregion
1438
1533
  //#region src/packages/controls/select/select.vue?vue&type=script&setup=true&lang.ts
1439
- const _hoisted_1$18 = ["innerHTML"];
1440
- const _hoisted_2$17 = { key: 2 };
1534
+ const _hoisted_1$19 = ["innerHTML"];
1535
+ const _hoisted_2$18 = { key: 2 };
1441
1536
  const _hoisted_3$14 = ["innerHTML"];
1442
1537
  const _hoisted_4$11 = { key: 2 };
1443
1538
  const _hoisted_5$9 = ["innerHTML"];
@@ -1622,7 +1717,7 @@ var select_default = /* @__PURE__ */ (0, vue.defineComponent)({
1622
1717
  item,
1623
1718
  scope
1624
1719
  })
1625
- }, null, 8, _hoisted_1$18)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$17, (0, vue.toDisplayString)(__props.control.optionTemplate), 1))]),
1720
+ }, null, 8, _hoisted_1$19)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$18, (0, vue.toDisplayString)(__props.control.optionTemplate), 1))]),
1626
1721
  key: "1"
1627
1722
  } : void 0]), 1032, [
1628
1723
  "label",
@@ -1734,11 +1829,11 @@ var select_default = /* @__PURE__ */ (0, vue.defineComponent)({
1734
1829
  //#endregion
1735
1830
  //#region src/packages/controls/select/select.ts
1736
1831
  var select_exports = /* @__PURE__ */ require_locale.__exportAll({
1737
- Template: () => Template$25,
1738
- init: () => init$28
1832
+ Template: () => Template$26,
1833
+ init: () => init$29
1739
1834
  });
1740
- const Template$25 = require_utils.withInstall(select_default);
1741
- function init$28(moduleName, name, options = {}) {
1835
+ const Template$26 = require_utils.withInstall(select_default);
1836
+ function init$29(moduleName, name, options = {}) {
1742
1837
  return {
1743
1838
  moduleName,
1744
1839
  name,
@@ -1758,8 +1853,8 @@ function init$28(moduleName, name, options = {}) {
1758
1853
  * */
1759
1854
  //#endregion
1760
1855
  //#region src/packages/controls/inputTag/inputTag.vue?vue&type=script&setup=true&lang.ts
1761
- const _hoisted_1$17 = ["innerHTML"];
1762
- const _hoisted_2$16 = { key: 2 };
1856
+ const _hoisted_1$18 = ["innerHTML"];
1857
+ const _hoisted_2$17 = { key: 2 };
1763
1858
  const _hoisted_3$13 = ["innerHTML"];
1764
1859
  const _hoisted_4$10 = { key: 2 };
1765
1860
  const _hoisted_5$8 = ["innerHTML"];
@@ -1831,7 +1926,7 @@ var inputTag_default = /* @__PURE__ */ (0, vue.defineComponent)({
1831
1926
  fn: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.prefix) && !(0, vue.unref)(require_utils.isHTML)(__props.control.prefix) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.prefix), { key: 0 })) : typeof __props.control.prefix === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.prefix) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
1832
1927
  key: 1,
1833
1928
  innerHTML: __props.control.prefix
1834
- }, null, 8, _hoisted_1$17)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$16, (0, vue.toDisplayString)(__props.control.prefix), 1))]),
1929
+ }, null, 8, _hoisted_1$18)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$17, (0, vue.toDisplayString)(__props.control.prefix), 1))]),
1835
1930
  key: "0"
1836
1931
  } : void 0,
1837
1932
  __props.control?.suffix ? {
@@ -1861,12 +1956,12 @@ var inputTag_default = /* @__PURE__ */ (0, vue.defineComponent)({
1861
1956
  //#endregion
1862
1957
  //#region src/packages/controls/inputTag/inputTag.ts
1863
1958
  var inputTag_exports = /* @__PURE__ */ require_locale.__exportAll({
1864
- Template: () => Template$24,
1865
- init: () => init$27
1959
+ Template: () => Template$25,
1960
+ init: () => init$28
1866
1961
  });
1867
1962
  const { t: t$1 } = require_locale.i18n.global;
1868
- const Template$24 = require_utils.withInstall(inputTag_default);
1869
- function init$27(moduleName, name, options = {}) {
1963
+ const Template$25 = require_utils.withInstall(inputTag_default);
1964
+ function init$28(moduleName, name, options = {}) {
1870
1965
  return {
1871
1966
  moduleName,
1872
1967
  name,
@@ -1878,8 +1973,8 @@ function init$27(moduleName, name, options = {}) {
1878
1973
  }
1879
1974
  //#endregion
1880
1975
  //#region src/packages/controls/inputNumber/inputNumber.vue?vue&type=script&setup=true&lang.ts
1881
- const _hoisted_1$16 = ["innerHTML"];
1882
- const _hoisted_2$15 = { key: 2 };
1976
+ const _hoisted_1$17 = ["innerHTML"];
1977
+ const _hoisted_2$16 = { key: 2 };
1883
1978
  const _hoisted_3$12 = ["innerHTML"];
1884
1979
  const _hoisted_4$9 = { key: 2 };
1885
1980
  const _hoisted_5$7 = ["innerHTML"];
@@ -1930,7 +2025,7 @@ var inputNumber_default = /* @__PURE__ */ (0, vue.defineComponent)({
1930
2025
  fn: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.prefix) && !(0, vue.unref)(require_utils.isHTML)(__props.control.prefix) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.prefix), { key: 0 })) : typeof __props.control.prefix === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.prefix) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
1931
2026
  key: 1,
1932
2027
  innerHTML: __props.control.prefix
1933
- }, null, 8, _hoisted_1$16)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$15, (0, vue.toDisplayString)(__props.control.prefix), 1))]),
2028
+ }, null, 8, _hoisted_1$17)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$16, (0, vue.toDisplayString)(__props.control.prefix), 1))]),
1934
2029
  key: "0"
1935
2030
  } : void 0,
1936
2031
  __props.control?.suffix ? {
@@ -1964,12 +2059,12 @@ var inputNumber_default = /* @__PURE__ */ (0, vue.defineComponent)({
1964
2059
  //#endregion
1965
2060
  //#region src/packages/controls/inputNumber/inputNumber.ts
1966
2061
  var inputNumber_exports = /* @__PURE__ */ require_locale.__exportAll({
1967
- Template: () => Template$23,
1968
- init: () => init$26
2062
+ Template: () => Template$24,
2063
+ init: () => init$27
1969
2064
  });
1970
2065
  const { t } = require_locale.i18n.global;
1971
- const Template$23 = require_utils.withInstall(inputNumber_default);
1972
- function init$26(moduleName, name, options = {}) {
2066
+ const Template$24 = require_utils.withInstall(inputNumber_default);
2067
+ function init$27(moduleName, name, options = {}) {
1973
2068
  return {
1974
2069
  moduleName,
1975
2070
  name,
@@ -1979,8 +2074,8 @@ function init$26(moduleName, name, options = {}) {
1979
2074
  }
1980
2075
  //#endregion
1981
2076
  //#region src/packages/controls/radio/radio.vue?vue&type=script&setup=true&lang.ts
1982
- const _hoisted_1$15 = { class: "rw-radio-container" };
1983
- const _hoisted_2$14 = { class: "rw-radio-multiple" };
2077
+ const _hoisted_1$16 = { class: "rw-radio-container" };
2078
+ const _hoisted_2$15 = { class: "rw-radio-multiple" };
1984
2079
  const _hoisted_3$11 = {
1985
2080
  key: 0,
1986
2081
  class: "rw-radio-loading"
@@ -2096,7 +2191,7 @@ var radio_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE
2096
2191
  processedOptions
2097
2192
  });
2098
2193
  return (_ctx, _cache) => {
2099
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$15, [(0, vue.createCommentVNode)(" 单个单选框模式 "), isSingleMode.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(element_plus.ElRadio), (0, vue.mergeProps)({
2194
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$16, [(0, vue.createCommentVNode)(" 单个单选框模式 "), isSingleMode.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(element_plus.ElRadio), (0, vue.mergeProps)({
2100
2195
  key: 0,
2101
2196
  modelValue: (0, vue.unref)(fieldValue),
2102
2197
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => (0, vue.isRef)(fieldValue) ? fieldValue.value = $event : null)
@@ -2106,7 +2201,7 @@ var radio_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE
2106
2201
  }), {
2107
2202
  default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default", {}, () => [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.control.label || __props.control.default), 1)], true)]),
2108
2203
  _: 3
2109
- }, 16, ["modelValue"])) : isMultipleMode.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, [(0, vue.createCommentVNode)(" 多选模式 "), (0, vue.createElementVNode)("div", _hoisted_2$14, [(0, vue.createCommentVNode)(" 加载状态 "), isLoading.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_3$11, [(0, vue.createVNode)((0, vue.unref)(element_plus.ElIcon), { class: "is-loading" }, {
2204
+ }, 16, ["modelValue"])) : isMultipleMode.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, [(0, vue.createCommentVNode)(" 多选模式 "), (0, vue.createElementVNode)("div", _hoisted_2$15, [(0, vue.createCommentVNode)(" 加载状态 "), isLoading.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_3$11, [(0, vue.createVNode)((0, vue.unref)(element_plus.ElIcon), { class: "is-loading" }, {
2110
2205
  default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(_element_plus_icons_vue.Loading))]),
2111
2206
  _: 1
2112
2207
  }), _cache[3] || (_cache[3] = (0, vue.createElementVNode)("span", null, "加载中...", -1))])) : error.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, [(0, vue.createCommentVNode)(" 错误状态 "), (0, vue.createElementVNode)("div", _hoisted_4$8, [
@@ -2197,11 +2292,11 @@ var radio_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE
2197
2292
  //#endregion
2198
2293
  //#region src/packages/controls/radio/radio.ts
2199
2294
  var radio_exports = /* @__PURE__ */ require_locale.__exportAll({
2200
- Template: () => Template$22,
2201
- init: () => init$25
2295
+ Template: () => Template$23,
2296
+ init: () => init$26
2202
2297
  });
2203
- const Template$22 = require_utils.withInstall(radio_default);
2204
- function init$25(moduleName, name, options = {}) {
2298
+ const Template$23 = require_utils.withInstall(radio_default);
2299
+ function init$26(moduleName, name, options = {}) {
2205
2300
  return {
2206
2301
  moduleName,
2207
2302
  name,
@@ -2237,10 +2332,10 @@ var mergeInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
2237
2332
  emits: ["update:modelValue"],
2238
2333
  setup(__props, { emit: __emit }) {
2239
2334
  const componentMap = (0, vue.markRaw)({
2240
- "input": Template$26,
2241
- "inputNumber": Template$23,
2242
- "autocomplete": Template$33,
2243
- "inputTag": Template$24
2335
+ "input": Template$27,
2336
+ "inputNumber": Template$24,
2337
+ "autocomplete": Template$34,
2338
+ "inputTag": Template$25
2244
2339
  });
2245
2340
  const props = __props;
2246
2341
  const currentComponent = (0, vue.computed)(() => {
@@ -2259,35 +2354,35 @@ var mergeInput_default = /* @__PURE__ */ (0, vue.defineComponent)({
2259
2354
  //#endregion
2260
2355
  //#region src/packages/controls/mergeInput/mergeInput.ts
2261
2356
  var mergeInput_exports = /* @__PURE__ */ require_locale.__exportAll({
2262
- Template: () => Template$21,
2263
- init: () => init$24
2357
+ Template: () => Template$22,
2358
+ init: () => init$25
2264
2359
  });
2265
- const Template$21 = require_utils.withInstall(mergeInput_default);
2266
- function init$24(moduleName, name, options = {}) {
2360
+ const Template$22 = require_utils.withInstall(mergeInput_default);
2361
+ function init$25(moduleName, name, options = {}) {
2267
2362
  const { inputType, ...restOptions } = options;
2268
2363
  switch (inputType) {
2269
2364
  case "inputNumber": return {
2270
2365
  inputType,
2271
- ...init$26(moduleName, name, restOptions)
2366
+ ...init$27(moduleName, name, restOptions)
2272
2367
  };
2273
2368
  case "autocomplete": return {
2274
2369
  inputType,
2275
- ...init$36(moduleName, name, restOptions)
2370
+ ...init$37(moduleName, name, restOptions)
2276
2371
  };
2277
2372
  case "inputTag": return {
2278
2373
  inputType,
2279
- ...init$27(moduleName, name, restOptions)
2374
+ ...init$28(moduleName, name, restOptions)
2280
2375
  };
2281
2376
  default: return {
2282
2377
  inputType,
2283
- ...init$29(moduleName, name, restOptions)
2378
+ ...init$30(moduleName, name, restOptions)
2284
2379
  };
2285
2380
  }
2286
2381
  }
2287
2382
  //#endregion
2288
2383
  //#region src/packages/controls/switch/switch.vue?vue&type=script&setup=true&lang.ts
2289
- const _hoisted_1$14 = { key: 1 };
2290
- const _hoisted_2$13 = { key: 1 };
2384
+ const _hoisted_1$15 = { key: 1 };
2385
+ const _hoisted_2$14 = { key: 1 };
2291
2386
  //#endregion
2292
2387
  //#region src/packages/controls/switch/switch.vue
2293
2388
  var switch_default = /* @__PURE__ */ (0, vue.defineComponent)({
@@ -2323,11 +2418,11 @@ var switch_default = /* @__PURE__ */ (0, vue.defineComponent)({
2323
2418
  onClick: _cache[2] || (_cache[2] = (0, vue.withModifiers)(() => {}, ["stop"]))
2324
2419
  }), (0, vue.createSlots)({ _: 2 }, [__props.control.activeAction ? {
2325
2420
  name: "activeAction",
2326
- fn: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.activeAction) && !(0, vue.unref)(require_utils.isHTML)(__props.control.activeAction) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.activeAction), { key: 0 })) : (0, vue.createCommentVNode)("v-if", true), (0, vue.unref)(fieldValue) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_1$14, (0, vue.toDisplayString)(__props.control.activeAction), 1)) : (0, vue.createCommentVNode)("v-if", true)]),
2421
+ fn: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.activeAction) && !(0, vue.unref)(require_utils.isHTML)(__props.control.activeAction) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.activeAction), { key: 0 })) : (0, vue.createCommentVNode)("v-if", true), (0, vue.unref)(fieldValue) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_1$15, (0, vue.toDisplayString)(__props.control.activeAction), 1)) : (0, vue.createCommentVNode)("v-if", true)]),
2327
2422
  key: "0"
2328
2423
  } : void 0, __props.control.inactiveAction ? {
2329
2424
  name: "inactiveAction",
2330
- fn: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.inactiveAction) && !(0, vue.unref)(require_utils.isHTML)(__props.control.inactiveAction) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.inactiveAction), { key: 0 })) : (0, vue.createCommentVNode)("v-if", true), !(0, vue.unref)(fieldValue) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$13, (0, vue.toDisplayString)(__props.control.inactiveAction), 1)) : (0, vue.createCommentVNode)("v-if", true)]),
2425
+ fn: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.inactiveAction) && !(0, vue.unref)(require_utils.isHTML)(__props.control.inactiveAction) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.inactiveAction), { key: 0 })) : (0, vue.createCommentVNode)("v-if", true), !(0, vue.unref)(fieldValue) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$14, (0, vue.toDisplayString)(__props.control.inactiveAction), 1)) : (0, vue.createCommentVNode)("v-if", true)]),
2331
2426
  key: "1"
2332
2427
  } : void 0]), 1040, [
2333
2428
  "modelValue",
@@ -2340,11 +2435,11 @@ var switch_default = /* @__PURE__ */ (0, vue.defineComponent)({
2340
2435
  //#endregion
2341
2436
  //#region src/packages/controls/switch/switch.ts
2342
2437
  var switch_exports = /* @__PURE__ */ require_locale.__exportAll({
2343
- Template: () => Template$20,
2344
- init: () => init$23
2438
+ Template: () => Template$21,
2439
+ init: () => init$24
2345
2440
  });
2346
- const Template$20 = require_utils.withInstall(switch_default);
2347
- function init$23(moduleName, name, options = {}) {
2441
+ const Template$21 = require_utils.withInstall(switch_default);
2442
+ function init$24(moduleName, name, options = {}) {
2348
2443
  return (0, vue.reactive)({
2349
2444
  moduleName,
2350
2445
  name,
@@ -2354,8 +2449,8 @@ function init$23(moduleName, name, options = {}) {
2354
2449
  }
2355
2450
  //#endregion
2356
2451
  //#region src/packages/controls/image/image.vue?vue&type=script&setup=true&lang.ts
2357
- const _hoisted_1$13 = ["innerHTML"];
2358
- const _hoisted_2$12 = { key: 2 };
2452
+ const _hoisted_1$14 = ["innerHTML"];
2453
+ const _hoisted_2$13 = { key: 2 };
2359
2454
  const _hoisted_3$10 = ["innerHTML"];
2360
2455
  const _hoisted_4$7 = { key: 2 };
2361
2456
  const _hoisted_5$6 = ["innerHTML"];
@@ -2394,7 +2489,7 @@ var image_default = /* @__PURE__ */ (0, vue.defineComponent)({
2394
2489
  fn: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.placeholder) && !(0, vue.unref)(require_utils.isHTML)(__props.control.placeholder) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.placeholder), { key: 0 })) : typeof __props.control.placeholder === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.placeholder) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
2395
2490
  key: 1,
2396
2491
  innerHTML: __props.control.placeholder
2397
- }, null, 8, _hoisted_1$13)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$12, (0, vue.toDisplayString)(__props.control.placeholder), 1))]),
2492
+ }, null, 8, _hoisted_1$14)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$13, (0, vue.toDisplayString)(__props.control.placeholder), 1))]),
2398
2493
  key: "1"
2399
2494
  } : void 0,
2400
2495
  _ctx.$slots.error ? {
@@ -2452,11 +2547,11 @@ var image_default = /* @__PURE__ */ (0, vue.defineComponent)({
2452
2547
  //#endregion
2453
2548
  //#region src/packages/controls/image/image.ts
2454
2549
  var image_exports = /* @__PURE__ */ require_locale.__exportAll({
2455
- Template: () => Template$19,
2456
- init: () => init$22
2550
+ Template: () => Template$20,
2551
+ init: () => init$23
2457
2552
  });
2458
- const Template$19 = require_utils.withInstall(image_default);
2459
- function init$22(modularName, name, options = {}) {
2553
+ const Template$20 = require_utils.withInstall(image_default);
2554
+ function init$23(modularName, name, options = {}) {
2460
2555
  return {
2461
2556
  modularName,
2462
2557
  name,
@@ -2468,8 +2563,8 @@ function init$22(modularName, name, options = {}) {
2468
2563
  }
2469
2564
  //#endregion
2470
2565
  //#region src/packages/controls/mergeSelect/mergeSelect.vue?vue&type=script&setup=true&lang.ts
2471
- const _hoisted_1$12 = ["innerHTML"];
2472
- const _hoisted_2$11 = { key: 2 };
2566
+ const _hoisted_1$13 = ["innerHTML"];
2567
+ const _hoisted_2$12 = { key: 2 };
2473
2568
  const _hoisted_3$9 = {
2474
2569
  key: 1,
2475
2570
  class: "label-item"
@@ -2770,7 +2865,7 @@ var mergeSelect_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @
2770
2865
  }), null, 16)) : typeof __props.control.optionTemplate === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.optionTemplate) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
2771
2866
  key: 1,
2772
2867
  innerHTML: __props.control.optionTemplate
2773
- }, null, 8, _hoisted_1$12)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$11, (0, vue.toDisplayString)(__props.control.optionTemplate), 1))], 64)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_3$9, [
2868
+ }, null, 8, _hoisted_1$13)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$12, (0, vue.toDisplayString)(__props.control.optionTemplate), 1))], 64)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_3$9, [
2774
2869
  __props.control?.showImage && item?.image ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(image_exports).Template, {
2775
2870
  key: 0,
2776
2871
  control: { src: item?.image }
@@ -2886,11 +2981,11 @@ var mergeSelect_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @
2886
2981
  //#endregion
2887
2982
  //#region src/packages/controls/mergeSelect/mergeSelect.ts
2888
2983
  var mergeSelect_exports = /* @__PURE__ */ require_locale.__exportAll({
2889
- Template: () => Template$18,
2890
- init: () => init$21
2984
+ Template: () => Template$19,
2985
+ init: () => init$22
2891
2986
  });
2892
- const Template$18 = require_utils.withInstall(mergeSelect_default);
2893
- function init$21(moduleName, name, optionFrom, optionValues, options = {}) {
2987
+ const Template$19 = require_utils.withInstall(mergeSelect_default);
2988
+ function init$22(moduleName, name, optionFrom, optionValues, options = {}) {
2894
2989
  let type = options.type, url = "";
2895
2990
  if (!options.type && typeof optionValues !== "string" && optionValues?.length > 0) {
2896
2991
  const optionsLength = optionValues.length;
@@ -2966,11 +3061,11 @@ var slider_default = /* @__PURE__ */ (0, vue.defineComponent)({
2966
3061
  //#endregion
2967
3062
  //#region src/packages/controls/slider/slider.ts
2968
3063
  var slider_exports = /* @__PURE__ */ require_locale.__exportAll({
2969
- Template: () => Template$17,
2970
- init: () => init$20
3064
+ Template: () => Template$18,
3065
+ init: () => init$21
2971
3066
  });
2972
- const Template$17 = require_utils.withInstall(slider_default);
2973
- function init$20(moduleName, name, options = {}) {
3067
+ const Template$18 = require_utils.withInstall(slider_default);
3068
+ function init$21(moduleName, name, options = {}) {
2974
3069
  return (0, vue.reactive)({
2975
3070
  moduleName,
2976
3071
  name,
@@ -2979,11 +3074,11 @@ function init$20(moduleName, name, options = {}) {
2979
3074
  }
2980
3075
  //#endregion
2981
3076
  //#region src/packages/controls/map/map.vue?vue&type=script&setup=true&lang.ts
2982
- const _hoisted_1$11 = {
3077
+ const _hoisted_1$12 = {
2983
3078
  class: "search-box",
2984
3079
  id: "searchBox"
2985
3080
  };
2986
- const _hoisted_2$10 = { id: "searchResultPanel" };
3081
+ const _hoisted_2$11 = { id: "searchResultPanel" };
2987
3082
  const _hoisted_3$8 = ["onClick"];
2988
3083
  const _hoisted_4$5 = { class: "dialog-footer" };
2989
3084
  //#endregion
@@ -3000,7 +3095,7 @@ var map_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__
3000
3095
  const props = __props;
3001
3096
  const { fieldValue } = require_hooks.useFormValue("RwMap", props.control);
3002
3097
  const currVal = (0, vue.ref)(fieldValue.value);
3003
- const inputControl = (0, vue.reactive)(init$29(props.control.moduleName ?? "", props.control.name, {
3098
+ const inputControl = (0, vue.reactive)(init$30(props.control.moduleName ?? "", props.control.name, {
3004
3099
  readonly: true,
3005
3100
  label: props.control.label
3006
3101
  }));
@@ -3191,7 +3286,7 @@ var map_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__
3191
3286
  default: (0, vue.withCtx)(() => [..._cache[5] || (_cache[5] = [(0, vue.createTextVNode)("确认", -1)])]),
3192
3287
  _: 1
3193
3288
  })])]),
3194
- default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div", _hoisted_1$11, [(0, vue.createVNode)(_component_el_col, { span: 24 }, {
3289
+ default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div", _hoisted_1$12, [(0, vue.createVNode)(_component_el_col, { span: 24 }, {
3195
3290
  default: (0, vue.withCtx)(() => [(0, vue.createVNode)(_component_el_input, {
3196
3291
  style: {
3197
3292
  "width": "100%",
@@ -3208,7 +3303,7 @@ var map_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__
3208
3303
  onClear: _cache[2] || (_cache[2] = ($event) => searchRes.value = [])
3209
3304
  }, null, 8, ["modelValue", "prefix-icon"])]),
3210
3305
  _: 1
3211
- }), (0, vue.createElementVNode)("div", _hoisted_2$10, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(searchRes.value, (item) => {
3306
+ }), (0, vue.createElementVNode)("div", _hoisted_2$11, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(searchRes.value, (item) => {
3212
3307
  return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
3213
3308
  class: "list",
3214
3309
  onClick: (0, vue.withModifiers)(($event) => setPlaceBmap(item), ["stop"]),
@@ -3233,17 +3328,17 @@ var map_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__
3233
3328
  //#endregion
3234
3329
  //#region src/packages/controls/map/map.ts
3235
3330
  var map_exports = /* @__PURE__ */ require_locale.__exportAll({
3236
- Template: () => Template$16,
3237
- init: () => init$19
3331
+ Template: () => Template$17,
3332
+ init: () => init$20
3238
3333
  });
3239
- const Template$16 = require_utils.withInstall(map_default);
3334
+ const Template$17 = require_utils.withInstall(map_default);
3240
3335
  var MapSource = /* @__PURE__ */ function(MapSource) {
3241
3336
  MapSource["bmap"] = "https://api.map.baidu.com/getscript?v=2.0";
3242
3337
  MapSource["amap"] = "https://webapi.amap.com/maps?v=1.4.15";
3243
3338
  MapSource["google-map"] = "//api.map.baidu.com/getscript?v=2.0";
3244
3339
  return MapSource;
3245
3340
  }(MapSource || {});
3246
- function init$19(moduleName, name, options = {}) {
3341
+ function init$20(moduleName, name, options = {}) {
3247
3342
  options.mapType = options.mapType ?? "bmap";
3248
3343
  options.src = MapSource[options.mapType];
3249
3344
  return {
@@ -3261,11 +3356,11 @@ function init$19(moduleName, name, options = {}) {
3261
3356
  }
3262
3357
  //#endregion
3263
3358
  //#region src/packages/controls/uploadNew/components/fileItem.vue?vue&type=script&setup=true&lang.ts
3264
- const _hoisted_1$10 = {
3359
+ const _hoisted_1$11 = {
3265
3360
  key: 0,
3266
3361
  class: "file-item-container"
3267
3362
  };
3268
- const _hoisted_2$9 = {
3363
+ const _hoisted_2$10 = {
3269
3364
  key: 0,
3270
3365
  class: "image-grid"
3271
3366
  };
@@ -3402,9 +3497,9 @@ var fileItem_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__P
3402
3497
  const _component_el_row = (0, vue.resolveComponent)("el-row");
3403
3498
  const _component_el_dialog = (0, vue.resolveComponent)("el-dialog");
3404
3499
  const _directive_loading = (0, vue.resolveDirective)("loading");
3405
- return __props.fileList.length > 0 ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$10, [
3500
+ return __props.fileList.length > 0 ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$11, [
3406
3501
  (0, vue.createCommentVNode)(" 图片类型文件展示 "),
3407
- isImageType.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_2$9, [(0, vue.createVNode)(_component_el_row, {
3502
+ isImageType.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_2$10, [(0, vue.createVNode)(_component_el_row, {
3408
3503
  gutter: 20,
3409
3504
  style: { "width": "100%" }
3410
3505
  }, {
@@ -3556,11 +3651,11 @@ var pagination_default = /* @__PURE__ */ (0, vue.defineComponent)({
3556
3651
  //#endregion
3557
3652
  //#region src/packages/controls/pagination/pagination.ts
3558
3653
  var pagination_exports = /* @__PURE__ */ require_locale.__exportAll({
3559
- Template: () => Template$15,
3560
- init: () => init$18
3654
+ Template: () => Template$16,
3655
+ init: () => init$19
3561
3656
  });
3562
- const Template$15 = require_utils.withInstall(pagination_default);
3563
- const init$18 = (name, options = {}) => {
3657
+ const Template$16 = require_utils.withInstall(pagination_default);
3658
+ const init$19 = (name, options = {}) => {
3564
3659
  options.currentPage = options.currentPage ?? 1;
3565
3660
  options.page = options.page ?? 1;
3566
3661
  options.pageSize = options.pageSize ?? 10;
@@ -3572,8 +3667,8 @@ const init$18 = (name, options = {}) => {
3572
3667
  };
3573
3668
  //#endregion
3574
3669
  //#region src/packages/controls/uploadNew/components/dialog.vue?vue&type=script&setup=true&lang.ts
3575
- const _hoisted_1$9 = { key: 0 };
3576
- const _hoisted_2$8 = { class: "el-upload__text" };
3670
+ const _hoisted_1$10 = { key: 0 };
3671
+ const _hoisted_2$9 = { class: "el-upload__text" };
3577
3672
  const _hoisted_3$6 = {
3578
3673
  key: 0,
3579
3674
  class: "uploading-files-section"
@@ -3616,6 +3711,7 @@ var dialog_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PUR
3616
3711
  }),
3617
3712
  emits: ["update:value", "update:dialogShow"],
3618
3713
  setup(__props) {
3714
+ const config = (0, vue.inject)("frameworkConfig");
3619
3715
  const props = __props;
3620
3716
  const fieldValue = (0, vue.useModel)(__props, "value");
3621
3717
  const dialogShow = (0, vue.useModel)(__props, "dialogShow");
@@ -3627,7 +3723,7 @@ var dialog_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PUR
3627
3723
  const fileLoading = (0, vue.ref)(false);
3628
3724
  const successUploadList = (0, vue.ref)([]);
3629
3725
  const uploadInfo = (0, vue.ref)({});
3630
- const pagination = (0, vue.reactive)(init$18(""));
3726
+ const pagination = (0, vue.reactive)(init$19(""));
3631
3727
  const fileMapping = (0, vue.ref)(/* @__PURE__ */ new Map());
3632
3728
  const uploadingFiles = (0, vue.ref)(/* @__PURE__ */ new Map());
3633
3729
  const uploadAccept = (0, vue.computed)(() => getUploadAccept(props.control.type));
@@ -3730,9 +3826,9 @@ var dialog_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PUR
3730
3826
  const debugObj = {};
3731
3827
  for (const [key, value] of formData.entries()) debugObj[key] = value;
3732
3828
  console.log("Upload data:", debugObj);
3733
- console.log("Upload API:", `${{}.env.VITE_API_URL}?p=files&a=uploadFile`);
3829
+ console.log("Upload API:", `${config?.apiBaseUrl}?p=files&a=uploadFile`);
3734
3830
  }
3735
- const response = await axios.default.post(`${{}.env.VITE_API_URL}?p=files&a=uploadFile`, formData, {
3831
+ const response = await axios.default.post(`${config?.apiBaseUrl}?p=files&a=uploadFile`, formData, {
3736
3832
  headers: { "Content-Type": "multipart/form-data" },
3737
3833
  onUploadProgress: (progressEvent) => {
3738
3834
  if (progressEvent.total) {
@@ -3763,7 +3859,7 @@ var dialog_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PUR
3763
3859
  onError({
3764
3860
  status: response.status,
3765
3861
  method: "POST",
3766
- url: `${{}.env.VITE_API_URL}?p=files&a=uploadFile`,
3862
+ url: `${config?.apiBaseUrl}?p=files&a=uploadFile`,
3767
3863
  message: "Upload failed"
3768
3864
  });
3769
3865
  }
@@ -3779,7 +3875,7 @@ var dialog_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PUR
3779
3875
  onError({
3780
3876
  status: 0,
3781
3877
  method: "POST",
3782
- url: `${{}.env.VITE_API_URL}?p=files&a=uploadFile`,
3878
+ url: `${config?.apiBaseUrl}?p=files&a=uploadFile`,
3783
3879
  message: error instanceof Error ? error.message : "Upload failed"
3784
3880
  });
3785
3881
  }
@@ -4017,7 +4113,7 @@ var dialog_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PUR
4017
4113
  "show-file-list": false
4018
4114
  }, {
4019
4115
  tip: (0, vue.withCtx)(() => [(0, vue.createTextVNode)(" 最多上传" + (0, vue.toDisplayString)(__props.control.limit) + "个文件,已上传" + (0, vue.toDisplayString)(successUploadList.value.length) + "个 ", 1)]),
4020
- default: (0, vue.withCtx)(() => [__props.control.type === "file" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$9, [
4116
+ default: (0, vue.withCtx)(() => [__props.control.type === "file" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$10, [
4021
4117
  (0, vue.createVNode)((0, vue.unref)(element_plus.ElIcon), { class: "el-icon--upload" }, {
4022
4118
  default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(_element_plus_icons_vue.UploadFilled))]),
4023
4119
  _: 1
@@ -4037,7 +4133,7 @@ var dialog_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PUR
4037
4133
  }, null, 8, ["src"])])], 2112)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 2 }, [(0, vue.createCommentVNode)(" 默认上传区域 "), (0, vue.createElementVNode)("div", null, [(0, vue.createVNode)((0, vue.unref)(element_plus.ElIcon), { class: "el-icon--upload" }, {
4038
4134
  default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(_element_plus_icons_vue.UploadFilled))]),
4039
4135
  _: 1
4040
- }), (0, vue.createElementVNode)("div", _hoisted_2$8, [(0, vue.createTextVNode)(" 将" + (0, vue.toDisplayString)(__props.control.type === "image" ? "图片" : __props.control.type === "video" ? "视频" : __props.control.type === "music" ? "音频" : "文件") + "拖到此处,或 ", 1), _cache[10] || (_cache[10] = (0, vue.createElementVNode)("em", null, "点击上传", -1))])])], 2112))]),
4136
+ }), (0, vue.createElementVNode)("div", _hoisted_2$9, [(0, vue.createTextVNode)(" 将" + (0, vue.toDisplayString)(__props.control.type === "image" ? "图片" : __props.control.type === "video" ? "视频" : __props.control.type === "music" ? "音频" : "文件") + "拖到此处,或 ", 1), _cache[10] || (_cache[10] = (0, vue.createElementVNode)("em", null, "点击上传", -1))])])], 2112))]),
4041
4137
  _: 1
4042
4138
  }, 8, [
4043
4139
  "file-list",
@@ -4203,8 +4299,8 @@ var dialog_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PUR
4203
4299
  }), [["__scopeId", "data-v-eeee0fda"]]);
4204
4300
  //#endregion
4205
4301
  //#region src/packages/controls/uploadNew/components/showPicture.vue?vue&type=script&setup=true&lang.ts
4206
- const _hoisted_1$8 = { class: "show-picture-container" };
4207
- const _hoisted_2$7 = {
4302
+ const _hoisted_1$9 = { class: "show-picture-container" };
4303
+ const _hoisted_2$8 = {
4208
4304
  key: 0,
4209
4305
  class: "card upload_list"
4210
4306
  };
@@ -4315,8 +4411,8 @@ var showPicture_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @
4315
4411
  const _component_el_icon = (0, vue.resolveComponent)("el-icon");
4316
4412
  const _component_el_image = (0, vue.resolveComponent)("el-image");
4317
4413
  const _component_el_dialog = (0, vue.resolveComponent)("el-dialog");
4318
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$8, [
4319
- fileList.value.length > 0 && isMounted.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("ul", _hoisted_2$7, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(fileList.value, (item, index) => {
4414
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$9, [
4415
+ fileList.value.length > 0 && isMounted.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("ul", _hoisted_2$8, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(fileList.value, (item, index) => {
4320
4416
  return (0, vue.openBlock)(), (0, vue.createElementBlock)("li", {
4321
4417
  key: item.FileID || item.url,
4322
4418
  class: "list_item upload_list_item",
@@ -4391,8 +4487,8 @@ var showPicture_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @
4391
4487
  }), [["__scopeId", "data-v-dd6f9719"]]);
4392
4488
  //#endregion
4393
4489
  //#region src/packages/controls/uploadNew/upload.vue?vue&type=script&setup=true&lang.ts
4394
- const _hoisted_1$7 = { class: "rw-upload-container" };
4395
- const _hoisted_2$6 = { class: "upload_wrapper" };
4490
+ const _hoisted_1$8 = { class: "rw-upload-container" };
4491
+ const _hoisted_2$7 = { class: "upload_wrapper" };
4396
4492
  const _hoisted_3$4 = ["title"];
4397
4493
  //#endregion
4398
4494
  //#region src/packages/controls/uploadNew/upload.vue
@@ -4497,7 +4593,7 @@ var upload_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PUR
4497
4593
  return (_ctx, _cache) => {
4498
4594
  const _component_el_icon = (0, vue.resolveComponent)("el-icon");
4499
4595
  const _directive_loading = (0, vue.resolveDirective)("loading");
4500
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$7, [
4596
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$8, [
4501
4597
  (0, vue.createCommentVNode)(" 文件列表显示 "),
4502
4598
  (0, vue.withDirectives)((0, vue.createVNode)(showPicture_default, {
4503
4599
  list: fileList.value,
@@ -4516,7 +4612,7 @@ var upload_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PUR
4516
4612
  key: 0,
4517
4613
  class: "upload-trigger",
4518
4614
  onClick: handleOpenDialog
4519
- }, [(0, vue.createElementVNode)("div", _hoisted_2$6, [props.control.type === "file" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
4615
+ }, [(0, vue.createElementVNode)("div", _hoisted_2$7, [props.control.type === "file" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
4520
4616
  key: 0,
4521
4617
  title: (0, vue.unref)(require_locale.t)("buttons.uploadFile"),
4522
4618
  class: "upload-icon"
@@ -4547,19 +4643,19 @@ var upload_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PUR
4547
4643
  //#endregion
4548
4644
  //#region src/packages/controls/uploadNew/upload.ts
4549
4645
  var upload_exports = /* @__PURE__ */ require_locale.__exportAll({
4550
- Template: () => Template$14,
4646
+ Template: () => Template$15,
4551
4647
  getFileList: () => getFileList,
4552
4648
  getUploadAccept: () => getUploadAccept,
4553
4649
  handleUploadError: () => handleUploadError,
4554
- init: () => init$17,
4650
+ init: () => init$18,
4555
4651
  initFile: () => initFile,
4556
4652
  isEmpty: () => isEmpty,
4557
4653
  removeUploadedFile: () => removeUploadedFile,
4558
4654
  showUploadExceedMessage: () => showUploadExceedMessage,
4559
4655
  validateUploadLimit: () => validateUploadLimit
4560
4656
  });
4561
- const Template$14 = require_utils.withInstall(upload_default);
4562
- function init$17(moduleName, name, options = {}) {
4657
+ const Template$15 = require_utils.withInstall(upload_default);
4658
+ function init$18(moduleName, name, options = {}) {
4563
4659
  return {
4564
4660
  moduleName,
4565
4661
  name,
@@ -4624,8 +4720,8 @@ const isEmpty = (value) => {
4624
4720
  };
4625
4721
  //#endregion
4626
4722
  //#region src/packages/controls/tree/tree.vue?vue&type=script&setup=true&lang.ts
4627
- const _hoisted_1$6 = { class: "rw-tree-container" };
4628
- const _hoisted_2$5 = {
4723
+ const _hoisted_1$7 = { class: "rw-tree-container" };
4724
+ const _hoisted_2$6 = {
4629
4725
  key: 0,
4630
4726
  class: "rw-tree-loading"
4631
4727
  };
@@ -4834,7 +4930,7 @@ var tree_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE_
4834
4930
  });
4835
4931
  return (_ctx, _cache) => {
4836
4932
  const _directive_loading = (0, vue.resolveDirective)("loading");
4837
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$6, [(0, vue.createCommentVNode)(" 加载状态 "), isLoading.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_2$5, [(0, vue.createVNode)((0, vue.unref)(element_plus.ElIcon), { class: "is-loading" }, {
4933
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$7, [(0, vue.createCommentVNode)(" 加载状态 "), isLoading.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_2$6, [(0, vue.createVNode)((0, vue.unref)(element_plus.ElIcon), { class: "is-loading" }, {
4838
4934
  default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(_element_plus_icons_vue.Loading))]),
4839
4935
  _: 1
4840
4936
  }), _cache[0] || (_cache[0] = (0, vue.createElementVNode)("span", null, "加载中...", -1))])) : error.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, [(0, vue.createCommentVNode)(" 错误状态 "), (0, vue.createElementVNode)("div", _hoisted_3$3, [
@@ -4905,11 +5001,11 @@ var tree_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE_
4905
5001
  //#endregion
4906
5002
  //#region src/packages/controls/tree/tree.ts
4907
5003
  var tree_exports = /* @__PURE__ */ require_locale.__exportAll({
4908
- Template: () => Template$13,
4909
- init: () => init$16
5004
+ Template: () => Template$14,
5005
+ init: () => init$17
4910
5006
  });
4911
- const Template$13 = require_utils.withInstall(tree_default);
4912
- function init$16(moduleName, name, options = {}) {
5007
+ const Template$14 = require_utils.withInstall(tree_default);
5008
+ function init$17(moduleName, name, options = {}) {
4913
5009
  return {
4914
5010
  moduleName,
4915
5011
  name,
@@ -4935,8 +5031,8 @@ function init$16(moduleName, name, options = {}) {
4935
5031
  }
4936
5032
  //#endregion
4937
5033
  //#region src/packages/controls/text/text.vue?vue&type=script&setup=true&lang.ts
4938
- const _hoisted_1$5 = { key: 0 };
4939
- const _hoisted_2$4 = ["innerHTML"];
5034
+ const _hoisted_1$6 = { key: 0 };
5035
+ const _hoisted_2$5 = ["innerHTML"];
4940
5036
  const _hoisted_3$2 = { key: 2 };
4941
5037
  const _hoisted_4 = {
4942
5038
  key: 0,
@@ -5006,10 +5102,10 @@ var text_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE_
5006
5102
  key: "0"
5007
5103
  } : __props.control.default ? {
5008
5104
  name: "default",
5009
- fn: (0, vue.withCtx)(() => [(0, vue.createCommentVNode)(" <component\r\n :is=\"control.default\"\r\n v-if=\"isComponent(control.default) && !isHTML(control.default)\"\r\n />\r\n "), __props.control.default === "null" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$5, "\xA0")) : typeof __props.control.default === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
5105
+ fn: (0, vue.withCtx)(() => [(0, vue.createCommentVNode)(" <component\r\n :is=\"control.default\"\r\n v-if=\"isComponent(control.default) && !isHTML(control.default)\"\r\n />\r\n "), __props.control.default === "null" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$6, "\xA0")) : typeof __props.control.default === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
5010
5106
  key: 1,
5011
5107
  innerHTML: __props.control.default
5012
- }, null, 8, _hoisted_2$4)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$2, (0, vue.toDisplayString)(__props.control.default), 1))]),
5108
+ }, null, 8, _hoisted_2$5)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$2, (0, vue.toDisplayString)(__props.control.default), 1))]),
5013
5109
  key: "1"
5014
5110
  } : __props.control.multiLang && showTextValue.value instanceof Object ? {
5015
5111
  name: "default",
@@ -5050,11 +5146,11 @@ var text_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE_
5050
5146
  //#endregion
5051
5147
  //#region src/packages/controls/text/text.ts
5052
5148
  var text_exports = /* @__PURE__ */ require_locale.__exportAll({
5053
- Template: () => Template$12,
5054
- init: () => init$15
5149
+ Template: () => Template$13,
5150
+ init: () => init$16
5055
5151
  });
5056
- const Template$12 = require_utils.withInstall(text_default);
5057
- function init$15(moduleName, name, options = {}) {
5152
+ const Template$13 = require_utils.withInstall(text_default);
5153
+ function init$16(moduleName, name, options = {}) {
5058
5154
  return {
5059
5155
  moduleName,
5060
5156
  name,
@@ -5065,7 +5161,7 @@ function init$15(moduleName, name, options = {}) {
5065
5161
  }
5066
5162
  //#endregion
5067
5163
  //#region src/packages/controls/table/table.vue?vue&type=script&setup=true&lang.ts
5068
- const _hoisted_1$4 = { key: 0 };
5164
+ const _hoisted_1$5 = { key: 0 };
5069
5165
  //#endregion
5070
5166
  //#region src/packages/controls/table/table.vue
5071
5167
  var table_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE__ */ (0, vue.defineComponent)({
@@ -5399,8 +5495,8 @@ var table_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE
5399
5495
  moduleName: propertys.moduleName,
5400
5496
  name: "more",
5401
5497
  controlType: "dropdown",
5402
- Template: (0, vue.markRaw)(Template$30),
5403
- config: init$33(propertys.moduleName, "more", {
5498
+ Template: (0, vue.markRaw)(Template$31),
5499
+ config: init$34(propertys.moduleName, "more", {
5404
5500
  label: require_locale.t("buttons.more"),
5405
5501
  text: controls[0].config.text
5406
5502
  })
@@ -5470,7 +5566,7 @@ var table_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE
5470
5566
  label: (0, vue.unref)(require_locale.t)(item.label),
5471
5567
  width: getColumnWidth(item.width)
5472
5568
  }), {
5473
- default: (0, vue.withCtx)((scope) => [(0, vue.createCommentVNode)(" <div v-if=\"item.init.controlType === 'Html'\">\r\n <div v-html=\"item.init?.formatter(scope.row[scope.column.property]) ?? scope.row[scope.column.property]\"></div>\r\n </div> "), item.init.controlType === "text" && item.init.multiLang ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$4, [(0, vue.createVNode)((0, vue.unref)(text_exports).Template, {
5569
+ default: (0, vue.withCtx)((scope) => [(0, vue.createCommentVNode)(" <div v-if=\"item.init.controlType === 'Html'\">\r\n <div v-html=\"item.init?.formatter(scope.row[scope.column.property]) ?? scope.row[scope.column.property]\"></div>\r\n </div> "), item.init.controlType === "text" && item.init.multiLang ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$5, [(0, vue.createVNode)((0, vue.unref)(text_exports).Template, {
5474
5570
  control: getTextControlOption(item.init),
5475
5571
  modelValue: scope.row[scope.column.property]
5476
5572
  }, null, 8, ["control", "modelValue"])])) : item.init.controlType !== "text" ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(item.Template), (0, vue.mergeProps)({
@@ -5545,8 +5641,8 @@ var table_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE
5545
5641
  }), [["__scopeId", "data-v-33e56526"]]);
5546
5642
  //#endregion
5547
5643
  //#region src/packages/controls/tag/tag.vue?vue&type=script&setup=true&lang.ts
5548
- const _hoisted_1$3 = ["innerHTML"];
5549
- const _hoisted_2$3 = { key: 2 };
5644
+ const _hoisted_1$4 = ["innerHTML"];
5645
+ const _hoisted_2$4 = { key: 2 };
5550
5646
  //#endregion
5551
5647
  //#region src/packages/controls/tag/tag.vue
5552
5648
  var tag_default = /* @__PURE__ */ (0, vue.defineComponent)({
@@ -5574,7 +5670,7 @@ var tag_default = /* @__PURE__ */ (0, vue.defineComponent)({
5574
5670
  fn: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.default) && !(0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.default), { key: 0 })) : typeof __props.control.default === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
5575
5671
  key: 1,
5576
5672
  innerHTML: __props.control.default
5577
- }, null, 8, _hoisted_1$3)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$3, (0, vue.toDisplayString)(__props.control.default), 1))]),
5673
+ }, null, 8, _hoisted_1$4)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$4, (0, vue.toDisplayString)(__props.control.default), 1))]),
5578
5674
  key: "1"
5579
5675
  } : void 0]), 1040);
5580
5676
  };
@@ -5583,11 +5679,11 @@ var tag_default = /* @__PURE__ */ (0, vue.defineComponent)({
5583
5679
  //#endregion
5584
5680
  //#region src/packages/controls/tag/tag.ts
5585
5681
  var tag_exports = /* @__PURE__ */ require_locale.__exportAll({
5586
- Template: () => Template$11,
5587
- init: () => init$14
5682
+ Template: () => Template$12,
5683
+ init: () => init$15
5588
5684
  });
5589
- const Template$11 = require_utils.withInstall(tag_default);
5590
- function init$14(moduleName, name, options = {}) {
5685
+ const Template$12 = require_utils.withInstall(tag_default);
5686
+ function init$15(moduleName, name, options = {}) {
5591
5687
  return {
5592
5688
  moduleName,
5593
5689
  name,
@@ -5597,11 +5693,11 @@ function init$14(moduleName, name, options = {}) {
5597
5693
  }
5598
5694
  //#endregion
5599
5695
  //#region src/packages/controls/tagComp/tagComp.vue?vue&type=script&setup=true&lang.ts
5600
- const _hoisted_1$2 = {
5696
+ const _hoisted_1$3 = {
5601
5697
  class: "flex gap-1 flex-wrap",
5602
5698
  style: { "align-items": "center" }
5603
5699
  };
5604
- const _hoisted_2$2 = { class: "gap-1 flex flex-wrap" };
5700
+ const _hoisted_2$3 = { class: "gap-1 flex flex-wrap" };
5605
5701
  const _hoisted_3$1 = { key: 1 };
5606
5702
  //#endregion
5607
5703
  //#region src/packages/controls/tagComp/tagComp.vue
@@ -5651,7 +5747,7 @@ var tagComp_default = /* @__PURE__ */ (0, vue.defineComponent)({
5651
5747
  }
5652
5748
  });
5653
5749
  const addButton = (0, vue.computed)(() => {
5654
- return init$35(props.control.moduleName, "addButton", {
5750
+ return init$36(props.control.moduleName, "addButton", {
5655
5751
  label: props.control.buttonLabel,
5656
5752
  icon: props.control.buttonIcon
5657
5753
  });
@@ -5737,7 +5833,7 @@ var tagComp_default = /* @__PURE__ */ (0, vue.defineComponent)({
5737
5833
  };
5738
5834
  return (_ctx, _cache) => {
5739
5835
  const _component_ElPopover = (0, vue.resolveComponent)("ElPopover");
5740
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$2, [
5836
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$3, [
5741
5837
  ((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(values.value, (tabInfo, index) => {
5742
5838
  return (0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: index }, [index < showNumber.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(tag_exports).Template, {
5743
5839
  key: 0,
@@ -5760,7 +5856,7 @@ var tagComp_default = /* @__PURE__ */ (0, vue.defineComponent)({
5760
5856
  default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)((0, vue.unref)(require_locale.t)("buttons.more")) + "(" + (0, vue.toDisplayString)(otherNumber.value) + ")... ", 1)]),
5761
5857
  _: 1
5762
5858
  }, 8, ["control"])]),
5763
- default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div", _hoisted_2$2, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(values.value, (tabInfo, index) => {
5859
+ default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div", _hoisted_2$3, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(values.value, (tabInfo, index) => {
5764
5860
  return (0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: index }, [index >= showNumber.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(tag_exports).Template, {
5765
5861
  key: 0,
5766
5862
  control: tagProps.value,
@@ -5796,11 +5892,11 @@ var tagComp_default = /* @__PURE__ */ (0, vue.defineComponent)({
5796
5892
  //#endregion
5797
5893
  //#region src/packages/controls/tagComp/tagComp.ts
5798
5894
  var tagComp_exports = /* @__PURE__ */ require_locale.__exportAll({
5799
- Template: () => Template$10,
5800
- init: () => init$13
5895
+ Template: () => Template$11,
5896
+ init: () => init$14
5801
5897
  });
5802
- const Template$10 = require_utils.withInstall(tagComp_default);
5803
- function init$13(moduleName, name, options = {}) {
5898
+ const Template$11 = require_utils.withInstall(tagComp_default);
5899
+ function init$14(moduleName, name, options = {}) {
5804
5900
  return {
5805
5901
  moduleName,
5806
5902
  name,
@@ -5811,25 +5907,25 @@ function init$13(moduleName, name, options = {}) {
5811
5907
  //#endregion
5812
5908
  //#region src/packages/controls/table/table.ts
5813
5909
  var table_exports = /* @__PURE__ */ require_locale.__exportAll({
5814
- Template: () => Template$9,
5910
+ Template: () => Template$10,
5815
5911
  getFormContent: () => getFormContent,
5816
- init: () => init$12
5912
+ init: () => init$13
5817
5913
  });
5818
- const Template$9 = require_utils.withInstall(table_default);
5819
- function init$12(struct, options = {}) {
5914
+ const Template$10 = require_utils.withInstall(table_default);
5915
+ function init$13(struct, options = {}) {
5820
5916
  const showEdit = options?.showEdit ?? true;
5821
5917
  const allForm = options?.allForm ?? false;
5822
5918
  console.log("allForm", allForm);
5823
5919
  const columns = [];
5824
- const lineButtons = (0, vue.reactive)(init$32(struct.name, {
5920
+ const lineButtons = (0, vue.reactive)(init$33(struct.name, {
5825
5921
  isGroup: true,
5826
5922
  buttonsArea: "tableLine"
5827
5923
  }));
5828
- const headerLineButtons = (0, vue.reactive)(init$32(struct.name, {
5924
+ const headerLineButtons = (0, vue.reactive)(init$33(struct.name, {
5829
5925
  isGroup: false,
5830
5926
  buttonsArea: "tableLine"
5831
5927
  }));
5832
- const otherButtons = (0, vue.reactive)(init$32(struct.name, {
5928
+ const otherButtons = (0, vue.reactive)(init$33(struct.name, {
5833
5929
  isGroup: false,
5834
5930
  buttonsArea: "tableLine"
5835
5931
  }));
@@ -6047,8 +6143,8 @@ function getFormContent(columns) {
6047
6143
  }
6048
6144
  //#endregion
6049
6145
  //#region src/packages/controls/segmented/segmented.vue?vue&type=script&setup=true&lang.ts
6050
- const _hoisted_1$1 = ["innerHTML"];
6051
- const _hoisted_2$1 = { key: 2 };
6146
+ const _hoisted_1$2 = ["innerHTML"];
6147
+ const _hoisted_2$2 = { key: 2 };
6052
6148
  //#endregion
6053
6149
  //#region src/packages/controls/segmented/segmented.vue
6054
6150
  var segmented_default = /* @__PURE__ */ (0, vue.defineComponent)({
@@ -6084,7 +6180,7 @@ var segmented_default = /* @__PURE__ */ (0, vue.defineComponent)({
6084
6180
  fn: (0, vue.withCtx)((scope) => [(0, vue.unref)(require_utils.isComponent)(__props.control.default) && !(0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.default), { key: 0 })) : typeof __props.control.default === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
6085
6181
  key: 1,
6086
6182
  innerHTML: __props.control.default
6087
- }, null, 8, _hoisted_1$1)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$1, (0, vue.toDisplayString)(__props.control.default), 1))]),
6183
+ }, null, 8, _hoisted_1$2)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2$2, (0, vue.toDisplayString)(__props.control.default), 1))]),
6088
6184
  key: "1"
6089
6185
  } : void 0]), 1040, ["modelValue"]);
6090
6186
  };
@@ -6093,11 +6189,11 @@ var segmented_default = /* @__PURE__ */ (0, vue.defineComponent)({
6093
6189
  //#endregion
6094
6190
  //#region src/packages/controls/segmented/segmented.ts
6095
6191
  var segmented_exports = /* @__PURE__ */ require_locale.__exportAll({
6096
- Template: () => Template$8,
6097
- init: () => init$11
6192
+ Template: () => Template$9,
6193
+ init: () => init$12
6098
6194
  });
6099
- const Template$8 = require_utils.withInstall(segmented_default);
6100
- function init$11(moduleName, name, options = {}) {
6195
+ const Template$9 = require_utils.withInstall(segmented_default);
6196
+ function init$12(moduleName, name, options = {}) {
6101
6197
  return {
6102
6198
  moduleName,
6103
6199
  name,
@@ -6107,7 +6203,7 @@ function init$11(moduleName, name, options = {}) {
6107
6203
  }
6108
6204
  //#endregion
6109
6205
  //#region src/packages/controls/formItems/formItems.ts
6110
- var formItems_exports = /* @__PURE__ */ require_locale.__exportAll({ init: () => init$10 });
6206
+ var formItems_exports = /* @__PURE__ */ require_locale.__exportAll({ init: () => init$11 });
6111
6207
  function createFormItemProps(moduleName, name, options) {
6112
6208
  return {
6113
6209
  required: options?.required,
@@ -6116,7 +6212,7 @@ function createFormItemProps(moduleName, name, options) {
6116
6212
  ...options?.formItemProps
6117
6213
  };
6118
6214
  }
6119
- const init$10 = (struct, options = {}) => {
6215
+ const init$11 = (struct, options = {}) => {
6120
6216
  const formItems = [];
6121
6217
  const rowProps = { ...options?.rowProps };
6122
6218
  const labelWidth = options.labelWidth;
@@ -6227,8 +6323,8 @@ function createMergeSelectComponent$1(struct, name, optionFrom, optionValues, op
6227
6323
  moduleName: struct.name,
6228
6324
  name,
6229
6325
  ...mergeSelectOptions,
6230
- Template: (0, vue.markRaw)(Template$18),
6231
- init: init$21(struct.name, name, optionFrom, optionValues, mergeSelectOptions),
6326
+ Template: (0, vue.markRaw)(Template$19),
6327
+ init: init$22(struct.name, name, optionFrom, optionValues, mergeSelectOptions),
6232
6328
  formItemProps: newFormItemProps,
6233
6329
  colProps: {
6234
6330
  span: options.span,
@@ -6254,8 +6350,8 @@ function createTagComponent(struct, name, optionFrom, optionValues, options = {}
6254
6350
  moduleName: struct.name,
6255
6351
  name,
6256
6352
  ...tagOptions,
6257
- Template: (0, vue.markRaw)(Template$10),
6258
- init: init$13(struct.name, name, {
6353
+ Template: (0, vue.markRaw)(Template$11),
6354
+ init: init$14(struct.name, name, {
6259
6355
  optionFrom,
6260
6356
  optionValues,
6261
6357
  ...tagOptions
@@ -6305,14 +6401,14 @@ function addCustomComponent(component, struct, name, options = {}, items) {
6305
6401
  }
6306
6402
  //#endregion
6307
6403
  //#region src/packages/controls/formItems/formItems.vue?vue&type=script&setup=true&lang.ts
6308
- const _hoisted_1 = {
6404
+ const _hoisted_1$1 = {
6309
6405
  key: 0,
6310
6406
  style: {
6311
6407
  "padding-right": "32px",
6312
6408
  "box-sizing": "border-box"
6313
6409
  }
6314
6410
  };
6315
- const _hoisted_2 = ["index"];
6411
+ const _hoisted_2$1 = ["index"];
6316
6412
  const _hoisted_3 = {
6317
6413
  key: 1,
6318
6414
  style: {
@@ -6428,7 +6524,7 @@ var formItems_default = /* @__PURE__ */ (0, vue.defineComponent)({
6428
6524
  default: (0, vue.withCtx)(() => [
6429
6525
  (0, vue.createCommentVNode)(" 如果是search 并且 有input "),
6430
6526
  __props.control?.type == "search" && (0, vue.unref)(localSettingStore).pageTable.search.mergeStringControl && haveInput.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, [
6431
- (0, vue.unref)(localSettingStore).pageTable.search.stringControlLocation == "front" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1, [(0, vue.createVNode)((0, vue.unref)(element_plus.ElSelect), {
6527
+ (0, vue.unref)(localSettingStore).pageTable.search.stringControlLocation == "front" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$1, [(0, vue.createVNode)((0, vue.unref)(element_plus.ElSelect), {
6432
6528
  modelValue: searchKeys.value,
6433
6529
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchKeys.value = $event),
6434
6530
  "collapse-tags": true,
@@ -6471,7 +6567,7 @@ var formItems_default = /* @__PURE__ */ (0, vue.defineComponent)({
6471
6567
  }
6472
6568
  } : {}), null, 16, ["control"]))]),
6473
6569
  _: 2
6474
- }, 1040, ["label-width"]))], 8, _hoisted_2)) : (0, vue.createCommentVNode)("v-if", true)], 64);
6570
+ }, 1040, ["label-width"]))], 8, _hoisted_2$1)) : (0, vue.createCommentVNode)("v-if", true)], 64);
6475
6571
  }), 128)),
6476
6572
  (0, vue.unref)(localSettingStore).pageTable.search.stringControlLocation == "end" ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_3, [(0, vue.createVNode)((0, vue.unref)(element_plus.ElSelect), {
6477
6573
  modelValue: searchKeys.value,
@@ -6535,8 +6631,8 @@ var formItems_default = /* @__PURE__ */ (0, vue.defineComponent)({
6535
6631
  });
6536
6632
  //#endregion
6537
6633
  //#region src/packages/controls/formItems/index.ts
6538
- const Template$7 = require_utils.withInstall(formItems_default);
6539
- const RwFormItems = Object.assign({}, formItems_exports, { Template: Template$7 });
6634
+ const Template$8 = require_utils.withInstall(formItems_default);
6635
+ const RwFormItems = Object.assign({}, formItems_exports, { Template: Template$8 });
6540
6636
  //#endregion
6541
6637
  //#region src/packages/controls/tabPane/tabPane.vue
6542
6638
  var tabPane_default = /* @__PURE__ */ (0, vue.defineComponent)({
@@ -6573,11 +6669,11 @@ var tabPane_default = /* @__PURE__ */ (0, vue.defineComponent)({
6573
6669
  //#endregion
6574
6670
  //#region src/packages/controls/tabPane/tabPane.ts
6575
6671
  var tabPane_exports = /* @__PURE__ */ require_locale.__exportAll({
6576
- Template: () => Template$6,
6577
- init: () => init$9
6672
+ Template: () => Template$7,
6673
+ init: () => init$10
6578
6674
  });
6579
- const Template$6 = require_utils.withInstall(tabPane_default);
6580
- const init$9 = (moduleName, name, options) => {
6675
+ const Template$7 = require_utils.withInstall(tabPane_default);
6676
+ const init$10 = (moduleName, name, options) => {
6581
6677
  const contents = (0, vue.reactive)([]);
6582
6678
  const tabPaneProps = (0, vue.reactive)({
6583
6679
  name,
@@ -6598,7 +6694,7 @@ const init$9 = (moduleName, name, options) => {
6598
6694
  }));
6599
6695
  },
6600
6696
  addTabs: (options = {}) => {
6601
- contents.push(init$8(options));
6697
+ contents.push(init$9(options));
6602
6698
  },
6603
6699
  ...options,
6604
6700
  controlType: "tabPane"
@@ -6645,11 +6741,11 @@ var tabs_default = /* @__PURE__ */ (0, vue.defineComponent)({
6645
6741
  //#endregion
6646
6742
  //#region src/packages/controls/tabs/tabs.ts
6647
6743
  var tabs_exports = /* @__PURE__ */ require_locale.__exportAll({
6648
- Template: () => Template$5,
6649
- init: () => init$8
6744
+ Template: () => Template$6,
6745
+ init: () => init$9
6650
6746
  });
6651
- const Template$5 = require_utils.withInstall(tabs_default);
6652
- function init$8(options = {}) {
6747
+ const Template$6 = require_utils.withInstall(tabs_default);
6748
+ function init$9(options = {}) {
6653
6749
  const id = `tabs--${Date.now()}_${Math.random().toString(36).slice(2, 9)}`;
6654
6750
  const tabPanes = [];
6655
6751
  const inDialog = options?.inDialog ?? false;
@@ -6658,14 +6754,14 @@ function init$8(options = {}) {
6658
6754
  tabPanes,
6659
6755
  inDialog,
6660
6756
  addTabPaneSimple: (moduleName, name, options) => {
6661
- tabPanes.push(init$9(moduleName, name, {
6757
+ tabPanes.push(init$10(moduleName, name, {
6662
6758
  ...options,
6663
6759
  inDialog
6664
6760
  }));
6665
6761
  return self;
6666
6762
  },
6667
6763
  addTabPane: (moduleName, name, contents, options) => {
6668
- tabPanes.push(init$9(moduleName, name, {
6764
+ tabPanes.push(init$10(moduleName, name, {
6669
6765
  ...options,
6670
6766
  inDialog,
6671
6767
  contents: Array.isArray(contents) ? contents : [contents]
@@ -6682,9 +6778,9 @@ function init$8(options = {}) {
6682
6778
  var form_exports = /* @__PURE__ */ require_locale.__exportAll({
6683
6779
  FormTraverser: () => FormTraverser,
6684
6780
  batchProcessForm: () => batchProcessForm,
6685
- init: () => init$7
6781
+ init: () => init$8
6686
6782
  });
6687
- const init$7 = (struct, options = {}) => {
6783
+ const init$8 = (struct, options = {}) => {
6688
6784
  const formId = options.id || `form-${struct.name}-${Date.now()}_${Math.random().toString(36).slice(2, 9)}`;
6689
6785
  const contents = (0, vue.reactive)([]);
6690
6786
  const data = (() => {
@@ -6693,7 +6789,7 @@ const init$7 = (struct, options = {}) => {
6693
6789
  })();
6694
6790
  const contentsMap = (0, vue.reactive)(/* @__PURE__ */ new Map());
6695
6791
  const customizedDisabled = options?.customizedDisabled ?? false;
6696
- const buttons = (0, vue.reactive)(init$32(struct.name, { isGroup: true }));
6792
+ const buttons = (0, vue.reactive)(init$33(struct.name, { isGroup: true }));
6697
6793
  buttons.addButton("submit", {
6698
6794
  label: "buttons.save",
6699
6795
  nativeType: "button",
@@ -6792,7 +6888,7 @@ const init$7 = (struct, options = {}) => {
6792
6888
  return formItems;
6793
6889
  },
6794
6890
  addTabs: (options = {}) => {
6795
- contents.push(init$8(options));
6891
+ contents.push(init$9(options));
6796
6892
  },
6797
6893
  changeButton: (name, options) => {
6798
6894
  const item = buttons.controls.find((item) => item.name === name);
@@ -7456,8 +7552,8 @@ var form_default = /* @__PURE__ */ _plugin_vue_export_helper_default(/* @__PURE_
7456
7552
  }), [["__scopeId", "data-v-599c4886"]]);
7457
7553
  //#endregion
7458
7554
  //#region src/packages/controls/form/index.ts
7459
- const Template$4 = require_utils.withInstall(form_default);
7460
- const RwForm = Object.assign({}, form_exports, { Template: Template$4 });
7555
+ const Template$5 = require_utils.withInstall(form_default);
7556
+ const RwForm = Object.assign({}, form_exports, { Template: Template$5 });
7461
7557
  //#endregion
7462
7558
  //#region src/packages/controls/pageBase/pageBase.vue
7463
7559
  var pageBase_default = /* @__PURE__ */ (0, vue.defineComponent)({
@@ -7552,11 +7648,11 @@ var pageBase_default = /* @__PURE__ */ (0, vue.defineComponent)({
7552
7648
  //#endregion
7553
7649
  //#region src/packages/controls/pageBase/pageBase.ts
7554
7650
  var pageBase_exports = /* @__PURE__ */ require_locale.__exportAll({
7555
- Template: () => Template$3,
7556
- init: () => init$6
7651
+ Template: () => Template$4,
7652
+ init: () => init$7
7557
7653
  });
7558
- const Template$3 = require_utils.withInstall(pageBase_default);
7559
- const init$6 = (name, pageType, options) => {
7654
+ const Template$4 = require_utils.withInstall(pageBase_default);
7655
+ const init$7 = (name, pageType, options) => {
7560
7656
  const dialogs = (0, vue.reactive)([]);
7561
7657
  return {
7562
7658
  name,
@@ -7564,7 +7660,7 @@ const init$6 = (name, pageType, options) => {
7564
7660
  dialogs,
7565
7661
  ...options,
7566
7662
  pushDialog: (name, templateName, buttons, options = {}) => {
7567
- dialogs.push(init$31(name, templateName, buttons, options));
7663
+ dialogs.push(init$32(name, templateName, buttons, options));
7568
7664
  },
7569
7665
  showDialog: (name, id = 0, params) => {
7570
7666
  const dialog = dialogs.find((dialog) => dialog.name === name);
@@ -7642,10 +7738,10 @@ var pageForm_default = /* @__PURE__ */ (0, vue.defineComponent)({
7642
7738
  //#region src/packages/controls/pageStruct/tableStruct.ts
7643
7739
  var tableStruct_exports = /* @__PURE__ */ require_locale.__exportAll({
7644
7740
  getDefaultData: () => getDefaultData,
7645
- init: () => init$5,
7741
+ init: () => init$6,
7646
7742
  textIsSystemKeyword: () => textIsSystemKeyword
7647
7743
  });
7648
- const init$5 = (name, type, options = {}) => {
7744
+ const init$6 = (name, type, options = {}) => {
7649
7745
  if (textIsSystemKeyword(name)) console.error(name, "数据库字段名不能为系统关键字");
7650
7746
  return {
7651
7747
  name,
@@ -8512,8 +8608,8 @@ const textIsSystemKeyword = (keyword) => {
8512
8608
  //#endregion
8513
8609
  //#region src/packages/controls/pageStruct/pageStruct.ts
8514
8610
  /*** 原系统StructsC的类 */
8515
- var pageStruct_exports = /* @__PURE__ */ require_locale.__exportAll({ init: () => init$4 });
8516
- const init$4 = (name, tableID, apiURLFront, options = {}) => {
8611
+ var pageStruct_exports = /* @__PURE__ */ require_locale.__exportAll({ init: () => init$5 });
8612
+ const init$5 = (name, tableID, apiURLFront, options = {}) => {
8517
8613
  const fields = [];
8518
8614
  const fieldsMap = /* @__PURE__ */ new Map();
8519
8615
  const defaultSubModules = [
@@ -8606,7 +8702,7 @@ const init$4 = (name, tableID, apiURLFront, options = {}) => {
8606
8702
  ...newOptions,
8607
8703
  title: `${name}.${fieldName}`
8608
8704
  };
8609
- const field = init$5(fieldName, type, newOptions);
8705
+ const field = init$6(fieldName, type, newOptions);
8610
8706
  fields.push(field);
8611
8707
  fieldsMap.set(fieldName, field);
8612
8708
  }
@@ -8640,13 +8736,13 @@ const init$4 = (name, tableID, apiURLFront, options = {}) => {
8640
8736
  //#endregion
8641
8737
  //#region src/packages/controls/pageForm/pageForm.ts
8642
8738
  var pageForm_exports = /* @__PURE__ */ require_locale.__exportAll({
8643
- Template: () => Template$2,
8644
- init: () => init$3
8739
+ Template: () => Template$3,
8740
+ init: () => init$4
8645
8741
  });
8646
- const Template$2 = require_utils.withInstall(pageForm_default);
8647
- const init$3 = (struct, options) => {
8742
+ const Template$3 = require_utils.withInstall(pageForm_default);
8743
+ const init$4 = (struct, options) => {
8648
8744
  return {
8649
- page: (0, vue.reactive)(init$6(struct.name, "form")),
8745
+ page: (0, vue.reactive)(init$7(struct.name, "form")),
8650
8746
  form: (0, vue.reactive)(RwForm.init(struct, { ...options?.form })),
8651
8747
  controlType: "pageForm"
8652
8748
  };
@@ -8894,7 +8990,7 @@ var pageTable_default = /* @__PURE__ */ (0, vue.defineComponent)({
8894
8990
  }
8895
8991
  }
8896
8992
  function showColumns(arr = []) {
8897
- let showColumnsDropdown = init$33("table", "showColumns", {
8993
+ let showColumnsDropdown = init$34("table", "showColumns", {
8898
8994
  hideOnClick: false,
8899
8995
  type: "primary",
8900
8996
  maxHeight: 500,
@@ -9098,15 +9194,15 @@ var pageTable_default = /* @__PURE__ */ (0, vue.defineComponent)({
9098
9194
  //#endregion
9099
9195
  //#region src/packages/controls/pageTable/pageTable.ts
9100
9196
  var pageTable_exports = /* @__PURE__ */ require_locale.__exportAll({
9101
- Template: () => Template$1,
9102
- init: () => init$2
9197
+ Template: () => Template$2,
9198
+ init: () => init$3
9103
9199
  });
9104
- const Template$1 = require_utils.withInstall(pageTable_default);
9105
- function init$2(struct, options = {}) {
9200
+ const Template$2 = require_utils.withInstall(pageTable_default);
9201
+ function init$3(struct, options = {}) {
9106
9202
  const showRefresh = options?.showRefresh ?? true;
9107
9203
  const localSetting = require_stores.useLocalSettingStore();
9108
- const page = (0, vue.reactive)(init$6(struct?.name, "table"));
9109
- const operateButtons = init$32(struct.name, {
9204
+ const page = (0, vue.reactive)(init$7(struct?.name, "table"));
9205
+ const operateButtons = init$33(struct.name, {
9110
9206
  isGroup: false,
9111
9207
  buttonsArea: "operate",
9112
9208
  show: true
@@ -9157,15 +9253,15 @@ function init$2(struct, options = {}) {
9157
9253
  type: "danger",
9158
9254
  icon: (0, vue.markRaw)(_element_plus_icons_vue.Close)
9159
9255
  });
9160
- const tableButtons = init$32(struct.name, {
9256
+ const tableButtons = init$33(struct.name, {
9161
9257
  isGroup: false,
9162
9258
  buttonsArea: "table"
9163
9259
  });
9164
- const importDropDown = init$33("buttons", "import", { icon: "Files" });
9260
+ const importDropDown = init$34("buttons", "import", { icon: "Files" });
9165
9261
  importDropDown.addItem("importing", { icon: "Files" });
9166
9262
  importDropDown.addItem("downloadTemplate", { icon: "Download" });
9167
9263
  tableButtons.addDropdown("import", importDropDown);
9168
- const exportDropDown = init$33("buttons", "export", { icon: "Document" });
9264
+ const exportDropDown = init$34("buttons", "export", { icon: "Document" });
9169
9265
  exportDropDown.addItem("exportSelectedToExcel", {
9170
9266
  label: "buttons.exportSelected",
9171
9267
  icon: "Select"
@@ -9180,8 +9276,8 @@ function init$2(struct, options = {}) {
9180
9276
  search,
9181
9277
  operateButtons,
9182
9278
  tableButtons,
9183
- table: init$12(struct, { showEdit: !!options.editName }),
9184
- pagination: init$18(struct?.name, {}),
9279
+ table: init$13(struct, { showEdit: !!options.editName }),
9280
+ pagination: init$19(struct?.name, {}),
9185
9281
  struct,
9186
9282
  showRefresh,
9187
9283
  ...options
@@ -9190,11 +9286,55 @@ function init$2(struct, options = {}) {
9190
9286
  }
9191
9287
  //#endregion
9192
9288
  //#region src/packages/controls/pageTable/mTreeSTable.ts
9193
- var mTreeSTable_exports = /* @__PURE__ */ require_locale.__exportAll({ init: () => init$1 });
9194
- function init$1(options) {
9289
+ var mTreeSTable_exports = /* @__PURE__ */ require_locale.__exportAll({ init: () => init$2 });
9290
+ function init$2(options) {
9195
9291
  return {
9196
- mTablePage: init$2(options.mTablePage.struct),
9197
- tablePage: init$2(options.tablePage.struct)
9292
+ mTablePage: init$3(options.mTablePage.struct),
9293
+ tablePage: init$3(options.tablePage.struct)
9294
+ };
9295
+ }
9296
+ //#endregion
9297
+ //#region src/packages/controls/progress/progress.vue?vue&type=script&setup=true&lang.ts
9298
+ const _hoisted_1 = ["innerHTML"];
9299
+ const _hoisted_2 = { key: 2 };
9300
+ //#endregion
9301
+ //#region src/packages/controls/progress/progress.vue
9302
+ var progress_default = /* @__PURE__ */ (0, vue.defineComponent)({
9303
+ __name: "progress",
9304
+ props: { control: {
9305
+ type: Object,
9306
+ required: true
9307
+ } },
9308
+ setup(__props) {
9309
+ const props = __props;
9310
+ const progressProps = (0, vue.computed)(() => {
9311
+ const { default: _default, ...rest } = props.control;
9312
+ return rest;
9313
+ });
9314
+ return (_ctx, _cache) => {
9315
+ return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(element_plus.ElProgress), (0, vue.normalizeProps)((0, vue.guardReactiveProps)(progressProps.value)), (0, vue.createSlots)({ _: 2 }, [__props.control.default ? {
9316
+ name: "default",
9317
+ fn: (0, vue.withCtx)(() => [(0, vue.unref)(require_utils.isComponent)(__props.control.default) && !(0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.control.default), { key: 0 })) : typeof __props.control.default === "string" && (0, vue.unref)(require_utils.isHTML)(__props.control.default) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
9318
+ key: 1,
9319
+ innerHTML: __props.control.default
9320
+ }, null, 8, _hoisted_1)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_2, (0, vue.toDisplayString)(__props.control.default), 1))]),
9321
+ key: "0"
9322
+ } : void 0]), 1040);
9323
+ };
9324
+ }
9325
+ });
9326
+ //#endregion
9327
+ //#region src/packages/controls/progress/progress.ts
9328
+ var progress_exports = /* @__PURE__ */ require_locale.__exportAll({
9329
+ Template: () => Template$1,
9330
+ init: () => init$1
9331
+ });
9332
+ const Template$1 = require_utils.withInstall(progress_default);
9333
+ function init$1(moduleName, name, options = {}) {
9334
+ return {
9335
+ moduleName,
9336
+ name,
9337
+ ...options
9198
9338
  };
9199
9339
  }
9200
9340
  //#endregion
@@ -9345,7 +9485,7 @@ var search_exports = /* @__PURE__ */ require_locale.__exportAll({
9345
9485
  const SearchKeyTemplate = require_utils.withInstall(searchKeys_default);
9346
9486
  const Template = require_utils.withInstall(search_default);
9347
9487
  const init = (struct, options = {}) => {
9348
- const buttons = init$32(struct.name, {
9488
+ const buttons = init$33(struct.name, {
9349
9489
  isGroup: false,
9350
9490
  buttonsArea: "search"
9351
9491
  });
@@ -9439,9 +9579,10 @@ function createMergeSelectComponent(name, optionFrom, optionValues, options, for
9439
9579
  //#endregion
9440
9580
  //#region src/packages/controls/index.ts
9441
9581
  var controls_exports = /* @__PURE__ */ require_locale.__exportAll({
9442
- MyButton: () => MyButton_default,
9443
9582
  RwAffix: () => affix_exports,
9583
+ RwAlert: () => alert_exports,
9444
9584
  RwAutocomplete: () => autocomplete_exports,
9585
+ RwAvatar: () => avatar_exports,
9445
9586
  RwButton: () => button_exports,
9446
9587
  RwButtonGroup: () => buttonGroup_exports,
9447
9588
  RwDialog: () => dialog_exports,
@@ -9462,6 +9603,7 @@ var controls_exports = /* @__PURE__ */ require_locale.__exportAll({
9462
9603
  RwPageTable: () => pageTable_exports,
9463
9604
  RwPagination: () => pagination_exports,
9464
9605
  RwPopconfirm: () => popconfirm_exports,
9606
+ RwProgress: () => progress_exports,
9465
9607
  RwRadio: () => radio_exports,
9466
9608
  RwSearch: () => search_exports,
9467
9609
  RwSegmented: () => segmented_exports,
@@ -9480,12 +9622,6 @@ var controls_exports = /* @__PURE__ */ require_locale.__exportAll({
9480
9622
  tableStruct: () => tableStruct_exports
9481
9623
  });
9482
9624
  //#endregion
9483
- Object.defineProperty(exports, "MyButton_default", {
9484
- enumerable: true,
9485
- get: function() {
9486
- return MyButton_default;
9487
- }
9488
- });
9489
9625
  Object.defineProperty(exports, "RwForm", {
9490
9626
  enumerable: true,
9491
9627
  get: function() {
@@ -9510,12 +9646,24 @@ Object.defineProperty(exports, "affix_exports", {
9510
9646
  return affix_exports;
9511
9647
  }
9512
9648
  });
9649
+ Object.defineProperty(exports, "alert_exports", {
9650
+ enumerable: true,
9651
+ get: function() {
9652
+ return alert_exports;
9653
+ }
9654
+ });
9513
9655
  Object.defineProperty(exports, "autocomplete_exports", {
9514
9656
  enumerable: true,
9515
9657
  get: function() {
9516
9658
  return autocomplete_exports;
9517
9659
  }
9518
9660
  });
9661
+ Object.defineProperty(exports, "avatar_exports", {
9662
+ enumerable: true,
9663
+ get: function() {
9664
+ return avatar_exports;
9665
+ }
9666
+ });
9519
9667
  Object.defineProperty(exports, "buttonGroup_exports", {
9520
9668
  enumerable: true,
9521
9669
  get: function() {
@@ -9561,19 +9709,19 @@ Object.defineProperty(exports, "image_exports", {
9561
9709
  Object.defineProperty(exports, "init", {
9562
9710
  enumerable: true,
9563
9711
  get: function() {
9564
- return init$3;
9712
+ return init$4;
9565
9713
  }
9566
9714
  });
9567
9715
  Object.defineProperty(exports, "init$1", {
9568
9716
  enumerable: true,
9569
9717
  get: function() {
9570
- return init$4;
9718
+ return init$5;
9571
9719
  }
9572
9720
  });
9573
9721
  Object.defineProperty(exports, "init$2", {
9574
9722
  enumerable: true,
9575
9723
  get: function() {
9576
- return init$8;
9724
+ return init$9;
9577
9725
  }
9578
9726
  });
9579
9727
  Object.defineProperty(exports, "inputNumber_exports", {
@@ -9654,6 +9802,12 @@ Object.defineProperty(exports, "popconfirm_exports", {
9654
9802
  return popconfirm_exports;
9655
9803
  }
9656
9804
  });
9805
+ Object.defineProperty(exports, "progress_exports", {
9806
+ enumerable: true,
9807
+ get: function() {
9808
+ return progress_exports;
9809
+ }
9810
+ });
9657
9811
  Object.defineProperty(exports, "radio_exports", {
9658
9812
  enumerable: true,
9659
9813
  get: function() {