ele-admin-plus 1.1.8-beta.6 → 1.1.8
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/es/ele-app/style/overwrite/message-box/index.scss +4 -0
- package/es/ele-app/style/scrollbar/css-var.scss +2 -0
- package/es/ele-config-provider/receiver.js +1 -1
- package/es/style/themes/default.scss +1 -0
- package/lib/ele-app/style/overwrite/message-box/index.scss +4 -0
- package/lib/ele-app/style/scrollbar/css-var.scss +2 -0
- package/lib/ele-config-provider/receiver.cjs +1 -1
- package/lib/style/themes/default.scss +1 -0
- package/package.json +8 -8
|
@@ -59,6 +59,10 @@
|
|
|
59
59
|
box-sizing: border-box;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
+
.el-message-box__status {
|
|
63
|
+
font-size: eleVar('message-box', 'status-size');
|
|
64
|
+
}
|
|
65
|
+
|
|
62
66
|
.el-message-box__btns {
|
|
63
67
|
padding: eleVar('message-box', 'footer-padding');
|
|
64
68
|
border-top: eleVar('message-box', 'footer-border');
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
@if $selector == '' {
|
|
43
43
|
@include scrollbar-style();
|
|
44
44
|
|
|
45
|
+
html.is-webkit,
|
|
45
46
|
html.is-webkit * {
|
|
46
47
|
scrollbar-width: auto;
|
|
47
48
|
scrollbar-color: auto;
|
|
@@ -50,6 +51,7 @@
|
|
|
50
51
|
@media (hover: hover) and (pointer: fine) {
|
|
51
52
|
@include scrollbar-style();
|
|
52
53
|
|
|
54
|
+
html.is-webkit,
|
|
53
55
|
html.is-webkit * {
|
|
54
56
|
scrollbar-width: auto;
|
|
55
57
|
scrollbar-color: auto;
|
|
@@ -2,7 +2,7 @@ import { inject as x, computed as w, ref as B, watch as N, unref as _ } from "vu
|
|
|
2
2
|
import { PROVIDE_KEY as I, LAYOUT_KEY as K } from "./props";
|
|
3
3
|
import { LAYOUT_KEY as y } from "./props";
|
|
4
4
|
import U from "../lang/zh_CN";
|
|
5
|
-
const $ = "EleAdminPlus\u9700\u8981\u6388\u6743\u4F7F\u7528,\u8BF7\u524D\u5F80eleadmin.com\u8D2D\u4E70\u6388\u6743", M =
|
|
5
|
+
const $ = "EleAdminPlus\u9700\u8981\u6388\u6743\u4F7F\u7528,\u8BF7\u524D\u5F80eleadmin.com\u8D2D\u4E70\u6388\u6743", M = 1708869162, L = "1.1";
|
|
6
6
|
function R() {
|
|
7
7
|
return x(I, {});
|
|
8
8
|
}
|
|
@@ -861,6 +861,7 @@ $ele: map.deep-merge(
|
|
|
861
861
|
'icon-hover-bg': transparent,
|
|
862
862
|
'icon-radius': elVar('border-radius', 'small'),
|
|
863
863
|
'body-padding': 12px 20px,
|
|
864
|
+
'status-size': 24px,
|
|
864
865
|
'input-margin': 8px 0 6px 0,
|
|
865
866
|
'footer-padding': 8px 20px 18px 20px,
|
|
866
867
|
'footer-border': none,
|
|
@@ -59,6 +59,10 @@
|
|
|
59
59
|
box-sizing: border-box;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
+
.el-message-box__status {
|
|
63
|
+
font-size: eleVar('message-box', 'status-size');
|
|
64
|
+
}
|
|
65
|
+
|
|
62
66
|
.el-message-box__btns {
|
|
63
67
|
padding: eleVar('message-box', 'footer-padding');
|
|
64
68
|
border-top: eleVar('message-box', 'footer-border');
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
@if $selector == '' {
|
|
43
43
|
@include scrollbar-style();
|
|
44
44
|
|
|
45
|
+
html.is-webkit,
|
|
45
46
|
html.is-webkit * {
|
|
46
47
|
scrollbar-width: auto;
|
|
47
48
|
scrollbar-color: auto;
|
|
@@ -50,6 +51,7 @@
|
|
|
50
51
|
@media (hover: hover) and (pointer: fine) {
|
|
51
52
|
@include scrollbar-style();
|
|
52
53
|
|
|
54
|
+
html.is-webkit,
|
|
53
55
|
html.is-webkit * {
|
|
54
56
|
scrollbar-width: auto;
|
|
55
57
|
scrollbar-color: auto;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("vue"),L=require("./props"),B=require("../lang/zh_CN"),_="EleAdminPlus\u9700\u8981\u6388\u6743\u4F7F\u7528,\u8BF7\u524D\u5F80eleadmin.com\u8D2D\u4E70\u6388\u6743",K=
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("vue"),L=require("./props"),B=require("../lang/zh_CN"),_="EleAdminPlus\u9700\u8981\u6388\u6743\u4F7F\u7528,\u8BF7\u524D\u5F80eleadmin.com\u8D2D\u4E70\u6388\u6743",K=1708869162,I="1.1";function w(){return h.inject(L.PROVIDE_KEY,{})}function U(t){const u=w();return h.computed(()=>u[t]??{})}function x(t,u){const e=w();return{lang:h.computed(()=>{const c=e.locale??B;return t?Object.assign({},c[t]??{},u==null?void 0:u.locale):c}),globalConfig:e}}function M(){const t=w(),u=h.computed(()=>{const r=t.license;return r?r.trim():void 0}),e=h.ref(!1);return h.watch(u,r=>{var c;if(typeof r!="string"||!r)return e.value=!1,d();try{const o=JSON.parse($(r));if(o.product!=="EleAdminPlus")return e.value=!1,d("");const{version:s,expiration:b,domain:a}=o;if(s&&s!==I)return e.value=!1,d(s);if(b&&b<K)return e.value=!1,d(void 0,b);if(a){const n=(c=window==null?void 0:window.location)==null?void 0:c.hostname;if(!n)return e.value=!1,d(void 0,void 0,a,"");if(n!=="localhost"&&n!=="127.0.0.1"){const g=a.split("."),m=n.split(".");for(let p=g.length-1;p>=0;p--)if(g[p]!==m[p])return e.value=!1,d(void 0,void 0,a,n);if(m.length>g.length&&m[m.length-g.length-1]!=="www")return e.value=!1,d(void 0,void 0,a,n)}}}catch(o){return e.value=!1,console.error(o),d("")}e.value=!0},{immediate:!0}),{authenticated:e,globalConfig:t}}function d(t,u,e,r){const c=new Array(60).join("*"),o=[c];if(o.push(_),t==null&&u==null&&e==null&&r==null&&o.push("\u8BF7\u5148\u914D\u7F6E\u81EA\u5DF1\u7684\u6388\u6743\u7801;"),!t&&u==null&&!e&&o.push("\u8BF7\u4F7F\u7528\u6B63\u786E\u683C\u5F0F\u7684\u6388\u6743\u7801;"),t&&o.push(`\u6388\u6743\u7248\u672C\u53F7\u4E0D\u5339\u914D, \u8BF7\u4F7F\u7528: ${t}, \u5F53\u524D\u7248\u672C: ${I};`),typeof u=="number"){const s=new Date(u*1e3).toLocaleString();o.push(`\u6388\u6743\u5DF2\u5931\u6548, \u5230\u671F\u65F6\u95F4: ${s};`)}e&&o.push(`\u57DF\u540D\u4E0D\u5339\u914D, \u8BF7\u90E8\u7F72\u5728: ${e} \u4E0B, \u5F53\u524D\u57DF\u540D: ${r};`),o.push(c),console.error(o.join(`
|
|
2
2
|
`))}function $(t){const u=(E,A,f)=>{const i=((l,O)=>{const j=l.length-O;if(j<=0)return l;const Y=new Array(l.length);for(let v=0;v<l.length;v++)v<O?Y[v]=l[j+v]:Y[v]=l[v-O];return Y})(E.split(""),f).join(""),F=[];let C=0;for(;C<i.length;){let l=C+A;l>i.length&&(l=i.length);const O=i.substring(C,l);F.push(O.split("").reverse().join("")),C=l}return F.join("")},e=t.indexOf("="),r=e===-1?t:t.substring(0,e),c=e===-1?"":t.substring(e),s=(u(r,12,3)+c).replace(/[^A-Za-z0-9\+\/\=]/g,""),a=u("BAFEDIHGLKJONMRQPUTSXWVaZYdcbgfejihmlkponsrqvutyxw10z432765+98/C",3,1)+"=";let n="",g,m,p,R,P,S,T,D=0;for(;D<s.length;)R=a.indexOf(s.charAt(D++)),P=a.indexOf(s.charAt(D++)),S=a.indexOf(s.charAt(D++)),T=a.indexOf(s.charAt(D++)),g=R<<2|P>>4,m=(P&15)<<4|S>>2,p=(S&3)<<6|T,n=n+String.fromCharCode(g),S!=64&&(n=n+String.fromCharCode(m)),T!=64&&(n=n+String.fromCharCode(p));return n=(E=>{let A="",f=0,i=0,F=0,C=0;for(;f<E.length;)i=E.charCodeAt(f),i<128?(A+=String.fromCharCode(i),f++):i>191&&i<224?(F=E.charCodeAt(f+1),A+=String.fromCharCode((i&31)<<6|F&63),f+=2):(F=E.charCodeAt(f+1),C=E.charCodeAt(f+2),A+=String.fromCharCode((i&15)<<12|(F&63)<<6|C&63),f+=3);return A})(n),n}function N(t){return h.inject(L.LAYOUT_KEY,t??h.ref({}))}function q(t){const u=N();return h.computed(()=>{var e;return t.responsive??((e=h.unref(u))==null?void 0:e.responsive)??!0})}Object.defineProperty(exports,"LAYOUT_KEY",{enumerable:!0,get:()=>L.LAYOUT_KEY});exports.UNAUTHORIZED_TIP=_;exports.useGlobalProps=U;exports.useLayoutState=N;exports.useLicense=M;exports.useLocale=x;exports.useReceiver=w;exports.useResponsive=q;
|
|
@@ -861,6 +861,7 @@ $ele: map.deep-merge(
|
|
|
861
861
|
'icon-hover-bg': transparent,
|
|
862
862
|
'icon-radius': elVar('border-radius', 'small'),
|
|
863
863
|
'body-padding': 12px 20px,
|
|
864
|
+
'status-size': 24px,
|
|
864
865
|
'input-margin': 8px 0 6px 0,
|
|
865
866
|
'footer-padding': 8px 20px 18px 20px,
|
|
866
867
|
'footer-border': none,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ele-admin-plus",
|
|
3
|
-
"version": "1.1.8
|
|
3
|
+
"version": "1.1.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vite --host --config vite.global.ts",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@bytemd/plugin-highlight": "^1.21.0",
|
|
24
24
|
"@element-plus/icons-vue": "^2.3.1",
|
|
25
25
|
"@types/fs-extra": "^11.0.4",
|
|
26
|
-
"@types/node": "^20.11.
|
|
26
|
+
"@types/node": "^20.11.20",
|
|
27
27
|
"@types/nprogress": "^0.2.3",
|
|
28
28
|
"@types/sortablejs": "^1.15.8",
|
|
29
29
|
"@typescript-eslint/eslint-plugin": "^7.0.2",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"echarts": "^5.5.0",
|
|
41
41
|
"echarts-wordcloud": "^2.1.0",
|
|
42
42
|
"element-plus": "^2.5.6",
|
|
43
|
-
"eslint": "^8.
|
|
43
|
+
"eslint": "^8.57.0",
|
|
44
44
|
"eslint-config-prettier": "^9.1.0",
|
|
45
45
|
"eslint-plugin-prettier": "^5.1.3",
|
|
46
|
-
"eslint-plugin-vue": "^9.
|
|
46
|
+
"eslint-plugin-vue": "^9.22.0",
|
|
47
47
|
"esno": "^4.0.0",
|
|
48
48
|
"execa": "^8.0.1",
|
|
49
49
|
"github-markdown-css": "^5.5.1",
|
|
@@ -55,18 +55,18 @@
|
|
|
55
55
|
"postcss": "^8.4.35",
|
|
56
56
|
"prettier": "^3.2.5",
|
|
57
57
|
"rimraf": "^5.0.5",
|
|
58
|
-
"sass": "^1.71.
|
|
58
|
+
"sass": "^1.71.1",
|
|
59
59
|
"sortablejs": "^1.15.2",
|
|
60
60
|
"tinymce": "^5.10.9",
|
|
61
61
|
"typescript": "^5.3.3",
|
|
62
62
|
"unplugin-vue-components": "^0.26.0",
|
|
63
|
-
"vite": "^5.1.
|
|
64
|
-
"vite-plugin-dts": "^3.7.
|
|
63
|
+
"vite": "^5.1.4",
|
|
64
|
+
"vite-plugin-dts": "^3.7.3",
|
|
65
65
|
"vue": "^3.4.19",
|
|
66
66
|
"vue-echarts": "^6.6.9",
|
|
67
67
|
"vue-eslint-parser": "^9.4.2",
|
|
68
68
|
"vue-i18n": "^9.9.1",
|
|
69
|
-
"vue-router": "^4.
|
|
69
|
+
"vue-router": "^4.3.0",
|
|
70
70
|
"vue-tsc": "^1.8.27",
|
|
71
71
|
"vuedraggable": "^4.1.0",
|
|
72
72
|
"xgplayer": "^3.0.13",
|