@licklist/design 0.44.485-dev.100 → 0.44.485-dev.12

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