hlrender 0.0.199 → 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 (118) hide show
  1. package/{_pdf-5693a3a5.js → _pdf-7c668149.js} +6 -6
  2. package/{_txt-cc9ff6a4.js → _txt-31429e8d.js} +6 -6
  3. package/{_unsupport-fec00214.js → _unsupport-35f551f9.js} +1 -1
  4. package/{affix-widget-e83690e6.js → affix-widget-01984956.js} +16 -16
  5. package/{alert-widget-6e4122a0.js → alert-widget-3bd3f4cd.js} +16 -16
  6. package/{anchor-widget-433cca12.js → anchor-widget-2b3f18b4.js} +13 -13
  7. package/{auto-complete-widget-94f0bf82.js → auto-complete-widget-2cbb008a.js} +16 -16
  8. package/{avatar-widget-0373b089.js → avatar-widget-d1108ad6.js} +16 -16
  9. package/{backtop-widget-ee4874e4.js → backtop-widget-1b8fa8f7.js} +16 -16
  10. package/{badge-widget-56550313.js → badge-widget-b823a6d1.js} +16 -16
  11. package/{barcode-widget-3ac11e9e.js → barcode-widget-18de3d18.js} +13 -13
  12. package/{baseImp-79376d04.js → baseImp-242db99f.js} +106 -108
  13. package/{breadcrumb-widget-d6a3ea52.js → breadcrumb-widget-eb963780.js} +13 -13
  14. package/{button-widget-aa311e6c.js → button-widget-37fe1d2b.js} +16 -16
  15. package/{cache-widget-feac9f7d.js → cache-widget-a45745a1.js} +15 -15
  16. package/{card-widget-18cd6661.js → card-widget-74937a78.js} +14 -14
  17. package/{carousel-widget-0f89e75b.js → carousel-widget-d753a733.js} +14 -14
  18. package/{cascader-widget-bd8f686f.js → cascader-widget-168c9ebd.js} +15 -15
  19. package/{chart-widget-df52a80e.js → chart-widget-cda6f103.js} +13 -13
  20. package/{checkbox-widget-49d4c657.js → checkbox-widget-5d80c960.js} +15 -15
  21. package/{collapse-widget-b874885b.js → collapse-widget-e4f0fb07.js} +14 -14
  22. package/{color-picker-widget-df3ff6db.js → color-picker-widget-012a962b.js} +15 -15
  23. package/{cont-cell-widget-159e50ef.js → cont-cell-widget-0f398cba.js} +1 -1
  24. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-abcba0d4.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-14defd89.js} +5 -5
  25. package/{cont-widget-47e8d275.js → cont-widget-f83910ba.js} +5 -5
  26. package/{content-wrapper-21a9e51b.js → content-wrapper-9d93e627.js} +7 -7
  27. package/{content-wrapper.vue_vue_type_script_setup_true_lang-159b5487.js → content-wrapper.vue_vue_type_script_setup_true_lang-55618b6d.js} +3 -3
  28. package/{date-picker-range-widget-b05d4879.js → date-picker-range-widget-cff89500.js} +15 -15
  29. package/{date-picker-widget-f7bba7ad.js → date-picker-widget-8c4b2534.js} +15 -15
  30. package/default-slot-widget-47f401ce.js +26 -0
  31. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-8343af69.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-a552a4be.js} +7 -7
  32. package/{descriptions-widget-181e7daa.js → descriptions-widget-4addc4c7.js} +14 -14
  33. package/{dialog-0acb2540.js → dialog-cb26ee83.js} +2 -2
  34. package/{dialog-widget-1dd9299a.js → dialog-widget-815c80a1.js} +15 -15
  35. package/{divider-widget-6d4d7b57.js → divider-widget-925d418b.js} +16 -16
  36. package/{drag-wrapper-571e1bf5.js → drag-wrapper-de9be57d.js} +6 -6
  37. package/{drawer-widget-d8ac79e3.js → drawer-widget-5444a0c0.js} +15 -15
  38. package/{dropdown-widget-06ab98de.js → dropdown-widget-980baf81.js} +14 -14
  39. package/{empty-widget-13baa871.js → empty-widget-b810eafb.js} +16 -16
  40. package/{enum-type-523bc2b7.js → enum-type-1c0ae1da.js} +29 -0
  41. package/{enum-type-4aac0ead.js → enum-type-768f07b9.js} +1 -1
  42. package/{expression-8dec47fe.js → expression-d514d13e.js} +2 -2
  43. package/feedback-widget-98708e19.js +26 -0
  44. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-8af4ae9f.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-0bdb5053.js} +5 -5
  45. package/{fieldobj-b9dc0fa4.js → fieldobj-5eca64a8.js} +1 -1
  46. package/{file-upload-widget-962de378.js → file-upload-widget-3126e728.js} +20 -20
  47. package/{form-item-wrapper-d3ad2de0.js → form-item-wrapper-b761d512.js} +11 -11
  48. package/{form-widget-ef09a16a.js → form-widget-12c6d64a.js} +10 -10
  49. package/{grid-col-widget-d4acebd9.js → grid-col-widget-1e3755fc.js} +1 -1
  50. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-9f4143f4.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-5f050ef2.js} +5 -5
  51. package/{grid-widget-59dc4c39.js → grid-widget-d6f4ce7f.js} +5 -5
  52. package/{html-text-widget-3b6ee038.js → html-text-widget-e997e2ec.js} +14 -14
  53. package/{icon-widget-a66d9a02.js → icon-widget-5f8d6b85.js} +13 -13
  54. package/{iframe-widget-c0fab6c8.js → iframe-widget-37713ad4.js} +13 -13
  55. package/{image-widget-80426cea.js → image-widget-0f84aa93.js} +13 -13
  56. package/{index-c5927286.js → index-2f190dda.js} +4 -4
  57. package/{index-87d3b375.js → index-38b887d7.js} +5 -5
  58. package/{index-b82fc973.js → index-a152420d.js} +1 -1
  59. package/{input-number-widget-f44c8ebc.js → input-number-widget-d642316d.js} +15 -15
  60. package/{input-widget-ace0300e.js → input-widget-f5a85bb5.js} +16 -16
  61. package/{label-wrapper-b294182f.js → label-wrapper-0b97fbf7.js} +5 -5
  62. package/{label-wrapper.vue_vue_type_style_index_0_lang-a68fc27e.js → label-wrapper.vue_vue_type_style_index_0_lang-21ba79d3.js} +3 -3
  63. package/{link-widget-ec449bd6.js → link-widget-8ef800c5.js} +16 -16
  64. package/{ltable-col-widget-51e07713.js → ltable-col-widget-2163c281.js} +1 -1
  65. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-369d758f.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-330519b7.js} +9 -9
  66. package/{ltable-widget-14580904.js → ltable-widget-9535b0b0.js} +5 -5
  67. package/{menu-widget-efb62411.js → menu-widget-70e03b60.js} +14 -14
  68. package/{model-widget-b8188485.js → model-widget-cdea91c7.js} +13 -13
  69. package/{multirow-169e628f.js → multirow-b0df65a6.js} +6 -6
  70. package/{multirow-widget-fffaa309.js → multirow-widget-62f63080.js} +15 -15
  71. package/package.json +1 -1
  72. package/{pagination-widget-749ab51c.js → pagination-widget-cac6d5e8.js} +13 -13
  73. package/{picture-upload-widget-870997b0.js → picture-upload-widget-ee543b0d.js} +16 -16
  74. package/{progress-widget-0fdf11d5.js → progress-widget-ca7ea304.js} +14 -14
  75. package/{propresult-10fa007b.js → propresult-e4364460.js} +1 -1
  76. package/{qrcode-widget-4f8af10a.js → qrcode-widget-92d4793e.js} +13 -13
  77. package/{radio-widget-8693eb03.js → radio-widget-ec65fc97.js} +15 -15
  78. package/{range-widget-6cf5b012.js → range-widget-2978212c.js} +16 -16
  79. package/{rate-widget-ae480517.js → rate-widget-1460ddde.js} +15 -15
  80. package/render.es.js +109 -109
  81. package/render.umd.js +31 -31
  82. package/{result-widget-312936cf.js → result-widget-a9ebf939.js} +14 -14
  83. package/{rich-editor-widget-0b382b09.js → rich-editor-widget-bee3b659.js} +15 -15
  84. package/{router-widget-554e8fd9.js → router-widget-202c76b6.js} +13 -13
  85. package/{select-widget-53daaec3.js → select-widget-4944eaa4.js} +15 -15
  86. package/{sfc-39e2a132.js → sfc-d8640942.js} +8 -8
  87. package/{sfcview-d2924e26.js → sfcview-5e86900c.js} +7 -7
  88. package/{share-field-227e573a.js → share-field-33bed9fb.js} +8 -8
  89. package/{share-file-97683189.js → share-file-a6294200.js} +6 -6
  90. package/{slider-widget-11f6773b.js → slider-widget-e43a8310.js} +15 -15
  91. package/{slot-da3b397f.js → slot-9818013e.js} +114 -113
  92. package/{static-text-widget-46f29a58.js → static-text-widget-51e52e92.js} +14 -14
  93. package/{steps-widget-c694f349.js → steps-widget-0dcfd664.js} +13 -13
  94. package/{subMenu-widget-db1f3b9c.js → subMenu-widget-31b2de2f.js} +8 -8
  95. package/{subMenu-widget.vue_vue_type_script_setup_true_lang-02e8aaee.js → subMenu-widget.vue_vue_type_script_setup_true_lang-705e9942.js} +3 -3
  96. package/{switch-widget-8f21f942.js → switch-widget-7d9065d3.js} +15 -15
  97. package/{tab-pane-widget-c45db025.js → tab-pane-widget-3b2d74c3.js} +1 -1
  98. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-0352bf40.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-117fa09b.js} +5 -5
  99. package/table-col-widget-9282e34a.js +22 -0
  100. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-5623617e.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-4562e88c.js} +6 -6
  101. package/{table-widget-eac0c746.js → table-widget-ae2a296e.js} +15 -15
  102. package/{tabs-widget-1ddf6535.js → tabs-widget-99c5a2eb.js} +7 -7
  103. package/{tag-widget-33cde894.js → tag-widget-d6549de3.js} +16 -16
  104. package/{text-widget-eec191a3.js → text-widget-7be180e6.js} +16 -16
  105. package/{textarea-widget-617f4408.js → textarea-widget-4c60a73c.js} +15 -15
  106. package/{time-picker-range-widget-f0fe2eea.js → time-picker-range-widget-40493bad.js} +15 -15
  107. package/{time-picker-widget-80a02857.js → time-picker-widget-88bcac2a.js} +15 -15
  108. package/{time-select-widget-1c52c4ba.js → time-select-widget-c87dadbe.js} +15 -15
  109. package/{tmpl-widget-6a99246c.js → tmpl-widget-14f305d2.js} +14 -14
  110. package/{tree-select-widget-ffee176b.js → tree-select-widget-f4c1edc6.js} +15 -15
  111. package/{tree-widget-3f55b5e2.js → tree-widget-08a43889.js} +13 -13
  112. package/{uuid-de039332.js → uuid-81bac653.js} +1 -1
  113. package/{verifycode-widget-fa1e1b23.js → verifycode-widget-10f54ed3.js} +13 -13
  114. package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4c03293b.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b2aca878.js} +7 -7
  115. package/{wrapper-widget-b770069e.js → wrapper-widget-b13f1dd0.js} +6 -6
  116. package/default-slot-widget-64643481.js +0 -26
  117. package/feedback-widget-170e748c.js +0 -26
  118. package/table-col-widget-4228d3c2.js +0 -22
@@ -1,29 +1,29 @@
1
1
  var M = Object.defineProperty;
2
2
  var _ = (e, t, o) => t in e ? M(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
3
- var F = (e, t, o) => (_(e, typeof t != "symbol" ? t + "" : t, o), o);
4
- import { inject as T, provide as p, computed as g } from "vue";
5
- import { d, b, r as O, s as B } from "./expression-8dec47fe.js";
6
- import { B as G } from "./baseImp-79376d04.js";
7
- import { c as N, i as V, m as H, j as A, o as q } from "./enum-type-523bc2b7.js";
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
8
  class W {
9
9
  constructor() {
10
10
  /**
11
11
  * 当前表单引用库
12
12
  * 假设表单组件位于表单form中,则该引用注册入库
13
13
  */
14
- F(this, "formRefList", {});
14
+ L(this, "formRefList", {});
15
15
  /**
16
16
  * 全局引用库
17
17
  */
18
- F(this, "globalRefList", {});
18
+ L(this, "globalRefList", {});
19
19
  /**
20
20
  * 全局数据对象
21
21
  */
22
- F(this, "globalDataModel", {});
22
+ L(this, "globalDataModel", {});
23
23
  /**
24
24
  * 当前表单名称
25
25
  */
26
- F(this, "globalFormName", "");
26
+ L(this, "globalFormName", "");
27
27
  /**
28
28
  * 全局页面名称
29
29
  */
@@ -31,84 +31,84 @@ class W {
31
31
  /**
32
32
  * 用于类似template组件的数据绑定传递
33
33
  */
34
- F(this, "rowScope", {});
34
+ L(this, "rowScope", {});
35
35
  /**
36
36
  * 渲染器调用者传入的配置参数,如接口地址、密钥等
37
37
  */
38
- F(this, "globalConfig", {});
38
+ L(this, "globalConfig", {});
39
39
  }
40
40
  static globalInject() {
41
41
  const t = new W();
42
- return t.formRefList = T(d.refList, {}), t.globalRefList = T(d.allRefList, {}), t.globalDataModel = T(d.globalModel, {}), t.rowScope = T(d.rowScope, {}), t.globalFormName = T(d.globalForm, ""), t.globalConfig = T(d.globalConfig, {}), t;
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
43
  }
44
44
  static globalProvide(t) {
45
45
  if ((t == null ? void 0 : t.globalDataModel) !== void 0) {
46
46
  const o = (t == null ? void 0 : t.globalDataModel) || {};
47
- p(d.globalModel, o);
47
+ S(y.globalModel, o);
48
48
  }
49
49
  if ((t == null ? void 0 : t.rowScope) !== void 0) {
50
50
  const o = (t == null ? void 0 : t.rowScope) || {};
51
- p(d.rowScope, o);
51
+ S(y.rowScope, o);
52
52
  }
53
53
  if ((t == null ? void 0 : t.globalRefList) !== void 0) {
54
54
  const o = (t == null ? void 0 : t.globalRefList) || {};
55
- p(d.allRefList, o);
55
+ S(y.allRefList, o);
56
56
  }
57
57
  if ((t == null ? void 0 : t.formRefList) !== void 0) {
58
58
  const o = (t == null ? void 0 : t.formRefList) || {};
59
- p(d.refList, o);
59
+ S(y.refList, o);
60
60
  }
61
61
  if ((t == null ? void 0 : t.globalFormName) !== void 0) {
62
62
  const o = (t == null ? void 0 : t.globalFormName) || "";
63
- p(d.globalForm, o);
63
+ S(y.globalForm, o);
64
64
  }
65
65
  if ((t == null ? void 0 : t.globalConfig) !== void 0) {
66
66
  const o = (t == null ? void 0 : t.globalConfig) || "";
67
- p(d.globalConfig, o);
67
+ S(y.globalConfig, o);
68
68
  }
69
69
  }
70
70
  }
71
71
  function ot(e) {
72
- const t = (c, S = !1) => G.getOptions(e == null ? void 0 : e.widget, c, S, !(e != null && e.designState)), o = g(() => t(b.ctrlWidth) || "auto"), l = g(() => t(b.ctrlHeight) || "auto"), n = g(() => t(b.displayLayout)), i = g(() => {
73
- var c = t(b.customClass);
74
- return Array.isArray(c) ? c == null ? void 0 : c.join(" ") : c;
75
- }), y = g(() => {
76
- var c = t(b.componentWrapperClass);
77
- return Array.isArray(c) ? c == null ? void 0 : c.join(" ") : c;
78
- }), a = g(() => t(b.css)), s = g(() => {
79
- var c = t(b.componentRootClass);
80
- return Array.isArray(c) ? c == null ? void 0 : c.join(" ") : c;
81
- }), r = g(() => {
82
- var c, S;
83
- return (S = N((c = t(b.required, !0)) == null ? void 0 : c.options)) == null ? void 0 : S.enable;
84
- }), h = g(() => t(b.hidden)), w = g(() => t(b.labelTooltip)), u = g(() => t(b.labelIconClass)), f = g(() => t(b.labelIconPosition)), m = g(() => t(b.labelHidden)), C = g(() => t(b.label)), L = g(() => t(b.labelWidth)), R = g(() => t(b.labelAlign));
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
85
  return {
86
86
  //size,
87
- attrs: g(() => ({
88
- required: r.value,
89
- label: C.value,
90
- labelHidden: m.value,
91
- labelAlign: R.value,
92
- labelIconClass: u.value,
93
- labelIconPosition: f.value,
94
- labelTooltip: w.value,
95
- labelWidth: L.value,
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
96
  ctrlWidth: o.value
97
97
  })),
98
- labelAlign: R,
99
- labelHidden: m,
100
- labelIconClass: u,
101
- labelIconPosition: f,
102
- labelTooltip: w,
103
- labelWidth: L,
104
- label: C,
98
+ labelAlign: T,
99
+ labelHidden: w,
100
+ labelIconClass: C,
101
+ labelIconPosition: r,
102
+ labelTooltip: d,
103
+ labelWidth: m,
104
+ label: F,
105
105
  displayLayout: n,
106
- hidden: h,
106
+ hidden: g,
107
107
  // required,
108
108
  ctrlWidth: o,
109
109
  ctrlHeight: l,
110
110
  customClass: i,
111
- componentWrapperClass: y,
111
+ componentWrapperClass: h,
112
112
  componentRootClass: s,
113
113
  css: a
114
114
  };
@@ -122,13 +122,13 @@ const $ = (e = "") => new Promise((t) => {
122
122
  o.walk(l, {
123
123
  visit: "Rule",
124
124
  enter(i) {
125
- const y = o.generate(i.prelude), a = {};
125
+ const h = o.generate(i.prelude), a = {};
126
126
  o.walk(i, {
127
127
  visit: "Declaration",
128
128
  enter(s) {
129
129
  s.property && (a[s.property] = o.generate(s.value));
130
130
  }
131
- }), n.push({ selector: y, declarations: a });
131
+ }), n.push({ selector: h, declarations: a });
132
132
  }
133
133
  }), t(n);
134
134
  });
@@ -140,8 +140,8 @@ const $ = (e = "") => new Promise((t) => {
140
140
  });
141
141
  function x(e) {
142
142
  return e.map((o) => {
143
- var n, i, y;
144
- const l = (y = (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 : y.map(([a, s]) => `${a}: ${s};`);
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
145
  return `${o.selector} { ${l.join(" ")} }`;
146
146
  }).join(`
147
147
  `);
@@ -160,7 +160,7 @@ function J(e) {
160
160
  });
161
161
  }
162
162
  function Q(e, t) {
163
- var i, y;
163
+ var i, h;
164
164
  const o = e.parse(t, {
165
165
  ecmaVersion: "latest",
166
166
  sourceType: "script",
@@ -169,84 +169,85 @@ function Q(e, t) {
169
169
  }), l = [], n = [];
170
170
  for (const a of o.body) {
171
171
  if (a.type === "FunctionDeclaration" && ((i = a.id) != null && i.name) && a.range) {
172
- const s = a.id.name, r = t.slice(a.range[0], a.range[1]);
173
- l.push({ name: s, text: r });
172
+ const s = a.id.name, c = t.slice(a.range[0], a.range[1]);
173
+ l.push({ name: s, text: c });
174
174
  }
175
- if (a.type === "ClassDeclaration" && ((y = a.id) != null && y.name) && a.range) {
176
- const s = a.id.name, r = t.slice(a.range[0], a.range[1]);
177
- n.push({ name: s, text: r });
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
178
  }
179
179
  }
180
180
  return { functions: l, classes: n };
181
181
  }
182
182
  const U = () => {
183
- const e = "v_form_global_css", t = (s = "", r = e) => {
184
- var h = n(s, r);
185
- l(h);
186
- }, o = (s = "", r = "", h = e) => {
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
187
  if (!s)
188
188
  return;
189
- let w = document.getElementsByTagName("head")[0];
190
- if (w)
189
+ let d = document.getElementsByTagName("head")[0];
190
+ if (d)
191
191
  try {
192
- var u = n(r, h);
193
- l(h), l(u);
194
- let f = document.createElement("style");
195
- if (!f)
192
+ var C = n(c, g);
193
+ l(g), l(C);
194
+ let r = document.createElement("style");
195
+ if (!r)
196
196
  return;
197
- f.type = "text/css", f.id = r ? h + "-" + r : h;
197
+ r.type = "text/css", r.id = c ? g + "-" + c : g;
198
198
  try {
199
- f.appendChild(document.createTextNode(s.toString()));
199
+ r.appendChild(document.createTextNode(s.toString()));
200
200
  } catch {
201
- f.innerHTML = s.toString();
201
+ r.innerHTML = s.toString();
202
202
  }
203
- w.appendChild(f);
204
- } catch (f) {
205
- H.error("insert css to head fail", f);
203
+ d.appendChild(r);
204
+ } catch (r) {
205
+ R.error("insert css to head fail", r);
206
206
  }
207
207
  }, l = (s) => {
208
- let r = document.getElementById(s);
208
+ let c = document.getElementById(s);
209
209
  try {
210
- r && r.parentNode && r.parentNode.removeChild(r);
211
- } catch (h) {
212
- console.log(h, r);
210
+ c && c.parentNode && c.parentNode.removeChild(c);
211
+ } catch (g) {
212
+ console.log(g, c);
213
213
  }
214
- }, n = (s, r) => s ? r + "-" + s : r, i = "v_form_global_functions";
214
+ }, n = (s, c) => s ? c + "-" + s : c, i = "v_form_global_functions";
215
215
  return {
216
216
  insertCustomCssToHead: o,
217
- insertGlobalFunctionsToHtml: (s) => {
218
- try {
219
- J(s).then((r) => {
220
- var h, w;
221
- (h = r.functions) == null || h.forEach((u) => {
222
- let f;
223
- const m = u == null ? void 0 : u.text, C = u == null ? void 0 : u.name;
224
- try {
225
- f = new Function(`return ${m}`)();
226
- } catch (L) {
227
- H.error(`Failed to compile function "${C}":`, L);
228
- return;
229
- }
230
- window[C] = f;
231
- }), (w = r.classes) == null || w.forEach((u) => {
232
- const f = u == null ? void 0 : u.text, m = u == null ? void 0 : u.name;
233
- let C;
234
- try {
235
- C = new Function(`return ${f}`)();
236
- } catch (L) {
237
- H.error(`Failed to compile class "${m}":`, L);
238
- return;
239
- }
240
- window[m] = C;
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
+ });
241
243
  });
242
- });
243
- } catch (r) {
244
- H.error("insert js to head fail", r);
245
- }
244
+ } catch (g) {
245
+ R.error("insert js to head fail", g);
246
+ }
246
247
  },
247
- removeGlobalFunctionsToHtml: (s, r = i) => {
248
- var h = n(s, r);
249
- l(h);
248
+ removeGlobalFunctionsToHtml: (s, c = i) => {
249
+ var g = n(s, c);
250
+ l(g);
250
251
  },
251
252
  removeCustomCssToHead: t
252
253
  };
@@ -269,8 +270,8 @@ const U = () => {
269
270
  var n;
270
271
  const l = {};
271
272
  return (n = q(e)) == null || n.forEach((i) => {
272
- var y = e[i];
273
- t != null && t.includes(i) || (l[i] = o ? o(i, y) : y);
273
+ var h = e[i];
274
+ t != null && t.includes(i) || (l[i] = o ? o(i, h) : h);
274
275
  }), l;
275
276
  }, D = (e, t) => ["width", "height", "display"].includes(e) ? A(t) || t == "auto" ? t : `${t} !important` : t, et = (e) => new Promise((t) => {
276
277
  $(e).then((o) => {
@@ -1,26 +1,26 @@
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-227e573a.js";
4
- import { w as C } from "./expression-8dec47fe.js";
5
- import { _ as P } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4c03293b.js";
6
- import { _ as b } from "./content-wrapper.vue_vue_type_script_setup_true_lang-159b5487.js";
3
+ import { b as w } from "./share-field-33bed9fb.js";
4
+ import { w as C } from "./expression-d514d13e.js";
5
+ import { _ as P } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b2aca878.js";
6
+ import { _ as b } from "./content-wrapper.vue_vue_type_script_setup_true_lang-55618b6d.js";
7
7
  import "./widget-base-4c2d6265.js";
8
- import "./enum-type-523bc2b7.js";
9
- import "./multirow-169e628f.js";
10
- import "./baseImp-79376d04.js";
11
- import "./enum-type-4aac0ead.js";
8
+ import "./enum-type-1c0ae1da.js";
9
+ import "./multirow-b0df65a6.js";
10
+ import "./baseImp-242db99f.js";
11
+ import "./enum-type-768f07b9.js";
12
12
  import "./icon-a0e0cdb0.js";
13
- import "./dialog-0acb2540.js";
13
+ import "./dialog-cb26ee83.js";
14
14
  import "./_commonjsHelpers-e7ea1525.js";
15
- import "./uuid-de039332.js";
15
+ import "./uuid-81bac653.js";
16
16
  import "element-plus";
17
- import "./index-87d3b375.js";
18
- import "./slot-da3b397f.js";
17
+ import "./index-38b887d7.js";
18
+ import "./slot-9818013e.js";
19
19
  import "./source-map-b04aec4a.js";
20
20
  import "./esprima-e8d15055.js";
21
- import "./index-b82fc973.js";
21
+ import "./index-a152420d.js";
22
22
  import "./_plugin-vue_export-helper-dad06003.js";
23
- import "./fieldobj-b9dc0fa4.js";
23
+ import "./fieldobj-5eca64a8.js";
24
24
  const h = o({ componentName: C.FieldWidget }), R = /* @__PURE__ */ o({
25
25
  ...h,
26
26
  __name: "static-text-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 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
- import { _ as $ } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4c03293b.js";
4
- import { b as K } from "./share-field-227e573a.js";
5
- import { S as W } from "./index-b82fc973.js";
6
- import { w as q } from "./expression-8dec47fe.js";
7
- import { c as p } from "./enum-type-523bc2b7.js";
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-33bed9fb.js";
5
+ import { S as W } from "./index-a152420d.js";
6
+ import { w as q } from "./expression-d514d13e.js";
7
+ import { c as p } from "./enum-type-1c0ae1da.js";
8
8
  import "./widget-base-4c2d6265.js";
9
- import "./index-87d3b375.js";
10
- import "./uuid-de039332.js";
11
- import "./enum-type-4aac0ead.js";
12
- import "./baseImp-79376d04.js";
9
+ import "./index-38b887d7.js";
10
+ import "./uuid-81bac653.js";
11
+ import "./enum-type-768f07b9.js";
12
+ import "./baseImp-242db99f.js";
13
13
  import "./icon-a0e0cdb0.js";
14
- import "./dialog-0acb2540.js";
14
+ import "./dialog-cb26ee83.js";
15
15
  import "./_commonjsHelpers-e7ea1525.js";
16
16
  import "element-plus";
17
- import "./fieldobj-b9dc0fa4.js";
18
- import "./multirow-169e628f.js";
19
- import "./slot-da3b397f.js";
17
+ import "./fieldobj-5eca64a8.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,17 +1,17 @@
1
- import { _ as o } from "./subMenu-widget.vue_vue_type_script_setup_true_lang-02e8aaee.js";
1
+ import { _ as o } from "./subMenu-widget.vue_vue_type_script_setup_true_lang-705e9942.js";
2
2
  import "vue";
3
- import "./index-b82fc973.js";
4
- import "./enum-type-523bc2b7.js";
3
+ import "./index-a152420d.js";
4
+ import "./enum-type-1c0ae1da.js";
5
5
  import "./icon-a0e0cdb0.js";
6
6
  import "./_plugin-vue_export-helper-dad06003.js";
7
- import "./enum-type-4aac0ead.js";
8
- import "./baseImp-79376d04.js";
9
- import "./expression-8dec47fe.js";
7
+ import "./enum-type-768f07b9.js";
8
+ import "./baseImp-242db99f.js";
9
+ import "./expression-d514d13e.js";
10
10
  import "./source-map-b04aec4a.js";
11
- import "./uuid-de039332.js";
11
+ import "./uuid-81bac653.js";
12
12
  import "./_commonjsHelpers-e7ea1525.js";
13
13
  import "./esprima-e8d15055.js";
14
- import "./dialog-0acb2540.js";
14
+ import "./dialog-cb26ee83.js";
15
15
  import "element-plus";
16
16
  export {
17
17
  o as default
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as C, computed as w, openBlock as c, createElementBlock as M, Fragment as N, renderList as A, unref as F, createBlock as a, resolveDynamicComponent as S, normalizeClass as T, withCtx as h, createCommentVNode as V, createElementVNode as B, toDisplayString as D } from "vue";
2
- import { S as g } from "./index-b82fc973.js";
3
- import { _ as s } from "./enum-type-4aac0ead.js";
4
- import { g as E, K as G, P } from "./baseImp-79376d04.js";
2
+ import { S as g } from "./index-a152420d.js";
3
+ import { _ as s } from "./enum-type-768f07b9.js";
4
+ import { g as E, K as G, P } from "./baseImp-242db99f.js";
5
5
  import { u as R } from "./icon-a0e0cdb0.js";
6
6
  const z = /* @__PURE__ */ C({
7
7
  __name: "subMenu-widget",
@@ -1,27 +1,27 @@
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
- import { w as b } from "./expression-8dec47fe.js";
3
- import { b as h } from "./share-field-227e573a.js";
2
+ import { w as b } from "./expression-d514d13e.js";
3
+ import { b as h } from "./share-field-33bed9fb.js";
4
4
  import { I as v } from "./field-base-5547436d.js";
5
- import x from "./form-item-wrapper-d3ad2de0.js";
5
+ import x from "./form-item-wrapper-b761d512.js";
6
6
  import "./source-map-b04aec4a.js";
7
- import "./enum-type-523bc2b7.js";
8
- import "./uuid-de039332.js";
7
+ import "./enum-type-1c0ae1da.js";
8
+ import "./uuid-81bac653.js";
9
9
  import "./_commonjsHelpers-e7ea1525.js";
10
10
  import "./esprima-e8d15055.js";
11
- import "./multirow-169e628f.js";
12
- import "./baseImp-79376d04.js";
13
- import "./enum-type-4aac0ead.js";
11
+ import "./multirow-b0df65a6.js";
12
+ import "./baseImp-242db99f.js";
13
+ import "./enum-type-768f07b9.js";
14
14
  import "./icon-a0e0cdb0.js";
15
- import "./dialog-0acb2540.js";
15
+ import "./dialog-cb26ee83.js";
16
16
  import "element-plus";
17
- import "./index-87d3b375.js";
18
- import "./slot-da3b397f.js";
17
+ import "./index-38b887d7.js";
18
+ import "./slot-9818013e.js";
19
19
  import "./widget-base-4c2d6265.js";
20
- import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4c03293b.js";
21
- import "./index-b82fc973.js";
20
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-b2aca878.js";
21
+ import "./index-a152420d.js";
22
22
  import "./_plugin-vue_export-helper-dad06003.js";
23
- import "./fieldobj-b9dc0fa4.js";
24
- import "./label-wrapper.vue_vue_type_style_index_0_lang-a68fc27e.js";
23
+ import "./fieldobj-5eca64a8.js";
24
+ import "./label-wrapper.vue_vue_type_style_index_0_lang-21ba79d3.js";
25
25
  const z = s({ componentName: b.FieldWidget }), ee = /* @__PURE__ */ s({
26
26
  ...z,
27
27
  __name: "switch-widget",
@@ -1,4 +1,4 @@
1
- import { _ as e } from "./tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-0352bf40.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
- import { w as u } from "./expression-8dec47fe.js";
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-571e1bf5.js";
5
- import { _ as b } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4c03293b.js";
6
- import { c as W } from "./slot-da3b397f.js";
7
- import { b as h } from "./share-field-227e573a.js";
4
+ import { D as C } from "./drag-wrapper-de9be57d.js";
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-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",
@@ -0,0 +1,22 @@
1
+ import { _ as o } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-4562e88c.js";
2
+ import "vue";
3
+ import "./enum-type-1c0ae1da.js";
4
+ import "./baseImp-242db99f.js";
5
+ import "./enum-type-768f07b9.js";
6
+ import "./expression-d514d13e.js";
7
+ import "./source-map-b04aec4a.js";
8
+ import "./uuid-81bac653.js";
9
+ import "./_commonjsHelpers-e7ea1525.js";
10
+ import "./esprima-e8d15055.js";
11
+ import "./icon-a0e0cdb0.js";
12
+ import "./dialog-cb26ee83.js";
13
+ import "element-plus";
14
+ import "./drag-wrapper-de9be57d.js";
15
+ import "./widget-base-4c2d6265.js";
16
+ import "./index-38b887d7.js";
17
+ import "./slot-9818013e.js";
18
+ import "./_plugin-vue_export-helper-dad06003.js";
19
+ import "./multirow-b0df65a6.js";
20
+ export {
21
+ o as default
22
+ };
@@ -1,10 +1,10 @@
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
- import { c as O, e as j } from "./enum-type-523bc2b7.js";
3
- import { b as q, g as H } from "./baseImp-79376d04.js";
4
- import { D as W } from "./drag-wrapper-571e1bf5.js";
5
- import { d as g } from "./slot-da3b397f.js";
6
- import { b as J } from "./multirow-169e628f.js";
7
- import { g as K } from "./uuid-de039332.js";
2
+ import { c as O, e as j } from "./enum-type-1c0ae1da.js";
3
+ import { b as q, g as H } from "./baseImp-242db99f.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
+ import { g as K } from "./uuid-81bac653.js";
8
8
  const M = /* @__PURE__ */ E({
9
9
  __name: "table-col-widget",
10
10
  props: {
@@ -1,26 +1,26 @@
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
- import { _ as We } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-4c03293b.js";
4
- import { b as Me } from "./share-field-227e573a.js";
5
- import { w as Ue, b as Le } from "./expression-8dec47fe.js";
6
- import { _ as we } from "./table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-5623617e.js";
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-523bc2b7.js";
8
- import { F as He } from "./slot-da3b397f.js";
9
- import { c as Je, p as oe } from "./multirow-169e628f.js";
10
- import { L as qe, g as Qe, P as ne, b as Xe, d as Ye } from "./baseImp-79376d04.js";
11
- import { S as Ze } from "./enum-type-4aac0ead.js";
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-33bed9fb.js";
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-4562e88c.js";
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-9818013e.js";
9
+ import { c as Je, p as oe } from "./multirow-b0df65a6.js";
10
+ import { L as qe, g as Qe, P as ne, b as Xe, d as Ye } from "./baseImp-242db99f.js";
11
+ import { S as Ze } from "./enum-type-768f07b9.js";
12
12
  import "./widget-base-4c2d6265.js";
13
- import "./index-87d3b375.js";
14
- import "./uuid-de039332.js";
13
+ import "./index-38b887d7.js";
14
+ import "./uuid-81bac653.js";
15
15
  import "./_commonjsHelpers-e7ea1525.js";
16
- import "./index-b82fc973.js";
16
+ import "./index-a152420d.js";
17
17
  import "./icon-a0e0cdb0.js";
18
18
  import "./_plugin-vue_export-helper-dad06003.js";
19
- import "./fieldobj-b9dc0fa4.js";
19
+ import "./fieldobj-5eca64a8.js";
20
20
  import "./source-map-b04aec4a.js";
21
21
  import "./esprima-e8d15055.js";
22
- import "./drag-wrapper-571e1bf5.js";
23
- import "./dialog-0acb2540.js";
22
+ import "./drag-wrapper-de9be57d.js";
23
+ import "./dialog-cb26ee83.js";
24
24
  import "element-plus";
25
25
  function et() {
26
26
  return {