@licklist/design 0.68.5-dev.0 → 0.68.6-dev.0
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/events/edit-event-modal/utils/getDefaultProductSet.d.ts.map +1 -1
- package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +3 -1
- package/dist/iframe/activity-card/ActivityCard.d.ts +5 -4
- package/dist/iframe/activity-card/ActivityCard.d.ts.map +1 -1
- package/dist/iframe/activity-card/ActivityCard.js +52 -40
- package/dist/product-set/control/ProductSetControl.d.ts +4 -0
- package/dist/product-set/control/ProductSetControl.d.ts.map +1 -1
- package/dist/product-set/control/ProductSetControl.js +23 -3
- package/dist/product-set/control/ProductSetImageControl.d.ts +2 -0
- package/dist/product-set/control/ProductSetImageControl.d.ts.map +1 -0
- package/dist/product-set/control/ProductSetImageControl.js +279 -0
- package/dist/styles/activity-card/{GridActivitiesCard.scss → ActivitiesCard.scss} +19 -5
- package/dist/styles/activity-card/ListActivitiesCard.scss +12 -42
- package/dist/styles/activity-card/_index.scss +1 -1
- package/package.json +1 -1
- package/src/affiliate/card/AffiliateCard.tsx +15 -15
- package/src/affiliate/form/AffiliateControl.tsx +8 -8
- package/src/affiliate/form/AffiliateForm.tsx +5 -5
- package/src/auth/AccessDenied/AccessDenied.tsx +8 -8
- package/src/auth/ChangePassword/ChangePasswordComponent.tsx +4 -4
- package/src/auth/ChangePassword/ChangePasswordFormComponent.tsx +14 -14
- package/src/auth/Layout/AuthNavComponent.tsx +6 -6
- package/src/auth/Layout/UserNavComponent.tsx +2 -2
- package/src/auth/Layout/UserNavDropDown.tsx +1 -1
- package/src/auth/Layout/UserNavDropDownToggle.tsx +3 -3
- package/src/auth/Login/LoginComponent.tsx +8 -8
- package/src/auth/Login/LoginFormComponent.tsx +15 -15
- package/src/auth/Logout/Logout.stories.tsx +2 -2
- package/src/auth/Register/BirthDateFormComponent.tsx +17 -17
- package/src/auth/Register/RegisterComponent.tsx +7 -7
- package/src/auth/Register/RegisterFormComponent.tsx +56 -56
- package/src/auth/ResetPassword/ResetPasswordComponent.tsx +3 -3
- package/src/auth/ResetPassword/ResetPasswordFormComponent.tsx +13 -13
- package/src/auth/Social/SocialCallbackComponent.tsx +3 -3
- package/src/auth/Social/SocialFormComponent.tsx +4 -4
- package/src/availability-indicator/AvailabilityIndicator.tsx +1 -1
- package/src/calendar/Calendar.tsx +2 -2
- package/src/calendar/components/CalendarButtons/CalendarButtons.tsx +9 -9
- package/src/calendar/components/CalendarDates/CalendarDates.tsx +2 -2
- package/src/calendar/components/CalendarSelect/CalendarSelect.tsx +2 -2
- package/src/calendar/components/CalendarWeekdays/CalendarWeekdays.tsx +2 -2
- package/src/collapsible-input-group/CollapsibleInputGroup.tsx +6 -6
- package/src/custom-fields/CustomFields.stories.tsx +1 -1
- package/src/custom-fields/field/FieldItem.tsx +1 -1
- package/src/custom-fields/field/SelectFieldModal.tsx +4 -4
- package/src/custom-fields/field-set/components/CustomFieldSet/CustomFieldSet.tsx +8 -8
- package/src/custom-fields/forms/DropdownForm.tsx +16 -16
- package/src/custom-fields/forms/TextInputForm.tsx +6 -6
- package/src/customers/components/filter/CustomerFilter.tsx +3 -3
- package/src/date-time-button/DateContent.tsx +1 -1
- package/src/date-time-button/DateTimeButton.tsx +2 -2
- package/src/error/ErrorFallback.tsx +1 -1
- package/src/events/edit-event-modal/IntervalInput.tsx +11 -11
- package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.stories.tsx +2 -2
- package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx +24 -24
- package/src/events/edit-event-modal/component/ProductSetShortForm/ProductSetShortForm.tsx +3 -3
- package/src/events/edit-event-modal/component/SaleDeadline/SaleDeadline.tsx +11 -11
- package/src/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.tsx +15 -15
- package/src/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.tsx +5 -5
- package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +2 -0
- package/src/events/edit-recurrent-event-modal/EditRecurrentEventModal.stories.tsx +1 -1
- package/src/events/edit-recurrent-event-modal/EditRecurrentEventModal.tsx +16 -16
- package/src/events/event-card/EventCard.stories.tsx +5 -5
- package/src/events/event-card/EventCard.tsx +30 -30
- package/src/events/event-card/EventCardSkeleton.tsx +10 -10
- package/src/events/event-statistic-modal/EventStatisticModal.stories.tsx +1 -1
- package/src/events/event-statistic-modal/EventStatisticModal.tsx +8 -8
- package/src/events/event-venue-map/components/Dropdown/Dropdown.tsx +1 -1
- package/src/events/event-venue-map/components/Dropdown/components/DropdownWrapper/DropdownWrapper.tsx +3 -3
- package/src/events/event-venue-map/components/Dropdown/components/ProductsControl/ProductsControl.tsx +5 -5
- package/src/events/event-venue-map/components/Dropdown/components/SelectControl/SelectControl.tsx +10 -10
- package/src/events/event-venue-map/components/MapPoint/components/DeleteIcon/DeleteIcon.tsx +1 -1
- package/src/events/event-venue-map/components/MapPoint/components/EditIcon/EditIcon.tsx +1 -1
- package/src/events/event-venue-map/components/MapPoint/components/PointIcon/PointIcon.tsx +2 -2
- package/src/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.tsx +1 -1
- package/src/events/event-venue-map/components/Scrollbars/Scrollbars.tsx +5 -5
- package/src/events/event-venue-map/components/VenueMap/VenueMap.tsx +3 -3
- package/src/events/event-venue-map/components/ZoomButtons/ZoomButtons.tsx +4 -4
- package/src/file-upload/FilePreview.tsx +8 -8
- package/src/file-upload/FileUpload.tsx +8 -8
- package/src/header/BookeditHeader.tsx +1 -1
- package/src/header/Header.stories.tsx +16 -16
- package/src/header/Header.tsx +11 -11
- package/src/header/LicklistHeader.tsx +1 -1
- package/src/header/elements/CompanySelector.tsx +6 -6
- package/src/help/example/Example.tsx +12 -12
- package/src/help/popover/HelpPopover.tsx +5 -5
- package/src/iframe/activity-card/ActivityCard.tsx +38 -27
- package/src/iframe/back-button/BackButton.tsx +3 -3
- package/src/iframe/custom-fields/components/CustomDateField.stories.tsx +1 -1
- package/src/iframe/custom-fields/components/CustomDateField.tsx +7 -7
- package/src/iframe/event/event-booking-form/EventBookingForm.tsx +14 -14
- package/src/iframe/event/event-booking-products/EventBookingProducts.tsx +3 -3
- package/src/iframe/event/event-booking-products/components/AccordionItem/AccordionItem.tsx +10 -10
- package/src/iframe/event/event-booking-view/EventBookingView.tsx +1 -1
- package/src/iframe/event/event-card/IframeEventCard.stories.tsx +6 -6
- package/src/iframe/event/event-card/IframeEventCardSkeleton.tsx +20 -20
- package/src/iframe/event/event-card/IframeEventCards.stories.tsx +2 -2
- package/src/iframe/event/event-description/EventDescription.stories.tsx +3 -3
- package/src/iframe/event/event-description/EventDescription.tsx +10 -10
- package/src/iframe/event/event-navigation-footer/EventNavigationFooter.tsx +6 -6
- package/src/iframe/event/event-order-short-summary/EventOrderShortSummary.tsx +2 -2
- package/src/iframe/event/event-order-short-summary/components/Summary/Summary.tsx +4 -4
- package/src/iframe/event/event-order-summary/EventOrderSummary.stories.tsx +1 -1
- package/src/iframe/event/event-order-summary/EventOrderSummary.tsx +5 -5
- package/src/iframe/event/event-product-sets/EventProductSets.stories.tsx +1 -1
- package/src/iframe/event/event-product-sets/EventProductSets.tsx +1 -1
- package/src/iframe/event/event-product-sets/components/EventProductSet.tsx +1 -1
- package/src/iframe/event/event-step-venue-map-zones/EventStepVenueMapZones.tsx +1 -1
- package/src/iframe/event/event-step-venue-map-zones/components/EventStepVenueMapZone.tsx +3 -3
- package/src/iframe/event/event-tables/EventTables.stories.tsx +1 -1
- package/src/iframe/event/event-tables/EventTables.tsx +5 -5
- package/src/iframe/event/event-venue-map/IframeEventVenueMap.stories.tsx +4 -4
- package/src/iframe/event/event-venue-map/IframeEventVenueMap.tsx +1 -1
- package/src/iframe/event/ticket-description/TicketDescription.stories.tsx +6 -6
- package/src/iframe/event/ticket-description/TicketDescription.tsx +7 -7
- package/src/iframe/external-modal/ExternalModal.tsx +7 -7
- package/src/iframe/order-process/components/BookingSummary/BookingSummary.stories.tsx +8 -8
- package/src/iframe/order-process/components/BookingSummary/BookingSummary.tsx +23 -23
- package/src/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.tsx +1 -1
- package/src/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.tsx +6 -6
- package/src/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.tsx +3 -3
- package/src/iframe/order-process/components/BookingSummary/components/SummaryTotal/SummaryTotal.tsx +1 -1
- package/src/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.tsx +2 -2
- package/src/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.tsx +9 -9
- package/src/iframe/order-process/components/BookingSummaryFooter/BookingSummaryFooter.tsx +3 -3
- package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.stories.tsx +5 -5
- package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.tsx +3 -3
- package/src/iframe/order-process/components/CalendarStepsForm/components/Category.tsx +1 -1
- package/src/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.tsx +3 -3
- package/src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx +7 -7
- package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.stories.tsx +1 -1
- package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +4 -4
- package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +2 -2
- package/src/iframe/order-process/components/ErrorModal/ErrorModal.tsx +8 -8
- package/src/iframe/order-process/components/NavigationFooter/NavigationFooter.tsx +4 -4
- package/src/iframe/order-process/components/NavigationSteps/NavigationSteps.stories.tsx +1 -1
- package/src/iframe/order-process/components/NavigationSteps/NavigationSteps.tsx +6 -6
- package/src/iframe/order-process/components/PaymentCard/PaymentCard.stories.tsx +2 -2
- package/src/iframe/order-process/components/PaymentCard/PaymentCard.tsx +9 -9
- package/src/iframe/order-process/components/Timer/Timer.stories.tsx +2 -2
- package/src/iframe/order-process/components/Timer/Timer.tsx +6 -6
- package/src/iframe/page/Page.stories.tsx +4 -4
- package/src/iframe/page/Page.tsx +1 -1
- package/src/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.tsx +2 -2
- package/src/iframe/page/components/PageBody/components/RightBlock/RightBlock.tsx +2 -2
- package/src/iframe/page/components/PageHeader/PageHeader.tsx +6 -6
- package/src/iframe/payment/order-items-table/OrderItemsTable.stories.tsx +2 -2
- package/src/iframe/payment/order-items-table/OrderItemsTable.tsx +2 -2
- package/src/iframe/payment/order-items-table/hooks/useTableData.tsx +3 -3
- package/src/iframe/payment/payment-form/PaymentForm.stories.tsx +5 -5
- package/src/iframe/payment/payment-form/PaymentForm.tsx +12 -12
- package/src/iframe/payment/payment-page/PaymentPage.tsx +5 -5
- package/src/iframe/payment/payment-status-header/PaymentStatusHeader.stories.tsx +2 -2
- package/src/iframe/payment/payment-status-header/PaymentStatusHeader.tsx +2 -2
- package/src/iframe/payment/payment-status-page/PaymentStatusComponent.stories.tsx +2 -2
- package/src/iframe/payment/payment-status-page/PaymentStatusPage.tsx +2 -2
- package/src/iframe/payment/status-body/StatusBody.tsx +3 -3
- package/src/iframe/powered-by/PoweredBy.tsx +4 -4
- package/src/iframe/ryft/RyftPaymentForm.tsx +12 -12
- package/src/image-radio-input/ImageRadioInput.tsx +5 -5
- package/src/layout/BackgroundVideoContainer.tsx +2 -2
- package/src/layout/Container.tsx +1 -1
- package/src/layout/DropDownToggle.tsx +1 -1
- package/src/layout/Layout.stories.tsx +5 -5
- package/src/logo/Logo.tsx +2 -2
- package/src/modals/confirmation/ConfirmModal.tsx +13 -13
- package/src/modals/dialog/Dialog.tsx +10 -10
- package/src/modals/fullscreen/FullscreenModal.tsx +10 -10
- package/src/modals/fullscreen/FulscreenModal.stories.tsx +2 -2
- package/src/notification/components/NotificationPlaceholders.tsx +5 -5
- package/src/notification/email-template/card/EmailTemplateCard.tsx +10 -10
- package/src/notification/email-template/control/EmailTemplateControl.tsx +29 -29
- package/src/notification/email-template/form/EmailTemplateForm.tsx +3 -3
- package/src/notification/send-email-template/SendEmailTemplateForm.tsx +11 -11
- package/src/notification/sms-template/card/SmsTemplateCard.tsx +9 -9
- package/src/notification/sms-template/control/SmsTemplateControl.tsx +15 -15
- package/src/notification/sms-template/form/SmsTemplateForm.tsx +1 -1
- package/src/number-of-people-input/components/RenderNumberOfPeopleInputComponent.tsx +6 -6
- package/src/product-set/card/ProductSetCard.tsx +21 -21
- package/src/product-set/control/DateAndRecurrenceInput.tsx +10 -10
- package/src/product-set/control/DateInput.tsx +10 -10
- package/src/product-set/control/ProductSetControl.stories.tsx +2 -2
- package/src/product-set/control/ProductSetControl.tsx +64 -72
- package/src/product-set/control/ProductSetImageControl.tsx +97 -0
- package/src/product-set/control/ProductSetRecurrenceControl.stories.tsx +1 -1
- package/src/product-set/control/ProductSetRecurrenceControl.tsx +10 -10
- package/src/product-set/control/ProductSetRecurrenceOverridesControl.tsx +9 -9
- package/src/product-set/control/TutorialGifCard.tsx +10 -10
- package/src/product-set/deposit-paid/ProductSetDepositPaid.stories.tsx +2 -2
- package/src/product-set/deposit-paid/ProductSetDepositPaidControl.tsx +9 -9
- package/src/product-set/elements/DeleteFieldButton.tsx +3 -3
- package/src/product-set/form/MobileFooter.tsx +2 -2
- package/src/product-set/form/ProductCategoriesControl.tsx +13 -13
- package/src/product-set/form/ProductSetForm.tsx +4 -4
- package/src/product-set/form/ProductSetFormPopover.tsx +4 -4
- package/src/product-set/form/ProductSetNameControl.tsx +1 -1
- package/src/product-set/form/ProductZonesControl.tsx +4 -4
- package/src/product-set/form/ProductsControl.tsx +4 -4
- package/src/product-set/form/SelectCategoryModal.tsx +22 -22
- package/src/product-set/form/StepsControl.tsx +5 -5
- package/src/product-set/form/SubProductsControl.tsx +1 -1
- package/src/product-set/form/VenueMapSetModal.tsx +16 -16
- package/src/product-set/form/VenueMapsControl.tsx +9 -9
- package/src/product-set/item/CreateProductSetItem.tsx +2 -2
- package/src/product-set/popover/ProductSetPopover.stories.tsx +7 -7
- package/src/product-set/popover/ProductSetPopover.tsx +5 -5
- package/src/product-set/product/Product.stories.tsx +4 -4
- package/src/product-set/product/ProductControl.tsx +19 -19
- package/src/product-set/product/advanced-options/AdvancedOptions.tsx +10 -10
- package/src/product-set/product/booking-management/ProductBookingManagement.stories.tsx +1 -1
- package/src/product-set/product/booking-management/ProductBookingManagementControl.tsx +9 -9
- package/src/product-set/product/deposit/ProductDeposit.stories.tsx +1 -1
- package/src/product-set/product/deposit/ProductDepositControl.tsx +4 -4
- package/src/product-set/product/duration/ProductDurationControl.stories.tsx +1 -1
- package/src/product-set/product/duration/ProductDurationControl.tsx +10 -10
- package/src/product-set/product/fixed-duration-fields/FixedDurationOptions.tsx +1 -1
- package/src/product-set/product/price/ProductPrice.stories.tsx +1 -1
- package/src/product-set/product/price/ProductPriceControl.tsx +4 -4
- package/src/product-set/product/quantity/ProductQuantity.stories.tsx +3 -3
- package/src/product-set/product/quantity/ProductQuantityConstantControl.tsx +10 -10
- package/src/product-set/product/quantity/ProductQuantityControl.tsx +8 -8
- package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +3 -3
- package/src/product-set/product-category/ProductCategory.stories.tsx +4 -4
- package/src/product-set/product-category/ProductCategoryControl.tsx +27 -27
- package/src/product-set/product-zone/ProductZoneControl.tsx +6 -6
- package/src/product-set/step/Step.stories.tsx +1 -1
- package/src/product-set/step/StepControl.tsx +5 -5
- package/src/product-set/tabs/ProductSetTabs.stories.tsx +3 -3
- package/src/product-set/tabs/ProductSetTabs.tsx +1 -1
- package/src/provider/categories-input/CategoriesInput.tsx +9 -9
- package/src/provider/categories-input/CategoriesInputDescription.tsx +4 -4
- package/src/provider/company/user-form/UserForm.tsx +9 -9
- package/src/provider/location-input/LocationInput.tsx +11 -11
- package/src/provider/location-input/LocationInputDescription.tsx +1 -1
- package/src/provider/location-input/components/FormGroupControll.tsx +1 -1
- package/src/provider/provider-details-input/ProviderDetailsInput.tsx +18 -18
- package/src/provider/provider-form/ProviderForm.tsx +11 -11
- package/src/provider/provider-links-input/ProviderLinksInput.tsx +4 -4
- package/src/provider/venue-form/VenueForm.tsx +12 -12
- package/src/provider/working-hours-input/WorkingHoursInput.tsx +13 -13
- package/src/provider/working-hours-input/WorkingHoursInputDescription.tsx +1 -1
- package/src/radio-card/RadioCard.tsx +3 -3
- package/src/recurrence-input/RecurrenceEndInput.tsx +12 -12
- package/src/recurrence-input/RecurrenceIntervalAndFrequencyInput.tsx +6 -6
- package/src/recurrence-input/RecurrenceMonthlyRepeatByInput.tsx +4 -4
- package/src/recurrence-input/RecurrenceWeekdaysInput.tsx +4 -4
- package/src/recurring-date-picker-input/DatePickerInput.tsx +3 -3
- package/src/recurring-date-picker-input/RecurrenceAndFrequencyInput.tsx +8 -8
- package/src/recurring-date-picker-input/RecurrenceEndInput.tsx +12 -12
- package/src/recurring-date-picker-input/RecurrenceIntervalAndFrequencyInput.tsx +10 -10
- package/src/recurring-date-picker-input/RecurrenceMonthlyRepeatByInput.tsx +4 -4
- package/src/recurring-date-picker-input/RecurrenceWeekdaysInput.tsx +6 -6
- package/src/recurring-date-picker-input/RecurringDatePickerInput.tsx +4 -4
- package/src/report/DataFieldsSelector/DataFieldsSelector.tsx +6 -6
- package/src/report/ReportRunnerModal/ReportRunnerModal.tsx +23 -23
- package/src/report/ReportTypeSelect/ReportTypeSelect.tsx +9 -9
- package/src/report/card/ReportCard.tsx +3 -3
- package/src/report/form/ReportForm.tsx +9 -9
- package/src/resource/form/ResourceForm.tsx +4 -4
- package/src/resource/form/components/CapacityControl.tsx +2 -2
- package/src/resource/form/components/NameControl.tsx +1 -1
- package/src/resource/form/components/SortControl.tsx +2 -2
- package/src/resource/form/components/ZoneControl.tsx +3 -3
- package/src/sales/booking/results/BookingResults.tsx +2 -2
- package/src/sales/booking/results/components/ResultCard.tsx +8 -8
- package/src/sales/coupon/control/CouponFormControl.tsx +24 -24
- package/src/sales/coupon/form/CouponFrom.tsx +3 -3
- package/src/sales/filters/SaleFilters.tsx +3 -3
- package/src/sales/guest-profile/previous-bookings/PreviousBookings.tsx +12 -12
- package/src/sales/guest-profile/profile/Profile.tsx +6 -6
- package/src/sales/guest-profile/profile/components/ImageHolder/ImageHolder.tsx +1 -1
- package/src/sales/guest-profile/user-metrics/UserMetrics.tsx +34 -34
- package/src/sales/guest-profile/visited-providers/VisitedProviders.tsx +10 -10
- package/src/sales/life-time-sales/LifeTimeSalesChart.tsx +8 -8
- package/src/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.stories.tsx +1 -1
- package/src/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.tsx +3 -3
- package/src/sales/manual-booking/search-user/SearchUser.tsx +8 -8
- package/src/sales/manual-booking/select-date-type-control/SelectDateTypeControl.tsx +10 -10
- package/src/sales/manual-booking/select-event/SelectEvent.tsx +13 -13
- package/src/sales/manual-booking/select-menu/SelectMenu.tsx +5 -5
- package/src/sales/manual-booking/select-menu/components/MenuButton.tsx +2 -2
- package/src/sales/manual-booking/summary/ManualBookingSummary.tsx +11 -11
- package/src/sales/modals/payment-modal/PaymentModal.tsx +10 -10
- package/src/sales/modals/refund-modal/RefundModal.stories.tsx +1 -1
- package/src/sales/modals/refund-modal/RefundModal.tsx +11 -11
- package/src/sales/notes/NotesTable.tsx +5 -5
- package/src/sales/notes/NotesTableRow.tsx +13 -13
- package/src/sales/notes/note-form/NoteForm.tsx +11 -11
- package/src/sales/payment-form/SalePaymentForm.tsx +5 -5
- package/src/sales/payment-form/components/RyftPayment/RyftPayment.tsx +9 -9
- package/src/sales/sales-and-views/SalesAndViewsChart.tsx +19 -19
- package/src/sales/source-of-sales/SourceOfSalesChart.tsx +9 -9
- package/src/sales/statistics-chart/StatisticsChart.tsx +4 -4
- package/src/setting/admin/AdminSettingForm.tsx +14 -14
- package/src/setting/admin/PaymentFeeForm.tsx +28 -28
- package/src/setting/dashboard/DashboardSettingForm.tsx +16 -16
- package/src/setting/dashboard/EventSettingForm.tsx +3 -3
- package/src/setting/dashboard/FinancialDataForm.tsx +5 -5
- package/src/setting/dashboard/OtherSettingForm.tsx +29 -29
- package/src/setting/dashboard/ProviderSettingForm.tsx +3 -3
- package/src/setting/dashboard/components/IpInput.tsx +10 -10
- package/src/setting/dashboard/payments/payments-form/PaymentsForm.tsx +8 -8
- package/src/setting/dashboard/payments/payments-modal/PaymentsModal.tsx +4 -4
- package/src/setting/dashboard/snippet-templates/card/SnippetTemplateCard.tsx +8 -8
- package/src/setting/dashboard/snippets/card/SnippetCard.tsx +16 -16
- package/src/setting/system/SystemSettingForm.tsx +8 -8
- package/src/sidebar/elements/Elements.stories.tsx +1 -1
- package/src/sidebar/elements/ReturnBack.tsx +3 -3
- package/src/slide-curtain/SlideCurtain.stories.tsx +1 -1
- package/src/slide-curtain/SlideCurtain.tsx +4 -4
- package/src/snippet/snippet-template/SnippetTemplate.tsx +3 -3
- package/src/snippet/snippet-template/context/snippetTemplate.tsx +2 -2
- package/src/snippet/snippet-template/control/PropertyControl.tsx +8 -8
- package/src/snippet/snippet-template/form/SnippetTemplateForm.tsx +7 -7
- package/src/snippet/snippet-template/preview/Preview.tsx +66 -66
- package/src/snippet/snippet-template/settings/SettingButton.tsx +2 -2
- package/src/sortable-fields/SortableFieldItem.tsx +2 -2
- package/src/sortable-list/CreateSortableListItem.tsx +3 -3
- package/src/sortable-tree/SortableTreeItem.stories.tsx +2 -2
- package/src/sortable-tree/SortableTreeItem.tsx +41 -41
- package/src/sorting-select/SortingSelect.tsx +4 -4
- package/src/static/CountryCodeSelect.tsx +4 -4
- package/src/static/CountrySelect.tsx +5 -5
- package/src/static/CurrencyNumberInput.tsx +5 -5
- package/src/static/RestrictedAccess.tsx +6 -6
- package/src/static/SocialButton.tsx +1 -1
- package/src/static/Static.stories.tsx +24 -24
- package/src/static/UserBadge.tsx +7 -7
- package/src/static/WarningMessage.tsx +2 -2
- package/src/static/date-range-input/DateRangeInput.stories.tsx +1 -1
- package/src/static/date-range-input/DateRangeInput.tsx +12 -12
- package/src/static/form-number-input/FormNumberInput.stories.tsx +1 -1
- package/src/static/form-number-input/FormNumberInput.tsx +4 -4
- package/src/static/images/Images.stories.tsx +1 -1
- package/src/static/loader/BlockLoader.tsx +2 -2
- package/src/static/loader/ButtonLoader.tsx +1 -1
- package/src/static/loader/Loader.stories.tsx +2 -2
- package/src/static/loader/PaymentLoader.tsx +4 -4
- package/src/static/loader/SnippetLoader.tsx +2 -2
- package/src/static/manual-date-picker/ManualDatePicker.tsx +9 -9
- package/src/static/number-input/NumberInput.tsx +6 -6
- package/src/static/switch/Switch.stories.tsx +3 -3
- package/src/static/switch/Switch.tsx +4 -4
- package/src/static/tabs/Tabs.tsx +1 -1
- package/src/static/text-expand/TextExpand.tsx +3 -3
- package/src/striped-static-table/StripedStaticTable.tsx +2 -2
- package/src/styles/activity-card/{GridActivitiesCard.scss → ActivitiesCard.scss} +19 -5
- package/src/styles/activity-card/ListActivitiesCard.scss +12 -42
- package/src/styles/activity-card/_index.scss +1 -1
- package/src/table/FilterHelperComponent.tsx +10 -10
- package/src/table/MenuButton.tsx +1 -1
- package/src/table/PaginationHelperComponent.tsx +7 -7
- package/src/table/PerPageHelperComponent.tsx +5 -5
- package/src/table/ReactTableHelperComponent.tsx +1 -1
- package/src/table/TableHelperComponent.tsx +1 -1
- package/src/theme/Theme.stories.tsx +36 -36
- package/src/tiptap-editor/TipTapEditor.tsx +1 -1
- package/src/tiptap-editor/TipTapMenu/TipTapMenu.tsx +21 -21
- package/src/tiptap-editor/TipTapMenu/components/TipTapMenuItem.tsx +2 -2
- package/src/typeahead/Typeahead.stories.tsx +3 -3
- package/src/typeahead-helper/TypeaheadHelperComponent.tsx +4 -4
- package/src/venue-map-sets/card/VenueMapSetCard.tsx +14 -14
- package/src/venue-map-sets/form/VenueMapSetForm.tsx +3 -3
- package/src/venue-map-sets/form/components/NameControl.tsx +1 -1
- package/src/venue-map-sets/form/components/VenueMapControl.tsx +8 -8
- package/src/venue-map-sets/form/components/VenueMapImageControl.tsx +5 -5
- package/src/venue-map-sets/form/components/VenueMapModal.tsx +16 -16
- package/src/venue-map-sets/form/components/VenueMapsControl.tsx +1 -1
- package/src/virtualized/components/VirtualizedGrid.tsx +1 -1
- package/src/zone/card/ZoneCard.tsx +14 -14
- package/src/zone/form/ZoneForm.tsx +3 -3
- package/src/zone/form/components/AvailableTimesControl.tsx +4 -4
- package/src/zone/form/components/DescriptionControl.tsx +2 -2
- package/src/zone/form/components/GameDurationControl.tsx +2 -2
- package/src/zone/form/components/NameControl.tsx +1 -1
- package/src/zone/form/components/SortControl.tsx +2 -2
- package/src/zone/form/components/ZoneControl.tsx +1 -1
- package/src/zone/form/components/ZoneImageControl.tsx +3 -3
- package/src/zone/form/components/ZoneRecurrenceControl.tsx +10 -10
- package/src/zone/form/components/ZoneRecurrencesControl.tsx +10 -10
- package/src/zone/form/components/ZoneTypeControl.tsx +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDefaultProductSet.d.ts","sourceRoot":"","sources":["../../../../src/events/edit-event-modal/utils/getDefaultProductSet.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,UAAU,EACX,MAAM,6DAA6D,CAAA;AAEpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAA;AAE/E,eAAO,MAAM,gBAAgB,gBACd,UAAU,GAAG,IAAI,qBACX,OAAO,KACzB,
|
|
1
|
+
{"version":3,"file":"getDefaultProductSet.d.ts","sourceRoot":"","sources":["../../../../src/events/edit-event-modal/utils/getDefaultProductSet.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,UAAU,EACX,MAAM,6DAA6D,CAAA;AAEpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAA;AAE/E,eAAO,MAAM,gBAAgB,gBACd,UAAU,GAAG,IAAI,qBACX,OAAO,KACzB,oBAsCD,CAAA"}
|
|
@@ -100,10 +100,12 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
100
100
|
}
|
|
101
101
|
var getDefaultValues = function(productSet, hasNoRecurrences) {
|
|
102
102
|
var _productSet_mailTemplates, _productSet_smsTemplates, _productSet_steps;
|
|
103
|
-
var _productSet_id, _productSet_name, _productSet_type, _productSet_termsAndConditions, _productSet_operationalCost, _productSet_relyOnPeopleType, _productSet_thankYouPageUrl, _productSet_steps_map, _productSet_menuRecurrences;
|
|
103
|
+
var _productSet_id, _productSet_name, _productSet_description, _productSet_type, _productSet_termsAndConditions, _productSet_operationalCost, _productSet_relyOnPeopleType, _productSet_thankYouPageUrl, _productSet_steps_map, _productSet_menuRecurrences;
|
|
104
104
|
return {
|
|
105
105
|
id: (_productSet_id = productSet === null || productSet === void 0 ? void 0 : productSet.id) !== null && _productSet_id !== void 0 ? _productSet_id : 0,
|
|
106
106
|
name: (_productSet_name = productSet === null || productSet === void 0 ? void 0 : productSet.name) !== null && _productSet_name !== void 0 ? _productSet_name : '',
|
|
107
|
+
description: (_productSet_description = productSet === null || productSet === void 0 ? void 0 : productSet.description) !== null && _productSet_description !== void 0 ? _productSet_description : '',
|
|
108
|
+
image: productSet === null || productSet === void 0 ? void 0 : productSet.image,
|
|
107
109
|
type: (_productSet_type = productSet === null || productSet === void 0 ? void 0 : productSet.type) !== null && _productSet_type !== void 0 ? _productSet_type : DEFAULT_PRODUCT_SET_TYPE,
|
|
108
110
|
termsAndConditions: (_productSet_termsAndConditions = productSet === null || productSet === void 0 ? void 0 : productSet.termsAndConditions) !== null && _productSet_termsAndConditions !== void 0 ? _productSet_termsAndConditions : '',
|
|
109
111
|
operationalCost: (_productSet_operationalCost = productSet === null || productSet === void 0 ? void 0 : productSet.operationalCost) !== null && _productSet_operationalCost !== void 0 ? _productSet_operationalCost : DEFAULT_OPERATIONAL_COST_TYPE,
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
+
import { Image } from '@licklist/core/dist/DataMapper/Media/ImageDataMapper';
|
|
2
3
|
export declare const LAYOUT_GRID = "grid";
|
|
3
4
|
export declare const LAYOUT_LIST = "list";
|
|
4
|
-
type Layout = typeof LAYOUT_GRID | typeof LAYOUT_LIST;
|
|
5
5
|
export type ActivityCardProps = {
|
|
6
6
|
title: ReactNode;
|
|
7
7
|
duration: ReactNode;
|
|
8
8
|
price: ReactNode;
|
|
9
|
+
description?: ReactNode;
|
|
9
10
|
onSelect: () => void;
|
|
10
11
|
isSelected: boolean;
|
|
11
|
-
layout?:
|
|
12
|
+
layout?: typeof LAYOUT_GRID | typeof LAYOUT_LIST;
|
|
12
13
|
availableTimes?: string | null;
|
|
14
|
+
image?: Image | null;
|
|
13
15
|
};
|
|
14
|
-
export declare const ActivityCard: ({ title, duration, price, availableTimes, onSelect, isSelected, layout, }: ActivityCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export {};
|
|
16
|
+
export declare const ActivityCard: ({ title, duration, price, description, availableTimes, image, onSelect, isSelected, layout, }: ActivityCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
17
|
//# sourceMappingURL=ActivityCard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActivityCard.d.ts","sourceRoot":"","sources":["../../../src/iframe/activity-card/ActivityCard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"ActivityCard.d.ts","sourceRoot":"","sources":["../../../src/iframe/activity-card/ActivityCard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,OAAO,EAAE,KAAK,EAAE,MAAM,sDAAsD,CAAA;AAE5E,eAAO,MAAM,WAAW,SAAS,CAAA;AACjC,eAAO,MAAM,WAAW,SAAS,CAAA;AAEjC,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,SAAS,CAAA;IAChB,QAAQ,EAAE,SAAS,CAAA;IACnB,KAAK,EAAE,SAAS,CAAA;IAChB,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,QAAQ,EAAE,MAAM,IAAI,CAAA;IACpB,UAAU,EAAE,OAAO,CAAA;IACnB,MAAM,CAAC,EAAE,OAAO,WAAW,GAAG,OAAO,WAAW,CAAA;IAChD,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,CAAA;CACrB,CAAA;AAED,eAAO,MAAM,YAAY,kGAUtB,iBAAiB,4CAiDnB,CAAA"}
|
|
@@ -1,63 +1,75 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import clsx from 'clsx';
|
|
3
3
|
|
|
4
4
|
var LAYOUT_GRID = 'grid';
|
|
5
5
|
var LAYOUT_LIST = 'list';
|
|
6
6
|
var ActivityCard = function(param) {
|
|
7
|
-
var title = param.title, duration = param.duration, price = param.price, availableTimes = param.availableTimes,
|
|
8
|
-
onSelect = param.onSelect, isSelected = param.isSelected, _param_layout = param.layout, layout = _param_layout === void 0 ? LAYOUT_GRID : _param_layout;
|
|
7
|
+
var title = param.title, duration = param.duration, price = param.price, description = param.description, availableTimes = param.availableTimes, image = param.image, onSelect = param.onSelect, isSelected = param.isSelected, _param_layout = param.layout, layout = _param_layout === void 0 ? LAYOUT_GRID : _param_layout;
|
|
9
8
|
if (layout === LAYOUT_GRID) {
|
|
10
|
-
return /*#__PURE__*/
|
|
9
|
+
return /*#__PURE__*/ jsxs("button", {
|
|
11
10
|
type: "button",
|
|
12
|
-
className: clsx('activity-card',
|
|
11
|
+
className: clsx('activity-card', {
|
|
12
|
+
active: isSelected
|
|
13
|
+
}),
|
|
13
14
|
onClick: onSelect,
|
|
14
|
-
children:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
className: "activity-card-title",
|
|
19
|
-
children: title
|
|
20
|
-
}),
|
|
21
|
-
duration && /*#__PURE__*/ jsx("div", {
|
|
22
|
-
children: duration
|
|
23
|
-
}),
|
|
24
|
-
price && /*#__PURE__*/ jsx("div", {
|
|
25
|
-
children: price
|
|
26
|
-
})
|
|
27
|
-
]
|
|
28
|
-
})
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
return /*#__PURE__*/ jsxs("div", {
|
|
32
|
-
role: "button",
|
|
33
|
-
onClick: onSelect,
|
|
34
|
-
onKeyPress: onSelect,
|
|
35
|
-
tabIndex: 0,
|
|
36
|
-
children: [
|
|
37
|
-
/*#__PURE__*/ jsx("div", {
|
|
38
|
-
className: clsx('list-activity-card', {
|
|
39
|
-
active: isSelected
|
|
15
|
+
children: [
|
|
16
|
+
image && /*#__PURE__*/ jsx("img", {
|
|
17
|
+
src: image.url,
|
|
18
|
+
alt: typeof title === 'string' ? title : ''
|
|
40
19
|
}),
|
|
41
|
-
|
|
42
|
-
className: "description",
|
|
20
|
+
/*#__PURE__*/ jsxs("div", {
|
|
43
21
|
children: [
|
|
44
22
|
/*#__PURE__*/ jsx("div", {
|
|
45
|
-
className: "title
|
|
23
|
+
className: "activity-card-title",
|
|
46
24
|
children: title
|
|
47
25
|
}),
|
|
48
|
-
availableTimes && /*#__PURE__*/ jsx("div", {
|
|
49
|
-
children: availableTimes
|
|
50
|
-
}),
|
|
51
26
|
duration && /*#__PURE__*/ jsx("div", {
|
|
52
|
-
children:
|
|
53
|
-
children: duration
|
|
54
|
-
})
|
|
27
|
+
children: duration
|
|
55
28
|
}),
|
|
56
29
|
price && /*#__PURE__*/ jsx("div", {
|
|
57
30
|
children: price
|
|
31
|
+
}),
|
|
32
|
+
description && /*#__PURE__*/ jsx("div", {
|
|
33
|
+
className: "mt-2 activity-card-description",
|
|
34
|
+
children: description
|
|
58
35
|
})
|
|
59
36
|
]
|
|
60
37
|
})
|
|
38
|
+
]
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
return /*#__PURE__*/ jsxs("button", {
|
|
42
|
+
type: "button",
|
|
43
|
+
onClick: onSelect,
|
|
44
|
+
className: clsx('activity-card list-activity-card', {
|
|
45
|
+
active: isSelected
|
|
46
|
+
}),
|
|
47
|
+
children: [
|
|
48
|
+
image && /*#__PURE__*/ jsx("img", {
|
|
49
|
+
src: image.url,
|
|
50
|
+
alt: typeof title === 'string' ? title : ''
|
|
51
|
+
}),
|
|
52
|
+
/*#__PURE__*/ jsxs("div", {
|
|
53
|
+
className: "activity-card-info",
|
|
54
|
+
children: [
|
|
55
|
+
/*#__PURE__*/ jsx("div", {
|
|
56
|
+
className: "activity-card-title mb-2",
|
|
57
|
+
children: title
|
|
58
|
+
}),
|
|
59
|
+
availableTimes && /*#__PURE__*/ jsx("div", {
|
|
60
|
+
children: availableTimes
|
|
61
|
+
}),
|
|
62
|
+
duration && /*#__PURE__*/ jsx("div", {
|
|
63
|
+
children: duration
|
|
64
|
+
}),
|
|
65
|
+
price && /*#__PURE__*/ jsx("div", {
|
|
66
|
+
children: price
|
|
67
|
+
}),
|
|
68
|
+
description && /*#__PURE__*/ jsx("div", {
|
|
69
|
+
className: "mt-2 activity-card-description",
|
|
70
|
+
children: description
|
|
71
|
+
})
|
|
72
|
+
]
|
|
61
73
|
}),
|
|
62
74
|
/*#__PURE__*/ jsx("hr", {
|
|
63
75
|
className: "list-activity-card-hr"
|
|
@@ -3,6 +3,7 @@ import { FieldSet } from '@licklist/core/dist/DataMapper/Order/FieldSetDataMappe
|
|
|
3
3
|
import { EmailTemplate } from '@licklist/core/dist/DataMapper/Notification/EmailTemplateDataMapper';
|
|
4
4
|
import { SmsTemplate } from '@licklist/core/dist/DataMapper/Notification/SmsTemplateDataMapper';
|
|
5
5
|
import { WorkHour } from '@licklist/core/dist/DataMapper/Provider/WorkHourDataMapper';
|
|
6
|
+
import { Image } from '@licklist/core/dist/DataMapper/Media/ImageDataMapper';
|
|
6
7
|
import { SelectItem } from '../../types/generic/SelectItem';
|
|
7
8
|
import { DateAndRecurrenceInputValues } from './DateAndRecurrenceInput';
|
|
8
9
|
import { Step } from '../types';
|
|
@@ -13,6 +14,8 @@ export interface TemplateItem {
|
|
|
13
14
|
}
|
|
14
15
|
export interface ProductSetControlValues extends DateAndRecurrenceInputValues {
|
|
15
16
|
name: string;
|
|
17
|
+
description?: string;
|
|
18
|
+
image?: Image;
|
|
16
19
|
type: ProductSetType;
|
|
17
20
|
termsAndConditions: string;
|
|
18
21
|
thankYouPageUrl: string;
|
|
@@ -23,6 +26,7 @@ export interface ProductSetControlValues extends DateAndRecurrenceInputValues {
|
|
|
23
26
|
steps: Step[];
|
|
24
27
|
emailTemplates?: TemplateItem[];
|
|
25
28
|
smsTemplates?: TemplateItem[];
|
|
29
|
+
localImageBlobURL?: string;
|
|
26
30
|
}
|
|
27
31
|
export interface ProductSetControlShared {
|
|
28
32
|
fee?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductSetControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/control/ProductSetControl.tsx"],"names":[],"mappings":"AAIA,OAAO,EAOL,mBAAmB,EACnB,cAAc,EAEd,gBAAgB,EACjB,MAAM,6DAA6D,CAAA;AAEpE,OAAO,EAAE,QAAQ,EAAE,MAAM,yDAAyD,CAAA;AAClF,OAAO,EAAE,aAAa,EAAE,MAAM,qEAAqE,CAAA;AACnG,OAAO,EAAE,WAAW,EAAE,MAAM,mEAAmE,CAAA;AAG/F,OAAO,EAAE,QAAQ,EAAE,MAAM,4DAA4D,CAAA;
|
|
1
|
+
{"version":3,"file":"ProductSetControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/control/ProductSetControl.tsx"],"names":[],"mappings":"AAIA,OAAO,EAOL,mBAAmB,EACnB,cAAc,EAEd,gBAAgB,EACjB,MAAM,6DAA6D,CAAA;AAEpE,OAAO,EAAE,QAAQ,EAAE,MAAM,yDAAyD,CAAA;AAClF,OAAO,EAAE,aAAa,EAAE,MAAM,qEAAqE,CAAA;AACnG,OAAO,EAAE,WAAW,EAAE,MAAM,mEAAmE,CAAA;AAG/F,OAAO,EAAE,QAAQ,EAAE,MAAM,4DAA4D,CAAA;AAErF,OAAO,EAAE,KAAK,EAAE,MAAM,sDAAsD,CAAA;AAE5E,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAA;AAC3D,OAAO,EAEL,4BAA4B,EAC7B,MAAM,0BAA0B,CAAA;AAEjC,OAAO,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AAiB/B,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,aAAa,GAAG,WAAW,CAAA;IAClC,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,uBAAwB,SAAQ,4BAA4B;IAC3E,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EAAE,KAAK,CAAA;IACb,IAAI,EAAE,cAAc,CAAA;IACpB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,eAAe,EAAE,MAAM,CAAA;IACvB,eAAe,EAAE,mBAAmB,CAAA;IACpC,aAAa,CAAC,EAAE,UAAU,EAAE,CAAA;IAC5B,gBAAgB,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAA;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,IAAI,EAAE,CAAA;IACb,cAAc,CAAC,EAAE,YAAY,EAAE,CAAA;IAC/B,YAAY,CAAC,EAAE,YAAY,EAAE,CAAA;IAC7B,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAC3B;AAED,MAAM,WAAW,uBAAuB;IACtC,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAA;IACtB,cAAc,CAAC,EAAE,aAAa,EAAE,CAAA;IAChC,YAAY,CAAC,EAAE,WAAW,EAAE,CAAA;CAC7B;AAED,MAAM,WAAW,sBAAsB;IACrC,WAAW,EAAE,MAAM,CAAA;IACnB,SAAS,EAAE,OAAO,CAAA;IAClB,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAC/B,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,cAAc,CAAC,EAAE,YAAY,EAAE,CAAA;IAC/B,YAAY,CAAC,EAAE,YAAY,EAAE,CAAA;IAC7B,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAA;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,SAAS,EAAE,QAAQ,EAAE,GAAG,SAAS,CAAA;IACjC,4BAA4B,CAAC,EAAE,OAAO,CAAA;IACtC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,oBAAoB,CAAC,EAAE,OAAO,CAAA;IAC9B,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,wBAAgB,iBAAiB,CAAC,EAChC,WAAW,EACX,SAAS,EACT,GAAU,EACV,SAAc,EACd,cAAmB,EACnB,YAAiB,EACjB,qBAAqB,EACrB,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,SAAS,EACT,4BAAoC,EACpC,WAAmB,EACnB,oBAA4B,EAC5B,QAAQ,GACT,EAAE,sBAAsB,2CA8SxB"}
|
|
@@ -14,6 +14,7 @@ import TutorialGifCard from './TutorialGifCard.js';
|
|
|
14
14
|
import { StepsControl } from '../form/StepsControl.js';
|
|
15
15
|
import { Typeahead } from '../../typeahead/Typeahead.js';
|
|
16
16
|
import { DateInput } from './DateInput.js';
|
|
17
|
+
import { ProductSetImageControl } from './ProductSetImageControl.js';
|
|
17
18
|
import WarningMessage from '../../static/WarningMessage.js';
|
|
18
19
|
|
|
19
20
|
function _define_property(obj, key, value) {
|
|
@@ -74,7 +75,7 @@ var _obj1;
|
|
|
74
75
|
var RELY_ON_PEOPLE_TYPE_TITLES = (_obj1 = {}, _define_property(_obj1, RELY_ON_PEOPLE_PRODUCT_CAPACITY_QUANTITY, 'peopleProductCapacityQuantity'), _define_property(_obj1, RELY_ON_PEOPLE_PRODUCT_QUANTITY, 'peopleProductQuantity'), _define_property(_obj1, RELY_ON_PEOPLE_QUANTITY, 'peopleQuantity'), _obj1);
|
|
75
76
|
function ProductSetControl(param) {
|
|
76
77
|
var companyName = param.companyName, isLoading = param.isLoading, _param_fee = param.fee, fee = _param_fee === void 0 ? '5%' : _param_fee, _param_fieldSets = param.fieldSets, fieldSets = _param_fieldSets === void 0 ? [] : _param_fieldSets, _param_emailTemplates = param.emailTemplates, emailTemplates = _param_emailTemplates === void 0 ? [] : _param_emailTemplates, _param_smsTemplates = param.smsTemplates, smsTemplates = _param_smsTemplates === void 0 ? [] : _param_smsTemplates, isEventEditProductSet = param.isEventEditProductSet, isCreateAction = param.isCreateAction, showEmailTemplate = param.showEmailTemplate, showSmsTemplate = param.showSmsTemplate, workHours = param.workHours, _param_providerHasBookingManagement = param.providerHasBookingManagement, providerHasBookingManagement = _param_providerHasBookingManagement === void 0 ? false : _param_providerHasBookingManagement, _param_isOverrides = param.isOverrides, isOverrides = _param_isOverrides === void 0 ? false : _param_isOverrides, _param_isCreateNewOverrides = param.isCreateNewOverrides, isCreateNewOverrides = _param_isCreateNewOverrides === void 0 ? false : _param_isCreateNewOverrides, timeZone = param.timeZone;
|
|
77
|
-
var _errors_name;
|
|
78
|
+
var _errors_name, _errors_description;
|
|
78
79
|
var t = useTranslation([
|
|
79
80
|
'Design',
|
|
80
81
|
'Validation',
|
|
@@ -83,6 +84,7 @@ function ProductSetControl(param) {
|
|
|
83
84
|
var _useFormContext = useFormContext(), register = _useFormContext.register, control = _useFormContext.control, errors = _useFormContext.formState.errors, watch = _useFormContext.watch, setError = _useFormContext.setError, clearErrors = _useFormContext.clearErrors;
|
|
84
85
|
var steps = watch('steps');
|
|
85
86
|
var nameId = useId();
|
|
87
|
+
var descriptionId = useId();
|
|
86
88
|
var termsAndConditionsId = useId();
|
|
87
89
|
var relyOnPeopleTypeId = useId();
|
|
88
90
|
var showSmsTemplateSelector = showSmsTemplate && !isOverrides;
|
|
@@ -141,6 +143,25 @@ function ProductSetControl(param) {
|
|
|
141
143
|
})
|
|
142
144
|
]
|
|
143
145
|
}),
|
|
146
|
+
/*#__PURE__*/ jsxs(Form.Group, {
|
|
147
|
+
controlId: descriptionId,
|
|
148
|
+
children: [
|
|
149
|
+
/*#__PURE__*/ jsx(Form.Label, {
|
|
150
|
+
children: t('Design:description')
|
|
151
|
+
}),
|
|
152
|
+
/*#__PURE__*/ jsx(Form.Control, _object_spread_props(_object_spread({}, register('description', {
|
|
153
|
+
maxLength: 25000
|
|
154
|
+
})), {
|
|
155
|
+
as: "textarea",
|
|
156
|
+
isInvalid: Boolean(errors.description)
|
|
157
|
+
})),
|
|
158
|
+
/*#__PURE__*/ jsx(Form.Control.Feedback, {
|
|
159
|
+
type: "invalid",
|
|
160
|
+
children: (_errors_description = errors.description) === null || _errors_description === void 0 ? void 0 : _errors_description.message
|
|
161
|
+
})
|
|
162
|
+
]
|
|
163
|
+
}),
|
|
164
|
+
/*#__PURE__*/ jsx(ProductSetImageControl, {}),
|
|
144
165
|
showDateSelector ? /*#__PURE__*/ jsx(DateInput, {
|
|
145
166
|
workHours: isZoneAdded ? workHours : undefined,
|
|
146
167
|
isLoading: isLoading,
|
|
@@ -308,7 +329,6 @@ function ProductSetControl(param) {
|
|
|
308
329
|
name: "fieldSetId",
|
|
309
330
|
render: function(param) {
|
|
310
331
|
var field = param.field;
|
|
311
|
-
var fieldValue = Number(field.value);
|
|
312
332
|
return /*#__PURE__*/ jsxs(Fragment, {
|
|
313
333
|
children: [
|
|
314
334
|
/*#__PURE__*/ jsx(Form.Label, {
|
|
@@ -316,7 +336,7 @@ function ProductSetControl(param) {
|
|
|
316
336
|
}),
|
|
317
337
|
/*#__PURE__*/ jsxs(Form.Control, {
|
|
318
338
|
onChange: field.onChange,
|
|
319
|
-
value:
|
|
339
|
+
value: Number(field.value),
|
|
320
340
|
as: "select",
|
|
321
341
|
disabled: isOverrides,
|
|
322
342
|
isInvalid: HookFormService.isInvalid('fieldSetId', errors),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductSetImageControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/control/ProductSetImageControl.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,sBAAsB,+CAsFlC,CAAA"}
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { useFormContext } from 'react-hook-form';
|
|
3
|
+
import { useImages, HookFormService } from '@licklist/plugins';
|
|
4
|
+
import { IMAGE_TYPE_IMAGE } from '@licklist/core/dist/DataMapper/Media/ImageDataMapper';
|
|
5
|
+
import { useCallback, useEffect } from 'react';
|
|
6
|
+
import { Form } from 'react-bootstrap';
|
|
7
|
+
import { FileUpload } from '../../file-upload/FileUpload.js';
|
|
8
|
+
import { useTranslation } from 'react-i18next';
|
|
9
|
+
import { isEqual } from 'lodash';
|
|
10
|
+
|
|
11
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
12
|
+
try {
|
|
13
|
+
var info = gen[key](arg);
|
|
14
|
+
var value = info.value;
|
|
15
|
+
} catch (error) {
|
|
16
|
+
reject(error);
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
if (info.done) {
|
|
20
|
+
resolve(value);
|
|
21
|
+
} else {
|
|
22
|
+
Promise.resolve(value).then(_next, _throw);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
function _async_to_generator(fn) {
|
|
26
|
+
return function() {
|
|
27
|
+
var self = this, args = arguments;
|
|
28
|
+
return new Promise(function(resolve, reject) {
|
|
29
|
+
var gen = fn.apply(self, args);
|
|
30
|
+
function _next(value) {
|
|
31
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
32
|
+
}
|
|
33
|
+
function _throw(err) {
|
|
34
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
35
|
+
}
|
|
36
|
+
_next(undefined);
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function _define_property(obj, key, value) {
|
|
41
|
+
if (key in obj) {
|
|
42
|
+
Object.defineProperty(obj, key, {
|
|
43
|
+
value: value,
|
|
44
|
+
enumerable: true,
|
|
45
|
+
configurable: true,
|
|
46
|
+
writable: true
|
|
47
|
+
});
|
|
48
|
+
} else {
|
|
49
|
+
obj[key] = value;
|
|
50
|
+
}
|
|
51
|
+
return obj;
|
|
52
|
+
}
|
|
53
|
+
function _object_spread(target) {
|
|
54
|
+
for(var i = 1; i < arguments.length; i++){
|
|
55
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
56
|
+
var ownKeys = Object.keys(source);
|
|
57
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
58
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
59
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
60
|
+
}));
|
|
61
|
+
}
|
|
62
|
+
ownKeys.forEach(function(key) {
|
|
63
|
+
_define_property(target, key, source[key]);
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
return target;
|
|
67
|
+
}
|
|
68
|
+
function ownKeys(object, enumerableOnly) {
|
|
69
|
+
var keys = Object.keys(object);
|
|
70
|
+
if (Object.getOwnPropertySymbols) {
|
|
71
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
72
|
+
if (enumerableOnly) {
|
|
73
|
+
symbols = symbols.filter(function(sym) {
|
|
74
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
keys.push.apply(keys, symbols);
|
|
78
|
+
}
|
|
79
|
+
return keys;
|
|
80
|
+
}
|
|
81
|
+
function _object_spread_props(target, source) {
|
|
82
|
+
source = source != null ? source : {};
|
|
83
|
+
if (Object.getOwnPropertyDescriptors) {
|
|
84
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
85
|
+
} else {
|
|
86
|
+
ownKeys(Object(source)).forEach(function(key) {
|
|
87
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
return target;
|
|
91
|
+
}
|
|
92
|
+
function _ts_generator(thisArg, body) {
|
|
93
|
+
var f, y, t, g, _ = {
|
|
94
|
+
label: 0,
|
|
95
|
+
sent: function() {
|
|
96
|
+
if (t[0] & 1) throw t[1];
|
|
97
|
+
return t[1];
|
|
98
|
+
},
|
|
99
|
+
trys: [],
|
|
100
|
+
ops: []
|
|
101
|
+
};
|
|
102
|
+
return g = {
|
|
103
|
+
next: verb(0),
|
|
104
|
+
"throw": verb(1),
|
|
105
|
+
"return": verb(2)
|
|
106
|
+
}, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
107
|
+
return this;
|
|
108
|
+
}), g;
|
|
109
|
+
function verb(n) {
|
|
110
|
+
return function(v) {
|
|
111
|
+
return step([
|
|
112
|
+
n,
|
|
113
|
+
v
|
|
114
|
+
]);
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
function step(op) {
|
|
118
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
119
|
+
while(_)try {
|
|
120
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
121
|
+
if (y = 0, t) op = [
|
|
122
|
+
op[0] & 2,
|
|
123
|
+
t.value
|
|
124
|
+
];
|
|
125
|
+
switch(op[0]){
|
|
126
|
+
case 0:
|
|
127
|
+
case 1:
|
|
128
|
+
t = op;
|
|
129
|
+
break;
|
|
130
|
+
case 4:
|
|
131
|
+
_.label++;
|
|
132
|
+
return {
|
|
133
|
+
value: op[1],
|
|
134
|
+
done: false
|
|
135
|
+
};
|
|
136
|
+
case 5:
|
|
137
|
+
_.label++;
|
|
138
|
+
y = op[1];
|
|
139
|
+
op = [
|
|
140
|
+
0
|
|
141
|
+
];
|
|
142
|
+
continue;
|
|
143
|
+
case 7:
|
|
144
|
+
op = _.ops.pop();
|
|
145
|
+
_.trys.pop();
|
|
146
|
+
continue;
|
|
147
|
+
default:
|
|
148
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
149
|
+
_ = 0;
|
|
150
|
+
continue;
|
|
151
|
+
}
|
|
152
|
+
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
153
|
+
_.label = op[1];
|
|
154
|
+
break;
|
|
155
|
+
}
|
|
156
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
157
|
+
_.label = t[1];
|
|
158
|
+
t = op;
|
|
159
|
+
break;
|
|
160
|
+
}
|
|
161
|
+
if (t && _.label < t[2]) {
|
|
162
|
+
_.label = t[2];
|
|
163
|
+
_.ops.push(op);
|
|
164
|
+
break;
|
|
165
|
+
}
|
|
166
|
+
if (t[2]) _.ops.pop();
|
|
167
|
+
_.trys.pop();
|
|
168
|
+
continue;
|
|
169
|
+
}
|
|
170
|
+
op = body.call(thisArg, _);
|
|
171
|
+
} catch (e) {
|
|
172
|
+
op = [
|
|
173
|
+
6,
|
|
174
|
+
e
|
|
175
|
+
];
|
|
176
|
+
y = 0;
|
|
177
|
+
} finally{
|
|
178
|
+
f = t = 0;
|
|
179
|
+
}
|
|
180
|
+
if (op[0] & 5) throw op[1];
|
|
181
|
+
return {
|
|
182
|
+
value: op[0] ? op[1] : void 0,
|
|
183
|
+
done: true
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
var ProductSetImageControl = function() {
|
|
188
|
+
var t = useTranslation('Design').t;
|
|
189
|
+
var _useFormContext = useFormContext(), errors = _useFormContext.formState.errors, setValue = _useFormContext.setValue, watch = _useFormContext.watch, clearErrors = _useFormContext.clearErrors;
|
|
190
|
+
var currentProductSet = watch();
|
|
191
|
+
var _useImages = useImages(null), images = _useImages.images, handleImageRemove = _useImages.handleImageRemove, handleImageUploading = _useImages.handleImageUploading, isImageUploading = _useImages.isLoading, setImages = _useImages.setImages;
|
|
192
|
+
var onFilesChange = useCallback(function() {
|
|
193
|
+
var _ref = _async_to_generator(function(files) {
|
|
194
|
+
var uploadedFiles;
|
|
195
|
+
return _ts_generator(this, function(_state) {
|
|
196
|
+
switch(_state.label){
|
|
197
|
+
case 0:
|
|
198
|
+
return [
|
|
199
|
+
4,
|
|
200
|
+
handleImageUploading(files, IMAGE_TYPE_IMAGE)
|
|
201
|
+
];
|
|
202
|
+
case 1:
|
|
203
|
+
uploadedFiles = _state.sent();
|
|
204
|
+
if (!uploadedFiles) return [
|
|
205
|
+
2
|
|
206
|
+
];
|
|
207
|
+
setValue('localImageBlobURL', URL.createObjectURL(files[0]));
|
|
208
|
+
return [
|
|
209
|
+
2
|
|
210
|
+
];
|
|
211
|
+
}
|
|
212
|
+
});
|
|
213
|
+
});
|
|
214
|
+
return function(files) {
|
|
215
|
+
return _ref.apply(this, arguments);
|
|
216
|
+
};
|
|
217
|
+
}(), // eslint-disable-next-line react-hooks/exhaustive-deps
|
|
218
|
+
[
|
|
219
|
+
handleImageUploading
|
|
220
|
+
]);
|
|
221
|
+
var onImageRemove = useCallback(function(id, path) {
|
|
222
|
+
handleImageRemove(id, path);
|
|
223
|
+
setValue('localImageBlobURL', undefined);
|
|
224
|
+
}, // eslint-disable-next-line react-hooks/exhaustive-deps
|
|
225
|
+
[
|
|
226
|
+
handleImageRemove
|
|
227
|
+
]);
|
|
228
|
+
useEffect(function() {
|
|
229
|
+
if (!currentProductSet || !currentProductSet.image) return;
|
|
230
|
+
setImages([
|
|
231
|
+
_object_spread_props(_object_spread({}, currentProductSet.image), {
|
|
232
|
+
url: currentProductSet.image.url || (currentProductSet === null || currentProductSet === void 0 ? void 0 : currentProductSet.localImageBlobURL)
|
|
233
|
+
})
|
|
234
|
+
]);
|
|
235
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
236
|
+
}, [
|
|
237
|
+
currentProductSet === null || currentProductSet === void 0 ? void 0 : currentProductSet.image
|
|
238
|
+
]);
|
|
239
|
+
useEffect(function() {
|
|
240
|
+
if (isEqual(images[0], currentProductSet === null || currentProductSet === void 0 ? void 0 : currentProductSet.image)) return;
|
|
241
|
+
setValue('image', images[0] || null);
|
|
242
|
+
if (images[0]) {
|
|
243
|
+
clearErrors('image');
|
|
244
|
+
}
|
|
245
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
246
|
+
}, [
|
|
247
|
+
images
|
|
248
|
+
]);
|
|
249
|
+
return /*#__PURE__*/ jsxs(Form.Group, {
|
|
250
|
+
controlId: "name",
|
|
251
|
+
children: [
|
|
252
|
+
/*#__PURE__*/ jsx(Form.Control, {
|
|
253
|
+
isInvalid: HookFormService.isInvalid('image', errors),
|
|
254
|
+
hidden: true
|
|
255
|
+
}),
|
|
256
|
+
/*#__PURE__*/ jsx(FileUpload, {
|
|
257
|
+
onFilesChange: onFilesChange,
|
|
258
|
+
allowedExtensions: [
|
|
259
|
+
'jpeg',
|
|
260
|
+
'jpg',
|
|
261
|
+
'png'
|
|
262
|
+
],
|
|
263
|
+
subTitle: ".jpeg .jpg .png",
|
|
264
|
+
enablePreview: true,
|
|
265
|
+
onFileRemove: onImageRemove,
|
|
266
|
+
defaultFiles: images,
|
|
267
|
+
isLoading: isImageUploading,
|
|
268
|
+
withIcon: true,
|
|
269
|
+
title: t('Design:addImage')
|
|
270
|
+
}),
|
|
271
|
+
/*#__PURE__*/ jsx(Form.Control.Feedback, {
|
|
272
|
+
type: "invalid",
|
|
273
|
+
children: HookFormService.getErrors('image', errors)
|
|
274
|
+
})
|
|
275
|
+
]
|
|
276
|
+
});
|
|
277
|
+
};
|
|
278
|
+
|
|
279
|
+
export { ProductSetImageControl };
|
|
@@ -11,10 +11,7 @@
|
|
|
11
11
|
background-color: #fff;
|
|
12
12
|
font-size: 0.8rem;
|
|
13
13
|
background-color: $snippet-product-set-background-color;
|
|
14
|
-
|
|
15
|
-
div {
|
|
16
|
-
text-align: left;
|
|
17
|
-
}
|
|
14
|
+
text-align: left;
|
|
18
15
|
|
|
19
16
|
&.active {
|
|
20
17
|
border: 2px solid #0e8be1;
|
|
@@ -23,7 +20,24 @@
|
|
|
23
20
|
&-title {
|
|
24
21
|
font-weight: 600;
|
|
25
22
|
line-height: 1.25rem;
|
|
26
|
-
cursor: pointer;
|
|
27
23
|
font-size: 0.875rem;
|
|
28
24
|
}
|
|
25
|
+
|
|
26
|
+
img {
|
|
27
|
+
max-height: 100%;
|
|
28
|
+
max-width: 100%;
|
|
29
|
+
object-fit: cover;
|
|
30
|
+
aspect-ratio: 1.2/1;
|
|
31
|
+
margin-bottom: 0.8rem;
|
|
32
|
+
border-radius: 0.5rem;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&-description {
|
|
36
|
+
line-clamp: 5;
|
|
37
|
+
-webkit-line-clamp: 5;
|
|
38
|
+
overflow: hidden;
|
|
39
|
+
text-overflow: ellipsis;
|
|
40
|
+
display: -webkit-box;
|
|
41
|
+
-webkit-box-orient: vertical;
|
|
42
|
+
}
|
|
29
43
|
}
|
|
@@ -3,56 +3,26 @@
|
|
|
3
3
|
.list-activity-card {
|
|
4
4
|
display: flex;
|
|
5
5
|
justify-content: space-between;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
height: 6rem;
|
|
9
|
-
padding: 0.375rem;
|
|
10
|
-
border: 2px solid transparent;
|
|
11
|
-
border-radius: 0.5rem;
|
|
12
|
-
background-color: $snippet-product-set-background-color;
|
|
13
|
-
color: $snippet-product-set-font-color;
|
|
14
|
-
transition: $color-transition;
|
|
6
|
+
gap: 0.5rem;
|
|
7
|
+
width: auto;
|
|
15
8
|
|
|
16
|
-
|
|
17
|
-
border: 2px solid #0e8be1;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
p {
|
|
21
|
-
margin-bottom: 0;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.description {
|
|
9
|
+
&-info {
|
|
25
10
|
width: 70%;
|
|
26
11
|
font-size: 0.81rem;
|
|
27
12
|
display: flex;
|
|
28
13
|
flex-direction: column;
|
|
14
|
+
align-items: start;
|
|
29
15
|
}
|
|
30
16
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
font-size: 0.875rem;
|
|
34
|
-
line-height: 1.5rem;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.image-container {
|
|
38
|
-
display: flex;
|
|
39
|
-
justify-content: start;
|
|
17
|
+
img {
|
|
18
|
+
max-width: 120px;
|
|
40
19
|
height: 100%;
|
|
41
|
-
|
|
42
|
-
.
|
|
43
|
-
|
|
44
|
-
align-items: start;
|
|
45
|
-
width: 7rem;
|
|
46
|
-
height: 4rem;
|
|
47
|
-
margin-left: 3rem;
|
|
48
|
-
background-repeat: no-repeat;
|
|
49
|
-
background-size: cover;
|
|
50
|
-
background-position: center;
|
|
51
|
-
border-radius: 0.5rem;
|
|
52
|
-
}
|
|
20
|
+
object-fit: cover;
|
|
21
|
+
aspect-ratio: 1.2/1;
|
|
22
|
+
border-radius: 0.5rem;
|
|
53
23
|
}
|
|
54
|
-
}
|
|
55
24
|
|
|
56
|
-
|
|
57
|
-
|
|
25
|
+
&-hr {
|
|
26
|
+
margin-top: 0;
|
|
27
|
+
}
|
|
58
28
|
}
|