@marimo-team/islands 0.23.9-dev4 → 0.23.9-dev40
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-OzrfMM5L.js → ConnectedDataExplorerComponent-CyV83R2m.js} +4 -4
- package/dist/assets/__vite-browser-external-Ci2ZQfXU.js +1 -0
- package/dist/assets/{worker-CpBbwbQo.js → worker-ip3AI_sN.js} +2 -2
- package/dist/{chat-ui-BDI3FMI8.js → chat-ui-ChD4VvCo.js} +3060 -3033
- package/dist/{code-visibility-VZebNmSs.js → code-visibility-CajOShec.js} +1634 -1314
- package/dist/{formats-DQ5qjo_Q.js → formats-DHxc-FdY.js} +1 -1
- package/dist/{glide-data-editor-DqRY9naW.js → glide-data-editor-BOmK9ETQ.js} +2 -2
- package/dist/{html-to-image-CiSinpSR.js → html-to-image-BHv7CEU_.js} +2145 -2153
- package/dist/{input-CZD2z6X2.js → input-_2sjvfne.js} +1 -1
- package/dist/main.js +1522 -1556
- package/dist/{mermaid-IU93XzmY.js → mermaid-lXOw5Py9.js} +2 -2
- package/dist/{process-output-5qJjMRKh.js → process-output-BvySRgli.js} +33 -25
- package/dist/{reveal-component-DZtPMEoM.js → reveal-component-B-fRdTqs.js} +17 -17
- package/dist/{spec-a6DaqW__.js → spec-B96zNUEA.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{toDate-ZVVIBmdk.js → toDate-x-WRDCH7.js} +1 -1
- package/dist/{useAsyncData-C008zUPi.js → useAsyncData-iRgKDT5s.js} +1 -1
- package/dist/{useDeepCompareMemoize-BrA3_n61.js → useDeepCompareMemoize-CkQ57VS2.js} +1 -1
- package/dist/{useLifecycle-BNaoJ5a4.js → useLifecycle-BBO9PIph.js} +1 -1
- package/dist/{useTheme-7O0YWlE5.js → useTheme-DHIrRQOe.js} +34 -21
- package/dist/{vega-component-DJNmOdUj.js → vega-component-Dq-SH463.js} +5 -5
- package/package.json +1 -1
- package/src/components/ai/__tests__/ai-utils.test.ts +43 -38
- package/src/components/ai/ai-model-dropdown.tsx +2 -2
- package/src/components/app-config/ai-config.tsx +147 -16
- package/src/components/app-config/user-config-form.tsx +37 -1
- package/src/components/chat/__tests__/chat-utils.test.ts +269 -0
- package/src/components/chat/chat-panel.tsx +38 -5
- package/src/components/chat/chat-utils.ts +14 -58
- package/src/components/data-table/TableBottomBar.tsx +27 -6
- package/src/components/data-table/TableTopBar.tsx +7 -1
- package/src/components/data-table/__tests__/TableBottomBar.test.tsx +73 -0
- package/src/components/data-table/__tests__/column-explorer.test.tsx +128 -0
- package/src/components/data-table/__tests__/data-table.test.tsx +52 -1
- package/src/components/data-table/__tests__/header-items.test.tsx +257 -1
- package/src/components/data-table/__tests__/useColumnVisibility.test.ts +42 -0
- package/src/components/data-table/column-explorer-panel/column-explorer.tsx +98 -26
- package/src/components/data-table/column-header.tsx +19 -12
- package/src/components/data-table/columns.tsx +3 -4
- package/src/components/data-table/data-table.tsx +37 -0
- package/src/components/data-table/export-actions.tsx +36 -18
- package/src/components/data-table/header-items.tsx +58 -17
- package/src/components/data-table/hooks/use-column-visibility.ts +56 -0
- package/src/components/data-table/pagination.tsx +16 -3
- package/src/components/data-table/schemas.ts +2 -2
- package/src/components/data-table/table-explorer-panel/table-explorer-panel.tsx +16 -6
- package/src/components/databases/display.tsx +2 -0
- package/src/components/datasources/__tests__/utils.test.ts +82 -0
- package/src/components/datasources/utils.ts +16 -15
- package/src/components/editor/actions/pair-with-agent-modal.tsx +1 -0
- package/src/components/editor/actions/useCellActionButton.tsx +3 -3
- package/src/components/editor/actions/useNotebookActions.tsx +5 -2
- package/src/components/editor/cell/code/cell-editor.tsx +7 -4
- package/src/components/editor/chrome/types.ts +13 -6
- package/src/components/editor/chrome/wrapper/app-chrome.tsx +6 -4
- package/src/components/editor/chrome/wrapper/footer-items/ai-status.tsx +10 -1
- package/src/components/editor/chrome/wrapper/sidebar.tsx +7 -5
- package/src/components/editor/errors/auto-fix.tsx +3 -3
- package/src/components/editor/errors/mangled-local-chip.tsx +50 -0
- package/src/components/editor/navigation/__tests__/navigation.test.ts +15 -0
- package/src/components/editor/navigation/navigation.ts +5 -0
- package/src/components/editor/output/MarimoErrorOutput.tsx +110 -27
- package/src/components/editor/output/MarimoTracebackOutput.tsx +55 -37
- package/src/components/editor/renderers/cell-array.tsx +27 -24
- package/src/components/editor/renderers/slides-layout/slides-layout.tsx +1 -1
- package/src/components/slides/reveal-component.tsx +3 -3
- package/src/components/slides/slide-form.tsx +11 -3
- package/src/components/static-html/static-banner.tsx +28 -22
- package/src/core/ai/__tests__/model-registry.test.ts +72 -60
- package/src/core/ai/model-registry.ts +33 -28
- package/src/core/cells/__tests__/actions.test.ts +48 -0
- package/src/core/cells/actions.ts +5 -6
- package/src/core/codemirror/__tests__/setup.test.ts +29 -0
- package/src/core/codemirror/cells/traceback-decorations.ts +1 -1
- package/src/core/codemirror/cm.ts +3 -2
- package/src/core/codemirror/format.ts +1 -0
- package/src/core/codemirror/keymaps/vim.ts +63 -0
- package/src/core/codemirror/language/languages/sql/sql.ts +1 -0
- package/src/core/codemirror/language/languages/sql/utils.ts +2 -0
- package/src/core/config/__tests__/config-schema.test.ts +4 -0
- package/src/core/config/config-schema.ts +4 -0
- package/src/core/config/config.ts +16 -0
- package/src/css/app/Cell.css +0 -1
- package/src/plugins/impl/DataTablePlugin.tsx +94 -33
- package/src/plugins/impl/__tests__/DataTablePlugin.test.tsx +1 -0
- package/src/plugins/impl/chat/ChatPlugin.tsx +7 -1
- package/src/plugins/impl/chat/__tests__/chat-ui.test.ts +278 -0
- package/src/plugins/impl/chat/chat-ui.tsx +106 -59
- package/src/plugins/impl/chat/types.ts +5 -0
- package/src/plugins/impl/data-frames/DataFramePlugin.tsx +8 -6
- package/src/stories/dataframe.stories.tsx +1 -0
- package/src/utils/__tests__/json-parser.test.ts +1 -69
- package/src/utils/__tests__/local-variables.test.ts +132 -0
- package/src/utils/json/json-parser.ts +0 -30
- package/src/utils/local-variables.ts +67 -0
- package/dist/assets/__vite-browser-external-CAdMKBac.js +0 -1
|
@@ -7,9 +7,9 @@ import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
|
7
7
|
import "./zod-CoBiJ5v4.js";
|
|
8
8
|
import { n as ErrorBanner } from "./error-banner-5bz0L9hS.js";
|
|
9
9
|
import { t as isEmpty_default } from "./isEmpty-CJJMn-QP.js";
|
|
10
|
-
import { n as useTheme } from "./useTheme-
|
|
10
|
+
import { n as useTheme } from "./useTheme-DHIrRQOe.js";
|
|
11
11
|
import { t as purify } from "./purify.es-H92eMd9-.js";
|
|
12
|
-
import { t as useAsyncData } from "./useAsyncData-
|
|
12
|
+
import { t as useAsyncData } from "./useAsyncData-iRgKDT5s.js";
|
|
13
13
|
import { a as decodeEntities, f as isDetailedError, g as utils_default, h as removeDirectives, i as cleanAndMerge, o as encodeEntities } from "./chunk-S3R3BYOJ-oAe3dEbO.js";
|
|
14
14
|
import { a as setLogLevel, i as log, r as __name, t as select_default } from "./src-Bf2iLOlr.js";
|
|
15
15
|
import { t as package_default } from "./chunk-DR5Q36YT-BflwErH1.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
2
|
import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
|
|
3
|
-
import { it as parseHtmlContent, rt as ansiToPlainText } from "./html-to-image-
|
|
3
|
+
import { it as parseHtmlContent, rt as ansiToPlainText } from "./html-to-image-BHv7CEU_.js";
|
|
4
4
|
import { u as createLucideIcon } from "./dist-C1BYNeCR.js";
|
|
5
5
|
import { t as Strings } from "./strings-Bu3vlb6W.js";
|
|
6
6
|
import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
@@ -11,67 +11,74 @@ var File = createLucideIcon("file", [["path", {
|
|
|
11
11
|
}], ["path", {
|
|
12
12
|
d: "M14 2v5a1 1 0 0 0 1 1h5",
|
|
13
13
|
key: "wfsgrz"
|
|
14
|
+
}]]), Square = createLucideIcon("square", [["rect", {
|
|
15
|
+
width: "18",
|
|
16
|
+
height: "18",
|
|
17
|
+
x: "3",
|
|
18
|
+
y: "3",
|
|
19
|
+
rx: "2",
|
|
20
|
+
key: "afitv7"
|
|
14
21
|
}]]);
|
|
15
22
|
function deserializeBlob(e) {
|
|
16
23
|
var _a;
|
|
17
|
-
let [
|
|
18
|
-
for (let e2 = 0; e2 <
|
|
19
|
-
return new Blob([
|
|
24
|
+
let [v, y] = e.split(",", 2), b = (_a = /^data:(.+);base64$/.exec(v)) == null ? void 0 : _a[1], x = atob(y), S = x.length, C = new Uint8Array(S);
|
|
25
|
+
for (let e2 = 0; e2 < S; e2++) C[e2] = x.charCodeAt(e2);
|
|
26
|
+
return new Blob([C], { type: b });
|
|
20
27
|
}
|
|
21
28
|
function defineCustomEvent(e) {
|
|
22
29
|
return () => ({
|
|
23
30
|
TYPE: e,
|
|
24
|
-
is(
|
|
25
|
-
return
|
|
31
|
+
is(v) {
|
|
32
|
+
return v.type === e;
|
|
26
33
|
},
|
|
27
|
-
create(
|
|
28
|
-
return new CustomEvent(e,
|
|
34
|
+
create(v) {
|
|
35
|
+
return new CustomEvent(e, v);
|
|
29
36
|
}
|
|
30
37
|
});
|
|
31
38
|
}
|
|
32
39
|
const MarimoValueInputEvent = defineCustomEvent("marimo-value-input")(), MarimoValueUpdateEvent = defineCustomEvent("marimo-value-update")(), MarimoValueReadyEvent = defineCustomEvent("marimo-value-ready")(), MarimoIncomingMessageEvent = defineCustomEvent("marimo-incoming-message")();
|
|
33
|
-
function createInputEvent(e,
|
|
40
|
+
function createInputEvent(e, v) {
|
|
34
41
|
return MarimoValueInputEvent.create({
|
|
35
42
|
bubbles: true,
|
|
36
43
|
composed: true,
|
|
37
44
|
detail: {
|
|
38
45
|
value: e,
|
|
39
|
-
element:
|
|
46
|
+
element: v
|
|
40
47
|
}
|
|
41
48
|
});
|
|
42
49
|
}
|
|
43
50
|
var import_compiler_runtime = require_compiler_runtime(), import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1);
|
|
44
51
|
const PythonIcon = (e) => {
|
|
45
|
-
let
|
|
46
|
-
|
|
47
|
-
let
|
|
48
|
-
return
|
|
52
|
+
let v = (0, import_compiler_runtime.c)(4), y, b;
|
|
53
|
+
v[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (y = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("title", { children: "Python Logo" }), b = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M439.8 200.5c-7.7-30.9-22.3-54.2-53.4-54.2h-40.1v47.4c0 36.8-31.2 67.8-66.8 67.8H172.7c-29.2 0-53.4 25-53.4 54.3v101.8c0 29 25.2 46 53.4 54.3 33.8 9.9 66.3 11.7 106.8 0 26.9-7.8 53.4-23.5 53.4-54.3v-40.7H226.2v-13.6h160.2c31.1 0 42.6-21.7 53.4-54.2 11.2-33.5 10.7-65.7 0-108.6zM286.2 404c11.1 0 20.1 9.1 20.1 20.3 0 11.3-9 20.4-20.1 20.4-11 0-20.1-9.2-20.1-20.4.1-11.3 9.1-20.3 20.1-20.3zM167.8 248.1h106.8c29.7 0 53.4-24.5 53.4-54.3V91.9c0-29-24.4-50.7-53.4-55.6-35.8-5.9-74.7-5.6-106.8.1-45.2 8-53.4 24.7-53.4 55.6v40.7h106.9v13.6h-147c-31.1 0-58.3 18.7-66.8 54.2-9.8 40.7-10.2 66.1 0 108.6 7.6 31.6 25.7 54.2 56.8 54.2H101v-48.8c0-35.3 30.5-66.4 66.8-66.4zm-6.7-142.6c-11.1 0-20.1-9.1-20.1-20.3.1-11.3 9-20.4 20.1-20.4 11 0 20.1 9.2 20.1 20.4s-9 20.3-20.1 20.3z" }), v[0] = y, v[1] = b) : (y = v[0], b = v[1]);
|
|
54
|
+
let x;
|
|
55
|
+
return v[2] === e ? x = v[3] : (x = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", {
|
|
49
56
|
xmlns: "http://www.w3.org/2000/svg",
|
|
50
57
|
width: "1em",
|
|
51
58
|
height: "1em",
|
|
52
59
|
fill: "currentColor",
|
|
53
60
|
viewBox: "0 0 448 512",
|
|
54
61
|
...e,
|
|
55
|
-
children: [
|
|
56
|
-
}),
|
|
62
|
+
children: [y, b]
|
|
63
|
+
}), v[2] = e, v[3] = x), x;
|
|
57
64
|
};
|
|
58
65
|
var FILE_READ_CONCURRENCY = 5;
|
|
59
|
-
function blobToString(e,
|
|
60
|
-
return new Promise((
|
|
61
|
-
let
|
|
62
|
-
|
|
66
|
+
function blobToString(e, v) {
|
|
67
|
+
return new Promise((y) => {
|
|
68
|
+
let b = new FileReader();
|
|
69
|
+
b.readAsDataURL(e), b.onload = (e2) => {
|
|
63
70
|
var _a;
|
|
64
71
|
if ((_a = e2.target) == null ? void 0 : _a.result) {
|
|
65
|
-
let
|
|
66
|
-
v
|
|
72
|
+
let b2 = e2.target.result;
|
|
73
|
+
y(v === "base64" ? b2.slice(b2.indexOf(",") + 1) : b2);
|
|
67
74
|
}
|
|
68
75
|
};
|
|
69
76
|
});
|
|
70
77
|
}
|
|
71
78
|
function filesToBase64(e) {
|
|
72
79
|
return mapWithConcurrency(e, FILE_READ_CONCURRENCY, async (e2) => {
|
|
73
|
-
let
|
|
74
|
-
return [e2.name,
|
|
80
|
+
let v = await blobToString(e2, "base64");
|
|
81
|
+
return [e2.name, v];
|
|
75
82
|
});
|
|
76
83
|
}
|
|
77
84
|
function processOutput(e) {
|
|
@@ -80,7 +87,8 @@ function processOutput(e) {
|
|
|
80
87
|
export {
|
|
81
88
|
MarimoIncomingMessageEvent as a,
|
|
82
89
|
MarimoValueUpdateEvent as c,
|
|
83
|
-
|
|
90
|
+
Square as d,
|
|
91
|
+
File as f,
|
|
84
92
|
PythonIcon as i,
|
|
85
93
|
createInputEvent as l,
|
|
86
94
|
blobToString as n,
|
|
@@ -6,17 +6,17 @@ import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
|
6
6
|
import { _ as Logger, g as cn, h as Events, l as useEventListener, t as Button } from "./button-C5K9fIPF.js";
|
|
7
7
|
import { t as require_react } from "./react-DA-nE2FX.js";
|
|
8
8
|
import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
|
|
9
|
-
import { ct as kioskModeAtom } from "./html-to-image-
|
|
9
|
+
import { ct as kioskModeAtom } from "./html-to-image-BHv7CEU_.js";
|
|
10
10
|
import "./chunk-5FQGJX7Z-BNjes6Yx.js";
|
|
11
11
|
import { u as createLucideIcon } from "./dist-C1BYNeCR.js";
|
|
12
|
-
import {
|
|
13
|
-
import { q as useDebouncedCallback } from "./input-
|
|
14
|
-
import "./toDate-
|
|
12
|
+
import { Gt as Expand, J as PanelGroup, Jt as Code, Wt as EyeOff, Y as PanelResizeHandle, a as DEFAULT_SLIDE_TYPE, c as Slide, i as DEFAULT_DECK_TRANSITION, q as Panel, s as SlideSidebar, t as useNotebookCodeAvailable } from "./code-visibility-CajOShec.js";
|
|
13
|
+
import { q as useDebouncedCallback } from "./input-_2sjvfne.js";
|
|
14
|
+
import "./toDate-x-WRDCH7.js";
|
|
15
15
|
import "./react-dom-BTJzcVJ9.js";
|
|
16
16
|
import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
17
17
|
import "./zod-CoBiJ5v4.js";
|
|
18
18
|
import { t as Tooltip } from "./tooltip-C5FYOpQc.js";
|
|
19
|
-
import {
|
|
19
|
+
import { T as useEvent_default, _ as useAtomValue, m as isIslands } from "./useTheme-DHIrRQOe.js";
|
|
20
20
|
import "./dist-DNdhYsgW.js";
|
|
21
21
|
import "./main-Tj_-QTyF.js";
|
|
22
22
|
import "./dist-fQ0ViXGs.js";
|
|
@@ -4662,8 +4662,8 @@ const SlideNotesEditor = (e5) => {
|
|
|
4662
4662
|
className: "flex items-center gap-1.5 px-3 h-8 shrink-0 text-xs font-medium uppercase tracking-wide text-muted-foreground",
|
|
4663
4663
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(StickyNote, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "Speaker notes" })]
|
|
4664
4664
|
}), t[17] = po) : po = t[17];
|
|
4665
|
-
let
|
|
4666
|
-
t[18] !== o || t[19] !== l || t[20] !== lo ? (
|
|
4665
|
+
let ho;
|
|
4666
|
+
t[18] !== o || t[19] !== l || t[20] !== lo ? (ho = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
4667
4667
|
className: "flex-1 min-h-0 p-2",
|
|
4668
4668
|
children: o ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("textarea", {
|
|
4669
4669
|
value: l,
|
|
@@ -4676,14 +4676,14 @@ const SlideNotesEditor = (e5) => {
|
|
|
4676
4676
|
className: "h-full flex items-center justify-center text-xs text-muted-foreground",
|
|
4677
4677
|
children: "Select a slide to add notes."
|
|
4678
4678
|
})
|
|
4679
|
-
}), t[18] = o, t[19] = l, t[20] = lo, t[21] =
|
|
4680
|
-
let
|
|
4681
|
-
return t[22] !== fo || t[23] !==
|
|
4679
|
+
}), t[18] = o, t[19] = l, t[20] = lo, t[21] = ho) : ho = t[21];
|
|
4680
|
+
let go;
|
|
4681
|
+
return t[22] !== fo || t[23] !== ho ? (go = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("section", {
|
|
4682
4682
|
className: fo,
|
|
4683
4683
|
"aria-label": "Speaker notes",
|
|
4684
4684
|
onKeyDown: _temp,
|
|
4685
|
-
children: [po,
|
|
4686
|
-
}), t[22] = fo, t[23] =
|
|
4685
|
+
children: [po, ho]
|
|
4686
|
+
}), t[22] = fo, t[23] = ho, t[24] = go) : go = t[24], go;
|
|
4687
4687
|
};
|
|
4688
4688
|
function _temp(e5) {
|
|
4689
4689
|
return e5.stopPropagation();
|
|
@@ -7223,7 +7223,7 @@ var NotesAside = (e5) => {
|
|
|
7223
7223
|
t[18] === s ? p = t[19] : (p = s && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(NotesAside, { text: s }), t[18] = s, t[19] = p);
|
|
7224
7224
|
let io;
|
|
7225
7225
|
return t[20] !== o || t[21] !== ro || t[22] !== p ? (io = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(o, { children: [ro, p] }), t[20] = o, t[21] = ro, t[22] = p, t[23] = io) : io = t[23], io;
|
|
7226
|
-
}, reveal_component_default = ({ cellsWithOutput: e5, layout: o, setLayout: s, activeIndex: l, onSlideChange:
|
|
7226
|
+
}, reveal_component_default = ({ cellsWithOutput: e5, layout: o, setLayout: s, activeIndex: l, onSlideChange: io, mode: oo, configWidth: uo, isEditable: fo = false }) => {
|
|
7227
7227
|
var _a2, _b2;
|
|
7228
7228
|
let _o = (0, import_react.useRef)(null), vo = (0, import_react.useRef)(null), { width: bo, height: xo } = useSlideDimensions(_o), So = useAtomValue(kioskModeAtom), Co = (0, import_react.useMemo)(() => So ? [] : [ce], [So]), [wo, To] = (0, import_react.useState)(false), Eo = useNotebookCodeAvailable(e5), Do = !isIslands() && Eo, Oo = Do && wo, ko = l == null ? void 0 : e5[l], Ao = ko ?? e5.at(0), jo = (0, import_react.useMemo)(() => composeSlides({
|
|
7229
7229
|
cells: e5,
|
|
@@ -7294,14 +7294,14 @@ var NotesAside = (e5) => {
|
|
|
7294
7294
|
let e6 = vo.current;
|
|
7295
7295
|
if (!e6) return;
|
|
7296
7296
|
let t = resolveActiveCellIndex(Po, e6.getIndices());
|
|
7297
|
-
t != null && (
|
|
7297
|
+
t != null && (io == null ? void 0 : io(t));
|
|
7298
7298
|
}), Uo = useEvent_default((t) => {
|
|
7299
7299
|
if (!Mo || l == null || Events.fromInput(t)) return;
|
|
7300
7300
|
let n = classifyNavKey(t);
|
|
7301
7301
|
if (n === 0) return;
|
|
7302
7302
|
t.preventDefault(), t.stopPropagation();
|
|
7303
7303
|
let i = l + n;
|
|
7304
|
-
i < 0 || i >= e5.length || (
|
|
7304
|
+
i < 0 || i >= e5.length || (io == null ? void 0 : io(i));
|
|
7305
7305
|
}), Wo = useEvent_default(() => {
|
|
7306
7306
|
Ho(), triggerResize(vo.current);
|
|
7307
7307
|
});
|
|
@@ -7318,7 +7318,7 @@ var NotesAside = (e5) => {
|
|
|
7318
7318
|
children: [
|
|
7319
7319
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(b, {
|
|
7320
7320
|
deckRef: vo,
|
|
7321
|
-
className: "aspect-video w-full overflow-hidden border rounded bg-background mo-slides-theme prose-slides",
|
|
7321
|
+
className: "aspect-video w-full overflow-hidden border rounded bg-background mo-slides-theme prose-slides focus:outline-none focus-visible:outline-none",
|
|
7322
7322
|
config: Lo,
|
|
7323
7323
|
onReady: Bo,
|
|
7324
7324
|
onSlideChange: Wo,
|
|
@@ -7400,7 +7400,7 @@ var NotesAside = (e5) => {
|
|
|
7400
7400
|
]
|
|
7401
7401
|
})
|
|
7402
7402
|
});
|
|
7403
|
-
return
|
|
7403
|
+
return oo === "read" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
7404
7404
|
className: "flex-1 min-w-0 flex flex-row gap-3",
|
|
7405
7405
|
children: Go
|
|
7406
7406
|
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { u as createLucideIcon } from "./dist-C1BYNeCR.js";
|
|
2
|
-
import { s as Hash } from "./useLifecycle-
|
|
2
|
+
import { s as Hash } from "./useLifecycle-BBO9PIph.js";
|
|
3
3
|
import { i as Table, o as ChartPie } from "./useDateFormatter-BA4FCquG.js";
|
|
4
4
|
import { S as logNever } from "./strings-Bu3vlb6W.js";
|
|
5
5
|
var AlignCenterVertical = createLucideIcon("align-center-vertical", [
|