hlrender 0.0.281 → 0.0.282

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 (137) hide show
  1. package/{_pdf-548ad0f3.js → _pdf-d2478121.js} +8 -8
  2. package/{_txt-24c93a61.js → _txt-fd32f949.js} +6 -6
  3. package/{_unsupport-94709676.js → _unsupport-10d1d421.js} +1 -1
  4. package/{affix-widget-1a6310d4.js → affix-widget-77ddfdb9.js} +16 -16
  5. package/{alert-widget-571bba6e.js → alert-widget-c1f66236.js} +16 -16
  6. package/{anchor-widget-7f9b4704.js → anchor-widget-05148dd1.js} +13 -13
  7. package/{auto-complete-widget-28e2a290.js → auto-complete-widget-9bd9881e.js} +16 -16
  8. package/{avatar-widget-49f2752a.js → avatar-widget-89758349.js} +16 -16
  9. package/{backtop-widget-30564189.js → backtop-widget-068a28c5.js} +16 -16
  10. package/{badge-widget-0818febb.js → badge-widget-e5ddb65c.js} +16 -16
  11. package/{barcode-widget-ffc961ea.js → barcode-widget-6882a0ee.js} +19 -19
  12. package/{baseImp-e43868e7.js → baseImp-a05aa287.js} +1405 -1306
  13. package/{breadcrumb-widget-77002c24.js → breadcrumb-widget-1efe16dc.js} +13 -13
  14. package/{button-widget-e8070fb5.js → button-widget-cd209307.js} +16 -16
  15. package/{cache-widget-6cc29c5e.js → cache-widget-c6dc1d4d.js} +15 -15
  16. package/{card-widget-ca2bb1ad.js → card-widget-e99850fe.js} +14 -14
  17. package/{carousel-widget-4ffc62fc.js → carousel-widget-0e5da3dd.js} +14 -14
  18. package/{cascader-widget-74a7b297.js → cascader-widget-c960147f.js} +15 -15
  19. package/{chart-widget-e18a19f7.js → chart-widget-3da22d60.js} +29 -29
  20. package/{checkbox-widget-31023095.js → checkbox-widget-24946378.js} +15 -15
  21. package/{collapse-widget-50f525a9.js → collapse-widget-09465fbb.js} +14 -14
  22. package/{color-picker-widget-e624aa47.js → color-picker-widget-88d01165.js} +15 -15
  23. package/{cont-cell-widget-f308c538.js → cont-cell-widget-ed0e5d83.js} +1 -1
  24. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-98452cda.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-e2ea7130.js} +11 -11
  25. package/{cont-widget-41b64d3c.js → cont-widget-4b88e7e5.js} +15 -15
  26. package/{content-wrapper-2f8a8778.js → content-wrapper-b85ff3c9.js} +7 -7
  27. package/{content-wrapper.vue_vue_type_script_setup_true_lang-f2107cfb.js → content-wrapper.vue_vue_type_script_setup_true_lang-4adfe6d4.js} +7 -7
  28. package/{countdown-widget-4a53b867.js → countdown-widget-19441bfe.js} +16 -16
  29. package/cssClass-d5b2a013.js +24 -0
  30. package/{date-picker-range-widget-852eb4c0.js → date-picker-range-widget-b7a93200.js} +15 -15
  31. package/{date-picker-widget-d20afc47.js → date-picker-widget-85161b08.js} +15 -15
  32. package/default-slot-widget-46a8a1ee.js +27 -0
  33. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-9e5c9bd8.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-c2a09043.js} +7 -7
  34. package/{descriptions-widget-50eee1e8.js → descriptions-widget-fa392515.js} +14 -14
  35. package/{dialog-5573c8b7.js → dialog-64d549cc.js} +2 -2
  36. package/{dialog-widget-2dad7b95.js → dialog-widget-42c8990c.js} +15 -15
  37. package/{divider-widget-01b38854.js → divider-widget-07e594c7.js} +16 -16
  38. package/drag-wrapper-f78636d1.js +279 -0
  39. package/{drawer-widget-939bde62.js → drawer-widget-1c1dd8e2.js} +15 -15
  40. package/{dropdown-widget-3a3df408.js → dropdown-widget-47274915.js} +14 -14
  41. package/{empty-widget-809007bc.js → empty-widget-e7aa5b70.js} +16 -16
  42. package/{enum-type-54c8c6ff.js → enum-type-42dd79a1.js} +191 -316
  43. package/{enum-type-90590ca7.js → enum-type-51f144c1.js} +1 -1
  44. package/{expression-843cb957.js → expression-d4680713.js} +959 -944
  45. package/feedback-widget-f1e2b360.js +27 -0
  46. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-744d22c3.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-dc498e85.js} +6 -6
  47. package/{fieldobj-eb2feee2.js → fieldobj-a2678999.js} +1 -1
  48. package/{file-upload-widget-ab82c308.js → file-upload-widget-451addd2.js} +20 -20
  49. package/{form-item-wrapper-dc9f2e85.js → form-item-wrapper-228b6375.js} +11 -11
  50. package/{form-widget-551effdf.js → form-widget-9f5290b7.js} +53 -53
  51. package/{grid-col-widget-c02ffb7e.js → grid-col-widget-fd469073.js} +1 -1
  52. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-2635b1fb.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-c90ca8e7.js} +5 -5
  53. package/{grid-widget-7783b8a6.js → grid-widget-9a62f39a.js} +17 -17
  54. package/{hcard-widget-d116f0b2.js → hcard-widget-c75b1b6f.js} +14 -14
  55. package/{html-text-widget-fde30e97.js → html-text-widget-bb760458.js} +14 -14
  56. package/{icon-widget-58f29aa4.js → icon-widget-39740e64.js} +13 -13
  57. package/iframe-widget-6c513e2d.js +127 -0
  58. package/{image-widget-51e5ed47.js → image-widget-6658a5e2.js} +13 -13
  59. package/{index-e6ed9f5a.js → index-6afb8bee.js} +64 -64
  60. package/{index-9d408ab3.js → index-6e69a58f.js} +4 -4
  61. package/{index-ab77f273.js → index-ee925296.js} +1 -1
  62. package/{input-number-widget-c5081b1b.js → input-number-widget-d8266ca4.js} +19 -19
  63. package/{input-tag-widget-2ffdb2ec.js → input-tag-widget-0d69bd56.js} +16 -16
  64. package/{input-widget-29acc552.js → input-widget-eaba46a8.js} +16 -16
  65. package/{label-wrapper-e1cc338d.js → label-wrapper-c772b8f2.js} +5 -5
  66. package/{label-wrapper.vue_vue_type_style_index_0_lang-e4bea232.js → label-wrapper.vue_vue_type_style_index_0_lang-82c93f40.js} +3 -3
  67. package/{link-widget-a6a6e2ee.js → link-widget-ba4d6aa4.js} +16 -16
  68. package/{ltable-col-widget-4db824e1.js → ltable-col-widget-c421ff75.js} +1 -1
  69. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-77c5fb3e.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-99261216.js} +56 -56
  70. package/{ltable-widget-a3fb3718.js → ltable-widget-35df30a2.js} +19 -19
  71. package/{mention-widget-83f669d6.js → mention-widget-6301f55a.js} +16 -16
  72. package/{menu-widget-92aff85b.js → menu-widget-e2d328e3.js} +48 -48
  73. package/{model-widget-e78a71d0.js → model-widget-094f97d8.js} +13 -13
  74. package/{multirow-e54c3ff7.js → multirow-88dc90dd.js} +53 -53
  75. package/{multirow-widget-71e28030.js → multirow-widget-cc00757f.js} +46 -46
  76. package/package.json +1 -1
  77. package/{pagination-widget-9b4b03ef.js → pagination-widget-57ef2182.js} +13 -13
  78. package/{picture-upload-widget-fc052b6c.js → picture-upload-widget-c602e32a.js} +37 -37
  79. package/{progress-widget-c9044fa3.js → progress-widget-4c04b55c.js} +14 -14
  80. package/{qrcode-widget-70e3e032.js → qrcode-widget-dbd3212d.js} +25 -25
  81. package/{radio-widget-38b4713c.js → radio-widget-9e2a9b43.js} +15 -15
  82. package/{range-widget-1268a463.js → range-widget-6a4d2259.js} +16 -16
  83. package/{rate-widget-9d0fbe3b.js → rate-widget-5de20ced.js} +15 -15
  84. package/render.es.js +155 -154
  85. package/render.style.css +1 -1
  86. package/render.umd.js +126 -126
  87. package/{result-widget-dff9b20e.js → result-widget-fd88b2b1.js} +14 -14
  88. package/{rich-editor-widget-673f0312.js → rich-editor-widget-e14dcbe6.js} +23 -23
  89. package/{router-widget-2b256e76.js → router-widget-ea67f0ba.js} +13 -13
  90. package/{segmented-widget-f94759b2.js → segmented-widget-11bd4e4d.js} +13 -13
  91. package/{select-widget-a5794d9d.js → select-widget-2a9fa056.js} +15 -15
  92. package/{sfc-66e5b989.js → sfc-1b884c50.js} +114 -96
  93. package/{sfcview-60d56dab.js → sfcview-33b88ef4.js} +14 -14
  94. package/{share-field-dc9be135.js → share-field-ec8c208e.js} +94 -94
  95. package/{share-file-78434836.js → share-file-3087c9f9.js} +70 -70
  96. package/{skeleton-widget-ebdbfd1b.js → skeleton-widget-35dd8bd6.js} +16 -16
  97. package/{skeletonItem-widget-d201868b.js → skeletonItem-widget-dc2311cd.js} +13 -13
  98. package/{slider-widget-046814a0.js → slider-widget-7df4253d.js} +15 -15
  99. package/slot-6db6ac8e.js +360 -0
  100. package/{space-widget-5e30a357.js → space-widget-6fc38426.js} +14 -14
  101. package/{splitter-widget-2fa37fc7.js → splitter-widget-f4629b33.js} +14 -14
  102. package/{static-text-widget-24513e6b.js → static-text-widget-a54245c0.js} +14 -14
  103. package/{statistic-widget-9acbbea7.js → statistic-widget-2b39fcff.js} +16 -16
  104. package/{steps-widget-38d93f31.js → steps-widget-bb63027b.js} +13 -13
  105. package/{subMenu-widget-23007af2.js → subMenu-widget-a0d1771a.js} +8 -8
  106. package/{subMenu-widget.vue_vue_type_script_setup_true_lang-e57e4ad0.js → subMenu-widget.vue_vue_type_script_setup_true_lang-6ec20ca0.js} +6 -6
  107. package/{switch-widget-0b65d046.js → switch-widget-d454ac66.js} +15 -15
  108. package/{tab-pane-widget-93f2901b.js → tab-pane-widget-5df8b474.js} +1 -1
  109. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-ab5debe0.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-3bfd8f17.js} +8 -8
  110. package/table-col-widget-38f163df.js +23 -0
  111. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-e4ff6a5d.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-21bd0d44.js} +7 -7
  112. package/{table-widget-906bd14a.js → table-widget-af19ac4d.js} +61 -61
  113. package/{tabs-widget-652f9592.js → tabs-widget-eb2292e7.js} +7 -7
  114. package/{tag-widget-b7dcc617.js → tag-widget-c5e8cb90.js} +16 -16
  115. package/{text-widget-b029f026.js → text-widget-bb44b9c7.js} +16 -16
  116. package/{textarea-widget-d9c0bfdb.js → textarea-widget-c6a1b4ba.js} +15 -15
  117. package/{time-picker-range-widget-a95172e3.js → time-picker-range-widget-b3a3ff54.js} +15 -15
  118. package/{time-picker-widget-cd50707b.js → time-picker-widget-bbc1e186.js} +15 -15
  119. package/{time-select-widget-5c310493.js → time-select-widget-e098c664.js} +15 -15
  120. package/{timeline-widget-4d95600d.js → timeline-widget-90ec82c4.js} +14 -14
  121. package/tmpl-widget-702c58d7.js +99 -0
  122. package/{tooltip-widget-949acbc8.js → tooltip-widget-5eb579d5.js} +14 -14
  123. package/{tour-widget-b95b85c0.js → tour-widget-aa29b856.js} +23 -23
  124. package/{transfer-widget-80b58022.js → transfer-widget-593d18ed.js} +16 -16
  125. package/{tree-select-widget-b3328139.js → tree-select-widget-f8568c4e.js} +15 -15
  126. package/{tree-widget-bb4b799f.js → tree-widget-1d871bf4.js} +13 -13
  127. package/{uuid-aab81f94.js → uuid-0888fc5f.js} +1 -1
  128. package/{verifycode-widget-ba096ca4.js → verifycode-widget-cd1b3fb4.js} +21 -21
  129. package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-2b5032e8.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-a9e4f996.js} +7 -7
  130. package/{wrapper-widget-41ce114e.js → wrapper-widget-38438697.js} +9 -8
  131. package/default-slot-widget-1f6e991f.js +0 -27
  132. package/drag-wrapper-d98cad09.js +0 -295
  133. package/feedback-widget-295b041f.js +0 -27
  134. package/iframe-widget-e8e0557b.js +0 -122
  135. package/slot-100f7831.js +0 -341
  136. package/table-col-widget-cbf9b823.js +0 -23
  137. package/tmpl-widget-baa4063a.js +0 -98
@@ -0,0 +1,360 @@
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 F = (e, t, o) => (_(e, typeof t != "symbol" ? t + "" : t, o), o);
4
+ import { inject as H, provide as N, computed as h } from "vue";
5
+ import { d as p, b as d, r as V, s as B } from "./expression-d4680713.js";
6
+ import { B as G } from "./baseImp-a05aa287.js";
7
+ import { c as A, i as q, l as O, j as E, o as z } from "./enum-type-42dd79a1.js";
8
+ class S {
9
+ constructor() {
10
+ /**
11
+ * 当前表单引用库
12
+ * 假设表单组件位于表单form中,则该引用注册入库
13
+ */
14
+ F(this, "formRefList", {});
15
+ /**
16
+ * 全局引用库
17
+ */
18
+ F(this, "globalRefList", {});
19
+ /**
20
+ * 全局数据对象
21
+ */
22
+ F(this, "globalDataModel", {});
23
+ /**
24
+ * 当前表单名称
25
+ */
26
+ F(this, "globalFormName", "");
27
+ /**
28
+ * 全局页面名称
29
+ */
30
+ // globalPageName?: string = "";
31
+ /**
32
+ * 用于类似template组件的数据绑定传递,必须是{}!
33
+ */
34
+ F(this, "rowScope", {});
35
+ /**
36
+ * 渲染器调用者传入的配置参数,如接口地址、密钥等
37
+ */
38
+ F(this, "globalConfig", {});
39
+ /**
40
+ * 主要用于表单禁用等属性的继承
41
+ */
42
+ F(this, "globalFormOptions", {});
43
+ }
44
+ static globalInject() {
45
+ const t = new S();
46
+ return t.formRefList = H(p.refList, {}), t.globalRefList = H(p.allRefList, {}), t.globalDataModel = H(p.globalModel, {}), t.rowScope = H(p.rowScope, {}), t.globalFormName = H(p.globalForm, ""), t.globalConfig = H(p.globalConfig, {}), t.globalFormOptions = H(p.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
+ N(p.globalModel, o);
52
+ }
53
+ if ((t == null ? void 0 : t.rowScope) !== void 0) {
54
+ const o = (t == null ? void 0 : t.rowScope) || {};
55
+ N(p.rowScope, o);
56
+ }
57
+ if ((t == null ? void 0 : t.globalRefList) !== void 0) {
58
+ const o = (t == null ? void 0 : t.globalRefList) || {};
59
+ N(p.allRefList, o);
60
+ }
61
+ if ((t == null ? void 0 : t.formRefList) !== void 0) {
62
+ const o = (t == null ? void 0 : t.formRefList) || {};
63
+ N(p.refList, o);
64
+ }
65
+ if ((t == null ? void 0 : t.globalFormName) !== void 0) {
66
+ const o = (t == null ? void 0 : t.globalFormName) || "";
67
+ N(p.globalForm, o);
68
+ }
69
+ if ((t == null ? void 0 : t.globalConfig) !== void 0) {
70
+ const o = (t == null ? void 0 : t.globalConfig) || "";
71
+ N(p.globalConfig, o);
72
+ }
73
+ if ((t == null ? void 0 : t.globalFormOptions) !== void 0) {
74
+ const o = (t == null ? void 0 : t.globalFormOptions) || "";
75
+ N(p.globalFormOptions, o);
76
+ }
77
+ }
78
+ }
79
+ function ot(e) {
80
+ const t = (c, R = !1) => G.getOptions(e == null ? void 0 : e.widget, c, R, !(e != null && e.designState)), o = h(() => t(d.ctrlWidth) || "auto"), l = h(() => t(d.ctrlHeight) || "auto"), n = h(() => t(d.displayLayout)), f = h(() => {
81
+ var c = t(d.customClass);
82
+ return Array.isArray(c) ? c == null ? void 0 : c.join(" ") : c;
83
+ }), i = h(() => {
84
+ var c = t(d.componentWrapperClass);
85
+ return c == null ? "" : Array.isArray(c) ? c == null ? void 0 : c.join(" ") : c;
86
+ }), y = h(() => {
87
+ var c = t(d.componentRootClass);
88
+ return Array.isArray(c) ? c == null ? void 0 : c.join(" ") : c;
89
+ }), s = h(() => t(d.css)), b = h(() => {
90
+ var c, R;
91
+ return (R = A((c = t(d.required, !0)) == null ? void 0 : c.options)) == null ? void 0 : R.enable;
92
+ }), a = h(() => t(d.hidden)), m = h(() => t(d.labelTooltip)), g = h(() => t(d.labelIconClass)), u = h(() => t(d.labelIconPosition)), w = h(() => t(d.labelHidden)), r = h(() => t(d.label)), L = h(() => t(d.labelWidth)), T = h(() => t(d.labelAlign));
93
+ return {
94
+ attrs: h(() => ({
95
+ required: b.value,
96
+ label: r.value,
97
+ labelHidden: w.value,
98
+ labelAlign: T.value,
99
+ labelIconClass: g.value,
100
+ labelIconPosition: u.value,
101
+ labelTooltip: m.value,
102
+ labelWidth: L.value,
103
+ ctrlWidth: o.value
104
+ })),
105
+ labelAlign: T,
106
+ labelHidden: w,
107
+ labelIconClass: g,
108
+ labelIconPosition: u,
109
+ labelTooltip: m,
110
+ labelWidth: L,
111
+ label: r,
112
+ displayLayout: n,
113
+ hidden: a,
114
+ ctrlWidth: o,
115
+ ctrlHeight: l,
116
+ customClass: f,
117
+ componentWrapperClass: i,
118
+ componentRootClass: y,
119
+ css: s
120
+ };
121
+ }
122
+ const $ = (e = "") => new Promise((t) => {
123
+ if (!e) {
124
+ t([]);
125
+ return;
126
+ }
127
+ import("./index-3aaf8638.js").then((o) => {
128
+ const l = [], n = o.parse(e, {
129
+ positions: !0,
130
+ parseValue: !1
131
+ });
132
+ o.walk(n, {
133
+ visit: "Rule",
134
+ enter(f) {
135
+ const i = o.generate(f.prelude), y = {};
136
+ o.walk(f, {
137
+ visit: "Declaration",
138
+ enter(s) {
139
+ s.property && (y[s.property] = o.generate(s.value));
140
+ }
141
+ }), l.push({ selector: i, declarations: y });
142
+ }
143
+ }), t(l);
144
+ });
145
+ }), W = (e) => new Promise((t) => {
146
+ import("./index-3aaf8638.js").then((o) => {
147
+ const l = J(e), n = o.parse(l, { context: "stylesheet" });
148
+ t(o.generate(n));
149
+ });
150
+ });
151
+ function J(e) {
152
+ return e.map((o) => {
153
+ var n, f, i;
154
+ const l = (i = (f = (n = Object.entries(o.declarations)) == null ? void 0 : n.filter(([y, s]) => !q(s) && s !== "")) == null ? void 0 : f.sort(([y], [s]) => y > s ? 1 : -1)) == null ? void 0 : i.map(([y, s]) => `${y}: ${s};`);
155
+ return `${o.selector} { ${l.join(" ")} }`;
156
+ }).join(`
157
+ `);
158
+ }
159
+ const Q = () => new Promise((e) => {
160
+ import("./acorn-9c779d02.js").then((t) => {
161
+ e(t);
162
+ });
163
+ });
164
+ function U(e) {
165
+ return new Promise((t) => {
166
+ Q().then((o) => {
167
+ var l = X(o, e);
168
+ t(l);
169
+ });
170
+ });
171
+ }
172
+ function X(e, t) {
173
+ var i, y, s, b;
174
+ const o = e.parse(t, {
175
+ ecmaVersion: "latest",
176
+ sourceType: "script",
177
+ ranges: !0
178
+ }), l = [], n = [], f = [];
179
+ for (const a of o.body)
180
+ if (a.type === "FunctionDeclaration" && ((i = a.id) != null && i.name) && a.range && l.push({
181
+ name: a.id.name,
182
+ text: t.slice(a.range[0], a.range[1])
183
+ }), a.type === "ClassDeclaration" && ((y = a.id) != null && y.name) && a.range && n.push({
184
+ name: a.id.name,
185
+ text: t.slice(a.range[0], a.range[1])
186
+ }), a.type === "VariableDeclaration") {
187
+ const m = a.kind;
188
+ for (const g of a.declarations)
189
+ if (g.range) {
190
+ if (g.id.type === "Identifier") {
191
+ const u = g.id.name, w = t.slice(g.range[0], g.range[1]);
192
+ ((s = g.init) == null ? void 0 : s.type) === "FunctionExpression" || ((b = g.init) == null ? void 0 : b.type) === "ArrowFunctionExpression" ? l.push({ name: u, text: w }) : f.push({ name: u, text: w, kind: m });
193
+ } else if (g.id.type === "ObjectPattern") {
194
+ for (const u of g.id.properties)
195
+ if (u.type === "Property" && u.value.type === "Identifier") {
196
+ const w = u.value.name, r = t.slice(g.range[0], g.range[1]);
197
+ f.push({ name: w, text: r, kind: m });
198
+ }
199
+ } else if (g.id.type === "ArrayPattern") {
200
+ for (const u of g.id.elements)
201
+ if ((u == null ? void 0 : u.type) === "Identifier") {
202
+ const w = u.name, r = t.slice(g.range[0], g.range[1]);
203
+ f.push({ name: w, text: r, kind: m });
204
+ }
205
+ }
206
+ }
207
+ }
208
+ return { functions: l, classes: n, variables: f };
209
+ }
210
+ const Y = () => {
211
+ const e = "v_form_global_css", t = (s = "", b = e) => {
212
+ var a = n(s, b);
213
+ l(a);
214
+ }, o = (s = "", b = "", a = e) => {
215
+ if (!s)
216
+ return;
217
+ let m = document.getElementsByTagName("head")[0];
218
+ if (m)
219
+ try {
220
+ var g = n(b, a);
221
+ l(a), l(g);
222
+ let u = document.createElement("style");
223
+ if (!u)
224
+ return;
225
+ u.type = "text/css", u.id = g;
226
+ try {
227
+ u.appendChild(document.createTextNode(s.toString()));
228
+ } catch {
229
+ u.innerHTML = s.toString();
230
+ }
231
+ m.appendChild(u);
232
+ } catch (u) {
233
+ O.error("insert css to head fail", u);
234
+ }
235
+ }, l = (s) => {
236
+ let b = document.getElementById(s);
237
+ try {
238
+ b && b.parentNode && b.parentNode.removeChild(b);
239
+ } catch (a) {
240
+ O.error(a, new Error("remove Node fail"), s);
241
+ }
242
+ }, n = (s, b) => s ? b + "-" + s : b, f = "v_form_global_functions";
243
+ return {
244
+ insertCustomCssToHead: o,
245
+ insertGlobalFunctionsToHtml: (s, b = "") => new Promise((a) => {
246
+ if (!s) {
247
+ a(!0);
248
+ return;
249
+ }
250
+ try {
251
+ U(s).then((m) => {
252
+ var g, u, w;
253
+ (g = m.functions) == null || g.forEach((r) => {
254
+ let L;
255
+ const T = r == null ? void 0 : r.text, C = r == null ? void 0 : r.name;
256
+ try {
257
+ L = new Function(`return ${T}`)();
258
+ } catch (c) {
259
+ O.error(`Failed to compile function "${C}":`, c);
260
+ return;
261
+ }
262
+ window[C] = L;
263
+ }), (u = m.classes) == null || u.forEach((r) => {
264
+ const L = r == null ? void 0 : r.text, T = r == null ? void 0 : r.name;
265
+ let C;
266
+ try {
267
+ C = new Function(`return ${L}`)();
268
+ } catch (c) {
269
+ O.error(`Failed to compile class "${T}":`, c);
270
+ return;
271
+ }
272
+ window[T] = C;
273
+ }), (w = m.variables) == null || w.forEach((r) => {
274
+ const L = r == null ? void 0 : r.text, T = r == null ? void 0 : r.name;
275
+ let C;
276
+ try {
277
+ const c = `${r == null ? void 0 : r.kind} ${L}; return ${T};`;
278
+ C = new Function(c);
279
+ } catch {
280
+ return;
281
+ }
282
+ window[T] = C == null ? void 0 : C();
283
+ }), a(!0);
284
+ });
285
+ } catch (m) {
286
+ O.error("insert js to head fail", m), a(!0);
287
+ }
288
+ }),
289
+ removeGlobalFunctionsToHtml: (s, b = f) => {
290
+ var a = n(s, b);
291
+ l(a);
292
+ },
293
+ removeCustomCssToHead: t
294
+ };
295
+ }, D = [
296
+ "width",
297
+ "height",
298
+ "display",
299
+ "margin",
300
+ "margin-left",
301
+ "margin-right",
302
+ "margin-top",
303
+ "margin-bottom"
304
+ ], Z = (e, t, o) => {
305
+ const l = {};
306
+ return t.forEach((n) => {
307
+ var f = e[n];
308
+ E(f) || (l[n] = o ? o(n, f) : f);
309
+ }), l;
310
+ }, k = (e, t, o) => {
311
+ var n;
312
+ const l = {};
313
+ return (n = z(e)) == null || n.forEach((f) => {
314
+ var i = e[f];
315
+ t != null && t.includes(f) || (l[f] = o ? o(f, i) : i);
316
+ }), l;
317
+ }, K = (e, t) => ["width", "height", "display"].includes(e) ? E(t) || t == "auto" ? t : `${t} !important` : t, et = (e) => new Promise((t) => {
318
+ $(e).then((o) => {
319
+ var l = o == null ? void 0 : o.map((n) => ({ selector: n.selector, declarations: Z(n.declarations, D, K) }));
320
+ W(l).then((n) => {
321
+ t(n);
322
+ });
323
+ });
324
+ }), nt = (e) => new Promise((t) => {
325
+ $(e).then((o) => {
326
+ var l = o == null ? void 0 : o.map((n) => ({ selector: n.selector, declarations: k(n.declarations, D, K) }));
327
+ W(l).then((n) => {
328
+ t(n);
329
+ });
330
+ });
331
+ }), lt = (e, t) => {
332
+ if (!t || !e)
333
+ return;
334
+ const o = V(e, ":root", `.${t}`), { insertCustomCssToHead: l } = Y();
335
+ l(o, void 0, t);
336
+ }, st = (e, t = !0, o, l) => {
337
+ if (o != null && o === !1)
338
+ return [];
339
+ const n = x(e);
340
+ if (t || (e == null ? void 0 : e.length) <= 0)
341
+ return n;
342
+ var f = n == null ? void 0 : n.filter(
343
+ (i) => {
344
+ var y, s, b;
345
+ return l != null && (l == null ? void 0 : l(i)) || l == null && (!!i.default && (!(i != null && i.options) || ((y = i == null ? void 0 : i.options) == null ? void 0 : y.enable) == null || ((s = i == null ? void 0 : i.options) == null ? void 0 : s.enable) === !0) || !!(i != null && i.widgetList) && ((b = i == null ? void 0 : i.widgetList) == null ? void 0 : b.length) > 0 || (i == null ? void 0 : i.slotName) === B.default);
346
+ }
347
+ );
348
+ return f;
349
+ }, it = (e, t) => e == null ? void 0 : e.find((o) => (o == null ? void 0 : o.slotName) === t), x = (e) => A(e);
350
+ export {
351
+ S as F,
352
+ lt as a,
353
+ nt as b,
354
+ ot as c,
355
+ it as d,
356
+ st as g,
357
+ x as i,
358
+ et as p,
359
+ Y as u
360
+ };
@@ -1,28 +1,28 @@
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-843cb957.js";
4
- import { a as J } from "./share-field-dc9be135.js";
5
- import { a6 as c, t as K } from "./enum-type-90590ca7.js";
6
- import { C as W, D as q, u as G } from "./drag-wrapper-d98cad09.js";
7
- import { d as M } from "./slot-100f7831.js";
8
- import { f as O, e as Q } from "./enum-type-54c8c6ff.js";
9
- import { _ as v } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-2b5032e8.js";
3
+ import { w as H } from "./expression-d4680713.js";
4
+ import { a as J } from "./share-field-ec8c208e.js";
5
+ import { a6 as c, t as K } from "./enum-type-51f144c1.js";
6
+ import { C as W, D as q, u as G } from "./drag-wrapper-f78636d1.js";
7
+ import { d as M } from "./slot-6db6ac8e.js";
8
+ import { f as O, e as Q } from "./enum-type-42dd79a1.js";
9
+ import { _ as v } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-a9e4f996.js";
10
10
  import { t as R } from "./index-31e1760d.js";
11
11
  import "./widget-base-8eece820.js";
12
12
  import "./source-map-b04aec4a.js";
13
- import "./uuid-aab81f94.js";
13
+ import "./uuid-0888fc5f.js";
14
14
  import "./_commonjsHelpers-e7ea1525.js";
15
15
  import "./esprima-e8d15055.js";
16
- import "./multirow-e54c3ff7.js";
17
- import "./baseImp-e43868e7.js";
16
+ import "./multirow-88dc90dd.js";
17
+ import "./baseImp-a05aa287.js";
18
18
  import "./icon-1fc5d00d.js";
19
19
  import "axios";
20
- import "./dialog-5573c8b7.js";
20
+ import "./dialog-64d549cc.js";
21
21
  import "element-plus";
22
- import "./index-e6ed9f5a.js";
22
+ import "./index-6afb8bee.js";
23
23
  import "./_plugin-vue_export-helper-dad06003.js";
24
- import "./index-ab77f273.js";
25
- import "./fieldobj-eb2feee2.js";
24
+ import "./index-ee925296.js";
25
+ import "./fieldobj-a2678999.js";
26
26
  const U = y({ componentName: H.FieldWidget }), ze = /* @__PURE__ */ y({
27
27
  ...U,
28
28
  __name: "space-widget",
@@ -1,26 +1,26 @@
1
1
  import { defineComponent as _, resolveComponent as d, openBlock as s, createBlock as n, mergeProps as t, unref as l, withCtx as a, toHandlers as W, createElementBlock as D, Fragment as E, renderList as P, createSlots as V, createVNode as $, resolveDynamicComponent as f } from "vue";
2
2
  import { I as h } from "./field-base-1acf3ada.js";
3
- import { _ as N } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-2b5032e8.js";
4
- import { a as U } from "./share-field-dc9be135.js";
5
- import { w as A } from "./expression-843cb957.js";
6
- import { D as H } from "./drag-wrapper-d98cad09.js";
7
- import { c as K } from "./baseImp-e43868e7.js";
3
+ import { _ as N } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-a9e4f996.js";
4
+ import { a as U } from "./share-field-ec8c208e.js";
5
+ import { w as A } from "./expression-d4680713.js";
6
+ import { D as H } from "./drag-wrapper-f78636d1.js";
7
+ import { c as K } from "./baseImp-a05aa287.js";
8
8
  import "./widget-base-8eece820.js";
9
- import "./enum-type-54c8c6ff.js";
10
- import "./index-e6ed9f5a.js";
11
- import "./uuid-aab81f94.js";
12
- import "./enum-type-90590ca7.js";
9
+ import "./enum-type-42dd79a1.js";
10
+ import "./index-6afb8bee.js";
11
+ import "./uuid-0888fc5f.js";
12
+ import "./enum-type-51f144c1.js";
13
13
  import "./_commonjsHelpers-e7ea1525.js";
14
- import "./index-ab77f273.js";
14
+ import "./index-ee925296.js";
15
15
  import "./icon-1fc5d00d.js";
16
16
  import "./_plugin-vue_export-helper-dad06003.js";
17
- import "./fieldobj-eb2feee2.js";
18
- import "./multirow-e54c3ff7.js";
19
- import "./slot-100f7831.js";
17
+ import "./fieldobj-a2678999.js";
18
+ import "./multirow-88dc90dd.js";
19
+ import "./slot-6db6ac8e.js";
20
20
  import "./source-map-b04aec4a.js";
21
21
  import "./esprima-e8d15055.js";
22
22
  import "axios";
23
- import "./dialog-5573c8b7.js";
23
+ import "./dialog-64d549cc.js";
24
24
  import "element-plus";
25
25
  const L = _({ componentName: A.FieldWidget }), io = /* @__PURE__ */ _({
26
26
  ...L,
@@ -1,27 +1,27 @@
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 { a as w } from "./share-field-dc9be135.js";
4
- import { w as C } from "./expression-843cb957.js";
5
- import { _ as P } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-2b5032e8.js";
6
- import { _ as h } from "./content-wrapper.vue_vue_type_script_setup_true_lang-f2107cfb.js";
3
+ import { a as w } from "./share-field-ec8c208e.js";
4
+ import { w as C } from "./expression-d4680713.js";
5
+ import { _ as P } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-a9e4f996.js";
6
+ import { _ as h } from "./content-wrapper.vue_vue_type_script_setup_true_lang-4adfe6d4.js";
7
7
  import "./widget-base-8eece820.js";
8
- import "./enum-type-54c8c6ff.js";
9
- import "./multirow-e54c3ff7.js";
10
- import "./baseImp-e43868e7.js";
11
- import "./enum-type-90590ca7.js";
8
+ import "./enum-type-42dd79a1.js";
9
+ import "./multirow-88dc90dd.js";
10
+ import "./baseImp-a05aa287.js";
11
+ import "./enum-type-51f144c1.js";
12
12
  import "./icon-1fc5d00d.js";
13
13
  import "axios";
14
- import "./dialog-5573c8b7.js";
14
+ import "./dialog-64d549cc.js";
15
15
  import "./_commonjsHelpers-e7ea1525.js";
16
- import "./uuid-aab81f94.js";
16
+ import "./uuid-0888fc5f.js";
17
17
  import "element-plus";
18
- import "./index-e6ed9f5a.js";
19
- import "./slot-100f7831.js";
18
+ import "./index-6afb8bee.js";
19
+ import "./slot-6db6ac8e.js";
20
20
  import "./source-map-b04aec4a.js";
21
21
  import "./esprima-e8d15055.js";
22
- import "./index-ab77f273.js";
22
+ import "./index-ee925296.js";
23
23
  import "./_plugin-vue_export-helper-dad06003.js";
24
- import "./fieldobj-eb2feee2.js";
24
+ import "./fieldobj-a2678999.js";
25
25
  const j = o({ componentName: C.FieldWidget }), S = /* @__PURE__ */ o({
26
26
  ...j,
27
27
  __name: "static-text-widget",
@@ -1,29 +1,29 @@
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-9e5c9bd8.js";
4
- import { w as _ } from "./expression-843cb957.js";
5
- import { a as u } from "./share-field-dc9be135.js";
3
+ import { _ as c } from "./default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-c2a09043.js";
4
+ import { w as _ } from "./expression-d4680713.js";
5
+ import { a as u } from "./share-field-ec8c208e.js";
6
6
  import "./widget-base-8eece820.js";
7
- import "./enum-type-54c8c6ff.js";
8
- import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-2b5032e8.js";
9
- import "./index-e6ed9f5a.js";
10
- import "./uuid-aab81f94.js";
11
- import "./enum-type-90590ca7.js";
12
- import "./baseImp-e43868e7.js";
7
+ import "./enum-type-42dd79a1.js";
8
+ import "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-a9e4f996.js";
9
+ import "./index-6afb8bee.js";
10
+ import "./uuid-0888fc5f.js";
11
+ import "./enum-type-51f144c1.js";
12
+ import "./baseImp-a05aa287.js";
13
13
  import "./icon-1fc5d00d.js";
14
14
  import "axios";
15
- import "./dialog-5573c8b7.js";
15
+ import "./dialog-64d549cc.js";
16
16
  import "./_commonjsHelpers-e7ea1525.js";
17
17
  import "element-plus";
18
- import "./index-ab77f273.js";
18
+ import "./index-ee925296.js";
19
19
  import "./_plugin-vue_export-helper-dad06003.js";
20
- import "./fieldobj-eb2feee2.js";
21
- import "./slot-100f7831.js";
22
- import "./content-wrapper.vue_vue_type_script_setup_true_lang-f2107cfb.js";
23
- import "./drag-wrapper-d98cad09.js";
20
+ import "./fieldobj-a2678999.js";
21
+ import "./slot-6db6ac8e.js";
22
+ import "./content-wrapper.vue_vue_type_script_setup_true_lang-4adfe6d4.js";
23
+ import "./drag-wrapper-f78636d1.js";
24
24
  import "./source-map-b04aec4a.js";
25
25
  import "./esprima-e8d15055.js";
26
- import "./multirow-e54c3ff7.js";
26
+ import "./multirow-88dc90dd.js";
27
27
  const g = r({ componentName: _.FieldWidget }), L = /* @__PURE__ */ r({
28
28
  ...g,
29
29
  __name: "statistic-widget",
@@ -1,23 +1,23 @@
1
1
  import { defineComponent as f, computed as F, ref as M, resolveComponent as u, openBlock as r, createBlock as s, mergeProps as p, unref as e, withCtx as o, toHandlers as S, createElementBlock as T, Fragment as b, 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-2b5032e8.js";
4
- import { a as K } from "./share-field-dc9be135.js";
5
- import { S as W } from "./index-ab77f273.js";
6
- import { w as q } from "./expression-843cb957.js";
7
- import { c as i } from "./enum-type-54c8c6ff.js";
3
+ import { _ as $ } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-a9e4f996.js";
4
+ import { a as K } from "./share-field-ec8c208e.js";
5
+ import { S as W } from "./index-ee925296.js";
6
+ import { w as q } from "./expression-d4680713.js";
7
+ import { c as i } from "./enum-type-42dd79a1.js";
8
8
  import "./widget-base-8eece820.js";
9
- import "./index-e6ed9f5a.js";
10
- import "./uuid-aab81f94.js";
11
- import "./enum-type-90590ca7.js";
12
- import "./baseImp-e43868e7.js";
9
+ import "./index-6afb8bee.js";
10
+ import "./uuid-0888fc5f.js";
11
+ import "./enum-type-51f144c1.js";
12
+ import "./baseImp-a05aa287.js";
13
13
  import "./icon-1fc5d00d.js";
14
14
  import "axios";
15
- import "./dialog-5573c8b7.js";
15
+ import "./dialog-64d549cc.js";
16
16
  import "./_commonjsHelpers-e7ea1525.js";
17
17
  import "element-plus";
18
- import "./fieldobj-eb2feee2.js";
19
- import "./multirow-e54c3ff7.js";
20
- import "./slot-100f7831.js";
18
+ import "./fieldobj-a2678999.js";
19
+ import "./multirow-88dc90dd.js";
20
+ import "./slot-6db6ac8e.js";
21
21
  import "./_plugin-vue_export-helper-dad06003.js";
22
22
  import "./source-map-b04aec4a.js";
23
23
  import "./esprima-e8d15055.js";
@@ -1,18 +1,18 @@
1
- import { _ as o } from "./subMenu-widget.vue_vue_type_script_setup_true_lang-e57e4ad0.js";
1
+ import { _ as o } from "./subMenu-widget.vue_vue_type_script_setup_true_lang-6ec20ca0.js";
2
2
  import "vue";
3
- import "./index-ab77f273.js";
4
- import "./enum-type-54c8c6ff.js";
3
+ import "./index-ee925296.js";
4
+ import "./enum-type-42dd79a1.js";
5
5
  import "./icon-1fc5d00d.js";
6
6
  import "./_plugin-vue_export-helper-dad06003.js";
7
- import "./enum-type-90590ca7.js";
8
- import "./baseImp-e43868e7.js";
9
- import "./expression-843cb957.js";
7
+ import "./enum-type-51f144c1.js";
8
+ import "./baseImp-a05aa287.js";
9
+ import "./expression-d4680713.js";
10
10
  import "./source-map-b04aec4a.js";
11
- import "./uuid-aab81f94.js";
11
+ import "./uuid-0888fc5f.js";
12
12
  import "./_commonjsHelpers-e7ea1525.js";
13
13
  import "./esprima-e8d15055.js";
14
14
  import "axios";
15
- import "./dialog-5573c8b7.js";
15
+ import "./dialog-64d549cc.js";
16
16
  import "element-plus";
17
17
  export {
18
18
  o as default
@@ -1,7 +1,7 @@
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
- import { S as g } from "./index-ab77f273.js";
3
- import { ak as s } from "./enum-type-90590ca7.js";
4
- import { g as D, K as E, P as G } from "./baseImp-e43868e7.js";
1
+ import { defineComponent as C, computed as M, openBlock as a, createElementBlock as w, 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
+ import { S as g } from "./index-ee925296.js";
3
+ import { ak as s } from "./enum-type-51f144c1.js";
4
+ import { g as D, M as E, P as G } from "./baseImp-a05aa287.js";
5
5
  import { u as P } from "./icon-1fc5d00d.js";
6
6
  const R = /* @__PURE__ */ C({
7
7
  __name: "subMenu-widget",
@@ -35,10 +35,10 @@ const R = /* @__PURE__ */ C({
35
35
  var f;
36
36
  const e = n == null ? void 0 : n.hidden, d = !(n != null && n.children) || ((f = n == null ? void 0 : n.children) == null ? void 0 : f.length) <= 0, u = t(n == null ? void 0 : n.children), c = u && (u == null ? void 0 : u.length) > 0;
37
37
  return !e && (d || c);
38
- }), b = w(() => t(p.items)), { instance: v } = P(), y = D({ instance: v }), I = (l) => {
38
+ }), b = M(() => t(p.items)), { instance: v } = P(), y = D({ instance: v }), I = (l) => {
39
39
  E(G.getValue(l) || "", { ctx: y });
40
40
  };
41
- return (l, n) => (a(!0), M(N, null, A(b.value, (e, d) => (a(), o(F(k(e)), {
41
+ return (l, n) => (a(!0), w(N, null, A(b.value, (e, d) => (a(), o(F(k(e)), {
42
42
  key: e.value,
43
43
  index: e == null ? void 0 : e.route,
44
44
  disabled: e.disabled,