form-custom-test 3.0.42 → 3.0.43

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/dist/render.es.js CHANGED
@@ -8843,6 +8843,14 @@ var fieldMixin = {
8843
8843
  getFormRef() {
8844
8844
  return this.refList["v_form_ref"];
8845
8845
  },
8846
+ findColByName(colName) {
8847
+ const formRef = this.getFormRef();
8848
+ return formRef && typeof formRef.findColByName === "function" ? formRef.findColByName(null, colName) : null;
8849
+ },
8850
+ setColHidden(colName, hidden) {
8851
+ const formRef = this.getFormRef();
8852
+ return formRef && typeof formRef.setColHidden === "function" ? formRef.setColHidden(colName, hidden) : false;
8853
+ },
8846
8854
  getWidgetRef(widgetName, showError, rowId) {
8847
8855
  let foundRef = null;
8848
8856
  if (this.subFormItemFlag && !this.designState) {
@@ -8957,8 +8965,7 @@ var fieldMixin = {
8957
8965
  this.field.options.optionItems = deepClone(options || []);
8958
8966
  }
8959
8967
  } else {
8960
- this.field.options.optionItems = options;
8961
- console.log(this.field, "this.field.options.optionItems");
8968
+ this.field.options.optionItems = deepClone(options || []);
8962
8969
  }
8963
8970
  this.clearSelectedOptions();
8964
8971
  },
@@ -9246,7 +9253,7 @@ const _hoisted_7$9 = {
9246
9253
  class: "drag-handler background-opacity"
9247
9254
  };
9248
9255
  const _hoisted_8$5 = ["title"];
9249
- const _hoisted_9$3 = { key: 0 };
9256
+ const _hoisted_9$4 = { key: 0 };
9250
9257
  function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
9251
9258
  const _component_svg_icon = resolveComponent("svg-icon");
9252
9259
  const _component_el_tooltip = resolveComponent("el-tooltip");
@@ -9355,7 +9362,7 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
9355
9362
  createVNode(_component_svg_icon, { "icon-class": "el-drag-move" })
9356
9363
  ], 8, _hoisted_8$5),
9357
9364
  createElementVNode("i", null, toDisplayString(_ctx.i18n2t(`designer.widgetLabel.${$props.field.type}`, `extension.widgetLabel.${$props.field.type}`)), 1),
9358
- $props.field.options.hidden === true ? (openBlock(), createElementBlock("i", _hoisted_9$3, [
9365
+ $props.field.options.hidden === true ? (openBlock(), createElementBlock("i", _hoisted_9$4, [
9359
9366
  createVNode(_component_svg_icon, { "icon-class": "el-hide" })
9360
9367
  ])) : createCommentVNode("", true)
9361
9368
  ])) : createCommentVNode("", true)
@@ -23264,7 +23271,6 @@ const _sfc_main$C = {
23264
23271
  if (this.field.options.optionItems) {
23265
23272
  return this.field.options.optionItems;
23266
23273
  }
23267
- console.log(this.field.options.optionItems);
23268
23274
  return [];
23269
23275
  }
23270
23276
  }
@@ -23323,7 +23329,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
23323
23329
  _: 1
23324
23330
  }, 8, ["designer", "field", "rules", "design-state", "parent-widget", "parent-list", "index-of-parent-list", "sub-form-row-index", "sub-form-col-index", "sub-form-row-id"]);
23325
23331
  }
23326
- var selectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["render", _sfc_render$C], ["__scopeId", "data-v-6e88c84c"]]);
23332
+ var selectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["render", _sfc_render$C], ["__scopeId", "data-v-70a357a0"]]);
23327
23333
  var __glob_0_17 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
23328
23334
  __proto__: null,
23329
23335
  "default": selectWidget
@@ -24030,6 +24036,9 @@ const _sfc_main$u = {
24030
24036
  formConfig() {
24031
24037
  return this.getFormConfig();
24032
24038
  },
24039
+ colVisible() {
24040
+ return !!(this.widget && this.widget.options && !this.widget.options.hidden);
24041
+ },
24033
24042
  customClass() {
24034
24043
  if (!this.widget || !this.widget.options) {
24035
24044
  return "";
@@ -24044,7 +24053,20 @@ const _sfc_main$u = {
24044
24053
  this.initLayoutProps();
24045
24054
  this.initRefList();
24046
24055
  },
24056
+ beforeUnmount() {
24057
+ var _a, _b;
24058
+ if (this.refList != null && ((_b = (_a = this.widget) == null ? void 0 : _a.options) == null ? void 0 : _b.name)) {
24059
+ delete this.refList[this.widget.options.name];
24060
+ }
24061
+ },
24062
+ watch: {},
24047
24063
  methods: {
24064
+ setHidden(flag) {
24065
+ if (this.widget && this.widget.options) {
24066
+ this.widget.options.hidden = !!flag;
24067
+ this.$nextTick(() => this.$forceUpdate());
24068
+ }
24069
+ },
24048
24070
  initLayoutProps() {
24049
24071
  if (!this.widget || !this.widget.options) {
24050
24072
  return;
@@ -24137,10 +24159,10 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
24137
24159
  ]),
24138
24160
  _: 3
24139
24161
  }, 16, ["class", "style"])), [
24140
- [vShow, $props.widget && $props.widget.options && !$props.widget.options.hidden]
24162
+ [vShow, $options.colVisible]
24141
24163
  ]) : createCommentVNode("", true);
24142
24164
  }
24143
- var GridColItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["render", _sfc_render$u], ["__scopeId", "data-v-7d0b212c"]]);
24165
+ var GridColItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["render", _sfc_render$u], ["__scopeId", "data-v-76952447"]]);
24144
24166
  var __glob_0_1$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
24145
24167
  __proto__: null,
24146
24168
  "default": GridColItem
@@ -24362,7 +24384,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
24362
24384
  ref: $props.widget.id
24363
24385
  }, {
24364
24386
  default: withCtx(() => [
24365
- (openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.cols || [], (colWidget, colIdx) => {
24387
+ (openBlock(true), createElementBlock(Fragment, null, renderList($props.widget.cols.filter((item) => !item.options.hidden) || [], (colWidget, colIdx) => {
24366
24388
  return openBlock(), createBlock(_component_grid_col_item, {
24367
24389
  key: colIdx,
24368
24390
  widget: colWidget,
@@ -25602,6 +25624,45 @@ const _sfc_main$o = {
25602
25624
  },
25603
25625
  getGlobalDsv() {
25604
25626
  return this.globalDsv;
25627
+ },
25628
+ findColByName(list, colName) {
25629
+ const listToSearch = list != null ? list : this.formJsonObj && this.formJsonObj.widgetList;
25630
+ if (!listToSearch || !colName)
25631
+ return null;
25632
+ for (const w of listToSearch) {
25633
+ if (w.type === "grid" && w.cols && w.cols.length) {
25634
+ const col = w.cols.find((c) => c.options && c.options.name === colName);
25635
+ if (col)
25636
+ return col;
25637
+ }
25638
+ if (w.type === "grid-col" && w.options && w.options.name === colName)
25639
+ return w;
25640
+ if (w.widgetList && w.widgetList.length) {
25641
+ const found = this.findColByName(w.widgetList, colName);
25642
+ if (found)
25643
+ return found;
25644
+ }
25645
+ if (w.cols && w.cols.length) {
25646
+ for (const c of w.cols) {
25647
+ if (c.options && c.options.name === colName)
25648
+ return c;
25649
+ if (c.widgetList && c.widgetList.length) {
25650
+ const found = this.findColByName(c.widgetList, colName);
25651
+ if (found)
25652
+ return found;
25653
+ }
25654
+ }
25655
+ }
25656
+ }
25657
+ return null;
25658
+ },
25659
+ setColHidden(colName, hidden) {
25660
+ const col = this.findColByName(null, colName);
25661
+ if (!col || !col.options)
25662
+ return false;
25663
+ col.options.hidden = !!hidden;
25664
+ this.$nextTick(() => this.$forceUpdate());
25665
+ return true;
25605
25666
  }
25606
25667
  }
25607
25668
  };
@@ -25660,7 +25721,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
25660
25721
  _: 3
25661
25722
  }, 8, ["label-position", "size", "class", "label-width", "model"]);
25662
25723
  }
25663
- var VFormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["render", _sfc_render$o], ["__scopeId", "data-v-64665cea"]]);
25724
+ var VFormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["render", _sfc_render$o], ["__scopeId", "data-v-32478e29"]]);
25664
25725
  function registerIcon(app) {
25665
25726
  app.component("el-icon-edit", edit);
25666
25727
  app.component("el-icon-minus", minus);
@@ -25675,13 +25736,13 @@ function registerIcon(app) {
25675
25736
  if (typeof window !== "undefined") {
25676
25737
  let loadSvg = function() {
25677
25738
  var body = document.body;
25678
- var svgDom = document.getElementById("__svg__icons__dom__1772239307137__");
25739
+ var svgDom = document.getElementById("__svg__icons__dom__1772271196523__");
25679
25740
  if (!svgDom) {
25680
25741
  svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
25681
25742
  svgDom.style.position = "absolute";
25682
25743
  svgDom.style.width = "0";
25683
25744
  svgDom.style.height = "0";
25684
- svgDom.id = "__svg__icons__dom__1772239307137__";
25745
+ svgDom.id = "__svg__icons__dom__1772271196523__";
25685
25746
  svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
25686
25747
  svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
25687
25748
  }
@@ -25956,7 +26017,7 @@ const _hoisted_5$7 = ["title"];
25956
26017
  const _hoisted_6$7 = ["title"];
25957
26018
  const _hoisted_7$5 = ["title"];
25958
26019
  const _hoisted_8$4 = ["title"];
25959
- const _hoisted_9$2 = {
26020
+ const _hoisted_9$3 = {
25960
26021
  key: 1,
25961
26022
  class: "drag-handler"
25962
26023
  };
@@ -26017,7 +26078,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
26017
26078
  createVNode(_component_svg_icon, { "icon-class": "el-delete" })
26018
26079
  ], 8, _hoisted_8$4)
26019
26080
  ])) : createCommentVNode("", true),
26020
- $props.designer.selectedId === $props.widget.id && !$props.widget.internal ? (openBlock(), createElementBlock("div", _hoisted_9$2, [
26081
+ $props.designer.selectedId === $props.widget.id && !$props.widget.internal ? (openBlock(), createElementBlock("div", _hoisted_9$3, [
26021
26082
  createElementVNode("i", {
26022
26083
  title: _ctx.i18nt("designer.hint.dragHandler")
26023
26084
  }, [
@@ -32638,6 +32699,11 @@ const _sfc_main$f = {
32638
32699
  }
32639
32700
  },
32640
32701
  watch: {
32702
+ "widget.options.name": {
32703
+ handler(newVal, oldVal) {
32704
+ this.registerToRefList(oldVal);
32705
+ }
32706
+ },
32641
32707
  "designer.formConfig.layoutType": {
32642
32708
  handler(val) {
32643
32709
  if (!!this.widget.options.responsive) {
@@ -32709,7 +32775,17 @@ const _sfc_main$f = {
32709
32775
  this.initRefList();
32710
32776
  this.initLayoutProps();
32711
32777
  },
32778
+ beforeUnmount() {
32779
+ var _a, _b;
32780
+ if (this.refList != null && ((_b = (_a = this.widget) == null ? void 0 : _a.options) == null ? void 0 : _b.name)) {
32781
+ delete this.refList[this.widget.options.name];
32782
+ }
32783
+ },
32712
32784
  methods: {
32785
+ setHidden(flag) {
32786
+ this.widget.options.hidden = !!flag;
32787
+ this.$nextTick(() => this.$forceUpdate());
32788
+ },
32713
32789
  initLayoutProps() {
32714
32790
  if (!!this.widget.options.responsive) {
32715
32791
  let lyType = this.designer.formConfig.layoutType;
@@ -32794,11 +32870,15 @@ const _hoisted_8$3 = {
32794
32870
  key: 1,
32795
32871
  class: "grid-col-handler"
32796
32872
  };
32873
+ const _hoisted_9$2 = {
32874
+ key: 0,
32875
+ class: "col-hidden-tag"
32876
+ };
32797
32877
  function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
32798
32878
  const _component_draggable = resolveComponent("draggable");
32799
32879
  const _component_svg_icon = resolveComponent("svg-icon");
32800
32880
  const _component_el_col = resolveComponent("el-col");
32801
- return $props.widget.type === "grid-col" ? (openBlock(), createBlock(_component_el_col, mergeProps({
32881
+ return $props.widget.type === "grid-col" && (!$props.widget.options.hidden || $props.designer) ? (openBlock(), createBlock(_component_el_col, mergeProps({
32802
32882
  key: 0,
32803
32883
  class: "grid-cell"
32804
32884
  }, $data.layoutProps, {
@@ -32881,13 +32961,16 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
32881
32961
  ], 8, _hoisted_7$3)
32882
32962
  ])) : createCommentVNode("", true),
32883
32963
  $props.designer.selectedId === $props.widget.id && $props.widget.type === "grid-col" ? (openBlock(), createElementBlock("div", _hoisted_8$3, [
32884
- createElementVNode("i", null, toDisplayString(_ctx.i18nt("designer.widgetLabel." + $props.widget.type)), 1)
32964
+ createElementVNode("i", null, toDisplayString(_ctx.i18nt("designer.widgetLabel." + $props.widget.type)), 1),
32965
+ $props.widget.options.hidden === true ? (openBlock(), createElementBlock("i", _hoisted_9$2, [
32966
+ createVNode(_component_svg_icon, { "icon-class": "el-hide" })
32967
+ ])) : createCommentVNode("", true)
32885
32968
  ])) : createCommentVNode("", true)
32886
32969
  ]),
32887
32970
  _: 1
32888
32971
  }, 16, ["class", "style"])) : createCommentVNode("", true);
32889
32972
  }
32890
- var GridColWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-3a5d5fcf"]]);
32973
+ var GridColWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-cb053c20"]]);
32891
32974
  var __glob_0_1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
32892
32975
  __proto__: null,
32893
32976
  "default": GridColWidget
@@ -33893,6 +33976,7 @@ const _sfc_main$9 = {
33893
33976
  fieldSchemas.push(this.cloneFieldSchema(swItem));
33894
33977
  });
33895
33978
  if (rowIndex === void 0) {
33979
+ console.log(fieldSchemas, "fieldSchemas");
33896
33980
  this.fieldSchemaData.push(fieldSchemas);
33897
33981
  } else {
33898
33982
  this.fieldSchemaData.splice(rowIndex, 0, fieldSchemas);
@@ -34071,34 +34155,36 @@ const _sfc_main$9 = {
34071
34155
  }
34072
34156
  }
34073
34157
  };
34074
- const _hoisted_1$8 = { class: "group-header" };
34075
- const _hoisted_2$6 = { class: "group-title" };
34076
- const _hoisted_3$5 = {
34158
+ const _hoisted_1$8 = { class: "sub-form-header" };
34159
+ const _hoisted_2$6 = { class: "sub-form-label" };
34160
+ const _hoisted_3$5 = { class: "group-header" };
34161
+ const _hoisted_4$4 = { class: "group-title" };
34162
+ const _hoisted_5$2 = {
34077
34163
  key: 0,
34078
34164
  class: "row-number-span"
34079
34165
  };
34080
- const _hoisted_4$4 = {
34166
+ const _hoisted_6$2 = {
34081
34167
  key: 1,
34082
34168
  class: "row-number-span"
34083
34169
  };
34084
- const _hoisted_5$2 = { class: "group-actions" };
34085
- const _hoisted_6$2 = { class: "group-content" };
34086
- const _hoisted_7$1 = {
34170
+ const _hoisted_7$1 = { class: "group-actions" };
34171
+ const _hoisted_8$1 = { class: "group-content" };
34172
+ const _hoisted_9 = {
34087
34173
  key: 1,
34088
34174
  class: "field-loading",
34089
34175
  style: { "color": "#909399", "font-size": "12px", "padding": "8px" }
34090
34176
  };
34091
- const _hoisted_8$1 = {
34177
+ const _hoisted_10 = {
34092
34178
  key: 1,
34093
34179
  class: "empty-hint"
34094
34180
  };
34095
- const _hoisted_9 = { key: 0 };
34096
- const _hoisted_10 = { key: 1 };
34097
- const _hoisted_11 = {
34181
+ const _hoisted_11 = { key: 0 };
34182
+ const _hoisted_12 = { key: 1 };
34183
+ const _hoisted_13 = {
34098
34184
  key: 0,
34099
34185
  class: "empty-hint"
34100
34186
  };
34101
- const _hoisted_12 = {
34187
+ const _hoisted_14 = {
34102
34188
  key: 1,
34103
34189
  class: "empty-hint"
34104
34190
  };
@@ -34112,16 +34198,19 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
34112
34198
  key: $props.widget.id,
34113
34199
  class: normalizeClass(["custom-sub-form-container", $options.customClass])
34114
34200
  }, [
34201
+ createElementVNode("div", _hoisted_1$8, [
34202
+ createElementVNode("span", _hoisted_2$6, toDisplayString($props.widget.options.label || "\u81EA\u5B9A\u4E49\u5B50\u8868\u5355"), 1)
34203
+ ]),
34115
34204
  (openBlock(true), createElementBlock(Fragment, null, renderList($data.rowIdData, (subFormRowId, sfrIdx) => {
34116
34205
  return openBlock(), createElementBlock("div", {
34117
34206
  class: "form-group-row",
34118
34207
  key: subFormRowId
34119
34208
  }, [
34120
- createElementVNode("div", _hoisted_1$8, [
34121
- createElementVNode("div", _hoisted_2$6, [
34122
- $props.widget.options.showRowNumber ? (openBlock(), createElementBlock("span", _hoisted_3$5, toDisplayString($props.widget.options.label || "\u81EA\u5B9A\u4E49\u5B50\u8868\u5355") + " " + toDisplayString(sfrIdx + 1), 1)) : (openBlock(), createElementBlock("span", _hoisted_4$4, "\u8868\u5355\u7EC4"))
34209
+ createElementVNode("div", _hoisted_3$5, [
34210
+ createElementVNode("div", _hoisted_4$4, [
34211
+ $props.widget.options.showRowNumber ? (openBlock(), createElementBlock("span", _hoisted_5$2, toDisplayString($props.widget.options.label || "\u81EA\u5B9A\u4E49\u5B50\u8868\u5355") + " " + toDisplayString(sfrIdx + 1), 1)) : (openBlock(), createElementBlock("span", _hoisted_6$2, "\u8868\u5355\u7EC4"))
34123
34212
  ]),
34124
- createElementVNode("div", _hoisted_5$2, [
34213
+ createElementVNode("div", _hoisted_7$1, [
34125
34214
  sfrIdx > 0 ? (openBlock(), createBlock(_component_el_button, {
34126
34215
  key: 0,
34127
34216
  size: "small",
@@ -34137,7 +34226,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
34137
34226
  }, 8, ["onClick"])) : createCommentVNode("", true)
34138
34227
  ])
34139
34228
  ]),
34140
- createElementVNode("div", _hoisted_6$2, [
34229
+ createElementVNode("div", _hoisted_8$1, [
34141
34230
  $props.widget && $props.widget.widgetList && $props.widget.widgetList.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($props.widget.widgetList, (subWidget, swIdx) => {
34142
34231
  return openBlock(), createElementBlock(Fragment, {
34143
34232
  key: subWidget ? subWidget.id + "gc" + subFormRowId + "-" + swIdx : "gc" + subFormRowId + "-" + swIdx
@@ -34162,16 +34251,16 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
34162
34251
  "sub-form-row-id": subFormRowId,
34163
34252
  "sub-form-row-index": sfrIdx,
34164
34253
  "sub-form-col-index": swIdx
34165
- }, null, 8, ["field", "parent-list", "index-of-parent-list", "parent-widget", "sub-form-row-id", "sub-form-row-index", "sub-form-col-index"])) : (openBlock(), createElementBlock("div", _hoisted_7$1, " \u5B57\u6BB5\u52A0\u8F7D\u4E2D... "))
34254
+ }, null, 8, ["field", "parent-list", "index-of-parent-list", "parent-widget", "sub-form-row-id", "sub-form-row-index", "sub-form-col-index"])) : (openBlock(), createElementBlock("div", _hoisted_9, " \u5B57\u6BB5\u52A0\u8F7D\u4E2D... "))
34166
34255
  ], 64)) : createCommentVNode("", true)
34167
34256
  ], 64);
34168
- }), 128)) : (openBlock(), createElementBlock("div", _hoisted_8$1, [
34169
- !$props.widget ? (openBlock(), createElementBlock("div", _hoisted_9, "\u7EC4\u4EF6\u672A\u521D\u59CB\u5316")) : !$props.widget.widgetList || $props.widget.widgetList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_10, " \u8BF7\u5148\u5728\u8BBE\u8BA1\u5668\u4E2D\u62D6\u62FD\u7EC4\u4EF6\u5230\u5B50\u8868\u5355\u4E2D ")) : createCommentVNode("", true)
34257
+ }), 128)) : (openBlock(), createElementBlock("div", _hoisted_10, [
34258
+ !$props.widget ? (openBlock(), createElementBlock("div", _hoisted_11, "\u7EC4\u4EF6\u672A\u521D\u59CB\u5316")) : !$props.widget.widgetList || $props.widget.widgetList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_12, " \u8BF7\u5148\u5728\u8BBE\u8BA1\u5668\u4E2D\u62D6\u62FD\u7EC4\u4EF6\u5230\u5B50\u8868\u5355\u4E2D ")) : createCommentVNode("", true)
34170
34259
  ]))
34171
34260
  ])
34172
34261
  ]);
34173
34262
  }), 128)),
34174
- !$props.widget.widgetList || $props.widget.widgetList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_11, " \u8BF7\u5148\u5728\u8BBE\u8BA1\u5668\u4E2D\u62D6\u62FD\u7EC4\u4EF6\u5230\u5B50\u8868\u5355\u4E2D ")) : $data.rowIdData.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_12, ' \u70B9\u51FB"\u6DFB\u52A0"\u6309\u94AE\u6DFB\u52A0\u6570\u636E\u884C ')) : createCommentVNode("", true),
34263
+ !$props.widget.widgetList || $props.widget.widgetList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_13, " \u8BF7\u5148\u5728\u8BBE\u8BA1\u5668\u4E2D\u62D6\u62FD\u7EC4\u4EF6\u5230\u5B50\u8868\u5355\u4E2D ")) : $data.rowIdData.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_14, ' \u70B9\u51FB"\u6DFB\u52A0"\u6309\u94AE\u6DFB\u52A0\u6570\u636E\u884C ')) : createCommentVNode("", true),
34175
34264
  createVNode(_component_el_button, {
34176
34265
  disabled: $data.actionDisabled,
34177
34266
  type: "primary",
@@ -34192,7 +34281,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
34192
34281
  _: 1
34193
34282
  }, 8, ["widget"]);
34194
34283
  }
34195
- var CustomSubFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-1c47559c"]]);
34284
+ var CustomSubFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-489afa42"]]);
34196
34285
  var customTableCellWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
34197
34286
  const _sfc_main$8 = {
34198
34287
  name: "custom-table-cell-widget",
@@ -60390,7 +60479,6 @@ const _sfc_main$1 = {
60390
60479
  let dictManager = null;
60391
60480
  if (typeof window !== "undefined" && window.getDictData) {
60392
60481
  const dictItems = window.getDictData(dictCode);
60393
- console.log(dictItems, "dictItems");
60394
60482
  if (dictItems && Array.isArray(dictItems) && dictItems.length > 0) {
60395
60483
  col.options = dictItems.map((item) => ({
60396
60484
  label: item.dictLabel || item.label || item.name || item.text || "",
@@ -60406,7 +60494,6 @@ const _sfc_main$1 = {
60406
60494
  }
60407
60495
  if (typeof window !== "undefined" && window.dictCache && window.dictCache[dictCode]) {
60408
60496
  const dictItems = window.dictCache[dictCode];
60409
- console.log(dictItems, "dictItems");
60410
60497
  if (Array.isArray(dictItems) && dictItems.length > 0) {
60411
60498
  col.options = dictItems.map((item) => ({
60412
60499
  label: item.dictLabel || item.label || item.name || item.text || "",
@@ -60421,7 +60508,6 @@ const _sfc_main$1 = {
60421
60508
  }
60422
60509
  }
60423
60510
  if (typeof window !== "undefined" && window.service) {
60424
- console.log(window.service, "window.service");
60425
60511
  window.service.post("/unified-dict/sysItemDict/page", {
60426
60512
  current: 1,
60427
60513
  size: 1e4,
@@ -60928,7 +61014,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
60928
61014
  }, 8, ["modelValue", "title"])
60929
61015
  ], 64);
60930
61016
  }
60931
- var SubTableColumnsEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-7d20f42f"]]);
61017
+ var SubTableColumnsEditor = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-514d67ae"]]);
60932
61018
  const _sfc_main = {
60933
61019
  name: "current-user-widget",
60934
61020
  componentName: "FieldWidget",