@pisell/private-materials 3.4.83 → 3.4.85

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 (69) 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/meta.js +1 -1
  5. package/build/lowcode/render/default/view.css +1 -1
  6. package/build/lowcode/render/default/view.js +1 -1
  7. package/build/lowcode/view.css +1 -1
  8. package/build/lowcode/view.js +1 -1
  9. package/es/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  10. package/es/components/booking/info/header/index.js +7 -7
  11. package/es/components/booking/info/header/index.less +5 -5
  12. package/es/components/eftposPay/app.d.ts +1 -1
  13. package/es/components/eftposPay/component/fail/failCustom.js +17 -12
  14. package/es/components/eftposPay/component/fail/index.js +12 -5
  15. package/es/components/eftposPay/const.d.ts +2 -0
  16. package/es/components/eftposPay/const.js +1 -0
  17. package/es/components/eftposPay/hooks.d.ts +1 -0
  18. package/es/components/eftposPay/hooks.js +12 -0
  19. package/es/components/eftposPay/index.js +5 -1
  20. package/es/components/eftposPay/linkly/const.js +1 -1
  21. package/es/components/eftposPay/payo/config.js +1 -0
  22. package/es/components/eftposPay/payo/const.js +1 -1
  23. package/es/components/eftposPay/store/index.d.ts +3 -0
  24. package/es/components/eftposPay/tyro/const.js +1 -1
  25. package/es/components/eftposPay/tyro/hooks.d.ts +0 -1
  26. package/es/components/eftposPay/windcave/const.js +1 -1
  27. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  28. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  29. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  30. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  31. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  32. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -1
  33. package/es/plus/walletPassGallery/components/passList/index.js +4 -3
  34. package/es/plus/walletPassGallery/index.js +5 -4
  35. package/es/pro/Login2.0/Login2.js +8 -8
  36. package/es/pro/Login2.0/locales.d.ts +5 -0
  37. package/es/pro/Login2.0/locales.js +5 -0
  38. package/lib/components/booking/info/clientVariant/hooks/useIsLowSpeedNetwork.d.ts +0 -1
  39. package/lib/components/booking/info/header/index.js +7 -7
  40. package/lib/components/booking/info/header/index.less +5 -5
  41. package/lib/components/eftposPay/app.d.ts +1 -1
  42. package/lib/components/eftposPay/component/fail/failCustom.js +15 -9
  43. package/lib/components/eftposPay/component/fail/index.js +4 -1
  44. package/lib/components/eftposPay/const.d.ts +2 -0
  45. package/lib/components/eftposPay/const.js +1 -0
  46. package/lib/components/eftposPay/hooks.d.ts +1 -0
  47. package/lib/components/eftposPay/hooks.js +16 -0
  48. package/lib/components/eftposPay/index.js +5 -1
  49. package/lib/components/eftposPay/linkly/const.js +1 -1
  50. package/lib/components/eftposPay/payo/config.js +1 -0
  51. package/lib/components/eftposPay/payo/const.js +1 -1
  52. package/lib/components/eftposPay/store/index.d.ts +3 -0
  53. package/lib/components/eftposPay/tyro/const.js +1 -1
  54. package/lib/components/eftposPay/tyro/hooks.d.ts +0 -1
  55. package/lib/components/eftposPay/windcave/const.js +1 -1
  56. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateStatus/index.d.ts +0 -1
  57. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/DayItem/index.d.ts +0 -1
  58. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.d.ts +0 -1
  59. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Status/index.d.ts +0 -1
  60. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +0 -1
  61. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -1
  62. package/lib/plus/walletPassGallery/components/passList/index.js +3 -2
  63. package/lib/plus/walletPassGallery/index.js +4 -3
  64. package/lib/pro/Login2.0/Login2.js +8 -8
  65. package/lib/pro/Login2.0/locales.d.ts +5 -0
  66. package/lib/pro/Login2.0/locales.js +5 -0
  67. package/lowcode/eco-cup-list/meta.ts +1 -1
  68. package/lowcode/eco-customer-list/meta.ts +1 -1
  69. package/package.json +3 -3
@@ -59,37 +59,37 @@ var header = ({ state, dispatch }) => {
59
59
  {
60
60
  label: import_utils.locales.getText("pisell2.text.status.new"),
61
61
  key: "new",
62
- color: "#079455"
62
+ color: "#91caff"
63
63
  },
64
64
  {
65
65
  label: import_utils.locales.getText("pisell2.text.status.confirmed"),
66
66
  key: "confirmed",
67
- color: "#7F56D9"
67
+ color: "#b7eb8f"
68
68
  },
69
69
  {
70
70
  label: import_utils.locales.getText("pisell2.text.status.arrived"),
71
71
  key: "arrived",
72
- color: "#088AB2"
72
+ color: "#d3adf7"
73
73
  },
74
74
  {
75
75
  label: import_utils.locales.getText("pisell2.text.status.started"),
76
76
  key: "started",
77
- color: "#155EEF"
77
+ color: "#fffb8f"
78
78
  },
79
79
  {
80
80
  label: /* @__PURE__ */ import_react.default.createElement("span", { style: { color: "#D92D20" } }, import_utils.locales.getText("pisell2.text.status.cancelled")),
81
81
  key: "cancelled",
82
- color: "#DC6803"
82
+ color: "#bfbfbf"
83
83
  },
84
84
  {
85
85
  label: /* @__PURE__ */ import_react.default.createElement("span", { style: { color: "#D92D20" } }, import_utils.locales.getText("pisell2.text.status.no_show")),
86
86
  key: "no_show",
87
- color: "#D92D20"
87
+ color: "#ffa39e"
88
88
  },
89
89
  {
90
90
  label: import_utils.locales.getText("pisell2.text.status.completed"),
91
91
  key: "completed",
92
- color: "#4A5578"
92
+ color: "#ffd591"
93
93
  }
94
94
  ];
95
95
  const orderSalesChannel = {
@@ -21,7 +21,7 @@
21
21
 
22
22
  .booking-order-sales-channel {
23
23
  width: 100%;
24
- color: var(--Base-White, #FFF);
24
+ color: var(--Gray-900, #101828);
25
25
  font-size: 14px;
26
26
  font-style: normal;
27
27
  font-weight: 400;
@@ -37,7 +37,7 @@
37
37
  }
38
38
 
39
39
  .booking-header-left {
40
- color: var(--Base-White, #FFF);
40
+ color: var(--Gray-900, #101828);
41
41
  font-size: 18px;
42
42
  font-style: normal;
43
43
  font-weight: 400;
@@ -48,17 +48,17 @@
48
48
  display: flex;
49
49
  align-items: center;
50
50
  gap: 10px;
51
- color: var(--Base-White, #FFF) !important;
51
+ color: var(--Gray-900, #101828) !important;
52
52
  font-size: 18px;
53
53
  font-style: normal;
54
54
  font-weight: 400;
55
55
  cursor: pointer;
56
- border: 1px solid #fff;
56
+ border: 1px solid var(--Gray-900, #101828);
57
57
  padding: 4px 12px;
58
58
  border-radius: 24px;
59
59
 
60
60
  span {
61
- color: var(--Base-White, #FFF) !important;
61
+ color: var(--Gray-900, #101828) !important;
62
62
  }
63
63
 
64
64
  .booking-header-right-status-icon {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { PosProps, RouteType } from './const';
3
- declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "mode" | "type" | "getApi"> & {
3
+ declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "type" | "mode" | "getApi"> & {
4
4
  action: RouteType;
5
5
  device_number: string | number;
6
6
  api: ReturnType<PosProps['getApi']>;
@@ -52,25 +52,31 @@ var failCustom_default = ({ className = "", isMobile, onChange }) => {
52
52
  order_id,
53
53
  number,
54
54
  device,
55
- client
55
+ client,
56
+ originalParams
56
57
  } = (0, import_store.useContextData)();
57
58
  const failCustom = custom == null ? void 0 : custom.failCustom;
58
59
  const dispatch = (0, import_store.useDispatch)();
59
60
  const onRetry = () => {
60
61
  onChange("page", "pay");
61
- dispatch(
62
- (0, import_store.updateState)(
63
- (0, import_manufacturer.getInitState)(
64
- eftpos,
65
- mode === import_const.ModeEnum.Query ? { mode, name, symbol, amount, order_id } : { mode, name, symbol, amount, order_id, number: "" }
66
- )
67
- )
68
- );
62
+ const params = {
63
+ ...originalParams || {},
64
+ mode,
65
+ name,
66
+ symbol,
67
+ amount,
68
+ order_id
69
+ };
70
+ if (mode !== import_const.ModeEnum.Query) {
71
+ params.number = "";
72
+ }
73
+ dispatch((0, import_store.updateState)((0, import_manufacturer.getInitState)(eftpos, params)));
69
74
  };
70
75
  const onModify = () => {
71
76
  dispatch(
72
77
  (0, import_store.updateState)(
73
78
  (0, import_manufacturer.getInitState)(eftpos, {
79
+ ...originalParams || {},
74
80
  mode,
75
81
  name,
76
82
  symbol,
@@ -54,7 +54,8 @@ var fail_default = ({ onChange, className = "", isMobile }) => {
54
54
  order_id,
55
55
  number,
56
56
  device,
57
- client
57
+ client,
58
+ originalParams
58
59
  } = (0, import_store.useContextData)();
59
60
  const isPosNetworkError = ((_b = (_a = steps[step]) == null ? void 0 : _a.custom) == null ? void 0 : _b.isPosNetworkError) || false;
60
61
  const dispatch = (0, import_store.useDispatch)();
@@ -63,6 +64,7 @@ var fail_default = ({ onChange, className = "", isMobile }) => {
63
64
  dispatch(
64
65
  (0, import_store.updateState)(
65
66
  (0, import_manufacturer.getInitState)(eftpos, {
67
+ ...originalParams || {},
66
68
  mode,
67
69
  name,
68
70
  symbol,
@@ -77,6 +79,7 @@ var fail_default = ({ onChange, className = "", isMobile }) => {
77
79
  dispatch(
78
80
  (0, import_store.updateState)(
79
81
  (0, import_manufacturer.getInitState)(eftpos, {
82
+ ...originalParams || {},
80
83
  mode,
81
84
  name,
82
85
  symbol,
@@ -154,6 +154,8 @@ export declare enum PayStatus {
154
154
  'Unknown' = "701000",
155
155
  /** 交易请求超时 */
156
156
  'Timeout' = "701001",
157
+ /** 支付失败 */
158
+ 'PaymentFailed' = "701002",
157
159
  /** 繁忙 EFTPOS终端暂时不可用,因为EFTPOS正在处理另一个请求。 */
158
160
  'PayOtherEftposFailed' = "701003",
159
161
  /** 购物者没有出示卡片/卡片金额不足/在线拒绝/卡已过期/卡被锁定 */
@@ -92,6 +92,7 @@ var PayStatus = /* @__PURE__ */ ((PayStatus2) => {
92
92
  PayStatus2["PairingFailure"] = "606020";
93
93
  PayStatus2["Unknown"] = "701000";
94
94
  PayStatus2["Timeout"] = "701001";
95
+ PayStatus2["PaymentFailed"] = "701002";
95
96
  PayStatus2["PayOtherEftposFailed"] = "701003";
96
97
  PayStatus2["PayCardErrorFailed"] = "701004";
97
98
  PayStatus2["NoNetWork"] = "701005";
@@ -32,4 +32,5 @@ export declare const useStoreRef: <T extends {
32
32
  */
33
33
  export declare const useFail: (index: number) => (res: {
34
34
  code?: `${PayStatus}`;
35
+ message?: string;
35
36
  }, isMark?: boolean) => void;
@@ -384,6 +384,22 @@ ${import_utils.locales.getText(
384
384
  );
385
385
  return;
386
386
  }
387
+ if (code === import_const.PayStatus.PaymentFailed) {
388
+ steps[index].title = import_utils.locales.getText(
389
+ "page.eftpos-pay.text.transaction.fail"
390
+ );
391
+ steps[index].fail = (res == null ? void 0 : res.message) || import_utils.locales.getText("page.eftpos-pay.text.failed")(modeRef.current);
392
+ steps[index].status = "fail";
393
+ dispatch((0, import_store.updateSteps)(steps));
394
+ dispatch((0, import_store.updateComponent)("Fail"));
395
+ dispatch(
396
+ (0, import_store.updateCustom)({
397
+ errorStatus: "know"
398
+ // unknow know
399
+ })
400
+ );
401
+ return;
402
+ }
387
403
  steps[index].title = import_utils.locales.getText("page.eftpos-pay.text.failed")(
388
404
  modeRef.current
389
405
  );
@@ -94,10 +94,14 @@ var eftposPay_default = (props) => {
94
94
  if (props.source === import_const.RestoreEumn.Restore) {
95
95
  return props.params;
96
96
  }
97
- return (0, import_manufacturer.getInitState)(
97
+ const initState = (0, import_manufacturer.getInitState)(
98
98
  props.type,
99
99
  props.params ? { mode, ...props.params, symbol: current } : { mode, symbol: current }
100
100
  );
101
+ return {
102
+ ...initState || {},
103
+ originalParams: props.params || {}
104
+ };
101
105
  }, [mode, props.params, props.type, symbol]);
102
106
  const stateRef = (0, import_react.useRef)(state);
103
107
  (0, import_react.useEffect)(() => {
@@ -72,7 +72,7 @@ var const_default = (params) => {
72
72
  status: import_const.StatusEnum.Loading,
73
73
  steps: getStep(mode),
74
74
  render: true,
75
- client: client !== "undefined" ? client : import_const.ClientEnum.Merchant,
75
+ client: client !== "undefined" && client !== void 0 ? client : import_const.ClientEnum.Merchant,
76
76
  warn: "",
77
77
  custom: other || {},
78
78
  ...typeof net !== "undefined" ? { net } : {},
@@ -187,6 +187,7 @@ var POS = ({
187
187
  card_reader_type: eftposRef.current,
188
188
  card_reader_id: (_b = deviceRef.current) == null ? void 0 : _b.id,
189
189
  number: numRef.current,
190
+ original_payment_number: custom == null ? void 0 : custom.original_payment_number,
190
191
  pay_param_base64: encodeURIComponent(
191
192
  btoa(
192
193
  encodeURIComponent(
@@ -71,7 +71,7 @@ var const_default = (params) => {
71
71
  status: import_const.StatusEnum.Loading,
72
72
  steps: getStep(mode),
73
73
  render: true,
74
- client: client !== "undefined" ? client : import_const.ClientEnum.Merchant,
74
+ client: client !== "undefined" && client !== void 0 ? client : import_const.ClientEnum.Merchant,
75
75
  custom: other || {},
76
76
  ...typeof net !== "undefined" ? { net } : {},
77
77
  ...typeof number !== "undefined" ? { number } : {},
@@ -91,6 +91,8 @@ export declare type State = {
91
91
  };
92
92
  backup?: Omit<State, 'backup'>;
93
93
  client: ClientEnum;
94
+ /** 支付原始参数 */
95
+ originalParams?: Record<string, any>;
94
96
  };
95
97
  export declare type Action = {
96
98
  type: EActionTypes;
@@ -344,6 +346,7 @@ export declare const backUpFree: (payload: Partial<State>) => {
344
346
  } | undefined;
345
347
  backup?: Omit<State, "backup"> | undefined;
346
348
  client?: ClientEnum | undefined;
349
+ originalParams?: Record<string, any> | undefined;
347
350
  };
348
351
  };
349
352
  export declare function reducers(state: State, action: Action): State;
@@ -57,7 +57,7 @@ var const_default = (params) => {
57
57
  status: import_const.StatusEnum.Loading,
58
58
  steps: [],
59
59
  render: true,
60
- client: client !== "undefined" ? client : import_const.ClientEnum.Merchant,
60
+ client: client !== "undefined" && client !== void 0 ? client : import_const.ClientEnum.Merchant,
61
61
  custom: other || {},
62
62
  ...typeof net !== "undefined" ? { net } : {},
63
63
  ...typeof number !== "undefined" ? { number } : {},
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * @title: 获取 Tyro 资源
4
3
  * @description:
@@ -60,7 +60,7 @@ var const_default = (params) => {
60
60
  status: import_const.StatusEnum.Loading,
61
61
  steps: [],
62
62
  render: true,
63
- client: client !== "undefined" ? client : import_const.ClientEnum.Merchant,
63
+ client: client !== "undefined" && client !== void 0 ? client : import_const.ClientEnum.Merchant,
64
64
  custom: other ? { ...other, list: [], step: 1 /* Free */ } : { list: [], step: 1 /* Free */ },
65
65
  ...typeof net !== "undefined" ? { net } : {},
66
66
  ...typeof number !== "undefined" ? { number } : {},
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Status: (props: any) => import("react").JSX.Element;
4
3
  export default Status;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const DayItem: (props: any) => import("react").JSX.Element;
4
3
  export default DayItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  import { CalendarItemProps } from '../../../../../type';
4
3
  declare const Item: (props: CalendarItemProps) => import("react").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Status: (props: any) => import("react").JSX.Element;
4
3
  export default Status;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const StripeSDK: ({ public_key, client_secret, children, lang, }: {
3
2
  public_key: string;
4
3
  client_secret?: string | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Empty: (props: any) => import("react").JSX.Element;
4
3
  export default Empty;
@@ -95,6 +95,7 @@ var PassList = (props) => {
95
95
  limit_status,
96
96
  product_cover = "",
97
97
  par_value = "",
98
+ unified_available_status,
98
99
  unified_messages = {},
99
100
  holder,
100
101
  metadata,
@@ -121,8 +122,8 @@ var PassList = (props) => {
121
122
  showQrCode: true,
122
123
  showBalance: !isDiscountCard,
123
124
  cover: product_cover,
124
- disabled: limit_status !== "enable",
125
- showDisabledReason: limit_status !== "enable",
125
+ disabled: unified_available_status === 0,
126
+ showDisabledReason: unified_available_status === 0,
126
127
  disabledReason,
127
128
  style: { marginBottom: 16, width: "100%" },
128
129
  showBalanceSymbol: !["point_card", "good_pass"].includes(tag),
@@ -542,6 +542,7 @@ var WalletPassGallery = (props) => {
542
542
  shop,
543
543
  limit_status,
544
544
  product_cover = "",
545
+ unified_available_status,
545
546
  unified_messages = {},
546
547
  par_value = "",
547
548
  tag = "",
@@ -550,7 +551,7 @@ var WalletPassGallery = (props) => {
550
551
  const { title = "" } = unified_messages;
551
552
  const { name = "" } = shop;
552
553
  const isActive = id === (currentUnbindItem == null ? void 0 : currentUnbindItem.id) && platform === "pc";
553
- const isEnabled = limit_status === "enable";
554
+ const isDisabled = unified_available_status === 0;
554
555
  const isDiscountCard = tag === "product_discount_card";
555
556
  const getBalanceTitle = () => {
556
557
  if (tag === "point_card") {
@@ -572,8 +573,8 @@ var WalletPassGallery = (props) => {
572
573
  showRedeem: false,
573
574
  showQrCode: false,
574
575
  cover: product_cover,
575
- disabled: !isEnabled,
576
- showDisabledReason: !isEnabled,
576
+ disabled: isDisabled,
577
+ showDisabledReason: isDisabled,
577
578
  disabledReason: title,
578
579
  propStyle: { marginBottom: 10 },
579
580
  showBalanceSymbol: !["point_card", "good_pass"].includes(tag),
@@ -603,7 +603,7 @@ var Login2 = ({
603
603
  }
604
604
  const res = await registerAndLogin.resetPassword(resetPasswordParams);
605
605
  if ((res == null ? void 0 : res.code) !== 200) {
606
- throw new Error((res == null ? void 0 : res.message) || "密码重置失败");
606
+ throw new Error((res == null ? void 0 : res.message) || import_utils.locales.getText("pisell-forgot-password-failed"));
607
607
  }
608
608
  }
609
609
  handleCloseForgotPassword();
@@ -627,7 +627,7 @@ var Login2 = ({
627
627
  }
628
628
  setLoginStep("account");
629
629
  } catch (error) {
630
- import_antd.message.error((error == null ? void 0 : error.message) || "密码重置失败");
630
+ import_antd.message.error((error == null ? void 0 : error.message) || import_utils.locales.getText("pisell-forgot-password-failed"));
631
631
  } finally {
632
632
  setLoading(false);
633
633
  }
@@ -641,14 +641,14 @@ var Login2 = ({
641
641
  password
642
642
  });
643
643
  if ((res == null ? void 0 : res.code) !== 200) {
644
- throw new Error((res == null ? void 0 : res.message) || "密码重置失败");
644
+ throw new Error((res == null ? void 0 : res.message) || import_utils.locales.getText("pisell-forgot-password-failed"));
645
645
  }
646
646
  }
647
647
  handleCloseForgotPassword();
648
648
  setEmailLinkVerifyStatus(null);
649
- import_antd.message.success("密码重置成功");
649
+ import_antd.message.success(import_utils.locales.getText("pisell-forgot-password-success"));
650
650
  } catch (error) {
651
- import_antd.message.error((error == null ? void 0 : error.message) || "密码重置失败");
651
+ import_antd.message.error((error == null ? void 0 : error.message) || import_utils.locales.getText("pisell-forgot-password-failed"));
652
652
  throw error;
653
653
  } finally {
654
654
  setLoading(false);
@@ -1413,7 +1413,7 @@ var Login2 = ({
1413
1413
  password
1414
1414
  });
1415
1415
  if (result.status) {
1416
- import_antd.message.success("密码重置成功");
1416
+ import_antd.message.success(import_utils.locales.getText("pisell-forgot-password-success"));
1417
1417
  setEmailLinkVerifyStatus(null);
1418
1418
  setEmailLinkError("");
1419
1419
  if (resetPasswordUserEmail) {
@@ -1427,13 +1427,13 @@ var Login2 = ({
1427
1427
  setLoginStep("account");
1428
1428
  }
1429
1429
  } else {
1430
- import_antd.message.error(result.message || "密码重置失败");
1430
+ import_antd.message.error(result.message || import_utils.locales.getText("pisell-forgot-password-failed"));
1431
1431
  }
1432
1432
  } else {
1433
1433
  import_antd.message.error("系统错误,请稍后重试");
1434
1434
  }
1435
1435
  } catch (error) {
1436
- import_antd.message.error((error == null ? void 0 : error.message) || "密码重置失败");
1436
+ import_antd.message.error((error == null ? void 0 : error.message) || import_utils.locales.getText("pisell-forgot-password-failed"));
1437
1437
  }
1438
1438
  },
1439
1439
  onBack: () => {
@@ -75,6 +75,7 @@ declare const _default: {
75
75
  'pisell-forgot-password-send-link': string;
76
76
  'pisell-forgot-password-link-sent': string;
77
77
  'pisell-forgot-password-success': string;
78
+ 'pisell-forgot-password-failed': string;
78
79
  'pisell-forgot-password-verify': string;
79
80
  'pisell-common-resend': string;
80
81
  'pisell-common-verify': string;
@@ -255,6 +256,7 @@ declare const _default: {
255
256
  'pisell-forgot-password-send-link': string;
256
257
  'pisell-forgot-password-link-sent': string;
257
258
  'pisell-forgot-password-success': string;
259
+ 'pisell-forgot-password-failed': string;
258
260
  'pisell-forgot-password-verify': string;
259
261
  'pisell-common-resend': string;
260
262
  'pisell-common-verify': string;
@@ -447,6 +449,7 @@ declare const _default: {
447
449
  'pisell-forgot-password-send-link': string;
448
450
  'pisell-forgot-password-link-sent': string;
449
451
  'pisell-forgot-password-success': string;
452
+ 'pisell-forgot-password-failed': string;
450
453
  'pisell-forgot-password-verify': string;
451
454
  'pisell-common-resend': string;
452
455
  'pisell-common-verify': string;
@@ -615,6 +618,7 @@ declare const _default: {
615
618
  'pisell-forgot-password-send-link': string;
616
619
  'pisell-forgot-password-link-sent': string;
617
620
  'pisell-forgot-password-success': string;
621
+ 'pisell-forgot-password-failed': string;
618
622
  'pisell-forgot-password-verify': string;
619
623
  'pisell-common-resend': string;
620
624
  'pisell-common-verify': string;
@@ -795,6 +799,7 @@ declare const _default: {
795
799
  'pisell-forgot-password-send-link': string;
796
800
  'pisell-forgot-password-link-sent': string;
797
801
  'pisell-forgot-password-success': string;
802
+ 'pisell-forgot-password-failed': string;
798
803
  'pisell-forgot-password-verify': string;
799
804
  'pisell-common-resend': string;
800
805
  'pisell-common-verify': string;
@@ -109,6 +109,7 @@ var locales_default = {
109
109
  "pisell-forgot-password-send-link": "Send reset password link",
110
110
  "pisell-forgot-password-link-sent": "Reset password link sent",
111
111
  "pisell-forgot-password-success": "Password reset successfully",
112
+ "pisell-forgot-password-failed": "Password reset failed",
112
113
  "pisell-forgot-password-verify": "Verify",
113
114
  // Common buttons and actions
114
115
  "pisell-common-resend": "Resend",
@@ -315,6 +316,7 @@ var locales_default = {
315
316
  "pisell-forgot-password-send-link": "发送重置密码链接",
316
317
  "pisell-forgot-password-link-sent": "重置密码链接已发送",
317
318
  "pisell-forgot-password-success": "密码重置成功",
319
+ "pisell-forgot-password-failed": "密码重置失败",
318
320
  "pisell-forgot-password-verify": "验证",
319
321
  // Common buttons and actions
320
322
  "pisell-common-resend": "重新发送",
@@ -537,6 +539,7 @@ var locales_default = {
537
539
  "pisell-forgot-password-send-link": "發送重置密碼連結",
538
540
  "pisell-forgot-password-link-sent": "重置密碼連結已發送",
539
541
  "pisell-forgot-password-success": "密碼重設成功",
542
+ "pisell-forgot-password-failed": "密碼重設失敗",
540
543
  "pisell-forgot-password-verify": "驗證",
541
544
  // Common buttons and actions
542
545
  "pisell-common-resend": "重新發送",
@@ -719,6 +722,7 @@ var locales_default = {
719
722
  "pisell-forgot-password-send-link": "パスワードリセットリンクを送信",
720
723
  "pisell-forgot-password-link-sent": "パスワードリセットリンクが送信されました",
721
724
  "pisell-forgot-password-success": "パスワードリセット成功",
725
+ "pisell-forgot-password-failed": "パスワードリセット失敗",
722
726
  "pisell-forgot-password-verify": "確認",
723
727
  "pisell-common-resend": "再送信",
724
728
  "pisell-common-verify": "確認",
@@ -899,6 +903,7 @@ var locales_default = {
899
903
  "pisell-forgot-password-send-link": "Enviar link de redefinição de senha",
900
904
  "pisell-forgot-password-link-sent": "Link de redefinição de senha enviado",
901
905
  "pisell-forgot-password-success": "Redefinição de senha bem-sucedida",
906
+ "pisell-forgot-password-failed": "Falha na redefinição de senha",
902
907
  "pisell-forgot-password-verify": "Verificar",
903
908
  "pisell-common-resend": "Reenviar",
904
909
  "pisell-common-verify": "Verificar",
@@ -9,7 +9,7 @@ const EcoCupListMeta: ComponentMetadata = {
9
9
  "devMode": "proCode",
10
10
  "npm": {
11
11
  "package": "@pisell/private-materials",
12
- "version": "1.1.2066",
12
+ "version": "3.4.84",
13
13
  "exportName": "EcoCupList",
14
14
  "main": "src/index.ts",
15
15
  "destructuring": true,
@@ -9,7 +9,7 @@ const EcoCustomerListMeta: ComponentMetadata = {
9
9
  "devMode": "proCode",
10
10
  "npm": {
11
11
  "package": "@pisell/private-materials",
12
- "version": "1.1.2066",
12
+ "version": "3.4.84",
13
13
  "exportName": "EcoCustomerList",
14
14
  "main": "src/index.ts",
15
15
  "destructuring": true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "3.4.83",
3
+ "version": "3.4.85",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -77,9 +77,9 @@
77
77
  "react-resizable": "^3.0.5",
78
78
  "styled-components": "^6.0.0-rc.3",
79
79
  "@pisell/utils": "3.0.2",
80
+ "@pisell/icon": "0.0.11",
80
81
  "@pisell/date-picker": "3.0.4",
81
- "@pisell/materials": "3.3.86",
82
- "@pisell/icon": "0.0.11"
82
+ "@pisell/materials": "3.3.87"
83
83
  },
84
84
  "peerDependencies": {
85
85
  "react": "^18.0.0",