@licklist/design 0.66.7-dev.6 → 0.66.7-dev.8
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/.eslintignore +10 -0
- package/.eslintrc +8 -0
- package/.husky/pre-commit +4 -0
- package/.storybook/main.cjs +47 -0
- package/.storybook/manager.js +4 -0
- package/.storybook/preview.js +77 -0
- package/.yarnrc.yml +3 -0
- package/bitbucket-pipelines.yml +89 -0
- package/deploy-application.sh +72 -0
- package/dist/affiliate/card/AffiliateCard.d.ts +1 -1
- package/dist/affiliate/card/AffiliateCard.d.ts.map +1 -1
- package/dist/affiliate/form/AffiliateControl.js +1 -1
- package/dist/affiliate/form/AffiliateForm.d.ts +1 -1
- package/dist/affiliate/form/AffiliateForm.d.ts.map +1 -1
- package/dist/auth/AccessDenied/AccessDenied.js +2 -2
- package/dist/auth/Authorizer.js +5 -5
- package/dist/auth/ChangePassword/ChangePasswordComponent.js +5 -5
- package/dist/auth/ChangePassword/ChangePasswordFormComponent.d.ts +1 -1
- package/dist/auth/ChangePassword/ChangePasswordFormComponent.d.ts.map +1 -1
- package/dist/auth/ChangePassword/ChangePasswordFormComponent.js +2 -2
- package/dist/auth/Layout/UserNavComponent.d.ts +1 -1
- package/dist/auth/Layout/UserNavComponent.d.ts.map +1 -1
- package/dist/auth/Layout/UserNavDropDown.js +2 -2
- package/dist/auth/Layout/UserNavDropDownToggle.d.ts +1 -1
- package/dist/auth/Layout/UserNavDropDownToggle.d.ts.map +1 -1
- package/dist/auth/Login/LoginComponent.js +7 -7
- package/dist/auth/Login/LoginFormComponent.d.ts +2 -2
- package/dist/auth/Login/LoginFormComponent.d.ts.map +1 -1
- package/dist/auth/Login/LoginFormComponent.js +2 -2
- package/dist/auth/Logout/Logout.js +3 -3
- package/dist/auth/Register/BirthDateFormComponent.js +4 -4
- package/dist/auth/Register/RegisterComponent.js +7 -7
- package/dist/auth/Register/RegisterFormComponent.d.ts +3 -3
- package/dist/auth/Register/RegisterFormComponent.d.ts.map +1 -1
- package/dist/auth/Register/RegisterFormComponent.js +5 -5
- package/dist/auth/ResetPassword/ResetPasswordComponent.js +5 -5
- package/dist/auth/ResetPassword/ResetPasswordFormComponent.d.ts +1 -1
- package/dist/auth/ResetPassword/ResetPasswordFormComponent.d.ts.map +1 -1
- package/dist/auth/ResetPassword/ResetPasswordFormComponent.js +2 -2
- package/dist/auth/Router.js +2 -2
- package/dist/auth/Social/SocialCallbackComponent.js +8 -8
- package/dist/auth/Social/SocialFormComponent.js +4 -4
- package/dist/availability-indicator/AvailabilityIndicator.d.ts +1 -1
- package/dist/availability-indicator/AvailabilityIndicator.d.ts.map +1 -1
- package/dist/custom-fields/constants.js +1 -1
- package/dist/custom-fields/field-set/CustomFieldSets.d.ts +4 -5
- package/dist/custom-fields/field-set/CustomFieldSets.d.ts.map +1 -1
- package/dist/custom-fields/field-set/components/CustomFieldSet/CustomFieldSet.d.ts +2 -2
- package/dist/custom-fields/field-set/components/CustomFieldSet/CustomFieldSet.d.ts.map +1 -1
- package/dist/custom-fields/field-set/components/CustomFieldSet/CustomFieldSet.js +3 -3
- package/dist/custom-fields/forms/DropdownForm.d.ts +2 -2
- package/dist/custom-fields/forms/DropdownForm.d.ts.map +1 -1
- package/dist/custom-fields/forms/DropdownForm.js +1 -1
- package/dist/custom-fields/forms/TextInputForm.d.ts +2 -2
- package/dist/custom-fields/forms/TextInputForm.d.ts.map +1 -1
- package/dist/custom-fields/forms/TextInputForm.js +1 -1
- package/dist/date-time-button/DateContent.js +2 -2
- package/dist/date-time-button/DateTimeButton.d.ts +1 -1
- package/dist/date-time-button/DateTimeButton.d.ts.map +1 -1
- package/dist/events/edit-event-modal/IntervalInput.d.ts +1 -1
- package/dist/events/edit-event-modal/IntervalInput.d.ts.map +1 -1
- package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.d.ts +4 -4
- package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.d.ts.map +1 -1
- package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.js +8 -8
- package/dist/events/edit-event-modal/component/ProductSetShortForm/ProductSetShortForm.d.ts +2 -2
- package/dist/events/edit-event-modal/component/ProductSetShortForm/ProductSetShortForm.d.ts.map +1 -1
- package/dist/events/edit-event-modal/component/ProductSetShortForm/ProductSetShortForm.js +1 -1
- package/dist/events/edit-event-modal/component/SaleDeadline/SaleDeadline.js +1 -1
- package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.d.ts +2 -2
- package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.d.ts.map +1 -1
- package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.js +19 -19
- package/dist/events/edit-event-modal/utils/getDefaultProductSet.d.ts +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-event-modal/utils/isUrlValid.js +1 -1
- package/dist/events/event-card/EventCard.d.ts +2 -2
- package/dist/events/event-card/EventCard.d.ts.map +1 -1
- package/dist/events/event-card/EventCard.js +1 -1
- package/dist/events/event-card/utils.d.ts +1 -1
- package/dist/events/event-card/utils.d.ts.map +1 -1
- package/dist/events/event-card/utils.js +1 -1
- package/dist/events/event-statistic-modal/EventStatisticModal.d.ts +2 -2
- package/dist/events/event-statistic-modal/EventStatisticModal.d.ts.map +1 -1
- package/dist/events/event-statistic-modal/EventStatisticModal.js +4 -4
- package/dist/events/event-statistic-modal/hooks/useTableData.d.ts +2 -2
- package/dist/events/event-statistic-modal/hooks/useTableData.d.ts.map +1 -1
- package/dist/events/event-statistic-modal/hooks/useTableData.js +1 -1
- package/dist/events/event-statistic-modal/utils/index.d.ts +1 -1
- package/dist/events/event-statistic-modal/utils/index.d.ts.map +1 -1
- package/dist/events/event-statistic-modal/utils/index.js +1 -1
- package/dist/events/event-venue-map/EventVenueMap.d.ts +4 -4
- 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.js +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/Dropdown/components/SelectControl/SelectControl.js +1 -1
- package/dist/events/event-venue-map/components/MapPoint/MapPoint.d.ts +2 -2
- 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/Scrollbars/Scrollbars.js +2 -2
- package/dist/events/event-venue-map/components/VenueMap/VenueMap.d.ts +2 -2
- package/dist/events/event-venue-map/components/VenueMap/VenueMap.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/VenueMap/VenueMap.js +1 -1
- package/dist/events/event-venue-map/hooks/useCanvasSize.js +1 -1
- package/dist/events/event-venue-map/hooks/useDrag.js +1 -1
- package/dist/events/event-venue-map/hooks/useStageActions.js +1 -1
- package/dist/events/event-venue-map/hooks/useZoom.js +1 -1
- package/dist/events/event-venue-map/utils/index.d.ts +1 -1
- package/dist/events/event-venue-map/utils/index.d.ts.map +1 -1
- package/dist/file-upload/FilePreview.d.ts +3 -3
- package/dist/file-upload/FilePreview.d.ts.map +1 -1
- package/dist/file-upload/FilePreview.js +1 -1
- package/dist/file-upload/FileUpload.d.ts +3 -3
- package/dist/file-upload/FileUpload.d.ts.map +1 -1
- package/dist/file-upload/FileUpload.js +2 -2
- package/dist/header/elements/CompanySelector.d.ts +0 -1
- package/dist/header/elements/CompanySelector.d.ts.map +1 -1
- package/dist/header/elements/CompanySelector.js +0 -1
- package/dist/help/example/Example.d.ts +4 -4
- package/dist/help/example/Example.d.ts.map +1 -1
- package/dist/help/example/Example.js +7 -8
- package/dist/help/popover/HelpPopover.d.ts +0 -1
- package/dist/help/popover/HelpPopover.d.ts.map +1 -1
- package/dist/help/popover/HelpPopover.js +0 -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/custom-fields/components/CustomDateField.js +1 -1
- package/dist/iframe/event/event-booking-products/EventBookingProducts.d.ts +2 -2
- package/dist/iframe/event/event-booking-products/EventBookingProducts.d.ts.map +1 -1
- package/dist/iframe/event/event-booking-products/components/AccordionItem/AccordionItem.d.ts +2 -2
- package/dist/iframe/event/event-booking-products/components/AccordionItem/AccordionItem.d.ts.map +1 -1
- package/dist/iframe/event/event-booking-products/components/AccordionItem/AccordionItem.js +2 -2
- package/dist/iframe/event/event-booking-view/EventBookingView.d.ts +0 -1
- package/dist/iframe/event/event-booking-view/EventBookingView.d.ts.map +1 -1
- package/dist/iframe/event/event-booking-view/EventBookingView.js +0 -1
- package/dist/iframe/event/event-card/IframeEventCard.d.ts +1 -1
- package/dist/iframe/event/event-card/IframeEventCard.d.ts.map +1 -1
- package/dist/iframe/event/event-card/IframeEventCard.js +0 -1
- package/dist/iframe/event/event-card/IframeEventCardSkeleton.d.ts +2 -3
- package/dist/iframe/event/event-card/IframeEventCardSkeleton.d.ts.map +1 -1
- package/dist/iframe/event/event-description/EventDescription.d.ts +1 -1
- package/dist/iframe/event/event-description/EventDescription.d.ts.map +1 -1
- package/dist/iframe/event/event-description/EventDescription.js +1 -1
- package/dist/iframe/event/event-navigation-footer/EventNavigationFooter.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 +6 -6
- package/dist/iframe/event/event-venue-map/IframeEventVenueMap.js +1 -1
- package/dist/iframe/event/ticket-description/TicketDescription.d.ts +1 -1
- package/dist/iframe/event/ticket-description/TicketDescription.d.ts.map +1 -1
- package/dist/iframe/event/ticket-description/TicketDescription.js +2 -2
- package/dist/iframe/order-process/components/BookingSummary/BookingSummary.js +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.js +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.d.ts +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.js +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts +3 -3
- package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.js +1 -1
- package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts +3 -3
- package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/utils/index.d.ts +2 -2
- package/dist/iframe/order-process/components/BookingSummary/utils/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.d.ts +3 -3
- package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.js +3 -3
- package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.d.ts +3 -3
- package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts +3 -3
- package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts +2 -2
- package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.js +2 -2
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts +2 -2
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts.map +1 -1
- package/dist/iframe/order-process/components/NavigationSteps/NavigationSteps.js +1 -1
- package/dist/iframe/order-process/components/PaymentCard/PaymentCard.d.ts +2 -2
- package/dist/iframe/order-process/components/PaymentCard/PaymentCard.d.ts.map +1 -1
- package/dist/iframe/order-process/components/PaymentCard/PaymentCard.js +1 -1
- package/dist/iframe/order-process/components/utils/useCategoryVerification.d.ts +2 -2
- package/dist/iframe/order-process/components/utils/useCategoryVerification.d.ts.map +1 -1
- package/dist/iframe/order-process/components/utils/useCategoryVerification.js +1 -1
- package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.js +1 -1
- package/dist/iframe/page/components/PageBody/components/RightBlock/RightBlock.js +1 -1
- package/dist/iframe/page/components/PageBody/hooks/useResizePageBody.js +1 -1
- package/dist/iframe/payment/order-items-table/OrderItemsTable.js +4 -4
- 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 +3 -3
- package/dist/iframe/payment/order-items-table/utils/index.d.ts.map +1 -1
- package/dist/iframe/payment/order-items-table/utils/index.js +2 -2
- package/dist/iframe/payment/payment-form/PaymentForm.js +4 -4
- 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 +3 -3
- package/dist/iframe/payment/payment-page/PaymentTimer.js +3 -3
- package/dist/iframe/payment/payment-status-page/PaymentStatusPage.js +2 -2
- package/dist/iframe/ryft/RyftPaymentForm.d.ts +2 -2
- package/dist/iframe/ryft/RyftPaymentForm.d.ts.map +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.js +2 -2
- package/dist/index.js +1 -1
- package/dist/layout/DropDown.d.ts +1 -2
- package/dist/layout/DropDown.d.ts.map +1 -1
- package/dist/layout/DropDown.js +2 -2
- package/dist/layout/DropDownToggle.d.ts +1 -2
- package/dist/layout/DropDownToggle.d.ts.map +1 -1
- package/dist/layout/DropDownToggle.js +2 -2
- package/dist/modals/dialog/Dialog.d.ts +0 -1
- package/dist/modals/dialog/Dialog.d.ts.map +1 -1
- package/dist/modals/dialog/Dialog.js +0 -1
- package/dist/notification/components/NotificationPlaceholders.d.ts +1 -1
- package/dist/notification/components/NotificationPlaceholders.d.ts.map +1 -1
- package/dist/notification/email-template/card/EmailTemplateCard.d.ts +2 -2
- package/dist/notification/email-template/card/EmailTemplateCard.d.ts.map +1 -1
- package/dist/notification/email-template/card/EmailTemplateCard.js +1 -1
- package/dist/notification/email-template/control/EmailTemplateControl.d.ts +3 -3
- package/dist/notification/email-template/control/EmailTemplateControl.d.ts.map +1 -1
- package/dist/notification/email-template/control/EmailTemplateControl.js +4 -4
- package/dist/notification/email-template/form/EmailTemplateForm.d.ts +11 -11
- 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/send-email-template/SendEmailTemplateForm.d.ts +2 -2
- package/dist/notification/send-email-template/SendEmailTemplateForm.d.ts.map +1 -1
- package/dist/notification/send-email-template/SendEmailTemplateForm.js +2 -2
- package/dist/notification/sms-template/card/SmsTemplateCard.d.ts +2 -2
- 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 -1
- package/dist/notification/sms-template/control/SmsTemplateControl.d.ts.map +1 -1
- package/dist/notification/sms-template/control/SmsTemplateControl.js +1 -1
- package/dist/notification/sms-template/form/SmsTemplateForm.d.ts +5 -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/card/ProductSetCard.d.ts +1 -1
- package/dist/product-set/card/ProductSetCard.d.ts.map +1 -1
- package/dist/product-set/card/ProductSetCard.js +1 -1
- package/dist/product-set/control/DateAndRecurrenceInput.d.ts +2 -2
- package/dist/product-set/control/DateAndRecurrenceInput.d.ts.map +1 -1
- package/dist/product-set/control/DateAndRecurrenceInput.js +1 -1
- package/dist/product-set/control/DateInput.d.ts +2 -2
- package/dist/product-set/control/DateInput.d.ts.map +1 -1
- package/dist/product-set/control/DateInput.js +1 -1
- package/dist/product-set/control/ProductSetControl.d.ts +5 -5
- package/dist/product-set/control/ProductSetControl.d.ts.map +1 -1
- package/dist/product-set/control/ProductSetControl.js +3 -3
- package/dist/product-set/control/ProductSetRecurrenceControl.d.ts +1 -1
- package/dist/product-set/control/ProductSetRecurrenceControl.d.ts.map +1 -1
- package/dist/product-set/control/ProductSetRecurrenceOverridesControl.d.ts +1 -1
- package/dist/product-set/control/ProductSetRecurrenceOverridesControl.d.ts.map +1 -1
- package/dist/product-set/form/ProductCategoriesControl.d.ts +1 -1
- package/dist/product-set/form/ProductCategoriesControl.d.ts.map +1 -1
- package/dist/product-set/form/ProductCategoriesControl.js +2 -2
- package/dist/product-set/form/ProductSetForm.d.ts +6 -6
- 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 +2 -2
- package/dist/product-set/form/ProductsControl.d.ts.map +1 -1
- package/dist/product-set/form/ProductsControl.js +6 -6
- package/dist/product-set/form/SelectCategoryModal.d.ts +1 -1
- package/dist/product-set/form/SelectCategoryModal.d.ts.map +1 -1
- package/dist/product-set/form/SelectCategoryModal.js +1 -1
- package/dist/product-set/form/StepsControl.js +1 -1
- package/dist/product-set/form/SubProductsControl.js +1 -1
- package/dist/product-set/form/VenueMapSetModal.js +1 -1
- package/dist/product-set/form/VenueMapsControl.d.ts +2 -2
- package/dist/product-set/form/VenueMapsControl.d.ts.map +1 -1
- package/dist/product-set/form/VenueMapsControl.js +1 -1
- package/dist/product-set/form/context.d.ts +3 -3
- package/dist/product-set/form/context.d.ts.map +1 -1
- package/dist/product-set/product/ProductControl.d.ts +4 -4
- package/dist/product-set/product/ProductControl.d.ts.map +1 -1
- package/dist/product-set/product/ProductControl.js +17 -17
- package/dist/product-set/product/booking-management/ProductBookingManagementControl.d.ts +1 -1
- package/dist/product-set/product/booking-management/ProductBookingManagementControl.d.ts.map +1 -1
- package/dist/product-set/product/booking-management/ProductBookingManagementControl.js +1 -1
- package/dist/product-set/product/deposit/ProductDepositControl.d.ts +1 -1
- package/dist/product-set/product/deposit/ProductDepositControl.d.ts.map +1 -1
- package/dist/product-set/product/deposit/ProductDepositControl.js +1 -1
- package/dist/product-set/product/duration/ProductDurationControl.d.ts +1 -1
- package/dist/product-set/product/duration/ProductDurationControl.d.ts.map +1 -1
- package/dist/product-set/product/duration/ProductDurationControl.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 +1 -1
- 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/ProductQuantityConstantControl.d.ts +1 -2
- package/dist/product-set/product/quantity/ProductQuantityConstantControl.d.ts.map +1 -1
- package/dist/product-set/product/quantity/ProductQuantityConstantControl.js +1 -1
- package/dist/product-set/product/quantity/ProductQuantityControl.d.ts +1 -2
- package/dist/product-set/product/quantity/ProductQuantityControl.d.ts.map +1 -1
- package/dist/product-set/product/quantity/ProductQuantityControl.js +1 -1
- package/dist/product-set/product/quantity/ProductQuantityRechargingControl.d.ts +1 -2
- package/dist/product-set/product/quantity/ProductQuantityRechargingControl.d.ts.map +1 -1
- package/dist/product-set/product/quantity/ProductQuantityRechargingControl.js +1 -1
- package/dist/product-set/product-category/ProductCategoryControl.d.ts +3 -3
- package/dist/product-set/product-category/ProductCategoryControl.d.ts.map +1 -1
- package/dist/product-set/product-category/ProductCategoryControl.js +2 -2
- package/dist/product-set/step/StepControl.d.ts +2 -2
- package/dist/product-set/step/StepControl.d.ts.map +1 -1
- package/dist/product-set/step/StepControl.js +1 -1
- package/dist/product-set/utils/index.d.ts +2 -2
- package/dist/product-set/utils/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/company/user-form/UserForm.js +3 -3
- package/dist/provider/provider-details-input/ProviderDetailsInput.d.ts +1 -1
- package/dist/provider/provider-details-input/ProviderDetailsInput.d.ts.map +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-form/ProviderForm.js +2 -2
- package/dist/provider/venue-form/VenueForm.d.ts +1 -1
- package/dist/provider/venue-form/VenueForm.d.ts.map +1 -1
- package/dist/provider/venue-form/VenueForm.js +3 -3
- package/dist/recurrence-input/RecurrenceEndInput.js +1 -1
- package/dist/recurring-date-picker-input/DatePickerInput.js +1 -1
- package/dist/recurring-date-picker-input/RecurrenceIntervalAndFrequencyInput.js +2 -2
- package/dist/recurring-date-picker-input/RecurringDatePickerInput.d.ts +1 -1
- package/dist/recurring-date-picker-input/RecurringDatePickerInput.d.ts.map +1 -1
- package/dist/recurring-date-picker-input/RecurringDatePickerInput.js +2 -2
- package/dist/recurring-date-picker-input/utils.d.ts +1 -1
- package/dist/recurring-date-picker-input/utils.d.ts.map +1 -1
- package/dist/recurring-date-picker-input/utils.js +2 -2
- package/dist/report/ReportRunnerModal/ReportRunnerModal.d.ts +3 -3
- package/dist/report/ReportRunnerModal/ReportRunnerModal.d.ts.map +1 -1
- package/dist/report/ReportRunnerModal/ReportRunnerModal.js +3 -3
- package/dist/report/ReportTypeSelect/ReportTypeSelect.js +1 -1
- package/dist/report/card/ReportCard.d.ts +1 -1
- package/dist/report/card/ReportCard.d.ts.map +1 -1
- package/dist/report/form/ReportForm.d.ts +1 -1
- package/dist/report/form/ReportForm.d.ts.map +1 -1
- package/dist/resource/card/ResourceCard.d.ts +1 -1
- package/dist/resource/card/ResourceCard.d.ts.map +1 -1
- package/dist/resource/form/ResourceForm.d.ts +3 -3
- package/dist/resource/form/ResourceForm.d.ts.map +1 -1
- package/dist/resource/form/ResourceForm.js +1 -1
- package/dist/resource/form/components/CapacityControl.js +1 -1
- package/dist/resource/form/components/NameControl.js +1 -1
- package/dist/resource/form/components/SortControl.js +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/resource/form/components/ZoneControl.js +1 -1
- package/dist/sales/booking/results/BookingResults.d.ts +2 -2
- package/dist/sales/booking/results/BookingResults.d.ts.map +1 -1
- package/dist/sales/booking/results/components/ResultCard.d.ts +2 -2
- package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
- package/dist/sales/booking/results/components/ResultCard.js +5 -5
- package/dist/sales/constants.d.ts +1 -1
- package/dist/sales/constants.d.ts.map +1 -1
- package/dist/sales/constants.js +1 -1
- package/dist/sales/coupon/control/CouponFormControl.d.ts +2 -2
- package/dist/sales/coupon/control/CouponFormControl.d.ts.map +1 -1
- package/dist/sales/coupon/control/CouponFormControl.js +2 -2
- package/dist/sales/coupon/form/CouponFrom.d.ts +3 -3
- package/dist/sales/coupon/form/CouponFrom.d.ts.map +1 -1
- package/dist/sales/coupon/form/CouponFrom.js +1 -1
- package/dist/sales/coupon/utils/index.d.ts +1 -1
- package/dist/sales/coupon/utils/index.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/Profile.js +1 -1
- package/dist/sales/guest-profile/user-metrics/UserMetrics.d.ts +2 -2
- 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/guest-profile/visited-providers/VisitedProviders.js +1 -1
- package/dist/sales/life-time-sales/LifeTimeSalesChart.js +1 -1
- package/dist/sales/manual-booking/formatDays.js +1 -1
- package/dist/sales/manual-booking/search-user/SearchUser.js +2 -2
- 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-date-type-control/SelectDateTypeControl.js +1 -1
- package/dist/sales/manual-booking/select-event/SelectEvent.d.ts +1 -1
- package/dist/sales/manual-booking/select-event/SelectEvent.d.ts.map +1 -1
- package/dist/sales/manual-booking/select-event/SelectEvent.js +2 -2
- 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/manual-booking/summary/ManualBookingSummary.d.ts +2 -2
- package/dist/sales/manual-booking/summary/ManualBookingSummary.d.ts.map +1 -1
- package/dist/sales/manual-booking/summary/ManualBookingSummary.js +5 -5
- package/dist/sales/modals/payment-modal/PaymentModal.js +1 -1
- package/dist/sales/modals/refund-modal/RefundModal.d.ts +1 -1
- package/dist/sales/modals/refund-modal/RefundModal.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/NotesTableRow.js +6 -6
- 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.js +3 -3
- package/dist/sales/payment-form/types.d.ts +1 -1
- package/dist/sales/payment-form/types.d.ts.map +1 -1
- package/dist/setting/admin/AdminSettingForm.d.ts +2 -2
- package/dist/setting/admin/AdminSettingForm.d.ts.map +1 -1
- package/dist/setting/admin/AdminSettingForm.js +1 -1
- package/dist/setting/dashboard/DashboardSettingForm.d.ts +2 -2
- package/dist/setting/dashboard/DashboardSettingForm.d.ts.map +1 -1
- package/dist/setting/dashboard/DashboardSettingForm.js +2 -2
- package/dist/setting/dashboard/ProviderSettingForm.js +1 -1
- package/dist/setting/dashboard/snippet-templates/card/SnippetTemplateCard.d.ts +1 -1
- package/dist/setting/dashboard/snippet-templates/card/SnippetTemplateCard.d.ts.map +1 -1
- package/dist/setting/dashboard/snippets/card/SnippetCard.d.ts +1 -1
- package/dist/setting/dashboard/snippets/card/SnippetCard.d.ts.map +1 -1
- package/dist/setting/dashboard/snippets/card/SnippetCard.js +4 -4
- 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.d.ts +2 -2
- package/dist/snippet/snippet-template/SnippetTemplate.d.ts.map +1 -1
- package/dist/snippet/snippet-template/context/snippetTemplate.d.ts +2 -3
- package/dist/snippet/snippet-template/context/snippetTemplate.d.ts.map +1 -1
- package/dist/snippet/snippet-template/context/snippetTemplate.js +1 -1
- package/dist/snippet/snippet-template/context/snippetTemplateLoading.d.ts +1 -2
- package/dist/snippet/snippet-template/context/snippetTemplateLoading.d.ts.map +1 -1
- package/dist/snippet/snippet-template/context/snippetTemplateView.d.ts +1 -2
- package/dist/snippet/snippet-template/context/snippetTemplateView.d.ts.map +1 -1
- package/dist/snippet/snippet-template/control/PropertyControl.js +1 -1
- package/dist/snippet/snippet-template/form/SnippetTemplateForm.d.ts +2 -2
- package/dist/snippet/snippet-template/form/SnippetTemplateForm.d.ts.map +1 -1
- package/dist/snippet/snippet-template/form/SnippetTemplateForm.js +3 -3
- package/dist/snippet/snippet-template/preview/Preview.js +12 -12
- package/dist/snippet/snippet-template/settings/SettingButton.d.ts +0 -1
- package/dist/snippet/snippet-template/settings/SettingButton.d.ts.map +1 -1
- package/dist/snippet/snippet-template/settings/SettingButton.js +0 -1
- package/dist/snippet/snippet-template/utils/index.d.ts +1 -1
- package/dist/snippet/snippet-template/utils/index.d.ts.map +1 -1
- package/dist/snippet/snippet-template/utils/index.js +1 -1
- package/dist/sorting-select/SortingSelect.js +2 -2
- package/dist/static/CurrencyNumberInput.d.ts +1 -2
- package/dist/static/CurrencyNumberInput.d.ts.map +1 -1
- package/dist/static/FormCard.d.ts +0 -1
- package/dist/static/FormCard.d.ts.map +1 -1
- package/dist/static/FormCard.js +0 -1
- package/dist/static/RestrictedAccess.js +1 -1
- package/dist/static/date-range-input/utils/index.js +1 -1
- package/dist/static/form-number-input/FormNumberInput.js +1 -1
- package/dist/static/index.js +4 -4
- package/dist/static/loader/PaymentLoader.js +1 -1
- package/dist/striped-static-table/StripedStaticTable.js +4 -4
- package/dist/table/FilterHelperComponent.d.ts.map +1 -1
- package/dist/table/PaginationHelperComponent.d.ts +1 -1
- package/dist/table/PaginationHelperComponent.d.ts.map +1 -1
- package/dist/table/PaginationHelperComponent.js +1 -1
- package/dist/table/PerPageHelperComponent.d.ts.map +1 -1
- package/dist/table/PerPageHelperComponent.js +1 -1
- package/dist/table/ReactTableHelperComponent.js +2 -2
- package/dist/table/TableHelperComponent.d.ts +3 -3
- package/dist/table/TableHelperComponent.d.ts.map +1 -1
- package/dist/table/TableHelperComponent.js +3 -3
- package/dist/table/hooks/useTableQueryOptions.js +1 -1
- package/dist/table/types.d.ts +3 -3
- package/dist/table/types.d.ts.map +1 -1
- package/dist/table/utils/index.d.ts +1 -1
- package/dist/table/utils/index.d.ts.map +1 -1
- package/dist/table/utils/index.js +1 -1
- package/dist/tiptap-editor/TipTapEditor.d.ts +0 -1
- package/dist/tiptap-editor/TipTapEditor.d.ts.map +1 -1
- package/dist/tiptap-editor/TipTapMenu/components/TipTapMenuItem.d.ts +0 -1
- package/dist/tiptap-editor/TipTapMenu/components/TipTapMenuItem.d.ts.map +1 -1
- package/dist/tiptap-editor/TipTapMenu/components/TipTapMenuItem.js +0 -1
- package/dist/typeahead-helper/TypeaheadHelperComponent.d.ts.map +1 -1
- package/dist/typeahead-helper/TypeaheadHelperComponent.js +1 -2
- package/dist/types/iframe.d.ts +1 -1
- package/dist/types/iframe.d.ts.map +1 -1
- package/dist/venue-map-sets/card/VenueMapSetCard.d.ts +1 -1
- package/dist/venue-map-sets/card/VenueMapSetCard.d.ts.map +1 -1
- package/dist/venue-map-sets/card/VenueMapSetCard.js +1 -1
- package/dist/venue-map-sets/form/components/NameControl.js +1 -1
- package/dist/venue-map-sets/form/components/VenueMapImageControl.js +3 -3
- package/dist/venue-map-sets/form/components/VenueMapModal.js +1 -1
- package/dist/venue-map-sets/form/components/VenueMapsControl.js +1 -1
- package/dist/venue-map-sets/form/types/index.d.ts +3 -3
- package/dist/venue-map-sets/form/types/index.d.ts.map +1 -1
- package/dist/venue-map-sets/form/utils/index.d.ts +1 -1
- package/dist/venue-map-sets/form/utils/index.d.ts.map +1 -1
- package/dist/virtualized/components/VirtualizedWindowScroller.js +1 -1
- package/dist/zone/card/ZoneCard.d.ts +1 -1
- package/dist/zone/card/ZoneCard.d.ts.map +1 -1
- package/dist/zone/card/ZoneCard.js +1 -1
- package/dist/zone/form/ZoneForm.d.ts +3 -3
- package/dist/zone/form/ZoneForm.d.ts.map +1 -1
- package/dist/zone/form/ZoneForm.js +1 -1
- package/dist/zone/form/components/AvailableTimesControl.d.ts +1 -1
- package/dist/zone/form/components/AvailableTimesControl.d.ts.map +1 -1
- package/dist/zone/form/components/DescriptionControl.js +1 -1
- package/dist/zone/form/components/GameDurationControl.js +1 -1
- package/dist/zone/form/components/NameControl.js +1 -1
- package/dist/zone/form/components/SortControl.js +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.js +3 -3
- package/dist/zone/form/components/ZoneRecurrenceControl.d.ts +1 -1
- package/dist/zone/form/components/ZoneRecurrenceControl.d.ts.map +1 -1
- package/dist/zone/form/components/ZoneRecurrencesControl.d.ts +2 -2
- package/dist/zone/form/components/ZoneRecurrencesControl.d.ts.map +1 -1
- package/dist/zone/form/components/ZoneTypeControl.js +2 -2
- package/dist/zone/form/utils/dates.d.ts +1 -1
- package/dist/zone/form/utils/dates.d.ts.map +1 -1
- package/dist/zone/form/utils/dates.js +2 -2
- package/package.json +7 -11
- package/rollup.config.js +94 -0
- package/src/affiliate/card/AffiliateCard.tsx +1 -1
- package/src/affiliate/form/AffiliateControl.tsx +1 -1
- package/src/affiliate/form/AffiliateForm.tsx +1 -1
- package/src/auth/AccessDenied/AccessDenied.tsx +2 -2
- package/src/auth/Auth.stories.tsx +3 -3
- package/src/auth/Authorizer.tsx +5 -5
- package/src/auth/ChangePassword/ChangePasswordComponent.tsx +7 -7
- package/src/auth/ChangePassword/ChangePasswordFormComponent.tsx +3 -3
- package/src/auth/Layout/Layout.stories.tsx +1 -1
- package/src/auth/Layout/UserNavComponent.tsx +1 -1
- package/src/auth/Layout/UserNavDropDown.tsx +2 -2
- package/src/auth/Layout/UserNavDropDownToggle.tsx +1 -1
- package/src/auth/Login/LoginComponent.tsx +10 -10
- package/src/auth/Login/LoginFormComponent.tsx +4 -4
- package/src/auth/Logout/Logout.stories.tsx +3 -3
- package/src/auth/Logout/Logout.tsx +2 -2
- package/src/auth/Register/BirthDateFormComponent.tsx +4 -4
- package/src/auth/Register/RegisterComponent.tsx +11 -11
- package/src/auth/Register/RegisterFormComponent.tsx +9 -9
- package/src/auth/ResetPassword/ResetPasswordComponent.tsx +7 -7
- package/src/auth/ResetPassword/ResetPasswordFormComponent.tsx +3 -3
- package/src/auth/Router.tsx +2 -2
- package/src/auth/Social/SocialCallbackComponent.tsx +10 -10
- package/src/auth/Social/SocialFormComponent.tsx +5 -5
- package/src/availability-indicator/AvailabilityIndicator.tsx +1 -1
- package/src/custom-fields/CustomFields.stories.tsx +1 -1
- package/src/custom-fields/constants.ts +1 -1
- package/src/custom-fields/field-set/CustomFieldSets.tsx +4 -5
- package/src/custom-fields/field-set/components/CustomFieldSet/CustomFieldSet.tsx +5 -5
- package/src/custom-fields/forms/DropdownForm.tsx +4 -4
- package/src/custom-fields/forms/TextInputForm.tsx +3 -3
- package/src/date-time-button/DateContent.tsx +2 -2
- package/src/date-time-button/DateTimeButton.tsx +1 -1
- package/src/events/edit-event-modal/IntervalInput.tsx +1 -1
- package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.stories.tsx +3 -3
- package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx +9 -9
- package/src/events/edit-event-modal/component/ProductSetShortForm/ProductSetShortForm.tsx +3 -3
- package/src/events/edit-event-modal/component/SaleDeadline/SaleDeadline.tsx +1 -1
- package/src/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.tsx +2 -2
- package/src/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.tsx +1 -1
- package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +1 -1
- package/src/events/edit-event-modal/utils/isUrlValid.ts +1 -1
- package/src/events/event-card/EventCard.tsx +3 -3
- package/src/events/event-card/utils.ts +2 -2
- package/src/events/event-statistic-modal/EventStatisticModal.tsx +2 -2
- package/src/events/event-statistic-modal/hooks/useTableData.tsx +3 -3
- package/src/events/event-statistic-modal/utils/index.ts +2 -2
- package/src/events/event-venue-map/EventVenueMap.stories.tsx +1 -1
- package/src/events/event-venue-map/EventVenueMap.tsx +5 -5
- package/src/events/event-venue-map/components/Dropdown/Dropdown.tsx +2 -2
- package/src/events/event-venue-map/components/Dropdown/components/ProductsControl/ProductsControl.tsx +1 -1
- package/src/events/event-venue-map/components/Dropdown/components/SelectControl/SelectControl.tsx +2 -2
- package/src/events/event-venue-map/components/MapPoint/MapPoint.tsx +3 -3
- package/src/events/event-venue-map/components/Scrollbars/Scrollbars.tsx +2 -2
- package/src/events/event-venue-map/components/VenueMap/VenueMap.tsx +2 -2
- package/src/events/event-venue-map/hooks/useCanvasSize.ts +1 -1
- package/src/events/event-venue-map/hooks/useDrag.ts +1 -1
- package/src/events/event-venue-map/hooks/useStageActions.ts +1 -1
- package/src/events/event-venue-map/hooks/useZoom.ts +1 -1
- package/src/events/event-venue-map/utils/index.ts +1 -1
- package/src/file-upload/FilePreview.tsx +3 -3
- package/src/file-upload/FileUpload.tsx +4 -4
- package/src/header/elements/CompanySelector.tsx +0 -1
- package/src/help/example/Example.tsx +10 -13
- package/src/help/popover/HelpPopover.tsx +0 -1
- package/src/iframe/custom-fields/components/CustomDateField.stories.tsx +1 -1
- package/src/iframe/custom-fields/components/CustomDateField.tsx +2 -2
- package/src/iframe/event/event-booking-products/EventBookingProducts.tsx +2 -2
- package/src/iframe/event/event-booking-products/components/AccordionItem/AccordionItem.tsx +4 -4
- package/src/iframe/event/event-booking-view/EventBookingView.tsx +0 -2
- package/src/iframe/event/event-card/IframeEventCard.tsx +1 -2
- package/src/iframe/event/event-card/IframeEventCardSkeleton.tsx +1 -2
- package/src/iframe/event/event-description/EventDescription.stories.tsx +1 -1
- package/src/iframe/event/event-description/EventDescription.tsx +2 -2
- package/src/iframe/event/event-navigation-footer/EventNavigationFooter.tsx +1 -1
- package/src/iframe/event/event-product-sets/EventProductSets.stories.tsx +1 -1
- package/src/iframe/event/event-product-sets/EventProductSets.tsx +1 -1
- package/src/iframe/event/event-product-sets/components/EventProductSet.tsx +1 -1
- package/src/iframe/event/event-step-venue-map-zones/EventStepVenueMapZones.tsx +1 -1
- package/src/iframe/event/event-step-venue-map-zones/components/EventStepVenueMapZone.tsx +1 -1
- package/src/iframe/event/event-venue-map/IframeEventVenueMap.tsx +1 -1
- package/src/iframe/event/ticket-description/TicketDescription.stories.tsx +1 -1
- package/src/iframe/event/ticket-description/TicketDescription.tsx +2 -2
- package/src/iframe/order-process/components/BookingSummary/BookingSummary.tsx +1 -1
- package/src/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.tsx +1 -1
- package/src/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.tsx +2 -2
- package/src/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.tsx +3 -3
- package/src/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.tsx +1 -1
- package/src/iframe/order-process/components/BookingSummary/types/index.ts +3 -3
- package/src/iframe/order-process/components/BookingSummary/utils/index.ts +2 -2
- package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.stories.tsx +1 -1
- package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.tsx +7 -7
- package/src/iframe/order-process/components/CalendarStepsForm/components/Category.tsx +3 -3
- package/src/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.tsx +3 -3
- package/src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx +4 -4
- package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +2 -2
- package/src/iframe/order-process/components/PaymentCard/PaymentCard.tsx +3 -3
- package/src/iframe/order-process/components/utils/useCategoryVerification.ts +3 -3
- package/src/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.tsx +1 -1
- package/src/iframe/page/components/PageBody/components/RightBlock/RightBlock.tsx +1 -1
- package/src/iframe/page/components/PageBody/hooks/useResizePageBody.ts +1 -1
- package/src/iframe/payment/order-items-table/OrderItemsTable.stories.tsx +1 -1
- package/src/iframe/payment/order-items-table/hooks/useTableData.tsx +2 -2
- package/src/iframe/payment/order-items-table/types/index.ts +2 -2
- package/src/iframe/payment/order-items-table/utils/index.ts +4 -4
- package/src/iframe/payment/payment-page/PaymentPage.tsx +2 -2
- package/src/iframe/payment/payment-page/PaymentTimer.tsx +2 -2
- package/src/iframe/ryft/RyftPaymentForm.tsx +2 -2
- package/src/layout/DropDown.tsx +2 -3
- package/src/layout/DropDownToggle.tsx +2 -3
- package/src/modals/dialog/Dialog.tsx +0 -1
- package/src/notification/components/NotificationPlaceholders.tsx +1 -1
- package/src/notification/email-template/card/EmailTemplateCard.tsx +2 -2
- package/src/notification/email-template/control/EmailTemplateControl.tsx +6 -6
- package/src/notification/email-template/form/EmailTemplateForm.tsx +12 -12
- package/src/notification/send-email-template/SendEmailTemplateForm.tsx +4 -4
- package/src/notification/sms-template/card/SmsTemplateCard.tsx +2 -2
- package/src/notification/sms-template/control/SmsTemplateControl.tsx +2 -2
- package/src/notification/sms-template/form/SmsTemplateForm.tsx +6 -6
- package/src/product-set/card/ProductSetCard.tsx +2 -2
- package/src/product-set/control/DateAndRecurrenceInput.tsx +3 -3
- package/src/product-set/control/DateInput.tsx +3 -3
- package/src/product-set/control/ProductSetControl.stories.tsx +1 -1
- package/src/product-set/control/ProductSetControl.tsx +7 -7
- package/src/product-set/control/ProductSetRecurrenceControl.tsx +1 -1
- package/src/product-set/control/ProductSetRecurrenceOverridesControl.tsx +1 -1
- package/src/product-set/form/ProductCategoriesControl.tsx +2 -2
- package/src/product-set/form/ProductSetForm.stories.tsx +3 -3
- package/src/product-set/form/ProductSetForm.tsx +7 -7
- package/src/product-set/form/ProductsControl.tsx +5 -5
- package/src/product-set/form/SelectCategoryModal.tsx +1 -1
- package/src/product-set/form/StepsControl.tsx +1 -1
- package/src/product-set/form/SubProductsControl.tsx +1 -1
- package/src/product-set/form/VenueMapSetModal.tsx +4 -4
- package/src/product-set/form/VenueMapsControl.tsx +3 -3
- package/src/product-set/form/context.tsx +3 -3
- package/src/product-set/product/ProductControl.tsx +6 -6
- package/src/product-set/product/booking-management/ProductBookingManagementControl.tsx +2 -2
- package/src/product-set/product/deposit/ProductDepositControl.tsx +2 -2
- package/src/product-set/product/duration/ProductDurationControl.tsx +2 -2
- package/src/product-set/product/fixed-duration-fields/FixedDurationOptions.tsx +1 -1
- package/src/product-set/product/price/ProductPriceControl.tsx +2 -2
- package/src/product-set/product/quantity/ProductQuantityConstantControl.tsx +2 -3
- package/src/product-set/product/quantity/ProductQuantityControl.tsx +2 -3
- package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +2 -3
- package/src/product-set/product-category/ProductCategory.stories.tsx +1 -1
- package/src/product-set/product-category/ProductCategoryControl.tsx +4 -4
- package/src/product-set/step/StepControl.tsx +3 -3
- package/src/product-set/utils/index.ts +2 -2
- package/src/provider/company/user-form/UserForm.tsx +4 -4
- package/src/provider/provider-details-input/ProviderDetailsInput.tsx +1 -1
- package/src/provider/provider-form/ProviderForm.tsx +3 -3
- package/src/provider/venue-form/VenueForm.tsx +4 -4
- package/src/recurrence-input/RecurrenceEndInput.tsx +1 -1
- package/src/recurring-date-picker-input/DatePickerInput.tsx +1 -1
- package/src/recurring-date-picker-input/RecurrenceIntervalAndFrequencyInput.tsx +2 -2
- package/src/recurring-date-picker-input/RecurringDatePickerInput.stories.tsx +1 -1
- package/src/recurring-date-picker-input/RecurringDatePickerInput.tsx +3 -3
- package/src/recurring-date-picker-input/utils.ts +3 -3
- package/src/report/ReportRunnerModal/ReportRunnerModal.tsx +4 -4
- package/src/report/ReportTypeSelect/ReportTypeSelect.tsx +1 -1
- package/src/report/card/ReportCard.tsx +1 -1
- package/src/report/form/ReportForm.tsx +1 -1
- package/src/resource/card/ResourceCard.tsx +1 -1
- package/src/resource/form/ResourceForm.stories.tsx +1 -1
- package/src/resource/form/ResourceForm.tsx +4 -4
- package/src/resource/form/components/CapacityControl.tsx +2 -2
- package/src/resource/form/components/NameControl.tsx +2 -2
- package/src/resource/form/components/SortControl.tsx +2 -2
- package/src/resource/form/components/ZoneControl.tsx +3 -3
- package/src/sales/booking/results/BookingResults.stories.tsx +4 -4
- package/src/sales/booking/results/BookingResults.tsx +2 -2
- package/src/sales/booking/results/components/ResultCard.tsx +6 -6
- package/src/sales/constants.tsx +1 -1
- package/src/sales/coupon/control/CouponFormControl.tsx +3 -3
- package/src/sales/coupon/form/CouponFrom.tsx +4 -4
- package/src/sales/coupon/utils/index.ts +1 -1
- package/src/sales/guest-profile/previous-bookings/PreviousBookings.stories.tsx +4 -4
- package/src/sales/guest-profile/previous-bookings/PreviousBookings.tsx +1 -1
- package/src/sales/guest-profile/profile/Profile.stories.tsx +2 -2
- package/src/sales/guest-profile/profile/Profile.tsx +2 -2
- package/src/sales/guest-profile/user-metrics/UserMetrics.tsx +2 -2
- package/src/sales/guest-profile/visited-providers/VisitedProviders.tsx +2 -2
- package/src/sales/manual-booking/formatDays.ts +1 -1
- package/src/sales/manual-booking/search-user/SearchUser.tsx +4 -4
- package/src/sales/manual-booking/select-date-type-control/SelectDateTypeControl.stories.tsx +1 -1
- package/src/sales/manual-booking/select-date-type-control/SelectDateTypeControl.tsx +2 -2
- package/src/sales/manual-booking/select-event/SelectEvent.tsx +2 -2
- package/src/sales/manual-booking/select-menu/SelectMenu.stories.tsx +1 -1
- package/src/sales/manual-booking/select-menu/SelectMenu.tsx +1 -1
- package/src/sales/manual-booking/select-menu/components/MenuButton.tsx +1 -1
- package/src/sales/manual-booking/summary/ManualBookingSummary.tsx +5 -5
- package/src/sales/modals/payment-modal/PaymentModal.stories.tsx +2 -2
- package/src/sales/modals/payment-modal/PaymentModal.tsx +1 -1
- package/src/sales/modals/refund-modal/RefundModal.tsx +1 -1
- package/src/sales/notes/NotesTable.tsx +1 -1
- package/src/sales/notes/NotesTableRow.tsx +3 -3
- package/src/sales/notes/note-form/NoteForm.tsx +1 -1
- package/src/sales/payment-form/SalePaymentForm.stories.tsx +2 -2
- package/src/sales/payment-form/SalePaymentForm.tsx +3 -3
- package/src/sales/payment-form/types.ts +1 -1
- package/src/setting/admin/AdminSettingForm.tsx +3 -3
- package/src/setting/dashboard/DashboardSetting.stories.tsx +1 -1
- package/src/setting/dashboard/DashboardSettingForm.tsx +4 -4
- package/src/setting/dashboard/ProviderSettingForm.tsx +1 -1
- package/src/setting/dashboard/components/IpInput.tsx +2 -2
- package/src/setting/dashboard/snippet-templates/card/SnippetTemplateCard.tsx +1 -1
- package/src/setting/dashboard/snippets/card/SnippetCard.tsx +2 -2
- package/src/setting/system/SystemSettingForm.tsx +1 -1
- package/src/snippet/snippet-template/SnippetTemplate.tsx +2 -2
- package/src/snippet/snippet-template/context/snippetTemplate.tsx +1 -2
- package/src/snippet/snippet-template/context/snippetTemplateLoading.tsx +0 -1
- package/src/snippet/snippet-template/context/snippetTemplateView.tsx +0 -1
- package/src/snippet/snippet-template/control/PropertyControl.tsx +1 -1
- package/src/snippet/snippet-template/form/SnippetTemplateForm.tsx +5 -5
- package/src/snippet/snippet-template/preview/Preview.tsx +2 -2
- package/src/snippet/snippet-template/settings/SettingButton.tsx +0 -1
- package/src/snippet/snippet-template/utils/index.ts +1 -1
- package/src/sorting-select/SortingSelect.tsx +2 -2
- package/src/static/CurrencyNumberInput.tsx +0 -1
- package/src/static/FormCard.tsx +0 -1
- package/src/static/RestrictedAccess.tsx +1 -1
- package/src/static/date-range-input/utils/index.ts +1 -1
- package/src/static/form-number-input/FormNumberInput.tsx +1 -1
- package/src/static/loader/PaymentLoader.tsx +1 -1
- package/src/table/FilterHelperComponent.tsx +0 -1
- package/src/table/PaginationHelperComponent.tsx +2 -2
- package/src/table/PerPageHelperComponent.tsx +1 -2
- package/src/table/ReactTableHelperComponent.tsx +2 -2
- package/src/table/Table.stories.tsx +1 -1
- package/src/table/TableHelperComponent.tsx +6 -6
- package/src/table/hooks/useTableQueryOptions.ts +1 -1
- package/src/table/types.ts +3 -3
- package/src/table/utils/index.ts +2 -2
- package/src/tiptap-editor/TipTapEditor.tsx +0 -1
- package/src/tiptap-editor/TipTapMenu/components/TipTapMenuItem.tsx +0 -1
- package/src/typeahead-helper/TypeaheadHelperComponent.tsx +1 -2
- package/src/types/iframe.ts +1 -1
- package/src/venue-map-sets/card/VenueMapSetCard.tsx +2 -2
- package/src/venue-map-sets/form/components/NameControl.tsx +1 -1
- package/src/venue-map-sets/form/components/VenueMapImageControl.tsx +3 -3
- package/src/venue-map-sets/form/components/VenueMapModal.tsx +1 -1
- package/src/venue-map-sets/form/components/VenueMapsControl.tsx +1 -1
- package/src/venue-map-sets/form/types/index.ts +3 -3
- package/src/venue-map-sets/form/utils/index.ts +2 -2
- package/src/virtualized/components/VirtualizedWindowScroller.tsx +1 -1
- package/src/zone/card/ZoneCard.tsx +2 -2
- package/src/zone/form/ZoneForm.tsx +4 -4
- package/src/zone/form/components/AvailableTimesControl.tsx +1 -1
- package/src/zone/form/components/DescriptionControl.tsx +2 -2
- package/src/zone/form/components/GameDurationControl.tsx +2 -2
- package/src/zone/form/components/NameControl.tsx +2 -2
- package/src/zone/form/components/SortControl.tsx +2 -2
- package/src/zone/form/components/ZoneControl.tsx +1 -1
- package/src/zone/form/components/ZoneImageControl.tsx +3 -3
- package/src/zone/form/components/ZoneRecurrenceControl.tsx +1 -1
- package/src/zone/form/components/ZoneRecurrencesControl.tsx +2 -2
- package/src/zone/form/components/ZoneTypeControl.tsx +2 -2
- package/src/zone/form/utils/dates.ts +3 -3
- package/tsconfig.build.json +7 -0
- package/tsconfig.json +43 -0
- package/vite.config.ts +34 -0
- package/yarn.lock +20971 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Image,
|
|
3
3
|
IMAGE_TYPE_MAP,
|
|
4
|
-
} from "@licklist/core/
|
|
5
|
-
import { Attachment } from "@licklist/core/
|
|
6
|
-
import { AttachmentMetadata } from "@licklist/core/
|
|
4
|
+
} from "@licklist/core/dist/DataMapper/Media/ImageDataMapper";
|
|
5
|
+
import { Attachment } from "@licklist/core/dist/DataMapper/Notification/AttachmentDataMapper";
|
|
6
|
+
import { AttachmentMetadata } from "@licklist/core/dist/DataMapper/Notification/AttachmentMetadataDataMapper";
|
|
7
7
|
|
|
8
8
|
import { Icon, Image as ImageComponent } from "../static";
|
|
9
9
|
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* eslint-disable react-hooks/exhaustive-deps */
|
|
3
3
|
import { useEffect, useState } from "react";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
-
import useNotification from "@licklist/plugins/
|
|
6
|
-
import { Image } from "@licklist/core/
|
|
7
|
-
import { Attachment } from "@licklist/core/
|
|
8
|
-
import { AttachmentMetadata } from "@licklist/core/
|
|
5
|
+
import useNotification from "@licklist/plugins/dist/context/app/hooks/useNotification";
|
|
6
|
+
import { Image } from "@licklist/core/dist/DataMapper/Media/ImageDataMapper";
|
|
7
|
+
import { Attachment } from "@licklist/core/dist/DataMapper/Notification/AttachmentDataMapper";
|
|
8
|
+
import { AttachmentMetadata } from "@licklist/core/dist/DataMapper/Notification/AttachmentMetadataDataMapper";
|
|
9
9
|
import { useTranslation } from "react-i18next";
|
|
10
10
|
|
|
11
11
|
import { Form } from "react-bootstrap";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/* eslint-disable react-hooks/exhaustive-deps */
|
|
2
2
|
import { useId } from "@react-aria/utils";
|
|
3
|
-
import { useMemo } from "react";
|
|
4
|
-
import * as React from "react";
|
|
3
|
+
import { ReactElement, useEffect, useMemo, useRef, useState } from "react";
|
|
5
4
|
import Button from "react-bootstrap/Button";
|
|
6
5
|
import Collapse from "react-bootstrap/Collapse";
|
|
7
6
|
import Overlay from "react-bootstrap/Overlay";
|
|
@@ -10,7 +9,7 @@ import Tooltip from "react-bootstrap/Tooltip";
|
|
|
10
9
|
export type ExampleContentProps = {
|
|
11
10
|
id: string;
|
|
12
11
|
isActive: boolean;
|
|
13
|
-
children?:
|
|
12
|
+
children?: ReactElement | ReactElement[];
|
|
14
13
|
title?: string;
|
|
15
14
|
};
|
|
16
15
|
|
|
@@ -26,9 +25,7 @@ export type ExampleChildrenProps = {
|
|
|
26
25
|
};
|
|
27
26
|
|
|
28
27
|
export type ExampleProps = {
|
|
29
|
-
children?: (
|
|
30
|
-
props: ExampleChildrenProps,
|
|
31
|
-
) => React.ReactElement | React.ReactElement[];
|
|
28
|
+
children?: (props: ExampleChildrenProps) => ReactElement | ReactElement[];
|
|
32
29
|
};
|
|
33
30
|
|
|
34
31
|
export function ExampleContent({
|
|
@@ -37,14 +34,14 @@ export function ExampleContent({
|
|
|
37
34
|
title,
|
|
38
35
|
id,
|
|
39
36
|
}: ExampleContentProps) {
|
|
40
|
-
const preRef =
|
|
41
|
-
const copyRef =
|
|
37
|
+
const preRef = useRef<HTMLPreElement>(null);
|
|
38
|
+
const copyRef = useRef<HTMLButtonElement>(null);
|
|
42
39
|
const copyTooltipId = useId();
|
|
43
40
|
const copiedTooltipId = useId();
|
|
44
41
|
const [isCopyTooltipActive, setIsCopyTooltipActive] =
|
|
45
|
-
|
|
42
|
+
useState<boolean>(false);
|
|
46
43
|
const [isCopiedTooltipActive, setIsCopiedTooltipActive] =
|
|
47
|
-
|
|
44
|
+
useState<boolean>(false);
|
|
48
45
|
|
|
49
46
|
// get text content to copy to clipboard
|
|
50
47
|
const getTextToCopy = useMemo(() => {
|
|
@@ -78,7 +75,7 @@ export function ExampleContent({
|
|
|
78
75
|
|
|
79
76
|
// when copied tooltip is active:
|
|
80
77
|
// temporary show up copied tooltip and hide it after 3 seconds
|
|
81
|
-
|
|
78
|
+
useEffect(() => {
|
|
82
79
|
// return `undefined` is a proper way to stop this hook
|
|
83
80
|
if (!isCopiedTooltipActive) return undefined;
|
|
84
81
|
|
|
@@ -156,9 +153,9 @@ export function ExampleToggle({ id, isActive, onToggle }: ExampleToggleProps) {
|
|
|
156
153
|
);
|
|
157
154
|
}
|
|
158
155
|
|
|
159
|
-
export function Example({ children }: ExampleProps):
|
|
156
|
+
export function Example({ children }: ExampleProps): ReactElement {
|
|
160
157
|
const id = useId();
|
|
161
|
-
const [isActive, setIsActive] =
|
|
158
|
+
const [isActive, setIsActive] = useState<boolean>(false);
|
|
162
159
|
|
|
163
160
|
const onToggleHandler = () => {
|
|
164
161
|
setIsActive((prevIsActive) => !prevIsActive);
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { useId } from "@react-aria/utils";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
import * as React from "react";
|
|
4
3
|
import Button from "react-bootstrap/Button";
|
|
5
4
|
import OverlayTrigger from "react-bootstrap/OverlayTrigger";
|
|
6
5
|
import Popover from "react-bootstrap/Popover";
|
|
@@ -3,7 +3,7 @@ import { useForm, FormProvider } from "react-hook-form";
|
|
|
3
3
|
import { Form } from "react-bootstrap";
|
|
4
4
|
import { Meta, Story } from "@storybook/react";
|
|
5
5
|
import { boolean } from "@storybook/addon-knobs";
|
|
6
|
-
import { FormValues } from "@licklist/plugins/
|
|
6
|
+
import { FormValues } from "@licklist/plugins/dist/types/services/Form/hook-form-service";
|
|
7
7
|
|
|
8
8
|
import { CustomDateField } from "./CustomDateField";
|
|
9
9
|
|
|
@@ -2,8 +2,8 @@ import { useEffect } from "react";
|
|
|
2
2
|
import { Form, Row, Col } from "react-bootstrap";
|
|
3
3
|
import { useFormContext } from "react-hook-form";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
|
-
import { CustomField } from "@licklist/core/
|
|
6
|
-
import HookFormService from "@licklist/plugins/
|
|
5
|
+
import { CustomField } from "@licklist/core/dist/DataMapper/Order/CustomFieldDataMapper";
|
|
6
|
+
import HookFormService from "@licklist/plugins/dist/services/Form/HookFormService";
|
|
7
7
|
import { dateToSqlDate } from "../../../static/manual-date-picker/utils";
|
|
8
8
|
import { useManualDatePicker } from "../../../static/manual-date-picker/hooks/useManualDatePicker";
|
|
9
9
|
import { ManualDatePicker } from "../../../static/manual-date-picker";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Accordion from "react-bootstrap/Accordion";
|
|
2
|
-
import { OrderItems } from "@licklist/plugins/
|
|
3
|
-
import { ProductCategory } from "@licklist/plugins/
|
|
2
|
+
import { OrderItems } from "@licklist/plugins/dist/types/context/Iframe/orderItems";
|
|
3
|
+
import { ProductCategory } from "@licklist/plugins/dist/types/context/sale/menuSteps";
|
|
4
4
|
import { SetOrderFn } from "../../../types";
|
|
5
5
|
import { AccordionItem } from "./components/AccordionItem";
|
|
6
6
|
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
1
|
import clsx from "clsx";
|
|
3
2
|
import { useIntl } from "react-intl";
|
|
4
3
|
import Accordion from "react-bootstrap/Accordion";
|
|
@@ -8,11 +7,12 @@ import AccordionContext from "react-bootstrap/AccordionContext";
|
|
|
8
7
|
import {
|
|
9
8
|
OrderItem,
|
|
10
9
|
OrderItems,
|
|
11
|
-
} from "@licklist/plugins/
|
|
12
|
-
import { Product } from "@licklist/plugins/
|
|
10
|
+
} from "@licklist/plugins/dist/types/context/Iframe/orderItems";
|
|
11
|
+
import { Product } from "@licklist/plugins/dist/types/context/sale/menuSteps";
|
|
13
12
|
import { NumberInput } from "../../../../../static";
|
|
14
13
|
import Icon from "../../../../../static/Icon";
|
|
15
14
|
import { SetOrderFn } from "../../../../../types";
|
|
15
|
+
import { useContext } from "react";
|
|
16
16
|
|
|
17
17
|
interface CustomToggleProps {
|
|
18
18
|
eventKey: string;
|
|
@@ -31,7 +31,7 @@ function CustomToggle({
|
|
|
31
31
|
children,
|
|
32
32
|
eventKey,
|
|
33
33
|
}: React.PropsWithChildren<CustomToggleProps>) {
|
|
34
|
-
const currentEventKey =
|
|
34
|
+
const currentEventKey = useContext(AccordionContext);
|
|
35
35
|
|
|
36
36
|
const decoratedOnClick = useAccordionToggle(eventKey);
|
|
37
37
|
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
1
|
import { Card } from "react-bootstrap";
|
|
3
2
|
import { useTranslation } from "react-i18next";
|
|
4
3
|
import { useIntl } from "react-intl";
|
|
5
4
|
import clsx from "clsx";
|
|
6
|
-
import { Snippet } from "@licklist/core/
|
|
5
|
+
import { Snippet } from "@licklist/core/dist/DataMapper/Provider/SnippetDataMapper";
|
|
7
6
|
import { TipTapEditor } from "../../../tiptap-editor/TipTapEditor";
|
|
8
7
|
import { formatContent } from "../../../events/event-card/utils";
|
|
9
8
|
import { ReactComponent as ClockSvg } from "../../../assets/iframe/clock.svg";
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { memo } from "react";
|
|
2
|
-
import * as React from "react";
|
|
3
2
|
import { Card } from "react-bootstrap";
|
|
4
3
|
import clsx from "clsx";
|
|
5
4
|
import Skeleton from "react-loading-skeleton";
|
|
6
|
-
import { Snippet } from "@licklist/core/
|
|
5
|
+
import { Snippet } from "@licklist/core/dist/DataMapper/Provider/SnippetDataMapper";
|
|
7
6
|
|
|
8
7
|
interface IframeEventCardSkeletonProps {
|
|
9
8
|
showImage?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Meta } from "@storybook/react";
|
|
2
2
|
import { boolean } from "@storybook/addon-knobs";
|
|
3
|
-
import { Image } from "@licklist/core/
|
|
3
|
+
import { Image } from "@licklist/core/dist/DataMapper/Media/ImageDataMapper";
|
|
4
4
|
import { EventDescription } from "./EventDescription";
|
|
5
5
|
|
|
6
6
|
export default {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { CSSProperties, useState } from "react";
|
|
2
2
|
import { useTranslation } from "react-i18next";
|
|
3
3
|
import clsx from "clsx";
|
|
4
|
-
import { Image as ImageType } from "@licklist/core/
|
|
5
|
-
import MediaService from "@licklist/plugins/
|
|
4
|
+
import { Image as ImageType } from "@licklist/core/dist/DataMapper/Media/ImageDataMapper";
|
|
5
|
+
import MediaService from "@licklist/plugins/dist/services/Media/MediaService";
|
|
6
6
|
import { TextExpand } from "../../../static";
|
|
7
7
|
import { TipTapEditor } from "../../../tiptap-editor/TipTapEditor";
|
|
8
8
|
import { NavigationFooter } from "../../order-process/components/NavigationFooter";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useTranslation } from "react-i18next";
|
|
2
2
|
import Button from "react-bootstrap/Button";
|
|
3
|
-
import RouteService from "@licklist/plugins/
|
|
3
|
+
import RouteService from "@licklist/plugins/dist/services/Route/RouteService";
|
|
4
4
|
import Icon from "../../../static/Icon";
|
|
5
5
|
|
|
6
6
|
interface PaginationDotsProps {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useState } from "react";
|
|
2
2
|
import { Meta } from "@storybook/react";
|
|
3
3
|
import { EventProductSets } from "./EventProductSets";
|
|
4
|
-
import { ProductSet } from "@licklist/core/
|
|
4
|
+
import { ProductSet } from "@licklist/core/dist/DataMapper/Product/ProductSetDataMapper";
|
|
5
5
|
|
|
6
6
|
export default {
|
|
7
7
|
title: "Iframe/Event/Event Product Sets",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ProductSet } from "@licklist/core/
|
|
1
|
+
import { ProductSet } from "@licklist/core/dist/DataMapper/Product/ProductSetDataMapper";
|
|
2
2
|
import { EventProductSet } from "./components/EventProductSet";
|
|
3
3
|
|
|
4
4
|
export type EventProductSetsProps = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import clsx from "clsx";
|
|
2
|
-
import { ProductSet } from "@licklist/core/
|
|
2
|
+
import { ProductSet } from "@licklist/core/dist/DataMapper/Product/ProductSetDataMapper";
|
|
3
3
|
|
|
4
4
|
export type EventProductSetProps = {
|
|
5
5
|
productSet: ProductSet;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Fragment } from "react";
|
|
2
|
-
import { VenueMap } from "@licklist/core/
|
|
2
|
+
import { VenueMap } from "@licklist/core/dist/DataMapper/Product/VenueMapDataMapper";
|
|
3
3
|
import { EventStepVenueMapZone } from "./components/EventStepVenueMapZone";
|
|
4
4
|
|
|
5
5
|
export type EventStepVenueMapZonesProps = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Meta, Story } from "@storybook/react";
|
|
2
|
-
import { Image } from "@licklist/core/
|
|
2
|
+
import { Image } from "@licklist/core/dist/DataMapper/Media/ImageDataMapper";
|
|
3
3
|
import { TicketDescription } from "./TicketDescription";
|
|
4
4
|
|
|
5
5
|
export default {
|
|
@@ -3,8 +3,8 @@ import clsx from "clsx";
|
|
|
3
3
|
import {
|
|
4
4
|
Image,
|
|
5
5
|
THUMBNAIL_IMAGE_SIZE,
|
|
6
|
-
} from "@licklist/core/
|
|
7
|
-
import MediaService from "@licklist/plugins/
|
|
6
|
+
} from "@licklist/core/dist/DataMapper/Media/ImageDataMapper";
|
|
7
|
+
import MediaService from "@licklist/plugins/dist/services/Media/MediaService";
|
|
8
8
|
import { TextExpand } from "../../../static/text-expand";
|
|
9
9
|
import { TipTapEditor } from "../../../tiptap-editor/TipTapEditor";
|
|
10
10
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useTranslation } from "react-i18next";
|
|
2
2
|
import { useIntl } from "react-intl";
|
|
3
|
-
import * as Config from "@licklist/core/
|
|
3
|
+
import * as Config from "@licklist/core/dist/Config";
|
|
4
4
|
import { values } from "lodash";
|
|
5
5
|
import { LoaderIndicator } from "../../../../static";
|
|
6
6
|
import { ProductsByMenuStep } from "./components/ProductsByMenuStep";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
ReactElement,
|
|
7
7
|
} from "react";
|
|
8
8
|
import { Accordion } from "react-bootstrap";
|
|
9
|
-
import { useWindowDimensions } from "@licklist/plugins/
|
|
9
|
+
import { useWindowDimensions } from "@licklist/plugins/dist/hooks/Media/useWindowDimensions";
|
|
10
10
|
import { ToggleHeader } from "../ToggleHeader";
|
|
11
11
|
import { MOBILE_WIDTH, ACCORDION_KEY } from "../../types";
|
|
12
12
|
import {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useTranslation } from "react-i18next";
|
|
2
2
|
import { useIntl } from "react-intl";
|
|
3
|
-
import * as Config from "@licklist/core/
|
|
4
|
-
import { OrderItem } from "@licklist/plugins/
|
|
3
|
+
import * as Config from "@licklist/core/dist/Config";
|
|
4
|
+
import { OrderItem } from "@licklist/plugins/dist/types/context/Iframe/orderItems";
|
|
5
5
|
|
|
6
6
|
type ProductSummaryProps = {
|
|
7
7
|
name?: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { QuantityCheckProductInfo } from "@licklist/plugins/
|
|
1
|
+
import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
|
|
2
2
|
import {
|
|
3
3
|
OrderItem,
|
|
4
4
|
OrderItems,
|
|
5
|
-
} from "@licklist/plugins/
|
|
6
|
-
import { MenuStep } from "@licklist/plugins/
|
|
5
|
+
} from "@licklist/plugins/dist/types/context/Iframe/orderItems";
|
|
6
|
+
import { MenuStep } from "@licklist/plugins/dist/types/context/sale/menuSteps";
|
|
7
7
|
import { values } from "lodash";
|
|
8
8
|
import { ProductSummary } from "../ProductSummary";
|
|
9
9
|
import { getProductError } from "../../utils";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { QuantityCheckProductInfo } from "@licklist/plugins/
|
|
2
|
-
import { OrderItems } from "@licklist/plugins/
|
|
3
|
-
import { MenuStep } from "@licklist/plugins/
|
|
1
|
+
import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
|
|
2
|
+
import { OrderItems } from "@licklist/plugins/dist/types/context/Iframe/orderItems";
|
|
3
|
+
import { MenuStep } from "@licklist/plugins/dist/types/context/sale/menuSteps";
|
|
4
4
|
import { ReactElement } from "react";
|
|
5
5
|
|
|
6
6
|
export const MOBILE_WIDTH = 576;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { QuantityCheckProductInfo } from "@licklist/plugins/
|
|
2
|
-
import { OrderItem } from "@licklist/plugins/
|
|
1
|
+
import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
|
|
2
|
+
import { OrderItem } from "@licklist/plugins/dist/types/context/Iframe/orderItems";
|
|
3
3
|
|
|
4
4
|
export const cartSumByOrderProducts = (orderProducts?: OrderItem[]) => {
|
|
5
5
|
if (!orderProducts || !orderProducts.length) {
|
|
@@ -169,7 +169,7 @@ const OrderProcessContext = createContext<{
|
|
|
169
169
|
|
|
170
170
|
const OrderProcessContextProvider: React.FC = ({ children }) => {
|
|
171
171
|
const [orderFormValues, setOrderFormValues] = useState<Record<string, any>>(
|
|
172
|
-
{}
|
|
172
|
+
{},
|
|
173
173
|
);
|
|
174
174
|
const [formValues, setFormValues] = useState<Record<string, any>>({});
|
|
175
175
|
|
|
@@ -10,17 +10,17 @@ import {
|
|
|
10
10
|
import { useWatch, useForm, FormProvider } from "react-hook-form";
|
|
11
11
|
import { isEqual } from "lodash";
|
|
12
12
|
import { Form } from "react-bootstrap";
|
|
13
|
-
import { scrollToError } from "@licklist/plugins/
|
|
14
|
-
import { usePreviousValue } from "@licklist/plugins/
|
|
13
|
+
import { scrollToError } from "@licklist/plugins/dist/utils/ScrollUtils";
|
|
14
|
+
import { usePreviousValue } from "@licklist/plugins/dist/hooks/Value/usePreviousValue";
|
|
15
15
|
import {
|
|
16
16
|
getFirstErrorKey,
|
|
17
17
|
isFormValuesEmpty,
|
|
18
|
-
} from "@licklist/plugins/
|
|
19
|
-
import { Step } from "@licklist/core/
|
|
18
|
+
} from "@licklist/plugins/dist/utils/FormValues";
|
|
19
|
+
import { Step } from "@licklist/core/dist/DataMapper/Product/StepDataMapper";
|
|
20
20
|
import { useTranslation } from "react-i18next";
|
|
21
|
-
import { Product } from "@licklist/core/
|
|
22
|
-
import { QuantityCheckProductInfo } from "@licklist/plugins/
|
|
23
|
-
import { MenuStep } from "@licklist/plugins/
|
|
21
|
+
import { Product } from "@licklist/core/dist/DataMapper/Product/ProductDataMapper";
|
|
22
|
+
import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
|
|
23
|
+
import { MenuStep } from "@licklist/plugins/dist/types/context/sale/menuSteps";
|
|
24
24
|
import { Category } from "./components/Category";
|
|
25
25
|
import { MIN_SPEND_ERROR, STEP_FORM_ID } from "../../constants";
|
|
26
26
|
import { ErrorModal } from "../ErrorModal/ErrorModal";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PointProduct } from "@licklist/core/
|
|
2
|
-
import { QuantityCheckProductInfo } from "@licklist/plugins/
|
|
3
|
-
import { ProductCategory } from "@licklist/plugins/
|
|
1
|
+
import { PointProduct } from "@licklist/core/dist/DataMapper/Product/PointProductDataMapper";
|
|
2
|
+
import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
|
|
3
|
+
import { ProductCategory } from "@licklist/plugins/dist/types/context/sale/menuSteps";
|
|
4
4
|
import { CategoryProductModal } from "./CategoryProductModal";
|
|
5
5
|
|
|
6
6
|
export type CategoryProps = {
|
package/src/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.tsx
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { useMemo } from "react";
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { Button } from "react-bootstrap";
|
|
4
|
-
import { PointProduct } from "@licklist/core/
|
|
5
|
-
import { QuantityCheckProductInfo } from "@licklist/plugins/
|
|
4
|
+
import { PointProduct } from "@licklist/core/dist/DataMapper/Product/PointProductDataMapper";
|
|
5
|
+
import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
|
|
6
6
|
import {
|
|
7
7
|
Product,
|
|
8
8
|
ProductCategory,
|
|
9
|
-
} from "@licklist/plugins/
|
|
9
|
+
} from "@licklist/plugins/dist/types/context/sale/menuSteps";
|
|
10
10
|
import { CategoryProduct } from "../../CategoryProduct";
|
|
11
11
|
import Icon from "../../../../../static/Icon";
|
|
12
12
|
|
|
@@ -3,13 +3,13 @@ import { useFormContext, Controller } from "react-hook-form";
|
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
5
|
import { useIntl } from "react-intl";
|
|
6
|
-
import * as Config from "@licklist/core/
|
|
7
|
-
import HookFormService from "@licklist/plugins/
|
|
8
|
-
import { QuantityCheckProductInfo } from "@licklist/plugins/
|
|
6
|
+
import * as Config from "@licklist/core/dist/Config";
|
|
7
|
+
import HookFormService from "@licklist/plugins/dist/services/Form/HookFormService";
|
|
8
|
+
import { QuantityCheckProductInfo } from "@licklist/plugins/dist/types/Api/verifyStock";
|
|
9
9
|
import {
|
|
10
10
|
Product,
|
|
11
11
|
ProductCategory,
|
|
12
|
-
} from "@licklist/plugins/
|
|
12
|
+
} from "@licklist/plugins/dist/types/context/sale/menuSteps";
|
|
13
13
|
import { TicketDescription } from "../../../event/ticket-description";
|
|
14
14
|
import { ProductQuantityInput } from "./components/ProductQuantityInput";
|
|
15
15
|
|
|
@@ -2,11 +2,11 @@ import clsx from "clsx";
|
|
|
2
2
|
import { Button } from "react-bootstrap";
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
4
|
import { FieldValues, RefCallBack, UseFormClearErrors } from "react-hook-form";
|
|
5
|
-
import { Zone } from "@licklist/core/
|
|
5
|
+
import { Zone } from "@licklist/core/dist/DataMapper/Provider/ZoneDataMapper";
|
|
6
6
|
import {
|
|
7
7
|
Product,
|
|
8
8
|
ProductCategory,
|
|
9
|
-
} from "@licklist/plugins/
|
|
9
|
+
} from "@licklist/plugins/dist/types/context/sale/menuSteps";
|
|
10
10
|
import { NumberInput } from "../NumberInput";
|
|
11
11
|
|
|
12
12
|
interface FormOrderItem {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { FC, ReactNode } from "react";
|
|
2
2
|
import { useTranslation } from "react-i18next";
|
|
3
3
|
import { useIntl } from "react-intl";
|
|
4
|
-
import * as Config from "@licklist/core/
|
|
5
|
-
import { Order } from "@licklist/core/
|
|
6
|
-
import { PaymentDetail } from "@licklist/core/
|
|
4
|
+
import * as Config from "@licklist/core/dist/Config";
|
|
5
|
+
import { Order } from "@licklist/core/dist/DataMapper/Order/OrderDataMapper";
|
|
6
|
+
import { PaymentDetail } from "@licklist/core/dist/DataMapper/Order/PaymentDetailDataMapper";
|
|
7
7
|
import { Icon } from "../../../../static";
|
|
8
8
|
|
|
9
9
|
export type PaymentCardProps = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Currency } from "@licklist/core/
|
|
1
|
+
import { Currency } from "@licklist/core/dist/Config";
|
|
2
2
|
import { useIntl } from "react-intl";
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
|
-
import { OrderItems } from "@licklist/plugins/
|
|
5
|
-
import { ProductCategory } from "@licklist/plugins/
|
|
4
|
+
import { OrderItems } from "@licklist/plugins/dist/types/context/Iframe/orderItems";
|
|
5
|
+
import { ProductCategory } from "@licklist/plugins/dist/types/context/sale/menuSteps";
|
|
6
6
|
|
|
7
7
|
interface CategoryError {
|
|
8
8
|
message: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropsWithChildren, HTMLAttributes, ReactNode } from "react";
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import { PageContextProvider } from "@licklist/plugins/
|
|
3
|
+
import { PageContextProvider } from "@licklist/plugins/dist/context/page/PageContext";
|
|
4
4
|
import { PAGE_LEFT_BLOCK_CONTAINER_ID } from "../../constants";
|
|
5
5
|
import { useResizePageBody } from "../../hooks/useResizePageBody";
|
|
6
6
|
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
useEffect,
|
|
7
7
|
} from "react";
|
|
8
8
|
import clsx from "clsx";
|
|
9
|
-
import { useWindowDimensions } from "@licklist/plugins/
|
|
9
|
+
import { useWindowDimensions } from "@licklist/plugins/dist/hooks/Media/useWindowDimensions";
|
|
10
10
|
import {
|
|
11
11
|
TAB_WIDTH,
|
|
12
12
|
RIGHT_BLOCK_RESIZED_EVENT,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useEffect, useMemo, useState, useRef } from "react";
|
|
2
|
-
import { useWindowDimensions } from "@licklist/plugins/
|
|
2
|
+
import { useWindowDimensions } from "@licklist/plugins/dist/hooks/Media/useWindowDimensions";
|
|
3
3
|
import {
|
|
4
4
|
TAB_WIDTH,
|
|
5
5
|
STANDARD_BODY_PADDING,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Meta } from "@storybook/react";
|
|
2
2
|
import { boolean } from "@storybook/addon-knobs";
|
|
3
|
-
import { ORDER_FEE_CHARGE_TYPE_CLIENT } from "@licklist/core/
|
|
3
|
+
import { ORDER_FEE_CHARGE_TYPE_CLIENT } from "@licklist/core/dist/DataMapper/Order/OrderDataMapper";
|
|
4
4
|
import { OrderItemsTable } from "./OrderItemsTable";
|
|
5
5
|
|
|
6
6
|
export default {
|
|
@@ -2,12 +2,12 @@ import { useMemo } from "react";
|
|
|
2
2
|
import { uniqueId } from "lodash";
|
|
3
3
|
import { useIntl } from "react-intl";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
|
-
import { Product } from "@licklist/core/
|
|
5
|
+
import { Product } from "@licklist/core/dist/DataMapper/Product/ProductDataMapper";
|
|
6
6
|
import {
|
|
7
7
|
PAYMENT_TYPE_VAT,
|
|
8
8
|
PAYMENT_TYPE_FEE,
|
|
9
9
|
PAYMENT_TYPE_NET_PROFIT,
|
|
10
|
-
} from "@licklist/core/
|
|
10
|
+
} from "@licklist/core/dist/DataMapper/Order/PaymentDataMapper";
|
|
11
11
|
import { StaticTableData } from "../../../../table";
|
|
12
12
|
import { getProductQuantityAndPrice, getTotalSumByCategory } from "../utils";
|
|
13
13
|
import { OrderItemsTableProps, SummaryItem } from "../types";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Order } from "@licklist/core/
|
|
2
|
-
import { PaymentDetail } from "@licklist/core/
|
|
1
|
+
import { Order } from "@licklist/core/dist/DataMapper/Order/OrderDataMapper";
|
|
2
|
+
import { PaymentDetail } from "@licklist/core/dist/DataMapper/Order/PaymentDetailDataMapper";
|
|
3
3
|
|
|
4
4
|
export const AMOUNT_TOTAL = "amountTotal";
|
|
5
5
|
export const AMOUNT_WITH_DISCOUNT = "amountWithDiscount";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Order,
|
|
3
3
|
ORDER_FEE_CHARGE_TYPE_CLIENT,
|
|
4
|
-
} from "@licklist/core/
|
|
5
|
-
import { Product } from "@licklist/core/
|
|
6
|
-
import { PAYMENT_TYPE_DISCOUNT } from "@licklist/core/
|
|
7
|
-
import { PaymentDetail } from "@licklist/core/
|
|
4
|
+
} from "@licklist/core/dist/DataMapper/Order/OrderDataMapper";
|
|
5
|
+
import { Product } from "@licklist/core/dist/DataMapper/Product/ProductDataMapper";
|
|
6
|
+
import { PAYMENT_TYPE_DISCOUNT } from "@licklist/core/dist/DataMapper/Order/PaymentDataMapper";
|
|
7
|
+
import { PaymentDetail } from "@licklist/core/dist/DataMapper/Order/PaymentDetailDataMapper";
|
|
8
8
|
import { PAYMENT_TYPE_TRANSLATE_KEYS } from "../hooks/useTableData";
|
|
9
9
|
|
|
10
10
|
const TRANSLATE_KEYS = {
|
|
@@ -2,8 +2,8 @@ import { useContext, useEffect } from "react";
|
|
|
2
2
|
import { useLocation } from "react-router-dom";
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
4
|
import { Button, Col } from "react-bootstrap";
|
|
5
|
-
import { PaymentSessionContext } from "@licklist/plugins/
|
|
6
|
-
import { PaymentLinkResponse } from "@licklist/plugins/
|
|
5
|
+
import { PaymentSessionContext } from "@licklist/plugins/dist/context/payment/PaymentSessionContext";
|
|
6
|
+
import { PaymentLinkResponse } from "@licklist/plugins/dist/hooks/Api/usePaymentApi";
|
|
7
7
|
import { BookingSummaryProps } from "src/iframe/order-process/components/BookingSummary/types";
|
|
8
8
|
// eslint-disable-next-line max-len
|
|
9
9
|
import { SummaryTotalBlock } from "../../order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock";
|