@pisell/private-materials 3.3.87 → 3.3.88
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.css +1 -1
- package/build/lowcode/render/default/view.js +11 -11
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +11 -11
- package/es/businessModel/SalesModel/Sales/index.js +4 -37
- package/es/components/Sales/Cart/index.js +1 -5
- package/es/components/Sales/Cart/utils.d.ts +0 -40
- package/es/components/Sales/Cart/utils.js +0 -167
- package/es/components/Sales/Checkout/index.d.ts +0 -4
- package/es/components/Sales/Checkout/index.js +8 -52
- package/es/components/Sales/Checkout/serve.d.ts +0 -13
- package/es/components/Sales/Checkout/serve.js +2 -16
- package/es/components/Sales/Checkout/utils.js +1 -7
- package/es/components/Sales/Resource/index.js +2 -2
- package/es/components/Sales/Resource/serve.d.ts +0 -7
- package/es/components/Sales/Resource/serve.js +0 -10
- package/es/components/Sales/Summary/index.d.ts +0 -10
- package/es/components/Sales/Summary/index.js +2 -17
- package/es/components/Sales/Summary/serve.d.ts +0 -1
- package/es/components/Sales/Summary/serve.js +0 -6
- package/es/components/Sales/Summary/utils.d.ts +0 -15
- package/es/components/Sales/Summary/utils.js +1 -43
- package/es/components/appointmentBooking/components/Cart/Item/index.less +3 -3
- package/es/components/appointmentBooking/components/Content/index.less +1 -1
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -6
- package/es/components/appointmentBooking/components/Deposit/index.js +7 -27
- package/es/components/appointmentBooking/components/Services/index.js +27 -23
- package/es/components/appointmentBooking/deposit/components/PolicyModal/index.js +20 -25
- package/es/components/appointmentBooking/deposit/index.js +2 -4
- package/es/components/appointmentBooking/index.js +0 -14
- package/es/components/appointmentBooking/index.less +1 -1
- package/es/components/booking/components/footer/utils.d.ts +0 -1
- package/es/components/booking/components/footer/utils.js +1 -1
- package/es/components/booking/components/voucher/index.js +2 -2
- package/es/components/booking/info/service2/utils.js +2 -3
- package/es/components/booking/info2/service/addService/utils.d.ts +0 -10
- package/es/components/booking/info2/service/addService/utils.js +13 -44
- package/es/components/booking/info2/service/editService/Resources/index.js +8 -22
- package/es/components/booking/info2/service/editService/Resources/index.less +0 -6
- package/es/components/booking/info2/utilsByBooking.js +0 -9
- package/es/components/booking/locales.d.ts +0 -3
- package/es/components/booking/locales.js +0 -3
- package/es/components/eftposPay/const.d.ts +1 -4
- package/es/components/eftposPay/const.js +1 -3
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/hooks.js +1 -3
- package/es/components/eftposPay/index.js +1 -1
- package/es/components/eftposPay/manufacturer.d.ts +0 -1
- package/es/components/eftposPay/manufacturer.js +0 -4
- package/es/components/eftposPay/pay.d.ts +1 -1
- package/es/components/eftposPay/pay.js +2 -6
- package/es/components/eftposPay/store/index.d.ts +1 -1
- package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +17 -29
- package/es/components/eventBooking/components/Provider/Cart/Item/Total.js +6 -10
- package/es/components/eventBooking/components/Provider/Cart/Item/index.js +2 -4
- package/es/components/eventBooking/components/Provider/Event/index.js +4 -13
- package/es/components/eventBooking/components/bookingDetailModal/index.js +4 -22
- package/es/components/eventBooking/index.js +7 -21
- package/es/components/eventBooking/locales.d.ts +0 -24
- package/es/components/eventBooking/locales.js +6 -30
- package/es/components/index.d.ts +1 -3
- package/es/components/index.js +1 -3
- package/es/components/pay/toC/PaymentMethods/index.js +4 -5
- package/es/components/ticketBooking/components/addServiceVariant/addService.js +1 -1
- package/es/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
- package/es/components/ticketBooking/components/ticketBooking/index.js +138 -257
- package/es/components/ticketBooking/locales.d.ts +146 -164
- package/es/components/ticketBooking/locales.js +147 -195
- package/es/index.d.ts +0 -2
- package/es/index.js +1 -3
- package/lib/businessModel/SalesModel/Sales/index.js +8 -22
- package/lib/components/Sales/Cart/index.js +0 -1
- package/lib/components/Sales/Cart/utils.d.ts +0 -40
- package/lib/components/Sales/Cart/utils.js +0 -117
- package/lib/components/Sales/Checkout/index.d.ts +0 -4
- package/lib/components/Sales/Checkout/index.js +7 -39
- package/lib/components/Sales/Checkout/serve.d.ts +0 -13
- package/lib/components/Sales/Checkout/serve.js +2 -7
- package/lib/components/Sales/Checkout/utils.js +0 -2
- package/lib/components/Sales/Resource/index.js +1 -1
- package/lib/components/Sales/Resource/serve.d.ts +0 -7
- package/lib/components/Sales/Resource/serve.js +2 -9
- package/lib/components/Sales/Summary/index.d.ts +0 -10
- package/lib/components/Sales/Summary/index.js +1 -7
- package/lib/components/Sales/Summary/serve.d.ts +0 -1
- package/lib/components/Sales/Summary/serve.js +0 -32
- package/lib/components/Sales/Summary/utils.d.ts +0 -15
- package/lib/components/Sales/Summary/utils.js +1 -30
- package/lib/components/appointmentBooking/components/Cart/Item/index.less +3 -3
- package/lib/components/appointmentBooking/components/Content/index.less +1 -1
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -6
- package/lib/components/appointmentBooking/components/Deposit/index.js +4 -36
- package/lib/components/appointmentBooking/components/Services/index.js +11 -6
- package/lib/components/appointmentBooking/deposit/components/PolicyModal/index.js +4 -8
- package/lib/components/appointmentBooking/deposit/index.js +2 -4
- package/lib/components/appointmentBooking/index.js +0 -11
- package/lib/components/appointmentBooking/index.less +1 -1
- package/lib/components/booking/components/footer/utils.d.ts +0 -1
- package/lib/components/booking/components/footer/utils.js +0 -2
- package/lib/components/booking/components/voucher/index.js +2 -2
- package/lib/components/booking/info/service2/utils.js +2 -2
- package/lib/components/booking/info2/service/addService/utils.d.ts +0 -10
- package/lib/components/booking/info2/service/addService/utils.js +4 -27
- package/lib/components/booking/info2/service/editService/Resources/index.js +10 -54
- package/lib/components/booking/info2/service/editService/Resources/index.less +0 -6
- package/lib/components/booking/info2/utilsByBooking.js +0 -6
- package/lib/components/booking/locales.d.ts +0 -3
- package/lib/components/booking/locales.js +0 -3
- package/lib/components/eftposPay/const.d.ts +1 -4
- package/lib/components/eftposPay/const.js +0 -2
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/hooks.js +4 -11
- package/lib/components/eftposPay/index.js +1 -1
- package/lib/components/eftposPay/manufacturer.d.ts +0 -1
- package/lib/components/eftposPay/manufacturer.js +0 -6
- package/lib/components/eftposPay/pay.d.ts +1 -1
- package/lib/components/eftposPay/pay.js +2 -13
- package/lib/components/eftposPay/store/index.d.ts +1 -1
- package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +3 -16
- package/lib/components/eventBooking/components/Provider/Cart/Item/Total.js +5 -8
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.js +2 -4
- package/lib/components/eventBooking/components/Provider/Event/index.js +3 -10
- package/lib/components/eventBooking/components/bookingDetailModal/index.js +4 -10
- package/lib/components/eventBooking/index.js +7 -11
- package/lib/components/eventBooking/locales.d.ts +0 -24
- package/lib/components/eventBooking/locales.js +6 -30
- package/lib/components/index.d.ts +1 -3
- package/lib/components/index.js +0 -6
- package/lib/components/pay/toC/PaymentMethods/index.js +9 -10
- package/lib/components/ticketBooking/components/addServiceVariant/addService.js +1 -1
- package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +0 -1
- package/lib/components/ticketBooking/components/ticketBooking/index.js +139 -263
- package/lib/components/ticketBooking/locales.d.ts +146 -164
- package/lib/components/ticketBooking/locales.js +4 -22
- package/lib/index.d.ts +0 -2
- package/lib/index.js +0 -6
- package/package.json +3 -3
- package/es/components/booking/editBookingModal/index.d.ts +0 -5
- package/es/components/booking/editBookingModal/index.js +0 -386
- package/es/components/booking/editBookingModal/index.less +0 -8
- package/es/components/booking/editBookingModal/locales.d.ts +0 -21
- package/es/components/booking/editBookingModal/locales.js +0 -20
- package/es/components/booking/editBookingModal/mock.d.ts +0 -807
- package/es/components/booking/editBookingModal/mock.js +0 -2993
- package/es/components/booking/editBookingModal/serve.d.ts +0 -51
- package/es/components/booking/editBookingModal/serve.js +0 -288
- package/es/components/booking/editBookingModal/type.d.ts +0 -12
- package/es/components/booking/editBookingModal/type.js +0 -1
- package/es/components/booking/editBookingModal/utils.d.ts +0 -12
- package/es/components/booking/editBookingModal/utils.js +0 -157
- package/es/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +0 -7
- package/es/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.js +0 -26
- package/es/components/booking/info2/service/editService/ResourcesV2/index.d.ts +0 -10
- package/es/components/booking/info2/service/editService/ResourcesV2/index.js +0 -308
- package/es/components/booking/info2/service/editService/ResourcesV2/index.less +0 -44
- package/es/components/eftposPay/linkly/const.d.ts +0 -23
- package/es/components/eftposPay/linkly/const.js +0 -82
- package/es/components/eftposPay/linkly/hooks/index.d.ts +0 -2
- package/es/components/eftposPay/linkly/hooks/index.js +0 -2
- package/es/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
- package/es/components/eftposPay/linkly/hooks/normal.js +0 -318
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
- package/es/components/eftposPay/linkly/hooks/useTimeQuery.js +0 -273
- package/es/components/eftposPay/linkly/index.d.ts +0 -2
- package/es/components/eftposPay/linkly/index.js +0 -197
- package/es/components/eftposPay/linkly/service.d.ts +0 -32
- package/es/components/eftposPay/linkly/service.js +0 -73
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -2
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.js +0 -17
- package/es/components/stepController/components/Content/index.d.ts +0 -7
- package/es/components/stepController/components/Content/index.js +0 -9
- package/es/components/stepController/components/Content/index.less +0 -8
- package/es/components/stepController/components/Footer/index.d.ts +0 -8
- package/es/components/stepController/components/Footer/index.js +0 -15
- package/es/components/stepController/components/Footer/index.less +0 -39
- package/es/components/stepController/components/Header/index.d.ts +0 -20
- package/es/components/stepController/components/Header/index.js +0 -97
- package/es/components/stepController/components/Header/index.less +0 -21
- package/es/components/stepController/index.d.ts +0 -5
- package/es/components/stepController/index.js +0 -64
- package/es/components/stepController/index.less +0 -11
- package/es/components/stepController/locales.d.ts +0 -27
- package/es/components/stepController/locales.js +0 -32
- package/es/components/stepController/types.d.ts +0 -23
- package/es/components/stepController/types.js +0 -1
- package/es/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
- package/es/components/ticketBooking/utils/formatProductMessage.js +0 -62
- package/es/components/ticketBooking/utils/formatTime.d.ts +0 -31
- package/es/components/ticketBooking/utils/formatTime.js +0 -144
- package/es/hooks/useWindowSize.d.ts +0 -5
- package/es/hooks/useWindowSize.js +0 -26
- package/lib/components/booking/editBookingModal/index.d.ts +0 -5
- package/lib/components/booking/editBookingModal/index.js +0 -363
- package/lib/components/booking/editBookingModal/index.less +0 -8
- package/lib/components/booking/editBookingModal/locales.d.ts +0 -21
- package/lib/components/booking/editBookingModal/locales.js +0 -44
- package/lib/components/booking/editBookingModal/mock.d.ts +0 -807
- package/lib/components/booking/editBookingModal/mock.js +0 -3314
- package/lib/components/booking/editBookingModal/serve.d.ts +0 -51
- package/lib/components/booking/editBookingModal/serve.js +0 -178
- package/lib/components/booking/editBookingModal/type.d.ts +0 -12
- package/lib/components/booking/editBookingModal/type.js +0 -17
- package/lib/components/booking/editBookingModal/utils.d.ts +0 -12
- package/lib/components/booking/editBookingModal/utils.js +0 -158
- package/lib/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.d.ts +0 -7
- package/lib/components/booking/info2/service/editService/ResourcesV2/MaxLengthSelect/index.js +0 -53
- package/lib/components/booking/info2/service/editService/ResourcesV2/index.d.ts +0 -10
- package/lib/components/booking/info2/service/editService/ResourcesV2/index.js +0 -311
- package/lib/components/booking/info2/service/editService/ResourcesV2/index.less +0 -44
- package/lib/components/eftposPay/linkly/const.d.ts +0 -23
- package/lib/components/eftposPay/linkly/const.js +0 -102
- package/lib/components/eftposPay/linkly/hooks/index.d.ts +0 -2
- package/lib/components/eftposPay/linkly/hooks/index.js +0 -25
- package/lib/components/eftposPay/linkly/hooks/normal.d.ts +0 -30
- package/lib/components/eftposPay/linkly/hooks/normal.js +0 -239
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.d.ts +0 -4
- package/lib/components/eftposPay/linkly/hooks/useTimeQuery.js +0 -222
- package/lib/components/eftposPay/linkly/index.d.ts +0 -2
- package/lib/components/eftposPay/linkly/index.js +0 -208
- package/lib/components/eftposPay/linkly/service.d.ts +0 -32
- package/lib/components/eftposPay/linkly/service.js +0 -55
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +0 -2
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.js +0 -55
- package/lib/components/stepController/components/Content/index.d.ts +0 -7
- package/lib/components/stepController/components/Content/index.js +0 -40
- package/lib/components/stepController/components/Content/index.less +0 -8
- package/lib/components/stepController/components/Footer/index.d.ts +0 -8
- package/lib/components/stepController/components/Footer/index.js +0 -49
- package/lib/components/stepController/components/Footer/index.less +0 -39
- package/lib/components/stepController/components/Header/index.d.ts +0 -20
- package/lib/components/stepController/components/Header/index.js +0 -104
- package/lib/components/stepController/components/Header/index.less +0 -21
- package/lib/components/stepController/index.d.ts +0 -5
- package/lib/components/stepController/index.js +0 -89
- package/lib/components/stepController/index.less +0 -11
- package/lib/components/stepController/locales.d.ts +0 -27
- package/lib/components/stepController/locales.js +0 -50
- package/lib/components/stepController/types.d.ts +0 -23
- package/lib/components/stepController/types.js +0 -17
- package/lib/components/ticketBooking/utils/formatProductMessage.d.ts +0 -2
- package/lib/components/ticketBooking/utils/formatProductMessage.js +0 -84
- package/lib/components/ticketBooking/utils/formatTime.d.ts +0 -31
- package/lib/components/ticketBooking/utils/formatTime.js +0 -139
- package/lib/hooks/useWindowSize.d.ts +0 -5
- package/lib/hooks/useWindowSize.js +0 -51
- package/lowcode/edit-booking-modal/meta.ts +0 -53
- package/lowcode/step-controller/meta.ts +0 -88
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* linkly支付接口
|
|
3
|
-
*/
|
|
4
|
-
export declare const linklyPayApi: (data: any) => Promise<any>;
|
|
5
|
-
/**
|
|
6
|
-
* 查询linkly支付结果
|
|
7
|
-
*/
|
|
8
|
-
export declare const linklyPayQueryApi: (param: any) => Promise<any>;
|
|
9
|
-
/**
|
|
10
|
-
* 取消linkly支付
|
|
11
|
-
*/
|
|
12
|
-
export declare const linklyPayCancelApi: (param: any) => Promise<any>;
|
|
13
|
-
/**
|
|
14
|
-
* linkly支付签名结果处理
|
|
15
|
-
*/
|
|
16
|
-
export declare const linklyPaySignatureApi: (param: any) => Promise<any>;
|
|
17
|
-
/**
|
|
18
|
-
* linkly退款接口
|
|
19
|
-
*/
|
|
20
|
-
export declare const linklyRefundApi: (data: any) => Promise<any>;
|
|
21
|
-
/**
|
|
22
|
-
* 查询linkly退款结果
|
|
23
|
-
*/
|
|
24
|
-
export declare const linklyRefundQueryApi: (param: any) => Promise<any>;
|
|
25
|
-
/**
|
|
26
|
-
* 取消linkly退款
|
|
27
|
-
*/
|
|
28
|
-
export declare const linklyRefundCancelApi: (param: any) => Promise<any>;
|
|
29
|
-
/**
|
|
30
|
-
* linkly退款签名结果处理
|
|
31
|
-
*/
|
|
32
|
-
export declare const linklyRefundSignatureApi: (param: any) => Promise<any>;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
|
|
19
|
-
// src/components/eftposPay/linkly/service.ts
|
|
20
|
-
var service_exports = {};
|
|
21
|
-
__export(service_exports, {
|
|
22
|
-
linklyPayApi: () => linklyPayApi,
|
|
23
|
-
linklyPayCancelApi: () => linklyPayCancelApi,
|
|
24
|
-
linklyPayQueryApi: () => linklyPayQueryApi,
|
|
25
|
-
linklyPaySignatureApi: () => linklyPaySignatureApi,
|
|
26
|
-
linklyRefundApi: () => linklyRefundApi,
|
|
27
|
-
linklyRefundCancelApi: () => linklyRefundCancelApi,
|
|
28
|
-
linklyRefundQueryApi: () => linklyRefundQueryApi,
|
|
29
|
-
linklyRefundSignatureApi: () => linklyRefundSignatureApi
|
|
30
|
-
});
|
|
31
|
-
module.exports = __toCommonJS(service_exports);
|
|
32
|
-
var import_utils = require("../../../utils");
|
|
33
|
-
var linklyPayApi = (data) => {
|
|
34
|
-
return import_utils.request.getRequest().post("/shop/linkly/pay/apply", data, { customMessage: true });
|
|
35
|
-
};
|
|
36
|
-
var linklyPayQueryApi = (param) => import_utils.request.getRequest().get("/shop/linkly/pay/query", param, { customMessage: true });
|
|
37
|
-
var linklyPayCancelApi = (param) => import_utils.request.getRequest().post("/shop/linkly/pay/cancel", param, { customMessage: true });
|
|
38
|
-
var linklyPaySignatureApi = (param) => import_utils.request.getRequest().post("/shop/linkly/pay/signature", param, { customMessage: true });
|
|
39
|
-
var linklyRefundApi = (data) => {
|
|
40
|
-
return import_utils.request.getRequest().post("/shop/linkly/refund/apply", data, { customMessage: true });
|
|
41
|
-
};
|
|
42
|
-
var linklyRefundQueryApi = (param) => import_utils.request.getRequest().get("/shop/linkly/refund/query", param, { customMessage: true });
|
|
43
|
-
var linklyRefundCancelApi = (param) => import_utils.request.getRequest().post("/shop/linkly/refund/cancel", param, { customMessage: true });
|
|
44
|
-
var linklyRefundSignatureApi = (param) => import_utils.request.getRequest().post("/shop/linkly/refund/signature", param, { customMessage: true });
|
|
45
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
46
|
-
0 && (module.exports = {
|
|
47
|
-
linklyPayApi,
|
|
48
|
-
linklyPayCancelApi,
|
|
49
|
-
linklyPayQueryApi,
|
|
50
|
-
linklyPaySignatureApi,
|
|
51
|
-
linklyRefundApi,
|
|
52
|
-
linklyRefundCancelApi,
|
|
53
|
-
linklyRefundQueryApi,
|
|
54
|
-
linklyRefundSignatureApi
|
|
55
|
-
});
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
-
};
|
|
11
|
-
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
-
for (let key of __getOwnPropNames(from))
|
|
14
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
18
|
-
};
|
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
-
mod
|
|
26
|
-
));
|
|
27
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
-
|
|
29
|
-
// src/components/eventBooking/components/Provider/Cart/Deposit/index.tsx
|
|
30
|
-
var Deposit_exports = {};
|
|
31
|
-
__export(Deposit_exports, {
|
|
32
|
-
default: () => Deposit_default
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(Deposit_exports);
|
|
35
|
-
var import_react = __toESM(require("react"));
|
|
36
|
-
var import_Sales = require("../../../../../Sales");
|
|
37
|
-
var import_Deposit = require("../../../../../appointmentBooking/components/Deposit");
|
|
38
|
-
var Deposit = () => {
|
|
39
|
-
const {
|
|
40
|
-
deposit,
|
|
41
|
-
isAgreeDepositPolicy,
|
|
42
|
-
setIsAgreeDepositPolicy,
|
|
43
|
-
getDepositProtocol
|
|
44
|
-
} = (0, import_Sales.useSummary)();
|
|
45
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
46
|
-
import_Deposit.DepositContent,
|
|
47
|
-
{
|
|
48
|
-
isAgreeDepositPolicy: !!isAgreeDepositPolicy,
|
|
49
|
-
setIsAgreeDepositPolicy,
|
|
50
|
-
deposit,
|
|
51
|
-
depositProtocolRequest: getDepositProtocol
|
|
52
|
-
}
|
|
53
|
-
);
|
|
54
|
-
};
|
|
55
|
-
var Deposit_default = Deposit;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
-
};
|
|
11
|
-
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
-
for (let key of __getOwnPropNames(from))
|
|
14
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
18
|
-
};
|
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
-
mod
|
|
26
|
-
));
|
|
27
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
-
|
|
29
|
-
// src/components/stepController/components/Content/index.tsx
|
|
30
|
-
var Content_exports = {};
|
|
31
|
-
__export(Content_exports, {
|
|
32
|
-
default: () => Content_default
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(Content_exports);
|
|
35
|
-
var import_react = __toESM(require("react"));
|
|
36
|
-
var import_index = require("./index.less");
|
|
37
|
-
var Content = ({ children }) => {
|
|
38
|
-
return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-step-controller-content" }, children);
|
|
39
|
-
};
|
|
40
|
-
var Content_default = Content;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
-
};
|
|
11
|
-
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
-
for (let key of __getOwnPropNames(from))
|
|
14
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
18
|
-
};
|
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
-
mod
|
|
26
|
-
));
|
|
27
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
-
|
|
29
|
-
// src/components/stepController/components/Footer/index.tsx
|
|
30
|
-
var Footer_exports = {};
|
|
31
|
-
__export(Footer_exports, {
|
|
32
|
-
default: () => Footer_default
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(Footer_exports);
|
|
35
|
-
var import_react = __toESM(require("react"));
|
|
36
|
-
var import_classnames = __toESM(require("classnames"));
|
|
37
|
-
var import_index = require("./index.less");
|
|
38
|
-
var Footer = ({ isMobile, children }) => {
|
|
39
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
40
|
-
"div",
|
|
41
|
-
{
|
|
42
|
-
className: (0, import_classnames.default)("pisell-step-controller-footer-wrap", {
|
|
43
|
-
"pisell-step-controller-footer-wrap-mobile": isMobile
|
|
44
|
-
})
|
|
45
|
-
},
|
|
46
|
-
/* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-step-controller-footer" }, children)
|
|
47
|
-
);
|
|
48
|
-
};
|
|
49
|
-
var Footer_default = Footer;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
.pisell-step-controller-footer-wrap {
|
|
2
|
-
position: sticky;
|
|
3
|
-
left: 0;
|
|
4
|
-
right: 0;
|
|
5
|
-
bottom: 0;
|
|
6
|
-
width: 100%;
|
|
7
|
-
background: #fff;
|
|
8
|
-
// box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04);
|
|
9
|
-
padding: 24px;
|
|
10
|
-
z-index: 100;
|
|
11
|
-
border-top: 1px solid var(--Gray-100, #f2f4f7);
|
|
12
|
-
|
|
13
|
-
.pisell-step-controller-footer {
|
|
14
|
-
width: 1000px;
|
|
15
|
-
margin: 0 auto;
|
|
16
|
-
max-width: 100%;
|
|
17
|
-
display: flex;
|
|
18
|
-
gap: 12px;
|
|
19
|
-
justify-content: flex-end;
|
|
20
|
-
|
|
21
|
-
.pisell-section-headers-main {
|
|
22
|
-
color: var(--Gray-900, #101828);
|
|
23
|
-
font-size: 14px;
|
|
24
|
-
font-weight: 400;
|
|
25
|
-
line-height: 20px;
|
|
26
|
-
justify-content: start;
|
|
27
|
-
|
|
28
|
-
.select-text {
|
|
29
|
-
font-size: 18px;
|
|
30
|
-
font-weight: 600;
|
|
31
|
-
line-height: 24px;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.pisell-step-controller-footer-wrap-mobile {
|
|
38
|
-
border-top: 1px solid #eaecf0;
|
|
39
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
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;
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
-
};
|
|
11
|
-
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
-
for (let key of __getOwnPropNames(from))
|
|
14
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
18
|
-
};
|
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
-
mod
|
|
26
|
-
));
|
|
27
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
-
|
|
29
|
-
// src/components/stepController/components/Header/index.tsx
|
|
30
|
-
var Header_exports = {};
|
|
31
|
-
__export(Header_exports, {
|
|
32
|
-
default: () => Header_default
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(Header_exports);
|
|
35
|
-
var import_react = __toESM(require("react"));
|
|
36
|
-
var import_materials = require("@pisell/materials");
|
|
37
|
-
var import_utils = require("@pisell/utils");
|
|
38
|
-
var import_index = require("./index.less");
|
|
39
|
-
var Header = ({
|
|
40
|
-
steps,
|
|
41
|
-
currentStepIndex,
|
|
42
|
-
style,
|
|
43
|
-
onBack,
|
|
44
|
-
onClose,
|
|
45
|
-
confirmCloseProps
|
|
46
|
-
}) => {
|
|
47
|
-
var _a;
|
|
48
|
-
const [open, setOpen] = (0, import_react.useState)(false);
|
|
49
|
-
const handleClose = () => {
|
|
50
|
-
if (confirmCloseProps == null ? void 0 : confirmCloseProps.isConfirmClose) {
|
|
51
|
-
setOpen(true);
|
|
52
|
-
} else {
|
|
53
|
-
onClose == null ? void 0 : onClose();
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
const handleOk = () => {
|
|
57
|
-
setOpen(false);
|
|
58
|
-
onClose == null ? void 0 : onClose();
|
|
59
|
-
};
|
|
60
|
-
const handleBack = () => {
|
|
61
|
-
if (!steps) return;
|
|
62
|
-
if (currentStepIndex > 0) {
|
|
63
|
-
const prevKey = steps[currentStepIndex - 1].key;
|
|
64
|
-
onBack == null ? void 0 : onBack(prevKey);
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(
|
|
68
|
-
import_materials.PisellHeaderProgressBar,
|
|
69
|
-
{
|
|
70
|
-
className: "pisell-step-controller-header",
|
|
71
|
-
style,
|
|
72
|
-
stepText: import_utils.locales.getText("pisell2.step.controller.step")(
|
|
73
|
-
currentStepIndex + 1
|
|
74
|
-
),
|
|
75
|
-
title: (_a = steps == null ? void 0 : steps[currentStepIndex]) == null ? void 0 : _a.description,
|
|
76
|
-
showClose: true,
|
|
77
|
-
onBack: handleBack,
|
|
78
|
-
onClose: handleClose,
|
|
79
|
-
enableBorder: true,
|
|
80
|
-
borderColor: "#EAECF0",
|
|
81
|
-
showBack: currentStepIndex > 0 || false
|
|
82
|
-
}
|
|
83
|
-
), /* @__PURE__ */ import_react.default.createElement(
|
|
84
|
-
import_materials.PisellModal.Information,
|
|
85
|
-
{
|
|
86
|
-
open,
|
|
87
|
-
title: (confirmCloseProps == null ? void 0 : confirmCloseProps.title) || "",
|
|
88
|
-
describe: (confirmCloseProps == null ? void 0 : confirmCloseProps.content) || "",
|
|
89
|
-
okText: (confirmCloseProps == null ? void 0 : confirmCloseProps.okText) || "",
|
|
90
|
-
cancelText: (confirmCloseProps == null ? void 0 : confirmCloseProps.cancelText) || "",
|
|
91
|
-
closable: true,
|
|
92
|
-
okButtonProps: {
|
|
93
|
-
style: {
|
|
94
|
-
backgroundColor: "#D92D20"
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
onCancel: () => {
|
|
98
|
-
setOpen(false);
|
|
99
|
-
},
|
|
100
|
-
onOk: () => handleOk()
|
|
101
|
-
}
|
|
102
|
-
));
|
|
103
|
-
};
|
|
104
|
-
var Header_default = Header;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
.pisell-step-controller-header {
|
|
2
|
-
.pisell-section-headers-content {
|
|
3
|
-
width: 1000px;
|
|
4
|
-
margin: 0 auto;
|
|
5
|
-
max-width: 100%;
|
|
6
|
-
|
|
7
|
-
.pisell-section-headers-main {
|
|
8
|
-
color: var(--Gray-900, #101828);
|
|
9
|
-
font-size: 14px;
|
|
10
|
-
font-weight: 400;
|
|
11
|
-
line-height: 20px;
|
|
12
|
-
justify-content: start;
|
|
13
|
-
|
|
14
|
-
.select-text {
|
|
15
|
-
font-size: 18px;
|
|
16
|
-
font-weight: 600;
|
|
17
|
-
line-height: 24px;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all)
|
|
9
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
-
};
|
|
11
|
-
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
-
for (let key of __getOwnPropNames(from))
|
|
14
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
-
}
|
|
17
|
-
return to;
|
|
18
|
-
};
|
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
-
mod
|
|
26
|
-
));
|
|
27
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
-
|
|
29
|
-
// src/components/stepController/index.tsx
|
|
30
|
-
var stepController_exports = {};
|
|
31
|
-
__export(stepController_exports, {
|
|
32
|
-
default: () => stepController_default
|
|
33
|
-
});
|
|
34
|
-
module.exports = __toCommonJS(stepController_exports);
|
|
35
|
-
var import_react = __toESM(require("react"));
|
|
36
|
-
var import_classnames = __toESM(require("classnames"));
|
|
37
|
-
var import_utils = require("@pisell/utils");
|
|
38
|
-
var import_materials = require("@pisell/materials");
|
|
39
|
-
var import_useEngineContext = __toESM(require("../../hooks/useEngineContext"));
|
|
40
|
-
var import_useWindowSize = require("../../hooks/useWindowSize");
|
|
41
|
-
var import_Header = __toESM(require("./components/Header"));
|
|
42
|
-
var import_Footer = __toESM(require("./components/Footer"));
|
|
43
|
-
var import_Content = __toESM(require("./components/Content"));
|
|
44
|
-
var import_locales = __toESM(require("./locales"));
|
|
45
|
-
var import_index = require("./index.less");
|
|
46
|
-
var StepController = ({
|
|
47
|
-
steps,
|
|
48
|
-
currentStep,
|
|
49
|
-
children,
|
|
50
|
-
onBack,
|
|
51
|
-
confirmCloseProps,
|
|
52
|
-
showFooter,
|
|
53
|
-
footerContent,
|
|
54
|
-
onClose
|
|
55
|
-
}) => {
|
|
56
|
-
var _a, _b;
|
|
57
|
-
const context = (0, import_useEngineContext.default)();
|
|
58
|
-
import_utils.locales.init(import_locales.default, ((_b = (_a = context == null ? void 0 : context.engine) == null ? void 0 : _a.props) == null ? void 0 : _b.locale) || "en");
|
|
59
|
-
(0, import_useWindowSize.useWindowSize)({ debounceMs: 200 });
|
|
60
|
-
const isMobile = (0, import_react.useMemo)(() => {
|
|
61
|
-
const config = (0, import_materials.usePisellConfig)();
|
|
62
|
-
const platform = (config == null ? void 0 : config.platform) || "h5";
|
|
63
|
-
return platform === "h5";
|
|
64
|
-
}, []);
|
|
65
|
-
const currentStepIndex = (0, import_react.useMemo)(() => {
|
|
66
|
-
return (steps == null ? void 0 : steps.findIndex((step) => step.key === currentStep)) || 0;
|
|
67
|
-
}, [steps, currentStep]);
|
|
68
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
69
|
-
"div",
|
|
70
|
-
{
|
|
71
|
-
className: (0, import_classnames.default)("pisell-step-controller", {
|
|
72
|
-
"pisell-step-controller-mobile": isMobile
|
|
73
|
-
})
|
|
74
|
-
},
|
|
75
|
-
/* @__PURE__ */ import_react.default.createElement(
|
|
76
|
-
import_Header.default,
|
|
77
|
-
{
|
|
78
|
-
steps,
|
|
79
|
-
currentStepIndex,
|
|
80
|
-
confirmCloseProps,
|
|
81
|
-
onBack,
|
|
82
|
-
onClose
|
|
83
|
-
}
|
|
84
|
-
),
|
|
85
|
-
/* @__PURE__ */ import_react.default.createElement(import_Content.default, { children }),
|
|
86
|
-
showFooter && footerContent ? /* @__PURE__ */ import_react.default.createElement(import_Footer.default, { children: footerContent, isMobile }) : null
|
|
87
|
-
);
|
|
88
|
-
};
|
|
89
|
-
var stepController_default = StepController;
|
|
@@ -1,27 +0,0 @@
|
|
|
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;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
|
|
19
|
-
// src/components/stepController/locales.ts
|
|
20
|
-
var locales_exports = {};
|
|
21
|
-
__export(locales_exports, {
|
|
22
|
-
default: () => locales_default
|
|
23
|
-
});
|
|
24
|
-
module.exports = __toCommonJS(locales_exports);
|
|
25
|
-
var locales_default = {
|
|
26
|
-
en: {
|
|
27
|
-
"pisell2.step.controller.step": (step) => `Step ${step || 1}`,
|
|
28
|
-
"pisell2.step.controller.sendEmail": "Send Email",
|
|
29
|
-
"pisell2.step.controller.copy": "Copy",
|
|
30
|
-
"pisell2.step.controller.download": "Download",
|
|
31
|
-
"pisell2.step.controller.preview": "Preview",
|
|
32
|
-
"pisell2.step.controller.continue": "Continue"
|
|
33
|
-
},
|
|
34
|
-
"zh-CN": {
|
|
35
|
-
"pisell2.step.controller.step": (step) => `步骤 ${step || 1}`,
|
|
36
|
-
"pisell2.step.controller.sendEmail": "发送邮件",
|
|
37
|
-
"pisell2.step.controller.copy": "复制",
|
|
38
|
-
"pisell2.step.controller.download": "下载",
|
|
39
|
-
"pisell2.step.controller.preview": "预览",
|
|
40
|
-
"pisell2.step.controller.continue": "继续"
|
|
41
|
-
},
|
|
42
|
-
"zh-HK": {
|
|
43
|
-
"pisell2.step.controller.step": (step) => `步驟 ${step || 1}`,
|
|
44
|
-
"pisell2.step.controller.sendEmail": "發送郵件",
|
|
45
|
-
"pisell2.step.controller.copy": "複製",
|
|
46
|
-
"pisell2.step.controller.download": "下載",
|
|
47
|
-
"pisell2.step.controller.preview": "預覽",
|
|
48
|
-
"pisell2.step.controller.continue": "繼續"
|
|
49
|
-
}
|
|
50
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
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
|
-
}
|