@web-utils/component 5.0.0-beta01 → 5.0.0-beta02

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 (196) hide show
  1. package/awesome-button/index.mjs +19 -19
  2. package/chat/index.mjs +7 -7
  3. package/chunks/{EditableTree.C_IJBL5b.mjs → EditableTree.D0ByhRTi.mjs} +132 -132
  4. package/chunks/{ElementBaseInfo.DyuFR6fE.mjs → ElementBaseInfo.B3pY8TkD.mjs} +2 -2
  5. package/chunks/ElementDialog.DNsDHdQS.mjs +251 -0
  6. package/chunks/{ElementForm.ButuYDPA.mjs → ElementForm.D_lXbe--.mjs} +23 -23
  7. package/chunks/{ElementListeners.Dg3e_dmp.mjs → ElementListeners.Cufwd4bp.mjs} +19 -19
  8. package/chunks/{ElementMultiInstance.Dmi79FqA.mjs → ElementMultiInstance.BhY8NY2z.mjs} +1 -1
  9. package/chunks/{ElementOtherConfig.C2AddGTp.mjs → ElementOtherConfig.DX1ZJ9w2.mjs} +1 -1
  10. package/chunks/{ElementProperties.CfV8UF7L.mjs → ElementProperties.BRafADXp.mjs} +7 -7
  11. package/chunks/{ElementTaskConfig.Bn7ycGGn.mjs → ElementTaskConfig.B6pqRir_.mjs} +4 -4
  12. package/chunks/{FlowCondition.C6PdqOAW.mjs → FlowCondition.Dvwji23j.mjs} +1 -1
  13. package/chunks/{FlowDesigner.uJYFfKpR.mjs → FlowDesigner.LL-vXDIE.mjs} +12 -13
  14. package/chunks/{FormBlock.BEENc22F.mjs → FormBlock.Co7l6USP.mjs} +8 -8
  15. package/chunks/{FormCascader.CaM-oEhv.mjs → FormCascader.DMY3uNc8.mjs} +352 -351
  16. package/chunks/{FormInputTime.Bg3UIP8H.mjs → FormInputTime.BC4FfWwY.mjs} +186 -185
  17. package/chunks/{FormItem.H9OOvNzT.mjs → FormItem.BSXI2cZU.mjs} +12 -13
  18. package/chunks/{FormItemGroup.D9eRy-cZ.mjs → FormItemGroup.D2Htta7J.mjs} +11 -9
  19. package/chunks/{FormSelect.CanodoAI.mjs → FormSelect.CY0K-izg.mjs} +369 -368
  20. package/chunks/{FormSwitch.DTqdaFjv.mjs → FormSwitch.DLqFXaFF.mjs} +34 -33
  21. package/chunks/{FormTemp.DiI5EfgK.mjs → FormTemp.PJFfNRls.mjs} +2 -2
  22. package/chunks/{FyCurd.DMj1dMK9.mjs → FyCurd.me083T8V.mjs} +10 -10
  23. package/chunks/{FyForm.vgR8ujEF.mjs → FyForm.vVp8aVtj.mjs} +17 -15
  24. package/chunks/{FyFormDesign.DEWT6LsX.mjs → FyFormDesign.BCxVyiWY.mjs} +87 -87
  25. package/chunks/{FyUpload.B2QKfTxF.mjs → FyUpload.CA7Gfa6Q.mjs} +2 -2
  26. package/chunks/ImagePreview.ByEWJYdu.mjs +639 -0
  27. package/chunks/{Keyboard.ItiRy7Gb.mjs → Keyboard.4hi7CjGc.mjs} +2 -2
  28. package/chunks/{MonacoEditor.Bd5Kui-Y.mjs → MonacoEditor.B7BUQwb7.mjs} +65 -64
  29. package/chunks/{PageableTable.Bujb0NUx.mjs → PageableTable.Ba3XSbZ5.mjs} +83 -81
  30. package/chunks/{SignalAndMessage.CYVzlFuL.mjs → SignalAndMessage.DYhKWs3X.mjs} +7 -7
  31. package/chunks/{TableColumn.DJYkznbJ.mjs → TableColumn.72HOXQkb.mjs} +34 -28
  32. package/chunks/{TableView.DyIdIxAg.mjs → TableView.BxfsOAxU.mjs} +8 -8
  33. package/chunks/{UserTaskListeners.Bp-2qkHs.mjs → UserTaskListeners.CkeyTpnn.mjs} +16 -16
  34. package/chunks/{VueCron.GfjodnyM.mjs → VueCron.DEvY5-i7.mjs} +196 -139
  35. package/chunks/{VueTreeSelect.9Ywl-I8e.mjs → VueTreeSelect.C6Ycu28Z.mjs} +38 -37
  36. package/chunks/{checkbox.emIuFmnt.mjs → checkbox.C_9WZ8gc.mjs} +2 -2
  37. package/chunks/{confirmable-mixin.BBil7dto.mjs → confirmable-mixin.zegaXQTl.mjs} +398 -282
  38. package/chunks/{dictionary.DxZxP0ej.mjs → dictionary.CNNpjPL2.mjs} +1 -1
  39. package/chunks/{event.eJ-c1Z3a.mjs → event.Dv4XTu8B.mjs} +2 -2
  40. package/chunks/{focus-trap.DT4GnqQI.mjs → focus-trap.FbvlqAGe.mjs} +2 -2
  41. package/chunks/{form-input.D25eDRMq.mjs → form-input.BUGZmAI1.mjs} +2 -2
  42. package/chunks/{form-item.CgmUuw_n.mjs → form-item.Ca8U2bIR.mjs} +58 -60
  43. package/chunks/icon.CxCY22-F.mjs +26 -0
  44. package/chunks/{icon.CbS8-322.mjs → icon.ym7735_x.mjs} +28 -36
  45. package/chunks/{init.DwpukyOB.mjs → init.6jGmuY99.mjs} +3 -3
  46. package/chunks/input.C2GWsuXE.mjs +547 -0
  47. package/chunks/{message.BCmee5N0.mjs → message.C4NdvfbE.mjs} +40 -40
  48. package/chunks/{radio.BotKXqJr.mjs → radio.CeLeSOEo.mjs} +3 -4
  49. package/chunks/{tag.DPi-PLbb.mjs → tag.ZhEIVRpP.mjs} +18 -18
  50. package/chunks/{tooltip.D50x7Rva.mjs → tooltip.DNiltmX1.mjs} +362 -349
  51. package/chunks/{use-size.DxrwTUwf.mjs → typescript.CLl-2siQ.mjs} +2 -2
  52. package/chunks/use-empty-values.D8KYIiKR.mjs +81 -0
  53. package/chunks/use-form-item.BlWa7ZKe.mjs +56 -0
  54. package/chunks/{use-global-config.C9hs-O_x.mjs → use-global-config.DRovgom9.mjs} +14 -13
  55. package/chunks/{use-empty-values.Dy_r78F6.mjs → use-locale.Be9HCpTQ.mjs} +12 -87
  56. package/chunks/{validator.C4-z_t9p.mjs → validator.DuBSEj8O.mjs} +1 -1
  57. package/confirm-button/index.mjs +1 -1
  58. package/confirmable/index.mjs +1 -1
  59. package/data-box/style.css +1 -1
  60. package/data-card/style.css +1 -1
  61. package/data-display/style.css +1 -1
  62. package/data-icons/style.css +1 -1
  63. package/data-imgtext/style.css +1 -1
  64. package/data-operatext/style.css +1 -1
  65. package/data-panel/style.css +1 -1
  66. package/data-pay/style.css +1 -1
  67. package/data-price/style.css +1 -1
  68. package/data-progress/style.css +1 -1
  69. package/data-rotate/style.css +1 -1
  70. package/data-table-picker/index.mjs +3 -3
  71. package/data-tabs/style.css +1 -1
  72. package/dialog-form/index.mjs +7 -3
  73. package/dynamic-table/index.mjs +1 -1
  74. package/editable-tree/index.mjs +1 -1
  75. package/element-dialog/index.mjs +1 -1
  76. package/flex-column/index.mjs +11 -9
  77. package/flex-item/index.mjs +22 -16
  78. package/flex-row/index.mjs +11 -10
  79. package/flow-designer/index.mjs +1 -1
  80. package/form-block/index.mjs +1 -1
  81. package/form-cascader/index.mjs +1 -1
  82. package/form-checkbox/index.mjs +3 -3
  83. package/form-checkbox-group/index.mjs +5 -5
  84. package/form-date-picker/index.mjs +3 -3
  85. package/form-holder/index.mjs +2 -5
  86. package/form-input/index.mjs +3 -3
  87. package/form-input-cron-expression/index.mjs +3 -3
  88. package/form-input-email/index.mjs +9 -8
  89. package/form-input-id-card/index.mjs +9 -8
  90. package/form-input-phone-number/index.mjs +10 -9
  91. package/form-input-tag/index.mjs +2 -2
  92. package/form-input-time/index.mjs +1 -1
  93. package/form-item/index.mjs +1 -1
  94. package/form-item-group/index.mjs +1 -1
  95. package/form-radio-group/index.mjs +5 -5
  96. package/form-select/index.mjs +1 -1
  97. package/form-switch/index.mjs +1 -1
  98. package/form-table/index.mjs +2 -2
  99. package/form-table-plus/index.mjs +4 -4
  100. package/form-textarea/index.mjs +3 -3
  101. package/form-tree-select/index.mjs +3 -3
  102. package/form-tree-select-multiple/index.mjs +3 -3
  103. package/form-view/index.mjs +13 -8
  104. package/fy-array/index.mjs +1 -1
  105. package/fy-cascader/index.mjs +1 -1
  106. package/fy-checkbox/index.mjs +1 -1
  107. package/fy-curd/index.mjs +1 -1
  108. package/fy-date/index.mjs +1 -1
  109. package/fy-dynamic/index.mjs +5 -5
  110. package/fy-form/index.mjs +1 -1
  111. package/fy-form-design/index.mjs +1 -1
  112. package/fy-form-design/style.css +1 -1
  113. package/fy-input/index.mjs +1 -1
  114. package/fy-input-color/index.mjs +2 -2
  115. package/fy-input-icon/index.mjs +1 -1
  116. package/fy-input-map/index.mjs +1 -1
  117. package/fy-input-number/index.mjs +1 -1
  118. package/fy-input-table/index.mjs +1 -1
  119. package/fy-input-tree/index.mjs +2 -2
  120. package/fy-radio/index.mjs +1 -1
  121. package/fy-rate/index.mjs +1 -1
  122. package/fy-select/index.mjs +3 -3
  123. package/fy-slider/index.mjs +1 -1
  124. package/fy-switch/index.mjs +1 -1
  125. package/fy-time/index.mjs +1 -1
  126. package/fy-title/index.mjs +1 -1
  127. package/fy-tree/index.mjs +1 -1
  128. package/fy-u-editor/index.mjs +1 -1
  129. package/fy-upload/index.mjs +1 -1
  130. package/helper-function.d.ts +3 -2
  131. package/helper-function.mjs +16 -9
  132. package/image-cropper/index.mjs +6 -6
  133. package/image-preview/index.mjs +2 -187
  134. package/index.mjs +91 -91
  135. package/input-number-range/index.mjs +2 -2
  136. package/keyboard/index.mjs +1 -1
  137. package/license/index.mjs +1 -1
  138. package/login/index.mjs +3 -3
  139. package/monaco-editor/index.mjs +1 -1
  140. package/notice/index.mjs +1 -1
  141. package/package.json +5 -5
  142. package/pageable-table/index.mjs +1 -1
  143. package/pageable-view/index.mjs +1 -1
  144. package/photo-swipe/index.mjs +1 -1
  145. package/picker-table-view/index.mjs +4 -4
  146. package/present-view/index.mjs +18 -13
  147. package/record-video/index.mjs +1 -1
  148. package/resize-observer/index.mjs +1 -1
  149. package/search/index.mjs +1 -1
  150. package/split-pane/index.mjs +1 -1
  151. package/stateful/index.mjs +18 -17
  152. package/static-pageable-table/index.mjs +1 -1
  153. package/sub-table/index.mjs +3 -3
  154. package/sub-table-plus/index.mjs +4 -4
  155. package/tab/index.mjs +1 -1
  156. package/tab-item/index.mjs +1 -1
  157. package/table-column/index.mjs +1 -1
  158. package/table-view/index.mjs +1 -1
  159. package/tag-render/index.mjs +2 -2
  160. package/toolbar/index.mjs +1 -1
  161. package/toolbar-button/index.mjs +1 -4
  162. package/vue-cron/index.mjs +1 -1
  163. package/vue-qr-code/index.mjs +7 -6
  164. package/vue-tree-select/index.mjs +1 -1
  165. package/watermark/index.mjs +13 -13
  166. package/web-types.json +48 -14
  167. package/x-input-tag/index.mjs +3 -3
  168. package/chunks/ElementDialog.C0IjriTW.mjs +0 -681
  169. package/chunks/input.PejnqwSH.mjs +0 -547
  170. package/chunks/overlay.DubSnqma.mjs +0 -122
  171. package/chunks/teleport._VGEzK4d.mjs +0 -22
  172. package/chunks/typescript.DiWBU4nj.mjs +0 -4
  173. package/chunks/use-form-item.wsRjehHp.mjs +0 -47
  174. package/chunks/use-id.CFO5NeoV.mjs +0 -15
  175. /package/chunks/{FyUEditor.D_rEYfll.mjs → FyUEditor.BymtA5SJ.mjs} +0 -0
  176. /package/chunks/{RecordVideo.B35_dLty.mjs → RecordVideo.VRFTaHSp.mjs} +0 -0
  177. /package/chunks/{SplitPane.Dw96M0Yf.mjs → SplitPane.Bwe5Rc0J.mjs} +0 -0
  178. /package/chunks/{Toolbar.DHuXJAoG.mjs → Toolbar.BVziVmyT.mjs} +0 -0
  179. /package/chunks/{core.DJv6Qrae.mjs → core.DXaMPWGV.mjs} +0 -0
  180. /package/chunks/{dataformat.Bfr4nOcA.mjs → dataformat.CteBVoOe.mjs} +0 -0
  181. /package/chunks/{dic.DgDfnovD.mjs → dic.C0abEij9.mjs} +0 -0
  182. /package/chunks/{dictionary.5eKjWeAp.mjs → dictionary.BRhZD-WH.mjs} +0 -0
  183. /package/chunks/{form-pick.Axem0gOO.mjs → form-pick.DT5kumy4.mjs} +0 -0
  184. /package/chunks/{form-validate.B1KPCHqN.mjs → form-validate.CUvMwtPN.mjs} +0 -0
  185. /package/chunks/{packages.BGjydzjm.mjs → packages.BLDb9e6G.mjs} +0 -0
  186. /package/chunks/{permission.DgEVNWlh.mjs → permission.C-IUDxQQ.mjs} +0 -0
  187. /package/chunks/{photo-swipe.BB0SJZg9.mjs → photo-swipe.BxnG4lip.mjs} +0 -0
  188. /package/chunks/{scroll.CzORc5Zk.mjs → scroll.DWjS-gnW.mjs} +0 -0
  189. /package/chunks/{slot.C6Ozd2e7.mjs → slot.DT5QwXL-.mjs} +0 -0
  190. /package/chunks/{sub-table-plus-props.B_lLth3j.mjs → sub-table-plus-props.CRX7ERxJ.mjs} +0 -0
  191. /package/chunks/{tab-mixin.u0EZpx3j.mjs → tab-mixin.7zuMMM1E.mjs} +0 -0
  192. /package/chunks/{util.B3sjVZoZ.mjs → util.Ce4MHRmD.mjs} +0 -0
  193. /package/chunks/{utilSelf.ZED4DmCU.mjs → utilSelf.BttmSVX6.mjs} +0 -0
  194. /package/chunks/{utils.Cs2fYBrT.mjs → utils.BGJfM4oG.mjs} +0 -0
  195. /package/chunks/{utils.DsGhtCIO.mjs → utils.CSPl1l4f.mjs} +0 -0
  196. /package/chunks/{vnode.D_SioRnx.mjs → vnode.C3PXzhmg.mjs} +0 -0
@@ -1,7 +1,8 @@
1
- import { NOOP as e } from "@web-utils/core";
2
- import * as t from "monaco-editor/esm/vs/editor/editor.api";
1
+ import { h as e } from "vue";
2
+ import { NOOP as t } from "@web-utils/core";
3
+ import * as n from "monaco-editor/esm/vs/editor/editor.api";
3
4
  //#region src/components/monaco-editor/json-beautifier.js
4
- var n = /[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, r = /^[a-zA-Z_$][0-9a-zA-Z_$]*$/, i, a, o = {
5
+ var r = /[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, i = /^[a-zA-Z_$][0-9a-zA-Z_$]*$/, a, o, s = {
5
6
  "\b": "\\b",
6
7
  " ": "\\t",
7
8
  "\n": "\\n",
@@ -10,33 +11,33 @@ var n = /[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200
10
11
  "\"": "\\\"",
11
12
  "'": "\\'",
12
13
  "\\": "\\\\"
13
- }, s;
14
- function c(e, t = {}) {
14
+ }, c;
15
+ function l(e, t = {}) {
15
16
  let n = t.space || 2, r = t.dropQuotesOnKeys !== !1, i = t.dropQuotesOnNumbers || !1, a = t.inlineShortArrays || !1, o = t.inlineShortArraysDepth || 1, s = t.quoteType || "single", c = t.minify || !1;
16
- i && l(e);
17
- let u = f(e, null, c ? void 0 : n, r, s);
17
+ i && u(e);
18
+ let l = p(e, null, c ? void 0 : n, r, s);
18
19
  if (a && !c) {
19
- let e = d(u);
20
- if (o > 1) for (let t = 1; t < o && (u = e, e = d(u), e !== u); t++);
21
- u = e;
20
+ let e = f(l);
21
+ if (o > 1) for (let t = 1; t < o && (l = e, e = f(l), e !== l); t++);
22
+ l = e;
22
23
  }
23
- return u;
24
+ return l;
24
25
  }
25
- function l(e) {
26
- if (!u(e)) return;
26
+ function u(e) {
27
+ if (!d(e)) return;
27
28
  let t = Object.keys(e);
28
29
  t && t.forEach(function(t) {
29
30
  let n = e[t];
30
31
  if (typeof n == "string") {
31
32
  let r = n - 0;
32
33
  e[t] = isNaN(r) ? n : r;
33
- } else (u(n) || Array.isArray(n)) && l(n);
34
+ } else (d(n) || Array.isArray(n)) && u(n);
34
35
  });
35
36
  }
36
- function u(e) {
37
+ function d(e) {
37
38
  return e && typeof e == "object";
38
39
  }
39
- function d(e, t) {
40
+ function f(e, t) {
40
41
  if (t || (t = 80), typeof t != "number" || t < 20) throw Error(`Invalid width '${t}'. Expecting number equal or larger than 20.`);
41
42
  let n = e.split("\n"), r = 0, i = null, a = [];
42
43
  for (; r < n.length;) {
@@ -51,46 +52,46 @@ function d(e, t) {
51
52
  }
52
53
  return n.join("\n");
53
54
  }
54
- function f(e, t, n, r, o) {
55
- let c;
56
- if (i = "", a = "", typeof n == "number") for (c = 0; c < n; c += 1) a += " ";
57
- else typeof n == "string" && (a = n);
58
- if (s = t, t && typeof t != "function" && (typeof t != "object" || typeof t.length != "number")) throw Error("JSON.stringify");
59
- return p("", { "": e }, r, o);
55
+ function p(e, t, n, r, i) {
56
+ let s;
57
+ if (a = "", o = "", typeof n == "number") for (s = 0; s < n; s += 1) o += " ";
58
+ else typeof n == "string" && (o = n);
59
+ if (c = t, t && typeof t != "function" && (typeof t != "object" || typeof t.length != "number")) throw Error("JSON.stringify");
60
+ return m("", { "": e }, r, i);
60
61
  }
61
- function p(e, t, n, r) {
62
- let o, c, l, u, d = i, f, g = t[e];
63
- switch (g && typeof g == "object" && typeof g.toJSON == "function" && (g = g.toJSON(e)), typeof s == "function" && (g = s.call(t, e, g)), typeof g) {
64
- case "function": return g;
65
- case "string": return m(g, r);
66
- case "number": return isFinite(g) ? String(g) : "null";
62
+ function m(e, t, n, r) {
63
+ let i, s, l, u, d = a, f, p = t[e];
64
+ switch (p && typeof p == "object" && typeof p.toJSON == "function" && (p = p.toJSON(e)), typeof c == "function" && (p = c.call(t, e, p)), typeof p) {
65
+ case "function": return p;
66
+ case "string": return h(p, r);
67
+ case "number": return isFinite(p) ? String(p) : "null";
67
68
  case "boolean":
68
- case "null": return String(g);
69
+ case "null": return String(p);
69
70
  case "object":
70
- if (!g) return "null";
71
- if (i += a, f = [], Object.prototype.toString.apply(g) === "[object Array]") {
72
- for (u = g.length, o = 0; o < u; o += 1) f[o] = p(o, g, n, r) || "null";
73
- return l = f.length === 0 ? "[]" : i ? `[\n${i}${f.join(`,\n${i}`)}\n${d}]` : `[${f.join(",")}]`, i = d, l;
71
+ if (!p) return "null";
72
+ if (a += o, f = [], Object.prototype.toString.apply(p) === "[object Array]") {
73
+ for (u = p.length, i = 0; i < u; i += 1) f[i] = m(i, p, n, r) || "null";
74
+ return l = f.length === 0 ? "[]" : a ? `[\n${a}${f.join(`,\n${a}`)}\n${d}]` : `[${f.join(",")}]`, a = d, l;
74
75
  }
75
- if (s && typeof s == "object") for (u = s.length, o = 0; o < u; o += 1) typeof s[o] == "string" && (c = s[o], l = p(c, g, n, r), l && f.push((n ? h(c, r) : m(c, r)) + (i ? ": " : ":") + l));
76
- else for (c in g) Object.prototype.hasOwnProperty.call(g, c) && (l = p(c, g, n, r), l && f.push((n ? h(c, r) : m(c, r)) + (i ? ": " : ":") + l));
77
- return l = f.length === 0 ? "{}" : i ? `{\n${i}${f.join(`,\n${i}`)}\n${d}}` : `{${f.join(",")}}`, i = d, l;
76
+ if (c && typeof c == "object") for (u = c.length, i = 0; i < u; i += 1) typeof c[i] == "string" && (s = c[i], l = m(s, p, n, r), l && f.push((n ? g(s, r) : h(s, r)) + (a ? ": " : ":") + l));
77
+ else for (s in p) Object.prototype.hasOwnProperty.call(p, s) && (l = m(s, p, n, r), l && f.push((n ? g(s, r) : h(s, r)) + (a ? ": " : ":") + l));
78
+ return l = f.length === 0 ? "{}" : a ? `{\n${a}${f.join(`,\n${a}`)}\n${d}}` : `{${f.join(",")}}`, a = d, l;
78
79
  }
79
80
  }
80
- function m(e, t) {
81
- n.lastIndex = 0;
82
- let r = "\"";
83
- return t === "single" && (r = "'"), n.test(e) ? r + e.replace(n, function(e) {
84
- let t = o[e];
81
+ function h(e, t) {
82
+ r.lastIndex = 0;
83
+ let n = "\"";
84
+ return t === "single" && (n = "'"), r.test(e) ? n + e.replace(r, function(e) {
85
+ let t = s[e];
85
86
  return typeof t == "string" ? t : `\\u${`0000${e.charCodeAt(0).toString(16)}`.slice(-4)}`;
86
- }) + r : r + e + r;
87
+ }) + n : n + e + n;
87
88
  }
88
- function h(e, t) {
89
- return r.test(e) ? e : m(e, t);
89
+ function g(e, t) {
90
+ return i.test(e) ? e : h(e, t);
90
91
  }
91
92
  //#endregion
92
93
  //#region src/components/monaco-editor/MonacoEditor.vue
93
- var g = {
94
+ var _ = {
94
95
  name: "MonacoEditor",
95
96
  props: {
96
97
  diffEditor: {
@@ -127,11 +128,11 @@ var g = {
127
128
  },
128
129
  editorMounted: {
129
130
  type: Function,
130
- default: e
131
+ default: t
131
132
  },
132
133
  editorBeforeMount: {
133
134
  type: Function,
134
- default: e
135
+ default: t
135
136
  },
136
137
  keyIndex: { type: String }
137
138
  },
@@ -156,16 +157,16 @@ var g = {
156
157
  },
157
158
  keyIndex() {
158
159
  let e = this.modelValue;
159
- typeof e == "object" && (e = c(e)), this.editor && e !== this._getValue() && this._setValue(e);
160
+ typeof e == "object" && (e = l(e)), this.editor && e !== this._getValue() && this._setValue(e);
160
161
  },
161
162
  language() {
162
163
  if (this.editor) if (this.diffEditor) {
163
- let { original: e, modified: n } = this.editor.getModel();
164
- t.editor.setModelLanguage(e, this.language), t.editor.setModelLanguage(n, this.language);
165
- } else t.editor.setModelLanguage(this.editor.getModel(), this.language);
164
+ let { original: e, modified: t } = this.editor.getModel();
165
+ n.editor.setModelLanguage(e, this.language), n.editor.setModelLanguage(t, this.language);
166
+ } else n.editor.setModelLanguage(this.editor.getModel(), this.language);
166
167
  },
167
168
  theme() {
168
- this.editor && t.editor.setTheme(this.theme);
169
+ this.editor && n.editor.setTheme(this.theme);
169
170
  },
170
171
  style() {
171
172
  this.$nextTick(() => {
@@ -186,24 +187,24 @@ var g = {
186
187
  },
187
188
  methods: {
188
189
  initMonaco() {
189
- let { modelValue: e, language: n, theme: r, readOnly: i, options: a } = this;
190
- Object.assign(a, this._editorBeforeMount()), this.editor = t.editor[this.diffEditor ? "createDiffEditor" : "create"](this.$el, {
191
- value: typeof e == "string" ? e : c(e),
192
- language: n,
190
+ let { modelValue: e, language: t, theme: r, readOnly: i, options: a } = this;
191
+ Object.assign(a, this._editorBeforeMount()), this.editor = n.editor[this.diffEditor ? "createDiffEditor" : "create"](this.$el, {
192
+ value: typeof e == "string" ? e : l(e),
193
+ language: t,
193
194
  theme: r,
194
195
  readOnly: i,
195
196
  ...a
196
197
  }), this.diffEditor && this._setModel(this.modelValue, this.original), this._editorMounted(this.editor), this.editor.addAction({
197
198
  id: "f1",
198
199
  label: "full screen",
199
- keybindings: [t.KeyCode.F1],
200
+ keybindings: [n.KeyCode.F1],
200
201
  run: (e) => {
201
202
  this.toggleFullScreen();
202
203
  }
203
204
  }), this.editor.addAction({
204
205
  id: "escape",
205
206
  label: "exit full screen",
206
- keybindings: [t.KeyCode.Escape],
207
+ keybindings: [n.KeyCode.Escape],
207
208
  run: (e) => {
208
209
  this.fullscreen = !1;
209
210
  }
@@ -246,8 +247,8 @@ var g = {
246
247
  _getEditor() {
247
248
  return this.editor ? this.diffEditor ? this.editor.modifiedEditor : this.editor : null;
248
249
  },
249
- _setModel(e, n) {
250
- let { language: r } = this, i = t.editor.createModel(n, r), a = t.editor.createModel(e, r);
250
+ _setModel(e, t) {
251
+ let { language: r } = this, i = n.editor.createModel(t, r), a = n.editor.createModel(e, r);
251
252
  this.editor.setModel({
252
253
  original: i,
253
254
  modified: a
@@ -262,10 +263,10 @@ var g = {
262
263
  return e ? e.getValue() : "";
263
264
  },
264
265
  _editorBeforeMount() {
265
- return this.editorBeforeMount(t) || {};
266
+ return this.editorBeforeMount(n) || {};
266
267
  },
267
268
  _editorMounted(e) {
268
- this.editorMounted(e, t), this.diffEditor ? e.onDidUpdateDiff((e) => {
269
+ this.editorMounted(e, n), this.diffEditor ? e.onDidUpdateDiff((e) => {
269
270
  let t = this._getValue();
270
271
  this._emitChange(t, e);
271
272
  }) : e.onDidChangeModelContent((e) => {
@@ -277,7 +278,7 @@ var g = {
277
278
  this.$emit("change", e, t), this.$emit("update:modelValue", e);
278
279
  }
279
280
  },
280
- render(e) {
281
+ render() {
281
282
  let t = this.options.fullScreen;
282
283
  return e("div", {
283
284
  class: ["monaco_editor_container", this.fullscreen ? "fullscreen" : ""],
@@ -298,4 +299,4 @@ var g = {
298
299
  }
299
300
  };
300
301
  //#endregion
301
- export { c as n, g as t };
302
+ export { l as n, _ as t };
@@ -1,15 +1,15 @@
1
1
  import "./install.yLcn5MLL.mjs";
2
2
  import { t as e } from "./_plugin-vue_export-helper.7vrlOII_.mjs";
3
- import { t } from "./message.BCmee5N0.mjs";
4
- import { a as n, i as r, l as i, r as a } from "./util.B3sjVZoZ.mjs";
5
- import { t as o } from "./dictionary.DxZxP0ej.mjs";
6
- import { Fragment as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as f, createTextVNode as p, createVNode as m, mergeProps as h, normalizeClass as g, normalizeProps as _, openBlock as v, renderList as y, renderSlot as b, resolveComponent as x, toDisplayString as S, toHandlers as C, withCtx as w } from "vue";
7
- import { copy as T, hasOwn as E } from "@web-utils/core";
8
- import { merge as D } from "@web-utils/integrations/lodash";
9
- import { isEqual as O } from "lodash-es";
3
+ import { t } from "./message.C4NdvfbE.mjs";
4
+ import { a as n, i as r, l as i, r as a } from "./util.Ce4MHRmD.mjs";
5
+ import { t as o } from "./dictionary.CNNpjPL2.mjs";
6
+ import { Fragment as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as f, createTextVNode as p, createVNode as m, isVNode as h, mergeProps as g, normalizeClass as _, normalizeProps as v, openBlock as y, renderList as b, renderSlot as x, resolveComponent as S, toDisplayString as C, toHandlers as w, withCtx as T } from "vue";
7
+ import { copy as E, hasOwn as D } from "@web-utils/core";
8
+ import { merge as O } from "@web-utils/integrations/lodash";
9
+ import { isEqual as k } from "lodash-es";
10
10
  //#region src/util/clipboard.js
11
- function k(e) {
12
- T(e, () => i(t).success({
11
+ function A(e) {
12
+ E(e, () => i(t).success({
13
13
  duration: 1e3,
14
14
  message: "复制成功!",
15
15
  type: "success"
@@ -20,29 +20,31 @@ function k(e) {
20
20
  }));
21
21
  }
22
22
  //#endregion
23
+ //#region src/components/table/components/TableColumnFilterable.vue?vue&type=script&lang.jsx
24
+ function j(e) {
25
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !h(e);
26
+ }
27
+ //#endregion
23
28
  //#region src/components/table/components/TableColumnFilterable.vue
24
- var A = {
29
+ var M = {
25
30
  name: "TableColumnFilterable",
26
31
  functional: !0,
27
32
  render(e, t) {
28
- let { data: { key: n }, props: r, parent: { records: i }, scopedSlots: a } = t, { hide: o, isVNode: s, filterable: c, allowSort: l, autoUpdate: u, scopedSlots: d, prop: f, ...p } = r, g = `${n}-${c}${u ? `-${Math.random()}`.replace("0.", "") : ""}`, _ = { props: {
33
+ let { data: { key: n }, props: r, parent: { records: i }, scopedSlots: a } = t, { hide: o, isVNode: s, filterable: c, allowSort: l, autoUpdate: u, scopedSlots: d, prop: f, ...p } = r, h = `${n}-${c}${u ? `-${Math.random()}`.replace("0.", "") : ""}`, _ = {
29
34
  prop: f,
30
35
  ...p
31
- } };
36
+ };
32
37
  if (c) {
33
38
  let e = [...new Set(i.map((e) => e[f]).filter((e) => e))].map((e) => ({
34
39
  text: e,
35
40
  value: e
36
41
  }));
37
- _.props.filterMethod = (e, t, n) => t[n.property] === e, _.props.filters = e;
42
+ _.filterMethod = (e, t, n) => t[n.property] === e, _.filters = e;
38
43
  }
39
44
  let v = d || a;
40
- return v != null && v.default ? m(x("ElTableColumn"), h(_, {
41
- scopedSlots: v,
42
- key: g
43
- }), null) : m(x("TableColumn"), h(_, { key: g }), null);
45
+ return v != null && v.default ? m(S("ElTableColumn"), g(_, { key: h }), j(v) ? v : { default: () => [v] }) : m(S("TableColumn"), g(_, { key: h }), null);
44
46
  }
45
- }, j = {
47
+ }, N = {
46
48
  name: "TableColumnFilter",
47
49
  props: {
48
50
  columns: {
@@ -53,29 +55,29 @@ var A = {
53
55
  },
54
56
  emits: ["update:visible"]
55
57
  };
56
- function M(e, t, n, r, i, a) {
57
- let o = x("ElTableColumn"), s = x("ElCheckbox"), l = x("ElTable"), u = x("ElDrawer");
58
- return v(), c(u, {
58
+ function P(e, t, n, r, i, a) {
59
+ let o = S("ElTableColumn"), s = S("ElCheckbox"), l = S("ElTable"), u = S("ElDrawer");
60
+ return y(), c(u, {
59
61
  class: "table-column-filter",
60
62
  visible: n.visible,
61
63
  title: "表格设置",
62
64
  "append-to-body": "",
63
65
  "onUpdate:visible": t[0] || (t[0] = (t) => e.$emit("update:visible", t))
64
66
  }, {
65
- default: w(() => [m(l, {
67
+ default: T(() => [m(l, {
66
68
  data: n.columns,
67
69
  border: ""
68
70
  }, {
69
- default: w(() => [
71
+ default: T(() => [
70
72
  m(o, { label: "列名" }, {
71
- default: w(({ row: e }) => [p(S(e.label), 1)]),
73
+ default: T(({ row: e }) => [p(C(e.label), 1)]),
72
74
  _: 1
73
75
  }),
74
76
  m(o, {
75
77
  label: "隐藏",
76
78
  align: "center"
77
79
  }, {
78
- default: w(({ row: e }) => [m(s, {
80
+ default: T(({ row: e }) => [m(s, {
79
81
  modelValue: e.hide,
80
82
  "onUpdate:modelValue": (t) => e.hide = t
81
83
  }, null, 8, ["modelValue", "onUpdate:modelValue"])]),
@@ -85,7 +87,7 @@ function M(e, t, n, r, i, a) {
85
87
  label: "冻结",
86
88
  align: "center"
87
89
  }, {
88
- default: w(({ row: e }) => [m(s, {
90
+ default: T(({ row: e }) => [m(s, {
89
91
  modelValue: e.fixed,
90
92
  "onUpdate:modelValue": (t) => e.fixed = t
91
93
  }, null, 8, ["modelValue", "onUpdate:modelValue"])]),
@@ -95,7 +97,7 @@ function M(e, t, n, r, i, a) {
95
97
  label: "过滤",
96
98
  align: "center"
97
99
  }, {
98
- default: w(({ row: e }) => [m(s, {
100
+ default: T(({ row: e }) => [m(s, {
99
101
  modelValue: e.filterable,
100
102
  "onUpdate:modelValue": (t) => e.filterable = t
101
103
  }, null, 8, ["modelValue", "onUpdate:modelValue"])]),
@@ -105,7 +107,7 @@ function M(e, t, n, r, i, a) {
105
107
  label: "排序",
106
108
  align: "center"
107
109
  }, {
108
- default: w(({ row: e }) => [m(s, {
110
+ default: T(({ row: e }) => [m(s, {
109
111
  modelValue: e.sortable,
110
112
  "onUpdate:modelValue": (t) => e.sortable = t,
111
113
  title: e.allowSort ? null : "该列不支持排序!",
@@ -124,7 +126,7 @@ function M(e, t, n, r, i, a) {
124
126
  _: 1
125
127
  }, 8, ["visible"]);
126
128
  }
127
- var N = /* @__PURE__ */ e(j, [["render", M]]), P = {
129
+ var F = /* @__PURE__ */ e(N, [["render", P]]), I = {
128
130
  props: { useVisibilityChange: Boolean },
129
131
  created() {
130
132
  this.useVisibilityChange && document.addEventListener("visibilitychange", this.onPageVisibleChange);
@@ -144,8 +146,8 @@ var N = /* @__PURE__ */ e(j, [["render", M]]), P = {
144
146
  };
145
147
  //#endregion
146
148
  //#region src/components/table/PageableTable.vue
147
- function F(e, t) {
148
- return O(e.map((e) => {
149
+ function L(e, t) {
150
+ return k(e.map((e) => {
149
151
  let { hide: t, filterable: n, allowSort: r, sortable: i, fixed: a, ...o } = e;
150
152
  return o;
151
153
  }), t.map((e) => {
@@ -153,23 +155,23 @@ function F(e, t) {
153
155
  return o;
154
156
  }));
155
157
  }
156
- function I(e) {
158
+ function R(e) {
157
159
  let t = "";
158
160
  for (let n in e) t += `<TableColumn prop="${n}" label="${n}"/>\n`;
159
161
  return t;
160
162
  }
161
- var L = {
163
+ var z = {
162
164
  loading: 1,
163
165
  error: -1,
164
166
  empty: 2,
165
167
  success: 0
166
- }, R = {
168
+ }, B = {
167
169
  name: "PageableTable",
168
170
  components: {
169
- TableColumnFilter: N,
170
- TableColumnFilterable: A
171
+ TableColumnFilter: F,
172
+ TableColumnFilterable: M
171
173
  },
172
- mixins: [P],
174
+ mixins: [I],
173
175
  emits: ["page-loaded", "row-dblclick"],
174
176
  bus: { reloadTableView(e) {
175
177
  e === this.viewId && this.getPage();
@@ -244,8 +246,8 @@ var L = {
244
246
  data() {
245
247
  let e = this.pageSize;
246
248
  return {
247
- TABLE_STATUS: Object.freeze(L),
248
- tableStatus: L.empty,
249
+ TABLE_STATUS: Object.freeze(z),
250
+ tableStatus: z.empty,
249
251
  records: [],
250
252
  currentRow: null,
251
253
  showSettings: !1,
@@ -283,7 +285,7 @@ var L = {
283
285
  return t.length > 3 ? 60 + (t.length - 3) * 10 : 60;
284
286
  },
285
287
  mergeAttrs() {
286
- return D({}, this.$attrs, { height: this.autoHeight ? null : "auto" });
288
+ return O({}, this.$attrs, { height: this.autoHeight ? null : "auto" });
287
289
  },
288
290
  headers() {
289
291
  var e;
@@ -392,7 +394,7 @@ var L = {
392
394
  onTableScroll() {
393
395
  this.tableScrollTop = this.$refs.table.bodyWrapper.scrollTop, this.tableScrollLeft = this.$refs.table.bodyWrapper.scrollLeft;
394
396
  },
395
- copy: (e) => k(I(e)),
397
+ copy: (e) => A(R(e)),
396
398
  onSortChange({ prop: e, order: t }) {
397
399
  this.payloadStyle === "body" ? (this.page.ascs = t === "ascending" ? [e] : this.ascs, this.page.descs = t === "descending" ? [e] : this.descs) : (this.page.ascs = t === "ascending" ? e : "", this.page.descs = t === "descending" ? e : "");
398
400
  },
@@ -422,7 +424,7 @@ var L = {
422
424
  }, this.selectExport && (this.rowKey ? e.exportKeys = this.selectedRows.map((e) => e[this.rowKey]) : e.exportKeys = this.selectedRows.map((e) => this.records.indexOf(e))), e;
423
425
  },
424
426
  async getPage(e) {
425
- if (E(this.$attrs, "data") && this.$attrs.data !== !1) {
427
+ if (D(this.$attrs, "data") && this.$attrs.data !== !1) {
426
428
  var t;
427
429
  this.records = this.$attrs.data, this.page.page = 1, this.page.total = (t = this.records) == null ? void 0 : t.length, this.page.limit = this.page.total;
428
430
  return;
@@ -430,11 +432,11 @@ var L = {
430
432
  e !== !1 && (this.records = []);
431
433
  let n, r = this.getPageQuery();
432
434
  if (this.api || this.url) {
433
- e !== !1 && (this.tableStatus = L.loading);
435
+ e !== !1 && (this.tableStatus = z.loading);
434
436
  try {
435
437
  this.api && (n = await this.api(r));
436
438
  } catch {
437
- this.tableStatus = L.error;
439
+ this.tableStatus = z.error;
438
440
  return;
439
441
  }
440
442
  } else {
@@ -445,7 +447,7 @@ var L = {
445
447
  return;
446
448
  }
447
449
  let { data: { data: i } } = n || {}, { total: a, records: o } = i || {};
448
- this.page.total = Number(a), this.records = await this.mapRow(o), !o || !o.length ? this.tableStatus = L.empty : this.tableStatus = L.success, this.doLayout(), this.$emit("page-loaded", i);
450
+ this.page.total = Number(a), this.records = await this.mapRow(o), !o || !o.length ? this.tableStatus = z.empty : this.tableStatus = z.success, this.doLayout(), this.$emit("page-loaded", i);
449
451
  },
450
452
  doLayout() {
451
453
  var e;
@@ -482,10 +484,10 @@ var L = {
482
484
  return !(e != null && e.disabled) && !((t = this.disabledRowKeys) != null && t.includes(e == null ? void 0 : e[this.rowKey]));
483
485
  },
484
486
  updateExpandColumn(e) {
485
- e && this.expandColumn ? D(this.expandColumn, e) : this.expandColumn = e;
487
+ e && this.expandColumn ? O(this.expandColumn, e) : this.expandColumn = e;
486
488
  },
487
489
  updateColumns(e) {
488
- if (!F(this.tableColumns, e)) {
490
+ if (!L(this.tableColumns, e)) {
489
491
  let t = {};
490
492
  this.tableColumns.forEach((e) => {
491
493
  t[e.prop] = e;
@@ -493,7 +495,7 @@ var L = {
493
495
  let n = t[e.prop];
494
496
  if (n) {
495
497
  let { hide: t, filterable: r, allowSort: i, sortable: a, fixed: o } = n;
496
- return D(n, e), n.hide = t, n.filterable = r, n.allowSort = i, n.sortable = a, n.fixed = o, n;
498
+ return O(n, e), n.hide = t, n.filterable = r, n.allowSort = i, n.sortable = a, n.fixed = o, n;
497
499
  }
498
500
  return e;
499
501
  }), this.tableColumns = e;
@@ -503,23 +505,23 @@ var L = {
503
505
  this.refresh(!1);
504
506
  }
505
507
  }
506
- }, z = { class: "pageable-table-wrapper" }, B = {
508
+ }, V = { class: "pageable-table-wrapper" }, H = {
507
509
  key: 0,
508
510
  class: "pageable-table-loading"
509
- }, V = ["onClick"];
510
- function H(e, t, n, r, i, a) {
511
- let o = x("TableColumnFilterable"), T = x("TableColumn"), E = x("ElRadio"), D = x("ElButton"), O = x("ElEmpty"), k = x("ElTable"), A = x("ElPagination"), j = x("TableColumnFilter"), M = x("ResizeObserver");
512
- return v(), u("div", { class: g(["pageable-table", { "auto-height": n.autoHeight }]) }, [d("div", z, [
511
+ }, U = ["onClick"];
512
+ function W(e, t, n, r, i, a) {
513
+ let o = S("TableColumnFilterable"), h = S("TableColumn"), E = S("ElRadio"), D = S("ElButton"), O = S("ElEmpty"), k = S("ElTable"), A = S("ElPagination"), j = S("TableColumnFilter"), M = S("ResizeObserver");
514
+ return y(), u("div", { class: _(["pageable-table", { "auto-height": n.autoHeight }]) }, [d("div", V, [
513
515
  l("顶部工具条插槽"),
514
- b(e.$slots, "toolbar", { selectedRows: i.selectedRows }),
516
+ x(e.$slots, "toolbar", { selectedRows: i.selectedRows }),
515
517
  l("表格"),
516
- m(k, h({
518
+ m(k, g({
517
519
  ref: "table",
518
520
  data: i.records,
519
521
  class: ["flex-item", { "header-bold": n.headerBold }],
520
522
  border: n.border,
521
523
  stripe: "",
522
- size: "medium"
524
+ size: "default"
523
525
  }, a.filterTableProperties(a.mergeAttrs), {
524
526
  "onHook:updated": a.updateTableScrollPosition,
525
527
  onSortChange: a.onSortChange,
@@ -528,27 +530,27 @@ function H(e, t, n, r, i, a) {
528
530
  onCellClick: a.hideTooltip,
529
531
  onCurrentChange: a.onCurrentChange,
530
532
  onSelectionChange: a.handleSelectionChange
531
- }, C(a.filterTableEvents(e.$listeners))), {
532
- empty: w(() => [l("内容为空插槽"), b(e.$slots, "empty", {}, () => [i.tableStatus === i.TABLE_STATUS.loading ? (v(), u("span", B, [...t[5] || (t[5] = [d("i", { class: "table-status-icon el-icon-loading" }, null, -1), p(" 加载中... ", -1)])])) : i.tableStatus === i.TABLE_STATUS.error ? (v(), c(D, {
533
+ }, w(a.filterTableEvents(e.$listeners))), {
534
+ empty: T(() => [l("内容为空插槽"), x(e.$slots, "empty", {}, () => [i.tableStatus === i.TABLE_STATUS.loading ? (y(), u("span", H, [...t[5] || (t[5] = [d("i", { class: "table-status-icon el-icon-loading" }, null, -1), p(" 加载中... ", -1)])])) : i.tableStatus === i.TABLE_STATUS.error ? (y(), c(D, {
533
535
  key: 1,
534
536
  class: "pageable-table-error",
535
537
  icon: "table-status-icon el-icon-error",
536
538
  onClick: a.refresh
537
539
  }, {
538
- default: w(() => [...t[6] || (t[6] = [p("加载失败,点击重试!", -1)])]),
540
+ default: T(() => [...t[6] || (t[6] = [p("加载失败,点击重试!", -1)])]),
539
541
  _: 1
540
- }, 8, ["onClick"])) : (v(), c(O, { key: 2 }))])]),
541
- append: w(() => [b(e.$slots, "append")]),
542
- default: w(() => [
543
- i.expandColumn ? (v(), c(o, _(h({ key: 0 }, i.expandColumn)), null, 16)) : l("v-if", !0),
544
- n.multiple && n.selection ? (v(), c(T, {
542
+ }, 8, ["onClick"])) : (y(), c(O, { key: 2 }))])]),
543
+ append: T(() => [x(e.$slots, "append")]),
544
+ default: T(() => [
545
+ i.expandColumn ? (y(), c(o, v(g({ key: 0 }, i.expandColumn)), null, 16)) : l("v-if", !0),
546
+ n.multiple && n.selection ? (y(), c(h, {
545
547
  key: "multiple",
546
548
  type: "selection",
547
549
  selectable: a.selectable,
548
550
  width: n.selectionWidth,
549
551
  align: "center"
550
552
  }, null, 8, ["selectable", "width"])) : l("v-if", !0),
551
- !n.multiple && n.selection ? (v(), c(T, {
553
+ !n.multiple && n.selection ? (y(), c(h, {
552
554
  key: "single",
553
555
  sortable: !1,
554
556
  type: "single-selection",
@@ -556,48 +558,48 @@ function H(e, t, n, r, i, a) {
556
558
  width: n.selectionWidth,
557
559
  align: "center"
558
560
  }, {
559
- header: w(() => [m(E, {
561
+ header: T(() => [m(E, {
560
562
  value: !!i.currentRow,
561
563
  label: !0
562
564
  }, {
563
- default: w(() => [...t[3] || (t[3] = [d("span", null, null, -1)])]),
565
+ default: T(() => [...t[3] || (t[3] = [d("span", null, null, -1)])]),
564
566
  _: 1
565
567
  }, 8, ["value"])]),
566
- default: w(({ row: r }) => [m(E, {
568
+ default: T(({ row: r }) => [m(E, {
567
569
  label: !0,
568
570
  disabled: !a.selectable(r),
569
571
  value: i.currentRow && i.currentRow[e.$attrs["row-key"] || n.rowKey || "id"] === r[e.$attrs["row-key"] || n.rowKey || "id"]
570
572
  }, {
571
- default: w(() => [...t[4] || (t[4] = [d("span", null, null, -1)])]),
573
+ default: T(() => [...t[4] || (t[4] = [d("span", null, null, -1)])]),
572
574
  _: 1
573
575
  }, 8, ["disabled", "value"])]),
574
576
  _: 1
575
577
  }, 8, ["width"])) : l("v-if", !0),
576
- n.index ? (v(), c(T, {
578
+ n.index ? (y(), c(h, {
577
579
  key: "order",
578
580
  type: "index",
579
581
  label: "序号",
580
582
  width: a.indexWidth,
581
583
  align: "center"
582
584
  }, {
583
- default: w(({ $index: e }) => [p(S((i.page.page - 1) * i.page.limit + e + 1 || e + 1), 1)]),
585
+ default: T(({ $index: e }) => [p(C((i.page.page - 1) * i.page.limit + e + 1 || e + 1), 1)]),
584
586
  _: 1
585
587
  }, 8, ["width"])) : l("v-if", !0),
586
- i.tableColumns ? (v(!0), u(s, { key: 4 }, y(i.tableColumns.filter((e) => !e.hide), (t, n) => {
588
+ i.tableColumns ? (y(!0), u(s, { key: 4 }, b(i.tableColumns.filter((e) => !e.hide), (t, n) => {
587
589
  var r, i;
588
- return v(), c(o, h({ key: `${((r = t.props) == null ? void 0 : r.prop) || t.prop}-${n}` }, { ref_for: !0 }, t), f({ _: 2 }, [e.$slots[((i = t.props) == null ? void 0 : i.prop) || t.prop] ? {
590
+ return y(), c(o, g({ key: `${((r = t.props) == null ? void 0 : r.prop) || t.prop}-${n}` }, { ref_for: !0 }, t), f({ _: 2 }, [e.$slots[((i = t.props) == null ? void 0 : i.prop) || t.prop] ? {
589
591
  name: "default",
590
- fn: w(({ row: n }) => {
592
+ fn: T(({ row: n }) => {
591
593
  var r;
592
- return [b(e.$slots, ((r = t.props) == null ? void 0 : r.prop) || t.prop, { row: n })];
594
+ return [x(e.$slots, ((r = t.props) == null ? void 0 : r.prop) || t.prop, { row: n })];
593
595
  }),
594
596
  key: "0"
595
597
  } : void 0]), 1040);
596
- }), 128)) : (v(), u(s, { key: 5 }, [l("未设置列提醒"), m(T, { label: "点击表格行复制模板" }, {
597
- default: w(({ row: e }) => [d("pre", {
598
+ }), 128)) : (y(), u(s, { key: 5 }, [l("未设置列提醒"), m(h, { label: "点击表格行复制模板" }, {
599
+ default: T(({ row: e }) => [d("pre", {
598
600
  class: "pointer",
599
601
  onClick: (t) => a.copy(e)
600
- }, S(JSON.stringify(e, null, " ")), 9, V)]),
602
+ }, C(JSON.stringify(e, null, " ")), 9, U)]),
601
603
  _: 1
602
604
  })], 64))
603
605
  ]),
@@ -615,7 +617,7 @@ function H(e, t, n, r, i, a) {
615
617
  "onSelectionChange"
616
618
  ]),
617
619
  l("底部分页工具条"),
618
- n.paging ? (v(), c(A, {
620
+ n.paging ? (y(), c(A, {
619
621
  key: 0,
620
622
  "current-page": i.page.page,
621
623
  "hide-on-single-page": n.hideOnSinglePage,
@@ -653,6 +655,6 @@ function H(e, t, n, r, i, a) {
653
655
  }, null, 8, ["visible", "columns"])
654
656
  ]), m(M, { onNotify: a.doLayout }, null, 8, ["onNotify"])], 2);
655
657
  }
656
- var U = /* @__PURE__ */ e(R, [["render", H]]);
658
+ var G = /* @__PURE__ */ e(B, [["render", W]]);
657
659
  //#endregion
658
- export { U as t };
660
+ export { G as t };