@calcom/atoms 1.7.0 → 1.8.0-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/dist/{AddressInput-xFwoBxsZ.js → AddressInput-E1ARKDg7.js} +5 -5
- package/dist/{AlbyPriceComponent-NnD6qUfW.js → AlbyPriceComponent-jBcuDvZa.js} +24 -24
- package/dist/{PhoneInput-uymiSRfv.js → PhoneInput-qXboae9k.js} +62 -62
- package/dist/cal-atoms.js +5 -36
- package/dist/index-GQl0OyJB.js +88695 -0
- package/dist/index-QBpbC_ZD.js +1957 -0
- package/dist/{index-WXyiFeKd.js → index-bGbS5CRI.js} +1 -1
- package/dist/packages/features/bookings/Booker/components/BookEventForm/BookEventForm.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/Header.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/hooks/useBookings.d.ts +1 -1
- package/dist/packages/features/bookings/Booker/store.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/event.d.ts +39 -33
- package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/BookingEmailSmsHandler.d.ts +83 -0
- package/dist/packages/features/bookings/lib/BookingEmailSmsHandler.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/create-booking.d.ts +91 -91
- package/dist/packages/features/bookings/lib/create-recurring-booking.d.ts +91 -91
- package/dist/packages/features/bookings/lib/get-booking.d.ts +9 -9
- package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +40 -38
- package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getCalendarLinks.d.ts +41 -0
- package/dist/packages/features/bookings/lib/getCalendarLinks.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/getCalendarLinks.test.d.ts +2 -0
- package/dist/packages/features/bookings/lib/getCalendarLinks.test.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/handleBookingRequested.d.ts +16 -0
- package/dist/packages/features/bookings/lib/handleBookingRequested.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleCancelBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleConfirmation.d.ts +1 -0
- package/dist/packages/features/bookings/lib/handleConfirmation.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleInternalNote.d.ts +2 -2
- package/dist/packages/features/bookings/lib/handleNewBooking/createBooking.d.ts +33 -33
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +57 -57
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +60 -57
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +57 -57
- package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +46 -46
- package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +45 -45
- package/dist/packages/features/bookings/lib/handleNewBooking/scheduleNoShowTriggers.d.ts +1 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/scheduleNoShowTriggers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking.d.ts +364 -364
- package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handlePayment.d.ts +49 -0
- package/dist/packages/features/bookings/lib/handlePayment.d.ts.map +1 -0
- package/dist/packages/features/bookings/lib/handleSeats/create/createNewSeat.d.ts +33 -33
- 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/reschedule/owner/ownerRescheduleSeatedBooking.d.ts +33 -33
- package/dist/packages/features/bookings/lib/requiresConfirmation/getBookingRequest.d.ts +39 -39
- package/dist/packages/features/components/controlled-dialog/index.d.ts.map +1 -1
- package/dist/packages/features/components/phone-input/PhoneInput.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.d.ts +2 -1
- package/dist/packages/features/ee/billing/api/webhook/_customer.subscription.updated.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/credit-service.d.ts +5 -1
- package/dist/packages/features/ee/billing/credit-service.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/organizations/index.d.ts +1 -2
- package/dist/packages/features/ee/billing/organizations/index.d.ts.map +1 -1
- package/dist/packages/features/ee/billing/organizations/internal-organization-billing.d.ts +2 -2
- package/dist/packages/features/ee/billing/organizations/organization-billing.repository.d.ts +32 -4
- package/dist/packages/features/ee/billing/organizations/organization-billing.repository.d.ts.map +1 -1
- package/dist/packages/features/ee/payments/server/stripe-service.d.ts +23 -0
- package/dist/packages/features/ee/payments/server/stripe-service.d.ts.map +1 -0
- package/dist/packages/features/ee/round-robin/lib/bookingLocationService.d.ts +125 -0
- package/dist/packages/features/ee/round-robin/lib/bookingLocationService.d.ts.map +1 -0
- package/dist/packages/features/ee/round-robin/lib/bookingLocationService.test.d.ts +2 -0
- package/dist/packages/features/ee/round-robin/lib/bookingLocationService.test.d.ts.map +1 -0
- package/dist/packages/features/ee/round-robin/roundRobinManualReassignment.d.ts +30 -30
- 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/scheduleEmailReminders.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/constants.d.ts +3 -1
- package/dist/packages/features/ee/workflows/lib/constants.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/getOptions.d.ts +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts +0 -3
- package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts +0 -3
- package/dist/packages/features/ee/workflows/lib/reminders/reminderScheduler.d.ts.map +1 -1
- 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.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/whatsappReminderManager.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/repository/workflowReminder.d.ts +6 -6
- package/dist/packages/features/ee/workflows/lib/schema.d.ts +7 -2
- package/dist/packages/features/ee/workflows/lib/schema.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/AddVerifiedEmail.d.ts +7 -0
- package/dist/packages/features/eventtypes/components/AddVerifiedEmail.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/components/tabs/advanced/CustomEventTypeModal.d.ts +1 -1
- package/dist/packages/features/eventtypes/components/tabs/advanced/CustomEventTypeModal.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/eventNaming.d.ts +28 -0
- package/dist/packages/features/eventtypes/lib/eventNaming.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/lib/eventNaming.test.d.ts +2 -0
- package/dist/packages/features/eventtypes/lib/eventNaming.test.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +42 -33
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts +12 -12
- package/dist/packages/features/eventtypes/lib/types.d.ts +1 -1
- package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
- package/dist/packages/features/shell/user-dropdown/UserDropdown.d.ts +2 -2
- package/dist/packages/features/shell/user-dropdown/UserDropdown.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/useAddVerifiedEmail.d.ts +15 -0
- package/dist/packages/platform/atoms/event-types/hooks/useAddVerifiedEmail.d.ts.map +1 -0
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.d.ts +20 -17
- package/dist/packages/platform/atoms/event-types/hooks/useAtomEventTypeById.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/useGetVerifiedEmails.d.ts +3 -0
- package/dist/packages/platform/atoms/event-types/hooks/useGetVerifiedEmails.d.ts.map +1 -0
- package/dist/packages/platform/atoms/event-types/wrappers/EventAdvancedPlatformWrapper.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/useCreateBooking.d.ts +91 -91
- package/dist/packages/platform/atoms/hooks/bookings/useCreateInstantBooking.d.ts +91 -91
- package/dist/packages/platform/atoms/hooks/bookings/useCreateRecurringBooking.d.ts +91 -91
- package/dist/packages/platform/atoms/hooks/bookings/useGetBookingForReschedule.d.ts +3 -3
- package/dist/packages/platform/atoms/hooks/bookings/useHandleBookEvent.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts +39 -33
- package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/schedules/useAtomSchedule.d.ts +3 -3
- package/dist/packages/platform/atoms/hooks/schedules/useAtomUpdateSchedule.d.ts +3 -3
- package/dist/packages/platform/atoms/hooks/useConnectedCalendars.d.ts.map +1 -1
- package/dist/packages/platform/atoms/index.d.ts +0 -36
- package/dist/packages/platform/atoms/index.d.ts.map +1 -1
- package/dist/packages/platform/atoms/lib/appendClientIdToEmail.d.ts +2 -0
- package/dist/packages/platform/atoms/lib/appendClientIdToEmail.d.ts.map +1 -0
- package/dist/packages/platform/libraries/event-types.d.ts +5 -5
- package/dist/packages/platform/libraries/event-types.d.ts.map +1 -1
- package/dist/packages/platform/libraries/index.d.ts +4 -6
- package/dist/packages/platform/libraries/index.d.ts.map +1 -1
- package/dist/packages/prisma/zod/creditexpenselog.d.ts +6 -0
- package/dist/packages/prisma/zod/creditexpenselog.d.ts.map +1 -1
- package/dist/packages/prisma/zod/impersonations.d.ts +2 -2
- package/dist/packages/prisma/zod/ratelimit.d.ts +2 -2
- package/dist/packages/prisma/zod/task.d.ts +2 -2
- package/dist/packages/prisma/zod/teamfeatures.d.ts +2 -2
- package/dist/packages/prisma/zod/userfeatures.d.ts +2 -2
- package/dist/packages/prisma/zod/webhookscheduledtriggers.d.ts +2 -2
- package/dist/packages/prisma/zod/workflow.d.ts +7 -2
- package/dist/packages/prisma/zod/workflow.d.ts.map +1 -1
- package/dist/packages/prisma/zod-utils.d.ts +52 -0
- package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
- package/dist/packages/prisma-client/index.d.ts +86 -1
- package/dist/packages/trpc/react/hooks/useMeQuery.d.ts +2 -2
- 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/react/trpc.d.ts.map +1 -1
- package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/AppCard--JDiTUMU.js +0 -281
- package/dist/AppListCardPlatformWrapper-ncgLQL4r.js +0 -9
- package/dist/AppListCardWebWrapper-YnM7-ccd.js +0 -74
- package/dist/AppSettingsInterface-EvAriEj2.js +0 -23
- package/dist/AppSettingsInterface-OGwTTVN7.js +0 -29
- package/dist/AppSettingsInterface-_WywrNHs.js +0 -75
- package/dist/DateRangePicker-m_y_P8tk.js +0 -74
- package/dist/EventTypeAppCardInterface--74geeRF.js +0 -39
- package/dist/EventTypeAppCardInterface--UDAdk0r.js +0 -24
- package/dist/EventTypeAppCardInterface-2Q1qvV5K.js +0 -32
- package/dist/EventTypeAppCardInterface-2r4pxyRt.js +0 -34
- package/dist/EventTypeAppCardInterface-3T7Bcarm.js +0 -31
- package/dist/EventTypeAppCardInterface-EPHC3SF7.js +0 -24
- package/dist/EventTypeAppCardInterface-G3OAa6sU.js +0 -41
- package/dist/EventTypeAppCardInterface-JQgzokgl.js +0 -32
- package/dist/EventTypeAppCardInterface-KDalRazj.js +0 -34
- package/dist/EventTypeAppCardInterface-LvigpfyE.js +0 -49
- package/dist/EventTypeAppCardInterface-MIro_wur.js +0 -33
- package/dist/EventTypeAppCardInterface-Na5tUt6e.js +0 -34
- package/dist/EventTypeAppCardInterface-O0yLol5y.js +0 -34
- package/dist/EventTypeAppCardInterface-R8-Y-hSu.js +0 -39
- package/dist/EventTypeAppCardInterface-YlTC8St1.js +0 -51
- package/dist/EventTypeAppCardInterface-_x7wFmBk.js +0 -24
- package/dist/EventTypeAppCardInterface-bNGYsiB0.js +0 -86
- package/dist/EventTypeAppCardInterface-d-rOMdsH.js +0 -34
- package/dist/EventTypeAppCardInterface-iHpJPDlc.js +0 -34
- package/dist/EventTypeAppCardInterface-jBTRuVkO.js +0 -51
- package/dist/EventTypeAppCardInterface-lXddHFhd.js +0 -41
- package/dist/EventTypeAppCardInterface-li1GK953.js +0 -858
- package/dist/EventTypeAppCardInterface-qO1PKt6x.js +0 -42
- package/dist/EventTypeAppCardInterface-rKAjvg4x.js +0 -24
- package/dist/EventTypeAppCardInterface-rV1vgpRv.js +0 -42
- package/dist/EventTypeAppCardInterface-sIqZFcBV.js +0 -34
- package/dist/EventTypeAppCardInterface-safQ0enm.js +0 -24
- package/dist/EventTypeAppSettingsInterface-7e1qbHi8.js +0 -24
- package/dist/EventTypeAppSettingsInterface-CLwwrZv6.js +0 -48
- package/dist/EventTypeAppSettingsInterface-CPvfqJkx.js +0 -221
- package/dist/EventTypeAppSettingsInterface-EZZkJrLi.js +0 -106
- package/dist/EventTypeAppSettingsInterface-JBpWa3pz.js +0 -298
- package/dist/EventTypeAppSettingsInterface-J_c1VzIk.js +0 -23
- package/dist/EventTypeAppSettingsInterface-K4kVWoog.js +0 -23
- package/dist/EventTypeAppSettingsInterface-LIn3bMv4.js +0 -25
- package/dist/EventTypeAppSettingsInterface-cbkdr04f.js +0 -42
- package/dist/EventTypeAppSettingsInterface-eejB8RJX.js +0 -43
- package/dist/EventTypeAppSettingsInterface-mOdk6pDR.js +0 -78
- package/dist/EventTypeAppSettingsInterface-vNhCP6vQ.js +0 -72
- package/dist/EventTypeAppSettingsInterface-xYWyd_Dz.js +0 -120
- package/dist/InstallAppButton-6HzB5_Be.js +0 -14
- package/dist/InstallAppButton-9sn2Jtoz.js +0 -14
- package/dist/InstallAppButton-J51NRgMF.js +0 -58
- package/dist/InstallAppButton-JXhBVaYJ.js +0 -29
- package/dist/StripePaymentForm-cXAJjJV3.js +0 -493
- package/dist/currencyOptions-kannG2hu.js +0 -61
- package/dist/index--iR_feQQ.js +0 -165254
- package/dist/index-XoFQv1cd.js +0 -518
- package/dist/index-tEqQSBcP.js +0 -28
- package/dist/useIsAppEnabled-C_9eRB94.js +0 -18
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { jsxs as o, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { useState as p } from "react";
|
|
3
|
-
import { w as r, f as u, B as i } from "./index--iR_feQQ.js";
|
|
4
|
-
function d() {
|
|
5
|
-
const { t: e } = r(), [s, n] = p("");
|
|
6
|
-
return /* @__PURE__ */ o("div", { className: "space-y-4 px-4 pb-4 pt-4 text-sm", children: [
|
|
7
|
-
/* @__PURE__ */ t(
|
|
8
|
-
u,
|
|
9
|
-
{
|
|
10
|
-
placeholder: "Some Input",
|
|
11
|
-
value: s,
|
|
12
|
-
name: "Enter Input",
|
|
13
|
-
onChange: async (a) => {
|
|
14
|
-
n(a.target.value);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
),
|
|
18
|
-
/* @__PURE__ */ t(i, { children: e("submit") })
|
|
19
|
-
] });
|
|
20
|
-
}
|
|
21
|
-
export {
|
|
22
|
-
d as default
|
|
23
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { jsxs as o, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { useState as s } from "react";
|
|
3
|
-
import { w as i, f as l, B as m } from "./index--iR_feQQ.js";
|
|
4
|
-
function h() {
|
|
5
|
-
const { t: a } = i(), n = "metric", [e, c] = s("");
|
|
6
|
-
return /* @__PURE__ */ o("div", { className: "space-y-4 text-sm", children: [
|
|
7
|
-
/* @__PURE__ */ t(
|
|
8
|
-
l,
|
|
9
|
-
{
|
|
10
|
-
placeholder: "San Francisco",
|
|
11
|
-
value: e,
|
|
12
|
-
name: "Enter City",
|
|
13
|
-
onChange: async (r) => {
|
|
14
|
-
c(r.target.value);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
),
|
|
18
|
-
/* @__PURE__ */ t(
|
|
19
|
-
m,
|
|
20
|
-
{
|
|
21
|
-
href: `webcal://weather-in-calendar.com/cal/weather-cal.php?city=${e}&units=${n}&temperature=day`,
|
|
22
|
-
children: a("add_to_calendar")
|
|
23
|
-
}
|
|
24
|
-
)
|
|
25
|
-
] });
|
|
26
|
-
}
|
|
27
|
-
export {
|
|
28
|
-
h as default
|
|
29
|
-
};
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { jsxs as a, jsx as e, Fragment as r } from "react/jsx-runtime";
|
|
2
|
-
import { B as i, w as o } from "./index--iR_feQQ.js";
|
|
3
|
-
function d({ template: t }) {
|
|
4
|
-
return /* @__PURE__ */ a("div", { className: "min-h-16 bg-default border-subtle sticky flex flex-col justify-between gap-4 rounded-md border p-5", children: [
|
|
5
|
-
/* @__PURE__ */ a("div", { className: "flex items-start justify-start", children: [
|
|
6
|
-
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e("div", { className: "mr-4 flex h-12 w-12 items-center justify-center rounded-md p-1", children: /* @__PURE__ */ e("img", { className: "h-8", alt: t.app, src: `/api/app-store/zapier/${t.icon}` }) }) }),
|
|
7
|
-
/* @__PURE__ */ e("div", { className: "mr-4", children: /* @__PURE__ */ a("div", { children: [
|
|
8
|
-
/* @__PURE__ */ e("p", { className: "text-emphasis truncate text-sm font-medium leading-4", children: t.app }),
|
|
9
|
-
/* @__PURE__ */ e("p", { className: "text-subtle mt-[2px] text-sm", children: t.text })
|
|
10
|
-
] }) })
|
|
11
|
-
] }),
|
|
12
|
-
/* @__PURE__ */ e("div", { className: "hidden w-full sm:block", children: /* @__PURE__ */ e("div", { className: "float-right", children: /* @__PURE__ */ e(i, { color: "secondary", className: " w-[90px]", target: "_blank", href: t.link, children: "Use Zap" }) }) }),
|
|
13
|
-
/* @__PURE__ */ e("div", { className: "mt-2 block w-full sm:hidden", children: /* @__PURE__ */ e("div", { className: "float-right", children: /* @__PURE__ */ e(i, { color: "secondary", className: "w-[90px]", target: "_blank", href: t.link, children: "Use Zap" }) }) })
|
|
14
|
-
] });
|
|
15
|
-
}
|
|
16
|
-
const n = [
|
|
17
|
-
{
|
|
18
|
-
icon: "gmail.svg",
|
|
19
|
-
app: "Gmail",
|
|
20
|
-
text: "Send emails via Gmail for scheduled events",
|
|
21
|
-
link: "https://zapier.com/app/editor/template/1071345"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
icon: "googleSheets.svg",
|
|
25
|
-
app: "Google Sheets",
|
|
26
|
-
text: "Create Google Sheets rows for scheduled events",
|
|
27
|
-
link: "https://zapier.com/app/editor/template/1082047"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
icon: "salesforce.svg",
|
|
31
|
-
app: "Salesforce",
|
|
32
|
-
text: "Create Salesforce leads from new bookings",
|
|
33
|
-
link: "https://zapier.com/app/editor/template/1082050"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
icon: "todoist.svg",
|
|
37
|
-
app: "Todoist",
|
|
38
|
-
text: "Create Todoist tasks for scheduled events",
|
|
39
|
-
link: "https://zapier.com/app/editor/template/1082073"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
icon: "gmail.svg",
|
|
43
|
-
app: "Gmail",
|
|
44
|
-
text: "Send emails via Gmail for rescheduled events",
|
|
45
|
-
link: "https://zapier.com/app/editor/template/1083605"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
icon: "gmail.svg",
|
|
49
|
-
app: "Gmail",
|
|
50
|
-
text: "Send emails via Gmail for cancelled events",
|
|
51
|
-
link: "https://zapier.com/app/editor/template/1083609"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
icon: "gmail.svg",
|
|
55
|
-
app: "Gmail",
|
|
56
|
-
text: "Send emails via Gmail after scheduled meetings end",
|
|
57
|
-
link: "https://zapier.com/app/editor/template/1083613"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
icon: "googleCalendar.svg",
|
|
61
|
-
app: "Google Calendar",
|
|
62
|
-
text: "Add new bookings to Google Calendar",
|
|
63
|
-
link: "https://zapier.com/app/editor/template/1083651"
|
|
64
|
-
}
|
|
65
|
-
];
|
|
66
|
-
function m() {
|
|
67
|
-
const { t } = o();
|
|
68
|
-
return /* @__PURE__ */ a(r, { children: [
|
|
69
|
-
/* @__PURE__ */ e("div", { className: "text-sm font-semibold leading-4 ", children: t("get_started_zapier_templates") }),
|
|
70
|
-
/* @__PURE__ */ e("div", { className: "mt-4 grid gap-4 md:grid-cols-2", children: n.map((s, l) => /* @__PURE__ */ e(d, { template: s }, l)) })
|
|
71
|
-
] });
|
|
72
|
-
}
|
|
73
|
-
export {
|
|
74
|
-
m as default
|
|
75
|
-
};
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { jsx as i, jsxs as c, Fragment as f } from "react/jsx-runtime";
|
|
2
|
-
import { q as h, r as m, $ as y, s as d, B as g, t as n, u as k } from "./index--iR_feQQ.js";
|
|
3
|
-
function w({
|
|
4
|
-
className: s,
|
|
5
|
-
dates: t,
|
|
6
|
-
minDate: a,
|
|
7
|
-
maxDate: u,
|
|
8
|
-
onDatesChange: e,
|
|
9
|
-
disabled: b,
|
|
10
|
-
withoutPopover: p,
|
|
11
|
-
"data-testid": $,
|
|
12
|
-
strictlyBottom: o,
|
|
13
|
-
allowPastDates: l = !1
|
|
14
|
-
}) {
|
|
15
|
-
function v(r) {
|
|
16
|
-
if (l)
|
|
17
|
-
if (t != null && t.endDate)
|
|
18
|
-
e({ startDate: r, endDate: void 0 });
|
|
19
|
-
else {
|
|
20
|
-
const x = t.startDate ? r < t.startDate ? r : t.startDate : r, L = t.startDate ? r < t.startDate ? t.startDate : r : void 0;
|
|
21
|
-
e({ startDate: x, endDate: L });
|
|
22
|
-
}
|
|
23
|
-
else
|
|
24
|
-
t.startDate ? t.endDate ? r.getTime() === t.startDate.getTime() || r.getTime() === t.endDate.getTime() ? e({ startDate: r, endDate: void 0 }) : r < t.startDate ? e({ startDate: r, endDate: void 0 }) : e({ startDate: t.startDate, endDate: r }) : r < t.startDate ? e({ startDate: r, endDate: t.startDate }) : e({ startDate: t.startDate, endDate: r }) : e({ startDate: r, endDate: void 0 });
|
|
25
|
-
}
|
|
26
|
-
const D = /* @__PURE__ */ i(
|
|
27
|
-
h,
|
|
28
|
-
{
|
|
29
|
-
initialFocus: !0,
|
|
30
|
-
fromDate: l && a === null ? void 0 : a ?? /* @__PURE__ */ new Date(),
|
|
31
|
-
toDate: u,
|
|
32
|
-
mode: "range",
|
|
33
|
-
defaultMonth: t == null ? void 0 : t.startDate,
|
|
34
|
-
selected: { from: t == null ? void 0 : t.startDate, to: t == null ? void 0 : t.endDate },
|
|
35
|
-
onDayClick: (r) => v(r),
|
|
36
|
-
numberOfMonths: 1,
|
|
37
|
-
disabled: b,
|
|
38
|
-
"data-testid": $
|
|
39
|
-
}
|
|
40
|
-
);
|
|
41
|
-
return p ? D : /* @__PURE__ */ i("div", { className: m("grid gap-2", s), children: /* @__PURE__ */ c(y, { children: [
|
|
42
|
-
/* @__PURE__ */ i(d, { asChild: !0, children: /* @__PURE__ */ i(
|
|
43
|
-
g,
|
|
44
|
-
{
|
|
45
|
-
"data-testid": "date-range",
|
|
46
|
-
color: "secondary",
|
|
47
|
-
EndIcon: "calendar",
|
|
48
|
-
className: m("justify-between text-left font-normal", !t && "text-subtle"),
|
|
49
|
-
children: t != null && t.startDate ? t != null && t.endDate ? /* @__PURE__ */ c(f, { children: [
|
|
50
|
-
n(t.startDate, "LLL dd, y"),
|
|
51
|
-
" - ",
|
|
52
|
-
n(t.endDate, "LLL dd, y")
|
|
53
|
-
] }) : /* @__PURE__ */ c(f, { children: [
|
|
54
|
-
n(t.startDate, "LLL dd, y"),
|
|
55
|
-
" - End"
|
|
56
|
-
] }) : /* @__PURE__ */ i("span", { children: "Pick a date" })
|
|
57
|
-
}
|
|
58
|
-
) }),
|
|
59
|
-
/* @__PURE__ */ i(
|
|
60
|
-
k,
|
|
61
|
-
{
|
|
62
|
-
className: "bg-default text-emphasis z-50 w-auto rounded-md border p-0 outline-none",
|
|
63
|
-
align: "start",
|
|
64
|
-
sideOffset: 4,
|
|
65
|
-
side: o ? "bottom" : void 0,
|
|
66
|
-
avoidCollisions: !o,
|
|
67
|
-
children: D
|
|
68
|
-
}
|
|
69
|
-
)
|
|
70
|
-
] }) });
|
|
71
|
-
}
|
|
72
|
-
export {
|
|
73
|
-
w as DatePickerWithRange
|
|
74
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { jsx as t, Fragment as u } from "react/jsx-runtime";
|
|
2
|
-
import { w as A, x as y, y as g, z as b, W as f } from "./index--iR_feQQ.js";
|
|
3
|
-
import { useState as P } from "react";
|
|
4
|
-
import { A as v } from "./AppCard--JDiTUMU.js";
|
|
5
|
-
import w from "./EventTypeAppSettingsInterface-EZZkJrLi.js";
|
|
6
|
-
const _ = function({
|
|
7
|
-
eventType: o,
|
|
8
|
-
app: e,
|
|
9
|
-
eventTypeFormMetadata: p
|
|
10
|
-
}) {
|
|
11
|
-
const { t: i } = A(), r = y.usePathname(), { getAppData: a, setAppData: c, disabled: m } = g(), [n, d] = P(a("enabled")), l = b(p), s = !n && l;
|
|
12
|
-
return /* @__PURE__ */ t(
|
|
13
|
-
v,
|
|
14
|
-
{
|
|
15
|
-
returnTo: `${f}${r}?tabName=apps`,
|
|
16
|
-
app: e,
|
|
17
|
-
switchChecked: n,
|
|
18
|
-
switchOnClick: (h) => {
|
|
19
|
-
d(h);
|
|
20
|
-
},
|
|
21
|
-
description: /* @__PURE__ */ t(u, { children: "Add lightning payments to your events and booking" }),
|
|
22
|
-
disableSwitch: s,
|
|
23
|
-
switchTooltip: s ? i("other_payment_app_enabled") : void 0,
|
|
24
|
-
children: /* @__PURE__ */ t(
|
|
25
|
-
w,
|
|
26
|
-
{
|
|
27
|
-
eventType: o,
|
|
28
|
-
slug: e.slug,
|
|
29
|
-
disabled: m,
|
|
30
|
-
getAppData: a,
|
|
31
|
-
setAppData: c
|
|
32
|
-
}
|
|
33
|
-
)
|
|
34
|
-
}
|
|
35
|
-
);
|
|
36
|
-
};
|
|
37
|
-
export {
|
|
38
|
-
_ as default
|
|
39
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { x as d, W as i } from "./index--iR_feQQ.js";
|
|
3
|
-
import { A as m } from "./AppCard--JDiTUMU.js";
|
|
4
|
-
import { u } from "./useIsAppEnabled-C_9eRB94.js";
|
|
5
|
-
const l = function({ app: t, eventType: e }) {
|
|
6
|
-
var a;
|
|
7
|
-
const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
|
|
8
|
-
return /* @__PURE__ */ s(
|
|
9
|
-
m,
|
|
10
|
-
{
|
|
11
|
-
returnTo: `${i}${p}?tabName=apps`,
|
|
12
|
-
app: t,
|
|
13
|
-
teamId: ((a = e.team) == null ? void 0 : a.id) || void 0,
|
|
14
|
-
switchOnClick: (o) => {
|
|
15
|
-
r(o);
|
|
16
|
-
},
|
|
17
|
-
switchChecked: n,
|
|
18
|
-
hideAppCardOptions: !0
|
|
19
|
-
}
|
|
20
|
-
);
|
|
21
|
-
};
|
|
22
|
-
export {
|
|
23
|
-
l as default
|
|
24
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { y as d } from "./index--iR_feQQ.js";
|
|
3
|
-
import { A as m } from "./AppCard--JDiTUMU.js";
|
|
4
|
-
import { u as c } from "./useIsAppEnabled-C_9eRB94.js";
|
|
5
|
-
import u from "./EventTypeAppSettingsInterface-J_c1VzIk.js";
|
|
6
|
-
const E = function({ app: t, eventType: e }) {
|
|
7
|
-
var p;
|
|
8
|
-
const { getAppData: r, setAppData: s, disabled: n } = d(), { enabled: o, updateEnabled: i } = c(t);
|
|
9
|
-
return /* @__PURE__ */ a(
|
|
10
|
-
m,
|
|
11
|
-
{
|
|
12
|
-
hideSettingsIcon: !0,
|
|
13
|
-
app: t,
|
|
14
|
-
switchOnClick: i,
|
|
15
|
-
switchChecked: o,
|
|
16
|
-
teamId: ((p = e.team) == null ? void 0 : p.id) || void 0,
|
|
17
|
-
children: /* @__PURE__ */ a(
|
|
18
|
-
u,
|
|
19
|
-
{
|
|
20
|
-
eventType: e,
|
|
21
|
-
slug: t.slug,
|
|
22
|
-
disabled: n,
|
|
23
|
-
getAppData: r,
|
|
24
|
-
setAppData: s
|
|
25
|
-
}
|
|
26
|
-
)
|
|
27
|
-
}
|
|
28
|
-
);
|
|
29
|
-
};
|
|
30
|
-
export {
|
|
31
|
-
E as default
|
|
32
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { y as m } from "./index--iR_feQQ.js";
|
|
3
|
-
import { A as c } from "./AppCard--JDiTUMU.js";
|
|
4
|
-
import { u } from "./useIsAppEnabled-C_9eRB94.js";
|
|
5
|
-
import l from "./EventTypeAppSettingsInterface-cbkdr04f.js";
|
|
6
|
-
const b = function({ app: t, eventType: e }) {
|
|
7
|
-
var p;
|
|
8
|
-
const { getAppData: r, setAppData: s, disabled: n } = m(), { enabled: o, updateEnabled: i } = u(t);
|
|
9
|
-
return /* @__PURE__ */ a(
|
|
10
|
-
c,
|
|
11
|
-
{
|
|
12
|
-
hideSettingsIcon: !0,
|
|
13
|
-
app: t,
|
|
14
|
-
switchOnClick: (d) => {
|
|
15
|
-
i(d);
|
|
16
|
-
},
|
|
17
|
-
switchChecked: o,
|
|
18
|
-
teamId: ((p = e.team) == null ? void 0 : p.id) || void 0,
|
|
19
|
-
children: /* @__PURE__ */ a(
|
|
20
|
-
l,
|
|
21
|
-
{
|
|
22
|
-
eventType: e,
|
|
23
|
-
slug: t.slug,
|
|
24
|
-
disabled: n,
|
|
25
|
-
getAppData: r,
|
|
26
|
-
setAppData: s
|
|
27
|
-
}
|
|
28
|
-
)
|
|
29
|
-
}
|
|
30
|
-
);
|
|
31
|
-
};
|
|
32
|
-
export {
|
|
33
|
-
b as default
|
|
34
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { y as d } from "./index--iR_feQQ.js";
|
|
3
|
-
import { A as c } from "./AppCard--JDiTUMU.js";
|
|
4
|
-
import { u as m } from "./useIsAppEnabled-C_9eRB94.js";
|
|
5
|
-
import l from "./EventTypeAppSettingsInterface-CLwwrZv6.js";
|
|
6
|
-
const b = function({ app: t, eventType: p }) {
|
|
7
|
-
const { getAppData: r, setAppData: s, disabled: a } = d(), { enabled: n, updateEnabled: o } = m(t);
|
|
8
|
-
return /* @__PURE__ */ e(
|
|
9
|
-
c,
|
|
10
|
-
{
|
|
11
|
-
app: t,
|
|
12
|
-
switchOnClick: (i) => {
|
|
13
|
-
o(i);
|
|
14
|
-
},
|
|
15
|
-
switchChecked: n,
|
|
16
|
-
children: /* @__PURE__ */ e(
|
|
17
|
-
l,
|
|
18
|
-
{
|
|
19
|
-
slug: t.slug,
|
|
20
|
-
eventType: p,
|
|
21
|
-
disabled: a,
|
|
22
|
-
getAppData: r,
|
|
23
|
-
setAppData: s
|
|
24
|
-
}
|
|
25
|
-
)
|
|
26
|
-
}
|
|
27
|
-
);
|
|
28
|
-
};
|
|
29
|
-
export {
|
|
30
|
-
b as default
|
|
31
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { x as d, W as i } from "./index--iR_feQQ.js";
|
|
3
|
-
import { A as m } from "./AppCard--JDiTUMU.js";
|
|
4
|
-
import { u } from "./useIsAppEnabled-C_9eRB94.js";
|
|
5
|
-
const l = function({ app: t, eventType: e }) {
|
|
6
|
-
var a;
|
|
7
|
-
const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
|
|
8
|
-
return /* @__PURE__ */ s(
|
|
9
|
-
m,
|
|
10
|
-
{
|
|
11
|
-
returnTo: `${i}${p}?tabName=apps`,
|
|
12
|
-
app: t,
|
|
13
|
-
teamId: ((a = e.team) == null ? void 0 : a.id) || void 0,
|
|
14
|
-
switchOnClick: (o) => {
|
|
15
|
-
r(o);
|
|
16
|
-
},
|
|
17
|
-
switchChecked: n,
|
|
18
|
-
hideAppCardOptions: !0
|
|
19
|
-
}
|
|
20
|
-
);
|
|
21
|
-
};
|
|
22
|
-
export {
|
|
23
|
-
l as default
|
|
24
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { w as b, x as f, y, z as E, W as P } from "./index--iR_feQQ.js";
|
|
3
|
-
import { useState as w } from "react";
|
|
4
|
-
import { A as C } from "./AppCard--JDiTUMU.js";
|
|
5
|
-
import { u as g } from "./useIsAppEnabled-C_9eRB94.js";
|
|
6
|
-
import v from "./EventTypeAppSettingsInterface-JBpWa3pz.js";
|
|
7
|
-
const q = function({
|
|
8
|
-
app: e,
|
|
9
|
-
eventType: t,
|
|
10
|
-
eventTypeFormMetadata: p
|
|
11
|
-
}) {
|
|
12
|
-
var n;
|
|
13
|
-
const { t: i } = b(), r = f.usePathname(), { getAppData: a, setAppData: m, disabled: c } = y(), { enabled: d, updateEnabled: l } = g(e), u = E(p), [h, x] = w(a("enabled")), s = !h && u;
|
|
14
|
-
return /* @__PURE__ */ o(
|
|
15
|
-
C,
|
|
16
|
-
{
|
|
17
|
-
returnTo: `${P}${r}?tabName=apps`,
|
|
18
|
-
app: e,
|
|
19
|
-
switchChecked: d,
|
|
20
|
-
switchOnClick: (A) => {
|
|
21
|
-
l(A);
|
|
22
|
-
},
|
|
23
|
-
teamId: ((n = t.team) == null ? void 0 : n.id) || void 0,
|
|
24
|
-
disableSwitch: s,
|
|
25
|
-
switchTooltip: s ? i("other_payment_app_enabled") : void 0,
|
|
26
|
-
children: /* @__PURE__ */ o(
|
|
27
|
-
v,
|
|
28
|
-
{
|
|
29
|
-
eventType: t,
|
|
30
|
-
slug: e.slug,
|
|
31
|
-
disabled: c,
|
|
32
|
-
getAppData: a,
|
|
33
|
-
setAppData: m
|
|
34
|
-
}
|
|
35
|
-
)
|
|
36
|
-
}
|
|
37
|
-
);
|
|
38
|
-
};
|
|
39
|
-
export {
|
|
40
|
-
q as default
|
|
41
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { useState as c } from "react";
|
|
3
|
-
import { y as m, f as l } from "./index--iR_feQQ.js";
|
|
4
|
-
import { A as f } from "./AppCard--JDiTUMU.js";
|
|
5
|
-
const k = function({ app: p, eventType: i }) {
|
|
6
|
-
var n;
|
|
7
|
-
const { getAppData: t, setAppData: o } = m(), s = t("trackingId"), [d, a] = c(t("enabled"));
|
|
8
|
-
return /* @__PURE__ */ r(
|
|
9
|
-
f,
|
|
10
|
-
{
|
|
11
|
-
app: p,
|
|
12
|
-
switchOnClick: (e) => {
|
|
13
|
-
a(!!e);
|
|
14
|
-
},
|
|
15
|
-
switchChecked: d,
|
|
16
|
-
teamId: ((n = i.team) == null ? void 0 : n.id) || void 0,
|
|
17
|
-
children: /* @__PURE__ */ r(
|
|
18
|
-
l,
|
|
19
|
-
{
|
|
20
|
-
name: "Tracking ID",
|
|
21
|
-
value: s,
|
|
22
|
-
onChange: (e) => {
|
|
23
|
-
o("trackingId", e.target.value);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
)
|
|
27
|
-
}
|
|
28
|
-
);
|
|
29
|
-
};
|
|
30
|
-
export {
|
|
31
|
-
k as default
|
|
32
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { y as l, f as m } from "./index--iR_feQQ.js";
|
|
3
|
-
import { A as u } from "./AppCard--JDiTUMU.js";
|
|
4
|
-
import { u as h } from "./useIsAppEnabled-C_9eRB94.js";
|
|
5
|
-
const D = function({ app: a, eventType: d }) {
|
|
6
|
-
var s;
|
|
7
|
-
const { getAppData: n, setAppData: r, disabled: p } = l(), i = n("SITE_ID"), { enabled: o, updateEnabled: c } = h(a);
|
|
8
|
-
return /* @__PURE__ */ t(
|
|
9
|
-
u,
|
|
10
|
-
{
|
|
11
|
-
app: a,
|
|
12
|
-
switchOnClick: (e) => {
|
|
13
|
-
c(e);
|
|
14
|
-
},
|
|
15
|
-
switchChecked: o,
|
|
16
|
-
teamId: ((s = d.team) == null ? void 0 : s.id) || void 0,
|
|
17
|
-
children: /* @__PURE__ */ t("fieldset", { className: "space-y-2", disabled: p, children: /* @__PURE__ */ t(
|
|
18
|
-
m,
|
|
19
|
-
{
|
|
20
|
-
disabled: p,
|
|
21
|
-
name: "Site ID",
|
|
22
|
-
value: i,
|
|
23
|
-
placeholder: "Enter your Site ID",
|
|
24
|
-
onChange: (e) => {
|
|
25
|
-
r("SITE_ID", e.target.value);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
) })
|
|
29
|
-
}
|
|
30
|
-
);
|
|
31
|
-
};
|
|
32
|
-
export {
|
|
33
|
-
D as default
|
|
34
|
-
};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { jsx as a, jsxs as m } from "react/jsx-runtime";
|
|
2
|
-
import { y as h, f as n } from "./index--iR_feQQ.js";
|
|
3
|
-
import { A as I } from "./AppCard--JDiTUMU.js";
|
|
4
|
-
import { u as C } from "./useIsAppEnabled-C_9eRB94.js";
|
|
5
|
-
const R = function({ app: s, eventType: o }) {
|
|
6
|
-
var i;
|
|
7
|
-
const { getAppData: p, setAppData: r, disabled: t } = h(), c = p("SITE_ID"), d = p("SCRIPT_URL"), { enabled: l, updateEnabled: u } = C(s);
|
|
8
|
-
return /* @__PURE__ */ a(
|
|
9
|
-
I,
|
|
10
|
-
{
|
|
11
|
-
app: s,
|
|
12
|
-
switchOnClick: (e) => {
|
|
13
|
-
u(e);
|
|
14
|
-
},
|
|
15
|
-
switchChecked: l,
|
|
16
|
-
teamId: ((i = o.team) == null ? void 0 : i.id) || void 0,
|
|
17
|
-
children: /* @__PURE__ */ m("fieldset", { className: "space-y-2", disabled: t, children: [
|
|
18
|
-
/* @__PURE__ */ a(
|
|
19
|
-
n,
|
|
20
|
-
{
|
|
21
|
-
disabled: t,
|
|
22
|
-
name: "Script URL",
|
|
23
|
-
value: d,
|
|
24
|
-
defaultValue: "https://us.umami.is/script.js",
|
|
25
|
-
placeholder: "Enter the script source URL",
|
|
26
|
-
onChange: (e) => {
|
|
27
|
-
r("SCRIPT_URL", e.target.value);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
),
|
|
31
|
-
/* @__PURE__ */ a(
|
|
32
|
-
n,
|
|
33
|
-
{
|
|
34
|
-
disabled: t,
|
|
35
|
-
name: "Site ID",
|
|
36
|
-
value: c,
|
|
37
|
-
placeholder: "Enter your Site ID",
|
|
38
|
-
onChange: (e) => {
|
|
39
|
-
r("SITE_ID", e.target.value);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
)
|
|
43
|
-
] })
|
|
44
|
-
}
|
|
45
|
-
);
|
|
46
|
-
};
|
|
47
|
-
export {
|
|
48
|
-
R as default
|
|
49
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { y as m } from "./index--iR_feQQ.js";
|
|
3
|
-
import { A as c } from "./AppCard--JDiTUMU.js";
|
|
4
|
-
import { u as l } from "./useIsAppEnabled-C_9eRB94.js";
|
|
5
|
-
import u from "./EventTypeAppSettingsInterface-eejB8RJX.js";
|
|
6
|
-
const g = function({ eventType: e, app: t }) {
|
|
7
|
-
var p;
|
|
8
|
-
const { enabled: r, updateEnabled: s } = l(t), { disabled: o, getAppData: n, setAppData: d } = m();
|
|
9
|
-
return /* @__PURE__ */ a(
|
|
10
|
-
c,
|
|
11
|
-
{
|
|
12
|
-
app: t,
|
|
13
|
-
switchOnClick: (i) => {
|
|
14
|
-
s(i);
|
|
15
|
-
},
|
|
16
|
-
switchChecked: r,
|
|
17
|
-
teamId: ((p = e.team) == null ? void 0 : p.id) || void 0,
|
|
18
|
-
children: /* @__PURE__ */ a(
|
|
19
|
-
u,
|
|
20
|
-
{
|
|
21
|
-
eventType: e,
|
|
22
|
-
slug: t.slug,
|
|
23
|
-
disabled: o,
|
|
24
|
-
getAppData: n,
|
|
25
|
-
setAppData: d
|
|
26
|
-
}
|
|
27
|
-
)
|
|
28
|
-
}
|
|
29
|
-
);
|
|
30
|
-
};
|
|
31
|
-
export {
|
|
32
|
-
g as default
|
|
33
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { y as m } from "./index--iR_feQQ.js";
|
|
3
|
-
import { A as c } from "./AppCard--JDiTUMU.js";
|
|
4
|
-
import { u } from "./useIsAppEnabled-C_9eRB94.js";
|
|
5
|
-
import l from "./EventTypeAppSettingsInterface-K4kVWoog.js";
|
|
6
|
-
const b = function({ app: t, eventType: e }) {
|
|
7
|
-
var p;
|
|
8
|
-
const { getAppData: r, setAppData: s, disabled: n } = m(), { enabled: o, updateEnabled: i } = u(t);
|
|
9
|
-
return /* @__PURE__ */ a(
|
|
10
|
-
c,
|
|
11
|
-
{
|
|
12
|
-
hideSettingsIcon: !0,
|
|
13
|
-
app: t,
|
|
14
|
-
switchOnClick: (d) => {
|
|
15
|
-
i(d);
|
|
16
|
-
},
|
|
17
|
-
switchChecked: o,
|
|
18
|
-
teamId: ((p = e.team) == null ? void 0 : p.id) || void 0,
|
|
19
|
-
children: /* @__PURE__ */ a(
|
|
20
|
-
l,
|
|
21
|
-
{
|
|
22
|
-
eventType: e,
|
|
23
|
-
slug: t.slug,
|
|
24
|
-
disabled: n,
|
|
25
|
-
getAppData: r,
|
|
26
|
-
setAppData: s
|
|
27
|
-
}
|
|
28
|
-
)
|
|
29
|
-
}
|
|
30
|
-
);
|
|
31
|
-
};
|
|
32
|
-
export {
|
|
33
|
-
b as default
|
|
34
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import { y as l, f as m } from "./index--iR_feQQ.js";
|
|
3
|
-
import { A as u } from "./AppCard--JDiTUMU.js";
|
|
4
|
-
import { u as I } from "./useIsAppEnabled-C_9eRB94.js";
|
|
5
|
-
const D = function({ app: t, eventType: n }) {
|
|
6
|
-
var a;
|
|
7
|
-
const { getAppData: o, setAppData: r, disabled: d } = l(), s = o("SITE_ID"), { enabled: i, updateEnabled: c } = I(t);
|
|
8
|
-
return /* @__PURE__ */ p(
|
|
9
|
-
u,
|
|
10
|
-
{
|
|
11
|
-
app: t,
|
|
12
|
-
switchOnClick: (e) => {
|
|
13
|
-
c(e);
|
|
14
|
-
},
|
|
15
|
-
switchChecked: i,
|
|
16
|
-
teamId: ((a = n.team) == null ? void 0 : a.id) || void 0,
|
|
17
|
-
children: /* @__PURE__ */ p(
|
|
18
|
-
m,
|
|
19
|
-
{
|
|
20
|
-
disabled: d,
|
|
21
|
-
name: "Site ID",
|
|
22
|
-
value: s,
|
|
23
|
-
placeholder: "Enter your Site ID",
|
|
24
|
-
onChange: (e) => {
|
|
25
|
-
r("SITE_ID", e.target.value);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
)
|
|
29
|
-
}
|
|
30
|
-
);
|
|
31
|
-
};
|
|
32
|
-
export {
|
|
33
|
-
D as default
|
|
34
|
-
};
|