@marimo-team/islands 0.25.3-dev209 → 0.25.3-dev210
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/{ConnectedDataExplorerComponent-ApTYh0V3.js → ConnectedDataExplorerComponent-D6RHJV8D.js} +114 -112
- package/dist/{ErrorBoundary-B1QlXN-y.js → ErrorBoundary-VruaQLnK.js} +10 -10
- package/dist/{abnfDiagram-VCTEODGH-uo9xhZY0.js → abnfDiagram-VCTEODGH-0q7Lbmii.js} +2 -2
- package/dist/{any-language-editor-BVFHDDQ3.js → any-language-editor-jGaR0EAo.js} +5 -5
- package/dist/{architectureDiagram-5GKGNRK7-Hz6eyeOD.js → architectureDiagram-5GKGNRK7-1PydKPmE.js} +1 -1
- package/dist/{button-BQRdqQi1.js → button-B6RjDKJx.js} +54 -51
- package/dist/{capabilities-C2QUNRXi.js → capabilities-CkVzWJEX.js} +1 -1
- package/dist/{chat-ui-BTA1I5i1.js → chat-ui-B5pH_aXk.js} +414 -413
- package/dist/{check-C9Mp9eCK.js → check-Z_vtI3OL.js} +1 -1
- package/dist/{chunk-IMKFNOWR-DBM2i23k.js → chunk-IMKFNOWR-DEzZZ1Zc.js} +1 -1
- package/dist/{chunk-SHT3W25Y-L8KQLLBy.js → chunk-SHT3W25Y-CuHj-hnn.js} +1 -1
- package/dist/{chunk-SVP7TREG-BOUJKJEP.js → chunk-SVP7TREG-BPiZK2bA.js} +1 -1
- package/dist/{chunk-TICWLB2K-DY3CzFjX.js → chunk-TICWLB2K-DF6XcIjM.js} +1 -1
- package/dist/{classDiagram-ZZMXUADV-s9iwW-q4.js → classDiagram-ZZMXUADV-CMdR-cP4.js} +2 -2
- package/dist/{classDiagram-v2-VYDZK3BY-2GI5CjGB.js → classDiagram-v2-VYDZK3BY-DRvc3_7Y.js} +2 -2
- package/dist/{code-visibility-CCGlDSq4.js → code-visibility-BdFhHfIC.js} +28 -28
- package/dist/{common-C1PmVtVW.js → common-Ce1SgsX1.js} +8034 -8027
- package/dist/{toDate-BZZ64K_m.js → config-DbjzjwxX.js} +98 -164
- package/dist/{copy-icon-De584pZ4.js → copy-icon-CG57cxwb.js} +3 -3
- package/dist/createReducer-DePYJ0F3.js +63 -0
- package/dist/{cynefinDiagram-5FMLGOSQ-DOxnhBK2.js → cynefinDiagram-5FMLGOSQ-BkBjEY9l.js} +1 -1
- package/dist/{dagre-GXQ25YYZ-D1AhEfpM.js → dagre-GXQ25YYZ-D-HEaW4I.js} +1 -1
- package/dist/{data-grid-overlay-editor-B3KXkZvo.js → data-grid-overlay-editor-Bps1p6jQ.js} +1 -1
- package/dist/{diagram-S7CK7UJ4-DV_GebF_.js → diagram-S7CK7UJ4-Bn-oF-rB.js} +1 -1
- package/dist/{diagram-UQ7AKVKN-6dNzGFfD.js → diagram-UQ7AKVKN-BpzzXWBj.js} +1 -1
- package/dist/{diagram-VX7I27RA-DUh9jsfi.js → diagram-VX7I27RA-COOtvfBP.js} +1 -1
- package/dist/{diagram-Z3DM3KII-Cug-qcQ8.js → diagram-Z3DM3KII-K5cXvbrl.js} +1 -1
- package/dist/{dialog-DVRfQuhD.js → dialog-DsZ49mmU.js} +26 -26
- package/dist/{dist-BJtmSgcE.js → dist-11T5wq3_.js} +41 -40
- package/dist/{dist-B1M0bGO3.js → dist-17ugwGZc.js} +59 -58
- package/dist/{dist-D7mrh5sO.js → dist-7cRjf--y.js} +135 -134
- package/dist/{dist-Ck_C32ye.js → dist-B8pkfkzc.js} +31 -30
- package/dist/{dist-Ba2VIn1K.js → dist-B9UoM_wq.js} +54 -53
- package/dist/{dist-KN80qWCP.js → dist-BGuMTs1i.js} +118 -117
- package/dist/{dist-T5rh6JvL.js → dist-BHW11fni.js} +18 -17
- package/dist/dist-BLY4m1Wi.js +850 -0
- package/dist/{dist-Bj4bmwUm.js → dist-BNlcVoxs.js} +31 -30
- package/dist/{dist-BA13RJj5.js → dist-BQYe5Bju.js} +47 -46
- package/dist/{dist-OUle2RT7.js → dist-BX1mn8na.js} +297 -297
- package/dist/{dist-CTi5FTiV.js → dist-Bh0PTKUW.js} +108 -107
- package/dist/{dist-D9Q3xjiP.js → dist-CKaXK92p.js} +56 -55
- package/dist/{dist-DYXM73-k.js → dist-CLhwfhpJ.js} +58 -57
- package/dist/{dist-BmS-ZGjl.js → dist-CYeqK4Xw.js} +1854 -2702
- package/dist/{dist-D1fnFp1J.js → dist-Cxlp3WH6.js} +16 -15
- package/dist/{dist-DVVwOfrD.js → dist-DSJPGj42.js} +64 -63
- package/dist/{dist-Bzogh7CW.js → dist-DU9ICsWZ.js} +93 -92
- package/dist/{dist-DjeybPOb.js → dist-DWv0ALBi.js} +47 -46
- package/dist/{dist-D3x9__Fu.js → dist-DiBpWEsB.js} +39 -38
- package/dist/{dist-DtGn9N4h.js → dist-DiLFTlnl.js} +165 -165
- package/dist/{dist-DTv9KkpW.js → dist-cVDV5IuI.js} +26 -25
- package/dist/{dist-DP60Ubh8.js → dist-fRfaOoq8.js} +44 -43
- package/dist/{dist-O0qFpEJh.js → dist-gTTI-9Px.js} +66 -65
- package/dist/{dropdown-menu-dlEm41Bt.js → dropdown-menu-CSNdPSnS.js} +2886 -1529
- package/dist/{ebnfDiagram-PWID7BFC-d5LKx7Vb.js → ebnfDiagram-PWID7BFC-BI1ZmjVm.js} +2 -2
- package/dist/{erDiagram-RLTQ6QDP-BwvlkcID.js → erDiagram-RLTQ6QDP-BtWjj9xy.js} +1 -1
- package/dist/{error-banner-DxJ3s8YO.js → error-banner-IsonnvA0.js} +47 -46
- package/dist/error-entries-CRPfxMqm.js +2505 -0
- package/dist/{esm-Bbw_Njjx.js → esm-BgKjMvWw.js} +389 -388
- package/dist/{esm-mDQNEFe_.js → esm-CHjVSexr.js} +305 -306
- package/dist/{feedback-button-UsovT9sL.js → feedback-button-2ycmR9GG.js} +112 -112
- package/dist/{flowDiagram-HODETNUW-CJcSoFer.js → flowDiagram-HODETNUW-DQvZh96A.js} +2 -2
- package/dist/{formats-Ry7c-aIV.js → formats-BK4VefeF.js} +6 -6
- package/dist/{glide-data-editor-CRd8kBSp.js → glide-data-editor-Buj2OZjL.js} +99 -99
- package/dist/{glide-utils-D98laidb.js → glide-utils-CQddGpa-.js} +3 -3
- package/dist/{globals-BDWrOstF.js → globals-B-14fUeb.js} +3 -3
- package/dist/{error-entries-CVUHA5r_.js → html-to-image-CgAnxFi8.js} +26314 -25474
- package/dist/{infoDiagram-27XIBGKW-Cezgppw3.js → infoDiagram-27XIBGKW-BdAObnc_.js} +1 -1
- package/dist/{ishikawaDiagram-5VMMS53U-BahZQwJz.js → ishikawaDiagram-5VMMS53U-DP-jE8dw.js} +1 -1
- package/dist/{kanban-definition-UXKFOSKX-Cvfn_Obm.js → kanban-definition-UXKFOSKX-BkMgPjfm.js} +1 -1
- package/dist/{loader-DOVB0Syl.js → loader-BisjOLiW.js} +1 -1
- package/dist/main.js +2996 -2992
- package/dist/{mermaid-BrdwbArF.js → mermaid-B-OFqheA.js} +36 -36
- package/dist/{mindmap-definition-YA3MSWOX-uB4B2d-J.js → mindmap-definition-YA3MSWOX-Du7toAZX.js} +1 -1
- package/dist/{number-overlay-editor-Bp9a4z5Q.js → number-overlay-editor-ZVFcJ7_u.js} +1 -1
- package/dist/{dist-CThPVKaP.js → objectWithoutPropertiesLoose-ai5NUqGa.js} +1139 -1120
- package/dist/{pegDiagram-XKGWAZYB-CYaIwAmH.js → pegDiagram-XKGWAZYB-CX_729j0.js} +2 -2
- package/dist/{pieDiagram-E7YTZNPT-BJ1oUxVv.js → pieDiagram-E7YTZNPT-dtTFJcVI.js} +1 -1
- package/dist/{process-output-SjJxB1wh.js → process-output-Bmev5azU.js} +5 -5
- package/dist/{railroadDiagram-O6MQD6OU-BqKSaBux.js → railroadDiagram-O6MQD6OU-Dsc2Cf4c.js} +2 -2
- package/dist/{requirementDiagram-BXWQKSXE-DwFhgDhH.js → requirementDiagram-BXWQKSXE-D3g0c60I.js} +1 -1
- package/dist/{reveal-component-ov3pS-oO.js → reveal-component-BWz1KjWe.js} +725 -725
- package/dist/schemas-CdscWNy_.js +4747 -0
- package/dist/select-BSxlITBo.js +1200 -0
- package/dist/{sequenceDiagram-WJ2MYXX4-L7ENjfKF.js → sequenceDiagram-WJ2MYXX4-w1pWbIpk.js} +1 -1
- package/dist/{spec-BcJ9ncAY.js → spec-Dq8RNplp.js} +4 -4
- package/dist/{stateDiagram-D77RDMKH-CVf88u-p.js → stateDiagram-D77RDMKH-BCv7kP4H.js} +2 -2
- package/dist/{stateDiagram-v2-MP3YSRHH-DvpkQ1V6.js → stateDiagram-v2-MP3YSRHH-D1cTOt0x.js} +2 -2
- package/dist/static-state-BldGd99T.js +72 -0
- package/dist/strings-BGW-fXVJ.js +507 -0
- package/dist/{swimlanes-42K2YHIH-DIuFHbVE.js → swimlanes-42K2YHIH-DNO6jDnd.js} +1 -1
- package/dist/{swimlanesDiagram-VR7AAH4N-CAqHAziW.js → swimlanesDiagram-VR7AAH4N-CkSWsxYJ.js} +2 -2
- package/dist/{swiper-component-BVfnhbnt.js → swiper-component-Dir1o8ml.js} +2 -2
- package/dist/{timeline-definition-24CTP7MA-xO4EQqBm.js → timeline-definition-24CTP7MA-DQvqGFM9.js} +1 -1
- package/dist/toast-BWIPi3aF.js +491 -0
- package/dist/{tooltip-s4zZxwKe.js → tooltip-C3UnvsRe.js} +58 -58
- package/dist/use-restore-focus-BWO0z1lo.js +1672 -0
- package/dist/{useAsyncData-Dqw22wZQ.js → useAsyncData-DsZMvNXn.js} +1 -1
- package/dist/{useDateFormatter-D3Tkfzej.js → useDateFormatter-ChB4eyim.js} +2 -2
- package/dist/{useDeepCompareMemoize-D3gozcjJ.js → useDeepCompareMemoize-KMBBux8C.js} +1 -1
- package/dist/{useIframeCapabilities-6a_yDNXp.js → useIframeCapabilities-cMNQ80CK.js} +1 -1
- package/dist/useLifecycle-BquH9ET-.js +112 -0
- package/dist/useTheme-B9C1JIy9.js +307 -0
- package/dist/utils-DXkj82sK.js +813 -0
- package/dist/{vega-component-Blvspl7v.js → vega-component-9NOEITbg.js} +55 -54
- package/dist/{vennDiagram-4TSXK5OY-DzCi-lRh.js → vennDiagram-4TSXK5OY-BfzXp4SH.js} +1 -1
- package/dist/{wardleyDiagram-VM6X3IG4-CW48xa0n.js → wardleyDiagram-VM6X3IG4-CiqEE8eq.js} +1 -1
- package/dist/{xychartDiagram-S5SC5T6Z-UPxGGI2B.js → xychartDiagram-S5SC5T6Z-BTIHCVOI.js} +1 -1
- package/package.json +1 -1
- package/src/components/editor/cell/__tests__/StagedAICell.test.tsx +1 -1
- package/src/components/editor/cell/code/cell-editor.tsx +13 -36
- package/src/components/editor/chrome/wrapper/__tests__/pending-ai-cells.test.tsx +1 -1
- package/src/components/editor/errors/__tests__/send-error-report-button.test.tsx +11 -5
- package/src/components/editor/notebook-cell.tsx +0 -1
- package/src/components/scratchpad/scratchpad.test.tsx +3 -11
- package/src/components/scratchpad/scratchpad.tsx +24 -22
- package/src/components/scratchpad/state.ts +7 -0
- package/src/core/ai/__tests__/staged-cells.test.ts +6 -8
- package/src/core/ai/staged-cells.ts +4 -2
- package/src/core/cells/__tests__/cells.test.ts +44 -60
- package/src/core/cells/__tests__/document.test.ts +1 -139
- package/src/core/cells/__tests__/notebook-outline.test.ts +8 -6
- package/src/core/cells/actions.ts +39 -0
- package/src/core/cells/cells.ts +15 -35
- package/src/core/cells/document.ts +9 -84
- package/src/core/codemirror/__tests__/format.test.ts +0 -34
- package/src/core/codemirror/cells/extensions.ts +20 -18
- package/src/core/codemirror/cells/state.ts +0 -5
- package/src/core/codemirror/format.ts +1 -19
- package/src/core/codemirror/misc/__tests__/paste.test.ts +3 -1
- package/src/core/codemirror/misc/paste.ts +1 -1
- package/src/core/notebook/document/__tests__/codemirror.test.ts +172 -0
- package/src/stories/layout/vertical/one-column.stories.tsx +26 -18
- package/dist/html-to-image--E3uFbJ9.js +0 -3348
- package/dist/label-Qvw1E97W.js +0 -281
- package/dist/objectWithoutPropertiesLoose-BRDcTsfB.js +0 -23
- package/dist/select-2KOiReNY.js +0 -1423
- package/dist/toast-B5t9o6s_.js +0 -1848
- package/dist/use-restore-focus-BgDTd2tc.js +0 -6418
- package/dist/useLifecycle-CaZi4wTw.js +0 -172
- package/dist/useTheme-TzPgWXwB.js +0 -1114
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as e } from "./src-CA_m4ONl.js";
|
|
2
2
|
import { n as t } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
3
3
|
import "./chunk-DU6HZSFF-BwiyaNpg.js";
|
|
4
|
-
import "./mermaid-
|
|
4
|
+
import "./mermaid-B-OFqheA.js";
|
|
5
5
|
import { f as n, t as r } from "./mermaid-parser.core-DxuSfYwJ.js";
|
|
6
|
-
import { n as i, r as a, t as o } from "./chunk-SVP7TREG-
|
|
6
|
+
import { n as i, r as a, t as o } from "./chunk-SVP7TREG-BPiZK2bA.js";
|
|
7
7
|
import { t as s } from "./chunk-JWPE2WC7-DJvv1t8U.js";
|
|
8
8
|
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/ebnfDiagram-PWID7BFC.mjs
|
|
9
9
|
var c = n().RailroadEbnf.parser.LangiumParser, l = /* @__PURE__ */ t((e) => {
|
|
@@ -10,7 +10,7 @@ import "./chunk-4HAMMTFA-D4eFPyFh.js";
|
|
|
10
10
|
import "./chunk-GVQU2GXP-Cwbt-lF0.js";
|
|
11
11
|
import "./chunk-L3NEJ4N5-n-zgIVSy.js";
|
|
12
12
|
import "./chunk-OSK3NFVY-DXa-Cxbn.js";
|
|
13
|
-
import { n as _, r as v } from "./mermaid-
|
|
13
|
+
import { n as _, r as v } from "./mermaid-B-OFqheA.js";
|
|
14
14
|
import { t as y } from "./chunk-XXDRQBXY-Dnl5VBqG.js";
|
|
15
15
|
import { t as b } from "./chunk-POPQ4Y6H-hYOXbYH_.js";
|
|
16
16
|
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-RLTQ6QDP.mjs
|
|
@@ -1,91 +1,92 @@
|
|
|
1
1
|
import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
|
|
2
|
-
import { g as t, h as n, n as r, p as i,
|
|
2
|
+
import { g as t, h as n, n as r, p as i, s as a } from "./button-B6RjDKJx.js";
|
|
3
3
|
import { t as o } from "./react-sHtZdjeP.js";
|
|
4
4
|
import { t as s } from "./compiler-runtime-CldRdSsv.js";
|
|
5
5
|
import { t as c } from "./jsx-runtime-3BD1kT0s.js";
|
|
6
|
-
import {
|
|
6
|
+
import { F as l, N as u, _ as d, a as f, c as p, d as m, f as h, g, h as _, l as v, m as y, p as ee, t as b, u as x } from "./use-restore-focus-BWO0z1lo.js";
|
|
7
|
+
import { I as S, N as C } from "./schemas-CdscWNy_.js";
|
|
7
8
|
//#region ../node_modules/.pnpm/@radix-ui+react-alert-dialog@1.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+_8084eebff7dc7a4ca98e25e7846e6396/node_modules/@radix-ui/react-alert-dialog/dist/index.mjs
|
|
8
|
-
var w = /* @__PURE__ */ e(o(), 1), T = c(),
|
|
9
|
+
var w = /* @__PURE__ */ e(o(), 1), T = c(), E = Object.defineProperty, D = (e, t) => E(e, "name", {
|
|
9
10
|
value: t,
|
|
10
11
|
configurable: !0
|
|
11
|
-
}), [
|
|
12
|
-
let { __scopeAlertDialog: t, ...n } = e, r =
|
|
12
|
+
}), [te, ne] = l("AlertDialog", [d]), O = d(), re = /* @__PURE__ */ D((e) => {
|
|
13
|
+
let { __scopeAlertDialog: t, ...n } = e, r = O(t);
|
|
13
14
|
return /* @__PURE__ */ (0, T.jsx)(v, {
|
|
14
15
|
...r,
|
|
15
16
|
...n,
|
|
16
17
|
modal: !0
|
|
17
18
|
});
|
|
18
19
|
}, "AlertDialog");
|
|
19
|
-
w.forwardRef(/* @__PURE__ */
|
|
20
|
-
let { __scopeAlertDialog: n, ...r } = e, i =
|
|
21
|
-
return /* @__PURE__ */ (0, T.jsx)(
|
|
20
|
+
w.forwardRef(/* @__PURE__ */ D(function(e, t) {
|
|
21
|
+
let { __scopeAlertDialog: n, ...r } = e, i = O(n);
|
|
22
|
+
return /* @__PURE__ */ (0, T.jsx)(g, {
|
|
22
23
|
...i,
|
|
23
24
|
...r,
|
|
24
25
|
ref: t
|
|
25
26
|
});
|
|
26
27
|
}, "AlertDialogTrigger"));
|
|
27
|
-
var k = /* @__PURE__ */
|
|
28
|
-
let { __scopeAlertDialog: t, ...n } = e, r =
|
|
29
|
-
return /* @__PURE__ */ (0, T.jsx)(
|
|
28
|
+
var k = /* @__PURE__ */ D((e) => {
|
|
29
|
+
let { __scopeAlertDialog: t, ...n } = e, r = O(t);
|
|
30
|
+
return /* @__PURE__ */ (0, T.jsx)(y, {
|
|
30
31
|
...r,
|
|
31
32
|
...n
|
|
32
33
|
});
|
|
33
|
-
}, "AlertDialogPortal"), A = w.forwardRef(/* @__PURE__ */
|
|
34
|
-
let { __scopeAlertDialog: n, ...r } = e, i =
|
|
35
|
-
return /* @__PURE__ */ (0, T.jsx)(
|
|
34
|
+
}, "AlertDialogPortal"), A = w.forwardRef(/* @__PURE__ */ D(function(e, t) {
|
|
35
|
+
let { __scopeAlertDialog: n, ...r } = e, i = O(n);
|
|
36
|
+
return /* @__PURE__ */ (0, T.jsx)(ee, {
|
|
36
37
|
...i,
|
|
37
38
|
...r,
|
|
38
39
|
ref: t
|
|
39
40
|
});
|
|
40
|
-
}, "AlertDialogOverlay")), [
|
|
41
|
-
let { __scopeAlertDialog: n, children: r, ...a } = e, o =
|
|
42
|
-
return /* @__PURE__ */ (0, T.jsx)(
|
|
41
|
+
}, "AlertDialogOverlay")), [j, ie] = te("AlertDialogContent"), M = w.forwardRef(/* @__PURE__ */ D(function(e, t) {
|
|
42
|
+
let { __scopeAlertDialog: n, children: r, ...a } = e, o = O(n), s = w.useRef(null), c = i(t, s), l = w.useRef(null);
|
|
43
|
+
return /* @__PURE__ */ (0, T.jsx)(j, {
|
|
43
44
|
scope: n,
|
|
44
|
-
cancelRef:
|
|
45
|
-
children: /* @__PURE__ */ (0, T.jsx)(
|
|
45
|
+
cancelRef: l,
|
|
46
|
+
children: /* @__PURE__ */ (0, T.jsx)(m, {
|
|
46
47
|
role: "alertdialog",
|
|
47
48
|
...o,
|
|
48
49
|
...a,
|
|
49
50
|
ref: c,
|
|
50
|
-
onOpenAutoFocus:
|
|
51
|
-
e.preventDefault(),
|
|
51
|
+
onOpenAutoFocus: u(a.onOpenAutoFocus, (e) => {
|
|
52
|
+
e.preventDefault(), l.current?.focus({ preventScroll: !0 });
|
|
52
53
|
}),
|
|
53
54
|
onPointerDownOutside: (e) => e.preventDefault(),
|
|
54
55
|
onInteractOutside: (e) => e.preventDefault(),
|
|
55
56
|
children: r
|
|
56
57
|
})
|
|
57
58
|
});
|
|
58
|
-
}, "AlertDialogContent")),
|
|
59
|
-
let { __scopeAlertDialog: n, ...r } = e, i =
|
|
60
|
-
return /* @__PURE__ */ (0, T.jsx)(
|
|
59
|
+
}, "AlertDialogContent")), N = w.forwardRef(/* @__PURE__ */ D(function(e, t) {
|
|
60
|
+
let { __scopeAlertDialog: n, ...r } = e, i = O(n);
|
|
61
|
+
return /* @__PURE__ */ (0, T.jsx)(_, {
|
|
61
62
|
...i,
|
|
62
63
|
...r,
|
|
63
64
|
ref: t
|
|
64
65
|
});
|
|
65
|
-
}, "AlertDialogTitle")),
|
|
66
|
-
let { __scopeAlertDialog: n, ...r } = e, i =
|
|
67
|
-
return /* @__PURE__ */ (0, T.jsx)(
|
|
66
|
+
}, "AlertDialogTitle")), P = w.forwardRef(/* @__PURE__ */ D(function(e, t) {
|
|
67
|
+
let { __scopeAlertDialog: n, ...r } = e, i = O(n);
|
|
68
|
+
return /* @__PURE__ */ (0, T.jsx)(h, {
|
|
68
69
|
...i,
|
|
69
70
|
...r,
|
|
70
71
|
ref: t
|
|
71
72
|
});
|
|
72
|
-
}, "AlertDialogDescription")),
|
|
73
|
-
let { __scopeAlertDialog: n, ...r } = e, i =
|
|
74
|
-
return /* @__PURE__ */ (0, T.jsx)(
|
|
73
|
+
}, "AlertDialogDescription")), F = w.forwardRef(/* @__PURE__ */ D(function(e, t) {
|
|
74
|
+
let { __scopeAlertDialog: n, ...r } = e, i = O(n);
|
|
75
|
+
return /* @__PURE__ */ (0, T.jsx)(x, {
|
|
75
76
|
...i,
|
|
76
77
|
...r,
|
|
77
78
|
ref: t
|
|
78
79
|
});
|
|
79
|
-
}, "AlertDialogAction")),
|
|
80
|
-
let { __scopeAlertDialog: n, ...r } = e, { cancelRef: a } = ae
|
|
81
|
-
return /* @__PURE__ */ (0, T.jsx)(
|
|
80
|
+
}, "AlertDialogAction")), ae = "AlertDialogCancel", I = w.forwardRef(/* @__PURE__ */ D(function(e, t) {
|
|
81
|
+
let { __scopeAlertDialog: n, ...r } = e, { cancelRef: a } = ie(ae, n), o = O(n), s = i(t, a);
|
|
82
|
+
return /* @__PURE__ */ (0, T.jsx)(x, {
|
|
82
83
|
...o,
|
|
83
84
|
...r,
|
|
84
85
|
ref: s
|
|
85
86
|
});
|
|
86
|
-
}, "AlertDialogCancel")), L = s(), R =
|
|
87
|
+
}, "AlertDialogCancel")), L = s(), R = re, z = f(({ children: e, ...t }) => /* @__PURE__ */ (0, T.jsx)(k, {
|
|
87
88
|
...t,
|
|
88
|
-
children: /* @__PURE__ */ (0, T.jsx)(
|
|
89
|
+
children: /* @__PURE__ */ (0, T.jsx)(p, { children: /* @__PURE__ */ (0, T.jsx)("div", {
|
|
89
90
|
className: "fixed inset-0 z-50 flex items-end justify-center sm:items-start sm:top-[15%]",
|
|
90
91
|
children: e
|
|
91
92
|
}) })
|
|
@@ -110,19 +111,19 @@ B.displayName = A.displayName;
|
|
|
110
111
|
var V = w.forwardRef((e, t) => {
|
|
111
112
|
let r = (0, L.c)(11), i, a;
|
|
112
113
|
r[0] === e ? (i = r[1], a = r[2]) : ({className: i, ...a} = e, r[0] = e, r[1] = i, r[2] = a);
|
|
113
|
-
let o =
|
|
114
|
+
let o = b(), s;
|
|
114
115
|
r[3] === Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ (0, T.jsx)(B, {}), r[3] = s) : s = r[3];
|
|
115
116
|
let c;
|
|
116
117
|
r[4] === i ? c = r[5] : (c = n("fixed z-50 grid w-full max-w-2xl scale-100 gap-4 border bg-background p-6 opacity-100 shadow-sm animate-in fade-in-90 slide-in-from-bottom-10 sm:rounded-lg sm:zoom-in-90 sm:slide-in-from-bottom-0 md:w-full", i), r[4] = i, r[5] = c);
|
|
117
118
|
let l;
|
|
118
|
-
return r[6] !== a || r[7] !== t || r[8] !== o || r[9] !== c ? (l = /* @__PURE__ */ (0, T.jsxs)(z, { children: [s, /* @__PURE__ */ (0, T.jsx)(
|
|
119
|
+
return r[6] !== a || r[7] !== t || r[8] !== o || r[9] !== c ? (l = /* @__PURE__ */ (0, T.jsxs)(z, { children: [s, /* @__PURE__ */ (0, T.jsx)(M, {
|
|
119
120
|
ref: t,
|
|
120
121
|
className: c,
|
|
121
122
|
...o,
|
|
122
123
|
...a
|
|
123
124
|
})] }), r[6] = a, r[7] = t, r[8] = o, r[9] = c, r[10] = l) : l = r[10], l;
|
|
124
125
|
});
|
|
125
|
-
V.displayName =
|
|
126
|
+
V.displayName = M.displayName;
|
|
126
127
|
var H = (e) => {
|
|
127
128
|
let t = (0, L.c)(8), r, i;
|
|
128
129
|
t[0] === e ? (r = t[1], i = t[2]) : ({className: r, ...i} = e, t[0] = e, t[1] = r, t[2] = i);
|
|
@@ -153,46 +154,46 @@ var W = w.forwardRef((e, t) => {
|
|
|
153
154
|
let o;
|
|
154
155
|
r[3] === i ? o = r[4] : (o = n("text-lg font-semibold", i), r[3] = i, r[4] = o);
|
|
155
156
|
let s;
|
|
156
|
-
return r[5] !== a || r[6] !== t || r[7] !== o ? (s = /* @__PURE__ */ (0, T.jsx)(
|
|
157
|
+
return r[5] !== a || r[6] !== t || r[7] !== o ? (s = /* @__PURE__ */ (0, T.jsx)(N, {
|
|
157
158
|
ref: t,
|
|
158
159
|
className: o,
|
|
159
160
|
...a
|
|
160
161
|
}), r[5] = a, r[6] = t, r[7] = o, r[8] = s) : s = r[8], s;
|
|
161
162
|
});
|
|
162
|
-
W.displayName =
|
|
163
|
+
W.displayName = N.displayName;
|
|
163
164
|
var G = w.forwardRef((e, t) => {
|
|
164
165
|
let r = (0, L.c)(9), i, a;
|
|
165
166
|
r[0] === e ? (i = r[1], a = r[2]) : ({className: i, ...a} = e, r[0] = e, r[1] = i, r[2] = a);
|
|
166
167
|
let o;
|
|
167
168
|
r[3] === i ? o = r[4] : (o = n("text-muted-foreground", i), r[3] = i, r[4] = o);
|
|
168
169
|
let s;
|
|
169
|
-
return r[5] !== a || r[6] !== t || r[7] !== o ? (s = /* @__PURE__ */ (0, T.jsx)(
|
|
170
|
+
return r[5] !== a || r[6] !== t || r[7] !== o ? (s = /* @__PURE__ */ (0, T.jsx)(P, {
|
|
170
171
|
ref: t,
|
|
171
172
|
className: o,
|
|
172
173
|
...a
|
|
173
174
|
}), r[5] = a, r[6] = t, r[7] = o, r[8] = s) : s = r[8], s;
|
|
174
175
|
});
|
|
175
|
-
G.displayName =
|
|
176
|
+
G.displayName = P.displayName;
|
|
176
177
|
var K = w.forwardRef((e, t) => {
|
|
177
178
|
let i = (0, L.c)(9), a, o;
|
|
178
179
|
i[0] === e ? (a = i[1], o = i[2]) : ({className: a, ...o} = e, i[0] = e, i[1] = a, i[2] = o);
|
|
179
180
|
let s;
|
|
180
181
|
i[3] === a ? s = i[4] : (s = n(r(), a), i[3] = a, i[4] = s);
|
|
181
182
|
let c;
|
|
182
|
-
return i[5] !== o || i[6] !== t || i[7] !== s ? (c = /* @__PURE__ */ (0, T.jsx)(
|
|
183
|
+
return i[5] !== o || i[6] !== t || i[7] !== s ? (c = /* @__PURE__ */ (0, T.jsx)(F, {
|
|
183
184
|
ref: t,
|
|
184
185
|
className: s,
|
|
185
186
|
...o
|
|
186
187
|
}), i[5] = o, i[6] = t, i[7] = s, i[8] = c) : c = i[8], c;
|
|
187
188
|
});
|
|
188
|
-
K.displayName =
|
|
189
|
+
K.displayName = F.displayName;
|
|
189
190
|
var q = w.forwardRef((e, t) => {
|
|
190
191
|
let i = (0, L.c)(9), a, o;
|
|
191
192
|
i[0] === e ? (a = i[1], o = i[2]) : ({className: a, ...o} = e, i[0] = e, i[1] = a, i[2] = o);
|
|
192
193
|
let s;
|
|
193
194
|
i[3] === a ? s = i[4] : (s = n(r({ variant: "destructive" }), a), i[3] = a, i[4] = s);
|
|
194
195
|
let c;
|
|
195
|
-
return i[5] !== o || i[6] !== t || i[7] !== s ? (c = /* @__PURE__ */ (0, T.jsx)(
|
|
196
|
+
return i[5] !== o || i[6] !== t || i[7] !== s ? (c = /* @__PURE__ */ (0, T.jsx)(F, {
|
|
196
197
|
ref: t,
|
|
197
198
|
className: s,
|
|
198
199
|
...o
|
|
@@ -214,7 +215,7 @@ var J = w.forwardRef((e, t) => {
|
|
|
214
215
|
J.displayName = I.displayName;
|
|
215
216
|
//#endregion
|
|
216
217
|
//#region src/utils/errors.ts
|
|
217
|
-
var Y =
|
|
218
|
+
var Y = C({ detail: S() }), X = C({ error: S() });
|
|
218
219
|
function Z(e) {
|
|
219
220
|
if (!e) return "Unknown error";
|
|
220
221
|
if (e instanceof Error) {
|