@pisell/private-materials 6.3.77 → 6.3.79

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 (139) 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 +1 -1
  7. package/build/lowcode/view.css +1 -1
  8. package/build/lowcode/view.js +1 -1
  9. package/es/components/Sales/Cart/index.d.ts +1 -1
  10. package/es/components/Sales/Cart/index.js +18 -3
  11. package/es/components/Sales/Cart/utils.d.ts +68 -0
  12. package/es/components/Sales/Checkout/utils.js +57 -1
  13. package/es/components/Sales/Summary/index.d.ts +2 -0
  14. package/es/components/Sales/Summary/index.js +7 -2
  15. package/es/components/Sales/Summary/utils.d.ts +10 -3
  16. package/es/components/Sales/Summary/utils.js +57 -10
  17. package/es/components/appointmentBooking/components/Cart/Item/index.js +62 -4
  18. package/es/components/appointmentBooking/components/Deposit/index.d.ts +5 -1
  19. package/es/components/appointmentBooking/components/Deposit/index.js +9 -4
  20. package/es/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +0 -1
  21. package/es/components/appointmentBooking/locales.d.ts +366 -0
  22. package/es/components/booking/info/date/index.d.ts +0 -1
  23. package/es/components/booking/info/service2/utils.d.ts +1 -0
  24. package/es/components/booking/info/service2/utils.js +4 -4
  25. package/es/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  26. package/es/components/eftposPay/locales.d.ts +330 -0
  27. package/es/components/eftposPay/pay.d.ts +0 -1
  28. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +4 -1
  29. package/es/components/eventBooking/components/Provider/Cart/Deposit/index.js +4 -1
  30. package/es/components/eventBooking/components/Provider/Cart/Item/index.js +79 -6
  31. package/es/components/eventBooking/components/Provider/Cart/Item/index.less +7 -6
  32. package/es/components/eventBooking/components/Provider/Cart/index.js +2 -7
  33. package/es/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  34. package/es/components/eventBooking/components/Provider/Content/index.less +1 -1
  35. package/es/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  36. package/es/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  37. package/es/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  38. package/es/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  39. package/es/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  40. package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  41. package/es/components/eventBooking/components/Voucher/components/locales.d.ts +39 -0
  42. package/es/components/eventBooking/components/Voucher/index.js +1 -1
  43. package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  44. package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  45. package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  46. package/es/components/index.d.ts +1 -2
  47. package/es/components/index.js +1 -2
  48. package/es/components/pay/toC/PaymentMethods/BankDeposit/index.js +1 -3
  49. package/es/components/subTotal/index.d.ts +2 -0
  50. package/es/components/subTotal/index.js +42 -20
  51. package/es/components/systemSettings/registry/components/docs/images/image-1.png +0 -0
  52. package/es/components/systemSettings/registry/components/docs/images/image-2.png +0 -0
  53. package/es/components/systemSettings/registry/components/docs/images/image-3.png +0 -0
  54. package/es/components/systemSettings/registry/components/docs/images/image-4.png +0 -0
  55. package/es/components/systemSettings/registry/components/docs/images/image-5.png +0 -0
  56. package/es/components/systemSettings/registry/components/docs/images/image-6.png +0 -0
  57. package/es/components/systemSettings/registry/components/docs/images/image-7.png +0 -0
  58. package/es/components/systemSettings/registry/components/docs/images/image-8.png +0 -0
  59. package/es/components/systemSettings/registry/components/docs/images/image.png +0 -0
  60. package/es/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  61. package/es/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
  62. package/es/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -1
  63. package/es/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -1
  64. package/es/plus/skuOptionsSelection/types.d.ts +429 -0
  65. package/es/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  66. package/es/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  67. package/es/pro/NumericStepper/index.d.ts +43 -0
  68. package/es/pro/Selector/components/Card/index.d.ts +57 -0
  69. package/es/pro/Selector/components/Indicator/index.d.ts +19 -0
  70. package/es/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
  71. package/es/pro/Selector/demo.d.ts +0 -1
  72. package/es/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  73. package/es/pro/Selector/types.d.ts +173 -0
  74. package/lib/components/Sales/Cart/index.d.ts +1 -1
  75. package/lib/components/Sales/Cart/index.js +20 -7
  76. package/lib/components/Sales/Cart/utils.d.ts +68 -0
  77. package/lib/components/Sales/Checkout/utils.js +64 -1
  78. package/lib/components/Sales/Summary/index.d.ts +2 -0
  79. package/lib/components/Sales/Summary/index.js +8 -2
  80. package/lib/components/Sales/Summary/utils.d.ts +10 -3
  81. package/lib/components/Sales/Summary/utils.js +38 -13
  82. package/lib/components/appointmentBooking/components/Cart/Item/index.js +52 -4
  83. package/lib/components/appointmentBooking/components/Deposit/index.d.ts +5 -1
  84. package/lib/components/appointmentBooking/components/Deposit/index.js +7 -4
  85. package/lib/components/appointmentBooking/components/TimeSlicing/components/SelectDateOS.d.ts +0 -1
  86. package/lib/components/appointmentBooking/locales.d.ts +366 -0
  87. package/lib/components/booking/info/date/index.d.ts +0 -1
  88. package/lib/components/booking/info/service2/utils.d.ts +1 -0
  89. package/lib/components/booking/info/service2/utils.js +4 -4
  90. package/lib/components/eftposPay/component/fail/failCustom.d.ts +0 -1
  91. package/lib/components/eftposPay/locales.d.ts +330 -0
  92. package/lib/components/eftposPay/pay.d.ts +0 -1
  93. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +4 -1
  94. package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.js +3 -1
  95. package/lib/components/eventBooking/components/Provider/Cart/Item/index.js +77 -5
  96. package/lib/components/eventBooking/components/Provider/Cart/Item/index.less +7 -6
  97. package/lib/components/eventBooking/components/Provider/Cart/index.js +2 -2
  98. package/lib/components/eventBooking/components/Provider/Content/index.d.ts +0 -1
  99. package/lib/components/eventBooking/components/Provider/Content/index.less +1 -1
  100. package/lib/components/eventBooking/components/Provider/Event/index.d.ts +0 -1
  101. package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +0 -1
  102. package/lib/components/eventBooking/components/Provider/Header/index.d.ts +0 -1
  103. package/lib/components/eventBooking/components/Provider/Information/index.d.ts +0 -1
  104. package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +0 -1
  105. package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +0 -1
  106. package/lib/components/eventBooking/components/Voucher/components/locales.d.ts +39 -0
  107. package/lib/components/eventBooking/components/Voucher/index.js +1 -1
  108. package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +0 -1
  109. package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +0 -1
  110. package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +0 -1
  111. package/lib/components/index.d.ts +1 -2
  112. package/lib/components/index.js +0 -3
  113. package/lib/components/pay/toC/PaymentMethods/BankDeposit/index.js +1 -1
  114. package/lib/components/subTotal/index.d.ts +2 -0
  115. package/lib/components/subTotal/index.js +34 -20
  116. package/lib/components/systemSettings/registry/components/docs/images/image-1.png +0 -0
  117. package/lib/components/systemSettings/registry/components/docs/images/image-2.png +0 -0
  118. package/lib/components/systemSettings/registry/components/docs/images/image-3.png +0 -0
  119. package/lib/components/systemSettings/registry/components/docs/images/image-4.png +0 -0
  120. package/lib/components/systemSettings/registry/components/docs/images/image-5.png +0 -0
  121. package/lib/components/systemSettings/registry/components/docs/images/image-6.png +0 -0
  122. package/lib/components/systemSettings/registry/components/docs/images/image-7.png +0 -0
  123. package/lib/components/systemSettings/registry/components/docs/images/image-8.png +0 -0
  124. package/lib/components/systemSettings/registry/components/docs/images/image.png +0 -0
  125. package/lib/plus/productSelect/ProductList/gridComponents.d.ts +44 -0
  126. package/lib/plus/skuOptionsSelection/components/NormalCard/index.d.ts +0 -1
  127. package/lib/plus/skuOptionsSelection/components/OptionsCard/OptionItemCard.d.ts +0 -1
  128. package/lib/plus/skuOptionsSelection/components/OptionsModal/index.d.ts +0 -1
  129. package/lib/plus/skuOptionsSelection/types.d.ts +429 -0
  130. package/lib/plus/skuOptionsSelection/utils/transformSelectorValueToValue.d.ts +4 -0
  131. package/lib/plus/skuOptionsSelection/utils/transformValueToSelectorValue.d.ts +4 -0
  132. package/lib/pro/NumericStepper/index.d.ts +43 -0
  133. package/lib/pro/Selector/components/Card/index.d.ts +57 -0
  134. package/lib/pro/Selector/components/Indicator/index.d.ts +19 -0
  135. package/lib/pro/Selector/components/LayoutContainer/index.d.ts +16 -0
  136. package/lib/pro/Selector/demo.d.ts +0 -1
  137. package/lib/pro/Selector/hooks/usePresetProps.d.ts +24 -0
  138. package/lib/pro/Selector/types.d.ts +173 -0
  139. package/package.json +3 -3
@@ -44,16 +44,17 @@ var DepositContent = (props) => {
44
44
  isAgreeDepositPolicy,
45
45
  setIsAgreeDepositPolicy,
46
46
  deposit,
47
- depositProtocolRequest
47
+ depositProtocolRequest,
48
+ showTitle = true
48
49
  } = props;
49
- return /* @__PURE__ */ import_react.default.createElement("div", { className: "appointment-deposit-wrap" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "appointment-deposit-top" }, /* @__PURE__ */ import_react.default.createElement("span", null, import_utils.locales.getText("pisell2.appointment.deposit")), /* @__PURE__ */ import_react.default.createElement(
50
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: "appointment-deposit-wrap" }, showTitle ? /* @__PURE__ */ import_react.default.createElement("div", { className: "appointment-deposit-top" }, /* @__PURE__ */ import_react.default.createElement("span", null, import_utils.locales.getText("pisell2.appointment.deposit")), /* @__PURE__ */ import_react.default.createElement(
50
51
  import_materials.PisellText.Amount,
51
52
  {
52
53
  value: deposit == null ? void 0 : deposit.total,
53
54
  showCurrencySymbol: true,
54
55
  className: "amount"
55
56
  }
56
- )), /* @__PURE__ */ import_react.default.createElement(
57
+ )) : null, /* @__PURE__ */ import_react.default.createElement(
57
58
  import_deposit.default,
58
59
  {
59
60
  total: deposit == null ? void 0 : deposit.total,
@@ -64,7 +65,8 @@ var DepositContent = (props) => {
64
65
  }
65
66
  ));
66
67
  };
67
- var Deposit = () => {
68
+ var Deposit = (props) => {
69
+ const { showTitle = true } = props;
68
70
  const {
69
71
  setIsAgreeDepositPolicy,
70
72
  isAgreeDepositPolicy,
@@ -79,6 +81,7 @@ var Deposit = () => {
79
81
  return /* @__PURE__ */ import_react.default.createElement(
80
82
  DepositContent,
81
83
  {
84
+ showTitle,
82
85
  isAgreeDepositPolicy: !!isAgreeDepositPolicy,
83
86
  setIsAgreeDepositPolicy,
84
87
  deposit,
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SelectDate: (props: any) => JSX.Element | null;
3
2
  export default SelectDate;
@@ -0,0 +1,366 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.event.calendar.limit.unavailable': string;
4
+ 'pisell2.event.calendar.limit.sold.out': string;
5
+ 'pisell2.event.calendar.limit.call.to.book': string;
6
+ 'pisell2.event.calendar.limit.filling.up.fast': string;
7
+ 'pisell2.event.calendar.limit.lots.of.space': string;
8
+ 'pisell2.event.calendar.booking-closed': string;
9
+ 'pisell2.event.calendar.call-to-book': string;
10
+ 'pisell2.event.calendar.email-to-book': string;
11
+ 'pisell2.event.close.title': string;
12
+ 'pisell2.event.close.tip': string;
13
+ 'pisell2.event.close.continue': string;
14
+ 'pisell2.event.close.exit': string;
15
+ 'pisell2.appointment.step': (step: number) => string;
16
+ 'pisell2.event.select.category': (val: string) => string;
17
+ 'pisell2.event.select.campus': (val: string) => string;
18
+ 'pisell2.event.select.event': string;
19
+ 'pisell2.event.cart': string;
20
+ 'pisell2.event.total': string;
21
+ 'pisell2.event.total.gst': (val: string, amount: any) => string;
22
+ 'pisell2.event.continue': string;
23
+ 'pisell2.event.details': string;
24
+ 'pisell2.event.introduction': string;
25
+ 'pisell2.event.schedule': string;
26
+ 'pisell2.event.teacher': string;
27
+ 'pisell2.event.campus': string;
28
+ 'pisell2.event.resource': string;
29
+ 'pisell2.event.booking.options': string;
30
+ 'pisell2.event.add.to.cart': string;
31
+ 'pisell2.event.description': string;
32
+ 'pisell2.event.view.more': string;
33
+ 'pisell2.event.view.less': string;
34
+ 'pisell2.event.holder.modal.title': string;
35
+ 'pisell2.event.confirm': string;
36
+ 'pisell2.event.confirm.information': string;
37
+ 'pisell2.event.confirm.information.tip': string;
38
+ 'pisell2.event.confirm.information.other': string;
39
+ 'pisell2.event.add.others': string;
40
+ 'pisell2.event.checkout': string;
41
+ 'pisell2.event.edit.event': string;
42
+ 'pisell2.event.remove': string;
43
+ 'pisell2.event.option': string;
44
+ 'pisell2.event.order.items.error.title': string;
45
+ 'pisell2.event.order.items.error.tip': (val: number) => string;
46
+ 'pisell2.event.order.items.error.proceed': string;
47
+ 'pisell2.event.order.items.error.return': string;
48
+ 'pisell2.event.order.items.error.back': string;
49
+ 'pisell2.event.order.items.error.continue': string;
50
+ 'pisell2.event.order.items.error.all.tip': string;
51
+ 'pisell2.event.remove.title': string;
52
+ 'pisell2.event.remove.tip': string;
53
+ 'pisell2.event.remove.cancel': string;
54
+ 'pisell2.event.create': string;
55
+ 'pisell2.event.search': string;
56
+ 'pisell2.event.empty.service': string;
57
+ 'pisell2.event.title': (val: number) => string;
58
+ 'pisell2.event.create.form': string;
59
+ 'pisell2.event.empty.event': string;
60
+ 'pisell2.event.error.holder': string;
61
+ 'pisell2.event.price.from': string;
62
+ 'pisell2.event.empty.holder.title': string;
63
+ 'pisell2.event.empty.holder.tip': string;
64
+ 'pisell2.event.empty.holder.continue.tip': string;
65
+ 'pisell2.event.empty.holder.go.back': string;
66
+ 'pisell2.event.empty.holder.continue.anyway': string;
67
+ 'pisell2.event.event.full.title': string;
68
+ 'pisell2.event.event.full.tip': string;
69
+ 'pisell2.event.event.full.ok': string;
70
+ 'pisell2.event.capacity.limit.reached.title': string;
71
+ 'pisell2.event.capacity.limit.reached.tip': string;
72
+ 'pisell2.appointment.booking.empty.service': string;
73
+ 'pisell2.appointment.booking.empty.data': string;
74
+ 'pisell2.appointment.booking.empty.time': string;
75
+ 'pisell2.appointment.service.title': (val: number) => string;
76
+ 'pisell2.appointment.add.guest': string;
77
+ 'pisell2.appointment.edit.service': string;
78
+ 'pisell2.appointment.remove.guest': string;
79
+ 'pisell2.appointment.no.available.service': string;
80
+ 'pisell2.appointment.max.guest': string;
81
+ 'pisell2.appointment.no.available.time': string;
82
+ 'pisell2.appointment.monday': string;
83
+ 'pisell2.appointment.tuesday': string;
84
+ 'pisell2.appointment.wednesday': string;
85
+ 'pisell2.appointment.thursday': string;
86
+ 'pisell2.appointment.friday': string;
87
+ 'pisell2.appointment.saturday': string;
88
+ 'pisell2.appointment.sunday': string;
89
+ 'pisell2.appointment.any.professional': string;
90
+ 'pisell2.appointment.for.maximum.availability': string;
91
+ 'pisell2.appointment.deposit': string;
92
+ 'pisell2.appointment.deposit.agreed': string;
93
+ 'pisell2.appointment.deposit.agree.policy': string;
94
+ 'pisell2.appointment.deposit.and': string;
95
+ 'pisell2.appointment.deposit.amount.tip1': string;
96
+ 'pisell2.appointment.deposit.amount.tip2': string;
97
+ 'pisell2.appointment.deposit.close': string;
98
+ 'pisell2.appointment.tips': string;
99
+ 'pisell2.appointment.tips.content': string;
100
+ 'pisell2.appointment.fill-form': string;
101
+ 'pisell2.appointment.select.holder': (val: string) => string;
102
+ 'pisell2.appointment.select.time': string;
103
+ 'pisell2.appointment.unselect.time': string;
104
+ 'pisell2.appointment.unselect.date': string;
105
+ 'pisell2.appointment.unuse.date': string;
106
+ 'pisell2.appointment.add-guests': string;
107
+ 'pisell2.appointment.policy': string;
108
+ 'pisell2.appointment.policy.confirm': string;
109
+ 'pisell2.appointment.resource.tip': (val: string) => string;
110
+ 'pisell2.text.apply': string;
111
+ 'pisell2.text.goodpass': string;
112
+ 'pisell2.text.goodpass.product-vouchers': string;
113
+ 'pisell2.text.goodpass.view-more': string;
114
+ 'pisell2.text.goodpass.code': string;
115
+ 'pisell2.text.goodpass.enter-code': string;
116
+ 'pisell2.text.goodpass.code-invalid': string;
117
+ 'pisell2.text.goodpass.code-invalid-cart': string;
118
+ 'pisell2.text.goodpass.code-invalid-expired': string;
119
+ 'pisell2.text.goodpass.login': string;
120
+ 'pisell2.text.goodpass.login-tip': string;
121
+ 'pisell2.text.contact-info.title': string;
122
+ };
123
+ 'zh-CN': {
124
+ 'pisell2.event.calendar.limit.unavailable': string;
125
+ 'pisell2.event.calendar.limit.sold.out': string;
126
+ 'pisell2.event.calendar.limit.call.to.book': string;
127
+ 'pisell2.event.calendar.limit.filling.up.fast': string;
128
+ 'pisell2.event.calendar.limit.lots.of.space': string;
129
+ 'pisell2.event.calendar.booking-closed': string;
130
+ 'pisell2.event.calendar.call-to-book': string;
131
+ 'pisell2.event.calendar.email-to-book': string;
132
+ 'pisell2.event.close.title': string;
133
+ 'pisell2.event.close.tip': string;
134
+ 'pisell2.event.close.continue': string;
135
+ 'pisell2.event.close.exit': string;
136
+ 'pisell2.appointment.step': (step: number) => string;
137
+ 'pisell2.event.select.category': (val: string) => string;
138
+ 'pisell2.event.select.event': string;
139
+ 'pisell2.event.select.campus': (val: string) => string;
140
+ 'pisell2.event.cart': string;
141
+ 'pisell2.event.total': string;
142
+ 'pisell2.event.total.gst': (val: string, amount: any) => string;
143
+ 'pisell2.event.continue': string;
144
+ 'pisell2.event.details': string;
145
+ 'pisell2.event.introduction': string;
146
+ 'pisell2.event.schedule': string;
147
+ 'pisell2.event.teacher': string;
148
+ 'pisell2.event.campus': string;
149
+ 'pisell2.event.resource': string;
150
+ 'pisell2.event.booking.options': string;
151
+ 'pisell2.event.add.to.cart': string;
152
+ 'pisell2.event.description': string;
153
+ 'pisell2.event.view.more': string;
154
+ 'pisell2.event.view.less': string;
155
+ 'pisell2.event.holder.modal.title': string;
156
+ 'pisell2.event.confirm': string;
157
+ 'pisell2.event.confirm.information': string;
158
+ 'pisell2.event.confirm.information.tip': string;
159
+ 'pisell2.event.confirm.information.other': string;
160
+ 'pisell2.event.add.others': string;
161
+ 'pisell2.event.checkout': string;
162
+ 'pisell2.event.edit.event': string;
163
+ 'pisell2.event.remove': string;
164
+ 'pisell2.event.option': string;
165
+ 'pisell2.event.order.items.error.title': string;
166
+ 'pisell2.event.order.items.error.tip': (val: number) => string;
167
+ 'pisell2.event.order.items.error.proceed': string;
168
+ 'pisell2.event.order.items.error.return': string;
169
+ 'pisell2.event.order.items.error.back': string;
170
+ 'pisell2.event.order.items.error.continue': string;
171
+ 'pisell2.event.order.items.error.all.tip': string;
172
+ 'pisell2.event.remove.title': string;
173
+ 'pisell2.event.remove.tip': string;
174
+ 'pisell2.event.remove.cancel': string;
175
+ 'pisell2.event.create': string;
176
+ 'pisell2.event.search': string;
177
+ 'pisell2.event.empty.service': string;
178
+ 'pisell2.event.title': (val: number) => string;
179
+ 'pisell2.event.create.form': string;
180
+ 'pisell2.event.empty.event': string;
181
+ 'pisell2.event.error.holder': string;
182
+ 'pisell2.event.price.from': string;
183
+ 'pisell2.event.empty.holder.title': string;
184
+ 'pisell2.event.empty.holder.tip': string;
185
+ 'pisell2.event.empty.holder.continue.tip': string;
186
+ 'pisell2.event.empty.holder.go.back': string;
187
+ 'pisell2.event.empty.holder.continue.anyway': string;
188
+ 'pisell2.event.event.full.title': string;
189
+ 'pisell2.event.event.full.tip': string;
190
+ 'pisell2.event.event.full.ok': string;
191
+ 'pisell2.event.capacity.limit.reached.title': string;
192
+ 'pisell2.event.capacity.limit.reached.tip': string;
193
+ 'pisell2.appointment.booking.empty.service': string;
194
+ 'pisell2.appointment.booking.empty.data': string;
195
+ 'pisell2.appointment.booking.empty.time': string;
196
+ 'pisell2.appointment.service.title': (val: number) => string;
197
+ 'pisell2.appointment.add.guest': string;
198
+ 'pisell2.appointment.edit.service': string;
199
+ 'pisell2.appointment.remove.guest': string;
200
+ 'pisell2.appointment.no.available.service': string;
201
+ 'pisell2.appointment.max.guest': string;
202
+ 'pisell2.appointment.no.available.time': string;
203
+ 'pisell2.appointment.monday': string;
204
+ 'pisell2.appointment.tuesday': string;
205
+ 'pisell2.appointment.wednesday': string;
206
+ 'pisell2.appointment.thursday': string;
207
+ 'pisell2.appointment.friday': string;
208
+ 'pisell2.appointment.saturday': string;
209
+ 'pisell2.appointment.sunday': string;
210
+ 'pisell2.appointment.any.professional': string;
211
+ 'pisell2.appointment.for.maximum.availability': string;
212
+ 'pisell2.appointment.deposit': string;
213
+ 'pisell2.appointment.deposit.agreed': string;
214
+ 'pisell2.appointment.deposit.agree.policy': string;
215
+ 'pisell2.appointment.deposit.and': string;
216
+ 'pisell2.appointment.deposit.amount.tip1': string;
217
+ 'pisell2.appointment.deposit.amount.tip2': string;
218
+ 'pisell2.appointment.deposit.close': string;
219
+ 'pisell2.appointment.tips': string;
220
+ 'pisell2.appointment.tips.content': string;
221
+ 'pisell2.appointment.fill-form': string;
222
+ 'pisell2.appointment.select.holder': (val: string) => string;
223
+ 'pisell2.appointment.select.time': string;
224
+ 'pisell2.appointment.unselect.time': string;
225
+ 'pisell2.appointment.unselect.date': string;
226
+ 'pisell2.appointment.unuse.date': string;
227
+ 'pisell2.appointment.add-guests': string;
228
+ 'pisell2.appointment.policy': string;
229
+ 'pisell2.appointment.policy.confirm': string;
230
+ 'pisell2.appointment.resource.tip': (val: string) => string;
231
+ 'pisell2.text.apply': string;
232
+ 'pisell2.text.goodpass': string;
233
+ 'pisell2.text.goodpass.product-vouchers': string;
234
+ 'pisell2.text.goodpass.view-more': string;
235
+ 'pisell2.text.goodpass.code': string;
236
+ 'pisell2.text.goodpass.enter-code': string;
237
+ 'pisell2.text.goodpass.code-invalid': string;
238
+ 'pisell2.text.goodpass.code-invalid-cart': string;
239
+ 'pisell2.text.goodpass.code-invalid-expired': string;
240
+ 'pisell2.text.goodpass.login': string;
241
+ 'pisell2.text.goodpass.login-tip': string;
242
+ 'pisell2.text.contact-info.title': string;
243
+ };
244
+ 'zh-HK': {
245
+ 'pisell2.event.calendar.limit.unavailable': string;
246
+ 'pisell2.event.calendar.limit.sold.out': string;
247
+ 'pisell2.event.calendar.limit.call.to.book': string;
248
+ 'pisell2.event.calendar.limit.filling.up.fast': string;
249
+ 'pisell2.event.calendar.limit.lots.of.space': string;
250
+ 'pisell2.event.calendar.booking-closed': string;
251
+ 'pisell2.event.calendar.call-to-book': string;
252
+ 'pisell2.event.calendar.email-to-book': string;
253
+ 'pisell2.event.close.title': string;
254
+ 'pisell2.event.close.tip': string;
255
+ 'pisell2.event.close.continue': string;
256
+ 'pisell2.event.close.exit': string;
257
+ 'pisell2.appointment.step': (step: number) => string;
258
+ 'pisell2.event.select.category': (val: string) => string;
259
+ 'pisell2.event.select.event': string;
260
+ 'pisell2.event.select.campus': (val: string) => string;
261
+ 'pisell2.event.cart': string;
262
+ 'pisell2.event.total': string;
263
+ 'pisell2.event.total.gst': (val: string, amount: any) => string;
264
+ 'pisell2.event.continue': string;
265
+ 'pisell2.event.details': string;
266
+ 'pisell2.event.introduction': string;
267
+ 'pisell2.event.schedule': string;
268
+ 'pisell2.event.teacher': string;
269
+ 'pisell2.event.campus': string;
270
+ 'pisell2.event.resource': string;
271
+ 'pisell2.event.booking.options': string;
272
+ 'pisell2.event.add.to.cart': string;
273
+ 'pisell2.event.description': string;
274
+ 'pisell2.event.view.more': string;
275
+ 'pisell2.event.view.less': string;
276
+ 'pisell2.event.holder.modal.title': string;
277
+ 'pisell2.event.confirm': string;
278
+ 'pisell2.event.confirm.information': string;
279
+ 'pisell2.event.confirm.information.tip': string;
280
+ 'pisell2.event.confirm.information.other': string;
281
+ 'pisell2.event.add.others': string;
282
+ 'pisell2.event.checkout': string;
283
+ 'pisell2.event.edit.event': string;
284
+ 'pisell2.event.remove': string;
285
+ 'pisell2.event.option': string;
286
+ 'pisell2.event.order.items.error.title': string;
287
+ 'pisell2.event.order.items.error.tip': (val: number) => string;
288
+ 'pisell2.event.order.items.error.proceed': string;
289
+ 'pisell2.event.order.items.error.return': string;
290
+ 'pisell2.event.order.items.error.back': string;
291
+ 'pisell2.event.order.items.error.continue': string;
292
+ 'pisell2.event.order.items.error.all.tip': string;
293
+ 'pisell2.event.remove.title': string;
294
+ 'pisell2.event.remove.tip': string;
295
+ 'pisell2.event.remove.cancel': string;
296
+ 'pisell2.event.create': string;
297
+ 'pisell2.event.search': string;
298
+ 'pisell2.event.empty.service': string;
299
+ 'pisell2.event.title': (val: number) => string;
300
+ 'pisell2.event.create.form': string;
301
+ 'pisell2.event.empty.event': string;
302
+ 'pisell2.event.error.holder': string;
303
+ 'pisell2.event.price.from': string;
304
+ 'pisell2.event.empty.holder.title': string;
305
+ 'pisell2.event.empty.holder.tip': string;
306
+ 'pisell2.event.empty.holder.continue.tip': string;
307
+ 'pisell2.event.empty.holder.go.back': string;
308
+ 'pisell2.event.empty.holder.continue.anyway': string;
309
+ 'pisell2.event.event.full.title': string;
310
+ 'pisell2.event.event.full.tip': string;
311
+ 'pisell2.event.event.full.ok': string;
312
+ 'pisell2.event.capacity.limit.reached.title': string;
313
+ 'pisell2.event.capacity.limit.reached.tip': string;
314
+ 'pisell2.appointment.booking.empty.service': string;
315
+ 'pisell2.appointment.booking.empty.data': string;
316
+ 'pisell2.appointment.booking.empty.time': string;
317
+ 'pisell2.appointment.service.title': (val: number) => string;
318
+ 'pisell2.appointment.add.guest': string;
319
+ 'pisell2.appointment.edit.service': string;
320
+ 'pisell2.appointment.remove.guest': string;
321
+ 'pisell2.appointment.no.available.service': string;
322
+ 'pisell2.appointment.max.guest': string;
323
+ 'pisell2.appointment.no.available.time': string;
324
+ 'pisell2.appointment.monday': string;
325
+ 'pisell2.appointment.tuesday': string;
326
+ 'pisell2.appointment.wednesday': string;
327
+ 'pisell2.appointment.thursday': string;
328
+ 'pisell2.appointment.friday': string;
329
+ 'pisell2.appointment.saturday': string;
330
+ 'pisell2.appointment.sunday': string;
331
+ 'pisell2.appointment.any.professional': string;
332
+ 'pisell2.appointment.for.maximum.availability': string;
333
+ 'pisell2.appointment.deposit': string;
334
+ 'pisell2.appointment.deposit.agreed': string;
335
+ 'pisell2.appointment.deposit.agree.policy': string;
336
+ 'pisell2.appointment.deposit.and': string;
337
+ 'pisell2.appointment.deposit.amount.tip1': string;
338
+ 'pisell2.appointment.deposit.amount.tip2': string;
339
+ 'pisell2.appointment.deposit.close': string;
340
+ 'pisell2.appointment.tips': string;
341
+ 'pisell2.appointment.tips.content': string;
342
+ 'pisell2.appointment.fill-form': string;
343
+ 'pisell2.appointment.select.holder': (val: string) => string;
344
+ 'pisell2.appointment.select.time': string;
345
+ 'pisell2.appointment.unselect.time': string;
346
+ 'pisell2.appointment.unselect.date': string;
347
+ 'pisell2.appointment.unuse.date': string;
348
+ 'pisell2.appointment.add-guests': string;
349
+ 'pisell2.appointment.policy': string;
350
+ 'pisell2.appointment.policy.confirm': string;
351
+ 'pisell2.appointment.resource.tip': (val: string) => string;
352
+ 'pisell2.text.apply': string;
353
+ 'pisell2.text.goodpass': string;
354
+ 'pisell2.text.goodpass.product-vouchers': string;
355
+ 'pisell2.text.goodpass.view-more': string;
356
+ 'pisell2.text.goodpass.code': string;
357
+ 'pisell2.text.goodpass.enter-code': string;
358
+ 'pisell2.text.goodpass.code-invalid': string;
359
+ 'pisell2.text.goodpass.code-invalid-cart': string;
360
+ 'pisell2.text.goodpass.code-invalid-expired': string;
361
+ 'pisell2.text.goodpass.login': string;
362
+ 'pisell2.text.goodpass.login-tip': string;
363
+ 'pisell2.text.contact-info.title': string;
364
+ };
365
+ };
366
+ export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  export declare const updateServiceDate: (services: any[], date: any, isTime: boolean) => any[];
4
3
  declare const DateCom: () => JSX.Element;
@@ -72,6 +72,7 @@ export declare const formatProducts: (lists: any[], state: any, isRenderGroup?:
72
72
  _id: any;
73
73
  name: any;
74
74
  price: any;
75
+ totalDifference: any;
75
76
  total: number;
76
77
  origin_total: number;
77
78
  num: any;
@@ -530,9 +530,8 @@ var getGeneralParams = (item, state, isParallelResource) => {
530
530
  ...parallelResourceOtherParams
531
531
  };
532
532
  };
533
- var calcAddTimeTotalPrice = (total, addTimeProducts, item) => {
534
- const difference = item ? (0, import_amount.getProductDiscountProductDiscountDifference)(item) : 0;
535
- return (Number(total) || 0) - difference + (0, import_amount.getRelationDetailsTotal)(addTimeProducts || []);
533
+ var calcAddTimeTotalPrice = (total, addTimeProducts) => {
534
+ return (Number(total) || 0) + (0, import_amount.getRelationDetailsTotal)(addTimeProducts || []);
536
535
  };
537
536
  var formatProducts = (lists, state, isRenderGroup = true, isGeneral, isParallelResource) => {
538
537
  if (!(lists == null ? void 0 : lists.length)) return [];
@@ -557,7 +556,8 @@ var formatProducts = (lists, state, isRenderGroup = true, isGeneral, isParallelR
557
556
  _id: item == null ? void 0 : item._id,
558
557
  name: item == null ? void 0 : item.title,
559
558
  price: (_g = item == null ? void 0 : item._extend) == null ? void 0 : _g.price,
560
- total: calcAddTimeTotalPrice((_h = item == null ? void 0 : item._extend) == null ? void 0 : _h.total, (_i = item == null ? void 0 : item._extend) == null ? void 0 : _i.relation_details, item),
559
+ totalDifference: (0, import_amount.getProductDiscountProductDiscountDifference)(item),
560
+ total: calcAddTimeTotalPrice((_h = item == null ? void 0 : item._extend) == null ? void 0 : _h.total, (_i = item == null ? void 0 : item._extend) == null ? void 0 : _i.relation_details),
561
561
  origin_total: calcAddTimeTotalPrice((_j = item == null ? void 0 : item._extend) == null ? void 0 : _j.origin_total, (_k = item == null ? void 0 : item._extend) == null ? void 0 : _k.relation_details),
562
562
  num: item == null ? void 0 : item._extend.quantity,
563
563
  image: item == null ? void 0 : item.cover,
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ActionProps } from '../../const';
3
2
  declare const _default: ({ className, isMobile, onChange }: ActionProps) => JSX.Element;
4
3
  export default _default;