@pisell/private-materials 6.3.96 → 6.3.97

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (185) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/build/lowcode/render/default/view.js +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/components/Sales/Cart/index.d.ts +53 -0
  8. package/es/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  9. package/es/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  10. package/es/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  11. package/es/components/booking/addons/index.d.ts +17 -0
  12. package/es/components/booking/addons/model.d.ts +1 -10
  13. package/es/components/booking/components/footer/amount.d.ts +25 -0
  14. package/es/components/booking/dashboard/serve.d.ts +1 -0
  15. package/es/components/booking/deposit/ClientItem/index.d.ts +18 -0
  16. package/es/components/booking/deposit/DepositItem/index.d.ts +25 -0
  17. package/es/components/booking/deposit/index.d.ts +3 -0
  18. package/es/components/booking/forms/forms.d.ts +30 -0
  19. package/es/components/booking/forms/model.d.ts +1 -10
  20. package/es/components/booking/forms/sendModal/useSendModal.d.ts +2 -1
  21. package/es/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  22. package/es/components/booking/info/addServiceVariant/index.d.ts +7 -0
  23. package/es/components/booking/info/client/index.d.ts +4 -0
  24. package/es/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
  25. package/es/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
  26. package/es/components/booking/info/hooks/useInfoHolder.d.ts +10 -0
  27. package/es/components/booking/info/index.d.ts +4 -0
  28. package/es/components/booking/info/main.d.ts +12 -0
  29. package/es/components/booking/info/model.d.ts +5 -0
  30. package/es/components/booking/info/service/Lists.d.ts +3 -0
  31. package/es/components/booking/info/service/addService/index.d.ts +12 -0
  32. package/es/components/booking/info/service/addService/utils.d.ts +1 -1
  33. package/es/components/booking/info/service/serve.d.ts +20 -0
  34. package/es/components/booking/info/service/serviceList/index.d.ts +6 -0
  35. package/es/components/booking/info/service/serviceManager/index.d.ts +20 -0
  36. package/es/components/booking/info/service2/Group/utils.d.ts +14 -0
  37. package/es/components/booking/info/service2/Lists.d.ts +3 -0
  38. package/es/components/booking/info/service2/utils.d.ts +248 -0
  39. package/es/components/booking/info/utils.d.ts +50 -0
  40. package/es/components/booking/info2/index.d.ts +12 -0
  41. package/es/components/booking/info2/service/addService/index.d.ts +12 -0
  42. package/es/components/booking/info2/service/addService/utils.d.ts +98 -0
  43. package/es/components/booking/info2/service/addTimeModal/index.d.ts +4 -0
  44. package/es/components/booking/info2/service/index.d.ts +4 -0
  45. package/es/components/booking/info2/service/serviceList/index.d.ts +6 -0
  46. package/es/components/booking/info2/utilsByBooking.d.ts +35 -0
  47. package/es/components/booking/locales.d.ts +846 -0
  48. package/es/components/booking/model.d.ts +1 -9
  49. package/es/components/booking/notes/model.d.ts +1 -10
  50. package/es/components/booking/payments/model.d.ts +1 -10
  51. package/es/components/booking/utils.d.ts +175 -0
  52. package/es/components/eftposPay/amount.d.ts +1 -1
  53. package/es/components/eftposPay/app.d.ts +11 -0
  54. package/es/components/eftposPay/component/fail/failCustom.d.ts +4 -0
  55. package/es/components/eftposPay/component/fail/index.d.ts +4 -0
  56. package/es/components/eftposPay/device.d.ts +24 -0
  57. package/es/components/eftposPay/index.d.ts +5 -0
  58. package/es/components/eftposPay/manufacturer.d.ts +7 -0
  59. package/es/components/eftposPay/pay.d.ts +21 -0
  60. package/es/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  61. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  62. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  63. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  64. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +1 -0
  65. package/es/components/pay/toC/PaymentMethods/WalletPass/List/index.js +18 -7
  66. package/es/components/pay/toC/PaymentMethods/WalletPass/index.js +2 -1
  67. package/es/components/pay/toC/serve.d.ts +62 -0
  68. package/es/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
  69. package/es/components/ruleSetting/locales.d.ts +48 -0
  70. package/es/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
  71. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +5 -0
  72. package/es/components/ticketBooking/index.d.ts +8 -0
  73. package/es/components/ticketBooking/serve.d.ts +287 -0
  74. package/es/components/ticketBooking/utils/index.d.ts +25 -0
  75. package/es/plus/clientCard/types.d.ts +135 -0
  76. package/es/plus/orderList/config.d.ts +2 -2
  77. package/es/plus/productSelect/CategoryTabs/index.d.ts +21 -0
  78. package/es/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
  79. package/es/pro/Selector/Selector.d.ts +1 -1
  80. package/lib/components/Sales/Cart/index.d.ts +53 -0
  81. package/lib/components/authentication/admin/ChannelAuthSetting/AuthenticationMethods/index.d.ts +6 -0
  82. package/lib/components/authentication/admin/ChannelAuthSetting/OnlineShopAuth/index.d.ts +6 -0
  83. package/lib/components/authentication/admin/ChannelAuthSetting/SaaSManagermentAuth/index.d.ts +6 -0
  84. package/lib/components/booking/addons/index.d.ts +17 -0
  85. package/lib/components/booking/addons/model.d.ts +1 -10
  86. package/lib/components/booking/components/footer/amount.d.ts +25 -0
  87. package/lib/components/booking/dashboard/serve.d.ts +1 -0
  88. package/lib/components/booking/deposit/ClientItem/index.d.ts +18 -0
  89. package/lib/components/booking/deposit/DepositItem/index.d.ts +25 -0
  90. package/lib/components/booking/deposit/index.d.ts +3 -0
  91. package/lib/components/booking/forms/forms.d.ts +30 -0
  92. package/lib/components/booking/forms/model.d.ts +1 -10
  93. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +2 -1
  94. package/lib/components/booking/hooks/useIsBooking4Shop.d.ts +1 -0
  95. package/lib/components/booking/info/addServiceVariant/index.d.ts +7 -0
  96. package/lib/components/booking/info/client/index.d.ts +4 -0
  97. package/lib/components/booking/info/clientVariant/vertical/index.d.ts +8 -0
  98. package/lib/components/booking/info/hooks/useHolderConfig.d.ts +9 -0
  99. package/lib/components/booking/info/hooks/useInfoHolder.d.ts +10 -0
  100. package/lib/components/booking/info/index.d.ts +4 -0
  101. package/lib/components/booking/info/main.d.ts +12 -0
  102. package/lib/components/booking/info/model.d.ts +5 -0
  103. package/lib/components/booking/info/service/Lists.d.ts +3 -0
  104. package/lib/components/booking/info/service/addService/index.d.ts +12 -0
  105. package/lib/components/booking/info/service/addService/utils.d.ts +1 -1
  106. package/lib/components/booking/info/service/serve.d.ts +20 -0
  107. package/lib/components/booking/info/service/serviceList/index.d.ts +6 -0
  108. package/lib/components/booking/info/service/serviceManager/index.d.ts +20 -0
  109. package/lib/components/booking/info/service2/Group/utils.d.ts +14 -0
  110. package/lib/components/booking/info/service2/Lists.d.ts +3 -0
  111. package/lib/components/booking/info/service2/utils.d.ts +248 -0
  112. package/lib/components/booking/info/utils.d.ts +50 -0
  113. package/lib/components/booking/info2/index.d.ts +12 -0
  114. package/lib/components/booking/info2/service/addService/index.d.ts +12 -0
  115. package/lib/components/booking/info2/service/addService/utils.d.ts +98 -0
  116. package/lib/components/booking/info2/service/addTimeModal/index.d.ts +4 -0
  117. package/lib/components/booking/info2/service/index.d.ts +4 -0
  118. package/lib/components/booking/info2/service/serviceList/index.d.ts +6 -0
  119. package/lib/components/booking/info2/utilsByBooking.d.ts +35 -0
  120. package/lib/components/booking/locales.d.ts +846 -0
  121. package/lib/components/booking/model.d.ts +1 -9
  122. package/lib/components/booking/notes/model.d.ts +1 -10
  123. package/lib/components/booking/payments/model.d.ts +1 -10
  124. package/lib/components/booking/utils.d.ts +175 -0
  125. package/lib/components/eftposPay/amount.d.ts +1 -1
  126. package/lib/components/eftposPay/app.d.ts +11 -0
  127. package/lib/components/eftposPay/component/fail/failCustom.d.ts +4 -0
  128. package/lib/components/eftposPay/component/fail/index.d.ts +4 -0
  129. package/lib/components/eftposPay/device.d.ts +24 -0
  130. package/lib/components/eftposPay/index.d.ts +5 -0
  131. package/lib/components/eftposPay/manufacturer.d.ts +7 -0
  132. package/lib/components/eftposPay/pay.d.ts +21 -0
  133. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +1 -0
  134. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +1 -0
  135. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +1 -0
  136. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +1 -0
  137. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.d.ts +1 -0
  138. package/lib/components/pay/toC/PaymentMethods/WalletPass/List/index.js +7 -1
  139. package/lib/components/pay/toC/PaymentMethods/WalletPass/index.js +2 -1
  140. package/lib/components/pay/toC/serve.d.ts +62 -0
  141. package/lib/components/pisellSelectCustomerModal/RightPanel/Add/PhoneField/index.d.ts +3 -0
  142. package/lib/components/ruleSetting/locales.d.ts +48 -0
  143. package/lib/components/ticketBooking/components/addServiceVariant/index.d.ts +7 -0
  144. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +5 -0
  145. package/lib/components/ticketBooking/index.d.ts +8 -0
  146. package/lib/components/ticketBooking/serve.d.ts +287 -0
  147. package/lib/components/ticketBooking/utils/index.d.ts +25 -0
  148. package/lib/plus/clientCard/types.d.ts +135 -0
  149. package/lib/plus/orderList/config.d.ts +2 -2
  150. package/lib/plus/productSelect/CategoryTabs/index.d.ts +21 -0
  151. package/lib/plus/selectHolder/components/ErrorTip/index.d.ts +1 -0
  152. package/lib/pro/Selector/Selector.d.ts +1 -1
  153. package/lowcode/eco-cup-list/meta.ts +1 -1
  154. package/lowcode/eco-customer-list/meta.ts +1 -1
  155. package/package.json +1 -1
  156. package/es/components/ecocup/cupList/const.d.ts +0 -133
  157. package/es/components/ecocup/hooks.d.ts +0 -49
  158. package/es/components/ecocup/locales.d.ts +0 -339
  159. package/es/components/eftpos/index.d.ts +0 -47
  160. package/es/components/eftposPay/component/fail/unknow.d.ts +0 -10
  161. package/es/components/eftposPay/linkly/const.d.ts +0 -23
  162. package/es/components/eftposPay/payo/config.d.ts +0 -13
  163. package/es/components/eftposPay/payo/const.d.ts +0 -26
  164. package/es/components/eftposPay/tyro/const.d.ts +0 -17
  165. package/es/components/eftposPay/windcave/const.d.ts +0 -119
  166. package/es/components/eftposPay/windcave/helper.d.ts +0 -23
  167. package/es/components/pay/toC/model.d.ts +0 -40
  168. package/es/components/systemSettings/registry/services.d.ts +0 -77
  169. package/es/plus/saasAttendance/locales.d.ts +0 -381
  170. package/es/plus/saasAttendance/settings/types.d.ts +0 -134
  171. package/lib/components/ecocup/cupList/const.d.ts +0 -133
  172. package/lib/components/ecocup/hooks.d.ts +0 -49
  173. package/lib/components/ecocup/locales.d.ts +0 -339
  174. package/lib/components/eftpos/index.d.ts +0 -47
  175. package/lib/components/eftposPay/component/fail/unknow.d.ts +0 -10
  176. package/lib/components/eftposPay/linkly/const.d.ts +0 -23
  177. package/lib/components/eftposPay/payo/config.d.ts +0 -13
  178. package/lib/components/eftposPay/payo/const.d.ts +0 -26
  179. package/lib/components/eftposPay/tyro/const.d.ts +0 -17
  180. package/lib/components/eftposPay/windcave/const.d.ts +0 -119
  181. package/lib/components/eftposPay/windcave/helper.d.ts +0 -23
  182. package/lib/components/pay/toC/model.d.ts +0 -40
  183. package/lib/components/systemSettings/registry/services.d.ts +0 -77
  184. package/lib/plus/saasAttendance/locales.d.ts +0 -381
  185. package/lib/plus/saasAttendance/settings/types.d.ts +0 -134
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface FormState {
3
2
  amountSymbol: string;
4
3
  apis: {
@@ -110,11 +109,4 @@ export declare const walkInData: {
110
109
  id: number;
111
110
  nickname: string;
112
111
  };
113
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
114
- state: FormState;
115
- } & {
116
- dispatch: (params: {
117
- type: string;
118
- payload: any;
119
- }) => void;
120
- }>;
112
+ export declare const Provider: any, Context: any;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -1,10 +1 @@
1
- /// <reference types="react" />
2
- import { FormState } from "../model";
3
- export declare const Provider: (ComponentUi: any) => any, Context: import("react").Context<{
4
- state: FormState;
5
- } & {
6
- dispatch: (params: {
7
- type: string;
8
- payload: any;
9
- }) => void;
10
- }>;
1
+ export declare const Provider: any, Context: any;
@@ -0,0 +1,175 @@
1
+ import dayjs from 'dayjs';
2
+ declare type RType = (url: string, data?: {} | undefined, config?: {} | undefined) => Promise<any>;
3
+ declare class Request {
4
+ private request;
5
+ constructor();
6
+ setRequest(val: any): void;
7
+ getRequest(): {
8
+ get: RType;
9
+ post: RType;
10
+ put: RType;
11
+ remove: RType;
12
+ custom: RType;
13
+ };
14
+ }
15
+ export declare const request: Request;
16
+ /**
17
+ * @title: 格式化持续时长用于展示
18
+ * @description:
19
+ * @param {number} service_times
20
+ * @return {*}
21
+ * @Author: zhiwei.Wang
22
+ * @Date: 2024-04-26 14:00
23
+ */
24
+ export declare const getDiscountTime: (service_times: number, isDay?: boolean) => string;
25
+ /**
26
+ * @title: 时间切片
27
+ * @description:
28
+ * @param {any} config
29
+ * @param {string} locale
30
+ * @return {*}
31
+ * @Author: zhiwei.Wang
32
+ * @Date: 2024-04-26 13:59
33
+ */
34
+ export declare const sliceDayIntoFiveMinutes: (config: any, locale: string, isDay?: boolean) => {
35
+ timeSlices: {
36
+ label: string;
37
+ value: string;
38
+ }[];
39
+ durationSlicesBasedOnTime: {
40
+ label: string;
41
+ value: number;
42
+ }[];
43
+ };
44
+ export declare const getNowTime: () => string;
45
+ export declare const isNowTime: (time: string) => boolean;
46
+ /**
47
+ * @title: 获取服务的开始时间, 如果是now 转换为当前的时间
48
+ * @description:
49
+ * @param {string} start_time
50
+ * @return {*}
51
+ * @Author: zhiwei.Wang
52
+ * @Date: 2024-04-26 14:03
53
+ */
54
+ export declare const getServeStartTime: (start_time: string) => string;
55
+ /**
56
+ * @title: 格式化服务的 开始时间-结束时间-时长, 用于展示
57
+ * @description:
58
+ * @param {any} item
59
+ * @param {any} currentDate
60
+ * @return {*}
61
+ * @Author: zhiwei.Wang
62
+ * @Date: 2024-04-26 14:04
63
+ */
64
+ export declare const getServiceTime: (item: any, currentDate: any) => string;
65
+ export declare const findNextSlice: ({ timeSlices, index, date, }: {
66
+ timeSlices: any[];
67
+ index?: number | undefined;
68
+ date?: string | undefined;
69
+ }) => any;
70
+ export declare const findNextDuration: (current: any, array: any, defaultValue?: any) => any;
71
+ export declare const formatProductListByCategory: (list: any, filterItem: any) => unknown[];
72
+ export declare const getResourceTimeIsUsable: (item: any, cacheItem: any) => any;
73
+ /**
74
+ * @title: 查找是否有可用的time
75
+ * @description:
76
+ * @param {any} resourceItem
77
+ * @return {*}
78
+ * @Author: zhiwei.Wang
79
+ * @Date: 2024-01-09 13:57
80
+ */
81
+ export declare const formatTimes: (resourceItem: any, cacheItem: any) => any;
82
+ /**
83
+ * @title: 获取店铺的营业结束时间
84
+ * @description:
85
+ * @return {*}
86
+ * @Author: zhiwei.Wang
87
+ * @Date: 2024-02-23 10:00
88
+ */
89
+ export declare const getShopOpeningHours: () => string;
90
+ /**
91
+ * @title: 对灵活时长进行处理
92
+ * @description:
93
+ * @return {*}
94
+ * @Author: zhiwei.Wang
95
+ * @Date: 2024-02-23 10:00
96
+ */
97
+ export declare const flexibleObj: {
98
+ create: (num: number) => any;
99
+ getValue: (str: string | number) => number;
100
+ isFlexible: (str: string | number) => boolean;
101
+ add: (current: number | string, duration: number) => any;
102
+ };
103
+ /**
104
+ * @title: 获取结束时间
105
+ * @description: 取 endDate | 店铺营业时间 最小的那一个
106
+ * @param {any} startDate
107
+ * @param {string} duration
108
+ * @param {any} endDate
109
+ * @return {*}
110
+ * @Author: zhiwei.Wang
111
+ * @Date: 2024-02-23 10:01
112
+ */
113
+ export declare const getEndDate: (startDate: any, duration: string | number, endDate: any) => any;
114
+ export declare const getServiceTimes: (service: any) => {
115
+ startDate: dayjs.Dayjs;
116
+ endDate: dayjs.Dayjs;
117
+ };
118
+ export declare const getErrorList: (resource: any, cacheItem: any, isDay?: boolean) => {
119
+ label: any;
120
+ type: string;
121
+ }[];
122
+ /**
123
+ * @title: 格式化资源, 添加自定义参数
124
+ * @description:
125
+ * @param {any} resourceItem
126
+ * @return {*}
127
+ * @Author: zhiwei.Wang
128
+ * @Date: 2024-01-09 13:40
129
+ */
130
+ export declare const formatResource: (resourceItem: any, cacheItem?: any, formatLabel?: any) => any;
131
+ export declare const getLastServer: (list: any) => any;
132
+ export declare const getCacheParams: () => any;
133
+ export declare const deleteCacheParams: () => void;
134
+ /**
135
+ * @title: 获取跨日预约的时长
136
+ * @description:
137
+ * @param {any} cacheItem
138
+ * @return {*}
139
+ * @Author: WangHan
140
+ * @Date: 2024-12-01 22:43
141
+ */
142
+ export declare const getDays: (cacheItem: any, type: 'minutes' | 'days') => any;
143
+ export declare const isSessionProduct: (cacheItem: any) => boolean;
144
+ export declare const getIsEject: (item: any, type: 'select' | 'detail') => boolean;
145
+ export declare const getIsOnlySession: (item: any) => boolean;
146
+ /**
147
+ * @title: 创建一个服务商品
148
+ * @description:
149
+ * @param {any} state
150
+ * @param {any} item
151
+ * @return {*}
152
+ * @Author: zhiwei.Wang
153
+ * @Date: 2024-01-26 14:09
154
+ */
155
+ export declare const getServerItemExtend: (state: any, cacheItem: any, timeObj: any) => any;
156
+ export declare const getMainPrice: (item: any, price?: number) => number;
157
+ export declare const getProductTotalPrice: (item: any) => number;
158
+ /**
159
+ * @title: 判断 duration
160
+ * @description: 用于处理不同格式的duration
161
+ * @param {number} duration
162
+ * @return {*}
163
+ * @Author: zhiwei.Wang
164
+ * @Date: 2024-02-23 10:02
165
+ */
166
+ export declare const getDuration: (duration: number | {
167
+ type: string;
168
+ value: number;
169
+ }) => number | {
170
+ type: string;
171
+ value: number;
172
+ } | "flexible";
173
+ export declare const isWalkIn: (customer_id?: number | string) => boolean;
174
+ export declare const getIsEdit: (state: any) => boolean;
175
+ export {};
@@ -9,7 +9,7 @@ import { PosProps } from './const';
9
9
  */
10
10
  declare const _default: ({ className, onChange, onClose, formatAmount, isMobile, net, client }: {
11
11
  className?: string | undefined;
12
- onChange?: ((status: "success" | "page" | "print" | "fail" | "mark_tx_processed", params?: string | {
12
+ onChange?: ((status: "page" | "success" | "fail" | "print" | "mark_tx_processed", params?: string | {
13
13
  [keys: string]: unknown;
14
14
  } | undefined, other?: any) => void) | undefined;
15
15
  onClose: () => void;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { PosProps, RouteType } from './const';
3
+ declare const App: ({ action, api, device_number, terminal, tyroUrl, tyroVersion, onChangeParams, isMobile, channel, formatAmount, ...props }: Omit<PosProps, "type" | "mode" | "getApi"> & {
4
+ action: RouteType;
5
+ device_number: string | number;
6
+ api: ReturnType<PosProps['getApi']>;
7
+ isMobile: boolean;
8
+ channel?: string | undefined;
9
+ formatAmount(amount: number | string, precision: number, symbol: string): string;
10
+ }) => React.JSX.Element;
11
+ export default App;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { ActionProps } from '../../const';
3
+ declare const _default: ({ className, isMobile, onChange }: ActionProps) => React.JSX.Element;
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { ActionProps } from '../../const';
3
+ declare const _default: ({ onChange, className, isMobile }: ActionProps) => React.JSX.Element;
4
+ export default _default;
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ import { PayProps, PosProps } from './const';
3
+ import './device.less';
4
+ /**
5
+ * @title: 设备选择页
6
+ * @description: 选择设备信息,无设备增加提示;仅有一条,默认选中跳走;多条记录则停留等待用户选择
7
+ * @return React.Element
8
+ * @Author: hongbing.wang
9
+ * @Date: 2024-08-12 11:40
10
+ */
11
+ declare const _default: ({ api, onChange, onClose, className, device_number, isMobile, net, client, formatAmount, }: {
12
+ api: PayProps['api'];
13
+ className?: string | undefined;
14
+ onChange?: ((status: "page" | "success" | "fail" | "print" | "mark_tx_processed", params?: string | {
15
+ [keys: string]: unknown;
16
+ } | undefined, other?: any) => void) | undefined;
17
+ onClose: () => void;
18
+ device_number?: string | number | undefined;
19
+ isMobile: boolean;
20
+ net: boolean;
21
+ client: string;
22
+ formatAmount(amount: number | string, precision: number, symbol: string): string;
23
+ }) => React.JSX.Element;
24
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { PosProps } from './const';
3
+ import './index.less';
4
+ declare const _default: (props: PosProps) => React.JSX.Element | null;
5
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import { State } from './store';
2
+ export { getAmonunt } from './helper';
3
+ export { default as Payo } from './payo';
4
+ export { default as Windcave } from './windcave/windcave';
5
+ export { default as Tyro } from './tyro';
6
+ export { default as Linkly } from './linkly';
7
+ export declare const getInitState: (type: string, params?: any) => State;
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import { PayProps } from './const';
3
+ import './index.less';
4
+ /**
5
+ * @title: 支付组件
6
+ * @description:
7
+ * @Author: hongbing.wang
8
+ * @Date: 2024-08-20 14:59
9
+ */
10
+ declare const Pay: ({ api, onChange: onChangeStatus, className, terminal, net, isMobile, tyroUrl, tyroVersion, formatAmount, client, }: PayProps & {
11
+ terminal: {
12
+ network: boolean;
13
+ };
14
+ net: boolean;
15
+ isMobile: boolean;
16
+ tyroUrl?: string | undefined;
17
+ tyroVersion?: string | undefined;
18
+ formatAmount(amount: number | string, precision: number, symbol: string): string;
19
+ client: string;
20
+ }) => React.JSX.Element;
21
+ export default Pay;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const ErrorTip: ({ text }: any) => import("react").JSX.Element;
3
4
  export default ErrorTip;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare type CallToBookProps = {
2
3
  show: boolean;
3
4
  type: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const WeekItem: (props: any) => import("react").JSX.Element;
3
4
  export default WeekItem;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare type CalenDateWeekProps = {
3
4
  currentDate: string;
@@ -13,6 +13,7 @@ export interface WalletPassListProps {
13
13
  onChangeDebounce?: boolean;
14
14
  loading?: boolean;
15
15
  onLoadingChange?: (loading: boolean) => void;
16
+ customer_id?: number;
16
17
  }
17
18
  export declare type WalletPassListRef = {
18
19
  init: (params: MachineCodeListParams, formatList?: (val: WalletPassDataType[]) => WalletPassDataType[]) => void;
@@ -1,5 +1,10 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
2
  function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
3
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
7
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
3
8
  function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
4
9
  function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
5
10
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
@@ -23,7 +28,8 @@ var WalletPassList = /*#__PURE__*/forwardRef(function (props, ref) {
23
28
  walletSetting = props.walletSetting,
24
29
  onLoadingChange = props.onLoadingChange,
25
30
  propsLoading = props.loading,
26
- onChangeDebounce = props.onChangeDebounce;
31
+ onChangeDebounce = props.onChangeDebounce,
32
+ customer_id = props.customer_id;
27
33
  var _useState = useState(propsData || []),
28
34
  _useState2 = _slicedToArray(_useState, 2),
29
35
  data = _useState2[0],
@@ -59,24 +65,29 @@ var WalletPassList = /*#__PURE__*/forwardRef(function (props, ref) {
59
65
  _context.t0 = [];
60
66
  case 7:
61
67
  list = _context.t0;
68
+ list = list.map(function (item) {
69
+ return _objectSpread(_objectSpread({}, item), {}, {
70
+ customer_id: customer_id || item.customer_id
71
+ });
72
+ });
62
73
  if (isFunction(formatList)) {
63
74
  list = formatList(list);
64
75
  }
65
76
  // 转换接口数据至cardList标准数据
66
77
  setData(formatMachineCodeServer2CardList(list, value));
67
- _context.next = 15;
78
+ _context.next = 16;
68
79
  break;
69
- case 12:
70
- _context.prev = 12;
80
+ case 13:
81
+ _context.prev = 13;
71
82
  _context.t1 = _context["catch"](1);
72
83
  console.error(_context.t1);
73
- case 15:
74
- setLoading(false);
75
84
  case 16:
85
+ setLoading(false);
86
+ case 17:
76
87
  case "end":
77
88
  return _context.stop();
78
89
  }
79
- }, _callee, null, [[1, 12]]);
90
+ }, _callee, null, [[1, 13]]);
80
91
  }));
81
92
  return function getList(_x, _x2) {
82
93
  return _ref.apply(this, arguments);
@@ -452,7 +452,8 @@ var WalletPass = /*#__PURE__*/forwardRef(function (props, ref) {
452
452
  onChange: handleCurrentChange,
453
453
  ref: listRef,
454
454
  value: selectValue,
455
- onLoadingChange: setLoading
455
+ onLoadingChange: setLoading,
456
+ customer_id: order === null || order === void 0 ? void 0 : order.customer_id
456
457
  }))), /*#__PURE__*/React.createElement(PisellModal, {
457
458
  title: /*#__PURE__*/React.createElement("div", null, locales.getText('tocPay.text.searchResult')),
458
459
  mobileModalHeight: '90%',
@@ -0,0 +1,62 @@
1
+ export declare const getPaymentList: (values: any) => Promise<{
2
+ message: string;
3
+ status: string;
4
+ paymentList?: undefined;
5
+ } | {
6
+ message: string;
7
+ status: string;
8
+ paymentList: any;
9
+ }>;
10
+ /**
11
+ * @title: 聚合接口, 根据订单 返回支付列表和钱包
12
+ * @description:
13
+ * @param {object} values
14
+ * @return {*}
15
+ * @Author: zhiwei.Wang
16
+ * @Date: 2024-08-15 11:52
17
+ */
18
+ export declare const getPaymentsAndWalletPass: (values: {
19
+ order_id: string;
20
+ total_amount: number;
21
+ sale_channel: string;
22
+ }) => Promise<any>;
23
+ /**
24
+ * @title: 初始化交易组
25
+ * @description:
26
+ * @param {object} values
27
+ * @return {*}
28
+ * @Author: zhiwei.Wang
29
+ * @Date: 2024-08-16 10:42
30
+ */
31
+ export declare const getPaymentInit: (values: {
32
+ order_id?: string;
33
+ amount?: number;
34
+ }) => Promise<any>;
35
+ /**
36
+ * @title: 获取钱包名称和弹窗状态
37
+ * @description:
38
+ * @param {object} values
39
+ * @return {*}
40
+ * @Author: shengjie.zuo
41
+ * @member: 马天宇
42
+ * @Date: 2025-02-21 10:42
43
+ */
44
+ export declare const getWalletNameAndPopupStatus: (values: {
45
+ setting_type?: string;
46
+ }) => Promise<{
47
+ wallet: {
48
+ name?: {
49
+ en: string;
50
+ 'zh-CN': string;
51
+ 'zh-HK': string;
52
+ };
53
+ };
54
+ wallet_setting: {
55
+ popup_status?: 1 | 0;
56
+ };
57
+ }>;
58
+ /**
59
+ * @title: 获取支付结果
60
+ * @description: 获取支付结果
61
+ */
62
+ export declare const getPaymentResult: (values: any) => Promise<any>;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const PhoneField: ({ value, onChange }: any) => React.JSX.Element;
3
+ export default PhoneField;
@@ -0,0 +1,48 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.text.satisfy_any_condition': string;
4
+ 'pisell2.text.add': string;
5
+ 'pisell2.text.and': string;
6
+ 'pisell2.text.or': string;
7
+ 'pisell2.text.all': string;
8
+ 'pisell2.text.rule-setting.Contain': string;
9
+ 'pisell2.text.rule-setting.Exclude': string;
10
+ 'pisell2.text.rule-setting.order_type': string;
11
+ 'pisell2.text.rule-setting.sales_channel': string;
12
+ 'pisell2.text.rule-setting.staff': string;
13
+ 'pisell2.text.rule-setting.payment_method': string;
14
+ 'pisell2.text.rule-setting.pisell_terminal_device': string;
15
+ 'pisell2.text.rule-setting.current_device': string;
16
+ };
17
+ 'zh-CN': {
18
+ 'pisell2.text.satisfy_any_condition': string;
19
+ 'pisell2.text.and': string;
20
+ 'pisell2.text.or': string;
21
+ 'pisell2.text.all': string;
22
+ 'pisell2.text.add': string;
23
+ 'pisell2.text.rule-setting.Contain': string;
24
+ 'pisell2.text.rule-setting.Exclude': string;
25
+ 'pisell2.text.rule-setting.order_type': string;
26
+ 'pisell2.text.rule-setting.sales_channel': string;
27
+ 'pisell2.text.rule-setting.staff': string;
28
+ 'pisell2.text.rule-setting.payment_method': string;
29
+ 'pisell2.text.rule-setting.pisell_terminal_device': string;
30
+ 'pisell2.text.rule-setting.current_device': string;
31
+ };
32
+ 'zh-HK': {
33
+ 'pisell2.text.satisfy_any_condition': string;
34
+ 'pisell2.text.and': string;
35
+ 'pisell2.text.or': string;
36
+ 'pisell2.text.all': string;
37
+ 'pisell2.text.add': string;
38
+ 'pisell2.text.rule-setting.Contain': string;
39
+ 'pisell2.text.rule-setting.Exclude': string;
40
+ 'pisell2.text.rule-setting.order_type': string;
41
+ 'pisell2.text.rule-setting.sales_channel': string;
42
+ 'pisell2.text.rule-setting.staff': string;
43
+ 'pisell2.text.rule-setting.payment_method': string;
44
+ 'pisell2.text.rule-setting.pisell_terminal_device': string;
45
+ 'pisell2.text.rule-setting.current_device': string;
46
+ };
47
+ };
48
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface AddServiceVariantProps {
3
+ globalState: any;
4
+ setGlobalState: any;
5
+ }
6
+ declare const AddServiceVariant: (props: AddServiceVariantProps) => React.JSX.Element;
7
+ export default AddServiceVariant;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export declare const _formatBookingDetail: (data: any, modalState: any) => any;
4
+ declare const TicketBooking: () => React.JSX.Element;
5
+ export default TicketBooking;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ interface TicketBookingProps {
4
+ productExtensionType: string[];
5
+ bookingConfigParams: Record<string, any>;
6
+ }
7
+ declare const _default: (props: TicketBookingProps) => React.JSX.Element;
8
+ export default _default;