form-custom-test 3.0.34 → 3.0.35

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.
@@ -3650,6 +3650,7 @@ const personTreeSchema = {
3650
3650
  dialogTitle: "\u4EBA\u5458\u6811",
3651
3651
  dialogWidth: "50%",
3652
3652
  hideFooter: false,
3653
+ treeParams: "",
3653
3654
  customClass: "",
3654
3655
  onOpen: "",
3655
3656
  onConfirm: "",
@@ -3798,6 +3799,7 @@ var enLocale_extension = {
3798
3799
  effect: "Effect",
3799
3800
  personTreeButtonText: "Button Text",
3800
3801
  personTreeDialogTitle: "Dialog Title",
3802
+ personTreeTreeParams: "Tree Params",
3801
3803
  personTreeDialogWidth: "Dialog Width",
3802
3804
  personTreeConfirmText: "Confirm Button Text",
3803
3805
  personTreeCancelText: "Cancel Button Text",
@@ -3836,6 +3838,7 @@ var zhLocale_extension = {
3836
3838
  effect: "\u663E\u793A\u6548\u679C",
3837
3839
  personTreeButtonText: "\u6309\u94AE\u6587\u5B57",
3838
3840
  personTreeDialogTitle: "\u5F39\u7A97\u6807\u9898",
3841
+ personTreeTreeParams: "\u8BF7\u6C42\u53C2\u6570",
3839
3842
  personTreeDialogWidth: "\u5F39\u7A97\u5BBD\u5EA6",
3840
3843
  personTreeConfirmText: "\u786E\u5B9A\u6309\u94AE\u6587\u5B57",
3841
3844
  personTreeCancelText: "\u53D6\u6D88\u6309\u94AE\u6587\u5B57",
@@ -24835,12 +24838,12 @@ const _sfc_main$2X = {
24835
24838
  getOptionItems() {
24836
24839
  if (this.subFormRowId) {
24837
24840
  const optionItems = this.refList[this.field.options.name + "@row" + this.subFormRowId].field.options.optionItems;
24838
- console.log(optionItems, "optionItems");
24839
24841
  return optionItems;
24840
24842
  }
24841
24843
  if (this.field.options.optionItems) {
24842
24844
  return this.field.options.optionItems;
24843
24845
  }
24846
+ console.log(this.field.options.optionItems);
24844
24847
  return [];
24845
24848
  }
24846
24849
  }
@@ -24884,7 +24887,7 @@ function _sfc_render$2X(_ctx, _cache, $props, $setup, $data, $options) {
24884
24887
  onChange: _ctx.handleChangeEvent
24885
24888
  }, {
24886
24889
  default: withCtx(() => [
24887
- (openBlock(true), createElementBlock(Fragment, null, renderList($options.getOptionItems() || $props.field.options.optionItems, (item) => {
24890
+ (openBlock(true), createElementBlock(Fragment, null, renderList($props.field.options.optionItems, (item) => {
24888
24891
  return openBlock(), createBlock(_component_el_option, {
24889
24892
  key: item.value,
24890
24893
  label: item.label,
@@ -24899,7 +24902,7 @@ function _sfc_render$2X(_ctx, _cache, $props, $setup, $data, $options) {
24899
24902
  _: 1
24900
24903
  }, 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"]);
24901
24904
  }
24902
- var selectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$2X, [["render", _sfc_render$2X], ["__scopeId", "data-v-35f8df80"]]);
24905
+ var selectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$2X, [["render", _sfc_render$2X], ["__scopeId", "data-v-332fe05c"]]);
24903
24906
  var __glob_0_17$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
24904
24907
  __proto__: null,
24905
24908
  "default": selectWidget
@@ -53230,8 +53233,8 @@ const _hoisted_12$2 = {
53230
53233
  key: 4,
53231
53234
  class: ""
53232
53235
  };
53233
- const _hoisted_13$2 = { style: { "border": "1px solid #DCDFE6" } };
53234
- const _hoisted_14$2 = { class: "dialog-footer" };
53236
+ const _hoisted_13$1 = { style: { "border": "1px solid #DCDFE6" } };
53237
+ const _hoisted_14$1 = { class: "dialog-footer" };
53235
53238
  const _hoisted_15$1 = {
53236
53239
  key: 5,
53237
53240
  class: ""
@@ -53743,7 +53746,7 @@ function _sfc_render$2H(_ctx, _cache, $props, $setup, $data, $options) {
53743
53746
  "append-to-body": true
53744
53747
  }, {
53745
53748
  footer: withCtx(() => [
53746
- createElementVNode("div", _hoisted_14$2, [
53749
+ createElementVNode("div", _hoisted_14$1, [
53747
53750
  createVNode(_component_el_button, {
53748
53751
  type: "primary",
53749
53752
  class: "copy-form-data-json-btn",
@@ -53772,7 +53775,7 @@ function _sfc_render$2H(_ctx, _cache, $props, $setup, $data, $options) {
53772
53775
  ])
53773
53776
  ]),
53774
53777
  default: withCtx(() => [
53775
- createElementVNode("div", _hoisted_13$2, [
53778
+ createElementVNode("div", _hoisted_13$1, [
53776
53779
  createVNode(_component_code_editor, {
53777
53780
  mode: "json",
53778
53781
  readonly: true,
@@ -55554,8 +55557,8 @@ const _hoisted_12$1 = {
55554
55557
  key: 9,
55555
55558
  class: ""
55556
55559
  };
55557
- const _hoisted_13$1 = { class: "dialog-footer" };
55558
- const _hoisted_14$1 = {
55560
+ const _hoisted_13 = { class: "dialog-footer" };
55561
+ const _hoisted_14 = {
55559
55562
  key: 10,
55560
55563
  class: ""
55561
55564
  };
@@ -55907,7 +55910,7 @@ function _sfc_render$27(_ctx, _cache, $props, $setup, $data, $options) {
55907
55910
  "destroy-on-close": true
55908
55911
  }, {
55909
55912
  footer: withCtx(() => [
55910
- createElementVNode("div", _hoisted_13$1, [
55913
+ createElementVNode("div", _hoisted_13, [
55911
55914
  createVNode(_component_el_button, {
55912
55915
  size: "large",
55913
55916
  type: "primary",
@@ -55942,7 +55945,7 @@ function _sfc_render$27(_ctx, _cache, $props, $setup, $data, $options) {
55942
55945
  ])), [
55943
55946
  [_directive_drag, [".drag-dialog.el-dialog", ".drag-dialog .el-dialog__header"]]
55944
55947
  ]) : createCommentVNode("", true),
55945
- $data.showImportTreeDialogFlag ? withDirectives((openBlock(), createElementBlock("div", _hoisted_14$1, [
55948
+ $data.showImportTreeDialogFlag ? withDirectives((openBlock(), createElementBlock("div", _hoisted_14, [
55946
55949
  createVNode(_component_el_dialog, {
55947
55950
  title: _ctx.i18nt("designer.setting.importOptions"),
55948
55951
  modelValue: $data.showImportTreeDialogFlag,
@@ -67551,13 +67554,13 @@ function registerIcon(app) {
67551
67554
  if (typeof window !== "undefined") {
67552
67555
  let loadSvg = function() {
67553
67556
  var body = document.body;
67554
- var svgDom = document.getElementById("__svg__icons__dom__1770283520390__");
67557
+ var svgDom = document.getElementById("__svg__icons__dom__1771985012101__");
67555
67558
  if (!svgDom) {
67556
67559
  svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
67557
67560
  svgDom.style.position = "absolute";
67558
67561
  svgDom.style.width = "0";
67559
67562
  svgDom.style.height = "0";
67560
- svgDom.id = "__svg__icons__dom__1770283520390__";
67563
+ svgDom.id = "__svg__icons__dom__1771985012101__";
67561
67564
  svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
67562
67565
  svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
67563
67566
  }
@@ -67692,6 +67695,26 @@ const createInputTextEditor = function(propName, propLabelKey) {
67692
67695
  }
67693
67696
  };
67694
67697
  };
67698
+ const createTextareaEditor = function(propName, propLabelKey, configs = {}) {
67699
+ return {
67700
+ props: {
67701
+ optionModel: Object
67702
+ },
67703
+ render(h) {
67704
+ return createVNode(resolveComponent("el-form-item"), {
67705
+ "label": translate(propLabelKey)
67706
+ }, {
67707
+ default: () => [createVNode(resolveComponent("el-input"), {
67708
+ "type": "textarea",
67709
+ "modelValue": this.optionModel[propName],
67710
+ "onUpdate:modelValue": ($event) => this.optionModel[propName] = $event,
67711
+ "rows": configs.rows || 4,
67712
+ "autosize": configs.autosize || false
67713
+ }, null)]
67714
+ });
67715
+ }
67716
+ };
67717
+ };
67695
67718
  const createBooleanEditor = function(propName, propLabelKey) {
67696
67719
  return {
67697
67720
  props: {
@@ -73349,7 +73372,6 @@ var blowfish = { exports: {} };
73349
73372
  useCookies();
73350
73373
  const getToken = () => {
73351
73374
  const accessToken = sessionStorage.getItem("Authorization");
73352
- console.log(accessToken, "accessToken");
73353
73375
  return accessToken;
73354
73376
  };
73355
73377
  useCookies();
@@ -73482,7 +73504,8 @@ const _sfc_main$d = {
73482
73504
  label: "name"
73483
73505
  },
73484
73506
  checkedNodes: [],
73485
- treeRef: null
73507
+ treeRef: null,
73508
+ defaultExpandedKeys: []
73486
73509
  };
73487
73510
  },
73488
73511
  computed: {
@@ -73530,22 +73553,22 @@ const _sfc_main$d = {
73530
73553
  });
73531
73554
  },
73532
73555
  getTreeData() {
73533
- const { cookies: cookies2 } = useCookies();
73556
+ const data2 = this.field.options.treeParams ? JSON.parse(this.field.options.treeParams) : {};
73534
73557
  service({
73535
73558
  method: "post",
73536
73559
  url: "/unified-system/sysCompany/fullTree",
73537
- data: { companyId: cookies2.get("companyId") || sessionStorage.getItem("companyId") }
73538
- }).then(({ data: data2 }) => {
73539
- this.treeData = renderData(data2);
73540
- function renderData(data3) {
73560
+ data: __spreadValues({ companyId: sessionStorage.getItem("companyId") }, data2)
73561
+ }).then(({ data: data3 }) => {
73562
+ this.treeData = renderData(data3);
73563
+ function renderData(data4) {
73541
73564
  var _a2;
73542
- for (const element of data3) {
73565
+ for (const element of data4) {
73543
73566
  element.nodeKey = element.joinUserId || element.id;
73544
73567
  if (element.children && ((_a2 = element.children) == null ? void 0 : _a2.length)) {
73545
73568
  renderData(element.children);
73546
73569
  }
73547
73570
  }
73548
- return data3;
73571
+ return data4;
73549
73572
  }
73550
73573
  });
73551
73574
  },
@@ -73562,13 +73585,31 @@ const _sfc_main$d = {
73562
73585
  backgroundImage: `url(${data2.avatarUrl || personIcon})`
73563
73586
  }
73564
73587
  }),
73565
- h("div", { class: node.level === 1 ? "text-#1D2129" : "text-#4E5969" }, data2.postName ? `${node.label}\uFF08${data2.postName}\uFF09` : node.label)
73588
+ h("div", {
73589
+ class: node.level === 1 ? "text-#1D2129" : "text-#4E5969 ",
73590
+ style: {
73591
+ overflow: "hidden",
73592
+ textOverflow: "ellipsis",
73593
+ whiteSpace: "nowrap",
73594
+ minWidth: 0,
73595
+ width: "80%"
73596
+ }
73597
+ }, data2.postName ? `${node.label}\uFF08${data2.postName}\uFF09` : node.label)
73566
73598
  ]);
73567
73599
  },
73568
73600
  handleClick() {
73569
73601
  this.getTreeData();
73570
73602
  this.dialogVisible = true;
73571
73603
  this.triggerEvent("onOpen");
73604
+ this.$nextTick(() => {
73605
+ if (this.fieldModel && this.fieldModel.length > 0) {
73606
+ this.$refs.treeRef.setCheckedKeys(this.fieldModel.map((item) => item.nodeKey));
73607
+ this.defaultExpandedKeys = this.fieldModel.map((item) => item.nodeKey);
73608
+ } else {
73609
+ this.$refs.treeRef.setCheckedKeys([]);
73610
+ this.defaultExpandedKeys = [];
73611
+ }
73612
+ });
73572
73613
  },
73573
73614
  handleConfirm() {
73574
73615
  var _a2;
@@ -73703,9 +73744,10 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
73703
73744
  "render-content": $options.renderContent,
73704
73745
  "node-key": "nodeKey",
73705
73746
  ref: "treeRef",
73747
+ "default-expanded-keys": $data.defaultExpandedKeys,
73706
73748
  "filter-node-method": _ctx.filterNode,
73707
73749
  "highlight-current": ""
73708
- }, null, 8, ["data", "props", "render-content", "filter-node-method"])
73750
+ }, null, 8, ["data", "props", "render-content", "default-expanded-keys", "filter-node-method"])
73709
73751
  ]),
73710
73752
  _: 1
73711
73753
  })
@@ -73745,7 +73787,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
73745
73787
  _: 1
73746
73788
  }, 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"]);
73747
73789
  }
73748
- var PersonTreeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-a7dc5bf6"]]);
73790
+ var PersonTreeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-41336b69"]]);
73749
73791
  const _sfc_main$c = {
73750
73792
  name: "radio-other-widget",
73751
73793
  componentName: "FieldWidget",
@@ -74683,7 +74725,6 @@ const _sfc_main$8 = {
74683
74725
  fieldSchemas.push(this.cloneFieldSchema(swItem));
74684
74726
  });
74685
74727
  if (rowIndex === void 0) {
74686
- console.log(fieldSchemas, "fieldSchemas");
74687
74728
  this.fieldSchemaData.push(fieldSchemas);
74688
74729
  } else {
74689
74730
  this.fieldSchemaData.splice(rowIndex, 0, fieldSchemas);
@@ -74693,30 +74734,8 @@ const _sfc_main$8 = {
74693
74734
  this.fieldSchemaData.splice(rowIndex, 1);
74694
74735
  },
74695
74736
  cloneFieldSchema(fieldWidget2) {
74696
- let newFieldSchema = JSON.parse(JSON.stringify(fieldWidget2));
74737
+ let newFieldSchema = deepClone(fieldWidget2);
74697
74738
  newFieldSchema.id = fieldWidget2.type + generateId();
74698
- if (fieldWidget2.category === "container" && fieldWidget2.widgetList) {
74699
- newFieldSchema.widgetList = fieldWidget2.widgetList.map((subItem) => {
74700
- if (subItem.formItemFlag) {
74701
- return this.cloneFieldSchema(subItem);
74702
- } else if (subItem.category === "container") {
74703
- return this.cloneFieldSchema(subItem);
74704
- }
74705
- return JSON.parse(JSON.stringify(subItem));
74706
- });
74707
- }
74708
- if (newFieldSchema.options) {
74709
- const optionFieldTypes = ["select", "radio", "checkbox", "cascader", "select-other", "radio-other"];
74710
- if (newFieldSchema.type === "select" || newFieldSchema.type === "select-other") {
74711
- newFieldSchema.options.optionItems = [];
74712
- } else if (optionFieldTypes.includes(newFieldSchema.type)) {
74713
- if (newFieldSchema.options.optionItems && Array.isArray(newFieldSchema.options.optionItems)) {
74714
- newFieldSchema.options.optionItems = JSON.parse(JSON.stringify(newFieldSchema.options.optionItems));
74715
- } else {
74716
- newFieldSchema.options.optionItems = [];
74717
- }
74718
- }
74719
- }
74720
74739
  return newFieldSchema;
74721
74740
  },
74722
74741
  initEventHandler() {
@@ -74884,36 +74903,34 @@ const _sfc_main$8 = {
74884
74903
  }
74885
74904
  }
74886
74905
  };
74887
- const _hoisted_1$7 = { class: "sub-form-header" };
74888
- const _hoisted_2$5 = { class: "sub-form-label" };
74889
- const _hoisted_3$5 = { class: "group-header" };
74890
- const _hoisted_4$4 = { class: "group-title" };
74891
- const _hoisted_5$2 = {
74906
+ const _hoisted_1$7 = { class: "group-header" };
74907
+ const _hoisted_2$5 = { class: "group-title" };
74908
+ const _hoisted_3$5 = {
74892
74909
  key: 0,
74893
74910
  class: "row-number-span"
74894
74911
  };
74895
- const _hoisted_6$2 = {
74912
+ const _hoisted_4$4 = {
74896
74913
  key: 1,
74897
74914
  class: "row-number-span"
74898
74915
  };
74899
- const _hoisted_7$1 = { class: "group-actions" };
74900
- const _hoisted_8$1 = { class: "group-content" };
74901
- const _hoisted_9 = {
74916
+ const _hoisted_5$2 = { class: "group-actions" };
74917
+ const _hoisted_6$2 = { class: "group-content" };
74918
+ const _hoisted_7$1 = {
74902
74919
  key: 1,
74903
74920
  class: "field-loading",
74904
74921
  style: { "color": "#909399", "font-size": "12px", "padding": "8px" }
74905
74922
  };
74906
- const _hoisted_10 = {
74923
+ const _hoisted_8$1 = {
74907
74924
  key: 1,
74908
74925
  class: "empty-hint"
74909
74926
  };
74910
- const _hoisted_11 = { key: 0 };
74911
- const _hoisted_12 = { key: 1 };
74912
- const _hoisted_13 = {
74927
+ const _hoisted_9 = { key: 0 };
74928
+ const _hoisted_10 = { key: 1 };
74929
+ const _hoisted_11 = {
74913
74930
  key: 0,
74914
74931
  class: "empty-hint"
74915
74932
  };
74916
- const _hoisted_14 = {
74933
+ const _hoisted_12 = {
74917
74934
  key: 1,
74918
74935
  class: "empty-hint"
74919
74936
  };
@@ -74927,19 +74944,16 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
74927
74944
  key: $props.widget.id,
74928
74945
  class: normalizeClass(["custom-sub-form-container", $options.customClass])
74929
74946
  }, [
74930
- createElementVNode("div", _hoisted_1$7, [
74931
- createElementVNode("span", _hoisted_2$5, toDisplayString($props.widget.options.label || "\u81EA\u5B9A\u4E49\u5B50\u8868\u5355"), 1)
74932
- ]),
74933
74947
  (openBlock(true), createElementBlock(Fragment, null, renderList($data.rowIdData, (subFormRowId, sfrIdx) => {
74934
74948
  return openBlock(), createElementBlock("div", {
74935
74949
  class: "form-group-row",
74936
74950
  key: subFormRowId
74937
74951
  }, [
74938
- createElementVNode("div", _hoisted_3$5, [
74939
- createElementVNode("div", _hoisted_4$4, [
74940
- $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"))
74952
+ createElementVNode("div", _hoisted_1$7, [
74953
+ createElementVNode("div", _hoisted_2$5, [
74954
+ $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"))
74941
74955
  ]),
74942
- createElementVNode("div", _hoisted_7$1, [
74956
+ createElementVNode("div", _hoisted_5$2, [
74943
74957
  sfrIdx > 0 ? (openBlock(), createBlock(_component_el_button, {
74944
74958
  key: 0,
74945
74959
  size: "small",
@@ -74955,7 +74969,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
74955
74969
  }, 8, ["onClick"])) : createCommentVNode("", true)
74956
74970
  ])
74957
74971
  ]),
74958
- createElementVNode("div", _hoisted_8$1, [
74972
+ createElementVNode("div", _hoisted_6$2, [
74959
74973
  $props.widget && $props.widget.widgetList && $props.widget.widgetList.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($props.widget.widgetList, (subWidget, swIdx) => {
74960
74974
  return openBlock(), createElementBlock(Fragment, {
74961
74975
  key: subWidget ? subWidget.id + "gc" + subFormRowId + "-" + swIdx : "gc" + subFormRowId + "-" + swIdx
@@ -74980,16 +74994,16 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
74980
74994
  "sub-form-row-id": subFormRowId,
74981
74995
  "sub-form-row-index": sfrIdx,
74982
74996
  "sub-form-col-index": swIdx
74983
- }, 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... "))
74997
+ }, 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... "))
74984
74998
  ], 64)) : createCommentVNode("", true)
74985
74999
  ], 64);
74986
- }), 128)) : (openBlock(), createElementBlock("div", _hoisted_10, [
74987
- !$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)
75000
+ }), 128)) : (openBlock(), createElementBlock("div", _hoisted_8$1, [
75001
+ !$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)
74988
75002
  ]))
74989
75003
  ])
74990
75004
  ]);
74991
75005
  }), 128)),
74992
- !$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),
75006
+ !$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),
74993
75007
  createVNode(_component_el_button, {
74994
75008
  disabled: $data.actionDisabled,
74995
75009
  type: "primary",
@@ -75010,7 +75024,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
75010
75024
  _: 1
75011
75025
  }, 8, ["widget"]);
75012
75026
  }
75013
- var CustomSubFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["render", _sfc_render$8], ["__scopeId", "data-v-10b5c8e1"]]);
75027
+ var CustomSubFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$8, [["render", _sfc_render$8], ["__scopeId", "data-v-1c47559c"]]);
75014
75028
  const customTableCellSchema = {
75015
75029
  type: "custom-table-cell",
75016
75030
  category: "container",
@@ -77433,6 +77447,7 @@ const loadExtension = function(app) {
77433
77447
  app.component(PersonTreeWidget.name, PersonTreeWidget);
77434
77448
  registerCPEditor(app, "person-tree-buttonText", "person-tree-buttonText-editor", createInputTextEditor("buttonText", "extension.setting.personTreeButtonText"));
77435
77449
  registerCPEditor(app, "person-tree-dialogTitle", "person-tree-dialogTitle-editor", createInputTextEditor("dialogTitle", "extension.setting.personTreeDialogTitle"));
77450
+ registerCPEditor(app, "person-tree-treeParams", "person-tree-treeParams-editor", createTextareaEditor("treeParams", "extension.setting.personTreeTreeParams", { rows: 4 }));
77436
77451
  registerAPEditor(app, "person-tree-dialogWidth", "person-tree-dialogWidth-editor", createInputTextEditor("dialogWidth", "extension.setting.personTreeDialogWidth"));
77437
77452
  registerCPEditor(app, "person-tree-confirmText", "person-tree-confirmText-editor", createInputTextEditor("confirmText", "extension.setting.personTreeConfirmText"));
77438
77453
  registerCPEditor(app, "person-tree-cancelText", "person-tree-cancelText-editor", createInputTextEditor("cancelText", "extension.setting.personTreeCancelText"));