@calcom/atoms 2.5.0 → 2.6.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-SzlQAlC_.js → AddressInput-INmIRs8-.js} +1 -1
- package/dist/{AlbyPriceComponent-C1NgEImf.js → AlbyPriceComponent-C_Gtm7T6.js} +1 -1
- package/dist/{AppCard-BWKYRAGD.js → AppCard-Jly1hUzJ.js} +9 -9
- package/dist/{AppListCardPlatformWrapper-BeErum54.js → AppListCardPlatformWrapper-Dfvg0jJ4.js} +1 -1
- package/dist/{AppListCardWebWrapper-CUxj2uOV.js → AppListCardWebWrapper-5UxMkTRD.js} +1 -1
- package/dist/{AppSettingsInterface-CeIgTiQ1.js → AppSettingsInterface-BW1HEirp.js} +1 -1
- package/dist/{AppSettingsInterface-CvA2IPl2.js → AppSettingsInterface-C_G2HEx1.js} +1 -1
- package/dist/{AppSettingsInterface-CQ0w0tHu.js → AppSettingsInterface-DMmIDFez.js} +1 -1
- package/dist/{DateRangePicker-07dsMk8U.js → DateRangePicker-DYZMYZrR.js} +502 -500
- package/dist/{EventTypeAppCardInterface-BkbsbnCt.js → EventTypeAppCardInterface-5SZquLGh.js} +4 -4
- package/dist/{EventTypeAppCardInterface-giaoJZoV.js → EventTypeAppCardInterface-AiVLQt6e.js} +4 -4
- package/dist/{EventTypeAppCardInterface-BE9bv-RR.js → EventTypeAppCardInterface-B04SMxB_.js} +3 -3
- package/dist/{EventTypeAppCardInterface-CSO8LyTO.js → EventTypeAppCardInterface-B0Id4aDq.js} +4 -4
- package/dist/{EventTypeAppCardInterface-b3jzwNwv.js → EventTypeAppCardInterface-BF0QRXBm.js} +4 -4
- package/dist/{EventTypeAppCardInterface-D-hCC4-t.js → EventTypeAppCardInterface-BFi1f8EH.js} +3 -3
- package/dist/{EventTypeAppCardInterface-kHv--Cpv.js → EventTypeAppCardInterface-Bz6kbQBF.js} +2 -2
- package/dist/EventTypeAppCardInterface-C-9q1Pgv.js +1402 -0
- package/dist/{EventTypeAppCardInterface-DZdzlcpQ.js → EventTypeAppCardInterface-C0B8brbX.js} +3 -3
- package/dist/{EventTypeAppCardInterface-DvGAyBhN.js → EventTypeAppCardInterface-CPWGyDsB.js} +4 -4
- package/dist/{EventTypeAppCardInterface-Gx6ePtKZ.js → EventTypeAppCardInterface-CbAAfPzI.js} +3 -3
- package/dist/{EventTypeAppCardInterface-DsKcwP-F.js → EventTypeAppCardInterface-CcH_pTPb.js} +3 -3
- package/dist/{EventTypeAppCardInterface-Daj0r2ku.js → EventTypeAppCardInterface-Ccbh0lE5.js} +4 -4
- package/dist/{EventTypeAppCardInterface-3Kwg6TEe.js → EventTypeAppCardInterface-CcfHXA9X.js} +4 -4
- package/dist/{EventTypeAppCardInterface-D6pOcMLG.js → EventTypeAppCardInterface-CgHm_UTp.js} +2 -2
- package/dist/{EventTypeAppCardInterface-Cv38EzOq.js → EventTypeAppCardInterface-DHNaymv9.js} +3 -3
- package/dist/{EventTypeAppCardInterface-D5kt0uP7.js → EventTypeAppCardInterface-DIvOvqNe.js} +3 -3
- package/dist/{EventTypeAppCardInterface-d7vcgrD9.js → EventTypeAppCardInterface-DNd_P6LS.js} +4 -4
- package/dist/{EventTypeAppCardInterface-B5ja1_Vg.js → EventTypeAppCardInterface-DOJnmkX5.js} +3 -3
- package/dist/{EventTypeAppCardInterface-FjY_JuGe.js → EventTypeAppCardInterface-DQOs5zow.js} +3 -3
- package/dist/{EventTypeAppCardInterface-C_KgiSgu.js → EventTypeAppCardInterface-DiEndqtB.js} +3 -3
- package/dist/{EventTypeAppCardInterface-ZF3LnJsb.js → EventTypeAppCardInterface-DzBaD2iI.js} +4 -4
- package/dist/{EventTypeAppCardInterface-C48fsqfF.js → EventTypeAppCardInterface-FUX1nD4I.js} +3 -3
- package/dist/{EventTypeAppCardInterface-DonbLPSE.js → EventTypeAppCardInterface-J1sPid30.js} +4 -4
- package/dist/{EventTypeAppCardInterface-DeC4kAir.js → EventTypeAppCardInterface-LlkvSyXU.js} +3 -3
- package/dist/{EventTypeAppCardInterface-D6vNtBPD.js → EventTypeAppCardInterface-VKJISMU_.js} +4 -4
- package/dist/{EventTypeAppCardInterface-Vabmi70A.js → EventTypeAppCardInterface-mSg8w4Wv.js} +23 -23
- package/dist/{EventTypeAppCardInterface-BeRFdmfK.js → EventTypeAppCardInterface-oELnGHj7.js} +3 -3
- package/dist/{EventTypeAppSettingsInterface-CRXqHbN6.js → EventTypeAppSettingsInterface--bM-v-2f.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-VCy8eKJk.js → EventTypeAppSettingsInterface-C2VeNfWl.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-4Hj3lMzG.js → EventTypeAppSettingsInterface-CcopfL0O.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-DCoA8H5X.js → EventTypeAppSettingsInterface-CospBDnp.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-3zsxRl7y.js → EventTypeAppSettingsInterface-CotkiiMf.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-B5Yf0xfo.js → EventTypeAppSettingsInterface-D-QGHf2b.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-Ckkgk7Q7.js → EventTypeAppSettingsInterface-D7zovxei.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-4d9Xebgk.js → EventTypeAppSettingsInterface-DEfLbYcF.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-BDhPoDnq.js → EventTypeAppSettingsInterface-DYHjvMy2.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-B2kvyWp2.js → EventTypeAppSettingsInterface-DesLYNzu.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-D5NT9ODg.js → EventTypeAppSettingsInterface-DoeUQnIb.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-CoYcsvnV.js → EventTypeAppSettingsInterface-Dq2HBfY2.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-DQsdtp-n.js → EventTypeAppSettingsInterface-fKNVuyJB.js} +1 -1
- package/dist/{EventTypeAppSettingsInterface-DWkk8IKD.js → EventTypeAppSettingsInterface-qTJxM2CJ.js} +1 -1
- package/dist/{InstallAppButton--g7q2vS4.js → InstallAppButton-16Gy65tx.js} +1 -1
- package/dist/{InstallAppButton-DRVYiUad.js → InstallAppButton-B68jfFfO.js} +6 -6
- package/dist/{InstallAppButton-D-eJ9IoT.js → InstallAppButton-Bqr77mlF.js} +1 -1
- package/dist/{PhoneInput-uLF7Y3ez.js → PhoneInput-BTpX6Hp6.js} +1 -1
- package/dist/{StripePaymentForm-DlIVTm9l.js → StripePaymentForm-vfC0WlVJ.js} +13 -13
- package/dist/cal-atoms.js +21 -21
- package/dist/{index-BKVtYsaK.js → index-C-6UACoM.js} +2 -2
- package/dist/{index-D6p17Vap.js → index-DjKXpoZ-.js} +67715 -71186
- package/dist/packages/features/bookings/Booker/hooks/useAvailableTimeSlots.d.ts +14 -1
- package/dist/packages/features/bookings/Booker/hooks/useAvailableTimeSlots.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/EventManager.d.ts +0 -1
- package/dist/packages/features/bookings/lib/EventManager.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/checkBookingLimits.d.ts +44 -2
- package/dist/packages/features/bookings/lib/checkBookingLimits.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getAllUserBookings.d.ts +1 -0
- package/dist/packages/features/bookings/lib/getAllUserBookings.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getBookingInfo.d.ts +6 -0
- package/dist/packages/features/bookings/lib/getBookingInfo.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/getUserBooking.d.ts +3 -0
- package/dist/packages/features/bookings/lib/getUserBooking.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts +23 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/checkBookingAndDurationLimits.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts +12 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts +22 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventType.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts +12 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/getEventTypesFromDB.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts +12 -0
- package/dist/packages/features/bookings/lib/handleNewBooking/loadUsers.d.ts.map +1 -1
- package/dist/packages/features/bookings/lib/service/RegularBookingService.d.ts +1 -557
- package/dist/packages/features/bookings/lib/service/RegularBookingService.d.ts.map +1 -1
- package/dist/packages/features/data-table/__tests__/filterSegments/get-preference.test.d.ts +2 -0
- package/dist/packages/features/data-table/__tests__/filterSegments/get-preference.test.d.ts.map +1 -0
- package/dist/packages/features/data-table/__tests__/filterSegments/get-segments.test.d.ts +2 -0
- package/dist/packages/features/data-table/__tests__/filterSegments/get-segments.test.d.ts.map +1 -0
- package/dist/packages/features/data-table/lib/__tests__/picker-date-constraints.test.d.ts +2 -0
- package/dist/packages/features/data-table/lib/__tests__/picker-date-constraints.test.d.ts.map +1 -0
- package/dist/packages/features/data-table/lib/dateRange.d.ts +21 -0
- package/dist/packages/features/data-table/lib/dateRange.d.ts.map +1 -1
- package/dist/packages/features/data-table/lib/types.d.ts +2 -0
- package/dist/packages/features/data-table/lib/types.d.ts.map +1 -1
- package/dist/packages/features/data-table/repositories/filterSegment.d.ts +12 -16
- package/dist/packages/features/data-table/repositories/filterSegment.d.ts.map +1 -1
- package/dist/packages/features/ee/workflows/repositories/workflow-step-translation-repository.integration-test.d.ts +2 -0
- package/dist/packages/features/ee/workflows/repositories/workflow-step-translation-repository.integration-test.d.ts.map +1 -0
- package/dist/packages/features/eventtypes/components/tabs/availability/EventAvailabilityTab.d.ts +12 -4
- package/dist/packages/features/eventtypes/components/tabs/availability/EventAvailabilityTab.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/components/tabs/recurring/RecurringEventController.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/defaultEvents.d.ts +30 -0
- package/dist/packages/features/eventtypes/lib/defaultEvents.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getEventTypeById.d.ts +4 -0
- package/dist/packages/features/eventtypes/lib/getEventTypeById.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts +12 -0
- package/dist/packages/features/eventtypes/lib/getPublicEvent.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/repositories/EventRepository.d.ts +8 -0
- package/dist/packages/features/eventtypes/repositories/EventRepository.d.ts.map +1 -1
- package/dist/packages/features/eventtypes/repositories/eventTypeRepository.d.ts +54 -18
- package/dist/packages/features/eventtypes/repositories/eventTypeRepository.d.ts.map +1 -1
- package/dist/packages/features/schedules/services/ScheduleService.d.ts +5 -2
- package/dist/packages/features/schedules/services/ScheduleService.d.ts.map +1 -1
- package/dist/packages/kysely/types.d.ts +12 -0
- package/dist/packages/kysely/types.d.ts.map +1 -1
- package/dist/packages/platform/atoms/event-types/hooks/use-tabs-navigations.test.d.ts +2 -0
- package/dist/packages/platform/atoms/event-types/hooks/use-tabs-navigations.test.d.ts.map +1 -0
- 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/useTabsNavigations.d.ts +1 -0
- package/dist/packages/platform/atoms/event-types/hooks/useTabsNavigations.d.ts.map +1 -1
- package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts +8 -0
- package/dist/packages/platform/atoms/hooks/event-types/public/useAtomGetPublicEvent.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/BookingLimitScalarFieldEnumSchema.d.ts +4 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/BookingLimitScalarFieldEnumSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/WebhookTriggerEventsSchema.d.ts +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/WebhookTriggerEventsSchema.d.ts.map +1 -1
- package/dist/packages/prisma/zod/inputTypeSchemas/index.d.ts +1 -0
- package/dist/packages/prisma/zod/inputTypeSchemas/index.d.ts.map +1 -1
- package/dist/packages/prisma/zod/modelSchema/BookingLimitSchema.d.ts +32 -0
- package/dist/packages/prisma/zod/modelSchema/BookingLimitSchema.d.ts.map +1 -0
- package/dist/packages/prisma/zod/modelSchema/WebhookSchema.d.ts +3 -3
- package/dist/packages/prisma/zod/modelSchema/index.d.ts +1 -0
- package/dist/packages/prisma/zod/modelSchema/index.d.ts.map +1 -1
- package/dist/{server.browser-PDSe0hK-.js → server.browser-CCvpIGE0.js} +1 -1
- package/dist/{useIsAppEnabled-BUlxW0Js.js → useIsAppEnabled-BGd8_8Pc.js} +1 -1
- package/package.json +2 -2
- package/dist/EventTypeAppCardInterface-D6xO3ww6.js +0 -1139
- package/dist/packages/features/data-table/__tests__/filterSegments/get.test.d.ts +0 -2
- package/dist/packages/features/data-table/__tests__/filterSegments/get.test.d.ts.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as m, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { z as n, I as o, y as p } from "./index-
|
|
2
|
+
import { z as n, I as o, y as p } from "./index-DjKXpoZ-.js";
|
|
3
3
|
function r({ value: s, onChange: t, ...a }) {
|
|
4
4
|
return /* @__PURE__ */ m("div", { className: "relative flex items-center", children: [
|
|
5
5
|
/* @__PURE__ */ e(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as z, jsxs as er } from "react/jsx-runtime";
|
|
2
2
|
import J from "react";
|
|
3
|
-
import { x as tr, G as nr } from "./index-
|
|
3
|
+
import { x as tr, G as nr } from "./index-DjKXpoZ-.js";
|
|
4
4
|
const K = function(s, r = !0) {
|
|
5
5
|
if (s.destroyed) throw new Error("Hash instance has been destroyed");
|
|
6
6
|
if (r && s.finished) throw new Error("Hash#digest() has already been called");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t, jsxs as c } from "react/jsx-runtime";
|
|
2
|
-
import { a1 as g, y as o, a2 as w, z as y, n as _, u as D, a3 as v, a4 as
|
|
2
|
+
import { a1 as g, y as o, a2 as w, z as y, n as _, u as D, a3 as v, a4 as E, B as S, p as H, a5 as L, h as T, a6 as q, a7 as h } from "./index-DjKXpoZ-.js";
|
|
3
3
|
const O = ({
|
|
4
4
|
children: e,
|
|
5
5
|
ref: l,
|
|
@@ -124,7 +124,7 @@ function J({
|
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
return /* @__PURE__ */ t(
|
|
127
|
-
|
|
127
|
+
E,
|
|
128
128
|
{
|
|
129
129
|
type: e.type,
|
|
130
130
|
teamsPlanRequired: e.teamsPlanRequired,
|
|
@@ -163,10 +163,10 @@ function V({
|
|
|
163
163
|
disableSwitch: a,
|
|
164
164
|
switchTooltip: d,
|
|
165
165
|
hideSettingsIcon: u = !1,
|
|
166
|
-
hideAppCardOptions:
|
|
167
|
-
onAppInstallSuccess:
|
|
166
|
+
hideAppCardOptions: j = !1,
|
|
167
|
+
onAppInstallSuccess: C
|
|
168
168
|
}) {
|
|
169
|
-
const { t: b } = _(), [I] = g(), { setAppData: k, LockedIcon: P, disabled: R } =
|
|
169
|
+
const { t: b } = _(), [I] = g(), { setAppData: k, LockedIcon: P, disabled: R } = H(), B = L();
|
|
170
170
|
return /* @__PURE__ */ c(m, { className: o(!(e != null && e.isInstalled) && "rounded-xl"), children: [
|
|
171
171
|
/* @__PURE__ */ t(
|
|
172
172
|
m.Header,
|
|
@@ -190,12 +190,12 @@ function V({
|
|
|
190
190
|
}
|
|
191
191
|
) }),
|
|
192
192
|
children: /* @__PURE__ */ t("div", { children: /* @__PURE__ */ t("div", { children: e != null && e.isInstalled || e.credentialOwner ? /* @__PURE__ */ t("div", { className: "ml-auto flex items-center", children: /* @__PURE__ */ t(
|
|
193
|
-
|
|
193
|
+
T,
|
|
194
194
|
{
|
|
195
195
|
size: "sm",
|
|
196
196
|
disabled: !e.enabled || R || a,
|
|
197
197
|
onCheckedChange: (f) => {
|
|
198
|
-
|
|
198
|
+
q("event_type_app_switch_toggled", {
|
|
199
199
|
app_slug: e.slug,
|
|
200
200
|
enabled: f
|
|
201
201
|
}), l && l(f), k("enabled", f);
|
|
@@ -212,12 +212,12 @@ function V({
|
|
|
212
212
|
app: e,
|
|
213
213
|
returnTo: r,
|
|
214
214
|
teamId: i,
|
|
215
|
-
onAppInstallSuccess:
|
|
215
|
+
onAppInstallSuccess: C
|
|
216
216
|
}
|
|
217
217
|
) }) })
|
|
218
218
|
}
|
|
219
219
|
),
|
|
220
|
-
|
|
220
|
+
j ? null : (e == null ? void 0 : e.isInstalled) && n && /* @__PURE__ */ t("div", { ref: I, children: e.isSetupAlready === void 0 || e.isSetupAlready ? /* @__PURE__ */ c("div", { className: "relative text-sm [&_input]:mb-0 [&_input]:leading-4", children: [
|
|
221
221
|
!u && !B && /* @__PURE__ */ t(h, { href: `/apps/${e.slug}/setup`, className: "absolute right-0 top-0 ", children: /* @__PURE__ */ t(y, { name: "settings", className: "text-default h-4 w-4", "aria-hidden": "true" }) }),
|
|
222
222
|
s
|
|
223
223
|
] }) : /* @__PURE__ */ c("div", { className: "flex h-64 w-full flex-col items-center justify-center gap-4 ", children: [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as T } from "react/jsx-runtime";
|
|
2
|
-
import { o as d, H as w, J as h, K as P, M as b, N as x, O as L, A as U, Q as $ } from "./index-
|
|
2
|
+
import { o as d, H as w, J as h, K as P, M as b, N as x, O as L, A as U, Q as $ } from "./index-DjKXpoZ-.js";
|
|
3
3
|
import { useMemo as C, useEffect as R, useCallback as K, useState as V, useRef as j } from "react";
|
|
4
4
|
h().or(P()).or(b(P())).transform((e) => typeof e == "string" ? e.split(",").map((p) => Number(p)) : Array.isArray(e) ? e : [e]);
|
|
5
5
|
x((e) => h().parse(e).split(","), h().array()).or(h().array());
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as s } from "react";
|
|
3
|
-
import { n as i, j as l, B as m } from "./index-
|
|
3
|
+
import { n as i, j as l, B as m } from "./index-DjKXpoZ-.js";
|
|
4
4
|
function h() {
|
|
5
5
|
const { t: a } = i(), n = "metric", [t, c] = s("");
|
|
6
6
|
return /* @__PURE__ */ o("div", { className: "stack-y-4 text-sm", children: [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as a, jsx as e, Fragment as r } from "react/jsx-runtime";
|
|
2
|
-
import { B as i, n as o } from "./index-
|
|
2
|
+
import { B as i, n as o } from "./index-DjKXpoZ-.js";
|
|
3
3
|
function d({ template: t }) {
|
|
4
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
5
|
/* @__PURE__ */ a("div", { className: "flex items-start justify-start", children: [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as o, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useState as p } from "react";
|
|
3
|
-
import { n as r, j as u, B as i } from "./index-
|
|
3
|
+
import { n as r, j as u, B as i } from "./index-DjKXpoZ-.js";
|
|
4
4
|
function d() {
|
|
5
5
|
const { t: e } = r(), [n, s] = p("");
|
|
6
6
|
return /* @__PURE__ */ o("div", { className: "stack-y-4 px-4 pb-4 pt-4 text-sm", children: [
|