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

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 (231) hide show
  1. package/awesome-button/index.mjs +25 -31
  2. package/{utils/style.css → base.css} +1 -1
  3. package/chat/index.mjs +3 -12
  4. package/chunks/{EditableTree.C_IJBL5b.mjs → EditableTree.CV8b95tW.mjs} +130 -139
  5. package/chunks/{ElementBaseInfo.DyuFR6fE.mjs → ElementBaseInfo.lW0iwU10.mjs} +2 -3
  6. package/chunks/ElementDialog.DWhAJsUn.mjs +520 -0
  7. package/chunks/{ElementForm.ButuYDPA.mjs → ElementForm.C7yebHWH.mjs} +12 -39
  8. package/chunks/{ElementListeners.Dg3e_dmp.mjs → ElementListeners.B_SjC8dp.mjs} +10 -31
  9. package/chunks/{ElementMultiInstance.Dmi79FqA.mjs → ElementMultiInstance.Xw27Z5mm.mjs} +2 -3
  10. package/chunks/{ElementOtherConfig.C2AddGTp.mjs → ElementOtherConfig.DnNmAhKn.mjs} +0 -1
  11. package/chunks/{ElementProperties.CfV8UF7L.mjs → ElementProperties.DKr9JE_O.mjs} +3 -12
  12. package/chunks/{ElementTaskConfig.Bn7ycGGn.mjs → ElementTaskConfig.CPjsXlpS.mjs} +6 -10
  13. package/chunks/{FlowCondition.C6PdqOAW.mjs → FlowCondition.BA7GF34X.mjs} +4 -5
  14. package/chunks/{FlowDesigner.uJYFfKpR.mjs → FlowDesigner.DH1ypcUw.mjs} +17 -18
  15. package/chunks/{FormBlock.BEENc22F.mjs → FormBlock.D6kZl7sm.mjs} +8 -8
  16. package/chunks/FormCascader.BXL8lKww.mjs +1229 -0
  17. package/chunks/{FormInputTime.Bg3UIP8H.mjs → FormInputTime.DzTPiDNh.mjs} +339 -337
  18. package/chunks/{FormItem.H9OOvNzT.mjs → FormItem.B8iPLduv.mjs} +12 -13
  19. package/chunks/{FormItemGroup.D9eRy-cZ.mjs → FormItemGroup.CCGqEapT.mjs} +38 -31
  20. package/chunks/{FormSelect.CanodoAI.mjs → FormSelect.t0jbTL_K.mjs} +470 -467
  21. package/chunks/{FormSwitch.DTqdaFjv.mjs → FormSwitch.uoFQ-xp_.mjs} +53 -51
  22. package/chunks/{FormTemp.DiI5EfgK.mjs → FormTemp.CeHtEZQe.mjs} +11 -6
  23. package/chunks/{FyCurd.DMj1dMK9.mjs → FyCurd.DqJuCLNW.mjs} +22 -25
  24. package/chunks/{FyForm.vgR8ujEF.mjs → FyForm.CgyGhetD.mjs} +25 -21
  25. package/chunks/{FyFormDesign.DEWT6LsX.mjs → FyFormDesign.DIIK7mXK.mjs} +49 -128
  26. package/chunks/{FyUpload.B2QKfTxF.mjs → FyUpload.DoBEuYcC.mjs} +2 -2
  27. package/chunks/ImagePreview.DDFrZgo5.mjs +649 -0
  28. package/chunks/{Keyboard.ItiRy7Gb.mjs → Keyboard.DBspwbYo.mjs} +2 -2
  29. package/chunks/{MonacoEditor.Bd5Kui-Y.mjs → MonacoEditor.Bq9d6JSz.mjs} +65 -64
  30. package/chunks/{PageableTable.Bujb0NUx.mjs → PageableTable.DR-REJN5.mjs} +84 -83
  31. package/chunks/{SignalAndMessage.CYVzlFuL.mjs → SignalAndMessage.CL2u19it.mjs} +1 -10
  32. package/chunks/{TableColumn.DJYkznbJ.mjs → TableColumn.Cq9Bvevm.mjs} +34 -28
  33. package/chunks/{TableView.DyIdIxAg.mjs → TableView.DMWMaGLA.mjs} +26 -33
  34. package/chunks/ToolbarButton.AlTszc53.mjs +107 -0
  35. package/chunks/{UserTaskListeners.Bp-2qkHs.mjs → UserTaskListeners.Qfm8hKWP.mjs} +9 -27
  36. package/chunks/{VueCron.GfjodnyM.mjs → VueCron.BmPnLuu3.mjs} +163 -142
  37. package/chunks/{VueTreeSelect.9Ywl-I8e.mjs → VueTreeSelect.GHx4Z2lG.mjs} +48 -43
  38. package/chunks/button.gVyl7Y__.mjs +927 -0
  39. package/chunks/checkbox.AmhCpaBZ.mjs +438 -0
  40. package/chunks/chunk.A6TnG60p.mjs +13 -0
  41. package/chunks/confirmable-mixin.BZtxXY0h.mjs +273 -0
  42. package/chunks/constants.Dw7hXt67.mjs +4 -0
  43. package/chunks/{dictionary.DxZxP0ej.mjs → dictionary.BqVLM7Lf.mjs} +1 -1
  44. package/chunks/{event.eJ-c1Z3a.mjs → event.CmOTnori.mjs} +4 -7
  45. package/chunks/event.ZRs4J5TN.mjs +4 -0
  46. package/chunks/{focus-trap.DT4GnqQI.mjs → focus-trap.CuUc8N2C.mjs} +26 -26
  47. package/chunks/{form-input.D25eDRMq.mjs → form-input.DdSb45Tz.mjs} +3 -3
  48. package/chunks/{form-item.CgmUuw_n.mjs → form-item.fYYCXvCs.mjs} +77 -75
  49. package/chunks/icon.AJYLfX1m.mjs +26 -0
  50. package/chunks/{icon.CbS8-322.mjs → icon.niAg1zTC.mjs} +31 -39
  51. package/chunks/{init.DwpukyOB.mjs → init.CtUEiRbU.mjs} +6 -6
  52. package/chunks/{input.PejnqwSH.mjs → input.B_wW4aF-.mjs} +107 -106
  53. package/chunks/install.BJl2MN77.mjs +73 -0
  54. package/chunks/message-box.wGWcYSSd.mjs +463 -0
  55. package/chunks/{message.BCmee5N0.mjs → message.DnTACuzV.mjs} +76 -75
  56. package/chunks/{overlay.DubSnqma.mjs → overlay.Rhu_rfhx.mjs} +5 -5
  57. package/chunks/{radio.BotKXqJr.mjs → radio.BMkZBhl5.mjs} +45 -45
  58. package/chunks/{scroll.CzORc5Zk.mjs → scroll.BJIpzi2Q.mjs} +2 -2
  59. package/chunks/{scrollbar.CAmrlKi9.mjs → scrollbar.CvxOszy3.mjs} +4 -4
  60. package/chunks/{style.BmlGmjpO.mjs → style.CraPDfJA.mjs} +3 -3
  61. package/chunks/{tag.DPi-PLbb.mjs → tag.B6yUaGj-.mjs} +25 -25
  62. package/chunks/{teleport._VGEzK4d.mjs → teleport.87mkIv8m.mjs} +3 -3
  63. package/chunks/{tooltip.D50x7Rva.mjs → tooltip.Dzjs7LZ8.mjs} +108 -108
  64. package/chunks/typescript.D0a40c7B.mjs +4 -0
  65. package/chunks/{use-aria.BW7nWOl1.mjs → use-aria.B9uqqWAE.mjs} +2 -2
  66. package/chunks/{use-composition.mUaomyno.mjs → use-composition.BMPJBvYs.mjs} +4 -4
  67. package/chunks/{use-deprecated.BfDSbZS9.mjs → use-deprecated.vx6LTDA_.mjs} +2 -2
  68. package/chunks/use-empty-values.CxYKjLV9.mjs +81 -0
  69. package/chunks/use-form-item.DMDTkMq9.mjs +48 -0
  70. package/chunks/use-global-config.Dkt91Ob3.mjs +57 -0
  71. package/chunks/{use-id.CFO5NeoV.mjs → use-id.CyzdvfQn.mjs} +3 -3
  72. package/chunks/{use-empty-values.Dy_r78F6.mjs → use-locale.CBoQRFjH.mjs} +12 -87
  73. package/chunks/{use-size.DxrwTUwf.mjs → use-size.CoorvF12.mjs} +2 -2
  74. package/chunks/validator.Drv0r2Nb.mjs +5 -0
  75. package/chunks/{vnode.D_SioRnx.mjs → vnode.raM3wMJz.mjs} +2 -2
  76. package/confirm-button/index.mjs +1 -1
  77. package/confirmable/index.mjs +1 -1
  78. package/context-menu/index.mjs +39 -38
  79. package/data-box/style.css +1 -1
  80. package/data-card/style.css +1 -1
  81. package/data-display/style.css +1 -1
  82. package/data-icons/style.css +1 -1
  83. package/data-imgtext/style.css +1 -1
  84. package/data-operatext/style.css +1 -1
  85. package/data-panel/style.css +1 -1
  86. package/data-pay/style.css +1 -1
  87. package/data-price/style.css +1 -1
  88. package/data-progress/style.css +1 -1
  89. package/data-rotate/style.css +1 -1
  90. package/data-table-picker/index.mjs +2 -6
  91. package/data-tabs/style.css +1 -1
  92. package/dialog-form/index.mjs +7 -3
  93. package/dynamic-table/index.mjs +1 -2
  94. package/editable-tree/index.mjs +1 -1
  95. package/element-dialog/index.mjs +1 -1
  96. package/element-dialog/style.css +1 -1
  97. package/empty-view/index.mjs +18 -20
  98. package/error-view/index.mjs +17 -19
  99. package/flex-column/index.mjs +11 -9
  100. package/flex-item/index.mjs +22 -16
  101. package/flex-row/index.mjs +11 -10
  102. package/flow/index.mjs +1 -1
  103. package/flow-designer/index.mjs +1 -1
  104. package/form-block/index.mjs +1 -1
  105. package/form-cascader/index.mjs +1 -1
  106. package/form-checkbox/index.mjs +4 -4
  107. package/form-checkbox-group/index.mjs +6 -6
  108. package/form-date-picker/index.mjs +3 -3
  109. package/form-holder/index.mjs +2 -5
  110. package/form-input/index.mjs +4 -4
  111. package/form-input-cron-expression/index.mjs +4 -4
  112. package/form-input-email/index.mjs +10 -9
  113. package/form-input-id-card/index.mjs +10 -9
  114. package/form-input-phone-number/index.mjs +11 -10
  115. package/form-input-tag/index.mjs +2 -2
  116. package/form-input-time/index.mjs +1 -1
  117. package/form-item/index.mjs +1 -1
  118. package/form-item-group/index.mjs +1 -1
  119. package/form-radio-group/index.mjs +6 -6
  120. package/form-select/index.mjs +1 -1
  121. package/form-switch/index.mjs +1 -1
  122. package/form-table/index.mjs +2 -2
  123. package/form-table-plus/index.mjs +4 -4
  124. package/form-textarea/index.mjs +4 -4
  125. package/form-tree-select/index.mjs +3 -3
  126. package/form-tree-select-multiple/index.mjs +3 -3
  127. package/form-view/index.mjs +13 -8
  128. package/fy-array/index.mjs +1 -1
  129. package/fy-cascader/index.mjs +1 -1
  130. package/fy-checkbox/index.mjs +1 -1
  131. package/fy-code/index.mjs +2 -2
  132. package/fy-curd/index.mjs +1 -1
  133. package/fy-date/index.mjs +1 -1
  134. package/fy-dynamic/index.mjs +3 -7
  135. package/fy-form/index.mjs +1 -1
  136. package/fy-form/style.css +1 -1
  137. package/fy-form-design/index.mjs +1 -1
  138. package/fy-form-design/style.css +1 -1
  139. package/fy-input/index.mjs +1 -1
  140. package/fy-input-color/index.mjs +1 -2
  141. package/fy-input-icon/index.mjs +37 -32
  142. package/fy-input-map/index.mjs +1 -1
  143. package/fy-input-number/index.mjs +1 -1
  144. package/fy-input-table/index.mjs +1 -1
  145. package/fy-input-tree/index.mjs +3 -3
  146. package/fy-input-tree/style.css +1 -1
  147. package/fy-radio/index.mjs +2 -2
  148. package/fy-rate/index.mjs +2 -2
  149. package/fy-select/index.mjs +5 -5
  150. package/fy-slider/index.mjs +1 -1
  151. package/fy-switch/index.mjs +2 -2
  152. package/fy-time/index.mjs +1 -1
  153. package/fy-title/index.mjs +1 -1
  154. package/fy-tree/index.mjs +1 -1
  155. package/fy-u-editor/index.mjs +1 -1
  156. package/fy-upload/index.mjs +1 -1
  157. package/guide-steps/index.mjs +1 -1
  158. package/helper-function.d.ts +3 -3
  159. package/helper-function.mjs +36 -20
  160. package/iframe-window/index.mjs +30 -29
  161. package/image-cropper/index.mjs +144 -163
  162. package/image-cropper/style.css +1 -1
  163. package/image-preview/index.mjs +2 -187
  164. package/index.d.ts +1 -2
  165. package/index.mjs +153 -154
  166. package/input-number-range/index.mjs +0 -2
  167. package/keyboard/index.mjs +1 -1
  168. package/license/index.mjs +1 -1
  169. package/monaco-editor/index.mjs +1 -1
  170. package/nav-bar/index.mjs +1 -1
  171. package/notice/index.mjs +1 -4
  172. package/package.json +12 -14
  173. package/pageable-table/index.mjs +1 -1
  174. package/pageable-view/index.mjs +2 -2
  175. package/photo-swipe/index.mjs +1 -1
  176. package/picker-table-view/index.mjs +4 -8
  177. package/present-view/index.mjs +18 -13
  178. package/record-video/index.mjs +1 -1
  179. package/resize-observer/index.mjs +1 -1
  180. package/search/index.mjs +2 -2
  181. package/split-pane/index.mjs +1 -1
  182. package/stateful/index.mjs +18 -17
  183. package/static-pageable-table/index.mjs +1 -4
  184. package/sub-table/index.mjs +2 -5
  185. package/sub-table-plus/index.mjs +3 -6
  186. package/tab/index.mjs +1 -1
  187. package/tab-item/index.mjs +1 -1
  188. package/table-column/index.mjs +1 -1
  189. package/table-view/index.mjs +1 -1
  190. package/tag-render/index.mjs +28 -24
  191. package/toolbar/index.mjs +1 -1
  192. package/toolbar-button/index.mjs +2 -146
  193. package/vue-cron/index.mjs +1 -1
  194. package/vue-qr-code/index.mjs +7 -6
  195. package/vue-tags-input/index.mjs +1 -1
  196. package/vue-tree-select/index.mjs +1 -1
  197. package/watermark/index.mjs +13 -13
  198. package/web-types.json +265 -363
  199. package/x-input-tag/index.mjs +0 -3
  200. package/chunks/ElementDialog.C0IjriTW.mjs +0 -681
  201. package/chunks/FormCascader.CaM-oEhv.mjs +0 -1226
  202. package/chunks/checkbox.emIuFmnt.mjs +0 -437
  203. package/chunks/confirmable-mixin.BBil7dto.mjs +0 -1646
  204. package/chunks/event.B4iwtUNO.mjs +0 -4
  205. package/chunks/install.yLcn5MLL.mjs +0 -84
  206. package/chunks/typescript.DiWBU4nj.mjs +0 -4
  207. package/chunks/use-form-item.wsRjehHp.mjs +0 -47
  208. package/chunks/use-global-config.C9hs-O_x.mjs +0 -56
  209. package/chunks/validator.C4-z_t9p.mjs +0 -5
  210. package/login/index.mjs +0 -252
  211. package/login/style.css +0 -1
  212. /package/chunks/{FyUEditor.D_rEYfll.mjs → FyUEditor.uvZS8UgS.mjs} +0 -0
  213. /package/chunks/{RecordVideo.B35_dLty.mjs → RecordVideo.CKTY-gk9.mjs} +0 -0
  214. /package/chunks/{SplitPane.Dw96M0Yf.mjs → SplitPane.DNNid7WB.mjs} +0 -0
  215. /package/chunks/{Toolbar.DHuXJAoG.mjs → Toolbar.DytZ6fO0.mjs} +0 -0
  216. /package/chunks/{core.DJv6Qrae.mjs → core.Blrh_Fjl.mjs} +0 -0
  217. /package/chunks/{dataformat.Bfr4nOcA.mjs → dataformat.F7GtAoiN.mjs} +0 -0
  218. /package/chunks/{dic.DgDfnovD.mjs → dic.NZCGhtA7.mjs} +0 -0
  219. /package/chunks/{dictionary.5eKjWeAp.mjs → dictionary.DXYdZefs.mjs} +0 -0
  220. /package/chunks/{form-pick.Axem0gOO.mjs → form-pick.BEC7lrNH.mjs} +0 -0
  221. /package/chunks/{form-validate.B1KPCHqN.mjs → form-validate.JFOV_f-C.mjs} +0 -0
  222. /package/chunks/{packages.BGjydzjm.mjs → packages.CONbEH13.mjs} +0 -0
  223. /package/chunks/{permission.DgEVNWlh.mjs → permission.8WDtOmzA.mjs} +0 -0
  224. /package/chunks/{photo-swipe.BB0SJZg9.mjs → photo-swipe.BvBJGc5x.mjs} +0 -0
  225. /package/chunks/{slot.C6Ozd2e7.mjs → slot.CZCo32Cw.mjs} +0 -0
  226. /package/chunks/{sub-table-plus-props.B_lLth3j.mjs → sub-table-plus-props.DvS8aKT4.mjs} +0 -0
  227. /package/chunks/{tab-mixin.u0EZpx3j.mjs → tab-mixin.C9DSz8xu.mjs} +0 -0
  228. /package/chunks/{util.B3sjVZoZ.mjs → util.fjuzrmWz.mjs} +0 -0
  229. /package/chunks/{utilSelf.ZED4DmCU.mjs → utilSelf.Bv7FtUNb.mjs} +0 -0
  230. /package/chunks/{utils.Cs2fYBrT.mjs → utils.C37EhJ-u.mjs} +0 -0
  231. /package/chunks/{utils.DsGhtCIO.mjs → utils.C8RvIGLM.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
- import "./install.yLcn5MLL.mjs";
1
+ import "./chunk.A6TnG60p.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.DnTACuzV.mjs";
4
+ import { a as n, i as r, l as i, r as a } from "./util.fjuzrmWz.mjs";
5
+ import { t as o } from "./dictionary.BqVLM7Lf.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,22 @@ 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
- stripe: "",
522
- size: "medium"
523
+ stripe: ""
523
524
  }, a.filterTableProperties(a.mergeAttrs), {
524
525
  "onHook:updated": a.updateTableScrollPosition,
525
526
  onSortChange: a.onSortChange,
@@ -528,27 +529,27 @@ function H(e, t, n, r, i, a) {
528
529
  onCellClick: a.hideTooltip,
529
530
  onCurrentChange: a.onCurrentChange,
530
531
  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, {
532
+ }, w(a.filterTableEvents(e.$listeners))), {
533
+ 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
534
  key: 1,
534
535
  class: "pageable-table-error",
535
536
  icon: "table-status-icon el-icon-error",
536
537
  onClick: a.refresh
537
538
  }, {
538
- default: w(() => [...t[6] || (t[6] = [p("加载失败,点击重试!", -1)])]),
539
+ default: T(() => [...t[6] || (t[6] = [p("加载失败,点击重试!", -1)])]),
539
540
  _: 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, {
541
+ }, 8, ["onClick"])) : (y(), c(O, { key: 2 }))])]),
542
+ append: T(() => [x(e.$slots, "append")]),
543
+ default: T(() => [
544
+ i.expandColumn ? (y(), c(o, v(g({ key: 0 }, i.expandColumn)), null, 16)) : l("v-if", !0),
545
+ n.multiple && n.selection ? (y(), c(h, {
545
546
  key: "multiple",
546
547
  type: "selection",
547
548
  selectable: a.selectable,
548
549
  width: n.selectionWidth,
549
550
  align: "center"
550
551
  }, null, 8, ["selectable", "width"])) : l("v-if", !0),
551
- !n.multiple && n.selection ? (v(), c(T, {
552
+ !n.multiple && n.selection ? (y(), c(h, {
552
553
  key: "single",
553
554
  sortable: !1,
554
555
  type: "single-selection",
@@ -556,48 +557,48 @@ function H(e, t, n, r, i, a) {
556
557
  width: n.selectionWidth,
557
558
  align: "center"
558
559
  }, {
559
- header: w(() => [m(E, {
560
+ header: T(() => [m(E, {
560
561
  value: !!i.currentRow,
561
562
  label: !0
562
563
  }, {
563
- default: w(() => [...t[3] || (t[3] = [d("span", null, null, -1)])]),
564
+ default: T(() => [...t[3] || (t[3] = [d("span", null, null, -1)])]),
564
565
  _: 1
565
566
  }, 8, ["value"])]),
566
- default: w(({ row: r }) => [m(E, {
567
+ default: T(({ row: r }) => [m(E, {
567
568
  label: !0,
568
569
  disabled: !a.selectable(r),
569
570
  value: i.currentRow && i.currentRow[e.$attrs["row-key"] || n.rowKey || "id"] === r[e.$attrs["row-key"] || n.rowKey || "id"]
570
571
  }, {
571
- default: w(() => [...t[4] || (t[4] = [d("span", null, null, -1)])]),
572
+ default: T(() => [...t[4] || (t[4] = [d("span", null, null, -1)])]),
572
573
  _: 1
573
574
  }, 8, ["disabled", "value"])]),
574
575
  _: 1
575
576
  }, 8, ["width"])) : l("v-if", !0),
576
- n.index ? (v(), c(T, {
577
+ n.index ? (y(), c(h, {
577
578
  key: "order",
578
579
  type: "index",
579
580
  label: "序号",
580
581
  width: a.indexWidth,
581
582
  align: "center"
582
583
  }, {
583
- default: w(({ $index: e }) => [p(S((i.page.page - 1) * i.page.limit + e + 1 || e + 1), 1)]),
584
+ default: T(({ $index: e }) => [p(C((i.page.page - 1) * i.page.limit + e + 1 || e + 1), 1)]),
584
585
  _: 1
585
586
  }, 8, ["width"])) : l("v-if", !0),
586
- i.tableColumns ? (v(!0), u(s, { key: 4 }, y(i.tableColumns.filter((e) => !e.hide), (t, n) => {
587
+ i.tableColumns ? (y(!0), u(s, { key: 4 }, b(i.tableColumns.filter((e) => !e.hide), (t, n) => {
587
588
  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] ? {
589
+ 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
590
  name: "default",
590
- fn: w(({ row: n }) => {
591
+ fn: T(({ row: n }) => {
591
592
  var r;
592
- return [b(e.$slots, ((r = t.props) == null ? void 0 : r.prop) || t.prop, { row: n })];
593
+ return [x(e.$slots, ((r = t.props) == null ? void 0 : r.prop) || t.prop, { row: n })];
593
594
  }),
594
595
  key: "0"
595
596
  } : void 0]), 1040);
596
- }), 128)) : (v(), u(s, { key: 5 }, [l("未设置列提醒"), m(T, { label: "点击表格行复制模板" }, {
597
- default: w(({ row: e }) => [d("pre", {
597
+ }), 128)) : (y(), u(s, { key: 5 }, [l("未设置列提醒"), m(h, { label: "点击表格行复制模板" }, {
598
+ default: T(({ row: e }) => [d("pre", {
598
599
  class: "pointer",
599
600
  onClick: (t) => a.copy(e)
600
- }, S(JSON.stringify(e, null, " ")), 9, V)]),
601
+ }, C(JSON.stringify(e, null, " ")), 9, U)]),
601
602
  _: 1
602
603
  })], 64))
603
604
  ]),
@@ -615,7 +616,7 @@ function H(e, t, n, r, i, a) {
615
616
  "onSelectionChange"
616
617
  ]),
617
618
  l("底部分页工具条"),
618
- n.paging ? (v(), c(A, {
619
+ n.paging ? (y(), c(A, {
619
620
  key: 0,
620
621
  "current-page": i.page.page,
621
622
  "hide-on-single-page": n.hideOnSinglePage,
@@ -653,6 +654,6 @@ function H(e, t, n, r, i, a) {
653
654
  }, null, 8, ["visible", "columns"])
654
655
  ]), m(M, { onNotify: a.doLayout }, null, 8, ["onNotify"])], 2);
655
656
  }
656
- var U = /* @__PURE__ */ e(R, [["render", H]]);
657
+ var G = /* @__PURE__ */ e(B, [["render", W]]);
657
658
  //#endregion
658
- export { U as t };
659
+ export { G as t };