@licklist/design 0.44.485-dev.9 → 0.44.485-dev.91

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 (932) 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/assets/iframe/dateInfo/available.svg +5 -0
  4. package/dist/assets/iframe/dateInfo/limited.svg +5 -0
  5. package/dist/assets/iframe/dateInfo/soldOut.svg +6 -0
  6. package/dist/auth/Login/LoginComponent.d.ts +1 -1
  7. package/dist/auth/Login/LoginComponent.d.ts.map +1 -1
  8. package/dist/auth/Login/LoginFormComponent.d.ts +1 -1
  9. package/dist/auth/Login/LoginFormComponent.d.ts.map +1 -1
  10. package/dist/auth/Register/RegisterComponent.d.ts +1 -1
  11. package/dist/auth/Register/RegisterComponent.d.ts.map +1 -1
  12. package/dist/auth/Register/RegisterFormComponent.d.ts +1 -1
  13. package/dist/auth/Register/RegisterFormComponent.d.ts.map +1 -1
  14. package/dist/auth/ResetPassword/ResetPasswordFormComponent.d.ts +1 -1
  15. package/dist/auth/ResetPassword/ResetPasswordFormComponent.d.ts.map +1 -1
  16. package/dist/collapsible-input-group/CollapsibleInputGroup.d.ts +1 -1
  17. package/dist/collapsible-input-group/CollapsibleInputGroup.d.ts.map +1 -1
  18. package/dist/custom-fields/field-set/CustomFieldSets.d.ts +3 -3
  19. package/dist/custom-fields/field-set/CustomFieldSets.d.ts.map +1 -1
  20. package/dist/custom-fields/field-set/components/CustomFieldSet/CustomFieldSet.d.ts +1 -1
  21. package/dist/custom-fields/field-set/components/CustomFieldSet/CustomFieldSet.d.ts.map +1 -1
  22. package/dist/custom-fields/field-set/contexts/useCustomFieldSets.d.ts +2 -2
  23. package/dist/custom-fields/field-set/contexts/useCustomFieldSets.d.ts.map +1 -1
  24. package/dist/customers/components/filter/CustomerFilter.d.ts +1 -1
  25. package/dist/customers/components/filter/CustomerFilter.d.ts.map +1 -1
  26. package/dist/date-time-button/DateTimeButton.d.ts +12 -0
  27. package/dist/date-time-button/DateTimeButton.d.ts.map +1 -0
  28. package/dist/date-time-button/DateTimeButton.js +1 -0
  29. package/dist/date-time-button/index.d.ts +2 -0
  30. package/dist/date-time-button/index.d.ts.map +1 -0
  31. package/dist/events/edit-event-modal/IntervalInput.d.ts +4 -1
  32. package/dist/events/edit-event-modal/IntervalInput.d.ts.map +1 -1
  33. package/dist/events/edit-event-modal/IntervalInput.js +1 -1
  34. package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.d.ts.map +1 -1
  35. package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.js +1 -1
  36. package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.d.ts.map +1 -1
  37. package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.js +1 -1
  38. package/dist/events/edit-event-modal/utils/getDefaultProductSet.d.ts.map +1 -1
  39. package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +1 -1
  40. package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.d.ts +3 -3
  41. package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.d.ts.map +1 -1
  42. package/dist/events/event-statistic-modal/EventStatisticModal.d.ts +1 -1
  43. package/dist/events/event-statistic-modal/EventStatisticModal.d.ts.map +1 -1
  44. package/dist/events/event-statistic-modal/EventStatisticModal.js +1 -1
  45. package/dist/events/event-venue-map/EventVenueMap.d.ts +5 -2
  46. package/dist/events/event-venue-map/EventVenueMap.d.ts.map +1 -1
  47. package/dist/events/event-venue-map/EventVenueMap.js +1 -1
  48. package/dist/events/event-venue-map/components/Dropdown/Dropdown.d.ts +1 -1
  49. package/dist/events/event-venue-map/components/Dropdown/Dropdown.d.ts.map +1 -1
  50. package/dist/events/event-venue-map/components/Dropdown/components/ProductsControl/ProductsControl.d.ts +1 -1
  51. package/dist/events/event-venue-map/components/Dropdown/components/ProductsControl/ProductsControl.d.ts.map +1 -1
  52. package/dist/events/event-venue-map/components/Dropdown/components/SelectControl/SelectControl.d.ts +1 -1
  53. package/dist/events/event-venue-map/components/Dropdown/components/SelectControl/SelectControl.d.ts.map +1 -1
  54. package/dist/events/event-venue-map/components/MapPoint/MapPoint.d.ts +1 -1
  55. package/dist/events/event-venue-map/components/MapPoint/MapPoint.d.ts.map +1 -1
  56. package/dist/events/event-venue-map/components/MapPoint/MapPoint.js +1 -1
  57. package/dist/events/event-venue-map/components/MapPoint/components/DeleteIcon/DeleteIcon.d.ts +1 -1
  58. package/dist/events/event-venue-map/components/MapPoint/components/DeleteIcon/DeleteIcon.d.ts.map +1 -1
  59. package/dist/events/event-venue-map/components/MapPoint/components/EditIcon/EditIcon.d.ts +1 -1
  60. package/dist/events/event-venue-map/components/MapPoint/components/EditIcon/EditIcon.d.ts.map +1 -1
  61. package/dist/events/event-venue-map/components/MapPoint/components/PointIcon/PointIcon.d.ts +1 -1
  62. package/dist/events/event-venue-map/components/MapPoint/components/PointIcon/PointIcon.d.ts.map +1 -1
  63. package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.d.ts +1 -1
  64. package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.d.ts.map +1 -1
  65. package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.js +1 -1
  66. package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.d.ts +9 -0
  67. package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.d.ts.map +1 -0
  68. package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.js +1 -0
  69. package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.d.ts +2 -0
  70. package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.d.ts.map +1 -0
  71. package/dist/events/event-venue-map/components/VenueMap/VenueMap.d.ts +4 -2
  72. package/dist/events/event-venue-map/components/VenueMap/VenueMap.d.ts.map +1 -1
  73. package/dist/events/event-venue-map/components/VenueMap/VenueMap.js +1 -1
  74. package/dist/events/event-venue-map/hooks/useCanvasSize.d.ts +1 -1
  75. package/dist/events/event-venue-map/hooks/useCanvasSize.d.ts.map +1 -1
  76. package/dist/events/event-venue-map/hooks/useStageActions.d.ts +1 -1
  77. package/dist/events/event-venue-map/hooks/useStageActions.d.ts.map +1 -1
  78. package/dist/events/event-venue-map/types/index.d.ts +5 -5
  79. package/dist/events/event-venue-map/types/index.d.ts.map +1 -1
  80. package/dist/events/event-venue-map/utils/index.d.ts +3 -3
  81. package/dist/events/event-venue-map/utils/index.d.ts.map +1 -1
  82. package/dist/file-upload/FilePreview.d.ts +2 -2
  83. package/dist/file-upload/FilePreview.d.ts.map +1 -1
  84. package/dist/file-upload/FileUpload.d.ts +1 -1
  85. package/dist/file-upload/FileUpload.d.ts.map +1 -1
  86. package/dist/header/Header.d.ts +1 -1
  87. package/dist/header/Header.d.ts.map +1 -1
  88. package/dist/help/example/Example.d.ts +4 -4
  89. package/dist/help/example/Example.d.ts.map +1 -1
  90. package/dist/help/popover/HelpPopover.d.ts +5 -3
  91. package/dist/help/popover/HelpPopover.d.ts.map +1 -1
  92. package/dist/help/popover/HelpPopover.js +1 -1
  93. package/dist/iframe/activity-cards/activity-card/ActivityCard.d.ts +12 -0
  94. package/dist/iframe/activity-cards/activity-card/ActivityCard.d.ts.map +1 -0
  95. package/dist/iframe/activity-cards/activity-card/ActivityCard.js +1 -0
  96. package/dist/iframe/activity-cards/index.d.ts +3 -0
  97. package/dist/iframe/activity-cards/index.d.ts.map +1 -0
  98. package/dist/iframe/activity-cards/list-activity-card/ListActivityCard.d.ts +12 -0
  99. package/dist/iframe/activity-cards/list-activity-card/ListActivityCard.d.ts.map +1 -0
  100. package/dist/iframe/activity-cards/list-activity-card/ListActivityCard.js +1 -0
  101. package/dist/iframe/custom-fields/components/CustomDateField.d.ts +1 -1
  102. package/dist/iframe/custom-fields/components/CustomDateField.d.ts.map +1 -1
  103. package/dist/iframe/event/event-calendar/EventCalendar.d.ts +1 -1
  104. package/dist/iframe/event/event-calendar/EventCalendar.d.ts.map +1 -1
  105. package/dist/iframe/event/event-calendar/components/CalendarButtons/CalendarButtons.d.ts +1 -1
  106. package/dist/iframe/event/event-calendar/components/CalendarButtons/CalendarButtons.d.ts.map +1 -1
  107. package/dist/iframe/event/event-calendar/components/CalendarDate/CalendarDate.d.ts +1 -1
  108. package/dist/iframe/event/event-calendar/components/CalendarDate/CalendarDate.d.ts.map +1 -1
  109. package/dist/iframe/event/event-calendar/components/CalendarDates/CalendarDates.d.ts +1 -1
  110. package/dist/iframe/event/event-calendar/components/CalendarDates/CalendarDates.d.ts.map +1 -1
  111. package/dist/iframe/event/event-calendar/components/CalendarSelect/CalendarSelect.d.ts +2 -2
  112. package/dist/iframe/event/event-calendar/components/CalendarSelect/CalendarSelect.d.ts.map +1 -1
  113. package/dist/iframe/event/event-calendar/types/index.d.ts +1 -1
  114. package/dist/iframe/event/event-calendar/types/index.d.ts.map +1 -1
  115. package/dist/iframe/event/event-card/IframeEventCard.d.ts +3 -3
  116. package/dist/iframe/event/event-card/IframeEventCard.d.ts.map +1 -1
  117. package/dist/iframe/event/event-card/IframeEventCard.js +1 -1
  118. package/dist/iframe/event/event-card/IframeEventCardSkeleton.d.ts +3 -3
  119. package/dist/iframe/event/event-card/IframeEventCardSkeleton.d.ts.map +1 -1
  120. package/dist/iframe/event/event-card/IframeEventCardSkeleton.js +1 -1
  121. package/dist/iframe/event/event-details/EventDetails.d.ts +1 -1
  122. package/dist/iframe/event/event-details/EventDetails.d.ts.map +1 -1
  123. package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.d.ts +5 -6
  124. package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.d.ts.map +1 -1
  125. package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.js +1 -1
  126. package/dist/iframe/event/event-product-sets/EventProductSets.d.ts +1 -1
  127. package/dist/iframe/event/event-product-sets/EventProductSets.d.ts.map +1 -1
  128. package/dist/iframe/event/event-product-sets/components/EventProductSet.d.ts +1 -1
  129. package/dist/iframe/event/event-product-sets/components/EventProductSet.d.ts.map +1 -1
  130. package/dist/iframe/event/event-step-venue-map-zones/EventStepVenueMapZones.d.ts +1 -1
  131. package/dist/iframe/event/event-step-venue-map-zones/EventStepVenueMapZones.d.ts.map +1 -1
  132. package/dist/iframe/event/event-step-venue-map-zones/components/EventStepVenueMapZone.d.ts +1 -1
  133. package/dist/iframe/event/event-step-venue-map-zones/components/EventStepVenueMapZone.d.ts.map +1 -1
  134. package/dist/iframe/event/event-venue-map/IframeEventVenueMap.d.ts +2 -1
  135. package/dist/iframe/event/event-venue-map/IframeEventVenueMap.d.ts.map +1 -1
  136. package/dist/iframe/index.d.ts +2 -1
  137. package/dist/iframe/index.d.ts.map +1 -1
  138. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts.map +1 -1
  139. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.js +1 -1
  140. package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.d.ts +1 -1
  141. package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.d.ts.map +1 -1
  142. package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts +3 -3
  143. package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts.map +1 -1
  144. package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.d.ts +1 -1
  145. package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.d.ts.map +1 -1
  146. package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.d.ts +1 -1
  147. package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.d.ts.map +1 -1
  148. package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts +6 -6
  149. package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts.map +1 -1
  150. package/dist/iframe/order-process/components/BookingSummary/utils/index.d.ts +1 -1
  151. package/dist/iframe/order-process/components/BookingSummary/utils/index.d.ts.map +1 -1
  152. package/dist/iframe/order-process/components/BookingSummary/utils/index.js +1 -1
  153. package/dist/iframe/order-process/components/BookingSummaryFooter/BookingSummaryFooter.d.ts +4 -4
  154. package/dist/iframe/order-process/components/BookingSummaryFooter/BookingSummaryFooter.d.ts.map +1 -1
  155. package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.d.ts +3 -1
  156. package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.d.ts.map +1 -1
  157. package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.js +1 -1
  158. package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.d.ts +4 -2
  159. package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.d.ts.map +1 -1
  160. package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.js +1 -1
  161. package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts +4 -2
  162. package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts.map +1 -1
  163. package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.js +1 -1
  164. package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts +4 -3
  165. package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts.map +1 -1
  166. package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.js +1 -1
  167. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts +1 -0
  168. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts.map +1 -1
  169. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js +1 -1
  170. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts +2 -2
  171. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts.map +1 -1
  172. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.js +1 -1
  173. package/dist/iframe/order-process/components/ErrorModal/ErrorModal.d.ts.map +1 -0
  174. package/dist/iframe/order-process/components/ErrorModal/ErrorModal.js +1 -0
  175. package/dist/iframe/order-process/components/ErrorModal/index.d.ts +2 -0
  176. package/dist/iframe/order-process/components/ErrorModal/index.d.ts.map +1 -0
  177. package/dist/iframe/order-process/components/NavigationSteps/NavigationSteps.d.ts +8 -7
  178. package/dist/iframe/order-process/components/NavigationSteps/NavigationSteps.d.ts.map +1 -1
  179. package/dist/iframe/order-process/components/NavigationSteps/index.d.ts +1 -1
  180. package/dist/iframe/order-process/components/NavigationSteps/index.d.ts.map +1 -1
  181. package/dist/iframe/order-process/components/PaymentCard/PaymentCard.d.ts +1 -1
  182. package/dist/iframe/order-process/components/PaymentCard/PaymentCard.d.ts.map +1 -1
  183. package/dist/iframe/order-process/components/Timer/Timer.d.ts +1 -1
  184. package/dist/iframe/order-process/components/Timer/Timer.d.ts.map +1 -1
  185. package/dist/iframe/order-process/components/Timer/utils/index.d.ts +1 -1
  186. package/dist/iframe/order-process/components/Timer/utils/index.d.ts.map +1 -1
  187. package/dist/iframe/order-process/components/Timer/utils/index.js +1 -1
  188. package/dist/iframe/order-process/components/utils/useCategoryVerification.d.ts +8 -0
  189. package/dist/iframe/order-process/components/utils/useCategoryVerification.d.ts.map +1 -0
  190. package/dist/iframe/order-process/components/utils/useCategoryVerification.js +1 -0
  191. package/dist/iframe/order-process/index.d.ts +3 -2
  192. package/dist/iframe/order-process/index.d.ts.map +1 -1
  193. package/dist/iframe/page/Page.d.ts +1 -1
  194. package/dist/iframe/page/Page.d.ts.map +1 -1
  195. package/dist/iframe/page/components/PageBody/PageBody.d.ts +2 -2
  196. package/dist/iframe/page/components/PageBody/PageBody.d.ts.map +1 -1
  197. package/dist/iframe/page/components/PageBody/PageBody.js +1 -1
  198. package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.d.ts +3 -3
  199. package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.d.ts.map +1 -1
  200. package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.js +1 -1
  201. package/dist/iframe/page/components/PageBody/components/RightBlock/RightBlock.d.ts +1 -1
  202. package/dist/iframe/page/components/PageBody/components/RightBlock/RightBlock.d.ts.map +1 -1
  203. package/dist/iframe/page/components/PageBody/types.d.ts +1 -1
  204. package/dist/iframe/page/components/PageBody/types.d.ts.map +1 -1
  205. package/dist/iframe/page/components/PageHeader/PageHeader.d.ts +1 -1
  206. package/dist/iframe/page/components/PageHeader/PageHeader.d.ts.map +1 -1
  207. package/dist/iframe/payment/order-items-table/types/index.d.ts +2 -2
  208. package/dist/iframe/payment/order-items-table/types/index.d.ts.map +1 -1
  209. package/dist/iframe/payment/order-items-table/utils/index.d.ts.map +1 -1
  210. package/dist/iframe/payment/order-items-table/utils/index.js +1 -1
  211. package/dist/iframe/payment/payment-page/PaymentPage.d.ts +1 -1
  212. package/dist/iframe/payment/payment-page/PaymentPage.d.ts.map +1 -1
  213. package/dist/iframe/payment/payment-page/PaymentPage.js +1 -1
  214. package/dist/iframe/payment/payment-page/PaymentTimer.d.ts +1 -0
  215. package/dist/iframe/payment/payment-page/PaymentTimer.d.ts.map +1 -1
  216. package/dist/iframe/payment/payment-page/PaymentTimer.js +1 -1
  217. package/dist/iframe/payment/payment-status-header/PaymentStatusHeader.d.ts +1 -1
  218. package/dist/iframe/payment/payment-status-header/PaymentStatusHeader.d.ts.map +1 -1
  219. package/dist/iframe/payment/payment-status-page/PaymentStatusPage.d.ts +5 -3
  220. package/dist/iframe/payment/payment-status-page/PaymentStatusPage.d.ts.map +1 -1
  221. package/dist/iframe/payment/payment-status-page/PaymentStatusPage.js +1 -1
  222. package/dist/iframe/powered-by/PoweredBy.d.ts +1 -1
  223. package/dist/iframe/powered-by/PoweredBy.d.ts.map +1 -1
  224. package/dist/iframe/ryft/RyftPaymentForm.d.ts +1 -1
  225. package/dist/iframe/ryft/RyftPaymentForm.d.ts.map +1 -1
  226. package/dist/image-radio-input/ImageRadioInput.d.ts +15 -0
  227. package/dist/image-radio-input/ImageRadioInput.d.ts.map +1 -0
  228. package/dist/image-radio-input/ImageRadioInput.js +1 -0
  229. package/dist/image-radio-input/index.d.ts.map +1 -0
  230. package/dist/index.d.ts +6 -0
  231. package/dist/index.d.ts.map +1 -1
  232. package/dist/index.js +1 -1
  233. package/dist/logo/Logo.d.ts +1 -1
  234. package/dist/logo/Logo.d.ts.map +1 -1
  235. package/dist/modals/confirmation/ConfirmModal.d.ts +2 -2
  236. package/dist/modals/confirmation/ConfirmModal.d.ts.map +1 -1
  237. package/dist/notification/email-template/card/EmailTemplateCard.d.ts +4 -1
  238. package/dist/notification/email-template/card/EmailTemplateCard.d.ts.map +1 -1
  239. package/dist/notification/email-template/card/EmailTemplateCard.js +1 -1
  240. package/dist/notification/email-template/control/EmailTemplateControl.d.ts +3 -0
  241. package/dist/notification/email-template/control/EmailTemplateControl.d.ts.map +1 -1
  242. package/dist/notification/email-template/control/EmailTemplateControl.js +1 -1
  243. package/dist/notification/email-template/form/EmailTemplateForm.d.ts +7 -1
  244. package/dist/notification/email-template/form/EmailTemplateForm.d.ts.map +1 -1
  245. package/dist/notification/email-template/form/EmailTemplateForm.js +1 -1
  246. package/dist/notification/hooks/useTranslatedParameters.d.ts +7 -0
  247. package/dist/notification/hooks/useTranslatedParameters.d.ts.map +1 -0
  248. package/dist/notification/hooks/useTranslatedParameters.js +1 -0
  249. package/dist/notification/sms-template/card/SmsTemplateCard.d.ts +4 -1
  250. package/dist/notification/sms-template/card/SmsTemplateCard.d.ts.map +1 -1
  251. package/dist/notification/sms-template/card/SmsTemplateCard.js +1 -1
  252. package/dist/notification/sms-template/control/SmsTemplateControl.d.ts +6 -1
  253. package/dist/notification/sms-template/control/SmsTemplateControl.d.ts.map +1 -1
  254. package/dist/notification/sms-template/control/SmsTemplateControl.js +1 -1
  255. package/dist/notification/sms-template/form/SmsTemplateForm.d.ts +5 -1
  256. package/dist/notification/sms-template/form/SmsTemplateForm.d.ts.map +1 -1
  257. package/dist/notification/sms-template/form/SmsTemplateForm.js +1 -1
  258. package/dist/product-set/control/DateAndRecurrenceInput.d.ts +2 -0
  259. package/dist/product-set/control/DateAndRecurrenceInput.d.ts.map +1 -1
  260. package/dist/product-set/control/DateAndRecurrenceInput.js +1 -1
  261. package/dist/product-set/control/ProductSetControl.d.ts +16 -4
  262. package/dist/product-set/control/ProductSetControl.d.ts.map +1 -1
  263. package/dist/product-set/control/ProductSetControl.js +1 -1
  264. package/dist/product-set/deposit-paid/ProductSetDepositPaidControl.d.ts +3 -3
  265. package/dist/product-set/deposit-paid/ProductSetDepositPaidControl.d.ts.map +1 -1
  266. package/dist/product-set/elements/DeleteFieldButton.d.ts +1 -1
  267. package/dist/product-set/elements/DeleteFieldButton.d.ts.map +1 -1
  268. package/dist/product-set/form/ProductCategoriesControl.d.ts.map +1 -1
  269. package/dist/product-set/form/ProductCategoriesControl.js +1 -1
  270. package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
  271. package/dist/product-set/form/ProductSetForm.js +1 -1
  272. package/dist/product-set/form/ProductsControl.d.ts.map +1 -1
  273. package/dist/product-set/form/ProductsControl.js +1 -1
  274. package/dist/product-set/form/StepsControl.d.ts.map +1 -1
  275. package/dist/product-set/form/StepsControl.js +1 -1
  276. package/dist/product-set/form/VenueMapSetModal.d.ts +1 -1
  277. package/dist/product-set/form/VenueMapSetModal.d.ts.map +1 -1
  278. package/dist/product-set/form/VenueMapsControl.d.ts +1 -1
  279. package/dist/product-set/form/VenueMapsControl.d.ts.map +1 -1
  280. package/dist/product-set/form/context.d.ts +1 -1
  281. package/dist/product-set/form/context.d.ts.map +1 -1
  282. package/dist/product-set/hooks/useSortableTreeFunctions.d.ts +11 -0
  283. package/dist/product-set/hooks/useSortableTreeFunctions.d.ts.map +1 -0
  284. package/dist/product-set/hooks/useSortableTreeFunctions.js +1 -0
  285. package/dist/product-set/popover/ProductSetPopover.d.ts +1 -1
  286. package/dist/product-set/popover/ProductSetPopover.d.ts.map +1 -1
  287. package/dist/product-set/product/ProductControl.d.ts +1 -0
  288. package/dist/product-set/product/ProductControl.d.ts.map +1 -1
  289. package/dist/product-set/product/ProductControl.js +1 -1
  290. package/dist/product-set/product/constants.d.ts +2 -0
  291. package/dist/product-set/product/constants.d.ts.map +1 -0
  292. package/dist/product-set/product/constants.js +1 -0
  293. package/dist/product-set/product/fixed-duration-fields/FixedDurationOptions.d.ts +1 -1
  294. package/dist/product-set/product/fixed-duration-fields/FixedDurationOptions.d.ts.map +1 -1
  295. package/dist/product-set/product/price/ProductPriceControl.d.ts +7 -3
  296. package/dist/product-set/product/price/ProductPriceControl.d.ts.map +1 -1
  297. package/dist/product-set/product/price/ProductPriceControl.js +1 -1
  298. package/dist/product-set/product/quantity/ProductQuantityRechargingControl.d.ts.map +1 -1
  299. package/dist/product-set/product/quantity/ProductQuantityRechargingControl.js +1 -1
  300. package/dist/product-set/product-category/ProductCategoryControl.js +1 -1
  301. package/dist/product-set/tabs/ProductSetTab.d.ts +1 -1
  302. package/dist/product-set/tabs/ProductSetTab.d.ts.map +1 -1
  303. package/dist/product-set/tabs/ProductSetTabs.d.ts +1 -1
  304. package/dist/product-set/tabs/ProductSetTabs.d.ts.map +1 -1
  305. package/dist/product-set/types/index.d.ts +5 -5
  306. package/dist/product-set/types/index.d.ts.map +1 -1
  307. package/dist/product-set/utils/index.d.ts +4 -0
  308. package/dist/product-set/utils/index.d.ts.map +1 -1
  309. package/dist/product-set/utils/index.js +1 -1
  310. package/dist/provider/categories-input/CategoriesInput.d.ts +1 -1
  311. package/dist/provider/categories-input/CategoriesInput.d.ts.map +1 -1
  312. package/dist/provider/categories-input/CategoriesInputDescription.d.ts +1 -1
  313. package/dist/provider/categories-input/CategoriesInputDescription.d.ts.map +1 -1
  314. package/dist/provider/categories-input/index.d.ts +1 -1
  315. package/dist/provider/categories-input/index.d.ts.map +1 -1
  316. package/dist/provider/company/user-form/UserForm.d.ts +2 -2
  317. package/dist/provider/company/user-form/UserForm.d.ts.map +1 -1
  318. package/dist/provider/constants.d.ts +2 -0
  319. package/dist/provider/constants.d.ts.map +1 -0
  320. package/dist/provider/constants.js +1 -0
  321. package/dist/provider/location-input/index.d.ts +1 -1
  322. package/dist/provider/location-input/index.d.ts.map +1 -1
  323. package/dist/provider/provider-details-input/ProviderDetailsInput.d.ts +2 -2
  324. package/dist/provider/provider-details-input/ProviderDetailsInput.d.ts.map +1 -1
  325. package/dist/provider/provider-details-input/ProviderDetailsInput.js +1 -1
  326. package/dist/provider/provider-form/ProviderForm.d.ts +1 -1
  327. package/dist/provider/provider-form/ProviderForm.d.ts.map +1 -1
  328. package/dist/provider/provider-links-input/ProviderLinksInput.d.ts +2 -2
  329. package/dist/provider/provider-links-input/ProviderLinksInput.d.ts.map +1 -1
  330. package/dist/provider/resources-blocking-modal/ResourcesBlockingModal.d.ts +1 -1
  331. package/dist/provider/resources-blocking-modal/ResourcesBlockingModal.d.ts.map +1 -1
  332. package/dist/provider/venue-form/VenueForm.d.ts +1 -1
  333. package/dist/provider/venue-form/VenueForm.d.ts.map +1 -1
  334. package/dist/provider/working-hours-input/index.d.ts +1 -1
  335. package/dist/provider/working-hours-input/index.d.ts.map +1 -1
  336. package/dist/radio-card/RadioCard.d.ts +13 -0
  337. package/dist/radio-card/RadioCard.d.ts.map +1 -0
  338. package/dist/radio-card/RadioCard.js +1 -0
  339. package/dist/radio-card/index.d.ts +2 -0
  340. package/dist/radio-card/index.d.ts.map +1 -0
  341. package/dist/recurrence-input/utils.d.ts +2 -2
  342. package/dist/recurrence-input/utils.d.ts.map +1 -1
  343. package/dist/recurring-date-picker-input/RecurringDatePickerInput.js +1 -1
  344. package/dist/recurring-date-picker-input/utils.d.ts +2 -2
  345. package/dist/recurring-date-picker-input/utils.d.ts.map +1 -1
  346. package/dist/resource/form/ResourceForm.d.ts +2 -2
  347. package/dist/resource/form/ResourceForm.d.ts.map +1 -1
  348. package/dist/resource/form/components/CapacityControl.d.ts +1 -1
  349. package/dist/resource/form/components/CapacityControl.d.ts.map +1 -1
  350. package/dist/resource/form/components/NameControl.d.ts +1 -1
  351. package/dist/resource/form/components/NameControl.d.ts.map +1 -1
  352. package/dist/resource/form/components/SortControl.d.ts +1 -1
  353. package/dist/resource/form/components/SortControl.d.ts.map +1 -1
  354. package/dist/resource/form/components/ZoneControl.d.ts +1 -1
  355. package/dist/resource/form/components/ZoneControl.d.ts.map +1 -1
  356. package/dist/sales/booking/index.d.ts +0 -2
  357. package/dist/sales/booking/index.d.ts.map +1 -1
  358. package/dist/sales/booking/results/BookingResults.d.ts +1 -1
  359. package/dist/sales/booking/results/BookingResults.d.ts.map +1 -1
  360. package/dist/sales/booking/results/components/ResultCard.d.ts +1 -1
  361. package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
  362. package/dist/sales/booking/results/components/ResultCard.js +1 -1
  363. package/dist/sales/booking/results/constants.d.ts.map +1 -1
  364. package/dist/sales/booking/results/constants.js +1 -1
  365. package/dist/sales/booking/results/index.d.ts +1 -0
  366. package/dist/sales/booking/results/index.d.ts.map +1 -1
  367. package/dist/sales/coupon/control/CouponFormControl.d.ts.map +1 -1
  368. package/dist/sales/coupon/control/CouponFormControl.js +1 -1
  369. package/dist/sales/filters/SaleFilters.d.ts +2 -3
  370. package/dist/sales/filters/SaleFilters.d.ts.map +1 -1
  371. package/dist/sales/guest-profile/previous-bookings/PreviousBookings.d.ts +1 -1
  372. package/dist/sales/guest-profile/previous-bookings/PreviousBookings.d.ts.map +1 -1
  373. package/dist/sales/guest-profile/profile/Profile.d.ts +1 -1
  374. package/dist/sales/guest-profile/profile/Profile.d.ts.map +1 -1
  375. package/dist/sales/guest-profile/profile/components/ImageHolder/ImageHolder.d.ts +1 -1
  376. package/dist/sales/guest-profile/profile/components/ImageHolder/ImageHolder.d.ts.map +1 -1
  377. package/dist/sales/guest-profile/user-metrics/UserMetrics.d.ts +1 -1
  378. package/dist/sales/guest-profile/user-metrics/UserMetrics.d.ts.map +1 -1
  379. package/dist/sales/guest-profile/visited-providers/VisitedProviders.d.ts +1 -1
  380. package/dist/sales/guest-profile/visited-providers/VisitedProviders.d.ts.map +1 -1
  381. package/dist/sales/life-time-sales/LifeTimeSalesChart.d.ts +1 -1
  382. package/dist/sales/life-time-sales/LifeTimeSalesChart.d.ts.map +1 -1
  383. package/dist/sales/manual-booking/index.d.ts +1 -5
  384. package/dist/sales/manual-booking/index.d.ts.map +1 -1
  385. package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.d.ts +2 -1
  386. package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.d.ts.map +1 -1
  387. package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.js +1 -1
  388. package/dist/sales/manual-booking/search-user/SearchUser.js +1 -1
  389. package/dist/sales/manual-booking/select-date-type-control/SelectDateTypeControl.d.ts +1 -1
  390. package/dist/sales/manual-booking/select-date-type-control/SelectDateTypeControl.d.ts.map +1 -1
  391. package/dist/sales/manual-booking/select-menu/SelectMenu.d.ts +4 -3
  392. package/dist/sales/manual-booking/select-menu/SelectMenu.d.ts.map +1 -1
  393. package/dist/sales/manual-booking/select-menu/SelectMenu.js +1 -1
  394. package/dist/sales/manual-booking/select-menu/components/MenuButton.d.ts +1 -1
  395. package/dist/sales/manual-booking/select-menu/components/MenuButton.d.ts.map +1 -1
  396. package/dist/sales/notes/NotesTable.d.ts +1 -1
  397. package/dist/sales/notes/NotesTable.d.ts.map +1 -1
  398. package/dist/sales/notes/NotesTableRow.d.ts +1 -1
  399. package/dist/sales/notes/NotesTableRow.d.ts.map +1 -1
  400. package/dist/sales/notes/note-form/NoteForm.d.ts +1 -1
  401. package/dist/sales/notes/note-form/NoteForm.d.ts.map +1 -1
  402. package/dist/sales/payment-form/SalePaymentForm.d.ts +2 -2
  403. package/dist/sales/payment-form/SalePaymentForm.d.ts.map +1 -1
  404. package/dist/sales/payment-form/components/RyftPayment/RyftPayment.d.ts +1 -1
  405. package/dist/sales/payment-form/components/RyftPayment/RyftPayment.d.ts.map +1 -1
  406. package/dist/sales/payment-form/types.d.ts +2 -2
  407. package/dist/sales/payment-form/types.d.ts.map +1 -1
  408. package/dist/sales/sales-and-views/SalesAndViewsChart.d.ts +1 -1
  409. package/dist/sales/sales-and-views/SalesAndViewsChart.d.ts.map +1 -1
  410. package/dist/setting/admin/AdminSettingForm.d.ts +1 -1
  411. package/dist/setting/admin/AdminSettingForm.d.ts.map +1 -1
  412. package/dist/setting/admin/PaymentFeeForm.d.ts +2 -2
  413. package/dist/setting/admin/PaymentFeeForm.d.ts.map +1 -1
  414. package/dist/setting/dashboard/DashboardSettingForm.d.ts +1 -1
  415. package/dist/setting/dashboard/DashboardSettingForm.d.ts.map +1 -1
  416. package/dist/setting/dashboard/EventSettingForm.d.ts +2 -2
  417. package/dist/setting/dashboard/EventSettingForm.d.ts.map +1 -1
  418. package/dist/setting/dashboard/FinancialDataForm.d.ts +2 -2
  419. package/dist/setting/dashboard/FinancialDataForm.d.ts.map +1 -1
  420. package/dist/setting/dashboard/OtherSettingForm.d.ts +2 -2
  421. package/dist/setting/dashboard/OtherSettingForm.d.ts.map +1 -1
  422. package/dist/setting/dashboard/ProviderSettingForm.d.ts +2 -2
  423. package/dist/setting/dashboard/ProviderSettingForm.d.ts.map +1 -1
  424. package/dist/setting/dashboard/index.d.ts +0 -2
  425. package/dist/setting/dashboard/index.d.ts.map +1 -1
  426. package/dist/setting/system/SystemSettingForm.d.ts +1 -1
  427. package/dist/setting/system/SystemSettingForm.d.ts.map +1 -1
  428. package/dist/snippet/snippet-template/SnippetTemplate.js +1 -1
  429. package/dist/snippet/snippet-template/context/snippetTemplate.d.ts +1 -1
  430. package/dist/snippet/snippet-template/context/snippetTemplate.d.ts.map +1 -1
  431. package/dist/snippet/snippet-template/form/SnippetTemplateForm.js +1 -1
  432. package/dist/snippet/snippet-template/preview/Preview.d.ts.map +1 -1
  433. package/dist/snippet/snippet-template/preview/Preview.js +1 -1
  434. package/dist/sortable-fields/SortableFieldItem.d.ts +9 -0
  435. package/dist/sortable-fields/SortableFieldItem.d.ts.map +1 -0
  436. package/dist/sortable-fields/SortableFieldItem.js +1 -0
  437. package/dist/sortable-fields/SortableFieldList.d.ts +18 -0
  438. package/dist/sortable-fields/SortableFieldList.d.ts.map +1 -0
  439. package/dist/sortable-fields/SortableFieldList.js +1 -0
  440. package/dist/sortable-fields/index.d.ts +2 -0
  441. package/dist/sortable-fields/index.d.ts.map +1 -0
  442. package/dist/sortable-list/SortableList.d.ts +4 -4
  443. package/dist/sortable-list/SortableList.d.ts.map +1 -1
  444. package/dist/sortable-tree/SortableTreeItem.d.ts +5 -2
  445. package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
  446. package/dist/sortable-tree/SortableTreeItem.js +1 -1
  447. package/dist/sorting-select/SortingSelect.d.ts +10 -0
  448. package/dist/sorting-select/SortingSelect.d.ts.map +1 -0
  449. package/dist/sorting-select/SortingSelect.js +1 -0
  450. package/dist/sorting-select/index.d.ts +2 -0
  451. package/dist/sorting-select/index.d.ts.map +1 -0
  452. package/dist/static/Icon.d.ts +1 -1
  453. package/dist/static/Icon.d.ts.map +1 -1
  454. package/dist/static/date-range-input/DateRangeInput.d.ts +4 -4
  455. package/dist/static/date-range-input/DateRangeInput.d.ts.map +1 -1
  456. package/dist/static/date-range-input/DateRangeInput.js +1 -1
  457. package/dist/static/images/DefaultUserImage.d.ts +1 -1
  458. package/dist/static/images/DefaultUserImage.d.ts.map +1 -1
  459. package/dist/static/loader/ButtonLoader.d.ts +1 -1
  460. package/dist/static/loader/ButtonLoader.d.ts.map +1 -1
  461. package/dist/static/loader/PaymentLoader.d.ts +1 -1
  462. package/dist/static/loader/PaymentLoader.d.ts.map +1 -1
  463. package/dist/static/manual-date-picker/ManualDatePicker.d.ts +1 -1
  464. package/dist/static/manual-date-picker/ManualDatePicker.d.ts.map +1 -1
  465. package/dist/static/manual-date-picker/hooks/useManualDatePicker.d.ts +2 -2
  466. package/dist/static/manual-date-picker/hooks/useManualDatePicker.d.ts.map +1 -1
  467. package/dist/static/tabs/Tab.d.ts +1 -1
  468. package/dist/static/tabs/Tab.d.ts.map +1 -1
  469. package/dist/static/tabs/Tabs.d.ts +1 -1
  470. package/dist/static/tabs/Tabs.d.ts.map +1 -1
  471. package/dist/striped-static-table/StripedStaticTable.d.ts +7 -0
  472. package/dist/striped-static-table/StripedStaticTable.d.ts.map +1 -0
  473. package/dist/striped-static-table/StripedStaticTable.js +1 -0
  474. package/dist/striped-static-table/index.d.ts +2 -0
  475. package/dist/striped-static-table/index.d.ts.map +1 -0
  476. package/dist/styles/events/EventStatisticModal.scss +0 -37
  477. package/dist/styles/events/EventVenueMap.scss +1 -1
  478. package/dist/styles/iframe-customers-journey/ActivitiesCard.scss +37 -0
  479. package/dist/styles/iframe-customers-journey/ActivitiesSelectedCard.scss +57 -0
  480. package/dist/styles/iframe-customers-journey/DateTimeButton.scss +84 -0
  481. package/dist/styles/iframe-customers-journey/_index.scss +3 -0
  482. package/dist/styles/iframe-order-process/IframeOrderProcess.scss +12 -4
  483. package/dist/styles/iframe-page/PageBody.scss +2 -0
  484. package/dist/styles/{widgets/ImageRadioInput.scss → image-radio-input/_index.scss} +12 -0
  485. package/dist/styles/packages.scss +5 -1
  486. package/dist/styles/{widgets/WidgetTypeRadioButton.scss → radio-card/_index.scss} +8 -1
  487. package/dist/styles/sales/BookingFilter.scss +45 -11
  488. package/dist/styles/sales/ManualBooking.scss +7 -1
  489. package/dist/styles/sales/RandomColors.scss +7 -4
  490. package/dist/styles/snippet-templates/SnippetTemplateCard.scss +16 -0
  491. package/dist/styles/sortable-field/SortableField.scss +21 -0
  492. package/dist/styles/sortable-field/_index.scss +1 -0
  493. package/dist/styles/static/DateRangeInput.scss +5 -1
  494. package/dist/styles/striped-static-table/_index.scss +33 -0
  495. package/dist/styles/themes/bookedit/_variables.scss +3 -2
  496. package/dist/table/FilterHelperComponent.d.ts.map +1 -1
  497. package/dist/table/FilterHelperComponent.js +1 -1
  498. package/dist/table/MenuButton.d.ts +1 -1
  499. package/dist/table/MenuButton.d.ts.map +1 -1
  500. package/dist/table/ReactTableHelperComponent.d.ts +2 -2
  501. package/dist/table/ReactTableHelperComponent.d.ts.map +1 -1
  502. package/dist/table/StaticTable.d.ts +6 -4
  503. package/dist/table/StaticTable.d.ts.map +1 -1
  504. package/dist/table/StaticTable.js +1 -1
  505. package/dist/table/types.d.ts +5 -5
  506. package/dist/table/types.d.ts.map +1 -1
  507. package/dist/tiptap-editor/TipTapMenu/extensions/EMOJIS.d.ts +1 -1
  508. package/dist/tiptap-editor/TipTapMenu/extensions/EMOJIS.d.ts.map +1 -1
  509. package/dist/typeahead/Typeahead.d.ts +6 -12
  510. package/dist/typeahead/Typeahead.d.ts.map +1 -1
  511. package/dist/typeahead/Typeahead.js +1 -1
  512. package/dist/typeahead-helper/TypeaheadHelperComponent.d.ts +1 -1
  513. package/dist/typeahead-helper/TypeaheadHelperComponent.d.ts.map +1 -1
  514. package/dist/types/categories.d.ts +2 -2
  515. package/dist/types/categories.d.ts.map +1 -1
  516. package/dist/types/currency.d.ts +1 -1
  517. package/dist/types/currency.d.ts.map +1 -1
  518. package/dist/types/generic/SelectItem.d.ts +1 -1
  519. package/dist/types/generic/SelectItem.d.ts.map +1 -1
  520. package/dist/types/iframe.d.ts +7 -3
  521. package/dist/types/iframe.d.ts.map +1 -1
  522. package/dist/types/provider-links.d.ts +2 -2
  523. package/dist/types/provider-links.d.ts.map +1 -1
  524. package/dist/venue-map-sets/form/components/NameControl.d.ts +1 -1
  525. package/dist/venue-map-sets/form/components/NameControl.d.ts.map +1 -1
  526. package/dist/venue-map-sets/form/components/VenueMapControl.d.ts +4 -4
  527. package/dist/venue-map-sets/form/components/VenueMapControl.d.ts.map +1 -1
  528. package/dist/venue-map-sets/form/components/VenueMapImageControl.d.ts +1 -1
  529. package/dist/venue-map-sets/form/components/VenueMapImageControl.d.ts.map +1 -1
  530. package/dist/venue-map-sets/form/components/VenueMapModal.d.ts +1 -1
  531. package/dist/venue-map-sets/form/components/VenueMapModal.d.ts.map +1 -1
  532. package/dist/venue-map-sets/form/components/VenueMapsControl.d.ts +1 -1
  533. package/dist/venue-map-sets/form/components/VenueMapsControl.d.ts.map +1 -1
  534. package/dist/venue-map-sets/form/types/index.d.ts +4 -4
  535. package/dist/venue-map-sets/form/types/index.d.ts.map +1 -1
  536. package/dist/virtualized/components/VirtualizedGrid.d.ts +1 -1
  537. package/dist/virtualized/components/VirtualizedGrid.d.ts.map +1 -1
  538. package/dist/virtualized/components/VirtualizedWindowScroller.d.ts +3 -3
  539. package/dist/virtualized/components/VirtualizedWindowScroller.d.ts.map +1 -1
  540. package/dist/virtualized/context/VirtualizedContext.d.ts +2 -2
  541. package/dist/virtualized/context/VirtualizedContext.d.ts.map +1 -1
  542. package/dist/zone/form/ZoneForm.d.ts +2 -2
  543. package/dist/zone/form/ZoneForm.d.ts.map +1 -1
  544. package/dist/zone/form/components/AvailableTimesControl.d.ts +2 -2
  545. package/dist/zone/form/components/AvailableTimesControl.d.ts.map +1 -1
  546. package/dist/zone/form/components/AvailableTimesControl.js +1 -1
  547. package/dist/zone/form/components/DescriptionControl.d.ts +1 -1
  548. package/dist/zone/form/components/DescriptionControl.d.ts.map +1 -1
  549. package/dist/zone/form/components/NameControl.d.ts +1 -1
  550. package/dist/zone/form/components/NameControl.d.ts.map +1 -1
  551. package/dist/zone/form/components/SortControl.d.ts +1 -1
  552. package/dist/zone/form/components/SortControl.d.ts.map +1 -1
  553. package/dist/zone/form/components/ZoneControl.d.ts +1 -1
  554. package/dist/zone/form/components/ZoneControl.d.ts.map +1 -1
  555. package/dist/zone/form/components/ZoneImageControl.d.ts +1 -1
  556. package/dist/zone/form/components/ZoneImageControl.d.ts.map +1 -1
  557. package/dist/zone/form/components/ZoneRecurrencesControl.d.ts +1 -1
  558. package/dist/zone/form/components/ZoneRecurrencesControl.d.ts.map +1 -1
  559. package/dist/zone/form/components/ZoneRecurrencesControl.js +1 -1
  560. package/dist/zone/form/components/ZoneTypeControl.d.ts +1 -1
  561. package/dist/zone/form/components/ZoneTypeControl.d.ts.map +1 -1
  562. package/dist/zone/form/utils/dates.d.ts +1 -0
  563. package/dist/zone/form/utils/dates.d.ts.map +1 -1
  564. package/dist/zone/form/utils/dates.js +1 -1
  565. package/package.json +5 -4
  566. package/src/assets/iframe/dateInfo/available.svg +5 -0
  567. package/src/assets/iframe/dateInfo/limited.svg +5 -0
  568. package/src/assets/iframe/dateInfo/soldOut.svg +6 -0
  569. package/src/date-time-button/DateTimeButton.stories.tsx +68 -0
  570. package/src/date-time-button/DateTimeButton.tsx +106 -0
  571. package/src/date-time-button/index.ts +1 -0
  572. package/src/events/edit-event-modal/IntervalInput.tsx +28 -2
  573. package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx +3 -0
  574. package/src/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.tsx +11 -2
  575. package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +6 -4
  576. package/src/events/event-statistic-modal/EventStatisticModal.tsx +1 -1
  577. package/src/events/event-venue-map/EventVenueMap.tsx +4 -0
  578. package/src/events/event-venue-map/components/MapPoint/MapPoint.tsx +5 -3
  579. package/src/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.tsx +13 -2
  580. package/src/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.tsx +68 -0
  581. package/src/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.ts +1 -0
  582. package/src/events/event-venue-map/components/VenueMap/VenueMap.tsx +12 -4
  583. package/src/help/popover/HelpPopover.tsx +13 -5
  584. package/src/iframe/activity-cards/activity-card/ActivityCard.stories.tsx +52 -0
  585. package/src/iframe/activity-cards/activity-card/ActivityCard.tsx +38 -0
  586. package/src/iframe/activity-cards/index.ts +2 -0
  587. package/src/iframe/activity-cards/list-activity-card/ListActivityCard.stories.tsx +52 -0
  588. package/src/iframe/activity-cards/list-activity-card/ListActivityCard.tsx +49 -0
  589. package/src/iframe/event/event-card/IframeEventCard.stories.tsx +6 -14
  590. package/src/iframe/event/event-card/IframeEventCard.tsx +6 -10
  591. package/src/iframe/event/event-card/IframeEventCardSkeleton.tsx +20 -30
  592. package/src/iframe/event/event-card/IframeEventCards.stories.tsx +2 -3
  593. package/src/iframe/event/event-order-short-summary/components/Summary/Summary.tsx +20 -20
  594. package/src/iframe/event/event-venue-map/IframeEventVenueMap.stories.tsx +5 -0
  595. package/src/iframe/index.ts +4 -1
  596. package/src/iframe/order-process/components/BookingSummary/BookingSummary.tsx +4 -1
  597. package/src/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.tsx +2 -2
  598. package/src/iframe/order-process/components/BookingSummary/types/index.ts +5 -5
  599. package/src/iframe/order-process/components/BookingSummary/utils/index.ts +6 -2
  600. package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.stories.tsx +1 -0
  601. package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.tsx +9 -3
  602. package/src/iframe/order-process/components/CalendarStepsForm/components/Category.tsx +4 -0
  603. package/src/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.tsx +4 -0
  604. package/src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx +45 -11
  605. package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +3 -0
  606. package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +7 -6
  607. package/src/iframe/order-process/components/{CalendarStepsForm/components → ErrorModal}/ErrorModal.tsx +1 -1
  608. package/src/iframe/order-process/components/ErrorModal/index.ts +1 -0
  609. package/src/iframe/order-process/components/NavigationSteps/NavigationSteps.tsx +8 -6
  610. package/src/iframe/order-process/components/NavigationSteps/index.ts +1 -1
  611. package/src/iframe/order-process/components/Timer/Timer.stories.tsx +1 -1
  612. package/src/iframe/order-process/components/Timer/utils/index.ts +4 -4
  613. package/src/iframe/order-process/components/utils/{category.ts → useCategoryVerification.ts} +15 -10
  614. package/src/iframe/order-process/index.ts +3 -2
  615. package/src/iframe/page/components/PageBody/PageBody.tsx +1 -1
  616. package/src/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.tsx +4 -4
  617. package/src/iframe/payment/order-items-table/utils/index.ts +24 -9
  618. package/src/iframe/payment/payment-page/PaymentPage.tsx +46 -8
  619. package/src/iframe/payment/payment-page/PaymentTimer.tsx +31 -6
  620. package/src/iframe/payment/payment-status-page/PaymentStatusPage.tsx +66 -16
  621. package/src/image-radio-input/ImageRadioInput.stories.tsx +67 -0
  622. package/src/image-radio-input/ImageRadioInput.tsx +53 -0
  623. package/src/index.ts +6 -0
  624. package/src/logo/Logo.tsx +1 -1
  625. package/src/notification/email-template/card/EmailTemplateCard.stories.tsx +4 -2
  626. package/src/notification/email-template/card/EmailTemplateCard.tsx +15 -3
  627. package/src/notification/email-template/control/EmailTemplateControl.tsx +90 -6
  628. package/src/notification/email-template/form/EmailTemplateForm.stories.tsx +34 -0
  629. package/src/notification/email-template/form/EmailTemplateForm.tsx +23 -5
  630. package/src/notification/hooks/useTranslatedParameters.ts +27 -0
  631. package/src/notification/sms-template/card/SmsTemplateCard.stories.tsx +3 -1
  632. package/src/notification/sms-template/card/SmsTemplateCard.tsx +13 -3
  633. package/src/notification/sms-template/control/SmsTemplateControl.tsx +40 -2
  634. package/src/notification/sms-template/form/SmsTemplateForm.stories.tsx +28 -0
  635. package/src/notification/sms-template/form/SmsTemplateForm.tsx +6 -1
  636. package/src/product-set/control/DateAndRecurrenceInput.tsx +2 -2
  637. package/src/product-set/control/ProductSetControl.tsx +69 -45
  638. package/src/product-set/form/ProductCategoriesControl.tsx +9 -0
  639. package/src/product-set/form/ProductSetForm.stories.tsx +41 -2
  640. package/src/product-set/form/ProductSetForm.tsx +11 -0
  641. package/src/product-set/form/ProductsControl.tsx +30 -1
  642. package/src/product-set/form/StepsControl.tsx +31 -3
  643. package/src/product-set/hooks/useSortableTreeFunctions.ts +37 -0
  644. package/src/product-set/product/ProductControl.tsx +44 -23
  645. package/src/product-set/product/constants.ts +1 -0
  646. package/src/product-set/product/price/ProductPriceControl.tsx +43 -21
  647. package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +30 -16
  648. package/src/product-set/product-category/ProductCategoryControl.tsx +1 -1
  649. package/src/product-set/utils/index.ts +28 -0
  650. package/src/provider/constants.ts +1 -0
  651. package/src/provider/provider-details-input/ProviderDetailsInput.tsx +28 -4
  652. package/src/radio-card/RadioCard.stories.tsx +48 -0
  653. package/src/radio-card/RadioCard.tsx +49 -0
  654. package/src/radio-card/index.ts +1 -0
  655. package/src/sales/booking/index.ts +0 -2
  656. package/src/sales/booking/results/components/ResultCard.tsx +2 -2
  657. package/src/sales/booking/results/constants.ts +1 -0
  658. package/src/sales/booking/results/index.ts +1 -0
  659. package/src/sales/coupon/control/CouponFormControl.tsx +2 -0
  660. package/src/sales/filters/SaleFilter.stories.tsx +1 -1
  661. package/src/sales/filters/SaleFilters.tsx +2 -2
  662. package/src/sales/manual-booking/index.ts +1 -5
  663. package/src/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.tsx +3 -1
  664. package/src/sales/manual-booking/select-menu/SelectMenu.tsx +7 -3
  665. package/src/setting/dashboard/index.ts +0 -2
  666. package/src/snippet/snippet-template/SnippetTemplate.tsx +1 -1
  667. package/src/snippet/snippet-template/form/SnippetTemplateForm.tsx +10 -10
  668. package/src/snippet/snippet-template/preview/Preview.tsx +4 -9
  669. package/src/sortable-fields/SortableFieldItem.tsx +60 -0
  670. package/src/sortable-fields/SortableFieldList.tsx +62 -0
  671. package/src/sortable-fields/index.ts +1 -0
  672. package/src/sortable-tree/SortableTreeItem.tsx +28 -6
  673. package/src/sorting-select/SortingSelect.stories.tsx +15 -0
  674. package/src/sorting-select/SortingSelect.tsx +79 -0
  675. package/src/sorting-select/index.ts +1 -0
  676. package/src/static/date-range-input/DateRangeInput.tsx +6 -3
  677. package/src/striped-static-table/StripedStaticTable.stories.tsx +71 -0
  678. package/src/striped-static-table/StripedStaticTable.tsx +63 -0
  679. package/src/striped-static-table/index.ts +1 -0
  680. package/src/styles/events/EventStatisticModal.scss +0 -37
  681. package/src/styles/events/EventVenueMap.scss +1 -1
  682. package/src/styles/iframe-customers-journey/ActivitiesCard.scss +37 -0
  683. package/src/styles/iframe-customers-journey/ActivitiesSelectedCard.scss +57 -0
  684. package/src/styles/iframe-customers-journey/DateTimeButton.scss +84 -0
  685. package/src/styles/iframe-customers-journey/_index.scss +3 -0
  686. package/src/styles/iframe-order-process/IframeOrderProcess.scss +12 -4
  687. package/src/styles/iframe-page/PageBody.scss +2 -0
  688. package/src/styles/{widgets/ImageRadioInput.scss → image-radio-input/_index.scss} +12 -0
  689. package/src/styles/packages.scss +5 -1
  690. package/src/styles/{widgets/WidgetTypeRadioButton.scss → radio-card/_index.scss} +8 -1
  691. package/src/styles/sales/BookingFilter.scss +45 -11
  692. package/src/styles/sales/ManualBooking.scss +7 -1
  693. package/src/styles/sales/RandomColors.scss +7 -4
  694. package/src/styles/snippet-templates/SnippetTemplateCard.scss +16 -0
  695. package/src/styles/sortable-field/SortableField.scss +21 -0
  696. package/src/styles/sortable-field/_index.scss +1 -0
  697. package/src/styles/static/DateRangeInput.scss +5 -1
  698. package/src/styles/striped-static-table/_index.scss +33 -0
  699. package/src/styles/themes/bookedit/_variables.scss +3 -2
  700. package/src/table/FilterHelperComponent.tsx +1 -0
  701. package/src/table/StaticTable.tsx +40 -14
  702. package/src/typeahead/Typeahead.stories.tsx +9 -6
  703. package/src/typeahead/Typeahead.tsx +21 -13
  704. package/src/types/iframe.ts +7 -1
  705. package/src/zone/form/components/AvailableTimesControl.tsx +12 -5
  706. package/src/zone/form/components/ZoneRecurrencesControl.tsx +2 -28
  707. package/src/zone/form/utils/dates.ts +24 -0
  708. package/tsconfig.json +2 -2
  709. package/dist/assets/dashboard/bookingCalendar.svg +0 -67
  710. package/dist/assets/dashboard/bookingCalendar.svg.js +0 -1
  711. package/dist/assets/dashboard/bookingList.svg +0 -68
  712. package/dist/assets/dashboard/bookingList.svg.js +0 -1
  713. package/dist/assets/dashboard/bookingListSmall.svg +0 -6
  714. package/dist/assets/dashboard/bookingListSmall.svg.js +0 -1
  715. package/dist/assets/dashboard/fullscreen.svg +0 -3
  716. package/dist/assets/dashboard/fullscreen.svg.js +0 -1
  717. package/dist/assets/dashboard/minimize.svg +0 -3
  718. package/dist/assets/dashboard/minimize.svg.js +0 -1
  719. package/dist/assets/dashboard/refresh.svg +0 -4
  720. package/dist/assets/dashboard/refresh.svg.js +0 -1
  721. package/dist/assets/widgets/circlePlus.svg +0 -4
  722. package/dist/assets/widgets/inPage.svg +0 -10
  723. package/dist/assets/widgets/overlay.svg +0 -9
  724. package/dist/assets/widgets/sidebar.svg +0 -9
  725. package/dist/iframe/order-process/components/CalendarStepsForm/components/ErrorModal.d.ts.map +0 -1
  726. package/dist/iframe/order-process/components/CalendarStepsForm/components/ErrorModal.js +0 -1
  727. package/dist/iframe/order-process/components/Category/Category.d.ts +0 -12
  728. package/dist/iframe/order-process/components/Category/Category.d.ts.map +0 -1
  729. package/dist/iframe/order-process/components/Category/Category.js +0 -1
  730. package/dist/iframe/order-process/components/Category/index.d.ts +0 -2
  731. package/dist/iframe/order-process/components/Category/index.d.ts.map +0 -1
  732. package/dist/iframe/order-process/components/StepsForm/StepsForm.d.ts +0 -18
  733. package/dist/iframe/order-process/components/StepsForm/StepsForm.d.ts.map +0 -1
  734. package/dist/iframe/order-process/components/StepsForm/StepsForm.js +0 -1
  735. package/dist/iframe/order-process/components/StepsForm/index.d.ts +0 -2
  736. package/dist/iframe/order-process/components/StepsForm/index.d.ts.map +0 -1
  737. package/dist/iframe/order-process/components/utils/category.d.ts +0 -10
  738. package/dist/iframe/order-process/components/utils/category.d.ts.map +0 -1
  739. package/dist/iframe/order-process/components/utils/category.js +0 -1
  740. package/dist/sales/booking/filter/BookingFilter.d.ts +0 -12
  741. package/dist/sales/booking/filter/BookingFilter.d.ts.map +0 -1
  742. package/dist/sales/booking/filter/BookingFilter.js +0 -1
  743. package/dist/sales/booking/filter/components/AdditionalFIlterSection.d.ts +0 -10
  744. package/dist/sales/booking/filter/components/AdditionalFIlterSection.d.ts.map +0 -1
  745. package/dist/sales/booking/filter/components/AdditionalFIlterSection.js +0 -1
  746. package/dist/sales/booking/filter/components/MainFilterSection.d.ts +0 -5
  747. package/dist/sales/booking/filter/components/MainFilterSection.d.ts.map +0 -1
  748. package/dist/sales/booking/filter/components/MainFilterSection.js +0 -1
  749. package/dist/sales/booking/filter/components/ResultTagButton.d.ts +0 -8
  750. package/dist/sales/booking/filter/components/ResultTagButton.d.ts.map +0 -1
  751. package/dist/sales/booking/filter/components/ResultTagButton.js +0 -1
  752. package/dist/sales/booking/filter/components/SearchingForSection.d.ts +0 -3
  753. package/dist/sales/booking/filter/components/SearchingForSection.d.ts.map +0 -1
  754. package/dist/sales/booking/filter/components/SearchingForSection.js +0 -1
  755. package/dist/sales/booking/filter/index.d.ts +0 -3
  756. package/dist/sales/booking/filter/index.d.ts.map +0 -1
  757. package/dist/sales/booking/tabs/BookingTabs.d.ts +0 -11
  758. package/dist/sales/booking/tabs/BookingTabs.d.ts.map +0 -1
  759. package/dist/sales/booking/tabs/BookingTabs.js +0 -1
  760. package/dist/sales/booking/tabs/index.d.ts +0 -3
  761. package/dist/sales/booking/tabs/index.d.ts.map +0 -1
  762. package/dist/sales/manual-booking/category-product/CategoryProduct.d.ts +0 -16
  763. package/dist/sales/manual-booking/category-product/CategoryProduct.d.ts.map +0 -1
  764. package/dist/sales/manual-booking/category-product/CategoryProduct.js +0 -1
  765. package/dist/sales/manual-booking/category-product/index.d.ts +0 -2
  766. package/dist/sales/manual-booking/category-product/index.d.ts.map +0 -1
  767. package/dist/sales/manual-booking/category-products/CategoryProducts.d.ts +0 -17
  768. package/dist/sales/manual-booking/category-products/CategoryProducts.d.ts.map +0 -1
  769. package/dist/sales/manual-booking/category-products/CategoryProducts.js +0 -1
  770. package/dist/sales/manual-booking/category-products/index.d.ts +0 -2
  771. package/dist/sales/manual-booking/category-products/index.d.ts.map +0 -1
  772. package/dist/sales/manual-booking/controll/ManualBookingStepsControll.d.ts +0 -15
  773. package/dist/sales/manual-booking/controll/ManualBookingStepsControll.d.ts.map +0 -1
  774. package/dist/sales/manual-booking/controll/ManualBookingStepsControll.js +0 -1
  775. package/dist/sales/manual-booking/controll/index.d.ts +0 -2
  776. package/dist/sales/manual-booking/controll/index.d.ts.map +0 -1
  777. package/dist/sales/manual-booking/create-user/CreateUser.d.ts +0 -6
  778. package/dist/sales/manual-booking/create-user/CreateUser.d.ts.map +0 -1
  779. package/dist/sales/manual-booking/create-user/CreateUser.js +0 -1
  780. package/dist/sales/manual-booking/create-user/index.d.ts +0 -2
  781. package/dist/sales/manual-booking/create-user/index.d.ts.map +0 -1
  782. package/dist/sales/manual-booking/customer-info/CustomerInfo.d.ts +0 -7
  783. package/dist/sales/manual-booking/customer-info/CustomerInfo.d.ts.map +0 -1
  784. package/dist/sales/manual-booking/customer-info/CustomerInfo.js +0 -1
  785. package/dist/sales/manual-booking/customer-info/index.d.ts +0 -2
  786. package/dist/sales/manual-booking/customer-info/index.d.ts.map +0 -1
  787. package/dist/sales/manual-booking/final-step/FinalStep.d.ts +0 -7
  788. package/dist/sales/manual-booking/final-step/FinalStep.d.ts.map +0 -1
  789. package/dist/sales/manual-booking/final-step/FinalStep.js +0 -1
  790. package/dist/sales/manual-booking/final-step/index.d.ts +0 -2
  791. package/dist/sales/manual-booking/final-step/index.d.ts.map +0 -1
  792. package/dist/setting/dashboard/snippets/control/SnippetControl.d.ts +0 -9
  793. package/dist/setting/dashboard/snippets/control/SnippetControl.d.ts.map +0 -1
  794. package/dist/setting/dashboard/snippets/control/SnippetControl.js +0 -1
  795. package/dist/setting/dashboard/snippets/control/index.d.ts +0 -2
  796. package/dist/setting/dashboard/snippets/control/index.d.ts.map +0 -1
  797. package/dist/setting/dashboard/snippets/form/SnippetForm.d.ts +0 -33
  798. package/dist/setting/dashboard/snippets/form/SnippetForm.d.ts.map +0 -1
  799. package/dist/setting/dashboard/snippets/form/SnippetForm.js +0 -1
  800. package/dist/setting/dashboard/snippets/form/context.d.ts +0 -11
  801. package/dist/setting/dashboard/snippets/form/context.d.ts.map +0 -1
  802. package/dist/setting/dashboard/snippets/form/context.js +0 -1
  803. package/dist/setting/dashboard/snippets/form/index.d.ts +0 -2
  804. package/dist/setting/dashboard/snippets/form/index.d.ts.map +0 -1
  805. package/dist/setting/dashboard/snippets/modal/SnippetViewTypeModal.d.ts +0 -19
  806. package/dist/setting/dashboard/snippets/modal/SnippetViewTypeModal.d.ts.map +0 -1
  807. package/dist/setting/dashboard/snippets/modal/SnippetViewTypeModal.js +0 -1
  808. package/dist/setting/dashboard/snippets/modal/index.d.ts +0 -3
  809. package/dist/setting/dashboard/snippets/modal/index.d.ts.map +0 -1
  810. package/dist/styles/widgets/BookingStyleSelector.scss +0 -14
  811. package/dist/styles/widgets/CalendarStyleSelector.scss +0 -17
  812. package/dist/styles/widgets/CheckboxGroup.scss +0 -15
  813. package/dist/styles/widgets/ProductSetSelector.scss +0 -19
  814. package/dist/styles/widgets/SnippetCode.scss +0 -18
  815. package/dist/styles/widgets/WidgetBuilderForm.scss +0 -51
  816. package/dist/styles/widgets/WidgetTypeSelector.scss +0 -6
  817. package/dist/styles/widgets/_index.scss +0 -9
  818. package/dist/widgets/BookingStyleSelector/BookingStyleSelector.d.ts +0 -3
  819. package/dist/widgets/BookingStyleSelector/BookingStyleSelector.d.ts.map +0 -1
  820. package/dist/widgets/BookingStyleSelector/index.d.ts +0 -2
  821. package/dist/widgets/BookingStyleSelector/index.d.ts.map +0 -1
  822. package/dist/widgets/CalendarStyleSelector/CalendarStyleSelector.d.ts +0 -3
  823. package/dist/widgets/CalendarStyleSelector/CalendarStyleSelector.d.ts.map +0 -1
  824. package/dist/widgets/CalendarStyleSelector/index.d.ts +0 -2
  825. package/dist/widgets/CalendarStyleSelector/index.d.ts.map +0 -1
  826. package/dist/widgets/CheckboxGroup/CheckboxGroup.d.ts +0 -8
  827. package/dist/widgets/CheckboxGroup/CheckboxGroup.d.ts.map +0 -1
  828. package/dist/widgets/CheckboxGroup/index.d.ts +0 -2
  829. package/dist/widgets/CheckboxGroup/index.d.ts.map +0 -1
  830. package/dist/widgets/ImageRadioInput/ImageRadioInput.d.ts +0 -9
  831. package/dist/widgets/ImageRadioInput/ImageRadioInput.d.ts.map +0 -1
  832. package/dist/widgets/ImageRadioInput/index.d.ts.map +0 -1
  833. package/dist/widgets/ProductSetSelector/ProductSetSelector.d.ts +0 -3
  834. package/dist/widgets/ProductSetSelector/ProductSetSelector.d.ts.map +0 -1
  835. package/dist/widgets/ProductSetSelector/index.d.ts +0 -2
  836. package/dist/widgets/ProductSetSelector/index.d.ts.map +0 -1
  837. package/dist/widgets/SnippetCode/SnippetCode.d.ts +0 -6
  838. package/dist/widgets/SnippetCode/SnippetCode.d.ts.map +0 -1
  839. package/dist/widgets/SnippetCode/index.d.ts +0 -2
  840. package/dist/widgets/SnippetCode/index.d.ts.map +0 -1
  841. package/dist/widgets/WidgetBuilderForm/WidgetBuilderForm.d.ts +0 -12
  842. package/dist/widgets/WidgetBuilderForm/WidgetBuilderForm.d.ts.map +0 -1
  843. package/dist/widgets/WidgetTypeRadio/WidgetTypeRadio.d.ts +0 -7
  844. package/dist/widgets/WidgetTypeRadio/WidgetTypeRadio.d.ts.map +0 -1
  845. package/dist/widgets/WidgetTypeRadio/index.d.ts +0 -2
  846. package/dist/widgets/WidgetTypeRadio/index.d.ts.map +0 -1
  847. package/dist/widgets/WidgetTypeSelector/WidgetTypeSelector.d.ts +0 -3
  848. package/dist/widgets/WidgetTypeSelector/WidgetTypeSelector.d.ts.map +0 -1
  849. package/src/assets/dashboard/bookingCalendar.svg +0 -67
  850. package/src/assets/dashboard/bookingList.svg +0 -68
  851. package/src/assets/dashboard/bookingListSmall.svg +0 -6
  852. package/src/assets/dashboard/fullscreen.svg +0 -3
  853. package/src/assets/dashboard/minimize.svg +0 -3
  854. package/src/assets/dashboard/refresh.svg +0 -4
  855. package/src/assets/widgets/circlePlus.svg +0 -4
  856. package/src/assets/widgets/inPage.svg +0 -10
  857. package/src/assets/widgets/overlay.svg +0 -9
  858. package/src/assets/widgets/sidebar.svg +0 -9
  859. package/src/iframe/order-process/OrderProcess.stories.tsx +0 -362
  860. package/src/iframe/order-process/components/Category/Category.stories.tsx +0 -118
  861. package/src/iframe/order-process/components/Category/Category.tsx +0 -48
  862. package/src/iframe/order-process/components/Category/index.ts +0 -1
  863. package/src/iframe/order-process/components/StepsForm/StepsForm.tsx +0 -173
  864. package/src/iframe/order-process/components/StepsForm/index.ts +0 -1
  865. package/src/sales/booking/filter/BookingFilter.stories.tsx +0 -27
  866. package/src/sales/booking/filter/BookingFilter.tsx +0 -47
  867. package/src/sales/booking/filter/components/AdditionalFIlterSection.tsx +0 -95
  868. package/src/sales/booking/filter/components/MainFilterSection.tsx +0 -131
  869. package/src/sales/booking/filter/components/ResultTagButton.tsx +0 -33
  870. package/src/sales/booking/filter/components/SearchingForSection.tsx +0 -68
  871. package/src/sales/booking/filter/index.ts +0 -2
  872. package/src/sales/booking/tabs/BookingTabs.stories.tsx +0 -17
  873. package/src/sales/booking/tabs/BookingTabs.tsx +0 -88
  874. package/src/sales/booking/tabs/index.ts +0 -2
  875. package/src/sales/manual-booking/category-product/CategoryProduct.tsx +0 -285
  876. package/src/sales/manual-booking/category-product/index.ts +0 -1
  877. package/src/sales/manual-booking/category-products/CategoryProducts.tsx +0 -69
  878. package/src/sales/manual-booking/category-products/index.ts +0 -1
  879. package/src/sales/manual-booking/controll/ManualBookingStepsControll.tsx +0 -121
  880. package/src/sales/manual-booking/controll/index.ts +0 -1
  881. package/src/sales/manual-booking/create-user/CreateUser.stories.tsx +0 -27
  882. package/src/sales/manual-booking/create-user/CreateUser.tsx +0 -224
  883. package/src/sales/manual-booking/create-user/index.ts +0 -1
  884. package/src/sales/manual-booking/customer-info/CustomerInfo.tsx +0 -128
  885. package/src/sales/manual-booking/customer-info/index.ts +0 -1
  886. package/src/sales/manual-booking/final-step/FinalStep.tsx +0 -38
  887. package/src/sales/manual-booking/final-step/index.ts +0 -1
  888. package/src/setting/dashboard/snippets/control/SnippetControl.tsx +0 -237
  889. package/src/setting/dashboard/snippets/control/index.ts +0 -1
  890. package/src/setting/dashboard/snippets/form/SnippetForm.stories.tsx +0 -104
  891. package/src/setting/dashboard/snippets/form/SnippetForm.tsx +0 -94
  892. package/src/setting/dashboard/snippets/form/context.tsx +0 -18
  893. package/src/setting/dashboard/snippets/form/index.ts +0 -1
  894. package/src/setting/dashboard/snippets/modal/SnippetViewTypeModal.stories.tsx +0 -28
  895. package/src/setting/dashboard/snippets/modal/SnippetViewTypeModal.tsx +0 -104
  896. package/src/setting/dashboard/snippets/modal/index.ts +0 -2
  897. package/src/styles/widgets/BookingStyleSelector.scss +0 -14
  898. package/src/styles/widgets/CalendarStyleSelector.scss +0 -17
  899. package/src/styles/widgets/CheckboxGroup.scss +0 -15
  900. package/src/styles/widgets/ProductSetSelector.scss +0 -19
  901. package/src/styles/widgets/SnippetCode.scss +0 -18
  902. package/src/styles/widgets/WidgetBuilderForm.scss +0 -51
  903. package/src/styles/widgets/WidgetTypeSelector.scss +0 -6
  904. package/src/styles/widgets/_index.scss +0 -9
  905. package/src/widgets/BookingStyleSelector/BookingStyleSelector.stories.tsx +0 -12
  906. package/src/widgets/BookingStyleSelector/BookingStyleSelector.tsx +0 -34
  907. package/src/widgets/BookingStyleSelector/index.ts +0 -1
  908. package/src/widgets/CalendarStyleSelector/CalendarStyleSelector.stories.tsx +0 -12
  909. package/src/widgets/CalendarStyleSelector/CalendarStyleSelector.tsx +0 -29
  910. package/src/widgets/CalendarStyleSelector/index.ts +0 -1
  911. package/src/widgets/CheckboxGroup/CheckboxGroup.stories.tsx +0 -16
  912. package/src/widgets/CheckboxGroup/CheckboxGroup.tsx +0 -64
  913. package/src/widgets/CheckboxGroup/index.ts +0 -1
  914. package/src/widgets/ImageRadioInput/ImageRadioInput.stories.tsx +0 -18
  915. package/src/widgets/ImageRadioInput/ImageRadioInput.tsx +0 -29
  916. package/src/widgets/ProductSetSelector/ProductSetSelector.stories.tsx +0 -12
  917. package/src/widgets/ProductSetSelector/ProductSetSelector.tsx +0 -27
  918. package/src/widgets/ProductSetSelector/index.ts +0 -1
  919. package/src/widgets/SnippetCode/SnippetCode.stories.tsx +0 -17
  920. package/src/widgets/SnippetCode/SnippetCode.tsx +0 -27
  921. package/src/widgets/SnippetCode/index.ts +0 -1
  922. package/src/widgets/WidgetBuilderForm/WidgetBuilderForm.stories.tsx +0 -12
  923. package/src/widgets/WidgetBuilderForm/WidgetBuilderForm.tsx +0 -84
  924. package/src/widgets/WidgetTypeRadio/WidgetTypeRadio.stories.tsx +0 -17
  925. package/src/widgets/WidgetTypeRadio/WidgetTypeRadio.tsx +0 -43
  926. package/src/widgets/WidgetTypeRadio/index.ts +0 -1
  927. package/src/widgets/WidgetTypeSelector/WidgetTypeSelector.stories.tsx +0 -12
  928. package/src/widgets/WidgetTypeSelector/WidgetTypeSelector.tsx +0 -32
  929. package/tests/Snippets/Snippets.test.tsx +0 -77
  930. /package/dist/iframe/order-process/components/{CalendarStepsForm/components → ErrorModal}/ErrorModal.d.ts +0 -0
  931. /package/dist/{widgets/ImageRadioInput → image-radio-input}/index.d.ts +0 -0
  932. /package/src/{widgets/ImageRadioInput → image-radio-input}/index.ts +0 -0
@@ -3,6 +3,11 @@
3
3
  import React from "react";
4
4
  import { Meta, Story } from "@storybook/react";
5
5
  import { boolean } from "@storybook/addon-knobs";
6
+ import {
7
+ CONFIRMATION_TYPE,
8
+ PAYMENT_LINK_TYPE,
9
+ } from "@licklist/core/dist/DataMapper/Notification/NotificationTypeDataMapper";
10
+
6
11
  import {
7
12
  OPERATIONAL_COST_CUSTOMER,
8
13
  OPERATIONAL_COST_PROVIDER,
@@ -357,12 +362,14 @@ Default.args = {
357
362
  body: "",
358
363
  meta: "",
359
364
  notification: {
360
- isActive: false,
365
+ id: 1,
366
+ isActive: true,
361
367
  isDefault: false,
362
368
  name: "Template name 1",
363
369
  companyId: 1,
364
370
  providerId: 1,
365
371
  fieldSetId: 1,
372
+ type: CONFIRMATION_TYPE,
366
373
  },
367
374
  },
368
375
  {
@@ -371,12 +378,44 @@ Default.args = {
371
378
  body: "",
372
379
  meta: "",
373
380
  notification: {
374
- isActive: false,
381
+ id: 2,
382
+ isActive: true,
383
+ isDefault: false,
384
+ name: "Tempalte name 2",
385
+ companyId: 1,
386
+ providerId: 1,
387
+ fieldSetId: 1,
388
+ type: CONFIRMATION_TYPE,
389
+ },
390
+ },
391
+ ],
392
+ smsTemplates: [
393
+ {
394
+ id: "1",
395
+ body: "",
396
+ notification: {
397
+ id: 3,
398
+ isActive: true,
399
+ isDefault: false,
400
+ name: "Tempalte name 1",
401
+ companyId: 1,
402
+ providerId: 1,
403
+ fieldSetId: 1,
404
+ type: PAYMENT_LINK_TYPE,
405
+ },
406
+ },
407
+ {
408
+ id: "2",
409
+ body: "",
410
+ notification: {
411
+ id: 4,
412
+ isActive: true,
375
413
  isDefault: false,
376
414
  name: "Tempalte name 2",
377
415
  companyId: 1,
378
416
  providerId: 1,
379
417
  fieldSetId: 1,
418
+ type: PAYMENT_LINK_TYPE,
380
419
  },
381
420
  },
382
421
  ],
@@ -20,6 +20,7 @@ import {
20
20
  import { Step } from "../types";
21
21
  import { ProductSetContextProvider, ProductSetLoadingContext } from "./context";
22
22
  import { SelectItem } from "../../types/generic/SelectItem";
23
+ import { getFilteredTemplates } from "../utils";
23
24
 
24
25
  export interface WithIsLoading {
25
26
  isLoading: boolean;
@@ -133,6 +134,16 @@ export function ProductSetForm({
133
134
  <>
134
135
  <ProductSetControl
135
136
  {...shared}
137
+ smsTemplates={getFilteredTemplates(
138
+ shared?.smsTemplates,
139
+ formValues?.smsTemplates
140
+ )}
141
+ emailTemplates={getFilteredTemplates(
142
+ shared?.emailTemplates,
143
+ formValues?.emailTemplates
144
+ )}
145
+ showEmailTemplate={!!shared?.emailTemplates}
146
+ showSmsTemplate={!!shared?.smsTemplates}
136
147
  isLoading={isLoading}
137
148
  isCreateAction={isCreateAction}
138
149
  companyName={companyName}
@@ -21,6 +21,7 @@ import { Product } from "../types";
21
21
  import { WithIsLoading } from "./ProductSetForm";
22
22
  // @TODO not for first release
23
23
  // import Popover from "./ProductSetFormPopover";
24
+ import { useSortableTreeFunctions } from "../hooks/useSortableTreeFunctions";
24
25
  import { SubProductsControl } from "./SubProductsControl";
25
26
  import { ProductSetModalClasses } from "../../sortable-tree/SortableTreeItem";
26
27
  import { getBadgeConfig } from "./ProductCategoriesControl";
@@ -85,16 +86,25 @@ export function ProductsControl({
85
86
  trigger,
86
87
  setValue,
87
88
  watch,
89
+ getValues,
88
90
  } = form;
89
91
 
90
92
  const productControlFieldName =
91
93
  `steps.${stepIndex}.productCategories.${productCategoryIndex}.products` as const;
92
94
 
95
+ const productPointsKey = `steps.${stepIndex}.pointProducts` as const;
96
+
93
97
  const { fields, append, remove, move } = useFieldArray({
94
98
  name: productControlFieldName,
95
99
  control,
96
100
  keyName: "_id",
97
101
  });
102
+
103
+ const { edit, saveValidField, cancelChanges } = useSortableTreeFunctions({
104
+ fieldName: productControlFieldName,
105
+ remove,
106
+ });
107
+
98
108
  const allowDeposits = watch(
99
109
  `steps.${stepIndex}.productCategories.${productCategoryIndex}.allowDeposits`
100
110
  );
@@ -156,6 +166,22 @@ export function ProductsControl({
156
166
  });
157
167
  };
158
168
 
169
+ const onProductRemove = (index: number) => {
170
+ const currentProduct = getValues(
171
+ `${productControlFieldName}.${index}` as const
172
+ );
173
+
174
+ const currentPointProducts = getValues(productPointsKey);
175
+
176
+ setValue(
177
+ productPointsKey,
178
+ currentPointProducts?.filter(
179
+ (product) => product.productUuid !== currentProduct.uuid
180
+ ) || []
181
+ );
182
+ remove(index);
183
+ };
184
+
159
185
  return (
160
186
  <>
161
187
  <SortableTree
@@ -182,6 +208,8 @@ export function ProductsControl({
182
208
  title={value}
183
209
  badge={<Badge className="product-badge">{t("product")}</Badge>}
184
210
  isIconInHeader={false}
211
+ cancelChanges={() => cancelChanges(index)}
212
+ edit={() => edit(index)}
185
213
  secondaryBadge={getBadgeConfig(categoryType, t(categoryType))}
186
214
  subTitle={
187
215
  <div className="product-set-badges-container">
@@ -219,8 +247,9 @@ export function ProductsControl({
219
247
  categoryType={categoryType}
220
248
  />
221
249
  }
222
- onDelete={() => remove(index)}
250
+ onDelete={() => onProductRemove(index)}
223
251
  validate={() => trigger(`${productControlFieldName}.${index}`)}
252
+ saveValidField={saveValidField}
224
253
  // preItem={<Popover className="d-none d-sm-block" />}
225
254
  >
226
255
  <SubProductsControl
@@ -4,6 +4,7 @@ import { useTranslation } from "react-i18next";
4
4
  import Badge from "react-bootstrap/Badge";
5
5
  import HookFormService from "@licklist/plugins/dist/services/Form/HookFormService";
6
6
 
7
+ import { useSortableTreeFunctions } from "../hooks/useSortableTreeFunctions";
7
8
  import { SortableTree } from "../../sortable-tree";
8
9
  import { ProductSetModalClasses } from "../../sortable-tree/SortableTreeItem";
9
10
  import { CreateProductSetItem } from "../item/CreateProductSetItem";
@@ -11,6 +12,7 @@ import { StepControl } from "../step/StepControl";
11
12
  import { Step } from "../types";
12
13
  import { ProductCategoriesControl } from "./ProductCategoriesControl";
13
14
  import { ProductSetFormValues } from "./ProductSetForm";
15
+
14
16
  // @TODO not for first release
15
17
  // import Popover from "./ProductSetFormPopover";
16
18
 
@@ -28,6 +30,7 @@ export function StepsControl({ isLoading }: StepsControlProps) {
28
30
  formState: { errors, isSubmitting },
29
31
  clearErrors,
30
32
  getValues,
33
+ setFocus,
31
34
  } = form;
32
35
 
33
36
  const { fields, append, remove } = useFieldArray({
@@ -36,6 +39,11 @@ export function StepsControl({ isLoading }: StepsControlProps) {
36
39
  keyName: "_id",
37
40
  });
38
41
 
42
+ const { edit, saveValidField, cancelChanges } = useSortableTreeFunctions({
43
+ fieldName: "steps",
44
+ remove,
45
+ });
46
+
39
47
  useEffect(() => {
40
48
  if (!isSubmitting) {
41
49
  return;
@@ -57,12 +65,14 @@ export function StepsControl({ isLoading }: StepsControlProps) {
57
65
  return (
58
66
  <>
59
67
  {fields.map((step, index) => {
60
- const stepData: any = getValues(`steps.${index}` as const);
68
+ const stepFieldName = `steps.${index}` as const;
69
+
70
+ const stepData = getValues(stepFieldName);
61
71
 
62
72
  return (
63
73
  <Controller
64
74
  key={`step-${step._id}`}
65
- name={`steps.${index}.name` as const}
75
+ name={`${stepFieldName}.name` as const}
66
76
  control={control}
67
77
  rules={{
68
78
  required: t("Validation:fieldRequired", {
@@ -74,12 +84,14 @@ export function StepsControl({ isLoading }: StepsControlProps) {
74
84
  id={step._id}
75
85
  title={value}
76
86
  badge={<Badge className="step-badge">{t("step")}</Badge>}
77
- isExpanded={isFirstStepAdded}
87
+ isExpanded={isFirstStepAdded || !!errors.steps?.[index]}
78
88
  isInvalid={!!errors.steps?.[index]}
79
89
  isIconInHeader={false}
80
90
  modalLabel={t("addNewStep")}
81
91
  modalClass={ProductSetModalClasses.step}
82
92
  isNewAdded={showStepModal}
93
+ edit={() => edit(index)}
94
+ cancelChanges={() => cancelChanges(index)}
83
95
  subTitle={
84
96
  <div className="product-set-badges-container">
85
97
  <div className="product-set-subtitle-dot product-set-subtitle-step-dot" />
@@ -104,6 +116,22 @@ export function StepsControl({ isLoading }: StepsControlProps) {
104
116
  ? step.productCategories.map(({ id }) => String(id))
105
117
  : []
106
118
  }
119
+ validate={() => {
120
+ // @TODO investigate why form return true in case
121
+ // when required field not filled. Looks like
122
+ // we cann't use default hookForm trigger function
123
+ // because we have venueMap outside this form.
124
+ // So before closing we need to check directly by
125
+ // error on name field. Instead of run trugger.
126
+ const error = errors.steps?.[index]?.name;
127
+
128
+ if (error) {
129
+ setFocus(`${stepFieldName}.name` as const);
130
+ }
131
+
132
+ return Promise.resolve(!error);
133
+ }}
134
+ saveValidField={saveValidField}
107
135
  >
108
136
  <ProductCategoriesControl
109
137
  isLoading={isLoading}
@@ -0,0 +1,37 @@
1
+ import { useState } from "react";
2
+ import { useFormContext } from "react-hook-form";
3
+
4
+ interface useSortableTreeFunctionsProps {
5
+ fieldName: string;
6
+ remove: (index?: number | number[]) => void;
7
+ }
8
+ export const useSortableTreeFunctions = ({
9
+ fieldName,
10
+ remove,
11
+ }: useSortableTreeFunctionsProps) => {
12
+ const { getValues, setValue } = useFormContext();
13
+ const [previousValue, setEditValue] = useState(null);
14
+
15
+ const edit = (index: number) => {
16
+ const currentCategoryProduct = getValues(`${fieldName}.${index}` as const);
17
+ const cloneCategoryProduct = structuredClone(currentCategoryProduct);
18
+ setEditValue(cloneCategoryProduct);
19
+ };
20
+
21
+ const cancelChanges = (index: number) => {
22
+ if (!previousValue) {
23
+ return remove(index);
24
+ }
25
+ return setValue(`${fieldName}.${index}` as const, previousValue);
26
+ };
27
+
28
+ const saveValidField = () => {
29
+ setEditValue(null);
30
+ };
31
+
32
+ return {
33
+ edit,
34
+ cancelChanges,
35
+ saveValidField,
36
+ };
37
+ };
@@ -64,6 +64,7 @@ import { IsDeletableEvent } from "../types";
64
64
  import { FixedDurationOptions } from "./fixed-duration-fields";
65
65
  import { ProductDurationControl } from "./duration";
66
66
  import { ProductPriceControl } from "./price";
67
+ import { MAX_PRODUCT_DESCRIPTION_CHARACTERS_LENGTH } from "./constants";
67
68
 
68
69
  // TO DO refactor this file
69
70
  // and add correct types
@@ -86,6 +87,7 @@ export interface ProductControlValues
86
87
  isRequired: boolean;
87
88
  quantitySelector: number;
88
89
  hasSpecialNotes: boolean;
90
+ minSpend?: number | null;
89
91
  type?: ProductType;
90
92
  weight?: number;
91
93
  tierId?: number;
@@ -137,7 +139,7 @@ export function ProductControl<T extends FormValues>({
137
139
  const { setLoading, providerHasBookingManagement } = useContext(
138
140
  ProductSetLoadingContext
139
141
  );
140
- const { t } = useTranslation("Design");
142
+ const { t } = useTranslation(["Design", "Validation"]);
141
143
  const [expanded, setExpanded] = useState(false);
142
144
  const [initialImages, setInitialImages] = useState<Image[] | null>(null);
143
145
  // @TODO: After checking "isUnlimited" checkbox need to reset field totalQuantity
@@ -157,6 +159,7 @@ export function ProductControl<T extends FormValues>({
157
159
  const quantitySelectorId = useId();
158
160
  const hasSpecialNotesId = useId();
159
161
  const unlimitedQuantityId = useId();
162
+ const minSpendId = useId();
160
163
 
161
164
  const quantitySelectorList: SelectItem[] = [
162
165
  { id: 1, value: t("quantitySelector") },
@@ -189,7 +192,7 @@ export function ProductControl<T extends FormValues>({
189
192
 
190
193
  const onImageRemove = useCallback(
191
194
  (id, path) => {
192
- handleImageRemove(id, path);
195
+ handleImageRemove(String(id), path);
193
196
  },
194
197
  [handleImageRemove]
195
198
  );
@@ -200,7 +203,13 @@ export function ProductControl<T extends FormValues>({
200
203
  }, [setLoading, isImageUploading]);
201
204
 
202
205
  useEffect(() => {
203
- if (Array.isArray(images) && images?.length > 0) {
206
+ const formImages = getValues(`${fieldNamePrefix}.images` as Path<T>);
207
+
208
+ setInitialImages(formImages as Image[]);
209
+ }, [getValues, setInitialImages, fieldNamePrefix]);
210
+
211
+ useEffect(() => {
212
+ if (Array.isArray(images)) {
204
213
  setValue(
205
214
  `${fieldNamePrefix}.images` as Path<T>,
206
215
  images as UnpackNestedValue<PathValue<T, Path<T>>>
@@ -208,15 +217,8 @@ export function ProductControl<T extends FormValues>({
208
217
  }
209
218
  }, [images, fieldNamePrefix, setValue]);
210
219
 
211
- useEffect(() => {
212
- const formImages = getValues(`${fieldNamePrefix}.images` as Path<T>);
213
-
214
- setInitialImages(formImages as Image[]);
215
- }, [getValues, setInitialImages, fieldNamePrefix]);
216
-
217
220
  const quantitySelector = quantityValue ?? "1";
218
221
  const quantity = QUANTITY_TYPE_LIST_DTO[quantitySelector as string];
219
-
220
222
  return (
221
223
  <>
222
224
  <Row>
@@ -254,17 +256,24 @@ export function ProductControl<T extends FormValues>({
254
256
  disabled={isLoading}
255
257
  />
256
258
  )}
259
+ rules={{
260
+ maxLength: {
261
+ value: MAX_PRODUCT_DESCRIPTION_CHARACTERS_LENGTH,
262
+ message: t("Validation:descriptionTooManyCharactersMessage", {
263
+ max: MAX_PRODUCT_DESCRIPTION_CHARACTERS_LENGTH,
264
+ }) as string,
265
+ },
266
+ }}
257
267
  control={control}
258
268
  name={`${fieldNamePrefix}.description` as Path<T>}
259
269
  />
260
-
261
- <Form.Control.Feedback type="invalid">
262
- {HookFormService.getErrors<T>(
263
- `${fieldNamePrefix}.description` as Path<T>,
264
- errors
265
- )}
266
- </Form.Control.Feedback>
267
270
  </Form.Group>
271
+ <div className="invalid-feedback field-values-error d-block">
272
+ {HookFormService.getErrors<T>(
273
+ `${fieldNamePrefix}.description` as Path<T>,
274
+ errors
275
+ )}
276
+ </div>
268
277
 
269
278
  {allowDeposits ? (
270
279
  <Row>
@@ -274,7 +283,7 @@ export function ProductControl<T extends FormValues>({
274
283
  />
275
284
  <ProductPriceControl<T>
276
285
  isLoading={isLoading}
277
- fieldNamePrefix={fieldNamePrefix}
286
+ fieldNamePrefix={`${fieldNamePrefix}.price` as Path<T>}
278
287
  title={t("totalPrice")}
279
288
  allowDeposits={allowDeposits}
280
289
  />
@@ -282,7 +291,7 @@ export function ProductControl<T extends FormValues>({
282
291
  ) : (
283
292
  <ProductPriceControl<T>
284
293
  isLoading={isLoading}
285
- fieldNamePrefix={fieldNamePrefix}
294
+ fieldNamePrefix={`${fieldNamePrefix}.price` as Path<T>}
286
295
  />
287
296
  )}
288
297
 
@@ -553,10 +562,22 @@ export function ProductControl<T extends FormValues>({
553
562
  name={`${fieldNamePrefix}.hasSpecialNotes` as Path<T>}
554
563
  />
555
564
  </Form.Group>
556
-
557
- {categoryType === CATEGORY_TYPE_FIXED_DURATION && (
558
- <FixedDurationOptions fieldNamePrefix={fieldNamePrefix} />
559
- )}
565
+ {[CATEGORY_TYPE_GAME, CATEGORY_TYPE_FIXED_DURATION].includes(
566
+ categoryType
567
+ ) && <FixedDurationOptions fieldNamePrefix={fieldNamePrefix} />}
568
+ <Form.Group
569
+ controlId={minSpendId}
570
+ className="advanced-switch-container"
571
+ >
572
+ <ProductPriceControl
573
+ title={t("minSpend")}
574
+ isRequired={false}
575
+ isMoreThanZero
576
+ allowDeposits={false}
577
+ isLoading={isLoading}
578
+ fieldNamePrefix={`${fieldNamePrefix}.minSpend` as Path<T>}
579
+ />
580
+ </Form.Group>
560
581
  </div>
561
582
  </Collapse>
562
583
 
@@ -0,0 +1 @@
1
+ export const MAX_PRODUCT_DESCRIPTION_CHARACTERS_LENGTH = 1000;
@@ -1,9 +1,6 @@
1
1
  import React from "react";
2
2
  import HookFormService from "@licklist/plugins/dist/services/Form/HookFormService";
3
- import {
4
- FieldNamePrefixPath,
5
- FormValues,
6
- } from "@licklist/plugins/dist/types/services/Form/hook-form-service";
3
+ import { FormValues } from "@licklist/plugins/dist/types/services/Form/hook-form-service";
7
4
  import { useId } from "@react-aria/utils";
8
5
  import { Form } from "react-bootstrap";
9
6
  import Col from "react-bootstrap/Col";
@@ -16,10 +13,13 @@ export interface ProductPriceControlValues extends FormValues {
16
13
  price: number;
17
14
  }
18
15
 
19
- export interface ProductPriceControlProps<T> extends FieldNamePrefixPath<T> {
16
+ export interface ProductPriceControlProps<T> {
20
17
  isLoading: boolean;
21
18
  title?: string;
22
19
  allowDeposits?: boolean;
20
+ fieldNamePrefix: Path<T>;
21
+ isRequired?: boolean;
22
+ isMoreThanZero?: boolean;
23
23
  }
24
24
 
25
25
  export function ProductPriceControl<T extends FormValues>({
@@ -27,13 +27,15 @@ export function ProductPriceControl<T extends FormValues>({
27
27
  fieldNamePrefix,
28
28
  title,
29
29
  allowDeposits,
30
+ isRequired = true,
31
+ isMoreThanZero,
30
32
  }: ProductPriceControlProps<T>) {
31
33
  const {
32
34
  control,
33
35
  formState: { errors },
34
36
  } = useFormContext<T>();
35
37
  const { t } = useTranslation("Design");
36
-
38
+ const productTitle = title ?? t("price");
37
39
  const priceId = useId();
38
40
 
39
41
  return (
@@ -43,7 +45,7 @@ export function ProductPriceControl<T extends FormValues>({
43
45
  className={!allowDeposits && "p-0"}
44
46
  >
45
47
  <Form.Group controlId={priceId}>
46
- <Form.Label>{title ?? t("price")}</Form.Label>
48
+ <Form.Label>{productTitle}</Form.Label>
47
49
 
48
50
  <InputGroup hasValidation>
49
51
  <InputGroup.Prepend>
@@ -64,38 +66,58 @@ export function ProductPriceControl<T extends FormValues>({
64
66
  name={name}
65
67
  onChange={onChange}
66
68
  isInvalid={HookFormService.isInvalid<T>(
67
- `${fieldNamePrefix}.price` as Path<T>,
69
+ `${fieldNamePrefix}` as Path<T>,
68
70
  errors
69
71
  )}
70
72
  disabled={isLoading}
71
73
  />
72
74
  )}
73
75
  control={control}
74
- name={`${fieldNamePrefix}.price` as Path<T>}
76
+ name={`${fieldNamePrefix}` as Path<T>}
75
77
  rules={{
76
- required: t("Validation:fieldRequired", {
77
- attribute: t("price"),
78
- }) as string,
79
- min: {
80
- value: 0,
81
- message: t("Validation:fieldMinNumber", {
82
- attribute: t("price"),
83
- min: 0,
84
- }) as string,
85
- },
78
+ required: isRequired
79
+ ? (t("Validation:fieldRequired", {
80
+ attribute: productTitle,
81
+ }) as string)
82
+ : false,
83
+ min: !isMoreThanZero
84
+ ? {
85
+ value: 0,
86
+ message: t("Validation:fieldMinNumber", {
87
+ attribute: productTitle,
88
+ min: 0,
89
+ }) as string,
90
+ }
91
+ : undefined,
86
92
  max: {
87
93
  value: 999999.99,
88
94
  message: t("Validation:fieldMaxNumber", {
89
- attribute: t("price"),
95
+ attribute: productTitle,
90
96
  max: 999999.99,
91
97
  }) as string,
92
98
  },
99
+
100
+ validate: (value) => {
101
+ if (
102
+ !isMoreThanZero ||
103
+ (isMoreThanZero &&
104
+ (value === undefined || value === null || value === "")) ||
105
+ (isMoreThanZero && Number(value) > 0)
106
+ ) {
107
+ return true;
108
+ }
109
+
110
+ return t("Validation:fieldGreaterMinNumber", {
111
+ attribute: productTitle,
112
+ min: 0,
113
+ }) as string;
114
+ },
93
115
  }}
94
116
  />
95
117
 
96
118
  <Form.Control.Feedback type="invalid">
97
119
  {HookFormService.getErrors<T>(
98
- `${fieldNamePrefix}.price` as Path<T>,
120
+ `${fieldNamePrefix}` as Path<T>,
99
121
  errors
100
122
  )}
101
123
  </Form.Control.Feedback>
@@ -33,18 +33,22 @@ export function ProductQuantityRechargingControl<T extends FormValues>(
33
33
  onFocus,
34
34
  } = props;
35
35
  const {
36
- trigger,
37
36
  control,
37
+ trigger,
38
+ watch,
39
+ register,
38
40
  formState: { errors },
39
41
  } = useFormContext<T>();
40
42
  const { t } = useTranslation("Design");
41
-
42
43
  const totalQuantityId = useId();
43
44
 
44
- // trigger total quantity field's validation if disabled state was changed
45
+ const maxQuantityValue = watch(`${fieldNamePrefix}.maxQuantity` as Path<T>);
46
+ const unlimited = watch(`${fieldNamePrefix}.isUnlimited` as Path<T>);
47
+
45
48
  useEffect(() => {
46
49
  trigger(`${fieldNamePrefix}.totalQuantity` as Path<T>);
47
- }, [disabled, fieldNamePrefix, trigger]);
50
+ // eslint-disable-next-line react-hooks/exhaustive-deps
51
+ }, [maxQuantityValue, unlimited]);
48
52
 
49
53
  return (
50
54
  <>
@@ -65,6 +69,27 @@ export function ProductQuantityRechargingControl<T extends FormValues>(
65
69
  type="number"
66
70
  min={0}
67
71
  step={1}
72
+ {...register(`${fieldNamePrefix}.totalQuantity` as Path<T>, {
73
+ validate: (value) => {
74
+ if (unlimited) return true;
75
+ const min = 1;
76
+ const maxQuantity = Number(maxQuantityValue);
77
+ const totalQuantity = Number(value);
78
+ if (totalQuantity < min) {
79
+ return t("Validation:fieldMinNumber", {
80
+ attribute: t("totalQuantity"),
81
+ min: 1,
82
+ }) as string;
83
+ }
84
+ if (totalQuantity < maxQuantity) {
85
+ return t("Validation:fieldTotalNumber", {
86
+ attribute: t("totalQuantity"),
87
+ max: t("maxOrderQuantity"),
88
+ }) as string;
89
+ }
90
+ return true;
91
+ },
92
+ })}
68
93
  value={value as string}
69
94
  onFocus={onFocus}
70
95
  onChange={onChange}
@@ -83,18 +108,7 @@ export function ProductQuantityRechargingControl<T extends FormValues>(
83
108
  required: false,
84
109
  min: 0,
85
110
  }
86
- : {
87
- required: t("Validation:fieldRequired", {
88
- attribute: t("totalQuantity"),
89
- }) as string,
90
- min: {
91
- value: 1,
92
- message: t("Validation:fieldMinNumber", {
93
- attribute: t("totalQuantity"),
94
- min: 1,
95
- }) as string,
96
- },
97
- }
111
+ : {}
98
112
  }
99
113
  />
100
114
 
@@ -105,7 +105,7 @@ export function ProductCategoryControl({
105
105
 
106
106
  const allowDepositsId = useId();
107
107
  const remainderExpireAfterId = useId();
108
- const { providerHasBookingManagement, zones } = useContext(
108
+ const { providerHasBookingManagement, zones = [] } = useContext(
109
109
  ProductSetLoadingContext
110
110
  );
111
111