form-custom-test 3.0.120 → 3.0.122
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 +6 -3
- package/dist/designer.style.css +2 -2
- package/dist/designer.umd.js +2 -2
- package/dist/render.es.js +6 -3
- package/dist/render.style.css +2 -2
- package/dist/render.umd.js +2 -2
- package/package.json +1 -1
package/dist/designer.es.js
CHANGED
|
@@ -68451,13 +68451,13 @@ function registerIcon(app) {
|
|
|
68451
68451
|
if (typeof window !== "undefined") {
|
|
68452
68452
|
let loadSvg = function() {
|
|
68453
68453
|
var body = document.body;
|
|
68454
|
-
var svgDom = document.getElementById("
|
|
68454
|
+
var svgDom = document.getElementById("__svg__icons__dom__1778307022656__");
|
|
68455
68455
|
if (!svgDom) {
|
|
68456
68456
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
68457
68457
|
svgDom.style.position = "absolute";
|
|
68458
68458
|
svgDom.style.width = "0";
|
|
68459
68459
|
svgDom.style.height = "0";
|
|
68460
|
-
svgDom.id = "
|
|
68460
|
+
svgDom.id = "__svg__icons__dom__1778307022656__";
|
|
68461
68461
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
68462
68462
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
68463
68463
|
}
|
|
@@ -78429,6 +78429,8 @@ const _sfc_main$5 = {
|
|
|
78429
78429
|
return this.fieldModel ? this.fieldModel.username : "";
|
|
78430
78430
|
} else if (this.currentUserType === "deptName") {
|
|
78431
78431
|
return this.fieldModel ? this.fieldModel.deptName : "";
|
|
78432
|
+
} else if (this.currentUserType === "companyName") {
|
|
78433
|
+
return this.fieldModel ? this.fieldModel.companyName : "";
|
|
78432
78434
|
} else {
|
|
78433
78435
|
return JSON.stringify(this.fieldModel);
|
|
78434
78436
|
}
|
|
@@ -80114,7 +80116,8 @@ const loadExtension = function(app) {
|
|
|
80114
80116
|
registerCPEditor(app, "current-user-type", "current-user-type-editor", createSelectEditor("type", "extension.setting.currentUserType", {
|
|
80115
80117
|
optionItems: [
|
|
80116
80118
|
{ label: "\u7528\u6237\u540D", value: "username" },
|
|
80117
|
-
{ label: "\u90E8\u95E8\u540D\u79F0", value: "deptName" }
|
|
80119
|
+
{ label: "\u90E8\u95E8\u540D\u79F0", value: "deptName" },
|
|
80120
|
+
{ label: "\u516C\u53F8\u540D\u79F0", value: "companyName" }
|
|
80118
80121
|
]
|
|
80119
80122
|
}));
|
|
80120
80123
|
addCustomWidgetSchema(assetSelectSchema);
|