react-toolkits 0.5.0 → 0.6.1
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/CHANGELOG.md +12 -0
- package/lib/{index-dETo--R9.chunk.js → index--IzpN17D.chunk.js} +3 -3
- package/lib/{index-46YNBewp.chunk.js → index-2FO-ET69.chunk.js} +2 -2
- package/lib/{index-SypqQFGs.chunk.js → index-4uNkSrl1.chunk.js} +1 -1
- package/lib/index-Jb2Di1R1.chunk.js +52 -0
- package/lib/{index-eh8cxTQW.chunk.js → index-RcVaYXhd.chunk.js} +2 -2
- package/lib/{index-ZZXzToVD.chunk.js → index-horJRMva.chunk.js} +1 -1
- package/lib/{index-2yXDMFsB.chunk.js → index-kqzdktLP.chunk.js} +1 -1
- package/lib/{index-gdaNSPz6.chunk.js → index-nWWXm1DX.chunk.js} +1789 -1785
- package/lib/{index-MckNf-V8.chunk.js → index-oOPKjw0G.chunk.js} +3 -3
- package/lib/index.d.ts +6 -3
- package/lib/index.js +1 -1
- package/lib/style.css +1 -1
- package/locales/en_GB.d.ts +5 -2
- package/locales/en_GB.js +10 -7
- package/locales/ja_JP.d.ts +5 -2
- package/locales/ja_JP.js +7 -4
- package/locales/ko_KR.d.ts +5 -2
- package/locales/ko_KR.js +7 -4
- package/locales/zh_CN.d.ts +5 -2
- package/locales/zh_CN.js +8 -5
- package/package.json +7 -6
- package/lib/index-GnoTyQLT.chunk.js +0 -1448
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as O, _, e as M, b as T, f as b, u as f, j as e, P as y, r as z, H as $, Q as G, h as A } from "./index-
|
|
1
|
+
import { A as O, _, e as M, b as T, f as b, u as f, j as e, P as y, r as z, H as $, Q as G, h as A } from "./index-nWWXm1DX.chunk.js";
|
|
2
2
|
import { App as R, Space as H, Card as P, Form as m, Input as S } from "antd";
|
|
3
3
|
import { p as k } from "./immer-BLf7GM7E.chunk.js";
|
|
4
4
|
import { Link as B } from "react-router-dom";
|
|
5
|
-
import { P as v } from "./index-
|
|
6
|
-
import { a as E, b as V, c as q } from "./index-
|
|
5
|
+
import { P as v } from "./index-2FO-ET69.chunk.js";
|
|
6
|
+
import { a as E, b as V, c as q } from "./index-kqzdktLP.chunk.js";
|
|
7
7
|
import * as I from "react";
|
|
8
8
|
import "react-dom";
|
|
9
9
|
var F = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M892 772h-80v-80c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v80h-80c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h80v80c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-80h80c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM373.5 498.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.8-1.7-203.2 89.2-203.2 200 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.8-1.1 6.4-4.8 5.9-8.8zM824 472c0-109.4-87.9-198.3-196.9-200C516.3 270.3 424 361.2 424 472c0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C357 742.6 326 814.8 324 891.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5C505.8 695.7 563 672 624 672c110.4 0 200-89.5 200-200zm-109.5 90.5C690.3 586.7 658.2 600 624 600s-66.3-13.3-90.5-37.5a127.26 127.26 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4-.1 34.2-13.4 66.3-37.6 90.5z" } }] }, name: "usergroup-add", theme: "outlined" };
|
package/lib/index.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ import { UseBoundStore } from 'zustand';
|
|
|
26
26
|
export declare const ContextProvider: FC<PropsWithChildren<Partial<ContextState>>>;
|
|
27
27
|
|
|
28
28
|
export declare interface ContextState {
|
|
29
|
-
|
|
29
|
+
appTitle: string;
|
|
30
30
|
menuItems: NavMenuItem[];
|
|
31
31
|
hideGameSelect: boolean;
|
|
32
32
|
usePermissionApiV2: boolean;
|
|
@@ -129,18 +129,21 @@ export declare type Locale = {
|
|
|
129
129
|
user: string;
|
|
130
130
|
role: string;
|
|
131
131
|
username: string;
|
|
132
|
+
password: string;
|
|
132
133
|
label: string;
|
|
133
134
|
method: string;
|
|
134
135
|
route: string;
|
|
135
136
|
request: string;
|
|
136
137
|
response: string;
|
|
137
138
|
add: string;
|
|
139
|
+
signIn: string;
|
|
138
140
|
};
|
|
139
|
-
|
|
141
|
+
SignIn: {
|
|
140
142
|
title: string;
|
|
141
143
|
thirdParty: string;
|
|
142
|
-
|
|
144
|
+
signInWithIDass: string;
|
|
143
145
|
notRegistered: string;
|
|
146
|
+
welcome: string;
|
|
144
147
|
};
|
|
145
148
|
NotFound: {
|
|
146
149
|
subTitle: string;
|
package/lib/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as i, D as u, F as n, G as m, H as p,
|
|
1
|
+
import { C as i, D as u, F as n, G as m, H as p, q as l, L as d, N as x, P as y, v as L, Q as P, p as S, K as g, R as G, y as T, x as c, B as h, r as q, h as F, t as Q, e as R, z as f, f as k, a as v, b as B, u as C, E as D, J as E } from "./index-nWWXm1DX.chunk.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "antd";
|
|
4
4
|
import "react-dom";
|
package/lib/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}
|
|
1
|
+
*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.bottom-0{bottom:0}.left-0{left:0}.left-14{left:3.5rem}.right-0{right:0}.right-16{right:4rem}.top-0{top:0}.top-1\/2{top:50%}.top-16{top:4rem}.top-6{top:1.5rem}.z-10{z-index:10}.my-12{margin-top:3rem;margin-bottom:3rem}.-mb-0{margin-bottom:-0px}.-mb-0\.5{margin-bottom:-.125rem}.mb-12{margin-bottom:3rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.ml-2{margin-left:.5rem}.ml-64{margin-left:16rem}.ml-8{margin-left:2rem}.mr-2{margin-right:.5rem}.mt-2{margin-top:.5rem}.mt-4{margin-top:1rem}.block{display:block}.inline{display:inline}.flex{display:flex}.hidden{display:none}.h-10{height:2.5rem}.h-8{height:2rem}.h-full{height:100%}.h-screen{height:100vh}.max-h-32{max-height:8rem}.w-10\/12{width:83.333333%}.w-8{width:2rem}.w-\[18px\]{width:18px}.w-\[650px\]{width:650px}.w-full{width:100%}.w-screen{width:100vw}.flex-1{flex:1 1 0%}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-10{--tw-translate-y: -2.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-col{flex-direction:column}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.overflow-auto{overflow:auto}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-slate-50{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}.p-6{padding:1.5rem}.px-36{padding-left:9rem;padding-right:9rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.font-bold{font-weight:700}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}html,body{padding:0;margin:0}.toolkits-modal .ant-modal-confirm .ant-modal-confirm-paragraph{max-width:100%!important}
|
package/locales/en_GB.d.ts
CHANGED
|
@@ -12,18 +12,21 @@ declare type Locale = {
|
|
|
12
12
|
user: string;
|
|
13
13
|
role: string;
|
|
14
14
|
username: string;
|
|
15
|
+
password: string;
|
|
15
16
|
label: string;
|
|
16
17
|
method: string;
|
|
17
18
|
route: string;
|
|
18
19
|
request: string;
|
|
19
20
|
response: string;
|
|
20
21
|
add: string;
|
|
22
|
+
signIn: string;
|
|
21
23
|
};
|
|
22
|
-
|
|
24
|
+
SignIn: {
|
|
23
25
|
title: string;
|
|
24
26
|
thirdParty: string;
|
|
25
|
-
|
|
27
|
+
signInWithIDass: string;
|
|
26
28
|
notRegistered: string;
|
|
29
|
+
welcome: string;
|
|
27
30
|
};
|
|
28
31
|
NotFound: {
|
|
29
32
|
subTitle: string;
|
package/locales/en_GB.js
CHANGED
|
@@ -12,22 +12,25 @@ const e = {
|
|
|
12
12
|
user: "User",
|
|
13
13
|
role: "Role",
|
|
14
14
|
username: "Username",
|
|
15
|
+
password: "Password",
|
|
15
16
|
label: "Label",
|
|
16
17
|
method: "Method",
|
|
17
18
|
route: "Route",
|
|
18
19
|
request: "Request",
|
|
19
20
|
response: "Response",
|
|
20
|
-
add: "Add"
|
|
21
|
+
add: "Add",
|
|
22
|
+
signIn: "Sign In"
|
|
21
23
|
},
|
|
22
|
-
|
|
23
|
-
title: "
|
|
24
|
-
thirdParty: "Third
|
|
25
|
-
|
|
26
|
-
notRegistered: "You are not yet registered on the platform, please contact the administrator"
|
|
24
|
+
SignIn: {
|
|
25
|
+
title: "Sign In Method",
|
|
26
|
+
thirdParty: "Third party sign in",
|
|
27
|
+
signInWithIDass: "Sign in width IDass",
|
|
28
|
+
notRegistered: "You are not yet registered on the platform, please contact the administrator",
|
|
29
|
+
welcome: "Welcome"
|
|
27
30
|
},
|
|
28
31
|
NotFound: {
|
|
29
32
|
subTitle: "The page you visited does not exist",
|
|
30
|
-
buttonText: "Return to
|
|
33
|
+
buttonText: "Return to homepage"
|
|
31
34
|
},
|
|
32
35
|
FilterFormWrapper: {
|
|
33
36
|
confirmText: "Search",
|
package/locales/ja_JP.d.ts
CHANGED
|
@@ -12,18 +12,21 @@ declare type Locale = {
|
|
|
12
12
|
user: string;
|
|
13
13
|
role: string;
|
|
14
14
|
username: string;
|
|
15
|
+
password: string;
|
|
15
16
|
label: string;
|
|
16
17
|
method: string;
|
|
17
18
|
route: string;
|
|
18
19
|
request: string;
|
|
19
20
|
response: string;
|
|
20
21
|
add: string;
|
|
22
|
+
signIn: string;
|
|
21
23
|
};
|
|
22
|
-
|
|
24
|
+
SignIn: {
|
|
23
25
|
title: string;
|
|
24
26
|
thirdParty: string;
|
|
25
|
-
|
|
27
|
+
signInWithIDass: string;
|
|
26
28
|
notRegistered: string;
|
|
29
|
+
welcome: string;
|
|
27
30
|
};
|
|
28
31
|
NotFound: {
|
|
29
32
|
subTitle: string;
|
package/locales/ja_JP.js
CHANGED
|
@@ -12,18 +12,21 @@ const e = {
|
|
|
12
12
|
user: "ユーザー",
|
|
13
13
|
role: "役割",
|
|
14
14
|
username: "ユーザー名",
|
|
15
|
+
password: "パスワード",
|
|
15
16
|
label: "ラベル",
|
|
16
17
|
method: "方法",
|
|
17
18
|
route: "ルート",
|
|
18
19
|
request: "リクエスト",
|
|
19
20
|
response: "レスポンス",
|
|
20
|
-
add: "ついか"
|
|
21
|
+
add: "ついか",
|
|
22
|
+
signIn: "ログイン"
|
|
21
23
|
},
|
|
22
|
-
|
|
24
|
+
SignIn: {
|
|
23
25
|
title: "ログイン方法",
|
|
24
26
|
thirdParty: "サードパーティログイン",
|
|
25
|
-
|
|
26
|
-
notRegistered: "あなたはまだプラットフォームに登録されていません、管理者に連絡してください"
|
|
27
|
+
signInWithIDass: "IDass ログイン",
|
|
28
|
+
notRegistered: "あなたはまだプラットフォームに登録されていません、管理者に連絡してください",
|
|
29
|
+
welcome: "ウェルカム"
|
|
27
30
|
},
|
|
28
31
|
NotFound: {
|
|
29
32
|
subTitle: "アクセスしたページは存在しません",
|
package/locales/ko_KR.d.ts
CHANGED
|
@@ -12,18 +12,21 @@ declare type Locale = {
|
|
|
12
12
|
user: string;
|
|
13
13
|
role: string;
|
|
14
14
|
username: string;
|
|
15
|
+
password: string;
|
|
15
16
|
label: string;
|
|
16
17
|
method: string;
|
|
17
18
|
route: string;
|
|
18
19
|
request: string;
|
|
19
20
|
response: string;
|
|
20
21
|
add: string;
|
|
22
|
+
signIn: string;
|
|
21
23
|
};
|
|
22
|
-
|
|
24
|
+
SignIn: {
|
|
23
25
|
title: string;
|
|
24
26
|
thirdParty: string;
|
|
25
|
-
|
|
27
|
+
signInWithIDass: string;
|
|
26
28
|
notRegistered: string;
|
|
29
|
+
welcome: string;
|
|
27
30
|
};
|
|
28
31
|
NotFound: {
|
|
29
32
|
subTitle: string;
|
package/locales/ko_KR.js
CHANGED
|
@@ -12,18 +12,21 @@ const e = {
|
|
|
12
12
|
user: "사용자",
|
|
13
13
|
role: "역할",
|
|
14
14
|
username: "사용자 이름",
|
|
15
|
+
password: "비밀번호",
|
|
15
16
|
label: "라벨",
|
|
16
17
|
method: "방법",
|
|
17
18
|
route: "노선",
|
|
18
19
|
request: "요청",
|
|
19
20
|
response: "응답",
|
|
20
|
-
add: "추가"
|
|
21
|
+
add: "추가",
|
|
22
|
+
signIn: "로그인"
|
|
21
23
|
},
|
|
22
|
-
|
|
24
|
+
SignIn: {
|
|
23
25
|
title: "로그인 방법",
|
|
24
26
|
thirdParty: "제3자 로그인",
|
|
25
|
-
|
|
26
|
-
notRegistered: "플랫폼에 아직 등록되지 않았습니다, 관리자에게 문의하십시오"
|
|
27
|
+
signInWithIDass: "IDass 로그인",
|
|
28
|
+
notRegistered: "플랫폼에 아직 등록되지 않았습니다, 관리자에게 문의하십시오",
|
|
29
|
+
welcome: "웰컴"
|
|
27
30
|
},
|
|
28
31
|
NotFound: {
|
|
29
32
|
subTitle: "방문한 페이지가 존재하지 않습니다",
|
package/locales/zh_CN.d.ts
CHANGED
|
@@ -12,18 +12,21 @@ declare type Locale = {
|
|
|
12
12
|
user: string;
|
|
13
13
|
role: string;
|
|
14
14
|
username: string;
|
|
15
|
+
password: string;
|
|
15
16
|
label: string;
|
|
16
17
|
method: string;
|
|
17
18
|
route: string;
|
|
18
19
|
request: string;
|
|
19
20
|
response: string;
|
|
20
21
|
add: string;
|
|
22
|
+
signIn: string;
|
|
21
23
|
};
|
|
22
|
-
|
|
24
|
+
SignIn: {
|
|
23
25
|
title: string;
|
|
24
26
|
thirdParty: string;
|
|
25
|
-
|
|
27
|
+
signInWithIDass: string;
|
|
26
28
|
notRegistered: string;
|
|
29
|
+
welcome: string;
|
|
27
30
|
};
|
|
28
31
|
NotFound: {
|
|
29
32
|
subTitle: string;
|
package/locales/zh_CN.js
CHANGED
|
@@ -12,22 +12,25 @@ const e = {
|
|
|
12
12
|
user: "用户",
|
|
13
13
|
role: "角色",
|
|
14
14
|
username: "用户名",
|
|
15
|
+
password: "密码",
|
|
15
16
|
label: "标签",
|
|
16
17
|
method: "方法",
|
|
17
18
|
route: "路由",
|
|
18
19
|
request: "请求",
|
|
19
20
|
response: "响应",
|
|
20
|
-
add: "添加"
|
|
21
|
+
add: "添加",
|
|
22
|
+
signIn: "登录"
|
|
21
23
|
},
|
|
22
|
-
|
|
24
|
+
SignIn: {
|
|
23
25
|
title: "登录方式",
|
|
24
26
|
thirdParty: "第三方登录",
|
|
25
|
-
|
|
26
|
-
notRegistered: "您还未在平台注册,请联系管理员"
|
|
27
|
+
signInWithIDass: "IDass 登录",
|
|
28
|
+
notRegistered: "您还未在平台注册,请联系管理员",
|
|
29
|
+
welcome: "欢迎"
|
|
27
30
|
},
|
|
28
31
|
NotFound: {
|
|
29
32
|
subTitle: "访问的页面不存在",
|
|
30
|
-
buttonText: "
|
|
33
|
+
buttonText: "返回首页"
|
|
31
34
|
},
|
|
32
35
|
FilterFormWrapper: {
|
|
33
36
|
confirmText: "查询",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-toolkits",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"packageManager": "^pnpm@8.7.5",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"**/*.css"
|
|
@@ -53,23 +53,24 @@
|
|
|
53
53
|
"@types/react": "^18.2.45",
|
|
54
54
|
"@types/react-dom": "^18.2.18",
|
|
55
55
|
"@vitejs/plugin-react": "^4.2.1",
|
|
56
|
-
"antd": "^5.12.
|
|
56
|
+
"antd": "^5.12.4",
|
|
57
57
|
"autoprefixer": "^10.4.16",
|
|
58
|
+
"glob": "^10.3.10",
|
|
58
59
|
"postcss": "^8.4.32",
|
|
59
60
|
"prettier": "^3.1.1",
|
|
60
61
|
"react": "^18.2.0",
|
|
61
62
|
"react-dom": "^18.2.0",
|
|
62
63
|
"react-router-dom": "^6.21.0",
|
|
63
64
|
"rollup-plugin-dts": "^6.1.0",
|
|
64
|
-
"tailwindcss": "^3.
|
|
65
|
+
"tailwindcss": "^3.4.0",
|
|
65
66
|
"ts-essentials": "^9.4.1",
|
|
66
67
|
"ts-node": "^10.9.2",
|
|
67
68
|
"typescript": "^5.3.3",
|
|
68
69
|
"vite": "^5.0.10",
|
|
69
70
|
"vite-plugin-dts": "^3.6.4",
|
|
71
|
+
"tsconfig": "0.0.5",
|
|
70
72
|
"@flow97/eslint-config-mono": "0.0.4",
|
|
71
|
-
"tailwind-config": "0.
|
|
72
|
-
"tsconfig": "0.0.5"
|
|
73
|
+
"tailwind-config": "0.1.1"
|
|
73
74
|
},
|
|
74
75
|
"peerDependencies": {
|
|
75
76
|
"antd": "^5.12.2",
|
|
@@ -78,7 +79,7 @@
|
|
|
78
79
|
"react-router-dom": "^6.14.2"
|
|
79
80
|
},
|
|
80
81
|
"scripts": {
|
|
81
|
-
"build": "ts-node --project tsconfig.node.json build.ts",
|
|
82
|
+
"build": "ts-node --project tsconfig.node.json scripts/build.ts",
|
|
82
83
|
"lint": "eslint --fix --ext .ts,.tsx,.js,.jsx ."
|
|
83
84
|
}
|
|
84
85
|
}
|