mooho-base-admin-plus 0.1.51 → 0.1.52
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/mooho-base-admin-plus.min.esm.js +20 -25
- package/dist/mooho-base-admin-plus.min.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/i18n/locale/en-US.js +1 -1
- package/src/i18n/locale/lang.js +1 -1
- package/src/i18n/locale/zh-CN.js +1 -1
- package/src/layouts/basic-layout/index.vue +1 -1
- package/src/layouts/basic-layout/mixins/click-item.js +21 -21
- package/src/layouts/basic-layout/mixins/sider-menu-badge.js +13 -13
- package/src/layouts/basic-layout/mixins/translate-title.js +11 -11
- package/src/layouts/basic-layout/water-mark/index.vue +29 -29
- package/src/libs/random_str.js +10 -10
- package/src/libs/water-mark.js +44 -44
- package/src/plugins/log/index.js +25 -0
- package/src/styles/common.less +47 -47
- package/src/styles/default/index.less +6 -6
- package/src/styles/font/demo.css +539 -539
- package/src/styles/font/demo_index.html +372 -372
- package/src/styles/font/icon-demo/demo.css +539 -539
- package/src/styles/font/icon-demo/demo_index.html +423 -423
- package/src/styles/font/icon-demo/iconfont.css +61 -61
- package/src/styles/font/icon-demo/iconfont.svg +59 -59
- package/src/styles/font/iconfont.css +47 -47
- package/src/styles/font/iconfont.json +65 -65
- package/src/styles/font/ionicons.svg +869 -869
- package/src/styles/index.less +7 -7
- package/src/styles/layout/basic-layout/layout.less +527 -527
- package/src/styles/layout/basic-layout/menu.less +274 -274
- package/src/styles/layout/index.less +2 -2
- package/src/styles/setting.less +6 -6
|
@@ -27156,9 +27156,8 @@ var __glob_43_34 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
|
|
|
27156
27156
|
__proto__: null,
|
|
27157
27157
|
"default": _404
|
|
27158
27158
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
27159
|
-
const isClient = typeof window !== "undefined";
|
|
27160
27159
|
const on$1 = function() {
|
|
27161
|
-
if (
|
|
27160
|
+
if (document.addEventListener) {
|
|
27162
27161
|
return function(element, event, handler, useCapture = false) {
|
|
27163
27162
|
if (element && event && handler) {
|
|
27164
27163
|
element.addEventListener(event, handler, useCapture);
|
|
@@ -27173,7 +27172,7 @@ const on$1 = function() {
|
|
|
27173
27172
|
}
|
|
27174
27173
|
}();
|
|
27175
27174
|
const off$1 = function() {
|
|
27176
|
-
if (
|
|
27175
|
+
if (document.removeEventListener) {
|
|
27177
27176
|
return function(element, event, handler, useCapture = false) {
|
|
27178
27177
|
if (element && event) {
|
|
27179
27178
|
element.removeEventListener(event, handler, useCapture);
|
|
@@ -27203,8 +27202,6 @@ function camelCase(name) {
|
|
|
27203
27202
|
}).replace(MOZ_HACK_REGEXP, "Moz$1");
|
|
27204
27203
|
}
|
|
27205
27204
|
function getStyle$1(element, styleName) {
|
|
27206
|
-
if (!isClient)
|
|
27207
|
-
return;
|
|
27208
27205
|
if (!element || !styleName)
|
|
27209
27206
|
return null;
|
|
27210
27207
|
styleName = camelCase(styleName);
|
|
@@ -27234,19 +27231,19 @@ function findComponentUpward(context, componentName, componentNames) {
|
|
|
27234
27231
|
return parent;
|
|
27235
27232
|
}
|
|
27236
27233
|
function setMatchMedia() {
|
|
27237
|
-
if (
|
|
27238
|
-
|
|
27239
|
-
|
|
27240
|
-
|
|
27241
|
-
|
|
27242
|
-
|
|
27243
|
-
|
|
27244
|
-
|
|
27245
|
-
|
|
27246
|
-
}
|
|
27234
|
+
if (typeof window !== "undefined") {
|
|
27235
|
+
const matchMediaPolyfill = (mediaQuery) => {
|
|
27236
|
+
return {
|
|
27237
|
+
media: mediaQuery,
|
|
27238
|
+
matches: false,
|
|
27239
|
+
on() {
|
|
27240
|
+
},
|
|
27241
|
+
off() {
|
|
27242
|
+
}
|
|
27243
|
+
};
|
|
27247
27244
|
};
|
|
27248
|
-
|
|
27249
|
-
|
|
27245
|
+
window.matchMedia = window.matchMedia || matchMediaPolyfill;
|
|
27246
|
+
}
|
|
27250
27247
|
}
|
|
27251
27248
|
setMatchMedia();
|
|
27252
27249
|
const _sfc_main$F = {
|
|
@@ -30853,8 +30850,6 @@ var mixinsLink = {
|
|
|
30853
30850
|
},
|
|
30854
30851
|
methods: {
|
|
30855
30852
|
handleOpenTo() {
|
|
30856
|
-
if (!isClient)
|
|
30857
|
-
return;
|
|
30858
30853
|
const router2 = this.$router;
|
|
30859
30854
|
let to = this.to;
|
|
30860
30855
|
if (router2) {
|
|
@@ -30868,8 +30863,6 @@ var mixinsLink = {
|
|
|
30868
30863
|
},
|
|
30869
30864
|
handleClick(new_window = false) {
|
|
30870
30865
|
const router2 = this.$router;
|
|
30871
|
-
if (!isClient)
|
|
30872
|
-
return;
|
|
30873
30866
|
if (new_window) {
|
|
30874
30867
|
this.handleOpenTo();
|
|
30875
30868
|
} else {
|
|
@@ -50123,7 +50116,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50123
50116
|
createVNode$1(_component_router_view, null, {
|
|
50124
50117
|
default: withCtx(({ Component }) => [
|
|
50125
50118
|
(openBlock(), createBlock(KeepAlive, { include: _ctx.keepAlive }, [
|
|
50126
|
-
$data.loadRouter ? (openBlock(), createBlock(resolveDynamicComponent(Component), {
|
|
50119
|
+
$data.loadRouter ? (openBlock(), createBlock(resolveDynamicComponent(Component), {
|
|
50120
|
+
key: _ctx.$route.name
|
|
50121
|
+
})) : createCommentVNode("", true)
|
|
50127
50122
|
], 1032, ["include"]))
|
|
50128
50123
|
]),
|
|
50129
50124
|
_: 1
|
|
@@ -73177,8 +73172,8 @@ var idBase = +new Date() - 0;
|
|
|
73177
73172
|
var groupIdBase = +new Date() - 0;
|
|
73178
73173
|
var DOM_ATTRIBUTE_KEY = "_echarts_instance_";
|
|
73179
73174
|
function init$1(dom, theme2, opts) {
|
|
73180
|
-
var
|
|
73181
|
-
if (
|
|
73175
|
+
var isClient = !(opts && opts.ssr);
|
|
73176
|
+
if (isClient) {
|
|
73182
73177
|
var existInstance = getInstanceByDom(dom);
|
|
73183
73178
|
if (existInstance) {
|
|
73184
73179
|
return existInstance;
|
|
@@ -73187,7 +73182,7 @@ function init$1(dom, theme2, opts) {
|
|
|
73187
73182
|
var chart = new ECharts(dom, theme2, opts);
|
|
73188
73183
|
chart.id = "ec_" + idBase++;
|
|
73189
73184
|
instances[chart.id] = chart;
|
|
73190
|
-
|
|
73185
|
+
isClient && setAttribute(dom, DOM_ATTRIBUTE_KEY, chart.id);
|
|
73191
73186
|
enableConnect(chart);
|
|
73192
73187
|
lifecycle$1.trigger("afterinit", chart);
|
|
73193
73188
|
return chart;
|