@licklist/design 0.44.485 → 0.44.486-dev.10

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