imatrix-ui 0.2.1-up → 0.2.2-up
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/lib/super-ui.js +5 -8
- package/lib/super-ui.umd.cjs +3 -3
- package/package.json +1 -1
- package/packages/fs-upload/src/fs-upload-single.vue +1 -1
- package/src/utils/auth-api.js +1 -1
- package/src/views/dsc-component/Sidebar/index.vue +1 -1
- package/src/views/layout/components/Breadcrumb/index.vue +1 -1
- package/src/views/layout/components/Menubar/index.vue +1 -1
- package/src/views/layout/components/Sidebar/index.vue +1 -1
package/lib/super-ui.js
CHANGED
|
@@ -4975,9 +4975,6 @@ function executeExpression(e, t, n, r) {
|
|
|
4975
4975
|
const i = getAbstractUserFactory(r);
|
|
4976
4976
|
return new i(e, t, n).result;
|
|
4977
4977
|
}
|
|
4978
|
-
function getDefaultExportFromCjs(e) {
|
|
4979
|
-
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
4980
|
-
}
|
|
4981
4978
|
var js_cookie = { exports: {} };
|
|
4982
4979
|
/*!
|
|
4983
4980
|
* JavaScript Cookie v2.2.1
|
|
@@ -5070,7 +5067,7 @@ var js_cookie = { exports: {} };
|
|
|
5070
5067
|
});
|
|
5071
5068
|
})(js_cookie);
|
|
5072
5069
|
var js_cookieExports = js_cookie.exports;
|
|
5073
|
-
const
|
|
5070
|
+
const jwtKey = "JWT", currentUserNameKey = "USERNAME", currentUserInfoKey = "CURRENT_USER", currentSystemUrlKey = "CURRENT_SYSTEM_URL_";
|
|
5074
5071
|
function getToken$1() {
|
|
5075
5072
|
let e = getCookieCache(jwtKey);
|
|
5076
5073
|
const t = window.$vueApp.config.globalProperties.projectModel;
|
|
@@ -5108,15 +5105,15 @@ function removeCurrentUser() {
|
|
|
5108
5105
|
removeSessionCache(currentUserInfoKey), removeCookieCache(currentUserInfoKey);
|
|
5109
5106
|
}
|
|
5110
5107
|
function getCookieCache(e) {
|
|
5111
|
-
return
|
|
5108
|
+
return js_cookieExports.get(e);
|
|
5112
5109
|
}
|
|
5113
5110
|
function setCookieCache(e, t) {
|
|
5114
|
-
|
|
5111
|
+
js_cookieExports.set(e, t, {
|
|
5115
5112
|
path: "/"
|
|
5116
5113
|
});
|
|
5117
5114
|
}
|
|
5118
5115
|
function removeCookieCache(e) {
|
|
5119
|
-
|
|
5116
|
+
js_cookieExports.remove(e, {
|
|
5120
5117
|
path: "/"
|
|
5121
5118
|
});
|
|
5122
5119
|
}
|
|
@@ -25357,7 +25354,7 @@ const fsUploadMulti = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_
|
|
|
25357
25354
|
},
|
|
25358
25355
|
preview() {
|
|
25359
25356
|
if (window.$vueApp.config.globalProperties.isOffice) {
|
|
25360
|
-
const e =
|
|
25357
|
+
const e = js_cookieExports.get("JWT"), t = {
|
|
25361
25358
|
fileName: window.$vueApp.config.globalProperties.officeweb365Url + "/common/fs-upload/download?serverPath=" + this.unifiedEnclosure.uuid + "&showName=" + this.unifiedEnclosure.fileName + "&jwt=" + e
|
|
25362
25359
|
};
|
|
25363
25360
|
this.$http.post(
|