karin-plugin-mys-core 1.0.24 → 1.0.26

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.
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ShowBindAccountCmdFunc
3
- } from "../chunk-AVUQGP7L.js";
4
- import "../chunk-QZUNBUDC.js";
3
+ } from "../chunk-VNA6MX7Y.js";
4
+ import "../chunk-7DVGA2JO.js";
5
5
  import {
6
6
  UserInfo,
7
7
  fetchQRcode,
@@ -5,8 +5,8 @@ import {
5
5
  ShowBindAccountCmdFunc,
6
6
  UnbindAccount,
7
7
  UnbindUID
8
- } from "../chunk-AVUQGP7L.js";
9
- import "../chunk-QZUNBUDC.js";
8
+ } from "../chunk-VNA6MX7Y.js";
9
+ import "../chunk-7DVGA2JO.js";
10
10
  import "../chunk-XSW4HNMM.js";
11
11
  import "../chunk-5LRGHP36.js";
12
12
  import "../chunk-HI6OZTI2.js";
@@ -25,25 +25,25 @@ var DefaultLayoutComponent = ({
25
25
  id: "container"
26
26
  },
27
27
  children,
28
- /* @__PURE__ */ React.createElement("div", { className: "absolute bottom-0 left-0 flex w-full items-center justify-center gap-4 px-4 py-2.5 text-sm" }, mysPlugin && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: "flex items-center gap-2" }, /* @__PURE__ */ React.createElement(
28
+ /* @__PURE__ */ React.createElement("div", { className: "absolute bottom-0 left-0 flex w-full items-center justify-center gap-3 pt-2 text-sm bg-black/20" }, mysPlugin && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement("div", { className: "flex items-center gap-2" }, /* @__PURE__ */ React.createElement(
29
29
  "img",
30
30
  {
31
31
  src: `${mysPlugin.logoPath}`,
32
32
  className: "h-6 w-6 rounde"
33
33
  }
34
- ), /* @__PURE__ */ React.createElement("div", { className: "flex flex-col" }, /* @__PURE__ */ React.createElement("span", { className: "text-[5px] font-bold leading-none text-black" }, "KARIN-MYS-PLUGIN"), /* @__PURE__ */ React.createElement("div", { className: "flex items-baseline gap-0.5" }, /* @__PURE__ */ React.createElement("span", { className: "font-semibold" }, mysPlugin.name), /* @__PURE__ */ React.createElement("strong", { className: "text-xs font-bold text-[#f2c06f]" }, "v", mysPlugin.version)))), /* @__PURE__ */ React.createElement("div", { className: "h-8 w-px bg-gray-600" })), /* @__PURE__ */ React.createElement("div", { className: "flex items-center gap-2" }, /* @__PURE__ */ React.createElement(
34
+ ), /* @__PURE__ */ React.createElement("div", { className: "flex flex-col" }, /* @__PURE__ */ React.createElement("span", { className: "text-[5px] font-bold leading-none text-black" }, "KARIN-MYS-PLUGIN"), /* @__PURE__ */ React.createElement("div", { className: `flex ${mysPlugin.version.length > 8 ? "flex-col" : "items-baseline gap-0.5"}` }, /* @__PURE__ */ React.createElement("span", { className: "font-semibold" }, mysPlugin.name), /* @__PURE__ */ React.createElement("strong", { className: "text-[8px] font-bold text-[#f2c06f]" }, "v", mysPlugin.version)))), /* @__PURE__ */ React.createElement("div", { className: "h-8 w-px bg-gray-600" })), /* @__PURE__ */ React.createElement("div", { className: "flex items-center gap-2" }, /* @__PURE__ */ React.createElement(
35
35
  "img",
36
36
  {
37
37
  src: `${dir.pluginDir}/resources/image/mys-core-logo.webp`,
38
38
  className: "h-6 w-6 rounded-sm"
39
39
  }
40
- ), /* @__PURE__ */ React.createElement("div", { className: "flex flex-col" }, /* @__PURE__ */ React.createElement("span", { className: "text-[5px] font-bold leading-none text-black" }, "KARIN-PLUGIN"), /* @__PURE__ */ React.createElement("div", { className: "flex items-baseline gap-0.5" }, /* @__PURE__ */ React.createElement("span", { className: "font-semibold" }, "MysCore"), /* @__PURE__ */ React.createElement("strong", { className: "text-xs font-bold text-[#f2c06f]" }, "v", dir.version)))), /* @__PURE__ */ React.createElement("div", { className: "h-8 w-px bg-gray-600" }), /* @__PURE__ */ React.createElement("div", { className: "flex items-center gap-2" }, /* @__PURE__ */ React.createElement(
40
+ ), /* @__PURE__ */ React.createElement("div", { className: "flex flex-col" }, /* @__PURE__ */ React.createElement("span", { className: "text-[5px] font-bold leading-none text-black" }, "KARIN-PLUGIN"), /* @__PURE__ */ React.createElement("div", { className: `flex ${dir.version.length > 8 ? "flex-col" : "items-baseline gap-0.5"}` }, /* @__PURE__ */ React.createElement("span", { className: "font-semibold" }, "MysCore"), /* @__PURE__ */ React.createElement("strong", { className: "text-[8px] font-bold text-[#f2c06f]" }, "v", dir.version)))), /* @__PURE__ */ React.createElement("div", { className: "h-8 w-px bg-gray-600" }), /* @__PURE__ */ React.createElement("div", { className: "flex items-center gap-2" }, /* @__PURE__ */ React.createElement(
41
41
  "img",
42
42
  {
43
43
  src: `${dir.pluginDir}/resources/image/frame-logo.webp`,
44
44
  className: "h-6 w-6 rounded-sm"
45
45
  }
46
- ), /* @__PURE__ */ React.createElement("div", { className: "flex flex-col" }, /* @__PURE__ */ React.createElement("span", { className: "text-[5px] font-bold leading-none text-black" }, "IS DRIVEN BY"), /* @__PURE__ */ React.createElement("div", { className: "flex items-baseline gap-1.5" }, /* @__PURE__ */ React.createElement("span", { className: "font-semibold" }, "Karin"), /* @__PURE__ */ React.createElement("strong", { className: "text-[10px] font-bold text-[#f2c06f]" }, "v", karinVersion)))))
46
+ ), /* @__PURE__ */ React.createElement("div", { className: "flex flex-col" }, /* @__PURE__ */ React.createElement("span", { className: "text-[5px] font-bold leading-none text-black" }, "IS DRIVEN BY"), /* @__PURE__ */ React.createElement("div", { className: `flex ${karinVersion.length > 8 ? "flex-col" : "items-baseline gap-0.5"}` }, /* @__PURE__ */ React.createElement("span", { className: "font-semibold" }, "Karin"), /* @__PURE__ */ React.createElement("strong", { className: "text-[8px] font-bold text-[#f2c06f]" }, "v", karinVersion)))))
47
47
  );
48
48
  };
49
49
 
@@ -2,7 +2,7 @@ import {
2
2
  DefaultLayoutComponent,
3
3
  React,
4
4
  ReactRender
5
- } from "./chunk-QZUNBUDC.js";
5
+ } from "./chunk-7DVGA2JO.js";
6
6
  import {
7
7
  MysGame,
8
8
  UserInfo
@@ -3,7 +3,7 @@ type PathImpl<T, Key extends keyof T> = Key extends string | number ? T[Key] ext
3
3
  type Path<T> = PathImpl<T, keyof T> | keyof T;
4
4
  type PathValue<T, P> = P extends keyof T ? T[P] : P extends `${infer K}.${infer Rest}` ? K extends keyof T ? PathValue<T[K], Rest> : {
5
5
  [Key in keyof T]: ToString<Key> extends K ? PathValue<T[Key], Rest> : never;
6
- }[keyof T] : never;
6
+ }[keyof T] : T[P];
7
7
  declare class Config<C extends {
8
8
  [key: string]: any;
9
9
  }> {
@@ -2,7 +2,7 @@ import {
2
2
  DefaultLayoutComponent,
3
3
  React,
4
4
  ReactRender
5
- } from "../../chunk-QZUNBUDC.js";
5
+ } from "../../chunk-7DVGA2JO.js";
6
6
  import "../../chunk-RX4VMVAI.js";
7
7
  import "../../chunk-SHLPPEAY.js";
8
8
  import "../../chunk-MLKGABMK.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "karin-plugin-mys-core",
3
- "version": "1.0.24",
3
+ "version": "1.0.26",
4
4
  "author": "babanbang",
5
5
  "type": "module",
6
6
  "description": "karin-plugin-mys-core",
@@ -729,10 +729,6 @@ video {
729
729
  gap: 0.75rem;
730
730
  }
731
731
 
732
- .gap-4 {
733
- gap: 1rem;
734
- }
735
-
736
732
  .overflow-visible {
737
733
  overflow: visible;
738
734
  }
@@ -777,6 +773,10 @@ video {
777
773
  border-color: rgb(0 0 0 / 0.06);
778
774
  }
779
775
 
776
+ .bg-black\/20 {
777
+ background-color: rgb(0 0 0 / 0.2);
778
+ }
779
+
780
780
  .bg-black\/\[0\.06\] {
781
781
  background-color: rgb(0 0 0 / 0.06);
782
782
  }
@@ -850,11 +850,6 @@ video {
850
850
  padding-right: 0.5rem;
851
851
  }
852
852
 
853
- .px-4 {
854
- padding-left: 1rem;
855
- padding-right: 1rem;
856
- }
857
-
858
853
  .px-5 {
859
854
  padding-left: 1.25rem;
860
855
  padding-right: 1.25rem;
@@ -875,11 +870,6 @@ video {
875
870
  padding-bottom: 0.375rem;
876
871
  }
877
872
 
878
- .py-2\.5 {
879
- padding-top: 0.625rem;
880
- padding-bottom: 0.625rem;
881
- }
882
-
883
873
  .py-5 {
884
874
  padding-top: 1.25rem;
885
875
  padding-bottom: 1.25rem;
@@ -893,6 +883,10 @@ video {
893
883
  padding-bottom: 2.25rem;
894
884
  }
895
885
 
886
+ .pt-2 {
887
+ padding-top: 0.5rem;
888
+ }
889
+
896
890
  .pt-3 {
897
891
  padding-top: 0.75rem;
898
892
  }
@@ -909,10 +903,6 @@ video {
909
903
  font-family: HYWenHei-55W, sans-serif;
910
904
  }
911
905
 
912
- .text-\[10px\] {
913
- font-size: 10px;
914
- }
915
-
916
906
  .text-\[13px\] {
917
907
  font-size: 13px;
918
908
  }
@@ -921,6 +911,10 @@ video {
921
911
  font-size: 5px;
922
912
  }
923
913
 
914
+ .text-\[8px\] {
915
+ font-size: 8px;
916
+ }
917
+
924
918
  .text-sm {
925
919
  font-size: 0.875rem;
926
920
  line-height: 1.25rem;