hlrender 0.0.200 → 0.0.201

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 (94) hide show
  1. package/acorn-a3705767.js +3128 -0
  2. package/{affix-widget-034c7d4d.js → affix-widget-01984956.js} +5 -5
  3. package/{alert-widget-a48330b2.js → alert-widget-3bd3f4cd.js} +5 -5
  4. package/{anchor-widget-037639ea.js → anchor-widget-2b3f18b4.js} +3 -3
  5. package/{auto-complete-widget-e4e86d9e.js → auto-complete-widget-2cbb008a.js} +4 -4
  6. package/{avatar-widget-d1c793cc.js → avatar-widget-d1108ad6.js} +5 -5
  7. package/{backtop-widget-6b1ebbe7.js → backtop-widget-1b8fa8f7.js} +5 -5
  8. package/{badge-widget-998855b5.js → badge-widget-b823a6d1.js} +5 -5
  9. package/{barcode-widget-ef9f4287.js → barcode-widget-18de3d18.js} +3 -3
  10. package/{breadcrumb-widget-7dc796c1.js → breadcrumb-widget-eb963780.js} +3 -3
  11. package/{button-widget-0c934082.js → button-widget-37fe1d2b.js} +5 -5
  12. package/{cache-widget-c934288d.js → cache-widget-a45745a1.js} +3 -3
  13. package/{card-widget-07f24989.js → card-widget-74937a78.js} +4 -4
  14. package/{carousel-widget-6941d08e.js → carousel-widget-d753a733.js} +3 -3
  15. package/{cascader-widget-e58b3e0d.js → cascader-widget-168c9ebd.js} +3 -3
  16. package/{chart-widget-5e56fdb4.js → chart-widget-cda6f103.js} +3 -3
  17. package/{checkbox-widget-6d68ec7d.js → checkbox-widget-5d80c960.js} +3 -3
  18. package/{collapse-widget-644b208e.js → collapse-widget-e4f0fb07.js} +3 -3
  19. package/{color-picker-widget-1c40bd02.js → color-picker-widget-012a962b.js} +3 -3
  20. package/{cont-cell-widget-732eefe6.js → cont-cell-widget-0f398cba.js} +1 -1
  21. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-e08c9390.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-14defd89.js} +3 -3
  22. package/{cont-widget-effc69e5.js → cont-widget-f83910ba.js} +3 -3
  23. package/{date-picker-range-widget-3bf58f7a.js → date-picker-range-widget-cff89500.js} +3 -3
  24. package/{date-picker-widget-b8122ef8.js → date-picker-widget-8c4b2534.js} +3 -3
  25. package/{default-slot-widget-a0f65dd8.js → default-slot-widget-47f401ce.js} +3 -3
  26. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-fee41121.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-a552a4be.js} +2 -2
  27. package/{descriptions-widget-d7051753.js → descriptions-widget-4addc4c7.js} +4 -4
  28. package/{dialog-widget-f3ed3043.js → dialog-widget-815c80a1.js} +5 -5
  29. package/{divider-widget-d40312e4.js → divider-widget-925d418b.js} +5 -5
  30. package/{drag-wrapper-0e14be76.js → drag-wrapper-de9be57d.js} +2 -2
  31. package/{drawer-widget-c43ea91b.js → drawer-widget-5444a0c0.js} +5 -5
  32. package/{dropdown-widget-ebc65be4.js → dropdown-widget-980baf81.js} +4 -4
  33. package/{empty-widget-19f251d3.js → empty-widget-b810eafb.js} +5 -5
  34. package/{feedback-widget-c40ced49.js → feedback-widget-98708e19.js} +5 -5
  35. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-ee1ab63a.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-0bdb5053.js} +3 -3
  36. package/{file-upload-widget-0af7e6b0.js → file-upload-widget-3126e728.js} +5 -5
  37. package/{form-widget-dba47daa.js → form-widget-12c6d64a.js} +4 -4
  38. package/{grid-col-widget-1b5681fb.js → grid-col-widget-1e3755fc.js} +1 -1
  39. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-cc5d3edc.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-5f050ef2.js} +3 -3
  40. package/{grid-widget-3ecf6a11.js → grid-widget-d6f4ce7f.js} +3 -3
  41. package/{html-text-widget-36485f97.js → html-text-widget-e997e2ec.js} +3 -3
  42. package/{icon-widget-e36dc571.js → icon-widget-5f8d6b85.js} +3 -3
  43. package/{iframe-widget-2caf0591.js → iframe-widget-37713ad4.js} +3 -3
  44. package/{image-widget-f143ad7b.js → image-widget-0f84aa93.js} +3 -3
  45. package/{input-number-widget-e5c07f89.js → input-number-widget-d642316d.js} +3 -3
  46. package/{input-widget-279dc40a.js → input-widget-f5a85bb5.js} +4 -4
  47. package/{link-widget-5ad11be9.js → link-widget-8ef800c5.js} +5 -5
  48. package/{ltable-col-widget-0cf29ced.js → ltable-col-widget-2163c281.js} +1 -1
  49. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-4c6285fb.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-330519b7.js} +3 -3
  50. package/{ltable-widget-a51b9298.js → ltable-widget-9535b0b0.js} +3 -3
  51. package/{menu-widget-f0aff412.js → menu-widget-70e03b60.js} +3 -3
  52. package/{model-widget-cf496ac9.js → model-widget-cdea91c7.js} +3 -3
  53. package/{multirow-3c042f3e.js → multirow-b0df65a6.js} +1 -1
  54. package/{multirow-widget-bc212cff.js → multirow-widget-62f63080.js} +4 -4
  55. package/package.json +1 -1
  56. package/{pagination-widget-20da3b2c.js → pagination-widget-cac6d5e8.js} +3 -3
  57. package/{picture-upload-widget-293522c8.js → picture-upload-widget-ee543b0d.js} +4 -4
  58. package/{progress-widget-10e53b93.js → progress-widget-ca7ea304.js} +4 -4
  59. package/{qrcode-widget-59bfecb7.js → qrcode-widget-92d4793e.js} +3 -3
  60. package/{radio-widget-b3c38fa8.js → radio-widget-ec65fc97.js} +3 -3
  61. package/{range-widget-e5f3b45d.js → range-widget-2978212c.js} +4 -4
  62. package/{rate-widget-c6a1faff.js → rate-widget-1460ddde.js} +3 -3
  63. package/render.es.js +19 -19
  64. package/render.umd.js +408 -400
  65. package/{result-widget-7bcffff4.js → result-widget-a9ebf939.js} +4 -4
  66. package/{rich-editor-widget-4f33f6bd.js → rich-editor-widget-bee3b659.js} +3 -3
  67. package/{router-widget-22f253dc.js → router-widget-202c76b6.js} +3 -3
  68. package/{select-widget-c63c45bb.js → select-widget-4944eaa4.js} +3 -3
  69. package/{sfc-53fae228.js → sfc-d8640942.js} +1 -1
  70. package/{share-field-a27c55ba.js → share-field-33bed9fb.js} +2 -2
  71. package/{share-file-005d3d63.js → share-file-a6294200.js} +1 -1
  72. package/{slider-widget-392119ee.js → slider-widget-e43a8310.js} +3 -3
  73. package/slot-9818013e.js +314 -0
  74. package/{static-text-widget-6ddc17fa.js → static-text-widget-51e52e92.js} +3 -3
  75. package/{steps-widget-94d3b751.js → steps-widget-0dcfd664.js} +3 -3
  76. package/{switch-widget-61749af2.js → switch-widget-7d9065d3.js} +3 -3
  77. package/{tab-pane-widget-c08ce395.js → tab-pane-widget-3b2d74c3.js} +1 -1
  78. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-09274c7d.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-117fa09b.js} +3 -3
  79. package/{table-col-widget-2571f470.js → table-col-widget-9282e34a.js} +4 -4
  80. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-ef294d28.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-4562e88c.js} +3 -3
  81. package/{table-widget-30640474.js → table-widget-ae2a296e.js} +5 -5
  82. package/{tabs-widget-736fade5.js → tabs-widget-99c5a2eb.js} +2 -2
  83. package/{tag-widget-0d78a155.js → tag-widget-d6549de3.js} +5 -5
  84. package/{text-widget-2bae3f47.js → text-widget-7be180e6.js} +5 -5
  85. package/{textarea-widget-b85b4356.js → textarea-widget-4c60a73c.js} +3 -3
  86. package/{time-picker-range-widget-15a6a246.js → time-picker-range-widget-40493bad.js} +3 -3
  87. package/{time-picker-widget-7e8ff4d5.js → time-picker-widget-88bcac2a.js} +3 -3
  88. package/{time-select-widget-50201f1b.js → time-select-widget-c87dadbe.js} +3 -3
  89. package/{tmpl-widget-d905f4b2.js → tmpl-widget-14f305d2.js} +4 -4
  90. package/{tree-select-widget-365313ed.js → tree-select-widget-f4c1edc6.js} +3 -3
  91. package/{tree-widget-88663bef.js → tree-widget-08a43889.js} +3 -3
  92. package/{verifycode-widget-3dd0e9b3.js → verifycode-widget-10f54ed3.js} +3 -3
  93. package/{wrapper-widget-259e5f16.js → wrapper-widget-b13f1dd0.js} +3 -3
  94. package/slot-5f1a47c4.js +0 -265
@@ -2,10 +2,10 @@ import { defineComponent as d, computed as k, resolveComponent as S, openBlock a
2
2
  import { e as $ } from "./enum-type-1c0ae1da.js";
3
3
  import { I as B } from "./field-base-5547436d.js";
4
4
  import { _ as E } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b2aca878.js";
5
- import { b as I } from "./share-field-a27c55ba.js";
5
+ import { b as I } from "./share-field-33bed9fb.js";
6
6
  import { w as O } from "./expression-d514d13e.js";
7
- import { D as P } from "./drag-wrapper-0e14be76.js";
8
- import { g as W } from "./slot-5f1a47c4.js";
7
+ import { D as P } from "./drag-wrapper-de9be57d.js";
8
+ import { g as W } from "./slot-9818013e.js";
9
9
  import "./widget-base-4c2d6265.js";
10
10
  import "./index-38b887d7.js";
11
11
  import "./uuid-81bac653.js";
@@ -18,7 +18,7 @@ import "element-plus";
18
18
  import "./index-a152420d.js";
19
19
  import "./_plugin-vue_export-helper-dad06003.js";
20
20
  import "./fieldobj-5eca64a8.js";
21
- import "./multirow-3c042f3e.js";
21
+ import "./multirow-b0df65a6.js";
22
22
  import "./source-map-b04aec4a.js";
23
23
  import "./esprima-e8d15055.js";
24
24
  const z = d({ componentName: O.FieldWidget }), se = /* @__PURE__ */ d({
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as u, computed as d, shallowRef as x, onMounted as F, nextTick as H, openBlock as s, createBlock as a, mergeProps as c, unref as e, withCtx as V, createElementVNode as j, normalizeClass as I, normalizeStyle as M, resolveDynamicComponent as W, isRef as z, toHandlers as B } from "vue";
2
- import { b as N } from "./share-field-a27c55ba.js";
2
+ import { b as N } from "./share-field-33bed9fb.js";
3
3
  import { I as P } from "./field-base-5547436d.js";
4
4
  import R from "./form-item-wrapper-b761d512.js";
5
5
  import { w as S } from "./expression-d514d13e.js";
6
6
  import { d as q, E as D } from "./enum-type-1c0ae1da.js";
7
- import "./multirow-3c042f3e.js";
7
+ import "./multirow-b0df65a6.js";
8
8
  import "./baseImp-242db99f.js";
9
9
  import "./enum-type-768f07b9.js";
10
10
  import "./icon-a0e0cdb0.js";
@@ -13,7 +13,7 @@ import "./_commonjsHelpers-e7ea1525.js";
13
13
  import "./uuid-81bac653.js";
14
14
  import "element-plus";
15
15
  import "./index-38b887d7.js";
16
- import "./slot-5f1a47c4.js";
16
+ import "./slot-9818013e.js";
17
17
  import "./widget-base-4c2d6265.js";
18
18
  import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b2aca878.js";
19
19
  import "./index-a152420d.js";
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as m, resolveComponent as u, openBlock as e, createBlock as i, mergeProps as g, unref as o, withCtx as p, createElementBlock as k, toDisplayString as w, createCommentVNode as b } from "vue";
2
- import { b as y } from "./share-field-a27c55ba.js";
2
+ import { b as y } from "./share-field-33bed9fb.js";
3
3
  import { I as v } from "./field-base-5547436d.js";
4
4
  import { _ as C } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b2aca878.js";
5
5
  import { w as F } from "./expression-d514d13e.js";
6
6
  import "./enum-type-1c0ae1da.js";
7
- import "./multirow-3c042f3e.js";
7
+ import "./multirow-b0df65a6.js";
8
8
  import "./baseImp-242db99f.js";
9
9
  import "./enum-type-768f07b9.js";
10
10
  import "./icon-a0e0cdb0.js";
@@ -13,7 +13,7 @@ import "./_commonjsHelpers-e7ea1525.js";
13
13
  import "./uuid-81bac653.js";
14
14
  import "element-plus";
15
15
  import "./index-38b887d7.js";
16
- import "./slot-5f1a47c4.js";
16
+ import "./slot-9818013e.js";
17
17
  import "./widget-base-4c2d6265.js";
18
18
  import "./index-a152420d.js";
19
19
  import "./_plugin-vue_export-helper-dad06003.js";
@@ -1,18 +1,18 @@
1
1
  import { defineComponent as ve, ref as S, computed as te, shallowRef as ue, watch as Fe, onMounted as we, resolveComponent as R, openBlock as u, createBlock as d, mergeProps as K, unref as e, withCtx as m, isRef as re, toHandlers as ne, createElementBlock as k, createVNode as ze, createTextVNode as Ne, toDisplayString as Se, createCommentVNode as V, Fragment as _, renderList as B, resolveDynamicComponent as j } from "vue";
2
2
  import { t as O, c as oe, e as q } from "./enum-type-1c0ae1da.js";
3
3
  import { d as Be } from "./baseImp-242db99f.js";
4
- import { b as Ee } from "./share-field-a27c55ba.js";
4
+ import { b as Ee } from "./share-field-33bed9fb.js";
5
5
  import { I as Pe } from "./field-base-5547436d.js";
6
6
  import De from "./form-item-wrapper-b761d512.js";
7
7
  import { b as Le, w as Re } from "./expression-d514d13e.js";
8
- import { d as se } from "./slot-5f1a47c4.js";
8
+ import { d as se } from "./slot-9818013e.js";
9
9
  import "./enum-type-768f07b9.js";
10
10
  import "./icon-a0e0cdb0.js";
11
11
  import "./dialog-cb26ee83.js";
12
12
  import "./_commonjsHelpers-e7ea1525.js";
13
13
  import "./uuid-81bac653.js";
14
14
  import "element-plus";
15
- import "./multirow-3c042f3e.js";
15
+ import "./multirow-b0df65a6.js";
16
16
  import "./index-38b887d7.js";
17
17
  import "./widget-base-4c2d6265.js";
18
18
  import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b2aca878.js";
@@ -5,7 +5,7 @@ import { S as q, f as Fe, i as Wt, h as J, T as Bt, o as H, d as B, U as Xe, j a
5
5
  import { B as w, P as M, A as ke, F as Je, C as Ye, D as Ze, b as gt, G as ti } from "./baseImp-242db99f.js";
6
6
  import { b as rt, m as F, s as _t, r as ei, n as Re } from "./expression-d514d13e.js";
7
7
  import { c as R, d as ii, H as Yt, e as Zt, _ as si } from "./enum-type-768f07b9.js";
8
- import { d as Se } from "./slot-5f1a47c4.js";
8
+ import { d as Se } from "./slot-9818013e.js";
9
9
  import { t as ni, l as Ae, m as Ce } from "./index-38b887d7.js";
10
10
  import "vue";
11
11
  import "./icon-a0e0cdb0.js";
@@ -3,11 +3,11 @@ var Mn = (t, u, p) => u in t ? xn(t, u, { enumerable: !0, configurable: !0, writ
3
3
  var tt = (t, u, p) => (Mn(t, typeof u != "symbol" ? u + "" : u, p), p);
4
4
  import { onMounted as ut, nextTick as at, onActivated as _n, onErrorCaptured as Sn, isRef as ct, watch as Z, reactive as Wn, ref as ve, computed as We, onBeforeUnmount as Dn, inject as Pn, toRefs as Nn } from "vue";
5
5
  import { m as se, a as Ne, c as Be, t as it, i as ft, o as X, g as w, w as Tn, K as Bn, h as Oe, f as lt, k as Fn, n as In, E as Y, d as de, z as Ln, H as ge } from "./enum-type-1c0ae1da.js";
6
- import { p as nt, b as mt, g as jn, f as he, a as $n } from "./multirow-3c042f3e.js";
6
+ import { p as nt, b as mt, g as jn, f as he, a as $n } from "./multirow-b0df65a6.js";
7
7
  import { u as vt } from "./icon-a0e0cdb0.js";
8
8
  import { f as $, j as pe, k as kn, l as ot, b as j, a as An, d as Hn } from "./expression-d514d13e.js";
9
9
  import { b as dt, d as Te, B as q, P as gt, c as ht, e as Kn, a as rt } from "./baseImp-242db99f.js";
10
- import { F as qn, b as Gn, a as Un } from "./slot-5f1a47c4.js";
10
+ import { F as qn, b as Gn, a as Un } from "./slot-9818013e.js";
11
11
  import { f as Jn, d as zn, h as De, e as Qn } from "./index-38b887d7.js";
12
12
  import { W as k, c as Q } from "./enum-type-768f07b9.js";
13
13
  import { m as Xn } from "./uuid-81bac653.js";
@@ -1,6 +1,6 @@
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, E as b, i as A } from "./enum-type-1c0ae1da.js";
3
- import { b as Ee } from "./share-field-a27c55ba.js";
3
+ import { b as Ee } from "./share-field-33bed9fb.js";
4
4
  import { f as s } from "./expression-d514d13e.js";
5
5
  import { $ as De, f as p, H as xe } from "./baseImp-242db99f.js";
6
6
  import { g as ye } from "./uuid-81bac653.js";
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as d, computed as w, resolveComponent as x, openBlock as s, createBlock as m, mergeProps as n, unref as e, withCtx as C, isRef as F, toHandlers as b, createTextVNode as z, toDisplayString as I } from "vue";
2
- import { b as B } from "./share-field-a27c55ba.js";
2
+ import { b as B } from "./share-field-33bed9fb.js";
3
3
  import { I as E } from "./field-base-5547436d.js";
4
4
  import N from "./form-item-wrapper-b761d512.js";
5
5
  import { w as P } from "./expression-d514d13e.js";
6
6
  import { t as a } from "./enum-type-1c0ae1da.js";
7
- import "./multirow-3c042f3e.js";
7
+ import "./multirow-b0df65a6.js";
8
8
  import "./baseImp-242db99f.js";
9
9
  import "./enum-type-768f07b9.js";
10
10
  import "./icon-a0e0cdb0.js";
@@ -13,7 +13,7 @@ import "./_commonjsHelpers-e7ea1525.js";
13
13
  import "./uuid-81bac653.js";
14
14
  import "element-plus";
15
15
  import "./index-38b887d7.js";
16
- import "./slot-5f1a47c4.js";
16
+ import "./slot-9818013e.js";
17
17
  import "./widget-base-4c2d6265.js";
18
18
  import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b2aca878.js";
19
19
  import "./index-a152420d.js";
@@ -0,0 +1,314 @@
1
+ var M = Object.defineProperty;
2
+ var _ = (e, t, o) => t in e ? M(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
3
+ var L = (e, t, o) => (_(e, typeof t != "symbol" ? t + "" : t, o), o);
4
+ import { inject as p, provide as S, computed as f } from "vue";
5
+ import { d as y, b, r as O, s as B } from "./expression-d514d13e.js";
6
+ import { B as G } from "./baseImp-242db99f.js";
7
+ import { c as N, i as V, m as R, j as A, o as q } from "./enum-type-1c0ae1da.js";
8
+ class W {
9
+ constructor() {
10
+ /**
11
+ * 当前表单引用库
12
+ * 假设表单组件位于表单form中,则该引用注册入库
13
+ */
14
+ L(this, "formRefList", {});
15
+ /**
16
+ * 全局引用库
17
+ */
18
+ L(this, "globalRefList", {});
19
+ /**
20
+ * 全局数据对象
21
+ */
22
+ L(this, "globalDataModel", {});
23
+ /**
24
+ * 当前表单名称
25
+ */
26
+ L(this, "globalFormName", "");
27
+ /**
28
+ * 全局页面名称
29
+ */
30
+ // globalPageName?: string = "";
31
+ /**
32
+ * 用于类似template组件的数据绑定传递
33
+ */
34
+ L(this, "rowScope", {});
35
+ /**
36
+ * 渲染器调用者传入的配置参数,如接口地址、密钥等
37
+ */
38
+ L(this, "globalConfig", {});
39
+ }
40
+ static globalInject() {
41
+ const t = new W();
42
+ return t.formRefList = p(y.refList, {}), t.globalRefList = p(y.allRefList, {}), t.globalDataModel = p(y.globalModel, {}), t.rowScope = p(y.rowScope, {}), t.globalFormName = p(y.globalForm, ""), t.globalConfig = p(y.globalConfig, {}), t;
43
+ }
44
+ static globalProvide(t) {
45
+ if ((t == null ? void 0 : t.globalDataModel) !== void 0) {
46
+ const o = (t == null ? void 0 : t.globalDataModel) || {};
47
+ S(y.globalModel, o);
48
+ }
49
+ if ((t == null ? void 0 : t.rowScope) !== void 0) {
50
+ const o = (t == null ? void 0 : t.rowScope) || {};
51
+ S(y.rowScope, o);
52
+ }
53
+ if ((t == null ? void 0 : t.globalRefList) !== void 0) {
54
+ const o = (t == null ? void 0 : t.globalRefList) || {};
55
+ S(y.allRefList, o);
56
+ }
57
+ if ((t == null ? void 0 : t.formRefList) !== void 0) {
58
+ const o = (t == null ? void 0 : t.formRefList) || {};
59
+ S(y.refList, o);
60
+ }
61
+ if ((t == null ? void 0 : t.globalFormName) !== void 0) {
62
+ const o = (t == null ? void 0 : t.globalFormName) || "";
63
+ S(y.globalForm, o);
64
+ }
65
+ if ((t == null ? void 0 : t.globalConfig) !== void 0) {
66
+ const o = (t == null ? void 0 : t.globalConfig) || "";
67
+ S(y.globalConfig, o);
68
+ }
69
+ }
70
+ }
71
+ function ot(e) {
72
+ const t = (u, H = !1) => G.getOptions(e == null ? void 0 : e.widget, u, H, !(e != null && e.designState)), o = f(() => t(b.ctrlWidth) || "auto"), l = f(() => t(b.ctrlHeight) || "auto"), n = f(() => t(b.displayLayout)), i = f(() => {
73
+ var u = t(b.customClass);
74
+ return Array.isArray(u) ? u == null ? void 0 : u.join(" ") : u;
75
+ }), h = f(() => {
76
+ var u = t(b.componentWrapperClass);
77
+ return Array.isArray(u) ? u == null ? void 0 : u.join(" ") : u;
78
+ }), a = f(() => t(b.css)), s = f(() => {
79
+ var u = t(b.componentRootClass);
80
+ return Array.isArray(u) ? u == null ? void 0 : u.join(" ") : u;
81
+ }), c = f(() => {
82
+ var u, H;
83
+ return (H = N((u = t(b.required, !0)) == null ? void 0 : u.options)) == null ? void 0 : H.enable;
84
+ }), g = f(() => t(b.hidden)), d = f(() => t(b.labelTooltip)), C = f(() => t(b.labelIconClass)), r = f(() => t(b.labelIconPosition)), w = f(() => t(b.labelHidden)), F = f(() => t(b.label)), m = f(() => t(b.labelWidth)), T = f(() => t(b.labelAlign));
85
+ return {
86
+ //size,
87
+ attrs: f(() => ({
88
+ required: c.value,
89
+ label: F.value,
90
+ labelHidden: w.value,
91
+ labelAlign: T.value,
92
+ labelIconClass: C.value,
93
+ labelIconPosition: r.value,
94
+ labelTooltip: d.value,
95
+ labelWidth: m.value,
96
+ ctrlWidth: o.value
97
+ })),
98
+ labelAlign: T,
99
+ labelHidden: w,
100
+ labelIconClass: C,
101
+ labelIconPosition: r,
102
+ labelTooltip: d,
103
+ labelWidth: m,
104
+ label: F,
105
+ displayLayout: n,
106
+ hidden: g,
107
+ // required,
108
+ ctrlWidth: o,
109
+ ctrlHeight: l,
110
+ customClass: i,
111
+ componentWrapperClass: h,
112
+ componentRootClass: s,
113
+ css: a
114
+ };
115
+ }
116
+ const $ = (e = "") => new Promise((t) => {
117
+ import("./index-3aaf8638.js").then((o) => {
118
+ const l = o.parse(e, {
119
+ positions: !0,
120
+ parseValue: !1
121
+ }), n = [];
122
+ o.walk(l, {
123
+ visit: "Rule",
124
+ enter(i) {
125
+ const h = o.generate(i.prelude), a = {};
126
+ o.walk(i, {
127
+ visit: "Declaration",
128
+ enter(s) {
129
+ s.property && (a[s.property] = o.generate(s.value));
130
+ }
131
+ }), n.push({ selector: h, declarations: a });
132
+ }
133
+ }), t(n);
134
+ });
135
+ }), E = (e) => new Promise((t) => {
136
+ import("./index-3aaf8638.js").then((o) => {
137
+ const l = x(e), n = o.parse(l, { context: "stylesheet" });
138
+ t(o.generate(n));
139
+ });
140
+ });
141
+ function x(e) {
142
+ return e.map((o) => {
143
+ var n, i, h;
144
+ const l = (h = (i = (n = Object.entries(o.declarations)) == null ? void 0 : n.filter(([a, s]) => !V(s) && s !== "")) == null ? void 0 : i.sort(([a], [s]) => a > s ? 1 : -1)) == null ? void 0 : h.map(([a, s]) => `${a}: ${s};`);
145
+ return `${o.selector} { ${l.join(" ")} }`;
146
+ }).join(`
147
+ `);
148
+ }
149
+ const z = () => new Promise((e) => {
150
+ import("./acorn-a3705767.js").then((t) => {
151
+ e(t);
152
+ });
153
+ });
154
+ function J(e) {
155
+ return new Promise((t) => {
156
+ z().then((o) => {
157
+ var l = Q(o, e);
158
+ t(l);
159
+ });
160
+ });
161
+ }
162
+ function Q(e, t) {
163
+ var i, h;
164
+ const o = e.parse(t, {
165
+ ecmaVersion: "latest",
166
+ sourceType: "script",
167
+ ranges: !0
168
+ // ←←← 必须启用,才能 slice 源码
169
+ }), l = [], n = [];
170
+ for (const a of o.body) {
171
+ if (a.type === "FunctionDeclaration" && ((i = a.id) != null && i.name) && a.range) {
172
+ const s = a.id.name, c = t.slice(a.range[0], a.range[1]);
173
+ l.push({ name: s, text: c });
174
+ }
175
+ if (a.type === "ClassDeclaration" && ((h = a.id) != null && h.name) && a.range) {
176
+ const s = a.id.name, c = t.slice(a.range[0], a.range[1]);
177
+ n.push({ name: s, text: c });
178
+ }
179
+ }
180
+ return { functions: l, classes: n };
181
+ }
182
+ const U = () => {
183
+ const e = "v_form_global_css", t = (s = "", c = e) => {
184
+ var g = n(s, c);
185
+ l(g);
186
+ }, o = (s = "", c = "", g = e) => {
187
+ if (!s)
188
+ return;
189
+ let d = document.getElementsByTagName("head")[0];
190
+ if (d)
191
+ try {
192
+ var C = n(c, g);
193
+ l(g), l(C);
194
+ let r = document.createElement("style");
195
+ if (!r)
196
+ return;
197
+ r.type = "text/css", r.id = c ? g + "-" + c : g;
198
+ try {
199
+ r.appendChild(document.createTextNode(s.toString()));
200
+ } catch {
201
+ r.innerHTML = s.toString();
202
+ }
203
+ d.appendChild(r);
204
+ } catch (r) {
205
+ R.error("insert css to head fail", r);
206
+ }
207
+ }, l = (s) => {
208
+ let c = document.getElementById(s);
209
+ try {
210
+ c && c.parentNode && c.parentNode.removeChild(c);
211
+ } catch (g) {
212
+ console.log(g, c);
213
+ }
214
+ }, n = (s, c) => s ? c + "-" + s : c, i = "v_form_global_functions";
215
+ return {
216
+ insertCustomCssToHead: o,
217
+ insertGlobalFunctionsToHtml: (s, c = "") => {
218
+ if (s)
219
+ try {
220
+ J(s).then((g) => {
221
+ var d, C;
222
+ console.log("acron", g), (d = g.functions) == null || d.forEach((r) => {
223
+ let w;
224
+ const F = r == null ? void 0 : r.text, m = r == null ? void 0 : r.name;
225
+ try {
226
+ w = new Function(`return ${F}`)();
227
+ } catch (T) {
228
+ R.error(`Failed to compile function "${m}":`, T);
229
+ return;
230
+ }
231
+ window[m] = w;
232
+ }), (C = g.classes) == null || C.forEach((r) => {
233
+ const w = r == null ? void 0 : r.text, F = r == null ? void 0 : r.name;
234
+ let m;
235
+ try {
236
+ m = new Function(`return ${w}`)();
237
+ } catch (T) {
238
+ R.error(`Failed to compile class "${F}":`, T);
239
+ return;
240
+ }
241
+ window[F] = m;
242
+ });
243
+ });
244
+ } catch (g) {
245
+ R.error("insert js to head fail", g);
246
+ }
247
+ },
248
+ removeGlobalFunctionsToHtml: (s, c = i) => {
249
+ var g = n(s, c);
250
+ l(g);
251
+ },
252
+ removeCustomCssToHead: t
253
+ };
254
+ }, K = [
255
+ "width",
256
+ "height",
257
+ "display",
258
+ "margin",
259
+ "margin-left",
260
+ "margin-right",
261
+ "margin-top",
262
+ "margin-bottom"
263
+ ], X = (e, t, o) => {
264
+ const l = {};
265
+ return t.forEach((n) => {
266
+ var i = e[n];
267
+ A(i) || (l[n] = o ? o(n, i) : i);
268
+ }), l;
269
+ }, Y = (e, t, o) => {
270
+ var n;
271
+ const l = {};
272
+ return (n = q(e)) == null || n.forEach((i) => {
273
+ var h = e[i];
274
+ t != null && t.includes(i) || (l[i] = o ? o(i, h) : h);
275
+ }), l;
276
+ }, D = (e, t) => ["width", "height", "display"].includes(e) ? A(t) || t == "auto" ? t : `${t} !important` : t, et = (e) => new Promise((t) => {
277
+ $(e).then((o) => {
278
+ var l = o == null ? void 0 : o.map((n) => ({ selector: n.selector, declarations: X(n.declarations, K, D) }));
279
+ E(l).then((n) => {
280
+ t(n);
281
+ });
282
+ });
283
+ }), nt = (e) => new Promise((t) => {
284
+ $(e).then((o) => {
285
+ var l = o == null ? void 0 : o.map((n) => ({ selector: n.selector, declarations: Y(n.declarations, K, D) }));
286
+ E(l).then((n) => {
287
+ t(n);
288
+ });
289
+ });
290
+ }), lt = (e, t) => {
291
+ if (!t || !e)
292
+ return;
293
+ const o = O(e, ":root", `.${t}`), { insertCustomCssToHead: l } = U();
294
+ l(o, void 0, t);
295
+ }, st = (e, t = !0, o) => {
296
+ if (o != null && o === !1)
297
+ return [];
298
+ const l = Z(e);
299
+ return t || (e == null ? void 0 : e.length) <= 0 ? l : l == null ? void 0 : l.filter((n) => {
300
+ var i;
301
+ return !!(n != null && n.widgetList) && ((i = n == null ? void 0 : n.widgetList) == null ? void 0 : i.length) > 0 || !!n.default || (n == null ? void 0 : n.slotName) === B.default;
302
+ });
303
+ }, rt = (e, t) => e == null ? void 0 : e.find((o) => (o == null ? void 0 : o.slotName) === t), Z = (e) => N(e);
304
+ export {
305
+ W as F,
306
+ lt as a,
307
+ nt as b,
308
+ ot as c,
309
+ rt as d,
310
+ st as g,
311
+ Z as i,
312
+ et as p,
313
+ U as u
314
+ };
@@ -1,12 +1,12 @@
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-5547436d.js";
3
- import { b as w } from "./share-field-a27c55ba.js";
3
+ import { b as w } from "./share-field-33bed9fb.js";
4
4
  import { w as C } from "./expression-d514d13e.js";
5
5
  import { _ as P } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b2aca878.js";
6
6
  import { _ as b } from "./content-wrapper.vue_vue_type_script_setup_true_lang-55618b6d.js";
7
7
  import "./widget-base-4c2d6265.js";
8
8
  import "./enum-type-1c0ae1da.js";
9
- import "./multirow-3c042f3e.js";
9
+ import "./multirow-b0df65a6.js";
10
10
  import "./baseImp-242db99f.js";
11
11
  import "./enum-type-768f07b9.js";
12
12
  import "./icon-a0e0cdb0.js";
@@ -15,7 +15,7 @@ import "./_commonjsHelpers-e7ea1525.js";
15
15
  import "./uuid-81bac653.js";
16
16
  import "element-plus";
17
17
  import "./index-38b887d7.js";
18
- import "./slot-5f1a47c4.js";
18
+ import "./slot-9818013e.js";
19
19
  import "./source-map-b04aec4a.js";
20
20
  import "./esprima-e8d15055.js";
21
21
  import "./index-a152420d.js";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as f, computed as E, ref as F, resolveComponent as u, openBlock as r, createBlock as s, mergeProps as i, 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-5547436d.js";
3
3
  import { _ as $ } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b2aca878.js";
4
- import { b as K } from "./share-field-a27c55ba.js";
4
+ import { b as K } from "./share-field-33bed9fb.js";
5
5
  import { S as W } from "./index-a152420d.js";
6
6
  import { w as q } from "./expression-d514d13e.js";
7
7
  import { c as p } from "./enum-type-1c0ae1da.js";
@@ -15,8 +15,8 @@ import "./dialog-cb26ee83.js";
15
15
  import "./_commonjsHelpers-e7ea1525.js";
16
16
  import "element-plus";
17
17
  import "./fieldobj-5eca64a8.js";
18
- import "./multirow-3c042f3e.js";
19
- import "./slot-5f1a47c4.js";
18
+ import "./multirow-b0df65a6.js";
19
+ import "./slot-9818013e.js";
20
20
  import "./_plugin-vue_export-helper-dad06003.js";
21
21
  import "./source-map-b04aec4a.js";
22
22
  import "./esprima-e8d15055.js";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as s, resolveComponent as C, openBlock as i, createBlock as p, mergeProps as m, unref as e, withCtx as F, isRef as O, toHandlers as V } from "vue";
2
2
  import { w as b } from "./expression-d514d13e.js";
3
- import { b as h } from "./share-field-a27c55ba.js";
3
+ import { b as h } from "./share-field-33bed9fb.js";
4
4
  import { I as v } from "./field-base-5547436d.js";
5
5
  import x from "./form-item-wrapper-b761d512.js";
6
6
  import "./source-map-b04aec4a.js";
@@ -8,14 +8,14 @@ import "./enum-type-1c0ae1da.js";
8
8
  import "./uuid-81bac653.js";
9
9
  import "./_commonjsHelpers-e7ea1525.js";
10
10
  import "./esprima-e8d15055.js";
11
- import "./multirow-3c042f3e.js";
11
+ import "./multirow-b0df65a6.js";
12
12
  import "./baseImp-242db99f.js";
13
13
  import "./enum-type-768f07b9.js";
14
14
  import "./icon-a0e0cdb0.js";
15
15
  import "./dialog-cb26ee83.js";
16
16
  import "element-plus";
17
17
  import "./index-38b887d7.js";
18
- import "./slot-5f1a47c4.js";
18
+ import "./slot-9818013e.js";
19
19
  import "./widget-base-4c2d6265.js";
20
20
  import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b2aca878.js";
21
21
  import "./index-a152420d.js";
@@ -1,4 +1,4 @@
1
- import { _ as e } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-09274c7d.js";
1
+ import { _ as e } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-117fa09b.js";
2
2
  const o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3
3
  __proto__: null,
4
4
  default: e
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as s, openBlock as l, createBlock as f, mergeProps as r, unref as e, withCtx as g, createVNode as _ } from "vue";
2
2
  import { w as u } from "./expression-d514d13e.js";
3
3
  import { I as w } from "./widget-base-4c2d6265.js";
4
- import { D as C } from "./drag-wrapper-0e14be76.js";
4
+ import { D as C } from "./drag-wrapper-de9be57d.js";
5
5
  import { _ as b } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b2aca878.js";
6
- import { c as W } from "./slot-5f1a47c4.js";
7
- import { b as h } from "./share-field-a27c55ba.js";
6
+ import { c as W } from "./slot-9818013e.js";
7
+ import { b as h } from "./share-field-33bed9fb.js";
8
8
  const k = s({ componentName: u.ContainerWidget }), V = /* @__PURE__ */ s({
9
9
  ...k,
10
10
  __name: "tab-pane-widget",
@@ -1,4 +1,4 @@
1
- import { _ as o } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-ef294d28.js";
1
+ import { _ as o } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-4562e88c.js";
2
2
  import "vue";
3
3
  import "./enum-type-1c0ae1da.js";
4
4
  import "./baseImp-242db99f.js";
@@ -11,12 +11,12 @@ import "./esprima-e8d15055.js";
11
11
  import "./icon-a0e0cdb0.js";
12
12
  import "./dialog-cb26ee83.js";
13
13
  import "element-plus";
14
- import "./drag-wrapper-0e14be76.js";
14
+ import "./drag-wrapper-de9be57d.js";
15
15
  import "./widget-base-4c2d6265.js";
16
16
  import "./index-38b887d7.js";
17
- import "./slot-5f1a47c4.js";
17
+ import "./slot-9818013e.js";
18
18
  import "./_plugin-vue_export-helper-dad06003.js";
19
- import "./multirow-3c042f3e.js";
19
+ import "./multirow-b0df65a6.js";
20
20
  export {
21
21
  o as default
22
22
  };
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as E, resolveComponent as G, openBlock as i, createBlock as a, normalizeProps as I, guardReactiveProps as N, unref as e, withCtx as v, resolveDynamicComponent as A, createCommentVNode as s, createElementBlock as F, Fragment as L, renderList as V } from "vue";
2
2
  import { c as O, e as j } from "./enum-type-1c0ae1da.js";
3
3
  import { b as q, g as H } from "./baseImp-242db99f.js";
4
- import { D as W } from "./drag-wrapper-0e14be76.js";
5
- import { d as g } from "./slot-5f1a47c4.js";
6
- import { b as J } from "./multirow-3c042f3e.js";
4
+ import { D as W } from "./drag-wrapper-de9be57d.js";
5
+ import { d as g } from "./slot-9818013e.js";
6
+ import { b as J } from "./multirow-b0df65a6.js";
7
7
  import { g as K } from "./uuid-81bac653.js";
8
8
  const M = /* @__PURE__ */ E({
9
9
  __name: "table-col-widget",
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as re, ref as j, computed as Q, reactive as Ce, onMounted as je, resolveComponent as F, resolveDirective as ke, openBlock as v, createBlock as z, mergeProps as X, unref as t, withCtx as k, withDirectives as Ee, createElementBlock as Y, createVNode as Z, createTextVNode as ee, toDisplayString as Re, createCommentVNode as te, toHandlers as Te, Fragment as De, renderList as Ie } from "vue";
2
2
  import { I as Ve } from "./field-base-5547436d.js";
3
3
  import { _ as We } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b2aca878.js";
4
- import { b as Me } from "./share-field-a27c55ba.js";
4
+ import { b as Me } from "./share-field-33bed9fb.js";
5
5
  import { w as Ue, b as Le } from "./expression-d514d13e.js";
6
- import { _ as we } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-ef294d28.js";
6
+ import { _ as we } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-4562e88c.js";
7
7
  import { x as Ae, e as I, g as ae, a as Be, f as $e, t as Ge, o as Ke } from "./enum-type-1c0ae1da.js";
8
- import { F as He } from "./slot-5f1a47c4.js";
9
- import { c as Je, p as oe } from "./multirow-3c042f3e.js";
8
+ import { F as He } from "./slot-9818013e.js";
9
+ import { c as Je, p as oe } from "./multirow-b0df65a6.js";
10
10
  import { L as qe, g as Qe, P as ne, b as Xe, d as Ye } from "./baseImp-242db99f.js";
11
11
  import { S as Ze } from "./enum-type-768f07b9.js";
12
12
  import "./widget-base-4c2d6265.js";
@@ -19,7 +19,7 @@ import "./_plugin-vue_export-helper-dad06003.js";
19
19
  import "./fieldobj-5eca64a8.js";
20
20
  import "./source-map-b04aec4a.js";
21
21
  import "./esprima-e8d15055.js";
22
- import "./drag-wrapper-0e14be76.js";
22
+ import "./drag-wrapper-de9be57d.js";
23
23
  import "./dialog-cb26ee83.js";
24
24
  import "element-plus";
25
25
  function et() {
@@ -2,9 +2,9 @@ import { defineComponent as y, computed as _, ref as L, resolveComponent as R, r
2
2
  import { c as n, k as Q } from "./enum-type-1c0ae1da.js";
3
3
  import { b as X, w as Y } from "./expression-d514d13e.js";
4
4
  import { I as Z } from "./widget-base-4c2d6265.js";
5
- import { b as ee } from "./share-field-a27c55ba.js";
5
+ import { b as ee } from "./share-field-33bed9fb.js";
6
6
  import { _ as te } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b2aca878.js";
7
- import { _ as ae } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-09274c7d.js";
7
+ import { _ as ae } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-117fa09b.js";
8
8
  import { u as oe } from "./index-38b887d7.js";
9
9
  import { B as T } from "./baseImp-242db99f.js";
10
10
  const se = y({ componentName: Y.ContainerWidget }), ne = /* @__PURE__ */ y({