@marimo-team/islands 0.23.16-dev35 → 0.23.16-dev37
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/{chat-ui-DuPGKU9z.js → chat-ui-BhycUrBk.js} +77 -77
- package/dist/{common-Dm9n25i1.js → common-B3EcjNx8.js} +701 -709
- package/dist/{html-to-image-Bza3T2dl.js → html-to-image-3w0AakWW.js} +5075 -5543
- package/dist/main.js +113 -113
- package/dist/{process-output-pCEXvnhG.js → process-output-YXcQTd1Y.js} +1 -1
- package/dist/{reveal-component-Db_uFCrL.js → reveal-component-OOb_vEEG.js} +11 -11
- package/package.json +2 -3
- package/src/components/editor/cell/code/__tests__/cell-editor-activity-lifecycle.test.ts +250 -0
- package/src/components/editor/cell/code/cell-editor.tsx +13 -7
- package/src/components/editor/chrome/panels/__tests__/logs-panel.test.tsx +25 -0
- package/src/components/editor/chrome/panels/logs-panel.tsx +12 -2
- package/src/core/cells/__tests__/cells.test.ts +12 -2
- package/src/core/cells/__tests__/logs.test.ts +5 -5
- package/src/core/cells/cells.ts +17 -4
- package/src/core/cells/document-changes.ts +1 -0
- package/src/core/cells/logs.ts +14 -4
- package/src/core/codemirror/copilot/__tests__/language-server.test.ts +396 -100
- package/src/core/codemirror/copilot/__tests__/transport.test.ts +128 -540
- package/src/core/codemirror/copilot/language-server.ts +182 -70
- package/src/core/codemirror/copilot/transport.ts +15 -207
- package/src/core/codemirror/copilot/types.ts +9 -2
- package/src/core/codemirror/language/languages/python.ts +23 -11
- package/src/core/codemirror/lsp/__tests__/federated-lsp.test.ts +161 -0
- package/src/core/codemirror/lsp/__tests__/log-messages.test.ts +53 -0
- package/src/core/codemirror/lsp/__tests__/normalize-markdown-math.test.ts +25 -0
- package/src/core/codemirror/lsp/__tests__/notebook-lsp.test.ts +598 -156
- package/src/core/codemirror/lsp/__tests__/transports.test.ts +112 -0
- package/src/core/codemirror/lsp/federated-lsp.ts +76 -23
- package/src/core/codemirror/lsp/log-messages.ts +37 -0
- package/src/core/codemirror/lsp/normalize-markdown-math.ts +8 -4
- package/src/core/codemirror/lsp/notebook-lsp.ts +220 -56
- package/src/core/codemirror/lsp/transports.ts +8 -1
- package/src/core/codemirror/lsp/types.ts +68 -8
- package/src/core/codemirror/lsp/utils.ts +14 -0
- package/src/core/lsp/__tests__/transport.test.ts +509 -337
- package/src/core/lsp/transport.ts +304 -132
- package/src/core/rtc/state.ts +9 -0
- package/src/css/app/codemirror.css +16 -2
- package/src/stories/log-viewer.stories.tsx +12 -6
|
@@ -6,7 +6,7 @@ import { _ as Functions, f as composeRefs, g as Logger, h as cn, m as Events, n
|
|
|
6
6
|
import { t as require_react } from "./react-DA-nE2FX.js";
|
|
7
7
|
import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
|
|
8
8
|
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-DNq8q3zw.js";
|
|
9
|
-
import {
|
|
9
|
+
import { B as isDataURLString, Bn as Info, Bt as PluralWord, C as Accordion, Dn as Close$1, Dt as toggleBreakpoint, E as AccordionTrigger, H as renderHTML, Hn as Eye, Ht as DATA_TYPE_ICON, In as NotebookPen, It as getFeatureFlag, J as getCellEditorView, Jn as Braces, Kn as CircleX, L as base64ToUint8Array, Ln as Minus, M as DotFilledIcon, Mn as Wrench, Mt as useChromeActions, N as PinLeftIcon, Nn as Trash2, Nt as adaptForLocalStorage, Ot as goToCellLine, P as PinRightIcon, Pt as jotaiJsonStorage, Q as notebookAtom, Rn as LoaderCircle, Sn as jsonToMarkdown, St as isRecord, T as AccordionItem, Un as ExternalLink, Ut as getDataTypeColor, Vn as FileText, Xn as import_lib, Yn as esm_default, Yt as getRequestClient, Zt as useRequestClient, _ as getDatasourceContext, an as elementContainsMarimoCellFile, c as Popover, ct as AnsiUp, d as PopoverTrigger, ft as sanitizeHtml, gn as SCRATCH_CELL_ID, hn as HTMLCellId, ht as displayCellName, it as useCellNames, j as ChevronRightIcon, k as CheckIcon, l as PopoverClose, lt as outputIsLoading, m as useExpandedOutput, mn as CellOutputId, mt as getCellDomProps, n as Spinner, nt as useCellActions, on as extractAllTracebackInfo, pt as DATA_CELL_ID, r as MarkdownRenderer, rt as useCellIds, sn as getTracebackInfo, t as toPng, u as PopoverContent, un as filenameAtom, w as AccordionContent, wn as atomWithStorage, xn as jsonParseWithSpecialChar, yt as Checkbox, z as extractBase64FromDataURL, __tla as __tla_0 } from "./html-to-image-3w0AakWW.js";
|
|
10
10
|
import { o as useSize, u as createLucideIcon } from "./dist-DIlxLFXG.js";
|
|
11
11
|
import { c as Calendar, i as createReducerAndAtoms, r as Badge } from "./useLifecycle-CMJGqBaY.js";
|
|
12
12
|
import { a as ListFilter, i as Table$1, n as $fb18d541ea1ad717$export$ad991b66133851cf, o as ChartPie, r as $5a387cc49350e6db$export$722debc0e56fea39, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-Bt2qr_XS.js";
|
|
@@ -35,7 +35,7 @@ import { V as getContainerWidth, n as formats } from "./vega-loader.browser-Dmpx
|
|
|
35
35
|
import { a as tooltipHandler, n as vegaLoadData, r as createBatchedLoader, t as parseCsvData } from "./loader-DX-IDS7n.js";
|
|
36
36
|
import { t as useIframeCapabilities } from "./useIframeCapabilities-kA09ykNq.js";
|
|
37
37
|
import { t as useAsyncData } from "./useAsyncData-CYOQb1EW.js";
|
|
38
|
-
let CommandSeparator, Kbd, ErrorState, getPageIndexForRow, ContextMenuTrigger, dateToLocalISODate, downloadHTMLAsImage, inferFieldTypes, ColumnName, DelayMount, downloadSizeLimitAtom, ColumnChartSpecModel, getUserColumnVisibilityCounts, TOO_MANY_ROWS, DateRangePicker, TabsList, useSelectList, dateToLocalISOTime, ContextMenu, toFieldTypes, Command, ChartInfoState, Combobox, TabsTrigger, ContextMenuContent, getMimeValues, prettifyRowColumnCount, loadTableData, prettifyRowCount, INDEX_COLUMN_NAME, ColumnPreviewContainer, useIntersectionObserver, getColumnCountForDisplay, SELECT_COLUMN_ID, CommandList, RenderTextWithLinks, ContextMenuItem, isNullishFilter, downloadExportedFile, generateColumns, Filenames, ColumnChartContext, CompactChipRow, Tabs, useInternalStateWithSync, dateToLocalISODateTime, DatePicker, TabsContent, CommandInput, LazyVegaEmbed, CommandEmpty, ChartLoadingState, CommandItem, useOverflowDetection, DataTable,
|
|
38
|
+
let CommandSeparator, Kbd, ErrorState, getPageIndexForRow, ContextMenuTrigger, dateToLocalISODate, downloadHTMLAsImage, inferFieldTypes, ColumnName, DelayMount, downloadSizeLimitAtom, ColumnChartSpecModel, getUserColumnVisibilityCounts, TOO_MANY_ROWS, DateRangePicker, TabsList, useSelectList, dateToLocalISOTime, ContextMenu, toFieldTypes, Command, ChartInfoState, Combobox, TabsTrigger, ContextMenuContent, getMimeValues, prettifyRowColumnCount, loadTableData, prettifyRowCount, INDEX_COLUMN_NAME, ColumnPreviewContainer, useIntersectionObserver, getColumnCountForDisplay, SELECT_COLUMN_ID, CommandList, RenderTextWithLinks, ContextMenuItem, isNullishFilter, downloadExportedFile, generateColumns, Filenames, ColumnChartContext, CompactChipRow, Tabs, useInternalStateWithSync, dateToLocalISODateTime, DatePicker, TabsContent, CommandInput, LazyVegaEmbed, CommandEmpty, ChartLoadingState, CommandItem, useOverflowDetection, DataTable, ChevronLeft, TableCell, DEFAULT_DECK_TRANSITION, TextWrap, contextAwarePanelType, downloadBlob, TableRow, SLIDE_TYPE_OPTIONS_BY_VALUE, EyeOff, slotsController, Switch, Download, PanelGroup, HtmlOutput, smartMatch, RadioGroup, Code, PanelResizeHandle, OutputRenderer, ChevronsDownUp, TableBody, OutputArea, ChevronsLeft, Table, showCodeInRunModeAtom, $fae977aafc393c5c$export$6b862160d295c8e, contextAwarePanelOwner, LoadingState, loadTableAndRawData, EmptyState, usePrevious, SlideSidebar, Expand, Toggle, JsonOutput, ChevronsRight, Provider$1, useNotebookCodeAvailable, safeLocale, PANEL_TYPES, DEFAULT_DECK_VERTICAL_ALIGN, GripHorizontal, isCellAwareAtom, RadioGroupItem, ChevronsUpDown, Fill, ComboboxItem, ChartErrorState, marimoVersionAtom, $fae977aafc393c5c$export$588937bcd60ade55, contextAwarePanelOpen, DEFAULT_SLIDE_TYPE, Funnel, SlotNames, cellDomProps, EmotionCacheProvider, ContextAwarePanelItem, Slide, Ellipsis, Panel, InstallPackageButton, ArrowDownWideNarrow, TableHead, Progress, renderCellValue, downloadByURL, NAMELESS_COLUMN_PREFIX, ADD_PRINTING_CLASS, TableHeader, ContextMenuSeparator, Maps;
|
|
39
39
|
let __tla = Promise.all([
|
|
40
40
|
(() => {
|
|
41
41
|
try {
|
|
@@ -2061,21 +2061,21 @@ Defaulting to \`null\`.`;
|
|
|
2061
2061
|
function $2f04cbc44ee30ce0$export$53a0910f038337bd(e, t, n = {}) {
|
|
2062
2062
|
let { block: i = "nearest", inline: a = "nearest" } = n;
|
|
2063
2063
|
if (e === t) return;
|
|
2064
|
-
let o = e.scrollTop, s = e.scrollLeft, c = t.getBoundingClientRect(), d = e.getBoundingClientRect(), f = window.getComputedStyle(t), h = window.getComputedStyle(e), _ = document.scrollingElement || document.documentElement, v = e === _ ? 0 : d.top, y = e === _ ? e.clientHeight : d.bottom, S = e === _ ? 0 : d.left, w = e === _ ? e.clientWidth : d.right, E = parseInt(f.scrollMarginTop, 10) || 0, O = parseInt(f.scrollMarginBottom, 10) || 0, A = parseInt(f.scrollMarginLeft, 10) || 0, M = parseInt(f.scrollMarginRight, 10) || 0, I = parseInt(h.scrollPaddingTop, 10) || 0, z = parseInt(h.scrollPaddingBottom, 10) || 0, U = parseInt(h.scrollPaddingLeft, 10) || 0, K = parseInt(h.scrollPaddingRight, 10) || 0, q = parseInt(h.borderTopWidth, 10) || 0, J = parseInt(h.borderBottomWidth, 10) || 0, Q = parseInt(h.borderLeftWidth, 10) || 0, $ = parseInt(h.borderRightWidth, 10) || 0,
|
|
2065
|
-
h.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ?
|
|
2066
|
-
let
|
|
2067
|
-
if (
|
|
2068
|
-
else if (
|
|
2069
|
-
else if (
|
|
2070
|
-
else if (
|
|
2071
|
-
let e2 =
|
|
2064
|
+
let o = e.scrollTop, s = e.scrollLeft, c = t.getBoundingClientRect(), d = e.getBoundingClientRect(), f = window.getComputedStyle(t), h = window.getComputedStyle(e), _ = document.scrollingElement || document.documentElement, v = e === _ ? 0 : d.top, y = e === _ ? e.clientHeight : d.bottom, S = e === _ ? 0 : d.left, w = e === _ ? e.clientWidth : d.right, E = parseInt(f.scrollMarginTop, 10) || 0, O = parseInt(f.scrollMarginBottom, 10) || 0, A = parseInt(f.scrollMarginLeft, 10) || 0, M = parseInt(f.scrollMarginRight, 10) || 0, I = parseInt(h.scrollPaddingTop, 10) || 0, z = parseInt(h.scrollPaddingBottom, 10) || 0, U = parseInt(h.scrollPaddingLeft, 10) || 0, K = parseInt(h.scrollPaddingRight, 10) || 0, q = parseInt(h.borderTopWidth, 10) || 0, J = parseInt(h.borderBottomWidth, 10) || 0, Q = parseInt(h.borderLeftWidth, 10) || 0, $ = parseInt(h.borderRightWidth, 10) || 0, fJ = c.top - E, pJ = c.bottom + O, mJ = c.left - A, hJ = c.right + M, gJ = e === _ ? 0 : Q + $, _J = e === _ ? 0 : q + J, vJ = e.offsetWidth - e.clientWidth - gJ, yJ = e.offsetHeight - e.clientHeight - _J, bJ = v + q + I, xJ = y - J - z - yJ, SJ = S + Q + U, CJ = w - $ - K;
|
|
2065
|
+
h.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ? SJ += vJ : CJ -= vJ;
|
|
2066
|
+
let wJ = fJ < bJ || pJ > xJ, TJ = mJ < SJ || hJ > CJ;
|
|
2067
|
+
if (wJ && i === "start") o += fJ - bJ;
|
|
2068
|
+
else if (wJ && i === "center") o += (fJ + pJ) / 2 - (bJ + xJ) / 2;
|
|
2069
|
+
else if (wJ && i === "end") o += pJ - xJ;
|
|
2070
|
+
else if (wJ && i === "nearest") {
|
|
2071
|
+
let e2 = fJ - bJ, t2 = pJ - xJ;
|
|
2072
2072
|
o += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
|
|
2073
2073
|
}
|
|
2074
|
-
if (
|
|
2075
|
-
else if (
|
|
2076
|
-
else if (
|
|
2077
|
-
else if (
|
|
2078
|
-
let e2 =
|
|
2074
|
+
if (TJ && a === "start") s += mJ - SJ;
|
|
2075
|
+
else if (TJ && a === "center") s += (mJ + hJ) / 2 - (SJ + CJ) / 2;
|
|
2076
|
+
else if (TJ && a === "end") s += hJ - CJ;
|
|
2077
|
+
else if (TJ && a === "nearest") {
|
|
2078
|
+
let e2 = mJ - SJ, t2 = hJ - CJ;
|
|
2079
2079
|
s += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
|
|
2080
2080
|
}
|
|
2081
2081
|
e.scrollTo({
|
|
@@ -5185,23 +5185,23 @@ Defaulting to \`null\`.`;
|
|
|
5185
5185
|
}
|
|
5186
5186
|
let $ = "bottom";
|
|
5187
5187
|
A.axis === "top" ? A.placement === "top" ? $ = "top" : A.placement === "bottom" && ($ = "bottom") : A.crossAxis === "top" && (A.crossPlacement === "top" ? $ = "bottom" : A.crossPlacement === "bottom" && ($ = "top"));
|
|
5188
|
-
let
|
|
5189
|
-
q[I] +=
|
|
5190
|
-
let
|
|
5191
|
-
y && y <
|
|
5192
|
-
let
|
|
5193
|
-
|
|
5194
|
-
let
|
|
5195
|
-
x: U === "top" || U === "bottom" ?
|
|
5196
|
-
y: U === "left" || U === "right" ?
|
|
5188
|
+
let fJ = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f);
|
|
5189
|
+
q[I] += fJ;
|
|
5190
|
+
let pJ = $edcf132a9284368a$var$getMaxHeight(q, c, f, v, a, o, n.height, $, d, E, O);
|
|
5191
|
+
y && y < pJ && (pJ = y), n.height = Math.min(n.height, pJ), q = $edcf132a9284368a$var$computePosition(t, c, n, A, J, _, f, v, S, w, d), fJ = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f), q[I] += fJ;
|
|
5192
|
+
let mJ = {}, hJ = t[I] - q[I] - a[$edcf132a9284368a$var$AXIS[I]], gJ = hJ + 0.5 * t[z], _J = S / 2 + w, vJ = $edcf132a9284368a$var$AXIS[I] === "left" ? (a.left ?? 0) + (a.right ?? 0) : (a.top ?? 0) + (a.bottom ?? 0), yJ = n[z] - vJ - S / 2 - w;
|
|
5193
|
+
mJ[I] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(gJ, t[I] + S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]]), t[I] + t[z] - S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]])), _J, yJ), { placement: U, crossPlacement: K } = A, S ? hJ = mJ[I] : K === "right" ? hJ += t[z] : K === "center" && (hJ += t[z] / 2);
|
|
5194
|
+
let bJ = U === "left" || U === "top" ? n[M] : 0, xJ = {
|
|
5195
|
+
x: U === "top" || U === "bottom" ? hJ : bJ,
|
|
5196
|
+
y: U === "left" || U === "right" ? hJ : bJ
|
|
5197
5197
|
};
|
|
5198
5198
|
return {
|
|
5199
5199
|
position: q,
|
|
5200
|
-
maxHeight:
|
|
5201
|
-
arrowOffsetLeft:
|
|
5202
|
-
arrowOffsetTop:
|
|
5200
|
+
maxHeight: pJ,
|
|
5201
|
+
arrowOffsetLeft: mJ.left,
|
|
5202
|
+
arrowOffsetTop: mJ.top,
|
|
5203
5203
|
placement: U,
|
|
5204
|
-
triggerAnchorPoint:
|
|
5204
|
+
triggerAnchorPoint: xJ
|
|
5205
5205
|
};
|
|
5206
5206
|
}
|
|
5207
5207
|
function $edcf132a9284368a$export$b3ceb0cbf1056d98(e) {
|
|
@@ -7056,7 +7056,7 @@ Defaulting to \`null\`.`;
|
|
|
7056
7056
|
n,
|
|
7057
7057
|
h
|
|
7058
7058
|
]);
|
|
7059
|
-
let
|
|
7059
|
+
let fJ = $c87311424ea30a05$export$fedb369cb70207f1() || e.type === "timeZoneName" ? {
|
|
7060
7060
|
role: "textbox",
|
|
7061
7061
|
"aria-valuemax": null,
|
|
7062
7062
|
"aria-valuemin": null,
|
|
@@ -7066,8 +7066,8 @@ Defaulting to \`null\`.`;
|
|
|
7066
7066
|
e !== (0, import_react.useMemo)(() => t.segments.find((e2) => e2.isEditable), [
|
|
7067
7067
|
t.segments
|
|
7068
7068
|
]) && !t.isInvalid && (f = void 0);
|
|
7069
|
-
let
|
|
7070
|
-
"aria-label": `${
|
|
7069
|
+
let pJ = $bdb11010cef70236$export$f680877a34711e37(), mJ = !t.isDisabled && !t.isReadOnly && e.isEditable, hJ = e.type === "literal" ? "" : s.of(e.type), gJ = $313b98861ee5dd6c$export$d6875122194c7b44({
|
|
7070
|
+
"aria-label": `${hJ}${c ? `, ${c}` : ""}${d ? ", " : ""}`,
|
|
7071
7071
|
"aria-labelledby": d
|
|
7072
7072
|
});
|
|
7073
7073
|
if (e.type === "literal") return {
|
|
@@ -7075,32 +7075,32 @@ Defaulting to \`null\`.`;
|
|
|
7075
7075
|
"aria-hidden": true
|
|
7076
7076
|
}
|
|
7077
7077
|
};
|
|
7078
|
-
let
|
|
7078
|
+
let _J = {
|
|
7079
7079
|
caretColor: "transparent"
|
|
7080
7080
|
};
|
|
7081
7081
|
if (o === "rtl") {
|
|
7082
|
-
|
|
7082
|
+
_J.unicodeBidi = "embed";
|
|
7083
7083
|
let t2 = v[e.type];
|
|
7084
|
-
(t2 === "numeric" || t2 === "2-digit") && (
|
|
7084
|
+
(t2 === "numeric" || t2 === "2-digit") && (_J.direction = "ltr");
|
|
7085
7085
|
}
|
|
7086
7086
|
return {
|
|
7087
|
-
segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(w,
|
|
7088
|
-
id:
|
|
7089
|
-
...
|
|
7087
|
+
segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(w, gJ, {
|
|
7088
|
+
id: pJ,
|
|
7089
|
+
...fJ,
|
|
7090
7090
|
"aria-invalid": t.isInvalid ? "true" : void 0,
|
|
7091
7091
|
"aria-describedby": f,
|
|
7092
7092
|
"aria-readonly": t.isReadOnly || !e.isEditable ? "true" : void 0,
|
|
7093
7093
|
"data-placeholder": e.isPlaceholder || void 0,
|
|
7094
|
-
contentEditable:
|
|
7095
|
-
suppressContentEditableWarning:
|
|
7096
|
-
spellCheck:
|
|
7097
|
-
autoCorrect:
|
|
7098
|
-
enterKeyHint:
|
|
7099
|
-
inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !
|
|
7094
|
+
contentEditable: mJ,
|
|
7095
|
+
suppressContentEditableWarning: mJ,
|
|
7096
|
+
spellCheck: mJ ? "false" : void 0,
|
|
7097
|
+
autoCorrect: mJ ? "off" : void 0,
|
|
7098
|
+
enterKeyHint: mJ ? "next" : void 0,
|
|
7099
|
+
inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !mJ ? void 0 : "numeric",
|
|
7100
7100
|
tabIndex: t.isDisabled ? void 0 : 0,
|
|
7101
7101
|
onKeyDown: A,
|
|
7102
7102
|
onFocus: Q,
|
|
7103
|
-
style:
|
|
7103
|
+
style: _J,
|
|
7104
7104
|
onPointerDown(e2) {
|
|
7105
7105
|
e2.stopPropagation();
|
|
7106
7106
|
},
|
|
@@ -10227,12 +10227,6 @@ Defaulting to \`null\`.`;
|
|
|
10227
10227
|
function isMatch(e, t, n) {
|
|
10228
10228
|
return isValid(parse$1(e, t, /* @__PURE__ */ new Date(), n));
|
|
10229
10229
|
}
|
|
10230
|
-
isRecord = function(e) {
|
|
10231
|
-
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
10232
|
-
};
|
|
10233
|
-
hasFunctionProperty = function(e, t) {
|
|
10234
|
-
return typeof e[t] == "function";
|
|
10235
|
-
};
|
|
10236
10230
|
(0, import_react.createContext)(null), (0, import_react.createContext)(null), (0, import_react.createContext)(null), (0, import_react.createContext)(null), (0, import_react.createContext)(null);
|
|
10237
10231
|
var $4e85f108e88277b8$export$d688439359537581 = (0, import_react.createContext)({});
|
|
10238
10232
|
(0, import_react.createContext)(null), (0, import_react.createContext)(null);
|
|
@@ -10349,12 +10343,12 @@ Defaulting to \`null\`.`;
|
|
|
10349
10343
|
e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(e2, (y == null ? void 0 : y.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec()), y && "hour" in y ? S(y.set(e2)) : S(e2);
|
|
10350
10344
|
}
|
|
10351
10345
|
}
|
|
10352
|
-
let
|
|
10346
|
+
let fJ = (0, import_react.useMemo)(() => w ? f && f(w) ? true : $f62d864046160412$export$eac50920cf2fd59a(w, s, c) : false, [
|
|
10353
10347
|
w,
|
|
10354
10348
|
f,
|
|
10355
10349
|
s,
|
|
10356
10350
|
c
|
|
10357
|
-
]),
|
|
10351
|
+
]), pJ = e.isInvalid || e.validationState === "invalid" || fJ, mJ = pJ ? "invalid" : null, hJ = (0, import_react.useMemo)(() => h === "visible" ? o : $131cf43a05231e1e$var$unitDuration(o), [
|
|
10358
10352
|
h,
|
|
10359
10353
|
o
|
|
10360
10354
|
]);
|
|
@@ -10371,8 +10365,8 @@ Defaulting to \`null\`.`;
|
|
|
10371
10365
|
maxValue: c,
|
|
10372
10366
|
focusedDate: O,
|
|
10373
10367
|
timeZone: E,
|
|
10374
|
-
validationState:
|
|
10375
|
-
isValueInvalid:
|
|
10368
|
+
validationState: mJ,
|
|
10369
|
+
isValueInvalid: pJ,
|
|
10376
10370
|
setFocusedDate(e2) {
|
|
10377
10371
|
Q(e2);
|
|
10378
10372
|
},
|
|
@@ -10397,12 +10391,12 @@ Defaulting to \`null\`.`;
|
|
|
10397
10391
|
}));
|
|
10398
10392
|
},
|
|
10399
10393
|
focusNextPage() {
|
|
10400
|
-
let e2 = M.add(
|
|
10401
|
-
A($f62d864046160412$export$4f5203c0d889109e(O.add(
|
|
10394
|
+
let e2 = M.add(hJ);
|
|
10395
|
+
A($f62d864046160412$export$4f5203c0d889109e(O.add(hJ), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, hJ, i, s, c), hJ, i));
|
|
10402
10396
|
},
|
|
10403
10397
|
focusPreviousPage() {
|
|
10404
|
-
let e2 = M.subtract(
|
|
10405
|
-
A($f62d864046160412$export$4f5203c0d889109e(O.subtract(
|
|
10398
|
+
let e2 = M.subtract(hJ);
|
|
10399
|
+
A($f62d864046160412$export$4f5203c0d889109e(O.subtract(hJ), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, hJ, i, s, c), hJ, i));
|
|
10406
10400
|
},
|
|
10407
10401
|
focusSectionStart() {
|
|
10408
10402
|
o.days ? Q(M) : o.weeks ? Q($14e0f24ef4ac5c92$export$42c81a444fbfb5d4(O, i)) : (o.months || o.years) && Q($14e0f24ef4ac5c92$export$a5a3b454ada2268e(O));
|
|
@@ -10539,13 +10533,13 @@ Defaulting to \`null\`.`;
|
|
|
10539
10533
|
end: $9a36b6ba2fb1a7c5$var$convertValue(e2.end, h == null ? void 0 : h.end)
|
|
10540
10534
|
}), q(null);
|
|
10541
10535
|
}
|
|
10542
|
-
}, [$,
|
|
10543
|
-
|
|
10536
|
+
}, [$, fJ] = (0, import_react.useState)(false), { isDateUnavailable: pJ } = e, mJ = (0, import_react.useMemo)(() => !h || v ? false : pJ && (pJ(h.start) || pJ(h.end)) ? true : $f62d864046160412$export$eac50920cf2fd59a(h.start, c, d) || $f62d864046160412$export$eac50920cf2fd59a(h.end, c, d), [
|
|
10537
|
+
pJ,
|
|
10544
10538
|
h,
|
|
10545
10539
|
v,
|
|
10546
10540
|
c,
|
|
10547
10541
|
d
|
|
10548
|
-
]),
|
|
10542
|
+
]), hJ = e.isInvalid || e.validationState === "invalid" || mJ, gJ = hJ ? "invalid" : null;
|
|
10549
10543
|
return {
|
|
10550
10544
|
...I,
|
|
10551
10545
|
value: h,
|
|
@@ -10553,8 +10547,8 @@ Defaulting to \`null\`.`;
|
|
|
10553
10547
|
anchorDate: v,
|
|
10554
10548
|
setAnchorDate: q,
|
|
10555
10549
|
highlightedRange: J,
|
|
10556
|
-
validationState:
|
|
10557
|
-
isValueInvalid:
|
|
10550
|
+
validationState: gJ,
|
|
10551
|
+
isValueInvalid: hJ,
|
|
10558
10552
|
selectFocusedDate() {
|
|
10559
10553
|
Q(I.focusedDate);
|
|
10560
10554
|
},
|
|
@@ -10570,7 +10564,7 @@ Defaulting to \`null\`.`;
|
|
|
10570
10564
|
return I.isInvalid(e2) || $f62d864046160412$export$eac50920cf2fd59a(e2, (_a2 = w.current) == null ? void 0 : _a2.start, (_b = w.current) == null ? void 0 : _b.end);
|
|
10571
10565
|
},
|
|
10572
10566
|
isDragging: $,
|
|
10573
|
-
setDragging:
|
|
10567
|
+
setDragging: fJ
|
|
10574
10568
|
};
|
|
10575
10569
|
}
|
|
10576
10570
|
function $9a36b6ba2fb1a7c5$var$makeRange(e, t) {
|
|
@@ -11757,7 +11751,7 @@ Defaulting to \`null\`.`;
|
|
|
11757
11751
|
_,
|
|
11758
11752
|
S,
|
|
11759
11753
|
v
|
|
11760
|
-
]),
|
|
11754
|
+
]), fJ = (0, import_react.useMemo)(() => {
|
|
11761
11755
|
let t2 = w === "h11" || w === "h12", n2 = [
|
|
11762
11756
|
"era",
|
|
11763
11757
|
"year",
|
|
@@ -11775,15 +11769,15 @@ Defaulting to \`null\`.`;
|
|
|
11775
11769
|
e.maxGranularity,
|
|
11776
11770
|
_,
|
|
11777
11771
|
w
|
|
11778
|
-
]), [
|
|
11779
|
-
(M !==
|
|
11780
|
-
let
|
|
11781
|
-
if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(
|
|
11772
|
+
]), [pJ, mJ] = (0, import_react.useState)(M), [hJ, gJ] = (0, import_react.useState)(S), [_J, vJ] = (0, import_react.useState)(w);
|
|
11773
|
+
(M !== pJ || w !== _J || !$14e0f24ef4ac5c92$export$dbc69fd56b53d5e(S, hJ)) && (I = new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M), mJ(M), gJ(S), vJ(w), z(I));
|
|
11774
|
+
let yJ = (t2) => {
|
|
11775
|
+
if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(fJ)) z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(null);
|
|
11782
11776
|
else if (!(t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef)) t2 = $11d87f3f76e88657$export$b4a036af3fc0b032(t2, (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec()), z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(t2);
|
|
11783
11777
|
else {
|
|
11784
|
-
if (t2.isComplete(
|
|
11778
|
+
if (t2.isComplete(fJ)) {
|
|
11785
11779
|
let e2 = t2.toValue(M ?? $);
|
|
11786
|
-
if (t2.validate(e2,
|
|
11780
|
+
if (t2.validate(e2, fJ)) {
|
|
11787
11781
|
let t3 = $11d87f3f76e88657$export$b4a036af3fc0b032(e2, (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
|
|
11788
11782
|
if (!E || t3.compare(E) !== 0) {
|
|
11789
11783
|
z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(t3);
|
|
@@ -11793,83 +11787,83 @@ Defaulting to \`null\`.`;
|
|
|
11793
11787
|
}
|
|
11794
11788
|
z(t2);
|
|
11795
11789
|
}
|
|
11796
|
-
},
|
|
11790
|
+
}, bJ = (0, import_react.useMemo)(() => I.toValue(M ?? $).toDate(y), [
|
|
11797
11791
|
I,
|
|
11798
11792
|
y,
|
|
11799
11793
|
M,
|
|
11800
11794
|
$
|
|
11801
|
-
]),
|
|
11802
|
-
|
|
11795
|
+
]), xJ = (0, import_react.useMemo)(() => $3c0fc76039f1c516$var$processSegments(bJ, I, J, Q, S, t, _), [
|
|
11796
|
+
bJ,
|
|
11803
11797
|
J,
|
|
11804
11798
|
Q,
|
|
11805
11799
|
I,
|
|
11806
11800
|
S,
|
|
11807
11801
|
t,
|
|
11808
11802
|
_
|
|
11809
|
-
]),
|
|
11810
|
-
|
|
11811
|
-
},
|
|
11803
|
+
]), SJ = (e2, t2) => {
|
|
11804
|
+
yJ(I.cycle(e2, t2, $, fJ));
|
|
11805
|
+
}, CJ = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$f18627323ab57ac0(E, c, d, f, K), [
|
|
11812
11806
|
E,
|
|
11813
11807
|
c,
|
|
11814
11808
|
d,
|
|
11815
11809
|
f,
|
|
11816
11810
|
K
|
|
11817
|
-
]),
|
|
11811
|
+
]), wJ = $e5be200c675c3b3a$export$fc1a364ae1f3ff10({
|
|
11818
11812
|
...e,
|
|
11819
11813
|
value: E,
|
|
11820
|
-
builtinValidation:
|
|
11821
|
-
}),
|
|
11814
|
+
builtinValidation: CJ
|
|
11815
|
+
}), TJ = wJ.displayValidation.isInvalid, EJ = e.validationState || (TJ ? "invalid" : null);
|
|
11822
11816
|
return {
|
|
11823
|
-
...
|
|
11817
|
+
...wJ,
|
|
11824
11818
|
value: M,
|
|
11825
11819
|
defaultValue: e.defaultValue ?? A,
|
|
11826
|
-
dateValue:
|
|
11820
|
+
dateValue: bJ,
|
|
11827
11821
|
calendar: S,
|
|
11828
|
-
setValue:
|
|
11829
|
-
segments:
|
|
11822
|
+
setValue: yJ,
|
|
11823
|
+
segments: xJ,
|
|
11830
11824
|
dateFormatter: J,
|
|
11831
|
-
validationState:
|
|
11832
|
-
isInvalid:
|
|
11825
|
+
validationState: EJ,
|
|
11826
|
+
isInvalid: TJ,
|
|
11833
11827
|
granularity: _,
|
|
11834
11828
|
maxGranularity: e.maxGranularity ?? "year",
|
|
11835
11829
|
isDisabled: a,
|
|
11836
11830
|
isReadOnly: o,
|
|
11837
11831
|
isRequired: s,
|
|
11838
11832
|
increment(e2) {
|
|
11839
|
-
|
|
11833
|
+
SJ(e2, 1);
|
|
11840
11834
|
},
|
|
11841
11835
|
decrement(e2) {
|
|
11842
|
-
|
|
11836
|
+
SJ(e2, -1);
|
|
11843
11837
|
},
|
|
11844
11838
|
incrementPage(e2) {
|
|
11845
|
-
|
|
11839
|
+
SJ(e2, $3c0fc76039f1c516$var$PAGE_STEP[e2] || 1);
|
|
11846
11840
|
},
|
|
11847
11841
|
decrementPage(e2) {
|
|
11848
|
-
|
|
11842
|
+
SJ(e2, -($3c0fc76039f1c516$var$PAGE_STEP[e2] || 1));
|
|
11849
11843
|
},
|
|
11850
11844
|
incrementToMax(e2) {
|
|
11851
11845
|
let t2 = e2 === "hour" && w === "h12" ? 11 : I.getSegmentLimits(e2).maxValue;
|
|
11852
|
-
|
|
11846
|
+
yJ(I.set(e2, t2, $));
|
|
11853
11847
|
},
|
|
11854
11848
|
decrementToMin(e2) {
|
|
11855
11849
|
let t2 = e2 === "hour" && w === "h12" ? 12 : I.getSegmentLimits(e2).minValue;
|
|
11856
|
-
|
|
11850
|
+
yJ(I.set(e2, t2, $));
|
|
11857
11851
|
},
|
|
11858
11852
|
setSegment(e2, t2) {
|
|
11859
|
-
|
|
11853
|
+
yJ(I.set(e2, t2, $));
|
|
11860
11854
|
},
|
|
11861
11855
|
confirmPlaceholder() {
|
|
11862
|
-
if (!(e.isDisabled || e.isReadOnly) && I.isComplete(
|
|
11856
|
+
if (!(e.isDisabled || e.isReadOnly) && I.isComplete(fJ)) {
|
|
11863
11857
|
let e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(I.toValue(M ?? $), (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
|
|
11864
11858
|
(!E || e2.compare(E) !== 0) && O(e2), z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M));
|
|
11865
11859
|
}
|
|
11866
11860
|
},
|
|
11867
11861
|
clearSegment(e2) {
|
|
11868
11862
|
let t2 = I;
|
|
11869
|
-
e2 !== "timeZoneName" && e2 !== "literal" && (t2 = I.clear(e2)),
|
|
11863
|
+
e2 !== "timeZoneName" && e2 !== "literal" && (t2 = I.clear(e2)), yJ(t2);
|
|
11870
11864
|
},
|
|
11871
11865
|
formatValue(e2) {
|
|
11872
|
-
return M ? new $fb18d541ea1ad717$export$ad991b66133851cf(t, $35a22f14a1f04b11$export$7e319ea407e63bc0(e2, K)).format(
|
|
11866
|
+
return M ? new $fb18d541ea1ad717$export$ad991b66133851cf(t, $35a22f14a1f04b11$export$7e319ea407e63bc0(e2, K)).format(bJ) : "";
|
|
11873
11867
|
},
|
|
11874
11868
|
getDateFormatter(e2, t2) {
|
|
11875
11869
|
return new $fb18d541ea1ad717$export$ad991b66133851cf(e2, $35a22f14a1f04b11$export$7e319ea407e63bc0({}, {
|
|
@@ -11989,7 +11983,7 @@ Defaulting to \`null\`.`;
|
|
|
11989
11983
|
e.endName
|
|
11990
11984
|
]),
|
|
11991
11985
|
builtinValidation: J
|
|
11992
|
-
}), $ = Q.displayValidation.isInvalid,
|
|
11986
|
+
}), $ = Q.displayValidation.isInvalid, fJ = e.validationState || ($ ? "invalid" : null);
|
|
11993
11987
|
return {
|
|
11994
11988
|
...Q,
|
|
11995
11989
|
value: c,
|
|
@@ -12035,7 +12029,7 @@ Defaulting to \`null\`.`;
|
|
|
12035
12029
|
end: (w == null ? void 0 : w.end) || $35a22f14a1f04b11$export$c5221a78ef73c5e9(e.placeholderValue)
|
|
12036
12030
|
}), t.setOpen(n2);
|
|
12037
12031
|
},
|
|
12038
|
-
validationState:
|
|
12032
|
+
validationState: fJ,
|
|
12039
12033
|
isInvalid: $,
|
|
12040
12034
|
formatValue(t2, n2) {
|
|
12041
12035
|
if (!c || !c.start || !c.end) return null;
|
|
@@ -15929,33 +15923,33 @@ try {
|
|
|
15929
15923
|
}, f = import_react.createContext(void 0), h = () => import_react.useContext(f) || d, _ = {}, v = {};
|
|
15930
15924
|
function y(e2) {
|
|
15931
15925
|
var _a2, _b, _c, _d;
|
|
15932
|
-
let { children: d2, theme: h2, modeStorageKey: y2 = i, colorSchemeStorageKey: S2 = a, disableTransitionOnChange: w2 = o, storageManager: E, storageWindow: O = typeof window > "u" ? void 0 : window, documentNode: A = typeof document > "u" ? void 0 : document, colorSchemeNode: M = typeof document > "u" ? void 0 : document.documentElement, disableNestedContext: I = false, disableStyleSheetGeneration: z = false, defaultMode: U = "system", noSsr: K } = e2, q = import_react.useRef(false), J = useTheme$2(), Q = import_react.useContext(f), $ = !!Q && !I,
|
|
15926
|
+
let { children: d2, theme: h2, modeStorageKey: y2 = i, colorSchemeStorageKey: S2 = a, disableTransitionOnChange: w2 = o, storageManager: E, storageWindow: O = typeof window > "u" ? void 0 : window, documentNode: A = typeof document > "u" ? void 0 : document, colorSchemeNode: M = typeof document > "u" ? void 0 : document.documentElement, disableNestedContext: I = false, disableStyleSheetGeneration: z = false, defaultMode: U = "system", noSsr: K } = e2, q = import_react.useRef(false), J = useTheme$2(), Q = import_react.useContext(f), $ = !!Q && !I, fJ = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
|
|
15933
15927
|
h2
|
|
15934
|
-
]),
|
|
15935
|
-
|
|
15936
|
-
]),
|
|
15937
|
-
supportedColorSchemes:
|
|
15938
|
-
defaultLightColorScheme:
|
|
15939
|
-
defaultDarkColorScheme:
|
|
15928
|
+
]), pJ = fJ[t], mJ = pJ || fJ, { colorSchemes: hJ = _, components: gJ = v, cssVarPrefix: _J } = mJ, vJ = Object.keys(hJ).filter((e3) => !!hJ[e3]).join(","), yJ = import_react.useMemo(() => vJ.split(","), [
|
|
15929
|
+
vJ
|
|
15930
|
+
]), bJ = typeof s == "string" ? s : s.light, xJ = typeof s == "string" ? s : s.dark, { mode: SJ, setMode: CJ, systemMode: wJ, lightColorScheme: TJ, darkColorScheme: EJ, colorScheme: DJ, setColorScheme: OJ } = useCurrentColorScheme({
|
|
15931
|
+
supportedColorSchemes: yJ,
|
|
15932
|
+
defaultLightColorScheme: bJ,
|
|
15933
|
+
defaultDarkColorScheme: xJ,
|
|
15940
15934
|
modeStorageKey: y2,
|
|
15941
15935
|
colorSchemeStorageKey: S2,
|
|
15942
|
-
defaultMode:
|
|
15936
|
+
defaultMode: hJ[bJ] && hJ[xJ] ? U : ((_b = (_a2 = hJ[mJ.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = mJ.palette) == null ? void 0 : _c.mode),
|
|
15943
15937
|
storageManager: E,
|
|
15944
15938
|
storageWindow: O,
|
|
15945
15939
|
noSsr: K
|
|
15946
|
-
}),
|
|
15947
|
-
$ && (
|
|
15948
|
-
let
|
|
15940
|
+
}), kJ = SJ, AJ = DJ;
|
|
15941
|
+
$ && (kJ = Q.mode, AJ = Q.colorScheme);
|
|
15942
|
+
let jJ = import_react.useMemo(() => {
|
|
15949
15943
|
var _a3;
|
|
15950
|
-
let e3 =
|
|
15951
|
-
...
|
|
15952
|
-
components:
|
|
15953
|
-
colorSchemes:
|
|
15954
|
-
cssVarPrefix:
|
|
15944
|
+
let e3 = AJ || mJ.defaultColorScheme, t2 = ((_a3 = mJ.generateThemeVars) == null ? void 0 : _a3.call(mJ)) || mJ.vars, n2 = {
|
|
15945
|
+
...mJ,
|
|
15946
|
+
components: gJ,
|
|
15947
|
+
colorSchemes: hJ,
|
|
15948
|
+
cssVarPrefix: _J,
|
|
15955
15949
|
vars: t2
|
|
15956
15950
|
};
|
|
15957
15951
|
if (typeof n2.generateSpacing == "function" && (n2.spacing = n2.generateSpacing()), e3) {
|
|
15958
|
-
let t3 =
|
|
15952
|
+
let t3 = hJ[e3];
|
|
15959
15953
|
t3 && typeof t3 == "object" && Object.keys(t3).forEach((e4) => {
|
|
15960
15954
|
t3[e4] && typeof t3[e4] == "object" ? n2[e4] = {
|
|
15961
15955
|
...n2[e4],
|
|
@@ -15965,31 +15959,31 @@ try {
|
|
|
15965
15959
|
}
|
|
15966
15960
|
return c ? c(n2) : n2;
|
|
15967
15961
|
}, [
|
|
15968
|
-
|
|
15969
|
-
|
|
15970
|
-
_J,
|
|
15962
|
+
mJ,
|
|
15963
|
+
AJ,
|
|
15971
15964
|
gJ,
|
|
15972
|
-
|
|
15973
|
-
|
|
15965
|
+
hJ,
|
|
15966
|
+
_J
|
|
15967
|
+
]), MJ = mJ.colorSchemeSelector;
|
|
15974
15968
|
useEnhancedEffect_default(() => {
|
|
15975
|
-
if (
|
|
15976
|
-
let e3 =
|
|
15977
|
-
if (e3 === "class" && (t2 = ".%s"), e3 === "data" && (t2 = "[data-%s]"), (e3 == null ? void 0 : e3.startsWith("data-")) && !e3.includes("%s") && (t2 = `[${e3}="%s"]`), t2.startsWith(".")) M.classList.remove(...
|
|
15969
|
+
if (AJ && M && MJ && MJ !== "media") {
|
|
15970
|
+
let e3 = MJ, t2 = MJ;
|
|
15971
|
+
if (e3 === "class" && (t2 = ".%s"), e3 === "data" && (t2 = "[data-%s]"), (e3 == null ? void 0 : e3.startsWith("data-")) && !e3.includes("%s") && (t2 = `[${e3}="%s"]`), t2.startsWith(".")) M.classList.remove(...yJ.map((e4) => t2.substring(1).replace("%s", e4))), M.classList.add(t2.substring(1).replace("%s", AJ));
|
|
15978
15972
|
else {
|
|
15979
|
-
let e4 = t2.replace("%s",
|
|
15973
|
+
let e4 = t2.replace("%s", AJ).match(/\[([^\]]+)\]/);
|
|
15980
15974
|
if (e4) {
|
|
15981
15975
|
let [t3, n2] = e4[1].split("=");
|
|
15982
|
-
n2 ||
|
|
15983
|
-
M.removeAttribute(t3.replace(
|
|
15976
|
+
n2 || yJ.forEach((e5) => {
|
|
15977
|
+
M.removeAttribute(t3.replace(AJ, e5));
|
|
15984
15978
|
}), M.setAttribute(t3, n2 ? n2.replace(/"|'/g, "") : "");
|
|
15985
|
-
} else M.setAttribute(t2,
|
|
15979
|
+
} else M.setAttribute(t2, AJ);
|
|
15986
15980
|
}
|
|
15987
15981
|
}
|
|
15988
15982
|
}, [
|
|
15989
|
-
|
|
15990
|
-
|
|
15983
|
+
AJ,
|
|
15984
|
+
MJ,
|
|
15991
15985
|
M,
|
|
15992
|
-
|
|
15986
|
+
yJ
|
|
15993
15987
|
]), import_react.useEffect(() => {
|
|
15994
15988
|
let e3;
|
|
15995
15989
|
if (w2 && q.current && A) {
|
|
@@ -16002,48 +15996,48 @@ try {
|
|
|
16002
15996
|
clearTimeout(e3);
|
|
16003
15997
|
};
|
|
16004
15998
|
}, [
|
|
16005
|
-
|
|
15999
|
+
AJ,
|
|
16006
16000
|
w2,
|
|
16007
16001
|
A
|
|
16008
16002
|
]), import_react.useEffect(() => (q.current = true, () => {
|
|
16009
16003
|
q.current = false;
|
|
16010
16004
|
}), []);
|
|
16011
|
-
let
|
|
16012
|
-
allColorSchemes:
|
|
16013
|
-
colorScheme:
|
|
16014
|
-
darkColorScheme:
|
|
16015
|
-
lightColorScheme:
|
|
16016
|
-
mode:
|
|
16017
|
-
setColorScheme:
|
|
16018
|
-
setMode:
|
|
16019
|
-
systemMode:
|
|
16005
|
+
let NJ = import_react.useMemo(() => ({
|
|
16006
|
+
allColorSchemes: yJ,
|
|
16007
|
+
colorScheme: AJ,
|
|
16008
|
+
darkColorScheme: EJ,
|
|
16009
|
+
lightColorScheme: TJ,
|
|
16010
|
+
mode: kJ,
|
|
16011
|
+
setColorScheme: OJ,
|
|
16012
|
+
setMode: CJ,
|
|
16013
|
+
systemMode: wJ
|
|
16020
16014
|
}), [
|
|
16021
|
-
|
|
16022
|
-
jJ,
|
|
16023
|
-
DJ,
|
|
16024
|
-
EJ,
|
|
16015
|
+
yJ,
|
|
16025
16016
|
AJ,
|
|
16017
|
+
EJ,
|
|
16018
|
+
TJ,
|
|
16026
16019
|
kJ,
|
|
16020
|
+
OJ,
|
|
16021
|
+
CJ,
|
|
16027
16022
|
wJ,
|
|
16028
|
-
|
|
16029
|
-
|
|
16030
|
-
|
|
16031
|
-
|
|
16032
|
-
let IJ = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
|
|
16023
|
+
jJ.colorSchemeSelector
|
|
16024
|
+
]), PJ = true;
|
|
16025
|
+
(z || mJ.cssVariables === false || $ && (J == null ? void 0 : J.cssVarPrefix) === _J) && (PJ = false);
|
|
16026
|
+
let FJ = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
|
|
16033
16027
|
children: [
|
|
16034
16028
|
(0, import_jsx_runtime.jsx)(ThemeProvider_default, {
|
|
16035
|
-
themeId:
|
|
16036
|
-
theme:
|
|
16029
|
+
themeId: pJ ? t : void 0,
|
|
16030
|
+
theme: jJ,
|
|
16037
16031
|
children: d2
|
|
16038
16032
|
}),
|
|
16039
|
-
|
|
16040
|
-
styles: ((_d =
|
|
16033
|
+
PJ && (0, import_jsx_runtime.jsx)(GlobalStyles$1, {
|
|
16034
|
+
styles: ((_d = jJ.generateStyleSheets) == null ? void 0 : _d.call(jJ)) || []
|
|
16041
16035
|
})
|
|
16042
16036
|
]
|
|
16043
16037
|
});
|
|
16044
|
-
return $ ?
|
|
16045
|
-
value:
|
|
16046
|
-
children:
|
|
16038
|
+
return $ ? FJ : (0, import_jsx_runtime.jsx)(f.Provider, {
|
|
16039
|
+
value: NJ,
|
|
16040
|
+
children: FJ
|
|
16047
16041
|
});
|
|
16048
16042
|
}
|
|
16049
16043
|
let S = typeof s == "string" ? s : s.light, w = typeof s == "string" ? s : s.dark;
|
|
@@ -17543,10 +17537,10 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
17543
17537
|
let n = useDefaultProps({
|
|
17544
17538
|
props: e,
|
|
17545
17539
|
name: "MuiInputBase"
|
|
17546
|
-
}), { "aria-describedby": i, autoComplete: a, autoFocus: o, className: s, color: c, components: d = {}, componentsProps: f = {}, defaultValue: h, disabled: _, disableInjectingGlobalStyles: v, endAdornment: y, error: S, fullWidth: w = false, id: E, inputComponent: O = "input", inputProps: A = {}, inputRef: M, margin: I, maxRows: z, minRows: U, multiline: K = false, name: q, onBlur: J, onChange: Q, onClick: $, onFocus:
|
|
17547
|
-
}, []),
|
|
17540
|
+
}), { "aria-describedby": i, autoComplete: a, autoFocus: o, className: s, color: c, components: d = {}, componentsProps: f = {}, defaultValue: h, disabled: _, disableInjectingGlobalStyles: v, endAdornment: y, error: S, fullWidth: w = false, id: E, inputComponent: O = "input", inputProps: A = {}, inputRef: M, margin: I, maxRows: z, minRows: U, multiline: K = false, name: q, onBlur: J, onChange: Q, onClick: $, onFocus: fJ, onKeyDown: pJ, onKeyUp: mJ, placeholder: hJ, readOnly: gJ, renderSuffix: _J, rows: vJ, size: yJ, slotProps: bJ = {}, slots: xJ = {}, startAdornment: SJ, type: CJ = "text", value: wJ, ...TJ } = n, EJ = A.value == null ? wJ : A.value, { current: DJ } = import_react.useRef(EJ != null), OJ = import_react.useRef(), kJ = import_react.useCallback((e2) => {
|
|
17541
|
+
}, []), AJ = useForkRef_default(OJ, M, A.ref, kJ), [jJ, MJ] = import_react.useState(false), NJ = useFormControl(), PJ = formControlState({
|
|
17548
17542
|
props: n,
|
|
17549
|
-
muiFormControl:
|
|
17543
|
+
muiFormControl: NJ,
|
|
17550
17544
|
states: [
|
|
17551
17545
|
"color",
|
|
17552
17546
|
"disabled",
|
|
@@ -17557,145 +17551,145 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
17557
17551
|
"filled"
|
|
17558
17552
|
]
|
|
17559
17553
|
});
|
|
17560
|
-
|
|
17561
|
-
!
|
|
17554
|
+
PJ.focused = NJ ? NJ.focused : jJ, import_react.useEffect(() => {
|
|
17555
|
+
!NJ && _ && jJ && (MJ(false), J && J());
|
|
17562
17556
|
}, [
|
|
17563
|
-
|
|
17557
|
+
NJ,
|
|
17564
17558
|
_,
|
|
17565
|
-
|
|
17559
|
+
jJ,
|
|
17566
17560
|
J
|
|
17567
17561
|
]);
|
|
17568
|
-
let
|
|
17569
|
-
isFilled(e2) ?
|
|
17562
|
+
let FJ = NJ && NJ.onFilled, IJ = NJ && NJ.onEmpty, LJ = import_react.useCallback((e2) => {
|
|
17563
|
+
isFilled(e2) ? FJ && FJ() : IJ && IJ();
|
|
17570
17564
|
}, [
|
|
17571
|
-
|
|
17572
|
-
|
|
17565
|
+
FJ,
|
|
17566
|
+
IJ
|
|
17573
17567
|
]);
|
|
17574
17568
|
useEnhancedEffect_default$1(() => {
|
|
17575
|
-
|
|
17576
|
-
value:
|
|
17569
|
+
DJ && LJ({
|
|
17570
|
+
value: EJ
|
|
17577
17571
|
});
|
|
17578
17572
|
}, [
|
|
17579
|
-
|
|
17580
|
-
|
|
17581
|
-
|
|
17573
|
+
EJ,
|
|
17574
|
+
LJ,
|
|
17575
|
+
DJ
|
|
17582
17576
|
]);
|
|
17583
|
-
let
|
|
17584
|
-
|
|
17585
|
-
},
|
|
17586
|
-
J && J(e2), A.onBlur && A.onBlur(e2),
|
|
17587
|
-
},
|
|
17588
|
-
if (!
|
|
17589
|
-
let t3 = e2.target ||
|
|
17577
|
+
let RJ = (e2) => {
|
|
17578
|
+
fJ && fJ(e2), A.onFocus && A.onFocus(e2), NJ && NJ.onFocus ? NJ.onFocus(e2) : MJ(true);
|
|
17579
|
+
}, zJ = (e2) => {
|
|
17580
|
+
J && J(e2), A.onBlur && A.onBlur(e2), NJ && NJ.onBlur ? NJ.onBlur(e2) : MJ(false);
|
|
17581
|
+
}, BJ = (e2, ...t2) => {
|
|
17582
|
+
if (!DJ) {
|
|
17583
|
+
let t3 = e2.target || OJ.current;
|
|
17590
17584
|
if (t3 == null) throw Error(formatMuiErrorMessage(1));
|
|
17591
|
-
|
|
17585
|
+
LJ({
|
|
17592
17586
|
value: t3.value
|
|
17593
17587
|
});
|
|
17594
17588
|
}
|
|
17595
17589
|
A.onChange && A.onChange(e2, ...t2), Q && Q(e2, ...t2);
|
|
17596
17590
|
};
|
|
17597
17591
|
import_react.useEffect(() => {
|
|
17598
|
-
|
|
17592
|
+
LJ(OJ.current);
|
|
17599
17593
|
}, []);
|
|
17600
|
-
let
|
|
17601
|
-
|
|
17602
|
-
},
|
|
17603
|
-
K &&
|
|
17594
|
+
let VJ = (e2) => {
|
|
17595
|
+
OJ.current && e2.currentTarget === e2.target && OJ.current.focus(), $ && $(e2);
|
|
17596
|
+
}, HJ = O, UJ = A;
|
|
17597
|
+
K && HJ === "input" && (UJ = vJ ? {
|
|
17604
17598
|
type: void 0,
|
|
17605
|
-
minRows:
|
|
17606
|
-
maxRows:
|
|
17607
|
-
...
|
|
17599
|
+
minRows: vJ,
|
|
17600
|
+
maxRows: vJ,
|
|
17601
|
+
...UJ
|
|
17608
17602
|
} : {
|
|
17609
17603
|
type: void 0,
|
|
17610
17604
|
maxRows: z,
|
|
17611
17605
|
minRows: U,
|
|
17612
|
-
...
|
|
17613
|
-
},
|
|
17614
|
-
let
|
|
17615
|
-
|
|
17606
|
+
...UJ
|
|
17607
|
+
}, HJ = TextareaAutosize_default);
|
|
17608
|
+
let WJ = (e2) => {
|
|
17609
|
+
LJ(e2.animationName === "mui-auto-fill-cancel" ? OJ.current : {
|
|
17616
17610
|
value: "x"
|
|
17617
17611
|
});
|
|
17618
17612
|
};
|
|
17619
17613
|
import_react.useEffect(() => {
|
|
17620
|
-
|
|
17614
|
+
NJ && NJ.setAdornedStart(!!SJ);
|
|
17621
17615
|
}, [
|
|
17622
|
-
|
|
17623
|
-
|
|
17616
|
+
NJ,
|
|
17617
|
+
SJ
|
|
17624
17618
|
]);
|
|
17625
|
-
let
|
|
17619
|
+
let GJ = {
|
|
17626
17620
|
...n,
|
|
17627
|
-
color:
|
|
17628
|
-
disabled:
|
|
17621
|
+
color: PJ.color || "primary",
|
|
17622
|
+
disabled: PJ.disabled,
|
|
17629
17623
|
endAdornment: y,
|
|
17630
|
-
error:
|
|
17631
|
-
focused:
|
|
17632
|
-
formControl:
|
|
17624
|
+
error: PJ.error,
|
|
17625
|
+
focused: PJ.focused,
|
|
17626
|
+
formControl: NJ,
|
|
17633
17627
|
fullWidth: w,
|
|
17634
|
-
hiddenLabel:
|
|
17628
|
+
hiddenLabel: PJ.hiddenLabel,
|
|
17635
17629
|
multiline: K,
|
|
17636
|
-
size:
|
|
17637
|
-
startAdornment:
|
|
17638
|
-
type:
|
|
17639
|
-
},
|
|
17640
|
-
return
|
|
17641
|
-
...
|
|
17642
|
-
...
|
|
17630
|
+
size: PJ.size,
|
|
17631
|
+
startAdornment: SJ,
|
|
17632
|
+
type: CJ
|
|
17633
|
+
}, KJ = useUtilityClasses(GJ), qJ = xJ.root || d.Root || InputBaseRoot, JJ = bJ.root || f.root || {}, YJ = xJ.input || d.Input || InputBaseInput;
|
|
17634
|
+
return UJ = {
|
|
17635
|
+
...UJ,
|
|
17636
|
+
...bJ.input ?? f.input
|
|
17643
17637
|
}, (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
|
|
17644
17638
|
children: [
|
|
17645
17639
|
!v && typeof InputGlobalStyles == "function" && (_InputGlobalStyles || (_InputGlobalStyles = (0, import_jsx_runtime.jsx)(InputGlobalStyles, {}))),
|
|
17646
|
-
(0, import_jsx_runtime.jsxs)(
|
|
17647
|
-
...
|
|
17640
|
+
(0, import_jsx_runtime.jsxs)(qJ, {
|
|
17641
|
+
...JJ,
|
|
17648
17642
|
ref: t,
|
|
17649
|
-
onClick:
|
|
17650
|
-
...
|
|
17651
|
-
...!isHostComponent_default(
|
|
17643
|
+
onClick: VJ,
|
|
17644
|
+
...TJ,
|
|
17645
|
+
...!isHostComponent_default(qJ) && {
|
|
17652
17646
|
ownerState: {
|
|
17653
|
-
...
|
|
17654
|
-
...
|
|
17647
|
+
...GJ,
|
|
17648
|
+
...JJ.ownerState
|
|
17655
17649
|
}
|
|
17656
17650
|
},
|
|
17657
|
-
className: clsx_default(
|
|
17651
|
+
className: clsx_default(KJ.root, JJ.className, s, gJ && "MuiInputBase-readOnly"),
|
|
17658
17652
|
children: [
|
|
17659
|
-
|
|
17653
|
+
SJ,
|
|
17660
17654
|
(0, import_jsx_runtime.jsx)(FormControlContext_default.Provider, {
|
|
17661
17655
|
value: null,
|
|
17662
|
-
children: (0, import_jsx_runtime.jsx)(
|
|
17663
|
-
"aria-invalid":
|
|
17656
|
+
children: (0, import_jsx_runtime.jsx)(YJ, {
|
|
17657
|
+
"aria-invalid": PJ.error,
|
|
17664
17658
|
"aria-describedby": i,
|
|
17665
17659
|
autoComplete: a,
|
|
17666
17660
|
autoFocus: o,
|
|
17667
17661
|
defaultValue: h,
|
|
17668
|
-
disabled:
|
|
17662
|
+
disabled: PJ.disabled,
|
|
17669
17663
|
id: E,
|
|
17670
|
-
onAnimationStart:
|
|
17664
|
+
onAnimationStart: WJ,
|
|
17671
17665
|
name: q,
|
|
17672
|
-
placeholder:
|
|
17673
|
-
readOnly:
|
|
17674
|
-
required:
|
|
17675
|
-
rows:
|
|
17676
|
-
value:
|
|
17677
|
-
onKeyDown:
|
|
17678
|
-
onKeyUp:
|
|
17679
|
-
type:
|
|
17680
|
-
...
|
|
17681
|
-
...!isHostComponent_default(
|
|
17682
|
-
as:
|
|
17666
|
+
placeholder: hJ,
|
|
17667
|
+
readOnly: gJ,
|
|
17668
|
+
required: PJ.required,
|
|
17669
|
+
rows: vJ,
|
|
17670
|
+
value: EJ,
|
|
17671
|
+
onKeyDown: pJ,
|
|
17672
|
+
onKeyUp: mJ,
|
|
17673
|
+
type: CJ,
|
|
17674
|
+
...UJ,
|
|
17675
|
+
...!isHostComponent_default(YJ) && {
|
|
17676
|
+
as: HJ,
|
|
17683
17677
|
ownerState: {
|
|
17684
|
-
...
|
|
17685
|
-
...
|
|
17678
|
+
...GJ,
|
|
17679
|
+
...UJ.ownerState
|
|
17686
17680
|
}
|
|
17687
17681
|
},
|
|
17688
|
-
ref:
|
|
17689
|
-
className: clsx_default(
|
|
17690
|
-
onBlur:
|
|
17691
|
-
onChange:
|
|
17692
|
-
onFocus:
|
|
17682
|
+
ref: AJ,
|
|
17683
|
+
className: clsx_default(KJ.input, UJ.className, gJ && "MuiInputBase-readOnly"),
|
|
17684
|
+
onBlur: zJ,
|
|
17685
|
+
onChange: BJ,
|
|
17686
|
+
onFocus: RJ
|
|
17693
17687
|
})
|
|
17694
17688
|
}),
|
|
17695
17689
|
y,
|
|
17696
|
-
|
|
17697
|
-
...
|
|
17698
|
-
startAdornment:
|
|
17690
|
+
_J ? _J({
|
|
17691
|
+
...PJ,
|
|
17692
|
+
startAdornment: SJ
|
|
17699
17693
|
}) : null
|
|
17700
17694
|
]
|
|
17701
17695
|
})
|
|
@@ -18771,30 +18765,30 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18771
18765
|
M,
|
|
18772
18766
|
i,
|
|
18773
18767
|
a
|
|
18774
|
-
]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false), $ = useJsonViewerStore((e2) => e2.onChange),
|
|
18775
|
-
|
|
18768
|
+
]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false), $ = useJsonViewerStore((e2) => e2.onChange), fJ = useTextColor(), pJ = useJsonViewerStore((e2) => e2.colorspace.base0C), mJ = useJsonViewerStore((e2) => e2.colorspace.base0A), hJ = useJsonViewerStore((e2) => e2.displayComma), gJ = useJsonViewerStore((e2) => e2.quotesOnKeys), _J = useJsonViewerStore((e2) => e2.rootName), vJ = U === t, yJ = Number.isInteger(Number(A)), bJ = useJsonViewerStore((e2) => e2.enableAdd), xJ = useJsonViewerStore((e2) => e2.onAdd), SJ = (0, import_react.useMemo)(() => !xJ || a !== void 0 || bJ === false || v === false ? false : typeof bJ == "function" ? !!bJ(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
|
|
18769
|
+
xJ,
|
|
18776
18770
|
a,
|
|
18777
18771
|
i,
|
|
18778
|
-
|
|
18772
|
+
bJ,
|
|
18779
18773
|
v,
|
|
18780
18774
|
t
|
|
18781
|
-
]),
|
|
18782
|
-
|
|
18775
|
+
]), CJ = useJsonViewerStore((e2) => e2.enableDelete), wJ = useJsonViewerStore((e2) => e2.onDelete), TJ = (0, import_react.useMemo)(() => !wJ || a !== void 0 || vJ || CJ === false || v === false ? false : typeof CJ == "function" ? !!CJ(i, t) : CJ, [
|
|
18776
|
+
wJ,
|
|
18783
18777
|
a,
|
|
18784
|
-
|
|
18778
|
+
vJ,
|
|
18785
18779
|
i,
|
|
18786
|
-
|
|
18780
|
+
CJ,
|
|
18787
18781
|
v,
|
|
18788
18782
|
t
|
|
18789
|
-
]),
|
|
18790
|
-
|
|
18783
|
+
]), EJ = useJsonViewerStore((e2) => e2.enableClipboard), { copy: DJ, copied: OJ } = useClipboard(), kJ = useJsonViewerStore((e2) => e2.highlightUpdates), AJ = (0, import_react.useMemo)(() => !kJ || n === void 0 ? false : typeof t == typeof n ? typeof t == "number" ? isNaN(t) && isNaN(n) ? false : t !== n : Array.isArray(t) === Array.isArray(n) ? typeof t == "object" || typeof t == "function" ? false : t !== n : true : true, [
|
|
18784
|
+
kJ,
|
|
18791
18785
|
n,
|
|
18792
18786
|
t
|
|
18793
|
-
]),
|
|
18787
|
+
]), jJ = (0, import_react.useRef)();
|
|
18794
18788
|
(0, import_react.useEffect)(() => {
|
|
18795
|
-
|
|
18789
|
+
jJ.current && AJ && "animate" in jJ.current && jJ.current.animate([
|
|
18796
18790
|
{
|
|
18797
|
-
backgroundColor:
|
|
18791
|
+
backgroundColor: mJ
|
|
18798
18792
|
},
|
|
18799
18793
|
{
|
|
18800
18794
|
backgroundColor: ""
|
|
@@ -18804,22 +18798,22 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18804
18798
|
easing: "ease-in"
|
|
18805
18799
|
});
|
|
18806
18800
|
}, [
|
|
18807
|
-
|
|
18808
|
-
|
|
18801
|
+
mJ,
|
|
18802
|
+
AJ,
|
|
18809
18803
|
n,
|
|
18810
18804
|
t
|
|
18811
18805
|
]);
|
|
18812
|
-
let
|
|
18806
|
+
let MJ = (0, import_react.useCallback)((e2) => {
|
|
18813
18807
|
e2.preventDefault(), h && E(h(t)), Q(true);
|
|
18814
18808
|
}, [
|
|
18815
18809
|
h,
|
|
18816
18810
|
t
|
|
18817
|
-
]),
|
|
18811
|
+
]), NJ = (0, import_react.useCallback)(() => {
|
|
18818
18812
|
Q(false), E("");
|
|
18819
18813
|
}, [
|
|
18820
18814
|
Q,
|
|
18821
18815
|
E
|
|
18822
|
-
]),
|
|
18816
|
+
]), PJ = (0, import_react.useCallback)((e2) => {
|
|
18823
18817
|
if (Q(false), _) try {
|
|
18824
18818
|
$(i, t, _(e2));
|
|
18825
18819
|
} catch {
|
|
@@ -18830,14 +18824,14 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18830
18824
|
$,
|
|
18831
18825
|
i,
|
|
18832
18826
|
t
|
|
18833
|
-
]),
|
|
18827
|
+
]), FJ = (0, import_react.useMemo)(() => J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
18834
18828
|
children: [
|
|
18835
18829
|
(0, import_jsx_runtime.jsx)(IconBox, {
|
|
18836
18830
|
children: (0, import_jsx_runtime.jsx)(CloseIcon, {
|
|
18837
18831
|
sx: {
|
|
18838
18832
|
fontSize: ".8rem"
|
|
18839
18833
|
},
|
|
18840
|
-
onClick:
|
|
18834
|
+
onClick: NJ
|
|
18841
18835
|
})
|
|
18842
18836
|
}),
|
|
18843
18837
|
(0, import_jsx_runtime.jsx)(IconBox, {
|
|
@@ -18845,22 +18839,22 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18845
18839
|
sx: {
|
|
18846
18840
|
fontSize: ".8rem"
|
|
18847
18841
|
},
|
|
18848
|
-
onClick: () =>
|
|
18842
|
+
onClick: () => PJ(w)
|
|
18849
18843
|
})
|
|
18850
18844
|
})
|
|
18851
18845
|
]
|
|
18852
18846
|
}) : (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
18853
18847
|
children: [
|
|
18854
|
-
|
|
18848
|
+
EJ && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
18855
18849
|
onClick: (e2) => {
|
|
18856
18850
|
e2.preventDefault();
|
|
18857
18851
|
try {
|
|
18858
|
-
|
|
18852
|
+
DJ(i, t, copyString);
|
|
18859
18853
|
} catch (e3) {
|
|
18860
18854
|
console.error(e3);
|
|
18861
18855
|
}
|
|
18862
18856
|
},
|
|
18863
|
-
children:
|
|
18857
|
+
children: OJ ? (0, import_jsx_runtime.jsx)(CheckIcon$1, {
|
|
18864
18858
|
sx: {
|
|
18865
18859
|
fontSize: ".8rem"
|
|
18866
18860
|
}
|
|
@@ -18871,16 +18865,16 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18871
18865
|
})
|
|
18872
18866
|
}),
|
|
18873
18867
|
f && S && h && _ && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
18874
|
-
onClick:
|
|
18868
|
+
onClick: MJ,
|
|
18875
18869
|
children: (0, import_jsx_runtime.jsx)(EditIcon, {
|
|
18876
18870
|
sx: {
|
|
18877
18871
|
fontSize: ".8rem"
|
|
18878
18872
|
}
|
|
18879
18873
|
})
|
|
18880
18874
|
}),
|
|
18881
|
-
|
|
18875
|
+
SJ && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
18882
18876
|
onClick: (e2) => {
|
|
18883
|
-
e2.preventDefault(),
|
|
18877
|
+
e2.preventDefault(), xJ == null ? void 0 : xJ(i);
|
|
18884
18878
|
},
|
|
18885
18879
|
children: (0, import_jsx_runtime.jsx)(AddBoxIcon, {
|
|
18886
18880
|
sx: {
|
|
@@ -18888,9 +18882,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18888
18882
|
}
|
|
18889
18883
|
})
|
|
18890
18884
|
}),
|
|
18891
|
-
|
|
18885
|
+
TJ && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
18892
18886
|
onClick: (e2) => {
|
|
18893
|
-
e2.preventDefault(),
|
|
18887
|
+
e2.preventDefault(), wJ == null ? void 0 : wJ(i, t);
|
|
18894
18888
|
},
|
|
18895
18889
|
children: (0, import_jsx_runtime.jsx)(DeleteIcon, {
|
|
18896
18890
|
sx: {
|
|
@@ -18903,24 +18897,24 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18903
18897
|
f,
|
|
18904
18898
|
h,
|
|
18905
18899
|
_,
|
|
18906
|
-
kJ,
|
|
18907
18900
|
OJ,
|
|
18901
|
+
DJ,
|
|
18908
18902
|
S,
|
|
18909
18903
|
J,
|
|
18910
|
-
DJ,
|
|
18911
|
-
CJ,
|
|
18912
18904
|
EJ,
|
|
18905
|
+
SJ,
|
|
18906
|
+
TJ,
|
|
18913
18907
|
w,
|
|
18914
18908
|
i,
|
|
18915
18909
|
t,
|
|
18916
|
-
|
|
18917
|
-
|
|
18910
|
+
xJ,
|
|
18911
|
+
wJ,
|
|
18912
|
+
MJ,
|
|
18918
18913
|
NJ,
|
|
18919
|
-
PJ
|
|
18920
|
-
|
|
18921
|
-
]), LJ = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
|
|
18914
|
+
PJ
|
|
18915
|
+
]), IJ = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
|
|
18922
18916
|
t
|
|
18923
|
-
]),
|
|
18917
|
+
]), LJ = !IJ && !!(c && d), RJ = useJsonViewerStore((e2) => e2.keyRenderer), zJ = (0, import_react.useMemo)(() => ({
|
|
18924
18918
|
path: i,
|
|
18925
18919
|
inspect: K,
|
|
18926
18920
|
setInspect: q,
|
|
@@ -18952,18 +18946,18 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18952
18946
|
className: "data-key",
|
|
18953
18947
|
sx: {
|
|
18954
18948
|
lineHeight: 1.5,
|
|
18955
|
-
color:
|
|
18949
|
+
color: fJ,
|
|
18956
18950
|
letterSpacing: 0.5,
|
|
18957
18951
|
opacity: 0.8
|
|
18958
18952
|
},
|
|
18959
18953
|
onClick: (0, import_react.useCallback)((e2) => {
|
|
18960
|
-
e2.isDefaultPrevented() ||
|
|
18954
|
+
e2.isDefaultPrevented() || IJ || q((e3) => !e3);
|
|
18961
18955
|
}, [
|
|
18962
|
-
|
|
18956
|
+
IJ,
|
|
18963
18957
|
q
|
|
18964
18958
|
]),
|
|
18965
18959
|
children: [
|
|
18966
|
-
|
|
18960
|
+
LJ ? K ? (0, import_jsx_runtime.jsx)(ExpandMoreIcon, {
|
|
18967
18961
|
className: "data-key-toggle-expanded",
|
|
18968
18962
|
sx: {
|
|
18969
18963
|
fontSize: ".8rem",
|
|
@@ -18981,27 +18975,27 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18981
18975
|
}
|
|
18982
18976
|
}) : null,
|
|
18983
18977
|
(0, import_jsx_runtime.jsx)(Box_default, {
|
|
18984
|
-
ref:
|
|
18978
|
+
ref: jJ,
|
|
18985
18979
|
className: "data-key-key",
|
|
18986
18980
|
component: "span",
|
|
18987
|
-
children:
|
|
18981
|
+
children: vJ && O === 0 ? _J === false ? null : gJ ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
18988
18982
|
children: [
|
|
18989
18983
|
'"',
|
|
18990
|
-
|
|
18984
|
+
_J,
|
|
18991
18985
|
'"'
|
|
18992
18986
|
]
|
|
18993
18987
|
}) : (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
|
|
18994
|
-
children:
|
|
18995
|
-
}) :
|
|
18996
|
-
...
|
|
18997
|
-
}) : a === void 0 && (
|
|
18988
|
+
children: _J
|
|
18989
|
+
}) : RJ.when(zJ) ? (0, import_jsx_runtime.jsx)(RJ, {
|
|
18990
|
+
...zJ
|
|
18991
|
+
}) : a === void 0 && (yJ ? (0, import_jsx_runtime.jsx)(Box_default, {
|
|
18998
18992
|
component: "span",
|
|
18999
18993
|
style: {
|
|
19000
|
-
color:
|
|
19001
|
-
userSelect:
|
|
18994
|
+
color: pJ,
|
|
18995
|
+
userSelect: yJ ? "none" : "auto"
|
|
19002
18996
|
},
|
|
19003
18997
|
children: A
|
|
19004
|
-
}) :
|
|
18998
|
+
}) : gJ ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
19005
18999
|
children: [
|
|
19006
19000
|
'"',
|
|
19007
19001
|
A,
|
|
@@ -19011,7 +19005,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
19011
19005
|
children: A
|
|
19012
19006
|
}))
|
|
19013
19007
|
}),
|
|
19014
|
-
|
|
19008
|
+
vJ ? _J !== false && (0, import_jsx_runtime.jsx)(DataBox, {
|
|
19015
19009
|
className: "data-key-colon",
|
|
19016
19010
|
sx: {
|
|
19017
19011
|
mr: 0.5
|
|
@@ -19024,38 +19018,38 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
19024
19018
|
".data-key-key:empty + &": {
|
|
19025
19019
|
display: "none"
|
|
19026
19020
|
},
|
|
19027
|
-
userSelect:
|
|
19021
|
+
userSelect: yJ ? "none" : "auto"
|
|
19028
19022
|
},
|
|
19029
19023
|
children: ":"
|
|
19030
19024
|
}),
|
|
19031
19025
|
c && (0, import_jsx_runtime.jsx)(c, {
|
|
19032
|
-
...
|
|
19026
|
+
...zJ
|
|
19033
19027
|
}),
|
|
19034
|
-
I &&
|
|
19028
|
+
I && LJ && K && FJ
|
|
19035
19029
|
]
|
|
19036
19030
|
}),
|
|
19037
19031
|
J && S ? f && (0, import_jsx_runtime.jsx)(f, {
|
|
19038
19032
|
path: i,
|
|
19039
19033
|
value: w,
|
|
19040
19034
|
setValue: E,
|
|
19041
|
-
abortEditing:
|
|
19042
|
-
commitEditing:
|
|
19035
|
+
abortEditing: NJ,
|
|
19036
|
+
commitEditing: PJ
|
|
19043
19037
|
}) : s ? (0, import_jsx_runtime.jsx)(s, {
|
|
19044
|
-
...
|
|
19038
|
+
...zJ
|
|
19045
19039
|
}) : (0, import_jsx_runtime.jsx)(Box_default, {
|
|
19046
19040
|
component: "span",
|
|
19047
19041
|
className: "data-value-fallback",
|
|
19048
19042
|
children: `fallback: ${t}`
|
|
19049
19043
|
}),
|
|
19050
19044
|
d && (0, import_jsx_runtime.jsx)(d, {
|
|
19051
|
-
...
|
|
19045
|
+
...zJ
|
|
19052
19046
|
}),
|
|
19053
|
-
!o &&
|
|
19047
|
+
!o && hJ && (0, import_jsx_runtime.jsx)(DataBox, {
|
|
19054
19048
|
children: ","
|
|
19055
19049
|
}),
|
|
19056
|
-
I &&
|
|
19057
|
-
I && !
|
|
19058
|
-
!I && J &&
|
|
19050
|
+
I && LJ && !K && FJ,
|
|
19051
|
+
I && !LJ && FJ,
|
|
19052
|
+
!I && J && FJ
|
|
19059
19053
|
]
|
|
19060
19054
|
});
|
|
19061
19055
|
}, query = "(prefers-color-scheme: dark)";
|
|
@@ -19572,20 +19566,20 @@ ${n}` : "Please fix this error.";
|
|
|
19572
19566
|
}
|
|
19573
19567
|
}), t2 == null ? void 0 : t2.focus();
|
|
19574
19568
|
}, t[5] = i, t[6] = c, t[7] = S, t[8] = v, t[9] = s, t[10] = w) : w = t[10];
|
|
19575
|
-
let
|
|
19576
|
-
t[11] !== i || t[12] !== y ? (
|
|
19569
|
+
let E = w, O;
|
|
19570
|
+
t[11] !== i || t[12] !== y ? (O = () => {
|
|
19577
19571
|
y({
|
|
19578
19572
|
prompt: buildFixInChatPrompt(i)
|
|
19579
19573
|
});
|
|
19580
|
-
}, t[11] = i, t[12] = y, t[13] =
|
|
19581
|
-
let
|
|
19582
|
-
t[14] === a ?
|
|
19583
|
-
let
|
|
19584
|
-
t[16] !== S.description || t[17] !== S.fixType || t[18] !== S.title || t[19] !==
|
|
19574
|
+
}, t[11] = i, t[12] = y, t[13] = O) : O = t[13];
|
|
19575
|
+
let A = O, M;
|
|
19576
|
+
t[14] === a ? M = t[15] : (M = cn("my-2", a), t[14] = a, t[15] = M);
|
|
19577
|
+
let I;
|
|
19578
|
+
t[16] !== S.description || t[17] !== S.fixType || t[18] !== S.title || t[19] !== E || t[20] !== A ? (I = S.fixType === "ai" ? (0, import_jsx_runtime.jsx)(AIFixButton, {
|
|
19585
19579
|
tooltip: S.description,
|
|
19586
|
-
openPrompt: () =>
|
|
19587
|
-
applyAutofix: () =>
|
|
19588
|
-
openChat:
|
|
19580
|
+
openPrompt: () => E(false),
|
|
19581
|
+
applyAutofix: () => E(true),
|
|
19582
|
+
openChat: A
|
|
19589
19583
|
}) : (0, import_jsx_runtime.jsx)(Tooltip, {
|
|
19590
19584
|
content: S.description,
|
|
19591
19585
|
align: "start",
|
|
@@ -19593,7 +19587,7 @@ ${n}` : "Please fix this error.";
|
|
|
19593
19587
|
size: "xs",
|
|
19594
19588
|
variant: "outline",
|
|
19595
19589
|
className: "font-normal",
|
|
19596
|
-
onClick: () =>
|
|
19590
|
+
onClick: () => E(false),
|
|
19597
19591
|
children: [
|
|
19598
19592
|
(0, import_jsx_runtime.jsx)(Wrench, {
|
|
19599
19593
|
className: "h-3 w-3 mr-2"
|
|
@@ -19601,12 +19595,12 @@ ${n}` : "Please fix this error.";
|
|
|
19601
19595
|
S.title
|
|
19602
19596
|
]
|
|
19603
19597
|
})
|
|
19604
|
-
}), t[16] = S.description, t[17] = S.fixType, t[18] = S.title, t[19] =
|
|
19605
|
-
let
|
|
19606
|
-
return t[22] !==
|
|
19607
|
-
className:
|
|
19608
|
-
children:
|
|
19609
|
-
}), t[22] =
|
|
19598
|
+
}), t[16] = S.description, t[17] = S.fixType, t[18] = S.title, t[19] = E, t[20] = A, t[21] = I) : I = t[21];
|
|
19599
|
+
let z;
|
|
19600
|
+
return t[22] !== M || t[23] !== I ? (z = (0, import_jsx_runtime.jsx)("div", {
|
|
19601
|
+
className: M,
|
|
19602
|
+
children: I
|
|
19603
|
+
}), t[22] = M, t[23] = I, t[24] = z) : z = t[24], z;
|
|
19610
19604
|
};
|
|
19611
19605
|
var MODE_CONFIG = {
|
|
19612
19606
|
autofix: {
|
|
@@ -20143,18 +20137,18 @@ ${n}` : "Please fix this error.";
|
|
|
20143
20137
|
}
|
|
20144
20138
|
let y, S, w, E, A, M;
|
|
20145
20139
|
if (t[2] !== f || t[3] !== i || t[4] !== s || t[5] !== a || t[6] !== n || t[7] !== c || t[8] !== v || t[9] !== _ || t[10] !== d) {
|
|
20146
|
-
let e2 = n.filter(_temp8),
|
|
20147
|
-
t[17] === s ?
|
|
20140
|
+
let e2 = n.filter(_temp8), I2 = n.filter(_temp9), z2 = n.filter(_temp0), U = n.filter(_temp1), K = n.filter(_temp10), q = n.filter(_temp11), J = n.filter(_temp12), $ = n.filter(_temp13), fJ = n.filter(_temp14), pJ = n.filter(_temp15), mJ = n.filter(_temp16), hJ = n.filter(_temp17), gJ = n.filter(_temp18), _J;
|
|
20141
|
+
t[17] === s ? _J = t[18] : (_J = () => {
|
|
20148
20142
|
s.openApplication("scratchpad");
|
|
20149
|
-
}, t[17] = s, t[18] =
|
|
20150
|
-
let
|
|
20143
|
+
}, t[17] = s, t[18] = _J);
|
|
20144
|
+
let vJ = _J, yJ = () => {
|
|
20151
20145
|
let t2 = [];
|
|
20152
|
-
if (
|
|
20153
|
-
let e3 =
|
|
20146
|
+
if (mJ.length > 0 || hJ.length > 0) {
|
|
20147
|
+
let e3 = mJ.some(_temp19), n2 = !e3 && mJ.some(_temp20);
|
|
20154
20148
|
t2.push((0, import_jsx_runtime.jsxs)("div", {
|
|
20155
20149
|
children: [
|
|
20156
|
-
|
|
20157
|
-
|
|
20150
|
+
mJ.map(_temp21),
|
|
20151
|
+
hJ.map(_temp22),
|
|
20158
20152
|
e3 && (0, import_jsx_runtime.jsxs)(Button, {
|
|
20159
20153
|
size: "xs",
|
|
20160
20154
|
variant: "outline",
|
|
@@ -20185,8 +20179,8 @@ ${n}` : "Please fix this error.";
|
|
|
20185
20179
|
}),
|
|
20186
20180
|
i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
|
|
20187
20181
|
errors: [
|
|
20188
|
-
...
|
|
20189
|
-
...
|
|
20182
|
+
...mJ,
|
|
20183
|
+
...hJ
|
|
20190
20184
|
],
|
|
20191
20185
|
cellId: i
|
|
20192
20186
|
})
|
|
@@ -20239,7 +20233,7 @@ ${n}` : "Please fix this error.";
|
|
|
20239
20233
|
]
|
|
20240
20234
|
})
|
|
20241
20235
|
]
|
|
20242
|
-
}, "setup-refs")),
|
|
20236
|
+
}, "setup-refs")), I2.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
|
|
20243
20237
|
children: [
|
|
20244
20238
|
(0, import_jsx_runtime.jsx)("p", {
|
|
20245
20239
|
className: "text-muted-foreground font-medium",
|
|
@@ -20247,10 +20241,10 @@ ${n}` : "Please fix this error.";
|
|
|
20247
20241
|
}),
|
|
20248
20242
|
(0, import_jsx_runtime.jsx)("ul", {
|
|
20249
20243
|
className: "list-disc",
|
|
20250
|
-
children:
|
|
20244
|
+
children: I2.flatMap(_temp24)
|
|
20251
20245
|
}),
|
|
20252
20246
|
i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
|
|
20253
|
-
errors:
|
|
20247
|
+
errors: I2,
|
|
20254
20248
|
cellId: i
|
|
20255
20249
|
}),
|
|
20256
20250
|
(0, import_jsx_runtime.jsxs)(Tip, {
|
|
@@ -20285,17 +20279,17 @@ ${n}` : "Please fix this error.";
|
|
|
20285
20279
|
]
|
|
20286
20280
|
})
|
|
20287
20281
|
]
|
|
20288
|
-
}, "cycle")),
|
|
20289
|
-
let e3 =
|
|
20282
|
+
}, "cycle")), z2.length > 0) {
|
|
20283
|
+
let e3 = z2[0].name;
|
|
20290
20284
|
t2.push((0, import_jsx_runtime.jsxs)("div", {
|
|
20291
20285
|
children: [
|
|
20292
20286
|
(0, import_jsx_runtime.jsx)("p", {
|
|
20293
20287
|
className: "text-muted-foreground font-medium",
|
|
20294
20288
|
children: "This cell redefines variables from other cells."
|
|
20295
20289
|
}),
|
|
20296
|
-
|
|
20290
|
+
z2.map(_temp26),
|
|
20297
20291
|
i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
|
|
20298
|
-
errors:
|
|
20292
|
+
errors: z2,
|
|
20299
20293
|
cellId: i
|
|
20300
20294
|
}),
|
|
20301
20295
|
(0, import_jsx_runtime.jsxs)(Tip, {
|
|
@@ -20347,7 +20341,7 @@ ${n}` : "Please fix this error.";
|
|
|
20347
20341
|
size: "xs",
|
|
20348
20342
|
variant: "link",
|
|
20349
20343
|
className: "my-2 font-normal mx-0 px-0",
|
|
20350
|
-
onClick:
|
|
20344
|
+
onClick: vJ,
|
|
20351
20345
|
children: [
|
|
20352
20346
|
(0, import_jsx_runtime.jsx)(NotebookPen, {
|
|
20353
20347
|
className: "h-3"
|
|
@@ -20366,11 +20360,11 @@ ${n}` : "Please fix this error.";
|
|
|
20366
20360
|
]
|
|
20367
20361
|
}, "multiple-defs"));
|
|
20368
20362
|
}
|
|
20369
|
-
return
|
|
20363
|
+
return U.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
|
|
20370
20364
|
children: [
|
|
20371
|
-
|
|
20365
|
+
U.map(_temp27),
|
|
20372
20366
|
i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
|
|
20373
|
-
errors:
|
|
20367
|
+
errors: U,
|
|
20374
20368
|
cellId: i
|
|
20375
20369
|
}),
|
|
20376
20370
|
(0, import_jsx_runtime.jsxs)(Tip, {
|
|
@@ -20408,17 +20402,17 @@ ${n}` : "Please fix this error.";
|
|
|
20408
20402
|
]
|
|
20409
20403
|
})
|
|
20410
20404
|
]
|
|
20411
|
-
}, "import-star")),
|
|
20405
|
+
}, "import-star")), K.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
|
|
20412
20406
|
children: [
|
|
20413
|
-
|
|
20407
|
+
K.map(_temp28),
|
|
20414
20408
|
i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
|
|
20415
|
-
errors:
|
|
20409
|
+
errors: K,
|
|
20416
20410
|
cellId: i
|
|
20417
20411
|
})
|
|
20418
20412
|
]
|
|
20419
|
-
}, "interruption")),
|
|
20413
|
+
}, "interruption")), q.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("ul", {
|
|
20420
20414
|
children: [
|
|
20421
|
-
|
|
20415
|
+
q.map((e3, t3) => e3.exception_type === "NameError" && e3.msg.startsWith("name 'mo'") ? (0, import_jsx_runtime.jsx)("li", {
|
|
20422
20416
|
className: "my-2",
|
|
20423
20417
|
children: (0, import_jsx_runtime.jsxs)("div", {
|
|
20424
20418
|
children: [
|
|
@@ -20503,61 +20497,61 @@ ${n}` : "Please fix this error.";
|
|
|
20503
20497
|
]
|
|
20504
20498
|
})
|
|
20505
20499
|
}, `exception-${t3}`)),
|
|
20506
|
-
|
|
20500
|
+
q.some(_temp29) && (0, import_jsx_runtime.jsx)(Tip, {
|
|
20507
20501
|
children: "Fix the error in the mentioned cells, or handle the exceptions with try/except blocks."
|
|
20508
20502
|
}),
|
|
20509
20503
|
i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
|
|
20510
|
-
errors:
|
|
20504
|
+
errors: q,
|
|
20511
20505
|
cellId: i
|
|
20512
20506
|
})
|
|
20513
20507
|
]
|
|
20514
|
-
}, "exception")),
|
|
20508
|
+
}, "exception")), J.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("ul", {
|
|
20515
20509
|
children: [
|
|
20516
|
-
|
|
20510
|
+
J.map(_temp30),
|
|
20517
20511
|
i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
|
|
20518
|
-
errors:
|
|
20512
|
+
errors: J,
|
|
20519
20513
|
cellId: i
|
|
20520
20514
|
}),
|
|
20521
20515
|
(0, import_jsx_runtime.jsx)(Tip, {
|
|
20522
|
-
children:
|
|
20516
|
+
children: J.some(_temp31) ? "Ensure that the referenced cells define the required variables, or turn off strict execution." : "Something is wrong with your declarations. Fix any discrepancies, or turn off strict execution."
|
|
20523
20517
|
})
|
|
20524
20518
|
]
|
|
20525
|
-
}, "strict-exception")),
|
|
20519
|
+
}, "strict-exception")), $.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
|
|
20526
20520
|
children: [
|
|
20527
|
-
|
|
20521
|
+
$.map(_temp32),
|
|
20528
20522
|
i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
|
|
20529
|
-
errors:
|
|
20523
|
+
errors: $,
|
|
20530
20524
|
cellId: i
|
|
20531
20525
|
})
|
|
20532
20526
|
]
|
|
20533
|
-
}, "internal")),
|
|
20527
|
+
}, "internal")), fJ.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
|
|
20534
20528
|
children: [
|
|
20535
|
-
|
|
20529
|
+
fJ.map(_temp33),
|
|
20536
20530
|
i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
|
|
20537
|
-
errors:
|
|
20531
|
+
errors: fJ,
|
|
20538
20532
|
cellId: i
|
|
20539
20533
|
})
|
|
20540
20534
|
]
|
|
20541
|
-
}, "ancestor-prevented")),
|
|
20535
|
+
}, "ancestor-prevented")), pJ.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
|
|
20542
20536
|
children: [
|
|
20543
|
-
|
|
20537
|
+
pJ.map(_temp34),
|
|
20544
20538
|
i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
|
|
20545
|
-
errors:
|
|
20539
|
+
errors: pJ,
|
|
20546
20540
|
cellId: i
|
|
20547
20541
|
})
|
|
20548
20542
|
]
|
|
20549
|
-
}, "ancestor-stopped")),
|
|
20543
|
+
}, "ancestor-stopped")), gJ.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
|
|
20550
20544
|
children: [
|
|
20551
|
-
|
|
20545
|
+
gJ.map(_temp35),
|
|
20552
20546
|
i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
|
|
20553
|
-
errors:
|
|
20547
|
+
errors: gJ,
|
|
20554
20548
|
cellId: i,
|
|
20555
20549
|
className: "mt-2.5"
|
|
20556
20550
|
})
|
|
20557
20551
|
]
|
|
20558
20552
|
}, "sql-errors")), t2;
|
|
20559
|
-
},
|
|
20560
|
-
t[19] === v ?
|
|
20553
|
+
}, bJ;
|
|
20554
|
+
t[19] === v ? bJ = t[20] : (bJ = v && (0, import_jsx_runtime.jsxs)("div", {
|
|
20561
20555
|
className: "flex items-center gap-1 font-code text-[0.6875rem] uppercase tracking-wider text-muted-foreground/70",
|
|
20562
20556
|
children: [
|
|
20563
20557
|
v,
|
|
@@ -20569,22 +20563,22 @@ ${n}` : "Please fix this error.";
|
|
|
20569
20563
|
})
|
|
20570
20564
|
})
|
|
20571
20565
|
]
|
|
20572
|
-
}), t[19] = v, t[20] =
|
|
20566
|
+
}), t[19] = v, t[20] = bJ);
|
|
20573
20567
|
let xJ;
|
|
20574
20568
|
t[21] !== _ || t[22] !== d ? (xJ = d && (0, import_jsx_runtime.jsx)(AlertTitle, {
|
|
20575
20569
|
className: `font-code font-medium ${_}`,
|
|
20576
20570
|
children: d
|
|
20577
20571
|
}), t[21] = _, t[22] = d, t[23] = xJ) : xJ = t[23];
|
|
20578
20572
|
let SJ;
|
|
20579
|
-
t[24] !==
|
|
20573
|
+
t[24] !== bJ || t[25] !== xJ ? (SJ = (0, import_jsx_runtime.jsxs)("div", {
|
|
20580
20574
|
className: "space-y-0.5",
|
|
20581
20575
|
children: [
|
|
20582
|
-
|
|
20576
|
+
bJ,
|
|
20583
20577
|
xJ
|
|
20584
20578
|
]
|
|
20585
|
-
}), t[24] =
|
|
20586
|
-
let
|
|
20587
|
-
y = Alert, E = f, t[27] === a ? A = t[28] : (A = cn("border-none font-code text-sm text-[0.84375rem] p-0 text-muted-foreground normal has-[svg]:pl-0 space-y-2", a), t[27] = a, t[28] = A), M =
|
|
20579
|
+
}), t[24] = bJ, t[25] = xJ, t[26] = SJ) : SJ = t[26];
|
|
20580
|
+
let CJ = SJ;
|
|
20581
|
+
y = Alert, E = f, t[27] === a ? A = t[28] : (A = cn("border-none font-code text-sm text-[0.84375rem] p-0 text-muted-foreground normal has-[svg]:pl-0 space-y-2", a), t[27] = a, t[28] = A), M = CJ, S = "flex flex-col gap-4", w = yJ(), t[2] = f, t[3] = i, t[4] = s, t[5] = a, t[6] = n, t[7] = c, t[8] = v, t[9] = _, t[10] = d, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = A, t[16] = M;
|
|
20588
20582
|
} else y = t[11], S = t[12], w = t[13], E = t[14], A = t[15], M = t[16];
|
|
20589
20583
|
let I;
|
|
20590
20584
|
t[29] !== S || t[30] !== w ? (I = (0, import_jsx_runtime.jsx)("div", {
|
|
@@ -26660,7 +26654,7 @@ ${n}` : "Please fix this error.";
|
|
|
26660
26654
|
function PanelWithForwardedRef({ children: e, className: t = "", collapsedSize: n, collapsible: i, defaultSize: a, forwardedRef: o, id: s, maxSize: c, minSize: d, onCollapse: f, onExpand: h, onResize: _, order: v, style: y, tagName: S = "div", ...w }) {
|
|
26661
26655
|
let E = (0, import_react.useContext)(PanelGroupContext);
|
|
26662
26656
|
if (E === null) throw Error("Panel components must be rendered within a PanelGroup container");
|
|
26663
|
-
let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, $ = useUniqueId(s),
|
|
26657
|
+
let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, $ = useUniqueId(s), fJ = (0, import_react.useRef)({
|
|
26664
26658
|
callbacks: {
|
|
26665
26659
|
onCollapse: f,
|
|
26666
26660
|
onExpand: h,
|
|
@@ -26680,12 +26674,12 @@ ${n}` : "Please fix this error.";
|
|
|
26680
26674
|
(0, import_react.useRef)({
|
|
26681
26675
|
didLogMissingDefaultSizeWarning: false
|
|
26682
26676
|
}), useIsomorphicLayoutEffect$1(() => {
|
|
26683
|
-
let { callbacks: e2, constraints: t2 } =
|
|
26677
|
+
let { callbacks: e2, constraints: t2 } = fJ.current, o2 = {
|
|
26684
26678
|
...t2
|
|
26685
26679
|
};
|
|
26686
|
-
|
|
26680
|
+
fJ.current.id = $, fJ.current.idIsFromProps = s !== void 0, fJ.current.order = v, e2.onCollapse = f, e2.onExpand = h, e2.onResize = _, t2.collapsedSize = n, t2.collapsible = i, t2.defaultSize = a, t2.maxSize = c, t2.minSize = d, (o2.collapsedSize !== t2.collapsedSize || o2.collapsible !== t2.collapsible || o2.maxSize !== t2.maxSize || o2.minSize !== t2.minSize) && K(fJ.current, o2);
|
|
26687
26681
|
}), useIsomorphicLayoutEffect$1(() => {
|
|
26688
|
-
let e2 =
|
|
26682
|
+
let e2 = fJ.current;
|
|
26689
26683
|
return q(e2), () => {
|
|
26690
26684
|
Q(e2);
|
|
26691
26685
|
};
|
|
@@ -26696,25 +26690,25 @@ ${n}` : "Please fix this error.";
|
|
|
26696
26690
|
Q
|
|
26697
26691
|
]), (0, import_react.useImperativeHandle)(o, () => ({
|
|
26698
26692
|
collapse: () => {
|
|
26699
|
-
O(
|
|
26693
|
+
O(fJ.current);
|
|
26700
26694
|
},
|
|
26701
26695
|
expand: (e2) => {
|
|
26702
|
-
A(
|
|
26696
|
+
A(fJ.current, e2);
|
|
26703
26697
|
},
|
|
26704
26698
|
getId() {
|
|
26705
26699
|
return $;
|
|
26706
26700
|
},
|
|
26707
26701
|
getSize() {
|
|
26708
|
-
return M(
|
|
26702
|
+
return M(fJ.current);
|
|
26709
26703
|
},
|
|
26710
26704
|
isCollapsed() {
|
|
26711
|
-
return U(
|
|
26705
|
+
return U(fJ.current);
|
|
26712
26706
|
},
|
|
26713
26707
|
isExpanded() {
|
|
26714
|
-
return !U(
|
|
26708
|
+
return !U(fJ.current);
|
|
26715
26709
|
},
|
|
26716
26710
|
resize: (e2) => {
|
|
26717
|
-
J(
|
|
26711
|
+
J(fJ.current, e2);
|
|
26718
26712
|
}
|
|
26719
26713
|
}), [
|
|
26720
26714
|
O,
|
|
@@ -26724,21 +26718,21 @@ ${n}` : "Please fix this error.";
|
|
|
26724
26718
|
$,
|
|
26725
26719
|
J
|
|
26726
26720
|
]);
|
|
26727
|
-
let
|
|
26721
|
+
let pJ = I(fJ.current, a);
|
|
26728
26722
|
return (0, import_react.createElement)(S, {
|
|
26729
26723
|
...w,
|
|
26730
26724
|
children: e,
|
|
26731
26725
|
className: t,
|
|
26732
26726
|
id: $,
|
|
26733
26727
|
style: {
|
|
26734
|
-
...
|
|
26728
|
+
...pJ,
|
|
26735
26729
|
...y
|
|
26736
26730
|
},
|
|
26737
26731
|
[DATA_ATTRIBUTES.groupId]: z,
|
|
26738
26732
|
[DATA_ATTRIBUTES.panel]: "",
|
|
26739
26733
|
[DATA_ATTRIBUTES.panelCollapsible]: i || void 0,
|
|
26740
26734
|
[DATA_ATTRIBUTES.panelId]: $,
|
|
26741
|
-
[DATA_ATTRIBUTES.panelSize]: parseFloat("" +
|
|
26735
|
+
[DATA_ATTRIBUTES.panelSize]: parseFloat("" + pJ.flexGrow).toFixed(1)
|
|
26742
26736
|
});
|
|
26743
26737
|
}
|
|
26744
26738
|
Panel = (0, import_react.forwardRef)((e, t) => (0, import_react.createElement)(PanelWithForwardedRef, {
|
|
@@ -27523,13 +27517,13 @@ ${n}` : "Please fix this error.";
|
|
|
27523
27517
|
}, [
|
|
27524
27518
|
S,
|
|
27525
27519
|
E
|
|
27526
|
-
]),
|
|
27520
|
+
]), fJ = (0, import_react.useCallback)((e2) => {
|
|
27527
27521
|
let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
|
|
27528
27522
|
return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), a2 === true && fuzzyNumbersEqual$1(o2, i2);
|
|
27529
|
-
}, []),
|
|
27523
|
+
}, []), pJ = (0, import_react.useCallback)((e2) => {
|
|
27530
27524
|
let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
|
|
27531
27525
|
return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), !a2 || fuzzyCompareNumbers(o2, i2) > 0;
|
|
27532
|
-
}, []),
|
|
27526
|
+
}, []), mJ = (0, import_react.useCallback)((e2) => {
|
|
27533
27527
|
let { panelDataArray: t2 } = K.current;
|
|
27534
27528
|
t2.push(e2), t2.sort((e3, t3) => {
|
|
27535
27529
|
let n2 = e3.order, i2 = t3.order;
|
|
@@ -27561,7 +27555,7 @@ ${n}` : "Please fix this error.";
|
|
|
27561
27555
|
e2.layout = [];
|
|
27562
27556
|
};
|
|
27563
27557
|
}, []);
|
|
27564
|
-
let
|
|
27558
|
+
let hJ = (0, import_react.useCallback)((e2) => {
|
|
27565
27559
|
let t2 = false, n2 = y.current;
|
|
27566
27560
|
return n2 && window.getComputedStyle(n2, null).getPropertyValue("direction") === "rtl" && (t2 = true), function(n3) {
|
|
27567
27561
|
n3.preventDefault();
|
|
@@ -27579,7 +27573,7 @@ ${n}` : "Please fix this error.";
|
|
|
27579
27573
|
}), I2 = !compareLayouts(f2, A2);
|
|
27580
27574
|
(isPointerEvent(n3) || isMouseEvent(n3)) && z.current != S2 && (z.current = S2, !I2 && S2 !== 0 ? w2 ? reportConstraintsViolation(e2, S2 < 0 ? EXCEEDED_HORIZONTAL_MIN : EXCEEDED_HORIZONTAL_MAX) : reportConstraintsViolation(e2, S2 < 0 ? EXCEEDED_VERTICAL_MIN : EXCEEDED_VERTICAL_MAX) : reportConstraintsViolation(e2, 0)), I2 && (O(A2), K.current.layout = A2, d2 && d2(A2), callPanelCallbacks(h2, A2, M.current));
|
|
27581
27575
|
};
|
|
27582
|
-
}, []),
|
|
27576
|
+
}, []), gJ = (0, import_react.useCallback)((e2, t2) => {
|
|
27583
27577
|
let { onLayout: n2 } = U.current, { layout: i2, panelDataArray: a2 } = K.current, o2 = a2.map((e3) => e3.constraints), { panelSize: s2, pivotIndices: c2 } = panelDataHelper(a2, e2, i2);
|
|
27584
27578
|
assert(s2 != null, `Panel size not found for panel "${e2.id}"`);
|
|
27585
27579
|
let d2 = adjustLayoutByDelta({
|
|
@@ -27591,12 +27585,12 @@ ${n}` : "Please fix this error.";
|
|
|
27591
27585
|
trigger: "imperative-api"
|
|
27592
27586
|
});
|
|
27593
27587
|
compareLayouts(i2, d2) || (O(d2), K.current.layout = d2, n2 && n2(d2), callPanelCallbacks(a2, d2, M.current));
|
|
27594
|
-
}, []),
|
|
27588
|
+
}, []), _J = (0, import_react.useCallback)((e2, t2) => {
|
|
27595
27589
|
let { layout: n2, panelDataArray: i2 } = K.current, { collapsedSize: a2 = 0, collapsible: o2 } = t2, { collapsedSize: s2 = 0, collapsible: c2, maxSize: d2 = 100, minSize: f2 = 0 } = e2.constraints, { panelSize: h2 } = panelDataHelper(i2, e2, n2);
|
|
27596
|
-
h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) ||
|
|
27590
|
+
h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) || gJ(e2, s2) : h2 < f2 ? gJ(e2, f2) : h2 > d2 && gJ(e2, d2));
|
|
27597
27591
|
}, [
|
|
27598
|
-
|
|
27599
|
-
]),
|
|
27592
|
+
gJ
|
|
27593
|
+
]), vJ = (0, import_react.useCallback)((e2, t2) => {
|
|
27600
27594
|
let { direction: n2 } = U.current, { layout: i2 } = K.current;
|
|
27601
27595
|
if (!y.current) return;
|
|
27602
27596
|
let a2 = getResizeHandleElement(e2, y.current);
|
|
@@ -27608,14 +27602,14 @@ ${n}` : "Please fix this error.";
|
|
|
27608
27602
|
initialCursorPosition: o2,
|
|
27609
27603
|
initialLayout: i2
|
|
27610
27604
|
});
|
|
27611
|
-
}, []),
|
|
27605
|
+
}, []), yJ = (0, import_react.useCallback)(() => {
|
|
27612
27606
|
w(null);
|
|
27613
|
-
}, []),
|
|
27607
|
+
}, []), bJ = (0, import_react.useCallback)((e2) => {
|
|
27614
27608
|
let { panelDataArray: t2 } = K.current, n2 = findPanelDataIndex(t2, e2);
|
|
27615
27609
|
n2 >= 0 && (t2.splice(n2, 1), delete M.current[e2.id], K.current.panelDataArrayChanged = true, A());
|
|
27616
27610
|
}, [
|
|
27617
27611
|
A
|
|
27618
|
-
]),
|
|
27612
|
+
]), xJ = (0, import_react.useMemo)(() => ({
|
|
27619
27613
|
collapsePanel: q,
|
|
27620
27614
|
direction: i,
|
|
27621
27615
|
dragState: S,
|
|
@@ -27623,15 +27617,15 @@ ${n}` : "Please fix this error.";
|
|
|
27623
27617
|
getPanelSize: Q,
|
|
27624
27618
|
getPanelStyle: $,
|
|
27625
27619
|
groupId: v,
|
|
27626
|
-
isPanelCollapsed:
|
|
27627
|
-
isPanelExpanded:
|
|
27628
|
-
reevaluatePanelConstraints:
|
|
27629
|
-
registerPanel:
|
|
27630
|
-
registerResizeHandle:
|
|
27631
|
-
resizePanel:
|
|
27632
|
-
startDragging:
|
|
27633
|
-
stopDragging:
|
|
27634
|
-
unregisterPanel:
|
|
27620
|
+
isPanelCollapsed: fJ,
|
|
27621
|
+
isPanelExpanded: pJ,
|
|
27622
|
+
reevaluatePanelConstraints: _J,
|
|
27623
|
+
registerPanel: mJ,
|
|
27624
|
+
registerResizeHandle: hJ,
|
|
27625
|
+
resizePanel: gJ,
|
|
27626
|
+
startDragging: vJ,
|
|
27627
|
+
stopDragging: yJ,
|
|
27628
|
+
unregisterPanel: bJ,
|
|
27635
27629
|
panelGroupElement: y.current
|
|
27636
27630
|
}), [
|
|
27637
27631
|
q,
|
|
@@ -27641,16 +27635,16 @@ ${n}` : "Please fix this error.";
|
|
|
27641
27635
|
Q,
|
|
27642
27636
|
$,
|
|
27643
27637
|
v,
|
|
27638
|
+
fJ,
|
|
27644
27639
|
pJ,
|
|
27640
|
+
_J,
|
|
27645
27641
|
mJ,
|
|
27646
|
-
vJ,
|
|
27647
27642
|
hJ,
|
|
27648
27643
|
gJ,
|
|
27649
|
-
|
|
27644
|
+
vJ,
|
|
27650
27645
|
yJ,
|
|
27651
|
-
bJ
|
|
27652
|
-
|
|
27653
|
-
]), CJ = {
|
|
27646
|
+
bJ
|
|
27647
|
+
]), SJ = {
|
|
27654
27648
|
display: "flex",
|
|
27655
27649
|
flexDirection: i === "horizontal" ? "row" : "column",
|
|
27656
27650
|
height: "100%",
|
|
@@ -27658,7 +27652,7 @@ ${n}` : "Please fix this error.";
|
|
|
27658
27652
|
width: "100%"
|
|
27659
27653
|
};
|
|
27660
27654
|
return (0, import_react.createElement)(PanelGroupContext.Provider, {
|
|
27661
|
-
value:
|
|
27655
|
+
value: xJ
|
|
27662
27656
|
}, (0, import_react.createElement)(h, {
|
|
27663
27657
|
..._,
|
|
27664
27658
|
children: t,
|
|
@@ -27666,7 +27660,7 @@ ${n}` : "Please fix this error.";
|
|
|
27666
27660
|
id: o,
|
|
27667
27661
|
ref: y,
|
|
27668
27662
|
style: {
|
|
27669
|
-
...
|
|
27663
|
+
...SJ,
|
|
27670
27664
|
...f
|
|
27671
27665
|
},
|
|
27672
27666
|
[DATA_ATTRIBUTES.group]: "",
|
|
@@ -27743,31 +27737,31 @@ ${n}` : "Please fix this error.";
|
|
|
27743
27737
|
});
|
|
27744
27738
|
let O = (0, import_react.useContext)(PanelGroupContext);
|
|
27745
27739
|
if (O === null) throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");
|
|
27746
|
-
let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [$,
|
|
27740
|
+
let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [$, fJ] = (0, import_react.useState)(false), [pJ, mJ] = (0, import_react.useState)(null), hJ = (0, import_react.useRef)({
|
|
27747
27741
|
state: J
|
|
27748
27742
|
});
|
|
27749
27743
|
useIsomorphicLayoutEffect$1(() => {
|
|
27750
|
-
|
|
27744
|
+
hJ.current.state = J;
|
|
27751
27745
|
}), (0, import_react.useEffect)(() => {
|
|
27752
|
-
if (n)
|
|
27746
|
+
if (n) mJ(null);
|
|
27753
27747
|
else {
|
|
27754
27748
|
let e2 = I(q);
|
|
27755
|
-
|
|
27749
|
+
mJ(() => e2);
|
|
27756
27750
|
}
|
|
27757
27751
|
}, [
|
|
27758
27752
|
n,
|
|
27759
27753
|
q,
|
|
27760
27754
|
I
|
|
27761
27755
|
]);
|
|
27762
|
-
let
|
|
27756
|
+
let gJ = (i == null ? void 0 : i.coarse) ?? 15, _J = (i == null ? void 0 : i.fine) ?? 5;
|
|
27763
27757
|
(0, import_react.useEffect)(() => {
|
|
27764
|
-
if (n ||
|
|
27758
|
+
if (n || pJ == null) return;
|
|
27765
27759
|
let e2 = w.current;
|
|
27766
27760
|
assert(e2, "Element ref not attached");
|
|
27767
27761
|
let t2 = false;
|
|
27768
27762
|
return registerResizeHandle(q, e2, A, {
|
|
27769
|
-
coarse:
|
|
27770
|
-
fine:
|
|
27763
|
+
coarse: gJ,
|
|
27764
|
+
fine: _J
|
|
27771
27765
|
}, (e3, n2, i2) => {
|
|
27772
27766
|
if (!n2) {
|
|
27773
27767
|
Q("inactive");
|
|
@@ -27781,8 +27775,8 @@ ${n}` : "Please fix this error.";
|
|
|
27781
27775
|
break;
|
|
27782
27776
|
}
|
|
27783
27777
|
case "move": {
|
|
27784
|
-
let { state: e4 } =
|
|
27785
|
-
t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'),
|
|
27778
|
+
let { state: e4 } = hJ.current;
|
|
27779
|
+
t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), pJ(i2);
|
|
27786
27780
|
break;
|
|
27787
27781
|
}
|
|
27788
27782
|
case "up": {
|
|
@@ -27794,22 +27788,22 @@ ${n}` : "Please fix this error.";
|
|
|
27794
27788
|
}
|
|
27795
27789
|
});
|
|
27796
27790
|
}, [
|
|
27797
|
-
|
|
27791
|
+
gJ,
|
|
27798
27792
|
A,
|
|
27799
27793
|
n,
|
|
27800
|
-
|
|
27794
|
+
_J,
|
|
27801
27795
|
I,
|
|
27802
27796
|
q,
|
|
27803
|
-
|
|
27797
|
+
pJ,
|
|
27804
27798
|
z,
|
|
27805
27799
|
U
|
|
27806
27800
|
]), useWindowSplitterResizeHandlerBehavior({
|
|
27807
27801
|
disabled: n,
|
|
27808
27802
|
handleId: q,
|
|
27809
|
-
resizeHandler:
|
|
27803
|
+
resizeHandler: pJ,
|
|
27810
27804
|
panelGroupElement: K
|
|
27811
27805
|
});
|
|
27812
|
-
let
|
|
27806
|
+
let vJ = {
|
|
27813
27807
|
touchAction: "none",
|
|
27814
27808
|
userSelect: "none"
|
|
27815
27809
|
};
|
|
@@ -27819,15 +27813,15 @@ ${n}` : "Please fix this error.";
|
|
|
27819
27813
|
className: t,
|
|
27820
27814
|
id: a,
|
|
27821
27815
|
onBlur: () => {
|
|
27822
|
-
|
|
27816
|
+
fJ(false), o == null ? void 0 : o();
|
|
27823
27817
|
},
|
|
27824
27818
|
onFocus: () => {
|
|
27825
|
-
|
|
27819
|
+
fJ(true), d == null ? void 0 : d();
|
|
27826
27820
|
},
|
|
27827
27821
|
ref: w,
|
|
27828
27822
|
role: "separator",
|
|
27829
27823
|
style: {
|
|
27830
|
-
...
|
|
27824
|
+
...vJ,
|
|
27831
27825
|
..._
|
|
27832
27826
|
},
|
|
27833
27827
|
tabIndex: v,
|
|
@@ -28126,7 +28120,7 @@ ${n}` : "Please fix this error.";
|
|
|
28126
28120
|
}, [
|
|
28127
28121
|
h
|
|
28128
28122
|
]), k(() => {
|
|
28129
|
-
U(6,
|
|
28123
|
+
U(6, pJ);
|
|
28130
28124
|
}, []);
|
|
28131
28125
|
let K = import_react.useMemo(() => ({
|
|
28132
28126
|
subscribe: (e2) => (s.current.add(e2), () => s.current.delete(e2)),
|
|
@@ -28135,7 +28129,7 @@ ${n}` : "Please fix this error.";
|
|
|
28135
28129
|
var _a2;
|
|
28136
28130
|
var a2, o2, s2;
|
|
28137
28131
|
if (!Object.is(n.current[e2], t2)) {
|
|
28138
|
-
if (n.current[e2] = t2, e2 === "search")
|
|
28132
|
+
if (n.current[e2] = t2, e2 === "search") fJ(), Q(), U(1, $);
|
|
28139
28133
|
else if (e2 === "value") {
|
|
28140
28134
|
if (document.activeElement.hasAttribute("cmdk-input") || document.activeElement.hasAttribute("cmdk-root")) {
|
|
28141
28135
|
let e3 = document.getElementById(I);
|
|
@@ -28143,8 +28137,8 @@ ${n}` : "Please fix this error.";
|
|
|
28143
28137
|
}
|
|
28144
28138
|
if (U(7, () => {
|
|
28145
28139
|
var _a3;
|
|
28146
|
-
n.current.selectedItemId = (_a3 =
|
|
28147
|
-
}), i2 || U(5,
|
|
28140
|
+
n.current.selectedItemId = (_a3 = mJ()) == null ? void 0 : _a3.id, K.emit();
|
|
28141
|
+
}), i2 || U(5, pJ), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
|
|
28148
28142
|
let e3 = t2 ?? "";
|
|
28149
28143
|
(s2 = (o2 = c.current).onValueChange) == null || s2.call(o2, e3);
|
|
28150
28144
|
return;
|
|
@@ -28169,12 +28163,12 @@ ${n}` : "Please fix this error.";
|
|
|
28169
28163
|
item: (e2, t2) => (i.current.add(e2), t2 && (a.current.has(t2) ? a.current.get(t2).add(e2) : a.current.set(t2, /* @__PURE__ */ new Set([
|
|
28170
28164
|
e2
|
|
28171
28165
|
]))), U(3, () => {
|
|
28172
|
-
|
|
28166
|
+
fJ(), Q(), n.current.value || $(), K.emit();
|
|
28173
28167
|
}), () => {
|
|
28174
28168
|
o.current.delete(e2), i.current.delete(e2), n.current.filtered.items.delete(e2);
|
|
28175
|
-
let t3 =
|
|
28169
|
+
let t3 = mJ();
|
|
28176
28170
|
U(4, () => {
|
|
28177
|
-
|
|
28171
|
+
fJ(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && $(), K.emit();
|
|
28178
28172
|
});
|
|
28179
28173
|
}),
|
|
28180
28174
|
group: (e2) => (a.current.has(e2) || a.current.set(e2, /* @__PURE__ */ new Set()), () => {
|
|
@@ -28207,7 +28201,7 @@ ${n}` : "Please fix this error.";
|
|
|
28207
28201
|
]);
|
|
28208
28202
|
});
|
|
28209
28203
|
let i2 = z.current;
|
|
28210
|
-
|
|
28204
|
+
hJ().sort((t3, n2) => {
|
|
28211
28205
|
let i3 = t3.getAttribute("id"), a2 = n2.getAttribute("id");
|
|
28212
28206
|
return (e2.get(a2) ?? 0) - (e2.get(i3) ?? 0);
|
|
28213
28207
|
}).forEach((e3) => {
|
|
@@ -28221,10 +28215,10 @@ ${n}` : "Please fix this error.";
|
|
|
28221
28215
|
}
|
|
28222
28216
|
function $() {
|
|
28223
28217
|
var _a2;
|
|
28224
|
-
let e2 = (_a2 =
|
|
28218
|
+
let e2 = (_a2 = hJ().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
|
|
28225
28219
|
K.setState("value", e2 || void 0);
|
|
28226
28220
|
}
|
|
28227
|
-
function
|
|
28221
|
+
function fJ() {
|
|
28228
28222
|
var _a2, _b;
|
|
28229
28223
|
if (!n.current.search || c.current.shouldFilter === false) {
|
|
28230
28224
|
n.current.filtered.count = i.current.size;
|
|
@@ -28242,43 +28236,43 @@ ${n}` : "Please fix this error.";
|
|
|
28242
28236
|
}
|
|
28243
28237
|
n.current.filtered.count = e2;
|
|
28244
28238
|
}
|
|
28245
|
-
function
|
|
28239
|
+
function pJ() {
|
|
28246
28240
|
var _a2, _b;
|
|
28247
28241
|
var e2;
|
|
28248
|
-
let t2 =
|
|
28242
|
+
let t2 = mJ();
|
|
28249
28243
|
t2 && (((_a2 = t2.parentElement) == null ? void 0 : _a2.firstChild) === t2 && ((e2 = (_b = t2.closest(N$1)) == null ? void 0 : _b.querySelector(be)) == null || e2.scrollIntoView({
|
|
28250
28244
|
block: "nearest"
|
|
28251
28245
|
})), t2.scrollIntoView({
|
|
28252
28246
|
block: "nearest"
|
|
28253
28247
|
}));
|
|
28254
28248
|
}
|
|
28255
|
-
function
|
|
28249
|
+
function mJ() {
|
|
28256
28250
|
var _a2;
|
|
28257
28251
|
return (_a2 = z.current) == null ? void 0 : _a2.querySelector(`${le}[aria-selected="true"]`);
|
|
28258
28252
|
}
|
|
28259
|
-
function
|
|
28253
|
+
function hJ() {
|
|
28260
28254
|
var _a2;
|
|
28261
28255
|
return Array.from(((_a2 = z.current) == null ? void 0 : _a2.querySelectorAll(ce$1)) || []);
|
|
28262
28256
|
}
|
|
28263
|
-
function
|
|
28264
|
-
let t2 =
|
|
28257
|
+
function gJ(e2) {
|
|
28258
|
+
let t2 = hJ()[e2];
|
|
28265
28259
|
t2 && K.setState("value", t2.getAttribute(T));
|
|
28266
28260
|
}
|
|
28267
|
-
function
|
|
28261
|
+
function _J(e2) {
|
|
28268
28262
|
var t2;
|
|
28269
|
-
let n2 =
|
|
28263
|
+
let n2 = mJ(), i2 = hJ(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
|
|
28270
28264
|
(t2 = c.current) != null && t2.loop && (o2 = a2 + e2 < 0 ? i2[i2.length - 1] : a2 + e2 === i2.length ? i2[0] : i2[a2 + e2]), o2 && K.setState("value", o2.getAttribute(T));
|
|
28271
28265
|
}
|
|
28272
|
-
function
|
|
28266
|
+
function vJ(e2) {
|
|
28273
28267
|
var _a2;
|
|
28274
|
-
let t2 = (_a2 =
|
|
28268
|
+
let t2 = (_a2 = mJ()) == null ? void 0 : _a2.closest(N$1), n2;
|
|
28275
28269
|
for (; t2 && !n2; ) t2 = e2 > 0 ? we(t2, N$1) : De(t2, N$1), n2 = t2 == null ? void 0 : t2.querySelector(ce$1);
|
|
28276
|
-
n2 ? K.setState("value", n2.getAttribute(T)) :
|
|
28270
|
+
n2 ? K.setState("value", n2.getAttribute(T)) : _J(e2);
|
|
28277
28271
|
}
|
|
28278
|
-
let
|
|
28279
|
-
e2.preventDefault(), e2.metaKey ?
|
|
28280
|
-
},
|
|
28281
|
-
e2.preventDefault(), e2.metaKey ?
|
|
28272
|
+
let yJ = () => gJ(hJ().length - 1), bJ = (e2) => {
|
|
28273
|
+
e2.preventDefault(), e2.metaKey ? yJ() : e2.altKey ? vJ(1) : _J(1);
|
|
28274
|
+
}, xJ = (e2) => {
|
|
28275
|
+
e2.preventDefault(), e2.metaKey ? gJ(0) : e2.altKey ? vJ(-1) : _J(-1);
|
|
28282
28276
|
};
|
|
28283
28277
|
return import_react.createElement(Primitive.div, {
|
|
28284
28278
|
ref: t,
|
|
@@ -28292,27 +28286,27 @@ ${n}` : "Please fix this error.";
|
|
|
28292
28286
|
if (!(e2.defaultPrevented || n2)) switch (e2.key) {
|
|
28293
28287
|
case "n":
|
|
28294
28288
|
case "j":
|
|
28295
|
-
E && e2.ctrlKey &&
|
|
28289
|
+
E && e2.ctrlKey && bJ(e2);
|
|
28296
28290
|
break;
|
|
28297
28291
|
case "ArrowDown":
|
|
28298
|
-
|
|
28292
|
+
bJ(e2);
|
|
28299
28293
|
break;
|
|
28300
28294
|
case "p":
|
|
28301
28295
|
case "k":
|
|
28302
|
-
E && e2.ctrlKey &&
|
|
28296
|
+
E && e2.ctrlKey && xJ(e2);
|
|
28303
28297
|
break;
|
|
28304
28298
|
case "ArrowUp":
|
|
28305
|
-
|
|
28299
|
+
xJ(e2);
|
|
28306
28300
|
break;
|
|
28307
28301
|
case "Home":
|
|
28308
|
-
e2.preventDefault(),
|
|
28302
|
+
e2.preventDefault(), gJ(0);
|
|
28309
28303
|
break;
|
|
28310
28304
|
case "End":
|
|
28311
|
-
e2.preventDefault(),
|
|
28305
|
+
e2.preventDefault(), yJ();
|
|
28312
28306
|
break;
|
|
28313
28307
|
case "Enter": {
|
|
28314
28308
|
e2.preventDefault();
|
|
28315
|
-
let t3 =
|
|
28309
|
+
let t3 = mJ();
|
|
28316
28310
|
if (t3) {
|
|
28317
28311
|
let e3 = new Event(Z);
|
|
28318
28312
|
t3.dispatchEvent(e3);
|
|
@@ -28721,7 +28715,7 @@ ${n}` : "Please fix this error.";
|
|
|
28721
28715
|
Combobox = (e) => {
|
|
28722
28716
|
let t = (0, import_compiler_runtime$35.c)(106), n, i, a, s, c, d, f, h, _, v, y, S, w, E, O, A, M, I, z, U, K, q, J, Q;
|
|
28723
28717
|
t[0] === e ? (n = t[1], i = t[2], a = t[3], s = t[4], c = t[5], d = t[6], f = t[7], h = t[8], _ = t[9], v = t[10], y = t[11], S = t[12], w = t[13], E = t[14], O = t[15], A = t[16], M = t[17], I = t[18], z = t[19], U = t[20], K = t[21], q = t[22], J = t[23], Q = t[24]) : ({ children: n, displayValue: d, className: a, placeholder: E, value: Q, defaultValue: c, onValueChange: S, multiple: I, shouldFilter: z, filterFn: f, open: w, defaultOpen: s, onOpenChange: v, inputPlaceholder: U, search: M, onSearchChange: y, emptyState: K, chips: q, chipsClassName: i, keepPopoverOpenOnSelect: _, id: h, disabled: J, renderValue: O, ...A } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a, t[4] = s, t[5] = c, t[6] = d, t[7] = f, t[8] = h, t[9] = _, t[10] = v, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = O, t[16] = A, t[17] = M, t[18] = I, t[19] = z, t[20] = U, t[21] = K, t[22] = q, t[23] = J, t[24] = Q);
|
|
28724
|
-
let $ = I === void 0 ? false : I,
|
|
28718
|
+
let $ = I === void 0 ? false : I, fJ = z === void 0 ? true : z, pJ = U === void 0 ? "Search..." : U, hJ = K === void 0 ? "Nothing found." : K, gJ = q === void 0 ? false : q, _J = J === void 0 ? false : J, vJ = s ?? false, yJ;
|
|
28725
28719
|
t[25] !== v || t[26] !== w || t[27] !== vJ ? (yJ = {
|
|
28726
28720
|
prop: w,
|
|
28727
28721
|
defaultProp: vJ,
|
|
@@ -28755,96 +28749,96 @@ ${n}` : "Please fix this error.";
|
|
|
28755
28749
|
else TJ === e2 && (t2 = null);
|
|
28756
28750
|
EJ(t2), (_ ?? $) || xJ(false);
|
|
28757
28751
|
}, t[37] = _, t[38] = $, t[39] = xJ, t[40] = EJ, t[41] = TJ, t[42] = kJ) : kJ = t[42];
|
|
28758
|
-
let AJ = kJ,
|
|
28759
|
-
t[43] !== gJ || t[44] !== d || t[45] !== $ || t[46] !== E || t[47] !== TJ ? (
|
|
28760
|
-
let
|
|
28761
|
-
t[49] !== AJ || t[50] !== OJ ? (
|
|
28752
|
+
let AJ = kJ, jJ;
|
|
28753
|
+
t[43] !== gJ || t[44] !== d || t[45] !== $ || t[46] !== E || t[47] !== TJ ? (jJ = () => $ && gJ && E ? E : TJ == null ? E ?? "--" : Array.isArray(TJ) ? TJ.length === 0 ? E ?? "--" : TJ.length === 1 && d !== void 0 ? d(TJ[0]) : `${TJ.length} selected` : d === void 0 ? E ?? "--" : d(TJ), t[43] = gJ, t[44] = d, t[45] = $, t[46] = E, t[47] = TJ, t[48] = jJ) : jJ = t[48];
|
|
28754
|
+
let MJ = jJ, NJ;
|
|
28755
|
+
t[49] !== AJ || t[50] !== OJ ? (NJ = {
|
|
28762
28756
|
isSelected: OJ,
|
|
28763
28757
|
onSelect: AJ
|
|
28764
|
-
}, t[49] = AJ, t[50] = OJ, t[51] =
|
|
28765
|
-
let
|
|
28766
|
-
t[52] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
28767
|
-
let
|
|
28768
|
-
t[53] !== _J || t[54] !== xJ ? (
|
|
28758
|
+
}, t[49] = AJ, t[50] = OJ, t[51] = NJ) : NJ = t[51];
|
|
28759
|
+
let PJ = NJ, FJ;
|
|
28760
|
+
t[52] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (FJ = cn("relative"), t[52] = FJ) : FJ = t[52];
|
|
28761
|
+
let IJ;
|
|
28762
|
+
t[53] !== _J || t[54] !== xJ ? (IJ = (e2) => {
|
|
28769
28763
|
_J && e2 || xJ(e2);
|
|
28770
|
-
}, t[53] = _J, t[54] = xJ, t[55] =
|
|
28771
|
-
let
|
|
28772
|
-
t[56] !== a || t[57] !==
|
|
28773
|
-
let
|
|
28774
|
-
t[59] !== O || t[60] !==
|
|
28775
|
-
let
|
|
28776
|
-
t[63] ===
|
|
28764
|
+
}, t[53] = _J, t[54] = xJ, t[55] = IJ) : IJ = t[55];
|
|
28765
|
+
let LJ = _J && "cursor-not-allowed opacity-50", RJ;
|
|
28766
|
+
t[56] !== a || t[57] !== LJ ? (RJ = cn("flex h-6 w-fit mb-1 shadow-xs-solid items-center justify-between rounded-sm border border-input bg-transparent px-2 text-sm font-prose ring-offset-background placeholder:text-muted-foreground hover:shadow-sm-solid focus:outline-hidden focus:ring-1 focus:ring-ring focus:border-primary focus:shadow-md-solid", LJ, a), t[56] = a, t[57] = LJ, t[58] = RJ) : RJ = t[58];
|
|
28767
|
+
let zJ;
|
|
28768
|
+
t[59] !== O || t[60] !== MJ || t[61] !== TJ ? (zJ = O ? O(TJ ?? null) : MJ(), t[59] = O, t[60] = MJ, t[61] = TJ, t[62] = zJ) : zJ = t[62];
|
|
28769
|
+
let VJ;
|
|
28770
|
+
t[63] === zJ ? VJ = t[64] : (VJ = (0, import_jsx_runtime.jsx)("span", {
|
|
28777
28771
|
className: "truncate flex-1 min-w-0",
|
|
28778
|
-
children:
|
|
28779
|
-
}), t[63] =
|
|
28780
|
-
let
|
|
28781
|
-
t[65] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
28772
|
+
children: zJ
|
|
28773
|
+
}), t[63] = zJ, t[64] = VJ);
|
|
28774
|
+
let UJ;
|
|
28775
|
+
t[65] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (UJ = (0, import_jsx_runtime.jsx)(ChevronDown, {
|
|
28782
28776
|
className: "ml-3 w-4 h-4 opacity-50 shrink-0"
|
|
28783
|
-
}), t[65] =
|
|
28784
|
-
let
|
|
28785
|
-
t[66] !== _J || t[67] !== h || t[68] !== SJ || t[69] !==
|
|
28777
|
+
}), t[65] = UJ) : UJ = t[65];
|
|
28778
|
+
let WJ;
|
|
28779
|
+
t[66] !== _J || t[67] !== h || t[68] !== SJ || t[69] !== RJ || t[70] !== VJ ? (WJ = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
|
|
28786
28780
|
asChild: true,
|
|
28787
28781
|
children: (0, import_jsx_runtime.jsxs)("button", {
|
|
28788
28782
|
id: h,
|
|
28789
28783
|
type: "button",
|
|
28790
|
-
className:
|
|
28784
|
+
className: RJ,
|
|
28791
28785
|
"aria-expanded": SJ,
|
|
28792
28786
|
"aria-disabled": _J,
|
|
28793
28787
|
children: [
|
|
28794
|
-
|
|
28795
|
-
|
|
28788
|
+
VJ,
|
|
28789
|
+
UJ
|
|
28796
28790
|
]
|
|
28797
28791
|
})
|
|
28798
|
-
}), t[66] = _J, t[67] = h, t[68] = SJ, t[69] =
|
|
28799
|
-
let
|
|
28800
|
-
t[72] !==
|
|
28801
|
-
placeholder:
|
|
28792
|
+
}), t[66] = _J, t[67] = h, t[68] = SJ, t[69] = RJ, t[70] = VJ, t[71] = WJ) : WJ = t[71];
|
|
28793
|
+
let GJ;
|
|
28794
|
+
t[72] !== pJ || t[73] !== y || t[74] !== M ? (GJ = (0, import_jsx_runtime.jsx)(CommandInput, {
|
|
28795
|
+
placeholder: pJ,
|
|
28802
28796
|
rootClassName: "px-1 h-8",
|
|
28803
28797
|
autoFocus: true,
|
|
28804
28798
|
value: M,
|
|
28805
28799
|
onValueChange: y
|
|
28806
|
-
}), t[72] =
|
|
28807
|
-
let
|
|
28808
|
-
t[76] === hJ ?
|
|
28800
|
+
}), t[72] = pJ, t[73] = y, t[74] = M, t[75] = GJ) : GJ = t[75];
|
|
28801
|
+
let KJ;
|
|
28802
|
+
t[76] === hJ ? KJ = t[77] : (KJ = (0, import_jsx_runtime.jsx)(CommandEmpty, {
|
|
28809
28803
|
children: hJ
|
|
28810
|
-
}), t[76] = hJ, t[77] =
|
|
28811
|
-
let
|
|
28812
|
-
t[78] !== n || t[79] !==
|
|
28813
|
-
value:
|
|
28804
|
+
}), t[76] = hJ, t[77] = KJ);
|
|
28805
|
+
let qJ;
|
|
28806
|
+
t[78] !== n || t[79] !== PJ ? (qJ = (0, import_jsx_runtime.jsx)(ComboboxContext, {
|
|
28807
|
+
value: PJ,
|
|
28814
28808
|
children: n
|
|
28815
|
-
}), t[78] = n, t[79] =
|
|
28816
|
-
let
|
|
28817
|
-
t[81] !==
|
|
28809
|
+
}), t[78] = n, t[79] = PJ, t[80] = qJ) : qJ = t[80];
|
|
28810
|
+
let JJ;
|
|
28811
|
+
t[81] !== KJ || t[82] !== qJ ? (JJ = (0, import_jsx_runtime.jsxs)(CommandList, {
|
|
28818
28812
|
className: "max-h-60 py-.5",
|
|
28819
28813
|
children: [
|
|
28820
|
-
|
|
28821
|
-
|
|
28814
|
+
KJ,
|
|
28815
|
+
qJ
|
|
28822
28816
|
]
|
|
28823
|
-
}), t[81] =
|
|
28824
|
-
let
|
|
28825
|
-
t[84] !== f || t[85] !==
|
|
28817
|
+
}), t[81] = KJ, t[82] = qJ, t[83] = JJ) : JJ = t[83];
|
|
28818
|
+
let YJ;
|
|
28819
|
+
t[84] !== f || t[85] !== fJ || t[86] !== GJ || t[87] !== JJ ? (YJ = (0, import_jsx_runtime.jsx)(PopoverContent, {
|
|
28826
28820
|
className: "w-full min-w-(--radix-popover-trigger-width) p-0",
|
|
28827
28821
|
align: "start",
|
|
28828
28822
|
children: (0, import_jsx_runtime.jsxs)(Command, {
|
|
28829
28823
|
filter: f,
|
|
28830
|
-
shouldFilter:
|
|
28824
|
+
shouldFilter: fJ,
|
|
28831
28825
|
children: [
|
|
28832
|
-
|
|
28833
|
-
|
|
28826
|
+
GJ,
|
|
28827
|
+
JJ
|
|
28834
28828
|
]
|
|
28835
28829
|
})
|
|
28836
|
-
}), t[84] = f, t[85] =
|
|
28837
|
-
let
|
|
28838
|
-
t[89] !== SJ || t[90] !==
|
|
28830
|
+
}), t[84] = f, t[85] = fJ, t[86] = GJ, t[87] = JJ, t[88] = YJ) : YJ = t[88];
|
|
28831
|
+
let XJ;
|
|
28832
|
+
t[89] !== SJ || t[90] !== IJ || t[91] !== WJ || t[92] !== YJ ? (XJ = (0, import_jsx_runtime.jsxs)(Popover, {
|
|
28839
28833
|
open: SJ,
|
|
28840
|
-
onOpenChange:
|
|
28834
|
+
onOpenChange: IJ,
|
|
28841
28835
|
children: [
|
|
28842
|
-
|
|
28843
|
-
|
|
28836
|
+
WJ,
|
|
28837
|
+
YJ
|
|
28844
28838
|
]
|
|
28845
|
-
}), t[89] = SJ, t[90] =
|
|
28846
|
-
let
|
|
28847
|
-
t[94] !== gJ || t[95] !== i || t[96] !== _J || t[97] !== d || t[98] !== AJ || t[99] !== $ || t[100] !== TJ ? (
|
|
28839
|
+
}), t[89] = SJ, t[90] = IJ, t[91] = WJ, t[92] = YJ, t[93] = XJ) : XJ = t[93];
|
|
28840
|
+
let ZJ;
|
|
28841
|
+
t[94] !== gJ || t[95] !== i || t[96] !== _J || t[97] !== d || t[98] !== AJ || t[99] !== $ || t[100] !== TJ ? (ZJ = $ && gJ && (0, import_jsx_runtime.jsx)("div", {
|
|
28848
28842
|
className: cn("flex flex-col gap-1 items-start", i),
|
|
28849
28843
|
children: Array.isArray(TJ) && TJ.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
|
|
28850
28844
|
variant: "secondary",
|
|
@@ -28858,16 +28852,16 @@ ${n}` : "Please fix this error.";
|
|
|
28858
28852
|
})
|
|
28859
28853
|
]
|
|
28860
28854
|
}, String(e2)))
|
|
28861
|
-
}), t[94] = gJ, t[95] = i, t[96] = _J, t[97] = d, t[98] = AJ, t[99] = $, t[100] = TJ, t[101] =
|
|
28862
|
-
let
|
|
28863
|
-
return t[102] !== A || t[103] !==
|
|
28864
|
-
className:
|
|
28855
|
+
}), t[94] = gJ, t[95] = i, t[96] = _J, t[97] = d, t[98] = AJ, t[99] = $, t[100] = TJ, t[101] = ZJ) : ZJ = t[101];
|
|
28856
|
+
let QJ;
|
|
28857
|
+
return t[102] !== A || t[103] !== XJ || t[104] !== ZJ ? (QJ = (0, import_jsx_runtime.jsxs)("div", {
|
|
28858
|
+
className: FJ,
|
|
28865
28859
|
...A,
|
|
28866
28860
|
children: [
|
|
28867
|
-
|
|
28868
|
-
|
|
28861
|
+
XJ,
|
|
28862
|
+
ZJ
|
|
28869
28863
|
]
|
|
28870
|
-
}), t[102] = A, t[103] =
|
|
28864
|
+
}), t[102] = A, t[103] = XJ, t[104] = ZJ, t[105] = QJ) : QJ = t[105], QJ;
|
|
28871
28865
|
};
|
|
28872
28866
|
ComboboxItem = import_react.forwardRef((e, t) => {
|
|
28873
28867
|
let n = (0, import_compiler_runtime$35.c)(20), { children: i, className: a, value: s, onSelect: c, disabled: d } = e, f = typeof s == "object" && "value" in s ? s.value : String(s), h = import_react.use(ComboboxContext), _;
|
|
@@ -29923,17 +29917,17 @@ ${n}` : "Please fix this error.";
|
|
|
29923
29917
|
searchQuery: M,
|
|
29924
29918
|
filteredOptions: z
|
|
29925
29919
|
}, t[9] = z, t[10] = n, t[11] = _, t[12] = M, t[13] = i, t[14] = U) : U = t[14];
|
|
29926
|
-
let { open: K, setOpen: q, repin: J, visibleOptions: Q, pinnedCount: $ } = usePinning(U),
|
|
29927
|
-
t[15] !== c || t[16] !== s || t[17] !== o || t[18] !== a || t[19] !== y || t[20] !== i ? (
|
|
29920
|
+
let { open: K, setOpen: q, repin: J, visibleOptions: Q, pinnedCount: $ } = usePinning(U), fJ;
|
|
29921
|
+
t[15] !== c || t[16] !== s || t[17] !== o || t[18] !== a || t[19] !== y || t[20] !== i ? (fJ = {
|
|
29928
29922
|
value: i,
|
|
29929
29923
|
onChange: a,
|
|
29930
29924
|
multiple: o,
|
|
29931
29925
|
maxSelections: s,
|
|
29932
29926
|
allowSelectNone: c,
|
|
29933
29927
|
selected: y
|
|
29934
|
-
}, t[15] = c, t[16] = s, t[17] = o, t[18] = a, t[19] = y, t[20] = i, t[21] =
|
|
29935
|
-
let { isChecked:
|
|
29936
|
-
t[22] !== z || t[23] !== s || t[24] !== o || t[25] !== a || t[26] !== n || t[27] !== M || t[28] !== i ? (
|
|
29928
|
+
}, t[15] = c, t[16] = s, t[17] = o, t[18] = a, t[19] = y, t[20] = i, t[21] = fJ) : fJ = t[21];
|
|
29929
|
+
let { isChecked: pJ, toggle: mJ } = useToggle(fJ), hJ;
|
|
29930
|
+
t[22] !== z || t[23] !== s || t[24] !== o || t[25] !== a || t[26] !== n || t[27] !== M || t[28] !== i ? (hJ = {
|
|
29937
29931
|
value: i,
|
|
29938
29932
|
onChange: a,
|
|
29939
29933
|
multiple: o,
|
|
@@ -29941,24 +29935,24 @@ ${n}` : "Please fix this error.";
|
|
|
29941
29935
|
filteredOptions: z,
|
|
29942
29936
|
searchQuery: M,
|
|
29943
29937
|
maxSelections: s
|
|
29944
|
-
}, t[22] = z, t[23] = s, t[24] = o, t[25] = a, t[26] = n, t[27] = M, t[28] = i, t[29] =
|
|
29945
|
-
let { bulkActions:
|
|
29946
|
-
t[30] !== J || t[31] !== I ? (
|
|
29938
|
+
}, t[22] = z, t[23] = s, t[24] = o, t[25] = a, t[26] = n, t[27] = M, t[28] = i, t[29] = hJ) : hJ = t[29];
|
|
29939
|
+
let { bulkActions: gJ } = useBulk(hJ), _J;
|
|
29940
|
+
t[30] !== J || t[31] !== I ? (_J = (e2) => {
|
|
29947
29941
|
I(e2), e2 === "" && J();
|
|
29948
|
-
}, t[30] = J, t[31] = I, t[32] =
|
|
29949
|
-
let
|
|
29950
|
-
return t[33] !==
|
|
29942
|
+
}, t[30] = J, t[31] = I, t[32] = _J) : _J = t[32];
|
|
29943
|
+
let vJ = _J, yJ;
|
|
29944
|
+
return t[33] !== gJ || t[34] !== pJ || t[35] !== O || t[36] !== K || t[37] !== $ || t[38] !== M || t[39] !== q || t[40] !== vJ || t[41] !== mJ || t[42] !== Q ? (yJ = {
|
|
29951
29945
|
searchQuery: M,
|
|
29952
|
-
setSearchQuery:
|
|
29946
|
+
setSearchQuery: vJ,
|
|
29953
29947
|
open: K,
|
|
29954
29948
|
setOpen: q,
|
|
29955
29949
|
visibleOptions: Q,
|
|
29956
29950
|
pinnedCount: $,
|
|
29957
|
-
isChecked:
|
|
29958
|
-
toggle:
|
|
29959
|
-
bulkActions:
|
|
29951
|
+
isChecked: pJ,
|
|
29952
|
+
toggle: mJ,
|
|
29953
|
+
bulkActions: gJ,
|
|
29960
29954
|
labelOf: O
|
|
29961
|
-
}, t[33] =
|
|
29955
|
+
}, t[33] = gJ, t[34] = pJ, t[35] = O, t[36] = K, t[37] = $, t[38] = M, t[39] = q, t[40] = vJ, t[41] = mJ, t[42] = Q, t[43] = yJ) : yJ = t[43], yJ;
|
|
29962
29956
|
};
|
|
29963
29957
|
const Sets = {
|
|
29964
29958
|
merge(...e) {
|
|
@@ -30287,7 +30281,7 @@ ${n}` : "Please fix this error.";
|
|
|
30287
30281
|
type: S,
|
|
30288
30282
|
operator: E,
|
|
30289
30283
|
draft: mergeNumberTextDraft(A, I)
|
|
30290
|
-
}), $ = Q === void 0,
|
|
30284
|
+
}), $ = Q === void 0, fJ = $ ? getMissingValueMessage(S, E) : "Apply filter", pJ = () => {
|
|
30291
30285
|
if (!Q) return;
|
|
30292
30286
|
let e2 = Q;
|
|
30293
30287
|
t.setColumnFilters((t2) => {
|
|
@@ -30306,20 +30300,20 @@ ${n}` : "Please fix this error.";
|
|
|
30306
30300
|
value: e2
|
|
30307
30301
|
}, n2;
|
|
30308
30302
|
}), i();
|
|
30309
|
-
},
|
|
30303
|
+
}, mJ = () => {
|
|
30310
30304
|
a !== void 0 && t.setColumnFilters((e2) => e2.filter((e3, t2) => t2 !== a)), i();
|
|
30311
|
-
},
|
|
30305
|
+
}, hJ = !OPERATORS_WITHOUT_VALUE.has(E), gJ = OPERATORS_BY_TYPE[S], _J = (0, import_react.useRef)(null), vJ = (0, import_react.useRef)(null);
|
|
30312
30306
|
return (0, import_react.useEffect)(() => {
|
|
30313
30307
|
var _a2, _b;
|
|
30314
|
-
let e2 = (_a2 =
|
|
30315
|
-
e2 ? e2.focus() : (_b =
|
|
30308
|
+
let e2 = (_a2 = _J.current) == null ? void 0 : _a2.querySelector('input, [role="spinbutton"], [role="combobox"], button');
|
|
30309
|
+
e2 ? e2.focus() : (_b = vJ.current) == null ? void 0 : _b.focus();
|
|
30316
30310
|
}, [
|
|
30317
30311
|
S,
|
|
30318
30312
|
E
|
|
30319
30313
|
]), (0, import_jsx_runtime.jsxs)("form", {
|
|
30320
30314
|
className: "flex flex-row gap-4 items-end p-3",
|
|
30321
30315
|
onSubmit: (e2) => {
|
|
30322
|
-
e2.preventDefault(),
|
|
30316
|
+
e2.preventDefault(), pJ();
|
|
30323
30317
|
},
|
|
30324
30318
|
onKeyDownCapture: (e2) => {
|
|
30325
30319
|
e2.key === "Tab" && e2.stopPropagation();
|
|
@@ -30360,13 +30354,13 @@ ${n}` : "Please fix this error.";
|
|
|
30360
30354
|
onValueChange: (e2) => J(e2),
|
|
30361
30355
|
children: [
|
|
30362
30356
|
(0, import_jsx_runtime.jsx)(SelectTrigger, {
|
|
30363
|
-
ref:
|
|
30357
|
+
ref: vJ,
|
|
30364
30358
|
id: s,
|
|
30365
30359
|
className: "h-6 mb-1 bg-transparent",
|
|
30366
30360
|
children: (0, import_jsx_runtime.jsx)(SelectValue, {})
|
|
30367
30361
|
}),
|
|
30368
30362
|
(0, import_jsx_runtime.jsx)(SelectContent, {
|
|
30369
|
-
children:
|
|
30363
|
+
children: gJ.map((e2) => (0, import_jsx_runtime.jsx)(SelectItem, {
|
|
30370
30364
|
value: e2,
|
|
30371
30365
|
children: OPERATOR_LABELS[e2]
|
|
30372
30366
|
}, e2))
|
|
@@ -30375,8 +30369,8 @@ ${n}` : "Please fix this error.";
|
|
|
30375
30369
|
}, S)
|
|
30376
30370
|
]
|
|
30377
30371
|
}),
|
|
30378
|
-
|
|
30379
|
-
ref:
|
|
30372
|
+
hJ && (0, import_jsx_runtime.jsxs)("div", {
|
|
30373
|
+
ref: _J,
|
|
30380
30374
|
className: "flex flex-col gap-1",
|
|
30381
30375
|
children: [
|
|
30382
30376
|
(0, import_jsx_runtime.jsx)("label", {
|
|
@@ -30403,7 +30397,7 @@ ${n}` : "Please fix this error.";
|
|
|
30403
30397
|
className: "flex gap-1 mb-1",
|
|
30404
30398
|
children: [
|
|
30405
30399
|
(0, import_jsx_runtime.jsx)(Tooltip, {
|
|
30406
|
-
content:
|
|
30400
|
+
content: fJ,
|
|
30407
30401
|
children: (0, import_jsx_runtime.jsx)("span", {
|
|
30408
30402
|
className: "inline-flex",
|
|
30409
30403
|
children: (0, import_jsx_runtime.jsx)(Button, {
|
|
@@ -30442,7 +30436,7 @@ ${n}` : "Please fix this error.";
|
|
|
30442
30436
|
size: "icon",
|
|
30443
30437
|
variant: "ghost",
|
|
30444
30438
|
className: "rounded-full text-destructive hover:text-destructive hover:bg-destructive/10",
|
|
30445
|
-
onClick:
|
|
30439
|
+
onClick: mJ,
|
|
30446
30440
|
"aria-label": "Remove filter",
|
|
30447
30441
|
children: (0, import_jsx_runtime.jsx)(Trash2, {
|
|
30448
30442
|
className: "h-3.5 w-3.5",
|
|
@@ -32650,29 +32644,29 @@ ${n}` : "Please fix this error.";
|
|
|
32650
32644
|
}, t[16] = a, t[17] = J);
|
|
32651
32645
|
let Q = useEvent_default(J), $;
|
|
32652
32646
|
t[18] === S ? $ = t[19] : ($ = () => S(), t[18] = S, t[19] = $);
|
|
32653
|
-
let
|
|
32654
|
-
t[20] === S ? (
|
|
32647
|
+
let fJ = useEvent_default($), pJ, mJ;
|
|
32648
|
+
t[20] === S ? (pJ = t[21], mJ = t[22]) : (pJ = () => (window.addEventListener("scroll", S, {
|
|
32655
32649
|
passive: true,
|
|
32656
32650
|
capture: true
|
|
32657
32651
|
}), window.addEventListener("resize", S), () => {
|
|
32658
32652
|
window.removeEventListener("scroll", S, {
|
|
32659
32653
|
capture: true
|
|
32660
32654
|
}), window.removeEventListener("resize", S);
|
|
32661
|
-
}),
|
|
32655
|
+
}), mJ = [
|
|
32662
32656
|
S
|
|
32663
|
-
], t[20] = S, t[21] =
|
|
32664
|
-
let
|
|
32665
|
-
t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
32666
|
-
let
|
|
32667
|
-
return t[25] !==
|
|
32657
|
+
], t[20] = S, t[21] = pJ, t[22] = mJ), (0, import_react.useEffect)(pJ, mJ);
|
|
32658
|
+
let hJ, gJ;
|
|
32659
|
+
t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (hJ = () => v, gJ = [], t[23] = hJ, t[24] = gJ) : (hJ = t[23], gJ = t[24]), (0, import_react.useEffect)(hJ, gJ);
|
|
32660
|
+
let _J;
|
|
32661
|
+
return t[25] !== fJ || t[26] !== Q || t[27] !== q || t[28] !== U || t[29] !== S || t[30] !== d || t[31] !== o ? (_J = {
|
|
32668
32662
|
tooltipState: o,
|
|
32669
32663
|
tooltipContentId: d,
|
|
32670
32664
|
hideTooltip: S,
|
|
32671
32665
|
handleCellMouseOver: U,
|
|
32672
32666
|
handleCellMouseLeave: q,
|
|
32673
32667
|
handleCellFocus: Q,
|
|
32674
|
-
handleCellBlur:
|
|
32675
|
-
}, t[25] =
|
|
32668
|
+
handleCellBlur: fJ
|
|
32669
|
+
}, t[25] = fJ, t[26] = Q, t[27] = q, t[28] = U, t[29] = S, t[30] = d, t[31] = o, t[32] = _J) : _J = t[32], _J;
|
|
32676
32670
|
}
|
|
32677
32671
|
var import_compiler_runtime$18 = require_compiler_runtime();
|
|
32678
32672
|
const CellRangeSelectionIndicator = (0, import_react.memo)((e) => {
|
|
@@ -34117,7 +34111,7 @@ ${n}` : "Please fix this error.";
|
|
|
34117
34111
|
filename: i2.filename
|
|
34118
34112
|
};
|
|
34119
34113
|
}, t[6] = e, t[7] = O);
|
|
34120
|
-
let A = O, M, I, z, U, K, q, J, Q, $, pJ, mJ, hJ
|
|
34114
|
+
let A = O, M, I, z, U, K, q, J, Q, $, fJ, pJ, mJ, hJ;
|
|
34121
34115
|
if (t[8] !== E || t[9] !== c || t[10] !== n || t[11] !== A || t[12] !== d) {
|
|
34122
34116
|
let e2 = async (t2) => {
|
|
34123
34117
|
let n2 = labelForDownloadFormat(t2);
|
|
@@ -34183,10 +34177,10 @@ ${n}` : "Please fix this error.";
|
|
|
34183
34177
|
content: d,
|
|
34184
34178
|
open: o,
|
|
34185
34179
|
children: h
|
|
34186
|
-
}), t[32] = o, t[33] = h, t[34] = d, t[35] = Q) : Q = t[35], M = DropdownMenuContent, $ = "bottom",
|
|
34180
|
+
}), t[32] = o, t[33] = h, t[34] = d, t[35] = Q) : Q = t[35], M = DropdownMenuContent, $ = "bottom", fJ = "print:hidden", t[36] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (pJ = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
|
|
34187
34181
|
className: "text-xs text-muted-foreground",
|
|
34188
34182
|
children: "Download"
|
|
34189
|
-
}), t[36] =
|
|
34183
|
+
}), t[36] = pJ) : pJ = t[36], mJ = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
|
|
34190
34184
|
onSelect: () => {
|
|
34191
34185
|
e2(t2.format);
|
|
34192
34186
|
},
|
|
@@ -34207,10 +34201,10 @@ ${n}` : "Please fix this error.";
|
|
|
34207
34201
|
]
|
|
34208
34202
|
})
|
|
34209
34203
|
]
|
|
34210
|
-
}, t2.label)), t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
34204
|
+
}, t2.label)), t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (hJ = (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {}), z = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
|
|
34211
34205
|
className: "text-xs text-muted-foreground",
|
|
34212
34206
|
children: "Copy to clipboard"
|
|
34213
|
-
}), t[37] = z, t[38] =
|
|
34207
|
+
}), t[37] = z, t[38] = hJ) : (z = t[37], hJ = t[38]), U = copyOptions.map((e3) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
|
|
34214
34208
|
onSelect: async () => {
|
|
34215
34209
|
try {
|
|
34216
34210
|
await a2(e3.format);
|
|
@@ -34239,30 +34233,30 @@ ${n}` : "Please fix this error.";
|
|
|
34239
34233
|
]
|
|
34240
34234
|
})
|
|
34241
34235
|
]
|
|
34242
|
-
}, e3.label)), t[8] = E, t[9] = c, t[10] = n, t[11] = A, t[12] = d, t[13] = M, t[14] = I, t[15] = z, t[16] = U, t[17] = K, t[18] = q, t[19] = J, t[20] = Q, t[21] = $, t[22] =
|
|
34243
|
-
} else M = t[13], I = t[14], z = t[15], U = t[16], K = t[17], q = t[18], J = t[19], Q = t[20], $ = t[21],
|
|
34244
|
-
let
|
|
34245
|
-
t[39] !== M || t[40] !== z || t[41] !== U || t[42] !== $ || t[43] !==
|
|
34236
|
+
}, e3.label)), t[8] = E, t[9] = c, t[10] = n, t[11] = A, t[12] = d, t[13] = M, t[14] = I, t[15] = z, t[16] = U, t[17] = K, t[18] = q, t[19] = J, t[20] = Q, t[21] = $, t[22] = fJ, t[23] = pJ, t[24] = mJ, t[25] = hJ;
|
|
34237
|
+
} else M = t[13], I = t[14], z = t[15], U = t[16], K = t[17], q = t[18], J = t[19], Q = t[20], $ = t[21], fJ = t[22], pJ = t[23], mJ = t[24], hJ = t[25];
|
|
34238
|
+
let gJ;
|
|
34239
|
+
t[39] !== M || t[40] !== z || t[41] !== U || t[42] !== $ || t[43] !== fJ || t[44] !== pJ || t[45] !== mJ || t[46] !== hJ ? (gJ = (0, import_jsx_runtime.jsxs)(M, {
|
|
34246
34240
|
side: $,
|
|
34247
|
-
className:
|
|
34241
|
+
className: fJ,
|
|
34248
34242
|
children: [
|
|
34243
|
+
pJ,
|
|
34249
34244
|
mJ,
|
|
34250
34245
|
hJ,
|
|
34251
|
-
gJ,
|
|
34252
34246
|
z,
|
|
34253
34247
|
U
|
|
34254
34248
|
]
|
|
34255
|
-
}), t[39] = M, t[40] = z, t[41] = U, t[42] = $, t[43] =
|
|
34256
|
-
let
|
|
34257
|
-
return t[48] !== I || t[49] !== K || t[50] !== q || t[51] !== J || t[52] !== Q || t[53] !==
|
|
34249
|
+
}), t[39] = M, t[40] = z, t[41] = U, t[42] = $, t[43] = fJ, t[44] = pJ, t[45] = mJ, t[46] = hJ, t[47] = gJ) : gJ = t[47];
|
|
34250
|
+
let _J;
|
|
34251
|
+
return t[48] !== I || t[49] !== K || t[50] !== q || t[51] !== J || t[52] !== Q || t[53] !== gJ ? (_J = (0, import_jsx_runtime.jsxs)(I, {
|
|
34258
34252
|
modal: K,
|
|
34259
34253
|
open: q,
|
|
34260
34254
|
onOpenChange: J,
|
|
34261
34255
|
children: [
|
|
34262
34256
|
Q,
|
|
34263
|
-
|
|
34257
|
+
gJ
|
|
34264
34258
|
]
|
|
34265
|
-
}), t[48] = I, t[49] = K, t[50] = q, t[51] = J, t[52] = Q, t[53] =
|
|
34259
|
+
}), t[48] = I, t[49] = K, t[50] = q, t[51] = J, t[52] = Q, t[53] = gJ, t[54] = _J) : _J = t[54], _J;
|
|
34266
34260
|
};
|
|
34267
34261
|
function fetchJson(e) {
|
|
34268
34262
|
return fetchText(e).then(jsonParseWithSpecialChar);
|
|
@@ -34358,22 +34352,22 @@ ${n}` : "Please fix this error.";
|
|
|
34358
34352
|
]
|
|
34359
34353
|
});
|
|
34360
34354
|
};
|
|
34361
|
-
DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: a, rawData: s, selection: c, totalColumns: d, totalRows: f, sizeBytes: _, sizeBytesIsLoading: v, manualSorting: y = false, sorting: S, setSorting: w, rowSelection: E, cellSelection: O, cellStyling: A, hoverTemplate: M, cellHoverTexts: I, paginationState: z, setPaginationState: U, downloadAs: K, manualPagination: q = false, pagination: J = false, onRowSelectionChange: Q, onCellSelectionChange: $, getRowIds:
|
|
34362
|
-
let
|
|
34355
|
+
DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: a, rawData: s, selection: c, totalColumns: d, totalRows: f, sizeBytes: _, sizeBytesIsLoading: v, manualSorting: y = false, sorting: S, setSorting: w, rowSelection: E, cellSelection: O, cellStyling: A, hoverTemplate: M, cellHoverTexts: I, paginationState: z, setPaginationState: U, downloadAs: K, manualPagination: q = false, pagination: J = false, onRowSelectionChange: Q, onCellSelectionChange: $, getRowIds: fJ, showSearch: pJ = false, searchQuery: mJ, onSearchQueryChange: hJ, showFilters: gJ = false, filters: _J, onFiltersChange: vJ, calculateTopKRows: yJ, reloading: bJ, freezeColumnsLeft: xJ, freezeColumnsRight: SJ, hiddenColumns: CJ, toggleDisplayHeader: wJ, showChartBuilder: TJ, isChartBuilderOpen: EJ, showPageSizeSelector: DJ, showTableExplorer: OJ, togglePanel: kJ, isPanelOpen: AJ, isAnyPanelOpen: jJ, viewedRowIdx: MJ, onViewedRowChange: NJ, renderTableExplorerPanel: PJ }) => {
|
|
34356
|
+
let FJ = isStaticNotebook(), IJ = !FJ, [LJ, RJ] = import_react.useState(false), { locale: zJ } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: BJ, setColumnPinning: VJ } = useColumnPinning(xJ, SJ), { columnVisibility: HJ, setColumnVisibility: UJ } = useColumnVisibility(CJ);
|
|
34363
34357
|
import_react.useEffect(() => {
|
|
34364
34358
|
let e2;
|
|
34365
|
-
return
|
|
34366
|
-
|
|
34367
|
-
}, 300) :
|
|
34359
|
+
return bJ ? e2 = setTimeout(() => {
|
|
34360
|
+
RJ(true);
|
|
34361
|
+
}, 300) : RJ(false), () => {
|
|
34368
34362
|
e2 && clearTimeout(e2);
|
|
34369
34363
|
};
|
|
34370
34364
|
}, [
|
|
34371
|
-
|
|
34365
|
+
bJ
|
|
34372
34366
|
]);
|
|
34373
|
-
function
|
|
34367
|
+
function WJ(e2, t2) {
|
|
34374
34368
|
return z ? t2 + (q ? z.pageIndex * z.pageSize : 0) : t2;
|
|
34375
34369
|
}
|
|
34376
|
-
let
|
|
34370
|
+
let GJ = useReactTable({
|
|
34377
34371
|
_features: [
|
|
34378
34372
|
ColumnPinning,
|
|
34379
34373
|
ColumnWrappingFeature,
|
|
@@ -34397,37 +34391,37 @@ ${n}` : "Please fix this error.";
|
|
|
34397
34391
|
getRowId: (e2, t2) => {
|
|
34398
34392
|
let n2 = getStableRowId(e2);
|
|
34399
34393
|
if (n2) return n2;
|
|
34400
|
-
let i2 =
|
|
34394
|
+
let i2 = WJ(e2, t2);
|
|
34401
34395
|
return String(i2);
|
|
34402
34396
|
}
|
|
34403
34397
|
} : {},
|
|
34404
|
-
locale:
|
|
34398
|
+
locale: zJ,
|
|
34405
34399
|
manualPagination: q,
|
|
34406
34400
|
getPaginationRowModel: getPaginationRowModel(),
|
|
34407
34401
|
...w ? {
|
|
34408
34402
|
onSortingChange: w
|
|
34409
34403
|
} : {},
|
|
34410
34404
|
manualSorting: y,
|
|
34411
|
-
enableSorting: !
|
|
34405
|
+
enableSorting: !FJ,
|
|
34412
34406
|
enableMultiSort: true,
|
|
34413
34407
|
getSortedRowModel: getSortedRowModel(),
|
|
34414
34408
|
manualFiltering: true,
|
|
34415
|
-
enableColumnFilters:
|
|
34409
|
+
enableColumnFilters: gJ && !FJ,
|
|
34416
34410
|
getFilteredRowModel: getFilteredRowModel(),
|
|
34417
|
-
onColumnFiltersChange:
|
|
34411
|
+
onColumnFiltersChange: vJ,
|
|
34418
34412
|
onRowSelectionChange: Q,
|
|
34419
34413
|
onCellSelectionChange: $,
|
|
34420
34414
|
enableCellSelection: c === "single-cell" || c === "multi-cell",
|
|
34421
34415
|
enableMultiCellSelection: c === "multi-cell",
|
|
34422
|
-
onColumnPinningChange:
|
|
34423
|
-
onColumnVisibilityChange:
|
|
34416
|
+
onColumnPinningChange: VJ,
|
|
34417
|
+
onColumnVisibilityChange: UJ,
|
|
34424
34418
|
enableFocusRow: true,
|
|
34425
|
-
onFocusRowChange:
|
|
34419
|
+
onFocusRowChange: NJ,
|
|
34426
34420
|
state: {
|
|
34427
34421
|
...S ? {
|
|
34428
34422
|
sorting: S
|
|
34429
34423
|
} : {},
|
|
34430
|
-
columnFilters:
|
|
34424
|
+
columnFilters: _J,
|
|
34431
34425
|
...z ? {
|
|
34432
34426
|
pagination: z
|
|
34433
34427
|
} : J && !z ? {} : {
|
|
@@ -34438,60 +34432,60 @@ ${n}` : "Please fix this error.";
|
|
|
34438
34432
|
},
|
|
34439
34433
|
rowSelection: E ?? {},
|
|
34440
34434
|
cellSelection: O ?? [],
|
|
34441
|
-
columnVisibility:
|
|
34435
|
+
columnVisibility: HJ,
|
|
34442
34436
|
cellStyling: A,
|
|
34443
|
-
columnPinning:
|
|
34437
|
+
columnPinning: BJ,
|
|
34444
34438
|
cellHoverTemplate: M,
|
|
34445
34439
|
cellHoverTexts: I ?? {}
|
|
34446
34440
|
}
|
|
34447
|
-
}),
|
|
34441
|
+
}), KJ = (AJ == null ? void 0 : AJ(PANEL_TYPES.ROW_VIEWER)) ?? false, qJ = !J && a.length > 100, JJ = useScrollContainerHeight({
|
|
34448
34442
|
maxHeight: n,
|
|
34449
|
-
virtualize:
|
|
34450
|
-
}), [
|
|
34443
|
+
virtualize: qJ
|
|
34444
|
+
}), [YJ, XJ] = import_react.useState(null), ZJ = import_react.useMemo(() => ({
|
|
34451
34445
|
requestAddFilter: (e2) => {
|
|
34452
|
-
let t2 =
|
|
34453
|
-
t2 &&
|
|
34446
|
+
let t2 = GJ.getColumn(e2.columnId);
|
|
34447
|
+
t2 && XJ(buildEditorSnapshot(t2, {
|
|
34454
34448
|
operator: e2.operator
|
|
34455
34449
|
}));
|
|
34456
34450
|
}
|
|
34457
34451
|
}), [
|
|
34458
|
-
|
|
34459
|
-
]),
|
|
34452
|
+
GJ
|
|
34453
|
+
]), QJ = getUserColumnVisibilityCounts(GJ), $J = QJ.total > 0 && QJ.visible === 0;
|
|
34460
34454
|
return (0, import_jsx_runtime.jsx)(FilterEditorProvider, {
|
|
34461
|
-
value:
|
|
34455
|
+
value: ZJ,
|
|
34462
34456
|
children: (0, import_jsx_runtime.jsxs)("div", {
|
|
34463
34457
|
className: cn(e, "flex flex-col space-y-1"),
|
|
34464
34458
|
children: [
|
|
34465
34459
|
(0, import_jsx_runtime.jsx)(FilterPills, {
|
|
34466
|
-
filters:
|
|
34467
|
-
table:
|
|
34468
|
-
calculateTopKRows:
|
|
34469
|
-
addFilterSnapshot:
|
|
34470
|
-
onAddFilterSnapshotChange:
|
|
34460
|
+
filters: _J,
|
|
34461
|
+
table: GJ,
|
|
34462
|
+
calculateTopKRows: yJ,
|
|
34463
|
+
addFilterSnapshot: YJ,
|
|
34464
|
+
onAddFilterSnapshotChange: XJ
|
|
34471
34465
|
}),
|
|
34472
|
-
|
|
34466
|
+
PJ == null ? void 0 : PJ(GJ),
|
|
34473
34467
|
(0, import_jsx_runtime.jsx)(CellSelectionProvider, {
|
|
34474
34468
|
children: (0, import_jsx_runtime.jsxs)("div", {
|
|
34475
34469
|
part: "table-wrapper",
|
|
34476
34470
|
className: cn(t || "rounded-md border overflow-hidden"),
|
|
34477
34471
|
children: [
|
|
34478
|
-
|
|
34479
|
-
table:
|
|
34480
|
-
showSearch:
|
|
34481
|
-
searchQuery:
|
|
34482
|
-
onSearchQueryChange:
|
|
34483
|
-
reloading:
|
|
34484
|
-
showChartBuilder:
|
|
34485
|
-
isChartBuilderOpen:
|
|
34486
|
-
toggleDisplayHeader:
|
|
34487
|
-
showTableExplorer:
|
|
34488
|
-
togglePanel:
|
|
34489
|
-
isAnyPanelOpen:
|
|
34472
|
+
IJ && (0, import_jsx_runtime.jsx)(TableTopBar, {
|
|
34473
|
+
table: GJ,
|
|
34474
|
+
showSearch: pJ,
|
|
34475
|
+
searchQuery: mJ,
|
|
34476
|
+
onSearchQueryChange: hJ,
|
|
34477
|
+
reloading: bJ,
|
|
34478
|
+
showChartBuilder: TJ,
|
|
34479
|
+
isChartBuilderOpen: EJ,
|
|
34480
|
+
toggleDisplayHeader: wJ,
|
|
34481
|
+
showTableExplorer: OJ,
|
|
34482
|
+
togglePanel: kJ,
|
|
34483
|
+
isAnyPanelOpen: jJ,
|
|
34490
34484
|
downloadAs: K,
|
|
34491
34485
|
sizeBytes: _,
|
|
34492
34486
|
sizeBytesIsLoading: v
|
|
34493
34487
|
}),
|
|
34494
|
-
|
|
34488
|
+
$J && (0, import_jsx_runtime.jsxs)(Banner, {
|
|
34495
34489
|
className: "mb-1 mx-2 rounded flex items-center justify-between",
|
|
34496
34490
|
children: [
|
|
34497
34491
|
(0, import_jsx_runtime.jsx)("span", {
|
|
@@ -34500,26 +34494,26 @@ ${n}` : "Please fix this error.";
|
|
|
34500
34494
|
(0, import_jsx_runtime.jsx)(Button, {
|
|
34501
34495
|
variant: "link",
|
|
34502
34496
|
size: "xs",
|
|
34503
|
-
onClick: () =>
|
|
34497
|
+
onClick: () => GJ.resetColumnVisibility(true),
|
|
34504
34498
|
children: "Unhide all"
|
|
34505
34499
|
})
|
|
34506
34500
|
]
|
|
34507
34501
|
}),
|
|
34508
34502
|
(0, import_jsx_runtime.jsxs)(Table, {
|
|
34509
34503
|
className: cn("relative", i.length <= 4 ? "w-auto" : "w-full"),
|
|
34510
|
-
ref:
|
|
34504
|
+
ref: JJ,
|
|
34511
34505
|
children: [
|
|
34512
|
-
|
|
34506
|
+
LJ && (0, import_jsx_runtime.jsx)("thead", {
|
|
34513
34507
|
className: "absolute top-0 left-0 h-[3px] w-1/2 bg-primary animate-slide"
|
|
34514
34508
|
}),
|
|
34515
|
-
renderTableHeader(
|
|
34509
|
+
renderTableHeader(GJ, qJ || !!n),
|
|
34516
34510
|
(0, import_jsx_runtime.jsx)(DataTableBody, {
|
|
34517
|
-
table:
|
|
34511
|
+
table: GJ,
|
|
34518
34512
|
columns: i,
|
|
34519
|
-
rowViewerPanelOpen:
|
|
34520
|
-
getRowIndex:
|
|
34521
|
-
viewedRowIdx:
|
|
34522
|
-
virtualize:
|
|
34513
|
+
rowViewerPanelOpen: KJ,
|
|
34514
|
+
getRowIndex: WJ,
|
|
34515
|
+
viewedRowIdx: MJ,
|
|
34516
|
+
virtualize: qJ
|
|
34523
34517
|
})
|
|
34524
34518
|
]
|
|
34525
34519
|
}),
|
|
@@ -34530,10 +34524,10 @@ ${n}` : "Please fix this error.";
|
|
|
34530
34524
|
pagination: J,
|
|
34531
34525
|
selection: c,
|
|
34532
34526
|
onRowSelectionChange: Q,
|
|
34533
|
-
table:
|
|
34534
|
-
getRowIds:
|
|
34535
|
-
showPageSizeSelector:
|
|
34536
|
-
tableLoading:
|
|
34527
|
+
table: GJ,
|
|
34528
|
+
getRowIds: fJ,
|
|
34529
|
+
showPageSizeSelector: DJ,
|
|
34530
|
+
tableLoading: bJ
|
|
34537
34531
|
})
|
|
34538
34532
|
]
|
|
34539
34533
|
})
|
|
@@ -34618,60 +34612,60 @@ ${n}` : "Please fix this error.";
|
|
|
34618
34612
|
t[6] !== a || t[7] !== S ? (E = S && S.kind === "cell" && !isWasm() && !isStaticNotebook() && a !== "__scratch__", t[6] = a, t[7] = S, t[8] = E) : E = t[8];
|
|
34619
34613
|
let O = E, A;
|
|
34620
34614
|
t[9] !== f || t[10] !== n ? (A = n && f && !isStaticNotebook(), t[9] = f, t[10] = n, t[11] = A) : A = t[11];
|
|
34621
|
-
let M = A, I = !isStaticNotebook(), [z, U] = (0, import_react.useState)(true),
|
|
34622
|
-
t[12] !== d || t[13] !== n ? (
|
|
34615
|
+
let M = A, I = !isStaticNotebook(), [z, U] = (0, import_react.useState)(true), q;
|
|
34616
|
+
t[12] !== d || t[13] !== n ? (q = (e2) => {
|
|
34623
34617
|
n == null ? void 0 : n({
|
|
34624
34618
|
prompt: `My code gives the following error:
|
|
34625
34619
|
|
|
34626
34620
|
${d}`,
|
|
34627
34621
|
triggerImmediately: e2
|
|
34628
34622
|
});
|
|
34629
|
-
}, t[12] = d, t[13] = n, t[14] =
|
|
34630
|
-
let
|
|
34623
|
+
}, t[12] = d, t[13] = n, t[14] = q) : q = t[14];
|
|
34624
|
+
let J = q, Q;
|
|
34631
34625
|
t[15] !== a || t[16] !== d || t[17] !== _ ? (Q = () => {
|
|
34632
34626
|
_({
|
|
34633
34627
|
prompt: buildFixInChatPrompt(a, d)
|
|
34634
34628
|
});
|
|
34635
34629
|
}, t[15] = a, t[16] = d, t[17] = _, t[18] = Q) : Q = t[18];
|
|
34636
|
-
let $ = Q,
|
|
34637
|
-
t[19] === z ?
|
|
34638
|
-
let
|
|
34639
|
-
t[21] === z ?
|
|
34630
|
+
let $ = Q, fJ;
|
|
34631
|
+
t[19] === z ? fJ = t[20] : (fJ = () => U(!z), t[19] = z, t[20] = fJ);
|
|
34632
|
+
let pJ = z ? "Collapse traceback" : "Expand traceback", mJ;
|
|
34633
|
+
t[21] === z ? mJ = t[22] : (mJ = z ? (0, import_jsx_runtime.jsx)(ChevronDown, {
|
|
34640
34634
|
className: "h-3 w-3"
|
|
34641
34635
|
}) : (0, import_jsx_runtime.jsx)(ChevronRight, {
|
|
34642
34636
|
className: "h-3 w-3"
|
|
34643
|
-
}), t[21] = z, t[22] =
|
|
34644
|
-
let
|
|
34645
|
-
t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
34637
|
+
}), t[21] = z, t[22] = mJ);
|
|
34638
|
+
let hJ;
|
|
34639
|
+
t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (hJ = (0, import_jsx_runtime.jsx)("span", {
|
|
34646
34640
|
className: "text-[0.6875rem] uppercase tracking-wider",
|
|
34647
34641
|
children: "Traceback"
|
|
34648
|
-
}), t[23] =
|
|
34649
|
-
let
|
|
34650
|
-
t[24] !== z || t[25] !==
|
|
34642
|
+
}), t[23] = hJ) : hJ = t[23];
|
|
34643
|
+
let gJ;
|
|
34644
|
+
t[24] !== z || t[25] !== mJ || t[26] !== fJ || t[27] !== pJ ? (gJ = (0, import_jsx_runtime.jsxs)("button", {
|
|
34651
34645
|
type: "button",
|
|
34652
|
-
onClick:
|
|
34646
|
+
onClick: fJ,
|
|
34653
34647
|
"aria-expanded": z,
|
|
34654
|
-
"aria-label":
|
|
34648
|
+
"aria-label": pJ,
|
|
34655
34649
|
className: "self-start flex items-center gap-1 pt-2 text-muted-foreground/70 hover:text-muted-foreground transition-colors",
|
|
34656
34650
|
children: [
|
|
34657
|
-
|
|
34658
|
-
|
|
34651
|
+
mJ,
|
|
34652
|
+
hJ
|
|
34659
34653
|
]
|
|
34660
|
-
}), t[24] = z, t[25] =
|
|
34661
|
-
let
|
|
34662
|
-
t[29] !== s || t[30] !== z ? (
|
|
34654
|
+
}), t[24] = z, t[25] = mJ, t[26] = fJ, t[27] = pJ, t[28] = gJ) : gJ = t[28];
|
|
34655
|
+
let _J;
|
|
34656
|
+
t[29] !== s || t[30] !== z ? (_J = z && (0, import_jsx_runtime.jsx)("div", {
|
|
34663
34657
|
className: "text-muted-foreground pr-4 text-xs overflow-auto",
|
|
34664
34658
|
children: s
|
|
34665
|
-
}), t[29] = s, t[30] = z, t[31] =
|
|
34666
|
-
let
|
|
34667
|
-
t[32] !==
|
|
34659
|
+
}), t[29] = s, t[30] = z, t[31] = _J) : _J = t[31];
|
|
34660
|
+
let vJ;
|
|
34661
|
+
t[32] !== J || t[33] !== $ || t[34] !== M ? (vJ = M && (0, import_jsx_runtime.jsx)(AIFixButton, {
|
|
34668
34662
|
tooltip: "Fix with AI",
|
|
34669
|
-
openPrompt: () =>
|
|
34670
|
-
applyAutofix: () =>
|
|
34663
|
+
openPrompt: () => J(false),
|
|
34664
|
+
applyAutofix: () => J(true),
|
|
34671
34665
|
openChat: $
|
|
34672
|
-
}), t[32] =
|
|
34673
|
-
let
|
|
34674
|
-
t[36] !== O || t[37] !== S ? (
|
|
34666
|
+
}), t[32] = J, t[33] = $, t[34] = M, t[35] = vJ) : vJ = t[35];
|
|
34667
|
+
let yJ;
|
|
34668
|
+
t[36] !== O || t[37] !== S ? (yJ = O && (0, import_jsx_runtime.jsx)(Tooltip, {
|
|
34675
34669
|
content: "Attach pdb to the exception point.",
|
|
34676
34670
|
children: (0, import_jsx_runtime.jsxs)(Button, {
|
|
34677
34671
|
size: "xs",
|
|
@@ -34688,9 +34682,9 @@ ${d}`,
|
|
|
34688
34682
|
"Launch debugger"
|
|
34689
34683
|
]
|
|
34690
34684
|
})
|
|
34691
|
-
}), t[36] = O, t[37] = S, t[38] =
|
|
34692
|
-
let
|
|
34693
|
-
t[39] !== d || t[40] !== i ? (
|
|
34685
|
+
}), t[36] = O, t[37] = S, t[38] = yJ) : yJ = t[38];
|
|
34686
|
+
let bJ;
|
|
34687
|
+
t[39] !== d || t[40] !== i ? (bJ = I && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
|
|
34694
34688
|
children: [
|
|
34695
34689
|
(0, import_jsx_runtime.jsx)(DropdownMenuTrigger, {
|
|
34696
34690
|
asChild: true,
|
|
@@ -34758,25 +34752,25 @@ ${d}`,
|
|
|
34758
34752
|
]
|
|
34759
34753
|
})
|
|
34760
34754
|
]
|
|
34761
|
-
}), t[39] = d, t[40] = i, t[41] =
|
|
34762
|
-
let
|
|
34763
|
-
t[42] !==
|
|
34755
|
+
}), t[39] = d, t[40] = i, t[41] = bJ) : bJ = t[41];
|
|
34756
|
+
let xJ;
|
|
34757
|
+
t[42] !== vJ || t[43] !== yJ || t[44] !== bJ ? (xJ = (0, import_jsx_runtime.jsxs)("div", {
|
|
34764
34758
|
className: "flex gap-2",
|
|
34765
34759
|
children: [
|
|
34760
|
+
vJ,
|
|
34766
34761
|
yJ,
|
|
34767
|
-
bJ
|
|
34768
|
-
xJ
|
|
34762
|
+
bJ
|
|
34769
34763
|
]
|
|
34770
|
-
}), t[42] =
|
|
34771
|
-
let
|
|
34772
|
-
return t[46] !==
|
|
34764
|
+
}), t[42] = vJ, t[43] = yJ, t[44] = bJ, t[45] = xJ) : xJ = t[45];
|
|
34765
|
+
let SJ;
|
|
34766
|
+
return t[46] !== gJ || t[47] !== _J || t[48] !== xJ ? (SJ = (0, import_jsx_runtime.jsxs)("div", {
|
|
34773
34767
|
className: "flex flex-col gap-2 min-w-full w-fit",
|
|
34774
34768
|
children: [
|
|
34769
|
+
gJ,
|
|
34775
34770
|
_J,
|
|
34776
|
-
|
|
34777
|
-
SJ
|
|
34771
|
+
xJ
|
|
34778
34772
|
]
|
|
34779
|
-
}), t[46] =
|
|
34773
|
+
}), t[46] = gJ, t[47] = _J, t[48] = xJ, t[49] = SJ) : SJ = t[49], SJ;
|
|
34780
34774
|
};
|
|
34781
34775
|
function lastLine(e) {
|
|
34782
34776
|
var _a2, _b;
|
|
@@ -36212,14 +36206,14 @@ ${d}`,
|
|
|
36212
36206
|
Q
|
|
36213
36207
|
]
|
|
36214
36208
|
}), t[33] = J, t[34] = Q, t[35] = $) : $ = t[35];
|
|
36215
|
-
let
|
|
36216
|
-
return t[36] !== I || t[37] !== $ ? (
|
|
36209
|
+
let fJ;
|
|
36210
|
+
return t[36] !== I || t[37] !== $ ? (fJ = (0, import_jsx_runtime.jsxs)("div", {
|
|
36217
36211
|
className: "flex flex-col gap-3",
|
|
36218
36212
|
children: [
|
|
36219
36213
|
I,
|
|
36220
36214
|
$
|
|
36221
36215
|
]
|
|
36222
|
-
}), t[36] = I, t[37] = $, t[38] =
|
|
36216
|
+
}), t[36] = I, t[37] = $, t[38] = fJ) : fJ = t[38], fJ;
|
|
36223
36217
|
};
|
|
36224
36218
|
SlideSidebar = (e) => {
|
|
36225
36219
|
let t = (0, import_compiler_runtime$1.c)(30), { configWidth: n, layout: i, setLayout: a, activeConfigCell: s } = e, [c, d] = useAtom(slideConfigOpenAtom), f = c ? n : COLLAPSED_CONFIG_WIDTH, _;
|
|
@@ -36344,7 +36338,7 @@ ${d}`,
|
|
|
36344
36338
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
36345
36339
|
}
|
|
36346
36340
|
}
|
|
36347
|
-
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.16-
|
|
36341
|
+
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.16-dev37");
|
|
36348
36342
|
showCodeInRunModeAtom = atom(true);
|
|
36349
36343
|
atom(null);
|
|
36350
36344
|
var import_compiler_runtime = require_compiler_runtime();
|
|
@@ -36435,76 +36429,74 @@ export {
|
|
|
36435
36429
|
useOverflowDetection as Zt,
|
|
36436
36430
|
DataTable as _,
|
|
36437
36431
|
__tla,
|
|
36438
|
-
|
|
36432
|
+
ChevronLeft as _n,
|
|
36439
36433
|
TableCell as _t,
|
|
36440
36434
|
DEFAULT_DECK_TRANSITION as a,
|
|
36441
|
-
|
|
36435
|
+
TextWrap as an,
|
|
36442
36436
|
contextAwarePanelType as at,
|
|
36443
36437
|
downloadBlob as b,
|
|
36444
|
-
ArrowDownWideNarrow as bn,
|
|
36445
36438
|
TableRow as bt,
|
|
36446
36439
|
SLIDE_TYPE_OPTIONS_BY_VALUE as c,
|
|
36447
|
-
|
|
36440
|
+
EyeOff as cn,
|
|
36448
36441
|
slotsController as ct,
|
|
36449
36442
|
Switch as d,
|
|
36450
|
-
|
|
36443
|
+
Download as dn,
|
|
36451
36444
|
PanelGroup as dt,
|
|
36452
36445
|
HtmlOutput as en,
|
|
36453
36446
|
smartMatch as et,
|
|
36454
36447
|
RadioGroup as f,
|
|
36455
|
-
|
|
36448
|
+
Code as fn,
|
|
36456
36449
|
PanelResizeHandle as ft,
|
|
36457
36450
|
OutputRenderer as g,
|
|
36458
|
-
|
|
36451
|
+
ChevronsDownUp as gn,
|
|
36459
36452
|
TableBody as gt,
|
|
36460
36453
|
OutputArea as h,
|
|
36461
|
-
|
|
36454
|
+
ChevronsLeft as hn,
|
|
36462
36455
|
Table as ht,
|
|
36463
36456
|
showCodeInRunModeAtom as i,
|
|
36464
|
-
|
|
36457
|
+
$fae977aafc393c5c$export$6b862160d295c8e as in,
|
|
36465
36458
|
contextAwarePanelOwner as it,
|
|
36466
36459
|
LoadingState as j,
|
|
36467
36460
|
loadTableAndRawData as jt,
|
|
36468
36461
|
EmptyState as k,
|
|
36469
36462
|
usePrevious as kt,
|
|
36470
36463
|
SlideSidebar as l,
|
|
36471
|
-
|
|
36464
|
+
Expand as ln,
|
|
36472
36465
|
Toggle as lt,
|
|
36473
36466
|
JsonOutput as m,
|
|
36474
|
-
|
|
36467
|
+
ChevronsRight as mn,
|
|
36475
36468
|
Provider$1 as mt,
|
|
36476
36469
|
useNotebookCodeAvailable as n,
|
|
36477
36470
|
safeLocale as nn,
|
|
36478
36471
|
PANEL_TYPES as nt,
|
|
36479
36472
|
DEFAULT_DECK_VERTICAL_ALIGN as o,
|
|
36480
|
-
|
|
36473
|
+
GripHorizontal as on,
|
|
36481
36474
|
isCellAwareAtom as ot,
|
|
36482
36475
|
RadioGroupItem as p,
|
|
36483
|
-
|
|
36476
|
+
ChevronsUpDown as pn,
|
|
36484
36477
|
Fill as pt,
|
|
36485
36478
|
ComboboxItem as q,
|
|
36486
36479
|
ChartErrorState as qt,
|
|
36487
36480
|
marimoVersionAtom as r,
|
|
36488
|
-
|
|
36481
|
+
$fae977aafc393c5c$export$588937bcd60ade55 as rn,
|
|
36489
36482
|
contextAwarePanelOpen as rt,
|
|
36490
36483
|
DEFAULT_SLIDE_TYPE as s,
|
|
36491
|
-
|
|
36484
|
+
Funnel as sn,
|
|
36492
36485
|
SlotNames as st,
|
|
36493
36486
|
cellDomProps as t,
|
|
36494
36487
|
EmotionCacheProvider as tn,
|
|
36495
36488
|
ContextAwarePanelItem as tt,
|
|
36496
36489
|
Slide as u,
|
|
36497
|
-
|
|
36490
|
+
Ellipsis as un,
|
|
36498
36491
|
Panel as ut,
|
|
36499
36492
|
InstallPackageButton as v,
|
|
36500
|
-
|
|
36493
|
+
ArrowDownWideNarrow as vn,
|
|
36501
36494
|
TableHead as vt,
|
|
36502
36495
|
Progress as w,
|
|
36503
36496
|
renderCellValue as wt,
|
|
36504
36497
|
downloadByURL as x,
|
|
36505
36498
|
NAMELESS_COLUMN_PREFIX as xt,
|
|
36506
36499
|
ADD_PRINTING_CLASS as y,
|
|
36507
|
-
ChevronLeft as yn,
|
|
36508
36500
|
TableHeader as yt,
|
|
36509
36501
|
ContextMenuSeparator as z,
|
|
36510
36502
|
Maps as zt
|