@licklist/design 0.66.7-dev.6 → 0.66.7-dev.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.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 -4
- 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/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-card/IframeEventCard.d.ts +1 -1
- package/dist/iframe/event/event-card/IframeEventCard.d.ts.map +1 -1
- package/dist/iframe/event/event-card/IframeEventCardSkeleton.d.ts +1 -1
- 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/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/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/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 -1
- 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 -1
- 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 -1
- package/dist/product-set/product/quantity/ProductQuantityRechargingControl.d.ts.map +1 -1
- package/dist/product-set/product/quantity/ProductQuantityRechargingControl.js +1 -1
- package/dist/product-set/product-category/ProductCategoryControl.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 +1 -1
- 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/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/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/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/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.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/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 -4
- 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/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 +2 -2
- package/src/iframe/event/event-card/IframeEventCard.tsx +1 -1
- package/src/iframe/event/event-card/IframeEventCardSkeleton.tsx +1 -1
- 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.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/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 -2
- package/src/product-set/product/quantity/ProductQuantityControl.tsx +2 -2
- package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +2 -2
- 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 -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/utils/index.ts +1 -1
- package/src/sorting-select/SortingSelect.tsx +2 -2
- 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/PaginationHelperComponent.tsx +2 -2
- package/src/table/PerPageHelperComponent.tsx +1 -1
- 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/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,10 +1,10 @@
|
|
|
1
1
|
import { useEffect } from "react";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import HookFormService from "@licklist/plugins/
|
|
3
|
+
import HookFormService from "@licklist/plugins/dist/services/Form/HookFormService";
|
|
4
4
|
import {
|
|
5
5
|
FieldNamePrefixPath,
|
|
6
6
|
FormValues,
|
|
7
|
-
} from "@licklist/plugins/
|
|
7
|
+
} from "@licklist/plugins/dist/types/services/Form/hook-form-service";
|
|
8
8
|
import { useId } from "@react-aria/utils";
|
|
9
9
|
import { Form } from "react-bootstrap";
|
|
10
10
|
import InputGroup from "react-bootstrap/InputGroup";
|
|
@@ -10,7 +10,7 @@ import { FormProvider, useForm } from "react-hook-form";
|
|
|
10
10
|
import {
|
|
11
11
|
CATEGORY_TYPE_FIXED_DURATION,
|
|
12
12
|
QUANTITY_TYPE_STANDARD,
|
|
13
|
-
} from "@licklist/core/
|
|
13
|
+
} from "@licklist/core/dist/DataMapper/Product/ProductCategoryDataMapper";
|
|
14
14
|
import { SortableTree } from "../../sortable-tree";
|
|
15
15
|
import {
|
|
16
16
|
ProductCategoryControl,
|
|
@@ -2,8 +2,8 @@ import { useCallback, useContext, useEffect, useState } from "react";
|
|
|
2
2
|
import { Form, Col, Collapse, InputGroup, Row } from "react-bootstrap";
|
|
3
3
|
import { Controller, useFormContext, useWatch } from "react-hook-form";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
|
-
import HookFormService from "@licklist/plugins/
|
|
6
|
-
import { FormValues } from "@licklist/plugins/
|
|
5
|
+
import HookFormService from "@licklist/plugins/dist/services/Form/HookFormService";
|
|
6
|
+
import { FormValues } from "@licklist/plugins/dist/types/services/Form/hook-form-service";
|
|
7
7
|
import { useId } from "@react-aria/utils";
|
|
8
8
|
import {
|
|
9
9
|
QuantityType,
|
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
CATEGORY_TYPE_GAME,
|
|
13
13
|
CATEGORY_TYPE_TICKETS,
|
|
14
14
|
CATEGORY_TYPE_FIXED_DURATION,
|
|
15
|
-
} from "@licklist/core/
|
|
16
|
-
import { Zone } from "@licklist/core/
|
|
15
|
+
} from "@licklist/core/dist/DataMapper/Product/ProductCategoryDataMapper";
|
|
16
|
+
import { Zone } from "@licklist/core/dist/DataMapper/Provider/ZoneDataMapper";
|
|
17
17
|
import { Switch, BooleanSwitch } from "../../static";
|
|
18
18
|
import { ProductSetFormValues } from "../form/ProductSetForm";
|
|
19
19
|
import { IsDeletableEvent, ProductCategory } from "../types";
|
|
@@ -2,10 +2,10 @@ import { useContext } from "react";
|
|
|
2
2
|
import { Form, Col, Row } from "react-bootstrap";
|
|
3
3
|
import { Controller, useFormContext } from "react-hook-form";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
|
-
import HookFormService from "@licklist/plugins/
|
|
6
|
-
import { FormValues } from "@licklist/plugins/
|
|
5
|
+
import HookFormService from "@licklist/plugins/dist/services/Form/HookFormService";
|
|
6
|
+
import { FormValues } from "@licklist/plugins/dist/types/services/Form/hook-form-service";
|
|
7
7
|
import { useId } from "@react-aria/utils";
|
|
8
|
-
import { PointProduct } from "@licklist/core/
|
|
8
|
+
import { PointProduct } from "@licklist/core/dist/DataMapper/Product/PointProductDataMapper";
|
|
9
9
|
import { ProductSetFormValues } from "../form/ProductSetForm";
|
|
10
10
|
import { IsDeletableEvent, ProductCategory } from "../types";
|
|
11
11
|
import { ProductSetLoadingContext } from "../form/context";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { EmailTemplate } from "@licklist/core/
|
|
2
|
-
import { SmsTemplate } from "@licklist/core/
|
|
1
|
+
import { EmailTemplate } from "@licklist/core/dist/DataMapper/Notification/EmailTemplateDataMapper";
|
|
2
|
+
import { SmsTemplate } from "@licklist/core/dist/DataMapper/Notification/SmsTemplateDataMapper";
|
|
3
3
|
import { TFunction } from "react-i18next";
|
|
4
4
|
import { UseFormSetError } from "react-hook-form";
|
|
5
5
|
import { TemplateItem } from "../control/ProductSetControl";
|
|
@@ -2,14 +2,14 @@ import { Button, Col, Form, Row } from "react-bootstrap";
|
|
|
2
2
|
import { useForm, Controller } from "react-hook-form";
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
-
import { User } from "@licklist/core/
|
|
5
|
+
import { User } from "@licklist/core/dist/DataMapper/User/UserDataMapper";
|
|
6
6
|
import {
|
|
7
7
|
VIEWER_ROLE,
|
|
8
8
|
MANAGER_ROLE,
|
|
9
9
|
SUBMANAGER_ROLE,
|
|
10
|
-
} from "@licklist/core/
|
|
11
|
-
import emailRule from "@licklist/plugins/
|
|
12
|
-
import HookFormService from "@licklist/plugins/
|
|
10
|
+
} from "@licklist/core/dist/DataMapper/User/UserRoleDataMapper";
|
|
11
|
+
import emailRule from "@licklist/plugins/dist/validation/Rules/emailRule";
|
|
12
|
+
import HookFormService from "@licklist/plugins/dist/services/Form/HookFormService";
|
|
13
13
|
import Logo from "../../../logo/Logo";
|
|
14
14
|
import { ReactComponent as ManagerRoleImg } from "../../../assets/dashboard/managerRole.svg";
|
|
15
15
|
import { ReactComponent as SubManagerRoleImg } from "../../../assets/dashboard/subManagerRole.svg";
|
|
@@ -3,7 +3,7 @@ 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 { Image } from "@licklist/core/
|
|
6
|
+
import { Image } from "@licklist/core/dist/DataMapper/Media/ImageDataMapper";
|
|
7
7
|
import { Typeahead, TypeaheadOptions } from "../../typeahead";
|
|
8
8
|
import { MAX_DESCRIPTION_CHARACTERS_LENGTH } from "../constants";
|
|
9
9
|
import {
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
IMAGE_TYPE_MAP,
|
|
8
8
|
IMAGE_TYPE_IMAGE,
|
|
9
9
|
Image,
|
|
10
|
-
} from "@licklist/core/
|
|
11
|
-
import { useMultipleImages } from "@licklist/plugins/
|
|
12
|
-
import { HasPermissionProp } from "@licklist/plugins/
|
|
10
|
+
} from "@licklist/core/dist/DataMapper/Media/ImageDataMapper";
|
|
11
|
+
import { useMultipleImages } from "@licklist/plugins/dist/hooks/Media/useMultipleImages";
|
|
12
|
+
import { HasPermissionProp } from "@licklist/plugins/dist/types/permission/Permission";
|
|
13
13
|
import { CollapsibleInputGroup } from "../../collapsible-input-group";
|
|
14
14
|
import {
|
|
15
15
|
CategoriesInput,
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
IMAGE_TYPE_IMAGE,
|
|
8
8
|
IMAGE_TYPE_MAP,
|
|
9
9
|
Image,
|
|
10
|
-
} from "@licklist/core/
|
|
11
|
-
import { HasPermissionProp } from "@licklist/plugins/
|
|
12
|
-
import { useMultipleImages } from "@licklist/plugins/
|
|
13
|
-
import { parseServerErrorForFormValidation } from "@licklist/plugins/
|
|
10
|
+
} from "@licklist/core/dist/DataMapper/Media/ImageDataMapper";
|
|
11
|
+
import { HasPermissionProp } from "@licklist/plugins/dist/types/permission/Permission";
|
|
12
|
+
import { useMultipleImages } from "@licklist/plugins/dist/hooks/Media/useMultipleImages";
|
|
13
|
+
import { parseServerErrorForFormValidation } from "@licklist/plugins/dist/utils/parseError";
|
|
14
14
|
import { CollapsibleInputGroup } from "../../collapsible-input-group";
|
|
15
15
|
import {
|
|
16
16
|
CategoriesInput,
|
|
@@ -3,7 +3,7 @@ import { useId } from "@react-aria/utils";
|
|
|
3
3
|
import { DateTime, DurationUnit } from "luxon";
|
|
4
4
|
import { Col, Form, InputGroup, Row } from "react-bootstrap";
|
|
5
5
|
import RRule from "rrule";
|
|
6
|
-
import { DATE_FORMAT } from "@licklist/core/
|
|
6
|
+
import { DATE_FORMAT } from "@licklist/core/dist/Config";
|
|
7
7
|
import { useTranslation } from "react-i18next";
|
|
8
8
|
import { SupportedFrequency } from "./utils";
|
|
9
9
|
import HTMLInputDateElement from "../types/static/HTMLInputDateElement";
|
|
@@ -3,7 +3,7 @@ import { Frequency } from "rrule";
|
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
4
|
import Button from "react-bootstrap/Button";
|
|
5
5
|
import { DateTime } from "luxon";
|
|
6
|
-
import { TIME_FULL_FORMAT } from "@licklist/core/
|
|
6
|
+
import { TIME_FULL_FORMAT } from "@licklist/core/dist/Config/Date";
|
|
7
7
|
import { FormProvider, useForm } from "react-hook-form";
|
|
8
8
|
import { Form } from "react-bootstrap";
|
|
9
9
|
import { ConfirmModal } from "../modals";
|
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
DATE_FORMAT,
|
|
13
13
|
TIME_FORMAT,
|
|
14
14
|
TIME_FULL_FORMAT,
|
|
15
|
-
} from "@licklist/core/
|
|
16
|
-
import { fromFormat } from "@licklist/plugins/
|
|
15
|
+
} from "@licklist/core/dist/Config";
|
|
16
|
+
import { fromFormat } from "@licklist/plugins/dist/utils/dateTime";
|
|
17
17
|
import { RecurringDatePickerInputValues } from "./RecurringDatePickerInput";
|
|
18
18
|
|
|
19
19
|
interface RecurrenceIntervalAndFrequencyInputProps {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Meta, Story } from "@storybook/react";
|
|
2
2
|
import { Card } from "react-bootstrap";
|
|
3
3
|
import { DateTime } from "luxon";
|
|
4
|
-
import { DATE_FORMAT, TIME_FORMAT } from "@licklist/core/
|
|
4
|
+
import { DATE_FORMAT, TIME_FORMAT } from "@licklist/core/dist/Config/Date";
|
|
5
5
|
import {
|
|
6
6
|
RecurringDatePickerInput,
|
|
7
7
|
RecurringDatePickerInputProps,
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
DATE_TIME_FORMAT,
|
|
9
9
|
DATE_TIME_FULL_FORMAT,
|
|
10
10
|
TIME_FULL_FORMAT,
|
|
11
|
-
} from "@licklist/core/
|
|
12
|
-
import { usePreviousValue } from "@licklist/plugins/
|
|
11
|
+
} from "@licklist/core/dist/Config/Date";
|
|
12
|
+
import { usePreviousValue } from "@licklist/plugins/dist/hooks/Value/usePreviousValue";
|
|
13
13
|
import { FormProvider, useForm } from "react-hook-form";
|
|
14
14
|
import { Form } from "react-bootstrap";
|
|
15
|
-
import { WorkHour } from "@licklist/core/
|
|
15
|
+
import { WorkHour } from "@licklist/core/dist/DataMapper/Provider/WorkHourDataMapper";
|
|
16
16
|
import RecurrenceIntervalAndFrequencyInput from "./RecurrenceIntervalAndFrequencyInput";
|
|
17
17
|
import RecurrenceWeekdaysInput from "./RecurrenceWeekdaysInput";
|
|
18
18
|
import {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TIME_FORMAT, TIME_FULL_FORMAT } from "@licklist/core/
|
|
2
|
-
import { WorkHour } from "@licklist/core/
|
|
3
|
-
import { fromFormat } from "@licklist/plugins/
|
|
1
|
+
import { TIME_FORMAT, TIME_FULL_FORMAT } from "@licklist/core/dist/Config";
|
|
2
|
+
import { WorkHour } from "@licklist/core/dist/DataMapper/Provider/WorkHourDataMapper";
|
|
3
|
+
import { fromFormat } from "@licklist/plugins/dist/utils/dateTime";
|
|
4
4
|
import { DateTime, Interval } from "luxon";
|
|
5
5
|
import { Validate } from "react-hook-form";
|
|
6
6
|
import { useTranslation } from "react-i18next";
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
Report,
|
|
7
7
|
ReportPeriodBy,
|
|
8
8
|
ReportType,
|
|
9
|
-
} from "@licklist/core/
|
|
9
|
+
} from "@licklist/core/dist/DataMapper/Report";
|
|
10
10
|
import { capitalize } from "lodash";
|
|
11
11
|
import { Button, Form, Modal } from "react-bootstrap";
|
|
12
12
|
import { useForm } from "react-hook-form";
|
|
13
13
|
import { useTranslation } from "react-i18next";
|
|
14
|
-
import { openOnlineViewer } from "@licklist/plugins/
|
|
15
|
-
import { HttpQuery } from "@licklist/plugins/
|
|
16
|
-
import { CachedHttpQueryResponse } from "@licklist/plugins/
|
|
14
|
+
import { openOnlineViewer } from "@licklist/plugins/dist/utils/report";
|
|
15
|
+
import { HttpQuery } from "@licklist/plugins/dist/hooks/Api/useHttpQuery";
|
|
16
|
+
import { CachedHttpQueryResponse } from "@licklist/plugins/dist/hooks/Api/useCachedHttpQuery";
|
|
17
17
|
import { BlockLoader } from "../../static/loader";
|
|
18
18
|
|
|
19
19
|
interface ReportField {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { reportTypes } from "@licklist/core/
|
|
1
|
+
import { reportTypes } from "@licklist/core/dist/DataMapper/Report";
|
|
2
2
|
import { capitalize } from "lodash";
|
|
3
3
|
import { Row, Col, Form, OverlayTrigger, Popover } from "react-bootstrap";
|
|
4
4
|
import { useFormContext } from "react-hook-form";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable jsx-a11y/click-events-have-key-events */
|
|
2
|
-
import { HasPermissionProp } from "@licklist/plugins/
|
|
2
|
+
import { HasPermissionProp } from "@licklist/plugins/dist/types/permission/Permission";
|
|
3
3
|
|
|
4
4
|
import { Icon } from "../../static";
|
|
5
5
|
|
|
@@ -2,7 +2,7 @@ import { useRef } from "react";
|
|
|
2
2
|
import { Row, Col, Button, Form, Modal } from "react-bootstrap";
|
|
3
3
|
import { useTranslation } from "react-i18next";
|
|
4
4
|
import { useForm } from "react-hook-form";
|
|
5
|
-
import { HasPermissionProp } from "@licklist/plugins/
|
|
5
|
+
import { HasPermissionProp } from "@licklist/plugins/dist/types/permission/Permission";
|
|
6
6
|
|
|
7
7
|
import HTMLInputDateElement from "../../types/static/HTMLInputDateElement";
|
|
8
8
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HasPermissionProp } from "@licklist/plugins/
|
|
1
|
+
import { HasPermissionProp } from "@licklist/plugins/dist/types/permission/Permission";
|
|
2
2
|
import { ZoneCard } from "../../zone/card";
|
|
3
3
|
|
|
4
4
|
export interface ResourceCardProps extends HasPermissionProp {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Meta, Story } from "@storybook/react";
|
|
2
2
|
import { boolean } from "@storybook/addon-knobs";
|
|
3
3
|
import { ResourceForm, ResourceFormProps } from "./ResourceForm";
|
|
4
|
-
import { Zone } from "@licklist/core/
|
|
4
|
+
import { Zone } from "@licklist/core/dist/DataMapper/Provider/ZoneDataMapper";
|
|
5
5
|
|
|
6
6
|
export default {
|
|
7
7
|
title: "Resource/Form",
|
|
@@ -2,10 +2,10 @@ import { useEffect } from "react";
|
|
|
2
2
|
import { useForm, FormProvider } from "react-hook-form";
|
|
3
3
|
import { Form, Row, Col, Button } from "react-bootstrap";
|
|
4
4
|
import { useTranslation } from "react-i18next";
|
|
5
|
-
import { Zone } from "@licklist/core/
|
|
6
|
-
import { Resource } from "@licklist/core/
|
|
7
|
-
import { ServerError } from "@licklist/plugins/
|
|
8
|
-
import FormErrorService from "@licklist/plugins/
|
|
5
|
+
import { Zone } from "@licklist/core/dist/DataMapper/Provider/ZoneDataMapper";
|
|
6
|
+
import { Resource } from "@licklist/core/dist/DataMapper/Provider/ResourceDataMapper";
|
|
7
|
+
import { ServerError } from "@licklist/plugins/dist/hooks/Api/useHttpQuery";
|
|
8
|
+
import FormErrorService from "@licklist/plugins/dist/services/Form/FormErrorService";
|
|
9
9
|
import { ZoneControl } from "./components/ZoneControl";
|
|
10
10
|
import { NameControl } from "./components/NameControl";
|
|
11
11
|
import { CapacityControl } from "./components/CapacityControl";
|
|
@@ -2,8 +2,8 @@ import { useTranslation } from "react-i18next";
|
|
|
2
2
|
import { Form } from "react-bootstrap";
|
|
3
3
|
import { useFormContext } from "react-hook-form";
|
|
4
4
|
import { useId } from "@react-aria/utils";
|
|
5
|
-
import HookFormService from "@licklist/plugins/
|
|
6
|
-
import { Resource } from "@licklist/core/
|
|
5
|
+
import HookFormService from "@licklist/plugins/dist/services/Form/HookFormService";
|
|
6
|
+
import { Resource } from "@licklist/core/dist/DataMapper/Provider/ResourceDataMapper";
|
|
7
7
|
|
|
8
8
|
type CapacityControlProps = {
|
|
9
9
|
isLoading: boolean;
|
|
@@ -2,8 +2,8 @@ import { useTranslation } from "react-i18next";
|
|
|
2
2
|
import { Form } from "react-bootstrap";
|
|
3
3
|
import { useFormContext } from "react-hook-form";
|
|
4
4
|
import { useId } from "@react-aria/utils";
|
|
5
|
-
import HookFormService from "@licklist/plugins/
|
|
6
|
-
import { Resource } from "@licklist/core/
|
|
5
|
+
import HookFormService from "@licklist/plugins/dist/services/Form/HookFormService";
|
|
6
|
+
import { Resource } from "@licklist/core/dist/DataMapper/Provider/ResourceDataMapper";
|
|
7
7
|
|
|
8
8
|
type NameControlProps = {
|
|
9
9
|
isLoading: boolean;
|
|
@@ -2,8 +2,8 @@ import { useTranslation } from "react-i18next";
|
|
|
2
2
|
import { Form } from "react-bootstrap";
|
|
3
3
|
import { useFormContext } from "react-hook-form";
|
|
4
4
|
import { useId } from "@react-aria/utils";
|
|
5
|
-
import HookFormService from "@licklist/plugins/
|
|
6
|
-
import { Resource } from "@licklist/core/
|
|
5
|
+
import HookFormService from "@licklist/plugins/dist/services/Form/HookFormService";
|
|
6
|
+
import { Resource } from "@licklist/core/dist/DataMapper/Provider/ResourceDataMapper";
|
|
7
7
|
|
|
8
8
|
type SortControlProps = {
|
|
9
9
|
isLoading: boolean;
|
|
@@ -2,9 +2,9 @@ import { useTranslation } from "react-i18next";
|
|
|
2
2
|
import { Form } from "react-bootstrap";
|
|
3
3
|
import { useFormContext } from "react-hook-form";
|
|
4
4
|
import { useId } from "@react-aria/utils";
|
|
5
|
-
import HookFormService from "@licklist/plugins/
|
|
6
|
-
import { Zone } from "@licklist/core/
|
|
7
|
-
import { Resource } from "@licklist/core/
|
|
5
|
+
import HookFormService from "@licklist/plugins/dist/services/Form/HookFormService";
|
|
6
|
+
import { Zone } from "@licklist/core/dist/DataMapper/Provider/ZoneDataMapper";
|
|
7
|
+
import { Resource } from "@licklist/core/dist/DataMapper/Provider/ResourceDataMapper";
|
|
8
8
|
|
|
9
9
|
type ZoneControlProps = {
|
|
10
10
|
isLoading: boolean;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Meta } from "@storybook/react";
|
|
2
|
-
import { Event } from "@licklist/core/
|
|
3
|
-
import { User } from "@licklist/core/
|
|
4
|
-
import { Product } from "@licklist/core/
|
|
2
|
+
import { Event } from "@licklist/core/dist/DataMapper/Provider/EventDataMapper";
|
|
3
|
+
import { User } from "@licklist/core/dist/DataMapper/User/UserDataMapper";
|
|
4
|
+
import { Product } from "@licklist/core/dist/DataMapper/Product/ProductDataMapper";
|
|
5
5
|
import {
|
|
6
6
|
Order,
|
|
7
7
|
ORDER_SOURCE_IFRAME,
|
|
8
8
|
ORDER_SOURCE_MANUAL,
|
|
9
|
-
} from "@licklist/core/
|
|
9
|
+
} from "@licklist/core/dist/DataMapper/Order/OrderDataMapper";
|
|
10
10
|
|
|
11
11
|
import { BookingResults } from "./BookingResults";
|
|
12
12
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useTranslation } from "react-i18next";
|
|
2
|
-
import { Order } from "@licklist/core/
|
|
3
|
-
import { User } from "@licklist/core/
|
|
2
|
+
import { Order } from "@licklist/core/dist/DataMapper/Order/OrderDataMapper";
|
|
3
|
+
import { User } from "@licklist/core/dist/DataMapper/User/UserDataMapper";
|
|
4
4
|
import { ResultCard } from "./components/ResultCard";
|
|
5
5
|
import { BACKGROUND_COLOR_CLASSNAMES } from "./constants";
|
|
6
6
|
|
|
@@ -5,12 +5,12 @@ import { useIntl } from "react-intl";
|
|
|
5
5
|
import {
|
|
6
6
|
Order,
|
|
7
7
|
ORDER_SOURCE_MANUAL,
|
|
8
|
-
} from "@licklist/core/
|
|
9
|
-
import { User } from "@licklist/core/
|
|
10
|
-
import { TIME_FORMAT } from "@licklist/core/
|
|
11
|
-
import * as Config from "@licklist/core/
|
|
12
|
-
import { formatDateStringForEvent } from "@licklist/plugins/
|
|
13
|
-
import { getOrderSourceTitle } from "@licklist/plugins/
|
|
8
|
+
} from "@licklist/core/dist/DataMapper/Order/OrderDataMapper";
|
|
9
|
+
import { User } from "@licklist/core/dist/DataMapper/User/UserDataMapper";
|
|
10
|
+
import { TIME_FORMAT } from "@licklist/core/dist/Config";
|
|
11
|
+
import * as Config from "@licklist/core/dist/Config";
|
|
12
|
+
import { formatDateStringForEvent } from "@licklist/plugins/dist/utils/formatDate";
|
|
13
|
+
import { getOrderSourceTitle } from "@licklist/plugins/dist/utils/sourceTitle";
|
|
14
14
|
import Icon from "../../../../static/Icon";
|
|
15
15
|
|
|
16
16
|
export type ResultCardProps = {
|
package/src/sales/constants.tsx
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
ORDER_PAYMENT_TYPE_VOUCHER,
|
|
9
9
|
ORDER_PAYMENT_TYPE_PAYMENT_LINK,
|
|
10
10
|
OrderPaymentType,
|
|
11
|
-
} from "@licklist/core/
|
|
11
|
+
} from "@licklist/core/dist/DataMapper/Order/OrderPaymentDataMapper";
|
|
12
12
|
|
|
13
13
|
export const EXTENDED_PAYMENT_TYPE_TRANSLATION_KEYS: {
|
|
14
14
|
[key in OrderPaymentType | typeof ORDER_PAYMENT_TYPE_PAYMENT_LINK]: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useEffect, useState, useRef } from "react";
|
|
2
|
-
import { ProductGroup } from "@licklist/core/
|
|
2
|
+
import { ProductGroup } from "@licklist/core/dist/DataMapper/Product/ProductGroupDataMapper";
|
|
3
3
|
import {
|
|
4
4
|
COUPON_TOTAL_TYPE_GROSS,
|
|
5
5
|
COUPON_TOTAL_TYPE_TOTAL,
|
|
@@ -9,12 +9,12 @@ import {
|
|
|
9
9
|
COUPON_TYPE_PERCENTAGE_PER_PERSON,
|
|
10
10
|
CouponTotalType,
|
|
11
11
|
CouponType,
|
|
12
|
-
} from "@licklist/core/
|
|
12
|
+
} from "@licklist/core/dist/DataMapper/Product/CouponDataMapper";
|
|
13
13
|
import { DateTime } from "luxon";
|
|
14
14
|
import { Col, Form, Row } from "react-bootstrap";
|
|
15
15
|
import { useFormContext } from "react-hook-form";
|
|
16
16
|
import { useTranslation } from "react-i18next";
|
|
17
|
-
import couponCodeRules from "@licklist/plugins/
|
|
17
|
+
import couponCodeRules from "@licklist/plugins/dist/validation/Rules/couponCodeRules";
|
|
18
18
|
/* TODO: Show Recurrent date, when reccurent date bugs are fixed */
|
|
19
19
|
// import { Frequency } from "rrule";
|
|
20
20
|
// import { RecurrenceInput } from "../../../recurrence-input";
|
|
@@ -2,16 +2,16 @@ import { useEffect } from "react";
|
|
|
2
2
|
import {
|
|
3
3
|
ProductGroup,
|
|
4
4
|
ProductGroupDTO,
|
|
5
|
-
} from "@licklist/core/
|
|
5
|
+
} from "@licklist/core/dist/DataMapper/Product/ProductGroupDataMapper";
|
|
6
6
|
import {
|
|
7
7
|
CouponTotalType,
|
|
8
8
|
CouponType,
|
|
9
|
-
} from "@licklist/core/
|
|
9
|
+
} from "@licklist/core/dist/DataMapper/Product/CouponDataMapper";
|
|
10
10
|
import { Button, Form } from "react-bootstrap";
|
|
11
11
|
import { useForm, FormProvider } from "react-hook-form";
|
|
12
12
|
import { useTranslation } from "react-i18next";
|
|
13
|
-
import { ServerError } from "@licklist/plugins/
|
|
14
|
-
import FormErrorService from "@licklist/plugins/
|
|
13
|
+
import { ServerError } from "@licklist/plugins/dist/hooks/Api/useHttpQuery";
|
|
14
|
+
import FormErrorService from "@licklist/plugins/dist/services/Form/FormErrorService";
|
|
15
15
|
|
|
16
16
|
import { CouponFormControl } from "../control";
|
|
17
17
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ProductGroup } from "@licklist/core/
|
|
1
|
+
import { ProductGroup } from "@licklist/core/dist/DataMapper/Product/ProductGroupDataMapper";
|
|
2
2
|
|
|
3
3
|
export const convertToTypeaheadOptions = (productGroups?: ProductGroup[]) => {
|
|
4
4
|
if (!productGroups || !productGroups.length) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Meta } from "@storybook/react";
|
|
2
2
|
import { boolean } from "@storybook/addon-knobs";
|
|
3
|
-
import { Event } from "@licklist/core/
|
|
4
|
-
import { User } from "@licklist/core/
|
|
5
|
-
import { Product } from "@licklist/core/
|
|
6
|
-
import { Order } from "@licklist/core/
|
|
3
|
+
import { Event } from "@licklist/core/dist/DataMapper/Provider/EventDataMapper";
|
|
4
|
+
import { User } from "@licklist/core/dist/DataMapper/User/UserDataMapper";
|
|
5
|
+
import { Product } from "@licklist/core/dist/DataMapper/Product/ProductDataMapper";
|
|
6
|
+
import { Order } from "@licklist/core/dist/DataMapper/Order/OrderDataMapper";
|
|
7
7
|
import { PreviousBookings } from "./PreviousBookings";
|
|
8
8
|
|
|
9
9
|
export default {
|
|
@@ -2,7 +2,7 @@ import { useState, ReactNode } from "react";
|
|
|
2
2
|
import { useTranslation } from "react-i18next";
|
|
3
3
|
import { DateTime } from "luxon";
|
|
4
4
|
import { Button } from "react-bootstrap";
|
|
5
|
-
import { Order } from "@licklist/core/
|
|
5
|
+
import { Order } from "@licklist/core/dist/DataMapper/Order/OrderDataMapper";
|
|
6
6
|
|
|
7
7
|
const MAX_ORDERS_COUNT = 6;
|
|
8
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Meta } from "@storybook/react";
|
|
2
|
-
import { Order } from "@licklist/core/
|
|
3
|
-
import { USER_GENDER_FEMALE } from "@licklist/core/
|
|
2
|
+
import { Order } from "@licklist/core/dist/DataMapper/Order/OrderDataMapper";
|
|
3
|
+
import { USER_GENDER_FEMALE } from "@licklist/core/dist/DataMapper/User/UserDetailDataMapper";
|
|
4
4
|
|
|
5
5
|
import { Profile } from "./Profile";
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Order } from "@licklist/core/
|
|
2
|
-
import { USER_GENDER_MALE } from "@licklist/core/
|
|
1
|
+
import { Order } from "@licklist/core/dist/DataMapper/Order/OrderDataMapper";
|
|
2
|
+
import { USER_GENDER_MALE } from "@licklist/core/dist/DataMapper/User/UserDetailDataMapper";
|
|
3
3
|
import { ImageHolder } from "./components/ImageHolder";
|
|
4
4
|
import Logo from "../../../logo/Logo";
|
|
5
5
|
import { ReactComponent as GenderFemale } from "../../../assets/dashboard/genderFemale.svg";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useTranslation } from "react-i18next";
|
|
2
2
|
import { useIntl } from "react-intl";
|
|
3
3
|
import { DateTime } from "luxon";
|
|
4
|
-
import { Order } from "@licklist/core/
|
|
5
|
-
import { UserMetric } from "@licklist/core/
|
|
4
|
+
import { Order } from "@licklist/core/dist/DataMapper/Order/OrderDataMapper";
|
|
5
|
+
import { UserMetric } from "@licklist/core/dist/DataMapper/User/UserMetricDataMapper";
|
|
6
6
|
|
|
7
7
|
export type UserMetricsProps = {
|
|
8
8
|
user?: Order["user"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useTranslation } from "react-i18next";
|
|
2
|
-
import { Provider } from "@licklist/core/
|
|
3
|
-
import MediaService from "@licklist/plugins/
|
|
2
|
+
import { Provider } from "@licklist/core/dist/DataMapper/Provider/ProviderDataMapper";
|
|
3
|
+
import MediaService from "@licklist/plugins/dist/services/Media/MediaService";
|
|
4
4
|
import { Logo } from "../../../logo";
|
|
5
5
|
import { ReactComponent as VisitedProviderImg } from "../../../assets/dashboard/visitedProviderLink.svg";
|
|
6
6
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { useState, useCallback } from "react";
|
|
2
2
|
import { useTranslation } from "react-i18next";
|
|
3
|
-
import { User } from "@licklist/core/
|
|
3
|
+
import { User } from "@licklist/core/dist/DataMapper/User/UserDataMapper";
|
|
4
4
|
import Highlighter from "react-highlighter";
|
|
5
|
-
import { SearchValue } from "@licklist/plugins/
|
|
5
|
+
import { SearchValue } from "@licklist/plugins/dist/types/Api/user";
|
|
6
6
|
import {
|
|
7
7
|
emailRule,
|
|
8
8
|
lettersRule,
|
|
9
9
|
useSearchUserApi,
|
|
10
|
-
} from "@licklist/plugins/
|
|
10
|
+
} from "@licklist/plugins/dist";
|
|
11
11
|
import { useFormContext, Controller } from "react-hook-form";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_USER_EMAIL,
|
|
14
14
|
DEFAULT_USER_LAST_NAME,
|
|
15
|
-
} from "@licklist/core/
|
|
15
|
+
} from "@licklist/core/dist/Config/DefaultUser";
|
|
16
16
|
import { TypeaheadHelperComponent } from "../../../typeahead-helper";
|
|
17
17
|
|
|
18
18
|
export const SearchUser = ({
|
|
@@ -2,7 +2,7 @@ import { useState } from "react";
|
|
|
2
2
|
import { Meta, Story } from "@storybook/react";
|
|
3
3
|
import { boolean } from "@storybook/addon-knobs";
|
|
4
4
|
import { SelectDateTypeControl } from "./SelectDateTypeControl";
|
|
5
|
-
import { OrderableType } from "@licklist/core/
|
|
5
|
+
import { OrderableType } from "@licklist/core/dist/DataMapper/Order/OrderDataMapper";
|
|
6
6
|
|
|
7
7
|
export default {
|
|
8
8
|
title: "Manual Booking/SelectDateTypeControl",
|
|
@@ -3,8 +3,8 @@ import { useTranslation } from "react-i18next";
|
|
|
3
3
|
import { Form } from "react-bootstrap";
|
|
4
4
|
import { DateTime } from "luxon";
|
|
5
5
|
import { useId } from "@react-aria/utils";
|
|
6
|
-
import { OrderableType } from "@licklist/core/
|
|
7
|
-
import { DATE_FORMAT } from "@licklist/core/
|
|
6
|
+
import { OrderableType } from "@licklist/core/dist/DataMapper/Order/OrderDataMapper";
|
|
7
|
+
import { DATE_FORMAT } from "@licklist/core/dist/Config";
|
|
8
8
|
import HTMLInputDateElement from "../../../types/static/HTMLInputDateElement";
|
|
9
9
|
|
|
10
10
|
type SelectDateTypeControlProps = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useTranslation } from "react-i18next";
|
|
2
2
|
import { Card, Form } from "react-bootstrap";
|
|
3
|
-
import MediaService from "@licklist/plugins/
|
|
3
|
+
import MediaService from "@licklist/plugins/dist/services/Media/MediaService";
|
|
4
4
|
import { rrulestr } from "rrule";
|
|
5
5
|
import { DateTime } from "luxon";
|
|
6
|
-
import { ManualBookingEvent } from "@licklist/plugins/
|
|
6
|
+
import { ManualBookingEvent } from "@licklist/plugins/dist/types/context/sale/menuSteps";
|
|
7
7
|
import { formatToDays, formatToHours } from "../formatDays";
|
|
8
8
|
import { BlockLoader } from "../../../static/loader";
|
|
9
9
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Meta, Story } from "@storybook/react";
|
|
2
2
|
import { boolean } from "@storybook/addon-knobs";
|
|
3
|
-
import { transformMenus } from "@licklist/plugins/
|
|
3
|
+
import { transformMenus } from "@licklist/plugins/dist/utils/transformMenus";
|
|
4
4
|
import { SelectMenu, SelectMenuProps } from "./SelectMenu";
|
|
5
5
|
|
|
6
6
|
export default {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useTranslation } from "react-i18next";
|
|
2
2
|
import { Form } from "react-bootstrap";
|
|
3
|
-
import { ManualBookingMenu } from "@licklist/plugins/
|
|
3
|
+
import { ManualBookingMenu } from "@licklist/plugins/dist/types/context/sale/menuSteps";
|
|
4
4
|
import { BlockLoader } from "../../../static/loader";
|
|
5
5
|
import { MenuButton } from "./components/MenuButton";
|
|
6
6
|
|