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.
- package/dist/designer.es.js +91 -76
- package/dist/designer.style.css +1 -1
- package/dist/designer.umd.js +59 -59
- package/dist/render.es.js +82 -68
- package/dist/render.style.css +1 -1
- package/dist/render.umd.js +9 -9
- package/package.json +1 -1
package/dist/render.es.js
CHANGED
|
@@ -1931,6 +1931,7 @@ var enLocale_extension = {
|
|
|
1931
1931
|
effect: "Effect",
|
|
1932
1932
|
personTreeButtonText: "Button Text",
|
|
1933
1933
|
personTreeDialogTitle: "Dialog Title",
|
|
1934
|
+
personTreeTreeParams: "Tree Params",
|
|
1934
1935
|
personTreeDialogWidth: "Dialog Width",
|
|
1935
1936
|
personTreeConfirmText: "Confirm Button Text",
|
|
1936
1937
|
personTreeCancelText: "Cancel Button Text",
|
|
@@ -1969,6 +1970,7 @@ var zhLocale_extension = {
|
|
|
1969
1970
|
effect: "\u663E\u793A\u6548\u679C",
|
|
1970
1971
|
personTreeButtonText: "\u6309\u94AE\u6587\u5B57",
|
|
1971
1972
|
personTreeDialogTitle: "\u5F39\u7A97\u6807\u9898",
|
|
1973
|
+
personTreeTreeParams: "\u8BF7\u6C42\u53C2\u6570",
|
|
1972
1974
|
personTreeDialogWidth: "\u5F39\u7A97\u5BBD\u5EA6",
|
|
1973
1975
|
personTreeConfirmText: "\u786E\u5B9A\u6309\u94AE\u6587\u5B57",
|
|
1974
1976
|
personTreeCancelText: "\u53D6\u6D88\u6309\u94AE\u6587\u5B57",
|
|
@@ -23219,12 +23221,12 @@ const _sfc_main$C = {
|
|
|
23219
23221
|
getOptionItems() {
|
|
23220
23222
|
if (this.subFormRowId) {
|
|
23221
23223
|
const optionItems = this.refList[this.field.options.name + "@row" + this.subFormRowId].field.options.optionItems;
|
|
23222
|
-
console.log(optionItems, "optionItems");
|
|
23223
23224
|
return optionItems;
|
|
23224
23225
|
}
|
|
23225
23226
|
if (this.field.options.optionItems) {
|
|
23226
23227
|
return this.field.options.optionItems;
|
|
23227
23228
|
}
|
|
23229
|
+
console.log(this.field.options.optionItems);
|
|
23228
23230
|
return [];
|
|
23229
23231
|
}
|
|
23230
23232
|
}
|
|
@@ -23268,7 +23270,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23268
23270
|
onChange: _ctx.handleChangeEvent
|
|
23269
23271
|
}, {
|
|
23270
23272
|
default: withCtx(() => [
|
|
23271
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList($
|
|
23273
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($props.field.options.optionItems, (item) => {
|
|
23272
23274
|
return openBlock(), createBlock(_component_el_option, {
|
|
23273
23275
|
key: item.value,
|
|
23274
23276
|
label: item.label,
|
|
@@ -23283,7 +23285,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
23283
23285
|
_: 1
|
|
23284
23286
|
}, 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"]);
|
|
23285
23287
|
}
|
|
23286
|
-
var selectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["render", _sfc_render$C], ["__scopeId", "data-v-
|
|
23288
|
+
var selectWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["render", _sfc_render$C], ["__scopeId", "data-v-332fe05c"]]);
|
|
23287
23289
|
var __glob_0_17 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
23288
23290
|
__proto__: null,
|
|
23289
23291
|
"default": selectWidget
|
|
@@ -25635,13 +25637,13 @@ function registerIcon(app) {
|
|
|
25635
25637
|
if (typeof window !== "undefined") {
|
|
25636
25638
|
let loadSvg = function() {
|
|
25637
25639
|
var body = document.body;
|
|
25638
|
-
var svgDom = document.getElementById("
|
|
25640
|
+
var svgDom = document.getElementById("__svg__icons__dom__1771985021877__");
|
|
25639
25641
|
if (!svgDom) {
|
|
25640
25642
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
25641
25643
|
svgDom.style.position = "absolute";
|
|
25642
25644
|
svgDom.style.width = "0";
|
|
25643
25645
|
svgDom.style.height = "0";
|
|
25644
|
-
svgDom.id = "
|
|
25646
|
+
svgDom.id = "__svg__icons__dom__1771985021877__";
|
|
25645
25647
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
25646
25648
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
25647
25649
|
}
|
|
@@ -25686,6 +25688,26 @@ const createInputTextEditor = function(propName, propLabelKey) {
|
|
|
25686
25688
|
}
|
|
25687
25689
|
};
|
|
25688
25690
|
};
|
|
25691
|
+
const createTextareaEditor = function(propName, propLabelKey, configs = {}) {
|
|
25692
|
+
return {
|
|
25693
|
+
props: {
|
|
25694
|
+
optionModel: Object
|
|
25695
|
+
},
|
|
25696
|
+
render(h) {
|
|
25697
|
+
return createVNode(resolveComponent("el-form-item"), {
|
|
25698
|
+
"label": translate(propLabelKey)
|
|
25699
|
+
}, {
|
|
25700
|
+
default: () => [createVNode(resolveComponent("el-input"), {
|
|
25701
|
+
"type": "textarea",
|
|
25702
|
+
"modelValue": this.optionModel[propName],
|
|
25703
|
+
"onUpdate:modelValue": ($event) => this.optionModel[propName] = $event,
|
|
25704
|
+
"rows": configs.rows || 4,
|
|
25705
|
+
"autosize": configs.autosize || false
|
|
25706
|
+
}, null)]
|
|
25707
|
+
});
|
|
25708
|
+
}
|
|
25709
|
+
};
|
|
25710
|
+
};
|
|
25689
25711
|
const createBooleanEditor = function(propName, propLabelKey) {
|
|
25690
25712
|
return {
|
|
25691
25713
|
props: {
|
|
@@ -31519,7 +31541,6 @@ var blowfish = { exports: {} };
|
|
|
31519
31541
|
useCookies();
|
|
31520
31542
|
const getToken = () => {
|
|
31521
31543
|
const accessToken = sessionStorage.getItem("Authorization");
|
|
31522
|
-
console.log(accessToken, "accessToken");
|
|
31523
31544
|
return accessToken;
|
|
31524
31545
|
};
|
|
31525
31546
|
useCookies();
|
|
@@ -31652,7 +31673,8 @@ const _sfc_main$j = {
|
|
|
31652
31673
|
label: "name"
|
|
31653
31674
|
},
|
|
31654
31675
|
checkedNodes: [],
|
|
31655
|
-
treeRef: null
|
|
31676
|
+
treeRef: null,
|
|
31677
|
+
defaultExpandedKeys: []
|
|
31656
31678
|
};
|
|
31657
31679
|
},
|
|
31658
31680
|
computed: {
|
|
@@ -31700,22 +31722,22 @@ const _sfc_main$j = {
|
|
|
31700
31722
|
});
|
|
31701
31723
|
},
|
|
31702
31724
|
getTreeData() {
|
|
31703
|
-
const
|
|
31725
|
+
const data2 = this.field.options.treeParams ? JSON.parse(this.field.options.treeParams) : {};
|
|
31704
31726
|
service({
|
|
31705
31727
|
method: "post",
|
|
31706
31728
|
url: "/unified-system/sysCompany/fullTree",
|
|
31707
|
-
data: { companyId:
|
|
31708
|
-
}).then(({ data:
|
|
31709
|
-
this.treeData = renderData(
|
|
31710
|
-
function renderData(
|
|
31729
|
+
data: __spreadValues({ companyId: sessionStorage.getItem("companyId") }, data2)
|
|
31730
|
+
}).then(({ data: data3 }) => {
|
|
31731
|
+
this.treeData = renderData(data3);
|
|
31732
|
+
function renderData(data4) {
|
|
31711
31733
|
var _a;
|
|
31712
|
-
for (const element of
|
|
31734
|
+
for (const element of data4) {
|
|
31713
31735
|
element.nodeKey = element.joinUserId || element.id;
|
|
31714
31736
|
if (element.children && ((_a = element.children) == null ? void 0 : _a.length)) {
|
|
31715
31737
|
renderData(element.children);
|
|
31716
31738
|
}
|
|
31717
31739
|
}
|
|
31718
|
-
return
|
|
31740
|
+
return data4;
|
|
31719
31741
|
}
|
|
31720
31742
|
});
|
|
31721
31743
|
},
|
|
@@ -31732,13 +31754,31 @@ const _sfc_main$j = {
|
|
|
31732
31754
|
backgroundImage: `url(${data2.avatarUrl || personIcon})`
|
|
31733
31755
|
}
|
|
31734
31756
|
}),
|
|
31735
|
-
h("div", {
|
|
31757
|
+
h("div", {
|
|
31758
|
+
class: node.level === 1 ? "text-#1D2129" : "text-#4E5969 ",
|
|
31759
|
+
style: {
|
|
31760
|
+
overflow: "hidden",
|
|
31761
|
+
textOverflow: "ellipsis",
|
|
31762
|
+
whiteSpace: "nowrap",
|
|
31763
|
+
minWidth: 0,
|
|
31764
|
+
width: "80%"
|
|
31765
|
+
}
|
|
31766
|
+
}, data2.postName ? `${node.label}\uFF08${data2.postName}\uFF09` : node.label)
|
|
31736
31767
|
]);
|
|
31737
31768
|
},
|
|
31738
31769
|
handleClick() {
|
|
31739
31770
|
this.getTreeData();
|
|
31740
31771
|
this.dialogVisible = true;
|
|
31741
31772
|
this.triggerEvent("onOpen");
|
|
31773
|
+
this.$nextTick(() => {
|
|
31774
|
+
if (this.fieldModel && this.fieldModel.length > 0) {
|
|
31775
|
+
this.$refs.treeRef.setCheckedKeys(this.fieldModel.map((item) => item.nodeKey));
|
|
31776
|
+
this.defaultExpandedKeys = this.fieldModel.map((item) => item.nodeKey);
|
|
31777
|
+
} else {
|
|
31778
|
+
this.$refs.treeRef.setCheckedKeys([]);
|
|
31779
|
+
this.defaultExpandedKeys = [];
|
|
31780
|
+
}
|
|
31781
|
+
});
|
|
31742
31782
|
},
|
|
31743
31783
|
handleConfirm() {
|
|
31744
31784
|
var _a;
|
|
@@ -31873,9 +31913,10 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
31873
31913
|
"render-content": $options.renderContent,
|
|
31874
31914
|
"node-key": "nodeKey",
|
|
31875
31915
|
ref: "treeRef",
|
|
31916
|
+
"default-expanded-keys": $data.defaultExpandedKeys,
|
|
31876
31917
|
"filter-node-method": _ctx.filterNode,
|
|
31877
31918
|
"highlight-current": ""
|
|
31878
|
-
}, null, 8, ["data", "props", "render-content", "filter-node-method"])
|
|
31919
|
+
}, null, 8, ["data", "props", "render-content", "default-expanded-keys", "filter-node-method"])
|
|
31879
31920
|
]),
|
|
31880
31921
|
_: 1
|
|
31881
31922
|
})
|
|
@@ -31915,7 +31956,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
31915
31956
|
_: 1
|
|
31916
31957
|
}, 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"]);
|
|
31917
31958
|
}
|
|
31918
|
-
var PersonTreeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-
|
|
31959
|
+
var PersonTreeWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-41336b69"]]);
|
|
31919
31960
|
const _sfc_main$i = {
|
|
31920
31961
|
name: "radio-other-widget",
|
|
31921
31962
|
componentName: "FieldWidget",
|
|
@@ -33814,7 +33855,6 @@ const _sfc_main$9 = {
|
|
|
33814
33855
|
fieldSchemas.push(this.cloneFieldSchema(swItem));
|
|
33815
33856
|
});
|
|
33816
33857
|
if (rowIndex === void 0) {
|
|
33817
|
-
console.log(fieldSchemas, "fieldSchemas");
|
|
33818
33858
|
this.fieldSchemaData.push(fieldSchemas);
|
|
33819
33859
|
} else {
|
|
33820
33860
|
this.fieldSchemaData.splice(rowIndex, 0, fieldSchemas);
|
|
@@ -33824,30 +33864,8 @@ const _sfc_main$9 = {
|
|
|
33824
33864
|
this.fieldSchemaData.splice(rowIndex, 1);
|
|
33825
33865
|
},
|
|
33826
33866
|
cloneFieldSchema(fieldWidget) {
|
|
33827
|
-
let newFieldSchema =
|
|
33867
|
+
let newFieldSchema = deepClone(fieldWidget);
|
|
33828
33868
|
newFieldSchema.id = fieldWidget.type + generateId();
|
|
33829
|
-
if (fieldWidget.category === "container" && fieldWidget.widgetList) {
|
|
33830
|
-
newFieldSchema.widgetList = fieldWidget.widgetList.map((subItem) => {
|
|
33831
|
-
if (subItem.formItemFlag) {
|
|
33832
|
-
return this.cloneFieldSchema(subItem);
|
|
33833
|
-
} else if (subItem.category === "container") {
|
|
33834
|
-
return this.cloneFieldSchema(subItem);
|
|
33835
|
-
}
|
|
33836
|
-
return JSON.parse(JSON.stringify(subItem));
|
|
33837
|
-
});
|
|
33838
|
-
}
|
|
33839
|
-
if (newFieldSchema.options) {
|
|
33840
|
-
const optionFieldTypes = ["select", "radio", "checkbox", "cascader", "select-other", "radio-other"];
|
|
33841
|
-
if (newFieldSchema.type === "select" || newFieldSchema.type === "select-other") {
|
|
33842
|
-
newFieldSchema.options.optionItems = [];
|
|
33843
|
-
} else if (optionFieldTypes.includes(newFieldSchema.type)) {
|
|
33844
|
-
if (newFieldSchema.options.optionItems && Array.isArray(newFieldSchema.options.optionItems)) {
|
|
33845
|
-
newFieldSchema.options.optionItems = JSON.parse(JSON.stringify(newFieldSchema.options.optionItems));
|
|
33846
|
-
} else {
|
|
33847
|
-
newFieldSchema.options.optionItems = [];
|
|
33848
|
-
}
|
|
33849
|
-
}
|
|
33850
|
-
}
|
|
33851
33869
|
return newFieldSchema;
|
|
33852
33870
|
},
|
|
33853
33871
|
initEventHandler() {
|
|
@@ -34015,36 +34033,34 @@ const _sfc_main$9 = {
|
|
|
34015
34033
|
}
|
|
34016
34034
|
}
|
|
34017
34035
|
};
|
|
34018
|
-
const _hoisted_1$8 = { class: "
|
|
34019
|
-
const _hoisted_2$6 = { class: "
|
|
34020
|
-
const _hoisted_3$5 = {
|
|
34021
|
-
const _hoisted_4$4 = { class: "group-title" };
|
|
34022
|
-
const _hoisted_5$2 = {
|
|
34036
|
+
const _hoisted_1$8 = { class: "group-header" };
|
|
34037
|
+
const _hoisted_2$6 = { class: "group-title" };
|
|
34038
|
+
const _hoisted_3$5 = {
|
|
34023
34039
|
key: 0,
|
|
34024
34040
|
class: "row-number-span"
|
|
34025
34041
|
};
|
|
34026
|
-
const
|
|
34042
|
+
const _hoisted_4$4 = {
|
|
34027
34043
|
key: 1,
|
|
34028
34044
|
class: "row-number-span"
|
|
34029
34045
|
};
|
|
34030
|
-
const
|
|
34031
|
-
const
|
|
34032
|
-
const
|
|
34046
|
+
const _hoisted_5$2 = { class: "group-actions" };
|
|
34047
|
+
const _hoisted_6$2 = { class: "group-content" };
|
|
34048
|
+
const _hoisted_7$1 = {
|
|
34033
34049
|
key: 1,
|
|
34034
34050
|
class: "field-loading",
|
|
34035
34051
|
style: { "color": "#909399", "font-size": "12px", "padding": "8px" }
|
|
34036
34052
|
};
|
|
34037
|
-
const
|
|
34053
|
+
const _hoisted_8$1 = {
|
|
34038
34054
|
key: 1,
|
|
34039
34055
|
class: "empty-hint"
|
|
34040
34056
|
};
|
|
34041
|
-
const
|
|
34042
|
-
const
|
|
34043
|
-
const
|
|
34057
|
+
const _hoisted_9 = { key: 0 };
|
|
34058
|
+
const _hoisted_10 = { key: 1 };
|
|
34059
|
+
const _hoisted_11 = {
|
|
34044
34060
|
key: 0,
|
|
34045
34061
|
class: "empty-hint"
|
|
34046
34062
|
};
|
|
34047
|
-
const
|
|
34063
|
+
const _hoisted_12 = {
|
|
34048
34064
|
key: 1,
|
|
34049
34065
|
class: "empty-hint"
|
|
34050
34066
|
};
|
|
@@ -34058,19 +34074,16 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34058
34074
|
key: $props.widget.id,
|
|
34059
34075
|
class: normalizeClass(["custom-sub-form-container", $options.customClass])
|
|
34060
34076
|
}, [
|
|
34061
|
-
createElementVNode("div", _hoisted_1$8, [
|
|
34062
|
-
createElementVNode("span", _hoisted_2$6, toDisplayString($props.widget.options.label || "\u81EA\u5B9A\u4E49\u5B50\u8868\u5355"), 1)
|
|
34063
|
-
]),
|
|
34064
34077
|
(openBlock(true), createElementBlock(Fragment, null, renderList($data.rowIdData, (subFormRowId, sfrIdx) => {
|
|
34065
34078
|
return openBlock(), createElementBlock("div", {
|
|
34066
34079
|
class: "form-group-row",
|
|
34067
34080
|
key: subFormRowId
|
|
34068
34081
|
}, [
|
|
34069
|
-
createElementVNode("div",
|
|
34070
|
-
createElementVNode("div",
|
|
34071
|
-
$props.widget.options.showRowNumber ? (openBlock(), createElementBlock("span",
|
|
34082
|
+
createElementVNode("div", _hoisted_1$8, [
|
|
34083
|
+
createElementVNode("div", _hoisted_2$6, [
|
|
34084
|
+
$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"))
|
|
34072
34085
|
]),
|
|
34073
|
-
createElementVNode("div",
|
|
34086
|
+
createElementVNode("div", _hoisted_5$2, [
|
|
34074
34087
|
sfrIdx > 0 ? (openBlock(), createBlock(_component_el_button, {
|
|
34075
34088
|
key: 0,
|
|
34076
34089
|
size: "small",
|
|
@@ -34086,7 +34099,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34086
34099
|
}, 8, ["onClick"])) : createCommentVNode("", true)
|
|
34087
34100
|
])
|
|
34088
34101
|
]),
|
|
34089
|
-
createElementVNode("div",
|
|
34102
|
+
createElementVNode("div", _hoisted_6$2, [
|
|
34090
34103
|
$props.widget && $props.widget.widgetList && $props.widget.widgetList.length > 0 ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList($props.widget.widgetList, (subWidget, swIdx) => {
|
|
34091
34104
|
return openBlock(), createElementBlock(Fragment, {
|
|
34092
34105
|
key: subWidget ? subWidget.id + "gc" + subFormRowId + "-" + swIdx : "gc" + subFormRowId + "-" + swIdx
|
|
@@ -34111,16 +34124,16 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34111
34124
|
"sub-form-row-id": subFormRowId,
|
|
34112
34125
|
"sub-form-row-index": sfrIdx,
|
|
34113
34126
|
"sub-form-col-index": swIdx
|
|
34114
|
-
}, 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",
|
|
34127
|
+
}, 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... "))
|
|
34115
34128
|
], 64)) : createCommentVNode("", true)
|
|
34116
34129
|
], 64);
|
|
34117
|
-
}), 128)) : (openBlock(), createElementBlock("div",
|
|
34118
|
-
!$props.widget ? (openBlock(), createElementBlock("div",
|
|
34130
|
+
}), 128)) : (openBlock(), createElementBlock("div", _hoisted_8$1, [
|
|
34131
|
+
!$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)
|
|
34119
34132
|
]))
|
|
34120
34133
|
])
|
|
34121
34134
|
]);
|
|
34122
34135
|
}), 128)),
|
|
34123
|
-
!$props.widget.widgetList || $props.widget.widgetList.length === 0 ? (openBlock(), createElementBlock("div",
|
|
34136
|
+
!$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),
|
|
34124
34137
|
createVNode(_component_el_button, {
|
|
34125
34138
|
disabled: $data.actionDisabled,
|
|
34126
34139
|
type: "primary",
|
|
@@ -34141,7 +34154,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
34141
34154
|
_: 1
|
|
34142
34155
|
}, 8, ["widget"]);
|
|
34143
34156
|
}
|
|
34144
|
-
var CustomSubFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-
|
|
34157
|
+
var CustomSubFormItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$9, [["render", _sfc_render$9], ["__scopeId", "data-v-1c47559c"]]);
|
|
34145
34158
|
var customTableCellWidget_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
34146
34159
|
const _sfc_main$8 = {
|
|
34147
34160
|
name: "custom-table-cell-widget",
|
|
@@ -61038,6 +61051,7 @@ const loadExtension = function(app) {
|
|
|
61038
61051
|
app.component(PersonTreeWidget.name, PersonTreeWidget);
|
|
61039
61052
|
registerCPEditor(app, "person-tree-buttonText", "person-tree-buttonText-editor", createInputTextEditor("buttonText", "extension.setting.personTreeButtonText"));
|
|
61040
61053
|
registerCPEditor(app, "person-tree-dialogTitle", "person-tree-dialogTitle-editor", createInputTextEditor("dialogTitle", "extension.setting.personTreeDialogTitle"));
|
|
61054
|
+
registerCPEditor(app, "person-tree-treeParams", "person-tree-treeParams-editor", createTextareaEditor("treeParams", "extension.setting.personTreeTreeParams", { rows: 4 }));
|
|
61041
61055
|
registerAPEditor(app, "person-tree-dialogWidth", "person-tree-dialogWidth-editor", createInputTextEditor("dialogWidth", "extension.setting.personTreeDialogWidth"));
|
|
61042
61056
|
registerCPEditor(app, "person-tree-confirmText", "person-tree-confirmText-editor", createInputTextEditor("confirmText", "extension.setting.personTreeConfirmText"));
|
|
61043
61057
|
registerCPEditor(app, "person-tree-cancelText", "person-tree-cancelText-editor", createInputTextEditor("cancelText", "extension.setting.personTreeCancelText"));
|