@licklist/design 0.44.485-dev.4 → 0.44.485-dev.41

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 (553) hide show
  1. package/dist/affiliate/types/index.d.ts +1 -1
  2. package/dist/affiliate/types/index.d.ts.map +1 -1
  3. package/dist/auth/Login/LoginComponent.d.ts +1 -1
  4. package/dist/auth/Login/LoginComponent.d.ts.map +1 -1
  5. package/dist/auth/Login/LoginFormComponent.d.ts +1 -1
  6. package/dist/auth/Login/LoginFormComponent.d.ts.map +1 -1
  7. package/dist/auth/Register/RegisterComponent.d.ts +1 -1
  8. package/dist/auth/Register/RegisterComponent.d.ts.map +1 -1
  9. package/dist/auth/Register/RegisterFormComponent.d.ts +1 -1
  10. package/dist/auth/Register/RegisterFormComponent.d.ts.map +1 -1
  11. package/dist/auth/ResetPassword/ResetPasswordFormComponent.d.ts +1 -1
  12. package/dist/auth/ResetPassword/ResetPasswordFormComponent.d.ts.map +1 -1
  13. package/dist/collapsible-input-group/CollapsibleInputGroup.d.ts +1 -1
  14. package/dist/collapsible-input-group/CollapsibleInputGroup.d.ts.map +1 -1
  15. package/dist/custom-fields/field-set/CustomFieldSets.d.ts +3 -3
  16. package/dist/custom-fields/field-set/CustomFieldSets.d.ts.map +1 -1
  17. package/dist/custom-fields/field-set/components/CustomFieldSet/CustomFieldSet.d.ts +1 -1
  18. package/dist/custom-fields/field-set/components/CustomFieldSet/CustomFieldSet.d.ts.map +1 -1
  19. package/dist/custom-fields/field-set/contexts/useCustomFieldSets.d.ts +2 -2
  20. package/dist/custom-fields/field-set/contexts/useCustomFieldSets.d.ts.map +1 -1
  21. package/dist/customers/components/filter/CustomerFilter.d.ts +2 -3
  22. package/dist/customers/components/filter/CustomerFilter.d.ts.map +1 -1
  23. package/dist/customers/components/filter/CustomerFilter.js +1 -1
  24. package/dist/events/edit-event-modal/IntervalInput.d.ts +4 -1
  25. package/dist/events/edit-event-modal/IntervalInput.d.ts.map +1 -1
  26. package/dist/events/edit-event-modal/IntervalInput.js +1 -1
  27. package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.d.ts.map +1 -1
  28. package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.js +1 -1
  29. package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.d.ts.map +1 -1
  30. package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.js +1 -1
  31. package/dist/events/edit-event-modal/utils/getDefaultProductSet.d.ts.map +1 -1
  32. package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +1 -1
  33. package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.d.ts +3 -3
  34. package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.d.ts.map +1 -1
  35. package/dist/events/event-statistic-modal/EventStatisticModal.d.ts +1 -1
  36. package/dist/events/event-statistic-modal/EventStatisticModal.d.ts.map +1 -1
  37. package/dist/events/event-statistic-modal/EventStatisticModal.js +1 -1
  38. package/dist/events/event-venue-map/EventVenueMap.d.ts +5 -2
  39. package/dist/events/event-venue-map/EventVenueMap.d.ts.map +1 -1
  40. package/dist/events/event-venue-map/EventVenueMap.js +1 -1
  41. package/dist/events/event-venue-map/components/Dropdown/Dropdown.d.ts +1 -1
  42. package/dist/events/event-venue-map/components/Dropdown/Dropdown.d.ts.map +1 -1
  43. package/dist/events/event-venue-map/components/Dropdown/components/ProductsControl/ProductsControl.d.ts +1 -1
  44. package/dist/events/event-venue-map/components/Dropdown/components/ProductsControl/ProductsControl.d.ts.map +1 -1
  45. package/dist/events/event-venue-map/components/Dropdown/components/SelectControl/SelectControl.d.ts +1 -1
  46. package/dist/events/event-venue-map/components/Dropdown/components/SelectControl/SelectControl.d.ts.map +1 -1
  47. package/dist/events/event-venue-map/components/MapPoint/MapPoint.d.ts +1 -1
  48. package/dist/events/event-venue-map/components/MapPoint/MapPoint.d.ts.map +1 -1
  49. package/dist/events/event-venue-map/components/MapPoint/MapPoint.js +1 -1
  50. package/dist/events/event-venue-map/components/MapPoint/components/DeleteIcon/DeleteIcon.d.ts +1 -1
  51. package/dist/events/event-venue-map/components/MapPoint/components/DeleteIcon/DeleteIcon.d.ts.map +1 -1
  52. package/dist/events/event-venue-map/components/MapPoint/components/EditIcon/EditIcon.d.ts +1 -1
  53. package/dist/events/event-venue-map/components/MapPoint/components/EditIcon/EditIcon.d.ts.map +1 -1
  54. package/dist/events/event-venue-map/components/MapPoint/components/PointIcon/PointIcon.d.ts +1 -1
  55. package/dist/events/event-venue-map/components/MapPoint/components/PointIcon/PointIcon.d.ts.map +1 -1
  56. package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.d.ts +1 -1
  57. package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.d.ts.map +1 -1
  58. package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.js +1 -1
  59. package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.d.ts +9 -0
  60. package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.d.ts.map +1 -0
  61. package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.js +1 -0
  62. package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.d.ts +2 -0
  63. package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.d.ts.map +1 -0
  64. package/dist/events/event-venue-map/components/VenueMap/VenueMap.d.ts +4 -2
  65. package/dist/events/event-venue-map/components/VenueMap/VenueMap.d.ts.map +1 -1
  66. package/dist/events/event-venue-map/components/VenueMap/VenueMap.js +1 -1
  67. package/dist/events/event-venue-map/hooks/useCanvasSize.d.ts +1 -1
  68. package/dist/events/event-venue-map/hooks/useCanvasSize.d.ts.map +1 -1
  69. package/dist/events/event-venue-map/hooks/useStageActions.d.ts +1 -1
  70. package/dist/events/event-venue-map/hooks/useStageActions.d.ts.map +1 -1
  71. package/dist/events/event-venue-map/types/index.d.ts +5 -5
  72. package/dist/events/event-venue-map/types/index.d.ts.map +1 -1
  73. package/dist/events/event-venue-map/utils/index.d.ts +3 -3
  74. package/dist/events/event-venue-map/utils/index.d.ts.map +1 -1
  75. package/dist/file-upload/FilePreview.d.ts +2 -2
  76. package/dist/file-upload/FilePreview.d.ts.map +1 -1
  77. package/dist/file-upload/FileUpload.d.ts +1 -1
  78. package/dist/file-upload/FileUpload.d.ts.map +1 -1
  79. package/dist/header/Header.d.ts +1 -1
  80. package/dist/header/Header.d.ts.map +1 -1
  81. package/dist/help/example/Example.d.ts +4 -4
  82. package/dist/help/example/Example.d.ts.map +1 -1
  83. package/dist/help/popover/HelpPopover.d.ts +1 -1
  84. package/dist/help/popover/HelpPopover.d.ts.map +1 -1
  85. package/dist/iframe/custom-fields/components/CustomDateField.d.ts +1 -1
  86. package/dist/iframe/custom-fields/components/CustomDateField.d.ts.map +1 -1
  87. package/dist/iframe/event/event-calendar/EventCalendar.d.ts +1 -1
  88. package/dist/iframe/event/event-calendar/EventCalendar.d.ts.map +1 -1
  89. package/dist/iframe/event/event-calendar/components/CalendarButtons/CalendarButtons.d.ts +1 -1
  90. package/dist/iframe/event/event-calendar/components/CalendarButtons/CalendarButtons.d.ts.map +1 -1
  91. package/dist/iframe/event/event-calendar/components/CalendarDate/CalendarDate.d.ts +1 -1
  92. package/dist/iframe/event/event-calendar/components/CalendarDate/CalendarDate.d.ts.map +1 -1
  93. package/dist/iframe/event/event-calendar/components/CalendarDates/CalendarDates.d.ts +1 -1
  94. package/dist/iframe/event/event-calendar/components/CalendarDates/CalendarDates.d.ts.map +1 -1
  95. package/dist/iframe/event/event-calendar/components/CalendarSelect/CalendarSelect.d.ts +2 -2
  96. package/dist/iframe/event/event-calendar/components/CalendarSelect/CalendarSelect.d.ts.map +1 -1
  97. package/dist/iframe/event/event-calendar/types/index.d.ts +1 -1
  98. package/dist/iframe/event/event-calendar/types/index.d.ts.map +1 -1
  99. package/dist/iframe/event/event-details/EventDetails.d.ts +1 -1
  100. package/dist/iframe/event/event-details/EventDetails.d.ts.map +1 -1
  101. package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.d.ts +5 -6
  102. package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.d.ts.map +1 -1
  103. package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.js +1 -1
  104. package/dist/iframe/event/event-product-sets/EventProductSets.d.ts +1 -1
  105. package/dist/iframe/event/event-product-sets/EventProductSets.d.ts.map +1 -1
  106. package/dist/iframe/event/event-product-sets/components/EventProductSet.d.ts +1 -1
  107. package/dist/iframe/event/event-product-sets/components/EventProductSet.d.ts.map +1 -1
  108. package/dist/iframe/event/event-step-venue-map-zones/EventStepVenueMapZones.d.ts +1 -1
  109. package/dist/iframe/event/event-step-venue-map-zones/EventStepVenueMapZones.d.ts.map +1 -1
  110. package/dist/iframe/event/event-step-venue-map-zones/components/EventStepVenueMapZone.d.ts +1 -1
  111. package/dist/iframe/event/event-step-venue-map-zones/components/EventStepVenueMapZone.d.ts.map +1 -1
  112. package/dist/iframe/event/event-venue-map/IframeEventVenueMap.d.ts +5 -1
  113. package/dist/iframe/event/event-venue-map/IframeEventVenueMap.d.ts.map +1 -1
  114. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts.map +1 -1
  115. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.js +1 -1
  116. package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.d.ts +1 -1
  117. package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.d.ts.map +1 -1
  118. package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts +1 -1
  119. package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts.map +1 -1
  120. package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.d.ts +1 -1
  121. package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.d.ts.map +1 -1
  122. package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.d.ts +1 -1
  123. package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.d.ts.map +1 -1
  124. package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts +4 -4
  125. package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts.map +1 -1
  126. package/dist/iframe/order-process/components/BookingSummary/utils/index.d.ts +1 -1
  127. package/dist/iframe/order-process/components/BookingSummary/utils/index.d.ts.map +1 -1
  128. package/dist/iframe/order-process/components/BookingSummary/utils/index.js +1 -1
  129. package/dist/iframe/order-process/components/BookingSummaryFooter/BookingSummaryFooter.d.ts +4 -4
  130. package/dist/iframe/order-process/components/BookingSummaryFooter/BookingSummaryFooter.d.ts.map +1 -1
  131. package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.d.ts +3 -1
  132. package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.d.ts.map +1 -1
  133. package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.js +1 -1
  134. package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.d.ts +4 -2
  135. package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.d.ts.map +1 -1
  136. package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.js +1 -1
  137. package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts +4 -2
  138. package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts.map +1 -1
  139. package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.js +1 -1
  140. package/dist/iframe/order-process/components/Category/Category.d.ts +2 -1
  141. package/dist/iframe/order-process/components/Category/Category.d.ts.map +1 -1
  142. package/dist/iframe/order-process/components/Category/Category.js +1 -1
  143. package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts +2 -1
  144. package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts.map +1 -1
  145. package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.js +1 -1
  146. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts +1 -0
  147. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts.map +1 -1
  148. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js +1 -1
  149. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts.map +1 -1
  150. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.js +1 -1
  151. package/dist/iframe/order-process/components/NavigationSteps/NavigationSteps.d.ts +1 -1
  152. package/dist/iframe/order-process/components/NavigationSteps/NavigationSteps.d.ts.map +1 -1
  153. package/dist/iframe/order-process/components/PaymentCard/PaymentCard.d.ts +1 -1
  154. package/dist/iframe/order-process/components/PaymentCard/PaymentCard.d.ts.map +1 -1
  155. package/dist/iframe/order-process/components/StepsForm/StepsForm.d.ts +2 -1
  156. package/dist/iframe/order-process/components/StepsForm/StepsForm.d.ts.map +1 -1
  157. package/dist/iframe/order-process/components/StepsForm/StepsForm.js +1 -1
  158. package/dist/iframe/order-process/components/Timer/Timer.d.ts +1 -1
  159. package/dist/iframe/order-process/components/Timer/Timer.d.ts.map +1 -1
  160. package/dist/iframe/order-process/components/Timer/utils/index.d.ts +1 -1
  161. package/dist/iframe/order-process/components/Timer/utils/index.d.ts.map +1 -1
  162. package/dist/iframe/order-process/components/Timer/utils/index.js +1 -1
  163. package/dist/iframe/page/Page.d.ts +1 -1
  164. package/dist/iframe/page/Page.d.ts.map +1 -1
  165. package/dist/iframe/page/components/PageBody/PageBody.d.ts +1 -1
  166. package/dist/iframe/page/components/PageBody/PageBody.d.ts.map +1 -1
  167. package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.d.ts +1 -1
  168. package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.d.ts.map +1 -1
  169. package/dist/iframe/page/components/PageBody/components/RightBlock/RightBlock.d.ts +1 -1
  170. package/dist/iframe/page/components/PageBody/components/RightBlock/RightBlock.d.ts.map +1 -1
  171. package/dist/iframe/page/components/PageBody/types.d.ts +1 -1
  172. package/dist/iframe/page/components/PageBody/types.d.ts.map +1 -1
  173. package/dist/iframe/page/components/PageHeader/PageHeader.d.ts +1 -1
  174. package/dist/iframe/page/components/PageHeader/PageHeader.d.ts.map +1 -1
  175. package/dist/iframe/payment/order-items-table/hooks/useTableData.d.ts +5 -0
  176. package/dist/iframe/payment/order-items-table/hooks/useTableData.d.ts.map +1 -1
  177. package/dist/iframe/payment/order-items-table/hooks/useTableData.js +1 -1
  178. package/dist/iframe/payment/order-items-table/types/index.d.ts +2 -2
  179. package/dist/iframe/payment/order-items-table/types/index.d.ts.map +1 -1
  180. package/dist/iframe/payment/order-items-table/utils/index.d.ts +6 -1
  181. package/dist/iframe/payment/order-items-table/utils/index.d.ts.map +1 -1
  182. package/dist/iframe/payment/order-items-table/utils/index.js +1 -1
  183. package/dist/iframe/payment/payment-page/PaymentPage.d.ts +1 -1
  184. package/dist/iframe/payment/payment-page/PaymentPage.d.ts.map +1 -1
  185. package/dist/iframe/payment/payment-page/PaymentPage.js +1 -1
  186. package/dist/iframe/payment/payment-page/PaymentTimer.d.ts +1 -0
  187. package/dist/iframe/payment/payment-page/PaymentTimer.d.ts.map +1 -1
  188. package/dist/iframe/payment/payment-page/PaymentTimer.js +1 -1
  189. package/dist/iframe/payment/payment-status-header/PaymentStatusHeader.d.ts +1 -1
  190. package/dist/iframe/payment/payment-status-header/PaymentStatusHeader.d.ts.map +1 -1
  191. package/dist/iframe/payment/payment-status-page/PaymentStatusPage.d.ts +5 -3
  192. package/dist/iframe/payment/payment-status-page/PaymentStatusPage.d.ts.map +1 -1
  193. package/dist/iframe/payment/payment-status-page/PaymentStatusPage.js +1 -1
  194. package/dist/iframe/powered-by/PoweredBy.d.ts +1 -1
  195. package/dist/iframe/powered-by/PoweredBy.d.ts.map +1 -1
  196. package/dist/iframe/ryft/RyftPaymentForm.d.ts +1 -1
  197. package/dist/iframe/ryft/RyftPaymentForm.d.ts.map +1 -1
  198. package/dist/index.d.ts +1 -0
  199. package/dist/index.d.ts.map +1 -1
  200. package/dist/index.js +1 -1
  201. package/dist/modals/confirmation/ConfirmModal.d.ts +2 -2
  202. package/dist/modals/confirmation/ConfirmModal.d.ts.map +1 -1
  203. package/dist/notification/email-template/card/EmailTemplateCard.d.ts +4 -1
  204. package/dist/notification/email-template/card/EmailTemplateCard.d.ts.map +1 -1
  205. package/dist/notification/email-template/card/EmailTemplateCard.js +1 -1
  206. package/dist/notification/email-template/control/EmailTemplateControl.d.ts +3 -0
  207. package/dist/notification/email-template/control/EmailTemplateControl.d.ts.map +1 -1
  208. package/dist/notification/email-template/control/EmailTemplateControl.js +1 -1
  209. package/dist/notification/email-template/form/EmailTemplateForm.d.ts +7 -1
  210. package/dist/notification/email-template/form/EmailTemplateForm.d.ts.map +1 -1
  211. package/dist/notification/email-template/form/EmailTemplateForm.js +1 -1
  212. package/dist/notification/hooks/useTranslatedParameters.d.ts +7 -0
  213. package/dist/notification/hooks/useTranslatedParameters.d.ts.map +1 -0
  214. package/dist/notification/hooks/useTranslatedParameters.js +1 -0
  215. package/dist/notification/sms-template/card/SmsTemplateCard.d.ts +4 -1
  216. package/dist/notification/sms-template/card/SmsTemplateCard.d.ts.map +1 -1
  217. package/dist/notification/sms-template/card/SmsTemplateCard.js +1 -1
  218. package/dist/notification/sms-template/control/SmsTemplateControl.d.ts +6 -1
  219. package/dist/notification/sms-template/control/SmsTemplateControl.d.ts.map +1 -1
  220. package/dist/notification/sms-template/control/SmsTemplateControl.js +1 -1
  221. package/dist/notification/sms-template/form/SmsTemplateForm.d.ts +5 -1
  222. package/dist/notification/sms-template/form/SmsTemplateForm.d.ts.map +1 -1
  223. package/dist/notification/sms-template/form/SmsTemplateForm.js +1 -1
  224. package/dist/product-set/control/ProductSetControl.d.ts +16 -4
  225. package/dist/product-set/control/ProductSetControl.d.ts.map +1 -1
  226. package/dist/product-set/control/ProductSetControl.js +1 -1
  227. package/dist/product-set/deposit-paid/ProductSetDepositPaidControl.d.ts +3 -3
  228. package/dist/product-set/deposit-paid/ProductSetDepositPaidControl.d.ts.map +1 -1
  229. package/dist/product-set/elements/DeleteFieldButton.d.ts +1 -1
  230. package/dist/product-set/elements/DeleteFieldButton.d.ts.map +1 -1
  231. package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
  232. package/dist/product-set/form/ProductSetForm.js +1 -1
  233. package/dist/product-set/form/ProductsControl.d.ts.map +1 -1
  234. package/dist/product-set/form/ProductsControl.js +1 -1
  235. package/dist/product-set/form/StepsControl.d.ts.map +1 -1
  236. package/dist/product-set/form/StepsControl.js +1 -1
  237. package/dist/product-set/form/VenueMapSetModal.d.ts +1 -1
  238. package/dist/product-set/form/VenueMapSetModal.d.ts.map +1 -1
  239. package/dist/product-set/form/VenueMapsControl.d.ts +1 -1
  240. package/dist/product-set/form/VenueMapsControl.d.ts.map +1 -1
  241. package/dist/product-set/form/context.d.ts +1 -1
  242. package/dist/product-set/form/context.d.ts.map +1 -1
  243. package/dist/product-set/popover/ProductSetPopover.d.ts +1 -1
  244. package/dist/product-set/popover/ProductSetPopover.d.ts.map +1 -1
  245. package/dist/product-set/product/ProductControl.d.ts +1 -0
  246. package/dist/product-set/product/ProductControl.d.ts.map +1 -1
  247. package/dist/product-set/product/ProductControl.js +1 -1
  248. package/dist/product-set/product/fixed-duration-fields/FixedDurationOptions.d.ts +1 -1
  249. package/dist/product-set/product/fixed-duration-fields/FixedDurationOptions.d.ts.map +1 -1
  250. package/dist/product-set/product/price/ProductPriceControl.d.ts +7 -3
  251. package/dist/product-set/product/price/ProductPriceControl.d.ts.map +1 -1
  252. package/dist/product-set/product/price/ProductPriceControl.js +1 -1
  253. package/dist/product-set/tabs/ProductSetTab.d.ts +1 -1
  254. package/dist/product-set/tabs/ProductSetTab.d.ts.map +1 -1
  255. package/dist/product-set/tabs/ProductSetTabs.d.ts +1 -1
  256. package/dist/product-set/tabs/ProductSetTabs.d.ts.map +1 -1
  257. package/dist/product-set/types/index.d.ts +5 -5
  258. package/dist/product-set/types/index.d.ts.map +1 -1
  259. package/dist/product-set/utils/index.d.ts +4 -0
  260. package/dist/product-set/utils/index.d.ts.map +1 -1
  261. package/dist/product-set/utils/index.js +1 -1
  262. package/dist/provider/categories-input/CategoriesInput.d.ts +1 -1
  263. package/dist/provider/categories-input/CategoriesInput.d.ts.map +1 -1
  264. package/dist/provider/categories-input/CategoriesInputDescription.d.ts +1 -1
  265. package/dist/provider/categories-input/CategoriesInputDescription.d.ts.map +1 -1
  266. package/dist/provider/categories-input/index.d.ts +1 -1
  267. package/dist/provider/categories-input/index.d.ts.map +1 -1
  268. package/dist/provider/company/user-form/UserForm.d.ts +2 -2
  269. package/dist/provider/company/user-form/UserForm.d.ts.map +1 -1
  270. package/dist/provider/location-input/index.d.ts +1 -1
  271. package/dist/provider/location-input/index.d.ts.map +1 -1
  272. package/dist/provider/provider-details-input/ProviderDetailsInput.d.ts +2 -2
  273. package/dist/provider/provider-details-input/ProviderDetailsInput.d.ts.map +1 -1
  274. package/dist/provider/provider-details-input/ProviderDetailsInput.js +1 -1
  275. package/dist/provider/provider-form/ProviderForm.d.ts +1 -1
  276. package/dist/provider/provider-form/ProviderForm.d.ts.map +1 -1
  277. package/dist/provider/provider-links-input/ProviderLinksInput.d.ts +2 -2
  278. package/dist/provider/provider-links-input/ProviderLinksInput.d.ts.map +1 -1
  279. package/dist/provider/resources-blocking-modal/ResourcesBlockingModal.d.ts +1 -1
  280. package/dist/provider/resources-blocking-modal/ResourcesBlockingModal.d.ts.map +1 -1
  281. package/dist/provider/venue-form/VenueForm.d.ts +1 -1
  282. package/dist/provider/venue-form/VenueForm.d.ts.map +1 -1
  283. package/dist/provider/working-hours-input/index.d.ts +1 -1
  284. package/dist/provider/working-hours-input/index.d.ts.map +1 -1
  285. package/dist/recurrence-input/utils.d.ts +2 -2
  286. package/dist/recurrence-input/utils.d.ts.map +1 -1
  287. package/dist/recurring-date-picker-input/RecurringDatePickerInput.js +1 -1
  288. package/dist/recurring-date-picker-input/utils.d.ts +2 -2
  289. package/dist/recurring-date-picker-input/utils.d.ts.map +1 -1
  290. package/dist/resource/form/ResourceForm.d.ts +2 -2
  291. package/dist/resource/form/ResourceForm.d.ts.map +1 -1
  292. package/dist/resource/form/components/CapacityControl.d.ts +1 -1
  293. package/dist/resource/form/components/CapacityControl.d.ts.map +1 -1
  294. package/dist/resource/form/components/NameControl.d.ts +1 -1
  295. package/dist/resource/form/components/NameControl.d.ts.map +1 -1
  296. package/dist/resource/form/components/SortControl.d.ts +1 -1
  297. package/dist/resource/form/components/SortControl.d.ts.map +1 -1
  298. package/dist/resource/form/components/ZoneControl.d.ts +1 -1
  299. package/dist/resource/form/components/ZoneControl.d.ts.map +1 -1
  300. package/dist/sales/booking/filter/BookingFilter.d.ts +1 -1
  301. package/dist/sales/booking/filter/BookingFilter.d.ts.map +1 -1
  302. package/dist/sales/booking/filter/components/AdditionalFIlterSection.d.ts +1 -1
  303. package/dist/sales/booking/filter/components/AdditionalFIlterSection.d.ts.map +1 -1
  304. package/dist/sales/booking/filter/components/AdditionalFIlterSection.js +1 -1
  305. package/dist/sales/booking/filter/components/MainFilterSection.d.ts +1 -1
  306. package/dist/sales/booking/filter/components/MainFilterSection.d.ts.map +1 -1
  307. package/dist/sales/booking/filter/components/ResultTagButton.d.ts +1 -1
  308. package/dist/sales/booking/filter/components/ResultTagButton.d.ts.map +1 -1
  309. package/dist/sales/booking/results/BookingResults.d.ts +1 -1
  310. package/dist/sales/booking/results/BookingResults.d.ts.map +1 -1
  311. package/dist/sales/booking/results/components/ResultCard.d.ts +1 -1
  312. package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
  313. package/dist/sales/booking/tabs/BookingTabs.d.ts +1 -1
  314. package/dist/sales/booking/tabs/BookingTabs.d.ts.map +1 -1
  315. package/dist/sales/filters/SaleFilters.d.ts +1 -2
  316. package/dist/sales/filters/SaleFilters.d.ts.map +1 -1
  317. package/dist/sales/guest-profile/previous-bookings/PreviousBookings.d.ts +4 -3
  318. package/dist/sales/guest-profile/previous-bookings/PreviousBookings.d.ts.map +1 -1
  319. package/dist/sales/guest-profile/previous-bookings/PreviousBookings.js +1 -1
  320. package/dist/sales/guest-profile/profile/Profile.d.ts +1 -1
  321. package/dist/sales/guest-profile/profile/Profile.d.ts.map +1 -1
  322. package/dist/sales/guest-profile/profile/components/ImageHolder/ImageHolder.d.ts +1 -1
  323. package/dist/sales/guest-profile/profile/components/ImageHolder/ImageHolder.d.ts.map +1 -1
  324. package/dist/sales/guest-profile/user-metrics/UserMetrics.d.ts +1 -1
  325. package/dist/sales/guest-profile/user-metrics/UserMetrics.d.ts.map +1 -1
  326. package/dist/sales/guest-profile/visited-providers/VisitedProviders.d.ts +1 -1
  327. package/dist/sales/guest-profile/visited-providers/VisitedProviders.d.ts.map +1 -1
  328. package/dist/sales/life-time-sales/LifeTimeSalesChart.d.ts +1 -1
  329. package/dist/sales/life-time-sales/LifeTimeSalesChart.d.ts.map +1 -1
  330. package/dist/sales/manual-booking/create-user/CreateUser.js +1 -1
  331. package/dist/sales/manual-booking/customer-info/CustomerInfo.d.ts +1 -1
  332. package/dist/sales/manual-booking/customer-info/CustomerInfo.d.ts.map +1 -1
  333. package/dist/sales/manual-booking/final-step/FinalStep.d.ts +1 -1
  334. package/dist/sales/manual-booking/final-step/FinalStep.d.ts.map +1 -1
  335. package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.d.ts +1 -1
  336. package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.d.ts.map +1 -1
  337. package/dist/sales/manual-booking/select-date-type-control/SelectDateTypeControl.d.ts +1 -1
  338. package/dist/sales/manual-booking/select-date-type-control/SelectDateTypeControl.d.ts.map +1 -1
  339. package/dist/sales/manual-booking/select-menu/SelectMenu.d.ts +1 -1
  340. package/dist/sales/manual-booking/select-menu/SelectMenu.d.ts.map +1 -1
  341. package/dist/sales/manual-booking/select-menu/SelectMenu.js +1 -1
  342. package/dist/sales/manual-booking/select-menu/components/MenuButton.d.ts +1 -1
  343. package/dist/sales/manual-booking/select-menu/components/MenuButton.d.ts.map +1 -1
  344. package/dist/sales/notes/NotesTable.d.ts +1 -1
  345. package/dist/sales/notes/NotesTable.d.ts.map +1 -1
  346. package/dist/sales/notes/NotesTableRow.d.ts +1 -1
  347. package/dist/sales/notes/NotesTableRow.d.ts.map +1 -1
  348. package/dist/sales/notes/note-form/NoteForm.d.ts +1 -1
  349. package/dist/sales/notes/note-form/NoteForm.d.ts.map +1 -1
  350. package/dist/sales/payment-form/SalePaymentForm.d.ts +2 -2
  351. package/dist/sales/payment-form/SalePaymentForm.d.ts.map +1 -1
  352. package/dist/sales/payment-form/components/RyftPayment/RyftPayment.d.ts +1 -1
  353. package/dist/sales/payment-form/components/RyftPayment/RyftPayment.d.ts.map +1 -1
  354. package/dist/sales/payment-form/types.d.ts +2 -2
  355. package/dist/sales/payment-form/types.d.ts.map +1 -1
  356. package/dist/sales/sales-and-views/SalesAndViewsChart.d.ts +1 -1
  357. package/dist/sales/sales-and-views/SalesAndViewsChart.d.ts.map +1 -1
  358. package/dist/setting/admin/AdminSettingForm.d.ts +1 -1
  359. package/dist/setting/admin/AdminSettingForm.d.ts.map +1 -1
  360. package/dist/setting/admin/PaymentFeeForm.d.ts +2 -2
  361. package/dist/setting/admin/PaymentFeeForm.d.ts.map +1 -1
  362. package/dist/setting/dashboard/DashboardSettingForm.d.ts +1 -1
  363. package/dist/setting/dashboard/DashboardSettingForm.d.ts.map +1 -1
  364. package/dist/setting/dashboard/EventSettingForm.d.ts +2 -2
  365. package/dist/setting/dashboard/EventSettingForm.d.ts.map +1 -1
  366. package/dist/setting/dashboard/FinancialDataForm.d.ts +2 -2
  367. package/dist/setting/dashboard/FinancialDataForm.d.ts.map +1 -1
  368. package/dist/setting/dashboard/OtherSettingForm.d.ts +2 -2
  369. package/dist/setting/dashboard/OtherSettingForm.d.ts.map +1 -1
  370. package/dist/setting/dashboard/ProviderSettingForm.d.ts +2 -2
  371. package/dist/setting/dashboard/ProviderSettingForm.d.ts.map +1 -1
  372. package/dist/setting/system/SystemSettingForm.d.ts +1 -1
  373. package/dist/setting/system/SystemSettingForm.d.ts.map +1 -1
  374. package/dist/snippet/snippet-template/context/snippetTemplate.d.ts +1 -1
  375. package/dist/snippet/snippet-template/context/snippetTemplate.d.ts.map +1 -1
  376. package/dist/sortable-list/SortableList.d.ts +4 -4
  377. package/dist/sortable-list/SortableList.d.ts.map +1 -1
  378. package/dist/sortable-tree/SortableTreeItem.d.ts +1 -1
  379. package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
  380. package/dist/static/Icon.d.ts +1 -1
  381. package/dist/static/Icon.d.ts.map +1 -1
  382. package/dist/static/date-range-input/DateRangeInput.d.ts +1 -1
  383. package/dist/static/date-range-input/DateRangeInput.d.ts.map +1 -1
  384. package/dist/static/images/DefaultUserImage.d.ts +1 -1
  385. package/dist/static/images/DefaultUserImage.d.ts.map +1 -1
  386. package/dist/static/loader/ButtonLoader.d.ts +1 -1
  387. package/dist/static/loader/ButtonLoader.d.ts.map +1 -1
  388. package/dist/static/loader/PaymentLoader.d.ts +1 -1
  389. package/dist/static/loader/PaymentLoader.d.ts.map +1 -1
  390. package/dist/static/manual-date-picker/ManualDatePicker.d.ts +1 -1
  391. package/dist/static/manual-date-picker/ManualDatePicker.d.ts.map +1 -1
  392. package/dist/static/manual-date-picker/hooks/useManualDatePicker.d.ts +2 -2
  393. package/dist/static/manual-date-picker/hooks/useManualDatePicker.d.ts.map +1 -1
  394. package/dist/static/tabs/Tab.d.ts +1 -1
  395. package/dist/static/tabs/Tab.d.ts.map +1 -1
  396. package/dist/static/tabs/Tabs.d.ts +1 -1
  397. package/dist/static/tabs/Tabs.d.ts.map +1 -1
  398. package/dist/striped-static-table/StripedStaticTable.d.ts +7 -0
  399. package/dist/striped-static-table/StripedStaticTable.d.ts.map +1 -0
  400. package/dist/striped-static-table/StripedStaticTable.js +1 -0
  401. package/dist/striped-static-table/index.d.ts +2 -0
  402. package/dist/striped-static-table/index.d.ts.map +1 -0
  403. package/dist/styles/customers/Filter.scss +23 -4
  404. package/dist/styles/events/EventStatisticModal.scss +0 -37
  405. package/dist/styles/packages.scss +1 -0
  406. package/dist/styles/snippet-templates/SnippetTemplateCard.scss +16 -0
  407. package/dist/styles/striped-static-table/_index.scss +33 -0
  408. package/dist/table/MenuButton.d.ts +1 -1
  409. package/dist/table/MenuButton.d.ts.map +1 -1
  410. package/dist/table/ReactTableHelperComponent.d.ts +2 -2
  411. package/dist/table/ReactTableHelperComponent.d.ts.map +1 -1
  412. package/dist/table/StaticTable.d.ts +3 -3
  413. package/dist/table/StaticTable.d.ts.map +1 -1
  414. package/dist/table/StaticTable.js +1 -1
  415. package/dist/table/types.d.ts +5 -5
  416. package/dist/table/types.d.ts.map +1 -1
  417. package/dist/tiptap-editor/TipTapMenu/extensions/EMOJIS.d.ts +1 -1
  418. package/dist/tiptap-editor/TipTapMenu/extensions/EMOJIS.d.ts.map +1 -1
  419. package/dist/typeahead/Typeahead.d.ts +6 -12
  420. package/dist/typeahead/Typeahead.d.ts.map +1 -1
  421. package/dist/typeahead/Typeahead.js +1 -1
  422. package/dist/typeahead-helper/TypeaheadHelperComponent.d.ts +1 -1
  423. package/dist/typeahead-helper/TypeaheadHelperComponent.d.ts.map +1 -1
  424. package/dist/types/categories.d.ts +2 -2
  425. package/dist/types/categories.d.ts.map +1 -1
  426. package/dist/types/currency.d.ts +1 -1
  427. package/dist/types/currency.d.ts.map +1 -1
  428. package/dist/types/generic/SelectItem.d.ts +1 -1
  429. package/dist/types/generic/SelectItem.d.ts.map +1 -1
  430. package/dist/types/iframe.d.ts +4 -2
  431. package/dist/types/iframe.d.ts.map +1 -1
  432. package/dist/types/provider-links.d.ts +2 -2
  433. package/dist/types/provider-links.d.ts.map +1 -1
  434. package/dist/venue-map-sets/form/components/NameControl.d.ts +1 -1
  435. package/dist/venue-map-sets/form/components/NameControl.d.ts.map +1 -1
  436. package/dist/venue-map-sets/form/components/VenueMapControl.d.ts +4 -4
  437. package/dist/venue-map-sets/form/components/VenueMapControl.d.ts.map +1 -1
  438. package/dist/venue-map-sets/form/components/VenueMapImageControl.d.ts +1 -1
  439. package/dist/venue-map-sets/form/components/VenueMapImageControl.d.ts.map +1 -1
  440. package/dist/venue-map-sets/form/components/VenueMapModal.d.ts +1 -1
  441. package/dist/venue-map-sets/form/components/VenueMapModal.d.ts.map +1 -1
  442. package/dist/venue-map-sets/form/components/VenueMapsControl.d.ts +1 -1
  443. package/dist/venue-map-sets/form/components/VenueMapsControl.d.ts.map +1 -1
  444. package/dist/venue-map-sets/form/types/index.d.ts +4 -4
  445. package/dist/venue-map-sets/form/types/index.d.ts.map +1 -1
  446. package/dist/virtualized/components/VirtualizedGrid.d.ts +1 -1
  447. package/dist/virtualized/components/VirtualizedGrid.d.ts.map +1 -1
  448. package/dist/virtualized/components/VirtualizedWindowScroller.d.ts +3 -3
  449. package/dist/virtualized/components/VirtualizedWindowScroller.d.ts.map +1 -1
  450. package/dist/virtualized/context/VirtualizedContext.d.ts +2 -2
  451. package/dist/virtualized/context/VirtualizedContext.d.ts.map +1 -1
  452. package/dist/widgets/CheckboxGroup/CheckboxGroup.d.ts +1 -1
  453. package/dist/widgets/CheckboxGroup/CheckboxGroup.d.ts.map +1 -1
  454. package/dist/widgets/ImageRadioInput/ImageRadioInput.d.ts +1 -1
  455. package/dist/widgets/ImageRadioInput/ImageRadioInput.d.ts.map +1 -1
  456. package/dist/widgets/SnippetCode/SnippetCode.d.ts +1 -1
  457. package/dist/widgets/SnippetCode/SnippetCode.d.ts.map +1 -1
  458. package/dist/widgets/WidgetBuilderForm/WidgetBuilderForm.d.ts +1 -1
  459. package/dist/widgets/WidgetBuilderForm/WidgetBuilderForm.d.ts.map +1 -1
  460. package/dist/widgets/WidgetTypeRadio/WidgetTypeRadio.d.ts +1 -1
  461. package/dist/widgets/WidgetTypeRadio/WidgetTypeRadio.d.ts.map +1 -1
  462. package/dist/zone/form/ZoneForm.d.ts +2 -2
  463. package/dist/zone/form/ZoneForm.d.ts.map +1 -1
  464. package/dist/zone/form/components/AvailableTimesControl.d.ts +2 -2
  465. package/dist/zone/form/components/AvailableTimesControl.d.ts.map +1 -1
  466. package/dist/zone/form/components/DescriptionControl.d.ts +1 -1
  467. package/dist/zone/form/components/DescriptionControl.d.ts.map +1 -1
  468. package/dist/zone/form/components/NameControl.d.ts +1 -1
  469. package/dist/zone/form/components/NameControl.d.ts.map +1 -1
  470. package/dist/zone/form/components/SortControl.d.ts +1 -1
  471. package/dist/zone/form/components/SortControl.d.ts.map +1 -1
  472. package/dist/zone/form/components/ZoneControl.d.ts +1 -1
  473. package/dist/zone/form/components/ZoneControl.d.ts.map +1 -1
  474. package/dist/zone/form/components/ZoneImageControl.d.ts +1 -1
  475. package/dist/zone/form/components/ZoneImageControl.d.ts.map +1 -1
  476. package/dist/zone/form/components/ZoneRecurrencesControl.d.ts +1 -1
  477. package/dist/zone/form/components/ZoneRecurrencesControl.d.ts.map +1 -1
  478. package/dist/zone/form/components/ZoneTypeControl.d.ts +1 -1
  479. package/dist/zone/form/components/ZoneTypeControl.d.ts.map +1 -1
  480. package/package.json +4 -4
  481. package/src/customers/components/filter/CustomerFilter.stories.tsx +1 -2
  482. package/src/customers/components/filter/CustomerFilter.tsx +3 -5
  483. package/src/events/edit-event-modal/IntervalInput.tsx +21 -1
  484. package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx +3 -0
  485. package/src/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.tsx +11 -2
  486. package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +6 -4
  487. package/src/events/event-statistic-modal/EventStatisticModal.tsx +1 -1
  488. package/src/events/event-venue-map/EventVenueMap.tsx +4 -0
  489. package/src/events/event-venue-map/components/MapPoint/MapPoint.tsx +3 -1
  490. package/src/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.tsx +13 -2
  491. package/src/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.tsx +68 -0
  492. package/src/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.ts +1 -0
  493. package/src/events/event-venue-map/components/VenueMap/VenueMap.tsx +12 -4
  494. package/src/iframe/event/event-order-short-summary/components/Summary/Summary.tsx +20 -20
  495. package/src/iframe/event/event-venue-map/IframeEventVenueMap.stories.tsx +5 -0
  496. package/src/iframe/order-process/OrderProcess.stories.tsx +3 -2
  497. package/src/iframe/order-process/components/BookingSummary/BookingSummary.tsx +4 -1
  498. package/src/iframe/order-process/components/BookingSummary/types/index.ts +3 -3
  499. package/src/iframe/order-process/components/BookingSummary/utils/index.ts +6 -2
  500. package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.stories.tsx +1 -0
  501. package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.tsx +5 -0
  502. package/src/iframe/order-process/components/CalendarStepsForm/components/Category.tsx +4 -0
  503. package/src/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.tsx +4 -0
  504. package/src/iframe/order-process/components/Category/Category.tsx +3 -0
  505. package/src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx +42 -8
  506. package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +3 -0
  507. package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +3 -2
  508. package/src/iframe/order-process/components/StepsForm/StepsForm.tsx +3 -0
  509. package/src/iframe/order-process/components/Timer/Timer.stories.tsx +1 -1
  510. package/src/iframe/order-process/components/Timer/utils/index.ts +4 -4
  511. package/src/iframe/payment/order-items-table/OrderItemsTable.stories.tsx +2 -0
  512. package/src/iframe/payment/order-items-table/hooks/useTableData.tsx +21 -14
  513. package/src/iframe/payment/order-items-table/utils/index.ts +55 -15
  514. package/src/iframe/payment/payment-page/PaymentPage.tsx +46 -6
  515. package/src/iframe/payment/payment-page/PaymentTimer.tsx +31 -6
  516. package/src/iframe/payment/payment-status-page/PaymentStatusPage.tsx +66 -12
  517. package/src/index.ts +1 -0
  518. package/src/notification/email-template/card/EmailTemplateCard.stories.tsx +4 -2
  519. package/src/notification/email-template/card/EmailTemplateCard.tsx +15 -3
  520. package/src/notification/email-template/control/EmailTemplateControl.tsx +90 -6
  521. package/src/notification/email-template/form/EmailTemplateForm.stories.tsx +34 -0
  522. package/src/notification/email-template/form/EmailTemplateForm.tsx +23 -5
  523. package/src/notification/hooks/useTranslatedParameters.ts +27 -0
  524. package/src/notification/sms-template/card/SmsTemplateCard.stories.tsx +3 -1
  525. package/src/notification/sms-template/card/SmsTemplateCard.tsx +13 -3
  526. package/src/notification/sms-template/control/SmsTemplateControl.tsx +40 -2
  527. package/src/notification/sms-template/form/SmsTemplateForm.stories.tsx +28 -0
  528. package/src/notification/sms-template/form/SmsTemplateForm.tsx +6 -1
  529. package/src/product-set/control/ProductSetControl.tsx +61 -33
  530. package/src/product-set/form/ProductSetForm.stories.tsx +41 -2
  531. package/src/product-set/form/ProductSetForm.tsx +11 -0
  532. package/src/product-set/form/ProductsControl.tsx +20 -1
  533. package/src/product-set/form/StepsControl.tsx +20 -2
  534. package/src/product-set/product/ProductControl.tsx +25 -10
  535. package/src/product-set/product/price/ProductPriceControl.tsx +43 -21
  536. package/src/product-set/utils/index.ts +28 -0
  537. package/src/provider/provider-details-input/ProviderDetailsInput.tsx +0 -2
  538. package/src/sales/filters/SaleFilters.tsx +1 -1
  539. package/src/sales/guest-profile/previous-bookings/PreviousBookings.stories.tsx +35 -5
  540. package/src/sales/guest-profile/previous-bookings/PreviousBookings.tsx +11 -3
  541. package/src/sales/manual-booking/select-menu/SelectMenu.tsx +3 -1
  542. package/src/striped-static-table/StripedStaticTable.stories.tsx +71 -0
  543. package/src/striped-static-table/StripedStaticTable.tsx +63 -0
  544. package/src/striped-static-table/index.ts +1 -0
  545. package/src/styles/customers/Filter.scss +23 -4
  546. package/src/styles/events/EventStatisticModal.scss +0 -37
  547. package/src/styles/packages.scss +1 -0
  548. package/src/styles/snippet-templates/SnippetTemplateCard.scss +16 -0
  549. package/src/styles/striped-static-table/_index.scss +33 -0
  550. package/src/table/StaticTable.tsx +4 -2
  551. package/src/typeahead/Typeahead.stories.tsx +9 -6
  552. package/src/typeahead/Typeahead.tsx +19 -12
  553. package/src/types/iframe.ts +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@licklist/design",
3
- "version": "0.44.485-dev.4",
3
+ "version": "0.44.485-dev.41",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+ssh://git@bitbucket.org/artelogicsoft/licklist_design.git"
@@ -53,9 +53,9 @@
53
53
  "@fortawesome/free-brands-svg-icons": "5.15.2",
54
54
  "@fortawesome/free-solid-svg-icons": "5.15.2",
55
55
  "@fortawesome/react-fontawesome": "0.1.9",
56
- "@licklist/core": "0.15.x",
56
+ "@licklist/core": ">=0.15.27-dev.0 < 0.15.27",
57
57
  "@licklist/eslint-config": "0.3.4",
58
- "@licklist/plugins": "0.20.x",
58
+ "@licklist/plugins": ">=0.20.133-dev.5 < 0.20.133",
59
59
  "@mdx-js/react": "1.6.22",
60
60
  "@react-aria/utils": "3.9.0",
61
61
  "@rollup/plugin-image": "2.0.6",
@@ -187,7 +187,7 @@
187
187
  "style-loader": "2.0.0",
188
188
  "ts-jest": "26.5.2",
189
189
  "twemoji-parser": "14.0.0",
190
- "typescript": "4.5.5",
190
+ "typescript": "4.9.5",
191
191
  "url-loader": "4.1.1",
192
192
  "use-debounce": "7.0.1"
193
193
  },
@@ -9,8 +9,7 @@ export default {
9
9
 
10
10
  export const Default: Story<CustomerFilterProps> = () => {
11
11
  const [values, setValues] = useState({
12
- first_name: "",
13
- last_name: "",
12
+ name: "",
14
13
  email: "",
15
14
  phone: "",
16
15
  });
@@ -4,15 +4,13 @@ import clsx from "clsx";
4
4
  import { TextField } from "../../../static/TextField";
5
5
 
6
6
  type CustomerFilterValues = {
7
- first_name: string;
8
- last_name: string;
7
+ name: string;
9
8
  email: string;
10
9
  phone: string;
11
10
  };
12
11
 
13
12
  const FILTER_FIELDS = {
14
- first_name: "firstName",
15
- last_name: "lastName",
13
+ name: "name",
16
14
  email: "email",
17
15
  phone: "phone",
18
16
  };
@@ -34,7 +32,7 @@ export const CustomerFilter = ({ values, onChange }: CustomerFilterProps) => {
34
32
  return (
35
33
  <TextField
36
34
  key={filterKeyName}
37
- className={clsx("mb-0")}
35
+ className={clsx("mb-0", "col-4", "customer-filter")}
38
36
  type="text"
39
37
  label={label}
40
38
  value={values[filterKeyName]}
@@ -6,6 +6,7 @@ import { useTranslation } from "react-i18next";
6
6
  import { useIntl } from "react-intl";
7
7
 
8
8
  import { useId } from "@react-aria/utils";
9
+ import { ProductSet } from "@licklist/core/dist/DataMapper/Product/ProductSetDataMapper";
9
10
  import HTMLInputDateElement from "../../types/static/HTMLInputDateElement";
10
11
  import { RecurrenceInput } from "../../recurrence-input";
11
12
  import { WarningMessage } from "../../static";
@@ -13,6 +14,8 @@ import { ProductSetFormValues } from "../../product-set/form";
13
14
 
14
15
  interface IntervalInputProps {
15
16
  editedProductSet?: ProductSetFormValues;
17
+ productSets?: ProductSet[];
18
+ productSetId?: number;
16
19
  disabled?: boolean;
17
20
  }
18
21
 
@@ -25,6 +28,8 @@ export interface IntervalInputValues {
25
28
  export function IntervalInput({
26
29
  disabled = false,
27
30
  editedProductSet,
31
+ productSetId,
32
+ productSets,
28
33
  }: IntervalInputProps) {
29
34
  const { t } = useTranslation(["Design", "Validation"]);
30
35
  const {
@@ -42,6 +47,7 @@ export function IntervalInput({
42
47
  const start = watch("start");
43
48
  const end = watch("end");
44
49
  const [recurrent, setRecurrent] = useState(Boolean(rrule));
50
+ const [isOverriden, setIsOverriden] = useState(false);
45
51
  const recurrentId = useId();
46
52
 
47
53
  const startDateInput = useRef<HTMLInputDateElement | null>(null);
@@ -66,6 +72,18 @@ export function IntervalInput({
66
72
  // eslint-disable-next-line react-hooks/exhaustive-deps
67
73
  }, [editedProductSet]);
68
74
 
75
+ useEffect(() => {
76
+ if (!productSets) return;
77
+
78
+ const isOverridenProductSet = productSets.find(
79
+ (productSet) =>
80
+ (editedProductSet && productSet?.id === editedProductSet?.id) ||
81
+ (Boolean(productSet?.parentMenuId) && productSet?.id === productSetId)
82
+ );
83
+
84
+ setIsOverriden(Boolean(isOverridenProductSet));
85
+ }, [productSets, productSetId, setIsOverriden, editedProductSet]);
86
+
69
87
  return (
70
88
  <>
71
89
  <Form.Row className="interval-container">
@@ -129,9 +147,11 @@ export function IntervalInput({
129
147
  {t("reccurentDescription", { item: t("event") })}
130
148
  </Form.Text>
131
149
  )}
132
- <WarningMessage message={t("recurrentOverridesWarining")} />
133
150
  </Form.Group>
134
151
  )}
152
+ {isOverriden && (
153
+ <WarningMessage message={t("recurrentOverridesWarining")} />
154
+ )}
135
155
  {recurrent && start && (
136
156
  <Form.Group>
137
157
  <Controller
@@ -121,6 +121,7 @@ export const EditEventForm = ({
121
121
 
122
122
  const visible = watch("visible");
123
123
  const editedProductSet = watch("editedProductSet");
124
+ const productSetId = watch("productSetId");
124
125
 
125
126
  const {
126
127
  images,
@@ -267,6 +268,8 @@ export const EditEventForm = ({
267
268
  <IntervalInput
268
269
  key={watch("rrule")}
269
270
  disabled={disabled}
271
+ productSetId={productSetId}
272
+ productSets={productSets}
270
273
  editedProductSet={editedProductSet}
271
274
  />
272
275
  {categories.length !== 0 && (
@@ -11,6 +11,7 @@ import { ProductSetControl } from "../../../../../product-set";
11
11
  import { ProductSetContextProvider } from "../../../../../product-set/form/context";
12
12
  import { getDefaultValues } from "../../../utils/getDefaultProductSet";
13
13
  import { EditEventFormValues } from "../../EditEventForm";
14
+ import { getFilteredTemplates } from "../../../../../product-set/utils/index";
14
15
 
15
16
  export const DEFAULT_FEE = 5;
16
17
 
@@ -109,8 +110,16 @@ export const EditEventProductSet = ({
109
110
  <FormProvider {...form}>
110
111
  <Form className="mt-6">
111
112
  <ProductSetControl
112
- emailTemplates={emailTemplates}
113
- smsTemplates={smsTemplates}
113
+ smsTemplates={getFilteredTemplates(
114
+ smsTemplates,
115
+ formValues?.smsTemplates
116
+ )}
117
+ emailTemplates={getFilteredTemplates(
118
+ emailTemplates,
119
+ formValues?.emailTemplates
120
+ )}
121
+ showEmailTemplate={!!emailTemplates}
122
+ showSmsTemplate={!!smsTemplates}
114
123
  fieldSets={fieldSetsData}
115
124
  isLoading={isLoading}
116
125
  companyName={selectedCompany?.title}
@@ -3,6 +3,7 @@ import {
3
3
  DEFAULT_PRODUCT_SET_TYPE,
4
4
  ProductSet,
5
5
  } from "@licklist/core/dist/DataMapper/Product/ProductSetDataMapper";
6
+ import { getFilteredTemplates } from "../../../product-set/utils/index";
6
7
  import { ProductSetFormValues } from "../../../product-set/form/ProductSetForm";
7
8
 
8
9
  export const getDefaultValues = (
@@ -14,15 +15,16 @@ export const getDefaultValues = (
14
15
  type: productSet?.type ?? DEFAULT_PRODUCT_SET_TYPE,
15
16
  termsAndConditions: productSet?.termsAndConditions ?? "",
16
17
  operationalCost: productSet?.operationalCost ?? DEFAULT_OPERATIONAL_COST_TYPE,
18
+ thankYouPageUrl: productSet?.thankYouPageUrl ?? "",
17
19
  isDefault: productSet?.isDefault ?? false,
18
20
  fieldSetId: productSet?.fieldSetId,
19
- emailTemplateId:
21
+ emailTemplates:
20
22
  productSet?.mailTemplates && productSet?.mailTemplates?.length > 0
21
- ? productSet?.mailTemplates[0].notification.id
23
+ ? getFilteredTemplates(productSet?.mailTemplates)
22
24
  : undefined,
23
- smsTemplateId:
25
+ smsTemplates:
24
26
  productSet?.smsTemplates && productSet?.smsTemplates?.length > 0
25
- ? productSet?.smsTemplates[0].notification.id
27
+ ? getFilteredTemplates(productSet?.mailTemplates)
26
28
  : undefined,
27
29
  steps:
28
30
  productSet?.steps?.map(({ productCategories, ...step }) => ({
@@ -55,7 +55,7 @@ export const EventStatisticModal = ({
55
55
  { key: "total", label: "" },
56
56
  ]}
57
57
  data={data}
58
- className="event-statistic-table"
58
+ className="striped-static-table"
59
59
  />
60
60
  </>
61
61
  ) : (
@@ -3,6 +3,7 @@ import { EventVenueMapProvider } from "@licklist/plugins/dist/context/event/Even
3
3
  import { Point } from "@licklist/plugins/dist/types/context/event/point";
4
4
  import { PointProduct } from "@licklist/core/dist/DataMapper/Product/PointProductDataMapper";
5
5
  import { Product } from "@licklist/core/dist/DataMapper/Product/ProductDataMapper";
6
+ import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
6
7
  import { VenueMap, VenueMapRef } from "./components/VenueMap";
7
8
  import { useCanvasSize } from "./hooks/useCanvasSize";
8
9
 
@@ -24,6 +25,7 @@ export type EventVenueMapProps = {
24
25
  products?: Partial<Product>[];
25
26
  pointProducts?: Partial<PointProduct>[];
26
27
  onPointProductsChange?: (values: Partial<PointProduct>[]) => void;
28
+ soldOutProducts?: ProductQuantityCheckResponse["products"];
27
29
  } & EventVenueMapIframeProps;
28
30
 
29
31
  export const EventVenueMap = forwardRef<VenueMapRef, EventVenueMapProps>(
@@ -43,6 +45,7 @@ export const EventVenueMap = forwardRef<VenueMapRef, EventVenueMapProps>(
43
45
  usedInIframe = false,
44
46
  choosedProductUuids = [],
45
47
  errorOnChoosedProductUuids = [],
48
+ soldOutProducts,
46
49
  },
47
50
  ref
48
51
  ) => {
@@ -66,6 +69,7 @@ export const EventVenueMap = forwardRef<VenueMapRef, EventVenueMapProps>(
66
69
  ref={ref}
67
70
  choosedProductUuids={choosedProductUuids}
68
71
  errorOnChoosedProductUuids={errorOnChoosedProductUuids}
72
+ soldOutProducts={soldOutProducts}
69
73
  />
70
74
  </EventVenueMapProvider>
71
75
  );
@@ -78,7 +78,8 @@ export const MapPoint = ({
78
78
  // have 2 points near one by one
79
79
  const nextPoints = prevPoints.slice();
80
80
  const currentPoint = nextPoints.find(
81
- (i) => i.id === id || i?.localId === localId
81
+ (point) =>
82
+ (id && point.id === id) || (localId && point.localId === localId)
82
83
  );
83
84
  const currentPointIndex = nextPoints.indexOf(currentPoint);
84
85
 
@@ -106,6 +107,7 @@ export const MapPoint = ({
106
107
  };
107
108
 
108
109
  const onMouseEnter = () => {
110
+ changePointPosition();
109
111
  changeCursorType("pointer");
110
112
  };
111
113
 
@@ -1,6 +1,7 @@
1
- import React, { useMemo } from "react";
1
+ import React, { useMemo, useState } from "react";
2
2
  import { Path, KonvaNodeEvents, Group, Circle } from "react-konva";
3
3
  import Konva from "konva";
4
+ import { ProductTooltip } from "../ProductTooltip";
4
5
 
5
6
  const ICON_DATA =
6
7
  "M14 0C9.3569 0.6633 4.6431 0.6633 0 0L6 7V13H3V14H11V13H8V7L14 0Z";
@@ -62,6 +63,8 @@ export const ProductIcon = ({
62
63
  const defaultX = -X_OFFSET;
63
64
  const defaultY = -Y_OFFSET;
64
65
 
66
+ const [hovered, setHovered] = useState<boolean>(false);
67
+
65
68
  const cssVariableValues = useMemo(() => {
66
69
  return {
67
70
  pointBackgroundColor:
@@ -119,7 +122,12 @@ export const ProductIcon = ({
119
122
  };
120
123
 
121
124
  return (
122
- <Group x={x} y={y}>
125
+ <Group
126
+ x={x}
127
+ y={y}
128
+ onMouseEnter={() => setHovered(true)}
129
+ onMouseLeave={() => setHovered(false)}
130
+ >
123
131
  <Circle
124
132
  radius={CIRCLE_RADIUS}
125
133
  strokeWidth={POINT_STROKE_WIDTH}
@@ -127,6 +135,9 @@ export const ProductIcon = ({
127
135
  y={defaultY * 0.75}
128
136
  {...circleColors()}
129
137
  />
138
+ {hovered && isSoldOut && (
139
+ <ProductTooltip x={defaultX} y={defaultY} text="Sold out" />
140
+ )}
130
141
  {isProductChoosed ? (
131
142
  <Path
132
143
  x={defaultX}
@@ -0,0 +1,68 @@
1
+ import React from "react";
2
+ import { Group, Rect, Text } from "react-konva";
3
+
4
+ const TOOLTIP_WIDTH = 60;
5
+ const TOOLTIP_HEIGHT = 20;
6
+
7
+ const BACKGROUND_COLOR = "#000";
8
+ const BACKGROUND_Y_OFFSET = 1;
9
+ const BACKGROUND_X_OFFSET = 30;
10
+ const BACKGROUND_RADIUS = 5;
11
+ const BACKGROUND_OPACITY = 0.8;
12
+
13
+ const TEXT_Y_OFFSET = 4;
14
+ const TEXT_STROKE_WIDTH = 5;
15
+ const TEXT_COLOR = "#FFF";
16
+ const TEXT_ALIGN = "center";
17
+ const TEXT_VERTICAL_ALIGN = "middle";
18
+
19
+ type ProductTooltipProps = {
20
+ x: number;
21
+ y: number;
22
+ text: string;
23
+ };
24
+
25
+ export const ProductTooltip = ({ x, y, text }: ProductTooltipProps) => {
26
+ return (
27
+ <Group
28
+ width={TOOLTIP_WIDTH}
29
+ height={TOOLTIP_HEIGHT}
30
+ x={x + BACKGROUND_X_OFFSET}
31
+ y={y - BACKGROUND_Y_OFFSET}
32
+ >
33
+ <Rect
34
+ x={-5}
35
+ y={5}
36
+ sceneFunc={(context) => {
37
+ context.beginPath();
38
+ context.moveTo(0, 5);
39
+ context.lineTo(5, 0);
40
+ context.lineTo(5, 10);
41
+ context.closePath();
42
+ context.fill();
43
+ }}
44
+ fill={BACKGROUND_COLOR}
45
+ borderColor={BACKGROUND_COLOR}
46
+ opacity={BACKGROUND_OPACITY}
47
+ />
48
+ <Rect
49
+ x={0}
50
+ y={0}
51
+ width={TOOLTIP_WIDTH}
52
+ height={TOOLTIP_HEIGHT}
53
+ fill={BACKGROUND_COLOR}
54
+ cornerRadius={BACKGROUND_RADIUS}
55
+ opacity={BACKGROUND_OPACITY}
56
+ />
57
+ <Text
58
+ y={TEXT_Y_OFFSET}
59
+ text={text}
60
+ strokeWidth={TEXT_STROKE_WIDTH}
61
+ width={TOOLTIP_WIDTH}
62
+ align={TEXT_ALIGN}
63
+ verticalAlign={TEXT_VERTICAL_ALIGN}
64
+ fill={TEXT_COLOR}
65
+ />
66
+ </Group>
67
+ );
68
+ };
@@ -0,0 +1 @@
1
+ export { ProductTooltip } from "./ProductTooltip";
@@ -11,6 +11,7 @@ import {
11
11
  EventVenueMapContext,
12
12
  EventVenueMapContextProps,
13
13
  } from "@licklist/plugins/dist/context/event/EventVenueMapContext";
14
+ import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
14
15
  import { useImage } from "../../hooks/useImage";
15
16
  import { useStageActions } from "../../hooks/useStageActions";
16
17
  import { MapPoint } from "../MapPoint";
@@ -32,6 +33,7 @@ export type VenueMapProps = {
32
33
  usedInIframe?: boolean;
33
34
  choosedProductUuids?: string[];
34
35
  errorOnChoosedProductUuids?: string[];
36
+ soldOutProducts?: ProductQuantityCheckResponse["products"];
35
37
  };
36
38
 
37
39
  export const VenueMap = forwardRef<VenueMapRef, VenueMapProps>(
@@ -45,6 +47,7 @@ export const VenueMap = forwardRef<VenueMapRef, VenueMapProps>(
45
47
  usedInIframe = false,
46
48
  choosedProductUuids = [],
47
49
  errorOnChoosedProductUuids = [],
50
+ soldOutProducts,
48
51
  },
49
52
  ref
50
53
  ) => {
@@ -112,13 +115,18 @@ export const VenueMap = forwardRef<VenueMapRef, VenueMapProps>(
112
115
  );
113
116
 
114
117
  if (!currentProduct) return false;
115
-
118
+ const selectedProduct = products.find(
119
+ (product) => product.uuid === currentProduct.productUuid
120
+ );
116
121
  return (
117
- products.find((product) => product.uuid === currentProduct.productUuid)
118
- ?.isSoldOut || false
122
+ selectedProduct?.isSoldOut ||
123
+ (selectedProduct &&
124
+ !!soldOutProducts?.find(
125
+ (product) => product?.product_id === selectedProduct?.id
126
+ )) ||
127
+ false
119
128
  );
120
129
  };
121
-
122
130
  return (
123
131
  <div className="venue-map" style={{ width, height }}>
124
132
  <div className="zone-name">
@@ -8,25 +8,25 @@ export type SummaryDataType = {
8
8
  quantity?: number;
9
9
  }[];
10
10
 
11
- export type SummaryProps = ({
12
- data: SummaryDataType,
13
- }) => React.PropsWithChildren<any>;
11
+ export const Summary = ({ data = [] }: { data: SummaryDataType }) => {
12
+ return (
13
+ <>
14
+ {data.map(({ name, image, quantity, title }) => {
15
+ const classNames = clsx("name", "mb-4", image && "align-items-center");
14
16
 
15
- export const Summary: SummaryProps = ({ data = [] }) => {
16
- return data.map(({ name, image, quantity, title }) => {
17
- const classNames = clsx("name", "mb-4", image && "align-items-center");
18
-
19
- return (
20
- <div key={name} className="summary">
21
- <p className="title mb-1">{title}</p>
22
- <div className={classNames}>
23
- {image && <img className="image mr-3" src={image} alt={name} />}
24
- {quantity && quantity > 1 && (
25
- <span className="quantity mr-3">{quantity}x</span>
26
- )}
27
- {name}
28
- </div>
29
- </div>
30
- );
31
- });
17
+ return (
18
+ <div key={name} className="summary">
19
+ <p className="title mb-1">{title}</p>
20
+ <div className={classNames}>
21
+ {image && <img className="image mr-3" src={image} alt={name} />}
22
+ {quantity && quantity > 1 && (
23
+ <span className="quantity mr-3">{quantity}x</span>
24
+ )}
25
+ {name}
26
+ </div>
27
+ </div>
28
+ );
29
+ })}
30
+ </>
31
+ );
32
32
  };
@@ -6,6 +6,7 @@ import { Page, PageBody, PageHeader } from "../../page";
6
6
  import { BookingSummaryFooter } from "../../order-process/components/BookingSummaryFooter";
7
7
  import { BookingSummary } from "../../order-process/components/BookingSummary";
8
8
  import { CalendarSelect } from "../event-calendar/components/CalendarSelect";
9
+ import { Product } from "../../../types";
9
10
 
10
11
  export default {
11
12
  title: "Iframe/Event/IframeEventVenueMap",
@@ -268,6 +269,10 @@ export function Default() {
268
269
  pointProducts={MENU_STEPS[0].pointProducts}
269
270
  usedInIframe={usedInIframe}
270
271
  onPointClick={(pointId) => console.log({ pointId })}
272
+ products={
273
+ MENU_STEPS[0].productCategories[0]
274
+ .products as Partial<Product>[]
275
+ }
271
276
  choosedProductUuids={[
272
277
  "beb6393c-2fdd-40f7-bb92-8800685b203f",
273
278
  "beb6393c-2fdd-40f7-bb92-8800685b203a",
@@ -49,6 +49,7 @@ const productCategories = [
49
49
 
50
50
  price: 5,
51
51
  deposit: 3,
52
+ minSub: 10,
52
53
  isRequired: true,
53
54
  images: IMAGES,
54
55
  },
@@ -197,14 +198,14 @@ export default {
197
198
  } as Meta;
198
199
 
199
200
  const TimerWrapper = () => {
200
- const [timer, setTimer] = useState(60);
201
+ const [timer, setTimer] = useState(120000);
201
202
  const updateTimerState = () => {
202
203
  setTimer((prevValue) => {
203
204
  if (prevValue <= 0) {
204
205
  return 0;
205
206
  }
206
207
 
207
- const nexValue = prevValue - 1;
208
+ const nexValue = prevValue - 1000;
208
209
 
209
210
  return nexValue;
210
211
  });
@@ -25,6 +25,9 @@ export const BookingSummary = ({
25
25
  const { formatNumber } = useIntl();
26
26
 
27
27
  const orderProducts = useMemo(() => {
28
+ if (!formValues) {
29
+ return undefined;
30
+ }
28
31
  const products = Object.values(formValues).filter(Boolean) as Order[];
29
32
 
30
33
  return products?.filter((prod) => prod?.quantity !== 0);
@@ -47,7 +50,7 @@ export const BookingSummary = ({
47
50
  </div>
48
51
  <hr />
49
52
 
50
- {orderProducts.length > 0 ? (
53
+ {orderProducts?.length > 0 ? (
51
54
  <div>
52
55
  <div className="cart-items">
53
56
  {menuSteps.map((menuStep: MenuStep) => {
@@ -6,13 +6,13 @@ export const ACCORDION_KEY = "booking-summary";
6
6
 
7
7
  export type BookingSummaryProps = {
8
8
  date: string;
9
- menuSteps: MenuStep[];
10
- formValues: {
9
+ menuSteps?: MenuStep[];
10
+ formValues?: {
11
11
  [key: string]: Order;
12
12
  };
13
13
  totalWithDiscount?: number;
14
14
  isNotShownPeopleAmount?: boolean;
15
- eventName: string;
15
+ eventName?: string;
16
16
  hasPeopleInput?: boolean;
17
17
  transactionFee?: number;
18
18
  isFreePayment?: boolean;
@@ -1,8 +1,12 @@
1
1
  import { Order } from "../../../../../types";
2
2
 
3
- export const cartSumByOrderProducts = (orderProducts: Order[]) =>
4
- orderProducts.reduce((prevSumValue: number, product) => {
3
+ export const cartSumByOrderProducts = (orderProducts?: Order[]) => {
4
+ if (!orderProducts || !orderProducts.length) {
5
+ return 0;
6
+ }
7
+ return orderProducts.reduce((prevSumValue: number, product) => {
5
8
  return (
6
9
  prevSumValue + (product?.deposit || product?.price) * product.quantity
7
10
  );
8
11
  }, 0);
12
+ };
@@ -425,6 +425,7 @@ export function Default() {
425
425
  menuStepWithVenueMap={MENU_STEPS[0] as any}
426
426
  title="Select a product"
427
427
  activeVenueMapId="7"
428
+ soldOutProducts={[{ product_id: 148, message: "message" }]}
428
429
  />
429
430
  }
430
431
  rightBlock={
@@ -19,6 +19,7 @@ import {
19
19
  import { Step } from "@licklist/core/dist/DataMapper/Product/StepDataMapper";
20
20
  import { useTranslation } from "react-i18next";
21
21
  import { Product } from "@licklist/core/dist/DataMapper/Product/ProductDataMapper";
22
+ import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
22
23
  import { Category } from "./components/Category";
23
24
  import { MenuStep } from "../../../../types";
24
25
  import { STEP_FORM_ID } from "../../constants";
@@ -44,6 +45,7 @@ export interface CalendarStepsFormProps {
44
45
  onActiveVenueMapChange?: (nextVenueMapId: string) => void;
45
46
  title: string;
46
47
  menuStepWithVenueMap: Step;
48
+ soldOutProducts?: ProductQuantityCheckResponse["products"];
47
49
  }
48
50
 
49
51
  export type StepsFormRef = {
@@ -67,6 +69,7 @@ export const CalendarStepsForm = forwardRef<
67
69
  title,
68
70
  menuStepWithVenueMap,
69
71
  onActiveVenueMapChange,
72
+ soldOutProducts,
70
73
  },
71
74
  ref
72
75
  ) => {
@@ -340,12 +343,14 @@ export const CalendarStepsForm = forwardRef<
340
343
  ref={canvasRef}
341
344
  choosedProductUuids={choosedProductUuids}
342
345
  errorOnChoosedProductUuids={errorOnChoosedProductUuids}
346
+ soldOutProducts={soldOutProducts}
343
347
  />
344
348
  <Category
345
349
  productCategories={step?.productCategories}
346
350
  activePointId={activePointId}
347
351
  pointProducts={menuStepWithVenueMap.pointProducts}
348
352
  onCloseModal={onCloseProductModal}
353
+ soldOutProducts={soldOutProducts}
349
354
  />
350
355
  </>
351
356
  )}
@@ -1,5 +1,6 @@
1
1
  import React from "react";
2
2
  import { PointProduct } from "@licklist/core/dist/DataMapper/Product/PointProductDataMapper";
3
+ import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
3
4
  import { ProductCategory } from "../../../../../types";
4
5
  import { CategoryProductModal } from "./CategoryProductModal";
5
6
 
@@ -8,6 +9,7 @@ export type CategoryProps = {
8
9
  activePointId?: number;
9
10
  pointProducts: PointProduct[];
10
11
  onCloseModal: () => void;
12
+ soldOutProducts?: ProductQuantityCheckResponse["products"];
11
13
  };
12
14
 
13
15
  export const Category = ({
@@ -15,6 +17,7 @@ export const Category = ({
15
17
  activePointId,
16
18
  pointProducts,
17
19
  onCloseModal,
20
+ soldOutProducts,
18
21
  }: CategoryProps) => {
19
22
  return (
20
23
  <>
@@ -31,6 +34,7 @@ export const Category = ({
31
34
  activePointId={activePointId}
32
35
  pointProducts={pointProducts}
33
36
  onCloseModal={onCloseModal}
37
+ soldOutProducts={soldOutProducts}
34
38
  />
35
39
  );
36
40
  })}