@pisell/private-materials 6.2.10 → 6.2.12
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 +8 -8
- package/build/lowcode/render/default/view.js +2 -2
- package/build/lowcode/view.js +8 -8
- package/es/businessModel/SalesModel/Sales/index.d.ts +24 -0
- package/es/components/Sales/Cart/index.d.ts +53 -0
- package/es/components/Sales/Cart/utils.d.ts +63 -0
- package/es/components/Sales/Cart/utils.js +17 -1
- package/es/components/Sales/Checkout/index.d.ts +37 -0
- package/es/components/Sales/Checkout/serve.d.ts +15 -0
- package/es/components/Sales/Checkout/utils.d.ts +40 -0
- package/es/components/Sales/Customer/index.d.ts +25 -0
- package/es/components/Sales/Event/Detail.d.ts +1 -0
- package/es/components/Sales/Event/Detail.js +45 -11
- package/es/components/Sales/Event/serve.d.ts +10 -0
- package/es/components/Sales/Event/serve.js +25 -0
- package/es/components/Sales/Resource/index.d.ts +26 -0
- package/es/components/Sales/Resource/serve.d.ts +12 -0
- package/es/components/Sales/Summary/index.d.ts +35 -0
- package/es/components/Sales/Summary/serve.d.ts +1 -0
- package/es/components/Sales/Summary/utils.d.ts +51 -0
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +9 -0
- package/es/components/appointmentBooking/components/Form/index.d.ts +4 -0
- package/es/components/appointmentBooking/components/Form/utils.d.ts +8 -0
- package/es/components/appointmentBooking/components/Header/index.d.ts +3 -0
- package/es/components/appointmentBooking/components/Resource/index.d.ts +7 -0
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
- package/es/components/appointmentBooking/deposit/index.d.ts +3 -0
- package/es/components/appointmentBooking/index.d.ts +3 -0
- package/es/components/booking/components/TabProduct/tabs/index.js +5 -1
- package/es/components/booking/components/browserSelect/index.js +1 -1
- package/es/components/booking/components/customSelect/index.d.ts +38 -0
- package/es/components/booking/components/footer/index.d.ts +11 -0
- package/es/components/booking/components/footer/utils.d.ts +41 -0
- package/es/components/booking/components/reloadResourceModal/index.d.ts +8 -0
- package/es/components/booking/components/voucher/index.d.ts +3 -0
- package/es/components/booking/editBookingModal/index.d.ts +5 -0
- package/es/components/booking/editBookingModal/locales.d.ts +21 -0
- package/es/components/booking/editBookingModal/mock.d.ts +807 -0
- package/es/components/booking/editBookingModal/serve.d.ts +51 -0
- package/es/components/booking/editBookingModal/type.d.ts +12 -0
- package/es/components/booking/editBookingModal/utils.d.ts +12 -0
- package/es/components/booking/forms/model.js +5 -5
- package/es/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/es/components/booking/hooks/useClearCart.d.ts +2 -0
- package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/es/components/booking/info/addServiceVariant/index.d.ts +6 -0
- package/es/components/booking/info/client/index.d.ts +4 -0
- package/es/components/booking/info/hooks/useInfoHolder.d.ts +9 -0
- package/es/components/booking/info/index.d.ts +3 -0
- package/es/components/booking/info/model.d.ts +5 -0
- package/es/components/booking/info/service/Lists.d.ts +2 -0
- package/es/components/booking/info/service/addService/index.d.ts +11 -0
- package/es/components/booking/info/service/editService/index.d.ts +7 -0
- package/es/components/booking/info/service/like/index.js +1 -1
- package/es/components/booking/info/service/serviceManager/index.d.ts +20 -0
- package/es/components/booking/info/service2/utils.d.ts +247 -0
- package/es/components/booking/info/utils.d.ts +50 -0
- package/es/components/booking/info2/index.d.ts +12 -0
- package/es/components/booking/info2/service/addService/index.d.ts +11 -0
- package/es/components/booking/info2/service/addService/utils.d.ts +98 -0
- package/es/components/booking/info2/service/addTimeModal/index.d.ts +3 -0
- package/es/components/booking/info2/service/editService/Resources/index.d.ts +4 -0
- package/es/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +7 -0
- package/es/components/booking/info2/service/editService/ResourcesV2/index.d.ts +10 -0
- package/es/components/booking/info2/service/editService/index.d.ts +7 -0
- package/es/components/booking/info2/service/index.d.ts +4 -0
- package/es/components/booking/info2/utils.d.ts +4 -0
- package/es/components/booking/info2/utilsByBooking.d.ts +35 -0
- package/es/components/booking/locales.d.ts +828 -0
- package/es/components/booking/materiels/duration/index.d.ts +13 -0
- package/es/components/booking/materiels/startTime/index.js +1 -1
- package/es/components/booking/model.d.ts +108 -0
- package/es/components/booking/notes/NoteBlock/NoteItem/index.js +1 -1
- package/es/components/booking/notes/NoteBlock/index.js +11 -11
- package/es/components/booking/notes/model.js +5 -5
- package/es/components/booking/payments/model.js +5 -5
- package/es/components/booking/utils.d.ts +2 -2
- package/es/components/eftposPay/amount.d.ts +1 -1
- package/es/components/eftposPay/const.d.ts +184 -0
- package/es/components/eftposPay/device.d.ts +1 -1
- package/es/components/eftposPay/hooks.d.ts +35 -0
- package/es/components/eftposPay/index.d.ts +4 -0
- package/es/components/eftposPay/linkly/const.d.ts +23 -0
- package/es/components/eftposPay/linkly/hooks/index.d.ts +2 -0
- package/es/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
- package/es/components/eftposPay/linkly/index.d.ts +2 -0
- package/es/components/eftposPay/linkly/service.d.ts +32 -0
- package/es/components/eftposPay/manufacturer.d.ts +7 -0
- package/es/components/eftposPay/pay.d.ts +20 -0
- package/es/components/eftposPay/payo/config.d.ts +12 -0
- package/es/components/eftposPay/store/index.d.ts +355 -0
- package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +3 -0
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +2 -0
- package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +3 -0
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +3 -0
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +3 -0
- package/es/components/eventBooking/components/bookingDetailModal/index.d.ts +7 -0
- package/es/components/eventBooking/components/bookingDetailModal/index.js +3 -2
- package/es/components/eventBooking/index.d.ts +3 -0
- package/es/components/eventBooking/locales.d.ts +246 -0
- package/es/components/index.d.ts +20 -0
- package/es/components/listComponent/index.js +5 -5
- package/es/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +3 -0
- package/es/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +61 -0
- package/es/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
- package/es/components/pay/toC/PaymentMethods/index.d.ts +9 -0
- package/es/components/pay/toC/index.d.ts +3 -0
- package/es/components/pay/toC/locales.d.ts +289 -0
- package/es/components/productExtension/card/index.js +3 -3
- package/es/components/productExtension/fields/Actor/CutOffTime/index.js +1 -1
- package/es/components/productExtension/fields/Forms/index.js +12 -12
- package/es/components/productExtension/fields/SelectProducts/ProductItemPreview/index.js +1 -1
- package/es/components/productExtension/fields/SelectProducts/server.js +2 -2
- package/es/components/productExtension/fields/SelectResourcesTable/server.js +2 -2
- package/es/components/productExtension/server.js +2 -2
- package/es/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
- package/es/components/ruleSetting/ruleBorder/index.js +1 -1
- package/es/components/schedules/calendar/index.js +4 -4
- package/es/components/schedules/calendar/serve.js +2 -2
- package/es/components/schedules/components/CurrentDay/index.js +5 -5
- package/es/components/schedules/components/CurrentDay/serve.js +2 -2
- package/es/components/schedules/components/DropdownSort/index.js +1 -1
- package/es/components/schedules/components/ResourceList/index.js +1 -1
- package/es/components/schedules/components/Search/index.js +5 -5
- package/es/components/schedules/model.js +5 -5
- package/es/components/schedules/openHours/index.js +1 -1
- package/es/components/schedules/openHours/serve.js +2 -2
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.js +1 -1
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/ResourcesModule/index.js +5 -5
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/SchedulesModule/index.js +4 -4
- package/es/components/schedules/products/ProductDetailDrawer/index.js +3 -3
- package/es/components/schedules/products/serve.js +2 -2
- package/es/components/schedules/products/utils.js +5 -5
- package/es/components/schedules/resources/detail/detailContent.js +2 -2
- package/es/components/schedules/resources/detail/index.js +10 -10
- package/es/components/schedules/resources/list/index.js +2 -2
- package/es/components/schedules/resources/relationProduct/index.js +1 -1
- package/es/components/schedules/resources/serve.js +2 -2
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.js +9 -9
- package/es/components/schedules/utils.js +4 -4
- package/es/components/selectModal/index.js +2 -2
- package/es/components/shoppingCart/components/Cart/Product.d.ts +3 -0
- package/es/components/shoppingCart/components/Cart/index.d.ts +3 -0
- package/es/components/stepController/components/Content/index.d.ts +7 -0
- package/es/components/stepController/components/Footer/index.d.ts +8 -0
- package/es/components/stepController/components/Header/index.d.ts +20 -0
- package/es/components/stepController/index.d.ts +5 -0
- package/es/components/stepController/locales.d.ts +27 -0
- package/es/components/stepController/types.d.ts +23 -0
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
- package/es/components/ticketBooking/serve.d.ts +287 -0
- package/es/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
- package/es/components/ticketBooking/utils/formatTime.d.ts +31 -0
- package/es/components/ticketBooking/utils/index.d.ts +23 -0
- package/es/hooks/useComponents.js +1 -1
- package/es/hooks/useWindowSize.d.ts +5 -0
- package/es/index.d.ts +47 -0
- package/es/utils/index.d.ts +23 -0
- package/lib/businessModel/SalesModel/Sales/index.d.ts +24 -0
- package/lib/components/Sales/Cart/index.d.ts +53 -0
- package/lib/components/Sales/Cart/utils.d.ts +63 -0
- package/lib/components/Sales/Cart/utils.js +10 -1
- package/lib/components/Sales/Checkout/index.d.ts +37 -0
- package/lib/components/Sales/Checkout/serve.d.ts +15 -0
- package/lib/components/Sales/Checkout/utils.d.ts +40 -0
- package/lib/components/Sales/Customer/index.d.ts +25 -0
- package/lib/components/Sales/Event/Detail.d.ts +1 -0
- package/lib/components/Sales/Event/Detail.js +37 -12
- package/lib/components/Sales/Event/serve.d.ts +10 -0
- package/lib/components/Sales/Event/serve.js +7 -0
- package/lib/components/Sales/Resource/index.d.ts +26 -0
- package/lib/components/Sales/Resource/serve.d.ts +12 -0
- package/lib/components/Sales/Summary/index.d.ts +35 -0
- package/lib/components/Sales/Summary/serve.d.ts +1 -0
- package/lib/components/Sales/Summary/utils.d.ts +51 -0
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +9 -0
- package/lib/components/appointmentBooking/components/Form/index.d.ts +4 -0
- package/lib/components/appointmentBooking/components/Form/utils.d.ts +8 -0
- package/lib/components/appointmentBooking/components/Header/index.d.ts +3 -0
- package/lib/components/appointmentBooking/components/Resource/index.d.ts +7 -0
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.d.ts +3 -0
- package/lib/components/appointmentBooking/deposit/index.d.ts +3 -0
- package/lib/components/appointmentBooking/index.d.ts +3 -0
- package/lib/components/booking/components/customSelect/index.d.ts +38 -0
- package/lib/components/booking/components/footer/index.d.ts +11 -0
- package/lib/components/booking/components/footer/utils.d.ts +41 -0
- package/lib/components/booking/components/reloadResourceModal/index.d.ts +8 -0
- package/lib/components/booking/components/voucher/index.d.ts +3 -0
- package/lib/components/booking/editBookingModal/index.d.ts +5 -0
- package/lib/components/booking/editBookingModal/locales.d.ts +21 -0
- package/lib/components/booking/editBookingModal/mock.d.ts +807 -0
- package/lib/components/booking/editBookingModal/serve.d.ts +51 -0
- package/lib/components/booking/editBookingModal/type.d.ts +12 -0
- package/lib/components/booking/editBookingModal/utils.d.ts +12 -0
- package/lib/components/booking/forms/sendModal/useSendModal.d.ts +1 -1
- package/lib/components/booking/hooks/useClearCart.d.ts +2 -0
- package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
- package/lib/components/booking/info/addServiceVariant/index.d.ts +6 -0
- package/lib/components/booking/info/client/index.d.ts +4 -0
- package/lib/components/booking/info/hooks/useInfoHolder.d.ts +9 -0
- package/lib/components/booking/info/index.d.ts +3 -0
- package/lib/components/booking/info/model.d.ts +5 -0
- package/lib/components/booking/info/service/Lists.d.ts +2 -0
- package/lib/components/booking/info/service/addService/index.d.ts +11 -0
- package/lib/components/booking/info/service/editService/index.d.ts +7 -0
- package/lib/components/booking/info/service/serviceManager/index.d.ts +20 -0
- package/lib/components/booking/info/service2/utils.d.ts +247 -0
- package/lib/components/booking/info/utils.d.ts +50 -0
- package/lib/components/booking/info2/index.d.ts +12 -0
- package/lib/components/booking/info2/service/addService/index.d.ts +11 -0
- package/lib/components/booking/info2/service/addService/utils.d.ts +98 -0
- package/lib/components/booking/info2/service/addTimeModal/index.d.ts +3 -0
- package/lib/components/booking/info2/service/editService/Resources/index.d.ts +4 -0
- package/lib/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +7 -0
- package/lib/components/booking/info2/service/editService/ResourcesV2/index.d.ts +10 -0
- package/lib/components/booking/info2/service/editService/index.d.ts +7 -0
- package/lib/components/booking/info2/service/index.d.ts +4 -0
- package/lib/components/booking/info2/utils.d.ts +4 -0
- package/lib/components/booking/info2/utilsByBooking.d.ts +35 -0
- package/lib/components/booking/locales.d.ts +828 -0
- package/lib/components/booking/materiels/duration/index.d.ts +13 -0
- package/lib/components/booking/model.d.ts +108 -0
- package/lib/components/booking/utils.d.ts +2 -2
- package/lib/components/eftposPay/amount.d.ts +1 -1
- package/lib/components/eftposPay/const.d.ts +184 -0
- package/lib/components/eftposPay/device.d.ts +1 -1
- package/lib/components/eftposPay/hooks.d.ts +35 -0
- package/lib/components/eftposPay/index.d.ts +4 -0
- package/lib/components/eftposPay/linkly/const.d.ts +23 -0
- package/lib/components/eftposPay/linkly/hooks/index.d.ts +2 -0
- package/lib/components/eftposPay/linkly/hooks/normal.d.ts +30 -0
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +4 -0
- package/lib/components/eftposPay/linkly/index.d.ts +2 -0
- package/lib/components/eftposPay/linkly/service.d.ts +32 -0
- package/lib/components/eftposPay/manufacturer.d.ts +7 -0
- package/lib/components/eftposPay/pay.d.ts +20 -0
- package/lib/components/eftposPay/payo/config.d.ts +12 -0
- package/lib/components/eftposPay/store/index.d.ts +355 -0
- package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.d.ts +3 -0
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +2 -0
- package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +3 -0
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +3 -0
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +3 -0
- package/lib/components/eventBooking/components/bookingDetailModal/index.d.ts +7 -0
- package/lib/components/eventBooking/components/bookingDetailModal/index.js +3 -2
- package/lib/components/eventBooking/index.d.ts +3 -0
- package/lib/components/eventBooking/locales.d.ts +246 -0
- package/lib/components/index.d.ts +20 -0
- package/lib/components/pay/toC/PaymentMethods/GlobePayAliPayH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/TDSPay/ThreedsLoading/index.d.ts +3 -0
- package/lib/components/pay/toC/PaymentMethods/MWCreditCard/tds2.d.ts +61 -0
- package/lib/components/pay/toC/PaymentMethods/SuperPayAliPayH5/index.d.ts +10 -0
- package/lib/components/pay/toC/PaymentMethods/index.d.ts +9 -0
- package/lib/components/pay/toC/index.d.ts +3 -0
- package/lib/components/pay/toC/locales.d.ts +289 -0
- package/lib/components/productSelect/components/pisellPriceText/index.d.ts +11 -0
- package/lib/components/schedules/utils.js +1 -1
- package/lib/components/shoppingCart/components/Cart/Product.d.ts +3 -0
- package/lib/components/shoppingCart/components/Cart/index.d.ts +3 -0
- package/lib/components/stepController/components/Content/index.d.ts +7 -0
- package/lib/components/stepController/components/Footer/index.d.ts +8 -0
- package/lib/components/stepController/components/Header/index.d.ts +20 -0
- package/lib/components/stepController/index.d.ts +5 -0
- package/lib/components/stepController/locales.d.ts +27 -0
- package/lib/components/stepController/types.d.ts +23 -0
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +4 -0
- package/lib/components/ticketBooking/serve.d.ts +287 -0
- package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +2 -0
- package/lib/components/ticketBooking/utils/formatTime.d.ts +31 -0
- package/lib/components/ticketBooking/utils/index.d.ts +23 -0
- package/lib/hooks/useWindowSize.d.ts +5 -0
- package/lib/index.d.ts +47 -0
- package/lib/utils/index.d.ts +23 -0
- package/package.json +3 -3
@@ -0,0 +1,10 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import './index.less';
|
3
|
+
export interface GlobePayAliPayH5Ref {
|
4
|
+
init: (res: any) => void;
|
5
|
+
}
|
6
|
+
export interface GlobePayAliPayH5Props {
|
7
|
+
onChange?: (values: any) => void;
|
8
|
+
}
|
9
|
+
declare const _default: React.ForwardRefExoticComponent<GlobePayAliPayH5Props & React.RefAttributes<any>>;
|
10
|
+
export default _default;
|
@@ -0,0 +1,61 @@
|
|
1
|
+
/**
|
2
|
+
* @title: 点击支付
|
3
|
+
* @description:
|
4
|
+
* @param {any} param1
|
5
|
+
* @return {*}
|
6
|
+
* @Author: Wzw
|
7
|
+
* @Date: 2022-10-22 10:05
|
8
|
+
*/
|
9
|
+
export declare const startPayment: ({ orderId, cardInfo, payData }: any, callback?: any) => Promise<boolean | undefined>;
|
10
|
+
/*******
|
11
|
+
* @title: 步骤2
|
12
|
+
* @description: 提交卡信息到后端
|
13
|
+
* @return {*}
|
14
|
+
* @Author: Wzw
|
15
|
+
* @Date: 2022-10-18 10:26
|
16
|
+
*/
|
17
|
+
export declare const checkEnrollment: (orderId: string, cardInfo: any, callback: any) => Promise<any>;
|
18
|
+
/**
|
19
|
+
* @title: 步骤3
|
20
|
+
* @description: 创建iframe, 监听
|
21
|
+
* @param {any} threeDSMethodData
|
22
|
+
* @return {*}
|
23
|
+
* @Author: Wzw
|
24
|
+
* @Date: 2022-10-18 10:36
|
25
|
+
*/
|
26
|
+
export declare const createThreeDSMethodIframe: (threeDSMethodData: any, callback: any) => Promise<unknown>;
|
27
|
+
/**
|
28
|
+
* @title: 步骤4
|
29
|
+
* @description:
|
30
|
+
* @param {any} param1
|
31
|
+
* @return {*}
|
32
|
+
* @Author: Wzw
|
33
|
+
* @Date: 2022-10-18 10:43
|
34
|
+
*/
|
35
|
+
export declare const checkTDSAuth: (step2: any, step3: any, callback?: any) => Promise<any>;
|
36
|
+
/**
|
37
|
+
* @title: 步骤5
|
38
|
+
* @description: 监听
|
39
|
+
* @param {any} challengeData
|
40
|
+
* @return {*}
|
41
|
+
* @Author: Wzw
|
42
|
+
* @Date: 2022-10-18 10:45
|
43
|
+
*/
|
44
|
+
export declare const createChallengeIframe: (challengeData: any, callback?: any) => Promise<unknown>;
|
45
|
+
/**
|
46
|
+
* @title: 步骤6
|
47
|
+
* @description:
|
48
|
+
* @param {any} cres
|
49
|
+
* @return {*}
|
50
|
+
* @Author: Wzw
|
51
|
+
* @Date: 2022-10-18 10:48
|
52
|
+
*/
|
53
|
+
export declare const checkPARes: (step2: any, step4: any, step5: any) => Promise<any>;
|
54
|
+
/**
|
55
|
+
* @title: 支付结束
|
56
|
+
* @description:
|
57
|
+
* @return {*}
|
58
|
+
* @Author: Wzw
|
59
|
+
* @Date: 2022-10-18 14:28
|
60
|
+
*/
|
61
|
+
export declare const paymentEnd: (props: any, callback: any) => void;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import './index.less';
|
3
|
+
export interface SuperPayAliPayH5Ref {
|
4
|
+
init: (res: any) => void;
|
5
|
+
}
|
6
|
+
export interface SuperPayAliPayH5Props {
|
7
|
+
onChange?: (values: any) => void;
|
8
|
+
}
|
9
|
+
declare const _default: React.ForwardRefExoticComponent<SuperPayAliPayH5Props & React.RefAttributes<any>>;
|
10
|
+
export default _default;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
export interface PaymentMethodsRef {
|
3
|
+
onPay: (props: any) => void;
|
4
|
+
}
|
5
|
+
interface PaymentMethodsProps {
|
6
|
+
payCallback: (props: any) => void;
|
7
|
+
}
|
8
|
+
declare const _default: React.ForwardRefExoticComponent<PaymentMethodsProps & React.RefAttributes<unknown>>;
|
9
|
+
export default _default;
|
@@ -0,0 +1,289 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
en: {
|
3
|
+
'tocPay.text.checkout': string;
|
4
|
+
'tocPay.text.total': string;
|
5
|
+
'tocPay.text.completePaymentIn': string;
|
6
|
+
'tocPay.text.paymentInstruction': string;
|
7
|
+
'tocPay.text.serviceCharge': string;
|
8
|
+
'tocPay.text.noAvailablePaymentMethods': string;
|
9
|
+
'tocPay.text.paymentMethod': string;
|
10
|
+
'tocPay.text.connectingApplePay': string;
|
11
|
+
'tocPay.text.connectingGooglePay': string;
|
12
|
+
'tocPay.text.enterName': string;
|
13
|
+
'tocPay.text.enterValidName': string;
|
14
|
+
'tocPay.text.enterCardNumber': string;
|
15
|
+
'tocPay.text.enterValidCardNumber': string;
|
16
|
+
'tocPay.text.enterExpirationDate': string;
|
17
|
+
'tocPay.text.enterCVV': string;
|
18
|
+
'tocPay.text.enterValidCVV': string;
|
19
|
+
'tocPay.text.addCard': string;
|
20
|
+
'tocPay.text.creditorDebitCard': string;
|
21
|
+
'tocPay.text.addCreditOrDebitCard': string;
|
22
|
+
'tocPay.text.cardNumber': string;
|
23
|
+
'tocPay.text.incorrectCardNumber': string;
|
24
|
+
'tocPay.text.expiration': string;
|
25
|
+
'tocPay.text.incorrectExpiryDate': string;
|
26
|
+
'tocPay.text.securityCode': string;
|
27
|
+
'tocPay.text.incorrectSecurityCode': string;
|
28
|
+
'tocPay.text.cardholderName': string;
|
29
|
+
'tocPay.text.enterEnglishName': string;
|
30
|
+
'tocPay.text.incorrectName': string;
|
31
|
+
'tocPay.text.saveCardForNextTime': string;
|
32
|
+
'tocPay.text.secureBankInfo': string;
|
33
|
+
'tocPay.text.pay': string;
|
34
|
+
'tocPay.text.surcharge': string;
|
35
|
+
'tocPay.text.done': string;
|
36
|
+
'tocPay.text.manageCard': string;
|
37
|
+
'tocPay.text.waitingForBankVerification': string;
|
38
|
+
'tocPay.text.successBack': string;
|
39
|
+
'tocPay.text.redirectingToAlipay': string;
|
40
|
+
'tocPay.text.redirectingToPaypal': string;
|
41
|
+
'tocPay.text.redirectingToWeChatPay': string;
|
42
|
+
'tocPay.text.submit': string;
|
43
|
+
'tocPay.text.clickSubmitToComplete': string;
|
44
|
+
'tocPay.text.noExtraPayNeeded': string;
|
45
|
+
'tocPay.text.continuePayment': string;
|
46
|
+
'tocPay.text.prompt': string;
|
47
|
+
'tocPay.text.confirmLeave': string;
|
48
|
+
'tocPay.text.continuePay': string;
|
49
|
+
'tocPay.text.leave': string;
|
50
|
+
'tocPay.text.getParamsFail': string;
|
51
|
+
'tocPay.text.walletPass': string;
|
52
|
+
'tocPay.text.toUse': string;
|
53
|
+
'tocPay.text.searchResult': string;
|
54
|
+
'tocPay.text.select': string;
|
55
|
+
'tocPay.text.couponCodesAdded': string;
|
56
|
+
'tocPay.text.redeem': string;
|
57
|
+
'tocPay.text.howToPay': string;
|
58
|
+
'tocPay.text.congrats': string;
|
59
|
+
'tocPay.text.creditHaveBeen': string;
|
60
|
+
'tocPay.text.walletPassCodesTitle': string;
|
61
|
+
'tocPay.text.scanBarQrCode': string;
|
62
|
+
'tocPay.text.enterCodes': string;
|
63
|
+
'tocPay.text.searchDescribe': string;
|
64
|
+
'tocPay.text.walletPassEmpty': (walletName: string) => string;
|
65
|
+
'tocPay.text.walletPassDisabled': string;
|
66
|
+
'tocPay.text.walletPassPermanent': string;
|
67
|
+
'tocPay.text.walletPassCompleteTitle': string;
|
68
|
+
'tocPay.text.walletPassNoExtraPay': string;
|
69
|
+
'tocPay.text.walletCanPay': string;
|
70
|
+
'tocPay.text.paymentInstructions': string;
|
71
|
+
'tocPay.text.walletSearchEmpty': string;
|
72
|
+
'tocPay.text.detectIncognitoConfirm': string;
|
73
|
+
'tocPay.text.copyLink': string;
|
74
|
+
'tocPay.text.copySuccess': string;
|
75
|
+
'tocPay.text.walletName': (shopName: string) => string;
|
76
|
+
'tocPay.text.bestValueFound': string;
|
77
|
+
'tocPay.text.welcomeToUseWalletPass': (walletName: string) => string;
|
78
|
+
'tocPay.text.totalSavings': string;
|
79
|
+
'tocPay.text.bestCombination': (walletName: string) => string;
|
80
|
+
'tocPay.text.recommended': string;
|
81
|
+
'tocPay.text.edit': string;
|
82
|
+
'tocPay.text.confirm': string;
|
83
|
+
'tocPay.text.unusedAndContinueToPayment': string;
|
84
|
+
'tocPay.text.walletPassAvailable': (walletName: string) => string;
|
85
|
+
'tocPay.text.useWalletPass': (walletName: string) => string;
|
86
|
+
'tocPay.text.useWalletPassAdd': (walletName: string) => string;
|
87
|
+
'tocPay.text.editWalletPass': (walletName: string) => string;
|
88
|
+
'tocPay.text.skipAndContinueToPayment': string;
|
89
|
+
'tocPay.text.youMightHaveAnEligibleWalletPass': (walletName: string) => string;
|
90
|
+
'tocPay.text.checkIfYouHaveAnyPointsCardRechargableCardOrVouchersToUse': string;
|
91
|
+
'tocPay.text.addPointsCard': string;
|
92
|
+
'tocPay.text.hasNoWalletPassAmount': string;
|
93
|
+
'tocPay.text.multipleSelectionAvailable': string;
|
94
|
+
'tocPay.text.youCanSelectMultipleWalletPassesToCombineForPayment': (walletName: string) => string;
|
95
|
+
'tocPay.text.bestValueCombination': string;
|
96
|
+
'tocPay.text.viewDetail': string;
|
97
|
+
};
|
98
|
+
'zh-CN': {
|
99
|
+
'tocPay.text.checkout': string;
|
100
|
+
'tocPay.text.total': string;
|
101
|
+
'tocPay.text.completePaymentIn': string;
|
102
|
+
'tocPay.text.paymentInstructions': string;
|
103
|
+
'tocPay.text.serviceCharge': string;
|
104
|
+
'tocPay.text.noAvailablePaymentMethods': string;
|
105
|
+
'tocPay.text.paymentMethod': string;
|
106
|
+
'tocPay.text.connectingApplePay': string;
|
107
|
+
'tocPay.text.connectingGooglePay': string;
|
108
|
+
'tocPay.text.enterName': string;
|
109
|
+
'tocPay.text.enterValidName': string;
|
110
|
+
'tocPay.text.enterCardNumber': string;
|
111
|
+
'tocPay.text.enterValidCardNumber': string;
|
112
|
+
'tocPay.text.enterExpirationDate': string;
|
113
|
+
'tocPay.text.enterCVV': string;
|
114
|
+
'tocPay.text.enterValidCVV': string;
|
115
|
+
'tocPay.text.addCard': string;
|
116
|
+
'tocPay.text.creditorDebitCard': string;
|
117
|
+
'tocPay.text.addCreditOrDebitCard': string;
|
118
|
+
'tocPay.text.cardNumber': string;
|
119
|
+
'tocPay.text.incorrectCardNumber': string;
|
120
|
+
'tocPay.text.expiration': string;
|
121
|
+
'tocPay.text.incorrectExpiryDate': string;
|
122
|
+
'tocPay.text.securityCode': string;
|
123
|
+
'tocPay.text.incorrectSecurityCode': string;
|
124
|
+
'tocPay.text.cardholderName': string;
|
125
|
+
'tocPay.text.enterEnglishName': string;
|
126
|
+
'tocPay.text.incorrectName': string;
|
127
|
+
'tocPay.text.saveCardForNextTime': string;
|
128
|
+
'tocPay.text.secureBankInfo': string;
|
129
|
+
'tocPay.text.pay': string;
|
130
|
+
'tocPay.text.surcharge': string;
|
131
|
+
'tocPay.text.done': string;
|
132
|
+
'tocPay.text.manageCard': string;
|
133
|
+
'tocPay.text.waitingForBankVerification': string;
|
134
|
+
'tocPay.text.successBack': string;
|
135
|
+
'tocPay.text.redirectingToAlipay': string;
|
136
|
+
'tocPay.text.redirectingToPaypal': string;
|
137
|
+
'tocPay.text.redirectingToWeChatPay': string;
|
138
|
+
'tocPay.text.submit': string;
|
139
|
+
'tocPay.text.clickSubmitToComplete': string;
|
140
|
+
'tocPay.text.noExtraPayNeeded': string;
|
141
|
+
'tocPay.text.continuePayment': string;
|
142
|
+
'tocPay.text.prompt': string;
|
143
|
+
'tocPay.text.confirmLeave': string;
|
144
|
+
'tocPay.text.continuePay': string;
|
145
|
+
'tocPay.text.leave': string;
|
146
|
+
'tocPay.text.getParamsFail': string;
|
147
|
+
'tocPay.text.walletPass': string;
|
148
|
+
'tocPay.text.toUse': string;
|
149
|
+
'tocPay.text.searchResult': string;
|
150
|
+
'tocPay.text.select': string;
|
151
|
+
'tocPay.text.couponCodesAdded': string;
|
152
|
+
'tocPay.text.redeem': string;
|
153
|
+
'tocPay.text.howToPay': string;
|
154
|
+
'tocPay.text.congrats': string;
|
155
|
+
'tocPay.text.creditHaveBeen': string;
|
156
|
+
'tocPay.text.walletPassCodesTitle': string;
|
157
|
+
'tocPay.text.scanBarQrCode': string;
|
158
|
+
'tocPay.text.enterCodes': string;
|
159
|
+
'tocPay.text.searchDescribe': string;
|
160
|
+
'tocPay.text.walletPassEmpty': (walletName: string) => string;
|
161
|
+
'tocPay.text.walletPassDisabled': string;
|
162
|
+
'tocPay.text.walletPassPermanent': string;
|
163
|
+
'tocPay.text.walletPassCompleteTitle': string;
|
164
|
+
'tocPay.text.walletPassNoExtraPay': string;
|
165
|
+
'tocPay.text.walletCanPay': string;
|
166
|
+
'tocPay.text.walletSearchEmpty': string;
|
167
|
+
'tocPay.text.detectIncognitoConfirm': string;
|
168
|
+
'tocPay.text.copyLink': string;
|
169
|
+
'tocPay.text.copySuccess': string;
|
170
|
+
'tocPay.text.walletName': (shopName: string) => string;
|
171
|
+
'tocPay.text.bestValueFound': string;
|
172
|
+
'tocPay.text.welcomeToUseWalletPass': (walletName: string) => string;
|
173
|
+
'tocPay.text.totalSavings': string;
|
174
|
+
'tocPay.text.bestCombination': (walletName: string) => string;
|
175
|
+
'tocPay.text.recommended': string;
|
176
|
+
'tocPay.text.edit': string;
|
177
|
+
'tocPay.text.confirm': string;
|
178
|
+
'tocPay.text.unusedAndContinueToPayment': string;
|
179
|
+
'tocPay.text.walletPassAvailable': (walletName: string) => string;
|
180
|
+
'tocPay.text.useWalletPass': (walletName: string) => string;
|
181
|
+
'tocPay.text.useWalletPassAdd': (walletName: string) => string;
|
182
|
+
'tocPay.text.editWalletPass': (walletName: string) => string;
|
183
|
+
'tocPay.text.skipAndContinueToPayment': string;
|
184
|
+
'tocPay.text.youMightHaveAnEligibleWalletPass': (walletName: string) => string;
|
185
|
+
'tocPay.text.checkIfYouHaveAnyPointsCardRechargableCardOrVouchersToUse': string;
|
186
|
+
'tocPay.text.addPointsCard': string;
|
187
|
+
'tocPay.text.hasNoWalletPassAmount': string;
|
188
|
+
'tocPay.text.multipleSelectionAvailable': string;
|
189
|
+
'tocPay.text.youCanSelectMultipleWalletPassesToCombineForPayment': (walletName: string) => string;
|
190
|
+
'tocPay.text.bestValueCombination': string;
|
191
|
+
'tocPay.text.viewDetail': string;
|
192
|
+
};
|
193
|
+
'zh-HK': {
|
194
|
+
'tocPay.text.checkout': string;
|
195
|
+
'tocPay.text.total': string;
|
196
|
+
'tocPay.text.completePaymentIn': string;
|
197
|
+
'tocPay.text.paymentInstructions': string;
|
198
|
+
'tocPay.text.serviceCharge': string;
|
199
|
+
'tocPay.text.noAvailablePaymentMethods': string;
|
200
|
+
'tocPay.text.paymentMethod': string;
|
201
|
+
'tocPay.text.connectingApplePay': string;
|
202
|
+
'tocPay.text.connectingGooglePay': string;
|
203
|
+
'tocPay.text.enterName': string;
|
204
|
+
'tocPay.text.enterValidName': string;
|
205
|
+
'tocPay.text.enterCardNumber': string;
|
206
|
+
'tocPay.text.enterValidCardNumber': string;
|
207
|
+
'tocPay.text.enterExpirationDate': string;
|
208
|
+
'tocPay.text.enterCVV': string;
|
209
|
+
'tocPay.text.enterValidCVV': string;
|
210
|
+
'tocPay.text.addCard': string;
|
211
|
+
'tocPay.text.creditorDebitCard': string;
|
212
|
+
'tocPay.text.addCreditOrDebitCard': string;
|
213
|
+
'tocPay.text.cardNumber': string;
|
214
|
+
'tocPay.text.incorrectCardNumber': string;
|
215
|
+
'tocPay.text.expiration': string;
|
216
|
+
'tocPay.text.incorrectExpiryDate': string;
|
217
|
+
'tocPay.text.securityCode': string;
|
218
|
+
'tocPay.text.incorrectSecurityCode': string;
|
219
|
+
'tocPay.text.cardholderName': string;
|
220
|
+
'tocPay.text.enterEnglishName': string;
|
221
|
+
'tocPay.text.incorrectName': string;
|
222
|
+
'tocPay.text.saveCardForNextTime': string;
|
223
|
+
'tocPay.text.secureBankInfo': string;
|
224
|
+
'tocPay.text.pay': string;
|
225
|
+
'tocPay.text.surcharge': string;
|
226
|
+
'tocPay.text.done': string;
|
227
|
+
'tocPay.text.manageCard': string;
|
228
|
+
'tocPay.text.waitingForBankVerification': string;
|
229
|
+
'tocPay.text.successBack': string;
|
230
|
+
'tocPay.text.redirectingToAlipay': string;
|
231
|
+
'tocPay.text.redirectingToPaypal': string;
|
232
|
+
'tocPay.text.redirectingToWeChatPay': string;
|
233
|
+
'tocPay.text.submit': string;
|
234
|
+
'tocPay.text.clickSubmitToComplete': string;
|
235
|
+
'tocPay.text.noExtraPayNeeded': string;
|
236
|
+
'tocPay.text.continuePayment': string;
|
237
|
+
'tocPay.text.prompt': string;
|
238
|
+
'tocPay.text.confirmLeave': string;
|
239
|
+
'tocPay.text.continuePay': string;
|
240
|
+
'tocPay.text.leave': string;
|
241
|
+
'tocPay.text.getParamsFail': string;
|
242
|
+
'tocPay.text.walletPass': string;
|
243
|
+
'tocPay.text.toUse': string;
|
244
|
+
'tocPay.text.searchResult': string;
|
245
|
+
'tocPay.text.select': string;
|
246
|
+
'tocPay.text.couponCodesAdded': string;
|
247
|
+
'tocPay.text.redeem': string;
|
248
|
+
'tocPay.text.howToPay': string;
|
249
|
+
'tocPay.text.congrats': string;
|
250
|
+
'tocPay.text.creditHaveBeen': string;
|
251
|
+
'tocPay.text.walletPassCodesTitle': string;
|
252
|
+
'tocPay.text.scanBarQrCode': string;
|
253
|
+
'tocPay.text.enterCodes': string;
|
254
|
+
'tocPay.text.searchDescribe': string;
|
255
|
+
'tocPay.text.walletPassEmpty': (walletName: string) => string;
|
256
|
+
'tocPay.text.walletPassDisabled': string;
|
257
|
+
'tocPay.text.walletPassPermanent': string;
|
258
|
+
'tocPay.text.walletPassCompleteTitle': string;
|
259
|
+
'tocPay.text.walletPassNoExtraPay': string;
|
260
|
+
'tocPay.text.walletCanPay': string;
|
261
|
+
'tocPay.text.walletSearchEmpty': string;
|
262
|
+
'tocPay.text.detectIncognitoConfirm': string;
|
263
|
+
'tocPay.text.copyLink': string;
|
264
|
+
'tocPay.text.copySuccess': string;
|
265
|
+
'tocPay.text.walletName': (shopName: string) => string;
|
266
|
+
'tocPay.text.bestValueFound': string;
|
267
|
+
'tocPay.text.welcomeToUseWalletPass': (walletName: string) => string;
|
268
|
+
'tocPay.text.totalSavings': string;
|
269
|
+
'tocPay.text.bestCombination': (walletName: string) => string;
|
270
|
+
'tocPay.text.recommended': string;
|
271
|
+
'tocPay.text.edit': string;
|
272
|
+
'tocPay.text.confirm': string;
|
273
|
+
'tocPay.text.unusedAndContinueToPayment': string;
|
274
|
+
'tocPay.text.walletPassAvailable': (walletName: string) => string;
|
275
|
+
'tocPay.text.useWalletPass': (walletName: string) => string;
|
276
|
+
'tocPay.text.useWalletPassAdd': (walletName: string) => string;
|
277
|
+
'tocPay.text.editWalletPass': (walletName: string) => string;
|
278
|
+
'tocPay.text.skipAndContinueToPayment': string;
|
279
|
+
'tocPay.text.youMightHaveAnEligibleWalletPass': (walletName: string) => string;
|
280
|
+
'tocPay.text.checkIfYouHaveAnyPointsCardRechargableCardOrVouchersToUse': string;
|
281
|
+
'tocPay.text.addPointsCard': string;
|
282
|
+
'tocPay.text.hasNoWalletPassAmount': string;
|
283
|
+
'tocPay.text.multipleSelectionAvailable': string;
|
284
|
+
'tocPay.text.youCanSelectMultipleWalletPassesToCombineForPayment': (walletName: string) => string;
|
285
|
+
'tocPay.text.bestValueCombination': string;
|
286
|
+
'tocPay.text.viewDetail': string;
|
287
|
+
};
|
288
|
+
};
|
289
|
+
export default _default;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
interface IProps {
|
3
|
+
value: string | number;
|
4
|
+
isMini?: boolean;
|
5
|
+
className?: string;
|
6
|
+
style?: React.CSSProperties;
|
7
|
+
prefix?: React.ReactElement;
|
8
|
+
suffix?: React.ReactElement;
|
9
|
+
}
|
10
|
+
declare const index: (props: IProps) => JSX.Element;
|
11
|
+
export default index;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Step } from '../../types';
|
3
|
+
import './index.less';
|
4
|
+
export interface HeaderProps {
|
5
|
+
steps: Step[];
|
6
|
+
currentStepIndex: number;
|
7
|
+
className?: string;
|
8
|
+
style?: React.CSSProperties;
|
9
|
+
onBack?: (key: string) => void;
|
10
|
+
onClose?: () => void;
|
11
|
+
confirmCloseProps?: {
|
12
|
+
isConfirmClose?: boolean;
|
13
|
+
title?: string;
|
14
|
+
content?: string;
|
15
|
+
okText?: string;
|
16
|
+
cancelText?: string;
|
17
|
+
};
|
18
|
+
}
|
19
|
+
declare const Header: React.FC<HeaderProps>;
|
20
|
+
export default Header;
|
@@ -0,0 +1,27 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
en: {
|
3
|
+
'pisell2.step.controller.step': (step: number) => string;
|
4
|
+
'pisell2.step.controller.sendEmail': string;
|
5
|
+
'pisell2.step.controller.copy': string;
|
6
|
+
'pisell2.step.controller.download': string;
|
7
|
+
'pisell2.step.controller.preview': string;
|
8
|
+
'pisell2.step.controller.continue': string;
|
9
|
+
};
|
10
|
+
'zh-CN': {
|
11
|
+
'pisell2.step.controller.step': (step: number) => string;
|
12
|
+
'pisell2.step.controller.sendEmail': string;
|
13
|
+
'pisell2.step.controller.copy': string;
|
14
|
+
'pisell2.step.controller.download': string;
|
15
|
+
'pisell2.step.controller.preview': string;
|
16
|
+
'pisell2.step.controller.continue': string;
|
17
|
+
};
|
18
|
+
'zh-HK': {
|
19
|
+
'pisell2.step.controller.step': (step: number) => string;
|
20
|
+
'pisell2.step.controller.sendEmail': string;
|
21
|
+
'pisell2.step.controller.copy': string;
|
22
|
+
'pisell2.step.controller.download': string;
|
23
|
+
'pisell2.step.controller.preview': string;
|
24
|
+
'pisell2.step.controller.continue': string;
|
25
|
+
};
|
26
|
+
};
|
27
|
+
export default _default;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export interface Step {
|
3
|
+
key: string;
|
4
|
+
description: string;
|
5
|
+
}
|
6
|
+
export interface StepControllerProps extends Step {
|
7
|
+
steps: Step[];
|
8
|
+
currentStep: string;
|
9
|
+
isLastStep?: boolean;
|
10
|
+
isMobile?: boolean;
|
11
|
+
children?: React.ReactNode;
|
12
|
+
onBack?: (key: string) => void;
|
13
|
+
onClose?: () => void;
|
14
|
+
confirmCloseProps?: {
|
15
|
+
isConfirmClose?: boolean;
|
16
|
+
title?: string;
|
17
|
+
content?: string;
|
18
|
+
okText?: string;
|
19
|
+
cancelText?: string;
|
20
|
+
};
|
21
|
+
showFooter?: boolean;
|
22
|
+
footerContent?: React.ReactNode;
|
23
|
+
}
|