@kp-ui/lowcode 2.15.0-alpha.16 → 2.15.0-alpha.17

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kp-ui/lowcode",
3
- "version": "2.15.0-alpha.16",
3
+ "version": "2.15.0-alpha.17",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1,54 +1,54 @@
1
- import { ref as a, provide as f, computed as u, watchEffect as ie, onMounted as le, nextTick as fe } from "vue";
2
- import { useFormValidation as E } from "./formValidation.js";
3
- import { useFormDataProcessor as ce } from "./useFormDataProcessor.js";
4
- import { insertCustomCssToHead as ue, insertGlobalFunctionsToHtml as me, getContainerWidgetByName as V, cloneFormConfigWithoutEventHandler as de, generateId as ve } from "../../utils/util.js";
5
- import { set as ge, cloneDeep as Fe } from "lodash-es";
6
- import { message as W } from "ant-design-vue";
7
- import { useI18n as pe } from "../../utils/i18n.js";
8
- import { getUuidKey as Ce } from "@kp-ui/tool";
9
- import { useComRef as he, useRef as De, useExecFunction as Re } from "tmgc2-share";
10
- import we from "../form-render/dynamic-dialog.vue.js";
1
+ import { ref as i, provide as f, computed as m, watchEffect as le, onMounted as fe, nextTick as ce } from "vue";
2
+ import { useFormValidation as W } from "./formValidation.js";
3
+ import { useFormDataProcessor as me } from "./useFormDataProcessor.js";
4
+ import { insertCustomCssToHead as ue, insertGlobalFunctionsToHtml as de, getContainerWidgetByName as H, cloneFormConfigWithoutEventHandler as ve, generateId as ge } from "../../utils/util.js";
5
+ import { set as Fe, cloneDeep as pe } from "lodash-es";
6
+ import { message as I } from "ant-design-vue";
7
+ import { useI18n as Ce } from "../../utils/i18n.js";
8
+ import { getUuidKey as he } from "@kp-ui/tool";
9
+ import { useComRef as De, useRef as Re, useExecFunction as we } from "tmgc2-share";
10
+ import xe from "../form-render/dynamic-dialog.vue.js";
11
11
  /* empty css */
12
12
  import { useEmitter as be } from "../../utils/useEmitter.js";
13
- import { useAppRef as xe } from "../form-designer/useAppRef.js";
14
- const $e = ({ renderForm: p, props: i }) => {
15
- const { formJson: C, formData: H } = i, v = he(we), { i18nt: h } = pe(), [D, I] = De(!1), g = be(), c = a(), n = a({}), R = a(!1), F = a(/* @__PURE__ */ new Map()), w = a({}), J = a();
16
- f("refList", F), f("getFormConfig", () => t.value), f("formData", n), f("getReadMode", () => D.value), f("designState", !1);
17
- const b = a(), { executeFunction: T, context: x, execHttpFunction: j } = Re(), { getFormRef: M, getWidgetRef: $, registerToRefList: B } = xe(F, !0), t = u(() => {
13
+ import { useAppRef as Le } from "../form-designer/useAppRef.js";
14
+ const $e = ({ renderForm: p, props: a }) => {
15
+ const { formJson: C, formData: J } = a, v = De(xe), { i18nt: h } = Ce(), [D, T] = Re(!1), g = be(), c = i(), s = i({}), R = i(!1), F = i(/* @__PURE__ */ new Map()), w = i({}), j = i();
16
+ f("refList", F), f("getFormConfig", () => o.value), f("formData", s), f("getReadMode", () => D.value), f("designState", !1);
17
+ const x = i(), { executeFunction: U, context: b, execHttpFunction: L } = we(), { getFormRef: M, getWidgetRef: $, registerToRefList: B } = Le(F, !0), o = m(() => {
18
18
  var e;
19
19
  return ((e = c.value) == null ? void 0 : e.formConfig) || {};
20
20
  });
21
- f("formConfig", t);
22
- const m = u(() => {
21
+ f("formConfig", o);
22
+ const u = m(() => {
23
23
  var e;
24
24
  return ((e = c.value) == null ? void 0 : e.widgetList) || [];
25
- }), _ = u(() => {
25
+ }), _ = m(() => {
26
26
  var e;
27
- return ((e = t.value) == null ? void 0 : e.labelPosition) || "horizontal";
27
+ return ((e = o.value) == null ? void 0 : e.labelPosition) || "horizontal";
28
28
  }), z = (e) => {
29
- J.value = e;
30
- }, A = u(() => {
29
+ j.value = e;
30
+ }, A = m(() => {
31
31
  var e;
32
- return (e = t.value) != null && e.labelWidth ? `${t.value.labelWidth}px` : "80px";
33
- }), G = u(() => {
32
+ return (e = o.value) != null && e.labelWidth ? `${o.value.labelWidth}px` : "80px";
33
+ }), G = m(() => {
34
34
  var e;
35
- return ((e = t.value) == null ? void 0 : e.customClass) || "";
36
- }), L = ce();
37
- let d = E(p, m.value || []);
38
- ie(() => {
39
- d = E(p, m.value || []);
35
+ return ((e = o.value) == null ? void 0 : e.customClass) || "";
36
+ }), y = me();
37
+ let d = W(p, u.value || []);
38
+ le(() => {
39
+ d = W(p, u.value || []);
40
40
  });
41
- const y = async (e) => {
42
- var o;
43
- c.value = e || { widgetList: [], formConfig: {} }, n.value = {}, K(((o = c.value) == null ? void 0 : o.widgetList) || []), await fe(), ne();
41
+ const O = async (e) => {
42
+ var t;
43
+ c.value = e || { widgetList: [], formConfig: {} }, s.value = {}, K(((t = c.value) == null ? void 0 : t.widgetList) || []), await ce(), ne();
44
44
  }, K = (e) => {
45
45
  if ((e == null ? void 0 : e.length) > 0) {
46
- const o = L.buildFormModel(e, H);
47
- Object.assign(n.value, o);
46
+ const t = y.buildFormModel(e, J);
47
+ Object.assign(s.value, t);
48
48
  }
49
- }, S = () => n.value || {}, U = (e) => {
50
- e && Object.keys(e).forEach((o) => {
51
- n.value.hasOwnProperty(o) && (n.value[o] = e[o]);
49
+ }, P = () => s.value || {}, S = (e) => {
50
+ e && Object.keys(e).forEach((t) => {
51
+ s.value.hasOwnProperty(t) && (s.value[t] = e[t]);
52
52
  });
53
53
  }, k = (e) => {
54
54
  R.value = e;
@@ -57,103 +57,114 @@ const $e = ({ renderForm: p, props: i }) => {
57
57
  }, Q = () => {
58
58
  d.clearValidate();
59
59
  }, X = (e) => {
60
- b.value = e;
60
+ x.value = e;
61
61
  }, Y = () => {
62
- if (!i.parentForm)
62
+ if (!a.parentForm)
63
63
  return M();
64
- let e = i.parentForm;
64
+ let e = a.parentForm;
65
65
  for (; e.parentForm; )
66
66
  e = e.parentForm;
67
67
  return e;
68
- }, Z = (e, o = {}, s = {}) => {
69
- var O, P;
70
- const r = Y(), l = V((r == null ? void 0 : r.widgetList) || [], e) || V(m.value || [], e);
68
+ }, Z = (e, t = {}, n = {}) => {
69
+ var E, V;
70
+ const r = Y(), l = H((r == null ? void 0 : r.widgetList) || [], e) || H(u.value || [], e);
71
71
  if (l === null) {
72
- W.error(h("render.hint.refNotFound") + e);
72
+ I.error(h("render.hint.refNotFound") + e);
73
73
  return;
74
74
  }
75
75
  if (!e || l.type !== "vf-dialog") {
76
- W.error(h("render.hint.refNotFound") + e);
76
+ I.error(h("render.hint.refNotFound") + e);
77
77
  return;
78
78
  }
79
- const se = {
80
- widgetList: Fe((l == null ? void 0 : l.widgetList) || []),
81
- formConfig: de(((O = r == null ? void 0 : r.formConfig) == null ? void 0 : O.value) || {})
82
- }, ae = Ce();
79
+ const ae = {
80
+ widgetList: pe((l == null ? void 0 : l.widgetList) || []),
81
+ formConfig: ve(((E = r == null ? void 0 : r.formConfig) == null ? void 0 : E.value) || {})
82
+ }, ie = he();
83
83
  w.value = {
84
84
  options: l.options,
85
- formJson: se,
86
- formData: { ...o },
85
+ formJson: ae,
86
+ formData: { ...t },
87
87
  optionData: r.optionData,
88
88
  globalDsv: r.globalDsv,
89
- parentFormRef: x.value,
90
- extraData: s,
91
- wrapperId: ae,
92
- vfCtx: { ...o }
93
- }, (P = v.value) == null || P.show();
94
- }, N = () => i.parentForm, ee = () => {
89
+ parentFormRef: b.value,
90
+ extraData: n,
91
+ wrapperId: ie,
92
+ vfCtx: { ...t }
93
+ }, (V = v.value) == null || V.show();
94
+ }, N = () => a.parentForm, ee = () => {
95
95
  var e;
96
96
  return (e = v.value) == null ? void 0 : e.getFormRef();
97
- }, oe = () => {
98
- g.off$("fieldChange"), g.on$("fieldChange", ({ fieldName: e, value: o }) => {
99
- ge(n.value, e, o);
97
+ }, te = () => {
98
+ g.off$("fieldChange"), g.on$("fieldChange", ({ fieldName: e, value: t }) => {
99
+ Fe(s.value, e, t);
100
100
  });
101
- }, te = async () => {
102
- var o;
103
- const e = t.value.serveList;
104
- if ((o = e.vformDetail.http) != null && o.url) {
105
- const s = await j(
101
+ }, oe = async () => {
102
+ var t;
103
+ const e = o.value.serveList;
104
+ if ((t = e.vformDetail.http) != null && t.url) {
105
+ const n = await L(
106
106
  {
107
107
  ...e.vformDetail
108
108
  },
109
109
  {
110
- ...i.vfCtx
110
+ ...a.vfCtx
111
111
  }
112
112
  );
113
- return console.log("res: ", s), s;
113
+ return console.log("res: ", n), n;
114
+ }
115
+ }, re = async () => {
116
+ var n;
117
+ const e = await P(), t = o.value.serveList;
118
+ if ((n = t.vformDetail.http) != null && n.url) {
119
+ const r = await L(t.vformUpdate, {
120
+ data: e,
121
+ vfCtx: a.vfCtx
122
+ });
123
+ return console.log("res: ", r), r;
114
124
  }
115
125
  }, ne = () => {
116
- var e, o;
117
- (e = t.value) != null && e.onFormMounted && T({
118
- functionBody: (o = t.value) == null ? void 0 : o.onFormMounted
126
+ var e, t;
127
+ (e = o.value) != null && e.onFormMounted && U({
128
+ functionBody: (t = o.value) == null ? void 0 : t.onFormMounted
119
129
  });
120
- }, re = () => {
121
- const e = "vfRender" + ve(), { cssCode: o, functions: s } = t.value;
122
- o && ue(o, e || ""), s && me(s, e || "");
130
+ }, se = () => {
131
+ const e = "vfRender" + ge(), { cssCode: t, functions: n } = o.value;
132
+ t && ue(t, e || ""), n && de(n, e || "");
123
133
  };
124
- return le(() => {
125
- C && y(C), oe(), re();
134
+ return fe(() => {
135
+ C && O(C), te(), se();
126
136
  }), {
127
- vfCtx: i.vfCtx,
137
+ vfCtx: a.vfCtx,
128
138
  getParentFormRef: N,
129
139
  getFormRef: M,
130
140
  getWidgetRef: $,
131
141
  registerToRefList: B,
132
- dialogOrDrawerRef: b,
142
+ dialogOrDrawerRef: x,
133
143
  setDialogOrDrawerRef: X,
134
144
  showDialog: Z,
135
- setFormData: U,
136
- setReadMode: I,
137
- setFormJson: y,
145
+ setFormData: S,
146
+ setReadMode: T,
147
+ setFormJson: O,
138
148
  setLoading: k,
139
- onFormDetail: te,
149
+ onFormDetail: oe,
150
+ onFormUpdate: re,
140
151
  emitter: g,
141
- context: x,
142
- getFormData: S,
152
+ context: b,
153
+ getFormData: P,
143
154
  getChildFormRef: ee,
144
155
  // 状态
145
156
  formJsonObj: c,
146
- formDataModel: n,
157
+ formDataModel: s,
147
158
  isLoading: R,
148
159
  readModeFlag: D,
149
160
  // 引用
150
161
  widgetRefList: F,
151
162
  // 处理器
152
- formDataProcessor: L,
163
+ formDataProcessor: y,
153
164
  formValidator: d,
154
165
  // 计算属性
155
- formConfig: t,
156
- widgetList: m,
166
+ formConfig: o,
167
+ widgetList: u,
157
168
  labelPosition: _,
158
169
  labelWidth: A,
159
170
  customClass: G,
@@ -1,7 +1,7 @@
1
1
  import t from "./button-list-widget.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const i = /* @__PURE__ */ o(t, [["__scopeId", "data-v-15ea0ae1"]]);
4
+ const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-cf651b67"]]);
5
5
  export {
6
- i as default
6
+ m as default
7
7
  };
@@ -1,11 +1,12 @@
1
- import { defineComponent as u, computed as a, createBlock as c, createCommentVNode as l, unref as t, openBlock as f, normalizeProps as x, mergeProps as b, withCtx as g, createVNode as C } from "vue";
2
- import { ComponentNameEnum as L, WidgetTypeEnum as _ } from "../../../../constants/WidgetTypeEnum.js";
3
- import w from "./static-content-wrapper.vue.js";
4
- import E from "../../../public/ActionButtonListRender.vue.js";
5
- import { useField as F } from "./useField.js";
6
- const I = /* @__PURE__ */ u({
7
- name: _.buttonList,
8
- componentName: L.FieldWidget,
1
+ import { defineComponent as c, computed as a, createBlock as f, createCommentVNode as l, unref as t, openBlock as x, normalizeProps as b, mergeProps as g, withCtx as C, createVNode as L } from "vue";
2
+ import { ComponentNameEnum as _, WidgetTypeEnum as E } from "../../../../constants/WidgetTypeEnum.js";
3
+ import F from "./static-content-wrapper.vue.js";
4
+ import w from "../../../public/ActionButtonListRender.vue.js";
5
+ import { useField as k } from "./useField.js";
6
+ import { useExecFunction as N } from "tmgc2-share";
7
+ const V = /* @__PURE__ */ c({
8
+ name: E.buttonList,
9
+ componentName: _.FieldWidget,
9
10
  __name: "button-list-widget",
10
11
  props: {
11
12
  widget: {},
@@ -18,22 +19,22 @@ const I = /* @__PURE__ */ u({
18
19
  subFormRowId: {},
19
20
  subFormColIndex: {}
20
21
  },
21
- setup(i, { expose: s }) {
22
- const o = i, r = a(() => e.options.buttonList || []), { fieldEditor: d, field: e, designState: p, handleHidden: m, defineExposed: n } = F(o);
23
- return s({
24
- buttonList: r,
25
- ...n
26
- }), (k, N) => t(m) ? l("", !0) : (f(), c(w, x(b({ key: 0 }, o)), {
27
- default: g(() => [
28
- C(E, {
22
+ setup(n, { expose: i }) {
23
+ const o = n, s = a(() => e.options.buttonList || []), { fieldEditor: r, field: e, designState: d, handleHidden: m, defineExposed: p } = k(o), { context: u } = N();
24
+ return i({
25
+ buttonList: s,
26
+ ...p
27
+ }), (S, W) => t(m) ? l("", !0) : (x(), f(F, b(g({ key: 0 }, o)), {
28
+ default: C(() => [
29
+ L(w, {
29
30
  ref_key: "fieldEditor",
30
- ref: d,
31
+ ref: r,
31
32
  options: t(e).options,
32
- designState: t(p),
33
+ designState: t(d),
33
34
  buttonList: t(e).options.buttonList || [],
34
35
  customClass: t(e).options.customClass || [],
35
36
  flex: t(e).options.flex,
36
- ctx: t(n)
37
+ ctx: t(u)
37
38
  }, null, 8, ["options", "designState", "buttonList", "customClass", "flex", "ctx"])
38
39
  ]),
39
40
  _: 1
@@ -41,5 +42,5 @@ const I = /* @__PURE__ */ u({
41
42
  }
42
43
  });
43
44
  export {
44
- I as default
45
+ V as default
45
46
  };
@@ -1,7 +1,7 @@
1
1
  import t from "./button-widget.vue2.js";
2
2
  /* empty css */
3
3
  import o from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ o(t, [["__scopeId", "data-v-a67ba8ea"]]);
4
+ const _ = /* @__PURE__ */ o(t, [["__scopeId", "data-v-06b0b085"]]);
5
5
  export {
6
- m as default
6
+ _ as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as _, resolveComponent as x, createBlock as i, createCommentVNode as s, unref as e, openBlock as r, normalizeProps as k, mergeProps as y, withCtx as a, createVNode as F, normalizeClass as w, createTextVNode as z, toDisplayString as E } from "vue";
1
+ import { defineComponent as _, resolveComponent as x, createBlock as i, createCommentVNode as s, unref as e, openBlock as a, normalizeProps as y, mergeProps as k, withCtx as r, createVNode as w, normalizeClass as E, createTextVNode as F, toDisplayString as z } from "vue";
2
2
  import N from "./static-content-wrapper.vue.js";
3
3
  import { SvgIcon as W } from "tmgc2-share";
4
4
  import { ComponentNameEnum as B, WidgetTypeEnum as I } from "../../../../constants/WidgetTypeEnum.js";
@@ -21,7 +21,7 @@ const H = /* @__PURE__ */ _({
21
21
  setup(d, { expose: p }) {
22
22
  const t = d, {
23
23
  loading: l,
24
- executeFunction: c,
24
+ asyncExecuteFunction: c,
25
25
  fieldEditor: m,
26
26
  field: o,
27
27
  size: u,
@@ -29,8 +29,8 @@ const H = /* @__PURE__ */ _({
29
29
  handleHidden: g,
30
30
  handleDisabled: b,
31
31
  defineExposed: h
32
- } = S(t), n = () => {
33
- f || o.options.onClick && c({
32
+ } = S(t), n = async () => {
33
+ f || o.options.onClick && await c({
34
34
  functionBody: o.options.onClick || ""
35
35
  });
36
36
  };
@@ -39,14 +39,14 @@ const H = /* @__PURE__ */ _({
39
39
  handleButtonWidgetClick: n
40
40
  }), (P, V) => {
41
41
  const C = x("a-button");
42
- return e(g) ? s("", !0) : (r(), i(N, k(y({ key: 0 }, t)), {
43
- default: a(() => [
44
- F(C, {
42
+ return e(g) ? s("", !0) : (a(), i(N, y(k({ key: 0 }, t)), {
43
+ default: r(() => [
44
+ w(C, {
45
45
  ref_key: "fieldEditor",
46
46
  ref: m,
47
47
  type: e(o).options.type,
48
48
  size: e(u),
49
- class: w([e(o).options.label === "" ? "hide-text-span" : "", "tpf-button"]),
49
+ class: E([e(o).options.label === "" ? "hide-text-span" : "", "tpf-button"]),
50
50
  shape: e(o).options.shape,
51
51
  danger: e(o).options.danger,
52
52
  ghost: e(o).options.ghost,
@@ -54,12 +54,12 @@ const H = /* @__PURE__ */ _({
54
54
  loading: e(l),
55
55
  onClick: n
56
56
  }, {
57
- default: a(() => [
58
- e(o).options.icon ? (r(), i(e(W), {
57
+ default: r(() => [
58
+ e(o).options.icon ? (a(), i(e(W), {
59
59
  key: 0,
60
60
  "icon-class": e(o).options.icon
61
61
  }, null, 8, ["icon-class"])) : s("", !0),
62
- z(" " + E(e(o).options.label), 1)
62
+ F(" " + z(e(o).options.label), 1)
63
63
  ]),
64
64
  _: 1
65
65
  }, 8, ["type", "size", "class", "shape", "danger", "ghost", "disabled", "loading"])
@@ -7,12 +7,12 @@ import { useEmitter as $e } from "../../../../utils/useEmitter.js";
7
7
  import { useAppRef as je } from "../../useAppRef.js";
8
8
  import { useExecFunction as Ge } from "tmgc2-share";
9
9
  function et(t) {
10
- const K = c("getFormConfig", () => ({})), y = c("formData", f({})), Q = c("getReadMode", () => !1), k = c("isSubFormField", !1), D = c("getSubFormName", () => ""), o = c("designState", !1), { registerToRefList: X, getWidgetRef: Y, getFormRef: B, unregisterFromRefList: Z } = je(), { executeFunction: u, asyncExecuteFunction: m } = Ge(), { i18nt: M, i18n2t: _ } = Je(), { field: d } = t, v = f(null), A = f(null), R = f(!1), w = f(!1), l = f([]), O = f({}), H = f({}), p = f(null), h = ze(), { dispatch: E } = $e(), q = s(() => K()), ee = s(() => {
10
+ const K = c("getFormConfig", () => ({})), y = c("formData", f({})), Q = c("getReadMode", () => !1), k = c("isSubFormField", !1), D = c("getSubFormName", () => ""), o = c("designState", !1), { registerToRefList: X, getWidgetRef: Y, getFormRef: B, unregisterFromRefList: Z } = je(), { executeFunction: u, asyncExecuteFunction: g } = Ge(), { i18nt: M, i18n2t: _ } = Je(), { field: d } = t, v = f(null), A = f(null), R = f(!1), w = f(!1), l = f([]), O = f({}), H = f({}), p = f(null), h = ze(), { dispatch: E } = $e(), q = s(() => K()), ee = s(() => {
11
11
  var e;
12
12
  return (e = d == null ? void 0 : d.options) != null && e.size ? d.options.size : q.value.size || "middle";
13
13
  }), b = s(() => D ? D() : ""), a = s({
14
14
  get() {
15
- return Le(y.value, g.value);
15
+ return Le(y.value, m.value);
16
16
  },
17
17
  set(e) {
18
18
  x(e);
@@ -54,17 +54,17 @@ function et(t) {
54
54
  return e.forEach((r, Ne) => {
55
55
  r === n && (i = Ne);
56
56
  }), i;
57
- }, g = s(() => k && !o ? b.value + "." + t.subFormRowIndex + "." + t.field.options.name : t.field.options.name);
57
+ }, m = s(() => k && !o ? b.value + "." + t.subFormRowIndex + "." + t.field.options.name : t.field.options.name);
58
58
  function oe() {
59
59
  o || t.field.options.onCreated && j(async () => {
60
- await m({
60
+ await g({
61
61
  functionBody: t.field.options.onCreated
62
62
  });
63
63
  });
64
64
  }
65
65
  function le() {
66
66
  o || t.field.options.onMounted && j(async () => {
67
- await m({
67
+ await g({
68
68
  functionBody: t.field.options.onMounted
69
69
  });
70
70
  });
@@ -135,8 +135,8 @@ function et(t) {
135
135
  t.subFormRowIndex
136
136
  ]);
137
137
  }, x = (e) => {
138
- o || (E("VFormRender", "fieldValidation", [g.value]), E("VFormRender", "fieldChange", {
139
- fieldName: g.value,
138
+ o || (E("VFormRender", "fieldValidation", [m.value]), E("VFormRender", "fieldChange", {
139
+ fieldName: m.value,
140
140
  value: e,
141
141
  oldValue: $(a.value),
142
142
  field: d
@@ -170,11 +170,11 @@ function et(t) {
170
170
  });
171
171
  }, me = async () => {
172
172
  if (!o && t.field.options.onClick)
173
- return await m({
173
+ return await g({
174
174
  functionBody: t.field.options.onClick
175
175
  });
176
176
  }, ve = async () => {
177
- o || V.value || d.options.onClickIcon && await m({
177
+ o || V.value || d.options.onClickIcon && await g({
178
178
  functionBody: d.options.onClickIcon
179
179
  });
180
180
  }, F = () => v.value, T = (e) => (typeof e == "string" && (e = JSON.parse(e)), We(e) ? e.map((i, r) => ({
@@ -209,7 +209,7 @@ function et(t) {
209
209
  }, xe = (e) => {
210
210
  t.field.options.required = e, C(), !o && !e && P();
211
211
  }, P = () => {
212
- o || B().clearValidate(g.value);
212
+ o || B().clearValidate(m.value);
213
213
  }, Ie = () => B().vfCtx, ke = (e) => {
214
214
  t.field.options.label = e;
215
215
  }, W = () => {
@@ -275,6 +275,7 @@ function et(t) {
275
275
  focus: W
276
276
  };
277
277
  return {
278
+ asyncExecuteFunction: g,
278
279
  executeFunction: u,
279
280
  options: J,
280
281
  customClass: He,
@@ -302,7 +303,7 @@ function et(t) {
302
303
  handleHidden: ne,
303
304
  handleDisabled: V,
304
305
  findInArray: ie,
305
- getPropName: g,
306
+ getPropName: m,
306
307
  refreshDefaultValue: ae,
307
308
  clearFieldRules: N,
308
309
  buildFieldRules: C,
@@ -1,7 +1,7 @@
1
1
  import o from "./data-table-tableColumns-editor.vue2.js";
2
2
  /* empty css */
3
- import a from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
- const e = /* @__PURE__ */ a(o, [["__scopeId", "data-v-ac7b3122"]]);
3
+ import t from "../../../../../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-ff49f09d"]]);
5
5
  export {
6
- e as default
6
+ m as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./grid-sub-form-widget.vue2.js";
2
2
  /* empty css */
3
3
  import r from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-6cbdf359"]]);
4
+ const d = /* @__PURE__ */ r(o, [["__scopeId", "data-v-4483eccd"]]);
5
5
  export {
6
- f as default
6
+ d as default
7
7
  };