@pisell/private-materials 3.0.197 → 3.0.199

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 (198) 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/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +7 -7
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +10 -10
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +11 -11
  11. package/es/components/booking/components/customSelect/index.d.ts +0 -1
  12. package/es/components/booking/components/customSelect/index.js +2 -6
  13. package/es/components/booking/components/footer/amount.js +22 -45
  14. package/es/components/booking/components/footer/index.js +40 -84
  15. package/es/components/booking/components/footer/utils.js +32 -218
  16. package/es/components/booking/info/addServiceVariant/index.js +1 -8
  17. package/es/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +0 -1
  18. package/es/components/booking/info/clientVariant/vertical/SelectDrawer.js +13 -14
  19. package/es/components/booking/info/clientVariant/vertical/index.js +4 -33
  20. package/es/components/booking/info/main.js +8 -20
  21. package/es/components/booking/info/model.js +0 -3
  22. package/es/components/booking/info/pet/index.js +5 -54
  23. package/es/components/booking/info/service/addService/index.js +20 -127
  24. package/es/components/booking/info/service/addService/index.less +3 -13
  25. package/es/components/booking/info/service/addService/utils.d.ts +2 -11
  26. package/es/components/booking/info/service/addService/utils.js +24 -49
  27. package/es/components/booking/info/service/editService/index.js +41 -232
  28. package/es/components/booking/info/service/editService/index.less +13 -18
  29. package/es/components/booking/info/utils.d.ts +0 -9
  30. package/es/components/booking/info/utils.js +0 -13
  31. package/es/components/booking/locales.d.ts +0 -60
  32. package/es/components/booking/locales.js +3 -75
  33. package/es/components/booking/model.d.ts +1 -4
  34. package/es/components/booking/model.js +2 -4
  35. package/es/components/booking/utils.d.ts +3 -12
  36. package/es/components/booking/utils.js +22 -126
  37. package/es/components/eftpos/form/index.js +12 -6
  38. package/es/components/eftpos/group/index.d.ts +1 -2
  39. package/es/components/eftpos/group/index.js +1 -2
  40. package/es/components/eftpos/index.js +2 -2
  41. package/es/components/eftpos/receipt/index.d.ts +24 -0
  42. package/es/components/eftpos/receipt/index.js +96 -0
  43. package/es/components/eftposPay/helper.d.ts +1 -0
  44. package/es/components/eftposPay/helper.js +14 -0
  45. package/es/components/eftposPay/hooks.d.ts +1 -1
  46. package/es/components/eftposPay/tyro/index.js +51 -20
  47. package/es/index.d.ts +0 -1
  48. package/es/index.js +1 -2
  49. package/lib/components/booking/components/customSelect/index.d.ts +0 -1
  50. package/lib/components/booking/components/customSelect/index.js +2 -6
  51. package/lib/components/booking/components/footer/amount.js +8 -26
  52. package/lib/components/booking/components/footer/index.js +4 -25
  53. package/lib/components/booking/components/footer/utils.js +31 -144
  54. package/lib/components/booking/info/addServiceVariant/index.js +0 -5
  55. package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.d.ts +0 -1
  56. package/lib/components/booking/info/clientVariant/vertical/SelectDrawer.js +7 -8
  57. package/lib/components/booking/info/clientVariant/vertical/index.js +10 -36
  58. package/lib/components/booking/info/main.js +4 -11
  59. package/lib/components/booking/info/model.js +0 -3
  60. package/lib/components/booking/info/pet/index.js +25 -61
  61. package/lib/components/booking/info/service/addService/index.js +28 -95
  62. package/lib/components/booking/info/service/addService/index.less +3 -13
  63. package/lib/components/booking/info/service/addService/utils.d.ts +2 -11
  64. package/lib/components/booking/info/service/addService/utils.js +10 -31
  65. package/lib/components/booking/info/service/editService/index.js +122 -271
  66. package/lib/components/booking/info/service/editService/index.less +13 -18
  67. package/lib/components/booking/info/utils.d.ts +0 -9
  68. package/lib/components/booking/info/utils.js +0 -6
  69. package/lib/components/booking/locales.d.ts +0 -60
  70. package/lib/components/booking/locales.js +3 -63
  71. package/lib/components/booking/model.d.ts +1 -4
  72. package/lib/components/booking/model.js +2 -4
  73. package/lib/components/booking/utils.d.ts +3 -12
  74. package/lib/components/booking/utils.js +15 -79
  75. package/lib/components/eftpos/form/index.js +12 -6
  76. package/lib/components/eftpos/group/index.d.ts +1 -2
  77. package/lib/components/eftpos/group/index.js +0 -1
  78. package/lib/components/eftpos/index.js +2 -2
  79. package/lib/components/eftpos/receipt/index.d.ts +24 -0
  80. package/lib/components/eftpos/receipt/index.js +88 -0
  81. package/lib/components/eftposPay/helper.d.ts +1 -0
  82. package/lib/components/eftposPay/helper.js +21 -0
  83. package/lib/components/eftposPay/hooks.d.ts +1 -1
  84. package/lib/components/eftposPay/tyro/index.js +36 -7
  85. package/lib/index.d.ts +0 -1
  86. package/lib/index.js +0 -3
  87. package/package.json +3 -3
  88. package/es/components/booking/components/footer/AppointmentProductModal/index.d.ts +0 -3
  89. package/es/components/booking/components/footer/AppointmentProductModal/index.js +0 -37
  90. package/es/components/booking/components/footer/AppointmentProductModal/index.less +0 -0
  91. package/es/components/booking/info/dateRange/index.d.ts +0 -5
  92. package/es/components/booking/info/dateRange/index.js +0 -98
  93. package/es/components/booking/info/dateRange/index.less +0 -21
  94. package/es/components/booking/info/pet/ChangePetModal/index.d.ts +0 -4
  95. package/es/components/booking/info/pet/ChangePetModal/index.js +0 -118
  96. package/es/components/booking/info/pet/ChangePetModal/index.less +0 -4
  97. package/es/components/booking/info/service2/Lists.d.ts +0 -3
  98. package/es/components/booking/info/service2/Lists.js +0 -158
  99. package/es/components/booking/info/service2/hooks/useSelectPet.d.ts +0 -6
  100. package/es/components/booking/info/service2/hooks/useSelectPet.js +0 -54
  101. package/es/components/booking/info/service2/index.d.ts +0 -3
  102. package/es/components/booking/info/service2/index.js +0 -58
  103. package/es/components/booking/info/service2/status.d.ts +0 -31
  104. package/es/components/booking/info/service2/status.js +0 -78
  105. package/es/components/booking/info/service2/utils.d.ts +0 -145
  106. package/es/components/booking/info/service2/utils.js +0 -436
  107. package/es/components/booking/materiels/holder/index.d.ts +0 -7
  108. package/es/components/booking/materiels/holder/index.js +0 -51
  109. package/es/components/shoppingCart/Provider.d.ts +0 -3
  110. package/es/components/shoppingCart/Provider.js +0 -86
  111. package/es/components/shoppingCart/components/Cart/Product.d.ts +0 -4
  112. package/es/components/shoppingCart/components/Cart/Product.js +0 -96
  113. package/es/components/shoppingCart/components/Cart/index.d.ts +0 -4
  114. package/es/components/shoppingCart/components/Cart/index.js +0 -72
  115. package/es/components/shoppingCart/components/Cart/index.less +0 -68
  116. package/es/components/shoppingCart/components/Empty/index.d.ts +0 -4
  117. package/es/components/shoppingCart/components/Empty/index.js +0 -14
  118. package/es/components/shoppingCart/components/Empty/index.less +0 -19
  119. package/es/components/shoppingCart/components/Render/index.d.ts +0 -4
  120. package/es/components/shoppingCart/components/Render/index.js +0 -68
  121. package/es/components/shoppingCart/components/Render/index.less +0 -2
  122. package/es/components/shoppingCart/components/SelectHolderModal/index.d.ts +0 -4
  123. package/es/components/shoppingCart/components/SelectHolderModal/index.js +0 -124
  124. package/es/components/shoppingCart/components/SelectHolderModal/index.less +0 -32
  125. package/es/components/shoppingCart/hooks/useAddService.d.ts +0 -3
  126. package/es/components/shoppingCart/hooks/useAddService.js +0 -23
  127. package/es/components/shoppingCart/hooks/useClearCart.d.ts +0 -3
  128. package/es/components/shoppingCart/hooks/useClearCart.js +0 -54
  129. package/es/components/shoppingCart/hooks/useContext.d.ts +0 -1
  130. package/es/components/shoppingCart/hooks/useContext.js +0 -5
  131. package/es/components/shoppingCart/index.d.ts +0 -4
  132. package/es/components/shoppingCart/index.js +0 -24
  133. package/es/components/shoppingCart/locales.d.ts +0 -33
  134. package/es/components/shoppingCart/locales.js +0 -38
  135. package/es/components/shoppingCart/mock.d.ts +0 -40
  136. package/es/components/shoppingCart/mock.js +0 -40
  137. package/es/components/shoppingCart/status.d.ts +0 -2
  138. package/es/components/shoppingCart/status.js +0 -22
  139. package/es/components/shoppingCart/type.d.ts +0 -39
  140. package/es/components/shoppingCart/type.js +0 -1
  141. package/es/components/shoppingCart/utils.d.ts +0 -63
  142. package/es/components/shoppingCart/utils.js +0 -119
  143. package/lib/components/booking/components/footer/AppointmentProductModal/index.d.ts +0 -3
  144. package/lib/components/booking/components/footer/AppointmentProductModal/index.js +0 -59
  145. package/lib/components/booking/components/footer/AppointmentProductModal/index.less +0 -0
  146. package/lib/components/booking/info/dateRange/index.d.ts +0 -5
  147. package/lib/components/booking/info/dateRange/index.js +0 -111
  148. package/lib/components/booking/info/dateRange/index.less +0 -21
  149. package/lib/components/booking/info/pet/ChangePetModal/index.d.ts +0 -4
  150. package/lib/components/booking/info/pet/ChangePetModal/index.js +0 -110
  151. package/lib/components/booking/info/pet/ChangePetModal/index.less +0 -4
  152. package/lib/components/booking/info/service2/Lists.d.ts +0 -3
  153. package/lib/components/booking/info/service2/Lists.js +0 -113
  154. package/lib/components/booking/info/service2/hooks/useSelectPet.d.ts +0 -6
  155. package/lib/components/booking/info/service2/hooks/useSelectPet.js +0 -50
  156. package/lib/components/booking/info/service2/index.d.ts +0 -3
  157. package/lib/components/booking/info/service2/index.js +0 -75
  158. package/lib/components/booking/info/service2/status.d.ts +0 -31
  159. package/lib/components/booking/info/service2/status.js +0 -81
  160. package/lib/components/booking/info/service2/utils.d.ts +0 -145
  161. package/lib/components/booking/info/service2/utils.js +0 -320
  162. package/lib/components/booking/materiels/holder/index.d.ts +0 -7
  163. package/lib/components/booking/materiels/holder/index.js +0 -65
  164. package/lib/components/shoppingCart/Provider.d.ts +0 -3
  165. package/lib/components/shoppingCart/Provider.js +0 -110
  166. package/lib/components/shoppingCart/components/Cart/Product.d.ts +0 -4
  167. package/lib/components/shoppingCart/components/Cart/Product.js +0 -89
  168. package/lib/components/shoppingCart/components/Cart/index.d.ts +0 -4
  169. package/lib/components/shoppingCart/components/Cart/index.js +0 -77
  170. package/lib/components/shoppingCart/components/Cart/index.less +0 -68
  171. package/lib/components/shoppingCart/components/Empty/index.d.ts +0 -4
  172. package/lib/components/shoppingCart/components/Empty/index.js +0 -43
  173. package/lib/components/shoppingCart/components/Empty/index.less +0 -19
  174. package/lib/components/shoppingCart/components/Render/index.d.ts +0 -4
  175. package/lib/components/shoppingCart/components/Render/index.js +0 -79
  176. package/lib/components/shoppingCart/components/Render/index.less +0 -2
  177. package/lib/components/shoppingCart/components/SelectHolderModal/index.d.ts +0 -4
  178. package/lib/components/shoppingCart/components/SelectHolderModal/index.js +0 -116
  179. package/lib/components/shoppingCart/components/SelectHolderModal/index.less +0 -32
  180. package/lib/components/shoppingCart/hooks/useAddService.d.ts +0 -3
  181. package/lib/components/shoppingCart/hooks/useAddService.js +0 -55
  182. package/lib/components/shoppingCart/hooks/useClearCart.d.ts +0 -3
  183. package/lib/components/shoppingCart/hooks/useClearCart.js +0 -71
  184. package/lib/components/shoppingCart/hooks/useContext.d.ts +0 -1
  185. package/lib/components/shoppingCart/hooks/useContext.js +0 -31
  186. package/lib/components/shoppingCart/index.d.ts +0 -4
  187. package/lib/components/shoppingCart/index.js +0 -60
  188. package/lib/components/shoppingCart/locales.d.ts +0 -33
  189. package/lib/components/shoppingCart/locales.js +0 -56
  190. package/lib/components/shoppingCart/mock.d.ts +0 -40
  191. package/lib/components/shoppingCart/mock.js +0 -76
  192. package/lib/components/shoppingCart/status.d.ts +0 -2
  193. package/lib/components/shoppingCart/status.js +0 -60
  194. package/lib/components/shoppingCart/type.d.ts +0 -39
  195. package/lib/components/shoppingCart/type.js +0 -17
  196. package/lib/components/shoppingCart/utils.d.ts +0 -63
  197. package/lib/components/shoppingCart/utils.js +0 -92
  198. package/lowcode/shopping-cart/meta.ts +0 -98
@@ -22,7 +22,6 @@ __export(utils_exports, {
22
22
  formatServiceListByTime: () => formatServiceListByTime,
23
23
  getIsBundleOrCombination: () => getIsBundleOrCombination,
24
24
  isBooking4Shop: () => isBooking4Shop,
25
- isDayBooking: () => isDayBooking,
26
25
  isInterval: () => isInterval,
27
26
  moveItemToFront: () => moveItemToFront,
28
27
  uniqueByField: () => uniqueByField
@@ -87,16 +86,11 @@ var isBooking4Shop = (shopId, renderType) => {
87
86
  const booking4Shops = [1350, 1401, 3013, 7154, 7572, 7007, 8119, 7320, 7362, 6497, 6087, 6303, 6726, 8191];
88
87
  return booking4Shops.includes(shopId);
89
88
  };
90
- var isDayBooking = (shopId) => {
91
- const dayBookingShops = [9];
92
- return dayBookingShops.includes(shopId);
93
- };
94
89
  // Annotate the CommonJS export names for ESM import in node:
95
90
  0 && (module.exports = {
96
91
  formatServiceListByTime,
97
92
  getIsBundleOrCombination,
98
93
  isBooking4Shop,
99
- isDayBooking,
100
94
  isInterval,
101
95
  moveItemToFront,
102
96
  uniqueByField
@@ -33,11 +33,6 @@ declare const _default: {
33
33
  'pisell2.text.start_time': string;
34
34
  'pisell2.text.duration': string;
35
35
  'pisell2.text.resource': string;
36
- 'pisell2.text.end_time': string;
37
- 'pisell2.text.start_date': string;
38
- 'pisell2.text.end_date': string;
39
- 'pisell2.text.quantity': string;
40
- 'pisell2.text.holder': string;
41
36
  'pisell2.text.warnings': string;
42
37
  'pisell2.text.order-notes': string;
43
38
  'pisell2.text.add-order-notes': string;
@@ -53,7 +48,6 @@ declare const _default: {
53
48
  'pisell2.text.updated': string;
54
49
  'pisell2.text.appointment-updated': string;
55
50
  'pisell2.text.please-create-an-appointment-first': string;
56
- 'pisell2.text.day': (val: number) => string;
57
51
  'pisell2.text.min': string;
58
52
  'pisell2.text.h': string;
59
53
  'pisell2.text.other': string;
@@ -224,20 +218,6 @@ declare const _default: {
224
218
  'pisell2.booking.info.text.create-new': string;
225
219
  'pisell2.booking.info.text.form-agreement-yes': string;
226
220
  'pisell2.booking.info.text.form-agreement-no': string;
227
- 'pisell2.text.open.items': string;
228
- 'pisell2.text.cart.of': (val: any) => string;
229
- 'pisell2.text.no.selected': string;
230
- 'pisell2.text.select.items': string;
231
- 'pisell2.text.edit-select-service': string;
232
- 'pisell2.text.missing.reservation.title': string;
233
- 'pisell2.text.missing.reservation.content': string;
234
- 'pisell2.text.confirm': string;
235
- 'pisell2.text.cancel': string;
236
- 'pisell2.text.change.pet.title': string;
237
- 'pisell2.text.change.pet.content': string;
238
- 'pisell2.text.change.pet.content1': string;
239
- 'pisell2.text.change.pet.confirm': string;
240
- 'pisell2.text.change.pet.cancel': string;
241
221
  };
242
222
  'zh-CN': {
243
223
  'pisell2.text.refunded-amount': string;
@@ -276,11 +256,6 @@ declare const _default: {
276
256
  'pisell2.text.discount': string;
277
257
  'pisell2.text.discount-reason': string;
278
258
  'pisell2.text.start_time': string;
279
- 'pisell2.text.end_time': string;
280
- 'pisell2.text.start_date': string;
281
- 'pisell2.text.end_date': string;
282
- 'pisell2.text.quantity': string;
283
- 'pisell2.text.holder': string;
284
259
  'pisell2.text.duration': string;
285
260
  'pisell2.text.resource': string;
286
261
  'pisell2.text.warnings': string;
@@ -300,7 +275,6 @@ declare const _default: {
300
275
  'pisell2.text.appointment-updated': string;
301
276
  'pisell2.text.updated': string;
302
277
  'pisell2.text.please-create-an-appointment-first': string;
303
- 'pisell2.text.day': (val: number) => string;
304
278
  'pisell2.text.min': string;
305
279
  'pisell2.text.h': string;
306
280
  'pisell2.text.other': string;
@@ -464,20 +438,6 @@ declare const _default: {
464
438
  'pisell2.booking.info.text.create-new': string;
465
439
  'pisell2.booking.info.text.form-agreement-yes': string;
466
440
  'pisell2.booking.info.text.form-agreement-no': string;
467
- 'pisell2.text.open.items': string;
468
- 'pisell2.text.cart.of': (val: any) => string;
469
- 'pisell2.text.no.selected': string;
470
- 'pisell2.text.select.items': string;
471
- 'pisell2.text.edit-select-service': string;
472
- 'pisell2.text.missing.reservation.title': string;
473
- 'pisell2.text.missing.reservation.content': string;
474
- 'pisell2.text.confirm': string;
475
- 'pisell2.text.cancel': string;
476
- 'pisell2.text.change.pet.title': string;
477
- 'pisell2.text.change.pet.content': string;
478
- 'pisell2.text.change.pet.content1': string;
479
- 'pisell2.text.change.pet.confirm': string;
480
- 'pisell2.text.change.pet.cancel': string;
481
441
  };
482
442
  'zh-HK': {
483
443
  'pisell2.text.refunded-amount': string;
@@ -516,11 +476,6 @@ declare const _default: {
516
476
  'pisell2.text.discount': string;
517
477
  'pisell2.text.discount-reason': string;
518
478
  'pisell2.text.start_time': string;
519
- 'pisell2.text.end_time': string;
520
- 'pisell2.text.start_date': string;
521
- 'pisell2.text.end_date': string;
522
- 'pisell2.text.quantity': string;
523
- 'pisell2.text.holder': string;
524
479
  'pisell2.text.duration': string;
525
480
  'pisell2.text.resource': string;
526
481
  'pisell2.text.warnings': string;
@@ -538,7 +493,6 @@ declare const _default: {
538
493
  'pisell2.text.appointment-updated': string;
539
494
  'pisell2.text.updated': string;
540
495
  'pisell2.text.please-create-an-appointment-first': string;
541
- 'pisell2.text.day': (val: number) => string;
542
496
  'pisell2.text.min': string;
543
497
  'pisell2.text.h': string;
544
498
  'pisell2.text.other': string;
@@ -704,20 +658,6 @@ declare const _default: {
704
658
  'pisell2.booking.info.text.create-new': string;
705
659
  'pisell2.booking.info.text.form-agreement-yes': string;
706
660
  'pisell2.booking.info.text.form-agreement-no': string;
707
- 'pisell2.text.open.items': string;
708
- 'pisell2.text.cart.of': (val: any) => string;
709
- 'pisell2.text.no.selected': string;
710
- 'pisell2.text.select.items': string;
711
- 'pisell2.text.edit-select-service': string;
712
- 'pisell2.text.missing.reservation.title': string;
713
- 'pisell2.text.missing.reservation.content': string;
714
- 'pisell2.text.confirm': string;
715
- 'pisell2.text.cancel': string;
716
- 'pisell2.text.change.pet.title': string;
717
- 'pisell2.text.change.pet.content': string;
718
- 'pisell2.text.change.pet.content1': string;
719
- 'pisell2.text.change.pet.confirm': string;
720
- 'pisell2.text.change.pet.cancel': string;
721
661
  };
722
662
  };
723
663
  export default _default;
@@ -68,11 +68,6 @@ var locales_default = {
68
68
  "pisell2.text.start_time": "Start time",
69
69
  "pisell2.text.duration": "Duration",
70
70
  "pisell2.text.resource": "Resource",
71
- "pisell2.text.end_time": "End time",
72
- "pisell2.text.start_date": "Start date",
73
- "pisell2.text.end_date": "End date",
74
- "pisell2.text.quantity": "Quantity",
75
- "pisell2.text.holder": "Holder",
76
71
  "pisell2.text.warnings": "Warnings",
77
72
  "pisell2.text.order-notes": "Order notes",
78
73
  "pisell2.text.add-order-notes": "Add Order note",
@@ -88,7 +83,6 @@ var locales_default = {
88
83
  "pisell2.text.updated": " updated",
89
84
  "pisell2.text.appointment-updated": "Appointment updated",
90
85
  "pisell2.text.please-create-an-appointment-first": "Please create an appointment first",
91
- "pisell2.text.day": (val) => `${val > 1 ? "days" : "day"}`,
92
86
  "pisell2.text.min": "min",
93
87
  "pisell2.text.h": "h",
94
88
  "pisell2.text.other": "Other",
@@ -279,21 +273,7 @@ var locales_default = {
279
273
  "pisell2.booking.info.text.clear-all": "Clear all",
280
274
  "pisell2.booking.info.text.create-new": "Create new",
281
275
  "pisell2.booking.info.text.form-agreement-yes": "Yes",
282
- "pisell2.booking.info.text.form-agreement-no": "No",
283
- "pisell2.text.open.items": "Open items",
284
- "pisell2.text.cart.of": (val) => `Cart of ${val}`,
285
- "pisell2.text.no.selected": "No items selected",
286
- "pisell2.text.select.items": "Select items",
287
- "pisell2.text.edit-select-service": "Edit items",
288
- "pisell2.text.missing.reservation.title": "Missing Reservation Type",
289
- "pisell2.text.missing.reservation.content": "You have not selected a reservation type, Please select one before proceeding.",
290
- "pisell2.text.confirm": "Confirm",
291
- "pisell2.text.cancel": "Cancel",
292
- "pisell2.text.change.pet.title": "You have changed the holder information. Do you want to keep the items under their name?",
293
- "pisell2.text.change.pet.content": "Selecting “Keep” will move the items to Open Items. Selecting “Discard” will clear all items under the holder’s name.",
294
- "pisell2.text.change.pet.content1": "Reservation-type items cannot be added to the Open Items cart and will be removed.",
295
- "pisell2.text.change.pet.confirm": "Keep (Add to open items)",
296
- "pisell2.text.change.pet.cancel": "Discard (Clear items)"
276
+ "pisell2.booking.info.text.form-agreement-no": "No"
297
277
  },
298
278
  "zh-CN": {
299
279
  "pisell2.text.refunded-amount": "已退金额",
@@ -332,11 +312,6 @@ var locales_default = {
332
312
  "pisell2.text.discount": "折扣",
333
313
  "pisell2.text.discount-reason": "折扣原因",
334
314
  "pisell2.text.start_time": "开始时间",
335
- "pisell2.text.end_time": "结束时间",
336
- "pisell2.text.start_date": "开始日期",
337
- "pisell2.text.end_date": "结束日期",
338
- "pisell2.text.quantity": "数量",
339
- "pisell2.text.holder": "预约主体",
340
315
  "pisell2.text.duration": "时长",
341
316
  "pisell2.text.resource": "资源",
342
317
  "pisell2.text.warnings": "个警告",
@@ -357,7 +332,6 @@ var locales_default = {
357
332
  "pisell2.text.appointment-updated": "预约已更新",
358
333
  "pisell2.text.updated": "已更新",
359
334
  "pisell2.text.please-create-an-appointment-first": "请先创建预约",
360
- "pisell2.text.day": (val) => "天",
361
335
  "pisell2.text.min": "分钟",
362
336
  "pisell2.text.h": "小时",
363
337
  "pisell2.text.other": "未分类",
@@ -545,21 +519,7 @@ var locales_default = {
545
519
  "pisell2.booking.info.text.clear-all": "清空",
546
520
  "pisell2.booking.info.text.create-new": "新建",
547
521
  "pisell2.booking.info.text.form-agreement-yes": "是",
548
- "pisell2.booking.info.text.form-agreement-no": "否",
549
- "pisell2.text.open.items": "公共购物车",
550
- "pisell2.text.cart.of": (val) => `${val}的购物车`,
551
- "pisell2.text.no.selected": "未选择任何项目",
552
- "pisell2.text.select.items": "选择项目",
553
- "pisell2.text.edit-select-service": "编辑项目",
554
- "pisell2.text.missing.reservation.title": "缺少预约类型",
555
- "pisell2.text.missing.reservation.content": "您尚未选择预约类型,请在继续操作前选择。",
556
- "pisell2.text.confirm": "确定",
557
- "pisell2.text.cancel": "取消",
558
- "pisell2.text.change.pet.title": "您已变更持有人信息,是否保留该持有人名下的商品?",
559
- "pisell2.text.change.pet.content": "选择“保留”将商品添加到未分配商品(公共购物车)中;选择“不保留”将清空该持有人名下的所有商品。",
560
- "pisell2.text.change.pet.content1": "预约类商品无法添加到公共购物车,将会被删除。",
561
- "pisell2.text.change.pet.confirm": "保留(添加到未分配中)",
562
- "pisell2.text.change.pet.cancel": "不保留(清空商品)"
522
+ "pisell2.booking.info.text.form-agreement-no": "否"
563
523
  },
564
524
  "zh-HK": {
565
525
  "pisell2.text.refunded-amount": "已退金額",
@@ -598,11 +558,6 @@ var locales_default = {
598
558
  "pisell2.text.discount": "折扣",
599
559
  "pisell2.text.discount-reason": "折扣原因",
600
560
  "pisell2.text.start_time": "開始時間",
601
- "pisell2.text.end_time": "結束時間",
602
- "pisell2.text.start_date": "開始日期",
603
- "pisell2.text.end_date": "結束日期",
604
- "pisell2.text.quantity": "數量",
605
- "pisell2.text.holder": "預約主體",
606
561
  "pisell2.text.duration": "時長",
607
562
  "pisell2.text.resource": "資源",
608
563
  "pisell2.text.warnings": "個警告",
@@ -621,7 +576,6 @@ var locales_default = {
621
576
  "pisell2.text.appointment-updated": "預約已更新",
622
577
  "pisell2.text.updated": "已更新",
623
578
  "pisell2.text.please-create-an-appointment-first": "請先創建預約",
624
- "pisell2.text.day": (val) => "天",
625
579
  "pisell2.text.min": "分鍾",
626
580
  "pisell2.text.h": "小時",
627
581
  "pisell2.text.other": "未分類",
@@ -811,20 +765,6 @@ var locales_default = {
811
765
  "pisell2.booking.info.text.clear-all": "清空",
812
766
  "pisell2.booking.info.text.create-new": "新建",
813
767
  "pisell2.booking.info.text.form-agreement-yes": "是",
814
- "pisell2.booking.info.text.form-agreement-no": "否",
815
- "pisell2.text.open.items": "公共購物車",
816
- "pisell2.text.cart.of": (val) => `${val}的購物車`,
817
- "pisell2.text.no.selected": "未選擇任何項目",
818
- "pisell2.text.select.items": "選擇項目",
819
- "pisell2.text.edit-select-service": "編輯項目",
820
- "pisell2.text.missing.reservation.title": "缺少預約類型",
821
- "pisell2.text.missing.reservation.content": "您尚未選擇預約類型,請在繼續操作前選擇。",
822
- "pisell2.text.confirm": "確定",
823
- "pisell2.text.cancel": "取消",
824
- "pisell2.text.change.pet.title": "您已變更持有人信息,是否保留該持有人名下的商品?",
825
- "pisell2.text.change.pet.content": "選擇“保留”將商品添加到未分配商品(公共購物車)中;選擇“不保留”將清空該持有人名下的所有商品。",
826
- "pisell2.text.change.pet.content1": "預約類商品無法添加到公共購物車,將會被刪除。",
827
- "pisell2.text.change.pet.confirm": "保留(添加到未分配中)",
828
- "pisell2.text.change.pet.cancel": "不保留(清空商品)"
768
+ "pisell2.booking.info.text.form-agreement-no": "否"
829
769
  }
830
770
  };
@@ -29,7 +29,6 @@ export interface FormState {
29
29
  };
30
30
  date: {
31
31
  value: any;
32
- end_date: any;
33
32
  edit: boolean;
34
33
  };
35
34
  service: {
@@ -76,7 +75,7 @@ export interface FormState {
76
75
  bookingId: string | number;
77
76
  bookingDetail: any;
78
77
  channelDisabledEdit: boolean;
79
- renderType?: 'eventBooking' | 'dayBooking';
78
+ renderType?: 'eventBooking';
80
79
  modalOpen?: boolean;
81
80
  isTerminal?: boolean;
82
81
  isFranchisee?: boolean;
@@ -97,8 +96,6 @@ export interface FormState {
97
96
  /** 是否terminal创建booking页面 */
98
97
  isBookingCreatePage?: boolean;
99
98
  loading: boolean;
100
- isTerminalDayBookingPage?: boolean;
101
- activeCartId?: any[];
102
99
  }
103
100
  export declare const walkInData: {
104
101
  id: number;
@@ -72,8 +72,7 @@ var defaultState = {
72
72
  value: walkInData
73
73
  },
74
74
  date: {
75
- value: (0, import_dayjs.default)(),
76
- end_date: (0, import_dayjs.default)().add(1, "days")
75
+ value: (0, import_dayjs.default)()
77
76
  },
78
77
  service: {
79
78
  addModal: false,
@@ -124,8 +123,7 @@ var defaultState = {
124
123
  action: (props) => {
125
124
  console.log(props);
126
125
  },
127
- bookingId: 0,
128
- activeCartId: [0]
126
+ bookingId: 0
129
127
  };
130
128
  var { Provider, Context } = (0, import_utils.miniRedux)({
131
129
  namespace: "state",
@@ -21,7 +21,7 @@ export declare const request: Request;
21
21
  * @Author: zhiwei.Wang
22
22
  * @Date: 2024-04-26 14:00
23
23
  */
24
- export declare const getDiscountTime: (service_times: number, isDay?: boolean) => string;
24
+ export declare const getDiscountTime: (service_times: number) => string;
25
25
  /**
26
26
  * @title: 时间切片
27
27
  * @description:
@@ -31,7 +31,7 @@ export declare const getDiscountTime: (service_times: number, isDay?: boolean) =
31
31
  * @Author: zhiwei.Wang
32
32
  * @Date: 2024-04-26 13:59
33
33
  */
34
- export declare const sliceDayIntoFiveMinutes: (config: any, locale: string, isDay?: boolean) => {
34
+ export declare const sliceDayIntoFiveMinutes: (config: any, locale: string) => {
35
35
  timeSlices: {
36
36
  label: string;
37
37
  value: string;
@@ -115,7 +115,7 @@ export declare const getServiceTimes: (service: any) => {
115
115
  startDate: dayjs.Dayjs;
116
116
  endDate: dayjs.Dayjs;
117
117
  };
118
- export declare const getErrorList: (resource: any, cacheItem: any, isDay?: boolean) => {
118
+ export declare const getErrorList: (resource: any, cacheItem: any) => {
119
119
  label: any;
120
120
  type: string;
121
121
  }[];
@@ -131,15 +131,6 @@ export declare const formatResource: (resourceItem: any, cacheItem?: any, format
131
131
  export declare const getLastServer: (list: any) => any;
132
132
  export declare const getCacheParams: () => any;
133
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
134
  /**
144
135
  * @title: 创建一个服务商品
145
136
  * @description:
@@ -37,7 +37,6 @@ __export(utils_exports, {
37
37
  formatResource: () => formatResource,
38
38
  formatTimes: () => formatTimes,
39
39
  getCacheParams: () => getCacheParams,
40
- getDays: () => getDays,
41
40
  getDiscountTime: () => getDiscountTime,
42
41
  getDuration: () => getDuration,
43
42
  getEndDate: () => getEndDate,
@@ -60,7 +59,6 @@ __export(utils_exports, {
60
59
  module.exports = __toCommonJS(utils_exports);
61
60
  var import_dayjs = __toESM(require("dayjs"));
62
61
  var import_utils = require("@pisell/utils");
63
- var import_utils2 = require("./info/service2/utils");
64
62
  var import_lodash = require("lodash");
65
63
  var Request = class {
66
64
  constructor() {
@@ -74,13 +72,10 @@ var Request = class {
74
72
  }
75
73
  };
76
74
  var request = new Request();
77
- var getDiscountTime = (service_times, isDay) => {
78
- if (!service_times || service_times < 0) {
75
+ var getDiscountTime = (service_times) => {
76
+ if (!service_times) {
79
77
  return "";
80
78
  }
81
- if (isDay) {
82
- return `${service_times} ${import_utils.locales.getText("pisell2.text.day")(service_times)}`;
83
- }
84
79
  if (service_times < 60) {
85
80
  return `${service_times} ${import_utils.locales.getText("pisell2.text.min")}`;
86
81
  } else {
@@ -94,7 +89,7 @@ var getDiscountTime = (service_times, isDay) => {
94
89
  return str;
95
90
  }
96
91
  };
97
- var sliceDayIntoFiveMinutes = (config, locale, isDay) => {
92
+ var sliceDayIntoFiveMinutes = (config, locale) => {
98
93
  let _locale = locale;
99
94
  let dayjsLocale = _locale === "en-US" || _locale === "en" ? "en" : "zh-cn";
100
95
  import_dayjs.default.locale(dayjsLocale);
@@ -104,20 +99,6 @@ var sliceDayIntoFiveMinutes = (config, locale, isDay) => {
104
99
  let timeSlices = [];
105
100
  let durationSlicesBasedOnTime = [];
106
101
  let currentTime = startTime;
107
- if (isDay) {
108
- let currentDay = 1;
109
- while (currentDay <= 30) {
110
- const timeLabel = currentTime.format("hh:mm A");
111
- const timeValue = currentTime.format("HH:mm");
112
- timeSlices.push({ label: timeLabel, value: timeValue });
113
- durationSlicesBasedOnTime.push({
114
- label: `${currentDay} ${import_utils.locales.getText("pisell2.text.day")(currentDay)}`,
115
- value: currentDay
116
- });
117
- currentDay++;
118
- }
119
- return { timeSlices, durationSlicesBasedOnTime };
120
- }
121
102
  while (currentTime.isBefore(endTime)) {
122
103
  const timeLabel = currentTime.format("hh:mm A");
123
104
  const timeValue = currentTime.format("HH:mm");
@@ -270,23 +251,6 @@ var getResourceTimeIsUsable = (item, cacheItem) => {
270
251
  return time;
271
252
  };
272
253
  var formatTimes = (resourceItem, cacheItem) => {
273
- var _a;
274
- if (((_a = cacheItem == null ? void 0 : cacheItem._extend) == null ? void 0 : _a.sub_type) === "days") {
275
- const isResourceItem = (resourceItem == null ? void 0 : resourceItem.form_record_id) > 0;
276
- let isMaxLimitRange = (resourceItem == null ? void 0 : resourceItem.sold_out) === 1;
277
- let isDateRange = (resourceItem == null ? void 0 : resourceItem.available_status) === 1;
278
- const isUsable = isDateRange && !isMaxLimitRange;
279
- const usableTime = {
280
- isMaxLimitRange,
281
- isDateRange,
282
- isUsable: isResourceItem ? isUsable : true
283
- };
284
- resourceItem._extend = {
285
- ...resourceItem._extend,
286
- usableTime
287
- };
288
- return resourceItem;
289
- }
290
254
  let usableTimes = [];
291
255
  let _resourceItem = { ...resourceItem };
292
256
  _resourceItem.times = _resourceItem.times.map((time) => {
@@ -407,8 +371,8 @@ var getServiceTimes = (service) => {
407
371
  endDate
408
372
  };
409
373
  };
410
- var getErrorList = (resource, cacheItem, isDay) => {
411
- var _a, _b, _c, _d, _e, _f, _g, _h, _i;
374
+ var getErrorList = (resource, cacheItem) => {
375
+ var _a, _b, _c;
412
376
  if (!(cacheItem == null ? void 0 : cacheItem.id)) {
413
377
  return [
414
378
  {
@@ -431,21 +395,13 @@ var getErrorList = (resource, cacheItem, isDay) => {
431
395
  type: "product"
432
396
  });
433
397
  }
434
- let startText = "";
435
- let endText = "";
436
- if (isDay) {
437
- const { start_date, end_date } = cacheItem == null ? void 0 : cacheItem._extend;
438
- startText = start_date == null ? void 0 : start_date.format("YYYY-MM-DD");
439
- endText = end_date ? end_date == null ? void 0 : end_date.format("YYYY-MM-DD") : "";
440
- } else {
441
- const { startDate, endDate } = getServiceTimes(cacheItem);
442
- startText = startDate.format("hh:mm A");
443
- endText = endDate.format("hh:mm A");
444
- if ((0, import_dayjs.default)(endDate).isAfter(startDate, "day")) {
445
- endText = import_utils.locales.getText("pisell1.text.tomorrow") + endText;
446
- }
398
+ const { startDate, endDate } = getServiceTimes(cacheItem);
399
+ const startText = startDate.format("hh:mm A");
400
+ let endText = endDate.format("hh:mm A");
401
+ if ((0, import_dayjs.default)(endDate).isAfter(startDate, "day")) {
402
+ endText = import_utils.locales.getText("pisell1.text.tomorrow") + endText;
447
403
  }
448
- if (isDay ? !((_c = (_b = resource._extend) == null ? void 0 : _b.usableTime) == null ? void 0 : _c.isDateRange) : !((_d = resource._extend) == null ? void 0 : _d.usableTime)) {
404
+ if (!((_b = resource._extend) == null ? void 0 : _b.usableTime)) {
449
405
  list.push({
450
406
  label: import_utils.locales.getText("pisell1.text.resource-error-message-2")(
451
407
  resource.labelText,
@@ -455,7 +411,7 @@ var getErrorList = (resource, cacheItem, isDay) => {
455
411
  type: "time"
456
412
  });
457
413
  } else {
458
- if (isDay ? (_f = (_e = resource._extend) == null ? void 0 : _e.usableTime) == null ? void 0 : _f.isMaxLimitRange : !((_i = (_h = (_g = resource._extend) == null ? void 0 : _g.usableTime) == null ? void 0 : _h._extend) == null ? void 0 : _i.isMaxLimitRange)) {
414
+ if (!((_c = resource._extend) == null ? void 0 : _c.usableTime._extend.isMaxLimitRange)) {
459
415
  list.push({
460
416
  label: import_utils.locales.getText("pisell1.text.resource-error-message-3")(
461
417
  resource.labelText,
@@ -470,15 +426,11 @@ var getErrorList = (resource, cacheItem, isDay) => {
470
426
  return list;
471
427
  };
472
428
  var formatResource = (resourceItem, cacheItem, formatLabel) => {
473
- var _a, _b, _c, _d;
474
429
  let _resourceItem = { ...resourceItem };
475
430
  _resourceItem = formatTimes(_resourceItem, cacheItem);
476
431
  _resourceItem = formatResourceProducts(_resourceItem, cacheItem);
477
432
  _resourceItem.labelText = _resourceItem.room_name || _resourceItem.name;
478
- let usable = _resourceItem._extend.usableTime && _resourceItem._extend.usableProduct;
479
- if (((_a = cacheItem == null ? void 0 : cacheItem._extend) == null ? void 0 : _a.sub_type) === "days") {
480
- usable = ((_c = (_b = _resourceItem._extend) == null ? void 0 : _b.usableTime) == null ? void 0 : _c.isUsable) && ((_d = _resourceItem._extend) == null ? void 0 : _d.usableProduct);
481
- }
433
+ const usable = _resourceItem._extend.usableTime && _resourceItem._extend.usableProduct;
482
434
  _resourceItem.usable = usable;
483
435
  if (formatLabel) {
484
436
  _resourceItem.label = formatLabel(_resourceItem);
@@ -496,25 +448,14 @@ var getCacheParams = () => {
496
448
  var deleteCacheParams = () => {
497
449
  sessionStorage.removeItem("pisell2.booking.serviceParams");
498
450
  };
499
- var getDays = (cacheItem, type) => {
500
- var _a, _b;
501
- if (type === "days") {
502
- const { start_date, end_date } = (0, import_utils2.formatDayDate)(cacheItem._extend);
503
- return end_date.diff(start_date, "day");
504
- }
505
- let startDate = (0, import_dayjs.default)((_a = cacheItem._extend) == null ? void 0 : _a.start_date);
506
- let endDate = (0, import_dayjs.default)((_b = cacheItem._extend) == null ? void 0 : _b.end_date);
507
- return endDate.diff(startDate, type);
508
- };
509
451
  var getServerItemExtend = (state, cacheItem, timeObj) => {
510
452
  var _a;
511
453
  if (!cacheItem.new && cacheItem._extend.endDate) {
512
454
  return cacheItem._extend;
513
455
  }
514
- const isDay = (0, import_utils2.isDayBooking)(state);
515
- let lastServer = isDay ? false : getLastServer(state.service.value);
456
+ let lastServer = getLastServer(state.service.value);
516
457
  let _extend = {
517
- duration: isDay ? getDays(cacheItem, "days") : findNextDuration(
458
+ duration: findNextDuration(
518
459
  cacheItem.duration,
519
460
  timeObj.durationSlicesBasedOnTime,
520
461
  (_a = cacheItem == null ? void 0 : cacheItem.duration) == null ? void 0 : _a.value
@@ -560,10 +501,6 @@ var getServerItemExtend = (state, cacheItem, timeObj) => {
560
501
  ..._extend,
561
502
  ...cacheItem._extend
562
503
  };
563
- if (isDay) {
564
- const { start_date, end_date } = (0, import_utils2.formatDayDate)(_extend);
565
- _extend = { ..._extend, start_date, end_date };
566
- }
567
504
  return _extend;
568
505
  };
569
506
  var getProductTotalPrice = (item) => {
@@ -640,7 +577,6 @@ var getIsEdit = (state) => {
640
577
  formatResource,
641
578
  formatTimes,
642
579
  getCacheParams,
643
- getDays,
644
580
  getDiscountTime,
645
581
  getDuration,
646
582
  getEndDate,
@@ -37,6 +37,7 @@ var import_react = __toESM(require("react"));
37
37
  var import_antd = require("antd");
38
38
  var import_group = require("../group");
39
39
  var import_surcharge = __toESM(require("../surcharge"));
40
+ var import_receipt = __toESM(require("../receipt"));
40
41
  var import_deviceList = __toESM(require("../deviceList"));
41
42
  var Mapping = {
42
43
  Input: import_antd.Input,
@@ -58,7 +59,8 @@ var Mapping = {
58
59
  };
59
60
  var CustomMapping = {
60
61
  Surcharge: import_surcharge.default,
61
- DeviceList: import_deviceList.default
62
+ DeviceList: import_deviceList.default,
63
+ Receipt: import_receipt.default
62
64
  };
63
65
  var CustomFormItem = ({
64
66
  formItemList,
@@ -72,27 +74,27 @@ var CustomFormItem = ({
72
74
  {
73
75
  formItemList: item.children,
74
76
  onChange,
75
- key: item.name ? item.name + level : Component + index + level,
77
+ key: item.name ? `${item.name}${level}` : `${Component}${index}${level}`,
76
78
  level: level + 1
77
79
  }
78
80
  );
79
81
  }
80
82
  if (typeof Component === "object") {
81
- return /* @__PURE__ */ import_react.default.createElement(Component, { ...item, key: item.name + level });
83
+ return /* @__PURE__ */ import_react.default.createElement(Component, { ...item, key: `${item.name}${level}` });
82
84
  }
83
85
  if (Mapping[Component]) {
84
86
  const Comm = Mapping[Component];
85
87
  const { input, ...formItemProps } = item;
86
- return /* @__PURE__ */ import_react.default.createElement(import_antd.Form.Item, { ...formItemProps, key: item.name + level }, /* @__PURE__ */ import_react.default.createElement(Comm, { ...input }));
88
+ return /* @__PURE__ */ import_react.default.createElement(import_antd.Form.Item, { ...formItemProps, key: `${item.name}${level}` }, /* @__PURE__ */ import_react.default.createElement(Comm, { ...input }));
87
89
  }
88
90
  if (Mapping[Component]) {
89
91
  const Comm = Mapping[Component];
90
92
  const { input, ...formItemProps } = item;
91
- return /* @__PURE__ */ import_react.default.createElement(import_antd.Form.Item, { ...formItemProps, key: item.name + level }, /* @__PURE__ */ import_react.default.createElement(Comm, { ...input }));
93
+ return /* @__PURE__ */ import_react.default.createElement(import_antd.Form.Item, { ...formItemProps, key: `${item.name}${level}` }, /* @__PURE__ */ import_react.default.createElement(Comm, { ...input }));
92
94
  }
93
95
  if (CustomMapping[Component]) {
94
96
  const Comm = CustomMapping[Component];
95
- return /* @__PURE__ */ import_react.default.createElement(Comm, { ...item, key: item.name + level });
97
+ return /* @__PURE__ */ import_react.default.createElement(Comm, { ...item, key: `${item.name}${level}` });
96
98
  }
97
99
  throw TypeError(
98
100
  `pos物料库 输入组件类型 ${Component} 无法映射,请正确传入组件类型`
@@ -104,6 +106,10 @@ var helpMapping = {
104
106
  Surcharge: {
105
107
  getCommName: import_surcharge.getCommName,
106
108
  getCommDefaultVal: import_surcharge.getCommDefaultVal
109
+ },
110
+ Receipt: {
111
+ getCommName: import_receipt.getCommName,
112
+ getCommDefaultVal: import_receipt.getCommDefaultVal
107
113
  }
108
114
  };
109
115
  // Annotate the CommonJS export names for ESM import in node:
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  import { RadioGroupProps } from 'antd';
3
3
  export declare const CheckboxGroup: ({ direction, options, ...props }: any) => React.JSX.Element;
4
- export declare const RadioGroup: ({ direction, options, component, ...props }: RadioGroupProps & {
4
+ export declare const RadioGroup: ({ direction, options, ...props }: RadioGroupProps & {
5
5
  direction?: "vertical" | undefined;
6
- component: string;
7
6
  }) => React.JSX.Element;
@@ -54,7 +54,6 @@ var CheckboxGroup = ({
54
54
  var RadioGroup = ({
55
55
  direction,
56
56
  options,
57
- component,
58
57
  ...props
59
58
  }) => {
60
59
  if (direction === "vertical") {
@@ -73,7 +73,7 @@ var PosTabs = (0, import_react.forwardRef)(
73
73
  {
74
74
  className: `pisell-lowcode__pos_circle ${active2 ? "active" : ""}`
75
75
  },
76
- /* @__PURE__ */ import_react.default.createElement(import_device2.default, { color: active2 ? "#fff" : "#98A2B3" })
76
+ /* @__PURE__ */ import_react.default.createElement(import_apiKey.default, { color: active2 ? "#fff" : "#98A2B3" })
77
77
  ), /* @__PURE__ */ import_react.default.createElement(
78
78
  "span",
79
79
  {
@@ -90,7 +90,7 @@ var PosTabs = (0, import_react.forwardRef)(
90
90
  {
91
91
  className: `pisell-lowcode__pos_circle ${active2 ? "active" : ""}`
92
92
  },
93
- /* @__PURE__ */ import_react.default.createElement(import_apiKey.default, { color: active2 ? "#fff" : "#98A2B3" })
93
+ /* @__PURE__ */ import_react.default.createElement(import_device2.default, { color: active2 ? "#fff" : "#98A2B3" })
94
94
  ), /* @__PURE__ */ import_react.default.createElement(
95
95
  "span",
96
96
  {