hlrender 0.0.282 → 0.0.284

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 (157) hide show
  1. package/{_pdf-d2478121.js → _pdf-a296b8ed.js} +9 -9
  2. package/{_txt-fd32f949.js → _txt-4777e820.js} +7 -7
  3. package/{_unsupport-10d1d421.js → _unsupport-6395882c.js} +1 -1
  4. package/{affix-widget-77ddfdb9.js → affix-widget-6f6e720a.js} +19 -19
  5. package/{alert-widget-c1f66236.js → alert-widget-749d999e.js} +19 -19
  6. package/{anchor-widget-05148dd1.js → anchor-widget-aeae429c.js} +16 -16
  7. package/{auto-complete-widget-9bd9881e.js → auto-complete-widget-b7cfabae.js} +19 -19
  8. package/{avatar-widget-89758349.js → avatar-widget-14801d8e.js} +19 -19
  9. package/{backtop-widget-068a28c5.js → backtop-widget-88ec7a58.js} +19 -19
  10. package/{badge-widget-e5ddb65c.js → badge-widget-5866608d.js} +19 -19
  11. package/{barcode-widget-6882a0ee.js → barcode-widget-e4aad1c6.js} +16 -16
  12. package/{baseImp-a05aa287.js → baseImp-9b58e733.js} +1725 -1730
  13. package/{breadcrumb-widget-1efe16dc.js → breadcrumb-widget-6ef90632.js} +16 -16
  14. package/{button-widget-cd209307.js → button-widget-e38a1143.js} +19 -19
  15. package/{cache-widget-c6dc1d4d.js → cache-widget-b212ceae.js} +18 -18
  16. package/{card-widget-e99850fe.js → card-widget-09077068.js} +16 -16
  17. package/{carousel-widget-0e5da3dd.js → carousel-widget-7a6aa411.js} +17 -17
  18. package/{cascader-widget-c960147f.js → cascader-widget-8c76d153.js} +18 -18
  19. package/{chart-widget-3da22d60.js → chart-widget-66c82c2d.js} +22 -22
  20. package/{checkbox-widget-24946378.js → checkbox-widget-3726d452.js} +18 -18
  21. package/{collapse-widget-09465fbb.js → collapse-widget-8f459cdb.js} +17 -17
  22. package/{color-picker-widget-88d01165.js → color-picker-widget-2abd4af6.js} +18 -18
  23. package/{cont-cell-widget-ed0e5d83.js → cont-cell-widget-8b9dc3ea.js} +1 -1
  24. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-e2ea7130.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-7ec6efa4.js} +6 -6
  25. package/cont-widget-8467d9ed.js +45 -0
  26. package/{content-wrapper-b85ff3c9.js → content-wrapper-3dc1044e.js} +8 -8
  27. package/{content-wrapper.vue_vue_type_script_setup_true_lang-4adfe6d4.js → content-wrapper.vue_vue_type_script_setup_true_lang-5dffd598.js} +3 -3
  28. package/{countdown-widget-19441bfe.js → countdown-widget-410b713f.js} +19 -19
  29. package/{cssClass-d5b2a013.js → cssClass-0ad1f6a9.js} +2 -2
  30. package/date-picker-range-widget-35fc2636.js +84 -0
  31. package/{date-picker-widget-85161b08.js → date-picker-widget-011606ed.js} +18 -18
  32. package/default-slot-widget-55acf41f.js +27 -0
  33. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-c2a09043.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-6ddfc9e9.js} +13 -13
  34. package/{descriptions-widget-fa392515.js → descriptions-widget-5c5095b3.js} +17 -17
  35. package/{dialog-64d549cc.js → dialog-ac1079e2.js} +2 -2
  36. package/{dialog-widget-42c8990c.js → dialog-widget-5697bc84.js} +17 -17
  37. package/{divider-widget-07e594c7.js → divider-widget-81032707.js} +19 -19
  38. package/drag-wrapper-a79ff9ea.js +282 -0
  39. package/{drawer-widget-1c1dd8e2.js → drawer-widget-9f0b8f7c.js} +17 -17
  40. package/{dropdown-widget-47274915.js → dropdown-widget-d45fc68f.js} +17 -17
  41. package/{empty-widget-e7aa5b70.js → empty-widget-6849c589.js} +19 -19
  42. package/{enum-type-42dd79a1.js → enum-type-52a6b12a.js} +186 -179
  43. package/{enum-type-51f144c1.js → enum-type-b9b133f4.js} +51 -51
  44. package/{expression-d4680713.js → expression-11846fd1.js} +9 -9
  45. package/feedback-widget-e661e6a2.js +27 -0
  46. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-dc498e85.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-93b5d505.js} +7 -7
  47. package/{field-base-1acf3ada.js → field-base-66c90648.js} +1 -1
  48. package/fieldobj-319120ac.js +17 -0
  49. package/{file-upload-widget-451addd2.js → file-upload-widget-6bceb805.js} +23 -23
  50. package/form-item-wrapper-37a2733b.js +87 -0
  51. package/form-widget-8dc4d5ed.js +305 -0
  52. package/{index-6afb8bee.js → global-provide-inject-6d2932d0.js} +2614 -2554
  53. package/{grid-col-widget-fd469073.js → grid-col-widget-5234fe90.js} +1 -1
  54. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-c90ca8e7.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-ddbf39e8.js} +6 -6
  55. package/grid-widget-25d7bd18.js +44 -0
  56. package/{hcard-widget-c75b1b6f.js → hcard-widget-7add56cf.js} +16 -16
  57. package/{html-text-widget-bb760458.js → html-text-widget-41f10508.js} +17 -17
  58. package/icon-4e8380f7.js +181 -0
  59. package/{icon-widget-39740e64.js → icon-widget-d3c40f38.js} +16 -16
  60. package/{iframe-widget-6c513e2d.js → iframe-widget-b404d80b.js} +20 -20
  61. package/{image-widget-6658a5e2.js → image-widget-c3082e04.js} +16 -16
  62. package/{index-6e69a58f.js → index-c926edb8.js} +14 -14
  63. package/{index-ee925296.js → index-f9b79d02.js} +2 -2
  64. package/input-number-widget-9a759333.js +67 -0
  65. package/{input-tag-widget-0d69bd56.js → input-tag-widget-8e954edc.js} +19 -19
  66. package/{input-widget-eaba46a8.js → input-widget-d7739e42.js} +19 -19
  67. package/label-wrapper-28f3575a.js +13 -0
  68. package/label-wrapper.vue_vue_type_style_index_0_lang-5cba34e0.js +63 -0
  69. package/{link-widget-ba4d6aa4.js → link-widget-b523f613.js} +19 -19
  70. package/{ltable-col-widget-c421ff75.js → ltable-col-widget-7c4e2d09.js} +1 -1
  71. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-99261216.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-aade3bbb.js} +10 -10
  72. package/ltable-widget-dc819811.js +70 -0
  73. package/{mention-widget-6301f55a.js → mention-widget-6ae8f46b.js} +19 -19
  74. package/{menu-widget-e2d328e3.js → menu-widget-92f5a9af.js} +33 -33
  75. package/{model-widget-094f97d8.js → model-widget-02a69efb.js} +41 -41
  76. package/multirow-29ad4d31.js +236 -0
  77. package/{multirow-widget-cc00757f.js → multirow-widget-86dc3685.js} +18 -18
  78. package/package.json +1 -1
  79. package/{pagination-widget-57ef2182.js → pagination-widget-394caa20.js} +16 -16
  80. package/{picture-upload-widget-c602e32a.js → picture-upload-widget-4575ad5c.js} +19 -19
  81. package/{progress-widget-4c04b55c.js → progress-widget-801968cc.js} +17 -17
  82. package/{qrcode-widget-dbd3212d.js → qrcode-widget-63f9a119.js} +21 -21
  83. package/{radio-widget-9e2a9b43.js → radio-widget-9fdeed9f.js} +18 -18
  84. package/{range-widget-6a4d2259.js → range-widget-a4bf0314.js} +19 -19
  85. package/{rate-widget-5de20ced.js → rate-widget-4761fa9f.js} +18 -18
  86. package/render.es.js +263 -246
  87. package/render.style.css +1 -1
  88. package/render.umd.js +368 -368
  89. package/{result-widget-fd88b2b1.js → result-widget-55cb6807.js} +17 -17
  90. package/{rich-editor-widget-e14dcbe6.js → rich-editor-widget-c670a9eb.js} +18 -18
  91. package/{router-widget-ea67f0ba.js → router-widget-ae1b25dc.js} +16 -16
  92. package/{segmented-widget-11bd4e4d.js → segmented-widget-90d1cef4.js} +16 -16
  93. package/{select-widget-2a9fa056.js → select-widget-7072f94e.js} +18 -18
  94. package/{sfc-1b884c50.js → sfc-a41c7416.js} +21 -21
  95. package/{sfcview-33b88ef4.js → sfcview-c0ee8b66.js} +17 -17
  96. package/share-field-c6ed3ba9.js +874 -0
  97. package/{share-file-3087c9f9.js → share-file-26d67e57.js} +21 -21
  98. package/{skeleton-widget-35dd8bd6.js → skeleton-widget-8da29c16.js} +19 -19
  99. package/{skeletonItem-widget-dc2311cd.js → skeletonItem-widget-8ed84ed4.js} +16 -16
  100. package/{slider-widget-7df4253d.js → slider-widget-15a845aa.js} +18 -18
  101. package/slot-31d7643d.js +289 -0
  102. package/{space-widget-6fc38426.js → space-widget-1a7b7b26.js} +17 -17
  103. package/{splitter-widget-f4629b33.js → splitter-widget-7f06cfe0.js} +17 -17
  104. package/{static-text-widget-a54245c0.js → static-text-widget-01b2c0be.js} +17 -17
  105. package/{statistic-widget-2b39fcff.js → statistic-widget-ce186681.js} +19 -19
  106. package/{steps-widget-bb63027b.js → steps-widget-f26895eb.js} +16 -16
  107. package/{subMenu-widget-a0d1771a.js → subMenu-widget-e50bb427.js} +9 -9
  108. package/{subMenu-widget.vue_vue_type_script_setup_true_lang-6ec20ca0.js → subMenu-widget.vue_vue_type_script_setup_true_lang-cd5da56f.js} +7 -7
  109. package/{switch-widget-d454ac66.js → switch-widget-554140b8.js} +18 -18
  110. package/{tab-pane-widget-5df8b474.js → tab-pane-widget-266b55bd.js} +1 -1
  111. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-3bfd8f17.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-7b2a10aa.js} +6 -6
  112. package/table-col-widget-671b5afe.js +23 -0
  113. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-21bd0d44.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-20aeaee1.js} +19 -19
  114. package/{table-widget-af19ac4d.js → table-widget-ede9dbc1.js} +22 -22
  115. package/tabs-widget-ce49e14d.js +76 -0
  116. package/{tag-widget-c5e8cb90.js → tag-widget-bc9daa38.js} +19 -19
  117. package/{text-widget-bb44b9c7.js → text-widget-7c0ceee0.js} +19 -19
  118. package/{textarea-widget-c6a1b4ba.js → textarea-widget-885054bd.js} +18 -18
  119. package/time-picker-range-widget-998500ee.js +83 -0
  120. package/{time-picker-widget-bbc1e186.js → time-picker-widget-3925be2b.js} +18 -18
  121. package/{time-select-widget-e098c664.js → time-select-widget-df703f88.js} +18 -18
  122. package/{timeline-widget-90ec82c4.js → timeline-widget-024f0857.js} +17 -17
  123. package/tmpl-widget-32cb8368.js +102 -0
  124. package/{tooltip-widget-5eb579d5.js → tooltip-widget-a22d1bdc.js} +16 -16
  125. package/{tour-widget-aa29b856.js → tour-widget-c5d2c7d9.js} +35 -35
  126. package/{transfer-widget-593d18ed.js → transfer-widget-88b80ed2.js} +19 -19
  127. package/{tree-select-widget-f8568c4e.js → tree-select-widget-deab6036.js} +18 -18
  128. package/{tree-widget-1d871bf4.js → tree-widget-a87284a8.js} +16 -16
  129. package/{uuid-0888fc5f.js → uuid-1b528338.js} +1 -1
  130. package/{verifycode-widget-cd1b3fb4.js → verifycode-widget-bfcb72e4.js} +16 -16
  131. package/widget-base-df734ada.js +30 -0
  132. package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-bcd065ae.js +290 -0
  133. package/wrapper-widget-9f772573.js +89 -0
  134. package/cont-widget-4b88e7e5.js +0 -44
  135. package/date-picker-range-widget-b7a93200.js +0 -83
  136. package/default-slot-widget-46a8a1ee.js +0 -27
  137. package/drag-wrapper-f78636d1.js +0 -279
  138. package/feedback-widget-f1e2b360.js +0 -27
  139. package/fieldobj-a2678999.js +0 -13
  140. package/form-item-wrapper-228b6375.js +0 -87
  141. package/form-widget-9f5290b7.js +0 -264
  142. package/grid-widget-9a62f39a.js +0 -43
  143. package/icon-1fc5d00d.js +0 -180
  144. package/input-number-widget-d8266ca4.js +0 -67
  145. package/label-wrapper-c772b8f2.js +0 -13
  146. package/label-wrapper.vue_vue_type_style_index_0_lang-82c93f40.js +0 -63
  147. package/ltable-widget-35df30a2.js +0 -77
  148. package/multirow-88dc90dd.js +0 -230
  149. package/share-field-ec8c208e.js +0 -856
  150. package/slot-6db6ac8e.js +0 -360
  151. package/table-col-widget-38f163df.js +0 -23
  152. package/tabs-widget-eb2292e7.js +0 -81
  153. package/time-picker-range-widget-b3a3ff54.js +0 -82
  154. package/tmpl-widget-702c58d7.js +0 -99
  155. package/widget-base-8eece820.js +0 -28
  156. package/widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-a9e4f996.js +0 -282
  157. package/wrapper-widget-38438697.js +0 -95
@@ -1,14 +1,14 @@
1
- var L = Object.defineProperty;
2
- var F = (e, t, r) => t in e ? L(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
- var m = (e, t, r) => (F(e, typeof t != "symbol" ? t + "" : t, r), r);
4
- import { isRef as T, watch as M, isReactive as k, toRaw as H } from "vue";
5
- function c(e, t, r = []) {
1
+ var D = Object.defineProperty;
2
+ var L = (e, t, r) => t in e ? D(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
+ var g = (e, t, r) => (L(e, typeof t != "symbol" ? t + "" : t, r), r);
4
+ import { toRaw as c, isRef as T, watch as F, isReactive as M } from "vue";
5
+ function d(e, t, r = []) {
6
6
  if (e === t || e !== e && t !== t)
7
7
  return !0;
8
8
  const a = typeof e;
9
- return a !== typeof t ? !1 : e == null || t == null || a === "function" ? e === t : a !== "object" ? !1 : B(e, t);
9
+ return a !== typeof t ? !1 : e == null || t == null || a === "function" ? e === t : a !== "object" ? !1 : k(e, t);
10
10
  }
11
- function B(e, t, r = []) {
11
+ function k(e, t, r = []) {
12
12
  const a = r.length;
13
13
  for (let i = 0; i < a; i += 2)
14
14
  if (r[i] === e && r[i + 1] === t)
@@ -17,7 +17,7 @@ function B(e, t, r = []) {
17
17
  if (!Array.isArray(t) || e.length !== t.length)
18
18
  return !1;
19
19
  for (let i = 0; i < e.length; i++)
20
- if (!c(e[i], t[i], r))
20
+ if (!d(e[i], t[i], r))
21
21
  return !1;
22
22
  return r.pop(), r.pop(), !0;
23
23
  }
@@ -32,19 +32,19 @@ function B(e, t, r = []) {
32
32
  if (e instanceof Map && t instanceof Map) {
33
33
  if (e.size !== t.size)
34
34
  return !1;
35
- for (const [i, p] of e)
36
- if (!t.has(i) || !c(p, t.get(i), r))
35
+ for (const [i, f] of e)
36
+ if (!t.has(i) || !d(f, t.get(i), r))
37
37
  return !1;
38
38
  return r.pop(), r.pop(), !0;
39
39
  }
40
40
  if (e instanceof Set && t instanceof Set) {
41
41
  if (e.size !== t.size)
42
42
  return !1;
43
- const i = Array.from(e), p = Array.from(t);
44
- for (const P of i) {
43
+ const i = Array.from(e), f = Array.from(t);
44
+ for (const O of i) {
45
45
  let _ = !1;
46
- for (const D of p)
47
- if (c(P, D, r)) {
46
+ for (const P of f)
47
+ if (d(O, P, r)) {
48
48
  _ = !0;
49
49
  break;
50
50
  }
@@ -54,22 +54,22 @@ function B(e, t, r = []) {
54
54
  return r.pop(), r.pop(), !0;
55
55
  }
56
56
  if (y(e) && y(t)) {
57
- const i = U(e, t);
57
+ const i = H(e, t);
58
58
  return r.pop(), r.pop(), i;
59
59
  }
60
- const n = Object.keys(e), o = Object.keys(t), s = Object.getOwnPropertySymbols(e), R = Object.getOwnPropertySymbols(t);
61
- if (n.length + s.length !== o.length + R.length)
60
+ const n = Object.keys(e), o = Object.keys(t), l = Object.getOwnPropertySymbols(e), v = Object.getOwnPropertySymbols(t);
61
+ if (n.length + l.length !== o.length + v.length)
62
62
  return r.pop(), r.pop(), !1;
63
- for (const i of [...n, ...s])
64
- if (!c(e[i], t[i], r))
63
+ for (const i of [...n, ...l])
64
+ if (!d(e[i], t[i], r))
65
65
  return r.pop(), r.pop(), !1;
66
- const O = Object.getPrototypeOf(e), v = Object.getPrototypeOf(t);
67
- return O !== v ? (r.pop(), r.pop(), !1) : (r.pop(), r.pop(), !0);
66
+ const N = Object.getPrototypeOf(e), R = Object.getPrototypeOf(t);
67
+ return N !== R ? (r.pop(), r.pop(), !1) : (r.pop(), r.pop(), !0);
68
68
  }
69
69
  function y(e) {
70
70
  return e instanceof Int8Array || e instanceof Uint8Array || e instanceof Uint8ClampedArray || e instanceof Int16Array || e instanceof Uint16Array || e instanceof Int32Array || e instanceof Uint32Array || e instanceof Float32Array || e instanceof Float64Array || e instanceof DataView || e instanceof ArrayBuffer;
71
71
  }
72
- function U(e, t) {
72
+ function H(e, t) {
73
73
  if (e.byteLength !== t.byteLength)
74
74
  return !1;
75
75
  if (e instanceof ArrayBuffer && t instanceof ArrayBuffer) {
@@ -90,77 +90,96 @@ function U(e, t) {
90
90
  return !1;
91
91
  return !0;
92
92
  }
93
- const V = (e) => e === null, E = (e) => e === void 0, l = (e) => V(e) || E(e), de = (e) => l(e) || !/[^\s]/.test(String(e));
94
- function ue(e) {
95
- return !G(e);
93
+ const B = (e) => e === null, E = (e) => e === void 0, s = (e) => B(e) || E(e), ce = (e) => s(e) || !/[^\s]/.test(String(e));
94
+ function de(e) {
95
+ return !U(e);
96
96
  }
97
- const G = (e) => {
98
- var t;
99
- return Array.isArray(e) ? !!e && e.length > 0 : !!e && ((t = w(e)) == null ? void 0 : t.length) > 0;
100
- }, pe = (e) => !l(e) && !isNaN(e) && typeof e == "number", h = (e) => e !== void 0 && typeof e == "object" || Object.prototype.toString.call(e) === "[object Object]", W = (e) => Object.prototype.toString.call(e) === "[object Array]" || Array.isArray(e), me = (e) => e !== void 0 && typeof e == "function", fe = (e) => e !== void 0 && typeof e == "string", K = (e) => Promise.resolve(e) === e, ge = (e, t) => {
101
- const { hasOwnProperty: r } = Object.prototype;
102
- return !!e && !!t && r.call(e, t);
97
+ const U = (e) => {
98
+ if (e == null)
99
+ return !1;
100
+ const t = c(e);
101
+ return Array.isArray(t) ? t.length > 0 : u(t) && !!Reflect.ownKeys(t)[0];
102
+ }, ue = (e) => !s(e) && !isNaN(e) && typeof e == "number", u = (e) => e !== void 0 && typeof e == "object" || Object.prototype.toString.call(e) === "[object Object]", V = (e) => Object.prototype.toString.call(e) === "[object Array]" || Array.isArray(e), pe = (e) => e !== void 0 && typeof e == "function", me = (e) => e !== void 0 && typeof e == "string", G = (e) => Promise.resolve(e) === e, fe = (e, t) => {
103
+ if (e == null || e == null || !t)
104
+ return !1;
105
+ var r = c(e);
106
+ if (!u(r))
107
+ return !1;
108
+ const { hasOwnProperty: a } = Object.prototype;
109
+ return a.call(r, t);
103
110
  };
104
- function he(e) {
111
+ function ge(e) {
105
112
  var t;
106
- e && ((t = w(e)) == null || t.forEach((r) => delete e[r]));
113
+ e && ((t = W(e)) == null || t.forEach((r) => delete e[r]));
107
114
  }
108
- const S = (e, t) => {
115
+ const b = (e, t) => {
109
116
  var n;
110
- if (l(t) || t === "")
117
+ if (s(t) || t === "")
111
118
  return e;
112
119
  const r = (n = t == null ? void 0 : t.trim()) == null ? void 0 : n.split(".");
113
120
  var a = e;
114
121
  return r == null || r.forEach((o) => {
115
- var s = a == null ? void 0 : a[o];
116
- a = !l(a) && !l(s) ? s : null;
122
+ var l = a == null ? void 0 : a[o];
123
+ a = !s(a) && !s(l) ? l : null;
117
124
  }), a;
118
- }, _e = (e, t, r, a = !1) => {
125
+ }, he = (e, t, r, a = !1) => {
119
126
  if (!e || !t || a && E(r))
120
127
  return;
121
128
  const n = { [t]: r };
122
- return C(e, n), e;
123
- }, b = (e) => {
124
- function t(a) {
125
- return a.map((n) => b(n));
129
+ return w(e, n), e;
130
+ }, S = (e) => {
131
+ if (e == null || e == null)
132
+ return e;
133
+ function t(n) {
134
+ return n.map((o) => S(o));
126
135
  }
127
- function r(a) {
128
- let n = null;
129
- if (a instanceof Date)
130
- return new Date(a.getTime());
131
- if (a) {
132
- n = {};
133
- for (let o in a)
134
- n[o] = b(a[o]);
135
- n.__proto__ = Object.getPrototypeOf(a);
136
+ function r(n) {
137
+ let o = null;
138
+ if (n instanceof Date)
139
+ return new Date(n.getTime());
140
+ if (n) {
141
+ o = {};
142
+ for (let l in n)
143
+ o[l] = S(n[l]);
144
+ o.__proto__ = Object.getPrototypeOf(n);
136
145
  }
137
- return n;
146
+ return o;
147
+ }
148
+ const a = e;
149
+ return u(a) ? Array.isArray(a) ? t(a) : r(a) : a;
150
+ }, W = (e) => {
151
+ const t = c(e);
152
+ let r = t;
153
+ if (Array.isArray(t)) {
154
+ if (t.length === 0)
155
+ return [];
156
+ r = t[0];
138
157
  }
139
- return h(e) ? Array.isArray(e) ? t(e) : r(e) : e;
140
- }, w = (e) => e ? Array.isArray(e) && e.length > 0 ? Object.keys(e[0]) : Object.keys(e) : [];
141
- function C(e = {}, t = {}, r = !0) {
158
+ return r ? Object.keys(r) : [];
159
+ };
160
+ function w(e = {}, t = {}, r = !0) {
142
161
  let a;
143
162
  if (t == null)
144
163
  return e;
145
164
  if (e === null)
146
165
  return t;
147
- l(e) && (e = Array.isArray(t) ? [] : {});
166
+ s(e) && (e = Array.isArray(t) ? [] : {});
148
167
  for (a in t) {
149
168
  var n = e[a], o = t[a];
150
- c(n, o) || (!l(n) && h(n) && (!r || !W(n)) ? e[a] = C(n, o, r) : e[a] = o);
169
+ d(n, o) || (!s(n) && u(n) && (!r || !V(n)) ? e[a] = w(n, o, r) : e[a] = o);
151
170
  }
152
171
  return e;
153
172
  }
154
- function z(e, t, r) {
173
+ function K(e, t, r) {
155
174
  for (const a in e)
156
175
  if (e.hasOwnProperty(a)) {
157
176
  const n = e[a];
158
177
  if (t(e, a, n), r != null && r(e, a, n))
159
178
  continue;
160
- typeof n == "object" && n !== null && z(n, t, r);
179
+ typeof n == "object" && n !== null && K(n, t, r);
161
180
  }
162
181
  }
163
- var Y = {
182
+ var z = {
164
183
  name: "zh-cn",
165
184
  el: {
166
185
  breadcrumb: { label: "面包屑" },
@@ -336,7 +355,7 @@ var Y = {
336
355
  }
337
356
  }
338
357
  };
339
- const J = {
358
+ const Y = {
340
359
  application: {
341
360
  "zh-CN": "简体中文",
342
361
  productTitle: "页面设计器"
@@ -2390,7 +2409,7 @@ vars:页面设置中的全局变量`,
2390
2409
  codeEdit: "源代码编辑"
2391
2410
  }
2392
2411
  }
2393
- }, q = {
2412
+ }, J = {
2394
2413
  render: {
2395
2414
  hint: {
2396
2415
  prompt: "提示",
@@ -2461,7 +2480,7 @@ vars:页面设置中的全局变量`,
2461
2480
  // effect: '显示效果'
2462
2481
  // }
2463
2482
  }
2464
- }, Q = {
2483
+ }, q = {
2465
2484
  ace: {
2466
2485
  hint: {
2467
2486
  allRefList: "获取所有组件实例",
@@ -3236,31 +3255,28 @@ hlpreview("打印模板uuid"|"打印模板uuid"[],{test:1},{apiUrl:"接口地址
3236
3255
  }
3237
3256
  }
3238
3257
  };
3239
- function f(e) {
3240
- if (e === null)
3241
- return null;
3242
- if (e !== void 0)
3243
- return e;
3258
+ function _e(e) {
3259
+ return e;
3244
3260
  }
3245
3261
  function ye(e, t) {
3246
- return t === !0 ? $(e) : X(e);
3262
+ return t === !0 ? X(e) : Q(e);
3247
3263
  }
3248
- function X(e) {
3249
- if (!l(e))
3264
+ function Q(e) {
3265
+ if (!s(e))
3250
3266
  return Array.isArray(e) ? e == null ? void 0 : e[0] : e;
3251
3267
  }
3252
- function $(e) {
3253
- if (!l(e))
3254
- return Array.isArray(e) ? e : [e];
3268
+ function X(e) {
3269
+ if (!s(e))
3270
+ return [].concat(e);
3255
3271
  }
3256
- function Se(e, t = !1) {
3272
+ function be(e, t = !1) {
3257
3273
  var r = Number(e);
3258
3274
  return isNaN(r) ? t ? e : void 0 : r;
3259
3275
  }
3260
- class Z {
3276
+ class $ {
3261
3277
  constructor(t) {
3262
- m(this, "enabled");
3263
- m(this, "prefix");
3278
+ g(this, "enabled");
3279
+ g(this, "prefix");
3264
3280
  this.enabled = t.enabled ?? !1, this.prefix = t.prefix || "[HLForm]";
3265
3281
  }
3266
3282
  // 核心方法:如果未启用,直接返回,零性能损耗
@@ -3275,75 +3291,66 @@ class Z {
3275
3291
  this.enabled = t.enabled, this.prefix = t.prefix || this.prefix;
3276
3292
  }
3277
3293
  }
3278
- const be = Symbol("GlobalLogger"), ee = !0, d = new Z({ enabled: !ee }), Te = (e) => T(e) ? e == null ? void 0 : e.value : e, Ee = (e) => te(A(e)), we = (e) => new Promise((t, r) => {
3279
- if (K(e)) {
3280
- e.then((n) => {
3281
- t(f(n));
3282
- });
3283
- return;
3284
- }
3285
- if (!T(e)) {
3286
- t(f(e));
3287
- return;
3288
- }
3289
- let a = null;
3290
- a = M(() => e == null ? void 0 : e.value, (n) => {
3291
- if (n != null) {
3292
- try {
3293
- a == null || a();
3294
- } catch (o) {
3295
- d.error("watchRefTmpl", o);
3296
- }
3297
- t(f(n));
3298
- }
3299
- }, { immediate: !0 });
3300
- });
3301
- function g(e, t = /* @__PURE__ */ new WeakMap()) {
3302
- if (typeof e != "object" || e === null || !k(e))
3294
+ const Se = Symbol("GlobalLogger"), Z = !0, m = new $({ enabled: !Z }), Te = (e) => T(e) ? e == null ? void 0 : e.value : e, Ee = (e) => ee(C(e)), we = (e) => {
3295
+ if (G(e))
3296
+ return e.then((r) => r);
3297
+ if (!T(e))
3298
+ return Promise.resolve(e);
3299
+ const t = e.value;
3300
+ return t != null ? Promise.resolve(t) : new Promise((r) => {
3301
+ const a = F(() => e.value, (n) => {
3302
+ n != null && (a(), r(n));
3303
+ }, { immediate: !0 });
3304
+ });
3305
+ };
3306
+ function h(e, t = /* @__PURE__ */ new WeakMap()) {
3307
+ if (typeof e != "object" || e === null || !M(e))
3303
3308
  return e;
3304
3309
  if (t.has(e))
3305
3310
  return t.get(e);
3306
- const r = H(e) || e, a = Array.isArray(r) ? [] : {};
3311
+ const r = c(e) || e, a = Array.isArray(r) ? [] : {};
3307
3312
  if (t.set(e, a), Array.isArray(r)) {
3308
3313
  for (let o = 0; o < r.length; o++)
3309
- a[o] = g(r[o], t);
3314
+ a[o] = h(r[o], t);
3310
3315
  return a;
3311
3316
  }
3312
3317
  const n = Reflect.ownKeys(r);
3313
3318
  for (const o of n) {
3314
- const s = r[o];
3315
- a[o] = g(s, t);
3319
+ const l = r[o];
3320
+ a[o] = h(l, t);
3316
3321
  }
3317
3322
  return a;
3318
3323
  }
3319
- const te = (e, t) => {
3320
- if (e == null || e === "")
3324
+ const ee = (e, t) => {
3325
+ const r = c(e);
3326
+ if (r == null || r === "")
3321
3327
  return null;
3322
3328
  try {
3323
- return typeof e == "string" ? JSON.parse(e, t) : typeof e == "object" || (e == null ? void 0 : e.constructor) === Object ? e : null;
3324
- } catch (r) {
3325
- return d.error("JSON.parse", r, { text: e }), null;
3329
+ return typeof r == "string" ? JSON.parse(r, t) : typeof r == "object" || (r == null ? void 0 : r.constructor) === Object ? r : null;
3330
+ } catch (a) {
3331
+ return m.error("JSON.parse", a, { text: e }), null;
3326
3332
  }
3327
- }, A = (e, t, r) => {
3328
- if (e === "" || e === null || e === void 0)
3333
+ }, C = (e, t, r) => {
3334
+ const a = c(e);
3335
+ if (a === "" || a === null || a === void 0)
3329
3336
  return "";
3330
- if (typeof e == "string")
3331
- return e;
3337
+ if (typeof a == "string")
3338
+ return a;
3332
3339
  try {
3333
- return JSON.stringify(e, t, r);
3334
- } catch (a) {
3335
- return d.error("JSON.stringify", a, e), "";
3340
+ return JSON.stringify(a, t, r);
3341
+ } catch (n) {
3342
+ return m.error("JSON.stringify", n, e), "";
3336
3343
  }
3337
3344
  }, Ce = (e) => {
3338
3345
  if (e === "" || e === null || e === void 0)
3339
3346
  return !1;
3340
3347
  try {
3341
- if (h(e))
3348
+ if (u(e))
3342
3349
  return !0;
3343
3350
  const t = JSON.parse(e);
3344
3351
  return !!(t && typeof t == "object");
3345
3352
  } catch (t) {
3346
- return d.error("JSON.parse", t, e), !1;
3353
+ return m.error("JSON.parse", t, e), !1;
3347
3354
  }
3348
3355
  }, Ae = (e) => {
3349
3356
  if (e === "" || e === null || e === void 0)
@@ -3352,9 +3359,9 @@ const te = (e, t) => {
3352
3359
  const t = JSON.stringify(e);
3353
3360
  return JSON.parse(t);
3354
3361
  } catch (t) {
3355
- return d.error("cloneObj", t, { data: e }), g(e);
3362
+ return m.error("cloneObj", t, { data: e }), h(e);
3356
3363
  }
3357
- }, I = {
3364
+ }, A = {
3358
3365
  /**
3359
3366
  * 获取缓存
3360
3367
  * @param key 存储名称
@@ -3369,7 +3376,7 @@ const te = (e, t) => {
3369
3376
  * @param value 存储内容
3370
3377
  */
3371
3378
  set(e, t) {
3372
- typeof t == "object" ? localStorage.setItem(e, A(t)) : localStorage.setItem(e, String(t));
3379
+ typeof t == "object" ? localStorage.setItem(e, C(t)) : localStorage.setItem(e, String(t));
3373
3380
  },
3374
3381
  /**
3375
3382
  * 移除缓存
@@ -3378,39 +3385,39 @@ const te = (e, t) => {
3378
3385
  remove(e) {
3379
3386
  localStorage.removeItem(e);
3380
3387
  }
3381
- }, re = {
3388
+ }, te = {
3382
3389
  "zh-CN": {
3383
3390
  custionLocale: {},
3391
+ ...z,
3384
3392
  ...Y,
3385
3393
  ...J,
3386
- ...q,
3387
3394
  ...j,
3388
- ...Q
3395
+ ...q
3389
3396
  }
3390
- }, x = "v_form_locale", N = function() {
3391
- return { lang: I.get(x) || "zh-CN" };
3392
- }, ae = function(e) {
3393
- u.setLang(e), I.set(x, e);
3394
- }, Ie = () => {
3395
- let e = N();
3396
- ae(e == null ? void 0 : e.lang);
3397
- }, u = ne({
3398
- locale: N(),
3399
- messages: re
3397
+ }, x = "v_form_locale", I = function() {
3398
+ return { lang: A.get(x) || "zh-CN" };
3399
+ }, re = function(e) {
3400
+ p.setLang(e), A.set(x, e);
3401
+ }, xe = () => {
3402
+ let e = I();
3403
+ re(e == null ? void 0 : e.lang);
3404
+ }, p = ae({
3405
+ locale: I(),
3406
+ messages: te
3400
3407
  });
3401
- function ne(e) {
3408
+ function ae(e) {
3402
3409
  return {
3403
3410
  messages: e.messages,
3404
3411
  locale: e.locale,
3405
3412
  $st(t, r = !0, ...a) {
3406
3413
  t = t == null ? void 0 : t.trim();
3407
3414
  let n = this.messages[this.locale.lang];
3408
- const o = S(n, t);
3415
+ const o = b(n, t);
3409
3416
  return typeof o == "function" ? o(...a) : o !== null ? o : r ? t : "";
3410
3417
  },
3411
3418
  $st2(t, r) {
3412
3419
  let a = this.messages[this.locale.lang];
3413
- const n = S(a, t);
3420
+ const n = b(a, t);
3414
3421
  return n !== null ? n : this.$st(r);
3415
3422
  },
3416
3423
  setLang(t) {
@@ -3418,55 +3425,55 @@ function ne(e) {
3418
3425
  }
3419
3426
  };
3420
3427
  }
3421
- const xe = function(e) {
3422
- return u.$st(e);
3423
- }, Ne = {
3428
+ const Ie = function(e) {
3429
+ return p.$st(e);
3430
+ }, ve = {
3424
3431
  i18nt(e, t = !0) {
3425
- return e ? u.$st(e, t) : "";
3432
+ return e ? p.$st(e, t) : "";
3426
3433
  },
3427
3434
  i18n2t(e, t) {
3428
- return u.$st2(e, t);
3435
+ return p.$st2(e, t);
3429
3436
  }
3430
3437
  };
3431
- var oe = /* @__PURE__ */ ((e) => (e.string = "string", e.number = "number", e.bigint = "bigint", e.boolean = "boolean", e.symbol = "symbol", e.undefined = "undefined", e.object = "object", e.function = "function", e.array = "array", e.any = "any", e.date = "date", e))(oe || {}), ie = /* @__PURE__ */ ((e) => (e.typescript = "typescript", e.javascript = "javascript", e.css = "css", e.html = "html", e.json = "json", e.sql = "sql", e.text = "text", e))(ie || {}), le = /* @__PURE__ */ ((e) => (e.sysVar = "sysVar", e.sysFunc = "sysFunc", e.sysData = "sysData", e.schema = "schema", e))(le || {});
3438
+ var ne = /* @__PURE__ */ ((e) => (e.string = "string", e.number = "number", e.bigint = "bigint", e.boolean = "boolean", e.symbol = "symbol", e.undefined = "undefined", e.object = "object", e.function = "function", e.array = "array", e.any = "any", e.date = "date", e))(ne || {}), oe = /* @__PURE__ */ ((e) => (e.typescript = "typescript", e.javascript = "javascript", e.css = "css", e.html = "html", e.json = "json", e.sql = "sql", e.text = "text", e))(oe || {}), ie = /* @__PURE__ */ ((e) => (e.sysVar = "sysVar", e.sysFunc = "sysFunc", e.sysData = "sysData", e.schema = "schema", e))(ie || {});
3432
3439
  export {
3433
- z as A,
3434
- oe as B,
3440
+ K as A,
3441
+ ne as B,
3435
3442
  we as C,
3436
- K as D,
3443
+ G as D,
3437
3444
  Ae as E,
3438
- he as F,
3439
- c as G,
3440
- pe as H,
3441
- S as I,
3442
- ie as J,
3443
- ue as K,
3444
- be as L,
3445
- xe as M,
3446
- fe as a,
3447
- Ie as b,
3448
- f as c,
3449
- C as d,
3450
- Ne as e,
3451
- te as f,
3452
- G as g,
3453
- A as h,
3454
- l as i,
3455
- de as j,
3456
- E as k,
3457
- d as l,
3458
- V as m,
3459
- h as n,
3460
- w as o,
3461
- le as p,
3462
- I as q,
3445
+ ge as F,
3446
+ d as G,
3447
+ ue as H,
3448
+ b as I,
3449
+ oe as J,
3450
+ de as K,
3451
+ Se as L,
3452
+ Ie as M,
3453
+ me as a,
3454
+ xe as b,
3455
+ _e as c,
3456
+ w as d,
3457
+ U as e,
3458
+ ee as f,
3459
+ C as g,
3460
+ ce as h,
3461
+ s as i,
3462
+ E as j,
3463
+ B as k,
3464
+ m as l,
3465
+ u as m,
3466
+ ve as n,
3467
+ W as o,
3468
+ ie as p,
3469
+ A as q,
3463
3470
  Ce as r,
3464
- _e as s,
3471
+ he as s,
3465
3472
  ye as t,
3466
- me as u,
3467
- ge as v,
3468
- Se as w,
3473
+ pe as u,
3474
+ fe as v,
3475
+ be as w,
3469
3476
  Ee as x,
3470
3477
  Te as y,
3471
- b as z
3478
+ S as z
3472
3479
  };