@licklist/design 0.44.486-dev.83 → 0.44.486
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.
- package/dist/affiliate/types/index.d.ts +1 -1
- package/dist/affiliate/types/index.d.ts.map +1 -1
- package/dist/assets/dashboard/blockingClock.png +0 -0
- package/dist/assets/dashboard/bookingCalendar.svg +67 -0
- package/dist/assets/dashboard/bookingCalendar.svg.js +1 -0
- package/dist/assets/dashboard/bookingList.svg +68 -0
- package/dist/assets/dashboard/bookingList.svg.js +1 -0
- package/dist/assets/dashboard/bookingListSmall.svg +6 -0
- package/dist/assets/dashboard/bookingListSmall.svg.js +1 -0
- package/dist/assets/dashboard/fullscreen.svg +3 -0
- package/dist/assets/dashboard/fullscreen.svg.js +1 -0
- package/dist/assets/dashboard/minimize.svg +3 -0
- package/dist/assets/dashboard/minimize.svg.js +1 -0
- package/dist/assets/dashboard/refresh.svg +4 -0
- package/dist/assets/dashboard/refresh.svg.js +1 -0
- package/dist/assets/logo/bookedit.svg +11 -9
- package/dist/assets/logo/bookedit.svg.js +1 -1
- package/dist/assets/logo/licklist.svg +2 -0
- package/dist/assets/logo/licklist.svg.js +1 -1
- package/dist/assets/widgets/circlePlus.svg +4 -0
- package/dist/assets/widgets/inPage.svg +10 -0
- package/dist/assets/widgets/overlay.svg +9 -0
- package/dist/assets/widgets/sidebar.svg +9 -0
- package/dist/auth/Login/LoginComponent.d.ts +1 -1
- package/dist/auth/Login/LoginComponent.d.ts.map +1 -1
- package/dist/auth/Login/LoginFormComponent.d.ts +1 -1
- package/dist/auth/Login/LoginFormComponent.d.ts.map +1 -1
- package/dist/auth/Register/RegisterComponent.d.ts +1 -1
- package/dist/auth/Register/RegisterComponent.d.ts.map +1 -1
- package/dist/auth/Register/RegisterFormComponent.d.ts +1 -1
- package/dist/auth/Register/RegisterFormComponent.d.ts.map +1 -1
- package/dist/auth/ResetPassword/ResetPasswordFormComponent.d.ts +1 -1
- package/dist/auth/ResetPassword/ResetPasswordFormComponent.d.ts.map +1 -1
- package/dist/collapsible-input-group/CollapsibleInputGroup.d.ts +1 -1
- package/dist/collapsible-input-group/CollapsibleInputGroup.d.ts.map +1 -1
- package/dist/collapsible-input-group/CollapsibleInputGroup.js +1 -1
- package/dist/custom-fields/field-set/CustomFieldSets.d.ts +3 -3
- package/dist/custom-fields/field-set/CustomFieldSets.d.ts.map +1 -1
- package/dist/custom-fields/field-set/components/CustomFieldSet/CustomFieldSet.d.ts +1 -1
- package/dist/custom-fields/field-set/components/CustomFieldSet/CustomFieldSet.d.ts.map +1 -1
- package/dist/custom-fields/field-set/contexts/useCustomFieldSets.d.ts +2 -2
- package/dist/custom-fields/field-set/contexts/useCustomFieldSets.d.ts.map +1 -1
- package/dist/events/edit-event-modal/IntervalInput.d.ts +1 -4
- package/dist/events/edit-event-modal/IntervalInput.d.ts.map +1 -1
- package/dist/events/edit-event-modal/IntervalInput.js +1 -1
- package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.d.ts.map +1 -1
- package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.js +1 -1
- package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.d.ts.map +1 -1
- package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.js +1 -1
- package/dist/events/edit-event-modal/utils/getDefaultProductSet.d.ts.map +1 -1
- package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +1 -1
- package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.d.ts +3 -3
- package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.d.ts.map +1 -1
- package/dist/events/event-card/EventCard.d.ts.map +1 -1
- package/dist/events/event-card/EventCard.js +1 -1
- package/dist/events/event-card/utils.d.ts +0 -29
- package/dist/events/event-card/utils.d.ts.map +1 -1
- package/dist/events/event-card/utils.js +1 -1
- package/dist/events/event-statistic-modal/EventStatisticModal.d.ts +3 -4
- package/dist/events/event-statistic-modal/EventStatisticModal.d.ts.map +1 -1
- package/dist/events/event-statistic-modal/EventStatisticModal.js +1 -1
- package/dist/events/event-statistic-modal/hooks/useTableData.d.ts +1 -2
- package/dist/events/event-statistic-modal/hooks/useTableData.d.ts.map +1 -1
- package/dist/events/event-statistic-modal/hooks/useTableData.js +1 -1
- package/dist/events/event-statistic-modal/utils/index.d.ts +1 -1
- package/dist/events/event-statistic-modal/utils/index.d.ts.map +1 -1
- package/dist/events/event-statistic-modal/utils/index.js +1 -1
- package/dist/events/event-venue-map/EventVenueMap.d.ts +2 -5
- package/dist/events/event-venue-map/EventVenueMap.d.ts.map +1 -1
- package/dist/events/event-venue-map/EventVenueMap.js +1 -1
- package/dist/events/event-venue-map/components/Dropdown/Dropdown.d.ts +1 -1
- package/dist/events/event-venue-map/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/ProductsControl/ProductsControl.d.ts +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/ProductsControl/ProductsControl.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/SelectControl/SelectControl.d.ts +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/SelectControl/SelectControl.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/MapPoint.d.ts +1 -1
- package/dist/events/event-venue-map/components/MapPoint/MapPoint.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/MapPoint.js +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/DeleteIcon/DeleteIcon.d.ts +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/DeleteIcon/DeleteIcon.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/EditIcon/EditIcon.d.ts +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/EditIcon/EditIcon.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/PointIcon/PointIcon.d.ts +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/PointIcon/PointIcon.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.d.ts +2 -3
- package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.js +1 -1
- package/dist/events/event-venue-map/components/VenueMap/VenueMap.d.ts +2 -4
- package/dist/events/event-venue-map/components/VenueMap/VenueMap.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/VenueMap/VenueMap.js +1 -1
- package/dist/events/event-venue-map/hooks/useCanvasSize.d.ts +1 -1
- package/dist/events/event-venue-map/hooks/useCanvasSize.d.ts.map +1 -1
- package/dist/events/event-venue-map/hooks/useImage.d.ts.map +1 -1
- package/dist/events/event-venue-map/hooks/useImage.js +1 -1
- package/dist/events/event-venue-map/hooks/useStageActions.d.ts +1 -1
- package/dist/events/event-venue-map/hooks/useStageActions.d.ts.map +1 -1
- package/dist/events/event-venue-map/types/index.d.ts +5 -5
- package/dist/events/event-venue-map/types/index.d.ts.map +1 -1
- package/dist/events/event-venue-map/utils/index.d.ts +3 -3
- package/dist/events/event-venue-map/utils/index.d.ts.map +1 -1
- package/dist/file-upload/FilePreview.d.ts +2 -2
- package/dist/file-upload/FilePreview.d.ts.map +1 -1
- package/dist/file-upload/FileUpload.d.ts +1 -1
- package/dist/file-upload/FileUpload.d.ts.map +1 -1
- package/dist/file-upload/FileUpload.js +1 -1
- package/dist/header/Header.d.ts +1 -1
- package/dist/header/Header.d.ts.map +1 -1
- package/dist/help/example/Example.d.ts +4 -4
- package/dist/help/example/Example.d.ts.map +1 -1
- package/dist/help/popover/HelpPopover.d.ts +3 -5
- package/dist/help/popover/HelpPopover.d.ts.map +1 -1
- package/dist/help/popover/HelpPopover.js +1 -1
- package/dist/iframe/custom-fields/components/CustomDateField.d.ts +1 -1
- package/dist/iframe/custom-fields/components/CustomDateField.d.ts.map +1 -1
- package/dist/iframe/event/event-calendar/EventCalendar.d.ts +5 -0
- package/dist/iframe/event/event-calendar/EventCalendar.d.ts.map +1 -0
- package/dist/iframe/event/event-calendar/EventCalendar.js +1 -0
- package/dist/iframe/event/event-calendar/components/CalendarButtons/CalendarButtons.d.ts +6 -0
- package/dist/iframe/event/event-calendar/components/CalendarButtons/CalendarButtons.d.ts.map +1 -0
- package/dist/iframe/event/event-calendar/components/CalendarButtons/CalendarButtons.js +1 -0
- package/dist/iframe/event/event-calendar/components/CalendarButtons/index.d.ts.map +1 -0
- package/dist/iframe/event/event-calendar/components/CalendarDate/CalendarDate.d.ts +11 -0
- package/dist/iframe/event/event-calendar/components/CalendarDate/CalendarDate.d.ts.map +1 -0
- package/dist/iframe/event/event-calendar/components/CalendarDate/CalendarDate.js +1 -0
- package/dist/iframe/event/event-calendar/components/CalendarDate/index.d.ts +3 -0
- package/dist/iframe/event/event-calendar/components/CalendarDate/index.d.ts.map +1 -0
- package/dist/iframe/event/event-calendar/components/CalendarDates/CalendarDates.d.ts +5 -0
- package/dist/iframe/event/event-calendar/components/CalendarDates/CalendarDates.d.ts.map +1 -0
- package/dist/iframe/event/event-calendar/components/CalendarDates/CalendarDates.js +1 -0
- package/dist/iframe/event/event-calendar/components/CalendarDates/index.d.ts.map +1 -0
- package/dist/{calendar → iframe/event/event-calendar}/components/CalendarSelect/CalendarSelect.d.ts +2 -2
- package/dist/iframe/event/event-calendar/components/CalendarSelect/CalendarSelect.d.ts.map +1 -0
- package/dist/iframe/event/event-calendar/components/CalendarSelect/CalendarSelect.js +1 -0
- package/dist/iframe/event/event-calendar/components/CalendarSelect/index.d.ts.map +1 -0
- package/dist/iframe/event/event-calendar/components/CalendarWeekdays/CalendarWeekdays.d.ts.map +1 -0
- package/dist/iframe/event/event-calendar/components/CalendarWeekdays/index.d.ts.map +1 -0
- package/dist/iframe/event/event-calendar/index.d.ts +4 -0
- package/dist/iframe/event/event-calendar/index.d.ts.map +1 -0
- package/dist/iframe/event/event-calendar/types/index.d.ts +6 -0
- package/dist/iframe/event/event-calendar/types/index.d.ts.map +1 -0
- package/dist/iframe/event/event-calendar/utils/index.d.ts +3 -0
- package/dist/iframe/event/event-calendar/utils/index.d.ts.map +1 -0
- package/dist/iframe/event/event-calendar/utils/index.js +1 -0
- package/dist/iframe/event/event-card/IframeEventCard.d.ts +3 -3
- package/dist/iframe/event/event-card/IframeEventCard.d.ts.map +1 -1
- package/dist/iframe/event/event-card/IframeEventCard.js +1 -1
- package/dist/iframe/event/event-card/IframeEventCardSkeleton.d.ts +3 -3
- package/dist/iframe/event/event-card/IframeEventCardSkeleton.d.ts.map +1 -1
- package/dist/iframe/event/event-card/IframeEventCardSkeleton.js +1 -1
- package/dist/iframe/event/event-details/EventDetails.d.ts +10 -0
- package/dist/iframe/event/event-details/EventDetails.d.ts.map +1 -0
- package/dist/iframe/event/event-details/EventDetails.js +1 -0
- package/dist/iframe/event/event-details/components/category-product/CategoryProduct.d.ts +9 -0
- package/dist/iframe/event/event-details/components/category-product/CategoryProduct.d.ts.map +1 -0
- package/dist/iframe/event/event-details/components/category-product/CategoryProduct.js +1 -0
- package/dist/iframe/event/event-details/components/category-product/index.d.ts +2 -0
- package/dist/iframe/event/event-details/components/category-product/index.d.ts.map +1 -0
- package/dist/iframe/event/event-details/components/event-details-form/EventDetailsForm.d.ts +26 -0
- package/dist/iframe/event/event-details/components/event-details-form/EventDetailsForm.d.ts.map +1 -0
- package/dist/iframe/event/event-details/components/event-details-form/EventDetailsForm.js +1 -0
- package/dist/iframe/event/event-details/components/event-details-form/index.d.ts +2 -0
- package/dist/iframe/event/event-details/components/event-details-form/index.d.ts.map +1 -0
- package/dist/iframe/event/event-details/components/number-of-people-input/NumberOfPeopleInput.d.ts.map +1 -0
- package/dist/iframe/event/event-details/components/number-of-people-input/NumberOfPeopleInput.js +1 -0
- package/dist/{number-of-people-input/components → iframe/event/event-details/components/number-of-people-input/component}/RenderNumberOfPeopleInputComponent.d.ts +3 -2
- package/dist/iframe/event/event-details/components/number-of-people-input/component/RenderNumberOfPeopleInputComponent.d.ts.map +1 -0
- package/dist/iframe/event/event-details/components/number-of-people-input/component/RenderNumberOfPeopleInputComponent.js +1 -0
- package/dist/iframe/event/event-details/components/number-of-people-input/component/index.d.ts +2 -0
- package/dist/iframe/event/event-details/components/number-of-people-input/component/index.d.ts.map +1 -0
- package/dist/iframe/event/event-details/components/number-of-people-input/index.d.ts +2 -0
- package/dist/iframe/event/event-details/components/number-of-people-input/index.d.ts.map +1 -0
- package/dist/iframe/event/event-details/components/product-category-view/ProductCategoryView.d.ts +8 -0
- package/dist/iframe/event/event-details/components/product-category-view/ProductCategoryView.d.ts.map +1 -0
- package/dist/iframe/event/event-details/components/product-category-view/ProductCategoryView.js +1 -0
- package/dist/iframe/event/event-details/components/product-category-view/index.d.ts +2 -0
- package/dist/iframe/event/event-details/components/product-category-view/index.d.ts.map +1 -0
- package/dist/iframe/event/event-details/index.d.ts +2 -0
- package/dist/iframe/event/event-details/index.d.ts.map +1 -0
- package/dist/iframe/event/event-details/utils/index.d.ts +2 -0
- package/dist/iframe/event/event-details/utils/index.d.ts.map +1 -0
- package/dist/iframe/event/event-details/utils/routes.d.ts +2 -0
- package/dist/iframe/event/event-details/utils/routes.d.ts.map +1 -0
- package/dist/iframe/event/event-details/utils/routes.js +1 -0
- package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.d.ts +6 -5
- package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.d.ts.map +1 -1
- package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.js +1 -1
- package/dist/iframe/event/event-product-sets/EventProductSets.d.ts +1 -1
- package/dist/iframe/event/event-product-sets/EventProductSets.d.ts.map +1 -1
- package/dist/iframe/event/event-product-sets/components/EventProductSet.d.ts +1 -1
- package/dist/iframe/event/event-product-sets/components/EventProductSet.d.ts.map +1 -1
- package/dist/iframe/event/event-step-venue-map-zones/EventStepVenueMapZones.d.ts +1 -1
- package/dist/iframe/event/event-step-venue-map-zones/EventStepVenueMapZones.d.ts.map +1 -1
- package/dist/iframe/event/event-step-venue-map-zones/components/EventStepVenueMapZone.d.ts +1 -1
- package/dist/iframe/event/event-step-venue-map-zones/components/EventStepVenueMapZone.d.ts.map +1 -1
- package/dist/iframe/event/event-venue-map/IframeEventVenueMap.d.ts +1 -2
- package/dist/iframe/event/event-venue-map/IframeEventVenueMap.d.ts.map +1 -1
- package/dist/iframe/event/index.d.ts +2 -0
- package/dist/iframe/event/index.d.ts.map +1 -1
- package/dist/iframe/event/ticket-description/TicketDescription.d.ts.map +1 -1
- package/dist/iframe/event/ticket-description/TicketDescription.js +1 -1
- package/dist/iframe/index.d.ts +2 -4
- package/dist/iframe/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts +1 -1
- package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/BookingSummary.js +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.d.ts +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.js +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts +3 -3
- package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.d.ts +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.d.ts +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts +7 -8
- package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/utils/index.d.ts +1 -1
- package/dist/iframe/order-process/components/BookingSummary/utils/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/utils/index.js +1 -1
- package/dist/iframe/order-process/components/BookingSummaryFooter/BookingSummaryFooter.d.ts +4 -4
- package/dist/iframe/order-process/components/BookingSummaryFooter/BookingSummaryFooter.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.d.ts +2 -4
- package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.js +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.d.ts +2 -4
- package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.js +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts +2 -4
- package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.js +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/ErrorModal.d.ts +8 -0
- package/dist/iframe/order-process/components/CalendarStepsForm/components/ErrorModal.d.ts.map +1 -0
- package/dist/iframe/order-process/components/CalendarStepsForm/components/ErrorModal.js +1 -0
- package/dist/iframe/order-process/components/Category/Category.d.ts +12 -0
- package/dist/iframe/order-process/components/Category/Category.d.ts.map +1 -0
- package/dist/iframe/order-process/components/Category/Category.js +1 -0
- package/dist/iframe/order-process/components/Category/index.d.ts +2 -0
- package/dist/iframe/order-process/components/Category/index.d.ts.map +1 -0
- package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts +3 -4
- package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.js +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts +0 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts +2 -5
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.js +1 -1
- package/dist/iframe/order-process/components/NavigationSteps/NavigationSteps.d.ts +7 -8
- package/dist/iframe/order-process/components/NavigationSteps/NavigationSteps.d.ts.map +1 -1
- package/dist/iframe/order-process/components/NavigationSteps/index.d.ts +1 -1
- package/dist/iframe/order-process/components/NavigationSteps/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/PaymentCard/PaymentCard.d.ts +1 -1
- package/dist/iframe/order-process/components/PaymentCard/PaymentCard.d.ts.map +1 -1
- package/dist/iframe/order-process/components/StepsForm/StepsForm.d.ts +18 -0
- package/dist/iframe/order-process/components/StepsForm/StepsForm.d.ts.map +1 -0
- package/dist/iframe/order-process/components/StepsForm/StepsForm.js +1 -0
- package/dist/iframe/order-process/components/StepsForm/index.d.ts +2 -0
- package/dist/iframe/order-process/components/StepsForm/index.d.ts.map +1 -0
- package/dist/iframe/order-process/components/Timer/Timer.d.ts +1 -1
- package/dist/iframe/order-process/components/Timer/Timer.d.ts.map +1 -1
- package/dist/iframe/order-process/components/Timer/utils/index.d.ts +1 -1
- package/dist/iframe/order-process/components/Timer/utils/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/Timer/utils/index.js +1 -1
- package/dist/iframe/order-process/components/utils/category.d.ts +10 -0
- package/dist/iframe/order-process/components/utils/category.d.ts.map +1 -0
- package/dist/iframe/order-process/components/utils/category.js +1 -0
- package/dist/iframe/order-process/constants.d.ts +0 -1
- package/dist/iframe/order-process/constants.d.ts.map +1 -1
- package/dist/iframe/order-process/constants.js +1 -1
- package/dist/iframe/order-process/index.d.ts +2 -3
- package/dist/iframe/order-process/index.d.ts.map +1 -1
- package/dist/iframe/page/Page.d.ts +1 -1
- package/dist/iframe/page/Page.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/PageBody.d.ts +2 -2
- package/dist/iframe/page/components/PageBody/PageBody.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/PageBody.js +1 -1
- package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.d.ts +3 -3
- package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.js +1 -1
- package/dist/iframe/page/components/PageBody/components/RightBlock/RightBlock.d.ts +1 -1
- package/dist/iframe/page/components/PageBody/components/RightBlock/RightBlock.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/types.d.ts +1 -1
- package/dist/iframe/page/components/PageBody/types.d.ts.map +1 -1
- package/dist/iframe/page/components/PageHeader/PageHeader.d.ts +1 -1
- package/dist/iframe/page/components/PageHeader/PageHeader.d.ts.map +1 -1
- package/dist/iframe/page/components/PageHeader/PageHeader.js +1 -1
- package/dist/iframe/payment/order-items-table/OrderItemsTable.js +1 -1
- package/dist/iframe/payment/order-items-table/hooks/useTableData.d.ts +0 -5
- package/dist/iframe/payment/order-items-table/hooks/useTableData.d.ts.map +1 -1
- package/dist/iframe/payment/order-items-table/hooks/useTableData.js +1 -1
- package/dist/iframe/payment/order-items-table/types/index.d.ts +3 -9
- package/dist/iframe/payment/order-items-table/types/index.d.ts.map +1 -1
- package/dist/iframe/payment/order-items-table/utils/index.d.ts +1 -6
- package/dist/iframe/payment/order-items-table/utils/index.d.ts.map +1 -1
- package/dist/iframe/payment/order-items-table/utils/index.js +1 -1
- package/dist/iframe/payment/payment-form/PaymentForm.js +1 -1
- package/dist/iframe/payment/payment-page/PaymentPage.d.ts +1 -1
- package/dist/iframe/payment/payment-page/PaymentPage.d.ts.map +1 -1
- package/dist/iframe/payment/payment-page/PaymentPage.js +1 -1
- package/dist/iframe/payment/payment-page/PaymentTimer.d.ts +0 -1
- package/dist/iframe/payment/payment-page/PaymentTimer.d.ts.map +1 -1
- package/dist/iframe/payment/payment-page/PaymentTimer.js +1 -1
- package/dist/iframe/payment/payment-status-header/PaymentStatusHeader.d.ts +1 -1
- package/dist/iframe/payment/payment-status-header/PaymentStatusHeader.d.ts.map +1 -1
- package/dist/iframe/payment/payment-status-page/PaymentStatusPage.d.ts +3 -5
- package/dist/iframe/payment/payment-status-page/PaymentStatusPage.d.ts.map +1 -1
- package/dist/iframe/payment/payment-status-page/PaymentStatusPage.js +1 -1
- package/dist/iframe/powered-by/PoweredBy.d.ts +1 -1
- package/dist/iframe/powered-by/PoweredBy.d.ts.map +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.d.ts +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.d.ts.map +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.js +1 -1
- package/dist/index.d.ts +0 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/logo/Logo.d.ts +1 -1
- package/dist/logo/Logo.d.ts.map +1 -1
- package/dist/modals/confirmation/ConfirmModal.d.ts +2 -2
- package/dist/modals/confirmation/ConfirmModal.d.ts.map +1 -1
- package/dist/notification/email-template/card/EmailTemplateCard.d.ts +1 -4
- package/dist/notification/email-template/card/EmailTemplateCard.d.ts.map +1 -1
- package/dist/notification/email-template/card/EmailTemplateCard.js +1 -1
- package/dist/notification/email-template/control/EmailTemplateControl.d.ts +0 -3
- package/dist/notification/email-template/control/EmailTemplateControl.d.ts.map +1 -1
- package/dist/notification/email-template/control/EmailTemplateControl.js +1 -1
- package/dist/notification/email-template/form/EmailTemplateForm.d.ts +1 -7
- package/dist/notification/email-template/form/EmailTemplateForm.d.ts.map +1 -1
- package/dist/notification/email-template/form/EmailTemplateForm.js +1 -1
- package/dist/notification/sms-template/card/SmsTemplateCard.d.ts +1 -4
- package/dist/notification/sms-template/card/SmsTemplateCard.d.ts.map +1 -1
- package/dist/notification/sms-template/card/SmsTemplateCard.js +1 -1
- package/dist/notification/sms-template/control/SmsTemplateControl.d.ts +1 -6
- package/dist/notification/sms-template/control/SmsTemplateControl.d.ts.map +1 -1
- package/dist/notification/sms-template/control/SmsTemplateControl.js +1 -1
- package/dist/notification/sms-template/form/SmsTemplateForm.d.ts +1 -5
- package/dist/notification/sms-template/form/SmsTemplateForm.d.ts.map +1 -1
- package/dist/notification/sms-template/form/SmsTemplateForm.js +1 -1
- package/dist/product-set/control/DateAndRecurrenceInput.d.ts +1 -7
- package/dist/product-set/control/DateAndRecurrenceInput.d.ts.map +1 -1
- package/dist/product-set/control/DateAndRecurrenceInput.js +1 -1
- package/dist/product-set/control/ProductSetControl.d.ts +6 -21
- package/dist/product-set/control/ProductSetControl.d.ts.map +1 -1
- package/dist/product-set/control/ProductSetControl.js +1 -1
- package/dist/product-set/control/ProductSetRecurrenceControl.d.ts +1 -2
- package/dist/product-set/control/ProductSetRecurrenceControl.d.ts.map +1 -1
- package/dist/product-set/control/ProductSetRecurrenceControl.js +1 -1
- package/dist/product-set/deposit-paid/ProductSetDepositPaidControl.d.ts +3 -3
- package/dist/product-set/deposit-paid/ProductSetDepositPaidControl.d.ts.map +1 -1
- package/dist/product-set/elements/DeleteFieldButton.d.ts +1 -1
- package/dist/product-set/elements/DeleteFieldButton.d.ts.map +1 -1
- package/dist/product-set/form/ProductCategoriesControl.d.ts.map +1 -1
- package/dist/product-set/form/ProductCategoriesControl.js +1 -1
- package/dist/product-set/form/ProductSetForm.d.ts +1 -3
- package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
- package/dist/product-set/form/ProductSetForm.js +1 -1
- package/dist/product-set/form/ProductsControl.d.ts +1 -3
- package/dist/product-set/form/ProductsControl.d.ts.map +1 -1
- package/dist/product-set/form/ProductsControl.js +1 -1
- package/dist/product-set/form/StepsControl.d.ts.map +1 -1
- package/dist/product-set/form/StepsControl.js +1 -1
- package/dist/product-set/form/VenueMapSetModal.d.ts +1 -1
- package/dist/product-set/form/VenueMapSetModal.d.ts.map +1 -1
- package/dist/product-set/form/VenueMapsControl.d.ts +1 -1
- package/dist/product-set/form/VenueMapsControl.d.ts.map +1 -1
- package/dist/product-set/form/context.d.ts +1 -1
- package/dist/product-set/form/context.d.ts.map +1 -1
- package/dist/product-set/popover/ProductSetPopover.d.ts +1 -1
- package/dist/product-set/popover/ProductSetPopover.d.ts.map +1 -1
- package/dist/product-set/product/ProductControl.d.ts +1 -3
- package/dist/product-set/product/ProductControl.d.ts.map +1 -1
- package/dist/product-set/product/ProductControl.js +1 -1
- package/dist/product-set/product/duration/ProductDurationControl.js +1 -1
- package/dist/product-set/product/fixed-duration-fields/FixedDurationOptions.d.ts +1 -1
- package/dist/product-set/product/fixed-duration-fields/FixedDurationOptions.d.ts.map +1 -1
- package/dist/product-set/product/price/ProductPriceControl.d.ts +3 -7
- package/dist/product-set/product/price/ProductPriceControl.d.ts.map +1 -1
- package/dist/product-set/product/price/ProductPriceControl.js +1 -1
- package/dist/product-set/product/quantity/ProductQuantityRechargingControl.d.ts.map +1 -1
- package/dist/product-set/product/quantity/ProductQuantityRechargingControl.js +1 -1
- package/dist/product-set/product-category/ProductCategoryControl.d.ts +1 -0
- package/dist/product-set/product-category/ProductCategoryControl.d.ts.map +1 -1
- package/dist/product-set/product-category/ProductCategoryControl.js +1 -1
- package/dist/product-set/tabs/ProductSetTab.d.ts +1 -1
- package/dist/product-set/tabs/ProductSetTab.d.ts.map +1 -1
- package/dist/product-set/tabs/ProductSetTabs.d.ts +1 -1
- package/dist/product-set/tabs/ProductSetTabs.d.ts.map +1 -1
- package/dist/product-set/types/index.d.ts +5 -5
- package/dist/product-set/types/index.d.ts.map +1 -1
- package/dist/product-set/utils/index.d.ts +0 -14
- package/dist/product-set/utils/index.d.ts.map +1 -1
- package/dist/product-set/utils/index.js +1 -1
- package/dist/provider/categories-input/CategoriesInput.d.ts +1 -1
- package/dist/provider/categories-input/CategoriesInput.d.ts.map +1 -1
- package/dist/provider/categories-input/CategoriesInputDescription.d.ts +1 -1
- package/dist/provider/categories-input/CategoriesInputDescription.d.ts.map +1 -1
- package/dist/provider/categories-input/index.d.ts +1 -1
- package/dist/provider/categories-input/index.d.ts.map +1 -1
- package/dist/provider/company/user-form/UserForm.d.ts +2 -2
- package/dist/provider/company/user-form/UserForm.d.ts.map +1 -1
- package/dist/provider/location-input/LocationInput.d.ts.map +1 -1
- package/dist/provider/location-input/LocationInput.js +1 -1
- package/dist/provider/location-input/index.d.ts +1 -2
- package/dist/provider/location-input/index.d.ts.map +1 -1
- package/dist/provider/provider-details-input/ProviderDetailsInput.d.ts +2 -2
- package/dist/provider/provider-details-input/ProviderDetailsInput.d.ts.map +1 -1
- package/dist/provider/provider-details-input/ProviderDetailsInput.js +1 -1
- package/dist/provider/provider-form/ProviderForm.d.ts +1 -1
- package/dist/provider/provider-form/ProviderForm.d.ts.map +1 -1
- package/dist/provider/provider-form/ProviderForm.js +1 -1
- package/dist/provider/provider-links-input/ProviderLinksInput.d.ts +2 -2
- package/dist/provider/provider-links-input/ProviderLinksInput.d.ts.map +1 -1
- package/dist/provider/resources-blocking-modal/ResourcesBlockingModal.d.ts +12 -0
- package/dist/provider/resources-blocking-modal/ResourcesBlockingModal.d.ts.map +1 -0
- package/dist/provider/resources-blocking-modal/index.d.ts +2 -0
- package/dist/provider/resources-blocking-modal/index.d.ts.map +1 -0
- package/dist/provider/venue-form/VenueForm.d.ts +2 -4
- package/dist/provider/venue-form/VenueForm.d.ts.map +1 -1
- package/dist/provider/venue-form/VenueForm.js +1 -1
- package/dist/provider/working-hours-input/WorkingHoursInputDescription.d.ts.map +1 -1
- package/dist/provider/working-hours-input/WorkingHoursInputDescription.js +1 -1
- package/dist/provider/working-hours-input/index.d.ts +1 -1
- package/dist/provider/working-hours-input/index.d.ts.map +1 -1
- package/dist/recurrence-input/RecurrenceEndInput.d.ts +1 -8
- package/dist/recurrence-input/RecurrenceEndInput.d.ts.map +1 -1
- package/dist/recurrence-input/RecurrenceEndInput.js +1 -1
- package/dist/recurrence-input/RecurrenceInput.d.ts +1 -2
- package/dist/recurrence-input/RecurrenceInput.d.ts.map +1 -1
- package/dist/recurrence-input/RecurrenceInput.js +1 -1
- package/dist/recurrence-input/utils.d.ts +2 -2
- package/dist/recurrence-input/utils.d.ts.map +1 -1
- package/dist/recurring-date-picker-input/RecurrenceIntervalAndFrequencyInput.d.ts +1 -8
- package/dist/recurring-date-picker-input/RecurrenceIntervalAndFrequencyInput.d.ts.map +1 -1
- package/dist/recurring-date-picker-input/RecurrenceIntervalAndFrequencyInput.js +1 -1
- package/dist/recurring-date-picker-input/RecurringDatePickerInput.d.ts +0 -1
- package/dist/recurring-date-picker-input/RecurringDatePickerInput.d.ts.map +1 -1
- package/dist/recurring-date-picker-input/RecurringDatePickerInput.js +1 -1
- package/dist/recurring-date-picker-input/utils.d.ts +2 -2
- package/dist/recurring-date-picker-input/utils.d.ts.map +1 -1
- package/dist/report/form/ReportForm.d.ts.map +1 -1
- package/dist/resource/form/ResourceForm.d.ts +2 -2
- package/dist/resource/form/ResourceForm.d.ts.map +1 -1
- package/dist/resource/form/components/CapacityControl.d.ts +1 -1
- package/dist/resource/form/components/CapacityControl.d.ts.map +1 -1
- package/dist/resource/form/components/NameControl.d.ts +1 -1
- package/dist/resource/form/components/NameControl.d.ts.map +1 -1
- package/dist/resource/form/components/SortControl.d.ts +1 -1
- package/dist/resource/form/components/SortControl.d.ts.map +1 -1
- package/dist/resource/form/components/ZoneControl.d.ts +1 -1
- package/dist/resource/form/components/ZoneControl.d.ts.map +1 -1
- package/dist/sales/booking/filter/BookingFilter.d.ts +12 -0
- package/dist/sales/booking/filter/BookingFilter.d.ts.map +1 -0
- package/dist/sales/booking/filter/BookingFilter.js +1 -0
- package/dist/sales/booking/filter/components/AdditionalFIlterSection.d.ts +10 -0
- package/dist/sales/booking/filter/components/AdditionalFIlterSection.d.ts.map +1 -0
- package/dist/sales/booking/filter/components/AdditionalFIlterSection.js +1 -0
- package/dist/sales/booking/filter/components/MainFilterSection.d.ts +5 -0
- package/dist/sales/booking/filter/components/MainFilterSection.d.ts.map +1 -0
- package/dist/sales/booking/filter/components/MainFilterSection.js +1 -0
- package/dist/sales/booking/filter/components/ResultTagButton.d.ts +8 -0
- package/dist/sales/booking/filter/components/ResultTagButton.d.ts.map +1 -0
- package/dist/sales/booking/filter/components/ResultTagButton.js +1 -0
- package/dist/sales/booking/filter/components/SearchingForSection.d.ts +3 -0
- package/dist/sales/booking/filter/components/SearchingForSection.d.ts.map +1 -0
- package/dist/sales/booking/filter/components/SearchingForSection.js +1 -0
- package/dist/sales/booking/filter/index.d.ts +3 -0
- package/dist/sales/booking/filter/index.d.ts.map +1 -0
- package/dist/sales/booking/index.d.ts +2 -0
- package/dist/sales/booking/index.d.ts.map +1 -1
- package/dist/sales/booking/results/BookingResults.d.ts +2 -4
- package/dist/sales/booking/results/BookingResults.d.ts.map +1 -1
- package/dist/sales/booking/results/BookingResults.js +1 -1
- package/dist/sales/booking/results/components/ResultCard.d.ts +2 -4
- package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
- package/dist/sales/booking/results/components/ResultCard.js +1 -1
- package/dist/sales/booking/results/constants.d.ts.map +1 -1
- package/dist/sales/booking/results/constants.js +1 -1
- package/dist/sales/booking/results/index.d.ts +0 -1
- package/dist/sales/booking/results/index.d.ts.map +1 -1
- package/dist/sales/booking/tabs/BookingTabs.d.ts +11 -0
- package/dist/sales/booking/tabs/BookingTabs.d.ts.map +1 -0
- package/dist/sales/booking/tabs/BookingTabs.js +1 -0
- package/dist/sales/booking/tabs/index.d.ts +3 -0
- package/dist/sales/booking/tabs/index.d.ts.map +1 -0
- package/dist/sales/coupon/control/CouponFormControl.d.ts.map +1 -1
- package/dist/sales/coupon/control/CouponFormControl.js +1 -1
- package/dist/sales/filters/SaleFilters.d.ts +3 -3
- package/dist/sales/filters/SaleFilters.d.ts.map +1 -1
- package/dist/sales/guest-profile/previous-bookings/PreviousBookings.d.ts +3 -4
- package/dist/sales/guest-profile/previous-bookings/PreviousBookings.d.ts.map +1 -1
- package/dist/sales/guest-profile/previous-bookings/PreviousBookings.js +1 -1
- package/dist/sales/guest-profile/profile/Profile.d.ts +1 -1
- package/dist/sales/guest-profile/profile/Profile.d.ts.map +1 -1
- package/dist/sales/guest-profile/profile/components/ImageHolder/ImageHolder.d.ts +1 -1
- package/dist/sales/guest-profile/profile/components/ImageHolder/ImageHolder.d.ts.map +1 -1
- package/dist/sales/guest-profile/user-metrics/UserMetrics.d.ts +1 -1
- package/dist/sales/guest-profile/user-metrics/UserMetrics.d.ts.map +1 -1
- package/dist/sales/guest-profile/visited-providers/VisitedProviders.d.ts +1 -1
- package/dist/sales/guest-profile/visited-providers/VisitedProviders.d.ts.map +1 -1
- package/dist/sales/life-time-sales/LifeTimeSalesChart.d.ts +1 -1
- package/dist/sales/life-time-sales/LifeTimeSalesChart.d.ts.map +1 -1
- package/dist/sales/manual-booking/category-product/CategoryProduct.d.ts +16 -0
- package/dist/sales/manual-booking/category-product/CategoryProduct.d.ts.map +1 -0
- package/dist/sales/manual-booking/category-product/CategoryProduct.js +1 -0
- package/dist/sales/manual-booking/category-product/index.d.ts +2 -0
- package/dist/sales/manual-booking/category-product/index.d.ts.map +1 -0
- package/dist/sales/manual-booking/category-products/CategoryProducts.d.ts +17 -0
- package/dist/sales/manual-booking/category-products/CategoryProducts.d.ts.map +1 -0
- package/dist/sales/manual-booking/category-products/CategoryProducts.js +1 -0
- package/dist/sales/manual-booking/category-products/index.d.ts +2 -0
- package/dist/sales/manual-booking/category-products/index.d.ts.map +1 -0
- package/dist/sales/manual-booking/controll/ManualBookingStepsControll.d.ts +15 -0
- package/dist/sales/manual-booking/controll/ManualBookingStepsControll.d.ts.map +1 -0
- package/dist/sales/manual-booking/controll/ManualBookingStepsControll.js +1 -0
- package/dist/sales/manual-booking/controll/index.d.ts +2 -0
- package/dist/sales/manual-booking/controll/index.d.ts.map +1 -0
- package/dist/sales/manual-booking/create-user/CreateUser.d.ts +6 -0
- package/dist/sales/manual-booking/create-user/CreateUser.d.ts.map +1 -0
- package/dist/sales/manual-booking/create-user/CreateUser.js +1 -0
- package/dist/sales/manual-booking/create-user/index.d.ts +2 -0
- package/dist/sales/manual-booking/create-user/index.d.ts.map +1 -0
- package/dist/sales/manual-booking/customer-info/CustomerInfo.d.ts +7 -0
- package/dist/sales/manual-booking/customer-info/CustomerInfo.d.ts.map +1 -0
- package/dist/sales/manual-booking/customer-info/CustomerInfo.js +1 -0
- package/dist/sales/manual-booking/customer-info/index.d.ts +2 -0
- package/dist/sales/manual-booking/customer-info/index.d.ts.map +1 -0
- package/dist/sales/manual-booking/final-step/FinalStep.d.ts +7 -0
- package/dist/sales/manual-booking/final-step/FinalStep.d.ts.map +1 -0
- package/dist/sales/manual-booking/final-step/FinalStep.js +1 -0
- package/dist/sales/manual-booking/final-step/index.d.ts +2 -0
- package/dist/sales/manual-booking/final-step/index.d.ts.map +1 -0
- package/dist/sales/manual-booking/index.d.ts +5 -1
- package/dist/sales/manual-booking/index.d.ts.map +1 -1
- package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.d.ts +1 -2
- package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.d.ts.map +1 -1
- package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.js +1 -1
- package/dist/sales/manual-booking/search-user/SearchUser.js +1 -1
- package/dist/sales/manual-booking/select-date-type-control/SelectDateTypeControl.d.ts +3 -3
- package/dist/sales/manual-booking/select-date-type-control/SelectDateTypeControl.d.ts.map +1 -1
- package/dist/sales/manual-booking/select-date-type-control/SelectDateTypeControl.js +1 -1
- package/dist/sales/manual-booking/select-event/SelectEvent.d.ts +3 -3
- package/dist/sales/manual-booking/select-event/SelectEvent.d.ts.map +1 -1
- package/dist/sales/manual-booking/select-menu/SelectMenu.d.ts +5 -6
- package/dist/sales/manual-booking/select-menu/SelectMenu.d.ts.map +1 -1
- package/dist/sales/manual-booking/select-menu/SelectMenu.js +1 -1
- package/dist/sales/manual-booking/select-menu/components/MenuButton.d.ts +4 -4
- package/dist/sales/manual-booking/select-menu/components/MenuButton.d.ts.map +1 -1
- package/dist/sales/manual-booking/summary/ManualBookingSummary.d.ts +1 -3
- package/dist/sales/manual-booking/summary/ManualBookingSummary.d.ts.map +1 -1
- package/dist/sales/manual-booking/summary/ManualBookingSummary.js +1 -1
- package/dist/sales/notes/NotesTable.d.ts +1 -1
- package/dist/sales/notes/NotesTable.d.ts.map +1 -1
- package/dist/sales/notes/NotesTableRow.d.ts +1 -1
- package/dist/sales/notes/NotesTableRow.d.ts.map +1 -1
- package/dist/sales/notes/NotesTableRow.js +1 -1
- package/dist/sales/notes/note-form/NoteForm.d.ts +1 -1
- package/dist/sales/notes/note-form/NoteForm.d.ts.map +1 -1
- package/dist/sales/payment-form/SalePaymentForm.d.ts +2 -2
- package/dist/sales/payment-form/SalePaymentForm.d.ts.map +1 -1
- package/dist/sales/payment-form/SalePaymentForm.js +1 -1
- package/dist/sales/payment-form/components/RyftPayment/RyftPayment.d.ts +1 -1
- package/dist/sales/payment-form/components/RyftPayment/RyftPayment.d.ts.map +1 -1
- package/dist/sales/payment-form/types.d.ts +2 -2
- package/dist/sales/payment-form/types.d.ts.map +1 -1
- package/dist/sales/sales-and-views/SalesAndViewsChart.d.ts +1 -1
- package/dist/sales/sales-and-views/SalesAndViewsChart.d.ts.map +1 -1
- package/dist/sales/source-of-sales/SourceOfSalesChart.d.ts.map +1 -1
- package/dist/sales/source-of-sales/SourceOfSalesChart.js +1 -1
- package/dist/setting/admin/AdminSettingForm.d.ts +1 -1
- package/dist/setting/admin/AdminSettingForm.d.ts.map +1 -1
- package/dist/setting/admin/PaymentFeeForm.d.ts +2 -2
- package/dist/setting/admin/PaymentFeeForm.d.ts.map +1 -1
- package/dist/setting/dashboard/DashboardSettingForm.d.ts +1 -1
- package/dist/setting/dashboard/DashboardSettingForm.d.ts.map +1 -1
- package/dist/setting/dashboard/EventSettingForm.d.ts +2 -2
- package/dist/setting/dashboard/EventSettingForm.d.ts.map +1 -1
- package/dist/setting/dashboard/FinancialDataForm.d.ts +2 -2
- package/dist/setting/dashboard/FinancialDataForm.d.ts.map +1 -1
- package/dist/setting/dashboard/OtherSettingForm.d.ts +2 -2
- package/dist/setting/dashboard/OtherSettingForm.d.ts.map +1 -1
- package/dist/setting/dashboard/ProviderSettingForm.d.ts +2 -2
- package/dist/setting/dashboard/ProviderSettingForm.d.ts.map +1 -1
- package/dist/setting/dashboard/index.d.ts +2 -0
- package/dist/setting/dashboard/index.d.ts.map +1 -1
- package/dist/setting/dashboard/snippets/card/SnippetCard.js +1 -1
- package/dist/setting/dashboard/snippets/control/SnippetControl.d.ts +9 -0
- package/dist/setting/dashboard/snippets/control/SnippetControl.d.ts.map +1 -0
- package/dist/setting/dashboard/snippets/control/SnippetControl.js +1 -0
- package/dist/setting/dashboard/snippets/control/index.d.ts +2 -0
- package/dist/setting/dashboard/snippets/control/index.d.ts.map +1 -0
- package/dist/setting/dashboard/snippets/form/SnippetForm.d.ts +33 -0
- package/dist/setting/dashboard/snippets/form/SnippetForm.d.ts.map +1 -0
- package/dist/setting/dashboard/snippets/form/SnippetForm.js +1 -0
- package/dist/setting/dashboard/snippets/form/context.d.ts +11 -0
- package/dist/setting/dashboard/snippets/form/context.d.ts.map +1 -0
- package/dist/setting/dashboard/snippets/form/context.js +1 -0
- package/dist/setting/dashboard/snippets/form/index.d.ts +2 -0
- package/dist/setting/dashboard/snippets/form/index.d.ts.map +1 -0
- package/dist/setting/dashboard/snippets/modal/SnippetViewTypeModal.d.ts +19 -0
- package/dist/setting/dashboard/snippets/modal/SnippetViewTypeModal.d.ts.map +1 -0
- package/dist/setting/dashboard/snippets/modal/SnippetViewTypeModal.js +1 -0
- package/dist/setting/dashboard/snippets/modal/index.d.ts +3 -0
- package/dist/setting/dashboard/snippets/modal/index.d.ts.map +1 -0
- package/dist/setting/system/SystemSettingForm.d.ts +1 -1
- package/dist/setting/system/SystemSettingForm.d.ts.map +1 -1
- package/dist/snippet/snippet-template/SnippetTemplate.js +1 -1
- package/dist/snippet/snippet-template/context/snippetTemplate.d.ts +1 -1
- package/dist/snippet/snippet-template/context/snippetTemplate.d.ts.map +1 -1
- package/dist/snippet/snippet-template/form/SnippetTemplateForm.js +1 -1
- package/dist/snippet/snippet-template/preview/Preview.d.ts.map +1 -1
- package/dist/snippet/snippet-template/preview/Preview.js +1 -1
- package/dist/sortable-list/SortableList.d.ts +4 -4
- package/dist/sortable-list/SortableList.d.ts.map +1 -1
- package/dist/sortable-tree/SortableTreeItem.d.ts +2 -5
- package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
- package/dist/sortable-tree/SortableTreeItem.js +1 -1
- package/dist/static/CountryCodeSelect.d.ts.map +1 -1
- package/dist/static/CountryCodeSelect.js +1 -1
- package/dist/static/Icon.d.ts +1 -1
- package/dist/static/Icon.d.ts.map +1 -1
- package/dist/static/RestrictedAccess.d.ts.map +1 -1
- package/dist/static/date-range-input/DateRangeInput.d.ts +4 -4
- package/dist/static/date-range-input/DateRangeInput.d.ts.map +1 -1
- package/dist/static/date-range-input/DateRangeInput.js +1 -1
- package/dist/static/form-number-input/FormNumberInput.d.ts +1 -2
- package/dist/static/form-number-input/FormNumberInput.d.ts.map +1 -1
- package/dist/static/form-number-input/FormNumberInput.js +1 -1
- package/dist/static/images/DefaultUserImage.d.ts +1 -1
- package/dist/static/images/DefaultUserImage.d.ts.map +1 -1
- package/dist/static/loader/ButtonLoader.d.ts +1 -1
- package/dist/static/loader/ButtonLoader.d.ts.map +1 -1
- package/dist/static/loader/PaymentLoader.d.ts +1 -1
- package/dist/static/loader/PaymentLoader.d.ts.map +1 -1
- package/dist/static/manual-date-picker/ManualDatePicker.d.ts +1 -1
- package/dist/static/manual-date-picker/ManualDatePicker.d.ts.map +1 -1
- package/dist/static/manual-date-picker/hooks/useManualDatePicker.d.ts +2 -2
- package/dist/static/manual-date-picker/hooks/useManualDatePicker.d.ts.map +1 -1
- package/dist/static/tabs/Tab.d.ts +1 -1
- package/dist/static/tabs/Tab.d.ts.map +1 -1
- package/dist/static/tabs/Tabs.d.ts +1 -1
- package/dist/static/tabs/Tabs.d.ts.map +1 -1
- package/dist/styles/events/EventCard.scss +5 -12
- package/dist/styles/events/EventStatisticModal.scss +37 -0
- package/dist/styles/events/EventVenueMap.scss +1 -1
- package/dist/styles/form/CustomCheckbox.scss +0 -6
- package/dist/styles/header/Header.scss +4 -0
- package/dist/styles/iframe-events/Calendar.scss +14 -14
- package/dist/styles/iframe-events/Card.scss +0 -1
- package/dist/styles/iframe-order-process/IframeOrderProcess.scss +4 -12
- package/dist/styles/iframe-page/PageBody.scss +2 -5
- package/dist/styles/notification/Notification.scss +0 -4
- package/dist/styles/packages.scss +1 -9
- package/dist/styles/resources-blocking/_index.scss +1 -54
- package/dist/styles/sales/BookingFilter.scss +11 -45
- package/dist/styles/sales/BookingResults.scss +6 -14
- package/dist/styles/sales/ManualBooking.scss +1 -7
- package/dist/styles/sales/RandomColors.scss +4 -7
- package/dist/styles/snippet-templates/SnippetTemplateCard.scss +0 -16
- package/dist/styles/static/DateRangeInput.scss +1 -5
- package/dist/styles/themes/bookedit/_index.scss +0 -1
- package/dist/styles/themes/bookedit/_variables.scss +2 -3
- package/dist/styles/widgets/BookingStyleSelector.scss +14 -0
- package/dist/styles/widgets/CalendarStyleSelector.scss +17 -0
- package/dist/styles/widgets/CheckboxGroup.scss +15 -0
- package/dist/styles/{image-radio-input/_index.scss → widgets/ImageRadioInput.scss} +0 -12
- package/dist/styles/widgets/ProductSetSelector.scss +19 -0
- package/dist/styles/widgets/SnippetCode.scss +18 -0
- package/dist/styles/widgets/WidgetBuilderForm.scss +51 -0
- package/{src/styles/radio-card/_index.scss → dist/styles/widgets/WidgetTypeRadioButton.scss} +1 -8
- package/dist/styles/widgets/WidgetTypeSelector.scss +6 -0
- package/dist/styles/widgets/_index.scss +9 -0
- package/dist/styles/zones/ZoneForm.scss +1 -3
- package/dist/table/FilterHelperComponent.d.ts.map +1 -1
- package/dist/table/FilterHelperComponent.js +1 -1
- package/dist/table/MenuButton.d.ts +1 -1
- package/dist/table/MenuButton.d.ts.map +1 -1
- package/dist/table/StaticTable.d.ts +4 -6
- package/dist/table/StaticTable.d.ts.map +1 -1
- package/dist/table/StaticTable.js +1 -1
- package/dist/table/TableHelperComponent.d.ts +3 -2
- package/dist/table/TableHelperComponent.d.ts.map +1 -1
- package/dist/table/index.d.ts +0 -1
- package/dist/table/index.d.ts.map +1 -1
- package/dist/table/utils/index.d.ts +0 -1
- package/dist/table/utils/index.d.ts.map +1 -1
- package/dist/table/utils/index.js +1 -1
- package/dist/tiptap-editor/TipTapMenu/extensions/EMOJIS.d.ts +1 -1
- package/dist/tiptap-editor/TipTapMenu/extensions/EMOJIS.d.ts.map +1 -1
- package/dist/typeahead/Typeahead.d.ts +12 -6
- package/dist/typeahead/Typeahead.d.ts.map +1 -1
- package/dist/typeahead/Typeahead.js +1 -1
- package/dist/typeahead-helper/TypeaheadHelperComponent.d.ts +1 -1
- package/dist/typeahead-helper/TypeaheadHelperComponent.d.ts.map +1 -1
- package/dist/types/categories.d.ts +2 -2
- package/dist/types/categories.d.ts.map +1 -1
- package/dist/types/currency.d.ts +1 -1
- package/dist/types/currency.d.ts.map +1 -1
- package/dist/types/generic/SelectItem.d.ts +1 -1
- package/dist/types/generic/SelectItem.d.ts.map +1 -1
- package/dist/types/iframe.d.ts +3 -8
- package/dist/types/iframe.d.ts.map +1 -1
- package/dist/types/provider-links.d.ts +2 -2
- package/dist/types/provider-links.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/NameControl.d.ts +1 -1
- package/dist/venue-map-sets/form/components/NameControl.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/VenueMapControl.d.ts +4 -4
- package/dist/venue-map-sets/form/components/VenueMapControl.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/VenueMapImageControl.d.ts +1 -1
- package/dist/venue-map-sets/form/components/VenueMapImageControl.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/VenueMapModal.d.ts +1 -1
- package/dist/venue-map-sets/form/components/VenueMapModal.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/VenueMapsControl.d.ts +1 -1
- package/dist/venue-map-sets/form/components/VenueMapsControl.d.ts.map +1 -1
- package/dist/venue-map-sets/form/types/index.d.ts +4 -4
- package/dist/venue-map-sets/form/types/index.d.ts.map +1 -1
- package/dist/virtualized/components/VirtualizedGrid.d.ts +1 -1
- package/dist/virtualized/components/VirtualizedGrid.d.ts.map +1 -1
- package/dist/virtualized/components/VirtualizedWindowScroller.d.ts +3 -3
- package/dist/virtualized/components/VirtualizedWindowScroller.d.ts.map +1 -1
- package/dist/virtualized/components/VirtualizedWindowScroller.js +1 -1
- package/dist/virtualized/context/VirtualizedContext.d.ts +2 -2
- package/dist/virtualized/context/VirtualizedContext.d.ts.map +1 -1
- package/dist/widgets/BookingStyleSelector/BookingStyleSelector.d.ts +3 -0
- package/dist/widgets/BookingStyleSelector/BookingStyleSelector.d.ts.map +1 -0
- package/dist/widgets/BookingStyleSelector/index.d.ts +2 -0
- package/dist/widgets/BookingStyleSelector/index.d.ts.map +1 -0
- package/dist/widgets/CalendarStyleSelector/CalendarStyleSelector.d.ts +3 -0
- package/dist/widgets/CalendarStyleSelector/CalendarStyleSelector.d.ts.map +1 -0
- package/dist/widgets/CalendarStyleSelector/index.d.ts +2 -0
- package/dist/widgets/CalendarStyleSelector/index.d.ts.map +1 -0
- package/dist/widgets/CheckboxGroup/CheckboxGroup.d.ts +8 -0
- package/dist/widgets/CheckboxGroup/CheckboxGroup.d.ts.map +1 -0
- package/dist/widgets/CheckboxGroup/index.d.ts +2 -0
- package/dist/widgets/CheckboxGroup/index.d.ts.map +1 -0
- package/dist/widgets/ImageRadioInput/ImageRadioInput.d.ts +9 -0
- package/dist/widgets/ImageRadioInput/ImageRadioInput.d.ts.map +1 -0
- package/dist/widgets/ImageRadioInput/index.d.ts.map +1 -0
- package/dist/widgets/ProductSetSelector/ProductSetSelector.d.ts +3 -0
- package/dist/widgets/ProductSetSelector/ProductSetSelector.d.ts.map +1 -0
- package/dist/widgets/ProductSetSelector/index.d.ts +2 -0
- package/dist/widgets/ProductSetSelector/index.d.ts.map +1 -0
- package/dist/widgets/SnippetCode/SnippetCode.d.ts +6 -0
- package/dist/widgets/SnippetCode/SnippetCode.d.ts.map +1 -0
- package/dist/widgets/SnippetCode/index.d.ts +2 -0
- package/dist/widgets/SnippetCode/index.d.ts.map +1 -0
- package/dist/widgets/WidgetBuilderForm/WidgetBuilderForm.d.ts +12 -0
- package/dist/widgets/WidgetBuilderForm/WidgetBuilderForm.d.ts.map +1 -0
- package/dist/widgets/WidgetTypeRadio/WidgetTypeRadio.d.ts +7 -0
- package/dist/widgets/WidgetTypeRadio/WidgetTypeRadio.d.ts.map +1 -0
- package/dist/widgets/WidgetTypeRadio/index.d.ts +2 -0
- package/dist/widgets/WidgetTypeRadio/index.d.ts.map +1 -0
- package/dist/widgets/WidgetTypeSelector/WidgetTypeSelector.d.ts +3 -0
- package/dist/widgets/WidgetTypeSelector/WidgetTypeSelector.d.ts.map +1 -0
- package/dist/zone/form/ZoneForm.d.ts +3 -3
- package/dist/zone/form/ZoneForm.d.ts.map +1 -1
- package/dist/zone/form/ZoneForm.js +1 -1
- package/dist/zone/form/components/AvailableTimesControl.d.ts +2 -11
- package/dist/zone/form/components/AvailableTimesControl.d.ts.map +1 -1
- package/dist/zone/form/components/AvailableTimesControl.js +1 -1
- package/dist/zone/form/components/DescriptionControl.d.ts +1 -1
- package/dist/zone/form/components/DescriptionControl.d.ts.map +1 -1
- package/dist/zone/form/components/NameControl.d.ts +1 -1
- package/dist/zone/form/components/NameControl.d.ts.map +1 -1
- package/dist/zone/form/components/SortControl.d.ts +1 -1
- package/dist/zone/form/components/SortControl.d.ts.map +1 -1
- package/dist/zone/form/components/ZoneControl.d.ts +2 -2
- package/dist/zone/form/components/ZoneControl.d.ts.map +1 -1
- package/dist/zone/form/components/ZoneControl.js +1 -1
- package/dist/zone/form/components/ZoneImageControl.d.ts +1 -1
- package/dist/zone/form/components/ZoneImageControl.d.ts.map +1 -1
- package/dist/zone/form/components/ZoneRecurrencesControl.d.ts +2 -2
- package/dist/zone/form/components/ZoneRecurrencesControl.d.ts.map +1 -1
- package/dist/zone/form/components/ZoneRecurrencesControl.js +1 -1
- package/dist/zone/form/components/ZoneTypeControl.d.ts +1 -1
- package/dist/zone/form/components/ZoneTypeControl.d.ts.map +1 -1
- package/dist/zone/form/utils/dates.d.ts.map +1 -1
- package/dist/zone/form/utils/dates.js +1 -1
- package/package.json +5 -7
- package/src/assets/dashboard/blockingClock.png +0 -0
- package/src/assets/dashboard/bookingCalendar.svg +67 -0
- package/src/assets/dashboard/bookingList.svg +68 -0
- package/src/assets/dashboard/bookingListSmall.svg +6 -0
- package/src/assets/dashboard/fullscreen.svg +3 -0
- package/src/assets/dashboard/minimize.svg +3 -0
- package/src/assets/dashboard/refresh.svg +4 -0
- package/src/assets/logo/bookedit.svg +11 -9
- package/src/assets/logo/licklist.svg +2 -0
- package/src/assets/widgets/circlePlus.svg +4 -0
- package/src/assets/widgets/inPage.svg +10 -0
- package/src/assets/widgets/overlay.svg +9 -0
- package/src/assets/widgets/sidebar.svg +9 -0
- package/src/collapsible-input-group/CollapsibleInputGroup.tsx +1 -1
- package/src/events/edit-event-modal/IntervalInput.tsx +2 -31
- package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.stories.tsx +12 -0
- package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx +1 -4
- package/src/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.tsx +2 -11
- package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +5 -7
- package/src/events/event-card/EventCard.tsx +2 -6
- package/src/events/event-card/utils.ts +16 -89
- package/src/events/event-statistic-modal/EventStatisticModal.tsx +4 -5
- package/src/events/event-statistic-modal/hooks/useTableData.tsx +7 -8
- package/src/events/event-statistic-modal/utils/index.ts +4 -6
- package/src/events/event-venue-map/EventVenueMap.tsx +0 -4
- package/src/events/event-venue-map/components/MapPoint/MapPoint.tsx +3 -5
- package/src/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.tsx +2 -21
- package/src/events/event-venue-map/components/VenueMap/VenueMap.tsx +4 -12
- package/src/events/event-venue-map/hooks/useImage.tsx +8 -17
- package/src/file-upload/FileUpload.tsx +1 -3
- package/src/help/popover/HelpPopover.tsx +5 -13
- package/src/iframe/event/event-calendar/EventCalendar.stories.tsx +37 -0
- package/src/iframe/event/event-calendar/EventCalendar.tsx +20 -0
- package/src/{calendar → iframe/event/event-calendar}/components/CalendarButtons/CalendarButtons.tsx +14 -31
- package/src/iframe/event/event-calendar/components/CalendarDate/CalendarDate.tsx +43 -0
- package/src/iframe/event/event-calendar/components/CalendarDate/index.ts +2 -0
- package/src/{calendar → iframe/event/event-calendar}/components/CalendarDates/CalendarDates.tsx +16 -25
- package/src/{calendar → iframe/event/event-calendar}/components/CalendarSelect/CalendarSelect.tsx +1 -1
- package/src/iframe/event/event-calendar/index.ts +6 -0
- package/src/iframe/event/event-calendar/types/index.ts +6 -0
- package/src/iframe/event/event-calendar/utils/index.ts +11 -0
- package/src/iframe/event/event-card/IframeEventCard.stories.tsx +14 -6
- package/src/iframe/event/event-card/IframeEventCard.tsx +10 -6
- package/src/iframe/event/event-card/IframeEventCardSkeleton.tsx +30 -20
- package/src/iframe/event/event-card/IframeEventCards.stories.tsx +3 -2
- package/src/iframe/event/event-details/EventDetails.stories.tsx +187 -0
- package/src/iframe/event/event-details/EventDetails.tsx +92 -0
- package/src/iframe/event/event-details/EventDetailsOneStepForm.stories.tsx +123 -0
- package/src/iframe/event/event-details/components/category-product/CategoryProduct.tsx +109 -0
- package/src/iframe/event/event-details/components/category-product/index.ts +1 -0
- package/src/iframe/event/event-details/components/event-details-form/EventDetailsForm.tsx +250 -0
- package/src/iframe/event/event-details/components/event-details-form/index.ts +5 -0
- package/src/{number-of-people-input → iframe/event/event-details/components/number-of-people-input}/NumberOfPeopleInput.tsx +1 -1
- package/src/{number-of-people-input/components → iframe/event/event-details/components/number-of-people-input/component}/RenderNumberOfPeopleInputComponent.tsx +3 -3
- package/src/iframe/event/event-details/components/number-of-people-input/component/index.ts +1 -0
- package/src/iframe/event/event-details/components/number-of-people-input/index.ts +1 -0
- package/src/iframe/event/event-details/components/product-category-view/ProductCategoryView.tsx +34 -0
- package/src/iframe/event/event-details/components/product-category-view/index.ts +1 -0
- package/src/iframe/event/event-details/index.ts +1 -0
- package/src/iframe/event/event-details/utils/index.ts +1 -0
- package/src/iframe/event/event-details/utils/routes.ts +6 -0
- package/src/iframe/event/event-order-short-summary/components/Summary/Summary.tsx +20 -20
- package/src/iframe/event/event-venue-map/IframeEventVenueMap.stories.tsx +2 -6
- package/src/iframe/event/index.ts +7 -0
- package/src/iframe/event/ticket-description/TicketDescription.stories.tsx +2 -8
- package/src/iframe/event/ticket-description/TicketDescription.tsx +2 -7
- package/src/iframe/index.ts +3 -5
- package/src/iframe/order-process/OrderProcess.stories.tsx +362 -0
- package/src/iframe/order-process/components/BookingSummary/BookingSummary.tsx +3 -8
- package/src/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.tsx +2 -2
- package/src/iframe/order-process/components/BookingSummary/types/index.ts +6 -7
- package/src/iframe/order-process/components/BookingSummary/utils/index.ts +2 -8
- package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.stories.tsx +1 -1
- package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.tsx +11 -26
- package/src/iframe/order-process/components/CalendarStepsForm/components/Category.tsx +0 -4
- package/src/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.tsx +0 -4
- package/src/iframe/order-process/components/{ErrorModal → CalendarStepsForm/components}/ErrorModal.tsx +10 -13
- package/src/iframe/order-process/components/Category/Category.stories.tsx +118 -0
- package/src/iframe/order-process/components/Category/Category.tsx +48 -0
- package/src/iframe/order-process/components/Category/index.ts +1 -0
- package/src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx +10 -30
- package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +0 -3
- package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +34 -21
- package/src/iframe/order-process/components/NavigationSteps/NavigationSteps.tsx +6 -8
- package/src/iframe/order-process/components/NavigationSteps/index.ts +1 -1
- package/src/iframe/order-process/components/StepsForm/StepsForm.tsx +173 -0
- package/src/iframe/order-process/components/StepsForm/index.ts +1 -0
- package/src/iframe/order-process/components/Timer/Timer.stories.tsx +1 -1
- package/src/iframe/order-process/components/Timer/utils/index.ts +9 -6
- package/src/iframe/order-process/components/utils/category.ts +48 -0
- package/src/iframe/order-process/constants.ts +0 -1
- package/src/iframe/order-process/index.ts +2 -3
- package/src/iframe/page/Page.stories.tsx +2 -2
- package/src/iframe/page/components/PageBody/PageBody.tsx +1 -1
- package/src/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.tsx +8 -15
- package/src/iframe/page/components/PageHeader/PageHeader.tsx +13 -2
- package/src/iframe/payment/order-items-table/OrderItemsTable.stories.tsx +0 -2
- package/src/iframe/payment/order-items-table/hooks/useTableData.tsx +93 -12
- package/src/iframe/payment/order-items-table/types/index.ts +1 -18
- package/src/iframe/payment/order-items-table/utils/index.ts +15 -55
- package/src/iframe/payment/payment-page/PaymentPage.stories.tsx +1 -1
- package/src/iframe/payment/payment-page/PaymentPage.tsx +7 -46
- package/src/iframe/payment/payment-page/PaymentTimer.tsx +6 -31
- package/src/iframe/payment/payment-status-page/PaymentStatusPage.tsx +12 -66
- package/src/iframe/ryft/RyftPaymentForm.tsx +1 -1
- package/src/index.ts +0 -10
- package/src/logo/Logo.tsx +1 -1
- package/src/notification/email-template/card/EmailTemplateCard.stories.tsx +2 -4
- package/src/notification/email-template/card/EmailTemplateCard.tsx +3 -15
- package/src/notification/email-template/control/EmailTemplateControl.tsx +7 -116
- package/src/notification/email-template/form/EmailTemplateForm.stories.tsx +0 -34
- package/src/notification/email-template/form/EmailTemplateForm.tsx +5 -23
- package/src/notification/sms-template/card/SmsTemplateCard.stories.tsx +1 -3
- package/src/notification/sms-template/card/SmsTemplateCard.tsx +3 -13
- package/src/notification/sms-template/control/SmsTemplateControl.tsx +2 -40
- package/src/notification/sms-template/form/SmsTemplateForm.stories.tsx +0 -28
- package/src/notification/sms-template/form/SmsTemplateForm.tsx +1 -6
- package/src/product-set/control/DateAndRecurrenceInput.tsx +4 -77
- package/src/product-set/control/ProductSetControl.stories.tsx +2 -0
- package/src/product-set/control/ProductSetControl.tsx +55 -135
- package/src/product-set/control/ProductSetRecurrenceControl.tsx +5 -14
- package/src/product-set/form/ProductCategoriesControl.tsx +5 -19
- package/src/product-set/form/ProductSetForm.stories.tsx +14 -50
- package/src/product-set/form/ProductSetForm.tsx +2 -29
- package/src/product-set/form/ProductsControl.tsx +1 -40
- package/src/product-set/form/StepsControl.tsx +3 -31
- package/src/product-set/product/ProductControl.tsx +24 -72
- package/src/product-set/product/duration/ProductDurationControl.tsx +1 -1
- package/src/product-set/product/price/ProductPriceControl.tsx +21 -43
- package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +16 -30
- package/src/product-set/product-category/ProductCategory.stories.tsx +1 -0
- package/src/product-set/product-category/ProductCategoryControl.tsx +31 -2
- package/src/product-set/utils/index.ts +0 -66
- package/src/provider/location-input/LocationInput.tsx +20 -21
- package/src/provider/location-input/LocationInputDescription.tsx +2 -2
- package/src/provider/location-input/index.ts +1 -1
- package/src/provider/provider-details-input/ProviderDetailsInput.tsx +15 -31
- package/src/provider/resources-blocking-modal/ResourcesBlockingModal.stories.tsx +51 -0
- package/src/provider/resources-blocking-modal/ResourcesBlockingModal.tsx +134 -0
- package/src/provider/resources-blocking-modal/index.ts +1 -0
- package/src/provider/venue-form/VenueForm.stories.tsx +0 -24
- package/src/provider/venue-form/VenueForm.tsx +4 -55
- package/src/provider/working-hours-input/WorkingHoursInputDescription.tsx +8 -10
- package/src/recurrence-input/RecurrenceEndInput.tsx +10 -28
- package/src/recurrence-input/RecurrenceInput.tsx +2 -12
- package/src/recurring-date-picker-input/RecurrenceIntervalAndFrequencyInput.tsx +24 -93
- package/src/recurring-date-picker-input/RecurringDatePickerInput.tsx +0 -10
- package/src/report/form/ReportForm.tsx +1 -1
- package/src/sales/booking/filter/BookingFilter.stories.tsx +27 -0
- package/src/sales/booking/filter/BookingFilter.tsx +47 -0
- package/src/sales/booking/filter/components/AdditionalFIlterSection.tsx +95 -0
- package/src/sales/booking/filter/components/MainFilterSection.tsx +131 -0
- package/src/sales/booking/filter/components/ResultTagButton.tsx +33 -0
- package/src/sales/booking/filter/components/SearchingForSection.tsx +68 -0
- package/src/sales/booking/filter/index.ts +2 -0
- package/src/sales/booking/index.ts +2 -0
- package/src/sales/booking/results/BookingResults.stories.tsx +7 -12
- package/src/sales/booking/results/BookingResults.tsx +0 -7
- package/src/sales/booking/results/components/ResultCard.tsx +7 -63
- package/src/sales/booking/results/constants.ts +0 -1
- package/src/sales/booking/results/index.ts +0 -1
- package/src/sales/booking/tabs/BookingTabs.stories.tsx +17 -0
- package/src/sales/booking/tabs/BookingTabs.tsx +88 -0
- package/src/sales/booking/tabs/index.ts +2 -0
- package/src/sales/coupon/control/CouponFormControl.tsx +0 -7
- package/src/sales/filters/SaleFilter.stories.tsx +1 -1
- package/src/sales/filters/SaleFilters.tsx +2 -3
- package/src/sales/guest-profile/previous-bookings/PreviousBookings.stories.tsx +12 -35
- package/src/sales/guest-profile/previous-bookings/PreviousBookings.tsx +3 -11
- package/src/sales/manual-booking/category-product/CategoryProduct.tsx +285 -0
- package/src/sales/manual-booking/category-product/index.ts +1 -0
- package/src/sales/manual-booking/category-products/CategoryProducts.tsx +69 -0
- package/src/sales/manual-booking/category-products/index.ts +1 -0
- package/src/sales/manual-booking/controll/ManualBookingStepsControll.tsx +121 -0
- package/src/sales/manual-booking/controll/index.ts +1 -0
- package/src/sales/manual-booking/create-user/CreateUser.stories.tsx +27 -0
- package/src/sales/manual-booking/create-user/CreateUser.tsx +224 -0
- package/src/sales/manual-booking/create-user/index.ts +1 -0
- package/src/sales/manual-booking/customer-info/CustomerInfo.tsx +128 -0
- package/src/sales/manual-booking/customer-info/index.ts +1 -0
- package/src/sales/manual-booking/final-step/FinalStep.tsx +38 -0
- package/src/sales/manual-booking/final-step/index.ts +1 -0
- package/src/sales/manual-booking/index.ts +5 -1
- package/src/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.tsx +1 -3
- package/src/sales/manual-booking/select-date-type-control/SelectDateTypeControl.stories.tsx +1 -1
- package/src/sales/manual-booking/select-date-type-control/SelectDateTypeControl.tsx +5 -5
- package/src/sales/manual-booking/select-event/SelectEvent.tsx +3 -3
- package/src/sales/manual-booking/select-menu/SelectMenu.tsx +5 -9
- package/src/sales/manual-booking/select-menu/components/MenuButton.tsx +3 -3
- package/src/sales/manual-booking/summary/ManualBookingSummary.tsx +5 -20
- package/src/sales/notes/NotesTableRow.tsx +1 -1
- package/src/sales/source-of-sales/SourceOfSalesChart.tsx +28 -31
- package/src/setting/dashboard/index.ts +2 -0
- package/src/setting/dashboard/snippets/control/SnippetControl.tsx +237 -0
- package/src/setting/dashboard/snippets/control/index.ts +1 -0
- package/src/setting/dashboard/snippets/form/SnippetForm.stories.tsx +104 -0
- package/src/setting/dashboard/snippets/form/SnippetForm.tsx +94 -0
- package/src/setting/dashboard/snippets/form/context.tsx +18 -0
- package/src/setting/dashboard/snippets/form/index.ts +1 -0
- package/src/setting/dashboard/snippets/modal/SnippetViewTypeModal.stories.tsx +28 -0
- package/src/setting/dashboard/snippets/modal/SnippetViewTypeModal.tsx +104 -0
- package/src/setting/dashboard/snippets/modal/index.ts +2 -0
- package/src/snippet/snippet-template/SnippetTemplate.tsx +1 -1
- package/src/snippet/snippet-template/form/SnippetTemplateForm.tsx +10 -10
- package/src/snippet/snippet-template/preview/Preview.tsx +11 -18
- package/src/sortable-tree/SortableTreeItem.tsx +6 -28
- package/src/static/CountryCodeSelect.tsx +5 -3
- package/src/static/RestrictedAccess.tsx +1 -1
- package/src/static/date-range-input/DateRangeInput.tsx +3 -6
- package/src/static/form-number-input/FormNumberInput.tsx +1 -8
- package/src/styles/events/EventCard.scss +5 -12
- package/src/styles/events/EventStatisticModal.scss +37 -0
- package/src/styles/events/EventVenueMap.scss +1 -1
- package/src/styles/form/CustomCheckbox.scss +0 -6
- package/src/styles/header/Header.scss +4 -0
- package/src/styles/iframe-events/Calendar.scss +14 -14
- package/src/styles/iframe-events/Card.scss +0 -1
- package/src/styles/iframe-order-process/IframeOrderProcess.scss +4 -12
- package/src/styles/iframe-page/PageBody.scss +2 -5
- package/src/styles/notification/Notification.scss +0 -4
- package/src/styles/packages.scss +1 -9
- package/src/styles/resources-blocking/_index.scss +1 -54
- package/src/styles/sales/BookingFilter.scss +11 -45
- package/src/styles/sales/BookingResults.scss +6 -14
- package/src/styles/sales/ManualBooking.scss +1 -7
- package/src/styles/sales/RandomColors.scss +4 -7
- package/src/styles/snippet-templates/SnippetTemplateCard.scss +0 -16
- package/src/styles/static/DateRangeInput.scss +1 -5
- package/src/styles/themes/bookedit/_index.scss +0 -1
- package/src/styles/themes/bookedit/_variables.scss +2 -3
- package/src/styles/widgets/BookingStyleSelector.scss +14 -0
- package/src/styles/widgets/CalendarStyleSelector.scss +17 -0
- package/src/styles/widgets/CheckboxGroup.scss +15 -0
- package/src/styles/{image-radio-input/_index.scss → widgets/ImageRadioInput.scss} +0 -12
- package/src/styles/widgets/ProductSetSelector.scss +19 -0
- package/src/styles/widgets/SnippetCode.scss +18 -0
- package/src/styles/widgets/WidgetBuilderForm.scss +51 -0
- package/{dist/styles/radio-card/_index.scss → src/styles/widgets/WidgetTypeRadioButton.scss} +1 -8
- package/src/styles/widgets/WidgetTypeSelector.scss +6 -0
- package/src/styles/widgets/_index.scss +9 -0
- package/src/styles/zones/ZoneForm.scss +1 -3
- package/src/table/FilterHelperComponent.tsx +0 -1
- package/src/table/StaticTable.tsx +14 -40
- package/src/table/Table.stories.tsx +1 -127
- package/src/table/TableHelperComponent.tsx +1 -3
- package/src/table/index.ts +0 -1
- package/src/table/utils/index.ts +0 -2
- package/src/typeahead/Typeahead.stories.tsx +6 -9
- package/src/typeahead/Typeahead.tsx +13 -21
- package/src/types/iframe.ts +1 -8
- package/src/typings.d.ts +0 -11
- package/src/virtualized/components/VirtualizedWindowScroller.tsx +1 -2
- package/src/widgets/BookingStyleSelector/BookingStyleSelector.stories.tsx +12 -0
- package/src/widgets/BookingStyleSelector/BookingStyleSelector.tsx +34 -0
- package/src/widgets/BookingStyleSelector/index.ts +1 -0
- package/src/widgets/CalendarStyleSelector/CalendarStyleSelector.stories.tsx +12 -0
- package/src/widgets/CalendarStyleSelector/CalendarStyleSelector.tsx +29 -0
- package/src/widgets/CalendarStyleSelector/index.ts +1 -0
- package/src/widgets/CheckboxGroup/CheckboxGroup.stories.tsx +16 -0
- package/src/widgets/CheckboxGroup/CheckboxGroup.tsx +64 -0
- package/src/widgets/CheckboxGroup/index.ts +1 -0
- package/src/widgets/ImageRadioInput/ImageRadioInput.stories.tsx +18 -0
- package/src/widgets/ImageRadioInput/ImageRadioInput.tsx +29 -0
- package/src/widgets/ProductSetSelector/ProductSetSelector.stories.tsx +12 -0
- package/src/widgets/ProductSetSelector/ProductSetSelector.tsx +27 -0
- package/src/widgets/ProductSetSelector/index.ts +1 -0
- package/src/widgets/SnippetCode/SnippetCode.stories.tsx +17 -0
- package/src/widgets/SnippetCode/SnippetCode.tsx +27 -0
- package/src/widgets/SnippetCode/index.ts +1 -0
- package/src/widgets/WidgetBuilderForm/WidgetBuilderForm.stories.tsx +12 -0
- package/src/widgets/WidgetBuilderForm/WidgetBuilderForm.tsx +84 -0
- package/src/widgets/WidgetTypeRadio/WidgetTypeRadio.stories.tsx +17 -0
- package/src/widgets/WidgetTypeRadio/WidgetTypeRadio.tsx +43 -0
- package/src/widgets/WidgetTypeRadio/index.ts +1 -0
- package/src/widgets/WidgetTypeSelector/WidgetTypeSelector.stories.tsx +12 -0
- package/src/widgets/WidgetTypeSelector/WidgetTypeSelector.tsx +32 -0
- package/src/zone/form/ZoneForm.tsx +2 -1
- package/src/zone/form/components/AvailableTimesControl.tsx +83 -94
- package/src/zone/form/components/ZoneControl.tsx +5 -4
- package/src/zone/form/components/ZoneRecurrencesControl.tsx +62 -8
- package/src/zone/form/utils/dates.ts +34 -29
- package/tests/Snippets/Snippets.test.tsx +77 -0
- package/tsconfig.json +2 -2
- package/dist/assets/iframe/available.svg +0 -5
- package/dist/assets/iframe/available.svg.js +0 -1
- package/dist/assets/iframe/backButton.svg +0 -4
- package/dist/assets/iframe/limited.svg +0 -5
- package/dist/assets/iframe/limited.svg.js +0 -1
- package/dist/assets/iframe/soldOut.svg +0 -6
- package/dist/assets/iframe/soldOut.svg.js +0 -1
- package/dist/assets/logo/favicon.svg +0 -12
- package/dist/availability-indicator/AvailabilityIndicator.d.ts +0 -10
- package/dist/availability-indicator/AvailabilityIndicator.d.ts.map +0 -1
- package/dist/availability-indicator/AvailabilityIndicator.js +0 -1
- package/dist/availability-indicator/index.d.ts +0 -2
- package/dist/availability-indicator/index.d.ts.map +0 -1
- package/dist/calendar/Calendar.d.ts +0 -19
- package/dist/calendar/Calendar.d.ts.map +0 -1
- package/dist/calendar/Calendar.js +0 -1
- package/dist/calendar/components/CalendarButtons/CalendarButtons.d.ts +0 -6
- package/dist/calendar/components/CalendarButtons/CalendarButtons.d.ts.map +0 -1
- package/dist/calendar/components/CalendarButtons/CalendarButtons.js +0 -1
- package/dist/calendar/components/CalendarButtons/index.d.ts.map +0 -1
- package/dist/calendar/components/CalendarDates/CalendarDates.d.ts +0 -5
- package/dist/calendar/components/CalendarDates/CalendarDates.d.ts.map +0 -1
- package/dist/calendar/components/CalendarDates/CalendarDates.js +0 -1
- package/dist/calendar/components/CalendarDates/index.d.ts.map +0 -1
- package/dist/calendar/components/CalendarSelect/CalendarSelect.d.ts.map +0 -1
- package/dist/calendar/components/CalendarSelect/CalendarSelect.js +0 -1
- package/dist/calendar/components/CalendarSelect/index.d.ts.map +0 -1
- package/dist/calendar/components/CalendarWeekdays/CalendarWeekdays.d.ts.map +0 -1
- package/dist/calendar/components/CalendarWeekdays/index.d.ts.map +0 -1
- package/dist/calendar/index.d.ts +0 -4
- package/dist/calendar/index.d.ts.map +0 -1
- package/dist/calendar/utils/index.d.ts +0 -5
- package/dist/calendar/utils/index.d.ts.map +0 -1
- package/dist/calendar/utils/index.js +0 -1
- package/dist/customers/components/filter/CustomerFilter.d.ts +0 -13
- package/dist/customers/components/filter/CustomerFilter.d.ts.map +0 -1
- package/dist/customers/components/filter/CustomerFilter.js +0 -1
- package/dist/customers/components/filter/index.d.ts +0 -3
- package/dist/customers/components/filter/index.d.ts.map +0 -1
- package/dist/customers/components/index.d.ts +0 -2
- package/dist/customers/components/index.d.ts.map +0 -1
- package/dist/customers/index.d.ts +0 -2
- package/dist/customers/index.d.ts.map +0 -1
- package/dist/date-time-button/DateContent.d.ts +0 -9
- package/dist/date-time-button/DateContent.d.ts.map +0 -1
- package/dist/date-time-button/DateContent.js +0 -1
- package/dist/date-time-button/DateTimeButton.d.ts +0 -17
- package/dist/date-time-button/DateTimeButton.d.ts.map +0 -1
- package/dist/date-time-button/DateTimeButton.js +0 -1
- package/dist/date-time-button/index.d.ts +0 -2
- package/dist/date-time-button/index.d.ts.map +0 -1
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.d.ts +0 -9
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.d.ts.map +0 -1
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.js +0 -1
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.d.ts +0 -2
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.d.ts.map +0 -1
- package/dist/iframe/activity-card/ActivityCard.d.ts +0 -15
- package/dist/iframe/activity-card/ActivityCard.d.ts.map +0 -1
- package/dist/iframe/activity-card/ActivityCard.js +0 -1
- package/dist/iframe/activity-card/index.d.ts +0 -2
- package/dist/iframe/activity-card/index.d.ts.map +0 -1
- package/dist/iframe/back-button/BackButton.d.ts +0 -6
- package/dist/iframe/back-button/BackButton.d.ts.map +0 -1
- package/dist/iframe/back-button/BackButton.js +0 -1
- package/dist/iframe/back-button/index.d.ts +0 -2
- package/dist/iframe/back-button/index.d.ts.map +0 -1
- package/dist/iframe/order-process/components/ErrorModal/ErrorModal.d.ts +0 -9
- package/dist/iframe/order-process/components/ErrorModal/ErrorModal.d.ts.map +0 -1
- package/dist/iframe/order-process/components/ErrorModal/ErrorModal.js +0 -1
- package/dist/iframe/order-process/components/ErrorModal/index.d.ts +0 -2
- package/dist/iframe/order-process/components/ErrorModal/index.d.ts.map +0 -1
- package/dist/iframe/order-process/components/utils/useCategoryVerification.d.ts +0 -9
- package/dist/iframe/order-process/components/utils/useCategoryVerification.d.ts.map +0 -1
- package/dist/iframe/order-process/components/utils/useCategoryVerification.js +0 -1
- package/dist/iframe/payment/order-items-table/types/index.js +0 -1
- package/dist/iframe/payment/order-items-table/utils/paymentSummary.d.ts +0 -3
- package/dist/iframe/payment/order-items-table/utils/paymentSummary.d.ts.map +0 -1
- package/dist/iframe/payment/order-items-table/utils/paymentSummary.js +0 -1
- package/dist/image-radio-input/ImageRadioInput.d.ts +0 -15
- package/dist/image-radio-input/ImageRadioInput.d.ts.map +0 -1
- package/dist/image-radio-input/ImageRadioInput.js +0 -1
- package/dist/image-radio-input/index.d.ts.map +0 -1
- package/dist/notification/hooks/useTranslatedParameters.d.ts +0 -7
- package/dist/notification/hooks/useTranslatedParameters.d.ts.map +0 -1
- package/dist/notification/hooks/useTranslatedParameters.js +0 -1
- package/dist/number-of-people-input/NumberOfPeopleInput.d.ts.map +0 -1
- package/dist/number-of-people-input/NumberOfPeopleInput.js +0 -1
- package/dist/number-of-people-input/components/RenderNumberOfPeopleInputComponent.d.ts.map +0 -1
- package/dist/number-of-people-input/components/RenderNumberOfPeopleInputComponent.js +0 -1
- package/dist/number-of-people-input/components/index.d.ts +0 -2
- package/dist/number-of-people-input/components/index.d.ts.map +0 -1
- package/dist/number-of-people-input/index.d.ts +0 -3
- package/dist/number-of-people-input/index.d.ts.map +0 -1
- package/dist/product-set/hooks/useSortableTreeFunctions.d.ts +0 -11
- package/dist/product-set/hooks/useSortableTreeFunctions.d.ts.map +0 -1
- package/dist/product-set/hooks/useSortableTreeFunctions.js +0 -1
- package/dist/product-set/product/constants.d.ts +0 -2
- package/dist/product-set/product/constants.d.ts.map +0 -1
- package/dist/product-set/product/constants.js +0 -1
- package/dist/provider/constants.d.ts +0 -2
- package/dist/provider/constants.d.ts.map +0 -1
- package/dist/provider/constants.js +0 -1
- package/dist/provider/location-input/components/FormGroupControll.d.ts +0 -7
- package/dist/provider/location-input/components/FormGroupControll.d.ts.map +0 -1
- package/dist/provider/location-input/components/FormGroupControll.js +0 -1
- package/dist/provider/location-input/components/index.d.ts +0 -2
- package/dist/provider/location-input/components/index.d.ts.map +0 -1
- package/dist/radio-card/RadioCard.d.ts +0 -13
- package/dist/radio-card/RadioCard.d.ts.map +0 -1
- package/dist/radio-card/RadioCard.js +0 -1
- package/dist/radio-card/index.d.ts +0 -2
- package/dist/radio-card/index.d.ts.map +0 -1
- package/dist/sortable-fields/SortableFieldItem.d.ts +0 -9
- package/dist/sortable-fields/SortableFieldItem.d.ts.map +0 -1
- package/dist/sortable-fields/SortableFieldItem.js +0 -1
- package/dist/sortable-fields/SortableFieldList.d.ts +0 -18
- package/dist/sortable-fields/SortableFieldList.d.ts.map +0 -1
- package/dist/sortable-fields/SortableFieldList.js +0 -1
- package/dist/sortable-fields/index.d.ts +0 -2
- package/dist/sortable-fields/index.d.ts.map +0 -1
- package/dist/sorting-select/SortingSelect.d.ts +0 -10
- package/dist/sorting-select/SortingSelect.d.ts.map +0 -1
- package/dist/sorting-select/SortingSelect.js +0 -1
- package/dist/sorting-select/index.d.ts +0 -2
- package/dist/sorting-select/index.d.ts.map +0 -1
- package/dist/striped-static-table/StripedStaticTable.d.ts +0 -7
- package/dist/striped-static-table/StripedStaticTable.d.ts.map +0 -1
- package/dist/striped-static-table/StripedStaticTable.js +0 -1
- package/dist/striped-static-table/index.d.ts +0 -2
- package/dist/striped-static-table/index.d.ts.map +0 -1
- package/dist/styles/activity-card/GridActivitiesCard.scss +0 -29
- package/dist/styles/activity-card/ListActivitiesCard.scss +0 -58
- package/dist/styles/activity-card/_index.scss +0 -2
- package/dist/styles/availability-indicator/AvailabilityIndicator.scss +0 -7
- package/dist/styles/availability-indicator/_index.scss +0 -1
- package/dist/styles/back-button/BackButton.scss +0 -33
- package/dist/styles/back-button/_index.scss +0 -1
- package/dist/styles/customers/Filter.scss +0 -53
- package/dist/styles/customers/_index.scss +0 -1
- package/dist/styles/date-time-button/DateTimeButton.scss +0 -107
- package/dist/styles/date-time-button/_index.scss +0 -1
- package/dist/styles/sortable-field/SortableField.scss +0 -21
- package/dist/styles/sortable-field/_index.scss +0 -1
- package/dist/styles/striped-static-table/_index.scss +0 -33
- package/dist/table/ReactTableHelperComponent.d.ts +0 -12
- package/dist/table/ReactTableHelperComponent.d.ts.map +0 -1
- package/dist/table/ReactTableHelperComponent.js +0 -1
- package/dist/table/hooks/useTableQueryOptions.d.ts +0 -20
- package/dist/table/hooks/useTableQueryOptions.d.ts.map +0 -1
- package/dist/table/hooks/useTableQueryOptions.js +0 -1
- package/dist/table/types.d.ts +0 -41
- package/dist/table/types.d.ts.map +0 -1
- package/dist/zone/form/components/GameDurationControl.d.ts +0 -7
- package/dist/zone/form/components/GameDurationControl.d.ts.map +0 -1
- package/dist/zone/form/components/GameDurationControl.js +0 -1
- package/src/assets/iframe/available.svg +0 -5
- package/src/assets/iframe/backButton.svg +0 -4
- package/src/assets/iframe/limited.svg +0 -5
- package/src/assets/iframe/soldOut.svg +0 -6
- package/src/assets/logo/favicon.svg +0 -12
- package/src/availability-indicator/AvailabilityIndicator.tsx +0 -67
- package/src/availability-indicator/index.ts +0 -1
- package/src/calendar/Calendar.stories.tsx +0 -33
- package/src/calendar/Calendar.tsx +0 -45
- package/src/calendar/index.ts +0 -3
- package/src/calendar/utils/index.ts +0 -28
- package/src/customers/components/filter/CustomerFilter.stories.tsx +0 -18
- package/src/customers/components/filter/CustomerFilter.tsx +0 -48
- package/src/customers/components/filter/index.ts +0 -2
- package/src/customers/components/index.ts +0 -1
- package/src/customers/index.ts +0 -1
- package/src/date-time-button/DateContent.tsx +0 -46
- package/src/date-time-button/DateTimeButton.stories.tsx +0 -97
- package/src/date-time-button/DateTimeButton.tsx +0 -75
- package/src/date-time-button/index.ts +0 -1
- package/src/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.tsx +0 -68
- package/src/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.ts +0 -1
- package/src/iframe/activity-card/ActivityCard.stories.tsx +0 -51
- package/src/iframe/activity-card/ActivityCard.tsx +0 -66
- package/src/iframe/activity-card/index.ts +0 -1
- package/src/iframe/back-button/BackButton.stories.tsx +0 -16
- package/src/iframe/back-button/BackButton.tsx +0 -19
- package/src/iframe/back-button/index.ts +0 -1
- package/src/iframe/order-process/components/ErrorModal/index.ts +0 -1
- package/src/iframe/order-process/components/utils/useCategoryVerification.ts +0 -83
- package/src/iframe/payment/order-items-table/utils/paymentSummary.tsx +0 -118
- package/src/image-radio-input/ImageRadioInput.stories.tsx +0 -67
- package/src/image-radio-input/ImageRadioInput.tsx +0 -53
- package/src/notification/hooks/useTranslatedParameters.ts +0 -27
- package/src/number-of-people-input/components/RenderNumberOfPeopleInputComponent.stories.tsx +0 -92
- package/src/number-of-people-input/components/index.ts +0 -1
- package/src/number-of-people-input/index.ts +0 -2
- package/src/product-set/hooks/useSortableTreeFunctions.ts +0 -37
- package/src/product-set/product/constants.ts +0 -1
- package/src/provider/constants.ts +0 -1
- package/src/provider/location-input/components/FormGroupControll.tsx +0 -16
- package/src/provider/location-input/components/index.ts +0 -1
- package/src/radio-card/RadioCard.stories.tsx +0 -48
- package/src/radio-card/RadioCard.tsx +0 -49
- package/src/radio-card/index.ts +0 -1
- package/src/sortable-fields/SortableFieldItem.tsx +0 -60
- package/src/sortable-fields/SortableFieldList.tsx +0 -62
- package/src/sortable-fields/index.ts +0 -1
- package/src/sorting-select/SortingSelect.stories.tsx +0 -15
- package/src/sorting-select/SortingSelect.tsx +0 -79
- package/src/sorting-select/index.ts +0 -1
- package/src/striped-static-table/StripedStaticTable.stories.tsx +0 -71
- package/src/striped-static-table/StripedStaticTable.tsx +0 -63
- package/src/striped-static-table/index.ts +0 -1
- package/src/styles/activity-card/GridActivitiesCard.scss +0 -29
- package/src/styles/activity-card/ListActivitiesCard.scss +0 -58
- package/src/styles/activity-card/_index.scss +0 -2
- package/src/styles/availability-indicator/AvailabilityIndicator.scss +0 -7
- package/src/styles/availability-indicator/_index.scss +0 -1
- package/src/styles/back-button/BackButton.scss +0 -33
- package/src/styles/back-button/_index.scss +0 -1
- package/src/styles/customers/Filter.scss +0 -53
- package/src/styles/customers/_index.scss +0 -1
- package/src/styles/date-time-button/DateTimeButton.scss +0 -107
- package/src/styles/date-time-button/_index.scss +0 -1
- package/src/styles/sortable-field/SortableField.scss +0 -21
- package/src/styles/sortable-field/_index.scss +0 -1
- package/src/styles/striped-static-table/_index.scss +0 -33
- package/src/table/ReactTableHelperComponent.tsx +0 -321
- package/src/table/hooks/useTableQueryOptions.ts +0 -49
- package/src/table/types.ts +0 -47
- package/src/zone/form/components/GameDurationControl.tsx +0 -46
- /package/dist/{calendar → iframe/event/event-calendar}/components/CalendarButtons/index.d.ts +0 -0
- /package/dist/{calendar → iframe/event/event-calendar}/components/CalendarDates/index.d.ts +0 -0
- /package/dist/{calendar → iframe/event/event-calendar}/components/CalendarSelect/index.d.ts +0 -0
- /package/dist/{calendar → iframe/event/event-calendar}/components/CalendarWeekdays/CalendarWeekdays.d.ts +0 -0
- /package/dist/{calendar → iframe/event/event-calendar}/components/CalendarWeekdays/CalendarWeekdays.js +0 -0
- /package/dist/{calendar → iframe/event/event-calendar}/components/CalendarWeekdays/index.d.ts +0 -0
- /package/dist/{number-of-people-input → iframe/event/event-details/components/number-of-people-input}/NumberOfPeopleInput.d.ts +0 -0
- /package/dist/{image-radio-input → widgets/ImageRadioInput}/index.d.ts +0 -0
- /package/src/{calendar → iframe/event/event-calendar}/components/CalendarButtons/index.ts +0 -0
- /package/src/{calendar → iframe/event/event-calendar}/components/CalendarDates/index.ts +0 -0
- /package/src/{calendar → iframe/event/event-calendar}/components/CalendarSelect/index.ts +0 -0
- /package/src/{calendar → iframe/event/event-calendar}/components/CalendarWeekdays/CalendarWeekdays.tsx +0 -0
- /package/src/{calendar → iframe/event/event-calendar}/components/CalendarWeekdays/index.ts +0 -0
- /package/src/{image-radio-input → widgets/ImageRadioInput}/index.ts +0 -0
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
$base-height: 2.5rem;
|
|
2
|
-
|
|
3
|
-
.button-wrapper {
|
|
4
|
-
background-color: $snippet-page-header-steps-close-button-background-color;
|
|
5
|
-
height: $base-height;
|
|
6
|
-
width: $base-height;
|
|
7
|
-
border-radius: $base-height;
|
|
8
|
-
transition: $color-transition;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
.back-button {
|
|
12
|
-
font-size: 2rem;
|
|
13
|
-
width: $base-height;
|
|
14
|
-
height: $base-height;
|
|
15
|
-
display: flex;
|
|
16
|
-
align-items: center;
|
|
17
|
-
justify-content: center;
|
|
18
|
-
font-weight: lighter;
|
|
19
|
-
color: $snippet-page-header-steps-close-button-border-color;
|
|
20
|
-
transition: $color-transition;
|
|
21
|
-
|
|
22
|
-
&:hover {
|
|
23
|
-
cursor: pointer;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&.back-button {
|
|
28
|
-
display: flex;
|
|
29
|
-
align-items: center;
|
|
30
|
-
justify-content: center;
|
|
31
|
-
margin-right: 1rem;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@import "./BackButton.scss";
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
.customers-filter {
|
|
2
|
-
@include media-breakpoint-down(sm) {
|
|
3
|
-
label {
|
|
4
|
-
font-size: 0.8rem;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
@include media-breakpoint-up(md) {
|
|
9
|
-
label {
|
|
10
|
-
font-size: 0.9rem;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
@include media-breakpoint-up(lg) {
|
|
15
|
-
label {
|
|
16
|
-
font-size: 1rem;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
@include media-breakpoint-down(lg) {
|
|
21
|
-
flex-direction: column;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.customers-filter-items {
|
|
25
|
-
width: 100%;
|
|
26
|
-
|
|
27
|
-
.customer-filter {
|
|
28
|
-
flex: 0 0 33.33%;
|
|
29
|
-
max-width: 33.33%;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
@include media-breakpoint-down(xs) {
|
|
33
|
-
flex-direction: column;
|
|
34
|
-
|
|
35
|
-
.customer-filter {
|
|
36
|
-
flex: 1;
|
|
37
|
-
max-width: 100%;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
@include media-breakpoint-up(sm) {
|
|
42
|
-
.customer-filter {
|
|
43
|
-
&:first-child {
|
|
44
|
-
padding-left: 0;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&:last-child {
|
|
48
|
-
padding-right: 0;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@import "./Filter.scss";
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
.date-time-button {
|
|
2
|
-
display: flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
justify-content: center;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
gap: 0.25rem;
|
|
7
|
-
font-size: 0.82rem;
|
|
8
|
-
background-color: $snippet-calendar-button-background-color;
|
|
9
|
-
border-radius: 0.4rem;
|
|
10
|
-
text-align: center;
|
|
11
|
-
border: 2px solid $snippet-calendar-button-border-color;
|
|
12
|
-
color: $snippet-calendar-button-font-color;
|
|
13
|
-
transition: $color-transition;
|
|
14
|
-
min-width: 6rem;
|
|
15
|
-
min-height: 3rem;
|
|
16
|
-
max-width: max-content;
|
|
17
|
-
padding: 0.5rem;
|
|
18
|
-
|
|
19
|
-
.weekday-info {
|
|
20
|
-
div:first-child {
|
|
21
|
-
text-transform: uppercase;
|
|
22
|
-
font-weight: 600;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
div:last-child {
|
|
26
|
-
color: $snippet-calendar-active-button-background-color;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.descriptions {
|
|
31
|
-
font-size: 0.7rem;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&.today:first-of-type {
|
|
35
|
-
min-width: 7.5rem;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&.disabled {
|
|
39
|
-
border: 2px solid $snippet-calendar-disabled-button-border-color;
|
|
40
|
-
background-color: $snippet-calendar-disabled-button-background-color;
|
|
41
|
-
color: $snippet-calendar-disabled-button-font-color;
|
|
42
|
-
|
|
43
|
-
.weekday-info {
|
|
44
|
-
div:last-child {
|
|
45
|
-
color: $snippet-calendar-disabled-button-font-color;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.price {
|
|
50
|
-
color: $snippet-calendar-disabled-button-font-color;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&.selected {
|
|
55
|
-
border: 2px solid $snippet-calendar-active-button-border-color;
|
|
56
|
-
background-color: $snippet-calendar-active-button-background-color;
|
|
57
|
-
color: $snippet-calendar-active-button-font-color;
|
|
58
|
-
transition: $color-transition;
|
|
59
|
-
|
|
60
|
-
.weekday-info {
|
|
61
|
-
div:last-child {
|
|
62
|
-
color: $snippet-calendar-active-button-font-color;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.price {
|
|
67
|
-
color: $snippet-calendar-active-button-font-color;
|
|
68
|
-
background-color: $snippet-calendar-active-button-background-color;
|
|
69
|
-
font-weight: 600;
|
|
70
|
-
transition: $color-transition;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.time {
|
|
74
|
-
font-weight: 600;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&.time-button {
|
|
79
|
-
min-width: 4.75rem;
|
|
80
|
-
max-width: 4.75rem;
|
|
81
|
-
min-height: 2.75rem;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
&.only-time-container {
|
|
85
|
-
min-width: 5.3rem;
|
|
86
|
-
max-width: 5.3rem;
|
|
87
|
-
min-height: 2.75rem;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
&.calendar-view {
|
|
91
|
-
min-width: auto;
|
|
92
|
-
max-width: none;
|
|
93
|
-
min-height: auto;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.time {
|
|
98
|
-
font-size: 0.875rem;
|
|
99
|
-
font-weight: 300;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.price {
|
|
103
|
-
font-size: 0.7rem;
|
|
104
|
-
line-height: 1.03rem;
|
|
105
|
-
font-weight: 300;
|
|
106
|
-
color: $snippet-calendar-button-font-color;
|
|
107
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@import "./DateTimeButton.scss";
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
.sortable-field-list {
|
|
2
|
-
display: flex;
|
|
3
|
-
|
|
4
|
-
.icon-container {
|
|
5
|
-
margin-right: .8rem;
|
|
6
|
-
margin-left: .2rem;
|
|
7
|
-
margin-top: 1rem;
|
|
8
|
-
|
|
9
|
-
div {
|
|
10
|
-
width: 0.75rem;
|
|
11
|
-
height: 2px;
|
|
12
|
-
margin-bottom: 2px;
|
|
13
|
-
background-color: #B5CCDE;
|
|
14
|
-
border-radius: 1px;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.form-group {
|
|
19
|
-
width: 80%;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@import "./SortableField";
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
table.striped-static-table {
|
|
2
|
-
tbody {
|
|
3
|
-
tr {
|
|
4
|
-
border-bottom: 1px solid $gray-500;
|
|
5
|
-
td {
|
|
6
|
-
text-transform: capitalize;
|
|
7
|
-
|
|
8
|
-
&:nth-child(2),
|
|
9
|
-
&:nth-child(3) {
|
|
10
|
-
text-align: right;
|
|
11
|
-
}
|
|
12
|
-
&:nth-child(2) {
|
|
13
|
-
width: 20%;
|
|
14
|
-
}
|
|
15
|
-
&:nth-child(3) {
|
|
16
|
-
width: 35%;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
td:has(div.header-row) {
|
|
21
|
-
background-color: #d8ecf7;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&:first-child {
|
|
25
|
-
border-top: 1px solid $gray-500;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.bold {
|
|
31
|
-
font-weight: 600;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Ref, ReactElement } from "react";
|
|
2
|
-
import { TableComponentProps, TableComponentPropsWithOldTableData, TableComponentPropsWithReactTableData, ExtendedTableOptions } from "./types";
|
|
3
|
-
export type { ReactTableHelperRow } from "./types";
|
|
4
|
-
export type ReactTableHelperComponentProps<T extends object> = TableComponentProps<T> & (TableComponentPropsWithOldTableData<T> | TableComponentPropsWithReactTableData<T>);
|
|
5
|
-
export type ReactTableHelperComponentRef = {
|
|
6
|
-
options: ExtendedTableOptions | null;
|
|
7
|
-
};
|
|
8
|
-
declare const ReactTableHelperComponent: <T extends object>(props: ReactTableHelperComponentProps<T> & {
|
|
9
|
-
ref?: Ref<ReactTableHelperComponentRef>;
|
|
10
|
-
}) => ReactElement;
|
|
11
|
-
export { ReactTableHelperComponent };
|
|
12
|
-
//# sourceMappingURL=ReactTableHelperComponent.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ReactTableHelperComponent.d.ts","sourceRoot":"","sources":["../../src/table/ReactTableHelperComponent.tsx"],"names":[],"mappings":"AAAA,OAAc,EAKZ,GAAG,EACH,YAAY,EACb,MAAM,OAAO,CAAC;AAiBf,OAAO,EACL,mBAAmB,EACnB,mCAAmC,EACnC,qCAAqC,EAErC,oBAAoB,EACrB,MAAM,SAAS,CAAC;AAGjB,YAAY,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,MAAM,MAAM,8BAA8B,CAAC,CAAC,SAAS,MAAM,IACzD,mBAAmB,CAAC,CAAC,CAAC,GACpB,CACI,mCAAmC,CAAC,CAAC,CAAC,GACtC,qCAAqC,CAAC,CAAC,CAAC,CAC3C,CAAC;AAEN,MAAM,MAAM,4BAA4B,GAAG;IACzC,OAAO,EAAE,oBAAoB,GAAG,IAAI,CAAC;CACtC,CAAC;AA4QF,QAAA,MAAM,yBAAyB;UAIrB,IAAI,4BAA4B,CAAC;MAEtC,YAAY,CAAC;AAElB,OAAO,EAAE,yBAAyB,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
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),i=require("react-router-dom"),a=e(require("@licklist/plugins/dist/services/Route/RouteService")),o=require("../static/loader/LoaderIndicator.js"),s=require("react-bootstrap"),l=e(require("clsx")),u=require("lodash"),c=require("./FilterHelperComponent.js"),d=require("./PaginationHelperComponent.js"),p=e(require("@licklist/plugins/dist/services/Table/TableService")),m=require("./PerPageHelperComponent.js"),g=require("@tanstack/react-table");require("./utils/index.js");var f=require("./hooks/useTableQueryOptions.js");var _=r.forwardRef((function(e,_){var v,C,y=e.paginator,h=e.headers,E=e.renderItemFn,b=e.isLoading,S=e.striped,q=void 0===S||S,w=e.bordered,R=void 0===w||w,P=e.displaySearchBar,k=void 0===P||P,F=e.displayPerPageSelect,H=void 0===F||F,T=e.displayShowingSection,x=void 0===T||T,L=e.externalFilters,D=void 0===L?{}:L,O=e.initialOptions,j=void 0===O?{}:O,N=e.columns,I=e.sortableColumns,K=void 0===I?[]:I,M=e.renderRow,A=t.__rest(e,["paginator","headers","renderItemFn","isLoading","striped","bordered","displaySearchBar","displayPerPageSelect","displayShowingSection","externalFilters","initialOptions","columns","sortableColumns","renderRow"]),U=i.useLocation().pathname,B=f.useTableQueryOptions({initialOptions:j,externalFilters:D}),G=B.sortKey,Q=B.sortDirection,V=B.options,z=B.setOptions,J=B.optionsCache,W=B.setOptionsCache,X=B.cachedExternalFilters,Y=B.setCachedExternalFilters,Z=r.useMemo((function(){return N||h?N&&!h?N.map((function(e){var r=e.accessorKey,n=K.includes(r);return t.__assign(t.__assign({},e),{meta:{className:p.getHeaderClasses({isSortable:n,key:r,title:r},G,Q),onClick:n?function(){return re(r)}:void 0}})})):h.map((function(e){return"string"==typeof e?{accessorKey:e.toLowerCase(),header:function(){return e},meta:{className:p.getHeaderClasses(e,G,Q)}}:{accessorKey:(null==e?void 0:e.key)||e.title.toLowerCase(),header:function(){return e.title},meta:{onClick:function(){return e.isSortable&&re(e.key)},className:p.getHeaderClasses(e,G,Q),style:{width:(null==e?void 0:e.width)||"auto"}}}})):[]}),[h,N,G,Q,K]),$=g.useReactTable(t.__assign({data:(null==y?void 0:y.data)||[],columns:Z,getCoreRowModel:g.getCoreRowModel()},A)),ee=$.getHeaderGroups,te=$.getRowModel;r.useImperativeHandle(_,(function(){return{options:V}})),r.useEffect((function(){if(!u.isEqual(J,V)||!u.isEqual(X,D)){W(V),Y(D);var e=new URLSearchParams(t.__assign(t.__assign({},V),D));a.redirectTo([U,e.toString()].join("?"))}}),[U,V,D]);var re=function(e){var r=p.DEFAULT_SORT_DIRECTION;z(G===e?function(n){return r=p.getSortDirection(n.sortDirection,r),t.__assign(t.__assign({},n),{sortKey:e,sortDirection:r})}:function(n){return t.__assign(t.__assign({},n),{sortKey:e,sortDirection:r})})};return n.createElement("div",{className:l("table-helper",b?"py-5":"py-1")},n.createElement(o.LoaderIndicator,{isLoaded:!b},n.createElement(s.Row,null,n.createElement(s.Col,null,H&&n.createElement(m.PerPageHelperComponent,{onChangeFn:function(e){z((function(r){return t.__assign(t.__assign({},r),{perPage:e})}))},defaultValue:null!==(v=null==y?void 0:y.per_page)&&void 0!==v?v:p.DEFAULT_PER_PAGE})),n.createElement(s.Col,null,k&&n.createElement(c.FilterHelperComponent,{onClickFn:function(e){z((function(r){var n=r.page,i=t.__rest(r,["page"]),a=n;return(!e&&i.filter||e&&!i.filter)&&(a=1),t.__assign(t.__assign({},i),{page:a,filter:e})}))},defaultValue:null!==(C=V.filter)&&void 0!==C?C:""}))),n.createElement(s.Row,null,n.createElement(s.Col,null,n.createElement("div",{className:"table-responsive"},n.createElement(s.Table,{striped:q,bordered:R,hover:!0},n.createElement("thead",null,ee().map((function(e){return n.createElement("tr",{key:e.id},e.headers.map((function(e){var t=e.column.columnDef.meta;return n.createElement("th",{key:e.id,className:null==t?void 0:t.className,onClick:null==t?void 0:t.onClick,style:null==t?void 0:t.style},g.flexRender(e.column.columnDef.header,e.getContext()))})))}))),n.createElement("tbody",null,te().rows.map((function(e,t){return E?E(e.original,t):M(e)}))))))),n.createElement(d.PaginationHelperComponent,{displayShowingSection:x,paginator:y,onPageChangeFn:function(e){z((function(r){return t.__assign(t.__assign({},r),{page:e})}))}})))}));exports.ReactTableHelperComponent=_;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { TableComponentProps, ExtendedTableOptions } from "../types";
|
|
3
|
-
export declare const useTableQueryOptions: <T extends object>({ initialOptions, externalFilters, }: Pick<TableComponentProps<T>, "initialOptions" | "externalFilters">) => {
|
|
4
|
-
page: number;
|
|
5
|
-
perPage: number;
|
|
6
|
-
sortKey: string;
|
|
7
|
-
sortDirection: string;
|
|
8
|
-
filter: string;
|
|
9
|
-
optionsCache: ExtendedTableOptions;
|
|
10
|
-
setOptionsCache: import("react").Dispatch<import("react").SetStateAction<ExtendedTableOptions>>;
|
|
11
|
-
options: ExtendedTableOptions;
|
|
12
|
-
setOptions: import("react").Dispatch<import("react").SetStateAction<ExtendedTableOptions>>;
|
|
13
|
-
cachedExternalFilters: {
|
|
14
|
-
[key: string]: any;
|
|
15
|
-
};
|
|
16
|
-
setCachedExternalFilters: import("react").Dispatch<import("react").SetStateAction<{
|
|
17
|
-
[key: string]: any;
|
|
18
|
-
}>>;
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=useTableQueryOptions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useTableQueryOptions.d.ts","sourceRoot":"","sources":["../../../src/table/hooks/useTableQueryOptions.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAErE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;CA2ChC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
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"),i=(e(r),e(require("@licklist/plugins/dist/hooks/Query/useQuery"))),s=require("../utils/index.js");exports.useTableQueryOptions=function(e){var o=e.initialOptions,a=void 0===o?{}:o,n=e.externalFilters,l=void 0===n?{}:n,u=i(),p=Number(s.getFilterOptionsValue(u,a,"page")),c=Number(s.getFilterOptionsValue(u,a,"perPage")),g=String(s.getFilterOptionsValue(u,a,"sortKey")),d=String(s.getFilterOptionsValue(u,a,"sortDirection")),O=String(s.getFilterOptionsValue(u,a,"filter")),f=t.__read(r.useState(),2),y=f[0],F=f[1],_=t.__read(r.useState({page:p,perPage:c,sortKey:g,sortDirection:d,filter:O}),2),b=_[0],x=_[1],S=t.__read(r.useState(l),2);return{page:p,perPage:c,sortKey:g,sortDirection:d,filter:O,optionsCache:y,setOptionsCache:F,options:b,setOptions:x,cachedExternalFilters:S[0],setCachedExternalFilters:S[1]}};
|
package/dist/table/types.d.ts
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { ReactNode, CSSProperties } from "react";
|
|
2
|
-
import { TableOptions, ColumnDef, Row as TableRow } from "@tanstack/react-table";
|
|
3
|
-
import ILengthAwarePaginator from "@licklist/plugins/dist/types/services/Table/ILengthAwarePaginator";
|
|
4
|
-
import ITableHeader from "@licklist/plugins/dist/types/services/Table/ITableHeader";
|
|
5
|
-
import ITableProps from "@licklist/plugins/dist/types/services/Table/ITableProps";
|
|
6
|
-
export type ReactTableHelperRow<T extends object> = TableRow<T>;
|
|
7
|
-
export type ExtendedTableOptions = ITableProps & {
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
};
|
|
10
|
-
export interface TableComponentProps<T extends object> extends Omit<TableOptions<T>, "columns" | "data" | "getCoreRowModel"> {
|
|
11
|
-
paginator?: ILengthAwarePaginator<T>;
|
|
12
|
-
isLoading?: boolean;
|
|
13
|
-
striped?: boolean;
|
|
14
|
-
bordered?: boolean;
|
|
15
|
-
displaySearchBar?: boolean;
|
|
16
|
-
displayPerPageSelect?: boolean;
|
|
17
|
-
displayShowingSection?: boolean;
|
|
18
|
-
externalFilters?: {
|
|
19
|
-
[key: string]: any;
|
|
20
|
-
};
|
|
21
|
-
initialOptions?: Partial<ITableProps>;
|
|
22
|
-
sortableColumns?: string[];
|
|
23
|
-
}
|
|
24
|
-
export type TableColumnMeta = {
|
|
25
|
-
onClick?: () => void;
|
|
26
|
-
className?: string;
|
|
27
|
-
style?: CSSProperties;
|
|
28
|
-
};
|
|
29
|
-
export type TableComponentPropsWithOldTableData<T extends object> = {
|
|
30
|
-
headers: ITableHeader[];
|
|
31
|
-
renderItemFn: (row: T, index: number) => void;
|
|
32
|
-
columns?: never;
|
|
33
|
-
renderRow?: never;
|
|
34
|
-
};
|
|
35
|
-
export type TableComponentPropsWithReactTableData<T extends object> = {
|
|
36
|
-
headers?: never;
|
|
37
|
-
renderItemFn?: never;
|
|
38
|
-
columns: ColumnDef<T, any>[];
|
|
39
|
-
renderRow: (row: ReactTableHelperRow<T>) => ReactNode;
|
|
40
|
-
};
|
|
41
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/table/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EACL,YAAY,EACZ,SAAS,EACT,GAAG,IAAI,QAAQ,EAChB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,qBAAqB,MAAM,mEAAmE,CAAC;AACtG,OAAO,YAAY,MAAM,0DAA0D,CAAC;AACpF,OAAO,WAAW,MAAM,yDAAyD,CAAC;AAElF,MAAM,MAAM,mBAAmB,CAAC,CAAC,SAAS,MAAM,IAAI,QAAQ,CAAC,CAAC,CAAC,CAAC;AAEhE,MAAM,MAAM,oBAAoB,GAAG,WAAW,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,CAAC;AAExE,MAAM,WAAW,mBAAmB,CAAC,CAAC,SAAS,MAAM,CACnD,SAAQ,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,iBAAiB,CAAC;IACrE,SAAS,CAAC,EAAE,qBAAqB,CAAC,CAAC,CAAC,CAAC;IACrC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,eAAe,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IACzC,cAAc,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IACtC,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;CAC5B;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,mCAAmC,CAAC,CAAC,SAAS,MAAM,IAAI;IAClE,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,YAAY,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,SAAS,CAAC,EAAE,KAAK,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,qCAAqC,CAAC,CAAC,SAAS,MAAM,IAAI;IACpE,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,OAAO,EAAE,SAAS,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC;IAC7B,SAAS,EAAE,CAAC,GAAG,EAAE,mBAAmB,CAAC,CAAC,CAAC,KAAK,SAAS,CAAC;CACvD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GameDurationControl.d.ts","sourceRoot":"","sources":["../../../../src/zone/form/components/GameDurationControl.tsx"],"names":[],"mappings":";AAQA,KAAK,wBAAwB,GAAG;IAC9B,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,mBAAmB,mBAE7B,wBAAwB,gBA+B1B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
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")),i=require("react-i18next"),a=require("react-bootstrap"),o=require("react-hook-form"),n=e(require("@licklist/plugins/dist/services/Form/HookFormService")),u=require("@react-aria/utils");exports.GameDurationControl=function(e){var l=e.isLoading,s=u.useId(),d=i.useTranslation(["Design","Validation"]).t,m=o.useFormContext(),c=m.register,f=m.formState.errors;return t.createElement(a.Form.Group,{controlId:s},t.createElement(a.Form.Label,null,d("Design:defaultGameDuration")),t.createElement(a.Form.Control,r.__assign({type:"number"},c("defaultDuration",{required:!1,min:1}),{placeholder:d("Design:duration"),isInvalid:Boolean(f.defaultDuration),disabled:l})),t.createElement(a.Form.Control.Feedback,{type:"invalid"},n.hasError(f.defaultDuration,"min")&&d("Validation:fieldMinNumber",{attribute:d("Design:defaultGameDuration").toLowerCase(),min:1})))};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="7" height="11" viewBox="0 0 7 11" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<rect x="0.943939" y="1.03658" width="5.25188" height="3.04878" rx="1.5" fill="#4CF973" stroke="white"/>
|
|
3
|
-
<rect x="0.943939" y="4.10976" width="5.25188" height="3.04878" rx="1.5" fill="#4CF973" stroke="white"/>
|
|
4
|
-
<rect x="0.943939" y="7.18292" width="5.25188" height="3.04878" rx="1.5" fill="#4CF973" stroke="white"/>
|
|
5
|
-
</svg>
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<circle cx="16" cy="16" r="15.5" fill="#F3F3F3" stroke="#F0F0F0"/>
|
|
3
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.293 15.2929C9.90252 15.6834 9.90252 16.3166 10.293 16.7071L16.657 23.0711C17.0475 23.4616 17.6807 23.4616 18.0712 23.0711C18.4617 22.6805 18.4617 22.0474 18.0712 21.6569L12.4144 16L18.0712 10.3431C18.4617 9.95262 18.4617 9.31946 18.0712 8.92893C17.6807 8.53841 17.0475 8.53841 16.657 8.92893L10.293 15.2929Z" fill="#1A182B"/>
|
|
4
|
-
</svg>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="7" height="11" viewBox="0 0 7 11" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<rect x="1.2406" y="1.03658" width="5.25188" height="3.04878" rx="1.5" fill="#E4E4E4" stroke="white"/>
|
|
3
|
-
<rect x="1.2406" y="4.10976" width="5.25188" height="3.04878" rx="1.5" fill="#FDD054" stroke="white"/>
|
|
4
|
-
<rect x="1.2406" y="7.18292" width="5.25188" height="3.04878" rx="1.5" fill="#FDD054" stroke="white"/>
|
|
5
|
-
</svg>
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg width="7" height="10" viewBox="0 0 7 10" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<rect width="5.94013" height="10" transform="translate(0.497131)" fill="white"/>
|
|
3
|
-
<rect x="0.591156" y="0.5" width="5.75211" height="3" rx="1.5" fill="#E4E4E4" stroke="white"/>
|
|
4
|
-
<rect x="0.591156" y="3.5" width="5.75211" height="3" rx="1.5" fill="#E4E4E4" stroke="white"/>
|
|
5
|
-
<rect x="0.591156" y="6.5" width="5.75211" height="3" rx="1.5" fill="#E4E4E4" stroke="white"/>
|
|
6
|
-
</svg>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0"?>
|
|
2
|
-
<svg width="200" height="201" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg" version="1.1">
|
|
3
|
-
<title>Single Colour - Light Blue Light</title>
|
|
4
|
-
<g class="layer">
|
|
5
|
-
<title>Layer 1</title>
|
|
6
|
-
<g fill="none" fill-rule="evenodd" id="Page-1">
|
|
7
|
-
<g fill="#0E8CE2" fill-rule="nonzero" id="Logo-Export" transform="translate(0 -1835)">
|
|
8
|
-
<path d="m52.59,1861.52c16.49,-16.49 24.18,-20.75 33.43,-23.55c9.25,-2.8 18.71,-2.8 27.95,0c9.25,2.8 16.95,7.06 33.43,23.55l26.95,26.94c16.48,16.49 20.74,24.18 23.54,33.43c2.81,9.25 2.81,18.71 0,27.95c-2.8,9.25 -7.06,16.95 -23.54,33.43l-26.95,26.95c-16.48,16.48 -24.18,20.74 -33.43,23.54c-9.24,2.81 -18.7,2.81 -27.95,0c-9.25,-2.8 -16.94,-7.06 -33.43,-23.54l-26.94,-26.95c-16.49,-16.48 -20.75,-24.18 -23.55,-33.43c-2.8,-9.24 -2.8,-18.7 0,-27.95c2.8,-9.25 7.06,-16.94 23.55,-33.43l26.94,-26.94zm14.82,14.04l-27.33,27.33c-12.85,12.85 -16.37,18.05 -18.45,24.92c-1.63,5.39 -1.63,10.73 0,16.11c2.06,6.8 5.53,11.97 18.06,24.54l27.72,27.71c12.57,12.54 17.73,16 24.53,18.06c5.39,1.64 10.73,1.64 16.11,0c6.87,-2.08 12.07,-5.59 24.92,-18.44l26.95,-26.95c12.85,-12.85 16.36,-18.05 18.44,-24.92c1.64,-5.38 1.64,-10.72 0,-16.11c-2.08,-6.87 -5.59,-12.07 -18.44,-24.92l-26.95,-26.94c-12.85,-12.85 -18.05,-16.37 -24.92,-18.45c-5.38,-1.63 -10.72,-1.63 -16.11,0c-6.8,2.06 -11.96,5.53 -24.53,18.06zm67.18,50.6c5.48,-5.47 14.37,-5.47 19.85,0c5.47,5.48 5.47,14.37 0,19.85l-44.2,44.19c-5.48,5.48 -14.36,5.48 -19.84,0l-6.45,-6.45c-1.21,-1.21 -1.52,-1.77 -1.72,-2.45c-0.21,-0.68 -0.21,-1.37 0,-2.05c0.2,-0.67 0.51,-1.24 1.72,-2.44l50.64,-50.65zm-73.77,24.53c1.32,-1.32 3.11,-2.06 4.97,-2.05l25.82,0.06c1.4,0 2.54,1.15 2.54,2.55c0,0.67 -0.26,1.3 -0.72,1.78l-1.36,1.4l-16.1,15.95c-1.49,1.48 -3.91,1.48 -5.4,-0.01l-9.75,-9.76c-2.74,-2.74 -2.74,-7.18 0,-9.92" id="Single-Colour---Light-Blue-Light"/>
|
|
9
|
-
</g>
|
|
10
|
-
</g>
|
|
11
|
-
</g>
|
|
12
|
-
</svg>
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import React, { FunctionComponent, SVGProps } from "react";
|
|
2
|
-
import { useTranslation } from "react-i18next";
|
|
3
|
-
import { ZoneResourcesAvailability } from "@licklist/core/dist/DataMapper/Order/ZoneResourcesAvailabilityDataMapper";
|
|
4
|
-
import { ReactComponent as AvailableIcon } from "../assets/iframe/available.svg";
|
|
5
|
-
import { ReactComponent as LimitedIcon } from "../assets/iframe/limited.svg";
|
|
6
|
-
import { ReactComponent as SoldOutIcon } from "../assets/iframe/soldOut.svg";
|
|
7
|
-
|
|
8
|
-
const LOTS_OF_SPACE_LIMIT = 0.2;
|
|
9
|
-
const LIMITED_LIMIT = 0.8;
|
|
10
|
-
|
|
11
|
-
type Config = {
|
|
12
|
-
label: string;
|
|
13
|
-
Icon: FunctionComponent<SVGProps<SVGSVGElement>>;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
const getIconsAndLabels = ({
|
|
17
|
-
bookedResources,
|
|
18
|
-
totalResources,
|
|
19
|
-
}: ZoneResourcesAvailability): Config => {
|
|
20
|
-
if (bookedResources === totalResources) {
|
|
21
|
-
return { label: "soldOut", Icon: SoldOutIcon };
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
// lots of space if less than 80% booked
|
|
25
|
-
if (bookedResources / totalResources <= LOTS_OF_SPACE_LIMIT) {
|
|
26
|
-
return { label: "lotsOfSpace", Icon: AvailableIcon };
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
if (bookedResources / totalResources >= LIMITED_LIMIT) {
|
|
30
|
-
return { label: "limited", Icon: LimitedIcon };
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
return { label: "available", Icon: AvailableIcon };
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
type AvailabilityIndicatorProps = {
|
|
37
|
-
resources: ZoneResourcesAvailability;
|
|
38
|
-
isUnavailable?: boolean;
|
|
39
|
-
isSoldOut?: boolean;
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
export const AvailabilityIndicator = ({
|
|
43
|
-
resources,
|
|
44
|
-
isUnavailable,
|
|
45
|
-
isSoldOut,
|
|
46
|
-
}: AvailabilityIndicatorProps) => {
|
|
47
|
-
const { t } = useTranslation("Design");
|
|
48
|
-
|
|
49
|
-
if (isUnavailable) {
|
|
50
|
-
return <Indicator Icon={SoldOutIcon} label={t("notAvailable")} />;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
if (isSoldOut) {
|
|
54
|
-
return <Indicator Icon={SoldOutIcon} label={t("soldOut")} />;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
const { Icon, label } = getIconsAndLabels(resources);
|
|
58
|
-
|
|
59
|
-
return <Indicator Icon={Icon} label={t(label)} />;
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
const Indicator = ({ Icon, label }: Config) => (
|
|
63
|
-
<div className="availability-indicator">
|
|
64
|
-
<Icon />
|
|
65
|
-
<div>{label}</div>
|
|
66
|
-
</div>
|
|
67
|
-
);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./AvailabilityIndicator";
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { DateTime } from "luxon";
|
|
3
|
-
import { Meta, Story } from "@storybook/react";
|
|
4
|
-
import { Calendar, CalendarProps } from "./Calendar";
|
|
5
|
-
|
|
6
|
-
export default {
|
|
7
|
-
title: "Iframe/Event/Calendar",
|
|
8
|
-
component: Calendar,
|
|
9
|
-
} as Meta;
|
|
10
|
-
|
|
11
|
-
export const Default: Story<CalendarProps> = (args) => {
|
|
12
|
-
return (
|
|
13
|
-
<div style={{ backgroundColor: "white" }}>
|
|
14
|
-
<Calendar {...args} />
|
|
15
|
-
</div>
|
|
16
|
-
);
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
const now = DateTime.now().set({
|
|
20
|
-
hour: 0,
|
|
21
|
-
second: 0,
|
|
22
|
-
millisecond: 0,
|
|
23
|
-
minute: 0,
|
|
24
|
-
});
|
|
25
|
-
|
|
26
|
-
Default.args = {
|
|
27
|
-
disabledDates: [now.minus({ day: 2 }), now, now.plus({ day: 2 })],
|
|
28
|
-
isLoading: false,
|
|
29
|
-
fromPrice: "from £10",
|
|
30
|
-
selectedDate: null,
|
|
31
|
-
setSelectedDate: () => null,
|
|
32
|
-
calendarDates: [],
|
|
33
|
-
};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import React, { Dispatch, ReactElement, SetStateAction } from "react";
|
|
2
|
-
import { DateTime } from "luxon";
|
|
3
|
-
import { ZoneResourcesAvailability } from "@licklist/core/dist/DataMapper/Order/ZoneResourcesAvailabilityDataMapper";
|
|
4
|
-
import { CalendarButtons } from "./components/CalendarButtons";
|
|
5
|
-
import { CalendarDates } from "./components/CalendarDates";
|
|
6
|
-
|
|
7
|
-
export const defaultStartDay = DateTime.now().set({
|
|
8
|
-
millisecond: 0,
|
|
9
|
-
second: 0,
|
|
10
|
-
hour: 0,
|
|
11
|
-
minute: 0,
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
export type CalendarProps = {
|
|
15
|
-
currentDate: DateTime;
|
|
16
|
-
setCurrentDate: Dispatch<SetStateAction<DateTime>>;
|
|
17
|
-
calendarDates: DateTime[];
|
|
18
|
-
disabledDates?: DateTime[];
|
|
19
|
-
selectedDate: DateTime | null;
|
|
20
|
-
setSelectedDate: Dispatch<SetStateAction<DateTime | null>>;
|
|
21
|
-
fromPrice?: string | ReactElement | null;
|
|
22
|
-
isLoading?: boolean;
|
|
23
|
-
initialDate?: DateTime;
|
|
24
|
-
getAvailability?: (date: DateTime) => ZoneResourcesAvailability | null;
|
|
25
|
-
includeAvailability?: boolean;
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
export const Calendar = ({
|
|
29
|
-
disabledDates = [],
|
|
30
|
-
initialDate = defaultStartDay,
|
|
31
|
-
...props
|
|
32
|
-
}: CalendarProps) => {
|
|
33
|
-
return (
|
|
34
|
-
<div className="calendar-wrapper">
|
|
35
|
-
<div className="calendar">
|
|
36
|
-
<CalendarButtons
|
|
37
|
-
disabledDates={disabledDates}
|
|
38
|
-
initialDate={initialDate}
|
|
39
|
-
{...props}
|
|
40
|
-
/>
|
|
41
|
-
<CalendarDates disabledDates={disabledDates} {...props} />
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
);
|
|
45
|
-
};
|
package/src/calendar/index.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { DateTime, Interval } from "luxon";
|
|
2
|
-
import isEqual from "lodash/isEqual";
|
|
3
|
-
|
|
4
|
-
export const isSelectedDateDisabled = (
|
|
5
|
-
selectedDate: DateTime,
|
|
6
|
-
disabledDates: DateTime[] = []
|
|
7
|
-
) => {
|
|
8
|
-
return !!disabledDates.find((disabledDate) =>
|
|
9
|
-
isEqual(disabledDate.toObject(), selectedDate.toObject())
|
|
10
|
-
);
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export const getMonthCalendarDates = (initialDate: DateTime): DateTime[] => {
|
|
14
|
-
const startOfMonth = initialDate.startOf("month");
|
|
15
|
-
const endOfMonth = initialDate.endOf("month");
|
|
16
|
-
|
|
17
|
-
return Interval.fromDateTimes(startOfMonth, endOfMonth)
|
|
18
|
-
.splitBy({ day: 1 })
|
|
19
|
-
.map((d) => d.start);
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
export const getWeekCalendarDates = (initialDate: DateTime): DateTime[] => {
|
|
23
|
-
const lastDay = initialDate.plus({ days: 7 });
|
|
24
|
-
|
|
25
|
-
return Interval.fromDateTimes(initialDate, lastDay)
|
|
26
|
-
.splitBy({ day: 1 })
|
|
27
|
-
.map((d) => d.start);
|
|
28
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React, { useState } from "react";
|
|
2
|
-
import { Meta, Story } from "@storybook/react";
|
|
3
|
-
import { CustomerFilter, CustomerFilterProps } from "./CustomerFilter";
|
|
4
|
-
|
|
5
|
-
export default {
|
|
6
|
-
title: "Customers/Filter",
|
|
7
|
-
component: CustomerFilter,
|
|
8
|
-
} as Meta;
|
|
9
|
-
|
|
10
|
-
export const Default: Story<CustomerFilterProps> = () => {
|
|
11
|
-
const [values, setValues] = useState({
|
|
12
|
-
name: "",
|
|
13
|
-
email: "",
|
|
14
|
-
phone: "",
|
|
15
|
-
});
|
|
16
|
-
|
|
17
|
-
return <CustomerFilter values={values} onChange={setValues} />;
|
|
18
|
-
};
|