@pisell/private-materials 6.1.20 → 6.1.22
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 +5 -5
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +8 -8
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +8 -8
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.js +8 -8
- package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +4 -4
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.js +4 -4
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.js +2 -2
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.less +4 -4
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.js +4 -4
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.less +3 -3
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.js +1 -1
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.less +3 -3
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.js +6 -6
- package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +4 -4
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/Content.js +4 -4
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.js +2 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/Finish/index.less +4 -4
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.js +4 -4
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.less +3 -3
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/PaymentRequestForm.js +2 -2
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.less +3 -3
- package/package.json +1 -1
@@ -3,7 +3,7 @@ import { Iconfont } from '@pisell/materials';
|
|
3
3
|
import classNames from 'classnames';
|
4
4
|
// import { useShallowEqualSelector } from '@/hooks';
|
5
5
|
// import { getText } from '@/utils/formatMessage';
|
6
|
-
import
|
6
|
+
import "./index.less";
|
7
7
|
// import { callPhone, sendEmail } from '@/utils/index';
|
8
8
|
|
9
9
|
export var defaultBookingConfig = {
|
@@ -34,9 +34,9 @@ var CallToBook = function CallToBook(props) {
|
|
34
34
|
}
|
35
35
|
if (type === 'call_to_book' && shop.phone) {
|
36
36
|
return /*#__PURE__*/React.createElement("div", {
|
37
|
-
className:
|
37
|
+
className: "pisell-lowcode-sales-close-tip"
|
38
38
|
}, "\u5173\u95ED", /*#__PURE__*/React.createElement("a", {
|
39
|
-
className:
|
39
|
+
className: "pisell-lowcode-sales-close-tel"
|
40
40
|
// onClick={() => {
|
41
41
|
// callPhone(`+${shop.country_calling_code}${shop.phone}`);
|
42
42
|
// }}
|
@@ -44,9 +44,9 @@ var CallToBook = function CallToBook(props) {
|
|
44
44
|
}
|
45
45
|
if (type === 'email_to_book' && shop.contact_email) {
|
46
46
|
return /*#__PURE__*/React.createElement("div", {
|
47
|
-
className:
|
47
|
+
className: "pisell-lowcode-sales-close-tip"
|
48
48
|
}, "4", /*#__PURE__*/React.createElement("a", {
|
49
|
-
className:
|
49
|
+
className: "pisell-lowcode-sales-close-tel"
|
50
50
|
// onClick={() => {
|
51
51
|
// sendEmail(shop.contact_email);
|
52
52
|
// }}
|
@@ -55,11 +55,11 @@ var CallToBook = function CallToBook(props) {
|
|
55
55
|
return null;
|
56
56
|
}, [type]);
|
57
57
|
return show ? /*#__PURE__*/React.createElement("div", {
|
58
|
-
className:
|
58
|
+
className: "pisell-lowcode-sales-close"
|
59
59
|
}, /*#__PURE__*/React.createElement(Iconfont, {
|
60
|
-
className: classNames('iconshangjia',
|
60
|
+
className: classNames('iconshangjia', 'pisell-lowcode-sales-icon')
|
61
61
|
}), /*#__PURE__*/React.createElement("div", {
|
62
|
-
className:
|
62
|
+
className: "pisell-lowcode-sales-close-tip"
|
63
63
|
}, "6"), message) : null;
|
64
64
|
};
|
65
65
|
export default CallToBook;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
.sales-close {
|
1
|
+
.pisell-lowcode-sales-close {
|
2
2
|
width: 100%;
|
3
3
|
margin-bottom: 12px;
|
4
4
|
border-radius: 8px;
|
@@ -10,11 +10,11 @@
|
|
10
10
|
justify-content: center;
|
11
11
|
user-select: text;
|
12
12
|
|
13
|
-
.sales-icon {
|
13
|
+
.pisell-lowcode-sales-icon {
|
14
14
|
font-size: 22px;
|
15
15
|
}
|
16
16
|
|
17
|
-
.sales-close-tip {
|
17
|
+
.pisell-lowcode-sales-close-tip {
|
18
18
|
color: #1b1b1b;
|
19
19
|
font-size: 14px;
|
20
20
|
font-style: normal;
|
@@ -22,7 +22,7 @@
|
|
22
22
|
line-height: 20px;
|
23
23
|
}
|
24
24
|
|
25
|
-
.sales-close-tel {
|
25
|
+
.pisell-lowcode-sales-close-tel {
|
26
26
|
cursor: pointer;
|
27
27
|
color: #0b5fdb;
|
28
28
|
font-weight: bold;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import React, { useEffect } from 'react';
|
2
2
|
import { useStripe } from '@stripe/react-stripe-js';
|
3
3
|
import useEngineContext from "../../../../../../../hooks/useEngineContext";
|
4
|
-
import
|
4
|
+
import "./index.less";
|
5
5
|
var PaymentStatus = function PaymentStatus(_ref) {
|
6
6
|
var _context$appHelper;
|
7
7
|
var onChange = _ref.onChange;
|
@@ -48,14 +48,14 @@ var PaymentStatus = function PaymentStatus(_ref) {
|
|
48
48
|
});
|
49
49
|
}, [stripe]);
|
50
50
|
return /*#__PURE__*/React.createElement("div", {
|
51
|
-
className:
|
51
|
+
className: "pisell-lowcode-page-loading-wrap"
|
52
52
|
}, /*#__PURE__*/React.createElement("img", {
|
53
53
|
loading: "lazy",
|
54
|
-
className:
|
54
|
+
className: "pisell-lowcode-logo",
|
55
55
|
src: config.static + '/static/payment-loading.svg',
|
56
56
|
alt: ""
|
57
57
|
}), /*#__PURE__*/React.createElement("div", {
|
58
|
-
className:
|
58
|
+
className: "pisell-lowcode-title"
|
59
59
|
}, "\u8BF7\u7A0D\u5019"));
|
60
60
|
};
|
61
61
|
export default PaymentStatus;
|
@@ -5,7 +5,7 @@ import StripeSDK from "../../../../../../StripeSDK";
|
|
5
5
|
import Content from "./Content";
|
6
6
|
import { isWxApp } from "../../../../../../../utils";
|
7
7
|
import { getStripeKey } from "./serve";
|
8
|
-
import
|
8
|
+
import "./index.less";
|
9
9
|
var StripePayment = function StripePayment() {
|
10
10
|
var _getStripeKey$data;
|
11
11
|
var history = useHistory();
|
@@ -105,7 +105,7 @@ var StripePayment = function StripePayment() {
|
|
105
105
|
return decodeURIComponent(query.payment_method || '');
|
106
106
|
}, [query]);
|
107
107
|
return /*#__PURE__*/React.createElement("div", {
|
108
|
-
className:
|
108
|
+
className: "pisell-lowcode-stripe-payment-page"
|
109
109
|
}, /*#__PURE__*/React.createElement(NavBar, {
|
110
110
|
name: _title,
|
111
111
|
onChange: goBack,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
.stripe-payment-page {
|
1
|
+
.pisell-lowcode-stripe-payment-page {
|
2
2
|
background-color: #ffffff;
|
3
3
|
height: 100%;
|
4
4
|
width: 100%;
|
@@ -6,7 +6,7 @@
|
|
6
6
|
overflow-y: scroll;
|
7
7
|
}
|
8
8
|
|
9
|
-
.page-loading-wrap {
|
9
|
+
.pisell-lowcode-page-loading-wrap {
|
10
10
|
position: fixed;
|
11
11
|
width: 100%;
|
12
12
|
height: calc(100% - 44px);
|
@@ -17,13 +17,13 @@
|
|
17
17
|
flex-direction: column;
|
18
18
|
align-items: center;
|
19
19
|
|
20
|
-
.logo {
|
20
|
+
.pisell-lowcode-logo {
|
21
21
|
margin-top: 199px;
|
22
22
|
width: 140px;
|
23
23
|
height: 140px;
|
24
24
|
}
|
25
25
|
|
26
|
-
.title {
|
26
|
+
.pisell-lowcode-title {
|
27
27
|
margin-top: 20px;
|
28
28
|
font-size: 20px;
|
29
29
|
font-weight: bold;
|
package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
import cfg from "../../../../../../../../configs";
|
2
|
-
import
|
2
|
+
import "./index.less";
|
3
3
|
import { getText } from "../../../../../../../../utils/formatMessage";
|
4
4
|
var PageLoading = function PageLoading() {
|
5
5
|
return /*#__PURE__*/React.createElement("div", {
|
6
|
-
className:
|
6
|
+
className: "pisell-lowcode-page-loading-wrap"
|
7
7
|
}, /*#__PURE__*/React.createElement("img", {
|
8
|
-
className:
|
8
|
+
className: "pisell-lowcode-logo",
|
9
9
|
src: cfg.static + '/static/stripe_loading.gif',
|
10
10
|
alt: ""
|
11
11
|
}), /*#__PURE__*/React.createElement("div", {
|
12
|
-
className:
|
12
|
+
className: "pisell-lowcode-title"
|
13
13
|
}, getText('payment.text.miniapp.stripe.loading')));
|
14
14
|
};
|
15
15
|
export default PageLoading;
|
package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.less
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
.page-loading-wrap {
|
1
|
+
.pisell-lowcode-page-loading-wrap {
|
2
2
|
position: fixed;
|
3
3
|
width: 100%;
|
4
4
|
height: calc(100% - 44px);
|
@@ -9,13 +9,13 @@
|
|
9
9
|
flex-direction: column;
|
10
10
|
align-items: center;
|
11
11
|
|
12
|
-
.logo {
|
12
|
+
.pisell-lowcode-logo {
|
13
13
|
margin-top: 150px;
|
14
14
|
width: 140px;
|
15
15
|
height: 140px;
|
16
16
|
}
|
17
17
|
|
18
|
-
.title {
|
18
|
+
.pisell-lowcode-title {
|
19
19
|
margin-top: 20px;
|
20
20
|
padding: 0 40px;
|
21
21
|
text-align: center;
|
@@ -9,7 +9,7 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
|
|
9
9
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
10
10
|
import React, { useMemo, useState, useEffect } from 'react';
|
11
11
|
import { useStripe, PaymentRequestButtonElement } from '@stripe/react-stripe-js';
|
12
|
-
import
|
12
|
+
import "./index.less";
|
13
13
|
var useOptions = function useOptions(paymentRequest) {
|
14
14
|
var options = useMemo(function () {
|
15
15
|
return {
|
package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.less
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
.setup-form {
|
1
|
+
.pisell-lowcode-setup-form {
|
2
2
|
background-color: #ffffff;
|
3
3
|
height: calc(100% - 44px);
|
4
4
|
width: 100%;
|
@@ -7,14 +7,14 @@
|
|
7
7
|
padding: 15px;
|
8
8
|
position: relative;
|
9
9
|
|
10
|
-
.setup-form-content {
|
10
|
+
.pisell-lowcode-setup-form-content {
|
11
11
|
background-color: #f7fafd;
|
12
12
|
padding: 7px !important;
|
13
13
|
border-radius: 4px;
|
14
14
|
}
|
15
15
|
}
|
16
16
|
|
17
|
-
.stripe-payment-btn {
|
17
|
+
.pisell-lowcode-stripe-payment-btn {
|
18
18
|
width: 335px;
|
19
19
|
margin: 40px auto 0;
|
20
20
|
border-radius: 27px !important;
|
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(CallToBook_exports);
|
|
36
36
|
var import_react = require("react");
|
37
37
|
var import_materials = require("@pisell/materials");
|
38
38
|
var import_classnames = __toESM(require("classnames"));
|
39
|
-
var import_index =
|
39
|
+
var import_index = require("./index.less");
|
40
40
|
var defaultBookingConfig = {
|
41
41
|
booking_mode_after_cut_off: "booking_closed"
|
42
42
|
};
|
@@ -47,10 +47,10 @@ var CallToBook = (props) => {
|
|
47
47
|
return null;
|
48
48
|
}
|
49
49
|
if (type === "call_to_book" && shop.phone) {
|
50
|
-
return /* @__PURE__ */ React.createElement("div", { className:
|
50
|
+
return /* @__PURE__ */ React.createElement("div", { className: "pisell-lowcode-sales-close-tip" }, "关闭", /* @__PURE__ */ React.createElement(
|
51
51
|
"a",
|
52
52
|
{
|
53
|
-
className:
|
53
|
+
className: "pisell-lowcode-sales-close-tel"
|
54
54
|
},
|
55
55
|
"+",
|
56
56
|
shop.country_calling_code,
|
@@ -59,17 +59,17 @@ var CallToBook = (props) => {
|
|
59
59
|
));
|
60
60
|
}
|
61
61
|
if (type === "email_to_book" && shop.contact_email) {
|
62
|
-
return /* @__PURE__ */ React.createElement("div", { className:
|
62
|
+
return /* @__PURE__ */ React.createElement("div", { className: "pisell-lowcode-sales-close-tip" }, "4", /* @__PURE__ */ React.createElement(
|
63
63
|
"a",
|
64
64
|
{
|
65
|
-
className:
|
65
|
+
className: "pisell-lowcode-sales-close-tel"
|
66
66
|
},
|
67
67
|
shop.contact_email
|
68
68
|
));
|
69
69
|
}
|
70
70
|
return null;
|
71
71
|
}, [type]);
|
72
|
-
return show ? /* @__PURE__ */ React.createElement("div", { className:
|
72
|
+
return show ? /* @__PURE__ */ React.createElement("div", { className: "pisell-lowcode-sales-close" }, /* @__PURE__ */ React.createElement(import_materials.Iconfont, { className: (0, import_classnames.default)("iconshangjia", "pisell-lowcode-sales-icon") }), /* @__PURE__ */ React.createElement("div", { className: "pisell-lowcode-sales-close-tip" }, "6"), message) : null;
|
73
73
|
};
|
74
74
|
var CallToBook_default = CallToBook;
|
75
75
|
// Annotate the CommonJS export names for ESM import in node:
|
@@ -1,4 +1,4 @@
|
|
1
|
-
.sales-close {
|
1
|
+
.pisell-lowcode-sales-close {
|
2
2
|
width: 100%;
|
3
3
|
margin-bottom: 12px;
|
4
4
|
border-radius: 8px;
|
@@ -10,11 +10,11 @@
|
|
10
10
|
justify-content: center;
|
11
11
|
user-select: text;
|
12
12
|
|
13
|
-
.sales-icon {
|
13
|
+
.pisell-lowcode-sales-icon {
|
14
14
|
font-size: 22px;
|
15
15
|
}
|
16
16
|
|
17
|
-
.sales-close-tip {
|
17
|
+
.pisell-lowcode-sales-close-tip {
|
18
18
|
color: #1b1b1b;
|
19
19
|
font-size: 14px;
|
20
20
|
font-style: normal;
|
@@ -22,7 +22,7 @@
|
|
22
22
|
line-height: 20px;
|
23
23
|
}
|
24
24
|
|
25
|
-
.sales-close-tel {
|
25
|
+
.pisell-lowcode-sales-close-tel {
|
26
26
|
cursor: pointer;
|
27
27
|
color: #0b5fdb;
|
28
28
|
font-weight: bold;
|
@@ -35,7 +35,7 @@ module.exports = __toCommonJS(Content_exports);
|
|
35
35
|
var import_react = __toESM(require("react"));
|
36
36
|
var import_react_stripe_js = require("@stripe/react-stripe-js");
|
37
37
|
var import_useEngineContext = __toESM(require("../../../../../../../hooks/useEngineContext"));
|
38
|
-
var import_index =
|
38
|
+
var import_index = require("./index.less");
|
39
39
|
var PaymentStatus = ({ onChange }) => {
|
40
40
|
var _a;
|
41
41
|
const stripe = (0, import_react_stripe_js.useStripe)();
|
@@ -63,14 +63,14 @@ var PaymentStatus = ({ onChange }) => {
|
|
63
63
|
}
|
64
64
|
});
|
65
65
|
}, [stripe]);
|
66
|
-
return /* @__PURE__ */ import_react.default.createElement("div", { className:
|
66
|
+
return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode-page-loading-wrap" }, /* @__PURE__ */ import_react.default.createElement(
|
67
67
|
"img",
|
68
68
|
{
|
69
69
|
loading: "lazy",
|
70
|
-
className:
|
70
|
+
className: "pisell-lowcode-logo",
|
71
71
|
src: config.static + "/static/payment-loading.svg",
|
72
72
|
alt: ""
|
73
73
|
}
|
74
|
-
), /* @__PURE__ */ import_react.default.createElement("div", { className:
|
74
|
+
), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-lowcode-title" }, "请稍候"));
|
75
75
|
};
|
76
76
|
var Content_default = PaymentStatus;
|
@@ -39,7 +39,7 @@ var import_StripeSDK = __toESM(require("../../../../../../StripeSDK"));
|
|
39
39
|
var import_Content = __toESM(require("./Content"));
|
40
40
|
var import_utils = require("../../../../../../../utils/index");
|
41
41
|
var import_serve = require("./serve");
|
42
|
-
var import_index =
|
42
|
+
var import_index = require("./index.less");
|
43
43
|
var StripePayment = () => {
|
44
44
|
var _a;
|
45
45
|
const history = useHistory();
|
@@ -93,7 +93,7 @@ var StripePayment = () => {
|
|
93
93
|
const _title = (0, import_react.useMemo)(() => {
|
94
94
|
return decodeURIComponent(query.payment_method || "");
|
95
95
|
}, [query]);
|
96
|
-
return /* @__PURE__ */ React.createElement("div", { className:
|
96
|
+
return /* @__PURE__ */ React.createElement("div", { className: "pisell-lowcode-stripe-payment-page" }, /* @__PURE__ */ React.createElement(
|
97
97
|
import_NavBar.default,
|
98
98
|
{
|
99
99
|
name: _title,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
.stripe-payment-page {
|
1
|
+
.pisell-lowcode-stripe-payment-page {
|
2
2
|
background-color: #ffffff;
|
3
3
|
height: 100%;
|
4
4
|
width: 100%;
|
@@ -6,7 +6,7 @@
|
|
6
6
|
overflow-y: scroll;
|
7
7
|
}
|
8
8
|
|
9
|
-
.page-loading-wrap {
|
9
|
+
.pisell-lowcode-page-loading-wrap {
|
10
10
|
position: fixed;
|
11
11
|
width: 100%;
|
12
12
|
height: calc(100% - 44px);
|
@@ -17,13 +17,13 @@
|
|
17
17
|
flex-direction: column;
|
18
18
|
align-items: center;
|
19
19
|
|
20
|
-
.logo {
|
20
|
+
.pisell-lowcode-logo {
|
21
21
|
margin-top: 199px;
|
22
22
|
width: 140px;
|
23
23
|
height: 140px;
|
24
24
|
}
|
25
25
|
|
26
|
-
.title {
|
26
|
+
.pisell-lowcode-title {
|
27
27
|
margin-top: 20px;
|
28
28
|
font-size: 20px;
|
29
29
|
font-weight: bold;
|
package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.js
CHANGED
@@ -33,16 +33,16 @@ __export(PageLoading_exports, {
|
|
33
33
|
});
|
34
34
|
module.exports = __toCommonJS(PageLoading_exports);
|
35
35
|
var import_configs = __toESM(require("../../../../../../../../configs/index"));
|
36
|
-
var import_index =
|
36
|
+
var import_index = require("./index.less");
|
37
37
|
var import_formatMessage = require("../../../../../../../../utils/formatMessage");
|
38
38
|
var PageLoading = () => {
|
39
|
-
return /* @__PURE__ */ React.createElement("div", { className:
|
39
|
+
return /* @__PURE__ */ React.createElement("div", { className: "pisell-lowcode-page-loading-wrap" }, /* @__PURE__ */ React.createElement(
|
40
40
|
"img",
|
41
41
|
{
|
42
|
-
className:
|
42
|
+
className: "pisell-lowcode-logo",
|
43
43
|
src: import_configs.default.static + "/static/stripe_loading.gif",
|
44
44
|
alt: ""
|
45
45
|
}
|
46
|
-
), /* @__PURE__ */ React.createElement("div", { className:
|
46
|
+
), /* @__PURE__ */ React.createElement("div", { className: "pisell-lowcode-title" }, (0, import_formatMessage.getText)("payment.text.miniapp.stripe.loading")));
|
47
47
|
};
|
48
48
|
var PageLoading_default = PageLoading;
|
package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/PageLoading/index.less
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
.page-loading-wrap {
|
1
|
+
.pisell-lowcode-page-loading-wrap {
|
2
2
|
position: fixed;
|
3
3
|
width: 100%;
|
4
4
|
height: calc(100% - 44px);
|
@@ -9,13 +9,13 @@
|
|
9
9
|
flex-direction: column;
|
10
10
|
align-items: center;
|
11
11
|
|
12
|
-
.logo {
|
12
|
+
.pisell-lowcode-logo {
|
13
13
|
margin-top: 150px;
|
14
14
|
width: 140px;
|
15
15
|
height: 140px;
|
16
16
|
}
|
17
17
|
|
18
|
-
.title {
|
18
|
+
.pisell-lowcode-title {
|
19
19
|
margin-top: 20px;
|
20
20
|
padding: 0 40px;
|
21
21
|
text-align: center;
|
@@ -34,7 +34,7 @@ __export(PaymentRequestForm_exports, {
|
|
34
34
|
module.exports = __toCommonJS(PaymentRequestForm_exports);
|
35
35
|
var import_react = __toESM(require("react"));
|
36
36
|
var import_react_stripe_js = require("@stripe/react-stripe-js");
|
37
|
-
var import_index =
|
37
|
+
var import_index = require("./index.less");
|
38
38
|
var useOptions = (paymentRequest) => {
|
39
39
|
const options = (0, import_react.useMemo)(
|
40
40
|
() => ({
|
@@ -101,7 +101,7 @@ var PaymentRequestForm = () => {
|
|
101
101
|
if (!paymentRequest) {
|
102
102
|
return null;
|
103
103
|
}
|
104
|
-
return /* @__PURE__ */ import_react.default.createElement("div", { className:
|
104
|
+
return /* @__PURE__ */ import_react.default.createElement("div", { className: styles["PaymentRequestButton"] }, /* @__PURE__ */ import_react.default.createElement(
|
105
105
|
import_react_stripe_js.PaymentRequestButtonElement,
|
106
106
|
{
|
107
107
|
className: "PaymentRequestButton",
|
package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.less
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
.setup-form {
|
1
|
+
.pisell-lowcode-setup-form {
|
2
2
|
background-color: #ffffff;
|
3
3
|
height: calc(100% - 44px);
|
4
4
|
width: 100%;
|
@@ -7,14 +7,14 @@
|
|
7
7
|
padding: 15px;
|
8
8
|
position: relative;
|
9
9
|
|
10
|
-
.setup-form-content {
|
10
|
+
.pisell-lowcode-setup-form-content {
|
11
11
|
background-color: #f7fafd;
|
12
12
|
padding: 7px !important;
|
13
13
|
border-radius: 4px;
|
14
14
|
}
|
15
15
|
}
|
16
16
|
|
17
|
-
.stripe-payment-btn {
|
17
|
+
.pisell-lowcode-stripe-payment-btn {
|
18
18
|
width: 335px;
|
19
19
|
margin: 40px auto 0;
|
20
20
|
border-radius: 27px !important;
|