@licklist/design 0.44.485-dev.79 → 0.44.485-dev.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/affiliate/types/index.d.ts +1 -1
- package/dist/affiliate/types/index.d.ts.map +1 -1
- package/dist/assets/dashboard/bookingCalendar.svg +67 -0
- package/dist/assets/dashboard/bookingCalendar.svg.js +1 -0
- package/dist/assets/dashboard/bookingList.svg +68 -0
- package/dist/assets/dashboard/bookingList.svg.js +1 -0
- package/dist/assets/dashboard/bookingListSmall.svg +6 -0
- package/dist/assets/dashboard/bookingListSmall.svg.js +1 -0
- package/dist/assets/dashboard/fullscreen.svg +3 -0
- package/dist/assets/dashboard/fullscreen.svg.js +1 -0
- package/dist/assets/dashboard/minimize.svg +3 -0
- package/dist/assets/dashboard/minimize.svg.js +1 -0
- package/dist/assets/dashboard/refresh.svg +4 -0
- package/dist/assets/dashboard/refresh.svg.js +1 -0
- package/dist/assets/widgets/circlePlus.svg +4 -0
- package/dist/assets/widgets/inPage.svg +10 -0
- package/dist/assets/widgets/overlay.svg +9 -0
- package/dist/assets/widgets/sidebar.svg +9 -0
- package/dist/auth/Login/LoginComponent.d.ts +1 -1
- package/dist/auth/Login/LoginComponent.d.ts.map +1 -1
- package/dist/auth/Login/LoginFormComponent.d.ts +1 -1
- package/dist/auth/Login/LoginFormComponent.d.ts.map +1 -1
- package/dist/auth/Register/RegisterComponent.d.ts +1 -1
- package/dist/auth/Register/RegisterComponent.d.ts.map +1 -1
- package/dist/auth/Register/RegisterFormComponent.d.ts +1 -1
- package/dist/auth/Register/RegisterFormComponent.d.ts.map +1 -1
- package/dist/auth/ResetPassword/ResetPasswordFormComponent.d.ts +1 -1
- package/dist/auth/ResetPassword/ResetPasswordFormComponent.d.ts.map +1 -1
- package/dist/collapsible-input-group/CollapsibleInputGroup.d.ts +1 -1
- package/dist/collapsible-input-group/CollapsibleInputGroup.d.ts.map +1 -1
- package/dist/custom-fields/field-set/CustomFieldSets.d.ts +3 -3
- package/dist/custom-fields/field-set/CustomFieldSets.d.ts.map +1 -1
- package/dist/custom-fields/field-set/components/CustomFieldSet/CustomFieldSet.d.ts +1 -1
- package/dist/custom-fields/field-set/components/CustomFieldSet/CustomFieldSet.d.ts.map +1 -1
- package/dist/custom-fields/field-set/contexts/useCustomFieldSets.d.ts +2 -2
- package/dist/custom-fields/field-set/contexts/useCustomFieldSets.d.ts.map +1 -1
- package/dist/customers/components/filter/CustomerFilter.d.ts +1 -1
- package/dist/customers/components/filter/CustomerFilter.d.ts.map +1 -1
- package/dist/events/edit-event-modal/IntervalInput.d.ts +1 -4
- package/dist/events/edit-event-modal/IntervalInput.d.ts.map +1 -1
- package/dist/events/edit-event-modal/IntervalInput.js +1 -1
- package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.d.ts.map +1 -1
- package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.js +1 -1
- package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.d.ts.map +1 -1
- package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.js +1 -1
- package/dist/events/edit-event-modal/utils/getDefaultProductSet.d.ts.map +1 -1
- package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +1 -1
- package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.d.ts +3 -3
- package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.d.ts.map +1 -1
- package/dist/events/event-statistic-modal/EventStatisticModal.d.ts +1 -1
- package/dist/events/event-statistic-modal/EventStatisticModal.d.ts.map +1 -1
- package/dist/events/event-statistic-modal/EventStatisticModal.js +1 -1
- package/dist/events/event-venue-map/EventVenueMap.d.ts +2 -5
- package/dist/events/event-venue-map/EventVenueMap.d.ts.map +1 -1
- package/dist/events/event-venue-map/EventVenueMap.js +1 -1
- package/dist/events/event-venue-map/components/Dropdown/Dropdown.d.ts +1 -1
- package/dist/events/event-venue-map/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/ProductsControl/ProductsControl.d.ts +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/ProductsControl/ProductsControl.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/SelectControl/SelectControl.d.ts +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/SelectControl/SelectControl.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/MapPoint.d.ts +1 -1
- package/dist/events/event-venue-map/components/MapPoint/MapPoint.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/MapPoint.js +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/DeleteIcon/DeleteIcon.d.ts +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/DeleteIcon/DeleteIcon.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/EditIcon/EditIcon.d.ts +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/EditIcon/EditIcon.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/PointIcon/PointIcon.d.ts +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/PointIcon/PointIcon.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.d.ts +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.js +1 -1
- package/dist/events/event-venue-map/components/VenueMap/VenueMap.d.ts +2 -4
- package/dist/events/event-venue-map/components/VenueMap/VenueMap.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/VenueMap/VenueMap.js +1 -1
- package/dist/events/event-venue-map/hooks/useCanvasSize.d.ts +1 -1
- package/dist/events/event-venue-map/hooks/useCanvasSize.d.ts.map +1 -1
- package/dist/events/event-venue-map/hooks/useStageActions.d.ts +1 -1
- package/dist/events/event-venue-map/hooks/useStageActions.d.ts.map +1 -1
- package/dist/events/event-venue-map/types/index.d.ts +5 -5
- package/dist/events/event-venue-map/types/index.d.ts.map +1 -1
- package/dist/events/event-venue-map/utils/index.d.ts +3 -3
- package/dist/events/event-venue-map/utils/index.d.ts.map +1 -1
- package/dist/file-upload/FilePreview.d.ts +2 -2
- package/dist/file-upload/FilePreview.d.ts.map +1 -1
- package/dist/file-upload/FileUpload.d.ts +1 -1
- package/dist/file-upload/FileUpload.d.ts.map +1 -1
- package/dist/header/Header.d.ts +1 -1
- package/dist/header/Header.d.ts.map +1 -1
- package/dist/help/example/Example.d.ts +4 -4
- package/dist/help/example/Example.d.ts.map +1 -1
- package/dist/help/popover/HelpPopover.d.ts +3 -5
- package/dist/help/popover/HelpPopover.d.ts.map +1 -1
- package/dist/help/popover/HelpPopover.js +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.d.ts +3 -3
- package/dist/iframe/event/event-card/IframeEventCard.d.ts.map +1 -1
- package/dist/iframe/event/event-card/IframeEventCard.js +1 -1
- package/dist/iframe/event/event-card/IframeEventCardSkeleton.d.ts +3 -3
- package/dist/iframe/event/event-card/IframeEventCardSkeleton.d.ts.map +1 -1
- package/dist/iframe/event/event-card/IframeEventCardSkeleton.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 +6 -5
- package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.d.ts.map +1 -1
- package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.js +1 -1
- package/dist/iframe/event/event-product-sets/EventProductSets.d.ts +1 -1
- package/dist/iframe/event/event-product-sets/EventProductSets.d.ts.map +1 -1
- package/dist/iframe/event/event-product-sets/components/EventProductSet.d.ts +1 -1
- package/dist/iframe/event/event-product-sets/components/EventProductSet.d.ts.map +1 -1
- package/dist/iframe/event/event-step-venue-map-zones/EventStepVenueMapZones.d.ts +1 -1
- package/dist/iframe/event/event-step-venue-map-zones/EventStepVenueMapZones.d.ts.map +1 -1
- package/dist/iframe/event/event-step-venue-map-zones/components/EventStepVenueMapZone.d.ts +1 -1
- package/dist/iframe/event/event-step-venue-map-zones/components/EventStepVenueMapZone.d.ts.map +1 -1
- package/dist/iframe/event/event-venue-map/IframeEventVenueMap.d.ts +1 -2
- package/dist/iframe/event/event-venue-map/IframeEventVenueMap.d.ts.map +1 -1
- package/dist/iframe/index.d.ts +1 -3
- package/dist/iframe/index.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 +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.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 +6 -6
- package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/utils/index.d.ts +1 -1
- package/dist/iframe/order-process/components/BookingSummary/utils/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/utils/index.js +1 -1
- package/dist/iframe/order-process/components/BookingSummaryFooter/BookingSummaryFooter.d.ts +4 -4
- package/dist/iframe/order-process/components/BookingSummaryFooter/BookingSummaryFooter.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.d.ts +1 -3
- package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.js +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.d.ts +2 -4
- package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.js +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts +2 -4
- package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.js +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/ErrorModal.d.ts.map +1 -0
- package/dist/iframe/order-process/components/CalendarStepsForm/components/ErrorModal.js +1 -0
- package/dist/iframe/order-process/components/Category/Category.d.ts +3 -4
- 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 +3 -4
- package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.js +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts +0 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.js +1 -1
- package/dist/iframe/order-process/components/NavigationSteps/NavigationSteps.d.ts +1 -1
- package/dist/iframe/order-process/components/NavigationSteps/NavigationSteps.d.ts.map +1 -1
- package/dist/iframe/order-process/components/PaymentCard/PaymentCard.d.ts +1 -1
- package/dist/iframe/order-process/components/PaymentCard/PaymentCard.d.ts.map +1 -1
- package/dist/iframe/order-process/components/StepsForm/StepsForm.d.ts +18 -0
- package/dist/iframe/order-process/components/StepsForm/StepsForm.d.ts.map +1 -0
- package/dist/iframe/order-process/components/StepsForm/StepsForm.js +1 -0
- package/dist/iframe/order-process/components/StepsForm/index.d.ts +2 -0
- package/dist/iframe/order-process/components/StepsForm/index.d.ts.map +1 -0
- package/dist/iframe/order-process/components/Timer/Timer.d.ts +1 -1
- package/dist/iframe/order-process/components/Timer/Timer.d.ts.map +1 -1
- package/dist/iframe/order-process/components/Timer/utils/index.d.ts +1 -1
- package/dist/iframe/order-process/components/Timer/utils/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/Timer/utils/index.js +1 -1
- package/dist/iframe/order-process/components/utils/category.d.ts +10 -0
- package/dist/iframe/order-process/components/utils/category.d.ts.map +1 -0
- package/dist/iframe/order-process/components/utils/category.js +1 -0
- package/dist/iframe/order-process/index.d.ts +1 -3
- package/dist/iframe/order-process/index.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/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.map +1 -1
- package/dist/iframe/payment/order-items-table/utils/index.js +1 -1
- package/dist/iframe/payment/payment-page/PaymentPage.d.ts +1 -1
- package/dist/iframe/payment/payment-page/PaymentPage.d.ts.map +1 -1
- package/dist/iframe/payment/payment-page/PaymentPage.js +1 -1
- package/dist/iframe/payment/payment-page/PaymentTimer.d.ts +0 -1
- package/dist/iframe/payment/payment-page/PaymentTimer.d.ts.map +1 -1
- package/dist/iframe/payment/payment-page/PaymentTimer.js +1 -1
- package/dist/iframe/payment/payment-status-header/PaymentStatusHeader.d.ts +1 -1
- package/dist/iframe/payment/payment-status-header/PaymentStatusHeader.d.ts.map +1 -1
- package/dist/iframe/payment/payment-status-page/PaymentStatusPage.d.ts +3 -5
- package/dist/iframe/payment/payment-status-page/PaymentStatusPage.d.ts.map +1 -1
- package/dist/iframe/payment/payment-status-page/PaymentStatusPage.js +1 -1
- package/dist/iframe/powered-by/PoweredBy.d.ts +1 -1
- package/dist/iframe/powered-by/PoweredBy.d.ts.map +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.d.ts +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.d.ts.map +1 -1
- package/dist/index.d.ts +0 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/logo/Logo.d.ts +1 -1
- package/dist/logo/Logo.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/notification/email-template/card/EmailTemplateCard.d.ts +1 -4
- package/dist/notification/email-template/card/EmailTemplateCard.d.ts.map +1 -1
- package/dist/notification/email-template/card/EmailTemplateCard.js +1 -1
- package/dist/notification/email-template/control/EmailTemplateControl.d.ts +0 -3
- package/dist/notification/email-template/control/EmailTemplateControl.d.ts.map +1 -1
- package/dist/notification/email-template/control/EmailTemplateControl.js +1 -1
- package/dist/notification/email-template/form/EmailTemplateForm.d.ts +1 -7
- package/dist/notification/email-template/form/EmailTemplateForm.d.ts.map +1 -1
- package/dist/notification/email-template/form/EmailTemplateForm.js +1 -1
- package/dist/notification/sms-template/card/SmsTemplateCard.d.ts +1 -4
- package/dist/notification/sms-template/card/SmsTemplateCard.d.ts.map +1 -1
- package/dist/notification/sms-template/card/SmsTemplateCard.js +1 -1
- package/dist/notification/sms-template/control/SmsTemplateControl.d.ts +1 -6
- package/dist/notification/sms-template/control/SmsTemplateControl.d.ts.map +1 -1
- package/dist/notification/sms-template/control/SmsTemplateControl.js +1 -1
- package/dist/notification/sms-template/form/SmsTemplateForm.d.ts +1 -5
- package/dist/notification/sms-template/form/SmsTemplateForm.d.ts.map +1 -1
- package/dist/notification/sms-template/form/SmsTemplateForm.js +1 -1
- package/dist/product-set/control/DateAndRecurrenceInput.d.ts +0 -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/ProductSetControl.d.ts +4 -16
- package/dist/product-set/control/ProductSetControl.d.ts.map +1 -1
- package/dist/product-set/control/ProductSetControl.js +1 -1
- package/dist/product-set/deposit-paid/ProductSetDepositPaidControl.d.ts +3 -3
- package/dist/product-set/deposit-paid/ProductSetDepositPaidControl.d.ts.map +1 -1
- package/dist/product-set/elements/DeleteFieldButton.d.ts +1 -1
- package/dist/product-set/elements/DeleteFieldButton.d.ts.map +1 -1
- package/dist/product-set/form/ProductCategoriesControl.d.ts.map +1 -1
- package/dist/product-set/form/ProductCategoriesControl.js +1 -1
- package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
- package/dist/product-set/form/ProductSetForm.js +1 -1
- package/dist/product-set/form/ProductsControl.d.ts.map +1 -1
- package/dist/product-set/form/ProductsControl.js +1 -1
- package/dist/product-set/form/StepsControl.d.ts.map +1 -1
- package/dist/product-set/form/StepsControl.js +1 -1
- package/dist/product-set/form/VenueMapSetModal.d.ts +1 -1
- package/dist/product-set/form/VenueMapSetModal.d.ts.map +1 -1
- package/dist/product-set/form/VenueMapsControl.d.ts +1 -1
- package/dist/product-set/form/VenueMapsControl.d.ts.map +1 -1
- package/dist/product-set/form/context.d.ts +1 -1
- package/dist/product-set/form/context.d.ts.map +1 -1
- package/dist/product-set/popover/ProductSetPopover.d.ts +1 -1
- package/dist/product-set/popover/ProductSetPopover.d.ts.map +1 -1
- package/dist/product-set/product/ProductControl.d.ts +0 -1
- package/dist/product-set/product/ProductControl.d.ts.map +1 -1
- package/dist/product-set/product/ProductControl.js +1 -1
- package/dist/product-set/product/fixed-duration-fields/FixedDurationOptions.d.ts +1 -1
- package/dist/product-set/product/fixed-duration-fields/FixedDurationOptions.d.ts.map +1 -1
- package/dist/product-set/product/price/ProductPriceControl.d.ts +3 -7
- package/dist/product-set/product/price/ProductPriceControl.d.ts.map +1 -1
- package/dist/product-set/product/price/ProductPriceControl.js +1 -1
- package/dist/product-set/product/quantity/ProductQuantityRechargingControl.d.ts.map +1 -1
- package/dist/product-set/product/quantity/ProductQuantityRechargingControl.js +1 -1
- package/dist/product-set/product-category/ProductCategoryControl.js +1 -1
- package/dist/product-set/tabs/ProductSetTab.d.ts +1 -1
- package/dist/product-set/tabs/ProductSetTab.d.ts.map +1 -1
- package/dist/product-set/tabs/ProductSetTabs.d.ts +1 -1
- package/dist/product-set/tabs/ProductSetTabs.d.ts.map +1 -1
- package/dist/product-set/types/index.d.ts +5 -5
- package/dist/product-set/types/index.d.ts.map +1 -1
- package/dist/product-set/utils/index.d.ts +0 -4
- package/dist/product-set/utils/index.d.ts.map +1 -1
- package/dist/product-set/utils/index.js +1 -1
- package/dist/provider/categories-input/CategoriesInput.d.ts +1 -1
- package/dist/provider/categories-input/CategoriesInput.d.ts.map +1 -1
- package/dist/provider/categories-input/CategoriesInputDescription.d.ts +1 -1
- package/dist/provider/categories-input/CategoriesInputDescription.d.ts.map +1 -1
- package/dist/provider/categories-input/index.d.ts +1 -1
- package/dist/provider/categories-input/index.d.ts.map +1 -1
- package/dist/provider/company/user-form/UserForm.d.ts +2 -2
- package/dist/provider/company/user-form/UserForm.d.ts.map +1 -1
- package/dist/provider/location-input/index.d.ts +1 -1
- package/dist/provider/location-input/index.d.ts.map +1 -1
- package/dist/provider/provider-details-input/ProviderDetailsInput.d.ts +2 -2
- package/dist/provider/provider-details-input/ProviderDetailsInput.d.ts.map +1 -1
- package/dist/provider/provider-details-input/ProviderDetailsInput.js +1 -1
- package/dist/provider/provider-form/ProviderForm.d.ts +1 -1
- package/dist/provider/provider-form/ProviderForm.d.ts.map +1 -1
- package/dist/provider/provider-links-input/ProviderLinksInput.d.ts +2 -2
- package/dist/provider/provider-links-input/ProviderLinksInput.d.ts.map +1 -1
- package/dist/provider/resources-blocking-modal/ResourcesBlockingModal.d.ts +1 -1
- package/dist/provider/resources-blocking-modal/ResourcesBlockingModal.d.ts.map +1 -1
- package/dist/provider/venue-form/VenueForm.d.ts +1 -1
- package/dist/provider/venue-form/VenueForm.d.ts.map +1 -1
- package/dist/provider/working-hours-input/index.d.ts +1 -1
- package/dist/provider/working-hours-input/index.d.ts.map +1 -1
- package/dist/recurrence-input/utils.d.ts +2 -2
- package/dist/recurrence-input/utils.d.ts.map +1 -1
- package/dist/recurring-date-picker-input/RecurringDatePickerInput.js +1 -1
- package/dist/recurring-date-picker-input/utils.d.ts +2 -2
- package/dist/recurring-date-picker-input/utils.d.ts.map +1 -1
- package/dist/resource/form/ResourceForm.d.ts +2 -2
- package/dist/resource/form/ResourceForm.d.ts.map +1 -1
- package/dist/resource/form/components/CapacityControl.d.ts +1 -1
- package/dist/resource/form/components/CapacityControl.d.ts.map +1 -1
- package/dist/resource/form/components/NameControl.d.ts +1 -1
- package/dist/resource/form/components/NameControl.d.ts.map +1 -1
- package/dist/resource/form/components/SortControl.d.ts +1 -1
- package/dist/resource/form/components/SortControl.d.ts.map +1 -1
- package/dist/resource/form/components/ZoneControl.d.ts +1 -1
- package/dist/resource/form/components/ZoneControl.d.ts.map +1 -1
- package/dist/sales/booking/filter/BookingFilter.d.ts +12 -0
- package/dist/sales/booking/filter/BookingFilter.d.ts.map +1 -0
- package/dist/sales/booking/filter/BookingFilter.js +1 -0
- package/dist/sales/booking/filter/components/AdditionalFIlterSection.d.ts +10 -0
- package/dist/sales/booking/filter/components/AdditionalFIlterSection.d.ts.map +1 -0
- package/dist/sales/booking/filter/components/AdditionalFIlterSection.js +1 -0
- package/dist/sales/booking/filter/components/MainFilterSection.d.ts +5 -0
- package/dist/sales/booking/filter/components/MainFilterSection.d.ts.map +1 -0
- package/dist/sales/booking/filter/components/MainFilterSection.js +1 -0
- package/dist/sales/booking/filter/components/ResultTagButton.d.ts +8 -0
- package/dist/sales/booking/filter/components/ResultTagButton.d.ts.map +1 -0
- package/dist/sales/booking/filter/components/ResultTagButton.js +1 -0
- package/dist/sales/booking/filter/components/SearchingForSection.d.ts +3 -0
- package/dist/sales/booking/filter/components/SearchingForSection.d.ts.map +1 -0
- package/dist/sales/booking/filter/components/SearchingForSection.js +1 -0
- package/dist/sales/booking/filter/index.d.ts +3 -0
- package/dist/sales/booking/filter/index.d.ts.map +1 -0
- package/dist/sales/booking/index.d.ts +2 -0
- package/dist/sales/booking/index.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/results/components/ResultCard.js +1 -1
- package/dist/sales/booking/results/constants.d.ts.map +1 -1
- package/dist/sales/booking/results/constants.js +1 -1
- package/dist/sales/booking/results/index.d.ts +0 -1
- package/dist/sales/booking/results/index.d.ts.map +1 -1
- package/dist/sales/booking/tabs/BookingTabs.d.ts +11 -0
- package/dist/sales/booking/tabs/BookingTabs.d.ts.map +1 -0
- package/dist/sales/booking/tabs/BookingTabs.js +1 -0
- package/dist/sales/booking/tabs/index.d.ts +3 -0
- package/dist/sales/booking/tabs/index.d.ts.map +1 -0
- package/dist/sales/coupon/control/CouponFormControl.d.ts.map +1 -1
- package/dist/sales/coupon/control/CouponFormControl.js +1 -1
- package/dist/sales/filters/SaleFilters.d.ts +3 -2
- package/dist/sales/filters/SaleFilters.d.ts.map +1 -1
- package/dist/sales/guest-profile/previous-bookings/PreviousBookings.d.ts +1 -1
- package/dist/sales/guest-profile/previous-bookings/PreviousBookings.d.ts.map +1 -1
- package/dist/sales/guest-profile/profile/Profile.d.ts +1 -1
- package/dist/sales/guest-profile/profile/Profile.d.ts.map +1 -1
- package/dist/sales/guest-profile/profile/components/ImageHolder/ImageHolder.d.ts +1 -1
- package/dist/sales/guest-profile/profile/components/ImageHolder/ImageHolder.d.ts.map +1 -1
- package/dist/sales/guest-profile/user-metrics/UserMetrics.d.ts +1 -1
- package/dist/sales/guest-profile/user-metrics/UserMetrics.d.ts.map +1 -1
- package/dist/sales/guest-profile/visited-providers/VisitedProviders.d.ts +1 -1
- package/dist/sales/guest-profile/visited-providers/VisitedProviders.d.ts.map +1 -1
- package/dist/sales/life-time-sales/LifeTimeSalesChart.d.ts +1 -1
- package/dist/sales/life-time-sales/LifeTimeSalesChart.d.ts.map +1 -1
- package/dist/sales/manual-booking/category-product/CategoryProduct.d.ts +2 -2
- package/dist/sales/manual-booking/category-product/CategoryProduct.d.ts.map +1 -1
- package/dist/sales/manual-booking/category-products/CategoryProducts.d.ts +2 -2
- package/dist/sales/manual-booking/category-products/CategoryProducts.d.ts.map +1 -1
- package/dist/sales/manual-booking/controll/ManualBookingStepsControll.d.ts +2 -2
- package/dist/sales/manual-booking/controll/ManualBookingStepsControll.d.ts.map +1 -1
- package/dist/sales/manual-booking/controll/ManualBookingStepsControll.js +1 -1
- package/dist/sales/manual-booking/create-user/CreateUser.js +1 -1
- package/dist/sales/manual-booking/customer-info/CustomerInfo.d.ts +1 -1
- package/dist/sales/manual-booking/customer-info/CustomerInfo.d.ts.map +1 -1
- package/dist/sales/manual-booking/final-step/FinalStep.d.ts +1 -1
- package/dist/sales/manual-booking/final-step/FinalStep.d.ts.map +1 -1
- package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.d.ts +1 -1
- package/dist/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.d.ts.map +1 -1
- package/dist/sales/manual-booking/select-date-type-control/SelectDateTypeControl.d.ts +1 -1
- package/dist/sales/manual-booking/select-date-type-control/SelectDateTypeControl.d.ts.map +1 -1
- package/dist/sales/manual-booking/select-menu/SelectMenu.d.ts +1 -1
- package/dist/sales/manual-booking/select-menu/SelectMenu.d.ts.map +1 -1
- package/dist/sales/manual-booking/select-menu/SelectMenu.js +1 -1
- package/dist/sales/manual-booking/select-menu/components/MenuButton.d.ts +1 -1
- package/dist/sales/manual-booking/select-menu/components/MenuButton.d.ts.map +1 -1
- package/dist/sales/notes/NotesTable.d.ts +1 -1
- package/dist/sales/notes/NotesTable.d.ts.map +1 -1
- package/dist/sales/notes/NotesTableRow.d.ts +1 -1
- package/dist/sales/notes/NotesTableRow.d.ts.map +1 -1
- package/dist/sales/notes/note-form/NoteForm.d.ts +1 -1
- package/dist/sales/notes/note-form/NoteForm.d.ts.map +1 -1
- package/dist/sales/payment-form/SalePaymentForm.d.ts +2 -2
- package/dist/sales/payment-form/SalePaymentForm.d.ts.map +1 -1
- package/dist/sales/payment-form/components/RyftPayment/RyftPayment.d.ts +1 -1
- package/dist/sales/payment-form/components/RyftPayment/RyftPayment.d.ts.map +1 -1
- package/dist/sales/payment-form/types.d.ts +2 -2
- package/dist/sales/payment-form/types.d.ts.map +1 -1
- package/dist/sales/sales-and-views/SalesAndViewsChart.d.ts +1 -1
- package/dist/sales/sales-and-views/SalesAndViewsChart.d.ts.map +1 -1
- package/dist/setting/admin/AdminSettingForm.d.ts +1 -1
- package/dist/setting/admin/AdminSettingForm.d.ts.map +1 -1
- package/dist/setting/admin/PaymentFeeForm.d.ts +2 -2
- package/dist/setting/admin/PaymentFeeForm.d.ts.map +1 -1
- package/dist/setting/dashboard/DashboardSettingForm.d.ts +1 -1
- package/dist/setting/dashboard/DashboardSettingForm.d.ts.map +1 -1
- package/dist/setting/dashboard/EventSettingForm.d.ts +2 -2
- package/dist/setting/dashboard/EventSettingForm.d.ts.map +1 -1
- package/dist/setting/dashboard/FinancialDataForm.d.ts +2 -2
- package/dist/setting/dashboard/FinancialDataForm.d.ts.map +1 -1
- package/dist/setting/dashboard/OtherSettingForm.d.ts +2 -2
- package/dist/setting/dashboard/OtherSettingForm.d.ts.map +1 -1
- package/dist/setting/dashboard/ProviderSettingForm.d.ts +2 -2
- package/dist/setting/dashboard/ProviderSettingForm.d.ts.map +1 -1
- package/dist/setting/dashboard/index.d.ts +2 -0
- package/dist/setting/dashboard/index.d.ts.map +1 -1
- package/dist/setting/dashboard/snippets/control/SnippetControl.d.ts +9 -0
- package/dist/setting/dashboard/snippets/control/SnippetControl.d.ts.map +1 -0
- package/dist/setting/dashboard/snippets/control/SnippetControl.js +1 -0
- package/dist/setting/dashboard/snippets/control/index.d.ts +2 -0
- package/dist/setting/dashboard/snippets/control/index.d.ts.map +1 -0
- package/dist/setting/dashboard/snippets/form/SnippetForm.d.ts +33 -0
- package/dist/setting/dashboard/snippets/form/SnippetForm.d.ts.map +1 -0
- package/dist/setting/dashboard/snippets/form/SnippetForm.js +1 -0
- package/dist/setting/dashboard/snippets/form/context.d.ts +11 -0
- package/dist/setting/dashboard/snippets/form/context.d.ts.map +1 -0
- package/dist/setting/dashboard/snippets/form/context.js +1 -0
- package/dist/setting/dashboard/snippets/form/index.d.ts +2 -0
- package/dist/setting/dashboard/snippets/form/index.d.ts.map +1 -0
- package/dist/setting/dashboard/snippets/modal/SnippetViewTypeModal.d.ts +19 -0
- package/dist/setting/dashboard/snippets/modal/SnippetViewTypeModal.d.ts.map +1 -0
- package/dist/setting/dashboard/snippets/modal/SnippetViewTypeModal.js +1 -0
- package/dist/setting/dashboard/snippets/modal/index.d.ts +3 -0
- package/dist/setting/dashboard/snippets/modal/index.d.ts.map +1 -0
- package/dist/setting/system/SystemSettingForm.d.ts +1 -1
- package/dist/setting/system/SystemSettingForm.d.ts.map +1 -1
- package/dist/snippet/snippet-template/SnippetTemplate.js +1 -1
- package/dist/snippet/snippet-template/context/snippetTemplate.d.ts +1 -1
- package/dist/snippet/snippet-template/context/snippetTemplate.d.ts.map +1 -1
- package/dist/snippet/snippet-template/form/SnippetTemplateForm.js +1 -1
- package/dist/snippet/snippet-template/preview/Preview.d.ts.map +1 -1
- package/dist/snippet/snippet-template/preview/Preview.js +1 -1
- package/dist/sortable-list/SortableList.d.ts +4 -4
- package/dist/sortable-list/SortableList.d.ts.map +1 -1
- package/dist/sortable-tree/SortableTreeItem.d.ts +2 -5
- package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
- package/dist/sortable-tree/SortableTreeItem.js +1 -1
- package/dist/static/Icon.d.ts +1 -1
- package/dist/static/Icon.d.ts.map +1 -1
- package/dist/static/date-range-input/DateRangeInput.d.ts +4 -4
- package/dist/static/date-range-input/DateRangeInput.d.ts.map +1 -1
- package/dist/static/date-range-input/DateRangeInput.js +1 -1
- package/dist/static/images/DefaultUserImage.d.ts +1 -1
- package/dist/static/images/DefaultUserImage.d.ts.map +1 -1
- package/dist/static/loader/ButtonLoader.d.ts +1 -1
- package/dist/static/loader/ButtonLoader.d.ts.map +1 -1
- package/dist/static/loader/PaymentLoader.d.ts +1 -1
- package/dist/static/loader/PaymentLoader.d.ts.map +1 -1
- package/dist/static/manual-date-picker/ManualDatePicker.d.ts +1 -1
- package/dist/static/manual-date-picker/ManualDatePicker.d.ts.map +1 -1
- package/dist/static/manual-date-picker/hooks/useManualDatePicker.d.ts +2 -2
- package/dist/static/manual-date-picker/hooks/useManualDatePicker.d.ts.map +1 -1
- package/dist/static/tabs/Tab.d.ts +1 -1
- package/dist/static/tabs/Tab.d.ts.map +1 -1
- package/dist/static/tabs/Tabs.d.ts +1 -1
- package/dist/static/tabs/Tabs.d.ts.map +1 -1
- package/dist/styles/events/EventStatisticModal.scss +37 -0
- package/dist/styles/events/EventVenueMap.scss +1 -1
- package/dist/styles/iframe-events/_index.scss +0 -3
- package/dist/styles/iframe-order-process/IframeOrderProcess.scss +4 -7
- package/dist/styles/iframe-page/PageBody.scss +0 -2
- package/dist/styles/packages.scss +1 -3
- package/dist/styles/sales/BookingFilter.scss +11 -43
- package/dist/styles/sales/RandomColors.scss +4 -7
- package/dist/styles/snippet-templates/SnippetTemplateCard.scss +0 -16
- package/dist/styles/static/DateRangeInput.scss +1 -5
- package/dist/styles/themes/bookedit/_variables.scss +2 -3
- package/dist/styles/widgets/BookingStyleSelector.scss +14 -0
- package/dist/styles/widgets/CalendarStyleSelector.scss +17 -0
- package/dist/styles/widgets/CheckboxGroup.scss +15 -0
- package/dist/styles/{image-radio-input/_index.scss → widgets/ImageRadioInput.scss} +0 -12
- package/dist/styles/widgets/ProductSetSelector.scss +19 -0
- package/dist/styles/widgets/SnippetCode.scss +18 -0
- package/dist/styles/widgets/WidgetBuilderForm.scss +51 -0
- package/dist/styles/{radio-card/_index.scss → widgets/WidgetTypeRadioButton.scss} +1 -8
- package/dist/styles/widgets/WidgetTypeSelector.scss +6 -0
- package/dist/styles/widgets/_index.scss +9 -0
- package/dist/table/FilterHelperComponent.d.ts.map +1 -1
- package/dist/table/FilterHelperComponent.js +1 -1
- package/dist/table/MenuButton.d.ts +1 -1
- package/dist/table/MenuButton.d.ts.map +1 -1
- package/dist/table/ReactTableHelperComponent.d.ts +2 -2
- package/dist/table/ReactTableHelperComponent.d.ts.map +1 -1
- package/dist/table/StaticTable.d.ts +4 -6
- package/dist/table/StaticTable.d.ts.map +1 -1
- package/dist/table/StaticTable.js +1 -1
- package/dist/table/types.d.ts +5 -5
- package/dist/table/types.d.ts.map +1 -1
- package/dist/tiptap-editor/TipTapMenu/extensions/EMOJIS.d.ts +1 -1
- package/dist/tiptap-editor/TipTapMenu/extensions/EMOJIS.d.ts.map +1 -1
- package/dist/typeahead/Typeahead.d.ts +12 -6
- package/dist/typeahead/Typeahead.d.ts.map +1 -1
- package/dist/typeahead/Typeahead.js +1 -1
- package/dist/typeahead-helper/TypeaheadHelperComponent.d.ts +1 -1
- package/dist/typeahead-helper/TypeaheadHelperComponent.d.ts.map +1 -1
- package/dist/types/categories.d.ts +2 -2
- package/dist/types/categories.d.ts.map +1 -1
- package/dist/types/currency.d.ts +1 -1
- package/dist/types/currency.d.ts.map +1 -1
- package/dist/types/generic/SelectItem.d.ts +1 -1
- package/dist/types/generic/SelectItem.d.ts.map +1 -1
- package/dist/types/iframe.d.ts +2 -4
- package/dist/types/iframe.d.ts.map +1 -1
- package/dist/types/provider-links.d.ts +2 -2
- package/dist/types/provider-links.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/NameControl.d.ts +1 -1
- package/dist/venue-map-sets/form/components/NameControl.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/VenueMapControl.d.ts +4 -4
- package/dist/venue-map-sets/form/components/VenueMapControl.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/VenueMapImageControl.d.ts +1 -1
- package/dist/venue-map-sets/form/components/VenueMapImageControl.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/VenueMapModal.d.ts +1 -1
- package/dist/venue-map-sets/form/components/VenueMapModal.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/VenueMapsControl.d.ts +1 -1
- package/dist/venue-map-sets/form/components/VenueMapsControl.d.ts.map +1 -1
- package/dist/venue-map-sets/form/types/index.d.ts +4 -4
- package/dist/venue-map-sets/form/types/index.d.ts.map +1 -1
- package/dist/virtualized/components/VirtualizedGrid.d.ts +1 -1
- package/dist/virtualized/components/VirtualizedGrid.d.ts.map +1 -1
- package/dist/virtualized/components/VirtualizedWindowScroller.d.ts +3 -3
- package/dist/virtualized/components/VirtualizedWindowScroller.d.ts.map +1 -1
- package/dist/virtualized/context/VirtualizedContext.d.ts +2 -2
- package/dist/virtualized/context/VirtualizedContext.d.ts.map +1 -1
- package/dist/widgets/BookingStyleSelector/BookingStyleSelector.d.ts +3 -0
- package/dist/widgets/BookingStyleSelector/BookingStyleSelector.d.ts.map +1 -0
- package/dist/widgets/BookingStyleSelector/index.d.ts +2 -0
- package/dist/widgets/BookingStyleSelector/index.d.ts.map +1 -0
- package/dist/widgets/CalendarStyleSelector/CalendarStyleSelector.d.ts +3 -0
- package/dist/widgets/CalendarStyleSelector/CalendarStyleSelector.d.ts.map +1 -0
- package/dist/widgets/CalendarStyleSelector/index.d.ts +2 -0
- package/dist/widgets/CalendarStyleSelector/index.d.ts.map +1 -0
- package/dist/widgets/CheckboxGroup/CheckboxGroup.d.ts +8 -0
- package/dist/widgets/CheckboxGroup/CheckboxGroup.d.ts.map +1 -0
- package/dist/widgets/CheckboxGroup/index.d.ts +2 -0
- package/dist/widgets/CheckboxGroup/index.d.ts.map +1 -0
- package/dist/widgets/ImageRadioInput/ImageRadioInput.d.ts +9 -0
- package/dist/widgets/ImageRadioInput/ImageRadioInput.d.ts.map +1 -0
- package/dist/widgets/ImageRadioInput/index.d.ts.map +1 -0
- package/dist/widgets/ProductSetSelector/ProductSetSelector.d.ts +3 -0
- package/dist/widgets/ProductSetSelector/ProductSetSelector.d.ts.map +1 -0
- package/dist/widgets/ProductSetSelector/index.d.ts +2 -0
- package/dist/widgets/ProductSetSelector/index.d.ts.map +1 -0
- package/dist/widgets/SnippetCode/SnippetCode.d.ts +6 -0
- package/dist/widgets/SnippetCode/SnippetCode.d.ts.map +1 -0
- package/dist/widgets/SnippetCode/index.d.ts +2 -0
- package/dist/widgets/SnippetCode/index.d.ts.map +1 -0
- package/dist/widgets/WidgetBuilderForm/WidgetBuilderForm.d.ts +12 -0
- package/dist/widgets/WidgetBuilderForm/WidgetBuilderForm.d.ts.map +1 -0
- package/dist/widgets/WidgetTypeRadio/WidgetTypeRadio.d.ts +7 -0
- package/dist/widgets/WidgetTypeRadio/WidgetTypeRadio.d.ts.map +1 -0
- package/dist/widgets/WidgetTypeRadio/index.d.ts +2 -0
- package/dist/widgets/WidgetTypeRadio/index.d.ts.map +1 -0
- package/dist/widgets/WidgetTypeSelector/WidgetTypeSelector.d.ts +3 -0
- package/dist/widgets/WidgetTypeSelector/WidgetTypeSelector.d.ts.map +1 -0
- 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/ZoneRecurrencesControl.js +1 -1
- package/dist/zone/form/components/ZoneTypeControl.d.ts +1 -1
- package/dist/zone/form/components/ZoneTypeControl.d.ts.map +1 -1
- package/package.json +4 -5
- package/src/assets/dashboard/bookingCalendar.svg +67 -0
- package/src/assets/dashboard/bookingList.svg +68 -0
- package/src/assets/dashboard/bookingListSmall.svg +6 -0
- package/src/assets/dashboard/fullscreen.svg +3 -0
- package/src/assets/dashboard/minimize.svg +3 -0
- package/src/assets/dashboard/refresh.svg +4 -0
- package/src/assets/widgets/circlePlus.svg +4 -0
- package/src/assets/widgets/inPage.svg +10 -0
- package/src/assets/widgets/overlay.svg +9 -0
- package/src/assets/widgets/sidebar.svg +9 -0
- package/src/events/edit-event-modal/IntervalInput.tsx +2 -28
- package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx +0 -3
- package/src/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.tsx +2 -11
- package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +4 -6
- package/src/events/event-statistic-modal/EventStatisticModal.tsx +1 -1
- package/src/events/event-venue-map/EventVenueMap.tsx +0 -4
- package/src/events/event-venue-map/components/MapPoint/MapPoint.tsx +3 -5
- package/src/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.tsx +2 -13
- package/src/events/event-venue-map/components/VenueMap/VenueMap.tsx +4 -12
- package/src/help/popover/HelpPopover.tsx +5 -13
- package/src/iframe/event/event-card/IframeEventCard.stories.tsx +14 -6
- package/src/iframe/event/event-card/IframeEventCard.tsx +10 -6
- package/src/iframe/event/event-card/IframeEventCardSkeleton.tsx +30 -20
- package/src/iframe/event/event-card/IframeEventCards.stories.tsx +3 -2
- package/src/iframe/event/event-order-short-summary/components/Summary/Summary.tsx +20 -20
- package/src/iframe/event/event-venue-map/IframeEventVenueMap.stories.tsx +0 -5
- package/src/iframe/index.ts +1 -5
- package/src/iframe/order-process/OrderProcess.stories.tsx +362 -0
- package/src/iframe/order-process/components/BookingSummary/BookingSummary.tsx +1 -4
- package/src/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.tsx +2 -2
- package/src/iframe/order-process/components/BookingSummary/types/index.ts +5 -5
- package/src/iframe/order-process/components/BookingSummary/utils/index.ts +2 -6
- package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.stories.tsx +0 -1
- package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.tsx +3 -9
- package/src/iframe/order-process/components/CalendarStepsForm/components/Category.tsx +0 -4
- package/src/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.tsx +0 -4
- package/src/iframe/order-process/components/{ErrorModal → CalendarStepsForm/components}/ErrorModal.tsx +1 -1
- package/src/iframe/order-process/components/Category/Category.tsx +2 -5
- package/src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx +10 -44
- package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +0 -3
- package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +2 -3
- package/src/iframe/order-process/components/StepsForm/StepsForm.tsx +173 -0
- package/src/iframe/order-process/components/StepsForm/index.ts +1 -0
- package/src/iframe/order-process/components/Timer/Timer.stories.tsx +1 -1
- package/src/iframe/order-process/components/Timer/utils/index.ts +4 -4
- package/src/iframe/order-process/components/utils/{useCategoryVerification.ts → category.ts} +10 -15
- package/src/iframe/order-process/index.ts +1 -3
- package/src/iframe/payment/order-items-table/utils/index.ts +9 -24
- package/src/iframe/payment/payment-page/PaymentPage.tsx +8 -46
- package/src/iframe/payment/payment-page/PaymentTimer.tsx +6 -31
- package/src/iframe/payment/payment-status-page/PaymentStatusPage.tsx +12 -66
- package/src/index.ts +0 -4
- package/src/logo/Logo.tsx +1 -1
- package/src/notification/email-template/card/EmailTemplateCard.stories.tsx +2 -4
- package/src/notification/email-template/card/EmailTemplateCard.tsx +3 -15
- package/src/notification/email-template/control/EmailTemplateControl.tsx +6 -90
- package/src/notification/email-template/form/EmailTemplateForm.stories.tsx +0 -34
- package/src/notification/email-template/form/EmailTemplateForm.tsx +5 -23
- package/src/notification/sms-template/card/SmsTemplateCard.stories.tsx +1 -3
- package/src/notification/sms-template/card/SmsTemplateCard.tsx +3 -13
- package/src/notification/sms-template/control/SmsTemplateControl.tsx +2 -40
- package/src/notification/sms-template/form/SmsTemplateForm.stories.tsx +0 -28
- package/src/notification/sms-template/form/SmsTemplateForm.tsx +1 -6
- package/src/product-set/control/DateAndRecurrenceInput.tsx +2 -2
- package/src/product-set/control/ProductSetControl.tsx +45 -69
- package/src/product-set/form/ProductCategoriesControl.tsx +0 -9
- package/src/product-set/form/ProductSetForm.stories.tsx +2 -41
- package/src/product-set/form/ProductSetForm.tsx +0 -11
- package/src/product-set/form/ProductsControl.tsx +1 -30
- package/src/product-set/form/StepsControl.tsx +3 -31
- package/src/product-set/product/ProductControl.tsx +14 -28
- package/src/product-set/product/price/ProductPriceControl.tsx +21 -43
- package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +16 -30
- package/src/product-set/product-category/ProductCategoryControl.tsx +1 -1
- package/src/product-set/utils/index.ts +0 -28
- package/src/provider/provider-details-input/ProviderDetailsInput.tsx +4 -28
- package/src/sales/booking/filter/BookingFilter.stories.tsx +27 -0
- package/src/sales/booking/filter/BookingFilter.tsx +47 -0
- package/src/sales/booking/filter/components/AdditionalFIlterSection.tsx +95 -0
- package/src/sales/booking/filter/components/MainFilterSection.tsx +131 -0
- package/src/sales/booking/filter/components/ResultTagButton.tsx +33 -0
- package/src/sales/booking/filter/components/SearchingForSection.tsx +68 -0
- package/src/sales/booking/filter/index.ts +2 -0
- package/src/sales/booking/index.ts +2 -0
- package/src/sales/booking/results/components/ResultCard.tsx +2 -2
- package/src/sales/booking/results/constants.ts +0 -1
- package/src/sales/booking/results/index.ts +0 -1
- package/src/sales/booking/tabs/BookingTabs.stories.tsx +17 -0
- package/src/sales/booking/tabs/BookingTabs.tsx +88 -0
- package/src/sales/booking/tabs/index.ts +2 -0
- package/src/sales/coupon/control/CouponFormControl.tsx +0 -2
- package/src/sales/filters/SaleFilter.stories.tsx +1 -1
- package/src/sales/filters/SaleFilters.tsx +2 -2
- package/src/sales/manual-booking/category-product/CategoryProduct.tsx +2 -2
- package/src/sales/manual-booking/category-products/CategoryProducts.tsx +2 -2
- package/src/sales/manual-booking/controll/ManualBookingStepsControll.tsx +3 -3
- package/src/sales/manual-booking/select-menu/SelectMenu.tsx +1 -3
- package/src/setting/dashboard/index.ts +2 -0
- package/src/setting/dashboard/snippets/control/SnippetControl.tsx +237 -0
- package/src/setting/dashboard/snippets/control/index.ts +1 -0
- package/src/setting/dashboard/snippets/form/SnippetForm.stories.tsx +104 -0
- package/src/setting/dashboard/snippets/form/SnippetForm.tsx +94 -0
- package/src/setting/dashboard/snippets/form/context.tsx +18 -0
- package/src/setting/dashboard/snippets/form/index.ts +1 -0
- package/src/setting/dashboard/snippets/modal/SnippetViewTypeModal.stories.tsx +28 -0
- package/src/setting/dashboard/snippets/modal/SnippetViewTypeModal.tsx +104 -0
- package/src/setting/dashboard/snippets/modal/index.ts +2 -0
- package/src/snippet/snippet-template/SnippetTemplate.tsx +1 -1
- package/src/snippet/snippet-template/form/SnippetTemplateForm.tsx +10 -10
- package/src/snippet/snippet-template/preview/Preview.tsx +9 -4
- package/src/sortable-tree/SortableTreeItem.tsx +6 -28
- package/src/static/date-range-input/DateRangeInput.tsx +3 -6
- package/src/styles/events/EventStatisticModal.scss +37 -0
- package/src/styles/events/EventVenueMap.scss +1 -1
- package/src/styles/iframe-events/_index.scss +0 -3
- package/src/styles/iframe-order-process/IframeOrderProcess.scss +4 -7
- package/src/styles/iframe-page/PageBody.scss +0 -2
- package/src/styles/packages.scss +1 -3
- package/src/styles/sales/BookingFilter.scss +11 -43
- package/src/styles/sales/RandomColors.scss +4 -7
- package/src/styles/snippet-templates/SnippetTemplateCard.scss +0 -16
- package/src/styles/static/DateRangeInput.scss +1 -5
- package/src/styles/themes/bookedit/_variables.scss +2 -3
- package/src/styles/widgets/BookingStyleSelector.scss +14 -0
- package/src/styles/widgets/CalendarStyleSelector.scss +17 -0
- package/src/styles/widgets/CheckboxGroup.scss +15 -0
- package/src/styles/{image-radio-input/_index.scss → widgets/ImageRadioInput.scss} +0 -12
- package/src/styles/widgets/ProductSetSelector.scss +19 -0
- package/src/styles/widgets/SnippetCode.scss +18 -0
- package/src/styles/widgets/WidgetBuilderForm.scss +51 -0
- package/src/styles/{radio-card/_index.scss → widgets/WidgetTypeRadioButton.scss} +1 -8
- package/src/styles/widgets/WidgetTypeSelector.scss +6 -0
- package/src/styles/widgets/_index.scss +9 -0
- package/src/table/FilterHelperComponent.tsx +0 -1
- package/src/table/StaticTable.tsx +14 -40
- package/src/typeahead/Typeahead.stories.tsx +6 -9
- package/src/typeahead/Typeahead.tsx +13 -21
- package/src/types/iframe.ts +0 -4
- package/src/widgets/BookingStyleSelector/BookingStyleSelector.stories.tsx +12 -0
- package/src/widgets/BookingStyleSelector/BookingStyleSelector.tsx +34 -0
- package/src/widgets/BookingStyleSelector/index.ts +1 -0
- package/src/widgets/CalendarStyleSelector/CalendarStyleSelector.stories.tsx +12 -0
- package/src/widgets/CalendarStyleSelector/CalendarStyleSelector.tsx +29 -0
- package/src/widgets/CalendarStyleSelector/index.ts +1 -0
- package/src/widgets/CheckboxGroup/CheckboxGroup.stories.tsx +16 -0
- package/src/widgets/CheckboxGroup/CheckboxGroup.tsx +64 -0
- package/src/widgets/CheckboxGroup/index.ts +1 -0
- package/src/widgets/ImageRadioInput/ImageRadioInput.stories.tsx +18 -0
- package/src/widgets/ImageRadioInput/ImageRadioInput.tsx +29 -0
- package/src/widgets/ProductSetSelector/ProductSetSelector.stories.tsx +12 -0
- package/src/widgets/ProductSetSelector/ProductSetSelector.tsx +27 -0
- package/src/widgets/ProductSetSelector/index.ts +1 -0
- package/src/widgets/SnippetCode/SnippetCode.stories.tsx +17 -0
- package/src/widgets/SnippetCode/SnippetCode.tsx +27 -0
- package/src/widgets/SnippetCode/index.ts +1 -0
- package/src/widgets/WidgetBuilderForm/WidgetBuilderForm.stories.tsx +12 -0
- package/src/widgets/WidgetBuilderForm/WidgetBuilderForm.tsx +84 -0
- package/src/widgets/WidgetTypeRadio/WidgetTypeRadio.stories.tsx +17 -0
- package/src/widgets/WidgetTypeRadio/WidgetTypeRadio.tsx +43 -0
- package/src/widgets/WidgetTypeRadio/index.ts +1 -0
- package/src/widgets/WidgetTypeSelector/WidgetTypeSelector.stories.tsx +12 -0
- package/src/widgets/WidgetTypeSelector/WidgetTypeSelector.tsx +32 -0
- package/src/zone/form/components/ZoneRecurrencesControl.tsx +27 -1
- package/tests/Snippets/Snippets.test.tsx +77 -0
- package/tsconfig.json +2 -2
- package/dist/assets/iframe/dateInfo/available.svg +0 -5
- package/dist/assets/iframe/dateInfo/available.svg.js +0 -1
- package/dist/assets/iframe/dateInfo/limited.svg +0 -5
- package/dist/assets/iframe/dateInfo/limited.svg.js +0 -1
- package/dist/assets/iframe/dateInfo/soldOut.svg +0 -6
- package/dist/assets/iframe/dateInfo/soldOut.svg.js +0 -1
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.d.ts +0 -9
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.d.ts.map +0 -1
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.js +0 -1
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.d.ts +0 -2
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.d.ts.map +0 -1
- package/dist/iframe/activities-card-page/components/activities-card/ActivitiesCard.d.ts +0 -8
- package/dist/iframe/activities-card-page/components/activities-card/ActivitiesCard.d.ts.map +0 -1
- package/dist/iframe/activities-card-page/components/activities-card/ActivitiesCard.js +0 -1
- package/dist/iframe/activities-card-page/components/activities-selected-card/ActivitiesSelectedCard.d.ts +0 -9
- package/dist/iframe/activities-card-page/components/activities-selected-card/ActivitiesSelectedCard.d.ts.map +0 -1
- package/dist/iframe/activities-card-page/components/activities-selected-card/ActivitiesSelectedCard.js +0 -1
- package/dist/iframe/activities-card-page/index.d.ts +0 -3
- package/dist/iframe/activities-card-page/index.d.ts.map +0 -1
- package/dist/iframe/order-process/components/ErrorModal/ErrorModal.d.ts.map +0 -1
- package/dist/iframe/order-process/components/ErrorModal/ErrorModal.js +0 -1
- package/dist/iframe/order-process/components/ErrorModal/index.d.ts +0 -2
- package/dist/iframe/order-process/components/ErrorModal/index.d.ts.map +0 -1
- package/dist/iframe/order-process/components/utils/useCategoryVerification.d.ts +0 -8
- package/dist/iframe/order-process/components/utils/useCategoryVerification.d.ts.map +0 -1
- package/dist/iframe/order-process/components/utils/useCategoryVerification.js +0 -1
- package/dist/iframe/select-date-time/component/date-container/SelectDateAndTimeEvent.d.ts +0 -8
- package/dist/iframe/select-date-time/component/date-container/SelectDateAndTimeEvent.d.ts.map +0 -1
- package/dist/iframe/select-date-time/component/date-container/SelectDateAndTimeEvent.js +0 -1
- package/dist/iframe/select-date-time/component/date-container/SelectDateAndTimeEventList.d.ts +0 -10
- package/dist/iframe/select-date-time/component/date-container/SelectDateAndTimeEventList.d.ts.map +0 -1
- package/dist/iframe/select-date-time/index.d.ts +0 -2
- package/dist/iframe/select-date-time/index.d.ts.map +0 -1
- package/dist/image-radio-input/ImageRadioInput.d.ts +0 -15
- package/dist/image-radio-input/ImageRadioInput.d.ts.map +0 -1
- package/dist/image-radio-input/ImageRadioInput.js +0 -1
- package/dist/image-radio-input/index.d.ts.map +0 -1
- package/dist/notification/hooks/useTranslatedParameters.d.ts +0 -7
- package/dist/notification/hooks/useTranslatedParameters.d.ts.map +0 -1
- package/dist/notification/hooks/useTranslatedParameters.js +0 -1
- package/dist/product-set/hooks/useSortableTreeFunctions.d.ts +0 -11
- package/dist/product-set/hooks/useSortableTreeFunctions.d.ts.map +0 -1
- package/dist/product-set/hooks/useSortableTreeFunctions.js +0 -1
- package/dist/provider/constants.d.ts +0 -2
- package/dist/provider/constants.d.ts.map +0 -1
- package/dist/provider/constants.js +0 -1
- package/dist/radio-card/RadioCard.d.ts +0 -13
- package/dist/radio-card/RadioCard.d.ts.map +0 -1
- package/dist/radio-card/RadioCard.js +0 -1
- package/dist/radio-card/index.d.ts +0 -2
- package/dist/radio-card/index.d.ts.map +0 -1
- package/dist/sorting-select/SortingSelect.d.ts +0 -10
- package/dist/sorting-select/SortingSelect.d.ts.map +0 -1
- package/dist/sorting-select/SortingSelect.js +0 -1
- package/dist/sorting-select/index.d.ts +0 -2
- package/dist/sorting-select/index.d.ts.map +0 -1
- package/dist/striped-static-table/StripedStaticTable.d.ts +0 -7
- package/dist/striped-static-table/StripedStaticTable.d.ts.map +0 -1
- package/dist/striped-static-table/StripedStaticTable.js +0 -1
- package/dist/striped-static-table/index.d.ts +0 -2
- package/dist/striped-static-table/index.d.ts.map +0 -1
- package/dist/styles/iframe-events/ActivitiesCard.scss +0 -55
- package/dist/styles/iframe-events/ActivitiesSelectedCard.scss +0 -52
- package/dist/styles/iframe-events/SelectDateAndTimeEvent.scss +0 -85
- package/dist/styles/striped-static-table/_index.scss +0 -33
- package/src/assets/iframe/dateInfo/available.svg +0 -5
- package/src/assets/iframe/dateInfo/limited.svg +0 -5
- package/src/assets/iframe/dateInfo/soldOut.svg +0 -6
- package/src/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.tsx +0 -68
- package/src/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.ts +0 -1
- package/src/iframe/activities-card-page/components/activities-card/ActivitiesCard.tsx +0 -68
- package/src/iframe/activities-card-page/components/activities-card/ActivitiesCardList.stories.tsx +0 -120
- package/src/iframe/activities-card-page/components/activities-selected-card/ActivitiesSelectedCard.stories.tsx +0 -67
- package/src/iframe/activities-card-page/components/activities-selected-card/ActivitiesSelectedCard.tsx +0 -57
- package/src/iframe/activities-card-page/index.ts +0 -2
- package/src/iframe/order-process/components/ErrorModal/index.ts +0 -1
- package/src/iframe/select-date-time/component/date-container/SelectDateAndTimeEvent.tsx +0 -73
- package/src/iframe/select-date-time/component/date-container/SelectDateAndTimeEventList.stories.tsx +0 -158
- package/src/iframe/select-date-time/component/date-container/SelectDateAndTimeEventList.tsx +0 -39
- package/src/iframe/select-date-time/index.ts +0 -1
- package/src/image-radio-input/ImageRadioInput.stories.tsx +0 -67
- package/src/image-radio-input/ImageRadioInput.tsx +0 -53
- package/src/notification/hooks/useTranslatedParameters.ts +0 -27
- package/src/product-set/hooks/useSortableTreeFunctions.ts +0 -37
- package/src/provider/constants.ts +0 -1
- package/src/radio-card/RadioCard.stories.tsx +0 -48
- package/src/radio-card/RadioCard.tsx +0 -49
- package/src/radio-card/index.ts +0 -1
- package/src/sorting-select/SortingSelect.stories.tsx +0 -15
- package/src/sorting-select/SortingSelect.tsx +0 -79
- package/src/sorting-select/index.ts +0 -1
- package/src/striped-static-table/StripedStaticTable.stories.tsx +0 -71
- package/src/striped-static-table/StripedStaticTable.tsx +0 -63
- package/src/striped-static-table/index.ts +0 -1
- package/src/styles/iframe-events/ActivitiesCard.scss +0 -55
- package/src/styles/iframe-events/ActivitiesSelectedCard.scss +0 -52
- package/src/styles/iframe-events/SelectDateAndTimeEvent.scss +0 -85
- package/src/styles/striped-static-table/_index.scss +0 -33
- /package/dist/iframe/order-process/components/{ErrorModal → CalendarStepsForm/components}/ErrorModal.d.ts +0 -0
- /package/dist/{image-radio-input → widgets/ImageRadioInput}/index.d.ts +0 -0
- /package/src/{image-radio-input → widgets/ImageRadioInput}/index.ts +0 -0
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
@import "../snippet-templates/snippetVariables";
|
|
2
|
-
|
|
3
|
-
.iframe-activities-card {
|
|
4
|
-
position: relative;
|
|
5
|
-
border: 2px solid transparent;
|
|
6
|
-
transition: $color-transition;
|
|
7
|
-
color: $snippet-elements-body-color;
|
|
8
|
-
border-radius: 0.3rem;
|
|
9
|
-
padding: .375rem;
|
|
10
|
-
min-height: 12.5rem;
|
|
11
|
-
width: 12.375rem;
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
word-wrap: break-word;
|
|
14
|
-
background-color: #fff;
|
|
15
|
-
background-clip: border-box;
|
|
16
|
-
|
|
17
|
-
&.active {
|
|
18
|
-
border: 2px solid #0E8BE1;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.card-image {
|
|
22
|
-
width: 100%;
|
|
23
|
-
height: 6.3rem;
|
|
24
|
-
background-repeat: no-repeat;
|
|
25
|
-
background-size: cover;
|
|
26
|
-
background-position: center;
|
|
27
|
-
cursor: pointer;
|
|
28
|
-
border: 1px solid transparent;
|
|
29
|
-
margin-bottom: .5rem;
|
|
30
|
-
border-radius: .3rem;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
.title {
|
|
35
|
-
transition: $color-transition;
|
|
36
|
-
color: $snippet-elements-body-color;
|
|
37
|
-
font-weight: 600;
|
|
38
|
-
line-height: 1.25rem;
|
|
39
|
-
cursor: pointer;
|
|
40
|
-
font-size: .875rem;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.cost {
|
|
44
|
-
transition: $color-transition;
|
|
45
|
-
color: $snippet-elements-body-color;
|
|
46
|
-
font-size: 0.8rem;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.label {
|
|
50
|
-
text-transform: lowercase;
|
|
51
|
-
transition: $color-transition;
|
|
52
|
-
color: $snippet-elements-body-color;
|
|
53
|
-
font-size: 0.8rem;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
@import "../snippet-templates/snippetVariables";
|
|
2
|
-
|
|
3
|
-
.selected-activities-card {
|
|
4
|
-
display: flex;
|
|
5
|
-
justify-content: space-between;
|
|
6
|
-
align-items: center;
|
|
7
|
-
cursor: pointer;
|
|
8
|
-
height: 5rem;
|
|
9
|
-
border: 1px solid $snippet-product-set-border-color;
|
|
10
|
-
background-color: $snippet-product-set-background-color;
|
|
11
|
-
color: $snippet-product-set-font-color;
|
|
12
|
-
transition: $color-transition;
|
|
13
|
-
|
|
14
|
-
p {
|
|
15
|
-
margin-bottom: 0;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.description {
|
|
19
|
-
width: 70%;
|
|
20
|
-
font-size: .81rem;
|
|
21
|
-
display: flex;
|
|
22
|
-
flex-direction: column;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.title {
|
|
26
|
-
font-weight: 600;
|
|
27
|
-
font-size: 0.875rem;
|
|
28
|
-
line-height: 1.5rem;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.image-container {
|
|
32
|
-
display: flex;
|
|
33
|
-
justify-content: start;
|
|
34
|
-
height: 100%;
|
|
35
|
-
|
|
36
|
-
.image {
|
|
37
|
-
display: flex;
|
|
38
|
-
align-items: start;
|
|
39
|
-
width: 7rem;
|
|
40
|
-
height: 4rem;
|
|
41
|
-
margin-left: 3rem;
|
|
42
|
-
background-repeat: no-repeat;
|
|
43
|
-
background-size: cover;
|
|
44
|
-
background-position: center;
|
|
45
|
-
border-radius: 0.5rem;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.selected-activities-card-hr {
|
|
51
|
-
margin-top: 0;
|
|
52
|
-
}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
.event-date-list {
|
|
2
|
-
display: flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
justify-content: start;
|
|
5
|
-
grid-gap: 1rem;
|
|
6
|
-
flex-wrap: wrap;
|
|
7
|
-
|
|
8
|
-
.event-date-set {
|
|
9
|
-
display: flex;
|
|
10
|
-
align-items: center;
|
|
11
|
-
justify-content: center;
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
font-size: .82rem;
|
|
14
|
-
line-height: 1.3rem;
|
|
15
|
-
font-weight: 600;
|
|
16
|
-
background-color: $snippet-product-set-background-color;
|
|
17
|
-
border-radius: .2rem;
|
|
18
|
-
text-align: center;
|
|
19
|
-
border: 2px solid $snippet-product-set-border-color;
|
|
20
|
-
color: $snippet-product-set-font-color;
|
|
21
|
-
flex-grow: 1;
|
|
22
|
-
transition: $color-transition;
|
|
23
|
-
min-width: 6rem;
|
|
24
|
-
max-width: 7.25rem;
|
|
25
|
-
min-height: 2.75rem;
|
|
26
|
-
max-height: 8.375rem;
|
|
27
|
-
|
|
28
|
-
&.disabled {
|
|
29
|
-
border: 2px solid $snippet-product-set-background-color;
|
|
30
|
-
background-color: $snippet-product-set-background-color;
|
|
31
|
-
color: $snippet-product-set-font-color;
|
|
32
|
-
opacity: 0.5;
|
|
33
|
-
|
|
34
|
-
.descriptions {
|
|
35
|
-
color: $snippet-product-set-font-color;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&.selected {
|
|
40
|
-
border: 2px solid $snippet-active-product-set-border-color;
|
|
41
|
-
background-color: $snippet-active-product-set-border-color;
|
|
42
|
-
color: white;
|
|
43
|
-
transition: $color-transition;
|
|
44
|
-
|
|
45
|
-
.descriptions {
|
|
46
|
-
color: white;
|
|
47
|
-
font-weight: 600;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.time {
|
|
51
|
-
font-weight: 600;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&.time-container {
|
|
56
|
-
min-width: 4.175rem;
|
|
57
|
-
max-width: 4.175rem;
|
|
58
|
-
height: 2.75rem;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.time {
|
|
63
|
-
font-size: .875rem;
|
|
64
|
-
font-weight: 300;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.descriptions {
|
|
68
|
-
font-size: .7rem;
|
|
69
|
-
line-height: 1.03rem;
|
|
70
|
-
font-weight: 300;
|
|
71
|
-
color: #0E8CE2;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.info {
|
|
75
|
-
display: flex;
|
|
76
|
-
justify-content: center;
|
|
77
|
-
font-weight: 300;
|
|
78
|
-
flex-direction: row;
|
|
79
|
-
|
|
80
|
-
.logo {
|
|
81
|
-
width: .5rem;
|
|
82
|
-
margin-right: .5rem;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
table.striped-static-table {
|
|
2
|
-
tbody {
|
|
3
|
-
tr {
|
|
4
|
-
border-bottom: 1px solid $gray-500;
|
|
5
|
-
td {
|
|
6
|
-
text-transform: capitalize;
|
|
7
|
-
|
|
8
|
-
&:nth-child(2),
|
|
9
|
-
&:nth-child(3) {
|
|
10
|
-
text-align: right;
|
|
11
|
-
}
|
|
12
|
-
&:nth-child(2) {
|
|
13
|
-
width: 20%;
|
|
14
|
-
}
|
|
15
|
-
&:nth-child(3) {
|
|
16
|
-
width: 35%;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
td:has(div.header-row) {
|
|
21
|
-
background-color: #d8ecf7;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&:first-child {
|
|
25
|
-
border-top: 1px solid $gray-500;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.bold {
|
|
31
|
-
font-weight: 600;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="7" height="11" viewBox="0 0 7 11" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<rect x="0.943939" y="1.03658" width="5.25188" height="3.04878" rx="1.5" fill="#4CF973" stroke="white"/>
|
|
3
|
-
<rect x="0.943939" y="4.10976" width="5.25188" height="3.04878" rx="1.5" fill="#4CF973" stroke="white"/>
|
|
4
|
-
<rect x="0.943939" y="7.18292" width="5.25188" height="3.04878" rx="1.5" fill="#4CF973" stroke="white"/>
|
|
5
|
-
</svg>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="7" height="11" viewBox="0 0 7 11" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<rect x="1.2406" y="1.03658" width="5.25188" height="3.04878" rx="1.5" fill="#E4E4E4" stroke="white"/>
|
|
3
|
-
<rect x="1.2406" y="4.10976" width="5.25188" height="3.04878" rx="1.5" fill="#FDD054" stroke="white"/>
|
|
4
|
-
<rect x="1.2406" y="7.18292" width="5.25188" height="3.04878" rx="1.5" fill="#FDD054" stroke="white"/>
|
|
5
|
-
</svg>
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg width="7" height="10" viewBox="0 0 7 10" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<rect width="5.94013" height="10" transform="translate(0.497131)" fill="white"/>
|
|
3
|
-
<rect x="0.591156" y="0.5" width="5.75211" height="3" rx="1.5" fill="#E4E4E4" stroke="white"/>
|
|
4
|
-
<rect x="0.591156" y="3.5" width="5.75211" height="3" rx="1.5" fill="#E4E4E4" stroke="white"/>
|
|
5
|
-
<rect x="0.591156" y="6.5" width="5.75211" height="3" rx="1.5" fill="#E4E4E4" stroke="white"/>
|
|
6
|
-
</svg>
|
package/src/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.tsx
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Group, Rect, Text } from "react-konva";
|
|
3
|
-
|
|
4
|
-
const TOOLTIP_WIDTH = 60;
|
|
5
|
-
const TOOLTIP_HEIGHT = 20;
|
|
6
|
-
|
|
7
|
-
const BACKGROUND_COLOR = "#000";
|
|
8
|
-
const BACKGROUND_Y_OFFSET = 1;
|
|
9
|
-
const BACKGROUND_X_OFFSET = 30;
|
|
10
|
-
const BACKGROUND_RADIUS = 5;
|
|
11
|
-
const BACKGROUND_OPACITY = 0.8;
|
|
12
|
-
|
|
13
|
-
const TEXT_Y_OFFSET = 4;
|
|
14
|
-
const TEXT_STROKE_WIDTH = 5;
|
|
15
|
-
const TEXT_COLOR = "#FFF";
|
|
16
|
-
const TEXT_ALIGN = "center";
|
|
17
|
-
const TEXT_VERTICAL_ALIGN = "middle";
|
|
18
|
-
|
|
19
|
-
type ProductTooltipProps = {
|
|
20
|
-
x: number;
|
|
21
|
-
y: number;
|
|
22
|
-
text: string;
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export const ProductTooltip = ({ x, y, text }: ProductTooltipProps) => {
|
|
26
|
-
return (
|
|
27
|
-
<Group
|
|
28
|
-
width={TOOLTIP_WIDTH}
|
|
29
|
-
height={TOOLTIP_HEIGHT}
|
|
30
|
-
x={x + BACKGROUND_X_OFFSET}
|
|
31
|
-
y={y - BACKGROUND_Y_OFFSET}
|
|
32
|
-
>
|
|
33
|
-
<Rect
|
|
34
|
-
x={-5}
|
|
35
|
-
y={5}
|
|
36
|
-
sceneFunc={(context) => {
|
|
37
|
-
context.beginPath();
|
|
38
|
-
context.moveTo(0, 5);
|
|
39
|
-
context.lineTo(5, 0);
|
|
40
|
-
context.lineTo(5, 10);
|
|
41
|
-
context.closePath();
|
|
42
|
-
context.fill();
|
|
43
|
-
}}
|
|
44
|
-
fill={BACKGROUND_COLOR}
|
|
45
|
-
borderColor={BACKGROUND_COLOR}
|
|
46
|
-
opacity={BACKGROUND_OPACITY}
|
|
47
|
-
/>
|
|
48
|
-
<Rect
|
|
49
|
-
x={0}
|
|
50
|
-
y={0}
|
|
51
|
-
width={TOOLTIP_WIDTH}
|
|
52
|
-
height={TOOLTIP_HEIGHT}
|
|
53
|
-
fill={BACKGROUND_COLOR}
|
|
54
|
-
cornerRadius={BACKGROUND_RADIUS}
|
|
55
|
-
opacity={BACKGROUND_OPACITY}
|
|
56
|
-
/>
|
|
57
|
-
<Text
|
|
58
|
-
y={TEXT_Y_OFFSET}
|
|
59
|
-
text={text}
|
|
60
|
-
strokeWidth={TEXT_STROKE_WIDTH}
|
|
61
|
-
width={TOOLTIP_WIDTH}
|
|
62
|
-
align={TEXT_ALIGN}
|
|
63
|
-
verticalAlign={TEXT_VERTICAL_ALIGN}
|
|
64
|
-
fill={TEXT_COLOR}
|
|
65
|
-
/>
|
|
66
|
-
</Group>
|
|
67
|
-
);
|
|
68
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ProductTooltip } from "./ProductTooltip";
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import { useTranslation } from "react-i18next";
|
|
4
|
-
import { useIntl } from "react-intl";
|
|
5
|
-
|
|
6
|
-
export interface ActivitiesCardProps {
|
|
7
|
-
card: any;
|
|
8
|
-
onSelectCardId?: (productSetId: number) => void;
|
|
9
|
-
isActive: boolean;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export const ActivitiesCard = ({
|
|
13
|
-
card,
|
|
14
|
-
onSelectCardId,
|
|
15
|
-
isActive,
|
|
16
|
-
}: ActivitiesCardProps) => {
|
|
17
|
-
const { formatNumber } = useIntl();
|
|
18
|
-
const { t } = useTranslation("Design");
|
|
19
|
-
const { imageSrc, title, time, cost } = card;
|
|
20
|
-
|
|
21
|
-
const onClick = () => {
|
|
22
|
-
onSelectCardId(card);
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
return (
|
|
26
|
-
<div
|
|
27
|
-
id={card.id}
|
|
28
|
-
role="button"
|
|
29
|
-
className={clsx("iframe-activities-card", isActive && "active")}
|
|
30
|
-
onClick={onClick}
|
|
31
|
-
onKeyPress={onClick}
|
|
32
|
-
tabIndex={0}
|
|
33
|
-
>
|
|
34
|
-
{imageSrc && (
|
|
35
|
-
<div
|
|
36
|
-
className="card-image"
|
|
37
|
-
style={{
|
|
38
|
-
backgroundImage: `url("${imageSrc}")`,
|
|
39
|
-
}}
|
|
40
|
-
/>
|
|
41
|
-
)}
|
|
42
|
-
<div className={clsx("d-flex", "flex-column", !imageSrc && "no-image")}>
|
|
43
|
-
<div className="title">{title}</div>
|
|
44
|
-
|
|
45
|
-
{time && (
|
|
46
|
-
<div className="cost">
|
|
47
|
-
<div className="d-flex align-items-center">
|
|
48
|
-
<p className="m-0">
|
|
49
|
-
{time} {t("Mins")}
|
|
50
|
-
</p>
|
|
51
|
-
</div>
|
|
52
|
-
</div>
|
|
53
|
-
)}
|
|
54
|
-
|
|
55
|
-
{typeof cost === "number" && cost && (
|
|
56
|
-
<div className="label">
|
|
57
|
-
<div className="d-flex align-items-center mb-3">
|
|
58
|
-
<p className="m-0">
|
|
59
|
-
{t("from")}{" "}
|
|
60
|
-
{formatNumber(cost, { style: "currency", currency: "GBP" })}
|
|
61
|
-
</p>
|
|
62
|
-
</div>
|
|
63
|
-
</div>
|
|
64
|
-
)}
|
|
65
|
-
</div>
|
|
66
|
-
</div>
|
|
67
|
-
);
|
|
68
|
-
};
|
package/src/iframe/activities-card-page/components/activities-card/ActivitiesCardList.stories.tsx
DELETED
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import React, { useState } from "react";
|
|
2
|
-
import { useTranslation } from "react-i18next";
|
|
3
|
-
import { Meta } from "@storybook/react";
|
|
4
|
-
import { ActivitiesCard } from "./ActivitiesCard";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export default {
|
|
8
|
-
title: "Iframe/Activities Card/ActivitiesCardList",
|
|
9
|
-
component: Default,
|
|
10
|
-
} as Meta;
|
|
11
|
-
|
|
12
|
-
const currentCard = [
|
|
13
|
-
{
|
|
14
|
-
id: 1,
|
|
15
|
-
imageSrc:
|
|
16
|
-
"https://images.unsplash.com/photo-1656660371960-7fa3321af896?q=80&w=3270&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
|
|
17
|
-
goToDetails: true,
|
|
18
|
-
title: "TEST CARD",
|
|
19
|
-
time: "45",
|
|
20
|
-
cost: 200,
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
id: 3,
|
|
24
|
-
imageSrc:
|
|
25
|
-
"https://images.unsplash.com/photo-1587691592099-24045742c181?q=80&w=873&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 873w, https://images.unsplash.com/photo-1587691592099-24045742c181?q=80&w=1173&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 1173w, https://images.unsplash.com/photo-1587691592099-24045742c181?q=80&w=1473&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 1473w, https://images.unsplash.com/photo-1587691592099-24045742c181?q=80&w=1746&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 1746w, https://images.unsplash.com/photo-1587691592099-24045742c181?q=80&w=1773&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 1773w, https://images.unsplash.com/photo-1587691592099-24045742c181?q=80&w=2073&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 2073w, https://images.unsplash.com/photo-1587691592099-24045742c181?q=80&w=2346&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 2346w, https://images.unsplash.com/photo-1587691592099-24045742c181?q=80&w=2373&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 2373w, https://images.unsplash.com/photo-1587691592099-24045742c181?q=80&w=2673&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 2673w, https://images.unsplash.com/photo-1587691592099-24045742c181?q=80&w=2946&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 2946w, https://images.unsplash.com/photo-1587691592099-24045742c181?q=80&w=2973&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 2973w, https://images.unsplash.com/photo-1587691592099-24045742c181?q=80&w=3008&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 3008w",
|
|
26
|
-
goToDetails: true,
|
|
27
|
-
title: "Clay Pigeons & Axe NEW CARD",
|
|
28
|
-
time: "45",
|
|
29
|
-
cost: 200,
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
id: 2,
|
|
33
|
-
imageSrc:
|
|
34
|
-
"https://images.unsplash.com/photo-1656660371960-7fa3321af896?q=80&w=3270&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
|
|
35
|
-
goToDetails: false,
|
|
36
|
-
title: "TEST CARD",
|
|
37
|
-
time: "45",
|
|
38
|
-
cost: 200,
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
id: 4,
|
|
42
|
-
imageSrc:
|
|
43
|
-
"https://images.unsplash.com/photo-1656660371960-7fa3321af896?q=80&w=3270&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
|
|
44
|
-
goToDetails: true,
|
|
45
|
-
title: "Clay Pigeons & Axe NEW CARD",
|
|
46
|
-
time: "45",
|
|
47
|
-
cost: 200,
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
id: 5,
|
|
51
|
-
imageSrc:
|
|
52
|
-
"https://images.unsplash.com/photo-1605496036006-fa36378ca4ab?q=80&w=435&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 435w, https://images.unsplash.com/photo-1605496036006-fa36378ca4ab?q=80&w=735&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 735w, https://images.unsplash.com/photo-1605496036006-fa36378ca4ab?q=80&w=870&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 870w, https://images.unsplash.com/photo-1605496036006-fa36378ca4ab?q=80&w=1035&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 1035w, https://images.unsplash.com/photo-1605496036006-fa36378ca4ab?q=80&w=1335&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 1335w, https://images.unsplash.com/photo-1605496036006-fa36378ca4ab?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 1470w, https://images.unsplash.com/photo-1605496036006-fa36378ca4ab?q=80&w=1635&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 1635w, https://images.unsplash.com/photo-1605496036006-fa36378ca4ab?q=80&w=1935&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 1935w, https://images.unsplash.com/photo-1605496036006-fa36378ca4ab?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 2070w, https://images.unsplash.com/photo-1605496036006-fa36378ca4ab?q=80&w=2235&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 2235w, https://images.unsplash.com/photo-1605496036006-fa36378ca4ab?q=80&w=2535&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 2535w, https://images.unsplash.com/photo-1605496036006-fa36378ca4ab?q=80&w=2670&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 2670w, https://images.unsplash.com/photo-1605496036006-fa36378ca4ab?q=80&w=2835&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 2835w, https://images.unsplash.com/photo-1605496036006-fa36378ca4ab?q=80&w=3135&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 3135w, https://images.unsplash.com/photo-1605496036006-fa36378ca4ab?q=80&w=3270&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 3270w, https://images.unsplash.com/photo-1605496036006-fa36378ca4ab?q=80&w=3435&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 3435w, https://images.unsplash.com/photo-1605496036006-fa36378ca4ab?q=80&w=3735&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 3735w, https://images.unsplash.com/photo-1605496036006-fa36378ca4ab?q=80&w=3870&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 3870w, https://images.unsplash.com/photo-1605496036006-fa36378ca4ab?q=80&w=4035&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 4035w, https://images.unsplash.com/photo-1605496036006-fa36378ca4ab?q=80&w=4335&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 4335w, https://images.unsplash.com/photo-1605496036006-fa36378ca4ab?q=80&w=4470&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 4470w, https://images.unsplash.com/photo-1605496036006-fa36378ca4ab?q=80&w=4635&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 4635w, https://images.unsplash.com/photo-1605496036006-fa36378ca4ab?q=80&w=4935&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 4935w, https://images.unsplash.com/photo-1605496036006-fa36378ca4ab?q=80&w=5070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 5070w, https://images.unsplash.com/photo-1605496036006-fa36378ca4ab?q=80&w=5235&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 5235w, https://images.unsplash.com/photo-1605496036006-fa36378ca4ab?q=80&w=5535&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 5535w, https://images.unsplash.com/photo-1605496036006-fa36378ca4ab?q=80&w=5670&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 5670w, https://images.unsplash.com/photo-1605496036006-fa36378ca4ab?q=80&w=5835&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 5835w, https://images.unsplash.com/photo-1605496036006-fa36378ca4ab?q=80&w=6135&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 6135w, https://images.unsplash.com/photo-1605496036006-fa36378ca4ab?q=80&w=6240&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 6240w",
|
|
53
|
-
goToDetails: true,
|
|
54
|
-
title: "Clay Pigeons & Axe NEW CARD",
|
|
55
|
-
time: "45",
|
|
56
|
-
cost: 200,
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
id: 6,
|
|
60
|
-
imageSrc:
|
|
61
|
-
"https://plus.unsplash.com/premium_photo-1668383210938-0183489b5f8a?q=80&w=774&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 774w, https://plus.unsplash.com/premium_photo-1668383210938-0183489b5f8a?q=80&w=1074&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 1074w, https://plus.unsplash.com/premium_photo-1668383210938-0183489b5f8a?q=80&w=1374&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 1374w, https://plus.unsplash.com/premium_photo-1668383210938-0183489b5f8a?q=80&w=1548&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 1548w, https://plus.unsplash.com/premium_photo-1668383210938-0183489b5f8a?q=80&w=1674&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 1674w, https://plus.unsplash.com/premium_photo-1668383210938-0183489b5f8a?q=80&w=1974&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 1974w, https://plus.unsplash.com/premium_photo-1668383210938-0183489b5f8a?q=80&w=2148&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 2148w, https://plus.unsplash.com/premium_photo-1668383210938-0183489b5f8a?q=80&w=2274&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 2274w, https://plus.unsplash.com/premium_photo-1668383210938-0183489b5f8a?q=80&w=2574&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 2574w, https://plus.unsplash.com/premium_photo-1668383210938-0183489b5f8a?q=80&w=2748&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 2748w, https://plus.unsplash.com/premium_photo-1668383210938-0183489b5f8a?q=80&w=2874&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 2874w, https://plus.unsplash.com/premium_photo-1668383210938-0183489b5f8a?q=80&w=3174&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 3174w, https://plus.unsplash.com/premium_photo-1668383210938-0183489b5f8a?q=80&w=3348&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 3348w, https://plus.unsplash.com/premium_photo-1668383210938-0183489b5f8a?q=80&w=3474&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 3474w, https://plus.unsplash.com/premium_photo-1668383210938-0183489b5f8a?q=80&w=3774&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 3774w, https://plus.unsplash.com/premium_photo-1668383210938-0183489b5f8a?q=80&w=3948&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 3948w, https://plus.unsplash.com/premium_photo-1668383210938-0183489b5f8a?q=80&w=4074&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 4074w, https://plus.unsplash.com/premium_photo-1668383210938-0183489b5f8a?q=80&w=4374&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 4374w, https://plus.unsplash.com/premium_photo-1668383210938-0183489b5f8a?q=80&w=4548&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 4548w, https://plus.unsplash.com/premium_photo-1668383210938-0183489b5f8a?q=80&w=4674&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 4674w, https://plus.unsplash.com/premium_photo-1668383210938-0183489b5f8a?q=80&w=4974&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 4974w, https://plus.unsplash.com/premium_photo-1668383210938-0183489b5f8a?q=80&w=5148&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 5148w, https://plus.unsplash.com/premium_photo-1668383210938-0183489b5f8a?q=80&w=5274&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 5274w, https://plus.unsplash.com/premium_photo-1668383210938-0183489b5f8a?q=80&w=5574&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 5574w, https://plus.unsplash.com/premium_photo-1668383210938-0183489b5f8a?q=80&w=5748&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 5748w, https://plus.unsplash.com/premium_photo-1668383210938-0183489b5f8a?q=80&w=5874&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 5874w, https://plus.unsplash.com/premium_photo-1668383210938-0183489b5f8a?q=80&w=6000&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 6000w",
|
|
62
|
-
goToDetails: true,
|
|
63
|
-
title: "Clay Pigeons & Axe NEW CARD",
|
|
64
|
-
time: "45",
|
|
65
|
-
cost: 200,
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
id: 9,
|
|
69
|
-
imageSrc:
|
|
70
|
-
"https://images.unsplash.com/photo-1587691592099-24045742c181?q=80&w=873&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 873w, https://images.unsplash.com/photo-1587691592099-24045742c181?q=80&w=1173&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 1173w, https://images.unsplash.com/photo-1587691592099-24045742c181?q=80&w=1473&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 1473w, https://images.unsplash.com/photo-1587691592099-24045742c181?q=80&w=1746&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 1746w, https://images.unsplash.com/photo-1587691592099-24045742c181?q=80&w=1773&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 1773w, https://images.unsplash.com/photo-1587691592099-24045742c181?q=80&w=2073&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 2073w, https://images.unsplash.com/photo-1587691592099-24045742c181?q=80&w=2346&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 2346w, https://images.unsplash.com/photo-1587691592099-24045742c181?q=80&w=2373&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 2373w, https://images.unsplash.com/photo-1587691592099-24045742c181?q=80&w=2673&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 2673w, https://images.unsplash.com/photo-1587691592099-24045742c181?q=80&w=2946&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 2946w, https://images.unsplash.com/photo-1587691592099-24045742c181?q=80&w=2973&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 2973w, https://images.unsplash.com/photo-1587691592099-24045742c181?q=80&w=3008&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D 3008w",
|
|
71
|
-
goToDetails: true,
|
|
72
|
-
title: "Clay Pigeons & Axe NEW CARD",
|
|
73
|
-
time: "45",
|
|
74
|
-
cost: 200,
|
|
75
|
-
},
|
|
76
|
-
];
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
export function Default(props) {
|
|
80
|
-
|
|
81
|
-
const { t } = useTranslation("Design");
|
|
82
|
-
|
|
83
|
-
const [selectedCard, onSelectCardId] = useState<any | null>(null);
|
|
84
|
-
|
|
85
|
-
const onSelectCard = (item: number) => {
|
|
86
|
-
onSelectCardId(item);
|
|
87
|
-
};
|
|
88
|
-
|
|
89
|
-
return (
|
|
90
|
-
<div>
|
|
91
|
-
<h5 className="d-flex align-items-center justify-content-start w-100">
|
|
92
|
-
{t("selectActivities")}
|
|
93
|
-
</h5>
|
|
94
|
-
<div
|
|
95
|
-
style={{
|
|
96
|
-
display: "grid",
|
|
97
|
-
gridTemplateColumns: "repeat(auto-fill, 15rem)",
|
|
98
|
-
gridGap: "1rem",
|
|
99
|
-
justifyContent: "center",
|
|
100
|
-
padding: "1rem",
|
|
101
|
-
}}
|
|
102
|
-
>
|
|
103
|
-
{currentCard.map((card) => (
|
|
104
|
-
<ActivitiesCard
|
|
105
|
-
key={card.id}
|
|
106
|
-
card={card}
|
|
107
|
-
isActive={selectedCard?.id === card.id}
|
|
108
|
-
onSelectCardId={onSelectCard}
|
|
109
|
-
/>
|
|
110
|
-
))}
|
|
111
|
-
</div>
|
|
112
|
-
</div>
|
|
113
|
-
);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
Default.args = {
|
|
117
|
-
isLoading: false,
|
|
118
|
-
data: currentCard,
|
|
119
|
-
showBottomBlock: true,
|
|
120
|
-
};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Meta, Story } from "@storybook/react";
|
|
3
|
-
import { ActivitiesSelectedCard } from "./ActivitiesSelectedCard";
|
|
4
|
-
|
|
5
|
-
export default {
|
|
6
|
-
title: "Iframe/Activities Selected Card/ActivitiesSelectedCard",
|
|
7
|
-
component: ActivitiesSelectedCard,
|
|
8
|
-
} as Meta;
|
|
9
|
-
|
|
10
|
-
export type ActiveCard = {
|
|
11
|
-
id: number;
|
|
12
|
-
imageSrc: string;
|
|
13
|
-
goToDetails: boolean;
|
|
14
|
-
title: string;
|
|
15
|
-
time: number;
|
|
16
|
-
cost: number;
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
export const Default: Story<any> = () => {
|
|
20
|
-
const currentCard = [
|
|
21
|
-
{
|
|
22
|
-
id: 1,
|
|
23
|
-
imageSrc:
|
|
24
|
-
"https://images.unsplash.com/photo-1656660371960-7fa3321af896?q=80&w=3270&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
|
|
25
|
-
title: "TEST CARD",
|
|
26
|
-
time: "45",
|
|
27
|
-
cost: 200,
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
id: 3,
|
|
31
|
-
imageSrc:
|
|
32
|
-
"https://images.unsplash.com/photo-1656660371960-7fa3321af896?q=80&w=3270&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
|
|
33
|
-
title: "Clay Pigeons & Axe NEW CARD",
|
|
34
|
-
time: "45",
|
|
35
|
-
cost: 200,
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
id: 2,
|
|
39
|
-
imageSrc:
|
|
40
|
-
"https://images.unsplash.com/photo-1656660371960-7fa3321af896?q=80&w=3270&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D",
|
|
41
|
-
title: "People Item / Title",
|
|
42
|
-
time: "45",
|
|
43
|
-
cost: 200,
|
|
44
|
-
},
|
|
45
|
-
];
|
|
46
|
-
|
|
47
|
-
return (
|
|
48
|
-
<div
|
|
49
|
-
style={{
|
|
50
|
-
display: "flex",
|
|
51
|
-
flexWrap: "wrap",
|
|
52
|
-
flexDirection: "column",
|
|
53
|
-
padding: "0 1rem",
|
|
54
|
-
}}
|
|
55
|
-
>
|
|
56
|
-
{currentCard.map((card) => (
|
|
57
|
-
<ActivitiesSelectedCard
|
|
58
|
-
key={card.id}
|
|
59
|
-
imageSrc={card.imageSrc}
|
|
60
|
-
title={card.title}
|
|
61
|
-
cost={card.cost}
|
|
62
|
-
time={card.time}
|
|
63
|
-
/>
|
|
64
|
-
))}
|
|
65
|
-
</div>
|
|
66
|
-
);
|
|
67
|
-
};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import clsx from "clsx";
|
|
3
|
-
import { useTranslation } from "react-i18next";
|
|
4
|
-
import { useIntl } from "react-intl";
|
|
5
|
-
|
|
6
|
-
export interface ActivitiesSelectedCardProps {
|
|
7
|
-
imageSrc: string;
|
|
8
|
-
title: string;
|
|
9
|
-
time: string;
|
|
10
|
-
cost: number;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export const ActivitiesSelectedCard = ({
|
|
14
|
-
imageSrc,
|
|
15
|
-
title,
|
|
16
|
-
time,
|
|
17
|
-
cost,
|
|
18
|
-
}: ActivitiesSelectedCardProps) => {
|
|
19
|
-
const { t } = useTranslation("Design");
|
|
20
|
-
const { formatNumber } = useIntl();
|
|
21
|
-
|
|
22
|
-
return (
|
|
23
|
-
<div>
|
|
24
|
-
<div className={clsx("selected-activities-card")}>
|
|
25
|
-
<div className="description">
|
|
26
|
-
<div className="title">{title}</div>
|
|
27
|
-
{time && (
|
|
28
|
-
<div>
|
|
29
|
-
<p>
|
|
30
|
-
{time} {t("Mins")}{" "}
|
|
31
|
-
</p>
|
|
32
|
-
</div>
|
|
33
|
-
)}
|
|
34
|
-
|
|
35
|
-
{typeof cost === "number" && cost && (
|
|
36
|
-
<div>
|
|
37
|
-
<p>
|
|
38
|
-
{t("from")}{" "}
|
|
39
|
-
{formatNumber(cost, { style: "currency", currency: "GBP" })}
|
|
40
|
-
</p>
|
|
41
|
-
</div>
|
|
42
|
-
)}
|
|
43
|
-
</div>
|
|
44
|
-
|
|
45
|
-
{imageSrc && (
|
|
46
|
-
<div className="image-container">
|
|
47
|
-
<div
|
|
48
|
-
className="image"
|
|
49
|
-
style={{ backgroundImage: `url("${imageSrc}")` }}
|
|
50
|
-
/>
|
|
51
|
-
</div>
|
|
52
|
-
)}
|
|
53
|
-
</div>
|
|
54
|
-
<hr className="selected-activities-card-hr" />
|
|
55
|
-
</div>
|
|
56
|
-
);
|
|
57
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ErrorModal } from "./ErrorModal";
|