Refine user profile and navbar

This commit is contained in:
Marco Realacci 2022-12-10 01:02:48 +01:00
parent a2d7eb8d13
commit 740aaef0ea
39 changed files with 2084 additions and 1999 deletions

View file

@ -1,41 +1,32 @@
{
"hash": "8e389b41",
"browserHash": "f083642e",
"hash": "0c3e4771",
"browserHash": "01248067",
"optimized": {
"axios": {
"src": "../../axios/index.js",
"file": "axios.js",
"fileHash": "1fb4cdd6",
"fileHash": "d8d02cf0",
"needsInterop": true
},
"vue": {
"src": "../../vue/dist/vue.runtime.esm-bundler.js",
"file": "vue.js",
"fileHash": "1977567e",
"fileHash": "f8034b26",
"needsInterop": false
},
"vue-auth-image": {
"src": "../../vue-auth-image/vue-auth-image.js",
"file": "vue-auth-image.js",
"fileHash": "288ef0af",
"needsInterop": true
},
"vue-router": {
"src": "../../vue-router/dist/vue-router.mjs",
"file": "vue-router.js",
"fileHash": "822db929",
"fileHash": "b4ca170f",
"needsInterop": false
}
},
"chunks": {
"chunk-JDUKLXPO": {
"file": "chunk-JDUKLXPO.js"
},
"chunk-4GEKM2TG": {
"file": "chunk-4GEKM2TG.js"
},
"chunk-7FP5O474": {
"file": "chunk-7FP5O474.js"
"chunk-RSJERJUL": {
"file": "chunk-RSJERJUL.js"
}
}
}

1487
webui/node_modules/.vite/deps/axios.js generated vendored

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

View file

@ -1,17 +0,0 @@
var __getOwnPropNames = Object.getOwnPropertyNames;
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
}) : x)(function(x) {
if (typeof require !== "undefined")
return require.apply(this, arguments);
throw new Error('Dynamic require of "' + x + '" is not supported');
});
var __commonJS = (cb, mod) => function __require2() {
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
};
export {
__require,
__commonJS
};
//# sourceMappingURL=chunk-7FP5O474.js.map

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

9
webui/node_modules/.vite/deps/chunk-RSJERJUL.js generated vendored Normal file
View file

@ -0,0 +1,9 @@
var __getOwnPropNames = Object.getOwnPropertyNames;
var __commonJS = (cb, mod) => function __require() {
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
};
export {
__commonJS
};
//# sourceMappingURL=chunk-RSJERJUL.js.map

View file

@ -1,63 +0,0 @@
import {
require_axios
} from "./chunk-JDUKLXPO.js";
import {
__commonJS,
__require
} from "./chunk-7FP5O474.js";
// node_modules/vue-auth-image/vue-auth-image.js
var require_vue_auth_image = __commonJS({
"node_modules/vue-auth-image/vue-auth-image.js"(exports, module) {
(function() {
var vueAuthImage = {};
var axios = typeof __require === "function" ? require_axios() : window.Axios;
if (!axios) {
throw new Error("[vue-auth-image] cannot locate Axios");
}
function setImgSrc(el, binding) {
if (binding.oldValue === void 0 || binding.value !== binding.oldValue) {
var imageUrl = binding.value;
axios({
method: "get",
url: imageUrl,
responseType: "arraybuffer"
}).then(function(resp) {
var mimeType = resp.headers["content-type"].toLowerCase();
var imgBase64 = new Buffer(resp.data, "binary").toString("base64");
el.src = "data:" + mimeType + ";base64," + imgBase64;
}).catch(function() {
el.src = imageUrl;
});
}
}
vueAuthImage.install = function(Vue2) {
Vue2.directive("auth-image", {
bind: function(el, binding) {
setImgSrc(el, binding);
},
componentUpdated: function(el, binding) {
setImgSrc(el, binding);
}
});
};
if (typeof exports == "object") {
module.exports = vueAuthImage;
} else if (typeof define == "function" && define.amd) {
define([], function() {
return vueAuthImage;
});
} else if (window.Vue) {
window.VueAuthImage = vueAuthImage;
Vue.use(vueAuthImage);
}
})();
}
});
// dep:vue-auth-image
var vue_auth_image_default = require_vue_auth_image();
export {
vue_auth_image_default as default
};
//# sourceMappingURL=vue-auth-image.js.map

View file

@ -1,7 +0,0 @@
{
"version": 3,
"sources": ["../../vue-auth-image/vue-auth-image.js", "dep:vue-auth-image"],
"sourcesContent": [";(function () {\n var vueAuthImage = {};\n var axios = typeof require === 'function'\n ? require('axios')\n : window.Axios;\n\n if (!axios) {\n throw new Error('[vue-auth-image] cannot locate Axios');\n }\n\n function setImgSrc(el, binding) {\n if (binding.oldValue === undefined || binding.value !== binding.oldValue) {\n var imageUrl = binding.value;\n axios({\n method: 'get',\n url: imageUrl,\n responseType: 'arraybuffer'\n })\n .then(function(resp) {\n var mimeType = resp.headers['content-type'].toLowerCase();\n var imgBase64 = new Buffer(resp.data, 'binary').toString('base64');\n el.src = 'data:' + mimeType + ';base64,' + imgBase64;\n }).catch((function() {\n el.src = imageUrl;\n }));\n }\n }\n\n vueAuthImage.install = function(Vue) {\n Vue.directive('auth-image', {\n bind: function(el, binding) {\n setImgSrc(el, binding);\n },\n componentUpdated: function(el, binding) {\n setImgSrc(el, binding);\n }\n });\n };\n\n if (typeof exports == 'object') {\n module.exports = vueAuthImage;\n } else if (typeof define == 'function' && define.amd) {\n define([], function() {\n return vueAuthImage;\n });\n } else if (window.Vue) {\n window.VueAuthImage = vueAuthImage;\n Vue.use(vueAuthImage);\n }\n})();\n", "export default require(\"./node_modules/vue-auth-image/vue-auth-image.js\");"],
"mappings": ";;;;;;;;;AAAA;AAAA;AAAC,KAAC,WAAY;AACZ,UAAI,eAAe,CAAC;AACpB,UAAI,QAAQ,OAAO,cAAY,aAC7B,kBACA,OAAO;AAET,UAAI,CAAC,OAAO;AACV,cAAM,IAAI,MAAM,sCAAsC;AAAA,MACxD;AAEA,eAAS,UAAU,IAAI,SAAS;AAC9B,YAAI,QAAQ,aAAa,UAAa,QAAQ,UAAU,QAAQ,UAAU;AACxE,cAAI,WAAW,QAAQ;AACvB,gBAAM;AAAA,YACJ,QAAQ;AAAA,YACR,KAAK;AAAA,YACL,cAAc;AAAA,UAChB,CAAC,EACA,KAAK,SAAS,MAAM;AACnB,gBAAI,WAAW,KAAK,QAAQ,gBAAgB,YAAY;AACxD,gBAAI,YAAY,IAAI,OAAO,KAAK,MAAM,QAAQ,EAAE,SAAS,QAAQ;AACjE,eAAG,MAAM,UAAU,WAAW,aAAa;AAAA,UAC7C,CAAC,EAAE,MAAO,WAAW;AACnB,eAAG,MAAM;AAAA,UACX,CAAE;AAAA,QACJ;AAAA,MACF;AAEA,mBAAa,UAAU,SAASA,MAAK;AACnC,QAAAA,KAAI,UAAU,cAAc;AAAA,UAC1B,MAAM,SAAS,IAAI,SAAS;AAC1B,sBAAU,IAAI,OAAO;AAAA,UACvB;AAAA,UACA,kBAAkB,SAAS,IAAI,SAAS;AACtC,sBAAU,IAAI,OAAO;AAAA,UACvB;AAAA,QACF,CAAC;AAAA,MACH;AAEA,UAAI,OAAO,WAAW,UAAU;AAC9B,eAAO,UAAU;AAAA,MACnB,WAAW,OAAO,UAAU,cAAc,OAAO,KAAK;AACpD,eAAO,CAAC,GAAG,WAAW;AACpB,iBAAO;AAAA,QACT,CAAC;AAAA,MACH,WAAW,OAAO,KAAK;AACrB,eAAO,eAAe;AACtB,YAAI,IAAI,YAAY;AAAA,MACtB;AAAA,IACF,GAAG;AAAA;AAAA;;;ACjDH,IAAO,yBAAQ;",
"names": ["Vue"]
}

View file

@ -16,7 +16,7 @@ import {
watch,
watchEffect
} from "./chunk-4GEKM2TG.js";
import "./chunk-7FP5O474.js";
import "./chunk-RSJERJUL.js";
// node_modules/@vue/devtools-api/lib/esm/env.js
function getDevtoolsGlobalHook() {

View file

@ -145,7 +145,7 @@ import {
withModifiers,
withScopeId
} from "./chunk-4GEKM2TG.js";
import "./chunk-7FP5O474.js";
import "./chunk-RSJERJUL.js";
export {
BaseTransition,
Comment,