form-custom-test 3.0.216 → 3.0.217
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 +3 -17
- package/dist/designer.umd.js +2 -2
- package/dist/render.es.js +3 -16
- package/dist/render.umd.js +42 -42
- package/package.json +1 -1
package/dist/designer.es.js
CHANGED
|
@@ -69210,13 +69210,13 @@ function registerIcon(app) {
|
|
|
69210
69210
|
if (typeof window !== "undefined") {
|
|
69211
69211
|
let loadSvg = function() {
|
|
69212
69212
|
var body = document.body;
|
|
69213
|
-
var svgDom = document.getElementById("
|
|
69213
|
+
var svgDom = document.getElementById("__svg__icons__dom__1782264802990__");
|
|
69214
69214
|
if (!svgDom) {
|
|
69215
69215
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
69216
69216
|
svgDom.style.position = "absolute";
|
|
69217
69217
|
svgDom.style.width = "0";
|
|
69218
69218
|
svgDom.style.height = "0";
|
|
69219
|
-
svgDom.id = "
|
|
69219
|
+
svgDom.id = "__svg__icons__dom__1782264802990__";
|
|
69220
69220
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
69221
69221
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
69222
69222
|
}
|
|
@@ -75070,6 +75070,7 @@ service$1.interceptors.request.use((config) => {
|
|
|
75070
75070
|
const accessToken = getToken();
|
|
75071
75071
|
const company = sessionStorage.getItem("companyId");
|
|
75072
75072
|
const post = sessionStorage.getItem("postId");
|
|
75073
|
+
console.log(accessToken, "accessToken");
|
|
75073
75074
|
if (accessToken) {
|
|
75074
75075
|
config.headers["Authorization"] = getToken();
|
|
75075
75076
|
}
|
|
@@ -83011,18 +83012,6 @@ const loadExtension = function(app) {
|
|
|
83011
83012
|
addCustomWidgetSchema(customInputSchema);
|
|
83012
83013
|
app.component(CustomInputWidget.name, CustomInputWidget);
|
|
83013
83014
|
};
|
|
83014
|
-
function setupDict(app, service2, options = {}) {
|
|
83015
|
-
const dictConfig = options.dict || {};
|
|
83016
|
-
app.config.globalProperties.$dictManager = dictManager;
|
|
83017
|
-
app.provide("dictManager", dictManager);
|
|
83018
|
-
if (typeof window !== "undefined") {
|
|
83019
|
-
window.dictManager = dictManager;
|
|
83020
|
-
}
|
|
83021
|
-
if (dictConfig.autoLoad !== false && service2) {
|
|
83022
|
-
dictManager.fetchFromApi(service2, dictConfig);
|
|
83023
|
-
}
|
|
83024
|
-
return dictManager;
|
|
83025
|
-
}
|
|
83026
83015
|
const { cookies } = useCookies();
|
|
83027
83016
|
function getElMessage(app) {
|
|
83028
83017
|
var _a2, _b2, _c2;
|
|
@@ -83060,7 +83049,6 @@ VFormDesigner.install = function(app, options = {}) {
|
|
|
83060
83049
|
if (typeof window !== "undefined") {
|
|
83061
83050
|
window.service = service$1;
|
|
83062
83051
|
}
|
|
83063
|
-
setupDict(app, service$1, options);
|
|
83064
83052
|
};
|
|
83065
83053
|
VFormRender.install = function(app, options = {}) {
|
|
83066
83054
|
loadExtension(app);
|
|
@@ -83074,7 +83062,6 @@ VFormRender.install = function(app, options = {}) {
|
|
|
83074
83062
|
if (typeof window !== "undefined") {
|
|
83075
83063
|
window.service = service$1;
|
|
83076
83064
|
}
|
|
83077
|
-
setupDict(app, service$1, options);
|
|
83078
83065
|
};
|
|
83079
83066
|
const components = [
|
|
83080
83067
|
VFormDesigner,
|
|
@@ -83096,7 +83083,6 @@ const install = (app, options = {}) => {
|
|
|
83096
83083
|
if (typeof window !== "undefined") {
|
|
83097
83084
|
window.service = service$1;
|
|
83098
83085
|
}
|
|
83099
|
-
setupDict(app, service$1, options);
|
|
83100
83086
|
};
|
|
83101
83087
|
var install$1 = {
|
|
83102
83088
|
install,
|