@licklist/design 0.44.485-dev.100 → 0.44.485-dev.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/affiliate/types/index.d.ts +1 -1
- package/dist/affiliate/types/index.d.ts.map +1 -1
- package/dist/assets/dashboard/blockingClock.png +0 -0
- package/dist/assets/dashboard/bookingCalendar.svg +67 -0
- package/dist/assets/dashboard/bookingCalendar.svg.js +1 -0
- package/dist/assets/dashboard/bookingList.svg +68 -0
- package/dist/assets/dashboard/bookingList.svg.js +1 -0
- package/dist/assets/dashboard/bookingListSmall.svg +6 -0
- package/dist/assets/dashboard/bookingListSmall.svg.js +1 -0
- package/dist/assets/dashboard/fullscreen.svg +3 -0
- package/dist/assets/dashboard/fullscreen.svg.js +1 -0
- package/dist/assets/dashboard/minimize.svg +3 -0
- package/dist/assets/dashboard/minimize.svg.js +1 -0
- package/dist/assets/dashboard/refresh.svg +4 -0
- package/dist/assets/dashboard/refresh.svg.js +1 -0
- package/dist/assets/widgets/circlePlus.svg +4 -0
- package/dist/assets/widgets/inPage.svg +10 -0
- package/dist/assets/widgets/overlay.svg +9 -0
- package/dist/assets/widgets/sidebar.svg +9 -0
- package/dist/auth/Login/LoginComponent.d.ts +1 -1
- package/dist/auth/Login/LoginComponent.d.ts.map +1 -1
- package/dist/auth/Login/LoginFormComponent.d.ts +1 -1
- package/dist/auth/Login/LoginFormComponent.d.ts.map +1 -1
- package/dist/auth/Register/RegisterComponent.d.ts +1 -1
- package/dist/auth/Register/RegisterComponent.d.ts.map +1 -1
- package/dist/auth/Register/RegisterFormComponent.d.ts +1 -1
- package/dist/auth/Register/RegisterFormComponent.d.ts.map +1 -1
- package/dist/auth/ResetPassword/ResetPasswordFormComponent.d.ts +1 -1
- package/dist/auth/ResetPassword/ResetPasswordFormComponent.d.ts.map +1 -1
- package/dist/collapsible-input-group/CollapsibleInputGroup.d.ts +1 -1
- package/dist/collapsible-input-group/CollapsibleInputGroup.d.ts.map +1 -1
- package/dist/custom-fields/field-set/CustomFieldSets.d.ts +3 -3
- package/dist/custom-fields/field-set/CustomFieldSets.d.ts.map +1 -1
- package/dist/custom-fields/field-set/components/CustomFieldSet/CustomFieldSet.d.ts +1 -1
- package/dist/custom-fields/field-set/components/CustomFieldSet/CustomFieldSet.d.ts.map +1 -1
- package/dist/custom-fields/field-set/contexts/useCustomFieldSets.d.ts +2 -2
- package/dist/custom-fields/field-set/contexts/useCustomFieldSets.d.ts.map +1 -1
- package/dist/customers/components/filter/CustomerFilter.d.ts +1 -1
- package/dist/customers/components/filter/CustomerFilter.d.ts.map +1 -1
- package/dist/events/edit-event-modal/IntervalInput.d.ts +1 -4
- package/dist/events/edit-event-modal/IntervalInput.d.ts.map +1 -1
- package/dist/events/edit-event-modal/IntervalInput.js +1 -1
- package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.d.ts.map +1 -1
- package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.js +1 -1
- package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.d.ts.map +1 -1
- package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.js +1 -1
- package/dist/events/edit-event-modal/utils/getDefaultProductSet.d.ts.map +1 -1
- package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +1 -1
- package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.d.ts +3 -3
- package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.d.ts.map +1 -1
- package/dist/events/event-statistic-modal/EventStatisticModal.d.ts +1 -1
- 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-venue-map/EventVenueMap.d.ts +2 -5
- package/dist/events/event-venue-map/EventVenueMap.d.ts.map +1 -1
- package/dist/events/event-venue-map/EventVenueMap.js +1 -1
- package/dist/events/event-venue-map/components/Dropdown/Dropdown.d.ts +1 -1
- package/dist/events/event-venue-map/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/ProductsControl/ProductsControl.d.ts +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/ProductsControl/ProductsControl.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/SelectControl/SelectControl.d.ts +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/SelectControl/SelectControl.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/MapPoint.d.ts +1 -1
- package/dist/events/event-venue-map/components/MapPoint/MapPoint.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/MapPoint.js +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/DeleteIcon/DeleteIcon.d.ts +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/DeleteIcon/DeleteIcon.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/EditIcon/EditIcon.d.ts +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/EditIcon/EditIcon.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/PointIcon/PointIcon.d.ts +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/PointIcon/PointIcon.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.d.ts +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.js +1 -1
- package/dist/events/event-venue-map/components/VenueMap/VenueMap.d.ts +2 -4
- package/dist/events/event-venue-map/components/VenueMap/VenueMap.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/VenueMap/VenueMap.js +1 -1
- package/dist/events/event-venue-map/hooks/useCanvasSize.d.ts +1 -1
- package/dist/events/event-venue-map/hooks/useCanvasSize.d.ts.map +1 -1
- package/dist/events/event-venue-map/hooks/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 +3 -5
- package/dist/help/popover/HelpPopover.d.ts.map +1 -1
- package/dist/help/popover/HelpPopover.js +1 -1
- package/dist/iframe/custom-fields/components/CustomDateField.d.ts +1 -1
- package/dist/iframe/custom-fields/components/CustomDateField.d.ts.map +1 -1
- package/dist/iframe/event/event-calendar/EventCalendar.d.ts +1 -1
- package/dist/iframe/event/event-calendar/EventCalendar.d.ts.map +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 +1 -1
- 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 +1 -1
- package/dist/iframe/event/event-calendar/components/CalendarDates/CalendarDates.d.ts.map +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 +6 -5
- package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.d.ts.map +1 -1
- package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.js +1 -1
- package/dist/iframe/event/event-product-sets/EventProductSets.d.ts +1 -1
- package/dist/iframe/event/event-product-sets/EventProductSets.d.ts.map +1 -1
- package/dist/iframe/event/event-product-sets/components/EventProductSet.d.ts +1 -1
- package/dist/iframe/event/event-product-sets/components/EventProductSet.d.ts.map +1 -1
- package/dist/iframe/event/event-step-venue-map-zones/EventStepVenueMapZones.d.ts +1 -1
- package/dist/iframe/event/event-step-venue-map-zones/EventStepVenueMapZones.d.ts.map +1 -1
- package/dist/iframe/event/event-step-venue-map-zones/components/EventStepVenueMapZone.d.ts +1 -1
- package/dist/iframe/event/event-step-venue-map-zones/components/EventStepVenueMapZone.d.ts.map +1 -1
- package/dist/iframe/event/event-venue-map/IframeEventVenueMap.d.ts +1 -2
- package/dist/iframe/event/event-venue-map/IframeEventVenueMap.d.ts.map +1 -1
- package/dist/iframe/index.d.ts +1 -3
- package/dist/iframe/index.d.ts.map +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 +3 -3
- package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/utils/index.d.ts +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 +3 -3
- package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.js +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.d.ts +3 -3
- package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts +3 -3
- package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/ErrorModal.d.ts.map +1 -0
- package/dist/iframe/order-process/components/CalendarStepsForm/components/ErrorModal.js +1 -0
- package/dist/iframe/order-process/components/Category/Category.d.ts +13 -0
- package/dist/iframe/order-process/components/Category/Category.d.ts.map +1 -0
- package/dist/iframe/order-process/components/Category/Category.js +1 -0
- package/dist/iframe/order-process/components/Category/index.d.ts +2 -0
- package/dist/iframe/order-process/components/Category/index.d.ts.map +1 -0
- package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts +3 -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 +0 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts +2 -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/NavigationSteps/NavigationSteps.d.ts +7 -8
- package/dist/iframe/order-process/components/NavigationSteps/NavigationSteps.d.ts.map +1 -1
- package/dist/iframe/order-process/components/NavigationSteps/index.d.ts +1 -1
- package/dist/iframe/order-process/components/NavigationSteps/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/PaymentCard/PaymentCard.d.ts +1 -1
- package/dist/iframe/order-process/components/PaymentCard/PaymentCard.d.ts.map +1 -1
- package/dist/iframe/order-process/components/StepsForm/StepsForm.d.ts +19 -0
- package/dist/iframe/order-process/components/StepsForm/StepsForm.d.ts.map +1 -0
- package/dist/iframe/order-process/components/StepsForm/StepsForm.js +1 -0
- package/dist/iframe/order-process/components/StepsForm/index.d.ts +2 -0
- package/dist/iframe/order-process/components/StepsForm/index.d.ts.map +1 -0
- package/dist/iframe/order-process/components/Timer/Timer.d.ts +1 -1
- package/dist/iframe/order-process/components/Timer/Timer.d.ts.map +1 -1
- package/dist/iframe/order-process/components/Timer/utils/index.d.ts +1 -1
- package/dist/iframe/order-process/components/Timer/utils/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/Timer/utils/index.js +1 -1
- package/dist/iframe/order-process/components/utils/category.d.ts +10 -0
- package/dist/iframe/order-process/components/utils/category.d.ts.map +1 -0
- package/dist/iframe/order-process/components/utils/category.js +1 -0
- package/dist/iframe/order-process/index.d.ts +2 -3
- package/dist/iframe/order-process/index.d.ts.map +1 -1
- package/dist/iframe/page/Page.d.ts +1 -1
- package/dist/iframe/page/Page.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/PageBody.d.ts +2 -2
- package/dist/iframe/page/components/PageBody/PageBody.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/PageBody.js +1 -1
- package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.d.ts +3 -3
- package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.js +1 -1
- package/dist/iframe/page/components/PageBody/components/RightBlock/RightBlock.d.ts +1 -1
- package/dist/iframe/page/components/PageBody/components/RightBlock/RightBlock.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/types.d.ts +1 -1
- package/dist/iframe/page/components/PageBody/types.d.ts.map +1 -1
- package/dist/iframe/page/components/PageHeader/PageHeader.d.ts +1 -1
- package/dist/iframe/page/components/PageHeader/PageHeader.d.ts.map +1 -1
- package/dist/iframe/page/components/PageHeader/PageHeader.js +1 -1
- package/dist/iframe/payment/order-items-table/types/index.d.ts +2 -2
- package/dist/iframe/payment/order-items-table/types/index.d.ts.map +1 -1
- package/dist/iframe/payment/order-items-table/utils/index.d.ts.map +1 -1
- package/dist/iframe/payment/order-items-table/utils/index.js +1 -1
- package/dist/iframe/payment/payment-page/PaymentPage.d.ts +1 -1
- package/dist/iframe/payment/payment-page/PaymentPage.d.ts.map +1 -1
- package/dist/iframe/payment/payment-page/PaymentPage.js +1 -1
- package/dist/iframe/payment/payment-page/PaymentTimer.d.ts +0 -1
- package/dist/iframe/payment/payment-page/PaymentTimer.d.ts.map +1 -1
- package/dist/iframe/payment/payment-page/PaymentTimer.js +1 -1
- package/dist/iframe/payment/payment-status-header/PaymentStatusHeader.d.ts +1 -1
- package/dist/iframe/payment/payment-status-header/PaymentStatusHeader.d.ts.map +1 -1
- package/dist/iframe/payment/payment-status-page/PaymentStatusPage.d.ts +1 -1
- package/dist/iframe/payment/payment-status-page/PaymentStatusPage.d.ts.map +1 -1
- package/dist/iframe/payment/payment-status-page/PaymentStatusPage.js +1 -1
- package/dist/iframe/powered-by/PoweredBy.d.ts +1 -1
- package/dist/iframe/powered-by/PoweredBy.d.ts.map +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.d.ts +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.d.ts.map +1 -1
- package/dist/index.d.ts +0 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/logo/Logo.d.ts +1 -1
- package/dist/logo/Logo.d.ts.map +1 -1
- package/dist/modals/confirmation/ConfirmModal.d.ts +2 -2
- package/dist/modals/confirmation/ConfirmModal.d.ts.map +1 -1
- package/dist/notification/email-template/card/EmailTemplateCard.d.ts +1 -4
- package/dist/notification/email-template/card/EmailTemplateCard.d.ts.map +1 -1
- package/dist/notification/email-template/card/EmailTemplateCard.js +1 -1
- package/dist/notification/email-template/control/EmailTemplateControl.d.ts +0 -3
- package/dist/notification/email-template/control/EmailTemplateControl.d.ts.map +1 -1
- package/dist/notification/email-template/control/EmailTemplateControl.js +1 -1
- package/dist/notification/email-template/form/EmailTemplateForm.d.ts +1 -7
- package/dist/notification/email-template/form/EmailTemplateForm.d.ts.map +1 -1
- package/dist/notification/email-template/form/EmailTemplateForm.js +1 -1
- package/dist/notification/sms-template/card/SmsTemplateCard.d.ts +1 -4
- package/dist/notification/sms-template/card/SmsTemplateCard.d.ts.map +1 -1
- package/dist/notification/sms-template/card/SmsTemplateCard.js +1 -1
- package/dist/notification/sms-template/control/SmsTemplateControl.d.ts +1 -6
- package/dist/notification/sms-template/control/SmsTemplateControl.d.ts.map +1 -1
- package/dist/notification/sms-template/control/SmsTemplateControl.js +1 -1
- package/dist/notification/sms-template/form/SmsTemplateForm.d.ts +1 -5
- package/dist/notification/sms-template/form/SmsTemplateForm.d.ts.map +1 -1
- package/dist/notification/sms-template/form/SmsTemplateForm.js +1 -1
- package/dist/product-set/control/DateAndRecurrenceInput.d.ts +0 -2
- 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 +4 -16
- 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/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 +0 -1
- package/dist/product-set/product/ProductControl.d.ts.map +1 -1
- package/dist/product-set/product/ProductControl.js +1 -1
- package/dist/product-set/product/fixed-duration-fields/FixedDurationOptions.d.ts +1 -1
- package/dist/product-set/product/fixed-duration-fields/FixedDurationOptions.d.ts.map +1 -1
- package/dist/product-set/product/price/ProductPriceControl.d.ts +3 -7
- package/dist/product-set/product/price/ProductPriceControl.d.ts.map +1 -1
- package/dist/product-set/product/price/ProductPriceControl.js +1 -1
- package/dist/product-set/product/quantity/ProductQuantityRechargingControl.d.ts.map +1 -1
- package/dist/product-set/product/quantity/ProductQuantityRechargingControl.js +1 -1
- package/dist/product-set/product-category/ProductCategoryControl.js +1 -1
- package/dist/product-set/tabs/ProductSetTab.d.ts +1 -1
- package/dist/product-set/tabs/ProductSetTab.d.ts.map +1 -1
- package/dist/product-set/tabs/ProductSetTabs.d.ts +1 -1
- package/dist/product-set/tabs/ProductSetTabs.d.ts.map +1 -1
- package/dist/product-set/types/index.d.ts +5 -5
- package/dist/product-set/types/index.d.ts.map +1 -1
- package/dist/product-set/utils/index.d.ts +0 -4
- package/dist/product-set/utils/index.d.ts.map +1 -1
- package/dist/product-set/utils/index.js +1 -1
- package/dist/provider/categories-input/CategoriesInput.d.ts +1 -1
- package/dist/provider/categories-input/CategoriesInput.d.ts.map +1 -1
- package/dist/provider/categories-input/CategoriesInputDescription.d.ts +1 -1
- package/dist/provider/categories-input/CategoriesInputDescription.d.ts.map +1 -1
- package/dist/provider/categories-input/index.d.ts +1 -1
- package/dist/provider/categories-input/index.d.ts.map +1 -1
- package/dist/provider/company/user-form/UserForm.d.ts +2 -2
- package/dist/provider/company/user-form/UserForm.d.ts.map +1 -1
- package/dist/provider/location-input/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/resources-blocking-modal/ResourcesBlockingModal.d.ts +12 -0
- package/dist/provider/resources-blocking-modal/ResourcesBlockingModal.d.ts.map +1 -0
- package/dist/provider/resources-blocking-modal/index.d.ts +2 -0
- package/dist/provider/resources-blocking-modal/index.d.ts.map +1 -0
- package/dist/provider/venue-form/VenueForm.d.ts +1 -1
- package/dist/provider/venue-form/VenueForm.d.ts.map +1 -1
- package/dist/provider/working-hours-input/index.d.ts +1 -1
- package/dist/provider/working-hours-input/index.d.ts.map +1 -1
- package/dist/recurrence-input/utils.d.ts +2 -2
- package/dist/recurrence-input/utils.d.ts.map +1 -1
- package/dist/recurring-date-picker-input/RecurrenceIntervalAndFrequencyInput.d.ts +1 -5
- 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/filter/BookingFilter.d.ts +12 -0
- package/dist/sales/booking/filter/BookingFilter.d.ts.map +1 -0
- package/dist/sales/booking/filter/BookingFilter.js +1 -0
- package/dist/sales/booking/filter/components/AdditionalFIlterSection.d.ts +10 -0
- package/dist/sales/booking/filter/components/AdditionalFIlterSection.d.ts.map +1 -0
- package/dist/sales/booking/filter/components/AdditionalFIlterSection.js +1 -0
- package/dist/sales/booking/filter/components/MainFilterSection.d.ts +5 -0
- package/dist/sales/booking/filter/components/MainFilterSection.d.ts.map +1 -0
- package/dist/sales/booking/filter/components/MainFilterSection.js +1 -0
- package/dist/sales/booking/filter/components/ResultTagButton.d.ts +8 -0
- package/dist/sales/booking/filter/components/ResultTagButton.d.ts.map +1 -0
- package/dist/sales/booking/filter/components/ResultTagButton.js +1 -0
- package/dist/sales/booking/filter/components/SearchingForSection.d.ts +3 -0
- package/dist/sales/booking/filter/components/SearchingForSection.d.ts.map +1 -0
- package/dist/sales/booking/filter/components/SearchingForSection.js +1 -0
- package/dist/sales/booking/filter/index.d.ts +3 -0
- package/dist/sales/booking/filter/index.d.ts.map +1 -0
- package/dist/sales/booking/index.d.ts +2 -0
- package/dist/sales/booking/index.d.ts.map +1 -1
- package/dist/sales/booking/results/BookingResults.d.ts +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 +0 -1
- package/dist/sales/booking/results/index.d.ts.map +1 -1
- package/dist/sales/booking/tabs/BookingTabs.d.ts +11 -0
- package/dist/sales/booking/tabs/BookingTabs.d.ts.map +1 -0
- package/dist/sales/booking/tabs/BookingTabs.js +1 -0
- package/dist/sales/booking/tabs/index.d.ts +3 -0
- package/dist/sales/booking/tabs/index.d.ts.map +1 -0
- package/dist/sales/coupon/control/CouponFormControl.d.ts.map +1 -1
- package/dist/sales/coupon/control/CouponFormControl.js +1 -1
- package/dist/sales/filters/SaleFilters.d.ts +3 -2
- package/dist/sales/filters/SaleFilters.d.ts.map +1 -1
- package/dist/sales/guest-profile/previous-bookings/PreviousBookings.d.ts +1 -1
- package/dist/sales/guest-profile/previous-bookings/PreviousBookings.d.ts.map +1 -1
- package/dist/sales/guest-profile/profile/Profile.d.ts +1 -1
- package/dist/sales/guest-profile/profile/Profile.d.ts.map +1 -1
- package/dist/sales/guest-profile/profile/components/ImageHolder/ImageHolder.d.ts +1 -1
- package/dist/sales/guest-profile/profile/components/ImageHolder/ImageHolder.d.ts.map +1 -1
- package/dist/sales/guest-profile/user-metrics/UserMetrics.d.ts +1 -1
- package/dist/sales/guest-profile/user-metrics/UserMetrics.d.ts.map +1 -1
- package/dist/sales/guest-profile/visited-providers/VisitedProviders.d.ts +1 -1
- package/dist/sales/guest-profile/visited-providers/VisitedProviders.d.ts.map +1 -1
- package/dist/sales/life-time-sales/LifeTimeSalesChart.d.ts +1 -1
- package/dist/sales/life-time-sales/LifeTimeSalesChart.d.ts.map +1 -1
- package/dist/sales/manual-booking/category-product/CategoryProduct.d.ts +16 -0
- package/dist/sales/manual-booking/category-product/CategoryProduct.d.ts.map +1 -0
- package/dist/sales/manual-booking/category-product/CategoryProduct.js +1 -0
- package/dist/sales/manual-booking/category-product/index.d.ts +2 -0
- package/dist/sales/manual-booking/category-product/index.d.ts.map +1 -0
- package/dist/sales/manual-booking/category-products/CategoryProducts.d.ts +17 -0
- package/dist/sales/manual-booking/category-products/CategoryProducts.d.ts.map +1 -0
- package/dist/sales/manual-booking/category-products/CategoryProducts.js +1 -0
- package/dist/sales/manual-booking/category-products/index.d.ts +2 -0
- package/dist/sales/manual-booking/category-products/index.d.ts.map +1 -0
- package/dist/sales/manual-booking/controll/ManualBookingStepsControll.d.ts +15 -0
- package/dist/sales/manual-booking/controll/ManualBookingStepsControll.d.ts.map +1 -0
- package/dist/sales/manual-booking/controll/ManualBookingStepsControll.js +1 -0
- package/dist/sales/manual-booking/controll/index.d.ts +2 -0
- package/dist/sales/manual-booking/controll/index.d.ts.map +1 -0
- package/dist/sales/manual-booking/create-user/CreateUser.d.ts +6 -0
- package/dist/sales/manual-booking/create-user/CreateUser.d.ts.map +1 -0
- package/dist/sales/manual-booking/create-user/CreateUser.js +1 -0
- package/dist/sales/manual-booking/create-user/index.d.ts +2 -0
- package/dist/sales/manual-booking/create-user/index.d.ts.map +1 -0
- package/dist/sales/manual-booking/customer-info/CustomerInfo.d.ts +7 -0
- package/dist/sales/manual-booking/customer-info/CustomerInfo.d.ts.map +1 -0
- package/dist/sales/manual-booking/customer-info/CustomerInfo.js +1 -0
- package/dist/sales/manual-booking/customer-info/index.d.ts +2 -0
- package/dist/sales/manual-booking/customer-info/index.d.ts.map +1 -0
- package/dist/sales/manual-booking/final-step/FinalStep.d.ts +7 -0
- package/dist/sales/manual-booking/final-step/FinalStep.d.ts.map +1 -0
- package/dist/sales/manual-booking/final-step/FinalStep.js +1 -0
- package/dist/sales/manual-booking/final-step/index.d.ts +2 -0
- package/dist/sales/manual-booking/final-step/index.d.ts.map +1 -0
- package/dist/sales/manual-booking/index.d.ts +5 -1
- package/dist/sales/manual-booking/index.d.ts.map +1 -1
- package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.d.ts +1 -2
- package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.d.ts.map +1 -1
- package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.js +1 -1
- package/dist/sales/manual-booking/search-user/SearchUser.js +1 -1
- package/dist/sales/manual-booking/select-date-type-control/SelectDateTypeControl.d.ts +3 -3
- package/dist/sales/manual-booking/select-date-type-control/SelectDateTypeControl.d.ts.map +1 -1
- package/dist/sales/manual-booking/select-date-type-control/SelectDateTypeControl.js +1 -1
- package/dist/sales/manual-booking/select-event/SelectEvent.d.ts +3 -3
- package/dist/sales/manual-booking/select-event/SelectEvent.d.ts.map +1 -1
- package/dist/sales/manual-booking/select-menu/SelectMenu.d.ts +5 -6
- package/dist/sales/manual-booking/select-menu/SelectMenu.d.ts.map +1 -1
- package/dist/sales/manual-booking/select-menu/SelectMenu.js +1 -1
- package/dist/sales/manual-booking/select-menu/components/MenuButton.d.ts +4 -4
- package/dist/sales/manual-booking/select-menu/components/MenuButton.d.ts.map +1 -1
- package/dist/sales/notes/NotesTable.d.ts +1 -1
- package/dist/sales/notes/NotesTable.d.ts.map +1 -1
- package/dist/sales/notes/NotesTableRow.d.ts +1 -1
- package/dist/sales/notes/NotesTableRow.d.ts.map +1 -1
- package/dist/sales/notes/note-form/NoteForm.d.ts +1 -1
- package/dist/sales/notes/note-form/NoteForm.d.ts.map +1 -1
- package/dist/sales/payment-form/SalePaymentForm.d.ts +2 -2
- package/dist/sales/payment-form/SalePaymentForm.d.ts.map +1 -1
- package/dist/sales/payment-form/components/RyftPayment/RyftPayment.d.ts +1 -1
- package/dist/sales/payment-form/components/RyftPayment/RyftPayment.d.ts.map +1 -1
- package/dist/sales/payment-form/types.d.ts +2 -2
- package/dist/sales/payment-form/types.d.ts.map +1 -1
- package/dist/sales/sales-and-views/SalesAndViewsChart.d.ts +1 -1
- package/dist/sales/sales-and-views/SalesAndViewsChart.d.ts.map +1 -1
- package/dist/setting/admin/AdminSettingForm.d.ts +1 -1
- package/dist/setting/admin/AdminSettingForm.d.ts.map +1 -1
- package/dist/setting/admin/PaymentFeeForm.d.ts +2 -2
- package/dist/setting/admin/PaymentFeeForm.d.ts.map +1 -1
- package/dist/setting/dashboard/DashboardSettingForm.d.ts +1 -1
- package/dist/setting/dashboard/DashboardSettingForm.d.ts.map +1 -1
- package/dist/setting/dashboard/EventSettingForm.d.ts +2 -2
- package/dist/setting/dashboard/EventSettingForm.d.ts.map +1 -1
- package/dist/setting/dashboard/FinancialDataForm.d.ts +2 -2
- package/dist/setting/dashboard/FinancialDataForm.d.ts.map +1 -1
- package/dist/setting/dashboard/OtherSettingForm.d.ts +2 -2
- package/dist/setting/dashboard/OtherSettingForm.d.ts.map +1 -1
- package/dist/setting/dashboard/ProviderSettingForm.d.ts +2 -2
- package/dist/setting/dashboard/ProviderSettingForm.d.ts.map +1 -1
- package/dist/setting/dashboard/index.d.ts +2 -0
- package/dist/setting/dashboard/index.d.ts.map +1 -1
- package/dist/setting/dashboard/snippets/control/SnippetControl.d.ts +9 -0
- package/dist/setting/dashboard/snippets/control/SnippetControl.d.ts.map +1 -0
- package/dist/setting/dashboard/snippets/control/SnippetControl.js +1 -0
- package/dist/setting/dashboard/snippets/control/index.d.ts +2 -0
- package/dist/setting/dashboard/snippets/control/index.d.ts.map +1 -0
- package/dist/setting/dashboard/snippets/form/SnippetForm.d.ts +33 -0
- package/dist/setting/dashboard/snippets/form/SnippetForm.d.ts.map +1 -0
- package/dist/setting/dashboard/snippets/form/SnippetForm.js +1 -0
- package/dist/setting/dashboard/snippets/form/context.d.ts +11 -0
- package/dist/setting/dashboard/snippets/form/context.d.ts.map +1 -0
- package/dist/setting/dashboard/snippets/form/context.js +1 -0
- package/dist/setting/dashboard/snippets/form/index.d.ts +2 -0
- package/dist/setting/dashboard/snippets/form/index.d.ts.map +1 -0
- package/dist/setting/dashboard/snippets/modal/SnippetViewTypeModal.d.ts +19 -0
- package/dist/setting/dashboard/snippets/modal/SnippetViewTypeModal.d.ts.map +1 -0
- package/dist/setting/dashboard/snippets/modal/SnippetViewTypeModal.js +1 -0
- package/dist/setting/dashboard/snippets/modal/index.d.ts +3 -0
- package/dist/setting/dashboard/snippets/modal/index.d.ts.map +1 -0
- package/dist/setting/system/SystemSettingForm.d.ts +1 -1
- package/dist/setting/system/SystemSettingForm.d.ts.map +1 -1
- package/dist/snippet/snippet-template/SnippetTemplate.js +1 -1
- package/dist/snippet/snippet-template/context/snippetTemplate.d.ts +1 -1
- package/dist/snippet/snippet-template/context/snippetTemplate.d.ts.map +1 -1
- package/dist/snippet/snippet-template/form/SnippetTemplateForm.js +1 -1
- package/dist/snippet/snippet-template/preview/Preview.d.ts.map +1 -1
- package/dist/snippet/snippet-template/preview/Preview.js +1 -1
- package/dist/sortable-list/SortableList.d.ts +4 -4
- package/dist/sortable-list/SortableList.d.ts.map +1 -1
- package/dist/sortable-tree/SortableTreeItem.d.ts +2 -5
- package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
- package/dist/sortable-tree/SortableTreeItem.js +1 -1
- package/dist/static/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/styles/events/EventStatisticModal.scss +37 -0
- package/dist/styles/events/EventVenueMap.scss +1 -1
- package/dist/styles/iframe-order-process/IframeOrderProcess.scss +4 -12
- package/dist/styles/iframe-page/PageBody.scss +0 -2
- package/dist/styles/packages.scss +1 -6
- package/dist/styles/resources-blocking/_index.scss +1 -38
- package/dist/styles/sales/BookingFilter.scss +11 -45
- package/dist/styles/sales/ManualBooking.scss +1 -7
- package/dist/styles/sales/RandomColors.scss +4 -7
- package/dist/styles/snippet-templates/SnippetTemplateCard.scss +0 -16
- package/dist/styles/static/DateRangeInput.scss +1 -5
- package/dist/styles/themes/bookedit/_variables.scss +2 -3
- package/dist/styles/widgets/BookingStyleSelector.scss +14 -0
- package/dist/styles/widgets/CalendarStyleSelector.scss +17 -0
- package/dist/styles/widgets/CheckboxGroup.scss +15 -0
- package/dist/styles/{image-radio-input/_index.scss → widgets/ImageRadioInput.scss} +0 -12
- package/dist/styles/widgets/ProductSetSelector.scss +19 -0
- package/dist/styles/widgets/SnippetCode.scss +18 -0
- package/dist/styles/widgets/WidgetBuilderForm.scss +51 -0
- package/dist/styles/{radio-card/_index.scss → widgets/WidgetTypeRadioButton.scss} +1 -8
- package/dist/styles/widgets/WidgetTypeSelector.scss +6 -0
- package/dist/styles/widgets/_index.scss +9 -0
- package/dist/styles/zones/ZoneForm.scss +1 -0
- package/dist/table/FilterHelperComponent.d.ts.map +1 -1
- package/dist/table/FilterHelperComponent.js +1 -1
- package/dist/table/MenuButton.d.ts +1 -1
- package/dist/table/MenuButton.d.ts.map +1 -1
- package/dist/table/ReactTableHelperComponent.d.ts +2 -2
- package/dist/table/ReactTableHelperComponent.d.ts.map +1 -1
- package/dist/table/StaticTable.d.ts +4 -6
- package/dist/table/StaticTable.d.ts.map +1 -1
- package/dist/table/StaticTable.js +1 -1
- package/dist/table/types.d.ts +5 -5
- package/dist/table/types.d.ts.map +1 -1
- package/dist/tiptap-editor/TipTapMenu/extensions/EMOJIS.d.ts +1 -1
- package/dist/tiptap-editor/TipTapMenu/extensions/EMOJIS.d.ts.map +1 -1
- package/dist/typeahead/Typeahead.d.ts +12 -6
- package/dist/typeahead/Typeahead.d.ts.map +1 -1
- package/dist/typeahead/Typeahead.js +1 -1
- package/dist/typeahead-helper/TypeaheadHelperComponent.d.ts +1 -1
- package/dist/typeahead-helper/TypeaheadHelperComponent.d.ts.map +1 -1
- package/dist/types/categories.d.ts +2 -2
- package/dist/types/categories.d.ts.map +1 -1
- package/dist/types/currency.d.ts +1 -1
- package/dist/types/currency.d.ts.map +1 -1
- package/dist/types/generic/SelectItem.d.ts +1 -1
- package/dist/types/generic/SelectItem.d.ts.map +1 -1
- package/dist/types/iframe.d.ts +3 -7
- 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/widgets/BookingStyleSelector/BookingStyleSelector.d.ts +3 -0
- package/dist/widgets/BookingStyleSelector/BookingStyleSelector.d.ts.map +1 -0
- package/dist/widgets/BookingStyleSelector/index.d.ts +2 -0
- package/dist/widgets/BookingStyleSelector/index.d.ts.map +1 -0
- package/dist/widgets/CalendarStyleSelector/CalendarStyleSelector.d.ts +3 -0
- package/dist/widgets/CalendarStyleSelector/CalendarStyleSelector.d.ts.map +1 -0
- package/dist/widgets/CalendarStyleSelector/index.d.ts +2 -0
- package/dist/widgets/CalendarStyleSelector/index.d.ts.map +1 -0
- package/dist/widgets/CheckboxGroup/CheckboxGroup.d.ts +8 -0
- package/dist/widgets/CheckboxGroup/CheckboxGroup.d.ts.map +1 -0
- package/dist/widgets/CheckboxGroup/index.d.ts +2 -0
- package/dist/widgets/CheckboxGroup/index.d.ts.map +1 -0
- package/dist/widgets/ImageRadioInput/ImageRadioInput.d.ts +9 -0
- package/dist/widgets/ImageRadioInput/ImageRadioInput.d.ts.map +1 -0
- package/dist/widgets/ImageRadioInput/index.d.ts.map +1 -0
- package/dist/widgets/ProductSetSelector/ProductSetSelector.d.ts +3 -0
- package/dist/widgets/ProductSetSelector/ProductSetSelector.d.ts.map +1 -0
- package/dist/widgets/ProductSetSelector/index.d.ts +2 -0
- package/dist/widgets/ProductSetSelector/index.d.ts.map +1 -0
- package/dist/widgets/SnippetCode/SnippetCode.d.ts +6 -0
- package/dist/widgets/SnippetCode/SnippetCode.d.ts.map +1 -0
- package/dist/widgets/SnippetCode/index.d.ts +2 -0
- package/dist/widgets/SnippetCode/index.d.ts.map +1 -0
- package/dist/widgets/WidgetBuilderForm/WidgetBuilderForm.d.ts +12 -0
- package/dist/widgets/WidgetBuilderForm/WidgetBuilderForm.d.ts.map +1 -0
- package/dist/widgets/WidgetTypeRadio/WidgetTypeRadio.d.ts +7 -0
- package/dist/widgets/WidgetTypeRadio/WidgetTypeRadio.d.ts.map +1 -0
- package/dist/widgets/WidgetTypeRadio/index.d.ts +2 -0
- package/dist/widgets/WidgetTypeRadio/index.d.ts.map +1 -0
- package/dist/widgets/WidgetTypeSelector/WidgetTypeSelector.d.ts +3 -0
- package/dist/widgets/WidgetTypeSelector/WidgetTypeSelector.d.ts.map +1 -0
- package/dist/zone/form/ZoneForm.d.ts +2 -2
- package/dist/zone/form/ZoneForm.d.ts.map +1 -1
- package/dist/zone/form/components/AvailableTimesControl.d.ts +2 -9
- 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 +4 -5
- package/src/assets/dashboard/blockingClock.png +0 -0
- package/src/assets/dashboard/bookingCalendar.svg +67 -0
- package/src/assets/dashboard/bookingList.svg +68 -0
- package/src/assets/dashboard/bookingListSmall.svg +6 -0
- package/src/assets/dashboard/fullscreen.svg +3 -0
- package/src/assets/dashboard/minimize.svg +3 -0
- package/src/assets/dashboard/refresh.svg +4 -0
- package/src/assets/widgets/circlePlus.svg +4 -0
- package/src/assets/widgets/inPage.svg +10 -0
- package/src/assets/widgets/overlay.svg +9 -0
- package/src/assets/widgets/sidebar.svg +9 -0
- package/src/events/edit-event-modal/IntervalInput.tsx +2 -28
- package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx +0 -3
- package/src/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.tsx +2 -11
- package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +4 -6
- package/src/events/event-statistic-modal/EventStatisticModal.tsx +1 -1
- package/src/events/event-venue-map/EventVenueMap.tsx +0 -4
- package/src/events/event-venue-map/components/MapPoint/MapPoint.tsx +3 -5
- package/src/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.tsx +2 -13
- package/src/events/event-venue-map/components/VenueMap/VenueMap.tsx +4 -12
- package/src/help/popover/HelpPopover.tsx +5 -13
- package/src/iframe/event/event-calendar/components/CalendarDate/CalendarDate.tsx +1 -1
- package/src/iframe/event/event-card/IframeEventCard.stories.tsx +14 -6
- package/src/iframe/event/event-card/IframeEventCard.tsx +10 -6
- package/src/iframe/event/event-card/IframeEventCardSkeleton.tsx +30 -20
- package/src/iframe/event/event-card/IframeEventCards.stories.tsx +3 -2
- package/src/iframe/event/event-order-short-summary/components/Summary/Summary.tsx +20 -20
- package/src/iframe/event/event-venue-map/IframeEventVenueMap.stories.tsx +0 -5
- package/src/iframe/index.ts +1 -5
- package/src/iframe/order-process/OrderProcess.stories.tsx +362 -0
- package/src/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.tsx +2 -2
- package/src/iframe/order-process/components/BookingSummary/types/index.ts +2 -2
- package/src/iframe/order-process/components/BookingSummary/utils/index.ts +2 -6
- package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.stories.tsx +0 -1
- package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.tsx +5 -7
- package/src/iframe/order-process/components/CalendarStepsForm/components/Category.tsx +2 -2
- package/src/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.tsx +2 -2
- package/src/iframe/order-process/components/{ErrorModal → CalendarStepsForm/components}/ErrorModal.tsx +1 -1
- package/src/iframe/order-process/components/Category/Category.stories.tsx +118 -0
- package/src/iframe/order-process/components/Category/Category.tsx +51 -0
- package/src/iframe/order-process/components/Category/index.ts +1 -0
- package/src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx +11 -30
- package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +0 -3
- package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +6 -7
- package/src/iframe/order-process/components/NavigationSteps/NavigationSteps.tsx +6 -8
- package/src/iframe/order-process/components/NavigationSteps/index.ts +1 -1
- package/src/iframe/order-process/components/StepsForm/StepsForm.tsx +176 -0
- package/src/iframe/order-process/components/StepsForm/index.ts +1 -0
- package/src/iframe/order-process/components/Timer/Timer.stories.tsx +1 -1
- package/src/iframe/order-process/components/Timer/utils/index.ts +4 -4
- package/src/iframe/order-process/components/utils/{useCategoryVerification.ts → category.ts} +10 -15
- package/src/iframe/order-process/index.ts +2 -3
- 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 +13 -2
- package/src/iframe/payment/order-items-table/utils/index.ts +9 -24
- package/src/iframe/payment/payment-page/PaymentPage.tsx +8 -46
- package/src/iframe/payment/payment-page/PaymentTimer.tsx +6 -31
- package/src/iframe/payment/payment-status-page/PaymentStatusPage.tsx +7 -48
- package/src/index.ts +0 -6
- package/src/logo/Logo.tsx +1 -1
- package/src/notification/email-template/card/EmailTemplateCard.stories.tsx +2 -4
- package/src/notification/email-template/card/EmailTemplateCard.tsx +3 -15
- package/src/notification/email-template/control/EmailTemplateControl.tsx +6 -90
- package/src/notification/email-template/form/EmailTemplateForm.stories.tsx +0 -34
- package/src/notification/email-template/form/EmailTemplateForm.tsx +5 -23
- package/src/notification/sms-template/card/SmsTemplateCard.stories.tsx +1 -3
- package/src/notification/sms-template/card/SmsTemplateCard.tsx +3 -13
- package/src/notification/sms-template/control/SmsTemplateControl.tsx +2 -40
- package/src/notification/sms-template/form/SmsTemplateForm.stories.tsx +0 -28
- package/src/notification/sms-template/form/SmsTemplateForm.tsx +1 -6
- package/src/product-set/control/DateAndRecurrenceInput.tsx +2 -2
- package/src/product-set/control/ProductSetControl.tsx +45 -69
- package/src/product-set/form/ProductCategoriesControl.tsx +0 -9
- package/src/product-set/form/ProductSetForm.stories.tsx +2 -41
- package/src/product-set/form/ProductSetForm.tsx +0 -11
- package/src/product-set/form/ProductsControl.tsx +1 -30
- package/src/product-set/form/StepsControl.tsx +3 -31
- package/src/product-set/product/ProductControl.tsx +23 -44
- package/src/product-set/product/price/ProductPriceControl.tsx +21 -43
- package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +16 -30
- package/src/product-set/product-category/ProductCategoryControl.tsx +1 -1
- package/src/product-set/utils/index.ts +0 -28
- package/src/provider/provider-details-input/ProviderDetailsInput.tsx +4 -28
- package/src/provider/resources-blocking-modal/ResourcesBlockingModal.stories.tsx +51 -0
- package/src/provider/resources-blocking-modal/ResourcesBlockingModal.tsx +134 -0
- package/src/provider/resources-blocking-modal/index.ts +1 -0
- package/src/recurring-date-picker-input/RecurrenceIntervalAndFrequencyInput.tsx +21 -76
- package/src/recurring-date-picker-input/RecurringDatePickerInput.tsx +0 -1
- package/src/sales/booking/filter/BookingFilter.stories.tsx +27 -0
- package/src/sales/booking/filter/BookingFilter.tsx +47 -0
- package/src/sales/booking/filter/components/AdditionalFIlterSection.tsx +95 -0
- package/src/sales/booking/filter/components/MainFilterSection.tsx +131 -0
- package/src/sales/booking/filter/components/ResultTagButton.tsx +33 -0
- package/src/sales/booking/filter/components/SearchingForSection.tsx +68 -0
- package/src/sales/booking/filter/index.ts +2 -0
- package/src/sales/booking/index.ts +2 -0
- package/src/sales/booking/results/components/ResultCard.tsx +2 -2
- package/src/sales/booking/results/constants.ts +0 -1
- package/src/sales/booking/results/index.ts +0 -1
- package/src/sales/booking/tabs/BookingTabs.stories.tsx +17 -0
- package/src/sales/booking/tabs/BookingTabs.tsx +88 -0
- package/src/sales/booking/tabs/index.ts +2 -0
- package/src/sales/coupon/control/CouponFormControl.tsx +0 -2
- package/src/sales/filters/SaleFilter.stories.tsx +1 -1
- package/src/sales/filters/SaleFilters.tsx +2 -2
- package/src/sales/manual-booking/category-product/CategoryProduct.tsx +285 -0
- package/src/sales/manual-booking/category-product/index.ts +1 -0
- package/src/sales/manual-booking/category-products/CategoryProducts.tsx +69 -0
- package/src/sales/manual-booking/category-products/index.ts +1 -0
- package/src/sales/manual-booking/controll/ManualBookingStepsControll.tsx +121 -0
- package/src/sales/manual-booking/controll/index.ts +1 -0
- package/src/sales/manual-booking/create-user/CreateUser.stories.tsx +27 -0
- package/src/sales/manual-booking/create-user/CreateUser.tsx +224 -0
- package/src/sales/manual-booking/create-user/index.ts +1 -0
- package/src/sales/manual-booking/customer-info/CustomerInfo.tsx +128 -0
- package/src/sales/manual-booking/customer-info/index.ts +1 -0
- package/src/sales/manual-booking/final-step/FinalStep.tsx +38 -0
- package/src/sales/manual-booking/final-step/index.ts +1 -0
- package/src/sales/manual-booking/index.ts +5 -1
- package/src/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.tsx +1 -3
- package/src/sales/manual-booking/select-date-type-control/SelectDateTypeControl.stories.tsx +1 -1
- package/src/sales/manual-booking/select-date-type-control/SelectDateTypeControl.tsx +5 -5
- package/src/sales/manual-booking/select-event/SelectEvent.tsx +3 -3
- package/src/sales/manual-booking/select-menu/SelectMenu.tsx +5 -9
- package/src/sales/manual-booking/select-menu/components/MenuButton.tsx +3 -3
- package/src/setting/dashboard/index.ts +2 -0
- package/src/setting/dashboard/snippets/control/SnippetControl.tsx +237 -0
- package/src/setting/dashboard/snippets/control/index.ts +1 -0
- package/src/setting/dashboard/snippets/form/SnippetForm.stories.tsx +104 -0
- package/src/setting/dashboard/snippets/form/SnippetForm.tsx +94 -0
- package/src/setting/dashboard/snippets/form/context.tsx +18 -0
- package/src/setting/dashboard/snippets/form/index.ts +1 -0
- package/src/setting/dashboard/snippets/modal/SnippetViewTypeModal.stories.tsx +28 -0
- package/src/setting/dashboard/snippets/modal/SnippetViewTypeModal.tsx +104 -0
- package/src/setting/dashboard/snippets/modal/index.ts +2 -0
- package/src/snippet/snippet-template/SnippetTemplate.tsx +1 -1
- package/src/snippet/snippet-template/form/SnippetTemplateForm.tsx +10 -10
- package/src/snippet/snippet-template/preview/Preview.tsx +9 -4
- package/src/sortable-tree/SortableTreeItem.tsx +6 -28
- package/src/static/date-range-input/DateRangeInput.tsx +3 -6
- package/src/styles/events/EventStatisticModal.scss +37 -0
- package/src/styles/events/EventVenueMap.scss +1 -1
- package/src/styles/iframe-order-process/IframeOrderProcess.scss +4 -12
- package/src/styles/iframe-page/PageBody.scss +0 -2
- package/src/styles/packages.scss +1 -6
- package/src/styles/resources-blocking/_index.scss +1 -38
- package/src/styles/sales/BookingFilter.scss +11 -45
- package/src/styles/sales/ManualBooking.scss +1 -7
- package/src/styles/sales/RandomColors.scss +4 -7
- package/src/styles/snippet-templates/SnippetTemplateCard.scss +0 -16
- package/src/styles/static/DateRangeInput.scss +1 -5
- package/src/styles/themes/bookedit/_variables.scss +2 -3
- package/src/styles/widgets/BookingStyleSelector.scss +14 -0
- package/src/styles/widgets/CalendarStyleSelector.scss +17 -0
- package/src/styles/widgets/CheckboxGroup.scss +15 -0
- package/src/styles/{image-radio-input/_index.scss → widgets/ImageRadioInput.scss} +0 -12
- package/src/styles/widgets/ProductSetSelector.scss +19 -0
- package/src/styles/widgets/SnippetCode.scss +18 -0
- package/src/styles/widgets/WidgetBuilderForm.scss +51 -0
- package/src/styles/{radio-card/_index.scss → widgets/WidgetTypeRadioButton.scss} +1 -8
- package/src/styles/widgets/WidgetTypeSelector.scss +6 -0
- package/src/styles/widgets/_index.scss +9 -0
- package/src/styles/zones/ZoneForm.scss +1 -0
- package/src/table/FilterHelperComponent.tsx +0 -1
- package/src/table/StaticTable.tsx +14 -40
- package/src/typeahead/Typeahead.stories.tsx +6 -9
- package/src/typeahead/Typeahead.tsx +13 -21
- package/src/types/iframe.ts +1 -7
- package/src/widgets/BookingStyleSelector/BookingStyleSelector.stories.tsx +12 -0
- package/src/widgets/BookingStyleSelector/BookingStyleSelector.tsx +34 -0
- package/src/widgets/BookingStyleSelector/index.ts +1 -0
- package/src/widgets/CalendarStyleSelector/CalendarStyleSelector.stories.tsx +12 -0
- package/src/widgets/CalendarStyleSelector/CalendarStyleSelector.tsx +29 -0
- package/src/widgets/CalendarStyleSelector/index.ts +1 -0
- package/src/widgets/CheckboxGroup/CheckboxGroup.stories.tsx +16 -0
- package/src/widgets/CheckboxGroup/CheckboxGroup.tsx +64 -0
- package/src/widgets/CheckboxGroup/index.ts +1 -0
- package/src/widgets/ImageRadioInput/ImageRadioInput.stories.tsx +18 -0
- package/src/widgets/ImageRadioInput/ImageRadioInput.tsx +29 -0
- package/src/widgets/ProductSetSelector/ProductSetSelector.stories.tsx +12 -0
- package/src/widgets/ProductSetSelector/ProductSetSelector.tsx +27 -0
- package/src/widgets/ProductSetSelector/index.ts +1 -0
- package/src/widgets/SnippetCode/SnippetCode.stories.tsx +17 -0
- package/src/widgets/SnippetCode/SnippetCode.tsx +27 -0
- package/src/widgets/SnippetCode/index.ts +1 -0
- package/src/widgets/WidgetBuilderForm/WidgetBuilderForm.stories.tsx +12 -0
- package/src/widgets/WidgetBuilderForm/WidgetBuilderForm.tsx +84 -0
- package/src/widgets/WidgetTypeRadio/WidgetTypeRadio.stories.tsx +17 -0
- package/src/widgets/WidgetTypeRadio/WidgetTypeRadio.tsx +43 -0
- package/src/widgets/WidgetTypeRadio/index.ts +1 -0
- package/src/widgets/WidgetTypeSelector/WidgetTypeSelector.stories.tsx +12 -0
- package/src/widgets/WidgetTypeSelector/WidgetTypeSelector.tsx +32 -0
- package/src/zone/form/components/AvailableTimesControl.tsx +5 -15
- package/src/zone/form/components/ZoneRecurrencesControl.tsx +33 -35
- package/src/zone/form/utils/dates.ts +2 -4
- package/tests/Snippets/Snippets.test.tsx +77 -0
- package/tsconfig.json +2 -2
- package/dist/assets/iframe/backButton.svg +0 -4
- package/dist/assets/iframe/dateInfo/available.svg +0 -5
- package/dist/assets/iframe/dateInfo/limited.svg +0 -5
- package/dist/assets/iframe/dateInfo/soldOut.svg +0 -6
- package/dist/date-time-button/DateContent.d.ts +0 -9
- package/dist/date-time-button/DateContent.d.ts.map +0 -1
- package/dist/date-time-button/DateContent.js +0 -1
- package/dist/date-time-button/DateTimeButton.d.ts +0 -12
- package/dist/date-time-button/DateTimeButton.d.ts.map +0 -1
- package/dist/date-time-button/DateTimeButton.js +0 -1
- package/dist/date-time-button/index.d.ts +0 -2
- package/dist/date-time-button/index.d.ts.map +0 -1
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.d.ts +0 -9
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.d.ts.map +0 -1
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.js +0 -1
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.d.ts +0 -2
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.d.ts.map +0 -1
- package/dist/iframe/activity-cards/activity-card/ActivityCard.d.ts +0 -12
- package/dist/iframe/activity-cards/activity-card/ActivityCard.d.ts.map +0 -1
- package/dist/iframe/activity-cards/activity-card/ActivityCard.js +0 -1
- package/dist/iframe/activity-cards/index.d.ts +0 -3
- package/dist/iframe/activity-cards/index.d.ts.map +0 -1
- package/dist/iframe/activity-cards/list-activity-card/ListActivityCard.d.ts +0 -12
- package/dist/iframe/activity-cards/list-activity-card/ListActivityCard.d.ts.map +0 -1
- package/dist/iframe/activity-cards/list-activity-card/ListActivityCard.js +0 -1
- package/dist/iframe/back-button/BackButton.d.ts +0 -6
- package/dist/iframe/back-button/BackButton.d.ts.map +0 -1
- package/dist/iframe/back-button/BackButton.js +0 -1
- package/dist/iframe/back-button/index.d.ts +0 -2
- package/dist/iframe/back-button/index.d.ts.map +0 -1
- package/dist/iframe/order-process/components/ErrorModal/ErrorModal.d.ts.map +0 -1
- package/dist/iframe/order-process/components/ErrorModal/ErrorModal.js +0 -1
- package/dist/iframe/order-process/components/ErrorModal/index.d.ts +0 -2
- package/dist/iframe/order-process/components/ErrorModal/index.d.ts.map +0 -1
- package/dist/iframe/order-process/components/utils/useCategoryVerification.d.ts +0 -8
- package/dist/iframe/order-process/components/utils/useCategoryVerification.d.ts.map +0 -1
- package/dist/iframe/order-process/components/utils/useCategoryVerification.js +0 -1
- package/dist/image-radio-input/ImageRadioInput.d.ts +0 -15
- package/dist/image-radio-input/ImageRadioInput.d.ts.map +0 -1
- package/dist/image-radio-input/ImageRadioInput.js +0 -1
- package/dist/image-radio-input/index.d.ts.map +0 -1
- package/dist/notification/hooks/useTranslatedParameters.d.ts +0 -7
- package/dist/notification/hooks/useTranslatedParameters.d.ts.map +0 -1
- package/dist/notification/hooks/useTranslatedParameters.js +0 -1
- package/dist/product-set/hooks/useSortableTreeFunctions.d.ts +0 -11
- package/dist/product-set/hooks/useSortableTreeFunctions.d.ts.map +0 -1
- package/dist/product-set/hooks/useSortableTreeFunctions.js +0 -1
- package/dist/product-set/product/constants.d.ts +0 -2
- package/dist/product-set/product/constants.d.ts.map +0 -1
- package/dist/product-set/product/constants.js +0 -1
- package/dist/provider/constants.d.ts +0 -2
- package/dist/provider/constants.d.ts.map +0 -1
- package/dist/provider/constants.js +0 -1
- package/dist/radio-card/RadioCard.d.ts +0 -13
- package/dist/radio-card/RadioCard.d.ts.map +0 -1
- package/dist/radio-card/RadioCard.js +0 -1
- package/dist/radio-card/index.d.ts +0 -2
- package/dist/radio-card/index.d.ts.map +0 -1
- package/dist/sortable-fields/SortableFieldItem.d.ts +0 -9
- package/dist/sortable-fields/SortableFieldItem.d.ts.map +0 -1
- package/dist/sortable-fields/SortableFieldItem.js +0 -1
- package/dist/sortable-fields/SortableFieldList.d.ts +0 -18
- package/dist/sortable-fields/SortableFieldList.d.ts.map +0 -1
- package/dist/sortable-fields/SortableFieldList.js +0 -1
- package/dist/sortable-fields/index.d.ts +0 -2
- package/dist/sortable-fields/index.d.ts.map +0 -1
- package/dist/sorting-select/SortingSelect.d.ts +0 -10
- package/dist/sorting-select/SortingSelect.d.ts.map +0 -1
- package/dist/sorting-select/SortingSelect.js +0 -1
- package/dist/sorting-select/index.d.ts +0 -2
- package/dist/sorting-select/index.d.ts.map +0 -1
- package/dist/striped-static-table/StripedStaticTable.d.ts +0 -7
- package/dist/striped-static-table/StripedStaticTable.d.ts.map +0 -1
- package/dist/striped-static-table/StripedStaticTable.js +0 -1
- package/dist/striped-static-table/index.d.ts +0 -2
- package/dist/striped-static-table/index.d.ts.map +0 -1
- package/dist/styles/back-button/BackButton.scss +0 -33
- package/dist/styles/back-button/_index.scss +0 -1
- package/dist/styles/iframe-customers-journey/ActivitiesCard.scss +0 -37
- package/dist/styles/iframe-customers-journey/ActivitiesSelectedCard.scss +0 -57
- package/dist/styles/iframe-customers-journey/DateTimeButton.scss +0 -113
- package/dist/styles/iframe-customers-journey/_index.scss +0 -3
- package/dist/styles/sortable-field/SortableField.scss +0 -21
- package/dist/styles/sortable-field/_index.scss +0 -1
- package/dist/styles/striped-static-table/_index.scss +0 -33
- package/src/assets/iframe/backButton.svg +0 -4
- package/src/assets/iframe/dateInfo/available.svg +0 -5
- package/src/assets/iframe/dateInfo/limited.svg +0 -5
- package/src/assets/iframe/dateInfo/soldOut.svg +0 -6
- package/src/date-time-button/DateContent.tsx +0 -46
- package/src/date-time-button/DateTimeButton.stories.tsx +0 -80
- package/src/date-time-button/DateTimeButton.tsx +0 -73
- package/src/date-time-button/index.ts +0 -1
- package/src/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.tsx +0 -68
- package/src/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.ts +0 -1
- package/src/iframe/activity-cards/activity-card/ActivityCard.stories.tsx +0 -52
- package/src/iframe/activity-cards/activity-card/ActivityCard.tsx +0 -38
- package/src/iframe/activity-cards/index.ts +0 -2
- package/src/iframe/activity-cards/list-activity-card/ListActivityCard.stories.tsx +0 -52
- package/src/iframe/activity-cards/list-activity-card/ListActivityCard.tsx +0 -49
- package/src/iframe/back-button/BackButton.stories.tsx +0 -16
- package/src/iframe/back-button/BackButton.tsx +0 -19
- package/src/iframe/back-button/index.ts +0 -1
- package/src/iframe/order-process/components/ErrorModal/index.ts +0 -1
- package/src/image-radio-input/ImageRadioInput.stories.tsx +0 -67
- package/src/image-radio-input/ImageRadioInput.tsx +0 -53
- package/src/notification/hooks/useTranslatedParameters.ts +0 -27
- package/src/product-set/hooks/useSortableTreeFunctions.ts +0 -37
- package/src/product-set/product/constants.ts +0 -1
- package/src/provider/constants.ts +0 -1
- package/src/radio-card/RadioCard.stories.tsx +0 -48
- package/src/radio-card/RadioCard.tsx +0 -49
- package/src/radio-card/index.ts +0 -1
- package/src/sortable-fields/SortableFieldItem.tsx +0 -60
- package/src/sortable-fields/SortableFieldList.tsx +0 -62
- package/src/sortable-fields/index.ts +0 -1
- package/src/sorting-select/SortingSelect.stories.tsx +0 -15
- package/src/sorting-select/SortingSelect.tsx +0 -79
- package/src/sorting-select/index.ts +0 -1
- package/src/striped-static-table/StripedStaticTable.stories.tsx +0 -71
- package/src/striped-static-table/StripedStaticTable.tsx +0 -63
- package/src/striped-static-table/index.ts +0 -1
- package/src/styles/back-button/BackButton.scss +0 -33
- package/src/styles/back-button/_index.scss +0 -1
- package/src/styles/iframe-customers-journey/ActivitiesCard.scss +0 -37
- package/src/styles/iframe-customers-journey/ActivitiesSelectedCard.scss +0 -57
- package/src/styles/iframe-customers-journey/DateTimeButton.scss +0 -113
- package/src/styles/iframe-customers-journey/_index.scss +0 -3
- package/src/styles/sortable-field/SortableField.scss +0 -21
- package/src/styles/sortable-field/_index.scss +0 -1
- package/src/styles/striped-static-table/_index.scss +0 -33
- /package/dist/iframe/order-process/components/{ErrorModal → CalendarStepsForm/components}/ErrorModal.d.ts +0 -0
- /package/dist/{image-radio-input → widgets/ImageRadioInput}/index.d.ts +0 -0
- /package/src/{image-radio-input → widgets/ImageRadioInput}/index.ts +0 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Button } from "react-bootstrap";
|
|
3
|
+
import { useTranslation } from "react-i18next";
|
|
4
|
+
import { ReactComponent as CopyIcon } from "../../assets/widgets/copy.svg";
|
|
5
|
+
|
|
6
|
+
export type SnippetCodeProps = {
|
|
7
|
+
code: string;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
const copyCode = (code: string) => window.navigator.clipboard.writeText(code);
|
|
11
|
+
|
|
12
|
+
export const SnippetCode = ({ code }: SnippetCodeProps) => {
|
|
13
|
+
const { t } = useTranslation("Design");
|
|
14
|
+
|
|
15
|
+
return (
|
|
16
|
+
<div className="widget-designer-snippet-code">
|
|
17
|
+
<h4>{t("codeSnippet")}</h4>
|
|
18
|
+
|
|
19
|
+
<p className="code-container">{code}</p>
|
|
20
|
+
|
|
21
|
+
<Button onClick={() => copyCode(code)}>
|
|
22
|
+
{t("copyCode")}
|
|
23
|
+
<CopyIcon />
|
|
24
|
+
</Button>
|
|
25
|
+
</div>
|
|
26
|
+
);
|
|
27
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SnippetCode } from "./SnippetCode";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Meta, Story } from "@storybook/react";
|
|
3
|
+
import { WidgetBuilderForm } from "./WidgetBuilderForm";
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
title: "Widgets / Widget Builder Form",
|
|
7
|
+
component: WidgetBuilderForm,
|
|
8
|
+
} as Meta;
|
|
9
|
+
|
|
10
|
+
export const Default: Story = (args) => {
|
|
11
|
+
return <WidgetBuilderForm {...args} />;
|
|
12
|
+
};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Button, Col, Form, Row } from "react-bootstrap";
|
|
3
|
+
import { useTranslation } from "react-i18next";
|
|
4
|
+
import { useForm, FormProvider } from "react-hook-form";
|
|
5
|
+
import { WidgetTypeSelector } from "../WidgetTypeSelector/WidgetTypeSelector";
|
|
6
|
+
import { CheckboxGroup } from "../CheckboxGroup";
|
|
7
|
+
import { CalendarStyleSelector } from "../CalendarStyleSelector";
|
|
8
|
+
import { BookingStyleSelector } from "../BookingStyleSelector";
|
|
9
|
+
import { ProductSetSelector } from "../ProductSetSelector";
|
|
10
|
+
import { SnippetCode } from "../SnippetCode";
|
|
11
|
+
|
|
12
|
+
export type WidgetBuilderFormModel = {
|
|
13
|
+
name: string;
|
|
14
|
+
widgetType: string;
|
|
15
|
+
calendarStyle: string;
|
|
16
|
+
includeFromPrice: string[];
|
|
17
|
+
includeAvailability: string[];
|
|
18
|
+
productSets: string[];
|
|
19
|
+
bookingWidgetStyle: string;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export const WidgetBuilderForm = () => {
|
|
23
|
+
const { t } = useTranslation("Design");
|
|
24
|
+
|
|
25
|
+
const form = useForm<WidgetBuilderFormModel>({ mode: "onChange" });
|
|
26
|
+
|
|
27
|
+
const onSubmit = () => null;
|
|
28
|
+
|
|
29
|
+
return (
|
|
30
|
+
<FormProvider {...form}>
|
|
31
|
+
<Row
|
|
32
|
+
as="form"
|
|
33
|
+
className="widget-builder-form"
|
|
34
|
+
onSubmit={form.handleSubmit(onSubmit)}
|
|
35
|
+
>
|
|
36
|
+
<Col lg={6} md={6}>
|
|
37
|
+
<h2>{t("eventPageOverlay")}</h2>
|
|
38
|
+
|
|
39
|
+
<Form.Group>
|
|
40
|
+
<Form.Label>{t("name")}</Form.Label>
|
|
41
|
+
<Form.Control type="text" {...form.register("name")} />
|
|
42
|
+
</Form.Group>
|
|
43
|
+
|
|
44
|
+
<WidgetTypeSelector />
|
|
45
|
+
|
|
46
|
+
<h3 className="widget-builder-form-customizations">
|
|
47
|
+
{t("customizations")}
|
|
48
|
+
</h3>
|
|
49
|
+
|
|
50
|
+
<CalendarStyleSelector />
|
|
51
|
+
|
|
52
|
+
<CheckboxGroup
|
|
53
|
+
heading={t("includeFromPrice")}
|
|
54
|
+
name="includeFromPrice"
|
|
55
|
+
/>
|
|
56
|
+
<CheckboxGroup
|
|
57
|
+
heading={t("includeAvailability")}
|
|
58
|
+
name="includeAvailability"
|
|
59
|
+
/>
|
|
60
|
+
|
|
61
|
+
<ProductSetSelector />
|
|
62
|
+
</Col>
|
|
63
|
+
|
|
64
|
+
<Col lg={5} md={5} className="widget-builder-right-column">
|
|
65
|
+
<div className="widget-builder-form-grey">
|
|
66
|
+
<BookingStyleSelector />
|
|
67
|
+
|
|
68
|
+
<div>
|
|
69
|
+
<h4>{t("stylingTemplate")}</h4>
|
|
70
|
+
|
|
71
|
+
<Form.Group>
|
|
72
|
+
<Form.Control as="select" />
|
|
73
|
+
</Form.Group>
|
|
74
|
+
</div>
|
|
75
|
+
|
|
76
|
+
<SnippetCode code="" />
|
|
77
|
+
</div>
|
|
78
|
+
|
|
79
|
+
<Button type="submit">{t("saveAndClose")}</Button>
|
|
80
|
+
</Col>
|
|
81
|
+
</Row>
|
|
82
|
+
</FormProvider>
|
|
83
|
+
);
|
|
84
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Meta, Story } from "@storybook/react";
|
|
3
|
+
import { WidgetTypeRadio, WidgetTypeRadioProps } from "./WidgetTypeRadio";
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
title: "Widgets / Type Radio Selector",
|
|
7
|
+
component: WidgetTypeRadio,
|
|
8
|
+
} as Meta;
|
|
9
|
+
|
|
10
|
+
export const Default: Story<WidgetTypeRadioProps> = (args) => {
|
|
11
|
+
return <WidgetTypeRadio {...args} />;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
Default.args = {
|
|
15
|
+
label: "Venue Map",
|
|
16
|
+
description: ["Date", "Floor", "Table", "Product Sets", "Checkout"],
|
|
17
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Form } from "react-bootstrap";
|
|
3
|
+
import { useFormContext } from "react-hook-form";
|
|
4
|
+
import { WidgetBuilderFormModel } from "../WidgetBuilderForm/WidgetBuilderForm";
|
|
5
|
+
|
|
6
|
+
export type WidgetTypeRadioProps = {
|
|
7
|
+
label: string;
|
|
8
|
+
description: string[];
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
const prepareDescription = (description: string[]) =>
|
|
12
|
+
description.map((item, index) => {
|
|
13
|
+
if (index === 0) return item;
|
|
14
|
+
return `> ${item}`;
|
|
15
|
+
});
|
|
16
|
+
|
|
17
|
+
export const WidgetTypeRadio = ({
|
|
18
|
+
label,
|
|
19
|
+
description,
|
|
20
|
+
}: WidgetTypeRadioProps) => {
|
|
21
|
+
const { register } = useFormContext<WidgetBuilderFormModel>();
|
|
22
|
+
|
|
23
|
+
return (
|
|
24
|
+
<Form.Check className="widget-type-radio">
|
|
25
|
+
<Form.Check.Label>
|
|
26
|
+
<div className="widget-type-radio-controls">
|
|
27
|
+
<Form.Check.Input
|
|
28
|
+
type="radio"
|
|
29
|
+
value={label}
|
|
30
|
+
{...register("widgetType")}
|
|
31
|
+
/>
|
|
32
|
+
<span>{label}</span>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<p className="widget-type-radio-description">
|
|
36
|
+
{prepareDescription(description).map((item) => (
|
|
37
|
+
<span key={item}> {item}</span>
|
|
38
|
+
))}
|
|
39
|
+
</p>
|
|
40
|
+
</Form.Check.Label>
|
|
41
|
+
</Form.Check>
|
|
42
|
+
);
|
|
43
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { WidgetTypeRadio } from "./WidgetTypeRadio";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Meta, Story } from "@storybook/react";
|
|
3
|
+
import { WidgetTypeSelector } from "./WidgetTypeSelector";
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
title: "Widgets / Widget Type Selector",
|
|
7
|
+
component: WidgetTypeSelector,
|
|
8
|
+
} as Meta;
|
|
9
|
+
|
|
10
|
+
export const Default: Story = (args) => {
|
|
11
|
+
return <WidgetTypeSelector {...args} />;
|
|
12
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { useTranslation } from "react-i18next";
|
|
3
|
+
import { Form } from "react-bootstrap";
|
|
4
|
+
import { WidgetTypeRadio } from "../WidgetTypeRadio";
|
|
5
|
+
|
|
6
|
+
const venueMapDescription = [
|
|
7
|
+
"date",
|
|
8
|
+
"floor",
|
|
9
|
+
"table",
|
|
10
|
+
"productSets",
|
|
11
|
+
"checkout",
|
|
12
|
+
];
|
|
13
|
+
|
|
14
|
+
export const WidgetTypeSelector = () => {
|
|
15
|
+
const { t } = useTranslation("Design");
|
|
16
|
+
|
|
17
|
+
return (
|
|
18
|
+
<div className="widget-type-selector">
|
|
19
|
+
<Form.Label>{t("selectBookingType")}</Form.Label>
|
|
20
|
+
|
|
21
|
+
<WidgetTypeRadio
|
|
22
|
+
label={t("eventList")}
|
|
23
|
+
description={[t("eventListing")]}
|
|
24
|
+
/>
|
|
25
|
+
|
|
26
|
+
<WidgetTypeRadio
|
|
27
|
+
label={t("venueMap")}
|
|
28
|
+
description={venueMapDescription.map((item) => t(item))}
|
|
29
|
+
/>
|
|
30
|
+
</div>
|
|
31
|
+
);
|
|
32
|
+
};
|
|
@@ -6,24 +6,20 @@ import React, {
|
|
|
6
6
|
} from "react";
|
|
7
7
|
import { useTranslation } from "react-i18next";
|
|
8
8
|
import { Form } from "react-bootstrap";
|
|
9
|
-
import {
|
|
9
|
+
import { useForm } from "react-hook-form";
|
|
10
10
|
import { useId } from "@react-aria/utils";
|
|
11
11
|
import { WorkHour } from "@licklist/core/dist/DataMapper/Provider/WorkHourDataMapper";
|
|
12
|
-
import { calculateTimeWithOffset } from "@licklist/plugins/dist/utils/time";
|
|
13
12
|
import { getCheckboxesByWorkHours } from "../utils/dates";
|
|
14
13
|
|
|
15
14
|
export type AvailableTimesControlRef = {
|
|
16
15
|
trigger: () => Promise<boolean>;
|
|
17
16
|
getValues: () => { availableTimes: string[] };
|
|
18
|
-
setError: UseFormSetError<AvailableTimesForm>;
|
|
19
17
|
};
|
|
20
18
|
|
|
21
19
|
type AvailableTimesControlProps = {
|
|
22
20
|
isLoading: boolean;
|
|
23
21
|
workHours?: WorkHour[];
|
|
24
22
|
defaultValues?: string[];
|
|
25
|
-
startTime?: string;
|
|
26
|
-
endTime?: string;
|
|
27
23
|
};
|
|
28
24
|
|
|
29
25
|
type AvailableTimesForm = { availableTimes: string[] };
|
|
@@ -43,7 +39,6 @@ export const AvailableTimesControl = forwardRef<
|
|
|
43
39
|
getValues,
|
|
44
40
|
setValue,
|
|
45
41
|
watch,
|
|
46
|
-
setError,
|
|
47
42
|
} = useForm<AvailableTimesForm>({ mode: "onChange" });
|
|
48
43
|
|
|
49
44
|
const availableTimes = watch("availableTimes") || [];
|
|
@@ -57,25 +52,22 @@ export const AvailableTimesControl = forwardRef<
|
|
|
57
52
|
return {
|
|
58
53
|
trigger,
|
|
59
54
|
getValues,
|
|
60
|
-
setError,
|
|
61
55
|
};
|
|
62
56
|
});
|
|
63
57
|
|
|
64
58
|
const onChange = (option: string) => {
|
|
65
|
-
const
|
|
66
|
-
|
|
67
|
-
const isAlreadyChecked = availableTimes.includes(timeWithOffset);
|
|
59
|
+
const isAlreadyChecked = availableTimes.includes(option);
|
|
68
60
|
|
|
69
61
|
if (isAlreadyChecked) {
|
|
70
62
|
setValue(
|
|
71
63
|
"availableTimes",
|
|
72
|
-
availableTimes.filter((value) => value !==
|
|
64
|
+
availableTimes.filter((value) => value !== option)
|
|
73
65
|
);
|
|
74
66
|
|
|
75
67
|
return;
|
|
76
68
|
}
|
|
77
69
|
|
|
78
|
-
setValue("availableTimes", [...availableTimes,
|
|
70
|
+
setValue("availableTimes", [...availableTimes, option]);
|
|
79
71
|
};
|
|
80
72
|
|
|
81
73
|
useEffect(() => {
|
|
@@ -95,9 +87,7 @@ export const AvailableTimesControl = forwardRef<
|
|
|
95
87
|
<Form.Check.Input
|
|
96
88
|
type="checkbox"
|
|
97
89
|
value={option}
|
|
98
|
-
checked={availableTimes.includes(
|
|
99
|
-
calculateTimeWithOffset(option)
|
|
100
|
-
)}
|
|
90
|
+
checked={availableTimes.includes(option)}
|
|
101
91
|
onChange={() => onChange(option)}
|
|
102
92
|
disabled={isLoading}
|
|
103
93
|
/>
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React, { useEffect, useRef, useState } from "react";
|
|
2
|
+
import type Popper from "@popperjs/core";
|
|
2
3
|
import { useId } from "@react-aria/utils";
|
|
3
4
|
import { Form, OverlayTrigger, Popover } from "react-bootstrap";
|
|
4
5
|
import { useFieldArray, useFormContext } from "react-hook-form";
|
|
@@ -11,12 +12,6 @@ import {
|
|
|
11
12
|
} from "@dnd-kit/sortable";
|
|
12
13
|
import { DndContext } from "@dnd-kit/core";
|
|
13
14
|
import { WorkHour } from "@licklist/core/dist/DataMapper/Provider/WorkHourDataMapper";
|
|
14
|
-
import { DateTime } from "luxon";
|
|
15
|
-
import { TIME_FORMAT } from "@licklist/core/dist/Config";
|
|
16
|
-
import {
|
|
17
|
-
calculateTimeWithOffset,
|
|
18
|
-
DIRECTION_TO_LOCAL,
|
|
19
|
-
} from "@licklist/plugins/dist/utils/time";
|
|
20
15
|
import { CONFIRM_MODAL_ACTIONS } from "../../../modals/confirmation/ConfirmModal";
|
|
21
16
|
import { Icon } from "../../../static";
|
|
22
17
|
import {
|
|
@@ -28,7 +23,6 @@ import {
|
|
|
28
23
|
AvailableTimesControl,
|
|
29
24
|
AvailableTimesControlRef,
|
|
30
25
|
} from "./AvailableTimesControl";
|
|
31
|
-
import { sameWidthPopperModifier } from "../../../product-set/control/DateAndRecurrenceInput";
|
|
32
26
|
|
|
33
27
|
export interface DateAndRecurrenceInputValues {
|
|
34
28
|
zoneRecurrences?: Partial<ZoneRecurrence>[];
|
|
@@ -51,6 +45,7 @@ export const ZoneRecurrencesControl = ({
|
|
|
51
45
|
setValue,
|
|
52
46
|
clearErrors,
|
|
53
47
|
} = useFormContext<DateAndRecurrenceInputValues>();
|
|
48
|
+
|
|
54
49
|
const { fields, append, update, move } = useFieldArray({
|
|
55
50
|
name: "zoneRecurrences",
|
|
56
51
|
control,
|
|
@@ -86,41 +81,18 @@ export const ZoneRecurrencesControl = ({
|
|
|
86
81
|
|
|
87
82
|
const popoverId = useId()!;
|
|
88
83
|
|
|
89
|
-
const { t } = useTranslation(
|
|
84
|
+
const { t } = useTranslation("Design");
|
|
90
85
|
|
|
91
86
|
// in this method we should fulfill the form with a proper data
|
|
92
87
|
const handleRecurringDateChange = async (
|
|
93
88
|
next: RecurringDatePickerInputValues
|
|
94
89
|
) => {
|
|
95
|
-
const
|
|
96
|
-
await availableTimesFormRef.current?.trigger();
|
|
97
|
-
if (!isAvailableTimesFormValid) {
|
|
98
|
-
return;
|
|
99
|
-
}
|
|
100
|
-
const startTime = DateTime.fromFormat(next.startTime, TIME_FORMAT);
|
|
101
|
-
const endTime = DateTime.fromFormat(next.endTime, TIME_FORMAT);
|
|
102
|
-
const { availableTimes } = availableTimesFormRef.current.getValues();
|
|
103
|
-
const validAvalilableTimes = availableTimes.every((time) => {
|
|
104
|
-
const currentAvailableTime = DateTime.fromFormat(
|
|
105
|
-
calculateTimeWithOffset(time, DIRECTION_TO_LOCAL),
|
|
106
|
-
TIME_FORMAT
|
|
107
|
-
);
|
|
108
|
-
return (
|
|
109
|
-
currentAvailableTime.diff(startTime, "minutes").minutes >= 0 &&
|
|
110
|
-
currentAvailableTime.diff(endTime, "minutes").minutes <= 0
|
|
111
|
-
);
|
|
112
|
-
});
|
|
113
|
-
if (!validAvalilableTimes) {
|
|
114
|
-
availableTimesFormRef.current.setError("availableTimes", {
|
|
115
|
-
message: t("Validation:fieldTimeBetween", {
|
|
116
|
-
attribute: t("Design:startTimesSmall"),
|
|
117
|
-
min: next?.startTime,
|
|
118
|
-
max: next?.endTime,
|
|
119
|
-
}),
|
|
120
|
-
});
|
|
90
|
+
const isValid = await availableTimesFormRef.current?.trigger();
|
|
121
91
|
|
|
92
|
+
if (!isValid) {
|
|
122
93
|
return;
|
|
123
94
|
}
|
|
95
|
+
|
|
124
96
|
const values = {
|
|
125
97
|
rrule: next.rrule,
|
|
126
98
|
startDate: next.startDate,
|
|
@@ -239,7 +211,7 @@ export const ZoneRecurrencesControl = ({
|
|
|
239
211
|
}
|
|
240
212
|
strategy={verticalListSortingStrategy}
|
|
241
213
|
>
|
|
242
|
-
{fields
|
|
214
|
+
{fields.map((zoneRecurrence, index) => (
|
|
243
215
|
<ZoneRecurrenceControl
|
|
244
216
|
key={zoneRecurrence._id}
|
|
245
217
|
zoneRecurrence={zoneRecurrence}
|
|
@@ -285,3 +257,29 @@ export const ZoneRecurrencesControl = ({
|
|
|
285
257
|
</Form.Group>
|
|
286
258
|
);
|
|
287
259
|
};
|
|
260
|
+
|
|
261
|
+
const sameWidthPopperModifier: Popper.Modifier<
|
|
262
|
+
"sameWidth",
|
|
263
|
+
Record<string, unknown>
|
|
264
|
+
> = {
|
|
265
|
+
name: "sameWidth",
|
|
266
|
+
enabled: true,
|
|
267
|
+
phase: "beforeWrite",
|
|
268
|
+
requires: ["computeStyles"],
|
|
269
|
+
fn({ state }) {
|
|
270
|
+
const style = {
|
|
271
|
+
width: `${state.rects.reference.width + 4}px`,
|
|
272
|
+
marginLeft: "-2px",
|
|
273
|
+
maxWidth: "unset",
|
|
274
|
+
};
|
|
275
|
+
Object.assign(state.styles.popper, style);
|
|
276
|
+
},
|
|
277
|
+
effect({ state }) {
|
|
278
|
+
const { width } = state.elements.reference.getBoundingClientRect();
|
|
279
|
+
const style = {
|
|
280
|
+
width: `${width}px`,
|
|
281
|
+
maxWidth: "unset",
|
|
282
|
+
};
|
|
283
|
+
Object.assign(state.elements.popper.style, style);
|
|
284
|
+
},
|
|
285
|
+
};
|
|
@@ -29,15 +29,13 @@ export const getTimeCheckboxRanges = (
|
|
|
29
29
|
Number(endMinutes)
|
|
30
30
|
);
|
|
31
31
|
|
|
32
|
-
const dateSlices: { [key: string]: Date } = {
|
|
33
|
-
0: startDate,
|
|
34
|
-
};
|
|
32
|
+
const dateSlices: { [key: string]: Date } = {};
|
|
35
33
|
let count = 0;
|
|
36
34
|
|
|
37
35
|
while (endDate >= startDate) {
|
|
38
36
|
startDate = new Date(startDate.getTime() + range * 60 * 1000);
|
|
39
|
-
count += 1;
|
|
40
37
|
dateSlices[count] = startDate;
|
|
38
|
+
count += 1;
|
|
41
39
|
}
|
|
42
40
|
|
|
43
41
|
const checkboxes = Object.keys(dateSlices)
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { shallow, mount } from "enzyme";
|
|
3
|
+
import { createMemoryHistory } from "history";
|
|
4
|
+
import { Router } from "react-router-dom";
|
|
5
|
+
import { SnippetCard } from "../../src/setting/dashboard/snippets/card/SnippetCard";
|
|
6
|
+
import { SnippetForm } from "../../src/setting/dashboard/snippets/form";
|
|
7
|
+
import useTranslationMock from "../__mock__/hooks/useTranslationMock";
|
|
8
|
+
|
|
9
|
+
const history = createMemoryHistory();
|
|
10
|
+
|
|
11
|
+
jest.mock("react-i18next", () => ({
|
|
12
|
+
Trans: jest.fn().mockReturnValue("test"),
|
|
13
|
+
useTranslation: jest.fn(),
|
|
14
|
+
}));
|
|
15
|
+
|
|
16
|
+
beforeEach(() => {
|
|
17
|
+
useTranslationMock();
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
afterAll(() => {
|
|
21
|
+
jest.resetAllMocks();
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
describe("Snippets", () => {
|
|
25
|
+
it("SnippetCard should be rendered without issues", () => {
|
|
26
|
+
const component = shallow(
|
|
27
|
+
<SnippetCard hasPermission href="" name="test" onRemove={() => {}} />
|
|
28
|
+
);
|
|
29
|
+
|
|
30
|
+
expect(component.exists()).toBeTruthy();
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
it("SnippetForm should be rendered without issues", () => {
|
|
34
|
+
const component = shallow(
|
|
35
|
+
<SnippetForm
|
|
36
|
+
isLoading={false}
|
|
37
|
+
onSubmit={() => {}}
|
|
38
|
+
templates={[{ id: "1", name: "test", colors: [], type: "event" }]}
|
|
39
|
+
/>
|
|
40
|
+
);
|
|
41
|
+
|
|
42
|
+
expect(component.exists()).toBeTruthy();
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
it("SnippetCard should be mount without issues", () => {
|
|
46
|
+
const component = mount(
|
|
47
|
+
<Router history={history as any}>
|
|
48
|
+
<SnippetCard hasPermission href="" name="test" onRemove={() => {}} />
|
|
49
|
+
</Router>
|
|
50
|
+
);
|
|
51
|
+
|
|
52
|
+
expect(component.exists()).toBeTruthy();
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
it("SnippetForm should be mount without issues", () => {
|
|
56
|
+
const component = mount(
|
|
57
|
+
<SnippetForm
|
|
58
|
+
isLoading={false}
|
|
59
|
+
onSubmit={() => {}}
|
|
60
|
+
templates={[{ id: "1", name: "test", colors: [], type: "event" }]}
|
|
61
|
+
defaultValues={{
|
|
62
|
+
name: "",
|
|
63
|
+
type: "event",
|
|
64
|
+
templateId: "",
|
|
65
|
+
snippetSetting: {
|
|
66
|
+
displayDescription: false,
|
|
67
|
+
displayCost: true,
|
|
68
|
+
displayType: true,
|
|
69
|
+
},
|
|
70
|
+
viewType: "grid",
|
|
71
|
+
}}
|
|
72
|
+
/>
|
|
73
|
+
);
|
|
74
|
+
|
|
75
|
+
expect(component.exists()).toBeTruthy();
|
|
76
|
+
});
|
|
77
|
+
});
|
package/tsconfig.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"tests",
|
|
9
9
|
"**/*.test*",
|
|
10
10
|
"**/*.spec*",
|
|
11
|
-
"src/**/*.stories.*"
|
|
11
|
+
"src/**/*.stories.*",
|
|
12
12
|
],
|
|
13
13
|
"compilerOptions": {
|
|
14
14
|
"skipLibCheck": false,
|
|
@@ -40,6 +40,6 @@
|
|
|
40
40
|
"composite": true,
|
|
41
41
|
"declaration": true,
|
|
42
42
|
"declarationMap": true,
|
|
43
|
-
"sourceMap": false
|
|
43
|
+
"sourceMap": false,
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<circle cx="16" cy="16" r="15.5" fill="#F3F3F3" stroke="#F0F0F0"/>
|
|
3
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M10.293 15.2929C9.90252 15.6834 9.90252 16.3166 10.293 16.7071L16.657 23.0711C17.0475 23.4616 17.6807 23.4616 18.0712 23.0711C18.4617 22.6805 18.4617 22.0474 18.0712 21.6569L12.4144 16L18.0712 10.3431C18.4617 9.95262 18.4617 9.31946 18.0712 8.92893C17.6807 8.53841 17.0475 8.53841 16.657 8.92893L10.293 15.2929Z" fill="#1A182B"/>
|
|
4
|
-
</svg>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="7" height="11" viewBox="0 0 7 11" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<rect x="0.943939" y="1.03658" width="5.25188" height="3.04878" rx="1.5" fill="#4CF973" stroke="white"/>
|
|
3
|
-
<rect x="0.943939" y="4.10976" width="5.25188" height="3.04878" rx="1.5" fill="#4CF973" stroke="white"/>
|
|
4
|
-
<rect x="0.943939" y="7.18292" width="5.25188" height="3.04878" rx="1.5" fill="#4CF973" stroke="white"/>
|
|
5
|
-
</svg>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="7" height="11" viewBox="0 0 7 11" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<rect x="1.2406" y="1.03658" width="5.25188" height="3.04878" rx="1.5" fill="#E4E4E4" stroke="white"/>
|
|
3
|
-
<rect x="1.2406" y="4.10976" width="5.25188" height="3.04878" rx="1.5" fill="#FDD054" stroke="white"/>
|
|
4
|
-
<rect x="1.2406" y="7.18292" width="5.25188" height="3.04878" rx="1.5" fill="#FDD054" stroke="white"/>
|
|
5
|
-
</svg>
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg width="7" height="10" viewBox="0 0 7 10" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<rect width="5.94013" height="10" transform="translate(0.497131)" fill="white"/>
|
|
3
|
-
<rect x="0.591156" y="0.5" width="5.75211" height="3" rx="1.5" fill="#E4E4E4" stroke="white"/>
|
|
4
|
-
<rect x="0.591156" y="3.5" width="5.75211" height="3" rx="1.5" fill="#E4E4E4" stroke="white"/>
|
|
5
|
-
<rect x="0.591156" y="6.5" width="5.75211" height="3" rx="1.5" fill="#E4E4E4" stroke="white"/>
|
|
6
|
-
</svg>
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { DateTime } from "luxon";
|
|
3
|
-
import { DateTimeButtonProps } from "./DateTimeButton";
|
|
4
|
-
type DateContentProps = Pick<DateTimeButtonProps, "isDisabled" | "isSelected"> & {
|
|
5
|
-
date: DateTime;
|
|
6
|
-
};
|
|
7
|
-
export declare const DateContent: ({ date, isDisabled, isSelected, }: DateContentProps) => JSX.Element;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=DateContent.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DateContent.d.ts","sourceRoot":"","sources":["../../src/date-time-button/DateContent.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGjC,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAEvD,KAAK,gBAAgB,GAAG,IAAI,CAC1B,mBAAmB,EACnB,YAAY,GAAG,YAAY,CAC5B,GAAG;IACF,IAAI,EAAE,QAAQ,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,WAAW,sCAIrB,gBAAgB,gBAyBlB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var t=require("tslib"),r=e(require("react")),i=require("@licklist/core/dist/Config"),a=require("react-i18next"),o=e(require("clsx")),s=require("@licklist/plugins/dist/utils/formatDate"),l=require("date-fns");exports.DateContent=function(e){var n=e.date,c=e.isDisabled,d=e.isSelected,u=a.useTranslation("Design").t,f=t.__read(n.toFormat(i.DAY_NUMBER_WITH_MONTH).split(" "),2),m=f[0],D=f[1];return r.createElement("div",{className:"weekday-info"},r.createElement("div",null,l.isToday(n.toJSDate())?u("today"):l.isTomorrow(n.toJSDate())?u("tomorrow"):n.toFormat(i.DAY_OF_WEEK)),r.createElement("div",{className:o("descriptions",d&&"selected",c&&"disabled")},"".concat(s.getDayWithOrdinal(+m)," ").concat(D)))};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from "react";
|
|
2
|
-
import { DateTime } from "luxon";
|
|
3
|
-
export type DateTimeButtonProps<T = DateTime | string> = {
|
|
4
|
-
date: T;
|
|
5
|
-
isSelected?: boolean;
|
|
6
|
-
isDisabled?: boolean;
|
|
7
|
-
onSelect: (date: T) => void;
|
|
8
|
-
isOnlyTimeContainer?: boolean;
|
|
9
|
-
price?: string | number | ReactElement | null;
|
|
10
|
-
};
|
|
11
|
-
export declare const DateTimeButton: <T extends string | DateTime>({ date, isDisabled, isSelected, onSelect, isOnlyTimeContainer, price, }: DateTimeButtonProps<T>) => JSX.Element;
|
|
12
|
-
//# sourceMappingURL=DateTimeButton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DateTimeButton.d.ts","sourceRoot":"","sources":["../../src/date-time-button/DateTimeButton.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGjC,MAAM,MAAM,mBAAmB,CAAC,CAAC,GAAG,QAAQ,GAAG,MAAM,IAAI;IACvD,IAAI,EAAE,CAAC,CAAC;IACR,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,CAAC;IAC5B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,YAAY,GAAG,IAAI,CAAC;CAC/C,CAAC;AAEF,eAAO,MAAM,cAAc,+IA0D1B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("react")),n=e(require("clsx")),i=require("./DateContent.js");exports.DateTimeButton=function(e){var r=e.date,a=e.isDisabled,o=e.isSelected,s=e.onSelect,c=e.isOnlyTimeContainer,l=e.price,u="string"==typeof r;return t.createElement("button",{type:"button",onClick:function(){return s(r)},disabled:a,className:n("date-time-button",a&&"disabled",o&&"selected",u&&"time-button",c&&"only-time-container",!u&&"today")},u?r:t.createElement(i.DateContent,{date:r,isDisabled:a,isSelected:o}),l&&t.createElement("div",{className:"price"},l))};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/date-time-button/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProductTooltip.d.ts","sourceRoot":"","sources":["../../../../../../src/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.tsx"],"names":[],"mappings":";AAkBA,KAAK,mBAAmB,GAAG;IACzB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,cAAc,mBAAoB,mBAAmB,gBA2CjE,CAAC"}
|
package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=require("react"),r=(e=t)&&"object"==typeof e&&"default"in e?e.default:e,i=require("react-konva"),l="#000";exports.ProductTooltip=function(e){var t=e.x,o=e.y,c=e.text;return r.createElement(i.Group,{width:60,height:20,x:t+30,y:o-1},r.createElement(i.Rect,{x:-5,y:5,sceneFunc:function(e){e.beginPath(),e.moveTo(0,5),e.lineTo(5,0),e.lineTo(5,10),e.closePath(),e.fill()},fill:l,borderColor:l,opacity:.8}),r.createElement(i.Rect,{x:0,y:0,width:60,height:20,fill:l,cornerRadius:5,opacity:.8}),r.createElement(i.Text,{y:4,text:c,strokeWidth:5,width:60,align:"center",verticalAlign:"middle",fill:"#FFF"}))};
|
package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|