@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.
Files changed (55) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +151 -146
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +1 -1
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +8 -8
  11. package/es/components/booking/addons/model.d.ts +1 -10
  12. package/es/components/booking/forms/model.d.ts +1 -10
  13. package/es/components/booking/info/model.d.ts +1 -10
  14. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  15. package/es/components/booking/info2/service/addService/utils.d.ts +1 -1
  16. package/es/components/booking/model.d.ts +1 -9
  17. package/es/components/booking/notes/model.d.ts +1 -10
  18. package/es/components/booking/payments/model.d.ts +1 -10
  19. package/es/components/pay/toC/model.d.ts +1 -9
  20. package/es/components/schedules/model.d.ts +1 -9
  21. package/es/components/wallet/Detail/model.d.ts +1 -13
  22. package/es/components/wallet/DiscountCard/model.d.ts +1 -14
  23. package/es/components/wallet/PointCard/model.d.ts +1 -13
  24. package/es/components/wallet/RechargeableCard/model.d.ts +1 -29
  25. package/es/components/wallet/Voucher/model.d.ts +1 -13
  26. package/es/components/wallet/model.d.ts +1 -9
  27. package/es/pro/Login2.0/AuthModal.js +14 -8
  28. package/es/pro/Login2.0/Login2.js +48 -28
  29. package/es/pro/Login2.0/Register2.js +1 -1
  30. package/es/pro/Login2.0/components/phoneValidation.js +1 -1
  31. package/es/pro/Login2.0/index.less +11 -2
  32. package/es/pro/Login2.0/locales.js +19 -19
  33. package/lib/components/booking/addons/model.d.ts +1 -10
  34. package/lib/components/booking/forms/model.d.ts +1 -10
  35. package/lib/components/booking/info/model.d.ts +1 -10
  36. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  37. package/lib/components/booking/info2/service/addService/utils.d.ts +1 -1
  38. package/lib/components/booking/model.d.ts +1 -9
  39. package/lib/components/booking/notes/model.d.ts +1 -10
  40. package/lib/components/booking/payments/model.d.ts +1 -10
  41. package/lib/components/pay/toC/model.d.ts +1 -9
  42. package/lib/components/schedules/model.d.ts +1 -9
  43. package/lib/components/wallet/Detail/model.d.ts +1 -13
  44. package/lib/components/wallet/DiscountCard/model.d.ts +1 -14
  45. package/lib/components/wallet/PointCard/model.d.ts +1 -13
  46. package/lib/components/wallet/RechargeableCard/model.d.ts +1 -29
  47. package/lib/components/wallet/Voucher/model.d.ts +1 -13
  48. package/lib/components/wallet/model.d.ts +1 -9
  49. package/lib/pro/Login2.0/AuthModal.js +16 -11
  50. package/lib/pro/Login2.0/Login2.js +11 -4
  51. package/lib/pro/Login2.0/Register2.js +1 -1
  52. package/lib/pro/Login2.0/components/phoneValidation.js +1 -1
  53. package/lib/pro/Login2.0/index.less +11 -2
  54. package/lib/pro/Login2.0/locales.js +19 -19
  55. package/package.json +3 -3
@@ -1,10 +1 @@
1
- /// <reference types="react" />
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
- /// <reference types="react" />
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,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: (ComponentUi: any) => any, Context: import("react").Context<{
8
- state: FormState;
9
- } & {
10
- dispatch: (params: {
11
- type: string;
12
- payload: any;
13
- }) => void;
14
- }>;
5
+ export declare const Provider: any, Context: any;
@@ -6,7 +6,7 @@ export declare const getDurationProps: ({ cacheItem, useStartTime, currentResour
6
6
  type: string;
7
7
  value: number;
8
8
  };
9
- locale: string;
9
+ locale: any;
10
10
  slice: any;
11
11
  selectProps: {
12
12
  size: string;
@@ -7,7 +7,7 @@ export declare const getDurationProps: ({ cacheItem, useStartTime, currentResour
7
7
  type: string;
8
8
  value: number;
9
9
  };
10
- locale: string;
10
+ locale: any;
11
11
  slice: any;
12
12
  selectProps: {
13
13
  size: string;
@@ -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: (ComponentUi: any) => any, Context: import("react").Context<{
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
- /// <reference types="react" />
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
- /// <reference types="react" />
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: (ComponentUi: any) => any, Context: import("react").Context<{
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: (ComponentUi: any) => any, Context: import("react").Context<{
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
- /// <reference types="react" />
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
- /// <reference types="react" />
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
- /// <reference types="react" />
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
- /// <reference types="react" />
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
- /// <reference types="react" />
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: (ComponentUi: any) => any, Context: import("react").Context<{
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;
@@ -186,23 +186,29 @@ var AuthModal = function AuthModal() {
186
186
  if (type === 'email') {
187
187
  var _methodConfig$setting, _loginMethod$password, _loginMethod$code, _loginMethod$link;
188
188
  var verificationMethods = [];
189
- var loginMethod = (methodConfig === null || methodConfig === void 0 || (_methodConfig$setting = methodConfig.setting) === null || _methodConfig$setting === void 0 ? void 0 : _methodConfig$setting.login_method) || {}; // 添加安全访问保护
189
+ var loginMethod = (methodConfig === null || methodConfig === void 0 || (_methodConfig$setting = methodConfig.setting) === null || _methodConfig$setting === void 0 ? void 0 : _methodConfig$setting.login_method) || {
190
+ "password": {
191
+ enabled: true,
192
+ sort: 1
193
+ }
194
+ }; // 添加安全访问保护
190
195
 
191
196
  // 收集启用的验证方式并按 sort 排序
192
197
  var enabledVerificationMethods = [];
193
- if ((_loginMethod$password = loginMethod.password) !== null && _loginMethod$password !== void 0 && _loginMethod$password.enabled) {
198
+ if (loginMethod !== null && loginMethod !== void 0 && (_loginMethod$password = loginMethod.password) !== null && _loginMethod$password !== void 0 && _loginMethod$password.enabled) {
199
+ var _loginMethod$password2;
194
200
  enabledVerificationMethods.push({
195
201
  type: 'password',
196
- sort: loginMethod.password.sort || 0 // 添加默认值保护
202
+ sort: ((_loginMethod$password2 = loginMethod.password) === null || _loginMethod$password2 === void 0 ? void 0 : _loginMethod$password2.sort) || 0 // 添加默认值保护
197
203
  });
198
204
  }
199
- if ((_loginMethod$code = loginMethod.code) !== null && _loginMethod$code !== void 0 && _loginMethod$code.enabled) {
205
+ if (loginMethod !== null && loginMethod !== void 0 && (_loginMethod$code = loginMethod.code) !== null && _loginMethod$code !== void 0 && _loginMethod$code.enabled) {
200
206
  enabledVerificationMethods.push({
201
207
  type: 'verification_code',
202
208
  sort: loginMethod.code.sort || 0 // 添加默认值保护
203
209
  });
204
210
  }
205
- if ((_loginMethod$link = loginMethod.link) !== null && _loginMethod$link !== void 0 && _loginMethod$link.enabled) {
211
+ if (loginMethod !== null && loginMethod !== void 0 && (_loginMethod$link = loginMethod.link) !== null && _loginMethod$link !== void 0 && _loginMethod$link.enabled) {
206
212
  enabledVerificationMethods.push({
207
213
  type: 'verification_code',
208
214
  // link 映射为 verification_code
@@ -223,18 +229,18 @@ var AuthModal = function AuthModal() {
223
229
  });
224
230
  }
225
231
  } else if (type === 'phone') {
226
- var _methodConfig$setting2, _loginMethod$password2, _loginMethod$code2;
232
+ var _methodConfig$setting2, _loginMethod$password3, _loginMethod$code2;
227
233
  var _verificationMethods = [];
228
234
  var _loginMethod = (methodConfig === null || methodConfig === void 0 || (_methodConfig$setting2 = methodConfig.setting) === null || _methodConfig$setting2 === void 0 ? void 0 : _methodConfig$setting2.login_method) || {}; // 添加安全访问保护
229
235
 
230
236
  var _enabledVerificationMethods = [];
231
- if ((_loginMethod$password2 = _loginMethod.password) !== null && _loginMethod$password2 !== void 0 && _loginMethod$password2.enabled) {
237
+ if (_loginMethod !== null && _loginMethod !== void 0 && (_loginMethod$password3 = _loginMethod.password) !== null && _loginMethod$password3 !== void 0 && _loginMethod$password3.enabled) {
232
238
  _enabledVerificationMethods.push({
233
239
  type: 'password',
234
240
  sort: _loginMethod.password.sort || 0 // 添加默认值保护
235
241
  });
236
242
  }
237
- if ((_loginMethod$code2 = _loginMethod.code) !== null && _loginMethod$code2 !== void 0 && _loginMethod$code2.enabled) {
243
+ if (_loginMethod !== null && _loginMethod !== void 0 && (_loginMethod$code2 = _loginMethod.code) !== null && _loginMethod$code2 !== void 0 && _loginMethod$code2.enabled) {
238
244
  _enabledVerificationMethods.push({
239
245
  type: 'verification_code',
240
246
  sort: _loginMethod.code.sort || 0 // 添加默认值保护
@@ -1445,14 +1445,14 @@ var Login2 = function Login2(_ref) {
1445
1445
  // 处理三方登录
1446
1446
  var handleOAuthClickInternal = /*#__PURE__*/function () {
1447
1447
  var _ref14 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13(provider) {
1448
- var _config$loginMethods, fbConfig, token, _config$loginMethods2, appleConfig, _token;
1448
+ var _config$loginMethods, fbConfig, token, res, _config$loginMethods2, appleConfig, _token, _res4;
1449
1449
  return _regeneratorRuntime().wrap(function _callee13$(_context13) {
1450
1450
  while (1) switch (_context13.prev = _context13.next) {
1451
1451
  case 0:
1452
1452
  _context13.prev = 0;
1453
1453
  setLoading(true);
1454
1454
  if (!(provider === 'facebook')) {
1455
- _context13.next = 13;
1455
+ _context13.next = 15;
1456
1456
  break;
1457
1457
  }
1458
1458
  fbConfig = config === null || config === void 0 || (_config$loginMethods = config.loginMethods) === null || _config$loginMethods === void 0 ? void 0 : _config$loginMethods.find(function (n) {
@@ -1460,22 +1460,29 @@ var Login2 = function Login2(_ref) {
1460
1460
  });
1461
1461
  token = fbConfig === null || fbConfig === void 0 ? void 0 : fbConfig.appId;
1462
1462
  if (!token) {
1463
- _context13.next = 10;
1463
+ _context13.next = 12;
1464
1464
  break;
1465
1465
  }
1466
1466
  _context13.next = 8;
1467
1467
  return registerAndLogin.loginWithFacebook(token);
1468
1468
  case 8:
1469
- _context13.next = 11;
1469
+ res = _context13.sent;
1470
+ if (res.status) {
1471
+ onLogin === null || onLogin === void 0 || onLogin(res.data, 'facebook', {
1472
+ account: '',
1473
+ password: ''
1474
+ }, config.channel);
1475
+ }
1476
+ _context13.next = 13;
1470
1477
  break;
1471
- case 10:
1478
+ case 12:
1472
1479
  throw new Error('Facebook app_id not configured');
1473
- case 11:
1474
- _context13.next = 26;
1475
- break;
1476
1480
  case 13:
1481
+ _context13.next = 30;
1482
+ break;
1483
+ case 15:
1477
1484
  if (!(provider === 'apple')) {
1478
- _context13.next = 24;
1485
+ _context13.next = 28;
1479
1486
  break;
1480
1487
  }
1481
1488
  appleConfig = config === null || config === void 0 || (_config$loginMethods2 = config.loginMethods) === null || _config$loginMethods2 === void 0 ? void 0 : _config$loginMethods2.find(function (n) {
@@ -1483,38 +1490,49 @@ var Login2 = function Login2(_ref) {
1483
1490
  });
1484
1491
  _token = appleConfig === null || appleConfig === void 0 ? void 0 : appleConfig.clientId;
1485
1492
  if (!_token) {
1486
- _context13.next = 21;
1493
+ _context13.next = 25;
1487
1494
  break;
1488
1495
  }
1489
- _context13.next = 19;
1496
+ _context13.next = 21;
1490
1497
  return registerAndLogin.loginWithApple(_token);
1491
- case 19:
1492
- _context13.next = 22;
1493
- break;
1494
1498
  case 21:
1495
- throw new Error('Apple client_id not configured');
1496
- case 22:
1499
+ _res4 = _context13.sent;
1500
+ onLogin === null || onLogin === void 0 || onLogin(_res4.data, 'apple', {
1501
+ account: '',
1502
+ password: ''
1503
+ }, config.channel);
1497
1504
  _context13.next = 26;
1498
1505
  break;
1499
- case 24:
1500
- _context13.next = 26;
1501
- return onOAuthLogin === null || onOAuthLogin === void 0 ? void 0 : onOAuthLogin(provider, config.channel);
1506
+ case 25:
1507
+ throw new Error('Apple client_id not configured');
1502
1508
  case 26:
1503
- _context13.next = 31;
1509
+ _context13.next = 30;
1504
1510
  break;
1505
1511
  case 28:
1506
- _context13.prev = 28;
1512
+ _context13.next = 30;
1513
+ return onOAuthLogin === null || onOAuthLogin === void 0 ? void 0 : onOAuthLogin(provider, config.channel);
1514
+ case 30:
1515
+ _context13.next = 37;
1516
+ break;
1517
+ case 32:
1518
+ _context13.prev = 32;
1507
1519
  _context13.t0 = _context13["catch"](0);
1520
+ if (!(_context13.t0.message === 'facebook_login_cancel')) {
1521
+ _context13.next = 36;
1522
+ break;
1523
+ }
1524
+ return _context13.abrupt("return", message.error(locales.getText('pisell-register2-facebook-login-canceled')));
1525
+ case 36:
1508
1526
  message.error((_context13.t0 === null || _context13.t0 === void 0 ? void 0 : _context13.t0.message) || locales.getText('pisell-login2-login-failed'));
1509
- case 31:
1510
- _context13.prev = 31;
1527
+ case 37:
1528
+ _context13.prev = 37;
1511
1529
  setLoading(false);
1512
- return _context13.finish(31);
1513
- case 34:
1530
+ return _context13.finish(37);
1531
+ case 40:
1514
1532
  case "end":
1515
1533
  return _context13.stop();
1516
1534
  }
1517
- }, _callee13, null, [[0, 28, 31, 34]]);
1535
+ }, _callee13, null, [[0, 32, 37, 40]]);
1518
1536
  }));
1519
1537
  return function handleOAuthClickInternal(_x12) {
1520
1538
  return _ref14.apply(this, arguments);
@@ -1933,14 +1951,16 @@ var Login2 = function Login2(_ref) {
1933
1951
  }
1934
1952
  return /*#__PURE__*/React.createElement(React.Fragment, null, showDivider && /*#__PURE__*/React.createElement("div", {
1935
1953
  className: "login2-divider"
1936
- }, locales.getText('pisell-login2-or')), nonOauthButtons.length > 0 && /*#__PURE__*/React.createElement("div", {
1954
+ }, locales.getText('pisell-login2-or')), (nonOauthButtons.length > 0 || oauthProviders.length > 0) && /*#__PURE__*/React.createElement("div", {
1955
+ className: "login2-switch-groups"
1956
+ }, nonOauthButtons.length > 0 && /*#__PURE__*/React.createElement("div", {
1937
1957
  className: "login2-switch-options"
1938
1958
  }, nonOauthButtons), oauthProviders.length > 0 && /*#__PURE__*/React.createElement(OAuthButtonGroup, {
1939
1959
  providers: oauthProviders,
1940
1960
  wrapperClassName: "login2-oauth-buttons",
1941
1961
  buttonClassName: "login2-oauth-button",
1942
1962
  gap: 12
1943
- }), registerPrompt);
1963
+ })), registerPrompt);
1944
1964
  };
1945
1965
 
1946
1966
  // 渲染 OAuth 按钮
@@ -722,7 +722,7 @@ var Register2 = function Register2(_ref) {
722
722
  case 47:
723
723
  _context5.prev = 47;
724
724
  _context5.t0 = _context5["catch"](0);
725
- if (!(_context5.t0.messager === 'facebook_login_cancel')) {
725
+ if (!(_context5.t0.message === 'facebook_login_cancel')) {
726
726
  _context5.next = 51;
727
727
  break;
728
728
  }
@@ -106,7 +106,7 @@ export var validatePhoneNumber = /*#__PURE__*/function () {
106
106
  case 36:
107
107
  return _context.abrupt("break", 70);
108
108
  case 37:
109
- if (/^4\d{8,9}$/.test(phone)) {
109
+ if (/^(\+?0)?4\d{8}$/.test(phone)) {
110
110
  _context.next = 39;
111
111
  break;
112
112
  }
@@ -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: 18px;
790
+ font-size: 24px;
782
791
  font-weight: 700;
783
792
  flex-shrink: 0;
784
793
  }
@@ -106,7 +106,7 @@ export default {
106
106
  'pisell-phone-validation-taiwan': 'Please enter a valid Taiwan phone (9 digits starting with 9)',
107
107
  'pisell-phone-validation-us-canada': 'Please enter a valid US/Canada phone (10 digits)',
108
108
  'pisell-phone-validation-uk': 'Please enter a valid UK phone (10 digits starting with 7)',
109
- 'pisell-phone-validation-australia': 'Please enter a valid Australian phone (9-10 digits starting with 4)',
109
+ 'pisell-phone-validation-australia': 'Please enter a valid Australian phone',
110
110
  'pisell-phone-validation-japan': 'Please enter a valid Japanese phone (10 digits)',
111
111
  'pisell-phone-validation-korea': 'Please enter a valid Korean phone (9-10 digits)',
112
112
  'pisell-phone-validation-singapore': 'Please enter a valid Singapore phone (8 digits)',
@@ -312,7 +312,7 @@ export default {
312
312
  'pisell-phone-validation-taiwan': '请输入正确的台湾手机号(9位数字,以9开头)',
313
313
  'pisell-phone-validation-us-canada': '请输入正确的美国/加拿大手机号(10位数字)',
314
314
  'pisell-phone-validation-uk': '请输入正确的英国手机号(10位数字,以7开头)',
315
- 'pisell-phone-validation-australia': '请输入正确的澳大利亚手机号(9-10位数字,以4开头)',
315
+ 'pisell-phone-validation-australia': '请输入正确的澳大利亚手机号',
316
316
  'pisell-phone-validation-japan': '请输入正确的日本手机号(10位数字)',
317
317
  'pisell-phone-validation-korea': '请输入正确的韩国手机号(9-10位数字)',
318
318
  'pisell-phone-validation-singapore': '请输入正确的新加坡手机号(8位数字)',
@@ -453,8 +453,8 @@ export default {
453
453
  'pisell-register2-phone-placeholder': '請輸入手機號碼',
454
454
  'pisell-register2-password-placeholder': '請輸入密碼',
455
455
  // Already registered messages
456
- 'pisell-register2-email-already-registered': '此電子郵件已註冊,請登录或使用其他電子郵件',
457
- 'pisell-register2-phone-already-registered': '此手機號碼已註冊,請登录或使用其他手機號碼',
456
+ 'pisell-register2-email-already-registered': '此電子郵件已註冊,請登錄或使用其他電子郵件',
457
+ 'pisell-register2-phone-already-registered': '此手機號碼已註冊,請登錄或使用其他手機號碼',
458
458
  // Code input page
459
459
  'pisell-register2-check-email-title': '查看您的電子郵件',
460
460
  'pisell-register2-check-phone-title': '查看您的短訊',
@@ -480,20 +480,20 @@ export default {
480
480
  'pisell-register2-back-to-registration': '返回註冊',
481
481
  'pisell-register2-link-already-used-title': '驗證連結已使用',
482
482
  'pisell-register2-link-already-used-desc': '您已經驗證過此電子郵件。請登录以繼續。',
483
- 'pisell-register2-login-button': '登录',
483
+ 'pisell-register2-login-button': '登錄',
484
484
  // Email link password reset
485
485
  'pisell-login2-reset-password-verifying': '驗證中...',
486
486
  'pisell-login2-reset-password-invalid-link': '無效的重置連結',
487
487
  'pisell-login2-reset-password-link-expired': '您的重置密碼連結已過期。請申請新的重置郵件。',
488
488
  'pisell-login2-reset-password-link-invalid': '您的重置密碼連結無效。請申請新的重置郵件。',
489
- 'pisell-login2-reset-password-back-to-login': '登录',
489
+ 'pisell-login2-reset-password-back-to-login': '登錄',
490
490
  'pisell-login2-verification-failed-title': '驗證失敗',
491
491
  // Legal Terms
492
- 'pisell-legal-terms-login-text': '登录即代表同意 ',
492
+ 'pisell-legal-terms-login-text': '登錄即代表同意 ',
493
493
  'pisell-legal-terms-register-text': '註冊即代表同意 ',
494
494
  'pisell-legal-terms-and': ' & ',
495
495
  // Modal titles
496
- 'pisell-modal-login-title': '登录',
496
+ 'pisell-modal-login-title': '登錄',
497
497
  'pisell-modal-register-title': '註冊',
498
498
  // Login code input
499
499
  'pisell-login2-check-email-title': '查看您的電子郵件',
@@ -528,7 +528,7 @@ export default {
528
528
  'pisell-register2-continue-with-google': '使用Google繼續',
529
529
  'pisell-register2-continue-with-facebook': '使用Facebook繼續',
530
530
  'pisell-register2-continue-with-apple': '使用Apple繼續',
531
- 'pisell-register2-facebook-login-canceled': 'Facebook登录已取消',
531
+ 'pisell-register2-facebook-login-canceled': 'Facebook登錄已取消',
532
532
  // Phone input
533
533
  'pisell-phone-input-placeholder': '請輸入手機號碼',
534
534
  // Set password
@@ -537,7 +537,7 @@ export default {
537
537
  'pisell-set-password-reset-title': '請輸入新密碼',
538
538
  'pisell-set-password-placeholder': '輸入密碼',
539
539
  'pisell-set-password-confirm-placeholder': '確認密碼',
540
- 'pisell-set-password-submit': '確認並登录',
540
+ 'pisell-set-password-submit': '確認並登錄',
541
541
  'pisell-set-password-required': '請輸入密碼',
542
542
  'pisell-set-password-min-length': '密碼至少需要 {length} 個字元',
543
543
  'pisell-set-password-require-uppercase': '一個大寫字母',
@@ -558,7 +558,7 @@ export default {
558
558
  'pisell-phone-validation-taiwan': '請輸入正確的台灣手機號碼(9位數字,以9開頭)',
559
559
  'pisell-phone-validation-us-canada': '請輸入正確的美國/加拿大手機號碼(10位數字)',
560
560
  'pisell-phone-validation-uk': '請輸入正確的英國手機號碼(10位數字,以7開頭)',
561
- 'pisell-phone-validation-australia': '請輸入正確的澳洲手機號碼(9-10位數字,以4開頭)',
561
+ 'pisell-phone-validation-australia': '請輸入正確的澳洲手機號碼',
562
562
  'pisell-phone-validation-japan': '請輸入正確的日本手機號碼(10位數字)',
563
563
  'pisell-phone-validation-korea': '請輸入正確的韓國手機號碼(9-10位數字)',
564
564
  'pisell-phone-validation-singapore': '請輸入正確的新加坡手機號碼(8位數字)',
@@ -594,24 +594,24 @@ export default {
594
594
  'pisell-login2-continue-failed': '繼續失敗,請重試',
595
595
  'pisell-login2-back': '返回',
596
596
  // Login method switching
597
- 'pisell-login2-switch-to-email': '電子郵件登录',
598
- 'pisell-login2-switch-to-phone': '手機號碼登录',
597
+ 'pisell-login2-switch-to-email': '電子郵件登錄',
598
+ 'pisell-login2-switch-to-phone': '手機號碼登錄',
599
599
  'pisell-login2-login-as-guest': '遊客登錄',
600
- 'pisell-login2-switch-to-password': '密碼登录',
601
- 'pisell-login2-switch-to-email-code': '電子郵件驗證碼登录',
602
- 'pisell-login2-switch-to-sms-code': '短訊驗證碼登录',
600
+ 'pisell-login2-switch-to-password': '密碼登錄',
601
+ 'pisell-login2-switch-to-email-code': '電子郵件驗證碼登錄',
602
+ 'pisell-login2-switch-to-sms-code': '短訊驗證碼登錄',
603
603
  // Switch to register
604
604
  'pisell-login2-no-account': '沒有帳號?',
605
605
  'pisell-login2-register-link': '註冊',
606
606
  // Last login method badge
607
- 'pisell-login2-last-login-badge': '上次登录',
607
+ 'pisell-login2-last-login-badge': '上次登錄',
608
608
  // Remember me
609
609
  'pisell-login2-remember-me': '記住我',
610
610
  // Login status messages
611
611
  'pisell-login2-code-sent': '驗證碼已發送',
612
612
  'pisell-login2-code-send-failed': '發送驗證碼失敗',
613
- 'pisell-login2-login-success': '登录成功',
614
- 'pisell-login2-login-failed': '登录失敗',
613
+ 'pisell-login2-login-success': '登錄成功',
614
+ 'pisell-login2-login-failed': '登錄失敗',
615
615
  'pisell-register2-register-success': '註冊成功',
616
616
  'pisell-register2-complete-title': '註冊完成!',
617
617
  'pisell-register2-redirecting': '正在重定向到您的帳戶...',
@@ -1,10 +1 @@
1
- /// <reference types="react" />
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
- /// <reference types="react" />
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;