hlrender 0.0.249 → 0.0.251

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 (125) hide show
  1. package/{_pdf-c7a8dc5c.js → _pdf-cb2a31ab.js} +2 -2
  2. package/{_txt-ed537805.js → _txt-391e502f.js} +2 -2
  3. package/{affix-widget-45213c27.js → affix-widget-d0b42bdf.js} +10 -10
  4. package/{alert-widget-115961d7.js → alert-widget-c1558d02.js} +10 -10
  5. package/{anchor-widget-3e4ab1f0.js → anchor-widget-c2d2be95.js} +7 -7
  6. package/{auto-complete-widget-711a9b79.js → auto-complete-widget-8c026611.js} +9 -9
  7. package/{avatar-widget-32febad5.js → avatar-widget-339334b4.js} +10 -10
  8. package/{backtop-widget-981be562.js → backtop-widget-bd30cda7.js} +10 -10
  9. package/{badge-widget-c4b3fa0e.js → badge-widget-6bbc715a.js} +10 -10
  10. package/{barcode-widget-976e72ec.js → barcode-widget-12e02ccd.js} +7 -7
  11. package/{baseImp-bb323303.js → baseImp-9c1c3476.js} +2 -2
  12. package/{breadcrumb-widget-29191aec.js → breadcrumb-widget-928a6248.js} +7 -7
  13. package/{button-widget-a7a3c1a6.js → button-widget-9d8ccc3c.js} +10 -10
  14. package/{cache-widget-aedd240d.js → cache-widget-a9ec7c5d.js} +8 -8
  15. package/{card-widget-70faaaec.js → card-widget-d5f16ee6.js} +8 -8
  16. package/{carousel-widget-648d464b.js → carousel-widget-153c1c46.js} +8 -8
  17. package/{cascader-widget-811067ff.js → cascader-widget-63d24f6b.js} +8 -8
  18. package/{chart-widget-ea492a07.js → chart-widget-0a1fa896.js} +7 -7
  19. package/{checkbox-widget-196a55b3.js → checkbox-widget-f69203a4.js} +8 -8
  20. package/{collapse-widget-93cee9c9.js → collapse-widget-54bd3ca2.js} +8 -8
  21. package/{color-picker-widget-1a90ee74.js → color-picker-widget-82710478.js} +8 -8
  22. package/{cont-cell-widget-5d2102f6.js → cont-cell-widget-b62c363d.js} +1 -1
  23. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-5888607d.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-dd0ad1c8.js} +5 -5
  24. package/{cont-widget-f4620d0d.js → cont-widget-e828e64a.js} +5 -5
  25. package/{content-wrapper-1e0bc2b7.js → content-wrapper-8467d706.js} +3 -3
  26. package/{content-wrapper.vue_vue_type_script_setup_true_lang-ea363bf5.js → content-wrapper.vue_vue_type_script_setup_true_lang-a0a33278.js} +2 -2
  27. package/{countdown-widget-125d198c.js → countdown-widget-70bd04dc.js} +10 -10
  28. package/{date-picker-range-widget-d4cd1db2.js → date-picker-range-widget-accecd35.js} +8 -8
  29. package/{date-picker-widget-4df25f35.js → date-picker-widget-3fd486d4.js} +8 -8
  30. package/{default-slot-widget-373fb900.js → default-slot-widget-78fba757.js} +8 -8
  31. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-0e47d408.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-7f447b6f.js} +5 -5
  32. package/{descriptions-widget-2067c26b.js → descriptions-widget-ffda8cd9.js} +8 -8
  33. package/{dialog-widget-c3c9b306.js → dialog-widget-a87e3248.js} +9 -9
  34. package/{divider-widget-b8a0d684.js → divider-widget-b0d5200a.js} +10 -10
  35. package/{drag-wrapper-4dd92bd6.js → drag-wrapper-c97acf25.js} +5 -5
  36. package/{drawer-widget-3f2ca895.js → drawer-widget-99367bc1.js} +9 -9
  37. package/{dropdown-widget-1575b141.js → dropdown-widget-31efc106.js} +8 -8
  38. package/{empty-widget-4fdb6ada.js → empty-widget-c411ff6b.js} +10 -10
  39. package/{expression-ce9920fa.js → expression-fb652f29.js} +1 -1
  40. package/{feedback-widget-3450209d.js → feedback-widget-f2d7e1db.js} +9 -9
  41. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-98047669.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-7f2bd815.js} +5 -5
  42. package/{file-upload-widget-c2c6b0a1.js → file-upload-widget-658a7002.js} +12 -12
  43. package/{form-item-wrapper-0c55cd05.js → form-item-wrapper-b34acfff.js} +4 -4
  44. package/form-widget-5e1a4cdc.js +235 -0
  45. package/{grid-col-widget-99fcb291.js → grid-col-widget-016ff9ea.js} +1 -1
  46. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-13fe1f20.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-10ad2a79.js} +5 -5
  47. package/{grid-widget-dfe416ed.js → grid-widget-a0084250.js} +5 -5
  48. package/{hcard-widget-16e7904c.js → hcard-widget-35819dc6.js} +8 -8
  49. package/{html-text-widget-cee1b077.js → html-text-widget-9217a694.js} +8 -8
  50. package/{icon-widget-6e897414.js → icon-widget-3b0072d6.js} +7 -7
  51. package/{iframe-widget-21eb9e79.js → iframe-widget-9cf03ad4.js} +7 -7
  52. package/{image-widget-6ca35f6d.js → image-widget-2a03bbd5.js} +7 -7
  53. package/{index-f1a0889e.js → index-4c98d500.js} +2 -2
  54. package/{input-number-widget-71259fd5.js → input-number-widget-258d7af8.js} +8 -8
  55. package/{input-tag-widget-119df21d.js → input-tag-widget-626718a5.js} +9 -9
  56. package/{input-widget-ab4e257b.js → input-widget-9224341e.js} +9 -9
  57. package/{link-widget-3142955f.js → link-widget-96065198.js} +10 -10
  58. package/{ltable-col-widget-8e2b357a.js → ltable-col-widget-75c1f835.js} +1 -1
  59. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-8307af6b.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-cdfa4779.js} +7 -7
  60. package/{ltable-widget-4b50f573.js → ltable-widget-f5a4ca42.js} +5 -5
  61. package/{mention-widget-8f6ac4e0.js → mention-widget-531a9884.js} +9 -9
  62. package/{menu-widget-90431960.js → menu-widget-80d0339b.js} +8 -8
  63. package/{model-widget-36e09346.js → model-widget-f445ee28.js} +7 -7
  64. package/{multirow-1063090e.js → multirow-55dfa7bf.js} +71 -71
  65. package/{multirow-widget-9a662d6f.js → multirow-widget-81a6cd69.js} +128 -128
  66. package/package.json +1 -1
  67. package/{pagination-widget-9b3054bf.js → pagination-widget-99971cc9.js} +7 -7
  68. package/{picture-upload-widget-3855c224.js → picture-upload-widget-cc9030a3.js} +9 -9
  69. package/{progress-widget-65c6c07c.js → progress-widget-2a526b23.js} +8 -8
  70. package/{qrcode-widget-bbd31f33.js → qrcode-widget-39ca3c3d.js} +7 -7
  71. package/{radio-widget-926c0ba1.js → radio-widget-29c9d2bf.js} +8 -8
  72. package/{range-widget-638cf55b.js → range-widget-c3367a2f.js} +9 -9
  73. package/{rate-widget-3173ff95.js → rate-widget-ea3079f1.js} +8 -8
  74. package/render.es.js +25 -25
  75. package/render.style.css +1 -1
  76. package/render.umd.js +325 -325
  77. package/{result-widget-70e4db33.js → result-widget-6bca64fe.js} +8 -8
  78. package/{rich-editor-widget-e9a59c4e.js → rich-editor-widget-32ea2042.js} +8 -8
  79. package/{router-widget-ca2b99db.js → router-widget-9599bfc9.js} +7 -7
  80. package/{segmented-widget-bc2e4530.js → segmented-widget-b060b1cc.js} +7 -7
  81. package/{select-widget-c03d727f.js → select-widget-45846558.js} +8 -8
  82. package/{sfc-dd434d0b.js → sfc-751c17f2.js} +4 -4
  83. package/{sfcview-cfd26217.js → sfcview-f2e4159b.js} +3 -3
  84. package/share-field-2e7f9b3a.js +819 -0
  85. package/{share-file-b4beb5b0.js → share-file-10c6d927.js} +3 -3
  86. package/{skeleton-widget-10baadb1.js → skeleton-widget-778dd090.js} +10 -10
  87. package/{skeletonItem-widget-aa1281c0.js → skeletonItem-widget-83f3417b.js} +7 -7
  88. package/{slider-widget-501a335d.js → slider-widget-92a94eec.js} +8 -8
  89. package/slot-44e26cb4.js +337 -0
  90. package/{space-widget-3658d4ba.js → space-widget-b9a576ec.js} +8 -8
  91. package/{splitter-widget-eef8be7c.js → splitter-widget-42bd96f8.js} +8 -8
  92. package/{static-text-widget-466da6b8.js → static-text-widget-5fd90f16.js} +8 -8
  93. package/{statistic-widget-9db7eff0.js → statistic-widget-073df406.js} +10 -10
  94. package/{steps-widget-c0926f24.js → steps-widget-ac6fffcd.js} +7 -7
  95. package/{subMenu-widget-053433b9.js → subMenu-widget-09b1a1c0.js} +3 -3
  96. package/{subMenu-widget.vue_vue_type_script_setup_true_lang-3a5390b6.js → subMenu-widget.vue_vue_type_script_setup_true_lang-27267c3d.js} +1 -1
  97. package/{switch-widget-a8c0010d.js → switch-widget-382153cd.js} +8 -8
  98. package/{tab-pane-widget-7b0f11f5.js → tab-pane-widget-67cdce85.js} +1 -1
  99. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-b0fb6a2b.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-95fbe638.js} +5 -5
  100. package/{table-col-widget-2521f42c.js → table-col-widget-df5f5451.js} +7 -7
  101. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-7c6e75cd.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-4d8dcf50.js} +4 -4
  102. package/{table-widget-c2cfcb11.js → table-widget-aee48dd6.js} +95 -94
  103. package/{tabs-widget-ebadc3f8.js → tabs-widget-ab3e15df.js} +6 -6
  104. package/{tag-widget-75622762.js → tag-widget-e9790079.js} +10 -10
  105. package/{text-widget-f4c126a3.js → text-widget-e588d0ac.js} +10 -10
  106. package/{textarea-widget-316b73a3.js → textarea-widget-881b9191.js} +8 -8
  107. package/{time-picker-range-widget-b32bf4c5.js → time-picker-range-widget-35811b8e.js} +8 -8
  108. package/{time-picker-widget-8fa671d0.js → time-picker-widget-81e0be45.js} +8 -8
  109. package/{time-select-widget-8eaa79a7.js → time-select-widget-2edc0d65.js} +8 -8
  110. package/{timeline-widget-f8f659d9.js → timeline-widget-b506c92c.js} +8 -8
  111. package/tmpl-widget-38c09700.js +97 -0
  112. package/{tooltip-widget-63dfa6e9.js → tooltip-widget-5a7b0934.js} +8 -8
  113. package/tour-widget-8fc644d9.js +148 -0
  114. package/{transfer-widget-32971695.js → transfer-widget-9a4a7cb4.js} +9 -9
  115. package/{tree-select-widget-45487101.js → tree-select-widget-442180b1.js} +8 -8
  116. package/{tree-widget-fe156721.js → tree-widget-1fdf704b.js} +7 -7
  117. package/{verifycode-widget-3ccc989a.js → verifycode-widget-f15a4328.js} +7 -7
  118. package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3748a4a5.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-21b0af7b.js} +3 -3
  119. package/wrapper-widget-c8fcd2f1.js +91 -0
  120. package/form-widget-4257b3a9.js +0 -229
  121. package/share-field-1e759a0d.js +0 -812
  122. package/slot-f8ccd25c.js +0 -329
  123. package/tmpl-widget-31f94d08.js +0 -96
  124. package/tour-widget-8c2f4063.js +0 -148
  125. package/wrapper-widget-fbfcdd18.js +0 -84
@@ -1,8 +1,8 @@
1
1
  import { reactive as ge, ref as _, computed as B } from "vue";
2
2
  import { f as z, e as m, d as fe, c as we, t as be, G as b, i as A } from "./enum-type-8bbffeb3.js";
3
- import { b as De } from "./share-field-1e759a0d.js";
4
- import { f as s } from "./expression-ce9920fa.js";
5
- import { $ as Ee, f as p, H as xe } from "./baseImp-bb323303.js";
3
+ import { b as De } from "./share-field-2e7f9b3a.js";
4
+ import { f as s } from "./expression-fb652f29.js";
5
+ import { $ as Ee, f as p, H as xe } from "./baseImp-9c1c3476.js";
6
6
  import { g as ye } from "./uuid-f2110dfe.js";
7
7
  import { aw as D } from "./enum-type-80708bd8.js";
8
8
  function Te(I) {
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as $, computed as l, openBlock as p, createBlock as d, normalizeProps as B, mergeProps as m, withCtx as I, createVNode as v, unref as t, createElementVNode as S, toDisplayString as V, resolveDynamicComponent as E, createCommentVNode as N } from "vue";
2
2
  import { i as _, e as s } from "./enum-type-8bbffeb3.js";
3
- import { _ as K } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-0e47d408.js";
3
+ import { _ as K } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-7f447b6f.js";
4
4
  import { I as W } from "./field-base-1acf3ada.js";
5
- import { b as T } from "./share-field-1e759a0d.js";
6
- import { w as q } from "./expression-ce9920fa.js";
7
- import { D as O } from "./drag-wrapper-4dd92bd6.js";
8
- import { g as G, d as k } from "./slot-f8ccd25c.js";
9
- import { _ as H } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3748a4a5.js";
5
+ import { b as T } from "./share-field-2e7f9b3a.js";
6
+ import { w as q } from "./expression-fb652f29.js";
7
+ import { D as O } from "./drag-wrapper-c97acf25.js";
8
+ import { g as G, d as k } from "./slot-44e26cb4.js";
9
+ import { _ as H } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-21b0af7b.js";
10
10
  import { t as J } from "./index-31e1760d.js";
11
- import "./content-wrapper.vue_vue_type_script_setup_true_lang-ea363bf5.js";
12
- import "./baseImp-bb323303.js";
11
+ import "./content-wrapper.vue_vue_type_script_setup_true_lang-a0a33278.js";
12
+ import "./baseImp-9c1c3476.js";
13
13
  import "./enum-type-80708bd8.js";
14
14
  import "./icon-1fc5d00d.js";
15
15
  import "./dialog-eea5b71b.js";
@@ -18,8 +18,8 @@ import "./uuid-f2110dfe.js";
18
18
  import "element-plus";
19
19
  import "./fieldobj-0f01de3c.js";
20
20
  import "./widget-base-8eece820.js";
21
- import "./multirow-1063090e.js";
22
- import "./index-f1a0889e.js";
21
+ import "./multirow-55dfa7bf.js";
22
+ import "./index-4c98d500.js";
23
23
  import "./source-map-b04aec4a.js";
24
24
  import "./esprima-e8d15055.js";
25
25
  import "./_plugin-vue_export-helper-dad06003.js";
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as p, resolveComponent as k, openBlock as t, createBlock as r, mergeProps as i, unref as e, withCtx as g } from "vue";
2
2
  import { I as h } from "./field-base-1acf3ada.js";
3
- import { _ as w } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3748a4a5.js";
4
- import { b as x } from "./share-field-1e759a0d.js";
5
- import { w as C } from "./expression-ce9920fa.js";
3
+ import { _ as w } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-21b0af7b.js";
4
+ import { b as x } from "./share-field-2e7f9b3a.js";
5
+ import { w as C } from "./expression-fb652f29.js";
6
6
  import "./widget-base-8eece820.js";
7
7
  import "./enum-type-8bbffeb3.js";
8
- import "./index-f1a0889e.js";
8
+ import "./index-4c98d500.js";
9
9
  import "./uuid-f2110dfe.js";
10
10
  import "./enum-type-80708bd8.js";
11
- import "./baseImp-bb323303.js";
11
+ import "./baseImp-9c1c3476.js";
12
12
  import "./icon-1fc5d00d.js";
13
13
  import "./dialog-eea5b71b.js";
14
14
  import "./_commonjsHelpers-e7ea1525.js";
@@ -16,8 +16,8 @@ import "element-plus";
16
16
  import "./index-ae7a8101.js";
17
17
  import "./_plugin-vue_export-helper-dad06003.js";
18
18
  import "./fieldobj-0f01de3c.js";
19
- import "./multirow-1063090e.js";
20
- import "./slot-f8ccd25c.js";
19
+ import "./multirow-55dfa7bf.js";
20
+ import "./slot-44e26cb4.js";
21
21
  import "./source-map-b04aec4a.js";
22
22
  import "./esprima-e8d15055.js";
23
23
  const b = p({ componentName: C.FieldWidget }), Q = /* @__PURE__ */ p({
@@ -1,21 +1,21 @@
1
1
  import { defineComponent as d, computed as x, resolveComponent as C, openBlock as m, createBlock as s, mergeProps as n, unref as e, withCtx as F, toHandlers as V } from "vue";
2
- import { b } from "./share-field-1e759a0d.js";
2
+ import { b } from "./share-field-2e7f9b3a.js";
3
3
  import { I as z } from "./field-base-1acf3ada.js";
4
- import I from "./form-item-wrapper-0c55cd05.js";
5
- import { w as B } from "./expression-ce9920fa.js";
4
+ import I from "./form-item-wrapper-b34acfff.js";
5
+ import { w as B } from "./expression-fb652f29.js";
6
6
  import { t as a } from "./enum-type-8bbffeb3.js";
7
- import "./multirow-1063090e.js";
8
- import "./baseImp-bb323303.js";
7
+ import "./multirow-55dfa7bf.js";
8
+ import "./baseImp-9c1c3476.js";
9
9
  import "./enum-type-80708bd8.js";
10
10
  import "./icon-1fc5d00d.js";
11
11
  import "./dialog-eea5b71b.js";
12
12
  import "./_commonjsHelpers-e7ea1525.js";
13
13
  import "./uuid-f2110dfe.js";
14
14
  import "element-plus";
15
- import "./index-f1a0889e.js";
16
- import "./slot-f8ccd25c.js";
15
+ import "./index-4c98d500.js";
16
+ import "./slot-44e26cb4.js";
17
17
  import "./widget-base-8eece820.js";
18
- import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3748a4a5.js";
18
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-21b0af7b.js";
19
19
  import "./index-ae7a8101.js";
20
20
  import "./_plugin-vue_export-helper-dad06003.js";
21
21
  import "./fieldobj-0f01de3c.js";
@@ -0,0 +1,337 @@
1
+ var M = Object.defineProperty;
2
+ var _ = (n, t, o) => t in n ? M(n, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : n[t] = o;
3
+ var p = (n, t, o) => (_(n, typeof t != "symbol" ? t + "" : t, o), o);
4
+ import { inject as F, provide as H, computed as f } from "vue";
5
+ import { d, b as h, r as V, s as B } from "./expression-fb652f29.js";
6
+ import { B as G } from "./baseImp-9c1c3476.js";
7
+ import { c as A, i as q, m as S, j as N, o as x } from "./enum-type-8bbffeb3.js";
8
+ class E {
9
+ constructor() {
10
+ /**
11
+ * 当前表单引用库
12
+ * 假设表单组件位于表单form中,则该引用注册入库
13
+ */
14
+ p(this, "formRefList", {});
15
+ /**
16
+ * 全局引用库
17
+ */
18
+ p(this, "globalRefList", {});
19
+ /**
20
+ * 全局数据对象
21
+ */
22
+ p(this, "globalDataModel", {});
23
+ /**
24
+ * 当前表单名称
25
+ */
26
+ p(this, "globalFormName", "");
27
+ /**
28
+ * 全局页面名称
29
+ */
30
+ // globalPageName?: string = "";
31
+ /**
32
+ * 用于类似template组件的数据绑定传递,必须是{}!
33
+ */
34
+ p(this, "rowScope", {});
35
+ /**
36
+ * 渲染器调用者传入的配置参数,如接口地址、密钥等
37
+ */
38
+ p(this, "globalConfig", {});
39
+ /**
40
+ * 主要用于表单禁用等属性的继承
41
+ */
42
+ p(this, "globalFormOptions", {});
43
+ }
44
+ static globalInject() {
45
+ const t = new E();
46
+ return t.formRefList = F(d.refList, {}), t.globalRefList = F(d.allRefList, {}), t.globalDataModel = F(d.globalModel, {}), t.rowScope = F(d.rowScope, {}), t.globalFormName = F(d.globalForm, ""), t.globalConfig = F(d.globalConfig, {}), t.globalFormOptions = F(d.globalFormOptions, {}), t;
47
+ }
48
+ static globalProvide(t) {
49
+ if ((t == null ? void 0 : t.globalDataModel) !== void 0) {
50
+ const o = (t == null ? void 0 : t.globalDataModel) || {};
51
+ H(d.globalModel, o);
52
+ }
53
+ if ((t == null ? void 0 : t.rowScope) !== void 0) {
54
+ const o = (t == null ? void 0 : t.rowScope) || {};
55
+ H(d.rowScope, o);
56
+ }
57
+ if ((t == null ? void 0 : t.globalRefList) !== void 0) {
58
+ const o = (t == null ? void 0 : t.globalRefList) || {};
59
+ H(d.allRefList, o);
60
+ }
61
+ if ((t == null ? void 0 : t.formRefList) !== void 0) {
62
+ const o = (t == null ? void 0 : t.formRefList) || {};
63
+ H(d.refList, o);
64
+ }
65
+ if ((t == null ? void 0 : t.globalFormName) !== void 0) {
66
+ const o = (t == null ? void 0 : t.globalFormName) || "";
67
+ H(d.globalForm, o);
68
+ }
69
+ if ((t == null ? void 0 : t.globalConfig) !== void 0) {
70
+ const o = (t == null ? void 0 : t.globalConfig) || "";
71
+ H(d.globalConfig, o);
72
+ }
73
+ if ((t == null ? void 0 : t.globalFormOptions) !== void 0) {
74
+ const o = (t == null ? void 0 : t.globalFormOptions) || "";
75
+ H(d.globalFormOptions, o);
76
+ }
77
+ }
78
+ }
79
+ function ot(n) {
80
+ const t = (c, O = !1) => G.getOptions(n == null ? void 0 : n.widget, c, O, !(n != null && n.designState)), o = f(() => t(h.ctrlWidth) || "auto"), s = f(() => t(h.ctrlHeight) || "auto"), l = f(() => t(h.displayLayout)), a = f(() => {
81
+ var c = t(h.customClass);
82
+ return Array.isArray(c) ? c == null ? void 0 : c.join(" ") : c;
83
+ }), i = f(() => {
84
+ var c = t(h.componentWrapperClass);
85
+ return Array.isArray(c) ? c == null ? void 0 : c.join(" ") : c;
86
+ }), b = f(() => t(h.css)), e = f(() => {
87
+ var c = t(h.componentRootClass);
88
+ return Array.isArray(c) ? c == null ? void 0 : c.join(" ") : c;
89
+ }), r = f(() => {
90
+ var c, O;
91
+ return (O = A((c = t(h.required, !0)) == null ? void 0 : c.options)) == null ? void 0 : O.enable;
92
+ }), u = f(() => t(h.hidden)), m = f(() => t(h.labelTooltip)), w = f(() => t(h.labelIconClass)), y = f(() => t(h.labelIconPosition)), g = f(() => t(h.labelHidden)), L = f(() => t(h.label)), T = f(() => t(h.labelWidth)), C = f(() => t(h.labelAlign));
93
+ return {
94
+ //size,
95
+ attrs: f(() => ({
96
+ required: r.value,
97
+ label: L.value,
98
+ labelHidden: g.value,
99
+ labelAlign: C.value,
100
+ labelIconClass: w.value,
101
+ labelIconPosition: y.value,
102
+ labelTooltip: m.value,
103
+ labelWidth: T.value,
104
+ ctrlWidth: o.value
105
+ })),
106
+ labelAlign: C,
107
+ labelHidden: g,
108
+ labelIconClass: w,
109
+ labelIconPosition: y,
110
+ labelTooltip: m,
111
+ labelWidth: T,
112
+ label: L,
113
+ displayLayout: l,
114
+ hidden: u,
115
+ // required,
116
+ ctrlWidth: o,
117
+ ctrlHeight: s,
118
+ customClass: a,
119
+ componentWrapperClass: i,
120
+ componentRootClass: e,
121
+ css: b
122
+ };
123
+ }
124
+ const W = (n = "") => new Promise((t) => {
125
+ import("./index-3aaf8638.js").then((o) => {
126
+ const s = o.parse(n, {
127
+ positions: !0,
128
+ parseValue: !1
129
+ }), l = [];
130
+ o.walk(s, {
131
+ visit: "Rule",
132
+ enter(a) {
133
+ const i = o.generate(a.prelude), b = {};
134
+ o.walk(a, {
135
+ visit: "Declaration",
136
+ enter(e) {
137
+ e.property && (b[e.property] = o.generate(e.value));
138
+ }
139
+ }), l.push({ selector: i, declarations: b });
140
+ }
141
+ }), t(l);
142
+ });
143
+ }), $ = (n) => new Promise((t) => {
144
+ import("./index-3aaf8638.js").then((o) => {
145
+ const s = z(n), l = o.parse(s, { context: "stylesheet" });
146
+ t(o.generate(l));
147
+ });
148
+ });
149
+ function z(n) {
150
+ return n.map((o) => {
151
+ var l, a, i;
152
+ const s = (i = (a = (l = Object.entries(o.declarations)) == null ? void 0 : l.filter(([b, e]) => !q(e) && e !== "")) == null ? void 0 : a.sort(([b], [e]) => b > e ? 1 : -1)) == null ? void 0 : i.map(([b, e]) => `${b}: ${e};`);
153
+ return `${o.selector} { ${s.join(" ")} }`;
154
+ }).join(`
155
+ `);
156
+ }
157
+ const J = () => new Promise((n) => {
158
+ import("./acorn-a3705767.js").then((t) => {
159
+ n(t);
160
+ });
161
+ });
162
+ function Q(n) {
163
+ return new Promise((t) => {
164
+ J().then((o) => {
165
+ var s = U(o, n);
166
+ t(s);
167
+ });
168
+ });
169
+ }
170
+ function U(n, t) {
171
+ var a, i, b;
172
+ const o = n.parse(t, {
173
+ ecmaVersion: "latest",
174
+ sourceType: "script",
175
+ ranges: !0
176
+ // ←←← 必须启用,才能 slice 源码
177
+ }), s = [], l = [];
178
+ for (const e of o.body) {
179
+ if (e.type === "FunctionDeclaration" && ((a = e.id) != null && a.name) && e.range) {
180
+ const r = e.id.name, u = t.slice(e.range[0], e.range[1]);
181
+ s.push({ name: r, text: u });
182
+ }
183
+ if (e.type === "ClassDeclaration" && ((i = e.id) != null && i.name) && e.range) {
184
+ const r = e.id.name, u = t.slice(e.range[0], e.range[1]);
185
+ l.push({ name: r, text: u });
186
+ }
187
+ if (e.type === "VariableDeclaration") {
188
+ for (const r of e.declarations)
189
+ if (((b = r.id) == null ? void 0 : b.type) === "Identifier" && r.init && r.init.range && (r.init.type === "FunctionExpression" || r.init.type === "ArrowFunctionExpression")) {
190
+ const u = r.id.name, m = t.slice(r.range[0], r.range[1]);
191
+ s.push({ name: u, text: m });
192
+ }
193
+ }
194
+ }
195
+ return { functions: s, classes: l };
196
+ }
197
+ const X = () => {
198
+ const n = "v_form_global_css", t = (e = "", r = n) => {
199
+ var u = l(e, r);
200
+ s(u);
201
+ }, o = (e = "", r = "", u = n) => {
202
+ if (!e)
203
+ return;
204
+ let m = document.getElementsByTagName("head")[0];
205
+ if (m)
206
+ try {
207
+ var w = l(r, u);
208
+ s(u), s(w);
209
+ let y = document.createElement("style");
210
+ if (!y)
211
+ return;
212
+ y.type = "text/css", y.id = w;
213
+ try {
214
+ y.appendChild(document.createTextNode(e.toString()));
215
+ } catch {
216
+ y.innerHTML = e.toString();
217
+ }
218
+ m.appendChild(y);
219
+ } catch (y) {
220
+ S.error("insert css to head fail", y);
221
+ }
222
+ }, s = (e) => {
223
+ let r = document.getElementById(e);
224
+ try {
225
+ r && r.parentNode && r.parentNode.removeChild(r);
226
+ } catch (u) {
227
+ console.log(u, r);
228
+ }
229
+ }, l = (e, r) => e ? r + "-" + e : r, a = "v_form_global_functions";
230
+ return {
231
+ insertCustomCssToHead: o,
232
+ insertGlobalFunctionsToHtml: (e, r = "") => new Promise((u) => {
233
+ if (!e) {
234
+ u(!0);
235
+ return;
236
+ }
237
+ try {
238
+ Q(e).then((m) => {
239
+ var w, y;
240
+ (w = m.functions) == null || w.forEach((g) => {
241
+ let L;
242
+ const T = g == null ? void 0 : g.text, C = g == null ? void 0 : g.name;
243
+ try {
244
+ L = new Function(`return ${T}`)();
245
+ } catch (R) {
246
+ S.error(`Failed to compile function "${C}":`, R);
247
+ return;
248
+ }
249
+ window[C] = L;
250
+ }), (y = m.classes) == null || y.forEach((g) => {
251
+ const L = g == null ? void 0 : g.text, T = g == null ? void 0 : g.name;
252
+ let C;
253
+ try {
254
+ C = new Function(`return ${L}`)();
255
+ } catch (R) {
256
+ S.error(`Failed to compile class "${T}":`, R);
257
+ return;
258
+ }
259
+ window[T] = C;
260
+ }), u(!0);
261
+ });
262
+ } catch (m) {
263
+ S.error("insert js to head fail", m), u(!0);
264
+ }
265
+ }),
266
+ removeGlobalFunctionsToHtml: (e, r = a) => {
267
+ var u = l(e, r);
268
+ s(u);
269
+ },
270
+ removeCustomCssToHead: t
271
+ };
272
+ }, D = [
273
+ "width",
274
+ "height",
275
+ "display",
276
+ "margin",
277
+ "margin-left",
278
+ "margin-right",
279
+ "margin-top",
280
+ "margin-bottom"
281
+ ], Y = (n, t, o) => {
282
+ const s = {};
283
+ return t.forEach((l) => {
284
+ var a = n[l];
285
+ N(a) || (s[l] = o ? o(l, a) : a);
286
+ }), s;
287
+ }, Z = (n, t, o) => {
288
+ var l;
289
+ const s = {};
290
+ return (l = x(n)) == null || l.forEach((a) => {
291
+ var i = n[a];
292
+ t != null && t.includes(a) || (s[a] = o ? o(a, i) : i);
293
+ }), s;
294
+ }, K = (n, t) => ["width", "height", "display"].includes(n) ? N(t) || t == "auto" ? t : `${t} !important` : t, nt = (n) => new Promise((t) => {
295
+ W(n).then((o) => {
296
+ var s = o == null ? void 0 : o.map((l) => ({ selector: l.selector, declarations: Y(l.declarations, D, K) }));
297
+ $(s).then((l) => {
298
+ t(l);
299
+ });
300
+ });
301
+ }), et = (n) => new Promise((t) => {
302
+ W(n).then((o) => {
303
+ var s = o == null ? void 0 : o.map((l) => ({ selector: l.selector, declarations: Z(l.declarations, D, K) }));
304
+ $(s).then((l) => {
305
+ t(l);
306
+ });
307
+ });
308
+ }), lt = (n, t) => {
309
+ if (!t || !n)
310
+ return;
311
+ const o = V(n, ":root", `.${t}`), { insertCustomCssToHead: s } = X();
312
+ s(o, void 0, t);
313
+ }, st = (n, t = !0, o, s) => {
314
+ if (o != null && o === !1)
315
+ return [];
316
+ const l = k(n);
317
+ if (t || (n == null ? void 0 : n.length) <= 0)
318
+ return l;
319
+ var a = l == null ? void 0 : l.filter(
320
+ (i) => {
321
+ var b, e, r;
322
+ return s != null && (s == null ? void 0 : s(i)) || s == null && (!!i.default && (!(i != null && i.options) || ((b = i == null ? void 0 : i.options) == null ? void 0 : b.enable) == null || ((e = i == null ? void 0 : i.options) == null ? void 0 : e.enable) === !0) || !!(i != null && i.widgetList) && ((r = i == null ? void 0 : i.widgetList) == null ? void 0 : r.length) > 0 || (i == null ? void 0 : i.slotName) === B.default);
323
+ }
324
+ );
325
+ return a;
326
+ }, it = (n, t) => n == null ? void 0 : n.find((o) => (o == null ? void 0 : o.slotName) === t), k = (n) => A(n);
327
+ export {
328
+ E as F,
329
+ lt as a,
330
+ et as b,
331
+ ot as c,
332
+ it as d,
333
+ st as g,
334
+ k as i,
335
+ nt as p,
336
+ X as u
337
+ };
@@ -1,24 +1,24 @@
1
1
  import { defineComponent as y, computed as a, resolveComponent as B, openBlock as s, createBlock as i, normalizeProps as f, mergeProps as p, withCtx as l, toHandlers as L, unref as m, createElementBlock as P, Fragment as j, renderList as I, resolveDynamicComponent as N, createVNode as w } from "vue";
2
2
  import { I as V } from "./field-base-1acf3ada.js";
3
- import { w as H } from "./expression-ce9920fa.js";
4
- import { b as J } from "./share-field-1e759a0d.js";
3
+ import { w as H } from "./expression-fb652f29.js";
4
+ import { b as J } from "./share-field-2e7f9b3a.js";
5
5
  import { a6 as c, t as K } from "./enum-type-80708bd8.js";
6
- import { C as W, D as b, u as q } from "./drag-wrapper-4dd92bd6.js";
7
- import { d as G } from "./slot-f8ccd25c.js";
6
+ import { C as W, D as b, u as q } from "./drag-wrapper-c97acf25.js";
7
+ import { d as G } from "./slot-44e26cb4.js";
8
8
  import { f as M, e as O } from "./enum-type-8bbffeb3.js";
9
- import { _ as v } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3748a4a5.js";
9
+ import { _ as v } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-21b0af7b.js";
10
10
  import { t as Q } from "./index-31e1760d.js";
11
11
  import "./widget-base-8eece820.js";
12
12
  import "./source-map-b04aec4a.js";
13
13
  import "./uuid-f2110dfe.js";
14
14
  import "./_commonjsHelpers-e7ea1525.js";
15
15
  import "./esprima-e8d15055.js";
16
- import "./multirow-1063090e.js";
17
- import "./baseImp-bb323303.js";
16
+ import "./multirow-55dfa7bf.js";
17
+ import "./baseImp-9c1c3476.js";
18
18
  import "./icon-1fc5d00d.js";
19
19
  import "./dialog-eea5b71b.js";
20
20
  import "element-plus";
21
- import "./index-f1a0889e.js";
21
+ import "./index-4c98d500.js";
22
22
  import "./_plugin-vue_export-helper-dad06003.js";
23
23
  import "./index-ae7a8101.js";
24
24
  import "./fieldobj-0f01de3c.js";
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as _, resolveComponent as t, openBlock as s, createBlock as n, mergeProps as c, unref as l, withCtx as a, toHandlers as W, createElementBlock as D, Fragment as E, renderList as I, createSlots as P, createVNode as V, resolveDynamicComponent as f } from "vue";
2
2
  import { I as $ } from "./field-base-1acf3ada.js";
3
- import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3748a4a5.js";
4
- import { b as N } from "./share-field-1e759a0d.js";
5
- import { w as U } from "./expression-ce9920fa.js";
6
- import { D as A } from "./drag-wrapper-4dd92bd6.js";
7
- import { d as H } from "./baseImp-bb323303.js";
3
+ import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-21b0af7b.js";
4
+ import { b as N } from "./share-field-2e7f9b3a.js";
5
+ import { w as U } from "./expression-fb652f29.js";
6
+ import { D as A } from "./drag-wrapper-c97acf25.js";
7
+ import { d as H } from "./baseImp-9c1c3476.js";
8
8
  import "./widget-base-8eece820.js";
9
9
  import "./enum-type-8bbffeb3.js";
10
- import "./index-f1a0889e.js";
10
+ import "./index-4c98d500.js";
11
11
  import "./uuid-f2110dfe.js";
12
12
  import "./enum-type-80708bd8.js";
13
13
  import "./_commonjsHelpers-e7ea1525.js";
@@ -15,8 +15,8 @@ import "./index-ae7a8101.js";
15
15
  import "./icon-1fc5d00d.js";
16
16
  import "./_plugin-vue_export-helper-dad06003.js";
17
17
  import "./fieldobj-0f01de3c.js";
18
- import "./multirow-1063090e.js";
19
- import "./slot-f8ccd25c.js";
18
+ import "./multirow-55dfa7bf.js";
19
+ import "./slot-44e26cb4.js";
20
20
  import "./source-map-b04aec4a.js";
21
21
  import "./esprima-e8d15055.js";
22
22
  import "./dialog-eea5b71b.js";
@@ -1,21 +1,21 @@
1
1
  import { defineComponent as o, openBlock as f, createBlock as d, mergeProps as _, unref as t, withCtx as u, createVNode as x } from "vue";
2
2
  import { I as g } from "./field-base-1acf3ada.js";
3
- import { b as w } from "./share-field-1e759a0d.js";
4
- import { w as C } from "./expression-ce9920fa.js";
5
- import { _ as P } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3748a4a5.js";
6
- import { _ as b } from "./content-wrapper.vue_vue_type_script_setup_true_lang-ea363bf5.js";
3
+ import { b as w } from "./share-field-2e7f9b3a.js";
4
+ import { w as C } from "./expression-fb652f29.js";
5
+ import { _ as P } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-21b0af7b.js";
6
+ import { _ as b } from "./content-wrapper.vue_vue_type_script_setup_true_lang-a0a33278.js";
7
7
  import "./widget-base-8eece820.js";
8
8
  import "./enum-type-8bbffeb3.js";
9
- import "./multirow-1063090e.js";
10
- import "./baseImp-bb323303.js";
9
+ import "./multirow-55dfa7bf.js";
10
+ import "./baseImp-9c1c3476.js";
11
11
  import "./enum-type-80708bd8.js";
12
12
  import "./icon-1fc5d00d.js";
13
13
  import "./dialog-eea5b71b.js";
14
14
  import "./_commonjsHelpers-e7ea1525.js";
15
15
  import "./uuid-f2110dfe.js";
16
16
  import "element-plus";
17
- import "./index-f1a0889e.js";
18
- import "./slot-f8ccd25c.js";
17
+ import "./index-4c98d500.js";
18
+ import "./slot-44e26cb4.js";
19
19
  import "./source-map-b04aec4a.js";
20
20
  import "./esprima-e8d15055.js";
21
21
  import "./index-ae7a8101.js";
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as r, openBlock as n, createBlock as d, mergeProps as a, unref as f } from "vue";
2
2
  import { I as l } from "./field-base-1acf3ada.js";
3
- import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-0e47d408.js";
4
- import { w as _ } from "./expression-ce9920fa.js";
5
- import { b as u } from "./share-field-1e759a0d.js";
3
+ import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-7f447b6f.js";
4
+ import { w as _ } from "./expression-fb652f29.js";
5
+ import { b as u } from "./share-field-2e7f9b3a.js";
6
6
  import "./widget-base-8eece820.js";
7
7
  import "./enum-type-8bbffeb3.js";
8
- import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3748a4a5.js";
9
- import "./index-f1a0889e.js";
8
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-21b0af7b.js";
9
+ import "./index-4c98d500.js";
10
10
  import "./uuid-f2110dfe.js";
11
11
  import "./enum-type-80708bd8.js";
12
- import "./baseImp-bb323303.js";
12
+ import "./baseImp-9c1c3476.js";
13
13
  import "./icon-1fc5d00d.js";
14
14
  import "./dialog-eea5b71b.js";
15
15
  import "./_commonjsHelpers-e7ea1525.js";
@@ -17,12 +17,12 @@ import "element-plus";
17
17
  import "./index-ae7a8101.js";
18
18
  import "./_plugin-vue_export-helper-dad06003.js";
19
19
  import "./fieldobj-0f01de3c.js";
20
- import "./slot-f8ccd25c.js";
21
- import "./content-wrapper.vue_vue_type_script_setup_true_lang-ea363bf5.js";
22
- import "./drag-wrapper-4dd92bd6.js";
20
+ import "./slot-44e26cb4.js";
21
+ import "./content-wrapper.vue_vue_type_script_setup_true_lang-a0a33278.js";
22
+ import "./drag-wrapper-c97acf25.js";
23
23
  import "./source-map-b04aec4a.js";
24
24
  import "./esprima-e8d15055.js";
25
- import "./multirow-1063090e.js";
25
+ import "./multirow-55dfa7bf.js";
26
26
  const g = r({ componentName: _.FieldWidget }), K = /* @__PURE__ */ r({
27
27
  ...g,
28
28
  __name: "statistic-widget",
@@ -1,22 +1,22 @@
1
1
  import { defineComponent as f, computed as E, ref as F, resolveComponent as u, openBlock as r, createBlock as s, mergeProps as p, unref as e, withCtx as o, toHandlers as M, createElementBlock as S, Fragment as T, renderList as B, createSlots as N, createElementVNode as _, createVNode as O } from "vue";
2
2
  import { I as P } from "./field-base-1acf3ada.js";
3
- import { _ as $ } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-3748a4a5.js";
4
- import { b as K } from "./share-field-1e759a0d.js";
3
+ import { _ as $ } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-21b0af7b.js";
4
+ import { b as K } from "./share-field-2e7f9b3a.js";
5
5
  import { S as W } from "./index-ae7a8101.js";
6
- import { w as q } from "./expression-ce9920fa.js";
6
+ import { w as q } from "./expression-fb652f29.js";
7
7
  import { c as i } from "./enum-type-8bbffeb3.js";
8
8
  import "./widget-base-8eece820.js";
9
- import "./index-f1a0889e.js";
9
+ import "./index-4c98d500.js";
10
10
  import "./uuid-f2110dfe.js";
11
11
  import "./enum-type-80708bd8.js";
12
- import "./baseImp-bb323303.js";
12
+ import "./baseImp-9c1c3476.js";
13
13
  import "./icon-1fc5d00d.js";
14
14
  import "./dialog-eea5b71b.js";
15
15
  import "./_commonjsHelpers-e7ea1525.js";
16
16
  import "element-plus";
17
17
  import "./fieldobj-0f01de3c.js";
18
- import "./multirow-1063090e.js";
19
- import "./slot-f8ccd25c.js";
18
+ import "./multirow-55dfa7bf.js";
19
+ import "./slot-44e26cb4.js";
20
20
  import "./_plugin-vue_export-helper-dad06003.js";
21
21
  import "./source-map-b04aec4a.js";
22
22
  import "./esprima-e8d15055.js";
@@ -1,12 +1,12 @@
1
- import { _ as o } from "./subMenu-widget.vue_vue_type_script_setup_true_lang-3a5390b6.js";
1
+ import { _ as o } from "./subMenu-widget.vue_vue_type_script_setup_true_lang-27267c3d.js";
2
2
  import "vue";
3
3
  import "./index-ae7a8101.js";
4
4
  import "./enum-type-8bbffeb3.js";
5
5
  import "./icon-1fc5d00d.js";
6
6
  import "./_plugin-vue_export-helper-dad06003.js";
7
7
  import "./enum-type-80708bd8.js";
8
- import "./baseImp-bb323303.js";
9
- import "./expression-ce9920fa.js";
8
+ import "./baseImp-9c1c3476.js";
9
+ import "./expression-fb652f29.js";
10
10
  import "./source-map-b04aec4a.js";
11
11
  import "./uuid-f2110dfe.js";
12
12
  import "./_commonjsHelpers-e7ea1525.js";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as C, computed as w, openBlock as a, createElementBlock as M, Fragment as N, renderList as A, createBlock as o, resolveDynamicComponent as F, normalizeClass as S, withCtx as h, createCommentVNode as T, createElementVNode as V, toDisplayString as B } from "vue";
2
2
  import { S as g } from "./index-ae7a8101.js";
3
3
  import { ak as s } from "./enum-type-80708bd8.js";
4
- import { g as D, K as E, P as G } from "./baseImp-bb323303.js";
4
+ import { g as D, K as E, P as G } from "./baseImp-9c1c3476.js";
5
5
  import { u as P } from "./icon-1fc5d00d.js";
6
6
  const R = /* @__PURE__ */ C({
7
7
  __name: "subMenu-widget",