@calcom/atoms 1.1.1-debug-dont-use → 1.1.12-debug-dont-use
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-CVMPei2D.js → AddressInput-HCjsIzUK.js} +1 -1
- package/dist/{AlbyPriceComponent-E6ULoDL6.js → AlbyPriceComponent-W5HsVgkl.js} +24 -24
- package/dist/{AppCard-cTGNOAHy.js → AppCard-w9WigXZl.js} +24 -24
- package/dist/{AppListCardPlatformWrapper-NSThSuXk.js → AppListCardPlatformWrapper-GlHYO_vL.js} +1 -1
- package/dist/{AppListCardWebWrapper-XwKnQn63.js → AppListCardWebWrapper-pBX_TR8d.js} +7 -7
- package/dist/{AppSettingsInterface-ZH3XhiYG.js → AppSettingsInterface-I35iVKTR.js} +1 -1
- package/dist/{AppSettingsInterface-x5iDZUBe.js → AppSettingsInterface-JeuREkvc.js} +4 -4
- package/dist/{AppSettingsInterface-YBMLeXt4.js → AppSettingsInterface-oAXII9bZ.js} +1 -1
- package/dist/DateRangePicker-CXZAze06.js +74 -0
- package/dist/{EventTypeAppCardInterface-cZjp0yNN.js → EventTypeAppCardInterface-1kb1DAXF.js} +4 -4
- package/dist/{EventTypeAppCardInterface-C6ns7UmL.js → EventTypeAppCardInterface-6bLFf-mJ.js} +3 -3
- package/dist/{EventTypeAppCardInterface-0gSJQJit.js → EventTypeAppCardInterface-9m0ipUcV.js} +2 -2
- package/dist/{EventTypeAppCardInterface--fNkLgYH.js → EventTypeAppCardInterface-BRO9C63X.js} +40 -40
- package/dist/{EventTypeAppCardInterface-2TR5xhf8.js → EventTypeAppCardInterface-BwxW6cnG.js} +4 -4
- package/dist/{EventTypeAppCardInterface-TSa1z_cz.js → EventTypeAppCardInterface-CJ33bYe7.js} +3 -3
- package/dist/{EventTypeAppCardInterface-9C3Wfgpy.js → EventTypeAppCardInterface-CfO5a7L0.js} +3 -3
- package/dist/{EventTypeAppCardInterface-omHgFR_2.js → EventTypeAppCardInterface-F8SkmnAV.js} +3 -3
- package/dist/{EventTypeAppCardInterface-VxD1hz61.js → EventTypeAppCardInterface-GsL1RQwm.js} +4 -4
- package/dist/{EventTypeAppCardInterface-L_OQx-GG.js → EventTypeAppCardInterface-KURGmUXt.js} +4 -4
- package/dist/{EventTypeAppCardInterface-VdYfOsab.js → EventTypeAppCardInterface-Ktu6bZ3i.js} +3 -3
- package/dist/{EventTypeAppCardInterface-Q8BoN8IR.js → EventTypeAppCardInterface-LXta9gcp.js} +3 -3
- package/dist/{EventTypeAppCardInterface-F5At064k.js → EventTypeAppCardInterface-Ln9B2t8h.js} +8 -8
- package/dist/{EventTypeAppCardInterface-x8x6_qO2.js → EventTypeAppCardInterface-OP6dHmv1.js} +26 -26
- package/dist/{EventTypeAppCardInterface-_mJKoptx.js → EventTypeAppCardInterface-OuxQbhJB.js} +15 -15
- package/dist/{EventTypeAppCardInterface-JCEQYUtS.js → EventTypeAppCardInterface-POroEYPz.js} +4 -4
- package/dist/EventTypeAppCardInterface-UgRsp57-.js +24 -0
- package/dist/{EventTypeAppCardInterface-NMuTJqnR.js → EventTypeAppCardInterface-VKpVuOwh.js} +4 -4
- package/dist/{EventTypeAppCardInterface-_2yZa06r.js → EventTypeAppCardInterface-XumD3_xd.js} +3 -3
- package/dist/{EventTypeAppCardInterface-ix9-eOy7.js → EventTypeAppCardInterface-Y9jLf1-k.js} +4 -4
- package/dist/{EventTypeAppCardInterface-V2CVt-gp.js → EventTypeAppCardInterface-_feKFUHj.js} +3 -3
- package/dist/{EventTypeAppCardInterface-Zei_gfk9.js → EventTypeAppCardInterface-bPOmfcYy.js} +10 -10
- package/dist/{EventTypeAppCardInterface-ugSSelEX.js → EventTypeAppCardInterface-bzG36hFi.js} +8 -8
- package/dist/EventTypeAppCardInterface-dr-WH0By.js +39 -0
- package/dist/{EventTypeAppCardInterface-0cii-lHS.js → EventTypeAppCardInterface-mpGRRFxM.js} +4 -4
- package/dist/{EventTypeAppCardInterface-qaVZIE5N.js → EventTypeAppCardInterface-nJac5DFJ.js} +3 -3
- package/dist/{EventTypeAppCardInterface-pS7YojCs.js → EventTypeAppCardInterface-szvi48V9.js} +3 -3
- package/dist/{EventTypeAppSettingsInterface-mf5L8PKf.js → EventTypeAppSettingsInterface-0MF998H2.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-USUuP18O.js → EventTypeAppSettingsInterface-BAihaVJh.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-A-zPsqPN.js → EventTypeAppSettingsInterface-ImRIWr2B.js} +8 -8
- package/dist/{EventTypeAppSettingsInterface-TxRlEgaM.js → EventTypeAppSettingsInterface-LRT7n_yL.js} +10 -10
- package/dist/{EventTypeAppSettingsInterface-xfI4WyE9.js → EventTypeAppSettingsInterface-S56c57pv.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-SrOLSflD.js → EventTypeAppSettingsInterface-c_xJm5bW.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-aGQavYPZ.js → EventTypeAppSettingsInterface-eTApsNn0.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-_jGTLesb.js → EventTypeAppSettingsInterface-ig05GsDo.js} +5 -5
- package/dist/{EventTypeAppSettingsInterface-Mw0nUm2I.js → EventTypeAppSettingsInterface-mywPJB7s.js} +3 -3
- package/dist/{EventTypeAppSettingsInterface-N-387tFo.js → EventTypeAppSettingsInterface-o_5kPQhw.js} +7 -7
- package/dist/EventTypeAppSettingsInterface-qDv421du.js +79 -0
- package/dist/{EventTypeAppSettingsInterface-wRyNHA8Z.js → EventTypeAppSettingsInterface-yS0zHBGd.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-uJw6TEuG.js → EventTypeAppSettingsInterface-zxD_C4fz.js} +8 -8
- package/dist/{InstallAppButton-sMIEaIrB.js → InstallAppButton-5IiP8C1s.js} +1 -1
- package/dist/{InstallAppButton-xME8ESsW.js → InstallAppButton-A3IP79r5.js} +3 -3
- package/dist/{InstallAppButton-3pRRFAeS.js → InstallAppButton-iRRxz6bW.js} +3 -3
- package/dist/{PhoneInput-_96ULuJw.js → PhoneInput-AXj4II7F.js} +1 -1
- package/dist/{StripePaymentForm-1ANfOJyB.js → StripePaymentForm-B2pea_tS.js} +6 -6
- package/dist/cal-atoms.js +17 -17
- package/dist/{index-me6CfU0W.js → index-7h1iB9JC.js} +15 -15
- package/dist/{index-qcnOr3S-.js → index-Jf2GAhqH.js} +1 -1
- package/dist/index-KQrl08NN.js +30 -0
- package/dist/{index-ZQlxzdt5.js → index-SWq3GK12.js} +66956 -63821
- package/dist/packages/features/bookings/Booker/Booker.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts +1 -1
- package/dist/packages/features/bookings/Booker/components/EventMeta.d.ts.map +1 -1
- package/dist/packages/features/bookings/Booker/utils/event.d.ts +21 -1
- package/dist/packages/features/bookings/Booker/utils/event.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingToDelete.d.ts +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +4 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +14 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +4 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/originalRescheduledBookingUtils.d.ts +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/types.d.ts +2 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/types.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking.d.ts.map +1 -1
- 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/components/timezone-select/TimezoneSelect.d.ts.map +1 -1
- package/dist/packages/features/ee/payments/components/PaymentPage.d.ts.map +1 -1
- package/dist/packages/features/ee/payments/pages/payment.d.ts +1 -0
- package/dist/packages/features/ee/payments/pages/payment.d.ts.map +1 -1
- package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts +2 -0
- package/dist/packages/features/ee/round-robin/handleRescheduleEventManager.d.ts.map +1 -1
- 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/lib/getWorkflowReminders.d.ts +6 -0
- package/dist/packages/features/ee/workflows/lib/getWorkflowReminders.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/lib/reminders/emailReminderManager.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/repository/workflowReminder.d.ts +1 -1
- package/dist/packages/features/ee/workflows/lib/schema.d.ts +4 -4
- package/dist/packages/features/eventtypes/components/EventType.d.ts +2 -1
- package/dist/packages/features/eventtypes/components/EventType.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/EventTypeLayout.d.ts +2 -1
- package/dist/packages/features/eventtypes/components/EventTypeLayout.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/MultiplePrivateLinksController.d.ts +4 -1
- package/dist/packages/features/eventtypes/components/MultiplePrivateLinksController.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts +1 -1
- package/dist/packages/features/eventtypes/components/tabs/advanced/EventAdvancedTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +33 -1
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts +2 -1
- package/dist/packages/features/eventtypes/lib/getTeamEventType.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/types.d.ts +16 -1
- package/dist/packages/features/eventtypes/lib/types.d.ts.map +1 -1
- package/dist/packages/features/form-builder/FormBuilder.d.ts.map +1 -1
- package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts +3 -2
- package/dist/packages/platform/atoms/availability/AvailabilitySettings.d.ts.map +1 -1
- package/dist/packages/platform/atoms/availability/types.d.ts +8 -0
- package/dist/packages/platform/atoms/availability/types.d.ts.map +1 -1
- package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts +1 -1
- package/dist/packages/platform/atoms/availability/wrappers/AvailabilitySettingsPlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/cal-provider/BaseCalProvider.d.ts.map +1 -1
- package/dist/packages/platform/atoms/connect/conferencing-apps/hooks/useAtomBulkUpdateEventTypesToDefaultLocation.d.ts +1 -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 +24 -2
- 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 +1 -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 +9 -1
- 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/EventTypePlatformWrapper.d.ts +2 -2
- package/dist/packages/platform/atoms/event-types/wrappers/EventTypePlatformWrapper.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/wrappers/types.d.ts +2 -0
- package/dist/packages/platform/atoms/event-types/wrappers/types.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/private/useCreateEventType.d.ts +1 -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 +1 -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 +1 -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 +21 -1
- package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts.map +1 -1
- package/dist/packages/platform/atoms/index.d.ts +2 -0
- package/dist/packages/platform/atoms/index.d.ts.map +1 -1
- package/dist/packages/platform/libraries/repositories.d.ts +1 -1
- 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/prisma/zod/custom/eventtype.d.ts +41 -3
- package/dist/packages/prisma/zod/custom/eventtype.d.ts.map +1 -1
- package/dist/packages/prisma/zod/eventtype.d.ts +11 -0
- package/dist/packages/prisma/zod/eventtype.d.ts.map +1 -1
- package/dist/packages/prisma/zod/hashedlink.d.ts +9 -0
- package/dist/packages/prisma/zod/hashedlink.d.ts.map +1 -1
- package/dist/packages/prisma/zod/workflowstep.d.ts +2 -2
- package/dist/packages/prisma/zod-utils.d.ts +154 -0
- package/dist/packages/prisma/zod-utils.d.ts.map +1 -1
- package/dist/packages/prisma-client/index.d.ts +248 -1
- package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts +2 -2
- package/dist/packages/trpc/server/routers/viewer/slots/util.d.ts.map +1 -1
- package/dist/{useIsAppEnabled-V8Jl9FX-.js → useIsAppEnabled-FQVY7rlm.js} +1 -1
- package/globals.min.css +16 -3
- package/package.json +2 -3
- package/dist/DateRangePicker-f_B5u4e9.js +0 -2405
- package/dist/EventTypeAppCardInterface-wPiG1Uab.js +0 -24
- package/dist/index-VZRHTsae.js +0 -28
package/dist/{EventTypeAppCardInterface--fNkLgYH.js → EventTypeAppCardInterface-BRO9C63X.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as r, Fragment as E, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { y as ae, a3 as h, a4 as $, a5 as q, q as p, I as b, S as f, u as F, a6 as D, z as te, G as ce, a7 as m, W as se, L as J, a8 as re, M as de } from "./index-SWq3GK12.js";
|
|
3
3
|
import { useState as g } from "react";
|
|
4
|
-
import { S as c, A as ue } from "./AppCard-
|
|
5
|
-
import { u as he } from "./useIsAppEnabled-
|
|
6
|
-
var
|
|
4
|
+
import { S as c, A as ue } from "./AppCard-w9WigXZl.js";
|
|
5
|
+
import { u as he } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
6
|
+
var Q = /* @__PURE__ */ ((x) => (x.ON_BOOKING = "on_booking", x.ON_CANCEL = "on_cancel", x))(Q || {});
|
|
7
7
|
const le = ({
|
|
8
8
|
bookingAction: x,
|
|
9
9
|
optionLabel: L,
|
|
10
|
-
optionEnabled:
|
|
10
|
+
optionEnabled: z,
|
|
11
11
|
optionSwitchOnChange: K,
|
|
12
12
|
writeToObjectData: o,
|
|
13
13
|
updateWriteToObjectData: s
|
|
@@ -29,16 +29,16 @@ const le = ({
|
|
|
29
29
|
...x === "on_cancel" ? [{ label: d("booking_cancel_date"), value: q.BOOKING_CANCEL_DATE }] : [],
|
|
30
30
|
{ label: d("booking_start_date"), value: q.BOOKING_START_DATE },
|
|
31
31
|
{ label: d("booking_created_date"), value: q.BOOKING_CREATED_DATE }
|
|
32
|
-
], [
|
|
32
|
+
], [y, G] = g(O[0]), [I, U] = g(k[0]), [W, H] = g(
|
|
33
33
|
C[0]
|
|
34
|
-
), [_,
|
|
34
|
+
), [_, M] = g(T[0]), [A, j] = g({}), [R, S] = g(
|
|
35
35
|
{}
|
|
36
36
|
), [u, N] = g({
|
|
37
37
|
field: "",
|
|
38
|
-
fieldType:
|
|
38
|
+
fieldType: y.value,
|
|
39
39
|
value: "",
|
|
40
40
|
whenToWrite: _.value
|
|
41
|
-
}),
|
|
41
|
+
}), X = (n) => {
|
|
42
42
|
Object.keys(A).forEach((a) => {
|
|
43
43
|
A[a] && a !== n && B(a);
|
|
44
44
|
}), j((a) => ({ ...a, [n]: !0 })), S((a) => ({
|
|
@@ -78,13 +78,13 @@ const le = ({
|
|
|
78
78
|
/* @__PURE__ */ e(c.SubSectionHeader, { icon: "star", labelFor: "write-to-object-settings", title: L, children: /* @__PURE__ */ e(
|
|
79
79
|
p,
|
|
80
80
|
{
|
|
81
|
-
checked:
|
|
81
|
+
checked: z,
|
|
82
82
|
onCheckedChange: K,
|
|
83
83
|
id: "write-to-object-settings",
|
|
84
84
|
size: "sm"
|
|
85
85
|
}
|
|
86
86
|
) }),
|
|
87
|
-
|
|
87
|
+
z ? /* @__PURE__ */ r(c.SubSectionContent, { children: [
|
|
88
88
|
/* @__PURE__ */ r("div", { className: "text-subtle flex gap-3 px-3 py-[6px] text-sm font-medium", children: [
|
|
89
89
|
/* @__PURE__ */ e("div", { className: "flex-1", children: d("field_name") }),
|
|
90
90
|
/* @__PURE__ */ e("div", { className: "flex-1", children: d("field_type") }),
|
|
@@ -266,7 +266,7 @@ const le = ({
|
|
|
266
266
|
StartIcon: "pencil",
|
|
267
267
|
variant: "icon",
|
|
268
268
|
color: "minimal",
|
|
269
|
-
onClick: () =>
|
|
269
|
+
onClick: () => X(n)
|
|
270
270
|
}
|
|
271
271
|
),
|
|
272
272
|
/* @__PURE__ */ e(
|
|
@@ -304,14 +304,14 @@ const le = ({
|
|
|
304
304
|
size: "sm",
|
|
305
305
|
className: "w-full",
|
|
306
306
|
options: O,
|
|
307
|
-
value:
|
|
307
|
+
value: y,
|
|
308
308
|
onChange: (n) => {
|
|
309
|
-
n && (
|
|
309
|
+
n && (G(n), N({
|
|
310
310
|
...u,
|
|
311
311
|
fieldType: n.value,
|
|
312
|
-
...n.value === h.DATE && { value:
|
|
312
|
+
...n.value === h.DATE && { value: I.value },
|
|
313
313
|
...n.value === h.CHECKBOX && {
|
|
314
|
-
value:
|
|
314
|
+
value: W.value
|
|
315
315
|
}
|
|
316
316
|
}));
|
|
317
317
|
}
|
|
@@ -323,9 +323,9 @@ const le = ({
|
|
|
323
323
|
size: "sm",
|
|
324
324
|
className: "w-full",
|
|
325
325
|
options: k,
|
|
326
|
-
value:
|
|
326
|
+
value: I,
|
|
327
327
|
onChange: (n) => {
|
|
328
|
-
n && (
|
|
328
|
+
n && (U(n), N({
|
|
329
329
|
...u,
|
|
330
330
|
value: n.value
|
|
331
331
|
}));
|
|
@@ -337,7 +337,7 @@ const le = ({
|
|
|
337
337
|
size: "sm",
|
|
338
338
|
className: "w-full",
|
|
339
339
|
options: C,
|
|
340
|
-
value:
|
|
340
|
+
value: W,
|
|
341
341
|
onChange: (n) => {
|
|
342
342
|
n && (H(n), N({
|
|
343
343
|
...u,
|
|
@@ -365,7 +365,7 @@ const le = ({
|
|
|
365
365
|
options: T,
|
|
366
366
|
value: _,
|
|
367
367
|
onChange: (n) => {
|
|
368
|
-
n && (
|
|
368
|
+
n && (M(n), N({
|
|
369
369
|
...u,
|
|
370
370
|
whenToWrite: n.value
|
|
371
371
|
}));
|
|
@@ -407,19 +407,19 @@ const le = ({
|
|
|
407
407
|
)
|
|
408
408
|
] }) : null
|
|
409
409
|
] });
|
|
410
|
-
}, Ce = function({ app: L, eventType:
|
|
410
|
+
}, Ce = function({ app: L, eventType: z }) {
|
|
411
411
|
var ne;
|
|
412
|
-
const K = te.usePathname(), { getAppData: o, setAppData: s, disabled: d } = ce(), { enabled: O, updateEnabled: T } = he(L), C = o("roundRobinLeadSkip"), k = o("roundRobinSkipCheckRecordOn") ?? m.CONTACT,
|
|
412
|
+
const K = te.usePathname(), { getAppData: o, setAppData: s, disabled: d } = ce(), { enabled: O, updateEnabled: T } = he(L), C = o("roundRobinLeadSkip"), k = o("roundRobinSkipCheckRecordOn") ?? m.CONTACT, y = o("ifFreeEmailDomainSkipOwnerCheck") ?? !1, G = o("skipContactCreation"), I = o("createLeadIfAccountNull"), U = o("createNewContactUnderAccount"), W = o("createEventOn") ?? m.CONTACT, H = o("onBookingWriteToEventObject") ?? !1, _ = o("onBookingWriteToEventObjectMap") ?? {}, M = o("createEventOnLeadCheckForContact") ?? !1, A = o("onBookingChangeRecordOwner") ?? !1, j = o("onBookingChangeRecordOwnerName") ?? [], R = o("sendNoShowAttendeeData") ?? !1, S = o("sendNoShowAttendeeDataField") ?? "", u = o("onBookingWriteToRecord") ?? !1, N = o("onBookingWriteToRecordFields") ?? {}, X = o("ignoreGuests") ?? !1, B = o("roundRobinSkipFallbackToLeadOwner") ?? !1, P = o("onCancelWriteToEventRecord") ?? !1, n = o("onCancelWriteToEventRecordFields") ?? {}, { t: a } = ae(), t = [
|
|
413
413
|
{ label: a("contact"), value: m.CONTACT },
|
|
414
414
|
{ label: a("salesforce_lead"), value: m.LEAD },
|
|
415
415
|
{ label: a("salesforce_contact_under_account"), value: m.ACCOUNT }
|
|
416
416
|
], [i, v] = g(
|
|
417
|
-
t.find((l) => l.value ===
|
|
417
|
+
t.find((l) => l.value === W) ?? t[0]
|
|
418
418
|
), V = [
|
|
419
419
|
{ label: a("contact"), value: m.CONTACT },
|
|
420
420
|
{ label: a("salesforce_lead"), value: m.LEAD },
|
|
421
421
|
{ label: a("account"), value: m.ACCOUNT }
|
|
422
|
-
], [
|
|
422
|
+
], [Z, ie] = g(
|
|
423
423
|
V.find((l) => l.value === k) ?? V[0]
|
|
424
424
|
), [w, Y] = g({
|
|
425
425
|
field: "",
|
|
@@ -435,7 +435,7 @@ const le = ({
|
|
|
435
435
|
{
|
|
436
436
|
size: "sm",
|
|
437
437
|
labelOnLeading: !0,
|
|
438
|
-
checked:
|
|
438
|
+
checked: U,
|
|
439
439
|
onCheckedChange: (l) => {
|
|
440
440
|
s("createNewContactUnderAccount", l);
|
|
441
441
|
}
|
|
@@ -448,7 +448,7 @@ const le = ({
|
|
|
448
448
|
{
|
|
449
449
|
returnTo: `${se}${K}?tabName=apps`,
|
|
450
450
|
app: L,
|
|
451
|
-
teamId: ((ne =
|
|
451
|
+
teamId: ((ne = z.team) == null ? void 0 : ne.id) || void 0,
|
|
452
452
|
switchOnClick: (l) => {
|
|
453
453
|
T(l);
|
|
454
454
|
},
|
|
@@ -488,7 +488,7 @@ const le = ({
|
|
|
488
488
|
{
|
|
489
489
|
size: "sm",
|
|
490
490
|
labelOnLeading: !0,
|
|
491
|
-
checked:
|
|
491
|
+
checked: X,
|
|
492
492
|
onCheckedChange: (l) => {
|
|
493
493
|
s("ignoreGuests", l);
|
|
494
494
|
}
|
|
@@ -507,7 +507,7 @@ const le = ({
|
|
|
507
507
|
{
|
|
508
508
|
size: "sm",
|
|
509
509
|
labelOnLeading: !0,
|
|
510
|
-
checked:
|
|
510
|
+
checked: G,
|
|
511
511
|
onCheckedChange: (l) => {
|
|
512
512
|
s("skipContactCreation", l);
|
|
513
513
|
}
|
|
@@ -527,7 +527,7 @@ const le = ({
|
|
|
527
527
|
{
|
|
528
528
|
size: "sm",
|
|
529
529
|
labelOnLeading: !0,
|
|
530
|
-
checked:
|
|
530
|
+
checked: M,
|
|
531
531
|
onCheckedChange: (l) => {
|
|
532
532
|
s("createEventOnLeadCheckForContact", l);
|
|
533
533
|
}
|
|
@@ -550,7 +550,7 @@ const le = ({
|
|
|
550
550
|
{
|
|
551
551
|
size: "sm",
|
|
552
552
|
labelOnLeading: !0,
|
|
553
|
-
checked:
|
|
553
|
+
checked: I,
|
|
554
554
|
onCheckedChange: (l) => {
|
|
555
555
|
s("createLeadIfAccountNull", l);
|
|
556
556
|
}
|
|
@@ -658,8 +658,8 @@ const le = ({
|
|
|
658
658
|
/* @__PURE__ */ e(c.SubSection, { children: /* @__PURE__ */ e(
|
|
659
659
|
le,
|
|
660
660
|
{
|
|
661
|
-
bookingAction:
|
|
662
|
-
optionLabel: a("salesforce_on_booking_write_to_record", { record:
|
|
661
|
+
bookingAction: Q.ON_BOOKING,
|
|
662
|
+
optionLabel: a("salesforce_on_booking_write_to_record", { record: W }),
|
|
663
663
|
optionEnabled: u,
|
|
664
664
|
writeToObjectData: N,
|
|
665
665
|
optionSwitchOnChange: (l) => {
|
|
@@ -690,7 +690,7 @@ const le = ({
|
|
|
690
690
|
),
|
|
691
691
|
A ? /* @__PURE__ */ e(c.SubSectionContent, { classNames: { container: "p-3" }, children: /* @__PURE__ */ r("div", { children: [
|
|
692
692
|
/* @__PURE__ */ e(
|
|
693
|
-
|
|
693
|
+
J,
|
|
694
694
|
{
|
|
695
695
|
htmlFor: "on-booking-change-record-owner-name",
|
|
696
696
|
className: "text-subtle text-sm font-medium",
|
|
@@ -708,7 +708,7 @@ const le = ({
|
|
|
708
708
|
)
|
|
709
709
|
] }) }) : null
|
|
710
710
|
] }),
|
|
711
|
-
|
|
711
|
+
z.schedulingType === re.ROUND_ROBIN ? /* @__PURE__ */ r(E, { children: [
|
|
712
712
|
/* @__PURE__ */ r(c.SubSection, { children: [
|
|
713
713
|
/* @__PURE__ */ e(
|
|
714
714
|
c.SubSectionHeader,
|
|
@@ -731,7 +731,7 @@ const le = ({
|
|
|
731
731
|
),
|
|
732
732
|
C ? /* @__PURE__ */ e(c.SubSectionContent, { classNames: { container: "p-3" }, children: /* @__PURE__ */ r("div", { children: [
|
|
733
733
|
/* @__PURE__ */ e(
|
|
734
|
-
|
|
734
|
+
J,
|
|
735
735
|
{
|
|
736
736
|
htmlFor: "round-robin-skip-check-record-on",
|
|
737
737
|
className: "text-subtle text-sm font-medium",
|
|
@@ -744,7 +744,7 @@ const le = ({
|
|
|
744
744
|
size: "sm",
|
|
745
745
|
className: "w-60",
|
|
746
746
|
options: V,
|
|
747
|
-
value:
|
|
747
|
+
value: Z,
|
|
748
748
|
onChange: (l) => {
|
|
749
749
|
l && (ie(l), s("roundRobinSkipCheckRecordOn", l.value));
|
|
750
750
|
}
|
|
@@ -753,7 +753,7 @@ const le = ({
|
|
|
753
753
|
] }) }) : null
|
|
754
754
|
] }),
|
|
755
755
|
/* @__PURE__ */ e(E, { children: C ? /* @__PURE__ */ r(E, { children: [
|
|
756
|
-
|
|
756
|
+
Z.value === m.CONTACT ? /* @__PURE__ */ e(c.SubSection, { children: /* @__PURE__ */ e(
|
|
757
757
|
c.SubSectionHeader,
|
|
758
758
|
{
|
|
759
759
|
icon: "users",
|
|
@@ -784,7 +784,7 @@ const le = ({
|
|
|
784
784
|
{
|
|
785
785
|
id: "if-free-email-domain-skip-owner-check",
|
|
786
786
|
size: "sm",
|
|
787
|
-
checked:
|
|
787
|
+
checked: y,
|
|
788
788
|
onCheckedChange: (l) => {
|
|
789
789
|
s("ifFreeEmailDomainSkipOwnerCheck", l);
|
|
790
790
|
}
|
|
@@ -799,7 +799,7 @@ const le = ({
|
|
|
799
799
|
/* @__PURE__ */ e(c.SubSection, { children: /* @__PURE__ */ e(
|
|
800
800
|
le,
|
|
801
801
|
{
|
|
802
|
-
bookingAction:
|
|
802
|
+
bookingAction: Q.ON_CANCEL,
|
|
803
803
|
optionLabel: a("salesforce_on_cancel_write_to_event"),
|
|
804
804
|
optionEnabled: P,
|
|
805
805
|
writeToObjectData: n,
|
|
@@ -831,7 +831,7 @@ const le = ({
|
|
|
831
831
|
),
|
|
832
832
|
R ? /* @__PURE__ */ r(c.SubSectionContent, { classNames: { container: "p-3" }, children: [
|
|
833
833
|
/* @__PURE__ */ e(
|
|
834
|
-
|
|
834
|
+
J,
|
|
835
835
|
{
|
|
836
836
|
htmlFor: "send-no-show-attendee-data-field-name",
|
|
837
837
|
className: "text-subtle text-sm font-medium",
|
package/dist/{EventTypeAppCardInterface-2TR5xhf8.js → EventTypeAppCardInterface-BwxW6cnG.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { A as c } from "./AppCard-
|
|
4
|
-
import { u as l } from "./useIsAppEnabled-
|
|
5
|
-
import u from "./EventTypeAppSettingsInterface-
|
|
2
|
+
import { G as m } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A as c } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u as l } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
5
|
+
import u from "./EventTypeAppSettingsInterface-c_xJm5bW.js";
|
|
6
6
|
const g = function({ eventType: e, app: t }) {
|
|
7
7
|
var p;
|
|
8
8
|
const { enabled: r, updateEnabled: s } = l(t), { disabled: o, getAppData: n, setAppData: d } = m();
|
package/dist/{EventTypeAppCardInterface-TSa1z_cz.js → EventTypeAppCardInterface-CJ33bYe7.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { A as m } from "./AppCard-
|
|
4
|
-
import { u } from "./useIsAppEnabled-
|
|
2
|
+
import { z as d, W as i } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A as m } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
5
5
|
const l = function({ app: t, eventType: e }) {
|
|
6
6
|
var a;
|
|
7
7
|
const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
|
package/dist/{EventTypeAppCardInterface-9C3Wfgpy.js → EventTypeAppCardInterface-CfO5a7L0.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { A as m } from "./AppCard-
|
|
4
|
-
import { u } from "./useIsAppEnabled-
|
|
2
|
+
import { z as d, W as i } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A as m } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
5
5
|
const l = function({ app: t, eventType: e }) {
|
|
6
6
|
var a;
|
|
7
7
|
const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
|
package/dist/{EventTypeAppCardInterface-omHgFR_2.js → EventTypeAppCardInterface-F8SkmnAV.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { A as m } from "./AppCard-
|
|
4
|
-
import { u } from "./useIsAppEnabled-
|
|
2
|
+
import { z as d, W as i } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A as m } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
5
5
|
const l = function({ app: t, eventType: e }) {
|
|
6
6
|
var a;
|
|
7
7
|
const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
|
package/dist/{EventTypeAppCardInterface-VxD1hz61.js → EventTypeAppCardInterface-GsL1RQwm.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { A as c } from "./AppCard-
|
|
4
|
-
import { u } from "./useIsAppEnabled-
|
|
5
|
-
import l from "./EventTypeAppSettingsInterface-
|
|
2
|
+
import { G as m } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A as c } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
5
|
+
import l from "./EventTypeAppSettingsInterface-BAihaVJh.js";
|
|
6
6
|
const b = function({ app: t, eventType: e }) {
|
|
7
7
|
var p;
|
|
8
8
|
const { getAppData: r, setAppData: s, disabled: n } = m(), { enabled: o, updateEnabled: i } = u(t);
|
package/dist/{EventTypeAppCardInterface-L_OQx-GG.js → EventTypeAppCardInterface-KURGmUXt.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { A as c } from "./AppCard-
|
|
4
|
-
import { u } from "./useIsAppEnabled-
|
|
5
|
-
import l from "./EventTypeAppSettingsInterface-
|
|
2
|
+
import { G as m } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A as c } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
5
|
+
import l from "./EventTypeAppSettingsInterface-yS0zHBGd.js";
|
|
6
6
|
const b = function({ app: t, eventType: e }) {
|
|
7
7
|
var p;
|
|
8
8
|
const { getAppData: r, setAppData: s, disabled: n } = m(), { enabled: o, updateEnabled: i } = u(t);
|
package/dist/{EventTypeAppCardInterface-VdYfOsab.js → EventTypeAppCardInterface-Ktu6bZ3i.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a, jsxs as u } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { A } from "./AppCard-
|
|
4
|
-
import { u as I } from "./useIsAppEnabled-
|
|
2
|
+
import { G as h, f as n } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u as I } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
5
5
|
const E = function({ app: t, eventType: i }) {
|
|
6
6
|
var d;
|
|
7
7
|
const { getAppData: o, setAppData: s, disabled: r } = h(), l = o("MATOMO_URL"), p = o("SITE_ID"), { enabled: c, updateEnabled: m } = I(t);
|
package/dist/{EventTypeAppCardInterface-Q8BoN8IR.js → EventTypeAppCardInterface-LXta9gcp.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { A as m } from "./AppCard-
|
|
4
|
-
import { u } from "./useIsAppEnabled-
|
|
2
|
+
import { z as d, W as i } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A as m } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
5
5
|
const l = function({ app: t, eventType: e }) {
|
|
6
6
|
var a;
|
|
7
7
|
const p = d.usePathname(), { enabled: n, updateEnabled: r } = u(t);
|
package/dist/{EventTypeAppCardInterface-F5At064k.js → EventTypeAppCardInterface-Ln9B2t8h.js}
RENAMED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { useState as
|
|
4
|
-
import { A as
|
|
5
|
-
import { u as
|
|
6
|
-
import w from "./EventTypeAppSettingsInterface-
|
|
2
|
+
import { y as b, z as f, G as y, J as E, W as C } from "./index-SWq3GK12.js";
|
|
3
|
+
import { useState as P } from "react";
|
|
4
|
+
import { A as g } from "./AppCard-w9WigXZl.js";
|
|
5
|
+
import { u as v } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
6
|
+
import w from "./EventTypeAppSettingsInterface-o_5kPQhw.js";
|
|
7
7
|
const W = function({
|
|
8
8
|
app: t,
|
|
9
9
|
eventType: e,
|
|
10
10
|
eventTypeFormMetadata: n
|
|
11
11
|
}) {
|
|
12
12
|
var o;
|
|
13
|
-
const { t: i } = b(), r = f.usePathname(), { getAppData: a, setAppData: c, disabled: m } =
|
|
13
|
+
const { t: i } = b(), r = f.usePathname(), { getAppData: a, setAppData: c, disabled: m } = y(), { enabled: d, updateEnabled: l } = v(t), u = E(n), [h] = P(a("enabled")), s = !h && u;
|
|
14
14
|
return /* @__PURE__ */ p(
|
|
15
|
-
|
|
15
|
+
g,
|
|
16
16
|
{
|
|
17
|
-
returnTo: `${
|
|
17
|
+
returnTo: `${C}${r}?tabName=apps`,
|
|
18
18
|
app: t,
|
|
19
19
|
switchChecked: d,
|
|
20
20
|
switchOnClick: (A) => {
|
package/dist/{EventTypeAppCardInterface-x8x6_qO2.js → EventTypeAppCardInterface-OP6dHmv1.js}
RENAMED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
1
|
+
import { jsx as a, Fragment as o, jsxs as u } from "react/jsx-runtime";
|
|
2
|
+
import { z as v, y as T, G as _, K as t, W as q, M as L, f as V, S as g } from "./index-SWq3GK12.js";
|
|
3
3
|
import { useMemo as W, useState as p } from "react";
|
|
4
|
-
import { A as $ } from "./AppCard-
|
|
5
|
-
import { c as
|
|
6
|
-
const
|
|
4
|
+
import { A as $ } from "./AppCard-w9WigXZl.js";
|
|
5
|
+
import { c as x, i as j, a as C } from "./currencyOptions-kannG2hu.js";
|
|
6
|
+
const U = function({ app: S, eventType: A }) {
|
|
7
7
|
var f, h;
|
|
8
8
|
const i = v.useSearchParams(), d = v.usePathname(), P = W(
|
|
9
9
|
() => `${d}${i ? `?${i.toString()}` : ""}`,
|
|
10
10
|
[d, i]
|
|
11
|
-
), { t: n } =
|
|
11
|
+
), { t: n } = T(), { getAppData: r, setAppData: c } = _(), y = r("price"), l = r("currency"), k = r("paymentOption"), N = r("enabled"), [s, O] = p(x.find((e) => e.value === l)), [w, E] = p(
|
|
12
12
|
j(l) ? C[l] : ""
|
|
13
|
-
), [b,
|
|
14
|
-
label:
|
|
15
|
-
value:
|
|
16
|
-
},
|
|
17
|
-
return /* @__PURE__ */
|
|
13
|
+
), [b, D] = p(N), m = ((f = t) == null ? void 0 : f.find((e) => k === e.value)) || {
|
|
14
|
+
label: t[0].label,
|
|
15
|
+
value: t[0].value
|
|
16
|
+
}, F = ((h = A.recurringEvent) == null ? void 0 : h.count) !== void 0;
|
|
17
|
+
return /* @__PURE__ */ a(
|
|
18
18
|
$,
|
|
19
19
|
{
|
|
20
|
-
returnTo:
|
|
20
|
+
returnTo: q + P,
|
|
21
21
|
app: S,
|
|
22
22
|
switchChecked: b,
|
|
23
23
|
switchOnClick: (e) => {
|
|
24
|
-
|
|
24
|
+
D(e);
|
|
25
25
|
},
|
|
26
|
-
description: /* @__PURE__ */
|
|
27
|
-
children: /* @__PURE__ */
|
|
28
|
-
/* @__PURE__ */
|
|
26
|
+
description: /* @__PURE__ */ a(o, { children: "Add a mock payment to your events" }),
|
|
27
|
+
children: /* @__PURE__ */ a(o, { children: F ? /* @__PURE__ */ a(L, { className: "mt-2", severity: "warning", title: n("warning_recurring_event_payment") }) : b && /* @__PURE__ */ u(o, { children: [
|
|
28
|
+
/* @__PURE__ */ a("div", { className: "mt-2 block items-center sm:flex", children: /* @__PURE__ */ a(
|
|
29
29
|
V,
|
|
30
30
|
{
|
|
31
31
|
id: "test-mock-payment-app-price",
|
|
@@ -46,13 +46,13 @@ const H = function({ app: S, eventType: A }) {
|
|
|
46
46
|
}
|
|
47
47
|
) }),
|
|
48
48
|
/* @__PURE__ */ u("div", { className: "mt-5 w-60", children: [
|
|
49
|
-
/* @__PURE__ */
|
|
50
|
-
/* @__PURE__ */
|
|
51
|
-
|
|
49
|
+
/* @__PURE__ */ a("label", { className: "text-default mb-1 block text-sm font-medium", htmlFor: "currency", children: n("currency") }),
|
|
50
|
+
/* @__PURE__ */ a(
|
|
51
|
+
g,
|
|
52
52
|
{
|
|
53
53
|
id: "test-mock-payment-app-currency-id",
|
|
54
54
|
variant: "default",
|
|
55
|
-
options:
|
|
55
|
+
options: x,
|
|
56
56
|
value: s,
|
|
57
57
|
className: "text-black",
|
|
58
58
|
defaultValue: s,
|
|
@@ -63,12 +63,12 @@ const H = function({ app: S, eventType: A }) {
|
|
|
63
63
|
)
|
|
64
64
|
] }),
|
|
65
65
|
/* @__PURE__ */ u("div", { className: "mt-4 w-60", children: [
|
|
66
|
-
/* @__PURE__ */
|
|
67
|
-
/* @__PURE__ */
|
|
68
|
-
|
|
66
|
+
/* @__PURE__ */ a("label", { className: "text-default mb-1 block text-sm font-medium", htmlFor: "currency", children: "Payment option" }),
|
|
67
|
+
/* @__PURE__ */ a(
|
|
68
|
+
g,
|
|
69
69
|
{
|
|
70
|
-
defaultValue: m ? { ...m, label: n(m.label) } : { ...
|
|
71
|
-
options:
|
|
70
|
+
defaultValue: m ? { ...m, label: n(m.label) } : { ...t[0], label: n(t[0].label) },
|
|
71
|
+
options: t.map((e) => ({ ...e, label: n(e.label) || e.label })),
|
|
72
72
|
onChange: (e) => {
|
|
73
73
|
e && c("paymentOption", e.value);
|
|
74
74
|
},
|
|
@@ -82,5 +82,5 @@ const H = function({ app: S, eventType: A }) {
|
|
|
82
82
|
);
|
|
83
83
|
};
|
|
84
84
|
export {
|
|
85
|
-
|
|
85
|
+
U as default
|
|
86
86
|
};
|
package/dist/{EventTypeAppCardInterface-_mJKoptx.js → EventTypeAppCardInterface-OuxQbhJB.js}
RENAMED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { useState as
|
|
4
|
-
import { A as
|
|
5
|
-
import { u as
|
|
6
|
-
import w from "./EventTypeAppSettingsInterface-
|
|
7
|
-
const
|
|
8
|
-
app:
|
|
9
|
-
eventType:
|
|
2
|
+
import { y as b, z as f, G as y, J as E, W as P } from "./index-SWq3GK12.js";
|
|
3
|
+
import { useState as C } from "react";
|
|
4
|
+
import { A as g } from "./AppCard-w9WigXZl.js";
|
|
5
|
+
import { u as v } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
6
|
+
import w from "./EventTypeAppSettingsInterface-ImRIWr2B.js";
|
|
7
|
+
const q = function({
|
|
8
|
+
app: e,
|
|
9
|
+
eventType: t,
|
|
10
10
|
eventTypeFormMetadata: p
|
|
11
11
|
}) {
|
|
12
12
|
var n;
|
|
13
|
-
const { t: i } = b(), r = f.usePathname(), { getAppData: a, setAppData: m, disabled: c } = y(), { enabled: d, updateEnabled: l } =
|
|
13
|
+
const { t: i } = b(), r = f.usePathname(), { getAppData: a, setAppData: m, disabled: c } = y(), { enabled: d, updateEnabled: l } = v(e), u = E(p), [h, T] = C(a("enabled")), s = !h && u;
|
|
14
14
|
return /* @__PURE__ */ o(
|
|
15
|
-
|
|
15
|
+
g,
|
|
16
16
|
{
|
|
17
17
|
returnTo: `${P}${r}?tabName=apps`,
|
|
18
|
-
app:
|
|
18
|
+
app: e,
|
|
19
19
|
switchChecked: d,
|
|
20
20
|
switchOnClick: (A) => {
|
|
21
21
|
l(A);
|
|
22
22
|
},
|
|
23
|
-
teamId: ((n =
|
|
23
|
+
teamId: ((n = t.team) == null ? void 0 : n.id) || void 0,
|
|
24
24
|
disableSwitch: s,
|
|
25
25
|
switchTooltip: s ? i("other_payment_app_enabled") : void 0,
|
|
26
26
|
children: /* @__PURE__ */ o(
|
|
27
27
|
w,
|
|
28
28
|
{
|
|
29
|
-
eventType:
|
|
30
|
-
slug:
|
|
29
|
+
eventType: t,
|
|
30
|
+
slug: e.slug,
|
|
31
31
|
disabled: c,
|
|
32
32
|
getAppData: a,
|
|
33
33
|
setAppData: m
|
|
@@ -37,5 +37,5 @@ const W = function({
|
|
|
37
37
|
);
|
|
38
38
|
};
|
|
39
39
|
export {
|
|
40
|
-
|
|
40
|
+
q as default
|
|
41
41
|
};
|
package/dist/{EventTypeAppCardInterface-JCEQYUtS.js → EventTypeAppCardInterface-POroEYPz.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { A as c } from "./AppCard-
|
|
4
|
-
import { u as m } from "./useIsAppEnabled-
|
|
5
|
-
import l from "./EventTypeAppSettingsInterface-
|
|
2
|
+
import { G as d } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A as c } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u as m } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
5
|
+
import l from "./EventTypeAppSettingsInterface-mywPJB7s.js";
|
|
6
6
|
const b = function({ app: t, eventType: p }) {
|
|
7
7
|
const { getAppData: r, setAppData: s, disabled: a } = d(), { enabled: n, updateEnabled: o } = m(t);
|
|
8
8
|
return /* @__PURE__ */ e(
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import { z as d, W as i } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A as m } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u } from "./useIsAppEnabled-FQVY7rlm.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
|
+
};
|
package/dist/{EventTypeAppCardInterface-NMuTJqnR.js → EventTypeAppCardInterface-VKpVuOwh.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { A as m } from "./AppCard-
|
|
4
|
-
import { u as c } from "./useIsAppEnabled-
|
|
5
|
-
import u from "./EventTypeAppSettingsInterface-
|
|
2
|
+
import { G as d } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A as m } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u as c } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
5
|
+
import u from "./EventTypeAppSettingsInterface-S56c57pv.js";
|
|
6
6
|
const E = function({ app: t, eventType: e }) {
|
|
7
7
|
var p;
|
|
8
8
|
const { getAppData: r, setAppData: s, disabled: n } = d(), { enabled: o, updateEnabled: i } = c(t);
|
package/dist/{EventTypeAppCardInterface-_2yZa06r.js → EventTypeAppCardInterface-XumD3_xd.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { A as u } from "./AppCard-
|
|
4
|
-
import { u as h } from "./useIsAppEnabled-
|
|
2
|
+
import { G as l, f as m } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A as u } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u as h } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
5
5
|
const D = function({ app: a, eventType: d }) {
|
|
6
6
|
var s;
|
|
7
7
|
const { getAppData: n, setAppData: r, disabled: p } = l(), i = n("SITE_ID"), { enabled: o, updateEnabled: c } = h(a);
|
package/dist/{EventTypeAppCardInterface-ix9-eOy7.js → EventTypeAppCardInterface-Y9jLf1-k.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { A as l } from "./AppCard-
|
|
4
|
-
import { u } from "./useIsAppEnabled-
|
|
5
|
-
import A from "./EventTypeAppSettingsInterface-
|
|
2
|
+
import { G as m, y as f } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A as l } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
5
|
+
import A from "./EventTypeAppSettingsInterface-zxD_C4fz.js";
|
|
6
6
|
const w = function({ app: t, eventType: e }) {
|
|
7
7
|
var o;
|
|
8
8
|
const { getAppData: s, setAppData: a, disabled: p } = m(), { enabled: n, updateEnabled: r } = u(t), { t: c } = f();
|
package/dist/{EventTypeAppCardInterface-V2CVt-gp.js → EventTypeAppCardInterface-_feKFUHj.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t, jsxs as e } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { A as u } from "./AppCard-
|
|
4
|
-
import { u as h } from "./useIsAppEnabled-
|
|
2
|
+
import { G as m, X as o } from "./index-SWq3GK12.js";
|
|
3
|
+
import { A as u } from "./AppCard-w9WigXZl.js";
|
|
4
|
+
import { u as h } from "./useIsAppEnabled-FQVY7rlm.js";
|
|
5
5
|
const E = function({ eventType: a, app: s }) {
|
|
6
6
|
var n;
|
|
7
7
|
const { getAppData: l, setAppData: i } = m(), p = l("isSunrise"), { enabled: c, updateEnabled: r } = h(s);
|