@opencx/widget 2.4.4-rn.0 → 2.4.4-rn.2
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/basic.cjs +31 -31
- package/dist/basic.cjs.map +1 -1
- package/dist/basic.js +37 -38
- package/dist/basic.js.map +1 -1
- package/dist/core/client/api.d.ts +6 -15
- package/dist/core/client/chat.d.ts +10 -10
- package/dist/core/client/contact.d.ts +2 -2
- package/dist/core/index.d.ts +2 -0
- package/dist/core/types/helpers.d.ts +1 -1
- package/dist/core/types/index.d.ts +2 -3
- package/dist/core/types/schemas-v2.d.ts +92 -91
- package/dist/core/types/schemas.d.ts +123 -69
- package/dist/{index-Cjs7ckCU.js → index-B-VyJuQ9.js} +964 -864
- package/dist/index-B-VyJuQ9.js.map +1 -0
- package/dist/index-D2PGs8oF.cjs +18 -0
- package/dist/index-D2PGs8oF.cjs.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +337 -282
- package/dist/index.js.map +1 -1
- package/dist/package.json.d.ts +1 -1
- package/dist/react-web/hooks/useAbstractChat.d.ts +22 -21
- package/dist/react-web/hooks/useAxiosInstance.d.ts +35 -23
- package/dist/react-web/hooks/useUploadFiles.d.ts +1 -1
- package/dist/react-web/providers/ChatProvider.d.ts +24 -24
- package/dist/react-web/providers/ContactProvider.d.ts +4 -4
- package/dist/react.cjs +1 -1
- package/dist/react.js +1 -1
- package/dist/schemas-v2-BiJWHypc.cjs +2 -0
- package/dist/schemas-v2-BiJWHypc.cjs.map +1 -0
- package/dist/schemas-v2-DZ3nwfID.js +138 -0
- package/dist/schemas-v2-DZ3nwfID.js.map +1 -0
- package/dist/src/components/RenderFile.d.ts +1 -1
- package/dist/src/components/dialog.d.ts +2 -2
- package/dist-embed/script.js +107 -107
- package/dist-embed/script.js.map +1 -1
- package/package.json +1 -1
- package/dist/index-BVoLVQCZ.cjs +0 -18
- package/dist/index-BVoLVQCZ.cjs.map +0 -1
- package/dist/index-Cjs7ckCU.js.map +0 -1
- package/dist/schemas-BBAV6Sd_.js +0 -122
- package/dist/schemas-BBAV6Sd_.js.map +0 -1
- package/dist/schemas-wky4fpbc.cjs +0 -2
- package/dist/schemas-wky4fpbc.cjs.map +0 -1
package/dist/basic.js
CHANGED
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import { jsx as V, jsxs as pt, Fragment as KL } from "react/jsx-runtime";
|
|
2
|
-
import { c as u_, g as ZL, u as JL, a as us, b as jT, d as VT, e as B1, f as Dc, h as eI,
|
|
2
|
+
import { c as u_, g as ZL, u as JL, a as us, b as jT, d as VT, e as B1, f as Dc, h as eI, A as tI, _ as nI, i as Zl, j as ok, k as rI, W as aI } from "./index-B-VyJuQ9.js";
|
|
3
3
|
import * as Hm from "@radix-ui/react-tooltip";
|
|
4
4
|
import * as ie from "react";
|
|
5
|
-
import H1, { useRef as z1, useEffect as zm, memo as
|
|
5
|
+
import H1, { useRef as z1, useEffect as zm, memo as iI, forwardRef as YT, useState as io, cloneElement as oI, createElement as l_, useMemo as uk, useLayoutEffect as uI, useImperativeHandle as lI, useCallback as sI } from "react";
|
|
6
6
|
import { clsx as lk } from "clsx";
|
|
7
7
|
import * as Kf from "@radix-ui/react-avatar";
|
|
8
8
|
import { AnimatePresence as ts, motion as zo } from "framer-motion";
|
|
9
9
|
import s_ from "tinycolor2";
|
|
10
10
|
import { Slot as WT } from "@radix-ui/react-slot";
|
|
11
|
-
import { AlertCircle as sk, ThumbsUp as c_, ThumbsDown as d_, CheckCheck as
|
|
12
|
-
import { formatDistance as
|
|
11
|
+
import { AlertCircle as sk, ThumbsUp as c_, ThumbsDown as d_, CheckCheck as cI, ChevronRight as dI, Check as fI, Circle as hI, EllipsisVerticalIcon as pI, SaveIcon as mI, SaveOffIcon as gI, Volume2Icon as vI, VolumeOffIcon as yI, RotateCcw as EI, PaperclipIcon as bI, CircleDashed as wI, SendHorizonal as TI, CheckCheckIcon as xI, XIcon as ck, Loader2 as SI, FileAudio as CI, FileIcon as _I, SendHorizontal as AI } from "lucide-react";
|
|
12
|
+
import { formatDistance as kI } from "date-fns";
|
|
13
13
|
import * as Yn from "@radix-ui/react-dropdown-menu";
|
|
14
14
|
import * as pT from "@radix-ui/react-switch";
|
|
15
|
-
import { useDropzone as
|
|
15
|
+
import { useDropzone as RI } from "react-dropzone";
|
|
16
16
|
import f_ from "react-hot-toast";
|
|
17
|
-
import { A as RI } from "./schemas-BBAV6Sd_.js";
|
|
18
17
|
import { z as Pw } from "zod";
|
|
19
18
|
const NI = "[data-chat-widget-content-root]";
|
|
20
19
|
function dk({
|
|
@@ -17382,7 +17381,7 @@ const NA = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, DA =
|
|
|
17382
17381
|
"1.01": "scale-[1.01]",
|
|
17383
17382
|
"1.02": "scale-[1.02]",
|
|
17384
17383
|
"1.1": "scale-[1.1]"
|
|
17385
|
-
}, qm =
|
|
17384
|
+
}, qm = iI(
|
|
17386
17385
|
YT(
|
|
17387
17386
|
({ children: e, className: n, scale: a = "1.02", off: l = !1 }, f) => {
|
|
17388
17387
|
const [p, d] = io(!1), [g, E] = io({ x: 0, y: 0 });
|
|
@@ -17409,7 +17408,7 @@ const NA = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, DA =
|
|
|
17409
17408
|
"--opencx-wobble-x": p ? `${g.x}px` : "0px",
|
|
17410
17409
|
"--opencx-wobble-y": p ? `${g.y}px` : "0px"
|
|
17411
17410
|
};
|
|
17412
|
-
return
|
|
17411
|
+
return oI(e, {
|
|
17413
17412
|
ref: f,
|
|
17414
17413
|
onMouseMove: C,
|
|
17415
17414
|
onMouseEnter: S,
|
|
@@ -17663,7 +17662,7 @@ function gz({
|
|
|
17663
17662
|
message: a
|
|
17664
17663
|
}) {
|
|
17665
17664
|
var f, p, d;
|
|
17666
|
-
const l = uk(() => a.deliveredAt ?
|
|
17665
|
+
const l = uk(() => a.deliveredAt ? kI(new Date(a.deliveredAt), /* @__PURE__ */ new Date(), {
|
|
17667
17666
|
addSuffix: !0
|
|
17668
17667
|
}) : null, [a.deliveredAt]);
|
|
17669
17668
|
return /* @__PURE__ */ pt("div", { className: "flex flex-row w-full gap-2 justify-end items-start group", children: [
|
|
@@ -17672,7 +17671,7 @@ function gz({
|
|
|
17672
17671
|
a.attachments && a.attachments.length > 0 && /* @__PURE__ */ V("div", { className: "flex gap-1 flex-wrap mb-1", children: (f = a.attachments) == null ? void 0 : f.map((g) => /* @__PURE__ */ V(cR, { attachment: g }, g.id)) }),
|
|
17673
17672
|
l && /* @__PURE__ */ pt("div", { className: "flex items-center justify-end gap-1 mt-1 text-[10px] text-zinc-500 opacity-0 group-hover:opacity-100 transition-opacity duration-200", children: [
|
|
17674
17673
|
/* @__PURE__ */ V("span", { children: l }),
|
|
17675
|
-
/* @__PURE__ */ V(
|
|
17674
|
+
/* @__PURE__ */ V(cI, { className: "size-3" })
|
|
17676
17675
|
] })
|
|
17677
17676
|
] }) }),
|
|
17678
17677
|
/* @__PURE__ */ pt(ey, { className: "size-8 ring-2 ring-white shadow-sm", children: [
|
|
@@ -17712,7 +17711,7 @@ const yz = Yn.Root, Ez = Yn.Trigger, LA = Yn.Group, bz = ie.forwardRef(({ classN
|
|
|
17712
17711
|
...l,
|
|
17713
17712
|
children: [
|
|
17714
17713
|
a,
|
|
17715
|
-
/* @__PURE__ */ V(
|
|
17714
|
+
/* @__PURE__ */ V(dI, { className: "ml-auto" })
|
|
17716
17715
|
]
|
|
17717
17716
|
}
|
|
17718
17717
|
));
|
|
@@ -17767,7 +17766,7 @@ const Tz = ie.forwardRef(({ className: e, children: n, checked: a, ...l }, f) =>
|
|
|
17767
17766
|
checked: a,
|
|
17768
17767
|
...l,
|
|
17769
17768
|
children: [
|
|
17770
|
-
/* @__PURE__ */ V("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ V(Yn.ItemIndicator, { children: /* @__PURE__ */ V(
|
|
17769
|
+
/* @__PURE__ */ V("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ V(Yn.ItemIndicator, { children: /* @__PURE__ */ V(fI, { className: "h-4 w-4" }) }) }),
|
|
17771
17770
|
n
|
|
17772
17771
|
]
|
|
17773
17772
|
}
|
|
@@ -17783,7 +17782,7 @@ const xz = ie.forwardRef(({ className: e, children: n, ...a }, l) => /* @__PURE_
|
|
|
17783
17782
|
),
|
|
17784
17783
|
...a,
|
|
17785
17784
|
children: [
|
|
17786
|
-
/* @__PURE__ */ V("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ V(Yn.ItemIndicator, { children: /* @__PURE__ */ V(
|
|
17785
|
+
/* @__PURE__ */ V("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ V(Yn.ItemIndicator, { children: /* @__PURE__ */ V(hI, { className: "h-2 w-2 fill-current" }) }) }),
|
|
17787
17786
|
n
|
|
17788
17787
|
]
|
|
17789
17788
|
}
|
|
@@ -17851,7 +17850,7 @@ function _z() {
|
|
|
17851
17850
|
p({ useSoundEffects: !(f != null && f.useSoundEffects) });
|
|
17852
17851
|
};
|
|
17853
17852
|
return /* @__PURE__ */ pt(yz, { open: n, onOpenChange: a, children: [
|
|
17854
|
-
/* @__PURE__ */ V(Ez, { asChild: !0, children: /* @__PURE__ */ V(ao, { variant: "ghost", size: "fit", className: "rounded-full", children: /* @__PURE__ */ V(
|
|
17853
|
+
/* @__PURE__ */ V(Ez, { asChild: !0, children: /* @__PURE__ */ V(ao, { variant: "ghost", size: "fit", className: "rounded-full", children: /* @__PURE__ */ V(pI, { className: "size-4" }) }) }),
|
|
17855
17854
|
/* @__PURE__ */ pt(fR, { align: "end", className: "min-w-56", children: [
|
|
17856
17855
|
/* @__PURE__ */ pt(LA, { children: [
|
|
17857
17856
|
/* @__PURE__ */ pt(
|
|
@@ -17861,7 +17860,7 @@ function _z() {
|
|
|
17861
17860
|
E.preventDefault(), d();
|
|
17862
17861
|
},
|
|
17863
17862
|
children: [
|
|
17864
|
-
/* @__PURE__ */ V(ts, { mode: "wait", children: f != null && f.persistSession ? /* @__PURE__ */ V(ri, { fadeIn: "right", distance: 4, snapExit: !0, children: /* @__PURE__ */ V(
|
|
17863
|
+
/* @__PURE__ */ V(ts, { mode: "wait", children: f != null && f.persistSession ? /* @__PURE__ */ V(ri, { fadeIn: "right", distance: 4, snapExit: !0, children: /* @__PURE__ */ V(mI, {}) }, "save") : /* @__PURE__ */ V(ri, { fadeIn: "right", distance: 4, snapExit: !0, children: /* @__PURE__ */ V(gI, {}) }, "save-off") }),
|
|
17865
17864
|
e.get("persist-session"),
|
|
17866
17865
|
/* @__PURE__ */ V(
|
|
17867
17866
|
OT,
|
|
@@ -17881,13 +17880,13 @@ function _z() {
|
|
|
17881
17880
|
E.preventDefault(), g();
|
|
17882
17881
|
},
|
|
17883
17882
|
children: [
|
|
17884
|
-
/* @__PURE__ */ V(ts, { mode: "wait", children: f != null && f.useSoundEffects ? /* @__PURE__ */ V(ri, { fadeIn: "right", distance: 4, snapExit: !0, children: /* @__PURE__ */ V(
|
|
17883
|
+
/* @__PURE__ */ V(ts, { mode: "wait", children: f != null && f.useSoundEffects ? /* @__PURE__ */ V(ri, { fadeIn: "right", distance: 4, snapExit: !0, children: /* @__PURE__ */ V(vI, {}) }, "volume-2") : /* @__PURE__ */ V(
|
|
17885
17884
|
ri,
|
|
17886
17885
|
{
|
|
17887
17886
|
fadeIn: "right",
|
|
17888
17887
|
distance: 4,
|
|
17889
17888
|
snapExit: !0,
|
|
17890
|
-
children: /* @__PURE__ */ V(
|
|
17889
|
+
children: /* @__PURE__ */ V(yI, {})
|
|
17891
17890
|
},
|
|
17892
17891
|
"volume-off"
|
|
17893
17892
|
) }),
|
|
@@ -17917,7 +17916,7 @@ function _z() {
|
|
|
17917
17916
|
{
|
|
17918
17917
|
initial: { opacity: 0, x: -4, rotate: 360 },
|
|
17919
17918
|
animate: { opacity: 1, x: 0, rotate: 0 },
|
|
17920
|
-
children: /* @__PURE__ */ V(
|
|
17919
|
+
children: /* @__PURE__ */ V(EI, {})
|
|
17921
17920
|
}
|
|
17922
17921
|
),
|
|
17923
17922
|
e.get("reset-conversation")
|
|
@@ -17949,7 +17948,7 @@ function kz({
|
|
|
17949
17948
|
const d = () => {
|
|
17950
17949
|
switch (e) {
|
|
17951
17950
|
case "uploading":
|
|
17952
|
-
return /* @__PURE__ */ V(
|
|
17951
|
+
return /* @__PURE__ */ V(SI, { className: "size-4 animate-spin" });
|
|
17953
17952
|
case "error":
|
|
17954
17953
|
return /* @__PURE__ */ V(sk, { className: "size-4 text-destructive" });
|
|
17955
17954
|
default:
|
|
@@ -17964,7 +17963,7 @@ function kz({
|
|
|
17964
17963
|
className: "object-cover bg-secondary size-full",
|
|
17965
17964
|
alt: n.name
|
|
17966
17965
|
}
|
|
17967
|
-
) : E === "audio" ? /* @__PURE__ */ V(
|
|
17966
|
+
) : E === "audio" ? /* @__PURE__ */ V(CI, {}) : /* @__PURE__ */ V(_I, {});
|
|
17968
17967
|
};
|
|
17969
17968
|
return /* @__PURE__ */ V(
|
|
17970
17969
|
gT,
|
|
@@ -18012,7 +18011,7 @@ function Rz() {
|
|
|
18012
18011
|
appendFiles: R,
|
|
18013
18012
|
isUploading: A,
|
|
18014
18013
|
successFiles: D
|
|
18015
|
-
} = eI(), L = f && ((f == null ? void 0 : f.isAssignedToHuman) || f.ai_closure_type ===
|
|
18014
|
+
} = eI(), L = f && ((f == null ? void 0 : f.isAssignedToHuman) || f.ai_closure_type === tI.handed_off), U = (Te) => {
|
|
18016
18015
|
L && R(Te);
|
|
18017
18016
|
}, H = async () => {
|
|
18018
18017
|
l.state !== "loading" && (A && f_.error("please wait for the file(s) to upload"), g.trim() && (E(""), C(), await a({
|
|
@@ -18035,7 +18034,7 @@ function Rz() {
|
|
|
18035
18034
|
getRootProps: G,
|
|
18036
18035
|
getInputProps: W,
|
|
18037
18036
|
open: Z
|
|
18038
|
-
} =
|
|
18037
|
+
} = RI({
|
|
18039
18038
|
onDrop: U,
|
|
18040
18039
|
noClick: !0,
|
|
18041
18040
|
onDropRejected() {
|
|
@@ -18113,7 +18112,7 @@ function Rz() {
|
|
|
18113
18112
|
"rounded-full size-8 flex items-center justify-center p-0"
|
|
18114
18113
|
),
|
|
18115
18114
|
disabled: !L,
|
|
18116
|
-
children: /* @__PURE__ */ V(
|
|
18115
|
+
children: /* @__PURE__ */ V(bI, { className: "size-4" })
|
|
18117
18116
|
}
|
|
18118
18117
|
)
|
|
18119
18118
|
}
|
|
@@ -18129,7 +18128,7 @@ function Rz() {
|
|
|
18129
18128
|
onClick: H,
|
|
18130
18129
|
disabled: J || X || A,
|
|
18131
18130
|
className: "rounded-full size-8 flex items-center justify-center p-0",
|
|
18132
|
-
children: J ? /* @__PURE__ */ V(
|
|
18131
|
+
children: J ? /* @__PURE__ */ V(wI, { className: "size-4 animate-spin animate-iteration-infinite" }) : /* @__PURE__ */ V(TI, { className: "size-4 rtl:-scale-100" })
|
|
18133
18132
|
}
|
|
18134
18133
|
)
|
|
18135
18134
|
}
|
|
@@ -18144,7 +18143,7 @@ function Nz() {
|
|
|
18144
18143
|
const { recreateSession: e } = Dc(), n = B1();
|
|
18145
18144
|
return /* @__PURE__ */ V("div", { className: "p-2", children: /* @__PURE__ */ pt("div", { className: "p-2 bg-background rounded-3xl border shadow-2xl space-y-2", children: [
|
|
18146
18145
|
/* @__PURE__ */ pt("div", { className: "flex items-center gap-1", children: [
|
|
18147
|
-
/* @__PURE__ */ V(
|
|
18146
|
+
/* @__PURE__ */ V(xI, { className: "size-4 text-emerald-500" }),
|
|
18148
18147
|
/* @__PURE__ */ V("h2", { className: "text-sm font-medium", dir: "auto", children: n.get("session-closed-lead") })
|
|
18149
18148
|
] }),
|
|
18150
18149
|
/* @__PURE__ */ V("div", { children: /* @__PURE__ */ V(ao, { onClick: e, className: "rounded-2xl w-full", children: n.get("create-new-ticket") }) })
|
|
@@ -18322,7 +18321,7 @@ const Iz = Pw.object({
|
|
|
18322
18321
|
function Mz() {
|
|
18323
18322
|
const e = B1(), { data: n } = VT(), { createContactAsync: a } = jT(), { assets: l } = us(), { observedElementRef: f } = dk({
|
|
18324
18323
|
fallbackHeight: uz
|
|
18325
|
-
}), [p, d] =
|
|
18324
|
+
}), [p, d] = nI(
|
|
18326
18325
|
async (g) => {
|
|
18327
18326
|
g.preventDefault();
|
|
18328
18327
|
const E = new FormData(g.currentTarget), b = Object.fromEntries(E.entries()), C = Iz.safeParse(b);
|
|
@@ -18384,7 +18383,7 @@ function Mz() {
|
|
|
18384
18383
|
className: "w-full rounded-3xl",
|
|
18385
18384
|
children: [
|
|
18386
18385
|
p.loading ? e.get("starting-chat") : e.get("start-chat"),
|
|
18387
|
-
/* @__PURE__ */ V(
|
|
18386
|
+
/* @__PURE__ */ V(AI, { className: "size-4" })
|
|
18388
18387
|
]
|
|
18389
18388
|
}
|
|
18390
18389
|
)
|
|
@@ -38948,7 +38947,7 @@ const $j = Cj, qj = _j, Gj = Tj, Xj = kj, Kj = xj, JA = wj, Zj = Aj, Jj = (e, n,
|
|
|
38948
38947
|
platform: p
|
|
38949
38948
|
});
|
|
38950
38949
|
};
|
|
38951
|
-
var S1 = typeof document < "u" ?
|
|
38950
|
+
var S1 = typeof document < "u" ? uI : zm;
|
|
38952
38951
|
function U1(e, n) {
|
|
38953
38952
|
if (e === n)
|
|
38954
38953
|
return !0;
|
|
@@ -39922,7 +39921,7 @@ function cY(e) {
|
|
|
39922
39921
|
}, [e]), ie.useEffect(function() {
|
|
39923
39922
|
if (e.inert) {
|
|
39924
39923
|
document.body.classList.add("block-interactivity-".concat(f));
|
|
39925
|
-
var L =
|
|
39924
|
+
var L = rI([e.lockRef.current], (e.shards || []).map(ik), !0).filter(Boolean);
|
|
39926
39925
|
return L.forEach(function(U) {
|
|
39927
39926
|
return U.classList.add("allow-interactivity-".concat(f));
|
|
39928
39927
|
}), function() {
|
|
@@ -40007,7 +40006,7 @@ var GR = ie.forwardRef(function(e, n) {
|
|
|
40007
40006
|
return ie.createElement(ay, Zl({}, e, { ref: n, sideCar: fY }));
|
|
40008
40007
|
});
|
|
40009
40008
|
GR.classNames = ay.classNames;
|
|
40010
|
-
var Cx = "Popover", [XR,
|
|
40009
|
+
var Cx = "Popover", [XR, WY] = Bz(Cx, [
|
|
40011
40010
|
DR
|
|
40012
40011
|
]), Xm = DR(), [hY, Ic] = XR(Cx), KR = (e) => {
|
|
40013
40012
|
const {
|
|
@@ -40066,7 +40065,7 @@ var JR = "PopoverTrigger", eN = ie.forwardRef(
|
|
|
40066
40065
|
}
|
|
40067
40066
|
);
|
|
40068
40067
|
eN.displayName = JR;
|
|
40069
|
-
var mY = "PopoverPortal", [
|
|
40068
|
+
var mY = "PopoverPortal", [QY, gY] = XR(mY, {
|
|
40070
40069
|
forceMount: void 0
|
|
40071
40070
|
}), Xf = "PopoverContent", tN = ie.forwardRef(
|
|
40072
40071
|
(e, n) => {
|
|
@@ -40247,11 +40246,11 @@ var CY = /* @__PURE__ */ H1.createContext({
|
|
|
40247
40246
|
} = e, g = SY(e, _Y), [E, b] = io(!1), [C, S] = io(), R = (Z) => {
|
|
40248
40247
|
Z && S(Z);
|
|
40249
40248
|
};
|
|
40250
|
-
|
|
40249
|
+
lI(n, () => C, [C]);
|
|
40251
40250
|
var A = f || "<!DOCTYPE html><html><head></head><body></body></html>", D = () => C ? C.contentDocument : null, L = () => {
|
|
40252
40251
|
var Z = D();
|
|
40253
40252
|
return d ? Z == null ? void 0 : Z.querySelector(d) : Z == null ? void 0 : Z.body;
|
|
40254
|
-
}, U = z1(), H =
|
|
40253
|
+
}, U = z1(), H = sI((Z) => {
|
|
40255
40254
|
U.current = Z;
|
|
40256
40255
|
var J = () => setInterval(() => H(Z), 500);
|
|
40257
40256
|
clearInterval(J()), E || b(!0);
|
|
@@ -40383,7 +40382,7 @@ html, body {
|
|
|
40383
40382
|
<body>
|
|
40384
40383
|
</body>
|
|
40385
40384
|
</html>`;
|
|
40386
|
-
function
|
|
40385
|
+
function $Y({ className: e, ...n }) {
|
|
40387
40386
|
const a = Dc(), { theme: l } = us(), [f, p] = io(!1);
|
|
40388
40387
|
return /* @__PURE__ */ pt(TY, { open: f, onOpenChange: p, children: [
|
|
40389
40388
|
/* @__PURE__ */ V("style", { children: lN }),
|
|
@@ -40483,12 +40482,12 @@ function qY({ className: e, ...n }) {
|
|
|
40483
40482
|
/* @__PURE__ */ V(kY, { isOpen: f })
|
|
40484
40483
|
] });
|
|
40485
40484
|
}
|
|
40486
|
-
function
|
|
40485
|
+
function qY({
|
|
40487
40486
|
options: e,
|
|
40488
40487
|
children: n
|
|
40489
40488
|
}) {
|
|
40490
40489
|
return /* @__PURE__ */ V(
|
|
40491
|
-
|
|
40490
|
+
aI,
|
|
40492
40491
|
{
|
|
40493
40492
|
options: {
|
|
40494
40493
|
...e,
|
|
@@ -40512,7 +40511,7 @@ function GY({
|
|
|
40512
40511
|
);
|
|
40513
40512
|
}
|
|
40514
40513
|
export {
|
|
40515
|
-
|
|
40516
|
-
|
|
40514
|
+
$Y as Widget,
|
|
40515
|
+
qY as WidgetRoot
|
|
40517
40516
|
};
|
|
40518
40517
|
//# sourceMappingURL=basic.js.map
|