@licklist/design 0.44.486-dev.9 → 0.44.487

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 (1056) 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/collapsible-input-group/CollapsibleInputGroup.js +1 -1
  33. package/dist/custom-fields/field-set/CustomFieldSets.d.ts +3 -3
  34. package/dist/custom-fields/field-set/CustomFieldSets.d.ts.map +1 -1
  35. package/dist/custom-fields/field-set/components/CustomFieldSet/CustomFieldSet.d.ts +1 -1
  36. package/dist/custom-fields/field-set/components/CustomFieldSet/CustomFieldSet.d.ts.map +1 -1
  37. package/dist/custom-fields/field-set/contexts/useCustomFieldSets.d.ts +2 -2
  38. package/dist/custom-fields/field-set/contexts/useCustomFieldSets.d.ts.map +1 -1
  39. package/dist/events/edit-event-modal/IntervalInput.d.ts +1 -4
  40. package/dist/events/edit-event-modal/IntervalInput.d.ts.map +1 -1
  41. package/dist/events/edit-event-modal/IntervalInput.js +1 -1
  42. package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.d.ts.map +1 -1
  43. package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.js +1 -1
  44. package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.d.ts.map +1 -1
  45. package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.js +1 -1
  46. package/dist/events/edit-event-modal/utils/getDefaultProductSet.d.ts.map +1 -1
  47. package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +1 -1
  48. package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.d.ts +3 -3
  49. package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.d.ts.map +1 -1
  50. package/dist/events/event-statistic-modal/EventStatisticModal.d.ts +3 -2
  51. package/dist/events/event-statistic-modal/EventStatisticModal.d.ts.map +1 -1
  52. package/dist/events/event-statistic-modal/EventStatisticModal.js +1 -1
  53. package/dist/events/event-statistic-modal/hooks/useTableData.d.ts +1 -1
  54. package/dist/events/event-statistic-modal/hooks/useTableData.d.ts.map +1 -1
  55. package/dist/events/event-statistic-modal/hooks/useTableData.js +1 -1
  56. package/dist/events/event-statistic-modal/utils/index.d.ts +1 -1
  57. package/dist/events/event-statistic-modal/utils/index.d.ts.map +1 -1
  58. package/dist/events/event-statistic-modal/utils/index.js +1 -1
  59. package/dist/events/event-venue-map/EventVenueMap.d.ts +2 -5
  60. package/dist/events/event-venue-map/EventVenueMap.d.ts.map +1 -1
  61. package/dist/events/event-venue-map/EventVenueMap.js +1 -1
  62. package/dist/events/event-venue-map/components/Dropdown/Dropdown.d.ts +1 -1
  63. package/dist/events/event-venue-map/components/Dropdown/Dropdown.d.ts.map +1 -1
  64. package/dist/events/event-venue-map/components/Dropdown/components/ProductsControl/ProductsControl.d.ts +1 -1
  65. package/dist/events/event-venue-map/components/Dropdown/components/ProductsControl/ProductsControl.d.ts.map +1 -1
  66. package/dist/events/event-venue-map/components/Dropdown/components/SelectControl/SelectControl.d.ts +1 -1
  67. package/dist/events/event-venue-map/components/Dropdown/components/SelectControl/SelectControl.d.ts.map +1 -1
  68. package/dist/events/event-venue-map/components/MapPoint/MapPoint.d.ts +1 -1
  69. package/dist/events/event-venue-map/components/MapPoint/MapPoint.d.ts.map +1 -1
  70. package/dist/events/event-venue-map/components/MapPoint/MapPoint.js +1 -1
  71. package/dist/events/event-venue-map/components/MapPoint/components/DeleteIcon/DeleteIcon.d.ts +1 -1
  72. package/dist/events/event-venue-map/components/MapPoint/components/DeleteIcon/DeleteIcon.d.ts.map +1 -1
  73. package/dist/events/event-venue-map/components/MapPoint/components/EditIcon/EditIcon.d.ts +1 -1
  74. package/dist/events/event-venue-map/components/MapPoint/components/EditIcon/EditIcon.d.ts.map +1 -1
  75. package/dist/events/event-venue-map/components/MapPoint/components/PointIcon/PointIcon.d.ts +1 -1
  76. package/dist/events/event-venue-map/components/MapPoint/components/PointIcon/PointIcon.d.ts.map +1 -1
  77. package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.d.ts +1 -1
  78. package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.d.ts.map +1 -1
  79. package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.js +1 -1
  80. package/dist/events/event-venue-map/components/VenueMap/VenueMap.d.ts +2 -4
  81. package/dist/events/event-venue-map/components/VenueMap/VenueMap.d.ts.map +1 -1
  82. package/dist/events/event-venue-map/components/VenueMap/VenueMap.js +1 -1
  83. package/dist/events/event-venue-map/hooks/useCanvasSize.d.ts +1 -1
  84. package/dist/events/event-venue-map/hooks/useCanvasSize.d.ts.map +1 -1
  85. package/dist/events/event-venue-map/hooks/useStageActions.d.ts +1 -1
  86. package/dist/events/event-venue-map/hooks/useStageActions.d.ts.map +1 -1
  87. package/dist/events/event-venue-map/types/index.d.ts +5 -5
  88. package/dist/events/event-venue-map/types/index.d.ts.map +1 -1
  89. package/dist/events/event-venue-map/utils/index.d.ts +3 -3
  90. package/dist/events/event-venue-map/utils/index.d.ts.map +1 -1
  91. package/dist/file-upload/FilePreview.d.ts +2 -2
  92. package/dist/file-upload/FilePreview.d.ts.map +1 -1
  93. package/dist/file-upload/FileUpload.d.ts +1 -1
  94. package/dist/file-upload/FileUpload.d.ts.map +1 -1
  95. package/dist/header/Header.d.ts +1 -1
  96. package/dist/header/Header.d.ts.map +1 -1
  97. package/dist/help/example/Example.d.ts +4 -4
  98. package/dist/help/example/Example.d.ts.map +1 -1
  99. package/dist/help/popover/HelpPopover.d.ts +3 -5
  100. package/dist/help/popover/HelpPopover.d.ts.map +1 -1
  101. package/dist/help/popover/HelpPopover.js +1 -1
  102. package/dist/iframe/custom-fields/components/CustomDateField.d.ts +1 -1
  103. package/dist/iframe/custom-fields/components/CustomDateField.d.ts.map +1 -1
  104. package/dist/iframe/event/event-calendar/EventCalendar.d.ts +3 -5
  105. package/dist/iframe/event/event-calendar/EventCalendar.d.ts.map +1 -1
  106. package/dist/iframe/event/event-calendar/EventCalendar.js +1 -1
  107. package/dist/iframe/event/event-calendar/components/CalendarButtons/CalendarButtons.d.ts +1 -1
  108. package/dist/iframe/event/event-calendar/components/CalendarButtons/CalendarButtons.d.ts.map +1 -1
  109. package/dist/iframe/event/event-calendar/components/CalendarDate/CalendarDate.d.ts +3 -4
  110. package/dist/iframe/event/event-calendar/components/CalendarDate/CalendarDate.d.ts.map +1 -1
  111. package/dist/iframe/event/event-calendar/components/CalendarDate/CalendarDate.js +1 -1
  112. package/dist/iframe/event/event-calendar/components/CalendarDates/CalendarDates.d.ts +3 -5
  113. package/dist/iframe/event/event-calendar/components/CalendarDates/CalendarDates.d.ts.map +1 -1
  114. package/dist/iframe/event/event-calendar/components/CalendarDates/CalendarDates.js +1 -1
  115. package/dist/iframe/event/event-calendar/components/CalendarSelect/CalendarSelect.d.ts +2 -2
  116. package/dist/iframe/event/event-calendar/components/CalendarSelect/CalendarSelect.d.ts.map +1 -1
  117. package/dist/iframe/event/event-calendar/types/index.d.ts +1 -1
  118. package/dist/iframe/event/event-calendar/types/index.d.ts.map +1 -1
  119. package/dist/iframe/event/event-card/IframeEventCard.d.ts +3 -3
  120. package/dist/iframe/event/event-card/IframeEventCard.d.ts.map +1 -1
  121. package/dist/iframe/event/event-card/IframeEventCard.js +1 -1
  122. package/dist/iframe/event/event-card/IframeEventCardSkeleton.d.ts +3 -3
  123. package/dist/iframe/event/event-card/IframeEventCardSkeleton.d.ts.map +1 -1
  124. package/dist/iframe/event/event-card/IframeEventCardSkeleton.js +1 -1
  125. package/dist/iframe/event/event-details/EventDetails.d.ts +1 -1
  126. package/dist/iframe/event/event-details/EventDetails.d.ts.map +1 -1
  127. package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.d.ts +6 -5
  128. package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.d.ts.map +1 -1
  129. package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.js +1 -1
  130. package/dist/iframe/event/event-product-sets/EventProductSets.d.ts +1 -1
  131. package/dist/iframe/event/event-product-sets/EventProductSets.d.ts.map +1 -1
  132. package/dist/iframe/event/event-product-sets/components/EventProductSet.d.ts +1 -1
  133. package/dist/iframe/event/event-product-sets/components/EventProductSet.d.ts.map +1 -1
  134. package/dist/iframe/event/event-step-venue-map-zones/EventStepVenueMapZones.d.ts +1 -1
  135. package/dist/iframe/event/event-step-venue-map-zones/EventStepVenueMapZones.d.ts.map +1 -1
  136. package/dist/iframe/event/event-step-venue-map-zones/components/EventStepVenueMapZone.d.ts +1 -1
  137. package/dist/iframe/event/event-step-venue-map-zones/components/EventStepVenueMapZone.d.ts.map +1 -1
  138. package/dist/iframe/event/event-venue-map/IframeEventVenueMap.d.ts +1 -2
  139. package/dist/iframe/event/event-venue-map/IframeEventVenueMap.d.ts.map +1 -1
  140. package/dist/iframe/index.d.ts +1 -3
  141. package/dist/iframe/index.d.ts.map +1 -1
  142. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts +1 -1
  143. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts.map +1 -1
  144. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.js +1 -1
  145. package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.d.ts +1 -1
  146. package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.d.ts.map +1 -1
  147. package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts +3 -3
  148. package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts.map +1 -1
  149. package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.d.ts +1 -1
  150. package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.d.ts.map +1 -1
  151. package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.d.ts +1 -1
  152. package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.d.ts.map +1 -1
  153. package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts +6 -7
  154. package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts.map +1 -1
  155. package/dist/iframe/order-process/components/BookingSummary/utils/index.d.ts +1 -1
  156. package/dist/iframe/order-process/components/BookingSummary/utils/index.d.ts.map +1 -1
  157. package/dist/iframe/order-process/components/BookingSummary/utils/index.js +1 -1
  158. package/dist/iframe/order-process/components/BookingSummaryFooter/BookingSummaryFooter.d.ts +4 -4
  159. package/dist/iframe/order-process/components/BookingSummaryFooter/BookingSummaryFooter.d.ts.map +1 -1
  160. package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.d.ts +2 -4
  161. package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.d.ts.map +1 -1
  162. package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.js +1 -1
  163. package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.d.ts +2 -4
  164. package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.d.ts.map +1 -1
  165. package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.js +1 -1
  166. package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts +2 -4
  167. package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts.map +1 -1
  168. package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.js +1 -1
  169. package/dist/iframe/order-process/components/CalendarStepsForm/components/ErrorModal.d.ts.map +1 -0
  170. package/dist/iframe/order-process/components/CalendarStepsForm/components/ErrorModal.js +1 -0
  171. package/dist/iframe/order-process/components/Category/Category.d.ts +12 -0
  172. package/dist/iframe/order-process/components/Category/Category.d.ts.map +1 -0
  173. package/dist/iframe/order-process/components/Category/Category.js +1 -0
  174. package/dist/iframe/order-process/components/Category/index.d.ts +2 -0
  175. package/dist/iframe/order-process/components/Category/index.d.ts.map +1 -0
  176. package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts +3 -4
  177. package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts.map +1 -1
  178. package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.js +1 -1
  179. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts +0 -1
  180. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts.map +1 -1
  181. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js +1 -1
  182. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts +2 -2
  183. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts.map +1 -1
  184. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.js +1 -1
  185. package/dist/iframe/order-process/components/NavigationSteps/NavigationSteps.d.ts +7 -8
  186. package/dist/iframe/order-process/components/NavigationSteps/NavigationSteps.d.ts.map +1 -1
  187. package/dist/iframe/order-process/components/NavigationSteps/index.d.ts +1 -1
  188. package/dist/iframe/order-process/components/NavigationSteps/index.d.ts.map +1 -1
  189. package/dist/iframe/order-process/components/PaymentCard/PaymentCard.d.ts +1 -1
  190. package/dist/iframe/order-process/components/PaymentCard/PaymentCard.d.ts.map +1 -1
  191. package/dist/iframe/order-process/components/StepsForm/StepsForm.d.ts +18 -0
  192. package/dist/iframe/order-process/components/StepsForm/StepsForm.d.ts.map +1 -0
  193. package/dist/iframe/order-process/components/StepsForm/StepsForm.js +1 -0
  194. package/dist/iframe/order-process/components/StepsForm/index.d.ts +2 -0
  195. package/dist/iframe/order-process/components/StepsForm/index.d.ts.map +1 -0
  196. package/dist/iframe/order-process/components/Timer/Timer.d.ts +1 -1
  197. package/dist/iframe/order-process/components/Timer/Timer.d.ts.map +1 -1
  198. package/dist/iframe/order-process/components/Timer/utils/index.d.ts +1 -1
  199. package/dist/iframe/order-process/components/Timer/utils/index.d.ts.map +1 -1
  200. package/dist/iframe/order-process/components/Timer/utils/index.js +1 -1
  201. package/dist/iframe/order-process/components/utils/category.d.ts +10 -0
  202. package/dist/iframe/order-process/components/utils/category.d.ts.map +1 -0
  203. package/dist/iframe/order-process/components/utils/category.js +1 -0
  204. package/dist/iframe/order-process/index.d.ts +2 -3
  205. package/dist/iframe/order-process/index.d.ts.map +1 -1
  206. package/dist/iframe/page/Page.d.ts +1 -1
  207. package/dist/iframe/page/Page.d.ts.map +1 -1
  208. package/dist/iframe/page/components/PageBody/PageBody.d.ts +2 -2
  209. package/dist/iframe/page/components/PageBody/PageBody.d.ts.map +1 -1
  210. package/dist/iframe/page/components/PageBody/PageBody.js +1 -1
  211. package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.d.ts +3 -3
  212. package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.d.ts.map +1 -1
  213. package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.js +1 -1
  214. package/dist/iframe/page/components/PageBody/components/RightBlock/RightBlock.d.ts +1 -1
  215. package/dist/iframe/page/components/PageBody/components/RightBlock/RightBlock.d.ts.map +1 -1
  216. package/dist/iframe/page/components/PageBody/types.d.ts +1 -1
  217. package/dist/iframe/page/components/PageBody/types.d.ts.map +1 -1
  218. package/dist/iframe/page/components/PageHeader/PageHeader.d.ts +1 -1
  219. package/dist/iframe/page/components/PageHeader/PageHeader.d.ts.map +1 -1
  220. package/dist/iframe/page/components/PageHeader/PageHeader.js +1 -1
  221. package/dist/iframe/payment/order-items-table/OrderItemsTable.js +1 -1
  222. package/dist/iframe/payment/order-items-table/hooks/useTableData.d.ts +0 -5
  223. package/dist/iframe/payment/order-items-table/hooks/useTableData.d.ts.map +1 -1
  224. package/dist/iframe/payment/order-items-table/hooks/useTableData.js +1 -1
  225. package/dist/iframe/payment/order-items-table/types/index.d.ts +3 -9
  226. package/dist/iframe/payment/order-items-table/types/index.d.ts.map +1 -1
  227. package/dist/iframe/payment/order-items-table/utils/index.d.ts +1 -6
  228. package/dist/iframe/payment/order-items-table/utils/index.d.ts.map +1 -1
  229. package/dist/iframe/payment/order-items-table/utils/index.js +1 -1
  230. package/dist/iframe/payment/payment-form/PaymentForm.js +1 -1
  231. package/dist/iframe/payment/payment-page/PaymentPage.d.ts +1 -1
  232. package/dist/iframe/payment/payment-page/PaymentPage.d.ts.map +1 -1
  233. package/dist/iframe/payment/payment-page/PaymentPage.js +1 -1
  234. package/dist/iframe/payment/payment-page/PaymentTimer.d.ts +0 -1
  235. package/dist/iframe/payment/payment-page/PaymentTimer.d.ts.map +1 -1
  236. package/dist/iframe/payment/payment-page/PaymentTimer.js +1 -1
  237. package/dist/iframe/payment/payment-status-header/PaymentStatusHeader.d.ts +1 -1
  238. package/dist/iframe/payment/payment-status-header/PaymentStatusHeader.d.ts.map +1 -1
  239. package/dist/iframe/payment/payment-status-page/PaymentStatusPage.d.ts +3 -5
  240. package/dist/iframe/payment/payment-status-page/PaymentStatusPage.d.ts.map +1 -1
  241. package/dist/iframe/payment/payment-status-page/PaymentStatusPage.js +1 -1
  242. package/dist/iframe/powered-by/PoweredBy.d.ts +1 -1
  243. package/dist/iframe/powered-by/PoweredBy.d.ts.map +1 -1
  244. package/dist/iframe/ryft/RyftPaymentForm.d.ts +1 -1
  245. package/dist/iframe/ryft/RyftPaymentForm.d.ts.map +1 -1
  246. package/dist/index.d.ts +0 -7
  247. package/dist/index.d.ts.map +1 -1
  248. package/dist/index.js +1 -1
  249. package/dist/logo/Logo.d.ts +1 -1
  250. package/dist/logo/Logo.d.ts.map +1 -1
  251. package/dist/modals/confirmation/ConfirmModal.d.ts +2 -2
  252. package/dist/modals/confirmation/ConfirmModal.d.ts.map +1 -1
  253. package/dist/notification/email-template/card/EmailTemplateCard.d.ts +1 -4
  254. package/dist/notification/email-template/card/EmailTemplateCard.d.ts.map +1 -1
  255. package/dist/notification/email-template/card/EmailTemplateCard.js +1 -1
  256. package/dist/notification/email-template/control/EmailTemplateControl.d.ts +0 -3
  257. package/dist/notification/email-template/control/EmailTemplateControl.d.ts.map +1 -1
  258. package/dist/notification/email-template/control/EmailTemplateControl.js +1 -1
  259. package/dist/notification/email-template/form/EmailTemplateForm.d.ts +1 -7
  260. package/dist/notification/email-template/form/EmailTemplateForm.d.ts.map +1 -1
  261. package/dist/notification/email-template/form/EmailTemplateForm.js +1 -1
  262. package/dist/notification/sms-template/card/SmsTemplateCard.d.ts +1 -4
  263. package/dist/notification/sms-template/card/SmsTemplateCard.d.ts.map +1 -1
  264. package/dist/notification/sms-template/card/SmsTemplateCard.js +1 -1
  265. package/dist/notification/sms-template/control/SmsTemplateControl.d.ts +1 -6
  266. package/dist/notification/sms-template/control/SmsTemplateControl.d.ts.map +1 -1
  267. package/dist/notification/sms-template/control/SmsTemplateControl.js +1 -1
  268. package/dist/notification/sms-template/form/SmsTemplateForm.d.ts +1 -5
  269. package/dist/notification/sms-template/form/SmsTemplateForm.d.ts.map +1 -1
  270. package/dist/notification/sms-template/form/SmsTemplateForm.js +1 -1
  271. package/dist/product-set/control/DateAndRecurrenceInput.d.ts +0 -2
  272. package/dist/product-set/control/DateAndRecurrenceInput.d.ts.map +1 -1
  273. package/dist/product-set/control/DateAndRecurrenceInput.js +1 -1
  274. package/dist/product-set/control/ProductSetControl.d.ts +4 -16
  275. package/dist/product-set/control/ProductSetControl.d.ts.map +1 -1
  276. package/dist/product-set/control/ProductSetControl.js +1 -1
  277. package/dist/product-set/deposit-paid/ProductSetDepositPaidControl.d.ts +3 -3
  278. package/dist/product-set/deposit-paid/ProductSetDepositPaidControl.d.ts.map +1 -1
  279. package/dist/product-set/elements/DeleteFieldButton.d.ts +1 -1
  280. package/dist/product-set/elements/DeleteFieldButton.d.ts.map +1 -1
  281. package/dist/product-set/form/ProductCategoriesControl.d.ts.map +1 -1
  282. package/dist/product-set/form/ProductCategoriesControl.js +1 -1
  283. package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
  284. package/dist/product-set/form/ProductSetForm.js +1 -1
  285. package/dist/product-set/form/ProductsControl.d.ts.map +1 -1
  286. package/dist/product-set/form/ProductsControl.js +1 -1
  287. package/dist/product-set/form/StepsControl.d.ts.map +1 -1
  288. package/dist/product-set/form/StepsControl.js +1 -1
  289. package/dist/product-set/form/VenueMapSetModal.d.ts +1 -1
  290. package/dist/product-set/form/VenueMapSetModal.d.ts.map +1 -1
  291. package/dist/product-set/form/VenueMapsControl.d.ts +1 -1
  292. package/dist/product-set/form/VenueMapsControl.d.ts.map +1 -1
  293. package/dist/product-set/form/context.d.ts +1 -1
  294. package/dist/product-set/form/context.d.ts.map +1 -1
  295. package/dist/product-set/popover/ProductSetPopover.d.ts +1 -1
  296. package/dist/product-set/popover/ProductSetPopover.d.ts.map +1 -1
  297. package/dist/product-set/product/ProductControl.d.ts +0 -1
  298. package/dist/product-set/product/ProductControl.d.ts.map +1 -1
  299. package/dist/product-set/product/ProductControl.js +1 -1
  300. package/dist/product-set/product/fixed-duration-fields/FixedDurationOptions.d.ts +1 -1
  301. package/dist/product-set/product/fixed-duration-fields/FixedDurationOptions.d.ts.map +1 -1
  302. package/dist/product-set/product/price/ProductPriceControl.d.ts +3 -7
  303. package/dist/product-set/product/price/ProductPriceControl.d.ts.map +1 -1
  304. package/dist/product-set/product/price/ProductPriceControl.js +1 -1
  305. package/dist/product-set/product/quantity/ProductQuantityRechargingControl.d.ts.map +1 -1
  306. package/dist/product-set/product/quantity/ProductQuantityRechargingControl.js +1 -1
  307. package/dist/product-set/product-category/ProductCategoryControl.js +1 -1
  308. package/dist/product-set/tabs/ProductSetTab.d.ts +1 -1
  309. package/dist/product-set/tabs/ProductSetTab.d.ts.map +1 -1
  310. package/dist/product-set/tabs/ProductSetTabs.d.ts +1 -1
  311. package/dist/product-set/tabs/ProductSetTabs.d.ts.map +1 -1
  312. package/dist/product-set/types/index.d.ts +5 -5
  313. package/dist/product-set/types/index.d.ts.map +1 -1
  314. package/dist/product-set/utils/index.d.ts +0 -4
  315. package/dist/product-set/utils/index.d.ts.map +1 -1
  316. package/dist/product-set/utils/index.js +1 -1
  317. package/dist/provider/categories-input/CategoriesInput.d.ts +1 -1
  318. package/dist/provider/categories-input/CategoriesInput.d.ts.map +1 -1
  319. package/dist/provider/categories-input/CategoriesInputDescription.d.ts +1 -1
  320. package/dist/provider/categories-input/CategoriesInputDescription.d.ts.map +1 -1
  321. package/dist/provider/categories-input/index.d.ts +1 -1
  322. package/dist/provider/categories-input/index.d.ts.map +1 -1
  323. package/dist/provider/company/user-form/UserForm.d.ts +2 -2
  324. package/dist/provider/company/user-form/UserForm.d.ts.map +1 -1
  325. package/dist/provider/location-input/index.d.ts +1 -1
  326. package/dist/provider/location-input/index.d.ts.map +1 -1
  327. package/dist/provider/provider-details-input/ProviderDetailsInput.d.ts +2 -2
  328. package/dist/provider/provider-details-input/ProviderDetailsInput.d.ts.map +1 -1
  329. package/dist/provider/provider-details-input/ProviderDetailsInput.js +1 -1
  330. package/dist/provider/provider-form/ProviderForm.d.ts +1 -1
  331. package/dist/provider/provider-form/ProviderForm.d.ts.map +1 -1
  332. package/dist/provider/provider-links-input/ProviderLinksInput.d.ts +2 -2
  333. package/dist/provider/provider-links-input/ProviderLinksInput.d.ts.map +1 -1
  334. package/dist/provider/resources-blocking-modal/ResourcesBlockingModal.d.ts +12 -0
  335. package/dist/provider/resources-blocking-modal/ResourcesBlockingModal.d.ts.map +1 -0
  336. package/dist/provider/resources-blocking-modal/index.d.ts +2 -0
  337. package/dist/provider/resources-blocking-modal/index.d.ts.map +1 -0
  338. package/dist/provider/venue-form/VenueForm.d.ts +1 -1
  339. package/dist/provider/venue-form/VenueForm.d.ts.map +1 -1
  340. package/dist/provider/working-hours-input/WorkingHoursInputDescription.d.ts.map +1 -1
  341. package/dist/provider/working-hours-input/WorkingHoursInputDescription.js +1 -1
  342. package/dist/provider/working-hours-input/index.d.ts +1 -1
  343. package/dist/provider/working-hours-input/index.d.ts.map +1 -1
  344. package/dist/recurrence-input/utils.d.ts +2 -2
  345. package/dist/recurrence-input/utils.d.ts.map +1 -1
  346. package/dist/recurring-date-picker-input/RecurrenceIntervalAndFrequencyInput.d.ts +1 -5
  347. package/dist/recurring-date-picker-input/RecurrenceIntervalAndFrequencyInput.d.ts.map +1 -1
  348. package/dist/recurring-date-picker-input/RecurrenceIntervalAndFrequencyInput.js +1 -1
  349. package/dist/recurring-date-picker-input/RecurringDatePickerInput.d.ts.map +1 -1
  350. package/dist/recurring-date-picker-input/RecurringDatePickerInput.js +1 -1
  351. package/dist/recurring-date-picker-input/utils.d.ts +2 -2
  352. package/dist/recurring-date-picker-input/utils.d.ts.map +1 -1
  353. package/dist/resource/form/ResourceForm.d.ts +2 -2
  354. package/dist/resource/form/ResourceForm.d.ts.map +1 -1
  355. package/dist/resource/form/components/CapacityControl.d.ts +1 -1
  356. package/dist/resource/form/components/CapacityControl.d.ts.map +1 -1
  357. package/dist/resource/form/components/NameControl.d.ts +1 -1
  358. package/dist/resource/form/components/NameControl.d.ts.map +1 -1
  359. package/dist/resource/form/components/SortControl.d.ts +1 -1
  360. package/dist/resource/form/components/SortControl.d.ts.map +1 -1
  361. package/dist/resource/form/components/ZoneControl.d.ts +1 -1
  362. package/dist/resource/form/components/ZoneControl.d.ts.map +1 -1
  363. package/dist/sales/booking/filter/BookingFilter.d.ts +12 -0
  364. package/dist/sales/booking/filter/BookingFilter.d.ts.map +1 -0
  365. package/dist/sales/booking/filter/BookingFilter.js +1 -0
  366. package/dist/sales/booking/filter/components/AdditionalFIlterSection.d.ts +10 -0
  367. package/dist/sales/booking/filter/components/AdditionalFIlterSection.d.ts.map +1 -0
  368. package/dist/sales/booking/filter/components/AdditionalFIlterSection.js +1 -0
  369. package/dist/sales/booking/filter/components/MainFilterSection.d.ts +5 -0
  370. package/dist/sales/booking/filter/components/MainFilterSection.d.ts.map +1 -0
  371. package/dist/sales/booking/filter/components/MainFilterSection.js +1 -0
  372. package/dist/sales/booking/filter/components/ResultTagButton.d.ts +8 -0
  373. package/dist/sales/booking/filter/components/ResultTagButton.d.ts.map +1 -0
  374. package/dist/sales/booking/filter/components/ResultTagButton.js +1 -0
  375. package/dist/sales/booking/filter/components/SearchingForSection.d.ts +3 -0
  376. package/dist/sales/booking/filter/components/SearchingForSection.d.ts.map +1 -0
  377. package/dist/sales/booking/filter/components/SearchingForSection.js +1 -0
  378. package/dist/sales/booking/filter/index.d.ts +3 -0
  379. package/dist/sales/booking/filter/index.d.ts.map +1 -0
  380. package/dist/sales/booking/index.d.ts +2 -0
  381. package/dist/sales/booking/index.d.ts.map +1 -1
  382. package/dist/sales/booking/results/BookingResults.d.ts +1 -1
  383. package/dist/sales/booking/results/BookingResults.d.ts.map +1 -1
  384. package/dist/sales/booking/results/components/ResultCard.d.ts +1 -1
  385. package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
  386. package/dist/sales/booking/results/components/ResultCard.js +1 -1
  387. package/dist/sales/booking/results/constants.d.ts.map +1 -1
  388. package/dist/sales/booking/results/constants.js +1 -1
  389. package/dist/sales/booking/results/index.d.ts +0 -1
  390. package/dist/sales/booking/results/index.d.ts.map +1 -1
  391. package/dist/sales/booking/tabs/BookingTabs.d.ts +11 -0
  392. package/dist/sales/booking/tabs/BookingTabs.d.ts.map +1 -0
  393. package/dist/sales/booking/tabs/BookingTabs.js +1 -0
  394. package/dist/sales/booking/tabs/index.d.ts +3 -0
  395. package/dist/sales/booking/tabs/index.d.ts.map +1 -0
  396. package/dist/sales/coupon/control/CouponFormControl.d.ts.map +1 -1
  397. package/dist/sales/coupon/control/CouponFormControl.js +1 -1
  398. package/dist/sales/filters/SaleFilters.d.ts +3 -2
  399. package/dist/sales/filters/SaleFilters.d.ts.map +1 -1
  400. package/dist/sales/guest-profile/previous-bookings/PreviousBookings.d.ts +3 -4
  401. package/dist/sales/guest-profile/previous-bookings/PreviousBookings.d.ts.map +1 -1
  402. package/dist/sales/guest-profile/previous-bookings/PreviousBookings.js +1 -1
  403. package/dist/sales/guest-profile/profile/Profile.d.ts +1 -1
  404. package/dist/sales/guest-profile/profile/Profile.d.ts.map +1 -1
  405. package/dist/sales/guest-profile/profile/components/ImageHolder/ImageHolder.d.ts +1 -1
  406. package/dist/sales/guest-profile/profile/components/ImageHolder/ImageHolder.d.ts.map +1 -1
  407. package/dist/sales/guest-profile/user-metrics/UserMetrics.d.ts +1 -1
  408. package/dist/sales/guest-profile/user-metrics/UserMetrics.d.ts.map +1 -1
  409. package/dist/sales/guest-profile/visited-providers/VisitedProviders.d.ts +1 -1
  410. package/dist/sales/guest-profile/visited-providers/VisitedProviders.d.ts.map +1 -1
  411. package/dist/sales/life-time-sales/LifeTimeSalesChart.d.ts +1 -1
  412. package/dist/sales/life-time-sales/LifeTimeSalesChart.d.ts.map +1 -1
  413. package/dist/sales/manual-booking/category-product/CategoryProduct.d.ts +16 -0
  414. package/dist/sales/manual-booking/category-product/CategoryProduct.d.ts.map +1 -0
  415. package/dist/sales/manual-booking/category-product/CategoryProduct.js +1 -0
  416. package/dist/sales/manual-booking/category-product/index.d.ts +2 -0
  417. package/dist/sales/manual-booking/category-product/index.d.ts.map +1 -0
  418. package/dist/sales/manual-booking/category-products/CategoryProducts.d.ts +17 -0
  419. package/dist/sales/manual-booking/category-products/CategoryProducts.d.ts.map +1 -0
  420. package/dist/sales/manual-booking/category-products/CategoryProducts.js +1 -0
  421. package/dist/sales/manual-booking/category-products/index.d.ts +2 -0
  422. package/dist/sales/manual-booking/category-products/index.d.ts.map +1 -0
  423. package/dist/sales/manual-booking/controll/ManualBookingStepsControll.d.ts +15 -0
  424. package/dist/sales/manual-booking/controll/ManualBookingStepsControll.d.ts.map +1 -0
  425. package/dist/sales/manual-booking/controll/ManualBookingStepsControll.js +1 -0
  426. package/dist/sales/manual-booking/controll/index.d.ts +2 -0
  427. package/dist/sales/manual-booking/controll/index.d.ts.map +1 -0
  428. package/dist/sales/manual-booking/create-user/CreateUser.d.ts +6 -0
  429. package/dist/sales/manual-booking/create-user/CreateUser.d.ts.map +1 -0
  430. package/dist/sales/manual-booking/create-user/CreateUser.js +1 -0
  431. package/dist/sales/manual-booking/create-user/index.d.ts +2 -0
  432. package/dist/sales/manual-booking/create-user/index.d.ts.map +1 -0
  433. package/dist/sales/manual-booking/customer-info/CustomerInfo.d.ts +7 -0
  434. package/dist/sales/manual-booking/customer-info/CustomerInfo.d.ts.map +1 -0
  435. package/dist/sales/manual-booking/customer-info/CustomerInfo.js +1 -0
  436. package/dist/sales/manual-booking/customer-info/index.d.ts +2 -0
  437. package/dist/sales/manual-booking/customer-info/index.d.ts.map +1 -0
  438. package/dist/sales/manual-booking/final-step/FinalStep.d.ts +7 -0
  439. package/dist/sales/manual-booking/final-step/FinalStep.d.ts.map +1 -0
  440. package/dist/sales/manual-booking/final-step/FinalStep.js +1 -0
  441. package/dist/sales/manual-booking/final-step/index.d.ts +2 -0
  442. package/dist/sales/manual-booking/final-step/index.d.ts.map +1 -0
  443. package/dist/sales/manual-booking/index.d.ts +5 -1
  444. package/dist/sales/manual-booking/index.d.ts.map +1 -1
  445. package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.d.ts +1 -2
  446. package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.d.ts.map +1 -1
  447. package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.js +1 -1
  448. package/dist/sales/manual-booking/search-user/SearchUser.js +1 -1
  449. package/dist/sales/manual-booking/select-date-type-control/SelectDateTypeControl.d.ts +3 -3
  450. package/dist/sales/manual-booking/select-date-type-control/SelectDateTypeControl.d.ts.map +1 -1
  451. package/dist/sales/manual-booking/select-date-type-control/SelectDateTypeControl.js +1 -1
  452. package/dist/sales/manual-booking/select-event/SelectEvent.d.ts +3 -3
  453. package/dist/sales/manual-booking/select-event/SelectEvent.d.ts.map +1 -1
  454. package/dist/sales/manual-booking/select-menu/SelectMenu.d.ts +5 -6
  455. package/dist/sales/manual-booking/select-menu/SelectMenu.d.ts.map +1 -1
  456. package/dist/sales/manual-booking/select-menu/SelectMenu.js +1 -1
  457. package/dist/sales/manual-booking/select-menu/components/MenuButton.d.ts +4 -4
  458. package/dist/sales/manual-booking/select-menu/components/MenuButton.d.ts.map +1 -1
  459. package/dist/sales/notes/NotesTable.d.ts +1 -1
  460. package/dist/sales/notes/NotesTable.d.ts.map +1 -1
  461. package/dist/sales/notes/NotesTableRow.d.ts +1 -1
  462. package/dist/sales/notes/NotesTableRow.d.ts.map +1 -1
  463. package/dist/sales/notes/NotesTableRow.js +1 -1
  464. package/dist/sales/notes/note-form/NoteForm.d.ts +1 -1
  465. package/dist/sales/notes/note-form/NoteForm.d.ts.map +1 -1
  466. package/dist/sales/payment-form/SalePaymentForm.d.ts +2 -2
  467. package/dist/sales/payment-form/SalePaymentForm.d.ts.map +1 -1
  468. package/dist/sales/payment-form/components/RyftPayment/RyftPayment.d.ts +1 -1
  469. package/dist/sales/payment-form/components/RyftPayment/RyftPayment.d.ts.map +1 -1
  470. package/dist/sales/payment-form/types.d.ts +2 -2
  471. package/dist/sales/payment-form/types.d.ts.map +1 -1
  472. package/dist/sales/sales-and-views/SalesAndViewsChart.d.ts +1 -1
  473. package/dist/sales/sales-and-views/SalesAndViewsChart.d.ts.map +1 -1
  474. package/dist/setting/admin/AdminSettingForm.d.ts +1 -1
  475. package/dist/setting/admin/AdminSettingForm.d.ts.map +1 -1
  476. package/dist/setting/admin/PaymentFeeForm.d.ts +2 -2
  477. package/dist/setting/admin/PaymentFeeForm.d.ts.map +1 -1
  478. package/dist/setting/dashboard/DashboardSettingForm.d.ts +1 -1
  479. package/dist/setting/dashboard/DashboardSettingForm.d.ts.map +1 -1
  480. package/dist/setting/dashboard/EventSettingForm.d.ts +2 -2
  481. package/dist/setting/dashboard/EventSettingForm.d.ts.map +1 -1
  482. package/dist/setting/dashboard/FinancialDataForm.d.ts +2 -2
  483. package/dist/setting/dashboard/FinancialDataForm.d.ts.map +1 -1
  484. package/dist/setting/dashboard/OtherSettingForm.d.ts +2 -2
  485. package/dist/setting/dashboard/OtherSettingForm.d.ts.map +1 -1
  486. package/dist/setting/dashboard/ProviderSettingForm.d.ts +2 -2
  487. package/dist/setting/dashboard/ProviderSettingForm.d.ts.map +1 -1
  488. package/dist/setting/dashboard/index.d.ts +2 -0
  489. package/dist/setting/dashboard/index.d.ts.map +1 -1
  490. package/dist/setting/dashboard/snippets/card/SnippetCard.js +1 -1
  491. package/dist/setting/dashboard/snippets/control/SnippetControl.d.ts +9 -0
  492. package/dist/setting/dashboard/snippets/control/SnippetControl.d.ts.map +1 -0
  493. package/dist/setting/dashboard/snippets/control/SnippetControl.js +1 -0
  494. package/dist/setting/dashboard/snippets/control/index.d.ts +2 -0
  495. package/dist/setting/dashboard/snippets/control/index.d.ts.map +1 -0
  496. package/dist/setting/dashboard/snippets/form/SnippetForm.d.ts +33 -0
  497. package/dist/setting/dashboard/snippets/form/SnippetForm.d.ts.map +1 -0
  498. package/dist/setting/dashboard/snippets/form/SnippetForm.js +1 -0
  499. package/dist/setting/dashboard/snippets/form/context.d.ts +11 -0
  500. package/dist/setting/dashboard/snippets/form/context.d.ts.map +1 -0
  501. package/dist/setting/dashboard/snippets/form/context.js +1 -0
  502. package/dist/setting/dashboard/snippets/form/index.d.ts +2 -0
  503. package/dist/setting/dashboard/snippets/form/index.d.ts.map +1 -0
  504. package/dist/setting/dashboard/snippets/modal/SnippetViewTypeModal.d.ts +19 -0
  505. package/dist/setting/dashboard/snippets/modal/SnippetViewTypeModal.d.ts.map +1 -0
  506. package/dist/setting/dashboard/snippets/modal/SnippetViewTypeModal.js +1 -0
  507. package/dist/setting/dashboard/snippets/modal/index.d.ts +3 -0
  508. package/dist/setting/dashboard/snippets/modal/index.d.ts.map +1 -0
  509. package/dist/setting/system/SystemSettingForm.d.ts +1 -1
  510. package/dist/setting/system/SystemSettingForm.d.ts.map +1 -1
  511. package/dist/snippet/snippet-template/SnippetTemplate.js +1 -1
  512. package/dist/snippet/snippet-template/context/snippetTemplate.d.ts +1 -1
  513. package/dist/snippet/snippet-template/context/snippetTemplate.d.ts.map +1 -1
  514. package/dist/snippet/snippet-template/form/SnippetTemplateForm.js +1 -1
  515. package/dist/snippet/snippet-template/preview/Preview.d.ts.map +1 -1
  516. package/dist/snippet/snippet-template/preview/Preview.js +1 -1
  517. package/dist/sortable-list/SortableList.d.ts +4 -4
  518. package/dist/sortable-list/SortableList.d.ts.map +1 -1
  519. package/dist/sortable-tree/SortableTreeItem.d.ts +2 -5
  520. package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
  521. package/dist/sortable-tree/SortableTreeItem.js +1 -1
  522. package/dist/static/CountryCodeSelect.d.ts.map +1 -1
  523. package/dist/static/CountryCodeSelect.js +1 -1
  524. package/dist/static/Icon.d.ts +1 -1
  525. package/dist/static/Icon.d.ts.map +1 -1
  526. package/dist/static/date-range-input/DateRangeInput.d.ts +4 -4
  527. package/dist/static/date-range-input/DateRangeInput.d.ts.map +1 -1
  528. package/dist/static/date-range-input/DateRangeInput.js +1 -1
  529. package/dist/static/images/DefaultUserImage.d.ts +1 -1
  530. package/dist/static/images/DefaultUserImage.d.ts.map +1 -1
  531. package/dist/static/loader/ButtonLoader.d.ts +1 -1
  532. package/dist/static/loader/ButtonLoader.d.ts.map +1 -1
  533. package/dist/static/loader/PaymentLoader.d.ts +1 -1
  534. package/dist/static/loader/PaymentLoader.d.ts.map +1 -1
  535. package/dist/static/manual-date-picker/ManualDatePicker.d.ts +1 -1
  536. package/dist/static/manual-date-picker/ManualDatePicker.d.ts.map +1 -1
  537. package/dist/static/manual-date-picker/hooks/useManualDatePicker.d.ts +2 -2
  538. package/dist/static/manual-date-picker/hooks/useManualDatePicker.d.ts.map +1 -1
  539. package/dist/static/tabs/Tab.d.ts +1 -1
  540. package/dist/static/tabs/Tab.d.ts.map +1 -1
  541. package/dist/static/tabs/Tabs.d.ts +1 -1
  542. package/dist/static/tabs/Tabs.d.ts.map +1 -1
  543. package/dist/styles/events/EventStatisticModal.scss +37 -0
  544. package/dist/styles/events/EventVenueMap.scss +1 -1
  545. package/dist/styles/iframe-events/Calendar.scss +14 -14
  546. package/dist/styles/iframe-order-process/IframeOrderProcess.scss +4 -12
  547. package/dist/styles/iframe-page/PageBody.scss +2 -5
  548. package/dist/styles/packages.scss +1 -7
  549. package/dist/styles/resources-blocking/_index.scss +1 -38
  550. package/dist/styles/sales/BookingFilter.scss +11 -45
  551. package/dist/styles/sales/ManualBooking.scss +1 -7
  552. package/dist/styles/sales/RandomColors.scss +4 -7
  553. package/dist/styles/snippet-templates/SnippetTemplateCard.scss +0 -16
  554. package/dist/styles/static/DateRangeInput.scss +1 -5
  555. package/dist/styles/themes/bookedit/_variables.scss +2 -3
  556. package/dist/styles/widgets/BookingStyleSelector.scss +14 -0
  557. package/dist/styles/widgets/CalendarStyleSelector.scss +17 -0
  558. package/dist/styles/widgets/CheckboxGroup.scss +15 -0
  559. package/dist/styles/{image-radio-input/_index.scss → widgets/ImageRadioInput.scss} +0 -12
  560. package/dist/styles/widgets/ProductSetSelector.scss +19 -0
  561. package/dist/styles/widgets/SnippetCode.scss +18 -0
  562. package/dist/styles/widgets/WidgetBuilderForm.scss +51 -0
  563. package/dist/styles/{radio-card/_index.scss → widgets/WidgetTypeRadioButton.scss} +1 -8
  564. package/dist/styles/widgets/WidgetTypeSelector.scss +6 -0
  565. package/dist/styles/widgets/_index.scss +9 -0
  566. package/dist/styles/zones/ZoneForm.scss +1 -0
  567. package/dist/table/FilterHelperComponent.d.ts.map +1 -1
  568. package/dist/table/FilterHelperComponent.js +1 -1
  569. package/dist/table/MenuButton.d.ts +1 -1
  570. package/dist/table/MenuButton.d.ts.map +1 -1
  571. package/dist/table/StaticTable.d.ts +4 -6
  572. package/dist/table/StaticTable.d.ts.map +1 -1
  573. package/dist/table/StaticTable.js +1 -1
  574. package/dist/table/TableHelperComponent.d.ts +3 -2
  575. package/dist/table/TableHelperComponent.d.ts.map +1 -1
  576. package/dist/table/index.d.ts +0 -1
  577. package/dist/table/index.d.ts.map +1 -1
  578. package/dist/table/utils/index.d.ts +0 -1
  579. package/dist/table/utils/index.d.ts.map +1 -1
  580. package/dist/table/utils/index.js +1 -1
  581. package/dist/tiptap-editor/TipTapMenu/extensions/EMOJIS.d.ts +1 -1
  582. package/dist/tiptap-editor/TipTapMenu/extensions/EMOJIS.d.ts.map +1 -1
  583. package/dist/typeahead/Typeahead.d.ts +12 -6
  584. package/dist/typeahead/Typeahead.d.ts.map +1 -1
  585. package/dist/typeahead/Typeahead.js +1 -1
  586. package/dist/typeahead-helper/TypeaheadHelperComponent.d.ts +1 -1
  587. package/dist/typeahead-helper/TypeaheadHelperComponent.d.ts.map +1 -1
  588. package/dist/types/categories.d.ts +2 -2
  589. package/dist/types/categories.d.ts.map +1 -1
  590. package/dist/types/currency.d.ts +1 -1
  591. package/dist/types/currency.d.ts.map +1 -1
  592. package/dist/types/generic/SelectItem.d.ts +1 -1
  593. package/dist/types/generic/SelectItem.d.ts.map +1 -1
  594. package/dist/types/iframe.d.ts +3 -7
  595. package/dist/types/iframe.d.ts.map +1 -1
  596. package/dist/types/provider-links.d.ts +2 -2
  597. package/dist/types/provider-links.d.ts.map +1 -1
  598. package/dist/venue-map-sets/form/components/NameControl.d.ts +1 -1
  599. package/dist/venue-map-sets/form/components/NameControl.d.ts.map +1 -1
  600. package/dist/venue-map-sets/form/components/VenueMapControl.d.ts +4 -4
  601. package/dist/venue-map-sets/form/components/VenueMapControl.d.ts.map +1 -1
  602. package/dist/venue-map-sets/form/components/VenueMapImageControl.d.ts +1 -1
  603. package/dist/venue-map-sets/form/components/VenueMapImageControl.d.ts.map +1 -1
  604. package/dist/venue-map-sets/form/components/VenueMapModal.d.ts +1 -1
  605. package/dist/venue-map-sets/form/components/VenueMapModal.d.ts.map +1 -1
  606. package/dist/venue-map-sets/form/components/VenueMapsControl.d.ts +1 -1
  607. package/dist/venue-map-sets/form/components/VenueMapsControl.d.ts.map +1 -1
  608. package/dist/venue-map-sets/form/types/index.d.ts +4 -4
  609. package/dist/venue-map-sets/form/types/index.d.ts.map +1 -1
  610. package/dist/virtualized/components/VirtualizedGrid.d.ts +1 -1
  611. package/dist/virtualized/components/VirtualizedGrid.d.ts.map +1 -1
  612. package/dist/virtualized/components/VirtualizedWindowScroller.d.ts +3 -3
  613. package/dist/virtualized/components/VirtualizedWindowScroller.d.ts.map +1 -1
  614. package/dist/virtualized/context/VirtualizedContext.d.ts +2 -2
  615. package/dist/virtualized/context/VirtualizedContext.d.ts.map +1 -1
  616. package/dist/widgets/BookingStyleSelector/BookingStyleSelector.d.ts +3 -0
  617. package/dist/widgets/BookingStyleSelector/BookingStyleSelector.d.ts.map +1 -0
  618. package/dist/widgets/BookingStyleSelector/index.d.ts +2 -0
  619. package/dist/widgets/BookingStyleSelector/index.d.ts.map +1 -0
  620. package/dist/widgets/CalendarStyleSelector/CalendarStyleSelector.d.ts +3 -0
  621. package/dist/widgets/CalendarStyleSelector/CalendarStyleSelector.d.ts.map +1 -0
  622. package/dist/widgets/CalendarStyleSelector/index.d.ts +2 -0
  623. package/dist/widgets/CalendarStyleSelector/index.d.ts.map +1 -0
  624. package/dist/widgets/CheckboxGroup/CheckboxGroup.d.ts +8 -0
  625. package/dist/widgets/CheckboxGroup/CheckboxGroup.d.ts.map +1 -0
  626. package/dist/widgets/CheckboxGroup/index.d.ts +2 -0
  627. package/dist/widgets/CheckboxGroup/index.d.ts.map +1 -0
  628. package/dist/widgets/ImageRadioInput/ImageRadioInput.d.ts +9 -0
  629. package/dist/widgets/ImageRadioInput/ImageRadioInput.d.ts.map +1 -0
  630. package/dist/widgets/ImageRadioInput/index.d.ts.map +1 -0
  631. package/dist/widgets/ProductSetSelector/ProductSetSelector.d.ts +3 -0
  632. package/dist/widgets/ProductSetSelector/ProductSetSelector.d.ts.map +1 -0
  633. package/dist/widgets/ProductSetSelector/index.d.ts +2 -0
  634. package/dist/widgets/ProductSetSelector/index.d.ts.map +1 -0
  635. package/dist/widgets/SnippetCode/SnippetCode.d.ts +6 -0
  636. package/dist/widgets/SnippetCode/SnippetCode.d.ts.map +1 -0
  637. package/dist/widgets/SnippetCode/index.d.ts +2 -0
  638. package/dist/widgets/SnippetCode/index.d.ts.map +1 -0
  639. package/dist/widgets/WidgetBuilderForm/WidgetBuilderForm.d.ts +12 -0
  640. package/dist/widgets/WidgetBuilderForm/WidgetBuilderForm.d.ts.map +1 -0
  641. package/dist/widgets/WidgetTypeRadio/WidgetTypeRadio.d.ts +7 -0
  642. package/dist/widgets/WidgetTypeRadio/WidgetTypeRadio.d.ts.map +1 -0
  643. package/dist/widgets/WidgetTypeRadio/index.d.ts +2 -0
  644. package/dist/widgets/WidgetTypeRadio/index.d.ts.map +1 -0
  645. package/dist/widgets/WidgetTypeSelector/WidgetTypeSelector.d.ts +3 -0
  646. package/dist/widgets/WidgetTypeSelector/WidgetTypeSelector.d.ts.map +1 -0
  647. package/dist/zone/form/ZoneForm.d.ts +2 -2
  648. package/dist/zone/form/ZoneForm.d.ts.map +1 -1
  649. package/dist/zone/form/components/AvailableTimesControl.d.ts +2 -9
  650. package/dist/zone/form/components/AvailableTimesControl.d.ts.map +1 -1
  651. package/dist/zone/form/components/AvailableTimesControl.js +1 -1
  652. package/dist/zone/form/components/DescriptionControl.d.ts +1 -1
  653. package/dist/zone/form/components/DescriptionControl.d.ts.map +1 -1
  654. package/dist/zone/form/components/NameControl.d.ts +1 -1
  655. package/dist/zone/form/components/NameControl.d.ts.map +1 -1
  656. package/dist/zone/form/components/SortControl.d.ts +1 -1
  657. package/dist/zone/form/components/SortControl.d.ts.map +1 -1
  658. package/dist/zone/form/components/ZoneControl.d.ts +1 -1
  659. package/dist/zone/form/components/ZoneControl.d.ts.map +1 -1
  660. package/dist/zone/form/components/ZoneImageControl.d.ts +1 -1
  661. package/dist/zone/form/components/ZoneImageControl.d.ts.map +1 -1
  662. package/dist/zone/form/components/ZoneRecurrencesControl.d.ts +1 -1
  663. package/dist/zone/form/components/ZoneRecurrencesControl.d.ts.map +1 -1
  664. package/dist/zone/form/components/ZoneRecurrencesControl.js +1 -1
  665. package/dist/zone/form/components/ZoneTypeControl.d.ts +1 -1
  666. package/dist/zone/form/components/ZoneTypeControl.d.ts.map +1 -1
  667. package/dist/zone/form/utils/dates.d.ts.map +1 -1
  668. package/dist/zone/form/utils/dates.js +1 -1
  669. package/package.json +4 -6
  670. package/src/assets/dashboard/blockingClock.png +0 -0
  671. package/src/assets/dashboard/bookingCalendar.svg +67 -0
  672. package/src/assets/dashboard/bookingList.svg +68 -0
  673. package/src/assets/dashboard/bookingListSmall.svg +6 -0
  674. package/src/assets/dashboard/fullscreen.svg +3 -0
  675. package/src/assets/dashboard/minimize.svg +3 -0
  676. package/src/assets/dashboard/refresh.svg +4 -0
  677. package/src/assets/widgets/circlePlus.svg +4 -0
  678. package/src/assets/widgets/inPage.svg +10 -0
  679. package/src/assets/widgets/overlay.svg +9 -0
  680. package/src/assets/widgets/sidebar.svg +9 -0
  681. package/src/collapsible-input-group/CollapsibleInputGroup.tsx +1 -1
  682. package/src/events/edit-event-modal/IntervalInput.tsx +2 -28
  683. package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx +0 -3
  684. package/src/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.tsx +2 -11
  685. package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +4 -6
  686. package/src/events/event-statistic-modal/EventStatisticModal.tsx +5 -2
  687. package/src/events/event-statistic-modal/hooks/useTableData.tsx +10 -4
  688. package/src/events/event-statistic-modal/utils/index.ts +38 -35
  689. package/src/events/event-venue-map/EventVenueMap.tsx +0 -4
  690. package/src/events/event-venue-map/components/MapPoint/MapPoint.tsx +3 -5
  691. package/src/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.tsx +2 -13
  692. package/src/events/event-venue-map/components/VenueMap/VenueMap.tsx +4 -12
  693. package/src/help/popover/HelpPopover.tsx +5 -13
  694. package/src/iframe/event/event-calendar/EventCalendar.stories.tsx +21 -20
  695. package/src/iframe/event/event-calendar/EventCalendar.tsx +3 -10
  696. package/src/iframe/event/event-calendar/components/CalendarDate/CalendarDate.tsx +3 -11
  697. package/src/iframe/event/event-calendar/components/CalendarDates/CalendarDates.tsx +2 -6
  698. package/src/iframe/event/event-card/IframeEventCard.stories.tsx +14 -6
  699. package/src/iframe/event/event-card/IframeEventCard.tsx +10 -6
  700. package/src/iframe/event/event-card/IframeEventCardSkeleton.tsx +30 -20
  701. package/src/iframe/event/event-card/IframeEventCards.stories.tsx +3 -2
  702. package/src/iframe/event/event-order-short-summary/components/Summary/Summary.tsx +20 -20
  703. package/src/iframe/event/event-venue-map/IframeEventVenueMap.stories.tsx +0 -5
  704. package/src/iframe/index.ts +1 -5
  705. package/src/iframe/order-process/OrderProcess.stories.tsx +362 -0
  706. package/src/iframe/order-process/components/BookingSummary/BookingSummary.tsx +1 -6
  707. package/src/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.tsx +2 -2
  708. package/src/iframe/order-process/components/BookingSummary/types/index.ts +5 -6
  709. package/src/iframe/order-process/components/BookingSummary/utils/index.ts +2 -6
  710. package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.stories.tsx +0 -1
  711. package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.tsx +5 -11
  712. package/src/iframe/order-process/components/CalendarStepsForm/components/Category.tsx +0 -4
  713. package/src/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.tsx +0 -4
  714. package/src/iframe/order-process/components/{ErrorModal → CalendarStepsForm/components}/ErrorModal.tsx +1 -1
  715. package/src/iframe/order-process/components/Category/Category.stories.tsx +118 -0
  716. package/src/iframe/order-process/components/Category/Category.tsx +48 -0
  717. package/src/iframe/order-process/components/Category/index.ts +1 -0
  718. package/src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx +11 -45
  719. package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +0 -3
  720. package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +6 -7
  721. package/src/iframe/order-process/components/NavigationSteps/NavigationSteps.tsx +6 -8
  722. package/src/iframe/order-process/components/NavigationSteps/index.ts +1 -1
  723. package/src/iframe/order-process/components/StepsForm/StepsForm.tsx +173 -0
  724. package/src/iframe/order-process/components/StepsForm/index.ts +1 -0
  725. package/src/iframe/order-process/components/Timer/Timer.stories.tsx +1 -1
  726. package/src/iframe/order-process/components/Timer/utils/index.ts +4 -4
  727. package/src/iframe/order-process/components/utils/category.ts +48 -0
  728. package/src/iframe/order-process/index.ts +2 -3
  729. package/src/iframe/page/components/PageBody/PageBody.tsx +1 -1
  730. package/src/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.tsx +4 -4
  731. package/src/iframe/page/components/PageHeader/PageHeader.tsx +13 -2
  732. package/src/iframe/payment/order-items-table/OrderItemsTable.stories.tsx +0 -2
  733. package/src/iframe/payment/order-items-table/hooks/useTableData.tsx +93 -12
  734. package/src/iframe/payment/order-items-table/types/index.ts +1 -18
  735. package/src/iframe/payment/order-items-table/utils/index.ts +15 -55
  736. package/src/iframe/payment/payment-page/PaymentPage.tsx +7 -46
  737. package/src/iframe/payment/payment-page/PaymentTimer.tsx +6 -31
  738. package/src/iframe/payment/payment-status-page/PaymentStatusPage.tsx +12 -66
  739. package/src/index.ts +0 -7
  740. package/src/logo/Logo.tsx +1 -1
  741. package/src/notification/email-template/card/EmailTemplateCard.stories.tsx +2 -4
  742. package/src/notification/email-template/card/EmailTemplateCard.tsx +3 -15
  743. package/src/notification/email-template/control/EmailTemplateControl.tsx +6 -90
  744. package/src/notification/email-template/form/EmailTemplateForm.stories.tsx +0 -34
  745. package/src/notification/email-template/form/EmailTemplateForm.tsx +5 -23
  746. package/src/notification/sms-template/card/SmsTemplateCard.stories.tsx +1 -3
  747. package/src/notification/sms-template/card/SmsTemplateCard.tsx +3 -13
  748. package/src/notification/sms-template/control/SmsTemplateControl.tsx +2 -40
  749. package/src/notification/sms-template/form/SmsTemplateForm.stories.tsx +0 -28
  750. package/src/notification/sms-template/form/SmsTemplateForm.tsx +1 -6
  751. package/src/product-set/control/DateAndRecurrenceInput.tsx +2 -2
  752. package/src/product-set/control/ProductSetControl.tsx +45 -69
  753. package/src/product-set/form/ProductCategoriesControl.tsx +4 -17
  754. package/src/product-set/form/ProductSetForm.stories.tsx +2 -41
  755. package/src/product-set/form/ProductSetForm.tsx +0 -11
  756. package/src/product-set/form/ProductsControl.tsx +1 -30
  757. package/src/product-set/form/StepsControl.tsx +3 -31
  758. package/src/product-set/product/ProductControl.tsx +23 -44
  759. package/src/product-set/product/price/ProductPriceControl.tsx +21 -43
  760. package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +16 -30
  761. package/src/product-set/product-category/ProductCategoryControl.tsx +1 -1
  762. package/src/product-set/utils/index.ts +0 -28
  763. package/src/provider/provider-details-input/ProviderDetailsInput.tsx +4 -28
  764. package/src/provider/resources-blocking-modal/ResourcesBlockingModal.stories.tsx +51 -0
  765. package/src/provider/resources-blocking-modal/ResourcesBlockingModal.tsx +134 -0
  766. package/src/provider/resources-blocking-modal/index.ts +1 -0
  767. package/src/provider/working-hours-input/WorkingHoursInputDescription.tsx +8 -10
  768. package/src/recurring-date-picker-input/RecurrenceIntervalAndFrequencyInput.tsx +22 -81
  769. package/src/recurring-date-picker-input/RecurringDatePickerInput.tsx +0 -1
  770. package/src/sales/booking/filter/BookingFilter.stories.tsx +27 -0
  771. package/src/sales/booking/filter/BookingFilter.tsx +47 -0
  772. package/src/sales/booking/filter/components/AdditionalFIlterSection.tsx +95 -0
  773. package/src/sales/booking/filter/components/MainFilterSection.tsx +131 -0
  774. package/src/sales/booking/filter/components/ResultTagButton.tsx +33 -0
  775. package/src/sales/booking/filter/components/SearchingForSection.tsx +68 -0
  776. package/src/sales/booking/filter/index.ts +2 -0
  777. package/src/sales/booking/index.ts +2 -0
  778. package/src/sales/booking/results/components/ResultCard.tsx +2 -2
  779. package/src/sales/booking/results/constants.ts +0 -1
  780. package/src/sales/booking/results/index.ts +0 -1
  781. package/src/sales/booking/tabs/BookingTabs.stories.tsx +17 -0
  782. package/src/sales/booking/tabs/BookingTabs.tsx +88 -0
  783. package/src/sales/booking/tabs/index.ts +2 -0
  784. package/src/sales/coupon/control/CouponFormControl.tsx +0 -2
  785. package/src/sales/filters/SaleFilter.stories.tsx +1 -1
  786. package/src/sales/filters/SaleFilters.tsx +2 -2
  787. package/src/sales/guest-profile/previous-bookings/PreviousBookings.stories.tsx +5 -35
  788. package/src/sales/guest-profile/previous-bookings/PreviousBookings.tsx +3 -11
  789. package/src/sales/manual-booking/category-product/CategoryProduct.tsx +285 -0
  790. package/src/sales/manual-booking/category-product/index.ts +1 -0
  791. package/src/sales/manual-booking/category-products/CategoryProducts.tsx +69 -0
  792. package/src/sales/manual-booking/category-products/index.ts +1 -0
  793. package/src/sales/manual-booking/controll/ManualBookingStepsControll.tsx +121 -0
  794. package/src/sales/manual-booking/controll/index.ts +1 -0
  795. package/src/sales/manual-booking/create-user/CreateUser.stories.tsx +27 -0
  796. package/src/sales/manual-booking/create-user/CreateUser.tsx +224 -0
  797. package/src/sales/manual-booking/create-user/index.ts +1 -0
  798. package/src/sales/manual-booking/customer-info/CustomerInfo.tsx +128 -0
  799. package/src/sales/manual-booking/customer-info/index.ts +1 -0
  800. package/src/sales/manual-booking/final-step/FinalStep.tsx +38 -0
  801. package/src/sales/manual-booking/final-step/index.ts +1 -0
  802. package/src/sales/manual-booking/index.ts +5 -1
  803. package/src/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.tsx +1 -3
  804. package/src/sales/manual-booking/select-date-type-control/SelectDateTypeControl.stories.tsx +1 -1
  805. package/src/sales/manual-booking/select-date-type-control/SelectDateTypeControl.tsx +5 -5
  806. package/src/sales/manual-booking/select-event/SelectEvent.tsx +3 -3
  807. package/src/sales/manual-booking/select-menu/SelectMenu.tsx +5 -9
  808. package/src/sales/manual-booking/select-menu/components/MenuButton.tsx +3 -3
  809. package/src/sales/notes/NotesTableRow.tsx +1 -1
  810. package/src/setting/dashboard/index.ts +2 -0
  811. package/src/setting/dashboard/snippets/control/SnippetControl.tsx +237 -0
  812. package/src/setting/dashboard/snippets/control/index.ts +1 -0
  813. package/src/setting/dashboard/snippets/form/SnippetForm.stories.tsx +104 -0
  814. package/src/setting/dashboard/snippets/form/SnippetForm.tsx +94 -0
  815. package/src/setting/dashboard/snippets/form/context.tsx +18 -0
  816. package/src/setting/dashboard/snippets/form/index.ts +1 -0
  817. package/src/setting/dashboard/snippets/modal/SnippetViewTypeModal.stories.tsx +28 -0
  818. package/src/setting/dashboard/snippets/modal/SnippetViewTypeModal.tsx +104 -0
  819. package/src/setting/dashboard/snippets/modal/index.ts +2 -0
  820. package/src/snippet/snippet-template/SnippetTemplate.tsx +1 -1
  821. package/src/snippet/snippet-template/form/SnippetTemplateForm.tsx +10 -10
  822. package/src/snippet/snippet-template/preview/Preview.tsx +9 -4
  823. package/src/sortable-tree/SortableTreeItem.tsx +6 -28
  824. package/src/static/CountryCodeSelect.tsx +5 -3
  825. package/src/static/date-range-input/DateRangeInput.tsx +3 -6
  826. package/src/styles/events/EventStatisticModal.scss +37 -0
  827. package/src/styles/events/EventVenueMap.scss +1 -1
  828. package/src/styles/iframe-events/Calendar.scss +14 -14
  829. package/src/styles/iframe-order-process/IframeOrderProcess.scss +4 -12
  830. package/src/styles/iframe-page/PageBody.scss +2 -5
  831. package/src/styles/packages.scss +1 -7
  832. package/src/styles/resources-blocking/_index.scss +1 -38
  833. package/src/styles/sales/BookingFilter.scss +11 -45
  834. package/src/styles/sales/ManualBooking.scss +1 -7
  835. package/src/styles/sales/RandomColors.scss +4 -7
  836. package/src/styles/snippet-templates/SnippetTemplateCard.scss +0 -16
  837. package/src/styles/static/DateRangeInput.scss +1 -5
  838. package/src/styles/themes/bookedit/_variables.scss +2 -3
  839. package/src/styles/widgets/BookingStyleSelector.scss +14 -0
  840. package/src/styles/widgets/CalendarStyleSelector.scss +17 -0
  841. package/src/styles/widgets/CheckboxGroup.scss +15 -0
  842. package/src/styles/{image-radio-input/_index.scss → widgets/ImageRadioInput.scss} +0 -12
  843. package/src/styles/widgets/ProductSetSelector.scss +19 -0
  844. package/src/styles/widgets/SnippetCode.scss +18 -0
  845. package/src/styles/widgets/WidgetBuilderForm.scss +51 -0
  846. package/src/styles/{radio-card/_index.scss → widgets/WidgetTypeRadioButton.scss} +1 -8
  847. package/src/styles/widgets/WidgetTypeSelector.scss +6 -0
  848. package/src/styles/widgets/_index.scss +9 -0
  849. package/src/styles/zones/ZoneForm.scss +1 -0
  850. package/src/table/FilterHelperComponent.tsx +0 -1
  851. package/src/table/StaticTable.tsx +14 -40
  852. package/src/table/Table.stories.tsx +1 -127
  853. package/src/table/TableHelperComponent.tsx +1 -3
  854. package/src/table/index.ts +0 -1
  855. package/src/table/utils/index.ts +0 -2
  856. package/src/typeahead/Typeahead.stories.tsx +6 -9
  857. package/src/typeahead/Typeahead.tsx +13 -21
  858. package/src/types/iframe.ts +1 -7
  859. package/src/widgets/BookingStyleSelector/BookingStyleSelector.stories.tsx +12 -0
  860. package/src/widgets/BookingStyleSelector/BookingStyleSelector.tsx +34 -0
  861. package/src/widgets/BookingStyleSelector/index.ts +1 -0
  862. package/src/widgets/CalendarStyleSelector/CalendarStyleSelector.stories.tsx +12 -0
  863. package/src/widgets/CalendarStyleSelector/CalendarStyleSelector.tsx +29 -0
  864. package/src/widgets/CalendarStyleSelector/index.ts +1 -0
  865. package/src/widgets/CheckboxGroup/CheckboxGroup.stories.tsx +16 -0
  866. package/src/widgets/CheckboxGroup/CheckboxGroup.tsx +64 -0
  867. package/src/widgets/CheckboxGroup/index.ts +1 -0
  868. package/src/widgets/ImageRadioInput/ImageRadioInput.stories.tsx +18 -0
  869. package/src/widgets/ImageRadioInput/ImageRadioInput.tsx +29 -0
  870. package/src/widgets/ProductSetSelector/ProductSetSelector.stories.tsx +12 -0
  871. package/src/widgets/ProductSetSelector/ProductSetSelector.tsx +27 -0
  872. package/src/widgets/ProductSetSelector/index.ts +1 -0
  873. package/src/widgets/SnippetCode/SnippetCode.stories.tsx +17 -0
  874. package/src/widgets/SnippetCode/SnippetCode.tsx +27 -0
  875. package/src/widgets/SnippetCode/index.ts +1 -0
  876. package/src/widgets/WidgetBuilderForm/WidgetBuilderForm.stories.tsx +12 -0
  877. package/src/widgets/WidgetBuilderForm/WidgetBuilderForm.tsx +84 -0
  878. package/src/widgets/WidgetTypeRadio/WidgetTypeRadio.stories.tsx +17 -0
  879. package/src/widgets/WidgetTypeRadio/WidgetTypeRadio.tsx +43 -0
  880. package/src/widgets/WidgetTypeRadio/index.ts +1 -0
  881. package/src/widgets/WidgetTypeSelector/WidgetTypeSelector.stories.tsx +12 -0
  882. package/src/widgets/WidgetTypeSelector/WidgetTypeSelector.tsx +32 -0
  883. package/src/zone/form/components/AvailableTimesControl.tsx +5 -15
  884. package/src/zone/form/components/ZoneRecurrencesControl.tsx +40 -42
  885. package/src/zone/form/utils/dates.ts +2 -4
  886. package/tests/Snippets/Snippets.test.tsx +77 -0
  887. package/tsconfig.json +2 -2
  888. package/dist/assets/iframe/backButton.svg +0 -4
  889. package/dist/assets/iframe/dateInfo/available.svg +0 -5
  890. package/dist/assets/iframe/dateInfo/limited.svg +0 -5
  891. package/dist/assets/iframe/dateInfo/soldOut.svg +0 -6
  892. package/dist/customers/components/filter/CustomerFilter.d.ts +0 -13
  893. package/dist/customers/components/filter/CustomerFilter.d.ts.map +0 -1
  894. package/dist/customers/components/filter/CustomerFilter.js +0 -1
  895. package/dist/customers/components/filter/index.d.ts +0 -3
  896. package/dist/customers/components/filter/index.d.ts.map +0 -1
  897. package/dist/customers/components/index.d.ts +0 -2
  898. package/dist/customers/components/index.d.ts.map +0 -1
  899. package/dist/customers/index.d.ts +0 -2
  900. package/dist/customers/index.d.ts.map +0 -1
  901. package/dist/date-time-button/DateContent.d.ts +0 -9
  902. package/dist/date-time-button/DateContent.d.ts.map +0 -1
  903. package/dist/date-time-button/DateContent.js +0 -1
  904. package/dist/date-time-button/DateTimeButton.d.ts +0 -12
  905. package/dist/date-time-button/DateTimeButton.d.ts.map +0 -1
  906. package/dist/date-time-button/DateTimeButton.js +0 -1
  907. package/dist/date-time-button/index.d.ts +0 -2
  908. package/dist/date-time-button/index.d.ts.map +0 -1
  909. package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.d.ts +0 -9
  910. package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.d.ts.map +0 -1
  911. package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.js +0 -1
  912. package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.d.ts +0 -2
  913. package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.d.ts.map +0 -1
  914. package/dist/iframe/activity-cards/activity-card/ActivityCard.d.ts +0 -12
  915. package/dist/iframe/activity-cards/activity-card/ActivityCard.d.ts.map +0 -1
  916. package/dist/iframe/activity-cards/activity-card/ActivityCard.js +0 -1
  917. package/dist/iframe/activity-cards/index.d.ts +0 -3
  918. package/dist/iframe/activity-cards/index.d.ts.map +0 -1
  919. package/dist/iframe/activity-cards/list-activity-card/ListActivityCard.d.ts +0 -12
  920. package/dist/iframe/activity-cards/list-activity-card/ListActivityCard.d.ts.map +0 -1
  921. package/dist/iframe/activity-cards/list-activity-card/ListActivityCard.js +0 -1
  922. package/dist/iframe/back-button/BackButton.d.ts +0 -6
  923. package/dist/iframe/back-button/BackButton.d.ts.map +0 -1
  924. package/dist/iframe/back-button/BackButton.js +0 -1
  925. package/dist/iframe/back-button/index.d.ts +0 -2
  926. package/dist/iframe/back-button/index.d.ts.map +0 -1
  927. package/dist/iframe/order-process/components/ErrorModal/ErrorModal.d.ts.map +0 -1
  928. package/dist/iframe/order-process/components/ErrorModal/ErrorModal.js +0 -1
  929. package/dist/iframe/order-process/components/ErrorModal/index.d.ts +0 -2
  930. package/dist/iframe/order-process/components/ErrorModal/index.d.ts.map +0 -1
  931. package/dist/iframe/order-process/components/utils/useCategoryVerification.d.ts +0 -9
  932. package/dist/iframe/order-process/components/utils/useCategoryVerification.d.ts.map +0 -1
  933. package/dist/iframe/order-process/components/utils/useCategoryVerification.js +0 -1
  934. package/dist/iframe/payment/order-items-table/types/index.js +0 -1
  935. package/dist/iframe/payment/order-items-table/utils/paymentSummary.d.ts +0 -3
  936. package/dist/iframe/payment/order-items-table/utils/paymentSummary.d.ts.map +0 -1
  937. package/dist/iframe/payment/order-items-table/utils/paymentSummary.js +0 -1
  938. package/dist/image-radio-input/ImageRadioInput.d.ts +0 -15
  939. package/dist/image-radio-input/ImageRadioInput.d.ts.map +0 -1
  940. package/dist/image-radio-input/ImageRadioInput.js +0 -1
  941. package/dist/image-radio-input/index.d.ts.map +0 -1
  942. package/dist/notification/hooks/useTranslatedParameters.d.ts +0 -7
  943. package/dist/notification/hooks/useTranslatedParameters.d.ts.map +0 -1
  944. package/dist/notification/hooks/useTranslatedParameters.js +0 -1
  945. package/dist/product-set/hooks/useSortableTreeFunctions.d.ts +0 -11
  946. package/dist/product-set/hooks/useSortableTreeFunctions.d.ts.map +0 -1
  947. package/dist/product-set/hooks/useSortableTreeFunctions.js +0 -1
  948. package/dist/product-set/product/constants.d.ts +0 -2
  949. package/dist/product-set/product/constants.d.ts.map +0 -1
  950. package/dist/product-set/product/constants.js +0 -1
  951. package/dist/provider/constants.d.ts +0 -2
  952. package/dist/provider/constants.d.ts.map +0 -1
  953. package/dist/provider/constants.js +0 -1
  954. package/dist/radio-card/RadioCard.d.ts +0 -13
  955. package/dist/radio-card/RadioCard.d.ts.map +0 -1
  956. package/dist/radio-card/RadioCard.js +0 -1
  957. package/dist/radio-card/index.d.ts +0 -2
  958. package/dist/radio-card/index.d.ts.map +0 -1
  959. package/dist/sortable-fields/SortableFieldItem.d.ts +0 -9
  960. package/dist/sortable-fields/SortableFieldItem.d.ts.map +0 -1
  961. package/dist/sortable-fields/SortableFieldItem.js +0 -1
  962. package/dist/sortable-fields/SortableFieldList.d.ts +0 -18
  963. package/dist/sortable-fields/SortableFieldList.d.ts.map +0 -1
  964. package/dist/sortable-fields/SortableFieldList.js +0 -1
  965. package/dist/sortable-fields/index.d.ts +0 -2
  966. package/dist/sortable-fields/index.d.ts.map +0 -1
  967. package/dist/sorting-select/SortingSelect.d.ts +0 -10
  968. package/dist/sorting-select/SortingSelect.d.ts.map +0 -1
  969. package/dist/sorting-select/SortingSelect.js +0 -1
  970. package/dist/sorting-select/index.d.ts +0 -2
  971. package/dist/sorting-select/index.d.ts.map +0 -1
  972. package/dist/striped-static-table/StripedStaticTable.d.ts +0 -7
  973. package/dist/striped-static-table/StripedStaticTable.d.ts.map +0 -1
  974. package/dist/striped-static-table/StripedStaticTable.js +0 -1
  975. package/dist/striped-static-table/index.d.ts +0 -2
  976. package/dist/striped-static-table/index.d.ts.map +0 -1
  977. package/dist/styles/back-button/BackButton.scss +0 -33
  978. package/dist/styles/back-button/_index.scss +0 -1
  979. package/dist/styles/customers/Filter.scss +0 -53
  980. package/dist/styles/customers/_index.scss +0 -1
  981. package/dist/styles/iframe-customers-journey/ActivitiesCard.scss +0 -37
  982. package/dist/styles/iframe-customers-journey/ActivitiesSelectedCard.scss +0 -57
  983. package/dist/styles/iframe-customers-journey/DateTimeButton.scss +0 -113
  984. package/dist/styles/iframe-customers-journey/_index.scss +0 -3
  985. package/dist/styles/sortable-field/SortableField.scss +0 -21
  986. package/dist/styles/sortable-field/_index.scss +0 -1
  987. package/dist/styles/striped-static-table/_index.scss +0 -33
  988. package/dist/table/ReactTableHelperComponent.d.ts +0 -12
  989. package/dist/table/ReactTableHelperComponent.d.ts.map +0 -1
  990. package/dist/table/ReactTableHelperComponent.js +0 -1
  991. package/dist/table/hooks/useTableQueryOptions.d.ts +0 -20
  992. package/dist/table/hooks/useTableQueryOptions.d.ts.map +0 -1
  993. package/dist/table/hooks/useTableQueryOptions.js +0 -1
  994. package/dist/table/types.d.ts +0 -41
  995. package/dist/table/types.d.ts.map +0 -1
  996. package/src/assets/iframe/backButton.svg +0 -4
  997. package/src/assets/iframe/dateInfo/available.svg +0 -5
  998. package/src/assets/iframe/dateInfo/limited.svg +0 -5
  999. package/src/assets/iframe/dateInfo/soldOut.svg +0 -6
  1000. package/src/customers/components/filter/CustomerFilter.stories.tsx +0 -18
  1001. package/src/customers/components/filter/CustomerFilter.tsx +0 -48
  1002. package/src/customers/components/filter/index.ts +0 -2
  1003. package/src/customers/components/index.ts +0 -1
  1004. package/src/customers/index.ts +0 -1
  1005. package/src/date-time-button/DateContent.tsx +0 -46
  1006. package/src/date-time-button/DateTimeButton.stories.tsx +0 -80
  1007. package/src/date-time-button/DateTimeButton.tsx +0 -73
  1008. package/src/date-time-button/index.ts +0 -1
  1009. package/src/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.tsx +0 -68
  1010. package/src/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.ts +0 -1
  1011. package/src/iframe/activity-cards/activity-card/ActivityCard.stories.tsx +0 -52
  1012. package/src/iframe/activity-cards/activity-card/ActivityCard.tsx +0 -38
  1013. package/src/iframe/activity-cards/index.ts +0 -2
  1014. package/src/iframe/activity-cards/list-activity-card/ListActivityCard.stories.tsx +0 -52
  1015. package/src/iframe/activity-cards/list-activity-card/ListActivityCard.tsx +0 -49
  1016. package/src/iframe/back-button/BackButton.stories.tsx +0 -16
  1017. package/src/iframe/back-button/BackButton.tsx +0 -19
  1018. package/src/iframe/back-button/index.ts +0 -1
  1019. package/src/iframe/order-process/components/ErrorModal/index.ts +0 -1
  1020. package/src/iframe/order-process/components/utils/useCategoryVerification.ts +0 -52
  1021. package/src/iframe/payment/order-items-table/utils/paymentSummary.tsx +0 -118
  1022. package/src/image-radio-input/ImageRadioInput.stories.tsx +0 -67
  1023. package/src/image-radio-input/ImageRadioInput.tsx +0 -53
  1024. package/src/notification/hooks/useTranslatedParameters.ts +0 -27
  1025. package/src/product-set/hooks/useSortableTreeFunctions.ts +0 -37
  1026. package/src/product-set/product/constants.ts +0 -1
  1027. package/src/provider/constants.ts +0 -1
  1028. package/src/radio-card/RadioCard.stories.tsx +0 -48
  1029. package/src/radio-card/RadioCard.tsx +0 -49
  1030. package/src/radio-card/index.ts +0 -1
  1031. package/src/sortable-fields/SortableFieldItem.tsx +0 -60
  1032. package/src/sortable-fields/SortableFieldList.tsx +0 -62
  1033. package/src/sortable-fields/index.ts +0 -1
  1034. package/src/sorting-select/SortingSelect.stories.tsx +0 -15
  1035. package/src/sorting-select/SortingSelect.tsx +0 -79
  1036. package/src/sorting-select/index.ts +0 -1
  1037. package/src/striped-static-table/StripedStaticTable.stories.tsx +0 -71
  1038. package/src/striped-static-table/StripedStaticTable.tsx +0 -63
  1039. package/src/striped-static-table/index.ts +0 -1
  1040. package/src/styles/back-button/BackButton.scss +0 -33
  1041. package/src/styles/back-button/_index.scss +0 -1
  1042. package/src/styles/customers/Filter.scss +0 -53
  1043. package/src/styles/customers/_index.scss +0 -1
  1044. package/src/styles/iframe-customers-journey/ActivitiesCard.scss +0 -37
  1045. package/src/styles/iframe-customers-journey/ActivitiesSelectedCard.scss +0 -57
  1046. package/src/styles/iframe-customers-journey/DateTimeButton.scss +0 -113
  1047. package/src/styles/iframe-customers-journey/_index.scss +0 -3
  1048. package/src/styles/sortable-field/SortableField.scss +0 -21
  1049. package/src/styles/sortable-field/_index.scss +0 -1
  1050. package/src/styles/striped-static-table/_index.scss +0 -33
  1051. package/src/table/ReactTableHelperComponent.tsx +0 -321
  1052. package/src/table/hooks/useTableQueryOptions.ts +0 -49
  1053. package/src/table/types.ts +0 -47
  1054. /package/dist/iframe/order-process/components/{ErrorModal → CalendarStepsForm/components}/ErrorModal.d.ts +0 -0
  1055. /package/dist/{image-radio-input → widgets/ImageRadioInput}/index.d.ts +0 -0
  1056. /package/src/{image-radio-input → widgets/ImageRadioInput}/index.ts +0 -0
@@ -2,19 +2,16 @@ import React from "react";
2
2
  import { Link } from "react-router-dom";
3
3
  import { HasPermissionProp } from "@licklist/plugins/dist/types/permission/Permission";
4
4
  import { useTranslation } from "react-i18next";
5
- import { NotificationType } from "@licklist/core/dist/DataMapper/Notification/NotificationTypeDataMapper";
5
+
6
6
  import { ConfirmModal, ConfirmModalType } from "../../../modals";
7
7
  import { Icon } from "../../../static";
8
- import { useTranslatedParameters } from "../../hooks/useTranslatedParameters";
9
8
 
10
9
  export interface EmailTemplateCardProps extends HasPermissionProp {
11
10
  name: string;
12
11
  subject: string;
13
12
  href: string;
14
13
  isDefault: boolean;
15
- isActive: boolean;
16
14
  onRemove: () => void;
17
- type: NotificationType;
18
15
  }
19
16
 
20
17
  export function EmailTemplateCard({
@@ -23,14 +20,10 @@ export function EmailTemplateCard({
23
20
  subject,
24
21
  onRemove,
25
22
  isDefault = false,
26
- isActive = false,
27
23
  hasPermission = true,
28
- type,
29
24
  }: EmailTemplateCardProps) {
30
25
  const { t } = useTranslation(["Design"]);
31
26
 
32
- const texts = useTranslatedParameters({ isDefault, isActive });
33
-
34
27
  return (
35
28
  <>
36
29
  <div className="snippet-template-card">
@@ -60,13 +53,8 @@ export function EmailTemplateCard({
60
53
  )}
61
54
  </div>
62
55
  <div className={`mt-${isDefault ? "3" : "4"}`}>
63
- {!!texts.length && <p className="mb-1">{texts}</p>}
64
- <div className="d-flex flex-column">
65
- <span className="snippet-template-card-subject">{subject}</span>
66
- <p className="mb-0">
67
- {t(`Design:type`)}:&nbsp;{t(`Design:${type}`)}
68
- </p>
69
- </div>
56
+ {Boolean(isDefault) && <p className="mb-1">{t("Design:default")}</p>}
57
+ <span>{subject}</span>
70
58
  </div>
71
59
  </div>
72
60
  </>
@@ -1,3 +1,4 @@
1
+ /* eslint-disable react/display-name */
1
2
  import React, { useState, useEffect } from "react";
2
3
  import { Col, Row, Form } from "react-bootstrap";
3
4
  import { useFormContext } from "react-hook-form";
@@ -15,7 +16,6 @@ import {
15
16
  PERMANENT_IMAGE_TYPE_TEMP,
16
17
  } from "@licklist/core/dist/DataMapper/Media/UploadPermanentImageDataMapper";
17
18
 
18
- import { NotificationType } from "@licklist/core/dist/DataMapper/Notification/NotificationTypeDataMapper";
19
19
  import { FileUpload } from "../../../file-upload";
20
20
  import { EmailTemplateValues } from "../form";
21
21
 
@@ -26,8 +26,6 @@ export interface EmailTemplateControlProps {
26
26
  setIsLoading: (isLoading: boolean) => void;
27
27
  meta: string;
28
28
  defaultAttachments?: Attachment[];
29
- notificationTypes?: NotificationType[];
30
- getDefaultTemplateMetaByType?: (type?: NotificationType | null) => string;
31
29
  }
32
30
 
33
31
  export const EmailTemplateControl = React.forwardRef(
@@ -37,8 +35,6 @@ export const EmailTemplateControl = React.forwardRef(
37
35
  meta,
38
36
  options = [],
39
37
  defaultAttachments = [],
40
- notificationTypes = [],
41
- getDefaultTemplateMetaByType,
42
38
  }: EmailTemplateControlProps,
43
39
  ref: any
44
40
  ) => {
@@ -52,8 +48,6 @@ export const EmailTemplateControl = React.forwardRef(
52
48
  setValue,
53
49
  formState: { errors },
54
50
  getValues,
55
- watch,
56
- reset,
57
51
  } = useFormContext<EmailTemplateValues>();
58
52
  const [isIncludePDF, setIsIncludePDF] = useState(false);
59
53
 
@@ -70,29 +64,12 @@ export const EmailTemplateControl = React.forwardRef(
70
64
  handlePermanentImageUploading,
71
65
  } = usePermanentImage();
72
66
 
73
- const type = watch("type");
74
- const id = watch("id");
75
-
76
- useEffect(() => {
77
- if (id || !getDefaultTemplateMetaByType || !type) return;
78
-
79
- const formValues = getValues();
80
-
81
- const nextMeta = getDefaultTemplateMetaByType(type);
82
-
83
- reset({ ...formValues, meta: nextMeta });
84
-
85
- ref.current?.loadDesign(JSON.parse(nextMeta));
86
- // eslint-disable-next-line react-hooks/exhaustive-deps
87
- }, [type]);
88
-
89
67
  useEffect(() => {
90
68
  setValue("attachmentMetadata", attachments);
91
69
  }, [attachments, setValue]);
92
70
 
93
71
  useEffect(() => {
94
72
  if (!permanentImages.length) return;
95
-
96
73
  setValue("imagesMetadata", permanentImages);
97
74
  }, [permanentImages, setValue]);
98
75
 
@@ -108,15 +85,13 @@ export const EmailTemplateControl = React.forwardRef(
108
85
  }, [defaultAttachments]);
109
86
 
110
87
  useEffect(() => {
111
- if (!options?.length) return;
112
-
88
+ if (!options.length) return;
113
89
  const fileSelectorOptions = options.find(
114
90
  (option) => option.type === OPTION_TYPE.files_selector
115
91
  );
116
-
117
- if (!fileSelectorOptions?.selectedValue) return;
118
-
119
- setIsIncludePDF(true);
92
+ if (fileSelectorOptions.selectedValue) {
93
+ setIsIncludePDF(true);
94
+ }
120
95
  }, [options]);
121
96
 
122
97
  const handleDeleteEmailImage = (content) => {
@@ -200,42 +175,6 @@ export const EmailTemplateControl = React.forwardRef(
200
175
 
201
176
  return (
202
177
  <>
203
- <Row>
204
- <Form.Group
205
- as={Col}
206
- controlId="type"
207
- xs
208
- sm={12}
209
- md={8}
210
- lg={10}
211
- xl={12}
212
- >
213
- <Form.Label>{t("type")}</Form.Label>
214
- <Form.Control
215
- as="select"
216
- {...register("type", {
217
- required: t("Validation:fieldRequired", {
218
- attribute: t("type"),
219
- }) as string,
220
- })}
221
- name="type"
222
- required
223
- isInvalid={Boolean(errors.type)}
224
- placeholder={t("Design:type")}
225
- disabled={!!id}
226
- >
227
- <option value="">{t("Design:choose")}</option>
228
- {notificationTypes.map((key) => (
229
- <option key={key} value={key}>
230
- {t(`Design:${key}`)}
231
- </option>
232
- ))}
233
- </Form.Control>
234
- <Form.Control.Feedback type="invalid">
235
- {errors.type?.message}
236
- </Form.Control.Feedback>
237
- </Form.Group>
238
- </Row>
239
178
  <Row>
240
179
  <Form.Group
241
180
  as={Col}
@@ -340,7 +279,7 @@ export const EmailTemplateControl = React.forwardRef(
340
279
  isLoading={isAttachmentLoading}
341
280
  />
342
281
  </Row>
343
- {options?.length > 0 && (
282
+ {options.length > 0 && (
344
283
  <Row>
345
284
  <Form.Group as={Col}>
346
285
  {options.map((option) => {
@@ -408,27 +347,6 @@ export const EmailTemplateControl = React.forwardRef(
408
347
  </>
409
348
  );
410
349
  }
411
-
412
- if (option.type === OPTION_TYPE.days_reminder) {
413
- return (
414
- <>
415
- <Form.Label className="mt-4">
416
- {t(`Design:${option.name}`)}
417
- </Form.Label>
418
- <Form.Control
419
- {...register(
420
- `templateOptionValues.${option?.id}.value` as any
421
- )}
422
- type="number"
423
- placeholder={t(`Design:${option.name}`)}
424
- id={option.name + option.id}
425
- defaultValue={option.selectedValue || ""}
426
- />
427
- <Form.Text>{option.description}</Form.Text>
428
- </>
429
- );
430
- }
431
-
432
350
  return null;
433
351
  })}
434
352
  </Form.Group>
@@ -438,5 +356,3 @@ export const EmailTemplateControl = React.forwardRef(
438
356
  );
439
357
  }
440
358
  );
441
-
442
- EmailTemplateControl.displayName = "EmailTemplateControl";
@@ -185,7 +185,6 @@ Default.args = {
185
185
  notificationType: "confirmation",
186
186
  type: "checkbox",
187
187
  defaultValue: "true",
188
- descrption: "",
189
188
  },
190
189
  {
191
190
  id: 12,
@@ -193,7 +192,6 @@ Default.args = {
193
192
  notificationType: "confirmation",
194
193
  type: "checkbox",
195
194
  defaultValue: "false",
196
- descrption: "",
197
195
  },
198
196
  {
199
197
  selectedValue: "invoice",
@@ -203,17 +201,6 @@ Default.args = {
203
201
  type: "files_selector",
204
202
  defaultValue:
205
203
  '{"confirmation":"Confirmation / Function Sheet","invoice":"Invoice"}',
206
- descrption: "",
207
- },
208
- {
209
- id: 13,
210
- name: "days_reminder",
211
- notificationType: "confirmation",
212
- type: "days_reminder",
213
- defaultValue: "",
214
- description: `N.B. Add positive integer for days before the event, or negative for days after the event.
215
- E.g. if you want this remainder to be send 2 days before the event, enter 2.
216
- If you want this to be send 3 days after the event enter -3.`,
217
204
  },
218
205
  ],
219
206
  defaultValues: {
@@ -232,13 +219,6 @@ Default.args = {
232
219
  attachableType: "mail",
233
220
  },
234
221
  ],
235
- type: "confirmation",
236
- notificationTypes: [
237
- "confirmation",
238
- "paymentLink",
239
- "afterBooking",
240
- "preliminaryMail",
241
- ],
242
222
  },
243
223
  };
244
224
 
@@ -268,24 +248,10 @@ ServerErrors.args = {
268
248
  body: "",
269
249
  meta: JSON.stringify(DefaultEmailTemplate),
270
250
  },
271
- type: "confirmation",
272
- notificationTypes: [
273
- "confirmation",
274
- "paymentLink",
275
- "afterBooking",
276
- "preliminaryMail",
277
- ],
278
251
  };
279
252
 
280
253
  Empty.args = {
281
254
  onSubmit: (data) => console.log(data),
282
255
  isLoading: true,
283
256
  placeholders: [],
284
- type: "confirmation",
285
- notificationTypes: [
286
- "confirmation",
287
- "paymentLink",
288
- "afterBooking",
289
- "preliminaryMail",
290
- ],
291
257
  };
@@ -13,13 +13,12 @@ import { ServerError } from "@licklist/plugins/dist/hooks/Api/useHttpQuery";
13
13
  import FormErrorService from "@licklist/plugins/dist/services/Form/FormErrorService";
14
14
  import { AttachmentsWithHash } from "@licklist/plugins/dist/hooks/Media/useAttachments";
15
15
  import { UploadPermanentImage } from "@licklist/core/dist/DataMapper/Media/UploadPermanentImageDataMapper";
16
- import { NotificationType } from "@licklist/core/dist/DataMapper/Notification/NotificationTypeDataMapper";
16
+
17
17
  import { NotificationPlaceholders } from "../../components/NotificationPlaceholders";
18
18
  import { EmailTemplateControl } from "../control/EmailTemplateControl";
19
19
  import { BlockLoader } from "../../../static";
20
20
 
21
21
  export interface EmailTemplateValues extends FormValues {
22
- id?: number | string;
23
22
  name: string;
24
23
  subject: string;
25
24
  isActive: boolean;
@@ -30,7 +29,6 @@ export interface EmailTemplateValues extends FormValues {
30
29
  attachments?: Attachment[];
31
30
  templateOptionValues?: TemplateOptionValue[];
32
31
  imagesMetadata?: UploadPermanentImage[];
33
- type?: NotificationType;
34
32
  }
35
33
 
36
34
  export interface EmailTemplateProps extends HasPermissionProp {
@@ -41,12 +39,9 @@ export interface EmailTemplateProps extends HasPermissionProp {
41
39
  placeholders?: NotificationPlaceholder[];
42
40
  options?: TemplateOption[];
43
41
  serverErrors?: ServerError;
44
- notificationTypes?: NotificationType[];
45
- getDefaultTemplateMetaByType?: (type?: NotificationType | null) => string;
46
- onTypeChange?: (type?: NotificationType | null) => void;
47
42
  }
48
43
 
49
- export const EmailTemplateForm = ({
44
+ export function EmailTemplateForm({
50
45
  defaultValues,
51
46
  onSubmitSave,
52
47
  onSubmitSaveAndSend,
@@ -54,10 +49,7 @@ export const EmailTemplateForm = ({
54
49
  placeholders = [],
55
50
  options = [],
56
51
  serverErrors,
57
- notificationTypes = [],
58
- getDefaultTemplateMetaByType,
59
- onTypeChange,
60
- }: EmailTemplateProps) => {
52
+ }: EmailTemplateProps) {
61
53
  const { t } = useTranslation("Design");
62
54
  const [isLoading, setIsLoading] = useState(false);
63
55
  const emailEditorRef = useRef(null);
@@ -67,20 +59,12 @@ export const EmailTemplateForm = ({
67
59
  defaultValues,
68
60
  });
69
61
 
70
- const { setError, watch } = form;
71
- const type = watch("type");
62
+ const { setError } = form;
72
63
 
73
64
  useEffect(() => {
74
65
  FormErrorService.handleServerErrors(serverErrors, setError);
75
66
  }, [serverErrors, setError]);
76
67
 
77
- useEffect(() => {
78
- if (!onTypeChange) return;
79
-
80
- onTypeChange(type);
81
- // eslint-disable-next-line react-hooks/exhaustive-deps
82
- }, [type]);
83
-
84
68
  return (
85
69
  <FormProvider {...form}>
86
70
  {isLoading && <BlockLoader />}
@@ -97,8 +81,6 @@ export const EmailTemplateForm = ({
97
81
  meta={defaultValues?.meta || null}
98
82
  defaultAttachments={defaultValues?.attachments || []}
99
83
  options={options}
100
- notificationTypes={notificationTypes}
101
- getDefaultTemplateMetaByType={getDefaultTemplateMetaByType}
102
84
  />
103
85
  <NotificationPlaceholders placeholders={placeholders} />
104
86
  {/* update email template */}
@@ -124,4 +106,4 @@ export const EmailTemplateForm = ({
124
106
  </Form>
125
107
  </FormProvider>
126
108
  );
127
- };
109
+ }
@@ -14,9 +14,7 @@ export const Default: Story<SmsTemplateCardProps> = (args) => (
14
14
 
15
15
  Default.args = {
16
16
  href: "#",
17
- name: "Default Sms Template with Long name",
17
+ name: "Default Sms Template",
18
18
  hasPermission: true,
19
19
  isDefault: true,
20
- templateType: "confirmation",
21
- isActive: true,
22
20
  };
@@ -1,19 +1,16 @@
1
1
  import React from "react";
2
2
  import { Link } from "react-router-dom";
3
- import { useTranslation } from "react-i18next";
4
3
  import { HasPermissionProp } from "@licklist/plugins/dist/types/permission/Permission";
5
- import { NotificationType } from "@licklist/core/dist/DataMapper/Notification/NotificationTypeDataMapper";
4
+ import { useTranslation } from "react-i18next";
5
+
6
6
  import { ConfirmModal, ConfirmModalType } from "../../../modals";
7
7
  import { Icon } from "../../../static";
8
- import { useTranslatedParameters } from "../../hooks/useTranslatedParameters";
9
8
 
10
9
  export interface SmsTemplateCardProps extends HasPermissionProp {
11
10
  name: string;
12
11
  href: string;
13
12
  onRemove: () => void;
14
13
  isDefault: boolean;
15
- isActive: boolean;
16
- type: NotificationType;
17
14
  }
18
15
 
19
16
  export function SmsTemplateCard({
@@ -22,13 +19,9 @@ export function SmsTemplateCard({
22
19
  onRemove,
23
20
  hasPermission = true,
24
21
  isDefault = false,
25
- isActive = false,
26
- type,
27
22
  }: SmsTemplateCardProps) {
28
23
  const { t } = useTranslation(["Design"]);
29
24
 
30
- const texts = useTranslatedParameters({ isActive, isDefault });
31
-
32
25
  return (
33
26
  <div className="snippet-template-card">
34
27
  <div className="snippet-template-card-header">
@@ -57,10 +50,7 @@ export function SmsTemplateCard({
57
50
  )}
58
51
  </div>
59
52
  <div className="mt-2">
60
- {!!texts.length && <p className="mb-1">{texts}</p>}
61
- <p className="mb-0">
62
- {t(`Design:type`)}:&nbsp;{t(`Design:${type}`)}
63
- </p>
53
+ {Boolean(isDefault) && <p className="mb-1">{t("Design:default")}</p>}
64
54
  </div>
65
55
  </div>
66
56
  );
@@ -4,18 +4,12 @@ import { Col, Row, Form } from "react-bootstrap";
4
4
  import { useFormContext } from "react-hook-form";
5
5
  import { useTranslation } from "react-i18next";
6
6
  import HookFormService from "@licklist/plugins/dist/services/Form/HookFormService";
7
- import { NotificationType } from "@licklist/core/dist/DataMapper/Notification/NotificationTypeDataMapper";
7
+
8
8
  import { SmsTemplateValues } from "../form";
9
9
 
10
10
  const MAX_SMS_LENGTH = 300;
11
11
 
12
- type SmsTemplateControlProps = {
13
- notificationTypes: NotificationType[];
14
- };
15
-
16
- export const SmsTemplateControl = ({
17
- notificationTypes = [],
18
- }: SmsTemplateControlProps) => {
12
+ export const SmsTemplateControl = () => {
19
13
  const { t } = useTranslation(["Design"]);
20
14
  const {
21
15
  register,
@@ -26,39 +20,9 @@ export const SmsTemplateControl = ({
26
20
  } = useFormContext<SmsTemplateValues>();
27
21
 
28
22
  const smsBody = watch("body");
29
- const id = watch("id");
30
23
 
31
24
  return (
32
25
  <>
33
- <Row>
34
- <Form.Group as={Col} controlId="type" xs sm={12} md={8} lg={10} xl={12}>
35
- <Form.Label>{t("type")}</Form.Label>
36
-
37
- <Form.Control
38
- as="select"
39
- {...register("type", {
40
- required: t("Validation:fieldRequired", {
41
- attribute: t("type"),
42
- }) as string,
43
- })}
44
- name="type"
45
- required
46
- isInvalid={Boolean(errors.type)}
47
- placeholder={t("Design:type")}
48
- disabled={!!id}
49
- >
50
- <option value="">{t("Design:choose")}</option>
51
- {notificationTypes.map((key) => (
52
- <option key={key} value={key}>
53
- {t(`Design:${key}`)}
54
- </option>
55
- ))}
56
- </Form.Control>
57
- <Form.Control.Feedback type="invalid">
58
- {errors.type?.message}
59
- </Form.Control.Feedback>
60
- </Form.Group>
61
- </Row>
62
26
  <Row>
63
27
  <Form.Group
64
28
  as={Col}
@@ -98,8 +62,6 @@ export const SmsTemplateControl = ({
98
62
  <Form.Label>{t("Design:smsBody")}</Form.Label>
99
63
  <Form.Control
100
64
  isInvalid={Boolean(errors.body)}
101
- as="textarea"
102
- rows={3}
103
65
  {...register("body", {
104
66
  required: true,
105
67
  maxLength: MAX_SMS_LENGTH,
@@ -38,26 +38,12 @@ Default.args = {
38
38
  isDefault: false,
39
39
  body: "Some random sms string",
40
40
  },
41
- type: "confirmation",
42
- notificationTypes: [
43
- "confirmation",
44
- "paymentLink",
45
- "afterBooking",
46
- "preliminaryMail",
47
- ],
48
41
  };
49
42
 
50
43
  Empty.args = {
51
44
  onSubmit: (data) => console.log(data),
52
45
  isLoading: true,
53
46
  placeholders: [],
54
- type: "confirmation",
55
- notificationTypes: [
56
- "confirmation",
57
- "paymentLink",
58
- "afterBooking",
59
- "preliminaryMail",
60
- ],
61
47
  };
62
48
 
63
49
  ServerErrors.args = {
@@ -68,18 +54,4 @@ ServerErrors.args = {
68
54
  body: ["Body field is required"],
69
55
  name: ["Name Field is required"],
70
56
  },
71
- type: "confirmation",
72
- notificationTypes: [
73
- "confirmation",
74
- "paymentLink",
75
- "afterBooking",
76
- "preliminaryMail",
77
- ],
78
- defaultValues: {
79
- name: "",
80
- isActive: false,
81
- isDefault: false,
82
- body: "Some random sms string",
83
- id: 5,
84
- },
85
57
  };
@@ -8,7 +8,6 @@ import { NotificationPlaceholder } from "@licklist/core/dist/DataMapper/Notifica
8
8
  import { ServerError } from "@licklist/plugins/dist/hooks/Api/useHttpQuery";
9
9
  import FormErrorService from "@licklist/plugins/dist/services/Form/FormErrorService";
10
10
 
11
- import { NotificationType } from "@licklist/core/dist/DataMapper/Notification/NotificationTypeDataMapper";
12
11
  import { NotificationPlaceholders } from "../../components/NotificationPlaceholders";
13
12
  import { SmsTemplateControl } from "../control/SmsTemplateControl";
14
13
 
@@ -17,8 +16,6 @@ export interface SmsTemplateValues extends FormValues {
17
16
  isActive: boolean;
18
17
  isDefault: boolean;
19
18
  body: string;
20
- type?: NotificationType;
21
- id?: number | string;
22
19
  }
23
20
 
24
21
  export interface SmsTemplateProps extends HasPermissionProp {
@@ -27,7 +24,6 @@ export interface SmsTemplateProps extends HasPermissionProp {
27
24
  defaultValues?: SmsTemplateValues;
28
25
  placeholders?: NotificationPlaceholder[];
29
26
  serverErrors?: ServerError;
30
- notificationTypes?: NotificationType[];
31
27
  }
32
28
 
33
29
  export function SmsTemplateForm({
@@ -36,7 +32,6 @@ export function SmsTemplateForm({
36
32
  hasPermission = true,
37
33
  placeholders = [],
38
34
  serverErrors,
39
- notificationTypes = [],
40
35
  }: SmsTemplateProps) {
41
36
  const { t } = useTranslation("Design");
42
37
 
@@ -51,7 +46,7 @@ export function SmsTemplateForm({
51
46
  return (
52
47
  <FormProvider {...form}>
53
48
  <Form onSubmit={form.handleSubmit(onSubmit)}>
54
- <SmsTemplateControl notificationTypes={notificationTypes} />
49
+ <SmsTemplateControl />
55
50
  <NotificationPlaceholders placeholders={placeholders} />
56
51
 
57
52
  {hasPermission && (
@@ -1,5 +1,5 @@
1
1
  import React, { useEffect, useRef, useState } from "react";
2
- import { Modifier } from "@popperjs/core";
2
+ import type Popper from "@popperjs/core";
3
3
  import { useId } from "@react-aria/utils";
4
4
  import { Form, OverlayTrigger, Popover } from "react-bootstrap";
5
5
  import { useFieldArray, useFormContext } from "react-hook-form";
@@ -245,7 +245,7 @@ export const DateAndRecurrenceInput = ({
245
245
  );
246
246
  };
247
247
 
248
- export const sameWidthPopperModifier: Modifier<
248
+ const sameWidthPopperModifier: Popper.Modifier<
249
249
  "sameWidth",
250
250
  Record<string, unknown>
251
251
  > = {