@licklist/design 0.44.526 → 0.44.528
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/iframe/available.svg +5 -0
- package/dist/assets/iframe/available.svg.js +1 -0
- package/dist/assets/iframe/backButton.svg +4 -0
- package/dist/assets/iframe/limited.svg +5 -0
- package/dist/assets/iframe/limited.svg.js +1 -0
- package/dist/assets/iframe/soldOut.svg +6 -0
- package/dist/assets/iframe/soldOut.svg.js +1 -0
- package/dist/assets/logo/bookedit.svg +9 -11
- package/dist/assets/logo/bookedit.svg.js +1 -1
- package/dist/assets/logo/favicon.svg +12 -0
- package/dist/assets/logo/licklist.svg +0 -2
- package/dist/assets/logo/licklist.svg.js +1 -1
- 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/availability-indicator/AvailabilityIndicator.d.ts +9 -0
- package/dist/availability-indicator/AvailabilityIndicator.d.ts.map +1 -0
- package/dist/availability-indicator/AvailabilityIndicator.js +1 -0
- package/dist/availability-indicator/index.d.ts +2 -0
- package/dist/availability-indicator/index.d.ts.map +1 -0
- package/dist/calendar/Calendar.d.ts +21 -0
- package/dist/calendar/Calendar.d.ts.map +1 -0
- package/dist/calendar/Calendar.js +1 -0
- package/dist/calendar/components/CalendarButtons/CalendarButtons.d.ts +6 -0
- package/dist/calendar/components/CalendarButtons/CalendarButtons.d.ts.map +1 -0
- package/dist/calendar/components/CalendarButtons/CalendarButtons.js +1 -0
- package/dist/calendar/components/CalendarButtons/index.d.ts.map +1 -0
- package/dist/calendar/components/CalendarDates/CalendarDates.d.ts +5 -0
- package/dist/calendar/components/CalendarDates/CalendarDates.d.ts.map +1 -0
- package/dist/calendar/components/CalendarDates/CalendarDates.js +1 -0
- package/dist/calendar/components/CalendarDates/index.d.ts.map +1 -0
- package/dist/{iframe/event/event-calendar → calendar}/components/CalendarSelect/CalendarSelect.d.ts +2 -2
- package/dist/calendar/components/CalendarSelect/CalendarSelect.d.ts.map +1 -0
- package/dist/calendar/components/CalendarSelect/CalendarSelect.js +1 -0
- package/dist/calendar/components/CalendarSelect/index.d.ts.map +1 -0
- package/dist/calendar/components/CalendarWeekdays/CalendarWeekdays.d.ts.map +1 -0
- package/dist/calendar/components/CalendarWeekdays/index.d.ts.map +1 -0
- package/dist/calendar/index.d.ts +4 -0
- package/dist/calendar/index.d.ts.map +1 -0
- package/dist/calendar/utils/index.d.ts +5 -0
- package/dist/calendar/utils/index.d.ts.map +1 -0
- package/dist/calendar/utils/index.js +1 -0
- package/dist/collapsible-input-group/CollapsibleInputGroup.d.ts +1 -1
- package/dist/collapsible-input-group/CollapsibleInputGroup.d.ts.map +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/customers/components/filter/CustomerFilter.d.ts +1 -1
- package/dist/customers/components/filter/CustomerFilter.d.ts.map +1 -1
- package/dist/date-time-button/DateContent.d.ts +9 -0
- package/dist/date-time-button/DateContent.d.ts.map +1 -0
- package/dist/date-time-button/DateContent.js +1 -0
- package/dist/date-time-button/DateTimeButton.d.ts +18 -0
- package/dist/date-time-button/DateTimeButton.d.ts.map +1 -0
- package/dist/date-time-button/DateTimeButton.js +1 -0
- package/dist/date-time-button/index.d.ts +2 -0
- package/dist/date-time-button/index.d.ts.map +1 -0
- 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-statistic-modal/EventStatisticModal.d.ts +1 -1
- package/dist/events/event-statistic-modal/EventStatisticModal.d.ts.map +1 -1
- package/dist/events/event-venue-map/EventVenueMap.d.ts +5 -5
- package/dist/events/event-venue-map/EventVenueMap.d.ts.map +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/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 +1 -1
- 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/ProductTooltip/ProductTooltip.d.ts +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/VenueMap/VenueMap.d.ts +4 -4
- package/dist/events/event-venue-map/components/VenueMap/VenueMap.d.ts.map +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/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/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 +5 -3
- package/dist/help/popover/HelpPopover.d.ts.map +1 -1
- package/dist/help/popover/HelpPopover.js +1 -1
- package/dist/iframe/activity-card/ActivityCard.d.ts +17 -0
- package/dist/iframe/activity-card/ActivityCard.d.ts.map +1 -0
- package/dist/iframe/activity-card/ActivityCard.js +1 -0
- package/dist/iframe/activity-card/index.d.ts +2 -0
- package/dist/iframe/activity-card/index.d.ts.map +1 -0
- package/dist/iframe/back-button/BackButton.d.ts +6 -0
- package/dist/iframe/back-button/BackButton.d.ts.map +1 -0
- package/dist/iframe/back-button/BackButton.js +1 -0
- package/dist/iframe/back-button/index.d.ts +2 -0
- package/dist/iframe/back-button/index.d.ts.map +1 -0
- 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-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 +1 -1
- package/dist/iframe/event/event-details/EventDetails.d.ts.map +1 -1
- package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.d.ts +1 -1
- package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.d.ts.map +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 +2 -5
- package/dist/iframe/event/event-venue-map/IframeEventVenueMap.d.ts.map +1 -1
- package/dist/iframe/event/index.d.ts +0 -1
- package/dist/iframe/event/index.d.ts.map +1 -1
- package/dist/iframe/index.d.ts +4 -2
- 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 +4 -3
- 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.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 +4 -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 +3 -3
- package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts +3 -3
- package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts +3 -3
- 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/ProductQuantityInput/ProductQuantityInput.d.ts +2 -2
- 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/ErrorModal/ErrorModal.d.ts +9 -0
- package/dist/iframe/order-process/components/ErrorModal/ErrorModal.d.ts.map +1 -0
- package/dist/iframe/order-process/components/ErrorModal/ErrorModal.js +1 -0
- package/dist/iframe/order-process/components/ErrorModal/index.d.ts +2 -0
- package/dist/iframe/order-process/components/ErrorModal/index.d.ts.map +1 -0
- package/dist/iframe/order-process/components/NavigationSteps/NavigationSteps.d.ts +8 -7
- 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/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/useCategoryVerification.d.ts +9 -0
- package/dist/iframe/order-process/components/utils/useCategoryVerification.d.ts.map +1 -0
- package/dist/iframe/order-process/components/utils/useCategoryVerification.js +1 -0
- package/dist/iframe/order-process/index.d.ts +3 -2
- 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/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 +9 -3
- package/dist/iframe/payment/order-items-table/types/index.d.ts.map +1 -1
- package/dist/iframe/payment/order-items-table/types/index.js +1 -0
- package/dist/iframe/payment/order-items-table/utils/paymentSummary.d.ts +3 -0
- package/dist/iframe/payment/order-items-table/utils/paymentSummary.d.ts.map +1 -0
- package/dist/iframe/payment/order-items-table/utils/paymentSummary.js +1 -0
- 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.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 +1 -1
- 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/image-radio-input/ImageRadioInput.d.ts +15 -0
- package/dist/image-radio-input/ImageRadioInput.d.ts.map +1 -0
- package/dist/image-radio-input/ImageRadioInput.js +1 -0
- package/dist/image-radio-input/index.d.ts.map +1 -0
- package/dist/index.d.ts +7 -0
- 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/hooks/useTranslatedParameters.d.ts +1 -1
- package/dist/notification/hooks/useTranslatedParameters.d.ts.map +1 -1
- package/dist/notification/sms-template/control/SmsTemplateControl.d.ts +1 -1
- package/dist/notification/sms-template/control/SmsTemplateControl.d.ts.map +1 -1
- package/dist/product-set/control/DateAndRecurrenceInput.d.ts +2 -0
- 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.map +1 -1
- package/dist/product-set/control/ProductSetControl.js +1 -1
- 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/ProductsControl.d.ts +3 -1
- 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/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/hooks/useSortableTreeFunctions.d.ts.map +1 -1
- package/dist/product-set/hooks/useSortableTreeFunctions.js +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 +2 -1
- 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/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.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/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/index.d.ts +1 -1
- 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-form/ProviderForm.d.ts +1 -1
- package/dist/provider/provider-form/ProviderForm.d.ts.map +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/venue-form/VenueForm.d.ts +1 -1
- package/dist/provider/venue-form/VenueForm.d.ts.map +1 -1
- package/dist/provider/working-hours-input/WorkingHoursInputDescription.d.ts.map +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/radio-card/RadioCard.d.ts +13 -0
- package/dist/radio-card/RadioCard.d.ts.map +1 -0
- package/dist/radio-card/RadioCard.js +1 -0
- package/dist/radio-card/index.d.ts +2 -0
- package/dist/radio-card/index.d.ts.map +1 -0
- package/dist/recurrence-input/RecurrenceEndInput.d.ts +6 -0
- package/dist/recurrence-input/RecurrenceEndInput.d.ts.map +1 -1
- package/dist/recurrence-input/RecurrenceEndInput.js +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 +8 -1
- 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 +1 -0
- 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/index.d.ts +0 -2
- package/dist/sales/booking/index.d.ts.map +1 -1
- package/dist/sales/booking/results/BookingResults.d.ts +1 -1
- package/dist/sales/booking/results/BookingResults.d.ts.map +1 -1
- package/dist/sales/booking/results/components/ResultCard.d.ts +1 -1
- 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 +1 -0
- package/dist/sales/booking/results/index.d.ts.map +1 -1
- package/dist/sales/filters/SaleFilters.d.ts +1 -1
- package/dist/sales/guest-profile/previous-bookings/PreviousBookings.d.ts +1 -1
- package/dist/sales/guest-profile/previous-bookings/PreviousBookings.d.ts.map +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/index.d.ts +1 -5
- package/dist/sales/manual-booking/index.d.ts.map +1 -1
- package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.d.ts +2 -1
- 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 +6 -5
- 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/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/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/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/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 +0 -2
- package/dist/setting/dashboard/index.d.ts.map +1 -1
- package/dist/setting/system/SystemSettingForm.d.ts +1 -1
- package/dist/setting/system/SystemSettingForm.d.ts.map +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-fields/SortableFieldItem.d.ts +9 -0
- package/dist/sortable-fields/SortableFieldItem.d.ts.map +1 -0
- package/dist/sortable-fields/SortableFieldItem.js +1 -0
- package/dist/sortable-fields/SortableFieldList.d.ts +18 -0
- package/dist/sortable-fields/SortableFieldList.d.ts.map +1 -0
- package/dist/sortable-fields/SortableFieldList.js +1 -0
- package/dist/sortable-fields/index.d.ts +2 -0
- package/dist/sortable-fields/index.d.ts.map +1 -0
- 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 +1 -1
- package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
- package/dist/sortable-tree/SortableTreeItem.js +1 -1
- package/dist/sorting-select/SortingSelect.d.ts +10 -0
- package/dist/sorting-select/SortingSelect.d.ts.map +1 -0
- package/dist/sorting-select/SortingSelect.js +1 -0
- package/dist/sorting-select/index.d.ts +2 -0
- package/dist/sorting-select/index.d.ts.map +1 -0
- 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 +2 -1
- 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/striped-static-table/StripedStaticTable.d.ts +1 -1
- package/dist/striped-static-table/StripedStaticTable.d.ts.map +1 -1
- package/dist/styles/activity-card/GridActivitiesCard.scss +37 -0
- package/dist/styles/activity-card/ListActivitiesCard.scss +58 -0
- package/dist/styles/activity-card/_index.scss +2 -0
- package/dist/styles/availability-indicator/AvailabilityIndicator.scss +7 -0
- package/dist/styles/availability-indicator/_index.scss +1 -0
- package/dist/styles/back-button/BackButton.scss +33 -0
- package/dist/styles/back-button/_index.scss +1 -0
- package/dist/styles/date-time-button/DateTimeButton.scss +107 -0
- package/dist/styles/date-time-button/_index.scss +1 -0
- package/dist/styles/form/CustomCheckbox.scss +5 -0
- package/dist/styles/header/Header.scss +0 -4
- package/dist/styles/iframe-events/Calendar.scss +14 -14
- package/dist/styles/iframe-events/Card.scss +1 -0
- package/dist/styles/iframe-order-process/IframeOrderProcess.scss +8 -3
- package/dist/styles/iframe-page/PageBody.scss +5 -2
- package/dist/styles/{widgets/ImageRadioInput.scss → image-radio-input/_index.scss} +12 -0
- package/dist/styles/packages.scss +7 -1
- package/dist/styles/{widgets/WidgetTypeRadioButton.scss → radio-card/_index.scss} +8 -1
- package/dist/styles/resources-blocking/_index.scss +43 -1
- package/dist/styles/sales/BookingFilter.scss +2 -0
- package/dist/styles/sales/ManualBooking.scss +7 -1
- package/dist/styles/sales/RandomColors.scss +7 -4
- package/dist/styles/sortable-field/SortableField.scss +21 -0
- package/dist/styles/sortable-field/_index.scss +1 -0
- package/dist/styles/static/DateRangeInput.scss +5 -1
- package/dist/styles/themes/bookedit/_index.scss +1 -0
- package/dist/styles/themes/bookedit/_variables.scss +3 -2
- package/dist/styles/zones/ZoneForm.scss +0 -1
- 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/ReactTableHelperComponent.d.ts +2 -2
- package/dist/table/ReactTableHelperComponent.d.ts.map +1 -1
- package/dist/table/types.d.ts +5 -5
- package/dist/table/types.d.ts.map +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 +1 -1
- package/dist/typeahead/Typeahead.d.ts.map +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 +5 -3
- 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/zone/form/ZoneForm.d.ts +2 -2
- package/dist/zone/form/ZoneForm.d.ts.map +1 -1
- package/dist/zone/form/components/AvailableTimesControl.d.ts +9 -2
- 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/GameDurationControl.d.ts +7 -0
- package/dist/zone/form/components/GameDurationControl.d.ts.map +1 -0
- package/dist/zone/form/components/GameDurationControl.js +1 -0
- 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 +1 -1
- 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 +1 -1
- 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 +3 -2
- package/src/assets/iframe/available.svg +5 -0
- package/src/assets/iframe/backButton.svg +4 -0
- package/src/assets/iframe/limited.svg +5 -0
- package/src/assets/iframe/soldOut.svg +6 -0
- package/src/assets/logo/bookedit.svg +9 -11
- package/src/assets/logo/favicon.svg +12 -0
- package/src/assets/logo/licklist.svg +0 -2
- package/src/availability-indicator/AvailabilityIndicator.tsx +59 -0
- package/src/availability-indicator/index.ts +1 -0
- package/src/calendar/Calendar.stories.tsx +33 -0
- package/src/calendar/Calendar.tsx +46 -0
- package/src/{iframe/event/event-calendar → calendar}/components/CalendarButtons/CalendarButtons.tsx +31 -14
- package/src/{iframe/event/event-calendar → calendar}/components/CalendarDates/CalendarDates.tsx +25 -16
- package/src/{iframe/event/event-calendar → calendar}/components/CalendarSelect/CalendarSelect.tsx +1 -1
- package/src/calendar/index.ts +3 -0
- package/src/calendar/utils/index.ts +28 -0
- package/src/date-time-button/DateContent.tsx +46 -0
- package/src/date-time-button/DateTimeButton.stories.tsx +97 -0
- package/src/date-time-button/DateTimeButton.tsx +70 -0
- package/src/date-time-button/index.ts +1 -0
- package/src/events/event-venue-map/EventVenueMap.tsx +2 -2
- package/src/events/event-venue-map/components/MapPoint/MapPoint.tsx +1 -2
- package/src/events/event-venue-map/components/VenueMap/VenueMap.tsx +2 -2
- package/src/help/popover/HelpPopover.tsx +13 -5
- package/src/iframe/activity-card/ActivityCard.stories.tsx +75 -0
- package/src/iframe/activity-card/ActivityCard.tsx +77 -0
- package/src/iframe/activity-card/index.ts +1 -0
- package/src/iframe/back-button/BackButton.stories.tsx +16 -0
- package/src/iframe/back-button/BackButton.tsx +19 -0
- package/src/iframe/back-button/index.ts +1 -0
- package/src/iframe/event/event-card/IframeEventCard.stories.tsx +6 -14
- package/src/iframe/event/event-card/IframeEventCard.tsx +6 -10
- package/src/iframe/event/event-card/IframeEventCardSkeleton.tsx +20 -30
- package/src/iframe/event/event-card/IframeEventCards.stories.tsx +2 -3
- package/src/iframe/event/event-venue-map/IframeEventVenueMap.stories.tsx +1 -1
- package/src/iframe/event/index.ts +0 -6
- package/src/iframe/index.ts +5 -2
- package/src/iframe/order-process/components/BookingSummary/BookingSummary.tsx +2 -0
- package/src/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.tsx +2 -2
- package/src/iframe/order-process/components/BookingSummary/types/index.ts +3 -2
- package/src/iframe/order-process/components/BookingSummary/utils/index.ts +2 -0
- package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.tsx +11 -8
- package/src/iframe/order-process/components/CalendarStepsForm/components/Category.tsx +2 -2
- package/src/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.tsx +2 -2
- package/src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx +5 -19
- package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +4 -4
- package/src/iframe/order-process/components/{CalendarStepsForm/components → ErrorModal}/ErrorModal.tsx +13 -10
- package/src/iframe/order-process/components/ErrorModal/index.ts +1 -0
- package/src/iframe/order-process/components/NavigationSteps/NavigationSteps.tsx +8 -6
- package/src/iframe/order-process/components/NavigationSteps/index.ts +1 -1
- package/src/iframe/order-process/components/Timer/utils/index.ts +6 -9
- package/src/iframe/order-process/components/utils/useCategoryVerification.ts +82 -0
- package/src/iframe/order-process/index.ts +3 -2
- 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 +9 -4
- package/src/iframe/page/components/PageHeader/PageHeader.tsx +2 -13
- package/src/iframe/payment/order-items-table/hooks/useTableData.tsx +11 -99
- package/src/iframe/payment/order-items-table/types/index.ts +18 -1
- package/src/iframe/payment/order-items-table/utils/paymentSummary.tsx +118 -0
- package/src/iframe/payment/payment-page/PaymentPage.tsx +4 -5
- package/src/image-radio-input/ImageRadioInput.stories.tsx +67 -0
- package/src/image-radio-input/ImageRadioInput.tsx +53 -0
- package/src/index.ts +7 -0
- package/src/logo/Logo.tsx +1 -1
- package/src/product-set/control/DateAndRecurrenceInput.tsx +2 -2
- package/src/product-set/control/ProductSetControl.tsx +8 -12
- package/src/product-set/control/ProductSetRecurrenceControl.tsx +8 -4
- package/src/product-set/form/ProductCategoriesControl.tsx +3 -1
- package/src/product-set/form/ProductSetForm.stories.tsx +1 -0
- package/src/product-set/form/ProductsControl.tsx +10 -0
- package/src/product-set/hooks/{useSortableTreeFunctions.tsx → useSortableTreeFunctions.ts} +1 -3
- package/src/product-set/product/ProductControl.tsx +28 -1
- package/src/product-set/product/constants.ts +1 -1
- package/src/product-set/product/duration/ProductDurationControl.tsx +1 -1
- package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +1 -13
- package/src/product-set/product-category/ProductCategoryControl.tsx +2 -8
- package/src/provider/location-input/LocationInputDescription.tsx +2 -2
- package/src/provider/working-hours-input/WorkingHoursInputDescription.tsx +9 -6
- package/src/radio-card/RadioCard.stories.tsx +48 -0
- package/src/radio-card/RadioCard.tsx +49 -0
- package/src/radio-card/index.ts +1 -0
- package/src/recurrence-input/RecurrenceEndInput.tsx +1 -1
- package/src/recurrence-input/RecurrenceInput.tsx +9 -2
- package/src/recurring-date-picker-input/RecurrenceIntervalAndFrequencyInput.tsx +93 -24
- package/src/recurring-date-picker-input/RecurringDatePickerInput.tsx +10 -0
- package/src/report/form/ReportForm.tsx +1 -1
- package/src/sales/booking/index.ts +0 -2
- package/src/sales/booking/results/components/ResultCard.tsx +4 -3
- package/src/sales/booking/results/constants.ts +1 -0
- package/src/sales/booking/results/index.ts +1 -0
- package/src/sales/filters/SaleFilter.stories.tsx +1 -1
- package/src/sales/filters/SaleFilters.tsx +1 -1
- package/src/sales/manual-booking/index.ts +1 -5
- package/src/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.tsx +3 -1
- 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 +6 -4
- package/src/sales/manual-booking/select-menu/components/MenuButton.tsx +3 -3
- package/src/sales/notes/NotesTableRow.tsx +1 -1
- package/src/setting/dashboard/index.ts +0 -2
- package/src/snippet/snippet-template/form/SnippetTemplateForm.tsx +10 -10
- package/src/snippet/snippet-template/preview/Preview.tsx +18 -11
- package/src/sortable-fields/SortableFieldItem.tsx +60 -0
- package/src/sortable-fields/SortableFieldList.tsx +62 -0
- package/src/sortable-fields/index.ts +1 -0
- package/src/sortable-tree/SortableTreeItem.tsx +1 -1
- package/src/sorting-select/SortingSelect.stories.tsx +15 -0
- package/src/sorting-select/SortingSelect.tsx +79 -0
- package/src/sorting-select/index.ts +1 -0
- package/src/static/CountryCodeSelect.tsx +3 -3
- package/src/static/RestrictedAccess.tsx +1 -1
- package/src/static/date-range-input/DateRangeInput.tsx +6 -3
- package/src/static/form-number-input/FormNumberInput.tsx +8 -1
- package/src/styles/activity-card/GridActivitiesCard.scss +37 -0
- package/src/styles/activity-card/ListActivitiesCard.scss +58 -0
- package/src/styles/activity-card/_index.scss +2 -0
- package/src/styles/availability-indicator/AvailabilityIndicator.scss +7 -0
- package/src/styles/availability-indicator/_index.scss +1 -0
- package/src/styles/back-button/BackButton.scss +33 -0
- package/src/styles/back-button/_index.scss +1 -0
- package/src/styles/date-time-button/DateTimeButton.scss +107 -0
- package/src/styles/date-time-button/_index.scss +1 -0
- package/src/styles/form/CustomCheckbox.scss +5 -0
- package/src/styles/header/Header.scss +0 -4
- package/src/styles/iframe-events/Calendar.scss +14 -14
- package/src/styles/iframe-events/Card.scss +1 -0
- package/src/styles/iframe-order-process/IframeOrderProcess.scss +8 -3
- package/src/styles/iframe-page/PageBody.scss +5 -2
- package/src/styles/{widgets/ImageRadioInput.scss → image-radio-input/_index.scss} +12 -0
- package/src/styles/packages.scss +7 -1
- package/src/styles/{widgets/WidgetTypeRadioButton.scss → radio-card/_index.scss} +8 -1
- package/src/styles/resources-blocking/_index.scss +43 -1
- package/src/styles/sales/BookingFilter.scss +2 -0
- package/src/styles/sales/ManualBooking.scss +7 -1
- package/src/styles/sales/RandomColors.scss +7 -4
- package/src/styles/sortable-field/SortableField.scss +21 -0
- package/src/styles/sortable-field/_index.scss +1 -0
- package/src/styles/static/DateRangeInput.scss +5 -1
- package/src/styles/themes/bookedit/_index.scss +1 -0
- package/src/styles/themes/bookedit/_variables.scss +3 -2
- package/src/styles/zones/ZoneForm.scss +0 -1
- package/src/table/FilterHelperComponent.tsx +1 -0
- package/src/types/iframe.ts +5 -1
- package/src/typings.d.ts +11 -0
- package/src/virtualized/components/VirtualizedWindowScroller.tsx +2 -1
- package/src/zone/form/components/AvailableTimesControl.tsx +6 -1
- package/src/zone/form/components/GameDurationControl.tsx +46 -0
- package/src/zone/form/components/ZoneControl.tsx +2 -0
- package/src/zone/form/components/ZoneRecurrencesControl.tsx +36 -41
- package/src/zone/form/utils/dates.ts +29 -34
- package/tsconfig.json +2 -2
- package/dist/assets/dashboard/blockingClock.png +0 -0
- package/dist/assets/dashboard/bookingCalendar.svg +0 -67
- package/dist/assets/dashboard/bookingCalendar.svg.js +0 -1
- package/dist/assets/dashboard/bookingList.svg +0 -68
- package/dist/assets/dashboard/bookingList.svg.js +0 -1
- package/dist/assets/dashboard/bookingListSmall.svg +0 -6
- package/dist/assets/dashboard/bookingListSmall.svg.js +0 -1
- package/dist/assets/dashboard/fullscreen.svg +0 -3
- package/dist/assets/dashboard/fullscreen.svg.js +0 -1
- package/dist/assets/dashboard/minimize.svg +0 -3
- package/dist/assets/dashboard/minimize.svg.js +0 -1
- package/dist/assets/dashboard/refresh.svg +0 -4
- package/dist/assets/dashboard/refresh.svg.js +0 -1
- package/dist/assets/widgets/circlePlus.svg +0 -4
- package/dist/assets/widgets/inPage.svg +0 -10
- package/dist/assets/widgets/overlay.svg +0 -9
- package/dist/assets/widgets/sidebar.svg +0 -9
- package/dist/iframe/event/event-calendar/EventCalendar.d.ts +0 -5
- package/dist/iframe/event/event-calendar/EventCalendar.d.ts.map +0 -1
- package/dist/iframe/event/event-calendar/EventCalendar.js +0 -1
- package/dist/iframe/event/event-calendar/components/CalendarButtons/CalendarButtons.d.ts +0 -6
- package/dist/iframe/event/event-calendar/components/CalendarButtons/CalendarButtons.d.ts.map +0 -1
- package/dist/iframe/event/event-calendar/components/CalendarButtons/CalendarButtons.js +0 -1
- package/dist/iframe/event/event-calendar/components/CalendarButtons/index.d.ts.map +0 -1
- package/dist/iframe/event/event-calendar/components/CalendarDate/CalendarDate.d.ts +0 -11
- package/dist/iframe/event/event-calendar/components/CalendarDate/CalendarDate.d.ts.map +0 -1
- package/dist/iframe/event/event-calendar/components/CalendarDate/CalendarDate.js +0 -1
- package/dist/iframe/event/event-calendar/components/CalendarDate/index.d.ts +0 -3
- package/dist/iframe/event/event-calendar/components/CalendarDate/index.d.ts.map +0 -1
- package/dist/iframe/event/event-calendar/components/CalendarDates/CalendarDates.d.ts +0 -5
- package/dist/iframe/event/event-calendar/components/CalendarDates/CalendarDates.d.ts.map +0 -1
- package/dist/iframe/event/event-calendar/components/CalendarDates/CalendarDates.js +0 -1
- package/dist/iframe/event/event-calendar/components/CalendarDates/index.d.ts.map +0 -1
- package/dist/iframe/event/event-calendar/components/CalendarSelect/CalendarSelect.d.ts.map +0 -1
- package/dist/iframe/event/event-calendar/components/CalendarSelect/CalendarSelect.js +0 -1
- package/dist/iframe/event/event-calendar/components/CalendarSelect/index.d.ts.map +0 -1
- package/dist/iframe/event/event-calendar/components/CalendarWeekdays/CalendarWeekdays.d.ts.map +0 -1
- package/dist/iframe/event/event-calendar/components/CalendarWeekdays/index.d.ts.map +0 -1
- package/dist/iframe/event/event-calendar/index.d.ts +0 -4
- package/dist/iframe/event/event-calendar/index.d.ts.map +0 -1
- package/dist/iframe/event/event-calendar/types/index.d.ts +0 -6
- package/dist/iframe/event/event-calendar/types/index.d.ts.map +0 -1
- package/dist/iframe/event/event-calendar/utils/index.d.ts +0 -3
- package/dist/iframe/event/event-calendar/utils/index.d.ts.map +0 -1
- package/dist/iframe/event/event-calendar/utils/index.js +0 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/ErrorModal.d.ts +0 -8
- package/dist/iframe/order-process/components/CalendarStepsForm/components/ErrorModal.d.ts.map +0 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/ErrorModal.js +0 -1
- package/dist/iframe/order-process/components/Category/Category.d.ts +0 -13
- package/dist/iframe/order-process/components/Category/Category.d.ts.map +0 -1
- package/dist/iframe/order-process/components/Category/Category.js +0 -1
- package/dist/iframe/order-process/components/Category/index.d.ts +0 -2
- package/dist/iframe/order-process/components/Category/index.d.ts.map +0 -1
- package/dist/iframe/order-process/components/StepsForm/StepsForm.d.ts +0 -19
- package/dist/iframe/order-process/components/StepsForm/StepsForm.d.ts.map +0 -1
- package/dist/iframe/order-process/components/StepsForm/StepsForm.js +0 -1
- package/dist/iframe/order-process/components/StepsForm/index.d.ts +0 -2
- package/dist/iframe/order-process/components/StepsForm/index.d.ts.map +0 -1
- package/dist/iframe/order-process/components/utils/category.d.ts +0 -10
- package/dist/iframe/order-process/components/utils/category.d.ts.map +0 -1
- package/dist/iframe/order-process/components/utils/category.js +0 -1
- package/dist/provider/resources-blocking-modal/ResourcesBlockingModal.d.ts +0 -12
- package/dist/provider/resources-blocking-modal/ResourcesBlockingModal.d.ts.map +0 -1
- package/dist/provider/resources-blocking-modal/index.d.ts +0 -2
- package/dist/provider/resources-blocking-modal/index.d.ts.map +0 -1
- package/dist/sales/booking/filter/BookingFilter.d.ts +0 -12
- package/dist/sales/booking/filter/BookingFilter.d.ts.map +0 -1
- package/dist/sales/booking/filter/BookingFilter.js +0 -1
- package/dist/sales/booking/filter/components/AdditionalFIlterSection.d.ts +0 -10
- package/dist/sales/booking/filter/components/AdditionalFIlterSection.d.ts.map +0 -1
- package/dist/sales/booking/filter/components/AdditionalFIlterSection.js +0 -1
- package/dist/sales/booking/filter/components/MainFilterSection.d.ts +0 -5
- package/dist/sales/booking/filter/components/MainFilterSection.d.ts.map +0 -1
- package/dist/sales/booking/filter/components/MainFilterSection.js +0 -1
- package/dist/sales/booking/filter/components/ResultTagButton.d.ts +0 -8
- package/dist/sales/booking/filter/components/ResultTagButton.d.ts.map +0 -1
- package/dist/sales/booking/filter/components/ResultTagButton.js +0 -1
- package/dist/sales/booking/filter/components/SearchingForSection.d.ts +0 -3
- package/dist/sales/booking/filter/components/SearchingForSection.d.ts.map +0 -1
- package/dist/sales/booking/filter/components/SearchingForSection.js +0 -1
- package/dist/sales/booking/filter/index.d.ts +0 -3
- package/dist/sales/booking/filter/index.d.ts.map +0 -1
- package/dist/sales/booking/tabs/BookingTabs.d.ts +0 -11
- package/dist/sales/booking/tabs/BookingTabs.d.ts.map +0 -1
- package/dist/sales/booking/tabs/BookingTabs.js +0 -1
- package/dist/sales/booking/tabs/index.d.ts +0 -3
- package/dist/sales/booking/tabs/index.d.ts.map +0 -1
- package/dist/sales/manual-booking/category-product/CategoryProduct.d.ts +0 -16
- package/dist/sales/manual-booking/category-product/CategoryProduct.d.ts.map +0 -1
- package/dist/sales/manual-booking/category-product/CategoryProduct.js +0 -1
- package/dist/sales/manual-booking/category-product/index.d.ts +0 -2
- package/dist/sales/manual-booking/category-product/index.d.ts.map +0 -1
- package/dist/sales/manual-booking/category-products/CategoryProducts.d.ts +0 -17
- package/dist/sales/manual-booking/category-products/CategoryProducts.d.ts.map +0 -1
- package/dist/sales/manual-booking/category-products/CategoryProducts.js +0 -1
- package/dist/sales/manual-booking/category-products/index.d.ts +0 -2
- package/dist/sales/manual-booking/category-products/index.d.ts.map +0 -1
- package/dist/sales/manual-booking/controll/ManualBookingStepsControll.d.ts +0 -15
- package/dist/sales/manual-booking/controll/ManualBookingStepsControll.d.ts.map +0 -1
- package/dist/sales/manual-booking/controll/ManualBookingStepsControll.js +0 -1
- package/dist/sales/manual-booking/controll/index.d.ts +0 -2
- package/dist/sales/manual-booking/controll/index.d.ts.map +0 -1
- package/dist/sales/manual-booking/create-user/CreateUser.d.ts +0 -6
- package/dist/sales/manual-booking/create-user/CreateUser.d.ts.map +0 -1
- package/dist/sales/manual-booking/create-user/CreateUser.js +0 -1
- package/dist/sales/manual-booking/create-user/index.d.ts +0 -2
- package/dist/sales/manual-booking/create-user/index.d.ts.map +0 -1
- package/dist/sales/manual-booking/customer-info/CustomerInfo.d.ts +0 -7
- package/dist/sales/manual-booking/customer-info/CustomerInfo.d.ts.map +0 -1
- package/dist/sales/manual-booking/customer-info/CustomerInfo.js +0 -1
- package/dist/sales/manual-booking/customer-info/index.d.ts +0 -2
- package/dist/sales/manual-booking/customer-info/index.d.ts.map +0 -1
- package/dist/sales/manual-booking/final-step/FinalStep.d.ts +0 -7
- package/dist/sales/manual-booking/final-step/FinalStep.d.ts.map +0 -1
- package/dist/sales/manual-booking/final-step/FinalStep.js +0 -1
- package/dist/sales/manual-booking/final-step/index.d.ts +0 -2
- package/dist/sales/manual-booking/final-step/index.d.ts.map +0 -1
- package/dist/setting/dashboard/snippets/control/SnippetControl.d.ts +0 -9
- package/dist/setting/dashboard/snippets/control/SnippetControl.d.ts.map +0 -1
- package/dist/setting/dashboard/snippets/control/SnippetControl.js +0 -1
- package/dist/setting/dashboard/snippets/control/index.d.ts +0 -2
- package/dist/setting/dashboard/snippets/control/index.d.ts.map +0 -1
- package/dist/setting/dashboard/snippets/form/SnippetForm.d.ts +0 -33
- package/dist/setting/dashboard/snippets/form/SnippetForm.d.ts.map +0 -1
- package/dist/setting/dashboard/snippets/form/SnippetForm.js +0 -1
- package/dist/setting/dashboard/snippets/form/context.d.ts +0 -11
- package/dist/setting/dashboard/snippets/form/context.d.ts.map +0 -1
- package/dist/setting/dashboard/snippets/form/context.js +0 -1
- package/dist/setting/dashboard/snippets/form/index.d.ts +0 -2
- package/dist/setting/dashboard/snippets/form/index.d.ts.map +0 -1
- package/dist/setting/dashboard/snippets/modal/SnippetViewTypeModal.d.ts +0 -19
- package/dist/setting/dashboard/snippets/modal/SnippetViewTypeModal.d.ts.map +0 -1
- package/dist/setting/dashboard/snippets/modal/SnippetViewTypeModal.js +0 -1
- package/dist/setting/dashboard/snippets/modal/index.d.ts +0 -3
- package/dist/setting/dashboard/snippets/modal/index.d.ts.map +0 -1
- package/dist/styles/widgets/BookingStyleSelector.scss +0 -14
- package/dist/styles/widgets/CalendarStyleSelector.scss +0 -17
- package/dist/styles/widgets/CheckboxGroup.scss +0 -15
- package/dist/styles/widgets/ProductSetSelector.scss +0 -19
- package/dist/styles/widgets/SnippetCode.scss +0 -18
- package/dist/styles/widgets/WidgetBuilderForm.scss +0 -51
- package/dist/styles/widgets/WidgetTypeSelector.scss +0 -6
- package/dist/styles/widgets/_index.scss +0 -9
- package/dist/widgets/BookingStyleSelector/BookingStyleSelector.d.ts +0 -3
- package/dist/widgets/BookingStyleSelector/BookingStyleSelector.d.ts.map +0 -1
- package/dist/widgets/BookingStyleSelector/index.d.ts +0 -2
- package/dist/widgets/BookingStyleSelector/index.d.ts.map +0 -1
- package/dist/widgets/CalendarStyleSelector/CalendarStyleSelector.d.ts +0 -3
- package/dist/widgets/CalendarStyleSelector/CalendarStyleSelector.d.ts.map +0 -1
- package/dist/widgets/CalendarStyleSelector/index.d.ts +0 -2
- package/dist/widgets/CalendarStyleSelector/index.d.ts.map +0 -1
- package/dist/widgets/CheckboxGroup/CheckboxGroup.d.ts +0 -8
- package/dist/widgets/CheckboxGroup/CheckboxGroup.d.ts.map +0 -1
- package/dist/widgets/CheckboxGroup/index.d.ts +0 -2
- package/dist/widgets/CheckboxGroup/index.d.ts.map +0 -1
- package/dist/widgets/ImageRadioInput/ImageRadioInput.d.ts +0 -9
- package/dist/widgets/ImageRadioInput/ImageRadioInput.d.ts.map +0 -1
- package/dist/widgets/ImageRadioInput/index.d.ts.map +0 -1
- package/dist/widgets/ProductSetSelector/ProductSetSelector.d.ts +0 -3
- package/dist/widgets/ProductSetSelector/ProductSetSelector.d.ts.map +0 -1
- package/dist/widgets/ProductSetSelector/index.d.ts +0 -2
- package/dist/widgets/ProductSetSelector/index.d.ts.map +0 -1
- package/dist/widgets/SnippetCode/SnippetCode.d.ts +0 -6
- package/dist/widgets/SnippetCode/SnippetCode.d.ts.map +0 -1
- package/dist/widgets/SnippetCode/index.d.ts +0 -2
- package/dist/widgets/SnippetCode/index.d.ts.map +0 -1
- package/dist/widgets/WidgetBuilderForm/WidgetBuilderForm.d.ts +0 -12
- package/dist/widgets/WidgetBuilderForm/WidgetBuilderForm.d.ts.map +0 -1
- package/dist/widgets/WidgetTypeRadio/WidgetTypeRadio.d.ts +0 -7
- package/dist/widgets/WidgetTypeRadio/WidgetTypeRadio.d.ts.map +0 -1
- package/dist/widgets/WidgetTypeRadio/index.d.ts +0 -2
- package/dist/widgets/WidgetTypeRadio/index.d.ts.map +0 -1
- package/dist/widgets/WidgetTypeSelector/WidgetTypeSelector.d.ts +0 -3
- package/dist/widgets/WidgetTypeSelector/WidgetTypeSelector.d.ts.map +0 -1
- package/src/assets/dashboard/blockingClock.png +0 -0
- package/src/assets/dashboard/bookingCalendar.svg +0 -67
- package/src/assets/dashboard/bookingList.svg +0 -68
- package/src/assets/dashboard/bookingListSmall.svg +0 -6
- package/src/assets/dashboard/fullscreen.svg +0 -3
- package/src/assets/dashboard/minimize.svg +0 -3
- package/src/assets/dashboard/refresh.svg +0 -4
- package/src/assets/widgets/circlePlus.svg +0 -4
- package/src/assets/widgets/inPage.svg +0 -10
- package/src/assets/widgets/overlay.svg +0 -9
- package/src/assets/widgets/sidebar.svg +0 -9
- package/src/iframe/event/event-calendar/EventCalendar.stories.tsx +0 -37
- package/src/iframe/event/event-calendar/EventCalendar.tsx +0 -20
- package/src/iframe/event/event-calendar/components/CalendarDate/CalendarDate.tsx +0 -43
- package/src/iframe/event/event-calendar/components/CalendarDate/index.ts +0 -2
- package/src/iframe/event/event-calendar/index.ts +0 -6
- package/src/iframe/event/event-calendar/types/index.ts +0 -6
- package/src/iframe/event/event-calendar/utils/index.ts +0 -11
- package/src/iframe/order-process/OrderProcess.stories.tsx +0 -363
- package/src/iframe/order-process/components/Category/Category.stories.tsx +0 -118
- package/src/iframe/order-process/components/Category/Category.tsx +0 -51
- package/src/iframe/order-process/components/Category/index.ts +0 -1
- package/src/iframe/order-process/components/StepsForm/StepsForm.tsx +0 -176
- package/src/iframe/order-process/components/StepsForm/index.ts +0 -1
- package/src/iframe/order-process/components/utils/category.ts +0 -48
- package/src/provider/resources-blocking-modal/ResourcesBlockingModal.stories.tsx +0 -51
- package/src/provider/resources-blocking-modal/ResourcesBlockingModal.tsx +0 -134
- package/src/provider/resources-blocking-modal/index.ts +0 -1
- package/src/sales/booking/filter/BookingFilter.stories.tsx +0 -27
- package/src/sales/booking/filter/BookingFilter.tsx +0 -47
- package/src/sales/booking/filter/components/AdditionalFIlterSection.tsx +0 -95
- package/src/sales/booking/filter/components/MainFilterSection.tsx +0 -131
- package/src/sales/booking/filter/components/ResultTagButton.tsx +0 -33
- package/src/sales/booking/filter/components/SearchingForSection.tsx +0 -68
- package/src/sales/booking/filter/index.ts +0 -2
- package/src/sales/booking/tabs/BookingTabs.stories.tsx +0 -17
- package/src/sales/booking/tabs/BookingTabs.tsx +0 -88
- package/src/sales/booking/tabs/index.ts +0 -2
- package/src/sales/manual-booking/category-product/CategoryProduct.tsx +0 -285
- package/src/sales/manual-booking/category-product/index.ts +0 -1
- package/src/sales/manual-booking/category-products/CategoryProducts.tsx +0 -69
- package/src/sales/manual-booking/category-products/index.ts +0 -1
- package/src/sales/manual-booking/controll/ManualBookingStepsControll.tsx +0 -121
- package/src/sales/manual-booking/controll/index.ts +0 -1
- package/src/sales/manual-booking/create-user/CreateUser.stories.tsx +0 -27
- package/src/sales/manual-booking/create-user/CreateUser.tsx +0 -224
- package/src/sales/manual-booking/create-user/index.ts +0 -1
- package/src/sales/manual-booking/customer-info/CustomerInfo.tsx +0 -128
- package/src/sales/manual-booking/customer-info/index.ts +0 -1
- package/src/sales/manual-booking/final-step/FinalStep.tsx +0 -38
- package/src/sales/manual-booking/final-step/index.ts +0 -1
- package/src/setting/dashboard/snippets/control/SnippetControl.tsx +0 -237
- package/src/setting/dashboard/snippets/control/index.ts +0 -1
- package/src/setting/dashboard/snippets/form/SnippetForm.stories.tsx +0 -104
- package/src/setting/dashboard/snippets/form/SnippetForm.tsx +0 -94
- package/src/setting/dashboard/snippets/form/context.tsx +0 -18
- package/src/setting/dashboard/snippets/form/index.ts +0 -1
- package/src/setting/dashboard/snippets/modal/SnippetViewTypeModal.stories.tsx +0 -28
- package/src/setting/dashboard/snippets/modal/SnippetViewTypeModal.tsx +0 -104
- package/src/setting/dashboard/snippets/modal/index.ts +0 -2
- package/src/styles/widgets/BookingStyleSelector.scss +0 -14
- package/src/styles/widgets/CalendarStyleSelector.scss +0 -17
- package/src/styles/widgets/CheckboxGroup.scss +0 -15
- package/src/styles/widgets/ProductSetSelector.scss +0 -19
- package/src/styles/widgets/SnippetCode.scss +0 -18
- package/src/styles/widgets/WidgetBuilderForm.scss +0 -51
- package/src/styles/widgets/WidgetTypeSelector.scss +0 -6
- package/src/styles/widgets/_index.scss +0 -9
- package/src/widgets/BookingStyleSelector/BookingStyleSelector.stories.tsx +0 -12
- package/src/widgets/BookingStyleSelector/BookingStyleSelector.tsx +0 -34
- package/src/widgets/BookingStyleSelector/index.ts +0 -1
- package/src/widgets/CalendarStyleSelector/CalendarStyleSelector.stories.tsx +0 -12
- package/src/widgets/CalendarStyleSelector/CalendarStyleSelector.tsx +0 -29
- package/src/widgets/CalendarStyleSelector/index.ts +0 -1
- package/src/widgets/CheckboxGroup/CheckboxGroup.stories.tsx +0 -16
- package/src/widgets/CheckboxGroup/CheckboxGroup.tsx +0 -64
- package/src/widgets/CheckboxGroup/index.ts +0 -1
- package/src/widgets/ImageRadioInput/ImageRadioInput.stories.tsx +0 -18
- package/src/widgets/ImageRadioInput/ImageRadioInput.tsx +0 -29
- package/src/widgets/ProductSetSelector/ProductSetSelector.stories.tsx +0 -12
- package/src/widgets/ProductSetSelector/ProductSetSelector.tsx +0 -27
- package/src/widgets/ProductSetSelector/index.ts +0 -1
- package/src/widgets/SnippetCode/SnippetCode.stories.tsx +0 -17
- package/src/widgets/SnippetCode/SnippetCode.tsx +0 -27
- package/src/widgets/SnippetCode/index.ts +0 -1
- package/src/widgets/WidgetBuilderForm/WidgetBuilderForm.stories.tsx +0 -12
- package/src/widgets/WidgetBuilderForm/WidgetBuilderForm.tsx +0 -84
- package/src/widgets/WidgetTypeRadio/WidgetTypeRadio.stories.tsx +0 -17
- package/src/widgets/WidgetTypeRadio/WidgetTypeRadio.tsx +0 -43
- package/src/widgets/WidgetTypeRadio/index.ts +0 -1
- package/src/widgets/WidgetTypeSelector/WidgetTypeSelector.stories.tsx +0 -12
- package/src/widgets/WidgetTypeSelector/WidgetTypeSelector.tsx +0 -32
- package/tests/Snippets/Snippets.test.tsx +0 -77
- /package/dist/{iframe/event/event-calendar → calendar}/components/CalendarButtons/index.d.ts +0 -0
- /package/dist/{iframe/event/event-calendar → calendar}/components/CalendarDates/index.d.ts +0 -0
- /package/dist/{iframe/event/event-calendar → calendar}/components/CalendarSelect/index.d.ts +0 -0
- /package/dist/{iframe/event/event-calendar → calendar}/components/CalendarWeekdays/CalendarWeekdays.d.ts +0 -0
- /package/dist/{iframe/event/event-calendar → calendar}/components/CalendarWeekdays/CalendarWeekdays.js +0 -0
- /package/dist/{iframe/event/event-calendar → calendar}/components/CalendarWeekdays/index.d.ts +0 -0
- /package/dist/{widgets/ImageRadioInput → image-radio-input}/index.d.ts +0 -0
- /package/src/{iframe/event/event-calendar → calendar}/components/CalendarButtons/index.ts +0 -0
- /package/src/{iframe/event/event-calendar → calendar}/components/CalendarDates/index.ts +0 -0
- /package/src/{iframe/event/event-calendar → calendar}/components/CalendarSelect/index.ts +0 -0
- /package/src/{iframe/event/event-calendar → calendar}/components/CalendarWeekdays/CalendarWeekdays.tsx +0 -0
- /package/src/{iframe/event/event-calendar → calendar}/components/CalendarWeekdays/index.ts +0 -0
- /package/src/{widgets/ImageRadioInput → image-radio-input}/index.ts +0 -0
|
@@ -100,18 +100,18 @@ export const PaymentPage = ({
|
|
|
100
100
|
);
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
const
|
|
103
|
+
const orderTotalAmountByFormValues = cartSumByOrderProducts(
|
|
104
104
|
bookingSummaryProps && bookingSummaryProps?.formValues
|
|
105
105
|
? Object.values(bookingSummaryProps?.formValues)
|
|
106
106
|
: undefined
|
|
107
107
|
);
|
|
108
108
|
|
|
109
|
-
// User can fill
|
|
109
|
+
// User can fill promo code only in iframe application.
|
|
110
110
|
// It didn't possible via payment link. This check will
|
|
111
111
|
// be applied when there are no metadata and in case when
|
|
112
112
|
// orderValues sum is greater than amount in order.
|
|
113
113
|
const isCalculatedAmountGreaterThanOrderAmount =
|
|
114
|
-
|
|
114
|
+
orderTotalAmountByFormValues > data?.amount;
|
|
115
115
|
|
|
116
116
|
return (
|
|
117
117
|
<Page
|
|
@@ -124,7 +124,6 @@ export const PaymentPage = ({
|
|
|
124
124
|
onCloseButtonClick={isIframePayment ? onGoBack : undefined}
|
|
125
125
|
>
|
|
126
126
|
<PaymentTimer />
|
|
127
|
-
|
|
128
127
|
<div className="d-flex align-items-center justify-content-center w-100">
|
|
129
128
|
{t("paymentDetails")}
|
|
130
129
|
</div>
|
|
@@ -165,7 +164,7 @@ export const PaymentPage = ({
|
|
|
165
164
|
<SummaryTotalBlock
|
|
166
165
|
label={t("total")}
|
|
167
166
|
amount={
|
|
168
|
-
|
|
167
|
+
orderTotalAmountByFormValues +
|
|
169
168
|
(bookingSummaryProps?.transactionFee || 0)
|
|
170
169
|
}
|
|
171
170
|
/>
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Meta, Story } from "@storybook/react";
|
|
3
|
+
import { FormProvider, useForm } from "react-hook-form";
|
|
4
|
+
import { ImageRadioInput, ImageRadioInputProps } from "./ImageRadioInput";
|
|
5
|
+
import { ReactComponent as MonthIcon } from "../assets/widgets/monthCalendar.svg";
|
|
6
|
+
import Icon from "../static/Icon";
|
|
7
|
+
|
|
8
|
+
export default {
|
|
9
|
+
title: "ImageRadioInput",
|
|
10
|
+
component: ImageRadioInput,
|
|
11
|
+
} as Meta;
|
|
12
|
+
|
|
13
|
+
type FormModel = {
|
|
14
|
+
test: string;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export const Default: Story<ImageRadioInputProps<FormModel>> = (args) => {
|
|
18
|
+
const form = useForm();
|
|
19
|
+
|
|
20
|
+
return (
|
|
21
|
+
<FormProvider {...form}>
|
|
22
|
+
<ImageRadioInput {...args} />
|
|
23
|
+
</FormProvider>
|
|
24
|
+
);
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
Default.args = {
|
|
28
|
+
img: <MonthIcon />,
|
|
29
|
+
label: "Month",
|
|
30
|
+
name: "test",
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export const WithFontAwesomeIcon: Story<ImageRadioInputProps<FormModel>> = (
|
|
34
|
+
args
|
|
35
|
+
) => {
|
|
36
|
+
const form = useForm();
|
|
37
|
+
|
|
38
|
+
return (
|
|
39
|
+
<FormProvider {...form}>
|
|
40
|
+
<ImageRadioInput {...args} />
|
|
41
|
+
</FormProvider>
|
|
42
|
+
);
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
WithFontAwesomeIcon.args = {
|
|
46
|
+
img: <Icon type="bars" />,
|
|
47
|
+
label: "List",
|
|
48
|
+
name: "test",
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
export const Disabled: Story<ImageRadioInputProps<FormModel>> = (args) => {
|
|
52
|
+
const form = useForm();
|
|
53
|
+
|
|
54
|
+
return (
|
|
55
|
+
<FormProvider {...form}>
|
|
56
|
+
<ImageRadioInput {...args} />
|
|
57
|
+
</FormProvider>
|
|
58
|
+
);
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
Disabled.args = {
|
|
62
|
+
img: <MonthIcon />,
|
|
63
|
+
label: "Month",
|
|
64
|
+
name: "test",
|
|
65
|
+
disabled: true,
|
|
66
|
+
disabledMessage: "Coming soon",
|
|
67
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import clsx from "clsx";
|
|
2
|
+
import React, { ReactNode } from "react";
|
|
3
|
+
import { Form } from "react-bootstrap";
|
|
4
|
+
import { FormCheckInputProps } from "react-bootstrap/esm/FormCheckInput";
|
|
5
|
+
import { Path, RegisterOptions, useFormContext } from "react-hook-form";
|
|
6
|
+
|
|
7
|
+
export type ImageRadioInputProps<FormModel> = {
|
|
8
|
+
img: ReactNode;
|
|
9
|
+
label: string;
|
|
10
|
+
value: string | number;
|
|
11
|
+
name: Path<FormModel>;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
disabledMessage?: string;
|
|
14
|
+
rules?: RegisterOptions<FormModel>;
|
|
15
|
+
inputProps?: FormCheckInputProps;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export const ImageRadioInput = <FormModel,>({
|
|
19
|
+
img,
|
|
20
|
+
label,
|
|
21
|
+
value,
|
|
22
|
+
name,
|
|
23
|
+
disabled,
|
|
24
|
+
disabledMessage,
|
|
25
|
+
rules,
|
|
26
|
+
inputProps,
|
|
27
|
+
}: ImageRadioInputProps<FormModel>) => {
|
|
28
|
+
const { register } = useFormContext<FormModel>();
|
|
29
|
+
|
|
30
|
+
return (
|
|
31
|
+
<Form.Check className="image-radio-input">
|
|
32
|
+
<Form.Check.Label
|
|
33
|
+
className={clsx("image-radio-input-wrapper", disabled && "disabled")}
|
|
34
|
+
>
|
|
35
|
+
<div className="image-radio-input-image-wrapper">{img}</div>
|
|
36
|
+
|
|
37
|
+
<div className="image-radio-input-label">
|
|
38
|
+
<Form.Check.Input
|
|
39
|
+
type="radio"
|
|
40
|
+
value={value}
|
|
41
|
+
disabled={disabled}
|
|
42
|
+
{...register(name, rules)}
|
|
43
|
+
{...inputProps}
|
|
44
|
+
/>
|
|
45
|
+
<span>{label}</span>
|
|
46
|
+
</div>
|
|
47
|
+
</Form.Check.Label>
|
|
48
|
+
<Form.Control.Feedback type="valid" className="d-block text-center">
|
|
49
|
+
{disabledMessage}
|
|
50
|
+
</Form.Control.Feedback>
|
|
51
|
+
</Form.Check>
|
|
52
|
+
);
|
|
53
|
+
};
|
package/src/index.ts
CHANGED
|
@@ -18,6 +18,7 @@ export * from "./sales";
|
|
|
18
18
|
export * from "./setting";
|
|
19
19
|
export * from "./sidebar";
|
|
20
20
|
export * from "./snippet";
|
|
21
|
+
export * from "./sortable-fields";
|
|
21
22
|
export * from "./sortable-list";
|
|
22
23
|
export * from "./sortable-tree";
|
|
23
24
|
export * from "./static";
|
|
@@ -34,3 +35,9 @@ export * from "./resource";
|
|
|
34
35
|
export * from "./virtualized";
|
|
35
36
|
export * from "./customers";
|
|
36
37
|
export * from "./striped-static-table";
|
|
38
|
+
export * from "./radio-card";
|
|
39
|
+
export * from "./image-radio-input";
|
|
40
|
+
export * from "./sorting-select";
|
|
41
|
+
export * from "./date-time-button";
|
|
42
|
+
export * from "./calendar";
|
|
43
|
+
export * from "./availability-indicator";
|
package/src/logo/Logo.tsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { useEffect, useRef, useState } from "react";
|
|
2
|
-
import
|
|
2
|
+
import { Modifier } from "@popperjs/core";
|
|
3
3
|
import { useId } from "@react-aria/utils";
|
|
4
4
|
import { Form, OverlayTrigger, Popover } from "react-bootstrap";
|
|
5
5
|
import { useFieldArray, useFormContext } from "react-hook-form";
|
|
@@ -245,7 +245,7 @@ export const DateAndRecurrenceInput = ({
|
|
|
245
245
|
);
|
|
246
246
|
};
|
|
247
247
|
|
|
248
|
-
const sameWidthPopperModifier:
|
|
248
|
+
export const sameWidthPopperModifier: Modifier<
|
|
249
249
|
"sameWidth",
|
|
250
250
|
Record<string, unknown>
|
|
251
251
|
> = {
|
|
@@ -281,24 +281,20 @@ export function ProductSetControl({
|
|
|
281
281
|
control={control}
|
|
282
282
|
name="fieldSetId"
|
|
283
283
|
render={({ field }) => {
|
|
284
|
-
const
|
|
284
|
+
const fieldValue = Number(field.value);
|
|
285
285
|
|
|
286
286
|
return (
|
|
287
287
|
<>
|
|
288
288
|
<Form.Label>{t("Design:customFields")}</Form.Label>
|
|
289
|
-
<Form.Control
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
289
|
+
<Form.Control
|
|
290
|
+
onChange={field.onChange}
|
|
291
|
+
value={fieldValue}
|
|
292
|
+
as="select"
|
|
293
|
+
>
|
|
294
|
+
<option value="">{t("Design:choose")}</option>
|
|
293
295
|
{fieldSets?.map((fieldSet) => {
|
|
294
|
-
const fieldSetOptionValue = String(fieldSet.id);
|
|
295
|
-
|
|
296
296
|
return (
|
|
297
|
-
<option
|
|
298
|
-
value={fieldSet.id}
|
|
299
|
-
key={fieldSet.id}
|
|
300
|
-
selected={fieldSetValue === fieldSetOptionValue}
|
|
301
|
-
>
|
|
297
|
+
<option value={fieldSet.id} key={fieldSet.id}>
|
|
302
298
|
{fieldSet.name}
|
|
303
299
|
</option>
|
|
304
300
|
);
|
|
@@ -56,10 +56,14 @@ export const ProductSetRecurrenceControl = ({
|
|
|
56
56
|
{formatDate(menuRecurrence.startDate, {
|
|
57
57
|
dateStyle: "medium",
|
|
58
58
|
})}{" "}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
59
|
+
{menuRecurrence.endDate && (
|
|
60
|
+
<>
|
|
61
|
+
{"- "}
|
|
62
|
+
{formatDate(menuRecurrence.endDate, {
|
|
63
|
+
dateStyle: "medium",
|
|
64
|
+
})}
|
|
65
|
+
</>
|
|
66
|
+
)}
|
|
63
67
|
</span>
|
|
64
68
|
|
|
65
69
|
<div
|
|
@@ -72,6 +72,7 @@ export function ProductCategoriesControl({
|
|
|
72
72
|
providerHasMap,
|
|
73
73
|
expandedProductCategories,
|
|
74
74
|
setExpandedProductCategories,
|
|
75
|
+
zones,
|
|
75
76
|
} = useContext(ProductSetLoadingContext);
|
|
76
77
|
const form = useFormContext<ProductSetFormValues>();
|
|
77
78
|
const [isSelectCategoryVisible, setIsSelectCategoryVisible] = useState(false);
|
|
@@ -100,7 +101,7 @@ export function ProductCategoriesControl({
|
|
|
100
101
|
});
|
|
101
102
|
const [productCategoryState, setProductCategoryState] = useState<
|
|
102
103
|
Record<number, { price: number; quantity: number }>
|
|
103
|
-
>(
|
|
104
|
+
>({});
|
|
104
105
|
|
|
105
106
|
const { edit, saveValidField, cancelChanges } = useSortableTreeFunctions({
|
|
106
107
|
fieldName: productCategoriesFieldName,
|
|
@@ -287,6 +288,7 @@ export function ProductCategoriesControl({
|
|
|
287
288
|
quantityType={productCategory.quantityType}
|
|
288
289
|
hasTicket={productCategory?.hasTicket}
|
|
289
290
|
stepIndex={stepIndex}
|
|
291
|
+
zones={zones}
|
|
290
292
|
productCategoryIndex={index}
|
|
291
293
|
categoryType={productCategory.type}
|
|
292
294
|
/>
|
|
@@ -14,6 +14,7 @@ import { generateUuid } from "@licklist/core/dist/Services";
|
|
|
14
14
|
import HookFormService from "@licklist/plugins/dist/services/Form/HookFormService";
|
|
15
15
|
|
|
16
16
|
import { CategoryType } from "@licklist/core/dist/DataMapper/Product/ProductCategoryDataMapper";
|
|
17
|
+
import { Zone } from "@licklist/core/dist/DataMapper/Provider/ZoneDataMapper";
|
|
17
18
|
import { ProductControl, ProductControlProps, ProductSetFormValues } from "..";
|
|
18
19
|
import { SortableTree } from "../../sortable-tree";
|
|
19
20
|
import { CreateProductSetItem } from "../item/CreateProductSetItem";
|
|
@@ -32,6 +33,7 @@ interface ProductsControlProps extends WithIsLoading {
|
|
|
32
33
|
productCategoryIndex: number;
|
|
33
34
|
hasTicket?: boolean;
|
|
34
35
|
categoryType: CategoryType;
|
|
36
|
+
zones?: Zone[];
|
|
35
37
|
}
|
|
36
38
|
|
|
37
39
|
const getDefaultProductValue = (sort: number): Product => ({
|
|
@@ -74,6 +76,7 @@ export function ProductsControl({
|
|
|
74
76
|
productCategoryIndex,
|
|
75
77
|
hasTicket,
|
|
76
78
|
categoryType,
|
|
79
|
+
zones,
|
|
77
80
|
}: ProductsControlProps) {
|
|
78
81
|
const { t } = useTranslation("Design");
|
|
79
82
|
const form = useFormContext<ProductSetFormValues>();
|
|
@@ -89,6 +92,12 @@ export function ProductsControl({
|
|
|
89
92
|
getValues,
|
|
90
93
|
} = form;
|
|
91
94
|
|
|
95
|
+
const zoneId = watch(
|
|
96
|
+
`steps.${stepIndex}.productCategories.${productCategoryIndex}.zoneId`
|
|
97
|
+
);
|
|
98
|
+
|
|
99
|
+
const catergoryZone = zones?.find((zone) => zone.id === Number(zoneId));
|
|
100
|
+
|
|
92
101
|
const productControlFieldName =
|
|
93
102
|
`steps.${stepIndex}.productCategories.${productCategoryIndex}.products` as const;
|
|
94
103
|
|
|
@@ -245,6 +254,7 @@ export function ProductsControl({
|
|
|
245
254
|
onProductNameChange={onChange}
|
|
246
255
|
hasTicket={hasTicket}
|
|
247
256
|
categoryType={categoryType}
|
|
257
|
+
zoneDuration={catergoryZone?.defaultDuration}
|
|
248
258
|
/>
|
|
249
259
|
}
|
|
250
260
|
onDelete={() => onProductRemove(index)}
|
|
@@ -22,9 +22,7 @@ export const useSortableTreeFunctions = ({
|
|
|
22
22
|
if (!previousValue) {
|
|
23
23
|
return remove(index);
|
|
24
24
|
}
|
|
25
|
-
|
|
26
|
-
setValue(`${fieldName}.${index}` as const, previousValue);
|
|
27
|
-
return setEditValue(null);
|
|
25
|
+
return setValue(`${fieldName}.${index}` as const, previousValue);
|
|
28
26
|
};
|
|
29
27
|
|
|
30
28
|
const saveValidField = () => {
|
|
@@ -113,6 +113,7 @@ export interface ProductControlProps<T>
|
|
|
113
113
|
productName: string;
|
|
114
114
|
hasTicket?: boolean;
|
|
115
115
|
categoryType?: CategoryType;
|
|
116
|
+
zoneDuration?: number;
|
|
116
117
|
}
|
|
117
118
|
|
|
118
119
|
export function ProductControl<T extends FormValues>({
|
|
@@ -126,6 +127,7 @@ export function ProductControl<T extends FormValues>({
|
|
|
126
127
|
productName,
|
|
127
128
|
hasTicket,
|
|
128
129
|
categoryType,
|
|
130
|
+
zoneDuration,
|
|
129
131
|
}: ProductControlProps<T>) {
|
|
130
132
|
const {
|
|
131
133
|
register,
|
|
@@ -190,6 +192,16 @@ export function ProductControl<T extends FormValues>({
|
|
|
190
192
|
[handleImageUploading]
|
|
191
193
|
);
|
|
192
194
|
|
|
195
|
+
const onChangeGameCapacity = (value: number) => {
|
|
196
|
+
if (!zoneDuration) {
|
|
197
|
+
return;
|
|
198
|
+
}
|
|
199
|
+
setValue(
|
|
200
|
+
`${fieldNamePrefix}.duration` as Path<T>,
|
|
201
|
+
(value * zoneDuration) as UnpackNestedValue<PathValue<T, Path<T>>>
|
|
202
|
+
);
|
|
203
|
+
};
|
|
204
|
+
|
|
193
205
|
const onImageRemove = useCallback(
|
|
194
206
|
(id, path) => {
|
|
195
207
|
handleImageRemove(String(id), path);
|
|
@@ -372,6 +384,14 @@ export function ProductControl<T extends FormValues>({
|
|
|
372
384
|
<FormNumberInput
|
|
373
385
|
fieldName={`${fieldNamePrefix}.capacity`}
|
|
374
386
|
label={t("capacity")}
|
|
387
|
+
rules={{
|
|
388
|
+
min: {
|
|
389
|
+
value: 1,
|
|
390
|
+
message: t("Validation:fieldRequired", {
|
|
391
|
+
attribute: t("capacity"),
|
|
392
|
+
}) as string,
|
|
393
|
+
},
|
|
394
|
+
}}
|
|
375
395
|
/>
|
|
376
396
|
</Col>
|
|
377
397
|
</Row>
|
|
@@ -383,7 +403,11 @@ export function ProductControl<T extends FormValues>({
|
|
|
383
403
|
<FormNumberInput
|
|
384
404
|
fieldName={`${fieldNamePrefix}.capacity`}
|
|
385
405
|
label={t("capacity")}
|
|
406
|
+
onChange={onChangeGameCapacity}
|
|
386
407
|
rules={{
|
|
408
|
+
required: t("Validation:fieldRequired", {
|
|
409
|
+
attribute: t("capacity"),
|
|
410
|
+
}) as string,
|
|
387
411
|
min: {
|
|
388
412
|
value: 1,
|
|
389
413
|
message: t("Validation:fieldRequired", {
|
|
@@ -398,10 +422,13 @@ export function ProductControl<T extends FormValues>({
|
|
|
398
422
|
fieldName={`${fieldNamePrefix}.duration`}
|
|
399
423
|
label={t("durationMinutes")}
|
|
400
424
|
rules={{
|
|
425
|
+
required: t("Validation:fieldRequired", {
|
|
426
|
+
attribute: t("capacity"),
|
|
427
|
+
}) as string,
|
|
401
428
|
min: {
|
|
402
429
|
value: 1,
|
|
403
430
|
message: t("Validation:fieldRequired", {
|
|
404
|
-
attribute: t("
|
|
431
|
+
attribute: t("capacity"),
|
|
405
432
|
}) as string,
|
|
406
433
|
},
|
|
407
434
|
}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MAX_PRODUCT_DESCRIPTION_CHARACTERS_LENGTH = 1000;
|
|
1
|
+
export const MAX_PRODUCT_DESCRIPTION_CHARACTERS_LENGTH = 1000;
|
|
@@ -40,7 +40,6 @@ export function ProductQuantityRechargingControl<T extends FormValues>(
|
|
|
40
40
|
formState: { errors },
|
|
41
41
|
} = useFormContext<T>();
|
|
42
42
|
const { t } = useTranslation("Design");
|
|
43
|
-
|
|
44
43
|
const totalQuantityId = useId();
|
|
45
44
|
|
|
46
45
|
const maxQuantityValue = watch(`${fieldNamePrefix}.maxQuantity` as Path<T>);
|
|
@@ -109,18 +108,7 @@ export function ProductQuantityRechargingControl<T extends FormValues>(
|
|
|
109
108
|
required: false,
|
|
110
109
|
min: 0,
|
|
111
110
|
}
|
|
112
|
-
: {
|
|
113
|
-
required: t("Validation:fieldRequired", {
|
|
114
|
-
attribute: t("totalQuantity"),
|
|
115
|
-
}) as string,
|
|
116
|
-
min: {
|
|
117
|
-
value: 1,
|
|
118
|
-
message: t("Validation:fieldMinNumber", {
|
|
119
|
-
attribute: t("totalQuantity"),
|
|
120
|
-
min: 1,
|
|
121
|
-
}) as string,
|
|
122
|
-
},
|
|
123
|
-
}
|
|
111
|
+
: {}
|
|
124
112
|
}
|
|
125
113
|
/>
|
|
126
114
|
|
|
@@ -105,7 +105,7 @@ export function ProductCategoryControl({
|
|
|
105
105
|
|
|
106
106
|
const allowDepositsId = useId();
|
|
107
107
|
const remainderExpireAfterId = useId();
|
|
108
|
-
const { providerHasBookingManagement, zones } = useContext(
|
|
108
|
+
const { providerHasBookingManagement, zones = [] } = useContext(
|
|
109
109
|
ProductSetLoadingContext
|
|
110
110
|
);
|
|
111
111
|
|
|
@@ -332,7 +332,7 @@ export function ProductCategoryControl({
|
|
|
332
332
|
<Row>
|
|
333
333
|
<Col>
|
|
334
334
|
<Form.Group controlId={zoneId}>
|
|
335
|
-
<Form.Label>
|
|
335
|
+
<Form.Label>{t("Design:zone")}</Form.Label>
|
|
336
336
|
<Controller
|
|
337
337
|
control={control}
|
|
338
338
|
name={`${fieldNamePrefix}.zoneId`}
|
|
@@ -360,12 +360,6 @@ export function ProductCategoryControl({
|
|
|
360
360
|
attribute: t("zone"),
|
|
361
361
|
}),
|
|
362
362
|
},
|
|
363
|
-
validate: (value) => {
|
|
364
|
-
if (value) return true;
|
|
365
|
-
return t("Validation:fieldRequired", {
|
|
366
|
-
attribute: t("zone"),
|
|
367
|
-
}) as string;
|
|
368
|
-
},
|
|
369
363
|
}}
|
|
370
364
|
/>
|
|
371
365
|
<Form.Control.Feedback type="invalid">
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from "react";
|
|
1
|
+
import React, { ReactElement } from "react";
|
|
2
2
|
import { useFormContext } from "react-hook-form";
|
|
3
3
|
import en from "react-phone-number-input/locale/en.json";
|
|
4
4
|
import { LocationInputValues } from ".";
|
|
@@ -13,7 +13,7 @@ export function LocationInputDescription() {
|
|
|
13
13
|
"postcode",
|
|
14
14
|
"country",
|
|
15
15
|
] as const;
|
|
16
|
-
const fields = fieldNames.reduce<
|
|
16
|
+
const fields = fieldNames.reduce<ReactElement[]>((acc, field) => {
|
|
17
17
|
const value = values?.[field];
|
|
18
18
|
if (!value) return acc;
|
|
19
19
|
|
|
@@ -28,14 +28,17 @@ export function WorkingHoursInputDescription() {
|
|
|
28
28
|
{weekday?.end
|
|
29
29
|
? weekday.start
|
|
30
30
|
? t("timeInterval", {
|
|
31
|
-
start:
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
DateTime.fromISO(weekday.start).toFormat(
|
|
31
|
+
start: DateTime.fromISO(weekday.start).toFormat(
|
|
32
|
+
TIME_FORMAT
|
|
33
|
+
),
|
|
34
|
+
end: DateTime.fromISO(weekday.start).toFormat(
|
|
35
|
+
TIME_FORMAT
|
|
36
|
+
),
|
|
35
37
|
})
|
|
36
38
|
: t("timeFrom", {
|
|
37
|
-
start:
|
|
38
|
-
|
|
39
|
+
start: DateTime.fromISO(weekday.start).toFormat(
|
|
40
|
+
TIME_FORMAT
|
|
41
|
+
),
|
|
39
42
|
})
|
|
40
43
|
: null}
|
|
41
44
|
</Col>
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import React, { useEffect } from "react";
|
|
2
|
+
import { Meta, Story } from "@storybook/react";
|
|
3
|
+
import { FormProvider, useForm } from "react-hook-form";
|
|
4
|
+
import { RadioCard, RadioCardProps } from "./RadioCard";
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
title: "Widgets / Widget Type Radio Card",
|
|
8
|
+
component: RadioCard,
|
|
9
|
+
} as Meta;
|
|
10
|
+
|
|
11
|
+
type FormModel = {
|
|
12
|
+
name: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export const Default: Story<RadioCardProps<FormModel>> = (args) => {
|
|
16
|
+
const form = useForm<FormModel>();
|
|
17
|
+
|
|
18
|
+
return (
|
|
19
|
+
<FormProvider {...form}>
|
|
20
|
+
<RadioCard {...args} />
|
|
21
|
+
</FormProvider>
|
|
22
|
+
);
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
Default.args = {
|
|
26
|
+
label: "Venue Map",
|
|
27
|
+
description: "Date > Floor",
|
|
28
|
+
name: "name",
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
export const Invalid: Story<RadioCardProps<FormModel>> = (args) => {
|
|
32
|
+
const form = useForm<FormModel>();
|
|
33
|
+
|
|
34
|
+
return (
|
|
35
|
+
<FormProvider {...form}>
|
|
36
|
+
<RadioCard {...args} />
|
|
37
|
+
</FormProvider>
|
|
38
|
+
);
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
Invalid.args = {
|
|
42
|
+
label: "Venue Map",
|
|
43
|
+
description: "Date > Floor",
|
|
44
|
+
name: "name",
|
|
45
|
+
inputProps: {
|
|
46
|
+
isInvalid: true,
|
|
47
|
+
},
|
|
48
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import clsx from "clsx";
|
|
2
|
+
import React, { ReactNode } from "react";
|
|
3
|
+
import { Form } from "react-bootstrap";
|
|
4
|
+
import { FormCheckInputProps } from "react-bootstrap/esm/FormCheckInput";
|
|
5
|
+
import { Path, RegisterOptions, useFormContext } from "react-hook-form";
|
|
6
|
+
|
|
7
|
+
export type RadioCardProps<FormModel> = {
|
|
8
|
+
label: string;
|
|
9
|
+
description: ReactNode;
|
|
10
|
+
name: Path<FormModel>;
|
|
11
|
+
value: string;
|
|
12
|
+
rules: RegisterOptions<FormModel>;
|
|
13
|
+
inputProps?: FormCheckInputProps;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export const RadioCard = <FormModel,>({
|
|
17
|
+
label,
|
|
18
|
+
description,
|
|
19
|
+
name,
|
|
20
|
+
value,
|
|
21
|
+
rules,
|
|
22
|
+
inputProps,
|
|
23
|
+
}: RadioCardProps<FormModel>) => {
|
|
24
|
+
const {
|
|
25
|
+
register,
|
|
26
|
+
formState: { errors },
|
|
27
|
+
} = useFormContext<FormModel>();
|
|
28
|
+
|
|
29
|
+
const isInvalid = !!errors[name as string] || inputProps?.isInvalid;
|
|
30
|
+
|
|
31
|
+
return (
|
|
32
|
+
<Form.Check className={clsx("radio-card", isInvalid && "invalid")}>
|
|
33
|
+
<Form.Check.Label>
|
|
34
|
+
<div className="radio-card-controls">
|
|
35
|
+
<Form.Check.Input
|
|
36
|
+
type="radio"
|
|
37
|
+
isInvalid={isInvalid}
|
|
38
|
+
value={value}
|
|
39
|
+
{...register(name, rules)}
|
|
40
|
+
{...inputProps}
|
|
41
|
+
/>
|
|
42
|
+
<span>{label}</span>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
<p className="radio-card-description">{description}</p>
|
|
46
|
+
</Form.Check.Label>
|
|
47
|
+
</Form.Check>
|
|
48
|
+
);
|
|
49
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RadioCard } from "./RadioCard";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { DateTime } from "luxon";
|
|
4
4
|
import React, { useEffect, useReducer } from "react";
|
|
5
5
|
import RRule, { Frequency, Weekday } from "rrule";
|
|
6
|
-
import RecurrenceEndInput from "./RecurrenceEndInput";
|
|
6
|
+
import RecurrenceEndInput, { defaultOccurrences } from "./RecurrenceEndInput";
|
|
7
7
|
import RecurrenceIntervalAndFrequencyInput from "./RecurrenceIntervalAndFrequencyInput";
|
|
8
8
|
import RecurrenceMonthlyRepeatByInput from "./RecurrenceMonthlyRepeatByInput";
|
|
9
9
|
import RecurrenceWeekdaysInput from "./RecurrenceWeekdaysInput";
|
|
@@ -133,5 +133,12 @@ const getInitialState = ({
|
|
|
133
133
|
byweekday = options.byweekday[0];
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
return {
|
|
136
|
+
return {
|
|
137
|
+
...options,
|
|
138
|
+
count:
|
|
139
|
+
options?.count || options.until
|
|
140
|
+
? options.count
|
|
141
|
+
: defaultOccurrences[options.freq],
|
|
142
|
+
byweekday,
|
|
143
|
+
};
|
|
137
144
|
};
|