@chaibuilder/sdk 1.2.65 → 1.2.67
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/AddBlocks-TVOOPK2w.cjs +1 -0
- package/dist/AddBlocks-mbuhydG3.js +123 -0
- package/dist/CanvasArea-KJMcis97.cjs +1 -0
- package/dist/CanvasArea-kg3Rgg9t.js +136 -0
- package/dist/CodeEditor-QP6l0mv4.cjs +1 -0
- package/dist/{CodeEditor-Qff4q7sx.js → CodeEditor-q5unEaUI.js} +60 -46
- package/dist/STRINGS--j49GZJP.js +7 -0
- package/dist/STRINGS-gPz7CUOk.cjs +1 -0
- package/dist/SettingsPanel-MWeQjDWs.cjs +1 -0
- package/dist/SettingsPanel-pomLrOxB.js +81 -0
- package/dist/SidePanels-9sbERNEv.cjs +1 -0
- package/dist/{SidePanels-ijaUKSek.js → SidePanels-YpRrvfiH.js} +87 -93
- package/dist/{Topbar-vHlnfxPs.js → Topbar-kVBx7pp4.js} +56 -61
- package/dist/Topbar-veJ2_blW.cjs +1 -0
- package/dist/{UILibrariesPanel-NVUMUPUj.js → UILibrariesPanel-ES8YzN9C.js} +92 -101
- package/dist/UILibrariesPanel-H8t36R6M.cjs +1 -0
- package/dist/UnsplashImages--MXx-DYM.cjs +1 -0
- package/dist/{UnsplashImages-UkHihhA5.js → UnsplashImages-sotLcz6r.js} +72 -57
- package/dist/{UploadImages-HtuJZJlo.js → UploadImages-I0QQ6vj1.js} +57 -44
- package/dist/UploadImages-xhxeYKkl.cjs +1 -0
- package/dist/badge-7BVT3zxN.cjs +1 -0
- package/dist/badge-pJqQSA13.js +23 -0
- package/dist/context-menu-_8TFbFEJ.cjs +1 -0
- package/dist/context-menu-sks9vdzC.js +906 -0
- package/dist/core.cjs +1 -1
- package/dist/core.d.ts +45 -20
- package/dist/core.js +85 -87
- package/dist/iconBase-vJD0OXxU.cjs +1 -0
- package/dist/iconBase-zweRWSz0.js +323 -0
- package/dist/index-5hfuDpYs.cjs +223 -0
- package/dist/index-Zu-K_BX7.js +33933 -0
- package/dist/jsx-runtime-JYMCiFoE.cjs +27 -0
- package/dist/{jsx-runtime-WbnYoNE9.js → jsx-runtime-Sp0orL4X.js} +106 -109
- package/dist/plugin-P0tpo_XZ.cjs +1 -0
- package/dist/plugin-_F-KZp1i.cjs +1 -0
- package/dist/plugin-f5uJtdXY.js +43 -0
- package/dist/plugin-sJ3Hzvpv.js +57 -0
- package/dist/render.cjs +3 -1
- package/dist/render.d.ts +19 -52
- package/dist/render.js +136 -183
- package/dist/select-JW3OMYm-.js +75 -0
- package/dist/select-fXj5tdMX.cjs +1 -0
- package/dist/separator-hT24N-xp.cjs +1 -0
- package/dist/separator-sgwOa1FE.js +18 -0
- package/dist/style.css +1 -1
- package/dist/tailwind.cjs +1 -1
- package/dist/tailwind.d.ts +41 -1
- package/dist/tailwind.js +16 -8
- package/dist/ui.cjs +1 -1
- package/dist/ui.d.ts +0 -10
- package/dist/ui.js +345 -163
- package/dist/web-blocks.cjs +1 -1
- package/dist/web-blocks.d.ts +1 -1
- package/dist/web-blocks.js +489 -724
- package/package.json +15 -45
- package/dist/CanvasArea-fSdH_RiN.cjs +0 -1
- package/dist/CanvasArea-ut5yknzX.js +0 -168
- package/dist/CodeEditor-ypUx3RAV.cjs +0 -1
- package/dist/CurrentPage-jHSVy3hq.js +0 -120
- package/dist/CurrentPage-p_AM4lrF.cjs +0 -1
- package/dist/Functions-7jnEwJyw.js +0 -15
- package/dist/Functions-N3yhPYKY.cjs +0 -1
- package/dist/MODIFIERS-fd5XOmum.js +0 -60
- package/dist/MODIFIERS-mVmfEGgo.cjs +0 -1
- package/dist/PagesPanel-U3InJ9Db.js +0 -78
- package/dist/PagesPanel-wqDb4D-x.cjs +0 -1
- package/dist/ProjectPanel-XODJTO4J.js +0 -99
- package/dist/ProjectPanel-fWESzHr6.cjs +0 -1
- package/dist/SidePanels-lrMQqc0h.cjs +0 -1
- package/dist/Topbar-RrCDxd0i.cjs +0 -1
- package/dist/UILibrariesPanel-7btHgBD0.cjs +0 -1
- package/dist/UnsplashImages-6UjgojvF.cjs +0 -1
- package/dist/UploadImages-3h0cRsvr.cjs +0 -1
- package/dist/_commonjsHelpers-UyOWmZb0.js +0 -8
- package/dist/_commonjsHelpers-wDK0ZLPo.cjs +0 -1
- package/dist/add-page-modal-RwIj1FxH.cjs +0 -1
- package/dist/add-page-modal-TOfMfmPA.js +0 -115
- package/dist/confirm-alert-eIp2cAkc.js +0 -60
- package/dist/confirm-alert-v1lG8ex4.cjs +0 -1
- package/dist/controls-rRZhz0vu.cjs +0 -1
- package/dist/controls-yjgoZzB6.js +0 -199
- package/dist/delete-page-modal-4bxjpVBD.js +0 -97
- package/dist/delete-page-modal-qYDZmpgT.cjs +0 -1
- package/dist/email-blocks.cjs +0 -1
- package/dist/email-blocks.d.ts +0 -3
- package/dist/email-blocks.js +0 -294
- package/dist/email.cjs +0 -1
- package/dist/email.d.ts +0 -171
- package/dist/email.js +0 -90
- package/dist/empty-slot-Lsxjts7Q.js +0 -6
- package/dist/empty-slot-Sy930lX6.cjs +0 -1
- package/dist/form-4jTocVbZ.cjs +0 -1
- package/dist/form-NAzFjGs0.js +0 -125
- package/dist/functions--tdNWQDW.js +0 -30
- package/dist/functions-EVUeSwX1.cjs +0 -1
- package/dist/html-to-json-NqRjgFqp.cjs +0 -1
- package/dist/html-to-json-l_mw5y-e.js +0 -243
- package/dist/index--k2M8kzI.cjs +0 -1
- package/dist/index--mLLy7QQ.cjs +0 -1
- package/dist/index-5XyNUAjc.cjs +0 -290
- package/dist/index-C7mB4XFm.js +0 -3141
- package/dist/index-VBXQixVm.js +0 -117
- package/dist/index-YZhtVcj_.js +0 -2201
- package/dist/index-aeDphKpP.cjs +0 -1
- package/dist/index-lFgDm1oa.js +0 -83780
- package/dist/jsx-runtime-Z_BpKhVy.cjs +0 -27
- package/dist/lib.cjs +0 -3
- package/dist/lib.d.ts +0 -80
- package/dist/lib.js +0 -1350
- package/dist/page-viewer-4wrnWnK0.js +0 -124
- package/dist/page-viewer-ra0GLx1p.cjs +0 -1
- package/dist/project-general-setting-IwZUkYF3.js +0 -90
- package/dist/project-general-setting-lFjTUhHD.cjs +0 -1
- package/dist/project-seo-setting-e1fTqVsd.js +0 -83
- package/dist/project-seo-setting-o0V9acCV.cjs +0 -1
- package/dist/server.cjs +0 -1
- package/dist/server.d.ts +0 -299
- package/dist/server.js +0 -216
- package/dist/single-page-detail-ZNWFKqLW.js +0 -229
- package/dist/single-page-detail-g55Anu7R.cjs +0 -1
- package/dist/studio.cjs +0 -1
- package/dist/studio.d.ts +0 -176
- package/dist/studio.js +0 -67
- package/dist/utils-D_vtk3zK.cjs +0 -1
- package/dist/utils-VpVqnC9m.js +0 -1075
package/dist/ui.js
CHANGED
|
@@ -1,178 +1,360 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
6
|
-
import "
|
|
7
|
-
import "./
|
|
8
|
-
import "
|
|
9
|
-
import "
|
|
10
|
-
import "
|
|
11
|
-
import "
|
|
1
|
+
import { j as t } from "./jsx-runtime-Sp0orL4X.js";
|
|
2
|
+
import * as i from "react";
|
|
3
|
+
import * as m from "@radix-ui/react-toggle";
|
|
4
|
+
import { cva as c } from "class-variance-authority";
|
|
5
|
+
import { ag as r } from "./context-menu-sks9vdzC.js";
|
|
6
|
+
import { J as xe, N as be, K as he, M as Ce, A as ye, ai as Ne, a1 as Se, a9 as we, a8 as Me, a3 as ve, a6 as De, a7 as Te, a4 as je, a5 as Re, a2 as Ie, l as Ae, B as Pe, f as ke, i as ze, h as Ge, k as Le, g as He, aj as Fe, u as Ve, at as Be, x as Ee, y as Oe, v as qe, z as Je, w as Ke, av as Qe, au as Ue, C as We, aw as Xe, b as Ye, aB as Ze, c as _e, ay as $e, aC as ea, aG as aa, ax as ta, az as oa, aA as sa, aD as ra, aE as na, aF as ia, a as da, D as la, n as ma, q as ca, r as pa, o as ua, p as fa, m as ga, U as xa, ac as ba, W as ha, _ as Ca, $ as ya, Y as Na, am as Sa, aq as wa, al as Ma, Z as va, a0 as Da, an as Ta, ao as ja, ap as Ra, V as Ia, ad as Aa, af as Pa, ae as ka, Q as za, L as Ga, P as La, t as Ha, s as Fa, X as Va, ak as Ba, S as Ea, I as Oa, E as qa, H as Ja, F as Ka, G as Qa, j as Ua, ab as Wa, T as Xa, e as Ya, R as Za, aa as _a, d as $a, ah as et, ar as at, as as tt, O as ot } from "./context-menu-sks9vdzC.js";
|
|
7
|
+
import { B as rt, b as nt } from "./badge-pJqQSA13.js";
|
|
8
|
+
import { ChevronRightIcon as g, CheckIcon as x, DotFilledIcon as b, Cross2Icon as h } from "@radix-ui/react-icons";
|
|
9
|
+
import * as s from "@radix-ui/react-menubar";
|
|
10
|
+
import { S as dt, d as lt, a as mt, f as ct, e as pt, g as ut, c as ft, b as gt } from "./select-JW3OMYm-.js";
|
|
11
|
+
import * as d from "@radix-ui/react-dialog";
|
|
12
|
+
import { S as bt } from "./separator-sgwOa1FE.js";
|
|
12
13
|
import "@radix-ui/react-switch";
|
|
13
|
-
import "@radix-ui/react-slot";
|
|
14
14
|
import "@radix-ui/react-accordion";
|
|
15
|
-
import "@radix-ui/react-icons";
|
|
16
15
|
import "@radix-ui/react-alert-dialog";
|
|
17
|
-
import "@radix-ui/react-
|
|
16
|
+
import "@radix-ui/react-slot";
|
|
18
17
|
import "@radix-ui/react-label";
|
|
19
18
|
import "@radix-ui/react-scroll-area";
|
|
20
19
|
import "@radix-ui/react-tabs";
|
|
21
20
|
import "@radix-ui/react-tooltip";
|
|
22
21
|
import "@radix-ui/react-popover";
|
|
23
|
-
import "@radix-ui/react-menubar";
|
|
24
22
|
import "@radix-ui/react-hover-card";
|
|
25
|
-
import "@radix-ui/react-select";
|
|
26
23
|
import "@radix-ui/react-dropdown-menu";
|
|
27
|
-
import "@radix-ui/react-separator";
|
|
28
24
|
import "@radix-ui/react-toast";
|
|
29
25
|
import "cmdk";
|
|
30
26
|
import "@radix-ui/react-context-menu";
|
|
31
|
-
import "
|
|
32
|
-
import "
|
|
33
|
-
import "react-
|
|
34
|
-
import "
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
27
|
+
import "clsx";
|
|
28
|
+
import "tailwind-merge";
|
|
29
|
+
import "@radix-ui/react-select";
|
|
30
|
+
import "@radix-ui/react-separator";
|
|
31
|
+
const C = c(
|
|
32
|
+
"inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",
|
|
33
|
+
{
|
|
34
|
+
variants: {
|
|
35
|
+
variant: {
|
|
36
|
+
default: "bg-transparent",
|
|
37
|
+
outline: "border border-input bg-transparent hover:bg-accent hover:text-accent-foreground"
|
|
38
|
+
},
|
|
39
|
+
size: {
|
|
40
|
+
default: "h-10 px-3",
|
|
41
|
+
sm: "h-9 px-2.5",
|
|
42
|
+
lg: "h-11 px-5"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
defaultVariants: {
|
|
46
|
+
variant: "default",
|
|
47
|
+
size: "default"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
), y = i.forwardRef(({ className: e, variant: a, size: o, ...n }, l) => /* @__PURE__ */ t.jsx(m.Root, { ref: l, className: r(C({ variant: a, size: o, className: e })), ...n }));
|
|
51
|
+
y.displayName = m.Root.displayName;
|
|
52
|
+
const ne = s.Menu, ie = s.Group, de = s.Portal, le = s.Sub, me = s.RadioGroup, N = i.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
|
|
53
|
+
s.Root,
|
|
54
|
+
{
|
|
55
|
+
ref: o,
|
|
56
|
+
className: r("flex h-9 items-center space-x-1 rounded-md border bg-background p-1 shadow-sm", e),
|
|
57
|
+
...a
|
|
58
|
+
}
|
|
59
|
+
));
|
|
60
|
+
N.displayName = s.Root.displayName;
|
|
61
|
+
const S = i.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
|
|
62
|
+
s.Trigger,
|
|
63
|
+
{
|
|
64
|
+
ref: o,
|
|
65
|
+
className: r(
|
|
66
|
+
"flex cursor-default select-none items-center rounded-sm px-3 py-1 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
|
|
67
|
+
e
|
|
68
|
+
),
|
|
69
|
+
...a
|
|
70
|
+
}
|
|
71
|
+
));
|
|
72
|
+
S.displayName = s.Trigger.displayName;
|
|
73
|
+
const w = i.forwardRef(({ className: e, inset: a, children: o, ...n }, l) => /* @__PURE__ */ t.jsxs(
|
|
74
|
+
s.SubTrigger,
|
|
75
|
+
{
|
|
76
|
+
ref: l,
|
|
77
|
+
className: r(
|
|
78
|
+
"flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
|
|
79
|
+
a && "pl-8",
|
|
80
|
+
e
|
|
81
|
+
),
|
|
82
|
+
...n,
|
|
83
|
+
children: [
|
|
84
|
+
o,
|
|
85
|
+
/* @__PURE__ */ t.jsx(g, { className: "ml-auto h-4 w-4" })
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
));
|
|
89
|
+
w.displayName = s.SubTrigger.displayName;
|
|
90
|
+
const M = i.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
|
|
91
|
+
s.SubContent,
|
|
92
|
+
{
|
|
93
|
+
ref: o,
|
|
94
|
+
className: r(
|
|
95
|
+
"z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
96
|
+
e
|
|
97
|
+
),
|
|
98
|
+
...a
|
|
99
|
+
}
|
|
100
|
+
));
|
|
101
|
+
M.displayName = s.SubContent.displayName;
|
|
102
|
+
const v = i.forwardRef(({ className: e, align: a = "start", alignOffset: o = -4, sideOffset: n = 8, ...l }, f) => /* @__PURE__ */ t.jsx(s.Portal, { children: /* @__PURE__ */ t.jsx(
|
|
103
|
+
s.Content,
|
|
104
|
+
{
|
|
105
|
+
ref: f,
|
|
106
|
+
align: a,
|
|
107
|
+
alignOffset: o,
|
|
108
|
+
sideOffset: n,
|
|
109
|
+
className: r(
|
|
110
|
+
"z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
111
|
+
e
|
|
112
|
+
),
|
|
113
|
+
...l
|
|
114
|
+
}
|
|
115
|
+
) }));
|
|
116
|
+
v.displayName = s.Content.displayName;
|
|
117
|
+
const D = i.forwardRef(({ className: e, inset: a, ...o }, n) => /* @__PURE__ */ t.jsx(
|
|
118
|
+
s.Item,
|
|
119
|
+
{
|
|
120
|
+
ref: n,
|
|
121
|
+
className: r(
|
|
122
|
+
"relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
123
|
+
a && "pl-8",
|
|
124
|
+
e
|
|
125
|
+
),
|
|
126
|
+
...o
|
|
127
|
+
}
|
|
128
|
+
));
|
|
129
|
+
D.displayName = s.Item.displayName;
|
|
130
|
+
const T = i.forwardRef(({ className: e, children: a, checked: o, ...n }, l) => /* @__PURE__ */ t.jsxs(
|
|
131
|
+
s.CheckboxItem,
|
|
132
|
+
{
|
|
133
|
+
ref: l,
|
|
134
|
+
className: r(
|
|
135
|
+
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
136
|
+
e
|
|
137
|
+
),
|
|
138
|
+
checked: o,
|
|
139
|
+
...n,
|
|
140
|
+
children: [
|
|
141
|
+
/* @__PURE__ */ t.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ t.jsx(s.ItemIndicator, { children: /* @__PURE__ */ t.jsx(x, { className: "h-4 w-4" }) }) }),
|
|
142
|
+
a
|
|
143
|
+
]
|
|
144
|
+
}
|
|
145
|
+
));
|
|
146
|
+
T.displayName = s.CheckboxItem.displayName;
|
|
147
|
+
const j = i.forwardRef(({ className: e, children: a, ...o }, n) => /* @__PURE__ */ t.jsxs(
|
|
148
|
+
s.RadioItem,
|
|
149
|
+
{
|
|
150
|
+
ref: n,
|
|
151
|
+
className: r(
|
|
152
|
+
"relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
|
|
153
|
+
e
|
|
154
|
+
),
|
|
155
|
+
...o,
|
|
156
|
+
children: [
|
|
157
|
+
/* @__PURE__ */ t.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ t.jsx(s.ItemIndicator, { children: /* @__PURE__ */ t.jsx(b, { className: "h-4 w-4 fill-current" }) }) }),
|
|
158
|
+
a
|
|
159
|
+
]
|
|
160
|
+
}
|
|
161
|
+
));
|
|
162
|
+
j.displayName = s.RadioItem.displayName;
|
|
163
|
+
const R = i.forwardRef(({ className: e, inset: a, ...o }, n) => /* @__PURE__ */ t.jsx(
|
|
164
|
+
s.Label,
|
|
165
|
+
{
|
|
166
|
+
ref: n,
|
|
167
|
+
className: r("px-2 py-1.5 text-sm font-semibold", a && "pl-8", e),
|
|
168
|
+
...o
|
|
169
|
+
}
|
|
170
|
+
));
|
|
171
|
+
R.displayName = s.Label.displayName;
|
|
172
|
+
const I = i.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(s.Separator, { ref: o, className: r("-mx-1 my-1 h-px bg-muted", e), ...a }));
|
|
173
|
+
I.displayName = s.Separator.displayName;
|
|
174
|
+
const A = ({ className: e, ...a }) => /* @__PURE__ */ t.jsx("span", { className: r("ml-auto text-xs tracking-widest text-muted-foreground", e), ...a });
|
|
175
|
+
A.displayname = "MenubarShortcut";
|
|
176
|
+
const ce = d.Root, pe = d.Trigger, ue = d.Close, p = ({ className: e, ...a }) => /* @__PURE__ */ t.jsx(d.Portal, { className: r(e), ...a });
|
|
177
|
+
p.displayName = d.Portal.displayName;
|
|
178
|
+
const u = i.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
|
|
179
|
+
d.Overlay,
|
|
180
|
+
{
|
|
181
|
+
className: r(
|
|
182
|
+
"fixed inset-0 z-50 bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
|
|
183
|
+
e
|
|
184
|
+
),
|
|
185
|
+
...a,
|
|
186
|
+
ref: o
|
|
187
|
+
}
|
|
188
|
+
));
|
|
189
|
+
u.displayName = d.Overlay.displayName;
|
|
190
|
+
const P = c(
|
|
191
|
+
"fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
|
|
192
|
+
{
|
|
193
|
+
variants: {
|
|
194
|
+
side: {
|
|
195
|
+
top: "inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
|
|
196
|
+
bottom: "inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
|
|
197
|
+
left: "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
|
|
198
|
+
right: "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
defaultVariants: {
|
|
202
|
+
side: "right"
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
), k = i.forwardRef(
|
|
206
|
+
({ side: e = "right", className: a, children: o, ...n }, l) => /* @__PURE__ */ t.jsxs(p, { children: [
|
|
207
|
+
/* @__PURE__ */ t.jsx(u, {}),
|
|
208
|
+
/* @__PURE__ */ t.jsxs(d.Content, { ref: l, className: r(P({ side: e }), a), ...n, children: [
|
|
209
|
+
o,
|
|
210
|
+
/* @__PURE__ */ t.jsxs(d.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
|
|
211
|
+
/* @__PURE__ */ t.jsx(h, { className: "h-4 w-4" }),
|
|
212
|
+
/* @__PURE__ */ t.jsx("span", { className: "sr-only", children: "Close" })
|
|
213
|
+
] })
|
|
214
|
+
] })
|
|
215
|
+
] })
|
|
216
|
+
);
|
|
217
|
+
k.displayName = d.Content.displayName;
|
|
218
|
+
const z = ({ className: e, ...a }) => /* @__PURE__ */ t.jsx("div", { className: r("flex flex-col space-y-2 text-center sm:text-left", e), ...a });
|
|
219
|
+
z.displayName = "SheetHeader";
|
|
220
|
+
const G = ({ className: e, ...a }) => /* @__PURE__ */ t.jsx("div", { className: r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...a });
|
|
221
|
+
G.displayName = "SheetFooter";
|
|
222
|
+
const L = i.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(d.Title, { ref: o, className: r("text-lg font-semibold text-foreground", e), ...a }));
|
|
223
|
+
L.displayName = d.Title.displayName;
|
|
224
|
+
const H = i.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(d.Description, { ref: o, className: r("text-sm text-muted-foreground", e), ...a }));
|
|
225
|
+
H.displayName = d.Description.displayName;
|
|
40
226
|
export {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
de as
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
co as reducer,
|
|
175
|
-
mo as toast,
|
|
176
|
-
lo as toggleVariants,
|
|
177
|
-
go as useToast
|
|
227
|
+
xe as Accordion,
|
|
228
|
+
be as AccordionContent,
|
|
229
|
+
he as AccordionItem,
|
|
230
|
+
Ce as AccordionTrigger,
|
|
231
|
+
ye as Alert,
|
|
232
|
+
Ne as AlertDescription,
|
|
233
|
+
Se as AlertDialog,
|
|
234
|
+
we as AlertDialogAction,
|
|
235
|
+
Me as AlertDialogCancel,
|
|
236
|
+
ve as AlertDialogContent,
|
|
237
|
+
De as AlertDialogDescription,
|
|
238
|
+
Te as AlertDialogFooter,
|
|
239
|
+
je as AlertDialogHeader,
|
|
240
|
+
Re as AlertDialogTitle,
|
|
241
|
+
Ie as AlertDialogTrigger,
|
|
242
|
+
Ae as AlertTitle,
|
|
243
|
+
rt as Badge,
|
|
244
|
+
Pe as Button,
|
|
245
|
+
ke as Card,
|
|
246
|
+
ze as CardContent,
|
|
247
|
+
Ge as CardDescription,
|
|
248
|
+
Le as CardFooter,
|
|
249
|
+
He as CardHeader,
|
|
250
|
+
Fe as CardTitle,
|
|
251
|
+
Ve as Command,
|
|
252
|
+
Be as CommandDialog,
|
|
253
|
+
Ee as CommandEmpty,
|
|
254
|
+
Oe as CommandGroup,
|
|
255
|
+
qe as CommandInput,
|
|
256
|
+
Je as CommandItem,
|
|
257
|
+
Ke as CommandList,
|
|
258
|
+
Qe as CommandSeparator,
|
|
259
|
+
Ue as CommandShortcut,
|
|
260
|
+
We as ContextMenu,
|
|
261
|
+
Xe as ContextMenuCheckboxItem,
|
|
262
|
+
Ye as ContextMenuContent,
|
|
263
|
+
Ze as ContextMenuGroup,
|
|
264
|
+
_e as ContextMenuItem,
|
|
265
|
+
$e as ContextMenuLabel,
|
|
266
|
+
ea as ContextMenuPortal,
|
|
267
|
+
aa as ContextMenuRadioGroup,
|
|
268
|
+
ta as ContextMenuRadioItem,
|
|
269
|
+
oa as ContextMenuSeparator,
|
|
270
|
+
sa as ContextMenuShortcut,
|
|
271
|
+
ra as ContextMenuSub,
|
|
272
|
+
na as ContextMenuSubContent,
|
|
273
|
+
ia as ContextMenuSubTrigger,
|
|
274
|
+
da as ContextMenuTrigger,
|
|
275
|
+
la as Dialog,
|
|
276
|
+
ma as DialogContent,
|
|
277
|
+
ca as DialogDescription,
|
|
278
|
+
pa as DialogFooter,
|
|
279
|
+
ua as DialogHeader,
|
|
280
|
+
fa as DialogTitle,
|
|
281
|
+
ga as DialogTrigger,
|
|
282
|
+
xa as DropdownMenu,
|
|
283
|
+
ba as DropdownMenuCheckboxItem,
|
|
284
|
+
ha as DropdownMenuContent,
|
|
285
|
+
Ca as DropdownMenuGroup,
|
|
286
|
+
ya as DropdownMenuItem,
|
|
287
|
+
Na as DropdownMenuLabel,
|
|
288
|
+
Sa as DropdownMenuPortal,
|
|
289
|
+
wa as DropdownMenuRadioGroup,
|
|
290
|
+
Ma as DropdownMenuRadioItem,
|
|
291
|
+
va as DropdownMenuSeparator,
|
|
292
|
+
Da as DropdownMenuShortcut,
|
|
293
|
+
Ta as DropdownMenuSub,
|
|
294
|
+
ja as DropdownMenuSubContent,
|
|
295
|
+
Ra as DropdownMenuSubTrigger,
|
|
296
|
+
Ia as DropdownMenuTrigger,
|
|
297
|
+
Aa as HoverCard,
|
|
298
|
+
Pa as HoverCardContent,
|
|
299
|
+
ka as HoverCardTrigger,
|
|
300
|
+
za as Input,
|
|
301
|
+
Ga as Label,
|
|
302
|
+
N as Menubar,
|
|
303
|
+
T as MenubarCheckboxItem,
|
|
304
|
+
v as MenubarContent,
|
|
305
|
+
ie as MenubarGroup,
|
|
306
|
+
D as MenubarItem,
|
|
307
|
+
R as MenubarLabel,
|
|
308
|
+
ne as MenubarMenu,
|
|
309
|
+
de as MenubarPortal,
|
|
310
|
+
me as MenubarRadioGroup,
|
|
311
|
+
j as MenubarRadioItem,
|
|
312
|
+
I as MenubarSeparator,
|
|
313
|
+
A as MenubarShortcut,
|
|
314
|
+
le as MenubarSub,
|
|
315
|
+
M as MenubarSubContent,
|
|
316
|
+
w as MenubarSubTrigger,
|
|
317
|
+
S as MenubarTrigger,
|
|
318
|
+
La as Popover,
|
|
319
|
+
Ha as PopoverContent,
|
|
320
|
+
Fa as PopoverTrigger,
|
|
321
|
+
Va as ScrollArea,
|
|
322
|
+
Ba as ScrollBar,
|
|
323
|
+
dt as Select,
|
|
324
|
+
lt as SelectContent,
|
|
325
|
+
mt as SelectGroup,
|
|
326
|
+
ct as SelectItem,
|
|
327
|
+
pt as SelectLabel,
|
|
328
|
+
ut as SelectSeparator,
|
|
329
|
+
ft as SelectTrigger,
|
|
330
|
+
gt as SelectValue,
|
|
331
|
+
bt as Separator,
|
|
332
|
+
ce as Sheet,
|
|
333
|
+
ue as SheetClose,
|
|
334
|
+
k as SheetContent,
|
|
335
|
+
H as SheetDescription,
|
|
336
|
+
G as SheetFooter,
|
|
337
|
+
z as SheetHeader,
|
|
338
|
+
L as SheetTitle,
|
|
339
|
+
pe as SheetTrigger,
|
|
340
|
+
Ea as Skeleton,
|
|
341
|
+
Oa as Switch,
|
|
342
|
+
qa as Tabs,
|
|
343
|
+
Ja as TabsContent,
|
|
344
|
+
Ka as TabsList,
|
|
345
|
+
Qa as TabsTrigger,
|
|
346
|
+
Ua as Textarea,
|
|
347
|
+
Wa as Toaster,
|
|
348
|
+
y as Toggle,
|
|
349
|
+
Xa as Tooltip,
|
|
350
|
+
Ya as TooltipContent,
|
|
351
|
+
Za as TooltipPortal,
|
|
352
|
+
_a as TooltipProvider,
|
|
353
|
+
$a as TooltipTrigger,
|
|
354
|
+
nt as badgeVariants,
|
|
355
|
+
et as buttonVariants,
|
|
356
|
+
at as reducer,
|
|
357
|
+
tt as toast,
|
|
358
|
+
C as toggleVariants,
|
|
359
|
+
ot as useToast
|
|
178
360
|
};
|