@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,12 @@
1
1
  /// <reference types="react" />
2
- import { FormValues } from "@licklist/plugins/dist/types/services/Form/hook-form-service";
3
- import { Path } from "react-hook-form";
2
+ import { FieldNamePrefixPath, FormValues } from "@licklist/plugins/dist/types/services/Form/hook-form-service";
4
3
  export interface ProductPriceControlValues extends FormValues {
5
4
  price: number;
6
5
  }
7
- export interface ProductPriceControlProps<T> {
6
+ export interface ProductPriceControlProps<T> extends FieldNamePrefixPath<T> {
8
7
  isLoading: boolean;
9
8
  title?: string;
10
9
  allowDeposits?: boolean;
11
- fieldNamePrefix: Path<T>;
12
- isRequired?: boolean;
13
- isMoreThanZero?: boolean;
14
10
  }
15
- export declare function ProductPriceControl<T extends FormValues>({ isLoading, fieldNamePrefix, title, allowDeposits, isRequired, isMoreThanZero, }: ProductPriceControlProps<T>): JSX.Element;
11
+ export declare function ProductPriceControl<T extends FormValues>({ isLoading, fieldNamePrefix, title, allowDeposits, }: ProductPriceControlProps<T>): JSX.Element;
16
12
  //# sourceMappingURL=ProductPriceControl.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductPriceControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/price/ProductPriceControl.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,8DAA8D,CAAC;AAK1F,OAAO,EAAc,IAAI,EAAkB,MAAM,iBAAiB,CAAC;AAInE,MAAM,WAAW,yBAA0B,SAAQ,UAAU;IAC3D,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,wBAAwB,CAAC,CAAC;IACzC,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,eAAe,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,UAAU,EAAE,EACxD,SAAiB,EACjB,eAAe,EACf,KAAK,EACL,aAAa,EACb,UAAiB,EACjB,cAAc,GACf,EAAE,wBAAwB,CAAC,CAAC,CAAC,eAgG7B"}
1
+ {"version":3,"file":"ProductPriceControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/price/ProductPriceControl.tsx"],"names":[],"mappings":";AAEA,OAAO,EACL,mBAAmB,EACnB,UAAU,EACX,MAAM,8DAA8D,CAAC;AAStE,MAAM,WAAW,yBAA0B,SAAQ,UAAU;IAC3D,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,wBAAwB,CAAC,CAAC,CAAE,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IACzE,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,wBAAgB,mBAAmB,CAAC,CAAC,SAAS,UAAU,EAAE,EACxD,SAAiB,EACjB,eAAe,EACf,KAAK,EACL,aAAa,GACd,EAAE,wBAAwB,CAAC,CAAC,CAAC,eA4E7B"}
@@ -1 +1 @@
1
- "use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(require("react")),t=require("react-i18next"),a=e(require("react-bootstrap/Col")),i=require("react-bootstrap"),n=require("../../../static/Icon.js"),o=require("react-hook-form"),l=e(require("@licklist/plugins/dist/services/Form/HookFormService")),u=require("@react-aria/utils"),s=e(require("react-bootstrap/InputGroup"));exports.ProductPriceControl=function(e){var c=e.isLoading,m=void 0!==c&&c,d=e.fieldNamePrefix,p=e.title,f=e.allowDeposits,v=e.isRequired,b=void 0===v||v,q=e.isMoreThanZero,x=o.useFormContext(),E=x.control,g=x.formState.errors,C=t.useTranslation("Design").t,F=null!=p?p:C("price"),N=u.useId();return r.createElement(a,{xs:f?12:void 0,sm:f?6:void 0,className:!f&&"p-0"},r.createElement(i.Form.Group,{controlId:N},r.createElement(i.Form.Label,null,F),r.createElement(s,{hasValidation:!0},r.createElement(s.Prepend,null,r.createElement(s.Text,null,r.createElement(n.default,{type:"pound-sign",width:".6rem",className:"p-0"}))),r.createElement(o.Controller,{render:function(e){var t=e.field,a=t.value,n=t.onChange,o=t.name,u=t.ref;return r.createElement(i.Form.Control,{ref:u,type:"number",min:0,max:999999.99,step:"0.01",value:a,name:o,onChange:n,isInvalid:l.isInvalid("".concat(d),g),disabled:m})},control:E,name:"".concat(d),rules:{required:!!b&&C("Validation:fieldRequired",{attribute:F}),min:q?void 0:{value:0,message:C("Validation:fieldMinNumber",{attribute:F,min:0})},max:{value:999999.99,message:C("Validation:fieldMaxNumber",{attribute:F,max:999999.99})},validate:function(e){return!!(!q||q&&(null==e||""===e)||q&&Number(e)>0)||C("Validation:fieldGreaterMinNumber",{attribute:F,min:0})}}}),r.createElement(i.Form.Control.Feedback,{type:"invalid"},l.getErrors("".concat(d),g)))))};
1
+ "use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var r=e(require("react")),t=require("react-i18next"),a=e(require("react-bootstrap/Col")),i=require("react-bootstrap"),n=require("../../../static/Icon.js"),o=require("react-hook-form"),l=e(require("@licklist/plugins/dist/services/Form/HookFormService")),c=require("@react-aria/utils"),u=e(require("react-bootstrap/InputGroup"));exports.ProductPriceControl=function(e){var s=e.isLoading,m=void 0!==s&&s,d=e.fieldNamePrefix,p=e.title,f=e.allowDeposits,v=o.useFormContext(),b=v.control,q=v.formState.errors,x=t.useTranslation("Design").t,E=c.useId();return r.createElement(a,{xs:f?12:void 0,sm:f?6:void 0,className:!f&&"p-0"},r.createElement(i.Form.Group,{controlId:E},r.createElement(i.Form.Label,null,null!=p?p:x("price")),r.createElement(u,{hasValidation:!0},r.createElement(u.Prepend,null,r.createElement(u.Text,null,r.createElement(n.default,{type:"pound-sign",width:".6rem",className:"p-0"}))),r.createElement(o.Controller,{render:function(e){var t=e.field,a=t.value,n=t.onChange,o=t.name,c=t.ref;return r.createElement(i.Form.Control,{ref:c,type:"number",min:0,max:999999.99,step:"0.01",value:a,name:o,onChange:n,isInvalid:l.isInvalid("".concat(d,".price"),q),disabled:m})},control:b,name:"".concat(d,".price"),rules:{required:x("Validation:fieldRequired",{attribute:x("price")}),min:{value:0,message:x("Validation:fieldMinNumber",{attribute:x("price"),min:0})},max:{value:999999.99,message:x("Validation:fieldMaxNumber",{attribute:x("price"),max:999999.99})}}}),r.createElement(i.Form.Control.Feedback,{type:"invalid"},l.getErrors("".concat(d,".price"),q)))))};
@@ -1 +1 @@
1
- {"version":3,"file":"ProductQuantityRechargingControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/quantity/ProductQuantityRechargingControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EACL,mBAAmB,EACnB,UAAU,EACX,MAAM,8DAA8D,CAAC;AAStE,MAAM,WAAW,sCAAuC,SAAQ,UAAU;IACxE,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,qCAAqC,CAAC,CAAC,CACtD,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC9B,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,cAAc,KAAK,IAAI,CAAC;CAC7C;AAED,wBAAgB,gCAAgC,CAAC,CAAC,SAAS,UAAU,EACnE,KAAK,EAAE,qCAAqC,CAAC,CAAC,CAAC,eAuGhD"}
1
+ {"version":3,"file":"ProductQuantityRechargingControl.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/quantity/ProductQuantityRechargingControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAEzC,OAAO,EACL,mBAAmB,EACnB,UAAU,EACX,MAAM,8DAA8D,CAAC;AAStE,MAAM,WAAW,sCAAuC,SAAQ,UAAU;IACxE,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,qCAAqC,CAAC,CAAC,CACtD,SAAQ,mBAAmB,CAAC,CAAC,CAAC;IAC9B,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,cAAc,KAAK,IAAI,CAAC;CAC7C;AAED,wBAAgB,gCAAgC,CAAC,CAAC,SAAS,UAAU,EACnE,KAAK,EAAE,qCAAqC,CAAC,CAAC,CAAC,eAoFhD"}
@@ -1 +1 @@
1
- "use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react"),r=e(t),a=require("react-i18next"),n=require("react-bootstrap"),o=require("react-hook-form"),i=e(require("@licklist/plugins/dist/services/Form/HookFormService")),l=require("@react-aria/utils"),u=require("../../../assets/dashboard/increment.svg.js"),c=e(require("react-bootstrap/InputGroup"));exports.ProductQuantityRechargingControl=function(e){var s=e.isLoading,m=void 0!==s&&s,d=e.fieldNamePrefix,y=e.disabled,f=void 0!==y&&y,p=e.onFocus,b=o.useFormContext(),E=b.control,g=b.clearErrors,v=b.setError,Q=b.watch,F=b.trigger,x=b.formState.errors,q=a.useTranslation("Design").t,C=l.useId(),h=Q("".concat(d,".maxQuantity")),N=Q("".concat(d,".totalQuantity"));return t.useEffect((function(){F("".concat(d,".totalQuantity"))}),[f,d,F]),t.useEffect((function(){0===Number(N)?v("".concat(d,".totalQuantity"),{type:i.manualErrorType,message:q("Validation:fieldMinNumber",{attribute:q("totalQuantity"),min:1})}):Number(h)>Number(N)?v("".concat(d,".totalQuantity"),{type:i.manualErrorType,message:q("Validation:fieldTotalNumber",{attribute:q("totalQuantity"),max:q("maxOrderQuantity")})}):g("".concat(d,".totalQuantity"))}),[N,h,v,g]),r.createElement(r.Fragment,null,r.createElement(n.Form.Group,{controlId:C},r.createElement(n.Form.Label,null,q("totalQuantity")),r.createElement(c,{hasValidation:!0},r.createElement(c.Prepend,null,r.createElement(c.Text,{className:"py-0 px-3"},r.createElement(u.ReactComponent,null))),r.createElement(o.Controller,{render:function(e){var t=e.field,a=t.value,o=t.onChange,l=t.ref;return r.createElement(n.Form.Control,{ref:l,type:"number",min:0,step:1,value:a,onFocus:p,onChange:o,isInvalid:i.isInvalid("".concat(d,".totalQuantity"),x),disabled:m||f})},control:E,name:"".concat(d,".totalQuantity"),rules:f?{required:!1,min:0}:{}}),r.createElement(n.Form.Control.Feedback,{type:"invalid"},i.getErrors("".concat(d,".totalQuantity"),x)))))};
1
+ "use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react"),r=e(t),a=require("react-i18next"),n=require("react-bootstrap"),o=require("react-hook-form"),i=e(require("@licklist/plugins/dist/services/Form/HookFormService")),l=require("@react-aria/utils"),u=require("../../../assets/dashboard/increment.svg.js"),c=e(require("react-bootstrap/InputGroup"));exports.ProductQuantityRechargingControl=function(e){var s=e.isLoading,d=void 0!==s&&s,m=e.fieldNamePrefix,f=e.disabled,p=void 0!==f&&f,v=e.onFocus,b=o.useFormContext(),g=b.trigger,y=b.control,E=b.formState.errors,q=a.useTranslation("Design").t,F=l.useId();return t.useEffect((function(){g("".concat(m,".totalQuantity"))}),[p,m,g]),r.createElement(r.Fragment,null,r.createElement(n.Form.Group,{controlId:F},r.createElement(n.Form.Label,null,q("totalQuantity")),r.createElement(c,{hasValidation:!0},r.createElement(c.Prepend,null,r.createElement(c.Text,{className:"py-0 px-3"},r.createElement(u.ReactComponent,null))),r.createElement(o.Controller,{render:function(e){var t=e.field,a=t.value,o=t.onChange,l=t.ref;return r.createElement(n.Form.Control,{ref:l,type:"number",min:0,step:1,value:a,onFocus:v,onChange:o,isInvalid:i.isInvalid("".concat(m,".totalQuantity"),E),disabled:d||p})},control:y,name:"".concat(m,".totalQuantity"),rules:p?{required:!1,min:0}:{required:q("Validation:fieldRequired",{attribute:q("totalQuantity")}),min:{value:1,message:q("Validation:fieldMinNumber",{attribute:q("totalQuantity"),min:1})}}}),r.createElement(n.Form.Control.Feedback,{type:"invalid"},i.getErrors("".concat(m,".totalQuantity"),E)))))};
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent } from "react";
2
- export type ProductSetTabProps = {
2
+ export declare type ProductSetTabProps = {
3
3
  eventKey?: string;
4
4
  title?: string;
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ProductSetTab.d.ts","sourceRoot":"","sources":["../../../src/product-set/tabs/ProductSetTab.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGjD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,iBAAiB,CAAC,kBAAkB,CAY/D,CAAC"}
1
+ {"version":3,"file":"ProductSetTab.d.ts","sourceRoot":"","sources":["../../../src/product-set/tabs/ProductSetTab.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGjD,oBAAY,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,iBAAiB,CAAC,kBAAkB,CAY/D,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React, { PropsWithChildren } from "react";
2
- export type ProductSetTabsProps = {
2
+ export declare type ProductSetTabsProps = {
3
3
  defaultActiveKey?: string;
4
4
  };
5
5
  export declare function ProductSetTabs({ defaultActiveKey, children, }: PropsWithChildren<ProductSetTabsProps>): JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"ProductSetTabs.d.ts","sourceRoot":"","sources":["../../../src/product-set/tabs/ProductSetTabs.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAIjD,MAAM,MAAM,mBAAmB,GAAG;IAChC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,wBAAgB,cAAc,CAAC,EAC7B,gBAAgB,EAChB,QAAQ,GACT,EAAE,iBAAiB,CAAC,mBAAmB,CAAC,eAYxC;yBAfe,cAAc"}
1
+ {"version":3,"file":"ProductSetTabs.d.ts","sourceRoot":"","sources":["../../../src/product-set/tabs/ProductSetTabs.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAIjD,oBAAY,mBAAmB,GAAG;IAChC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,wBAAgB,cAAc,CAAC,EAC7B,gBAAgB,EAChB,QAAQ,GACT,EAAE,iBAAiB,CAAC,mBAAmB,CAAC,eAYxC;yBAfe,cAAc"}
@@ -2,20 +2,20 @@ import { WithId } from "../form";
2
2
  import { ProductControlValues } from "../product";
3
3
  import { ProductCategoryControlValues } from "../product-category";
4
4
  import { StepControlValues } from "../step";
5
- export type SubProduct = WithId & ProductControlValues;
6
- export type Product = WithId & ProductControlValues & {
5
+ export declare type SubProduct = WithId & ProductControlValues;
6
+ export declare type Product = WithId & ProductControlValues & {
7
7
  subProducts?: SubProduct[];
8
8
  _id?: number;
9
9
  };
10
- export type ProductCategory = WithId & ProductCategoryControlValues & {
10
+ export declare type ProductCategory = WithId & ProductCategoryControlValues & {
11
11
  products?: Product[];
12
12
  _id?: number;
13
13
  };
14
- export type Step = WithId & StepControlValues & {
14
+ export declare type Step = WithId & StepControlValues & {
15
15
  productCategories?: ProductCategory[];
16
16
  _id?: number;
17
17
  };
18
- export type IsDeletableEvent = {
18
+ export declare type IsDeletableEvent = {
19
19
  onDelete?: () => void;
20
20
  };
21
21
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/product-set/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,oBAAoB,CAAC;AAEvD,MAAM,MAAM,OAAO,GAAG,MAAM,GAC1B,oBAAoB,GAAG;IAAE,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEtE,MAAM,MAAM,eAAe,GAAG,MAAM,GAClC,4BAA4B,GAAG;IAAE,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAExE,MAAM,MAAM,IAAI,GAAG,MAAM,GACvB,iBAAiB,GAAG;IAAE,iBAAiB,CAAC,EAAE,eAAe,EAAE,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAG9E,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/product-set/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,oBAAY,UAAU,GAAG,MAAM,GAAG,oBAAoB,CAAC;AAEvD,oBAAY,OAAO,GAAG,MAAM,GAC1B,oBAAoB,GAAG;IAAE,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEtE,oBAAY,eAAe,GAAG,MAAM,GAClC,4BAA4B,GAAG;IAAE,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAExE,oBAAY,IAAI,GAAG,MAAM,GACvB,iBAAiB,GAAG;IAAE,iBAAiB,CAAC,EAAE,eAAe,EAAE,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAG9E,oBAAY,gBAAgB,GAAG;IAC7B,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC"}
@@ -1,9 +1,5 @@
1
- import { EmailTemplate } from "@licklist/core/dist/DataMapper/Notification/EmailTemplateDataMapper";
2
- import { SmsTemplate } from "@licklist/core/dist/DataMapper/Notification/SmsTemplateDataMapper";
3
- import { TemplateItem } from "../control/ProductSetControl";
4
1
  export declare const moveArrayElements: <T>(array: T[], prevIndex: number, nextIndex: number) => T[];
5
2
  export declare const sortArrayByIndex: <T>(array: T[]) => (T & {
6
3
  sort: number;
7
4
  })[];
8
- export declare const getFilteredTemplates: (templates?: EmailTemplate[] | SmsTemplate[], formTemplates?: TemplateItem[]) => TemplateItem[] | undefined;
9
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/product-set/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,qEAAqE,CAAC;AACpG,OAAO,EAAE,WAAW,EAAE,MAAM,mEAAmE,CAAC;AAChG,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,eAAO,MAAM,iBAAiB,6BAEjB,MAAM,aACN,MAAM,QAQlB,CAAC;AAEF,eAAO,MAAM,gBAAgB;;IAE5B,CAAC;AAEF,eAAO,MAAM,oBAAoB,eACnB,aAAa,EAAE,GAAG,WAAW,EAAE,kBAC3B,YAAY,EAAE,KAC7B,YAAY,EAAE,GAAG,SAmBnB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/product-set/utils/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,6BAEjB,MAAM,aACN,MAAM,QAQlB,CAAC;AAEF,eAAO,MAAM,gBAAgB;;IAE5B,CAAC"}
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var i=require("tslib");exports.getFilteredTemplates=function(i,e){var n;if(i)return null===(n=null==i?void 0:i.filter((function(i){return i.notification.isActive&&!(null==e?void 0:e.find((function(e){return e.value.notification.type===i.notification.type})))})))||void 0===n?void 0:n.map((function(i){var e;return{id:null==i?void 0:i.id,value:i,label:null===(e=null==i?void 0:i.notification)||void 0===e?void 0:e.name}}))},exports.moveArrayElements=function(e,n,t){var r=i.__spreadArray([],i.__read(e),!1);return r.splice(t,0,r.splice(n,1)[0]),r},exports.sortArrayByIndex=function(e){return e.map((function(e,n){return i.__assign(i.__assign({},e),{sort:n})}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("tslib");exports.moveArrayElements=function(e,s,t){var n=r.__spreadArray([],r.__read(e),!1);return n.splice(t,0,n.splice(s,1)[0]),n},exports.sortArrayByIndex=function(e){return e.map((function(e,s){return r.__assign(r.__assign({},e),{sort:s})}))};
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { CategoryGroup } from "../../types/categories";
3
- export type CategoriesInputProps = {
3
+ export declare type CategoriesInputProps = {
4
4
  categories: CategoryGroup[];
5
5
  };
6
6
  export declare function CategoriesInput({ categories: groups }: CategoriesInputProps): JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"CategoriesInput.d.ts","sourceRoot":"","sources":["../../../src/provider/categories-input/CategoriesInput.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAY,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEjE,MAAM,MAAM,oBAAoB,GAAG;IACjC,UAAU,EAAE,aAAa,EAAE,CAAC;CAC7B,CAAC;AAkBF,wBAAgB,eAAe,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,oBAAoB,eAwB3E"}
1
+ {"version":3,"file":"CategoriesInput.d.ts","sourceRoot":"","sources":["../../../src/provider/categories-input/CategoriesInput.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAY,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEjE,oBAAY,oBAAoB,GAAG;IACjC,UAAU,EAAE,aAAa,EAAE,CAAC;CAC7B,CAAC;AAkBF,wBAAgB,eAAe,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,oBAAoB,eAwB3E"}
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { CategoryGroup } from "../../types/categories";
3
- export type CategoriesInputDescriptionProps = {
3
+ export declare type CategoriesInputDescriptionProps = {
4
4
  categories: CategoryGroup[];
5
5
  };
6
6
  export declare function CategoriesInputDescription({ categories: groups, }: CategoriesInputDescriptionProps): JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"CategoriesInputDescription.d.ts","sourceRoot":"","sources":["../../../src/provider/categories-input/CategoriesInputDescription.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAGvD,MAAM,MAAM,+BAA+B,GAAG;IAC5C,UAAU,EAAE,aAAa,EAAE,CAAC;CAC7B,CAAC;AAEF,wBAAgB,0BAA0B,CAAC,EACzC,UAAU,EAAE,MAAM,GACnB,EAAE,+BAA+B,eAiCjC"}
1
+ {"version":3,"file":"CategoriesInputDescription.d.ts","sourceRoot":"","sources":["../../../src/provider/categories-input/CategoriesInputDescription.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAGvD,oBAAY,+BAA+B,GAAG;IAC5C,UAAU,EAAE,aAAa,EAAE,CAAC;CAC7B,CAAC;AAEF,wBAAgB,0BAA0B,CAAC,EACzC,UAAU,EAAE,MAAM,GACnB,EAAE,+BAA+B,eAiCjC"}
@@ -1,6 +1,6 @@
1
1
  export * from "./CategoriesInput";
2
2
  export * from "./CategoriesInputDescription";
3
- export type CategoriesInputValues = {
3
+ export declare type CategoriesInputValues = {
4
4
  categories: string[];
5
5
  };
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/provider/categories-input/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,8BAA8B,CAAC;AAE7C,MAAM,MAAM,qBAAqB,GAAG;IAClC,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/provider/categories-input/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,8BAA8B,CAAC;AAE7C,oBAAY,qBAAqB,GAAG;IAClC,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC"}
@@ -1,11 +1,11 @@
1
1
  /// <reference types="react" />
2
2
  import { User } from "@licklist/core/dist/DataMapper/User/UserDataMapper";
3
3
  import { VIEWER_ROLE, MANAGER_ROLE, SUBMANAGER_ROLE } from "@licklist/core/dist/DataMapper/User/UserRoleDataMapper";
4
- export type UserFormValues = {
4
+ export declare type UserFormValues = {
5
5
  email?: User["email"];
6
6
  role?: typeof VIEWER_ROLE | typeof MANAGER_ROLE | typeof SUBMANAGER_ROLE;
7
7
  };
8
- export type UserFormProps = {
8
+ export declare type UserFormProps = {
9
9
  defaultValues?: UserFormValues;
10
10
  onSubmit: (values: {
11
11
  email: User["email"];
@@ -1 +1 @@
1
- {"version":3,"file":"UserForm.d.ts","sourceRoot":"","sources":["../../../../src/provider/company/user-form/UserForm.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,IAAI,EAAE,MAAM,oDAAoD,CAAC;AAC1E,OAAO,EACL,WAAW,EACX,YAAY,EACZ,eAAe,EAChB,MAAM,wDAAwD,CAAC;AAQhE,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IACtB,IAAI,CAAC,EAAE,OAAO,WAAW,GAAG,OAAO,YAAY,GAAG,OAAO,eAAe,CAAC;CAC1E,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,aAAa,CAAC,EAAE,cAAc,CAAC;IAC/B,QAAQ,EAAE,CAAC,MAAM,EAAE;QACjB,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QACrB,IAAI,EAAE,OAAO,WAAW,GAAG,OAAO,YAAY,GAAG,OAAO,eAAe,CAAC;KACzE,KAAK,IAAI,CAAC;IACX,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,QAAQ,2DAKlB,aAAa,gBAoHf,CAAC"}
1
+ {"version":3,"file":"UserForm.d.ts","sourceRoot":"","sources":["../../../../src/provider/company/user-form/UserForm.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,IAAI,EAAE,MAAM,oDAAoD,CAAC;AAC1E,OAAO,EACL,WAAW,EACX,YAAY,EACZ,eAAe,EAChB,MAAM,wDAAwD,CAAC;AAQhE,oBAAY,cAAc,GAAG;IAC3B,KAAK,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IACtB,IAAI,CAAC,EAAE,OAAO,WAAW,GAAG,OAAO,YAAY,GAAG,OAAO,eAAe,CAAC;CAC1E,CAAC;AAEF,oBAAY,aAAa,GAAG;IAC1B,aAAa,CAAC,EAAE,cAAc,CAAC;IAC/B,QAAQ,EAAE,CAAC,MAAM,EAAE;QACjB,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QACrB,IAAI,EAAE,OAAO,WAAW,GAAG,OAAO,YAAY,GAAG,OAAO,eAAe,CAAC;KACzE,KAAK,IAAI,CAAC;IACX,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,QAAQ,2DAKlB,aAAa,gBAoHf,CAAC"}
@@ -1,6 +1,6 @@
1
1
  export * from "./LocationInput";
2
2
  export * from "./LocationInputDescription";
3
- export type LocationInputValues = {
3
+ export declare type LocationInputValues = {
4
4
  location: {
5
5
  street: string;
6
6
  city: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/provider/location-input/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAE3C,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,EAAE;QACR,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;QACjB,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/provider/location-input/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAE3C,oBAAY,mBAAmB,GAAG;IAChC,QAAQ,EAAE;QACR,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;QACjB,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH,CAAC"}
@@ -2,7 +2,7 @@
2
2
  import { Image } from "@licklist/core/dist/DataMapper/Media/ImageDataMapper";
3
3
  import { TypeaheadOptions } from "../../typeahead";
4
4
  import { ProviderLinksInputProps, ProviderLinksInputValues } from "../provider-links-input";
5
- export type ProviderDetailsInputValues = {
5
+ export declare type ProviderDetailsInputValues = {
6
6
  name: string;
7
7
  description: string;
8
8
  email: string;
@@ -13,7 +13,7 @@ export type ProviderDetailsInputValues = {
13
13
  };
14
14
  images: Image[] | null;
15
15
  } & ProviderLinksInputValues;
16
- export type ProviderDetailsInputProps = {
16
+ export declare type ProviderDetailsInputProps = {
17
17
  companiesOptions?: TypeaheadOptions[];
18
18
  linkTypes?: ProviderLinksInputProps["linkTypes"];
19
19
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ProviderDetailsInput.d.ts","sourceRoot":"","sources":["../../../src/provider/provider-details-input/ProviderDetailsInput.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,KAAK,EAAE,MAAM,sDAAsD,CAAC;AAE7E,OAAO,EAAa,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAEL,uBAAuB,EACvB,wBAAwB,EACzB,MAAM,yBAAyB,CAAC;AAEjC,MAAM,MAAM,0BAA0B,GAAG;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;IACzB,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;CACxB,GAAG,wBAAwB,CAAC;AAE7B,MAAM,MAAM,yBAAyB,GAAG;IACtC,gBAAgB,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACtC,SAAS,CAAC,EAAE,uBAAuB,CAAC,WAAW,CAAC,CAAC;CAClD,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,EACnC,gBAAqB,EACrB,SAAc,GACf,EAAE,yBAAyB,eA+H3B"}
1
+ {"version":3,"file":"ProviderDetailsInput.d.ts","sourceRoot":"","sources":["../../../src/provider/provider-details-input/ProviderDetailsInput.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,KAAK,EAAE,MAAM,sDAAsD,CAAC;AAE7E,OAAO,EAAa,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAEL,uBAAuB,EACvB,wBAAwB,EACzB,MAAM,yBAAyB,CAAC;AAEjC,oBAAY,0BAA0B,GAAG;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;IACzB,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;CACxB,GAAG,wBAAwB,CAAC;AAE7B,oBAAY,yBAAyB,GAAG;IACtC,gBAAgB,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACtC,SAAS,CAAC,EAAE,uBAAuB,CAAC,WAAW,CAAC,CAAC;CAClD,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,EACnC,gBAAqB,EACrB,SAAc,GACf,EAAE,yBAAyB,eAiI3B"}
@@ -1 +1 @@
1
- "use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var r=require("tslib"),t=e(require("react")),n=require("react-i18next"),i=require("react-bootstrap"),a=require("react-hook-form"),o=e(require("@licklist/plugins/dist/services/Form/HookFormService")),l=require("@react-aria/utils"),s=require("../../typeahead/Typeahead.js"),m=require("../provider-links-input/ProviderLinksInput.js");exports.ProviderDetailsInput=function(e){var d,u,p,c,v,g=e.companiesOptions,E=void 0===g?[]:g,F=e.linkTypes,b=void 0===F?[]:F,h=a.useFormContext(),I=h.register,q=h.formState.errors,y=n.useTranslation(["App","Design","Validation"]).t,f=l.useId(),D=l.useId(),k=l.useId(),_=l.useId(),C=l.useId(),w=l.useId();return t.createElement(t.Fragment,null,t.createElement(i.Form.Group,{controlId:f},t.createElement(i.Form.Label,null,y("Design:name")),t.createElement(i.Form.Control,r.__assign({},I("name",{required:y("Validation:fieldRequired",{attribute:y("Design:name")})}),{name:"name",required:!0,isInvalid:Boolean(q.name)})),t.createElement(i.Form.Control.Feedback,{type:"invalid"},o.hasError(q.name,"required")&&(null===(d=q.name)||void 0===d?void 0:d.message))),t.createElement(i.Form.Group,{controlId:D},t.createElement(i.Form.Label,null,y("Design:description")),t.createElement(i.Form.Control,r.__assign({},I("description"),{as:"textarea",name:"description",rows:6}))),t.createElement(i.Form.Group,{controlId:k},t.createElement(i.Form.Label,null,y("Design:email")),t.createElement(i.Form.Control,r.__assign({},I("email",{required:y("Validation:fieldRequired",{attribute:y("Design:email")}),pattern:{value:/^\S+@\S+$/,message:y("Validation:fieldValidEmail",{attribute:y("Design:email")})}}),{name:"email",type:"email",inputMode:"email",isInvalid:Boolean(q.email)})),t.createElement(i.Form.Control.Feedback,{type:"invalid"},o.hasError(q.email,"required")&&(null===(u=q.email)||void 0===u?void 0:u.message),o.hasError(q.email,"pattern")&&(null===(p=q.email)||void 0===p?void 0:p.message))),t.createElement(i.Form.Group,{controlId:_},t.createElement(i.Form.Label,null,y("Design:phone")),t.createElement(i.Form.Control,r.__assign({},I("phone",{required:y("Validation:fieldRequired",{attribute:y("Design:phone")})}),{name:"phone",type:"tel",inputMode:"tel",isInvalid:Boolean(q.phone)})),t.createElement(i.Form.Control.Feedback,{type:"invalid"},o.hasError(q.phone,"required")&&(null===(c=q.phone)||void 0===c?void 0:c.message))),t.createElement(i.Form.Group,{controlId:C},t.createElement(i.Form.Label,null,y("Design:website")),t.createElement(i.Form.Control,r.__assign({},I("website",{pattern:{value:/\S+\.\S+/,message:y("Validation:fieldInvalid",{attribute:y("Design:website")})}}),{name:"website",type:"url",inputMode:"url",isInvalid:Boolean(q.website)})),t.createElement(i.Form.Control.Feedback,{type:"invalid"},o.hasError(q.website,"pattern")&&(null===(v=q.website)||void 0===v?void 0:v.message))),E.length>1&&t.createElement(i.Form.Group,{controlId:w},t.createElement(i.Form.Label,null,y("Design:company")),t.createElement(s.Typeahead,{name:"company",options:E,placeholder:y("App:select"),noOptionsMessage:y("App:noMatchesFound")})),b.length>0&&t.createElement(m.ProviderLinksInput,{linkTypes:b}))};
1
+ "use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var r=require("tslib"),t=e(require("react")),n=require("react-i18next"),a=require("react-bootstrap"),i=require("react-hook-form"),o=e(require("@licklist/plugins/dist/services/Form/HookFormService")),l=require("@react-aria/utils"),s=require("../../typeahead/Typeahead.js"),m=require("../provider-links-input/ProviderLinksInput.js");exports.ProviderDetailsInput=function(e){var d,u,p,c,v,g=e.companiesOptions,E=void 0===g?[]:g,F=e.linkTypes,b=void 0===F?[]:F,h=i.useFormContext(),I=h.register,q=h.formState.errors,y=h.setValue,f=n.useTranslation(["App","Design","Validation"]).t,D=l.useId(),k=l.useId(),_=l.useId(),C=l.useId(),V=l.useId(),w=l.useId();return t.createElement(t.Fragment,null,t.createElement(a.Form.Group,{controlId:D},t.createElement(a.Form.Label,null,f("Design:name")),t.createElement(a.Form.Control,r.__assign({},I("name",{required:f("Validation:fieldRequired",{attribute:f("Design:name")})}),{name:"name",required:!0,isInvalid:Boolean(q.name)})),t.createElement(a.Form.Control.Feedback,{type:"invalid"},o.hasError(q.name,"required")&&(null===(d=q.name)||void 0===d?void 0:d.message))),t.createElement(a.Form.Group,{controlId:k},t.createElement(a.Form.Label,null,f("Design:description")),t.createElement(a.Form.Control,r.__assign({},I("description"),{as:"textarea",name:"description",rows:6}))),t.createElement(a.Form.Group,{controlId:_},t.createElement(a.Form.Label,null,f("Design:email")),t.createElement(a.Form.Control,r.__assign({},I("email",{required:f("Validation:fieldRequired",{attribute:f("Design:email")}),pattern:{value:/^\S+@\S+$/,message:f("Validation:fieldValidEmail",{attribute:f("Design:email")})}}),{name:"email",type:"email",inputMode:"email",isInvalid:Boolean(q.email)})),t.createElement(a.Form.Control.Feedback,{type:"invalid"},o.hasError(q.email,"required")&&(null===(u=q.email)||void 0===u?void 0:u.message),o.hasError(q.email,"pattern")&&(null===(p=q.email)||void 0===p?void 0:p.message))),t.createElement(a.Form.Group,{controlId:C},t.createElement(a.Form.Label,null,f("Design:phone")),t.createElement(a.Form.Control,r.__assign({},I("phone",{required:f("Validation:fieldRequired",{attribute:f("Design:phone")})}),{name:"phone",type:"tel",inputMode:"tel",isInvalid:Boolean(q.phone)})),t.createElement(a.Form.Control.Feedback,{type:"invalid"},o.hasError(q.phone,"required")&&(null===(c=q.phone)||void 0===c?void 0:c.message))),t.createElement(a.Form.Group,{controlId:V},t.createElement(a.Form.Label,null,f("Design:website")),t.createElement(a.Form.Control,r.__assign({},I("website",{pattern:{value:/\S+\.\S+/,message:f("Validation:fieldInvalid",{attribute:f("Design:website")})}}),{name:"website",type:"url",inputMode:"url",isInvalid:Boolean(q.website)})),t.createElement(a.Form.Control.Feedback,{type:"invalid"},o.hasError(q.website,"pattern")&&(null===(v=q.website)||void 0===v?void 0:v.message))),E.length>1&&t.createElement(a.Form.Group,{controlId:w},t.createElement(a.Form.Label,null,f("Design:company")),t.createElement(s.Typeahead,{name:"company",options:E,setValue:y,placeholder:f("App:select"),noOptionsMessage:f("App:noMatchesFound")})),b.length>0&&t.createElement(m.ProviderLinksInput,{linkTypes:b}))};
@@ -4,7 +4,7 @@ import { CategoriesInputProps, CategoriesInputValues } from "../categories-input
4
4
  import { LocationInputValues } from "../location-input";
5
5
  import { ProviderDetailsInputProps, ProviderDetailsInputValues } from "../provider-details-input";
6
6
  import { TypeaheadOptions } from "../../typeahead";
7
- export type ProviderFormValues = ProviderDetailsInputValues & LocationInputValues & CategoriesInputValues;
7
+ export declare type ProviderFormValues = ProviderDetailsInputValues & LocationInputValues & CategoriesInputValues;
8
8
  export interface ProviderFormProps extends HasPermissionProp {
9
9
  defaultValues?: ProviderFormValues;
10
10
  categories?: CategoriesInputProps["categories"];
@@ -1 +1 @@
1
- {"version":3,"file":"ProviderForm.d.ts","sourceRoot":"","sources":["../../../src/provider/provider-form/ProviderForm.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAC;AAEvF,OAAO,EAGL,oBAAoB,EACpB,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,yBAAyB,EACzB,0BAA0B,EAC3B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAGnD,MAAM,MAAM,kBAAkB,GAAG,0BAA0B,GACzD,mBAAmB,GACnB,qBAAqB,CAAC;AAExB,MAAM,WAAW,iBAAkB,SAAQ,iBAAiB;IAC1D,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC,UAAU,CAAC,EAAE,oBAAoB,CAAC,YAAY,CAAC,CAAC;IAChD,SAAS,CAAC,EAAE,yBAAyB,CAAC,WAAW,CAAC,CAAC;IACnD,gBAAgB,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACtC,QAAQ,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAC/C,MAAM,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;CAC9B;AAOD,wBAAgB,YAAY,CAAC,EAC3B,aAAa,EACb,UAAU,EACV,gBAAgB,EAChB,SAAS,EACT,QAAQ,EACR,MAAiB,EACjB,aAAoB,GACrB,EAAE,iBAAiB,eA6GnB"}
1
+ {"version":3,"file":"ProviderForm.d.ts","sourceRoot":"","sources":["../../../src/provider/provider-form/ProviderForm.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAC;AAEvF,OAAO,EAGL,oBAAoB,EACpB,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,yBAAyB,EACzB,0BAA0B,EAC3B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAGnD,oBAAY,kBAAkB,GAAG,0BAA0B,GACzD,mBAAmB,GACnB,qBAAqB,CAAC;AAExB,MAAM,WAAW,iBAAkB,SAAQ,iBAAiB;IAC1D,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC,UAAU,CAAC,EAAE,oBAAoB,CAAC,YAAY,CAAC,CAAC;IAChD,SAAS,CAAC,EAAE,yBAAyB,CAAC,WAAW,CAAC,CAAC;IACnD,gBAAgB,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACtC,QAAQ,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAC/C,MAAM,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;CAC9B;AAOD,wBAAgB,YAAY,CAAC,EAC3B,aAAa,EACb,UAAU,EACV,gBAAgB,EAChB,SAAS,EACT,QAAQ,EACR,MAAiB,EACjB,aAAoB,GACrB,EAAE,iBAAiB,eA6GnB"}
@@ -1,9 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import { ProviderLink, ProviderLinkType } from "../../types/provider-links";
3
- export type ProviderLinksInputValues = {
3
+ export declare type ProviderLinksInputValues = {
4
4
  links: ProviderLink[];
5
5
  };
6
- export type ProviderLinksInputProps = {
6
+ export declare type ProviderLinksInputProps = {
7
7
  linkTypes: ProviderLinkType[];
8
8
  };
9
9
  export declare function ProviderLinksInput({ linkTypes }: ProviderLinksInputProps): JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"ProviderLinksInput.d.ts","sourceRoot":"","sources":["../../../src/provider/provider-links-input/ProviderLinksInput.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE5E,MAAM,MAAM,wBAAwB,GAAG;IACrC,KAAK,EAAE,YAAY,EAAE,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,SAAS,EAAE,gBAAgB,EAAE,CAAC;CAC/B,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,EAAE,SAAS,EAAE,EAAE,uBAAuB,eAqDxE"}
1
+ {"version":3,"file":"ProviderLinksInput.d.ts","sourceRoot":"","sources":["../../../src/provider/provider-links-input/ProviderLinksInput.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE5E,oBAAY,wBAAwB,GAAG;IACrC,KAAK,EAAE,YAAY,EAAE,CAAC;CACvB,CAAC;AAEF,oBAAY,uBAAuB,GAAG;IACpC,SAAS,EAAE,gBAAgB,EAAE,CAAC;CAC/B,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,EAAE,SAAS,EAAE,EAAE,uBAAuB,eAqDxE"}
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { Zone } from "@licklist/core/dist/DataMapper/Provider/ZoneDataMapper";
3
- export type ResourcesBlockingModalProps = {
3
+ export declare type ResourcesBlockingModalProps = {
4
4
  show: boolean;
5
5
  zones: Zone[];
6
6
  lanes: {
@@ -1 +1 @@
1
- {"version":3,"file":"ResourcesBlockingModal.d.ts","sourceRoot":"","sources":["../../../src/provider/resources-blocking-modal/ResourcesBlockingModal.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,IAAI,EAAE,MAAM,wDAAwD,CAAC;AAc9E,MAAM,MAAM,2BAA2B,GAAG;IACxC,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,KAAK,EAAE;QAAE,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QAAC,KAAK,EAAE,MAAM,EAAE,CAAA;KAAE,EAAE,CAAC;CAClD,CAAC;AAEF,eAAO,MAAM,sBAAsB,4BAIhC,2BAA2B,gBAwE7B,CAAC"}
1
+ {"version":3,"file":"ResourcesBlockingModal.d.ts","sourceRoot":"","sources":["../../../src/provider/resources-blocking-modal/ResourcesBlockingModal.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,IAAI,EAAE,MAAM,wDAAwD,CAAC;AAc9E,oBAAY,2BAA2B,GAAG;IACxC,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,KAAK,EAAE;QAAE,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QAAC,KAAK,EAAE,MAAM,EAAE,CAAA;KAAE,EAAE,CAAC;CAClD,CAAC;AAEF,eAAO,MAAM,sBAAsB,4BAIhC,2BAA2B,gBAwE7B,CAAC"}
@@ -5,7 +5,7 @@ import { LocationInputValues } from "../location-input";
5
5
  import { ProviderDetailsInputProps, ProviderDetailsInputValues } from "../provider-details-input";
6
6
  import { WorkingHoursInputValues } from "../working-hours-input";
7
7
  import { TypeaheadOptions } from "../../typeahead";
8
- export type VenueFormValues = ProviderDetailsInputValues & LocationInputValues & WorkingHoursInputValues & CategoriesInputValues;
8
+ export declare type VenueFormValues = ProviderDetailsInputValues & LocationInputValues & WorkingHoursInputValues & CategoriesInputValues;
9
9
  export interface VenueFormProps extends HasPermissionProp {
10
10
  defaultValues?: VenueFormValues;
11
11
  categories?: CategoriesInputProps["categories"];
@@ -1 +1 @@
1
- {"version":3,"file":"VenueForm.d.ts","sourceRoot":"","sources":["../../../src/provider/venue-form/VenueForm.tsx"],"names":[],"mappings":";AAUA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAC;AAGvF,OAAO,EAGL,oBAAoB,EACpB,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,yBAAyB,EACzB,0BAA0B,EAC3B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAGL,uBAAuB,EACxB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAGnD,MAAM,MAAM,eAAe,GAAG,0BAA0B,GACtD,mBAAmB,GACnB,uBAAuB,GACvB,qBAAqB,CAAC;AAExB,MAAM,WAAW,cAAe,SAAQ,iBAAiB;IACvD,aAAa,CAAC,EAAE,eAAe,CAAC;IAChC,UAAU,CAAC,EAAE,oBAAoB,CAAC,YAAY,CAAC,CAAC;IAChD,SAAS,CAAC,EAAE,yBAAyB,CAAC,WAAW,CAAC,CAAC;IACnD,gBAAgB,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACtC,QAAQ,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,CAAC;IAC5C,MAAM,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;CAC9B;AAOD,wBAAgB,SAAS,CAAC,EACxB,aAAa,EACb,UAAU,EACV,SAAS,EACT,gBAAqB,EACrB,QAAQ,EACR,MAAiB,EACjB,aAAoB,GACrB,EAAE,cAAc,eAqHhB"}
1
+ {"version":3,"file":"VenueForm.d.ts","sourceRoot":"","sources":["../../../src/provider/venue-form/VenueForm.tsx"],"names":[],"mappings":";AAUA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAC;AAGvF,OAAO,EAGL,oBAAoB,EACpB,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,yBAAyB,EACzB,0BAA0B,EAC3B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAGL,uBAAuB,EACxB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAGnD,oBAAY,eAAe,GAAG,0BAA0B,GACtD,mBAAmB,GACnB,uBAAuB,GACvB,qBAAqB,CAAC;AAExB,MAAM,WAAW,cAAe,SAAQ,iBAAiB;IACvD,aAAa,CAAC,EAAE,eAAe,CAAC;IAChC,UAAU,CAAC,EAAE,oBAAoB,CAAC,YAAY,CAAC,CAAC;IAChD,SAAS,CAAC,EAAE,yBAAyB,CAAC,WAAW,CAAC,CAAC;IACnD,gBAAgB,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACtC,QAAQ,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,CAAC;IAC5C,MAAM,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;CAC9B;AAOD,wBAAgB,SAAS,CAAC,EACxB,aAAa,EACb,UAAU,EACV,SAAS,EACT,gBAAqB,EACrB,QAAQ,EACR,MAAiB,EACjB,aAAoB,GACrB,EAAE,cAAc,eAqHhB"}
@@ -1,6 +1,6 @@
1
1
  export * from "./WorkingHoursInput";
2
2
  export * from "./WorkingHoursInputDescription";
3
- export type WorkingHoursInputValues = {
3
+ export declare type WorkingHoursInputValues = {
4
4
  workingHours: ({
5
5
  start: string;
6
6
  end: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/provider/working-hours-input/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,gCAAgC,CAAC;AAE/C,MAAM,MAAM,uBAAuB,GAAG;IACpC,YAAY,EAAE,CACV;QACE,KAAK,EAAE,MAAM,CAAC;QACd,GAAG,EAAE,MAAM,CAAC;QACZ,WAAW,EAAE,MAAM,CAAC;KACrB,GACD,SAAS,CACZ,EAAE,CAAC;CACL,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/provider/working-hours-input/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,gCAAgC,CAAC;AAE/C,oBAAY,uBAAuB,GAAG;IACpC,YAAY,EAAE,CACV;QACE,KAAK,EAAE,MAAM,CAAC;QACd,GAAG,EAAE,MAAM,CAAC;QACZ,WAAW,EAAE,MAAM,CAAC;KACrB,GACD,SAAS,CACZ,EAAE,CAAC;CACL,CAAC"}
@@ -3,8 +3,8 @@ export declare const getWeekdayForFrequency: ({ date, frequency, }: {
3
3
  date: string;
4
4
  frequency: Frequency;
5
5
  }) => Weekday;
6
- export type SupportedFrequency = Frequency.DAILY | Frequency.WEEKLY | Frequency.MONTHLY | Frequency.YEARLY;
7
- export type ParsedRRuleOptions = {
6
+ export declare type SupportedFrequency = Frequency.DAILY | Frequency.WEEKLY | Frequency.MONTHLY | Frequency.YEARLY;
7
+ export declare type ParsedRRuleOptions = {
8
8
  interval?: number;
9
9
  freq: SupportedFrequency;
10
10
  byweekday?: Weekday[];
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/recurrence-input/utils.ts"],"names":[],"mappings":"AACA,OAAc,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAElD,eAAO,MAAM,sBAAsB;UAI3B,MAAM;eACD,SAAS;MAClB,OAUH,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAC1B,SAAS,CAAC,KAAK,GACf,SAAS,CAAC,MAAM,GAChB,SAAS,CAAC,OAAO,GACjB,SAAS,CAAC,MAAM,CAAC;AAErB,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,kBAAkB,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,EAAE,CAAC;IACtB,KAAK,CAAC,EAAE,IAAI,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,qBAAqB;WAIzB,MAAM;UACP,MAAM;wBAsEb,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/recurrence-input/utils.ts"],"names":[],"mappings":"AACA,OAAc,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAElD,eAAO,MAAM,sBAAsB;UAI3B,MAAM;eACD,SAAS;MAClB,OAUH,CAAC;AAEF,oBAAY,kBAAkB,GAC1B,SAAS,CAAC,KAAK,GACf,SAAS,CAAC,MAAM,GAChB,SAAS,CAAC,OAAO,GACjB,SAAS,CAAC,MAAM,CAAC;AAErB,oBAAY,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,kBAAkB,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,EAAE,CAAC;IACtB,KAAK,CAAC,EAAE,IAAI,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,qBAAqB;WAIzB,MAAM;UACP,MAAM;wBAsEb,CAAC"}
@@ -1 +1 @@
1
- "use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var t=require("tslib"),r=require("react"),n=e(r),a=require("react-i18next"),i=e(require("react-bootstrap/Button")),l=require("react-bootstrap"),u=require("react-hook-form"),o=require("luxon"),s=require("../modals/confirmation/ConfirmModal.js");require("../modals/dialog/Dialog.js"),require("../modals/dialog/DialogContext.js");var d=require("../product-set/elements/DeleteFieldButton.js"),c=require("rrule"),m=e(c),f=require("react-intl"),v=require("@licklist/core/dist/Config/Date"),D=require("@licklist/plugins/dist/hooks/Value/usePreviousValue"),y=require("./RecurrenceIntervalAndFrequencyInput.js"),p=require("./utils.js"),T=require("./RecurrenceWeekdaysInput.js");var q=function(e){var r=e.rrule,n=e.startDate,a=e.endDate,i=e.startTime,l=e.endTime,u=e.initialFrequency,o=void 0===u?c.Frequency.DAILY:u;return t.__assign({startDate:n,endDate:a,startTime:i,endTime:l,interval:1,freq:o},r&&p.parseAndValidateRRule({rrule:r,date:n}))},g=function(e){var n=e.startDate,a=e.endDate,i=e.startTime,l=e.endTime,u=e.byWeekDay,s=void 0===u?[]:u,d=k(n,i||"00:00:00"),c=k(a,l||"23:59:59"),m=f.useIntl(),v=m.formatList,D=m.formatNumber;return r.useMemo((function(){if(d instanceof o.DateTime&&c instanceof o.DateTime&&d.isValid&&c.isValid){var e=o.Interval.fromDateTimes(d.set({second:0}),c.set({second:0})).toDuration(["days","hours","minutes"]);if(e.isValid){var r=function(e,t){return D(e,{style:"unit",unit:t,unitDisplay:"long"})},n=o.Interval.fromDateTimes(d.minus({second:1}),c.plus({second:1})).splitBy({days:1});if(!(s.length?n.reduce((function(e,t){return s.some((function(e){return e.weekday+1===t.start.weekday}))?e+1:e}),0):1))return r(0,"minute");var a=[[e.days,"day"],[e.hours,"hour"],[e.minutes,"minute"]].filter((function(e){return t.__read(e,1)[0]}));return a.length||a.push([0,"minute"]),v(a.map((function(e){return r.apply(void 0,t.__spreadArray([],t.__read(e),!1))})),{style:"long",type:"unit"})}}}),[d,c,s,v,D])},k=function(e,t){var r=o.DateTime.fromFormat("".concat(e," ").concat(t),v.DATE_TIME_FORMAT);if(r.isValid)return r;var n=o.DateTime.fromFormat("".concat(e," ").concat(t),v.DATE_TIME_FULL_FORMAT);return n.isValid?n:""};exports.RecurringDatePickerInput=function(e){var f,v,p,b,_,E,F=e.disabled,w=void 0!==F&&F,h=e.onChange,A=e.onDelete,I=e.defaultValues,V=e.initialFrequency,x=void 0===V?c.Frequency.DAILY:V,j=e.setInitialStartDateAfterSelect,L=void 0!==j&&j,R=e.children,M=e.minDate,S=a.useTranslation(["Design"]).t,N=u.useForm({defaultValues:q({rrule:null!==(f=null==I?void 0:I.rrule)&&void 0!==f?f:"",startDate:null!==(v=null==I?void 0:I.startDate)&&void 0!==v?v:"",endDate:null!==(p=null==I?void 0:I.endDate)&&void 0!==p?p:"",startTime:null!==(b=null==I?void 0:I.startTime)&&void 0!==b?b:"",endTime:null!==(_=null==I?void 0:I.endTime)&&void 0!==_?_:"",initialFrequency:null!==(E=null==I?void 0:I.freq)&&void 0!==E?E:x}),mode:"onChange"}),C=N.watch,P=N.setValue,W=N.handleSubmit,B=C("startDate"),Y=C("endDate"),O=C("startTime"),Q=C("endTime"),U=C("byweekday"),J=D.usePreviousValue(B),K=g({startDate:B,endDate:Y,startTime:O,endTime:Q,byWeekDay:U}),z=function(e){var r=k(Y,Q||"23:59:59"),n=Array.isArray(e.byweekday)?e.byweekday.map((function(e){return e instanceof c.Weekday?e:new c.Weekday(null==e?void 0:e.weekday)})):e.byweekday,a=m.optionsToString({until:r instanceof o.DateTime&&r.isValid?null==r?void 0:r.toJSDate():null,byweekday:n,count:e.count,freq:(null==n?void 0:n.length)?c.Frequency.WEEKLY:c.Frequency.DAILY,interval:e.interval}).replace("RRULE:","");h(t.__assign(t.__assign({},e),{rrule:a}))};return r.useEffect((function(){var e,t;if(L&&(!J||B)&&!B&&U&&U.length&&!Number.isNaN(null===(e=U[0])||void 0===e?void 0:e.weekday)){var r=(null===(t=U[0])||void 0===t?void 0:t.weekday)+1,n=o.DateTime.local(),a=o.DateTime.local().set({weekday:r});a>=n||r===n.weekday?P("startDate",a.toSQLDate()):P("startDate",a.plus({week:1}).toSQLDate())}}),[U,L]),n.createElement(u.FormProvider,t.__assign({},N),n.createElement(l.Form,{onSubmit:function(e){return e.preventDefault(),e.stopPropagation(),W(z)(e)}},n.createElement(T.default,{date:B,disabled:w}),n.createElement(y.default,{disabled:w,minDate:M}),R,n.createElement("div",{className:"d-inline-flex align-items-center w-100"},n.createElement(i,{type:"submit"},S("Design:apply")),n.createElement("div",{className:"d-flex flex-grow-1 text-muted mx-3 flex-column"},n.createElement("div",null,K&&"lasts ".concat(K))),I&&n.createElement("div",{className:"d-flex justify-content-end delete-btn"},n.createElement(s.ConfirmModal,null,(function(e){return n.createElement(d.DeleteFieldButton,{onDelete:function(){return e(A)}})}))))))};
1
+ "use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var t=require("tslib"),r=require("react"),n=e(r),a=require("react-i18next"),i=e(require("react-bootstrap/Button")),l=require("react-bootstrap"),u=require("react-hook-form"),o=require("luxon"),s=require("../modals/confirmation/ConfirmModal.js");require("../modals/dialog/Dialog.js"),require("../modals/dialog/DialogContext.js");var d=require("../product-set/elements/DeleteFieldButton.js"),c=require("rrule"),m=e(c),f=require("react-intl"),v=require("@licklist/core/dist/Config/Date"),D=require("@licklist/plugins/dist/hooks/Value/usePreviousValue"),y=require("./RecurrenceIntervalAndFrequencyInput.js"),p=require("./utils.js"),T=require("./RecurrenceWeekdaysInput.js");var q=function(e){var r=e.rrule,n=e.startDate,a=e.endDate,i=e.startTime,l=e.endTime,u=e.initialFrequency,o=void 0===u?c.Frequency.DAILY:u;return t.__assign({startDate:n,endDate:a,startTime:i,endTime:l,interval:1,freq:o},r&&p.parseAndValidateRRule({rrule:r,date:n}))},g=function(e){var n=e.startDate,a=e.endDate,i=e.startTime,l=e.endTime,u=e.byWeekDay,s=void 0===u?[]:u,d=k(n,i||"00:00:00"),c=k(a,l||"23:59:59"),m=f.useIntl(),v=m.formatList,D=m.formatNumber;return r.useMemo((function(){if(d instanceof o.DateTime&&c instanceof o.DateTime&&d.isValid&&c.isValid){var e=o.Interval.fromDateTimes(d.set({second:0}),c.set({second:0})).toDuration(["days","hours","minutes"]);if(e.isValid){var r=function(e,t){return D(e,{style:"unit",unit:t,unitDisplay:"long"})},n=o.Interval.fromDateTimes(d.minus({second:1}),c.plus({second:1})).splitBy({days:1});if(!(s.length?n.reduce((function(e,t){return s.some((function(e){return e.weekday+1===t.start.weekday}))?e+1:e}),0):1))return r(0,"minute");var a=[[e.days,"day"],[e.hours,"hour"],[e.minutes,"minute"]].filter((function(e){return t.__read(e,1)[0]}));return a.length||a.push([0,"minute"]),v(a.map((function(e){return r.apply(void 0,t.__spreadArray([],t.__read(e),!1))})),{style:"long",type:"unit"})}}}),[d,c,s,v,D])},k=function(e,t){var r=o.DateTime.fromFormat("".concat(e," ").concat(t),v.DATE_TIME_FORMAT);if(r.isValid)return r;var n=o.DateTime.fromFormat("".concat(e," ").concat(t),v.DATE_TIME_FULL_FORMAT);return n.isValid?n:""};exports.RecurringDatePickerInput=function(e){var f,v,p,b,_,E,F=e.disabled,w=void 0!==F&&F,h=e.onChange,A=e.onDelete,I=e.defaultValues,V=e.initialFrequency,x=void 0===V?c.Frequency.DAILY:V,j=e.setInitialStartDateAfterSelect,L=void 0!==j&&j,R=e.children,M=e.minDate,S=a.useTranslation(["Design"]).t,N=u.useForm({defaultValues:q({rrule:null!==(f=null==I?void 0:I.rrule)&&void 0!==f?f:"",startDate:null!==(v=null==I?void 0:I.startDate)&&void 0!==v?v:"",endDate:null!==(p=null==I?void 0:I.endDate)&&void 0!==p?p:"",startTime:null!==(b=null==I?void 0:I.startTime)&&void 0!==b?b:"",endTime:null!==(_=null==I?void 0:I.endTime)&&void 0!==_?_:"",initialFrequency:null!==(E=null==I?void 0:I.freq)&&void 0!==E?E:x}),mode:"onChange"}),C=N.watch,P=N.setValue,W=N.handleSubmit,B=C("startDate"),Y=C("endDate"),O=C("startTime"),Q=C("endTime"),U=C("byweekday"),J=D.usePreviousValue(B),K=g({startDate:B,endDate:Y,startTime:O,endTime:Q,byWeekDay:U}),z=function(e){var r=k(Y,Q||"23:59:59"),n=Array.isArray(e.byweekday)?e.byweekday.map((function(e){var t;return e instanceof c.Weekday?e:new c.Weekday(null===(t=e)||void 0===t?void 0:t.weekday)})):e.byweekday,a=m.optionsToString({until:r instanceof o.DateTime&&r.isValid?null==r?void 0:r.toJSDate():null,byweekday:n,count:e.count,freq:(null==n?void 0:n.length)?c.Frequency.WEEKLY:c.Frequency.DAILY,interval:e.interval}).replace("RRULE:","");h(t.__assign(t.__assign({},e),{rrule:a}))};return r.useEffect((function(){var e,t;if(L&&(!J||B)&&!B&&U&&U.length&&!Number.isNaN(null===(e=U[0])||void 0===e?void 0:e.weekday)){var r=(null===(t=U[0])||void 0===t?void 0:t.weekday)+1,n=o.DateTime.local(),a=o.DateTime.local().set({weekday:r});a>=n||r===n.weekday?P("startDate",a.toSQLDate()):P("startDate",a.plus({week:1}).toSQLDate())}}),[U,L]),n.createElement(u.FormProvider,t.__assign({},N),n.createElement(l.Form,{onSubmit:function(e){return e.preventDefault(),e.stopPropagation(),W(z)(e)}},n.createElement(T.default,{date:B,disabled:w}),n.createElement(y.default,{disabled:w,minDate:M}),R,n.createElement("div",{className:"d-inline-flex align-items-center w-100"},n.createElement(i,{type:"submit"},S("Design:apply")),n.createElement("div",{className:"d-flex flex-grow-1 text-muted mx-3 flex-column"},n.createElement("div",null,K&&"lasts ".concat(K))),I&&n.createElement("div",{className:"d-flex justify-content-end delete-btn"},n.createElement(s.ConfirmModal,null,(function(e){return n.createElement(d.DeleteFieldButton,{onDelete:function(){return e(A)}})}))))))};
@@ -3,8 +3,8 @@ export declare const getWeekdayForFrequency: ({ date, frequency, }: {
3
3
  date: string;
4
4
  frequency: Frequency;
5
5
  }) => Weekday;
6
- export type SupportedFrequency = Frequency.DAILY | Frequency.WEEKLY | Frequency.MONTHLY | Frequency.YEARLY;
7
- export type ParsedRRuleOptions = {
6
+ export declare type SupportedFrequency = Frequency.DAILY | Frequency.WEEKLY | Frequency.MONTHLY | Frequency.YEARLY;
7
+ export declare type ParsedRRuleOptions = {
8
8
  interval?: number;
9
9
  freq: SupportedFrequency;
10
10
  byweekday?: Weekday[];
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/recurring-date-picker-input/utils.ts"],"names":[],"mappings":"AACA,OAAc,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAElD,eAAO,MAAM,sBAAsB;UAI3B,MAAM;eACD,SAAS;MAClB,OAUH,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAC1B,SAAS,CAAC,KAAK,GACf,SAAS,CAAC,MAAM,GAChB,SAAS,CAAC,OAAO,GACjB,SAAS,CAAC,MAAM,CAAC;AAErB,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,kBAAkB,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,EAAE,CAAC;IACtB,KAAK,CAAC,EAAE,IAAI,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,qBAAqB;WAIzB,MAAM;UACP,MAAM;wBAsEb,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/recurring-date-picker-input/utils.ts"],"names":[],"mappings":"AACA,OAAc,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAElD,eAAO,MAAM,sBAAsB;UAI3B,MAAM;eACD,SAAS;MAClB,OAUH,CAAC;AAEF,oBAAY,kBAAkB,GAC1B,SAAS,CAAC,KAAK,GACf,SAAS,CAAC,MAAM,GAChB,SAAS,CAAC,OAAO,GACjB,SAAS,CAAC,MAAM,CAAC;AAErB,oBAAY,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,kBAAkB,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,EAAE,CAAC;IACtB,KAAK,CAAC,EAAE,IAAI,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,qBAAqB;WAIzB,MAAM;UACP,MAAM;wBAsEb,CAAC"}
@@ -2,13 +2,13 @@
2
2
  import { Zone } from "@licklist/core/dist/DataMapper/Provider/ZoneDataMapper";
3
3
  import { Resource } from "@licklist/core/dist/DataMapper/Provider/ResourceDataMapper";
4
4
  import { ServerError } from "@licklist/plugins/dist/hooks/Api/useHttpQuery";
5
- export type ResourceFormProps = {
5
+ export declare type ResourceFormProps = {
6
6
  defaultValues?: Partial<Resource>;
7
7
  onSubmit: (values: Partial<Resource>) => void;
8
8
  serverErrors?: ServerError;
9
9
  isLoading?: boolean;
10
10
  zones?: Zone[];
11
11
  };
12
- export type ResourceFormValues = Partial<Resource>;
12
+ export declare type ResourceFormValues = Partial<Resource>;
13
13
  export declare const ResourceForm: ({ defaultValues, onSubmit, serverErrors, isLoading, zones, }: ResourceFormProps) => JSX.Element;
14
14
  //# sourceMappingURL=ResourceForm.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ResourceForm.d.ts","sourceRoot":"","sources":["../../../src/resource/form/ResourceForm.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,IAAI,EAAE,MAAM,wDAAwD,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,MAAM,4DAA4D,CAAC;AACtF,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAO5E,MAAM,MAAM,iBAAiB,GAAG;IAC9B,aAAa,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClC,QAAQ,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC;IAC9C,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAEnD,eAAO,MAAM,YAAY,iEAMtB,iBAAiB,gBA2DnB,CAAC"}
1
+ {"version":3,"file":"ResourceForm.d.ts","sourceRoot":"","sources":["../../../src/resource/form/ResourceForm.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,IAAI,EAAE,MAAM,wDAAwD,CAAC;AAC9E,OAAO,EAAE,QAAQ,EAAE,MAAM,4DAA4D,CAAC;AACtF,OAAO,EAAE,WAAW,EAAE,MAAM,+CAA+C,CAAC;AAO5E,oBAAY,iBAAiB,GAAG;IAC9B,aAAa,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClC,QAAQ,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC;IAC9C,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;CAChB,CAAC;AAEF,oBAAY,kBAAkB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAEnD,eAAO,MAAM,YAAY,iEAMtB,iBAAiB,gBA2DnB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- type CapacityControlProps = {
2
+ declare type CapacityControlProps = {
3
3
  isLoading: boolean;
4
4
  };
5
5
  export declare const CapacityControl: ({ isLoading }: CapacityControlProps) => JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"CapacityControl.d.ts","sourceRoot":"","sources":["../../../../src/resource/form/components/CapacityControl.tsx"],"names":[],"mappings":";AAQA,KAAK,oBAAoB,GAAG;IAC1B,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,eAAe,kBAAmB,oBAAoB,gBAmClE,CAAC"}
1
+ {"version":3,"file":"CapacityControl.d.ts","sourceRoot":"","sources":["../../../../src/resource/form/components/CapacityControl.tsx"],"names":[],"mappings":";AAQA,aAAK,oBAAoB,GAAG;IAC1B,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,eAAe,kBAAmB,oBAAoB,gBAmClE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- type NameControlProps = {
2
+ declare type NameControlProps = {
3
3
  isLoading: boolean;
4
4
  };
5
5
  export declare const NameControl: ({ isLoading }: NameControlProps) => JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"NameControl.d.ts","sourceRoot":"","sources":["../../../../src/resource/form/components/NameControl.tsx"],"names":[],"mappings":";AAQA,KAAK,gBAAgB,GAAG;IACtB,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,WAAW,kBAAmB,gBAAgB,gBAkC1D,CAAC"}
1
+ {"version":3,"file":"NameControl.d.ts","sourceRoot":"","sources":["../../../../src/resource/form/components/NameControl.tsx"],"names":[],"mappings":";AAQA,aAAK,gBAAgB,GAAG;IACtB,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,WAAW,kBAAmB,gBAAgB,gBAkC1D,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- type SortControlProps = {
2
+ declare type SortControlProps = {
3
3
  isLoading: boolean;
4
4
  };
5
5
  export declare const SortControl: ({ isLoading }: SortControlProps) => JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"SortControl.d.ts","sourceRoot":"","sources":["../../../../src/resource/form/components/SortControl.tsx"],"names":[],"mappings":";AAQA,KAAK,gBAAgB,GAAG;IACtB,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,WAAW,kBAAmB,gBAAgB,gBAmC1D,CAAC"}
1
+ {"version":3,"file":"SortControl.d.ts","sourceRoot":"","sources":["../../../../src/resource/form/components/SortControl.tsx"],"names":[],"mappings":";AAQA,aAAK,gBAAgB,GAAG;IACtB,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,WAAW,kBAAmB,gBAAgB,gBAmC1D,CAAC"}
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { Zone } from "@licklist/core/dist/DataMapper/Provider/ZoneDataMapper";
3
- type ZoneControlProps = {
3
+ declare type ZoneControlProps = {
4
4
  isLoading: boolean;
5
5
  zones?: Zone[];
6
6
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ZoneControl.d.ts","sourceRoot":"","sources":["../../../../src/resource/form/components/ZoneControl.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,IAAI,EAAE,MAAM,wDAAwD,CAAC;AAG9E,KAAK,gBAAgB,GAAG;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,WAAW,yBAA+B,gBAAgB,gBAsCtE,CAAC"}
1
+ {"version":3,"file":"ZoneControl.d.ts","sourceRoot":"","sources":["../../../../src/resource/form/components/ZoneControl.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,IAAI,EAAE,MAAM,wDAAwD,CAAC;AAG9E,aAAK,gBAAgB,GAAG;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,WAAW,yBAA+B,gBAAgB,gBAsCtE,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import { PropsWithChildren } from "react";
2
- import { User } from "@licklist/core/dist/DataMapper/User/UserDataMapper";
3
- export type BookingFilterProps = PropsWithChildren<{
2
+ export declare type BookingFilterProps = PropsWithChildren<{
4
3
  onAddFiltersClick?: () => void;
5
4
  onCancelFilterClick?: () => void;
6
5
  onRefreshClick?: () => void;
@@ -8,8 +7,6 @@ export type BookingFilterProps = PropsWithChildren<{
8
7
  isFilterOpen?: boolean;
9
8
  autoFocusOnMount?: boolean;
10
9
  isFullscreenMode?: boolean;
11
- staffMembers?: User[] | null;
12
- isLoading: boolean;
13
10
  }>;
14
- export declare const BookingFilter: ({ isFilterOpen, autoFocusOnMount, isFullscreenMode, staffMembers, isLoading, children, ...props }: BookingFilterProps) => JSX.Element;
11
+ export declare const BookingFilter: ({ isFilterOpen, autoFocusOnMount, isFullscreenMode, children, ...props }: BookingFilterProps) => JSX.Element;
15
12
  //# sourceMappingURL=BookingFilter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BookingFilter.d.ts","sourceRoot":"","sources":["../../../../src/sales/booking/filter/BookingFilter.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,oDAAoD,CAAC;AAK1E,MAAM,MAAM,kBAAkB,GAAG,iBAAiB,CAAC;IACjD,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;IACjC,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,uBAAuB,CAAC,EAAE,MAAM,IAAI,CAAC;IACrC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,YAAY,CAAC,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAC7B,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC,CAAC;AAEH,eAAO,MAAM,aAAa,sGAQvB,kBAAkB,gBA6BpB,CAAC"}
1
+ {"version":3,"file":"BookingFilter.d.ts","sourceRoot":"","sources":["../../../../src/sales/booking/filter/BookingFilter.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAKjD,oBAAY,kBAAkB,GAAG,iBAAiB,CAAC;IACjD,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;IACjC,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,uBAAuB,CAAC,EAAE,MAAM,IAAI,CAAC;IACrC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC,CAAC;AAEH,eAAO,MAAM,aAAa,6EAMvB,kBAAkB,gBAyBpB,CAAC"}
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=require("tslib"),i=require("react"),r=(e=i)&&"object"==typeof e&&"default"in e?e.default:e,n=require("./components/MainFilterSection.js"),o=require("./components/AdditionalFIlterSection.js"),s=require("./components/SearchingForSection.js");exports.BookingFilter=function(e){var i=e.isFilterOpen,a=void 0===i||i,l=e.autoFocusOnMount,c=void 0!==l&&l,u=e.isFullscreenMode,d=void 0!==u&&u,m=e.staffMembers,F=e.isLoading,f=e.children,M=t.__rest(e,["isFilterOpen","autoFocusOnMount","isFullscreenMode","staffMembers","isLoading","children"]);return r.createElement("div",{className:"booking-filter"},r.createElement(n.MainFilterSection,t.__assign({},M,{isLoading:F,isFilterOpen:a,autoFocusOnMount:c,isFullscreenMode:d})),a?r.createElement(r.Fragment,null,r.createElement(o.AdditionalFilterSection,{isLoading:F,staffMembers:m}),r.createElement("div",{className:"separator-horizontal"}),r.createElement(s.SearchingForSection,{staffMembers:m})):f&&r.createElement(r.Fragment,null,r.createElement("div",{className:"separator-horizontal"}),f))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=require("tslib"),n=require("react"),r=(e=n)&&"object"==typeof e&&"default"in e?e.default:e,i=require("./components/MainFilterSection.js"),o=require("./components/AdditionalFIlterSection.js"),l=require("./components/SearchingForSection.js");exports.BookingFilter=function(e){var n=e.isFilterOpen,a=void 0===n||n,c=e.autoFocusOnMount,s=void 0!==c&&c,u=e.isFullscreenMode,d=void 0!==u&&u,F=e.children,m=t.__rest(e,["isFilterOpen","autoFocusOnMount","isFullscreenMode","children"]);return r.createElement("div",{className:"booking-filter"},r.createElement(i.MainFilterSection,t.__assign({},m,{isFilterOpen:a,autoFocusOnMount:s,isFullscreenMode:d})),a?r.createElement(r.Fragment,null,r.createElement(o.AdditionalFilterSection,null),r.createElement("div",{className:"separator-horizontal"}),r.createElement(l.SearchingForSection,null)):F&&r.createElement(r.Fragment,null,r.createElement("div",{className:"separator-horizontal"}),F))};
@@ -1,11 +1,10 @@
1
1
  /// <reference types="react" />
2
- import { FilterSectionProps } from "./SearchingForSection";
3
- export type AdditionalFilterSectionProps = {
2
+ export declare type AdditionalFilterSectionProps = {
4
3
  onAddFiltersClick?: () => void;
5
4
  onCancelFilterClick?: () => void;
6
5
  onRefreshClick?: () => void;
7
6
  onFullscreenButtonClick?: () => void;
8
7
  isFilterOpen?: boolean;
9
8
  };
10
- export declare const AdditionalFilterSection: ({ staffMembers, isLoading, }: FilterSectionProps) => JSX.Element;
9
+ export declare const AdditionalFilterSection: () => JSX.Element;
11
10
  //# sourceMappingURL=AdditionalFIlterSection.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AdditionalFIlterSection.d.ts","sourceRoot":"","sources":["../../../../../src/sales/booking/filter/components/AdditionalFIlterSection.tsx"],"names":[],"mappings":";AAeA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAS3D,MAAM,MAAM,4BAA4B,GAAG;IACzC,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;IACjC,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,uBAAuB,CAAC,EAAE,MAAM,IAAI,CAAC;IACrC,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,uBAAuB,iCAGjC,kBAAkB,gBA+GpB,CAAC"}
1
+ {"version":3,"file":"AdditionalFIlterSection.d.ts","sourceRoot":"","sources":["../../../../../src/sales/booking/filter/components/AdditionalFIlterSection.tsx"],"names":[],"mappings":";AAsBA,oBAAY,4BAA4B,GAAG;IACzC,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;IACjC,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,uBAAuB,CAAC,EAAE,MAAM,IAAI,CAAC;IACrC,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,uBAAuB,mBAgEnC,CAAC"}