@licklist/design 0.44.485-dev.38 → 0.44.485-dev.4

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 (542) 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 +3 -2
  22. package/dist/customers/components/filter/CustomerFilter.d.ts.map +1 -1
  23. package/dist/customers/components/filter/CustomerFilter.js +1 -1
  24. package/dist/events/edit-event-modal/IntervalInput.d.ts +1 -4
  25. package/dist/events/edit-event-modal/IntervalInput.d.ts.map +1 -1
  26. package/dist/events/edit-event-modal/IntervalInput.js +1 -1
  27. package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.d.ts.map +1 -1
  28. package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.js +1 -1
  29. package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.d.ts.map +1 -1
  30. package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.js +1 -1
  31. package/dist/events/edit-event-modal/utils/getDefaultProductSet.d.ts.map +1 -1
  32. package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +1 -1
  33. package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.d.ts +3 -3
  34. package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.d.ts.map +1 -1
  35. package/dist/events/event-statistic-modal/EventStatisticModal.d.ts +1 -1
  36. package/dist/events/event-statistic-modal/EventStatisticModal.d.ts.map +1 -1
  37. package/dist/events/event-statistic-modal/EventStatisticModal.js +1 -1
  38. package/dist/events/event-venue-map/EventVenueMap.d.ts +2 -5
  39. package/dist/events/event-venue-map/EventVenueMap.d.ts.map +1 -1
  40. package/dist/events/event-venue-map/EventVenueMap.js +1 -1
  41. package/dist/events/event-venue-map/components/Dropdown/Dropdown.d.ts +1 -1
  42. package/dist/events/event-venue-map/components/Dropdown/Dropdown.d.ts.map +1 -1
  43. package/dist/events/event-venue-map/components/Dropdown/components/ProductsControl/ProductsControl.d.ts +1 -1
  44. package/dist/events/event-venue-map/components/Dropdown/components/ProductsControl/ProductsControl.d.ts.map +1 -1
  45. package/dist/events/event-venue-map/components/Dropdown/components/SelectControl/SelectControl.d.ts +1 -1
  46. package/dist/events/event-venue-map/components/Dropdown/components/SelectControl/SelectControl.d.ts.map +1 -1
  47. package/dist/events/event-venue-map/components/MapPoint/MapPoint.d.ts +1 -1
  48. package/dist/events/event-venue-map/components/MapPoint/MapPoint.d.ts.map +1 -1
  49. package/dist/events/event-venue-map/components/MapPoint/MapPoint.js +1 -1
  50. package/dist/events/event-venue-map/components/MapPoint/components/DeleteIcon/DeleteIcon.d.ts +1 -1
  51. package/dist/events/event-venue-map/components/MapPoint/components/DeleteIcon/DeleteIcon.d.ts.map +1 -1
  52. package/dist/events/event-venue-map/components/MapPoint/components/EditIcon/EditIcon.d.ts +1 -1
  53. package/dist/events/event-venue-map/components/MapPoint/components/EditIcon/EditIcon.d.ts.map +1 -1
  54. package/dist/events/event-venue-map/components/MapPoint/components/PointIcon/PointIcon.d.ts +1 -1
  55. package/dist/events/event-venue-map/components/MapPoint/components/PointIcon/PointIcon.d.ts.map +1 -1
  56. package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.d.ts +1 -1
  57. package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.d.ts.map +1 -1
  58. package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.js +1 -1
  59. package/dist/events/event-venue-map/components/VenueMap/VenueMap.d.ts +2 -4
  60. package/dist/events/event-venue-map/components/VenueMap/VenueMap.d.ts.map +1 -1
  61. package/dist/events/event-venue-map/components/VenueMap/VenueMap.js +1 -1
  62. package/dist/events/event-venue-map/hooks/useCanvasSize.d.ts +1 -1
  63. package/dist/events/event-venue-map/hooks/useCanvasSize.d.ts.map +1 -1
  64. package/dist/events/event-venue-map/hooks/useStageActions.d.ts +1 -1
  65. package/dist/events/event-venue-map/hooks/useStageActions.d.ts.map +1 -1
  66. package/dist/events/event-venue-map/types/index.d.ts +5 -5
  67. package/dist/events/event-venue-map/types/index.d.ts.map +1 -1
  68. package/dist/events/event-venue-map/utils/index.d.ts +3 -3
  69. package/dist/events/event-venue-map/utils/index.d.ts.map +1 -1
  70. package/dist/file-upload/FilePreview.d.ts +2 -2
  71. package/dist/file-upload/FilePreview.d.ts.map +1 -1
  72. package/dist/file-upload/FileUpload.d.ts +1 -1
  73. package/dist/file-upload/FileUpload.d.ts.map +1 -1
  74. package/dist/header/Header.d.ts +1 -1
  75. package/dist/header/Header.d.ts.map +1 -1
  76. package/dist/help/example/Example.d.ts +4 -4
  77. package/dist/help/example/Example.d.ts.map +1 -1
  78. package/dist/help/popover/HelpPopover.d.ts +1 -1
  79. package/dist/help/popover/HelpPopover.d.ts.map +1 -1
  80. package/dist/iframe/custom-fields/components/CustomDateField.d.ts +1 -1
  81. package/dist/iframe/custom-fields/components/CustomDateField.d.ts.map +1 -1
  82. package/dist/iframe/event/event-calendar/EventCalendar.d.ts +1 -1
  83. package/dist/iframe/event/event-calendar/EventCalendar.d.ts.map +1 -1
  84. package/dist/iframe/event/event-calendar/components/CalendarButtons/CalendarButtons.d.ts +1 -1
  85. package/dist/iframe/event/event-calendar/components/CalendarButtons/CalendarButtons.d.ts.map +1 -1
  86. package/dist/iframe/event/event-calendar/components/CalendarDate/CalendarDate.d.ts +1 -1
  87. package/dist/iframe/event/event-calendar/components/CalendarDate/CalendarDate.d.ts.map +1 -1
  88. package/dist/iframe/event/event-calendar/components/CalendarDates/CalendarDates.d.ts +1 -1
  89. package/dist/iframe/event/event-calendar/components/CalendarDates/CalendarDates.d.ts.map +1 -1
  90. package/dist/iframe/event/event-calendar/components/CalendarSelect/CalendarSelect.d.ts +2 -2
  91. package/dist/iframe/event/event-calendar/components/CalendarSelect/CalendarSelect.d.ts.map +1 -1
  92. package/dist/iframe/event/event-calendar/types/index.d.ts +1 -1
  93. package/dist/iframe/event/event-calendar/types/index.d.ts.map +1 -1
  94. package/dist/iframe/event/event-details/EventDetails.d.ts +1 -1
  95. package/dist/iframe/event/event-details/EventDetails.d.ts.map +1 -1
  96. package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.d.ts +6 -5
  97. package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.d.ts.map +1 -1
  98. package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.js +1 -1
  99. package/dist/iframe/event/event-product-sets/EventProductSets.d.ts +1 -1
  100. package/dist/iframe/event/event-product-sets/EventProductSets.d.ts.map +1 -1
  101. package/dist/iframe/event/event-product-sets/components/EventProductSet.d.ts +1 -1
  102. package/dist/iframe/event/event-product-sets/components/EventProductSet.d.ts.map +1 -1
  103. package/dist/iframe/event/event-step-venue-map-zones/EventStepVenueMapZones.d.ts +1 -1
  104. package/dist/iframe/event/event-step-venue-map-zones/EventStepVenueMapZones.d.ts.map +1 -1
  105. package/dist/iframe/event/event-step-venue-map-zones/components/EventStepVenueMapZone.d.ts +1 -1
  106. package/dist/iframe/event/event-step-venue-map-zones/components/EventStepVenueMapZone.d.ts.map +1 -1
  107. package/dist/iframe/event/event-venue-map/IframeEventVenueMap.d.ts +1 -5
  108. package/dist/iframe/event/event-venue-map/IframeEventVenueMap.d.ts.map +1 -1
  109. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts.map +1 -1
  110. package/dist/iframe/order-process/components/BookingSummary/BookingSummary.js +1 -1
  111. package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.d.ts +1 -1
  112. package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.d.ts.map +1 -1
  113. package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts +1 -1
  114. package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts.map +1 -1
  115. package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.d.ts +1 -1
  116. package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.d.ts.map +1 -1
  117. package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.d.ts +1 -1
  118. package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.d.ts.map +1 -1
  119. package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts +4 -4
  120. package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts.map +1 -1
  121. package/dist/iframe/order-process/components/BookingSummary/utils/index.d.ts +1 -1
  122. package/dist/iframe/order-process/components/BookingSummary/utils/index.d.ts.map +1 -1
  123. package/dist/iframe/order-process/components/BookingSummary/utils/index.js +1 -1
  124. package/dist/iframe/order-process/components/BookingSummaryFooter/BookingSummaryFooter.d.ts +4 -4
  125. package/dist/iframe/order-process/components/BookingSummaryFooter/BookingSummaryFooter.d.ts.map +1 -1
  126. package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.d.ts +1 -3
  127. package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.d.ts.map +1 -1
  128. package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.js +1 -1
  129. package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.d.ts +2 -4
  130. package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.d.ts.map +1 -1
  131. package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.js +1 -1
  132. package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts +2 -4
  133. package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts.map +1 -1
  134. package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.js +1 -1
  135. package/dist/iframe/order-process/components/Category/Category.d.ts +1 -2
  136. package/dist/iframe/order-process/components/Category/Category.d.ts.map +1 -1
  137. package/dist/iframe/order-process/components/Category/Category.js +1 -1
  138. package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts +1 -2
  139. package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts.map +1 -1
  140. package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.js +1 -1
  141. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts +0 -1
  142. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts.map +1 -1
  143. package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js +1 -1
  144. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts.map +1 -1
  145. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.js +1 -1
  146. package/dist/iframe/order-process/components/NavigationSteps/NavigationSteps.d.ts +1 -1
  147. package/dist/iframe/order-process/components/NavigationSteps/NavigationSteps.d.ts.map +1 -1
  148. package/dist/iframe/order-process/components/PaymentCard/PaymentCard.d.ts +1 -1
  149. package/dist/iframe/order-process/components/PaymentCard/PaymentCard.d.ts.map +1 -1
  150. package/dist/iframe/order-process/components/StepsForm/StepsForm.d.ts +1 -2
  151. package/dist/iframe/order-process/components/StepsForm/StepsForm.d.ts.map +1 -1
  152. package/dist/iframe/order-process/components/StepsForm/StepsForm.js +1 -1
  153. package/dist/iframe/order-process/components/Timer/Timer.d.ts +1 -1
  154. package/dist/iframe/order-process/components/Timer/Timer.d.ts.map +1 -1
  155. package/dist/iframe/page/Page.d.ts +1 -1
  156. package/dist/iframe/page/Page.d.ts.map +1 -1
  157. package/dist/iframe/page/components/PageBody/PageBody.d.ts +1 -1
  158. package/dist/iframe/page/components/PageBody/PageBody.d.ts.map +1 -1
  159. package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.d.ts +1 -1
  160. package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.d.ts.map +1 -1
  161. package/dist/iframe/page/components/PageBody/components/RightBlock/RightBlock.d.ts +1 -1
  162. package/dist/iframe/page/components/PageBody/components/RightBlock/RightBlock.d.ts.map +1 -1
  163. package/dist/iframe/page/components/PageBody/types.d.ts +1 -1
  164. package/dist/iframe/page/components/PageBody/types.d.ts.map +1 -1
  165. package/dist/iframe/page/components/PageHeader/PageHeader.d.ts +1 -1
  166. package/dist/iframe/page/components/PageHeader/PageHeader.d.ts.map +1 -1
  167. package/dist/iframe/payment/order-items-table/hooks/useTableData.d.ts +0 -5
  168. package/dist/iframe/payment/order-items-table/hooks/useTableData.d.ts.map +1 -1
  169. package/dist/iframe/payment/order-items-table/hooks/useTableData.js +1 -1
  170. package/dist/iframe/payment/order-items-table/types/index.d.ts +2 -2
  171. package/dist/iframe/payment/order-items-table/types/index.d.ts.map +1 -1
  172. package/dist/iframe/payment/order-items-table/utils/index.d.ts +1 -6
  173. package/dist/iframe/payment/order-items-table/utils/index.d.ts.map +1 -1
  174. package/dist/iframe/payment/order-items-table/utils/index.js +1 -1
  175. package/dist/iframe/payment/payment-page/PaymentPage.d.ts.map +1 -1
  176. package/dist/iframe/payment/payment-page/PaymentPage.js +1 -1
  177. package/dist/iframe/payment/payment-status-header/PaymentStatusHeader.d.ts +1 -1
  178. package/dist/iframe/payment/payment-status-header/PaymentStatusHeader.d.ts.map +1 -1
  179. package/dist/iframe/payment/payment-status-page/PaymentStatusPage.d.ts +3 -5
  180. package/dist/iframe/payment/payment-status-page/PaymentStatusPage.d.ts.map +1 -1
  181. package/dist/iframe/payment/payment-status-page/PaymentStatusPage.js +1 -1
  182. package/dist/iframe/powered-by/PoweredBy.d.ts +1 -1
  183. package/dist/iframe/powered-by/PoweredBy.d.ts.map +1 -1
  184. package/dist/iframe/ryft/RyftPaymentForm.d.ts +1 -1
  185. package/dist/iframe/ryft/RyftPaymentForm.d.ts.map +1 -1
  186. package/dist/index.d.ts +0 -1
  187. package/dist/index.d.ts.map +1 -1
  188. package/dist/index.js +1 -1
  189. package/dist/modals/confirmation/ConfirmModal.d.ts +2 -2
  190. package/dist/modals/confirmation/ConfirmModal.d.ts.map +1 -1
  191. package/dist/notification/email-template/card/EmailTemplateCard.d.ts +1 -4
  192. package/dist/notification/email-template/card/EmailTemplateCard.d.ts.map +1 -1
  193. package/dist/notification/email-template/card/EmailTemplateCard.js +1 -1
  194. package/dist/notification/email-template/control/EmailTemplateControl.d.ts +0 -3
  195. package/dist/notification/email-template/control/EmailTemplateControl.d.ts.map +1 -1
  196. package/dist/notification/email-template/control/EmailTemplateControl.js +1 -1
  197. package/dist/notification/email-template/form/EmailTemplateForm.d.ts +1 -7
  198. package/dist/notification/email-template/form/EmailTemplateForm.d.ts.map +1 -1
  199. package/dist/notification/email-template/form/EmailTemplateForm.js +1 -1
  200. package/dist/notification/sms-template/card/SmsTemplateCard.d.ts +1 -4
  201. package/dist/notification/sms-template/card/SmsTemplateCard.d.ts.map +1 -1
  202. package/dist/notification/sms-template/card/SmsTemplateCard.js +1 -1
  203. package/dist/notification/sms-template/control/SmsTemplateControl.d.ts +1 -6
  204. package/dist/notification/sms-template/control/SmsTemplateControl.d.ts.map +1 -1
  205. package/dist/notification/sms-template/control/SmsTemplateControl.js +1 -1
  206. package/dist/notification/sms-template/form/SmsTemplateForm.d.ts +1 -4
  207. package/dist/notification/sms-template/form/SmsTemplateForm.d.ts.map +1 -1
  208. package/dist/notification/sms-template/form/SmsTemplateForm.js +1 -1
  209. package/dist/product-set/control/ProductSetControl.d.ts +4 -16
  210. package/dist/product-set/control/ProductSetControl.d.ts.map +1 -1
  211. package/dist/product-set/control/ProductSetControl.js +1 -1
  212. package/dist/product-set/deposit-paid/ProductSetDepositPaidControl.d.ts +3 -3
  213. package/dist/product-set/deposit-paid/ProductSetDepositPaidControl.d.ts.map +1 -1
  214. package/dist/product-set/elements/DeleteFieldButton.d.ts +1 -1
  215. package/dist/product-set/elements/DeleteFieldButton.d.ts.map +1 -1
  216. package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
  217. package/dist/product-set/form/ProductSetForm.js +1 -1
  218. package/dist/product-set/form/ProductsControl.d.ts.map +1 -1
  219. package/dist/product-set/form/ProductsControl.js +1 -1
  220. package/dist/product-set/form/StepsControl.d.ts.map +1 -1
  221. package/dist/product-set/form/StepsControl.js +1 -1
  222. package/dist/product-set/form/VenueMapSetModal.d.ts +1 -1
  223. package/dist/product-set/form/VenueMapSetModal.d.ts.map +1 -1
  224. package/dist/product-set/form/VenueMapsControl.d.ts +1 -1
  225. package/dist/product-set/form/VenueMapsControl.d.ts.map +1 -1
  226. package/dist/product-set/form/context.d.ts +1 -1
  227. package/dist/product-set/form/context.d.ts.map +1 -1
  228. package/dist/product-set/popover/ProductSetPopover.d.ts +1 -1
  229. package/dist/product-set/popover/ProductSetPopover.d.ts.map +1 -1
  230. package/dist/product-set/product/ProductControl.d.ts +0 -1
  231. package/dist/product-set/product/ProductControl.d.ts.map +1 -1
  232. package/dist/product-set/product/ProductControl.js +1 -1
  233. package/dist/product-set/product/fixed-duration-fields/FixedDurationOptions.d.ts +1 -1
  234. package/dist/product-set/product/fixed-duration-fields/FixedDurationOptions.d.ts.map +1 -1
  235. package/dist/product-set/product/price/ProductPriceControl.d.ts +3 -7
  236. package/dist/product-set/product/price/ProductPriceControl.d.ts.map +1 -1
  237. package/dist/product-set/product/price/ProductPriceControl.js +1 -1
  238. package/dist/product-set/tabs/ProductSetTab.d.ts +1 -1
  239. package/dist/product-set/tabs/ProductSetTab.d.ts.map +1 -1
  240. package/dist/product-set/tabs/ProductSetTabs.d.ts +1 -1
  241. package/dist/product-set/tabs/ProductSetTabs.d.ts.map +1 -1
  242. package/dist/product-set/types/index.d.ts +5 -5
  243. package/dist/product-set/types/index.d.ts.map +1 -1
  244. package/dist/product-set/utils/index.d.ts +0 -4
  245. package/dist/product-set/utils/index.d.ts.map +1 -1
  246. package/dist/product-set/utils/index.js +1 -1
  247. package/dist/provider/categories-input/CategoriesInput.d.ts +1 -1
  248. package/dist/provider/categories-input/CategoriesInput.d.ts.map +1 -1
  249. package/dist/provider/categories-input/CategoriesInputDescription.d.ts +1 -1
  250. package/dist/provider/categories-input/CategoriesInputDescription.d.ts.map +1 -1
  251. package/dist/provider/categories-input/index.d.ts +1 -1
  252. package/dist/provider/categories-input/index.d.ts.map +1 -1
  253. package/dist/provider/company/user-form/UserForm.d.ts +2 -2
  254. package/dist/provider/company/user-form/UserForm.d.ts.map +1 -1
  255. package/dist/provider/location-input/index.d.ts +1 -1
  256. package/dist/provider/location-input/index.d.ts.map +1 -1
  257. package/dist/provider/provider-details-input/ProviderDetailsInput.d.ts +2 -2
  258. package/dist/provider/provider-details-input/ProviderDetailsInput.d.ts.map +1 -1
  259. package/dist/provider/provider-details-input/ProviderDetailsInput.js +1 -1
  260. package/dist/provider/provider-form/ProviderForm.d.ts +1 -1
  261. package/dist/provider/provider-form/ProviderForm.d.ts.map +1 -1
  262. package/dist/provider/provider-links-input/ProviderLinksInput.d.ts +2 -2
  263. package/dist/provider/provider-links-input/ProviderLinksInput.d.ts.map +1 -1
  264. package/dist/provider/resources-blocking-modal/ResourcesBlockingModal.d.ts +1 -1
  265. package/dist/provider/resources-blocking-modal/ResourcesBlockingModal.d.ts.map +1 -1
  266. package/dist/provider/venue-form/VenueForm.d.ts +1 -1
  267. package/dist/provider/venue-form/VenueForm.d.ts.map +1 -1
  268. package/dist/provider/working-hours-input/index.d.ts +1 -1
  269. package/dist/provider/working-hours-input/index.d.ts.map +1 -1
  270. package/dist/recurrence-input/utils.d.ts +2 -2
  271. package/dist/recurrence-input/utils.d.ts.map +1 -1
  272. package/dist/recurring-date-picker-input/RecurringDatePickerInput.js +1 -1
  273. package/dist/recurring-date-picker-input/utils.d.ts +2 -2
  274. package/dist/recurring-date-picker-input/utils.d.ts.map +1 -1
  275. package/dist/resource/form/ResourceForm.d.ts +2 -2
  276. package/dist/resource/form/ResourceForm.d.ts.map +1 -1
  277. package/dist/resource/form/components/CapacityControl.d.ts +1 -1
  278. package/dist/resource/form/components/CapacityControl.d.ts.map +1 -1
  279. package/dist/resource/form/components/NameControl.d.ts +1 -1
  280. package/dist/resource/form/components/NameControl.d.ts.map +1 -1
  281. package/dist/resource/form/components/SortControl.d.ts +1 -1
  282. package/dist/resource/form/components/SortControl.d.ts.map +1 -1
  283. package/dist/resource/form/components/ZoneControl.d.ts +1 -1
  284. package/dist/resource/form/components/ZoneControl.d.ts.map +1 -1
  285. package/dist/sales/booking/filter/BookingFilter.d.ts +1 -1
  286. package/dist/sales/booking/filter/BookingFilter.d.ts.map +1 -1
  287. package/dist/sales/booking/filter/components/AdditionalFIlterSection.d.ts +1 -1
  288. package/dist/sales/booking/filter/components/AdditionalFIlterSection.d.ts.map +1 -1
  289. package/dist/sales/booking/filter/components/AdditionalFIlterSection.js +1 -1
  290. package/dist/sales/booking/filter/components/MainFilterSection.d.ts +1 -1
  291. package/dist/sales/booking/filter/components/MainFilterSection.d.ts.map +1 -1
  292. package/dist/sales/booking/filter/components/ResultTagButton.d.ts +1 -1
  293. package/dist/sales/booking/filter/components/ResultTagButton.d.ts.map +1 -1
  294. package/dist/sales/booking/results/BookingResults.d.ts +1 -1
  295. package/dist/sales/booking/results/BookingResults.d.ts.map +1 -1
  296. package/dist/sales/booking/results/components/ResultCard.d.ts +1 -1
  297. package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
  298. package/dist/sales/booking/tabs/BookingTabs.d.ts +1 -1
  299. package/dist/sales/booking/tabs/BookingTabs.d.ts.map +1 -1
  300. package/dist/sales/filters/SaleFilters.d.ts +2 -1
  301. package/dist/sales/filters/SaleFilters.d.ts.map +1 -1
  302. package/dist/sales/guest-profile/previous-bookings/PreviousBookings.d.ts +3 -4
  303. package/dist/sales/guest-profile/previous-bookings/PreviousBookings.d.ts.map +1 -1
  304. package/dist/sales/guest-profile/previous-bookings/PreviousBookings.js +1 -1
  305. package/dist/sales/guest-profile/profile/Profile.d.ts +1 -1
  306. package/dist/sales/guest-profile/profile/Profile.d.ts.map +1 -1
  307. package/dist/sales/guest-profile/profile/components/ImageHolder/ImageHolder.d.ts +1 -1
  308. package/dist/sales/guest-profile/profile/components/ImageHolder/ImageHolder.d.ts.map +1 -1
  309. package/dist/sales/guest-profile/user-metrics/UserMetrics.d.ts +1 -1
  310. package/dist/sales/guest-profile/user-metrics/UserMetrics.d.ts.map +1 -1
  311. package/dist/sales/guest-profile/visited-providers/VisitedProviders.d.ts +1 -1
  312. package/dist/sales/guest-profile/visited-providers/VisitedProviders.d.ts.map +1 -1
  313. package/dist/sales/life-time-sales/LifeTimeSalesChart.d.ts +1 -1
  314. package/dist/sales/life-time-sales/LifeTimeSalesChart.d.ts.map +1 -1
  315. package/dist/sales/manual-booking/customer-info/CustomerInfo.d.ts +1 -1
  316. package/dist/sales/manual-booking/customer-info/CustomerInfo.d.ts.map +1 -1
  317. package/dist/sales/manual-booking/final-step/FinalStep.d.ts +1 -1
  318. package/dist/sales/manual-booking/final-step/FinalStep.d.ts.map +1 -1
  319. package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.d.ts +1 -1
  320. package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.d.ts.map +1 -1
  321. package/dist/sales/manual-booking/select-date-type-control/SelectDateTypeControl.d.ts +1 -1
  322. package/dist/sales/manual-booking/select-date-type-control/SelectDateTypeControl.d.ts.map +1 -1
  323. package/dist/sales/manual-booking/select-menu/SelectMenu.d.ts +1 -1
  324. package/dist/sales/manual-booking/select-menu/SelectMenu.d.ts.map +1 -1
  325. package/dist/sales/manual-booking/select-menu/SelectMenu.js +1 -1
  326. package/dist/sales/manual-booking/select-menu/components/MenuButton.d.ts +1 -1
  327. package/dist/sales/manual-booking/select-menu/components/MenuButton.d.ts.map +1 -1
  328. package/dist/sales/notes/NotesTable.d.ts +1 -1
  329. package/dist/sales/notes/NotesTable.d.ts.map +1 -1
  330. package/dist/sales/notes/NotesTableRow.d.ts +1 -1
  331. package/dist/sales/notes/NotesTableRow.d.ts.map +1 -1
  332. package/dist/sales/notes/note-form/NoteForm.d.ts +1 -1
  333. package/dist/sales/notes/note-form/NoteForm.d.ts.map +1 -1
  334. package/dist/sales/payment-form/SalePaymentForm.d.ts +2 -2
  335. package/dist/sales/payment-form/SalePaymentForm.d.ts.map +1 -1
  336. package/dist/sales/payment-form/components/RyftPayment/RyftPayment.d.ts +1 -1
  337. package/dist/sales/payment-form/components/RyftPayment/RyftPayment.d.ts.map +1 -1
  338. package/dist/sales/payment-form/types.d.ts +2 -2
  339. package/dist/sales/payment-form/types.d.ts.map +1 -1
  340. package/dist/sales/sales-and-views/SalesAndViewsChart.d.ts +1 -1
  341. package/dist/sales/sales-and-views/SalesAndViewsChart.d.ts.map +1 -1
  342. package/dist/setting/admin/AdminSettingForm.d.ts +1 -1
  343. package/dist/setting/admin/AdminSettingForm.d.ts.map +1 -1
  344. package/dist/setting/admin/PaymentFeeForm.d.ts +2 -2
  345. package/dist/setting/admin/PaymentFeeForm.d.ts.map +1 -1
  346. package/dist/setting/dashboard/DashboardSettingForm.d.ts +1 -1
  347. package/dist/setting/dashboard/DashboardSettingForm.d.ts.map +1 -1
  348. package/dist/setting/dashboard/EventSettingForm.d.ts +2 -2
  349. package/dist/setting/dashboard/EventSettingForm.d.ts.map +1 -1
  350. package/dist/setting/dashboard/FinancialDataForm.d.ts +2 -2
  351. package/dist/setting/dashboard/FinancialDataForm.d.ts.map +1 -1
  352. package/dist/setting/dashboard/OtherSettingForm.d.ts +2 -2
  353. package/dist/setting/dashboard/OtherSettingForm.d.ts.map +1 -1
  354. package/dist/setting/dashboard/ProviderSettingForm.d.ts +2 -2
  355. package/dist/setting/dashboard/ProviderSettingForm.d.ts.map +1 -1
  356. package/dist/setting/system/SystemSettingForm.d.ts +1 -1
  357. package/dist/setting/system/SystemSettingForm.d.ts.map +1 -1
  358. package/dist/snippet/snippet-template/context/snippetTemplate.d.ts +1 -1
  359. package/dist/snippet/snippet-template/context/snippetTemplate.d.ts.map +1 -1
  360. package/dist/sortable-list/SortableList.d.ts +4 -4
  361. package/dist/sortable-list/SortableList.d.ts.map +1 -1
  362. package/dist/sortable-tree/SortableTreeItem.d.ts +1 -1
  363. package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
  364. package/dist/static/Icon.d.ts +1 -1
  365. package/dist/static/Icon.d.ts.map +1 -1
  366. package/dist/static/date-range-input/DateRangeInput.d.ts +1 -1
  367. package/dist/static/date-range-input/DateRangeInput.d.ts.map +1 -1
  368. package/dist/static/images/DefaultUserImage.d.ts +1 -1
  369. package/dist/static/images/DefaultUserImage.d.ts.map +1 -1
  370. package/dist/static/loader/ButtonLoader.d.ts +1 -1
  371. package/dist/static/loader/ButtonLoader.d.ts.map +1 -1
  372. package/dist/static/loader/PaymentLoader.d.ts +1 -1
  373. package/dist/static/loader/PaymentLoader.d.ts.map +1 -1
  374. package/dist/static/manual-date-picker/ManualDatePicker.d.ts +1 -1
  375. package/dist/static/manual-date-picker/ManualDatePicker.d.ts.map +1 -1
  376. package/dist/static/manual-date-picker/hooks/useManualDatePicker.d.ts +2 -2
  377. package/dist/static/manual-date-picker/hooks/useManualDatePicker.d.ts.map +1 -1
  378. package/dist/static/tabs/Tab.d.ts +1 -1
  379. package/dist/static/tabs/Tab.d.ts.map +1 -1
  380. package/dist/static/tabs/Tabs.d.ts +1 -1
  381. package/dist/static/tabs/Tabs.d.ts.map +1 -1
  382. package/dist/styles/customers/Filter.scss +4 -23
  383. package/dist/styles/events/EventStatisticModal.scss +37 -0
  384. package/dist/styles/packages.scss +0 -1
  385. package/dist/styles/snippet-templates/SnippetTemplateCard.scss +0 -16
  386. package/dist/table/MenuButton.d.ts +1 -1
  387. package/dist/table/MenuButton.d.ts.map +1 -1
  388. package/dist/table/ReactTableHelperComponent.d.ts +2 -2
  389. package/dist/table/ReactTableHelperComponent.d.ts.map +1 -1
  390. package/dist/table/StaticTable.d.ts +3 -3
  391. package/dist/table/StaticTable.d.ts.map +1 -1
  392. package/dist/table/StaticTable.js +1 -1
  393. package/dist/table/types.d.ts +5 -5
  394. package/dist/table/types.d.ts.map +1 -1
  395. package/dist/tiptap-editor/TipTapMenu/extensions/EMOJIS.d.ts +1 -1
  396. package/dist/tiptap-editor/TipTapMenu/extensions/EMOJIS.d.ts.map +1 -1
  397. package/dist/typeahead/Typeahead.d.ts +12 -6
  398. package/dist/typeahead/Typeahead.d.ts.map +1 -1
  399. package/dist/typeahead/Typeahead.js +1 -1
  400. package/dist/typeahead-helper/TypeaheadHelperComponent.d.ts +1 -1
  401. package/dist/typeahead-helper/TypeaheadHelperComponent.d.ts.map +1 -1
  402. package/dist/types/categories.d.ts +2 -2
  403. package/dist/types/categories.d.ts.map +1 -1
  404. package/dist/types/currency.d.ts +1 -1
  405. package/dist/types/currency.d.ts.map +1 -1
  406. package/dist/types/generic/SelectItem.d.ts +1 -1
  407. package/dist/types/generic/SelectItem.d.ts.map +1 -1
  408. package/dist/types/iframe.d.ts +2 -4
  409. package/dist/types/iframe.d.ts.map +1 -1
  410. package/dist/types/provider-links.d.ts +2 -2
  411. package/dist/types/provider-links.d.ts.map +1 -1
  412. package/dist/venue-map-sets/form/components/NameControl.d.ts +1 -1
  413. package/dist/venue-map-sets/form/components/NameControl.d.ts.map +1 -1
  414. package/dist/venue-map-sets/form/components/VenueMapControl.d.ts +4 -4
  415. package/dist/venue-map-sets/form/components/VenueMapControl.d.ts.map +1 -1
  416. package/dist/venue-map-sets/form/components/VenueMapImageControl.d.ts +1 -1
  417. package/dist/venue-map-sets/form/components/VenueMapImageControl.d.ts.map +1 -1
  418. package/dist/venue-map-sets/form/components/VenueMapModal.d.ts +1 -1
  419. package/dist/venue-map-sets/form/components/VenueMapModal.d.ts.map +1 -1
  420. package/dist/venue-map-sets/form/components/VenueMapsControl.d.ts +1 -1
  421. package/dist/venue-map-sets/form/components/VenueMapsControl.d.ts.map +1 -1
  422. package/dist/venue-map-sets/form/types/index.d.ts +4 -4
  423. package/dist/venue-map-sets/form/types/index.d.ts.map +1 -1
  424. package/dist/virtualized/components/VirtualizedGrid.d.ts +1 -1
  425. package/dist/virtualized/components/VirtualizedGrid.d.ts.map +1 -1
  426. package/dist/virtualized/components/VirtualizedWindowScroller.d.ts +3 -3
  427. package/dist/virtualized/components/VirtualizedWindowScroller.d.ts.map +1 -1
  428. package/dist/virtualized/context/VirtualizedContext.d.ts +2 -2
  429. package/dist/virtualized/context/VirtualizedContext.d.ts.map +1 -1
  430. package/dist/widgets/CheckboxGroup/CheckboxGroup.d.ts +1 -1
  431. package/dist/widgets/CheckboxGroup/CheckboxGroup.d.ts.map +1 -1
  432. package/dist/widgets/ImageRadioInput/ImageRadioInput.d.ts +1 -1
  433. package/dist/widgets/ImageRadioInput/ImageRadioInput.d.ts.map +1 -1
  434. package/dist/widgets/SnippetCode/SnippetCode.d.ts +1 -1
  435. package/dist/widgets/SnippetCode/SnippetCode.d.ts.map +1 -1
  436. package/dist/widgets/WidgetBuilderForm/WidgetBuilderForm.d.ts +1 -1
  437. package/dist/widgets/WidgetBuilderForm/WidgetBuilderForm.d.ts.map +1 -1
  438. package/dist/widgets/WidgetTypeRadio/WidgetTypeRadio.d.ts +1 -1
  439. package/dist/widgets/WidgetTypeRadio/WidgetTypeRadio.d.ts.map +1 -1
  440. package/dist/zone/form/ZoneForm.d.ts +2 -2
  441. package/dist/zone/form/ZoneForm.d.ts.map +1 -1
  442. package/dist/zone/form/components/AvailableTimesControl.d.ts +2 -2
  443. package/dist/zone/form/components/AvailableTimesControl.d.ts.map +1 -1
  444. package/dist/zone/form/components/DescriptionControl.d.ts +1 -1
  445. package/dist/zone/form/components/DescriptionControl.d.ts.map +1 -1
  446. package/dist/zone/form/components/NameControl.d.ts +1 -1
  447. package/dist/zone/form/components/NameControl.d.ts.map +1 -1
  448. package/dist/zone/form/components/SortControl.d.ts +1 -1
  449. package/dist/zone/form/components/SortControl.d.ts.map +1 -1
  450. package/dist/zone/form/components/ZoneControl.d.ts +1 -1
  451. package/dist/zone/form/components/ZoneControl.d.ts.map +1 -1
  452. package/dist/zone/form/components/ZoneImageControl.d.ts +1 -1
  453. package/dist/zone/form/components/ZoneImageControl.d.ts.map +1 -1
  454. package/dist/zone/form/components/ZoneRecurrencesControl.d.ts +1 -1
  455. package/dist/zone/form/components/ZoneRecurrencesControl.d.ts.map +1 -1
  456. package/dist/zone/form/components/ZoneTypeControl.d.ts +1 -1
  457. package/dist/zone/form/components/ZoneTypeControl.d.ts.map +1 -1
  458. package/package.json +4 -4
  459. package/src/customers/components/filter/CustomerFilter.stories.tsx +2 -1
  460. package/src/customers/components/filter/CustomerFilter.tsx +5 -3
  461. package/src/events/edit-event-modal/IntervalInput.tsx +1 -21
  462. package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx +0 -3
  463. package/src/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.tsx +2 -11
  464. package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +4 -6
  465. package/src/events/event-statistic-modal/EventStatisticModal.tsx +1 -1
  466. package/src/events/event-venue-map/EventVenueMap.tsx +0 -4
  467. package/src/events/event-venue-map/components/MapPoint/MapPoint.tsx +1 -3
  468. package/src/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.tsx +2 -13
  469. package/src/events/event-venue-map/components/VenueMap/VenueMap.tsx +4 -12
  470. package/src/iframe/event/event-order-short-summary/components/Summary/Summary.tsx +20 -20
  471. package/src/iframe/event/event-venue-map/IframeEventVenueMap.stories.tsx +0 -5
  472. package/src/iframe/order-process/OrderProcess.stories.tsx +0 -1
  473. package/src/iframe/order-process/components/BookingSummary/BookingSummary.tsx +1 -4
  474. package/src/iframe/order-process/components/BookingSummary/types/index.ts +3 -3
  475. package/src/iframe/order-process/components/BookingSummary/utils/index.ts +2 -6
  476. package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.stories.tsx +0 -1
  477. package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.tsx +0 -5
  478. package/src/iframe/order-process/components/CalendarStepsForm/components/Category.tsx +0 -4
  479. package/src/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.tsx +0 -4
  480. package/src/iframe/order-process/components/Category/Category.tsx +0 -3
  481. package/src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx +8 -42
  482. package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +0 -3
  483. package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +2 -3
  484. package/src/iframe/order-process/components/StepsForm/StepsForm.tsx +0 -3
  485. package/src/iframe/payment/order-items-table/OrderItemsTable.stories.tsx +0 -2
  486. package/src/iframe/payment/order-items-table/hooks/useTableData.tsx +14 -21
  487. package/src/iframe/payment/order-items-table/utils/index.ts +15 -55
  488. package/src/iframe/payment/payment-page/PaymentPage.tsx +5 -45
  489. package/src/iframe/payment/payment-status-page/PaymentStatusPage.tsx +12 -66
  490. package/src/index.ts +0 -1
  491. package/src/notification/email-template/card/EmailTemplateCard.stories.tsx +2 -4
  492. package/src/notification/email-template/card/EmailTemplateCard.tsx +3 -15
  493. package/src/notification/email-template/control/EmailTemplateControl.tsx +6 -90
  494. package/src/notification/email-template/form/EmailTemplateForm.stories.tsx +0 -34
  495. package/src/notification/email-template/form/EmailTemplateForm.tsx +5 -23
  496. package/src/notification/sms-template/card/SmsTemplateCard.stories.tsx +1 -3
  497. package/src/notification/sms-template/card/SmsTemplateCard.tsx +3 -13
  498. package/src/notification/sms-template/control/SmsTemplateControl.tsx +2 -38
  499. package/src/notification/sms-template/form/SmsTemplateForm.stories.tsx +0 -21
  500. package/src/notification/sms-template/form/SmsTemplateForm.tsx +1 -5
  501. package/src/product-set/control/ProductSetControl.tsx +33 -61
  502. package/src/product-set/form/ProductSetForm.stories.tsx +2 -41
  503. package/src/product-set/form/ProductSetForm.tsx +0 -11
  504. package/src/product-set/form/ProductsControl.tsx +1 -20
  505. package/src/product-set/form/StepsControl.tsx +2 -20
  506. package/src/product-set/product/ProductControl.tsx +10 -25
  507. package/src/product-set/product/price/ProductPriceControl.tsx +21 -43
  508. package/src/product-set/utils/index.ts +0 -28
  509. package/src/provider/provider-details-input/ProviderDetailsInput.tsx +2 -0
  510. package/src/sales/filters/SaleFilters.tsx +1 -1
  511. package/src/sales/guest-profile/previous-bookings/PreviousBookings.stories.tsx +5 -35
  512. package/src/sales/guest-profile/previous-bookings/PreviousBookings.tsx +3 -11
  513. package/src/sales/manual-booking/select-menu/SelectMenu.tsx +1 -3
  514. package/src/styles/customers/Filter.scss +4 -23
  515. package/src/styles/events/EventStatisticModal.scss +37 -0
  516. package/src/styles/packages.scss +0 -1
  517. package/src/styles/snippet-templates/SnippetTemplateCard.scss +0 -16
  518. package/src/table/StaticTable.tsx +2 -4
  519. package/src/typeahead/Typeahead.stories.tsx +6 -9
  520. package/src/typeahead/Typeahead.tsx +12 -19
  521. package/src/types/iframe.ts +0 -2
  522. package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.d.ts +0 -9
  523. package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.d.ts.map +0 -1
  524. package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.js +0 -1
  525. package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.d.ts +0 -2
  526. package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.d.ts.map +0 -1
  527. package/dist/notification/hooks/useTranslatedParameters.d.ts +0 -7
  528. package/dist/notification/hooks/useTranslatedParameters.d.ts.map +0 -1
  529. package/dist/notification/hooks/useTranslatedParameters.js +0 -1
  530. package/dist/striped-static-table/StripedStaticTable.d.ts +0 -7
  531. package/dist/striped-static-table/StripedStaticTable.d.ts.map +0 -1
  532. package/dist/striped-static-table/StripedStaticTable.js +0 -1
  533. package/dist/striped-static-table/index.d.ts +0 -2
  534. package/dist/striped-static-table/index.d.ts.map +0 -1
  535. package/dist/styles/striped-static-table/_index.scss +0 -33
  536. package/src/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.tsx +0 -68
  537. package/src/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.ts +0 -1
  538. package/src/notification/hooks/useTranslatedParameters.ts +0 -27
  539. package/src/striped-static-table/StripedStaticTable.stories.tsx +0 -71
  540. package/src/striped-static-table/StripedStaticTable.tsx +0 -63
  541. package/src/striped-static-table/index.ts +0 -1
  542. package/src/styles/striped-static-table/_index.scss +0 -33
@@ -13,13 +13,12 @@ import { ServerError } from "@licklist/plugins/dist/hooks/Api/useHttpQuery";
13
13
  import FormErrorService from "@licklist/plugins/dist/services/Form/FormErrorService";
14
14
  import { AttachmentsWithHash } from "@licklist/plugins/dist/hooks/Media/useAttachments";
15
15
  import { UploadPermanentImage } from "@licklist/core/dist/DataMapper/Media/UploadPermanentImageDataMapper";
16
- import { NotificationType } from "@licklist/core/dist/DataMapper/Notification/NotificationTypeDataMapper";
16
+
17
17
  import { NotificationPlaceholders } from "../../components/NotificationPlaceholders";
18
18
  import { EmailTemplateControl } from "../control/EmailTemplateControl";
19
19
  import { BlockLoader } from "../../../static";
20
20
 
21
21
  export interface EmailTemplateValues extends FormValues {
22
- id?: number | string;
23
22
  name: string;
24
23
  subject: string;
25
24
  isActive: boolean;
@@ -30,7 +29,6 @@ export interface EmailTemplateValues extends FormValues {
30
29
  attachments?: Attachment[];
31
30
  templateOptionValues?: TemplateOptionValue[];
32
31
  imagesMetadata?: UploadPermanentImage[];
33
- type?: NotificationType;
34
32
  }
35
33
 
36
34
  export interface EmailTemplateProps extends HasPermissionProp {
@@ -41,12 +39,9 @@ export interface EmailTemplateProps extends HasPermissionProp {
41
39
  placeholders?: NotificationPlaceholder[];
42
40
  options?: TemplateOption[];
43
41
  serverErrors?: ServerError;
44
- notificationTypes?: NotificationType[];
45
- getDefaultTemplateMetaByType?: (type?: NotificationType | null) => string;
46
- onTypeChange?: (type?: NotificationType | null) => void;
47
42
  }
48
43
 
49
- export const EmailTemplateForm = ({
44
+ export function EmailTemplateForm({
50
45
  defaultValues,
51
46
  onSubmitSave,
52
47
  onSubmitSaveAndSend,
@@ -54,10 +49,7 @@ export const EmailTemplateForm = ({
54
49
  placeholders = [],
55
50
  options = [],
56
51
  serverErrors,
57
- notificationTypes = [],
58
- getDefaultTemplateMetaByType,
59
- onTypeChange,
60
- }: EmailTemplateProps) => {
52
+ }: EmailTemplateProps) {
61
53
  const { t } = useTranslation("Design");
62
54
  const [isLoading, setIsLoading] = useState(false);
63
55
  const emailEditorRef = useRef(null);
@@ -67,20 +59,12 @@ export const EmailTemplateForm = ({
67
59
  defaultValues,
68
60
  });
69
61
 
70
- const { setError, watch } = form;
71
- const type = watch("type");
62
+ const { setError } = form;
72
63
 
73
64
  useEffect(() => {
74
65
  FormErrorService.handleServerErrors(serverErrors, setError);
75
66
  }, [serverErrors, setError]);
76
67
 
77
- useEffect(() => {
78
- if (!onTypeChange) return;
79
-
80
- onTypeChange(type);
81
- // eslint-disable-next-line react-hooks/exhaustive-deps
82
- }, [type]);
83
-
84
68
  return (
85
69
  <FormProvider {...form}>
86
70
  {isLoading && <BlockLoader />}
@@ -97,8 +81,6 @@ export const EmailTemplateForm = ({
97
81
  meta={defaultValues?.meta || null}
98
82
  defaultAttachments={defaultValues?.attachments || []}
99
83
  options={options}
100
- notificationTypes={notificationTypes}
101
- getDefaultTemplateMetaByType={getDefaultTemplateMetaByType}
102
84
  />
103
85
  <NotificationPlaceholders placeholders={placeholders} />
104
86
  {/* update email template */}
@@ -124,4 +106,4 @@ export const EmailTemplateForm = ({
124
106
  </Form>
125
107
  </FormProvider>
126
108
  );
127
- };
109
+ }
@@ -14,9 +14,7 @@ export const Default: Story<SmsTemplateCardProps> = (args) => (
14
14
 
15
15
  Default.args = {
16
16
  href: "#",
17
- name: "Default Sms Template with Long name",
17
+ name: "Default Sms Template",
18
18
  hasPermission: true,
19
19
  isDefault: true,
20
- templateType: "confirmation",
21
- isActive: true,
22
20
  };
@@ -1,19 +1,16 @@
1
1
  import React from "react";
2
2
  import { Link } from "react-router-dom";
3
- import { useTranslation } from "react-i18next";
4
3
  import { HasPermissionProp } from "@licklist/plugins/dist/types/permission/Permission";
5
- import { NotificationType } from "@licklist/core/dist/DataMapper/Notification/NotificationTypeDataMapper";
4
+ import { useTranslation } from "react-i18next";
5
+
6
6
  import { ConfirmModal, ConfirmModalType } from "../../../modals";
7
7
  import { Icon } from "../../../static";
8
- import { useTranslatedParameters } from "../../hooks/useTranslatedParameters";
9
8
 
10
9
  export interface SmsTemplateCardProps extends HasPermissionProp {
11
10
  name: string;
12
11
  href: string;
13
12
  onRemove: () => void;
14
13
  isDefault: boolean;
15
- isActive: boolean;
16
- type: NotificationType;
17
14
  }
18
15
 
19
16
  export function SmsTemplateCard({
@@ -22,13 +19,9 @@ export function SmsTemplateCard({
22
19
  onRemove,
23
20
  hasPermission = true,
24
21
  isDefault = false,
25
- isActive = false,
26
- type,
27
22
  }: SmsTemplateCardProps) {
28
23
  const { t } = useTranslation(["Design"]);
29
24
 
30
- const texts = useTranslatedParameters({ isActive, isDefault });
31
-
32
25
  return (
33
26
  <div className="snippet-template-card">
34
27
  <div className="snippet-template-card-header">
@@ -57,10 +50,7 @@ export function SmsTemplateCard({
57
50
  )}
58
51
  </div>
59
52
  <div className="mt-2">
60
- {!!texts.length && <p className="mb-1">{texts}</p>}
61
- <p className="mb-0">
62
- {t(`Design:type`)}:&nbsp;{t(`Design:${type}`)}
63
- </p>
53
+ {Boolean(isDefault) && <p className="mb-1">{t("Design:default")}</p>}
64
54
  </div>
65
55
  </div>
66
56
  );
@@ -4,18 +4,12 @@ import { Col, Row, Form } from "react-bootstrap";
4
4
  import { useFormContext } from "react-hook-form";
5
5
  import { useTranslation } from "react-i18next";
6
6
  import HookFormService from "@licklist/plugins/dist/services/Form/HookFormService";
7
- import { NotificationType } from "@licklist/core/dist/DataMapper/Notification/NotificationTypeDataMapper";
7
+
8
8
  import { SmsTemplateValues } from "../form";
9
9
 
10
10
  const MAX_SMS_LENGTH = 300;
11
11
 
12
- type SmsTemplateControlProps = {
13
- notificationTypes: NotificationType[];
14
- };
15
-
16
- export const SmsTemplateControl = ({
17
- notificationTypes = [],
18
- }: SmsTemplateControlProps) => {
12
+ export const SmsTemplateControl = () => {
19
13
  const { t } = useTranslation(["Design"]);
20
14
  const {
21
15
  register,
@@ -29,34 +23,6 @@ export const SmsTemplateControl = ({
29
23
 
30
24
  return (
31
25
  <>
32
- <Row>
33
- <Form.Group as={Col} controlId="type" xs sm={12} md={8} lg={10} xl={12}>
34
- <Form.Label>{t("type")}</Form.Label>
35
-
36
- <Form.Control
37
- as="select"
38
- {...register("type", {
39
- required: t("Validation:fieldRequired", {
40
- attribute: t("type"),
41
- }) as string,
42
- })}
43
- name="type"
44
- required
45
- isInvalid={Boolean(errors.type)}
46
- placeholder={t("Design:type")}
47
- >
48
- <option value="">{t("Design:choose")}</option>
49
- {notificationTypes.map((key) => (
50
- <option key={key} value={key}>
51
- {t(`Design:${key}`)}
52
- </option>
53
- ))}
54
- </Form.Control>
55
- <Form.Control.Feedback type="invalid">
56
- {errors.type?.message}
57
- </Form.Control.Feedback>
58
- </Form.Group>
59
- </Row>
60
26
  <Row>
61
27
  <Form.Group
62
28
  as={Col}
@@ -96,8 +62,6 @@ export const SmsTemplateControl = ({
96
62
  <Form.Label>{t("Design:smsBody")}</Form.Label>
97
63
  <Form.Control
98
64
  isInvalid={Boolean(errors.body)}
99
- as="textarea"
100
- rows={3}
101
65
  {...register("body", {
102
66
  required: true,
103
67
  maxLength: MAX_SMS_LENGTH,
@@ -38,26 +38,12 @@ Default.args = {
38
38
  isDefault: false,
39
39
  body: "Some random sms string",
40
40
  },
41
- type: "confirmation",
42
- notificationTypes: [
43
- "confirmation",
44
- "paymentLink",
45
- "afterBooking",
46
- "preliminaryMail",
47
- ],
48
41
  };
49
42
 
50
43
  Empty.args = {
51
44
  onSubmit: (data) => console.log(data),
52
45
  isLoading: true,
53
46
  placeholders: [],
54
- type: "confirmation",
55
- notificationTypes: [
56
- "confirmation",
57
- "paymentLink",
58
- "afterBooking",
59
- "preliminaryMail",
60
- ],
61
47
  };
62
48
 
63
49
  ServerErrors.args = {
@@ -68,11 +54,4 @@ ServerErrors.args = {
68
54
  body: ["Body field is required"],
69
55
  name: ["Name Field is required"],
70
56
  },
71
- type: "confirmation",
72
- notificationTypes: [
73
- "confirmation",
74
- "paymentLink",
75
- "afterBooking",
76
- "preliminaryMail",
77
- ],
78
57
  };
@@ -8,7 +8,6 @@ import { NotificationPlaceholder } from "@licklist/core/dist/DataMapper/Notifica
8
8
  import { ServerError } from "@licklist/plugins/dist/hooks/Api/useHttpQuery";
9
9
  import FormErrorService from "@licklist/plugins/dist/services/Form/FormErrorService";
10
10
 
11
- import { NotificationType } from "@licklist/core/dist/DataMapper/Notification/NotificationTypeDataMapper";
12
11
  import { NotificationPlaceholders } from "../../components/NotificationPlaceholders";
13
12
  import { SmsTemplateControl } from "../control/SmsTemplateControl";
14
13
 
@@ -17,7 +16,6 @@ export interface SmsTemplateValues extends FormValues {
17
16
  isActive: boolean;
18
17
  isDefault: boolean;
19
18
  body: string;
20
- type?: NotificationType;
21
19
  }
22
20
 
23
21
  export interface SmsTemplateProps extends HasPermissionProp {
@@ -26,7 +24,6 @@ export interface SmsTemplateProps extends HasPermissionProp {
26
24
  defaultValues?: SmsTemplateValues;
27
25
  placeholders?: NotificationPlaceholder[];
28
26
  serverErrors?: ServerError;
29
- notificationTypes?: NotificationType[];
30
27
  }
31
28
 
32
29
  export function SmsTemplateForm({
@@ -35,7 +32,6 @@ export function SmsTemplateForm({
35
32
  hasPermission = true,
36
33
  placeholders = [],
37
34
  serverErrors,
38
- notificationTypes = [],
39
35
  }: SmsTemplateProps) {
40
36
  const { t } = useTranslation("Design");
41
37
 
@@ -50,7 +46,7 @@ export function SmsTemplateForm({
50
46
  return (
51
47
  <FormProvider {...form}>
52
48
  <Form onSubmit={form.handleSubmit(onSubmit)}>
53
- <SmsTemplateControl notificationTypes={notificationTypes} />
49
+ <SmsTemplateControl />
54
50
  <NotificationPlaceholders placeholders={placeholders} />
55
51
 
56
52
  {hasPermission && (
@@ -15,7 +15,6 @@ 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";
19
18
  import { WarningMessage } from "../../static";
20
19
  import { SelectItem } from "../../types/generic/SelectItem";
21
20
  import {
@@ -27,31 +26,23 @@ import {
27
26
  import TutorialGifCard from "./TutorialGifCard";
28
27
  import { Step } from "../types";
29
28
  import { StepsControl } from "../form/StepsControl";
30
- import { Typeahead } from "../../typeahead";
31
29
 
32
30
  const OPERATIONAL_COST_TITLES = {
33
31
  [OPERATIONAL_COST_PROVIDER]: "operationalCostProvider",
34
32
  [OPERATIONAL_COST_CUSTOMER]: "operationalCostCustomer",
35
33
  } as const;
36
34
 
37
- export interface TemplateItem {
38
- id: string;
39
- value: EmailTemplate | SmsTemplate;
40
- label: string;
41
- }
42
-
43
35
  export interface ProductSetControlValues extends DateAndRecurrenceInputValues {
44
36
  name: string;
45
37
  type: ProductSetType;
46
38
  termsAndConditions: string;
47
- thankYouPageUrl: string;
48
39
  isDefault: boolean;
49
40
  operationalCost: OperationalCostType;
50
41
  productGroups?: SelectItem[];
51
42
  fieldSetId?: number;
52
43
  steps?: Step[];
53
- emailTemplates?: TemplateItem[];
54
- smsTemplates?: TemplateItem[];
44
+ emailTemplateId?: number;
45
+ smsTemplateId?: number;
55
46
  }
56
47
 
57
48
  export interface ProductSetControlShared {
@@ -61,17 +52,11 @@ export interface ProductSetControlShared {
61
52
  smsTemplates?: SmsTemplate[];
62
53
  }
63
54
 
64
- export interface ProductSetControlProps {
55
+ export interface ProductSetControlProps extends ProductSetControlShared {
65
56
  companyName: string;
66
57
  isLoading: boolean;
67
58
  isEventEditProductSet?: boolean;
68
59
  isCreateAction?: boolean;
69
- emailTemplates?: TemplateItem[];
70
- smsTemplates?: TemplateItem[];
71
- fee?: string;
72
- fieldSets?: FieldSet[];
73
- showEmailTemplate?: boolean;
74
- showSmsTemplate?: boolean;
75
60
  }
76
61
 
77
62
  export function ProductSetControl({
@@ -83,8 +68,6 @@ export function ProductSetControl({
83
68
  smsTemplates = [],
84
69
  isEventEditProductSet,
85
70
  isCreateAction,
86
- showEmailTemplate,
87
- showSmsTemplate,
88
71
  }: ProductSetControlProps) {
89
72
  const { t } = useTranslation(["Design", "Validation", "Notification"]);
90
73
  const {
@@ -97,6 +80,8 @@ export function ProductSetControl({
97
80
  } = useFormContext<ProductSetControlValues>();
98
81
 
99
82
  const steps = watch("steps");
83
+ const smsTemplateId = watch("smsTemplateId");
84
+ const emailTemplateId = watch("emailTemplateId");
100
85
 
101
86
  const nameId = useId();
102
87
  const termsAndConditionsId = useId();
@@ -234,16 +219,20 @@ export function ProductSetControl({
234
219
  <Form.Label className="mt-4">
235
220
  {t("Design:emailTemplate")}
236
221
  </Form.Label>
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
- />
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>
247
236
  ) : (
248
237
  <WarningMessage
249
238
  message={t("Design:noActiveTemplates", {
@@ -257,16 +246,20 @@ export function ProductSetControl({
257
246
  >
258
247
  {t("Design:smsTemplate")}
259
248
  </Form.Label>
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
- />
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>
270
263
  ) : (
271
264
  <WarningMessage
272
265
  message={t("Design:noActiveTemplates", {
@@ -309,27 +302,6 @@ export function ProductSetControl({
309
302
  }}
310
303
  />
311
304
  </Form.Group>
312
-
313
- <Form.Group controlId="thankYouPageUrlId">
314
- <Form.Label>{t("thankYouPageUrl")}</Form.Label>
315
-
316
- <Form.Control
317
- {...register("thankYouPageUrl", {
318
- validate: (url) => {
319
- if (!url) return true;
320
- if (ruleForUrlWithProtocol.test(url as string)) return true;
321
- return t("Validation:fieldValidWebURL", {
322
- attribute: t("thankYouPageUrl"),
323
- }) as string;
324
- },
325
- })}
326
- isInvalid={HookFormService.isInvalid("thankYouPageUrl", errors)}
327
- />
328
-
329
- <Form.Control.Feedback type="invalid">
330
- {HookFormService.getErrors("thankYouPageUrl", errors)}
331
- </Form.Control.Feedback>
332
- </Form.Group>
333
305
  </div>
334
306
  </Col>
335
307
  </Row>
@@ -3,11 +3,6 @@
3
3
  import React from "react";
4
4
  import { Meta, Story } from "@storybook/react";
5
5
  import { boolean } from "@storybook/addon-knobs";
6
- import {
7
- CONFIRMATION_TYPE,
8
- PAYMENT_LINK_TYPE,
9
- } from "@licklist/core/dist/DataMapper/Notification/NotificationTypeDataMapper";
10
-
11
6
  import {
12
7
  OPERATIONAL_COST_CUSTOMER,
13
8
  OPERATIONAL_COST_PROVIDER,
@@ -362,14 +357,12 @@ Default.args = {
362
357
  body: "",
363
358
  meta: "",
364
359
  notification: {
365
- id: 1,
366
- isActive: true,
360
+ isActive: false,
367
361
  isDefault: false,
368
362
  name: "Template name 1",
369
363
  companyId: 1,
370
364
  providerId: 1,
371
365
  fieldSetId: 1,
372
- type: CONFIRMATION_TYPE,
373
366
  },
374
367
  },
375
368
  {
@@ -378,44 +371,12 @@ Default.args = {
378
371
  body: "",
379
372
  meta: "",
380
373
  notification: {
381
- id: 2,
382
- isActive: true,
383
- isDefault: false,
384
- name: "Tempalte name 2",
385
- companyId: 1,
386
- providerId: 1,
387
- fieldSetId: 1,
388
- type: CONFIRMATION_TYPE,
389
- },
390
- },
391
- ],
392
- smsTemplates: [
393
- {
394
- id: "1",
395
- body: "",
396
- notification: {
397
- id: 3,
398
- isActive: true,
399
- isDefault: false,
400
- name: "Tempalte name 1",
401
- companyId: 1,
402
- providerId: 1,
403
- fieldSetId: 1,
404
- type: PAYMENT_LINK_TYPE,
405
- },
406
- },
407
- {
408
- id: "2",
409
- body: "",
410
- notification: {
411
- id: 4,
412
- isActive: true,
374
+ isActive: false,
413
375
  isDefault: false,
414
376
  name: "Tempalte name 2",
415
377
  companyId: 1,
416
378
  providerId: 1,
417
379
  fieldSetId: 1,
418
- type: PAYMENT_LINK_TYPE,
419
380
  },
420
381
  },
421
382
  ],
@@ -20,7 +20,6 @@ import {
20
20
  import { Step } from "../types";
21
21
  import { ProductSetContextProvider, ProductSetLoadingContext } from "./context";
22
22
  import { SelectItem } from "../../types/generic/SelectItem";
23
- import { getFilteredTemplates } from "../utils";
24
23
 
25
24
  export interface WithIsLoading {
26
25
  isLoading: boolean;
@@ -134,16 +133,6 @@ export function ProductSetForm({
134
133
  <>
135
134
  <ProductSetControl
136
135
  {...shared}
137
- smsTemplates={getFilteredTemplates(
138
- shared?.smsTemplates,
139
- formValues?.smsTemplates
140
- )}
141
- emailTemplates={getFilteredTemplates(
142
- shared?.emailTemplates,
143
- formValues?.emailTemplates
144
- )}
145
- showEmailTemplate={!!shared?.emailTemplates}
146
- showSmsTemplate={!!shared?.smsTemplates}
147
136
  isLoading={isLoading}
148
137
  isCreateAction={isCreateAction}
149
138
  companyName={companyName}
@@ -85,14 +85,11 @@ export function ProductsControl({
85
85
  trigger,
86
86
  setValue,
87
87
  watch,
88
- getValues,
89
88
  } = form;
90
89
 
91
90
  const productControlFieldName =
92
91
  `steps.${stepIndex}.productCategories.${productCategoryIndex}.products` as const;
93
92
 
94
- const productPointsKey = `steps.${stepIndex}.pointProducts` as const;
95
-
96
93
  const { fields, append, remove, move } = useFieldArray({
97
94
  name: productControlFieldName,
98
95
  control,
@@ -159,22 +156,6 @@ export function ProductsControl({
159
156
  });
160
157
  };
161
158
 
162
- const onProductRemove = (index: number) => {
163
- const currentProduct = getValues(
164
- `${productControlFieldName}.${index}` as const
165
- );
166
-
167
- const currentPointProducts = getValues(productPointsKey);
168
-
169
- setValue(
170
- productPointsKey,
171
- currentPointProducts?.filter(
172
- (product) => product.productUuid !== currentProduct.uuid
173
- ) || []
174
- );
175
- remove(index);
176
- };
177
-
178
159
  return (
179
160
  <>
180
161
  <SortableTree
@@ -238,7 +219,7 @@ export function ProductsControl({
238
219
  categoryType={categoryType}
239
220
  />
240
221
  }
241
- onDelete={() => onProductRemove(index)}
222
+ onDelete={() => remove(index)}
242
223
  validate={() => trigger(`${productControlFieldName}.${index}`)}
243
224
  // preItem={<Popover className="d-none d-sm-block" />}
244
225
  >
@@ -28,7 +28,6 @@ export function StepsControl({ isLoading }: StepsControlProps) {
28
28
  formState: { errors, isSubmitting },
29
29
  clearErrors,
30
30
  getValues,
31
- setFocus,
32
31
  } = form;
33
32
 
34
33
  const { fields, append, remove } = useFieldArray({
@@ -58,14 +57,12 @@ export function StepsControl({ isLoading }: StepsControlProps) {
58
57
  return (
59
58
  <>
60
59
  {fields.map((step, index) => {
61
- const stepFieldName = `steps.${index}` as const;
62
-
63
- const stepData = getValues(stepFieldName);
60
+ const stepData: any = getValues(`steps.${index}` as const);
64
61
 
65
62
  return (
66
63
  <Controller
67
64
  key={`step-${step._id}`}
68
- name={`${stepFieldName}.name` as const}
65
+ name={`steps.${index}.name` as const}
69
66
  control={control}
70
67
  rules={{
71
68
  required: t("Validation:fieldRequired", {
@@ -107,21 +104,6 @@ export function StepsControl({ isLoading }: StepsControlProps) {
107
104
  ? step.productCategories.map(({ id }) => String(id))
108
105
  : []
109
106
  }
110
- validate={() => {
111
- // @TODO investigate why form return true in case
112
- // when required field not filled. Looks like
113
- // we cann't use default hookForm trigger function
114
- // because we have venueMap outside this form.
115
- // So before closing we need to check directly by
116
- // error on name field. Instead of run trugger.
117
- const error = errors.steps?.[index]?.name;
118
-
119
- if (error) {
120
- setFocus(`${stepFieldName}.name` as const);
121
- }
122
-
123
- return Promise.resolve(!error);
124
- }}
125
107
  >
126
108
  <ProductCategoriesControl
127
109
  isLoading={isLoading}