@pisell/private-materials 6.12.171 → 6.12.173
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 +1 -1
- package/build/lowcode/render/default/view.js +26 -25
- package/build/lowcode/view.js +26 -25
- package/es/components/shoppingCart/components/Cart/index.js +2 -2
- package/es/pro/Login2.0/components/ForgotPasswordFlow.js +2 -2
- package/es/pro/Login2.0/components/LoginCodeInput.js +2 -2
- package/es/pro/Login2.0/steps/CodeInput.js +2 -2
- package/es/pro/Login2.0/steps/EmailAlreadyRegistered.js +2 -2
- package/es/pro/Login2.0/steps/WaitEmailLink.js +3 -3
- package/package.json +3 -3
|
@@ -12,7 +12,7 @@ import { locales } from "@pisell/utils";
|
|
|
12
12
|
import { Button, Collapse, PisellAlert } from "@pisell/materials";
|
|
13
13
|
import classNames from "classnames";
|
|
14
14
|
import { useMemoizedFn } from "ahooks";
|
|
15
|
-
import
|
|
15
|
+
import IconFont from "@pisell/materials/src/components/iconfont";
|
|
16
16
|
import "./index.less";
|
|
17
17
|
//#region src/components/shoppingCart/components/Cart/index.tsx
|
|
18
18
|
locales.init(locales_default, localStorage.getItem("umi_locale") || "en");
|
|
@@ -145,7 +145,7 @@ const Cart = () => {
|
|
|
145
145
|
return /* @__PURE__ */ React.createElement("div", { className: `${prefixCls}-promotion-alert` }, /* @__PURE__ */ React.createElement("div", null, promotions === null || promotions === void 0 ? void 0 : promotions.map((item) => /* @__PURE__ */ React.createElement(PisellAlert, {
|
|
146
146
|
description: locales.getText("pisell2.text.shopping-cart.marketing.alert")(item === null || item === void 0 ? void 0 : item.needQuantity, translationOriginal === null || translationOriginal === void 0 ? void 0 : translationOriginal(item === null || item === void 0 ? void 0 : item.strategyName)),
|
|
147
147
|
type: "error",
|
|
148
|
-
action: /* @__PURE__ */ React.createElement(Button, { onClick: () => handleOpenPromotionModal(item, "promotion") }, /* @__PURE__ */ React.createElement("span", null, locales.getText("pisell2.text.shopping-cart.marketing.browse.items")), /* @__PURE__ */ React.createElement(
|
|
148
|
+
action: /* @__PURE__ */ React.createElement(Button, { onClick: () => handleOpenPromotionModal(item, "promotion") }, /* @__PURE__ */ React.createElement("span", null, locales.getText("pisell2.text.shopping-cart.marketing.browse.items")), /* @__PURE__ */ React.createElement(IconFont, { type: "pisell2-arrow-right" }))
|
|
149
149
|
}))));
|
|
150
150
|
}, [JSON.stringify(cartInfo), _isShowPromotionAlert]);
|
|
151
151
|
return useMemo(() => {
|
|
@@ -7,7 +7,7 @@ import React, { useState } from "react";
|
|
|
7
7
|
import { Form, message } from "antd";
|
|
8
8
|
import { locales } from "@pisell/utils";
|
|
9
9
|
import { Button as Button$1, Input as Input$1 } from "@pisell/materials";
|
|
10
|
-
import
|
|
10
|
+
import IconFont from "@pisell/materials/src/components/iconfont";
|
|
11
11
|
//#region src/pro/Login2.0/components/ForgotPasswordFlow.tsx
|
|
12
12
|
/**
|
|
13
13
|
* 忘记密码流程组件
|
|
@@ -101,7 +101,7 @@ function ForgotPasswordFlow({ initialEmail = "", accountType, onSendCode, onVeri
|
|
|
101
101
|
className: "back-button-top",
|
|
102
102
|
onClick: onBack,
|
|
103
103
|
"aria-label": "Go back"
|
|
104
|
-
}, /* @__PURE__ */ React.createElement(
|
|
104
|
+
}, /* @__PURE__ */ React.createElement(IconFont, { type: "pisell2-arrow-left" })), /* @__PURE__ */ React.createElement("div", { className: "register-step-content" }, /* @__PURE__ */ React.createElement("h2", { className: "register-step-title" }, locales.getText("pisell-forgot-password-title")), /* @__PURE__ */ React.createElement("p", { className: "register-step-desc" }, accountType === "email" ? locales.getText("pisell-forgot-password-desc") : locales.getText("pisell-forgot-password-desc-phone")), /* @__PURE__ */ React.createElement(Form, {
|
|
105
105
|
form,
|
|
106
106
|
layout: "vertical",
|
|
107
107
|
size: "large",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useEffect, useRef, useState } from "react";
|
|
2
2
|
import { locales } from "@pisell/utils";
|
|
3
3
|
import { Button } from "@pisell/materials";
|
|
4
|
-
import
|
|
4
|
+
import IconFont from "@pisell/materials/src/components/iconfont";
|
|
5
5
|
//#region src/pro/Login2.0/components/LoginCodeInput.tsx
|
|
6
6
|
/**
|
|
7
7
|
* 登录验证码输入组件
|
|
@@ -97,7 +97,7 @@ function LoginCodeInput({ account, accountType, codeLength = 4, onSubmit, onRese
|
|
|
97
97
|
className: "back-button-top",
|
|
98
98
|
onClick: onBack,
|
|
99
99
|
"aria-label": "Go back"
|
|
100
|
-
}, /* @__PURE__ */ React.createElement(
|
|
100
|
+
}, /* @__PURE__ */ React.createElement(IconFont, { type: "pisell2-arrow-left" })), /* @__PURE__ */ React.createElement("div", { className: "register-step-content" }, /* @__PURE__ */ React.createElement("h2", { className: "register-step-title" }, title), /* @__PURE__ */ React.createElement("p", { className: "register-step-desc" }, description, /* @__PURE__ */ React.createElement("br", null), account), /* @__PURE__ */ React.createElement("div", {
|
|
101
101
|
className: "code-input-group",
|
|
102
102
|
onPaste: handlePaste
|
|
103
103
|
}, code.map((digit, index) => /* @__PURE__ */ React.createElement("input", {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useEffect, useRef, useState } from "react";
|
|
2
2
|
import { locales } from "@pisell/utils";
|
|
3
3
|
import { Button } from "@pisell/materials";
|
|
4
|
-
import
|
|
4
|
+
import IconFont from "@pisell/materials/src/components/iconfont";
|
|
5
5
|
//#region src/pro/Login2.0/steps/CodeInput.tsx
|
|
6
6
|
/**
|
|
7
7
|
* 验证码输入页面(对应图3)
|
|
@@ -103,7 +103,7 @@ function CodeInput({ flowData, codeLength = 4, onSubmit, onResend, onBack, count
|
|
|
103
103
|
className: "back-button-top",
|
|
104
104
|
onClick: onBack,
|
|
105
105
|
"aria-label": "Go back"
|
|
106
|
-
}, /* @__PURE__ */ React.createElement(
|
|
106
|
+
}, /* @__PURE__ */ React.createElement(IconFont, { type: "pisell2-arrow-left" })), /* @__PURE__ */ React.createElement("div", { className: "register-step-content" }, /* @__PURE__ */ React.createElement("h2", { className: "register-step-title" }, title), /* @__PURE__ */ React.createElement("p", { className: "register-step-desc" }, description, /* @__PURE__ */ React.createElement("br", null), displayAccount), /* @__PURE__ */ React.createElement("div", {
|
|
107
107
|
className: "code-input-group",
|
|
108
108
|
onPaste: handlePaste
|
|
109
109
|
}, code.map((digit, index) => /* @__PURE__ */ React.createElement("input", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { locales } from "@pisell/utils";
|
|
3
|
-
import
|
|
3
|
+
import IconFont from "@pisell/materials/src/components/iconfont";
|
|
4
4
|
//#region src/pro/Login2.0/steps/EmailAlreadyRegistered.tsx
|
|
5
5
|
/**
|
|
6
6
|
* 账号已注册错误页面(对应图2)
|
|
@@ -12,7 +12,7 @@ function EmailAlreadyRegistered({ flowData, onGoToLogin, onBack }) {
|
|
|
12
12
|
className: "back-button-top",
|
|
13
13
|
onClick: onBack,
|
|
14
14
|
"aria-label": "Go back"
|
|
15
|
-
}, /* @__PURE__ */ React.createElement(
|
|
15
|
+
}, /* @__PURE__ */ React.createElement(IconFont, { type: "pisell2-arrow-left" })), /* @__PURE__ */ React.createElement("div", { className: "register-step-content" }, /* @__PURE__ */ React.createElement("p", { className: "email-already-registered-message" }, message), /* @__PURE__ */ React.createElement("div", { className: "register-login-prompt" }, /* @__PURE__ */ React.createElement("span", { className: "prompt-text" }, locales.getText("pisell-register2-have-account"), " "), /* @__PURE__ */ React.createElement("button", {
|
|
16
16
|
className: "login-link",
|
|
17
17
|
onClick: onGoToLogin
|
|
18
18
|
}, locales.getText("pisell-register2-login-link")))));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { locales } from "@pisell/utils";
|
|
3
|
-
import
|
|
3
|
+
import IconFont from "@pisell/materials/src/components/iconfont";
|
|
4
4
|
//#region src/pro/Login2.0/steps/WaitEmailLink.tsx
|
|
5
5
|
/**
|
|
6
6
|
* 等待邮件链接验证页面(对应图1)
|
|
@@ -12,11 +12,11 @@ function WaitEmailLink({ flowData, onResend, onBack, onEditEmail, countdown = 0,
|
|
|
12
12
|
className: "back-button-top",
|
|
13
13
|
onClick: onBack,
|
|
14
14
|
"aria-label": "Go back"
|
|
15
|
-
}, /* @__PURE__ */ React.createElement(
|
|
15
|
+
}, /* @__PURE__ */ React.createElement(IconFont, { type: "pisell2-arrow-left" })), /* @__PURE__ */ React.createElement("div", { className: "register-step-content" }, /* @__PURE__ */ React.createElement("div", { className: "register-step-title-verify-email" }, locales.getText("pisell-register2-verify-email-title")), /* @__PURE__ */ React.createElement("div", { className: "register-step-desc-verify-email" }, locales.getText("pisell-register2-verify-email-desc")), /* @__PURE__ */ React.createElement("div", { className: "register-email-display" }, /* @__PURE__ */ React.createElement("span", { className: "email-text" }, displayEmail), onEditEmail && /* @__PURE__ */ React.createElement("button", {
|
|
16
16
|
className: "edit-email-btn",
|
|
17
17
|
onClick: onEditEmail,
|
|
18
18
|
"aria-label": "Edit email"
|
|
19
|
-
}, /* @__PURE__ */ React.createElement(
|
|
19
|
+
}, /* @__PURE__ */ React.createElement(IconFont, {
|
|
20
20
|
type: "pisell2-edit-05",
|
|
21
21
|
style: {
|
|
22
22
|
fontSize: "20px",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "6.12.
|
|
3
|
+
"version": "6.12.173",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -69,10 +69,10 @@
|
|
|
69
69
|
"react-zoom-pan-pinch": "^3.7.0",
|
|
70
70
|
"styled-components": "^6.0.0-rc.3",
|
|
71
71
|
"use-sync-external-store": "^1.6.0",
|
|
72
|
+
"@pisell/pi-payment-sdk": "0.0.3",
|
|
72
73
|
"@pisell/utils": "3.0.4",
|
|
73
|
-
"@pisell/materials": "6.12.47",
|
|
74
74
|
"@pisell/icon": "0.0.11",
|
|
75
|
-
"@pisell/
|
|
75
|
+
"@pisell/materials": "6.12.47",
|
|
76
76
|
"@pisell/date-picker": "3.0.10"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|