@licklist/design 0.71.6-dev.9 → 0.71.6

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 (261) hide show
  1. package/dist/affiliate/form/AffiliateForm.d.ts.map +1 -1
  2. package/dist/auth/Layout/AuthNavComponent.d.ts.map +1 -1
  3. package/dist/auth/Login/LoginComponent.d.ts.map +1 -1
  4. package/dist/auth/Login/LoginComponent.js +1 -2
  5. package/dist/auth/Login/LoginFormComponent.d.ts.map +1 -1
  6. package/dist/auth/Logout/Logout.js +0 -1
  7. package/dist/auth/Register/RegisterComponent.d.ts.map +1 -1
  8. package/dist/auth/Register/RegisterFormComponent.d.ts.map +1 -1
  9. package/dist/auth/ResetPassword/ResetPasswordFormComponent.d.ts.map +1 -1
  10. package/dist/auth/Router.d.ts.map +1 -1
  11. package/dist/auth/Router.js +0 -2
  12. package/dist/calendar/utils/index.d.ts +1 -1
  13. package/dist/calendar/utils/index.d.ts.map +1 -1
  14. package/dist/events/edit-event-modal/component/SaleDeadline/SaleDeadline.d.ts +1 -7
  15. package/dist/events/edit-event-modal/component/SaleDeadline/SaleDeadline.d.ts.map +1 -1
  16. package/dist/events/edit-event-modal/component/SaleDeadline/SaleDeadline.js +7 -10
  17. package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.js +1 -3
  18. package/dist/events/edit-event-modal/hooks/useValidationOptions.d.ts +1 -0
  19. package/dist/events/edit-event-modal/hooks/useValidationOptions.d.ts.map +1 -1
  20. package/dist/events/edit-event-modal/hooks/useValidationOptions.js +6 -1
  21. package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +1 -1
  22. package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.d.ts.map +1 -1
  23. package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.js +0 -1
  24. package/dist/events/event-card/utils.d.ts.map +1 -1
  25. package/dist/events/event-statistic-modal/EventStatisticModal.d.ts +1 -2
  26. package/dist/events/event-statistic-modal/EventStatisticModal.d.ts.map +1 -1
  27. package/dist/events/event-statistic-modal/EventStatisticModal.js +2 -2
  28. package/dist/events/event-statistic-modal/hooks/useTableData.d.ts +1 -1
  29. package/dist/events/event-statistic-modal/hooks/useTableData.d.ts.map +1 -1
  30. package/dist/events/event-statistic-modal/hooks/useTableData.js +1 -2
  31. package/dist/events/event-statistic-modal/utils/index.d.ts.map +1 -1
  32. package/dist/events/event-statistic-modal/utils/index.js +12 -24
  33. package/dist/events/event-venue-map/EventVenueMap.d.ts.map +1 -1
  34. package/dist/events/event-venue-map/EventVenueMap.js +0 -1
  35. package/dist/events/event-venue-map/hooks/useCanvasSize.d.ts.map +1 -1
  36. package/dist/events/event-venue-map/hooks/useCanvasSize.js +4 -11
  37. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts +1 -1
  38. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts.map +1 -1
  39. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.js +2 -1
  40. package/dist/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.d.ts +2 -1
  41. package/dist/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.d.ts.map +1 -1
  42. package/dist/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.js +2 -2
  43. package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts +2 -1
  44. package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts.map +1 -1
  45. package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.js +2 -1
  46. package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/SummaryTotal.d.ts.map +1 -1
  47. package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/SummaryTotal.js +3 -22
  48. package/dist/iframe/order-process/components/BookingSummary/utils/index.d.ts +1 -4
  49. package/dist/iframe/order-process/components/BookingSummary/utils/index.d.ts.map +1 -1
  50. package/dist/iframe/order-process/components/BookingSummary/utils/index.js +2 -4
  51. package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts.map +1 -1
  52. package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.js +1 -1
  53. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts.map +1 -1
  54. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js +0 -13
  55. package/dist/iframe/page/components/PageBody/constants.d.ts +0 -1
  56. package/dist/iframe/page/components/PageBody/constants.d.ts.map +1 -1
  57. package/dist/iframe/page/components/PageBody/constants.js +1 -2
  58. package/dist/iframe/page/components/PageBody/hooks/useResizePageBody.d.ts.map +1 -1
  59. package/dist/iframe/page/components/PageBody/hooks/useResizePageBody.js +1 -6
  60. package/dist/iframe/payment/order-items-table/utils/paymentSummary.d.ts.map +1 -1
  61. package/dist/iframe/payment/payment-page/PaymentPage.d.ts +1 -1
  62. package/dist/iframe/payment/payment-page/PaymentPage.d.ts.map +1 -1
  63. package/dist/iframe/payment/payment-page/PaymentPage.js +5 -29
  64. package/dist/iframe/payment/payment-status-page/PaymentStatusPage.d.ts.map +1 -1
  65. package/dist/iframe/payment/payment-status-page/PaymentStatusPage.js +5 -15
  66. package/dist/iframe/ryft/RyftPaymentForm.js +0 -1
  67. package/dist/iframe/ryft/utils/ryft-form.d.ts.map +1 -1
  68. package/dist/iframe/ryft/utils/ryft-form.js +5 -4
  69. package/dist/index.js +0 -1
  70. package/dist/layout/DropDown.d.ts +1 -2
  71. package/dist/layout/DropDown.d.ts.map +1 -1
  72. package/dist/notification/email-template/card/EmailTemplateCard.d.ts.map +1 -1
  73. package/dist/notification/email-template/control/EmailTemplateControl.d.ts.map +1 -1
  74. package/dist/notification/email-template/control/EmailTemplateControl.js +0 -3
  75. package/dist/notification/sms-template/card/SmsTemplateCard.d.ts.map +1 -1
  76. package/dist/product-set/card/ProductSetCard.d.ts.map +1 -1
  77. package/dist/product-set/card/ProductSetCard.js +0 -1
  78. package/dist/product-set/control/DateAndRecurrenceInput.d.ts.map +1 -1
  79. package/dist/product-set/control/DateInput.d.ts.map +1 -1
  80. package/dist/product-set/control/ProductSetControl.d.ts +0 -2
  81. package/dist/product-set/control/ProductSetControl.d.ts.map +1 -1
  82. package/dist/product-set/control/ProductSetControl.js +0 -5
  83. package/dist/product-set/form/ProductCategoriesControl.d.ts.map +1 -1
  84. package/dist/product-set/form/ProductCategoriesControl.js +2 -49
  85. package/dist/product-set/form/ProductSetForm.d.ts +2 -6
  86. package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
  87. package/dist/product-set/form/ProductSetForm.js +2 -3
  88. package/dist/product-set/form/ProductZonesControl.d.ts.map +1 -1
  89. package/dist/product-set/form/ProductZonesControl.js +2 -0
  90. package/dist/product-set/form/ProductsControl.js +0 -2
  91. package/dist/product-set/form/SelectCategoryModal.d.ts +0 -12
  92. package/dist/product-set/form/SelectCategoryModal.d.ts.map +1 -1
  93. package/dist/product-set/form/SelectCategoryModal.js +1 -1
  94. package/dist/product-set/form/SubProductsControl.d.ts.map +1 -1
  95. package/dist/product-set/form/SubProductsControl.js +3 -0
  96. package/dist/product-set/form/VenueMapsControl.d.ts +1 -1
  97. package/dist/product-set/form/VenueMapsControl.d.ts.map +1 -1
  98. package/dist/product-set/form/VenueMapsControl.js +3 -0
  99. package/dist/product-set/product/ProductControl.d.ts.map +1 -1
  100. package/dist/product-set/product/booking-management/ProductBookingManagementControl.d.ts.map +1 -1
  101. package/dist/product-set/product/booking-management/ProductBookingManagementControl.js +0 -6
  102. package/dist/product-set/product/deposit/ProductDepositControl.d.ts.map +1 -1
  103. package/dist/product-set/product/deposit/ProductDepositControl.js +0 -3
  104. package/dist/product-set/product/duration/ProductDurationControl.d.ts.map +1 -1
  105. package/dist/product-set/product/duration/ProductDurationControl.js +0 -6
  106. package/dist/product-set/product/price/ProductPriceControl.d.ts.map +1 -1
  107. package/dist/product-set/product/price/ProductPriceControl.js +0 -3
  108. package/dist/product-set/product/quantity/ProductQuantityConstantControl.d.ts.map +1 -1
  109. package/dist/product-set/product/quantity/ProductQuantityConstantControl.js +0 -6
  110. package/dist/product-set/product/quantity/ProductQuantityControl.d.ts.map +1 -1
  111. package/dist/product-set/product/quantity/ProductQuantityControl.js +0 -6
  112. package/dist/product-set/product/quantity/ProductQuantityRechargingControl.d.ts.map +1 -1
  113. package/dist/product-set/product/quantity/ProductQuantityRechargingControl.js +1 -4
  114. package/dist/product-set/product-category/ProductCategoryControl.d.ts +0 -1
  115. package/dist/product-set/product-category/ProductCategoryControl.d.ts.map +1 -1
  116. package/dist/product-set/product-category/ProductCategoryControl.js +1 -19
  117. package/dist/recurrence-input/RecurrenceEndInput.d.ts.map +1 -1
  118. package/dist/recurrence-input/RecurrenceEndInput.js +0 -3
  119. package/dist/recurring-date-picker-input/RecurrenceEndInput.d.ts.map +1 -1
  120. package/dist/report/ReportRunnerModal/ReportRunnerModal.js +0 -1
  121. package/dist/resource/form/components/CapacityControl.d.ts.map +1 -1
  122. package/dist/resource/form/components/CapacityControl.js +0 -3
  123. package/dist/resource/form/components/SortControl.d.ts.map +1 -1
  124. package/dist/resource/form/components/SortControl.js +0 -3
  125. package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
  126. package/dist/sales/booking/results/components/ResultCard.js +2 -0
  127. package/dist/sales/coupon/control/CouponFormControl.d.ts.map +1 -1
  128. package/dist/sales/coupon/control/CouponFormControl.js +0 -21
  129. package/dist/sales/life-time-sales/LifeTimeSalesChart.js +0 -1
  130. package/dist/sales/manual-booking/select-event/SelectEvent.js +0 -1
  131. package/dist/sales/manual-booking/select-menu/SelectMenu.js +0 -1
  132. package/dist/sales/manual-booking/summary/ManualBookingSummary.js +0 -1
  133. package/dist/sales/modals/refund-modal/RefundModal.d.ts.map +1 -1
  134. package/dist/sales/modals/refund-modal/RefundModal.js +0 -1
  135. package/dist/setting/admin/AdminSettingForm.d.ts.map +1 -1
  136. package/dist/setting/admin/PaymentFeeForm.d.ts.map +1 -1
  137. package/dist/setting/admin/PaymentFeeForm.js +1 -16
  138. package/dist/setting/dashboard/DashboardSettingForm.d.ts.map +1 -1
  139. package/dist/setting/dashboard/DashboardSettingForm.js +1 -4
  140. package/dist/setting/dashboard/snippet-templates/card/SnippetTemplateCard.d.ts.map +1 -1
  141. package/dist/snippet/snippet-template/preview/Preview.d.ts.map +1 -1
  142. package/dist/snippet/snippet-template/preview/Preview.js +1 -3
  143. package/dist/sortable-tree/SortableTreeItem.d.ts +1 -2
  144. package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
  145. package/dist/sortable-tree/SortableTreeItem.js +4 -10
  146. package/dist/static/CurrencyNumberInput.d.ts.map +1 -1
  147. package/dist/static/CurrencyNumberInput.js +0 -3
  148. package/dist/static/date-range-input/utils/index.d.ts +1 -1
  149. package/dist/static/date-range-input/utils/index.d.ts.map +1 -1
  150. package/dist/static/form-number-input/FormNumberInput.d.ts.map +1 -1
  151. package/dist/static/form-number-input/FormNumberInput.js +0 -3
  152. package/dist/static/loader/LoaderIndicator.d.ts +3 -2
  153. package/dist/static/loader/LoaderIndicator.d.ts.map +1 -1
  154. package/dist/static/loader/LoaderIndicator.js +2 -4
  155. package/dist/static/loader/index.d.ts +0 -1
  156. package/dist/static/loader/index.d.ts.map +1 -1
  157. package/dist/static/number-input/NumberInput.d.ts.map +1 -1
  158. package/dist/static/number-input/NumberInput.js +0 -3
  159. package/dist/styles/availability-indicator/AvailabilityIndicator.scss +4 -1
  160. package/dist/styles/iframe-events/Calendar.scss +1 -1
  161. package/dist/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
  162. package/dist/styles/product-set/ProductSetForm.scss +0 -22
  163. package/dist/styles/ryft-payment-form/RyftPaymentForm.scss +4 -2
  164. package/dist/styles/sales/BookingResults.scss +1 -1
  165. package/dist/styles/static/Loader.scss +0 -9
  166. package/dist/zone/form/components/GameDurationControl.d.ts.map +1 -1
  167. package/dist/zone/form/components/GameDurationControl.js +0 -3
  168. package/dist/zone/form/components/SortControl.d.ts.map +1 -1
  169. package/dist/zone/form/components/SortControl.js +0 -3
  170. package/package.json +6 -8
  171. package/src/affiliate/form/AffiliateForm.tsx +0 -1
  172. package/src/auth/Layout/AuthNavComponent.tsx +0 -4
  173. package/src/auth/Login/LoginComponent.tsx +1 -3
  174. package/src/auth/Login/LoginFormComponent.tsx +0 -2
  175. package/src/auth/Register/RegisterComponent.tsx +0 -2
  176. package/src/auth/Register/RegisterFormComponent.tsx +0 -4
  177. package/src/auth/ResetPassword/ResetPasswordFormComponent.tsx +0 -4
  178. package/src/auth/Router.tsx +0 -2
  179. package/src/calendar/Calendar.stories.tsx +2 -2
  180. package/src/calendar/utils/index.ts +1 -1
  181. package/src/events/edit-event-modal/component/SaleDeadline/SaleDeadline.tsx +19 -47
  182. package/src/events/edit-event-modal/hooks/useValidationOptions.tsx +5 -0
  183. package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +1 -1
  184. package/src/events/edit-recurrent-event-modal/EditRecurrentEventModal.tsx +1 -6
  185. package/src/events/event-card/utils.ts +9 -10
  186. package/src/events/event-statistic-modal/EventStatisticModal.tsx +1 -3
  187. package/src/events/event-statistic-modal/hooks/useTableData.tsx +1 -2
  188. package/src/events/event-statistic-modal/utils/index.ts +32 -55
  189. package/src/events/event-venue-map/EventVenueMap.tsx +0 -1
  190. package/src/events/event-venue-map/hooks/useCanvasSize.ts +1 -5
  191. package/src/iframe/order-process/components/BookingSummary/BookingSummary.tsx +2 -0
  192. package/src/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.tsx +6 -1
  193. package/src/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.tsx +3 -0
  194. package/src/iframe/order-process/components/BookingSummary/components/SummaryTotal/SummaryTotal.tsx +3 -22
  195. package/src/iframe/order-process/components/BookingSummary/utils/index.ts +2 -10
  196. package/src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx +7 -4
  197. package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +0 -9
  198. package/src/iframe/page/components/PageBody/constants.ts +0 -1
  199. package/src/iframe/page/components/PageBody/hooks/useResizePageBody.ts +2 -10
  200. package/src/iframe/payment/order-items-table/utils/paymentSummary.tsx +0 -1
  201. package/src/iframe/payment/payment-page/PaymentPage.tsx +18 -65
  202. package/src/iframe/payment/payment-status-page/PaymentStatusPage.tsx +6 -27
  203. package/src/iframe/ryft/utils/ryft-form.ts +5 -6
  204. package/src/layout/DropDown.tsx +1 -1
  205. package/src/notification/email-template/card/EmailTemplateCard.tsx +0 -2
  206. package/src/notification/email-template/control/EmailTemplateControl.tsx +0 -1
  207. package/src/notification/sms-template/card/SmsTemplateCard.tsx +0 -2
  208. package/src/product-set/card/ProductSetCard.tsx +1 -7
  209. package/src/product-set/control/DateAndRecurrenceInput.tsx +4 -3
  210. package/src/product-set/control/DateInput.tsx +4 -3
  211. package/src/product-set/control/ProductSetControl.tsx +0 -5
  212. package/src/product-set/form/ProductCategoriesControl.tsx +1 -38
  213. package/src/product-set/form/ProductSetForm.tsx +2 -8
  214. package/src/product-set/form/ProductZonesControl.tsx +4 -1
  215. package/src/product-set/form/SelectCategoryModal.tsx +2 -2
  216. package/src/product-set/form/SubProductsControl.tsx +3 -0
  217. package/src/product-set/form/VenueMapsControl.tsx +4 -1
  218. package/src/product-set/product/ProductControl.tsx +1 -0
  219. package/src/product-set/product/advanced-options/AdvancedOptions.tsx +1 -1
  220. package/src/product-set/product/booking-management/ProductBookingManagementControl.tsx +0 -2
  221. package/src/product-set/product/deposit/ProductDepositControl.tsx +0 -1
  222. package/src/product-set/product/duration/ProductDurationControl.tsx +0 -2
  223. package/src/product-set/product/price/ProductPriceControl.tsx +0 -1
  224. package/src/product-set/product/quantity/ProductQuantityConstantControl.tsx +0 -2
  225. package/src/product-set/product/quantity/ProductQuantityControl.tsx +0 -2
  226. package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +0 -1
  227. package/src/product-set/product-category/ProductCategoryControl.tsx +0 -17
  228. package/src/product-set/product-zone/ProductZoneControl.tsx +1 -1
  229. package/src/recurrence-input/RecurrenceEndInput.tsx +0 -1
  230. package/src/recurring-date-picker-input/RecurrenceEndInput.tsx +0 -1
  231. package/src/resource/form/components/CapacityControl.tsx +0 -1
  232. package/src/resource/form/components/SortControl.tsx +0 -1
  233. package/src/sales/booking/results/components/ResultCard.tsx +2 -0
  234. package/src/sales/coupon/control/CouponFormControl.tsx +0 -7
  235. package/src/sales/modals/refund-modal/RefundModal.tsx +0 -1
  236. package/src/setting/admin/AdminSettingForm.tsx +0 -4
  237. package/src/setting/admin/PaymentFeeForm.tsx +0 -5
  238. package/src/setting/dashboard/DashboardSettingForm.tsx +0 -1
  239. package/src/setting/dashboard/snippet-templates/card/SnippetTemplateCard.tsx +0 -2
  240. package/src/snippet/snippet-template/preview/Preview.tsx +2 -1
  241. package/src/sortable-tree/SortableTreeItem.tsx +0 -6
  242. package/src/static/CurrencyNumberInput.tsx +0 -1
  243. package/src/static/date-range-input/utils/index.ts +1 -1
  244. package/src/static/form-number-input/FormNumberInput.tsx +0 -1
  245. package/src/static/loader/LoaderIndicator.tsx +3 -6
  246. package/src/static/loader/index.ts +0 -1
  247. package/src/static/number-input/NumberInput.tsx +0 -1
  248. package/src/styles/availability-indicator/AvailabilityIndicator.scss +4 -1
  249. package/src/styles/iframe-events/Calendar.scss +1 -1
  250. package/src/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
  251. package/src/styles/product-set/ProductSetForm.scss +0 -22
  252. package/src/styles/ryft-payment-form/RyftPaymentForm.scss +4 -2
  253. package/src/styles/sales/BookingResults.scss +1 -1
  254. package/src/styles/static/Loader.scss +0 -9
  255. package/src/zone/form/components/GameDurationControl.tsx +0 -1
  256. package/src/zone/form/components/SortControl.tsx +0 -1
  257. package/yarn.lock +954 -1193
  258. package/dist/static/loader/FullScreenLoader.d.ts +0 -8
  259. package/dist/static/loader/FullScreenLoader.d.ts.map +0 -1
  260. package/dist/static/loader/FullScreenLoader.js +0 -41
  261. package/src/static/loader/FullScreenLoader.tsx +0 -16
@@ -1,4 +1,4 @@
1
- import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
1
+ import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import { useMemo } from 'react';
3
3
  import { useTranslation } from 'react-i18next';
4
4
  import { cartSumByOrderProducts } from '../../utils/index.js';
@@ -15,14 +15,7 @@ var SummaryTotal = function(param) {
15
15
  }, [
16
16
  formValues
17
17
  ]);
18
- var cartSum = isFreePayment ? 0 : cartSumByOrderProducts({
19
- orderProducts: orderProducts
20
- }) + transactionFee;
21
- var totalSum = isFreePayment ? 0 : cartSumByOrderProducts({
22
- orderProducts: orderProducts,
23
- isTotalSum: true
24
- }) + transactionFee;
25
- var hasRemaingToPay = totalSum > cartSum;
18
+ var cartSum = isFreePayment ? 0 : cartSumByOrderProducts(orderProducts) + transactionFee;
26
19
  if (!orderProducts.length) {
27
20
  return null;
28
21
  }
@@ -30,24 +23,12 @@ var SummaryTotal = function(param) {
30
23
  className: "d-flex flex-column justify-content-between",
31
24
  children: [
32
25
  /*#__PURE__*/ jsx(SummaryTotalBlock, {
33
- label: t(hasRemaingToPay ? 'payNow' : 'total'),
26
+ label: t('total'),
34
27
  amount: cartSum
35
28
  }),
36
29
  !!totalWithDiscount && !isFreePayment && /*#__PURE__*/ jsx(SummaryTotalBlock, {
37
30
  label: t('totalWithDiscount'),
38
31
  amount: totalWithDiscount + transactionFee
39
- }),
40
- hasRemaingToPay && /*#__PURE__*/ jsxs(Fragment, {
41
- children: [
42
- /*#__PURE__*/ jsx(SummaryTotalBlock, {
43
- label: t('remaining'),
44
- amount: totalSum - cartSum
45
- }),
46
- /*#__PURE__*/ jsx(SummaryTotalBlock, {
47
- label: t('total'),
48
- amount: totalSum
49
- })
50
- ]
51
32
  })
52
33
  ]
53
34
  });
@@ -1,8 +1,5 @@
1
1
  import { QuantityCheckProductInfo } from '@licklist/plugins/dist/types/Api/verifyStock';
2
2
  import { OrderItem } from '@licklist/plugins/dist/types/context/Iframe/orderItems';
3
- export declare const cartSumByOrderProducts: ({ orderProducts, isTotalSum, }: {
4
- orderProducts?: OrderItem[];
5
- isTotalSum?: boolean;
6
- }) => number;
3
+ export declare const cartSumByOrderProducts: (orderProducts?: OrderItem[]) => number;
7
4
  export declare const getProductError: (productsWithErrors: QuantityCheckProductInfo[], productId: OrderItem["id"]) => string | undefined;
8
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/order-process/components/BookingSummary/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAA;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,wDAAwD,CAAA;AAElF,eAAO,MAAM,sBAAsB,mCAGhC;IACD,aAAa,CAAC,EAAE,SAAS,EAAE,CAAA;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,WAWA,CAAA;AAED,eAAO,MAAM,eAAe,uBACN,wBAAwB,EAAE,aACnC,SAAS,CAAC,IAAI,CAAC,KACzB,MAAM,GAAG,SAGA,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/order-process/components/BookingSummary/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAA;AACvF,OAAO,EAAE,SAAS,EAAE,MAAM,wDAAwD,CAAA;AAElF,eAAO,MAAM,sBAAsB,mBAAoB,SAAS,EAAE,WASjE,CAAA;AAED,eAAO,MAAM,eAAe,uBACN,wBAAwB,EAAE,aACnC,SAAS,CAAC,IAAI,CAAC,KACzB,MAAM,GAAG,SAGA,CAAA"}
@@ -1,12 +1,10 @@
1
- var cartSumByOrderProducts = function(param) {
2
- var orderProducts = param.orderProducts, isTotalSum = param.isTotalSum;
1
+ var cartSumByOrderProducts = function(orderProducts) {
3
2
  if (!orderProducts || !orderProducts.length) {
4
3
  return 0;
5
4
  }
6
5
  return orderProducts.reduce(function(prevSumValue, product) {
7
6
  if (!product) return 0;
8
- var _product_deposit;
9
- var price = isTotalSum ? product === null || product === void 0 ? void 0 : product.price : (_product_deposit = product === null || product === void 0 ? void 0 : product.deposit) !== null && _product_deposit !== void 0 ? _product_deposit : product === null || product === void 0 ? void 0 : product.price;
7
+ var price = (product === null || product === void 0 ? void 0 : product.hasDeposit) ? product === null || product === void 0 ? void 0 : product.deposit : product === null || product === void 0 ? void 0 : product.price;
10
8
  return prevSumValue + price * product.quantity;
11
9
  }, 0);
12
10
  };
@@ -1 +1 @@
1
- {"version":3,"file":"CategoryProduct.d.ts","sourceRoot":"","sources":["../../../../../src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAA;AACvF,OAAO,EACL,OAAO,EACP,eAAe,EAChB,MAAM,qDAAqD,CAAA;AAI5D,UAAU,oBAAoB;IAC5B,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,EAAE,eAAe,CAAA;IACzB,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,kBAAkB,CAAC,EAAE,wBAAwB,EAAE,CAAA;IAC/C,eAAe,CAAC,EAAE,wBAAwB,EAAE,CAAA;CAC7C;AAED,eAAO,MAAM,eAAe,sFAMzB,oBAAoB,4CA0KtB,CAAA"}
1
+ {"version":3,"file":"CategoryProduct.d.ts","sourceRoot":"","sources":["../../../../../src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAA;AACvF,OAAO,EACL,OAAO,EACP,eAAe,EAChB,MAAM,qDAAqD,CAAA;AAI5D,UAAU,oBAAoB;IAC5B,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,EAAE,eAAe,CAAA;IACzB,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,kBAAkB,CAAC,EAAE,wBAAwB,EAAE,CAAA;IAC/C,eAAe,CAAC,EAAE,wBAAwB,EAAE,CAAA;CAC7C;AAED,eAAO,MAAM,eAAe,sFAMzB,oBAAoB,4CA6KtB,CAAA"}
@@ -163,7 +163,7 @@ var CategoryProduct = function(param) {
163
163
  children: [
164
164
  /*#__PURE__*/ jsx("span", {
165
165
  className: "product-price",
166
- children: formatNumber(product.price, {
166
+ children: formatNumber(category.allowDeposits ? product === null || product === void 0 ? void 0 : product.deposit : product.price, {
167
167
  style: 'currency',
168
168
  currency: Config.Currency.GBP
169
169
  })
@@ -1 +1 @@
1
- {"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx"],"names":[],"mappings":"AAIA,UAAU,gBAAgB;IACxB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,eAAO,MAAM,WAAW,+GAyGvB,CAAA"}
1
+ {"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx"],"names":[],"mappings":"AAIA,UAAU,gBAAgB;IACxB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,eAAO,MAAM,WAAW,+GAgGvB,CAAA"}
@@ -54,9 +54,6 @@ var NumberInput = /*#__PURE__*/ forwardRef(function(param, ref) {
54
54
  onChange: function(e) {
55
55
  return handleChangeValue(Number(e.target.value));
56
56
  },
57
- onWheel: function(event) {
58
- return event.currentTarget.blur();
59
- },
60
57
  value: value,
61
58
  min: 0,
62
59
  max: max,
@@ -69,16 +66,6 @@ var NumberInput = /*#__PURE__*/ forwardRef(function(param, ref) {
69
66
  /*#__PURE__*/ jsx("button", {
70
67
  type: "button",
71
68
  onClick: handleArrowUpClick,
72
- onWheel: function(event) {
73
- return event.currentTarget.blur();
74
- },
75
- onFocus: function(event) {
76
- return event.target.addEventListener('wheel', function(event) {
77
- return event.preventDefault();
78
- }, {
79
- passive: false
80
- });
81
- },
82
69
  className: "payment-number-input__btn-up ".concat(plusButtonGreyedOut && 'disabled-number-input-button'),
83
70
  disabled: disabled,
84
71
  children: "+"
@@ -1,5 +1,4 @@
1
1
  export declare const TAB_WIDTH = 768;
2
- export declare const MOBILE_WIDTH = 480;
3
2
  export declare const RIGHT_BLOCK_RESIZED_EVENT = "RIGHT_BLOCK_RESIZED_EVENT";
4
3
  export declare const STANDARD_BODY_PADDING: number;
5
4
  export declare const STANDARD_HEADER_FOOTER_SIZE = 96;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/iframe/page/components/PageBody/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,MAAM,CAAA;AAC5B,eAAO,MAAM,YAAY,MAAM,CAAA;AAC/B,eAAO,MAAM,yBAAyB,8BAA8B,CAAA;AAEpE,eAAO,MAAM,qBAAqB,QAAU,CAAA;AAE5C,eAAO,MAAM,2BAA2B,KAAK,CAAA;AAG7C,eAAO,MAAM,0BAA0B,MAAM,CAAA;AAI7C,eAAO,MAAM,0CAA0C,KAAK,CAAA;AAE5D,eAAO,MAAM,kBAAkB,+BAA+B,CAAA;AAC9D,eAAO,MAAM,oBAAoB,yBAAyB,CAAA;AAC1D,eAAO,MAAM,oBAAoB,iCAAiC,CAAA;AAClE,eAAO,MAAM,qBAAqB,0BAA0B,CAAA;AAE5D,eAAO,MAAM,mBAAmB,qBAAqB,CAAA;AACrD,eAAO,MAAM,4BAA4B,oCAAoC,CAAA;AAC7E,eAAO,MAAM,0BAA0B,kCAAkC,CAAA;AACzE,eAAO,MAAM,uBAAuB,IAAI,CAAA;AACxC,eAAO,MAAM,eAAe,KAAK,CAAA;AAEjC,eAAO,MAAM,4BAA4B,8BAA8B,CAAA;AACvE,eAAO,MAAM,4BAA4B,4BAA4B,CAAA;AACrE,eAAO,MAAM,qBAAqB,0BAA0B,CAAA;AAE5D,eAAO,MAAM,gCAAgC,MAAM,CAAA"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../src/iframe/page/components/PageBody/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,MAAM,CAAA;AAC5B,eAAO,MAAM,yBAAyB,8BAA8B,CAAA;AAEpE,eAAO,MAAM,qBAAqB,QAAU,CAAA;AAE5C,eAAO,MAAM,2BAA2B,KAAK,CAAA;AAG7C,eAAO,MAAM,0BAA0B,MAAM,CAAA;AAI7C,eAAO,MAAM,0CAA0C,KAAK,CAAA;AAE5D,eAAO,MAAM,kBAAkB,+BAA+B,CAAA;AAC9D,eAAO,MAAM,oBAAoB,yBAAyB,CAAA;AAC1D,eAAO,MAAM,oBAAoB,iCAAiC,CAAA;AAClE,eAAO,MAAM,qBAAqB,0BAA0B,CAAA;AAE5D,eAAO,MAAM,mBAAmB,qBAAqB,CAAA;AACrD,eAAO,MAAM,4BAA4B,oCAAoC,CAAA;AAC7E,eAAO,MAAM,0BAA0B,kCAAkC,CAAA;AACzE,eAAO,MAAM,uBAAuB,IAAI,CAAA;AACxC,eAAO,MAAM,eAAe,KAAK,CAAA;AAEjC,eAAO,MAAM,4BAA4B,8BAA8B,CAAA;AACvE,eAAO,MAAM,4BAA4B,4BAA4B,CAAA;AACrE,eAAO,MAAM,qBAAqB,0BAA0B,CAAA;AAE5D,eAAO,MAAM,gCAAgC,MAAM,CAAA"}
@@ -1,5 +1,4 @@
1
1
  var TAB_WIDTH = 768;
2
- var MOBILE_WIDTH = 480;
3
2
  var RIGHT_BLOCK_RESIZED_EVENT = 'RIGHT_BLOCK_RESIZED_EVENT';
4
3
  // The sum of paddings in PageBody + header for first block
5
4
  var STANDARD_BODY_PADDING = 48 + 49;
@@ -21,4 +20,4 @@ var PAGE_CALENDAR_SELECT_WRAPPER = 'calendar-select-wrapper';
21
20
  var PAGE_BODY_WITH_SCROLL = 'page-body-with-scroll';
22
21
  var PAGE_LEFT_BLOCK_MAP_DEFAULT_SIZE = 300;
23
22
 
24
- export { COLLAPSE_MARGIN, DEFAULT_RIGHT_BLOCK_HEIGHT, MOBILE_WIDTH, PAGE_BODY_WITH_SCROLL, PAGE_CALENDAR_SELECT_WRAPPER, PAGE_LEFT_BLOCK_CONTAINER_ID, PAGE_LEFT_BLOCK_MAP_DEFAULT_SIZE, PAGE_RIGHT_BLOCK_BOTTOM_ID, PAGE_RIGHT_BLOCK_CHILDREN_ID, PAGE_RIGHT_BLOCK_ID, RIGHT_BLOCK_COLLAPSE, RIGHT_BLOCK_COLLAPSED, RIGHT_BLOCK_EXPAND, RIGHT_BLOCK_EXPANDED, RIGHT_BLOCK_RESIZED_EVENT, SEPARATOR_DEFAULT_WIDTH, STANDARD_BODY_PADDING, STANDARD_HEADER_FOOTER_SIZE, TAB_WIDTH };
23
+ export { COLLAPSE_MARGIN, DEFAULT_RIGHT_BLOCK_HEIGHT, PAGE_BODY_WITH_SCROLL, PAGE_CALENDAR_SELECT_WRAPPER, PAGE_LEFT_BLOCK_CONTAINER_ID, PAGE_LEFT_BLOCK_MAP_DEFAULT_SIZE, PAGE_RIGHT_BLOCK_BOTTOM_ID, PAGE_RIGHT_BLOCK_CHILDREN_ID, PAGE_RIGHT_BLOCK_ID, RIGHT_BLOCK_COLLAPSE, RIGHT_BLOCK_COLLAPSED, RIGHT_BLOCK_EXPAND, RIGHT_BLOCK_EXPANDED, RIGHT_BLOCK_RESIZED_EVENT, SEPARATOR_DEFAULT_WIDTH, STANDARD_BODY_PADDING, STANDARD_HEADER_FOOTER_SIZE, TAB_WIDTH };
@@ -1 +1 @@
1
- {"version":3,"file":"useResizePageBody.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/page/components/PageBody/hooks/useResizePageBody.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;eAMnB,MAAM;gBACL,MAAM;;CAkPjB,CAAA"}
1
+ {"version":3,"file":"useResizePageBody.d.ts","sourceRoot":"","sources":["../../../../../../src/iframe/page/components/PageBody/hooks/useResizePageBody.ts"],"names":[],"mappings":"AAsBA,eAAO,MAAM,iBAAiB;;;;;;;;;;;;eAMnB,MAAM;gBACL,MAAM;;CA2OjB,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { useState, useRef, useMemo, useEffect } from 'react';
2
2
  import { useWindowDimensions } from '@licklist/plugins/dist/hooks/Media/useWindowDimensions';
3
- import { DEFAULT_RIGHT_BLOCK_HEIGHT, PAGE_LEFT_BLOCK_MAP_DEFAULT_SIZE, TAB_WIDTH, PAGE_CALENDAR_SELECT_WRAPPER, PAGE_BODY_WITH_SCROLL, MOBILE_WIDTH, STANDARD_BODY_PADDING, STANDARD_HEADER_FOOTER_SIZE, PAGE_LEFT_BLOCK_CONTAINER_ID, PAGE_RIGHT_BLOCK_BOTTOM_ID, SEPARATOR_DEFAULT_WIDTH, COLLAPSE_MARGIN, RIGHT_BLOCK_RESIZED_EVENT, RIGHT_BLOCK_EXPAND, RIGHT_BLOCK_EXPANDED, RIGHT_BLOCK_COLLAPSE, RIGHT_BLOCK_COLLAPSED } from '../constants.js';
3
+ import { DEFAULT_RIGHT_BLOCK_HEIGHT, PAGE_LEFT_BLOCK_MAP_DEFAULT_SIZE, TAB_WIDTH, PAGE_CALENDAR_SELECT_WRAPPER, PAGE_BODY_WITH_SCROLL, STANDARD_BODY_PADDING, STANDARD_HEADER_FOOTER_SIZE, PAGE_LEFT_BLOCK_CONTAINER_ID, PAGE_RIGHT_BLOCK_BOTTOM_ID, SEPARATOR_DEFAULT_WIDTH, COLLAPSE_MARGIN, RIGHT_BLOCK_RESIZED_EVENT, RIGHT_BLOCK_EXPAND, RIGHT_BLOCK_EXPANDED, RIGHT_BLOCK_COLLAPSE, RIGHT_BLOCK_COLLAPSED } from '../constants.js';
4
4
 
5
5
  function _array_like_to_array(arr, len) {
6
6
  if (len == null || len > arr.length) len = arr.length;
@@ -73,11 +73,6 @@ var useResizePageBody = function() {
73
73
  behavior: 'smooth'
74
74
  });
75
75
  }
76
- if (width <= MOBILE_WIDTH && Boolean(CALENDAR_WRAPPER_HEIGHT)) {
77
- return {
78
- maxHeight: height - STANDARD_BODY_PADDING - rightBlockHeight - CALENDAR_WRAPPER_HEIGHT
79
- };
80
- }
81
76
  return {
82
77
  maxHeight: height - STANDARD_BODY_PADDING - rightBlockHeight - STANDARD_HEADER_FOOTER_SIZE - CALENDAR_WRAPPER_HEIGHT
83
78
  };
@@ -1 +1 @@
1
- {"version":3,"file":"paymentSummary.d.ts","sourceRoot":"","sources":["../../../../../src/iframe/payment/order-items-table/utils/paymentSummary.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,oBAAoB,EAEpB,WAAW,EAEZ,MAAM,UAAU,CAAA;AA4FjB,eAAO,MAAM,oBAAoB,oEAK9B,oBAAoB,KAAG,WAAW,EAUpC,CAAA"}
1
+ {"version":3,"file":"paymentSummary.d.ts","sourceRoot":"","sources":["../../../../../src/iframe/payment/order-items-table/utils/paymentSummary.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,oBAAoB,EAEpB,WAAW,EAEZ,MAAM,UAAU,CAAA;AA2FjB,eAAO,MAAM,oBAAoB,oEAK9B,oBAAoB,KAAG,WAAW,EAUpC,CAAA"}
@@ -10,7 +10,7 @@ interface PaymentProps extends RyftPaymentFormProps {
10
10
  onFailIframePayment?: () => void;
11
11
  data?: PaymentLinkResponse | null;
12
12
  isLoading: boolean;
13
- bookingSummaryProps: BookingSummaryProps;
13
+ bookingSummaryProps: Omit<BookingSummaryProps, 'totallWithDiscount'>;
14
14
  paymentMetadata?: PaymentMetadata;
15
15
  }
16
16
  export declare const PaymentPage: ({ onCloseIframePayment, onFailIframePayment, data, isLoading, bookingSummaryProps, paymentMetadata, ...ryftPaymentFormProps }: PaymentProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentPage.d.ts","sourceRoot":"","sources":["../../../../src/iframe/payment/payment-page/PaymentPage.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gDAAgD,CAAA;AACpF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0DAA0D,CAAA;AAI9F,OAAO,EAEL,oBAAoB,EACrB,MAAM,4BAA4B,CAAA;AAOnC,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;CACb;AAED,UAAU,YAAa,SAAQ,oBAAoB;IACjD,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAA;IACjC,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAA;IAChC,IAAI,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAA;IACjC,SAAS,EAAE,OAAO,CAAA;IAClB,mBAAmB,EAAE,mBAAmB,CAAA;IACxC,eAAe,CAAC,EAAE,eAAe,CAAA;CAClC;AAED,eAAO,MAAM,WAAW,kIAQrB,YAAY,4CAiNd,CAAA"}
1
+ {"version":3,"file":"PaymentPage.d.ts","sourceRoot":"","sources":["../../../../src/iframe/payment/payment-page/PaymentPage.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,gDAAgD,CAAA;AACpF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0DAA0D,CAAA;AAI9F,OAAO,EAEL,oBAAoB,EACrB,MAAM,4BAA4B,CAAA;AAOnC,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;CACb;AAED,UAAU,YAAa,SAAQ,oBAAoB;IACjD,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAA;IACjC,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAA;IAChC,IAAI,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAA;IACjC,SAAS,EAAE,OAAO,CAAA;IAClB,mBAAmB,EAAE,IAAI,CAAC,mBAAmB,EAAE,oBAAoB,CAAC,CAAA;IACpE,eAAe,CAAC,EAAE,eAAe,CAAA;CAClC;AAED,eAAO,MAAM,WAAW,kIAQrB,YAAY,4CAkKd,CAAA"}
@@ -174,21 +174,12 @@ var PaymentPage = function(_param) {
174
174
  })
175
175
  });
176
176
  }
177
- var orderCartAmountByFormValues = cartSumByOrderProducts({
178
- orderProducts: (bookingSummaryProps === null || bookingSummaryProps === void 0 ? void 0 : bookingSummaryProps.formValues) && Object.values(bookingSummaryProps === null || bookingSummaryProps === void 0 ? void 0 : bookingSummaryProps.formValues)
179
- });
180
- var orderTotalAmountByFormValues = cartSumByOrderProducts({
181
- orderProducts: (bookingSummaryProps === null || bookingSummaryProps === void 0 ? void 0 : bookingSummaryProps.formValues) && Object.values(bookingSummaryProps === null || bookingSummaryProps === void 0 ? void 0 : bookingSummaryProps.formValues),
182
- isTotalSum: true
183
- });
184
- var hasRemaingToPay = orderTotalAmountByFormValues > orderCartAmountByFormValues;
177
+ var orderTotalAmountByFormValues = cartSumByOrderProducts((bookingSummaryProps === null || bookingSummaryProps === void 0 ? void 0 : bookingSummaryProps.formValues) && Object.values(bookingSummaryProps === null || bookingSummaryProps === void 0 ? void 0 : bookingSummaryProps.formValues));
185
178
  // User can fill promo code only in iframe application.
186
179
  // It isn't possible via payment link. This check will
187
180
  // be applied when there is no metadata and in case when
188
181
  // orderValues sum is greater than amount in order.
189
- var isCalculatedAmountGreaterThanOrderAmount = !hasRemaingToPay && orderCartAmountByFormValues > (data === null || data === void 0 ? void 0 : data.amount);
190
- var isPaymentLinkWithRemainingToPay = (data === null || data === void 0 ? void 0 : data.remaining_to_pay) && !!Number(data === null || data === void 0 ? void 0 : data.remaining_to_pay);
191
- var totalPaidWithRemainingToPay = (data === null || data === void 0 ? void 0 : data.amount_to_pay) && !!Number(data === null || data === void 0 ? void 0 : data.amount_to_pay);
182
+ var isCalculatedAmountGreaterThanOrderAmount = orderTotalAmountByFormValues > (data === null || data === void 0 ? void 0 : data.amount);
192
183
  return /*#__PURE__*/ jsx(Page, {
193
184
  className: "payment_link",
194
185
  children: /*#__PURE__*/ jsx(PageBody, {
@@ -228,25 +219,10 @@ var PaymentPage = function(_param) {
228
219
  }) : /*#__PURE__*/ jsxs(Fragment, {
229
220
  children: [
230
221
  isCalculatedAmountGreaterThanOrderAmount && /*#__PURE__*/ jsx(SummaryTotalBlock, {
231
- label: t(hasRemaingToPay ? 'payNow' : 'total'),
232
- amount: orderCartAmountByFormValues + ((bookingSummaryProps === null || bookingSummaryProps === void 0 ? void 0 : bookingSummaryProps.transactionFee) || 0)
233
- }),
234
- hasRemaingToPay && /*#__PURE__*/ jsx(SummaryTotalBlock, {
235
- label: t('remaining'),
236
- amount: orderTotalAmountByFormValues - orderCartAmountByFormValues
237
- }),
238
- isPaymentLinkWithRemainingToPay && /*#__PURE__*/ jsx(SummaryTotalBlock, {
239
- label: t('remaningToPay'),
240
- amount: Number(data === null || data === void 0 ? void 0 : data.remaining_to_pay)
241
- }),
242
- totalPaidWithRemainingToPay && /*#__PURE__*/ jsx(SummaryTotalBlock, {
243
- label: t('totalAmount'),
244
- amount: Number(data === null || data === void 0 ? void 0 : data.amount_to_pay)
222
+ label: t('total'),
223
+ amount: orderTotalAmountByFormValues + ((bookingSummaryProps === null || bookingSummaryProps === void 0 ? void 0 : bookingSummaryProps.transactionFee) || 0)
245
224
  }),
246
- isPaymentLinkWithRemainingToPay && totalPaidWithRemainingToPay ? /*#__PURE__*/ jsx(SummaryTotalBlock, {
247
- label: t('payNow'),
248
- amount: data === null || data === void 0 ? void 0 : data.amount
249
- }) : /*#__PURE__*/ jsx(SummaryTotalBlock, {
225
+ /*#__PURE__*/ jsx(SummaryTotalBlock, {
250
226
  label: t(isCalculatedAmountGreaterThanOrderAmount ? 'totalWithDiscount' : 'total'),
251
227
  amount: (data === null || data === void 0 ? void 0 : data.amount) + ((bookingSummaryProps === null || bookingSummaryProps === void 0 ? void 0 : bookingSummaryProps.transactionFee) || 0)
252
228
  })
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentStatusPage.d.ts","sourceRoot":"","sources":["../../../../src/iframe/payment/payment-status-page/PaymentStatusPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAQjC,OAAO,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAA;AACzF,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAG7D,eAAO,MAAM,mBAAmB,WAAW,CAAA;AAC3C,eAAO,MAAM,oBAAoB,YAAY,CAAA;AAC7C,eAAO,MAAM,oBAAoB,YAAY,CAAA;AAE7C,MAAM,MAAM,WAAW,GACnB,OAAO,oBAAoB,GAC3B,OAAO,mBAAmB,GAC1B,OAAO,oBAAoB,CAAA;AAE/B,UAAU,2BAA2B;IACnC,aAAa,EAAE,MAAM,IAAI,CAAA;IACzB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAA;IACvB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,MAAM,EAAE,WAAW,CAAA;IACnB,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,mBAAmB,CAAC,EAAE,mBAAmB,CAAA;IACzC,kBAAkB,CAAC,EAAE,SAAS,CAAA;IAC9B,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,eAAe,CAAC,EAAE,eAAe,CAAA;CAClC;AASD,eAAO,MAAM,iBAAiB,iLAa3B,2BAA2B,4CAiI7B,CAAA"}
1
+ {"version":3,"file":"PaymentStatusPage.d.ts","sourceRoot":"","sources":["../../../../src/iframe/payment/payment-status-page/PaymentStatusPage.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAQjC,OAAO,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAA;AACzF,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAG7D,eAAO,MAAM,mBAAmB,WAAW,CAAA;AAC3C,eAAO,MAAM,oBAAoB,YAAY,CAAA;AAC7C,eAAO,MAAM,oBAAoB,YAAY,CAAA;AAE7C,MAAM,MAAM,WAAW,GACnB,OAAO,oBAAoB,GAC3B,OAAO,mBAAmB,GAC1B,OAAO,oBAAoB,CAAA;AAE/B,UAAU,2BAA2B;IACnC,aAAa,EAAE,MAAM,IAAI,CAAA;IACzB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAA;IACvB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,MAAM,EAAE,WAAW,CAAA;IACnB,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,mBAAmB,CAAC,EAAE,mBAAmB,CAAA;IACzC,kBAAkB,CAAC,EAAE,SAAS,CAAA;IAC9B,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,eAAe,CAAC,EAAE,eAAe,CAAA;CAClC;AASD,eAAO,MAAM,iBAAiB,iLAa3B,2BAA2B,4CA4G7B,CAAA"}
@@ -65,21 +65,15 @@ var PaymentStatusPage = function(param) {
65
65
  if (isLoading) return /*#__PURE__*/ jsx(LoaderIndicator, {
66
66
  isLoaded: false
67
67
  });
68
- var orderCartAmountByFormValues = cartSumByOrderProducts({
69
- orderProducts: (bookingSummaryProps === null || bookingSummaryProps === void 0 ? void 0 : bookingSummaryProps.formValues) && Object.values(bookingSummaryProps === null || bookingSummaryProps === void 0 ? void 0 : bookingSummaryProps.formValues)
70
- });
71
- var orderTotalAmountByFormValues = cartSumByOrderProducts({
72
- orderProducts: (bookingSummaryProps === null || bookingSummaryProps === void 0 ? void 0 : bookingSummaryProps.formValues) && Object.values(bookingSummaryProps === null || bookingSummaryProps === void 0 ? void 0 : bookingSummaryProps.formValues),
73
- isTotalSum: true
74
- });
75
- var hasRemaingToPay = orderTotalAmountByFormValues > orderCartAmountByFormValues;
68
+ var _bookingSummaryProps_formValues;
69
+ var orderTotalAmounByFormValues = cartSumByOrderProducts(Object.values((_bookingSummaryProps_formValues = bookingSummaryProps === null || bookingSummaryProps === void 0 ? void 0 : bookingSummaryProps.formValues) !== null && _bookingSummaryProps_formValues !== void 0 ? _bookingSummaryProps_formValues : {}));
76
70
  // User can fill promocode only in iframe appcliation.
77
71
  // It didn't possible via payment link. This check will
78
72
  // be applied when there are no metadata and in case when
79
73
  // orderValues sum is greater than amount in order.
80
74
  // For payment status page booking summary props can be empty
81
75
  // so we should also check for them
82
- var isCalculatedAmountGreaterThanOrderAmount = !hasRemaingToPay && bookingSummaryProps && orderCartAmountByFormValues > totalAmount;
76
+ var isCalculatedAmountGreaterThanOrderAmount = bookingSummaryProps && orderTotalAmounByFormValues > totalAmount;
83
77
  return /*#__PURE__*/ jsx(Page, {
84
78
  className: "payment-status-page",
85
79
  isAppUsingInIframe: isAppUsingInIframe,
@@ -127,16 +121,12 @@ var PaymentStatusPage = function(param) {
127
121
  }) : /*#__PURE__*/ jsxs(Fragment, {
128
122
  children: [
129
123
  isCalculatedAmountGreaterThanOrderAmount && /*#__PURE__*/ jsx(SummaryTotalBlock, {
130
- label: t(hasRemaingToPay ? 'payNow' : 'total'),
131
- amount: orderCartAmountByFormValues + ((bookingSummaryProps === null || bookingSummaryProps === void 0 ? void 0 : bookingSummaryProps.transactionFee) || 0)
124
+ label: t('total'),
125
+ amount: orderTotalAmounByFormValues + ((bookingSummaryProps === null || bookingSummaryProps === void 0 ? void 0 : bookingSummaryProps.transactionFee) || 0)
132
126
  }),
133
127
  /*#__PURE__*/ jsx(SummaryTotalBlock, {
134
128
  label: t(isCalculatedAmountGreaterThanOrderAmount ? 'totalWithDiscount' : 'total'),
135
129
  amount: totalAmount + ((bookingSummaryProps === null || bookingSummaryProps === void 0 ? void 0 : bookingSummaryProps.transactionFee) || 0)
136
- }),
137
- hasRemaingToPay && /*#__PURE__*/ jsx(SummaryTotalBlock, {
138
- label: t('remaining'),
139
- amount: orderTotalAmountByFormValues - orderCartAmountByFormValues
140
130
  })
141
131
  ]
142
132
  })
@@ -13,7 +13,6 @@ import { ButtonLoader } from '../../static/loader/ButtonLoader.js';
13
13
  import 'react-loader';
14
14
  import { BlockLoader } from '../../static/loader/BlockLoader.js';
15
15
  import '@licklist/plugins/dist/hooks/Media/useWindowDimensions';
16
- import 'clsx';
17
16
 
18
17
  function _array_like_to_array(arr, len) {
19
18
  if (len == null || len > arr.length) len = arr.length;
@@ -1 +1 @@
1
- {"version":3,"file":"ryft-form.d.ts","sourceRoot":"","sources":["../../../../src/iframe/ryft/utils/ryft-form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AACzC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAA;AAEzD,UAAU,0BACR,SAAQ,IAAI,CACV,oBAAoB,EACpB,uBAAuB,GAAG,oBAAoB,CAC/C;IACD,CAAC,EAAE,SAAS,CAAC,MAAM,EAAE,CAAC,CAAA;IACtB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,+BAA+B,CAAC,EAAE,OAAO,CAAA;CAC1C;AAED,eAAO,MAAM,0BAA0B,wGAMpC,0BAA0B,SA8E5B,CAAA"}
1
+ {"version":3,"file":"ryft-form.d.ts","sourceRoot":"","sources":["../../../../src/iframe/ryft/utils/ryft-form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AACzC,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAA;AAEzD,UAAU,0BACR,SAAQ,IAAI,CACV,oBAAoB,EACpB,uBAAuB,GAAG,oBAAoB,CAC/C;IACD,CAAC,EAAE,SAAS,CAAC,MAAM,EAAE,CAAC,CAAA;IACtB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,+BAA+B,CAAC,EAAE,OAAO,CAAA;CAC1C;AAED,eAAO,MAAM,0BAA0B,wGAMpC,0BAA0B,SA6E5B,CAAA"}
@@ -39,17 +39,17 @@ var injectComponentsInRyftForm = function(param) {
39
39
  divider.id = 'mobile-pay-divider';
40
40
  container.id = 'mobile-pay-divider-container';
41
41
  container.append(dividerText, divider);
42
- var payIframe = document.getElementById('ryft-pay-iframe');
42
+ var payIframe = document.getElementById("ryft-pay-iframe");
43
43
  if (payIframe) {
44
44
  var formBox = document.getElementById('form-disable-box');
45
45
  if (formBox) {
46
- formBox.style.display = isDisableButton ? 'block' : 'none';
46
+ formBox.style.display = isDisableButton ? "block" : "none";
47
47
  }
48
48
  var googleButton = document.getElementById('gpay-button-online-api-id');
49
- var appleButton = document.getElementById('ryft-pay-apple-pay-button');
49
+ var appleButton = document.getElementById("ryft-pay-apple-pay-button");
50
50
  if (googleButton) {
51
51
  googleButton.disabled = isDisableButton;
52
- googleButton.style.opacity = !isDisableButton ? '1' : '0.6';
52
+ googleButton.style.opacity = isDisableButton ? '1' : '0.6';
53
53
  }
54
54
  if (appleButton) {
55
55
  appleButton.disabled = isDisableButton;
@@ -60,6 +60,7 @@ var injectComponentsInRyftForm = function(param) {
60
60
  var applePayButton = document.createElement('button');
61
61
  applePayButton.id = 'apple-pay';
62
62
  applePayButton.type = 'button';
63
+ applePayButton.style.opacity = !isDisableButton ? '1' : '0.6';
63
64
  applePayButton.className = 'bg-dark btn btn-primary apple-pay-button';
64
65
  applePayButton.textContent = t('Events:payWithApple');
65
66
  applePayButton.onclick = onApplePayButtonClick;
package/dist/index.js CHANGED
@@ -223,7 +223,6 @@ export { BlockLoader } from './static/loader/BlockLoader.js';
223
223
  export { ButtonLoader } from './static/loader/ButtonLoader.js';
224
224
  export { SnippetLoader } from './static/loader/SnippetLoader.js';
225
225
  export { PaymentLoader } from './static/loader/PaymentLoader.js';
226
- export { FullScreenLoader } from './static/loader/FullScreenLoader.js';
227
226
  export { NumberInput } from './static/number-input/NumberInput.js';
228
227
  export { BooleanSwitch } from './static/switch/BooleanSwitch.js';
229
228
  export { Switch } from './static/switch/Switch.js';
@@ -1,10 +1,9 @@
1
- import React from 'react';
2
1
  interface Props {
3
2
  children?: React.ReactNode | React.ReactNode[];
4
3
  style?: any;
5
4
  className?: any;
6
5
  'aria-laballedby'?: any;
7
6
  }
8
- declare const DropDown: React.ForwardRefExoticComponent<Props & React.RefAttributes<unknown>>;
7
+ declare const DropDown: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<unknown>>;
9
8
  export default DropDown;
10
9
  //# sourceMappingURL=DropDown.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DropDown.d.ts","sourceRoot":"","sources":["../../src/layout/DropDown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAA;AAEzC,UAAU,KAAK;IACb,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAA;IAC9C,KAAK,CAAC,EAAE,GAAG,CAAA;IACX,SAAS,CAAC,EAAE,GAAG,CAAA;IACf,iBAAiB,CAAC,EAAE,GAAG,CAAA;CACxB;AAED,QAAA,MAAM,QAAQ,uEAcZ,CAAA;AAIF,eAAe,QAAQ,CAAA"}
1
+ {"version":3,"file":"DropDown.d.ts","sourceRoot":"","sources":["../../src/layout/DropDown.tsx"],"names":[],"mappings":"AAEA,UAAU,KAAK;IACb,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAA;IAC9C,KAAK,CAAC,EAAE,GAAG,CAAA;IACX,SAAS,CAAC,EAAE,GAAG,CAAA;IACf,iBAAiB,CAAC,EAAE,GAAG,CAAA;CACxB;AAED,QAAA,MAAM,QAAQ,2FAcZ,CAAA;AAIF,eAAe,QAAQ,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"EmailTemplateCard.d.ts","sourceRoot":"","sources":["../../../../src/notification/email-template/card/EmailTemplateCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AAEtF,OAAO,EAAE,gBAAgB,EAAE,MAAM,wEAAwE,CAAA;AAKzG,MAAM,WAAW,sBAAuB,SAAQ,iBAAiB;IAC/D,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,IAAI,EAAE,gBAAgB,CAAA;CACvB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,IAAI,EACJ,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,WAAW,EACX,SAAiB,EACjB,QAAgB,EAChB,aAAoB,EACpB,IAAI,GACL,EAAE,sBAAsB,2CAoDxB"}
1
+ {"version":3,"file":"EmailTemplateCard.d.ts","sourceRoot":"","sources":["../../../../src/notification/email-template/card/EmailTemplateCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AAEtF,OAAO,EAAE,gBAAgB,EAAE,MAAM,wEAAwE,CAAA;AAKzG,MAAM,WAAW,sBAAuB,SAAQ,iBAAiB;IAC/D,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,IAAI,EAAE,gBAAgB,CAAA;CACvB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,IAAI,EACJ,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,WAAW,EACX,SAAiB,EACjB,QAAgB,EAChB,aAAoB,EACpB,IAAI,GACL,EAAE,sBAAsB,2CAkDxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"EmailTemplateControl.d.ts","sourceRoot":"","sources":["../../../../src/notification/email-template/control/EmailTemplateControl.tsx"],"names":[],"mappings":"AAKA,OAAO,EACL,cAAc,EAEf,MAAM,sEAAsE,CAAA;AAG7E,OAAO,EAAE,UAAU,EAAE,MAAM,kEAAkE,CAAA;AAM7F,OAAO,EAAE,gBAAgB,EAAE,MAAM,wEAAwE,CAAA;AAMzG,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,cAAc,EAAE,CAAA;IACzB,YAAY,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAA;IAC1C,IAAI,EAAE,MAAM,CAAA;IACZ,kBAAkB,CAAC,EAAE,UAAU,EAAE,CAAA;IACjC,iBAAiB,CAAC,EAAE,gBAAgB,EAAE,CAAA;IACtC,4BAA4B,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,gBAAgB,GAAG,IAAI,KAAK,MAAM,CAAA;CAC1E;AAED,eAAO,MAAM,oBAAoB,+GAsahC,CAAA"}
1
+ {"version":3,"file":"EmailTemplateControl.d.ts","sourceRoot":"","sources":["../../../../src/notification/email-template/control/EmailTemplateControl.tsx"],"names":[],"mappings":"AAKA,OAAO,EACL,cAAc,EAEf,MAAM,sEAAsE,CAAA;AAG7E,OAAO,EAAE,UAAU,EAAE,MAAM,kEAAkE,CAAA;AAM7F,OAAO,EAAE,gBAAgB,EAAE,MAAM,wEAAwE,CAAA;AAMzG,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,cAAc,EAAE,CAAA;IACzB,YAAY,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAA;IAC1C,IAAI,EAAE,MAAM,CAAA;IACZ,kBAAkB,CAAC,EAAE,UAAU,EAAE,CAAA;IACjC,iBAAiB,CAAC,EAAE,gBAAgB,EAAE,CAAA;IACtC,4BAA4B,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,gBAAgB,GAAG,IAAI,KAAK,MAAM,CAAA;CAC1E;AAED,eAAO,MAAM,oBAAoB,+GAqahC,CAAA"}
@@ -631,9 +631,6 @@ var EmailTemplateControl = /*#__PURE__*/ forwardRef(function(param, ref) {
631
631
  }),
632
632
  /*#__PURE__*/ jsx(Form.Control, _object_spread_props(_object_spread({}, register("templateOptionValues.".concat(option === null || option === void 0 ? void 0 : option.id, ".value"))), {
633
633
  type: "number",
634
- onWheel: function(event) {
635
- return event.currentTarget.blur();
636
- },
637
634
  placeholder: t("Design:".concat(option.name)),
638
635
  id: option.name + option.id,
639
636
  defaultValue: option.selectedValue || ''
@@ -1 +1 @@
1
- {"version":3,"file":"SmsTemplateCard.d.ts","sourceRoot":"","sources":["../../../../src/notification/sms-template/card/SmsTemplateCard.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AACtF,OAAO,EAAE,gBAAgB,EAAE,MAAM,wEAAwE,CAAA;AAKzG,MAAM,WAAW,oBAAqB,SAAQ,iBAAiB;IAC7D,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,EAAE,OAAO,CAAA;IACjB,IAAI,EAAE,gBAAgB,CAAA;CACvB;AAED,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,WAAW,EACX,aAAoB,EACpB,SAAiB,EACjB,QAAgB,EAChB,IAAI,GACL,EAAE,oBAAoB,2CAiDtB"}
1
+ {"version":3,"file":"SmsTemplateCard.d.ts","sourceRoot":"","sources":["../../../../src/notification/sms-template/card/SmsTemplateCard.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AACtF,OAAO,EAAE,gBAAgB,EAAE,MAAM,wEAAwE,CAAA;AAKzG,MAAM,WAAW,oBAAqB,SAAQ,iBAAiB;IAC7D,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,WAAW,EAAE,MAAM,IAAI,CAAA;IACvB,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,EAAE,OAAO,CAAA;IACjB,IAAI,EAAE,gBAAgB,CAAA;CACvB;AAED,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,WAAW,EACX,aAAoB,EACpB,SAAiB,EACjB,QAAgB,EAChB,IAAI,GACL,EAAE,oBAAoB,2CA+CtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"ProductSetCard.d.ts","sourceRoot":"","sources":["../../../src/product-set/card/ProductSetCard.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AAOtF,MAAM,WAAW,mBAAoB,SAAQ,iBAAiB;IAC5D,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,uBAAuB,EAAE,MAAM,CAAA;IAC/B,+BAA+B,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACxD,MAAM,EAAE,MAAM,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAA;IAC1C,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,wBAAwB,CAAC,EAAE,MAAM,CAAA;CAClC;AAED,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,+BAA+B,EAC/B,uBAAuB,EACvB,wBAAwB,EACxB,SAAS,EACT,SAAc,EACd,aAAoB,EACpB,QAAY,GACb,EAAE,mBAAmB,2CA6IrB"}
1
+ {"version":3,"file":"ProductSetCard.d.ts","sourceRoot":"","sources":["../../../src/product-set/card/ProductSetCard.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AAOtF,MAAM,WAAW,mBAAoB,SAAQ,iBAAiB;IAC5D,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,uBAAuB,EAAE,MAAM,CAAA;IAC/B,+BAA+B,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACxD,MAAM,EAAE,MAAM,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAA;IAC1C,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,wBAAwB,CAAC,EAAE,MAAM,CAAA;CAClC;AAED,wBAAgB,cAAc,CAAC,EAC7B,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,+BAA+B,EAC/B,uBAAuB,EACvB,wBAAwB,EACxB,SAAS,EACT,SAAc,EACd,aAAoB,EACpB,QAAY,GACb,EAAE,mBAAmB,2CAuIrB"}
@@ -157,7 +157,6 @@ function ProductSetCard(param) {
157
157
  return e.stopPropagation();
158
158
  },
159
159
  children: Boolean(onRemove) && /*#__PURE__*/ jsx(ConfirmModal, {
160
- content: t(override ? 'confirmRemoveProductSetWithOverrides' : 'areUSureYouWantToPerformThisAction'),
161
160
  children: function(confirm) {
162
161
  return /*#__PURE__*/ jsx(MenuButton, {
163
162
  onClick: function() {
@@ -1 +1 @@
1
- {"version":3,"file":"DateAndRecurrenceInput.d.ts","sourceRoot":"","sources":["../../../src/product-set/control/DateAndRecurrenceInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAOzC,OAAO,EAAE,QAAQ,EAAE,MAAM,4DAA4D,CAAA;AACrF,OAAO,EAAE,oBAAoB,EAAE,MAAM,uEAAuE,CAAA;AAkB5G,MAAM,WAAW,4BAA4B;IAC3C,eAAe,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,EAAE,CAAA;CAClD;AAED,UAAU,2BAA2B;IACnC,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,SAAS,EAAE,QAAQ,EAAE,GAAG,SAAS,CAAA;IACjC,4BAA4B,EAAE,OAAO,CAAA;IACrC,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,eAAO,MAAM,sBAAsB,6FAMhC,2BAA2B,4CA+Q7B,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAC5C,WAAW,EACX,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAsBxB,CAAA"}
1
+ {"version":3,"file":"DateAndRecurrenceInput.d.ts","sourceRoot":"","sources":["../../../src/product-set/control/DateAndRecurrenceInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAOzC,OAAO,EAAE,QAAQ,EAAE,MAAM,4DAA4D,CAAA;AACrF,OAAO,EAAE,oBAAoB,EAAE,MAAM,uEAAuE,CAAA;AAkB5G,MAAM,WAAW,4BAA4B;IAC3C,eAAe,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,EAAE,CAAA;CAClD;AAED,UAAU,2BAA2B;IACnC,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,SAAS,EAAE,QAAQ,EAAE,GAAG,SAAS,CAAA;IACjC,4BAA4B,EAAE,OAAO,CAAA;IACrC,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,eAAO,MAAM,sBAAsB,6FAMhC,2BAA2B,4CAgR7B,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAC5C,WAAW,EACX,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAsBxB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"DateInput.d.ts","sourceRoot":"","sources":["../../../src/product-set/control/DateInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAOzC,OAAO,EAAE,oBAAoB,EAAE,MAAM,uEAAuE,CAAA;AAG5G,OAAO,EAAE,QAAQ,EAAE,MAAM,4DAA4D,CAAA;AAiBrF,MAAM,WAAW,4BAA4B;IAC3C,eAAe,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,EAAE,CAAA;CAClD;AAED,UAAU,2BAA2B;IACnC,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAA;IACtB,4BAA4B,EAAE,OAAO,CAAA;IACrC,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,eAAO,MAAM,SAAS,mFAKnB,2BAA2B,4CAwP7B,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAC5C,WAAW,EACX,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAsBxB,CAAA"}
1
+ {"version":3,"file":"DateInput.d.ts","sourceRoot":"","sources":["../../../src/product-set/control/DateInput.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAOzC,OAAO,EAAE,oBAAoB,EAAE,MAAM,uEAAuE,CAAA;AAG5G,OAAO,EAAE,QAAQ,EAAE,MAAM,4DAA4D,CAAA;AAiBrF,MAAM,WAAW,4BAA4B;IAC3C,eAAe,CAAC,EAAE,OAAO,CAAC,oBAAoB,CAAC,EAAE,CAAA;CAClD;AAED,UAAU,2BAA2B;IACnC,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAA;IACtB,4BAA4B,EAAE,OAAO,CAAA;IACrC,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,eAAO,MAAM,SAAS,mFAKnB,2BAA2B,4CAyP7B,CAAA;AAED,eAAO,MAAM,uBAAuB,EAAE,QAAQ,CAC5C,WAAW,EACX,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAsBxB,CAAA"}
@@ -23,7 +23,6 @@ export interface ProductSetControlValues extends DateAndRecurrenceInputValues {
23
23
  productGroups?: SelectItem[];
24
24
  relyOnPeopleType?: RelyOnPeopleType | null;
25
25
  fieldSetId?: number;
26
- saleDeadline?: number;
27
26
  steps: Step[];
28
27
  emailTemplates?: TemplateItem[];
29
28
  smsTemplates?: TemplateItem[];
@@ -49,7 +48,6 @@ export interface ProductSetControlProps {
49
48
  workHours: WorkHour[] | undefined;
50
49
  providerHasBookingManagement?: boolean;
51
50
  isOverrides?: boolean;
52
- saleDeadline?: number;
53
51
  isCreateNewOverrides?: boolean;
54
52
  timeZone: string;
55
53
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ProductSetControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/control/ProductSetControl.tsx"],"names":[],"mappings":"AAIA,OAAO,EAOL,mBAAmB,EACnB,cAAc,EAEd,gBAAgB,EACjB,MAAM,6DAA6D,CAAA;AAEpE,OAAO,EAAE,QAAQ,EAAE,MAAM,yDAAyD,CAAA;AAClF,OAAO,EAAE,aAAa,EAAE,MAAM,qEAAqE,CAAA;AACnG,OAAO,EAAE,WAAW,EAAE,MAAM,mEAAmE,CAAA;AAG/F,OAAO,EAAE,QAAQ,EAAE,MAAM,4DAA4D,CAAA;AAErF,OAAO,EAAE,KAAK,EAAE,MAAM,sDAAsD,CAAA;AAG5E,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAA;AAC3D,OAAO,EAEL,4BAA4B,EAC7B,MAAM,0BAA0B,CAAA;AAEjC,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AAmB/B,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,aAAa,GAAG,WAAW,CAAA;IAClC,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,uBAAwB,SAAQ,4BAA4B;IAC3E,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,IAAI,EAAE,cAAc,CAAA;IACpB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,eAAe,EAAE,MAAM,CAAA;IACvB,eAAe,EAAE,mBAAmB,CAAA;IACpC,aAAa,CAAC,EAAE,UAAU,EAAE,CAAA;IAC5B,gBAAgB,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAA;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,EAAE,IAAI,EAAE,CAAA;IACb,cAAc,CAAC,EAAE,YAAY,EAAE,CAAA;IAC/B,YAAY,CAAC,EAAE,YAAY,EAAE,CAAA;IAC7B,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED,MAAM,WAAW,uBAAuB;IACtC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAA;IACtB,cAAc,CAAC,EAAE,aAAa,EAAE,CAAA;IAChC,YAAY,CAAC,EAAE,WAAW,EAAE,CAAA;CAC7B;AAED,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,OAAO,CAAA;IAClB,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,cAAc,CAAC,EAAE,YAAY,EAAE,CAAA;IAC/B,YAAY,CAAC,EAAE,YAAY,EAAE,CAAA;IAC7B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAA;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,SAAS,EAAE,QAAQ,EAAE,GAAG,SAAS,CAAA;IACjC,4BAA4B,CAAC,EAAE,OAAO,CAAA;IACtC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,WAAW,EACX,SAAS,EACT,GAAU,EACV,SAAc,EACd,cAAmB,EACnB,YAAiB,EACjB,qBAAqB,EACrB,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,SAAS,EACT,4BAAoC,EACpC,WAAmB,EACnB,oBAA4B,EAC5B,QAAQ,GACT,EAAE,sBAAsB,2CAsTxB"}
1
+ {"version":3,"file":"ProductSetControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/control/ProductSetControl.tsx"],"names":[],"mappings":"AAIA,OAAO,EAOL,mBAAmB,EACnB,cAAc,EAEd,gBAAgB,EACjB,MAAM,6DAA6D,CAAA;AAEpE,OAAO,EAAE,QAAQ,EAAE,MAAM,yDAAyD,CAAA;AAClF,OAAO,EAAE,aAAa,EAAE,MAAM,qEAAqE,CAAA;AACnG,OAAO,EAAE,WAAW,EAAE,MAAM,mEAAmE,CAAA;AAG/F,OAAO,EAAE,QAAQ,EAAE,MAAM,4DAA4D,CAAA;AAErF,OAAO,EAAE,KAAK,EAAE,MAAM,sDAAsD,CAAA;AAE5E,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAA;AAC3D,OAAO,EAEL,4BAA4B,EAC7B,MAAM,0BAA0B,CAAA;AAEjC,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AAmB/B,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,aAAa,GAAG,WAAW,CAAA;IAClC,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,uBAAwB,SAAQ,4BAA4B;IAC3E,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,IAAI,EAAE,cAAc,CAAA;IACpB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,eAAe,EAAE,MAAM,CAAA;IACvB,eAAe,EAAE,mBAAmB,CAAA;IACpC,aAAa,CAAC,EAAE,UAAU,EAAE,CAAA;IAC5B,gBAAgB,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAA;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,IAAI,EAAE,CAAA;IACb,cAAc,CAAC,EAAE,YAAY,EAAE,CAAA;IAC/B,YAAY,CAAC,EAAE,YAAY,EAAE,CAAA;IAC7B,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED,MAAM,WAAW,uBAAuB;IACtC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAA;IACtB,cAAc,CAAC,EAAE,aAAa,EAAE,CAAA;IAChC,YAAY,CAAC,EAAE,WAAW,EAAE,CAAA;CAC7B;AAED,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,OAAO,CAAA;IAClB,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,cAAc,CAAC,EAAE,YAAY,EAAE,CAAA;IAC/B,YAAY,CAAC,EAAE,YAAY,EAAE,CAAA;IAC7B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAA;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,SAAS,EAAE,QAAQ,EAAE,GAAG,SAAS,CAAA;IACjC,4BAA4B,CAAC,EAAE,OAAO,CAAA;IACtC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,WAAW,EACX,SAAS,EACT,GAAU,EACV,SAAc,EACd,cAAmB,EACnB,YAAiB,EACjB,qBAAqB,EACrB,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,SAAS,EACT,4BAAoC,EACpC,WAAmB,EACnB,oBAA4B,EAC5B,QAAQ,GACT,EAAE,sBAAsB,2CAoTxB"}
@@ -8,7 +8,6 @@ import { useId } from '@react-aria/utils';
8
8
  import HookFormService from '@licklist/plugins/dist/services/Form/HookFormService';
9
9
  import { ruleForUrlWithProtocol } from '@licklist/plugins/dist/validation/Rules/urlRule';
10
10
  import { checkIfZoneCategory } from '@licklist/plugins';
11
- import { SaleDeadline } from '../../events/edit-event-modal/component/SaleDeadline/SaleDeadline.js';
12
11
  import '../../static/index.js';
13
12
  import { DateAndRecurrenceInput } from './DateAndRecurrenceInput.js';
14
13
  import TutorialGifCard from './TutorialGifCard.js';
@@ -183,10 +182,6 @@ function ProductSetControl(param) {
183
182
  timeZone: timeZone
184
183
  })
185
184
  }),
186
- /*#__PURE__*/ jsx(SaleDeadline, {
187
- disabled: false,
188
- onlyBefore: true
189
- }),
190
185
  /*#__PURE__*/ jsx("div", {
191
186
  className: "divider"
192
187
  }),
@@ -1 +1 @@
1
- {"version":3,"file":"ProductCategoriesControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/ProductCategoriesControl.tsx"],"names":[],"mappings":"AAaA,OAAO,EAKL,YAAY,EACb,MAAM,kEAAkE,CAAA;AAQzE,OAAO,EAAwB,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAoCtE,UAAU,6BAA8B,SAAQ,aAAa;IAC3D,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,oBAAoB,CAAC,EAAE,OAAO,CAAA;CAC/B;AA2BD,wBAAgB,wBAAwB,CAAC,EACvC,SAAS,EACT,SAAS,EACT,WAAW,EACX,qBAAqB,EACrB,oBAAoB,GACrB,EAAE,6BAA6B,2CA4T/B;AAED,eAAO,MAAM,cAAc,iBACX,YAAY,SACnB,MAAM,KACZ;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,GAAG,IAczC,CAAA"}
1
+ {"version":3,"file":"ProductCategoriesControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/ProductCategoriesControl.tsx"],"names":[],"mappings":"AAYA,OAAO,EAKL,YAAY,EACb,MAAM,kEAAkE,CAAA;AAQzE,OAAO,EAAwB,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAStE,UAAU,6BAA8B,SAAQ,aAAa;IAC3D,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,oBAAoB,CAAC,EAAE,OAAO,CAAA;CAC/B;AA0BD,wBAAgB,wBAAwB,CAAC,EACvC,SAAS,EACT,SAAS,EACT,WAAW,EACX,qBAAqB,EACrB,oBAAoB,GACrB,EAAE,6BAA6B,2CAoT/B;AAED,eAAO,MAAM,cAAc,iBACX,YAAY,SACnB,MAAM,KACZ;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,GAAG,IAczC,CAAA"}