@licklist/design 0.44.485-dev.59 → 0.44.485-dev.6
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 +1 -4
- package/dist/events/edit-event-modal/IntervalInput.d.ts.map +1 -1
- package/dist/events/edit-event-modal/IntervalInput.js +1 -1
- package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.d.ts.map +1 -1
- package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.js +1 -1
- package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.d.ts.map +1 -1
- package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.js +1 -1
- package/dist/events/edit-event-modal/utils/getDefaultProductSet.d.ts.map +1 -1
- package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +1 -1
- package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.d.ts +3 -3
- package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.d.ts.map +1 -1
- package/dist/events/event-statistic-modal/EventStatisticModal.d.ts +1 -1
- package/dist/events/event-statistic-modal/EventStatisticModal.d.ts.map +1 -1
- package/dist/events/event-statistic-modal/EventStatisticModal.js +1 -1
- package/dist/events/event-venue-map/EventVenueMap.d.ts +2 -5
- package/dist/events/event-venue-map/EventVenueMap.d.ts.map +1 -1
- package/dist/events/event-venue-map/EventVenueMap.js +1 -1
- package/dist/events/event-venue-map/components/Dropdown/Dropdown.d.ts +1 -1
- package/dist/events/event-venue-map/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/ProductsControl/ProductsControl.d.ts +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/ProductsControl/ProductsControl.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/SelectControl/SelectControl.d.ts +1 -1
- package/dist/events/event-venue-map/components/Dropdown/components/SelectControl/SelectControl.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/MapPoint.d.ts +1 -1
- package/dist/events/event-venue-map/components/MapPoint/MapPoint.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/MapPoint.js +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/DeleteIcon/DeleteIcon.d.ts +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/DeleteIcon/DeleteIcon.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/EditIcon/EditIcon.d.ts +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/EditIcon/EditIcon.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/PointIcon/PointIcon.d.ts +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/PointIcon/PointIcon.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.d.ts +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.js +1 -1
- package/dist/events/event-venue-map/components/VenueMap/VenueMap.d.ts +2 -4
- package/dist/events/event-venue-map/components/VenueMap/VenueMap.d.ts.map +1 -1
- package/dist/events/event-venue-map/components/VenueMap/VenueMap.js +1 -1
- package/dist/events/event-venue-map/hooks/useCanvasSize.d.ts +1 -1
- package/dist/events/event-venue-map/hooks/useCanvasSize.d.ts.map +1 -1
- package/dist/events/event-venue-map/hooks/useStageActions.d.ts +1 -1
- package/dist/events/event-venue-map/hooks/useStageActions.d.ts.map +1 -1
- package/dist/events/event-venue-map/types/index.d.ts +5 -5
- package/dist/events/event-venue-map/types/index.d.ts.map +1 -1
- package/dist/events/event-venue-map/utils/index.d.ts +3 -3
- package/dist/events/event-venue-map/utils/index.d.ts.map +1 -1
- package/dist/file-upload/FilePreview.d.ts +2 -2
- package/dist/file-upload/FilePreview.d.ts.map +1 -1
- package/dist/file-upload/FileUpload.d.ts +1 -1
- package/dist/file-upload/FileUpload.d.ts.map +1 -1
- package/dist/header/Header.d.ts +1 -1
- package/dist/header/Header.d.ts.map +1 -1
- package/dist/help/example/Example.d.ts +4 -4
- package/dist/help/example/Example.d.ts.map +1 -1
- package/dist/help/popover/HelpPopover.d.ts +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 +6 -5
- package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.d.ts.map +1 -1
- package/dist/iframe/event/event-order-short-summary/components/Summary/Summary.js +1 -1
- package/dist/iframe/event/event-product-sets/EventProductSets.d.ts +1 -1
- package/dist/iframe/event/event-product-sets/EventProductSets.d.ts.map +1 -1
- package/dist/iframe/event/event-product-sets/components/EventProductSet.d.ts +1 -1
- package/dist/iframe/event/event-product-sets/components/EventProductSet.d.ts.map +1 -1
- package/dist/iframe/event/event-step-venue-map-zones/EventStepVenueMapZones.d.ts +1 -1
- package/dist/iframe/event/event-step-venue-map-zones/EventStepVenueMapZones.d.ts.map +1 -1
- package/dist/iframe/event/event-step-venue-map-zones/components/EventStepVenueMapZone.d.ts +1 -1
- package/dist/iframe/event/event-step-venue-map-zones/components/EventStepVenueMapZone.d.ts.map +1 -1
- package/dist/iframe/event/event-venue-map/IframeEventVenueMap.d.ts +1 -5
- 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 +1 -3
- package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.js +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.d.ts +2 -4
- package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/Category.js +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts +2 -4
- package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.js +1 -1
- package/dist/iframe/order-process/components/Category/Category.d.ts +1 -2
- 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 +1 -2
- package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/CategoryProduct.js +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts +0 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.js +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.js +1 -1
- package/dist/iframe/order-process/components/NavigationSteps/NavigationSteps.d.ts +1 -1
- package/dist/iframe/order-process/components/NavigationSteps/NavigationSteps.d.ts.map +1 -1
- package/dist/iframe/order-process/components/PaymentCard/PaymentCard.d.ts +1 -1
- package/dist/iframe/order-process/components/PaymentCard/PaymentCard.d.ts.map +1 -1
- package/dist/iframe/order-process/components/StepsForm/StepsForm.d.ts +1 -2
- 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 +0 -5
- 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 +1 -6
- package/dist/iframe/payment/order-items-table/utils/index.d.ts.map +1 -1
- package/dist/iframe/payment/order-items-table/utils/index.js +1 -1
- package/dist/iframe/payment/payment-page/PaymentPage.d.ts +1 -1
- package/dist/iframe/payment/payment-page/PaymentPage.d.ts.map +1 -1
- package/dist/iframe/payment/payment-page/PaymentPage.js +1 -1
- package/dist/iframe/payment/payment-page/PaymentTimer.d.ts +0 -1
- package/dist/iframe/payment/payment-page/PaymentTimer.d.ts.map +1 -1
- package/dist/iframe/payment/payment-page/PaymentTimer.js +1 -1
- package/dist/iframe/payment/payment-status-header/PaymentStatusHeader.d.ts +1 -1
- package/dist/iframe/payment/payment-status-header/PaymentStatusHeader.d.ts.map +1 -1
- package/dist/iframe/payment/payment-status-page/PaymentStatusPage.d.ts +3 -5
- package/dist/iframe/payment/payment-status-page/PaymentStatusPage.d.ts.map +1 -1
- package/dist/iframe/payment/payment-status-page/PaymentStatusPage.js +1 -1
- package/dist/iframe/powered-by/PoweredBy.d.ts +1 -1
- package/dist/iframe/powered-by/PoweredBy.d.ts.map +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.d.ts +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.d.ts.map +1 -1
- package/dist/index.d.ts +0 -1
- 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 +1 -4
- package/dist/notification/email-template/card/EmailTemplateCard.d.ts.map +1 -1
- package/dist/notification/email-template/card/EmailTemplateCard.js +1 -1
- package/dist/notification/email-template/control/EmailTemplateControl.d.ts +0 -3
- package/dist/notification/email-template/control/EmailTemplateControl.d.ts.map +1 -1
- package/dist/notification/email-template/control/EmailTemplateControl.js +1 -1
- package/dist/notification/email-template/form/EmailTemplateForm.d.ts +1 -7
- package/dist/notification/email-template/form/EmailTemplateForm.d.ts.map +1 -1
- package/dist/notification/email-template/form/EmailTemplateForm.js +1 -1
- package/dist/notification/sms-template/card/SmsTemplateCard.d.ts +1 -4
- package/dist/notification/sms-template/card/SmsTemplateCard.d.ts.map +1 -1
- package/dist/notification/sms-template/card/SmsTemplateCard.js +1 -1
- package/dist/notification/sms-template/control/SmsTemplateControl.d.ts +1 -6
- package/dist/notification/sms-template/control/SmsTemplateControl.d.ts.map +1 -1
- package/dist/notification/sms-template/control/SmsTemplateControl.js +1 -1
- package/dist/notification/sms-template/form/SmsTemplateForm.d.ts +1 -5
- package/dist/notification/sms-template/form/SmsTemplateForm.d.ts.map +1 -1
- package/dist/notification/sms-template/form/SmsTemplateForm.js +1 -1
- package/dist/product-set/control/ProductSetControl.d.ts +4 -16
- package/dist/product-set/control/ProductSetControl.d.ts.map +1 -1
- package/dist/product-set/control/ProductSetControl.js +1 -1
- package/dist/product-set/deposit-paid/ProductSetDepositPaidControl.d.ts +3 -3
- package/dist/product-set/deposit-paid/ProductSetDepositPaidControl.d.ts.map +1 -1
- package/dist/product-set/elements/DeleteFieldButton.d.ts +1 -1
- package/dist/product-set/elements/DeleteFieldButton.d.ts.map +1 -1
- package/dist/product-set/form/ProductCategoriesControl.d.ts.map +1 -1
- package/dist/product-set/form/ProductCategoriesControl.js +1 -1
- package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
- package/dist/product-set/form/ProductSetForm.js +1 -1
- package/dist/product-set/form/ProductsControl.d.ts.map +1 -1
- package/dist/product-set/form/ProductsControl.js +1 -1
- package/dist/product-set/form/StepsControl.d.ts.map +1 -1
- package/dist/product-set/form/StepsControl.js +1 -1
- package/dist/product-set/form/VenueMapSetModal.d.ts +1 -1
- package/dist/product-set/form/VenueMapSetModal.d.ts.map +1 -1
- package/dist/product-set/form/VenueMapsControl.d.ts +1 -1
- package/dist/product-set/form/VenueMapsControl.d.ts.map +1 -1
- package/dist/product-set/form/context.d.ts +1 -1
- package/dist/product-set/form/context.d.ts.map +1 -1
- package/dist/product-set/popover/ProductSetPopover.d.ts +1 -1
- package/dist/product-set/popover/ProductSetPopover.d.ts.map +1 -1
- package/dist/product-set/product/ProductControl.d.ts +0 -1
- package/dist/product-set/product/ProductControl.d.ts.map +1 -1
- package/dist/product-set/product/ProductControl.js +1 -1
- package/dist/product-set/product/fixed-duration-fields/FixedDurationOptions.d.ts +1 -1
- package/dist/product-set/product/fixed-duration-fields/FixedDurationOptions.d.ts.map +1 -1
- package/dist/product-set/product/price/ProductPriceControl.d.ts +3 -7
- package/dist/product-set/product/price/ProductPriceControl.d.ts.map +1 -1
- package/dist/product-set/product/price/ProductPriceControl.js +1 -1
- package/dist/product-set/product/quantity/ProductQuantityRechargingControl.d.ts.map +1 -1
- package/dist/product-set/product/quantity/ProductQuantityRechargingControl.js +1 -1
- package/dist/product-set/tabs/ProductSetTab.d.ts +1 -1
- package/dist/product-set/tabs/ProductSetTab.d.ts.map +1 -1
- package/dist/product-set/tabs/ProductSetTabs.d.ts +1 -1
- package/dist/product-set/tabs/ProductSetTabs.d.ts.map +1 -1
- package/dist/product-set/types/index.d.ts +5 -5
- package/dist/product-set/types/index.d.ts.map +1 -1
- package/dist/product-set/utils/index.d.ts +0 -4
- package/dist/product-set/utils/index.d.ts.map +1 -1
- package/dist/product-set/utils/index.js +1 -1
- package/dist/provider/categories-input/CategoriesInput.d.ts +1 -1
- package/dist/provider/categories-input/CategoriesInput.d.ts.map +1 -1
- package/dist/provider/categories-input/CategoriesInputDescription.d.ts +1 -1
- package/dist/provider/categories-input/CategoriesInputDescription.d.ts.map +1 -1
- package/dist/provider/categories-input/index.d.ts +1 -1
- package/dist/provider/categories-input/index.d.ts.map +1 -1
- package/dist/provider/company/user-form/UserForm.d.ts +2 -2
- package/dist/provider/company/user-form/UserForm.d.ts.map +1 -1
- package/dist/provider/location-input/index.d.ts +1 -1
- package/dist/provider/location-input/index.d.ts.map +1 -1
- package/dist/provider/provider-details-input/ProviderDetailsInput.d.ts +2 -2
- package/dist/provider/provider-details-input/ProviderDetailsInput.d.ts.map +1 -1
- package/dist/provider/provider-details-input/ProviderDetailsInput.js +1 -1
- package/dist/provider/provider-form/ProviderForm.d.ts +1 -1
- package/dist/provider/provider-form/ProviderForm.d.ts.map +1 -1
- package/dist/provider/provider-links-input/ProviderLinksInput.d.ts +2 -2
- package/dist/provider/provider-links-input/ProviderLinksInput.d.ts.map +1 -1
- package/dist/provider/resources-blocking-modal/ResourcesBlockingModal.d.ts +1 -1
- package/dist/provider/resources-blocking-modal/ResourcesBlockingModal.d.ts.map +1 -1
- package/dist/provider/venue-form/VenueForm.d.ts +1 -1
- package/dist/provider/venue-form/VenueForm.d.ts.map +1 -1
- package/dist/provider/working-hours-input/index.d.ts +1 -1
- package/dist/provider/working-hours-input/index.d.ts.map +1 -1
- package/dist/recurrence-input/utils.d.ts +2 -2
- package/dist/recurrence-input/utils.d.ts.map +1 -1
- package/dist/recurring-date-picker-input/RecurringDatePickerInput.js +1 -1
- package/dist/recurring-date-picker-input/utils.d.ts +2 -2
- package/dist/recurring-date-picker-input/utils.d.ts.map +1 -1
- package/dist/resource/form/ResourceForm.d.ts +2 -2
- package/dist/resource/form/ResourceForm.d.ts.map +1 -1
- package/dist/resource/form/components/CapacityControl.d.ts +1 -1
- package/dist/resource/form/components/CapacityControl.d.ts.map +1 -1
- package/dist/resource/form/components/NameControl.d.ts +1 -1
- package/dist/resource/form/components/NameControl.d.ts.map +1 -1
- package/dist/resource/form/components/SortControl.d.ts +1 -1
- package/dist/resource/form/components/SortControl.d.ts.map +1 -1
- package/dist/resource/form/components/ZoneControl.d.ts +1 -1
- package/dist/resource/form/components/ZoneControl.d.ts.map +1 -1
- package/dist/sales/booking/filter/BookingFilter.d.ts +2 -5
- 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 +2 -3
- 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 +1 -8
- 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 +2 -3
- 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 +3 -2
- package/dist/sales/filters/SaleFilters.d.ts.map +1 -1
- package/dist/sales/guest-profile/previous-bookings/PreviousBookings.d.ts +1 -1
- package/dist/sales/guest-profile/previous-bookings/PreviousBookings.d.ts.map +1 -1
- package/dist/sales/guest-profile/profile/Profile.d.ts +1 -1
- package/dist/sales/guest-profile/profile/Profile.d.ts.map +1 -1
- package/dist/sales/guest-profile/profile/components/ImageHolder/ImageHolder.d.ts +1 -1
- package/dist/sales/guest-profile/profile/components/ImageHolder/ImageHolder.d.ts.map +1 -1
- package/dist/sales/guest-profile/user-metrics/UserMetrics.d.ts +1 -1
- package/dist/sales/guest-profile/user-metrics/UserMetrics.d.ts.map +1 -1
- package/dist/sales/guest-profile/visited-providers/VisitedProviders.d.ts +1 -1
- package/dist/sales/guest-profile/visited-providers/VisitedProviders.d.ts.map +1 -1
- package/dist/sales/life-time-sales/LifeTimeSalesChart.d.ts +1 -1
- package/dist/sales/life-time-sales/LifeTimeSalesChart.d.ts.map +1 -1
- package/dist/sales/manual-booking/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 +2 -5
- package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
- package/dist/sortable-tree/SortableTreeItem.js +1 -1
- package/dist/static/Icon.d.ts +1 -1
- package/dist/static/Icon.d.ts.map +1 -1
- package/dist/static/date-range-input/DateRangeInput.d.ts +2 -3
- package/dist/static/date-range-input/DateRangeInput.d.ts.map +1 -1
- package/dist/static/date-range-input/DateRangeInput.js +1 -1
- package/dist/static/images/DefaultUserImage.d.ts +1 -1
- package/dist/static/images/DefaultUserImage.d.ts.map +1 -1
- package/dist/static/loader/ButtonLoader.d.ts +1 -1
- package/dist/static/loader/ButtonLoader.d.ts.map +1 -1
- package/dist/static/loader/PaymentLoader.d.ts +1 -1
- package/dist/static/loader/PaymentLoader.d.ts.map +1 -1
- package/dist/static/manual-date-picker/ManualDatePicker.d.ts +1 -1
- package/dist/static/manual-date-picker/ManualDatePicker.d.ts.map +1 -1
- package/dist/static/manual-date-picker/hooks/useManualDatePicker.d.ts +2 -2
- package/dist/static/manual-date-picker/hooks/useManualDatePicker.d.ts.map +1 -1
- package/dist/static/tabs/Tab.d.ts +1 -1
- package/dist/static/tabs/Tab.d.ts.map +1 -1
- package/dist/static/tabs/Tabs.d.ts +1 -1
- package/dist/static/tabs/Tabs.d.ts.map +1 -1
- package/dist/styles/events/EventStatisticModal.scss +37 -0
- package/dist/styles/iframe-order-process/IframeOrderProcess.scss +2 -5
- package/dist/styles/iframe-page/PageBody.scss +0 -2
- package/dist/styles/packages.scss +0 -1
- package/dist/styles/sales/BookingFilter.scss +11 -43
- package/dist/styles/snippet-templates/SnippetTemplateCard.scss +0 -16
- package/dist/styles/static/DateRangeInput.scss +1 -5
- 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 +12 -6
- package/dist/typeahead/Typeahead.d.ts.map +1 -1
- package/dist/typeahead/Typeahead.js +1 -1
- package/dist/typeahead-helper/TypeaheadHelperComponent.d.ts +1 -1
- package/dist/typeahead-helper/TypeaheadHelperComponent.d.ts.map +1 -1
- package/dist/types/categories.d.ts +2 -2
- package/dist/types/categories.d.ts.map +1 -1
- package/dist/types/currency.d.ts +1 -1
- package/dist/types/currency.d.ts.map +1 -1
- package/dist/types/generic/SelectItem.d.ts +1 -1
- package/dist/types/generic/SelectItem.d.ts.map +1 -1
- package/dist/types/iframe.d.ts +2 -4
- package/dist/types/iframe.d.ts.map +1 -1
- package/dist/types/provider-links.d.ts +2 -2
- package/dist/types/provider-links.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/NameControl.d.ts +1 -1
- package/dist/venue-map-sets/form/components/NameControl.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/VenueMapControl.d.ts +4 -4
- package/dist/venue-map-sets/form/components/VenueMapControl.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/VenueMapImageControl.d.ts +1 -1
- package/dist/venue-map-sets/form/components/VenueMapImageControl.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/VenueMapModal.d.ts +1 -1
- package/dist/venue-map-sets/form/components/VenueMapModal.d.ts.map +1 -1
- package/dist/venue-map-sets/form/components/VenueMapsControl.d.ts +1 -1
- package/dist/venue-map-sets/form/components/VenueMapsControl.d.ts.map +1 -1
- package/dist/venue-map-sets/form/types/index.d.ts +4 -4
- package/dist/venue-map-sets/form/types/index.d.ts.map +1 -1
- package/dist/virtualized/components/VirtualizedGrid.d.ts +1 -1
- package/dist/virtualized/components/VirtualizedGrid.d.ts.map +1 -1
- package/dist/virtualized/components/VirtualizedWindowScroller.d.ts +3 -3
- package/dist/virtualized/components/VirtualizedWindowScroller.d.ts.map +1 -1
- package/dist/virtualized/context/VirtualizedContext.d.ts +2 -2
- package/dist/virtualized/context/VirtualizedContext.d.ts.map +1 -1
- package/dist/widgets/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 +1 -21
- package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx +0 -3
- package/src/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.tsx +2 -11
- package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +4 -6
- package/src/events/event-statistic-modal/EventStatisticModal.tsx +1 -1
- package/src/events/event-venue-map/EventVenueMap.tsx +0 -4
- package/src/events/event-venue-map/components/MapPoint/MapPoint.tsx +2 -4
- package/src/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.tsx +2 -13
- package/src/events/event-venue-map/components/VenueMap/VenueMap.tsx +4 -12
- package/src/iframe/event/event-order-short-summary/components/Summary/Summary.tsx +20 -20
- package/src/iframe/event/event-venue-map/IframeEventVenueMap.stories.tsx +0 -5
- package/src/iframe/order-process/OrderProcess.stories.tsx +2 -3
- package/src/iframe/order-process/components/BookingSummary/BookingSummary.tsx +1 -4
- package/src/iframe/order-process/components/BookingSummary/types/index.ts +3 -3
- package/src/iframe/order-process/components/BookingSummary/utils/index.ts +2 -6
- package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.stories.tsx +0 -1
- package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.tsx +0 -5
- package/src/iframe/order-process/components/CalendarStepsForm/components/Category.tsx +0 -4
- package/src/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.tsx +0 -4
- package/src/iframe/order-process/components/Category/Category.tsx +0 -3
- package/src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx +8 -42
- package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +0 -3
- package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +2 -3
- package/src/iframe/order-process/components/StepsForm/StepsForm.tsx +0 -3
- 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 +0 -2
- package/src/iframe/payment/order-items-table/hooks/useTableData.tsx +14 -21
- package/src/iframe/payment/order-items-table/utils/index.ts +15 -55
- package/src/iframe/payment/payment-page/PaymentPage.tsx +6 -46
- package/src/iframe/payment/payment-page/PaymentTimer.tsx +6 -31
- package/src/iframe/payment/payment-status-page/PaymentStatusPage.tsx +12 -66
- package/src/index.ts +0 -1
- package/src/notification/email-template/card/EmailTemplateCard.stories.tsx +2 -4
- package/src/notification/email-template/card/EmailTemplateCard.tsx +3 -15
- package/src/notification/email-template/control/EmailTemplateControl.tsx +6 -90
- package/src/notification/email-template/form/EmailTemplateForm.stories.tsx +0 -34
- package/src/notification/email-template/form/EmailTemplateForm.tsx +5 -23
- package/src/notification/sms-template/card/SmsTemplateCard.stories.tsx +1 -3
- package/src/notification/sms-template/card/SmsTemplateCard.tsx +3 -13
- package/src/notification/sms-template/control/SmsTemplateControl.tsx +2 -40
- package/src/notification/sms-template/form/SmsTemplateForm.stories.tsx +0 -28
- package/src/notification/sms-template/form/SmsTemplateForm.tsx +1 -6
- package/src/product-set/control/ProductSetControl.tsx +45 -69
- package/src/product-set/form/ProductCategoriesControl.tsx +0 -9
- package/src/product-set/form/ProductSetForm.stories.tsx +2 -41
- package/src/product-set/form/ProductSetForm.tsx +0 -11
- package/src/product-set/form/ProductsControl.tsx +1 -30
- package/src/product-set/form/StepsControl.tsx +3 -31
- package/src/product-set/product/ProductControl.tsx +10 -25
- package/src/product-set/product/price/ProductPriceControl.tsx +21 -43
- package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +14 -33
- package/src/product-set/utils/index.ts +0 -28
- package/src/provider/provider-details-input/ProviderDetailsInput.tsx +3 -17
- package/src/sales/booking/filter/BookingFilter.stories.tsx +0 -29
- package/src/sales/booking/filter/BookingFilter.tsx +2 -11
- package/src/sales/booking/filter/components/AdditionalFIlterSection.tsx +12 -64
- package/src/sales/booking/filter/components/MainFilterSection.tsx +1 -4
- package/src/sales/booking/filter/components/SearchingForSection.tsx +3 -37
- package/src/sales/booking/tabs/BookingTabs.tsx +3 -4
- package/src/sales/coupon/control/CouponFormControl.tsx +0 -2
- package/src/sales/filters/SaleFilter.stories.tsx +1 -1
- package/src/sales/filters/SaleFilters.tsx +2 -2
- package/src/sales/manual-booking/select-menu/SelectMenu.tsx +1 -3
- package/src/setting/dashboard/snippets/control/SnippetControl.tsx +13 -11
- 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 +6 -27
- package/src/static/date-range-input/DateRangeInput.tsx +0 -3
- package/src/styles/events/EventStatisticModal.scss +37 -0
- package/src/styles/iframe-order-process/IframeOrderProcess.scss +2 -5
- package/src/styles/iframe-page/PageBody.scss +0 -2
- package/src/styles/packages.scss +0 -1
- package/src/styles/sales/BookingFilter.scss +11 -43
- package/src/styles/snippet-templates/SnippetTemplateCard.scss +0 -16
- package/src/styles/static/DateRangeInput.scss +1 -5
- package/src/table/FilterHelperComponent.tsx +0 -1
- package/src/table/StaticTable.tsx +2 -4
- package/src/typeahead/Typeahead.stories.tsx +6 -9
- package/src/typeahead/Typeahead.tsx +12 -19
- package/src/types/iframe.ts +0 -2
- package/tests/Snippets/Snippets.test.tsx +5 -5
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.d.ts +0 -9
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.d.ts.map +0 -1
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.js +0 -1
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.d.ts +0 -2
- package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.d.ts.map +0 -1
- package/dist/notification/hooks/useTranslatedParameters.d.ts +0 -7
- package/dist/notification/hooks/useTranslatedParameters.d.ts.map +0 -1
- package/dist/notification/hooks/useTranslatedParameters.js +0 -1
- package/dist/product-set/hooks/useSortableTreeFunctions.d.ts +0 -11
- package/dist/product-set/hooks/useSortableTreeFunctions.d.ts.map +0 -1
- package/dist/product-set/hooks/useSortableTreeFunctions.js +0 -1
- package/dist/provider/constants.d.ts +0 -2
- package/dist/provider/constants.d.ts.map +0 -1
- package/dist/provider/constants.js +0 -1
- package/dist/striped-static-table/StripedStaticTable.d.ts +0 -7
- package/dist/striped-static-table/StripedStaticTable.d.ts.map +0 -1
- package/dist/striped-static-table/StripedStaticTable.js +0 -1
- package/dist/striped-static-table/index.d.ts +0 -2
- package/dist/striped-static-table/index.d.ts.map +0 -1
- package/dist/styles/striped-static-table/_index.scss +0 -33
- package/src/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.tsx +0 -68
- package/src/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.ts +0 -1
- package/src/notification/hooks/useTranslatedParameters.ts +0 -27
- package/src/product-set/hooks/useSortableTreeFunctions.ts +0 -37
- package/src/provider/constants.ts +0 -1
- package/src/striped-static-table/StripedStaticTable.stories.tsx +0 -71
- package/src/striped-static-table/StripedStaticTable.tsx +0 -63
- package/src/striped-static-table/index.ts +0 -1
- package/src/styles/striped-static-table/_index.scss +0 -33
|
@@ -1,54 +1,47 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import Select from "react-select";
|
|
3
|
-
import {
|
|
3
|
+
import { useForm, Controller } from "react-hook-form";
|
|
4
4
|
|
|
5
5
|
export type TypeaheadOptions = {
|
|
6
|
-
id: number
|
|
7
|
-
value:
|
|
6
|
+
id: number;
|
|
7
|
+
value: string;
|
|
8
8
|
label: string;
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
export interface TypeaheadProps {
|
|
12
12
|
options: TypeaheadOptions[];
|
|
13
|
+
setValue: (value: string | any) => void;
|
|
13
14
|
placeholder: string;
|
|
14
15
|
isRequired?: boolean;
|
|
15
16
|
name: string;
|
|
16
|
-
isMultipleChoise?: boolean;
|
|
17
17
|
noOptionsMessage: string;
|
|
18
|
-
isInvalid?: boolean;
|
|
19
18
|
}
|
|
20
19
|
|
|
21
20
|
function Typeahead({
|
|
22
21
|
options,
|
|
22
|
+
setValue,
|
|
23
23
|
placeholder,
|
|
24
24
|
isRequired = false,
|
|
25
|
-
isMultipleChoise,
|
|
26
25
|
name = "",
|
|
27
26
|
noOptionsMessage = "",
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
const
|
|
27
|
+
}) {
|
|
28
|
+
const { control } = useForm({
|
|
29
|
+
mode: "onChange",
|
|
30
|
+
});
|
|
31
|
+
const prefix = "id";
|
|
33
32
|
|
|
34
33
|
return (
|
|
35
34
|
<>
|
|
36
35
|
<Controller
|
|
37
|
-
name={name}
|
|
36
|
+
name={`${name}.${prefix as string}` as const}
|
|
38
37
|
control={control}
|
|
39
38
|
rules={{ required: isRequired }}
|
|
40
39
|
render={({ field }) => (
|
|
41
40
|
<Select
|
|
42
41
|
placeholder={placeholder}
|
|
43
42
|
value={field.value}
|
|
44
|
-
isMulti={isMultipleChoise}
|
|
45
|
-
styles={{
|
|
46
|
-
control: (base) => ({
|
|
47
|
-
...base,
|
|
48
|
-
...getErrorStyle(),
|
|
49
|
-
}),
|
|
50
|
-
}}
|
|
51
43
|
onChange={(value) => {
|
|
44
|
+
setValue(`${name}.${prefix}`, value.id);
|
|
52
45
|
field.onChange(value);
|
|
53
46
|
}}
|
|
54
47
|
options={options}
|
package/src/types/iframe.ts
CHANGED
|
@@ -35,7 +35,7 @@ describe("Snippets", () => {
|
|
|
35
35
|
<SnippetForm
|
|
36
36
|
isLoading={false}
|
|
37
37
|
onSubmit={() => {}}
|
|
38
|
-
templates={[{ id: "1", name: "test", colors: [], type: "
|
|
38
|
+
templates={[{ id: "1", name: "test", colors: [], type: "event" }]}
|
|
39
39
|
/>
|
|
40
40
|
);
|
|
41
41
|
|
|
@@ -57,12 +57,12 @@ describe("Snippets", () => {
|
|
|
57
57
|
<SnippetForm
|
|
58
58
|
isLoading={false}
|
|
59
59
|
onSubmit={() => {}}
|
|
60
|
-
templates={[{ id: "1", name: "test", colors: [], type: "
|
|
60
|
+
templates={[{ id: "1", name: "test", colors: [], type: "event" }]}
|
|
61
61
|
defaultValues={{
|
|
62
62
|
name: "",
|
|
63
|
-
type: "
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
type: "event",
|
|
64
|
+
templateId: "",
|
|
65
|
+
snippetSetting: {
|
|
66
66
|
displayDescription: false,
|
|
67
67
|
displayCost: true,
|
|
68
68
|
displayType: true,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProductTooltip.d.ts","sourceRoot":"","sources":["../../../../../../src/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.tsx"],"names":[],"mappings":";AAkBA,KAAK,mBAAmB,GAAG;IACzB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,cAAc,mBAAoB,mBAAmB,gBA2CjE,CAAC"}
|
package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=require("react"),r=(e=t)&&"object"==typeof e&&"default"in e?e.default:e,i=require("react-konva"),l="#000";exports.ProductTooltip=function(e){var t=e.x,o=e.y,c=e.text;return r.createElement(i.Group,{width:60,height:20,x:t+30,y:o-1},r.createElement(i.Rect,{x:-5,y:5,sceneFunc:function(e){e.beginPath(),e.moveTo(0,5),e.lineTo(5,0),e.lineTo(5,10),e.closePath(),e.fill()},fill:l,borderColor:l,opacity:.8}),r.createElement(i.Rect,{x:0,y:0,width:60,height:20,fill:l,cornerRadius:5,opacity:.8}),r.createElement(i.Text,{y:4,text:c,strokeWidth:5,width:60,align:"center",verticalAlign:"middle",fill:"#FFF"}))};
|
package/dist/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
type UseTranslatedParametersProps = {
|
|
2
|
-
isDefault: boolean;
|
|
3
|
-
isActive: boolean;
|
|
4
|
-
};
|
|
5
|
-
export declare const useTranslatedParameters: ({ isActive, isDefault, }: UseTranslatedParametersProps) => string;
|
|
6
|
-
export {};
|
|
7
|
-
//# sourceMappingURL=useTranslatedParameters.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useTranslatedParameters.d.ts","sourceRoot":"","sources":["../../../src/notification/hooks/useTranslatedParameters.ts"],"names":[],"mappings":"AAEA,KAAK,4BAA4B,GAAG;IAClC,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,uBAAuB,6BAGjC,4BAA4B,WAgB9B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react-i18next");exports.useTranslatedParameters=function(t){var s,r=t.isActive,i=t.isDefault,a=e.useTranslation(["Design"]).t;return s=[],i&&s.push(a("Design:default")),r&&s.push(a("Design:active")),s.join(", ")};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
interface useSortableTreeFunctionsProps {
|
|
2
|
-
fieldName: string;
|
|
3
|
-
remove: (index?: number | number[]) => void;
|
|
4
|
-
}
|
|
5
|
-
export declare const useSortableTreeFunctions: ({ fieldName, remove, }: useSortableTreeFunctionsProps) => {
|
|
6
|
-
edit: (index: number) => void;
|
|
7
|
-
cancelChanges: (index: number) => void;
|
|
8
|
-
saveValidField: () => void;
|
|
9
|
-
};
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=useSortableTreeFunctions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useSortableTreeFunctions.d.ts","sourceRoot":"","sources":["../../../src/product-set/hooks/useSortableTreeFunctions.ts"],"names":[],"mappings":"AAGA,UAAU,6BAA6B;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,IAAI,CAAC;CAC7C;AACD,eAAO,MAAM,wBAAwB,2BAGlC,6BAA6B;kBAIT,MAAM;2BAMG,MAAM;;CAgBrC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=require("tslib"),r=require("react"),n=((e=r)&&"object"==typeof e&&"default"in e&&e.default,require("react-hook-form"));exports.useSortableTreeFunctions=function(e){var u=e.fieldName,o=e.remove,a=n.useFormContext(),c=a.getValues,l=a.setValue,i=t.__read(r.useState(null),2),s=i[0],d=i[1];return{edit:function(e){var t=c("".concat(u,".").concat(e)),r=structuredClone(t);d(r)},cancelChanges:function(e){return s?l("".concat(u,".").concat(e),s):o(e)},saveValidField:function(){d(null)}}};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/provider/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iCAAiC,QAAQ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.MAX_DESCRIPTION_CHARACTERS_LENGTH=25256;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { StaticTableProps, StaticTableData } from "../table";
|
|
3
|
-
export type StripedStaticTableProps = Omit<StaticTableProps, "data"> & {
|
|
4
|
-
data: StaticTableData[][];
|
|
5
|
-
};
|
|
6
|
-
export declare const StripedStaticTable: ({ columns, className, data, ...props }: StripedStaticTableProps) => JSX.Element;
|
|
7
|
-
//# sourceMappingURL=StripedStaticTable.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StripedStaticTable.d.ts","sourceRoot":"","sources":["../../src/striped-static-table/StripedStaticTable.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,gBAAgB,EAAe,eAAe,EAAE,MAAM,UAAU,CAAC;AAE1E,MAAM,MAAM,uBAAuB,GAAG,IAAI,CAAC,gBAAgB,EAAE,MAAM,CAAC,GAAG;IACrE,IAAI,EAAE,eAAe,EAAE,EAAE,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,kBAAkB,2CAK5B,uBAAuB,gBAiDzB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t=require("tslib"),a=require("react"),r=(e=a)&&"object"==typeof e&&"default"in e?e.default:e;require("../table/MenuButton.js"),require("../table/FilterHelperComponent.js"),require("../table/PaginationHelperComponent.js"),require("../table/PerPageHelperComponent.js");var l=require("../table/StaticTable.js");require("../table/TableHelperComponent.js"),require("../table/ReactTableHelperComponent.js");exports.StripedStaticTable=function(e){var a=e.columns,n=e.className,s=void 0===n?"":n,i=e.data,o=t.__rest(e,["columns","className","data"]),c=i.map((function(e){return e.map((function(e,a,l){var n=l.length;return Object.fromEntries(Object.entries(e).map((function(e){var l=t.__read(e,2),s=l[0],i=l[1];return"key"===s?[s,i]:0===a?[s,r.createElement("div",{key:s,className:"bold header-row"},i)]:a===n-1?[s,r.createElement("div",{key:s,className:"bold"},i)]:[s,i]})))}))})).flat();return r.createElement(l.StaticTable,t.__assign({columns:a,data:c,className:"striped-static-table ".concat(s),displayHeader:!1},o))};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/striped-static-table/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
table.striped-static-table {
|
|
2
|
-
tbody {
|
|
3
|
-
tr {
|
|
4
|
-
border-bottom: 1px solid $gray-500;
|
|
5
|
-
td {
|
|
6
|
-
text-transform: capitalize;
|
|
7
|
-
|
|
8
|
-
&:nth-child(2),
|
|
9
|
-
&:nth-child(3) {
|
|
10
|
-
text-align: right;
|
|
11
|
-
}
|
|
12
|
-
&:nth-child(2) {
|
|
13
|
-
width: 20%;
|
|
14
|
-
}
|
|
15
|
-
&:nth-child(3) {
|
|
16
|
-
width: 35%;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
td:has(div.header-row) {
|
|
21
|
-
background-color: #d8ecf7;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&:first-child {
|
|
25
|
-
border-top: 1px solid $gray-500;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.bold {
|
|
31
|
-
font-weight: 600;
|
|
32
|
-
}
|
|
33
|
-
}
|
package/src/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.tsx
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Group, Rect, Text } from "react-konva";
|
|
3
|
-
|
|
4
|
-
const TOOLTIP_WIDTH = 60;
|
|
5
|
-
const TOOLTIP_HEIGHT = 20;
|
|
6
|
-
|
|
7
|
-
const BACKGROUND_COLOR = "#000";
|
|
8
|
-
const BACKGROUND_Y_OFFSET = 1;
|
|
9
|
-
const BACKGROUND_X_OFFSET = 30;
|
|
10
|
-
const BACKGROUND_RADIUS = 5;
|
|
11
|
-
const BACKGROUND_OPACITY = 0.8;
|
|
12
|
-
|
|
13
|
-
const TEXT_Y_OFFSET = 4;
|
|
14
|
-
const TEXT_STROKE_WIDTH = 5;
|
|
15
|
-
const TEXT_COLOR = "#FFF";
|
|
16
|
-
const TEXT_ALIGN = "center";
|
|
17
|
-
const TEXT_VERTICAL_ALIGN = "middle";
|
|
18
|
-
|
|
19
|
-
type ProductTooltipProps = {
|
|
20
|
-
x: number;
|
|
21
|
-
y: number;
|
|
22
|
-
text: string;
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export const ProductTooltip = ({ x, y, text }: ProductTooltipProps) => {
|
|
26
|
-
return (
|
|
27
|
-
<Group
|
|
28
|
-
width={TOOLTIP_WIDTH}
|
|
29
|
-
height={TOOLTIP_HEIGHT}
|
|
30
|
-
x={x + BACKGROUND_X_OFFSET}
|
|
31
|
-
y={y - BACKGROUND_Y_OFFSET}
|
|
32
|
-
>
|
|
33
|
-
<Rect
|
|
34
|
-
x={-5}
|
|
35
|
-
y={5}
|
|
36
|
-
sceneFunc={(context) => {
|
|
37
|
-
context.beginPath();
|
|
38
|
-
context.moveTo(0, 5);
|
|
39
|
-
context.lineTo(5, 0);
|
|
40
|
-
context.lineTo(5, 10);
|
|
41
|
-
context.closePath();
|
|
42
|
-
context.fill();
|
|
43
|
-
}}
|
|
44
|
-
fill={BACKGROUND_COLOR}
|
|
45
|
-
borderColor={BACKGROUND_COLOR}
|
|
46
|
-
opacity={BACKGROUND_OPACITY}
|
|
47
|
-
/>
|
|
48
|
-
<Rect
|
|
49
|
-
x={0}
|
|
50
|
-
y={0}
|
|
51
|
-
width={TOOLTIP_WIDTH}
|
|
52
|
-
height={TOOLTIP_HEIGHT}
|
|
53
|
-
fill={BACKGROUND_COLOR}
|
|
54
|
-
cornerRadius={BACKGROUND_RADIUS}
|
|
55
|
-
opacity={BACKGROUND_OPACITY}
|
|
56
|
-
/>
|
|
57
|
-
<Text
|
|
58
|
-
y={TEXT_Y_OFFSET}
|
|
59
|
-
text={text}
|
|
60
|
-
strokeWidth={TEXT_STROKE_WIDTH}
|
|
61
|
-
width={TOOLTIP_WIDTH}
|
|
62
|
-
align={TEXT_ALIGN}
|
|
63
|
-
verticalAlign={TEXT_VERTICAL_ALIGN}
|
|
64
|
-
fill={TEXT_COLOR}
|
|
65
|
-
/>
|
|
66
|
-
</Group>
|
|
67
|
-
);
|
|
68
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ProductTooltip } from "./ProductTooltip";
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { useTranslation } from "react-i18next";
|
|
2
|
-
|
|
3
|
-
type UseTranslatedParametersProps = {
|
|
4
|
-
isDefault: boolean;
|
|
5
|
-
isActive: boolean;
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export const useTranslatedParameters = ({
|
|
9
|
-
isActive,
|
|
10
|
-
isDefault,
|
|
11
|
-
}: UseTranslatedParametersProps) => {
|
|
12
|
-
const { t } = useTranslation(["Design"]);
|
|
13
|
-
|
|
14
|
-
const translatedParameters = () => {
|
|
15
|
-
const texts: string[] = [];
|
|
16
|
-
if (isDefault) {
|
|
17
|
-
texts.push(t("Design:default"));
|
|
18
|
-
}
|
|
19
|
-
if (isActive) {
|
|
20
|
-
texts.push(t("Design:active"));
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
return texts.join(", ");
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
return translatedParameters();
|
|
27
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { useState } from "react";
|
|
2
|
-
import { useFormContext } from "react-hook-form";
|
|
3
|
-
|
|
4
|
-
interface useSortableTreeFunctionsProps {
|
|
5
|
-
fieldName: string;
|
|
6
|
-
remove: (index?: number | number[]) => void;
|
|
7
|
-
}
|
|
8
|
-
export const useSortableTreeFunctions = ({
|
|
9
|
-
fieldName,
|
|
10
|
-
remove,
|
|
11
|
-
}: useSortableTreeFunctionsProps) => {
|
|
12
|
-
const { getValues, setValue } = useFormContext();
|
|
13
|
-
const [previousValue, setEditValue] = useState(null);
|
|
14
|
-
|
|
15
|
-
const edit = (index: number) => {
|
|
16
|
-
const currentCategoryProduct = getValues(`${fieldName}.${index}` as const);
|
|
17
|
-
const cloneCategoryProduct = structuredClone(currentCategoryProduct);
|
|
18
|
-
setEditValue(cloneCategoryProduct);
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
const cancelChanges = (index: number) => {
|
|
22
|
-
if (!previousValue) {
|
|
23
|
-
return remove(index);
|
|
24
|
-
}
|
|
25
|
-
return setValue(`${fieldName}.${index}` as const, previousValue);
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
const saveValidField = () => {
|
|
29
|
-
setEditValue(null);
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
return {
|
|
33
|
-
edit,
|
|
34
|
-
cancelChanges,
|
|
35
|
-
saveValidField,
|
|
36
|
-
};
|
|
37
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const MAX_DESCRIPTION_CHARACTERS_LENGTH = 25256;
|
|
@@ -1,71 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,63 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./StripedStaticTable";
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
table.striped-static-table {
|
|
2
|
-
tbody {
|
|
3
|
-
tr {
|
|
4
|
-
border-bottom: 1px solid $gray-500;
|
|
5
|
-
td {
|
|
6
|
-
text-transform: capitalize;
|
|
7
|
-
|
|
8
|
-
&:nth-child(2),
|
|
9
|
-
&:nth-child(3) {
|
|
10
|
-
text-align: right;
|
|
11
|
-
}
|
|
12
|
-
&:nth-child(2) {
|
|
13
|
-
width: 20%;
|
|
14
|
-
}
|
|
15
|
-
&:nth-child(3) {
|
|
16
|
-
width: 35%;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
td:has(div.header-row) {
|
|
21
|
-
background-color: #d8ecf7;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&:first-child {
|
|
25
|
-
border-top: 1px solid $gray-500;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.bold {
|
|
31
|
-
font-weight: 600;
|
|
32
|
-
}
|
|
33
|
-
}
|