@licklist/design 0.44.485-dev.9 → 0.44.485-dev.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/affiliate/types/index.d.ts +1 -1
- package/dist/affiliate/types/index.d.ts.map +1 -1
- package/dist/assets/iframe/dateInfo/available.svg +5 -0
- package/dist/assets/iframe/dateInfo/limited.svg +5 -0
- package/dist/assets/iframe/dateInfo/soldOut.svg +6 -0
- package/dist/auth/Login/LoginComponent.d.ts +1 -1
- package/dist/auth/Login/LoginComponent.d.ts.map +1 -1
- package/dist/auth/Login/LoginFormComponent.d.ts +1 -1
- package/dist/auth/Login/LoginFormComponent.d.ts.map +1 -1
- package/dist/auth/Register/RegisterComponent.d.ts +1 -1
- package/dist/auth/Register/RegisterComponent.d.ts.map +1 -1
- package/dist/auth/Register/RegisterFormComponent.d.ts +1 -1
- package/dist/auth/Register/RegisterFormComponent.d.ts.map +1 -1
- package/dist/auth/ResetPassword/ResetPasswordFormComponent.d.ts +1 -1
- package/dist/auth/ResetPassword/ResetPasswordFormComponent.d.ts.map +1 -1
- package/dist/collapsible-input-group/CollapsibleInputGroup.d.ts +1 -1
- package/dist/collapsible-input-group/CollapsibleInputGroup.d.ts.map +1 -1
- package/dist/custom-fields/field-set/CustomFieldSets.d.ts +3 -3
- package/dist/custom-fields/field-set/CustomFieldSets.d.ts.map +1 -1
- package/dist/custom-fields/field-set/components/CustomFieldSet/CustomFieldSet.d.ts +1 -1
- package/dist/custom-fields/field-set/components/CustomFieldSet/CustomFieldSet.d.ts.map +1 -1
- package/dist/custom-fields/field-set/contexts/useCustomFieldSets.d.ts +2 -2
- package/dist/custom-fields/field-set/contexts/useCustomFieldSets.d.ts.map +1 -1
- package/dist/customers/components/filter/CustomerFilter.d.ts +1 -1
- package/dist/customers/components/filter/CustomerFilter.d.ts.map +1 -1
- package/dist/date-time-button/DateTimeButton.d.ts +12 -0
- package/dist/date-time-button/DateTimeButton.d.ts.map +1 -0
- package/dist/date-time-button/DateTimeButton.js +1 -0
- package/dist/date-time-button/index.d.ts +2 -0
- package/dist/date-time-button/index.d.ts.map +1 -0
- package/dist/events/edit-event-modal/IntervalInput.d.ts +4 -1
- package/dist/events/edit-event-modal/IntervalInput.d.ts.map +1 -1
- package/dist/events/edit-event-modal/IntervalInput.js +1 -1
- package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.d.ts.map +1 -1
- package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.js +1 -1
- package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.d.ts.map +1 -1
- package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.js +1 -1
- package/dist/events/edit-event-modal/utils/getDefaultProductSet.d.ts.map +1 -1
- package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +1 -1
- package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.d.ts +3 -3
- package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.d.ts.map +1 -1
- package/dist/events/event-statistic-modal/EventStatisticModal.d.ts +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 +5 -2
- package/dist/events/event-venue-map/EventVenueMap.d.ts.map +1 -1
- package/dist/events/event-venue-map/EventVenueMap.js +1 -1
- package/dist/events/event-venue-map/components/Dropdown/Dropdown.d.ts +1 -1
- package/dist/events/event-venue-map/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/ProductsControl/ProductsControl.d.ts +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/ProductsControl/ProductsControl.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/SelectControl/SelectControl.d.ts +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/SelectControl/SelectControl.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/MapPoint.d.ts +1 -1
- package/dist/events/event-venue-map/components/MapPoint/MapPoint.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/MapPoint.js +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/DeleteIcon/DeleteIcon.d.ts +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/DeleteIcon/DeleteIcon.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/EditIcon/EditIcon.d.ts +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/EditIcon/EditIcon.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/PointIcon/PointIcon.d.ts +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/PointIcon/PointIcon.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.d.ts +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/MapPoint/components/ProductTooltip/ProductTooltip.d.ts +9 -0
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.d.ts.map +1 -0
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.js +1 -0
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.d.ts +2 -0
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.d.ts.map +1 -0
- package/dist/events/event-venue-map/components/VenueMap/VenueMap.d.ts +4 -2
- package/dist/events/event-venue-map/components/VenueMap/VenueMap.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/VenueMap/VenueMap.js +1 -1
- package/dist/events/event-venue-map/hooks/useCanvasSize.d.ts +1 -1
- package/dist/events/event-venue-map/hooks/useCanvasSize.d.ts.map +1 -1
- package/dist/events/event-venue-map/hooks/useStageActions.d.ts +1 -1
- package/dist/events/event-venue-map/hooks/useStageActions.d.ts.map +1 -1
- package/dist/events/event-venue-map/types/index.d.ts +5 -5
- package/dist/events/event-venue-map/types/index.d.ts.map +1 -1
- package/dist/events/event-venue-map/utils/index.d.ts +3 -3
- package/dist/events/event-venue-map/utils/index.d.ts.map +1 -1
- package/dist/file-upload/FilePreview.d.ts +2 -2
- package/dist/file-upload/FilePreview.d.ts.map +1 -1
- package/dist/file-upload/FileUpload.d.ts +1 -1
- package/dist/file-upload/FileUpload.d.ts.map +1 -1
- package/dist/header/Header.d.ts +1 -1
- package/dist/header/Header.d.ts.map +1 -1
- package/dist/help/example/Example.d.ts +4 -4
- package/dist/help/example/Example.d.ts.map +1 -1
- package/dist/help/popover/HelpPopover.d.ts +5 -3
- package/dist/help/popover/HelpPopover.d.ts.map +1 -1
- package/dist/help/popover/HelpPopover.js +1 -1
- package/dist/iframe/activity-cards/activity-card/ActivityCard.d.ts +12 -0
- package/dist/iframe/activity-cards/activity-card/ActivityCard.d.ts.map +1 -0
- package/dist/iframe/activity-cards/activity-card/ActivityCard.js +1 -0
- package/dist/iframe/activity-cards/index.d.ts +3 -0
- package/dist/iframe/activity-cards/index.d.ts.map +1 -0
- package/dist/iframe/activity-cards/list-activity-card/ListActivityCard.d.ts +12 -0
- package/dist/iframe/activity-cards/list-activity-card/ListActivityCard.d.ts.map +1 -0
- package/dist/iframe/activity-cards/list-activity-card/ListActivityCard.js +1 -0
- package/dist/iframe/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/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 +5 -6
- package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.d.ts.map +1 -1
- package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.js +1 -1
- package/dist/iframe/event/event-product-sets/EventProductSets.d.ts +1 -1
- package/dist/iframe/event/event-product-sets/EventProductSets.d.ts.map +1 -1
- package/dist/iframe/event/event-product-sets/components/EventProductSet.d.ts +1 -1
- package/dist/iframe/event/event-product-sets/components/EventProductSet.d.ts.map +1 -1
- package/dist/iframe/event/event-step-venue-map-zones/EventStepVenueMapZones.d.ts +1 -1
- package/dist/iframe/event/event-step-venue-map-zones/EventStepVenueMapZones.d.ts.map +1 -1
- package/dist/iframe/event/event-step-venue-map-zones/components/EventStepVenueMapZone.d.ts +1 -1
- package/dist/iframe/event/event-step-venue-map-zones/components/EventStepVenueMapZone.d.ts.map +1 -1
- package/dist/iframe/event/event-venue-map/IframeEventVenueMap.d.ts +2 -1
- package/dist/iframe/event/event-venue-map/IframeEventVenueMap.d.ts.map +1 -1
- package/dist/iframe/index.d.ts +2 -1
- package/dist/iframe/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/BookingSummary.js +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.d.ts +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts +3 -3
- package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.d.ts +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.d.ts +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts +6 -6
- package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/utils/index.d.ts +1 -1
- package/dist/iframe/order-process/components/BookingSummary/utils/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/utils/index.js +1 -1
- package/dist/iframe/order-process/components/BookingSummaryFooter/BookingSummaryFooter.d.ts +4 -4
- package/dist/iframe/order-process/components/BookingSummaryFooter/BookingSummaryFooter.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.d.ts +3 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.js +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.d.ts +4 -2
- package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.js +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts +4 -2
- package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.js +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts +4 -3
- package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.js +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts +1 -0
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts +2 -2
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.js +1 -1
- package/dist/iframe/order-process/components/ErrorModal/ErrorModal.d.ts.map +1 -0
- package/dist/iframe/order-process/components/ErrorModal/ErrorModal.js +1 -0
- package/dist/iframe/order-process/components/ErrorModal/index.d.ts +2 -0
- package/dist/iframe/order-process/components/ErrorModal/index.d.ts.map +1 -0
- package/dist/iframe/order-process/components/NavigationSteps/NavigationSteps.d.ts +8 -7
- package/dist/iframe/order-process/components/NavigationSteps/NavigationSteps.d.ts.map +1 -1
- package/dist/iframe/order-process/components/NavigationSteps/index.d.ts +1 -1
- package/dist/iframe/order-process/components/NavigationSteps/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/PaymentCard/PaymentCard.d.ts +1 -1
- package/dist/iframe/order-process/components/PaymentCard/PaymentCard.d.ts.map +1 -1
- package/dist/iframe/order-process/components/Timer/Timer.d.ts +1 -1
- package/dist/iframe/order-process/components/Timer/Timer.d.ts.map +1 -1
- package/dist/iframe/order-process/components/Timer/utils/index.d.ts +1 -1
- package/dist/iframe/order-process/components/Timer/utils/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/Timer/utils/index.js +1 -1
- package/dist/iframe/order-process/components/utils/useCategoryVerification.d.ts +8 -0
- package/dist/iframe/order-process/components/utils/useCategoryVerification.d.ts.map +1 -0
- package/dist/iframe/order-process/components/utils/useCategoryVerification.js +1 -0
- package/dist/iframe/order-process/index.d.ts +3 -2
- package/dist/iframe/order-process/index.d.ts.map +1 -1
- package/dist/iframe/page/Page.d.ts +1 -1
- package/dist/iframe/page/Page.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/PageBody.d.ts +2 -2
- package/dist/iframe/page/components/PageBody/PageBody.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/PageBody.js +1 -1
- package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.d.ts +3 -3
- package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.js +1 -1
- package/dist/iframe/page/components/PageBody/components/RightBlock/RightBlock.d.ts +1 -1
- package/dist/iframe/page/components/PageBody/components/RightBlock/RightBlock.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/types.d.ts +1 -1
- package/dist/iframe/page/components/PageBody/types.d.ts.map +1 -1
- package/dist/iframe/page/components/PageHeader/PageHeader.d.ts +1 -1
- package/dist/iframe/page/components/PageHeader/PageHeader.d.ts.map +1 -1
- package/dist/iframe/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 +1 -0
- package/dist/iframe/payment/payment-page/PaymentTimer.d.ts.map +1 -1
- package/dist/iframe/payment/payment-page/PaymentTimer.js +1 -1
- package/dist/iframe/payment/payment-status-header/PaymentStatusHeader.d.ts +1 -1
- package/dist/iframe/payment/payment-status-header/PaymentStatusHeader.d.ts.map +1 -1
- package/dist/iframe/payment/payment-status-page/PaymentStatusPage.d.ts +5 -3
- package/dist/iframe/payment/payment-status-page/PaymentStatusPage.d.ts.map +1 -1
- package/dist/iframe/payment/payment-status-page/PaymentStatusPage.js +1 -1
- package/dist/iframe/powered-by/PoweredBy.d.ts +1 -1
- package/dist/iframe/powered-by/PoweredBy.d.ts.map +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.d.ts +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.d.ts.map +1 -1
- package/dist/image-radio-input/ImageRadioInput.d.ts +15 -0
- package/dist/image-radio-input/ImageRadioInput.d.ts.map +1 -0
- package/dist/image-radio-input/ImageRadioInput.js +1 -0
- package/dist/image-radio-input/index.d.ts.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/logo/Logo.d.ts +1 -1
- package/dist/logo/Logo.d.ts.map +1 -1
- package/dist/modals/confirmation/ConfirmModal.d.ts +2 -2
- package/dist/modals/confirmation/ConfirmModal.d.ts.map +1 -1
- package/dist/notification/email-template/card/EmailTemplateCard.d.ts +4 -1
- package/dist/notification/email-template/card/EmailTemplateCard.d.ts.map +1 -1
- package/dist/notification/email-template/card/EmailTemplateCard.js +1 -1
- package/dist/notification/email-template/control/EmailTemplateControl.d.ts +3 -0
- package/dist/notification/email-template/control/EmailTemplateControl.d.ts.map +1 -1
- package/dist/notification/email-template/control/EmailTemplateControl.js +1 -1
- package/dist/notification/email-template/form/EmailTemplateForm.d.ts +7 -1
- package/dist/notification/email-template/form/EmailTemplateForm.d.ts.map +1 -1
- package/dist/notification/email-template/form/EmailTemplateForm.js +1 -1
- package/dist/notification/hooks/useTranslatedParameters.d.ts +7 -0
- package/dist/notification/hooks/useTranslatedParameters.d.ts.map +1 -0
- package/dist/notification/hooks/useTranslatedParameters.js +1 -0
- package/dist/notification/sms-template/card/SmsTemplateCard.d.ts +4 -1
- package/dist/notification/sms-template/card/SmsTemplateCard.d.ts.map +1 -1
- package/dist/notification/sms-template/card/SmsTemplateCard.js +1 -1
- package/dist/notification/sms-template/control/SmsTemplateControl.d.ts +6 -1
- package/dist/notification/sms-template/control/SmsTemplateControl.d.ts.map +1 -1
- package/dist/notification/sms-template/control/SmsTemplateControl.js +1 -1
- package/dist/notification/sms-template/form/SmsTemplateForm.d.ts +5 -1
- package/dist/notification/sms-template/form/SmsTemplateForm.d.ts.map +1 -1
- package/dist/notification/sms-template/form/SmsTemplateForm.js +1 -1
- package/dist/product-set/control/DateAndRecurrenceInput.d.ts +2 -0
- package/dist/product-set/control/DateAndRecurrenceInput.d.ts.map +1 -1
- package/dist/product-set/control/DateAndRecurrenceInput.js +1 -1
- package/dist/product-set/control/ProductSetControl.d.ts +16 -4
- package/dist/product-set/control/ProductSetControl.d.ts.map +1 -1
- package/dist/product-set/control/ProductSetControl.js +1 -1
- package/dist/product-set/deposit-paid/ProductSetDepositPaidControl.d.ts +3 -3
- package/dist/product-set/deposit-paid/ProductSetDepositPaidControl.d.ts.map +1 -1
- package/dist/product-set/elements/DeleteFieldButton.d.ts +1 -1
- package/dist/product-set/elements/DeleteFieldButton.d.ts.map +1 -1
- package/dist/product-set/form/ProductCategoriesControl.d.ts.map +1 -1
- package/dist/product-set/form/ProductCategoriesControl.js +1 -1
- package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
- package/dist/product-set/form/ProductSetForm.js +1 -1
- package/dist/product-set/form/ProductsControl.d.ts.map +1 -1
- package/dist/product-set/form/ProductsControl.js +1 -1
- package/dist/product-set/form/StepsControl.d.ts.map +1 -1
- package/dist/product-set/form/StepsControl.js +1 -1
- package/dist/product-set/form/VenueMapSetModal.d.ts +1 -1
- package/dist/product-set/form/VenueMapSetModal.d.ts.map +1 -1
- package/dist/product-set/form/VenueMapsControl.d.ts +1 -1
- package/dist/product-set/form/VenueMapsControl.d.ts.map +1 -1
- package/dist/product-set/form/context.d.ts +1 -1
- package/dist/product-set/form/context.d.ts.map +1 -1
- package/dist/product-set/hooks/useSortableTreeFunctions.d.ts +11 -0
- package/dist/product-set/hooks/useSortableTreeFunctions.d.ts.map +1 -0
- package/dist/product-set/hooks/useSortableTreeFunctions.js +1 -0
- package/dist/product-set/popover/ProductSetPopover.d.ts +1 -1
- package/dist/product-set/popover/ProductSetPopover.d.ts.map +1 -1
- package/dist/product-set/product/ProductControl.d.ts +1 -0
- package/dist/product-set/product/ProductControl.d.ts.map +1 -1
- package/dist/product-set/product/ProductControl.js +1 -1
- package/dist/product-set/product/constants.d.ts +2 -0
- package/dist/product-set/product/constants.d.ts.map +1 -0
- package/dist/product-set/product/constants.js +1 -0
- package/dist/product-set/product/fixed-duration-fields/FixedDurationOptions.d.ts +1 -1
- package/dist/product-set/product/fixed-duration-fields/FixedDurationOptions.d.ts.map +1 -1
- package/dist/product-set/product/price/ProductPriceControl.d.ts +7 -3
- package/dist/product-set/product/price/ProductPriceControl.d.ts.map +1 -1
- package/dist/product-set/product/price/ProductPriceControl.js +1 -1
- package/dist/product-set/product/quantity/ProductQuantityRechargingControl.d.ts.map +1 -1
- package/dist/product-set/product/quantity/ProductQuantityRechargingControl.js +1 -1
- package/dist/product-set/product-category/ProductCategoryControl.js +1 -1
- package/dist/product-set/tabs/ProductSetTab.d.ts +1 -1
- package/dist/product-set/tabs/ProductSetTab.d.ts.map +1 -1
- package/dist/product-set/tabs/ProductSetTabs.d.ts +1 -1
- package/dist/product-set/tabs/ProductSetTabs.d.ts.map +1 -1
- package/dist/product-set/types/index.d.ts +5 -5
- package/dist/product-set/types/index.d.ts.map +1 -1
- package/dist/product-set/utils/index.d.ts +4 -0
- package/dist/product-set/utils/index.d.ts.map +1 -1
- package/dist/product-set/utils/index.js +1 -1
- package/dist/provider/categories-input/CategoriesInput.d.ts +1 -1
- package/dist/provider/categories-input/CategoriesInput.d.ts.map +1 -1
- package/dist/provider/categories-input/CategoriesInputDescription.d.ts +1 -1
- package/dist/provider/categories-input/CategoriesInputDescription.d.ts.map +1 -1
- package/dist/provider/categories-input/index.d.ts +1 -1
- package/dist/provider/categories-input/index.d.ts.map +1 -1
- package/dist/provider/company/user-form/UserForm.d.ts +2 -2
- package/dist/provider/company/user-form/UserForm.d.ts.map +1 -1
- package/dist/provider/constants.d.ts +2 -0
- package/dist/provider/constants.d.ts.map +1 -0
- package/dist/provider/constants.js +1 -0
- package/dist/provider/location-input/index.d.ts +1 -1
- package/dist/provider/location-input/index.d.ts.map +1 -1
- package/dist/provider/provider-details-input/ProviderDetailsInput.d.ts +2 -2
- package/dist/provider/provider-details-input/ProviderDetailsInput.d.ts.map +1 -1
- package/dist/provider/provider-details-input/ProviderDetailsInput.js +1 -1
- package/dist/provider/provider-form/ProviderForm.d.ts +1 -1
- package/dist/provider/provider-form/ProviderForm.d.ts.map +1 -1
- package/dist/provider/provider-links-input/ProviderLinksInput.d.ts +2 -2
- package/dist/provider/provider-links-input/ProviderLinksInput.d.ts.map +1 -1
- package/dist/provider/resources-blocking-modal/ResourcesBlockingModal.d.ts +1 -1
- package/dist/provider/resources-blocking-modal/ResourcesBlockingModal.d.ts.map +1 -1
- package/dist/provider/venue-form/VenueForm.d.ts +1 -1
- package/dist/provider/venue-form/VenueForm.d.ts.map +1 -1
- package/dist/provider/working-hours-input/index.d.ts +1 -1
- package/dist/provider/working-hours-input/index.d.ts.map +1 -1
- package/dist/radio-card/RadioCard.d.ts +13 -0
- package/dist/radio-card/RadioCard.d.ts.map +1 -0
- package/dist/radio-card/RadioCard.js +1 -0
- package/dist/radio-card/index.d.ts +2 -0
- package/dist/radio-card/index.d.ts.map +1 -0
- package/dist/recurrence-input/utils.d.ts +2 -2
- package/dist/recurrence-input/utils.d.ts.map +1 -1
- package/dist/recurring-date-picker-input/RecurringDatePickerInput.js +1 -1
- package/dist/recurring-date-picker-input/utils.d.ts +2 -2
- package/dist/recurring-date-picker-input/utils.d.ts.map +1 -1
- package/dist/resource/form/ResourceForm.d.ts +2 -2
- package/dist/resource/form/ResourceForm.d.ts.map +1 -1
- package/dist/resource/form/components/CapacityControl.d.ts +1 -1
- package/dist/resource/form/components/CapacityControl.d.ts.map +1 -1
- package/dist/resource/form/components/NameControl.d.ts +1 -1
- package/dist/resource/form/components/NameControl.d.ts.map +1 -1
- package/dist/resource/form/components/SortControl.d.ts +1 -1
- package/dist/resource/form/components/SortControl.d.ts.map +1 -1
- package/dist/resource/form/components/ZoneControl.d.ts +1 -1
- package/dist/resource/form/components/ZoneControl.d.ts.map +1 -1
- package/dist/sales/booking/index.d.ts +0 -2
- package/dist/sales/booking/index.d.ts.map +1 -1
- package/dist/sales/booking/results/BookingResults.d.ts +1 -1
- package/dist/sales/booking/results/BookingResults.d.ts.map +1 -1
- package/dist/sales/booking/results/components/ResultCard.d.ts +1 -1
- package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
- package/dist/sales/booking/results/components/ResultCard.js +1 -1
- package/dist/sales/booking/results/constants.d.ts.map +1 -1
- package/dist/sales/booking/results/constants.js +1 -1
- package/dist/sales/booking/results/index.d.ts +1 -0
- package/dist/sales/booking/results/index.d.ts.map +1 -1
- package/dist/sales/coupon/control/CouponFormControl.d.ts.map +1 -1
- package/dist/sales/coupon/control/CouponFormControl.js +1 -1
- package/dist/sales/filters/SaleFilters.d.ts +2 -3
- package/dist/sales/filters/SaleFilters.d.ts.map +1 -1
- package/dist/sales/guest-profile/previous-bookings/PreviousBookings.d.ts +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 +2 -2
- package/dist/sales/manual-booking/category-product/CategoryProduct.d.ts.map +1 -1
- package/dist/sales/manual-booking/category-products/CategoryProducts.d.ts +2 -2
- package/dist/sales/manual-booking/category-products/CategoryProducts.d.ts.map +1 -1
- package/dist/sales/manual-booking/controll/ManualBookingStepsControll.d.ts +2 -2
- package/dist/sales/manual-booking/controll/ManualBookingStepsControll.d.ts.map +1 -1
- package/dist/sales/manual-booking/controll/ManualBookingStepsControll.js +1 -1
- package/dist/sales/manual-booking/create-user/CreateUser.js +1 -1
- package/dist/sales/manual-booking/customer-info/CustomerInfo.d.ts +1 -1
- package/dist/sales/manual-booking/customer-info/CustomerInfo.d.ts.map +1 -1
- package/dist/sales/manual-booking/final-step/FinalStep.d.ts +1 -1
- package/dist/sales/manual-booking/final-step/FinalStep.d.ts.map +1 -1
- package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.d.ts +1 -1
- package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.d.ts.map +1 -1
- package/dist/sales/manual-booking/select-date-type-control/SelectDateTypeControl.d.ts +1 -1
- package/dist/sales/manual-booking/select-date-type-control/SelectDateTypeControl.d.ts.map +1 -1
- package/dist/sales/manual-booking/select-menu/SelectMenu.d.ts +1 -1
- 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 +1 -1
- package/dist/sales/manual-booking/select-menu/components/MenuButton.d.ts.map +1 -1
- package/dist/sales/notes/NotesTable.d.ts +1 -1
- package/dist/sales/notes/NotesTable.d.ts.map +1 -1
- package/dist/sales/notes/NotesTableRow.d.ts +1 -1
- package/dist/sales/notes/NotesTableRow.d.ts.map +1 -1
- package/dist/sales/notes/note-form/NoteForm.d.ts +1 -1
- package/dist/sales/notes/note-form/NoteForm.d.ts.map +1 -1
- package/dist/sales/payment-form/SalePaymentForm.d.ts +2 -2
- package/dist/sales/payment-form/SalePaymentForm.d.ts.map +1 -1
- package/dist/sales/payment-form/components/RyftPayment/RyftPayment.d.ts +1 -1
- package/dist/sales/payment-form/components/RyftPayment/RyftPayment.d.ts.map +1 -1
- package/dist/sales/payment-form/types.d.ts +2 -2
- package/dist/sales/payment-form/types.d.ts.map +1 -1
- package/dist/sales/sales-and-views/SalesAndViewsChart.d.ts +1 -1
- package/dist/sales/sales-and-views/SalesAndViewsChart.d.ts.map +1 -1
- package/dist/setting/admin/AdminSettingForm.d.ts +1 -1
- package/dist/setting/admin/AdminSettingForm.d.ts.map +1 -1
- package/dist/setting/admin/PaymentFeeForm.d.ts +2 -2
- package/dist/setting/admin/PaymentFeeForm.d.ts.map +1 -1
- package/dist/setting/dashboard/DashboardSettingForm.d.ts +1 -1
- package/dist/setting/dashboard/DashboardSettingForm.d.ts.map +1 -1
- package/dist/setting/dashboard/EventSettingForm.d.ts +2 -2
- package/dist/setting/dashboard/EventSettingForm.d.ts.map +1 -1
- package/dist/setting/dashboard/FinancialDataForm.d.ts +2 -2
- package/dist/setting/dashboard/FinancialDataForm.d.ts.map +1 -1
- package/dist/setting/dashboard/OtherSettingForm.d.ts +2 -2
- package/dist/setting/dashboard/OtherSettingForm.d.ts.map +1 -1
- package/dist/setting/dashboard/ProviderSettingForm.d.ts +2 -2
- package/dist/setting/dashboard/ProviderSettingForm.d.ts.map +1 -1
- package/dist/setting/dashboard/index.d.ts +0 -2
- package/dist/setting/dashboard/index.d.ts.map +1 -1
- package/dist/setting/system/SystemSettingForm.d.ts +1 -1
- package/dist/setting/system/SystemSettingForm.d.ts.map +1 -1
- package/dist/snippet/snippet-template/SnippetTemplate.js +1 -1
- package/dist/snippet/snippet-template/context/snippetTemplate.d.ts +1 -1
- package/dist/snippet/snippet-template/context/snippetTemplate.d.ts.map +1 -1
- package/dist/snippet/snippet-template/form/SnippetTemplateForm.js +1 -1
- package/dist/snippet/snippet-template/preview/Preview.d.ts.map +1 -1
- package/dist/snippet/snippet-template/preview/Preview.js +1 -1
- package/dist/sortable-fields/SortableFieldItem.d.ts +9 -0
- package/dist/sortable-fields/SortableFieldItem.d.ts.map +1 -0
- package/dist/sortable-fields/SortableFieldItem.js +1 -0
- package/dist/sortable-fields/SortableFieldList.d.ts +18 -0
- package/dist/sortable-fields/SortableFieldList.d.ts.map +1 -0
- package/dist/sortable-fields/SortableFieldList.js +1 -0
- package/dist/sortable-fields/index.d.ts +2 -0
- package/dist/sortable-fields/index.d.ts.map +1 -0
- package/dist/sortable-list/SortableList.d.ts +4 -4
- package/dist/sortable-list/SortableList.d.ts.map +1 -1
- package/dist/sortable-tree/SortableTreeItem.d.ts +5 -2
- package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
- package/dist/sortable-tree/SortableTreeItem.js +1 -1
- package/dist/sorting-select/SortingSelect.d.ts +10 -0
- package/dist/sorting-select/SortingSelect.d.ts.map +1 -0
- package/dist/sorting-select/SortingSelect.js +1 -0
- package/dist/sorting-select/index.d.ts +2 -0
- package/dist/sorting-select/index.d.ts.map +1 -0
- package/dist/static/Icon.d.ts +1 -1
- package/dist/static/Icon.d.ts.map +1 -1
- package/dist/static/date-range-input/DateRangeInput.d.ts +4 -4
- package/dist/static/date-range-input/DateRangeInput.d.ts.map +1 -1
- package/dist/static/date-range-input/DateRangeInput.js +1 -1
- package/dist/static/images/DefaultUserImage.d.ts +1 -1
- package/dist/static/images/DefaultUserImage.d.ts.map +1 -1
- package/dist/static/loader/ButtonLoader.d.ts +1 -1
- package/dist/static/loader/ButtonLoader.d.ts.map +1 -1
- package/dist/static/loader/PaymentLoader.d.ts +1 -1
- package/dist/static/loader/PaymentLoader.d.ts.map +1 -1
- package/dist/static/manual-date-picker/ManualDatePicker.d.ts +1 -1
- package/dist/static/manual-date-picker/ManualDatePicker.d.ts.map +1 -1
- package/dist/static/manual-date-picker/hooks/useManualDatePicker.d.ts +2 -2
- package/dist/static/manual-date-picker/hooks/useManualDatePicker.d.ts.map +1 -1
- package/dist/static/tabs/Tab.d.ts +1 -1
- package/dist/static/tabs/Tab.d.ts.map +1 -1
- package/dist/static/tabs/Tabs.d.ts +1 -1
- package/dist/static/tabs/Tabs.d.ts.map +1 -1
- package/dist/striped-static-table/StripedStaticTable.d.ts +7 -0
- package/dist/striped-static-table/StripedStaticTable.d.ts.map +1 -0
- package/dist/striped-static-table/StripedStaticTable.js +1 -0
- package/dist/striped-static-table/index.d.ts +2 -0
- package/dist/striped-static-table/index.d.ts.map +1 -0
- package/dist/styles/events/EventStatisticModal.scss +0 -37
- package/dist/styles/events/EventVenueMap.scss +1 -1
- package/dist/styles/iframe-customers-journey/ActivitiesCard.scss +37 -0
- package/dist/styles/iframe-customers-journey/ActivitiesSelectedCard.scss +57 -0
- package/dist/styles/iframe-customers-journey/DateTimeButton.scss +84 -0
- package/dist/styles/iframe-customers-journey/_index.scss +3 -0
- package/dist/styles/iframe-order-process/IframeOrderProcess.scss +12 -4
- package/dist/styles/iframe-page/PageBody.scss +2 -0
- package/dist/styles/{widgets/ImageRadioInput.scss → image-radio-input/_index.scss} +12 -0
- package/dist/styles/packages.scss +5 -1
- package/dist/styles/{widgets/WidgetTypeRadioButton.scss → radio-card/_index.scss} +8 -1
- package/dist/styles/sales/BookingFilter.scss +45 -11
- package/dist/styles/sales/RandomColors.scss +7 -4
- package/dist/styles/snippet-templates/SnippetTemplateCard.scss +16 -0
- package/dist/styles/sortable-field/SortableField.scss +21 -0
- package/dist/styles/sortable-field/_index.scss +1 -0
- package/dist/styles/static/DateRangeInput.scss +5 -1
- package/dist/styles/striped-static-table/_index.scss +33 -0
- package/dist/styles/themes/bookedit/_variables.scss +3 -2
- package/dist/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 +6 -4
- 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 +6 -12
- package/dist/typeahead/Typeahead.d.ts.map +1 -1
- package/dist/typeahead/Typeahead.js +1 -1
- package/dist/typeahead-helper/TypeaheadHelperComponent.d.ts +1 -1
- package/dist/typeahead-helper/TypeaheadHelperComponent.d.ts.map +1 -1
- package/dist/types/categories.d.ts +2 -2
- package/dist/types/categories.d.ts.map +1 -1
- package/dist/types/currency.d.ts +1 -1
- package/dist/types/currency.d.ts.map +1 -1
- package/dist/types/generic/SelectItem.d.ts +1 -1
- package/dist/types/generic/SelectItem.d.ts.map +1 -1
- package/dist/types/iframe.d.ts +5 -3
- package/dist/types/iframe.d.ts.map +1 -1
- package/dist/types/provider-links.d.ts +2 -2
- package/dist/types/provider-links.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/NameControl.d.ts +1 -1
- package/dist/venue-map-sets/form/components/NameControl.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/VenueMapControl.d.ts +4 -4
- package/dist/venue-map-sets/form/components/VenueMapControl.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/VenueMapImageControl.d.ts +1 -1
- package/dist/venue-map-sets/form/components/VenueMapImageControl.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/VenueMapModal.d.ts +1 -1
- package/dist/venue-map-sets/form/components/VenueMapModal.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/VenueMapsControl.d.ts +1 -1
- package/dist/venue-map-sets/form/components/VenueMapsControl.d.ts.map +1 -1
- package/dist/venue-map-sets/form/types/index.d.ts +4 -4
- package/dist/venue-map-sets/form/types/index.d.ts.map +1 -1
- package/dist/virtualized/components/VirtualizedGrid.d.ts +1 -1
- package/dist/virtualized/components/VirtualizedGrid.d.ts.map +1 -1
- package/dist/virtualized/components/VirtualizedWindowScroller.d.ts +3 -3
- package/dist/virtualized/components/VirtualizedWindowScroller.d.ts.map +1 -1
- package/dist/virtualized/context/VirtualizedContext.d.ts +2 -2
- package/dist/virtualized/context/VirtualizedContext.d.ts.map +1 -1
- package/dist/zone/form/ZoneForm.d.ts +2 -2
- package/dist/zone/form/ZoneForm.d.ts.map +1 -1
- package/dist/zone/form/components/AvailableTimesControl.d.ts +2 -2
- package/dist/zone/form/components/AvailableTimesControl.d.ts.map +1 -1
- package/dist/zone/form/components/AvailableTimesControl.js +1 -1
- package/dist/zone/form/components/DescriptionControl.d.ts +1 -1
- package/dist/zone/form/components/DescriptionControl.d.ts.map +1 -1
- package/dist/zone/form/components/NameControl.d.ts +1 -1
- package/dist/zone/form/components/NameControl.d.ts.map +1 -1
- package/dist/zone/form/components/SortControl.d.ts +1 -1
- package/dist/zone/form/components/SortControl.d.ts.map +1 -1
- package/dist/zone/form/components/ZoneControl.d.ts +1 -1
- package/dist/zone/form/components/ZoneControl.d.ts.map +1 -1
- package/dist/zone/form/components/ZoneImageControl.d.ts +1 -1
- package/dist/zone/form/components/ZoneImageControl.d.ts.map +1 -1
- package/dist/zone/form/components/ZoneRecurrencesControl.d.ts +1 -1
- package/dist/zone/form/components/ZoneRecurrencesControl.d.ts.map +1 -1
- package/dist/zone/form/components/ZoneRecurrencesControl.js +1 -1
- package/dist/zone/form/components/ZoneTypeControl.d.ts +1 -1
- package/dist/zone/form/components/ZoneTypeControl.d.ts.map +1 -1
- package/dist/zone/form/utils/dates.d.ts +1 -0
- package/dist/zone/form/utils/dates.d.ts.map +1 -1
- package/dist/zone/form/utils/dates.js +1 -1
- package/package.json +5 -4
- package/src/assets/iframe/dateInfo/available.svg +5 -0
- package/src/assets/iframe/dateInfo/limited.svg +5 -0
- package/src/assets/iframe/dateInfo/soldOut.svg +6 -0
- package/src/date-time-button/DateTimeButton.stories.tsx +68 -0
- package/src/date-time-button/DateTimeButton.tsx +106 -0
- package/src/date-time-button/index.ts +1 -0
- package/src/events/edit-event-modal/IntervalInput.tsx +28 -2
- package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx +3 -0
- package/src/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.tsx +11 -2
- package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +6 -4
- package/src/events/event-statistic-modal/EventStatisticModal.tsx +1 -1
- package/src/events/event-venue-map/EventVenueMap.tsx +4 -0
- package/src/events/event-venue-map/components/MapPoint/MapPoint.tsx +5 -3
- package/src/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.tsx +13 -2
- package/src/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.tsx +68 -0
- package/src/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.ts +1 -0
- package/src/events/event-venue-map/components/VenueMap/VenueMap.tsx +12 -4
- package/src/help/popover/HelpPopover.tsx +13 -5
- package/src/iframe/activity-cards/activity-card/ActivityCard.stories.tsx +52 -0
- package/src/iframe/activity-cards/activity-card/ActivityCard.tsx +38 -0
- package/src/iframe/activity-cards/index.ts +2 -0
- package/src/iframe/activity-cards/list-activity-card/ListActivityCard.stories.tsx +52 -0
- package/src/iframe/activity-cards/list-activity-card/ListActivityCard.tsx +49 -0
- package/src/iframe/event/event-card/IframeEventCard.stories.tsx +6 -14
- package/src/iframe/event/event-card/IframeEventCard.tsx +6 -10
- package/src/iframe/event/event-card/IframeEventCardSkeleton.tsx +20 -30
- package/src/iframe/event/event-card/IframeEventCards.stories.tsx +2 -3
- package/src/iframe/event/event-order-short-summary/components/Summary/Summary.tsx +20 -20
- package/src/iframe/event/event-venue-map/IframeEventVenueMap.stories.tsx +5 -0
- package/src/iframe/index.ts +4 -1
- package/src/iframe/order-process/components/BookingSummary/BookingSummary.tsx +4 -1
- package/src/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.tsx +2 -2
- package/src/iframe/order-process/components/BookingSummary/types/index.ts +5 -5
- package/src/iframe/order-process/components/BookingSummary/utils/index.ts +6 -2
- package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.stories.tsx +1 -0
- package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.tsx +9 -3
- package/src/iframe/order-process/components/CalendarStepsForm/components/Category.tsx +4 -0
- package/src/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.tsx +4 -0
- package/src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx +45 -11
- package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +3 -0
- package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +7 -6
- package/src/iframe/order-process/components/{CalendarStepsForm/components → ErrorModal}/ErrorModal.tsx +1 -1
- package/src/iframe/order-process/components/ErrorModal/index.ts +1 -0
- package/src/iframe/order-process/components/NavigationSteps/NavigationSteps.tsx +8 -6
- package/src/iframe/order-process/components/NavigationSteps/index.ts +1 -1
- package/src/iframe/order-process/components/Timer/Timer.stories.tsx +1 -1
- package/src/iframe/order-process/components/Timer/utils/index.ts +4 -4
- package/src/iframe/order-process/components/utils/{category.ts → useCategoryVerification.ts} +15 -10
- package/src/iframe/order-process/index.ts +3 -2
- package/src/iframe/page/components/PageBody/PageBody.tsx +1 -1
- package/src/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.tsx +4 -4
- package/src/iframe/payment/order-items-table/utils/index.ts +24 -9
- package/src/iframe/payment/payment-page/PaymentPage.tsx +46 -8
- package/src/iframe/payment/payment-page/PaymentTimer.tsx +31 -6
- package/src/iframe/payment/payment-status-page/PaymentStatusPage.tsx +66 -16
- package/src/image-radio-input/ImageRadioInput.stories.tsx +67 -0
- package/src/image-radio-input/ImageRadioInput.tsx +53 -0
- package/src/index.ts +6 -0
- package/src/logo/Logo.tsx +1 -1
- package/src/notification/email-template/card/EmailTemplateCard.stories.tsx +4 -2
- package/src/notification/email-template/card/EmailTemplateCard.tsx +15 -3
- package/src/notification/email-template/control/EmailTemplateControl.tsx +90 -6
- package/src/notification/email-template/form/EmailTemplateForm.stories.tsx +34 -0
- package/src/notification/email-template/form/EmailTemplateForm.tsx +23 -5
- package/src/notification/hooks/useTranslatedParameters.ts +27 -0
- package/src/notification/sms-template/card/SmsTemplateCard.stories.tsx +3 -1
- package/src/notification/sms-template/card/SmsTemplateCard.tsx +13 -3
- package/src/notification/sms-template/control/SmsTemplateControl.tsx +40 -2
- package/src/notification/sms-template/form/SmsTemplateForm.stories.tsx +28 -0
- package/src/notification/sms-template/form/SmsTemplateForm.tsx +6 -1
- package/src/product-set/control/DateAndRecurrenceInput.tsx +2 -2
- package/src/product-set/control/ProductSetControl.tsx +69 -45
- package/src/product-set/form/ProductCategoriesControl.tsx +9 -0
- package/src/product-set/form/ProductSetForm.stories.tsx +41 -2
- package/src/product-set/form/ProductSetForm.tsx +11 -0
- package/src/product-set/form/ProductsControl.tsx +30 -1
- package/src/product-set/form/StepsControl.tsx +31 -3
- package/src/product-set/hooks/useSortableTreeFunctions.ts +37 -0
- package/src/product-set/product/ProductControl.tsx +44 -23
- package/src/product-set/product/constants.ts +1 -0
- package/src/product-set/product/price/ProductPriceControl.tsx +43 -21
- package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +30 -16
- package/src/product-set/product-category/ProductCategoryControl.tsx +1 -1
- package/src/product-set/utils/index.ts +28 -0
- package/src/provider/constants.ts +1 -0
- package/src/provider/provider-details-input/ProviderDetailsInput.tsx +28 -4
- package/src/radio-card/RadioCard.stories.tsx +48 -0
- package/src/radio-card/RadioCard.tsx +49 -0
- package/src/radio-card/index.ts +1 -0
- package/src/sales/booking/index.ts +0 -2
- package/src/sales/booking/results/components/ResultCard.tsx +2 -2
- package/src/sales/booking/results/constants.ts +1 -0
- package/src/sales/booking/results/index.ts +1 -0
- package/src/sales/coupon/control/CouponFormControl.tsx +2 -0
- package/src/sales/filters/SaleFilter.stories.tsx +1 -1
- package/src/sales/filters/SaleFilters.tsx +2 -2
- package/src/sales/manual-booking/category-product/CategoryProduct.tsx +2 -2
- package/src/sales/manual-booking/category-products/CategoryProducts.tsx +2 -2
- package/src/sales/manual-booking/controll/ManualBookingStepsControll.tsx +3 -3
- package/src/sales/manual-booking/select-menu/SelectMenu.tsx +3 -1
- package/src/setting/dashboard/index.ts +0 -2
- package/src/snippet/snippet-template/SnippetTemplate.tsx +1 -1
- package/src/snippet/snippet-template/form/SnippetTemplateForm.tsx +10 -10
- package/src/snippet/snippet-template/preview/Preview.tsx +4 -9
- package/src/sortable-fields/SortableFieldItem.tsx +60 -0
- package/src/sortable-fields/SortableFieldList.tsx +62 -0
- package/src/sortable-fields/index.ts +1 -0
- package/src/sortable-tree/SortableTreeItem.tsx +28 -6
- package/src/sorting-select/SortingSelect.stories.tsx +15 -0
- package/src/sorting-select/SortingSelect.tsx +79 -0
- package/src/sorting-select/index.ts +1 -0
- package/src/static/date-range-input/DateRangeInput.tsx +6 -3
- package/src/striped-static-table/StripedStaticTable.stories.tsx +71 -0
- package/src/striped-static-table/StripedStaticTable.tsx +63 -0
- package/src/striped-static-table/index.ts +1 -0
- package/src/styles/events/EventStatisticModal.scss +0 -37
- package/src/styles/events/EventVenueMap.scss +1 -1
- package/src/styles/iframe-customers-journey/ActivitiesCard.scss +37 -0
- package/src/styles/iframe-customers-journey/ActivitiesSelectedCard.scss +57 -0
- package/src/styles/iframe-customers-journey/DateTimeButton.scss +84 -0
- package/src/styles/iframe-customers-journey/_index.scss +3 -0
- package/src/styles/iframe-order-process/IframeOrderProcess.scss +12 -4
- package/src/styles/iframe-page/PageBody.scss +2 -0
- package/src/styles/{widgets/ImageRadioInput.scss → image-radio-input/_index.scss} +12 -0
- package/src/styles/packages.scss +5 -1
- package/src/styles/{widgets/WidgetTypeRadioButton.scss → radio-card/_index.scss} +8 -1
- package/src/styles/sales/BookingFilter.scss +45 -11
- package/src/styles/sales/RandomColors.scss +7 -4
- package/src/styles/snippet-templates/SnippetTemplateCard.scss +16 -0
- package/src/styles/sortable-field/SortableField.scss +21 -0
- package/src/styles/sortable-field/_index.scss +1 -0
- package/src/styles/static/DateRangeInput.scss +5 -1
- package/src/styles/striped-static-table/_index.scss +33 -0
- package/src/styles/themes/bookedit/_variables.scss +3 -2
- package/src/table/FilterHelperComponent.tsx +1 -0
- package/src/table/StaticTable.tsx +40 -14
- package/src/typeahead/Typeahead.stories.tsx +9 -6
- package/src/typeahead/Typeahead.tsx +21 -13
- package/src/types/iframe.ts +5 -1
- package/src/zone/form/components/AvailableTimesControl.tsx +12 -5
- package/src/zone/form/components/ZoneRecurrencesControl.tsx +2 -28
- package/src/zone/form/utils/dates.ts +24 -0
- package/tsconfig.json +2 -2
- package/dist/assets/dashboard/bookingCalendar.svg +0 -67
- package/dist/assets/dashboard/bookingCalendar.svg.js +0 -1
- package/dist/assets/dashboard/bookingList.svg +0 -68
- package/dist/assets/dashboard/bookingList.svg.js +0 -1
- package/dist/assets/dashboard/bookingListSmall.svg +0 -6
- package/dist/assets/dashboard/bookingListSmall.svg.js +0 -1
- package/dist/assets/dashboard/fullscreen.svg +0 -3
- package/dist/assets/dashboard/fullscreen.svg.js +0 -1
- package/dist/assets/dashboard/minimize.svg +0 -3
- package/dist/assets/dashboard/minimize.svg.js +0 -1
- package/dist/assets/dashboard/refresh.svg +0 -4
- package/dist/assets/dashboard/refresh.svg.js +0 -1
- package/dist/assets/widgets/circlePlus.svg +0 -4
- package/dist/assets/widgets/inPage.svg +0 -10
- package/dist/assets/widgets/overlay.svg +0 -9
- package/dist/assets/widgets/sidebar.svg +0 -9
- package/dist/iframe/order-process/components/CalendarStepsForm/components/ErrorModal.d.ts.map +0 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/ErrorModal.js +0 -1
- package/dist/iframe/order-process/components/Category/Category.d.ts +0 -12
- package/dist/iframe/order-process/components/Category/Category.d.ts.map +0 -1
- package/dist/iframe/order-process/components/Category/Category.js +0 -1
- package/dist/iframe/order-process/components/Category/index.d.ts +0 -2
- package/dist/iframe/order-process/components/Category/index.d.ts.map +0 -1
- package/dist/iframe/order-process/components/StepsForm/StepsForm.d.ts +0 -18
- package/dist/iframe/order-process/components/StepsForm/StepsForm.d.ts.map +0 -1
- package/dist/iframe/order-process/components/StepsForm/StepsForm.js +0 -1
- package/dist/iframe/order-process/components/StepsForm/index.d.ts +0 -2
- package/dist/iframe/order-process/components/StepsForm/index.d.ts.map +0 -1
- package/dist/iframe/order-process/components/utils/category.d.ts +0 -10
- package/dist/iframe/order-process/components/utils/category.d.ts.map +0 -1
- package/dist/iframe/order-process/components/utils/category.js +0 -1
- package/dist/sales/booking/filter/BookingFilter.d.ts +0 -12
- package/dist/sales/booking/filter/BookingFilter.d.ts.map +0 -1
- package/dist/sales/booking/filter/BookingFilter.js +0 -1
- package/dist/sales/booking/filter/components/AdditionalFIlterSection.d.ts +0 -10
- package/dist/sales/booking/filter/components/AdditionalFIlterSection.d.ts.map +0 -1
- package/dist/sales/booking/filter/components/AdditionalFIlterSection.js +0 -1
- package/dist/sales/booking/filter/components/MainFilterSection.d.ts +0 -5
- package/dist/sales/booking/filter/components/MainFilterSection.d.ts.map +0 -1
- package/dist/sales/booking/filter/components/MainFilterSection.js +0 -1
- package/dist/sales/booking/filter/components/ResultTagButton.d.ts +0 -8
- package/dist/sales/booking/filter/components/ResultTagButton.d.ts.map +0 -1
- package/dist/sales/booking/filter/components/ResultTagButton.js +0 -1
- package/dist/sales/booking/filter/components/SearchingForSection.d.ts +0 -3
- package/dist/sales/booking/filter/components/SearchingForSection.d.ts.map +0 -1
- package/dist/sales/booking/filter/components/SearchingForSection.js +0 -1
- package/dist/sales/booking/filter/index.d.ts +0 -3
- package/dist/sales/booking/filter/index.d.ts.map +0 -1
- package/dist/sales/booking/tabs/BookingTabs.d.ts +0 -11
- package/dist/sales/booking/tabs/BookingTabs.d.ts.map +0 -1
- package/dist/sales/booking/tabs/BookingTabs.js +0 -1
- package/dist/sales/booking/tabs/index.d.ts +0 -3
- package/dist/sales/booking/tabs/index.d.ts.map +0 -1
- package/dist/setting/dashboard/snippets/control/SnippetControl.d.ts +0 -9
- package/dist/setting/dashboard/snippets/control/SnippetControl.d.ts.map +0 -1
- package/dist/setting/dashboard/snippets/control/SnippetControl.js +0 -1
- package/dist/setting/dashboard/snippets/control/index.d.ts +0 -2
- package/dist/setting/dashboard/snippets/control/index.d.ts.map +0 -1
- package/dist/setting/dashboard/snippets/form/SnippetForm.d.ts +0 -33
- package/dist/setting/dashboard/snippets/form/SnippetForm.d.ts.map +0 -1
- package/dist/setting/dashboard/snippets/form/SnippetForm.js +0 -1
- package/dist/setting/dashboard/snippets/form/context.d.ts +0 -11
- package/dist/setting/dashboard/snippets/form/context.d.ts.map +0 -1
- package/dist/setting/dashboard/snippets/form/context.js +0 -1
- package/dist/setting/dashboard/snippets/form/index.d.ts +0 -2
- package/dist/setting/dashboard/snippets/form/index.d.ts.map +0 -1
- package/dist/setting/dashboard/snippets/modal/SnippetViewTypeModal.d.ts +0 -19
- package/dist/setting/dashboard/snippets/modal/SnippetViewTypeModal.d.ts.map +0 -1
- package/dist/setting/dashboard/snippets/modal/SnippetViewTypeModal.js +0 -1
- package/dist/setting/dashboard/snippets/modal/index.d.ts +0 -3
- package/dist/setting/dashboard/snippets/modal/index.d.ts.map +0 -1
- package/dist/styles/widgets/BookingStyleSelector.scss +0 -14
- package/dist/styles/widgets/CalendarStyleSelector.scss +0 -17
- package/dist/styles/widgets/CheckboxGroup.scss +0 -15
- package/dist/styles/widgets/ProductSetSelector.scss +0 -19
- package/dist/styles/widgets/SnippetCode.scss +0 -18
- package/dist/styles/widgets/WidgetBuilderForm.scss +0 -51
- package/dist/styles/widgets/WidgetTypeSelector.scss +0 -6
- package/dist/styles/widgets/_index.scss +0 -9
- package/dist/widgets/BookingStyleSelector/BookingStyleSelector.d.ts +0 -3
- package/dist/widgets/BookingStyleSelector/BookingStyleSelector.d.ts.map +0 -1
- package/dist/widgets/BookingStyleSelector/index.d.ts +0 -2
- package/dist/widgets/BookingStyleSelector/index.d.ts.map +0 -1
- package/dist/widgets/CalendarStyleSelector/CalendarStyleSelector.d.ts +0 -3
- package/dist/widgets/CalendarStyleSelector/CalendarStyleSelector.d.ts.map +0 -1
- package/dist/widgets/CalendarStyleSelector/index.d.ts +0 -2
- package/dist/widgets/CalendarStyleSelector/index.d.ts.map +0 -1
- package/dist/widgets/CheckboxGroup/CheckboxGroup.d.ts +0 -8
- package/dist/widgets/CheckboxGroup/CheckboxGroup.d.ts.map +0 -1
- package/dist/widgets/CheckboxGroup/index.d.ts +0 -2
- package/dist/widgets/CheckboxGroup/index.d.ts.map +0 -1
- package/dist/widgets/ImageRadioInput/ImageRadioInput.d.ts +0 -9
- package/dist/widgets/ImageRadioInput/ImageRadioInput.d.ts.map +0 -1
- package/dist/widgets/ImageRadioInput/index.d.ts.map +0 -1
- package/dist/widgets/ProductSetSelector/ProductSetSelector.d.ts +0 -3
- package/dist/widgets/ProductSetSelector/ProductSetSelector.d.ts.map +0 -1
- package/dist/widgets/ProductSetSelector/index.d.ts +0 -2
- package/dist/widgets/ProductSetSelector/index.d.ts.map +0 -1
- package/dist/widgets/SnippetCode/SnippetCode.d.ts +0 -6
- package/dist/widgets/SnippetCode/SnippetCode.d.ts.map +0 -1
- package/dist/widgets/SnippetCode/index.d.ts +0 -2
- package/dist/widgets/SnippetCode/index.d.ts.map +0 -1
- package/dist/widgets/WidgetBuilderForm/WidgetBuilderForm.d.ts +0 -12
- package/dist/widgets/WidgetBuilderForm/WidgetBuilderForm.d.ts.map +0 -1
- package/dist/widgets/WidgetTypeRadio/WidgetTypeRadio.d.ts +0 -7
- package/dist/widgets/WidgetTypeRadio/WidgetTypeRadio.d.ts.map +0 -1
- package/dist/widgets/WidgetTypeRadio/index.d.ts +0 -2
- package/dist/widgets/WidgetTypeRadio/index.d.ts.map +0 -1
- package/dist/widgets/WidgetTypeSelector/WidgetTypeSelector.d.ts +0 -3
- package/dist/widgets/WidgetTypeSelector/WidgetTypeSelector.d.ts.map +0 -1
- package/src/assets/dashboard/bookingCalendar.svg +0 -67
- package/src/assets/dashboard/bookingList.svg +0 -68
- package/src/assets/dashboard/bookingListSmall.svg +0 -6
- package/src/assets/dashboard/fullscreen.svg +0 -3
- package/src/assets/dashboard/minimize.svg +0 -3
- package/src/assets/dashboard/refresh.svg +0 -4
- package/src/assets/widgets/circlePlus.svg +0 -4
- package/src/assets/widgets/inPage.svg +0 -10
- package/src/assets/widgets/overlay.svg +0 -9
- package/src/assets/widgets/sidebar.svg +0 -9
- package/src/iframe/order-process/OrderProcess.stories.tsx +0 -362
- package/src/iframe/order-process/components/Category/Category.stories.tsx +0 -118
- package/src/iframe/order-process/components/Category/Category.tsx +0 -48
- package/src/iframe/order-process/components/Category/index.ts +0 -1
- package/src/iframe/order-process/components/StepsForm/StepsForm.tsx +0 -173
- package/src/iframe/order-process/components/StepsForm/index.ts +0 -1
- package/src/sales/booking/filter/BookingFilter.stories.tsx +0 -27
- package/src/sales/booking/filter/BookingFilter.tsx +0 -47
- package/src/sales/booking/filter/components/AdditionalFIlterSection.tsx +0 -95
- package/src/sales/booking/filter/components/MainFilterSection.tsx +0 -131
- package/src/sales/booking/filter/components/ResultTagButton.tsx +0 -33
- package/src/sales/booking/filter/components/SearchingForSection.tsx +0 -68
- package/src/sales/booking/filter/index.ts +0 -2
- package/src/sales/booking/tabs/BookingTabs.stories.tsx +0 -17
- package/src/sales/booking/tabs/BookingTabs.tsx +0 -88
- package/src/sales/booking/tabs/index.ts +0 -2
- package/src/setting/dashboard/snippets/control/SnippetControl.tsx +0 -237
- package/src/setting/dashboard/snippets/control/index.ts +0 -1
- package/src/setting/dashboard/snippets/form/SnippetForm.stories.tsx +0 -104
- package/src/setting/dashboard/snippets/form/SnippetForm.tsx +0 -94
- package/src/setting/dashboard/snippets/form/context.tsx +0 -18
- package/src/setting/dashboard/snippets/form/index.ts +0 -1
- package/src/setting/dashboard/snippets/modal/SnippetViewTypeModal.stories.tsx +0 -28
- package/src/setting/dashboard/snippets/modal/SnippetViewTypeModal.tsx +0 -104
- package/src/setting/dashboard/snippets/modal/index.ts +0 -2
- package/src/styles/widgets/BookingStyleSelector.scss +0 -14
- package/src/styles/widgets/CalendarStyleSelector.scss +0 -17
- package/src/styles/widgets/CheckboxGroup.scss +0 -15
- package/src/styles/widgets/ProductSetSelector.scss +0 -19
- package/src/styles/widgets/SnippetCode.scss +0 -18
- package/src/styles/widgets/WidgetBuilderForm.scss +0 -51
- package/src/styles/widgets/WidgetTypeSelector.scss +0 -6
- package/src/styles/widgets/_index.scss +0 -9
- package/src/widgets/BookingStyleSelector/BookingStyleSelector.stories.tsx +0 -12
- package/src/widgets/BookingStyleSelector/BookingStyleSelector.tsx +0 -34
- package/src/widgets/BookingStyleSelector/index.ts +0 -1
- package/src/widgets/CalendarStyleSelector/CalendarStyleSelector.stories.tsx +0 -12
- package/src/widgets/CalendarStyleSelector/CalendarStyleSelector.tsx +0 -29
- package/src/widgets/CalendarStyleSelector/index.ts +0 -1
- package/src/widgets/CheckboxGroup/CheckboxGroup.stories.tsx +0 -16
- package/src/widgets/CheckboxGroup/CheckboxGroup.tsx +0 -64
- package/src/widgets/CheckboxGroup/index.ts +0 -1
- package/src/widgets/ImageRadioInput/ImageRadioInput.stories.tsx +0 -18
- package/src/widgets/ImageRadioInput/ImageRadioInput.tsx +0 -29
- package/src/widgets/ProductSetSelector/ProductSetSelector.stories.tsx +0 -12
- package/src/widgets/ProductSetSelector/ProductSetSelector.tsx +0 -27
- package/src/widgets/ProductSetSelector/index.ts +0 -1
- package/src/widgets/SnippetCode/SnippetCode.stories.tsx +0 -17
- package/src/widgets/SnippetCode/SnippetCode.tsx +0 -27
- package/src/widgets/SnippetCode/index.ts +0 -1
- package/src/widgets/WidgetBuilderForm/WidgetBuilderForm.stories.tsx +0 -12
- package/src/widgets/WidgetBuilderForm/WidgetBuilderForm.tsx +0 -84
- package/src/widgets/WidgetTypeRadio/WidgetTypeRadio.stories.tsx +0 -17
- package/src/widgets/WidgetTypeRadio/WidgetTypeRadio.tsx +0 -43
- package/src/widgets/WidgetTypeRadio/index.ts +0 -1
- package/src/widgets/WidgetTypeSelector/WidgetTypeSelector.stories.tsx +0 -12
- package/src/widgets/WidgetTypeSelector/WidgetTypeSelector.tsx +0 -32
- package/tests/Snippets/Snippets.test.tsx +0 -77
- /package/dist/iframe/order-process/components/{CalendarStepsForm/components → ErrorModal}/ErrorModal.d.ts +0 -0
- /package/dist/{widgets/ImageRadioInput → image-radio-input}/index.d.ts +0 -0
- /package/src/{widgets/ImageRadioInput → image-radio-input}/index.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const MAX_PRODUCT_DESCRIPTION_CHARACTERS_LENGTH = 1000;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import HookFormService from "@licklist/plugins/dist/services/Form/HookFormService";
|
|
3
|
-
import {
|
|
4
|
-
FieldNamePrefixPath,
|
|
5
|
-
FormValues,
|
|
6
|
-
} from "@licklist/plugins/dist/types/services/Form/hook-form-service";
|
|
3
|
+
import { FormValues } from "@licklist/plugins/dist/types/services/Form/hook-form-service";
|
|
7
4
|
import { useId } from "@react-aria/utils";
|
|
8
5
|
import { Form } from "react-bootstrap";
|
|
9
6
|
import Col from "react-bootstrap/Col";
|
|
@@ -16,10 +13,13 @@ export interface ProductPriceControlValues extends FormValues {
|
|
|
16
13
|
price: number;
|
|
17
14
|
}
|
|
18
15
|
|
|
19
|
-
export interface ProductPriceControlProps<T>
|
|
16
|
+
export interface ProductPriceControlProps<T> {
|
|
20
17
|
isLoading: boolean;
|
|
21
18
|
title?: string;
|
|
22
19
|
allowDeposits?: boolean;
|
|
20
|
+
fieldNamePrefix: Path<T>;
|
|
21
|
+
isRequired?: boolean;
|
|
22
|
+
isMoreThanZero?: boolean;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
export function ProductPriceControl<T extends FormValues>({
|
|
@@ -27,13 +27,15 @@ export function ProductPriceControl<T extends FormValues>({
|
|
|
27
27
|
fieldNamePrefix,
|
|
28
28
|
title,
|
|
29
29
|
allowDeposits,
|
|
30
|
+
isRequired = true,
|
|
31
|
+
isMoreThanZero,
|
|
30
32
|
}: ProductPriceControlProps<T>) {
|
|
31
33
|
const {
|
|
32
34
|
control,
|
|
33
35
|
formState: { errors },
|
|
34
36
|
} = useFormContext<T>();
|
|
35
37
|
const { t } = useTranslation("Design");
|
|
36
|
-
|
|
38
|
+
const productTitle = title ?? t("price");
|
|
37
39
|
const priceId = useId();
|
|
38
40
|
|
|
39
41
|
return (
|
|
@@ -43,7 +45,7 @@ export function ProductPriceControl<T extends FormValues>({
|
|
|
43
45
|
className={!allowDeposits && "p-0"}
|
|
44
46
|
>
|
|
45
47
|
<Form.Group controlId={priceId}>
|
|
46
|
-
<Form.Label>{
|
|
48
|
+
<Form.Label>{productTitle}</Form.Label>
|
|
47
49
|
|
|
48
50
|
<InputGroup hasValidation>
|
|
49
51
|
<InputGroup.Prepend>
|
|
@@ -64,38 +66,58 @@ export function ProductPriceControl<T extends FormValues>({
|
|
|
64
66
|
name={name}
|
|
65
67
|
onChange={onChange}
|
|
66
68
|
isInvalid={HookFormService.isInvalid<T>(
|
|
67
|
-
`${fieldNamePrefix}
|
|
69
|
+
`${fieldNamePrefix}` as Path<T>,
|
|
68
70
|
errors
|
|
69
71
|
)}
|
|
70
72
|
disabled={isLoading}
|
|
71
73
|
/>
|
|
72
74
|
)}
|
|
73
75
|
control={control}
|
|
74
|
-
name={`${fieldNamePrefix}
|
|
76
|
+
name={`${fieldNamePrefix}` as Path<T>}
|
|
75
77
|
rules={{
|
|
76
|
-
required:
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
78
|
+
required: isRequired
|
|
79
|
+
? (t("Validation:fieldRequired", {
|
|
80
|
+
attribute: productTitle,
|
|
81
|
+
}) as string)
|
|
82
|
+
: false,
|
|
83
|
+
min: !isMoreThanZero
|
|
84
|
+
? {
|
|
85
|
+
value: 0,
|
|
86
|
+
message: t("Validation:fieldMinNumber", {
|
|
87
|
+
attribute: productTitle,
|
|
88
|
+
min: 0,
|
|
89
|
+
}) as string,
|
|
90
|
+
}
|
|
91
|
+
: undefined,
|
|
86
92
|
max: {
|
|
87
93
|
value: 999999.99,
|
|
88
94
|
message: t("Validation:fieldMaxNumber", {
|
|
89
|
-
attribute:
|
|
95
|
+
attribute: productTitle,
|
|
90
96
|
max: 999999.99,
|
|
91
97
|
}) as string,
|
|
92
98
|
},
|
|
99
|
+
|
|
100
|
+
validate: (value) => {
|
|
101
|
+
if (
|
|
102
|
+
!isMoreThanZero ||
|
|
103
|
+
(isMoreThanZero &&
|
|
104
|
+
(value === undefined || value === null || value === "")) ||
|
|
105
|
+
(isMoreThanZero && Number(value) > 0)
|
|
106
|
+
) {
|
|
107
|
+
return true;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
return t("Validation:fieldGreaterMinNumber", {
|
|
111
|
+
attribute: productTitle,
|
|
112
|
+
min: 0,
|
|
113
|
+
}) as string;
|
|
114
|
+
},
|
|
93
115
|
}}
|
|
94
116
|
/>
|
|
95
117
|
|
|
96
118
|
<Form.Control.Feedback type="invalid">
|
|
97
119
|
{HookFormService.getErrors<T>(
|
|
98
|
-
`${fieldNamePrefix}
|
|
120
|
+
`${fieldNamePrefix}` as Path<T>,
|
|
99
121
|
errors
|
|
100
122
|
)}
|
|
101
123
|
</Form.Control.Feedback>
|
|
@@ -33,18 +33,22 @@ export function ProductQuantityRechargingControl<T extends FormValues>(
|
|
|
33
33
|
onFocus,
|
|
34
34
|
} = props;
|
|
35
35
|
const {
|
|
36
|
-
trigger,
|
|
37
36
|
control,
|
|
37
|
+
trigger,
|
|
38
|
+
watch,
|
|
39
|
+
register,
|
|
38
40
|
formState: { errors },
|
|
39
41
|
} = useFormContext<T>();
|
|
40
42
|
const { t } = useTranslation("Design");
|
|
41
|
-
|
|
42
43
|
const totalQuantityId = useId();
|
|
43
44
|
|
|
44
|
-
|
|
45
|
+
const maxQuantityValue = watch(`${fieldNamePrefix}.maxQuantity` as Path<T>);
|
|
46
|
+
const unlimited = watch(`${fieldNamePrefix}.isUnlimited` as Path<T>);
|
|
47
|
+
|
|
45
48
|
useEffect(() => {
|
|
46
49
|
trigger(`${fieldNamePrefix}.totalQuantity` as Path<T>);
|
|
47
|
-
|
|
50
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
51
|
+
}, [maxQuantityValue, unlimited]);
|
|
48
52
|
|
|
49
53
|
return (
|
|
50
54
|
<>
|
|
@@ -65,6 +69,27 @@ export function ProductQuantityRechargingControl<T extends FormValues>(
|
|
|
65
69
|
type="number"
|
|
66
70
|
min={0}
|
|
67
71
|
step={1}
|
|
72
|
+
{...register(`${fieldNamePrefix}.totalQuantity` as Path<T>, {
|
|
73
|
+
validate: (value) => {
|
|
74
|
+
if (unlimited) return true;
|
|
75
|
+
const min = 1;
|
|
76
|
+
const maxQuantity = Number(maxQuantityValue);
|
|
77
|
+
const totalQuantity = Number(value);
|
|
78
|
+
if (totalQuantity < min) {
|
|
79
|
+
return t("Validation:fieldMinNumber", {
|
|
80
|
+
attribute: t("totalQuantity"),
|
|
81
|
+
min: 1,
|
|
82
|
+
}) as string;
|
|
83
|
+
}
|
|
84
|
+
if (totalQuantity < maxQuantity) {
|
|
85
|
+
return t("Validation:fieldTotalNumber", {
|
|
86
|
+
attribute: t("totalQuantity"),
|
|
87
|
+
max: t("maxOrderQuantity"),
|
|
88
|
+
}) as string;
|
|
89
|
+
}
|
|
90
|
+
return true;
|
|
91
|
+
},
|
|
92
|
+
})}
|
|
68
93
|
value={value as string}
|
|
69
94
|
onFocus={onFocus}
|
|
70
95
|
onChange={onChange}
|
|
@@ -83,18 +108,7 @@ export function ProductQuantityRechargingControl<T extends FormValues>(
|
|
|
83
108
|
required: false,
|
|
84
109
|
min: 0,
|
|
85
110
|
}
|
|
86
|
-
: {
|
|
87
|
-
required: t("Validation:fieldRequired", {
|
|
88
|
-
attribute: t("totalQuantity"),
|
|
89
|
-
}) as string,
|
|
90
|
-
min: {
|
|
91
|
-
value: 1,
|
|
92
|
-
message: t("Validation:fieldMinNumber", {
|
|
93
|
-
attribute: t("totalQuantity"),
|
|
94
|
-
min: 1,
|
|
95
|
-
}) as string,
|
|
96
|
-
},
|
|
97
|
-
}
|
|
111
|
+
: {}
|
|
98
112
|
}
|
|
99
113
|
/>
|
|
100
114
|
|
|
@@ -105,7 +105,7 @@ export function ProductCategoryControl({
|
|
|
105
105
|
|
|
106
106
|
const allowDepositsId = useId();
|
|
107
107
|
const remainderExpireAfterId = useId();
|
|
108
|
-
const { providerHasBookingManagement, zones } = useContext(
|
|
108
|
+
const { providerHasBookingManagement, zones = [] } = useContext(
|
|
109
109
|
ProductSetLoadingContext
|
|
110
110
|
);
|
|
111
111
|
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import { EmailTemplate } from "@licklist/core/dist/DataMapper/Notification/EmailTemplateDataMapper";
|
|
2
|
+
import { SmsTemplate } from "@licklist/core/dist/DataMapper/Notification/SmsTemplateDataMapper";
|
|
3
|
+
import { TemplateItem } from "../control/ProductSetControl";
|
|
4
|
+
|
|
1
5
|
export const moveArrayElements = <T>(
|
|
2
6
|
array: T[],
|
|
3
7
|
prevIndex: number,
|
|
@@ -14,3 +18,27 @@ export const moveArrayElements = <T>(
|
|
|
14
18
|
export const sortArrayByIndex = <T>(array: T[]) => {
|
|
15
19
|
return array.map((element: T, index) => ({ ...element, sort: index }));
|
|
16
20
|
};
|
|
21
|
+
|
|
22
|
+
export const getFilteredTemplates = (
|
|
23
|
+
templates?: EmailTemplate[] | SmsTemplate[],
|
|
24
|
+
formTemplates?: TemplateItem[]
|
|
25
|
+
): TemplateItem[] | undefined => {
|
|
26
|
+
if (!templates) {
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
return templates
|
|
31
|
+
?.filter(
|
|
32
|
+
(template) =>
|
|
33
|
+
template.notification.isActive &&
|
|
34
|
+
!formTemplates?.find(
|
|
35
|
+
(formTemplate) =>
|
|
36
|
+
formTemplate.value.notification.type === template.notification.type
|
|
37
|
+
)
|
|
38
|
+
)
|
|
39
|
+
?.map((template) => ({
|
|
40
|
+
id: template?.id,
|
|
41
|
+
value: template,
|
|
42
|
+
label: template?.notification?.name,
|
|
43
|
+
}));
|
|
44
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const MAX_DESCRIPTION_CHARACTERS_LENGTH = 25500;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from "react";
|
|
1
|
+
import React, { useEffect } from "react";
|
|
2
2
|
import { Form } from "react-bootstrap";
|
|
3
3
|
import { useFormContext } from "react-hook-form";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
@@ -6,6 +6,7 @@ import { useId } from "@react-aria/utils";
|
|
|
6
6
|
import { Image } from "@licklist/core/dist/DataMapper/Media/ImageDataMapper";
|
|
7
7
|
import HookFormService from "@licklist/plugins/dist/services/Form/HookFormService";
|
|
8
8
|
import { Typeahead, TypeaheadOptions } from "../../typeahead";
|
|
9
|
+
import { MAX_DESCRIPTION_CHARACTERS_LENGTH } from "../constants";
|
|
9
10
|
import {
|
|
10
11
|
ProviderLinksInput,
|
|
11
12
|
ProviderLinksInputProps,
|
|
@@ -33,8 +34,9 @@ export function ProviderDetailsInput({
|
|
|
33
34
|
}: ProviderDetailsInputProps) {
|
|
34
35
|
const {
|
|
35
36
|
register,
|
|
37
|
+
watch,
|
|
38
|
+
trigger,
|
|
36
39
|
formState: { errors },
|
|
37
|
-
setValue,
|
|
38
40
|
} = useFormContext<ProviderDetailsInputValues>();
|
|
39
41
|
const { t } = useTranslation(["App", "Design", "Validation"]);
|
|
40
42
|
|
|
@@ -45,6 +47,14 @@ export function ProviderDetailsInput({
|
|
|
45
47
|
const websiteId = useId();
|
|
46
48
|
const companyId = useId();
|
|
47
49
|
|
|
50
|
+
const description = watch("description");
|
|
51
|
+
|
|
52
|
+
useEffect(() => {
|
|
53
|
+
if (MAX_DESCRIPTION_CHARACTERS_LENGTH > description.length) return;
|
|
54
|
+
trigger("description");
|
|
55
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
56
|
+
}, [description.length]);
|
|
57
|
+
|
|
48
58
|
return (
|
|
49
59
|
<>
|
|
50
60
|
<Form.Group controlId={nameId}>
|
|
@@ -68,11 +78,26 @@ export function ProviderDetailsInput({
|
|
|
68
78
|
<Form.Group controlId={descriptionId}>
|
|
69
79
|
<Form.Label>{t("Design:description")}</Form.Label>
|
|
70
80
|
<Form.Control
|
|
71
|
-
{...register("description"
|
|
81
|
+
{...register("description", {
|
|
82
|
+
validate: (value) => {
|
|
83
|
+
const descriptionLength = value.length;
|
|
84
|
+
if (descriptionLength > MAX_DESCRIPTION_CHARACTERS_LENGTH) {
|
|
85
|
+
return t("Validation:descriptionTooManyCharactersMessage", {
|
|
86
|
+
max: MAX_DESCRIPTION_CHARACTERS_LENGTH,
|
|
87
|
+
}) as string;
|
|
88
|
+
}
|
|
89
|
+
return true;
|
|
90
|
+
},
|
|
91
|
+
})}
|
|
72
92
|
as="textarea"
|
|
73
93
|
name="description"
|
|
74
94
|
rows={6}
|
|
95
|
+
isInvalid={Boolean(errors.description)}
|
|
75
96
|
/>
|
|
97
|
+
<Form.Control.Feedback type="invalid">
|
|
98
|
+
{HookFormService.hasError(errors.description, "validate") &&
|
|
99
|
+
errors.description?.message}
|
|
100
|
+
</Form.Control.Feedback>
|
|
76
101
|
</Form.Group>
|
|
77
102
|
|
|
78
103
|
<Form.Group controlId={emailId}>
|
|
@@ -149,7 +174,6 @@ export function ProviderDetailsInput({
|
|
|
149
174
|
<Typeahead
|
|
150
175
|
name="company"
|
|
151
176
|
options={companiesOptions}
|
|
152
|
-
setValue={setValue}
|
|
153
177
|
placeholder={t("App:select")}
|
|
154
178
|
noOptionsMessage={t("App:noMatchesFound")}
|
|
155
179
|
/>
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import React, { useEffect } from "react";
|
|
2
|
+
import { Meta, Story } from "@storybook/react";
|
|
3
|
+
import { FormProvider, useForm } from "react-hook-form";
|
|
4
|
+
import { RadioCard, RadioCardProps } from "./RadioCard";
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
title: "Widgets / Widget Type Radio Card",
|
|
8
|
+
component: RadioCard,
|
|
9
|
+
} as Meta;
|
|
10
|
+
|
|
11
|
+
type FormModel = {
|
|
12
|
+
name: string;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export const Default: Story<RadioCardProps<FormModel>> = (args) => {
|
|
16
|
+
const form = useForm<FormModel>();
|
|
17
|
+
|
|
18
|
+
return (
|
|
19
|
+
<FormProvider {...form}>
|
|
20
|
+
<RadioCard {...args} />
|
|
21
|
+
</FormProvider>
|
|
22
|
+
);
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
Default.args = {
|
|
26
|
+
label: "Venue Map",
|
|
27
|
+
description: "Date > Floor",
|
|
28
|
+
name: "name",
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
export const Invalid: Story<RadioCardProps<FormModel>> = (args) => {
|
|
32
|
+
const form = useForm<FormModel>();
|
|
33
|
+
|
|
34
|
+
return (
|
|
35
|
+
<FormProvider {...form}>
|
|
36
|
+
<RadioCard {...args} />
|
|
37
|
+
</FormProvider>
|
|
38
|
+
);
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
Invalid.args = {
|
|
42
|
+
label: "Venue Map",
|
|
43
|
+
description: "Date > Floor",
|
|
44
|
+
name: "name",
|
|
45
|
+
inputProps: {
|
|
46
|
+
isInvalid: true,
|
|
47
|
+
},
|
|
48
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import clsx from "clsx";
|
|
2
|
+
import React, { ReactNode } from "react";
|
|
3
|
+
import { Form } from "react-bootstrap";
|
|
4
|
+
import { FormCheckInputProps } from "react-bootstrap/esm/FormCheckInput";
|
|
5
|
+
import { Path, RegisterOptions, useFormContext } from "react-hook-form";
|
|
6
|
+
|
|
7
|
+
export type RadioCardProps<FormModel> = {
|
|
8
|
+
label: string;
|
|
9
|
+
description: ReactNode;
|
|
10
|
+
name: Path<FormModel>;
|
|
11
|
+
value: string;
|
|
12
|
+
rules: RegisterOptions<FormModel>;
|
|
13
|
+
inputProps?: FormCheckInputProps;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export const RadioCard = <FormModel,>({
|
|
17
|
+
label,
|
|
18
|
+
description,
|
|
19
|
+
name,
|
|
20
|
+
value,
|
|
21
|
+
rules,
|
|
22
|
+
inputProps,
|
|
23
|
+
}: RadioCardProps<FormModel>) => {
|
|
24
|
+
const {
|
|
25
|
+
register,
|
|
26
|
+
formState: { errors },
|
|
27
|
+
} = useFormContext<FormModel>();
|
|
28
|
+
|
|
29
|
+
const isInvalid = !!errors[name as string] || inputProps?.isInvalid;
|
|
30
|
+
|
|
31
|
+
return (
|
|
32
|
+
<Form.Check className={clsx("radio-card", isInvalid && "invalid")}>
|
|
33
|
+
<Form.Check.Label>
|
|
34
|
+
<div className="radio-card-controls">
|
|
35
|
+
<Form.Check.Input
|
|
36
|
+
type="radio"
|
|
37
|
+
isInvalid={isInvalid}
|
|
38
|
+
value={value}
|
|
39
|
+
{...register(name, rules)}
|
|
40
|
+
{...inputProps}
|
|
41
|
+
/>
|
|
42
|
+
<span>{label}</span>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
<p className="radio-card-description">{description}</p>
|
|
46
|
+
</Form.Check.Label>
|
|
47
|
+
</Form.Check>
|
|
48
|
+
);
|
|
49
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { RadioCard } from "./RadioCard";
|
|
@@ -3,7 +3,7 @@ import clsx from "clsx";
|
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
4
|
import { DateTime } from "luxon";
|
|
5
5
|
import { Order } from "@licklist/core/dist/DataMapper/Order/OrderDataMapper";
|
|
6
|
-
import {
|
|
6
|
+
import { formatDateStringForEvent } from "@licklist/plugins/dist/utils/formatDate";
|
|
7
7
|
import Icon from "../../../../static/Icon";
|
|
8
8
|
|
|
9
9
|
export type ResultCardProps = {
|
|
@@ -55,7 +55,7 @@ export const ResultCard = ({
|
|
|
55
55
|
{t("status")}: {t(status)}
|
|
56
56
|
</p>
|
|
57
57
|
<p>
|
|
58
|
-
{t("date")}: {
|
|
58
|
+
{t("date")}: {formatDateStringForEvent(startDate)}
|
|
59
59
|
</p>
|
|
60
60
|
<p>
|
|
61
61
|
{t("time")}: {DateTime.fromISO(startDate).toFormat("hh:MM")}
|
|
@@ -233,6 +233,7 @@ export const CouponFormControl = ({
|
|
|
233
233
|
<Form.Control
|
|
234
234
|
type="date"
|
|
235
235
|
{...register("validTill")}
|
|
236
|
+
value={validTillValue}
|
|
236
237
|
onChange={(e) => {
|
|
237
238
|
const date = DateTime.fromSQL(e.target.value).toISODate();
|
|
238
239
|
setValue("validTill", date);
|
|
@@ -331,6 +332,7 @@ export const CouponFormControl = ({
|
|
|
331
332
|
<Form.Group>
|
|
332
333
|
<Form.Label>{t("Design:totalCoupons")}</Form.Label>
|
|
333
334
|
<Form.Control
|
|
335
|
+
{...register("totalCoupons")}
|
|
334
336
|
type="number"
|
|
335
337
|
isInvalid={errors.totalCoupons !== undefined}
|
|
336
338
|
disabled={isLoading}
|
|
@@ -4,7 +4,7 @@ import clsx from "clsx";
|
|
|
4
4
|
import { TextField } from "../../static/TextField";
|
|
5
5
|
import { DateRangeInput } from "../../static/date-range-input";
|
|
6
6
|
|
|
7
|
-
interface Filters {
|
|
7
|
+
export interface Filters {
|
|
8
8
|
id: string;
|
|
9
9
|
name: string;
|
|
10
10
|
email: string;
|
|
@@ -12,7 +12,7 @@ interface Filters {
|
|
|
12
12
|
order_date_to: string;
|
|
13
13
|
orderable_date_from: string;
|
|
14
14
|
orderable_date_to: string;
|
|
15
|
-
|
|
15
|
+
is_in_cart: boolean;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
export interface SaleFiltersProps {
|
|
@@ -5,8 +5,8 @@ import clsx from "clsx";
|
|
|
5
5
|
import { useTranslation } from "react-i18next";
|
|
6
6
|
import { OverlayTrigger, Tooltip } from "react-bootstrap";
|
|
7
7
|
import MediaService from "@licklist/plugins/dist/services/Media/MediaService";
|
|
8
|
-
import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
|
|
9
8
|
import { OrderProduct } from "@licklist/core/dist/DataMapper/Order/OrderProductDataMapper";
|
|
9
|
+
import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
|
|
10
10
|
import { NumberInputHorizontal } from "../number-input-horizontal";
|
|
11
11
|
import { Product } from "../../../types";
|
|
12
12
|
import { TipTapEditor } from "../../../tiptap-editor";
|
|
@@ -14,7 +14,7 @@ import { TipTapEditor } from "../../../tiptap-editor";
|
|
|
14
14
|
interface CategoryProductProps {
|
|
15
15
|
product: Product;
|
|
16
16
|
fieldIndex: `steps.${number}.productCategories.${number}.products.${number}`;
|
|
17
|
-
productsWithErrors?:
|
|
17
|
+
productsWithErrors?: QuantityCheckProductInfo[];
|
|
18
18
|
isLoading?: boolean;
|
|
19
19
|
isEditMode?: boolean;
|
|
20
20
|
isProductSetAvailable?: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
|
|
3
3
|
import { Accordion } from "react-bootstrap";
|
|
4
|
-
import {
|
|
4
|
+
import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
|
|
5
5
|
import { OrderProduct } from "@licklist/core/dist/DataMapper/Order/OrderProductDataMapper";
|
|
6
6
|
import { CollapsibleInputGroup } from "../../../collapsible-input-group";
|
|
7
7
|
import { Product } from "../../../types";
|
|
@@ -11,7 +11,7 @@ interface CategoryProductsProps {
|
|
|
11
11
|
stepIndex: number;
|
|
12
12
|
categoryIndex: number;
|
|
13
13
|
products?: Product[];
|
|
14
|
-
productsWithErrors?:
|
|
14
|
+
productsWithErrors?: QuantityCheckProductInfo[];
|
|
15
15
|
isLoading?: boolean;
|
|
16
16
|
isEditMode?: boolean;
|
|
17
17
|
isProductSetAvailable?: boolean;
|
|
@@ -2,9 +2,9 @@ import React, { useEffect, useState } from "react";
|
|
|
2
2
|
import { Accordion } from "react-bootstrap";
|
|
3
3
|
import { useFormContext } from "react-hook-form";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
|
-
import {
|
|
5
|
+
import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
|
|
6
6
|
import { OrderProduct } from "@licklist/core/dist/DataMapper/Order/OrderProductDataMapper";
|
|
7
|
-
import { ErrorModal } from "../../../iframe/order-process/components/
|
|
7
|
+
import { ErrorModal } from "../../../iframe/order-process/components/ErrorModal/ErrorModal";
|
|
8
8
|
import { MenuStep } from "../../../types";
|
|
9
9
|
import { CollapsibleInputGroup } from "../../../collapsible-input-group";
|
|
10
10
|
import { CategoryProducts } from "../category-products/CategoryProducts";
|
|
@@ -12,7 +12,7 @@ import { CategoryProducts } from "../category-products/CategoryProducts";
|
|
|
12
12
|
export interface ManualBookingStepsControllProps {
|
|
13
13
|
step: MenuStep;
|
|
14
14
|
stepIndex: number;
|
|
15
|
-
productsWithErrors?:
|
|
15
|
+
productsWithErrors?: QuantityCheckProductInfo[];
|
|
16
16
|
isLoading?: boolean;
|
|
17
17
|
isEditMode?: boolean;
|
|
18
18
|
isProductSetAvailable?: boolean;
|
|
@@ -39,7 +39,9 @@ export const SelectMenu = ({
|
|
|
39
39
|
) : (
|
|
40
40
|
<>
|
|
41
41
|
{!isLoading && (
|
|
42
|
-
<Form.Label className="bold-text">
|
|
42
|
+
<Form.Label className="bold-text">
|
|
43
|
+
{t("Design:productSets")}
|
|
44
|
+
</Form.Label>
|
|
43
45
|
)}
|
|
44
46
|
|
|
45
47
|
<div className="menu-list-manual-booking">
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
export * from "./DashboardSettingForm";
|
|
2
|
-
export * from "./snippets/form";
|
|
3
2
|
export * from "./snippets/card";
|
|
4
3
|
export * from "./snippet-templates/card";
|
|
5
4
|
export * from "./payments/payments-form/PaymentsForm";
|
|
6
5
|
export * from "./payments/payments-modal/PaymentsModal";
|
|
7
|
-
export * from "./snippets/modal";
|
|
@@ -44,7 +44,7 @@ export function SnippetTemplate({
|
|
|
44
44
|
<SnippetTemplateViewContextProvider>
|
|
45
45
|
<div
|
|
46
46
|
ref={containerRef}
|
|
47
|
-
className="d-flex flex-column-reverse flex-sm-row"
|
|
47
|
+
className="d-flex flex-column-reverse flex-sm-row overflow-auto"
|
|
48
48
|
>
|
|
49
49
|
<div className="d-flex flex-grow-1">
|
|
50
50
|
<Preview
|
|
@@ -6,8 +6,8 @@ import { useTranslation } from "react-i18next";
|
|
|
6
6
|
import { isEqual } from "lodash";
|
|
7
7
|
import {
|
|
8
8
|
SnippetTemplateValues,
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
SNIPPET_TEMPLATE_TYPE_EVENT_LIST,
|
|
10
|
+
SNIPPET_TEMPLATE_TYPE_VENUE_MAP,
|
|
11
11
|
} from "@licklist/core/dist/DataMapper/Provider/SnippetTemplateDataMapper";
|
|
12
12
|
import { HasPermissionProp } from "@licklist/plugins/dist/types/permission/Permission";
|
|
13
13
|
import Row from "react-bootstrap/Row";
|
|
@@ -80,7 +80,7 @@ export function SnippetTemplateForm({
|
|
|
80
80
|
<FormProvider {...form}>
|
|
81
81
|
<Form onSubmit={form.handleSubmit(onSubmit)}>
|
|
82
82
|
<h2 className="mb-2 pb-1 border-bottom border-secondary">
|
|
83
|
-
{t("
|
|
83
|
+
{t("designSettings")}
|
|
84
84
|
</h2>
|
|
85
85
|
|
|
86
86
|
<Row>
|
|
@@ -113,21 +113,21 @@ export function SnippetTemplateForm({
|
|
|
113
113
|
{providerHasMap && (
|
|
114
114
|
<Row>
|
|
115
115
|
<Form.Group as={Col} xs sm={12} md={8} lg={10} xl={12}>
|
|
116
|
-
<Form.Label>{t("
|
|
116
|
+
<Form.Label>{t("widgetType")}</Form.Label>
|
|
117
117
|
<Form.Control
|
|
118
118
|
as="select"
|
|
119
119
|
{...register("type", {
|
|
120
120
|
required: t("Validation:fieldRequired", {
|
|
121
|
-
attribute: t("
|
|
121
|
+
attribute: t("widgetType"),
|
|
122
122
|
}) as string,
|
|
123
123
|
})}
|
|
124
|
-
placeholder={t("
|
|
124
|
+
placeholder={t("widgetType")}
|
|
125
125
|
>
|
|
126
|
-
<option value={
|
|
127
|
-
{t("
|
|
126
|
+
<option value={SNIPPET_TEMPLATE_TYPE_EVENT_LIST}>
|
|
127
|
+
{t("widgetTypeEventList")}
|
|
128
128
|
</option>
|
|
129
|
-
<option value={
|
|
130
|
-
{t("
|
|
129
|
+
<option value={SNIPPET_TEMPLATE_TYPE_VENUE_MAP}>
|
|
130
|
+
{t("widgetTypeVenueMaps")}
|
|
131
131
|
</option>
|
|
132
132
|
</Form.Control>
|
|
133
133
|
</Form.Group>
|