hlrender 0.0.287 → 0.0.288

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-d7a32763.js → _pdf-b35bf271.js} +6 -6
  2. package/{_txt-17a573f1.js → _txt-443eaa47.js} +6 -6
  3. package/{_unsupport-6395882c.js → _unsupport-cf3c950b.js} +1 -1
  4. package/{affix-widget-c4b1d150.js → affix-widget-88c1e722.js} +16 -16
  5. package/{alert-widget-7fbe3968.js → alert-widget-bccc61c2.js} +16 -16
  6. package/{anchor-widget-5c3a6e45.js → anchor-widget-0ae40083.js} +13 -13
  7. package/{auto-complete-widget-3a7cb39f.js → auto-complete-widget-30189399.js} +16 -16
  8. package/{avatar-widget-99132c28.js → avatar-widget-2a369f90.js} +16 -16
  9. package/{backtop-widget-fe0c8918.js → backtop-widget-dd9c75ee.js} +16 -16
  10. package/{badge-widget-6c10b8ee.js → badge-widget-f22829e6.js} +16 -16
  11. package/{barcode-widget-2fccaf79.js → barcode-widget-c72476ef.js} +13 -13
  12. package/{baseImp-fecd4f8c.js → baseImp-df668798.js} +6 -6
  13. package/{breadcrumb-widget-4e887b9b.js → breadcrumb-widget-29b4b662.js} +13 -13
  14. package/{button-widget-0d52b125.js → button-widget-5f610b64.js} +16 -16
  15. package/{cache-widget-1fcaeecd.js → cache-widget-a7d837c5.js} +15 -15
  16. package/{card-widget-d8952404.js → card-widget-ad1372e2.js} +14 -14
  17. package/{carousel-widget-726ccfc5.js → carousel-widget-bb07655a.js} +14 -14
  18. package/{cascader-widget-e416394c.js → cascader-widget-296b60b9.js} +15 -15
  19. package/chart-widget-915c849a.js +90 -0
  20. package/{checkbox-widget-8578cb64.js → checkbox-widget-2fd2802c.js} +15 -15
  21. package/{collapse-widget-76af19f9.js → collapse-widget-30dff916.js} +14 -14
  22. package/{color-picker-widget-39c404c9.js → color-picker-widget-38f1df08.js} +15 -15
  23. package/{cont-cell-widget-b7ea84b1.js → cont-cell-widget-b5102b11.js} +1 -1
  24. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-97e69743.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-721f8696.js} +5 -5
  25. package/{cont-widget-0ea6b5b5.js → cont-widget-aa778e24.js} +5 -5
  26. package/{content-wrapper-bffea782.js → content-wrapper-5ddc6ad6.js} +7 -7
  27. package/{content-wrapper.vue_vue_type_script_setup_true_lang-d70c4f7f.js → content-wrapper.vue_vue_type_script_setup_true_lang-d355db07.js} +3 -3
  28. package/{countdown-widget-c1694be2.js → countdown-widget-ad93dd96.js} +16 -16
  29. package/{cssClass-80dc271f.js → cssClass-8a9a67ca.js} +2 -2
  30. package/{date-picker-range-widget-26d74897.js → date-picker-range-widget-4c4bdb5e.js} +15 -15
  31. package/{date-picker-widget-b2d9fcd9.js → date-picker-widget-9d76ded3.js} +15 -15
  32. package/default-slot-widget-b0fe24bb.js +27 -0
  33. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-087055e2.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-42804788.js} +7 -7
  34. package/{descriptions-widget-6e563661.js → descriptions-widget-02cc4f1d.js} +14 -14
  35. package/{dialog-567d6332.js → dialog-72c9fee2.js} +2 -2
  36. package/{dialog-widget-97df2a6d.js → dialog-widget-847bca81.js} +15 -15
  37. package/{divider-widget-ae5c4fa9.js → divider-widget-78f877c4.js} +16 -16
  38. package/{drag-wrapper-42e04a79.js → drag-wrapper-e1759ecb.js} +6 -6
  39. package/{drawer-widget-48f98bec.js → drawer-widget-ead750ce.js} +15 -15
  40. package/{dropdown-widget-3f40f327.js → dropdown-widget-0060114a.js} +14 -14
  41. package/{empty-widget-7cf628b4.js → empty-widget-ed32b4d9.js} +16 -16
  42. package/{enum-type-b9b133f4.js → enum-type-07387ae0.js} +1 -1
  43. package/{enum-type-52a6b12a.js → enum-type-a1e82b20.js} +1 -1
  44. package/{expression-11846fd1.js → expression-9425784a.js} +2 -2
  45. package/feedback-widget-e5410b4c.js +27 -0
  46. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-3365dfc5.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-81418b66.js} +6 -6
  47. package/{fieldobj-444b15a2.js → fieldobj-87c20520.js} +1 -1
  48. package/{file-upload-widget-6d0a05e1.js → file-upload-widget-80e3e49a.js} +20 -20
  49. package/{form-item-wrapper-0850fa13.js → form-item-wrapper-6216610d.js} +11 -11
  50. package/form-widget-a7e980bd.js +313 -0
  51. package/{global-provide-inject-f6fc1de5.js → global-provide-inject-65b5523b.js} +5 -5
  52. package/{grid-col-widget-4cea38ae.js → grid-col-widget-2cc84777.js} +1 -1
  53. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-25f4977d.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-c79be913.js} +5 -5
  54. package/{grid-widget-aef10c38.js → grid-widget-730fa7a7.js} +5 -5
  55. package/{hcard-widget-f1238be2.js → hcard-widget-04b193b2.js} +14 -14
  56. package/{html-text-widget-58aa8c78.js → html-text-widget-06a1350b.js} +14 -14
  57. package/{icon-widget-84411785.js → icon-widget-9ee80ce4.js} +13 -13
  58. package/{iframe-widget-8d4de5b7.js → iframe-widget-180ffdae.js} +36 -38
  59. package/{image-widget-2c048ee1.js → image-widget-d253b761.js} +13 -13
  60. package/{index-f9b79d02.js → index-1810c59c.js} +1 -1
  61. package/{index-56dbbead.js → index-e519b1d0.js} +5 -5
  62. package/{input-number-widget-c1c07f9e.js → input-number-widget-66864bdc.js} +15 -15
  63. package/{input-tag-widget-1e8d5985.js → input-tag-widget-736b6f43.js} +16 -16
  64. package/{input-widget-eb40abbb.js → input-widget-569c488c.js} +16 -16
  65. package/{label-wrapper-b3056f03.js → label-wrapper-1ded736d.js} +5 -5
  66. package/{label-wrapper.vue_vue_type_style_index_0_lang-e7be73d8.js → label-wrapper.vue_vue_type_style_index_0_lang-079b7f50.js} +3 -3
  67. package/{link-widget-f933edfb.js → link-widget-298da9bb.js} +16 -16
  68. package/{ltable-col-widget-ae88469a.js → ltable-col-widget-1dd83d97.js} +1 -1
  69. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-70eda5d2.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-84cb1c4b.js} +9 -9
  70. package/{ltable-widget-102188c1.js → ltable-widget-5852228f.js} +5 -5
  71. package/mask-772d4739.js +42 -0
  72. package/{mention-widget-b61355f0.js → mention-widget-e8d8866e.js} +16 -16
  73. package/{menu-widget-2fa99079.js → menu-widget-18550bad.js} +14 -14
  74. package/{model-widget-f79b83be.js → model-widget-fbaeab4b.js} +13 -13
  75. package/{multirow-412d08ef.js → multirow-62d9592a.js} +6 -6
  76. package/{multirow-widget-ec54afbe.js → multirow-widget-661dc0c3.js} +15 -15
  77. package/package.json +1 -1
  78. package/{pagination-widget-124c5c99.js → pagination-widget-ba9896de.js} +13 -13
  79. package/{picture-upload-widget-ae4620df.js → picture-upload-widget-37be6ee6.js} +16 -16
  80. package/{progress-widget-8b17bde4.js → progress-widget-4fb3a225.js} +14 -14
  81. package/{qrcode-widget-a15b9bbb.js → qrcode-widget-a2e10db9.js} +13 -13
  82. package/{radio-widget-2173b9a5.js → radio-widget-d92dce59.js} +15 -15
  83. package/{range-widget-297c5104.js → range-widget-731ad98e.js} +16 -16
  84. package/{rate-widget-80837d6f.js → rate-widget-58152cd8.js} +15 -15
  85. package/render.es.js +87 -87
  86. package/render.style.css +1 -1
  87. package/render.umd.js +69 -69
  88. package/{result-widget-bf3f37ac.js → result-widget-2e9e6271.js} +14 -14
  89. package/{rich-editor-widget-14083a9c.js → rich-editor-widget-f8e79bdc.js} +15 -15
  90. package/{router-widget-48d938d5.js → router-widget-0dcbeb42.js} +13 -13
  91. package/{segmented-widget-66afa5bc.js → segmented-widget-0951ec26.js} +13 -13
  92. package/{select-widget-8e983103.js → select-widget-4b3a9a7d.js} +15 -15
  93. package/{sfc-25305363.js → sfc-d276bd8a.js} +8 -8
  94. package/{sfcview-09acaefe.js → sfcview-b819b120.js} +7 -7
  95. package/{share-field-fde22b25.js → share-field-203045dd.js} +8 -8
  96. package/{share-file-1bcf00b8.js → share-file-5d1174d3.js} +6 -6
  97. package/{skeleton-widget-9e836d8a.js → skeleton-widget-c09bf46e.js} +16 -16
  98. package/{skeletonItem-widget-e3e78fc4.js → skeletonItem-widget-bff4f1e3.js} +13 -13
  99. package/{slider-widget-498a8b39.js → slider-widget-36a4e357.js} +15 -15
  100. package/{slot-0e2a4c55.js → slot-aaf57901.js} +3 -3
  101. package/{space-widget-30fe877b.js → space-widget-65fb21a0.js} +14 -14
  102. package/{splitter-widget-8cc68b3d.js → splitter-widget-f3e7ff18.js} +14 -14
  103. package/{static-text-widget-c256c100.js → static-text-widget-bfd9252a.js} +14 -14
  104. package/{statistic-widget-a1493803.js → statistic-widget-d6006b60.js} +16 -16
  105. package/{steps-widget-47642e34.js → steps-widget-7a895029.js} +13 -13
  106. package/{subMenu-widget-73c9f95e.js → subMenu-widget-434e571b.js} +8 -8
  107. package/{subMenu-widget.vue_vue_type_script_setup_true_lang-cd2fccaf.js → subMenu-widget.vue_vue_type_script_setup_true_lang-c7555105.js} +3 -3
  108. package/{switch-widget-88d1727f.js → switch-widget-4163ce07.js} +15 -15
  109. package/{tab-pane-widget-3c67ce8d.js → tab-pane-widget-3783d01e.js} +1 -1
  110. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-4d81c494.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-7c2bfd14.js} +5 -5
  111. package/table-col-widget-529a478b.js +23 -0
  112. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-86b736da.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-709742ec.js} +7 -7
  113. package/{table-widget-1da91a91.js → table-widget-caf8be71.js} +15 -15
  114. package/{tabs-widget-203fa6aa.js → tabs-widget-45f04b23.js} +7 -7
  115. package/{tag-widget-43c163ed.js → tag-widget-f9a5a760.js} +16 -16
  116. package/{text-widget-88919386.js → text-widget-0d2908a3.js} +16 -16
  117. package/{textarea-widget-086819a3.js → textarea-widget-2df7fe28.js} +15 -15
  118. package/{time-picker-range-widget-e7c37135.js → time-picker-range-widget-322b7df7.js} +15 -15
  119. package/{time-picker-widget-a1478402.js → time-picker-widget-e5874b61.js} +15 -15
  120. package/{time-select-widget-630a2837.js → time-select-widget-e46f3a3c.js} +15 -15
  121. package/{timeline-widget-c435ff41.js → timeline-widget-2286db9b.js} +14 -14
  122. package/{tmpl-widget-97ec2bb2.js → tmpl-widget-f79f4381.js} +14 -14
  123. package/{tooltip-widget-63ab50f9.js → tooltip-widget-1d6f5852.js} +14 -14
  124. package/{tour-widget-a4c7724c.js → tour-widget-faafdd36.js} +13 -13
  125. package/{transfer-widget-fcfb745b.js → transfer-widget-b882d35c.js} +16 -16
  126. package/{tree-select-widget-9c51cdef.js → tree-select-widget-af3ba51f.js} +15 -15
  127. package/{tree-widget-0b733141.js → tree-widget-adc04f63.js} +13 -13
  128. package/{uuid-1b528338.js → uuid-95341c36.js} +1 -1
  129. package/{verifycode-widget-ba304609.js → verifycode-widget-91074896.js} +13 -13
  130. package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-cb2f6b82.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c15079c9.js} +7 -7
  131. package/{wrapper-widget-5d799463.js → wrapper-widget-180649f1.js} +7 -7
  132. package/chart-widget-b7b1a78c.js +0 -89
  133. package/default-slot-widget-b6344039.js +0 -27
  134. package/feedback-widget-097715a8.js +0 -27
  135. package/form-widget-0a24de96.js +0 -305
  136. package/mask-1915dc5a.js +0 -37
  137. package/table-col-widget-bbc5a036.js +0 -23
@@ -0,0 +1,313 @@
1
+ import { ref as ee, reactive as Q, onMounted as _e, nextTick as Be, defineComponent as ie, resolveComponent as he, withDirectives as Me, openBlock as te, createElementBlock as Ne, createElementVNode as ae, createVNode as q, withCtx as ne, unref as g, toDisplayString as Pe, vShow as Re, computed as X, inject as ke, watch as Ie, createBlock as ue, mergeProps as Y, toHandlers as ze, withModifiers as Te } from "vue";
2
+ import { I as qe } from "./widget-base-df734ada.js";
3
+ import { D as He } from "./drag-wrapper-e1759ecb.js";
4
+ import { _ as Ge } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c15079c9.js";
5
+ import { w as oe, f as fe, b as T, a as $, i as Ke, j as Ue, d as Je } from "./expression-9425784a.js";
6
+ import { u as Qe } from "./icon-4e8380f7.js";
7
+ import { u as Xe, a as Ye } from "./multirow-62d9592a.js";
8
+ import { a as Ze, c as et, b as tt, z as Z, F as me, n as be, d as pe, G as ve, v as at, e as nt } from "./enum-type-a1e82b20.js";
9
+ import { b as ot, c as ge, $ as it, B as lt } from "./baseImp-df668798.js";
10
+ import { f as dt, F as st } from "./global-provide-inject-65b5523b.js";
11
+ import { a as rt, u as ct } from "./share-field-203045dd.js";
12
+ import { W as ut } from "./enum-type-07387ae0.js";
13
+ import { Loading as ft } from "./index-6bcfdc22.js";
14
+ import { _ as Ce } from "./_plugin-vue_export-helper-dad06003.js";
15
+ function mt(l, W) {
16
+ const { getWidgetOption: u, getWidgetOptionByPropValue: _ } = ot(l, W), C = (f) => u(f);
17
+ return {
18
+ existFunc: C,
19
+ handleFunc: (f, O) => {
20
+ if (Ze(f)) {
21
+ var S = C(String(f));
22
+ return ge(S, O);
23
+ } else {
24
+ var S = _(et(f));
25
+ return ge(S, O);
26
+ }
27
+ }
28
+ };
29
+ }
30
+ function pt(l) {
31
+ const W = l.widget, u = l.designer, _ = u == null ? void 0 : u.pageConfig, C = l == null ? void 0 : l.widgetList, w = ee({}), f = {}, { fieldModel: O, fieldName: S, fieldEditor: m, attrs: N, events: x, hasFieldOptions: P, exposed: E, fieldObj: H, watchOption: R, propResultOpt: D, extendAttrs: A } = rt(l), { off$: V, on$: B, emit$: k, broadcast: n } = Ye();
32
+ var { instance: d } = Qe();
33
+ const { setAllRefList: j } = ct(w.value), F = { designState: l == null ? void 0 : l.designState, pageConfig: _, globalConfig: D == null ? void 0 : D.globalConfig }, { formModel: h, setData: I, getData: L, clearData: le } = Xe(C, { ...F }, d), { handleFunc: G } = mt({ options: _ }, F), K = Q({}), we = () => {
34
+ V($.fieldChange), B($.fieldChange, (e) => {
35
+ De(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue), E == null || E.setValue(h), Se(e == null ? void 0 : e.fieldName, e == null ? void 0 : e.newValue, e == null ? void 0 : e.oldValue);
36
+ });
37
+ }, Fe = () => {
38
+ V($.fieldValidation), B($.fieldValidation, (e) => {
39
+ var t;
40
+ (t = m.value) == null || t.validateField(e == null ? void 0 : e.propName);
41
+ });
42
+ }, ye = () => {
43
+ V($.fieldRuleChange), B($.fieldRuleChange, (e) => {
44
+ var a;
45
+ var t = (a = e == null ? void 0 : e.rules) == null ? void 0 : a.map((o) => ({
46
+ required: o.required,
47
+ message: o.message,
48
+ trigger: o.trigger,
49
+ validator: o.validator
50
+ }));
51
+ Object.assign(K, { [e == null ? void 0 : e.fieldName]: t }), N.value.rules = K;
52
+ });
53
+ }, U = ee(!1), J = Q({}), z = Q({}), de = (e) => {
54
+ me(z), pe(z, e);
55
+ }, We = () => ({
56
+ change_info: Z(J),
57
+ before_info: Z(z),
58
+ after_info: Z(h),
59
+ flag: U.value
60
+ }), Se = (e, t, a) => {
61
+ var o = z[e];
62
+ ve(t, a) || ve(t, o) || (U.value = !0, e && pe(J, { [e]: { oldValue: o, newValue: t, beforeValue: a } }));
63
+ }, xe = () => {
64
+ U.value = !1, me(J), de(L());
65
+ }, De = (e, t, a) => {
66
+ G(x.value.formDataChange, { field: { fieldName: e, newValue: t, oldValue: a }, formModel: h });
67
+ }, Ve = () => {
68
+ G(x.value.formCreated);
69
+ }, Le = () => {
70
+ G(x.value.formMounted);
71
+ }, Oe = () => {
72
+ ye(), we(), Fe(), Ve();
73
+ }, Ee = (e) => {
74
+ var t;
75
+ (t = m.value) == null || t.clearValidate(e);
76
+ }, je = () => {
77
+ j(ut.resetField), Be(() => {
78
+ Ee();
79
+ });
80
+ }, se = (e, t) => {
81
+ let a = [];
82
+ for (let v in e) {
83
+ var o = e[v], s = o == null ? void 0 : o.filter((r) => (r == null ? void 0 : r.force) === t);
84
+ s == null || s.forEach((r) => {
85
+ var c;
86
+ const b = (c = r == null ? void 0 : r.rule) == null ? void 0 : c.label;
87
+ r.message && a.push(Ke(b ? "【" + b + "】" : "", r.message, ":"));
88
+ });
89
+ }
90
+ return Ue(a);
91
+ }, $e = (e, t) => {
92
+ var a = {};
93
+ return dt(t, (o) => {
94
+ var s = lt.getName(o), v = at(e, s);
95
+ return v && (a[s] = e[s]), v;
96
+ }, !1), a;
97
+ }, Ae = (e = !0) => {
98
+ var s, v, r;
99
+ let t = L(), a = function() {
100
+ }, o = new Promise(function(b, c) {
101
+ a = function(p, i) {
102
+ (i ? c : b)({ data: p, isSuccess: !i, message: i });
103
+ };
104
+ });
105
+ return !((s = m.value) != null && s.validate) || !e ? (a(t), o) : ((r = (v = m.value) == null ? void 0 : v.validate) == null || r.call(v, (b, c) => {
106
+ if (b)
107
+ a(t);
108
+ else {
109
+ var p = se(c, !0);
110
+ if (p && p.length > 0) {
111
+ a(t, p);
112
+ return;
113
+ }
114
+ var i = se(c, !1);
115
+ if (i && i.length > 0) {
116
+ i.push(be.i18nt("designer.hint.continue")), it.multiple(i).then((y) => {
117
+ a(t);
118
+ });
119
+ return;
120
+ }
121
+ }
122
+ }), o);
123
+ }, re = (e, t = !0) => {
124
+ if (W) {
125
+ var a = $e(e, [W]);
126
+ I(a, t), n(oe.ContainerWidget, fe.setFormData, e, [w.value]), n(oe.FieldWidget, fe.setFormData, e, [w.value]);
127
+ }
128
+ }, ce = (e) => new Promise((t, a) => {
129
+ const o = (c, p) => {
130
+ var M;
131
+ const i = (M = A.value) == null ? void 0 : M.formDataLoaded;
132
+ let y = i ? i == null ? void 0 : i(L(), c) : c;
133
+ nt(y) ? re(y, !p) : y = {}, de(y), t(y);
134
+ }, s = () => {
135
+ const c = (p) => {
136
+ o(p, !0);
137
+ };
138
+ R(T.newDataSource, void 0, c);
139
+ }, v = () => {
140
+ const c = (p) => {
141
+ var M;
142
+ const i = (M = A.value) == null ? void 0 : M.needFormAdd;
143
+ if ((i == null ? void 0 : i(p)) && b) {
144
+ s();
145
+ return;
146
+ }
147
+ o(p, !1);
148
+ };
149
+ R(T.editDataSource, void 0, c);
150
+ }, r = P(T.editDataSource), b = P(T.newDataSource);
151
+ r ? v() : b && s();
152
+ });
153
+ return Oe(), _e(() => {
154
+ tt(), Le();
155
+ }), {
156
+ widgetRefList: w,
157
+ allWidgetRefList: f,
158
+ fieldEditor: m,
159
+ formModel: h,
160
+ pageConfig: _,
161
+ widgetList: C,
162
+ fieldModel: O,
163
+ fieldName: S,
164
+ attrs: N,
165
+ extendAttrs: A,
166
+ events: x,
167
+ rules: K,
168
+ loadData: ce,
169
+ clearData: le,
170
+ exposed: {
171
+ ...E,
172
+ setValue: re,
173
+ getValue: Ae,
174
+ resetField: je,
175
+ clearData: le,
176
+ loadData: ce,
177
+ getData: L,
178
+ //修改痕迹
179
+ clearChangeRecord: xe,
180
+ getChangeRecord: We,
181
+ emit$: k
182
+ },
183
+ fieldObj: H
184
+ };
185
+ }
186
+ const vt = { class: "loadingLayout" }, gt = { style: { "text-align": "center" } }, _t = { style: { "font-size": "1.2em", "margin-top": "10px" } }, ht = /* @__PURE__ */ ie({
187
+ __name: "index",
188
+ props: {
189
+ loading: { type: Boolean },
190
+ loadingText: {}
191
+ },
192
+ setup(l) {
193
+ return (W, u) => {
194
+ const _ = he("el-icon");
195
+ return Me((te(), Ne("div", vt, [
196
+ ae("div", gt, [
197
+ q(_, {
198
+ class: "is-loading",
199
+ size: "3em",
200
+ type: "primary"
201
+ }, {
202
+ default: ne(() => [
203
+ q(g(ft))
204
+ ]),
205
+ _: 1
206
+ }),
207
+ ae("div", _t, Pe(l.loadingText || g(be).i18nt("designer.hint.loading")), 1)
208
+ ])
209
+ ], 512)), [
210
+ [Re, l.loading]
211
+ ]);
212
+ };
213
+ }
214
+ });
215
+ const bt = /* @__PURE__ */ Ce(ht, [["__scopeId", "data-v-50894e06"]]), Ct = { class: "full-width full-height relative" }, wt = ie({ componentName: oe.ContainerWidget }), Ft = /* @__PURE__ */ ie({
216
+ ...wt,
217
+ __name: "form-widget",
218
+ props: { ...qe },
219
+ setup(l, { expose: W }) {
220
+ var k;
221
+ const u = l, { exposed: _, formModel: C, fieldEditor: w, attrs: f, events: O, widgetRefList: S, extendAttrs: m, fieldName: N, fieldObj: x, loadData: P } = pt({ ...u, widgetList: (k = u == null ? void 0 : u.widget) == null ? void 0 : k.widgetList }), E = N.value, H = X(() => {
222
+ var n, d;
223
+ return {
224
+ disabled: (n = f.value) == null ? void 0 : n.disabled,
225
+ readonly: (d = m.value) == null ? void 0 : d.readonly
226
+ };
227
+ }), R = X(() => {
228
+ var n, d, j, F, h;
229
+ return {
230
+ size: (n = f.value) == null ? void 0 : n.size,
231
+ labelWidth: (d = f.value) == null ? void 0 : d.labelWidth,
232
+ labelSuffix: (j = f.value) == null ? void 0 : j.labelSuffix,
233
+ labelAlign: (F = m.value) == null ? void 0 : F.labelAlign,
234
+ displayLayout: (h = m.value) == null ? void 0 : h.displayLayout,
235
+ inForm: !0
236
+ };
237
+ }), D = ee(!1), A = X(() => {
238
+ var n;
239
+ return !u.designState && D.value && ((n = m.value) == null ? void 0 : n.showLoading);
240
+ });
241
+ st.globalProvide({
242
+ globalFormName: E,
243
+ globalDataModel: C,
244
+ globalFormOptions: R,
245
+ globalWrapperOptions: H
246
+ });
247
+ const V = ke(Je.isRenderComplete), B = Ie(() => V == null ? void 0 : V.value, (n) => {
248
+ var d;
249
+ n && ((d = w.value) == null || d.validate(), B());
250
+ });
251
+ return _e(() => {
252
+ var n;
253
+ (n = m.value) != null && n.loadDataWhenInit && !u.designState && (D.value = !0, P(!0).catch((d) => {
254
+ }).finally(() => {
255
+ D.value = !1, _.clearChangeRecord();
256
+ }));
257
+ }), W({ ..._ }), (n, d) => {
258
+ const j = he("el-form");
259
+ return te(), ue(Ge, Y(n.$props, {
260
+ "prop-options": { fieldObj: g(x) }
261
+ }), {
262
+ default: ne(({ data: F }) => {
263
+ var h, I;
264
+ return [
265
+ ae("div", Ct, [
266
+ q(bt, {
267
+ loading: A.value,
268
+ "loading-text": (h = g(m)) == null ? void 0 : h.loadingText
269
+ }, null, 8, ["loading", "loading-text"]),
270
+ (te(), ue(j, Y({
271
+ ref_key: "fieldEditor",
272
+ ref: w,
273
+ model: g(C)
274
+ }, g(f), ze(g(O)), {
275
+ class: F.injectClass,
276
+ key: (I = g(x)) == null ? void 0 : I.fieldKey,
277
+ onSubmit: d[0] || (d[0] = Te(() => {
278
+ }, ["prevent"]))
279
+ }), {
280
+ default: ne(() => {
281
+ var L;
282
+ return [
283
+ q(He, Y(n.$props, {
284
+ dragClass: "formDrag padSize",
285
+ model: g(C),
286
+ provideModel: !0,
287
+ "component-class": F.componentWrapperClass,
288
+ refList: g(S),
289
+ "show-suspense": (L = g(m)) == null ? void 0 : L.showSuspense,
290
+ "parent-widget": n.widget,
291
+ "parent-tree": n.parentTree
292
+ }), null, 16, ["model", "component-class", "refList", "show-suspense", "parent-widget", "parent-tree"])
293
+ ];
294
+ }),
295
+ _: 2
296
+ }, 1040, ["model", "class"]))
297
+ ])
298
+ ];
299
+ }),
300
+ _: 1
301
+ }, 16, ["prop-options"]);
302
+ };
303
+ }
304
+ });
305
+ const yt = /* @__PURE__ */ Ce(Ft, [["__scopeId", "data-v-da768d48"]]), Pt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
306
+ __proto__: null,
307
+ default: yt
308
+ }, Symbol.toStringTag, { value: "Module" }));
309
+ export {
310
+ Pt as _,
311
+ bt as c,
312
+ mt as u
313
+ };
@@ -1,12 +1,12 @@
1
1
  var Ai = Object.defineProperty;
2
2
  var Fi = (t, n, o) => n in t ? Ai(t, n, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[n] = o;
3
3
  var e = (t, n, o) => (Fi(t, typeof n != "symbol" ? n + "" : n, o), o);
4
- import { q as nn, d as mt, f as Nn, z as Ae, B as se, o as Cn, c as Oe, v as _t, i as Yn, n as Me, E as hn } from "./enum-type-52a6b12a.js";
4
+ import { q as nn, d as mt, f as Nn, z as Ae, B as se, o as Cn, c as Oe, v as _t, i as Yn, n as Me, E as hn } from "./enum-type-a1e82b20.js";
5
5
  import { reactive as Zn, computed as Bt, nextTick as Di, watch as Si, inject as st, provide as lt } from "vue";
6
- import { m as Oi, g as pt } from "./uuid-1b528338.js";
7
- import { O as ki, c as k, h as Ve, C as a, i as ct, F as Ti, I as _i, R as Bi, j as Ii, k as Li, l as tt, D as Lt, T as xn, m as gt, n as Pi, o as Ri, p as Ni, q as Mi, r as Ui, s as Hi, t as Ue, L as er, u as on, v as An, w as tr, x as zi, y as sn, B as ji, H as jt, z as $i, A as Wi, G as Ki, J as Vi, K as Gi, M as nr, N as qi, Q as Xi, U as Ji, X as Qi, Y as Yi, Z as Zi, _ as Mn, $ as ea, a0 as ta, a1 as na, a2 as rr, a3 as ra, a4 as ia, a5 as aa, a6 as ir, a7 as oa, a8 as ar, a9 as sa, aa as vn, ab as la, ac as ua, ad as ca, ae as fa, af as or, ag as pa, ah as Un, ai as da, aj as ha, ak as wa, al as ya, am as va, an as ma, ao as ga, ap as ba, aq as Ea, ar as Ca, d as Fn, e as xa, as as Aa, at as Fa, au as Da, av as Sa, P as Hn } from "./enum-type-b9b133f4.js";
8
- import { S as J, I as sr, P as i, d as Ce, e as m, f as Ge, s as V, h as G, i as bt, j as le, k as Oa, m as Gt, n as Je, E as ka, o as ln, p as Dn, q as He, r as Pt, B as he, t as rn, v as ze, T as lr, w as ur } from "./baseImp-fecd4f8c.js";
9
- import { b as Se, r as zn, m as Ta, p as cr, d as Be, a as _a } from "./expression-11846fd1.js";
6
+ import { m as Oi, g as pt } from "./uuid-95341c36.js";
7
+ import { O as ki, c as k, h as Ve, C as a, i as ct, F as Ti, I as _i, R as Bi, j as Ii, k as Li, l as tt, D as Lt, T as xn, m as gt, n as Pi, o as Ri, p as Ni, q as Mi, r as Ui, s as Hi, t as Ue, L as er, u as on, v as An, w as tr, x as zi, y as sn, B as ji, H as jt, z as $i, A as Wi, G as Ki, J as Vi, K as Gi, M as nr, N as qi, Q as Xi, U as Ji, X as Qi, Y as Yi, Z as Zi, _ as Mn, $ as ea, a0 as ta, a1 as na, a2 as rr, a3 as ra, a4 as ia, a5 as aa, a6 as ir, a7 as oa, a8 as ar, a9 as sa, aa as vn, ab as la, ac as ua, ad as ca, ae as fa, af as or, ag as pa, ah as Un, ai as da, aj as ha, ak as wa, al as ya, am as va, an as ma, ao as ga, ap as ba, aq as Ea, ar as Ca, d as Fn, e as xa, as as Aa, at as Fa, au as Da, av as Sa, P as Hn } from "./enum-type-07387ae0.js";
8
+ import { S as J, I as sr, P as i, d as Ce, e as m, f as Ge, s as V, h as G, i as bt, j as le, k as Oa, m as Gt, n as Je, E as ka, o as ln, p as Dn, q as He, r as Pt, B as he, t as rn, v as ze, T as lr, w as ur } from "./baseImp-df668798.js";
9
+ import { b as Se, r as zn, m as Ta, p as cr, d as Be, a as _a } from "./expression-9425784a.js";
10
10
  import { c as jn } from "./_commonjsHelpers-e7ea1525.js";
11
11
  function Ba(t) {
12
12
  return t = t || /* @__PURE__ */ Object.create(null), {
@@ -1,4 +1,4 @@
1
- import { _ as e } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-25f4977d.js";
1
+ import { _ as e } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-c79be913.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 m, computed as l, reactive as C, openBlock as y, createBlock as O, mergeProps as c, unref as r, withCtx as W, createVNode as x } from "vue";
2
- import { w as k } from "./expression-11846fd1.js";
2
+ import { w as k } from "./expression-9425784a.js";
3
3
  import { I as A } from "./widget-base-df734ada.js";
4
- import { D as b } from "./drag-wrapper-42e04a79.js";
5
- import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-cb2f6b82.js";
6
- import { a as H } from "./share-field-fde22b25.js";
7
- import { c as $ } from "./cssClass-80dc271f.js";
4
+ import { D as b } from "./drag-wrapper-e1759ecb.js";
5
+ import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c15079c9.js";
6
+ import { a as H } from "./share-field-203045dd.js";
7
+ import { c as $ } from "./cssClass-8a9a67ca.js";
8
8
  const z = m({ componentName: k.ContainerWidget }), V = /* @__PURE__ */ m({
9
9
  ...z,
10
10
  __name: "grid-col-widget",
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as p, openBlock as o, createBlock as s, mergeProps as f, unref as t, withCtx as u, createElementBlock as _, Fragment as w, renderList as C } from "vue";
2
- import { w as b } from "./expression-11846fd1.js";
2
+ import { w as b } from "./expression-9425784a.js";
3
3
  import { I as h, m as k } from "./widget-base-df734ada.js";
4
- import { _ as O } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-25f4977d.js";
5
- import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-cb2f6b82.js";
6
- import { a as y } from "./share-field-fde22b25.js";
7
- import { c as P } from "./cssClass-80dc271f.js";
4
+ import { _ as O } from "./grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-c79be913.js";
5
+ import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c15079c9.js";
6
+ import { a as y } from "./share-field-203045dd.js";
7
+ import { c as P } from "./cssClass-8a9a67ca.js";
8
8
  const B = p({ componentName: b.ContainerWidget }), I = /* @__PURE__ */ p({
9
9
  ...B,
10
10
  __name: "grid-widget",
@@ -1,25 +1,25 @@
1
1
  import { defineComponent as C, useCssVars as j, computed as t, openBlock as l, createBlock as f, mergeProps as p, unref as r, withCtx as D, createElementBlock as _, normalizeClass as E, createElementVNode as g, Fragment as F, createTextVNode as I, toDisplayString as P, normalizeStyle as H, createVNode as O } from "vue";
2
- import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-cb2f6b82.js";
3
- import { a as T } from "./share-field-fde22b25.js";
4
- import { D as v } from "./drag-wrapper-42e04a79.js";
5
- import { w as q } from "./expression-11846fd1.js";
6
- import { d as h } from "./slot-0e2a4c55.js";
2
+ import { _ as K } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c15079c9.js";
3
+ import { a as T } from "./share-field-203045dd.js";
4
+ import { D as v } from "./drag-wrapper-e1759ecb.js";
5
+ import { w as q } from "./expression-9425784a.js";
6
+ import { d as h } from "./slot-aaf57901.js";
7
7
  import { I as A } from "./widget-base-df734ada.js";
8
8
  import { g as i, a as G } from "./color-bae04003.js";
9
9
  import { _ as J } from "./_plugin-vue_export-helper-dad06003.js";
10
- import "./enum-type-52a6b12a.js";
11
- import "./global-provide-inject-f6fc1de5.js";
12
- import "./uuid-1b528338.js";
13
- import "./enum-type-b9b133f4.js";
14
- import "./baseImp-fecd4f8c.js";
10
+ import "./enum-type-a1e82b20.js";
11
+ import "./global-provide-inject-65b5523b.js";
12
+ import "./uuid-95341c36.js";
13
+ import "./enum-type-07387ae0.js";
14
+ import "./baseImp-df668798.js";
15
15
  import "./icon-4e8380f7.js";
16
16
  import "axios";
17
- import "./dialog-567d6332.js";
17
+ import "./dialog-72c9fee2.js";
18
18
  import "./_commonjsHelpers-e7ea1525.js";
19
19
  import "element-plus";
20
- import "./index-f9b79d02.js";
21
- import "./fieldobj-444b15a2.js";
22
- import "./multirow-412d08ef.js";
20
+ import "./index-1810c59c.js";
21
+ import "./fieldobj-87c20520.js";
22
+ import "./multirow-62d9592a.js";
23
23
  import "./source-map-b04aec4a.js";
24
24
  import "./esprima-e8d15055.js";
25
25
  const L = { class: "--hcard-header" }, M = C({ componentName: q.ContainerWidget }), Q = /* @__PURE__ */ C({
@@ -1,27 +1,27 @@
1
1
  import { defineComponent as e, openBlock as _, createBlock as u, mergeProps as x, unref as o, withCtx as g, createVNode as w } from "vue";
2
2
  import { I as C } from "./field-base-66c90648.js";
3
- import { a as P } from "./share-field-fde22b25.js";
4
- import { w as h } from "./expression-11846fd1.js";
5
- import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-cb2f6b82.js";
6
- import { _ as k } from "./content-wrapper.vue_vue_type_script_setup_true_lang-d70c4f7f.js";
3
+ import { a as P } from "./share-field-203045dd.js";
4
+ import { w as h } from "./expression-9425784a.js";
5
+ import { _ as j } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c15079c9.js";
6
+ import { _ as k } from "./content-wrapper.vue_vue_type_script_setup_true_lang-d355db07.js";
7
7
  import "./widget-base-df734ada.js";
8
- import "./enum-type-52a6b12a.js";
9
- import "./multirow-412d08ef.js";
10
- import "./baseImp-fecd4f8c.js";
11
- import "./enum-type-b9b133f4.js";
8
+ import "./enum-type-a1e82b20.js";
9
+ import "./multirow-62d9592a.js";
10
+ import "./baseImp-df668798.js";
11
+ import "./enum-type-07387ae0.js";
12
12
  import "./icon-4e8380f7.js";
13
13
  import "axios";
14
- import "./dialog-567d6332.js";
14
+ import "./dialog-72c9fee2.js";
15
15
  import "./_commonjsHelpers-e7ea1525.js";
16
- import "./uuid-1b528338.js";
16
+ import "./uuid-95341c36.js";
17
17
  import "element-plus";
18
- import "./global-provide-inject-f6fc1de5.js";
19
- import "./slot-0e2a4c55.js";
18
+ import "./global-provide-inject-65b5523b.js";
19
+ import "./slot-aaf57901.js";
20
20
  import "./source-map-b04aec4a.js";
21
21
  import "./esprima-e8d15055.js";
22
- import "./index-f9b79d02.js";
22
+ import "./index-1810c59c.js";
23
23
  import "./_plugin-vue_export-helper-dad06003.js";
24
- import "./fieldobj-444b15a2.js";
24
+ import "./fieldobj-87c20520.js";
25
25
  const F = e({ componentName: h.FieldWidget }), U = /* @__PURE__ */ e({
26
26
  ...F,
27
27
  __name: "html-text-widget",
@@ -1,26 +1,26 @@
1
1
  import { defineComponent as d, resolveComponent as D, openBlock as i, createBlock as r, mergeProps as c, unref as o, withCtx as f, toHandlers as k, resolveDynamicComponent as v } from "vue";
2
2
  import { I as F } from "./field-base-66c90648.js";
3
- import { w as S } from "./expression-11846fd1.js";
4
- import { a as b } from "./share-field-fde22b25.js";
5
- import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-cb2f6b82.js";
6
- import { S as B } from "./enum-type-b9b133f4.js";
3
+ import { w as S } from "./expression-9425784a.js";
4
+ import { a as b } from "./share-field-203045dd.js";
5
+ import { _ as h } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c15079c9.js";
6
+ import { S as B } from "./enum-type-07387ae0.js";
7
7
  import "./widget-base-df734ada.js";
8
8
  import "./source-map-b04aec4a.js";
9
- import "./enum-type-52a6b12a.js";
10
- import "./uuid-1b528338.js";
9
+ import "./enum-type-a1e82b20.js";
10
+ import "./uuid-95341c36.js";
11
11
  import "./_commonjsHelpers-e7ea1525.js";
12
12
  import "./esprima-e8d15055.js";
13
- import "./multirow-412d08ef.js";
14
- import "./baseImp-fecd4f8c.js";
13
+ import "./multirow-62d9592a.js";
14
+ import "./baseImp-df668798.js";
15
15
  import "./icon-4e8380f7.js";
16
16
  import "axios";
17
- import "./dialog-567d6332.js";
17
+ import "./dialog-72c9fee2.js";
18
18
  import "element-plus";
19
- import "./global-provide-inject-f6fc1de5.js";
20
- import "./slot-0e2a4c55.js";
21
- import "./index-f9b79d02.js";
19
+ import "./global-provide-inject-65b5523b.js";
20
+ import "./slot-aaf57901.js";
21
+ import "./index-1810c59c.js";
22
22
  import "./_plugin-vue_export-helper-dad06003.js";
23
- import "./fieldobj-444b15a2.js";
23
+ import "./fieldobj-87c20520.js";
24
24
  const I = d({ componentName: S.FieldWidget }), to = /* @__PURE__ */ d({
25
25
  ...I,
26
26
  __name: "icon-widget",
@@ -1,35 +1,35 @@
1
- import { defineComponent as B, ref as _, computed as E, resolveComponent as O, openBlock as h, createBlock as U, mergeProps as b, unref as c, withCtx as j, createCommentVNode as P, withDirectives as T, createVNode as V, createElementBlock as H, toHandlers as K, vShow as M } from "vue";
2
- import { H as w } from "./baseImp-fecd4f8c.js";
3
- import { g as R } from "./uuid-1b528338.js";
4
- import { l as k } from "./enum-type-52a6b12a.js";
5
- import { w as q } from "./expression-11846fd1.js";
6
- import { a as z } from "./share-field-fde22b25.js";
7
- import { _ as G } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-cb2f6b82.js";
1
+ import { defineComponent as B, ref as _, computed as E, resolveComponent as O, openBlock as h, createBlock as U, mergeProps as b, unref as m, withCtx as j, createCommentVNode as P, withDirectives as V, createVNode as H, createElementBlock as K, toHandlers as M, vShow as R } from "vue";
2
+ import { H as w } from "./baseImp-df668798.js";
3
+ import { g as T } from "./uuid-95341c36.js";
4
+ import { l as k } from "./enum-type-a1e82b20.js";
5
+ import { w as q } from "./expression-9425784a.js";
6
+ import { a as z } from "./share-field-203045dd.js";
7
+ import { _ as G } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-c15079c9.js";
8
8
  import { I as J } from "./field-base-66c90648.js";
9
- import { M as X } from "./mask-1915dc5a.js";
9
+ import { M as X } from "./mask-772d4739.js";
10
10
  import { _ as Y } from "./_plugin-vue_export-helper-dad06003.js";
11
- import "./enum-type-b9b133f4.js";
11
+ import "./enum-type-07387ae0.js";
12
12
  import "./icon-4e8380f7.js";
13
13
  import "axios";
14
- import "./dialog-567d6332.js";
14
+ import "./dialog-72c9fee2.js";
15
15
  import "./_commonjsHelpers-e7ea1525.js";
16
16
  import "element-plus";
17
17
  import "./source-map-b04aec4a.js";
18
18
  import "./esprima-e8d15055.js";
19
- import "./multirow-412d08ef.js";
20
- import "./global-provide-inject-f6fc1de5.js";
21
- import "./slot-0e2a4c55.js";
19
+ import "./multirow-62d9592a.js";
20
+ import "./global-provide-inject-65b5523b.js";
21
+ import "./slot-aaf57901.js";
22
22
  import "./widget-base-df734ada.js";
23
- import "./index-f9b79d02.js";
24
- import "./fieldobj-444b15a2.js";
23
+ import "./index-1810c59c.js";
24
+ import "./fieldobj-87c20520.js";
25
25
  import "./index-6bcfdc22.js";
26
- function Z(m, v) {
26
+ function Z(c, v) {
27
27
  var p;
28
- if (!m) {
28
+ if (!c) {
29
29
  k.error("iframe is empty");
30
30
  return;
31
31
  }
32
- const i = (p = m.contentWindow) == null ? void 0 : p.document;
32
+ const i = (p = c.contentWindow) == null ? void 0 : p.document;
33
33
  if (!i) {
34
34
  k.error("iframe doc is empty");
35
35
  return;
@@ -40,18 +40,18 @@ const D = ["src", "id"], A = B({ componentName: q.FieldWidget }), ee = /* @__PUR
40
40
  ...A,
41
41
  __name: "iframe-widget",
42
42
  props: { ...J },
43
- setup(m, { expose: v }) {
44
- const i = m, { exposed: p, fieldEditor: C, events: a, attrs: I, extendAttrs: n, fieldObj: F, fieldKey: N, fieldName: Q, refreshKey: W } = z(i), g = _(!1), y = _(), S = _(), L = _(Date.now()), d = E(() => {
43
+ setup(c, { expose: v }) {
44
+ const i = c, { exposed: p, fieldEditor: C, events: s, attrs: I, extendAttrs: n, fieldObj: F, fieldKey: N, fieldName: Q, refreshKey: W } = z(i), g = _(!1), y = _(), S = _(), L = _(Date.now()), d = E(() => {
45
45
  var t;
46
46
  if (y.value)
47
47
  return y.value;
48
48
  const e = S.value || I.value.src, r = $(e);
49
49
  if (i.designState)
50
50
  return r;
51
- const o = (t = a.value) == null ? void 0 : t.urlFormatter;
51
+ const o = (t = s.value) == null ? void 0 : t.urlFormatter;
52
52
  return o !== void 0 ? o == null ? void 0 : o(r) : r;
53
53
  }), $ = (e) => {
54
- var l, s;
54
+ var l, a;
55
55
  if (e == "")
56
56
  return "";
57
57
  const o = ((l = n == null ? void 0 : n.value) == null ? void 0 : l.withQuery) ? w.getLocationQueryParams() : {};
@@ -59,15 +59,13 @@ const D = ["src", "id"], A = B({ componentName: q.FieldWidget }), ee = /* @__PUR
59
59
  const t = w.buildUrl(e, o, { addtimestamp: !1 });
60
60
  if (!t)
61
61
  return "";
62
- const f = (s = n == null ? void 0 : n.value) == null ? void 0 : s.hashRouter;
63
- return w.resolveByCurrentUrl(t, f ? R() + "" : "");
62
+ const f = (a = n == null ? void 0 : n.value) == null ? void 0 : a.hashRouter;
63
+ return w.resolveByCurrentUrl(t, f ? T() + "" : "");
64
64
  }, u = () => {
65
65
  g.value = !1, W();
66
66
  }, x = () => {
67
67
  var e, r;
68
- setTimeout(() => {
69
- g.value = !0;
70
- }, 1e3), (r = (e = a == null ? void 0 : a.value) == null ? void 0 : e.onLoaded) == null || r.call(e);
68
+ g.value = !0, (r = (e = s == null ? void 0 : s.value) == null ? void 0 : e.onLoaded) == null || r.call(e);
71
69
  };
72
70
  return v({
73
71
  ...p,
@@ -87,7 +85,7 @@ const D = ["src", "id"], A = B({ componentName: q.FieldWidget }), ee = /* @__PUR
87
85
  var t;
88
86
  const o = O("el-empty");
89
87
  return h(), U(G, b(e.$props, {
90
- "prop-options": { fieldObj: c(F) },
88
+ "prop-options": { fieldObj: m(F) },
91
89
  key: (t = e.widget) == null ? void 0 : t.id
92
90
  }), {
93
91
  default: j(({ data: f }) => {
@@ -95,29 +93,29 @@ const D = ["src", "id"], A = B({ componentName: q.FieldWidget }), ee = /* @__PUR
95
93
  return [
96
94
  d.value ? P("", !0) : (h(), U(o, {
97
95
  key: 0,
98
- description: (l = c(I)) == null ? void 0 : l.emptyText,
96
+ description: (l = m(I)) == null ? void 0 : l.emptyText,
99
97
  class: "full-width full-height nopadding nomargin"
100
98
  }, null, 8, ["description"])),
101
- T(V(X, {
99
+ V(H(X, {
102
100
  loading: !g.value
103
101
  }, {
104
- default: j(({ maskData: s }) => [
105
- (h(), H("iframe", b({
102
+ default: j(({ maskData: a }) => [
103
+ (h(), K("iframe", b({
106
104
  ref_key: "fieldEditor",
107
105
  ref: C,
108
- key: `${c(N)}_${d.value}`
109
- }, K(c(a), !0), {
106
+ key: `${m(N)}_${d.value}`
107
+ }, M(m(s), !0), {
110
108
  onLoad: x,
111
109
  src: d.value,
112
- class: [[...f.injectClass, ...s == null ? void 0 : s.class], "nopadding nomargin hlIframe"],
110
+ class: [[...f.injectClass, ...a == null ? void 0 : a.class], "nopadding nomargin hlIframe"],
113
111
  frameborder: 0,
114
112
  style: f.injectStyle,
115
- id: c(Q)
113
+ id: m(Q)
116
114
  }), null, 16, D))
117
115
  ]),
118
116
  _: 2
119
117
  }, 1032, ["loading"]), [
120
- [M, !!d.value]
118
+ [R, !!d.value]
121
119
  ])
122
120
  ];
123
121
  }),
@@ -126,7 +124,7 @@ const D = ["src", "id"], A = B({ componentName: q.FieldWidget }), ee = /* @__PUR
126
124
  };
127
125
  }
128
126
  });
129
- const Fe = /* @__PURE__ */ Y(ee, [["__scopeId", "data-v-4ec7113c"]]);
127
+ const Fe = /* @__PURE__ */ Y(ee, [["__scopeId", "data-v-567120a3"]]);
130
128
  export {
131
129
  Fe as default
132
130
  };