@calcom/atoms 1.0.101 → 1.0.102-booker
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/README.md +18 -1
- package/dist/{AddressInput-ljX96GOj.js → AddressInput-SsWYIER6.js} +3 -3
- package/dist/{AlbyPriceComponent--ArQtxNB.js → AlbyPriceComponent-ZTDUjSTR.js} +29 -29
- package/dist/{PhoneInput-PVqJ__ZZ.js → PhoneInput-OrfnJILr.js} +1 -1
- package/dist/cal-atoms.js +5 -36
- package/dist/{index-7oHjpn4P.js → index-21QJFBtu.js} +1 -1
- package/dist/index-XAs7JDE6.js +1956 -0
- package/dist/index-iUtbhTr7.js +82554 -0
- package/dist/packages/features/bookings/Booker/Booker.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/AvailableTimeSlots.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/BookEventForm/BookEventForm.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/BookEventForm/BookFormAsModal.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/BookEventForm/BookingFields.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/DatePicker.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/DryRunMessage.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/InstantBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/LargeCalendar.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/OutOfOfficeInSlots.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/OverlayCalendar/OverlayCalendar.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/RedirectToInstantMeetingModal.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useBookerLayout.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useBookingForm.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useBookings.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts +84 -6
- package/dist/packages/features/bookings/Booker/components/hooks/useCalendars.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useOverlayCalendar.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useSkipConfirmStep.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useSlots.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useVerifyCode.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/hooks/useVerifyEmail.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/config.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/store.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/types.d.ts +1 -0
- package/dist/packages/features/bookings/Booker/types.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/dates.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/event.d.ts +25 -3
- package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/getBookerTimezone.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/isBookingDryRun.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/isFeatureEnabledForVisitor.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/isSlotEquivalent.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/isTimeslotAvailable.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/lastBookingResponse.d.ts +1 -1
- package/dist/packages/features/bookings/Booker/utils/lastBookingResponse.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/layout.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/query-param.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/use-brand-colors.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/book-event-form/booking-to-mutation-input-mapper.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/create-booking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/create-instant-booking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/doesBookingRequireConfirmation.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/get-booking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getAllCredentialsForUsersOnEvent/getAllCredentials.d.ts +1 -1
- package/dist/packages/features/bookings/lib/getAllCredentialsForUsersOnEvent/getAllCredentials.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getAllCredentialsForUsersOnEvent/refreshCredentials.d.ts +1 -6
- package/dist/packages/features/bookings/lib/getAllCredentialsForUsersOnEvent/refreshCredentials.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingFields.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingInfo.d.ts +16 -0
- package/dist/packages/features/bookings/lib/getBookingInfo.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingResponsesSchema.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +3 -0
- package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getCalEventResponses.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getLocationOptionsForSelect.d.ts +1 -1
- package/dist/packages/features/bookings/lib/getUserBooking.d.ts +8 -0
- package/dist/packages/features/bookings/lib/getUserBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getWebhookPayloadForBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/addVideoCallDataToEvent.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/checkIfBookerEmailIsBlocked.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts +2 -3
- package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +611 -3
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/findBookingQuery.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts +180 -3
- package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +1192 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +9 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getLocationValuesForDb.d.ts +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getLocationValuesForDb.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getRequiresConfirmationFlags.d.ts +1 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getRequiresConfirmationFlags.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getSeatedBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts +2 -2
- package/dist/packages/features/bookings/lib/handleNewBooking/loadAndValidateUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +2 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/logger.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/scheduleNoShowTriggers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/test/buildDryRunBooking.test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/test/buildDryRunBooking.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/test/buildEventForTeamEventType.test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/test/buildEventForTeamEventType.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/test/team-bookings/seatedRoundRobin.test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/test/team-bookings/seatedRoundRobin.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/validateBookingTimeIsNotOutOfBounds.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/validateEventLength.d.ts +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/validateEventLength.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking.d.ts +98 -1
- package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewRecurringBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/cancel/cancelAttendeeSeat.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/handleSeats.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/lib/lastAttendeeDeleteBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/attendee/attendeeRescheduleSeatedBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/combineTwoSeatedBookings.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/moveSeatedBookingToNewTimeSlot.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/owner/ownerRescheduleSeatedBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleSeats/reschedule/rescheduleSeatedBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleWebhookTrigger.d.ts +2 -2
- package/dist/packages/features/bookings/lib/handleWebhookTrigger.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts +122 -0
- package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts.map +1 -0
- package/dist/packages/features/bookings/types.d.ts +1 -1
- package/dist/packages/features/bookings/types.d.ts.map +1 -1
- package/dist/packages/features/data-table/DataTableProvider.d.ts +1 -0
- package/dist/packages/features/data-table/DataTableProvider.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/DataTable.d.ts +2 -1
- package/dist/packages/features/data-table/components/DataTable.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/DataTableWrapper.d.ts +3 -1
- package/dist/packages/features/data-table/components/DataTableWrapper.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/filters/ActiveFilters.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/filters/ClearFiltersButton.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/filters/DateRangeFilter.d.ts +2 -1
- package/dist/packages/features/data-table/components/filters/DateRangeFilter.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/filters/FilterPopover.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/filters/index.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/filters/useFilterPopoverOpen.d.ts +5 -0
- package/dist/packages/features/data-table/components/filters/useFilterPopoverOpen.d.ts.map +1 -0
- package/dist/packages/features/data-table/components/filters/utils.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/segment/DeleteSegmentDialog.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/segment/FilterSegmentSelect.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/segment/SaveFilterSegmentButton.d.ts.map +1 -1
- package/dist/packages/features/data-table/hooks/useColumnSizingVars.d.ts.map +1 -1
- package/dist/packages/features/data-table/hooks/useFetchMoreOnBottomReached.d.ts.map +1 -1
- package/dist/packages/features/data-table/index.d.ts +1 -0
- package/dist/packages/features/data-table/index.d.ts.map +1 -1
- package/dist/packages/features/data-table/lib/dateRange.d.ts.map +1 -1
- package/dist/packages/features/data-table/lib/parsers.d.ts +127 -0
- package/dist/packages/features/data-table/lib/parsers.d.ts.map +1 -0
- package/dist/packages/features/data-table/lib/serializers.d.ts +90 -0
- package/dist/packages/features/data-table/lib/serializers.d.ts.map +1 -0
- package/dist/packages/features/data-table/lib/server.d.ts +11 -0
- package/dist/packages/features/data-table/lib/server.d.ts.map +1 -1
- package/dist/packages/features/data-table/lib/types.d.ts +2 -1
- package/dist/packages/features/data-table/lib/types.d.ts.map +1 -1
- package/dist/packages/features/data-table/lib/utils.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/api/webhook/__handler.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_checkout.session.completed.d.ts +6 -0
- package/dist/packages/features/ee/billing/api/webhook/_checkout.session.completed.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.deleted.team-plan.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.org.d.ts +2 -2
- package/dist/packages/features/ee/billing/api/webhook/_invoice.paid.org.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_payment_intent.succeeded.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/api/webhook/index.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/billing-service.d.ts +1 -0
- package/dist/packages/features/ee/billing/billing-service.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/credit-service.d.ts +64 -0
- package/dist/packages/features/ee/billing/credit-service.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/credit-service.test.d.ts +2 -0
- package/dist/packages/features/ee/billing/credit-service.test.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/stripe-billling-service.d.ts +11 -0
- package/dist/packages/features/ee/billing/stripe-billling-service.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/teams/internal-team-billing.d.ts +5 -0
- package/dist/packages/features/ee/billing/teams/internal-team-billing.d.ts.map +1 -1
- package/dist/packages/features/ee/payments/components/Payment.d.ts.map +1 -1
- package/dist/packages/features/ee/payments/pages/payment.d.ts +4 -0
- package/dist/packages/features/ee/payments/pages/payment.d.ts.map +1 -1
- package/dist/packages/features/ee/round-robin/assignmentReason/AssignmentReasonRecorder.d.ts +49 -6
- package/dist/packages/features/ee/round-robin/assignmentReason/AssignmentReasonRecorder.d.ts.map +1 -1
- package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts +4 -1
- package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts.map +1 -1
- package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts.map +1 -1
- package/dist/packages/features/ee/round-robin/roundRobinReassignment.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/api/handleSMSResponse.d.ts +7 -0
- package/dist/packages/features/ee/workflows/api/handleSMSResponse.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/api/scheduleSMSReminders.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/api/scheduleWhatsappReminders.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/AddActionDialog.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/DeleteDialog.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/TimeTimeUnitInput.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/WorkflowStepContainer.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/compareReminderBodyToTemplate.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/getAllWorkflows.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/getOptions.d.ts +2 -2
- package/dist/packages/features/ee/workflows/lib/getOptions.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts +4 -1
- package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts +2 -0
- package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/messageDispatcher.d.ts +42 -0
- package/dist/packages/features/ee/workflows/lib/reminders/messageDispatcher.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/lib/reminders/providers/twilioProvider.d.ts +35 -2
- package/dist/packages/features/ee/workflows/lib/reminders/providers/twilioProvider.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts +5 -1
- package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.test.d.ts +2 -0
- package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.test.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/lib/reminders/scheduleMandatoryReminder.d.ts +2 -2
- package/dist/packages/features/ee/workflows/lib/reminders/scheduleMandatoryReminder.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts +2 -0
- package/dist/packages/features/ee/workflows/lib/reminders/smsReminderManager.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/customTemplate.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/emailRatingTemplate.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/smsReminderTemplate.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventCancelledTemplate.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventCompletedTemplate.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventReminderTemplate.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/templates/whatsapp/whatsappEventRescheduledTemplate.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/utils.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/verifyPhoneNumber.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/whatsappReminderManager.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/repository/workflowOptOutContact.d.ts +6 -0
- package/dist/packages/features/ee/workflows/lib/repository/workflowOptOutContact.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts +18 -0
- package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/lib/service/workflowOptOutService.d.ts +5 -0
- package/dist/packages/features/ee/workflows/lib/service/workflowOptOutService.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/components/AddMembersWithSwitch.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/AssignAllTeamMembers.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/CheckedTeamSelect.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/CheckedUserSelect.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/ChildrenEventTypeSelect.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/DuplicateDialog.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/EditWeightsForAllTeamMembers.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/EventType.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/EventTypeDescription.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/HostEditDialogs.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/MultiDropdownSelect.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/MultiplePrivateLinksController.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/SkeletonLoader.d.ts +0 -1
- package/dist/packages/features/eventtypes/components/SkeletonLoader.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/dialogs/AssignmentWarningDialog.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/advanced/DisableAllEmailsSetting.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts +4 -1
- package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/ai/EventAITab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/apps/EventAppsTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/assignment/EventTeamAssignmentTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/availability/EventAvailabilityTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/instant/EventInstantTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/limits/EventLimitsTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/recurring/EventRecurringTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/setup/EventSetupTab.d.ts +4 -0
- package/dist/packages/features/eventtypes/components/tabs/setup/EventSetupTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/webhooks/EventWebhooksTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/workflows/EventWorkfowsTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +21 -0
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/types.d.ts +2 -0
- package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
- package/dist/packages/features/form-builder/Components.d.ts.map +1 -1
- package/dist/packages/features/form-builder/FormBuilder.d.ts.map +1 -1
- package/dist/packages/features/form-builder/FormBuilderField.d.ts.map +1 -1
- package/dist/packages/features/form-builder/schema.d.ts.map +1 -1
- package/dist/packages/features/form-builder/useShouldBeDisabledDueToPrefill.d.ts.map +1 -1
- package/dist/packages/features/form-builder/utils/getFieldIdentifier.d.ts.map +1 -1
- package/dist/packages/features/form-builder/utils/variantsConfig.d.ts +1 -1
- package/dist/packages/features/form-builder/utils/variantsConfig.d.ts.map +1 -1
- package/dist/packages/features/form-builder/utils.d.ts.map +1 -1
- package/dist/packages/features/schedules/components/DateOverrideInputDialog.d.ts.map +1 -1
- package/dist/packages/features/schedules/components/DateOverrideList.d.ts.map +1 -1
- package/dist/packages/features/schedules/components/Schedule.d.ts.map +1 -1
- package/dist/packages/features/schedules/components/ScheduleListItem.d.ts.map +1 -1
- package/dist/packages/features/schedules/lib/use-schedule/useApiV2AvailableSlots.d.ts +6 -0
- package/dist/packages/features/schedules/lib/use-schedule/useApiV2AvailableSlots.d.ts.map +1 -0
- package/dist/packages/features/schedules/lib/use-schedule/useNonEmptyScheduleDays.d.ts.map +1 -1
- package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts +232 -84
- package/dist/packages/features/schedules/lib/use-schedule/useSchedule.d.ts.map +1 -1
- package/dist/packages/features/schedules/lib/use-schedule/useSlotsForDate.d.ts.map +1 -1
- package/dist/packages/features/schedules/lib/use-schedule/useTimesForSchedule.d.ts.map +1 -1
- package/dist/packages/features/shell/banners/useBanners.d.ts.map +1 -1
- package/dist/packages/features/shell/navigation/Navigation.d.ts.map +1 -1
- package/dist/packages/features/shell/useBottomNavItems.d.ts.map +1 -1
- package/dist/packages/platform/atoms/add-members-switch/AddMembersWithSwitchPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts.map +1 -1
- package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/booker/BookerPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/booker/types.d.ts +1 -0
- package/dist/packages/platform/atoms/booker/types.d.ts.map +1 -1
- package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts +1 -0
- package/dist/packages/platform/atoms/booker-embed/BookerEmbed.d.ts.map +1 -1
- package/dist/packages/platform/atoms/booker-embed/useGetRoutingFormUrlProps.d.ts.map +1 -1
- package/dist/packages/platform/atoms/calendar-settings/wrappers/CalendarSettingsPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/OAuthConnect.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/ConferencingAppsViewPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +4 -0
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomGetEventTypes.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomsGetInstalledConferencingApps.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useConnect.d.ts +3 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useConnect.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useDeleteCredential.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useGetDefaultConferencingApp.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useUpdateUserDefaultConferencingApp.d.ts.map +1 -1
- package/dist/packages/platform/atoms/destination-calendar/DestinationCalendar.d.ts.map +1 -1
- package/dist/packages/platform/atoms/destination-calendar/DestinationCalendarSelector.d.ts.map +1 -1
- package/dist/packages/platform/atoms/destination-calendar/wrappers/DestinationCalendarSettingsPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.d.ts +43 -23
- package/dist/packages/platform/atoms/event-types/atom-api-transformers/transformApiEventTypeForAtom.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeAppIntegration.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +10 -0
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts +4 -0
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAtomHostSchedules.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +12 -0
- package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useEventTypeForm.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useHandleRouteChange.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/usePlatformTabsNavigations.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useTabsNavigations.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useTeamMembersWithSegment.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/payments/PaymentForm.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/payments/StripePaymentForm.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/CreateEventTypePlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventAdvancedPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventAvailabilityTabPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventLimitsTabPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventPaymentsTabPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventRecurringTabPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventSetupTabPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventTeamAssignmentTabPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/EventTypePlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useBooking.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useBookings.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useCancelBooking.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useCreateBooking.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useHandleBookEvent.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/calendars/useAddSelectedCalendar.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/calendars/useDeleteCalendarCredentials.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/calendars/useRemoveSelectedCalendar.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/calendars/useUpdateDestinationCalendars.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/connect/useCheck.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/connect/useConnect.d.ts +2 -4
- package/dist/packages/platform/atoms/hooks/connect/useConnect.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +4 -0
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts +4 -0
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateTeamEventType.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts +4 -0
- package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteTeamEventTypeById.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/private/useEventTypeById.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/public/useEventType.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/public/useEventTypes.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/public/useTeamEventType.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/public/useTeamEventTypes.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/organizations/bookings/useOrganizationBookings.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/organizations/bookings/useOrganizationUserBookings.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/schedules/useDeleteSchedule.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/schedules/useSchedule.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/schedules/useUpdateSchedule.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/stripe/useCheck.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/stripe/useConnect.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/teams/useTeamMembers.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/useAvailableSlots.d.ts +0 -2
- package/dist/packages/platform/atoms/hooks/useAvailableSlots.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/useCalendarsBusyTimes.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts +84 -6
- package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/useDeleteSelectedSlot.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/useOAuthClient.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/useOAuthFlow.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts +21 -0
- package/dist/packages/platform/atoms/hooks/usePublicEvent.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/useReserveSlot.d.ts +2 -2
- package/dist/packages/platform/atoms/hooks/useReserveSlot.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/useSlots.d.ts +2 -1
- package/dist/packages/platform/atoms/hooks/useSlots.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/useTimezone.d.ts.map +1 -1
- package/dist/packages/platform/atoms/index.d.ts +0 -32
- package/dist/packages/platform/atoms/index.d.ts.map +1 -1
- package/dist/packages/platform/atoms/lib/getPlaceholderContent.d.ts.map +1 -1
- package/dist/packages/platform/atoms/lib/getQueryParam.d.ts.map +1 -1
- package/dist/packages/platform/atoms/lib/setQueryParam.d.ts.map +1 -1
- package/dist/packages/platform/atoms/lib/useLocale.d.ts +10 -0
- package/dist/packages/platform/atoms/lib/useLocale.d.ts.map +1 -0
- package/dist/packages/platform/atoms/router/Router.d.ts +1 -1
- package/dist/packages/platform/atoms/router/Router.d.ts.map +1 -1
- package/dist/packages/platform/atoms/selected-calendars/SelectedCalendarsSettings.d.ts.map +1 -1
- package/dist/packages/platform/atoms/selected-calendars/wrappers/SelectedCalendarsSettingsPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/src/components/atoms-wrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/src/components/ui/dialog.d.ts +4 -4
- package/dist/packages/platform/atoms/src/components/ui/dialog.d.ts.map +1 -1
- package/dist/packages/platform/atoms/src/components/ui/shell.d.ts.map +1 -1
- package/dist/packages/platform/atoms/src/components/ui/switch.d.ts +1 -1
- package/dist/packages/platform/atoms/src/components/ui/toast.d.ts +5 -5
- package/dist/packages/platform/atoms/src/components/ui/use-toast.d.ts.map +1 -1
- package/dist/packages/platform/atoms/src/lib/timeZones.d.ts.map +1 -1
- package/dist/packages/platform/atoms/vite.config.d.ts.map +1 -1
- package/dist/packages/platform/libraries/emails.d.ts +6 -0
- package/dist/packages/platform/libraries/emails.d.ts.map +1 -1
- package/dist/packages/platform/libraries/event-types.d.ts +1 -1
- package/dist/packages/platform/libraries/event-types.d.ts.map +1 -1
- package/dist/packages/platform/libraries/index.d.ts +4 -0
- package/dist/packages/platform/libraries/index.d.ts.map +1 -1
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts +3 -3
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/create-booking.input.d.ts.map +1 -1
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/location.input.d.ts +1 -1
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/location.input.d.ts.map +1 -1
- package/dist/packages/platform/types/bookings/2024-08-13/inputs/validators/validate-metadata.d.ts.map +1 -1
- package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-bookings.output.d.ts +10 -0
- package/dist/packages/platform/types/bookings/2024-08-13/outputs/get-bookings.output.d.ts.map +1 -1
- package/dist/packages/platform/types/calendars/index.d.ts +2 -0
- package/dist/packages/platform/types/calendars/index.d.ts.map +1 -0
- package/dist/packages/platform/types/{calendars.d.ts → calendars/inputs/busy-times.input.d.ts} +1 -1
- package/dist/packages/platform/types/calendars/inputs/busy-times.input.d.ts.map +1 -0
- package/dist/packages/platform/types/calendars/inputs/create-calendar-credentials.input.d.ts +5 -0
- package/dist/packages/platform/types/calendars/inputs/create-calendar-credentials.input.d.ts.map +1 -0
- package/dist/packages/platform/types/calendars/inputs/index.d.ts +3 -0
- package/dist/packages/platform/types/calendars/inputs/index.d.ts.map +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booker-layouts.input.d.ts +5 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booker-layouts.input.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booking-fields.input.d.ts +5 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booking-fields.input.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booking-limits-count.input.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booking-limits-duration.input.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/booking-window.input.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/confirmation-policy.input.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/create-event-type.input.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/locations.input.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/inputs/update-event-type.input.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/booking-fields.output.d.ts +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/booking-fields.output.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts +1 -0
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/event-type.output.d.ts.map +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/locations.output.d.ts +1 -1
- package/dist/packages/platform/types/event-types/event-types_2024_06_14/outputs/locations.output.d.ts.map +1 -1
- package/dist/packages/platform/types/routing-forms/responses/routing-form-response.output.d.ts +1 -1
- package/dist/packages/platform/types/slots/slots-2024-04-15/inputs/index.d.ts +8 -0
- package/dist/packages/platform/types/slots/slots-2024-04-15/inputs/index.d.ts.map +1 -1
- package/dist/packages/platform/utils/permissions.d.ts.map +1 -1
- package/dist/packages/prisma/zod/app_routingforms_formresponse.d.ts +3 -1
- package/dist/packages/prisma/zod/app_routingforms_formresponse.d.ts.map +1 -1
- package/dist/packages/prisma/zod/booking.d.ts +3 -1
- package/dist/packages/prisma/zod/booking.d.ts.map +1 -1
- package/dist/packages/prisma/zod/bookingdenormalized.d.ts +84 -0
- package/dist/packages/prisma/zod/bookingdenormalized.d.ts.map +1 -0
- package/dist/packages/prisma/zod/bookingtimestatusdenormalized.d.ts +87 -0
- package/dist/packages/prisma/zod/bookingtimestatusdenormalized.d.ts.map +1 -0
- package/dist/packages/prisma/zod/calendarcache.d.ts +3 -0
- package/dist/packages/prisma/zod/calendarcache.d.ts.map +1 -1
- package/dist/packages/prisma/zod/credential.d.ts +5 -1
- package/dist/packages/prisma/zod/credential.d.ts.map +1 -1
- package/dist/packages/prisma/zod/creditbalance.d.ts +36 -0
- package/dist/packages/prisma/zod/creditbalance.d.ts.map +1 -0
- package/dist/packages/prisma/zod/creditexpenselog.d.ts +41 -0
- package/dist/packages/prisma/zod/creditexpenselog.d.ts.map +1 -0
- package/dist/packages/prisma/zod/custom/eventtype.d.ts +40 -0
- package/dist/packages/prisma/zod/custom/eventtype.d.ts.map +1 -1
- package/dist/packages/prisma/zod/delegationcredential.d.ts +2 -1
- package/dist/packages/prisma/zod/delegationcredential.d.ts.map +1 -1
- package/dist/packages/prisma/zod/eventtype.d.ts +44 -0
- package/dist/packages/prisma/zod/eventtype.d.ts.map +1 -1
- package/dist/packages/prisma/zod/index.d.ts +7 -0
- package/dist/packages/prisma/zod/index.d.ts.map +1 -1
- package/dist/packages/prisma/zod/membership.d.ts +6 -0
- package/dist/packages/prisma/zod/membership.d.ts.map +1 -1
- package/dist/packages/prisma/zod/organizationsettings.d.ts +3 -0
- package/dist/packages/prisma/zod/organizationsettings.d.ts.map +1 -1
- package/dist/packages/prisma/zod/platformbilling.d.ts +3 -0
- package/dist/packages/prisma/zod/platformbilling.d.ts.map +1 -1
- package/dist/packages/prisma/zod/role.d.ts +41 -0
- package/dist/packages/prisma/zod/role.d.ts.map +1 -0
- package/dist/packages/prisma/zod/rolepermission.d.ts +31 -0
- package/dist/packages/prisma/zod/rolepermission.d.ts.map +1 -0
- package/dist/packages/prisma/zod/routingformresponse.d.ts +2 -2
- package/dist/packages/prisma/zod/routingformresponsedenormalized.d.ts +102 -0
- package/dist/packages/prisma/zod/routingformresponsedenormalized.d.ts.map +1 -0
- package/dist/packages/prisma/zod/routingformresponsefield.d.ts +35 -0
- package/dist/packages/prisma/zod/routingformresponsefield.d.ts.map +1 -0
- package/dist/packages/prisma/zod/team.d.ts +2 -1
- package/dist/packages/prisma/zod/team.d.ts.map +1 -1
- package/dist/packages/prisma/zod/user.d.ts +2 -1
- package/dist/packages/prisma/zod/user.d.ts.map +1 -1
- package/dist/packages/prisma/zod/workflowoptoutcontact.d.ts +27 -0
- package/dist/packages/prisma/zod/workflowoptoutcontact.d.ts.map +1 -0
- package/dist/packages/prisma/zod-utils.d.ts +96 -0
- package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
- package/dist/packages/prisma-client/index.d.ts +26559 -11424
- package/dist/packages/trpc/react/hooks/useEmailVerifyCheck.d.ts +11 -2
- package/dist/packages/trpc/react/hooks/useEmailVerifyCheck.d.ts.map +1 -1
- package/dist/packages/trpc/react/hooks/useMeQuery.d.ts +11 -2
- package/dist/packages/trpc/react/hooks/useMeQuery.d.ts.map +1 -1
- package/dist/packages/trpc/react/shared.d.ts +1 -1
- package/dist/packages/trpc/react/shared.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts +15 -6
- package/dist/packages/trpc/server/routers/viewer/slots/_router.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/slots/getSchedule.handler.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/slots/handleNotificationWhenNoSlots.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/slots/isAvailable.handler.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/slots/reserveSlot.handler.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts +2 -2
- package/dist/packages/trpc/server/routers/viewer/slots/types.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +303 -13
- package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -3
- package/dist/AppCard-xRrhcyow.js +0 -162
- package/dist/AppListCardPlatformWrapper-iE_KoJJz.js +0 -9
- package/dist/AppListCardWebWrapper-XQkboW-A.js +0 -74
- package/dist/AppSettingsInterface-Yokg1R5e.js +0 -29
- package/dist/AppSettingsInterface-_QxvdIHr.js +0 -75
- package/dist/AppSettingsInterface-hweGTkAI.js +0 -23
- package/dist/DateRangePicker-F9HOeX4I.js +0 -2418
- package/dist/EventTypeAppCardInterface-0XruIPBf.js +0 -41
- package/dist/EventTypeAppCardInterface-1ZEoYers.js +0 -34
- package/dist/EventTypeAppCardInterface-41c-etQb.js +0 -24
- package/dist/EventTypeAppCardInterface-6lncfu0H.js +0 -24
- package/dist/EventTypeAppCardInterface-6qEGBpiE.js +0 -34
- package/dist/EventTypeAppCardInterface-9DgXPWbh.js +0 -51
- package/dist/EventTypeAppCardInterface-Hu4nTaNm.js +0 -24
- package/dist/EventTypeAppCardInterface-HzzLujZJ.js +0 -41
- package/dist/EventTypeAppCardInterface-ImWU0nbu.js +0 -34
- package/dist/EventTypeAppCardInterface-KTvwKoZp.js +0 -49
- package/dist/EventTypeAppCardInterface-LStyD24r.js +0 -32
- package/dist/EventTypeAppCardInterface-Ri7zlKki.js +0 -526
- package/dist/EventTypeAppCardInterface-TNJ-n2uU.js +0 -24
- package/dist/EventTypeAppCardInterface-X9N_qajz.js +0 -34
- package/dist/EventTypeAppCardInterface-_6rEgHys.js +0 -42
- package/dist/EventTypeAppCardInterface-_LSGnI_j.js +0 -31
- package/dist/EventTypeAppCardInterface-_ZueJNzP.js +0 -24
- package/dist/EventTypeAppCardInterface-eYhGvYx2.js +0 -34
- package/dist/EventTypeAppCardInterface-iFfUUper.js +0 -42
- package/dist/EventTypeAppCardInterface-ihd1dVU4.js +0 -39
- package/dist/EventTypeAppCardInterface-mLgPR301.js +0 -33
- package/dist/EventTypeAppCardInterface-nuD4okpy.js +0 -86
- package/dist/EventTypeAppCardInterface-smWUxvN0.js +0 -34
- package/dist/EventTypeAppCardInterface-tv38JUda.js +0 -51
- package/dist/EventTypeAppCardInterface-w_0z5zlD.js +0 -32
- package/dist/EventTypeAppCardInterface-wgZe_Ofg.js +0 -34
- package/dist/EventTypeAppSettingsInterface-1LlsqP0W.js +0 -23
- package/dist/EventTypeAppSettingsInterface-2pQN1OGk.js +0 -24
- package/dist/EventTypeAppSettingsInterface-5BIvQr77.js +0 -25
- package/dist/EventTypeAppSettingsInterface-9O9w0xgs.js +0 -72
- package/dist/EventTypeAppSettingsInterface-B1xYXFpt.js +0 -23
- package/dist/EventTypeAppSettingsInterface-C9Q0l9cT.js +0 -43
- package/dist/EventTypeAppSettingsInterface-Z1nqP5Qg.js +0 -120
- package/dist/EventTypeAppSettingsInterface-dN8YHzJm.js +0 -298
- package/dist/EventTypeAppSettingsInterface-h0cnVPv3.js +0 -221
- package/dist/EventTypeAppSettingsInterface-h62B0iUq.js +0 -48
- package/dist/EventTypeAppSettingsInterface-qQ8NC-lG.js +0 -42
- package/dist/EventTypeAppSettingsInterface-xlOnemZ9.js +0 -78
- package/dist/InstallAppButton-IY16xtI-.js +0 -14
- package/dist/InstallAppButton-JXhBVaYJ.js +0 -29
- package/dist/InstallAppButton-djNqJZP7.js +0 -58
- package/dist/InstallAppButton-loNdcyIF.js +0 -14
- package/dist/StripePaymentForm-MaOvyTtN.js +0 -493
- package/dist/currencyOptions-kannG2hu.js +0 -61
- package/dist/index-0i5XfWSB.js +0 -518
- package/dist/index-Aa5t8hn2.js +0 -28
- package/dist/index-LwkTy4i-.js +0 -157199
- package/dist/packages/features/schedules/components/index.d.ts +0 -7
- package/dist/packages/features/schedules/components/index.d.ts.map +0 -1
- package/dist/packages/features/schedules/index.d.ts +0 -4
- package/dist/packages/features/schedules/index.d.ts.map +0 -1
- package/dist/packages/features/schedules/lib/use-schedule/index.d.ts +0 -5
- package/dist/packages/features/schedules/lib/use-schedule/index.d.ts.map +0 -1
- package/dist/packages/platform/types/calendars.d.ts.map +0 -1
- package/dist/useIsAppEnabled-KtuZ9LXV.js +0 -18
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import { jsxs as u, Fragment as o, jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { useState as x, useEffect as P } from "react";
|
|
3
|
-
import { q as k, x as p, f as w, S as K } from "./index-LwkTy4i-.js";
|
|
4
|
-
const f = [
|
|
5
|
-
"BIF",
|
|
6
|
-
"CLP",
|
|
7
|
-
"DJF",
|
|
8
|
-
"GNF",
|
|
9
|
-
"JPY",
|
|
10
|
-
"KMF",
|
|
11
|
-
"KRW",
|
|
12
|
-
"MGA",
|
|
13
|
-
"PYG",
|
|
14
|
-
"RWF",
|
|
15
|
-
"UGX",
|
|
16
|
-
"VND",
|
|
17
|
-
"VUV",
|
|
18
|
-
"XAF",
|
|
19
|
-
"XOF",
|
|
20
|
-
"XPF"
|
|
21
|
-
], U = (e, a) => f.includes(a.toUpperCase()) ? e : Math.round(e * 100), _ = (e, a) => f.includes(a.toUpperCase()) ? e : e / 100, V = [
|
|
22
|
-
{
|
|
23
|
-
label: "on_booking_option",
|
|
24
|
-
value: "ON_BOOKING"
|
|
25
|
-
}
|
|
26
|
-
], r = [
|
|
27
|
-
{ label: "United States dollar (USD)", value: "usd" },
|
|
28
|
-
{ label: "Singapore dollar (SGD)", value: "sgd" },
|
|
29
|
-
{ label: "Malaysian ringgit (MYR)", value: "myr" },
|
|
30
|
-
{ label: "Indonesian rupiah (IDR)", value: "idr" },
|
|
31
|
-
{ label: "Japanese yen (JPY)", value: "jpy" },
|
|
32
|
-
{ label: "Hong Kong dollar (HKD)", value: "hkd" },
|
|
33
|
-
{ label: "Thai baht (THB)", value: "thb" },
|
|
34
|
-
{ label: "Australian dollar (AUD)", value: "aud" },
|
|
35
|
-
{ label: "New Zealand dollar (NZD)", value: "nzd" },
|
|
36
|
-
{ label: "British pound sterling (GBP)", value: "gbp" },
|
|
37
|
-
{ label: "Philippine peso (PHP)", value: "php" },
|
|
38
|
-
{ label: "Indian rupee (INR)", value: "inr" },
|
|
39
|
-
{ label: "Chinese yuan (CNY)", value: "cny" },
|
|
40
|
-
{ label: "Euro (EUR)", value: "eur" },
|
|
41
|
-
{ label: "Swiss franc (CHF)", value: "chf" },
|
|
42
|
-
{ label: "Danish krone (DKK)", value: "dkk" },
|
|
43
|
-
{ label: "Swedish krona (SEK)", value: "sek" },
|
|
44
|
-
{ label: "Norwegian krone (NOK)", value: "nok" },
|
|
45
|
-
{ label: "Vietnamese đồng (VND)", value: "vnd" },
|
|
46
|
-
{ label: "Canadian dollar (CAD)", value: "cad" },
|
|
47
|
-
{ label: "South Korean won (KRW)", value: "krw" }
|
|
48
|
-
], R = ({
|
|
49
|
-
getAppData: e,
|
|
50
|
-
setAppData: a,
|
|
51
|
-
disabled: h,
|
|
52
|
-
eventType: d
|
|
53
|
-
}) => {
|
|
54
|
-
var b;
|
|
55
|
-
const m = e("price"), t = e("currency") || r[0].value, [i, g] = x(
|
|
56
|
-
r.find((l) => l.value === t) || {
|
|
57
|
-
label: r[0].label,
|
|
58
|
-
value: r[0].value
|
|
59
|
-
}
|
|
60
|
-
), S = e("paymentOption"), c = e("enabled"), { t: s } = k(), v = ((b = d.recurringEvent) == null ? void 0 : b.count) !== void 0, N = !!d.seatsPerTimeSlot, C = (l, y) => 0 .toLocaleString(l, {
|
|
61
|
-
style: "currency",
|
|
62
|
-
currency: y,
|
|
63
|
-
minimumFractionDigits: 0,
|
|
64
|
-
maximumFractionDigits: 0
|
|
65
|
-
}).replace(/\d/g, "").trim();
|
|
66
|
-
P(() => {
|
|
67
|
-
c && (e("currency") || a("currency", r[0].value), e("paymentOption") || a("paymentOption", V[0].value));
|
|
68
|
-
}, [c, e, a]);
|
|
69
|
-
const F = (l) => {
|
|
70
|
-
const O = Math.floor(l).toString();
|
|
71
|
-
return parseInt(O);
|
|
72
|
-
};
|
|
73
|
-
return /* @__PURE__ */ u(o, { children: [
|
|
74
|
-
v && /* @__PURE__ */ n(p, { className: "mt-2", severity: "warning", title: s("warning_recurring_event_payment") }),
|
|
75
|
-
!v && c && /* @__PURE__ */ u(o, { children: [
|
|
76
|
-
/* @__PURE__ */ n("div", { className: "mt-4 block items-center justify-start sm:flex sm:space-x-2", children: /* @__PURE__ */ n(
|
|
77
|
-
w,
|
|
78
|
-
{
|
|
79
|
-
"data-testid": "stripe-price-input",
|
|
80
|
-
label: s("price"),
|
|
81
|
-
className: "h-[38px]",
|
|
82
|
-
addOnLeading: /* @__PURE__ */ n(o, { children: i.value ? C("en", i.value) : "" }),
|
|
83
|
-
addOnSuffix: t.toUpperCase(),
|
|
84
|
-
addOnClassname: "h-[38px]",
|
|
85
|
-
step: "1",
|
|
86
|
-
min: "1",
|
|
87
|
-
type: "number",
|
|
88
|
-
required: !0,
|
|
89
|
-
placeholder: "Price",
|
|
90
|
-
disabled: h,
|
|
91
|
-
onChange: (l) => {
|
|
92
|
-
a("price", U(Number(l.target.value), t));
|
|
93
|
-
},
|
|
94
|
-
value: m > 0 ? F(_(m, t)) : void 0
|
|
95
|
-
}
|
|
96
|
-
) }),
|
|
97
|
-
/* @__PURE__ */ u("div", { className: "mt-5 w-60", children: [
|
|
98
|
-
/* @__PURE__ */ n("label", { className: "text-default mb-1 block text-sm font-medium", htmlFor: "currency", children: s("currency") }),
|
|
99
|
-
/* @__PURE__ */ n(
|
|
100
|
-
K,
|
|
101
|
-
{
|
|
102
|
-
"data-testid": "stripe-currency-select",
|
|
103
|
-
variant: "default",
|
|
104
|
-
options: r,
|
|
105
|
-
value: i,
|
|
106
|
-
className: "text-black",
|
|
107
|
-
defaultValue: i,
|
|
108
|
-
onChange: (l) => {
|
|
109
|
-
l && (g(l), a("currency", l.value));
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
)
|
|
113
|
-
] }),
|
|
114
|
-
N && S === "HOLD" && /* @__PURE__ */ n(p, { className: "mt-2", severity: "warning", title: s("seats_and_no_show_fee_error") })
|
|
115
|
-
] })
|
|
116
|
-
] });
|
|
117
|
-
};
|
|
118
|
-
export {
|
|
119
|
-
R as default
|
|
120
|
-
};
|
|
@@ -1,298 +0,0 @@
|
|
|
1
|
-
import { jsxs as u, Fragment as f, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { a1 as d, q as L, a2 as i, x as P, f as w, G as T, J as O, S as y, a3 as E, a4 as x, M as B, a5 as F, a6 as G } from "./index-LwkTy4i-.js";
|
|
3
|
-
import { useState as K, useEffect as z } from "react";
|
|
4
|
-
const s = [
|
|
5
|
-
{ label: "United States dollar (USD)", value: "usd" },
|
|
6
|
-
{ label: "United Arab Emirates dirham (AED)", value: "aed" },
|
|
7
|
-
{ label: "Afghan afghani (AFN)", value: "afn" },
|
|
8
|
-
{ label: "Albanian lek (ALL)", value: "all" },
|
|
9
|
-
{ label: "Armenian dram (AMD)", value: "amd" },
|
|
10
|
-
{ label: "Netherlands Antillean guilder (ANG)", value: "ang" },
|
|
11
|
-
{ label: "Angolan kwanza (AOA)", value: "aoa" },
|
|
12
|
-
{ label: "Argentine peso (ARS)", value: "ars" },
|
|
13
|
-
{ label: "Australian dollar (AUD)", value: "aud" },
|
|
14
|
-
{ label: "Aruban florin (AWG)", value: "awg" },
|
|
15
|
-
{ label: "Azerbaijani manat (AZN)", value: "azn" },
|
|
16
|
-
{ label: "Bosnia and Herzegovina convertible mark (BAM)", value: "bam" },
|
|
17
|
-
{ label: "Barbadian dollar (BBD)", value: "bbd" },
|
|
18
|
-
{ label: "Bangladeshi taka (BDT)", value: "bdt" },
|
|
19
|
-
{ label: "Bulgarian lev (BGN)", value: "bgn" },
|
|
20
|
-
{ label: "Burundian franc (BIF)", value: "bif" },
|
|
21
|
-
{ label: "Bermudian dollar (BMD)", value: "bmd" },
|
|
22
|
-
{ label: "Brunei dollar (BND)", value: "bnd" },
|
|
23
|
-
{ label: "Bolivian boliviano (BOB)", value: "bob" },
|
|
24
|
-
{ label: "Brazilian real (BRL)", value: "brl" },
|
|
25
|
-
{ label: "Bahamian dollar (BSD)", value: "bsd" },
|
|
26
|
-
{ label: "Botswana pula (BWP)", value: "bwp" },
|
|
27
|
-
{ label: "Belarusian ruble (BYN)", value: "byn" },
|
|
28
|
-
{ label: "Belize dollar (BZD)", value: "bzd" },
|
|
29
|
-
{ label: "Canadian dollar (CAD)", value: "cad" },
|
|
30
|
-
{ label: "Congolese franc (CDF)", value: "cdf" },
|
|
31
|
-
{ label: "Swiss franc (CHF)", value: "chf" },
|
|
32
|
-
{ label: "Chilean peso (CLP)", value: "clp" },
|
|
33
|
-
{ label: "Chinese yuan (CNY)", value: "cny" },
|
|
34
|
-
{ label: "Colombian peso (COP)", value: "cop" },
|
|
35
|
-
{ label: "Costa Rican colón (CRC)", value: "crc" },
|
|
36
|
-
{ label: "Cape Verdean escudo (CVE)", value: "cve" },
|
|
37
|
-
{ label: "Czech koruna (CZK)", value: "czk" },
|
|
38
|
-
{ label: "Djiboutian franc (DJF)", value: "djf" },
|
|
39
|
-
{ label: "Danish krone (DKK)", value: "dkk" },
|
|
40
|
-
{ label: "Dominican peso (DOP)", value: "dop" },
|
|
41
|
-
{ label: "Algerian dinar (DZD)", value: "dzd" },
|
|
42
|
-
{ label: "Egyptian pound (EGP)", value: "egp" },
|
|
43
|
-
{ label: "Ethiopian birr (ETB)", value: "etb" },
|
|
44
|
-
{ label: "Euro (EUR)", value: "eur" },
|
|
45
|
-
{ label: "Fijian dollar (FJD)", value: "fjd" },
|
|
46
|
-
{ label: "Falkland Islands pound (FKP)", value: "fkp" },
|
|
47
|
-
{ label: "British pound sterling (GBP)", value: "gbp" },
|
|
48
|
-
{ label: "Georgian lari (GEL)", value: "gel" },
|
|
49
|
-
{ label: "Gibraltar pound (GIP)", value: "gip" },
|
|
50
|
-
{ label: "Gambian dalasi (GMD)", value: "gmd" },
|
|
51
|
-
{ label: "Guinean franc (GNF)", value: "gnf" },
|
|
52
|
-
{ label: "Guatemalan quetzal (GTQ)", value: "gtq" },
|
|
53
|
-
{ label: "Guyanese dollar (GYD)", value: "gyd" },
|
|
54
|
-
{ label: "Hong Kong dollar (HKD)", value: "hkd" },
|
|
55
|
-
{ label: "Honduran lempira (HNL)", value: "hnl" },
|
|
56
|
-
{ label: "Haitian gourde (HTG)", value: "htg" },
|
|
57
|
-
{ label: "Hungarian forint (HUF)", value: "huf" },
|
|
58
|
-
{ label: "Indonesian rupiah (IDR)", value: "idr" },
|
|
59
|
-
{ label: "Israeli new shekel (ILS)", value: "ils" },
|
|
60
|
-
{ label: "Indian rupee (INR)", value: "inr" },
|
|
61
|
-
{ label: "Icelandic króna (ISK)", value: "isk" },
|
|
62
|
-
{ label: "Jamaican dollar (JMD)", value: "jmd" },
|
|
63
|
-
{ label: "Japanese yen (JPY)", value: "jpy" },
|
|
64
|
-
{ label: "Kenyan shilling (KES)", value: "kes" },
|
|
65
|
-
{ label: "Kyrgyzstani som (KGS)", value: "kgs" },
|
|
66
|
-
{ label: "Cambodian riel (KHR)", value: "khr" },
|
|
67
|
-
{ label: "Comorian franc (KMF)", value: "kmf" },
|
|
68
|
-
{ label: "South Korean won (KRW)", value: "krw" },
|
|
69
|
-
{ label: "Cayman Islands dollar (KYD)", value: "kyd" },
|
|
70
|
-
{ label: "Kazakhstani tenge (KZT)", value: "kzt" },
|
|
71
|
-
{ label: "Laotian kip (LAK)", value: "lak" },
|
|
72
|
-
{ label: "Lebanese pound (LBP)", value: "lbp" },
|
|
73
|
-
{ label: "Sri Lankan rupee (LKR)", value: "lkr" },
|
|
74
|
-
{ label: "Liberian dollar (LRD)", value: "lrd" },
|
|
75
|
-
{ label: "Lesotho loti (LSL)", value: "lsl" },
|
|
76
|
-
{ label: "Moroccan dirham (MAD)", value: "mad" },
|
|
77
|
-
{ label: "Moldovan leu (MDL)", value: "mdl" },
|
|
78
|
-
{ label: "Malagasy ariary (MGA)", value: "mga" },
|
|
79
|
-
{ label: "Macedonian denar (MKD)", value: "mkd" },
|
|
80
|
-
{ label: "Myanmar kyat (MMK)", value: "mmk" },
|
|
81
|
-
{ label: "Mongolian tögrög (MNT)", value: "mnt" },
|
|
82
|
-
{ label: "Macanese pataca (MOP)", value: "mop" },
|
|
83
|
-
{ label: "Mauritian rupee (MUR)", value: "mur" },
|
|
84
|
-
{ label: "Maldivian rufiyaa (MVR)", value: "mvr" },
|
|
85
|
-
{ label: "Malawian kwacha (MWK)", value: "mwk" },
|
|
86
|
-
{ label: "Mexican peso (MXN)", value: "mxn" },
|
|
87
|
-
{ label: "Malaysian ringgit (MYR)", value: "myr" },
|
|
88
|
-
{ label: "Mozambican metical (MZN)", value: "mzn" },
|
|
89
|
-
{ label: "Namibian dollar (NAD)", value: "nad" },
|
|
90
|
-
{ label: "Nigerian naira (NGN)", value: "ngn" },
|
|
91
|
-
{ label: "Nicaraguan córdoba (NIO)", value: "nio" },
|
|
92
|
-
{ label: "Norwegian krone (NOK)", value: "nok" },
|
|
93
|
-
{ label: "Nepalese rupee (NPR)", value: "npr" },
|
|
94
|
-
{ label: "New Zealand dollar (NZD)", value: "nzd" },
|
|
95
|
-
{ label: "Panamanian balboa (PAB)", value: "pab" },
|
|
96
|
-
{ label: "Peruvian sol (PEN)", value: "pen" },
|
|
97
|
-
{ label: "Papua New Guinean kina (PGK)", value: "pgk" },
|
|
98
|
-
{ label: "Philippine peso (PHP)", value: "php" },
|
|
99
|
-
{ label: "Pakistani rupee (PKR)", value: "pkr" },
|
|
100
|
-
{ label: "Polish złoty (PLN)", value: "pln" },
|
|
101
|
-
{ label: "Paraguayan guaraní (PYG)", value: "pyg" },
|
|
102
|
-
{ label: "Qatari riyal (QAR)", value: "qar" },
|
|
103
|
-
{ label: "Romanian leu (RON)", value: "ron" },
|
|
104
|
-
{ label: "Serbian dinar (RSD)", value: "rsd" },
|
|
105
|
-
{ label: "Russian ruble (RUB)", value: "rub" },
|
|
106
|
-
{ label: "Rwandan franc (RWF)", value: "rwf" },
|
|
107
|
-
{ label: "Saudi riyal (SAR)", value: "sar" },
|
|
108
|
-
{ label: "Solomon Islands dollar (SBD)", value: "sbd" },
|
|
109
|
-
{ label: "Seychellois rupee (SCR)", value: "scr" },
|
|
110
|
-
{ label: "Swedish krona (SEK)", value: "sek" },
|
|
111
|
-
{ label: "Singapore dollar (SGD)", value: "sgd" },
|
|
112
|
-
{ label: "Saint Helena pound (SHP)", value: "shp" },
|
|
113
|
-
{ label: "Sierra Leonean leone (SLE)", value: "sle" },
|
|
114
|
-
{ label: "Somali shilling (SOS)", value: "sos" },
|
|
115
|
-
{ label: "Surinamese dollar (SRD)", value: "srd" },
|
|
116
|
-
{ label: "São Tomé and Príncipe dobra (STD)", value: "std" },
|
|
117
|
-
{ label: "Swazi lilangeni (SZL)", value: "szl" },
|
|
118
|
-
{ label: "Thai baht (THB)", value: "thb" },
|
|
119
|
-
{ label: "Tajikistani somoni (TJS)", value: "tjs" },
|
|
120
|
-
{ label: "Tongan paʻanga (TOP)", value: "top" },
|
|
121
|
-
{ label: "Turkish lira (TRY)", value: "try" },
|
|
122
|
-
{ label: "Trinidad and Tobago dollar (TTD)", value: "ttd" },
|
|
123
|
-
{ label: "New Taiwan dollar (TWD)", value: "twd" },
|
|
124
|
-
{ label: "Tanzanian shilling (TZS)", value: "tzs" },
|
|
125
|
-
{ label: "Ukrainian hryvnia (UAH)", value: "uah" },
|
|
126
|
-
{ label: "Ugandan shilling (UGX)", value: "ugx" },
|
|
127
|
-
{ label: "Uruguayan peso (UYU)", value: "uyu" },
|
|
128
|
-
{ label: "Uzbekistan som (UZS)", value: "uzs" },
|
|
129
|
-
{ label: "Vietnamese đồng (VND)", value: "vnd" },
|
|
130
|
-
{ label: "Vanuatu vatu (VUV)", value: "vuv" },
|
|
131
|
-
{ label: "Samoan tala (WST)", value: "wst" },
|
|
132
|
-
{ label: "Central African CFA franc (XAF)", value: "xaf" },
|
|
133
|
-
{ label: "East Caribbean dollar (XCD)", value: "xcd" },
|
|
134
|
-
{ label: "West African CFA franc (XOF)", value: "xof" },
|
|
135
|
-
{ label: "CFP franc (XPF)", value: "xpf" },
|
|
136
|
-
{ label: "Yemeni rial (YER)", value: "yer" },
|
|
137
|
-
{ label: "South African rand (ZAR)", value: "zar" },
|
|
138
|
-
{ label: "Zambian kwacha (ZMW)", value: "zmw" }
|
|
139
|
-
], V = ({
|
|
140
|
-
getAppData: r,
|
|
141
|
-
setAppData: e,
|
|
142
|
-
disabled: b,
|
|
143
|
-
eventType: h
|
|
144
|
-
}) => {
|
|
145
|
-
var k;
|
|
146
|
-
const g = r("price"), o = r("currency") || s[0].value, [t, D] = K(
|
|
147
|
-
s.find((a) => a.value === o) || {
|
|
148
|
-
label: s[0].label,
|
|
149
|
-
value: s[0].value
|
|
150
|
-
}
|
|
151
|
-
), v = r("paymentOption"), c = d.find((a) => v === a.value), m = r("enabled"), p = () => C.find((a) => a.value === (r("refundCountCalendarDays") === !0 ? 1 : 0)), { t: n } = L(), N = ((k = h.recurringEvent) == null ? void 0 : k.count) !== void 0, S = !!h.seatsPerTimeSlot, M = (a, R) => 0 .toLocaleString(a, {
|
|
152
|
-
style: "currency",
|
|
153
|
-
currency: R,
|
|
154
|
-
minimumFractionDigits: 0,
|
|
155
|
-
maximumFractionDigits: 0
|
|
156
|
-
}).replace(/\d/g, "").trim();
|
|
157
|
-
z(() => {
|
|
158
|
-
m && (r("currency") || e("currency", s[0].value), r("paymentOption") || e("paymentOption", d[0].value)), r("refundPolicy") || e("refundPolicy", i.NEVER);
|
|
159
|
-
}, [m, r, e]);
|
|
160
|
-
const C = [
|
|
161
|
-
{ value: 0, label: n("business_days") },
|
|
162
|
-
{ value: 1, label: n("calendar_days") }
|
|
163
|
-
];
|
|
164
|
-
return /* @__PURE__ */ u(f, { children: [
|
|
165
|
-
N && /* @__PURE__ */ l(P, { className: "mt-2", severity: "warning", title: n("warning_recurring_event_payment") }),
|
|
166
|
-
!N && m && /* @__PURE__ */ u(f, { children: [
|
|
167
|
-
/* @__PURE__ */ l("div", { className: "mt-4 block items-center justify-start sm:flex sm:space-x-2", children: /* @__PURE__ */ l(
|
|
168
|
-
w,
|
|
169
|
-
{
|
|
170
|
-
"data-testid": "stripe-price-input",
|
|
171
|
-
label: n("price"),
|
|
172
|
-
className: "h-[38px]",
|
|
173
|
-
addOnLeading: /* @__PURE__ */ l(f, { children: t.value ? M("en", t.value) : "" }),
|
|
174
|
-
addOnSuffix: o.toUpperCase(),
|
|
175
|
-
addOnClassname: "h-[38px]",
|
|
176
|
-
step: "0.01",
|
|
177
|
-
min: "0.5",
|
|
178
|
-
type: "number",
|
|
179
|
-
required: !0,
|
|
180
|
-
placeholder: "Price",
|
|
181
|
-
disabled: b,
|
|
182
|
-
onChange: (a) => {
|
|
183
|
-
e("price", T(Number(a.target.value), o));
|
|
184
|
-
},
|
|
185
|
-
value: g > 0 ? O(g, o) : void 0
|
|
186
|
-
}
|
|
187
|
-
) }),
|
|
188
|
-
/* @__PURE__ */ u("div", { className: "mt-5 w-60", children: [
|
|
189
|
-
/* @__PURE__ */ l("label", { className: "text-default mb-1 block text-sm font-medium", htmlFor: "currency", children: n("currency") }),
|
|
190
|
-
/* @__PURE__ */ l(
|
|
191
|
-
y,
|
|
192
|
-
{
|
|
193
|
-
"data-testid": "stripe-currency-select",
|
|
194
|
-
variant: "default",
|
|
195
|
-
options: s,
|
|
196
|
-
innerClassNames: {
|
|
197
|
-
input: "stripe-currency-input"
|
|
198
|
-
},
|
|
199
|
-
value: t,
|
|
200
|
-
className: "text-black",
|
|
201
|
-
defaultValue: t,
|
|
202
|
-
onChange: (a) => {
|
|
203
|
-
a && (D(a), e("currency", a.value));
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
)
|
|
207
|
-
] }),
|
|
208
|
-
/* @__PURE__ */ u("div", { className: "mt-4 w-60", children: [
|
|
209
|
-
/* @__PURE__ */ l("label", { className: "text-default mb-1 block text-sm font-medium", htmlFor: "currency", children: n("payment_option") }),
|
|
210
|
-
/* @__PURE__ */ l(
|
|
211
|
-
y,
|
|
212
|
-
{
|
|
213
|
-
"data-testid": "stripe-payment-option-select",
|
|
214
|
-
defaultValue: c ? { ...c, label: n(c.label) } : { ...d[0], label: n(d[0].label) },
|
|
215
|
-
options: d.map((a) => ({ ...a, label: n(a.label) || a.label })),
|
|
216
|
-
onChange: (a) => {
|
|
217
|
-
a && (e("paymentOption", a.value), a.value === "HOLD" && (e("refundPolicy", i.NEVER), e("refundDaysCount", void 0), e("refundCountCalendarDays", void 0)));
|
|
218
|
-
},
|
|
219
|
-
className: "mb-1 h-[38px] w-full",
|
|
220
|
-
isDisabled: S || b
|
|
221
|
-
}
|
|
222
|
-
)
|
|
223
|
-
] }),
|
|
224
|
-
S && v === "HOLD" && /* @__PURE__ */ l(P, { className: "mt-2", severity: "warning", title: n("seats_and_no_show_fee_error") }),
|
|
225
|
-
v !== "HOLD" && /* @__PURE__ */ u("div", { className: "mt-4 w-full", children: [
|
|
226
|
-
/* @__PURE__ */ l("label", { className: "text-default mb-1 block text-sm font-medium", children: n("refund_policy") }),
|
|
227
|
-
/* @__PURE__ */ u(
|
|
228
|
-
E,
|
|
229
|
-
{
|
|
230
|
-
disabled: b || v === "HOLD",
|
|
231
|
-
defaultValue: "never",
|
|
232
|
-
className: "flex flex-col space-y-2",
|
|
233
|
-
value: r("refundPolicy"),
|
|
234
|
-
onValueChange: (a) => {
|
|
235
|
-
e("refundPolicy", a), a !== i.DAYS && (e("refundDaysCount", void 0), e("refundCountCalendarDays", void 0));
|
|
236
|
-
},
|
|
237
|
-
children: [
|
|
238
|
-
/* @__PURE__ */ l(x, { className: "w-fit", value: i.ALWAYS, label: n("always"), id: "always" }),
|
|
239
|
-
/* @__PURE__ */ l(x, { className: "w-fit", value: i.NEVER, label: n("never"), id: "never" }),
|
|
240
|
-
/* @__PURE__ */ u("div", { className: B("text-default mb-2 flex flex-wrap items-center text-sm"), children: [
|
|
241
|
-
/* @__PURE__ */ l(
|
|
242
|
-
F,
|
|
243
|
-
{
|
|
244
|
-
className: "min-w-4 bg-default border-default flex h-4 w-4 cursor-pointer items-center rounded-full border focus:border-2 focus:outline-none ltr:mr-2 rtl:ml-2",
|
|
245
|
-
value: "days",
|
|
246
|
-
id: "days",
|
|
247
|
-
children: /* @__PURE__ */ l(G, { className: "after:bg-inverted relative flex h-4 w-4 items-center justify-center after:block after:h-2 after:w-2 after:rounded-full" })
|
|
248
|
-
}
|
|
249
|
-
),
|
|
250
|
-
/* @__PURE__ */ u("div", { className: "flex items-center", children: [
|
|
251
|
-
/* @__PURE__ */ u("span", { className: "me-2 ms-2", children: [
|
|
252
|
-
" ",
|
|
253
|
-
n("if_cancelled")
|
|
254
|
-
] }),
|
|
255
|
-
/* @__PURE__ */ l(
|
|
256
|
-
w,
|
|
257
|
-
{
|
|
258
|
-
labelSrOnly: !0,
|
|
259
|
-
type: "number",
|
|
260
|
-
className: B(
|
|
261
|
-
"border-default my-0 block w-16 text-sm [appearance:textfield] ltr:mr-2 rtl:ml-2"
|
|
262
|
-
),
|
|
263
|
-
placeholder: "2",
|
|
264
|
-
disabled: b,
|
|
265
|
-
min: 0,
|
|
266
|
-
defaultValue: r("refundDaysCount"),
|
|
267
|
-
required: r("refundPolicy") === i.DAYS,
|
|
268
|
-
value: r("refundDaysCount") ?? "",
|
|
269
|
-
onChange: (a) => e("refundDaysCount", parseInt(a.currentTarget.value))
|
|
270
|
-
}
|
|
271
|
-
),
|
|
272
|
-
/* @__PURE__ */ l(
|
|
273
|
-
y,
|
|
274
|
-
{
|
|
275
|
-
options: C,
|
|
276
|
-
isSearchable: !1,
|
|
277
|
-
isDisabled: b,
|
|
278
|
-
onChange: (a) => e("refundCountCalendarDays", (a == null ? void 0 : a.value) === 1),
|
|
279
|
-
value: p(),
|
|
280
|
-
defaultValue: p()
|
|
281
|
-
}
|
|
282
|
-
),
|
|
283
|
-
/* @__PURE__ */ u("span", { className: "me-2 ms-2", children: [
|
|
284
|
-
" ",
|
|
285
|
-
n("before")
|
|
286
|
-
] })
|
|
287
|
-
] })
|
|
288
|
-
] })
|
|
289
|
-
]
|
|
290
|
-
}
|
|
291
|
-
)
|
|
292
|
-
] })
|
|
293
|
-
] })
|
|
294
|
-
] });
|
|
295
|
-
};
|
|
296
|
-
export {
|
|
297
|
-
V as default
|
|
298
|
-
};
|
|
@@ -1,221 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as o } from "react/jsx-runtime";
|
|
2
|
-
import { useState as d } from "react";
|
|
3
|
-
import { q as I, af as P, ag as j, e as T, r as g, M as C, x as A, ah as E, ai as R, N as z } from "./index-LwkTy4i-.js";
|
|
4
|
-
const y = "search", k = "url", B = (s) => {
|
|
5
|
-
const { t: a } = I(), [i, l] = d(""), [p, m] = d(0), [c, v] = d(""), { isOpenDialog: D, setIsOpenDialog: O } = s, [u, b] = d(!1), [N, h] = d(""), [x, _] = d(y), w = async (n, f) => {
|
|
6
|
-
if (u)
|
|
7
|
-
return;
|
|
8
|
-
b(!0), h("");
|
|
9
|
-
const t = await fetch("/api/integrations/giphy/search", {
|
|
10
|
-
method: "POST",
|
|
11
|
-
headers: {
|
|
12
|
-
"Content-Type": "application/json"
|
|
13
|
-
},
|
|
14
|
-
body: JSON.stringify({
|
|
15
|
-
keyword: n,
|
|
16
|
-
offset: f
|
|
17
|
-
})
|
|
18
|
-
}), r = await t.json();
|
|
19
|
-
return t.ok ? (l(r.image || ""), m(r.nextOffset), r.image || h("No Result found")) : h((r == null ? void 0 : r.message) || "Something went wrong"), b(!1), null;
|
|
20
|
-
}, G = async (n) => {
|
|
21
|
-
var r;
|
|
22
|
-
if (u)
|
|
23
|
-
return;
|
|
24
|
-
b(!0), h("");
|
|
25
|
-
const f = await fetch("/api/integrations/giphy/get", {
|
|
26
|
-
method: "POST",
|
|
27
|
-
headers: {
|
|
28
|
-
"Content-Type": "application/json"
|
|
29
|
-
},
|
|
30
|
-
body: JSON.stringify({
|
|
31
|
-
url: n
|
|
32
|
-
})
|
|
33
|
-
}), t = await f.json();
|
|
34
|
-
return f.ok ? (l(t.image || ""), t.image || h("No Result found")) : h((t == null ? void 0 : t.message) || ((r = t == null ? void 0 : t[0]) == null ? void 0 : r.message) || "Something went wrong"), b(!1), null;
|
|
35
|
-
}, S = (n, f, t) => /* @__PURE__ */ o(
|
|
36
|
-
"div",
|
|
37
|
-
{
|
|
38
|
-
className: C(
|
|
39
|
-
"flex cursor-pointer items-center border-b-2 p-2 text-sm ",
|
|
40
|
-
x === t ? "text-default border-emphasis" : "text-subtle border-transparent"
|
|
41
|
-
),
|
|
42
|
-
onClick: () => {
|
|
43
|
-
v(""), l(""), _(t);
|
|
44
|
-
},
|
|
45
|
-
children: [
|
|
46
|
-
/* @__PURE__ */ e(z, { name: n, className: "h-4 w-4 ltr:mr-2 rtl:ml-2" }),
|
|
47
|
-
f
|
|
48
|
-
]
|
|
49
|
-
}
|
|
50
|
-
), M = async (n) => {
|
|
51
|
-
n.stopPropagation(), n.preventDefault(), x === y ? w(c, 0) : x === k && G(c);
|
|
52
|
-
};
|
|
53
|
-
return /* @__PURE__ */ e(P, { open: D, onOpenChange: O, children: /* @__PURE__ */ o(j, { children: [
|
|
54
|
-
/* @__PURE__ */ e("h3", { className: "leading-16 font-cal text-emphasis text-xl", id: "modal-title", children: a("add_gif_to_confirmation") }),
|
|
55
|
-
/* @__PURE__ */ e("p", { className: "text-subtle mb-3 text-sm font-light", children: a("find_gif_spice_confirmation") }),
|
|
56
|
-
/* @__PURE__ */ o("div", { className: "border-emphasis flex items-center border-b border-solid", children: [
|
|
57
|
-
S("search", a("search_giphy"), y),
|
|
58
|
-
S("link", a("add_link_from_giphy"), k)
|
|
59
|
-
] }),
|
|
60
|
-
/* @__PURE__ */ o(
|
|
61
|
-
"form",
|
|
62
|
-
{
|
|
63
|
-
className: "flex w-full justify-center space-x-2 space-y-2 rtl:space-x-reverse",
|
|
64
|
-
onSubmit: M,
|
|
65
|
-
children: [
|
|
66
|
-
/* @__PURE__ */ e("div", { className: "relative block w-full pt-2", children: /* @__PURE__ */ e(
|
|
67
|
-
T,
|
|
68
|
-
{
|
|
69
|
-
type: "text",
|
|
70
|
-
placeholder: x === y ? a("search_giphy") : "https://media.giphy.com/media/some-id/giphy.gif",
|
|
71
|
-
value: c,
|
|
72
|
-
onChange: (n) => {
|
|
73
|
-
v(n.target.value);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
) }),
|
|
77
|
-
/* @__PURE__ */ e(g, { type: "submit", tabIndex: -1, color: "secondary", loading: u, children: a("search") })
|
|
78
|
-
]
|
|
79
|
-
}
|
|
80
|
-
),
|
|
81
|
-
i && /* @__PURE__ */ e("div", { className: "flex flex-col items-center space-x-2 space-y-2 pt-3 rtl:space-x-reverse", children: /* @__PURE__ */ e("div", { className: "bg-subtle flex w-full items-center justify-center", children: u ? /* @__PURE__ */ e("div", { className: "flex h-[200px] w-full items-center justify-center bg-gray-400 pb-3 pt-3", children: /* @__PURE__ */ o(
|
|
82
|
-
"svg",
|
|
83
|
-
{
|
|
84
|
-
className: C("mx-4 h-5 w-5 animate-spin", "text-inverted dark:text-emphasis"),
|
|
85
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
86
|
-
fill: "none",
|
|
87
|
-
viewBox: "0 0 24 24",
|
|
88
|
-
children: [
|
|
89
|
-
/* @__PURE__ */ e(
|
|
90
|
-
"circle",
|
|
91
|
-
{
|
|
92
|
-
className: "opacity-25",
|
|
93
|
-
cx: "12",
|
|
94
|
-
cy: "12",
|
|
95
|
-
r: "10",
|
|
96
|
-
stroke: "currentColor",
|
|
97
|
-
strokeWidth: "4"
|
|
98
|
-
}
|
|
99
|
-
),
|
|
100
|
-
/* @__PURE__ */ e(
|
|
101
|
-
"path",
|
|
102
|
-
{
|
|
103
|
-
className: "opacity-75",
|
|
104
|
-
fill: "currentColor",
|
|
105
|
-
d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
|
|
106
|
-
}
|
|
107
|
-
)
|
|
108
|
-
]
|
|
109
|
-
}
|
|
110
|
-
) }) : /* @__PURE__ */ e("img", { className: "h-[200px] pb-3 pt-3", src: i, alt: `Gif from Giphy for ${c}` }) }) }),
|
|
111
|
-
N && /* @__PURE__ */ e(A, { severity: "error", title: N, className: "my-4" }),
|
|
112
|
-
i && x === y && /* @__PURE__ */ o("div", { className: "mt-4 flex items-center justify-between space-x-2 rtl:space-x-reverse", children: [
|
|
113
|
-
/* @__PURE__ */ e("div", { className: "text-subtle text-sm font-light", children: "Not the perfect GIF?" }),
|
|
114
|
-
/* @__PURE__ */ e(
|
|
115
|
-
g,
|
|
116
|
-
{
|
|
117
|
-
size: "sm",
|
|
118
|
-
color: "secondary",
|
|
119
|
-
type: "button",
|
|
120
|
-
loading: u,
|
|
121
|
-
onClick: () => w(c, p),
|
|
122
|
-
children: "Shuffle"
|
|
123
|
-
}
|
|
124
|
-
)
|
|
125
|
-
] }),
|
|
126
|
-
/* @__PURE__ */ o(E, { children: [
|
|
127
|
-
/* @__PURE__ */ e(
|
|
128
|
-
R,
|
|
129
|
-
{
|
|
130
|
-
color: "minimal",
|
|
131
|
-
tabIndex: -1,
|
|
132
|
-
onClick: () => {
|
|
133
|
-
s.setIsOpenDialog(!1);
|
|
134
|
-
},
|
|
135
|
-
children: a("cancel")
|
|
136
|
-
}
|
|
137
|
-
),
|
|
138
|
-
/* @__PURE__ */ e(
|
|
139
|
-
g,
|
|
140
|
-
{
|
|
141
|
-
type: "button",
|
|
142
|
-
disabled: !i,
|
|
143
|
-
onClick: () => (s.setIsOpenDialog(!1), s.onSave(i), m(0), l(""), v(""), !1),
|
|
144
|
-
children: a("add_gif")
|
|
145
|
-
}
|
|
146
|
-
)
|
|
147
|
-
] })
|
|
148
|
-
] }) });
|
|
149
|
-
};
|
|
150
|
-
function F(s) {
|
|
151
|
-
const { t: a } = I(), [i, l] = d(s.defaultValue), [p, m] = d(!1);
|
|
152
|
-
return /* @__PURE__ */ o("div", { className: "flex flex-col items-start space-x-2 space-y-2 rtl:space-x-reverse", children: [
|
|
153
|
-
i && /* @__PURE__ */ e("div", { className: "min-h-[200px]", children: /* @__PURE__ */ e("img", { alt: "Selected Gif Image", src: i }) }),
|
|
154
|
-
/* @__PURE__ */ o("div", { className: "flex", children: [
|
|
155
|
-
i ? /* @__PURE__ */ e(
|
|
156
|
-
g,
|
|
157
|
-
{
|
|
158
|
-
color: "minimal",
|
|
159
|
-
type: "button",
|
|
160
|
-
StartIcon: "pencil",
|
|
161
|
-
onClick: () => m(!0),
|
|
162
|
-
disabled: s.disabled,
|
|
163
|
-
children: "Change"
|
|
164
|
-
}
|
|
165
|
-
) : /* @__PURE__ */ e(
|
|
166
|
-
g,
|
|
167
|
-
{
|
|
168
|
-
color: "minimal",
|
|
169
|
-
type: "button",
|
|
170
|
-
StartIcon: "plus",
|
|
171
|
-
onClick: () => m(!0),
|
|
172
|
-
disabled: s.disabled,
|
|
173
|
-
children: "Add from Giphy"
|
|
174
|
-
}
|
|
175
|
-
),
|
|
176
|
-
i && /* @__PURE__ */ e(
|
|
177
|
-
g,
|
|
178
|
-
{
|
|
179
|
-
color: "destructive",
|
|
180
|
-
type: "button",
|
|
181
|
-
StartIcon: "x",
|
|
182
|
-
onClick: () => {
|
|
183
|
-
l(""), s.onChange("");
|
|
184
|
-
},
|
|
185
|
-
disabled: s.disabled,
|
|
186
|
-
children: a("remove")
|
|
187
|
-
}
|
|
188
|
-
)
|
|
189
|
-
] }),
|
|
190
|
-
/* @__PURE__ */ e(
|
|
191
|
-
B,
|
|
192
|
-
{
|
|
193
|
-
isOpenDialog: p,
|
|
194
|
-
setIsOpenDialog: m,
|
|
195
|
-
onSave: (c) => {
|
|
196
|
-
l(c), s.onChange(c);
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
)
|
|
200
|
-
] });
|
|
201
|
-
}
|
|
202
|
-
const J = ({
|
|
203
|
-
getAppData: s,
|
|
204
|
-
setAppData: a,
|
|
205
|
-
disabled: i
|
|
206
|
-
}) => {
|
|
207
|
-
const l = s("thankYouPage");
|
|
208
|
-
return /* @__PURE__ */ e(
|
|
209
|
-
F,
|
|
210
|
-
{
|
|
211
|
-
defaultValue: l,
|
|
212
|
-
disabled: i,
|
|
213
|
-
onChange: (p) => {
|
|
214
|
-
a("thankYouPage", p);
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
);
|
|
218
|
-
};
|
|
219
|
-
export {
|
|
220
|
-
J as default
|
|
221
|
-
};
|