@marimo-team/islands 0.23.14-dev5 → 0.23.14-dev7
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-Du3_nUzI.js → ConnectedDataExplorerComponent-DXBx_nQg.js} +4 -4
- package/dist/{chat-ui-BZxLHwyD.js → chat-ui-DYBcNEdd.js} +81 -81
- package/dist/{code-visibility-rxZi4Phe.js → code-visibility-AEdE3uR_.js} +1030 -837
- package/dist/{formats-d6MhLuQ9.js → formats-WsOgyW_K.js} +1 -1
- package/dist/{glide-data-editor-DkzAInWG.js → glide-data-editor-qpmKyAPn.js} +2 -2
- package/dist/{html-to-image-CGp_08St.js → html-to-image-MqcD07Bw.js} +73 -72
- package/dist/{input-CbEz_aj_.js → input-BSdZp5Ng.js} +1 -1
- package/dist/main.js +254 -254
- package/dist/{mermaid-CJW9vIyO.js → mermaid-D-HYBMEV.js} +2 -2
- package/dist/{process-output-R6JsYrv3.js → process-output-Dt3icftd.js} +1 -1
- package/dist/{reveal-component-sEb3Wd1x.js → reveal-component-C1Y6sY7N.js} +5 -5
- package/dist/{spec-Bv-XlYiv.js → spec-CnTgI25l.js} +1 -1
- package/dist/{toDate-D-l5s8nn.js → toDate-D1Z7ZXWh.js} +1 -1
- package/dist/{useAsyncData-1Dhzjfwf.js → useAsyncData-BMc8itk2.js} +1 -1
- package/dist/{useDeepCompareMemoize-CDWT3BDz.js → useDeepCompareMemoize-ZwmDBRDY.js} +1 -1
- package/dist/{useLifecycle-AHlswLw-.js → useLifecycle-CxffarYV.js} +1 -1
- package/dist/{useTheme-BrYvK-_A.js → useTheme-yGsGEk82.js} +26 -24
- package/dist/{vega-component-Pk6lyc_a.js → vega-component-BFJTyykA.js} +5 -5
- package/package.json +1 -1
- package/src/components/chat/acp/agent-panel.tsx +35 -1
- package/src/components/chat/chat-panel.tsx +68 -29
- package/src/components/editor/chrome/wrapper/__tests__/useOpenAiAssistant.test.ts +36 -0
- package/src/components/editor/chrome/wrapper/useAiPanel.ts +3 -1
- package/src/components/editor/chrome/wrapper/useOpenAiAssistant.ts +88 -0
- package/src/components/editor/errors/__tests__/auto-fix.test.ts +119 -0
- package/src/components/editor/errors/auto-fix.tsx +108 -34
- package/src/components/editor/errors/fix-mode.ts +1 -1
- package/src/components/editor/output/MarimoTracebackOutput.tsx +10 -1
- package/src/components/editor/output/__tests__/traceback.test.tsx +14 -6
- package/src/core/ai/config.ts +2 -2
- package/src/core/ai/state.ts +11 -0
- package/src/core/codemirror/utils.ts +15 -0
package/dist/main.js
CHANGED
|
@@ -22,17 +22,17 @@ import { _ as Logger, c as Objects, g as cn, h as Events, i as NOT_SET, l as use
|
|
|
22
22
|
import { t as require_react } from "./react-DA-nE2FX.js";
|
|
23
23
|
import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
|
|
24
24
|
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-COam1EG7.js";
|
|
25
|
-
import { $ as reducer, B as safeExtractSetUIElementMessageBuffers,
|
|
25
|
+
import { $ as reducer, B as safeExtractSetUIElementMessageBuffers, Bt as PluralWords, C as AccordionContent, Cn as Item$1, Ct as Checkbox, Dn as Trash2, Dt as PathBuilder, E as BorderAllIcon, F as base64ToDataView, Fn as FileText, Ft as repl, H as getMarimoExportContext, Hn as Braces, In as Eye, J as getCellNames, Jt as getRequestClient, K as createActions, L as dataViewToBase64, Lt as jotaiJsonStorage, Mn as LoaderCircle, Mt as generateUUID, Nn as Layers, On as Table2, Ot as Paths, Pn as Info, Q as numColumnsAtom, Rn as Database, S as Accordion, Sn as Content2, St as normalizeName, T as AccordionTrigger, Tn as Trigger2, Tt as MarkdownLanguageAdapter, U as hasTrustedExportContext, Ut as require_client, V as renderHTML, Vn as CircleAlert, Vt as DATA_TYPE_ICON, W as hasRunAnyCellAtom, X as notebookAtom, Xt as useRequestClient, Y as hasOnlyOneCellAtom, Yt as requestClientAtom, Z as notebookOutline, Zt as isUninstantiated, _n as atomWithReducer, a as useCellFocusActions, an as parseAttrValue, bt as getValidName, ct as initialModeAtom, dn as UIElementId, et as useCellActions, f as isOutputEmpty, fn as findCellId, ft as outputIsLoading, hn as jsonParseWithSpecialChar, ht as headingToIdentifier, i as LazyAnyLanguageCodeMirror, jt as DeferredRequestRegistry, k as ChevronDownIcon, kn as PaintRoller, ln as HTMLCellId, lt as kioskModeAtom, mn as RANDOM_ID_ATTR, mt as isErrorMime, n as Spinner, nn as NotebookScopedLocalStorage, o as useLastFocusedCellId, on as parseDataset, p as useExpandedConsoleOutput, pn as OBJECT_ID_ATTR, pt as outputIsStale, qt as convertStatsName, rt as createCell, s as maybeAddAltairImport, sn as parseInitialValue, st as getInitialAppMode, tt as useCellIds, vn as atomWithStorage, w as AccordionItem, wn as Root2$1, wt as customPythonLanguageSupport, xt as isInternalCellName, yn as selectAtom, zn as Columns2, __tla as __tla_0 } from "./html-to-image-MqcD07Bw.js";
|
|
26
26
|
import { __tla as __tla_1 } from "./chunk-5FQGJX7Z-BbqSm5gU.js";
|
|
27
27
|
import { o as useSize, s as Root$1, u as createLucideIcon } from "./dist--2Bqjvs0.js";
|
|
28
|
-
import { A as SquareFunction, C as DEFAULT_COLOR_SCHEME, D as SCALE_TYPE_DESCRIPTIONS, E as EMPTY_VALUE$1, O as TIME_UNIT_DESCRIPTIONS, S as DEFAULT_AGGREGATION, T as DEFAULT_TIME_UNIT, _ as AGGREGATION_TYPE_DESCRIPTIONS, a as AGGREGATION_FNS$1, b as COLOR_SCHEMES, c as COLOR_BY_FIELDS, d as NONE_VALUE, f as SELECTABLE_DATA_TYPES, g as TIME_UNITS, h as STRING_AGGREGATION_FNS, i as convertDataTypeToSelectable, j as ChartColumn, k as escapeFieldName, l as COMBINED_TIME_UNITS, m as SORT_TYPES, n as createSpecWithoutData, o as BIN_AGGREGATION, p as SINGLE_TIME_UNITS, r as isFieldSet, s as CHART_TYPES, t as augmentSpecWithData, u as ChartType, v as AGGREGATION_TYPE_ICON, w as DEFAULT_MAX_BINS_FACET, x as COUNT_FIELD, y as CHART_TYPE_ICON } from "./spec-
|
|
29
|
-
import { $ as contextAwarePanelOpen, $t as EmotionCacheProvider, A as prettifyRowCount, At as SELECT_COLUMN_ID, B as DatePicker, Bt as dateToLocalISOTime, C as downloadSizeLimitAtom, Ct as DelayMount, D as ErrorState, Dt as loadTableAndRawData, E as EmptyState, Et as getPageIndexForRow, F as ContextMenuSeparator, Ft as isRecord, G as CommandEmpty, Gt as ChartErrorState, H as Combobox, Ht as TabsContent, I as ContextMenuTrigger, It as isNullishFilter, J as CommandList, Jt as LazyVegaEmbed, K as CommandInput, Kt as ChartInfoState, L as useInternalStateWithSync, Lt as Maps, M as ContextMenu, Mt as toFieldTypes, N as ContextMenuContent, Nt as getMimeValues, O as LoadingState, Ot as loadTableData, P as ContextMenuItem, Pt as hasFunctionProperty, Q as PANEL_TYPES, Qt as HtmlOutput, R as useSelectList, Rt as dateToLocalISODate, S as Filenames, St as ColumnChartSpecModel, T as ColumnPreviewContainer, Tt as usePrevious$1, U as ComboboxItem, Ut as TabsList, V as DateRangePicker, Vt as Tabs, W as Command, Wt as TabsTrigger, X as smartMatch, Xt as RenderTextWithLinks, Y as CommandSeparator, Yt as useOverflowDetection, Z as ContextAwarePanelItem, Zt as Kbd, _ as ADD_PRINTING_CLASS, _t as NAMELESS_COLUMN_PREFIX, an as EyeOff, at as Toggle, b as downloadHTMLAsImage, bt as renderCellValue, c as Slide, cn as Download, d as RadioGroupItem, dn as ChevronsRight, dt as Table, en as $fae977aafc393c5c$export$588937bcd60ade55, et as contextAwarePanelOwner, f as JsonOutput, fn as ChevronsLeft, ft as TableBody, g as InstallPackageButton, gt as TableRow, h as DataTable, hn as ArrowDownWideNarrow, ht as TableHeader, in as Funnel, it as slotsController, j as getColumnCountForDisplay, jt as TOO_MANY_ROWS, k as prettifyRowColumnCount, kt as INDEX_COLUMN_NAME, l as Switch, ln as Code, lt as Fill, m as OutputRenderer, mn as ChevronLeft, mt as TableHead, n as marimoVersionAtom, nn as TextWrap, nt as isCellAwareAtom, o as SLIDE_TYPE_OPTIONS_BY_VALUE, p as OutputArea, pn as ChevronsDownUp, pt as TableCell, q as CommandItem, qt as ChartLoadingState, r as showCodeInRunModeAtom, rn as GripHorizontal, rt as SlotNames, sn as Ellipsis, t as useNotebookCodeAvailable, tn as $fae977aafc393c5c$export$6b862160d295c8e, tt as contextAwarePanelType, u as RadioGroup, un as ChevronsUpDown, ut as Provider$1, v as downloadBlob, vt as generateColumns, w as ColumnName, wt as useIntersectionObserver, x as Progress, xt as ColumnChartContext, y as downloadByURL, yt as inferFieldTypes, z as CompactChipRow, zt as dateToLocalISODateTime, __tla as __tla_2 } from "./code-visibility-
|
|
30
|
-
import { c as Calendar, i as createReducerAndAtoms, n as useOnUnmount, o as ToggleLeft, t as useOnMount } from "./useLifecycle-
|
|
28
|
+
import { A as SquareFunction, C as DEFAULT_COLOR_SCHEME, D as SCALE_TYPE_DESCRIPTIONS, E as EMPTY_VALUE$1, O as TIME_UNIT_DESCRIPTIONS, S as DEFAULT_AGGREGATION, T as DEFAULT_TIME_UNIT, _ as AGGREGATION_TYPE_DESCRIPTIONS, a as AGGREGATION_FNS$1, b as COLOR_SCHEMES, c as COLOR_BY_FIELDS, d as NONE_VALUE, f as SELECTABLE_DATA_TYPES, g as TIME_UNITS, h as STRING_AGGREGATION_FNS, i as convertDataTypeToSelectable, j as ChartColumn, k as escapeFieldName, l as COMBINED_TIME_UNITS, m as SORT_TYPES, n as createSpecWithoutData, o as BIN_AGGREGATION, p as SINGLE_TIME_UNITS, r as isFieldSet, s as CHART_TYPES, t as augmentSpecWithData, u as ChartType, v as AGGREGATION_TYPE_ICON, w as DEFAULT_MAX_BINS_FACET, x as COUNT_FIELD, y as CHART_TYPE_ICON } from "./spec-CnTgI25l.js";
|
|
29
|
+
import { $ as contextAwarePanelOpen, $t as EmotionCacheProvider, A as prettifyRowCount, At as SELECT_COLUMN_ID, B as DatePicker, Bt as dateToLocalISOTime, C as downloadSizeLimitAtom, Ct as DelayMount, D as ErrorState, Dt as loadTableAndRawData, E as EmptyState, Et as getPageIndexForRow, F as ContextMenuSeparator, Ft as isRecord, G as CommandEmpty, Gt as ChartErrorState, H as Combobox, Ht as TabsContent, I as ContextMenuTrigger, It as isNullishFilter, J as CommandList, Jt as LazyVegaEmbed, K as CommandInput, Kt as ChartInfoState, L as useInternalStateWithSync, Lt as Maps, M as ContextMenu, Mt as toFieldTypes, N as ContextMenuContent, Nt as getMimeValues, O as LoadingState, Ot as loadTableData, P as ContextMenuItem, Pt as hasFunctionProperty, Q as PANEL_TYPES, Qt as HtmlOutput, R as useSelectList, Rt as dateToLocalISODate, S as Filenames, St as ColumnChartSpecModel, T as ColumnPreviewContainer, Tt as usePrevious$1, U as ComboboxItem, Ut as TabsList, V as DateRangePicker, Vt as Tabs, W as Command, Wt as TabsTrigger, X as smartMatch, Xt as RenderTextWithLinks, Y as CommandSeparator, Yt as useOverflowDetection, Z as ContextAwarePanelItem, Zt as Kbd, _ as ADD_PRINTING_CLASS, _t as NAMELESS_COLUMN_PREFIX, an as EyeOff, at as Toggle, b as downloadHTMLAsImage, bt as renderCellValue, c as Slide, cn as Download, d as RadioGroupItem, dn as ChevronsRight, dt as Table, en as $fae977aafc393c5c$export$588937bcd60ade55, et as contextAwarePanelOwner, f as JsonOutput, fn as ChevronsLeft, ft as TableBody, g as InstallPackageButton, gt as TableRow, h as DataTable, hn as ArrowDownWideNarrow, ht as TableHeader, in as Funnel, it as slotsController, j as getColumnCountForDisplay, jt as TOO_MANY_ROWS, k as prettifyRowColumnCount, kt as INDEX_COLUMN_NAME, l as Switch, ln as Code, lt as Fill, m as OutputRenderer, mn as ChevronLeft, mt as TableHead, n as marimoVersionAtom, nn as TextWrap, nt as isCellAwareAtom, o as SLIDE_TYPE_OPTIONS_BY_VALUE, p as OutputArea, pn as ChevronsDownUp, pt as TableCell, q as CommandItem, qt as ChartLoadingState, r as showCodeInRunModeAtom, rn as GripHorizontal, rt as SlotNames, sn as Ellipsis, t as useNotebookCodeAvailable, tn as $fae977aafc393c5c$export$6b862160d295c8e, tt as contextAwarePanelType, u as RadioGroup, un as ChevronsUpDown, ut as Provider$1, v as downloadBlob, vt as generateColumns, w as ColumnName, wt as useIntersectionObserver, x as Progress, xt as ColumnChartContext, y as downloadByURL, yt as inferFieldTypes, z as CompactChipRow, zt as dateToLocalISODateTime, __tla as __tla_2 } from "./code-visibility-AEdE3uR_.js";
|
|
30
|
+
import { c as Calendar, i as createReducerAndAtoms, n as useOnUnmount, o as ToggleLeft, t as useOnMount } from "./useLifecycle-CxffarYV.js";
|
|
31
31
|
import { t as Check } from "./check-C9OoNtR4.js";
|
|
32
32
|
import { A as Icon, C as logNever, D as $18f2051aff69b9bf$export$a54013f0d02a8f82, E as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, F as createCollection, I as X, M as clamp$2, N as usePrevious$2, P as useDirection, R as ChevronDown, S as assertNever, a as SelectGroup, c as SelectSeparator, d as NativeSelect, i as SelectContent, j as Trigger$1, l as SelectTrigger, n as capitalize, o as SelectItem, r as Select, s as SelectLabel, t as Strings, u as SelectValue, w as $a916eb452884faea$export$b7a616150fdb9f44 } from "./strings-Dq_j3Rxw.js";
|
|
33
|
-
import { B as $64fa3d84918910a7$export$4d86445c2cf5e3, C as DropdownMenuTrigger, Ft as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, It as $3ef42575df84b30b$export$9d1611c77c2fe928, W as $64fa3d84918910a7$export$df3a06d6289f983e, Wt as $ff5963eb1fccf552$export$e08e3b67e392101e, X as useDebouncedCallback, Y as useDebounceControlledState, a as NumberField, d as roundToFractionDigits, f as DropdownMenu, g as DropdownMenuLabel, gn as ChevronRight, h as DropdownMenuItem, hn as Circle, i as OnBlurredInput, l as prettyNumber, m as DropdownMenuGroup, n as DebouncedNumberInput, o as maxFractionDigitsForSteps, ot as $f7dceffc5ad7768b$export$4e328f61c538687f, p as DropdownMenuContent, pt as $6179b936705e76d3$export$ae780daf29e6d456, r as Input, st as $701a24aa0da5b062$export$ea18c227d4417cc3, t as DebouncedInput, u as prettyScientificNumber, v as DropdownMenuSeparator, xt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, y as DropdownMenuShortcut, z as $64fa3d84918910a7$export$29f1550f4b0d4415 } from "./input-
|
|
34
|
-
import { _ as isWasm, c as asRemoteURL, d as isStaticNotebook, f as appendQueryParams, g as Deferred, m as require_cuid2, u as getStaticVirtualFiles, v as CircleQuestionMark } from "./toDate-
|
|
35
|
-
import { a as MarimoIncomingMessageEvent, c as MarimoValueUpdateEvent, d as Square, f as File, i as PythonIcon, l as createInputEvent, n as blobToString, o as MarimoValueInputEvent, r as filesToBase64, s as MarimoValueReadyEvent, t as processOutput, u as deserializeBlob } from "./process-output-
|
|
33
|
+
import { B as $64fa3d84918910a7$export$4d86445c2cf5e3, C as DropdownMenuTrigger, Ft as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, It as $3ef42575df84b30b$export$9d1611c77c2fe928, W as $64fa3d84918910a7$export$df3a06d6289f983e, Wt as $ff5963eb1fccf552$export$e08e3b67e392101e, X as useDebouncedCallback, Y as useDebounceControlledState, a as NumberField, d as roundToFractionDigits, f as DropdownMenu, g as DropdownMenuLabel, gn as ChevronRight, h as DropdownMenuItem, hn as Circle, i as OnBlurredInput, l as prettyNumber, m as DropdownMenuGroup, n as DebouncedNumberInput, o as maxFractionDigitsForSteps, ot as $f7dceffc5ad7768b$export$4e328f61c538687f, p as DropdownMenuContent, pt as $6179b936705e76d3$export$ae780daf29e6d456, r as Input, st as $701a24aa0da5b062$export$ea18c227d4417cc3, t as DebouncedInput, u as prettyScientificNumber, v as DropdownMenuSeparator, xt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, y as DropdownMenuShortcut, z as $64fa3d84918910a7$export$29f1550f4b0d4415 } from "./input-BSdZp5Ng.js";
|
|
34
|
+
import { _ as isWasm, c as asRemoteURL, d as isStaticNotebook, f as appendQueryParams, g as Deferred, m as require_cuid2, u as getStaticVirtualFiles, v as CircleQuestionMark } from "./toDate-D1Z7ZXWh.js";
|
|
35
|
+
import { a as MarimoIncomingMessageEvent, c as MarimoValueUpdateEvent, d as Square, f as File, i as PythonIcon, l as createInputEvent, n as blobToString, o as MarimoValueInputEvent, r as filesToBase64, s as MarimoValueReadyEvent, t as processOutput, u as deserializeBlob } from "./process-output-Dt3icftd.js";
|
|
36
36
|
import { n as Trash, r as Pencil, t as BulkEdit } from "./types-C2Ir191_.js";
|
|
37
37
|
import { n as require_prop_types, r as Plus, t as ErrorBoundary } from "./ErrorBoundary-DE6tzZf-.js";
|
|
38
38
|
import { t as require_react_dom } from "./react-dom-BTJzcVJ9.js";
|
|
@@ -45,7 +45,7 @@ import { f as CopyClipboardIcon } from "./extends-9MVIxxRo.js";
|
|
|
45
45
|
import { a as get_default } from "./hasIn-Deg7jl_j.js";
|
|
46
46
|
import { n as _baseSet_default, t as pick_default } from "./pick-D1Qo8s2C.js";
|
|
47
47
|
import { i as debounce_default, r as KnownQueryParams, t as CSSClasses } from "./constants-T20xxyNf.js";
|
|
48
|
-
import {
|
|
48
|
+
import { D as useEvent_default, E as dequal, S as atom, _ as Provider, a as autoInstantiateAtom, d as AppConfigSchema, g as isIslands, l as useResolvedMarimoConfig, n as useTheme, p as store, s as localeAtom, v as useAtom, y as useAtomValue } from "./useTheme-yGsGEk82.js";
|
|
49
49
|
import { $ as EditorView } from "./dist-U4F-tbMs.js";
|
|
50
50
|
import { t as invariant } from "./invariant-wRzNXIsJ.js";
|
|
51
51
|
import { l as clamp, o as arrayShallowEquals, t as Arrays } from "./arrays-sEtDRoG4.js";
|
|
@@ -59,13 +59,13 @@ import "./dist-M9Vag9Y0.js";
|
|
|
59
59
|
import { r as python } from "./dist-C_Y3oV3C.js";
|
|
60
60
|
import { n as minimalSetup, t as esm_default } from "./esm-M837UxV5.js";
|
|
61
61
|
import "./purify.es-H92eMd9-.js";
|
|
62
|
-
import { i as AlertTitle, n as Alert, r as AlertDescription } from "./formats-
|
|
62
|
+
import { i as AlertTitle, n as Alert, r as AlertDescription } from "./formats-WsOgyW_K.js";
|
|
63
63
|
import "./vega-loader.browser-CZ-J8Py3.js";
|
|
64
64
|
import { a as getContainerWidth, n as vegaLoadData, o as getVegaFieldTypes, s as tooltipHandler } from "./loader-Boph2xIS.js";
|
|
65
65
|
import "./defaultLocale-u-3osm0P.js";
|
|
66
66
|
import "./defaultLocale-BoHTsDG6.js";
|
|
67
|
-
import { t as useAsyncData } from "./useAsyncData-
|
|
68
|
-
import { t as useDeepCompareMemoize } from "./useDeepCompareMemoize-
|
|
67
|
+
import { t as useAsyncData } from "./useAsyncData-BMc8itk2.js";
|
|
68
|
+
import { t as useDeepCompareMemoize } from "./useDeepCompareMemoize-ZwmDBRDY.js";
|
|
69
69
|
import "./dist-CIYBwstr.js";
|
|
70
70
|
import "./dist-abid3KgM.js";
|
|
71
71
|
import "./dist-A2846XWO.js";
|
|
@@ -7000,7 +7000,7 @@ let __tla = Promise.all([
|
|
|
7000
7000
|
}), H = U(), W = U(), G = C(0), q = C(null), $U = C({
|
|
7001
7001
|
column: 0,
|
|
7002
7002
|
row: 0
|
|
7003
|
-
}),
|
|
7003
|
+
}), eW = U(), Z = U(), tW = C(false), nW = C(0), rW = C(true), iW = C(false), aW = C(false);
|
|
7004
7004
|
Y(x(b, $(nW), P(([e2, r2]) => !!r2)), () => {
|
|
7005
7005
|
D(rW, false);
|
|
7006
7006
|
}), Y(x(ut(b, rW, B, z, nW, iW), P(([e2, r2, c2, l2, , u2]) => e2 && !r2 && c2.height !== 0 && l2.height !== 0 && !u2)), ([, , , , e2]) => {
|
|
@@ -7012,7 +7012,7 @@ let __tla = Promise.all([
|
|
|
7012
7012
|
0
|
|
7013
7013
|
]), D(rW, true);
|
|
7014
7014
|
});
|
|
7015
|
-
}), F(x(
|
|
7015
|
+
}), F(x(Z, P((e2) => e2 != null && e2.scrollTop > 0), Ft(0)), L), Y(x(b, $(Z), P(([, e2]) => e2 != null)), ([, e2]) => {
|
|
7016
7016
|
e2 && (D(z, e2.viewport), D(B, e2.item), D($U, e2.gap), e2.scrollTop > 0 && (D(tW, true), Et(x(h, Kt(1)), (e3) => {
|
|
7017
7017
|
D(tW, false);
|
|
7018
7018
|
}), D(m, {
|
|
@@ -7023,7 +7023,7 @@ let __tla = Promise.all([
|
|
|
7023
7023
|
item: r2,
|
|
7024
7024
|
scrollTop: l2,
|
|
7025
7025
|
viewport: e2
|
|
7026
|
-
}))),
|
|
7026
|
+
}))), eW), F(x(ut(V(I), l, V($U, Or), V(B, xe), V(z, xe), V(q), V(L), V(tW), V(rW), V(nW)), P(([, , , , , , , e2]) => !e2), k(([e2, [r2, c2], l2, u2, d2, f2, p2, , m2, h2]) => {
|
|
7027
7027
|
let { column: g2, row: _2 } = l2, { height: v2, width: y2 } = u2, { width: b2 } = d2;
|
|
7028
7028
|
if (p2 === 0 && (e2 === 0 || b2 === 0)) return bn;
|
|
7029
7029
|
if (y2 === 0) {
|
|
@@ -7082,7 +7082,7 @@ let __tla = Promise.all([
|
|
|
7082
7082
|
initialItemCount: L,
|
|
7083
7083
|
itemDimensions: B,
|
|
7084
7084
|
overscan: c,
|
|
7085
|
-
restoreStateFrom:
|
|
7085
|
+
restoreStateFrom: Z,
|
|
7086
7086
|
scrollBy: f,
|
|
7087
7087
|
scrollContainerState: p,
|
|
7088
7088
|
scrollHeight: W,
|
|
@@ -7106,7 +7106,7 @@ let __tla = Promise.all([
|
|
|
7106
7106
|
propsReady: S,
|
|
7107
7107
|
rangeChanged: lW,
|
|
7108
7108
|
startReached: cW,
|
|
7109
|
-
stateChanged:
|
|
7109
|
+
stateChanged: eW,
|
|
7110
7110
|
stateRestoreInProgress: tW,
|
|
7111
7111
|
...M
|
|
7112
7112
|
};
|
|
@@ -7385,22 +7385,22 @@ let __tla = Promise.all([
|
|
|
7385
7385
|
let r2 = Array.isArray(e2) ? e2 : [];
|
|
7386
7386
|
f != null && r2.length > f && (r2 = r2.slice(-f)), u(r2);
|
|
7387
7387
|
}, r[8] = m, r[9] = f, r[10] = d, r[11] = u, r[12] = q) : q = r[12];
|
|
7388
|
-
let $U = q,
|
|
7388
|
+
let $U = q, eW;
|
|
7389
7389
|
if (r[13] !== G.bulkActions) {
|
|
7390
|
-
if (
|
|
7390
|
+
if (eW = G.bulkActions.map(_temp$26), eW.length > 0) {
|
|
7391
7391
|
let e2;
|
|
7392
7392
|
r[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e2 = (0, import_jsx_runtime.jsx)(CommandSeparator, {
|
|
7393
7393
|
"data-slot": "select-separator"
|
|
7394
|
-
}, "_bulk_separator"), r[15] = e2) : e2 = r[15],
|
|
7394
|
+
}, "_bulk_separator"), r[15] = e2) : e2 = r[15], eW.push(e2);
|
|
7395
7395
|
}
|
|
7396
|
-
r[13] = G.bulkActions, r[14] =
|
|
7397
|
-
} else
|
|
7398
|
-
let
|
|
7399
|
-
r[16] !== G.pinnedCount || r[17] !== G.visibleOptions.length ? (
|
|
7396
|
+
r[13] = G.bulkActions, r[14] = eW;
|
|
7397
|
+
} else eW = r[14];
|
|
7398
|
+
let Z;
|
|
7399
|
+
r[16] !== G.pinnedCount || r[17] !== G.visibleOptions.length ? (Z = (e2) => G.pinnedCount > 0 && e2 === G.pinnedCount && G.pinnedCount < G.visibleOptions.length ? (0, import_jsx_runtime.jsx)(CommandSeparator, {
|
|
7400
7400
|
"data-slot": "select-separator"
|
|
7401
|
-
}, "_pinned_separator") : null, r[16] = G.pinnedCount, r[17] = G.visibleOptions.length, r[18] =
|
|
7402
|
-
let tW =
|
|
7403
|
-
r[19] !==
|
|
7401
|
+
}, "_pinned_separator") : null, r[16] = G.pinnedCount, r[17] = G.visibleOptions.length, r[18] = Z) : Z = r[18];
|
|
7402
|
+
let tW = Z, nW;
|
|
7403
|
+
r[19] !== eW || r[20] !== G || r[21] !== tW || r[22] !== w || r[23] !== B || r[24] !== H ? (nW = () => {
|
|
7404
7404
|
if (G.visibleOptions.length > B) return (0, import_jsx_runtime.jsx)(Yr, {
|
|
7405
7405
|
"data-slot": "select-list",
|
|
7406
7406
|
style: {
|
|
@@ -7412,7 +7412,7 @@ let __tla = Promise.all([
|
|
|
7412
7412
|
let r2 = G.visibleOptions[e3];
|
|
7413
7413
|
return (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
7414
7414
|
children: [
|
|
7415
|
-
e3 === 0 &&
|
|
7415
|
+
e3 === 0 && eW,
|
|
7416
7416
|
tW(e3),
|
|
7417
7417
|
(0, import_jsx_runtime.jsx)(OptionRow, {
|
|
7418
7418
|
option: r2,
|
|
@@ -7438,11 +7438,11 @@ let __tla = Promise.all([
|
|
|
7438
7438
|
});
|
|
7439
7439
|
return (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
7440
7440
|
children: [
|
|
7441
|
-
|
|
7441
|
+
eW,
|
|
7442
7442
|
e2
|
|
7443
7443
|
]
|
|
7444
7444
|
});
|
|
7445
|
-
}, r[19] =
|
|
7445
|
+
}, r[19] = eW, r[20] = G, r[21] = tW, r[22] = w, r[23] = B, r[24] = H, r[25] = nW) : nW = r[25];
|
|
7446
7446
|
let rW = nW, iW;
|
|
7447
7447
|
r[26] !== G.labelOf || r[27] !== I ? (iW = (e2) => {
|
|
7448
7448
|
let r2 = Array.isArray(e2) ? e2 : e2 == null ? [] : [
|
|
@@ -8576,7 +8576,7 @@ let __tla = Promise.all([
|
|
|
8576
8576
|
};
|
|
8577
8577
|
}
|
|
8578
8578
|
};
|
|
8579
|
-
var LazyChatbot = import_react.lazy(() => import("./chat-ui-
|
|
8579
|
+
var LazyChatbot = import_react.lazy(() => import("./chat-ui-DYBcNEdd.js").then((e) => ({
|
|
8580
8580
|
default: e.Chatbot
|
|
8581
8581
|
}))), messageSchema = array(object({
|
|
8582
8582
|
id: string(),
|
|
@@ -8725,7 +8725,7 @@ let __tla = Promise.all([
|
|
|
8725
8725
|
"time",
|
|
8726
8726
|
"unknown"
|
|
8727
8727
|
];
|
|
8728
|
-
var import_compiler_runtime$76 = require_compiler_runtime(), LazyDataEditor = import_react.lazy(() => import("./glide-data-editor-
|
|
8728
|
+
var import_compiler_runtime$76 = require_compiler_runtime(), LazyDataEditor = import_react.lazy(() => import("./glide-data-editor-qpmKyAPn.js").then(async (m) => {
|
|
8729
8729
|
await m.__tla;
|
|
8730
8730
|
return m;
|
|
8731
8731
|
}));
|
|
@@ -9785,12 +9785,12 @@ let __tla = Promise.all([
|
|
|
9785
9785
|
})));
|
|
9786
9786
|
}
|
|
9787
9787
|
(c2.shouldDirty || c2.shouldTouch) && I(e2, f2, c2.shouldTouch, c2.shouldDirty, true), c2.shouldValidate && rW(e2);
|
|
9788
|
-
},
|
|
9788
|
+
}, eW = (e2, r2, c2) => {
|
|
9789
9789
|
for (let u2 in r2) {
|
|
9790
9790
|
let d2 = r2[u2], f2 = `${e2}.${u2}`, m2 = get(l, f2);
|
|
9791
|
-
(p.array.has(e2) || isObject$1(d2) || m2 && !m2._f) && !isDateObject(d2) ?
|
|
9791
|
+
(p.array.has(e2) || isObject$1(d2) || m2 && !m2._f) && !isDateObject(d2) ? eW(f2, d2, c2) : $U(f2, d2, c2);
|
|
9792
9792
|
}
|
|
9793
|
-
},
|
|
9793
|
+
}, Z = (e2, r2, m2 = {}) => {
|
|
9794
9794
|
let h2 = get(l, e2), v2 = p.array.has(e2), y2 = cloneObject(r2);
|
|
9795
9795
|
set(d, e2, y2), v2 ? (_.array.next({
|
|
9796
9796
|
name: e2,
|
|
@@ -9801,7 +9801,7 @@ let __tla = Promise.all([
|
|
|
9801
9801
|
name: e2,
|
|
9802
9802
|
dirtyFields: getDirtyFields(u, d),
|
|
9803
9803
|
isDirty: W(e2, y2)
|
|
9804
|
-
})) : h2 && !h2._f && !isNullOrUndefined(y2) ?
|
|
9804
|
+
})) : h2 && !h2._f && !isNullOrUndefined(y2) ? eW(e2, y2, m2) : $U(e2, y2, m2), isWatched(e2, p) && _.state.next({
|
|
9805
9805
|
...c
|
|
9806
9806
|
}), _.values.next({
|
|
9807
9807
|
name: f.mount ? e2 : void 0,
|
|
@@ -10012,7 +10012,7 @@ let __tla = Promise.all([
|
|
|
10012
10012
|
errors: c.errors
|
|
10013
10013
|
}), m2) throw m2;
|
|
10014
10014
|
}, hW = (e2, r2 = {}) => {
|
|
10015
|
-
get(l, e2) && (isUndefined(r2.defaultValue) ?
|
|
10015
|
+
get(l, e2) && (isUndefined(r2.defaultValue) ? Z(e2, cloneObject(get(u, e2))) : (Z(e2, r2.defaultValue), set(u, e2, cloneObject(r2.defaultValue))), r2.keepTouched || unset(c.touchedFields, e2), r2.keepDirty || (unset(c.dirtyFields, e2), c.isDirty = r2.defaultValue ? W(e2, cloneObject(get(u, e2))) : W()), r2.keepError || (unset(c.errors, e2), g.isValid && w()), _.state.next({
|
|
10016
10016
|
...c
|
|
10017
10017
|
}));
|
|
10018
10018
|
}, gW = (e2, m2 = {}) => {
|
|
@@ -10023,7 +10023,7 @@ let __tla = Promise.all([
|
|
|
10023
10023
|
...p.mount,
|
|
10024
10024
|
...Object.keys(getDirtyFields(u, d))
|
|
10025
10025
|
]);
|
|
10026
|
-
for (let r2 of Array.from(e3)) get(c.dirtyFields, r2) ? set(b2, r2, get(d, r2)) :
|
|
10026
|
+
for (let r2 of Array.from(e3)) get(c.dirtyFields, r2) ? set(b2, r2, get(d, r2)) : Z(r2, get(b2, r2));
|
|
10027
10027
|
} else {
|
|
10028
10028
|
if (isWeb && isUndefined(e2)) for (let e3 of p.mount) {
|
|
10029
10029
|
let r2 = get(l, e3);
|
|
@@ -10141,7 +10141,7 @@ let __tla = Promise.all([
|
|
|
10141
10141
|
register: dW,
|
|
10142
10142
|
handleSubmit: mW,
|
|
10143
10143
|
watch: cW,
|
|
10144
|
-
setValue:
|
|
10144
|
+
setValue: Z,
|
|
10145
10145
|
getValues: iW,
|
|
10146
10146
|
reset: _W,
|
|
10147
10147
|
resetField: hW,
|
|
@@ -14406,11 +14406,11 @@ ${c}
|
|
|
14406
14406
|
_.pageSize,
|
|
14407
14407
|
_.pageIndex
|
|
14408
14408
|
], r[35] = w, r[36] = _.pageIndex, r[37] = _.pageSize, r[38] = e.cellHoverTexts, r[39] = e.cellStyles, r[40] = e.data, r[41] = e.lazy, r[42] = e.totalRows, r[43] = u, r[44] = y, r[45] = m, r[46] = B, r[47] = H) : H = r[47];
|
|
14409
|
-
let { data: W, error: G, isPending: q, isFetching: $U } = useAsyncData(z, H),
|
|
14410
|
-
r[48] !==
|
|
14409
|
+
let { data: W, error: G, isPending: q, isFetching: $U } = useAsyncData(z, H), eW = useAtomValue(downloadSizeLimitAtom), Z;
|
|
14410
|
+
r[48] !== eW || r[49] !== e ? (Z = async () => !eW || !e.showDownload || e.lazy || e.totalRows === 0 ? null : (await e.get_size_bytes({})).size_bytes ?? null, r[48] = eW, r[49] = e, r[50] = Z) : Z = r[50];
|
|
14411
14411
|
let tW = e.showDownload, nW = e.get_size_bytes, rW = e.lazy, iW = e.totalRows, aW = useDeepCompareMemoize(w), oW = useDeepCompareMemoize(m), sW;
|
|
14412
|
-
r[51] !==
|
|
14413
|
-
|
|
14412
|
+
r[51] !== eW || r[52] !== e.get_size_bytes || r[53] !== e.lazy || r[54] !== e.showDownload || r[55] !== e.totalRows || r[56] !== y || r[57] !== aW || r[58] !== oW ? (sW = [
|
|
14413
|
+
eW,
|
|
14414
14414
|
tW,
|
|
14415
14415
|
nW,
|
|
14416
14416
|
rW,
|
|
@@ -14418,8 +14418,8 @@ ${c}
|
|
|
14418
14418
|
y,
|
|
14419
14419
|
aW,
|
|
14420
14420
|
oW
|
|
14421
|
-
], r[51] =
|
|
14422
|
-
let { data: cW, isPending: lW } = useAsyncData(
|
|
14421
|
+
], r[51] = eW, r[52] = e.get_size_bytes, r[53] = e.lazy, r[54] = e.showDownload, r[55] = e.totalRows, r[56] = y, r[57] = aW, r[58] = oW, r[59] = sW) : sW = r[59];
|
|
14422
|
+
let { data: cW, isPending: lW } = useAsyncData(Z, sW), uW = cW ?? null, dW = !!eW && e.showDownload && lW, fW;
|
|
14423
14423
|
r[60] !== w || r[61] !== u || r[62] !== y || r[63] !== m ? (fW = async (e2) => ({
|
|
14424
14424
|
rows: await loadTableData((await u({
|
|
14425
14425
|
page_number: e2,
|
|
@@ -14541,7 +14541,7 @@ ${c}
|
|
|
14541
14541
|
}), r[115] = CW, r[116] = PW, r[117] = FW) : FW = r[117], FW;
|
|
14542
14542
|
});
|
|
14543
14543
|
LoadingDataTableComponent.displayName = "LoadingDataTableComponent";
|
|
14544
|
-
var DataTableComponent = ({ label: e, data: r, rawData: c, totalRows: l, sizeBytes: u, sizeBytesIsLoading: d, maxColumns: f, pagination: p, selection: m, value: h, showFilters: g, showDownload: _, showPageSizeSelector: v, showColumnExplorer: y, showRowExplorer: b, showChartBuilder: S, showDataTypes: w, rowHeaders: T, fieldTypes: O, paginationState: j, setPaginationState: M, download_as: I, columnSummaries: L, className: R, setValue: z, sorting: B, setSorting: H, showSearch: W, searchQuery: G, setSearchQuery: q, filters: $U, setFilters:
|
|
14544
|
+
var DataTableComponent = ({ label: e, data: r, rawData: c, totalRows: l, sizeBytes: u, sizeBytesIsLoading: d, maxColumns: f, pagination: p, selection: m, value: h, showFilters: g, showDownload: _, showPageSizeSelector: v, showColumnExplorer: y, showRowExplorer: b, showChartBuilder: S, showDataTypes: w, rowHeaders: T, fieldTypes: O, paginationState: j, setPaginationState: M, download_as: I, columnSummaries: L, className: R, setValue: z, sorting: B, setSorting: H, showSearch: W, searchQuery: G, setSearchQuery: q, filters: $U, setFilters: eW, reloading: Z, freezeColumnsLeft: tW, freezeColumnsRight: nW, hiddenColumns: rW, textJustifyColumns: iW, wrappedColumns: aW, columnWidths: oW, headerTooltip: sW, totalColumns: cW, get_row_ids: lW, cellStyles: uW, hoverTemplate: dW, cellHoverTexts: fW, toggleDisplayHeader: pW, isChartBuilderOpen: mW, calculate_top_k_rows: hW, preview_column: gW, getRow: _W, cellId: vW, maxHeight: yW }) => {
|
|
14545
14545
|
let bW = (0, import_react.useId)(), { locale: xW } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), [SW, CW] = (0, import_react.useState)(0), { isPanelOpen: wW, isAnyPanelOpen: TW, togglePanel: EW, panelType: DW, setPanelType: OW } = usePanelOwnership(bW, vW), kW = isStaticNotebook(), AW = (0, import_react.useMemo)(() => {
|
|
14546
14546
|
if (!L || !O || !L.stats) return ColumnChartSpecModel.EMPTY;
|
|
14547
14547
|
let e2 = toFieldTypes(O);
|
|
@@ -14740,9 +14740,9 @@ ${c}
|
|
|
14740
14740
|
onSearchQueryChange: q,
|
|
14741
14741
|
showFilters: g,
|
|
14742
14742
|
filters: $U,
|
|
14743
|
-
onFiltersChange:
|
|
14743
|
+
onFiltersChange: eW,
|
|
14744
14744
|
calculateTopKRows: hW,
|
|
14745
|
-
reloading:
|
|
14745
|
+
reloading: Z,
|
|
14746
14746
|
onRowSelectionChange: UW,
|
|
14747
14747
|
freezeColumnsLeft: tW,
|
|
14748
14748
|
freezeColumnsRight: nW,
|
|
@@ -15118,7 +15118,7 @@ ${c}
|
|
|
15118
15118
|
fullWidth: m,
|
|
15119
15119
|
children: T
|
|
15120
15120
|
}), r[20] = m, r[21] = g, r[22] = c, r[23] = T, r[24] = E) : E = r[24], E;
|
|
15121
|
-
}, LazyDataExplorerComponent = import_react.lazy(() => import("./ConnectedDataExplorerComponent-
|
|
15121
|
+
}, LazyDataExplorerComponent = import_react.lazy(() => import("./ConnectedDataExplorerComponent-DXBx_nQg.js"));
|
|
15122
15122
|
const DataExplorerPlugin = createPlugin("marimo-data-explorer").withData(object({
|
|
15123
15123
|
label: string().nullish(),
|
|
15124
15124
|
data: string()
|
|
@@ -16811,12 +16811,12 @@ ${c}
|
|
|
16811
16811
|
], r[2] = S, r[3] = w);
|
|
16812
16812
|
let { data: T, error: O, isPending: j } = useAsyncData(b, w), M;
|
|
16813
16813
|
r[4] === T ? M = r[5] : (M = T || {}, r[4] = T, r[5] = M);
|
|
16814
|
-
let { url: I, total_rows: L, row_headers: R, field_types: z, column_types_per_step: B, python_code: H, sql_code: W } = M, G = z == null ? void 0 : z.length, [q, $U] = (0, import_react.useState)(f || EMPTY),
|
|
16815
|
-
r[6] === d ?
|
|
16814
|
+
let { url: I, total_rows: L, row_headers: R, field_types: z, column_types_per_step: B, python_code: H, sql_code: W } = M, G = z == null ? void 0 : z.length, [q, $U] = (0, import_react.useState)(f || EMPTY), eW = (0, import_react.useRef)(null), Z;
|
|
16815
|
+
r[6] === d ? Z = r[7] : (Z = (e2) => {
|
|
16816
16816
|
var _a3;
|
|
16817
|
-
d && e2 !== "transform" && ((_a3 =
|
|
16818
|
-
}, r[6] = d, r[7] =
|
|
16819
|
-
let tW =
|
|
16817
|
+
d && e2 !== "transform" && ((_a3 = eW.current) == null ? void 0 : _a3.submit());
|
|
16818
|
+
}, r[6] = d, r[7] = Z);
|
|
16819
|
+
let tW = Z, nW = (0, import_react.useRef)(q), rW;
|
|
16820
16820
|
r[8] === q ? rW = r[9] : (rW = () => {
|
|
16821
16821
|
nW.current = q;
|
|
16822
16822
|
}, r[8] = q, r[9] = rW), (0, import_react.useEffect)(rW);
|
|
@@ -16883,35 +16883,35 @@ ${c}
|
|
|
16883
16883
|
r[26] === j ? fW = r[27] : (fW = j && (0, import_jsx_runtime.jsx)(Spinner, {
|
|
16884
16884
|
size: "small"
|
|
16885
16885
|
}), r[26] = j, r[27] = fW);
|
|
16886
|
-
let
|
|
16887
|
-
r[28] !== dW || r[29] !== fW ? (
|
|
16886
|
+
let pW;
|
|
16887
|
+
r[28] !== dW || r[29] !== fW ? (pW = (0, import_jsx_runtime.jsxs)("div", {
|
|
16888
16888
|
className: "flex items-center gap-2",
|
|
16889
16889
|
children: [
|
|
16890
16890
|
dW,
|
|
16891
16891
|
fW
|
|
16892
16892
|
]
|
|
16893
|
-
}), r[28] = dW, r[29] = fW, r[30] =
|
|
16894
|
-
let
|
|
16895
|
-
r[31] !== p || r[32] !== f ? (
|
|
16893
|
+
}), r[28] = dW, r[29] = fW, r[30] = pW) : pW = r[30];
|
|
16894
|
+
let mW;
|
|
16895
|
+
r[31] !== p || r[32] !== f ? (mW = (e2) => {
|
|
16896
16896
|
dequal(e2, f) || (p(e2), $U(e2));
|
|
16897
|
-
}, r[31] = p, r[32] = f, r[33] =
|
|
16898
|
-
let
|
|
16899
|
-
r[34] !== B || r[35] !== c || r[36] !== h || r[37] !== q || r[38] !== d || r[39] !==
|
|
16897
|
+
}, r[31] = p, r[32] = f, r[33] = mW) : mW = r[33];
|
|
16898
|
+
let hW;
|
|
16899
|
+
r[34] !== B || r[35] !== c || r[36] !== h || r[37] !== q || r[38] !== d || r[39] !== mW ? (hW = (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
16900
16900
|
value: "transform",
|
|
16901
16901
|
className: "mt-1 border rounded-t overflow-hidden",
|
|
16902
16902
|
children: (0, import_jsx_runtime.jsx)(TransformPanel, {
|
|
16903
|
-
ref:
|
|
16903
|
+
ref: eW,
|
|
16904
16904
|
initialValue: q,
|
|
16905
16905
|
columns: c,
|
|
16906
|
-
onChange:
|
|
16906
|
+
onChange: mW,
|
|
16907
16907
|
onInvalidChange: $U,
|
|
16908
16908
|
getColumnValues: h,
|
|
16909
16909
|
columnTypesPerStep: B,
|
|
16910
16910
|
lazy: d
|
|
16911
16911
|
})
|
|
16912
|
-
}), r[34] = B, r[35] = c, r[36] = h, r[37] = q, r[38] = d, r[39] =
|
|
16913
|
-
let
|
|
16914
|
-
r[41] === H ?
|
|
16912
|
+
}), r[34] = B, r[35] = c, r[36] = h, r[37] = q, r[38] = d, r[39] = mW, r[40] = hW) : hW = r[40];
|
|
16913
|
+
let gW;
|
|
16914
|
+
r[41] === H ? gW = r[42] : (gW = H && (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
16915
16915
|
value: "python-code",
|
|
16916
16916
|
className: "mt-1 border rounded-t overflow-hidden",
|
|
16917
16917
|
children: (0, import_jsx_runtime.jsx)(ReadonlyCode, {
|
|
@@ -16920,9 +16920,9 @@ ${c}
|
|
|
16920
16920
|
code: H,
|
|
16921
16921
|
language: "python"
|
|
16922
16922
|
})
|
|
16923
|
-
}), r[41] = H, r[42] =
|
|
16924
|
-
let
|
|
16925
|
-
r[43] === W ?
|
|
16923
|
+
}), r[41] = H, r[42] = gW);
|
|
16924
|
+
let _W;
|
|
16925
|
+
r[43] === W ? _W = r[44] : (_W = W && (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
16926
16926
|
value: "sql-code",
|
|
16927
16927
|
className: "mt-1 border rounded-t overflow-hidden",
|
|
16928
16928
|
children: (0, import_jsx_runtime.jsx)(ReadonlyCode, {
|
|
@@ -16931,18 +16931,18 @@ ${c}
|
|
|
16931
16931
|
code: W,
|
|
16932
16932
|
language: "sql"
|
|
16933
16933
|
})
|
|
16934
|
-
}), r[43] = W, r[44] =
|
|
16935
|
-
let
|
|
16936
|
-
r[45] !== tW || r[46] !==
|
|
16934
|
+
}), r[43] = W, r[44] = _W);
|
|
16935
|
+
let vW;
|
|
16936
|
+
r[45] !== tW || r[46] !== pW || r[47] !== hW || r[48] !== gW || r[49] !== _W ? (vW = (0, import_jsx_runtime.jsxs)(Tabs, {
|
|
16937
16937
|
defaultValue: "transform",
|
|
16938
16938
|
onValueChange: tW,
|
|
16939
16939
|
children: [
|
|
16940
|
-
|
|
16940
|
+
pW,
|
|
16941
|
+
hW,
|
|
16941
16942
|
gW,
|
|
16942
|
-
_W
|
|
16943
|
-
vW
|
|
16943
|
+
_W
|
|
16944
16944
|
]
|
|
16945
|
-
}), r[45] = tW, r[46] =
|
|
16945
|
+
}), r[45] = tW, r[46] = pW, r[47] = hW, r[48] = gW, r[49] = _W, r[50] = vW) : vW = r[50];
|
|
16946
16946
|
let bW;
|
|
16947
16947
|
r[51] === O ? bW = r[52] : (bW = O && (0, import_jsx_runtime.jsx)(ErrorBanner, {
|
|
16948
16948
|
error: O
|
|
@@ -16980,13 +16980,13 @@ ${c}
|
|
|
16980
16980
|
host: y
|
|
16981
16981
|
}), r[53] = _, r[54] = z, r[55] = v, r[56] = y, r[57] = l, r[58] = g, r[59] = u, r[60] = xW, r[61] = SW, r[62] = CW, r[63] = wW, r[64] = TW, r[65] = EW) : EW = r[65];
|
|
16982
16982
|
let DW;
|
|
16983
|
-
return r[66] !==
|
|
16983
|
+
return r[66] !== vW || r[67] !== bW || r[68] !== EW ? (DW = (0, import_jsx_runtime.jsxs)("div", {
|
|
16984
16984
|
children: [
|
|
16985
|
-
|
|
16985
|
+
vW,
|
|
16986
16986
|
bW,
|
|
16987
16987
|
EW
|
|
16988
16988
|
]
|
|
16989
|
-
}), r[66] =
|
|
16989
|
+
}), r[66] = vW, r[67] = bW, r[68] = EW, r[69] = DW) : DW = r[69], DW;
|
|
16990
16990
|
});
|
|
16991
16991
|
DataFrameComponent.displayName = "DataFrameComponent";
|
|
16992
16992
|
function getColumnSummaries() {
|
|
@@ -17170,30 +17170,30 @@ ${c}
|
|
|
17170
17170
|
}, [
|
|
17171
17171
|
B
|
|
17172
17172
|
]);
|
|
17173
|
-
let
|
|
17174
|
-
|
|
17173
|
+
let W = `${g}::${I}`, [G, q] = (0, import_react.useState)(W);
|
|
17174
|
+
G !== W && (q(W), E(0)), (0, import_react.useLayoutEffect)(() => {
|
|
17175
17175
|
var _a4;
|
|
17176
17176
|
M.current && (M.current = false, (_a4 = O.current[0]) == null ? void 0 : _a4.focus());
|
|
17177
17177
|
}, [
|
|
17178
|
-
|
|
17178
|
+
W
|
|
17179
17179
|
]);
|
|
17180
|
-
let
|
|
17180
|
+
let $U = (R == null ? void 0 : R.files) ?? [], Z = new Set(e.map((e2) => e2.path)), tW = l === "directory" || l === "all", nW = l === "file" || l === "all", rW = $U.filter((e2) => tW && e2.is_directory || nW && !e2.is_directory), iW = rW.length > 0 && rW.every((e2) => Z.has(e2.path));
|
|
17181
17181
|
if (!R && z) return (0, import_jsx_runtime.jsx)(Banner, {
|
|
17182
17182
|
kind: "danger",
|
|
17183
17183
|
children: z.message
|
|
17184
17184
|
});
|
|
17185
|
-
let
|
|
17185
|
+
let aW = PathBuilder.guessDeliminator(c).deliminator, oW = e.map((e2) => (0, import_jsx_runtime.jsx)("li", {
|
|
17186
17186
|
children: e2.path
|
|
17187
17187
|
}, e2.id));
|
|
17188
|
-
function
|
|
17188
|
+
function sW(e2) {
|
|
17189
17189
|
var _a4;
|
|
17190
17190
|
if (v) return;
|
|
17191
17191
|
if (y(true), e2 === PARENT_DIRECTORY) {
|
|
17192
|
-
if (g ===
|
|
17192
|
+
if (g === aW) {
|
|
17193
17193
|
y(false);
|
|
17194
17194
|
return;
|
|
17195
17195
|
}
|
|
17196
|
-
e2 = Paths.dirname(g), e2 === "" && (e2 =
|
|
17196
|
+
e2 = Paths.dirname(g), e2 === "" && (e2 = aW);
|
|
17197
17197
|
}
|
|
17198
17198
|
let r2 = e2.length < c.length;
|
|
17199
17199
|
if (f && r2) {
|
|
@@ -17206,7 +17206,7 @@ ${c}
|
|
|
17206
17206
|
}
|
|
17207
17207
|
M.current = ((_a4 = j.current) == null ? void 0 : _a4.contains(document.activeElement)) ?? false, _(e2), y(false);
|
|
17208
17208
|
}
|
|
17209
|
-
function
|
|
17209
|
+
function cW({ path: e2, name: r2, isDirectory: c2 }) {
|
|
17210
17210
|
return {
|
|
17211
17211
|
id: e2,
|
|
17212
17212
|
name: r2,
|
|
@@ -17214,27 +17214,27 @@ ${c}
|
|
|
17214
17214
|
is_directory: c2
|
|
17215
17215
|
};
|
|
17216
17216
|
}
|
|
17217
|
-
function
|
|
17218
|
-
let f2 =
|
|
17217
|
+
function lW({ path: c2, name: l2, isDirectory: d2 }) {
|
|
17218
|
+
let f2 = cW({
|
|
17219
17219
|
path: c2,
|
|
17220
17220
|
name: l2,
|
|
17221
17221
|
isDirectory: d2
|
|
17222
17222
|
});
|
|
17223
|
-
|
|
17223
|
+
Z.has(c2) ? r(e.filter((e2) => e2.path !== c2)) : r(u ? [
|
|
17224
17224
|
...e,
|
|
17225
17225
|
f2
|
|
17226
17226
|
] : [
|
|
17227
17227
|
f2
|
|
17228
17228
|
]);
|
|
17229
17229
|
}
|
|
17230
|
-
function
|
|
17230
|
+
function uW() {
|
|
17231
17231
|
r(e.filter((e2) => Paths.dirname(e2.path) !== g));
|
|
17232
17232
|
}
|
|
17233
|
-
function
|
|
17233
|
+
function dW() {
|
|
17234
17234
|
let c2 = [];
|
|
17235
|
-
for (let e2 of
|
|
17236
|
-
if (!
|
|
17237
|
-
let r2 =
|
|
17235
|
+
for (let e2 of $U) {
|
|
17236
|
+
if (!tW && e2.is_directory || Z.has(e2.path)) continue;
|
|
17237
|
+
let r2 = cW({
|
|
17238
17238
|
path: e2.path,
|
|
17239
17239
|
name: e2.name,
|
|
17240
17240
|
isDirectory: e2.is_directory
|
|
@@ -17246,20 +17246,20 @@ ${c}
|
|
|
17246
17246
|
...c2
|
|
17247
17247
|
]);
|
|
17248
17248
|
}
|
|
17249
|
-
let
|
|
17249
|
+
let fW = [
|
|
17250
17250
|
{
|
|
17251
17251
|
key: "parent",
|
|
17252
17252
|
name: PARENT_DIRECTORY,
|
|
17253
17253
|
Icon: CornerLeftUp,
|
|
17254
17254
|
isSelected: false,
|
|
17255
17255
|
canSelect: false,
|
|
17256
|
-
onPrimary: () =>
|
|
17256
|
+
onPrimary: () => sW(PARENT_DIRECTORY),
|
|
17257
17257
|
onToggleSelect: null
|
|
17258
17258
|
},
|
|
17259
|
-
|
|
17259
|
+
...$U.map((e2) => {
|
|
17260
17260
|
let r2 = e2.path;
|
|
17261
17261
|
r2.startsWith("//") && (r2 = r2.slice(1));
|
|
17262
|
-
let c2 =
|
|
17262
|
+
let c2 = tW && e2.is_directory || nW && !e2.is_directory, l2 = Z.has(r2), u2 = e2.is_directory ? "directory" : guessFileIconType(e2.name), d2 = () => lW({
|
|
17263
17263
|
path: r2,
|
|
17264
17264
|
name: e2.name,
|
|
17265
17265
|
isDirectory: e2.is_directory
|
|
@@ -17270,46 +17270,46 @@ ${c}
|
|
|
17270
17270
|
Icon: FILE_ICON[u2],
|
|
17271
17271
|
isSelected: l2,
|
|
17272
17272
|
canSelect: c2,
|
|
17273
|
-
onPrimary: e2.is_directory ? () =>
|
|
17273
|
+
onPrimary: e2.is_directory ? () => sW(r2) : c2 ? d2 : () => {
|
|
17274
17274
|
},
|
|
17275
17275
|
onToggleSelect: c2 ? d2 : null
|
|
17276
17276
|
};
|
|
17277
17277
|
})
|
|
17278
17278
|
];
|
|
17279
|
-
function
|
|
17279
|
+
function pW(e2) {
|
|
17280
17280
|
var _a4;
|
|
17281
17281
|
E(e2), (_a4 = O.current[e2]) == null ? void 0 : _a4.focus();
|
|
17282
17282
|
}
|
|
17283
|
-
function
|
|
17283
|
+
function mW(e2, r2) {
|
|
17284
17284
|
var _a4, _b3;
|
|
17285
|
-
let c2 =
|
|
17285
|
+
let c2 = fW.length - 1;
|
|
17286
17286
|
switch (e2.key) {
|
|
17287
17287
|
case "ArrowDown":
|
|
17288
|
-
e2.preventDefault(),
|
|
17288
|
+
e2.preventDefault(), pW(Math.min(r2 + 1, c2));
|
|
17289
17289
|
break;
|
|
17290
17290
|
case "ArrowUp":
|
|
17291
|
-
e2.preventDefault(),
|
|
17291
|
+
e2.preventDefault(), pW(Math.max(r2 - 1, 0));
|
|
17292
17292
|
break;
|
|
17293
17293
|
case "Home":
|
|
17294
|
-
e2.preventDefault(),
|
|
17294
|
+
e2.preventDefault(), pW(0);
|
|
17295
17295
|
break;
|
|
17296
17296
|
case "End":
|
|
17297
|
-
e2.preventDefault(),
|
|
17297
|
+
e2.preventDefault(), pW(c2);
|
|
17298
17298
|
break;
|
|
17299
17299
|
case "Enter":
|
|
17300
|
-
e2.preventDefault(),
|
|
17300
|
+
e2.preventDefault(), fW[r2].onPrimary();
|
|
17301
17301
|
break;
|
|
17302
17302
|
case " ":
|
|
17303
|
-
e2.preventDefault(), (_b3 = (_a4 =
|
|
17303
|
+
e2.preventDefault(), (_b3 = (_a4 = fW[r2]).onToggleSelect) == null ? void 0 : _b3.call(_a4);
|
|
17304
17304
|
break;
|
|
17305
17305
|
}
|
|
17306
17306
|
}
|
|
17307
|
-
let { parentDirectories:
|
|
17307
|
+
let { parentDirectories: hW } = getProtocolAndParentDirectories({
|
|
17308
17308
|
path: g,
|
|
17309
|
-
delimiter:
|
|
17309
|
+
delimiter: aW,
|
|
17310
17310
|
initialPath: c,
|
|
17311
17311
|
restrictNavigation: f
|
|
17312
|
-
}),
|
|
17312
|
+
}), _W = l === "all" ? PluralWords.of("file", "folder") : l === "directory" ? PluralWords.of("folder") : PluralWords.of("file");
|
|
17313
17313
|
return (0, import_jsx_runtime.jsxs)("div", {
|
|
17314
17314
|
children: [
|
|
17315
17315
|
z && (0, import_jsx_runtime.jsx)(Banner, {
|
|
@@ -17319,7 +17319,7 @@ ${c}
|
|
|
17319
17319
|
(() => {
|
|
17320
17320
|
let e2 = (0, import_jsx_runtime.jsx)(Label, {
|
|
17321
17321
|
children: renderHTML({
|
|
17322
|
-
html: d ?? `Select ${
|
|
17322
|
+
html: d ?? `Select ${_W.join(" and ", 2)}...`
|
|
17323
17323
|
})
|
|
17324
17324
|
});
|
|
17325
17325
|
return u ? (0, import_jsx_runtime.jsxs)("div", {
|
|
@@ -17333,8 +17333,8 @@ ${c}
|
|
|
17333
17333
|
children: (0, import_jsx_runtime.jsx)(Button, {
|
|
17334
17334
|
size: "xs",
|
|
17335
17335
|
variant: "link",
|
|
17336
|
-
onClick:
|
|
17337
|
-
children:
|
|
17336
|
+
onClick: iW ? uW : dW,
|
|
17337
|
+
children: iW ? "Deselect all" : "Select all"
|
|
17338
17338
|
})
|
|
17339
17339
|
})
|
|
17340
17340
|
]
|
|
@@ -17344,15 +17344,15 @@ ${c}
|
|
|
17344
17344
|
className: "mt-2 w-full",
|
|
17345
17345
|
placeholder: g,
|
|
17346
17346
|
value: g,
|
|
17347
|
-
onChange: (e2) =>
|
|
17348
|
-
children:
|
|
17347
|
+
onChange: (e2) => sW(e2.target.value),
|
|
17348
|
+
children: hW.map((e2) => (0, import_jsx_runtime.jsx)("option", {
|
|
17349
17349
|
value: e2,
|
|
17350
17350
|
children: e2
|
|
17351
17351
|
}, e2))
|
|
17352
17352
|
}),
|
|
17353
17353
|
R && typeof R.total_count == "number" && (0, import_jsx_runtime.jsx)("div", {
|
|
17354
17354
|
className: "text-xs text-muted-foreground mt-1 px-1",
|
|
17355
|
-
children: R.is_truncated ? `Showing ${
|
|
17355
|
+
children: R.is_truncated ? `Showing ${$U.length} of ${R.total_count} items` : `${R.total_count} ${R.total_count === 1 ? "item" : "items"}`
|
|
17356
17356
|
}),
|
|
17357
17357
|
(0, import_jsx_runtime.jsxs)("div", {
|
|
17358
17358
|
className: "mt-3 overflow-y-auto w-full border relative",
|
|
@@ -17381,14 +17381,14 @@ ${c}
|
|
|
17381
17381
|
"aria-label": "File browser",
|
|
17382
17382
|
"aria-multiselectable": u,
|
|
17383
17383
|
children: (0, import_jsx_runtime.jsx)(TableBody, {
|
|
17384
|
-
children:
|
|
17384
|
+
children: fW.map((e2, r2) => (0, import_jsx_runtime.jsxs)(TableRow, {
|
|
17385
17385
|
role: "row",
|
|
17386
17386
|
ref: (e3) => {
|
|
17387
17387
|
O.current[r2] = e3;
|
|
17388
17388
|
},
|
|
17389
17389
|
tabIndex: r2 === T ? 0 : -1,
|
|
17390
17390
|
onFocus: () => E(r2),
|
|
17391
|
-
onKeyDown: (e3) =>
|
|
17391
|
+
onKeyDown: (e3) => mW(e3, r2),
|
|
17392
17392
|
className: cn("hover:bg-accent group select-none focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-inset", {
|
|
17393
17393
|
"bg-primary/25 hover:bg-primary/35": e2.isSelected
|
|
17394
17394
|
}),
|
|
@@ -17431,7 +17431,7 @@ ${c}
|
|
|
17431
17431
|
children: [
|
|
17432
17432
|
e.length,
|
|
17433
17433
|
" ",
|
|
17434
|
-
|
|
17434
|
+
_W.join(" or ", e.length),
|
|
17435
17435
|
" ",
|
|
17436
17436
|
"selected"
|
|
17437
17437
|
]
|
|
@@ -17451,7 +17451,7 @@ ${c}
|
|
|
17451
17451
|
marginBlock: 0
|
|
17452
17452
|
},
|
|
17453
17453
|
className: "m-0 text-xs text-muted-foreground",
|
|
17454
|
-
children:
|
|
17454
|
+
children: oW
|
|
17455
17455
|
})
|
|
17456
17456
|
})
|
|
17457
17457
|
]
|
|
@@ -22833,7 +22833,7 @@ ${c}
|
|
|
22833
22833
|
return typeof S == "function" ? S : noop$2;
|
|
22834
22834
|
}, [
|
|
22835
22835
|
S
|
|
22836
|
-
]), q = (0, import_react.useRef)(null), $U = (0, import_react.useRef)(null),
|
|
22836
|
+
]), q = (0, import_react.useRef)(null), $U = (0, import_react.useRef)(null), eW = _slicedToArray((0, import_react.useReducer)(reducer$2, initialState), 2), Z = eW[0], tW = eW[1], nW = Z.isFocused, rW = Z.isFileDialogActive, iW = (0, import_react.useRef)(typeof window < "u" && window.isSecureContext && T && canUseFileSystemAccessAPI()), aW = function() {
|
|
22837
22837
|
!iW.current && rW && setTimeout(function() {
|
|
22838
22838
|
$U.current && ($U.current.files.length || (tW({
|
|
22839
22839
|
type: "closeDialog"
|
|
@@ -23141,7 +23141,7 @@ ${c}
|
|
|
23141
23141
|
mW,
|
|
23142
23142
|
l
|
|
23143
23143
|
]);
|
|
23144
|
-
return _objectSpread$7(_objectSpread$7({},
|
|
23144
|
+
return _objectSpread$7(_objectSpread$7({}, Z), {}, {
|
|
23145
23145
|
isFocused: nW && !l,
|
|
23146
23146
|
getRootProps: wW,
|
|
23147
23147
|
getInputProps: EW,
|
|
@@ -23379,13 +23379,13 @@ ${c}
|
|
|
23379
23379
|
html: I
|
|
23380
23380
|
})
|
|
23381
23381
|
}), r[45] = I, r[46] = M, r[47] = G) : G = r[47];
|
|
23382
|
-
let q = w && "text-primary", $U = T && "text-destructive",
|
|
23383
|
-
r[48] !== q || r[49] !== $U ? (
|
|
23384
|
-
let
|
|
23385
|
-
r[51] ===
|
|
23382
|
+
let q = w && "text-primary", $U = T && "text-destructive", eW;
|
|
23383
|
+
r[48] !== q || r[49] !== $U ? (eW = cn(q, $U), r[48] = q, r[49] = $U, r[50] = eW) : eW = r[50];
|
|
23384
|
+
let Z;
|
|
23385
|
+
r[51] === eW ? Z = r[52] : (Z = (0, import_jsx_runtime.jsx)(Upload, {
|
|
23386
23386
|
strokeWidth: 1.4,
|
|
23387
|
-
className:
|
|
23388
|
-
}), r[51] =
|
|
23387
|
+
className: eW
|
|
23388
|
+
}), r[51] = eW, r[52] = Z);
|
|
23389
23389
|
let tW = w && "text-primary", nW = T && "text-destructive", rW;
|
|
23390
23390
|
r[53] !== tW || r[54] !== nW ? (rW = cn(tW, nW), r[53] = tW, r[54] = nW, r[55] = rW) : rW = r[55];
|
|
23391
23391
|
let iW;
|
|
@@ -23394,13 +23394,13 @@ ${c}
|
|
|
23394
23394
|
className: rW
|
|
23395
23395
|
}), r[56] = rW, r[57] = iW);
|
|
23396
23396
|
let aW;
|
|
23397
|
-
r[58] !==
|
|
23397
|
+
r[58] !== Z || r[59] !== iW ? (aW = (0, import_jsx_runtime.jsxs)("div", {
|
|
23398
23398
|
className: "flex flex-row items-center justify-center grow gap-3",
|
|
23399
23399
|
children: [
|
|
23400
|
-
|
|
23400
|
+
Z,
|
|
23401
23401
|
iW
|
|
23402
23402
|
]
|
|
23403
|
-
}), r[58] =
|
|
23403
|
+
}), r[58] = Z, r[59] = iW, r[60] = aW) : aW = r[60];
|
|
23404
23404
|
let oW;
|
|
23405
23405
|
r[61] !== G || r[62] !== aW ? (oW = (0, import_jsx_runtime.jsxs)("div", {
|
|
23406
23406
|
className: "flex flex-col items-center justify-center grow gap-3",
|
|
@@ -23568,16 +23568,16 @@ ${c}
|
|
|
23568
23568
|
html: f
|
|
23569
23569
|
})
|
|
23570
23570
|
}), r[13] = f, r[14] = $U);
|
|
23571
|
-
let
|
|
23572
|
-
r[15] === L ?
|
|
23571
|
+
let eW;
|
|
23572
|
+
r[15] === L ? eW = r[16] : (eW = L != null && (0, import_jsx_runtime.jsx)(Banner, {
|
|
23573
23573
|
kind: "danger",
|
|
23574
23574
|
className: "rounded",
|
|
23575
23575
|
children: L ?? "Invalid input"
|
|
23576
|
-
}), r[15] = L, r[16] =
|
|
23577
|
-
let
|
|
23578
|
-
r[17] === c ?
|
|
23576
|
+
}), r[15] = L, r[16] = eW);
|
|
23577
|
+
let Z;
|
|
23578
|
+
r[17] === c ? Z = r[18] : (Z = (0, import_jsx_runtime.jsx)("div", {
|
|
23579
23579
|
children: c
|
|
23580
|
-
}), r[17] = c, r[18] =
|
|
23580
|
+
}), r[17] = c, r[18] = Z);
|
|
23581
23581
|
let tW;
|
|
23582
23582
|
r[19] !== S || r[20] !== T || r[21] !== b ? (tW = b && withTooltip((0, import_jsx_runtime.jsx)(Button, {
|
|
23583
23583
|
"data-testid": "marimo-plugin-form-clear-button",
|
|
@@ -23613,16 +23613,16 @@ ${c}
|
|
|
23613
23613
|
]
|
|
23614
23614
|
}), r[33] = aW, r[34] = tW, r[35] = oW) : oW = r[35];
|
|
23615
23615
|
let sW;
|
|
23616
|
-
r[36] !== oW || r[37] !== G || r[38] !== q || r[39] !== $U || r[40] !==
|
|
23616
|
+
r[36] !== oW || r[37] !== G || r[38] !== q || r[39] !== $U || r[40] !== eW || r[41] !== Z ? (sW = (0, import_jsx_runtime.jsxs)("div", {
|
|
23617
23617
|
className: G,
|
|
23618
23618
|
onKeyDown: q,
|
|
23619
23619
|
children: [
|
|
23620
23620
|
$U,
|
|
23621
|
-
Z,
|
|
23622
23621
|
eW,
|
|
23622
|
+
Z,
|
|
23623
23623
|
oW
|
|
23624
23624
|
]
|
|
23625
|
-
}), r[36] = oW, r[37] = G, r[38] = q, r[39] = $U, r[40] =
|
|
23625
|
+
}), r[36] = oW, r[37] = G, r[38] = q, r[39] = $U, r[40] = eW, r[41] = Z, r[42] = sW) : sW = r[42];
|
|
23626
23626
|
let cW;
|
|
23627
23627
|
return r[43] !== sW || r[44] !== H ? (cW = (0, import_jsx_runtime.jsx)("form", {
|
|
23628
23628
|
className: "contents",
|
|
@@ -25415,8 +25415,8 @@ ${c}
|
|
|
25415
25415
|
indices: c2
|
|
25416
25416
|
}));
|
|
25417
25417
|
}, r[31] = u, r[32] = $U);
|
|
25418
|
-
let
|
|
25419
|
-
r[33] === u ?
|
|
25418
|
+
let eW = useEvent_default($U), Z;
|
|
25419
|
+
r[33] === u ? Z = r[34] : (Z = (e2) => {
|
|
25420
25420
|
e2 && u((r2) => ({
|
|
25421
25421
|
...r2,
|
|
25422
25422
|
selections: "selections" in e2 ? e2.selections : [],
|
|
@@ -25425,9 +25425,9 @@ ${c}
|
|
|
25425
25425
|
range: e2.range,
|
|
25426
25426
|
lasso: "lassoPoints" in e2 ? e2.lassoPoints : void 0
|
|
25427
25427
|
}));
|
|
25428
|
-
}, r[33] = u, r[34] =
|
|
25429
|
-
let tW = useEvent_default(
|
|
25430
|
-
return r[35] !== m || r[36] !== h || r[37] !== L || r[38] !== B || r[39] !== W || r[40] !== q || r[41] !==
|
|
25428
|
+
}, r[33] = u, r[34] = Z);
|
|
25429
|
+
let tW = useEvent_default(Z), nW = m.frames ?? void 0, rW = useEvent_default(_temp3$3), iW;
|
|
25430
|
+
return r[35] !== m || r[36] !== h || r[37] !== L || r[38] !== B || r[39] !== W || r[40] !== q || r[41] !== eW || r[42] !== tW || r[43] !== nW || r[44] !== rW || r[45] !== R ? (iW = (0, import_jsx_runtime.jsx)(LazyPlot, {
|
|
25431
25431
|
...m,
|
|
25432
25432
|
layout: h,
|
|
25433
25433
|
onRelayout: R,
|
|
@@ -25435,13 +25435,13 @@ ${c}
|
|
|
25435
25435
|
onTreemapClick: W,
|
|
25436
25436
|
onSunburstClick: q,
|
|
25437
25437
|
config: L,
|
|
25438
|
-
onClick:
|
|
25438
|
+
onClick: eW,
|
|
25439
25439
|
onSelected: tW,
|
|
25440
25440
|
className: "w-full",
|
|
25441
25441
|
useResizeHandler: true,
|
|
25442
25442
|
frames: nW,
|
|
25443
25443
|
onError: rW
|
|
25444
|
-
}), r[35] = m, r[36] = h, r[37] = L, r[38] = B, r[39] = W, r[40] = q, r[41] =
|
|
25444
|
+
}), r[35] = m, r[36] = h, r[37] = L, r[38] = B, r[39] = W, r[40] = q, r[41] = eW, r[42] = tW, r[43] = nW, r[44] = rW, r[45] = R, r[46] = iW) : iW = r[46], iW;
|
|
25445
25445
|
});
|
|
25446
25446
|
PlotlyComponent.displayName = "PlotlyComponent";
|
|
25447
25447
|
function _temp$8(e) {
|
|
@@ -25586,8 +25586,8 @@ ${c}
|
|
|
25586
25586
|
onPointerUp: H
|
|
25587
25587
|
})
|
|
25588
25588
|
}), c[19] = L, c[20] = z, c[21] = H, c[22] = $U) : $U = c[22];
|
|
25589
|
-
let
|
|
25590
|
-
c[23] !== m.setFalse || c[24] !== m.setTrue ? (
|
|
25589
|
+
let eW;
|
|
25590
|
+
c[23] !== m.setFalse || c[24] !== m.setTrue ? (eW = (0, import_jsx_runtime.jsx)(TooltipTrigger, {
|
|
25591
25591
|
asChild: true,
|
|
25592
25592
|
children: (0, import_jsx_runtime.jsx)(Thumb, {
|
|
25593
25593
|
"data-testid": "thumb",
|
|
@@ -25597,28 +25597,28 @@ ${c}
|
|
|
25597
25597
|
onMouseEnter: m.setTrue,
|
|
25598
25598
|
onMouseLeave: m.setFalse
|
|
25599
25599
|
})
|
|
25600
|
-
}), c[23] = m.setFalse, c[24] = m.setTrue, c[25] =
|
|
25601
|
-
let
|
|
25602
|
-
c[26] !== h || c[27] !== u.value || c[28] !== d ? (
|
|
25600
|
+
}), c[23] = m.setFalse, c[24] = m.setTrue, c[25] = eW) : eW = c[25];
|
|
25601
|
+
let Z;
|
|
25602
|
+
c[26] !== h || c[27] !== u.value || c[28] !== d ? (Z = u.value != null && u.value.length === 2 && (0, import_jsx_runtime.jsx)(TooltipContent, {
|
|
25603
25603
|
children: prettyScientificNumber(d(u.value[0]), {
|
|
25604
25604
|
locale: h
|
|
25605
25605
|
})
|
|
25606
|
-
}, u.value[0]), c[26] = h, c[27] = u.value, c[28] = d, c[29] =
|
|
25606
|
+
}, u.value[0]), c[26] = h, c[27] = u.value, c[28] = d, c[29] = Z) : Z = c[29];
|
|
25607
25607
|
let tW;
|
|
25608
|
-
c[30] ===
|
|
25609
|
-
children:
|
|
25610
|
-
}), c[30] =
|
|
25608
|
+
c[30] === Z ? tW = c[31] : (tW = (0, import_jsx_runtime.jsx)(TooltipPortal, {
|
|
25609
|
+
children: Z
|
|
25610
|
+
}), c[30] = Z, c[31] = tW);
|
|
25611
25611
|
let nW;
|
|
25612
|
-
c[32] !== f || c[33] !==
|
|
25612
|
+
c[32] !== f || c[33] !== eW || c[34] !== tW ? (nW = (0, import_jsx_runtime.jsx)(TooltipProvider, {
|
|
25613
25613
|
children: (0, import_jsx_runtime.jsxs)(TooltipRoot, {
|
|
25614
25614
|
delayDuration: 0,
|
|
25615
25615
|
open: f,
|
|
25616
25616
|
children: [
|
|
25617
|
-
|
|
25617
|
+
eW,
|
|
25618
25618
|
tW
|
|
25619
25619
|
]
|
|
25620
25620
|
})
|
|
25621
|
-
}), c[32] = f, c[33] =
|
|
25621
|
+
}), c[32] = f, c[33] = eW, c[34] = tW, c[35] = nW) : nW = c[35];
|
|
25622
25622
|
let rW;
|
|
25623
25623
|
c[36] !== m.setFalse || c[37] !== m.setTrue ? (rW = (0, import_jsx_runtime.jsx)(TooltipTrigger, {
|
|
25624
25624
|
asChild: true,
|
|
@@ -25713,14 +25713,14 @@ ${c}
|
|
|
25713
25713
|
}, q = (e2) => {
|
|
25714
25714
|
h && l(e2);
|
|
25715
25715
|
}, r[10] = h, r[11] = l, r[12] = G, r[13] = q) : (G = r[12], q = r[13]);
|
|
25716
|
-
let $U,
|
|
25716
|
+
let $U, eW;
|
|
25717
25717
|
r[14] !== h || r[15] !== T || r[16] !== l || r[17] !== u ? ($U = () => {
|
|
25718
25718
|
h && !dequal(T, u) && l(T);
|
|
25719
|
-
},
|
|
25719
|
+
}, eW = () => {
|
|
25720
25720
|
h && !dequal(T, u) && l(T);
|
|
25721
|
-
}, r[14] = h, r[15] = T, r[16] = l, r[17] = u, r[18] = $U, r[19] =
|
|
25722
|
-
let
|
|
25723
|
-
r[20] !== y || r[21] !== S || r[22] !== T || r[23] !== g || r[24] !== d || r[25] !== m || r[26] !== f || r[27] !== W || r[28] !== G || r[29] !== q || r[30] !== $U || r[31] !==
|
|
25721
|
+
}, r[14] = h, r[15] = T, r[16] = l, r[17] = u, r[18] = $U, r[19] = eW) : ($U = r[18], eW = r[19]);
|
|
25722
|
+
let Z;
|
|
25723
|
+
r[20] !== y || r[21] !== S || r[22] !== T || r[23] !== g || r[24] !== d || r[25] !== m || r[26] !== f || r[27] !== W || r[28] !== G || r[29] !== q || r[30] !== $U || r[31] !== eW || r[32] !== b ? (Z = (0, import_jsx_runtime.jsx)(RangeSlider, {
|
|
25724
25724
|
id: S,
|
|
25725
25725
|
className: W,
|
|
25726
25726
|
value: T,
|
|
@@ -25732,9 +25732,9 @@ ${c}
|
|
|
25732
25732
|
onValueChange: G,
|
|
25733
25733
|
onValueCommit: q,
|
|
25734
25734
|
onPointerUp: $U,
|
|
25735
|
-
onMouseUp:
|
|
25735
|
+
onMouseUp: eW,
|
|
25736
25736
|
valueMap: b
|
|
25737
|
-
}), r[20] = y, r[21] = S, r[22] = T, r[23] = g, r[24] = d, r[25] = m, r[26] = f, r[27] = W, r[28] = G, r[29] = q, r[30] = $U, r[31] =
|
|
25737
|
+
}), r[20] = y, r[21] = S, r[22] = T, r[23] = g, r[24] = d, r[25] = m, r[26] = f, r[27] = W, r[28] = G, r[29] = q, r[30] = $U, r[31] = eW, r[32] = b, r[33] = Z) : Z = r[33];
|
|
25738
25738
|
let tW;
|
|
25739
25739
|
r[34] !== T || r[35] !== w || r[36] !== _ || r[37] !== b ? (tW = _ && (0, import_jsx_runtime.jsx)("div", {
|
|
25740
25740
|
className: "text-xs text-muted-foreground min-w-[16px]",
|
|
@@ -25745,13 +25745,13 @@ ${c}
|
|
|
25745
25745
|
})}`
|
|
25746
25746
|
}), r[34] = T, r[35] = w, r[36] = _, r[37] = b, r[38] = tW) : tW = r[38];
|
|
25747
25747
|
let nW;
|
|
25748
|
-
r[39] !==
|
|
25748
|
+
r[39] !== Z || r[40] !== tW || r[41] !== B ? (nW = (0, import_jsx_runtime.jsxs)("div", {
|
|
25749
25749
|
className: B,
|
|
25750
25750
|
children: [
|
|
25751
|
-
|
|
25751
|
+
Z,
|
|
25752
25752
|
tW
|
|
25753
25753
|
]
|
|
25754
|
-
}), r[39] =
|
|
25754
|
+
}), r[39] = Z, r[40] = tW, r[41] = B, r[42] = nW) : nW = r[42];
|
|
25755
25755
|
let rW;
|
|
25756
25756
|
return r[43] !== v || r[44] !== S || r[45] !== c || r[46] !== nW || r[47] !== M || r[48] !== L ? (rW = (0, import_jsx_runtime.jsx)(Labeled, {
|
|
25757
25757
|
label: c,
|
|
@@ -26466,7 +26466,7 @@ ${c}
|
|
|
26466
26466
|
return true;
|
|
26467
26467
|
}
|
|
26468
26468
|
}
|
|
26469
|
-
var LazyVegaComponent = import_react.lazy(() => import("./vega-component-
|
|
26469
|
+
var LazyVegaComponent = import_react.lazy(() => import("./vega-component-BFJTyykA.js")), VegaPlugin = class {
|
|
26470
26470
|
constructor() {
|
|
26471
26471
|
__publicField(this, "tagName", "marimo-vega");
|
|
26472
26472
|
__publicField(this, "validator", object({
|
|
@@ -26796,7 +26796,7 @@ ${c}
|
|
|
26796
26796
|
themeVariables: e.data.theme_variables
|
|
26797
26797
|
});
|
|
26798
26798
|
}
|
|
26799
|
-
}, LazyMermaid = (0, import_react.lazy)(() => import("./mermaid-
|
|
26799
|
+
}, LazyMermaid = (0, import_react.lazy)(() => import("./mermaid-D-HYBMEV.js").then(async (m) => {
|
|
26800
26800
|
await m.__tla;
|
|
26801
26801
|
return m;
|
|
26802
26802
|
})), import_compiler_runtime$22 = require_compiler_runtime();
|
|
@@ -29059,9 +29059,9 @@ ${c}
|
|
|
29059
29059
|
areRegExpsEqual: H,
|
|
29060
29060
|
areSetsEqual: G,
|
|
29061
29061
|
createIsNestedEqual: r2
|
|
29062
|
-
}),
|
|
29063
|
-
function
|
|
29064
|
-
return
|
|
29062
|
+
}), eW = T(q);
|
|
29063
|
+
function Z(e3, r3) {
|
|
29064
|
+
return eW(e3, r3, void 0);
|
|
29065
29065
|
}
|
|
29066
29066
|
var tW = T(l(q, {
|
|
29067
29067
|
createIsNestedEqual: function() {
|
|
@@ -29092,7 +29092,7 @@ ${c}
|
|
|
29092
29092
|
return l2 === void 0 && (l2 = /* @__PURE__ */ new WeakMap()), r3(e4, c2, l2);
|
|
29093
29093
|
});
|
|
29094
29094
|
}
|
|
29095
|
-
e2.circularDeepEqual = iW, e2.circularShallowEqual = oW, e2.createCustomCircularEqual = cW, e2.createCustomEqual = sW, e2.deepEqual =
|
|
29095
|
+
e2.circularDeepEqual = iW, e2.circularShallowEqual = oW, e2.createCustomCircularEqual = cW, e2.createCustomEqual = sW, e2.deepEqual = Z, e2.sameValueZeroEqual = f, e2.shallowEqual = nW, Object.defineProperty(e2, "__esModule", {
|
|
29096
29096
|
value: true
|
|
29097
29097
|
});
|
|
29098
29098
|
}));
|
|
@@ -29315,13 +29315,13 @@ ${c}
|
|
|
29315
29315
|
function G(e2) {
|
|
29316
29316
|
return e2 * 100 + "%";
|
|
29317
29317
|
}
|
|
29318
|
-
var q = (e2, r2, c2, l2) => e2 + c2 > l2 ? r2 : c2, $U = (e2, r2, c2) => e2 < 0 ? r2 : c2,
|
|
29318
|
+
var q = (e2, r2, c2, l2) => e2 + c2 > l2 ? r2 : c2, $U = (e2, r2, c2) => e2 < 0 ? r2 : c2, eW = (e2) => Math.max(0, e2), Z = (e2) => Math.max(0, e2), tW = (e2, r2, c2) => {
|
|
29319
29319
|
let { left: l2, height: u2, width: d2 } = r2, f2 = e2.top - (u2 - e2.height);
|
|
29320
29320
|
return {
|
|
29321
29321
|
left: l2,
|
|
29322
29322
|
width: d2,
|
|
29323
29323
|
height: $U(f2, e2.height, u2),
|
|
29324
|
-
top:
|
|
29324
|
+
top: Z(f2)
|
|
29325
29325
|
};
|
|
29326
29326
|
}, nW = (e2, r2, c2) => {
|
|
29327
29327
|
let { top: l2, left: u2, height: d2, width: f2 } = r2;
|
|
@@ -29329,15 +29329,15 @@ ${c}
|
|
|
29329
29329
|
top: l2,
|
|
29330
29330
|
height: d2,
|
|
29331
29331
|
width: q(e2.left, e2.width, f2, c2),
|
|
29332
|
-
left:
|
|
29332
|
+
left: eW(u2)
|
|
29333
29333
|
};
|
|
29334
29334
|
}, rW = (e2, r2, c2) => {
|
|
29335
29335
|
let { top: l2, height: u2, width: d2 } = r2, f2 = e2.left - (d2 - e2.width);
|
|
29336
29336
|
return {
|
|
29337
29337
|
height: u2,
|
|
29338
29338
|
width: f2 < 0 ? e2.width : q(e2.left, e2.width, d2, c2),
|
|
29339
|
-
top:
|
|
29340
|
-
left:
|
|
29339
|
+
top: Z(l2),
|
|
29340
|
+
left: eW(f2)
|
|
29341
29341
|
};
|
|
29342
29342
|
}, iW = (e2, r2, c2) => {
|
|
29343
29343
|
let { top: l2, left: u2, height: d2, width: f2 } = r2;
|
|
@@ -29345,7 +29345,7 @@ ${c}
|
|
|
29345
29345
|
width: f2,
|
|
29346
29346
|
left: u2,
|
|
29347
29347
|
height: $U(l2, e2.height, d2),
|
|
29348
|
-
top:
|
|
29348
|
+
top: Z(l2)
|
|
29349
29349
|
};
|
|
29350
29350
|
}, aW = {
|
|
29351
29351
|
n: tW,
|
|
@@ -32248,7 +32248,7 @@ ${c}
|
|
|
32248
32248
|
], r[4] = c.bordered, r[5] = w, r[6] = T), (0, import_react.useEffect)(w, T);
|
|
32249
32249
|
let E = useIsDragging(), O, j;
|
|
32250
32250
|
r[7] === E ? (O = r[8], j = r[9]) : ({ isDragging: j, ...O } = E, r[7] = E, r[8] = O, r[9] = j);
|
|
32251
|
-
let M = !f && !v, I, L, R, z, B, H, W, G, q, $U,
|
|
32251
|
+
let M = !f && !v, I, L, R, z, B, H, W, G, q, $U, eW, Z, tW, nW, rW, iW, aW, oW, sW, cW, lW, uW, dW, fW, pW, mW;
|
|
32252
32252
|
if (r[10] !== u || r[11] !== S || r[12] !== O || r[13] !== g || r[14] !== M || r[15] !== h || r[16] !== j || r[17] !== f || r[18] !== c || r[19] !== d || r[20] !== l) {
|
|
32253
32253
|
let e2 = Maps.keyBy(c.cells, _temp2$3), m2;
|
|
32254
32254
|
r[47] !== c || r[48] !== l ? (m2 = (e3) => (r2) => {
|
|
@@ -32274,16 +32274,16 @@ ${c}
|
|
|
32274
32274
|
r[60] !== b2 || r[61] !== w2 || r[62] !== T2 ? (z = cn("w-full mx-auto bg-background flex-1 min-h-full", b2, w2, T2), r[60] = b2, r[61] = w2, r[62] = T2, r[63] = z) : z = r[63], r[64] === f ? B = r[65] : (B = f ? [
|
|
32275
32275
|
20,
|
|
32276
32276
|
20
|
|
32277
|
-
] : void 0, r[64] = f, r[65] = B), H = MARGIN, W = false, G = null, q = true, $U = c.rowHeight, r[66] !== f || r[67] !== c || r[68] !== l ? (
|
|
32277
|
+
] : void 0, r[64] = f, r[65] = B), H = MARGIN, W = false, G = null, q = true, $U = c.rowHeight, r[66] !== f || r[67] !== c || r[68] !== l ? (eW = (e3) => {
|
|
32278
32278
|
f || l({
|
|
32279
32279
|
...c,
|
|
32280
32280
|
cells: e3
|
|
32281
32281
|
});
|
|
32282
|
-
}, r[66] = f, r[67] = c, r[68] = l, r[69] =
|
|
32282
|
+
}, r[66] = f, r[67] = c, r[68] = l, r[69] = eW) : eW = r[69], r[70] === g ? Z = r[71] : (Z = g ? {
|
|
32283
32283
|
i: g.i,
|
|
32284
32284
|
w: g.w || 2,
|
|
32285
32285
|
h: g.h || 2
|
|
32286
|
-
} : void 0, r[70] = g, r[71] =
|
|
32286
|
+
} : void 0, r[70] = g, r[71] = Z), r[72] !== O || r[73] !== c || r[74] !== l ? (tW = (e3, r2, u2) => {
|
|
32287
32287
|
O.onDragStop(), r2 && l({
|
|
32288
32288
|
...c,
|
|
32289
32289
|
cells: [
|
|
@@ -32328,10 +32328,10 @@ ${c}
|
|
|
32328
32328
|
}, r2.id) : (0, import_jsx_runtime.jsx)("div", {
|
|
32329
32329
|
children: m3
|
|
32330
32330
|
}, r2.id);
|
|
32331
|
-
}), r[10] = u, r[11] = S, r[12] = O, r[13] = g, r[14] = M, r[15] = h, r[16] = j, r[17] = f, r[18] = c, r[19] = d, r[20] = l, r[21] = I, r[22] = L, r[23] = R, r[24] = z, r[25] = B, r[26] = H, r[27] = W, r[28] = G, r[29] = q, r[30] = $U, r[31] =
|
|
32332
|
-
} else I = r[21], L = r[22], R = r[23], z = r[24], B = r[25], H = r[26], W = r[27], G = r[28], q = r[29], $U = r[30],
|
|
32331
|
+
}), r[10] = u, r[11] = S, r[12] = O, r[13] = g, r[14] = M, r[15] = h, r[16] = j, r[17] = f, r[18] = c, r[19] = d, r[20] = l, r[21] = I, r[22] = L, r[23] = R, r[24] = z, r[25] = B, r[26] = H, r[27] = W, r[28] = G, r[29] = q, r[30] = $U, r[31] = eW, r[32] = Z, r[33] = tW, r[34] = nW, r[35] = rW, r[36] = iW, r[37] = aW, r[38] = oW, r[39] = sW, r[40] = cW, r[41] = lW, r[42] = uW, r[43] = dW, r[44] = fW, r[45] = pW, r[46] = mW;
|
|
32332
|
+
} else I = r[21], L = r[22], R = r[23], z = r[24], B = r[25], H = r[26], W = r[27], G = r[28], q = r[29], $U = r[30], eW = r[31], Z = r[32], tW = r[33], nW = r[34], rW = r[35], iW = r[36], aW = r[37], oW = r[38], sW = r[39], cW = r[40], lW = r[41], uW = r[42], dW = r[43], fW = r[44], pW = r[45], mW = r[46];
|
|
32333
32333
|
let hW;
|
|
32334
|
-
r[82] !== I || r[83] !== R || r[84] !== z || r[85] !== B || r[86] !== H || r[87] !== W || r[88] !== G || r[89] !== q || r[90] !== $U || r[91] !==
|
|
32334
|
+
r[82] !== I || r[83] !== R || r[84] !== z || r[85] !== B || r[86] !== H || r[87] !== W || r[88] !== G || r[89] !== q || r[90] !== $U || r[91] !== eW || r[92] !== Z || r[93] !== tW || r[94] !== nW || r[95] !== rW || r[96] !== iW || r[97] !== aW || r[98] !== oW || r[99] !== sW || r[100] !== cW || r[101] !== lW || r[102] !== uW || r[103] !== dW || r[104] !== fW || r[105] !== pW || r[106] !== mW ? (hW = (0, import_jsx_runtime.jsx)(I, {
|
|
32335
32335
|
breakpoint: dW,
|
|
32336
32336
|
layouts: fW,
|
|
32337
32337
|
style: pW,
|
|
@@ -32344,8 +32344,8 @@ ${c}
|
|
|
32344
32344
|
compactType: G,
|
|
32345
32345
|
preventCollision: q,
|
|
32346
32346
|
rowHeight: $U,
|
|
32347
|
-
onLayoutChange:
|
|
32348
|
-
droppingItem:
|
|
32347
|
+
onLayoutChange: eW,
|
|
32348
|
+
droppingItem: Z,
|
|
32349
32349
|
onDrop: tW,
|
|
32350
32350
|
onDragStart: nW,
|
|
32351
32351
|
onDrag: rW,
|
|
@@ -32356,7 +32356,7 @@ ${c}
|
|
|
32356
32356
|
isResizable: cW,
|
|
32357
32357
|
draggableHandle: lW,
|
|
32358
32358
|
children: uW
|
|
32359
|
-
}), r[82] = I, r[83] = R, r[84] = z, r[85] = B, r[86] = H, r[87] = W, r[88] = G, r[89] = q, r[90] = $U, r[91] =
|
|
32359
|
+
}), r[82] = I, r[83] = R, r[84] = z, r[85] = B, r[86] = H, r[87] = W, r[88] = G, r[89] = q, r[90] = $U, r[91] = eW, r[92] = Z, r[93] = tW, r[94] = nW, r[95] = rW, r[96] = iW, r[97] = aW, r[98] = oW, r[99] = sW, r[100] = cW, r[101] = lW, r[102] = uW, r[103] = dW, r[104] = fW, r[105] = pW, r[106] = mW, r[107] = hW) : hW = r[107];
|
|
32360
32360
|
let gW = hW, _W, vW, yW, bW, xW, SW, CW;
|
|
32361
32361
|
if (r[108] !== u || r[109] !== gW || r[110] !== h || r[111] !== v || r[112] !== f || r[113] !== c || r[114] !== d || r[115] !== l || r[116] !== L) {
|
|
32362
32362
|
CW = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
|
|
@@ -32779,21 +32779,21 @@ ${c}
|
|
|
32779
32779
|
r[35] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($U = (0, import_jsx_runtime.jsx)(GripHorizontal, {
|
|
32780
32780
|
className: cn(DRAG_HANDLE, "cursor-move", "h-4 w-4 opacity-60 hover:opacity-100")
|
|
32781
32781
|
}), r[35] = $U) : $U = r[35];
|
|
32782
|
-
let
|
|
32783
|
-
r[36] === l ?
|
|
32782
|
+
let eW;
|
|
32783
|
+
r[36] === l ? eW = r[37] : (eW = (0, import_jsx_runtime.jsx)(X, {
|
|
32784
32784
|
className: "h-4 w-4 opacity-60 hover:opacity-100",
|
|
32785
32785
|
onClick: () => l()
|
|
32786
|
-
}), r[36] = l, r[37] =
|
|
32787
|
-
let
|
|
32788
|
-
return r[38] !== I || r[39] !== q || r[40] !==
|
|
32786
|
+
}), r[36] = l, r[37] = eW);
|
|
32787
|
+
let Z;
|
|
32788
|
+
return r[38] !== I || r[39] !== q || r[40] !== eW || r[41] !== w ? (Z = (0, import_jsx_runtime.jsxs)("div", {
|
|
32789
32789
|
className: w,
|
|
32790
32790
|
children: [
|
|
32791
32791
|
I,
|
|
32792
32792
|
q,
|
|
32793
32793
|
$U,
|
|
32794
|
-
|
|
32794
|
+
eW
|
|
32795
32795
|
]
|
|
32796
|
-
}), r[38] = I, r[39] = q, r[40] =
|
|
32796
|
+
}), r[38] = I, r[39] = q, r[40] = eW, r[41] = w, r[42] = Z) : Z = r[42], Z;
|
|
32797
32797
|
};
|
|
32798
32798
|
function isSidebarCell(e) {
|
|
32799
32799
|
var _a3;
|
|
@@ -34799,29 +34799,29 @@ ${c}
|
|
|
34799
34799
|
M
|
|
34800
34800
|
]), R = (0, import_react.useRef)(null), [z, B] = (0, import_react.useState)(null), [H, W] = (0, import_react.useState)(null), G = useLatestValue(h, Object.values(h)), q = useUniqueId("DndDescribedBy", r), $U = (0, import_react.useMemo)(() => j.getEnabled(), [
|
|
34801
34801
|
j
|
|
34802
|
-
]),
|
|
34802
|
+
]), eW = useMeasuringConfiguration(p), { droppableRects: Z, measureDroppableContainers: tW, measuringScheduled: nW } = useDroppableMeasuring($U, {
|
|
34803
34803
|
dragging: w,
|
|
34804
34804
|
dependencies: [
|
|
34805
34805
|
O.x,
|
|
34806
34806
|
O.y
|
|
34807
34807
|
],
|
|
34808
|
-
config:
|
|
34808
|
+
config: eW.droppable
|
|
34809
34809
|
}), rW = useCachedNode(E, T), iW = (0, import_react.useMemo)(() => H ? getEventCoordinates(H) : null, [
|
|
34810
34810
|
H
|
|
34811
|
-
]), aW = IW(), oW = useInitialRect(rW,
|
|
34811
|
+
]), aW = IW(), oW = useInitialRect(rW, eW.draggable.measure);
|
|
34812
34812
|
useLayoutShiftScrollCompensation({
|
|
34813
34813
|
activeNode: T == null ? null : E.get(T),
|
|
34814
34814
|
config: aW.layoutShiftCompensation,
|
|
34815
34815
|
initialRect: oW,
|
|
34816
|
-
measure:
|
|
34816
|
+
measure: eW.draggable.measure
|
|
34817
34817
|
});
|
|
34818
|
-
let sW = useRect(rW,
|
|
34818
|
+
let sW = useRect(rW, eW.draggable.measure, oW), cW = useRect(rW ? rW.parentElement : null), lW = (0, import_react.useRef)({
|
|
34819
34819
|
activatorEvent: null,
|
|
34820
34820
|
active: null,
|
|
34821
34821
|
activeNode: rW,
|
|
34822
34822
|
collisionRect: null,
|
|
34823
34823
|
collisions: null,
|
|
34824
|
-
droppableRects:
|
|
34824
|
+
droppableRects: Z,
|
|
34825
34825
|
draggableNodes: E,
|
|
34826
34826
|
draggingNode: null,
|
|
34827
34827
|
draggingNodeRect: null,
|
|
@@ -34830,7 +34830,7 @@ ${c}
|
|
|
34830
34830
|
scrollableAncestors: [],
|
|
34831
34831
|
scrollAdjustedTranslate: null
|
|
34832
34832
|
}), uW = j.getNodeFor((_a3 = lW.current.over) == null ? void 0 : _a3.id), dW = useDragOverlayMeasuring({
|
|
34833
|
-
measure:
|
|
34833
|
+
measure: eW.dragOverlay.measure
|
|
34834
34834
|
}), fW = dW.nodeRef.current ?? rW, pW = w ? dW.rect ?? sW : null, mW = !!(dW.nodeRef.current && dW.rect), hW = useRectDelta(mW ? null : sW), gW = useWindowRect(fW ? getWindow(fW) : null), _W = useScrollableAncestors(w ? uW ?? rW : null), vW = useRects(_W), yW = applyModifiers(m, {
|
|
34835
34835
|
transform: {
|
|
34836
34836
|
x: O.x - hW.x,
|
|
@@ -34853,7 +34853,7 @@ ${c}
|
|
|
34853
34853
|
]), wW = add(yW, SW), TW = pW ? getAdjustedRect(pW, yW) : null, EW = L && TW ? f({
|
|
34854
34854
|
active: L,
|
|
34855
34855
|
collisionRect: TW,
|
|
34856
|
-
droppableRects:
|
|
34856
|
+
droppableRects: Z,
|
|
34857
34857
|
droppableContainers: $U,
|
|
34858
34858
|
pointerCoordinates: bW
|
|
34859
34859
|
}) : null, DW = getFirstCollision(EW, "id"), [OW, kW] = (0, import_react.useState)(null), AW = adjustScale(mW ? yW : add(yW, CW), (OW == null ? void 0 : OW.rect) ?? null, sW), jW = (0, import_react.useRef)(null), MW = (0, import_react.useCallback)((e2, r2) => {
|
|
@@ -35027,7 +35027,7 @@ ${c}
|
|
|
35027
35027
|
activeNode: rW,
|
|
35028
35028
|
collisionRect: TW,
|
|
35029
35029
|
collisions: EW,
|
|
35030
|
-
droppableRects:
|
|
35030
|
+
droppableRects: Z,
|
|
35031
35031
|
draggableNodes: E,
|
|
35032
35032
|
draggingNode: fW,
|
|
35033
35033
|
draggingNodeRect: pW,
|
|
@@ -35047,7 +35047,7 @@ ${c}
|
|
|
35047
35047
|
E,
|
|
35048
35048
|
fW,
|
|
35049
35049
|
pW,
|
|
35050
|
-
|
|
35050
|
+
Z,
|
|
35051
35051
|
j,
|
|
35052
35052
|
OW,
|
|
35053
35053
|
_W,
|
|
@@ -35070,12 +35070,12 @@ ${c}
|
|
|
35070
35070
|
dragOverlay: dW,
|
|
35071
35071
|
draggableNodes: E,
|
|
35072
35072
|
droppableContainers: j,
|
|
35073
|
-
droppableRects:
|
|
35073
|
+
droppableRects: Z,
|
|
35074
35074
|
over: OW,
|
|
35075
35075
|
measureDroppableContainers: tW,
|
|
35076
35076
|
scrollableAncestors: _W,
|
|
35077
35077
|
scrollableAncestorRects: vW,
|
|
35078
|
-
measuringConfiguration:
|
|
35078
|
+
measuringConfiguration: eW,
|
|
35079
35079
|
measuringScheduled: nW,
|
|
35080
35080
|
windowRect: gW
|
|
35081
35081
|
}), [
|
|
@@ -35088,12 +35088,12 @@ ${c}
|
|
|
35088
35088
|
dW,
|
|
35089
35089
|
E,
|
|
35090
35090
|
j,
|
|
35091
|
-
|
|
35091
|
+
Z,
|
|
35092
35092
|
OW,
|
|
35093
35093
|
tW,
|
|
35094
35094
|
_W,
|
|
35095
35095
|
vW,
|
|
35096
|
-
|
|
35096
|
+
eW,
|
|
35097
35097
|
nW,
|
|
35098
35098
|
gW
|
|
35099
35099
|
]), FW = (0, import_react.useMemo)(() => ({
|
|
@@ -35661,7 +35661,7 @@ ${c}
|
|
|
35661
35661
|
updateMeasurementsFor: I,
|
|
35662
35662
|
...m
|
|
35663
35663
|
}
|
|
35664
|
-
}), { active: H, activatorEvent: W, activeNodeRect: G, attributes: q, setNodeRef: $U, listeners:
|
|
35664
|
+
}), { active: H, activatorEvent: W, activeNodeRect: G, attributes: q, setNodeRef: $U, listeners: eW, isDragging: Z, over: tW, setActivatorNodeRef: nW, transform: rW } = useDraggable({
|
|
35665
35665
|
id: f,
|
|
35666
35666
|
data: M,
|
|
35667
35667
|
attributes: {
|
|
@@ -35669,7 +35669,7 @@ ${c}
|
|
|
35669
35669
|
...c
|
|
35670
35670
|
},
|
|
35671
35671
|
disabled: O.draggable
|
|
35672
|
-
}), iW = useCombinedRefs(B, $U), aW = !!H, oW = aW && !b && isValidIndex(v) && isValidIndex(w), sW = !T &&
|
|
35672
|
+
}), iW = useCombinedRefs(B, $U), aW = !!H, oW = aW && !b && isValidIndex(v) && isValidIndex(w), sW = !T && Z, cW = oW ? (sW && oW ? rW : null) ?? (p ?? E)({
|
|
35673
35673
|
rects: S,
|
|
35674
35674
|
activeNodeRect: G,
|
|
35675
35675
|
activeIndex: v,
|
|
@@ -35688,7 +35688,7 @@ ${c}
|
|
|
35688
35688
|
}), fW = g !== dW.current.items, pW = r({
|
|
35689
35689
|
active: H,
|
|
35690
35690
|
containerId: _,
|
|
35691
|
-
isDragging:
|
|
35691
|
+
isDragging: Z,
|
|
35692
35692
|
isSorting: aW,
|
|
35693
35693
|
id: f,
|
|
35694
35694
|
index: j,
|
|
@@ -35734,8 +35734,8 @@ ${c}
|
|
|
35734
35734
|
items: g,
|
|
35735
35735
|
isOver: z,
|
|
35736
35736
|
isSorting: aW,
|
|
35737
|
-
isDragging:
|
|
35738
|
-
listeners:
|
|
35737
|
+
isDragging: Z,
|
|
35738
|
+
listeners: eW,
|
|
35739
35739
|
node: R,
|
|
35740
35740
|
overIndex: w,
|
|
35741
35741
|
over: tW,
|
|
@@ -36048,15 +36048,15 @@ ${c}
|
|
|
36048
36048
|
G
|
|
36049
36049
|
]
|
|
36050
36050
|
}), r[35] = c.id, r[36] = h, r[37] = y, r[38] = b, r[39] = I, r[40] = z, r[41] = B, r[42] = H, r[43] = W, r[44] = G, r[45] = q) : q = r[45];
|
|
36051
|
-
let
|
|
36052
|
-
if (!v && !g) return
|
|
36051
|
+
let eW = q;
|
|
36052
|
+
if (!v && !g) return eW;
|
|
36053
36053
|
let Z;
|
|
36054
|
-
r[46] ===
|
|
36054
|
+
r[46] === eW ? Z = r[47] : (Z = (0, import_jsx_runtime.jsx)(ContextMenuTrigger, {
|
|
36055
36055
|
asChild: true,
|
|
36056
|
-
children:
|
|
36057
|
-
}), r[46] =
|
|
36058
|
-
let
|
|
36059
|
-
r[48] === v ?
|
|
36056
|
+
children: eW
|
|
36057
|
+
}), r[46] = eW, r[47] = Z);
|
|
36058
|
+
let tW;
|
|
36059
|
+
r[48] === v ? tW = r[49] : (tW = v && (0, import_jsx_runtime.jsxs)(ContextMenuItem, {
|
|
36060
36060
|
onSelect: v,
|
|
36061
36061
|
children: [
|
|
36062
36062
|
(0, import_jsx_runtime.jsx)(Plus, {
|
|
@@ -36064,9 +36064,9 @@ ${c}
|
|
|
36064
36064
|
}),
|
|
36065
36065
|
"Add cell"
|
|
36066
36066
|
]
|
|
36067
|
-
}), r[48] = v, r[49] =
|
|
36068
|
-
let
|
|
36069
|
-
r[50] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
36067
|
+
}), r[48] = v, r[49] = tW);
|
|
36068
|
+
let nW;
|
|
36069
|
+
r[50] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (nW = (0, import_jsx_runtime.jsx)(ContextMenuSeparator, {}), r[50] = nW) : nW = r[50];
|
|
36070
36070
|
let rW;
|
|
36071
36071
|
r[51] === g ? rW = r[52] : (rW = g && (0, import_jsx_runtime.jsxs)(ContextMenuItem, {
|
|
36072
36072
|
variant: "danger",
|
|
@@ -36079,13 +36079,13 @@ ${c}
|
|
|
36079
36079
|
]
|
|
36080
36080
|
}), r[51] = g, r[52] = rW);
|
|
36081
36081
|
let iW;
|
|
36082
|
-
r[53] !==
|
|
36082
|
+
r[53] !== tW || r[54] !== rW ? (iW = (0, import_jsx_runtime.jsxs)(ContextMenuContent, {
|
|
36083
36083
|
children: [
|
|
36084
|
-
eW,
|
|
36085
36084
|
tW,
|
|
36085
|
+
nW,
|
|
36086
36086
|
rW
|
|
36087
36087
|
]
|
|
36088
|
-
}), r[53] =
|
|
36088
|
+
}), r[53] = tW, r[54] = rW, r[55] = iW) : iW = r[55];
|
|
36089
36089
|
let aW;
|
|
36090
36090
|
return r[56] !== Z || r[57] !== iW ? (aW = (0, import_jsx_runtime.jsxs)(ContextMenu, {
|
|
36091
36091
|
children: [
|
|
@@ -36146,8 +36146,8 @@ ${c}
|
|
|
36146
36146
|
...B,
|
|
36147
36147
|
...h
|
|
36148
36148
|
}, r[20] = M, r[21] = h, r[22] = B, r[23] = j, r[24] = H) : H = r[24];
|
|
36149
|
-
let W = H, G = E || T, q = S || w || T ? "border-blue-500" : "border-border hover:border-blue-500/50", $U = w && !T && "opacity-35",
|
|
36150
|
-
r[25] !== l || r[26] !== $U || r[27] !==
|
|
36149
|
+
let W = H, G = E || T, q = S || w || T ? "border-blue-500" : "border-border hover:border-blue-500/50", $U = w && !T && "opacity-35", eW = T && "opacity-95 shadow-lg", Z;
|
|
36150
|
+
r[25] !== l || r[26] !== $U || r[27] !== eW || r[28] !== q ? (Z = cn("border-2 shrink-0 rounded-md relative select-none bg-background cursor-pointer active:cursor-grabbing overflow-hidden transition-colors", q, $U, eW, l), r[25] = l, r[26] = $U, r[27] = eW, r[28] = q, r[29] = Z) : Z = r[29];
|
|
36151
36151
|
let tW;
|
|
36152
36152
|
r[30] !== c || r[31] !== M || r[32] !== O || r[33] !== I || r[34] !== G || r[35] !== j ? (tW = G && (0, import_jsx_runtime.jsx)("div", {
|
|
36153
36153
|
className: "flex p-6 box-border pointer-events-none mo-slide-content overflow-hidden",
|
|
@@ -36185,9 +36185,9 @@ ${c}
|
|
|
36185
36185
|
})
|
|
36186
36186
|
}), r[39] = z, r[40] = R, r[41] = rW) : rW = r[41];
|
|
36187
36187
|
let iW;
|
|
36188
|
-
return r[42] !== W || r[43] !== d || r[44] !== f || r[45] !==
|
|
36188
|
+
return r[42] !== W || r[43] !== d || r[44] !== f || r[45] !== Z || r[46] !== tW || r[47] !== nW || r[48] !== rW ? (iW = (0, import_jsx_runtime.jsxs)("div", {
|
|
36189
36189
|
ref: f,
|
|
36190
|
-
className:
|
|
36190
|
+
className: Z,
|
|
36191
36191
|
style: W,
|
|
36192
36192
|
...d,
|
|
36193
36193
|
children: [
|
|
@@ -36195,7 +36195,7 @@ ${c}
|
|
|
36195
36195
|
nW,
|
|
36196
36196
|
rW
|
|
36197
36197
|
]
|
|
36198
|
-
}), r[42] = W, r[43] = d, r[44] = f, r[45] =
|
|
36198
|
+
}), r[42] = W, r[43] = d, r[44] = f, r[45] = Z, r[46] = tW, r[47] = nW, r[48] = rW, r[49] = iW) : iW = r[49], iW;
|
|
36199
36199
|
}, MiniCodePreview = (e) => {
|
|
36200
36200
|
let r = (0, import_compiler_runtime$10.c)(2), { code: c } = e, l;
|
|
36201
36201
|
return r[0] === c ? l = r[1] : (l = (0, import_jsx_runtime.jsx)("pre", {
|
|
@@ -36235,7 +36235,7 @@ ${c}
|
|
|
36235
36235
|
function _temp2$2(e) {
|
|
36236
36236
|
e.target === e.currentTarget && e.key === "Enter" && (e.preventDefault(), e.stopPropagation(), e.currentTarget.click());
|
|
36237
36237
|
}
|
|
36238
|
-
var LazySlidesComponent = import_react.lazy(() => import("./reveal-component-
|
|
36238
|
+
var LazySlidesComponent = import_react.lazy(() => import("./reveal-component-C1Y6sY7N.js"));
|
|
36239
36239
|
const SlidesLayoutRenderer = ({ layout: e, setLayout: r, cells: c, mode: l }) => {
|
|
36240
36240
|
var _a3;
|
|
36241
36241
|
let u = useAtomValue(kioskModeAtom), d = l === "read" || u, f = useAtomValue(numColumnsAtom) > 1, [p, m] = (0, import_react.useState)(null), { slideCells: h, skippedIds: g, noOutputIds: _, slideTypes: v, startCellIndex: y } = (0, import_react.useMemo)(() => computeSlideCellsInfo(c, e), [
|
|
@@ -36613,7 +36613,7 @@ ${c}
|
|
|
36613
36613
|
let r2 = e2.scrollHeight - e2.clientHeight;
|
|
36614
36614
|
r2 - e2.scrollTop < 120 && (e2.scrollTop = r2);
|
|
36615
36615
|
}, r[2] = B) : B = r[2], (0, import_react.useLayoutEffect)(B), !L && isInternalCellName(S)) return null;
|
|
36616
|
-
let H, W, G, q, $U,
|
|
36616
|
+
let H, W, G, q, $U, eW, Z, tW, nW, rW;
|
|
36617
36617
|
if (r[3] !== T || r[4] !== M || r[5] !== I || r[6] !== L || r[7] !== _ || r[8] !== b || r[9] !== d || r[10] !== z || r[11] !== O || r[12] !== j || r[13] !== E || r[14] !== R || r[15] !== f || r[16] !== u || r[17] !== y || r[18] !== m || r[19] !== l) {
|
|
36618
36618
|
let e2 = I.toReversed(), g2 = e2.some(_temp$2), v2 = e2.findIndex(_temp2$1), S2;
|
|
36619
36619
|
r[30] === I ? S2 = r[31] : (S2 = () => I.filter(_temp3$1).map(_temp4$1).join("\n"), r[30] = I, r[31] = S2);
|
|
@@ -36659,7 +36659,7 @@ ${c}
|
|
|
36659
36659
|
})
|
|
36660
36660
|
})
|
|
36661
36661
|
]
|
|
36662
|
-
}), r[32] = B2, r[33] = L, r[34] = d, r[35] = z, r[36] = f, r[37] = u, r[38] = l, r[39] = W) : W = r[39], G = y ? "This console output is stale" : void 0, q = "console-output-area", $U = c,
|
|
36662
|
+
}), r[32] = B2, r[33] = L, r[34] = d, r[35] = z, r[36] = f, r[37] = u, r[38] = l, r[39] = W) : W = r[39], G = y ? "This console output is stale" : void 0, q = "console-output-area", $U = c, eW = R, Z = 0;
|
|
36663
36663
|
let iW2 = y && "marimo-output-stale", aW2 = L ? "p-5" : "p-3";
|
|
36664
36664
|
r[40] !== M || r[41] !== iW2 || r[42] !== aW2 ? (tW = cn("console-output-area overflow-hidden rounded-b-lg flex flex-col-reverse w-full gap-1 focus:outline-hidden", iW2, aW2, M), r[40] = M, r[41] = iW2, r[42] = aW2, r[43] = tW) : tW = r[43], r[44] === d ? nW = r[45] : (nW = d ? {
|
|
36665
36665
|
maxHeight: "none"
|
|
@@ -36692,8 +36692,8 @@ ${c}
|
|
|
36692
36692
|
wrapText: l
|
|
36693
36693
|
})
|
|
36694
36694
|
}, r2);
|
|
36695
|
-
}), r[3] = T, r[4] = M, r[5] = I, r[6] = L, r[7] = _, r[8] = b, r[9] = d, r[10] = z, r[11] = O, r[12] = j, r[13] = E, r[14] = R, r[15] = f, r[16] = u, r[17] = y, r[18] = m, r[19] = l, r[20] = H, r[21] = W, r[22] = G, r[23] = q, r[24] = $U, r[25] =
|
|
36696
|
-
} else H = r[20], W = r[21], G = r[22], q = r[23], $U = r[24],
|
|
36695
|
+
}), r[3] = T, r[4] = M, r[5] = I, r[6] = L, r[7] = _, r[8] = b, r[9] = d, r[10] = z, r[11] = O, r[12] = j, r[13] = E, r[14] = R, r[15] = f, r[16] = u, r[17] = y, r[18] = m, r[19] = l, r[20] = H, r[21] = W, r[22] = G, r[23] = q, r[24] = $U, r[25] = eW, r[26] = Z, r[27] = tW, r[28] = nW, r[29] = rW;
|
|
36696
|
+
} else H = r[20], W = r[21], G = r[22], q = r[23], $U = r[24], eW = r[25], Z = r[26], tW = r[27], nW = r[28], rW = r[29];
|
|
36697
36697
|
let iW;
|
|
36698
36698
|
r[46] !== T || r[47] !== S ? (iW = (0, import_jsx_runtime.jsx)(NameCellContentEditable, {
|
|
36699
36699
|
value: S,
|
|
@@ -36701,19 +36701,19 @@ ${c}
|
|
|
36701
36701
|
className: "bg-(--slate-4) border-(--slate-4) hover:bg-(--slate-5) dark:border-(--sky-5) dark:bg-(--sky-6) dark:text-(--sky-12) text-(--slate-12) rounded-l rounded-br-lg absolute right-0 bottom-0 text-xs px-1.5 py-0.5 font-mono max-w-[75%] whitespace-nowrap overflow-hidden"
|
|
36702
36702
|
}), r[46] = T, r[47] = S, r[48] = iW) : iW = r[48];
|
|
36703
36703
|
let aW;
|
|
36704
|
-
r[49] !== iW || r[50] !== G || r[51] !== q || r[52] !== $U || r[53] !==
|
|
36704
|
+
r[49] !== iW || r[50] !== G || r[51] !== q || r[52] !== $U || r[53] !== eW || r[54] !== Z || r[55] !== tW || r[56] !== nW || r[57] !== rW ? (aW = (0, import_jsx_runtime.jsxs)("div", {
|
|
36705
36705
|
title: G,
|
|
36706
36706
|
"data-testid": q,
|
|
36707
36707
|
ref: $U,
|
|
36708
|
-
...
|
|
36709
|
-
tabIndex:
|
|
36708
|
+
...eW,
|
|
36709
|
+
tabIndex: Z,
|
|
36710
36710
|
className: tW,
|
|
36711
36711
|
style: nW,
|
|
36712
36712
|
children: [
|
|
36713
36713
|
rW,
|
|
36714
36714
|
iW
|
|
36715
36715
|
]
|
|
36716
|
-
}), r[49] = iW, r[50] = G, r[51] = q, r[52] = $U, r[53] =
|
|
36716
|
+
}), r[49] = iW, r[50] = G, r[51] = q, r[52] = $U, r[53] = eW, r[54] = Z, r[55] = tW, r[56] = nW, r[57] = rW, r[58] = aW) : aW = r[58];
|
|
36717
36717
|
let oW;
|
|
36718
36718
|
return r[59] !== H || r[60] !== W || r[61] !== aW ? (oW = (0, import_jsx_runtime.jsxs)("div", {
|
|
36719
36719
|
className: H,
|
|
@@ -37185,23 +37185,23 @@ ${c}
|
|
|
37185
37185
|
if ((h || _ || m || W) && !G) return null;
|
|
37186
37186
|
let q;
|
|
37187
37187
|
r[43] !== d || r[44] !== T ? (q = cellDomProps(d, T), r[43] = d, r[44] = T, r[45] = q) : q = r[45];
|
|
37188
|
-
let $U = w === "edit",
|
|
37189
|
-
r[46] !== d || r[47] !== R || r[48] !== c || r[49] !== I || r[50] !== $U ? (
|
|
37188
|
+
let $U = w === "edit", eW;
|
|
37189
|
+
r[46] !== d || r[47] !== R || r[48] !== c || r[49] !== I || r[50] !== $U ? (eW = (0, import_jsx_runtime.jsx)(OutputArea, {
|
|
37190
37190
|
allowExpand: $U,
|
|
37191
37191
|
output: c,
|
|
37192
37192
|
className: CSSClasses.outputArea,
|
|
37193
37193
|
cellId: d,
|
|
37194
37194
|
stale: I,
|
|
37195
37195
|
loading: R
|
|
37196
|
-
}), r[46] = d, r[47] = R, r[48] = c, r[49] = I, r[50] = $U, r[51] =
|
|
37197
|
-
let
|
|
37198
|
-
return r[52] !== H || r[53] !== q || r[54] !==
|
|
37196
|
+
}), r[46] = d, r[47] = R, r[48] = c, r[49] = I, r[50] = $U, r[51] = eW) : eW = r[51];
|
|
37197
|
+
let Z;
|
|
37198
|
+
return r[52] !== H || r[53] !== q || r[54] !== eW ? (Z = (0, import_jsx_runtime.jsx)("div", {
|
|
37199
37199
|
tabIndex: -1,
|
|
37200
37200
|
ref: j,
|
|
37201
37201
|
className: H,
|
|
37202
37202
|
...q,
|
|
37203
|
-
children:
|
|
37204
|
-
}), r[52] = H, r[53] = q, r[54] =
|
|
37203
|
+
children: eW
|
|
37204
|
+
}), r[52] = H, r[53] = q, r[54] = eW, r[55] = Z) : Z = r[55], Z;
|
|
37205
37205
|
});
|
|
37206
37206
|
VerticalCell.displayName = "VerticalCell";
|
|
37207
37207
|
const VerticalLayoutPlugin = {
|