@licklist/design 0.44.485-dev.68 → 0.44.485-dev.7
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/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/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 -5
- package/dist/iframe/event/event-venue-map/IframeEventVenueMap.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 +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.d.ts +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.d.ts +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts +4 -4
- 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 +1 -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 +2 -4
- package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.js +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts +2 -4
- package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.js +1 -1
- package/dist/iframe/order-process/components/Category/Category.d.ts +1 -2
- package/dist/iframe/order-process/components/Category/Category.d.ts.map +1 -1
- package/dist/iframe/order-process/components/Category/Category.js +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts +1 -2
- 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.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 +1 -1
- package/dist/iframe/order-process/components/NavigationSteps/NavigationSteps.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 +1 -2
- package/dist/iframe/order-process/components/StepsForm/StepsForm.d.ts.map +1 -1
- package/dist/iframe/order-process/components/StepsForm/StepsForm.js +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/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 +1 -1
- package/dist/iframe/page/components/PageBody/PageBody.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.d.ts +1 -1
- package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.d.ts.map +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 +0 -1
- package/dist/iframe/payment/payment-page/PaymentTimer.d.ts.map +1 -1
- package/dist/iframe/payment/payment-page/PaymentTimer.js +1 -1
- package/dist/iframe/payment/payment-status-header/PaymentStatusHeader.d.ts +1 -1
- package/dist/iframe/payment/payment-status-header/PaymentStatusHeader.d.ts.map +1 -1
- package/dist/iframe/payment/payment-status-page/PaymentStatusPage.d.ts +3 -5
- package/dist/iframe/payment/payment-status-page/PaymentStatusPage.d.ts.map +1 -1
- package/dist/iframe/payment/payment-status-page/PaymentStatusPage.js +1 -1
- package/dist/iframe/powered-by/PoweredBy.d.ts +1 -1
- package/dist/iframe/powered-by/PoweredBy.d.ts.map +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.d.ts +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.d.ts.map +1 -1
- package/dist/index.d.ts +0 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +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/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/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 +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/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/filter/BookingFilter.d.ts +2 -5
- package/dist/sales/booking/filter/BookingFilter.d.ts.map +1 -1
- package/dist/sales/booking/filter/BookingFilter.js +1 -1
- package/dist/sales/booking/filter/components/AdditionalFIlterSection.d.ts +2 -3
- package/dist/sales/booking/filter/components/AdditionalFIlterSection.d.ts.map +1 -1
- package/dist/sales/booking/filter/components/AdditionalFIlterSection.js +1 -1
- package/dist/sales/booking/filter/components/MainFilterSection.d.ts +2 -2
- package/dist/sales/booking/filter/components/MainFilterSection.d.ts.map +1 -1
- package/dist/sales/booking/filter/components/MainFilterSection.js +1 -1
- package/dist/sales/booking/filter/components/ResultTagButton.d.ts +1 -1
- package/dist/sales/booking/filter/components/ResultTagButton.d.ts.map +1 -1
- package/dist/sales/booking/filter/components/SearchingForSection.d.ts +1 -8
- package/dist/sales/booking/filter/components/SearchingForSection.d.ts.map +1 -1
- package/dist/sales/booking/filter/components/SearchingForSection.js +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/tabs/BookingTabs.d.ts +2 -3
- package/dist/sales/booking/tabs/BookingTabs.d.ts.map +1 -1
- package/dist/sales/booking/tabs/BookingTabs.js +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 +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/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 +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 +2 -3
- 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 -7
- package/dist/styles/iframe-page/PageBody.scss +0 -2
- package/dist/styles/packages.scss +1 -3
- package/dist/styles/sales/BookingFilter.scss +11 -43
- package/dist/styles/snippet-templates/SnippetTemplateCard.scss +0 -16
- package/dist/styles/static/DateRangeInput.scss +1 -5
- 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/{src/styles/image-radio-input/_index.scss → dist/styles/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/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 -5
- 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 +2 -4
- 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 -2
- package/dist/zone/form/components/AvailableTimesControl.d.ts.map +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/ZoneTypeControl.d.ts +1 -1
- package/dist/zone/form/components/ZoneTypeControl.d.ts.map +1 -1
- package/package.json +4 -4
- 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-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/order-process/OrderProcess.stories.tsx +2 -3
- package/src/iframe/order-process/components/BookingSummary/BookingSummary.tsx +1 -4
- package/src/iframe/order-process/components/BookingSummary/types/index.ts +3 -3
- 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 +0 -5
- package/src/iframe/order-process/components/CalendarStepsForm/components/Category.tsx +0 -4
- package/src/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.tsx +0 -4
- package/src/iframe/order-process/components/Category/Category.tsx +0 -3
- package/src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx +8 -42
- package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +0 -3
- package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +2 -3
- package/src/iframe/order-process/components/StepsForm/StepsForm.tsx +0 -3
- 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/payment/order-items-table/utils/index.ts +9 -24
- package/src/iframe/payment/payment-page/PaymentPage.tsx +6 -46
- package/src/iframe/payment/payment-page/PaymentTimer.tsx +6 -31
- package/src/iframe/payment/payment-status-page/PaymentStatusPage.tsx +12 -66
- package/src/index.ts +0 -4
- 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/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 +14 -28
- package/src/product-set/product/price/ProductPriceControl.tsx +21 -43
- package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +16 -28
- package/src/product-set/utils/index.ts +0 -28
- package/src/provider/provider-details-input/ProviderDetailsInput.tsx +4 -36
- package/src/sales/booking/filter/BookingFilter.stories.tsx +0 -29
- package/src/sales/booking/filter/BookingFilter.tsx +2 -11
- package/src/sales/booking/filter/components/AdditionalFIlterSection.tsx +12 -64
- package/src/sales/booking/filter/components/MainFilterSection.tsx +1 -4
- package/src/sales/booking/filter/components/SearchingForSection.tsx +3 -37
- package/src/sales/booking/results/components/ResultCard.tsx +2 -2
- package/src/sales/booking/tabs/BookingTabs.tsx +3 -4
- 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/select-menu/SelectMenu.tsx +1 -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 +0 -3
- 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 -7
- package/src/styles/iframe-page/PageBody.scss +0 -2
- package/src/styles/packages.scss +1 -3
- package/src/styles/sales/BookingFilter.scss +11 -43
- package/src/styles/snippet-templates/SnippetTemplateCard.scss +0 -16
- package/src/styles/static/DateRangeInput.scss +1 -5
- 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/{dist/styles/image-radio-input/_index.scss → src/styles/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/table/FilterHelperComponent.tsx +0 -1
- package/src/table/StaticTable.tsx +10 -18
- package/src/typeahead/Typeahead.stories.tsx +6 -9
- package/src/typeahead/Typeahead.tsx +12 -19
- package/src/types/iframe.ts +0 -2
- package/src/widgets/BookingStyleSelector/BookingStyleSelector.stories.tsx +12 -0
- package/src/widgets/BookingStyleSelector/BookingStyleSelector.tsx +34 -0
- package/src/widgets/BookingStyleSelector/index.ts +1 -0
- package/src/widgets/CalendarStyleSelector/CalendarStyleSelector.stories.tsx +12 -0
- package/src/widgets/CalendarStyleSelector/CalendarStyleSelector.tsx +29 -0
- package/src/widgets/CalendarStyleSelector/index.ts +1 -0
- package/src/widgets/CheckboxGroup/CheckboxGroup.stories.tsx +16 -0
- package/src/widgets/CheckboxGroup/CheckboxGroup.tsx +64 -0
- package/src/widgets/CheckboxGroup/index.ts +1 -0
- package/src/widgets/ImageRadioInput/ImageRadioInput.stories.tsx +18 -0
- package/src/widgets/ImageRadioInput/ImageRadioInput.tsx +29 -0
- package/src/widgets/ProductSetSelector/ProductSetSelector.stories.tsx +12 -0
- package/src/widgets/ProductSetSelector/ProductSetSelector.tsx +27 -0
- package/src/widgets/ProductSetSelector/index.ts +1 -0
- package/src/widgets/SnippetCode/SnippetCode.stories.tsx +17 -0
- package/src/widgets/SnippetCode/SnippetCode.tsx +27 -0
- package/src/widgets/SnippetCode/index.ts +1 -0
- package/src/widgets/WidgetBuilderForm/WidgetBuilderForm.stories.tsx +12 -0
- package/src/widgets/WidgetBuilderForm/WidgetBuilderForm.tsx +84 -0
- package/src/widgets/WidgetTypeRadio/WidgetTypeRadio.stories.tsx +17 -0
- package/src/widgets/WidgetTypeRadio/WidgetTypeRadio.tsx +43 -0
- package/src/widgets/WidgetTypeRadio/index.ts +1 -0
- package/src/widgets/WidgetTypeSelector/WidgetTypeSelector.stories.tsx +12 -0
- package/src/widgets/WidgetTypeSelector/WidgetTypeSelector.tsx +32 -0
- package/tests/Snippets/Snippets.test.tsx +77 -0
- 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/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/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/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/striped-static-table/_index.scss +0 -33
- 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/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/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/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/striped-static-table/_index.scss +0 -33
- /package/dist/{image-radio-input → widgets/ImageRadioInput}/index.d.ts +0 -0
- /package/src/{image-radio-input → widgets/ImageRadioInput}/index.ts +0 -0
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { PointProduct } from "@licklist/core/dist/DataMapper/Product/PointProductDataMapper";
|
|
3
|
-
import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
|
|
4
3
|
import { ProductCategory } from "../../../../../types";
|
|
5
4
|
import { CategoryProductModal } from "./CategoryProductModal";
|
|
6
5
|
|
|
@@ -9,7 +8,6 @@ export type CategoryProps = {
|
|
|
9
8
|
activePointId?: number;
|
|
10
9
|
pointProducts: PointProduct[];
|
|
11
10
|
onCloseModal: () => void;
|
|
12
|
-
soldOutProducts?: ProductQuantityCheckResponse["products"];
|
|
13
11
|
};
|
|
14
12
|
|
|
15
13
|
export const Category = ({
|
|
@@ -17,7 +15,6 @@ export const Category = ({
|
|
|
17
15
|
activePointId,
|
|
18
16
|
pointProducts,
|
|
19
17
|
onCloseModal,
|
|
20
|
-
soldOutProducts,
|
|
21
18
|
}: CategoryProps) => {
|
|
22
19
|
return (
|
|
23
20
|
<>
|
|
@@ -34,7 +31,6 @@ export const Category = ({
|
|
|
34
31
|
activePointId={activePointId}
|
|
35
32
|
pointProducts={pointProducts}
|
|
36
33
|
onCloseModal={onCloseModal}
|
|
37
|
-
soldOutProducts={soldOutProducts}
|
|
38
34
|
/>
|
|
39
35
|
);
|
|
40
36
|
})}
|
package/src/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.tsx
CHANGED
|
@@ -2,7 +2,6 @@ import React, { useMemo } from "react";
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { Button } from "react-bootstrap";
|
|
4
4
|
import { PointProduct } from "@licklist/core/dist/DataMapper/Product/PointProductDataMapper";
|
|
5
|
-
import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
|
|
6
5
|
import { ProductCategory, Product } from "../../../../../types";
|
|
7
6
|
import { CategoryProduct } from "../../CategoryProduct";
|
|
8
7
|
import Icon from "../../../../../static/Icon";
|
|
@@ -13,7 +12,6 @@ export type CategoryProductModalProps = {
|
|
|
13
12
|
category: ProductCategory;
|
|
14
13
|
pointProducts: PointProduct[];
|
|
15
14
|
onCloseModal: () => void;
|
|
16
|
-
soldOutProducts?: ProductQuantityCheckResponse["products"];
|
|
17
15
|
};
|
|
18
16
|
|
|
19
17
|
export const CategoryProductModal = ({
|
|
@@ -22,7 +20,6 @@ export const CategoryProductModal = ({
|
|
|
22
20
|
category,
|
|
23
21
|
pointProducts,
|
|
24
22
|
onCloseModal,
|
|
25
|
-
soldOutProducts,
|
|
26
23
|
}: CategoryProductModalProps) => {
|
|
27
24
|
const activePointProduct = useMemo(
|
|
28
25
|
() =>
|
|
@@ -45,7 +42,6 @@ export const CategoryProductModal = ({
|
|
|
45
42
|
product={product}
|
|
46
43
|
category={category}
|
|
47
44
|
canExpandDescription={false}
|
|
48
|
-
soldOutProducts={soldOutProducts}
|
|
49
45
|
/>
|
|
50
46
|
<div className="close-modal-button">
|
|
51
47
|
<Button
|
|
@@ -8,7 +8,6 @@ import { StepsFormProps } from "../StepsForm/StepsForm";
|
|
|
8
8
|
interface CategoryProps {
|
|
9
9
|
productCategories: ProductCategory[];
|
|
10
10
|
productsWithErrors?: StepsFormProps["productsWithErrors"];
|
|
11
|
-
soldOutProducts?: StepsFormProps["productsWithErrors"];
|
|
12
11
|
errors?: DeepMap<Record<string, any>, FieldError>;
|
|
13
12
|
}
|
|
14
13
|
|
|
@@ -16,7 +15,6 @@ export function Category({
|
|
|
16
15
|
productCategories,
|
|
17
16
|
productsWithErrors,
|
|
18
17
|
errors,
|
|
19
|
-
soldOutProducts,
|
|
20
18
|
}: CategoryProps) {
|
|
21
19
|
return (
|
|
22
20
|
<>
|
|
@@ -39,7 +37,6 @@ export function Category({
|
|
|
39
37
|
product={product}
|
|
40
38
|
category={category}
|
|
41
39
|
productsWithErrors={productsWithErrors}
|
|
42
|
-
soldOutProducts={soldOutProducts}
|
|
43
40
|
/>
|
|
44
41
|
);
|
|
45
42
|
})}
|
|
@@ -15,7 +15,6 @@ interface CategoryProductProps {
|
|
|
15
15
|
category: ProductCategory;
|
|
16
16
|
canExpandDescription?: boolean;
|
|
17
17
|
productsWithErrors?: StepsFormProps["productsWithErrors"];
|
|
18
|
-
soldOutProducts?: StepsFormProps["productsWithErrors"];
|
|
19
18
|
}
|
|
20
19
|
|
|
21
20
|
export const CategoryProduct = ({
|
|
@@ -23,7 +22,6 @@ export const CategoryProduct = ({
|
|
|
23
22
|
category,
|
|
24
23
|
canExpandDescription = true,
|
|
25
24
|
productsWithErrors,
|
|
26
|
-
soldOutProducts,
|
|
27
25
|
}: CategoryProductProps) => {
|
|
28
26
|
const { formatNumber } = useIntl();
|
|
29
27
|
const { t } = useTranslation(["Design", "Validation"]);
|
|
@@ -51,16 +49,6 @@ export const CategoryProduct = ({
|
|
|
51
49
|
return product.deposit;
|
|
52
50
|
}, [category, product]);
|
|
53
51
|
|
|
54
|
-
const checkIfSoldOutProduct = () => {
|
|
55
|
-
if (!soldOutProducts || product?.isSoldOut) {
|
|
56
|
-
return undefined;
|
|
57
|
-
}
|
|
58
|
-
const error = soldOutProducts.find(
|
|
59
|
-
(productWithError) => productWithError.product_id === product.id
|
|
60
|
-
);
|
|
61
|
-
return !!error?.message;
|
|
62
|
-
};
|
|
63
|
-
|
|
64
52
|
useEffect(() => {
|
|
65
53
|
if (!productQuantityError) {
|
|
66
54
|
return;
|
|
@@ -83,32 +71,17 @@ export const CategoryProduct = ({
|
|
|
83
71
|
// One case when no value is that we have product,
|
|
84
72
|
// but didn't click on number input.
|
|
85
73
|
// If it will be required then required check fired firstly.
|
|
74
|
+
if (!value) return true;
|
|
86
75
|
|
|
87
|
-
const {
|
|
88
|
-
isRequired = false,
|
|
89
|
-
maxAmount = 0,
|
|
90
|
-
minAmount = 0,
|
|
91
|
-
minSpend,
|
|
92
|
-
price,
|
|
93
|
-
} = product;
|
|
76
|
+
const { isRequired = false, maxAmount = 0, minAmount = 0 } = product;
|
|
94
77
|
|
|
95
|
-
const
|
|
96
|
-
if (minSpend && currentQuantity * price < minSpend) {
|
|
97
|
-
return t("Design:minimumSpendSumValidation", {
|
|
98
|
-
minSpend: formatNumber(minSpend, {
|
|
99
|
-
style: "currency",
|
|
100
|
-
currency: Config.Currency.GBP,
|
|
101
|
-
}),
|
|
102
|
-
}) as string;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
if (!value) return true;
|
|
78
|
+
const { quantity = 0 } = value;
|
|
106
79
|
|
|
107
|
-
if (!
|
|
80
|
+
if (!quantity && !isRequired) {
|
|
108
81
|
return true;
|
|
109
82
|
}
|
|
110
83
|
|
|
111
|
-
if (!
|
|
84
|
+
if (!quantity && isRequired) {
|
|
112
85
|
return t("Design:pleaseSelectAtLeastFrom", {
|
|
113
86
|
min: 1,
|
|
114
87
|
type: "item",
|
|
@@ -116,18 +89,14 @@ export const CategoryProduct = ({
|
|
|
116
89
|
}) as string;
|
|
117
90
|
}
|
|
118
91
|
|
|
119
|
-
if (
|
|
92
|
+
if (quantity < minAmount) {
|
|
120
93
|
return t("Validation:fieldMinNumber", {
|
|
121
94
|
min: product.minAmount,
|
|
122
95
|
attribute: product.name,
|
|
123
96
|
}) as string;
|
|
124
97
|
}
|
|
125
98
|
|
|
126
|
-
if (
|
|
127
|
-
maxAmount &&
|
|
128
|
-
currentQuantity >= minAmount &&
|
|
129
|
-
maxAmount < currentQuantity
|
|
130
|
-
) {
|
|
99
|
+
if (maxAmount && quantity >= minAmount && maxAmount < quantity) {
|
|
131
100
|
return t("Validation:quantityMaxNumber", {
|
|
132
101
|
max: product.maxAmount,
|
|
133
102
|
}) as string;
|
|
@@ -167,10 +136,7 @@ export const CategoryProduct = ({
|
|
|
167
136
|
productInfo={productInfo}
|
|
168
137
|
ref={ref}
|
|
169
138
|
clearErrors={clearErrors}
|
|
170
|
-
product={
|
|
171
|
-
...product,
|
|
172
|
-
isSoldOut: product?.isSoldOut || checkIfSoldOutProduct(),
|
|
173
|
-
}}
|
|
139
|
+
product={product}
|
|
174
140
|
category={category}
|
|
175
141
|
invalid={invalid}
|
|
176
142
|
deposit={deposit}
|
package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx
CHANGED
|
@@ -10,7 +10,6 @@ interface NumberInputProps {
|
|
|
10
10
|
onArrowDown?: (value: number) => void;
|
|
11
11
|
min?: number;
|
|
12
12
|
max?: number;
|
|
13
|
-
placeholder?: string;
|
|
14
13
|
defaultValue?: number;
|
|
15
14
|
disabled?: boolean;
|
|
16
15
|
}
|
|
@@ -25,7 +24,6 @@ export const NumberInput = forwardRef<HTMLInputElement, NumberInputProps>(
|
|
|
25
24
|
onArrowUp,
|
|
26
25
|
min,
|
|
27
26
|
max,
|
|
28
|
-
placeholder,
|
|
29
27
|
defaultValue,
|
|
30
28
|
disabled,
|
|
31
29
|
},
|
|
@@ -68,7 +66,6 @@ export const NumberInput = forwardRef<HTMLInputElement, NumberInputProps>(
|
|
|
68
66
|
min={min}
|
|
69
67
|
max={max}
|
|
70
68
|
defaultValue={defaultValue}
|
|
71
|
-
placeholder={placeholder}
|
|
72
69
|
height="5rem"
|
|
73
70
|
disabled={disabled}
|
|
74
71
|
ref={ref}
|
|
@@ -83,7 +83,7 @@ export const ProductQuantityInput = ({
|
|
|
83
83
|
deposit,
|
|
84
84
|
price: product.price,
|
|
85
85
|
productsCategoryId: category.id,
|
|
86
|
-
quantity: val
|
|
86
|
+
quantity: val,
|
|
87
87
|
});
|
|
88
88
|
clearErrors(`${product.id}` as const);
|
|
89
89
|
}}
|
|
@@ -110,9 +110,8 @@ export const ProductQuantityInput = ({
|
|
|
110
110
|
clearErrors(`${product.id}` as const);
|
|
111
111
|
}}
|
|
112
112
|
min={0}
|
|
113
|
-
placeholder="0"
|
|
114
113
|
disabled={product.isSoldOut}
|
|
115
|
-
value={productInfo?.quantity}
|
|
114
|
+
value={productInfo?.quantity || 0}
|
|
116
115
|
className={clsx(invalid && "error")}
|
|
117
116
|
/>
|
|
118
117
|
);
|
|
@@ -32,7 +32,6 @@ export interface StepsFormProps {
|
|
|
32
32
|
setFormErrors?: (errors: Record<string, any>) => void;
|
|
33
33
|
id?: string;
|
|
34
34
|
productsWithErrors?: ProductQuantityCheckResponse["products"];
|
|
35
|
-
soldOutProducts?: ProductQuantityCheckResponse["products"];
|
|
36
35
|
}
|
|
37
36
|
|
|
38
37
|
export type StepsFormRef = {
|
|
@@ -50,7 +49,6 @@ export const StepsForm = forwardRef<StepsFormRef, StepsFormProps>(
|
|
|
50
49
|
setFormErrors,
|
|
51
50
|
id = STEP_FORM_ID,
|
|
52
51
|
productsWithErrors,
|
|
53
|
-
soldOutProducts,
|
|
54
52
|
},
|
|
55
53
|
ref
|
|
56
54
|
) => {
|
|
@@ -152,7 +150,6 @@ export const StepsForm = forwardRef<StepsFormRef, StepsFormProps>(
|
|
|
152
150
|
productCategories={step?.productCategories}
|
|
153
151
|
productsWithErrors={productsWithErrors}
|
|
154
152
|
errors={errors}
|
|
155
|
-
soldOutProducts={soldOutProducts}
|
|
156
153
|
/>
|
|
157
154
|
|
|
158
155
|
{errors[NO_ORDER_ITEMS_ERROR] && (
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export const fancyTimeFormat = (
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
|
|
1
|
+
export const fancyTimeFormat = (duration: number) => {
|
|
2
|
+
const mins = Math.floor((duration % 3600) / 60);
|
|
3
|
+
const secs = Math.floor(duration) % 60;
|
|
4
|
+
|
|
5
5
|
let timerString = "";
|
|
6
6
|
|
|
7
7
|
timerString += `${mins}:${secs < 10 ? "0" : ""}`;
|
|
@@ -75,37 +75,22 @@ export const getProductQuantityAndPrice = (
|
|
|
75
75
|
export const getPaymentValueByType = (
|
|
76
76
|
payments: Order["payments"],
|
|
77
77
|
paymentTypeTitle: string
|
|
78
|
-
)
|
|
79
|
-
if (!payments || !payments.length) {
|
|
80
|
-
return 0;
|
|
81
|
-
}
|
|
78
|
+
) => {
|
|
82
79
|
if (paymentTypeTitle === PAYMENT_TYPE_TITLES.FEE) {
|
|
83
80
|
const feeWithoutVatValue =
|
|
84
|
-
payments?.
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
return sumOfPayments + (payment?.amount ?? 0);
|
|
90
|
-
}, 0) ?? 0;
|
|
81
|
+
payments?.find(
|
|
82
|
+
(payment) => payment.paymentType.title === paymentTypeTitle
|
|
83
|
+
)?.amount ?? 0;
|
|
91
84
|
|
|
92
85
|
const vatValue =
|
|
93
|
-
payments?.
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
}
|
|
97
|
-
return sumOfPayments + (payment?.amount ?? 0);
|
|
98
|
-
}, 0) ?? 0;
|
|
86
|
+
payments?.find(
|
|
87
|
+
(payment) => payment.paymentType.title === PAYMENT_TYPE_TITLES.VAT
|
|
88
|
+
)?.amount ?? 0;
|
|
99
89
|
return feeWithoutVatValue + vatValue;
|
|
100
90
|
}
|
|
101
|
-
|
|
102
91
|
return (
|
|
103
|
-
payments?.
|
|
104
|
-
|
|
105
|
-
return sumOfPayments;
|
|
106
|
-
}
|
|
107
|
-
return sumOfPayments + (payment?.amount ?? 0);
|
|
108
|
-
}, 0) ?? 0
|
|
92
|
+
payments?.find((payment) => payment.paymentType.title === paymentTypeTitle)
|
|
93
|
+
?.amount ?? 0
|
|
109
94
|
);
|
|
110
95
|
};
|
|
111
96
|
|
|
@@ -15,7 +15,6 @@ import {
|
|
|
15
15
|
import { PaymentTimer } from "./PaymentTimer";
|
|
16
16
|
import { Page, PageBody, PageHeader } from "../../page";
|
|
17
17
|
import { BookingSummary, BookingSummaryFooter } from "../../order-process";
|
|
18
|
-
import { cartSumByOrderProducts } from "../../order-process/components/BookingSummary/utils";
|
|
19
18
|
|
|
20
19
|
export interface PaymentMetadata {
|
|
21
20
|
total: number;
|
|
@@ -25,7 +24,7 @@ export interface PaymentMetadata {
|
|
|
25
24
|
interface PaymentProps extends RyftPaymentFormProps {
|
|
26
25
|
onCloseIframePayment?: () => void;
|
|
27
26
|
onFailIframePayment?: () => void;
|
|
28
|
-
data?: PaymentLinkResponse
|
|
27
|
+
data?: PaymentLinkResponse;
|
|
29
28
|
isLoading: boolean;
|
|
30
29
|
bookingSummaryProps: Omit<BookingSummaryProps, "totallWithDiscount">;
|
|
31
30
|
paymentMetadata?: PaymentMetadata;
|
|
@@ -100,19 +99,6 @@ export const PaymentPage = ({
|
|
|
100
99
|
);
|
|
101
100
|
}
|
|
102
101
|
|
|
103
|
-
const orderTotalAmounByFormValues = cartSumByOrderProducts(
|
|
104
|
-
bookingSummaryProps && bookingSummaryProps?.formValues
|
|
105
|
-
? Object.values(bookingSummaryProps?.formValues)
|
|
106
|
-
: undefined
|
|
107
|
-
);
|
|
108
|
-
|
|
109
|
-
// User can fill promocode only in iframe appcliation.
|
|
110
|
-
// It didn't possible via payment link. This check will
|
|
111
|
-
// be applied when there are no metadata and in case when
|
|
112
|
-
// orderValues sum is greater than amount in order.
|
|
113
|
-
const isCalculatedAmountGreaterThanOrderAmount =
|
|
114
|
-
orderTotalAmounByFormValues > data?.amount;
|
|
115
|
-
|
|
116
102
|
return (
|
|
117
103
|
<Page
|
|
118
104
|
className="payment_link"
|
|
@@ -141,7 +127,7 @@ export const PaymentPage = ({
|
|
|
141
127
|
bottomBlock={
|
|
142
128
|
<BookingSummaryFooter showButton={false}>
|
|
143
129
|
<div className="d-flex flex-column justify-content-between">
|
|
144
|
-
{paymentMetadata
|
|
130
|
+
{paymentMetadata && (
|
|
145
131
|
<>
|
|
146
132
|
<SummaryTotalBlock
|
|
147
133
|
label={t("total")}
|
|
@@ -151,38 +137,12 @@ export const PaymentPage = ({
|
|
|
151
137
|
label={t("paidSum")}
|
|
152
138
|
amount={paymentMetadata.paid || 0}
|
|
153
139
|
/>
|
|
154
|
-
<SummaryTotalBlock
|
|
155
|
-
label={t("remaining")}
|
|
156
|
-
amount={
|
|
157
|
-
paymentMetadata.total - paymentMetadata.paid || 0
|
|
158
|
-
}
|
|
159
|
-
/>
|
|
160
|
-
</>
|
|
161
|
-
) : (
|
|
162
|
-
<>
|
|
163
|
-
{isCalculatedAmountGreaterThanOrderAmount && (
|
|
164
|
-
<SummaryTotalBlock
|
|
165
|
-
label={t("total")}
|
|
166
|
-
amount={
|
|
167
|
-
orderTotalAmounByFormValues +
|
|
168
|
-
(bookingSummaryProps?.transactionFee || 0)
|
|
169
|
-
}
|
|
170
|
-
/>
|
|
171
|
-
)}
|
|
172
|
-
|
|
173
|
-
<SummaryTotalBlock
|
|
174
|
-
label={t(
|
|
175
|
-
isCalculatedAmountGreaterThanOrderAmount
|
|
176
|
-
? "totalWithDiscount"
|
|
177
|
-
: "total"
|
|
178
|
-
)}
|
|
179
|
-
amount={
|
|
180
|
-
data?.amount +
|
|
181
|
-
(bookingSummaryProps?.transactionFee || 0)
|
|
182
|
-
}
|
|
183
|
-
/>
|
|
184
140
|
</>
|
|
185
141
|
)}
|
|
142
|
+
<SummaryTotalBlock
|
|
143
|
+
label={t(paymentMetadata ? "remaining" : "total")}
|
|
144
|
+
amount={data?.amount || 0}
|
|
145
|
+
/>
|
|
186
146
|
</div>
|
|
187
147
|
</BookingSummaryFooter>
|
|
188
148
|
}
|
|
@@ -1,41 +1,16 @@
|
|
|
1
|
-
import React, { useContext,
|
|
1
|
+
import React, { useContext, useLayoutEffect } from "react";
|
|
2
2
|
import { PaymentSessionContext } from "@licklist/plugins/dist/context/payment/PaymentSessionContext";
|
|
3
|
-
import { useTimer } from "@licklist/plugins/dist";
|
|
4
3
|
import { Timer } from "../../order-process";
|
|
5
4
|
|
|
6
|
-
// 10 minutes in ms
|
|
7
|
-
export const PAYMENT_TIMER_TOTAL_TIME = 600000;
|
|
8
|
-
|
|
9
5
|
export const PaymentTimer = () => {
|
|
10
|
-
const { timer,
|
|
11
|
-
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
const { setIsPaymentSessionExpired, isResetTimer } = useContext(
|
|
15
|
-
PaymentSessionContext
|
|
16
|
-
);
|
|
17
|
-
|
|
18
|
-
useEffect(() => {
|
|
19
|
-
if (!isResetTimer) {
|
|
20
|
-
return;
|
|
21
|
-
}
|
|
22
|
-
resetTimer();
|
|
23
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
24
|
-
}, [isResetTimer]);
|
|
25
|
-
|
|
26
|
-
useEffect(() => {
|
|
27
|
-
// Sometimes we can get not round time in ms
|
|
28
|
-
if (timer > 1000) {
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
setIsPaymentSessionExpired(true);
|
|
32
|
-
resetTimer();
|
|
33
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
34
|
-
}, [timer]);
|
|
6
|
+
const { timer, startPaymentSessionTimer, isTimerStarted, setTimer } =
|
|
7
|
+
useContext(PaymentSessionContext);
|
|
35
8
|
|
|
36
9
|
useLayoutEffect(() => {
|
|
10
|
+
setTimer(600);
|
|
37
11
|
if (isTimerStarted) return;
|
|
38
|
-
|
|
12
|
+
|
|
13
|
+
startPaymentSessionTimer();
|
|
39
14
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
40
15
|
}, []);
|
|
41
16
|
|
|
@@ -9,8 +9,6 @@ import { BookingSummary, BookingSummaryFooter } from "../../order-process";
|
|
|
9
9
|
import { PaymentStatusHeader } from "../payment-status-header/PaymentStatusHeader";
|
|
10
10
|
import { SummaryTotalBlock } from "../../order-process/components/BookingSummary/components/SummaryTotal";
|
|
11
11
|
import { BookingSummaryProps } from "../../order-process/components/BookingSummary/types";
|
|
12
|
-
import { PaymentMetadata } from "../payment-page/PaymentPage";
|
|
13
|
-
import { cartSumByOrderProducts } from "../../order-process/components/BookingSummary/utils";
|
|
14
12
|
|
|
15
13
|
export const ORDER_STATUS_FAILED = "failed";
|
|
16
14
|
export const ORDER_STATUS_SUCCESS = "success";
|
|
@@ -25,6 +23,7 @@ interface PaymentStatusComponentProps {
|
|
|
25
23
|
onCloseWindow: () => void;
|
|
26
24
|
onBack?: () => void;
|
|
27
25
|
onTryAgain?: () => void;
|
|
26
|
+
totalAmount?: number;
|
|
28
27
|
isLoading?: boolean;
|
|
29
28
|
status: OrderStatusPrefix;
|
|
30
29
|
isAppUsingInIframe?: boolean;
|
|
@@ -32,8 +31,6 @@ interface PaymentStatusComponentProps {
|
|
|
32
31
|
EventCardComponent?: ReactNode;
|
|
33
32
|
showCloseButton?: boolean;
|
|
34
33
|
email?: string;
|
|
35
|
-
totalAmount?: number;
|
|
36
|
-
paymentMetadata?: PaymentMetadata;
|
|
37
34
|
}
|
|
38
35
|
|
|
39
36
|
// @TODO In future think, how to reuse this component in Iframe Pending, Success and Failed Pages
|
|
@@ -41,6 +38,7 @@ export const PaymentStatusPage = ({
|
|
|
41
38
|
onCloseWindow,
|
|
42
39
|
onBack,
|
|
43
40
|
onTryAgain,
|
|
41
|
+
totalAmount,
|
|
44
42
|
isLoading,
|
|
45
43
|
status,
|
|
46
44
|
isAppUsingInIframe,
|
|
@@ -48,8 +46,6 @@ export const PaymentStatusPage = ({
|
|
|
48
46
|
EventCardComponent,
|
|
49
47
|
showCloseButton = false,
|
|
50
48
|
email,
|
|
51
|
-
totalAmount = 0,
|
|
52
|
-
paymentMetadata,
|
|
53
49
|
}: PaymentStatusComponentProps) => {
|
|
54
50
|
const { t } = useTranslation("Design");
|
|
55
51
|
|
|
@@ -69,22 +65,6 @@ export const PaymentStatusPage = ({
|
|
|
69
65
|
if (isLoading) {
|
|
70
66
|
return <LoaderIndicator isLoaded={false} />;
|
|
71
67
|
}
|
|
72
|
-
|
|
73
|
-
const orderTotalAmounByFormValues = cartSumByOrderProducts(
|
|
74
|
-
bookingSummaryProps && bookingSummaryProps?.formValues
|
|
75
|
-
? Object.values(bookingSummaryProps?.formValues)
|
|
76
|
-
: undefined
|
|
77
|
-
);
|
|
78
|
-
|
|
79
|
-
// User can fill promocode only in iframe appcliation.
|
|
80
|
-
// It didn't possible via payment link. This check will
|
|
81
|
-
// be applied when there are no metadata and in case when
|
|
82
|
-
// orderValues sum is greater than amount in order.
|
|
83
|
-
// For payment status page booking summary props can be empty
|
|
84
|
-
// so we should also check for them
|
|
85
|
-
const isCalculatedAmountGreaterThanOrderAmount =
|
|
86
|
-
bookingSummaryProps && orderTotalAmounByFormValues > totalAmount;
|
|
87
|
-
|
|
88
68
|
return (
|
|
89
69
|
<Page
|
|
90
70
|
className="payment-status-page"
|
|
@@ -118,50 +98,16 @@ export const PaymentStatusPage = ({
|
|
|
118
98
|
<PageBody.RightBlock
|
|
119
99
|
bottomBlock={
|
|
120
100
|
<BookingSummaryFooter showButton={false}>
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
/>
|
|
132
|
-
<SummaryTotalBlock
|
|
133
|
-
label={t("remaining")}
|
|
134
|
-
amount={
|
|
135
|
-
paymentMetadata.total - paymentMetadata.paid || 0
|
|
136
|
-
}
|
|
137
|
-
/>
|
|
138
|
-
</>
|
|
139
|
-
) : (
|
|
140
|
-
<>
|
|
141
|
-
{isCalculatedAmountGreaterThanOrderAmount && (
|
|
142
|
-
<SummaryTotalBlock
|
|
143
|
-
label={t("total")}
|
|
144
|
-
amount={
|
|
145
|
-
orderTotalAmounByFormValues +
|
|
146
|
-
(bookingSummaryProps?.transactionFee || 0)
|
|
147
|
-
}
|
|
148
|
-
/>
|
|
149
|
-
)}
|
|
150
|
-
|
|
151
|
-
<SummaryTotalBlock
|
|
152
|
-
label={t(
|
|
153
|
-
isCalculatedAmountGreaterThanOrderAmount
|
|
154
|
-
? "totalWithDiscount"
|
|
155
|
-
: "total"
|
|
156
|
-
)}
|
|
157
|
-
amount={
|
|
158
|
-
totalAmount +
|
|
159
|
-
(bookingSummaryProps?.transactionFee || 0)
|
|
160
|
-
}
|
|
161
|
-
/>
|
|
162
|
-
</>
|
|
163
|
-
)}
|
|
164
|
-
</div>
|
|
101
|
+
{bookingSummaryProps?.formValues ? (
|
|
102
|
+
<BookingSummary.SummaryTotal
|
|
103
|
+
formValues={bookingSummaryProps?.formValues}
|
|
104
|
+
/>
|
|
105
|
+
) : (
|
|
106
|
+
<SummaryTotalBlock
|
|
107
|
+
label={t("total")}
|
|
108
|
+
amount={totalAmount || 0}
|
|
109
|
+
/>
|
|
110
|
+
)}
|
|
165
111
|
</BookingSummaryFooter>
|
|
166
112
|
}
|
|
167
113
|
>
|
package/src/index.ts
CHANGED
|
@@ -33,7 +33,3 @@ export * from "./zone";
|
|
|
33
33
|
export * from "./resource";
|
|
34
34
|
export * from "./virtualized";
|
|
35
35
|
export * from "./customers";
|
|
36
|
-
export * from "./striped-static-table";
|
|
37
|
-
export * from "./radio-card";
|
|
38
|
-
export * from "./image-radio-input";
|
|
39
|
-
export * from "./sorting-select";
|
|
@@ -14,10 +14,8 @@ export const Default: Story<EmailTemplateCardProps> = (args) => (
|
|
|
14
14
|
|
|
15
15
|
Default.args = {
|
|
16
16
|
href: "#",
|
|
17
|
-
name: "Default Email Template
|
|
18
|
-
subject: "Confirmation
|
|
17
|
+
name: "Default Email Template",
|
|
18
|
+
subject: "Confirmation",
|
|
19
19
|
hasPermission: true,
|
|
20
20
|
isDefault: true,
|
|
21
|
-
templateType: "confirmation",
|
|
22
|
-
isActive: true,
|
|
23
21
|
};
|
|
@@ -2,19 +2,16 @@ import React from "react";
|
|
|
2
2
|
import { Link } from "react-router-dom";
|
|
3
3
|
import { HasPermissionProp } from "@licklist/plugins/dist/types/permission/Permission";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
|
-
|
|
5
|
+
|
|
6
6
|
import { ConfirmModal, ConfirmModalType } from "../../../modals";
|
|
7
7
|
import { Icon } from "../../../static";
|
|
8
|
-
import { useTranslatedParameters } from "../../hooks/useTranslatedParameters";
|
|
9
8
|
|
|
10
9
|
export interface EmailTemplateCardProps extends HasPermissionProp {
|
|
11
10
|
name: string;
|
|
12
11
|
subject: string;
|
|
13
12
|
href: string;
|
|
14
13
|
isDefault: boolean;
|
|
15
|
-
isActive: boolean;
|
|
16
14
|
onRemove: () => void;
|
|
17
|
-
type: NotificationType;
|
|
18
15
|
}
|
|
19
16
|
|
|
20
17
|
export function EmailTemplateCard({
|
|
@@ -23,14 +20,10 @@ export function EmailTemplateCard({
|
|
|
23
20
|
subject,
|
|
24
21
|
onRemove,
|
|
25
22
|
isDefault = false,
|
|
26
|
-
isActive = false,
|
|
27
23
|
hasPermission = true,
|
|
28
|
-
type,
|
|
29
24
|
}: EmailTemplateCardProps) {
|
|
30
25
|
const { t } = useTranslation(["Design"]);
|
|
31
26
|
|
|
32
|
-
const texts = useTranslatedParameters({ isDefault, isActive });
|
|
33
|
-
|
|
34
27
|
return (
|
|
35
28
|
<>
|
|
36
29
|
<div className="snippet-template-card">
|
|
@@ -60,13 +53,8 @@ export function EmailTemplateCard({
|
|
|
60
53
|
)}
|
|
61
54
|
</div>
|
|
62
55
|
<div className={`mt-${isDefault ? "3" : "4"}`}>
|
|
63
|
-
{
|
|
64
|
-
<
|
|
65
|
-
<span className="snippet-template-card-subject">{subject}</span>
|
|
66
|
-
<p className="mb-0">
|
|
67
|
-
{t(`Design:type`)}: {t(`Design:${type}`)}
|
|
68
|
-
</p>
|
|
69
|
-
</div>
|
|
56
|
+
{Boolean(isDefault) && <p className="mb-1">{t("Design:default")}</p>}
|
|
57
|
+
<span>{subject}</span>
|
|
70
58
|
</div>
|
|
71
59
|
</div>
|
|
72
60
|
</>
|