@licklist/design 0.44.485-dev.59 → 0.44.485-dev.6
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/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/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/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/snippets/control/SnippetControl.d.ts.map +1 -1
- package/dist/setting/dashboard/snippets/control/SnippetControl.js +1 -1
- package/dist/setting/dashboard/snippets/form/SnippetForm.d.ts +2 -2
- package/dist/setting/dashboard/snippets/form/SnippetForm.d.ts.map +1 -1
- package/dist/setting/dashboard/snippets/modal/SnippetViewTypeModal.js +1 -1
- package/dist/setting/system/SystemSettingForm.d.ts +1 -1
- package/dist/setting/system/SystemSettingForm.d.ts.map +1 -1
- package/dist/snippet/snippet-template/SnippetTemplate.js +1 -1
- package/dist/snippet/snippet-template/context/snippetTemplate.d.ts +1 -1
- package/dist/snippet/snippet-template/context/snippetTemplate.d.ts.map +1 -1
- package/dist/snippet/snippet-template/form/SnippetTemplateForm.js +1 -1
- package/dist/snippet/snippet-template/preview/Preview.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/iframe-order-process/IframeOrderProcess.scss +2 -5
- package/dist/styles/iframe-page/PageBody.scss +0 -2
- package/dist/styles/packages.scss +0 -1
- 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/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/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 +2 -4
- 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 +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 +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 +3 -17
- 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/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/snippets/control/SnippetControl.tsx +13 -11
- package/src/setting/dashboard/snippets/form/SnippetForm.tsx +2 -2
- package/src/setting/dashboard/snippets/modal/SnippetViewTypeModal.tsx +1 -1
- package/src/snippet/snippet-template/SnippetTemplate.tsx +1 -1
- package/src/snippet/snippet-template/form/SnippetTemplateForm.tsx +10 -10
- package/src/snippet/snippet-template/preview/Preview.tsx +4 -4
- package/src/sortable-tree/SortableTreeItem.tsx +6 -27
- package/src/static/date-range-input/DateRangeInput.tsx +0 -3
- package/src/styles/events/EventStatisticModal.scss +37 -0
- package/src/styles/iframe-order-process/IframeOrderProcess.scss +2 -5
- package/src/styles/iframe-page/PageBody.scss +0 -2
- package/src/styles/packages.scss +0 -1
- 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/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/tests/Snippets/Snippets.test.tsx +5 -5
- 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/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/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/product-set/hooks/useSortableTreeFunctions.ts +0 -37
- package/src/provider/constants.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
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import HookFormService from "@licklist/plugins/dist/services/Form/HookFormService";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
FieldNamePrefixPath,
|
|
5
|
+
FormValues,
|
|
6
|
+
} from "@licklist/plugins/dist/types/services/Form/hook-form-service";
|
|
4
7
|
import { useId } from "@react-aria/utils";
|
|
5
8
|
import { Form } from "react-bootstrap";
|
|
6
9
|
import Col from "react-bootstrap/Col";
|
|
@@ -13,13 +16,10 @@ export interface ProductPriceControlValues extends FormValues {
|
|
|
13
16
|
price: number;
|
|
14
17
|
}
|
|
15
18
|
|
|
16
|
-
export interface ProductPriceControlProps<T> {
|
|
19
|
+
export interface ProductPriceControlProps<T> extends FieldNamePrefixPath<T> {
|
|
17
20
|
isLoading: boolean;
|
|
18
21
|
title?: string;
|
|
19
22
|
allowDeposits?: boolean;
|
|
20
|
-
fieldNamePrefix: Path<T>;
|
|
21
|
-
isRequired?: boolean;
|
|
22
|
-
isMoreThanZero?: boolean;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
export function ProductPriceControl<T extends FormValues>({
|
|
@@ -27,15 +27,13 @@ export function ProductPriceControl<T extends FormValues>({
|
|
|
27
27
|
fieldNamePrefix,
|
|
28
28
|
title,
|
|
29
29
|
allowDeposits,
|
|
30
|
-
isRequired = true,
|
|
31
|
-
isMoreThanZero,
|
|
32
30
|
}: ProductPriceControlProps<T>) {
|
|
33
31
|
const {
|
|
34
32
|
control,
|
|
35
33
|
formState: { errors },
|
|
36
34
|
} = useFormContext<T>();
|
|
37
35
|
const { t } = useTranslation("Design");
|
|
38
|
-
|
|
36
|
+
|
|
39
37
|
const priceId = useId();
|
|
40
38
|
|
|
41
39
|
return (
|
|
@@ -45,7 +43,7 @@ export function ProductPriceControl<T extends FormValues>({
|
|
|
45
43
|
className={!allowDeposits && "p-0"}
|
|
46
44
|
>
|
|
47
45
|
<Form.Group controlId={priceId}>
|
|
48
|
-
<Form.Label>{
|
|
46
|
+
<Form.Label>{title ?? t("price")}</Form.Label>
|
|
49
47
|
|
|
50
48
|
<InputGroup hasValidation>
|
|
51
49
|
<InputGroup.Prepend>
|
|
@@ -66,58 +64,38 @@ export function ProductPriceControl<T extends FormValues>({
|
|
|
66
64
|
name={name}
|
|
67
65
|
onChange={onChange}
|
|
68
66
|
isInvalid={HookFormService.isInvalid<T>(
|
|
69
|
-
`${fieldNamePrefix}` as Path<T>,
|
|
67
|
+
`${fieldNamePrefix}.price` as Path<T>,
|
|
70
68
|
errors
|
|
71
69
|
)}
|
|
72
70
|
disabled={isLoading}
|
|
73
71
|
/>
|
|
74
72
|
)}
|
|
75
73
|
control={control}
|
|
76
|
-
name={`${fieldNamePrefix}` as Path<T>}
|
|
74
|
+
name={`${fieldNamePrefix}.price` as Path<T>}
|
|
77
75
|
rules={{
|
|
78
|
-
required:
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
:
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
min: 0,
|
|
89
|
-
}) as string,
|
|
90
|
-
}
|
|
91
|
-
: undefined,
|
|
76
|
+
required: t("Validation:fieldRequired", {
|
|
77
|
+
attribute: t("price"),
|
|
78
|
+
}) as string,
|
|
79
|
+
min: {
|
|
80
|
+
value: 0,
|
|
81
|
+
message: t("Validation:fieldMinNumber", {
|
|
82
|
+
attribute: t("price"),
|
|
83
|
+
min: 0,
|
|
84
|
+
}) as string,
|
|
85
|
+
},
|
|
92
86
|
max: {
|
|
93
87
|
value: 999999.99,
|
|
94
88
|
message: t("Validation:fieldMaxNumber", {
|
|
95
|
-
attribute:
|
|
89
|
+
attribute: t("price"),
|
|
96
90
|
max: 999999.99,
|
|
97
91
|
}) as string,
|
|
98
92
|
},
|
|
99
|
-
|
|
100
|
-
validate: (value) => {
|
|
101
|
-
if (
|
|
102
|
-
!isMoreThanZero ||
|
|
103
|
-
(isMoreThanZero &&
|
|
104
|
-
(value === undefined || value === null || value === "")) ||
|
|
105
|
-
(isMoreThanZero && Number(value) > 0)
|
|
106
|
-
) {
|
|
107
|
-
return true;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
return t("Validation:fieldGreaterMinNumber", {
|
|
111
|
-
attribute: productTitle,
|
|
112
|
-
min: 0,
|
|
113
|
-
}) as string;
|
|
114
|
-
},
|
|
115
93
|
}}
|
|
116
94
|
/>
|
|
117
95
|
|
|
118
96
|
<Form.Control.Feedback type="invalid">
|
|
119
97
|
{HookFormService.getErrors<T>(
|
|
120
|
-
`${fieldNamePrefix}` as Path<T>,
|
|
98
|
+
`${fieldNamePrefix}.price` as Path<T>,
|
|
121
99
|
errors
|
|
122
100
|
)}
|
|
123
101
|
</Form.Control.Feedback>
|
|
@@ -33,49 +33,19 @@ export function ProductQuantityRechargingControl<T extends FormValues>(
|
|
|
33
33
|
onFocus,
|
|
34
34
|
} = props;
|
|
35
35
|
const {
|
|
36
|
-
control,
|
|
37
|
-
clearErrors,
|
|
38
|
-
setError,
|
|
39
|
-
watch,
|
|
40
36
|
trigger,
|
|
37
|
+
control,
|
|
41
38
|
formState: { errors },
|
|
42
39
|
} = useFormContext<T>();
|
|
43
40
|
const { t } = useTranslation("Design");
|
|
44
|
-
const totalQuantityId = useId();
|
|
45
41
|
|
|
46
|
-
const
|
|
47
|
-
const totalQuantityValue = watch(
|
|
48
|
-
`${fieldNamePrefix}.totalQuantity` as Path<T>
|
|
49
|
-
);
|
|
42
|
+
const totalQuantityId = useId();
|
|
50
43
|
|
|
51
44
|
// trigger total quantity field's validation if disabled state was changed
|
|
52
45
|
useEffect(() => {
|
|
53
46
|
trigger(`${fieldNamePrefix}.totalQuantity` as Path<T>);
|
|
54
47
|
}, [disabled, fieldNamePrefix, trigger]);
|
|
55
48
|
|
|
56
|
-
useEffect(() => {
|
|
57
|
-
if (Number(totalQuantityValue) === 0) {
|
|
58
|
-
setError(`${fieldNamePrefix}.totalQuantity` as Path<T>, {
|
|
59
|
-
type: HookFormService.manualErrorType,
|
|
60
|
-
message: t("Validation:fieldMinNumber", {
|
|
61
|
-
attribute: t("totalQuantity"),
|
|
62
|
-
min: 1,
|
|
63
|
-
}),
|
|
64
|
-
});
|
|
65
|
-
} else if (Number(maxQuantityValue) > Number(totalQuantityValue)) {
|
|
66
|
-
setError(`${fieldNamePrefix}.totalQuantity` as Path<T>, {
|
|
67
|
-
type: HookFormService.manualErrorType,
|
|
68
|
-
message: t("Validation:fieldTotalNumber", {
|
|
69
|
-
attribute: t("totalQuantity"),
|
|
70
|
-
max: t("maxOrderQuantity"),
|
|
71
|
-
}),
|
|
72
|
-
});
|
|
73
|
-
} else {
|
|
74
|
-
clearErrors(`${fieldNamePrefix}.totalQuantity` as Path<T>);
|
|
75
|
-
}
|
|
76
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
77
|
-
}, [totalQuantityValue, maxQuantityValue, setError, clearErrors]);
|
|
78
|
-
|
|
79
49
|
return (
|
|
80
50
|
<>
|
|
81
51
|
<Form.Group controlId={totalQuantityId}>
|
|
@@ -113,7 +83,18 @@ export function ProductQuantityRechargingControl<T extends FormValues>(
|
|
|
113
83
|
required: false,
|
|
114
84
|
min: 0,
|
|
115
85
|
}
|
|
116
|
-
: {
|
|
86
|
+
: {
|
|
87
|
+
required: t("Validation:fieldRequired", {
|
|
88
|
+
attribute: t("totalQuantity"),
|
|
89
|
+
}) as string,
|
|
90
|
+
min: {
|
|
91
|
+
value: 1,
|
|
92
|
+
message: t("Validation:fieldMinNumber", {
|
|
93
|
+
attribute: t("totalQuantity"),
|
|
94
|
+
min: 1,
|
|
95
|
+
}) as string,
|
|
96
|
+
},
|
|
97
|
+
}
|
|
117
98
|
}
|
|
118
99
|
/>
|
|
119
100
|
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import { EmailTemplate } from "@licklist/core/dist/DataMapper/Notification/EmailTemplateDataMapper";
|
|
2
|
-
import { SmsTemplate } from "@licklist/core/dist/DataMapper/Notification/SmsTemplateDataMapper";
|
|
3
|
-
import { TemplateItem } from "../control/ProductSetControl";
|
|
4
|
-
|
|
5
1
|
export const moveArrayElements = <T>(
|
|
6
2
|
array: T[],
|
|
7
3
|
prevIndex: number,
|
|
@@ -18,27 +14,3 @@ export const moveArrayElements = <T>(
|
|
|
18
14
|
export const sortArrayByIndex = <T>(array: T[]) => {
|
|
19
15
|
return array.map((element: T, index) => ({ ...element, sort: index }));
|
|
20
16
|
};
|
|
21
|
-
|
|
22
|
-
export const getFilteredTemplates = (
|
|
23
|
-
templates?: EmailTemplate[] | SmsTemplate[],
|
|
24
|
-
formTemplates?: TemplateItem[]
|
|
25
|
-
): TemplateItem[] | undefined => {
|
|
26
|
-
if (!templates) {
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
return templates
|
|
31
|
-
?.filter(
|
|
32
|
-
(template) =>
|
|
33
|
-
template.notification.isActive &&
|
|
34
|
-
!formTemplates?.find(
|
|
35
|
-
(formTemplate) =>
|
|
36
|
-
formTemplate.value.notification.type === template.notification.type
|
|
37
|
-
)
|
|
38
|
-
)
|
|
39
|
-
?.map((template) => ({
|
|
40
|
-
id: template?.id,
|
|
41
|
-
value: template,
|
|
42
|
-
label: template?.notification?.name,
|
|
43
|
-
}));
|
|
44
|
-
};
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { Form } from "react-bootstrap";
|
|
3
3
|
import { useFormContext } from "react-hook-form";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
5
|
import { useId } from "@react-aria/utils";
|
|
6
|
-
import useNotification from "@licklist/plugins/dist/context/app/hooks/useNotification";
|
|
7
6
|
import { Image } from "@licklist/core/dist/DataMapper/Media/ImageDataMapper";
|
|
8
7
|
import HookFormService from "@licklist/plugins/dist/services/Form/HookFormService";
|
|
9
8
|
import { Typeahead, TypeaheadOptions } from "../../typeahead";
|
|
10
|
-
import { MAX_DESCRIPTION_CHARACTERS_LENGTH } from "../constants";
|
|
11
9
|
import {
|
|
12
10
|
ProviderLinksInput,
|
|
13
11
|
ProviderLinksInputProps,
|
|
@@ -35,11 +33,10 @@ export function ProviderDetailsInput({
|
|
|
35
33
|
}: ProviderDetailsInputProps) {
|
|
36
34
|
const {
|
|
37
35
|
register,
|
|
38
|
-
watch,
|
|
39
36
|
formState: { errors },
|
|
37
|
+
setValue,
|
|
40
38
|
} = useFormContext<ProviderDetailsInputValues>();
|
|
41
39
|
const { t } = useTranslation(["App", "Design", "Validation"]);
|
|
42
|
-
const notification = useNotification();
|
|
43
40
|
|
|
44
41
|
const nameId = useId();
|
|
45
42
|
const descriptionId = useId();
|
|
@@ -48,18 +45,6 @@ export function ProviderDetailsInput({
|
|
|
48
45
|
const websiteId = useId();
|
|
49
46
|
const companyId = useId();
|
|
50
47
|
|
|
51
|
-
const description = watch("description");
|
|
52
|
-
|
|
53
|
-
useEffect(() => {
|
|
54
|
-
if (MAX_DESCRIPTION_CHARACTERS_LENGTH > description.length) return;
|
|
55
|
-
notification.warning({
|
|
56
|
-
title: t("App:warning"),
|
|
57
|
-
message: t("Validation:descriptionTooManyCharactersMessage", {
|
|
58
|
-
max: MAX_DESCRIPTION_CHARACTERS_LENGTH,
|
|
59
|
-
}) as string,
|
|
60
|
-
});
|
|
61
|
-
}, [description.length]);
|
|
62
|
-
|
|
63
48
|
return (
|
|
64
49
|
<>
|
|
65
50
|
<Form.Group controlId={nameId}>
|
|
@@ -164,6 +149,7 @@ export function ProviderDetailsInput({
|
|
|
164
149
|
<Typeahead
|
|
165
150
|
name="company"
|
|
166
151
|
options={companiesOptions}
|
|
152
|
+
setValue={setValue}
|
|
167
153
|
placeholder={t("App:select")}
|
|
168
154
|
noOptionsMessage={t("App:noMatchesFound")}
|
|
169
155
|
/>
|
|
@@ -10,34 +10,6 @@ export default {
|
|
|
10
10
|
component: BookingFilter,
|
|
11
11
|
} as Meta;
|
|
12
12
|
|
|
13
|
-
const staffMembers = [
|
|
14
|
-
{
|
|
15
|
-
id: 10,
|
|
16
|
-
firstName: "Denys",
|
|
17
|
-
lastName: "Shmahailo",
|
|
18
|
-
email: "shmahailo1337@gmail.com",
|
|
19
|
-
images: null,
|
|
20
|
-
userRoles: [
|
|
21
|
-
{
|
|
22
|
-
id: 1,
|
|
23
|
-
key: "manager",
|
|
24
|
-
title: "Manager",
|
|
25
|
-
weight: 50,
|
|
26
|
-
type_id: 1,
|
|
27
|
-
type: "provider",
|
|
28
|
-
pivot: {
|
|
29
|
-
id: 17,
|
|
30
|
-
roleId: 1,
|
|
31
|
-
userId: 10,
|
|
32
|
-
typeableId: 1,
|
|
33
|
-
typeableType: "provider",
|
|
34
|
-
user: null,
|
|
35
|
-
},
|
|
36
|
-
},
|
|
37
|
-
],
|
|
38
|
-
},
|
|
39
|
-
];
|
|
40
|
-
|
|
41
13
|
export const Default: Story<BookingFilterProps> = () => {
|
|
42
14
|
const isFilterOpen = boolean("isFilterOpen", false);
|
|
43
15
|
const autoFocusOnMount = boolean("autoFocusOnMount", true);
|
|
@@ -48,7 +20,6 @@ export const Default: Story<BookingFilterProps> = () => {
|
|
|
48
20
|
<BookingFilter
|
|
49
21
|
isFilterOpen={isFilterOpen}
|
|
50
22
|
autoFocusOnMount={autoFocusOnMount}
|
|
51
|
-
staffMembers={staffMembers}
|
|
52
23
|
/>
|
|
53
24
|
</BookingContextProvider>
|
|
54
25
|
</MemoryRouter>
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React, { PropsWithChildren } from "react";
|
|
2
|
-
import { User } from "@licklist/core/dist/DataMapper/User/UserDataMapper";
|
|
3
2
|
import { MainFilterSection } from "./components/MainFilterSection";
|
|
4
3
|
import { AdditionalFilterSection } from "./components/AdditionalFIlterSection";
|
|
5
4
|
import { SearchingForSection } from "./components/SearchingForSection";
|
|
@@ -12,16 +11,12 @@ export type BookingFilterProps = PropsWithChildren<{
|
|
|
12
11
|
isFilterOpen?: boolean;
|
|
13
12
|
autoFocusOnMount?: boolean;
|
|
14
13
|
isFullscreenMode?: boolean;
|
|
15
|
-
staffMembers?: User[] | null;
|
|
16
|
-
isLoading: boolean;
|
|
17
14
|
}>;
|
|
18
15
|
|
|
19
16
|
export const BookingFilter = ({
|
|
20
17
|
isFilterOpen = true,
|
|
21
18
|
autoFocusOnMount = false,
|
|
22
19
|
isFullscreenMode = false,
|
|
23
|
-
staffMembers,
|
|
24
|
-
isLoading,
|
|
25
20
|
children,
|
|
26
21
|
...props
|
|
27
22
|
}: BookingFilterProps) => {
|
|
@@ -29,19 +24,15 @@ export const BookingFilter = ({
|
|
|
29
24
|
<div className="booking-filter">
|
|
30
25
|
<MainFilterSection
|
|
31
26
|
{...props}
|
|
32
|
-
isLoading={isLoading}
|
|
33
27
|
isFilterOpen={isFilterOpen}
|
|
34
28
|
autoFocusOnMount={autoFocusOnMount}
|
|
35
29
|
isFullscreenMode={isFullscreenMode}
|
|
36
30
|
/>
|
|
37
31
|
{isFilterOpen ? (
|
|
38
32
|
<>
|
|
39
|
-
<AdditionalFilterSection
|
|
40
|
-
isLoading={isLoading}
|
|
41
|
-
staffMembers={staffMembers}
|
|
42
|
-
/>
|
|
33
|
+
<AdditionalFilterSection />
|
|
43
34
|
<div className="separator-horizontal" />
|
|
44
|
-
<SearchingForSection
|
|
35
|
+
<SearchingForSection />
|
|
45
36
|
</>
|
|
46
37
|
) : (
|
|
47
38
|
children && (
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useContext, useEffect } from "react";
|
|
2
2
|
import { useTranslation } from "react-i18next";
|
|
3
3
|
import { Form, Button, Row, Col } from "react-bootstrap";
|
|
4
|
-
import {
|
|
4
|
+
import { useForm } from "react-hook-form";
|
|
5
5
|
import {
|
|
6
6
|
ORDER_STATUS_PENDING,
|
|
7
7
|
ORDER_STATUS_CANCELLED,
|
|
@@ -12,8 +12,6 @@ import {
|
|
|
12
12
|
BookingContext,
|
|
13
13
|
BookingFilters,
|
|
14
14
|
} from "@licklist/plugins/dist/context/booking/BookingContext";
|
|
15
|
-
import { DateRangeInput } from "../../../../static/date-range-input/DateRangeInput";
|
|
16
|
-
import { FilterSectionProps } from "./SearchingForSection";
|
|
17
15
|
|
|
18
16
|
const ORDER_STATUSES_FOR_UPDATE = [
|
|
19
17
|
ORDER_STATUS_PENDING,
|
|
@@ -30,22 +28,14 @@ export type AdditionalFilterSectionProps = {
|
|
|
30
28
|
isFilterOpen?: boolean;
|
|
31
29
|
};
|
|
32
30
|
|
|
33
|
-
export const AdditionalFilterSection = ({
|
|
34
|
-
staffMembers,
|
|
35
|
-
isLoading,
|
|
36
|
-
}: FilterSectionProps) => {
|
|
31
|
+
export const AdditionalFilterSection = () => {
|
|
37
32
|
const { t } = useTranslation("Design");
|
|
38
33
|
const { filters, setFilters } = useContext(BookingContext);
|
|
39
34
|
|
|
40
|
-
const { handleSubmit, register,
|
|
41
|
-
Partial<BookingFilters>
|
|
42
|
-
>({
|
|
35
|
+
const { handleSubmit, register, reset } = useForm<Partial<BookingFilters>>({
|
|
43
36
|
defaultValues: filters,
|
|
44
37
|
});
|
|
45
38
|
|
|
46
|
-
const startDate = watch("order_date_from");
|
|
47
|
-
const endDate = watch("order_date_to");
|
|
48
|
-
|
|
49
39
|
const onFormSubmit = (values: Partial<BookingFilters>) => {
|
|
50
40
|
setFilters(values);
|
|
51
41
|
};
|
|
@@ -57,49 +47,20 @@ export const AdditionalFilterSection = ({
|
|
|
57
47
|
return (
|
|
58
48
|
<div className="additional-filter-section">
|
|
59
49
|
<Form onSubmit={handleSubmit(onFormSubmit)}>
|
|
60
|
-
<Row
|
|
50
|
+
<Row>
|
|
61
51
|
<Col md="3">
|
|
62
52
|
<Form.Group>
|
|
63
|
-
<Form.Label>{t("
|
|
64
|
-
<
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
render={({ field }) => {
|
|
68
|
-
const filedValue = String(field?.value);
|
|
69
|
-
return (
|
|
70
|
-
<Form.Control
|
|
71
|
-
as="select"
|
|
72
|
-
value={filedValue}
|
|
73
|
-
disabled={isLoading}
|
|
74
|
-
onChange={field?.onChange}
|
|
75
|
-
>
|
|
76
|
-
<option value="" selected={filedValue === ""}>
|
|
77
|
-
{t("Design:choose")}
|
|
78
|
-
</option>
|
|
79
|
-
{staffMembers?.map((member) => (
|
|
80
|
-
<option
|
|
81
|
-
value={member?.id}
|
|
82
|
-
key={member?.id}
|
|
83
|
-
selected={filedValue === String(member?.id)}
|
|
84
|
-
>
|
|
85
|
-
{member?.firstName} {member?.lastName}
|
|
86
|
-
</option>
|
|
87
|
-
))}
|
|
88
|
-
</Form.Control>
|
|
89
|
-
);
|
|
90
|
-
}}
|
|
91
|
-
/>
|
|
53
|
+
<Form.Label>{t("staffMember")}</Form.Label>
|
|
54
|
+
<Form.Control {...register("staffMember")} as="select">
|
|
55
|
+
<option value="">{t("Design:choose")}</option>
|
|
56
|
+
</Form.Control>
|
|
92
57
|
</Form.Group>
|
|
93
58
|
</Col>
|
|
94
59
|
|
|
95
60
|
<Col md="3">
|
|
96
61
|
<Form.Group>
|
|
97
62
|
<Form.Label>{t("bookingStatus")}</Form.Label>
|
|
98
|
-
<Form.Control
|
|
99
|
-
disabled={isLoading}
|
|
100
|
-
{...register("status")}
|
|
101
|
-
as="select"
|
|
102
|
-
>
|
|
63
|
+
<Form.Control {...register("status")} as="select">
|
|
103
64
|
<option value="">{t("Design:choose")}</option>
|
|
104
65
|
{Object.keys(ORDER_STATUSES_FOR_UPDATE).map((key: string) => (
|
|
105
66
|
<option
|
|
@@ -113,29 +74,16 @@ export const AdditionalFilterSection = ({
|
|
|
113
74
|
</Form.Group>
|
|
114
75
|
</Col>
|
|
115
76
|
|
|
116
|
-
<Col
|
|
77
|
+
<Col md="3">
|
|
117
78
|
<Form.Group>
|
|
118
79
|
<Form.Label>{t("date")}</Form.Label>
|
|
119
|
-
<
|
|
120
|
-
disabled={isLoading}
|
|
121
|
-
placeholder={t("date")}
|
|
122
|
-
startDate={startDate}
|
|
123
|
-
endDate={endDate}
|
|
124
|
-
onDateChange={({ startDate, endDate }) => {
|
|
125
|
-
setValue("order_date_from", startDate);
|
|
126
|
-
setValue("order_date_to", endDate);
|
|
127
|
-
}}
|
|
128
|
-
/>
|
|
80
|
+
<Form.Control {...register("date")} type="date" />
|
|
129
81
|
</Form.Group>
|
|
130
82
|
</Col>
|
|
131
83
|
|
|
132
84
|
<Col md="3" className="d-flex align-items-end">
|
|
133
85
|
<Form.Group>
|
|
134
|
-
<Button
|
|
135
|
-
disabled={isLoading}
|
|
136
|
-
type="submit"
|
|
137
|
-
className="shadow-none"
|
|
138
|
-
>
|
|
86
|
+
<Button type="submit" className="shadow-none">
|
|
139
87
|
{t("apply")}
|
|
140
88
|
</Button>
|
|
141
89
|
</Form.Group>
|
|
@@ -10,7 +10,7 @@ import { ReactComponent as RefreshIcon } from "../../../../assets/dashboard/refr
|
|
|
10
10
|
import { ReactComponent as FullscreenIcon } from "../../../../assets/dashboard/fullscreen.svg";
|
|
11
11
|
import { ReactComponent as MinimizeIcon } from "../../../../assets/dashboard/minimize.svg";
|
|
12
12
|
|
|
13
|
-
export type MainFilterSectionProps =
|
|
13
|
+
export type MainFilterSectionProps = BookingFilterProps;
|
|
14
14
|
|
|
15
15
|
const DEBOUNCE_QUERY_TIME = 300;
|
|
16
16
|
|
|
@@ -22,7 +22,6 @@ export const MainFilterSection = ({
|
|
|
22
22
|
onFullscreenButtonClick,
|
|
23
23
|
autoFocusOnMount,
|
|
24
24
|
isFullscreenMode,
|
|
25
|
-
isLoading,
|
|
26
25
|
}: MainFilterSectionProps) => {
|
|
27
26
|
const { t } = useTranslation("Design");
|
|
28
27
|
const { filters, onQueryChange } = useContext(BookingContext);
|
|
@@ -63,7 +62,6 @@ export const MainFilterSection = ({
|
|
|
63
62
|
className="search-icon"
|
|
64
63
|
/>
|
|
65
64
|
<Form.Control
|
|
66
|
-
disabled={isLoading}
|
|
67
65
|
value={queryValue}
|
|
68
66
|
onChange={onSearchQueryChange}
|
|
69
67
|
onBlur={onSearchQueryBlur}
|
|
@@ -115,7 +113,6 @@ export const MainFilterSection = ({
|
|
|
115
113
|
|
|
116
114
|
<Button
|
|
117
115
|
variant="link"
|
|
118
|
-
disabled={isLoading}
|
|
119
116
|
className={clsx(
|
|
120
117
|
"shadow-none",
|
|
121
118
|
!isFullscreenMode && "fullscreen-button",
|
|
@@ -5,47 +5,17 @@ import {
|
|
|
5
5
|
BookingContext,
|
|
6
6
|
BookingFilters,
|
|
7
7
|
} from "@licklist/plugins/dist/context/booking/BookingContext";
|
|
8
|
-
import { User } from "@licklist/core/dist/DataMapper/User/UserDataMapper";
|
|
9
8
|
import { ResultTagButton } from "./ResultTagButton";
|
|
10
9
|
|
|
11
|
-
const SEARCHING_FOR_FILTER_KEYS = [
|
|
12
|
-
"q",
|
|
13
|
-
"status",
|
|
14
|
-
"order_date_from",
|
|
15
|
-
"created_by",
|
|
16
|
-
];
|
|
10
|
+
const SEARCHING_FOR_FILTER_KEYS = ["q", "status", "date", "staffMember"];
|
|
17
11
|
|
|
18
|
-
export
|
|
19
|
-
staffMembers?: User[] | null;
|
|
20
|
-
isLoading: boolean;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export const SearchingForSection = ({ staffMembers }: { staffMembers }) => {
|
|
12
|
+
export const SearchingForSection = () => {
|
|
24
13
|
const { t } = useTranslation("Design");
|
|
25
14
|
const { filters, setFilters } = useContext(BookingContext);
|
|
26
15
|
|
|
27
16
|
const filteredFilters = useMemo(() => {
|
|
28
|
-
const selectedMember = staffMembers?.find(
|
|
29
|
-
(staffMember) => Number(filters?.created_by) === staffMember?.id
|
|
30
|
-
);
|
|
31
17
|
return SEARCHING_FOR_FILTER_KEYS.reduce(
|
|
32
18
|
(prevValues: Partial<BookingFilters>, currentKey: string) => {
|
|
33
|
-
if (currentKey === "created_by" && filters[currentKey]) {
|
|
34
|
-
return {
|
|
35
|
-
...prevValues,
|
|
36
|
-
[currentKey]: `${selectedMember?.firstName || ""} ${
|
|
37
|
-
selectedMember?.lastName || ""
|
|
38
|
-
}`,
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
if (currentKey === "order_date_from" && filters[currentKey]) {
|
|
42
|
-
return {
|
|
43
|
-
...prevValues,
|
|
44
|
-
[currentKey]: `${filters.order_date_from || ""} - ${
|
|
45
|
-
filters?.order_date_to || ""
|
|
46
|
-
}`,
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
19
|
if (filters[currentKey]) {
|
|
50
20
|
return { ...prevValues, [currentKey]: filters[currentKey] };
|
|
51
21
|
}
|
|
@@ -54,17 +24,13 @@ export const SearchingForSection = ({ staffMembers }: { staffMembers }) => {
|
|
|
54
24
|
},
|
|
55
25
|
{}
|
|
56
26
|
);
|
|
57
|
-
}, [filters
|
|
27
|
+
}, [filters]);
|
|
58
28
|
|
|
59
29
|
const resetAllFilters = () => {
|
|
60
30
|
setFilters({ isFilterOpen: true });
|
|
61
31
|
};
|
|
62
32
|
|
|
63
33
|
const onResetSelectedFilter = (key: string) => {
|
|
64
|
-
if (key === "order_date_from") {
|
|
65
|
-
setFilters({ ...filters, order_date_from: "", order_date_to: "" });
|
|
66
|
-
return;
|
|
67
|
-
}
|
|
68
34
|
setFilters({ ...filters, [key]: "" });
|
|
69
35
|
};
|
|
70
36
|
|
|
@@ -21,7 +21,6 @@ export type BookingTabsProps = HasPermissionProp &
|
|
|
21
21
|
onAddButtonClick?: () => void;
|
|
22
22
|
viewType: BOOKING_TYPE;
|
|
23
23
|
onSetType: (value: BOOKING_TYPE) => void;
|
|
24
|
-
hasBookingManagment: boolean;
|
|
25
24
|
}>;
|
|
26
25
|
|
|
27
26
|
export const BookingTabs = ({
|
|
@@ -29,7 +28,6 @@ export const BookingTabs = ({
|
|
|
29
28
|
onReportsClick,
|
|
30
29
|
onAddButtonClick,
|
|
31
30
|
hasPermission = false,
|
|
32
|
-
hasBookingManagment,
|
|
33
31
|
viewType,
|
|
34
32
|
onSetType,
|
|
35
33
|
}: BookingTabsProps) => {
|
|
@@ -52,10 +50,11 @@ export const BookingTabs = ({
|
|
|
52
50
|
onSetType(tabType);
|
|
53
51
|
}}
|
|
54
52
|
>
|
|
55
|
-
{tabType ===
|
|
53
|
+
{tabType === BOOKING_LIST_TYPE ? (
|
|
54
|
+
<BookingList />
|
|
55
|
+
) : (
|
|
56
56
|
<BookingCalendar />
|
|
57
57
|
)}
|
|
58
|
-
{tabType === BOOKING_LIST_TYPE && <BookingList />}
|
|
59
58
|
</Button>
|
|
60
59
|
);
|
|
61
60
|
})}
|
|
@@ -233,7 +233,6 @@ export const CouponFormControl = ({
|
|
|
233
233
|
<Form.Control
|
|
234
234
|
type="date"
|
|
235
235
|
{...register("validTill")}
|
|
236
|
-
value={validTillValue}
|
|
237
236
|
onChange={(e) => {
|
|
238
237
|
const date = DateTime.fromSQL(e.target.value).toISODate();
|
|
239
238
|
setValue("validTill", date);
|
|
@@ -332,7 +331,6 @@ export const CouponFormControl = ({
|
|
|
332
331
|
<Form.Group>
|
|
333
332
|
<Form.Label>{t("Design:totalCoupons")}</Form.Label>
|
|
334
333
|
<Form.Control
|
|
335
|
-
{...register("totalCoupons")}
|
|
336
334
|
type="number"
|
|
337
335
|
isInvalid={errors.totalCoupons !== undefined}
|
|
338
336
|
disabled={isLoading}
|
|
@@ -4,7 +4,7 @@ import clsx from "clsx";
|
|
|
4
4
|
import { TextField } from "../../static/TextField";
|
|
5
5
|
import { DateRangeInput } from "../../static/date-range-input";
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
interface Filters {
|
|
8
8
|
id: string;
|
|
9
9
|
name: string;
|
|
10
10
|
email: string;
|
|
@@ -12,7 +12,7 @@ export interface Filters {
|
|
|
12
12
|
order_date_to: string;
|
|
13
13
|
orderable_date_from: string;
|
|
14
14
|
orderable_date_to: string;
|
|
15
|
-
|
|
15
|
+
is_pending: boolean;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
export interface SaleFiltersProps {
|