@kp-ui/lowcode 1.0.102 → 1.0.104

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 (53) hide show
  1. package/package.json +1 -1
  2. package/src/components/form-designer/form-widget/container-widget/vf-collapse-widget.vue.js +75 -100
  3. package/src/components/form-designer/form-widget/container-widget/vf-collapse-widget.vue.js.map +1 -1
  4. package/src/components/form-designer/form-widget/container-widget/vf-collapse-widget.vue2.js +4 -4
  5. package/src/components/form-designer/form-widget/container-widget/vf-collapse-widget.vue2.js.map +1 -1
  6. package/src/components/form-designer/form-widget/container-widget/vf-collapse-widget.vue4.js +2 -0
  7. package/src/components/form-designer/form-widget/container-widget/vf-collapse-widget.vue4.js.map +1 -0
  8. package/src/components/form-designer/form-widget/field-widget/code-editor-widget.vue.js +1 -1
  9. package/src/components/form-designer/form-widget/field-widget/code-editor-widget.vue.js.map +1 -1
  10. package/src/components/form-designer/form-widget/field-widget/fieldMixin.js.map +1 -1
  11. package/src/components/form-designer/form-widget/field-widget/index.js +1 -1
  12. package/src/components/form-designer/form-widget/field-widget/index.js.map +1 -1
  13. package/src/components/form-designer/form-widget/field-widget/tree-widget.vue.js +124 -0
  14. package/src/components/form-designer/form-widget/field-widget/tree-widget.vue.js.map +1 -0
  15. package/src/components/form-designer/index.vue.js +80 -91
  16. package/src/components/form-designer/index.vue.js.map +1 -1
  17. package/src/components/form-designer/setting-panel/index.vue.js +115 -121
  18. package/src/components/form-designer/setting-panel/index.vue.js.map +1 -1
  19. package/src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-dsEnabled-editor.vue.js +17 -17
  20. package/src/components/form-designer/setting-panel/property-editor/container-data-table/data-table-dsEnabled-editor.vue.js.map +1 -1
  21. package/src/components/form-designer/setting-panel/property-editor/event-handler/onCheck-editor.vue.js +50 -0
  22. package/src/components/form-designer/setting-panel/property-editor/event-handler/onCheck-editor.vue.js.map +1 -0
  23. package/src/components/form-designer/setting-panel/property-editor/field-tree/tree-data-editor.vue.js +195 -0
  24. package/src/components/form-designer/setting-panel/property-editor/field-tree/tree-data-editor.vue.js.map +1 -0
  25. package/src/components/form-designer/setting-panel/property-editor/index.js +139 -137
  26. package/src/components/form-designer/setting-panel/property-editor/index.js.map +1 -1
  27. package/src/components/form-designer/setting-panel/propertyRegister.js +2 -0
  28. package/src/components/form-designer/setting-panel/propertyRegister.js.map +1 -1
  29. package/src/components/form-designer/widget-panel/advanced/tree-select.js.map +1 -1
  30. package/src/components/form-designer/widget-panel/advanced/tree.js +44 -0
  31. package/src/components/form-designer/widget-panel/advanced/tree.js.map +1 -0
  32. package/src/components/form-designer/widget-panel/advancedFieldsEnums.js +4 -2
  33. package/src/components/form-designer/widget-panel/advancedFieldsEnums.js.map +1 -1
  34. package/src/components/form-render/container-item/vf-collapse-item.vue.js +2 -2
  35. package/src/components/form-render/container-item/vf-collapse-item.vue.js.map +1 -1
  36. package/src/components/form-render/dynamic-dialog.vue.js +95 -105
  37. package/src/components/form-render/dynamic-dialog.vue.js.map +1 -1
  38. package/src/components/form-render/index.vue.js +111 -118
  39. package/src/components/form-render/index.vue.js.map +1 -1
  40. package/src/components/public/CustomerModal/CustomerModal.vue2.js +37 -33
  41. package/src/components/public/CustomerModal/CustomerModal.vue2.js.map +1 -1
  42. package/src/components/public/CustomerModal/useCustomerModal.js +15 -18
  43. package/src/components/public/CustomerModal/useCustomerModal.js.map +1 -1
  44. package/src/lang/zh-CN.js +1 -0
  45. package/src/lang/zh-CN.js.map +1 -1
  46. package/src/utils/executeFunction.js +20 -16
  47. package/src/utils/executeFunction.js.map +1 -1
  48. package/stats.html +1 -1
  49. package/styles/style.css +1 -1
  50. package/src/components/TpfCollapse/TpfCollapseTitle.vue.js +0 -8
  51. package/src/components/TpfCollapse/TpfCollapseTitle.vue.js.map +0 -1
  52. package/src/components/TpfCollapse/TpfCollapseTitle.vue2.js +0 -18
  53. package/src/components/TpfCollapse/TpfCollapseTitle.vue2.js.map +0 -1
@@ -1,21 +1,20 @@
1
- import { resolveComponent as p, createBlock as b, openBlock as m, withCtx as c, createVNode as y, createElementVNode as A, normalizeStyle as _, withKeys as B, normalizeClass as J, createElementBlock as S, Fragment as L, renderList as F, resolveDynamicComponent as v, createSlots as W, renderSlot as O, mergeProps as w, render as M, h as P } from "vue";
2
- import T from "../../utils/emitter.js";
1
+ import { resolveComponent as p, createBlock as b, openBlock as m, withCtx as c, createElementVNode as x, createVNode as R, normalizeStyle as A, withKeys as _, normalizeClass as B, createElementBlock as L, Fragment as W, renderList as F, resolveDynamicComponent as O, createSlots as v, renderSlot as w, mergeProps as D, render as J } from "vue";
2
+ import P from "../../utils/emitter.js";
3
3
  import $ from "../form-designer/form-widget/field-widget/index.js";
4
- import { TpfConfigProvider as H } from "tmgc2-share";
5
- import { buildDefaultFormJson as z, getContainerWidgetByName as C, cloneFormConfigWithoutEventHandler as E, deepClone as d, getDSByName as j, overwriteObj as g, runDataSourceRequest as V, getAllContainerWidgets as N, getAllFieldWidgets as G, getDefaultFormConfig as K, traverseFieldWidgets as q, getFieldWidgetByName as k, traverseFieldWidgetsOfContainer as U, insertCustomCssToHead as Q, insertGlobalFunctionsToHtml as X, generateId as D } from "../../utils/util.js";
6
- import Y, { changeLocale as Z } from "../../utils/i18n.js";
7
- import I from "./dynamic-dialog.vue.js";
4
+ import { buildDefaultFormJson as H, getContainerWidgetByName as C, cloneFormConfigWithoutEventHandler as M, deepClone as f, getDSByName as E, overwriteObj as g, runDataSourceRequest as j, getAllContainerWidgets as T, getAllFieldWidgets as z, getDefaultFormConfig as N, traverseFieldWidgets as G, getFieldWidgetByName as V, traverseFieldWidgetsOfContainer as K, insertCustomCssToHead as q, insertGlobalFunctionsToHtml as U, generateId as y } from "../../utils/util.js";
5
+ import Q, { changeLocale as X } from "../../utils/i18n.js";
6
+ import Y from "./dynamic-dialog.vue.js";
8
7
  /* empty css */
9
- import tt from "./dynamic-drawer.vue.js";
10
- import { fmtHttpParams as x } from "../../utils/request/fmtHttpParams.js";
8
+ import Z from "./dynamic-drawer.vue.js";
9
+ import { fmtHttpParams as k } from "../../utils/request/fmtHttpParams.js";
11
10
  /* empty css */
12
- import et from "../../../_virtual/_plugin-vue_export-helper.js";
13
- const it = {
11
+ import I from "../../../_virtual/_plugin-vue_export-helper.js";
12
+ const tt = {
14
13
  name: "VFormRender",
15
14
  componentName: "VFormRender",
16
- mixins: [T, Y],
15
+ mixins: [P, Q],
17
16
  components: {
18
- TpfConfigProvider: H,
17
+ DynamicDialog: Y,
19
18
  ...$
20
19
  },
21
20
  props: {
@@ -26,7 +25,7 @@ const it = {
26
25
  formJson: {
27
26
  //prop传入的表单JSON配置
28
27
  type: Object,
29
- default: () => z()
28
+ default: () => H()
30
29
  },
31
30
  formData: {
32
31
  //prop传入的表单数据
@@ -93,6 +92,7 @@ const it = {
93
92
  },
94
93
  data() {
95
94
  return {
95
+ dialogProps: {},
96
96
  isClosing: !1,
97
97
  //是否正在关闭
98
98
  isSubmitting: !1,
@@ -191,7 +191,7 @@ const it = {
191
191
  var e;
192
192
  const t = this.formConfig.serveList;
193
193
  if ((e = t.vformDetail.http) != null && e.url) {
194
- const i = await x.call(this, t.vformDetail, {
194
+ const i = await k.call(this, t.vformDetail, {
195
195
  vfCtx: this.vfCtx
196
196
  });
197
197
  return console.log("res: ", i), i;
@@ -201,7 +201,7 @@ const it = {
201
201
  var i;
202
202
  const t = await this.getFormData(), e = this.formConfig.serveList;
203
203
  if ((i = e.vformDetail.http) != null && i.url) {
204
- const o = await x.call(this, e.vformUpdate, {
204
+ const o = await k.call(this, e.vformUpdate, {
205
205
  data: t,
206
206
  vfCtx: this.vfCtx
207
207
  });
@@ -209,7 +209,7 @@ const it = {
209
209
  }
210
210
  },
211
211
  initFormObject(t = !0) {
212
- this.formId = "vfRender" + D(), t && !this.dynamicCreation && this.insertCustomStyleAndScriptNode(), this.addFieldChangeEventHandler(), this.addFieldValidateEventHandler(), this.registerFormToRefList(), this.handleOnCreated(), this.disabledMode && this.$nextTick(() => {
212
+ this.formId = "vfRender" + y(), t && !this.dynamicCreation && this.insertCustomStyleAndScriptNode(), this.addFieldChangeEventHandler(), this.addFieldValidateEventHandler(), this.registerFormToRefList(), this.handleOnCreated(), this.disabledMode && this.$nextTick(() => {
213
213
  this.disableForm();
214
214
  });
215
215
  },
@@ -224,10 +224,10 @@ const it = {
224
224
  this.changeLanguage(t);
225
225
  },
226
226
  insertCustomStyleAndScriptNode() {
227
- this.formConfig && this.formConfig.cssCode && Q(
227
+ this.formConfig && this.formConfig.cssCode && q(
228
228
  this.formConfig.cssCode,
229
229
  this.previewState ? "" : this.formId
230
- ), this.formConfig && this.formConfig.functions && X(
230
+ ), this.formConfig && this.formConfig.functions && U(
231
231
  this.formConfig.functions,
232
232
  this.previewState ? "" : this.formId
233
233
  );
@@ -241,7 +241,7 @@ const it = {
241
241
  if (t.category === "container") {
242
242
  if (t.type === "data-table") {
243
243
  const { name: e } = t.options;
244
- this.formDataModel[e] = d(t.options.dataSource);
244
+ this.formDataModel[e] = f(t.options.dataSource);
245
245
  return;
246
246
  }
247
247
  if (!(t.type === "vf-dialog" || t.type === "vf-drawer")) if (t.type === "grid")
@@ -264,7 +264,7 @@ const it = {
264
264
  const e = t.options.name;
265
265
  if (this.formData.hasOwnProperty(e)) {
266
266
  const i = this.formData[e];
267
- this.formDataModel[e] = d(i);
267
+ this.formDataModel[e] = f(i);
268
268
  } else {
269
269
  const i = {};
270
270
  t.options.showBlankRow ? (t.widgetList.forEach((o) => {
@@ -275,10 +275,10 @@ const it = {
275
275
  const e = t.options.name;
276
276
  if (this.formData.hasOwnProperty(e)) {
277
277
  const i = this.formData[e];
278
- this.formDataModel[e] = d(i);
278
+ this.formDataModel[e] = f(i);
279
279
  } else {
280
280
  const i = [];
281
- U(t, (r) => {
281
+ K(t, (r) => {
282
282
  i.push(r);
283
283
  });
284
284
  const s = {};
@@ -296,7 +296,7 @@ const it = {
296
296
  this.formDataModel[t.options.name] = t.options.defaultValue;
297
297
  else {
298
298
  const e = this.formData[t.options.name];
299
- this.formDataModel[t.options.name] = d(e);
299
+ this.formDataModel[t.options.name] = f(e);
300
300
  }
301
301
  },
302
302
  addFieldChangeEventHandler() {
@@ -362,7 +362,7 @@ const it = {
362
362
  i && i.setDisabled ? i.setDisabled(e) : this.findWidgetOfSubFormAndSetDisabled(t, e);
363
363
  },
364
364
  findWidgetOfSubFormAndSetDisabled(t, e) {
365
- const i = k(
365
+ const i = V(
366
366
  this.formJsonObj.widgetList,
367
367
  t,
368
368
  !0
@@ -377,7 +377,7 @@ const it = {
377
377
  i && i.setDisabled ? i.setHidden(e) : this.findWidgetOfSubFormAndSetHidden(t, e);
378
378
  },
379
379
  findWidgetOfSubFormAndSetHidden(t, e) {
380
- const i = k(
380
+ const i = V(
381
381
  this.formJsonObj.widgetList,
382
382
  t,
383
383
  !0
@@ -393,12 +393,12 @@ const it = {
393
393
  const o = (s, r) => {
394
394
  s.options && s.options.name === t && (i = r.options.name);
395
395
  };
396
- if (q(this.widgetList, o), i) {
396
+ if (G(this.widgetList, o), i) {
397
397
  const s = this.getWidgetRef(i);
398
398
  if (s) {
399
399
  const r = s.getRowIdData();
400
- r && r.length > 0 && r.forEach((a) => {
401
- e.push(t + "@row" + a);
400
+ r && r.length > 0 && r.forEach((n) => {
401
+ e.push(t + "@row" + n);
402
402
  });
403
403
  }
404
404
  }
@@ -409,13 +409,13 @@ const it = {
409
409
  this.getFieldWidgets().forEach((e) => {
410
410
  e.field.options.dsEnabled && e.field.options.dsName && e.field.options.dataSetName && t.add(e.field.options.dsName);
411
411
  }), t.size > 0 && t.forEach(async (e) => {
412
- const i = j(this.formConfig, e);
412
+ const i = E(this.formConfig, e);
413
413
  if (i) {
414
414
  const o = new Object({});
415
415
  g(o, this.globalDsv || {});
416
416
  let s = null;
417
417
  try {
418
- s = await V(
418
+ s = await j(
419
419
  i,
420
420
  o,
421
421
  this,
@@ -431,7 +431,7 @@ const it = {
431
431
  //--------------------- 以下为组件支持外部调用的API方法 begin ------------------//
432
432
  /* 提示:用户可自行扩充这些方法!!! */
433
433
  changeLanguage(t) {
434
- Z(t);
434
+ X(t);
435
435
  },
436
436
  getLanguageName() {
437
437
  return localStorage.getItem("lowcode_local") || "zh-CN";
@@ -466,7 +466,7 @@ const it = {
466
466
  return;
467
467
  }
468
468
  this.clearFormDataModel(), this.buildFormModel(e.widgetList);
469
- const i = d(K());
469
+ const i = f(N());
470
470
  g(i, e.formConfig), this.formJsonObj.formConfig = i, this.formJsonObj.widgetList = e.widgetList, this.insertCustomStyleAndScriptNode(), this.$nextTick(() => {
471
471
  this.initFormObject(!1), this.initDataSetRequest(), this.handleOnMounted();
472
472
  });
@@ -487,8 +487,8 @@ const it = {
487
487
  let e = function() {
488
488
  };
489
489
  const i = new window.Promise(function(o, s) {
490
- e = function(r, a) {
491
- a ? s(a) : o(r);
490
+ e = function(r, n) {
491
+ n ? s(n) : o(r);
492
492
  };
493
493
  });
494
494
  return console.log(this.formDataModel), this.$refs.renderForm.validate().then((o) => {
@@ -499,7 +499,7 @@ const it = {
499
499
  },
500
500
  setFormData(t) {
501
501
  console.log("setFormData: ", t), Object.keys(this.formDataModel).forEach((e) => {
502
- t && t.hasOwnProperty(e) && (this.formDataModel[e] = d(t[e]));
502
+ t && t.hasOwnProperty(e) && (this.formDataModel[e] = f(t[e]));
503
503
  }), this.broadcast("ContainerItem", "setFormData", this.formDataModel), this.broadcast("FieldWidget", "setFormData", this.formDataModel);
504
504
  },
505
505
  getFieldValue(t) {
@@ -607,14 +607,14 @@ const it = {
607
607
  * @returns {*[]}
608
608
  */
609
609
  getFieldWidgets(t = !1) {
610
- return G(this.formJsonObj.widgetList, t);
610
+ return z(this.formJsonObj.widgetList, t);
611
611
  },
612
612
  /**
613
613
  * 获取所有容器组件
614
614
  * @returns {*[]}
615
615
  */
616
616
  getContainerWidgets() {
617
- return N(this.formJsonObj.widgetList);
617
+ return T(this.formJsonObj.widgetList);
618
618
  },
619
619
  /**
620
620
  * 增加外部组件引用,可通过getEC()方法获取外部组件,以便在VForm内部调用外部组件方法
@@ -667,8 +667,8 @@ const it = {
667
667
  * @param localDsv
668
668
  */
669
669
  async executeDataSource(t, e) {
670
- const i = j(this.formJsonObj.formConfig, t), o = new Object({});
671
- return g(o, this.globalDsv), g(o, e), await V(i, o, this, !1, this.$message);
670
+ const i = E(this.formJsonObj.formConfig, t), o = new Object({});
671
+ return g(o, this.globalDsv), g(o, e), await j(i, o, this, !1, this.$message);
672
672
  },
673
673
  /**
674
674
  * 获取父级VFormRender组件实例
@@ -719,29 +719,26 @@ const it = {
719
719
  * @param extraData
720
720
  */
721
721
  showDialog(t, e = {}, i = {}) {
722
- console.log("showDialog", t, e, i);
723
722
  const o = this.getTopFormRef(), s = this.getFormRef(), r = C(o.widgetList, t) || C(s.widgetList, t);
724
723
  if (!t || r.type !== "vf-dialog") {
725
724
  this.$message.error(this.i18nt("render.hint.refNotFound") + t);
726
725
  return;
727
726
  }
728
- const a = {
729
- widgetList: d(r.widgetList),
730
- formConfig: E(o.formConfig)
731
- }, f = D() + "", l = P(I, {
727
+ const n = {
728
+ widgetList: f(r.widgetList),
729
+ formConfig: M(o.formConfig)
730
+ }, a = y() + "";
731
+ this.dialogProps = {
732
732
  options: r.options,
733
- formJson: a,
733
+ formJson: n,
734
734
  formData: { ...e },
735
735
  optionData: o.optionData,
736
736
  globalDsv: o.globalDsv,
737
737
  parentFormRef: this,
738
738
  extraData: i,
739
- wrapperId: f,
739
+ wrapperId: a,
740
740
  vfCtx: { ...e }
741
- });
742
- l.appContext = this.$root.$.appContext;
743
- const n = document.createElement("div");
744
- n.id = "vf-dynamic-dialog-wrapper" + f, document.body.appendChild(n), M(l, n), document.body.appendChild(l.el), l.component.exposed.show();
741
+ }, this.$refs.dynamicDialgRef.appContext = this.$root.$.appContext, this.$refs.dynamicDialgRef.show();
745
742
  },
746
743
  showDrawer(t, e = {}, i = {}) {
747
744
  const o = this.getTopFormRef(), s = C(o.widgetList, t);
@@ -750,9 +747,9 @@ const it = {
750
747
  return;
751
748
  }
752
749
  const r = {
753
- widgetList: d(s.widgetList),
754
- formConfig: E(o.formConfig)
755
- }, a = D() + "", f = y(tt, {
750
+ widgetList: f(s.widgetList),
751
+ formConfig: M(o.formConfig)
752
+ }, n = y() + "", a = R(Z, {
756
753
  options: s.options,
757
754
  formJson: r,
758
755
  formData: e || {},
@@ -760,11 +757,11 @@ const it = {
760
757
  globalDsv: o.globalDsv,
761
758
  parentFormRef: this,
762
759
  extraData: i,
763
- wrapperId: a
760
+ wrapperId: n
764
761
  });
765
- f.appContext = this.$root.$.appContext;
766
- const l = document.createElement("div");
767
- l.id = "vf-dynamic-drawer-wrapper" + a, document.body.appendChild(l), M(f, l), document.body.appendChild(f.el), f.component.ctx.show();
762
+ a.appContext = this.$root.$.appContext;
763
+ const d = document.createElement("div");
764
+ d.id = "vf-dynamic-drawer-wrapper" + n, document.body.appendChild(d), J(a, d), document.body.appendChild(a.el), a.component.ctx.show();
768
765
  },
769
766
  /**
770
767
  * 判断表单是否处于设计器预览状态
@@ -779,71 +776,67 @@ const it = {
779
776
  //--------------------- 以上为组件支持外部调用的API方法 end ------------------//
780
777
  }
781
778
  };
782
- function ot(t, e, i, o, s, r) {
783
- const a = p("a-form"), f = p("a-spin"), l = p("TpfConfigProvider");
784
- return m(), b(l, null, {
779
+ function et(t, e, i, o, s, r) {
780
+ const n = p("a-form"), a = p("DynamicDialog"), d = p("a-spin");
781
+ return m(), b(d, { spinning: s.isLoading }, {
785
782
  default: c(() => [
786
- y(f, { spinning: s.isLoading }, {
787
- default: c(() => [
788
- A("div", {
789
- style: _(s.isLoading ? "min-height: 260px" : "")
790
- }, [
791
- y(a, {
792
- layout: r.labelPosition,
793
- class: J([[r.customClass, s.readModeFlag ? "readonly-mode-form" : ""], "render-form tpf-form"]),
794
- "label-width": r.labelWidth,
795
- "validate-on-rule-change": !1,
796
- model: s.formDataModel,
797
- ref: "renderForm",
798
- onKeydown: B(r.handleEnterKey, ["enter"])
799
- }, {
800
- default: c(() => [
801
- (m(!0), S(L, null, F(r.widgetList, (n, R) => (m(), S(L, null, [
802
- n.category === "container" ? (m(), b(v(r.getContainerWidgetName(n)), {
803
- widget: n,
804
- key: n.id,
805
- data: s.formDataModel[n.options.name],
806
- "parent-list": r.widgetList,
807
- "index-of-parent-list": R,
808
- "parent-widget": null,
809
- model: s.formDataModel
810
- }, W({ _: 2 }, [
811
- F(Object.keys(t.$slots), (h) => ({
812
- name: h,
813
- fn: c((u) => [
814
- O(t.$slots, h, w({ ref_for: !0 }, u), void 0, !0)
815
- ])
816
- }))
817
- ]), 1032, ["widget", "data", "parent-list", "index-of-parent-list", "model"])) : (m(), b(v(r.getWidgetName(n)), {
818
- field: n,
819
- "form-model": s.formDataModel,
820
- designer: null,
821
- key: n.id,
822
- "parent-list": r.widgetList,
823
- "index-of-parent-list": R,
824
- "parent-widget": null
825
- }, W({ _: 2 }, [
826
- F(Object.keys(t.$slots), (h) => ({
827
- name: h,
828
- fn: c((u) => [
829
- O(t.$slots, h, w({ ref_for: !0 }, u), void 0, !0)
830
- ])
831
- }))
832
- ]), 1032, ["field", "form-model", "parent-list", "index-of-parent-list"]))
833
- ], 64))), 256))
834
- ]),
835
- _: 3
836
- }, 8, ["layout", "class", "label-width", "model", "onKeydown"])
837
- ], 4)
838
- ]),
839
- _: 3
840
- }, 8, ["spinning"])
783
+ x("div", {
784
+ style: A(s.isLoading ? "min-height: 260px" : "")
785
+ }, [
786
+ R(n, {
787
+ layout: r.labelPosition,
788
+ class: B([[r.customClass, s.readModeFlag ? "readonly-mode-form" : ""], "render-form tpf-form"]),
789
+ "label-width": r.labelWidth,
790
+ "validate-on-rule-change": !1,
791
+ model: s.formDataModel,
792
+ ref: "renderForm",
793
+ onKeydown: _(r.handleEnterKey, ["enter"])
794
+ }, {
795
+ default: c(() => [
796
+ (m(!0), L(W, null, F(r.widgetList, (l, S) => (m(), L(W, null, [
797
+ l.category === "container" ? (m(), b(O(r.getContainerWidgetName(l)), {
798
+ widget: l,
799
+ key: l.id,
800
+ data: s.formDataModel[l.options.name],
801
+ "parent-list": r.widgetList,
802
+ "index-of-parent-list": S,
803
+ "parent-widget": null,
804
+ model: s.formDataModel
805
+ }, v({ _: 2 }, [
806
+ F(Object.keys(t.$slots), (h) => ({
807
+ name: h,
808
+ fn: c((u) => [
809
+ w(t.$slots, h, D({ ref_for: !0 }, u), void 0, !0)
810
+ ])
811
+ }))
812
+ ]), 1032, ["widget", "data", "parent-list", "index-of-parent-list", "model"])) : (m(), b(O(r.getWidgetName(l)), {
813
+ field: l,
814
+ "form-model": s.formDataModel,
815
+ designer: null,
816
+ key: l.id,
817
+ "parent-list": r.widgetList,
818
+ "index-of-parent-list": S,
819
+ "parent-widget": null
820
+ }, v({ _: 2 }, [
821
+ F(Object.keys(t.$slots), (h) => ({
822
+ name: h,
823
+ fn: c((u) => [
824
+ w(t.$slots, h, D({ ref_for: !0 }, u), void 0, !0)
825
+ ])
826
+ }))
827
+ ]), 1032, ["field", "form-model", "parent-list", "index-of-parent-list"]))
828
+ ], 64))), 256))
829
+ ]),
830
+ _: 3
831
+ }, 8, ["layout", "class", "label-width", "model", "onKeydown"])
832
+ ], 4),
833
+ R(a, D(s.dialogProps, { ref: "dynamicDialgRef" }), null, 16)
841
834
  ]),
842
835
  _: 3
843
- });
836
+ }, 8, ["spinning"]);
844
837
  }
845
- const pt = /* @__PURE__ */ et(it, [["render", ot], ["__scopeId", "data-v-10da8437"]]);
838
+ const ct = /* @__PURE__ */ I(tt, [["render", et], ["__scopeId", "data-v-46e583ef"]]);
846
839
  export {
847
- pt as default
840
+ ct as default
848
841
  };
849
842
  //# sourceMappingURL=index.vue.js.map