@pisell/private-materials 3.3.62 → 3.3.64

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 (143) 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.css +1 -1
  6. package/build/lowcode/render/default/view.js +5 -5
  7. package/build/lowcode/view.css +1 -1
  8. package/build/lowcode/view.js +5 -5
  9. package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  10. package/es/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  11. package/es/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  12. package/es/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  13. package/es/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  14. package/es/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
  15. package/es/components/appointmentBooking/components/Voucher/index.less +0 -2
  16. package/es/components/appointmentBooking/deposit/index.d.ts +0 -1
  17. package/es/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  18. package/es/components/booking/components/footer/index.d.ts +0 -1
  19. package/es/components/booking/components/voucher/index.d.ts +0 -1
  20. package/es/components/booking/components/voucher/index.less +0 -1
  21. package/es/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  22. package/es/components/booking/hooks/useClearCart.d.ts +0 -1
  23. package/es/components/booking/info/dateRange/index.d.ts +0 -1
  24. package/es/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  25. package/es/components/booking/info/service/serviceItem/index.d.ts +0 -1
  26. package/es/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  27. package/es/components/booking/info2/utilsByBooking.js +17 -10
  28. package/es/components/booking/utils.js +10 -4
  29. package/es/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  30. package/es/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  31. package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  32. package/es/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  33. package/es/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  34. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  35. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  36. package/es/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  37. package/es/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  38. package/es/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  39. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  40. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  41. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -1
  42. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  43. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  44. package/es/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -1
  45. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  46. package/es/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  47. package/es/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  48. package/es/components/eventBooking/components/timeResourceSelector/index.less +0 -1
  49. package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  50. package/es/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  51. package/es/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  52. package/es/components/pisellSelectCustomerModal/index.d.ts +0 -1
  53. package/es/components/productSelect/components/TabProduct/index.d.ts +0 -1
  54. package/es/components/productSelect/components/productGroup/index.d.ts +0 -1
  55. package/es/components/schedules/calendar/index.less +158 -152
  56. package/es/components/shoppingCart/components/Cart/index.d.ts +0 -1
  57. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  58. package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  59. package/es/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
  60. package/es/components/ticketBooking/components/timeBar/index.d.ts +0 -1
  61. package/es/components/ticketBooking/index.d.ts +1 -0
  62. package/es/components/wallet/DiscountCard/index.less +0 -1
  63. package/es/components/wallet/PointCard/index.less +0 -1
  64. package/es/components/wallet/RechargeableCard/index.less +5 -9
  65. package/es/components/wallet/Voucher/index.less +0 -1
  66. package/es/components/wallet/index.less +0 -4
  67. package/es/components/walletList/index.js +55 -7
  68. package/es/components/walletList/index.less +17 -15
  69. package/es/components/walletList/locales.d.ts +18 -0
  70. package/es/components/walletList/locales.js +17 -0
  71. package/es/components/walletList/serve.d.ts +8 -0
  72. package/es/components/walletList/serve.js +38 -0
  73. package/es/components/walletList/status.d.ts +38 -0
  74. package/es/components/walletList/status.js +47 -0
  75. package/es/components/workSpaceList/components/Modal/index.d.ts +0 -1
  76. package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +0 -1
  77. package/lib/components/appointmentBooking/components/Cart/index.d.ts +0 -1
  78. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +0 -1
  79. package/lib/components/appointmentBooking/components/Footer/index.d.ts +0 -1
  80. package/lib/components/appointmentBooking/components/Guest/components/InformationOptionsModal/index.d.ts +0 -1
  81. package/lib/components/appointmentBooking/components/Voucher/index.d.ts +0 -1
  82. package/lib/components/appointmentBooking/components/Voucher/index.less +0 -2
  83. package/lib/components/appointmentBooking/deposit/index.d.ts +0 -1
  84. package/lib/components/booking/components/TabProduct/selectProductItem/index.d.ts +0 -1
  85. package/lib/components/booking/components/footer/index.d.ts +0 -1
  86. package/lib/components/booking/components/voucher/index.d.ts +0 -1
  87. package/lib/components/booking/components/voucher/index.less +0 -1
  88. package/lib/components/booking/forms/sendModal/useSendModal.d.ts +0 -1
  89. package/lib/components/booking/hooks/useClearCart.d.ts +0 -1
  90. package/lib/components/booking/info/dateRange/index.d.ts +0 -1
  91. package/lib/components/booking/info/service/editService/BookingList/index.d.ts +0 -1
  92. package/lib/components/booking/info/service/serviceItem/index.d.ts +0 -1
  93. package/lib/components/booking/info2/service/serviceItem/index.d.ts +0 -1
  94. package/lib/components/booking/info2/utilsByBooking.js +7 -9
  95. package/lib/components/booking/utils.js +7 -3
  96. package/lib/components/eventBooking/components/ErrorTip/index.d.ts +0 -1
  97. package/lib/components/eventBooking/components/Provider/Cart/Item/Total.d.ts +0 -1
  98. package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +0 -1
  99. package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +0 -1
  100. package/lib/components/eventBooking/components/Provider/EmptyHolderModal/index.d.ts +0 -1
  101. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  102. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  103. package/lib/components/eventBooking/components/Provider/InformationOptionsModal/index.d.ts +0 -1
  104. package/lib/components/eventBooking/components/Provider/OrderProductModal/index.d.ts +0 -1
  105. package/lib/components/eventBooking/components/Provider/RemoveOptionConfirmModal.d.ts +0 -1
  106. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  107. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.d.ts +0 -1
  108. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/CallToBook/index.less +0 -1
  109. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/WeekItem/index.d.ts +0 -1
  110. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/CalenDateWeek/index.d.ts +0 -1
  111. package/lib/components/eventBooking/components/bookingAvailabilityCalendar/components/CalendarDate/Item/index.less +0 -1
  112. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  113. package/lib/components/eventBooking/components/scheduleCalendar/calendarItem.d.ts +0 -1
  114. package/lib/components/eventBooking/components/scheduleCalendar/components/ScheduleTimeItem/index.d.ts +0 -1
  115. package/lib/components/eventBooking/components/timeResourceSelector/index.less +0 -1
  116. package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/components/SetupForm/index.d.ts +0 -1
  117. package/lib/components/pay/toC/WalletPassBlock/components/WalletUseList/index.d.ts +0 -1
  118. package/lib/components/pisellSelectCustomerModal/RightPanel/List/index.d.ts +0 -1
  119. package/lib/components/pisellSelectCustomerModal/index.d.ts +0 -1
  120. package/lib/components/productSelect/components/TabProduct/index.d.ts +0 -1
  121. package/lib/components/productSelect/components/productGroup/index.d.ts +0 -1
  122. package/lib/components/schedules/calendar/index.less +158 -152
  123. package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -1
  124. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -1
  125. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -1
  126. package/lib/components/ticketBooking/components/ticketBooking/index.d.ts +1 -0
  127. package/lib/components/ticketBooking/components/timeBar/index.d.ts +0 -1
  128. package/lib/components/ticketBooking/index.d.ts +1 -0
  129. package/lib/components/wallet/DiscountCard/index.less +0 -1
  130. package/lib/components/wallet/PointCard/index.less +0 -1
  131. package/lib/components/wallet/RechargeableCard/index.less +5 -9
  132. package/lib/components/wallet/Voucher/index.less +0 -1
  133. package/lib/components/wallet/index.less +0 -4
  134. package/lib/components/walletList/index.js +42 -14
  135. package/lib/components/walletList/index.less +17 -15
  136. package/lib/components/walletList/locales.d.ts +18 -0
  137. package/lib/components/walletList/locales.js +41 -0
  138. package/lib/components/walletList/serve.d.ts +8 -0
  139. package/lib/components/walletList/serve.js +15 -2
  140. package/lib/components/walletList/status.d.ts +38 -0
  141. package/lib/components/walletList/status.js +66 -0
  142. package/lib/components/workSpaceList/components/Modal/index.d.ts +0 -1
  143. package/package.json +3 -3
@@ -31,7 +31,7 @@
31
31
  opacity: 1;
32
32
  }
33
33
 
34
- >div {
34
+ > div {
35
35
  height: 100%;
36
36
  margin: 0;
37
37
  padding: 0;
@@ -215,7 +215,7 @@
215
215
  cursor: pointer;
216
216
  width: 44px;
217
217
  height: 44px;
218
- background-color: #FFFFFF;
218
+ background-color: #ffffff;
219
219
  border-radius: 50%;
220
220
  display: flex;
221
221
  padding: 10px;
@@ -224,9 +224,10 @@
224
224
  justify-content: center;
225
225
  cursor: pointer;
226
226
  border-radius: 22px;
227
- background: rgba(255, 255, 255, 0.90);
227
+ background: rgba(255, 255, 255, 0.9);
228
228
  backdrop-filter: blur(4px);
229
- box-shadow: 0px 2px 4px rgba(16, 24, 40, 0.1), 0px 1px 3px rgba(16, 24, 40, 0.1);
229
+ box-shadow: 0px 2px 4px rgba(16, 24, 40, 0.1),
230
+ 0px 1px 3px rgba(16, 24, 40, 0.1);
230
231
  z-index: 10;
231
232
  position: relative;
232
233
  /* 确保相对定位 */
@@ -244,8 +245,9 @@
244
245
  }
245
246
 
246
247
  &:hover {
247
- background-color: #FFFFFF;
248
- box-shadow: 0px 3px 6px rgba(16, 24, 40, 0.15), 0px 2px 4px rgba(16, 24, 40, 0.1);
248
+ background-color: #ffffff;
249
+ box-shadow: 0px 3px 6px rgba(16, 24, 40, 0.15),
250
+ 0px 2px 4px rgba(16, 24, 40, 0.1);
249
251
  }
250
252
 
251
253
  &.disabled {
@@ -253,7 +255,8 @@
253
255
  opacity: 0.7;
254
256
 
255
257
  &:hover {
256
- box-shadow: 0px 2px 4px rgba(16, 24, 40, 0.1), 0px 1px 3px rgba(16, 24, 40, 0.1);
258
+ box-shadow: 0px 2px 4px rgba(16, 24, 40, 0.1),
259
+ 0px 1px 3px rgba(16, 24, 40, 0.1);
257
260
  }
258
261
  }
259
262
 
@@ -269,17 +272,18 @@
269
272
  justify-content: center;
270
273
  padding: 12px;
271
274
  border-radius: 17px;
272
- background: rgba(255, 255, 255, 0.90);
275
+ background: rgba(255, 255, 255, 0.9);
273
276
  backdrop-filter: blur(4px);
274
277
  height: 34px;
275
278
  z-index: 100;
276
- box-shadow: 0px 2px 4px rgba(16, 24, 40, 0.1), 0px 1px 3px rgba(16, 24, 40, 0.1);
279
+ box-shadow: 0px 2px 4px rgba(16, 24, 40, 0.1),
280
+ 0px 1px 3px rgba(16, 24, 40, 0.1);
277
281
 
278
282
  .wallet-dot {
279
283
  width: 10px;
280
284
  height: 10px;
281
285
  border-radius: 50%;
282
- background-color: #F2F4F7;
286
+ background-color: #f2f4f7;
283
287
  margin: 0 8px;
284
288
  transition: all 0.3s ease;
285
289
 
@@ -287,7 +291,7 @@
287
291
  width: 8px;
288
292
  height: 8px;
289
293
  border-radius: 4px;
290
- background-color: #6941C6;
294
+ background-color: #6941c6;
291
295
  }
292
296
  }
293
297
  }
@@ -297,14 +301,13 @@
297
301
  display: flex;
298
302
  align-items: center;
299
303
  justify-content: center;
300
- color: #FFFFFF;
304
+ color: #ffffff;
301
305
  min-width: 70px;
302
306
  text-align: center;
303
307
 
304
308
  color: var(--Gray-500, #667085);
305
309
 
306
310
  /* Text xl/Semibold */
307
- font-family: Inter;
308
311
  font-size: 20px;
309
312
  font-style: normal;
310
313
  font-weight: 600;
@@ -345,7 +348,6 @@
345
348
  }
346
349
  }
347
350
 
348
-
349
351
  .pisell-lowcode__error {
350
352
  text-align: center;
351
353
  padding: 20px;
@@ -364,4 +366,4 @@
364
366
  .pisell-wallet-skeleton {
365
367
  padding: 16px;
366
368
  }
367
- }
369
+ }
@@ -0,0 +1,18 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'page.wallet.guide.title': string;
4
+ 'page.wallet.guide.subtitle': string;
5
+ 'page.wallet.guide.button': string;
6
+ };
7
+ 'zh-CN': {
8
+ 'page.wallet.guide.title': string;
9
+ 'page.wallet.guide.subtitle': string;
10
+ 'page.wallet.guide.button': string;
11
+ };
12
+ 'zh-HK': {
13
+ 'page.wallet.guide.title': string;
14
+ 'page.wallet.guide.subtitle': string;
15
+ 'page.wallet.guide.button': string;
16
+ };
17
+ };
18
+ export default _default;
@@ -0,0 +1,17 @@
1
+ export default {
2
+ "en": {
3
+ 'page.wallet.guide.title': 'Activate Now!',
4
+ 'page.wallet.guide.subtitle': 'Unlock membership benefits now',
5
+ 'page.wallet.guide.button': 'Get Your Reward'
6
+ },
7
+ 'zh-CN': {
8
+ 'page.wallet.guide.title': '待解锁权益',
9
+ 'page.wallet.guide.subtitle': '成为专属会员,即可享受更多权益',
10
+ 'page.wallet.guide.button': '点击获取'
11
+ },
12
+ 'zh-HK': {
13
+ 'page.wallet.guide.title': '待解鎖權益',
14
+ 'page.wallet.guide.subtitle': '成為專屬會員,即可享受更多權益',
15
+ 'page.wallet.guide.button': '點擊獲取'
16
+ }
17
+ };
@@ -10,3 +10,11 @@ export declare const getWalletList: () => Promise<WalletPass[]>;
10
10
  * @returns
11
11
  */
12
12
  export declare const getWalletBalance: () => Promise<WalletBalance | null>;
13
+ /**
14
+ * @title: 获取钱包店铺列表
15
+ * @description:
16
+ * @return {*}
17
+ * @Author: WangHan
18
+ * @Date: 2025-06-09 11:12
19
+ */
20
+ export declare const getWalletShopList: (params: any) => Promise<any>;
@@ -66,4 +66,42 @@ export var getWalletBalance = /*#__PURE__*/function () {
66
66
  return function getWalletBalance() {
67
67
  return _ref2.apply(this, arguments);
68
68
  };
69
+ }();
70
+
71
+ /**
72
+ * @title: 获取钱包店铺列表
73
+ * @description:
74
+ * @return {*}
75
+ * @Author: WangHan
76
+ * @Date: 2025-06-09 11:12
77
+ */
78
+ export var getWalletShopList = /*#__PURE__*/function () {
79
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(params) {
80
+ var _yield$request$getReq3, data;
81
+ return _regeneratorRuntime().wrap(function _callee3$(_context3) {
82
+ while (1) switch (_context3.prev = _context3.next) {
83
+ case 0:
84
+ _context3.prev = 0;
85
+ _context3.next = 3;
86
+ return request.getRequest().get('/h5/wallet/shop/list', params || {}, {
87
+ abort: true,
88
+ useCache: true
89
+ });
90
+ case 3:
91
+ _yield$request$getReq3 = _context3.sent;
92
+ data = _yield$request$getReq3.data;
93
+ return _context3.abrupt("return", data || null);
94
+ case 8:
95
+ _context3.prev = 8;
96
+ _context3.t0 = _context3["catch"](0);
97
+ return _context3.abrupt("return", null);
98
+ case 11:
99
+ case "end":
100
+ return _context3.stop();
101
+ }
102
+ }, _callee3, null, [[0, 8]]);
103
+ }));
104
+ return function getWalletShopList(_x) {
105
+ return _ref3.apply(this, arguments);
106
+ };
69
107
  }();
@@ -0,0 +1,38 @@
1
+ /**
2
+ * @title: 默认引导页配置
3
+ * @description:
4
+ * @param {any} locales
5
+ * @return {any}
6
+ * @Author: WangHan
7
+ * @Date: 2025-06-09 14:22
8
+ */
9
+ export declare const defaultWalletGuideConfig: () => {
10
+ show: number;
11
+ align: string;
12
+ backgroundColor: string;
13
+ backgroundImage: string;
14
+ backgroundImageAlt: string;
15
+ buttonColor: string;
16
+ buttonBorderColor: string;
17
+ titleConfig: {
18
+ size: number;
19
+ color: string;
20
+ weight: number;
21
+ style: string;
22
+ text: any;
23
+ };
24
+ subtitleConfig: {
25
+ size: number;
26
+ color: string;
27
+ weight: number;
28
+ style: string;
29
+ text: any;
30
+ };
31
+ buttonConfig: {
32
+ size: number;
33
+ color: string;
34
+ weight: number;
35
+ style: string;
36
+ text: any;
37
+ };
38
+ };
@@ -0,0 +1,47 @@
1
+ import { locales } from '@pisell/utils';
2
+
3
+ /**
4
+ * @title: 默认引导页配置
5
+ * @description:
6
+ * @param {any} locales
7
+ * @return {any}
8
+ * @Author: WangHan
9
+ * @Date: 2025-06-09 14:22
10
+ */
11
+ export var defaultWalletGuideConfig = function defaultWalletGuideConfig() {
12
+ return {
13
+ show: 1,
14
+ //文字居中
15
+ align: 'center',
16
+ //背景颜色
17
+ backgroundColor: '',
18
+ backgroundImage: '',
19
+ backgroundImageAlt: '',
20
+ buttonColor: 'rgba(127,86,217,1)',
21
+ buttonBorderColor: 'rgba(127,86,217,1)',
22
+ // 标题配置
23
+ titleConfig: {
24
+ size: 18,
25
+ color: 'rgba(255,255,255,1)',
26
+ weight: 600,
27
+ style: 'normal',
28
+ text: locales.getText('page.wallet.guide.title')
29
+ },
30
+ // 副标题配置
31
+ subtitleConfig: {
32
+ size: 14,
33
+ color: 'rgba(208,213,221,1)',
34
+ weight: 400,
35
+ style: 'normal',
36
+ text: locales.getText('page.wallet.guide.subtitle')
37
+ },
38
+ // 按钮配置
39
+ buttonConfig: {
40
+ size: 14,
41
+ color: 'rgba(255,255,255,1)',
42
+ weight: 600,
43
+ style: 'normal',
44
+ text: locales.getText('page.wallet.guide.button')
45
+ }
46
+ };
47
+ };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Modal as AntModal, ModalFuncProps as AntModalFuncProps, ModalProps as AntModalProps } from 'antd';
3
2
  import './index.less';
4
3
  interface ModalProps extends AntModalProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Total: ({ className, isFooter }: any) => JSX.Element;
4
3
  export default Total;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Cart: ({ open, onCancel, onNext }: any) => JSX.Element;
4
3
  export default Cart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Deposit: () => JSX.Element;
4
3
  export default Deposit;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Footer: ({ onNext, isOpen }: any) => JSX.Element;
4
3
  export default Footer;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const GuestOptionsModal: (props: any) => JSX.Element;
4
3
  export default GuestOptionsModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import '../../../booking/components/voucher/index.less';
3
2
  import './index.less';
4
3
  declare const VoucherCard: (props: any) => JSX.Element;
@@ -9,7 +9,6 @@
9
9
  align-items: center;
10
10
  gap: 10px;
11
11
  color: var(--Gray-500, #667085);
12
- font-family: Inter;
13
12
  font-size: 14px;
14
13
  font-style: normal;
15
14
  font-weight: 600;
@@ -103,7 +102,6 @@
103
102
  > div {
104
103
  color: var(--Gray-500, #667085);
105
104
  text-align: center;
106
- font-family: Inter;
107
105
  font-size: 16px;
108
106
  font-style: normal;
109
107
  font-weight: 600;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Deposit: (props: any) => JSX.Element;
4
3
  export default Deposit;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const SelectProductItem: ({ item, onClick, onChangeQuantity, amountSymbol, style, className, disabled, }: any) => JSX.Element;
4
3
  export default SelectProductItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  /**
4
3
  * @title: 底部
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const VoucherCard: (props: any) => JSX.Element | null;
4
3
  export default VoucherCard;
@@ -77,7 +77,6 @@
77
77
  > div {
78
78
  color: var(--Gray-500, #667085);
79
79
  text-align: center;
80
- font-family: Inter;
81
80
  font-size: 16px;
82
81
  font-style: normal;
83
82
  font-weight: 600;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SendModalValues } from './index';
3
2
  declare const useSendModal: (bookingId?: number) => {
4
3
  open: boolean;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const useClearCart: (state: any, dispatch: any) => false | JSX.Element;
3
2
  export default useClearCart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  export declare const disabledDate: (current: any, position: any, currentDate: any) => any;
4
3
  declare const DateRange: ({ state, dispatch, key }: any) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const BookingList: ({ items }: {
3
2
  items: any[];
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ServiceItem: ({ d, handleEditService, state, handleLike, resourceItem, errorMessage, handleDeleteService, }: any) => JSX.Element;
4
3
  export default ServiceItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ServiceItem: ({ d, handleEditService, state, handleLike, errorMessage, handleDeleteService, }: any) => JSX.Element;
4
3
  export default ServiceItem;
@@ -73,12 +73,6 @@ var getResourceTimeIsUsable = (item, cacheItem, resourceItem) => {
73
73
  let endDate = null;
74
74
  let isCalcCount = true;
75
75
  if (isFlexible) {
76
- if (eventList.length) {
77
- timeStartDate = eventList.reduce((max, event) => {
78
- const endAt = (0, import_dayjs.default)(event.end_at);
79
- return endAt.isAfter(max) ? endAt : max;
80
- }, (0, import_dayjs.default)(eventList[0].end_at));
81
- }
82
76
  isDateRange = startDate.isAfter(timeStartDate) && startDate.isBefore(timeEndDate);
83
77
  if (!isDateRange && eventList.length) {
84
78
  isCalcCount = false;
@@ -218,10 +212,14 @@ var getServiceStartTimeAndEndTime = (state, cacheItem, timeObj) => {
218
212
  if (lastServer) {
219
213
  let lastServerStartDate = lastServer._extend.startDate;
220
214
  let lastServerEndDate = lastServer._extend.endDate;
221
- if ((0, import_dayjs.default)(lastServerEndDate).isAfter(lastServerStartDate, "day")) {
222
- _extend.start_time = timeObj.timeSlices[timeObj.timeSlices.length - 1].value;
215
+ if (appointmentTimingPreference === "parallel") {
216
+ _extend.start_time = lastServerStartDate.format("HH:mm");
223
217
  } else {
224
- _extend.start_time = appointmentTimingPreference === "sequential" ? lastServerEndDate.format("HH:mm") : lastServerStartDate.format("HH:mm");
218
+ if ((0, import_dayjs.default)(lastServerEndDate).isAfter(lastServerStartDate, "day")) {
219
+ _extend.start_time = timeObj.timeSlices[timeObj.timeSlices.length - 1].value;
220
+ } else {
221
+ _extend.start_time = lastServerEndDate.format("HH:mm");
222
+ }
225
223
  }
226
224
  } else {
227
225
  let findNextSliceProps = {
@@ -557,10 +557,14 @@ var getServerItemExtend = (state, cacheItem, timeObj) => {
557
557
  _extend.resource = lastServer._extend.resource;
558
558
  let lastServerStartDate = lastServer._extend.startDate;
559
559
  let lastServerEndDate = lastServer._extend.endDate;
560
- if ((0, import_dayjs.default)(lastServerEndDate).isAfter(lastServerStartDate, "day")) {
561
- _extend.start_time = timeObj.timeSlices[timeObj.timeSlices.length - 1].value;
560
+ if (appointmentTimingPreference === "parallel") {
561
+ _extend.start_time = lastServerStartDate.format("HH:mm");
562
562
  } else {
563
- _extend.start_time = appointmentTimingPreference === "sequential" ? lastServerEndDate.format("HH:mm") : lastServerStartDate.format("HH:mm");
563
+ if ((0, import_dayjs.default)(lastServerEndDate).isAfter(lastServerStartDate, "day")) {
564
+ _extend.start_time = timeObj.timeSlices[timeObj.timeSlices.length - 1].value;
565
+ } else {
566
+ _extend.start_time = lastServerEndDate.format("HH:mm");
567
+ }
564
568
  }
565
569
  } else {
566
570
  let findNextSliceProps = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ErrorTip: ({ text }: any) => JSX.Element;
4
3
  export default ErrorTip;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Total: ({ className, isFooter }: any) => JSX.Element;
4
3
  export default Total;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const CartItem: () => JSX.Element;
4
3
  export default CartItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Cart: ({ open, onCancel }: any) => JSX.Element;
4
3
  export default Cart;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const EmptyHolderModal: (props: any) => JSX.Element;
4
3
  export default EmptyHolderModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Event: () => JSX.Element;
4
3
  export default Event;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Footer: () => JSX.Element;
4
3
  export default Footer;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const InformationOptionsModal: (props: any) => JSX.Element;
4
3
  export default InformationOptionsModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const OrderProductModal: (props: any) => JSX.Element;
4
3
  export default OrderProductModal;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const RemoveOptionConfirmModal: (props: any) => JSX.Element;
3
2
  export default RemoveOptionConfirmModal;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Resource: () => JSX.Element;
4
3
  export default Resource;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare type CallToBookProps = {
3
2
  show: boolean;
4
3
  type: string;
@@ -16,7 +16,6 @@
16
16
 
17
17
  .sales-close-tip {
18
18
  color: #1b1b1b;
19
- font-family: Inter;
20
19
  font-size: 14px;
21
20
  font-style: normal;
22
21
  font-weight: 400;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const WeekItem: (props: any) => JSX.Element;
4
3
  export default WeekItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare type CalenDateWeekProps = {
4
3
  currentDate: string;
@@ -21,7 +21,6 @@
21
21
  // position: absolute;
22
22
  // bottom: 54px;
23
23
  // left: 0;
24
- // font-family: Inter;
25
24
  // font-size: 12px;
26
25
  // font-style: normal;
27
26
  // font-weight: 600;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const BookingOptions: (props: {
3
2
  onChangeBookingOption?: ((bookingOption: any) => void) | undefined;
4
3
  }) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CalendarDataItem } from '../../type';
3
2
  declare type CalendarItemProps = {
4
3
  month: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const ScheduleTimeItem: ({ timeList }: any) => JSX.Element;
4
3
  export default ScheduleTimeItem;
@@ -12,7 +12,6 @@
12
12
 
13
13
  .time-resource-title {
14
14
  color: var(--Gray-900, #101828);
15
- font-family: Inter;
16
15
  font-size: 14px;
17
16
  font-style: normal;
18
17
  font-weight: 600;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const SetupForm: ({ onReady, amount, order_id, payment_method, scene, }: any) => JSX.Element;
4
3
  export default SetupForm;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { WalletPassDataType } from '../../../PaymentMethods/WalletPass/serve';
3
2
  import './index.less';
4
3
  interface WalletUseListProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface CustomerListProps {
4
3
  value: any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PopoverProps } from 'antd';
3
2
  import { CustomerCardProps } from './CustomerCard';
4
3
  import './index.less';
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const TabProduct: (props: any) => JSX.Element;
3
2
  export default TabProduct;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare type BoolConfigVal = 0 | 1;
4
3
  export interface ProductCardConfig {