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/render.es.js
CHANGED
|
@@ -26603,13 +26603,13 @@ function registerIcon(app) {
|
|
|
26603
26603
|
if (typeof window !== "undefined") {
|
|
26604
26604
|
let loadSvg = function() {
|
|
26605
26605
|
var body = document.body;
|
|
26606
|
-
var svgDom = document.getElementById("
|
|
26606
|
+
var svgDom = document.getElementById("__svg__icons__dom__1782264812732__");
|
|
26607
26607
|
if (!svgDom) {
|
|
26608
26608
|
svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
26609
26609
|
svgDom.style.position = "absolute";
|
|
26610
26610
|
svgDom.style.width = "0";
|
|
26611
26611
|
svgDom.style.height = "0";
|
|
26612
|
-
svgDom.id = "
|
|
26612
|
+
svgDom.id = "__svg__icons__dom__1782264812732__";
|
|
26613
26613
|
svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
26614
26614
|
svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
|
|
26615
26615
|
}
|
|
@@ -32549,6 +32549,7 @@ service$1.interceptors.request.use((config) => {
|
|
|
32549
32549
|
const accessToken = getToken();
|
|
32550
32550
|
const company = sessionStorage.getItem("companyId");
|
|
32551
32551
|
const post = sessionStorage.getItem("postId");
|
|
32552
|
+
console.log(accessToken, "accessToken");
|
|
32552
32553
|
if (accessToken) {
|
|
32553
32554
|
config.headers["Authorization"] = getToken();
|
|
32554
32555
|
}
|
|
@@ -65928,18 +65929,6 @@ const loadExtension = function(app) {
|
|
|
65928
65929
|
registerCPEditor(app, "asset-type-assetTypeValue", "asset-type-assetTypeValue-editor", createInputTextEditor("assetTypeValue", "extension.setting.assetTypeAssetTypeValue"));
|
|
65929
65930
|
app.component(CustomInputWidget.name, CustomInputWidget);
|
|
65930
65931
|
};
|
|
65931
|
-
function setupDict(app, service2, options = {}) {
|
|
65932
|
-
const dictConfig = options.dict || {};
|
|
65933
|
-
app.config.globalProperties.$dictManager = dictManager;
|
|
65934
|
-
app.provide("dictManager", dictManager);
|
|
65935
|
-
if (typeof window !== "undefined") {
|
|
65936
|
-
window.dictManager = dictManager;
|
|
65937
|
-
}
|
|
65938
|
-
if (dictConfig.autoLoad !== false && service2) {
|
|
65939
|
-
dictManager.fetchFromApi(service2, dictConfig);
|
|
65940
|
-
}
|
|
65941
|
-
return dictManager;
|
|
65942
|
-
}
|
|
65943
65932
|
function getElMessage(app) {
|
|
65944
65933
|
var _a, _b, _c;
|
|
65945
65934
|
try {
|
|
@@ -65960,7 +65949,6 @@ VFormRender.install = function(app, options = {}) {
|
|
|
65960
65949
|
app.config.globalProperties.$service = service$1;
|
|
65961
65950
|
app.provide("service", service$1);
|
|
65962
65951
|
app.provide("ElMessage", getElMessage(app));
|
|
65963
|
-
setupDict(app, service$1, options);
|
|
65964
65952
|
};
|
|
65965
65953
|
const components = [
|
|
65966
65954
|
VFormRender
|
|
@@ -65978,7 +65966,6 @@ const install = (app, options = {}) => {
|
|
|
65978
65966
|
if (typeof window !== "undefined") {
|
|
65979
65967
|
window.service = service$1;
|
|
65980
65968
|
}
|
|
65981
|
-
setupDict(app, service$1, options);
|
|
65982
65969
|
};
|
|
65983
65970
|
var installRender = {
|
|
65984
65971
|
install,
|