@calcom/atoms 1.6.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AddressInput-1brkjhFt.js → AddressInput-xFwoBxsZ.js} +3 -3
- package/dist/{AlbyPriceComponent-2LB43zoM.js → AlbyPriceComponent-NnD6qUfW.js} +22 -22
- package/dist/{AppCard-yIBrfFj9.js → AppCard--JDiTUMU.js} +47 -47
- package/dist/{AppListCardPlatformWrapper-CV7QpdyY.js → AppListCardPlatformWrapper-ncgLQL4r.js} +1 -1
- package/dist/{AppListCardWebWrapper-vxXZpyol.js → AppListCardWebWrapper-YnM7-ccd.js} +1 -1
- package/dist/{AppSettingsInterface-Aix0Ye7x.js → AppSettingsInterface-EvAriEj2.js} +1 -1
- package/dist/{AppSettingsInterface-KGD5cNTj.js → AppSettingsInterface-OGwTTVN7.js} +1 -1
- package/dist/{AppSettingsInterface-0H1wCBzq.js → AppSettingsInterface-_WywrNHs.js} +1 -1
- package/dist/{DateRangePicker-4CKKpdyt.js → DateRangePicker-m_y_P8tk.js} +5 -5
- package/dist/{EventTypeAppCardInterface-pi-nYyg1.js → EventTypeAppCardInterface--74geeRF.js} +6 -6
- package/dist/{EventTypeAppCardInterface-ZrWf66ce.js → EventTypeAppCardInterface--UDAdk0r.js} +3 -3
- package/dist/{EventTypeAppCardInterface-5-Y0-uRC.js → EventTypeAppCardInterface-2Q1qvV5K.js} +4 -4
- package/dist/{EventTypeAppCardInterface-Abb5QaiE.js → EventTypeAppCardInterface-2r4pxyRt.js} +4 -4
- package/dist/{EventTypeAppCardInterface-ZqUqSS1O.js → EventTypeAppCardInterface-3T7Bcarm.js} +4 -4
- package/dist/{EventTypeAppCardInterface-iYj3cTdZ.js → EventTypeAppCardInterface-EPHC3SF7.js} +3 -3
- package/dist/{EventTypeAppCardInterface-Njtagnpn.js → EventTypeAppCardInterface-G3OAa6sU.js} +8 -8
- package/dist/{EventTypeAppCardInterface-WNZPsRIv.js → EventTypeAppCardInterface-JQgzokgl.js} +2 -2
- package/dist/{EventTypeAppCardInterface-zhD3uO1f.js → EventTypeAppCardInterface-KDalRazj.js} +3 -3
- package/dist/{EventTypeAppCardInterface-DKIBRWYj.js → EventTypeAppCardInterface-LvigpfyE.js} +3 -3
- package/dist/{EventTypeAppCardInterface-UcelDWVh.js → EventTypeAppCardInterface-MIro_wur.js} +4 -4
- package/dist/{EventTypeAppCardInterface-c-xaajVH.js → EventTypeAppCardInterface-Na5tUt6e.js} +4 -4
- package/dist/{EventTypeAppCardInterface-1E9MTUzY.js → EventTypeAppCardInterface-O0yLol5y.js} +3 -3
- package/dist/{EventTypeAppCardInterface-2lsdiZIS.js → EventTypeAppCardInterface-R8-Y-hSu.js} +3 -3
- package/dist/{EventTypeAppCardInterface-lX82Q5Jh.js → EventTypeAppCardInterface-YlTC8St1.js} +3 -3
- package/dist/{EventTypeAppCardInterface-InrUBwTg.js → EventTypeAppCardInterface-_x7wFmBk.js} +3 -3
- package/dist/{EventTypeAppCardInterface-_3lalola.js → EventTypeAppCardInterface-bNGYsiB0.js} +9 -9
- package/dist/{EventTypeAppCardInterface-quqFvTVd.js → EventTypeAppCardInterface-d-rOMdsH.js} +4 -4
- package/dist/{EventTypeAppCardInterface-JWnT8L9g.js → EventTypeAppCardInterface-iHpJPDlc.js} +4 -4
- package/dist/{EventTypeAppCardInterface-ao45jPH0.js → EventTypeAppCardInterface-jBTRuVkO.js} +3 -3
- package/dist/{EventTypeAppCardInterface-44x8c0hT.js → EventTypeAppCardInterface-lXddHFhd.js} +9 -9
- package/dist/{EventTypeAppCardInterface-LnM8nYr7.js → EventTypeAppCardInterface-li1GK953.js} +31 -31
- package/dist/{EventTypeAppCardInterface-GykSLC0F.js → EventTypeAppCardInterface-qO1PKt6x.js} +6 -6
- package/dist/{EventTypeAppCardInterface-brFr18mE.js → EventTypeAppCardInterface-rKAjvg4x.js} +3 -3
- package/dist/{EventTypeAppCardInterface-A7d6UF4_.js → EventTypeAppCardInterface-rV1vgpRv.js} +6 -6
- package/dist/{EventTypeAppCardInterface-hLJgdsLI.js → EventTypeAppCardInterface-sIqZFcBV.js} +6 -6
- package/dist/EventTypeAppCardInterface-safQ0enm.js +24 -0
- package/dist/{EventTypeAppSettingsInterface-AGLMWsEO.js → EventTypeAppSettingsInterface-7e1qbHi8.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-q6mbdTiY.js → EventTypeAppSettingsInterface-CLwwrZv6.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-2sj2WJjh.js → EventTypeAppSettingsInterface-CPvfqJkx.js} +25 -25
- package/dist/{EventTypeAppSettingsInterface-Y48ol2nr.js → EventTypeAppSettingsInterface-EZZkJrLi.js} +7 -7
- package/dist/{EventTypeAppSettingsInterface-AK7ShZFj.js → EventTypeAppSettingsInterface-JBpWa3pz.js} +5 -5
- package/dist/{EventTypeAppSettingsInterface-PxXmeEq4.js → EventTypeAppSettingsInterface-J_c1VzIk.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-xpqBaj8M.js → EventTypeAppSettingsInterface-K4kVWoog.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-eZuVPoW0.js → EventTypeAppSettingsInterface-LIn3bMv4.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-Ai9j7-W4.js → EventTypeAppSettingsInterface-cbkdr04f.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-IscefcbA.js → EventTypeAppSettingsInterface-eejB8RJX.js} +3 -3
- package/dist/{EventTypeAppSettingsInterface-2vq_64FN.js → EventTypeAppSettingsInterface-mOdk6pDR.js} +8 -8
- package/dist/{EventTypeAppSettingsInterface-WSA9a0P9.js → EventTypeAppSettingsInterface-vNhCP6vQ.js} +5 -5
- package/dist/{EventTypeAppSettingsInterface-1whHDae4.js → EventTypeAppSettingsInterface-xYWyd_Dz.js} +3 -3
- package/dist/{InstallAppButton-TS33CjnZ.js → InstallAppButton-6HzB5_Be.js} +1 -1
- package/dist/{InstallAppButton-Ywa4sUQJ.js → InstallAppButton-9sn2Jtoz.js} +1 -1
- package/dist/{InstallAppButton-T3U8jRFO.js → InstallAppButton-J51NRgMF.js} +1 -1
- package/dist/{PhoneInput-roQxbVj0.js → PhoneInput-uymiSRfv.js} +249 -243
- package/dist/{StripePaymentForm-SCkdCvRB.js → StripePaymentForm-cXAJjJV3.js} +18 -18
- package/dist/cal-atoms.js +15 -15
- package/dist/{index-xIgyKeg1.js → index--iR_feQQ.js} +65706 -61980
- package/dist/{index-xJlkgRPp.js → index-WXyiFeKd.js} +1 -1
- package/dist/{index-Uy0rGDYS.js → index-XoFQv1cd.js} +13 -13
- package/dist/index-tEqQSBcP.js +28 -0
- package/dist/packages/features/bookings/Booker/Booker.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/event.d.ts +8 -2
- package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/SystemField.d.ts +2 -1
- package/dist/packages/features/bookings/lib/SystemField.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/di/containers/InstantBookingCreateServiceContainer.d.ts +3 -0
- package/dist/packages/features/bookings/lib/di/containers/InstantBookingCreateServiceContainer.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/di/containers/RecurringBookingServiceContainer.d.ts +3 -0
- package/dist/packages/features/bookings/lib/di/containers/RecurringBookingServiceContainer.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/di/containers/RegularBookingServiceContainer.d.ts +3 -0
- package/dist/packages/features/bookings/lib/di/containers/RegularBookingServiceContainer.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/di/modules/InstantBookingCreateServiceModule.d.ts +4 -0
- package/dist/packages/features/bookings/lib/di/modules/InstantBookingCreateServiceModule.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/di/modules/RecurringBookingServiceModule.d.ts +4 -0
- package/dist/packages/features/bookings/lib/di/modules/RecurringBookingServiceModule.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/di/modules/RegularBookingServiceModule.d.ts +8 -0
- package/dist/packages/features/bookings/lib/di/modules/RegularBookingServiceModule.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts +7 -0
- package/dist/packages/features/bookings/lib/getBookingDataSchema.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts +9 -0
- package/dist/packages/features/bookings/lib/getBookingDataSchemaForApi.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingFields.d.ts +17 -0
- package/dist/packages/features/bookings/lib/getBookingFields.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getCalEventResponses.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +2 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts +4 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getBookingData.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +6 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +2 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking.d.ts +999 -2
- package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewRecurringBooking.d.ts +23 -14
- package/dist/packages/features/bookings/lib/handleNewRecurringBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/interfaces/IBookingCreateService.d.ts +4 -0
- package/dist/packages/features/bookings/lib/interfaces/IBookingCreateService.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/interfaces/IBookingService.d.ts +5 -0
- package/dist/packages/features/bookings/lib/interfaces/IBookingService.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/rating.d.ts +22 -0
- package/dist/packages/features/bookings/lib/rating.d.ts.map +1 -0
- package/dist/packages/features/components/phone-input/PhoneInput.d.ts.map +1 -1
- package/dist/packages/features/data-table/components/filters/AddFilterButton.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.map +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_checkout.session.completed.d.ts +3 -0
- package/dist/packages/features/ee/billing/api/webhook/_checkout.session.completed.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.deleted.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.d.ts +9 -0
- package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/api/webhook/index.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/constants.d.ts +9 -0
- package/dist/packages/features/ee/billing/constants.d.ts.map +1 -0
- package/dist/packages/features/ee/billing/credit-service.d.ts +13 -2
- package/dist/packages/features/ee/billing/credit-service.d.ts.map +1 -1
- package/dist/packages/features/ee/payments/pages/payment.d.ts +2 -0
- package/dist/packages/features/ee/payments/pages/payment.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/api/scheduleEmailReminders.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/AgentConfigurationSheet.d.ts +72 -0
- package/dist/packages/features/ee/workflows/components/AgentConfigurationSheet.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/components/TestAgentDialog.d.ts +12 -0
- package/dist/packages/features/ee/workflows/components/TestAgentDialog.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/components/WorkflowDetailsPage.d.ts +1 -1
- package/dist/packages/features/ee/workflows/components/WorkflowDetailsPage.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/components/WorkflowStepContainer.d.ts +2 -0
- package/dist/packages/features/ee/workflows/components/WorkflowStepContainer.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.d.ts +1 -0
- package/dist/packages/features/ee/workflows/lib/actionHelperFunctions.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/reminders/aiPhoneCallManager.d.ts +20 -0
- package/dist/packages/features/ee/workflows/lib/reminders/aiPhoneCallManager.d.ts.map +1 -0
- package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/schema.d.ts +10 -5
- package/dist/packages/features/ee/workflows/lib/schema.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/pages/workflow.d.ts +6 -1
- package/dist/packages/features/ee/workflows/pages/workflow.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/CreateEventTypeForm.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/locations/DefaultLocationSettings.d.ts +10 -0
- package/dist/packages/features/eventtypes/components/locations/DefaultLocationSettings.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/components/locations/LocationInput.d.ts +12 -0
- package/dist/packages/features/eventtypes/components/locations/LocationInput.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/components/locations/Locations.d.ts +3 -18
- package/dist/packages/features/eventtypes/components/locations/Locations.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/advanced/RequiresConfirmationController.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/availability/EventAvailabilityTab.d.ts +1 -1
- package/dist/packages/features/eventtypes/components/tabs/availability/EventAvailabilityTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/setup/EventSetupTab.d.ts +1 -1
- package/dist/packages/features/eventtypes/components/tabs/setup/EventSetupTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +11 -3
- 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/FormBuilder.d.ts +13 -12
- package/dist/packages/features/form-builder/FormBuilder.d.ts.map +1 -1
- package/dist/packages/features/form-builder/testUtils.d.ts +3 -0
- package/dist/packages/features/form-builder/testUtils.d.ts.map +1 -1
- package/dist/packages/features/instant-meeting/handleInstantMeeting.d.ts +11 -10
- package/dist/packages/features/instant-meeting/handleInstantMeeting.d.ts.map +1 -1
- package/dist/packages/features/schedules/components/NewScheduleButton.d.ts.map +1 -1
- package/dist/packages/features/shell/navigation/NavigationItem.d.ts.map +1 -1
- package/dist/packages/features/shell/user-dropdown/UserDropdown.d.ts.map +1 -1
- package/dist/packages/platform/atoms/cal-provider/BaseCalProvider.d.ts.map +1 -1
- package/dist/packages/platform/atoms/cal-provider/languages.d.ts +11 -4
- package/dist/packages/platform/atoms/cal-provider/languages.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +2 -0
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +4 -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 +2 -0
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypePaymentInfo.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAtomUpdateEventType.d.ts +7 -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/wrappers/EventAvailabilityTabPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +1 -0
- package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +2 -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 +2 -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 +2 -0
- package/dist/packages/platform/atoms/hooks/event-types/private/useDeleteEventTypeById.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts +8 -2
- package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts.map +1 -1
- package/dist/packages/platform/libraries/bookings.d.ts +1 -0
- package/dist/packages/platform/libraries/bookings.d.ts.map +1 -1
- package/dist/packages/platform/libraries/i18n.d.ts +15 -0
- package/dist/packages/platform/libraries/i18n.d.ts.map +1 -0
- package/dist/packages/platform/libraries/index.d.ts +2 -1
- package/dist/packages/platform/libraries/index.d.ts.map +1 -1
- package/dist/packages/platform/libraries/repositories.d.ts +2 -0
- package/dist/packages/platform/libraries/repositories.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/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/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/prisma/zod/creditexpenselog.d.ts +12 -0
- package/dist/packages/prisma/zod/creditexpenselog.d.ts.map +1 -1
- package/dist/packages/prisma/zod/custom/booking.d.ts +21 -0
- package/dist/packages/prisma/zod/custom/booking.d.ts.map +1 -1
- package/dist/packages/prisma/zod/custom/eventtype.d.ts +27 -0
- package/dist/packages/prisma/zod/custom/eventtype.d.ts.map +1 -1
- package/dist/packages/prisma/zod/eventtype.d.ts +27 -0
- package/dist/packages/prisma/zod/eventtype.d.ts.map +1 -1
- package/dist/packages/prisma/zod/workflowreminder.d.ts +2 -2
- package/dist/packages/prisma/zod/workflowstep.d.ts +2 -2
- package/dist/packages/prisma/zod-utils.d.ts +201 -0
- package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
- package/dist/packages/prisma-client/index.d.ts +467 -3
- package/dist/packages/trpc/react/shared.d.ts +1 -1
- package/dist/packages/trpc/react/shared.d.ts.map +1 -1
- package/dist/{useIsAppEnabled-ABSa6601.js → useIsAppEnabled-C_9eRB94.js} +1 -1
- package/package.json +1 -1
- package/dist/EventTypeAppCardInterface-kxvIXOul.js +0 -24
- package/dist/index-6QpphfoK.js +0 -30
package/dist/{EventTypeAppSettingsInterface-2sj2WJjh.js → EventTypeAppSettingsInterface-CPvfqJkx.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as e, jsxs as o } from "react/jsx-runtime";
|
|
2
2
|
import { useState as d } from "react";
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
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,
|
|
3
|
+
import { w as I, ad as M, ae as j, e as T, B as g, r as k, J as A, af as E, ag as B, U as R } from "./index--iR_feQQ.js";
|
|
4
|
+
const y = "search", C = "url", z = (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, f] = d(""), [x, _] = d(y), w = async (n, h) => {
|
|
6
6
|
if (u)
|
|
7
7
|
return;
|
|
8
|
-
b(!0),
|
|
8
|
+
b(!0), f("");
|
|
9
9
|
const t = await fetch("/api/integrations/giphy/search", {
|
|
10
10
|
method: "POST",
|
|
11
11
|
headers: {
|
|
@@ -13,16 +13,16 @@ const x = "search", C = "url", B = (s) => {
|
|
|
13
13
|
},
|
|
14
14
|
body: JSON.stringify({
|
|
15
15
|
keyword: n,
|
|
16
|
-
offset:
|
|
16
|
+
offset: h
|
|
17
17
|
})
|
|
18
18
|
}), r = await t.json();
|
|
19
|
-
return t.ok ? (l(r.image || ""), m(r.nextOffset), r.image ||
|
|
19
|
+
return t.ok ? (l(r.image || ""), m(r.nextOffset), r.image || f("No Result found")) : f((r == null ? void 0 : r.message) || "Something went wrong"), b(!1), null;
|
|
20
20
|
}, G = async (n) => {
|
|
21
21
|
var r;
|
|
22
22
|
if (u)
|
|
23
23
|
return;
|
|
24
|
-
b(!0),
|
|
25
|
-
const
|
|
24
|
+
b(!0), f("");
|
|
25
|
+
const h = await fetch("/api/integrations/giphy/get", {
|
|
26
26
|
method: "POST",
|
|
27
27
|
headers: {
|
|
28
28
|
"Content-Type": "application/json"
|
|
@@ -30,44 +30,44 @@ const x = "search", C = "url", B = (s) => {
|
|
|
30
30
|
body: JSON.stringify({
|
|
31
31
|
url: n
|
|
32
32
|
})
|
|
33
|
-
}), t = await
|
|
34
|
-
return
|
|
35
|
-
}, S = (n,
|
|
33
|
+
}), t = await h.json();
|
|
34
|
+
return h.ok ? (l(t.image || ""), t.image || f("No Result found")) : f((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, h, t) => /* @__PURE__ */ o(
|
|
36
36
|
"div",
|
|
37
37
|
{
|
|
38
38
|
className: k(
|
|
39
39
|
"flex cursor-pointer items-center border-b-2 p-2 text-sm ",
|
|
40
|
-
|
|
40
|
+
x === t ? "text-default border-emphasis" : "text-subtle border-transparent"
|
|
41
41
|
),
|
|
42
42
|
onClick: () => {
|
|
43
43
|
v(""), l(""), _(t);
|
|
44
44
|
},
|
|
45
45
|
children: [
|
|
46
|
-
/* @__PURE__ */ e(
|
|
47
|
-
|
|
46
|
+
/* @__PURE__ */ e(R, { name: n, className: "h-4 w-4 ltr:mr-2 rtl:ml-2" }),
|
|
47
|
+
h
|
|
48
48
|
]
|
|
49
49
|
}
|
|
50
|
-
),
|
|
51
|
-
n.stopPropagation(), n.preventDefault(),
|
|
50
|
+
), P = async (n) => {
|
|
51
|
+
n.stopPropagation(), n.preventDefault(), x === y ? w(c, 0) : x === C && G(c);
|
|
52
52
|
};
|
|
53
|
-
return /* @__PURE__ */ e(
|
|
53
|
+
return /* @__PURE__ */ e(M, { open: D, onOpenChange: O, children: /* @__PURE__ */ o(j, { children: [
|
|
54
54
|
/* @__PURE__ */ e("h3", { className: "leading-16 font-cal text-emphasis text-xl", id: "modal-title", children: a("add_gif_to_confirmation") }),
|
|
55
55
|
/* @__PURE__ */ e("p", { className: "text-subtle mb-3 text-sm font-light", children: a("find_gif_spice_confirmation") }),
|
|
56
56
|
/* @__PURE__ */ o("div", { className: "border-emphasis flex items-center border-b border-solid", children: [
|
|
57
|
-
S("search", a("search_giphy"),
|
|
57
|
+
S("search", a("search_giphy"), y),
|
|
58
58
|
S("link", a("add_link_from_giphy"), C)
|
|
59
59
|
] }),
|
|
60
60
|
/* @__PURE__ */ o(
|
|
61
61
|
"form",
|
|
62
62
|
{
|
|
63
63
|
className: "flex w-full justify-center space-x-2 space-y-2 rtl:space-x-reverse",
|
|
64
|
-
onSubmit:
|
|
64
|
+
onSubmit: P,
|
|
65
65
|
children: [
|
|
66
66
|
/* @__PURE__ */ e("div", { className: "relative block w-full pt-2", children: /* @__PURE__ */ e(
|
|
67
67
|
T,
|
|
68
68
|
{
|
|
69
69
|
type: "text",
|
|
70
|
-
placeholder:
|
|
70
|
+
placeholder: x === y ? a("search_giphy") : "https://media.giphy.com/media/some-id/giphy.gif",
|
|
71
71
|
value: c,
|
|
72
72
|
onChange: (n) => {
|
|
73
73
|
v(n.target.value);
|
|
@@ -109,7 +109,7 @@ const x = "search", C = "url", B = (s) => {
|
|
|
109
109
|
}
|
|
110
110
|
) }) : /* @__PURE__ */ e("img", { className: "h-[200px] pb-3 pt-3", src: i, alt: `Gif from Giphy for ${c}` }) }) }),
|
|
111
111
|
N && /* @__PURE__ */ e(A, { severity: "error", title: N, className: "my-4" }),
|
|
112
|
-
i &&
|
|
112
|
+
i && x === y && /* @__PURE__ */ o("div", { className: "mt-4 flex items-center justify-between space-x-2 rtl:space-x-reverse", children: [
|
|
113
113
|
/* @__PURE__ */ e("div", { className: "text-subtle text-sm font-light", children: "Not the perfect GIF?" }),
|
|
114
114
|
/* @__PURE__ */ e(
|
|
115
115
|
g,
|
|
@@ -125,7 +125,7 @@ const x = "search", C = "url", B = (s) => {
|
|
|
125
125
|
] }),
|
|
126
126
|
/* @__PURE__ */ o(E, { noSticky: !0, children: [
|
|
127
127
|
/* @__PURE__ */ e(
|
|
128
|
-
|
|
128
|
+
B,
|
|
129
129
|
{
|
|
130
130
|
color: "minimal",
|
|
131
131
|
tabIndex: -1,
|
|
@@ -188,7 +188,7 @@ function F(s) {
|
|
|
188
188
|
)
|
|
189
189
|
] }),
|
|
190
190
|
/* @__PURE__ */ e(
|
|
191
|
-
|
|
191
|
+
z,
|
|
192
192
|
{
|
|
193
193
|
isOpenDialog: p,
|
|
194
194
|
setIsOpenDialog: m,
|
|
@@ -199,7 +199,7 @@ function F(s) {
|
|
|
199
199
|
)
|
|
200
200
|
] });
|
|
201
201
|
}
|
|
202
|
-
const
|
|
202
|
+
const Y = ({
|
|
203
203
|
getAppData: s,
|
|
204
204
|
setAppData: a,
|
|
205
205
|
disabled: i
|
|
@@ -217,5 +217,5 @@ const J = ({
|
|
|
217
217
|
);
|
|
218
218
|
};
|
|
219
219
|
export {
|
|
220
|
-
|
|
220
|
+
Y as default
|
|
221
221
|
};
|
package/dist/{EventTypeAppSettingsInterface-Y48ol2nr.js → EventTypeAppSettingsInterface-EZZkJrLi.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as n, Fragment as D, jsxs as c } from "react/jsx-runtime";
|
|
2
2
|
import { useState as f, useEffect as T } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { w, a0 as t, J as P, f as R, S as y } from "./index--iR_feQQ.js";
|
|
4
4
|
const i = [
|
|
5
5
|
{ label: "SATS", value: "BTC", unit: "SATS" },
|
|
6
6
|
{ label: "USD- US Dollar", value: "USD", unit: "USD" },
|
|
@@ -35,7 +35,7 @@ const i = [
|
|
|
35
35
|
setAppData: u
|
|
36
36
|
}) => {
|
|
37
37
|
var h, S;
|
|
38
|
-
const { t: a } =
|
|
38
|
+
const { t: a } = w(), s = l("price"), o = l("currency") || (i.length > 0 ? i[0].value : ""), [v, K] = f(
|
|
39
39
|
i.find((e) => e.value === o) || (i.length > 0 ? {
|
|
40
40
|
label: i[0].label,
|
|
41
41
|
value: i[0].value
|
|
@@ -48,11 +48,11 @@ const i = [
|
|
|
48
48
|
m && !l("currency") && u("currency", i[0].value);
|
|
49
49
|
}, [m, l, u]);
|
|
50
50
|
const g = (e) => Math.floor(e);
|
|
51
|
-
return /* @__PURE__ */ n(D, { children: p ? /* @__PURE__ */ n(
|
|
51
|
+
return /* @__PURE__ */ n(D, { children: p ? /* @__PURE__ */ n(P, { className: "mt-2", severity: "warning", title: a("warning_recurring_event_payment") }) : m && /* @__PURE__ */ c(D, { children: [
|
|
52
52
|
/* @__PURE__ */ c("div", { className: "mt-4 inline-block", children: [
|
|
53
53
|
/* @__PURE__ */ n("label", { className: "text-default block text-sm font-medium mb-1", htmlFor: "price", children: a("price") }),
|
|
54
54
|
/* @__PURE__ */ n(
|
|
55
|
-
|
|
55
|
+
R,
|
|
56
56
|
{
|
|
57
57
|
label: a("price"),
|
|
58
58
|
className: "text-black dark:text-white w-auto",
|
|
@@ -71,7 +71,7 @@ const i = [
|
|
|
71
71
|
/* @__PURE__ */ c("div", { className: "mt-5 w-60", children: [
|
|
72
72
|
/* @__PURE__ */ n("label", { className: "text-default block text-sm font-medium", htmlFor: "currency", children: a("currency") }),
|
|
73
73
|
/* @__PURE__ */ n(
|
|
74
|
-
|
|
74
|
+
y,
|
|
75
75
|
{
|
|
76
76
|
variant: "default",
|
|
77
77
|
options: i,
|
|
@@ -86,7 +86,7 @@ const i = [
|
|
|
86
86
|
/* @__PURE__ */ c("div", { className: "mt-2 w-60", children: [
|
|
87
87
|
/* @__PURE__ */ n("label", { className: "text-default block text-sm font-medium", htmlFor: "paymentOption", children: a("payment_option") }),
|
|
88
88
|
/* @__PURE__ */ n(
|
|
89
|
-
|
|
89
|
+
y,
|
|
90
90
|
{
|
|
91
91
|
defaultValue: b ? { ...b, label: a(b.label) } : t.length > 0 ? { ...t[0], label: a(t[0].label) } : void 0,
|
|
92
92
|
options: t.map((e) => ({ ...e, label: a(e.label) || e.label })),
|
|
@@ -98,7 +98,7 @@ const i = [
|
|
|
98
98
|
}
|
|
99
99
|
)
|
|
100
100
|
] }),
|
|
101
|
-
N && d === "HOLD" && /* @__PURE__ */ n(
|
|
101
|
+
N && d === "HOLD" && /* @__PURE__ */ n(P, { className: "mt-2", severity: "warning", title: a("seats_and_no_show_fee_error") })
|
|
102
102
|
] }) });
|
|
103
103
|
};
|
|
104
104
|
export {
|
package/dist/{EventTypeAppSettingsInterface-AK7ShZFj.js → EventTypeAppSettingsInterface-JBpWa3pz.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as u, Fragment as f, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { a7 as d, w as L, a8 as i, J as w, f as P, O as T, Q as O, S as y, a9 as E, aa as x, r as B, ab as F, ac as K } from "./index--iR_feQQ.js";
|
|
3
3
|
import { useState as z, useEffect as G } from "react";
|
|
4
4
|
const s = [
|
|
5
5
|
{ label: "United States dollar (USD)", value: "usd" },
|
|
@@ -162,10 +162,10 @@ const s = [
|
|
|
162
162
|
{ value: 1, label: n("calendar_days") }
|
|
163
163
|
];
|
|
164
164
|
return /* @__PURE__ */ u(f, { children: [
|
|
165
|
-
N && /* @__PURE__ */ l(
|
|
165
|
+
N && /* @__PURE__ */ l(w, { className: "mt-2", severity: "warning", title: n("warning_recurring_event_payment") }),
|
|
166
166
|
!N && m && /* @__PURE__ */ u(f, { children: [
|
|
167
167
|
/* @__PURE__ */ l("div", { className: "mt-4 block items-center justify-start sm:flex sm:space-x-2", children: /* @__PURE__ */ l(
|
|
168
|
-
|
|
168
|
+
P,
|
|
169
169
|
{
|
|
170
170
|
"data-testid": "stripe-price-input",
|
|
171
171
|
label: n("price"),
|
|
@@ -221,7 +221,7 @@ const s = [
|
|
|
221
221
|
}
|
|
222
222
|
)
|
|
223
223
|
] }),
|
|
224
|
-
S && v === "HOLD" && /* @__PURE__ */ l(
|
|
224
|
+
S && v === "HOLD" && /* @__PURE__ */ l(w, { className: "mt-2", severity: "warning", title: n("seats_and_no_show_fee_error") }),
|
|
225
225
|
v !== "HOLD" && /* @__PURE__ */ u("div", { className: "mt-4 w-full", children: [
|
|
226
226
|
/* @__PURE__ */ l("label", { className: "text-default mb-1 block text-sm font-medium", children: n("refund_policy") }),
|
|
227
227
|
/* @__PURE__ */ u(
|
|
@@ -253,7 +253,7 @@ const s = [
|
|
|
253
253
|
n("if_cancelled")
|
|
254
254
|
] }),
|
|
255
255
|
/* @__PURE__ */ l(
|
|
256
|
-
|
|
256
|
+
P,
|
|
257
257
|
{
|
|
258
258
|
labelSrOnly: !0,
|
|
259
259
|
type: "number",
|
package/dist/{EventTypeAppSettingsInterface-IscefcbA.js → EventTypeAppSettingsInterface-eejB8RJX.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as u } from "react";
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
3
|
+
import { w as p, f as h, R as v, r as x } from "./index--iR_feQQ.js";
|
|
4
|
+
const R = ({ eventType: n, disabled: d }) => {
|
|
5
5
|
const { t: i } = p(), [r, c] = u(""), m = r !== "" ? `?${r}` : "", t = n.URL + m;
|
|
6
6
|
function s({ size: a, data: f }) {
|
|
7
7
|
const l = `https://api.qrserver.com/v1/create-qr-code/?size=${a}&data=${f}`;
|
|
@@ -39,5 +39,5 @@ const N = ({ eventType: n, disabled: d }) => {
|
|
|
39
39
|
] });
|
|
40
40
|
};
|
|
41
41
|
export {
|
|
42
|
-
|
|
42
|
+
R as default
|
|
43
43
|
};
|
package/dist/{EventTypeAppSettingsInterface-2vq_64FN.js → EventTypeAppSettingsInterface-mOdk6pDR.js}
RENAMED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { jsx as l, jsxs as m, Fragment as
|
|
1
|
+
import { jsx as l, jsxs as m, Fragment as g } from "react/jsx-runtime";
|
|
2
2
|
import { useState as o, useEffect as _ } from "react";
|
|
3
3
|
import { c as i, i as k, a as S } from "./currencyOptions-kannG2hu.js";
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
4
|
+
import { M as r, w as E, J as x, f as F, O as T, Q as q, S as O } from "./index--iR_feQQ.js";
|
|
5
|
+
const I = ({
|
|
6
6
|
getAppData: n,
|
|
7
7
|
setAppData: t,
|
|
8
8
|
eventType: d
|
|
9
9
|
}) => {
|
|
10
10
|
var p, h;
|
|
11
|
-
const y = n("price"), a = n("currency") || i[0].value, [s, N] = o(i.find((e) => e.value === a)), [C,
|
|
11
|
+
const y = n("price"), a = n("currency") || i[0].value, [s, N] = o(i.find((e) => e.value === a)), [C, w] = o(
|
|
12
12
|
k(a) ? S[a] : ""
|
|
13
13
|
), f = n("paymentOption"), u = ((p = r) == null ? void 0 : p.find((e) => f === e.value)) || {
|
|
14
14
|
label: r[0].label,
|
|
15
15
|
value: r[0].value
|
|
16
|
-
}, b = !!d.seatsPerTimeSlot, [v, L] = o(n("enabled")), { t: c } = E(),
|
|
16
|
+
}, b = !!d.seatsPerTimeSlot, [v, L] = o(n("enabled")), { t: c } = E(), P = ((h = d.recurringEvent) == null ? void 0 : h.count) !== void 0;
|
|
17
17
|
return _(() => {
|
|
18
18
|
v && (n("currency") || t("currency", i[0].value), n("paymentOption") || t("paymentOption", r[0].value));
|
|
19
|
-
}, []),
|
|
19
|
+
}, []), P ? /* @__PURE__ */ l(x, { className: "mt-2", severity: "warning", title: c("warning_recurring_event_payment") }) : v ? /* @__PURE__ */ m(g, { children: [
|
|
20
20
|
/* @__PURE__ */ l("div", { className: "mt-2 block items-center sm:flex", children: /* @__PURE__ */ l(
|
|
21
21
|
F,
|
|
22
22
|
{
|
|
@@ -49,7 +49,7 @@ const H = ({
|
|
|
49
49
|
className: "text-black",
|
|
50
50
|
defaultValue: s,
|
|
51
51
|
onChange: (e) => {
|
|
52
|
-
e && (N(e),
|
|
52
|
+
e && (N(e), w(S[e.value]), t("currency", e.value));
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
)
|
|
@@ -74,5 +74,5 @@ const H = ({
|
|
|
74
74
|
] }) : null;
|
|
75
75
|
};
|
|
76
76
|
export {
|
|
77
|
-
|
|
77
|
+
I as default
|
|
78
78
|
};
|
package/dist/{EventTypeAppSettingsInterface-WSA9a0P9.js → EventTypeAppSettingsInterface-vNhCP6vQ.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as l, Fragment as x, jsxs as o } from "react/jsx-runtime";
|
|
2
|
-
import { useState as N, useEffect as
|
|
3
|
-
import {
|
|
2
|
+
import { useState as N, useEffect as O } from "react";
|
|
3
|
+
import { w as _, _ as t, J as g, f as C, V as P, S as p } from "./index--iR_feQQ.js";
|
|
4
4
|
const d = [{ label: "BTC", value: "BTC", unit: "sats" }], T = ({
|
|
5
5
|
eventType: f,
|
|
6
6
|
getAppData: s,
|
|
@@ -12,10 +12,10 @@ const d = [{ label: "BTC", value: "BTC", unit: "sats" }], T = ({
|
|
|
12
12
|
), b = s("paymentOption"), u = ((v = t) == null ? void 0 : v.find((e) => b === e.value)) || {
|
|
13
13
|
label: t[0].label,
|
|
14
14
|
value: t[0].value
|
|
15
|
-
}, y = !!f.seatsPerTimeSlot, [m] = N(s("enabled")),
|
|
16
|
-
return
|
|
15
|
+
}, y = !!f.seatsPerTimeSlot, [m] = N(s("enabled")), w = ((h = f.recurringEvent) == null ? void 0 : h.count) !== void 0;
|
|
16
|
+
return O(() => {
|
|
17
17
|
!c && m && a("currency", r.value);
|
|
18
|
-
}, [c, r, a, m]), /* @__PURE__ */ l(x, { children:
|
|
18
|
+
}, [c, r, a, m]), /* @__PURE__ */ l(x, { children: w ? /* @__PURE__ */ l(g, { className: "mt-2", severity: "warning", title: n("warning_recurring_event_payment") }) : m && /* @__PURE__ */ o(x, { children: [
|
|
19
19
|
/* @__PURE__ */ l("div", { className: "mt-2 block items-center sm:flex", children: /* @__PURE__ */ l(
|
|
20
20
|
C,
|
|
21
21
|
{
|
package/dist/{EventTypeAppSettingsInterface-1whHDae4.js → EventTypeAppSettingsInterface-xYWyd_Dz.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as u, Fragment as o, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { useState as P, useEffect as k } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { w as x, J as p, f as w, S as K } from "./index--iR_feQQ.js";
|
|
4
4
|
const f = [
|
|
5
5
|
"BIF",
|
|
6
6
|
"CLP",
|
|
@@ -45,7 +45,7 @@ const f = [
|
|
|
45
45
|
{ label: "Vietnamese đồng (VND)", value: "vnd" },
|
|
46
46
|
{ label: "Canadian dollar (CAD)", value: "cad" },
|
|
47
47
|
{ label: "South Korean won (KRW)", value: "krw" }
|
|
48
|
-
],
|
|
48
|
+
], R = ({
|
|
49
49
|
getAppData: e,
|
|
50
50
|
setAppData: a,
|
|
51
51
|
disabled: h,
|
|
@@ -116,5 +116,5 @@ const f = [
|
|
|
116
116
|
] });
|
|
117
117
|
};
|
|
118
118
|
export {
|
|
119
|
-
|
|
119
|
+
R as default
|
|
120
120
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as f, Fragment as l, jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import { useState as p } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { v as d, al as E, W as g } from "./index--iR_feQQ.js";
|
|
4
4
|
var s = /* @__PURE__ */ ((n) => (n.ACCOUNTS_STEP = "accounts", n.EVENT_TYPES_STEP = "event-types", n.CONFIGURE_STEP = "configure", n))(s || {}), i = function(n) {
|
|
5
5
|
switch (typeof n) {
|
|
6
6
|
case "string":
|