@calcom/atoms 1.0.97-beta-1 → 1.0.97-beta-3
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-MxFRI9cW.js → AddressInput-LPJtHhnk.js} +9 -8
- package/dist/{AlbyPriceComponent-B7reGN3c.js → AlbyPriceComponent-VO8iEUWb.js} +53 -52
- package/dist/AppCard-cTyZ7qdO.js +162 -0
- package/dist/AppListCardPlatformWrapper-ErlT9yQV.js +9 -0
- package/dist/{AppListCardWebWrapper-3ZmWWW_L.js → AppListCardWebWrapper-nLRKr-Qu.js} +10 -9
- package/dist/AppSettingsInterface-1iuEhZRw.js +23 -0
- package/dist/AppSettingsInterface-9nYzo3Ef.js +29 -0
- package/dist/AppSettingsInterface-Y7iloRRd.js +75 -0
- package/dist/{DateRangePicker-GTmIREkF.js → DateRangePicker-zh9gM3ld.js} +784 -783
- package/dist/EventTypeAppCardInterface-0tcE4MHz.js +32 -0
- package/dist/EventTypeAppCardInterface-2xzo_8rb.js +453 -0
- package/dist/EventTypeAppCardInterface-3xv7ZK_G.js +41 -0
- package/dist/{EventTypeAppCardInterface-h1_dvQG9.js → EventTypeAppCardInterface-4dkcilsD.js} +17 -16
- package/dist/EventTypeAppCardInterface-A7WN14Mn.js +34 -0
- package/dist/EventTypeAppCardInterface-BbJv67UJ.js +49 -0
- package/dist/EventTypeAppCardInterface-D42_2WwA.js +42 -0
- package/dist/EventTypeAppCardInterface-F9zy0_KX.js +24 -0
- package/dist/EventTypeAppCardInterface-LB9yguQb.js +39 -0
- package/dist/EventTypeAppCardInterface-PGX33FFN.js +42 -0
- package/dist/EventTypeAppCardInterface-PaCD78C8.js +33 -0
- package/dist/EventTypeAppCardInterface-QiaQ-GmU.js +51 -0
- package/dist/EventTypeAppCardInterface-S5bK4a_4.js +24 -0
- package/dist/EventTypeAppCardInterface-SXV5NhVT.js +24 -0
- package/dist/EventTypeAppCardInterface-SdCRwS0b.js +34 -0
- package/dist/EventTypeAppCardInterface-TV1GspR-.js +41 -0
- package/dist/EventTypeAppCardInterface-WrBEdjss.js +86 -0
- package/dist/EventTypeAppCardInterface-Xl60vAW7.js +34 -0
- package/dist/EventTypeAppCardInterface-bY6zHj23.js +34 -0
- package/dist/EventTypeAppCardInterface-bpyx9DoB.js +34 -0
- package/dist/EventTypeAppCardInterface-dSD0TA4p.js +34 -0
- package/dist/EventTypeAppCardInterface-hulmgxtc.js +24 -0
- package/dist/EventTypeAppCardInterface-n8fugRqn.js +32 -0
- package/dist/EventTypeAppCardInterface-qqnnC5vq.js +24 -0
- package/dist/EventTypeAppCardInterface-rVMclz_u.js +34 -0
- package/dist/EventTypeAppCardInterface-zXewU-bg.js +31 -0
- package/dist/EventTypeAppSettingsInterface-2oHFXxC0.js +221 -0
- package/dist/{EventTypeAppSettingsInterface-cXn8l171.js → EventTypeAppSettingsInterface-5hQr6WTa.js} +7 -6
- package/dist/{EventTypeAppSettingsInterface-9raltJka.js → EventTypeAppSettingsInterface-CwuQI4XA.js} +39 -38
- package/dist/EventTypeAppSettingsInterface-HGPywPcZ.js +43 -0
- package/dist/EventTypeAppSettingsInterface-MLox-zIr.js +78 -0
- package/dist/EventTypeAppSettingsInterface-azMpYm3v.js +48 -0
- package/dist/{EventTypeAppSettingsInterface-Hre_gkKY.js → EventTypeAppSettingsInterface-ccBCyO4S.js} +6 -5
- package/dist/EventTypeAppSettingsInterface-jCOnJXVq.js +42 -0
- package/dist/EventTypeAppSettingsInterface-rUp-tPsO.js +72 -0
- package/dist/{EventTypeAppSettingsInterface-2wY9yPcf.js → EventTypeAppSettingsInterface-sOLaF1pR.js} +6 -5
- package/dist/{EventTypeAppSettingsInterface-eKcoM9Xa.js → EventTypeAppSettingsInterface-v8a7XnIr.js} +6 -5
- package/dist/{EventTypeAppSettingsInterface-Fn4VS9pl.js → EventTypeAppSettingsInterface-xlYsU6Vi.js} +72 -71
- package/dist/InstallAppButton-34JAPxwK.js +14 -0
- package/dist/{InstallAppButton-Ho1cJkMm.js → InstallAppButton-JXhBVaYJ.js} +8 -8
- package/dist/InstallAppButton-ihX89_K4.js +58 -0
- package/dist/InstallAppButton-zjD9dbE7.js +14 -0
- package/dist/{PhoneInput-DNq9V1s5.js → PhoneInput-saKL4loW.js} +97 -96
- package/dist/{StripePaymentForm-lGjXjqLX.js → StripePaymentForm-dfxxUj2E.js} +100 -99
- package/dist/cal-atoms.js +6 -6
- package/dist/{framer-features--8Hvyv45.js → framer-features-K_TB52kd.js} +11 -11
- package/dist/{index-fsA0kHyy.js → index-81plgMPe.js} +1 -1
- package/dist/{index-cfay3a2W.js → index-IPz9Apiv.js} +1 -1
- package/dist/{index-Bj_kD41n.js → index-engsJK56.js} +108 -107
- package/dist/{index-OYPUcfnB.js → index-ite7gJ1a.js} +2 -2
- package/dist/{index-M6WUZF2M.js → index-ykl8OQ78.js} +66312 -66946
- package/dist/{isSupportedCountry-aizVo7Oo.js → isSupportedCountry-RPoEk3Bi.js} +1 -1
- package/dist/{useIsAppEnabled-OmKRsE8Z.js → useIsAppEnabled-jQTpW-EN.js} +1 -1
- package/globals.min.css +22 -2
- package/package.json +1 -1
- package/dist/AppCard-ImfOuDL_.js +0 -161
- package/dist/AppListCardPlatformWrapper-Kgk0fNGU.js +0 -8
- package/dist/AppSettingsInterface-4JMt22o1.js +0 -22
- package/dist/AppSettingsInterface-8TqZVnNL.js +0 -74
- package/dist/AppSettingsInterface-MQ_fkHJx.js +0 -28
- package/dist/EventTypeAppCardInterface-0O_KGHxp.js +0 -40
- package/dist/EventTypeAppCardInterface-0Z1NiGs_.js +0 -23
- package/dist/EventTypeAppCardInterface-0bkDiimc.js +0 -33
- package/dist/EventTypeAppCardInterface-4bmGNjTO.js +0 -452
- package/dist/EventTypeAppCardInterface-6Hs2WiRN.js +0 -23
- package/dist/EventTypeAppCardInterface-6QhUsfck.js +0 -38
- package/dist/EventTypeAppCardInterface-CSZJxMAi.js +0 -48
- package/dist/EventTypeAppCardInterface-D5NE1JH-.js +0 -33
- package/dist/EventTypeAppCardInterface-GpzdxrTy.js +0 -41
- package/dist/EventTypeAppCardInterface-HDqpiB_E.js +0 -33
- package/dist/EventTypeAppCardInterface-IsJt3HGB.js +0 -30
- package/dist/EventTypeAppCardInterface-K_hBnKz2.js +0 -23
- package/dist/EventTypeAppCardInterface-QuKynjTF.js +0 -23
- package/dist/EventTypeAppCardInterface-Uk-367hU.js +0 -33
- package/dist/EventTypeAppCardInterface-UrOLCYHp.js +0 -31
- package/dist/EventTypeAppCardInterface-WhX3MQGL.js +0 -33
- package/dist/EventTypeAppCardInterface-_a5TsCGC.js +0 -41
- package/dist/EventTypeAppCardInterface-_e0oMnpF.js +0 -33
- package/dist/EventTypeAppCardInterface-bfOpI-Cg.js +0 -23
- package/dist/EventTypeAppCardInterface-dQBcQRe5.js +0 -85
- package/dist/EventTypeAppCardInterface-jDIOSF5p.js +0 -31
- package/dist/EventTypeAppCardInterface-pgZqPYuy.js +0 -40
- package/dist/EventTypeAppCardInterface-rJaUyBaK.js +0 -32
- package/dist/EventTypeAppCardInterface-sAMfJ4Zp.js +0 -50
- package/dist/EventTypeAppCardInterface-xkCoWuR1.js +0 -33
- package/dist/EventTypeAppSettingsInterface-0MtsVqm9.js +0 -71
- package/dist/EventTypeAppSettingsInterface-4AylQiBj.js +0 -47
- package/dist/EventTypeAppSettingsInterface-Br_BvYU4.js +0 -77
- package/dist/EventTypeAppSettingsInterface-CkbhDi5X.js +0 -42
- package/dist/EventTypeAppSettingsInterface-nwSw369C.js +0 -220
- package/dist/EventTypeAppSettingsInterface-x-GvtrwY.js +0 -41
- package/dist/InstallAppButton-7AfVFA1y.js +0 -13
- package/dist/InstallAppButton-PfrQUF7k.js +0 -13
- package/dist/InstallAppButton-R3hBMMGj.js +0 -57
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Customizable UI components to integrate scheduling into your product.",
|
|
6
6
|
"authors": "Cal.com, Inc.",
|
|
7
|
-
"version": "1.0.97-beta-
|
|
7
|
+
"version": "1.0.97-beta-3",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"dev": "yarn vite build --watch & npx tailwindcss -i ./globals.css -o ./globals.min.css --postcss --minify --watch",
|
|
10
10
|
"build": "NODE_OPTIONS='--max_old_space_size=16384' yarn vite build && npx tailwindcss -i ./globals.css -o ./globals.min.css --postcss --minify && mkdir ./dist/packages/prisma-client && cp -rf ../../../node_modules/.prisma/client/*.d.ts ./dist/packages/prisma-client",
|
package/dist/AppCard-ImfOuDL_.js
DELETED
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
import { ah as I, U as j, z as _, y as S, x as s, ai as k, _ as i, G as v, a3 as g, aj as B, ak as O, K as P, al as C, am as u, an as E, ao as R, w as $, a5 as L } from "./index-M6WUZF2M.js";
|
|
2
|
-
function T(e) {
|
|
3
|
-
const { status: r } = I.useSession();
|
|
4
|
-
return j.viewer.apps.appById.useQuery(
|
|
5
|
-
{ appId: e },
|
|
6
|
-
{
|
|
7
|
-
enabled: r === "authenticated"
|
|
8
|
-
}
|
|
9
|
-
);
|
|
10
|
-
}
|
|
11
|
-
function U({
|
|
12
|
-
appId: e,
|
|
13
|
-
className: r,
|
|
14
|
-
returnTo: c,
|
|
15
|
-
teamId: l
|
|
16
|
-
}) {
|
|
17
|
-
const { t: a } = _(), { data: n } = T(e), m = j.useUtils(), o = S(null, {
|
|
18
|
-
returnTo: c,
|
|
19
|
-
onSuccess: (t) => {
|
|
20
|
-
m.viewer.apps.appById.invalidate({ appId: e }), m.viewer.apps.integrations.invalidate({
|
|
21
|
-
extendsFeature: "EventType",
|
|
22
|
-
...l && { teamId: l }
|
|
23
|
-
}), !(t != null && t.setupPending) && g(a("app_successfully_installed"), "success");
|
|
24
|
-
},
|
|
25
|
-
onError: (t) => {
|
|
26
|
-
t instanceof Error && g(t.message || a("app_could_not_be_installed"), "error");
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
return n ? /* @__PURE__ */ s.jsx(
|
|
30
|
-
k,
|
|
31
|
-
{
|
|
32
|
-
type: n.type,
|
|
33
|
-
teamsPlanRequired: n.teamsPlanRequired,
|
|
34
|
-
wrapperClassName: i("[@media(max-width:260px)]:w-full", r),
|
|
35
|
-
render: ({ useDefaultComponent: t, ...d }) => (t && (d = {
|
|
36
|
-
...d,
|
|
37
|
-
onClick: () => {
|
|
38
|
-
o.mutate({
|
|
39
|
-
type: n.type,
|
|
40
|
-
variant: n.variant,
|
|
41
|
-
slug: n.slug,
|
|
42
|
-
...l && { teamId: l }
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
}), /* @__PURE__ */ s.jsx(
|
|
46
|
-
v,
|
|
47
|
-
{
|
|
48
|
-
loading: o.isPending,
|
|
49
|
-
color: "secondary",
|
|
50
|
-
className: "[@media(max-width:260px)]:w-full [@media(max-width:260px)]:justify-center",
|
|
51
|
-
StartIcon: "plus",
|
|
52
|
-
...d,
|
|
53
|
-
children: a("add")
|
|
54
|
-
}
|
|
55
|
-
))
|
|
56
|
-
}
|
|
57
|
-
) : null;
|
|
58
|
-
}
|
|
59
|
-
function z({
|
|
60
|
-
app: e,
|
|
61
|
-
description: r,
|
|
62
|
-
switchOnClick: c,
|
|
63
|
-
switchChecked: l,
|
|
64
|
-
children: a,
|
|
65
|
-
returnTo: n,
|
|
66
|
-
teamId: m,
|
|
67
|
-
disableSwitch: o,
|
|
68
|
-
switchTooltip: t,
|
|
69
|
-
hideSettingsIcon: d = !1,
|
|
70
|
-
hideAppCardOptions: N = !1
|
|
71
|
-
}) {
|
|
72
|
-
const { t: x } = B(), [w] = O(), { setAppData: y, LockedIcon: b, disabled: A } = P(), f = C();
|
|
73
|
-
return /* @__PURE__ */ s.jsxs(
|
|
74
|
-
"div",
|
|
75
|
-
{
|
|
76
|
-
className: i(
|
|
77
|
-
"border-subtle",
|
|
78
|
-
(e == null ? void 0 : e.isInstalled) && "mb-4 rounded-md border",
|
|
79
|
-
!e.enabled && "grayscale"
|
|
80
|
-
),
|
|
81
|
-
children: [
|
|
82
|
-
/* @__PURE__ */ s.jsx("div", { className: i(e.isInstalled ? "p-4 text-sm sm:p-4" : "px-5 py-4 text-sm sm:px-5"), children: /* @__PURE__ */ s.jsxs("div", { className: "flex w-full flex-col gap-2 sm:flex-row sm:gap-0", children: [
|
|
83
|
-
/* @__PURE__ */ s.jsx(
|
|
84
|
-
u,
|
|
85
|
-
{
|
|
86
|
-
href: `/apps/${e.slug}`,
|
|
87
|
-
className: i(e != null && e.isInstalled ? "mr-[11px]" : "mr-3", "h-auto w-10 rounded-sm"),
|
|
88
|
-
children: /* @__PURE__ */ s.jsx(
|
|
89
|
-
"img",
|
|
90
|
-
{
|
|
91
|
-
className: i(
|
|
92
|
-
(e == null ? void 0 : e.logo.includes("-dark")) && "dark:invert",
|
|
93
|
-
e != null && e.isInstalled ? "min-w-[42px]" : "min-w-[40px]",
|
|
94
|
-
"w-full"
|
|
95
|
-
),
|
|
96
|
-
src: e == null ? void 0 : e.logo,
|
|
97
|
-
alt: e == null ? void 0 : e.name
|
|
98
|
-
}
|
|
99
|
-
)
|
|
100
|
-
}
|
|
101
|
-
),
|
|
102
|
-
/* @__PURE__ */ s.jsxs("div", { className: "flex flex-col pe-3", children: [
|
|
103
|
-
/* @__PURE__ */ s.jsxs("div", { className: "text-emphasis", children: [
|
|
104
|
-
/* @__PURE__ */ s.jsx("span", { className: i((e == null ? void 0 : e.isInstalled) && "text-base", "font-semibold leading-4"), children: e == null ? void 0 : e.name }),
|
|
105
|
-
!(e != null && e.isInstalled) && /* @__PURE__ */ s.jsx("span", { className: "bg-emphasis ml-1 rounded px-1 py-0.5 text-xs font-medium leading-3 tracking-[0.01em]", children: (e == null ? void 0 : e.categories[0].charAt(0).toUpperCase()) + (e == null ? void 0 : e.categories[0].slice(1)) })
|
|
106
|
-
] }),
|
|
107
|
-
/* @__PURE__ */ s.jsx("p", { title: e == null ? void 0 : e.description, className: "text-default line-clamp-1 pt-1 text-sm font-normal", children: r || (e == null ? void 0 : e.description) })
|
|
108
|
-
] }),
|
|
109
|
-
/* @__PURE__ */ s.jsxs("div", { className: "ml-auto flex items-center space-x-2", children: [
|
|
110
|
-
e.credentialOwner && !f && /* @__PURE__ */ s.jsx("div", { className: "ml-auto", children: /* @__PURE__ */ s.jsx(E, { variant: "gray", children: /* @__PURE__ */ s.jsxs("div", { className: "flex items-center", children: [
|
|
111
|
-
/* @__PURE__ */ s.jsx(
|
|
112
|
-
R,
|
|
113
|
-
{
|
|
114
|
-
className: "mr-2",
|
|
115
|
-
alt: e.credentialOwner.name || "Credential Owner Name",
|
|
116
|
-
size: "sm",
|
|
117
|
-
imageSrc: e.credentialOwner.avatar
|
|
118
|
-
}
|
|
119
|
-
),
|
|
120
|
-
e.credentialOwner.name
|
|
121
|
-
] }) }) }),
|
|
122
|
-
e != null && e.isInstalled || e.credentialOwner ? /* @__PURE__ */ s.jsx("div", { className: "ml-auto flex items-center", children: /* @__PURE__ */ s.jsx(
|
|
123
|
-
$,
|
|
124
|
-
{
|
|
125
|
-
disabled: !e.enabled || A || o,
|
|
126
|
-
onCheckedChange: (h) => {
|
|
127
|
-
c && c(h), y("enabled", h);
|
|
128
|
-
},
|
|
129
|
-
checked: l,
|
|
130
|
-
LockedIcon: b,
|
|
131
|
-
"data-testid": `${e.slug}-app-switch`,
|
|
132
|
-
tooltip: t
|
|
133
|
-
}
|
|
134
|
-
) }) : /* @__PURE__ */ s.jsx(
|
|
135
|
-
U,
|
|
136
|
-
{
|
|
137
|
-
className: "ml-auto flex items-center",
|
|
138
|
-
appId: e.slug,
|
|
139
|
-
returnTo: n,
|
|
140
|
-
teamId: m
|
|
141
|
-
}
|
|
142
|
-
)
|
|
143
|
-
] })
|
|
144
|
-
] }) }),
|
|
145
|
-
N ? null : /* @__PURE__ */ s.jsxs("div", { ref: w, children: [
|
|
146
|
-
(e == null ? void 0 : e.isInstalled) && l && /* @__PURE__ */ s.jsx("hr", { className: "border-subtle" }),
|
|
147
|
-
e != null && e.isInstalled && l ? e.isSetupAlready === void 0 || e.isSetupAlready ? /* @__PURE__ */ s.jsxs("div", { className: "relative p-4 pt-5 text-sm [&_input]:mb-0 [&_input]:leading-4", children: [
|
|
148
|
-
!d && !f && /* @__PURE__ */ s.jsx(u, { href: `/apps/${e.slug}/setup`, className: "absolute right-4 top-4", children: /* @__PURE__ */ s.jsx(L, { name: "settings", className: "text-default h-4 w-4", "aria-hidden": "true" }) }),
|
|
149
|
-
a
|
|
150
|
-
] }) : /* @__PURE__ */ s.jsxs("div", { className: "flex h-64 w-full flex-col items-center justify-center gap-4 ", children: [
|
|
151
|
-
/* @__PURE__ */ s.jsx("p", { children: x("this_app_is_not_setup_already") }),
|
|
152
|
-
/* @__PURE__ */ s.jsx(u, { href: `/apps/${e.slug}/setup`, children: /* @__PURE__ */ s.jsx(v, { StartIcon: "settings", children: x("setup") }) })
|
|
153
|
-
] }) : null
|
|
154
|
-
] })
|
|
155
|
-
]
|
|
156
|
-
}
|
|
157
|
-
);
|
|
158
|
-
}
|
|
159
|
-
export {
|
|
160
|
-
z as A
|
|
161
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { z as p, x as t, k as o, G as u } from "./index-M6WUZF2M.js";
|
|
2
|
-
import { useState as r } from "react";
|
|
3
|
-
function l() {
|
|
4
|
-
const { t: e } = p(), [s, n] = r("");
|
|
5
|
-
return /* @__PURE__ */ t.jsxs("div", { className: "space-y-4 px-4 pb-4 pt-4 text-sm", children: [
|
|
6
|
-
/* @__PURE__ */ t.jsx(
|
|
7
|
-
o,
|
|
8
|
-
{
|
|
9
|
-
placeholder: "Some Input",
|
|
10
|
-
value: s,
|
|
11
|
-
name: "Enter Input",
|
|
12
|
-
onChange: async (a) => {
|
|
13
|
-
n(a.target.value);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
),
|
|
17
|
-
/* @__PURE__ */ t.jsx(u, { children: e("submit") })
|
|
18
|
-
] });
|
|
19
|
-
}
|
|
20
|
-
export {
|
|
21
|
-
l as default
|
|
22
|
-
};
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { x as e, G as t, z as l } from "./index-M6WUZF2M.js";
|
|
2
|
-
function r({ template: s }) {
|
|
3
|
-
return /* @__PURE__ */ e.jsxs("div", { className: "min-h-16 bg-default border-subtle sticky flex flex-col justify-between gap-4 rounded-md border p-5", children: [
|
|
4
|
-
/* @__PURE__ */ e.jsxs("div", { className: "flex items-start justify-start", children: [
|
|
5
|
-
/* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx("div", { className: "mr-4 flex h-12 w-12 items-center justify-center rounded-md p-1", children: /* @__PURE__ */ e.jsx("img", { className: "h-8", alt: s.app, src: `/api/app-store/zapier/${s.icon}` }) }) }),
|
|
6
|
-
/* @__PURE__ */ e.jsx("div", { className: "mr-4", children: /* @__PURE__ */ e.jsxs("div", { children: [
|
|
7
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-emphasis truncate text-sm font-medium leading-4", children: s.app }),
|
|
8
|
-
/* @__PURE__ */ e.jsx("p", { className: "text-subtle mt-[2px] text-sm", children: s.text })
|
|
9
|
-
] }) })
|
|
10
|
-
] }),
|
|
11
|
-
/* @__PURE__ */ e.jsx("div", { className: "hidden w-full sm:block", children: /* @__PURE__ */ e.jsx("div", { className: "float-right", children: /* @__PURE__ */ e.jsx(t, { color: "secondary", className: " w-[90px]", target: "_blank", href: s.link, children: "Use Zap" }) }) }),
|
|
12
|
-
/* @__PURE__ */ e.jsx("div", { className: "mt-2 block w-full sm:hidden", children: /* @__PURE__ */ e.jsx("div", { className: "float-right", children: /* @__PURE__ */ e.jsx(t, { color: "secondary", className: "w-[90px]", target: "_blank", href: s.link, children: "Use Zap" }) }) })
|
|
13
|
-
] });
|
|
14
|
-
}
|
|
15
|
-
const o = [
|
|
16
|
-
{
|
|
17
|
-
icon: "gmail.svg",
|
|
18
|
-
app: "Gmail",
|
|
19
|
-
text: "Send emails via Gmail for scheduled events",
|
|
20
|
-
link: "https://zapier.com/app/editor/template/1071345"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
icon: "googleSheets.svg",
|
|
24
|
-
app: "Google Sheets",
|
|
25
|
-
text: "Create Google Sheets rows for scheduled events",
|
|
26
|
-
link: "https://zapier.com/app/editor/template/1082047"
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
icon: "salesforce.svg",
|
|
30
|
-
app: "Salesforce",
|
|
31
|
-
text: "Create Salesforce leads from new bookings",
|
|
32
|
-
link: "https://zapier.com/app/editor/template/1082050"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
icon: "todoist.svg",
|
|
36
|
-
app: "Todoist",
|
|
37
|
-
text: "Create Todoist tasks for scheduled events",
|
|
38
|
-
link: "https://zapier.com/app/editor/template/1082073"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
icon: "gmail.svg",
|
|
42
|
-
app: "Gmail",
|
|
43
|
-
text: "Send emails via Gmail for rescheduled events",
|
|
44
|
-
link: "https://zapier.com/app/editor/template/1083605"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
icon: "gmail.svg",
|
|
48
|
-
app: "Gmail",
|
|
49
|
-
text: "Send emails via Gmail for cancelled events",
|
|
50
|
-
link: "https://zapier.com/app/editor/template/1083609"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
icon: "gmail.svg",
|
|
54
|
-
app: "Gmail",
|
|
55
|
-
text: "Send emails via Gmail after scheduled meetings end",
|
|
56
|
-
link: "https://zapier.com/app/editor/template/1083613"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
icon: "googleCalendar.svg",
|
|
60
|
-
app: "Google Calendar",
|
|
61
|
-
text: "Add new bookings to Google Calendar",
|
|
62
|
-
link: "https://zapier.com/app/editor/template/1083651"
|
|
63
|
-
}
|
|
64
|
-
];
|
|
65
|
-
function n() {
|
|
66
|
-
const { t: s } = l();
|
|
67
|
-
return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
|
68
|
-
/* @__PURE__ */ e.jsx("div", { className: "text-sm font-semibold leading-4 ", children: s("get_started_zapier_templates") }),
|
|
69
|
-
/* @__PURE__ */ e.jsx("div", { className: "mt-4 grid gap-4 md:grid-cols-2", children: o.map((a, i) => /* @__PURE__ */ e.jsx(r, { template: a }, i)) })
|
|
70
|
-
] });
|
|
71
|
-
}
|
|
72
|
-
export {
|
|
73
|
-
n as default
|
|
74
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { z as r, x as e, k as o, G as i } from "./index-M6WUZF2M.js";
|
|
2
|
-
import { useState as l } from "react";
|
|
3
|
-
function m() {
|
|
4
|
-
const { t: a } = r(), n = "metric", [t, s] = l("");
|
|
5
|
-
return /* @__PURE__ */ e.jsxs("div", { className: "space-y-4 text-sm", children: [
|
|
6
|
-
/* @__PURE__ */ e.jsx(
|
|
7
|
-
o,
|
|
8
|
-
{
|
|
9
|
-
placeholder: "San Francisco",
|
|
10
|
-
value: t,
|
|
11
|
-
name: "Enter City",
|
|
12
|
-
onChange: async (c) => {
|
|
13
|
-
s(c.target.value);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
),
|
|
17
|
-
/* @__PURE__ */ e.jsx(
|
|
18
|
-
i,
|
|
19
|
-
{
|
|
20
|
-
href: `webcal://weather-in-calendar.com/cal/weather-cal.php?city=${t}&units=${n}&temperature=day`,
|
|
21
|
-
children: a("add_to_calendar")
|
|
22
|
-
}
|
|
23
|
-
)
|
|
24
|
-
] });
|
|
25
|
-
}
|
|
26
|
-
export {
|
|
27
|
-
m as default
|
|
28
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { z as b, J as f, K as E, M as x, x as p, W as y } from "./index-M6WUZF2M.js";
|
|
2
|
-
import { useState as C } from "react";
|
|
3
|
-
import { A as P } from "./AppCard-ImfOuDL_.js";
|
|
4
|
-
import { u as g } from "./useIsAppEnabled-OmKRsE8Z.js";
|
|
5
|
-
import v from "./EventTypeAppSettingsInterface-9raltJka.js";
|
|
6
|
-
const D = function({
|
|
7
|
-
app: t,
|
|
8
|
-
eventType: e,
|
|
9
|
-
eventTypeFormMetadata: o
|
|
10
|
-
}) {
|
|
11
|
-
var n;
|
|
12
|
-
const { t: i } = b(), r = f.usePathname(), { getAppData: a, setAppData: c, disabled: d } = E(), { enabled: m, updateEnabled: l } = g(t), u = x(o), [h] = C(a("enabled")), s = !h && u;
|
|
13
|
-
return /* @__PURE__ */ p.jsx(
|
|
14
|
-
P,
|
|
15
|
-
{
|
|
16
|
-
returnTo: `${y}${r}?tabName=apps`,
|
|
17
|
-
app: t,
|
|
18
|
-
switchChecked: m,
|
|
19
|
-
switchOnClick: (A) => {
|
|
20
|
-
l(A);
|
|
21
|
-
},
|
|
22
|
-
teamId: ((n = e.team) == null ? void 0 : n.id) || void 0,
|
|
23
|
-
disableSwitch: s,
|
|
24
|
-
switchTooltip: s ? i("other_payment_app_enabled") : void 0,
|
|
25
|
-
children: /* @__PURE__ */ p.jsx(
|
|
26
|
-
v,
|
|
27
|
-
{
|
|
28
|
-
eventType: e,
|
|
29
|
-
slug: t.slug,
|
|
30
|
-
disabled: d,
|
|
31
|
-
getAppData: a,
|
|
32
|
-
setAppData: c
|
|
33
|
-
}
|
|
34
|
-
)
|
|
35
|
-
}
|
|
36
|
-
);
|
|
37
|
-
};
|
|
38
|
-
export {
|
|
39
|
-
D as default
|
|
40
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { J as o, x as d, W as i } from "./index-M6WUZF2M.js";
|
|
2
|
-
import { A as m } from "./AppCard-ImfOuDL_.js";
|
|
3
|
-
import { u } from "./useIsAppEnabled-OmKRsE8Z.js";
|
|
4
|
-
const E = function({ app: t, eventType: e }) {
|
|
5
|
-
var a;
|
|
6
|
-
const p = o.usePathname(), { enabled: n, updateEnabled: s } = u(t);
|
|
7
|
-
return /* @__PURE__ */ d.jsx(
|
|
8
|
-
m,
|
|
9
|
-
{
|
|
10
|
-
returnTo: `${i}${p}?tabName=apps`,
|
|
11
|
-
app: t,
|
|
12
|
-
teamId: ((a = e.team) == null ? void 0 : a.id) || void 0,
|
|
13
|
-
switchOnClick: (r) => {
|
|
14
|
-
s(r);
|
|
15
|
-
},
|
|
16
|
-
switchChecked: n,
|
|
17
|
-
hideAppCardOptions: !0
|
|
18
|
-
}
|
|
19
|
-
);
|
|
20
|
-
};
|
|
21
|
-
export {
|
|
22
|
-
E as default
|
|
23
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { K as c, x as p } from "./index-M6WUZF2M.js";
|
|
2
|
-
import { A as m } from "./AppCard-ImfOuDL_.js";
|
|
3
|
-
import { u } from "./useIsAppEnabled-OmKRsE8Z.js";
|
|
4
|
-
import l from "./EventTypeAppSettingsInterface-cXn8l171.js";
|
|
5
|
-
const E = function({ app: t, eventType: e }) {
|
|
6
|
-
var s;
|
|
7
|
-
const { getAppData: a, setAppData: n, disabled: r } = c(), { enabled: i, updateEnabled: o } = u(t);
|
|
8
|
-
return /* @__PURE__ */ p.jsx(
|
|
9
|
-
m,
|
|
10
|
-
{
|
|
11
|
-
hideSettingsIcon: !0,
|
|
12
|
-
app: t,
|
|
13
|
-
switchOnClick: (d) => {
|
|
14
|
-
o(d);
|
|
15
|
-
},
|
|
16
|
-
switchChecked: i,
|
|
17
|
-
teamId: ((s = e.team) == null ? void 0 : s.id) || void 0,
|
|
18
|
-
children: /* @__PURE__ */ p.jsx(
|
|
19
|
-
l,
|
|
20
|
-
{
|
|
21
|
-
eventType: e,
|
|
22
|
-
slug: t.slug,
|
|
23
|
-
disabled: r,
|
|
24
|
-
getAppData: a,
|
|
25
|
-
setAppData: n
|
|
26
|
-
}
|
|
27
|
-
)
|
|
28
|
-
}
|
|
29
|
-
);
|
|
30
|
-
};
|
|
31
|
-
export {
|
|
32
|
-
E as default
|
|
33
|
-
};
|