@licklist/design 0.44.485-dev.6 → 0.44.485-dev.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/affiliate/types/index.d.ts +1 -1
- package/dist/affiliate/types/index.d.ts.map +1 -1
- package/dist/auth/Login/LoginComponent.d.ts +1 -1
- package/dist/auth/Login/LoginComponent.d.ts.map +1 -1
- package/dist/auth/Login/LoginFormComponent.d.ts +1 -1
- package/dist/auth/Login/LoginFormComponent.d.ts.map +1 -1
- package/dist/auth/Register/RegisterComponent.d.ts +1 -1
- package/dist/auth/Register/RegisterComponent.d.ts.map +1 -1
- package/dist/auth/Register/RegisterFormComponent.d.ts +1 -1
- package/dist/auth/Register/RegisterFormComponent.d.ts.map +1 -1
- package/dist/auth/ResetPassword/ResetPasswordFormComponent.d.ts +1 -1
- package/dist/auth/ResetPassword/ResetPasswordFormComponent.d.ts.map +1 -1
- package/dist/collapsible-input-group/CollapsibleInputGroup.d.ts +1 -1
- package/dist/collapsible-input-group/CollapsibleInputGroup.d.ts.map +1 -1
- package/dist/custom-fields/field-set/CustomFieldSets.d.ts +3 -3
- package/dist/custom-fields/field-set/CustomFieldSets.d.ts.map +1 -1
- package/dist/custom-fields/field-set/components/CustomFieldSet/CustomFieldSet.d.ts +1 -1
- package/dist/custom-fields/field-set/components/CustomFieldSet/CustomFieldSet.d.ts.map +1 -1
- package/dist/custom-fields/field-set/contexts/useCustomFieldSets.d.ts +2 -2
- package/dist/custom-fields/field-set/contexts/useCustomFieldSets.d.ts.map +1 -1
- package/dist/customers/components/filter/CustomerFilter.d.ts +1 -1
- package/dist/customers/components/filter/CustomerFilter.d.ts.map +1 -1
- package/dist/events/edit-event-modal/IntervalInput.d.ts +4 -1
- 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 +5 -2
- package/dist/events/event-venue-map/EventVenueMap.d.ts.map +1 -1
- package/dist/events/event-venue-map/EventVenueMap.js +1 -1
- package/dist/events/event-venue-map/components/Dropdown/Dropdown.d.ts +1 -1
- package/dist/events/event-venue-map/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/ProductsControl/ProductsControl.d.ts +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/ProductsControl/ProductsControl.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/SelectControl/SelectControl.d.ts +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/SelectControl/SelectControl.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/MapPoint.d.ts +1 -1
- package/dist/events/event-venue-map/components/MapPoint/MapPoint.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/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/MapPoint/components/ProductTooltip/ProductTooltip.d.ts +9 -0
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.d.ts.map +1 -0
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.js +1 -0
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.d.ts +2 -0
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.d.ts.map +1 -0
- package/dist/events/event-venue-map/components/VenueMap/VenueMap.d.ts +4 -2
- package/dist/events/event-venue-map/components/VenueMap/VenueMap.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/VenueMap/VenueMap.js +1 -1
- package/dist/events/event-venue-map/hooks/useCanvasSize.d.ts +1 -1
- package/dist/events/event-venue-map/hooks/useCanvasSize.d.ts.map +1 -1
- package/dist/events/event-venue-map/hooks/useStageActions.d.ts +1 -1
- package/dist/events/event-venue-map/hooks/useStageActions.d.ts.map +1 -1
- package/dist/events/event-venue-map/types/index.d.ts +5 -5
- package/dist/events/event-venue-map/types/index.d.ts.map +1 -1
- package/dist/events/event-venue-map/utils/index.d.ts +3 -3
- package/dist/events/event-venue-map/utils/index.d.ts.map +1 -1
- package/dist/file-upload/FilePreview.d.ts +2 -2
- package/dist/file-upload/FilePreview.d.ts.map +1 -1
- package/dist/file-upload/FileUpload.d.ts +1 -1
- package/dist/file-upload/FileUpload.d.ts.map +1 -1
- package/dist/header/Header.d.ts +1 -1
- package/dist/header/Header.d.ts.map +1 -1
- package/dist/help/example/Example.d.ts +4 -4
- package/dist/help/example/Example.d.ts.map +1 -1
- package/dist/help/popover/HelpPopover.d.ts +1 -1
- package/dist/help/popover/HelpPopover.d.ts.map +1 -1
- package/dist/iframe/custom-fields/components/CustomDateField.d.ts +1 -1
- package/dist/iframe/custom-fields/components/CustomDateField.d.ts.map +1 -1
- package/dist/iframe/event/event-calendar/EventCalendar.d.ts +1 -1
- package/dist/iframe/event/event-calendar/EventCalendar.d.ts.map +1 -1
- package/dist/iframe/event/event-calendar/components/CalendarButtons/CalendarButtons.d.ts +1 -1
- package/dist/iframe/event/event-calendar/components/CalendarButtons/CalendarButtons.d.ts.map +1 -1
- package/dist/iframe/event/event-calendar/components/CalendarDate/CalendarDate.d.ts +1 -1
- package/dist/iframe/event/event-calendar/components/CalendarDate/CalendarDate.d.ts.map +1 -1
- package/dist/iframe/event/event-calendar/components/CalendarDates/CalendarDates.d.ts +1 -1
- package/dist/iframe/event/event-calendar/components/CalendarDates/CalendarDates.d.ts.map +1 -1
- package/dist/iframe/event/event-calendar/components/CalendarSelect/CalendarSelect.d.ts +2 -2
- package/dist/iframe/event/event-calendar/components/CalendarSelect/CalendarSelect.d.ts.map +1 -1
- package/dist/iframe/event/event-calendar/types/index.d.ts +1 -1
- package/dist/iframe/event/event-calendar/types/index.d.ts.map +1 -1
- package/dist/iframe/event/event-details/EventDetails.d.ts +1 -1
- package/dist/iframe/event/event-details/EventDetails.d.ts.map +1 -1
- package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.d.ts +5 -6
- package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.d.ts.map +1 -1
- package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.js +1 -1
- package/dist/iframe/event/event-product-sets/EventProductSets.d.ts +1 -1
- package/dist/iframe/event/event-product-sets/EventProductSets.d.ts.map +1 -1
- package/dist/iframe/event/event-product-sets/components/EventProductSet.d.ts +1 -1
- package/dist/iframe/event/event-product-sets/components/EventProductSet.d.ts.map +1 -1
- package/dist/iframe/event/event-step-venue-map-zones/EventStepVenueMapZones.d.ts +1 -1
- package/dist/iframe/event/event-step-venue-map-zones/EventStepVenueMapZones.d.ts.map +1 -1
- package/dist/iframe/event/event-step-venue-map-zones/components/EventStepVenueMapZone.d.ts +1 -1
- package/dist/iframe/event/event-step-venue-map-zones/components/EventStepVenueMapZone.d.ts.map +1 -1
- package/dist/iframe/event/event-venue-map/IframeEventVenueMap.d.ts +5 -1
- package/dist/iframe/event/event-venue-map/IframeEventVenueMap.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/BookingSummary.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/BookingSummary.js +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.d.ts +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.d.ts +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.d.ts +1 -1
- package/dist/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts +4 -4
- package/dist/iframe/order-process/components/BookingSummary/types/index.d.ts.map +1 -1
- package/dist/iframe/order-process/components/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 +3 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.js +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.d.ts +4 -2
- package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.js +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts +4 -2
- package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.js +1 -1
- package/dist/iframe/order-process/components/Category/Category.d.ts +2 -1
- package/dist/iframe/order-process/components/Category/Category.d.ts.map +1 -1
- package/dist/iframe/order-process/components/Category/Category.js +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts +2 -1
- package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.js +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts +1 -0
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.js +1 -1
- package/dist/iframe/order-process/components/NavigationSteps/NavigationSteps.d.ts +1 -1
- package/dist/iframe/order-process/components/NavigationSteps/NavigationSteps.d.ts.map +1 -1
- package/dist/iframe/order-process/components/PaymentCard/PaymentCard.d.ts +1 -1
- package/dist/iframe/order-process/components/PaymentCard/PaymentCard.d.ts.map +1 -1
- package/dist/iframe/order-process/components/StepsForm/StepsForm.d.ts +2 -1
- package/dist/iframe/order-process/components/StepsForm/StepsForm.d.ts.map +1 -1
- package/dist/iframe/order-process/components/StepsForm/StepsForm.js +1 -1
- package/dist/iframe/order-process/components/Timer/Timer.d.ts +1 -1
- package/dist/iframe/order-process/components/Timer/Timer.d.ts.map +1 -1
- package/dist/iframe/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/page/Page.d.ts +1 -1
- package/dist/iframe/page/Page.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/PageBody.d.ts +1 -1
- package/dist/iframe/page/components/PageBody/PageBody.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.d.ts +1 -1
- package/dist/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/components/RightBlock/RightBlock.d.ts +1 -1
- package/dist/iframe/page/components/PageBody/components/RightBlock/RightBlock.d.ts.map +1 -1
- package/dist/iframe/page/components/PageBody/types.d.ts +1 -1
- package/dist/iframe/page/components/PageBody/types.d.ts.map +1 -1
- package/dist/iframe/page/components/PageHeader/PageHeader.d.ts +1 -1
- package/dist/iframe/page/components/PageHeader/PageHeader.d.ts.map +1 -1
- package/dist/iframe/payment/order-items-table/hooks/useTableData.d.ts +5 -0
- package/dist/iframe/payment/order-items-table/hooks/useTableData.d.ts.map +1 -1
- package/dist/iframe/payment/order-items-table/hooks/useTableData.js +1 -1
- package/dist/iframe/payment/order-items-table/types/index.d.ts +2 -2
- package/dist/iframe/payment/order-items-table/types/index.d.ts.map +1 -1
- package/dist/iframe/payment/order-items-table/utils/index.d.ts +6 -1
- package/dist/iframe/payment/order-items-table/utils/index.d.ts.map +1 -1
- package/dist/iframe/payment/order-items-table/utils/index.js +1 -1
- package/dist/iframe/payment/payment-page/PaymentPage.d.ts +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 +1 -0
- 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 +5 -3
- package/dist/iframe/payment/payment-status-page/PaymentStatusPage.d.ts.map +1 -1
- package/dist/iframe/payment/payment-status-page/PaymentStatusPage.js +1 -1
- package/dist/iframe/powered-by/PoweredBy.d.ts +1 -1
- package/dist/iframe/powered-by/PoweredBy.d.ts.map +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.d.ts +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +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 +4 -1
- package/dist/notification/email-template/card/EmailTemplateCard.d.ts.map +1 -1
- package/dist/notification/email-template/card/EmailTemplateCard.js +1 -1
- package/dist/notification/email-template/control/EmailTemplateControl.d.ts +3 -0
- 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 +7 -1
- 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/hooks/useTranslatedParameters.d.ts +7 -0
- package/dist/notification/hooks/useTranslatedParameters.d.ts.map +1 -0
- package/dist/notification/hooks/useTranslatedParameters.js +1 -0
- package/dist/notification/sms-template/card/SmsTemplateCard.d.ts +4 -1
- 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 +6 -1
- package/dist/notification/sms-template/control/SmsTemplateControl.d.ts.map +1 -1
- package/dist/notification/sms-template/control/SmsTemplateControl.js +1 -1
- package/dist/notification/sms-template/form/SmsTemplateForm.d.ts +5 -1
- 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/ProductSetControl.d.ts +16 -4
- 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/hooks/useSortableTreeFunctions.d.ts +11 -0
- package/dist/product-set/hooks/useSortableTreeFunctions.d.ts.map +1 -0
- package/dist/product-set/hooks/useSortableTreeFunctions.js +1 -0
- 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 +1 -0
- 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 +7 -3
- 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/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 +4 -0
- 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/constants.d.ts +2 -0
- package/dist/provider/constants.d.ts.map +1 -0
- package/dist/provider/constants.js +1 -0
- 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 +5 -2
- package/dist/sales/booking/filter/BookingFilter.d.ts.map +1 -1
- package/dist/sales/booking/filter/BookingFilter.js +1 -1
- package/dist/sales/booking/filter/components/AdditionalFIlterSection.d.ts +3 -2
- package/dist/sales/booking/filter/components/AdditionalFIlterSection.d.ts.map +1 -1
- package/dist/sales/booking/filter/components/AdditionalFIlterSection.js +1 -1
- package/dist/sales/booking/filter/components/MainFilterSection.d.ts +2 -2
- package/dist/sales/booking/filter/components/MainFilterSection.d.ts.map +1 -1
- package/dist/sales/booking/filter/components/MainFilterSection.js +1 -1
- package/dist/sales/booking/filter/components/ResultTagButton.d.ts +1 -1
- package/dist/sales/booking/filter/components/ResultTagButton.d.ts.map +1 -1
- package/dist/sales/booking/filter/components/SearchingForSection.d.ts +8 -1
- package/dist/sales/booking/filter/components/SearchingForSection.d.ts.map +1 -1
- package/dist/sales/booking/filter/components/SearchingForSection.js +1 -1
- package/dist/sales/booking/results/BookingResults.d.ts +1 -1
- package/dist/sales/booking/results/BookingResults.d.ts.map +1 -1
- package/dist/sales/booking/results/components/ResultCard.d.ts +1 -1
- package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
- package/dist/sales/booking/tabs/BookingTabs.d.ts +3 -2
- package/dist/sales/booking/tabs/BookingTabs.d.ts.map +1 -1
- package/dist/sales/booking/tabs/BookingTabs.js +1 -1
- 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 +2 -3
- 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/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/snippets/control/SnippetControl.d.ts.map +1 -1
- package/dist/setting/dashboard/snippets/control/SnippetControl.js +1 -1
- package/dist/setting/dashboard/snippets/form/SnippetForm.d.ts +2 -2
- package/dist/setting/dashboard/snippets/form/SnippetForm.d.ts.map +1 -1
- package/dist/setting/dashboard/snippets/modal/SnippetViewTypeModal.js +1 -1
- package/dist/setting/system/SystemSettingForm.d.ts +1 -1
- package/dist/setting/system/SystemSettingForm.d.ts.map +1 -1
- package/dist/snippet/snippet-template/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.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 +5 -2
- 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 +3 -2
- 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/striped-static-table/StripedStaticTable.d.ts +7 -0
- package/dist/striped-static-table/StripedStaticTable.d.ts.map +1 -0
- package/dist/striped-static-table/StripedStaticTable.js +1 -0
- package/dist/striped-static-table/index.d.ts +2 -0
- package/dist/striped-static-table/index.d.ts.map +1 -0
- package/dist/styles/events/EventStatisticModal.scss +0 -37
- package/dist/styles/iframe-order-process/IframeOrderProcess.scss +5 -2
- package/dist/styles/iframe-page/PageBody.scss +2 -0
- package/dist/styles/packages.scss +1 -0
- package/dist/styles/sales/BookingFilter.scss +43 -11
- package/dist/styles/snippet-templates/SnippetTemplateCard.scss +16 -0
- package/dist/styles/static/DateRangeInput.scss +5 -1
- package/dist/styles/striped-static-table/_index.scss +33 -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 +3 -3
- 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 +6 -12
- 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 +4 -2
- package/dist/types/iframe.d.ts.map +1 -1
- package/dist/types/provider-links.d.ts +2 -2
- package/dist/types/provider-links.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/NameControl.d.ts +1 -1
- package/dist/venue-map-sets/form/components/NameControl.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/VenueMapControl.d.ts +4 -4
- package/dist/venue-map-sets/form/components/VenueMapControl.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/VenueMapImageControl.d.ts +1 -1
- package/dist/venue-map-sets/form/components/VenueMapImageControl.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/VenueMapModal.d.ts +1 -1
- package/dist/venue-map-sets/form/components/VenueMapModal.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/VenueMapsControl.d.ts +1 -1
- package/dist/venue-map-sets/form/components/VenueMapsControl.d.ts.map +1 -1
- package/dist/venue-map-sets/form/types/index.d.ts +4 -4
- package/dist/venue-map-sets/form/types/index.d.ts.map +1 -1
- package/dist/virtualized/components/VirtualizedGrid.d.ts +1 -1
- package/dist/virtualized/components/VirtualizedGrid.d.ts.map +1 -1
- package/dist/virtualized/components/VirtualizedWindowScroller.d.ts +3 -3
- package/dist/virtualized/components/VirtualizedWindowScroller.d.ts.map +1 -1
- package/dist/virtualized/context/VirtualizedContext.d.ts +2 -2
- package/dist/virtualized/context/VirtualizedContext.d.ts.map +1 -1
- package/dist/widgets/CheckboxGroup/CheckboxGroup.d.ts +1 -1
- package/dist/widgets/CheckboxGroup/CheckboxGroup.d.ts.map +1 -1
- package/dist/widgets/ImageRadioInput/ImageRadioInput.d.ts +1 -1
- package/dist/widgets/ImageRadioInput/ImageRadioInput.d.ts.map +1 -1
- package/dist/widgets/SnippetCode/SnippetCode.d.ts +1 -1
- package/dist/widgets/SnippetCode/SnippetCode.d.ts.map +1 -1
- package/dist/widgets/WidgetBuilderForm/WidgetBuilderForm.d.ts +1 -1
- package/dist/widgets/WidgetBuilderForm/WidgetBuilderForm.d.ts.map +1 -1
- package/dist/widgets/WidgetTypeRadio/WidgetTypeRadio.d.ts +1 -1
- package/dist/widgets/WidgetTypeRadio/WidgetTypeRadio.d.ts.map +1 -1
- package/dist/zone/form/ZoneForm.d.ts +2 -2
- package/dist/zone/form/ZoneForm.d.ts.map +1 -1
- package/dist/zone/form/components/AvailableTimesControl.d.ts +2 -2
- package/dist/zone/form/components/AvailableTimesControl.d.ts.map +1 -1
- package/dist/zone/form/components/DescriptionControl.d.ts +1 -1
- package/dist/zone/form/components/DescriptionControl.d.ts.map +1 -1
- package/dist/zone/form/components/NameControl.d.ts +1 -1
- package/dist/zone/form/components/NameControl.d.ts.map +1 -1
- package/dist/zone/form/components/SortControl.d.ts +1 -1
- package/dist/zone/form/components/SortControl.d.ts.map +1 -1
- package/dist/zone/form/components/ZoneControl.d.ts +1 -1
- package/dist/zone/form/components/ZoneControl.d.ts.map +1 -1
- package/dist/zone/form/components/ZoneImageControl.d.ts +1 -1
- package/dist/zone/form/components/ZoneImageControl.d.ts.map +1 -1
- package/dist/zone/form/components/ZoneRecurrencesControl.d.ts +1 -1
- package/dist/zone/form/components/ZoneRecurrencesControl.d.ts.map +1 -1
- package/dist/zone/form/components/ZoneTypeControl.d.ts +1 -1
- package/dist/zone/form/components/ZoneTypeControl.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/events/edit-event-modal/IntervalInput.tsx +21 -1
- package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx +3 -0
- package/src/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.tsx +11 -2
- package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +6 -4
- package/src/events/event-statistic-modal/EventStatisticModal.tsx +1 -1
- package/src/events/event-venue-map/EventVenueMap.tsx +4 -0
- package/src/events/event-venue-map/components/MapPoint/MapPoint.tsx +4 -2
- package/src/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.tsx +13 -2
- package/src/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.tsx +68 -0
- package/src/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.ts +1 -0
- package/src/events/event-venue-map/components/VenueMap/VenueMap.tsx +12 -4
- package/src/iframe/event/event-order-short-summary/components/Summary/Summary.tsx +20 -20
- package/src/iframe/event/event-venue-map/IframeEventVenueMap.stories.tsx +5 -0
- package/src/iframe/order-process/OrderProcess.stories.tsx +3 -2
- package/src/iframe/order-process/components/BookingSummary/BookingSummary.tsx +4 -1
- package/src/iframe/order-process/components/BookingSummary/types/index.ts +3 -3
- package/src/iframe/order-process/components/BookingSummary/utils/index.ts +6 -2
- package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.stories.tsx +1 -0
- package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.tsx +5 -0
- package/src/iframe/order-process/components/CalendarStepsForm/components/Category.tsx +4 -0
- package/src/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.tsx +4 -0
- package/src/iframe/order-process/components/Category/Category.tsx +3 -0
- package/src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx +42 -8
- package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +3 -0
- package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +3 -2
- package/src/iframe/order-process/components/StepsForm/StepsForm.tsx +3 -0
- package/src/iframe/order-process/components/Timer/Timer.stories.tsx +1 -1
- package/src/iframe/order-process/components/Timer/utils/index.ts +4 -4
- package/src/iframe/payment/order-items-table/OrderItemsTable.stories.tsx +2 -0
- package/src/iframe/payment/order-items-table/hooks/useTableData.tsx +21 -14
- package/src/iframe/payment/order-items-table/utils/index.ts +55 -15
- package/src/iframe/payment/payment-page/PaymentPage.tsx +46 -6
- package/src/iframe/payment/payment-page/PaymentTimer.tsx +31 -6
- package/src/iframe/payment/payment-status-page/PaymentStatusPage.tsx +66 -12
- package/src/index.ts +1 -0
- package/src/notification/email-template/card/EmailTemplateCard.stories.tsx +4 -2
- package/src/notification/email-template/card/EmailTemplateCard.tsx +15 -3
- package/src/notification/email-template/control/EmailTemplateControl.tsx +90 -6
- package/src/notification/email-template/form/EmailTemplateForm.stories.tsx +34 -0
- package/src/notification/email-template/form/EmailTemplateForm.tsx +23 -5
- package/src/notification/hooks/useTranslatedParameters.ts +27 -0
- package/src/notification/sms-template/card/SmsTemplateCard.stories.tsx +3 -1
- package/src/notification/sms-template/card/SmsTemplateCard.tsx +13 -3
- package/src/notification/sms-template/control/SmsTemplateControl.tsx +40 -2
- package/src/notification/sms-template/form/SmsTemplateForm.stories.tsx +28 -0
- package/src/notification/sms-template/form/SmsTemplateForm.tsx +6 -1
- package/src/product-set/control/ProductSetControl.tsx +69 -45
- package/src/product-set/form/ProductCategoriesControl.tsx +9 -0
- package/src/product-set/form/ProductSetForm.stories.tsx +41 -2
- package/src/product-set/form/ProductSetForm.tsx +11 -0
- package/src/product-set/form/ProductsControl.tsx +30 -1
- package/src/product-set/form/StepsControl.tsx +31 -3
- package/src/product-set/hooks/useSortableTreeFunctions.ts +37 -0
- package/src/product-set/product/ProductControl.tsx +28 -14
- package/src/product-set/product/price/ProductPriceControl.tsx +43 -21
- package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +33 -14
- package/src/product-set/utils/index.ts +28 -0
- package/src/provider/constants.ts +1 -0
- package/src/provider/provider-details-input/ProviderDetailsInput.tsx +17 -3
- package/src/sales/booking/filter/BookingFilter.stories.tsx +29 -0
- package/src/sales/booking/filter/BookingFilter.tsx +11 -2
- package/src/sales/booking/filter/components/AdditionalFIlterSection.tsx +64 -12
- package/src/sales/booking/filter/components/MainFilterSection.tsx +4 -1
- package/src/sales/booking/filter/components/SearchingForSection.tsx +37 -3
- package/src/sales/booking/tabs/BookingTabs.tsx +4 -3
- package/src/sales/coupon/control/CouponFormControl.tsx +2 -0
- package/src/sales/filters/SaleFilter.stories.tsx +1 -1
- package/src/sales/filters/SaleFilters.tsx +2 -2
- package/src/sales/manual-booking/select-menu/SelectMenu.tsx +3 -1
- package/src/setting/dashboard/snippets/control/SnippetControl.tsx +11 -13
- package/src/setting/dashboard/snippets/form/SnippetForm.tsx +2 -2
- package/src/setting/dashboard/snippets/modal/SnippetViewTypeModal.tsx +1 -1
- 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 +4 -4
- package/src/sortable-tree/SortableTreeItem.tsx +27 -6
- package/src/static/date-range-input/DateRangeInput.tsx +3 -0
- package/src/striped-static-table/StripedStaticTable.stories.tsx +71 -0
- package/src/striped-static-table/StripedStaticTable.tsx +63 -0
- package/src/striped-static-table/index.ts +1 -0
- package/src/styles/events/EventStatisticModal.scss +0 -37
- package/src/styles/iframe-order-process/IframeOrderProcess.scss +5 -2
- package/src/styles/iframe-page/PageBody.scss +2 -0
- package/src/styles/packages.scss +1 -0
- package/src/styles/sales/BookingFilter.scss +43 -11
- package/src/styles/snippet-templates/SnippetTemplateCard.scss +16 -0
- package/src/styles/static/DateRangeInput.scss +5 -1
- package/src/styles/striped-static-table/_index.scss +33 -0
- package/src/table/FilterHelperComponent.tsx +1 -0
- package/src/table/StaticTable.tsx +4 -2
- package/src/typeahead/Typeahead.stories.tsx +9 -6
- package/src/typeahead/Typeahead.tsx +19 -12
- package/src/types/iframe.ts +2 -0
- package/tests/Snippets/Snippets.test.tsx +5 -5
|
@@ -5,17 +5,47 @@ import {
|
|
|
5
5
|
BookingContext,
|
|
6
6
|
BookingFilters,
|
|
7
7
|
} from "@licklist/plugins/dist/context/booking/BookingContext";
|
|
8
|
+
import { User } from "@licklist/core/dist/DataMapper/User/UserDataMapper";
|
|
8
9
|
import { ResultTagButton } from "./ResultTagButton";
|
|
9
10
|
|
|
10
|
-
const SEARCHING_FOR_FILTER_KEYS = [
|
|
11
|
+
const SEARCHING_FOR_FILTER_KEYS = [
|
|
12
|
+
"q",
|
|
13
|
+
"status",
|
|
14
|
+
"order_date_from",
|
|
15
|
+
"created_by",
|
|
16
|
+
];
|
|
11
17
|
|
|
12
|
-
export
|
|
18
|
+
export interface FilterSectionProps {
|
|
19
|
+
staffMembers?: User[] | null;
|
|
20
|
+
isLoading: boolean;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export const SearchingForSection = ({ staffMembers }: { staffMembers }) => {
|
|
13
24
|
const { t } = useTranslation("Design");
|
|
14
25
|
const { filters, setFilters } = useContext(BookingContext);
|
|
15
26
|
|
|
16
27
|
const filteredFilters = useMemo(() => {
|
|
28
|
+
const selectedMember = staffMembers?.find(
|
|
29
|
+
(staffMember) => Number(filters?.created_by) === staffMember?.id
|
|
30
|
+
);
|
|
17
31
|
return SEARCHING_FOR_FILTER_KEYS.reduce(
|
|
18
32
|
(prevValues: Partial<BookingFilters>, currentKey: string) => {
|
|
33
|
+
if (currentKey === "created_by" && filters[currentKey]) {
|
|
34
|
+
return {
|
|
35
|
+
...prevValues,
|
|
36
|
+
[currentKey]: `${selectedMember?.firstName || ""} ${
|
|
37
|
+
selectedMember?.lastName || ""
|
|
38
|
+
}`,
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
if (currentKey === "order_date_from" && filters[currentKey]) {
|
|
42
|
+
return {
|
|
43
|
+
...prevValues,
|
|
44
|
+
[currentKey]: `${filters.order_date_from || ""} - ${
|
|
45
|
+
filters?.order_date_to || ""
|
|
46
|
+
}`,
|
|
47
|
+
};
|
|
48
|
+
}
|
|
19
49
|
if (filters[currentKey]) {
|
|
20
50
|
return { ...prevValues, [currentKey]: filters[currentKey] };
|
|
21
51
|
}
|
|
@@ -24,13 +54,17 @@ export const SearchingForSection = () => {
|
|
|
24
54
|
},
|
|
25
55
|
{}
|
|
26
56
|
);
|
|
27
|
-
}, [filters]);
|
|
57
|
+
}, [filters, staffMembers]);
|
|
28
58
|
|
|
29
59
|
const resetAllFilters = () => {
|
|
30
60
|
setFilters({ isFilterOpen: true });
|
|
31
61
|
};
|
|
32
62
|
|
|
33
63
|
const onResetSelectedFilter = (key: string) => {
|
|
64
|
+
if (key === "order_date_from") {
|
|
65
|
+
setFilters({ ...filters, order_date_from: "", order_date_to: "" });
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
34
68
|
setFilters({ ...filters, [key]: "" });
|
|
35
69
|
};
|
|
36
70
|
|
|
@@ -21,6 +21,7 @@ export type BookingTabsProps = HasPermissionProp &
|
|
|
21
21
|
onAddButtonClick?: () => void;
|
|
22
22
|
viewType: BOOKING_TYPE;
|
|
23
23
|
onSetType: (value: BOOKING_TYPE) => void;
|
|
24
|
+
hasBookingManagment: boolean;
|
|
24
25
|
}>;
|
|
25
26
|
|
|
26
27
|
export const BookingTabs = ({
|
|
@@ -28,6 +29,7 @@ export const BookingTabs = ({
|
|
|
28
29
|
onReportsClick,
|
|
29
30
|
onAddButtonClick,
|
|
30
31
|
hasPermission = false,
|
|
32
|
+
hasBookingManagment,
|
|
31
33
|
viewType,
|
|
32
34
|
onSetType,
|
|
33
35
|
}: BookingTabsProps) => {
|
|
@@ -50,11 +52,10 @@ export const BookingTabs = ({
|
|
|
50
52
|
onSetType(tabType);
|
|
51
53
|
}}
|
|
52
54
|
>
|
|
53
|
-
{tabType ===
|
|
54
|
-
<BookingList />
|
|
55
|
-
) : (
|
|
55
|
+
{tabType === BOOKING_CALENDAR_TYPE && hasBookingManagment && (
|
|
56
56
|
<BookingCalendar />
|
|
57
57
|
)}
|
|
58
|
+
{tabType === BOOKING_LIST_TYPE && <BookingList />}
|
|
58
59
|
</Button>
|
|
59
60
|
);
|
|
60
61
|
})}
|
|
@@ -233,6 +233,7 @@ export const CouponFormControl = ({
|
|
|
233
233
|
<Form.Control
|
|
234
234
|
type="date"
|
|
235
235
|
{...register("validTill")}
|
|
236
|
+
value={validTillValue}
|
|
236
237
|
onChange={(e) => {
|
|
237
238
|
const date = DateTime.fromSQL(e.target.value).toISODate();
|
|
238
239
|
setValue("validTill", date);
|
|
@@ -331,6 +332,7 @@ export const CouponFormControl = ({
|
|
|
331
332
|
<Form.Group>
|
|
332
333
|
<Form.Label>{t("Design:totalCoupons")}</Form.Label>
|
|
333
334
|
<Form.Control
|
|
335
|
+
{...register("totalCoupons")}
|
|
334
336
|
type="number"
|
|
335
337
|
isInvalid={errors.totalCoupons !== undefined}
|
|
336
338
|
disabled={isLoading}
|
|
@@ -4,7 +4,7 @@ import clsx from "clsx";
|
|
|
4
4
|
import { TextField } from "../../static/TextField";
|
|
5
5
|
import { DateRangeInput } from "../../static/date-range-input";
|
|
6
6
|
|
|
7
|
-
interface Filters {
|
|
7
|
+
export interface Filters {
|
|
8
8
|
id: string;
|
|
9
9
|
name: string;
|
|
10
10
|
email: string;
|
|
@@ -12,7 +12,7 @@ interface Filters {
|
|
|
12
12
|
order_date_to: string;
|
|
13
13
|
orderable_date_from: string;
|
|
14
14
|
orderable_date_to: string;
|
|
15
|
-
|
|
15
|
+
is_in_cart: boolean;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
export interface SaleFiltersProps {
|
|
@@ -39,7 +39,9 @@ export const SelectMenu = ({
|
|
|
39
39
|
) : (
|
|
40
40
|
<>
|
|
41
41
|
{!isLoading && (
|
|
42
|
-
<Form.Label className="bold-text">
|
|
42
|
+
<Form.Label className="bold-text">
|
|
43
|
+
{t("Design:productSets")}
|
|
44
|
+
</Form.Label>
|
|
43
45
|
)}
|
|
44
46
|
|
|
45
47
|
<div className="menu-list-manual-booking">
|
|
@@ -34,11 +34,11 @@ export function SnippetControl({
|
|
|
34
34
|
setValue,
|
|
35
35
|
} = useFormContext<SnippetFormValues>();
|
|
36
36
|
const type = watch("type");
|
|
37
|
-
const isEvent = type === "
|
|
37
|
+
const isEvent = type === "event_list";
|
|
38
38
|
|
|
39
39
|
const { displayCost, displayDescription, displayType } =
|
|
40
|
-
watch("
|
|
41
|
-
const templateId = watch("
|
|
40
|
+
watch("widgetSetting");
|
|
41
|
+
const templateId = watch("designId") || "";
|
|
42
42
|
|
|
43
43
|
useEffect(() => {
|
|
44
44
|
if (isEvent) {
|
|
@@ -56,7 +56,7 @@ export function SnippetControl({
|
|
|
56
56
|
|
|
57
57
|
if (selectedTemplate) return;
|
|
58
58
|
|
|
59
|
-
setValue("
|
|
59
|
+
setValue("designId", "");
|
|
60
60
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
61
61
|
}, [templateId, type, templates]);
|
|
62
62
|
|
|
@@ -80,7 +80,7 @@ export function SnippetControl({
|
|
|
80
80
|
attribute: t("name"),
|
|
81
81
|
}) as string,
|
|
82
82
|
})}
|
|
83
|
-
placeholder={t("Design:
|
|
83
|
+
placeholder={t("Design:widgetName")}
|
|
84
84
|
isInvalid={Boolean(errors.name)}
|
|
85
85
|
/>
|
|
86
86
|
<Form.Control.Feedback type="invalid">
|
|
@@ -125,7 +125,7 @@ export function SnippetControl({
|
|
|
125
125
|
>
|
|
126
126
|
<Form.Label className="mb-3">{t("Options")}</Form.Label>
|
|
127
127
|
<Form.Check
|
|
128
|
-
{...register("
|
|
128
|
+
{...register("widgetSetting.displayDescription")}
|
|
129
129
|
id={displayDescriptionId}
|
|
130
130
|
isInvalid={!isValid}
|
|
131
131
|
name="snippetSetting.displayDescription"
|
|
@@ -135,7 +135,7 @@ export function SnippetControl({
|
|
|
135
135
|
disabled={isLoading}
|
|
136
136
|
/>
|
|
137
137
|
<Form.Check
|
|
138
|
-
{...register("
|
|
138
|
+
{...register("widgetSetting.displayCost")}
|
|
139
139
|
id={displayCostId}
|
|
140
140
|
isInvalid={!isValid}
|
|
141
141
|
name="snippetSetting.displayCost"
|
|
@@ -145,7 +145,7 @@ export function SnippetControl({
|
|
|
145
145
|
disabled={isLoading}
|
|
146
146
|
/>
|
|
147
147
|
<Form.Check
|
|
148
|
-
{...register("
|
|
148
|
+
{...register("widgetSetting.displayType")}
|
|
149
149
|
id={displayTypeId}
|
|
150
150
|
isInvalid={!isValid}
|
|
151
151
|
name="snippetSetting.displayType"
|
|
@@ -188,7 +188,7 @@ export function SnippetControl({
|
|
|
188
188
|
<Form.Group as={Col} xs sm={12} md={8} lg={10} xl={12}>
|
|
189
189
|
<Controller
|
|
190
190
|
control={control}
|
|
191
|
-
name="
|
|
191
|
+
name="designId"
|
|
192
192
|
rules={{ required: true }}
|
|
193
193
|
render={({
|
|
194
194
|
field: { value, onChange },
|
|
@@ -197,9 +197,7 @@ export function SnippetControl({
|
|
|
197
197
|
const fieldSetValue = value ? String(value) : "";
|
|
198
198
|
return (
|
|
199
199
|
<>
|
|
200
|
-
<Form.Label className="mt-5">
|
|
201
|
-
{t("snippetTemplate")}
|
|
202
|
-
</Form.Label>
|
|
200
|
+
<Form.Label className="mt-5">{t("widgetDesign")}</Form.Label>
|
|
203
201
|
<Form.Control
|
|
204
202
|
as="select"
|
|
205
203
|
disabled={isLoading}
|
|
@@ -223,7 +221,7 @@ export function SnippetControl({
|
|
|
223
221
|
<Form.Control.Feedback type="invalid">
|
|
224
222
|
{HookFormService.hasError(error, "required") &&
|
|
225
223
|
t("Validation:fieldRequired", {
|
|
226
|
-
attribute: t("Design:
|
|
224
|
+
attribute: t("Design:widgetDesign"),
|
|
227
225
|
})}
|
|
228
226
|
</Form.Control.Feedback>
|
|
229
227
|
</>
|
|
@@ -17,8 +17,8 @@ import { SnippetContextProvider, SnippetLoadingContext } from "./context";
|
|
|
17
17
|
export interface SnippetFormValues extends FormValues {
|
|
18
18
|
name: string;
|
|
19
19
|
type: SnippetType;
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
designId: string;
|
|
21
|
+
widgetSetting?: {
|
|
22
22
|
displayDescription: boolean;
|
|
23
23
|
displayCost: boolean;
|
|
24
24
|
displayType: boolean;
|
|
@@ -58,7 +58,7 @@ export const SnippetViewTypeModal = ({
|
|
|
58
58
|
contentClassName="rounded"
|
|
59
59
|
>
|
|
60
60
|
<ModalHeader className="align-items-center border-0">
|
|
61
|
-
<ModalTitle as="h5">{t("Design:
|
|
61
|
+
<ModalTitle as="h5">{t("Design:selectWidgetViewType")}</ModalTitle>
|
|
62
62
|
|
|
63
63
|
<Button variant="danger" className="btn-sm rounded" onClick={onHide}>
|
|
64
64
|
<Icon type="times" height="1.2rem" />
|
|
@@ -44,7 +44,7 @@ export function SnippetTemplate({
|
|
|
44
44
|
<SnippetTemplateViewContextProvider>
|
|
45
45
|
<div
|
|
46
46
|
ref={containerRef}
|
|
47
|
-
className="d-flex flex-column-reverse flex-sm-row"
|
|
47
|
+
className="d-flex flex-column-reverse flex-sm-row overflow-auto"
|
|
48
48
|
>
|
|
49
49
|
<div className="d-flex flex-grow-1">
|
|
50
50
|
<Preview
|
|
@@ -6,8 +6,8 @@ import { useTranslation } from "react-i18next";
|
|
|
6
6
|
import { isEqual } from "lodash";
|
|
7
7
|
import {
|
|
8
8
|
SnippetTemplateValues,
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
SNIPPET_TEMPLATE_TYPE_EVENT_LIST,
|
|
10
|
+
SNIPPET_TEMPLATE_TYPE_VENUE_MAP,
|
|
11
11
|
} from "@licklist/core/dist/DataMapper/Provider/SnippetTemplateDataMapper";
|
|
12
12
|
import { HasPermissionProp } from "@licklist/plugins/dist/types/permission/Permission";
|
|
13
13
|
import Row from "react-bootstrap/Row";
|
|
@@ -80,7 +80,7 @@ export function SnippetTemplateForm({
|
|
|
80
80
|
<FormProvider {...form}>
|
|
81
81
|
<Form onSubmit={form.handleSubmit(onSubmit)}>
|
|
82
82
|
<h2 className="mb-2 pb-1 border-bottom border-secondary">
|
|
83
|
-
{t("
|
|
83
|
+
{t("designSettings")}
|
|
84
84
|
</h2>
|
|
85
85
|
|
|
86
86
|
<Row>
|
|
@@ -113,21 +113,21 @@ export function SnippetTemplateForm({
|
|
|
113
113
|
{providerHasMap && (
|
|
114
114
|
<Row>
|
|
115
115
|
<Form.Group as={Col} xs sm={12} md={8} lg={10} xl={12}>
|
|
116
|
-
<Form.Label>{t("
|
|
116
|
+
<Form.Label>{t("widgetType")}</Form.Label>
|
|
117
117
|
<Form.Control
|
|
118
118
|
as="select"
|
|
119
119
|
{...register("type", {
|
|
120
120
|
required: t("Validation:fieldRequired", {
|
|
121
|
-
attribute: t("
|
|
121
|
+
attribute: t("widgetType"),
|
|
122
122
|
}) as string,
|
|
123
123
|
})}
|
|
124
|
-
placeholder={t("
|
|
124
|
+
placeholder={t("widgetType")}
|
|
125
125
|
>
|
|
126
|
-
<option value={
|
|
127
|
-
{t("
|
|
126
|
+
<option value={SNIPPET_TEMPLATE_TYPE_EVENT_LIST}>
|
|
127
|
+
{t("widgetTypeEventList")}
|
|
128
128
|
</option>
|
|
129
|
-
<option value={
|
|
130
|
-
{t("
|
|
129
|
+
<option value={SNIPPET_TEMPLATE_TYPE_VENUE_MAP}>
|
|
130
|
+
{t("widgetTypeVenueMaps")}
|
|
131
131
|
</option>
|
|
132
132
|
</Form.Control>
|
|
133
133
|
</Form.Group>
|
|
@@ -3,8 +3,8 @@ import { useTranslation } from "react-i18next";
|
|
|
3
3
|
import { MemoryRouter } from "react-router-dom";
|
|
4
4
|
import { Button } from "react-bootstrap";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
SNIPPET_TYPE_EVENT_LIST,
|
|
7
|
+
SNIPPET_TYPE_VENUE_MAP,
|
|
8
8
|
} from "@licklist/core/dist/DataMapper/Provider/SnippetDataMapper";
|
|
9
9
|
import { ProductSet } from "@licklist/core/dist/DataMapper/Product/ProductSetDataMapper";
|
|
10
10
|
import { IframeEventCard } from "../../../iframe/event/event-card";
|
|
@@ -44,7 +44,7 @@ export function Preview({
|
|
|
44
44
|
|
|
45
45
|
const { setView } = useContext(SnippetTemplateViewContext);
|
|
46
46
|
const {
|
|
47
|
-
template: { type =
|
|
47
|
+
template: { type = SNIPPET_TYPE_EVENT_LIST },
|
|
48
48
|
} = useContext(SnippetTemplateContext);
|
|
49
49
|
|
|
50
50
|
const handleOnClick = (nextView: keyof typeof snippetTemplateViews) => {
|
|
@@ -186,7 +186,7 @@ export function Preview({
|
|
|
186
186
|
</div>
|
|
187
187
|
</SettingButton>
|
|
188
188
|
|
|
189
|
-
{providerHasMap && type ===
|
|
189
|
+
{providerHasMap && type === SNIPPET_TYPE_VENUE_MAP && (
|
|
190
190
|
<>
|
|
191
191
|
<div className="pt-4">
|
|
192
192
|
<h4>{t("Calendar")}</h4>
|
|
@@ -40,6 +40,9 @@ export interface SortableTreeItemProps {
|
|
|
40
40
|
isIconInHeader?: boolean;
|
|
41
41
|
treeLineIconColor?: string;
|
|
42
42
|
modalLabel?: string;
|
|
43
|
+
cancelChanges?: () => void;
|
|
44
|
+
edit?: () => void;
|
|
45
|
+
saveValidField?: () => void;
|
|
43
46
|
modalClass?: ProductSetModalClassesType;
|
|
44
47
|
isNewAdded?: boolean;
|
|
45
48
|
onDelete?: () => void;
|
|
@@ -70,6 +73,9 @@ export function SortableTreeItem({
|
|
|
70
73
|
isNewAdded = false,
|
|
71
74
|
onDelete,
|
|
72
75
|
validate,
|
|
76
|
+
cancelChanges,
|
|
77
|
+
saveValidField,
|
|
78
|
+
edit,
|
|
73
79
|
secondaryBadge,
|
|
74
80
|
setIsExpanded,
|
|
75
81
|
}: SortableTreeItemProps) {
|
|
@@ -122,9 +128,27 @@ export function SortableTreeItem({
|
|
|
122
128
|
if (!validate) setIsModalVisible(false);
|
|
123
129
|
|
|
124
130
|
const success = await validate?.();
|
|
125
|
-
|
|
131
|
+
|
|
132
|
+
if (success) {
|
|
133
|
+
if (saveValidField) saveValidField();
|
|
134
|
+
setIsModalVisible(false);
|
|
135
|
+
}
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
const onCancel = async () => {
|
|
139
|
+
if (!cancelChanges) {
|
|
140
|
+
return onHide();
|
|
141
|
+
}
|
|
142
|
+
cancelChanges();
|
|
143
|
+
setIsModalVisible(false);
|
|
126
144
|
};
|
|
127
145
|
|
|
146
|
+
const onEdit = (e) => {
|
|
147
|
+
e.stopPropagation();
|
|
148
|
+
if (edit && !isModalVisible) edit();
|
|
149
|
+
setIsModalVisible(true);
|
|
150
|
+
}
|
|
151
|
+
|
|
128
152
|
useEffect(() => {
|
|
129
153
|
setExpanded(isExpanded);
|
|
130
154
|
}, [isExpanded]);
|
|
@@ -258,10 +282,7 @@ export function SortableTreeItem({
|
|
|
258
282
|
className="border-0 open-edit-right-modal-button"
|
|
259
283
|
role="button"
|
|
260
284
|
tabIndex={0}
|
|
261
|
-
onClick={(e) =>
|
|
262
|
-
e.stopPropagation();
|
|
263
|
-
setIsModalVisible(true);
|
|
264
|
-
}}
|
|
285
|
+
onClick={(e) => onEdit(e)}
|
|
265
286
|
onKeyDown={(e) => e.stopPropagation()}
|
|
266
287
|
>
|
|
267
288
|
<Icon type="ellipsis-h" color="#0E8CE2" height="1rem" />
|
|
@@ -291,7 +312,7 @@ export function SortableTreeItem({
|
|
|
291
312
|
<button
|
|
292
313
|
className="p-0 cancel-add-step-btn border-0"
|
|
293
314
|
type="button"
|
|
294
|
-
onClick={
|
|
315
|
+
onClick={onCancel}
|
|
295
316
|
>
|
|
296
317
|
<span>{t("Design:cancel")}</span>
|
|
297
318
|
</button>
|
|
@@ -20,6 +20,7 @@ export type DateRangeInputProps = {
|
|
|
20
20
|
startDate?: string;
|
|
21
21
|
endDate?: string;
|
|
22
22
|
months?: number;
|
|
23
|
+
disabled?: boolean;
|
|
23
24
|
onDateChange?: (dates: { startDate?: string; endDate?: string }) => void;
|
|
24
25
|
};
|
|
25
26
|
|
|
@@ -29,6 +30,7 @@ export const DateRangeInput = ({
|
|
|
29
30
|
endDate,
|
|
30
31
|
onDateChange,
|
|
31
32
|
months = 2,
|
|
33
|
+
disabled,
|
|
32
34
|
}: DateRangeInputProps) => {
|
|
33
35
|
const { t } = useTranslation("Design");
|
|
34
36
|
|
|
@@ -123,6 +125,7 @@ export const DateRangeInput = ({
|
|
|
123
125
|
<Form.Control
|
|
124
126
|
type="input"
|
|
125
127
|
placeholder={placeholder}
|
|
128
|
+
disabled={disabled}
|
|
126
129
|
readOnly
|
|
127
130
|
className="date-range-input"
|
|
128
131
|
value={stringDatesToInputValue({ startDate, endDate })}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Meta, Story } from "@storybook/react";
|
|
3
|
+
import {
|
|
4
|
+
StripedStaticTable,
|
|
5
|
+
StripedStaticTableProps,
|
|
6
|
+
} from "./StripedStaticTable";
|
|
7
|
+
|
|
8
|
+
export default {
|
|
9
|
+
title: "StripedStaticTable",
|
|
10
|
+
component: StripedStaticTable,
|
|
11
|
+
} as Meta;
|
|
12
|
+
|
|
13
|
+
export const Default: Story<StripedStaticTableProps> = (args) => {
|
|
14
|
+
return <StripedStaticTable {...args} />;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
Default.args = {
|
|
18
|
+
columns: [
|
|
19
|
+
{ key: "name", label: "" },
|
|
20
|
+
{ key: "quantity", label: "" },
|
|
21
|
+
{ key: "total", label: "" },
|
|
22
|
+
],
|
|
23
|
+
data: [
|
|
24
|
+
[
|
|
25
|
+
{
|
|
26
|
+
key: 1,
|
|
27
|
+
name: "test category",
|
|
28
|
+
quantity: "Qty",
|
|
29
|
+
total: "Total",
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
key: 2,
|
|
33
|
+
name: "product",
|
|
34
|
+
quantity: "2/16",
|
|
35
|
+
total: "160",
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
key: 4,
|
|
39
|
+
name: "total per category",
|
|
40
|
+
quantity: "2/16",
|
|
41
|
+
total: "160",
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
[
|
|
45
|
+
{
|
|
46
|
+
key: 1,
|
|
47
|
+
name: "test category",
|
|
48
|
+
quantity: "Qty",
|
|
49
|
+
total: "Total",
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
key: 2,
|
|
53
|
+
name: "product",
|
|
54
|
+
quantity: "2/16",
|
|
55
|
+
total: "160",
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
key: 5,
|
|
59
|
+
name: "product",
|
|
60
|
+
quantity: "2/16",
|
|
61
|
+
total: "160",
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
key: 4,
|
|
65
|
+
name: "total per category",
|
|
66
|
+
quantity: "2/16",
|
|
67
|
+
total: "160",
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
],
|
|
71
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
|
|
3
|
+
import { StaticTableProps, StaticTable, StaticTableData } from "../table";
|
|
4
|
+
|
|
5
|
+
export type StripedStaticTableProps = Omit<StaticTableProps, "data"> & {
|
|
6
|
+
data: StaticTableData[][];
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export const StripedStaticTable = ({
|
|
10
|
+
columns,
|
|
11
|
+
className = "",
|
|
12
|
+
data,
|
|
13
|
+
...props
|
|
14
|
+
}: StripedStaticTableProps) => {
|
|
15
|
+
const styledData = data
|
|
16
|
+
.map(
|
|
17
|
+
(section) =>
|
|
18
|
+
section.map((row, rowIndex, array) => {
|
|
19
|
+
const { length } = array;
|
|
20
|
+
|
|
21
|
+
return Object.fromEntries(
|
|
22
|
+
Object.entries(row).map(([key, value]) => {
|
|
23
|
+
if (key === "key") {
|
|
24
|
+
return [key, value];
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
// make first row blue and bold
|
|
28
|
+
if (rowIndex === 0) {
|
|
29
|
+
return [
|
|
30
|
+
key,
|
|
31
|
+
<div key={key} className="bold header-row">
|
|
32
|
+
{value}
|
|
33
|
+
</div>,
|
|
34
|
+
];
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// make last row bold
|
|
38
|
+
if (rowIndex === length - 1) {
|
|
39
|
+
return [
|
|
40
|
+
key,
|
|
41
|
+
<div key={key} className="bold">
|
|
42
|
+
{value}
|
|
43
|
+
</div>,
|
|
44
|
+
];
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
return [key, value];
|
|
48
|
+
})
|
|
49
|
+
);
|
|
50
|
+
}) as StaticTableData[]
|
|
51
|
+
)
|
|
52
|
+
.flat();
|
|
53
|
+
|
|
54
|
+
return (
|
|
55
|
+
<StaticTable
|
|
56
|
+
columns={columns}
|
|
57
|
+
data={styledData}
|
|
58
|
+
className={`striped-static-table ${className}`}
|
|
59
|
+
displayHeader={false}
|
|
60
|
+
{...props}
|
|
61
|
+
/>
|
|
62
|
+
);
|
|
63
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./StripedStaticTable";
|
|
@@ -6,43 +6,6 @@
|
|
|
6
6
|
.modal-body {
|
|
7
7
|
height: 75vh;
|
|
8
8
|
overflow: scroll;
|
|
9
|
-
|
|
10
|
-
table.event-statistic-table {
|
|
11
|
-
thead {
|
|
12
|
-
display: none;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
tbody {
|
|
16
|
-
tr {
|
|
17
|
-
border-bottom: 1px solid $gray-500;
|
|
18
|
-
td {
|
|
19
|
-
text-transform: capitalize;
|
|
20
|
-
|
|
21
|
-
&:nth-child(2), &:nth-child(3) {
|
|
22
|
-
text-align: right;
|
|
23
|
-
}
|
|
24
|
-
&:nth-child(2) {
|
|
25
|
-
width: 20%;
|
|
26
|
-
}
|
|
27
|
-
&:nth-child(3) {
|
|
28
|
-
width: 35%;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
td:has(div.header-row){
|
|
33
|
-
background-color: #d8ecf7;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&:first-child {
|
|
37
|
-
border-top: 1px solid $gray-500;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.bold {
|
|
43
|
-
font-weight: 600;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
9
|
}
|
|
47
10
|
}
|
|
48
11
|
|
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
|
|
203
203
|
.step-numbers {
|
|
204
204
|
font-weight: 500;
|
|
205
|
-
margin
|
|
205
|
+
margin: 0 1rem;
|
|
206
206
|
color: $snippet-page-header-steps-inactive-step-body-color;
|
|
207
207
|
|
|
208
208
|
.active-step {
|
|
@@ -225,6 +225,7 @@
|
|
|
225
225
|
height: 2rem;
|
|
226
226
|
transition: $color-transition;
|
|
227
227
|
max-width: calc(100% - 12rem);
|
|
228
|
+
flex-grow: 1;
|
|
228
229
|
|
|
229
230
|
.step {
|
|
230
231
|
display: flex;
|
|
@@ -233,10 +234,12 @@
|
|
|
233
234
|
margin: 0 0.5rem;
|
|
234
235
|
z-index: 1;
|
|
235
236
|
scroll-margin: 10rem;
|
|
237
|
+
flex-grow: 1;
|
|
236
238
|
|
|
237
239
|
.number {
|
|
238
240
|
text-align: center;
|
|
239
|
-
width: 3rem;
|
|
241
|
+
max-width: 3rem;
|
|
242
|
+
width: 100%;
|
|
240
243
|
height: 0.25rem;
|
|
241
244
|
line-height: 2.5rem;
|
|
242
245
|
background: $snippet-page-header-steps-inactive-step-background-color;
|
|
@@ -60,6 +60,7 @@
|
|
|
60
60
|
|
|
61
61
|
.left-block-container {
|
|
62
62
|
height: calc(100svh - 12rem);
|
|
63
|
+
scrollbar-width: none;
|
|
63
64
|
overflow: scroll;
|
|
64
65
|
|
|
65
66
|
.iframe-event-card {
|
|
@@ -119,6 +120,7 @@
|
|
|
119
120
|
|
|
120
121
|
&.show {
|
|
121
122
|
overflow: scroll;
|
|
123
|
+
scrollbar-width: none;
|
|
122
124
|
overflow-x: hidden;
|
|
123
125
|
}
|
|
124
126
|
|