@pisell/private-materials 6.3.32 → 6.3.33
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +151 -146
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +8 -8
- package/es/components/booking/addons/model.d.ts +1 -10
- package/es/components/booking/forms/model.d.ts +1 -10
- package/es/components/booking/info/model.d.ts +1 -10
- package/es/components/booking/info/service/addService/utils.d.ts +1 -1
- package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/es/components/booking/model.d.ts +1 -9
- package/es/components/booking/notes/model.d.ts +1 -10
- package/es/components/booking/payments/model.d.ts +1 -10
- package/es/components/pay/toC/model.d.ts +1 -9
- package/es/components/schedules/model.d.ts +1 -9
- package/es/components/wallet/Detail/model.d.ts +1 -13
- package/es/components/wallet/DiscountCard/model.d.ts +1 -14
- package/es/components/wallet/PointCard/model.d.ts +1 -13
- package/es/components/wallet/RechargeableCard/model.d.ts +1 -29
- package/es/components/wallet/Voucher/model.d.ts +1 -13
- package/es/components/wallet/model.d.ts +1 -9
- package/es/pro/Login2.0/AuthModal.js +14 -8
- package/es/pro/Login2.0/Login2.js +48 -28
- package/es/pro/Login2.0/Register2.js +1 -1
- package/es/pro/Login2.0/components/phoneValidation.js +1 -1
- package/es/pro/Login2.0/index.less +11 -2
- package/es/pro/Login2.0/locales.js +19 -19
- package/lib/components/booking/addons/model.d.ts +1 -10
- package/lib/components/booking/forms/model.d.ts +1 -10
- package/lib/components/booking/info/model.d.ts +1 -10
- package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
- package/lib/components/booking/model.d.ts +1 -9
- package/lib/components/booking/notes/model.d.ts +1 -10
- package/lib/components/booking/payments/model.d.ts +1 -10
- package/lib/components/pay/toC/model.d.ts +1 -9
- package/lib/components/schedules/model.d.ts +1 -9
- package/lib/components/wallet/Detail/model.d.ts +1 -13
- package/lib/components/wallet/DiscountCard/model.d.ts +1 -14
- package/lib/components/wallet/PointCard/model.d.ts +1 -13
- package/lib/components/wallet/RechargeableCard/model.d.ts +1 -29
- package/lib/components/wallet/Voucher/model.d.ts +1 -13
- package/lib/components/wallet/model.d.ts +1 -9
- package/lib/pro/Login2.0/AuthModal.js +16 -11
- package/lib/pro/Login2.0/Login2.js +11 -4
- package/lib/pro/Login2.0/Register2.js +1 -1
- package/lib/pro/Login2.0/components/phoneValidation.js +1 -1
- package/lib/pro/Login2.0/index.less +11 -2
- package/lib/pro/Login2.0/locales.js +19 -19
- package/package.json +3 -3
|
@@ -1,14 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { FormState } from '../model';
|
|
3
1
|
export declare const walkInData: {
|
|
4
2
|
id: number;
|
|
5
3
|
nickname: string;
|
|
6
4
|
};
|
|
7
|
-
export declare const Provider:
|
|
8
|
-
state: FormState;
|
|
9
|
-
} & {
|
|
10
|
-
dispatch: (params: {
|
|
11
|
-
type: string;
|
|
12
|
-
payload: any;
|
|
13
|
-
}) => void;
|
|
14
|
-
}>;
|
|
5
|
+
export declare const Provider: any, Context: any;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export interface FormState {
|
|
3
2
|
amountSymbol: string;
|
|
4
3
|
apis: {
|
|
@@ -110,11 +109,4 @@ export declare const walkInData: {
|
|
|
110
109
|
id: number;
|
|
111
110
|
nickname: string;
|
|
112
111
|
};
|
|
113
|
-
export declare const Provider:
|
|
114
|
-
state: FormState;
|
|
115
|
-
} & {
|
|
116
|
-
dispatch: (params: {
|
|
117
|
-
type: string;
|
|
118
|
-
payload: any;
|
|
119
|
-
}) => void;
|
|
120
|
-
}>;
|
|
112
|
+
export declare const Provider: any, Context: any;
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { FormState } from "../model";
|
|
3
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
4
|
-
state: FormState;
|
|
5
|
-
} & {
|
|
6
|
-
dispatch: (params: {
|
|
7
|
-
type: string;
|
|
8
|
-
payload: any;
|
|
9
|
-
}) => void;
|
|
10
|
-
}>;
|
|
1
|
+
export declare const Provider: any, Context: any;
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { FormState } from "../model";
|
|
3
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
4
|
-
state: FormState;
|
|
5
|
-
} & {
|
|
6
|
-
dispatch: (params: {
|
|
7
|
-
type: string;
|
|
8
|
-
payload: any;
|
|
9
|
-
}) => void;
|
|
10
|
-
}>;
|
|
1
|
+
export declare const Provider: any, Context: any;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export interface FormState {
|
|
3
2
|
platform: 'pc' | 'h5' | '' | undefined;
|
|
4
3
|
order: any;
|
|
@@ -30,11 +29,4 @@ export interface PayGroup {
|
|
|
30
29
|
_order: any;
|
|
31
30
|
front_order_uuid?: string;
|
|
32
31
|
}
|
|
33
|
-
export declare const Provider:
|
|
34
|
-
state: FormState;
|
|
35
|
-
} & {
|
|
36
|
-
dispatch: (params: {
|
|
37
|
-
type: string;
|
|
38
|
-
payload: any;
|
|
39
|
-
}) => void;
|
|
40
|
-
}>;
|
|
32
|
+
export declare const Provider: any, Context: any;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { CalendarDataItem, ScheduleItem } from "./type";
|
|
3
2
|
import dayjs from "dayjs";
|
|
4
3
|
export interface FormState {
|
|
@@ -69,11 +68,4 @@ export interface FormState {
|
|
|
69
68
|
};
|
|
70
69
|
setGlobalState: Function | null;
|
|
71
70
|
}
|
|
72
|
-
export declare const Provider:
|
|
73
|
-
state: FormState;
|
|
74
|
-
} & {
|
|
75
|
-
dispatch: (params: {
|
|
76
|
-
type: string;
|
|
77
|
-
payload: any;
|
|
78
|
-
}) => void;
|
|
79
|
-
}>;
|
|
71
|
+
export declare const Provider: any, Context: any;
|
|
@@ -1,13 +1 @@
|
|
|
1
|
-
|
|
2
|
-
interface RechargeState {
|
|
3
|
-
addWalletCard: any;
|
|
4
|
-
}
|
|
5
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
6
|
-
walletDetailState: RechargeState;
|
|
7
|
-
} & {
|
|
8
|
-
dispatch: (params: {
|
|
9
|
-
type: string;
|
|
10
|
-
payload: any;
|
|
11
|
-
}) => void;
|
|
12
|
-
}>;
|
|
13
|
-
export {};
|
|
1
|
+
export declare const Provider: any, Context: any;
|
|
@@ -1,14 +1 @@
|
|
|
1
|
-
|
|
2
|
-
interface RechargeState {
|
|
3
|
-
total: number;
|
|
4
|
-
setup?: 'menu' | 'list' | 'detail' | string;
|
|
5
|
-
}
|
|
6
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
7
|
-
state: RechargeState;
|
|
8
|
-
} & {
|
|
9
|
-
dispatch: (params: {
|
|
10
|
-
type: string;
|
|
11
|
-
payload: any;
|
|
12
|
-
}) => void;
|
|
13
|
-
}>;
|
|
14
|
-
export {};
|
|
1
|
+
export declare const Provider: any, Context: any;
|
|
@@ -1,13 +1 @@
|
|
|
1
|
-
|
|
2
|
-
interface RechargeState {
|
|
3
|
-
total: number;
|
|
4
|
-
}
|
|
5
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
6
|
-
state: RechargeState;
|
|
7
|
-
} & {
|
|
8
|
-
dispatch: (params: {
|
|
9
|
-
type: string;
|
|
10
|
-
payload: any;
|
|
11
|
-
}) => void;
|
|
12
|
-
}>;
|
|
13
|
-
export {};
|
|
1
|
+
export declare const Provider: any, Context: any;
|
|
@@ -1,29 +1 @@
|
|
|
1
|
-
|
|
2
|
-
interface RechargeState {
|
|
3
|
-
selectedGiftOptionId: string | null;
|
|
4
|
-
cardList: Array<{
|
|
5
|
-
id: string;
|
|
6
|
-
name: string;
|
|
7
|
-
price: number;
|
|
8
|
-
}>;
|
|
9
|
-
selectedItem: {
|
|
10
|
-
id?: string;
|
|
11
|
-
gift_price?: number;
|
|
12
|
-
price?: number;
|
|
13
|
-
name?: string;
|
|
14
|
-
variant_id?: string;
|
|
15
|
-
};
|
|
16
|
-
productId?: string;
|
|
17
|
-
detailId?: string;
|
|
18
|
-
total: string | number;
|
|
19
|
-
rechargeModalOpen: boolean;
|
|
20
|
-
}
|
|
21
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
22
|
-
state: RechargeState;
|
|
23
|
-
} & {
|
|
24
|
-
dispatch: (params: {
|
|
25
|
-
type: string;
|
|
26
|
-
payload: any;
|
|
27
|
-
}) => void;
|
|
28
|
-
}>;
|
|
29
|
-
export {};
|
|
1
|
+
export declare const Provider: any, Context: any;
|
|
@@ -1,13 +1 @@
|
|
|
1
|
-
|
|
2
|
-
interface RechargeState {
|
|
3
|
-
total: 0;
|
|
4
|
-
}
|
|
5
|
-
export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
|
|
6
|
-
state: RechargeState;
|
|
7
|
-
} & {
|
|
8
|
-
dispatch: (params: {
|
|
9
|
-
type: string;
|
|
10
|
-
payload: any;
|
|
11
|
-
}) => void;
|
|
12
|
-
}>;
|
|
13
|
-
export {};
|
|
1
|
+
export declare const Provider: any, Context: any;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IWalletListItemProps } from './serve';
|
|
3
2
|
export interface WalletCardItemProps {
|
|
4
3
|
id: string;
|
|
@@ -27,11 +26,4 @@ export interface WalletListProps {
|
|
|
27
26
|
currentSearchListItemCode?: string;
|
|
28
27
|
[key: string]: any;
|
|
29
28
|
}
|
|
30
|
-
export declare const Provider:
|
|
31
|
-
global_wallet: WalletListProps;
|
|
32
|
-
} & {
|
|
33
|
-
dispatch: (params: {
|
|
34
|
-
type: string;
|
|
35
|
-
payload: any;
|
|
36
|
-
}) => void;
|
|
37
|
-
}>;
|
|
29
|
+
export declare const Provider: any, Context: any;
|
|
@@ -153,26 +153,31 @@ var AuthModal = () => {
|
|
|
153
153
|
}
|
|
154
154
|
enabledMethods.sort((a, b) => a.sort - b.sort);
|
|
155
155
|
enabledMethods.forEach(({ type, config: methodConfig }) => {
|
|
156
|
-
var _a3, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2;
|
|
156
|
+
var _a3, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2;
|
|
157
157
|
if (type === "email") {
|
|
158
158
|
const verificationMethods = [];
|
|
159
|
-
const loginMethod = ((_a3 = methodConfig == null ? void 0 : methodConfig.setting) == null ? void 0 : _a3.login_method) || {
|
|
159
|
+
const loginMethod = ((_a3 = methodConfig == null ? void 0 : methodConfig.setting) == null ? void 0 : _a3.login_method) || {
|
|
160
|
+
"password": {
|
|
161
|
+
enabled: true,
|
|
162
|
+
sort: 1
|
|
163
|
+
}
|
|
164
|
+
};
|
|
160
165
|
const enabledVerificationMethods = [];
|
|
161
|
-
if ((_b2 = loginMethod.password) == null ? void 0 : _b2.enabled) {
|
|
166
|
+
if ((_b2 = loginMethod == null ? void 0 : loginMethod.password) == null ? void 0 : _b2.enabled) {
|
|
162
167
|
enabledVerificationMethods.push({
|
|
163
168
|
type: "password",
|
|
164
|
-
sort: loginMethod.password.sort || 0
|
|
169
|
+
sort: ((_c2 = loginMethod.password) == null ? void 0 : _c2.sort) || 0
|
|
165
170
|
// 添加默认值保护
|
|
166
171
|
});
|
|
167
172
|
}
|
|
168
|
-
if ((
|
|
173
|
+
if ((_d2 = loginMethod == null ? void 0 : loginMethod.code) == null ? void 0 : _d2.enabled) {
|
|
169
174
|
enabledVerificationMethods.push({
|
|
170
175
|
type: "verification_code",
|
|
171
176
|
sort: loginMethod.code.sort || 0
|
|
172
177
|
// 添加默认值保护
|
|
173
178
|
});
|
|
174
179
|
}
|
|
175
|
-
if ((
|
|
180
|
+
if ((_e2 = loginMethod == null ? void 0 : loginMethod.link) == null ? void 0 : _e2.enabled) {
|
|
176
181
|
enabledVerificationMethods.push({
|
|
177
182
|
type: "verification_code",
|
|
178
183
|
// link 映射为 verification_code
|
|
@@ -191,16 +196,16 @@ var AuthModal = () => {
|
|
|
191
196
|
}
|
|
192
197
|
} else if (type === "phone") {
|
|
193
198
|
const verificationMethods = [];
|
|
194
|
-
const loginMethod = ((
|
|
199
|
+
const loginMethod = ((_f2 = methodConfig == null ? void 0 : methodConfig.setting) == null ? void 0 : _f2.login_method) || {};
|
|
195
200
|
const enabledVerificationMethods = [];
|
|
196
|
-
if ((
|
|
201
|
+
if ((_g2 = loginMethod == null ? void 0 : loginMethod.password) == null ? void 0 : _g2.enabled) {
|
|
197
202
|
enabledVerificationMethods.push({
|
|
198
203
|
type: "password",
|
|
199
204
|
sort: loginMethod.password.sort || 0
|
|
200
205
|
// 添加默认值保护
|
|
201
206
|
});
|
|
202
207
|
}
|
|
203
|
-
if ((
|
|
208
|
+
if ((_h2 = loginMethod == null ? void 0 : loginMethod.code) == null ? void 0 : _h2.enabled) {
|
|
204
209
|
enabledVerificationMethods.push({
|
|
205
210
|
type: "verification_code",
|
|
206
211
|
sort: loginMethod.code.sort || 0
|
|
@@ -223,12 +228,12 @@ var AuthModal = () => {
|
|
|
223
228
|
} else if (type === "facebook") {
|
|
224
229
|
loginMethods.push({
|
|
225
230
|
type: "facebook",
|
|
226
|
-
appId: ((
|
|
231
|
+
appId: ((_i2 = methodConfig == null ? void 0 : methodConfig.setting) == null ? void 0 : _i2.appid) || ""
|
|
227
232
|
});
|
|
228
233
|
} else if (type === "apple") {
|
|
229
234
|
loginMethods.push({
|
|
230
235
|
type: "apple",
|
|
231
|
-
clientId: ((
|
|
236
|
+
clientId: ((_j2 = methodConfig == null ? void 0 : methodConfig.setting) == null ? void 0 : _j2.identifier) || ""
|
|
232
237
|
});
|
|
233
238
|
} else if (type === "guest") {
|
|
234
239
|
loginMethods.push({
|
|
@@ -842,7 +842,10 @@ var Login2 = ({
|
|
|
842
842
|
const fbConfig = (_a2 = config == null ? void 0 : config.loginMethods) == null ? void 0 : _a2.find((n) => n.type === "facebook");
|
|
843
843
|
const token = fbConfig == null ? void 0 : fbConfig.appId;
|
|
844
844
|
if (token) {
|
|
845
|
-
await registerAndLogin.loginWithFacebook(token);
|
|
845
|
+
const res = await registerAndLogin.loginWithFacebook(token);
|
|
846
|
+
if (res.status) {
|
|
847
|
+
onLogin == null ? void 0 : onLogin(res.data, "facebook", { account: "", password: "" }, config.channel);
|
|
848
|
+
}
|
|
846
849
|
} else {
|
|
847
850
|
throw new Error("Facebook app_id not configured");
|
|
848
851
|
}
|
|
@@ -850,7 +853,8 @@ var Login2 = ({
|
|
|
850
853
|
const appleConfig = (_b2 = config == null ? void 0 : config.loginMethods) == null ? void 0 : _b2.find((n) => n.type === "apple");
|
|
851
854
|
const token = appleConfig == null ? void 0 : appleConfig.clientId;
|
|
852
855
|
if (token) {
|
|
853
|
-
await registerAndLogin.loginWithApple(token);
|
|
856
|
+
const res = await registerAndLogin.loginWithApple(token);
|
|
857
|
+
onLogin == null ? void 0 : onLogin(res.data, "apple", { account: "", password: "" }, config.channel);
|
|
854
858
|
} else {
|
|
855
859
|
throw new Error("Apple client_id not configured");
|
|
856
860
|
}
|
|
@@ -858,6 +862,9 @@ var Login2 = ({
|
|
|
858
862
|
await (onOAuthLogin == null ? void 0 : onOAuthLogin(provider, config.channel));
|
|
859
863
|
}
|
|
860
864
|
} catch (error) {
|
|
865
|
+
if (error.message === "facebook_login_cancel") {
|
|
866
|
+
return import_antd.message.error(import_utils.locales.getText("pisell-register2-facebook-login-canceled"));
|
|
867
|
+
}
|
|
861
868
|
import_antd.message.error(
|
|
862
869
|
(error == null ? void 0 : error.message) || import_utils.locales.getText("pisell-login2-login-failed")
|
|
863
870
|
);
|
|
@@ -1281,7 +1288,7 @@ var Login2 = ({
|
|
|
1281
1288
|
if (!nonOauthButtons.length && !oauthProviders.length) {
|
|
1282
1289
|
return registerPrompt;
|
|
1283
1290
|
}
|
|
1284
|
-
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, showDivider && /* @__PURE__ */ import_react.default.createElement("div", { className: "login2-divider" }, import_utils.locales.getText("pisell-login2-or")), nonOauthButtons.length > 0 && /* @__PURE__ */ import_react.default.createElement("div", { className: "login2-switch-options" }, nonOauthButtons), oauthProviders.length > 0 && /* @__PURE__ */ import_react.default.createElement(
|
|
1291
|
+
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, showDivider && /* @__PURE__ */ import_react.default.createElement("div", { className: "login2-divider" }, import_utils.locales.getText("pisell-login2-or")), (nonOauthButtons.length > 0 || oauthProviders.length > 0) && /* @__PURE__ */ import_react.default.createElement("div", { className: "login2-switch-groups" }, nonOauthButtons.length > 0 && /* @__PURE__ */ import_react.default.createElement("div", { className: "login2-switch-options" }, nonOauthButtons), oauthProviders.length > 0 && /* @__PURE__ */ import_react.default.createElement(
|
|
1285
1292
|
import_OAuthButtonGroup.default,
|
|
1286
1293
|
{
|
|
1287
1294
|
providers: oauthProviders,
|
|
@@ -1289,7 +1296,7 @@ var Login2 = ({
|
|
|
1289
1296
|
buttonClassName: "login2-oauth-button",
|
|
1290
1297
|
gap: 12
|
|
1291
1298
|
}
|
|
1292
|
-
), registerPrompt);
|
|
1299
|
+
)), registerPrompt);
|
|
1293
1300
|
};
|
|
1294
1301
|
if (!visible) {
|
|
1295
1302
|
return null;
|
|
@@ -454,7 +454,7 @@ var Register2 = ({
|
|
|
454
454
|
}
|
|
455
455
|
await (onOAuthLogin == null ? void 0 : onOAuthLogin(provider, config.channel));
|
|
456
456
|
} catch (error) {
|
|
457
|
-
if (error.
|
|
457
|
+
if (error.message === "facebook_login_cancel") {
|
|
458
458
|
return import_antd.message.error(import_utils.locales.getText("pisell-register2-facebook-login-canceled"));
|
|
459
459
|
}
|
|
460
460
|
console.error(`${provider} login error:`, error);
|
|
@@ -547,7 +547,10 @@
|
|
|
547
547
|
align-items: center;
|
|
548
548
|
justify-content: center;
|
|
549
549
|
gap: 12px;
|
|
550
|
-
|
|
550
|
+
.pisell-lowcode-btn-icon {
|
|
551
|
+
margin-right: 0!important;
|
|
552
|
+
font-size: 24px;
|
|
553
|
+
}
|
|
551
554
|
svg {
|
|
552
555
|
flex-shrink: 0;
|
|
553
556
|
}
|
|
@@ -685,6 +688,12 @@
|
|
|
685
688
|
}
|
|
686
689
|
|
|
687
690
|
// 切换选项区域
|
|
691
|
+
.login2-container .login2-switch-groups {
|
|
692
|
+
display: flex;
|
|
693
|
+
flex-direction: column;
|
|
694
|
+
gap: 12px;
|
|
695
|
+
}
|
|
696
|
+
|
|
688
697
|
.login2-container .login2-switch-options {
|
|
689
698
|
display: flex;
|
|
690
699
|
flex-direction: column;
|
|
@@ -778,7 +787,7 @@
|
|
|
778
787
|
position: relative; // 为角标定位提供基准
|
|
779
788
|
|
|
780
789
|
.oauth-icon {
|
|
781
|
-
font-size:
|
|
790
|
+
font-size: 24px;
|
|
782
791
|
font-weight: 700;
|
|
783
792
|
flex-shrink: 0;
|
|
784
793
|
}
|
|
@@ -130,7 +130,7 @@ var locales_default = {
|
|
|
130
130
|
"pisell-phone-validation-taiwan": "Please enter a valid Taiwan phone (9 digits starting with 9)",
|
|
131
131
|
"pisell-phone-validation-us-canada": "Please enter a valid US/Canada phone (10 digits)",
|
|
132
132
|
"pisell-phone-validation-uk": "Please enter a valid UK phone (10 digits starting with 7)",
|
|
133
|
-
"pisell-phone-validation-australia": "Please enter a valid Australian phone
|
|
133
|
+
"pisell-phone-validation-australia": "Please enter a valid Australian phone",
|
|
134
134
|
"pisell-phone-validation-japan": "Please enter a valid Japanese phone (10 digits)",
|
|
135
135
|
"pisell-phone-validation-korea": "Please enter a valid Korean phone (9-10 digits)",
|
|
136
136
|
"pisell-phone-validation-singapore": "Please enter a valid Singapore phone (8 digits)",
|
|
@@ -336,7 +336,7 @@ var locales_default = {
|
|
|
336
336
|
"pisell-phone-validation-taiwan": "请输入正确的台湾手机号(9位数字,以9开头)",
|
|
337
337
|
"pisell-phone-validation-us-canada": "请输入正确的美国/加拿大手机号(10位数字)",
|
|
338
338
|
"pisell-phone-validation-uk": "请输入正确的英国手机号(10位数字,以7开头)",
|
|
339
|
-
"pisell-phone-validation-australia": "
|
|
339
|
+
"pisell-phone-validation-australia": "请输入正确的澳大利亚手机号",
|
|
340
340
|
"pisell-phone-validation-japan": "请输入正确的日本手机号(10位数字)",
|
|
341
341
|
"pisell-phone-validation-korea": "请输入正确的韩国手机号(9-10位数字)",
|
|
342
342
|
"pisell-phone-validation-singapore": "请输入正确的新加坡手机号(8位数字)",
|
|
@@ -477,8 +477,8 @@ var locales_default = {
|
|
|
477
477
|
"pisell-register2-phone-placeholder": "請輸入手機號碼",
|
|
478
478
|
"pisell-register2-password-placeholder": "請輸入密碼",
|
|
479
479
|
// Already registered messages
|
|
480
|
-
"pisell-register2-email-already-registered": "
|
|
481
|
-
"pisell-register2-phone-already-registered": "
|
|
480
|
+
"pisell-register2-email-already-registered": "此電子郵件已註冊,請登錄或使用其他電子郵件",
|
|
481
|
+
"pisell-register2-phone-already-registered": "此手機號碼已註冊,請登錄或使用其他手機號碼",
|
|
482
482
|
// Code input page
|
|
483
483
|
"pisell-register2-check-email-title": "查看您的電子郵件",
|
|
484
484
|
"pisell-register2-check-phone-title": "查看您的短訊",
|
|
@@ -504,20 +504,20 @@ var locales_default = {
|
|
|
504
504
|
"pisell-register2-back-to-registration": "返回註冊",
|
|
505
505
|
"pisell-register2-link-already-used-title": "驗證連結已使用",
|
|
506
506
|
"pisell-register2-link-already-used-desc": "您已經驗證過此電子郵件。請登录以繼續。",
|
|
507
|
-
"pisell-register2-login-button": "
|
|
507
|
+
"pisell-register2-login-button": "登錄",
|
|
508
508
|
// Email link password reset
|
|
509
509
|
"pisell-login2-reset-password-verifying": "驗證中...",
|
|
510
510
|
"pisell-login2-reset-password-invalid-link": "無效的重置連結",
|
|
511
511
|
"pisell-login2-reset-password-link-expired": "您的重置密碼連結已過期。請申請新的重置郵件。",
|
|
512
512
|
"pisell-login2-reset-password-link-invalid": "您的重置密碼連結無效。請申請新的重置郵件。",
|
|
513
|
-
"pisell-login2-reset-password-back-to-login": "
|
|
513
|
+
"pisell-login2-reset-password-back-to-login": "登錄",
|
|
514
514
|
"pisell-login2-verification-failed-title": "驗證失敗",
|
|
515
515
|
// Legal Terms
|
|
516
|
-
"pisell-legal-terms-login-text": "
|
|
516
|
+
"pisell-legal-terms-login-text": "登錄即代表同意 ",
|
|
517
517
|
"pisell-legal-terms-register-text": "註冊即代表同意 ",
|
|
518
518
|
"pisell-legal-terms-and": " & ",
|
|
519
519
|
// Modal titles
|
|
520
|
-
"pisell-modal-login-title": "
|
|
520
|
+
"pisell-modal-login-title": "登錄",
|
|
521
521
|
"pisell-modal-register-title": "註冊",
|
|
522
522
|
// Login code input
|
|
523
523
|
"pisell-login2-check-email-title": "查看您的電子郵件",
|
|
@@ -552,7 +552,7 @@ var locales_default = {
|
|
|
552
552
|
"pisell-register2-continue-with-google": "使用Google繼續",
|
|
553
553
|
"pisell-register2-continue-with-facebook": "使用Facebook繼續",
|
|
554
554
|
"pisell-register2-continue-with-apple": "使用Apple繼續",
|
|
555
|
-
"pisell-register2-facebook-login-canceled": "Facebook
|
|
555
|
+
"pisell-register2-facebook-login-canceled": "Facebook登錄已取消",
|
|
556
556
|
// Phone input
|
|
557
557
|
"pisell-phone-input-placeholder": "請輸入手機號碼",
|
|
558
558
|
// Set password
|
|
@@ -561,7 +561,7 @@ var locales_default = {
|
|
|
561
561
|
"pisell-set-password-reset-title": "請輸入新密碼",
|
|
562
562
|
"pisell-set-password-placeholder": "輸入密碼",
|
|
563
563
|
"pisell-set-password-confirm-placeholder": "確認密碼",
|
|
564
|
-
"pisell-set-password-submit": "
|
|
564
|
+
"pisell-set-password-submit": "確認並登錄",
|
|
565
565
|
"pisell-set-password-required": "請輸入密碼",
|
|
566
566
|
"pisell-set-password-min-length": "密碼至少需要 {length} 個字元",
|
|
567
567
|
"pisell-set-password-require-uppercase": "一個大寫字母",
|
|
@@ -582,7 +582,7 @@ var locales_default = {
|
|
|
582
582
|
"pisell-phone-validation-taiwan": "請輸入正確的台灣手機號碼(9位數字,以9開頭)",
|
|
583
583
|
"pisell-phone-validation-us-canada": "請輸入正確的美國/加拿大手機號碼(10位數字)",
|
|
584
584
|
"pisell-phone-validation-uk": "請輸入正確的英國手機號碼(10位數字,以7開頭)",
|
|
585
|
-
"pisell-phone-validation-australia": "
|
|
585
|
+
"pisell-phone-validation-australia": "請輸入正確的澳洲手機號碼",
|
|
586
586
|
"pisell-phone-validation-japan": "請輸入正確的日本手機號碼(10位數字)",
|
|
587
587
|
"pisell-phone-validation-korea": "請輸入正確的韓國手機號碼(9-10位數字)",
|
|
588
588
|
"pisell-phone-validation-singapore": "請輸入正確的新加坡手機號碼(8位數字)",
|
|
@@ -618,24 +618,24 @@ var locales_default = {
|
|
|
618
618
|
"pisell-login2-continue-failed": "繼續失敗,請重試",
|
|
619
619
|
"pisell-login2-back": "返回",
|
|
620
620
|
// Login method switching
|
|
621
|
-
"pisell-login2-switch-to-email": "
|
|
622
|
-
"pisell-login2-switch-to-phone": "
|
|
621
|
+
"pisell-login2-switch-to-email": "電子郵件登錄",
|
|
622
|
+
"pisell-login2-switch-to-phone": "手機號碼登錄",
|
|
623
623
|
"pisell-login2-login-as-guest": "遊客登錄",
|
|
624
|
-
"pisell-login2-switch-to-password": "
|
|
625
|
-
"pisell-login2-switch-to-email-code": "
|
|
626
|
-
"pisell-login2-switch-to-sms-code": "
|
|
624
|
+
"pisell-login2-switch-to-password": "密碼登錄",
|
|
625
|
+
"pisell-login2-switch-to-email-code": "電子郵件驗證碼登錄",
|
|
626
|
+
"pisell-login2-switch-to-sms-code": "短訊驗證碼登錄",
|
|
627
627
|
// Switch to register
|
|
628
628
|
"pisell-login2-no-account": "沒有帳號?",
|
|
629
629
|
"pisell-login2-register-link": "註冊",
|
|
630
630
|
// Last login method badge
|
|
631
|
-
"pisell-login2-last-login-badge": "
|
|
631
|
+
"pisell-login2-last-login-badge": "上次登錄",
|
|
632
632
|
// Remember me
|
|
633
633
|
"pisell-login2-remember-me": "記住我",
|
|
634
634
|
// Login status messages
|
|
635
635
|
"pisell-login2-code-sent": "驗證碼已發送",
|
|
636
636
|
"pisell-login2-code-send-failed": "發送驗證碼失敗",
|
|
637
|
-
"pisell-login2-login-success": "
|
|
638
|
-
"pisell-login2-login-failed": "
|
|
637
|
+
"pisell-login2-login-success": "登錄成功",
|
|
638
|
+
"pisell-login2-login-failed": "登錄失敗",
|
|
639
639
|
"pisell-register2-register-success": "註冊成功",
|
|
640
640
|
"pisell-register2-complete-title": "註冊完成!",
|
|
641
641
|
"pisell-register2-redirecting": "正在重定向到您的帳戶...",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "6.3.
|
|
3
|
+
"version": "6.3.33",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -61,9 +61,9 @@
|
|
|
61
61
|
"decimal.js": "^10.4.3",
|
|
62
62
|
"@react-spring/web": "^9.6.1",
|
|
63
63
|
"@use-gesture/react": "^10.3.1",
|
|
64
|
-
"@pisell/utils": "3.0.1",
|
|
65
|
-
"@pisell/materials": "6.3.8",
|
|
66
64
|
"@pisell/icon": "0.0.11",
|
|
65
|
+
"@pisell/materials": "6.3.9",
|
|
66
|
+
"@pisell/utils": "3.0.1",
|
|
67
67
|
"@pisell/date-picker": "3.0.4"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|