karin-plugin-mys-core 1.0.10 → 1.0.11
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/apps/MiHoYoLogin.js +2 -2
- package/lib/apps/UIDManage.js +2 -2
- package/lib/{chunk-MQ52BX7O.js → chunk-AFLOM3CG.js} +4 -4
- package/lib/{chunk-JT3SU5UU.js → chunk-BBJ4U2IY.js} +3 -2
- package/lib/exports/mys/types/user/userInfo.d.ts +1 -0
- package/lib/exports/render/index.d.ts +2 -1
- package/lib/exports/render/index.js +1 -1
- package/package.json +1 -1
- package/resources/styles/karin-plugin-mys-core.css +4 -4
package/lib/apps/MiHoYoLogin.js
CHANGED
package/lib/apps/UIDManage.js
CHANGED
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ShowBindAccountCmdFunc,
|
|
5
5
|
UnbindAccount,
|
|
6
6
|
UnbindUID
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-AFLOM3CG.js";
|
|
8
|
+
import "../chunk-BBJ4U2IY.js";
|
|
9
9
|
import "../chunk-LBLGKL3W.js";
|
|
10
10
|
import "../chunk-4BTKE3LO.js";
|
|
11
11
|
import "../chunk-2BVJS5VE.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DefaultLayoutComponent,
|
|
3
3
|
React
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-BBJ4U2IY.js";
|
|
5
5
|
import {
|
|
6
6
|
ReactRender
|
|
7
7
|
} from "./chunk-LBLGKL3W.js";
|
|
@@ -21,7 +21,7 @@ var ShowBindAccountComponent = ({
|
|
|
21
21
|
AccountList
|
|
22
22
|
}) => {
|
|
23
23
|
const plugin = Render.plugin;
|
|
24
|
-
return /* @__PURE__ */ React.createElement(DefaultLayoutComponent, {
|
|
24
|
+
return /* @__PURE__ */ React.createElement(DefaultLayoutComponent, { bg: "bg-[#f6f0e6]", width: "w-[600px]" }, /* @__PURE__ */ React.createElement("div", { className: "w-full px-[18px] pb-9 pt-5" }, /* @__PURE__ */ React.createElement(
|
|
25
25
|
"div",
|
|
26
26
|
{
|
|
27
27
|
className: "absolute -top-2.5 right-0 z-[5] h-[72px] w-[150px] bg-contain bg-center bg-no-repeat opacity-50",
|
|
@@ -33,7 +33,7 @@ var ShowBindAccountComponent = ({
|
|
|
33
33
|
className: "mb-3 flex flex-col gap-1.5 rounded-lg border border-black/[0.06] bg-white p-3 shadow-[0_2px_6px_rgba(0,0,0,0.04)]",
|
|
34
34
|
key: account.ltuid
|
|
35
35
|
},
|
|
36
|
-
/* @__PURE__ */ React.createElement("div", { className: "relative flex items-center justify-between gap-2" }, /* @__PURE__ */ React.createElement("span", { className: "flex text-sm font-semibold text-[#3f7dd1]" }, "MYS UID (", idx + 1, ")\uFF1A", account.ltuid), /* @__PURE__ */ React.createElement("div", { className: "flex items-center gap-2" }, account.permission >= 1 && /* @__PURE__ */ React.createElement("span", { className: "inline-block rounded-xl bg-gradient-to-b from-[#34bc5b] to-[#2ea94b] px-2 py-1 text-xs font-semibold text-white shadow-[0_1px_0_rgba(0,0,0,0.06)_inset]" }, "cookie"), account.permission >= 2 && /* @__PURE__ */ React.createElement("span", { className: "inline-block rounded-xl bg-gradient-to-b from-[#f6d86a] to-[#f1c40f] px-2 py-1 text-xs font-semibold text-black/85" }, "stoken"))),
|
|
36
|
+
/* @__PURE__ */ React.createElement("div", { className: "relative flex items-center justify-between gap-2" }, /* @__PURE__ */ React.createElement("span", { className: "flex text-sm font-semibold text-[#3f7dd1]" }, "MYS UID ( ", idx + 1, " )\uFF1A", account.ltuid), /* @__PURE__ */ React.createElement("div", { className: "flex items-center gap-2" }, account.permission >= 1 && /* @__PURE__ */ React.createElement("span", { className: "inline-block rounded-xl bg-gradient-to-b from-[#34bc5b] to-[#2ea94b] px-2 py-1 text-xs font-semibold text-white shadow-[0_1px_0_rgba(0,0,0,0.06)_inset]" }, "cookie"), account.permission >= 2 && /* @__PURE__ */ React.createElement("span", { className: "inline-block rounded-xl bg-gradient-to-b from-[#f6d86a] to-[#f1c40f] px-2 py-1 text-xs font-semibold text-black/85" }, "stoken"))),
|
|
37
37
|
account.bindUids.map((bindUid, bindIdx) => /* @__PURE__ */ React.createElement(
|
|
38
38
|
"div",
|
|
39
39
|
{
|
|
@@ -52,7 +52,7 @@ var ShowBindAccountComponent = ({
|
|
|
52
52
|
"span",
|
|
53
53
|
{
|
|
54
54
|
key: info.uid,
|
|
55
|
-
className: `relative flex items-center justify-center overflow-visible break-all rounded-lg bg-black/[0.06] px-2 py-1.5 text-[13px] font-semibold text-[#
|
|
55
|
+
className: `relative flex items-center justify-center overflow-visible break-all rounded-lg bg-black/[0.06] px-2 py-1.5 text-[13px] font-semibold text-[#34bc5b] ${info.perm === 4 ? "text-black/60 after:absolute after:left-[8%] after:right-[8%] after:top-1/2 after:h-px after:rounded-sm after:bg-[#d32f2f] after:-translate-y-1/2" : ""}`
|
|
56
56
|
},
|
|
57
57
|
info.uid
|
|
58
58
|
)))
|
|
@@ -10,14 +10,15 @@ import { config } from "node-karin";
|
|
|
10
10
|
import React from "react";
|
|
11
11
|
var DefaultLayoutComponent = ({
|
|
12
12
|
children,
|
|
13
|
-
|
|
13
|
+
bg,
|
|
14
|
+
width,
|
|
14
15
|
mysPlugin
|
|
15
16
|
}) => {
|
|
16
17
|
const karinVersion = config.pkg().version;
|
|
17
18
|
return /* @__PURE__ */ React.createElement(
|
|
18
19
|
"div",
|
|
19
20
|
{
|
|
20
|
-
className: `relative flex
|
|
21
|
+
className: `relative flex ${width} flex-col pb-10 font-hywh text-black ${bg}`,
|
|
21
22
|
id: "container"
|
|
22
23
|
},
|
|
23
24
|
children,
|
package/package.json
CHANGED
|
@@ -952,14 +952,14 @@ video {
|
|
|
952
952
|
line-height: 1;
|
|
953
953
|
}
|
|
954
954
|
|
|
955
|
-
.text-\[\#
|
|
955
|
+
.text-\[\#222\] {
|
|
956
956
|
--tw-text-opacity: 1;
|
|
957
|
-
color: rgb(
|
|
957
|
+
color: rgb(34 34 34 / var(--tw-text-opacity, 1));
|
|
958
958
|
}
|
|
959
959
|
|
|
960
|
-
.text-\[\#
|
|
960
|
+
.text-\[\#34bc5b\] {
|
|
961
961
|
--tw-text-opacity: 1;
|
|
962
|
-
color: rgb(
|
|
962
|
+
color: rgb(52 188 91 / var(--tw-text-opacity, 1));
|
|
963
963
|
}
|
|
964
964
|
|
|
965
965
|
.text-\[\#3f7dd1\] {
|