@marimo-team/islands 0.25.3-dev273 → 0.25.3-dev279
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-eLHPh6uu.js → ConnectedDataExplorerComponent-CErm132k.js} +25 -26
- package/dist/{ErrorBoundary-DBh-wUT9.js → ErrorBoundary-DmTMuDPR.js} +43 -44
- package/dist/{abnfDiagram-VCTEODGH-hqd0IBtX.js → abnfDiagram-VCTEODGH-d-Qn2fwb.js} +2 -2
- package/dist/{any-language-editor-DnG26QXh.js → any-language-editor-6k6F12Z3.js} +3 -3
- package/dist/{architectureDiagram-5GKGNRK7-BzLAFcc0.js → architectureDiagram-5GKGNRK7-DxragHYv.js} +1 -1
- package/dist/{assertNever-DIU3JJbt.js → assertNever-B-YzWzbL.js} +14 -14
- package/dist/{button-0-RqY1DW.js → button-DZuNnIZO.js} +220 -223
- package/dist/{capabilities-B6yy_CBN.js → capabilities-D9FskwsK.js} +1 -1
- package/dist/{chat-ui-BWIkve2R.js → chat-ui-v1Fdh0NA.js} +332 -333
- package/dist/{check-gUSZbRsl.js → check-XFzZeH-y.js} +1 -1
- package/dist/{chunk-IMKFNOWR-DOeVvuyE.js → chunk-IMKFNOWR-C0x0feFg.js} +1 -1
- package/dist/{chunk-SHT3W25Y-DZoFI8wR.js → chunk-SHT3W25Y-D0ZdASqB.js} +1 -1
- package/dist/{chunk-SVP7TREG-CWu86PSW.js → chunk-SVP7TREG-BHjL96zx.js} +1 -1
- package/dist/{chunk-TICWLB2K-BrM0GoP3.js → chunk-TICWLB2K-CzcrwGfp.js} +1 -1
- package/dist/{classDiagram-ZZMXUADV-DYi4V2bB.js → classDiagram-ZZMXUADV-BTqFAZTP.js} +2 -2
- package/dist/{classDiagram-v2-VYDZK3BY-tN7FIk-m.js → classDiagram-v2-VYDZK3BY-EPXb0Elt.js} +2 -2
- package/dist/{code-visibility-M_dXDGp6.js → code-visibility-Dw4-TXN0.js} +20 -20
- package/dist/{common-DV0fvw_I.js → common-BXMFi4lr.js} +5399 -5397
- package/dist/{config-BsPruWMR.js → config-C8MFHQ2E.js} +23 -22
- package/dist/{copy-icon-C2I8sw4h.js → copy-icon-CtllOdmg.js} +3 -3
- package/dist/{createReducer-DdtT_7ji.js → createReducer-DRqwmaTc.js} +2 -2
- package/dist/{cynefinDiagram-5FMLGOSQ-D5nCnDc-.js → cynefinDiagram-5FMLGOSQ-CBSD344q.js} +1 -1
- package/dist/{dagre-GXQ25YYZ-BHkd7f_i.js → dagre-GXQ25YYZ-JItjh3Ge.js} +1 -1
- package/dist/{data-grid-overlay-editor-Cd1zGKBt.js → data-grid-overlay-editor-hZzwX7Ia.js} +1 -1
- package/dist/{diagram-S7CK7UJ4-D1ALppT2.js → diagram-S7CK7UJ4-CTD9xTVb.js} +1 -1
- package/dist/{diagram-UQ7AKVKN-DLv0b83L.js → diagram-UQ7AKVKN-DTfnFai8.js} +1 -1
- package/dist/{diagram-VX7I27RA-7XJ7J6qg.js → diagram-VX7I27RA-BcSnucV-.js} +1 -1
- package/dist/{diagram-Z3DM3KII-7M7zbHp_.js → diagram-Z3DM3KII-C2ATIE8A.js} +1 -1
- package/dist/{dialog-DzCj1qQv.js → dialog-CaYm5imE.js} +33 -33
- package/dist/{dropdown-menu-CdXE15an.js → dropdown-menu-Bb0bFOIk.js} +149 -149
- package/dist/{ebnfDiagram-PWID7BFC-DHH1qlmV.js → ebnfDiagram-PWID7BFC-B7B9JPxc.js} +2 -2
- package/dist/{erDiagram-RLTQ6QDP-fI_0dGef.js → erDiagram-RLTQ6QDP-v6hDno1O.js} +1 -1
- package/dist/{error-banner-DPc9eIw5.js → error-banner-CHCdHVFB.js} +44 -45
- package/dist/{error-entries-CxN-Nq3V.js → error-entries-C1S-Rmyt.js} +563 -554
- package/dist/{feedback-button-CE2gPi4-.js → feedback-button-6Ui2TDLR.js} +12 -12
- package/dist/{flowDiagram-HODETNUW-Brg9MA6i.js → flowDiagram-HODETNUW-aIFlAtOy.js} +2 -2
- package/dist/{formats-DbSvAPY-.js → formats-PzBQMUnr.js} +3 -3
- package/dist/{glide-data-editor-BycATbgF.js → glide-data-editor-PZNlrSDI.js} +14 -16
- package/dist/{glide-utils-BSw3SSHF.js → glide-utils-BSQr4d90.js} +51 -59
- package/dist/{globals-CW6OvnI5.js → globals-DX6FPZYq.js} +3 -3
- package/dist/{html-to-image-Bc2AvXHG.js → html-to-image-CqGUd58T.js} +14529 -14531
- package/dist/{infoDiagram-27XIBGKW-E9e403YT.js → infoDiagram-27XIBGKW-D6YHLeCP.js} +1 -1
- package/dist/{ishikawaDiagram-5VMMS53U-C-RlYDRo.js → ishikawaDiagram-5VMMS53U-D1ZvprOX.js} +1 -1
- package/dist/{kanban-definition-UXKFOSKX-CLFl_uqK.js → kanban-definition-UXKFOSKX-Bna_3BMr.js} +1 -1
- package/dist/{loader-BVEtQ4F3.js → loader-DZvtzQoD.js} +1 -1
- package/dist/main.js +7357 -7361
- package/dist/{mermaid-rd09e1JL.js → mermaid-A36unKXJ.js} +50 -50
- package/dist/{mindmap-definition-YA3MSWOX-BQ8TWtyB.js → mindmap-definition-YA3MSWOX-CyVCs__G.js} +1 -1
- package/dist/{number-overlay-editor-B_rR-LdM.js → number-overlay-editor-D0CsL3_R.js} +1 -1
- package/dist/{pegDiagram-XKGWAZYB-CN8UHFPi.js → pegDiagram-XKGWAZYB-9hNBD2wZ.js} +2 -2
- package/dist/{pencil-DcT8AE0h.js → pencil-DYUlSKxZ.js} +1 -1
- package/dist/{pieDiagram-E7YTZNPT-DGuJ0EBd.js → pieDiagram-E7YTZNPT-8tr-NYo7.js} +1 -1
- package/dist/{process-output-qecD7Dk8.js → process-output-DskX9jLa.js} +4 -4
- package/dist/{railroadDiagram-O6MQD6OU-BPDA8wy8.js → railroadDiagram-O6MQD6OU-Dzg1dyyp.js} +2 -2
- package/dist/{requirementDiagram-BXWQKSXE-ChzLGbGW.js → requirementDiagram-BXWQKSXE-B7sNqwGG.js} +1 -1
- package/dist/{reveal-component-CngVwOSy.js → reveal-component-D7xeI1QR.js} +1003 -1003
- package/dist/{select-OxgozOC8.js → select-DsoP1qe8.js} +290 -290
- package/dist/{sequenceDiagram-WJ2MYXX4-DFX-bE6O.js → sequenceDiagram-WJ2MYXX4-oP9shbaG.js} +1 -1
- package/dist/{spec-oJn0RhpQ.js → spec-BZMDxAu7.js} +4 -4
- package/dist/{stateDiagram-D77RDMKH-BR7cI3wK.js → stateDiagram-D77RDMKH-CjCv4ogv.js} +2 -2
- package/dist/{stateDiagram-v2-MP3YSRHH-oGqB5UDI.js → stateDiagram-v2-MP3YSRHH-BW9X162a.js} +2 -2
- package/dist/{static-state-CuV6Pc3a.js → static-state-D-Q-Ajaa.js} +8 -8
- package/dist/style.css +1 -1
- package/dist/{swimlanes-42K2YHIH-DwSZl1yC.js → swimlanes-42K2YHIH-Ckfs9Wrn.js} +1 -1
- package/dist/{swimlanesDiagram-VR7AAH4N-BHlcd-Ri.js → swimlanesDiagram-VR7AAH4N-DpTNG9YP.js} +2 -2
- package/dist/{swiper-component-Dvj-goaD.js → swiper-component-DQbK_ZWm.js} +7 -7
- package/dist/{timeline-definition-24CTP7MA-DMmP-G2O.js → timeline-definition-24CTP7MA-BXaBlV6U.js} +1 -1
- package/dist/{toast-DbBHmxmB.js → toast-BhjIy3Tq.js} +158 -158
- package/dist/{tooltip-BfcDQd2j.js → tooltip-DMMiOn2f.js} +64 -64
- package/dist/use-restore-focus-CosX7-gx.js +7568 -0
- package/dist/{useAsyncData-BYIAoMqn.js → useAsyncData-Ci4AvJff.js} +4 -4
- package/dist/{useDateFormatter-ButWkdcK.js → useDateFormatter-CPlava52.js} +2 -2
- package/dist/{useDeepCompareMemoize-Bz0c5GN6.js → useDeepCompareMemoize-NaaWoFlX.js} +1 -1
- package/dist/useEvent-BRH-aCqi.js +19 -0
- package/dist/{useIframeCapabilities-BIolGsF1.js → useIframeCapabilities-BXhDDoCG.js} +1 -1
- package/dist/{useLifecycle-JjxCC7Vu.js → useLifecycle-SniivYmC.js} +2 -2
- package/dist/{vega-component-rxIxAAh9.js → vega-component-DIxaDQNs.js} +40 -40
- package/dist/{vennDiagram-4TSXK5OY-Db8GtH1G.js → vennDiagram-4TSXK5OY-C-hQ4iNJ.js} +1 -1
- package/dist/{wardleyDiagram-VM6X3IG4-DmIiC3FU.js → wardleyDiagram-VM6X3IG4-C2MQ_Umv.js} +1 -1
- package/dist/{xychartDiagram-S5SC5T6Z-DS9OPrNq.js → xychartDiagram-S5SC5T6Z-BtTTBn7Q.js} +1 -1
- package/package.json +1 -1
- package/src/__mocks__/executions.ts +4 -2
- package/src/__mocks__/notebook.ts +0 -2
- package/src/__tests__/CellStatus.test.tsx +6 -6
- package/src/components/editor/__tests__/data-attributes.test.tsx +0 -2
- package/src/components/editor/__tests__/output-persistence.test.tsx +20 -5
- package/src/components/editor/cell/CellStatus.tsx +6 -5
- package/src/components/editor/cell/__tests__/useRunCells.test.tsx +169 -0
- package/src/components/editor/cell/collapse.tsx +3 -4
- package/src/components/editor/cell/useRunCells.ts +32 -3
- package/src/components/editor/errors/__tests__/send-error-report-button.test.tsx +2 -3
- package/src/components/editor/notebook-cell.tsx +23 -37
- package/src/components/editor/renderers/grid-layout/grid-layout.tsx +4 -10
- package/src/components/editor/renderers/slides-layout/__tests__/plugin.test.ts +0 -2
- package/src/components/editor/renderers/vertical-layout/vertical-layout.tsx +8 -5
- package/src/components/slides/minimap.tsx +3 -2
- package/src/components/slides/reveal-component.tsx +3 -2
- package/src/components/slides/slide-cell-view.tsx +8 -8
- package/src/core/cells/__tests__/__snapshots__/cells.test.ts.snap +0 -101
- package/src/core/cells/__tests__/actions.test.ts +0 -1
- package/src/core/cells/__tests__/cell.test.ts +81 -17
- package/src/core/cells/__tests__/cells.test.ts +0 -100
- package/src/core/cells/__tests__/document.test.ts +2 -8
- package/src/core/cells/__tests__/utils.test.ts +93 -24
- package/src/core/cells/actions.ts +0 -1
- package/src/core/cells/cell.ts +37 -14
- package/src/core/cells/cells.ts +10 -99
- package/src/core/cells/document.ts +2 -13
- package/src/core/cells/types.ts +0 -23
- package/src/core/cells/utils.ts +44 -17
- package/src/core/codemirror/cells/extensions.ts +0 -14
- package/src/core/errors/__tests__/error-entries.test.ts +40 -1
- package/src/core/errors/error-entries.ts +2 -3
- package/src/core/executions/__tests__/freshness.test.ts +420 -0
- package/src/core/executions/__tests__/hooks.test.tsx +106 -0
- package/src/core/executions/atoms.ts +22 -0
- package/src/core/executions/freshness.ts +164 -0
- package/src/core/executions/hooks.ts +17 -1
- package/src/core/executions/index.ts +3 -1
- package/src/core/islands/bootstrap.ts +0 -1
- package/src/core/islands/components/__tests__/web-components.test.tsx +63 -0
- package/src/core/islands/components/web-components.tsx +11 -0
- package/src/core/kernel/handlers.ts +0 -4
- package/src/core/session/useNotebookSession.tsx +2 -7
- package/src/css/globals.css +6 -2
- package/src/plugins/impl/DataEditorPlugin.tsx +0 -4
- package/src/plugins/impl/data-editor/__tests__/column-types.test.ts +5 -0
- package/src/plugins/impl/data-editor/__tests__/glide-data-editor.test.tsx +9 -5
- package/src/plugins/impl/data-editor/column-types.ts +3 -0
- package/src/plugins/impl/data-editor/glide-data-editor.tsx +6 -5
- package/src/plugins/impl/data-editor/glide-utils.ts +10 -32
- package/src/plugins/impl/data-editor/types.ts +0 -2
- package/src/stories/cell-status.stories.tsx +12 -14
- package/src/stories/cell.stories.tsx +44 -10
- package/src/stories/layout/vertical/one-column.stories.tsx +0 -10
- package/src/theme/__tests__/islands-theme.test.tsx +276 -0
- package/src/theme/namespace.tsx +4 -3
- package/src/theme/useTheme.ts +71 -41
- package/dist/schemas-CdscWNy_.js +0 -4747
- package/dist/use-restore-focus-CmflVLWJ.js +0 -1672
- package/dist/useTheme-DPLobSFs.js +0 -339
- package/dist/utils-EBklsC5R.js +0 -813
- package/src/components/editor/cell/__tests__/useRunCells.test.ts +0 -45
|
@@ -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-A36unKXJ.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-BHjL96zx.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-A36unKXJ.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,54 +1,53 @@
|
|
|
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, r as a } from "./button-DZuNnIZO.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 {
|
|
7
|
-
import { I as S, N as C } from "./schemas-CdscWNy_.js";
|
|
6
|
+
import { Gt as l, Ht as u, Jt as d, Kt as f, Ut as p, Vt as m, Wt as h, Yt as g, a as _, c as v, dn as y, ot as b, pn as x, qt as S, rt as C, t as ee } from "./use-restore-focus-CosX7-gx.js";
|
|
8
7
|
//#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
|
|
9
|
-
var w = /* @__PURE__ */ e(o(), 1), T = c(),
|
|
8
|
+
var w = /* @__PURE__ */ e(o(), 1), T = c(), te = Object.defineProperty, E = (e, t) => te(e, "name", {
|
|
10
9
|
value: t,
|
|
11
10
|
configurable: !0
|
|
12
|
-
}), [
|
|
13
|
-
let { __scopeAlertDialog: t, ...n } = e, r =
|
|
14
|
-
return /* @__PURE__ */ (0, T.jsx)(
|
|
11
|
+
}), [ne, re] = x("AlertDialog", [g]), D = g(), O = /* @__PURE__ */ E((e) => {
|
|
12
|
+
let { __scopeAlertDialog: t, ...n } = e, r = D(t);
|
|
13
|
+
return /* @__PURE__ */ (0, T.jsx)(m, {
|
|
15
14
|
...r,
|
|
16
15
|
...n,
|
|
17
16
|
modal: !0
|
|
18
17
|
});
|
|
19
18
|
}, "AlertDialog");
|
|
20
|
-
w.forwardRef(/* @__PURE__ */
|
|
21
|
-
let { __scopeAlertDialog: n, ...r } = e, i =
|
|
22
|
-
return /* @__PURE__ */ (0, T.jsx)(
|
|
19
|
+
w.forwardRef(/* @__PURE__ */ E(function(e, t) {
|
|
20
|
+
let { __scopeAlertDialog: n, ...r } = e, i = D(n);
|
|
21
|
+
return /* @__PURE__ */ (0, T.jsx)(d, {
|
|
23
22
|
...i,
|
|
24
23
|
...r,
|
|
25
24
|
ref: t
|
|
26
25
|
});
|
|
27
26
|
}, "AlertDialogTrigger"));
|
|
28
|
-
var k = /* @__PURE__ */
|
|
29
|
-
let { __scopeAlertDialog: t, ...n } = e, r =
|
|
30
|
-
return /* @__PURE__ */ (0, T.jsx)(
|
|
27
|
+
var k = /* @__PURE__ */ E((e) => {
|
|
28
|
+
let { __scopeAlertDialog: t, ...n } = e, r = D(t);
|
|
29
|
+
return /* @__PURE__ */ (0, T.jsx)(f, {
|
|
31
30
|
...r,
|
|
32
31
|
...n
|
|
33
32
|
});
|
|
34
|
-
}, "AlertDialogPortal"), A = w.forwardRef(/* @__PURE__ */
|
|
35
|
-
let { __scopeAlertDialog: n, ...r } = e, i =
|
|
36
|
-
return /* @__PURE__ */ (0, T.jsx)(
|
|
33
|
+
}, "AlertDialogPortal"), A = w.forwardRef(/* @__PURE__ */ E(function(e, t) {
|
|
34
|
+
let { __scopeAlertDialog: n, ...r } = e, i = D(n);
|
|
35
|
+
return /* @__PURE__ */ (0, T.jsx)(l, {
|
|
37
36
|
...i,
|
|
38
37
|
...r,
|
|
39
38
|
ref: t
|
|
40
39
|
});
|
|
41
|
-
}, "AlertDialogOverlay")), [
|
|
42
|
-
let { __scopeAlertDialog: n, children: r, ...a } = e, o =
|
|
43
|
-
return /* @__PURE__ */ (0, T.jsx)(
|
|
40
|
+
}, "AlertDialogOverlay")), [ie, ae] = ne("AlertDialogContent"), j = w.forwardRef(/* @__PURE__ */ E(function(e, t) {
|
|
41
|
+
let { __scopeAlertDialog: n, children: r, ...a } = e, o = D(n), s = w.useRef(null), c = i(t, s), l = w.useRef(null);
|
|
42
|
+
return /* @__PURE__ */ (0, T.jsx)(ie, {
|
|
44
43
|
scope: n,
|
|
45
44
|
cancelRef: l,
|
|
46
|
-
children: /* @__PURE__ */ (0, T.jsx)(
|
|
45
|
+
children: /* @__PURE__ */ (0, T.jsx)(p, {
|
|
47
46
|
role: "alertdialog",
|
|
48
47
|
...o,
|
|
49
48
|
...a,
|
|
50
49
|
ref: c,
|
|
51
|
-
onOpenAutoFocus:
|
|
50
|
+
onOpenAutoFocus: y(a.onOpenAutoFocus, (e) => {
|
|
52
51
|
e.preventDefault(), l.current?.focus({ preventScroll: !0 });
|
|
53
52
|
}),
|
|
54
53
|
onPointerDownOutside: (e) => e.preventDefault(),
|
|
@@ -56,37 +55,37 @@ var k = /* @__PURE__ */ D((e) => {
|
|
|
56
55
|
children: r
|
|
57
56
|
})
|
|
58
57
|
});
|
|
59
|
-
}, "AlertDialogContent")),
|
|
60
|
-
let { __scopeAlertDialog: n, ...r } = e, i =
|
|
61
|
-
return /* @__PURE__ */ (0, T.jsx)(
|
|
58
|
+
}, "AlertDialogContent")), M = w.forwardRef(/* @__PURE__ */ E(function(e, t) {
|
|
59
|
+
let { __scopeAlertDialog: n, ...r } = e, i = D(n);
|
|
60
|
+
return /* @__PURE__ */ (0, T.jsx)(S, {
|
|
62
61
|
...i,
|
|
63
62
|
...r,
|
|
64
63
|
ref: t
|
|
65
64
|
});
|
|
66
|
-
}, "AlertDialogTitle")),
|
|
67
|
-
let { __scopeAlertDialog: n, ...r } = e, i =
|
|
65
|
+
}, "AlertDialogTitle")), N = w.forwardRef(/* @__PURE__ */ E(function(e, t) {
|
|
66
|
+
let { __scopeAlertDialog: n, ...r } = e, i = D(n);
|
|
68
67
|
return /* @__PURE__ */ (0, T.jsx)(h, {
|
|
69
68
|
...i,
|
|
70
69
|
...r,
|
|
71
70
|
ref: t
|
|
72
71
|
});
|
|
73
|
-
}, "AlertDialogDescription")),
|
|
74
|
-
let { __scopeAlertDialog: n, ...r } = e, i =
|
|
75
|
-
return /* @__PURE__ */ (0, T.jsx)(
|
|
72
|
+
}, "AlertDialogDescription")), P = w.forwardRef(/* @__PURE__ */ E(function(e, t) {
|
|
73
|
+
let { __scopeAlertDialog: n, ...r } = e, i = D(n);
|
|
74
|
+
return /* @__PURE__ */ (0, T.jsx)(u, {
|
|
76
75
|
...i,
|
|
77
76
|
...r,
|
|
78
77
|
ref: t
|
|
79
78
|
});
|
|
80
|
-
}, "AlertDialogAction")),
|
|
81
|
-
let { __scopeAlertDialog: n, ...r } = e, { cancelRef: a } =
|
|
82
|
-
return /* @__PURE__ */ (0, T.jsx)(
|
|
79
|
+
}, "AlertDialogAction")), F = "AlertDialogCancel", I = w.forwardRef(/* @__PURE__ */ E(function(e, t) {
|
|
80
|
+
let { __scopeAlertDialog: n, ...r } = e, { cancelRef: a } = ae(F, n), o = D(n), s = i(t, a);
|
|
81
|
+
return /* @__PURE__ */ (0, T.jsx)(u, {
|
|
83
82
|
...o,
|
|
84
83
|
...r,
|
|
85
84
|
ref: s
|
|
86
85
|
});
|
|
87
|
-
}, "AlertDialogCancel")), L = s(), R =
|
|
86
|
+
}, "AlertDialogCancel")), L = s(), R = O, z = _(({ children: e, ...t }) => /* @__PURE__ */ (0, T.jsx)(k, {
|
|
88
87
|
...t,
|
|
89
|
-
children: /* @__PURE__ */ (0, T.jsx)(
|
|
88
|
+
children: /* @__PURE__ */ (0, T.jsx)(v, { children: /* @__PURE__ */ (0, T.jsx)("div", {
|
|
90
89
|
className: "fixed inset-0 z-50 flex items-end justify-center sm:items-start sm:top-[15%]",
|
|
91
90
|
children: e
|
|
92
91
|
}) })
|
|
@@ -111,19 +110,19 @@ B.displayName = A.displayName;
|
|
|
111
110
|
var V = w.forwardRef((e, t) => {
|
|
112
111
|
let r = (0, L.c)(11), i, a;
|
|
113
112
|
r[0] === e ? (i = r[1], a = r[2]) : ({className: i, ...a} = e, r[0] = e, r[1] = i, r[2] = a);
|
|
114
|
-
let o =
|
|
113
|
+
let o = ee(), s;
|
|
115
114
|
r[3] === Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ (0, T.jsx)(B, {}), r[3] = s) : s = r[3];
|
|
116
115
|
let c;
|
|
117
116
|
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);
|
|
118
117
|
let l;
|
|
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)(
|
|
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)(j, {
|
|
120
119
|
ref: t,
|
|
121
120
|
className: c,
|
|
122
121
|
...o,
|
|
123
122
|
...a
|
|
124
123
|
})] }), r[6] = a, r[7] = t, r[8] = o, r[9] = c, r[10] = l) : l = r[10], l;
|
|
125
124
|
});
|
|
126
|
-
V.displayName =
|
|
125
|
+
V.displayName = j.displayName;
|
|
127
126
|
var H = (e) => {
|
|
128
127
|
let t = (0, L.c)(8), r, i;
|
|
129
128
|
t[0] === e ? (r = t[1], i = t[2]) : ({className: r, ...i} = e, t[0] = e, t[1] = r, t[2] = i);
|
|
@@ -154,46 +153,46 @@ var W = w.forwardRef((e, t) => {
|
|
|
154
153
|
let o;
|
|
155
154
|
r[3] === i ? o = r[4] : (o = n("text-lg font-semibold", i), r[3] = i, r[4] = o);
|
|
156
155
|
let s;
|
|
157
|
-
return r[5] !== a || r[6] !== t || r[7] !== o ? (s = /* @__PURE__ */ (0, T.jsx)(
|
|
156
|
+
return r[5] !== a || r[6] !== t || r[7] !== o ? (s = /* @__PURE__ */ (0, T.jsx)(M, {
|
|
158
157
|
ref: t,
|
|
159
158
|
className: o,
|
|
160
159
|
...a
|
|
161
160
|
}), r[5] = a, r[6] = t, r[7] = o, r[8] = s) : s = r[8], s;
|
|
162
161
|
});
|
|
163
|
-
W.displayName =
|
|
162
|
+
W.displayName = M.displayName;
|
|
164
163
|
var G = w.forwardRef((e, t) => {
|
|
165
164
|
let r = (0, L.c)(9), i, a;
|
|
166
165
|
r[0] === e ? (i = r[1], a = r[2]) : ({className: i, ...a} = e, r[0] = e, r[1] = i, r[2] = a);
|
|
167
166
|
let o;
|
|
168
167
|
r[3] === i ? o = r[4] : (o = n("text-muted-foreground", i), r[3] = i, r[4] = o);
|
|
169
168
|
let s;
|
|
170
|
-
return r[5] !== a || r[6] !== t || r[7] !== o ? (s = /* @__PURE__ */ (0, T.jsx)(
|
|
169
|
+
return r[5] !== a || r[6] !== t || r[7] !== o ? (s = /* @__PURE__ */ (0, T.jsx)(N, {
|
|
171
170
|
ref: t,
|
|
172
171
|
className: o,
|
|
173
172
|
...a
|
|
174
173
|
}), r[5] = a, r[6] = t, r[7] = o, r[8] = s) : s = r[8], s;
|
|
175
174
|
});
|
|
176
|
-
G.displayName =
|
|
175
|
+
G.displayName = N.displayName;
|
|
177
176
|
var K = w.forwardRef((e, t) => {
|
|
178
177
|
let i = (0, L.c)(9), a, o;
|
|
179
178
|
i[0] === e ? (a = i[1], o = i[2]) : ({className: a, ...o} = e, i[0] = e, i[1] = a, i[2] = o);
|
|
180
179
|
let s;
|
|
181
180
|
i[3] === a ? s = i[4] : (s = n(r(), a), i[3] = a, i[4] = s);
|
|
182
181
|
let c;
|
|
183
|
-
return i[5] !== o || i[6] !== t || i[7] !== s ? (c = /* @__PURE__ */ (0, T.jsx)(
|
|
182
|
+
return i[5] !== o || i[6] !== t || i[7] !== s ? (c = /* @__PURE__ */ (0, T.jsx)(P, {
|
|
184
183
|
ref: t,
|
|
185
184
|
className: s,
|
|
186
185
|
...o
|
|
187
186
|
}), i[5] = o, i[6] = t, i[7] = s, i[8] = c) : c = i[8], c;
|
|
188
187
|
});
|
|
189
|
-
K.displayName =
|
|
188
|
+
K.displayName = P.displayName;
|
|
190
189
|
var q = w.forwardRef((e, t) => {
|
|
191
190
|
let i = (0, L.c)(9), a, o;
|
|
192
191
|
i[0] === e ? (a = i[1], o = i[2]) : ({className: a, ...o} = e, i[0] = e, i[1] = a, i[2] = o);
|
|
193
192
|
let s;
|
|
194
193
|
i[3] === a ? s = i[4] : (s = n(r({ variant: "destructive" }), a), i[3] = a, i[4] = s);
|
|
195
194
|
let c;
|
|
196
|
-
return i[5] !== o || i[6] !== t || i[7] !== s ? (c = /* @__PURE__ */ (0, T.jsx)(
|
|
195
|
+
return i[5] !== o || i[6] !== t || i[7] !== s ? (c = /* @__PURE__ */ (0, T.jsx)(P, {
|
|
197
196
|
ref: t,
|
|
198
197
|
className: s,
|
|
199
198
|
...o
|
|
@@ -215,7 +214,7 @@ var J = w.forwardRef((e, t) => {
|
|
|
215
214
|
J.displayName = I.displayName;
|
|
216
215
|
//#endregion
|
|
217
216
|
//#region src/utils/errors.ts
|
|
218
|
-
var Y = C({ detail:
|
|
217
|
+
var Y = C({ detail: b() }), X = C({ error: b() });
|
|
219
218
|
function Z(e) {
|
|
220
219
|
if (!e) return "Unknown error";
|
|
221
220
|
if (e instanceof Error) {
|