hldesigner 0.0.294 → 0.0.296

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 (215) hide show
  1. package/{_pdf-6d272319.js → _pdf-1b95fb5d.js} +13 -12
  2. package/{_share_image-707deb7b.js → _share_image-0ca0ad96.js} +2 -2
  3. package/{_share_size.vue_vue_type_script_setup_true_lang-198b6412.js → _share_size.vue_vue_type_script_setup_true_lang-25e38d41.js} +3 -3
  4. package/{_txt-14955ea9.js → _txt-170bb7d6.js} +8 -7
  5. package/{_unsupport-8b411d51.js → _unsupport-1309283f.js} +2 -2
  6. package/{affix-widget-b164f66f.js → affix-widget-a1e94961.js} +25 -24
  7. package/{alert-widget-a5b38a7f.js → alert-widget-e89962f3.js} +25 -24
  8. package/{anchor-widget-cb79aead.js → anchor-widget-2666cfcb.js} +22 -21
  9. package/{auto-complete-widget-2b5c9b04.js → auto-complete-widget-f19efc93.js} +25 -24
  10. package/avatar-widget-d1f582e7.js +49 -0
  11. package/{backtop-widget-54df7811.js → backtop-widget-800b83e2.js} +25 -24
  12. package/{badge-widget-b3e2b84e.js → badge-widget-3dfede47.js} +28 -27
  13. package/{barcode-widget-c9539f20.js → barcode-widget-1a9a8e4a.js} +23 -22
  14. package/{baseImp-7f0c4121.js → baseCommonField-607f46b1.js} +3567 -3903
  15. package/baseDataType-af503f9f.js +4 -0
  16. package/{breadcrumb-widget-966a5b98.js → breadcrumb-widget-72fc4371.js} +28 -27
  17. package/{button-widget-b29f2836.js → button-widget-3f9aebd6.js} +25 -24
  18. package/{cache-widget-8cdf6bb3.js → cache-widget-4446b135.js} +24 -23
  19. package/{card-widget-635325c2.js → card-widget-ce3e3897.js} +40 -39
  20. package/{carousel-widget-a7f37b1e.js → carousel-widget-cc0ed1e7.js} +23 -22
  21. package/{cascader-widget-8bb5f9db.js → cascader-widget-d1fc3ca0.js} +24 -23
  22. package/{chart-widget-fb1a670b.js → chart-widget-85cb8854.js} +48 -47
  23. package/{checkbox-widget-52c61029.js → checkbox-widget-db3afa9b.js} +31 -30
  24. package/codeType-e06c2bb4.js +4 -0
  25. package/{collapse-widget-a4d2945d.js → collapse-widget-8779845e.js} +29 -28
  26. package/{color-picker-widget-c7d26f46.js → color-picker-widget-f745a9cd.js} +24 -23
  27. package/common-editor-353641ab.js +30 -0
  28. package/{common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-cd2508fd.js → common-editor.vue_vue_type_script_setup_true_name_common-editor_lang-8352d795.js} +2 -2
  29. package/{configItem-e39cd3bb.js → configItem-7889264b.js} +51 -50
  30. package/{cont-cell-widget-d4a89c8a.js → cont-cell-widget-d44e04d3.js} +1 -1
  31. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-a72224f3.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-b5288fd3.js} +5 -5
  32. package/{cont-widget-c1e4feae.js → cont-widget-18cd3de8.js} +5 -5
  33. package/content-wrapper-36adcccb.js +19 -0
  34. package/{content-wrapper.vue_vue_type_script_setup_true_lang-74a9ce66.js → content-wrapper.vue_vue_type_script_setup_true_lang-88a3a92e.js} +7 -7
  35. package/countdown-widget-8716e1ba.js +61 -0
  36. package/{css-editor-1b37b14b.js → css-editor-53b67144.js} +80 -77
  37. package/{cssClass-de753b04.js → cssClass-1492660e.js} +2 -2
  38. package/cssIndex-4c169331.js +160 -0
  39. package/{customClass-editor-30844eef.js → customClass-editor-b910c95b.js} +22 -20
  40. package/{date-picker-range-widget-68c22748.js → date-picker-range-widget-2278cad8.js} +33 -32
  41. package/{date-picker-widget-4532430c.js → date-picker-widget-d361f6f3.js} +34 -33
  42. package/default-slot-widget-9312050d.js +33 -0
  43. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-7903c803.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-7e67d1a4.js} +8 -8
  44. package/{descriptions-widget-ec41f960.js → descriptions-widget-e3e0d806.js} +23 -22
  45. package/designer.es.js +40 -40
  46. package/designer.style.css +2 -2
  47. package/designer.umd.js +327 -327
  48. package/{dialog-f67b0d8f.js → dialog-abd1055d.js} +2 -2
  49. package/dialog-widget-3e040d0f.js +41 -0
  50. package/divider-widget-4037971b.js +55 -0
  51. package/{drag-wrapper-04c5f241.js → drag-wrapper-a7ac11e7.js} +21 -21
  52. package/drawer-widget-3b223a9b.js +41 -0
  53. package/{dropdown-widget-9c81e135.js → dropdown-widget-7b107117.js} +23 -22
  54. package/{editor-wrapper-e4b65100.js → editor-wrapper-412921da.js} +99 -100
  55. package/{emitter-2e6d5612.js → emitter-752d9612.js} +1 -1
  56. package/{empty-widget-631442f5.js → empty-widget-03dc45a4.js} +25 -24
  57. package/{enum-type-e32f6d55.js → enum-669d691c.js} +344 -351
  58. package/{expression-5df4780f.js → expression-185552e1.js} +1562 -1386
  59. package/feedback-widget-c555aa07.js +34 -0
  60. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-a365a6c2.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-664151d2.js} +6 -6
  61. package/{field-editor-98dd0a48.js → field-editor-01ad04f5.js} +22 -20
  62. package/{fieldobj-e04fe3b7.js → fieldobj-097a7c28.js} +7 -7
  63. package/{file-upload-widget-2a7f1bc3.js → file-upload-widget-132d811f.js} +29 -28
  64. package/{form-item-wrapper-fd97d391.js → form-item-wrapper-e095f173.js} +18 -17
  65. package/{form-widget-8289b9c1.js → form-widget-3e609e45.js} +45 -45
  66. package/{global-provide-inject-f7c2434f.js → globalProvideInject-f72c46e1.js} +1 -1
  67. package/{grid-col-widget-1bce9b22.js → grid-col-widget-07f9934e.js} +1 -1
  68. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-91bc4542.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-e758879c.js} +5 -5
  69. package/{grid-widget-6d7246c3.js → grid-widget-fcdf2ff1.js} +5 -5
  70. package/{hcard-widget-64f8b247.js → hcard-widget-25a74183.js} +29 -28
  71. package/{html-text-widget-4783ce1e.js → html-text-widget-3f9a7049.js} +23 -22
  72. package/{icon-widget-6bdfa4d3.js → icon-widget-6428cc00.js} +26 -25
  73. package/iframe-widget-beb764f8.js +138 -0
  74. package/image-editor-82e3d316.js +55 -0
  75. package/{image-widget-8158689d.js → image-widget-e340b551.js} +22 -21
  76. package/{index-3e27dbc2.js → index-05b3b9ca.js} +32 -31
  77. package/{enum-type-eeb2dcbd.js → index-0fea97a8.js} +311 -111
  78. package/index-1071c4c7.js +83 -0
  79. package/{index-3dabfdc0.js → index-1a4f56dd.js} +63 -62
  80. package/index-436cc07a.js +265 -0
  81. package/{index-bcac9980.js → index-5728cd3c.js} +24 -23
  82. package/{index-e0d0fa2e.js → index-61d6c848.js} +1 -1
  83. package/{index-a26bf6de.js → index-68c3c04e.js} +219 -218
  84. package/{index-6f2e7cc2.js → index-69b23b46.js} +46 -45
  85. package/index-6fb8d595.js +80 -0
  86. package/{index-397967db.js → index-730f8497.js} +18 -16
  87. package/{index-6aa18a15.js → index-7766bc2f.js} +106 -106
  88. package/{index-0504bd3a.js → index-79a0163e.js} +12 -11
  89. package/{index-73758a90.js → index-8cfb6a9c.js} +1 -1
  90. package/{index-290ac037.js → index-9254507b.js} +27 -26
  91. package/{index-afd82448.js → index-9b56c1e6.js} +22 -20
  92. package/index-a1324d15.js +1350 -0
  93. package/{index-03c22bc5.js → index-a1c1b668.js} +45 -43
  94. package/{index-74ce0e3c.js → index-a565454e.js} +7 -7
  95. package/{index-1878e33f.js → index-ac413547.js} +46 -45
  96. package/index-b55657c0.js +351 -0
  97. package/{index-bca6580c.js → index-b82a7942.js} +32 -30
  98. package/index-cd781075.js +239 -0
  99. package/{index-b236e386.js → index-e207955c.js} +22 -21
  100. package/{index-cd822487.js → index-f5e76d4f.js} +13 -12
  101. package/{index-0409d23f.js → index-fcc4373b.js} +59 -59
  102. package/{input-number-widget-0f414e2c.js → input-number-widget-8cc70bb5.js} +27 -26
  103. package/{input-tag-widget-ad3eb896.js → input-tag-widget-f9b11b33.js} +25 -24
  104. package/{input-widget-469c5464.js → input-widget-f29e34fc.js} +25 -24
  105. package/{install-designer-13ab516e.js → install-designer-90c18b43.js} +1911 -1799
  106. package/{item-fb474622.js → item-20a8e244.js} +11 -10
  107. package/{itemDetail-f887bfaf.js → itemDetail-b08a6256.js} +17 -16
  108. package/{label-wrapper-acfc937a.js → label-wrapper-cc5b374b.js} +7 -6
  109. package/{label-wrapper.vue_vue_type_style_index_0_lang-e81392d8.js → label-wrapper.vue_vue_type_style_index_0_lang-270c6e23.js} +3 -3
  110. package/{link-widget-ad7f38d9.js → link-widget-46bb53ba.js} +25 -24
  111. package/{ltable-col-widget-dcd79046.js → ltable-col-widget-85158af5.js} +1 -1
  112. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-d48e107e.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-d200a6a8.js} +9 -9
  113. package/{ltable-widget-80a365bc.js → ltable-widget-58330976.js} +11 -11
  114. package/{mask-bdcecc2d.js → mask-38100676.js} +1 -1
  115. package/{mention-widget-1d31da3b.js → mention-widget-6c235170.js} +25 -24
  116. package/{menu-widget-b47ae070.js → menu-widget-bd1fa158.js} +42 -41
  117. package/{model-widget-151836f0.js → model-widget-b4364744.js} +22 -21
  118. package/multirow-7d028dd0.js +182 -0
  119. package/{multirow-widget-b7c6bc11.js → multirow-widget-aeb02101.js} +87 -86
  120. package/{name-editor-9862d519.js → name-editor-3a3747f6.js} +52 -50
  121. package/nameCase-2134ee3e.js +33 -0
  122. package/object-751045cf.js +44 -0
  123. package/{optionItem-0afcf797.js → optionItem-8e1d0080.js} +809 -474
  124. package/package.json +1 -1
  125. package/{pagination-widget-4af8fa55.js → pagination-widget-bcbb95e0.js} +29 -28
  126. package/{picture-upload-widget-01d4477b.js → picture-upload-widget-1e2240d2.js} +47 -46
  127. package/{progress-widget-87bf7089.js → progress-widget-d3e2e116.js} +30 -29
  128. package/{property-base-9cb6f0af.js → property-base-eaed8cbe.js} +15 -16
  129. package/px-8e97b0e9.js +10 -0
  130. package/{qrcode-widget-e8a010b5.js → qrcode-widget-3ea4613b.js} +29 -28
  131. package/{radio-widget-d3d350f1.js → radio-widget-63540761.js} +33 -32
  132. package/{range-widget-0c8453ad.js → range-widget-e115e075.js} +30 -29
  133. package/{rate-widget-7c9f360b.js → rate-widget-2af29296.js} +24 -23
  134. package/{reg-editor.vue_vue_type_script_setup_true_lang-472581e2.js → reg-editor.vue_vue_type_script_setup_true_lang-420ed8ba.js} +4 -4
  135. package/{result-widget-c1ae2079.js → result-widget-e4217327.js} +23 -22
  136. package/{rich-editor-widget-31f4fd68.js → rich-editor-widget-e42dc6a2.js} +30 -29
  137. package/{router-widget-2889ec23.js → router-widget-7859980a.js} +22 -21
  138. package/{schemaData-7d14e9de.js → schemaData-602ab58d.js} +70 -69
  139. package/{segmented-widget-21f8a5c8.js → segmented-widget-4d90e11a.js} +40 -39
  140. package/{select-widget-f2e60d59.js → select-widget-268e6778.js} +24 -23
  141. package/{sfc-ca2f1573.js → sfc-c8bdbcc3.js} +32 -32
  142. package/{sfcview-79a20801.js → sfcview-7f974f98.js} +24 -23
  143. package/{share-editor-79be0fe3.js → share-editor-3caefde2.js} +55 -54
  144. package/{share-event-77717d69.js → share-event-0ac319f0.js} +2 -2
  145. package/share-field-f51ccb41.js +863 -0
  146. package/{share-file-bc8f56f8.js → share-file-ea94d84e.js} +20 -21
  147. package/size-editor-511e40a5.js +57 -0
  148. package/{skeleton-widget-c593fe7a.js → skeleton-widget-379c1a23.js} +25 -24
  149. package/{skeletonItem-widget-4550c4fe.js → skeletonItem-widget-70f95048.js} +22 -21
  150. package/{slider-widget-74a31030.js → slider-widget-e16ceea7.js} +24 -23
  151. package/{slot-2cdc3b54.js → slot-a11ba403.js} +5 -5
  152. package/{space-widget-ffc9eabc.js → space-widget-79e1ee5e.js} +40 -39
  153. package/{splitter-widget-fca00f2b.js → splitter-widget-6cde3a4c.js} +23 -22
  154. package/{static-text-widget-c682f482.js → static-text-widget-48a223a0.js} +23 -22
  155. package/{statistic-widget-1a8051c0.js → statistic-widget-04dbb84c.js} +25 -24
  156. package/{steps-widget-a445a201.js → steps-widget-ff9c8112.js} +22 -21
  157. package/{subMenu-widget-87d583a9.js → subMenu-widget-75b5b885.js} +10 -9
  158. package/{subMenu-widget.vue_vue_type_script_setup_true_lang-0255e3d5.js → subMenu-widget.vue_vue_type_script_setup_true_lang-dff950d1.js} +18 -18
  159. package/{switch-widget-de893bf9.js → switch-widget-b4dfb30f.js} +29 -28
  160. package/{tab-pane-widget-a7374d75.js → tab-pane-widget-12393cec.js} +1 -1
  161. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-434f9cf7.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-07a3da71.js} +5 -5
  162. package/table-col-widget-565631d2.js +30 -0
  163. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-8c799d0f.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-b83a4a39.js} +26 -27
  164. package/{table-widget-05b53a5f.js → table-widget-dba1ef32.js} +50 -48
  165. package/{tabs-widget-65ed6426.js → tabs-widget-8d497cb7.js} +8 -8
  166. package/{tag-widget-85bcce8f.js → tag-widget-7c023bb0.js} +25 -24
  167. package/{target-code-9a4699b1.js → target-code-24346bfc.js} +12 -11
  168. package/{target-datasource-94c64cbb.js → target-datasource-14df6047.js} +66 -65
  169. package/{target-link-88b4fd89.js → target-link-9472348b.js} +56 -55
  170. package/{target-saveForm-e1115d3f.js → target-saveForm-ddd0b24a.js} +71 -70
  171. package/{target-widget-5cf4403e.js → target-widget-426dbfe8.js} +2 -2
  172. package/{target-window-fb793bc8.js → target-window-bb03d3b5.js} +24 -23
  173. package/{text-widget-dd4f6b97.js → text-widget-e241f6be.js} +25 -24
  174. package/{textarea-widget-953b39e8.js → textarea-widget-5c288e26.js} +24 -23
  175. package/{time-picker-range-widget-30903551.js → time-picker-range-widget-4c18e0cf.js} +35 -35
  176. package/time-picker-widget-1e695b27.js +72 -0
  177. package/{time-select-widget-4dbe95ff.js → time-select-widget-055a902a.js} +24 -23
  178. package/{timeline-widget-476e9ea8.js → timeline-widget-881bf090.js} +23 -22
  179. package/{tmpl-widget-2cbd418b.js → tmpl-widget-f1bdf0a4.js} +36 -35
  180. package/{tooltip-widget-8b022a6d.js → tooltip-widget-32af6ae1.js} +23 -22
  181. package/{tour-widget-be2ef78d.js → tour-widget-18697c7d.js} +37 -36
  182. package/{transfer-widget-31ea801d.js → transfer-widget-04bb21a2.js} +25 -24
  183. package/{tree-select-widget-691c9cb6.js → tree-select-widget-4c63a180.js} +24 -23
  184. package/{tree-widget-15cddec7.js → tree-widget-9a8da624.js} +31 -30
  185. package/uuid-1013bfdd.js +16 -0
  186. package/{value-editor-676d7ca0.js → value-editor-ad4a9472.js} +29 -27
  187. package/{verifycode-widget-2cbb68e2.js → verifycode-widget-1e2f11f6.js} +49 -48
  188. package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ddcbea59.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b7eb5c4b.js} +30 -30
  189. package/{wrapper-widget-40c40291.js → wrapper-widget-03be4616.js} +7 -7
  190. package/avatar-widget-00d2f77a.js +0 -48
  191. package/common-editor-96af86ea.js +0 -28
  192. package/content-wrapper-feb05971.js +0 -18
  193. package/countdown-widget-87ab2577.js +0 -60
  194. package/cssIndex-77da0ec7.js +0 -185
  195. package/default-slot-widget-4be80302.js +0 -32
  196. package/dialog-widget-bae25ba7.js +0 -40
  197. package/divider-widget-643e5787.js +0 -54
  198. package/drawer-widget-73902c82.js +0 -40
  199. package/feedback-widget-90fe8e26.js +0 -33
  200. package/iframe-widget-c6d453cc.js +0 -137
  201. package/image-editor-1e8036ad.js +0 -53
  202. package/index-08436ce4.js +0 -1445
  203. package/index-1c33c886.js +0 -230
  204. package/index-54eed7c3.js +0 -334
  205. package/index-64486ab5.js +0 -43
  206. package/index-fa15e4c8.js +0 -240
  207. package/index-fc1c67a3.js +0 -46
  208. package/multirow-89ec2174.js +0 -183
  209. package/obj-cc64f79c.js +0 -230
  210. package/setView-de8aaf40.js +0 -84
  211. package/share-field-4f3d4a0b.js +0 -879
  212. package/size-editor-99257b84.js +0 -54
  213. package/table-col-widget-35d0c1ba.js +0 -29
  214. package/time-picker-widget-3398f837.js +0 -71
  215. package/uuid-2f7814e3.js +0 -203
@@ -1,9 +1,9 @@
1
- var S = Object.defineProperty;
2
- var T = (e, t, a) => t in e ? S(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
3
- var s = (e, t, a) => (T(e, typeof t != "symbol" ? t + "" : t, a), a);
4
- import { i as p, c as E, e as y, g as u } from "./obj-cc64f79c.js";
5
- import { isRef as m, watch as w, isReactive as C, toRaw as d } from "vue";
6
- var A = {
1
+ var M = Object.defineProperty;
2
+ var k = (e, t, r) => t in e ? M(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
+ var S = (e, t, r) => (k(e, typeof t != "symbol" ? t + "" : t, r), r);
4
+ import { c as B, d as E, i as f, e as H, b as U, o as V } from "./object-751045cf.js";
5
+ import { isRef as N, watch as G, isReactive as W, toRaw as w } from "vue";
6
+ var K = {
7
7
  name: "zh-cn",
8
8
  el: {
9
9
  breadcrumb: { label: "面包屑" },
@@ -179,7 +179,7 @@ var A = {
179
179
  }
180
180
  }
181
181
  };
182
- const v = {
182
+ const z = {
183
183
  application: {
184
184
  "zh-CN": "简体中文",
185
185
  productTitle: "页面设计器"
@@ -1603,7 +1603,11 @@ vars:页面设置中的全局变量`,
1603
1603
  hideTimestamp: "隐藏时间戳",
1604
1604
  hollow: "空心点",
1605
1605
  showSuspense: "渲染时显示骨屏架",
1606
- urlFormatter: "url格式化"
1606
+ urlFormatter: "url格式化",
1607
+ splitter_resizeStart: "开始调整大小时",
1608
+ splitter_resize: "调整大小时",
1609
+ splitter_resizeEnd: "调整大小结束时",
1610
+ splitter_collapse: "当面板折叠时"
1607
1611
  },
1608
1612
  expression: {
1609
1613
  helpers_custom: "常用函数",
@@ -2233,7 +2237,7 @@ vars:页面设置中的全局变量`,
2233
2237
  codeEdit: "源代码编辑"
2234
2238
  }
2235
2239
  }
2236
- }, x = {
2240
+ }, Y = {
2237
2241
  render: {
2238
2242
  hint: {
2239
2243
  prompt: "提示",
@@ -2283,7 +2287,7 @@ vars:页面设置中的全局变量`,
2283
2287
  // nonSubFormType: '组件类型不是子表单'
2284
2288
  }
2285
2289
  }
2286
- }, I = {
2290
+ }, J = {
2287
2291
  extension: {
2288
2292
  // widgetLabel: {
2289
2293
  // card: '卡片',
@@ -2304,7 +2308,7 @@ vars:页面设置中的全局变量`,
2304
2308
  // effect: '显示效果'
2305
2309
  // }
2306
2310
  }
2307
- }, N = {
2311
+ }, q = {
2308
2312
  ace: {
2309
2313
  hint: {
2310
2314
  allRefList: "获取所有组件实例",
@@ -3076,31 +3080,36 @@ hldownload("打印模板uuid"|"打印模板uuid"[],{test:1},{apiUrl:"接口地
3076
3080
  * @returns
3077
3081
  */
3078
3082
  hlpreview("打印模板uuid"|"打印模板uuid"[],{test:1},{apiUrl:"接口地址"},{pageSizeByUnion:true,mode:"preview"}):promise[bool]`
3083
+ },
3084
+ config: {
3085
+ getField: "获取组件原始配置",
3086
+ getOneSchemaData: "查询数据源",
3087
+ 查询多个数据源: "getSchemaDatas"
3079
3088
  }
3080
3089
  }
3081
3090
  };
3082
- function W(e) {
3091
+ function de(e) {
3083
3092
  return e;
3084
3093
  }
3085
- function K(e, t) {
3086
- return t === !0 ? P(e) : R(e);
3094
+ function ue(e, t) {
3095
+ return t === !0 ? Q(e) : j(e);
3087
3096
  }
3088
- function R(e) {
3089
- if (!p(e))
3097
+ function j(e) {
3098
+ if (e != null)
3090
3099
  return Array.isArray(e) ? e == null ? void 0 : e[0] : e;
3091
3100
  }
3092
- function P(e) {
3093
- if (!p(e))
3101
+ function Q(e) {
3102
+ if (e != null)
3094
3103
  return [].concat(e);
3095
3104
  }
3096
- function Y(e, t = !1) {
3097
- var a = Number(e);
3098
- return isNaN(a) ? t ? e : void 0 : a;
3105
+ function pe(e, t = !1) {
3106
+ var r = Number(e);
3107
+ return isNaN(r) ? t ? e : void 0 : r;
3099
3108
  }
3100
- class O {
3109
+ class X {
3101
3110
  constructor(t) {
3102
- s(this, "enabled");
3103
- s(this, "prefix");
3111
+ S(this, "enabled");
3112
+ S(this, "prefix");
3104
3113
  this.enabled = t.enabled ?? !1, this.prefix = t.prefix || "[HLForm]";
3105
3114
  }
3106
3115
  // 核心方法:如果未启用,直接返回,零性能损耗
@@ -3115,77 +3124,77 @@ class O {
3115
3124
  this.enabled = t.enabled, this.prefix = t.prefix || this.prefix;
3116
3125
  }
3117
3126
  }
3118
- const z = Symbol("GlobalLogger"), D = !0, l = new O({ enabled: !D }), J = (e) => m(e) ? e == null ? void 0 : e.value : e, q = (e) => L(g(e)), Q = (e) => {
3119
- if (E(e))
3120
- return e.then((a) => a);
3121
- if (!m(e))
3127
+ const me = Symbol("GlobalLogger"), $ = !0, _ = new X({ enabled: !$ }), fe = (e) => N(e) ? e == null ? void 0 : e.value : e, ge = (e) => Z(v(e)), he = (e) => {
3128
+ if (B(e))
3129
+ return e.then((r) => r);
3130
+ if (!N(e))
3122
3131
  return Promise.resolve(e);
3123
3132
  const t = e.value;
3124
- return t != null ? Promise.resolve(t) : new Promise((a) => {
3125
- const r = w(() => e.value, (n) => {
3126
- n != null && (r(), a(n));
3133
+ return t != null ? Promise.resolve(t) : new Promise((r) => {
3134
+ const a = G(() => e.value, (n) => {
3135
+ n != null && (a(), r(n));
3127
3136
  }, { immediate: !0 });
3128
3137
  });
3129
3138
  };
3130
- function c(e, t = /* @__PURE__ */ new WeakMap()) {
3131
- if (typeof e != "object" || e === null || !C(e))
3139
+ function b(e, t = /* @__PURE__ */ new WeakMap()) {
3140
+ if (typeof e != "object" || e === null || !W(e))
3132
3141
  return e;
3133
3142
  if (t.has(e))
3134
3143
  return t.get(e);
3135
- const a = d(e) || e, r = Array.isArray(a) ? [] : {};
3136
- if (t.set(e, r), Array.isArray(a)) {
3137
- for (let o = 0; o < a.length; o++)
3138
- r[o] = c(a[o], t);
3139
- return r;
3144
+ const r = w(e) || e, a = Array.isArray(r) ? [] : {};
3145
+ if (t.set(e, a), Array.isArray(r)) {
3146
+ for (let o = 0; o < r.length; o++)
3147
+ a[o] = b(r[o], t);
3148
+ return a;
3140
3149
  }
3141
- const n = Reflect.ownKeys(a);
3150
+ const n = Reflect.ownKeys(r);
3142
3151
  for (const o of n) {
3143
- const b = a[o];
3144
- r[o] = c(b, t);
3152
+ const l = r[o];
3153
+ a[o] = b(l, t);
3145
3154
  }
3146
- return r;
3155
+ return a;
3147
3156
  }
3148
- const L = (e, t) => {
3149
- const a = d(e);
3150
- if (a == null || a === "")
3157
+ const Z = (e, t) => {
3158
+ const r = w(e);
3159
+ if (r == null || r === "")
3151
3160
  return null;
3152
3161
  try {
3153
- return typeof a == "string" ? JSON.parse(a, t) : typeof a == "object" || (a == null ? void 0 : a.constructor) === Object ? a : null;
3154
- } catch (r) {
3155
- return l.error("JSON.parse", r, { text: e }), null;
3162
+ return typeof r == "string" ? JSON.parse(r, t) : typeof r == "object" || (r == null ? void 0 : r.constructor) === Object ? r : null;
3163
+ } catch (a) {
3164
+ return _.error("JSON.parse", a, { text: e }), null;
3156
3165
  }
3157
- }, g = (e, t, a) => {
3158
- const r = d(e);
3159
- if (r === "" || r === null || r === void 0)
3166
+ }, v = (e, t, r) => {
3167
+ const a = w(e);
3168
+ if (a === "" || a === null || a === void 0)
3160
3169
  return "";
3161
- if (typeof r == "string")
3162
- return r;
3170
+ if (typeof a == "string")
3171
+ return a;
3163
3172
  try {
3164
- return JSON.stringify(r, t, a);
3173
+ return JSON.stringify(a, t, r);
3165
3174
  } catch (n) {
3166
- return l.error("JSON.stringify", n, e), "";
3175
+ return _.error("JSON.stringify", n, e), "";
3167
3176
  }
3168
- }, X = (e) => {
3177
+ }, _e = (e) => {
3169
3178
  if (e === "" || e === null || e === void 0)
3170
3179
  return !1;
3171
3180
  try {
3172
- if (y(e))
3181
+ if (E(e))
3173
3182
  return !0;
3174
3183
  const t = JSON.parse(e);
3175
3184
  return !!(t && typeof t == "object");
3176
3185
  } catch (t) {
3177
- return l.error("JSON.parse", t, e), !1;
3186
+ return _.error("JSON.parse", t, e), !1;
3178
3187
  }
3179
- }, $ = (e) => {
3188
+ }, ye = (e) => {
3180
3189
  if (e === "" || e === null || e === void 0)
3181
3190
  return null;
3182
3191
  try {
3183
3192
  const t = JSON.stringify(e);
3184
3193
  return JSON.parse(t);
3185
3194
  } catch (t) {
3186
- return l.error("cloneObj", t, { data: e }), c(e);
3195
+ return _.error("cloneObj", t, { data: e }), b(e);
3187
3196
  }
3188
- }, f = {
3197
+ }, R = {
3189
3198
  /**
3190
3199
  * 获取缓存
3191
3200
  * @param key 存储名称
@@ -3200,7 +3209,7 @@ const L = (e, t) => {
3200
3209
  * @param value 存储内容
3201
3210
  */
3202
3211
  set(e, t) {
3203
- typeof t == "object" ? localStorage.setItem(e, g(t)) : localStorage.setItem(e, String(t));
3212
+ typeof t == "object" ? localStorage.setItem(e, v(t)) : localStorage.setItem(e, String(t));
3204
3213
  },
3205
3214
  /**
3206
3215
  * 移除缓存
@@ -3209,75 +3218,266 @@ const L = (e, t) => {
3209
3218
  remove(e) {
3210
3219
  localStorage.removeItem(e);
3211
3220
  }
3212
- }, F = {
3221
+ };
3222
+ function Te(e, t = 0, r = {}) {
3223
+ if (typeof e != "function")
3224
+ throw new TypeError("Expected a function");
3225
+ const { leading: a = !0, trailing: n = !0 } = r;
3226
+ !a && !n && console.warn("Both leading and trailing options are false. Function will never be called.");
3227
+ let o = null, l = null, s = null, u = 0, c = 0;
3228
+ function i(...g) {
3229
+ const d = Date.now();
3230
+ o = g, l = this;
3231
+ const T = d - u, L = d - c;
3232
+ if (u = d, c === 0 || // 第一次调用
3233
+ T >= t || // 超过等待时间
3234
+ T < 0 || L >= t && n)
3235
+ s && (clearTimeout(s), s = null), c = d, e.apply(l, o);
3236
+ else if (!s && n) {
3237
+ const F = t - T;
3238
+ s = setTimeout(() => {
3239
+ c = Date.now(), s = null, o && (e.apply(l, o), o = null, l = null);
3240
+ }, F);
3241
+ }
3242
+ }
3243
+ function p() {
3244
+ s && (clearTimeout(s), s = null), o = null, l = null, c = 0, u = 0;
3245
+ }
3246
+ function y() {
3247
+ s && (clearTimeout(s), s = null, o && (c = Date.now(), e.apply(l, o), o = null, l = null));
3248
+ }
3249
+ return i.cancel = p, i.flush = y, i;
3250
+ }
3251
+ function m(e, t, r = []) {
3252
+ if (e === t || e !== e && t !== t)
3253
+ return !0;
3254
+ const a = typeof e;
3255
+ return a !== typeof t ? !1 : e == null || t == null || a === "function" ? e === t : a !== "object" ? !1 : ee(e, t);
3256
+ }
3257
+ function ee(e, t, r = []) {
3258
+ const a = r.length;
3259
+ for (let i = 0; i < a; i += 2)
3260
+ if (r[i] === e && r[i + 1] === t)
3261
+ return !0;
3262
+ if (r.push(e, t), Array.isArray(e)) {
3263
+ if (!Array.isArray(t) || e.length !== t.length)
3264
+ return !1;
3265
+ for (let i = 0; i < e.length; i++)
3266
+ if (!m(e[i], t[i], r))
3267
+ return !1;
3268
+ return r.pop(), r.pop(), !0;
3269
+ }
3270
+ if (e instanceof Date && t instanceof Date) {
3271
+ const i = e.getTime() === t.getTime();
3272
+ return r.pop(), r.pop(), i;
3273
+ }
3274
+ if (e instanceof RegExp && t instanceof RegExp) {
3275
+ const i = e.source === t.source && e.flags === t.flags;
3276
+ return r.pop(), r.pop(), i;
3277
+ }
3278
+ if (e instanceof Map && t instanceof Map) {
3279
+ if (e.size !== t.size)
3280
+ return !1;
3281
+ for (const [i, p] of e)
3282
+ if (!t.has(i) || !m(p, t.get(i), r))
3283
+ return !1;
3284
+ return r.pop(), r.pop(), !0;
3285
+ }
3286
+ if (e instanceof Set && t instanceof Set) {
3287
+ if (e.size !== t.size)
3288
+ return !1;
3289
+ const i = Array.from(e), p = Array.from(t);
3290
+ for (const y of i) {
3291
+ let g = !1;
3292
+ for (const d of p)
3293
+ if (m(y, d, r)) {
3294
+ g = !0;
3295
+ break;
3296
+ }
3297
+ if (!g)
3298
+ return !1;
3299
+ }
3300
+ return r.pop(), r.pop(), !0;
3301
+ }
3302
+ if (C(e) && C(t)) {
3303
+ const i = te(e, t);
3304
+ return r.pop(), r.pop(), i;
3305
+ }
3306
+ const n = Object.keys(e), o = Object.keys(t), l = Object.getOwnPropertySymbols(e), s = Object.getOwnPropertySymbols(t);
3307
+ if (n.length + l.length !== o.length + s.length)
3308
+ return r.pop(), r.pop(), !1;
3309
+ for (const i of [...n, ...l])
3310
+ if (!m(e[i], t[i], r))
3311
+ return r.pop(), r.pop(), !1;
3312
+ const u = Object.getPrototypeOf(e), c = Object.getPrototypeOf(t);
3313
+ return u !== c ? (r.pop(), r.pop(), !1) : (r.pop(), r.pop(), !0);
3314
+ }
3315
+ function C(e) {
3316
+ 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;
3317
+ }
3318
+ function te(e, t) {
3319
+ if (e.byteLength !== t.byteLength)
3320
+ return !1;
3321
+ if (e instanceof ArrayBuffer && t instanceof ArrayBuffer) {
3322
+ const r = new Uint8Array(e), a = new Uint8Array(t);
3323
+ for (let n = 0; n < r.length; n++)
3324
+ if (r[n] !== a[n])
3325
+ return !1;
3326
+ return !0;
3327
+ }
3328
+ if (e instanceof DataView || t instanceof DataView) {
3329
+ for (let r = 0; r < e.byteLength; r++)
3330
+ if (e.getUint8(r) !== t.getUint8(r))
3331
+ return !1;
3332
+ return !0;
3333
+ }
3334
+ for (let r = 0; r < e.length; r++)
3335
+ if (e[r] !== t[r])
3336
+ return !1;
3337
+ return !0;
3338
+ }
3339
+ function D(e = {}, t = {}, r = !0) {
3340
+ let a;
3341
+ if (t == null)
3342
+ return e;
3343
+ if (e === null)
3344
+ return t;
3345
+ f(e) && (e = Array.isArray(t) ? [] : {});
3346
+ for (a in t) {
3347
+ var n = e[a], o = t[a];
3348
+ m(n, o) || (!f(n) && E(n) && (!r || !H(n)) ? e[a] = D(n, o, r) : e[a] = o);
3349
+ }
3350
+ return e;
3351
+ }
3352
+ function re(e, t, r) {
3353
+ for (const a in e)
3354
+ if (e.hasOwnProperty(a)) {
3355
+ const n = e[a];
3356
+ if (t(e, a, n), r != null && r(e, a, n))
3357
+ continue;
3358
+ typeof n == "object" && n !== null && re(n, t, r);
3359
+ }
3360
+ }
3361
+ const A = (e) => {
3362
+ if (e == null || e == null)
3363
+ return e;
3364
+ function t(n) {
3365
+ return n.map((o) => A(o));
3366
+ }
3367
+ function r(n) {
3368
+ let o = null;
3369
+ if (n instanceof Date)
3370
+ return new Date(n.getTime());
3371
+ if (n) {
3372
+ o = {};
3373
+ for (let l in n)
3374
+ o[l] = A(n[l]);
3375
+ o.__proto__ = Object.getPrototypeOf(n);
3376
+ }
3377
+ return o;
3378
+ }
3379
+ const a = e;
3380
+ return E(a) ? Array.isArray(a) ? t(a) : r(a) : a;
3381
+ }, I = (e, t) => {
3382
+ var n;
3383
+ if (f(t) || t === "")
3384
+ return e;
3385
+ const r = (n = t == null ? void 0 : t.trim()) == null ? void 0 : n.split(".");
3386
+ var a = e;
3387
+ return r == null || r.forEach((o) => {
3388
+ var l = a == null ? void 0 : a[o];
3389
+ a = !f(a) && !f(l) ? l : null;
3390
+ }), a;
3391
+ }, Se = (e, t, r, a = !1) => {
3392
+ if (!e || !t || a && U(r))
3393
+ return;
3394
+ const n = { [t]: r };
3395
+ return D(e, n), e;
3396
+ };
3397
+ function be(e) {
3398
+ var t;
3399
+ e && ((t = V(e)) == null || t.forEach((r) => delete e[r]));
3400
+ }
3401
+ function x(e, t) {
3402
+ return !e || typeof e != "object" ? e : Array.isArray(e) ? e.map((r) => x(r, t)) : Object.keys(e).reduce((r, a) => {
3403
+ const n = e[a];
3404
+ return t(a, n) || (typeof n == "object" && n !== null ? r[a] = x(n, t) : r[a] = n), r;
3405
+ }, {});
3406
+ }
3407
+ const ae = {
3213
3408
  "zh-CN": {
3214
3409
  custionLocale: {},
3215
- ...A,
3216
- ...v,
3217
- ...x,
3218
- ...I,
3219
- ...N
3410
+ ...K,
3411
+ ...z,
3412
+ ...Y,
3413
+ ...J,
3414
+ ...q
3220
3415
  }
3221
- }, h = "v_form_locale", _ = function() {
3222
- return { lang: f.get(h) || "zh-CN" };
3223
- }, k = function(e) {
3224
- i.setLang(e), f.set(h, e);
3225
- }, Z = () => {
3226
- let e = _();
3227
- k(e == null ? void 0 : e.lang);
3228
- }, i = M({
3229
- locale: _(),
3230
- messages: F
3416
+ }, O = "v_form_locale", P = function() {
3417
+ return { lang: R.get(O) || "zh-CN" };
3418
+ }, ne = function(e) {
3419
+ h.setLang(e), R.set(O, e);
3420
+ }, Ee = () => {
3421
+ let e = P();
3422
+ ne(e == null ? void 0 : e.lang);
3423
+ }, h = oe({
3424
+ locale: P(),
3425
+ messages: ae
3231
3426
  });
3232
- function M(e) {
3427
+ function oe(e) {
3233
3428
  return {
3234
3429
  messages: e.messages,
3235
3430
  locale: e.locale,
3236
- $st(t, a = !0, ...r) {
3431
+ $st(t, r = !0, ...a) {
3237
3432
  t = t == null ? void 0 : t.trim();
3238
3433
  let n = this.messages[this.locale.lang];
3239
- const o = u(n, t);
3240
- return typeof o == "function" ? o(...r) : o !== null ? o : a ? t : "";
3434
+ const o = I(n, t);
3435
+ return typeof o == "function" ? o(...a) : o !== null ? o : r ? t : "";
3241
3436
  },
3242
- $st2(t, a) {
3243
- let r = this.messages[this.locale.lang];
3244
- const n = u(r, t);
3245
- return n !== null ? n : this.$st(a);
3437
+ $st2(t, r) {
3438
+ let a = this.messages[this.locale.lang];
3439
+ const n = I(a, t);
3440
+ return n !== null ? n : this.$st(r);
3246
3441
  },
3247
3442
  setLang(t) {
3248
3443
  this.locale.lang = t;
3249
3444
  }
3250
3445
  };
3251
3446
  }
3252
- const ee = function(e) {
3253
- return i.$st(e);
3254
- }, te = {
3447
+ const we = function(e) {
3448
+ return h.$st(e);
3449
+ }, Ce = {
3255
3450
  i18nt(e, t = !0) {
3256
- return e ? i.$st(e, t) : "";
3451
+ return e ? h.$st(e, t) : "";
3257
3452
  },
3258
3453
  i18n2t(e, t) {
3259
- return i.$st2(e, t);
3454
+ return h.$st2(e, t);
3260
3455
  }
3261
3456
  };
3262
- var H = /* @__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))(H || {}), B = /* @__PURE__ */ ((e) => (e.typescript = "typescript", e.javascript = "javascript", e.css = "css", e.html = "html", e.json = "json", e.sql = "sql", e.text = "text", e))(B || {}), U = /* @__PURE__ */ ((e) => (e.sysVar = "sysVar", e.sysFunc = "sysFunc", e.sysData = "sysData", e.schema = "schema", e))(U || {});
3263
3457
  export {
3264
- H as B,
3265
- B as C,
3266
- z as L,
3267
- te as a,
3268
- Y as b,
3269
- W as c,
3270
- g as d,
3271
- f as e,
3272
- L as f,
3273
- X as g,
3274
- J as h,
3275
- Z as i,
3276
- $ as j,
3277
- ee as k,
3278
- l,
3279
- q as r,
3280
- U as s,
3281
- K as t,
3282
- Q as w
3458
+ me as L,
3459
+ Ce as a,
3460
+ Te as b,
3461
+ de as c,
3462
+ D as d,
3463
+ A as e,
3464
+ Z as f,
3465
+ be as g,
3466
+ m as h,
3467
+ Ee as i,
3468
+ pe as j,
3469
+ v as k,
3470
+ _ as l,
3471
+ R as m,
3472
+ _e as n,
3473
+ fe as o,
3474
+ re as p,
3475
+ ye as q,
3476
+ ge as r,
3477
+ Se as s,
3478
+ ue as t,
3479
+ I as u,
3480
+ x as v,
3481
+ he as w,
3482
+ we as x
3283
3483
  };
@@ -0,0 +1,83 @@
1
+ import { defineComponent as u, ref as f, openBlock as _, createBlock as g, unref as v } from "vue";
2
+ import { I as x } from "./property-base-eaed8cbe.js";
3
+ import { u as C } from "./share-editor-3caefde2.js";
4
+ import { a as P, P as i } from "./baseCommonField-607f46b1.js";
5
+ import { s as V } from "./schemaData-602ab58d.js";
6
+ import { _ as h } from "./_plugin-vue_export-helper-dad06003.js";
7
+ import "./enum-669d691c.js";
8
+ import "./index-0fea97a8.js";
9
+ import "./object-751045cf.js";
10
+ import "./baseDataType-af503f9f.js";
11
+ import "./expression-185552e1.js";
12
+ import "./source-map-b04aec4a.js";
13
+ import "./uuid-1013bfdd.js";
14
+ import "./_commonjsHelpers-e7ea1525.js";
15
+ import "./esprima-e8d15055.js";
16
+ import "./codeType-e06c2bb4.js";
17
+ import "./icon-8b8b9744.js";
18
+ import "axios";
19
+ import "./dialog-abd1055d.js";
20
+ import "element-plus";
21
+ import "./index-6bcfdc22.js";
22
+ import "./install-designer-90c18b43.js";
23
+ import "./cont-cell-widget-d44e04d3.js";
24
+ import "./cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-b5288fd3.js";
25
+ import "./widget-base-df734ada.js";
26
+ import "./drag-wrapper-a7ac11e7.js";
27
+ import "./index-a1324d15.js";
28
+ import "./optionItem-8e1d0080.js";
29
+ import "./index-61d6c848.js";
30
+ import "./globalProvideInject-f72c46e1.js";
31
+ import "./slot-a11ba403.js";
32
+ import "./index-8cfb6a9c.js";
33
+ import "./cssClass-1492660e.js";
34
+ import "./share-field-f51ccb41.js";
35
+ import "./emitter-752d9612.js";
36
+ import "./multirow-7d028dd0.js";
37
+ import "./cont-widget-18cd3de8.js";
38
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b7eb5c4b.js";
39
+ import "./index-a565454e.js";
40
+ import "./fieldobj-097a7c28.js";
41
+ import "./form-widget-3e609e45.js";
42
+ import "./loading-4a13a1bc.js";
43
+ import "./grid-col-widget-07f9934e.js";
44
+ import "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-e758879c.js";
45
+ import "./grid-widget-fcdf2ff1.js";
46
+ import "./ltable-col-widget-85158af5.js";
47
+ import "./ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-d200a6a8.js";
48
+ import "./ltable-widget-58330976.js";
49
+ import "./tab-pane-widget-12393cec.js";
50
+ import "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-07a3da71.js";
51
+ import "./tabs-widget-8d497cb7.js";
52
+ import "./wrapper-widget-03be4616.js";
53
+ import "./index-cd781075.js";
54
+ import "./mask-38100676.js";
55
+ import "./index-fcc4373b.js";
56
+ import "./color-bae04003.js";
57
+ import "./px-8e97b0e9.js";
58
+ const y = /* @__PURE__ */ u({
59
+ __name: "index",
60
+ props: {
61
+ ...x,
62
+ widgetList: { type: Array }
63
+ },
64
+ setup(m, { expose: e }) {
65
+ var r;
66
+ const o = m, { propClearVariable: a } = C(o), { loadSchemaData: s } = P({ pageConfig: o.pageConfig }), l = i.getSchemaData(i.get(o.optionModel, (r = o.propConfig) == null ? void 0 : r.name)), t = f(l), n = s();
67
+ return e({
68
+ save: () => t.value,
69
+ clear: () => {
70
+ a();
71
+ }
72
+ }), (c, p) => (_(), g(V, {
73
+ "schema-list": v(n),
74
+ "all-fields": c.widgetList,
75
+ modelValue: t.value,
76
+ "onUpdate:modelValue": p[0] || (p[0] = (d) => t.value = d)
77
+ }, null, 8, ["schema-list", "all-fields", "modelValue"]));
78
+ }
79
+ });
80
+ const Bo = /* @__PURE__ */ h(y, [["__scopeId", "data-v-3be8c897"]]);
81
+ export {
82
+ Bo as default
83
+ };