@licklist/design 0.44.485-dev.58 → 0.44.485-dev.6

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 (592) hide show
  1. package/dist/affiliate/types/index.d.ts +1 -1
  2. package/dist/affiliate/types/index.d.ts.map +1 -1
  3. package/dist/auth/Login/LoginComponent.d.ts +1 -1
  4. package/dist/auth/Login/LoginComponent.d.ts.map +1 -1
  5. package/dist/auth/Login/LoginFormComponent.d.ts +1 -1
  6. package/dist/auth/Login/LoginFormComponent.d.ts.map +1 -1
  7. package/dist/auth/Register/RegisterComponent.d.ts +1 -1
  8. package/dist/auth/Register/RegisterComponent.d.ts.map +1 -1
  9. package/dist/auth/Register/RegisterFormComponent.d.ts +1 -1
  10. package/dist/auth/Register/RegisterFormComponent.d.ts.map +1 -1
  11. package/dist/auth/ResetPassword/ResetPasswordFormComponent.d.ts +1 -1
  12. package/dist/auth/ResetPassword/ResetPasswordFormComponent.d.ts.map +1 -1
  13. package/dist/collapsible-input-group/CollapsibleInputGroup.d.ts +1 -1
  14. package/dist/collapsible-input-group/CollapsibleInputGroup.d.ts.map +1 -1
  15. package/dist/custom-fields/field-set/CustomFieldSets.d.ts +3 -3
  16. package/dist/custom-fields/field-set/CustomFieldSets.d.ts.map +1 -1
  17. package/dist/custom-fields/field-set/components/CustomFieldSet/CustomFieldSet.d.ts +1 -1
  18. package/dist/custom-fields/field-set/components/CustomFieldSet/CustomFieldSet.d.ts.map +1 -1
  19. package/dist/custom-fields/field-set/contexts/useCustomFieldSets.d.ts +2 -2
  20. package/dist/custom-fields/field-set/contexts/useCustomFieldSets.d.ts.map +1 -1
  21. package/dist/customers/components/filter/CustomerFilter.d.ts +1 -1
  22. package/dist/customers/components/filter/CustomerFilter.d.ts.map +1 -1
  23. package/dist/events/edit-event-modal/IntervalInput.d.ts +1 -4
  24. package/dist/events/edit-event-modal/IntervalInput.d.ts.map +1 -1
  25. package/dist/events/edit-event-modal/IntervalInput.js +1 -1
  26. package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.d.ts.map +1 -1
  27. package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.js +1 -1
  28. package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.d.ts.map +1 -1
  29. package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.js +1 -1
  30. package/dist/events/edit-event-modal/utils/getDefaultProductSet.d.ts.map +1 -1
  31. package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +1 -1
  32. package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.d.ts +3 -3
  33. package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.d.ts.map +1 -1
  34. package/dist/events/event-statistic-modal/EventStatisticModal.d.ts +1 -1
  35. package/dist/events/event-statistic-modal/EventStatisticModal.d.ts.map +1 -1
  36. package/dist/events/event-statistic-modal/EventStatisticModal.js +1 -1
  37. package/dist/events/event-venue-map/EventVenueMap.d.ts +2 -5
  38. package/dist/events/event-venue-map/EventVenueMap.d.ts.map +1 -1
  39. package/dist/events/event-venue-map/EventVenueMap.js +1 -1
  40. package/dist/events/event-venue-map/components/Dropdown/Dropdown.d.ts +1 -1
  41. package/dist/events/event-venue-map/components/Dropdown/Dropdown.d.ts.map +1 -1
  42. package/dist/events/event-venue-map/components/Dropdown/components/ProductsControl/ProductsControl.d.ts +1 -1
  43. package/dist/events/event-venue-map/components/Dropdown/components/ProductsControl/ProductsControl.d.ts.map +1 -1
  44. package/dist/events/event-venue-map/components/Dropdown/components/SelectControl/SelectControl.d.ts +1 -1
  45. package/dist/events/event-venue-map/components/Dropdown/components/SelectControl/SelectControl.d.ts.map +1 -1
  46. package/dist/events/event-venue-map/components/MapPoint/MapPoint.d.ts +1 -1
  47. package/dist/events/event-venue-map/components/MapPoint/MapPoint.d.ts.map +1 -1
  48. package/dist/events/event-venue-map/components/MapPoint/MapPoint.js +1 -1
  49. package/dist/events/event-venue-map/components/MapPoint/components/DeleteIcon/DeleteIcon.d.ts +1 -1
  50. package/dist/events/event-venue-map/components/MapPoint/components/DeleteIcon/DeleteIcon.d.ts.map +1 -1
  51. package/dist/events/event-venue-map/components/MapPoint/components/EditIcon/EditIcon.d.ts +1 -1
  52. package/dist/events/event-venue-map/components/MapPoint/components/EditIcon/EditIcon.d.ts.map +1 -1
  53. package/dist/events/event-venue-map/components/MapPoint/components/PointIcon/PointIcon.d.ts +1 -1
  54. package/dist/events/event-venue-map/components/MapPoint/components/PointIcon/PointIcon.d.ts.map +1 -1
  55. package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.d.ts +1 -1
  56. package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.d.ts.map +1 -1
  57. package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.js +1 -1
  58. package/dist/events/event-venue-map/components/VenueMap/VenueMap.d.ts +2 -4
  59. package/dist/events/event-venue-map/components/VenueMap/VenueMap.d.ts.map +1 -1
  60. package/dist/events/event-venue-map/components/VenueMap/VenueMap.js +1 -1
  61. package/dist/events/event-venue-map/hooks/useCanvasSize.d.ts +1 -1
  62. package/dist/events/event-venue-map/hooks/useCanvasSize.d.ts.map +1 -1
  63. package/dist/events/event-venue-map/hooks/useStageActions.d.ts +1 -1
  64. package/dist/events/event-venue-map/hooks/useStageActions.d.ts.map +1 -1
  65. package/dist/events/event-venue-map/types/index.d.ts +5 -5
  66. package/dist/events/event-venue-map/types/index.d.ts.map +1 -1
  67. package/dist/events/event-venue-map/utils/index.d.ts +3 -3
  68. package/dist/events/event-venue-map/utils/index.d.ts.map +1 -1
  69. package/dist/file-upload/FilePreview.d.ts +2 -2
  70. package/dist/file-upload/FilePreview.d.ts.map +1 -1
  71. package/dist/file-upload/FileUpload.d.ts +1 -1
  72. package/dist/file-upload/FileUpload.d.ts.map +1 -1
  73. package/dist/header/Header.d.ts +1 -1
  74. package/dist/header/Header.d.ts.map +1 -1
  75. package/dist/help/example/Example.d.ts +4 -4
  76. package/dist/help/example/Example.d.ts.map +1 -1
  77. package/dist/help/popover/HelpPopover.d.ts +1 -1
  78. package/dist/help/popover/HelpPopover.d.ts.map +1 -1
  79. package/dist/iframe/custom-fields/components/CustomDateField.d.ts +1 -1
  80. package/dist/iframe/custom-fields/components/CustomDateField.d.ts.map +1 -1
  81. package/dist/iframe/event/event-calendar/EventCalendar.d.ts +1 -1
  82. package/dist/iframe/event/event-calendar/EventCalendar.d.ts.map +1 -1
  83. package/dist/iframe/event/event-calendar/components/CalendarButtons/CalendarButtons.d.ts +1 -1
  84. package/dist/iframe/event/event-calendar/components/CalendarButtons/CalendarButtons.d.ts.map +1 -1
  85. package/dist/iframe/event/event-calendar/components/CalendarDate/CalendarDate.d.ts +1 -1
  86. package/dist/iframe/event/event-calendar/components/CalendarDate/CalendarDate.d.ts.map +1 -1
  87. package/dist/iframe/event/event-calendar/components/CalendarDates/CalendarDates.d.ts +1 -1
  88. package/dist/iframe/event/event-calendar/components/CalendarDates/CalendarDates.d.ts.map +1 -1
  89. package/dist/iframe/event/event-calendar/components/CalendarSelect/CalendarSelect.d.ts +2 -2
  90. package/dist/iframe/event/event-calendar/components/CalendarSelect/CalendarSelect.d.ts.map +1 -1
  91. package/dist/iframe/event/event-calendar/types/index.d.ts +1 -1
  92. package/dist/iframe/event/event-calendar/types/index.d.ts.map +1 -1
  93. package/dist/iframe/event/event-details/EventDetails.d.ts +1 -1
  94. package/dist/iframe/event/event-details/EventDetails.d.ts.map +1 -1
  95. package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.d.ts +6 -5
  96. package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.d.ts.map +1 -1
  97. package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.js +1 -1
  98. package/dist/iframe/event/event-product-sets/EventProductSets.d.ts +1 -1
  99. package/dist/iframe/event/event-product-sets/EventProductSets.d.ts.map +1 -1
  100. package/dist/iframe/event/event-product-sets/components/EventProductSet.d.ts +1 -1
  101. package/dist/iframe/event/event-product-sets/components/EventProductSet.d.ts.map +1 -1
  102. package/dist/iframe/event/event-step-venue-map-zones/EventStepVenueMapZones.d.ts +1 -1
  103. package/dist/iframe/event/event-step-venue-map-zones/EventStepVenueMapZones.d.ts.map +1 -1
  104. package/dist/iframe/event/event-step-venue-map-zones/components/EventStepVenueMapZone.d.ts +1 -1
  105. package/dist/iframe/event/event-step-venue-map-zones/components/EventStepVenueMapZone.d.ts.map +1 -1
  106. package/dist/iframe/event/event-venue-map/IframeEventVenueMap.d.ts +1 -5
  107. package/dist/iframe/event/event-venue-map/IframeEventVenueMap.d.ts.map +1 -1
  108. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts.map +1 -1
  109. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.js +1 -1
  110. package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.d.ts +1 -1
  111. package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.d.ts.map +1 -1
  112. package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts +1 -1
  113. package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts.map +1 -1
  114. package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.d.ts +1 -1
  115. package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.d.ts.map +1 -1
  116. package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.d.ts +1 -1
  117. package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.d.ts.map +1 -1
  118. package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts +4 -4
  119. package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts.map +1 -1
  120. package/dist/iframe/order-process/components/BookingSummary/utils/index.d.ts +1 -1
  121. package/dist/iframe/order-process/components/BookingSummary/utils/index.d.ts.map +1 -1
  122. package/dist/iframe/order-process/components/BookingSummary/utils/index.js +1 -1
  123. package/dist/iframe/order-process/components/BookingSummaryFooter/BookingSummaryFooter.d.ts +4 -4
  124. package/dist/iframe/order-process/components/BookingSummaryFooter/BookingSummaryFooter.d.ts.map +1 -1
  125. package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.d.ts +1 -3
  126. package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.d.ts.map +1 -1
  127. package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.js +1 -1
  128. package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.d.ts +2 -4
  129. package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.d.ts.map +1 -1
  130. package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.js +1 -1
  131. package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts +2 -4
  132. package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts.map +1 -1
  133. package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.js +1 -1
  134. package/dist/iframe/order-process/components/Category/Category.d.ts +1 -2
  135. package/dist/iframe/order-process/components/Category/Category.d.ts.map +1 -1
  136. package/dist/iframe/order-process/components/Category/Category.js +1 -1
  137. package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts +1 -2
  138. package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts.map +1 -1
  139. package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.js +1 -1
  140. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts +0 -1
  141. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts.map +1 -1
  142. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js +1 -1
  143. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts.map +1 -1
  144. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.js +1 -1
  145. package/dist/iframe/order-process/components/NavigationSteps/NavigationSteps.d.ts +1 -1
  146. package/dist/iframe/order-process/components/NavigationSteps/NavigationSteps.d.ts.map +1 -1
  147. package/dist/iframe/order-process/components/PaymentCard/PaymentCard.d.ts +1 -1
  148. package/dist/iframe/order-process/components/PaymentCard/PaymentCard.d.ts.map +1 -1
  149. package/dist/iframe/order-process/components/StepsForm/StepsForm.d.ts +1 -2
  150. package/dist/iframe/order-process/components/StepsForm/StepsForm.d.ts.map +1 -1
  151. package/dist/iframe/order-process/components/StepsForm/StepsForm.js +1 -1
  152. package/dist/iframe/order-process/components/Timer/Timer.d.ts +1 -1
  153. package/dist/iframe/order-process/components/Timer/Timer.d.ts.map +1 -1
  154. package/dist/iframe/order-process/components/Timer/utils/index.d.ts +1 -1
  155. package/dist/iframe/order-process/components/Timer/utils/index.d.ts.map +1 -1
  156. package/dist/iframe/order-process/components/Timer/utils/index.js +1 -1
  157. package/dist/iframe/page/Page.d.ts +1 -1
  158. package/dist/iframe/page/Page.d.ts.map +1 -1
  159. package/dist/iframe/page/components/PageBody/PageBody.d.ts +1 -1
  160. package/dist/iframe/page/components/PageBody/PageBody.d.ts.map +1 -1
  161. package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.d.ts +1 -1
  162. package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.d.ts.map +1 -1
  163. package/dist/iframe/page/components/PageBody/components/RightBlock/RightBlock.d.ts +1 -1
  164. package/dist/iframe/page/components/PageBody/components/RightBlock/RightBlock.d.ts.map +1 -1
  165. package/dist/iframe/page/components/PageBody/types.d.ts +1 -1
  166. package/dist/iframe/page/components/PageBody/types.d.ts.map +1 -1
  167. package/dist/iframe/page/components/PageHeader/PageHeader.d.ts +1 -1
  168. package/dist/iframe/page/components/PageHeader/PageHeader.d.ts.map +1 -1
  169. package/dist/iframe/payment/order-items-table/hooks/useTableData.d.ts +0 -5
  170. package/dist/iframe/payment/order-items-table/hooks/useTableData.d.ts.map +1 -1
  171. package/dist/iframe/payment/order-items-table/hooks/useTableData.js +1 -1
  172. package/dist/iframe/payment/order-items-table/types/index.d.ts +2 -2
  173. package/dist/iframe/payment/order-items-table/types/index.d.ts.map +1 -1
  174. package/dist/iframe/payment/order-items-table/utils/index.d.ts +1 -6
  175. package/dist/iframe/payment/order-items-table/utils/index.d.ts.map +1 -1
  176. package/dist/iframe/payment/order-items-table/utils/index.js +1 -1
  177. package/dist/iframe/payment/payment-page/PaymentPage.d.ts +1 -1
  178. package/dist/iframe/payment/payment-page/PaymentPage.d.ts.map +1 -1
  179. package/dist/iframe/payment/payment-page/PaymentPage.js +1 -1
  180. package/dist/iframe/payment/payment-page/PaymentTimer.d.ts +0 -1
  181. package/dist/iframe/payment/payment-page/PaymentTimer.d.ts.map +1 -1
  182. package/dist/iframe/payment/payment-page/PaymentTimer.js +1 -1
  183. package/dist/iframe/payment/payment-status-header/PaymentStatusHeader.d.ts +1 -1
  184. package/dist/iframe/payment/payment-status-header/PaymentStatusHeader.d.ts.map +1 -1
  185. package/dist/iframe/payment/payment-status-page/PaymentStatusPage.d.ts +3 -5
  186. package/dist/iframe/payment/payment-status-page/PaymentStatusPage.d.ts.map +1 -1
  187. package/dist/iframe/payment/payment-status-page/PaymentStatusPage.js +1 -1
  188. package/dist/iframe/powered-by/PoweredBy.d.ts +1 -1
  189. package/dist/iframe/powered-by/PoweredBy.d.ts.map +1 -1
  190. package/dist/iframe/ryft/RyftPaymentForm.d.ts +1 -1
  191. package/dist/iframe/ryft/RyftPaymentForm.d.ts.map +1 -1
  192. package/dist/index.d.ts +0 -1
  193. package/dist/index.d.ts.map +1 -1
  194. package/dist/index.js +1 -1
  195. package/dist/modals/confirmation/ConfirmModal.d.ts +2 -2
  196. package/dist/modals/confirmation/ConfirmModal.d.ts.map +1 -1
  197. package/dist/notification/email-template/card/EmailTemplateCard.d.ts +1 -4
  198. package/dist/notification/email-template/card/EmailTemplateCard.d.ts.map +1 -1
  199. package/dist/notification/email-template/card/EmailTemplateCard.js +1 -1
  200. package/dist/notification/email-template/control/EmailTemplateControl.d.ts +0 -3
  201. package/dist/notification/email-template/control/EmailTemplateControl.d.ts.map +1 -1
  202. package/dist/notification/email-template/control/EmailTemplateControl.js +1 -1
  203. package/dist/notification/email-template/form/EmailTemplateForm.d.ts +1 -7
  204. package/dist/notification/email-template/form/EmailTemplateForm.d.ts.map +1 -1
  205. package/dist/notification/email-template/form/EmailTemplateForm.js +1 -1
  206. package/dist/notification/sms-template/card/SmsTemplateCard.d.ts +1 -4
  207. package/dist/notification/sms-template/card/SmsTemplateCard.d.ts.map +1 -1
  208. package/dist/notification/sms-template/card/SmsTemplateCard.js +1 -1
  209. package/dist/notification/sms-template/control/SmsTemplateControl.d.ts +1 -6
  210. package/dist/notification/sms-template/control/SmsTemplateControl.d.ts.map +1 -1
  211. package/dist/notification/sms-template/control/SmsTemplateControl.js +1 -1
  212. package/dist/notification/sms-template/form/SmsTemplateForm.d.ts +1 -5
  213. package/dist/notification/sms-template/form/SmsTemplateForm.d.ts.map +1 -1
  214. package/dist/notification/sms-template/form/SmsTemplateForm.js +1 -1
  215. package/dist/product-set/control/ProductSetControl.d.ts +4 -16
  216. package/dist/product-set/control/ProductSetControl.d.ts.map +1 -1
  217. package/dist/product-set/control/ProductSetControl.js +1 -1
  218. package/dist/product-set/deposit-paid/ProductSetDepositPaidControl.d.ts +3 -3
  219. package/dist/product-set/deposit-paid/ProductSetDepositPaidControl.d.ts.map +1 -1
  220. package/dist/product-set/elements/DeleteFieldButton.d.ts +1 -1
  221. package/dist/product-set/elements/DeleteFieldButton.d.ts.map +1 -1
  222. package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
  223. package/dist/product-set/form/ProductSetForm.js +1 -1
  224. package/dist/product-set/form/ProductsControl.d.ts.map +1 -1
  225. package/dist/product-set/form/ProductsControl.js +1 -1
  226. package/dist/product-set/form/StepsControl.d.ts.map +1 -1
  227. package/dist/product-set/form/StepsControl.js +1 -1
  228. package/dist/product-set/form/VenueMapSetModal.d.ts +1 -1
  229. package/dist/product-set/form/VenueMapSetModal.d.ts.map +1 -1
  230. package/dist/product-set/form/VenueMapsControl.d.ts +1 -1
  231. package/dist/product-set/form/VenueMapsControl.d.ts.map +1 -1
  232. package/dist/product-set/form/context.d.ts +1 -1
  233. package/dist/product-set/form/context.d.ts.map +1 -1
  234. package/dist/product-set/popover/ProductSetPopover.d.ts +1 -1
  235. package/dist/product-set/popover/ProductSetPopover.d.ts.map +1 -1
  236. package/dist/product-set/product/ProductControl.d.ts +0 -1
  237. package/dist/product-set/product/ProductControl.d.ts.map +1 -1
  238. package/dist/product-set/product/ProductControl.js +1 -1
  239. package/dist/product-set/product/fixed-duration-fields/FixedDurationOptions.d.ts +1 -1
  240. package/dist/product-set/product/fixed-duration-fields/FixedDurationOptions.d.ts.map +1 -1
  241. package/dist/product-set/product/price/ProductPriceControl.d.ts +3 -7
  242. package/dist/product-set/product/price/ProductPriceControl.d.ts.map +1 -1
  243. package/dist/product-set/product/price/ProductPriceControl.js +1 -1
  244. package/dist/product-set/product/quantity/ProductQuantityRechargingControl.d.ts.map +1 -1
  245. package/dist/product-set/product/quantity/ProductQuantityRechargingControl.js +1 -1
  246. package/dist/product-set/tabs/ProductSetTab.d.ts +1 -1
  247. package/dist/product-set/tabs/ProductSetTab.d.ts.map +1 -1
  248. package/dist/product-set/tabs/ProductSetTabs.d.ts +1 -1
  249. package/dist/product-set/tabs/ProductSetTabs.d.ts.map +1 -1
  250. package/dist/product-set/types/index.d.ts +5 -5
  251. package/dist/product-set/types/index.d.ts.map +1 -1
  252. package/dist/product-set/utils/index.d.ts +0 -4
  253. package/dist/product-set/utils/index.d.ts.map +1 -1
  254. package/dist/product-set/utils/index.js +1 -1
  255. package/dist/provider/categories-input/CategoriesInput.d.ts +1 -1
  256. package/dist/provider/categories-input/CategoriesInput.d.ts.map +1 -1
  257. package/dist/provider/categories-input/CategoriesInputDescription.d.ts +1 -1
  258. package/dist/provider/categories-input/CategoriesInputDescription.d.ts.map +1 -1
  259. package/dist/provider/categories-input/index.d.ts +1 -1
  260. package/dist/provider/categories-input/index.d.ts.map +1 -1
  261. package/dist/provider/company/user-form/UserForm.d.ts +2 -2
  262. package/dist/provider/company/user-form/UserForm.d.ts.map +1 -1
  263. package/dist/provider/location-input/index.d.ts +1 -1
  264. package/dist/provider/location-input/index.d.ts.map +1 -1
  265. package/dist/provider/provider-details-input/ProviderDetailsInput.d.ts +2 -2
  266. package/dist/provider/provider-details-input/ProviderDetailsInput.d.ts.map +1 -1
  267. package/dist/provider/provider-details-input/ProviderDetailsInput.js +1 -1
  268. package/dist/provider/provider-form/ProviderForm.d.ts +1 -1
  269. package/dist/provider/provider-form/ProviderForm.d.ts.map +1 -1
  270. package/dist/provider/provider-links-input/ProviderLinksInput.d.ts +2 -2
  271. package/dist/provider/provider-links-input/ProviderLinksInput.d.ts.map +1 -1
  272. package/dist/provider/resources-blocking-modal/ResourcesBlockingModal.d.ts +1 -1
  273. package/dist/provider/resources-blocking-modal/ResourcesBlockingModal.d.ts.map +1 -1
  274. package/dist/provider/venue-form/VenueForm.d.ts +1 -1
  275. package/dist/provider/venue-form/VenueForm.d.ts.map +1 -1
  276. package/dist/provider/working-hours-input/index.d.ts +1 -1
  277. package/dist/provider/working-hours-input/index.d.ts.map +1 -1
  278. package/dist/recurrence-input/utils.d.ts +2 -2
  279. package/dist/recurrence-input/utils.d.ts.map +1 -1
  280. package/dist/recurring-date-picker-input/RecurringDatePickerInput.js +1 -1
  281. package/dist/recurring-date-picker-input/utils.d.ts +2 -2
  282. package/dist/recurring-date-picker-input/utils.d.ts.map +1 -1
  283. package/dist/resource/form/ResourceForm.d.ts +2 -2
  284. package/dist/resource/form/ResourceForm.d.ts.map +1 -1
  285. package/dist/resource/form/components/CapacityControl.d.ts +1 -1
  286. package/dist/resource/form/components/CapacityControl.d.ts.map +1 -1
  287. package/dist/resource/form/components/NameControl.d.ts +1 -1
  288. package/dist/resource/form/components/NameControl.d.ts.map +1 -1
  289. package/dist/resource/form/components/SortControl.d.ts +1 -1
  290. package/dist/resource/form/components/SortControl.d.ts.map +1 -1
  291. package/dist/resource/form/components/ZoneControl.d.ts +1 -1
  292. package/dist/resource/form/components/ZoneControl.d.ts.map +1 -1
  293. package/dist/sales/booking/filter/BookingFilter.d.ts +2 -5
  294. package/dist/sales/booking/filter/BookingFilter.d.ts.map +1 -1
  295. package/dist/sales/booking/filter/BookingFilter.js +1 -1
  296. package/dist/sales/booking/filter/components/AdditionalFIlterSection.d.ts +2 -3
  297. package/dist/sales/booking/filter/components/AdditionalFIlterSection.d.ts.map +1 -1
  298. package/dist/sales/booking/filter/components/AdditionalFIlterSection.js +1 -1
  299. package/dist/sales/booking/filter/components/MainFilterSection.d.ts +2 -2
  300. package/dist/sales/booking/filter/components/MainFilterSection.d.ts.map +1 -1
  301. package/dist/sales/booking/filter/components/MainFilterSection.js +1 -1
  302. package/dist/sales/booking/filter/components/ResultTagButton.d.ts +1 -1
  303. package/dist/sales/booking/filter/components/ResultTagButton.d.ts.map +1 -1
  304. package/dist/sales/booking/filter/components/SearchingForSection.d.ts +1 -8
  305. package/dist/sales/booking/filter/components/SearchingForSection.d.ts.map +1 -1
  306. package/dist/sales/booking/filter/components/SearchingForSection.js +1 -1
  307. package/dist/sales/booking/results/BookingResults.d.ts +1 -1
  308. package/dist/sales/booking/results/BookingResults.d.ts.map +1 -1
  309. package/dist/sales/booking/results/components/ResultCard.d.ts +1 -1
  310. package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
  311. package/dist/sales/booking/tabs/BookingTabs.d.ts +2 -3
  312. package/dist/sales/booking/tabs/BookingTabs.d.ts.map +1 -1
  313. package/dist/sales/booking/tabs/BookingTabs.js +1 -1
  314. package/dist/sales/coupon/control/CouponFormControl.d.ts.map +1 -1
  315. package/dist/sales/coupon/control/CouponFormControl.js +1 -1
  316. package/dist/sales/filters/SaleFilters.d.ts +3 -2
  317. package/dist/sales/filters/SaleFilters.d.ts.map +1 -1
  318. package/dist/sales/guest-profile/previous-bookings/PreviousBookings.d.ts +1 -1
  319. package/dist/sales/guest-profile/previous-bookings/PreviousBookings.d.ts.map +1 -1
  320. package/dist/sales/guest-profile/profile/Profile.d.ts +1 -1
  321. package/dist/sales/guest-profile/profile/Profile.d.ts.map +1 -1
  322. package/dist/sales/guest-profile/profile/components/ImageHolder/ImageHolder.d.ts +1 -1
  323. package/dist/sales/guest-profile/profile/components/ImageHolder/ImageHolder.d.ts.map +1 -1
  324. package/dist/sales/guest-profile/user-metrics/UserMetrics.d.ts +1 -1
  325. package/dist/sales/guest-profile/user-metrics/UserMetrics.d.ts.map +1 -1
  326. package/dist/sales/guest-profile/visited-providers/VisitedProviders.d.ts +1 -1
  327. package/dist/sales/guest-profile/visited-providers/VisitedProviders.d.ts.map +1 -1
  328. package/dist/sales/life-time-sales/LifeTimeSalesChart.d.ts +1 -1
  329. package/dist/sales/life-time-sales/LifeTimeSalesChart.d.ts.map +1 -1
  330. package/dist/sales/manual-booking/create-user/CreateUser.js +1 -1
  331. package/dist/sales/manual-booking/customer-info/CustomerInfo.d.ts +1 -1
  332. package/dist/sales/manual-booking/customer-info/CustomerInfo.d.ts.map +1 -1
  333. package/dist/sales/manual-booking/final-step/FinalStep.d.ts +1 -1
  334. package/dist/sales/manual-booking/final-step/FinalStep.d.ts.map +1 -1
  335. package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.d.ts +1 -1
  336. package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.d.ts.map +1 -1
  337. package/dist/sales/manual-booking/select-date-type-control/SelectDateTypeControl.d.ts +1 -1
  338. package/dist/sales/manual-booking/select-date-type-control/SelectDateTypeControl.d.ts.map +1 -1
  339. package/dist/sales/manual-booking/select-menu/SelectMenu.d.ts +1 -1
  340. package/dist/sales/manual-booking/select-menu/SelectMenu.d.ts.map +1 -1
  341. package/dist/sales/manual-booking/select-menu/SelectMenu.js +1 -1
  342. package/dist/sales/manual-booking/select-menu/components/MenuButton.d.ts +1 -1
  343. package/dist/sales/manual-booking/select-menu/components/MenuButton.d.ts.map +1 -1
  344. package/dist/sales/notes/NotesTable.d.ts +1 -1
  345. package/dist/sales/notes/NotesTable.d.ts.map +1 -1
  346. package/dist/sales/notes/NotesTableRow.d.ts +1 -1
  347. package/dist/sales/notes/NotesTableRow.d.ts.map +1 -1
  348. package/dist/sales/notes/note-form/NoteForm.d.ts +1 -1
  349. package/dist/sales/notes/note-form/NoteForm.d.ts.map +1 -1
  350. package/dist/sales/payment-form/SalePaymentForm.d.ts +2 -2
  351. package/dist/sales/payment-form/SalePaymentForm.d.ts.map +1 -1
  352. package/dist/sales/payment-form/components/RyftPayment/RyftPayment.d.ts +1 -1
  353. package/dist/sales/payment-form/components/RyftPayment/RyftPayment.d.ts.map +1 -1
  354. package/dist/sales/payment-form/types.d.ts +2 -2
  355. package/dist/sales/payment-form/types.d.ts.map +1 -1
  356. package/dist/sales/sales-and-views/SalesAndViewsChart.d.ts +1 -1
  357. package/dist/sales/sales-and-views/SalesAndViewsChart.d.ts.map +1 -1
  358. package/dist/setting/admin/AdminSettingForm.d.ts +1 -1
  359. package/dist/setting/admin/AdminSettingForm.d.ts.map +1 -1
  360. package/dist/setting/admin/PaymentFeeForm.d.ts +2 -2
  361. package/dist/setting/admin/PaymentFeeForm.d.ts.map +1 -1
  362. package/dist/setting/dashboard/DashboardSettingForm.d.ts +1 -1
  363. package/dist/setting/dashboard/DashboardSettingForm.d.ts.map +1 -1
  364. package/dist/setting/dashboard/EventSettingForm.d.ts +2 -2
  365. package/dist/setting/dashboard/EventSettingForm.d.ts.map +1 -1
  366. package/dist/setting/dashboard/FinancialDataForm.d.ts +2 -2
  367. package/dist/setting/dashboard/FinancialDataForm.d.ts.map +1 -1
  368. package/dist/setting/dashboard/OtherSettingForm.d.ts +2 -2
  369. package/dist/setting/dashboard/OtherSettingForm.d.ts.map +1 -1
  370. package/dist/setting/dashboard/ProviderSettingForm.d.ts +2 -2
  371. package/dist/setting/dashboard/ProviderSettingForm.d.ts.map +1 -1
  372. package/dist/setting/dashboard/snippets/control/SnippetControl.d.ts.map +1 -1
  373. package/dist/setting/dashboard/snippets/control/SnippetControl.js +1 -1
  374. package/dist/setting/dashboard/snippets/form/SnippetForm.d.ts +2 -2
  375. package/dist/setting/dashboard/snippets/form/SnippetForm.d.ts.map +1 -1
  376. package/dist/setting/dashboard/snippets/modal/SnippetViewTypeModal.js +1 -1
  377. package/dist/setting/system/SystemSettingForm.d.ts +1 -1
  378. package/dist/setting/system/SystemSettingForm.d.ts.map +1 -1
  379. package/dist/snippet/snippet-template/SnippetTemplate.js +1 -1
  380. package/dist/snippet/snippet-template/context/snippetTemplate.d.ts +1 -1
  381. package/dist/snippet/snippet-template/context/snippetTemplate.d.ts.map +1 -1
  382. package/dist/snippet/snippet-template/form/SnippetTemplateForm.js +1 -1
  383. package/dist/snippet/snippet-template/preview/Preview.js +1 -1
  384. package/dist/sortable-list/SortableList.d.ts +4 -4
  385. package/dist/sortable-list/SortableList.d.ts.map +1 -1
  386. package/dist/sortable-tree/SortableTreeItem.d.ts +1 -1
  387. package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
  388. package/dist/static/Icon.d.ts +1 -1
  389. package/dist/static/Icon.d.ts.map +1 -1
  390. package/dist/static/date-range-input/DateRangeInput.d.ts +2 -3
  391. package/dist/static/date-range-input/DateRangeInput.d.ts.map +1 -1
  392. package/dist/static/date-range-input/DateRangeInput.js +1 -1
  393. package/dist/static/images/DefaultUserImage.d.ts +1 -1
  394. package/dist/static/images/DefaultUserImage.d.ts.map +1 -1
  395. package/dist/static/loader/ButtonLoader.d.ts +1 -1
  396. package/dist/static/loader/ButtonLoader.d.ts.map +1 -1
  397. package/dist/static/loader/PaymentLoader.d.ts +1 -1
  398. package/dist/static/loader/PaymentLoader.d.ts.map +1 -1
  399. package/dist/static/manual-date-picker/ManualDatePicker.d.ts +1 -1
  400. package/dist/static/manual-date-picker/ManualDatePicker.d.ts.map +1 -1
  401. package/dist/static/manual-date-picker/hooks/useManualDatePicker.d.ts +2 -2
  402. package/dist/static/manual-date-picker/hooks/useManualDatePicker.d.ts.map +1 -1
  403. package/dist/static/tabs/Tab.d.ts +1 -1
  404. package/dist/static/tabs/Tab.d.ts.map +1 -1
  405. package/dist/static/tabs/Tabs.d.ts +1 -1
  406. package/dist/static/tabs/Tabs.d.ts.map +1 -1
  407. package/dist/styles/events/EventStatisticModal.scss +37 -0
  408. package/dist/styles/iframe-order-process/IframeOrderProcess.scss +2 -5
  409. package/dist/styles/iframe-page/PageBody.scss +0 -2
  410. package/dist/styles/packages.scss +0 -1
  411. package/dist/styles/sales/BookingFilter.scss +11 -43
  412. package/dist/styles/snippet-templates/SnippetTemplateCard.scss +0 -16
  413. package/dist/styles/static/DateRangeInput.scss +1 -5
  414. package/dist/table/FilterHelperComponent.d.ts.map +1 -1
  415. package/dist/table/FilterHelperComponent.js +1 -1
  416. package/dist/table/MenuButton.d.ts +1 -1
  417. package/dist/table/MenuButton.d.ts.map +1 -1
  418. package/dist/table/ReactTableHelperComponent.d.ts +2 -2
  419. package/dist/table/ReactTableHelperComponent.d.ts.map +1 -1
  420. package/dist/table/StaticTable.d.ts +3 -3
  421. package/dist/table/StaticTable.d.ts.map +1 -1
  422. package/dist/table/StaticTable.js +1 -1
  423. package/dist/table/types.d.ts +5 -5
  424. package/dist/table/types.d.ts.map +1 -1
  425. package/dist/tiptap-editor/TipTapMenu/extensions/EMOJIS.d.ts +1 -1
  426. package/dist/tiptap-editor/TipTapMenu/extensions/EMOJIS.d.ts.map +1 -1
  427. package/dist/typeahead/Typeahead.d.ts +12 -6
  428. package/dist/typeahead/Typeahead.d.ts.map +1 -1
  429. package/dist/typeahead/Typeahead.js +1 -1
  430. package/dist/typeahead-helper/TypeaheadHelperComponent.d.ts +1 -1
  431. package/dist/typeahead-helper/TypeaheadHelperComponent.d.ts.map +1 -1
  432. package/dist/types/categories.d.ts +2 -2
  433. package/dist/types/categories.d.ts.map +1 -1
  434. package/dist/types/currency.d.ts +1 -1
  435. package/dist/types/currency.d.ts.map +1 -1
  436. package/dist/types/generic/SelectItem.d.ts +1 -1
  437. package/dist/types/generic/SelectItem.d.ts.map +1 -1
  438. package/dist/types/iframe.d.ts +2 -4
  439. package/dist/types/iframe.d.ts.map +1 -1
  440. package/dist/types/provider-links.d.ts +2 -2
  441. package/dist/types/provider-links.d.ts.map +1 -1
  442. package/dist/venue-map-sets/form/components/NameControl.d.ts +1 -1
  443. package/dist/venue-map-sets/form/components/NameControl.d.ts.map +1 -1
  444. package/dist/venue-map-sets/form/components/VenueMapControl.d.ts +4 -4
  445. package/dist/venue-map-sets/form/components/VenueMapControl.d.ts.map +1 -1
  446. package/dist/venue-map-sets/form/components/VenueMapImageControl.d.ts +1 -1
  447. package/dist/venue-map-sets/form/components/VenueMapImageControl.d.ts.map +1 -1
  448. package/dist/venue-map-sets/form/components/VenueMapModal.d.ts +1 -1
  449. package/dist/venue-map-sets/form/components/VenueMapModal.d.ts.map +1 -1
  450. package/dist/venue-map-sets/form/components/VenueMapsControl.d.ts +1 -1
  451. package/dist/venue-map-sets/form/components/VenueMapsControl.d.ts.map +1 -1
  452. package/dist/venue-map-sets/form/types/index.d.ts +4 -4
  453. package/dist/venue-map-sets/form/types/index.d.ts.map +1 -1
  454. package/dist/virtualized/components/VirtualizedGrid.d.ts +1 -1
  455. package/dist/virtualized/components/VirtualizedGrid.d.ts.map +1 -1
  456. package/dist/virtualized/components/VirtualizedWindowScroller.d.ts +3 -3
  457. package/dist/virtualized/components/VirtualizedWindowScroller.d.ts.map +1 -1
  458. package/dist/virtualized/context/VirtualizedContext.d.ts +2 -2
  459. package/dist/virtualized/context/VirtualizedContext.d.ts.map +1 -1
  460. package/dist/widgets/CheckboxGroup/CheckboxGroup.d.ts +1 -1
  461. package/dist/widgets/CheckboxGroup/CheckboxGroup.d.ts.map +1 -1
  462. package/dist/widgets/ImageRadioInput/ImageRadioInput.d.ts +1 -1
  463. package/dist/widgets/ImageRadioInput/ImageRadioInput.d.ts.map +1 -1
  464. package/dist/widgets/SnippetCode/SnippetCode.d.ts +1 -1
  465. package/dist/widgets/SnippetCode/SnippetCode.d.ts.map +1 -1
  466. package/dist/widgets/WidgetBuilderForm/WidgetBuilderForm.d.ts +1 -1
  467. package/dist/widgets/WidgetBuilderForm/WidgetBuilderForm.d.ts.map +1 -1
  468. package/dist/widgets/WidgetTypeRadio/WidgetTypeRadio.d.ts +1 -1
  469. package/dist/widgets/WidgetTypeRadio/WidgetTypeRadio.d.ts.map +1 -1
  470. package/dist/zone/form/ZoneForm.d.ts +2 -2
  471. package/dist/zone/form/ZoneForm.d.ts.map +1 -1
  472. package/dist/zone/form/components/AvailableTimesControl.d.ts +2 -2
  473. package/dist/zone/form/components/AvailableTimesControl.d.ts.map +1 -1
  474. package/dist/zone/form/components/DescriptionControl.d.ts +1 -1
  475. package/dist/zone/form/components/DescriptionControl.d.ts.map +1 -1
  476. package/dist/zone/form/components/NameControl.d.ts +1 -1
  477. package/dist/zone/form/components/NameControl.d.ts.map +1 -1
  478. package/dist/zone/form/components/SortControl.d.ts +1 -1
  479. package/dist/zone/form/components/SortControl.d.ts.map +1 -1
  480. package/dist/zone/form/components/ZoneControl.d.ts +1 -1
  481. package/dist/zone/form/components/ZoneControl.d.ts.map +1 -1
  482. package/dist/zone/form/components/ZoneImageControl.d.ts +1 -1
  483. package/dist/zone/form/components/ZoneImageControl.d.ts.map +1 -1
  484. package/dist/zone/form/components/ZoneRecurrencesControl.d.ts +1 -1
  485. package/dist/zone/form/components/ZoneRecurrencesControl.d.ts.map +1 -1
  486. package/dist/zone/form/components/ZoneTypeControl.d.ts +1 -1
  487. package/dist/zone/form/components/ZoneTypeControl.d.ts.map +1 -1
  488. package/package.json +4 -4
  489. package/src/events/edit-event-modal/IntervalInput.tsx +1 -21
  490. package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx +0 -3
  491. package/src/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.tsx +2 -11
  492. package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +4 -6
  493. package/src/events/event-statistic-modal/EventStatisticModal.tsx +1 -1
  494. package/src/events/event-venue-map/EventVenueMap.tsx +0 -4
  495. package/src/events/event-venue-map/components/MapPoint/MapPoint.tsx +1 -3
  496. package/src/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.tsx +2 -13
  497. package/src/events/event-venue-map/components/VenueMap/VenueMap.tsx +4 -12
  498. package/src/iframe/event/event-order-short-summary/components/Summary/Summary.tsx +20 -20
  499. package/src/iframe/event/event-venue-map/IframeEventVenueMap.stories.tsx +0 -5
  500. package/src/iframe/order-process/OrderProcess.stories.tsx +2 -3
  501. package/src/iframe/order-process/components/BookingSummary/BookingSummary.tsx +1 -4
  502. package/src/iframe/order-process/components/BookingSummary/types/index.ts +3 -3
  503. package/src/iframe/order-process/components/BookingSummary/utils/index.ts +2 -6
  504. package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.stories.tsx +0 -1
  505. package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.tsx +0 -5
  506. package/src/iframe/order-process/components/CalendarStepsForm/components/Category.tsx +0 -4
  507. package/src/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.tsx +0 -4
  508. package/src/iframe/order-process/components/Category/Category.tsx +0 -3
  509. package/src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx +8 -42
  510. package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +0 -3
  511. package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +2 -3
  512. package/src/iframe/order-process/components/StepsForm/StepsForm.tsx +0 -3
  513. package/src/iframe/order-process/components/Timer/Timer.stories.tsx +1 -1
  514. package/src/iframe/order-process/components/Timer/utils/index.ts +4 -4
  515. package/src/iframe/payment/order-items-table/OrderItemsTable.stories.tsx +0 -2
  516. package/src/iframe/payment/order-items-table/hooks/useTableData.tsx +14 -21
  517. package/src/iframe/payment/order-items-table/utils/index.ts +15 -55
  518. package/src/iframe/payment/payment-page/PaymentPage.tsx +6 -46
  519. package/src/iframe/payment/payment-page/PaymentTimer.tsx +6 -31
  520. package/src/iframe/payment/payment-status-page/PaymentStatusPage.tsx +12 -66
  521. package/src/index.ts +0 -1
  522. package/src/notification/email-template/card/EmailTemplateCard.stories.tsx +2 -4
  523. package/src/notification/email-template/card/EmailTemplateCard.tsx +3 -15
  524. package/src/notification/email-template/control/EmailTemplateControl.tsx +6 -90
  525. package/src/notification/email-template/form/EmailTemplateForm.stories.tsx +0 -34
  526. package/src/notification/email-template/form/EmailTemplateForm.tsx +5 -23
  527. package/src/notification/sms-template/card/SmsTemplateCard.stories.tsx +1 -3
  528. package/src/notification/sms-template/card/SmsTemplateCard.tsx +3 -13
  529. package/src/notification/sms-template/control/SmsTemplateControl.tsx +2 -40
  530. package/src/notification/sms-template/form/SmsTemplateForm.stories.tsx +0 -28
  531. package/src/notification/sms-template/form/SmsTemplateForm.tsx +1 -6
  532. package/src/product-set/control/ProductSetControl.tsx +45 -69
  533. package/src/product-set/form/ProductSetForm.stories.tsx +2 -41
  534. package/src/product-set/form/ProductSetForm.tsx +0 -11
  535. package/src/product-set/form/ProductsControl.tsx +1 -20
  536. package/src/product-set/form/StepsControl.tsx +3 -21
  537. package/src/product-set/product/ProductControl.tsx +10 -25
  538. package/src/product-set/product/price/ProductPriceControl.tsx +21 -43
  539. package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +14 -33
  540. package/src/product-set/utils/index.ts +0 -28
  541. package/src/provider/provider-details-input/ProviderDetailsInput.tsx +2 -0
  542. package/src/sales/booking/filter/BookingFilter.stories.tsx +0 -29
  543. package/src/sales/booking/filter/BookingFilter.tsx +2 -11
  544. package/src/sales/booking/filter/components/AdditionalFIlterSection.tsx +12 -64
  545. package/src/sales/booking/filter/components/MainFilterSection.tsx +1 -4
  546. package/src/sales/booking/filter/components/SearchingForSection.tsx +3 -37
  547. package/src/sales/booking/tabs/BookingTabs.tsx +3 -4
  548. package/src/sales/coupon/control/CouponFormControl.tsx +0 -2
  549. package/src/sales/filters/SaleFilter.stories.tsx +1 -1
  550. package/src/sales/filters/SaleFilters.tsx +2 -2
  551. package/src/sales/manual-booking/select-menu/SelectMenu.tsx +1 -3
  552. package/src/setting/dashboard/snippets/control/SnippetControl.tsx +13 -11
  553. package/src/setting/dashboard/snippets/form/SnippetForm.tsx +2 -2
  554. package/src/setting/dashboard/snippets/modal/SnippetViewTypeModal.tsx +1 -1
  555. package/src/snippet/snippet-template/SnippetTemplate.tsx +1 -1
  556. package/src/snippet/snippet-template/form/SnippetTemplateForm.tsx +10 -10
  557. package/src/snippet/snippet-template/preview/Preview.tsx +4 -4
  558. package/src/static/date-range-input/DateRangeInput.tsx +0 -3
  559. package/src/styles/events/EventStatisticModal.scss +37 -0
  560. package/src/styles/iframe-order-process/IframeOrderProcess.scss +2 -5
  561. package/src/styles/iframe-page/PageBody.scss +0 -2
  562. package/src/styles/packages.scss +0 -1
  563. package/src/styles/sales/BookingFilter.scss +11 -43
  564. package/src/styles/snippet-templates/SnippetTemplateCard.scss +0 -16
  565. package/src/styles/static/DateRangeInput.scss +1 -5
  566. package/src/table/FilterHelperComponent.tsx +0 -1
  567. package/src/table/StaticTable.tsx +2 -4
  568. package/src/typeahead/Typeahead.stories.tsx +6 -9
  569. package/src/typeahead/Typeahead.tsx +12 -19
  570. package/src/types/iframe.ts +0 -2
  571. package/tests/Snippets/Snippets.test.tsx +5 -5
  572. package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.d.ts +0 -9
  573. package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.d.ts.map +0 -1
  574. package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.js +0 -1
  575. package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.d.ts +0 -2
  576. package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.d.ts.map +0 -1
  577. package/dist/notification/hooks/useTranslatedParameters.d.ts +0 -7
  578. package/dist/notification/hooks/useTranslatedParameters.d.ts.map +0 -1
  579. package/dist/notification/hooks/useTranslatedParameters.js +0 -1
  580. package/dist/striped-static-table/StripedStaticTable.d.ts +0 -7
  581. package/dist/striped-static-table/StripedStaticTable.d.ts.map +0 -1
  582. package/dist/striped-static-table/StripedStaticTable.js +0 -1
  583. package/dist/striped-static-table/index.d.ts +0 -2
  584. package/dist/striped-static-table/index.d.ts.map +0 -1
  585. package/dist/styles/striped-static-table/_index.scss +0 -33
  586. package/src/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.tsx +0 -68
  587. package/src/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.ts +0 -1
  588. package/src/notification/hooks/useTranslatedParameters.ts +0 -27
  589. package/src/striped-static-table/StripedStaticTable.stories.tsx +0 -71
  590. package/src/striped-static-table/StripedStaticTable.tsx +0 -63
  591. package/src/striped-static-table/index.ts +0 -1
  592. package/src/styles/striped-static-table/_index.scss +0 -33
@@ -1,16 +1,13 @@
1
- import {
2
- Order,
3
- ORDER_FEE_CHARGE_TYPE_CLIENT,
4
- } from "@licklist/core/dist/DataMapper/Order/OrderDataMapper";
1
+ import { Order } from "@licklist/core/dist/DataMapper/Order/OrderDataMapper";
5
2
  import { Product } from "@licklist/core/dist/DataMapper/Product/ProductDataMapper";
6
3
  import { PAYMENT_TYPE_DISCOUNT } from "@licklist/core/dist/DataMapper/Order/PaymentDataMapper";
7
4
  import { PaymentDetail } from "@licklist/core/dist/DataMapper/Order/PaymentDetailDataMapper";
8
- import { PAYMENT_TYPE_TRANSLATE_KEYS } from "../hooks/useTableData";
9
5
 
10
6
  const TRANSLATE_KEYS = {
11
7
  totalAmount: "totalPaid",
12
8
  netAmount: "netAmount",
13
9
  fee: "bookeditFee",
10
+ remainingToPay: "remainingToPay",
14
11
  };
15
12
 
16
13
  export enum PAYMENT_TYPE_TITLES {
@@ -19,35 +16,14 @@ export enum PAYMENT_TYPE_TITLES {
19
16
  VAT = "VAT",
20
17
  }
21
18
 
22
- interface ExternalPaymnetDetail {
23
- translateKey: string;
24
- price: number;
25
- }
26
-
27
- export const calculateTotalPrice = (
28
- order: Order,
29
- externalPaymentDetails?: ExternalPaymnetDetail[]
30
- ) => {
31
- const totalPrice =
32
- order?.orderProducts?.reduce(
19
+ export const calculateTotalPrice = (orderProducts: Order["orderProducts"]) => {
20
+ return (
21
+ orderProducts?.reduce(
33
22
  (total: number, product) =>
34
23
  total + (product?.quantity ?? 1) * product.price,
35
24
  0
36
- ) ?? 0;
37
-
38
- if (
39
- order?.feeChargeType !== ORDER_FEE_CHARGE_TYPE_CLIENT ||
40
- !externalPaymentDetails
41
- ) {
42
- return totalPrice;
43
- }
44
-
45
- const fee =
46
- externalPaymentDetails.find(
47
- (externalPayment) =>
48
- externalPayment.translateKey === PAYMENT_TYPE_TRANSLATE_KEYS.fee
49
- )?.price || 0;
50
- return totalPrice + fee;
25
+ ) ?? 0
26
+ );
51
27
  };
52
28
 
53
29
  export const calculateTotalDiscount = (payments: Order["payments"]) => {
@@ -75,37 +51,21 @@ export const getProductQuantityAndPrice = (
75
51
  export const getPaymentValueByType = (
76
52
  payments: Order["payments"],
77
53
  paymentTypeTitle: string
78
- ): number => {
79
- if (!payments || !payments.length) {
80
- return 0;
81
- }
54
+ ) => {
82
55
  if (paymentTypeTitle === PAYMENT_TYPE_TITLES.FEE) {
83
56
  const feeWithoutVatValue =
84
- payments?.reduce((sumOfPayments, payment) => {
85
- if (payment.paymentType.title !== PAYMENT_TYPE_TITLES.FEE) {
86
- return sumOfPayments;
87
- }
88
-
89
- return sumOfPayments + (payment?.amount ?? 0);
90
- }, 0) ?? 0;
57
+ payments.find((payment) => payment.paymentType.title === paymentTypeTitle)
58
+ ?.amount ?? 0;
91
59
 
92
60
  const vatValue =
93
- payments?.reduce((sumOfPayments, payment) => {
94
- if (payment.paymentType.title !== PAYMENT_TYPE_TITLES.VAT) {
95
- return sumOfPayments;
96
- }
97
- return sumOfPayments + (payment?.amount ?? 0);
98
- }, 0) ?? 0;
61
+ payments.find(
62
+ (payment) => payment.paymentType.title === PAYMENT_TYPE_TITLES.VAT
63
+ )?.amount ?? 0;
99
64
  return feeWithoutVatValue + vatValue;
100
65
  }
101
-
102
66
  return (
103
- payments?.reduce((sumOfPayments, payment) => {
104
- if (payment.paymentType.title !== paymentTypeTitle) {
105
- return sumOfPayments;
106
- }
107
- return sumOfPayments + (payment?.amount ?? 0);
108
- }, 0) ?? 0
67
+ payments.find((payment) => payment.paymentType.title === paymentTypeTitle)
68
+ ?.amount ?? 0
109
69
  );
110
70
  };
111
71
 
@@ -15,7 +15,6 @@ import {
15
15
  import { PaymentTimer } from "./PaymentTimer";
16
16
  import { Page, PageBody, PageHeader } from "../../page";
17
17
  import { BookingSummary, BookingSummaryFooter } from "../../order-process";
18
- import { cartSumByOrderProducts } from "../../order-process/components/BookingSummary/utils";
19
18
 
20
19
  export interface PaymentMetadata {
21
20
  total: number;
@@ -25,7 +24,7 @@ export interface PaymentMetadata {
25
24
  interface PaymentProps extends RyftPaymentFormProps {
26
25
  onCloseIframePayment?: () => void;
27
26
  onFailIframePayment?: () => void;
28
- data?: PaymentLinkResponse | null;
27
+ data?: PaymentLinkResponse;
29
28
  isLoading: boolean;
30
29
  bookingSummaryProps: Omit<BookingSummaryProps, "totallWithDiscount">;
31
30
  paymentMetadata?: PaymentMetadata;
@@ -100,19 +99,6 @@ export const PaymentPage = ({
100
99
  );
101
100
  }
102
101
 
103
- const orderTotalAmounByFormValues = cartSumByOrderProducts(
104
- bookingSummaryProps && bookingSummaryProps?.formValues
105
- ? Object.values(bookingSummaryProps?.formValues)
106
- : undefined
107
- );
108
-
109
- // User can fill promocode only in iframe appcliation.
110
- // It didn't possible via payment link. This check will
111
- // be applied when there are no metadata and in case when
112
- // orderValues sum is greater than amount in order.
113
- const isCalculatedAmountGreaterThanOrderAmount =
114
- orderTotalAmounByFormValues > data?.amount;
115
-
116
102
  return (
117
103
  <Page
118
104
  className="payment_link"
@@ -141,7 +127,7 @@ export const PaymentPage = ({
141
127
  bottomBlock={
142
128
  <BookingSummaryFooter showButton={false}>
143
129
  <div className="d-flex flex-column justify-content-between">
144
- {paymentMetadata ? (
130
+ {paymentMetadata && (
145
131
  <>
146
132
  <SummaryTotalBlock
147
133
  label={t("total")}
@@ -151,38 +137,12 @@ export const PaymentPage = ({
151
137
  label={t("paidSum")}
152
138
  amount={paymentMetadata.paid || 0}
153
139
  />
154
- <SummaryTotalBlock
155
- label={t("remaining")}
156
- amount={
157
- paymentMetadata.total - paymentMetadata.paid || 0
158
- }
159
- />
160
- </>
161
- ) : (
162
- <>
163
- {isCalculatedAmountGreaterThanOrderAmount && (
164
- <SummaryTotalBlock
165
- label={t("total")}
166
- amount={
167
- orderTotalAmounByFormValues +
168
- (bookingSummaryProps?.transactionFee || 0)
169
- }
170
- />
171
- )}
172
-
173
- <SummaryTotalBlock
174
- label={t(
175
- isCalculatedAmountGreaterThanOrderAmount
176
- ? "totalWithDiscount"
177
- : "total"
178
- )}
179
- amount={
180
- data?.amount +
181
- (bookingSummaryProps?.transactionFee || 0)
182
- }
183
- />
184
140
  </>
185
141
  )}
142
+ <SummaryTotalBlock
143
+ label={t(paymentMetadata ? "remaining" : "total")}
144
+ amount={data?.amount || 0}
145
+ />
186
146
  </div>
187
147
  </BookingSummaryFooter>
188
148
  }
@@ -1,41 +1,16 @@
1
- import React, { useContext, useEffect, useLayoutEffect } from "react";
1
+ import React, { useContext, useLayoutEffect } from "react";
2
2
  import { PaymentSessionContext } from "@licklist/plugins/dist/context/payment/PaymentSessionContext";
3
- import { useTimer } from "@licklist/plugins/dist";
4
3
  import { Timer } from "../../order-process";
5
4
 
6
- // 10 minutes in ms
7
- export const PAYMENT_TIMER_TOTAL_TIME = 600000;
8
-
9
5
  export const PaymentTimer = () => {
10
- const { timer, startTimer, isTimerStarted, resetTimer } = useTimer({
11
- timerTime: PAYMENT_TIMER_TOTAL_TIME,
12
- });
13
-
14
- const { setIsPaymentSessionExpired, isResetTimer } = useContext(
15
- PaymentSessionContext
16
- );
17
-
18
- useEffect(() => {
19
- if (!isResetTimer) {
20
- return;
21
- }
22
- resetTimer();
23
- // eslint-disable-next-line react-hooks/exhaustive-deps
24
- }, [isResetTimer]);
25
-
26
- useEffect(() => {
27
- // Sometimes we can get not round time in ms
28
- if (timer > 1000) {
29
- return;
30
- }
31
- setIsPaymentSessionExpired(true);
32
- resetTimer();
33
- // eslint-disable-next-line react-hooks/exhaustive-deps
34
- }, [timer]);
6
+ const { timer, startPaymentSessionTimer, isTimerStarted, setTimer } =
7
+ useContext(PaymentSessionContext);
35
8
 
36
9
  useLayoutEffect(() => {
10
+ setTimer(600);
37
11
  if (isTimerStarted) return;
38
- startTimer();
12
+
13
+ startPaymentSessionTimer();
39
14
  // eslint-disable-next-line react-hooks/exhaustive-deps
40
15
  }, []);
41
16
 
@@ -9,8 +9,6 @@ import { BookingSummary, BookingSummaryFooter } from "../../order-process";
9
9
  import { PaymentStatusHeader } from "../payment-status-header/PaymentStatusHeader";
10
10
  import { SummaryTotalBlock } from "../../order-process/components/BookingSummary/components/SummaryTotal";
11
11
  import { BookingSummaryProps } from "../../order-process/components/BookingSummary/types";
12
- import { PaymentMetadata } from "../payment-page/PaymentPage";
13
- import { cartSumByOrderProducts } from "../../order-process/components/BookingSummary/utils";
14
12
 
15
13
  export const ORDER_STATUS_FAILED = "failed";
16
14
  export const ORDER_STATUS_SUCCESS = "success";
@@ -25,6 +23,7 @@ interface PaymentStatusComponentProps {
25
23
  onCloseWindow: () => void;
26
24
  onBack?: () => void;
27
25
  onTryAgain?: () => void;
26
+ totalAmount?: number;
28
27
  isLoading?: boolean;
29
28
  status: OrderStatusPrefix;
30
29
  isAppUsingInIframe?: boolean;
@@ -32,8 +31,6 @@ interface PaymentStatusComponentProps {
32
31
  EventCardComponent?: ReactNode;
33
32
  showCloseButton?: boolean;
34
33
  email?: string;
35
- totalAmount?: number;
36
- paymentMetadata?: PaymentMetadata;
37
34
  }
38
35
 
39
36
  // @TODO In future think, how to reuse this component in Iframe Pending, Success and Failed Pages
@@ -41,6 +38,7 @@ export const PaymentStatusPage = ({
41
38
  onCloseWindow,
42
39
  onBack,
43
40
  onTryAgain,
41
+ totalAmount,
44
42
  isLoading,
45
43
  status,
46
44
  isAppUsingInIframe,
@@ -48,8 +46,6 @@ export const PaymentStatusPage = ({
48
46
  EventCardComponent,
49
47
  showCloseButton = false,
50
48
  email,
51
- totalAmount = 0,
52
- paymentMetadata,
53
49
  }: PaymentStatusComponentProps) => {
54
50
  const { t } = useTranslation("Design");
55
51
 
@@ -69,22 +65,6 @@ export const PaymentStatusPage = ({
69
65
  if (isLoading) {
70
66
  return <LoaderIndicator isLoaded={false} />;
71
67
  }
72
-
73
- const orderTotalAmounByFormValues = cartSumByOrderProducts(
74
- bookingSummaryProps && bookingSummaryProps?.formValues
75
- ? Object.values(bookingSummaryProps?.formValues)
76
- : undefined
77
- );
78
-
79
- // User can fill promocode only in iframe appcliation.
80
- // It didn't possible via payment link. This check will
81
- // be applied when there are no metadata and in case when
82
- // orderValues sum is greater than amount in order.
83
- // For payment status page booking summary props can be empty
84
- // so we should also check for them
85
- const isCalculatedAmountGreaterThanOrderAmount =
86
- bookingSummaryProps && orderTotalAmounByFormValues > totalAmount;
87
-
88
68
  return (
89
69
  <Page
90
70
  className="payment-status-page"
@@ -118,50 +98,16 @@ export const PaymentStatusPage = ({
118
98
  <PageBody.RightBlock
119
99
  bottomBlock={
120
100
  <BookingSummaryFooter showButton={false}>
121
- <div className="d-flex flex-column justify-content-between">
122
- {paymentMetadata ? (
123
- <>
124
- <SummaryTotalBlock
125
- label={t("total")}
126
- amount={paymentMetadata.total || 0}
127
- />
128
- <SummaryTotalBlock
129
- label={t("paidSum")}
130
- amount={paymentMetadata.paid || 0}
131
- />
132
- <SummaryTotalBlock
133
- label={t("remaining")}
134
- amount={
135
- paymentMetadata.total - paymentMetadata.paid || 0
136
- }
137
- />
138
- </>
139
- ) : (
140
- <>
141
- {isCalculatedAmountGreaterThanOrderAmount && (
142
- <SummaryTotalBlock
143
- label={t("total")}
144
- amount={
145
- orderTotalAmounByFormValues +
146
- (bookingSummaryProps?.transactionFee || 0)
147
- }
148
- />
149
- )}
150
-
151
- <SummaryTotalBlock
152
- label={t(
153
- isCalculatedAmountGreaterThanOrderAmount
154
- ? "totalWithDiscount"
155
- : "total"
156
- )}
157
- amount={
158
- totalAmount +
159
- (bookingSummaryProps?.transactionFee || 0)
160
- }
161
- />
162
- </>
163
- )}
164
- </div>
101
+ {bookingSummaryProps?.formValues ? (
102
+ <BookingSummary.SummaryTotal
103
+ formValues={bookingSummaryProps?.formValues}
104
+ />
105
+ ) : (
106
+ <SummaryTotalBlock
107
+ label={t("total")}
108
+ amount={totalAmount || 0}
109
+ />
110
+ )}
165
111
  </BookingSummaryFooter>
166
112
  }
167
113
  >
package/src/index.ts CHANGED
@@ -33,4 +33,3 @@ export * from "./zone";
33
33
  export * from "./resource";
34
34
  export * from "./virtualized";
35
35
  export * from "./customers";
36
- export * from "./striped-static-table";
@@ -14,10 +14,8 @@ export const Default: Story<EmailTemplateCardProps> = (args) => (
14
14
 
15
15
  Default.args = {
16
16
  href: "#",
17
- name: "Default Email Template with very long name",
18
- subject: "Confirmation with looong subject text",
17
+ name: "Default Email Template",
18
+ subject: "Confirmation",
19
19
  hasPermission: true,
20
20
  isDefault: true,
21
- templateType: "confirmation",
22
- isActive: true,
23
21
  };
@@ -2,19 +2,16 @@ import React from "react";
2
2
  import { Link } from "react-router-dom";
3
3
  import { HasPermissionProp } from "@licklist/plugins/dist/types/permission/Permission";
4
4
  import { useTranslation } from "react-i18next";
5
- import { NotificationType } from "@licklist/core/dist/DataMapper/Notification/NotificationTypeDataMapper";
5
+
6
6
  import { ConfirmModal, ConfirmModalType } from "../../../modals";
7
7
  import { Icon } from "../../../static";
8
- import { useTranslatedParameters } from "../../hooks/useTranslatedParameters";
9
8
 
10
9
  export interface EmailTemplateCardProps extends HasPermissionProp {
11
10
  name: string;
12
11
  subject: string;
13
12
  href: string;
14
13
  isDefault: boolean;
15
- isActive: boolean;
16
14
  onRemove: () => void;
17
- type: NotificationType;
18
15
  }
19
16
 
20
17
  export function EmailTemplateCard({
@@ -23,14 +20,10 @@ export function EmailTemplateCard({
23
20
  subject,
24
21
  onRemove,
25
22
  isDefault = false,
26
- isActive = false,
27
23
  hasPermission = true,
28
- type,
29
24
  }: EmailTemplateCardProps) {
30
25
  const { t } = useTranslation(["Design"]);
31
26
 
32
- const texts = useTranslatedParameters({ isDefault, isActive });
33
-
34
27
  return (
35
28
  <>
36
29
  <div className="snippet-template-card">
@@ -60,13 +53,8 @@ export function EmailTemplateCard({
60
53
  )}
61
54
  </div>
62
55
  <div className={`mt-${isDefault ? "3" : "4"}`}>
63
- {!!texts.length && <p className="mb-1">{texts}</p>}
64
- <div className="d-flex flex-column">
65
- <span className="snippet-template-card-subject">{subject}</span>
66
- <p className="mb-0">
67
- {t(`Design:type`)}:&nbsp;{t(`Design:${type}`)}
68
- </p>
69
- </div>
56
+ {Boolean(isDefault) && <p className="mb-1">{t("Design:default")}</p>}
57
+ <span>{subject}</span>
70
58
  </div>
71
59
  </div>
72
60
  </>
@@ -1,3 +1,4 @@
1
+ /* eslint-disable react/display-name */
1
2
  import React, { useState, useEffect } from "react";
2
3
  import { Col, Row, Form } from "react-bootstrap";
3
4
  import { useFormContext } from "react-hook-form";
@@ -15,7 +16,6 @@ import {
15
16
  PERMANENT_IMAGE_TYPE_TEMP,
16
17
  } from "@licklist/core/dist/DataMapper/Media/UploadPermanentImageDataMapper";
17
18
 
18
- import { NotificationType } from "@licklist/core/dist/DataMapper/Notification/NotificationTypeDataMapper";
19
19
  import { FileUpload } from "../../../file-upload";
20
20
  import { EmailTemplateValues } from "../form";
21
21
 
@@ -26,8 +26,6 @@ export interface EmailTemplateControlProps {
26
26
  setIsLoading: (isLoading: boolean) => void;
27
27
  meta: string;
28
28
  defaultAttachments?: Attachment[];
29
- notificationTypes?: NotificationType[];
30
- getDefaultTemplateMetaByType?: (type?: NotificationType | null) => string;
31
29
  }
32
30
 
33
31
  export const EmailTemplateControl = React.forwardRef(
@@ -37,8 +35,6 @@ export const EmailTemplateControl = React.forwardRef(
37
35
  meta,
38
36
  options = [],
39
37
  defaultAttachments = [],
40
- notificationTypes = [],
41
- getDefaultTemplateMetaByType,
42
38
  }: EmailTemplateControlProps,
43
39
  ref: any
44
40
  ) => {
@@ -52,8 +48,6 @@ export const EmailTemplateControl = React.forwardRef(
52
48
  setValue,
53
49
  formState: { errors },
54
50
  getValues,
55
- watch,
56
- reset,
57
51
  } = useFormContext<EmailTemplateValues>();
58
52
  const [isIncludePDF, setIsIncludePDF] = useState(false);
59
53
 
@@ -70,29 +64,12 @@ export const EmailTemplateControl = React.forwardRef(
70
64
  handlePermanentImageUploading,
71
65
  } = usePermanentImage();
72
66
 
73
- const type = watch("type");
74
- const id = watch("id");
75
-
76
- useEffect(() => {
77
- if (id || !getDefaultTemplateMetaByType || !type) return;
78
-
79
- const formValues = getValues();
80
-
81
- const nextMeta = getDefaultTemplateMetaByType(type);
82
-
83
- reset({ ...formValues, meta: nextMeta });
84
-
85
- ref.current?.loadDesign(JSON.parse(nextMeta));
86
- // eslint-disable-next-line react-hooks/exhaustive-deps
87
- }, [type]);
88
-
89
67
  useEffect(() => {
90
68
  setValue("attachmentMetadata", attachments);
91
69
  }, [attachments, setValue]);
92
70
 
93
71
  useEffect(() => {
94
72
  if (!permanentImages.length) return;
95
-
96
73
  setValue("imagesMetadata", permanentImages);
97
74
  }, [permanentImages, setValue]);
98
75
 
@@ -108,15 +85,13 @@ export const EmailTemplateControl = React.forwardRef(
108
85
  }, [defaultAttachments]);
109
86
 
110
87
  useEffect(() => {
111
- if (!options?.length) return;
112
-
88
+ if (!options.length) return;
113
89
  const fileSelectorOptions = options.find(
114
90
  (option) => option.type === OPTION_TYPE.files_selector
115
91
  );
116
-
117
- if (!fileSelectorOptions?.selectedValue) return;
118
-
119
- setIsIncludePDF(true);
92
+ if (fileSelectorOptions.selectedValue) {
93
+ setIsIncludePDF(true);
94
+ }
120
95
  }, [options]);
121
96
 
122
97
  const handleDeleteEmailImage = (content) => {
@@ -200,42 +175,6 @@ export const EmailTemplateControl = React.forwardRef(
200
175
 
201
176
  return (
202
177
  <>
203
- <Row>
204
- <Form.Group
205
- as={Col}
206
- controlId="type"
207
- xs
208
- sm={12}
209
- md={8}
210
- lg={10}
211
- xl={12}
212
- >
213
- <Form.Label>{t("type")}</Form.Label>
214
- <Form.Control
215
- as="select"
216
- {...register("type", {
217
- required: t("Validation:fieldRequired", {
218
- attribute: t("type"),
219
- }) as string,
220
- })}
221
- name="type"
222
- required
223
- isInvalid={Boolean(errors.type)}
224
- placeholder={t("Design:type")}
225
- disabled={!!id}
226
- >
227
- <option value="">{t("Design:choose")}</option>
228
- {notificationTypes.map((key) => (
229
- <option key={key} value={key}>
230
- {t(`Design:${key}`)}
231
- </option>
232
- ))}
233
- </Form.Control>
234
- <Form.Control.Feedback type="invalid">
235
- {errors.type?.message}
236
- </Form.Control.Feedback>
237
- </Form.Group>
238
- </Row>
239
178
  <Row>
240
179
  <Form.Group
241
180
  as={Col}
@@ -340,7 +279,7 @@ export const EmailTemplateControl = React.forwardRef(
340
279
  isLoading={isAttachmentLoading}
341
280
  />
342
281
  </Row>
343
- {options?.length > 0 && (
282
+ {options.length > 0 && (
344
283
  <Row>
345
284
  <Form.Group as={Col}>
346
285
  {options.map((option) => {
@@ -408,27 +347,6 @@ export const EmailTemplateControl = React.forwardRef(
408
347
  </>
409
348
  );
410
349
  }
411
-
412
- if (option.type === OPTION_TYPE.days_reminder) {
413
- return (
414
- <>
415
- <Form.Label className="mt-4">
416
- {t(`Design:${option.name}`)}
417
- </Form.Label>
418
- <Form.Control
419
- {...register(
420
- `templateOptionValues.${option?.id}.value` as any
421
- )}
422
- type="number"
423
- placeholder={t(`Design:${option.name}`)}
424
- id={option.name + option.id}
425
- defaultValue={option.selectedValue || ""}
426
- />
427
- <Form.Text>{option.description}</Form.Text>
428
- </>
429
- );
430
- }
431
-
432
350
  return null;
433
351
  })}
434
352
  </Form.Group>
@@ -438,5 +356,3 @@ export const EmailTemplateControl = React.forwardRef(
438
356
  );
439
357
  }
440
358
  );
441
-
442
- EmailTemplateControl.displayName = "EmailTemplateControl";
@@ -185,7 +185,6 @@ Default.args = {
185
185
  notificationType: "confirmation",
186
186
  type: "checkbox",
187
187
  defaultValue: "true",
188
- descrption: "",
189
188
  },
190
189
  {
191
190
  id: 12,
@@ -193,7 +192,6 @@ Default.args = {
193
192
  notificationType: "confirmation",
194
193
  type: "checkbox",
195
194
  defaultValue: "false",
196
- descrption: "",
197
195
  },
198
196
  {
199
197
  selectedValue: "invoice",
@@ -203,17 +201,6 @@ Default.args = {
203
201
  type: "files_selector",
204
202
  defaultValue:
205
203
  '{"confirmation":"Confirmation / Function Sheet","invoice":"Invoice"}',
206
- descrption: "",
207
- },
208
- {
209
- id: 13,
210
- name: "days_reminder",
211
- notificationType: "confirmation",
212
- type: "days_reminder",
213
- defaultValue: "",
214
- description: `N.B. Add positive integer for days before the event, or negative for days after the event.
215
- E.g. if you want this remainder to be send 2 days before the event, enter 2.
216
- If you want this to be send 3 days after the event enter -3.`,
217
204
  },
218
205
  ],
219
206
  defaultValues: {
@@ -232,13 +219,6 @@ Default.args = {
232
219
  attachableType: "mail",
233
220
  },
234
221
  ],
235
- type: "confirmation",
236
- notificationTypes: [
237
- "confirmation",
238
- "paymentLink",
239
- "afterBooking",
240
- "preliminaryMail",
241
- ],
242
222
  },
243
223
  };
244
224
 
@@ -268,24 +248,10 @@ ServerErrors.args = {
268
248
  body: "",
269
249
  meta: JSON.stringify(DefaultEmailTemplate),
270
250
  },
271
- type: "confirmation",
272
- notificationTypes: [
273
- "confirmation",
274
- "paymentLink",
275
- "afterBooking",
276
- "preliminaryMail",
277
- ],
278
251
  };
279
252
 
280
253
  Empty.args = {
281
254
  onSubmit: (data) => console.log(data),
282
255
  isLoading: true,
283
256
  placeholders: [],
284
- type: "confirmation",
285
- notificationTypes: [
286
- "confirmation",
287
- "paymentLink",
288
- "afterBooking",
289
- "preliminaryMail",
290
- ],
291
257
  };