form-custom-test 3.0.65 → 3.0.67
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 +16 -7
- package/dist/designer.umd.js +2 -2
- package/dist/render.es.js +3 -7
- package/dist/render.umd.js +2 -2
- package/package.json +1 -1
package/dist/designer.es.js
CHANGED
|
@@ -68056,13 +68056,13 @@ function registerIcon(app) {
|
|
|
68056
68056
|
if (typeof window !== "undefined") {
|
|
68057
68057
|
let loadSvg = function() {
|
|
68058
68058
|
var body = document.body;
|
|
68059
|
-
var svgDom = document.getElementById("
|
|
68059
|
+
var svgDom = document.getElementById("__svg__icons__dom__1773976369800__");
|
|
68060
68060
|
if (!svgDom) {
|
|
68061
68061
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
68062
68062
|
svgDom.style.position = "absolute";
|
|
68063
68063
|
svgDom.style.width = "0";
|
|
68064
68064
|
svgDom.style.height = "0";
|
|
68065
|
-
svgDom.id = "
|
|
68065
|
+
svgDom.id = "__svg__icons__dom__1773976369800__";
|
|
68066
68066
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
68067
68067
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
68068
68068
|
}
|
|
@@ -77975,11 +77975,7 @@ const _sfc_main = {
|
|
|
77975
77975
|
method: "get",
|
|
77976
77976
|
url: "unified-system/employee/loginInfo?accessType=0"
|
|
77977
77977
|
});
|
|
77978
|
-
|
|
77979
|
-
this.fieldModel = data2;
|
|
77980
|
-
} else if (this.currentUserType === "deptName") {
|
|
77981
|
-
this.fieldModel = data2;
|
|
77982
|
-
}
|
|
77978
|
+
this.fieldModel = data2;
|
|
77983
77979
|
this.syncUpdateFormModel(this.fieldModel);
|
|
77984
77980
|
this.emitFieldDataChange(this.fieldModel, this.oldFieldValue);
|
|
77985
77981
|
}
|
|
@@ -78129,6 +78125,18 @@ const loadExtension = function(app) {
|
|
|
78129
78125
|
}));
|
|
78130
78126
|
};
|
|
78131
78127
|
const { cookies } = useCookies();
|
|
78128
|
+
function getElMessage(app) {
|
|
78129
|
+
var _a2, _b2, _c2;
|
|
78130
|
+
try {
|
|
78131
|
+
if ((_b2 = (_a2 = app == null ? void 0 : app.config) == null ? void 0 : _a2.globalProperties) == null ? void 0 : _b2.$message)
|
|
78132
|
+
return app.config.globalProperties.$message;
|
|
78133
|
+
if (typeof window !== "undefined" && window.ElementPlus) {
|
|
78134
|
+
return window.ElementPlus.ElMessage || ((_c2 = window.ElementPlus.default) == null ? void 0 : _c2.ElMessage) || null;
|
|
78135
|
+
}
|
|
78136
|
+
} catch (e) {
|
|
78137
|
+
}
|
|
78138
|
+
return null;
|
|
78139
|
+
}
|
|
78132
78140
|
if (typeof window !== "undefined") {
|
|
78133
78141
|
window.cookies = cookies;
|
|
78134
78142
|
}
|
|
@@ -78147,6 +78155,7 @@ VFormDesigner.install = function(app) {
|
|
|
78147
78155
|
app.component(VFormDesigner.name, VFormDesigner);
|
|
78148
78156
|
app.config.globalProperties.$service = service;
|
|
78149
78157
|
app.provide("service", service);
|
|
78158
|
+
app.provide("ElMessage", getElMessage(app));
|
|
78150
78159
|
app.config.globalProperties.$cookies = cookies;
|
|
78151
78160
|
app.provide("cookies", cookies);
|
|
78152
78161
|
};
|