hlrender 0.0.135 → 0.0.137

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/_pdf-1b3ce234.js +47 -0
  2. package/_txt-c8be11e9.js +60 -0
  3. package/{affix-widget-4fab64c2.js → affix-widget-bf896d2c.js} +3 -3
  4. package/{alert-widget-ea5474d8.js → alert-widget-e558f240.js} +3 -3
  5. package/{anchor-widget-35793db2.js → anchor-widget-3ce0ceb8.js} +1 -1
  6. package/{auto-complete-widget-c765ca4f.js → auto-complete-widget-edcee1a1.js} +2 -2
  7. package/{avatar-widget-8b45b12f.js → avatar-widget-a3707ea1.js} +3 -3
  8. package/{backtop-widget-63d6fc82.js → backtop-widget-b15af9a9.js} +3 -3
  9. package/{badge-widget-9eb0441a.js → badge-widget-b2ca6530.js} +3 -3
  10. package/{breadcrumb-widget-1288528d.js → breadcrumb-widget-c65cffbb.js} +1 -1
  11. package/{button-widget-5f5b2db1.js → button-widget-4b73aa22.js} +3 -3
  12. package/{cache-widget-b4bd928d.js → cache-widget-424a40e2.js} +1 -1
  13. package/{card-widget-6ddbaf67.js → card-widget-0587e443.js} +2 -2
  14. package/{carousel-widget-d6df0fd9.js → carousel-widget-68fe4bae.js} +1 -1
  15. package/{cascader-widget-dea19c0d.js → cascader-widget-36a29d45.js} +1 -1
  16. package/{chart-widget-338adbb4.js → chart-widget-9fbbedf9.js} +1 -1
  17. package/{checkbox-widget-99a90ce7.js → checkbox-widget-534da4e0.js} +1 -1
  18. package/{collapse-widget-b972043c.js → collapse-widget-605bcbe3.js} +1 -1
  19. package/{color-picker-widget-e5df51a8.js → color-picker-widget-ffc75c9f.js} +1 -1
  20. package/{cont-cell-widget-3b1fd833.js → cont-cell-widget-e6745b1e.js} +1 -1
  21. package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-73033ca4.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-aa5ab67f.js} +2 -2
  22. package/{cont-widget-43b3f88d.js → cont-widget-9c46584c.js} +2 -2
  23. package/{date-picker-range-widget-8bde7b57.js → date-picker-range-widget-95fe1027.js} +1 -1
  24. package/{date-picker-widget-2d17febd.js → date-picker-widget-ed363cfc.js} +1 -1
  25. package/{default-slot-widget-1c301349.js → default-slot-widget-fd8675b0.js} +2 -2
  26. package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-c74e1444.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-67b894df.js} +1 -1
  27. package/{descriptions-widget-5b527758.js → descriptions-widget-acc9925e.js} +2 -2
  28. package/{dialog-widget-11482f6b.js → dialog-widget-a051755d.js} +3 -3
  29. package/{divider-widget-6b6d35cd.js → divider-widget-2b29796d.js} +3 -3
  30. package/{drag-wrapper-ab9e6826.js → drag-wrapper-ddd788db.js} +19 -19
  31. package/{drawer-widget-f88c985d.js → drawer-widget-25a1400d.js} +3 -3
  32. package/{dropdown-widget-9de8275a.js → dropdown-widget-3875e58f.js} +2 -2
  33. package/{empty-widget-acc04117.js → empty-widget-c02f7189.js} +3 -3
  34. package/{feedback-widget-a1fb1b8f.js → feedback-widget-289cc5f3.js} +3 -3
  35. package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-24c173c2.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-4fb99716.js} +2 -2
  36. package/file-upload-widget-177ce5dc.js +352 -0
  37. package/{form-widget-08e21867.js → form-widget-f00a294a.js} +2 -2
  38. package/{grid-col-widget-8a02c5d4.js → grid-col-widget-db25799c.js} +1 -1
  39. package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-775d20e5.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-c405b26b.js} +2 -2
  40. package/{grid-widget-56f76749.js → grid-widget-b0b89ee4.js} +2 -2
  41. package/{html-text-widget-312ee643.js → html-text-widget-29d6fd91.js} +1 -1
  42. package/{icon-widget-cecf27f9.js → icon-widget-d21ce368.js} +1 -1
  43. package/{iframe-widget-493ead44.js → iframe-widget-1ccf04b7.js} +1 -1
  44. package/{image-widget-ae17e6e1.js → image-widget-11d35a55.js} +1 -1
  45. package/{input-number-widget-e715b9ba.js → input-number-widget-edd5d01a.js} +1 -1
  46. package/{input-widget-f29f62f6.js → input-widget-34b6587f.js} +2 -2
  47. package/{link-widget-9c1a0574.js → link-widget-8486753f.js} +3 -3
  48. package/{ltable-col-widget-7e510547.js → ltable-col-widget-8c83cc28.js} +1 -1
  49. package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-7111c858.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-5d10129f.js} +2 -2
  50. package/{ltable-widget-d56f2f83.js → ltable-widget-aee29346.js} +2 -2
  51. package/{menu-widget-6b0ddb72.js → menu-widget-86467f21.js} +1 -1
  52. package/{model-widget-ecc69eeb.js → model-widget-ea3ae98c.js} +1 -1
  53. package/{multirow-widget-f8a3e2e6.js → multirow-widget-f00de883.js} +2 -2
  54. package/package.json +1 -1
  55. package/{pagination-widget-ad54b31a.js → pagination-widget-d4928942.js} +1 -1
  56. package/picture-upload-widget-2331a7ee.js +172 -0
  57. package/{progress-widget-0ff6d1b1.js → progress-widget-dedc4687.js} +2 -2
  58. package/{radio-widget-9da17fd6.js → radio-widget-748a9474.js} +1 -1
  59. package/{range-widget-e20ddcc3.js → range-widget-ac9ed3ab.js} +2 -2
  60. package/{rate-widget-e29d0adf.js → rate-widget-6d3a5587.js} +1 -1
  61. package/render.es.js +16 -16
  62. package/render.style.css +1 -1
  63. package/render.umd.js +285 -284
  64. package/{result-widget-66243ff8.js → result-widget-3161eae3.js} +2 -2
  65. package/{rich-editor-widget-2864177c.js → rich-editor-widget-9a48e91b.js} +1 -1
  66. package/{router-widget-2e43a055.js → router-widget-78b5a8e1.js} +1 -1
  67. package/{select-widget-5e61b5b0.js → select-widget-6743f3f6.js} +1 -1
  68. package/{share-field-21c5dda2.js → share-field-f0f2612d.js} +98 -97
  69. package/share-file-cee43523.js +229 -0
  70. package/{slider-widget-d7dc7c1e.js → slider-widget-0866c354.js} +1 -1
  71. package/{static-text-widget-f324413b.js → static-text-widget-bdde824c.js} +1 -1
  72. package/{steps-widget-3389b1ae.js → steps-widget-28e361e1.js} +1 -1
  73. package/{switch-widget-5ebebdd5.js → switch-widget-58b406fb.js} +1 -1
  74. package/{tab-pane-widget-83844ddb.js → tab-pane-widget-58db19f7.js} +1 -1
  75. package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-559ed5ca.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-257a0a0d.js} +2 -2
  76. package/{table-col-widget-10972fb6.js → table-col-widget-24561e8b.js} +2 -2
  77. package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-da6b4968.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-e70de5c8.js} +1 -1
  78. package/{table-widget-e0058c9e.js → table-widget-6b526240.js} +3 -3
  79. package/{tabs-widget-77b20490.js → tabs-widget-1f4552bc.js} +2 -2
  80. package/{tag-widget-ea3a1aba.js → tag-widget-e985a598.js} +3 -3
  81. package/{text-widget-b1f68907.js → text-widget-4ac9329d.js} +3 -3
  82. package/{textarea-widget-ea03e265.js → textarea-widget-086c6f37.js} +1 -1
  83. package/{time-picker-range-widget-3534faed.js → time-picker-range-widget-d0961060.js} +1 -1
  84. package/{time-picker-widget-7f7987ba.js → time-picker-widget-b9ee4808.js} +1 -1
  85. package/{time-select-widget-4bbf14d9.js → time-select-widget-4b549b73.js} +1 -1
  86. package/{tmpl-widget-069c9363.js → tmpl-widget-4f55af42.js} +2 -2
  87. package/{tree-select-widget-0401a61a.js → tree-select-widget-1a25bc8f.js} +1 -1
  88. package/{tree-widget-7eb887f0.js → tree-widget-d9c0d860.js} +1 -1
  89. package/{wrapper-widget-b3cb0ef4.js → wrapper-widget-e88e954a.js} +2 -2
  90. package/_pdf-aa882567.js +0 -58
  91. package/_txt-a00c936a.js +0 -70
  92. package/file-upload-widget-5062a5ff.js +0 -400
  93. package/picture-upload-widget-e585794b.js +0 -165
  94. package/share-file-406e7440.js +0 -171
@@ -2,9 +2,9 @@ import { defineComponent as d, computed as k, resolveComponent as S, openBlock a
2
2
  import { e as $ } from "./enum-type-4a798b1a.js";
3
3
  import { I as B } from "./field-base-5547436d.js";
4
4
  import { _ as E } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-2eadd5b2.js";
5
- import { b as I } from "./share-field-21c5dda2.js";
5
+ import { b as I } from "./share-field-f0f2612d.js";
6
6
  import { w as O } from "./expression-490b4335.js";
7
- import { D as P } from "./drag-wrapper-ab9e6826.js";
7
+ import { D as P } from "./drag-wrapper-ddd788db.js";
8
8
  import { g as W } from "./slot-afdbaf6a.js";
9
9
  import "./widget-base-4c2d6265.js";
10
10
  import "./index-f6240372.js";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as f, computed as d, shallowRef as j, onMounted as k, openBlock as a, createBlock as c, mergeProps as u, unref as e, withCtx as x, createElementVNode as H, normalizeClass as I, normalizeStyle as M, resolveDynamicComponent as W, isRef as q, toHandlers as z } from "vue";
2
- import { b as B } from "./share-field-21c5dda2.js";
2
+ import { b as B } from "./share-field-f0f2612d.js";
3
3
  import { I as N } from "./field-base-5547436d.js";
4
4
  import P from "./form-item-wrapper-14987803.js";
5
5
  import { w as R } from "./expression-490b4335.js";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as m, resolveComponent as u, openBlock as e, createBlock as i, mergeProps as g, unref as o, withCtx as p, createElementBlock as k, toDisplayString as w, createCommentVNode as b } from "vue";
2
- import { b as y } from "./share-field-21c5dda2.js";
2
+ import { b as y } from "./share-field-f0f2612d.js";
3
3
  import { I as v } from "./field-base-5547436d.js";
4
4
  import { _ as C } from "./widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-2eadd5b2.js";
5
5
  import { w as F } from "./expression-490b4335.js";
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as ve, ref as S, computed as te, shallowRef as ue, watch as Fe, onMounted as we, resolveComponent as R, openBlock as u, createBlock as d, mergeProps as K, unref as e, withCtx as m, isRef as re, toHandlers as ne, createElementBlock as k, createVNode as ze, createTextVNode as Ne, toDisplayString as Se, createCommentVNode as V, Fragment as _, renderList as B, resolveDynamicComponent as j } from "vue";
2
2
  import { t as O, c as oe, e as q } from "./enum-type-4a798b1a.js";
3
3
  import { d as Be } from "./baseImp-1b9355d2.js";
4
- import { b as Ee } from "./share-field-21c5dda2.js";
4
+ import { b as Ee } from "./share-field-f0f2612d.js";
5
5
  import { I as Pe } from "./field-base-5547436d.js";
6
6
  import De from "./form-item-wrapper-14987803.js";
7
7
  import { g as Le, w as Re } from "./expression-490b4335.js";
@@ -1,15 +1,15 @@
1
1
  var xn = Object.defineProperty;
2
2
  var Mn = (t, a, p) => a in t ? xn(t, a, { enumerable: !0, configurable: !0, writable: !0, value: p }) : t[a] = p;
3
3
  var tt = (t, a, p) => (Mn(t, typeof a != "symbol" ? a + "" : a, p), p);
4
- import { onMounted as at, nextTick as ut, onActivated as _n, onErrorCaptured as Sn, isRef as ct, watch as Z, reactive as Dn, ref as me, computed as Se, onBeforeUnmount as Wn, inject as Pn, toRefs as Nn } from "vue";
5
- import { m as se, a as Pe, c as Te, t as it, i as ft, o as X, g as w, w as Tn, K as Fn, h as pe, f as lt, k as Bn, n as In, E as Y, d as de, z as Ln, H as ve } from "./enum-type-4a798b1a.js";
6
- import { p as nt, b as mt, g as $n, f as ge, a as jn } from "./multirow-3a97c61a.js";
4
+ import { onMounted as at, nextTick as ut, onActivated as _n, onErrorCaptured as Sn, isRef as ct, watch as Z, reactive as Dn, ref as de, computed as Se, onBeforeUnmount as Wn, inject as Pn, toRefs as Nn } from "vue";
5
+ import { m as se, a as Pe, c as Te, t as it, i as ft, o as X, g as w, w as Tn, K as Fn, h as Oe, f as lt, k as Bn, n as In, E as Y, d as ve, z as Ln, H as ge } from "./enum-type-4a798b1a.js";
6
+ import { p as nt, b as mt, g as $n, f as he, a as jn } from "./multirow-3a97c61a.js";
7
7
  import { u as dt } from "./icon-a0e0cdb0.js";
8
- import { f as j, l as he, m as An, n as ot, g as $, r as kn, i as Hn, b as Kn, d as Un } from "./expression-490b4335.js";
9
- import { b as vt, d as Ne, B as q, P as gt, c as ht, e as qn, a as rt } from "./baseImp-1b9355d2.js";
10
- import { F as Gn } from "./slot-afdbaf6a.js";
8
+ import { f as j, l as pe, m as An, n as ot, g as $, r as kn, i as Hn, b as Kn, d as qn } from "./expression-490b4335.js";
9
+ import { b as vt, d as Ne, B as q, P as gt, c as ht, e as Gn, a as rt } from "./baseImp-1b9355d2.js";
10
+ import { F as Un } from "./slot-afdbaf6a.js";
11
11
  import { f as Jn, d as zn, h as De, e as Qn } from "./index-f6240372.js";
12
- import { W as A, c as U } from "./enum-type-bb2bfafa.js";
12
+ import { W as A, c as Q } from "./enum-type-bb2bfafa.js";
13
13
  import { m as Xn } from "./uuid-4999945f.js";
14
14
  function Yn() {
15
15
  return {
@@ -62,7 +62,7 @@ class Fe {
62
62
  a && this.refList && delete this.refList[a.toString()];
63
63
  }
64
64
  }
65
- function Oe(t) {
65
+ function Ve(t) {
66
66
  t || (t = {});
67
67
  const a = new Fe(t), { instance: p } = dt(), M = (g) => a.getWidgetRef(g == null ? void 0 : g.toString()), N = (g, V, C) => {
68
68
  var d = [], S = [];
@@ -141,7 +141,7 @@ function Oe(t) {
141
141
  };
142
142
  }
143
143
  const wn = (t, a, p, M) => {
144
- const N = new Fe(t), { callRefFunc: D } = Oe(t), { parseGroupId: u } = mt();
144
+ const N = new Fe(t), { callRefFunc: D } = Ve(t), { parseGroupId: u } = mt();
145
145
  if (!t || t.length <= 0 || !a)
146
146
  return;
147
147
  const W = () => {
@@ -174,7 +174,7 @@ const wn = (t, a, p, M) => {
174
174
  if (!r)
175
175
  return;
176
176
  const v = r.name, f = D(r.ref, A.getValue), s = D(r.ref, A.getCheckedItems), i = {};
177
- return i[v] = f, f !== void 0 && !Bn(s) && !l && (i[`${v}${he.checkedOptions}`] = s), i;
177
+ return i[v] = f, f !== void 0 && !Bn(s) && !l && (i[`${v}${pe.checkedOptions}`] = s), i;
178
178
  }, x = (o, l) => {
179
179
  var v;
180
180
  var r = [];
@@ -199,7 +199,7 @@ const wn = (t, a, p, M) => {
199
199
  if (!o || (o == null ? void 0 : o.length) <= 0)
200
200
  return r;
201
201
  const v = u(a), f = v == null ? void 0 : v.groupName;
202
- return l === ge.Inner2Outer ? o == null || o.forEach((s) => {
202
+ return l === he.Inner2Outer ? o == null || o.forEach((s) => {
203
203
  var i = x(s);
204
204
  i && (i == null ? void 0 : i.length) > 0 && r.push(...i);
205
205
  }) : o == null || o.forEach((s) => {
@@ -210,7 +210,7 @@ const wn = (t, a, p, M) => {
210
210
  let r = {};
211
211
  if (!o || o.length <= 0)
212
212
  return r;
213
- if (l === ge.Inner2Outer) {
213
+ if (l === he.Inner2Outer) {
214
214
  var v = Tn(o, (f) => {
215
215
  var s;
216
216
  return (s = f.source) == null ? void 0 : s.id;
@@ -239,11 +239,11 @@ const wn = (t, a, p, M) => {
239
239
  r != null && r.source && (r != null && r.id) && (l[(v = r == null ? void 0 : r.source) == null ? void 0 : v.id] = r == null ? void 0 : r.id);
240
240
  }), l;
241
241
  }, C = (o, l, r) => {
242
- if (r === ge.Inner2Inner) {
243
- const i = Fn(l), { updateFomula: _ } = ht(), { buildVariable: P } = qn();
242
+ if (r === he.Inner2Inner) {
243
+ const i = Fn(l), { updateFomula: _ } = ht(), { buildVariable: P } = Gn();
244
244
  var v = V(o);
245
245
  if (w(v)) {
246
- var f = q.getOrgOption(l, j.defaultValue), s = _(pe(f), v, (B, G) => {
246
+ var f = q.getOrgOption(l, j.defaultValue), s = _(Oe(f), v, (B, G) => {
247
247
  var ee = v[B];
248
248
  return ft(ee) ? P(B) : P(ee);
249
249
  });
@@ -257,7 +257,7 @@ const wn = (t, a, p, M) => {
257
257
  if (r == null)
258
258
  return;
259
259
  const v = $n(a, l);
260
- if (v === ge.DiffInner)
260
+ if (v === he.DiffInner)
261
261
  return;
262
262
  var f = gt.getFormulaRelatedField(r);
263
263
  if (!f || f.length <= 0)
@@ -280,7 +280,7 @@ const wn = (t, a, p, M) => {
280
280
  return;
281
281
  const { parseGroupId: D } = mt();
282
282
  var u = D(a), W = u == null ? void 0 : u.groupName;
283
- const { callRefFunc: F } = Oe(t), O = (g, V) => {
283
+ const { callRefFunc: F } = Ve(t), O = (g, V) => {
284
284
  var r, v, f;
285
285
  const C = (v = (r = X(t)) == null ? void 0 : r.map((s) => F(t == null ? void 0 : t[s], A.getField))) == null ? void 0 : v.filter((s) => !!s), d = (f = Jn(C, (s) => {
286
286
  var i = D(s == null ? void 0 : s.id);
@@ -358,18 +358,19 @@ function to() {
358
358
  const st = (t) => {
359
359
  var p;
360
360
  const { getFormulaFields: a } = ht();
361
- return ((p = a(pe(t))) == null ? void 0 : p.length) > 0;
362
- }, Q = (t) => {
361
+ return ((p = a(Oe(t))) == null ? void 0 : p.length) > 0;
362
+ }, z = (t) => {
363
363
  const a = t.type;
364
- return ![U.fileUpload, U.pictureUpload].includes(a) && t.formItemFlag || [U.form, U.dialog].includes(a);
364
+ //![WidgetType.fileUpload, WidgetType.pictureUpload].includes(wtype) &&
365
+ return t.formItemFlag || [Q.form, Q.dialog].includes(a);
365
366
  }, We = (t) => {
366
367
  const a = t.type;
367
- return [U.treeSelect, U.cascader, U.select, U.checkbox, U.radio].includes(a);
368
+ return [Q.treeSelect, Q.cascader, Q.select, Q.checkbox, Q.radio].includes(a);
368
369
  };
369
370
  function vo(t) {
370
- const a = t == null ? void 0 : t.designState, p = (t == null ? void 0 : t.created) != !1, M = t == null ? void 0 : t.exResetField, N = t == null ? void 0 : t.extInitFieldModel, D = t == null ? void 0 : t.exposedWholeInstance, u = t == null ? void 0 : t.widget, W = t == null ? void 0 : t.designer, F = W == null ? void 0 : W.pageConfig, { formRefList: O, globalRefList: h, globalConfig: x, globalFormName: T, globalDataModel: g, rowScope: V } = Gn.globalInject();
371
+ const a = t == null ? void 0 : t.designState, p = (t == null ? void 0 : t.created) != !1, M = t == null ? void 0 : t.exResetField, N = t == null ? void 0 : t.extInitFieldModel, D = t == null ? void 0 : t.exposedWholeInstance, u = t == null ? void 0 : t.widget, W = t == null ? void 0 : t.designer, F = W == null ? void 0 : W.pageConfig, { formRefList: O, globalRefList: h, globalConfig: x, globalFormName: T, globalDataModel: g, rowScope: V } = Un.globalInject();
371
372
  let C = Dn(g || {});
372
- const d = Oe(h), S = Oe(O), { instance: o } = dt(), l = () => Y(C), r = () => V, v = () => u, f = {
373
+ const d = Ve(h), S = Ve(O), { instance: o } = dt(), l = () => Y(C), r = () => V, v = () => u, f = {
373
374
  designState: a,
374
375
  pageConfig: F,
375
376
  formData: !a && st(u) ? C : {},
@@ -395,11 +396,11 @@ function vo(t) {
395
396
  }, P = {
396
397
  instance: D ? o : _,
397
398
  ...f
398
- }, { on$: B, dispatch: G, emit$: ee } = jn(), { onCompErrorCaptured: Ot } = Yn(), { existFunc: Vt } = Zn({ options: u == null ? void 0 : u.options }, P), { isIdClass: Ct, getIdByIdClass: Et } = zn(u), { getOneSchemaData: yt, getSchemaDataObject: bt, getSchemaDatas: Rt } = rt(P), te = to(), xt = (t == null ? void 0 : t.shareProp) || { s_attr: !0, s_extendAttr: !0, s_events: !0, s_slots: !0, s_fieldName: !0, s_optionItems: !0 }, { attrs: Be, extendAttrs: Ve, events: k, slots: Ie, rules: Le, fieldName: b, buildRules: Mt, clearRules: _t, disableChangeValidate: St, enableChangeValidate: Dt, optionItems: ae, filterOptionItems: Wt, getCheckedOptionText: Pt, getCheckedOptionValues: Nt, getCheckedOptionLabels: Tt, getCheckedOptionItems: Ft, activeOptionItems: Bt, activeOptionItem: It, activeOptionItemIndex: Lt, setOptionItems: $e, isOptionWidget: $t, setWidgetOption: ne, getWidgetOption: ue, setFieldEnable: jt, hasFieldOptions: At, getFieldOptions: oe, setFieldOptions: kt, computedDefaultValue: ce, hasDefaultValue: ie, singleOption: Ht, watchOption: je, addCssClass: Kt, removeCssClass: Ut } = vt(u, P, xt, o);
399
- let Ce = null, R = me();
400
- const K = me(), qt = () => b.value, Ae = () => `${u == null ? void 0 : u.id}-${Xn()}`, Ee = me(Ae()), ke = () => {
401
- Ee.value = Ae();
402
- }, Gt = Se({
399
+ }, { on$: B, dispatch: G, emit$: ee } = jn(), { onCompErrorCaptured: Ot } = Yn(), { existFunc: Vt } = Zn({ options: u == null ? void 0 : u.options }, P), { isIdClass: Ct, getIdByIdClass: Et } = zn(u), { getOneSchemaData: yt, getSchemaDataObject: bt, getSchemaDatas: Rt } = rt(P), te = to(), xt = (t == null ? void 0 : t.shareProp) || { s_attr: !0, s_extendAttr: !0, s_events: !0, s_slots: !0, s_fieldName: !0, s_optionItems: !0 }, { attrs: Be, extendAttrs: Ce, events: k, slots: Ie, rules: Le, fieldName: b, buildRules: Mt, clearRules: _t, disableChangeValidate: St, enableChangeValidate: Dt, optionItems: ae, filterOptionItems: Wt, getCheckedOptionText: Pt, getCheckedOptionValues: Nt, getCheckedOptionLabels: Tt, getCheckedOptionItems: Ft, activeOptionItems: Bt, activeOptionItem: It, activeOptionItemIndex: Lt, setOptionItems: $e, isOptionWidget: $t, setWidgetOption: ne, getWidgetOption: ue, setFieldEnable: jt, hasFieldOptions: At, getFieldOptions: oe, setFieldOptions: kt, computedDefaultValue: ce, hasDefaultValue: ie, singleOption: Ht, watchOption: je, addCssClass: Kt, removeCssClass: qt } = vt(u, P, xt, o);
400
+ let Ee = null, R = de();
401
+ const K = de(), Gt = () => b.value, Ae = () => `${u == null ? void 0 : u.id}-${Xn()}`, ye = de(Ae()), ke = () => {
402
+ ye.value = Ae();
403
+ }, Ut = Se({
403
404
  get: () => {
404
405
  if (Pe(R.value)) {
405
406
  var e = Number(R.value);
@@ -429,7 +430,7 @@ function vo(t) {
429
430
  return;
430
431
  }
431
432
  $e(e);
432
- }, ye = (e) => {
433
+ }, be = (e) => {
433
434
  var n, c, m;
434
435
  return (m = (c = (n = d.getWidgetRef(b.value)) == null ? void 0 : n.exposed) == null ? void 0 : c.getCheckedItems) == null ? void 0 : m.call(c, e);
435
436
  }, He = (e) => {
@@ -438,59 +439,59 @@ function vo(t) {
438
439
  }, Qt = (e) => {
439
440
  var n, c, m;
440
441
  return (m = (c = (n = d.getWidgetRef(b.value)) == null ? void 0 : n.exposed) == null ? void 0 : c.getCheckedText) == null ? void 0 : m.call(c, e);
441
- }, be = () => {
442
+ }, fe = () => {
442
443
  var E;
443
444
  if (!$t())
444
445
  return;
445
- const e = (E = Ve.value) == null ? void 0 : E.withAttachData;
446
+ const e = (E = Ce.value) == null ? void 0 : E.withAttachData;
446
447
  if (!We(u) || e === !1)
447
448
  return;
448
449
  const n = R.value, c = He(n), m = Qt(n);
449
- var y = Y(ye(n));
450
+ var y = Y(be(n));
450
451
  Ke(c, y, m);
451
452
  }, Ke = (e, n, c) => {
452
453
  var m = {};
453
454
  if (e != null) {
454
455
  let y = oe("textName", !1);
455
- [`${b.value}${he.optionText}`, y].forEach((E) => {
456
+ [`${b.value}${pe.optionText}`, y].forEach((E) => {
456
457
  E && m[E] === void 0 && (m[E] = e);
457
458
  });
458
459
  }
459
- if (n != null && pe(n) !== pe(R.value)) {
460
+ if (n != null && Oe(n) !== Oe(R.value)) {
460
461
  let y = oe("optionName", !1);
461
- [`${b.value}${he.checkedOptions}`, y].forEach((E) => {
462
+ [`${b.value}${pe.checkedOptions}`, y].forEach((E) => {
462
463
  E && m[E] === void 0 && (m[E] = n);
463
464
  });
464
465
  }
465
466
  if (c != null) {
466
467
  let y = oe("labelName", !1);
467
- e != c && [`${b.value}${he.optionLabelName}`, y].forEach((E) => {
468
+ e != c && [`${b.value}${pe.optionLabelName}`, y].forEach((E) => {
468
469
  E && m[E] === void 0 && (m[E] = c);
469
470
  });
470
471
  }
471
- Ue(Y(m));
472
- }, J = (e) => {
473
- if (Q(u)) {
472
+ qe(Y(m));
473
+ }, U = (e) => {
474
+ if (z(u)) {
474
475
  var n = { [b.value]: e };
475
- Ue(n);
476
+ qe(n);
476
477
  }
477
- }, Ue = (e) => {
478
- de(C, e);
478
+ }, qe = (e) => {
479
+ ve(C, e);
479
480
  }, re = (e) => {
480
- a || J(e);
481
- }, qe = (e) => oe(e, !1), Ge = () => {
481
+ a || U(e);
482
+ }, Ge = (e) => oe(e, !1), Ue = () => {
482
483
  var e = Nn(C);
483
484
  R = gt.get(e, b.value);
484
485
  }, Je = (e) => {
485
- Ce = Y(e);
486
+ Ee = Y(e);
486
487
  }, Xt = () => {
487
- a || N && N(z());
488
+ a || N && N(J());
488
489
  }, Yt = () => {
489
- ie() && ve(ce()).then((e) => {
490
- J(e), Ge();
490
+ ie() && ge(ce()).then((e) => {
491
+ U(e), Ue();
491
492
  });
492
493
  }, Re = (e, n) => {
493
- if (!Q(u))
494
+ if (!z(u))
494
495
  return;
495
496
  ee(j.fieldValueChanged, { newValue: e, oldValue: n });
496
497
  const c = { fieldId: u.id, fieldName: b.value, newValue: e, oldValue: n };
@@ -504,33 +505,33 @@ function vo(t) {
504
505
  var y, E, I;
505
506
  let c = ((y = e == null ? void 0 : e[0]) == null ? void 0 : y.target) != null ? (I = (E = e == null ? void 0 : e[0]) == null ? void 0 : E.target) == null ? void 0 : I.value : e == null ? void 0 : e[0];
506
507
  c = Y(c);
507
- var m = en(c, Ce);
508
- m != null ? re(m) : re(c), Re(c, Ce), Xe(), Je(c);
508
+ var m = en(c, Ee);
509
+ m != null ? re(m) : re(c), Re(c, Ee), Xe(), Je(c);
509
510
  }, nn = (e = !0) => {
510
511
  ne($.readonly, e);
511
512
  }, on = (e = !0) => {
512
513
  ne($.disabled, e);
513
514
  }, rn = (e = !0) => {
514
- ne($.hidden, e), e ? Ze() : le();
515
+ ne($.hidden, e), e ? Ze() : me();
515
516
  }, sn = (e = !0) => {
516
- jt($.required, e), le();
517
+ jt($.required, e), me();
517
518
  }, an = (e) => {
518
519
  ne($.label, e);
519
- }, z = () => R == null ? void 0 : R.value, ze = (e) => {
520
+ }, J = () => R == null ? void 0 : R.value, ze = (e) => {
520
521
  R.value = e;
521
- }, fe = (e) => {
522
- let n = Y(z());
523
- if (ze(e), !Q(u))
522
+ }, le = (e) => {
523
+ let n = Y(J());
524
+ if (ze(e), !z(u))
524
525
  return;
525
- const c = z();
526
+ const c = J();
526
527
  n !== c && (re(c), Re(e, n));
527
528
  }, un = () => {
528
- ie() ? ve(ce()).then((e) => {
529
- J(e);
530
- }) : J(null), M == null || M();
529
+ ie() ? ge(ce()).then((e) => {
530
+ U(e);
531
+ }) : U(null), M == null || M();
531
532
  }, cn = (e) => {
532
- const n = z(), c = te.insertOnMousePos(K.value, e, n);
533
- fe(c);
533
+ const n = J(), c = te.insertOnMousePos(K.value, e, n);
534
+ le(c);
534
535
  }, fn = (e, n) => {
535
536
  Z(() => R == null ? void 0 : R.value, (c, m) => {
536
537
  e == null || e({ id: u.id, name: b.value, newValue: c, oldValue: m });
@@ -576,7 +577,7 @@ function vo(t) {
576
577
  },
577
578
  getField: v,
578
579
  getFormData: l,
579
- getValue: z,
580
+ getValue: J,
580
581
  setValue: ze,
581
582
  emit$: ee,
582
583
  findRefByName: d.getWidgetRef,
@@ -591,11 +592,11 @@ function vo(t) {
591
592
  getSchemaDatas: Rt,
592
593
  getSchemaDataObject: bt,
593
594
  addCssClass: Kt,
594
- removeCssClass: Ut
595
+ removeCssClass: qt
595
596
  }, n = {
596
597
  resetField: un,
597
- getValue: z,
598
- setValue: fe,
598
+ getValue: J,
599
+ setValue: le,
599
600
  refreshDefaultValue: Yt,
600
601
  insertOnMousePos: cn,
601
602
  disableChangeValidate: St,
@@ -614,7 +615,7 @@ function vo(t) {
614
615
  }
615
616
  }, c = {
616
617
  loadOptionItems: zt,
617
- getCheckedItems: ye,
618
+ getCheckedItems: be,
618
619
  getCheckedLabels: He
619
620
  }, m = {
620
621
  [$.required]: { name: A.setRequired, fn: sn },
@@ -629,15 +630,15 @@ function vo(t) {
629
630
  y[H.name] = H.fn;
630
631
  }
631
632
  });
632
- var E = de(e, y);
633
- return Q(u) && (E = de(E, n)), We(u) && (E = de(E, c)), E;
633
+ var E = ve(e, y);
634
+ return z(u) && (E = ve(E, n)), We(u) && (E = ve(E, c)), E;
634
635
  };
635
636
  const dn = Se(() => ({
636
637
  attrs: Be.value,
637
- extendAttrs: Ve.value,
638
+ extendAttrs: Ce.value,
638
639
  events: k.value,
639
640
  slots: Ie.value,
640
- fieldKey: Ee.value,
641
+ fieldKey: ye.value,
641
642
  fieldEditor: K.value,
642
643
  fieldName: b.value
643
644
  })), vn = (e) => {
@@ -651,17 +652,17 @@ function vo(t) {
651
652
  deep: !0
652
653
  });
653
654
  }, gn = (e, n, c) => {
654
- const m = me(), y = qe(e), E = (I) => {
655
+ const m = de(), y = Ge(e), E = (I) => {
655
656
  n && (m.value = n(I || y));
656
657
  };
657
658
  return ct(y) ? Z(y, (I) => {
658
659
  E(I), c && c(I);
659
660
  }) : E(y), m;
660
661
  }, Qe = () => {
661
- !Q(u) || a || fn((e) => {
662
- wn(h, u == null ? void 0 : u.id, P), eo(h, u == null ? void 0 : u.id, q.getOptions(u, $.relate), e), setTimeout(() => {
663
- be();
664
- }, 600);
662
+ !z(u) || a || fn((e) => {
663
+ wn(h, u == null ? void 0 : u.id, P), eo(h, u == null ? void 0 : u.id, q.getOptions(u, $.relate), e), fe(), setTimeout(() => {
664
+ fe();
665
+ }, 1e3);
665
666
  }, { immediate: !0 });
666
667
  }, Xe = () => {
667
668
  const e = { propName: b.value };
@@ -669,8 +670,8 @@ function vo(t) {
669
670
  }, Ye = () => {
670
671
  const e = { fieldId: u.id, fieldName: b.value, rules: Le };
671
672
  G(T, j.fieldRuleChange, e, o);
672
- }, le = () => {
673
- if (!Q(u))
673
+ }, me = () => {
674
+ if (!z(u))
674
675
  return;
675
676
  const e = Mt();
676
677
  return Ye(), e;
@@ -678,27 +679,27 @@ function vo(t) {
678
679
  _t(), Ye();
679
680
  }, hn = () => {
680
681
  De(u, "change") && (k.value.change = tn), De(u, "input") && (k.value.input = wt), B(Kn.setFormData, (e) => {
681
- fe(e[b.value]);
682
+ le(e[b.value]);
682
683
  }), B(j.fieldValueChanged, (e) => {
683
684
  xe(j.onChange, { value: e == null ? void 0 : e.newValue, oldValue: e == null ? void 0 : e.oldValue });
684
685
  });
685
686
  }, pn = () => {
686
687
  let e = b.value;
687
- Q(u) ? ((!Ln(C, e) || C[e] === void 0) && (J(null), ie() && ve(ce()).then((n) => {
688
- n == null ? J(null) : J(n);
689
- })), Ge()) : ie() && ve(ce()).then((n) => {
690
- fe(n);
691
- }), Je(z()), Xt();
688
+ z(u) ? ((!Ln(C, e) || C[e] === void 0) && (U(null), ie() && ge(ce()).then((n) => {
689
+ n == null ? U(null) : U(n);
690
+ })), Ue()) : ie() && ge(ce()).then((n) => {
691
+ le(n);
692
+ }), Je(J()), Xt();
692
693
  }, we = () => {
693
694
  We(u) && Z(() => ae == null ? void 0 : ae.value, (e, n) => {
694
- be();
695
+ fe();
695
696
  }, { immediate: !0 });
696
697
  }, On = () => {
697
698
  je(!0, $.css, void 0, (e) => {
698
699
  et();
699
700
  });
700
701
  }, Vn = () => {
701
- const e = Pn(Un.isRenderComplete);
702
+ const e = Pn(qn.isRenderComplete);
702
703
  if (e != null && e.value) {
703
704
  we(), Qe();
704
705
  return;
@@ -710,7 +711,7 @@ function vo(t) {
710
711
  var e, n;
711
712
  if (p)
712
713
  try {
713
- pn(), le(), hn(), d.registerToRefList(b.value), S.registerToRefList(b.value), (n = (e = k == null ? void 0 : k.value) == null ? void 0 : e.created) == null || n.call(e), Ot();
714
+ pn(), me(), hn(), d.registerToRefList(b.value), S.registerToRefList(b.value), (n = (e = k == null ? void 0 : k.value) == null ? void 0 : e.created) == null || n.call(e), Ot();
714
715
  } catch (c) {
715
716
  se.error("create", c);
716
717
  }
@@ -736,13 +737,13 @@ function vo(t) {
736
737
  exposed: mn(),
737
738
  fieldModel: R,
738
739
  objFieldModel: Jt,
739
- numFieldModel: Gt,
740
+ numFieldModel: Ut,
740
741
  fieldEditor: K,
741
- fieldKey: Ee,
742
+ fieldKey: ye,
742
743
  field: u,
743
744
  instance: o,
744
745
  attrs: Be,
745
- extendAttrs: Ve,
746
+ extendAttrs: Ce,
746
747
  slots: Ie,
747
748
  events: k,
748
749
  rules: Le,
@@ -755,10 +756,10 @@ function vo(t) {
755
756
  activeOptionItems: Bt,
756
757
  activeOptionItem: It,
757
758
  activeOptionItemIndex: Lt,
758
- refreshOptionField: be,
759
+ refreshOptionField: fe,
759
760
  filterOptionItems: Wt,
760
761
  setOptionItems: $e,
761
- getCheckedItems: ye,
762
+ getCheckedItems: be,
762
763
  getCheckedOptionItems: (e, n) => Ft(e || R.value, n),
763
764
  getCheckedOptionLabels: (e, n) => Tt(e || R.value, n),
764
765
  getCheckedOptionValues: (e, n) => Nt(e || R.value, n),
@@ -769,13 +770,13 @@ function vo(t) {
769
770
  existEvent: Zt,
770
771
  handleEvent: xe,
771
772
  handleEnter: ln,
772
- getPropName: qt,
773
+ getPropName: Gt,
773
774
  emitFieldDataChange: Re,
774
775
  syncUpdateFormModel: re,
775
776
  getWidgetRef: d.getWidgetRef,
776
777
  clearRules: Ze,
777
- buildRules: le,
778
- getFieldOptionModel: qe,
778
+ buildRules: me,
779
+ getFieldOptionModel: Ge,
779
780
  getFieldOptions: oe,
780
781
  hasFieldOptions: At,
781
782
  setFieldOptions: kt,
@@ -787,7 +788,7 @@ function vo(t) {
787
788
  }
788
789
  export {
789
790
  Fe as R,
790
- Oe as a,
791
+ Ve as a,
791
792
  vo as b,
792
793
  Zn as u
793
794
  };