@licklist/design 0.44.485-dev.47 → 0.44.485-dev.5
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/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/customers/components/filter/CustomerFilter.js +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 +1 -1
- package/dist/help/popover/HelpPopover.d.ts.map +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-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/hooks/useTableData.d.ts +0 -5
- package/dist/iframe/payment/order-items-table/hooks/useTableData.d.ts.map +1 -1
- package/dist/iframe/payment/order-items-table/hooks/useTableData.js +1 -1
- package/dist/iframe/payment/order-items-table/types/index.d.ts +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 +1 -6
- 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 -1
- 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/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 +1 -1
- package/dist/sales/booking/filter/BookingFilter.d.ts.map +1 -1
- package/dist/sales/booking/filter/components/AdditionalFIlterSection.d.ts +1 -1
- 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 +1 -1
- package/dist/sales/booking/filter/components/MainFilterSection.d.ts.map +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.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/tabs/BookingTabs.d.ts +1 -1
- package/dist/sales/booking/tabs/BookingTabs.d.ts.map +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/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/sortable-list/SortableList.d.ts +4 -4
- package/dist/sortable-list/SortableList.d.ts.map +1 -1
- package/dist/sortable-tree/SortableTreeItem.d.ts +1 -1
- package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
- package/dist/static/Icon.d.ts +1 -1
- package/dist/static/Icon.d.ts.map +1 -1
- package/dist/static/date-range-input/DateRangeInput.d.ts +1 -1
- package/dist/static/date-range-input/DateRangeInput.d.ts.map +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/customers/Filter.scss +4 -23
- package/dist/styles/events/EventStatisticModal.scss +37 -0
- package/dist/styles/iframe-order-process/IframeOrderProcess.scss +2 -5
- package/dist/styles/packages.scss +0 -1
- package/dist/styles/snippet-templates/SnippetTemplateCard.scss +0 -16
- 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 +3 -3
- 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/CheckboxGroup/CheckboxGroup.d.ts +1 -1
- package/dist/widgets/CheckboxGroup/CheckboxGroup.d.ts.map +1 -1
- package/dist/widgets/ImageRadioInput/ImageRadioInput.d.ts +1 -1
- package/dist/widgets/ImageRadioInput/ImageRadioInput.d.ts.map +1 -1
- package/dist/widgets/SnippetCode/SnippetCode.d.ts +1 -1
- package/dist/widgets/SnippetCode/SnippetCode.d.ts.map +1 -1
- package/dist/widgets/WidgetBuilderForm/WidgetBuilderForm.d.ts +1 -1
- package/dist/widgets/WidgetBuilderForm/WidgetBuilderForm.d.ts.map +1 -1
- package/dist/widgets/WidgetTypeRadio/WidgetTypeRadio.d.ts +1 -1
- package/dist/widgets/WidgetTypeRadio/WidgetTypeRadio.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/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/customers/components/filter/CustomerFilter.tsx +1 -1
- package/src/events/edit-event-modal/IntervalInput.tsx +1 -21
- 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 +1 -3
- 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/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/OrderItemsTable.stories.tsx +0 -2
- package/src/iframe/payment/order-items-table/hooks/useTableData.tsx +14 -21
- package/src/iframe/payment/order-items-table/utils/index.ts +15 -55
- 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 -1
- package/src/notification/email-template/card/EmailTemplateCard.stories.tsx +2 -4
- package/src/notification/email-template/card/EmailTemplateCard.tsx +3 -15
- package/src/notification/email-template/control/EmailTemplateControl.tsx +6 -90
- package/src/notification/email-template/form/EmailTemplateForm.stories.tsx +0 -34
- package/src/notification/email-template/form/EmailTemplateForm.tsx +5 -23
- package/src/notification/sms-template/card/SmsTemplateCard.stories.tsx +1 -3
- package/src/notification/sms-template/card/SmsTemplateCard.tsx +3 -13
- package/src/notification/sms-template/control/SmsTemplateControl.tsx +2 -40
- package/src/notification/sms-template/form/SmsTemplateForm.stories.tsx +0 -28
- package/src/notification/sms-template/form/SmsTemplateForm.tsx +1 -6
- package/src/product-set/control/ProductSetControl.tsx +33 -61
- 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 -20
- package/src/product-set/form/StepsControl.tsx +2 -20
- package/src/product-set/product/ProductControl.tsx +10 -25
- package/src/product-set/product/price/ProductPriceControl.tsx +21 -43
- package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +14 -33
- package/src/product-set/utils/index.ts +0 -28
- package/src/provider/provider-details-input/ProviderDetailsInput.tsx +2 -0
- package/src/sales/booking/filter/components/AdditionalFIlterSection.tsx +2 -16
- package/src/sales/booking/filter/components/SearchingForSection.tsx +1 -18
- 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/snippet/snippet-template/SnippetTemplate.tsx +1 -1
- package/src/styles/customers/Filter.scss +4 -23
- package/src/styles/events/EventStatisticModal.scss +37 -0
- package/src/styles/iframe-order-process/IframeOrderProcess.scss +2 -5
- package/src/styles/packages.scss +0 -1
- package/src/styles/snippet-templates/SnippetTemplateCard.scss +0 -16
- package/src/table/FilterHelperComponent.tsx +0 -1
- package/src/table/StaticTable.tsx +2 -4
- package/src/typeahead/Typeahead.stories.tsx +6 -9
- package/src/typeahead/Typeahead.tsx +12 -19
- package/src/types/iframe.ts +0 -2
- 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/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/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/notification/hooks/useTranslatedParameters.ts +0 -27
- 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
|
@@ -6,7 +6,6 @@ import { useTranslation } from "react-i18next";
|
|
|
6
6
|
import { useIntl } from "react-intl";
|
|
7
7
|
|
|
8
8
|
import { useId } from "@react-aria/utils";
|
|
9
|
-
import { ProductSet } from "@licklist/core/dist/DataMapper/Product/ProductSetDataMapper";
|
|
10
9
|
import HTMLInputDateElement from "../../types/static/HTMLInputDateElement";
|
|
11
10
|
import { RecurrenceInput } from "../../recurrence-input";
|
|
12
11
|
import { WarningMessage } from "../../static";
|
|
@@ -14,8 +13,6 @@ import { ProductSetFormValues } from "../../product-set/form";
|
|
|
14
13
|
|
|
15
14
|
interface IntervalInputProps {
|
|
16
15
|
editedProductSet?: ProductSetFormValues;
|
|
17
|
-
productSets?: ProductSet[];
|
|
18
|
-
productSetId?: number;
|
|
19
16
|
disabled?: boolean;
|
|
20
17
|
}
|
|
21
18
|
|
|
@@ -28,8 +25,6 @@ export interface IntervalInputValues {
|
|
|
28
25
|
export function IntervalInput({
|
|
29
26
|
disabled = false,
|
|
30
27
|
editedProductSet,
|
|
31
|
-
productSetId,
|
|
32
|
-
productSets,
|
|
33
28
|
}: IntervalInputProps) {
|
|
34
29
|
const { t } = useTranslation(["Design", "Validation"]);
|
|
35
30
|
const {
|
|
@@ -47,7 +42,6 @@ export function IntervalInput({
|
|
|
47
42
|
const start = watch("start");
|
|
48
43
|
const end = watch("end");
|
|
49
44
|
const [recurrent, setRecurrent] = useState(Boolean(rrule));
|
|
50
|
-
const [isOverriden, setIsOverriden] = useState(false);
|
|
51
45
|
const recurrentId = useId();
|
|
52
46
|
|
|
53
47
|
const startDateInput = useRef<HTMLInputDateElement | null>(null);
|
|
@@ -72,18 +66,6 @@ export function IntervalInput({
|
|
|
72
66
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
73
67
|
}, [editedProductSet]);
|
|
74
68
|
|
|
75
|
-
useEffect(() => {
|
|
76
|
-
if (!productSets) return;
|
|
77
|
-
|
|
78
|
-
const isOverridenProductSet = productSets.find(
|
|
79
|
-
(productSet) =>
|
|
80
|
-
(editedProductSet && productSet?.id === editedProductSet?.id) ||
|
|
81
|
-
(Boolean(productSet?.parentMenuId) && productSet?.id === productSetId)
|
|
82
|
-
);
|
|
83
|
-
|
|
84
|
-
setIsOverriden(Boolean(isOverridenProductSet));
|
|
85
|
-
}, [productSets, productSetId, setIsOverriden, editedProductSet]);
|
|
86
|
-
|
|
87
69
|
return (
|
|
88
70
|
<>
|
|
89
71
|
<Form.Row className="interval-container">
|
|
@@ -147,11 +129,9 @@ export function IntervalInput({
|
|
|
147
129
|
{t("reccurentDescription", { item: t("event") })}
|
|
148
130
|
</Form.Text>
|
|
149
131
|
)}
|
|
132
|
+
<WarningMessage message={t("recurrentOverridesWarining")} />
|
|
150
133
|
</Form.Group>
|
|
151
134
|
)}
|
|
152
|
-
{isOverriden && (
|
|
153
|
-
<WarningMessage message={t("recurrentOverridesWarining")} />
|
|
154
|
-
)}
|
|
155
135
|
{recurrent && start && (
|
|
156
136
|
<Form.Group>
|
|
157
137
|
<Controller
|
|
@@ -121,7 +121,6 @@ export const EditEventForm = ({
|
|
|
121
121
|
|
|
122
122
|
const visible = watch("visible");
|
|
123
123
|
const editedProductSet = watch("editedProductSet");
|
|
124
|
-
const productSetId = watch("productSetId");
|
|
125
124
|
|
|
126
125
|
const {
|
|
127
126
|
images,
|
|
@@ -268,8 +267,6 @@ export const EditEventForm = ({
|
|
|
268
267
|
<IntervalInput
|
|
269
268
|
key={watch("rrule")}
|
|
270
269
|
disabled={disabled}
|
|
271
|
-
productSetId={productSetId}
|
|
272
|
-
productSets={productSets}
|
|
273
270
|
editedProductSet={editedProductSet}
|
|
274
271
|
/>
|
|
275
272
|
{categories.length !== 0 && (
|
|
@@ -11,7 +11,6 @@ import { ProductSetControl } from "../../../../../product-set";
|
|
|
11
11
|
import { ProductSetContextProvider } from "../../../../../product-set/form/context";
|
|
12
12
|
import { getDefaultValues } from "../../../utils/getDefaultProductSet";
|
|
13
13
|
import { EditEventFormValues } from "../../EditEventForm";
|
|
14
|
-
import { getFilteredTemplates } from "../../../../../product-set/utils/index";
|
|
15
14
|
|
|
16
15
|
export const DEFAULT_FEE = 5;
|
|
17
16
|
|
|
@@ -110,16 +109,8 @@ export const EditEventProductSet = ({
|
|
|
110
109
|
<FormProvider {...form}>
|
|
111
110
|
<Form className="mt-6">
|
|
112
111
|
<ProductSetControl
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
formValues?.smsTemplates
|
|
116
|
-
)}
|
|
117
|
-
emailTemplates={getFilteredTemplates(
|
|
118
|
-
emailTemplates,
|
|
119
|
-
formValues?.emailTemplates
|
|
120
|
-
)}
|
|
121
|
-
showEmailTemplate={!!emailTemplates}
|
|
122
|
-
showSmsTemplate={!!smsTemplates}
|
|
112
|
+
emailTemplates={emailTemplates}
|
|
113
|
+
smsTemplates={smsTemplates}
|
|
123
114
|
fieldSets={fieldSetsData}
|
|
124
115
|
isLoading={isLoading}
|
|
125
116
|
companyName={selectedCompany?.title}
|
|
@@ -3,7 +3,6 @@ import {
|
|
|
3
3
|
DEFAULT_PRODUCT_SET_TYPE,
|
|
4
4
|
ProductSet,
|
|
5
5
|
} from "@licklist/core/dist/DataMapper/Product/ProductSetDataMapper";
|
|
6
|
-
import { getFilteredTemplates } from "../../../product-set/utils/index";
|
|
7
6
|
import { ProductSetFormValues } from "../../../product-set/form/ProductSetForm";
|
|
8
7
|
|
|
9
8
|
export const getDefaultValues = (
|
|
@@ -15,16 +14,15 @@ export const getDefaultValues = (
|
|
|
15
14
|
type: productSet?.type ?? DEFAULT_PRODUCT_SET_TYPE,
|
|
16
15
|
termsAndConditions: productSet?.termsAndConditions ?? "",
|
|
17
16
|
operationalCost: productSet?.operationalCost ?? DEFAULT_OPERATIONAL_COST_TYPE,
|
|
18
|
-
thankYouPageUrl: productSet?.thankYouPageUrl ?? "",
|
|
19
17
|
isDefault: productSet?.isDefault ?? false,
|
|
20
18
|
fieldSetId: productSet?.fieldSetId,
|
|
21
|
-
|
|
19
|
+
emailTemplateId:
|
|
22
20
|
productSet?.mailTemplates && productSet?.mailTemplates?.length > 0
|
|
23
|
-
?
|
|
21
|
+
? productSet?.mailTemplates[0].notification.id
|
|
24
22
|
: undefined,
|
|
25
|
-
|
|
23
|
+
smsTemplateId:
|
|
26
24
|
productSet?.smsTemplates && productSet?.smsTemplates?.length > 0
|
|
27
|
-
?
|
|
25
|
+
? productSet?.smsTemplates[0].notification.id
|
|
28
26
|
: undefined,
|
|
29
27
|
steps:
|
|
30
28
|
productSet?.steps?.map(({ productCategories, ...step }) => ({
|
|
@@ -3,7 +3,6 @@ import { EventVenueMapProvider } from "@licklist/plugins/dist/context/event/Even
|
|
|
3
3
|
import { Point } from "@licklist/plugins/dist/types/context/event/point";
|
|
4
4
|
import { PointProduct } from "@licklist/core/dist/DataMapper/Product/PointProductDataMapper";
|
|
5
5
|
import { Product } from "@licklist/core/dist/DataMapper/Product/ProductDataMapper";
|
|
6
|
-
import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
|
|
7
6
|
import { VenueMap, VenueMapRef } from "./components/VenueMap";
|
|
8
7
|
import { useCanvasSize } from "./hooks/useCanvasSize";
|
|
9
8
|
|
|
@@ -25,7 +24,6 @@ export type EventVenueMapProps = {
|
|
|
25
24
|
products?: Partial<Product>[];
|
|
26
25
|
pointProducts?: Partial<PointProduct>[];
|
|
27
26
|
onPointProductsChange?: (values: Partial<PointProduct>[]) => void;
|
|
28
|
-
soldOutProducts?: ProductQuantityCheckResponse["products"];
|
|
29
27
|
} & EventVenueMapIframeProps;
|
|
30
28
|
|
|
31
29
|
export const EventVenueMap = forwardRef<VenueMapRef, EventVenueMapProps>(
|
|
@@ -45,7 +43,6 @@ export const EventVenueMap = forwardRef<VenueMapRef, EventVenueMapProps>(
|
|
|
45
43
|
usedInIframe = false,
|
|
46
44
|
choosedProductUuids = [],
|
|
47
45
|
errorOnChoosedProductUuids = [],
|
|
48
|
-
soldOutProducts,
|
|
49
46
|
},
|
|
50
47
|
ref
|
|
51
48
|
) => {
|
|
@@ -69,7 +66,6 @@ export const EventVenueMap = forwardRef<VenueMapRef, EventVenueMapProps>(
|
|
|
69
66
|
ref={ref}
|
|
70
67
|
choosedProductUuids={choosedProductUuids}
|
|
71
68
|
errorOnChoosedProductUuids={errorOnChoosedProductUuids}
|
|
72
|
-
soldOutProducts={soldOutProducts}
|
|
73
69
|
/>
|
|
74
70
|
</EventVenueMapProvider>
|
|
75
71
|
);
|
|
@@ -78,8 +78,7 @@ export const MapPoint = ({
|
|
|
78
78
|
// have 2 points near one by one
|
|
79
79
|
const nextPoints = prevPoints.slice();
|
|
80
80
|
const currentPoint = nextPoints.find(
|
|
81
|
-
(
|
|
82
|
-
(id && point.id === id) || (localId && point.localId === localId)
|
|
81
|
+
(i) => i.id === id || i?.localId === localId
|
|
83
82
|
);
|
|
84
83
|
const currentPointIndex = nextPoints.indexOf(currentPoint);
|
|
85
84
|
|
|
@@ -107,7 +106,6 @@ export const MapPoint = ({
|
|
|
107
106
|
};
|
|
108
107
|
|
|
109
108
|
const onMouseEnter = () => {
|
|
110
|
-
changePointPosition();
|
|
111
109
|
changeCursorType("pointer");
|
|
112
110
|
};
|
|
113
111
|
|
package/src/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.tsx
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import React, { useMemo
|
|
1
|
+
import React, { useMemo } from "react";
|
|
2
2
|
import { Path, KonvaNodeEvents, Group, Circle } from "react-konva";
|
|
3
3
|
import Konva from "konva";
|
|
4
|
-
import { ProductTooltip } from "../ProductTooltip";
|
|
5
4
|
|
|
6
5
|
const ICON_DATA =
|
|
7
6
|
"M14 0C9.3569 0.6633 4.6431 0.6633 0 0L6 7V13H3V14H11V13H8V7L14 0Z";
|
|
@@ -63,8 +62,6 @@ export const ProductIcon = ({
|
|
|
63
62
|
const defaultX = -X_OFFSET;
|
|
64
63
|
const defaultY = -Y_OFFSET;
|
|
65
64
|
|
|
66
|
-
const [hovered, setHovered] = useState<boolean>(false);
|
|
67
|
-
|
|
68
65
|
const cssVariableValues = useMemo(() => {
|
|
69
66
|
return {
|
|
70
67
|
pointBackgroundColor:
|
|
@@ -122,12 +119,7 @@ export const ProductIcon = ({
|
|
|
122
119
|
};
|
|
123
120
|
|
|
124
121
|
return (
|
|
125
|
-
<Group
|
|
126
|
-
x={x}
|
|
127
|
-
y={y}
|
|
128
|
-
onMouseEnter={() => setHovered(true)}
|
|
129
|
-
onMouseLeave={() => setHovered(false)}
|
|
130
|
-
>
|
|
122
|
+
<Group x={x} y={y}>
|
|
131
123
|
<Circle
|
|
132
124
|
radius={CIRCLE_RADIUS}
|
|
133
125
|
strokeWidth={POINT_STROKE_WIDTH}
|
|
@@ -135,9 +127,6 @@ export const ProductIcon = ({
|
|
|
135
127
|
y={defaultY * 0.75}
|
|
136
128
|
{...circleColors()}
|
|
137
129
|
/>
|
|
138
|
-
{hovered && isSoldOut && (
|
|
139
|
-
<ProductTooltip x={defaultX} y={defaultY} text="Sold out" />
|
|
140
|
-
)}
|
|
141
130
|
{isProductChoosed ? (
|
|
142
131
|
<Path
|
|
143
132
|
x={defaultX}
|
|
@@ -11,7 +11,6 @@ import {
|
|
|
11
11
|
EventVenueMapContext,
|
|
12
12
|
EventVenueMapContextProps,
|
|
13
13
|
} from "@licklist/plugins/dist/context/event/EventVenueMapContext";
|
|
14
|
-
import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
|
|
15
14
|
import { useImage } from "../../hooks/useImage";
|
|
16
15
|
import { useStageActions } from "../../hooks/useStageActions";
|
|
17
16
|
import { MapPoint } from "../MapPoint";
|
|
@@ -33,7 +32,6 @@ export type VenueMapProps = {
|
|
|
33
32
|
usedInIframe?: boolean;
|
|
34
33
|
choosedProductUuids?: string[];
|
|
35
34
|
errorOnChoosedProductUuids?: string[];
|
|
36
|
-
soldOutProducts?: ProductQuantityCheckResponse["products"];
|
|
37
35
|
};
|
|
38
36
|
|
|
39
37
|
export const VenueMap = forwardRef<VenueMapRef, VenueMapProps>(
|
|
@@ -47,7 +45,6 @@ export const VenueMap = forwardRef<VenueMapRef, VenueMapProps>(
|
|
|
47
45
|
usedInIframe = false,
|
|
48
46
|
choosedProductUuids = [],
|
|
49
47
|
errorOnChoosedProductUuids = [],
|
|
50
|
-
soldOutProducts,
|
|
51
48
|
},
|
|
52
49
|
ref
|
|
53
50
|
) => {
|
|
@@ -115,18 +112,13 @@ export const VenueMap = forwardRef<VenueMapRef, VenueMapProps>(
|
|
|
115
112
|
);
|
|
116
113
|
|
|
117
114
|
if (!currentProduct) return false;
|
|
118
|
-
|
|
119
|
-
(product) => product.uuid === currentProduct.productUuid
|
|
120
|
-
);
|
|
115
|
+
|
|
121
116
|
return (
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
!!soldOutProducts?.find(
|
|
125
|
-
(product) => product?.product_id === selectedProduct?.id
|
|
126
|
-
)) ||
|
|
127
|
-
false
|
|
117
|
+
products.find((product) => product.uuid === currentProduct.productUuid)
|
|
118
|
+
?.isSoldOut || false
|
|
128
119
|
);
|
|
129
120
|
};
|
|
121
|
+
|
|
130
122
|
return (
|
|
131
123
|
<div className="venue-map" style={{ width, height }}>
|
|
132
124
|
<div className="zone-name">
|
|
@@ -8,25 +8,25 @@ export type SummaryDataType = {
|
|
|
8
8
|
quantity?: number;
|
|
9
9
|
}[];
|
|
10
10
|
|
|
11
|
-
export
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
{data.map(({ name, image, quantity, title }) => {
|
|
15
|
-
const classNames = clsx("name", "mb-4", image && "align-items-center");
|
|
11
|
+
export type SummaryProps = ({
|
|
12
|
+
data: SummaryDataType,
|
|
13
|
+
}) => React.PropsWithChildren<any>;
|
|
16
14
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
15
|
+
export const Summary: SummaryProps = ({ data = [] }) => {
|
|
16
|
+
return data.map(({ name, image, quantity, title }) => {
|
|
17
|
+
const classNames = clsx("name", "mb-4", image && "align-items-center");
|
|
18
|
+
|
|
19
|
+
return (
|
|
20
|
+
<div key={name} className="summary">
|
|
21
|
+
<p className="title mb-1">{title}</p>
|
|
22
|
+
<div className={classNames}>
|
|
23
|
+
{image && <img className="image mr-3" src={image} alt={name} />}
|
|
24
|
+
{quantity && quantity > 1 && (
|
|
25
|
+
<span className="quantity mr-3">{quantity}x</span>
|
|
26
|
+
)}
|
|
27
|
+
{name}
|
|
28
|
+
</div>
|
|
29
|
+
</div>
|
|
30
|
+
);
|
|
31
|
+
});
|
|
32
32
|
};
|
|
@@ -6,7 +6,6 @@ import { Page, PageBody, PageHeader } from "../../page";
|
|
|
6
6
|
import { BookingSummaryFooter } from "../../order-process/components/BookingSummaryFooter";
|
|
7
7
|
import { BookingSummary } from "../../order-process/components/BookingSummary";
|
|
8
8
|
import { CalendarSelect } from "../event-calendar/components/CalendarSelect";
|
|
9
|
-
import { Product } from "../../../types";
|
|
10
9
|
|
|
11
10
|
export default {
|
|
12
11
|
title: "Iframe/Event/IframeEventVenueMap",
|
|
@@ -269,10 +268,6 @@ export function Default() {
|
|
|
269
268
|
pointProducts={MENU_STEPS[0].pointProducts}
|
|
270
269
|
usedInIframe={usedInIframe}
|
|
271
270
|
onPointClick={(pointId) => console.log({ pointId })}
|
|
272
|
-
products={
|
|
273
|
-
MENU_STEPS[0].productCategories[0]
|
|
274
|
-
.products as Partial<Product>[]
|
|
275
|
-
}
|
|
276
271
|
choosedProductUuids={[
|
|
277
272
|
"beb6393c-2fdd-40f7-bb92-8800685b203f",
|
|
278
273
|
"beb6393c-2fdd-40f7-bb92-8800685b203a",
|
|
@@ -49,7 +49,6 @@ const productCategories = [
|
|
|
49
49
|
|
|
50
50
|
price: 5,
|
|
51
51
|
deposit: 3,
|
|
52
|
-
minSub: 10,
|
|
53
52
|
isRequired: true,
|
|
54
53
|
images: IMAGES,
|
|
55
54
|
},
|
|
@@ -198,14 +197,14 @@ export default {
|
|
|
198
197
|
} as Meta;
|
|
199
198
|
|
|
200
199
|
const TimerWrapper = () => {
|
|
201
|
-
const [timer, setTimer] = useState(
|
|
200
|
+
const [timer, setTimer] = useState(60);
|
|
202
201
|
const updateTimerState = () => {
|
|
203
202
|
setTimer((prevValue) => {
|
|
204
203
|
if (prevValue <= 0) {
|
|
205
204
|
return 0;
|
|
206
205
|
}
|
|
207
206
|
|
|
208
|
-
const nexValue = prevValue -
|
|
207
|
+
const nexValue = prevValue - 1;
|
|
209
208
|
|
|
210
209
|
return nexValue;
|
|
211
210
|
});
|
|
@@ -25,9 +25,6 @@ export const BookingSummary = ({
|
|
|
25
25
|
const { formatNumber } = useIntl();
|
|
26
26
|
|
|
27
27
|
const orderProducts = useMemo(() => {
|
|
28
|
-
if (!formValues) {
|
|
29
|
-
return undefined;
|
|
30
|
-
}
|
|
31
28
|
const products = Object.values(formValues).filter(Boolean) as Order[];
|
|
32
29
|
|
|
33
30
|
return products?.filter((prod) => prod?.quantity !== 0);
|
|
@@ -50,7 +47,7 @@ export const BookingSummary = ({
|
|
|
50
47
|
</div>
|
|
51
48
|
<hr />
|
|
52
49
|
|
|
53
|
-
{orderProducts
|
|
50
|
+
{orderProducts.length > 0 ? (
|
|
54
51
|
<div>
|
|
55
52
|
<div className="cart-items">
|
|
56
53
|
{menuSteps.map((menuStep: MenuStep) => {
|
|
@@ -6,13 +6,13 @@ export const ACCORDION_KEY = "booking-summary";
|
|
|
6
6
|
|
|
7
7
|
export type BookingSummaryProps = {
|
|
8
8
|
date: string;
|
|
9
|
-
menuSteps
|
|
10
|
-
formValues
|
|
9
|
+
menuSteps: MenuStep[];
|
|
10
|
+
formValues: {
|
|
11
11
|
[key: string]: Order;
|
|
12
12
|
};
|
|
13
13
|
totalWithDiscount?: number;
|
|
14
14
|
isNotShownPeopleAmount?: boolean;
|
|
15
|
-
eventName
|
|
15
|
+
eventName: string;
|
|
16
16
|
hasPeopleInput?: boolean;
|
|
17
17
|
transactionFee?: number;
|
|
18
18
|
isFreePayment?: boolean;
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { Order } from "../../../../../types";
|
|
2
2
|
|
|
3
|
-
export const cartSumByOrderProducts = (orderProducts
|
|
4
|
-
|
|
5
|
-
return 0;
|
|
6
|
-
}
|
|
7
|
-
return orderProducts.reduce((prevSumValue: number, product) => {
|
|
3
|
+
export const cartSumByOrderProducts = (orderProducts: Order[]) =>
|
|
4
|
+
orderProducts.reduce((prevSumValue: number, product) => {
|
|
8
5
|
return (
|
|
9
6
|
prevSumValue + (product?.deposit || product?.price) * product.quantity
|
|
10
7
|
);
|
|
11
8
|
}, 0);
|
|
12
|
-
};
|
|
@@ -19,7 +19,6 @@ import {
|
|
|
19
19
|
import { Step } from "@licklist/core/dist/DataMapper/Product/StepDataMapper";
|
|
20
20
|
import { useTranslation } from "react-i18next";
|
|
21
21
|
import { Product } from "@licklist/core/dist/DataMapper/Product/ProductDataMapper";
|
|
22
|
-
import { ProductQuantityCheckResponse } from "@licklist/plugins/dist/types/Api/verifyStock";
|
|
23
22
|
import { Category } from "./components/Category";
|
|
24
23
|
import { MenuStep } from "../../../../types";
|
|
25
24
|
import { STEP_FORM_ID } from "../../constants";
|
|
@@ -45,7 +44,6 @@ export interface CalendarStepsFormProps {
|
|
|
45
44
|
onActiveVenueMapChange?: (nextVenueMapId: string) => void;
|
|
46
45
|
title: string;
|
|
47
46
|
menuStepWithVenueMap: Step;
|
|
48
|
-
soldOutProducts?: ProductQuantityCheckResponse["products"];
|
|
49
47
|
}
|
|
50
48
|
|
|
51
49
|
export type StepsFormRef = {
|
|
@@ -69,7 +67,6 @@ export const CalendarStepsForm = forwardRef<
|
|
|
69
67
|
title,
|
|
70
68
|
menuStepWithVenueMap,
|
|
71
69
|
onActiveVenueMapChange,
|
|
72
|
-
soldOutProducts,
|
|
73
70
|
},
|
|
74
71
|
ref
|
|
75
72
|
) => {
|
|
@@ -343,14 +340,12 @@ export const CalendarStepsForm = forwardRef<
|
|
|
343
340
|
ref={canvasRef}
|
|
344
341
|
choosedProductUuids={choosedProductUuids}
|
|
345
342
|
errorOnChoosedProductUuids={errorOnChoosedProductUuids}
|
|
346
|
-
soldOutProducts={soldOutProducts}
|
|
347
343
|
/>
|
|
348
344
|
<Category
|
|
349
345
|
productCategories={step?.productCategories}
|
|
350
346
|
activePointId={activePointId}
|
|
351
347
|
pointProducts={menuStepWithVenueMap.pointProducts}
|
|
352
348
|
onCloseModal={onCloseProductModal}
|
|
353
|
-
soldOutProducts={soldOutProducts}
|
|
354
349
|
/>
|
|
355
350
|
</>
|
|
356
351
|
)}
|
|
@@ -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
|
})}
|