@licklist/design 0.44.485 → 0.44.486-dev.10
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/backButton.svg +4 -0
- package/dist/assets/iframe/dateInfo/available.svg +5 -0
- package/dist/assets/iframe/dateInfo/limited.svg +5 -0
- package/dist/assets/iframe/dateInfo/soldOut.svg +6 -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/customers/components/filter/CustomerFilter.d.ts +13 -0
- package/dist/customers/components/filter/CustomerFilter.d.ts.map +1 -0
- package/dist/customers/components/filter/CustomerFilter.js +1 -0
- package/dist/customers/components/filter/index.d.ts +3 -0
- package/dist/customers/components/filter/index.d.ts.map +1 -0
- package/dist/customers/components/index.d.ts +2 -0
- package/dist/customers/components/index.d.ts.map +1 -0
- package/dist/customers/index.d.ts +2 -0
- package/dist/customers/index.d.ts.map +1 -0
- 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 +12 -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-event-modal/IntervalInput.d.ts +4 -1
- 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-statistic-modal/EventStatisticModal.d.ts +2 -3
- 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 -1
- 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 +5 -2
- 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 +3 -2
- 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/MapPoint/components/ProductTooltip/ProductTooltip.d.ts +9 -0
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.d.ts.map +1 -0
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.js +1 -0
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.d.ts +2 -0
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.d.ts.map +1 -0
- package/dist/events/event-venue-map/components/VenueMap/VenueMap.d.ts +4 -2
- 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/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-cards/activity-card/ActivityCard.d.ts +12 -0
- package/dist/iframe/activity-cards/activity-card/ActivityCard.d.ts.map +1 -0
- package/dist/iframe/activity-cards/activity-card/ActivityCard.js +1 -0
- package/dist/iframe/activity-cards/index.d.ts +3 -0
- package/dist/iframe/activity-cards/index.d.ts.map +1 -0
- package/dist/iframe/activity-cards/list-activity-card/ListActivityCard.d.ts +12 -0
- package/dist/iframe/activity-cards/list-activity-card/ListActivityCard.d.ts.map +1 -0
- package/dist/iframe/activity-cards/list-activity-card/ListActivityCard.js +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-calendar/EventCalendar.d.ts +5 -3
- package/dist/iframe/event/event-calendar/EventCalendar.d.ts.map +1 -1
- package/dist/iframe/event/event-calendar/EventCalendar.js +1 -1
- package/dist/iframe/event/event-calendar/components/CalendarButtons/CalendarButtons.d.ts +1 -1
- package/dist/iframe/event/event-calendar/components/CalendarButtons/CalendarButtons.d.ts.map +1 -1
- package/dist/iframe/event/event-calendar/components/CalendarDate/CalendarDate.d.ts +4 -3
- package/dist/iframe/event/event-calendar/components/CalendarDate/CalendarDate.d.ts.map +1 -1
- package/dist/iframe/event/event-calendar/components/CalendarDate/CalendarDate.js +1 -1
- package/dist/iframe/event/event-calendar/components/CalendarDates/CalendarDates.d.ts +5 -3
- package/dist/iframe/event/event-calendar/components/CalendarDates/CalendarDates.d.ts.map +1 -1
- package/dist/iframe/event/event-calendar/components/CalendarDates/CalendarDates.js +1 -1
- package/dist/iframe/event/event-calendar/components/CalendarSelect/CalendarSelect.d.ts +2 -2
- package/dist/iframe/event/event-calendar/components/CalendarSelect/CalendarSelect.d.ts.map +1 -1
- package/dist/iframe/event/event-calendar/types/index.d.ts +1 -1
- package/dist/iframe/event/event-calendar/types/index.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 +5 -6
- 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 +2 -1
- package/dist/iframe/event/event-venue-map/IframeEventVenueMap.d.ts.map +1 -1
- package/dist/iframe/index.d.ts +3 -1
- 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/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 -6
- 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 +4 -2
- 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 +4 -2
- 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 +4 -2
- 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/CategoryProduct/CategoryProduct.d.ts +4 -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/NumberInput/NumberInput.d.ts +1 -0
- 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 -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.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/OrderItemsTable.js +1 -1
- package/dist/iframe/payment/order-items-table/hooks/useTableData.d.ts +5 -0
- 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/index.d.ts +6 -1
- 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/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-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 +1 -0
- 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 +5 -3
- 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/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/email-template/card/EmailTemplateCard.d.ts +4 -1
- 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 +3 -0
- 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 +7 -1
- 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/hooks/useTranslatedParameters.d.ts +7 -0
- package/dist/notification/hooks/useTranslatedParameters.d.ts.map +1 -0
- package/dist/notification/hooks/useTranslatedParameters.js +1 -0
- package/dist/notification/sms-template/card/SmsTemplateCard.d.ts +4 -1
- 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 +6 -1
- 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 +5 -1
- 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 +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 +16 -4
- package/dist/product-set/control/ProductSetControl.d.ts.map +1 -1
- package/dist/product-set/control/ProductSetControl.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.map +1 -1
- package/dist/product-set/form/ProductSetForm.js +1 -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/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/hooks/useSortableTreeFunctions.d.ts +11 -0
- package/dist/product-set/hooks/useSortableTreeFunctions.d.ts.map +1 -0
- package/dist/product-set/hooks/useSortableTreeFunctions.js +1 -0
- 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 -0
- 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/constants.d.ts +2 -0
- package/dist/product-set/product/constants.d.ts.map +1 -0
- package/dist/product-set/product/constants.js +1 -0
- 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 +7 -3
- 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.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 +4 -0
- 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/constants.d.ts +2 -0
- package/dist/provider/constants.d.ts.map +1 -0
- package/dist/provider/constants.js +1 -0
- 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-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-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/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/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/utils.d.ts +2 -2
- package/dist/recurrence-input/utils.d.ts.map +1 -1
- package/dist/recurring-date-picker-input/RecurrenceIntervalAndFrequencyInput.d.ts +5 -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.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/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/coupon/control/CouponFormControl.d.ts.map +1 -1
- package/dist/sales/coupon/control/CouponFormControl.js +1 -1
- package/dist/sales/filters/SaleFilters.d.ts +2 -3
- package/dist/sales/filters/SaleFilters.d.ts.map +1 -1
- package/dist/sales/guest-profile/previous-bookings/PreviousBookings.d.ts +4 -3
- 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/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/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/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/dashboard/snippets/card/SnippetCard.js +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/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-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 +5 -2
- 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/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/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/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 +7 -0
- package/dist/striped-static-table/StripedStaticTable.d.ts.map +1 -0
- package/dist/striped-static-table/StripedStaticTable.js +1 -0
- package/dist/striped-static-table/index.d.ts +2 -0
- package/dist/striped-static-table/index.d.ts.map +1 -0
- package/dist/styles/back-button/BackButton.scss +33 -0
- package/dist/styles/back-button/_index.scss +1 -0
- package/dist/styles/customers/Filter.scss +53 -0
- package/dist/styles/customers/_index.scss +1 -0
- package/dist/styles/events/EventStatisticModal.scss +0 -37
- package/dist/styles/events/EventVenueMap.scss +1 -1
- package/dist/styles/iframe-customers-journey/ActivitiesCard.scss +37 -0
- package/dist/styles/iframe-customers-journey/ActivitiesSelectedCard.scss +57 -0
- package/dist/styles/iframe-customers-journey/DateTimeButton.scss +113 -0
- package/dist/styles/iframe-customers-journey/_index.scss +3 -0
- package/dist/styles/iframe-events/Calendar.scss +14 -14
- package/dist/styles/iframe-order-process/IframeOrderProcess.scss +12 -4
- 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 +38 -1
- package/dist/styles/sales/BookingFilter.scss +45 -11
- package/dist/styles/sales/ManualBooking.scss +7 -1
- package/dist/styles/sales/RandomColors.scss +7 -4
- package/dist/styles/snippet-templates/SnippetTemplateCard.scss +16 -0
- 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/striped-static-table/_index.scss +33 -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 +12 -0
- package/dist/table/ReactTableHelperComponent.d.ts.map +1 -0
- package/dist/table/ReactTableHelperComponent.js +1 -0
- package/dist/table/StaticTable.d.ts +6 -4
- package/dist/table/StaticTable.d.ts.map +1 -1
- package/dist/table/StaticTable.js +1 -1
- package/dist/table/TableHelperComponent.d.ts +2 -3
- package/dist/table/TableHelperComponent.d.ts.map +1 -1
- package/dist/table/hooks/useTableQueryOptions.d.ts +20 -0
- package/dist/table/hooks/useTableQueryOptions.d.ts.map +1 -0
- package/dist/table/hooks/useTableQueryOptions.js +1 -0
- package/dist/table/index.d.ts +1 -0
- package/dist/table/index.d.ts.map +1 -1
- package/dist/table/types.d.ts +41 -0
- package/dist/table/types.d.ts.map +1 -0
- package/dist/table/utils/index.d.ts +1 -0
- 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 +6 -12
- 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 +7 -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/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/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/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 +6 -4
- package/src/assets/iframe/backButton.svg +4 -0
- package/src/assets/iframe/dateInfo/available.svg +5 -0
- package/src/assets/iframe/dateInfo/limited.svg +5 -0
- package/src/assets/iframe/dateInfo/soldOut.svg +6 -0
- package/src/collapsible-input-group/CollapsibleInputGroup.tsx +1 -1
- package/src/customers/components/filter/CustomerFilter.stories.tsx +18 -0
- package/src/customers/components/filter/CustomerFilter.tsx +48 -0
- package/src/customers/components/filter/index.ts +2 -0
- package/src/customers/components/index.ts +1 -0
- package/src/customers/index.ts +1 -0
- package/src/date-time-button/DateContent.tsx +46 -0
- package/src/date-time-button/DateTimeButton.stories.tsx +80 -0
- package/src/date-time-button/DateTimeButton.tsx +73 -0
- package/src/date-time-button/index.ts +1 -0
- package/src/events/edit-event-modal/IntervalInput.tsx +28 -2
- package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx +3 -0
- package/src/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.tsx +11 -2
- package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +6 -4
- package/src/events/event-statistic-modal/EventStatisticModal.tsx +2 -5
- package/src/events/event-statistic-modal/hooks/useTableData.tsx +4 -10
- package/src/events/event-statistic-modal/utils/index.ts +35 -38
- package/src/events/event-venue-map/EventVenueMap.tsx +4 -0
- package/src/events/event-venue-map/components/MapPoint/MapPoint.tsx +5 -3
- package/src/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.tsx +21 -2
- package/src/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.tsx +68 -0
- package/src/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.ts +1 -0
- package/src/events/event-venue-map/components/VenueMap/VenueMap.tsx +12 -4
- package/src/help/popover/HelpPopover.tsx +13 -5
- package/src/iframe/activity-cards/activity-card/ActivityCard.stories.tsx +52 -0
- package/src/iframe/activity-cards/activity-card/ActivityCard.tsx +38 -0
- package/src/iframe/activity-cards/index.ts +2 -0
- package/src/iframe/activity-cards/list-activity-card/ListActivityCard.stories.tsx +52 -0
- package/src/iframe/activity-cards/list-activity-card/ListActivityCard.tsx +49 -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-calendar/EventCalendar.stories.tsx +20 -21
- package/src/iframe/event/event-calendar/EventCalendar.tsx +10 -3
- package/src/iframe/event/event-calendar/components/CalendarDate/CalendarDate.tsx +11 -3
- package/src/iframe/event/event-calendar/components/CalendarDates/CalendarDates.tsx +6 -2
- 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-order-short-summary/components/Summary/Summary.tsx +20 -20
- package/src/iframe/event/event-venue-map/IframeEventVenueMap.stories.tsx +5 -0
- package/src/iframe/index.ts +5 -1
- package/src/iframe/order-process/components/BookingSummary/BookingSummary.tsx +6 -1
- package/src/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.tsx +2 -2
- package/src/iframe/order-process/components/BookingSummary/types/index.ts +6 -5
- package/src/iframe/order-process/components/BookingSummary/utils/index.ts +6 -2
- package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.stories.tsx +1 -0
- package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.tsx +11 -5
- package/src/iframe/order-process/components/CalendarStepsForm/components/Category.tsx +4 -0
- package/src/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.tsx +4 -0
- package/src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx +45 -11
- package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +3 -0
- package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +7 -6
- package/src/iframe/order-process/components/{CalendarStepsForm/components → ErrorModal}/ErrorModal.tsx +1 -1
- 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/Timer.stories.tsx +1 -1
- package/src/iframe/order-process/components/Timer/utils/index.ts +4 -4
- package/src/iframe/order-process/components/utils/useCategoryVerification.ts +52 -0
- package/src/iframe/order-process/index.ts +3 -2
- package/src/iframe/page/components/PageBody/PageBody.tsx +1 -1
- package/src/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.tsx +4 -4
- package/src/iframe/page/components/PageHeader/PageHeader.tsx +2 -13
- package/src/iframe/payment/order-items-table/OrderItemsTable.stories.tsx +2 -0
- package/src/iframe/payment/order-items-table/hooks/useTableData.tsx +12 -93
- package/src/iframe/payment/order-items-table/types/index.ts +18 -1
- package/src/iframe/payment/order-items-table/utils/index.ts +55 -15
- package/src/iframe/payment/order-items-table/utils/paymentSummary.tsx +118 -0
- package/src/iframe/payment/payment-page/PaymentPage.tsx +46 -7
- package/src/iframe/payment/payment-page/PaymentTimer.tsx +31 -6
- package/src/iframe/payment/payment-status-page/PaymentStatusPage.tsx +66 -12
- package/src/iframe/ryft/RyftPaymentForm.tsx +1 -1
- 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/notification/email-template/card/EmailTemplateCard.stories.tsx +4 -2
- package/src/notification/email-template/card/EmailTemplateCard.tsx +15 -3
- package/src/notification/email-template/control/EmailTemplateControl.tsx +90 -6
- package/src/notification/email-template/form/EmailTemplateForm.stories.tsx +34 -0
- package/src/notification/email-template/form/EmailTemplateForm.tsx +23 -5
- package/src/notification/hooks/useTranslatedParameters.ts +27 -0
- package/src/notification/sms-template/card/SmsTemplateCard.stories.tsx +3 -1
- package/src/notification/sms-template/card/SmsTemplateCard.tsx +13 -3
- package/src/notification/sms-template/control/SmsTemplateControl.tsx +40 -2
- package/src/notification/sms-template/form/SmsTemplateForm.stories.tsx +28 -0
- package/src/notification/sms-template/form/SmsTemplateForm.tsx +6 -1
- package/src/product-set/control/DateAndRecurrenceInput.tsx +2 -2
- package/src/product-set/control/ProductSetControl.tsx +69 -45
- package/src/product-set/form/ProductCategoriesControl.tsx +17 -4
- package/src/product-set/form/ProductSetForm.stories.tsx +41 -2
- package/src/product-set/form/ProductSetForm.tsx +11 -0
- package/src/product-set/form/ProductsControl.tsx +30 -1
- package/src/product-set/form/StepsControl.tsx +31 -3
- package/src/product-set/hooks/useSortableTreeFunctions.ts +37 -0
- package/src/product-set/product/ProductControl.tsx +44 -23
- package/src/product-set/product/constants.ts +1 -0
- package/src/product-set/product/price/ProductPriceControl.tsx +43 -21
- package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +30 -16
- package/src/product-set/product-category/ProductCategoryControl.tsx +1 -1
- package/src/product-set/utils/index.ts +28 -0
- package/src/provider/constants.ts +1 -0
- package/src/provider/provider-details-input/ProviderDetailsInput.tsx +28 -4
- package/src/provider/working-hours-input/WorkingHoursInputDescription.tsx +10 -8
- 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/recurring-date-picker-input/RecurrenceIntervalAndFrequencyInput.tsx +81 -22
- package/src/recurring-date-picker-input/RecurringDatePickerInput.tsx +1 -0
- package/src/sales/booking/index.ts +0 -2
- package/src/sales/booking/results/components/ResultCard.tsx +2 -2
- package/src/sales/booking/results/constants.ts +1 -0
- package/src/sales/booking/results/index.ts +1 -0
- package/src/sales/coupon/control/CouponFormControl.tsx +2 -0
- package/src/sales/filters/SaleFilter.stories.tsx +1 -1
- package/src/sales/filters/SaleFilters.tsx +2 -2
- package/src/sales/guest-profile/previous-bookings/PreviousBookings.stories.tsx +35 -5
- package/src/sales/guest-profile/previous-bookings/PreviousBookings.tsx +11 -3
- 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 +6 -6
- package/src/sales/manual-booking/select-event/SelectEvent.tsx +3 -3
- package/src/sales/manual-booking/select-menu/SelectMenu.tsx +9 -5
- 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/SnippetTemplate.tsx +1 -1
- package/src/snippet/snippet-template/form/SnippetTemplateForm.tsx +10 -10
- package/src/snippet/snippet-template/preview/Preview.tsx +4 -9
- 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 +28 -6
- 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 -5
- package/src/static/date-range-input/DateRangeInput.tsx +6 -3
- package/src/striped-static-table/StripedStaticTable.stories.tsx +71 -0
- package/src/striped-static-table/StripedStaticTable.tsx +63 -0
- package/src/striped-static-table/index.ts +1 -0
- package/src/styles/back-button/BackButton.scss +33 -0
- package/src/styles/back-button/_index.scss +1 -0
- package/src/styles/customers/Filter.scss +53 -0
- package/src/styles/customers/_index.scss +1 -0
- package/src/styles/events/EventStatisticModal.scss +0 -37
- package/src/styles/events/EventVenueMap.scss +1 -1
- package/src/styles/iframe-customers-journey/ActivitiesCard.scss +37 -0
- package/src/styles/iframe-customers-journey/ActivitiesSelectedCard.scss +57 -0
- package/src/styles/iframe-customers-journey/DateTimeButton.scss +113 -0
- package/src/styles/iframe-customers-journey/_index.scss +3 -0
- package/src/styles/iframe-events/Calendar.scss +14 -14
- package/src/styles/iframe-order-process/IframeOrderProcess.scss +12 -4
- 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 +38 -1
- package/src/styles/sales/BookingFilter.scss +45 -11
- package/src/styles/sales/ManualBooking.scss +7 -1
- package/src/styles/sales/RandomColors.scss +7 -4
- package/src/styles/snippet-templates/SnippetTemplateCard.scss +16 -0
- 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/striped-static-table/_index.scss +33 -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/table/ReactTableHelperComponent.tsx +321 -0
- package/src/table/StaticTable.tsx +40 -14
- package/src/table/Table.stories.tsx +127 -1
- package/src/table/TableHelperComponent.tsx +3 -1
- package/src/table/hooks/useTableQueryOptions.ts +49 -0
- package/src/table/index.ts +1 -0
- package/src/table/types.ts +47 -0
- package/src/table/utils/index.ts +2 -0
- package/src/typeahead/Typeahead.stories.tsx +9 -6
- package/src/typeahead/Typeahead.tsx +21 -13
- package/src/types/iframe.ts +7 -1
- package/src/zone/form/components/AvailableTimesControl.tsx +6 -1
- 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/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 -12
- 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 -18
- 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/order-process/OrderProcess.stories.tsx +0 -362
- package/src/iframe/order-process/components/Category/Category.stories.tsx +0 -118
- package/src/iframe/order-process/components/Category/Category.tsx +0 -48
- package/src/iframe/order-process/components/Category/index.ts +0 -1
- package/src/iframe/order-process/components/StepsForm/StepsForm.tsx +0 -173
- 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/order-process/components/{CalendarStepsForm/components → ErrorModal}/ErrorModal.d.ts +0 -0
- /package/dist/{widgets/ImageRadioInput → image-radio-input}/index.d.ts +0 -0
- /package/src/{widgets/ImageRadioInput → image-radio-input}/index.ts +0 -0
|
@@ -11,18 +11,15 @@ export default {
|
|
|
11
11
|
|
|
12
12
|
export function Default() {
|
|
13
13
|
const showImage = boolean("showImage", true);
|
|
14
|
-
const displayCost = boolean("displayCost", false);
|
|
15
|
-
const displayType = boolean("displayType", true);
|
|
16
|
-
const displayDescription = boolean("displayDescription", false);
|
|
17
14
|
const isListView = boolean("isListView", false);
|
|
18
15
|
|
|
19
16
|
return (
|
|
20
17
|
<div>
|
|
21
18
|
<IframeEventCard
|
|
22
19
|
imageSrc={
|
|
23
|
-
// eslint-disable-next-line max-len
|
|
24
20
|
showImage
|
|
25
|
-
?
|
|
21
|
+
? // eslint-disable-next-line max-len
|
|
22
|
+
"https://images.unsplash.com/photo-1638988319382-90e61be77c59?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80"
|
|
26
23
|
: undefined
|
|
27
24
|
}
|
|
28
25
|
title="Glitterbomb Bucks / Baga Chipz"
|
|
@@ -43,9 +40,8 @@ export function Default() {
|
|
|
43
40
|
RuPaul's Drag Race UK to VINYL Cambridge! So get excited because
|
|
44
41
|
the...`}
|
|
45
42
|
snippetSetting={{
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
displayDescription,
|
|
43
|
+
includeAvailability: ["calendar", "product_sets", "time_slots"],
|
|
44
|
+
includeFromPrice: ["calendar", "product_sets", "time_slots"],
|
|
49
45
|
}}
|
|
50
46
|
goToDetails={() => null}
|
|
51
47
|
isListView={isListView}
|
|
@@ -59,9 +55,6 @@ export function Default() {
|
|
|
59
55
|
|
|
60
56
|
export function EventCardSkeleton() {
|
|
61
57
|
const showImage = boolean("showImage", true);
|
|
62
|
-
const displayCost = boolean("displayCost", false);
|
|
63
|
-
const displayType = boolean("displayType", true);
|
|
64
|
-
const displayDescription = boolean("displayDescription", false);
|
|
65
58
|
const isListView = boolean("isListView", false);
|
|
66
59
|
|
|
67
60
|
return (
|
|
@@ -69,9 +62,8 @@ export function EventCardSkeleton() {
|
|
|
69
62
|
<IframeEventCardSkeleton
|
|
70
63
|
showImage={showImage}
|
|
71
64
|
snippetSetting={{
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
displayDescription,
|
|
65
|
+
includeAvailability: ["calendar", "product_sets", "time_slots"],
|
|
66
|
+
includeFromPrice: ["calendar", "product_sets", "time_slots"],
|
|
75
67
|
}}
|
|
76
68
|
isListView={isListView}
|
|
77
69
|
/>
|
|
@@ -3,7 +3,7 @@ import { Card } from "react-bootstrap";
|
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
4
|
import { useIntl } from "react-intl";
|
|
5
5
|
import clsx from "clsx";
|
|
6
|
-
import {
|
|
6
|
+
import { Snippet } from "@licklist/core/dist/DataMapper/Provider/SnippetDataMapper";
|
|
7
7
|
import { TipTapEditor } from "../../../tiptap-editor/TipTapEditor";
|
|
8
8
|
import { formatContent } from "../../../events/event-card/utils";
|
|
9
9
|
import { ReactComponent as ClockSvg } from "../../../assets/iframe/clock.svg";
|
|
@@ -18,7 +18,8 @@ interface IframeEventCardProps {
|
|
|
18
18
|
cost?: number;
|
|
19
19
|
date: string;
|
|
20
20
|
imageSrc?: string;
|
|
21
|
-
|
|
21
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
22
|
+
snippetSetting?: Snippet["widgetSetting"];
|
|
22
23
|
colour?: string;
|
|
23
24
|
goToDetails?: () => void;
|
|
24
25
|
description?: string | null;
|
|
@@ -35,11 +36,6 @@ export function IframeEventCard({
|
|
|
35
36
|
cost,
|
|
36
37
|
date,
|
|
37
38
|
imageSrc,
|
|
38
|
-
snippetSetting = {
|
|
39
|
-
displayType: true,
|
|
40
|
-
displayCost: true,
|
|
41
|
-
displayDescription: true,
|
|
42
|
-
},
|
|
43
39
|
colour,
|
|
44
40
|
goToDetails,
|
|
45
41
|
description,
|
|
@@ -102,7 +98,7 @@ export function IframeEventCard({
|
|
|
102
98
|
</div>
|
|
103
99
|
</Card.Text>
|
|
104
100
|
|
|
105
|
-
{type &&
|
|
101
|
+
{type && (
|
|
106
102
|
<Card.Text as="div" className="list-view-hided">
|
|
107
103
|
<div className="d-flex align-items-center mb-3">
|
|
108
104
|
<div className="icon-wrapper">
|
|
@@ -113,7 +109,7 @@ export function IframeEventCard({
|
|
|
113
109
|
</Card.Text>
|
|
114
110
|
)}
|
|
115
111
|
|
|
116
|
-
{cost
|
|
112
|
+
{typeof cost === "number" && (
|
|
117
113
|
<Card.Text as="div">
|
|
118
114
|
<div className="d-flex align-items-center mb-3">
|
|
119
115
|
<div className="icon-wrapper">
|
|
@@ -127,7 +123,7 @@ export function IframeEventCard({
|
|
|
127
123
|
</Card.Text>
|
|
128
124
|
)}
|
|
129
125
|
|
|
130
|
-
{description &&
|
|
126
|
+
{description && (
|
|
131
127
|
<Card.Text as="div" className="list-view-hided">
|
|
132
128
|
<TipTapEditor
|
|
133
129
|
viewMode
|
|
@@ -2,11 +2,12 @@ import React, { memo } from "react";
|
|
|
2
2
|
import { Card } from "react-bootstrap";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import Skeleton from "react-loading-skeleton";
|
|
5
|
-
import {
|
|
5
|
+
import { Snippet } from "@licklist/core/dist/DataMapper/Provider/SnippetDataMapper";
|
|
6
6
|
|
|
7
7
|
interface IframeEventCardSkeletonProps {
|
|
8
8
|
showImage?: boolean;
|
|
9
|
-
|
|
9
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
10
|
+
snippetSetting?: Snippet["widgetSetting"];
|
|
10
11
|
colour?: string;
|
|
11
12
|
isListView?: boolean;
|
|
12
13
|
className?: string;
|
|
@@ -15,11 +16,6 @@ interface IframeEventCardSkeletonProps {
|
|
|
15
16
|
export const IframeEventCardSkeleton = memo(
|
|
16
17
|
({
|
|
17
18
|
showImage,
|
|
18
|
-
snippetSetting = {
|
|
19
|
-
displayType: true,
|
|
20
|
-
displayCost: true,
|
|
21
|
-
displayDescription: true,
|
|
22
|
-
},
|
|
23
19
|
colour,
|
|
24
20
|
isListView = false,
|
|
25
21
|
className,
|
|
@@ -61,31 +57,25 @@ export const IframeEventCardSkeleton = memo(
|
|
|
61
57
|
</div>
|
|
62
58
|
</Card.Text>
|
|
63
59
|
|
|
64
|
-
|
|
65
|
-
<
|
|
66
|
-
<
|
|
67
|
-
<
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
</Card.Text>
|
|
72
|
-
)}
|
|
60
|
+
<Card.Text as="div" className="list-view-hided">
|
|
61
|
+
<div className="d-flex align-items-center mb-3">
|
|
62
|
+
<p className="iframe-event-card__bold m-0">
|
|
63
|
+
<Skeleton className="skeleton-w6" />
|
|
64
|
+
</p>
|
|
65
|
+
</div>
|
|
66
|
+
</Card.Text>
|
|
73
67
|
|
|
74
|
-
|
|
75
|
-
<
|
|
76
|
-
<
|
|
77
|
-
<
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
</Card.Text>
|
|
82
|
-
)}
|
|
68
|
+
<Card.Text as="div">
|
|
69
|
+
<div className="d-flex align-items-center mb-3">
|
|
70
|
+
<p className="iframe-event-card__bold m-0">
|
|
71
|
+
<Skeleton className="skeleton-w6" />
|
|
72
|
+
</p>
|
|
73
|
+
</div>
|
|
74
|
+
</Card.Text>
|
|
83
75
|
|
|
84
|
-
|
|
85
|
-
<
|
|
86
|
-
|
|
87
|
-
</Card.Text>
|
|
88
|
-
)}
|
|
76
|
+
<Card.Text as="div" className="list-view-hided">
|
|
77
|
+
<Skeleton className="w-100 h-100" />
|
|
78
|
+
</Card.Text>
|
|
89
79
|
</div>
|
|
90
80
|
</Card.Body>
|
|
91
81
|
</Card>
|
|
@@ -581,9 +581,8 @@ export function Default() {
|
|
|
581
581
|
date={String(event.startAt)}
|
|
582
582
|
colour={event.colour}
|
|
583
583
|
snippetSetting={{
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
displayDescription,
|
|
584
|
+
includeAvailability: [],
|
|
585
|
+
includeFromPrice: [],
|
|
587
586
|
}}
|
|
588
587
|
imageSrc={event.imgSrc}
|
|
589
588
|
goToDetails={() => {}}
|
|
@@ -8,25 +8,25 @@ export type SummaryDataType = {
|
|
|
8
8
|
quantity?: number;
|
|
9
9
|
}[];
|
|
10
10
|
|
|
11
|
-
export
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
export const Summary = ({ data = [] }: { data: SummaryDataType }) => {
|
|
12
|
+
return (
|
|
13
|
+
<>
|
|
14
|
+
{data.map(({ name, image, quantity, title }) => {
|
|
15
|
+
const classNames = clsx("name", "mb-4", image && "align-items-center");
|
|
14
16
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
);
|
|
31
|
-
});
|
|
17
|
+
return (
|
|
18
|
+
<div key={name} className="summary">
|
|
19
|
+
<p className="title mb-1">{title}</p>
|
|
20
|
+
<div className={classNames}>
|
|
21
|
+
{image && <img className="image mr-3" src={image} alt={name} />}
|
|
22
|
+
{quantity && quantity > 1 && (
|
|
23
|
+
<span className="quantity mr-3">{quantity}x</span>
|
|
24
|
+
)}
|
|
25
|
+
{name}
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
);
|
|
29
|
+
})}
|
|
30
|
+
</>
|
|
31
|
+
);
|
|
32
32
|
};
|
|
@@ -6,6 +6,7 @@ import { Page, PageBody, PageHeader } from "../../page";
|
|
|
6
6
|
import { BookingSummaryFooter } from "../../order-process/components/BookingSummaryFooter";
|
|
7
7
|
import { BookingSummary } from "../../order-process/components/BookingSummary";
|
|
8
8
|
import { CalendarSelect } from "../event-calendar/components/CalendarSelect";
|
|
9
|
+
import { Product } from "../../../types";
|
|
9
10
|
|
|
10
11
|
export default {
|
|
11
12
|
title: "Iframe/Event/IframeEventVenueMap",
|
|
@@ -268,6 +269,10 @@ export function Default() {
|
|
|
268
269
|
pointProducts={MENU_STEPS[0].pointProducts}
|
|
269
270
|
usedInIframe={usedInIframe}
|
|
270
271
|
onPointClick={(pointId) => console.log({ pointId })}
|
|
272
|
+
products={
|
|
273
|
+
MENU_STEPS[0].productCategories[0]
|
|
274
|
+
.products as Partial<Product>[]
|
|
275
|
+
}
|
|
271
276
|
choosedProductUuids={[
|
|
272
277
|
"beb6393c-2fdd-40f7-bb92-8800685b203f",
|
|
273
278
|
"beb6393c-2fdd-40f7-bb92-8800685b203a",
|
package/src/iframe/index.ts
CHANGED
|
@@ -29,7 +29,7 @@ export {
|
|
|
29
29
|
export {
|
|
30
30
|
BookingSummary,
|
|
31
31
|
NavigationSteps,
|
|
32
|
-
|
|
32
|
+
NavigationStep,
|
|
33
33
|
Timer,
|
|
34
34
|
NavigationFooter,
|
|
35
35
|
PaymentCard,
|
|
@@ -37,7 +37,11 @@ export {
|
|
|
37
37
|
BookingSummaryFooterProps,
|
|
38
38
|
CalendarStepsForm,
|
|
39
39
|
CalendarStepsFormProps,
|
|
40
|
+
ErrorModal,
|
|
41
|
+
useCategoryVerification,
|
|
40
42
|
} from "./order-process";
|
|
43
|
+
export { BackButton } from "./back-button";
|
|
41
44
|
export { PoweredBy } from "./powered-by";
|
|
42
45
|
export * from "./page";
|
|
46
|
+
export * from "./activity-cards";
|
|
43
47
|
export { CustomDateField, CustomDateFieldProps } from "./custom-fields";
|
|
@@ -11,6 +11,7 @@ import { BookingSummaryAccordion } from "./components/BookingSummaryAccordion";
|
|
|
11
11
|
|
|
12
12
|
export const BookingSummary = ({
|
|
13
13
|
date,
|
|
14
|
+
time,
|
|
14
15
|
menuSteps,
|
|
15
16
|
formValues,
|
|
16
17
|
isNotShownPeopleAmount,
|
|
@@ -25,6 +26,9 @@ export const BookingSummary = ({
|
|
|
25
26
|
const { formatNumber } = useIntl();
|
|
26
27
|
|
|
27
28
|
const orderProducts = useMemo(() => {
|
|
29
|
+
if (!formValues) {
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
28
32
|
const products = Object.values(formValues).filter(Boolean) as Order[];
|
|
29
33
|
|
|
30
34
|
return products?.filter((prod) => prod?.quantity !== 0);
|
|
@@ -44,10 +48,11 @@ export const BookingSummary = ({
|
|
|
44
48
|
<div className="event-info">
|
|
45
49
|
<p className="m-0 title event-name">{eventName}</p>
|
|
46
50
|
<p className="m-0">{date}</p>
|
|
51
|
+
{time && <p className="m-0">{time}</p>}
|
|
47
52
|
</div>
|
|
48
53
|
<hr />
|
|
49
54
|
|
|
50
|
-
{orderProducts
|
|
55
|
+
{orderProducts?.length > 0 ? (
|
|
51
56
|
<div>
|
|
52
57
|
<div className="cart-items">
|
|
53
58
|
{menuSteps.map((menuStep: MenuStep) => {
|
|
@@ -2,13 +2,13 @@ import React, { useMemo } from "react";
|
|
|
2
2
|
import { useTranslation } from "react-i18next";
|
|
3
3
|
import { useIntl } from "react-intl";
|
|
4
4
|
import * as Config from "@licklist/core/dist/Config";
|
|
5
|
-
import {
|
|
5
|
+
import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
|
|
6
6
|
import { Order, MenuStep } from "../../../../../../types";
|
|
7
7
|
|
|
8
8
|
export type ProductsByMenuStepsProps = {
|
|
9
9
|
orderProducts: Order[];
|
|
10
10
|
step: MenuStep;
|
|
11
|
-
productsWithErrors?:
|
|
11
|
+
productsWithErrors?: QuantityCheckProductInfo[];
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
const getIdFromEntity = (entities: { id: number }[]) =>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
|
|
2
2
|
import { MenuStep, Order } from "../../../../../types";
|
|
3
3
|
|
|
4
4
|
export const MOBILE_WIDTH = 576;
|
|
@@ -6,17 +6,18 @@ export const ACCORDION_KEY = "booking-summary";
|
|
|
6
6
|
|
|
7
7
|
export type BookingSummaryProps = {
|
|
8
8
|
date: string;
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
time?: string;
|
|
10
|
+
menuSteps?: MenuStep[];
|
|
11
|
+
formValues?: {
|
|
11
12
|
[key: string]: Order;
|
|
12
13
|
};
|
|
13
14
|
totalWithDiscount?: number;
|
|
14
15
|
isNotShownPeopleAmount?: boolean;
|
|
15
|
-
eventName
|
|
16
|
+
eventName?: string;
|
|
16
17
|
hasPeopleInput?: boolean;
|
|
17
18
|
transactionFee?: number;
|
|
18
19
|
isFreePayment?: boolean;
|
|
19
|
-
productsWithErrors?:
|
|
20
|
+
productsWithErrors?: QuantityCheckProductInfo[];
|
|
20
21
|
isLoading?: boolean;
|
|
21
22
|
peopleAmount: number;
|
|
22
23
|
};
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { Order } from "../../../../../types";
|
|
2
2
|
|
|
3
|
-
export const cartSumByOrderProducts = (orderProducts
|
|
4
|
-
orderProducts
|
|
3
|
+
export const cartSumByOrderProducts = (orderProducts?: Order[]) => {
|
|
4
|
+
if (!orderProducts || !orderProducts.length) {
|
|
5
|
+
return 0;
|
|
6
|
+
}
|
|
7
|
+
return orderProducts.reduce((prevSumValue: number, product) => {
|
|
5
8
|
return (
|
|
6
9
|
prevSumValue + (product?.deposit || product?.price) * product.quantity
|
|
7
10
|
);
|
|
8
11
|
}, 0);
|
|
12
|
+
};
|
|
@@ -19,10 +19,11 @@ import {
|
|
|
19
19
|
import { Step } from "@licklist/core/dist/DataMapper/Product/StepDataMapper";
|
|
20
20
|
import { useTranslation } from "react-i18next";
|
|
21
21
|
import { Product } from "@licklist/core/dist/DataMapper/Product/ProductDataMapper";
|
|
22
|
+
import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
|
|
23
|
+
import { MenuStep } from "@licklist/plugins/dist/types/context/sale/menuSteps";
|
|
22
24
|
import { Category } from "./components/Category";
|
|
23
|
-
import { MenuStep } from "../../../../types";
|
|
24
25
|
import { STEP_FORM_ID } from "../../constants";
|
|
25
|
-
import { ErrorModal } from "
|
|
26
|
+
import { ErrorModal } from "../ErrorModal/ErrorModal";
|
|
26
27
|
import { PageBody } from "../../../page/components/PageBody";
|
|
27
28
|
import {
|
|
28
29
|
CalendarSelect,
|
|
@@ -30,8 +31,9 @@ import {
|
|
|
30
31
|
} from "../../../event/event-calendar/components/CalendarSelect";
|
|
31
32
|
import { IframeEventVenueMap } from "../../../event/event-venue-map";
|
|
32
33
|
import { VenueMapRef } from "../../../../events/event-venue-map/components/VenueMap";
|
|
33
|
-
import {
|
|
34
|
+
import { useCategoryVerification } from "../utils/useCategoryVerification";
|
|
34
35
|
|
|
36
|
+
// TODO move this component into apps/iframe
|
|
35
37
|
export interface CalendarStepsFormProps {
|
|
36
38
|
step: MenuStep;
|
|
37
39
|
isLastMenuStep: boolean;
|
|
@@ -44,6 +46,7 @@ export interface CalendarStepsFormProps {
|
|
|
44
46
|
onActiveVenueMapChange?: (nextVenueMapId: string) => void;
|
|
45
47
|
title: string;
|
|
46
48
|
menuStepWithVenueMap: Step;
|
|
49
|
+
soldOutProducts?: QuantityCheckProductInfo[];
|
|
47
50
|
}
|
|
48
51
|
|
|
49
52
|
export type StepsFormRef = {
|
|
@@ -67,12 +70,13 @@ export const CalendarStepsForm = forwardRef<
|
|
|
67
70
|
title,
|
|
68
71
|
menuStepWithVenueMap,
|
|
69
72
|
onActiveVenueMapChange,
|
|
73
|
+
soldOutProducts,
|
|
70
74
|
},
|
|
71
75
|
ref
|
|
72
76
|
) => {
|
|
73
77
|
const form = useForm({ defaultValues });
|
|
74
78
|
const canvasRef = useRef<VenueMapRef>(null);
|
|
75
|
-
const
|
|
79
|
+
const verifyCategoryItems = useCategoryVerification();
|
|
76
80
|
const {
|
|
77
81
|
control,
|
|
78
82
|
formState: { errors },
|
|
@@ -113,7 +117,7 @@ export const CalendarStepsForm = forwardRef<
|
|
|
113
117
|
);
|
|
114
118
|
return;
|
|
115
119
|
}
|
|
116
|
-
const categoryError = verifyCategoryItems(values, step);
|
|
120
|
+
const categoryError = verifyCategoryItems(values, step.productCategories);
|
|
117
121
|
|
|
118
122
|
if (categoryError) {
|
|
119
123
|
setStepFormError(categoryError.message);
|
|
@@ -340,12 +344,14 @@ export const CalendarStepsForm = forwardRef<
|
|
|
340
344
|
ref={canvasRef}
|
|
341
345
|
choosedProductUuids={choosedProductUuids}
|
|
342
346
|
errorOnChoosedProductUuids={errorOnChoosedProductUuids}
|
|
347
|
+
soldOutProducts={soldOutProducts}
|
|
343
348
|
/>
|
|
344
349
|
<Category
|
|
345
350
|
productCategories={step?.productCategories}
|
|
346
351
|
activePointId={activePointId}
|
|
347
352
|
pointProducts={menuStepWithVenueMap.pointProducts}
|
|
348
353
|
onCloseModal={onCloseProductModal}
|
|
354
|
+
soldOutProducts={soldOutProducts}
|
|
349
355
|
/>
|
|
350
356
|
</>
|
|
351
357
|
)}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { PointProduct } from "@licklist/core/dist/DataMapper/Product/PointProductDataMapper";
|
|
3
|
+
import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
|
|
3
4
|
import { ProductCategory } from "../../../../../types";
|
|
4
5
|
import { CategoryProductModal } from "./CategoryProductModal";
|
|
5
6
|
|
|
@@ -8,6 +9,7 @@ export type CategoryProps = {
|
|
|
8
9
|
activePointId?: number;
|
|
9
10
|
pointProducts: PointProduct[];
|
|
10
11
|
onCloseModal: () => void;
|
|
12
|
+
soldOutProducts?: QuantityCheckProductInfo[];
|
|
11
13
|
};
|
|
12
14
|
|
|
13
15
|
export const Category = ({
|
|
@@ -15,6 +17,7 @@ export const Category = ({
|
|
|
15
17
|
activePointId,
|
|
16
18
|
pointProducts,
|
|
17
19
|
onCloseModal,
|
|
20
|
+
soldOutProducts,
|
|
18
21
|
}: CategoryProps) => {
|
|
19
22
|
return (
|
|
20
23
|
<>
|
|
@@ -31,6 +34,7 @@ export const Category = ({
|
|
|
31
34
|
activePointId={activePointId}
|
|
32
35
|
pointProducts={pointProducts}
|
|
33
36
|
onCloseModal={onCloseModal}
|
|
37
|
+
soldOutProducts={soldOutProducts}
|
|
34
38
|
/>
|
|
35
39
|
);
|
|
36
40
|
})}
|
package/src/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.tsx
CHANGED
|
@@ -2,6 +2,7 @@ import React, { useMemo } from "react";
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { Button } from "react-bootstrap";
|
|
4
4
|
import { PointProduct } from "@licklist/core/dist/DataMapper/Product/PointProductDataMapper";
|
|
5
|
+
import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
|
|
5
6
|
import { ProductCategory, Product } from "../../../../../types";
|
|
6
7
|
import { CategoryProduct } from "../../CategoryProduct";
|
|
7
8
|
import Icon from "../../../../../static/Icon";
|
|
@@ -12,6 +13,7 @@ export type CategoryProductModalProps = {
|
|
|
12
13
|
category: ProductCategory;
|
|
13
14
|
pointProducts: PointProduct[];
|
|
14
15
|
onCloseModal: () => void;
|
|
16
|
+
soldOutProducts?: QuantityCheckProductInfo[];
|
|
15
17
|
};
|
|
16
18
|
|
|
17
19
|
export const CategoryProductModal = ({
|
|
@@ -20,6 +22,7 @@ export const CategoryProductModal = ({
|
|
|
20
22
|
category,
|
|
21
23
|
pointProducts,
|
|
22
24
|
onCloseModal,
|
|
25
|
+
soldOutProducts,
|
|
23
26
|
}: CategoryProductModalProps) => {
|
|
24
27
|
const activePointProduct = useMemo(
|
|
25
28
|
() =>
|
|
@@ -42,6 +45,7 @@ export const CategoryProductModal = ({
|
|
|
42
45
|
product={product}
|
|
43
46
|
category={category}
|
|
44
47
|
canExpandDescription={false}
|
|
48
|
+
soldOutProducts={soldOutProducts}
|
|
45
49
|
/>
|
|
46
50
|
<div className="close-modal-button">
|
|
47
51
|
<Button
|
|
@@ -5,16 +5,17 @@ import { useTranslation } from "react-i18next";
|
|
|
5
5
|
import { useIntl } from "react-intl";
|
|
6
6
|
import * as Config from "@licklist/core/dist/Config";
|
|
7
7
|
import HookFormService from "@licklist/plugins/dist/services/Form/HookFormService";
|
|
8
|
+
import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
|
|
8
9
|
import { TicketDescription } from "../../../event/ticket-description";
|
|
9
10
|
import { ProductCategory, Product } from "../../../../types";
|
|
10
|
-
import { StepsFormProps } from "../StepsForm/StepsForm";
|
|
11
11
|
import { ProductQuantityInput } from "./components/ProductQuantityInput";
|
|
12
12
|
|
|
13
13
|
interface CategoryProductProps {
|
|
14
14
|
product: Product;
|
|
15
15
|
category: ProductCategory;
|
|
16
16
|
canExpandDescription?: boolean;
|
|
17
|
-
productsWithErrors?:
|
|
17
|
+
productsWithErrors?: QuantityCheckProductInfo[];
|
|
18
|
+
soldOutProducts?: QuantityCheckProductInfo[];
|
|
18
19
|
}
|
|
19
20
|
|
|
20
21
|
export const CategoryProduct = ({
|
|
@@ -22,6 +23,7 @@ export const CategoryProduct = ({
|
|
|
22
23
|
category,
|
|
23
24
|
canExpandDescription = true,
|
|
24
25
|
productsWithErrors,
|
|
26
|
+
soldOutProducts,
|
|
25
27
|
}: CategoryProductProps) => {
|
|
26
28
|
const { formatNumber } = useIntl();
|
|
27
29
|
const { t } = useTranslation(["Design", "Validation"]);
|
|
@@ -49,6 +51,16 @@ export const CategoryProduct = ({
|
|
|
49
51
|
return product.deposit;
|
|
50
52
|
}, [category, product]);
|
|
51
53
|
|
|
54
|
+
const checkIfSoldOutProduct = () => {
|
|
55
|
+
if (!soldOutProducts || product?.isSoldOut) {
|
|
56
|
+
return undefined;
|
|
57
|
+
}
|
|
58
|
+
const error = soldOutProducts.find(
|
|
59
|
+
(productWithError) => productWithError.product_id === product.id
|
|
60
|
+
);
|
|
61
|
+
return !!error?.message;
|
|
62
|
+
};
|
|
63
|
+
|
|
52
64
|
useEffect(() => {
|
|
53
65
|
if (!productQuantityError) {
|
|
54
66
|
return;
|
|
@@ -71,17 +83,32 @@ export const CategoryProduct = ({
|
|
|
71
83
|
// One case when no value is that we have product,
|
|
72
84
|
// but didn't click on number input.
|
|
73
85
|
// If it will be required then required check fired firstly.
|
|
74
|
-
if (!value) return true;
|
|
75
86
|
|
|
76
|
-
const {
|
|
87
|
+
const {
|
|
88
|
+
isRequired = false,
|
|
89
|
+
maxAmount = 0,
|
|
90
|
+
minAmount = 0,
|
|
91
|
+
minSpend,
|
|
92
|
+
price,
|
|
93
|
+
} = product;
|
|
77
94
|
|
|
78
|
-
const
|
|
95
|
+
const currentQuantity = value?.quantity ?? 0;
|
|
96
|
+
if (minSpend && currentQuantity * price < minSpend) {
|
|
97
|
+
return t("Design:minimumSpendSumValidation", {
|
|
98
|
+
minSpend: formatNumber(minSpend, {
|
|
99
|
+
style: "currency",
|
|
100
|
+
currency: Config.Currency.GBP,
|
|
101
|
+
}),
|
|
102
|
+
}) as string;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
if (!value) return true;
|
|
79
106
|
|
|
80
|
-
if (!
|
|
107
|
+
if (!currentQuantity && !isRequired) {
|
|
81
108
|
return true;
|
|
82
109
|
}
|
|
83
110
|
|
|
84
|
-
if (!
|
|
111
|
+
if (!currentQuantity && isRequired) {
|
|
85
112
|
return t("Design:pleaseSelectAtLeastFrom", {
|
|
86
113
|
min: 1,
|
|
87
114
|
type: "item",
|
|
@@ -89,14 +116,18 @@ export const CategoryProduct = ({
|
|
|
89
116
|
}) as string;
|
|
90
117
|
}
|
|
91
118
|
|
|
92
|
-
if (
|
|
119
|
+
if (currentQuantity < minAmount) {
|
|
93
120
|
return t("Validation:fieldMinNumber", {
|
|
94
121
|
min: product.minAmount,
|
|
95
122
|
attribute: product.name,
|
|
96
123
|
}) as string;
|
|
97
124
|
}
|
|
98
125
|
|
|
99
|
-
if (
|
|
126
|
+
if (
|
|
127
|
+
maxAmount &&
|
|
128
|
+
currentQuantity >= minAmount &&
|
|
129
|
+
maxAmount < currentQuantity
|
|
130
|
+
) {
|
|
100
131
|
return t("Validation:quantityMaxNumber", {
|
|
101
132
|
max: product.maxAmount,
|
|
102
133
|
}) as string;
|
|
@@ -134,9 +165,12 @@ export const CategoryProduct = ({
|
|
|
134
165
|
<ProductQuantityInput
|
|
135
166
|
onChange={onChange}
|
|
136
167
|
productInfo={productInfo}
|
|
137
|
-
|
|
168
|
+
refCallback={ref}
|
|
138
169
|
clearErrors={clearErrors}
|
|
139
|
-
product={
|
|
170
|
+
product={{
|
|
171
|
+
...product,
|
|
172
|
+
isSoldOut: product?.isSoldOut || checkIfSoldOutProduct(),
|
|
173
|
+
}}
|
|
140
174
|
category={category}
|
|
141
175
|
invalid={invalid}
|
|
142
176
|
deposit={deposit}
|