@licklist/design 0.44.485-dev.2 → 0.44.485-dev.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/affiliate/types/index.d.ts +1 -1
- package/dist/affiliate/types/index.d.ts.map +1 -1
- package/dist/auth/Login/LoginComponent.d.ts +1 -1
- package/dist/auth/Login/LoginComponent.d.ts.map +1 -1
- package/dist/auth/Login/LoginFormComponent.d.ts +1 -1
- package/dist/auth/Login/LoginFormComponent.d.ts.map +1 -1
- package/dist/auth/Register/RegisterComponent.d.ts +1 -1
- package/dist/auth/Register/RegisterComponent.d.ts.map +1 -1
- package/dist/auth/Register/RegisterFormComponent.d.ts +1 -1
- package/dist/auth/Register/RegisterFormComponent.d.ts.map +1 -1
- package/dist/auth/ResetPassword/ResetPasswordFormComponent.d.ts +1 -1
- package/dist/auth/ResetPassword/ResetPasswordFormComponent.d.ts.map +1 -1
- package/dist/collapsible-input-group/CollapsibleInputGroup.d.ts +1 -1
- package/dist/collapsible-input-group/CollapsibleInputGroup.d.ts.map +1 -1
- package/dist/custom-fields/field-set/CustomFieldSets.d.ts +3 -3
- package/dist/custom-fields/field-set/CustomFieldSets.d.ts.map +1 -1
- package/dist/custom-fields/field-set/components/CustomFieldSet/CustomFieldSet.d.ts +1 -1
- package/dist/custom-fields/field-set/components/CustomFieldSet/CustomFieldSet.d.ts.map +1 -1
- package/dist/custom-fields/field-set/contexts/useCustomFieldSets.d.ts +2 -2
- package/dist/custom-fields/field-set/contexts/useCustomFieldSets.d.ts.map +1 -1
- package/dist/customers/components/filter/CustomerFilter.d.ts +2 -3
- package/dist/customers/components/filter/CustomerFilter.d.ts.map +1 -1
- package/dist/customers/components/filter/CustomerFilter.js +1 -1
- package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.d.ts +3 -3
- package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.d.ts.map +1 -1
- package/dist/events/event-statistic-modal/EventStatisticModal.d.ts +1 -1
- package/dist/events/event-statistic-modal/EventStatisticModal.d.ts.map +1 -1
- package/dist/events/event-venue-map/EventVenueMap.d.ts +5 -2
- package/dist/events/event-venue-map/EventVenueMap.d.ts.map +1 -1
- package/dist/events/event-venue-map/EventVenueMap.js +1 -1
- package/dist/events/event-venue-map/components/Dropdown/Dropdown.d.ts +1 -1
- package/dist/events/event-venue-map/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/ProductsControl/ProductsControl.d.ts +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/ProductsControl/ProductsControl.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/SelectControl/SelectControl.d.ts +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/SelectControl/SelectControl.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/MapPoint.d.ts +1 -1
- package/dist/events/event-venue-map/components/MapPoint/MapPoint.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/DeleteIcon/DeleteIcon.d.ts +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/DeleteIcon/DeleteIcon.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/EditIcon/EditIcon.d.ts +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/EditIcon/EditIcon.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/PointIcon/PointIcon.d.ts +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/PointIcon/PointIcon.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.d.ts +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/VenueMap/VenueMap.d.ts +4 -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.d.ts +1 -1
- package/dist/events/event-venue-map/hooks/useCanvasSize.d.ts.map +1 -1
- package/dist/events/event-venue-map/hooks/useStageActions.d.ts +1 -1
- package/dist/events/event-venue-map/hooks/useStageActions.d.ts.map +1 -1
- package/dist/events/event-venue-map/types/index.d.ts +5 -5
- package/dist/events/event-venue-map/types/index.d.ts.map +1 -1
- package/dist/events/event-venue-map/utils/index.d.ts +3 -3
- package/dist/events/event-venue-map/utils/index.d.ts.map +1 -1
- package/dist/file-upload/FilePreview.d.ts +2 -2
- package/dist/file-upload/FilePreview.d.ts.map +1 -1
- package/dist/file-upload/FileUpload.d.ts +1 -1
- package/dist/file-upload/FileUpload.d.ts.map +1 -1
- package/dist/header/Header.d.ts +1 -1
- package/dist/header/Header.d.ts.map +1 -1
- package/dist/help/example/Example.d.ts +4 -4
- package/dist/help/example/Example.d.ts.map +1 -1
- package/dist/help/popover/HelpPopover.d.ts +1 -1
- package/dist/help/popover/HelpPopover.d.ts.map +1 -1
- package/dist/iframe/custom-fields/components/CustomDateField.d.ts +1 -1
- package/dist/iframe/custom-fields/components/CustomDateField.d.ts.map +1 -1
- package/dist/iframe/event/event-calendar/EventCalendar.d.ts +1 -1
- package/dist/iframe/event/event-calendar/EventCalendar.d.ts.map +1 -1
- package/dist/iframe/event/event-calendar/components/CalendarButtons/CalendarButtons.d.ts +1 -1
- package/dist/iframe/event/event-calendar/components/CalendarButtons/CalendarButtons.d.ts.map +1 -1
- package/dist/iframe/event/event-calendar/components/CalendarDate/CalendarDate.d.ts +1 -1
- package/dist/iframe/event/event-calendar/components/CalendarDate/CalendarDate.d.ts.map +1 -1
- package/dist/iframe/event/event-calendar/components/CalendarDates/CalendarDates.d.ts +1 -1
- package/dist/iframe/event/event-calendar/components/CalendarDates/CalendarDates.d.ts.map +1 -1
- package/dist/iframe/event/event-calendar/components/CalendarSelect/CalendarSelect.d.ts +2 -2
- package/dist/iframe/event/event-calendar/components/CalendarSelect/CalendarSelect.d.ts.map +1 -1
- package/dist/iframe/event/event-calendar/types/index.d.ts +1 -1
- package/dist/iframe/event/event-calendar/types/index.d.ts.map +1 -1
- package/dist/iframe/event/event-card/IframeEventCard.js +1 -1
- package/dist/iframe/event/event-details/EventDetails.d.ts +1 -1
- package/dist/iframe/event/event-details/EventDetails.d.ts.map +1 -1
- package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.d.ts +5 -6
- package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.d.ts.map +1 -1
- package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.js +1 -1
- package/dist/iframe/event/event-product-sets/EventProductSets.d.ts +1 -1
- package/dist/iframe/event/event-product-sets/EventProductSets.d.ts.map +1 -1
- package/dist/iframe/event/event-product-sets/components/EventProductSet.d.ts +1 -1
- package/dist/iframe/event/event-product-sets/components/EventProductSet.d.ts.map +1 -1
- package/dist/iframe/event/event-step-venue-map-zones/EventStepVenueMapZones.d.ts +1 -1
- package/dist/iframe/event/event-step-venue-map-zones/EventStepVenueMapZones.d.ts.map +1 -1
- package/dist/iframe/event/event-step-venue-map-zones/components/EventStepVenueMapZone.d.ts +1 -1
- package/dist/iframe/event/event-step-venue-map-zones/components/EventStepVenueMapZone.d.ts.map +1 -1
- package/dist/iframe/event/event-venue-map/IframeEventVenueMap.d.ts +5 -1
- package/dist/iframe/event/event-venue-map/IframeEventVenueMap.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/BookingSummary.js +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.d.ts +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.d.ts +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.d.ts +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts +4 -4
- package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummaryFooter/BookingSummaryFooter.d.ts +4 -4
- package/dist/iframe/order-process/components/BookingSummaryFooter/BookingSummaryFooter.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.d.ts +3 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.js +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.d.ts +4 -2
- package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.js +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts +4 -2
- package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.js +1 -1
- package/dist/iframe/order-process/components/Category/Category.d.ts +2 -1
- package/dist/iframe/order-process/components/Category/Category.d.ts.map +1 -1
- package/dist/iframe/order-process/components/Category/Category.js +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts +2 -1
- package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.js +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts +1 -0
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.js +1 -1
- package/dist/iframe/order-process/components/NavigationSteps/NavigationSteps.d.ts +1 -1
- package/dist/iframe/order-process/components/NavigationSteps/NavigationSteps.d.ts.map +1 -1
- package/dist/iframe/order-process/components/PaymentCard/PaymentCard.d.ts +1 -1
- package/dist/iframe/order-process/components/PaymentCard/PaymentCard.d.ts.map +1 -1
- package/dist/iframe/order-process/components/StepsForm/StepsForm.d.ts +2 -1
- package/dist/iframe/order-process/components/StepsForm/StepsForm.d.ts.map +1 -1
- package/dist/iframe/order-process/components/StepsForm/StepsForm.js +1 -1
- package/dist/iframe/order-process/components/Timer/Timer.d.ts +1 -1
- package/dist/iframe/order-process/components/Timer/Timer.d.ts.map +1 -1
- package/dist/iframe/page/Page.d.ts +1 -1
- package/dist/iframe/page/Page.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/PageBody.d.ts +1 -1
- package/dist/iframe/page/components/PageBody/PageBody.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.d.ts +1 -1
- package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/components/RightBlock/RightBlock.d.ts +1 -1
- package/dist/iframe/page/components/PageBody/components/RightBlock/RightBlock.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/types.d.ts +1 -1
- package/dist/iframe/page/components/PageBody/types.d.ts.map +1 -1
- package/dist/iframe/page/components/PageHeader/PageHeader.d.ts +1 -1
- package/dist/iframe/page/components/PageHeader/PageHeader.d.ts.map +1 -1
- package/dist/iframe/payment/order-items-table/hooks/useTableData.d.ts +5 -0
- package/dist/iframe/payment/order-items-table/hooks/useTableData.d.ts.map +1 -1
- package/dist/iframe/payment/order-items-table/hooks/useTableData.js +1 -1
- package/dist/iframe/payment/order-items-table/types/index.d.ts +2 -2
- package/dist/iframe/payment/order-items-table/types/index.d.ts.map +1 -1
- package/dist/iframe/payment/order-items-table/utils/index.d.ts +6 -1
- package/dist/iframe/payment/order-items-table/utils/index.d.ts.map +1 -1
- package/dist/iframe/payment/order-items-table/utils/index.js +1 -1
- package/dist/iframe/payment/payment-page/PaymentPage.d.ts.map +1 -1
- package/dist/iframe/payment/payment-page/PaymentPage.js +1 -1
- package/dist/iframe/payment/payment-status-header/PaymentStatusHeader.d.ts +1 -1
- package/dist/iframe/payment/payment-status-header/PaymentStatusHeader.d.ts.map +1 -1
- package/dist/iframe/payment/payment-status-page/PaymentStatusPage.d.ts +5 -3
- package/dist/iframe/payment/payment-status-page/PaymentStatusPage.d.ts.map +1 -1
- package/dist/iframe/payment/payment-status-page/PaymentStatusPage.js +1 -1
- package/dist/iframe/powered-by/PoweredBy.d.ts +1 -1
- package/dist/iframe/powered-by/PoweredBy.d.ts.map +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.d.ts +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.d.ts.map +1 -1
- package/dist/modals/confirmation/ConfirmModal.d.ts +2 -2
- package/dist/modals/confirmation/ConfirmModal.d.ts.map +1 -1
- package/dist/product-set/deposit-paid/ProductSetDepositPaidControl.d.ts +3 -3
- package/dist/product-set/deposit-paid/ProductSetDepositPaidControl.d.ts.map +1 -1
- package/dist/product-set/elements/DeleteFieldButton.d.ts +1 -1
- package/dist/product-set/elements/DeleteFieldButton.d.ts.map +1 -1
- package/dist/product-set/form/ProductCategoriesControl.d.ts.map +1 -1
- package/dist/product-set/form/ProductCategoriesControl.js +1 -1
- package/dist/product-set/form/ProductsControl.d.ts.map +1 -1
- package/dist/product-set/form/ProductsControl.js +1 -1
- package/dist/product-set/form/VenueMapSetModal.d.ts +1 -1
- package/dist/product-set/form/VenueMapSetModal.d.ts.map +1 -1
- package/dist/product-set/form/VenueMapsControl.d.ts +1 -1
- package/dist/product-set/form/VenueMapsControl.d.ts.map +1 -1
- package/dist/product-set/form/context.d.ts +1 -1
- package/dist/product-set/form/context.d.ts.map +1 -1
- package/dist/product-set/popover/ProductSetPopover.d.ts +1 -1
- package/dist/product-set/popover/ProductSetPopover.d.ts.map +1 -1
- package/dist/product-set/product/ProductControl.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/tabs/ProductSetTab.d.ts +1 -1
- package/dist/product-set/tabs/ProductSetTab.d.ts.map +1 -1
- package/dist/product-set/tabs/ProductSetTabs.d.ts +1 -1
- package/dist/product-set/tabs/ProductSetTabs.d.ts.map +1 -1
- package/dist/product-set/types/index.d.ts +5 -5
- package/dist/product-set/types/index.d.ts.map +1 -1
- package/dist/provider/categories-input/CategoriesInput.d.ts +1 -1
- package/dist/provider/categories-input/CategoriesInput.d.ts.map +1 -1
- package/dist/provider/categories-input/CategoriesInputDescription.d.ts +1 -1
- package/dist/provider/categories-input/CategoriesInputDescription.d.ts.map +1 -1
- package/dist/provider/categories-input/index.d.ts +1 -1
- package/dist/provider/categories-input/index.d.ts.map +1 -1
- package/dist/provider/company/user-form/UserForm.d.ts +2 -2
- package/dist/provider/company/user-form/UserForm.d.ts.map +1 -1
- package/dist/provider/location-input/index.d.ts +1 -1
- package/dist/provider/location-input/index.d.ts.map +1 -1
- package/dist/provider/provider-details-input/ProviderDetailsInput.d.ts +2 -2
- package/dist/provider/provider-details-input/ProviderDetailsInput.d.ts.map +1 -1
- package/dist/provider/provider-form/ProviderForm.d.ts +1 -1
- package/dist/provider/provider-form/ProviderForm.d.ts.map +1 -1
- package/dist/provider/provider-links-input/ProviderLinksInput.d.ts +2 -2
- package/dist/provider/provider-links-input/ProviderLinksInput.d.ts.map +1 -1
- package/dist/provider/resources-blocking-modal/ResourcesBlockingModal.d.ts +1 -1
- package/dist/provider/resources-blocking-modal/ResourcesBlockingModal.d.ts.map +1 -1
- package/dist/provider/venue-form/VenueForm.d.ts +1 -1
- package/dist/provider/venue-form/VenueForm.d.ts.map +1 -1
- package/dist/provider/working-hours-input/index.d.ts +1 -1
- package/dist/provider/working-hours-input/index.d.ts.map +1 -1
- package/dist/recurrence-input/utils.d.ts +2 -2
- package/dist/recurrence-input/utils.d.ts.map +1 -1
- package/dist/recurring-date-picker-input/RecurringDatePickerInput.js +1 -1
- package/dist/recurring-date-picker-input/utils.d.ts +2 -2
- package/dist/recurring-date-picker-input/utils.d.ts.map +1 -1
- package/dist/resource/form/ResourceForm.d.ts +2 -2
- package/dist/resource/form/ResourceForm.d.ts.map +1 -1
- package/dist/resource/form/components/CapacityControl.d.ts +1 -1
- package/dist/resource/form/components/CapacityControl.d.ts.map +1 -1
- package/dist/resource/form/components/NameControl.d.ts +1 -1
- package/dist/resource/form/components/NameControl.d.ts.map +1 -1
- package/dist/resource/form/components/SortControl.d.ts +1 -1
- package/dist/resource/form/components/SortControl.d.ts.map +1 -1
- package/dist/resource/form/components/ZoneControl.d.ts +1 -1
- package/dist/resource/form/components/ZoneControl.d.ts.map +1 -1
- package/dist/sales/booking/filter/BookingFilter.d.ts +1 -1
- package/dist/sales/booking/filter/BookingFilter.d.ts.map +1 -1
- package/dist/sales/booking/filter/components/AdditionalFIlterSection.d.ts +1 -1
- package/dist/sales/booking/filter/components/AdditionalFIlterSection.d.ts.map +1 -1
- package/dist/sales/booking/filter/components/AdditionalFIlterSection.js +1 -1
- package/dist/sales/booking/filter/components/MainFilterSection.d.ts +1 -1
- package/dist/sales/booking/filter/components/MainFilterSection.d.ts.map +1 -1
- package/dist/sales/booking/filter/components/ResultTagButton.d.ts +1 -1
- package/dist/sales/booking/filter/components/ResultTagButton.d.ts.map +1 -1
- package/dist/sales/booking/results/BookingResults.d.ts +1 -1
- package/dist/sales/booking/results/BookingResults.d.ts.map +1 -1
- package/dist/sales/booking/results/components/ResultCard.d.ts +1 -1
- package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
- package/dist/sales/booking/tabs/BookingTabs.d.ts +1 -1
- package/dist/sales/booking/tabs/BookingTabs.d.ts.map +1 -1
- package/dist/sales/guest-profile/previous-bookings/PreviousBookings.d.ts +4 -3
- package/dist/sales/guest-profile/previous-bookings/PreviousBookings.d.ts.map +1 -1
- package/dist/sales/guest-profile/previous-bookings/PreviousBookings.js +1 -1
- package/dist/sales/guest-profile/profile/Profile.d.ts +1 -1
- package/dist/sales/guest-profile/profile/Profile.d.ts.map +1 -1
- package/dist/sales/guest-profile/profile/components/ImageHolder/ImageHolder.d.ts +1 -1
- package/dist/sales/guest-profile/profile/components/ImageHolder/ImageHolder.d.ts.map +1 -1
- package/dist/sales/guest-profile/user-metrics/UserMetrics.d.ts +1 -1
- package/dist/sales/guest-profile/user-metrics/UserMetrics.d.ts.map +1 -1
- package/dist/sales/guest-profile/visited-providers/VisitedProviders.d.ts +1 -1
- package/dist/sales/guest-profile/visited-providers/VisitedProviders.d.ts.map +1 -1
- package/dist/sales/life-time-sales/LifeTimeSalesChart.d.ts +1 -1
- package/dist/sales/life-time-sales/LifeTimeSalesChart.d.ts.map +1 -1
- package/dist/sales/manual-booking/customer-info/CustomerInfo.d.ts +1 -1
- package/dist/sales/manual-booking/customer-info/CustomerInfo.d.ts.map +1 -1
- package/dist/sales/manual-booking/final-step/FinalStep.d.ts +1 -1
- package/dist/sales/manual-booking/final-step/FinalStep.d.ts.map +1 -1
- package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.d.ts +1 -1
- package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.d.ts.map +1 -1
- package/dist/sales/manual-booking/select-date-type-control/SelectDateTypeControl.d.ts +1 -1
- package/dist/sales/manual-booking/select-date-type-control/SelectDateTypeControl.d.ts.map +1 -1
- package/dist/sales/manual-booking/select-menu/SelectMenu.d.ts +1 -1
- package/dist/sales/manual-booking/select-menu/SelectMenu.d.ts.map +1 -1
- package/dist/sales/manual-booking/select-menu/SelectMenu.js +1 -1
- package/dist/sales/manual-booking/select-menu/components/MenuButton.d.ts +1 -1
- package/dist/sales/manual-booking/select-menu/components/MenuButton.d.ts.map +1 -1
- package/dist/sales/notes/NotesTable.d.ts +1 -1
- package/dist/sales/notes/NotesTable.d.ts.map +1 -1
- package/dist/sales/notes/NotesTableRow.d.ts +1 -1
- package/dist/sales/notes/NotesTableRow.d.ts.map +1 -1
- package/dist/sales/notes/note-form/NoteForm.d.ts +1 -1
- package/dist/sales/notes/note-form/NoteForm.d.ts.map +1 -1
- package/dist/sales/payment-form/SalePaymentForm.d.ts +2 -2
- package/dist/sales/payment-form/SalePaymentForm.d.ts.map +1 -1
- package/dist/sales/payment-form/components/RyftPayment/RyftPayment.d.ts +1 -1
- package/dist/sales/payment-form/components/RyftPayment/RyftPayment.d.ts.map +1 -1
- package/dist/sales/payment-form/types.d.ts +2 -2
- package/dist/sales/payment-form/types.d.ts.map +1 -1
- package/dist/sales/sales-and-views/SalesAndViewsChart.d.ts +1 -1
- package/dist/sales/sales-and-views/SalesAndViewsChart.d.ts.map +1 -1
- package/dist/setting/admin/AdminSettingForm.d.ts +1 -1
- package/dist/setting/admin/AdminSettingForm.d.ts.map +1 -1
- package/dist/setting/admin/PaymentFeeForm.d.ts +2 -2
- package/dist/setting/admin/PaymentFeeForm.d.ts.map +1 -1
- package/dist/setting/dashboard/DashboardSettingForm.d.ts +1 -1
- package/dist/setting/dashboard/DashboardSettingForm.d.ts.map +1 -1
- package/dist/setting/dashboard/EventSettingForm.d.ts +2 -2
- package/dist/setting/dashboard/EventSettingForm.d.ts.map +1 -1
- package/dist/setting/dashboard/FinancialDataForm.d.ts +2 -2
- package/dist/setting/dashboard/FinancialDataForm.d.ts.map +1 -1
- package/dist/setting/dashboard/OtherSettingForm.d.ts +2 -2
- package/dist/setting/dashboard/OtherSettingForm.d.ts.map +1 -1
- package/dist/setting/dashboard/ProviderSettingForm.d.ts +2 -2
- package/dist/setting/dashboard/ProviderSettingForm.d.ts.map +1 -1
- package/dist/setting/system/SystemSettingForm.d.ts +1 -1
- package/dist/setting/system/SystemSettingForm.d.ts.map +1 -1
- package/dist/snippet/snippet-template/context/snippetTemplate.d.ts +1 -1
- package/dist/snippet/snippet-template/context/snippetTemplate.d.ts.map +1 -1
- package/dist/sortable-list/SortableList.d.ts +4 -4
- package/dist/sortable-list/SortableList.d.ts.map +1 -1
- package/dist/sortable-tree/SortableTreeItem.d.ts +1 -1
- package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
- package/dist/static/Icon.d.ts +1 -1
- package/dist/static/Icon.d.ts.map +1 -1
- package/dist/static/date-range-input/DateRangeInput.d.ts +1 -1
- package/dist/static/date-range-input/DateRangeInput.d.ts.map +1 -1
- package/dist/static/images/DefaultUserImage.d.ts +1 -1
- package/dist/static/images/DefaultUserImage.d.ts.map +1 -1
- package/dist/static/loader/ButtonLoader.d.ts +1 -1
- package/dist/static/loader/ButtonLoader.d.ts.map +1 -1
- package/dist/static/loader/PaymentLoader.d.ts +1 -1
- package/dist/static/loader/PaymentLoader.d.ts.map +1 -1
- package/dist/static/manual-date-picker/ManualDatePicker.d.ts +1 -1
- package/dist/static/manual-date-picker/ManualDatePicker.d.ts.map +1 -1
- package/dist/static/manual-date-picker/hooks/useManualDatePicker.d.ts +2 -2
- package/dist/static/manual-date-picker/hooks/useManualDatePicker.d.ts.map +1 -1
- package/dist/static/tabs/Tab.d.ts +1 -1
- package/dist/static/tabs/Tab.d.ts.map +1 -1
- package/dist/static/tabs/Tabs.d.ts +1 -1
- package/dist/static/tabs/Tabs.d.ts.map +1 -1
- package/dist/styles/customers/Filter.scss +23 -4
- package/dist/table/MenuButton.d.ts +1 -1
- package/dist/table/MenuButton.d.ts.map +1 -1
- package/dist/table/ReactTableHelperComponent.d.ts +2 -2
- package/dist/table/ReactTableHelperComponent.d.ts.map +1 -1
- package/dist/table/types.d.ts +5 -5
- package/dist/table/types.d.ts.map +1 -1
- package/dist/tiptap-editor/TipTapMenu/extensions/EMOJIS.d.ts +1 -1
- package/dist/tiptap-editor/TipTapMenu/extensions/EMOJIS.d.ts.map +1 -1
- package/dist/typeahead/Typeahead.d.ts +1 -1
- package/dist/typeahead/Typeahead.d.ts.map +1 -1
- package/dist/typeahead-helper/TypeaheadHelperComponent.d.ts +1 -1
- package/dist/typeahead-helper/TypeaheadHelperComponent.d.ts.map +1 -1
- package/dist/types/categories.d.ts +2 -2
- package/dist/types/categories.d.ts.map +1 -1
- package/dist/types/currency.d.ts +1 -1
- package/dist/types/currency.d.ts.map +1 -1
- package/dist/types/generic/SelectItem.d.ts +1 -1
- package/dist/types/generic/SelectItem.d.ts.map +1 -1
- package/dist/types/iframe.d.ts +2 -2
- package/dist/types/iframe.d.ts.map +1 -1
- package/dist/types/provider-links.d.ts +2 -2
- package/dist/types/provider-links.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/NameControl.d.ts +1 -1
- package/dist/venue-map-sets/form/components/NameControl.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/VenueMapControl.d.ts +4 -4
- package/dist/venue-map-sets/form/components/VenueMapControl.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/VenueMapImageControl.d.ts +1 -1
- package/dist/venue-map-sets/form/components/VenueMapImageControl.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/VenueMapModal.d.ts +1 -1
- package/dist/venue-map-sets/form/components/VenueMapModal.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/VenueMapsControl.d.ts +1 -1
- package/dist/venue-map-sets/form/components/VenueMapsControl.d.ts.map +1 -1
- package/dist/venue-map-sets/form/types/index.d.ts +4 -4
- package/dist/venue-map-sets/form/types/index.d.ts.map +1 -1
- package/dist/virtualized/components/VirtualizedGrid.d.ts +1 -1
- package/dist/virtualized/components/VirtualizedGrid.d.ts.map +1 -1
- package/dist/virtualized/components/VirtualizedWindowScroller.d.ts +3 -3
- package/dist/virtualized/components/VirtualizedWindowScroller.d.ts.map +1 -1
- package/dist/virtualized/context/VirtualizedContext.d.ts +2 -2
- package/dist/virtualized/context/VirtualizedContext.d.ts.map +1 -1
- package/dist/widgets/CheckboxGroup/CheckboxGroup.d.ts +1 -1
- package/dist/widgets/CheckboxGroup/CheckboxGroup.d.ts.map +1 -1
- package/dist/widgets/ImageRadioInput/ImageRadioInput.d.ts +1 -1
- package/dist/widgets/ImageRadioInput/ImageRadioInput.d.ts.map +1 -1
- package/dist/widgets/SnippetCode/SnippetCode.d.ts +1 -1
- package/dist/widgets/SnippetCode/SnippetCode.d.ts.map +1 -1
- package/dist/widgets/WidgetBuilderForm/WidgetBuilderForm.d.ts +1 -1
- package/dist/widgets/WidgetBuilderForm/WidgetBuilderForm.d.ts.map +1 -1
- package/dist/widgets/WidgetTypeRadio/WidgetTypeRadio.d.ts +1 -1
- package/dist/widgets/WidgetTypeRadio/WidgetTypeRadio.d.ts.map +1 -1
- package/dist/zone/form/ZoneForm.d.ts +2 -2
- package/dist/zone/form/ZoneForm.d.ts.map +1 -1
- package/dist/zone/form/components/AvailableTimesControl.d.ts +2 -2
- package/dist/zone/form/components/AvailableTimesControl.d.ts.map +1 -1
- package/dist/zone/form/components/DescriptionControl.d.ts +1 -1
- package/dist/zone/form/components/DescriptionControl.d.ts.map +1 -1
- package/dist/zone/form/components/NameControl.d.ts +1 -1
- package/dist/zone/form/components/NameControl.d.ts.map +1 -1
- package/dist/zone/form/components/SortControl.d.ts +1 -1
- package/dist/zone/form/components/SortControl.d.ts.map +1 -1
- package/dist/zone/form/components/ZoneControl.d.ts +1 -1
- package/dist/zone/form/components/ZoneControl.d.ts.map +1 -1
- package/dist/zone/form/components/ZoneImageControl.d.ts +1 -1
- package/dist/zone/form/components/ZoneImageControl.d.ts.map +1 -1
- package/dist/zone/form/components/ZoneRecurrencesControl.d.ts +1 -1
- package/dist/zone/form/components/ZoneRecurrencesControl.d.ts.map +1 -1
- package/dist/zone/form/components/ZoneTypeControl.d.ts +1 -1
- package/dist/zone/form/components/ZoneTypeControl.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/customers/components/filter/CustomerFilter.stories.tsx +1 -2
- package/src/customers/components/filter/CustomerFilter.tsx +3 -5
- package/src/events/event-venue-map/EventVenueMap.tsx +4 -0
- package/src/events/event-venue-map/components/VenueMap/VenueMap.tsx +12 -4
- package/src/iframe/event/event-card/IframeEventCard.tsx +1 -1
- package/src/iframe/event/event-order-short-summary/components/Summary/Summary.tsx +20 -20
- package/src/iframe/order-process/components/BookingSummary/BookingSummary.tsx +4 -1
- package/src/iframe/order-process/components/BookingSummary/types/index.ts +3 -3
- package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.stories.tsx +1 -0
- package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.tsx +5 -0
- package/src/iframe/order-process/components/CalendarStepsForm/components/Category.tsx +4 -0
- package/src/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.tsx +4 -0
- package/src/iframe/order-process/components/Category/Category.tsx +3 -0
- package/src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx +16 -1
- package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +3 -0
- package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +3 -2
- package/src/iframe/order-process/components/StepsForm/StepsForm.tsx +3 -0
- package/src/iframe/payment/order-items-table/OrderItemsTable.stories.tsx +2 -0
- package/src/iframe/payment/order-items-table/hooks/useTableData.tsx +21 -14
- package/src/iframe/payment/order-items-table/utils/index.ts +55 -15
- package/src/iframe/payment/payment-page/PaymentPage.tsx +44 -5
- package/src/iframe/payment/payment-status-page/PaymentStatusPage.tsx +65 -12
- package/src/product-set/form/ProductCategoriesControl.tsx +4 -1
- package/src/product-set/form/ProductsControl.tsx +20 -1
- package/src/product-set/product/ProductControl.tsx +8 -8
- package/src/sales/guest-profile/previous-bookings/PreviousBookings.stories.tsx +35 -5
- package/src/sales/guest-profile/previous-bookings/PreviousBookings.tsx +11 -3
- package/src/sales/manual-booking/select-menu/SelectMenu.tsx +1 -1
- package/src/styles/customers/Filter.scss +23 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { AttemptPaymentResponse } from "@licklist/plugins/dist/hooks/Ryft/useRyftPayment";
|
|
3
3
|
export declare const ryftErrorMap: Record<string, string>;
|
|
4
|
-
export
|
|
4
|
+
export type RyftPaymentFormValues = Record<string, never>;
|
|
5
5
|
export interface RyftPaymentFormProps {
|
|
6
6
|
accountId: any;
|
|
7
7
|
isCreateLoading: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RyftPaymentForm.d.ts","sourceRoot":"","sources":["../../../src/iframe/ryft/RyftPaymentForm.tsx"],"names":[],"mappings":";AAQA,OAAO,EAKL,sBAAsB,EACvB,MAAM,kDAAkD,CAAC;AAG1D,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAW/C,CAAC;AAEF,
|
|
1
|
+
{"version":3,"file":"RyftPaymentForm.d.ts","sourceRoot":"","sources":["../../../src/iframe/ryft/RyftPaymentForm.tsx"],"names":[],"mappings":";AAQA,OAAO,EAKL,sBAAsB,EACvB,MAAM,kDAAkD,CAAC;AAG1D,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAW/C,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;AAE1D,MAAM,WAAW,oBAAoB;IAEnC,SAAS,EAAE,GAAG,CAAC;IACf,eAAe,EAAE,OAAO,CAAC;IACzB,QAAQ,EAAE,CACR,SAAS,EAAE,MAAM,IAAI,EACrB,SAAS,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,KAChC,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,QAAQ,EAAE,MAAM,OAAO,CAAC,sBAAsB,CAAC,CAAC;IAChD,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B;AAED,eAAO,MAAM,eAAe,uEAMzB,oBAAoB,gBAmJtB,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
export
|
|
2
|
+
export type ConfirmAction = () => void;
|
|
3
3
|
export declare const ConfirmModalType: {
|
|
4
4
|
readonly remove: "remove";
|
|
5
5
|
readonly default: "default";
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type ConfirmModalTypes = typeof ConfirmModalType[keyof typeof ConfirmModalType];
|
|
8
8
|
export interface ConfirmModalProps {
|
|
9
9
|
type?: ConfirmModalTypes;
|
|
10
10
|
children?: (confirm: (action: ConfirmAction) => void) => ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfirmModal.d.ts","sourceRoot":"","sources":["../../../src/modals/confirmation/ConfirmModal.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAoB,MAAM,OAAO,CAAC;AAU3D,
|
|
1
|
+
{"version":3,"file":"ConfirmModal.d.ts","sourceRoot":"","sources":["../../../src/modals/confirmation/ConfirmModal.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAoB,MAAM,OAAO,CAAC;AAU3D,MAAM,MAAM,aAAa,GAAG,MAAM,IAAI,CAAC;AACvC,eAAO,MAAM,gBAAgB;;;CAGnB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAC3B,OAAO,gBAAgB,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAEzD,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,iBAAiB,CAAC;IACzB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,KAAK,SAAS,CAAC;IACnE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,4BAA4B,0BAA0B,CAAC;AACpE,eAAO,MAAM,4BAA4B,0BAA0B,CAAC;AACpE,eAAO,MAAM,qBAAqB,EAAE,SAAS,MAAM,EAGlD,CAAC;AAEF,wBAAgB,YAAY,CAAC,EAC3B,IAAgB,EAChB,QAAQ,EACR,OAAO,EACP,KAAK,EACL,OAAO,EACP,WAAmB,GACpB,EAAE,iBAAiB,eAoGnB"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const depositPaidAmountTypes: readonly ["%", "£"];
|
|
3
3
|
declare const depositPaidPeriodTypes: readonly ["mins", "hours", "days"];
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export
|
|
4
|
+
type DepositPaidAmountType = typeof depositPaidAmountTypes[number];
|
|
5
|
+
type DepositPaidPeriodType = typeof depositPaidPeriodTypes[number];
|
|
6
|
+
export type ProductSetDepositPaidControlValues = {
|
|
7
7
|
depositPaidAmount: number;
|
|
8
8
|
depositPaidPeriod: number;
|
|
9
9
|
depositPaidAmountType: DepositPaidAmountType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductSetDepositPaidControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/deposit-paid/ProductSetDepositPaidControl.tsx"],"names":[],"mappings":";AASA,QAAA,MAAM,sBAAsB,qBAAsB,CAAC;AACnD,QAAA,MAAM,sBAAsB,oCAAqC,CAAC;AAElE,
|
|
1
|
+
{"version":3,"file":"ProductSetDepositPaidControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/deposit-paid/ProductSetDepositPaidControl.tsx"],"names":[],"mappings":";AASA,QAAA,MAAM,sBAAsB,qBAAsB,CAAC;AACnD,QAAA,MAAM,sBAAsB,oCAAqC,CAAC;AAElE,KAAK,qBAAqB,GAAG,OAAO,sBAAsB,CAAC,MAAM,CAAC,CAAC;AACnE,KAAK,qBAAqB,GAAG,OAAO,sBAAsB,CAAC,MAAM,CAAC,CAAC;AAEnE,MAAM,MAAM,kCAAkC,GAAG;IAC/C,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,qBAAqB,EAAE,qBAAqB,CAAC;IAC7C,qBAAqB,EAAE,qBAAqB,CAAC;CAC9C,CAAC;AAEF,MAAM,WAAW,iCAAiC;IAChD,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,4BAA4B,CAC1C,KAAK,EAAE,iCAAiC,eAmKzC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IsDeletableEvent } from "../types";
|
|
3
|
-
export
|
|
3
|
+
export type DeleteFieldButtonProps = IsDeletableEvent;
|
|
4
4
|
export declare function DeleteFieldButton({ onDelete }: DeleteFieldButtonProps): JSX.Element;
|
|
5
5
|
//# sourceMappingURL=DeleteFieldButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteFieldButton.d.ts","sourceRoot":"","sources":["../../../src/product-set/elements/DeleteFieldButton.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAG5C,
|
|
1
|
+
{"version":3,"file":"DeleteFieldButton.d.ts","sourceRoot":"","sources":["../../../src/product-set/elements/DeleteFieldButton.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAG5C,MAAM,MAAM,sBAAsB,GAAG,gBAAgB,CAAC;AAEtD,wBAAgB,iBAAiB,CAAC,EAAE,QAAQ,EAAE,EAAE,sBAAsB,eAarE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductCategoriesControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/ProductCategoriesControl.tsx"],"names":[],"mappings":";AAYA,OAAO,EAKL,YAAY,EACb,MAAM,kEAAkE,CAAC;AAQ1E,OAAO,EAAwB,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAQvE,UAAU,6BAA8B,SAAQ,aAAa;IAC3D,SAAS,EAAE,MAAM,CAAC;CACnB;AA4BD,wBAAgB,wBAAwB,CAAC,EACvC,SAAS,EACT,SAAS,GACV,EAAE,6BAA6B,
|
|
1
|
+
{"version":3,"file":"ProductCategoriesControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/ProductCategoriesControl.tsx"],"names":[],"mappings":";AAYA,OAAO,EAKL,YAAY,EACb,MAAM,kEAAkE,CAAC;AAQ1E,OAAO,EAAwB,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAQvE,UAAU,6BAA8B,SAAQ,aAAa;IAC3D,SAAS,EAAE,MAAM,CAAC;CACnB;AA4BD,wBAAgB,wBAAwB,CAAC,EACvC,SAAS,EACT,SAAS,GACV,EAAE,6BAA6B,eAyR/B;AAED,eAAO,MAAM,cAAc,iBACX,YAAY,SACnB,MAAM;WACH,MAAM;eAAa,MAAM;CAcpC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var t=require("tslib"),r=require("react"),n=e(r),o=require("react-i18next"),i=require("react-bootstrap"),a=require("react-hook-form"),u=e(require("@licklist/plugins/dist/services/Form/HookFormService")),d=e(require("clsx")),l=require("@dnd-kit/core"),s=require("lodash"),c=require("../../sortable-tree/SortableTreeItem.js"),m=require("../../sortable-tree/SortableTree.js"),p=require("../item/CreateProductSetItem.js"),g=require("./context.js"),v=require("@licklist/core/dist/DataMapper/Product/ProductCategoryDataMapper"),f=require("../product-category/ProductCategoryControl.js"),y=require("./ProductsControl.js"),C=require("./SelectCategoryModal.js"),E=require("./VenueMapSetModal.js"),_=require("../utils/index.js");var b=function(e,t){return e===v.CATEGORY_TYPE_GAME?{className:"game-badge",label:t}:e===v.CATEGORY_TYPE_FIXED_DURATION?{className:"fixed-duration-badge",label:t}:null};exports.ProductCategoriesControl=function(e){var I,S,q,T,x,P,N=e.isLoading,M=e.stepIndex,A=o.useTranslation("Design").t,h=r.useContext(g.ProductSetLoadingContext),k=h.providerHasMap,j=h.expandedProductCategories,D=h.setExpandedProductCategories,R=a.useFormContext(),V=t.__read(r.useState(!1),2),Y=V[0],F=V[1],O=t.__read(r.useState(!1),2),B=O[0],L=O[1],w=t.__read(r.useState(!1),2),G=w[0],H=w[1],
|
|
1
|
+
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var t=require("tslib"),r=require("react"),n=e(r),o=require("react-i18next"),i=require("react-bootstrap"),a=require("react-hook-form"),u=e(require("@licklist/plugins/dist/services/Form/HookFormService")),d=e(require("clsx")),l=require("@dnd-kit/core"),s=require("lodash"),c=require("../../sortable-tree/SortableTreeItem.js"),m=require("../../sortable-tree/SortableTree.js"),p=require("../item/CreateProductSetItem.js"),g=require("./context.js"),v=require("@licklist/core/dist/DataMapper/Product/ProductCategoryDataMapper"),f=require("../product-category/ProductCategoryControl.js"),y=require("./ProductsControl.js"),C=require("./SelectCategoryModal.js"),E=require("./VenueMapSetModal.js"),_=require("../utils/index.js");var b=function(e,t){return e===v.CATEGORY_TYPE_GAME?{className:"game-badge",label:t}:e===v.CATEGORY_TYPE_FIXED_DURATION?{className:"fixed-duration-badge",label:t}:null};exports.ProductCategoriesControl=function(e){var I,S,q,T,x,P,N=e.isLoading,M=e.stepIndex,A=o.useTranslation("Design").t,h=r.useContext(g.ProductSetLoadingContext),k=h.providerHasMap,j=h.expandedProductCategories,D=h.setExpandedProductCategories,R=a.useFormContext(),V=t.__read(r.useState(!1),2),Y=V[0],F=V[1],O=t.__read(r.useState(!1),2),B=O[0],L=O[1],w=t.__read(r.useState(!1),2),G=w[0],H=w[1],U=R.control,Q=R.formState.errors,K=R.clearErrors,z=R.watch,W=R.trigger,X=R.getValues,J=R.setValue,Z=z("steps.".concat(M,".hasMap"))||!1,$="steps.".concat(M,".productCategories"),ee=a.useFieldArray({name:$,control:U,keyName:"_id"}),te=ee.fields,re=ee.append,ne=ee.remove,oe=t.__read(r.useState({}),2),ie=oe[0],ae=oe[1],ue=a.useWatch({control:U,name:$}),de=null===(S=null===(I=null==Q?void 0:Q.steps)||void 0===I?void 0:I[M])||void 0===S?void 0:S.productCategories,le=null===(T=null===(q=null==Q?void 0:Q.steps)||void 0===q?void 0:q[M])||void 0===T?void 0:T.venueMapSetId,se=null===(P=null===(x=null==Q?void 0:Q.steps)||void 0===x?void 0:x[M])||void 0===P?void 0:P.pointProducts,ce=Boolean(le||se),me=l.useSensor(l.MouseSensor,{activationConstraint:{distance:10}});return r.useEffect((function(){ue&&ue.length&&ue.forEach((function(e){var r,n,o=null===(r=e.products)||void 0===r?void 0:r.reduce((function(e,t){return e+Number(t.price)*Number(t.totalQuantity)}),0),i=null===(n=e.products)||void 0===n?void 0:n.reduce((function(e,t){return e+(t.isUnlimited?0:Number(t.totalQuantity))}),0);ae((function(r){var n;return t.__assign(t.__assign({},r),((n={})[(null==e?void 0:e.id)||e.uniqueId]={price:o,quantity:i},n))}))}))}),[ue]),r.useEffect((function(){1===te.length&&D((function(e){var r,n,o;return t.__assign(t.__assign({},e),((r={})[String((null===(n=te[0])||void 0===n?void 0:n.id)||(null===(o=te[0])||void 0===o?void 0:o.uniqueId))]=!0,r))}))}),[te]),n.createElement(n.Fragment,null,n.createElement(m.SortableTree,{sensors:[me],items:te.map((function(e){return String(e._id)})),onDragEnd:function(e){var t=e.active,r=e.over;if(t&&r&&(null==t?void 0:t.id)&&(null==r?void 0:r.id)){var n=te.findIndex((function(e){return e._id===t.id})),o=te.findIndex((function(e){return e._id===r.id}));if(n!==o){var i=X($);if(i){var a=_.sortArrayByIndex(_.moveArrayElements(i,n,o));J($,a)}}}}},te.map((function(e,r){var o=(null==e?void 0:e.id)?String(e.id):e.uniqueId,u=function(){!function(e){D((function(r){var n;return t.__assign(t.__assign({},r),((n={})[e]=!r[e],n))}))}(o)};return n.createElement(a.Controller,{key:"product-category-".concat(e._id),name:"".concat($,".").concat(r,".name"),control:U,rules:{required:A("Validation:fieldRequired",{attribute:A("name")})},render:function(t){var a,d,l,s=t.field,p=s.value,g=s.onChange;return n.createElement(m.SortableTree.Item,{id:e._id,title:p,isExpanded:j[o],setIsExpanded:u,isInvalid:!!de,badge:n.createElement(i.Badge,{className:"category-badge"},A("productCategory")),isIconInHeader:!1,subTitle:n.createElement("div",{className:"product-set-badges-container"},n.createElement("div",{className:"product-set-subtitle-dot product-set-subtitle-category-dot"}),n.createElement("span",null,null!==(l=null===(d=ie[null!==(a=null==e?void 0:e.id)&&void 0!==a?a:e.uniqueId])||void 0===d?void 0:d.quantity)&&void 0!==l?l:"N/A"," ",A("products"))),treeLineIconColor:"#1A93AA",modalLabel:A("addNewCategory"),secondaryBadge:b(e.type,A(e.type)),modalClass:c.ProductSetModalClasses.category,isNewAdded:G,body:n.createElement(f.ProductCategoryControl,{isLoading:N,onCategoryNameChange:g,categoryName:p,stepIndex:M,productCategoryIndex:r}),onDelete:function(){return ne(r)},validate:function(){return W("steps.".concat(M,".productCategories.").concat(r))},sortableItems:e.products?e.products.filter((function(e){return e.id})).map((function(e){var t=e.id;return String(t)})):[]},n.createElement(y.ProductsControl,{isLoading:N,quantityType:e.quantityType,hasTicket:null==e?void 0:e.hasTicket,stepIndex:M,productCategoryIndex:r,categoryType:e.type}))}})}))),n.createElement(p.CreateProductSetItem,{title:A("addCategory"),onClick:function(){F(!0)}}),n.createElement(C.SelectCategoryModal,{isVisible:Y,onHide:function(){return F(!1)},onCategorySelect:function(e){re(function(e,t){return{id:null,uniqueId:s.uniqueId("product-category"),name:"",minSubItems:null,maxSubItems:null,quantityType:v.QUANTITY_TYPE_STANDARD,type:e,isRelyOnPeople:e===v.CATEGORY_TYPE_TICKETS,isTimeRelated:!1,collectUserInfo:!1,hasTicket:e===v.CATEGORY_TYPE_TICKETS,allowDeposits:!1,remainderExpireAfter:void 0,hasBookingManagement:!1,weight:0,isReusable:!1,hasSubEvents:!1,products:[],zoneId:null,sort:t}}(e,te.length)),H(!0),(null==de?void 0:de.type)===u.manualErrorType&&K($)}}),k&&Z&&n.createElement(n.Fragment,null,n.createElement(p.CreateProductSetItem,{title:A("editMap"),onClick:function(){L(!0)},className:d("mt-3",ce&&"mb-3",ce&&"is-invalid")}),ce&&n.createElement("div",{className:"manual-form-error"},le&&A("Validation:fieldRequired",{attribute:A("Design:venueMapSet")}),se&&A("Validation:fieldMinNumber",{attribute:A("pointProduct"),min:1})),n.createElement(E.VenueMapSetModal,{isVisible:B,setIsVisible:L,stepIndex:M})),n.createElement("div",{className:"manual-form-error"},de&&de.message))},exports.getBadgeConfig=b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductsControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/ProductsControl.tsx"],"names":[],"mappings":";AAeA,OAAO,EAAE,YAAY,EAAE,MAAM,kEAAkE,CAAC;AAChG,OAAO,EAAkB,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;AAI/E,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAOjD,UAAU,oBAAqB,SAAQ,aAAa;IAClD,YAAY,EAAE,mBAAmB,CAAC,oBAAoB,CAAC,CAAC,cAAc,CAAC,CAAC;IACxE,SAAS,EAAE,MAAM,CAAC;IAClB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,YAAY,CAAC;CAC5B;AAmCD,wBAAgB,eAAe,CAAC,EAC9B,SAAS,EACT,YAAY,EACZ,SAAS,EACT,oBAAoB,EACpB,SAAS,EACT,YAAY,GACb,EAAE,oBAAoB,
|
|
1
|
+
{"version":3,"file":"ProductsControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/ProductsControl.tsx"],"names":[],"mappings":";AAeA,OAAO,EAAE,YAAY,EAAE,MAAM,kEAAkE,CAAC;AAChG,OAAO,EAAkB,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,IAAI,CAAC;AAI/E,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAOjD,UAAU,oBAAqB,SAAQ,aAAa;IAClD,YAAY,EAAE,mBAAmB,CAAC,oBAAoB,CAAC,CAAC,cAAc,CAAC,CAAC;IACxE,SAAS,EAAE,MAAM,CAAC;IAClB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,YAAY,CAAC;CAC5B;AAmCD,wBAAgB,eAAe,CAAC,EAC9B,SAAS,EACT,YAAY,EACZ,SAAS,EACT,oBAAoB,EACpB,SAAS,EACT,YAAY,GACb,EAAE,oBAAoB,eAqMtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var t=require("tslib"),r=require("react"),o=e(r),n=require("react-i18next"),a=require("react-bootstrap"),i=require("react-hook-form"),c=e(require("@licklist/plugins/dist/services/Form/HookFormService")),u=require("@dnd-kit/core"),d=require("lodash");require("../elements/DeleteFieldButton.js");var s=require("../../sortable-tree/SortableTreeItem.js"),l=require("../../sortable-tree/SortableTree.js");require("../card/ProductSetCard.js");var p=require("../item/CreateProductSetItem.js");require("../step/StepControl.js"),require("../product-category/ProductCategoryControl.js");var m=require("@licklist/core/dist/DataMapper/Product/ProductDataMapper"),g=require("@licklist/core/dist/Services");require("../product/booking-management/ProductBookingManagementControl.js"),require("../product/deposit/ProductDepositControl.js"),require("../product/quantity/ProductQuantityControl.js"),require("../product/quantity/ProductQuantityConstantControl.js"),require("../product/quantity/ProductQuantityRechargingControl.js");var
|
|
1
|
+
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var t=require("tslib"),r=require("react"),o=e(r),n=require("react-i18next"),a=require("react-bootstrap"),i=require("react-hook-form"),c=e(require("@licklist/plugins/dist/services/Form/HookFormService")),u=require("@dnd-kit/core"),d=require("lodash");require("../elements/DeleteFieldButton.js");var s=require("../../sortable-tree/SortableTreeItem.js"),l=require("../../sortable-tree/SortableTree.js");require("../card/ProductSetCard.js");var p=require("../item/CreateProductSetItem.js");require("../step/StepControl.js"),require("../product-category/ProductCategoryControl.js");var m=require("@licklist/core/dist/DataMapper/Product/ProductDataMapper"),g=require("@licklist/core/dist/Services");require("../product/booking-management/ProductBookingManagementControl.js"),require("../product/deposit/ProductDepositControl.js"),require("../product/quantity/ProductQuantityControl.js"),require("../product/quantity/ProductQuantityConstantControl.js"),require("../product/quantity/ProductQuantityRechargingControl.js");var v=require("../product/ProductControl.js"),q=require("./SubProductsControl.js"),y=require("./ProductCategoriesControl.js");require("../control/ProductSetControl.js"),require("../deposit-paid/ProductSetDepositPaidControl.js"),require("./ProductSetForm.js"),require("../popover/ProductSetPopover.js"),require("../tabs/ProductSetTab.js"),require("../tabs/ProductSetTabs.js");exports.ProductsControl=function(e){var f,C,P,b,S=e.isLoading,_=e.quantityType,j=e.stepIndex,T=e.productCategoryIndex,E=e.hasTicket,h=e.categoryType,I=n.useTranslation("Design").t,k=i.useFormContext(),x=t.__read(r.useState(!1),2),D=x[0],N=x[1],A=k.control,F=k.formState.errors,M=k.clearErrors,Q=k.trigger,w=k.setValue,B=k.watch,U=k.getValues,L="steps.".concat(j,".productCategories.").concat(T,".products"),R="steps.".concat(j,".pointProducts"),O=i.useFieldArray({name:L,control:A,keyName:"_id"}),V=O.fields,W=O.append,H=O.remove,z=O.move,G=B("steps.".concat(j,".productCategories.").concat(T,".allowDeposits")),Y=i.useWatch({control:A,name:t.__spreadArray([],t.__read(V.map((function(e,t){return"".concat(L,".").concat(t,".price")}))),!1)}),J=i.useWatch({control:A,name:t.__spreadArray([],t.__read(V.map((function(e,t){return"".concat(L,".").concat(t,".totalQuantity")}))),!1)}),K=i.useWatch({control:A,name:t.__spreadArray([],t.__read(V.map((function(e,t){return"".concat(L,".").concat(t,".isUnlimited")}))),!1)}),X=null===(b=null===(P=null===(C=null===(f=null==F?void 0:F.steps)||void 0===f?void 0:f[j])||void 0===C?void 0:C.productCategories)||void 0===P?void 0:P[T])||void 0===b?void 0:b.products,Z=1===V.length,$=u.useSensor(u.MouseSensor,{activationConstraint:{distance:10}});return o.createElement(o.Fragment,null,o.createElement(l.SortableTree,{items:V.map((function(e){return String(e._id)})),onDragEnd:function(e){var t=e.active,r=e.over;if(t&&r&&(null==t?void 0:t.id)&&(null==r?void 0:r.id)){var o=V.findIndex((function(e){return e._id===t.id})),n=V.findIndex((function(e){return e._id===r.id}));o!==n&&(z(o,n),V.forEach((function(e,t){w("".concat(L,".").concat(t,".sort"),t)})))}},sensors:[$]},V.map((function(e,t){return o.createElement(i.Controller,{key:e._id,control:A,name:"".concat(L,".").concat(t,".name"),rules:{required:I("Validation:fieldRequired",{attribute:I("name")})},render:function(r){var n=r.field,i=n.value,c=n.onChange;return o.createElement(l.SortableTree.Item,{key:"product-".concat(e._id),id:String(e._id),isExpanded:Z,isInvalid:!!X,title:i,badge:o.createElement(a.Badge,{className:"product-badge"},I("product")),isIconInHeader:!1,secondaryBadge:y.getBadgeConfig(h,I(h)),subTitle:o.createElement("div",{className:"product-set-badges-container"},o.createElement("div",{className:"product-set-subtitle-dot product-set-subtitle-product-dot"}),o.createElement("span",null,"£".concat(Y[t]," ").concat(I("each")," - ").concat(I("qty"),":").concat(K[t]?I(" unlimited"):" ".concat(J[t])," ").concat(K[t]?"":" - ".concat(I("possibleRevenue")," £").concat(Y[t]*J[t])," "))),modalLabel:I("addNewProduct"),modalClass:s.ProductSetModalClasses.product,isNewAdded:D,body:o.createElement(v.ProductControl,{isLoading:S,quantityType:_,allowDeposits:G,hasBookingManagement:!1,fieldNamePrefix:"".concat(L,".").concat(t),productName:i,onProductNameChange:c,hasTicket:E,categoryType:h}),onDelete:function(){return function(e){var t=U("".concat(L,".").concat(e)),r=U(R);w(R,(null==r?void 0:r.filter((function(e){return e.productUuid!==t.uuid})))||[]),H(e)}(t)},validate:function(){return Q("".concat(L,".").concat(t))}},o.createElement(q.SubProductsControl,{isLoading:S,quantityType:_,stepIndex:j,productCategoryIndex:T,productIndex:t}))}})}))),o.createElement(p.CreateProductSetItem,{title:I("addProduct"),onClick:function(){var e;W((e=V.length,{id:null,name:"",termsAndConditions:"",productGroupId:null,description:"",price:0,deposit:0,minQuantity:null,maxQuantity:null,totalQuantity:0,capacity:0,duration:0,isAvailable:!0,isSoldOut:!1,isRequired:!1,isUnlimited:!1,quantitySelector:1,hasSpecialNotes:!1,weight:0,type:m.DEFAULT_PRODUCT_TYPE,tierId:Number(d.uniqueId()),zoneId:null,subProducts:[],images:[],uuid:g.generateUuid(),subSlots:null,offset:null,pause:null,serviceTime:null,sort:e})),N(!0),(null==X?void 0:X.type)===c.manualErrorType&&M(L)}}),o.createElement("div",{className:"manual-form-error"},X&&X.message))};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VenueMapSetModal.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/VenueMapSetModal.tsx"],"names":[],"mappings":";AAeA,
|
|
1
|
+
{"version":3,"file":"VenueMapSetModal.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/VenueMapSetModal.tsx"],"names":[],"mappings":";AAeA,KAAK,qBAAqB,GAAG;IAC3B,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,gBAAgB,4CAI1B,qBAAqB,gBAuMvB,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { VenueMap } from "@licklist/core/dist/DataMapper/Product/VenueMapDataMapper";
|
|
3
3
|
import { PointProduct } from "@licklist/core/dist/DataMapper/Product/PointProductDataMapper";
|
|
4
4
|
import { Product } from "../types";
|
|
5
|
-
|
|
5
|
+
type VenueMapsControlProps = {
|
|
6
6
|
venueMaps?: VenueMap[];
|
|
7
7
|
products?: Partial<Product>[];
|
|
8
8
|
pointProducts?: Partial<PointProduct>[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VenueMapsControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/VenueMapsControl.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,2DAA2D,CAAC;AAErF,OAAO,EAAE,YAAY,EAAE,MAAM,+DAA+D,CAAC;AAG7F,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,
|
|
1
|
+
{"version":3,"file":"VenueMapsControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/VenueMapsControl.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,2DAA2D,CAAC;AAErF,OAAO,EAAE,YAAY,EAAE,MAAM,+DAA+D,CAAC;AAG7F,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAEnC,KAAK,qBAAqB,GAAG;IAC3B,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;IAC9B,aAAa,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,CAAC;IACxC,qBAAqB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,YAAY,CAAC,EAAE,KAAK,IAAI,CAAC;CAClE,CAAC;AAEF,eAAO,MAAM,gBAAgB,mEAK1B,qBAAqB,gBA6DvB,CAAC"}
|
|
@@ -15,7 +15,7 @@ interface LoadingContext {
|
|
|
15
15
|
setExpandedProductCategories: Dispatch<SetStateAction<Record<string, boolean>>>;
|
|
16
16
|
}
|
|
17
17
|
export declare const ProductSetLoadingContext: React.Context<LoadingContext>;
|
|
18
|
-
|
|
18
|
+
type ProductSetContextProviderProps = PropsWithChildren<Omit<LoadingContext, "isLoading" | "setLoading" | "expandedProductCategories" | "setExpandedProductCategories">>;
|
|
19
19
|
export declare function ProductSetContextProvider({ children, productGroupList, providerHasMap, venueMapSets, providerHasBookingManagement, zones, }: ProductSetContextProviderProps): JSX.Element;
|
|
20
20
|
export {};
|
|
21
21
|
//# sourceMappingURL=context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,iBAAiB,EACjB,cAAc,EAId,QAAQ,EACT,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,WAAW,EAAE,MAAM,8DAA8D,CAAC;AAE3F,OAAO,EAAE,gCAAgC,EAAE,MAAM,oFAAoF,CAAC;AACtI,OAAO,EAAE,IAAI,EAAE,MAAM,wDAAwD,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAE5D,UAAU,cAAc;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,gBAAgB,CAAC,EAAE,UAAU,EAAE,CAAC;IAChC,cAAc,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAChC,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,4BAA4B,CAAC,EAAE,gCAAgC,CAAC,sBAAsB,CAAC,CAAC;IACxF,KAAK,CAAC,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IACtB,yBAAyB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnD,4BAA4B,EAAE,QAAQ,CACpC,cAAc,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CACxC,CAAC;CACH;AAED,eAAO,MAAM,wBAAwB,+BAEpC,CAAC;AAEF,
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/context.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,iBAAiB,EACjB,cAAc,EAId,QAAQ,EACT,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,WAAW,EAAE,MAAM,8DAA8D,CAAC;AAE3F,OAAO,EAAE,gCAAgC,EAAE,MAAM,oFAAoF,CAAC;AACtI,OAAO,EAAE,IAAI,EAAE,MAAM,wDAAwD,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAE5D,UAAU,cAAc;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,gBAAgB,CAAC,EAAE,UAAU,EAAE,CAAC;IAChC,cAAc,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAChC,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,4BAA4B,CAAC,EAAE,gCAAgC,CAAC,sBAAsB,CAAC,CAAC;IACxF,KAAK,CAAC,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IACtB,yBAAyB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnD,4BAA4B,EAAE,QAAQ,CACpC,cAAc,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CACxC,CAAC;CACH;AAED,eAAO,MAAM,wBAAwB,+BAEpC,CAAC;AAEF,KAAK,8BAA8B,GAAG,iBAAiB,CACrD,IAAI,CACF,cAAc,EACZ,WAAW,GACX,YAAY,GACZ,2BAA2B,GAC3B,8BAA8B,CACjC,CACF,CAAC;AAEF,wBAAgB,yBAAyB,CAAC,EACxC,QAAQ,EACR,gBAAqB,EACrB,cAAsB,EACtB,YAAiB,EACjB,4BAA4B,EAC5B,KAAK,GACN,EAAE,8BAA8B,eA0BhC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { Placement } from "react-bootstrap/esm/Overlay";
|
|
3
3
|
import { OverlayTriggerType } from "react-bootstrap/OverlayTrigger";
|
|
4
|
-
export
|
|
4
|
+
export type ProductSetPopoverProps = {
|
|
5
5
|
title?: string;
|
|
6
6
|
placement?: Placement;
|
|
7
7
|
isVisible?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductSetPopover.d.ts","sourceRoot":"","sources":["../../../src/product-set/popover/ProductSetPopover.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAE7D,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAuB,EACrB,kBAAkB,EACnB,MAAM,gCAAgC,CAAC;AAIxC,
|
|
1
|
+
{"version":3,"file":"ProductSetPopover.d.ts","sourceRoot":"","sources":["../../../src/product-set/popover/ProductSetPopover.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAwC,MAAM,OAAO,CAAC;AAE7D,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAuB,EACrB,kBAAkB,EACnB,MAAM,gCAAgC,CAAC;AAIxC,MAAM,MAAM,sBAAsB,GAAG;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,kBAAkB,GAAG,kBAAkB,EAAE,CAAC;IACpD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,iBAAiB;;wCAmD7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var t=require("tslib"),a=require("react"),n=e(a),r=require("react-i18next"),o=e(require("react-bootstrap/Row")),l=e(require("react-bootstrap/Col")),i=require("react-bootstrap"),c=require("../../static/Icon.js"),s=require("react-hook-form"),m=e(require("@licklist/plugins/dist/services/Form/HookFormService")),u=require("@react-aria/utils"),d=require("../../static/switch/BooleanSwitch.js"),E=require("../../static/form-number-input/FormNumberInput.js");require("../../static/index.js");var p=require("../form/context.js"),g=require("@licklist/core/dist/DataMapper/Product/ProductCategoryDataMapper"),f=require("./booking-management/ProductBookingManagementControl.js"),C=require("./deposit/ProductDepositControl.js"),v=require("./quantity/ProductQuantityControl.js"),b=require("./quantity/ProductQuantityConstantControl.js"),h=require("./quantity/ProductQuantityRechargingControl.js"),F=e(require("react-bootstrap/Collapse")),I=require("@licklist/plugins/dist/hooks/Media/useImages"),N=require("@licklist/core/dist/DataMapper/Media/ImageDataMapper"),P=require("../../file-upload/FileUpload.js"),q=require("../../tiptap-editor/TipTapEditor.js"),y=require("./fixed-duration-fields/FixedDurationOptions.js"),k=require("./duration/ProductDurationControl.js"),x=require("./price/ProductPriceControl.js");exports.ProductControl=function(e){var T=e.isLoading,_=void 0!==T&&T,L=e.fieldNamePrefix,j=e.allowDeposits,
|
|
1
|
+
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var t=require("tslib"),a=require("react"),n=e(a),r=require("react-i18next"),o=e(require("react-bootstrap/Row")),l=e(require("react-bootstrap/Col")),i=require("react-bootstrap"),c=require("../../static/Icon.js"),s=require("react-hook-form"),m=e(require("@licklist/plugins/dist/services/Form/HookFormService")),u=require("@react-aria/utils"),d=require("../../static/switch/BooleanSwitch.js"),E=require("../../static/form-number-input/FormNumberInput.js");require("../../static/index.js");var p=require("../form/context.js"),g=require("@licklist/core/dist/DataMapper/Product/ProductCategoryDataMapper"),f=require("./booking-management/ProductBookingManagementControl.js"),C=require("./deposit/ProductDepositControl.js"),v=require("./quantity/ProductQuantityControl.js"),b=require("./quantity/ProductQuantityConstantControl.js"),h=require("./quantity/ProductQuantityRechargingControl.js"),F=e(require("react-bootstrap/Collapse")),I=require("@licklist/plugins/dist/hooks/Media/useImages"),N=require("@licklist/core/dist/DataMapper/Media/ImageDataMapper"),P=require("../../file-upload/FileUpload.js"),q=require("../../tiptap-editor/TipTapEditor.js"),y=require("./fixed-duration-fields/FixedDurationOptions.js"),k=require("./duration/ProductDurationControl.js"),x=require("./price/ProductPriceControl.js");exports.ProductControl=function(e){var T=e.isLoading,_=void 0!==T&&T,L=e.fieldNamePrefix,j=e.allowDeposits,S=void 0!==j&&j,w=e.hasBookingManagement,A=void 0!==w&&w,D=e.zoneList,G=void 0===D?[]:D,B=e.onCopy,M=e.onProductNameChange,R=e.productName,O=e.hasTicket,U=e.categoryType,Y=s.useFormContext(),Q=Y.register,V=Y.control,H=Y.formState.errors,z=Y.setValue,X=Y.getValues,W=Y.watch,J=a.useContext(p.ProductSetLoadingContext),K=J.setLoading,Z=J.providerHasBookingManagement,$=r.useTranslation("Design").t,ee=t.__read(a.useState(!1),2),te=ee[0],ae=ee[1],ne=t.__read(a.useState(null),2),re=ne[0],oe=ne[1],le=Boolean(W("".concat(L,".isUnlimited"))),ie=u.useId(),ce=u.useId(),se=u.useId(),me=u.useId(),ue=u.useId(),de=u.useId(),Ee=u.useId(),pe=u.useId(),ge=u.useId(),fe=u.useId(),Ce=[{id:1,value:$("quantitySelector")},{id:2,value:$("stockControl")}],ve=a.useCallback((function(){return ae((function(e){return!e}))}),[]),be=s.useWatch({control:V,name:"".concat(L,".quantitySelector")}),he=I.useImages(re),Fe=he.images,Ie=he.handleImageRemove,Ne=he.handleImageUploading,Pe=he.isLoading,qe=a.useCallback((function(e){Ne(e,N.IMAGE_TYPE_IMAGE)}),[Ne]),ye=a.useCallback((function(e,t){Ie(String(e),t)}),[Ie]),ke=function(e){return e.target.select()};a.useEffect((function(){K(Pe)}),[K,Pe]),a.useEffect((function(){var e=X("".concat(L,".images"));oe(e)}),[X,oe,L]),a.useEffect((function(){Array.isArray(Fe)&&z("".concat(L,".images"),Fe)}),[Fe,L,z]);var xe=null!=be?be:"1",Te=g.QUANTITY_TYPE_LIST_DTO[xe];return n.createElement(n.Fragment,null,n.createElement(o,null,n.createElement(l,{lg:8,md:8},n.createElement(i.Form.Group,{controlId:ce},n.createElement(i.Form.Label,null,$("name")),n.createElement(i.Form.Control,t.__assign({},Q("".concat(L,".name")),{value:R,onChange:M,isInvalid:m.isInvalid("".concat(L,".name"),H),disabled:_,placeholder:$("name")})),n.createElement(i.Form.Control.Feedback,{type:"invalid"},m.getErrors("".concat(L,".name"),H))),n.createElement(i.Form.Group,{controlId:se},n.createElement(i.Form.Label,null,$("description")),n.createElement(s.Controller,{render:function(e){var t=e.field,a=t.value,r=t.onChange;return n.createElement(q.TipTapEditor,{withEmoji:!1,viewMode:!1,onUpdate:r,content:a,disabled:_})},control:V,name:"".concat(L,".description")}),n.createElement(i.Form.Control.Feedback,{type:"invalid"},m.getErrors("".concat(L,".description"),H))),S?n.createElement(o,null,n.createElement(C.ProductDepositControl,{isLoading:_,fieldNamePrefix:L}),n.createElement(x.ProductPriceControl,{isLoading:_,fieldNamePrefix:L,title:$("totalPrice"),allowDeposits:S})):n.createElement(x.ProductPriceControl,{isLoading:_,fieldNamePrefix:L}),n.createElement("div",null,n.createElement(v.ProductQuantityControl,{isLoading:_,fieldNamePrefix:L,onFocus:ke}),Te===g.QUANTITY_TYPE_CONSTANT&&n.createElement(b.ProductQuantityConstantControl,{isLoading:_,fieldNamePrefix:L,onFocus:ke,disabled:le}),Te===g.QUANTITY_TYPE_RECHARGING&&n.createElement(h.ProductQuantityRechargingControl,{isLoading:_,fieldNamePrefix:L,onFocus:ke,disabled:le}),n.createElement(i.Form.Group,{controlId:fe,className:"custom-checkbox"},n.createElement(i.Form.Check,t.__assign({custom:!0,type:"checkbox"},Q("".concat(L,".isUnlimited")),{name:"".concat(L,".isUnlimited"),disabled:_})),n.createElement(i.Form.Check.Label,null,$("isUnlimited")))),n.createElement(i.Form.Group,{controlId:pe},n.createElement(i.Form.Label,null,$("quantitySelectorType")),n.createElement(i.Form.Control,t.__assign({as:"select",defaultValue:O?Ce[0].id:void 0},Q("".concat(L,".quantitySelector")),{isInvalid:m.isInvalid("".concat(L,".quantitySelector"),H),disabled:_||O}),Ce.map((function(e){return n.createElement("option",{value:e.id,key:e.id},e.value)}))),n.createElement(i.Form.Control.Feedback,{type:"invalid"},m.getErrors("".concat(L,".quantitySelector"),H))))),U===g.CATEGORY_TYPE_FIXED_DURATION&&n.createElement(o,{className:"align-items-start"},n.createElement(k.ProductDurationControl,{fieldNamePrefix:L,providerHasBookingManagement:Z}),n.createElement(l,{lg:4,md:4},n.createElement(E.FormNumberInput,{fieldName:"".concat(L,".capacity"),label:$("capacity")}))),U===g.CATEGORY_TYPE_GAME&&n.createElement(o,{className:"align-items-start"},n.createElement(l,{lg:4,md:4},n.createElement(E.FormNumberInput,{fieldName:"".concat(L,".capacity"),label:$("capacity"),rules:{min:{value:1,message:$("Validation:fieldRequired",{attribute:$("capacity")})}}})),n.createElement(l,{lg:4,md:4},n.createElement(E.FormNumberInput,{fieldName:"".concat(L,".duration"),label:$("durationMinutes"),rules:{min:{value:1,message:$("Validation:fieldRequired",{attribute:$("duration")})}}}))),n.createElement(o,null,n.createElement(l,{lg:8,md:8},n.createElement(i.Form.Group,{controlId:me},n.createElement(i.Form.Label,null,$("productTermsConditions")),n.createElement(s.Controller,{render:function(e){var t=e.field,a=t.value,r=t.onChange,o=t.name,l=t.ref;return n.createElement(i.Form.Control,{ref:l,as:"textarea",rows:3,value:a,onChange:r,isInvalid:m.isInvalid("".concat(L,".termsAndConditions"),H),disabled:_,name:o})},control:V,name:"".concat(L,".termsAndConditions")}),n.createElement(i.Form.Control.Feedback,{type:"invalid"},m.getErrors("".concat(L,".termsAndConditions"),H)))),n.createElement(l,{lg:4,md:4,className:"licklist-file-upload-wrapper"},n.createElement(P.FileUpload,{onFilesChange:qe,allowedExtensions:["jpeg","jpg","png"],subTitle:".jpeg .jpg .png",enablePreview:!0,onFileRemove:ye,defaultFiles:Fe,isLoading:Pe,withIcon:!0,title:$("addImage")}))),n.createElement(l,{lg:12,md:12,xl:!0,className:"p-0"},n.createElement(i.Form.Group,{controlId:ue,className:"advanced-switch-container"},n.createElement(i.Form.Label,null,$("isAvailable")),n.createElement(s.Controller,{render:function(e){var t=e.field,a=t.value,r=t.onChange,o=t.name;return n.createElement(d.BooleanSwitch,{name:o,value:Boolean(a),onChange:r,disabled:_})},control:V,name:"".concat(L,".isAvailable")})),n.createElement(i.Form.Group,{controlId:de,className:"advanced-switch-container"},n.createElement(i.Form.Label,null,$("isSoldOut")),n.createElement(s.Controller,{render:function(e){var t=e.field,a=t.value,r=t.onChange,o=t.name;return n.createElement(d.BooleanSwitch,{name:o,value:Boolean(a),onChange:r,disabled:_})},control:V,name:"".concat(L,".isSoldOut")})),n.createElement(i.Form.Group,{controlId:ie,className:"custom-checkbox"},n.createElement(i.Form.Check,{custom:!0,type:"checkbox",name:ie,disabled:_},n.createElement(i.Form.Check.Input,{checked:te,onChange:ve,type:"checkbox"}),n.createElement(i.Form.Check.Label,null,$("showAdvancedOptions"))))),n.createElement(l,{lg:12,md:12,xl:!0,className:"p-0"},n.createElement(F,{in:te},n.createElement("div",null,n.createElement(i.Form.Group,{controlId:Ee,className:"advanced-switch-container"},n.createElement(i.Form.Label,null,$("isRequired")),n.createElement(s.Controller,{render:function(e){var t=e.field,a=t.value,r=t.onChange,o=t.name;return n.createElement(d.BooleanSwitch,{name:o,value:Boolean(a),onChange:r,disabled:_})},control:V,name:"".concat(L,".isRequired")})),n.createElement(i.Form.Group,{controlId:ge,className:"advanced-switch-container"},n.createElement(i.Form.Label,null,$("hasSpecialNotes")),n.createElement(s.Controller,{render:function(e){var t=e.field,a=t.value,r=t.onChange,o=t.name;return n.createElement(d.BooleanSwitch,{name:o,value:Boolean(a),onChange:r,disabled:_})},control:V,name:"".concat(L,".hasSpecialNotes")})),U===g.CATEGORY_TYPE_FIXED_DURATION&&n.createElement(y.FixedDurationOptions,{fieldNamePrefix:L}))),n.createElement(o,null,n.createElement(l,{xs:12},A&&n.createElement(f.ProductBookingManagementControl,{isLoading:_,zoneList:G,fieldNamePrefix:L})))),n.createElement(o,null,n.createElement(l,{xs:!0},n.createElement("div",{className:"d-flex justify-content-end mt-4"},Boolean(B)&&n.createElement(i.Button,{onClick:B,variant:"link",className:"d-flex align-items-center"},n.createElement(c.default,{type:"clipboard",height:"1rem",className:"mr-2"})," ",$("copy"))))))};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { FieldNamePrefixPath } from "@licklist/plugins/dist/types/services/Form/hook-form-service";
|
|
3
|
-
|
|
3
|
+
type FixedDurationOptionsProps<T> = FieldNamePrefixPath<T>;
|
|
4
4
|
export declare const FixedDurationOptions: <T>({ fieldNamePrefix, }: FixedDurationOptionsProps<T>) => JSX.Element;
|
|
5
5
|
export {};
|
|
6
6
|
//# sourceMappingURL=FixedDurationOptions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FixedDurationOptions.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/fixed-duration-fields/FixedDurationOptions.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAC;AAInG,
|
|
1
|
+
{"version":3,"file":"FixedDurationOptions.d.ts","sourceRoot":"","sources":["../../../../src/product-set/product/fixed-duration-fields/FixedDurationOptions.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8DAA8D,CAAC;AAInG,KAAK,yBAAyB,CAAC,CAAC,IAAI,mBAAmB,CAAC,CAAC,CAAC,CAAC;AAE3D,eAAO,MAAM,oBAAoB,wEA2ChC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductSetTab.d.ts","sourceRoot":"","sources":["../../../src/product-set/tabs/ProductSetTab.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGjD,
|
|
1
|
+
{"version":3,"file":"ProductSetTab.d.ts","sourceRoot":"","sources":["../../../src/product-set/tabs/ProductSetTab.tsx"],"names":[],"mappings":"AAEA,OAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGjD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,iBAAiB,CAAC,kBAAkB,CAY/D,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { PropsWithChildren } from "react";
|
|
2
|
-
export
|
|
2
|
+
export type ProductSetTabsProps = {
|
|
3
3
|
defaultActiveKey?: string;
|
|
4
4
|
};
|
|
5
5
|
export declare function ProductSetTabs({ defaultActiveKey, children, }: PropsWithChildren<ProductSetTabsProps>): JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductSetTabs.d.ts","sourceRoot":"","sources":["../../../src/product-set/tabs/ProductSetTabs.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAIjD,
|
|
1
|
+
{"version":3,"file":"ProductSetTabs.d.ts","sourceRoot":"","sources":["../../../src/product-set/tabs/ProductSetTabs.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAIjD,MAAM,MAAM,mBAAmB,GAAG;IAChC,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,wBAAgB,cAAc,CAAC,EAC7B,gBAAgB,EAChB,QAAQ,GACT,EAAE,iBAAiB,CAAC,mBAAmB,CAAC,eAYxC;yBAfe,cAAc"}
|
|
@@ -2,20 +2,20 @@ import { WithId } from "../form";
|
|
|
2
2
|
import { ProductControlValues } from "../product";
|
|
3
3
|
import { ProductCategoryControlValues } from "../product-category";
|
|
4
4
|
import { StepControlValues } from "../step";
|
|
5
|
-
export
|
|
6
|
-
export
|
|
5
|
+
export type SubProduct = WithId & ProductControlValues;
|
|
6
|
+
export type Product = WithId & ProductControlValues & {
|
|
7
7
|
subProducts?: SubProduct[];
|
|
8
8
|
_id?: number;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type ProductCategory = WithId & ProductCategoryControlValues & {
|
|
11
11
|
products?: Product[];
|
|
12
12
|
_id?: number;
|
|
13
13
|
};
|
|
14
|
-
export
|
|
14
|
+
export type Step = WithId & StepControlValues & {
|
|
15
15
|
productCategories?: ProductCategory[];
|
|
16
16
|
_id?: number;
|
|
17
17
|
};
|
|
18
|
-
export
|
|
18
|
+
export type IsDeletableEvent = {
|
|
19
19
|
onDelete?: () => void;
|
|
20
20
|
};
|
|
21
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/product-set/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/product-set/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACjC,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,oBAAoB,CAAC;AAEvD,MAAM,MAAM,OAAO,GAAG,MAAM,GAC1B,oBAAoB,GAAG;IAAE,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAEtE,MAAM,MAAM,eAAe,GAAG,MAAM,GAClC,4BAA4B,GAAG;IAAE,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAExE,MAAM,MAAM,IAAI,GAAG,MAAM,GACvB,iBAAiB,GAAG;IAAE,iBAAiB,CAAC,EAAE,eAAe,EAAE,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAG9E,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { CategoryGroup } from "../../types/categories";
|
|
3
|
-
export
|
|
3
|
+
export type CategoriesInputProps = {
|
|
4
4
|
categories: CategoryGroup[];
|
|
5
5
|
};
|
|
6
6
|
export declare function CategoriesInput({ categories: groups }: CategoriesInputProps): JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CategoriesInput.d.ts","sourceRoot":"","sources":["../../../src/provider/categories-input/CategoriesInput.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAY,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEjE,
|
|
1
|
+
{"version":3,"file":"CategoriesInput.d.ts","sourceRoot":"","sources":["../../../src/provider/categories-input/CategoriesInput.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAY,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEjE,MAAM,MAAM,oBAAoB,GAAG;IACjC,UAAU,EAAE,aAAa,EAAE,CAAC;CAC7B,CAAC;AAkBF,wBAAgB,eAAe,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,oBAAoB,eAwB3E"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { CategoryGroup } from "../../types/categories";
|
|
3
|
-
export
|
|
3
|
+
export type CategoriesInputDescriptionProps = {
|
|
4
4
|
categories: CategoryGroup[];
|
|
5
5
|
};
|
|
6
6
|
export declare function CategoriesInputDescription({ categories: groups, }: CategoriesInputDescriptionProps): JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CategoriesInputDescription.d.ts","sourceRoot":"","sources":["../../../src/provider/categories-input/CategoriesInputDescription.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAGvD,
|
|
1
|
+
{"version":3,"file":"CategoriesInputDescription.d.ts","sourceRoot":"","sources":["../../../src/provider/categories-input/CategoriesInputDescription.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAGvD,MAAM,MAAM,+BAA+B,GAAG;IAC5C,UAAU,EAAE,aAAa,EAAE,CAAC;CAC7B,CAAC;AAEF,wBAAgB,0BAA0B,CAAC,EACzC,UAAU,EAAE,MAAM,GACnB,EAAE,+BAA+B,eAiCjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/provider/categories-input/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,8BAA8B,CAAC;AAE7C,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/provider/categories-input/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,8BAA8B,CAAC;AAE7C,MAAM,MAAM,qBAAqB,GAAG;IAClC,UAAU,EAAE,MAAM,EAAE,CAAC;CACtB,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { User } from "@licklist/core/dist/DataMapper/User/UserDataMapper";
|
|
3
3
|
import { VIEWER_ROLE, MANAGER_ROLE, SUBMANAGER_ROLE } from "@licklist/core/dist/DataMapper/User/UserRoleDataMapper";
|
|
4
|
-
export
|
|
4
|
+
export type UserFormValues = {
|
|
5
5
|
email?: User["email"];
|
|
6
6
|
role?: typeof VIEWER_ROLE | typeof MANAGER_ROLE | typeof SUBMANAGER_ROLE;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type UserFormProps = {
|
|
9
9
|
defaultValues?: UserFormValues;
|
|
10
10
|
onSubmit: (values: {
|
|
11
11
|
email: User["email"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserForm.d.ts","sourceRoot":"","sources":["../../../../src/provider/company/user-form/UserForm.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,IAAI,EAAE,MAAM,oDAAoD,CAAC;AAC1E,OAAO,EACL,WAAW,EACX,YAAY,EACZ,eAAe,EAChB,MAAM,wDAAwD,CAAC;AAQhE,
|
|
1
|
+
{"version":3,"file":"UserForm.d.ts","sourceRoot":"","sources":["../../../../src/provider/company/user-form/UserForm.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,IAAI,EAAE,MAAM,oDAAoD,CAAC;AAC1E,OAAO,EACL,WAAW,EACX,YAAY,EACZ,eAAe,EAChB,MAAM,wDAAwD,CAAC;AAQhE,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IACtB,IAAI,CAAC,EAAE,OAAO,WAAW,GAAG,OAAO,YAAY,GAAG,OAAO,eAAe,CAAC;CAC1E,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,aAAa,CAAC,EAAE,cAAc,CAAC;IAC/B,QAAQ,EAAE,CAAC,MAAM,EAAE;QACjB,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;QACrB,IAAI,EAAE,OAAO,WAAW,GAAG,OAAO,YAAY,GAAG,OAAO,eAAe,CAAC;KACzE,KAAK,IAAI,CAAC;IACX,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,QAAQ,2DAKlB,aAAa,gBAoHf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/provider/location-input/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAE3C,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/provider/location-input/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAE3C,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,EAAE;QACR,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;QACjB,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;QACjB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Image } from "@licklist/core/dist/DataMapper/Media/ImageDataMapper";
|
|
3
3
|
import { TypeaheadOptions } from "../../typeahead";
|
|
4
4
|
import { ProviderLinksInputProps, ProviderLinksInputValues } from "../provider-links-input";
|
|
5
|
-
export
|
|
5
|
+
export type ProviderDetailsInputValues = {
|
|
6
6
|
name: string;
|
|
7
7
|
description: string;
|
|
8
8
|
email: string;
|
|
@@ -13,7 +13,7 @@ export declare type ProviderDetailsInputValues = {
|
|
|
13
13
|
};
|
|
14
14
|
images: Image[] | null;
|
|
15
15
|
} & ProviderLinksInputValues;
|
|
16
|
-
export
|
|
16
|
+
export type ProviderDetailsInputProps = {
|
|
17
17
|
companiesOptions?: TypeaheadOptions[];
|
|
18
18
|
linkTypes?: ProviderLinksInputProps["linkTypes"];
|
|
19
19
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProviderDetailsInput.d.ts","sourceRoot":"","sources":["../../../src/provider/provider-details-input/ProviderDetailsInput.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,KAAK,EAAE,MAAM,sDAAsD,CAAC;AAE7E,OAAO,EAAa,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAEL,uBAAuB,EACvB,wBAAwB,EACzB,MAAM,yBAAyB,CAAC;AAEjC,
|
|
1
|
+
{"version":3,"file":"ProviderDetailsInput.d.ts","sourceRoot":"","sources":["../../../src/provider/provider-details-input/ProviderDetailsInput.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,KAAK,EAAE,MAAM,sDAAsD,CAAC;AAE7E,OAAO,EAAa,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAEL,uBAAuB,EACvB,wBAAwB,EACzB,MAAM,yBAAyB,CAAC;AAEjC,MAAM,MAAM,0BAA0B,GAAG;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC;IACzB,MAAM,EAAE,KAAK,EAAE,GAAG,IAAI,CAAC;CACxB,GAAG,wBAAwB,CAAC;AAE7B,MAAM,MAAM,yBAAyB,GAAG;IACtC,gBAAgB,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACtC,SAAS,CAAC,EAAE,uBAAuB,CAAC,WAAW,CAAC,CAAC;CAClD,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,EACnC,gBAAqB,EACrB,SAAc,GACf,EAAE,yBAAyB,eAiI3B"}
|
|
@@ -4,7 +4,7 @@ import { CategoriesInputProps, CategoriesInputValues } from "../categories-input
|
|
|
4
4
|
import { LocationInputValues } from "../location-input";
|
|
5
5
|
import { ProviderDetailsInputProps, ProviderDetailsInputValues } from "../provider-details-input";
|
|
6
6
|
import { TypeaheadOptions } from "../../typeahead";
|
|
7
|
-
export
|
|
7
|
+
export type ProviderFormValues = ProviderDetailsInputValues & LocationInputValues & CategoriesInputValues;
|
|
8
8
|
export interface ProviderFormProps extends HasPermissionProp {
|
|
9
9
|
defaultValues?: ProviderFormValues;
|
|
10
10
|
categories?: CategoriesInputProps["categories"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProviderForm.d.ts","sourceRoot":"","sources":["../../../src/provider/provider-form/ProviderForm.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAC;AAEvF,OAAO,EAGL,oBAAoB,EACpB,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,yBAAyB,EACzB,0BAA0B,EAC3B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAGnD,
|
|
1
|
+
{"version":3,"file":"ProviderForm.d.ts","sourceRoot":"","sources":["../../../src/provider/provider-form/ProviderForm.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAC;AAEvF,OAAO,EAGL,oBAAoB,EACpB,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,yBAAyB,EACzB,0BAA0B,EAC3B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAGnD,MAAM,MAAM,kBAAkB,GAAG,0BAA0B,GACzD,mBAAmB,GACnB,qBAAqB,CAAC;AAExB,MAAM,WAAW,iBAAkB,SAAQ,iBAAiB;IAC1D,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC,UAAU,CAAC,EAAE,oBAAoB,CAAC,YAAY,CAAC,CAAC;IAChD,SAAS,CAAC,EAAE,yBAAyB,CAAC,WAAW,CAAC,CAAC;IACnD,gBAAgB,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACtC,QAAQ,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,IAAI,CAAC;IAC/C,MAAM,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;CAC9B;AAOD,wBAAgB,YAAY,CAAC,EAC3B,aAAa,EACb,UAAU,EACV,gBAAgB,EAChB,SAAS,EACT,QAAQ,EACR,MAAiB,EACjB,aAAoB,GACrB,EAAE,iBAAiB,eA6GnB"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ProviderLink, ProviderLinkType } from "../../types/provider-links";
|
|
3
|
-
export
|
|
3
|
+
export type ProviderLinksInputValues = {
|
|
4
4
|
links: ProviderLink[];
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type ProviderLinksInputProps = {
|
|
7
7
|
linkTypes: ProviderLinkType[];
|
|
8
8
|
};
|
|
9
9
|
export declare function ProviderLinksInput({ linkTypes }: ProviderLinksInputProps): JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProviderLinksInput.d.ts","sourceRoot":"","sources":["../../../src/provider/provider-links-input/ProviderLinksInput.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE5E,
|
|
1
|
+
{"version":3,"file":"ProviderLinksInput.d.ts","sourceRoot":"","sources":["../../../src/provider/provider-links-input/ProviderLinksInput.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE5E,MAAM,MAAM,wBAAwB,GAAG;IACrC,KAAK,EAAE,YAAY,EAAE,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,SAAS,EAAE,gBAAgB,EAAE,CAAC;CAC/B,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,EAAE,SAAS,EAAE,EAAE,uBAAuB,eAqDxE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResourcesBlockingModal.d.ts","sourceRoot":"","sources":["../../../src/provider/resources-blocking-modal/ResourcesBlockingModal.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,IAAI,EAAE,MAAM,wDAAwD,CAAC;AAc9E,
|
|
1
|
+
{"version":3,"file":"ResourcesBlockingModal.d.ts","sourceRoot":"","sources":["../../../src/provider/resources-blocking-modal/ResourcesBlockingModal.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,IAAI,EAAE,MAAM,wDAAwD,CAAC;AAc9E,MAAM,MAAM,2BAA2B,GAAG;IACxC,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,KAAK,EAAE;QAAE,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QAAC,KAAK,EAAE,MAAM,EAAE,CAAA;KAAE,EAAE,CAAC;CAClD,CAAC;AAEF,eAAO,MAAM,sBAAsB,4BAIhC,2BAA2B,gBAwE7B,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { LocationInputValues } from "../location-input";
|
|
|
5
5
|
import { ProviderDetailsInputProps, ProviderDetailsInputValues } from "../provider-details-input";
|
|
6
6
|
import { WorkingHoursInputValues } from "../working-hours-input";
|
|
7
7
|
import { TypeaheadOptions } from "../../typeahead";
|
|
8
|
-
export
|
|
8
|
+
export type VenueFormValues = ProviderDetailsInputValues & LocationInputValues & WorkingHoursInputValues & CategoriesInputValues;
|
|
9
9
|
export interface VenueFormProps extends HasPermissionProp {
|
|
10
10
|
defaultValues?: VenueFormValues;
|
|
11
11
|
categories?: CategoriesInputProps["categories"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VenueForm.d.ts","sourceRoot":"","sources":["../../../src/provider/venue-form/VenueForm.tsx"],"names":[],"mappings":";AAUA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAC;AAGvF,OAAO,EAGL,oBAAoB,EACpB,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,yBAAyB,EACzB,0BAA0B,EAC3B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAGL,uBAAuB,EACxB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAGnD,
|
|
1
|
+
{"version":3,"file":"VenueForm.d.ts","sourceRoot":"","sources":["../../../src/provider/venue-form/VenueForm.tsx"],"names":[],"mappings":";AAUA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oDAAoD,CAAC;AAGvF,OAAO,EAGL,oBAAoB,EACpB,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAGL,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,yBAAyB,EACzB,0BAA0B,EAC3B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAGL,uBAAuB,EACxB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAGnD,MAAM,MAAM,eAAe,GAAG,0BAA0B,GACtD,mBAAmB,GACnB,uBAAuB,GACvB,qBAAqB,CAAC;AAExB,MAAM,WAAW,cAAe,SAAQ,iBAAiB;IACvD,aAAa,CAAC,EAAE,eAAe,CAAC;IAChC,UAAU,CAAC,EAAE,oBAAoB,CAAC,YAAY,CAAC,CAAC;IAChD,SAAS,CAAC,EAAE,yBAAyB,CAAC,WAAW,CAAC,CAAC;IACnD,gBAAgB,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACtC,QAAQ,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,CAAC;IAC5C,MAAM,CAAC,EAAE,QAAQ,GAAG,QAAQ,CAAC;CAC9B;AAOD,wBAAgB,SAAS,CAAC,EACxB,aAAa,EACb,UAAU,EACV,SAAS,EACT,gBAAqB,EACrB,QAAQ,EACR,MAAiB,EACjB,aAAoB,GACrB,EAAE,cAAc,eAqHhB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/provider/working-hours-input/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,gCAAgC,CAAC;AAE/C,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/provider/working-hours-input/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,gCAAgC,CAAC;AAE/C,MAAM,MAAM,uBAAuB,GAAG;IACpC,YAAY,EAAE,CACV;QACE,KAAK,EAAE,MAAM,CAAC;QACd,GAAG,EAAE,MAAM,CAAC;QACZ,WAAW,EAAE,MAAM,CAAC;KACrB,GACD,SAAS,CACZ,EAAE,CAAC;CACL,CAAC"}
|
|
@@ -3,8 +3,8 @@ export declare const getWeekdayForFrequency: ({ date, frequency, }: {
|
|
|
3
3
|
date: string;
|
|
4
4
|
frequency: Frequency;
|
|
5
5
|
}) => Weekday;
|
|
6
|
-
export
|
|
7
|
-
export
|
|
6
|
+
export type SupportedFrequency = Frequency.DAILY | Frequency.WEEKLY | Frequency.MONTHLY | Frequency.YEARLY;
|
|
7
|
+
export type ParsedRRuleOptions = {
|
|
8
8
|
interval?: number;
|
|
9
9
|
freq: SupportedFrequency;
|
|
10
10
|
byweekday?: Weekday[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/recurrence-input/utils.ts"],"names":[],"mappings":"AACA,OAAc,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAElD,eAAO,MAAM,sBAAsB;UAI3B,MAAM;eACD,SAAS;MAClB,OAUH,CAAC;AAEF,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/recurrence-input/utils.ts"],"names":[],"mappings":"AACA,OAAc,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAElD,eAAO,MAAM,sBAAsB;UAI3B,MAAM;eACD,SAAS;MAClB,OAUH,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAC1B,SAAS,CAAC,KAAK,GACf,SAAS,CAAC,MAAM,GAChB,SAAS,CAAC,OAAO,GACjB,SAAS,CAAC,MAAM,CAAC;AAErB,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,kBAAkB,CAAC;IACzB,SAAS,CAAC,EAAE,OAAO,EAAE,CAAC;IACtB,KAAK,CAAC,EAAE,IAAI,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,qBAAqB;WAIzB,MAAM;UACP,MAAM;wBAsEb,CAAC"}
|