@licklist/design 0.78.5-dev.27 → 0.78.5-dev.3
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/.storybook/main.cjs +11 -28
- package/.storybook/manager.js +4 -0
- package/bitbucket-pipelines.yml +3 -3
- package/dist/assets/dashboard/addImage.svg +0 -0
- package/dist/assets/dashboard/chartBar.svg +0 -0
- package/dist/assets/dashboard/genderFemale.svg +0 -0
- package/dist/assets/dashboard/genderMale.svg +0 -0
- package/dist/assets/dashboard/increment.svg +0 -0
- package/dist/assets/dashboard/info.svg +0 -0
- package/dist/assets/dashboard/managerRole.svg +0 -0
- package/dist/assets/dashboard/subManagerRole.svg +0 -0
- package/dist/assets/dashboard/viewerRole.svg +0 -0
- package/dist/assets/dashboard/visitedProviderLink.svg +0 -0
- package/dist/assets/dashboard/warning.svg +0 -0
- package/dist/assets/editor/bold.svg +0 -0
- package/dist/assets/editor/double-quotes-l.svg +0 -0
- package/dist/assets/editor/format-clear.svg +0 -0
- package/dist/assets/editor/h1.svg +0 -0
- package/dist/assets/editor/h2.svg +0 -0
- package/dist/assets/editor/italic.svg +0 -0
- package/dist/assets/editor/paragraph.svg +0 -0
- package/dist/assets/editor/separator.svg +0 -0
- package/dist/assets/editor/strikethrough.svg +0 -0
- package/dist/assets/editor/text-wrap.svg +0 -0
- package/dist/assets/iframe/available.svg +0 -0
- package/dist/assets/iframe/backButton.svg +0 -0
- package/dist/assets/iframe/calendar.svg +0 -0
- package/dist/assets/iframe/clock.svg +0 -0
- package/dist/assets/iframe/close.svg +0 -0
- package/dist/assets/iframe/failedPayment.svg +0 -0
- package/dist/assets/iframe/limited.svg +0 -0
- package/dist/assets/iframe/selectArrow.svg +0 -0
- package/dist/assets/iframe/soldOut.svg +0 -0
- package/dist/assets/iframe/success.svg +0 -0
- package/dist/assets/iframe/thumbUp.svg +0 -0
- package/dist/assets/iframe/ticket.svg +0 -0
- package/dist/assets/logo/favicon.svg +0 -0
- package/dist/assets/static/default.image.svg +0 -0
- package/dist/assets/widgets/copy.svg +0 -0
- package/dist/assets/widgets/monthCalendar.svg +0 -0
- package/dist/assets/widgets/weekCalendar.svg +0 -0
- package/dist/auth/Layout/AuthNavComponent.d.ts.map +1 -1
- package/dist/auth/Layout/UserNavDropDownToggle.js +0 -3
- package/dist/auth/Login/LoginComponent.d.ts.map +1 -1
- package/dist/auth/Login/LoginComponent.js +2 -1
- package/dist/auth/Login/LoginFormComponent.d.ts.map +1 -1
- package/dist/auth/Register/RegisterComponent.d.ts.map +1 -1
- package/dist/auth/Register/RegisterFormComponent.d.ts.map +1 -1
- package/dist/auth/ResetPassword/ResetPasswordFormComponent.d.ts.map +1 -1
- package/dist/events/edit-event-modal/IntervalInput.d.ts.map +1 -1
- package/dist/events/edit-event-modal/IntervalInput.js +5 -1
- package/dist/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.js +2 -1
- package/dist/events/edit-event-modal/utils/getDefaultProductSet.d.ts.map +1 -1
- package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +0 -1
- package/dist/events/edit-recurrent-event-modal/EditRecurrentEventModal.d.ts.map +1 -1
- package/dist/events/event-statistic-modal/EventStatisticModal.d.ts +2 -1
- package/dist/events/event-statistic-modal/EventStatisticModal.d.ts.map +1 -1
- package/dist/events/event-statistic-modal/EventStatisticModal.js +2 -2
- package/dist/events/event-statistic-modal/hooks/useTableData.d.ts +1 -1
- package/dist/events/event-statistic-modal/hooks/useTableData.d.ts.map +1 -1
- package/dist/events/event-statistic-modal/hooks/useTableData.js +2 -1
- package/dist/events/event-statistic-modal/utils/index.js +3 -3
- package/dist/events/event-venue-map/EventVenueMap.d.ts.map +1 -1
- package/dist/events/event-venue-map/EventVenueMap.js +1 -0
- package/dist/events/event-venue-map/hooks/useCanvasSize.d.ts.map +1 -1
- package/dist/events/event-venue-map/hooks/useCanvasSize.js +11 -4
- package/dist/help/popover/HelpPopover.d.ts +1 -1
- package/dist/help/popover/HelpPopover.d.ts.map +1 -1
- package/dist/iframe/ProductWithModifierModal/ModifierSetModal/controll/ModifierSetControll.d.ts.map +1 -1
- package/dist/iframe/ProductWithModifierModal/ModifierSetModal/controll/ModifierSetControll.js +4 -11
- package/dist/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.d.ts.map +1 -1
- package/dist/iframe/order-process/components/BookingSummary/utils/index.js +1 -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 +13 -0
- package/dist/iframe/order-process/components/ErrorModal/ErrorModal.d.ts.map +1 -1
- package/dist/iframe/order-process/components/ErrorModal/ErrorModal.js +0 -3
- package/dist/iframe/payment/order-items-table/hooks/useTableData.d.ts.map +1 -1
- package/dist/iframe/payment/order-items-table/hooks/useTableData.js +80 -81
- package/dist/iframe/payment/payment-page/PaymentPage.js +4 -4
- package/dist/iframe/payment/status-body/StatusBody.js +0 -1
- package/dist/iframe/ryft/RyftPaymentForm.d.ts.map +1 -1
- package/dist/iframe/ryft/RyftPaymentForm.js +15 -38
- package/dist/iframe/ryft/utils/ryft-form.d.ts.map +1 -1
- package/dist/iframe/ryft/utils/ryft-form.js +4 -5
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/modals/confirmation/ConfirmModal.d.ts.map +1 -1
- package/dist/modals/confirmation/ConfirmModal.js +0 -3
- package/dist/modals/dialog/Dialog.d.ts.map +1 -1
- package/dist/modals/dialog/Dialog.js +41 -39
- package/dist/modals/fullscreen/FullscreenModal.d.ts.map +1 -1
- package/dist/modals/fullscreen/FullscreenModal.js +0 -3
- package/dist/notification/email-template/card/EmailTemplateCard.d.ts.map +1 -1
- package/dist/notification/email-template/control/EmailTemplateControl.d.ts +0 -1
- package/dist/notification/email-template/control/EmailTemplateControl.d.ts.map +1 -1
- package/dist/notification/email-template/control/EmailTemplateControl.js +11 -7
- package/dist/notification/email-template/form/EmailTemplateForm.d.ts +1 -2
- package/dist/notification/email-template/form/EmailTemplateForm.d.ts.map +1 -1
- package/dist/notification/email-template/form/EmailTemplateForm.js +1 -2
- package/dist/notification/sms-template/card/SmsTemplateCard.d.ts.map +1 -1
- package/dist/notification/sms-template/control/SmsTemplateControl.d.ts.map +1 -1
- package/dist/notification/sms-template/control/SmsTemplateControl.js +1 -0
- package/dist/product-set/form/ProductSetForm.d.ts +4 -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.js +1 -0
- package/dist/product-set/form/SelectCategoryModal.d.ts.map +1 -1
- package/dist/product-set/form/SelectCategoryModal.js +0 -3
- package/dist/product-set/product/advanced-options/AdvancedOptions.js +1 -1
- package/dist/product-set/product/booking-management/ProductBookingManagementControl.d.ts.map +1 -1
- package/dist/product-set/product/booking-management/ProductBookingManagementControl.js +6 -0
- package/dist/product-set/product/deposit/ProductDepositControl.d.ts.map +1 -1
- package/dist/product-set/product/deposit/ProductDepositControl.js +3 -0
- package/dist/product-set/product/duration/ProductDurationControl.d.ts.map +1 -1
- package/dist/product-set/product/duration/ProductDurationControl.js +6 -0
- package/dist/product-set/product/price/ProductPriceControl.d.ts.map +1 -1
- package/dist/product-set/product/price/ProductPriceControl.js +3 -0
- package/dist/product-set/product/quantity/ProductQuantityConstantControl.d.ts.map +1 -1
- package/dist/product-set/product/quantity/ProductQuantityConstantControl.js +6 -0
- package/dist/product-set/product/quantity/ProductQuantityControl.d.ts.map +1 -1
- package/dist/product-set/product/quantity/ProductQuantityControl.js +6 -0
- package/dist/product-set/product/quantity/ProductQuantityRechargingControl.d.ts.map +1 -1
- package/dist/product-set/product/quantity/ProductQuantityRechargingControl.js +4 -1
- package/dist/product-set/product-category/ProductCategoryControl.d.ts.map +1 -1
- package/dist/product-set/product-category/ProductCategoryControl.js +12 -0
- package/dist/product-set/tabs/ProductSetTab.d.ts +0 -1
- package/dist/product-set/tabs/ProductSetTab.d.ts.map +1 -1
- package/dist/product-set/utils/index.d.ts +1 -1
- package/dist/recurrence-input/RecurrenceEndInput.d.ts.map +1 -1
- package/dist/recurrence-input/RecurrenceEndInput.js +3 -0
- package/dist/recurring-date-picker-input/RecurrenceEndInput.d.ts.map +1 -1
- package/dist/report/ReportTypeSelect/ReportTypeSelect.js +1 -1
- package/dist/report/form/ReportForm.js +2 -2
- package/dist/resource/form/components/CapacityControl.d.ts.map +1 -1
- package/dist/resource/form/components/CapacityControl.js +3 -0
- package/dist/resource/form/components/SortControl.d.ts.map +1 -1
- package/dist/resource/form/components/SortControl.js +3 -0
- package/dist/resource/form/components/ZoneControl.d.ts.map +1 -1
- package/dist/resource/form/components/ZoneControl.js +1 -0
- package/dist/root.css +0 -0
- package/dist/sales/coupon/control/CouponFormControl.d.ts.map +1 -1
- package/dist/sales/coupon/control/CouponFormControl.js +21 -0
- package/dist/sales/guest-profile/profile/Profile.d.ts.map +1 -1
- package/dist/sales/guest-profile/profile/Profile.js +1 -2
- package/dist/sales/modals/payment-modal/PaymentModal.d.ts.map +1 -1
- package/dist/sales/modals/payment-modal/PaymentModal.js +0 -3
- package/dist/sales/modals/refund-modal/RefundModal.d.ts.map +1 -1
- package/dist/sales/modals/refund-modal/RefundModal.js +0 -3
- package/dist/setting/dashboard/DashboardSettingForm.d.ts.map +1 -1
- package/dist/setting/dashboard/DashboardSettingForm.js +4 -1
- package/dist/setting/dashboard/payments/payments-modal/PaymentsModal.d.ts.map +1 -1
- package/dist/setting/dashboard/snippet-templates/card/SnippetTemplateCard.d.ts.map +1 -1
- package/dist/snippet/snippet-template/context/snippetTemplate.d.ts.map +1 -1
- package/dist/snippet/snippet-template/context/snippetTemplate.js +0 -1
- package/dist/snippet/snippet-template/context/snippetTemplateView.d.ts.map +1 -1
- package/dist/snippet/snippet-template/context/snippetTemplateView.js +0 -1
- package/dist/snippet/snippet-template/form/SnippetTemplateForm.d.ts.map +1 -1
- package/dist/snippet/snippet-template/form/SnippetTemplateForm.js +1 -0
- package/dist/snippet/snippet-template/preview/Preview.d.ts.map +1 -1
- package/dist/snippet/snippet-template/preview/Preview.js +21 -14
- package/dist/snippet/snippet-template/utils/index.d.ts.map +1 -1
- package/dist/snippet/snippet-template/utils/index.js +0 -4
- package/dist/static/CountryCodeSelect.js +1 -1
- package/dist/static/CurrencyNumberInput.d.ts.map +1 -1
- package/dist/static/CurrencyNumberInput.js +3 -0
- package/dist/static/form-number-input/FormNumberInput.d.ts.map +1 -1
- package/dist/static/form-number-input/FormNumberInput.js +3 -0
- package/dist/static/number-input/NumberInput.d.ts.map +1 -1
- package/dist/static/number-input/NumberInput.js +3 -0
- package/dist/static/tabs/Tab.d.ts +0 -1
- package/dist/static/tabs/Tab.d.ts.map +1 -1
- package/dist/styles/activity-card/ActivitiesCard.scss +0 -0
- package/dist/styles/activity-card/ListActivitiesCard.scss +0 -0
- package/dist/styles/activity-card/_index.scss +0 -0
- package/dist/styles/affiliate/AffiliateCard.scss +0 -0
- package/dist/styles/affiliate/AffiliateForm.scss +0 -0
- package/dist/styles/affiliate/_index.scss +0 -0
- package/dist/styles/auth/AccessDenied.scss +0 -0
- package/dist/styles/auth/_index.scss +0 -0
- package/dist/styles/availability-indicator/AvailabilityIndicator.scss +0 -0
- package/dist/styles/availability-indicator/_index.scss +0 -0
- package/dist/styles/back-button/BackButton.scss +0 -0
- package/dist/styles/back-button/_index.scss +0 -0
- package/dist/styles/company-user-form/UserForm.scss +0 -0
- package/dist/styles/company-user-form/_index.scss +0 -0
- package/dist/styles/custom-fields/CreateSortableListItem.scss +0 -0
- package/dist/styles/custom-fields/FieldItem.scss +0 -0
- package/dist/styles/custom-fields/SelectFieldModal.scss +0 -0
- package/dist/styles/custom-fields/_index.scss +0 -0
- package/dist/styles/customers/Filter.scss +0 -0
- package/dist/styles/customers/_index.scss +0 -0
- package/dist/styles/date-time-button/DateTimeButton.scss +0 -0
- package/dist/styles/date-time-button/_index.scss +0 -0
- package/dist/styles/error/ErrorFallback.scss +0 -0
- package/dist/styles/error/_index.scss +0 -0
- package/dist/styles/events/EditEventModal.scss +0 -0
- package/dist/styles/events/EventCard.scss +0 -0
- package/dist/styles/events/EventStatisticModal.scss +0 -0
- package/dist/styles/events/EventVenueMap.scss +0 -0
- package/dist/styles/events/_index.scss +0 -0
- package/dist/styles/file-upload/FileUpload.scss +0 -0
- package/dist/styles/file-upload/ImagePreview.scss +0 -0
- package/dist/styles/file-upload/_index.scss +0 -0
- package/dist/styles/form/CustomCheckbox.scss +0 -0
- package/dist/styles/form/CustomRadio.scss +0 -0
- package/dist/styles/form/Input.scss +0 -0
- package/dist/styles/form/InputGroup.scss +0 -0
- package/dist/styles/form/_index.scss +0 -0
- package/dist/styles/header/Header.scss +0 -0
- package/dist/styles/header/_index.scss +0 -0
- package/dist/styles/header/elements/CompanySelector.scss +0 -0
- package/dist/styles/header/elements/_index.scss +0 -0
- package/dist/styles/help/Example.scss +0 -0
- package/dist/styles/help/_index.scss +0 -0
- package/dist/styles/iframe-events/Calendar.scss +1 -1
- package/dist/styles/iframe-events/CalendarSelect.scss +0 -0
- package/dist/styles/iframe-events/Card.scss +0 -0
- package/dist/styles/iframe-events/CategoryStepsForm.scss +0 -0
- package/dist/styles/iframe-events/Event.scss +0 -0
- package/dist/styles/iframe-events/EventBookingForm.scss +0 -0
- package/dist/styles/iframe-events/EventBookingProducts.scss +0 -0
- package/dist/styles/iframe-events/EventBookingView.scss +0 -0
- package/dist/styles/iframe-events/EventForm.scss +0 -0
- package/dist/styles/iframe-events/EventNavigationFooter.scss +0 -0
- package/dist/styles/iframe-events/EventOrderShortSummary.scss +0 -0
- package/dist/styles/iframe-events/EventOrderSummary.scss +0 -0
- package/dist/styles/iframe-events/EventProductSets.scss +0 -0
- package/dist/styles/iframe-events/EventStepVenueMapZones.scss +0 -0
- package/dist/styles/iframe-events/EventTables.scss +0 -0
- package/dist/styles/iframe-events/PoweredBy.scss +0 -0
- package/dist/styles/iframe-events/TicketDescription.scss +0 -0
- package/dist/styles/iframe-events/_index.scss +0 -0
- package/dist/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
- package/dist/styles/iframe-external-modal/_index.scss +0 -0
- package/dist/styles/iframe-order-process/IframeOrderProcess.scss +0 -0
- package/dist/styles/iframe-order-process/_index.scss +0 -0
- package/dist/styles/iframe-page/Page.scss +0 -0
- package/dist/styles/iframe-page/PageBody.scss +0 -0
- package/dist/styles/iframe-page/PageHeader.scss +0 -0
- package/dist/styles/iframe-page/_index.scss +0 -0
- package/dist/styles/iframe-payments/PaymentForm.scss +0 -0
- package/dist/styles/iframe-payments/_index.scss +0 -0
- package/dist/styles/image-radio-input/_index.scss +0 -0
- package/dist/styles/layout/BackgroundVideoContainer.scss +0 -0
- package/dist/styles/layout/_index.scss +0 -0
- package/dist/styles/logo/Logo.scss +0 -0
- package/dist/styles/logo/_index.scss +0 -0
- package/dist/styles/modals/Modals.scss +0 -0
- package/dist/styles/modals/_index.scss +0 -0
- package/dist/styles/notification/Notification.scss +0 -0
- package/dist/styles/notification/_index.scss +0 -0
- package/dist/styles/order-items-table/OrderItemsTable.scss +0 -0
- package/dist/styles/order-items-table/_index.scss +0 -0
- package/dist/styles/overrides/_functions.scss +0 -0
- package/dist/styles/packages.scss +0 -0
- package/dist/styles/product-set/CreateProductSetItem.scss +0 -0
- package/dist/styles/product-set/DateAndRecurrenceInput.scss +0 -0
- package/dist/styles/product-set/EditCategoryModal.scss +0 -0
- package/dist/styles/product-set/EditProductModal.scss +0 -0
- package/dist/styles/product-set/EditProductSetElement.scss +0 -0
- package/dist/styles/product-set/EditStepModal.scss +0 -0
- package/dist/styles/product-set/EditVenueMapSetModal.scss +0 -0
- package/dist/styles/product-set/EditZoneSettingModal.scss +0 -0
- package/dist/styles/product-set/ProductSetCard.scss +0 -0
- package/dist/styles/product-set/ProductSetForm.scss +0 -0
- package/dist/styles/product-set/ProductSetPopover.scss +0 -0
- package/dist/styles/product-set/ProductSetTabs.scss +0 -0
- package/dist/styles/product-set/SelectCategoryModal.scss +0 -0
- package/dist/styles/product-set/TutorialGifCard.scss +0 -0
- package/dist/styles/product-set/_index.scss +0 -0
- package/dist/styles/providers/Providers.scss +0 -0
- package/dist/styles/providers/_index.scss +0 -0
- package/dist/styles/radio-card/_index.scss +0 -0
- package/dist/styles/report/ReportCard.scss +0 -0
- package/dist/styles/report/ReportEditorModal.scss +0 -0
- package/dist/styles/report/ReportRunnerModal.scss +0 -0
- package/dist/styles/report/_index.scss +0 -0
- package/dist/styles/resources-blocking/_index.scss +0 -0
- package/dist/styles/ryft-payment-form/RyftPaymentForm.scss +1 -3
- package/dist/styles/ryft-payment-form/_index.scss +0 -0
- package/dist/styles/sales/BookingFilter.scss +0 -0
- package/dist/styles/sales/BookingResults.scss +1 -1
- package/dist/styles/sales/BookingTabs.scss +0 -0
- package/dist/styles/sales/Charts.scss +0 -0
- package/dist/styles/sales/Filters.scss +0 -0
- package/dist/styles/sales/GuestProfile.scss +0 -0
- package/dist/styles/sales/LifeTimeSales.scss +0 -0
- package/dist/styles/sales/ManualBooking.scss +0 -0
- package/dist/styles/sales/Notes.scss +0 -0
- package/dist/styles/sales/RandomColors.scss +0 -0
- package/dist/styles/sales/SalePaymentForm.scss +0 -0
- package/dist/styles/sales/SalesAndViews.scss +0 -0
- package/dist/styles/sales/SourceOfSales.scss +0 -0
- package/dist/styles/sales/Statistics.scss +0 -0
- package/dist/styles/sales/_index.scss +0 -0
- package/dist/styles/sales/_mixins.scss +0 -0
- package/dist/styles/setting/_index.scss +0 -0
- package/dist/styles/setting/dashboard/IpInput.scss +0 -0
- package/dist/styles/setting/dashboard/_index.scss +0 -0
- package/dist/styles/sidebar/_index.scss +0 -0
- package/dist/styles/sidebar/elements/ReturnBack.scss +0 -0
- package/dist/styles/sidebar/elements/_index.scss +0 -0
- package/dist/styles/skeleton/_index.scss +0 -0
- package/dist/styles/snippet-templates/SnippetTemplate.scss +0 -6
- package/dist/styles/snippet-templates/SnippetTemplateCard.scss +0 -0
- package/dist/styles/snippet-templates/_index.scss +0 -0
- package/dist/styles/snippet-templates/_snippetVariables.scss +0 -6
- package/dist/styles/sortable-field/SortableField.scss +0 -0
- package/dist/styles/sortable-field/_index.scss +0 -0
- package/dist/styles/sortable-tree/Item.scss +0 -0
- package/dist/styles/sortable-tree/_index.scss +0 -0
- package/dist/styles/static/CountrySelect.scss +0 -0
- package/dist/styles/static/CurrencyNumberInput.scss +0 -0
- package/dist/styles/static/DateRangeInput.scss +0 -0
- package/dist/styles/static/FormCard.scss +0 -0
- package/dist/styles/static/Loader.scss +0 -0
- package/dist/styles/static/NumberInput.scss +0 -0
- package/dist/styles/static/SlideCurtain.scss +0 -0
- package/dist/styles/static/SocialButton.scss +0 -0
- package/dist/styles/static/Switch.scss +0 -0
- package/dist/styles/static/Tabs.scss +0 -0
- package/dist/styles/static/TextExpand.scss +0 -0
- package/dist/styles/static/UserBadge.scss +0 -0
- package/dist/styles/static/_index.scss +0 -0
- package/dist/styles/striped-static-table/_index.scss +0 -0
- package/dist/styles/table/Table.scss +0 -0
- package/dist/styles/table/_index.scss +0 -0
- package/dist/styles/themes/bookedit/_fonts.scss +0 -0
- package/dist/styles/themes/bookedit/_variables.scss +0 -0
- package/dist/styles/themes/bookedit/index.scss +0 -0
- package/dist/styles/themes/licklist/_fonts.scss +0 -0
- package/dist/styles/themes/licklist/_variables.scss +0 -0
- package/dist/styles/themes/licklist/index.scss +0 -0
- package/dist/styles/tiptap-editor/TiptapEditor.scss +0 -0
- package/dist/styles/tiptap-editor/_index.scss +0 -0
- package/dist/styles/venue-map-sets/VenueMapSetCard.scss +0 -0
- package/dist/styles/venue-map-sets/VenueMapSetForm.scss +0 -0
- package/dist/styles/venue-map-sets/_index.scss +0 -0
- package/dist/styles/virtualized/_index.scss +0 -0
- package/dist/styles/zones/ZoneCard.scss +0 -0
- package/dist/styles/zones/ZoneForm.scss +0 -0
- package/dist/styles/zones/ZoneRecurrencesControl.scss +0 -0
- package/dist/styles/zones/_index.scss +0 -0
- package/dist/zone/form/components/GameDurationControl.d.ts.map +1 -1
- package/dist/zone/form/components/GameDurationControl.js +3 -0
- package/dist/zone/form/components/SortControl.d.ts.map +1 -1
- package/dist/zone/form/components/SortControl.js +3 -0
- package/dist/zone/form/components/ZoneTypeControl.d.ts.map +1 -1
- package/dist/zone/form/components/ZoneTypeControl.js +1 -0
- package/package.json +21 -21
- package/src/affiliate/card/AffiliateCard.stories.tsx +0 -0
- package/src/affiliate/card/AffiliateCard.tsx +0 -0
- package/src/affiliate/card/index.ts +0 -0
- package/src/affiliate/form/AffiliateControl.tsx +0 -0
- package/src/affiliate/form/AffiliateForm.stories.tsx +0 -0
- package/src/affiliate/form/AffiliateForm.tsx +0 -0
- package/src/affiliate/form/index.ts +0 -0
- package/src/affiliate/index.ts +0 -0
- package/src/affiliate/types/index.ts +0 -0
- package/src/assets/dashboard/addImage.svg +0 -0
- package/src/assets/dashboard/chartBar.svg +0 -0
- package/src/assets/dashboard/genderFemale.svg +0 -0
- package/src/assets/dashboard/genderMale.svg +0 -0
- package/src/assets/dashboard/increment.svg +0 -0
- package/src/assets/dashboard/info.svg +0 -0
- package/src/assets/dashboard/managerRole.svg +0 -0
- package/src/assets/dashboard/subManagerRole.svg +0 -0
- package/src/assets/dashboard/viewerRole.svg +0 -0
- package/src/assets/dashboard/visitedProviderLink.svg +0 -0
- package/src/assets/dashboard/warning.svg +0 -0
- package/src/assets/editor/bold.svg +0 -0
- package/src/assets/editor/double-quotes-l.svg +0 -0
- package/src/assets/editor/format-clear.svg +0 -0
- package/src/assets/editor/h1.svg +0 -0
- package/src/assets/editor/h2.svg +0 -0
- package/src/assets/editor/italic.svg +0 -0
- package/src/assets/editor/paragraph.svg +0 -0
- package/src/assets/editor/separator.svg +0 -0
- package/src/assets/editor/strikethrough.svg +0 -0
- package/src/assets/editor/text-wrap.svg +0 -0
- package/src/assets/iframe/available.svg +0 -0
- package/src/assets/iframe/backButton.svg +0 -0
- package/src/assets/iframe/calendar.svg +0 -0
- package/src/assets/iframe/clock.svg +0 -0
- package/src/assets/iframe/close.svg +0 -0
- package/src/assets/iframe/failedPayment.svg +0 -0
- package/src/assets/iframe/limited.svg +0 -0
- package/src/assets/iframe/selectArrow.svg +0 -0
- package/src/assets/iframe/soldOut.svg +0 -0
- package/src/assets/iframe/success.svg +0 -0
- package/src/assets/iframe/thumbUp.svg +0 -0
- package/src/assets/iframe/ticket.svg +0 -0
- package/src/assets/logo/favicon.svg +0 -0
- package/src/assets/static/default.image.svg +0 -0
- package/src/assets/widgets/copy.svg +0 -0
- package/src/assets/widgets/monthCalendar.svg +0 -0
- package/src/assets/widgets/weekCalendar.svg +0 -0
- package/src/auth/AccessDenied/AccessDenied.stories.tsx +0 -0
- package/src/auth/AccessDenied/AccessDenied.tsx +0 -0
- package/src/auth/AccessDenied/index.ts +0 -0
- package/src/auth/Auth.stories.tsx +0 -0
- package/src/auth/Authorizer.tsx +0 -0
- package/src/auth/ChangePassword/ChangePassword.stories.tsx +0 -0
- package/src/auth/ChangePassword/ChangePasswordComponent.tsx +0 -0
- package/src/auth/ChangePassword/ChangePasswordFormComponent.tsx +0 -0
- package/src/auth/ChangePassword/index.ts +0 -0
- package/src/auth/Layout/AuthNavComponent.tsx +4 -0
- package/src/auth/Layout/Layout.stories.tsx +0 -0
- package/src/auth/Layout/UserNavComponent.tsx +0 -0
- package/src/auth/Layout/UserNavDropDown.tsx +0 -0
- package/src/auth/Layout/UserNavDropDownToggle.tsx +1 -1
- package/src/auth/Layout/index.ts +0 -0
- package/src/auth/Login/Login.stories.tsx +18 -22
- package/src/auth/Login/LoginComponent.tsx +3 -1
- package/src/auth/Login/LoginFormComponent.tsx +2 -0
- package/src/auth/Login/index.ts +0 -0
- package/src/auth/Logout/Logout.stories.tsx +0 -0
- package/src/auth/Logout/Logout.tsx +0 -0
- package/src/auth/Logout/index.ts +0 -0
- package/src/auth/Register/BirthDateFormComponent.tsx +0 -0
- package/src/auth/Register/Register.stories.tsx +1 -1
- package/src/auth/Register/RegisterComponent.tsx +2 -0
- package/src/auth/Register/RegisterFormComponent.tsx +4 -0
- package/src/auth/Register/index.ts +0 -0
- package/src/auth/ResetPassword/ResetPassword.stories.tsx +0 -0
- package/src/auth/ResetPassword/ResetPasswordComponent.tsx +0 -0
- package/src/auth/ResetPassword/ResetPasswordFormComponent.tsx +4 -0
- package/src/auth/ResetPassword/index.ts +0 -0
- package/src/auth/Router.tsx +0 -0
- package/src/auth/Social/Social.stories.tsx +0 -0
- package/src/auth/Social/SocialCallbackComponent.tsx +0 -0
- package/src/auth/Social/SocialFormComponent.tsx +0 -0
- package/src/auth/Social/index.ts +0 -0
- package/src/auth/index.ts +0 -0
- package/src/availability-indicator/AvailabilityIndicator.tsx +0 -0
- package/src/availability-indicator/index.ts +0 -0
- package/src/calendar/Calendar.stories.tsx +0 -0
- package/src/calendar/Calendar.tsx +0 -0
- package/src/calendar/components/CalendarButtons/CalendarButtons.tsx +0 -0
- package/src/calendar/components/CalendarButtons/index.ts +0 -0
- package/src/calendar/components/CalendarDates/CalendarDates.tsx +0 -0
- package/src/calendar/components/CalendarDates/index.ts +0 -0
- package/src/calendar/components/CalendarSelect/CalendarSelect.tsx +0 -0
- package/src/calendar/components/CalendarSelect/index.ts +0 -0
- package/src/calendar/components/CalendarWeekdays/CalendarWeekdays.tsx +0 -0
- package/src/calendar/components/CalendarWeekdays/index.ts +0 -0
- package/src/calendar/index.ts +0 -0
- package/src/calendar/utils/index.ts +0 -0
- package/src/collapsible-input-group/CollapsibleInputGroup.stories.tsx +0 -0
- package/src/collapsible-input-group/CollapsibleInputGroup.tsx +0 -0
- package/src/collapsible-input-group/index.ts +0 -0
- package/src/custom-fields/CustomFields.stories.tsx +0 -0
- package/src/custom-fields/constants.tsx +0 -0
- package/src/custom-fields/field/FieldItem.tsx +0 -0
- package/src/custom-fields/field/SelectFieldModal.tsx +0 -0
- package/src/custom-fields/field-set/CustomFieldSets.tsx +0 -0
- package/src/custom-fields/field-set/components/CustomFieldSet/CustomFieldSet.tsx +0 -0
- package/src/custom-fields/field-set/components/CustomFieldSet/index.ts +0 -0
- package/src/custom-fields/field-set/components/index.ts +0 -0
- package/src/custom-fields/field-set/contexts/index.ts +0 -0
- package/src/custom-fields/field-set/contexts/useCustomFieldSets.ts +0 -0
- package/src/custom-fields/field-set/providers/CustomFieldSetsProvider.tsx +0 -0
- package/src/custom-fields/field-set/providers/index.ts +0 -0
- package/src/custom-fields/forms/DropdownForm.tsx +0 -0
- package/src/custom-fields/forms/TextInputForm.tsx +0 -0
- package/src/custom-fields/index.ts +0 -0
- package/src/customers/components/filter/CustomerFilter.stories.tsx +0 -0
- package/src/customers/components/filter/CustomerFilter.tsx +0 -0
- package/src/customers/components/filter/index.ts +0 -0
- package/src/customers/components/index.ts +0 -0
- package/src/customers/index.ts +0 -0
- package/src/date-time-button/DateContent.tsx +0 -0
- package/src/date-time-button/DateTimeButton.stories.tsx +0 -0
- package/src/date-time-button/DateTimeButton.tsx +0 -0
- package/src/date-time-button/index.ts +0 -0
- package/src/error/Error.stories.tsx +0 -0
- package/src/error/ErrorFallback.tsx +0 -0
- package/src/error/index.ts +0 -0
- package/src/events/edit-event-modal/IntervalInput.tsx +4 -0
- package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.stories.tsx +1 -1
- package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx +0 -0
- package/src/events/edit-event-modal/component/EditEventForm/index.ts +0 -0
- package/src/events/edit-event-modal/component/ProductSetShortForm/ProductSetShortForm.tsx +0 -0
- package/src/events/edit-event-modal/component/ProductSetShortForm/index.ts +0 -0
- package/src/events/edit-event-modal/component/SaleDeadline/SaleDeadline.tsx +0 -0
- package/src/events/edit-event-modal/component/SaleDeadline/index.ts +0 -0
- package/src/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.tsx +0 -0
- package/src/events/edit-event-modal/component/SelectEventProductSet/component/EditEventProductSet.tsx +0 -0
- package/src/events/edit-event-modal/component/SelectEventProductSet/component/index.ts +0 -0
- package/src/events/edit-event-modal/component/SelectEventProductSet/index.ts +0 -0
- package/src/events/edit-event-modal/hooks/index.ts +0 -0
- package/src/events/edit-event-modal/hooks/useFormattedDuration.tsx +0 -0
- package/src/events/edit-event-modal/hooks/useValidationOptions.tsx +0 -0
- package/src/events/edit-event-modal/index.ts +0 -0
- package/src/events/edit-event-modal/utils/checkIfEventBooked.ts +0 -0
- package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +0 -1
- package/src/events/edit-event-modal/utils/isUrlValid.ts +0 -0
- package/src/events/edit-event-modal/utils/removeRruleCount.ts +0 -0
- package/src/events/edit-recurrent-event-modal/EditRecurrentEventModal.stories.tsx +1 -1
- package/src/events/edit-recurrent-event-modal/EditRecurrentEventModal.tsx +0 -1
- package/src/events/edit-recurrent-event-modal/index.ts +0 -0
- package/src/events/event-card/EventCard.stories.tsx +1 -1
- package/src/events/event-card/EventCard.tsx +0 -0
- package/src/events/event-card/EventCardSkeleton.tsx +0 -0
- package/src/events/event-card/index.ts +0 -0
- package/src/events/event-card/utils.ts +0 -0
- package/src/events/event-statistic-modal/EventStatisticModal.stories.tsx +1 -1
- package/src/events/event-statistic-modal/EventStatisticModal.tsx +3 -2
- package/src/events/event-statistic-modal/hooks/useTableData.tsx +2 -1
- package/src/events/event-statistic-modal/index.ts +0 -0
- package/src/events/event-statistic-modal/utils/index.ts +4 -4
- package/src/events/event-venue-map/EventVenueMap.stories.tsx +1 -1
- package/src/events/event-venue-map/EventVenueMap.tsx +1 -0
- package/src/events/event-venue-map/components/Dropdown/Dropdown.tsx +0 -0
- package/src/events/event-venue-map/components/Dropdown/components/DropdownWrapper/DropdownWrapper.tsx +0 -0
- package/src/events/event-venue-map/components/Dropdown/components/DropdownWrapper/index.ts +0 -0
- package/src/events/event-venue-map/components/Dropdown/components/ProductsControl/ProductsControl.tsx +0 -0
- package/src/events/event-venue-map/components/Dropdown/components/ProductsControl/index.ts +0 -0
- package/src/events/event-venue-map/components/Dropdown/components/SelectControl/SelectControl.tsx +0 -0
- package/src/events/event-venue-map/components/Dropdown/components/SelectControl/index.ts +0 -0
- package/src/events/event-venue-map/components/Dropdown/index.ts +0 -0
- package/src/events/event-venue-map/components/MapPoint/MapPoint.tsx +0 -0
- package/src/events/event-venue-map/components/MapPoint/components/DeleteIcon/DeleteIcon.tsx +0 -0
- package/src/events/event-venue-map/components/MapPoint/components/DeleteIcon/index.ts +0 -0
- package/src/events/event-venue-map/components/MapPoint/components/EditIcon/EditIcon.tsx +0 -0
- package/src/events/event-venue-map/components/MapPoint/components/EditIcon/index.ts +0 -0
- package/src/events/event-venue-map/components/MapPoint/components/PointIcon/PointIcon.tsx +0 -0
- package/src/events/event-venue-map/components/MapPoint/components/PointIcon/index.ts +0 -0
- package/src/events/event-venue-map/components/MapPoint/components/ProductIcon/ProductIcon.tsx +0 -0
- package/src/events/event-venue-map/components/MapPoint/components/ProductIcon/index.ts +0 -0
- package/src/events/event-venue-map/components/MapPoint/components/ProductTooltip/ProductTooltip.tsx +0 -0
- package/src/events/event-venue-map/components/MapPoint/components/ProductTooltip/index.ts +0 -0
- package/src/events/event-venue-map/components/MapPoint/index.ts +0 -0
- package/src/events/event-venue-map/components/Scrollbars/Scrollbars.tsx +0 -0
- package/src/events/event-venue-map/components/Scrollbars/index.ts +0 -0
- package/src/events/event-venue-map/components/VenueMap/VenueMap.tsx +0 -0
- package/src/events/event-venue-map/components/VenueMap/index.ts +0 -0
- package/src/events/event-venue-map/components/ZoomButtons/ZoomButtons.tsx +0 -0
- package/src/events/event-venue-map/components/ZoomButtons/index.ts +0 -0
- package/src/events/event-venue-map/hooks/useCanvasSize.ts +5 -1
- package/src/events/event-venue-map/hooks/useDrag.ts +0 -0
- package/src/events/event-venue-map/hooks/useImage.tsx +0 -0
- package/src/events/event-venue-map/hooks/useStageActions.ts +0 -0
- package/src/events/event-venue-map/hooks/useZoom.ts +0 -0
- package/src/events/event-venue-map/index.ts +0 -0
- package/src/events/event-venue-map/types/index.ts +0 -0
- package/src/events/event-venue-map/utils/index.ts +0 -0
- package/src/events/index.ts +0 -0
- package/src/file-upload/FilePreview.tsx +0 -0
- package/src/file-upload/FileUpload.stories.tsx +0 -0
- package/src/file-upload/FileUpload.tsx +0 -0
- package/src/file-upload/index.ts +0 -0
- package/src/fullscreen-loader/FullscreenLoader.tsx +0 -0
- package/src/fullscreen-loader/context.ts +0 -0
- package/src/fullscreen-loader/index.ts +0 -0
- package/src/fullscreen-loader/useFullscreenLoader.ts +0 -0
- package/src/help/example/Example.stories.tsx +0 -0
- package/src/help/example/Example.tsx +0 -0
- package/src/help/example/index.ts +0 -0
- package/src/help/index.ts +0 -0
- package/src/help/popover/HelpPopover.tsx +1 -1
- package/src/help/popover/Popover.stories.tsx +0 -0
- package/src/help/popover/index.ts +0 -0
- package/src/iframe/ProductWithModifierModal/ModifierSetModal/ProductWithModifierSetForm.tsx +0 -0
- package/src/iframe/ProductWithModifierModal/ModifierSetModal/ProductWithModifierSetModal.tsx +0 -0
- package/src/iframe/ProductWithModifierModal/ModifierSetModal/controll/ModifierSetControll.tsx +2 -6
- package/src/iframe/ProductWithModifierModal/ModifierSetModal/controll/ProductControll.tsx +0 -0
- package/src/iframe/ProductWithModifierModal/ModifierSetModal/index.ts +0 -0
- package/src/iframe/ProductWithModifierModal/index.ts +0 -0
- package/src/iframe/ProductWithModifierModal/utils.ts +0 -0
- package/src/iframe/activity-card/ActivityCard.stories.tsx +0 -0
- package/src/iframe/activity-card/ActivityCard.tsx +0 -0
- package/src/iframe/activity-card/index.ts +0 -0
- package/src/iframe/back-button/BackButton.stories.tsx +0 -0
- package/src/iframe/back-button/BackButton.tsx +0 -0
- package/src/iframe/back-button/index.ts +0 -0
- package/src/iframe/custom-fields/components/CustomDateField.stories.tsx +1 -1
- package/src/iframe/custom-fields/components/CustomDateField.tsx +0 -0
- package/src/iframe/custom-fields/index.ts +0 -0
- package/src/iframe/event/event-booking-form/EventBookingForm.stories.tsx +0 -0
- package/src/iframe/event/event-booking-form/EventBookingForm.tsx +0 -0
- package/src/iframe/event/event-booking-form/index.ts +0 -0
- package/src/iframe/event/event-booking-products/EventBookingProducts.stories.tsx +0 -0
- package/src/iframe/event/event-booking-products/EventBookingProducts.tsx +0 -0
- package/src/iframe/event/event-booking-products/components/AccordionItem/AccordionItem.tsx +0 -0
- package/src/iframe/event/event-booking-products/components/AccordionItem/index.ts +0 -0
- package/src/iframe/event/event-booking-products/index.ts +0 -0
- package/src/iframe/event/event-booking-view/EventBookingView.stories.tsx +0 -0
- package/src/iframe/event/event-booking-view/EventBookingView.tsx +0 -0
- package/src/iframe/event/event-booking-view/index.ts +0 -0
- package/src/iframe/event/event-card/IframeEventCard.stories.tsx +1 -1
- package/src/iframe/event/event-card/IframeEventCard.tsx +0 -0
- package/src/iframe/event/event-card/IframeEventCardSkeleton.tsx +0 -0
- package/src/iframe/event/event-card/IframeEventCards.stories.tsx +1 -1
- package/src/iframe/event/event-card/index.ts +0 -0
- package/src/iframe/event/event-description/EventDescription.stories.tsx +1 -1
- package/src/iframe/event/event-description/EventDescription.tsx +0 -0
- package/src/iframe/event/event-description/index.ts +0 -0
- package/src/iframe/event/event-navigation-footer/EventNavigationFooter.stories.tsx +0 -0
- package/src/iframe/event/event-navigation-footer/EventNavigationFooter.tsx +0 -0
- package/src/iframe/event/event-navigation-footer/index.ts +0 -0
- package/src/iframe/event/event-order-short-summary/EventOrderShortSummary.stories.tsx +0 -0
- package/src/iframe/event/event-order-short-summary/EventOrderShortSummary.tsx +0 -0
- package/src/iframe/event/event-order-short-summary/components/Summary/Summary.tsx +0 -0
- package/src/iframe/event/event-order-short-summary/components/Summary/index.ts +0 -0
- package/src/iframe/event/event-order-short-summary/index.ts +0 -0
- package/src/iframe/event/event-order-summary/EventOrderSummary.stories.tsx +0 -0
- package/src/iframe/event/event-order-summary/EventOrderSummary.tsx +0 -0
- package/src/iframe/event/event-order-summary/index.ts +0 -0
- package/src/iframe/event/event-product-sets/EventProductSets.stories.tsx +0 -0
- package/src/iframe/event/event-product-sets/EventProductSets.tsx +0 -0
- package/src/iframe/event/event-product-sets/components/EventProductSet.tsx +0 -0
- package/src/iframe/event/event-product-sets/index.ts +0 -0
- package/src/iframe/event/event-step-venue-map-zones/EventStepVenueMapZones.stories.tsx +0 -0
- package/src/iframe/event/event-step-venue-map-zones/EventStepVenueMapZones.tsx +0 -0
- package/src/iframe/event/event-step-venue-map-zones/components/EventStepVenueMapZone.tsx +0 -0
- package/src/iframe/event/event-step-venue-map-zones/index.ts +0 -0
- package/src/iframe/event/event-tables/EventTables.stories.tsx +0 -0
- package/src/iframe/event/event-tables/EventTables.tsx +0 -0
- package/src/iframe/event/event-tables/index.ts +0 -0
- package/src/iframe/event/event-venue-map/IframeEventVenueMap.stories.tsx +1 -1
- package/src/iframe/event/event-venue-map/IframeEventVenueMap.tsx +0 -0
- package/src/iframe/event/event-venue-map/index.ts +0 -0
- package/src/iframe/event/index.ts +0 -0
- package/src/iframe/event/ticket-description/TicketDescription.stories.tsx +0 -0
- package/src/iframe/event/ticket-description/TicketDescription.tsx +1 -1
- package/src/iframe/event/ticket-description/index.ts +0 -0
- package/src/iframe/external-modal/ExternalModal.stories.tsx +0 -0
- package/src/iframe/external-modal/ExternalModal.tsx +0 -0
- package/src/iframe/index.ts +0 -0
- package/src/iframe/order-process/components/BookingSummary/BookingSummary.stories.tsx +0 -0
- package/src/iframe/order-process/components/BookingSummary/BookingSummary.tsx +0 -0
- package/src/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/BookingSummaryAccordion.tsx +0 -0
- package/src/iframe/order-process/components/BookingSummary/components/BookingSummaryAccordion/index.ts +0 -0
- package/src/iframe/order-process/components/BookingSummary/components/ProductSummary/ProductSummary.tsx +1 -0
- package/src/iframe/order-process/components/BookingSummary/components/ProductSummary/index.ts +0 -0
- package/src/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/ProductsByMenuStep.tsx +0 -0
- package/src/iframe/order-process/components/BookingSummary/components/ProductsByMenuStep/index.ts +0 -0
- package/src/iframe/order-process/components/BookingSummary/components/SummaryTotal/SummaryTotal.tsx +0 -0
- package/src/iframe/order-process/components/BookingSummary/components/SummaryTotal/components/SummaryTotalBlock.tsx +0 -0
- package/src/iframe/order-process/components/BookingSummary/components/SummaryTotal/index.ts +0 -0
- package/src/iframe/order-process/components/BookingSummary/components/ToggleHeader/ToggleHeader.tsx +0 -0
- package/src/iframe/order-process/components/BookingSummary/components/ToggleHeader/index.ts +0 -0
- package/src/iframe/order-process/components/BookingSummary/index.ts +0 -0
- package/src/iframe/order-process/components/BookingSummary/types/index.ts +0 -0
- package/src/iframe/order-process/components/BookingSummary/utils/index.ts +1 -1
- package/src/iframe/order-process/components/BookingSummaryFooter/BookingSummaryFooter.tsx +0 -0
- package/src/iframe/order-process/components/BookingSummaryFooter/index.ts +0 -0
- package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.stories.tsx +0 -0
- package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.tsx +0 -0
- package/src/iframe/order-process/components/CalendarStepsForm/components/Category.tsx +0 -0
- package/src/iframe/order-process/components/CalendarStepsForm/components/CategoryProductModal.tsx +0 -0
- package/src/iframe/order-process/components/CalendarStepsForm/index.ts +0 -0
- package/src/iframe/order-process/components/CategoryProduct/CategoryProduct.tsx +0 -0
- package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.stories.tsx +0 -0
- package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/NumberInput.tsx +9 -0
- package/src/iframe/order-process/components/CategoryProduct/components/NumberInput/index.ts +0 -0
- package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +0 -0
- package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/index.ts +0 -0
- package/src/iframe/order-process/components/CategoryProduct/components/ProductWithModifier/ProductWithModifier.tsx +0 -0
- package/src/iframe/order-process/components/CategoryProduct/constants.ts +0 -0
- package/src/iframe/order-process/components/CategoryProduct/index.ts +0 -0
- package/src/iframe/order-process/components/ErrorModal/ErrorModal.tsx +1 -6
- package/src/iframe/order-process/components/ErrorModal/index.ts +0 -0
- package/src/iframe/order-process/components/NavigationFooter/NavigationFooter.tsx +0 -0
- package/src/iframe/order-process/components/NavigationFooter/index.ts +0 -0
- package/src/iframe/order-process/components/NavigationSteps/NavigationSteps.stories.tsx +1 -1
- package/src/iframe/order-process/components/NavigationSteps/NavigationSteps.tsx +0 -0
- package/src/iframe/order-process/components/NavigationSteps/hooks/useContainerElementWidth.ts +0 -0
- package/src/iframe/order-process/components/NavigationSteps/index.ts +0 -0
- package/src/iframe/order-process/components/PaymentCard/PaymentCard.stories.tsx +1 -1
- package/src/iframe/order-process/components/PaymentCard/PaymentCard.tsx +0 -0
- package/src/iframe/order-process/components/PaymentCard/index.ts +0 -0
- package/src/iframe/order-process/components/Timer/Timer.stories.tsx +0 -0
- package/src/iframe/order-process/components/Timer/Timer.tsx +0 -0
- package/src/iframe/order-process/components/Timer/index.ts +0 -0
- package/src/iframe/order-process/components/Timer/utils/index.ts +0 -0
- package/src/iframe/order-process/components/utils/useCategoryVerification.ts +0 -0
- package/src/iframe/order-process/components/utils/useOnWindowUnmount.ts +0 -0
- package/src/iframe/order-process/constants.ts +0 -0
- package/src/iframe/order-process/index.ts +0 -0
- package/src/iframe/page/Page.stories.tsx +1 -1
- package/src/iframe/page/Page.tsx +0 -0
- package/src/iframe/page/components/PageBody/PageBody.tsx +0 -0
- package/src/iframe/page/components/PageBody/components/LeftBlock/LeftBlock.tsx +0 -0
- package/src/iframe/page/components/PageBody/components/LeftBlock/index.tsx +0 -0
- package/src/iframe/page/components/PageBody/components/RightBlock/RightBlock.tsx +0 -0
- package/src/iframe/page/components/PageBody/components/RightBlock/index.ts +0 -0
- package/src/iframe/page/components/PageBody/constants.ts +0 -0
- package/src/iframe/page/components/PageBody/hooks/useResizePageBody.ts +0 -0
- package/src/iframe/page/components/PageBody/index.ts +0 -0
- package/src/iframe/page/components/PageBody/types.ts +0 -0
- package/src/iframe/page/components/PageHeader/PageHeader.tsx +0 -0
- package/src/iframe/page/components/PageHeader/hooks/useSnippetStepsBackgroundColor.ts +0 -0
- package/src/iframe/page/components/PageHeader/index.ts +0 -0
- package/src/iframe/page/index.ts +0 -0
- package/src/iframe/payment/index.ts +0 -0
- package/src/iframe/payment/order-items-table/OrderItemsTable.stories.tsx +1 -1
- package/src/iframe/payment/order-items-table/OrderItemsTable.tsx +0 -0
- package/src/iframe/payment/order-items-table/hooks/useTableData.tsx +109 -103
- package/src/iframe/payment/order-items-table/index.ts +0 -0
- package/src/iframe/payment/order-items-table/types/index.ts +0 -0
- package/src/iframe/payment/order-items-table/utils/index.ts +0 -0
- package/src/iframe/payment/order-items-table/utils/paymentSummary.tsx +0 -0
- package/src/iframe/payment/payment-form/PaymentForm.stories.tsx +0 -0
- package/src/iframe/payment/payment-form/PaymentForm.tsx +0 -0
- package/src/iframe/payment/payment-page/PaymentPage.stories.tsx +0 -0
- package/src/iframe/payment/payment-page/PaymentPage.tsx +4 -4
- package/src/iframe/payment/payment-page/PaymentTimer.tsx +0 -0
- package/src/iframe/payment/payment-status-header/PaymentStatusHeader.stories.tsx +1 -1
- package/src/iframe/payment/payment-status-header/PaymentStatusHeader.tsx +0 -0
- package/src/iframe/payment/payment-status-page/PaymentStatusComponent.stories.tsx +0 -0
- package/src/iframe/payment/payment-status-page/PaymentStatusPage.tsx +0 -0
- package/src/iframe/payment/payment-status-page/component/PaymentStatusBody.tsx +0 -0
- package/src/iframe/payment/payment-status-page/component/index.tsx +0 -0
- package/src/iframe/payment/payment-status-page/index.ts +0 -0
- package/src/iframe/payment/status-body/StatusBody.stories.tsx +0 -0
- package/src/iframe/payment/status-body/StatusBody.tsx +1 -1
- package/src/iframe/powered-by/PoweredBy.stories.tsx +0 -0
- package/src/iframe/powered-by/PoweredBy.tsx +0 -0
- package/src/iframe/powered-by/index.ts +0 -0
- package/src/iframe/ryft/RyftPaymentForm.tsx +25 -55
- package/src/iframe/ryft/utils/ryft-form.ts +6 -5
- package/src/image-radio-input/ImageRadioInput.stories.tsx +0 -0
- package/src/image-radio-input/ImageRadioInput.tsx +0 -0
- package/src/image-radio-input/index.ts +0 -0
- package/src/index.ts +0 -1
- package/src/layout/BackgroundVideoContainer.tsx +0 -0
- package/src/layout/Container.tsx +0 -0
- package/src/layout/DropDown.tsx +0 -0
- package/src/layout/DropDownToggle.tsx +0 -0
- package/src/layout/Layout.stories.tsx +0 -0
- package/src/layout/index.ts +0 -0
- package/src/logo/Logo.stories.tsx +1 -1
- package/src/logo/Logo.tsx +0 -0
- package/src/logo/index.ts +0 -0
- package/src/modals/confirmation/ConfirmModal.tsx +1 -6
- package/src/modals/confirmation/Confirmation.stories.tsx +1 -1
- package/src/modals/confirmation/index.ts +0 -0
- package/src/modals/dialog/Dialog.tsx +36 -35
- package/src/modals/dialog/DialogContext.tsx +0 -0
- package/src/modals/dialog/index.ts +0 -0
- package/src/modals/fullscreen/FullscreenModal.tsx +1 -6
- package/src/modals/fullscreen/FulscreenModal.stories.tsx +0 -0
- package/src/modals/fullscreen/index.ts +0 -0
- package/src/modals/index.ts +0 -0
- package/src/notification/components/NotificationPlaceholders.stories.tsx +0 -0
- package/src/notification/components/NotificationPlaceholders.tsx +0 -0
- package/src/notification/email-template/card/EmailTemplateCard.stories.tsx +0 -0
- package/src/notification/email-template/card/EmailTemplateCard.tsx +2 -0
- package/src/notification/email-template/card/index.tsx +0 -0
- package/src/notification/email-template/control/EmailTemplateControl.tsx +12 -12
- package/src/notification/email-template/control/index.ts +0 -0
- package/src/notification/email-template/form/EmailTemplateForm.stories.tsx +0 -0
- package/src/notification/email-template/form/EmailTemplateForm.tsx +0 -3
- package/src/notification/email-template/form/index.tsx +0 -0
- package/src/notification/email-template/index.ts +0 -0
- package/src/notification/hooks/useTranslatedParameters.ts +0 -0
- package/src/notification/index.ts +0 -0
- package/src/notification/send-email-template/SendEmailTemplateForm.stories.tsx +0 -0
- package/src/notification/send-email-template/SendEmailTemplateForm.tsx +0 -0
- package/src/notification/send-email-template/index.ts +0 -0
- package/src/notification/sms-template/card/SmsTemplateCard.stories.tsx +0 -0
- package/src/notification/sms-template/card/SmsTemplateCard.tsx +2 -0
- package/src/notification/sms-template/card/index.ts +0 -0
- package/src/notification/sms-template/control/SmsTemplateControl.tsx +1 -0
- package/src/notification/sms-template/control/index.ts +0 -0
- package/src/notification/sms-template/form/SmsTemplateForm.stories.tsx +0 -0
- package/src/notification/sms-template/form/SmsTemplateForm.tsx +0 -0
- package/src/notification/sms-template/form/index.ts +0 -0
- package/src/notification/sms-template/index.ts +0 -0
- package/src/number-of-people-input/NumberOfPeopleInput.tsx +0 -0
- package/src/number-of-people-input/components/RenderNumberOfPeopleInputComponent.stories.tsx +0 -0
- package/src/number-of-people-input/components/RenderNumberOfPeopleInputComponent.tsx +0 -0
- package/src/number-of-people-input/components/index.ts +0 -0
- package/src/number-of-people-input/index.ts +0 -0
- package/src/pages/PrivacyComponent.tsx +0 -0
- package/src/pages/TermsComponent.tsx +0 -0
- package/src/pages/index.ts +0 -0
- package/src/product-set/card/ProductSetCard.stories.tsx +0 -0
- package/src/product-set/card/ProductSetCard.tsx +0 -0
- package/src/product-set/card/index.ts +0 -0
- package/src/product-set/control/DateAndRecurrenceInput.tsx +0 -0
- package/src/product-set/control/DateInput.tsx +0 -0
- package/src/product-set/control/ProductSetControl.stories.tsx +0 -0
- package/src/product-set/control/ProductSetControl.tsx +0 -0
- package/src/product-set/control/ProductSetImageControl.tsx +0 -0
- package/src/product-set/control/ProductSetRecurrenceControl.stories.tsx +0 -0
- package/src/product-set/control/ProductSetRecurrenceControl.tsx +0 -0
- package/src/product-set/control/ProductSetRecurrenceOverridesControl.tsx +0 -0
- package/src/product-set/control/TutorialGifCard.tsx +0 -0
- package/src/product-set/control/index.ts +0 -0
- package/src/product-set/deposit-paid/ProductSetDepositPaid.stories.tsx +0 -0
- package/src/product-set/deposit-paid/ProductSetDepositPaidControl.tsx +0 -0
- package/src/product-set/deposit-paid/index.ts +0 -0
- package/src/product-set/elements/DeleteFieldButton.tsx +0 -0
- package/src/product-set/elements/Elements.stories.tsx +0 -0
- package/src/product-set/elements/index.ts +0 -0
- package/src/product-set/form/MobileFooter.tsx +0 -0
- package/src/product-set/form/ProductCategoriesControl.tsx +0 -0
- package/src/product-set/form/ProductSetForm.stories.tsx +1 -1
- package/src/product-set/form/ProductSetForm.tsx +6 -2
- package/src/product-set/form/ProductSetFormPopover.tsx +0 -0
- package/src/product-set/form/ProductSetNameControl.tsx +0 -0
- package/src/product-set/form/ProductZonesControl.tsx +0 -0
- package/src/product-set/form/ProductsControl.tsx +0 -0
- package/src/product-set/form/SelectCategoryModal.stories.tsx +0 -0
- package/src/product-set/form/SelectCategoryModal.tsx +1 -6
- package/src/product-set/form/StepsControl.tsx +0 -0
- package/src/product-set/form/SubProductsControl.tsx +0 -0
- package/src/product-set/form/VenueMapSetModal.tsx +0 -0
- package/src/product-set/form/VenueMapsControl.tsx +0 -0
- package/src/product-set/form/context.tsx +0 -0
- package/src/product-set/form/index.ts +0 -0
- package/src/product-set/hooks/useSortableTreeFunctions.ts +0 -0
- package/src/product-set/index.ts +0 -0
- package/src/product-set/item/CreateProductSetItem.tsx +0 -0
- package/src/product-set/popover/ProductSetPopover.stories.tsx +0 -0
- package/src/product-set/popover/ProductSetPopover.tsx +0 -0
- package/src/product-set/popover/index.ts +0 -0
- package/src/product-set/product/Product.stories.tsx +0 -0
- package/src/product-set/product/ProductControl.tsx +0 -0
- package/src/product-set/product/advanced-options/AdvancedOptions.tsx +0 -0
- package/src/product-set/product/advanced-options/index.ts +0 -0
- package/src/product-set/product/booking-management/ProductBookingManagement.stories.tsx +0 -0
- package/src/product-set/product/booking-management/ProductBookingManagementControl.tsx +2 -0
- package/src/product-set/product/booking-management/index.ts +0 -0
- package/src/product-set/product/constants.ts +0 -0
- package/src/product-set/product/deposit/ProductDeposit.stories.tsx +0 -0
- package/src/product-set/product/deposit/ProductDepositControl.tsx +1 -0
- package/src/product-set/product/deposit/index.ts +0 -0
- package/src/product-set/product/duration/ProductDurationControl.stories.tsx +0 -0
- package/src/product-set/product/duration/ProductDurationControl.tsx +2 -0
- package/src/product-set/product/duration/index.ts +0 -0
- package/src/product-set/product/fixed-duration-fields/FixedDurationOptions.tsx +0 -0
- package/src/product-set/product/fixed-duration-fields/index.ts +0 -0
- package/src/product-set/product/index.ts +0 -0
- package/src/product-set/product/price/ProductPrice.stories.tsx +0 -0
- package/src/product-set/product/price/ProductPriceControl.tsx +1 -0
- package/src/product-set/product/price/index.ts +0 -0
- package/src/product-set/product/quantity/ProductQuantity.stories.tsx +0 -0
- package/src/product-set/product/quantity/ProductQuantityConstantControl.tsx +2 -0
- package/src/product-set/product/quantity/ProductQuantityControl.tsx +2 -0
- package/src/product-set/product/quantity/ProductQuantityRechargingControl.tsx +1 -0
- package/src/product-set/product/quantity/index.ts +0 -0
- package/src/product-set/product/scanRange/{ProductScanRangeControl.stories.tsx → ProductScanRangeControl.stories.ts} +0 -0
- package/src/product-set/product/scanRange/ProductScanRangeControl.tsx +0 -0
- package/src/product-set/product/scanRange/index.ts +0 -0
- package/src/product-set/product-category/ProductCategory.stories.tsx +0 -0
- package/src/product-set/product-category/ProductCategoryControl.tsx +4 -0
- package/src/product-set/product-category/index.ts +0 -0
- package/src/product-set/product-zone/ProductZoneControl.tsx +0 -0
- package/src/product-set/product-zone/index.ts +0 -0
- package/src/product-set/step/Step.stories.tsx +0 -0
- package/src/product-set/step/StepControl.tsx +0 -0
- package/src/product-set/step/index.ts +0 -0
- package/src/product-set/tabs/ProductSetTab.tsx +0 -1
- package/src/product-set/tabs/ProductSetTabs.stories.tsx +0 -0
- package/src/product-set/tabs/ProductSetTabs.tsx +0 -0
- package/src/product-set/tabs/index.ts +0 -0
- package/src/product-set/types/index.ts +0 -0
- package/src/product-set/utils/index.ts +0 -0
- package/src/provider/categories-input/CategoriesInput.stories.tsx +0 -0
- package/src/provider/categories-input/CategoriesInput.tsx +0 -0
- package/src/provider/categories-input/CategoriesInputDescription.tsx +0 -0
- package/src/provider/categories-input/index.ts +0 -0
- package/src/provider/constants.ts +0 -0
- package/src/provider/index.ts +0 -0
- package/src/provider/location-input/LocationInput.stories.tsx +0 -0
- package/src/provider/location-input/LocationInput.tsx +0 -0
- package/src/provider/location-input/LocationInputDescription.tsx +0 -0
- package/src/provider/location-input/components/FormGroupControll.tsx +0 -0
- package/src/provider/location-input/components/index.ts +0 -0
- package/src/provider/location-input/index.ts +0 -0
- package/src/provider/provider-details-input/ProviderDetailsInput.stories.tsx +0 -0
- package/src/provider/provider-details-input/ProviderDetailsInput.tsx +0 -0
- package/src/provider/provider-details-input/index.ts +0 -0
- package/src/provider/provider-form/ProviderForm.stories.tsx +0 -0
- package/src/provider/provider-form/ProviderForm.tsx +0 -0
- package/src/provider/provider-form/index.ts +0 -0
- package/src/provider/provider-links-input/ProviderLinksInput.stories.tsx +0 -0
- package/src/provider/provider-links-input/ProviderLinksInput.tsx +0 -0
- package/src/provider/provider-links-input/index.ts +0 -0
- package/src/provider/venue-form/VenueForm.stories.tsx +0 -0
- package/src/provider/venue-form/VenueForm.tsx +0 -0
- package/src/provider/venue-form/index.ts +0 -0
- package/src/provider/working-hours-input/WorkingHoursInput.stories.tsx +0 -0
- package/src/provider/working-hours-input/WorkingHoursInput.tsx +0 -0
- package/src/provider/working-hours-input/WorkingHoursInputDescription.tsx +0 -0
- package/src/provider/working-hours-input/index.ts +0 -0
- package/src/provider/working-hours-input/utils.ts +0 -0
- package/src/radio-card/RadioCard.stories.tsx +0 -0
- package/src/radio-card/RadioCard.tsx +0 -0
- package/src/radio-card/index.ts +0 -0
- package/src/recurrence-input/RecurrenceEndInput.tsx +1 -0
- package/src/recurrence-input/RecurrenceInput.stories.tsx +0 -0
- package/src/recurrence-input/RecurrenceInput.tsx +0 -0
- package/src/recurrence-input/RecurrenceIntervalAndFrequencyInput.tsx +0 -0
- package/src/recurrence-input/RecurrenceMonthlyRepeatByInput.tsx +0 -0
- package/src/recurrence-input/RecurrenceWeekdaysInput.tsx +0 -0
- package/src/recurrence-input/index.ts +0 -0
- package/src/recurrence-input/utils.ts +0 -0
- package/src/recurring-date-picker-input/DatePickerInput.tsx +0 -0
- package/src/recurring-date-picker-input/RecurrenceAndFrequencyInput.tsx +0 -0
- package/src/recurring-date-picker-input/RecurrenceEndInput.tsx +1 -0
- package/src/recurring-date-picker-input/RecurrenceIntervalAndFrequencyInput.tsx +0 -0
- package/src/recurring-date-picker-input/RecurrenceMonthlyRepeatByInput.tsx +0 -0
- package/src/recurring-date-picker-input/RecurrenceWeekdaysInput.tsx +0 -0
- package/src/recurring-date-picker-input/RecurringDatePickerInput.stories.tsx +0 -0
- package/src/recurring-date-picker-input/RecurringDatePickerInput.tsx +0 -0
- package/src/recurring-date-picker-input/index.ts +0 -0
- package/src/recurring-date-picker-input/utils.ts +0 -0
- package/src/report/DataFieldsSelector/DataFieldsSelector.tsx +1 -1
- package/src/report/DataFieldsSelector/index.ts +0 -0
- package/src/report/ReportRunnerModal/ReportRunnerModal.stories.tsx +0 -0
- package/src/report/ReportRunnerModal/ReportRunnerModal.tsx +0 -0
- package/src/report/ReportRunnerModal/index.ts +0 -0
- package/src/report/ReportTypeSelect/ReportTypeSelect.tsx +1 -1
- package/src/report/ReportTypeSelect/index.ts +0 -0
- package/src/report/card/ReportCard.stories.tsx +0 -0
- package/src/report/card/ReportCard.tsx +0 -0
- package/src/report/card/index.ts +0 -0
- package/src/report/form/ReportForm.stories.tsx +0 -0
- package/src/report/form/ReportForm.tsx +2 -2
- package/src/report/form/index.ts +0 -0
- package/src/report/index.ts +0 -0
- package/src/resource/card/ResourceCard.stories.tsx +0 -0
- package/src/resource/card/ResourceCard.tsx +0 -0
- package/src/resource/card/index.ts +0 -0
- package/src/resource/form/ResourceForm.stories.tsx +1 -1
- package/src/resource/form/ResourceForm.tsx +0 -0
- package/src/resource/form/components/CapacityControl.tsx +1 -0
- package/src/resource/form/components/NameControl.tsx +0 -0
- package/src/resource/form/components/SortControl.tsx +1 -0
- package/src/resource/form/components/ZoneControl.tsx +1 -0
- package/src/resource/form/index.ts +0 -0
- package/src/resource/index.ts +0 -0
- package/src/root.css +0 -0
- package/src/sales/booking/index.ts +0 -0
- package/src/sales/booking/results/BookingResults.stories.tsx +0 -0
- package/src/sales/booking/results/BookingResults.tsx +0 -0
- package/src/sales/booking/results/components/ResultCard.tsx +0 -0
- package/src/sales/booking/results/constants.ts +0 -0
- package/src/sales/booking/results/index.ts +0 -0
- package/src/sales/constants.tsx +0 -0
- package/src/sales/coupon/control/CouponFormControl.tsx +7 -0
- package/src/sales/coupon/control/index.ts +0 -0
- package/src/sales/coupon/form/CouponForm.stories.tsx +0 -0
- package/src/sales/coupon/form/CouponFrom.tsx +0 -0
- package/src/sales/coupon/form/index.ts +0 -0
- package/src/sales/coupon/index.tsx +0 -0
- package/src/sales/coupon/utils/index.ts +0 -0
- package/src/sales/filters/SaleFilter.stories.tsx +0 -0
- package/src/sales/filters/SaleFilters.tsx +0 -0
- package/src/sales/filters/index.ts +0 -0
- package/src/sales/guest-profile/index.ts +0 -0
- package/src/sales/guest-profile/previous-bookings/PreviousBookings.stories.tsx +1 -1
- package/src/sales/guest-profile/previous-bookings/PreviousBookings.tsx +0 -0
- package/src/sales/guest-profile/previous-bookings/index.ts +0 -0
- package/src/sales/guest-profile/profile/Profile.stories.tsx +0 -0
- package/src/sales/guest-profile/profile/Profile.tsx +5 -2
- package/src/sales/guest-profile/profile/components/ImageHolder/ImageHolder.tsx +0 -0
- package/src/sales/guest-profile/profile/components/ImageHolder/index.ts +0 -0
- package/src/sales/guest-profile/profile/index.ts +0 -0
- package/src/sales/guest-profile/user-metrics/UserMetrics.stories.tsx +0 -0
- package/src/sales/guest-profile/user-metrics/UserMetrics.tsx +0 -0
- package/src/sales/guest-profile/user-metrics/index.ts +0 -0
- package/src/sales/guest-profile/visited-providers/VisitedProviders.stories.tsx +0 -0
- package/src/sales/guest-profile/visited-providers/VisitedProviders.tsx +0 -0
- package/src/sales/guest-profile/visited-providers/index.ts +0 -0
- package/src/sales/index.ts +0 -0
- package/src/sales/life-time-sales/LifeTimeSalesChart.stories.tsx +1 -1
- package/src/sales/life-time-sales/LifeTimeSalesChart.tsx +0 -0
- package/src/sales/life-time-sales/index.ts +0 -0
- package/src/sales/manual-booking/formatDays.ts +0 -0
- package/src/sales/manual-booking/index.ts +0 -0
- package/src/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.stories.tsx +0 -0
- package/src/sales/manual-booking/number-input-horizontal/NumberInputHorizontal.tsx +0 -0
- package/src/sales/manual-booking/number-input-horizontal/index.ts +0 -0
- package/src/sales/manual-booking/search-user/SearchUser.tsx +0 -0
- package/src/sales/manual-booking/search-user/index.ts +0 -0
- package/src/sales/manual-booking/select-date-type-control/SelectDateTypeControl.stories.tsx +1 -1
- package/src/sales/manual-booking/select-date-type-control/SelectDateTypeControl.tsx +0 -0
- package/src/sales/manual-booking/select-date-type-control/index.ts +0 -0
- package/src/sales/manual-booking/select-event/SelectEvent.tsx +0 -0
- package/src/sales/manual-booking/select-event/index.ts +0 -0
- package/src/sales/manual-booking/select-menu/SelectMenu.stories.tsx +1 -1
- package/src/sales/manual-booking/select-menu/SelectMenu.tsx +0 -0
- package/src/sales/manual-booking/select-menu/components/MenuButton.tsx +0 -0
- package/src/sales/manual-booking/select-menu/index.ts +0 -0
- package/src/sales/manual-booking/summary/ManualBookingSummary.tsx +0 -0
- package/src/sales/manual-booking/summary/index.ts +0 -0
- package/src/sales/modals/index.ts +0 -0
- package/src/sales/modals/payment-modal/PaymentModal.stories.tsx +1 -1
- package/src/sales/modals/payment-modal/PaymentModal.tsx +1 -6
- package/src/sales/modals/payment-modal/index.ts +0 -0
- package/src/sales/modals/refund-modal/RefundModal.stories.tsx +1 -1
- package/src/sales/modals/refund-modal/RefundModal.tsx +1 -6
- package/src/sales/modals/refund-modal/index.ts +0 -0
- package/src/sales/notes/NotesTable.stories.tsx +0 -0
- package/src/sales/notes/NotesTable.tsx +0 -0
- package/src/sales/notes/NotesTableRow.tsx +0 -0
- package/src/sales/notes/index.ts +0 -0
- package/src/sales/notes/note-form/NoteForm.stories.tsx +0 -0
- package/src/sales/notes/note-form/NoteForm.tsx +0 -0
- package/src/sales/notes/note-form/index.ts +0 -0
- package/src/sales/payment-form/SalePaymentForm.stories.tsx +1 -1
- package/src/sales/payment-form/SalePaymentForm.tsx +0 -0
- package/src/sales/payment-form/components/RyftPayment/RyftPayment.tsx +0 -0
- package/src/sales/payment-form/components/RyftPayment/index.ts +0 -0
- package/src/sales/payment-form/index.ts +0 -0
- package/src/sales/payment-form/types.ts +0 -0
- package/src/sales/sales-and-views/SalesAndViewsChart.stories.tsx +0 -0
- package/src/sales/sales-and-views/SalesAndViewsChart.tsx +0 -0
- package/src/sales/sales-and-views/index.ts +0 -0
- package/src/sales/source-of-sales/SourceOfSalesChart.stories.tsx +0 -0
- package/src/sales/source-of-sales/SourceOfSalesChart.tsx +0 -0
- package/src/sales/source-of-sales/index.ts +0 -0
- package/src/sales/statistics-chart/StatisticsChart.stories.tsx +0 -0
- package/src/sales/statistics-chart/StatisticsChart.tsx +0 -0
- package/src/sales/statistics-chart/index.ts +0 -0
- package/src/setting/dashboard/DashboardSetting.stories.tsx +0 -0
- package/src/setting/dashboard/DashboardSettingForm.tsx +1 -0
- package/src/setting/dashboard/EventSettingForm.tsx +0 -0
- package/src/setting/dashboard/FinancialDataForm.tsx +0 -0
- package/src/setting/dashboard/OtherSettingForm.tsx +0 -0
- package/src/setting/dashboard/ProviderSettingForm.tsx +0 -0
- package/src/setting/dashboard/components/IpInput.stories.tsx +0 -0
- package/src/setting/dashboard/components/IpInput.tsx +0 -0
- package/src/setting/dashboard/index.ts +0 -0
- package/src/setting/dashboard/payments/payments-form/PaymentsForm.stories.tsx +0 -0
- package/src/setting/dashboard/payments/payments-form/PaymentsForm.tsx +0 -0
- package/src/setting/dashboard/payments/payments-modal/PaymentsModal.stories.tsx +0 -0
- package/src/setting/dashboard/payments/payments-modal/PaymentsModal.tsx +0 -1
- package/src/setting/dashboard/snippet-templates/card/SnippetTemplateCard.stories.tsx +1 -1
- package/src/setting/dashboard/snippet-templates/card/SnippetTemplateCard.tsx +2 -0
- package/src/setting/dashboard/snippet-templates/card/index.ts +0 -0
- package/src/setting/dashboard/snippets/card/SnippetCard.stories.tsx +0 -0
- package/src/setting/dashboard/snippets/card/SnippetCard.tsx +0 -0
- package/src/setting/dashboard/snippets/card/index.ts +0 -0
- package/src/setting/index.ts +0 -0
- package/src/sidebar/elements/Elements.stories.tsx +0 -0
- package/src/sidebar/elements/ReturnBack.tsx +0 -0
- package/src/sidebar/elements/index.ts +0 -0
- package/src/sidebar/index.ts +0 -0
- package/src/slide-curtain/SlideCurtain.stories.tsx +0 -0
- package/src/slide-curtain/SlideCurtain.tsx +0 -0
- package/src/slide-curtain/index.ts +0 -0
- package/src/snippet/index.ts +0 -0
- package/src/snippet/snippet-template/SnippetTemplate.stories.tsx +1 -1
- package/src/snippet/snippet-template/SnippetTemplate.tsx +0 -0
- package/src/snippet/snippet-template/context/index.ts +0 -0
- package/src/snippet/snippet-template/context/snippetTemplate.tsx +0 -1
- package/src/snippet/snippet-template/context/snippetTemplateLoading.tsx +0 -0
- package/src/snippet/snippet-template/context/snippetTemplateView.tsx +0 -1
- package/src/snippet/snippet-template/control/Control.stories.tsx +0 -0
- package/src/snippet/snippet-template/control/PropertyControl.tsx +0 -0
- package/src/snippet/snippet-template/control/index.ts +0 -0
- package/src/snippet/snippet-template/form/SnippetTemplateForm.stories.tsx +1 -1
- package/src/snippet/snippet-template/form/SnippetTemplateForm.tsx +1 -0
- package/src/snippet/snippet-template/form/index.ts +0 -0
- package/src/snippet/snippet-template/index.ts +0 -0
- package/src/snippet/snippet-template/preview/Preview.stories.tsx +0 -0
- package/src/snippet/snippet-template/preview/Preview.tsx +10 -6
- package/src/snippet/snippet-template/preview/index.ts +0 -0
- package/src/snippet/snippet-template/settings/SettingButton.tsx +0 -0
- package/src/snippet/snippet-template/settings/Settings.stories.tsx +0 -0
- package/src/snippet/snippet-template/settings/index.ts +0 -0
- package/src/snippet/snippet-template/utils/index.ts +0 -9
- package/src/sortable-fields/SortableFieldItem.tsx +0 -0
- package/src/sortable-fields/SortableFieldList.tsx +0 -0
- package/src/sortable-fields/index.ts +0 -0
- package/src/sortable-list/CreateSortableListItem.tsx +0 -0
- package/src/sortable-list/SortableList.stories.tsx +0 -0
- package/src/sortable-list/SortableList.tsx +0 -0
- package/src/sortable-list/index.ts +0 -0
- package/src/sortable-tree/SortableTree.stories.tsx +0 -0
- package/src/sortable-tree/SortableTree.tsx +0 -0
- package/src/sortable-tree/SortableTreeItem.stories.tsx +0 -0
- package/src/sortable-tree/SortableTreeItem.tsx +0 -0
- package/src/sortable-tree/index.ts +0 -0
- package/src/sorting-select/SortingSelect.stories.tsx +0 -0
- package/src/sorting-select/SortingSelect.tsx +0 -0
- package/src/sorting-select/index.ts +0 -0
- package/src/static/CountryCodeSelect.tsx +2 -2
- package/src/static/CountrySelect.tsx +0 -0
- package/src/static/CurrencyNumberInput.tsx +1 -0
- package/src/static/FormCard.tsx +0 -0
- package/src/static/Image.tsx +0 -0
- package/src/static/RestrictedAccess.tsx +0 -0
- package/src/static/SocialButton.tsx +0 -0
- package/src/static/Static.stories.tsx +0 -0
- package/src/static/StyledButton.tsx +0 -0
- package/src/static/TextField.tsx +0 -0
- package/src/static/UserBadge.tsx +0 -0
- package/src/static/WarningMessage.tsx +0 -0
- package/src/static/date-range-input/DateRangeInput.stories.tsx +0 -0
- package/src/static/date-range-input/DateRangeInput.tsx +0 -0
- package/src/static/date-range-input/index.ts +0 -0
- package/src/static/date-range-input/utils/index.ts +0 -0
- package/src/static/form-number-input/FormNumberInput.stories.tsx +0 -0
- package/src/static/form-number-input/FormNumberInput.tsx +1 -0
- package/src/static/form-number-input/index.ts +0 -0
- package/src/static/images/DefaultUserImage.tsx +0 -0
- package/src/static/images/Images.stories.tsx +0 -0
- package/src/static/images/index.ts +0 -0
- package/src/static/index.ts +0 -0
- package/src/static/loader/BlockLoader.tsx +0 -0
- package/src/static/loader/ButtonLoader.tsx +0 -0
- package/src/static/loader/FullScreenLoader.tsx +0 -0
- package/src/static/loader/Loader.stories.tsx +0 -0
- package/src/static/loader/LoaderIndicator.tsx +0 -0
- package/src/static/loader/PaymentLoader.tsx +0 -0
- package/src/static/loader/SnippetLoader.tsx +0 -0
- package/src/static/loader/index.ts +0 -0
- package/src/static/manual-date-picker/ManualDatePicker.tsx +0 -0
- package/src/static/manual-date-picker/constants/index.ts +0 -0
- package/src/static/manual-date-picker/hooks/useManualDatePicker.ts +0 -0
- package/src/static/manual-date-picker/index.ts +0 -0
- package/src/static/manual-date-picker/utils/index.ts +0 -0
- package/src/static/number-input/NumberInput.stories.tsx +0 -0
- package/src/static/number-input/NumberInput.tsx +1 -0
- package/src/static/number-input/index.ts +0 -0
- package/src/static/switch/BooleanSwitch.stories.tsx +0 -0
- package/src/static/switch/BooleanSwitch.tsx +0 -0
- package/src/static/switch/Switch.stories.tsx +0 -0
- package/src/static/switch/Switch.tsx +0 -0
- package/src/static/switch/index.ts +0 -0
- package/src/static/tabs/Tab.tsx +0 -1
- package/src/static/tabs/Tabs.tsx +0 -0
- package/src/static/tabs/index.ts +0 -0
- package/src/static/text-expand/TextExpand.stories.tsx +0 -0
- package/src/static/text-expand/TextExpand.tsx +0 -0
- package/src/static/text-expand/index.ts +0 -0
- package/src/striped-static-table/StripedStaticTable.stories.tsx +0 -0
- package/src/striped-static-table/StripedStaticTable.tsx +0 -0
- package/src/striped-static-table/index.ts +0 -0
- package/src/styles/activity-card/ActivitiesCard.scss +0 -0
- package/src/styles/activity-card/ListActivitiesCard.scss +0 -0
- package/src/styles/activity-card/_index.scss +0 -0
- package/src/styles/affiliate/AffiliateCard.scss +0 -0
- package/src/styles/affiliate/AffiliateForm.scss +0 -0
- package/src/styles/affiliate/_index.scss +0 -0
- package/src/styles/auth/AccessDenied.scss +0 -0
- package/src/styles/auth/_index.scss +0 -0
- package/src/styles/availability-indicator/AvailabilityIndicator.scss +0 -0
- package/src/styles/availability-indicator/_index.scss +0 -0
- package/src/styles/back-button/BackButton.scss +0 -0
- package/src/styles/back-button/_index.scss +0 -0
- package/src/styles/company-user-form/UserForm.scss +0 -0
- package/src/styles/company-user-form/_index.scss +0 -0
- package/src/styles/custom-fields/CreateSortableListItem.scss +0 -0
- package/src/styles/custom-fields/FieldItem.scss +0 -0
- package/src/styles/custom-fields/SelectFieldModal.scss +0 -0
- package/src/styles/custom-fields/_index.scss +0 -0
- package/src/styles/customers/Filter.scss +0 -0
- package/src/styles/customers/_index.scss +0 -0
- package/src/styles/date-time-button/DateTimeButton.scss +0 -0
- package/src/styles/date-time-button/_index.scss +0 -0
- package/src/styles/error/ErrorFallback.scss +0 -0
- package/src/styles/error/_index.scss +0 -0
- package/src/styles/events/EditEventModal.scss +0 -0
- package/src/styles/events/EventCard.scss +0 -0
- package/src/styles/events/EventStatisticModal.scss +0 -0
- package/src/styles/events/EventVenueMap.scss +0 -0
- package/src/styles/events/_index.scss +0 -0
- package/src/styles/file-upload/FileUpload.scss +0 -0
- package/src/styles/file-upload/ImagePreview.scss +0 -0
- package/src/styles/file-upload/_index.scss +0 -0
- package/src/styles/form/CustomCheckbox.scss +0 -0
- package/src/styles/form/CustomRadio.scss +0 -0
- package/src/styles/form/Input.scss +0 -0
- package/src/styles/form/InputGroup.scss +0 -0
- package/src/styles/form/_index.scss +0 -0
- package/src/styles/header/Header.scss +0 -0
- package/src/styles/header/_index.scss +0 -0
- package/src/styles/header/elements/CompanySelector.scss +0 -0
- package/src/styles/header/elements/_index.scss +0 -0
- package/src/styles/help/Example.scss +0 -0
- package/src/styles/help/_index.scss +0 -0
- package/src/styles/iframe-events/Calendar.scss +1 -1
- package/src/styles/iframe-events/CalendarSelect.scss +0 -0
- package/src/styles/iframe-events/Card.scss +0 -0
- package/src/styles/iframe-events/CategoryStepsForm.scss +0 -0
- package/src/styles/iframe-events/Event.scss +0 -0
- package/src/styles/iframe-events/EventBookingForm.scss +0 -0
- package/src/styles/iframe-events/EventBookingProducts.scss +0 -0
- package/src/styles/iframe-events/EventBookingView.scss +0 -0
- package/src/styles/iframe-events/EventForm.scss +0 -0
- package/src/styles/iframe-events/EventNavigationFooter.scss +0 -0
- package/src/styles/iframe-events/EventOrderShortSummary.scss +0 -0
- package/src/styles/iframe-events/EventOrderSummary.scss +0 -0
- package/src/styles/iframe-events/EventProductSets.scss +0 -0
- package/src/styles/iframe-events/EventStepVenueMapZones.scss +0 -0
- package/src/styles/iframe-events/EventTables.scss +0 -0
- package/src/styles/iframe-events/PoweredBy.scss +0 -0
- package/src/styles/iframe-events/TicketDescription.scss +0 -0
- package/src/styles/iframe-events/_index.scss +0 -0
- package/src/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
- package/src/styles/iframe-external-modal/_index.scss +0 -0
- package/src/styles/iframe-order-process/IframeOrderProcess.scss +0 -0
- package/src/styles/iframe-order-process/_index.scss +0 -0
- package/src/styles/iframe-page/Page.scss +0 -0
- package/src/styles/iframe-page/PageBody.scss +0 -0
- package/src/styles/iframe-page/PageHeader.scss +0 -0
- package/src/styles/iframe-page/_index.scss +0 -0
- package/src/styles/iframe-payments/PaymentForm.scss +0 -0
- package/src/styles/iframe-payments/_index.scss +0 -0
- package/src/styles/image-radio-input/_index.scss +0 -0
- package/src/styles/layout/BackgroundVideoContainer.scss +0 -0
- package/src/styles/layout/_index.scss +0 -0
- package/src/styles/logo/Logo.scss +0 -0
- package/src/styles/logo/_index.scss +0 -0
- package/src/styles/modals/Modals.scss +0 -0
- package/src/styles/modals/_index.scss +0 -0
- package/src/styles/notification/Notification.scss +0 -0
- package/src/styles/notification/_index.scss +0 -0
- package/src/styles/order-items-table/OrderItemsTable.scss +0 -0
- package/src/styles/order-items-table/_index.scss +0 -0
- package/src/styles/overrides/_functions.scss +0 -0
- package/src/styles/packages.scss +0 -0
- package/src/styles/product-set/CreateProductSetItem.scss +0 -0
- package/src/styles/product-set/DateAndRecurrenceInput.scss +0 -0
- package/src/styles/product-set/EditCategoryModal.scss +0 -0
- package/src/styles/product-set/EditProductModal.scss +0 -0
- package/src/styles/product-set/EditProductSetElement.scss +0 -0
- package/src/styles/product-set/EditStepModal.scss +0 -0
- package/src/styles/product-set/EditVenueMapSetModal.scss +0 -0
- package/src/styles/product-set/EditZoneSettingModal.scss +0 -0
- package/src/styles/product-set/ProductSetCard.scss +0 -0
- package/src/styles/product-set/ProductSetForm.scss +0 -0
- package/src/styles/product-set/ProductSetPopover.scss +0 -0
- package/src/styles/product-set/ProductSetTabs.scss +0 -0
- package/src/styles/product-set/SelectCategoryModal.scss +0 -0
- package/src/styles/product-set/TutorialGifCard.scss +0 -0
- package/src/styles/product-set/_index.scss +0 -0
- package/src/styles/providers/Providers.scss +0 -0
- package/src/styles/providers/_index.scss +0 -0
- package/src/styles/radio-card/_index.scss +0 -0
- package/src/styles/report/ReportCard.scss +0 -0
- package/src/styles/report/ReportEditorModal.scss +0 -0
- package/src/styles/report/ReportRunnerModal.scss +0 -0
- package/src/styles/report/_index.scss +0 -0
- package/src/styles/resources-blocking/_index.scss +0 -0
- package/src/styles/ryft-payment-form/RyftPaymentForm.scss +1 -3
- package/src/styles/ryft-payment-form/_index.scss +0 -0
- package/src/styles/sales/BookingFilter.scss +0 -0
- package/src/styles/sales/BookingResults.scss +1 -1
- package/src/styles/sales/BookingTabs.scss +0 -0
- package/src/styles/sales/Charts.scss +0 -0
- package/src/styles/sales/Filters.scss +0 -0
- package/src/styles/sales/GuestProfile.scss +0 -0
- package/src/styles/sales/LifeTimeSales.scss +0 -0
- package/src/styles/sales/ManualBooking.scss +0 -0
- package/src/styles/sales/Notes.scss +0 -0
- package/src/styles/sales/RandomColors.scss +0 -0
- package/src/styles/sales/SalePaymentForm.scss +0 -0
- package/src/styles/sales/SalesAndViews.scss +0 -0
- package/src/styles/sales/SourceOfSales.scss +0 -0
- package/src/styles/sales/Statistics.scss +0 -0
- package/src/styles/sales/_index.scss +0 -0
- package/src/styles/sales/_mixins.scss +0 -0
- package/src/styles/setting/_index.scss +0 -0
- package/src/styles/setting/dashboard/IpInput.scss +0 -0
- package/src/styles/setting/dashboard/_index.scss +0 -0
- package/src/styles/sidebar/_index.scss +0 -0
- package/src/styles/sidebar/elements/ReturnBack.scss +0 -0
- package/src/styles/sidebar/elements/_index.scss +0 -0
- package/src/styles/skeleton/_index.scss +0 -0
- package/src/styles/snippet-templates/SnippetTemplate.scss +0 -6
- package/src/styles/snippet-templates/SnippetTemplateCard.scss +0 -0
- package/src/styles/snippet-templates/_index.scss +0 -0
- package/src/styles/snippet-templates/_snippetVariables.scss +0 -6
- package/src/styles/sortable-field/SortableField.scss +0 -0
- package/src/styles/sortable-field/_index.scss +0 -0
- package/src/styles/sortable-tree/Item.scss +0 -0
- package/src/styles/sortable-tree/_index.scss +0 -0
- package/src/styles/static/CountrySelect.scss +0 -0
- package/src/styles/static/CurrencyNumberInput.scss +0 -0
- package/src/styles/static/DateRangeInput.scss +0 -0
- package/src/styles/static/FormCard.scss +0 -0
- package/src/styles/static/Loader.scss +0 -0
- package/src/styles/static/NumberInput.scss +0 -0
- package/src/styles/static/SlideCurtain.scss +0 -0
- package/src/styles/static/SocialButton.scss +0 -0
- package/src/styles/static/Switch.scss +0 -0
- package/src/styles/static/Tabs.scss +0 -0
- package/src/styles/static/TextExpand.scss +0 -0
- package/src/styles/static/UserBadge.scss +0 -0
- package/src/styles/static/_index.scss +0 -0
- package/src/styles/striped-static-table/_index.scss +0 -0
- package/src/styles/table/Table.scss +0 -0
- package/src/styles/table/_index.scss +0 -0
- package/src/styles/themes/bookedit/_fonts.scss +0 -0
- package/src/styles/themes/bookedit/_variables.scss +0 -0
- package/src/styles/themes/bookedit/index.scss +0 -0
- package/src/styles/themes/licklist/_fonts.scss +0 -0
- package/src/styles/themes/licklist/_variables.scss +0 -0
- package/src/styles/themes/licklist/index.scss +0 -0
- package/src/styles/tiptap-editor/TiptapEditor.scss +0 -0
- package/src/styles/tiptap-editor/_index.scss +0 -0
- package/src/styles/venue-map-sets/VenueMapSetCard.scss +0 -0
- package/src/styles/venue-map-sets/VenueMapSetForm.scss +0 -0
- package/src/styles/venue-map-sets/_index.scss +0 -0
- package/src/styles/virtualized/_index.scss +0 -0
- package/src/styles/zones/ZoneCard.scss +0 -0
- package/src/styles/zones/ZoneForm.scss +0 -0
- package/src/styles/zones/ZoneRecurrencesControl.scss +0 -0
- package/src/styles/zones/_index.scss +0 -0
- package/src/table/FilterHelperComponent.tsx +0 -0
- package/src/table/MenuButton.tsx +0 -0
- package/src/table/PaginationHelperComponent.tsx +0 -0
- package/src/table/PerPageHelperComponent.tsx +0 -0
- package/src/table/ReactTableHelperComponent.tsx +1 -1
- package/src/table/StaticTable.tsx +0 -0
- package/src/table/Table.stories.tsx +0 -0
- package/src/table/TableHelperComponent.tsx +0 -0
- package/src/table/hooks/useTableQueryOptions.ts +0 -0
- package/src/table/index.ts +0 -0
- package/src/table/types.ts +0 -0
- package/src/table/utils/index.ts +0 -0
- package/src/theme/Theme.stories.tsx +0 -0
- package/src/tiptap-editor/TipTapEditor.stories.tsx +0 -0
- package/src/tiptap-editor/TipTapEditor.tsx +0 -0
- package/src/tiptap-editor/TipTapMenu/TipTapMenu.stories.tsx +0 -0
- package/src/tiptap-editor/TipTapMenu/TipTapMenu.tsx +0 -0
- package/src/tiptap-editor/TipTapMenu/components/TipTapMenuItem.tsx +0 -0
- package/src/tiptap-editor/TipTapMenu/components/index.ts +0 -0
- package/src/tiptap-editor/TipTapMenu/extensions/EMOJIS.ts +0 -0
- package/src/tiptap-editor/TipTapMenu/extensions/EmojiReplacer.ts +0 -0
- package/src/tiptap-editor/TipTapMenu/extensions/constants.ts +0 -0
- package/src/tiptap-editor/TipTapMenu/extensions/utils.ts +0 -0
- package/src/tiptap-editor/TipTapMenu/index.ts +0 -0
- package/src/tiptap-editor/index.ts +0 -0
- package/src/typeahead/Typeahead.stories.tsx +0 -0
- package/src/typeahead/Typeahead.tsx +0 -0
- package/src/typeahead/index.ts +0 -0
- package/src/typeahead-helper/TypeaheadHelperComponent.tsx +0 -0
- package/src/typeahead-helper/index.ts +0 -0
- package/src/types/bookings.ts +0 -0
- package/src/types/categories.ts +0 -0
- package/src/types/generic/SelectItem.ts +0 -0
- package/src/types/iframe.ts +0 -0
- package/src/types/index.ts +0 -0
- package/src/types/provider-links.ts +0 -0
- package/src/types/static/HTMLInputDateElement.ts +0 -0
- package/src/types/static/ILoaderOptions.ts +0 -0
- package/src/typings.d.ts +0 -0
- package/src/venue-map-sets/card/VenueMapCard.stories.tsx +0 -0
- package/src/venue-map-sets/card/VenueMapSetCard.tsx +0 -0
- package/src/venue-map-sets/card/index.ts +0 -0
- package/src/venue-map-sets/form/VenueMapSetForm.stories.tsx +0 -0
- package/src/venue-map-sets/form/VenueMapSetForm.tsx +0 -0
- package/src/venue-map-sets/form/components/NameControl.tsx +0 -0
- package/src/venue-map-sets/form/components/VenueMapControl.tsx +0 -0
- package/src/venue-map-sets/form/components/VenueMapImageControl.tsx +0 -0
- package/src/venue-map-sets/form/components/VenueMapModal.tsx +0 -0
- package/src/venue-map-sets/form/components/VenueMapsControl.tsx +0 -0
- package/src/venue-map-sets/form/index.ts +0 -0
- package/src/venue-map-sets/form/types/index.ts +0 -0
- package/src/venue-map-sets/form/utils/index.ts +0 -0
- package/src/venue-map-sets/index.ts +0 -0
- package/src/virtualized/components/VirtualizedGrid.tsx +0 -0
- package/src/virtualized/components/VirtualizedWindowScroller.stories.tsx +0 -0
- package/src/virtualized/components/VirtualizedWindowScroller.tsx +0 -0
- package/src/virtualized/context/VirtualizedContext.tsx +0 -0
- package/src/virtualized/context/index.ts +0 -0
- package/src/virtualized/index.ts +0 -0
- package/src/vite-env.d.ts +0 -0
- package/src/zone/card/ZoneCard.stories.tsx +0 -0
- package/src/zone/card/ZoneCard.tsx +0 -0
- package/src/zone/card/index.ts +0 -0
- package/src/zone/form/ZoneForm.stories.tsx +1 -1
- package/src/zone/form/ZoneForm.tsx +0 -0
- package/src/zone/form/components/AvailableTimesControl.tsx +0 -0
- package/src/zone/form/components/DescriptionControl.tsx +0 -0
- package/src/zone/form/components/GameDurationControl.tsx +1 -0
- package/src/zone/form/components/NameControl.tsx +0 -0
- package/src/zone/form/components/SortControl.tsx +1 -0
- package/src/zone/form/components/ZoneControl.tsx +0 -0
- package/src/zone/form/components/ZoneImageControl.tsx +0 -0
- package/src/zone/form/components/ZoneRecurrenceControl.tsx +0 -0
- package/src/zone/form/components/ZoneRecurrencesControl.tsx +0 -0
- package/src/zone/form/components/ZoneTypeControl.tsx +1 -0
- package/src/zone/form/index.ts +0 -0
- package/src/zone/form/utils/dates.ts +0 -0
- package/src/zone/index.ts +0 -0
- package/yarn.lock +22285 -0
- package/dist/CustomDatePicker/CustomDatePicker.d.ts +0 -10
- package/dist/CustomDatePicker/CustomDatePicker.d.ts.map +0 -1
- package/dist/customRadioButton/RadioButton.d.ts +0 -11
- package/dist/customRadioButton/RadioButton.d.ts.map +0 -1
- package/dist/customRadioButton/RadioButton.js +0 -93
- package/src/CustomDatePicker/CustomDatePicker.tsx +0 -258
- package/src/customRadioButton/RadioButton.tsx +0 -84
- /package/.storybook/{preview.jsx → preview.js} +0 -0
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
type CustomDatePickerProps = {
|
|
2
|
-
name: string;
|
|
3
|
-
error?: string;
|
|
4
|
-
label?: string;
|
|
5
|
-
showAge?: boolean;
|
|
6
|
-
required?: boolean;
|
|
7
|
-
};
|
|
8
|
-
export declare function CustomDatePicker({ name, error, showAge, required }: CustomDatePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=CustomDatePicker.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CustomDatePicker.d.ts","sourceRoot":"","sources":["../../src/CustomDatePicker/CustomDatePicker.tsx"],"names":[],"mappings":"AAMA,KAAK,qBAAqB,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,IAAI,EACJ,KAAK,EACL,OAAc,EACd,QAAe,EAChB,EAAE,qBAAqB,2CA8OvB"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface RadioButtonProps {
|
|
3
|
-
name: string;
|
|
4
|
-
value: string;
|
|
5
|
-
checked: boolean;
|
|
6
|
-
onChange: (value: string) => void;
|
|
7
|
-
label?: string;
|
|
8
|
-
}
|
|
9
|
-
declare const RadioButton: React.FC<RadioButtonProps>;
|
|
10
|
-
export default RadioButton;
|
|
11
|
-
//# sourceMappingURL=RadioButton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RadioButton.d.ts","sourceRoot":"","sources":["../../src/customRadioButton/RadioButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,gBAAgB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAuE3C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
-
import 'react';
|
|
3
|
-
|
|
4
|
-
var RadioButton = function(param) {
|
|
5
|
-
var name = param.name, value = param.value, checked = param.checked, onChange = param.onChange, label = param.label;
|
|
6
|
-
// Generate a stable id so label could be connected if needed
|
|
7
|
-
var id = "".concat(name, "-").concat(value);
|
|
8
|
-
return /*#__PURE__*/ jsxs("div", {
|
|
9
|
-
className: "tw-flex tw-items-center tw-space-x-3",
|
|
10
|
-
style: {
|
|
11
|
-
display: 'flex',
|
|
12
|
-
alignItems: 'center',
|
|
13
|
-
gap: 12
|
|
14
|
-
},
|
|
15
|
-
children: [
|
|
16
|
-
/*#__PURE__*/ jsxs("div", {
|
|
17
|
-
className: "tw-relative tw-cursor-pointer",
|
|
18
|
-
style: {
|
|
19
|
-
position: 'relative',
|
|
20
|
-
cursor: 'pointer'
|
|
21
|
-
},
|
|
22
|
-
onClick: function() {
|
|
23
|
-
return onChange(value);
|
|
24
|
-
},
|
|
25
|
-
children: [
|
|
26
|
-
/*#__PURE__*/ jsx("input", {
|
|
27
|
-
id: id,
|
|
28
|
-
type: "radio",
|
|
29
|
-
name: name,
|
|
30
|
-
value: value,
|
|
31
|
-
checked: checked,
|
|
32
|
-
onChange: function() {
|
|
33
|
-
return onChange(value);
|
|
34
|
-
},
|
|
35
|
-
className: "tw-sr-only",
|
|
36
|
-
style: {
|
|
37
|
-
position: 'absolute',
|
|
38
|
-
opacity: 0,
|
|
39
|
-
pointerEvents: 'none',
|
|
40
|
-
width: 0,
|
|
41
|
-
height: 0
|
|
42
|
-
}
|
|
43
|
-
}),
|
|
44
|
-
/*#__PURE__*/ jsx("div", {
|
|
45
|
-
className: "tw-w-[47px] tw-h-[47px] tw-border-[3px] tw-border-black tw-rounded-full tw-bg-white tw-flex tw-items-center tw-justify-center tw-transition-all tw-duration-200 hover:tw-shadow-sm",
|
|
46
|
-
style: {
|
|
47
|
-
width: 52,
|
|
48
|
-
height: 52,
|
|
49
|
-
borderWidth: 3,
|
|
50
|
-
borderStyle: 'solid',
|
|
51
|
-
borderColor: '#000',
|
|
52
|
-
borderRadius: 9999,
|
|
53
|
-
background: '#fff',
|
|
54
|
-
display: 'flex',
|
|
55
|
-
alignItems: 'center',
|
|
56
|
-
justifyContent: 'center',
|
|
57
|
-
transition: 'all 200ms'
|
|
58
|
-
},
|
|
59
|
-
children: checked && /*#__PURE__*/ jsx("div", {
|
|
60
|
-
className: "tw-w-[30px] tw-h-[30px] tw-bg-slate-900 tw-rounded-full",
|
|
61
|
-
style: {
|
|
62
|
-
width: 30,
|
|
63
|
-
height: 30,
|
|
64
|
-
background: '#0f172a',
|
|
65
|
-
borderRadius: 9999
|
|
66
|
-
}
|
|
67
|
-
})
|
|
68
|
-
})
|
|
69
|
-
]
|
|
70
|
-
}),
|
|
71
|
-
label && /*#__PURE__*/ jsx("label", {
|
|
72
|
-
htmlFor: id,
|
|
73
|
-
className: "tw-cursor-pointer tw-text-gray-700 tw-select-none tw-flex tw-items-center tw-leading-none",
|
|
74
|
-
style: {
|
|
75
|
-
cursor: 'pointer',
|
|
76
|
-
color: '#374151',
|
|
77
|
-
userSelect: 'none',
|
|
78
|
-
display: 'inline-flex',
|
|
79
|
-
alignItems: 'center',
|
|
80
|
-
lineHeight: 1,
|
|
81
|
-
position: 'relative',
|
|
82
|
-
top: 5
|
|
83
|
-
},
|
|
84
|
-
onClick: function() {
|
|
85
|
-
return onChange(value);
|
|
86
|
-
},
|
|
87
|
-
children: label
|
|
88
|
-
})
|
|
89
|
-
]
|
|
90
|
-
});
|
|
91
|
-
};
|
|
92
|
-
|
|
93
|
-
export { RadioButton as default };
|
|
@@ -1,258 +0,0 @@
|
|
|
1
|
-
import { TextInput } from '@mantine/core'
|
|
2
|
-
import { useEffect, useState } from 'react'
|
|
3
|
-
import { Controller, useFormContext } from 'react-hook-form'
|
|
4
|
-
import { DateTime } from 'luxon'
|
|
5
|
-
import { useTranslation } from 'react-i18next'
|
|
6
|
-
|
|
7
|
-
type CustomDatePickerProps = {
|
|
8
|
-
name: string
|
|
9
|
-
error?: string
|
|
10
|
-
label?: string
|
|
11
|
-
showAge?: boolean
|
|
12
|
-
required?: boolean
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export function CustomDatePicker({
|
|
16
|
-
name,
|
|
17
|
-
error,
|
|
18
|
-
showAge = true,
|
|
19
|
-
required = true
|
|
20
|
-
}: CustomDatePickerProps) {
|
|
21
|
-
const { t } = useTranslation()
|
|
22
|
-
const { control, setValue, watch, getValues, trigger, formState } = useFormContext()
|
|
23
|
-
const [age, setAge] = useState<number | null>(null)
|
|
24
|
-
const [localError, setLocalError] = useState<string | null>(null)
|
|
25
|
-
|
|
26
|
-
// Get current field values
|
|
27
|
-
const day = watch(`${name}_day`) || ''
|
|
28
|
-
const month = watch(`${name}_month`) || ''
|
|
29
|
-
const year = watch(`${name}_year`) || ''
|
|
30
|
-
|
|
31
|
-
// Initialize values from existing date
|
|
32
|
-
useEffect(() => {
|
|
33
|
-
const existingDate = getValues(name)
|
|
34
|
-
|
|
35
|
-
if (existingDate instanceof Date && !day && !month && !year) {
|
|
36
|
-
const dateTime = DateTime.fromJSDate(existingDate)
|
|
37
|
-
if (dateTime.isValid) {
|
|
38
|
-
setValue(`${name}_day`, dateTime.day.toString().padStart(2, '0'))
|
|
39
|
-
setValue(`${name}_month`, dateTime.month.toString().padStart(2, '0'))
|
|
40
|
-
setValue(`${name}_year`, dateTime.year.toString())
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}, [name, setValue, getValues, day, month, year])
|
|
44
|
-
|
|
45
|
-
// Check for empty fields after submit attempt
|
|
46
|
-
useEffect(() => {
|
|
47
|
-
if (formState.isSubmitted && required) {
|
|
48
|
-
const hasEmptyFields = !day || !month || !year
|
|
49
|
-
|
|
50
|
-
if (hasEmptyFields) {
|
|
51
|
-
setLocalError(t('Validation:fieldRequired', { attribute: t('App:dateOfBirth') }))
|
|
52
|
-
// Set the main field to null to trigger form validation
|
|
53
|
-
setValue(name, null, { shouldValidate: true })
|
|
54
|
-
} else {
|
|
55
|
-
setLocalError(null)
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}, [formState.isSubmitted, day, month, year, required, name, setValue, t])
|
|
59
|
-
|
|
60
|
-
// Calculate age and validate date when all fields are filled
|
|
61
|
-
useEffect(() => {
|
|
62
|
-
if (day && month && year) {
|
|
63
|
-
try {
|
|
64
|
-
// Create a date object
|
|
65
|
-
const dateObj = DateTime.fromObject({
|
|
66
|
-
day: parseInt(day, 10),
|
|
67
|
-
month: parseInt(month, 10),
|
|
68
|
-
year: parseInt(year, 10)
|
|
69
|
-
})
|
|
70
|
-
|
|
71
|
-
// Only proceed if date is valid
|
|
72
|
-
if (dateObj.isValid) {
|
|
73
|
-
// Set the main field value
|
|
74
|
-
setValue(name, dateObj.toJSDate(), { shouldValidate: true })
|
|
75
|
-
setLocalError(null)
|
|
76
|
-
|
|
77
|
-
// Calculate age
|
|
78
|
-
if (showAge) {
|
|
79
|
-
const now = DateTime.now()
|
|
80
|
-
const diff = now.diff(dateObj, 'years')
|
|
81
|
-
setAge(Math.floor(diff.years))
|
|
82
|
-
}
|
|
83
|
-
} else {
|
|
84
|
-
setLocalError(t('Validation:fieldInvalid', { attribute: t('App:dateOfBirth') }))
|
|
85
|
-
setValue(name, null, { shouldValidate: true })
|
|
86
|
-
setAge(null)
|
|
87
|
-
}
|
|
88
|
-
} catch (err) {
|
|
89
|
-
// If any parsing fails, just reset the age display
|
|
90
|
-
setLocalError(t('Validation:fieldInvalid', { attribute: t('App:dateOfBirth') }))
|
|
91
|
-
setValue(name, null, { shouldValidate: true })
|
|
92
|
-
setAge(null)
|
|
93
|
-
}
|
|
94
|
-
} else if (formState.isSubmitted && required) {
|
|
95
|
-
// If form was submitted and fields are required but not all filled
|
|
96
|
-
setLocalError(t('Validation:fieldRequired', { attribute: t('App:dateOfBirth') }))
|
|
97
|
-
setValue(name, null, { shouldValidate: true })
|
|
98
|
-
setAge(null)
|
|
99
|
-
} else {
|
|
100
|
-
// Reset if not all fields are filled but not submitted yet
|
|
101
|
-
setValue(name, null, { shouldValidate: false })
|
|
102
|
-
setAge(null)
|
|
103
|
-
}
|
|
104
|
-
}, [day, month, year, name, setValue, showAge, formState.isSubmitted, required, t])
|
|
105
|
-
|
|
106
|
-
// After user completes all fields, validate the form
|
|
107
|
-
useEffect(() => {
|
|
108
|
-
if (day && month && year) {
|
|
109
|
-
trigger(name)
|
|
110
|
-
}
|
|
111
|
-
}, [day, month, year, name, trigger])
|
|
112
|
-
|
|
113
|
-
// Display either the form error or our local error
|
|
114
|
-
const displayError = error || localError
|
|
115
|
-
|
|
116
|
-
return (
|
|
117
|
-
<div className="tw-w-full">
|
|
118
|
-
<div className="tw-flex tw-flex-col">
|
|
119
|
-
<div className="tw-mb-2 tw-flex tw-items-center tw-justify-between">
|
|
120
|
-
<label className="tw-font-semibold">
|
|
121
|
-
{t('App:dateOfBirth')}
|
|
122
|
-
{required && <span className="tw-ml-1 tw-text-red-500"></span>}
|
|
123
|
-
</label>
|
|
124
|
-
{age !== null && (
|
|
125
|
-
<span className="tw-text-sm tw-text-gray-600">
|
|
126
|
-
{t('App:Age')}: {age}
|
|
127
|
-
</span>
|
|
128
|
-
)}
|
|
129
|
-
</div>
|
|
130
|
-
|
|
131
|
-
<div className="tw-flex tw-flex-row tw-gap-4">
|
|
132
|
-
<div className="tw-w-1/3">
|
|
133
|
-
<label className="tw-mb-1 tw-block tw-text-sm">{t('App:Day')}</label>
|
|
134
|
-
<Controller
|
|
135
|
-
control={control}
|
|
136
|
-
name={`${name}_day`}
|
|
137
|
-
defaultValue=""
|
|
138
|
-
render={({ field }) => (
|
|
139
|
-
<TextInput
|
|
140
|
-
{...field}
|
|
141
|
-
value={field.value || ''}
|
|
142
|
-
placeholder="DD"
|
|
143
|
-
maxLength={2}
|
|
144
|
-
error={!!displayError}
|
|
145
|
-
classNames={{ input: 'tw-placeholder-[#626A90]' }}
|
|
146
|
-
styles={{ input: { '&::placeholder': { color: '#626A90' } } }}
|
|
147
|
-
onChange={(e) => {
|
|
148
|
-
const value = e.target.value.replace(/[^0-9]/g, '')
|
|
149
|
-
field.onChange(value)
|
|
150
|
-
}}
|
|
151
|
-
onBlur={(e) => {
|
|
152
|
-
// Validate and format on blur
|
|
153
|
-
let value = e.target.value.replace(/[^0-9]/g, '')
|
|
154
|
-
if (value) {
|
|
155
|
-
const num = parseInt(value, 10)
|
|
156
|
-
if (num < 1) value = '01'
|
|
157
|
-
else if (num > 31) value = '31'
|
|
158
|
-
else value = num.toString().padStart(2, '0')
|
|
159
|
-
}
|
|
160
|
-
field.onChange(value)
|
|
161
|
-
}}
|
|
162
|
-
/>
|
|
163
|
-
)}
|
|
164
|
-
/>
|
|
165
|
-
</div>
|
|
166
|
-
|
|
167
|
-
<div className="tw-w-1/3">
|
|
168
|
-
<label className="tw-mb-1 tw-block tw-text-sm">{t('App:Month')}</label>
|
|
169
|
-
<Controller
|
|
170
|
-
control={control}
|
|
171
|
-
name={`${name}_month`}
|
|
172
|
-
defaultValue=""
|
|
173
|
-
render={({ field }) => (
|
|
174
|
-
<TextInput
|
|
175
|
-
{...field}
|
|
176
|
-
value={field.value || ''}
|
|
177
|
-
placeholder="MM"
|
|
178
|
-
maxLength={2}
|
|
179
|
-
error={!!displayError}
|
|
180
|
-
classNames={{ input: 'tw-placeholder-[#626A90]' }}
|
|
181
|
-
styles={{ input: { '&::placeholder': { color: '#626A90' } } }}
|
|
182
|
-
onChange={(e) => {
|
|
183
|
-
const value = e.target.value.replace(/[^0-9]/g, '')
|
|
184
|
-
field.onChange(value)
|
|
185
|
-
}}
|
|
186
|
-
onBlur={(e) => {
|
|
187
|
-
// Validate and format on blur
|
|
188
|
-
let value = e.target.value.replace(/[^0-9]/g, '')
|
|
189
|
-
if (value) {
|
|
190
|
-
const num = parseInt(value, 10)
|
|
191
|
-
if (num < 1) value = '01'
|
|
192
|
-
else if (num > 12) value = '12'
|
|
193
|
-
else value = num.toString().padStart(2, '0')
|
|
194
|
-
}
|
|
195
|
-
field.onChange(value)
|
|
196
|
-
}}
|
|
197
|
-
/>
|
|
198
|
-
)}
|
|
199
|
-
/>
|
|
200
|
-
</div>
|
|
201
|
-
|
|
202
|
-
<div className="tw-w-1/3">
|
|
203
|
-
<label className="tw-mb-1 tw-block tw-text-sm">{t('App:Year')}</label>
|
|
204
|
-
<Controller
|
|
205
|
-
control={control}
|
|
206
|
-
name={`${name}_year`}
|
|
207
|
-
defaultValue=""
|
|
208
|
-
render={({ field }) => (
|
|
209
|
-
<TextInput
|
|
210
|
-
{...field}
|
|
211
|
-
value={field.value || ''}
|
|
212
|
-
placeholder="YYYY"
|
|
213
|
-
maxLength={4}
|
|
214
|
-
error={!!displayError}
|
|
215
|
-
classNames={{ input: 'tw-placeholder-[#626A90]' }}
|
|
216
|
-
styles={{ input: { '&::placeholder': { color: '#626A90' } } }}
|
|
217
|
-
onChange={(e) => {
|
|
218
|
-
const value = e.target.value.replace(/[^0-9]/g, '')
|
|
219
|
-
field.onChange(value)
|
|
220
|
-
}}
|
|
221
|
-
onBlur={(e) => {
|
|
222
|
-
// Validate on blur
|
|
223
|
-
const value = e.target.value.replace(/[^0-9]/g, '')
|
|
224
|
-
if (value) {
|
|
225
|
-
const num = parseInt(value, 10)
|
|
226
|
-
const currentYear = new Date().getFullYear()
|
|
227
|
-
if (num > currentYear) {
|
|
228
|
-
field.onChange(currentYear.toString())
|
|
229
|
-
} else if (num < 1900) {
|
|
230
|
-
field.onChange('1900')
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
}}
|
|
234
|
-
/>
|
|
235
|
-
)}
|
|
236
|
-
/>
|
|
237
|
-
</div>
|
|
238
|
-
</div>
|
|
239
|
-
</div>
|
|
240
|
-
|
|
241
|
-
{/* Hidden field to store the actual date value */}
|
|
242
|
-
<Controller
|
|
243
|
-
control={control}
|
|
244
|
-
name={name}
|
|
245
|
-
defaultValue={null}
|
|
246
|
-
rules={{
|
|
247
|
-
validate: value => {
|
|
248
|
-
if (required && !value) {
|
|
249
|
-
return t('Validation:fieldRequired', { attribute: t('App:dateOfBirth') })
|
|
250
|
-
}
|
|
251
|
-
return true
|
|
252
|
-
}
|
|
253
|
-
}}
|
|
254
|
-
render={() => <input type="hidden" />}
|
|
255
|
-
/>
|
|
256
|
-
</div>
|
|
257
|
-
)
|
|
258
|
-
}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
interface RadioButtonProps {
|
|
4
|
-
name: string;
|
|
5
|
-
value: string;
|
|
6
|
-
checked: boolean;
|
|
7
|
-
onChange: (value: string) => void;
|
|
8
|
-
label?: string;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
const RadioButton: React.FC<RadioButtonProps> = ({
|
|
12
|
-
name,
|
|
13
|
-
value,
|
|
14
|
-
checked,
|
|
15
|
-
onChange,
|
|
16
|
-
label
|
|
17
|
-
}) => {
|
|
18
|
-
// Generate a stable id so label could be connected if needed
|
|
19
|
-
const id = `${name}-${value}`;
|
|
20
|
-
|
|
21
|
-
return (
|
|
22
|
-
<div
|
|
23
|
-
className="tw-flex tw-items-center tw-space-x-3"
|
|
24
|
-
style={{ display: 'flex', alignItems: 'center', gap: 12 }}
|
|
25
|
-
>
|
|
26
|
-
<div
|
|
27
|
-
className="tw-relative tw-cursor-pointer"
|
|
28
|
-
style={{ position: 'relative', cursor: 'pointer' }}
|
|
29
|
-
onClick={() => onChange(value)}
|
|
30
|
-
>
|
|
31
|
-
{/* Hidden native radio input for accessibility */}
|
|
32
|
-
<input
|
|
33
|
-
id={id}
|
|
34
|
-
type="radio"
|
|
35
|
-
name={name}
|
|
36
|
-
value={value}
|
|
37
|
-
checked={checked}
|
|
38
|
-
onChange={() => onChange(value)}
|
|
39
|
-
className="tw-sr-only"
|
|
40
|
-
style={{ position: 'absolute', opacity: 0, pointerEvents: 'none', width: 0, height: 0 }}
|
|
41
|
-
/>
|
|
42
|
-
|
|
43
|
-
{/* Custom radio button circle */}
|
|
44
|
-
<div
|
|
45
|
-
className="tw-w-[47px] tw-h-[47px] tw-border-[3px] tw-border-black tw-rounded-full tw-bg-white tw-flex tw-items-center tw-justify-center tw-transition-all tw-duration-200 hover:tw-shadow-sm"
|
|
46
|
-
style={{
|
|
47
|
-
width: 52,
|
|
48
|
-
height: 52,
|
|
49
|
-
borderWidth: 3,
|
|
50
|
-
borderStyle: 'solid',
|
|
51
|
-
borderColor: '#000',
|
|
52
|
-
borderRadius: 9999,
|
|
53
|
-
background: '#fff',
|
|
54
|
-
display: 'flex',
|
|
55
|
-
alignItems: 'center',
|
|
56
|
-
justifyContent: 'center',
|
|
57
|
-
transition: 'all 200ms',
|
|
58
|
-
}}
|
|
59
|
-
>
|
|
60
|
-
{/* Inner filled circle when selected */}
|
|
61
|
-
{checked && (
|
|
62
|
-
<div
|
|
63
|
-
className="tw-w-[30px] tw-h-[30px] tw-bg-slate-900 tw-rounded-full"
|
|
64
|
-
style={{ width: 30, height: 30, background: '#0f172a', borderRadius: 9999 }}
|
|
65
|
-
/>
|
|
66
|
-
)}
|
|
67
|
-
</div>
|
|
68
|
-
</div>
|
|
69
|
-
|
|
70
|
-
{label && (
|
|
71
|
-
<label
|
|
72
|
-
htmlFor={id}
|
|
73
|
-
className="tw-cursor-pointer tw-text-gray-700 tw-select-none tw-flex tw-items-center tw-leading-none"
|
|
74
|
-
style={{ cursor: 'pointer', color: '#374151', userSelect: 'none', display: 'inline-flex', alignItems: 'center', lineHeight: 1, position: 'relative', top: 5 }}
|
|
75
|
-
onClick={() => onChange(value)}
|
|
76
|
-
>
|
|
77
|
-
{label}
|
|
78
|
-
</label>
|
|
79
|
-
)}
|
|
80
|
-
</div>
|
|
81
|
-
);
|
|
82
|
-
};
|
|
83
|
-
|
|
84
|
-
export default RadioButton;
|
|
File without changes
|