@marimo-team/islands 0.23.12-dev8 → 0.23.12
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-BEOvjkmJ.js → chat-ui-CsPewo4h.js} +2 -2
- package/dist/{code-visibility-B9yvB9rV.js → code-visibility-BFhOAQbo.js} +714 -707
- package/dist/{html-to-image-Di0mtt6O.js → html-to-image-DXwLcQ6l.js} +22 -15
- package/dist/main.js +1160 -1027
- package/dist/{process-output-BLd4KuwX.js → process-output-C6_e1pT_.js} +1 -1
- package/dist/{reveal-component-D6wEWbxH.js → reveal-component-ghVwQgXR.js} +13 -13
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/data-table/TableBottomBar.tsx +4 -1
- package/src/components/data-table/data-table.tsx +26 -17
- package/src/components/data-table/utils.ts +1 -4
- package/src/components/editor/actions/useNotebookActions.tsx +4 -4
- package/src/components/editor/ai/__tests__/completion-utils.test.ts +48 -2
- package/src/components/editor/ai/completion-utils.ts +54 -36
- package/src/components/editor/app-container.tsx +3 -1
- package/src/components/editor/output/ImageOutput.tsx +12 -3
- package/src/components/editor/renderers/vertical-layout/vertical-layout-wrapper.tsx +2 -2
- package/src/components/home/components.tsx +4 -4
- package/src/components/icons/github.tsx +21 -0
- package/src/components/icons/youtube.tsx +21 -0
- package/src/components/storage/components.tsx +3 -7
- package/src/core/codemirror/go-to-definition/__tests__/commands.test.ts +67 -0
- package/src/core/codemirror/go-to-definition/__tests__/utils.test.ts +47 -0
- package/src/core/codemirror/go-to-definition/commands.ts +47 -30
- package/src/core/codemirror/go-to-definition/utils.ts +0 -1
- package/src/core/codemirror/reactive-references/__tests__/analyzer.test.ts +54 -0
- package/src/core/codemirror/reactive-references/analyzer.ts +44 -35
- package/src/core/islands/__tests__/bridge.test.ts +25 -0
- package/src/core/islands/__tests__/parse.test.ts +585 -1
- package/src/core/islands/__tests__/test-utils.tsx +10 -1
- package/src/core/islands/bridge.ts +6 -1
- package/src/core/islands/constants.ts +2 -0
- package/src/core/islands/parse.ts +290 -13
- package/src/plugins/impl/DataTablePlugin.tsx +20 -1
- package/src/plugins/impl/__tests__/DataTablePlugin.test.tsx +141 -1
- package/src/plugins/impl/anywidget/AnyWidgetPlugin.tsx +54 -4
- package/src/plugins/impl/anywidget/__tests__/AnyWidgetPlugin.test.tsx +104 -1
- package/src/plugins/impl/anywidget/__tests__/model.test.ts +19 -0
- package/src/plugins/impl/anywidget/model.ts +15 -0
- package/src/utils/__tests__/records.test.ts +27 -0
- package/src/utils/records.ts +12 -0
|
@@ -6,7 +6,7 @@ import { _ as Logger, c as Objects, g as cn, h as Events, m as useComposedRefs,
|
|
|
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-COam1EG7.js";
|
|
9
|
-
import { $t as extractAllTracebackInfo, A as ChevronRightIcon, An as Minus, At as goToCellLine, Bt as DATA_TYPE_ICON, C as AccordionContent, Ct as Checkbox, En as Trash2, Fn as Eye, Ft as adaptForLocalStorage, Hn as esm_default, I as base64ToUint8Array, In as ExternalLink, It as jotaiJsonStorage, M as PinLeftIcon, N as PinRightIcon, Nn as Info, Nt as useChromeActions, O as CheckIcon, Pn as FileText, Qt as elementContainsMarimoCellFile, R as extractBase64FromDataURL, Rt as PluralWord, S as Accordion, T as AccordionTrigger, Tn as Wrench, Un as import_lib, V as renderHTML, Vn as Braces, Vt as getDataTypeColor, X as notebookAtom, Yt as useRequestClient, _n as atomWithStorage, _t as DATA_CELL_ID, bn as Close$1, c as Popover, cn as HTMLCellId, d as PopoverTrigger, dt as viewStateAtom, en as getTracebackInfo, et as useCellActions, ft as outputIsLoading, g as getDatasourceContext, gt as sanitizeHtml, hn as jsonToMarkdown, j as DotFilledIcon, jn as LoaderCircle, kn as NotebookPen, l as PopoverClose, ln as SCRATCH_CELL_ID, lt as kioskModeAtom, m as useExpandedOutput, mn as jsonParseWithSpecialChar, n as Spinner, nt as useCellNames, ot as AnsiUp, q as getCellEditorView, qt as getRequestClient, r as MarkdownRenderer, rn as filenameAtom, sn as CellOutputId, t as toPng, tt as useCellIds, u as PopoverContent, ut as useInstallAllowed, vt as getCellDomProps, w as AccordionItem, yt as displayCellName, z as isDataURLString, zn as CircleX, __tla as __tla_0 } from "./html-to-image-
|
|
9
|
+
import { $t as extractAllTracebackInfo, A as ChevronRightIcon, An as Minus, At as goToCellLine, Bt as DATA_TYPE_ICON, C as AccordionContent, Ct as Checkbox, En as Trash2, Fn as Eye, Ft as adaptForLocalStorage, Hn as esm_default, I as base64ToUint8Array, In as ExternalLink, It as jotaiJsonStorage, M as PinLeftIcon, N as PinRightIcon, Nn as Info, Nt as useChromeActions, O as CheckIcon, Pn as FileText, Qt as elementContainsMarimoCellFile, R as extractBase64FromDataURL, Rt as PluralWord, S as Accordion, T as AccordionTrigger, Tn as Wrench, Un as import_lib, V as renderHTML, Vn as Braces, Vt as getDataTypeColor, X as notebookAtom, Yt as useRequestClient, _n as atomWithStorage, _t as DATA_CELL_ID, bn as Close$1, c as Popover, cn as HTMLCellId, d as PopoverTrigger, dt as viewStateAtom, en as getTracebackInfo, et as useCellActions, ft as outputIsLoading, g as getDatasourceContext, gt as sanitizeHtml, hn as jsonToMarkdown, j as DotFilledIcon, jn as LoaderCircle, kn as NotebookPen, l as PopoverClose, ln as SCRATCH_CELL_ID, lt as kioskModeAtom, m as useExpandedOutput, mn as jsonParseWithSpecialChar, n as Spinner, nt as useCellNames, ot as AnsiUp, q as getCellEditorView, qt as getRequestClient, r as MarkdownRenderer, rn as filenameAtom, sn as CellOutputId, t as toPng, tt as useCellIds, u as PopoverContent, ut as useInstallAllowed, vt as getCellDomProps, w as AccordionItem, yt as displayCellName, z as isDataURLString, zn as CircleX, __tla as __tla_0 } from "./html-to-image-DXwLcQ6l.js";
|
|
10
10
|
import { o as useSize, u as createLucideIcon } from "./dist--2Bqjvs0.js";
|
|
11
11
|
import { c as Calendar, i as createReducerAndAtoms, r as Badge } from "./useLifecycle-AHlswLw-.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-CMnRuVmN.js";
|
|
@@ -35,7 +35,7 @@ import { n as formats } from "./vega-loader.browser-CZ-J8Py3.js";
|
|
|
35
35
|
import { a as getContainerWidth, n as vegaLoadData, r as createBatchedLoader, s as tooltipHandler, t as parseCsvData } from "./loader-Boph2xIS.js";
|
|
36
36
|
import { t as useIframeCapabilities } from "./useIframeCapabilities-DWIYvDh7.js";
|
|
37
37
|
import { t as useAsyncData } from "./useAsyncData-1Dhzjfwf.js";
|
|
38
|
-
let contextAwarePanelOpen,
|
|
38
|
+
let contextAwarePanelOpen, EmotionCacheProvider, prettifyRowCount, SELECT_COLUMN_ID, DatePicker, dateToLocalISOTime, downloadSizeLimitAtom, DelayMount, ErrorState, loadTableAndRawData, EmptyState, getPageIndexForRow, ContextMenuSeparator, isRecord, CommandEmpty, ChartErrorState, Combobox, TabsContent, ContextMenuTrigger, isNullishFilter, CommandList, LazyVegaEmbed, CommandInput, ChartInfoState, useInternalStateWithSync, Maps, ContextMenu, toFieldTypes, ContextMenuContent, getMimeValues, LoadingState, loadTableData, ContextMenuItem, hasFunctionProperty, PANEL_TYPES, HtmlOutput, useSelectList, dateToLocalISODate, Filenames, ColumnChartSpecModel, ColumnPreviewContainer, usePrevious, ComboboxItem, TabsList, DateRangePicker, Tabs, Command, TabsTrigger, smartMatch, RenderTextWithLinks, CommandSeparator, useOverflowDetection, ContextAwarePanelItem, Kbd, ADD_PRINTING_CLASS, NAMELESS_COLUMN_PREFIX, DEFAULT_SLIDE_TYPE, EyeOff, Toggle, downloadHTMLAsImage, renderCellValue, Slide, Download, PanelResizeHandle, RadioGroupItem, ChevronsRight, Table, $fae977aafc393c5c$export$588937bcd60ade55, contextAwarePanelOwner, JsonOutput, ChevronsLeft, TableBody, InstallPackageButton, TableRow, DataTable, ArrowDownWideNarrow, TableHeader, DEFAULT_DECK_TRANSITION, Funnel, slotsController, getColumnCountForDisplay, TOO_MANY_ROWS, prettifyRowColumnCount, INDEX_COLUMN_NAME, Switch, Code, Fill, OutputRenderer, ChevronLeft, TableHead, marimoVersionAtom, TextWrap, isCellAwareAtom, SLIDE_TYPE_OPTIONS_BY_VALUE, Expand, Panel, OutputArea, ChevronsDownUp, TableCell, CommandItem, ChartLoadingState, showCodeInRunModeAtom, GripHorizontal, SlotNames, SlideSidebar, Ellipsis, PanelGroup, useNotebookCodeAvailable, $fae977aafc393c5c$export$6b862160d295c8e, contextAwarePanelType, RadioGroup, ChevronsUpDown, Provider$1, downloadBlob, generateColumns, ColumnName, useIntersectionObserver, Progress, ColumnChartContext, downloadByURL, inferFieldTypes, CompactChipRow, dateToLocalISODateTime;
|
|
39
39
|
let __tla = Promise.all([
|
|
40
40
|
(() => {
|
|
41
41
|
try {
|
|
@@ -2020,21 +2020,21 @@ Defaulting to \`null\`.`;
|
|
|
2020
2020
|
function $2f04cbc44ee30ce0$export$53a0910f038337bd(e, t, n = {}) {
|
|
2021
2021
|
let { block: i = "nearest", inline: a = "nearest" } = n;
|
|
2022
2022
|
if (e === t) return;
|
|
2023
|
-
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,
|
|
2024
|
-
h.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ?
|
|
2025
|
-
let
|
|
2026
|
-
if (
|
|
2027
|
-
else if (
|
|
2028
|
-
else if (
|
|
2029
|
-
else if (
|
|
2030
|
-
let e2 =
|
|
2023
|
+
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, Fq = c.top - E, Iq = c.bottom + O, Lq = c.left - A, Rq = c.right + M, zq = e === _ ? 0 : Q + $, Bq = e === _ ? 0 : q + J, Vq = e.offsetWidth - e.clientWidth - zq, Hq = e.offsetHeight - e.clientHeight - Bq, Uq = v + q + I, Wq = y - J - z - Hq, Gq = S + Q + U, Kq = w - $ - K;
|
|
2024
|
+
h.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ? Gq += Vq : Kq -= Vq;
|
|
2025
|
+
let qq = Fq < Uq || Iq > Wq, Jq = Lq < Gq || Rq > Kq;
|
|
2026
|
+
if (qq && i === "start") o += Fq - Uq;
|
|
2027
|
+
else if (qq && i === "center") o += (Fq + Iq) / 2 - (Uq + Wq) / 2;
|
|
2028
|
+
else if (qq && i === "end") o += Iq - Wq;
|
|
2029
|
+
else if (qq && i === "nearest") {
|
|
2030
|
+
let e2 = Fq - Uq, t2 = Iq - Wq;
|
|
2031
2031
|
o += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
|
|
2032
2032
|
}
|
|
2033
|
-
if (
|
|
2034
|
-
else if (
|
|
2035
|
-
else if (
|
|
2036
|
-
else if (
|
|
2037
|
-
let e2 =
|
|
2033
|
+
if (Jq && a === "start") s += Lq - Gq;
|
|
2034
|
+
else if (Jq && a === "center") s += (Lq + Rq) / 2 - (Gq + Kq) / 2;
|
|
2035
|
+
else if (Jq && a === "end") s += Rq - Kq;
|
|
2036
|
+
else if (Jq && a === "nearest") {
|
|
2037
|
+
let e2 = Lq - Gq, t2 = Rq - Kq;
|
|
2038
2038
|
s += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
|
|
2039
2039
|
}
|
|
2040
2040
|
e.scrollTo({
|
|
@@ -5144,23 +5144,23 @@ Defaulting to \`null\`.`;
|
|
|
5144
5144
|
}
|
|
5145
5145
|
let $ = "bottom";
|
|
5146
5146
|
A.axis === "top" ? A.placement === "top" ? $ = "top" : A.placement === "bottom" && ($ = "bottom") : A.crossAxis === "top" && (A.crossPlacement === "top" ? $ = "bottom" : A.crossPlacement === "bottom" && ($ = "top"));
|
|
5147
|
-
let
|
|
5148
|
-
q[I] +=
|
|
5149
|
-
let
|
|
5150
|
-
y && y <
|
|
5151
|
-
let
|
|
5152
|
-
|
|
5153
|
-
let
|
|
5154
|
-
x: U === "top" || U === "bottom" ?
|
|
5155
|
-
y: U === "left" || U === "right" ?
|
|
5147
|
+
let Fq = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f);
|
|
5148
|
+
q[I] += Fq;
|
|
5149
|
+
let Iq = $edcf132a9284368a$var$getMaxHeight(q, c, f, v, a, o, n.height, $, d, E, O);
|
|
5150
|
+
y && y < Iq && (Iq = y), n.height = Math.min(n.height, Iq), q = $edcf132a9284368a$var$computePosition(t, c, n, A, J, _, f, v, S, w, d), Fq = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f), q[I] += Fq;
|
|
5151
|
+
let Lq = {}, Rq = t[I] - q[I] - a[$edcf132a9284368a$var$AXIS[I]], zq = Rq + 0.5 * t[z], Bq = S / 2 + w, Vq = $edcf132a9284368a$var$AXIS[I] === "left" ? (a.left ?? 0) + (a.right ?? 0) : (a.top ?? 0) + (a.bottom ?? 0), Hq = n[z] - Vq - S / 2 - w;
|
|
5152
|
+
Lq[I] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(zq, t[I] + S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]]), t[I] + t[z] - S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]])), Bq, Hq), { placement: U, crossPlacement: K } = A, S ? Rq = Lq[I] : K === "right" ? Rq += t[z] : K === "center" && (Rq += t[z] / 2);
|
|
5153
|
+
let Uq = U === "left" || U === "top" ? n[M] : 0, Wq = {
|
|
5154
|
+
x: U === "top" || U === "bottom" ? Rq : Uq,
|
|
5155
|
+
y: U === "left" || U === "right" ? Rq : Uq
|
|
5156
5156
|
};
|
|
5157
5157
|
return {
|
|
5158
5158
|
position: q,
|
|
5159
|
-
maxHeight:
|
|
5160
|
-
arrowOffsetLeft:
|
|
5161
|
-
arrowOffsetTop:
|
|
5159
|
+
maxHeight: Iq,
|
|
5160
|
+
arrowOffsetLeft: Lq.left,
|
|
5161
|
+
arrowOffsetTop: Lq.top,
|
|
5162
5162
|
placement: U,
|
|
5163
|
-
triggerAnchorPoint:
|
|
5163
|
+
triggerAnchorPoint: Wq
|
|
5164
5164
|
};
|
|
5165
5165
|
}
|
|
5166
5166
|
function $edcf132a9284368a$export$b3ceb0cbf1056d98(e) {
|
|
@@ -7015,7 +7015,7 @@ Defaulting to \`null\`.`;
|
|
|
7015
7015
|
n,
|
|
7016
7016
|
h
|
|
7017
7017
|
]);
|
|
7018
|
-
let
|
|
7018
|
+
let Fq = $c87311424ea30a05$export$fedb369cb70207f1() || e.type === "timeZoneName" ? {
|
|
7019
7019
|
role: "textbox",
|
|
7020
7020
|
"aria-valuemax": null,
|
|
7021
7021
|
"aria-valuemin": null,
|
|
@@ -7025,8 +7025,8 @@ Defaulting to \`null\`.`;
|
|
|
7025
7025
|
e !== (0, import_react.useMemo)(() => t.segments.find((e2) => e2.isEditable), [
|
|
7026
7026
|
t.segments
|
|
7027
7027
|
]) && !t.isInvalid && (f = void 0);
|
|
7028
|
-
let
|
|
7029
|
-
"aria-label": `${
|
|
7028
|
+
let Iq = $bdb11010cef70236$export$f680877a34711e37(), Lq = !t.isDisabled && !t.isReadOnly && e.isEditable, Rq = e.type === "literal" ? "" : s.of(e.type), zq = $313b98861ee5dd6c$export$d6875122194c7b44({
|
|
7029
|
+
"aria-label": `${Rq}${c ? `, ${c}` : ""}${d ? ", " : ""}`,
|
|
7030
7030
|
"aria-labelledby": d
|
|
7031
7031
|
});
|
|
7032
7032
|
if (e.type === "literal") return {
|
|
@@ -7034,32 +7034,32 @@ Defaulting to \`null\`.`;
|
|
|
7034
7034
|
"aria-hidden": true
|
|
7035
7035
|
}
|
|
7036
7036
|
};
|
|
7037
|
-
let
|
|
7037
|
+
let Bq = {
|
|
7038
7038
|
caretColor: "transparent"
|
|
7039
7039
|
};
|
|
7040
7040
|
if (o === "rtl") {
|
|
7041
|
-
|
|
7041
|
+
Bq.unicodeBidi = "embed";
|
|
7042
7042
|
let t2 = v[e.type];
|
|
7043
|
-
(t2 === "numeric" || t2 === "2-digit") && (
|
|
7043
|
+
(t2 === "numeric" || t2 === "2-digit") && (Bq.direction = "ltr");
|
|
7044
7044
|
}
|
|
7045
7045
|
return {
|
|
7046
|
-
segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(w,
|
|
7047
|
-
id:
|
|
7048
|
-
...
|
|
7046
|
+
segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(w, zq, {
|
|
7047
|
+
id: Iq,
|
|
7048
|
+
...Fq,
|
|
7049
7049
|
"aria-invalid": t.isInvalid ? "true" : void 0,
|
|
7050
7050
|
"aria-describedby": f,
|
|
7051
7051
|
"aria-readonly": t.isReadOnly || !e.isEditable ? "true" : void 0,
|
|
7052
7052
|
"data-placeholder": e.isPlaceholder || void 0,
|
|
7053
|
-
contentEditable:
|
|
7054
|
-
suppressContentEditableWarning:
|
|
7055
|
-
spellCheck:
|
|
7056
|
-
autoCorrect:
|
|
7057
|
-
enterKeyHint:
|
|
7058
|
-
inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !
|
|
7053
|
+
contentEditable: Lq,
|
|
7054
|
+
suppressContentEditableWarning: Lq,
|
|
7055
|
+
spellCheck: Lq ? "false" : void 0,
|
|
7056
|
+
autoCorrect: Lq ? "off" : void 0,
|
|
7057
|
+
enterKeyHint: Lq ? "next" : void 0,
|
|
7058
|
+
inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !Lq ? void 0 : "numeric",
|
|
7059
7059
|
tabIndex: t.isDisabled ? void 0 : 0,
|
|
7060
7060
|
onKeyDown: A,
|
|
7061
7061
|
onFocus: Q,
|
|
7062
|
-
style:
|
|
7062
|
+
style: Bq,
|
|
7063
7063
|
onPointerDown(e2) {
|
|
7064
7064
|
e2.stopPropagation();
|
|
7065
7065
|
},
|
|
@@ -10302,12 +10302,12 @@ Defaulting to \`null\`.`;
|
|
|
10302
10302
|
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);
|
|
10303
10303
|
}
|
|
10304
10304
|
}
|
|
10305
|
-
let
|
|
10305
|
+
let Fq = (0, import_react.useMemo)(() => w ? f && f(w) ? true : $f62d864046160412$export$eac50920cf2fd59a(w, s, c) : false, [
|
|
10306
10306
|
w,
|
|
10307
10307
|
f,
|
|
10308
10308
|
s,
|
|
10309
10309
|
c
|
|
10310
|
-
]),
|
|
10310
|
+
]), Iq = e.isInvalid || e.validationState === "invalid" || Fq, Lq = Iq ? "invalid" : null, Rq = (0, import_react.useMemo)(() => h === "visible" ? o : $131cf43a05231e1e$var$unitDuration(o), [
|
|
10311
10311
|
h,
|
|
10312
10312
|
o
|
|
10313
10313
|
]);
|
|
@@ -10324,8 +10324,8 @@ Defaulting to \`null\`.`;
|
|
|
10324
10324
|
maxValue: c,
|
|
10325
10325
|
focusedDate: O,
|
|
10326
10326
|
timeZone: E,
|
|
10327
|
-
validationState:
|
|
10328
|
-
isValueInvalid:
|
|
10327
|
+
validationState: Lq,
|
|
10328
|
+
isValueInvalid: Iq,
|
|
10329
10329
|
setFocusedDate(e2) {
|
|
10330
10330
|
Q(e2);
|
|
10331
10331
|
},
|
|
@@ -10350,12 +10350,12 @@ Defaulting to \`null\`.`;
|
|
|
10350
10350
|
}));
|
|
10351
10351
|
},
|
|
10352
10352
|
focusNextPage() {
|
|
10353
|
-
let e2 = M.add(
|
|
10354
|
-
A($f62d864046160412$export$4f5203c0d889109e(O.add(
|
|
10353
|
+
let e2 = M.add(Rq);
|
|
10354
|
+
A($f62d864046160412$export$4f5203c0d889109e(O.add(Rq), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, Rq, i, s, c), Rq, i));
|
|
10355
10355
|
},
|
|
10356
10356
|
focusPreviousPage() {
|
|
10357
|
-
let e2 = M.subtract(
|
|
10358
|
-
A($f62d864046160412$export$4f5203c0d889109e(O.subtract(
|
|
10357
|
+
let e2 = M.subtract(Rq);
|
|
10358
|
+
A($f62d864046160412$export$4f5203c0d889109e(O.subtract(Rq), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, Rq, i, s, c), Rq, i));
|
|
10359
10359
|
},
|
|
10360
10360
|
focusSectionStart() {
|
|
10361
10361
|
o.days ? Q(M) : o.weeks ? Q($14e0f24ef4ac5c92$export$42c81a444fbfb5d4(O, i)) : (o.months || o.years) && Q($14e0f24ef4ac5c92$export$a5a3b454ada2268e(O));
|
|
@@ -10492,13 +10492,13 @@ Defaulting to \`null\`.`;
|
|
|
10492
10492
|
end: $9a36b6ba2fb1a7c5$var$convertValue(e2.end, h == null ? void 0 : h.end)
|
|
10493
10493
|
}), q(null);
|
|
10494
10494
|
}
|
|
10495
|
-
}, [$,
|
|
10496
|
-
|
|
10495
|
+
}, [$, Fq] = (0, import_react.useState)(false), { isDateUnavailable: Iq } = e, Lq = (0, import_react.useMemo)(() => !h || v ? false : Iq && (Iq(h.start) || Iq(h.end)) ? true : $f62d864046160412$export$eac50920cf2fd59a(h.start, c, d) || $f62d864046160412$export$eac50920cf2fd59a(h.end, c, d), [
|
|
10496
|
+
Iq,
|
|
10497
10497
|
h,
|
|
10498
10498
|
v,
|
|
10499
10499
|
c,
|
|
10500
10500
|
d
|
|
10501
|
-
]),
|
|
10501
|
+
]), Rq = e.isInvalid || e.validationState === "invalid" || Lq, zq = Rq ? "invalid" : null;
|
|
10502
10502
|
return {
|
|
10503
10503
|
...I,
|
|
10504
10504
|
value: h,
|
|
@@ -10506,8 +10506,8 @@ Defaulting to \`null\`.`;
|
|
|
10506
10506
|
anchorDate: v,
|
|
10507
10507
|
setAnchorDate: q,
|
|
10508
10508
|
highlightedRange: J,
|
|
10509
|
-
validationState:
|
|
10510
|
-
isValueInvalid:
|
|
10509
|
+
validationState: zq,
|
|
10510
|
+
isValueInvalid: Rq,
|
|
10511
10511
|
selectFocusedDate() {
|
|
10512
10512
|
Q(I.focusedDate);
|
|
10513
10513
|
},
|
|
@@ -10523,7 +10523,7 @@ Defaulting to \`null\`.`;
|
|
|
10523
10523
|
return I.isInvalid(e2) || $f62d864046160412$export$eac50920cf2fd59a(e2, (_a2 = w.current) == null ? void 0 : _a2.start, (_b = w.current) == null ? void 0 : _b.end);
|
|
10524
10524
|
},
|
|
10525
10525
|
isDragging: $,
|
|
10526
|
-
setDragging:
|
|
10526
|
+
setDragging: Fq
|
|
10527
10527
|
};
|
|
10528
10528
|
}
|
|
10529
10529
|
function $9a36b6ba2fb1a7c5$var$makeRange(e, t) {
|
|
@@ -11710,7 +11710,7 @@ Defaulting to \`null\`.`;
|
|
|
11710
11710
|
_,
|
|
11711
11711
|
S,
|
|
11712
11712
|
v
|
|
11713
|
-
]),
|
|
11713
|
+
]), Fq = (0, import_react.useMemo)(() => {
|
|
11714
11714
|
let t2 = w === "h11" || w === "h12", n2 = [
|
|
11715
11715
|
"era",
|
|
11716
11716
|
"year",
|
|
@@ -11728,15 +11728,15 @@ Defaulting to \`null\`.`;
|
|
|
11728
11728
|
e.maxGranularity,
|
|
11729
11729
|
_,
|
|
11730
11730
|
w
|
|
11731
|
-
]), [
|
|
11732
|
-
(M !==
|
|
11733
|
-
let
|
|
11734
|
-
if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(
|
|
11731
|
+
]), [Iq, Lq] = (0, import_react.useState)(M), [Rq, zq] = (0, import_react.useState)(S), [Bq, Vq] = (0, import_react.useState)(w);
|
|
11732
|
+
(M !== Iq || w !== Bq || !$14e0f24ef4ac5c92$export$dbc69fd56b53d5e(S, Rq)) && (I = new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M), Lq(M), zq(S), Vq(w), z(I));
|
|
11733
|
+
let Hq = (t2) => {
|
|
11734
|
+
if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(Fq)) z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(null);
|
|
11735
11735
|
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);
|
|
11736
11736
|
else {
|
|
11737
|
-
if (t2.isComplete(
|
|
11737
|
+
if (t2.isComplete(Fq)) {
|
|
11738
11738
|
let e2 = t2.toValue(M ?? $);
|
|
11739
|
-
if (t2.validate(e2,
|
|
11739
|
+
if (t2.validate(e2, Fq)) {
|
|
11740
11740
|
let t3 = $11d87f3f76e88657$export$b4a036af3fc0b032(e2, (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
|
|
11741
11741
|
if (!E || t3.compare(E) !== 0) {
|
|
11742
11742
|
z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(t3);
|
|
@@ -11746,83 +11746,83 @@ Defaulting to \`null\`.`;
|
|
|
11746
11746
|
}
|
|
11747
11747
|
z(t2);
|
|
11748
11748
|
}
|
|
11749
|
-
},
|
|
11749
|
+
}, Uq = (0, import_react.useMemo)(() => I.toValue(M ?? $).toDate(y), [
|
|
11750
11750
|
I,
|
|
11751
11751
|
y,
|
|
11752
11752
|
M,
|
|
11753
11753
|
$
|
|
11754
|
-
]),
|
|
11755
|
-
|
|
11754
|
+
]), Wq = (0, import_react.useMemo)(() => $3c0fc76039f1c516$var$processSegments(Uq, I, J, Q, S, t, _), [
|
|
11755
|
+
Uq,
|
|
11756
11756
|
J,
|
|
11757
11757
|
Q,
|
|
11758
11758
|
I,
|
|
11759
11759
|
S,
|
|
11760
11760
|
t,
|
|
11761
11761
|
_
|
|
11762
|
-
]),
|
|
11763
|
-
|
|
11764
|
-
},
|
|
11762
|
+
]), Gq = (e2, t2) => {
|
|
11763
|
+
Hq(I.cycle(e2, t2, $, Fq));
|
|
11764
|
+
}, Kq = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$f18627323ab57ac0(E, c, d, f, K), [
|
|
11765
11765
|
E,
|
|
11766
11766
|
c,
|
|
11767
11767
|
d,
|
|
11768
11768
|
f,
|
|
11769
11769
|
K
|
|
11770
|
-
]),
|
|
11770
|
+
]), qq = $e5be200c675c3b3a$export$fc1a364ae1f3ff10({
|
|
11771
11771
|
...e,
|
|
11772
11772
|
value: E,
|
|
11773
|
-
builtinValidation:
|
|
11774
|
-
}),
|
|
11773
|
+
builtinValidation: Kq
|
|
11774
|
+
}), Jq = qq.displayValidation.isInvalid, Yq = e.validationState || (Jq ? "invalid" : null);
|
|
11775
11775
|
return {
|
|
11776
|
-
...
|
|
11776
|
+
...qq,
|
|
11777
11777
|
value: M,
|
|
11778
11778
|
defaultValue: e.defaultValue ?? A,
|
|
11779
|
-
dateValue:
|
|
11779
|
+
dateValue: Uq,
|
|
11780
11780
|
calendar: S,
|
|
11781
|
-
setValue:
|
|
11782
|
-
segments:
|
|
11781
|
+
setValue: Hq,
|
|
11782
|
+
segments: Wq,
|
|
11783
11783
|
dateFormatter: J,
|
|
11784
|
-
validationState:
|
|
11785
|
-
isInvalid:
|
|
11784
|
+
validationState: Yq,
|
|
11785
|
+
isInvalid: Jq,
|
|
11786
11786
|
granularity: _,
|
|
11787
11787
|
maxGranularity: e.maxGranularity ?? "year",
|
|
11788
11788
|
isDisabled: a,
|
|
11789
11789
|
isReadOnly: o,
|
|
11790
11790
|
isRequired: s,
|
|
11791
11791
|
increment(e2) {
|
|
11792
|
-
|
|
11792
|
+
Gq(e2, 1);
|
|
11793
11793
|
},
|
|
11794
11794
|
decrement(e2) {
|
|
11795
|
-
|
|
11795
|
+
Gq(e2, -1);
|
|
11796
11796
|
},
|
|
11797
11797
|
incrementPage(e2) {
|
|
11798
|
-
|
|
11798
|
+
Gq(e2, $3c0fc76039f1c516$var$PAGE_STEP[e2] || 1);
|
|
11799
11799
|
},
|
|
11800
11800
|
decrementPage(e2) {
|
|
11801
|
-
|
|
11801
|
+
Gq(e2, -($3c0fc76039f1c516$var$PAGE_STEP[e2] || 1));
|
|
11802
11802
|
},
|
|
11803
11803
|
incrementToMax(e2) {
|
|
11804
11804
|
let t2 = e2 === "hour" && w === "h12" ? 11 : I.getSegmentLimits(e2).maxValue;
|
|
11805
|
-
|
|
11805
|
+
Hq(I.set(e2, t2, $));
|
|
11806
11806
|
},
|
|
11807
11807
|
decrementToMin(e2) {
|
|
11808
11808
|
let t2 = e2 === "hour" && w === "h12" ? 12 : I.getSegmentLimits(e2).minValue;
|
|
11809
|
-
|
|
11809
|
+
Hq(I.set(e2, t2, $));
|
|
11810
11810
|
},
|
|
11811
11811
|
setSegment(e2, t2) {
|
|
11812
|
-
|
|
11812
|
+
Hq(I.set(e2, t2, $));
|
|
11813
11813
|
},
|
|
11814
11814
|
confirmPlaceholder() {
|
|
11815
|
-
if (!(e.isDisabled || e.isReadOnly) && I.isComplete(
|
|
11815
|
+
if (!(e.isDisabled || e.isReadOnly) && I.isComplete(Fq)) {
|
|
11816
11816
|
let e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(I.toValue(M ?? $), (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
|
|
11817
11817
|
(!E || e2.compare(E) !== 0) && O(e2), z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M));
|
|
11818
11818
|
}
|
|
11819
11819
|
},
|
|
11820
11820
|
clearSegment(e2) {
|
|
11821
11821
|
let t2 = I;
|
|
11822
|
-
e2 !== "timeZoneName" && e2 !== "literal" && (t2 = I.clear(e2)),
|
|
11822
|
+
e2 !== "timeZoneName" && e2 !== "literal" && (t2 = I.clear(e2)), Hq(t2);
|
|
11823
11823
|
},
|
|
11824
11824
|
formatValue(e2) {
|
|
11825
|
-
return M ? new $fb18d541ea1ad717$export$ad991b66133851cf(t, $35a22f14a1f04b11$export$7e319ea407e63bc0(e2, K)).format(
|
|
11825
|
+
return M ? new $fb18d541ea1ad717$export$ad991b66133851cf(t, $35a22f14a1f04b11$export$7e319ea407e63bc0(e2, K)).format(Uq) : "";
|
|
11826
11826
|
},
|
|
11827
11827
|
getDateFormatter(e2, t2) {
|
|
11828
11828
|
return new $fb18d541ea1ad717$export$ad991b66133851cf(e2, $35a22f14a1f04b11$export$7e319ea407e63bc0({}, {
|
|
@@ -11942,7 +11942,7 @@ Defaulting to \`null\`.`;
|
|
|
11942
11942
|
e.endName
|
|
11943
11943
|
]),
|
|
11944
11944
|
builtinValidation: J
|
|
11945
|
-
}), $ = Q.displayValidation.isInvalid,
|
|
11945
|
+
}), $ = Q.displayValidation.isInvalid, Fq = e.validationState || ($ ? "invalid" : null);
|
|
11946
11946
|
return {
|
|
11947
11947
|
...Q,
|
|
11948
11948
|
value: c,
|
|
@@ -11988,7 +11988,7 @@ Defaulting to \`null\`.`;
|
|
|
11988
11988
|
end: (w == null ? void 0 : w.end) || $35a22f14a1f04b11$export$c5221a78ef73c5e9(e.placeholderValue)
|
|
11989
11989
|
}), t.setOpen(n2);
|
|
11990
11990
|
},
|
|
11991
|
-
validationState:
|
|
11991
|
+
validationState: Fq,
|
|
11992
11992
|
isInvalid: $,
|
|
11993
11993
|
formatValue(t2, n2) {
|
|
11994
11994
|
if (!c || !c.start || !c.end) return null;
|
|
@@ -15860,33 +15860,33 @@ try {
|
|
|
15860
15860
|
}, f = import_react.createContext(void 0), h = () => import_react.useContext(f) || d, _ = {}, v = {};
|
|
15861
15861
|
function y(e2) {
|
|
15862
15862
|
var _a2, _b, _c, _d;
|
|
15863
|
-
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,
|
|
15863
|
+
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, Fq = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
|
|
15864
15864
|
h2
|
|
15865
|
-
]),
|
|
15866
|
-
|
|
15867
|
-
]),
|
|
15868
|
-
supportedColorSchemes:
|
|
15869
|
-
defaultLightColorScheme:
|
|
15870
|
-
defaultDarkColorScheme:
|
|
15865
|
+
]), Iq = Fq[t], Lq = Iq || Fq, { colorSchemes: Rq = _, components: zq = v, cssVarPrefix: Bq } = Lq, Vq = Object.keys(Rq).filter((e3) => !!Rq[e3]).join(","), Hq = import_react.useMemo(() => Vq.split(","), [
|
|
15866
|
+
Vq
|
|
15867
|
+
]), Uq = typeof s == "string" ? s : s.light, Wq = typeof s == "string" ? s : s.dark, { mode: Gq, setMode: Kq, systemMode: qq, lightColorScheme: Jq, darkColorScheme: Yq, colorScheme: Xq, setColorScheme: Zq } = useCurrentColorScheme({
|
|
15868
|
+
supportedColorSchemes: Hq,
|
|
15869
|
+
defaultLightColorScheme: Uq,
|
|
15870
|
+
defaultDarkColorScheme: Wq,
|
|
15871
15871
|
modeStorageKey: y2,
|
|
15872
15872
|
colorSchemeStorageKey: S2,
|
|
15873
|
-
defaultMode:
|
|
15873
|
+
defaultMode: Rq[Uq] && Rq[Wq] ? U : ((_b = (_a2 = Rq[Lq.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = Lq.palette) == null ? void 0 : _c.mode),
|
|
15874
15874
|
storageManager: E,
|
|
15875
15875
|
storageWindow: O,
|
|
15876
15876
|
noSsr: K
|
|
15877
|
-
}),
|
|
15878
|
-
$ && (
|
|
15879
|
-
let
|
|
15877
|
+
}), Qq = Gq, $q = Xq;
|
|
15878
|
+
$ && (Qq = Q.mode, $q = Q.colorScheme);
|
|
15879
|
+
let eJ = import_react.useMemo(() => {
|
|
15880
15880
|
var _a3;
|
|
15881
|
-
let e3 =
|
|
15882
|
-
...
|
|
15883
|
-
components:
|
|
15884
|
-
colorSchemes:
|
|
15885
|
-
cssVarPrefix:
|
|
15881
|
+
let e3 = $q || Lq.defaultColorScheme, t2 = ((_a3 = Lq.generateThemeVars) == null ? void 0 : _a3.call(Lq)) || Lq.vars, n2 = {
|
|
15882
|
+
...Lq,
|
|
15883
|
+
components: zq,
|
|
15884
|
+
colorSchemes: Rq,
|
|
15885
|
+
cssVarPrefix: Bq,
|
|
15886
15886
|
vars: t2
|
|
15887
15887
|
};
|
|
15888
15888
|
if (typeof n2.generateSpacing == "function" && (n2.spacing = n2.generateSpacing()), e3) {
|
|
15889
|
-
let t3 =
|
|
15889
|
+
let t3 = Rq[e3];
|
|
15890
15890
|
t3 && typeof t3 == "object" && Object.keys(t3).forEach((e4) => {
|
|
15891
15891
|
t3[e4] && typeof t3[e4] == "object" ? n2[e4] = {
|
|
15892
15892
|
...n2[e4],
|
|
@@ -15896,31 +15896,31 @@ try {
|
|
|
15896
15896
|
}
|
|
15897
15897
|
return c ? c(n2) : n2;
|
|
15898
15898
|
}, [
|
|
15899
|
-
|
|
15900
|
-
|
|
15901
|
-
Bq,
|
|
15899
|
+
Lq,
|
|
15900
|
+
$q,
|
|
15902
15901
|
zq,
|
|
15903
|
-
|
|
15904
|
-
|
|
15902
|
+
Rq,
|
|
15903
|
+
Bq
|
|
15904
|
+
]), tJ = Lq.colorSchemeSelector;
|
|
15905
15905
|
useEnhancedEffect_default(() => {
|
|
15906
|
-
if (
|
|
15907
|
-
let e3 =
|
|
15908
|
-
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(...
|
|
15906
|
+
if ($q && M && tJ && tJ !== "media") {
|
|
15907
|
+
let e3 = tJ, t2 = tJ;
|
|
15908
|
+
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(...Hq.map((e4) => t2.substring(1).replace("%s", e4))), M.classList.add(t2.substring(1).replace("%s", $q));
|
|
15909
15909
|
else {
|
|
15910
|
-
let e4 = t2.replace("%s",
|
|
15910
|
+
let e4 = t2.replace("%s", $q).match(/\[([^\]]+)\]/);
|
|
15911
15911
|
if (e4) {
|
|
15912
15912
|
let [t3, n2] = e4[1].split("=");
|
|
15913
|
-
n2 ||
|
|
15914
|
-
M.removeAttribute(t3.replace(
|
|
15913
|
+
n2 || Hq.forEach((e5) => {
|
|
15914
|
+
M.removeAttribute(t3.replace($q, e5));
|
|
15915
15915
|
}), M.setAttribute(t3, n2 ? n2.replace(/"|'/g, "") : "");
|
|
15916
|
-
} else M.setAttribute(t2,
|
|
15916
|
+
} else M.setAttribute(t2, $q);
|
|
15917
15917
|
}
|
|
15918
15918
|
}
|
|
15919
15919
|
}, [
|
|
15920
|
-
|
|
15921
|
-
|
|
15920
|
+
$q,
|
|
15921
|
+
tJ,
|
|
15922
15922
|
M,
|
|
15923
|
-
|
|
15923
|
+
Hq
|
|
15924
15924
|
]), import_react.useEffect(() => {
|
|
15925
15925
|
let e3;
|
|
15926
15926
|
if (w2 && q.current && A) {
|
|
@@ -15933,48 +15933,48 @@ try {
|
|
|
15933
15933
|
clearTimeout(e3);
|
|
15934
15934
|
};
|
|
15935
15935
|
}, [
|
|
15936
|
-
|
|
15936
|
+
$q,
|
|
15937
15937
|
w2,
|
|
15938
15938
|
A
|
|
15939
15939
|
]), import_react.useEffect(() => (q.current = true, () => {
|
|
15940
15940
|
q.current = false;
|
|
15941
15941
|
}), []);
|
|
15942
|
-
let
|
|
15943
|
-
allColorSchemes:
|
|
15944
|
-
colorScheme:
|
|
15945
|
-
darkColorScheme:
|
|
15946
|
-
lightColorScheme:
|
|
15947
|
-
mode:
|
|
15948
|
-
setColorScheme:
|
|
15949
|
-
setMode:
|
|
15950
|
-
systemMode:
|
|
15942
|
+
let nJ = import_react.useMemo(() => ({
|
|
15943
|
+
allColorSchemes: Hq,
|
|
15944
|
+
colorScheme: $q,
|
|
15945
|
+
darkColorScheme: Yq,
|
|
15946
|
+
lightColorScheme: Jq,
|
|
15947
|
+
mode: Qq,
|
|
15948
|
+
setColorScheme: Zq,
|
|
15949
|
+
setMode: Kq,
|
|
15950
|
+
systemMode: qq
|
|
15951
15951
|
}), [
|
|
15952
|
-
|
|
15953
|
-
eJ,
|
|
15954
|
-
Xq,
|
|
15955
|
-
Yq,
|
|
15952
|
+
Hq,
|
|
15956
15953
|
$q,
|
|
15954
|
+
Yq,
|
|
15955
|
+
Jq,
|
|
15957
15956
|
Qq,
|
|
15957
|
+
Zq,
|
|
15958
|
+
Kq,
|
|
15958
15959
|
qq,
|
|
15959
|
-
|
|
15960
|
-
|
|
15961
|
-
|
|
15962
|
-
|
|
15963
|
-
let aJ = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
|
|
15960
|
+
eJ.colorSchemeSelector
|
|
15961
|
+
]), rJ = true;
|
|
15962
|
+
(z || Lq.cssVariables === false || $ && (J == null ? void 0 : J.cssVarPrefix) === Bq) && (rJ = false);
|
|
15963
|
+
let iJ = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
|
|
15964
15964
|
children: [
|
|
15965
15965
|
(0, import_jsx_runtime.jsx)(ThemeProvider_default, {
|
|
15966
|
-
themeId:
|
|
15967
|
-
theme:
|
|
15966
|
+
themeId: Iq ? t : void 0,
|
|
15967
|
+
theme: eJ,
|
|
15968
15968
|
children: d2
|
|
15969
15969
|
}),
|
|
15970
|
-
|
|
15971
|
-
styles: ((_d =
|
|
15970
|
+
rJ && (0, import_jsx_runtime.jsx)(GlobalStyles$1, {
|
|
15971
|
+
styles: ((_d = eJ.generateStyleSheets) == null ? void 0 : _d.call(eJ)) || []
|
|
15972
15972
|
})
|
|
15973
15973
|
]
|
|
15974
15974
|
});
|
|
15975
|
-
return $ ?
|
|
15976
|
-
value:
|
|
15977
|
-
children:
|
|
15975
|
+
return $ ? iJ : (0, import_jsx_runtime.jsx)(f.Provider, {
|
|
15976
|
+
value: nJ,
|
|
15977
|
+
children: iJ
|
|
15978
15978
|
});
|
|
15979
15979
|
}
|
|
15980
15980
|
let S = typeof s == "string" ? s : s.light, w = typeof s == "string" ? s : s.dark;
|
|
@@ -17474,10 +17474,10 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
17474
17474
|
let n = useDefaultProps({
|
|
17475
17475
|
props: e,
|
|
17476
17476
|
name: "MuiInputBase"
|
|
17477
|
-
}), { "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:
|
|
17478
|
-
}, []),
|
|
17477
|
+
}), { "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: Fq, onKeyDown: Iq, onKeyUp: Lq, placeholder: Rq, readOnly: zq, renderSuffix: Bq, rows: Vq, size: Hq, slotProps: Uq = {}, slots: Wq = {}, startAdornment: Gq, type: Kq = "text", value: qq, ...Jq } = n, Yq = A.value == null ? qq : A.value, { current: Xq } = import_react.useRef(Yq != null), Zq = import_react.useRef(), Qq = import_react.useCallback((e2) => {
|
|
17478
|
+
}, []), $q = useForkRef_default(Zq, M, A.ref, Qq), [eJ, tJ] = import_react.useState(false), nJ = useFormControl(), rJ = formControlState({
|
|
17479
17479
|
props: n,
|
|
17480
|
-
muiFormControl:
|
|
17480
|
+
muiFormControl: nJ,
|
|
17481
17481
|
states: [
|
|
17482
17482
|
"color",
|
|
17483
17483
|
"disabled",
|
|
@@ -17488,145 +17488,145 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
17488
17488
|
"filled"
|
|
17489
17489
|
]
|
|
17490
17490
|
});
|
|
17491
|
-
|
|
17492
|
-
!
|
|
17491
|
+
rJ.focused = nJ ? nJ.focused : eJ, import_react.useEffect(() => {
|
|
17492
|
+
!nJ && _ && eJ && (tJ(false), J && J());
|
|
17493
17493
|
}, [
|
|
17494
|
-
|
|
17494
|
+
nJ,
|
|
17495
17495
|
_,
|
|
17496
|
-
|
|
17496
|
+
eJ,
|
|
17497
17497
|
J
|
|
17498
17498
|
]);
|
|
17499
|
-
let
|
|
17500
|
-
isFilled(e2) ?
|
|
17499
|
+
let iJ = nJ && nJ.onFilled, aJ = nJ && nJ.onEmpty, oJ = import_react.useCallback((e2) => {
|
|
17500
|
+
isFilled(e2) ? iJ && iJ() : aJ && aJ();
|
|
17501
17501
|
}, [
|
|
17502
|
-
|
|
17503
|
-
|
|
17502
|
+
iJ,
|
|
17503
|
+
aJ
|
|
17504
17504
|
]);
|
|
17505
17505
|
useEnhancedEffect_default$1(() => {
|
|
17506
|
-
|
|
17507
|
-
value:
|
|
17506
|
+
Xq && oJ({
|
|
17507
|
+
value: Yq
|
|
17508
17508
|
});
|
|
17509
17509
|
}, [
|
|
17510
|
-
|
|
17511
|
-
|
|
17512
|
-
|
|
17510
|
+
Yq,
|
|
17511
|
+
oJ,
|
|
17512
|
+
Xq
|
|
17513
17513
|
]);
|
|
17514
|
-
let
|
|
17515
|
-
|
|
17516
|
-
},
|
|
17517
|
-
J && J(e2), A.onBlur && A.onBlur(e2),
|
|
17518
|
-
},
|
|
17519
|
-
if (!
|
|
17520
|
-
let t3 = e2.target ||
|
|
17514
|
+
let sJ = (e2) => {
|
|
17515
|
+
Fq && Fq(e2), A.onFocus && A.onFocus(e2), nJ && nJ.onFocus ? nJ.onFocus(e2) : tJ(true);
|
|
17516
|
+
}, cJ = (e2) => {
|
|
17517
|
+
J && J(e2), A.onBlur && A.onBlur(e2), nJ && nJ.onBlur ? nJ.onBlur(e2) : tJ(false);
|
|
17518
|
+
}, lJ = (e2, ...t2) => {
|
|
17519
|
+
if (!Xq) {
|
|
17520
|
+
let t3 = e2.target || Zq.current;
|
|
17521
17521
|
if (t3 == null) throw Error(formatMuiErrorMessage(1));
|
|
17522
|
-
|
|
17522
|
+
oJ({
|
|
17523
17523
|
value: t3.value
|
|
17524
17524
|
});
|
|
17525
17525
|
}
|
|
17526
17526
|
A.onChange && A.onChange(e2, ...t2), Q && Q(e2, ...t2);
|
|
17527
17527
|
};
|
|
17528
17528
|
import_react.useEffect(() => {
|
|
17529
|
-
|
|
17529
|
+
oJ(Zq.current);
|
|
17530
17530
|
}, []);
|
|
17531
|
-
let
|
|
17532
|
-
|
|
17533
|
-
},
|
|
17534
|
-
K &&
|
|
17531
|
+
let uJ = (e2) => {
|
|
17532
|
+
Zq.current && e2.currentTarget === e2.target && Zq.current.focus(), $ && $(e2);
|
|
17533
|
+
}, dJ = O, fJ = A;
|
|
17534
|
+
K && dJ === "input" && (fJ = Vq ? {
|
|
17535
17535
|
type: void 0,
|
|
17536
|
-
minRows:
|
|
17537
|
-
maxRows:
|
|
17538
|
-
...
|
|
17536
|
+
minRows: Vq,
|
|
17537
|
+
maxRows: Vq,
|
|
17538
|
+
...fJ
|
|
17539
17539
|
} : {
|
|
17540
17540
|
type: void 0,
|
|
17541
17541
|
maxRows: z,
|
|
17542
17542
|
minRows: U,
|
|
17543
|
-
...
|
|
17544
|
-
},
|
|
17545
|
-
let
|
|
17546
|
-
|
|
17543
|
+
...fJ
|
|
17544
|
+
}, dJ = TextareaAutosize_default);
|
|
17545
|
+
let pJ = (e2) => {
|
|
17546
|
+
oJ(e2.animationName === "mui-auto-fill-cancel" ? Zq.current : {
|
|
17547
17547
|
value: "x"
|
|
17548
17548
|
});
|
|
17549
17549
|
};
|
|
17550
17550
|
import_react.useEffect(() => {
|
|
17551
|
-
|
|
17551
|
+
nJ && nJ.setAdornedStart(!!Gq);
|
|
17552
17552
|
}, [
|
|
17553
|
-
|
|
17554
|
-
|
|
17553
|
+
nJ,
|
|
17554
|
+
Gq
|
|
17555
17555
|
]);
|
|
17556
|
-
let
|
|
17556
|
+
let mJ = {
|
|
17557
17557
|
...n,
|
|
17558
|
-
color:
|
|
17559
|
-
disabled:
|
|
17558
|
+
color: rJ.color || "primary",
|
|
17559
|
+
disabled: rJ.disabled,
|
|
17560
17560
|
endAdornment: y,
|
|
17561
|
-
error:
|
|
17562
|
-
focused:
|
|
17563
|
-
formControl:
|
|
17561
|
+
error: rJ.error,
|
|
17562
|
+
focused: rJ.focused,
|
|
17563
|
+
formControl: nJ,
|
|
17564
17564
|
fullWidth: w,
|
|
17565
|
-
hiddenLabel:
|
|
17565
|
+
hiddenLabel: rJ.hiddenLabel,
|
|
17566
17566
|
multiline: K,
|
|
17567
|
-
size:
|
|
17568
|
-
startAdornment:
|
|
17569
|
-
type:
|
|
17570
|
-
},
|
|
17571
|
-
return
|
|
17572
|
-
...
|
|
17573
|
-
...
|
|
17567
|
+
size: rJ.size,
|
|
17568
|
+
startAdornment: Gq,
|
|
17569
|
+
type: Kq
|
|
17570
|
+
}, hJ = useUtilityClasses(mJ), gJ = Wq.root || d.Root || InputBaseRoot, _J = Uq.root || f.root || {}, vJ = Wq.input || d.Input || InputBaseInput;
|
|
17571
|
+
return fJ = {
|
|
17572
|
+
...fJ,
|
|
17573
|
+
...Uq.input ?? f.input
|
|
17574
17574
|
}, (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
|
|
17575
17575
|
children: [
|
|
17576
17576
|
!v && typeof InputGlobalStyles == "function" && (_InputGlobalStyles || (_InputGlobalStyles = (0, import_jsx_runtime.jsx)(InputGlobalStyles, {}))),
|
|
17577
|
-
(0, import_jsx_runtime.jsxs)(
|
|
17578
|
-
...
|
|
17577
|
+
(0, import_jsx_runtime.jsxs)(gJ, {
|
|
17578
|
+
..._J,
|
|
17579
17579
|
ref: t,
|
|
17580
|
-
onClick:
|
|
17581
|
-
...
|
|
17582
|
-
...!isHostComponent_default(
|
|
17580
|
+
onClick: uJ,
|
|
17581
|
+
...Jq,
|
|
17582
|
+
...!isHostComponent_default(gJ) && {
|
|
17583
17583
|
ownerState: {
|
|
17584
|
-
...
|
|
17585
|
-
...
|
|
17584
|
+
...mJ,
|
|
17585
|
+
..._J.ownerState
|
|
17586
17586
|
}
|
|
17587
17587
|
},
|
|
17588
|
-
className: clsx_default(
|
|
17588
|
+
className: clsx_default(hJ.root, _J.className, s, zq && "MuiInputBase-readOnly"),
|
|
17589
17589
|
children: [
|
|
17590
|
-
|
|
17590
|
+
Gq,
|
|
17591
17591
|
(0, import_jsx_runtime.jsx)(FormControlContext_default.Provider, {
|
|
17592
17592
|
value: null,
|
|
17593
|
-
children: (0, import_jsx_runtime.jsx)(
|
|
17594
|
-
"aria-invalid":
|
|
17593
|
+
children: (0, import_jsx_runtime.jsx)(vJ, {
|
|
17594
|
+
"aria-invalid": rJ.error,
|
|
17595
17595
|
"aria-describedby": i,
|
|
17596
17596
|
autoComplete: a,
|
|
17597
17597
|
autoFocus: o,
|
|
17598
17598
|
defaultValue: h,
|
|
17599
|
-
disabled:
|
|
17599
|
+
disabled: rJ.disabled,
|
|
17600
17600
|
id: E,
|
|
17601
|
-
onAnimationStart:
|
|
17601
|
+
onAnimationStart: pJ,
|
|
17602
17602
|
name: q,
|
|
17603
|
-
placeholder:
|
|
17604
|
-
readOnly:
|
|
17605
|
-
required:
|
|
17606
|
-
rows:
|
|
17607
|
-
value:
|
|
17608
|
-
onKeyDown:
|
|
17609
|
-
onKeyUp:
|
|
17610
|
-
type:
|
|
17611
|
-
...
|
|
17612
|
-
...!isHostComponent_default(
|
|
17613
|
-
as:
|
|
17603
|
+
placeholder: Rq,
|
|
17604
|
+
readOnly: zq,
|
|
17605
|
+
required: rJ.required,
|
|
17606
|
+
rows: Vq,
|
|
17607
|
+
value: Yq,
|
|
17608
|
+
onKeyDown: Iq,
|
|
17609
|
+
onKeyUp: Lq,
|
|
17610
|
+
type: Kq,
|
|
17611
|
+
...fJ,
|
|
17612
|
+
...!isHostComponent_default(vJ) && {
|
|
17613
|
+
as: dJ,
|
|
17614
17614
|
ownerState: {
|
|
17615
|
-
...
|
|
17616
|
-
...
|
|
17615
|
+
...mJ,
|
|
17616
|
+
...fJ.ownerState
|
|
17617
17617
|
}
|
|
17618
17618
|
},
|
|
17619
|
-
ref:
|
|
17620
|
-
className: clsx_default(
|
|
17621
|
-
onBlur:
|
|
17622
|
-
onChange:
|
|
17623
|
-
onFocus:
|
|
17619
|
+
ref: $q,
|
|
17620
|
+
className: clsx_default(hJ.input, fJ.className, zq && "MuiInputBase-readOnly"),
|
|
17621
|
+
onBlur: cJ,
|
|
17622
|
+
onChange: lJ,
|
|
17623
|
+
onFocus: sJ
|
|
17624
17624
|
})
|
|
17625
17625
|
}),
|
|
17626
17626
|
y,
|
|
17627
|
-
|
|
17628
|
-
...
|
|
17629
|
-
startAdornment:
|
|
17627
|
+
Bq ? Bq({
|
|
17628
|
+
...rJ,
|
|
17629
|
+
startAdornment: Gq
|
|
17630
17630
|
}) : null
|
|
17631
17631
|
]
|
|
17632
17632
|
})
|
|
@@ -18702,30 +18702,30 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18702
18702
|
M,
|
|
18703
18703
|
i,
|
|
18704
18704
|
a
|
|
18705
|
-
]), 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),
|
|
18706
|
-
|
|
18705
|
+
]), 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), Fq = useTextColor(), Iq = useJsonViewerStore((e2) => e2.colorspace.base0C), Lq = useJsonViewerStore((e2) => e2.colorspace.base0A), Rq = useJsonViewerStore((e2) => e2.displayComma), zq = useJsonViewerStore((e2) => e2.quotesOnKeys), Bq = useJsonViewerStore((e2) => e2.rootName), Vq = U === t, Hq = Number.isInteger(Number(A)), Uq = useJsonViewerStore((e2) => e2.enableAdd), Wq = useJsonViewerStore((e2) => e2.onAdd), Gq = (0, import_react.useMemo)(() => !Wq || a !== void 0 || Uq === false || v === false ? false : typeof Uq == "function" ? !!Uq(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
|
|
18706
|
+
Wq,
|
|
18707
18707
|
a,
|
|
18708
18708
|
i,
|
|
18709
|
-
|
|
18709
|
+
Uq,
|
|
18710
18710
|
v,
|
|
18711
18711
|
t
|
|
18712
|
-
]),
|
|
18713
|
-
|
|
18712
|
+
]), Kq = useJsonViewerStore((e2) => e2.enableDelete), qq = useJsonViewerStore((e2) => e2.onDelete), Jq = (0, import_react.useMemo)(() => !qq || a !== void 0 || Vq || Kq === false || v === false ? false : typeof Kq == "function" ? !!Kq(i, t) : Kq, [
|
|
18713
|
+
qq,
|
|
18714
18714
|
a,
|
|
18715
|
-
|
|
18715
|
+
Vq,
|
|
18716
18716
|
i,
|
|
18717
|
-
|
|
18717
|
+
Kq,
|
|
18718
18718
|
v,
|
|
18719
18719
|
t
|
|
18720
|
-
]),
|
|
18721
|
-
|
|
18720
|
+
]), Yq = useJsonViewerStore((e2) => e2.enableClipboard), { copy: Xq, copied: Zq } = useClipboard(), Qq = useJsonViewerStore((e2) => e2.highlightUpdates), $q = (0, import_react.useMemo)(() => !Qq || 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, [
|
|
18721
|
+
Qq,
|
|
18722
18722
|
n,
|
|
18723
18723
|
t
|
|
18724
|
-
]),
|
|
18724
|
+
]), eJ = (0, import_react.useRef)();
|
|
18725
18725
|
(0, import_react.useEffect)(() => {
|
|
18726
|
-
|
|
18726
|
+
eJ.current && $q && "animate" in eJ.current && eJ.current.animate([
|
|
18727
18727
|
{
|
|
18728
|
-
backgroundColor:
|
|
18728
|
+
backgroundColor: Lq
|
|
18729
18729
|
},
|
|
18730
18730
|
{
|
|
18731
18731
|
backgroundColor: ""
|
|
@@ -18735,22 +18735,22 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18735
18735
|
easing: "ease-in"
|
|
18736
18736
|
});
|
|
18737
18737
|
}, [
|
|
18738
|
-
|
|
18739
|
-
|
|
18738
|
+
Lq,
|
|
18739
|
+
$q,
|
|
18740
18740
|
n,
|
|
18741
18741
|
t
|
|
18742
18742
|
]);
|
|
18743
|
-
let
|
|
18743
|
+
let tJ = (0, import_react.useCallback)((e2) => {
|
|
18744
18744
|
e2.preventDefault(), h && E(h(t)), Q(true);
|
|
18745
18745
|
}, [
|
|
18746
18746
|
h,
|
|
18747
18747
|
t
|
|
18748
|
-
]),
|
|
18748
|
+
]), nJ = (0, import_react.useCallback)(() => {
|
|
18749
18749
|
Q(false), E("");
|
|
18750
18750
|
}, [
|
|
18751
18751
|
Q,
|
|
18752
18752
|
E
|
|
18753
|
-
]),
|
|
18753
|
+
]), rJ = (0, import_react.useCallback)((e2) => {
|
|
18754
18754
|
if (Q(false), _) try {
|
|
18755
18755
|
$(i, t, _(e2));
|
|
18756
18756
|
} catch {
|
|
@@ -18761,14 +18761,14 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18761
18761
|
$,
|
|
18762
18762
|
i,
|
|
18763
18763
|
t
|
|
18764
|
-
]),
|
|
18764
|
+
]), iJ = (0, import_react.useMemo)(() => J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
18765
18765
|
children: [
|
|
18766
18766
|
(0, import_jsx_runtime.jsx)(IconBox, {
|
|
18767
18767
|
children: (0, import_jsx_runtime.jsx)(CloseIcon, {
|
|
18768
18768
|
sx: {
|
|
18769
18769
|
fontSize: ".8rem"
|
|
18770
18770
|
},
|
|
18771
|
-
onClick:
|
|
18771
|
+
onClick: nJ
|
|
18772
18772
|
})
|
|
18773
18773
|
}),
|
|
18774
18774
|
(0, import_jsx_runtime.jsx)(IconBox, {
|
|
@@ -18776,22 +18776,22 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18776
18776
|
sx: {
|
|
18777
18777
|
fontSize: ".8rem"
|
|
18778
18778
|
},
|
|
18779
|
-
onClick: () =>
|
|
18779
|
+
onClick: () => rJ(w)
|
|
18780
18780
|
})
|
|
18781
18781
|
})
|
|
18782
18782
|
]
|
|
18783
18783
|
}) : (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
18784
18784
|
children: [
|
|
18785
|
-
|
|
18785
|
+
Yq && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
18786
18786
|
onClick: (e2) => {
|
|
18787
18787
|
e2.preventDefault();
|
|
18788
18788
|
try {
|
|
18789
|
-
|
|
18789
|
+
Xq(i, t, copyString);
|
|
18790
18790
|
} catch (e3) {
|
|
18791
18791
|
console.error(e3);
|
|
18792
18792
|
}
|
|
18793
18793
|
},
|
|
18794
|
-
children:
|
|
18794
|
+
children: Zq ? (0, import_jsx_runtime.jsx)(CheckIcon$1, {
|
|
18795
18795
|
sx: {
|
|
18796
18796
|
fontSize: ".8rem"
|
|
18797
18797
|
}
|
|
@@ -18802,16 +18802,16 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18802
18802
|
})
|
|
18803
18803
|
}),
|
|
18804
18804
|
f && S && h && _ && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
18805
|
-
onClick:
|
|
18805
|
+
onClick: tJ,
|
|
18806
18806
|
children: (0, import_jsx_runtime.jsx)(EditIcon, {
|
|
18807
18807
|
sx: {
|
|
18808
18808
|
fontSize: ".8rem"
|
|
18809
18809
|
}
|
|
18810
18810
|
})
|
|
18811
18811
|
}),
|
|
18812
|
-
|
|
18812
|
+
Gq && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
18813
18813
|
onClick: (e2) => {
|
|
18814
|
-
e2.preventDefault(),
|
|
18814
|
+
e2.preventDefault(), Wq == null ? void 0 : Wq(i);
|
|
18815
18815
|
},
|
|
18816
18816
|
children: (0, import_jsx_runtime.jsx)(AddBoxIcon, {
|
|
18817
18817
|
sx: {
|
|
@@ -18819,9 +18819,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18819
18819
|
}
|
|
18820
18820
|
})
|
|
18821
18821
|
}),
|
|
18822
|
-
|
|
18822
|
+
Jq && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
18823
18823
|
onClick: (e2) => {
|
|
18824
|
-
e2.preventDefault(),
|
|
18824
|
+
e2.preventDefault(), qq == null ? void 0 : qq(i, t);
|
|
18825
18825
|
},
|
|
18826
18826
|
children: (0, import_jsx_runtime.jsx)(DeleteIcon, {
|
|
18827
18827
|
sx: {
|
|
@@ -18834,24 +18834,24 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18834
18834
|
f,
|
|
18835
18835
|
h,
|
|
18836
18836
|
_,
|
|
18837
|
-
Qq,
|
|
18838
18837
|
Zq,
|
|
18838
|
+
Xq,
|
|
18839
18839
|
S,
|
|
18840
18840
|
J,
|
|
18841
|
-
Xq,
|
|
18842
|
-
Kq,
|
|
18843
18841
|
Yq,
|
|
18842
|
+
Gq,
|
|
18843
|
+
Jq,
|
|
18844
18844
|
w,
|
|
18845
18845
|
i,
|
|
18846
18846
|
t,
|
|
18847
|
-
|
|
18848
|
-
|
|
18847
|
+
Wq,
|
|
18848
|
+
qq,
|
|
18849
|
+
tJ,
|
|
18849
18850
|
nJ,
|
|
18850
|
-
rJ
|
|
18851
|
-
|
|
18852
|
-
]), oJ = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
|
|
18851
|
+
rJ
|
|
18852
|
+
]), aJ = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
|
|
18853
18853
|
t
|
|
18854
|
-
]),
|
|
18854
|
+
]), oJ = !aJ && !!(c && d), sJ = useJsonViewerStore((e2) => e2.keyRenderer), cJ = (0, import_react.useMemo)(() => ({
|
|
18855
18855
|
path: i,
|
|
18856
18856
|
inspect: K,
|
|
18857
18857
|
setInspect: q,
|
|
@@ -18883,18 +18883,18 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18883
18883
|
className: "data-key",
|
|
18884
18884
|
sx: {
|
|
18885
18885
|
lineHeight: 1.5,
|
|
18886
|
-
color:
|
|
18886
|
+
color: Fq,
|
|
18887
18887
|
letterSpacing: 0.5,
|
|
18888
18888
|
opacity: 0.8
|
|
18889
18889
|
},
|
|
18890
18890
|
onClick: (0, import_react.useCallback)((e2) => {
|
|
18891
|
-
e2.isDefaultPrevented() ||
|
|
18891
|
+
e2.isDefaultPrevented() || aJ || q((e3) => !e3);
|
|
18892
18892
|
}, [
|
|
18893
|
-
|
|
18893
|
+
aJ,
|
|
18894
18894
|
q
|
|
18895
18895
|
]),
|
|
18896
18896
|
children: [
|
|
18897
|
-
|
|
18897
|
+
oJ ? K ? (0, import_jsx_runtime.jsx)(ExpandMoreIcon, {
|
|
18898
18898
|
className: "data-key-toggle-expanded",
|
|
18899
18899
|
sx: {
|
|
18900
18900
|
fontSize: ".8rem",
|
|
@@ -18912,27 +18912,27 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18912
18912
|
}
|
|
18913
18913
|
}) : null,
|
|
18914
18914
|
(0, import_jsx_runtime.jsx)(Box_default, {
|
|
18915
|
-
ref:
|
|
18915
|
+
ref: eJ,
|
|
18916
18916
|
className: "data-key-key",
|
|
18917
18917
|
component: "span",
|
|
18918
|
-
children:
|
|
18918
|
+
children: Vq && O === 0 ? Bq === false ? null : zq ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
18919
18919
|
children: [
|
|
18920
18920
|
'"',
|
|
18921
|
-
|
|
18921
|
+
Bq,
|
|
18922
18922
|
'"'
|
|
18923
18923
|
]
|
|
18924
18924
|
}) : (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
|
|
18925
|
-
children:
|
|
18926
|
-
}) :
|
|
18927
|
-
...
|
|
18928
|
-
}) : a === void 0 && (
|
|
18925
|
+
children: Bq
|
|
18926
|
+
}) : sJ.when(cJ) ? (0, import_jsx_runtime.jsx)(sJ, {
|
|
18927
|
+
...cJ
|
|
18928
|
+
}) : a === void 0 && (Hq ? (0, import_jsx_runtime.jsx)(Box_default, {
|
|
18929
18929
|
component: "span",
|
|
18930
18930
|
style: {
|
|
18931
|
-
color:
|
|
18932
|
-
userSelect:
|
|
18931
|
+
color: Iq,
|
|
18932
|
+
userSelect: Hq ? "none" : "auto"
|
|
18933
18933
|
},
|
|
18934
18934
|
children: A
|
|
18935
|
-
}) :
|
|
18935
|
+
}) : zq ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
18936
18936
|
children: [
|
|
18937
18937
|
'"',
|
|
18938
18938
|
A,
|
|
@@ -18942,7 +18942,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18942
18942
|
children: A
|
|
18943
18943
|
}))
|
|
18944
18944
|
}),
|
|
18945
|
-
|
|
18945
|
+
Vq ? Bq !== false && (0, import_jsx_runtime.jsx)(DataBox, {
|
|
18946
18946
|
className: "data-key-colon",
|
|
18947
18947
|
sx: {
|
|
18948
18948
|
mr: 0.5
|
|
@@ -18955,38 +18955,38 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18955
18955
|
".data-key-key:empty + &": {
|
|
18956
18956
|
display: "none"
|
|
18957
18957
|
},
|
|
18958
|
-
userSelect:
|
|
18958
|
+
userSelect: Hq ? "none" : "auto"
|
|
18959
18959
|
},
|
|
18960
18960
|
children: ":"
|
|
18961
18961
|
}),
|
|
18962
18962
|
c && (0, import_jsx_runtime.jsx)(c, {
|
|
18963
|
-
...
|
|
18963
|
+
...cJ
|
|
18964
18964
|
}),
|
|
18965
|
-
I &&
|
|
18965
|
+
I && oJ && K && iJ
|
|
18966
18966
|
]
|
|
18967
18967
|
}),
|
|
18968
18968
|
J && S ? f && (0, import_jsx_runtime.jsx)(f, {
|
|
18969
18969
|
path: i,
|
|
18970
18970
|
value: w,
|
|
18971
18971
|
setValue: E,
|
|
18972
|
-
abortEditing:
|
|
18973
|
-
commitEditing:
|
|
18972
|
+
abortEditing: nJ,
|
|
18973
|
+
commitEditing: rJ
|
|
18974
18974
|
}) : s ? (0, import_jsx_runtime.jsx)(s, {
|
|
18975
|
-
...
|
|
18975
|
+
...cJ
|
|
18976
18976
|
}) : (0, import_jsx_runtime.jsx)(Box_default, {
|
|
18977
18977
|
component: "span",
|
|
18978
18978
|
className: "data-value-fallback",
|
|
18979
18979
|
children: `fallback: ${t}`
|
|
18980
18980
|
}),
|
|
18981
18981
|
d && (0, import_jsx_runtime.jsx)(d, {
|
|
18982
|
-
...
|
|
18982
|
+
...cJ
|
|
18983
18983
|
}),
|
|
18984
|
-
!o &&
|
|
18984
|
+
!o && Rq && (0, import_jsx_runtime.jsx)(DataBox, {
|
|
18985
18985
|
children: ","
|
|
18986
18986
|
}),
|
|
18987
|
-
I &&
|
|
18988
|
-
I && !
|
|
18989
|
-
!I && J &&
|
|
18987
|
+
I && oJ && !K && iJ,
|
|
18988
|
+
I && !oJ && iJ,
|
|
18989
|
+
!I && J && iJ
|
|
18990
18990
|
]
|
|
18991
18991
|
});
|
|
18992
18992
|
}, query = "(prefers-color-scheme: dark)";
|
|
@@ -19138,18 +19138,19 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
19138
19138
|
HtmlOutput.displayName = "HtmlOutput";
|
|
19139
19139
|
var import_compiler_runtime$63 = require_compiler_runtime();
|
|
19140
19140
|
const ImageOutput = (e) => {
|
|
19141
|
-
let t = (0, import_compiler_runtime$63.c)(
|
|
19142
|
-
t[0] !==
|
|
19141
|
+
let t = (0, import_compiler_runtime$63.c)(10), { src: n, alt: i, width: a, height: o, className: s } = e, c = i === void 0 ? "" : i, d;
|
|
19142
|
+
t[0] !== o || t[1] !== a ? (d = {}, a !== void 0 && (d.width = typeof a == "number" ? `${a}px` : a), o !== void 0 && (d.height = typeof o == "number" ? `${o}px` : o), t[0] = o, t[1] = a, t[2] = d) : d = t[2];
|
|
19143
|
+
let f;
|
|
19144
|
+
t[3] !== c || t[4] !== n || t[5] !== d ? (f = (0, import_jsx_runtime.jsx)("img", {
|
|
19143
19145
|
src: n,
|
|
19144
19146
|
alt: c,
|
|
19145
|
-
|
|
19146
|
-
|
|
19147
|
-
|
|
19148
|
-
|
|
19149
|
-
return t[5] !== s || t[6] !== d ? (f = (0, import_jsx_runtime.jsx)("span", {
|
|
19147
|
+
style: d
|
|
19148
|
+
}), t[3] = c, t[4] = n, t[5] = d, t[6] = f) : f = t[6];
|
|
19149
|
+
let h;
|
|
19150
|
+
return t[7] !== s || t[8] !== f ? (h = (0, import_jsx_runtime.jsx)("span", {
|
|
19150
19151
|
className: s,
|
|
19151
|
-
children:
|
|
19152
|
-
}), t[
|
|
19152
|
+
children: f
|
|
19153
|
+
}), t[7] = s, t[8] = f, t[9] = h) : h = t[9], h;
|
|
19153
19154
|
};
|
|
19154
19155
|
var import_compiler_runtime$62 = require_compiler_runtime();
|
|
19155
19156
|
Kbd = (e) => {
|
|
@@ -19934,18 +19935,18 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19934
19935
|
}
|
|
19935
19936
|
let y, S, w, E, O, A;
|
|
19936
19937
|
if (t[2] !== f || t[3] !== i || t[4] !== s || t[5] !== o || t[6] !== n || t[7] !== c || t[8] !== v || t[9] !== _ || t[10] !== d) {
|
|
19937
|
-
let e2 = n.filter(_temp8), M2 = n.filter(_temp9), I2 = n.filter(_temp0), z = n.filter(_temp1), U = n.filter(_temp10), K = n.filter(_temp11), q = n.filter(_temp12), J = n.filter(_temp13), Q = n.filter(_temp14), $ = n.filter(_temp15),
|
|
19938
|
-
t[17] === s ?
|
|
19938
|
+
let e2 = n.filter(_temp8), M2 = n.filter(_temp9), I2 = n.filter(_temp0), z = n.filter(_temp1), U = n.filter(_temp10), K = n.filter(_temp11), q = n.filter(_temp12), J = n.filter(_temp13), Q = n.filter(_temp14), $ = n.filter(_temp15), Fq = n.filter(_temp16), Iq = n.filter(_temp17), Lq = n.filter(_temp18), Rq;
|
|
19939
|
+
t[17] === s ? Rq = t[18] : (Rq = () => {
|
|
19939
19940
|
s.openApplication("scratchpad");
|
|
19940
|
-
}, t[17] = s, t[18] =
|
|
19941
|
-
let
|
|
19941
|
+
}, t[17] = s, t[18] = Rq);
|
|
19942
|
+
let zq = Rq, Vq = () => {
|
|
19942
19943
|
let t2 = [];
|
|
19943
|
-
if (
|
|
19944
|
-
let e3 =
|
|
19944
|
+
if (Fq.length > 0 || Iq.length > 0) {
|
|
19945
|
+
let e3 = Fq.some(_temp19), n2 = !e3 && Fq.some(_temp20);
|
|
19945
19946
|
t2.push((0, import_jsx_runtime.jsxs)("div", {
|
|
19946
19947
|
children: [
|
|
19947
|
-
|
|
19948
|
-
|
|
19948
|
+
Fq.map(_temp21),
|
|
19949
|
+
Iq.map(_temp22),
|
|
19949
19950
|
e3 && (0, import_jsx_runtime.jsxs)(Button, {
|
|
19950
19951
|
size: "xs",
|
|
19951
19952
|
variant: "outline",
|
|
@@ -19976,8 +19977,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19976
19977
|
}),
|
|
19977
19978
|
i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
|
|
19978
19979
|
errors: [
|
|
19979
|
-
...
|
|
19980
|
-
...
|
|
19980
|
+
...Fq,
|
|
19981
|
+
...Iq
|
|
19981
19982
|
],
|
|
19982
19983
|
cellId: i
|
|
19983
19984
|
})
|
|
@@ -20138,7 +20139,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20138
20139
|
size: "xs",
|
|
20139
20140
|
variant: "link",
|
|
20140
20141
|
className: "my-2 font-normal mx-0 px-0",
|
|
20141
|
-
onClick:
|
|
20142
|
+
onClick: zq,
|
|
20142
20143
|
children: [
|
|
20143
20144
|
(0, import_jsx_runtime.jsx)(NotebookPen, {
|
|
20144
20145
|
className: "h-3"
|
|
@@ -20337,18 +20338,18 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20337
20338
|
cellId: i
|
|
20338
20339
|
})
|
|
20339
20340
|
]
|
|
20340
|
-
}, "ancestor-stopped")),
|
|
20341
|
+
}, "ancestor-stopped")), Lq.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
|
|
20341
20342
|
children: [
|
|
20342
|
-
|
|
20343
|
+
Lq.map(_temp35),
|
|
20343
20344
|
i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
|
|
20344
|
-
errors:
|
|
20345
|
+
errors: Lq,
|
|
20345
20346
|
cellId: i,
|
|
20346
20347
|
className: "mt-2.5"
|
|
20347
20348
|
})
|
|
20348
20349
|
]
|
|
20349
20350
|
}, "sql-errors")), t2;
|
|
20350
|
-
},
|
|
20351
|
-
t[19] === v ?
|
|
20351
|
+
}, Hq;
|
|
20352
|
+
t[19] === v ? Hq = t[20] : (Hq = v && (0, import_jsx_runtime.jsxs)("div", {
|
|
20352
20353
|
className: "flex items-center gap-1 font-code text-[0.6875rem] uppercase tracking-wider text-muted-foreground/70",
|
|
20353
20354
|
children: [
|
|
20354
20355
|
v,
|
|
@@ -20360,22 +20361,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20360
20361
|
})
|
|
20361
20362
|
})
|
|
20362
20363
|
]
|
|
20363
|
-
}), t[19] = v, t[20] =
|
|
20364
|
-
let
|
|
20365
|
-
t[21] !== _ || t[22] !== d ? (
|
|
20364
|
+
}), t[19] = v, t[20] = Hq);
|
|
20365
|
+
let Uq;
|
|
20366
|
+
t[21] !== _ || t[22] !== d ? (Uq = d && (0, import_jsx_runtime.jsx)(AlertTitle, {
|
|
20366
20367
|
className: `font-code font-medium ${_}`,
|
|
20367
20368
|
children: d
|
|
20368
|
-
}), t[21] = _, t[22] = d, t[23] =
|
|
20369
|
-
let
|
|
20370
|
-
t[24] !==
|
|
20369
|
+
}), t[21] = _, t[22] = d, t[23] = Uq) : Uq = t[23];
|
|
20370
|
+
let Wq;
|
|
20371
|
+
t[24] !== Hq || t[25] !== Uq ? (Wq = (0, import_jsx_runtime.jsxs)("div", {
|
|
20371
20372
|
className: "space-y-0.5",
|
|
20372
20373
|
children: [
|
|
20373
|
-
|
|
20374
|
-
|
|
20374
|
+
Hq,
|
|
20375
|
+
Uq
|
|
20375
20376
|
]
|
|
20376
|
-
}), t[24] =
|
|
20377
|
-
let
|
|
20378
|
-
y = Alert, E = f, t[27] === o ? O = t[28] : (O = cn("border-none font-code text-sm text-[0.84375rem] p-0 text-muted-foreground normal has-[svg]:pl-0 space-y-2", o), t[27] = o, t[28] = O), A =
|
|
20377
|
+
}), t[24] = Hq, t[25] = Uq, t[26] = Wq) : Wq = t[26];
|
|
20378
|
+
let Gq = Wq;
|
|
20379
|
+
y = Alert, E = f, t[27] === o ? O = t[28] : (O = cn("border-none font-code text-sm text-[0.84375rem] p-0 text-muted-foreground normal has-[svg]:pl-0 space-y-2", o), t[27] = o, t[28] = O), A = Gq, S = "flex flex-col gap-4", w = Vq(), t[2] = f, t[3] = i, t[4] = s, t[5] = o, 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] = O, t[16] = A;
|
|
20379
20380
|
} else y = t[11], S = t[12], w = t[13], E = t[14], O = t[15], A = t[16];
|
|
20380
20381
|
let M;
|
|
20381
20382
|
t[29] !== S || t[30] !== w ? (M = (0, import_jsx_runtime.jsx)("div", {
|
|
@@ -21225,6 +21226,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
21225
21226
|
is_null: "Is null",
|
|
21226
21227
|
is_not_null: "Is not null"
|
|
21227
21228
|
};
|
|
21229
|
+
isRecord = function(e) {
|
|
21230
|
+
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
21231
|
+
};
|
|
21232
|
+
hasFunctionProperty = function(e, t) {
|
|
21233
|
+
return typeof e[t] == "function";
|
|
21234
|
+
};
|
|
21228
21235
|
var import_compiler_runtime$47 = require_compiler_runtime();
|
|
21229
21236
|
const MimeCell = (e) => {
|
|
21230
21237
|
let t = (0, import_compiler_runtime$47.c)(6), { value: n } = e, i;
|
|
@@ -21370,9 +21377,6 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
21370
21377
|
"text/html",
|
|
21371
21378
|
"text/markdown"
|
|
21372
21379
|
]);
|
|
21373
|
-
function isRecord(e) {
|
|
21374
|
-
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
21375
|
-
}
|
|
21376
21380
|
function getClipboardContent(e, t) {
|
|
21377
21381
|
let n = typeof t == "object" && t ? getMimeValues(t) : void 0, i;
|
|
21378
21382
|
if (n) {
|
|
@@ -26430,7 +26434,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
26430
26434
|
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 }) {
|
|
26431
26435
|
let E = (0, import_react.useContext)(PanelGroupContext);
|
|
26432
26436
|
if (E === null) throw Error("Panel components must be rendered within a PanelGroup container");
|
|
26433
|
-
let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, $ = useUniqueId(s),
|
|
26437
|
+
let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, $ = useUniqueId(s), Fq = (0, import_react.useRef)({
|
|
26434
26438
|
callbacks: {
|
|
26435
26439
|
onCollapse: f,
|
|
26436
26440
|
onExpand: h,
|
|
@@ -26450,12 +26454,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
26450
26454
|
(0, import_react.useRef)({
|
|
26451
26455
|
didLogMissingDefaultSizeWarning: false
|
|
26452
26456
|
}), useIsomorphicLayoutEffect$1(() => {
|
|
26453
|
-
let { callbacks: e2, constraints: t2 } =
|
|
26457
|
+
let { callbacks: e2, constraints: t2 } = Fq.current, o2 = {
|
|
26454
26458
|
...t2
|
|
26455
26459
|
};
|
|
26456
|
-
|
|
26460
|
+
Fq.current.id = $, Fq.current.idIsFromProps = s !== void 0, Fq.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(Fq.current, o2);
|
|
26457
26461
|
}), useIsomorphicLayoutEffect$1(() => {
|
|
26458
|
-
let e2 =
|
|
26462
|
+
let e2 = Fq.current;
|
|
26459
26463
|
return q(e2), () => {
|
|
26460
26464
|
Q(e2);
|
|
26461
26465
|
};
|
|
@@ -26466,25 +26470,25 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
26466
26470
|
Q
|
|
26467
26471
|
]), (0, import_react.useImperativeHandle)(o, () => ({
|
|
26468
26472
|
collapse: () => {
|
|
26469
|
-
O(
|
|
26473
|
+
O(Fq.current);
|
|
26470
26474
|
},
|
|
26471
26475
|
expand: (e2) => {
|
|
26472
|
-
A(
|
|
26476
|
+
A(Fq.current, e2);
|
|
26473
26477
|
},
|
|
26474
26478
|
getId() {
|
|
26475
26479
|
return $;
|
|
26476
26480
|
},
|
|
26477
26481
|
getSize() {
|
|
26478
|
-
return M(
|
|
26482
|
+
return M(Fq.current);
|
|
26479
26483
|
},
|
|
26480
26484
|
isCollapsed() {
|
|
26481
|
-
return U(
|
|
26485
|
+
return U(Fq.current);
|
|
26482
26486
|
},
|
|
26483
26487
|
isExpanded() {
|
|
26484
|
-
return !U(
|
|
26488
|
+
return !U(Fq.current);
|
|
26485
26489
|
},
|
|
26486
26490
|
resize: (e2) => {
|
|
26487
|
-
J(
|
|
26491
|
+
J(Fq.current, e2);
|
|
26488
26492
|
}
|
|
26489
26493
|
}), [
|
|
26490
26494
|
O,
|
|
@@ -26494,21 +26498,21 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
26494
26498
|
$,
|
|
26495
26499
|
J
|
|
26496
26500
|
]);
|
|
26497
|
-
let
|
|
26501
|
+
let Iq = I(Fq.current, a);
|
|
26498
26502
|
return (0, import_react.createElement)(S, {
|
|
26499
26503
|
...w,
|
|
26500
26504
|
children: e,
|
|
26501
26505
|
className: t,
|
|
26502
26506
|
id: $,
|
|
26503
26507
|
style: {
|
|
26504
|
-
...
|
|
26508
|
+
...Iq,
|
|
26505
26509
|
...y
|
|
26506
26510
|
},
|
|
26507
26511
|
[DATA_ATTRIBUTES.groupId]: z,
|
|
26508
26512
|
[DATA_ATTRIBUTES.panel]: "",
|
|
26509
26513
|
[DATA_ATTRIBUTES.panelCollapsible]: i || void 0,
|
|
26510
26514
|
[DATA_ATTRIBUTES.panelId]: $,
|
|
26511
|
-
[DATA_ATTRIBUTES.panelSize]: parseFloat("" +
|
|
26515
|
+
[DATA_ATTRIBUTES.panelSize]: parseFloat("" + Iq.flexGrow).toFixed(1)
|
|
26512
26516
|
});
|
|
26513
26517
|
}
|
|
26514
26518
|
Panel = (0, import_react.forwardRef)((e, t) => (0, import_react.createElement)(PanelWithForwardedRef, {
|
|
@@ -27293,13 +27297,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27293
27297
|
}, [
|
|
27294
27298
|
S,
|
|
27295
27299
|
E
|
|
27296
|
-
]),
|
|
27300
|
+
]), Fq = (0, import_react.useCallback)((e2) => {
|
|
27297
27301
|
let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
|
|
27298
27302
|
return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), a2 === true && fuzzyNumbersEqual$1(o2, i2);
|
|
27299
|
-
}, []),
|
|
27303
|
+
}, []), Iq = (0, import_react.useCallback)((e2) => {
|
|
27300
27304
|
let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
|
|
27301
27305
|
return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), !a2 || fuzzyCompareNumbers(o2, i2) > 0;
|
|
27302
|
-
}, []),
|
|
27306
|
+
}, []), Lq = (0, import_react.useCallback)((e2) => {
|
|
27303
27307
|
let { panelDataArray: t2 } = K.current;
|
|
27304
27308
|
t2.push(e2), t2.sort((e3, t3) => {
|
|
27305
27309
|
let n2 = e3.order, i2 = t3.order;
|
|
@@ -27331,7 +27335,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27331
27335
|
e2.layout = [];
|
|
27332
27336
|
};
|
|
27333
27337
|
}, []);
|
|
27334
|
-
let
|
|
27338
|
+
let Rq = (0, import_react.useCallback)((e2) => {
|
|
27335
27339
|
let t2 = false, n2 = y.current;
|
|
27336
27340
|
return n2 && window.getComputedStyle(n2, null).getPropertyValue("direction") === "rtl" && (t2 = true), function(n3) {
|
|
27337
27341
|
n3.preventDefault();
|
|
@@ -27349,7 +27353,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27349
27353
|
}), I2 = !compareLayouts(f2, A2);
|
|
27350
27354
|
(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));
|
|
27351
27355
|
};
|
|
27352
|
-
}, []),
|
|
27356
|
+
}, []), zq = (0, import_react.useCallback)((e2, t2) => {
|
|
27353
27357
|
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);
|
|
27354
27358
|
assert(s2 != null, `Panel size not found for panel "${e2.id}"`);
|
|
27355
27359
|
let d2 = adjustLayoutByDelta({
|
|
@@ -27361,12 +27365,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27361
27365
|
trigger: "imperative-api"
|
|
27362
27366
|
});
|
|
27363
27367
|
compareLayouts(i2, d2) || (O(d2), K.current.layout = d2, n2 && n2(d2), callPanelCallbacks(a2, d2, M.current));
|
|
27364
|
-
}, []),
|
|
27368
|
+
}, []), Bq = (0, import_react.useCallback)((e2, t2) => {
|
|
27365
27369
|
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);
|
|
27366
|
-
h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) ||
|
|
27370
|
+
h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) || zq(e2, s2) : h2 < f2 ? zq(e2, f2) : h2 > d2 && zq(e2, d2));
|
|
27367
27371
|
}, [
|
|
27368
|
-
|
|
27369
|
-
]),
|
|
27372
|
+
zq
|
|
27373
|
+
]), Vq = (0, import_react.useCallback)((e2, t2) => {
|
|
27370
27374
|
let { direction: n2 } = U.current, { layout: i2 } = K.current;
|
|
27371
27375
|
if (!y.current) return;
|
|
27372
27376
|
let a2 = getResizeHandleElement(e2, y.current);
|
|
@@ -27378,14 +27382,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27378
27382
|
initialCursorPosition: o2,
|
|
27379
27383
|
initialLayout: i2
|
|
27380
27384
|
});
|
|
27381
|
-
}, []),
|
|
27385
|
+
}, []), Hq = (0, import_react.useCallback)(() => {
|
|
27382
27386
|
w(null);
|
|
27383
|
-
}, []),
|
|
27387
|
+
}, []), Uq = (0, import_react.useCallback)((e2) => {
|
|
27384
27388
|
let { panelDataArray: t2 } = K.current, n2 = findPanelDataIndex(t2, e2);
|
|
27385
27389
|
n2 >= 0 && (t2.splice(n2, 1), delete M.current[e2.id], K.current.panelDataArrayChanged = true, A());
|
|
27386
27390
|
}, [
|
|
27387
27391
|
A
|
|
27388
|
-
]),
|
|
27392
|
+
]), Wq = (0, import_react.useMemo)(() => ({
|
|
27389
27393
|
collapsePanel: q,
|
|
27390
27394
|
direction: i,
|
|
27391
27395
|
dragState: S,
|
|
@@ -27393,15 +27397,15 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27393
27397
|
getPanelSize: Q,
|
|
27394
27398
|
getPanelStyle: $,
|
|
27395
27399
|
groupId: v,
|
|
27396
|
-
isPanelCollapsed:
|
|
27397
|
-
isPanelExpanded:
|
|
27398
|
-
reevaluatePanelConstraints:
|
|
27399
|
-
registerPanel:
|
|
27400
|
-
registerResizeHandle:
|
|
27401
|
-
resizePanel:
|
|
27402
|
-
startDragging:
|
|
27403
|
-
stopDragging:
|
|
27404
|
-
unregisterPanel:
|
|
27400
|
+
isPanelCollapsed: Fq,
|
|
27401
|
+
isPanelExpanded: Iq,
|
|
27402
|
+
reevaluatePanelConstraints: Bq,
|
|
27403
|
+
registerPanel: Lq,
|
|
27404
|
+
registerResizeHandle: Rq,
|
|
27405
|
+
resizePanel: zq,
|
|
27406
|
+
startDragging: Vq,
|
|
27407
|
+
stopDragging: Hq,
|
|
27408
|
+
unregisterPanel: Uq,
|
|
27405
27409
|
panelGroupElement: y.current
|
|
27406
27410
|
}), [
|
|
27407
27411
|
q,
|
|
@@ -27411,16 +27415,16 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27411
27415
|
Q,
|
|
27412
27416
|
$,
|
|
27413
27417
|
v,
|
|
27418
|
+
Fq,
|
|
27414
27419
|
Iq,
|
|
27420
|
+
Bq,
|
|
27415
27421
|
Lq,
|
|
27416
|
-
Vq,
|
|
27417
27422
|
Rq,
|
|
27418
27423
|
zq,
|
|
27419
|
-
|
|
27424
|
+
Vq,
|
|
27420
27425
|
Hq,
|
|
27421
|
-
Uq
|
|
27422
|
-
|
|
27423
|
-
]), Kq = {
|
|
27426
|
+
Uq
|
|
27427
|
+
]), Gq = {
|
|
27424
27428
|
display: "flex",
|
|
27425
27429
|
flexDirection: i === "horizontal" ? "row" : "column",
|
|
27426
27430
|
height: "100%",
|
|
@@ -27428,7 +27432,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27428
27432
|
width: "100%"
|
|
27429
27433
|
};
|
|
27430
27434
|
return (0, import_react.createElement)(PanelGroupContext.Provider, {
|
|
27431
|
-
value:
|
|
27435
|
+
value: Wq
|
|
27432
27436
|
}, (0, import_react.createElement)(h, {
|
|
27433
27437
|
..._,
|
|
27434
27438
|
children: t,
|
|
@@ -27436,7 +27440,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27436
27440
|
id: o,
|
|
27437
27441
|
ref: y,
|
|
27438
27442
|
style: {
|
|
27439
|
-
...
|
|
27443
|
+
...Gq,
|
|
27440
27444
|
...f
|
|
27441
27445
|
},
|
|
27442
27446
|
[DATA_ATTRIBUTES.group]: "",
|
|
@@ -27513,31 +27517,31 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27513
27517
|
});
|
|
27514
27518
|
let O = (0, import_react.useContext)(PanelGroupContext);
|
|
27515
27519
|
if (O === null) throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");
|
|
27516
|
-
let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [$,
|
|
27520
|
+
let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [$, Fq] = (0, import_react.useState)(false), [Iq, Lq] = (0, import_react.useState)(null), Rq = (0, import_react.useRef)({
|
|
27517
27521
|
state: J
|
|
27518
27522
|
});
|
|
27519
27523
|
useIsomorphicLayoutEffect$1(() => {
|
|
27520
|
-
|
|
27524
|
+
Rq.current.state = J;
|
|
27521
27525
|
}), (0, import_react.useEffect)(() => {
|
|
27522
|
-
if (n)
|
|
27526
|
+
if (n) Lq(null);
|
|
27523
27527
|
else {
|
|
27524
27528
|
let e2 = I(q);
|
|
27525
|
-
|
|
27529
|
+
Lq(() => e2);
|
|
27526
27530
|
}
|
|
27527
27531
|
}, [
|
|
27528
27532
|
n,
|
|
27529
27533
|
q,
|
|
27530
27534
|
I
|
|
27531
27535
|
]);
|
|
27532
|
-
let
|
|
27536
|
+
let zq = (i == null ? void 0 : i.coarse) ?? 15, Bq = (i == null ? void 0 : i.fine) ?? 5;
|
|
27533
27537
|
(0, import_react.useEffect)(() => {
|
|
27534
|
-
if (n ||
|
|
27538
|
+
if (n || Iq == null) return;
|
|
27535
27539
|
let e2 = w.current;
|
|
27536
27540
|
assert(e2, "Element ref not attached");
|
|
27537
27541
|
let t2 = false;
|
|
27538
27542
|
return registerResizeHandle(q, e2, A, {
|
|
27539
|
-
coarse:
|
|
27540
|
-
fine:
|
|
27543
|
+
coarse: zq,
|
|
27544
|
+
fine: Bq
|
|
27541
27545
|
}, (e3, n2, i2) => {
|
|
27542
27546
|
if (!n2) {
|
|
27543
27547
|
Q("inactive");
|
|
@@ -27551,8 +27555,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27551
27555
|
break;
|
|
27552
27556
|
}
|
|
27553
27557
|
case "move": {
|
|
27554
|
-
let { state: e4 } =
|
|
27555
|
-
t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'),
|
|
27558
|
+
let { state: e4 } = Rq.current;
|
|
27559
|
+
t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), Iq(i2);
|
|
27556
27560
|
break;
|
|
27557
27561
|
}
|
|
27558
27562
|
case "up": {
|
|
@@ -27564,22 +27568,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27564
27568
|
}
|
|
27565
27569
|
});
|
|
27566
27570
|
}, [
|
|
27567
|
-
|
|
27571
|
+
zq,
|
|
27568
27572
|
A,
|
|
27569
27573
|
n,
|
|
27570
|
-
|
|
27574
|
+
Bq,
|
|
27571
27575
|
I,
|
|
27572
27576
|
q,
|
|
27573
|
-
|
|
27577
|
+
Iq,
|
|
27574
27578
|
z,
|
|
27575
27579
|
U
|
|
27576
27580
|
]), useWindowSplitterResizeHandlerBehavior({
|
|
27577
27581
|
disabled: n,
|
|
27578
27582
|
handleId: q,
|
|
27579
|
-
resizeHandler:
|
|
27583
|
+
resizeHandler: Iq,
|
|
27580
27584
|
panelGroupElement: K
|
|
27581
27585
|
});
|
|
27582
|
-
let
|
|
27586
|
+
let Vq = {
|
|
27583
27587
|
touchAction: "none",
|
|
27584
27588
|
userSelect: "none"
|
|
27585
27589
|
};
|
|
@@ -27589,15 +27593,15 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27589
27593
|
className: t,
|
|
27590
27594
|
id: a,
|
|
27591
27595
|
onBlur: () => {
|
|
27592
|
-
|
|
27596
|
+
Fq(false), o == null ? void 0 : o();
|
|
27593
27597
|
},
|
|
27594
27598
|
onFocus: () => {
|
|
27595
|
-
|
|
27599
|
+
Fq(true), d == null ? void 0 : d();
|
|
27596
27600
|
},
|
|
27597
27601
|
ref: w,
|
|
27598
27602
|
role: "separator",
|
|
27599
27603
|
style: {
|
|
27600
|
-
...
|
|
27604
|
+
...Vq,
|
|
27601
27605
|
..._
|
|
27602
27606
|
},
|
|
27603
27607
|
tabIndex: v,
|
|
@@ -27896,7 +27900,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27896
27900
|
}, [
|
|
27897
27901
|
h
|
|
27898
27902
|
]), k(() => {
|
|
27899
|
-
U(6,
|
|
27903
|
+
U(6, Iq);
|
|
27900
27904
|
}, []);
|
|
27901
27905
|
let K = import_react.useMemo(() => ({
|
|
27902
27906
|
subscribe: (e2) => (s.current.add(e2), () => s.current.delete(e2)),
|
|
@@ -27905,7 +27909,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27905
27909
|
var _a2;
|
|
27906
27910
|
var a2, o2, s2;
|
|
27907
27911
|
if (!Object.is(n.current[e2], t2)) {
|
|
27908
|
-
if (n.current[e2] = t2, e2 === "search")
|
|
27912
|
+
if (n.current[e2] = t2, e2 === "search") Fq(), Q(), U(1, $);
|
|
27909
27913
|
else if (e2 === "value") {
|
|
27910
27914
|
if (document.activeElement.hasAttribute("cmdk-input") || document.activeElement.hasAttribute("cmdk-root")) {
|
|
27911
27915
|
let e3 = document.getElementById(I);
|
|
@@ -27913,8 +27917,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27913
27917
|
}
|
|
27914
27918
|
if (U(7, () => {
|
|
27915
27919
|
var _a3;
|
|
27916
|
-
n.current.selectedItemId = (_a3 =
|
|
27917
|
-
}), i2 || U(5,
|
|
27920
|
+
n.current.selectedItemId = (_a3 = Lq()) == null ? void 0 : _a3.id, K.emit();
|
|
27921
|
+
}), i2 || U(5, Iq), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
|
|
27918
27922
|
let e3 = t2 ?? "";
|
|
27919
27923
|
(s2 = (o2 = c.current).onValueChange) == null || s2.call(o2, e3);
|
|
27920
27924
|
return;
|
|
@@ -27939,12 +27943,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27939
27943
|
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([
|
|
27940
27944
|
e2
|
|
27941
27945
|
]))), U(3, () => {
|
|
27942
|
-
|
|
27946
|
+
Fq(), Q(), n.current.value || $(), K.emit();
|
|
27943
27947
|
}), () => {
|
|
27944
27948
|
o.current.delete(e2), i.current.delete(e2), n.current.filtered.items.delete(e2);
|
|
27945
|
-
let t3 =
|
|
27949
|
+
let t3 = Lq();
|
|
27946
27950
|
U(4, () => {
|
|
27947
|
-
|
|
27951
|
+
Fq(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && $(), K.emit();
|
|
27948
27952
|
});
|
|
27949
27953
|
}),
|
|
27950
27954
|
group: (e2) => (a.current.has(e2) || a.current.set(e2, /* @__PURE__ */ new Set()), () => {
|
|
@@ -27977,7 +27981,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27977
27981
|
]);
|
|
27978
27982
|
});
|
|
27979
27983
|
let i2 = z.current;
|
|
27980
|
-
|
|
27984
|
+
Rq().sort((t3, n2) => {
|
|
27981
27985
|
let i3 = t3.getAttribute("id"), a2 = n2.getAttribute("id");
|
|
27982
27986
|
return (e2.get(a2) ?? 0) - (e2.get(i3) ?? 0);
|
|
27983
27987
|
}).forEach((e3) => {
|
|
@@ -27991,10 +27995,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27991
27995
|
}
|
|
27992
27996
|
function $() {
|
|
27993
27997
|
var _a2;
|
|
27994
|
-
let e2 = (_a2 =
|
|
27998
|
+
let e2 = (_a2 = Rq().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
|
|
27995
27999
|
K.setState("value", e2 || void 0);
|
|
27996
28000
|
}
|
|
27997
|
-
function
|
|
28001
|
+
function Fq() {
|
|
27998
28002
|
var _a2, _b;
|
|
27999
28003
|
if (!n.current.search || c.current.shouldFilter === false) {
|
|
28000
28004
|
n.current.filtered.count = i.current.size;
|
|
@@ -28012,43 +28016,43 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28012
28016
|
}
|
|
28013
28017
|
n.current.filtered.count = e2;
|
|
28014
28018
|
}
|
|
28015
|
-
function
|
|
28019
|
+
function Iq() {
|
|
28016
28020
|
var _a2, _b;
|
|
28017
28021
|
var e2;
|
|
28018
|
-
let t2 =
|
|
28022
|
+
let t2 = Lq();
|
|
28019
28023
|
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({
|
|
28020
28024
|
block: "nearest"
|
|
28021
28025
|
})), t2.scrollIntoView({
|
|
28022
28026
|
block: "nearest"
|
|
28023
28027
|
}));
|
|
28024
28028
|
}
|
|
28025
|
-
function
|
|
28029
|
+
function Lq() {
|
|
28026
28030
|
var _a2;
|
|
28027
28031
|
return (_a2 = z.current) == null ? void 0 : _a2.querySelector(`${le}[aria-selected="true"]`);
|
|
28028
28032
|
}
|
|
28029
|
-
function
|
|
28033
|
+
function Rq() {
|
|
28030
28034
|
var _a2;
|
|
28031
28035
|
return Array.from(((_a2 = z.current) == null ? void 0 : _a2.querySelectorAll(ce$1)) || []);
|
|
28032
28036
|
}
|
|
28033
|
-
function
|
|
28034
|
-
let t2 =
|
|
28037
|
+
function zq(e2) {
|
|
28038
|
+
let t2 = Rq()[e2];
|
|
28035
28039
|
t2 && K.setState("value", t2.getAttribute(T));
|
|
28036
28040
|
}
|
|
28037
|
-
function
|
|
28041
|
+
function Bq(e2) {
|
|
28038
28042
|
var t2;
|
|
28039
|
-
let n2 =
|
|
28043
|
+
let n2 = Lq(), i2 = Rq(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
|
|
28040
28044
|
(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));
|
|
28041
28045
|
}
|
|
28042
|
-
function
|
|
28046
|
+
function Vq(e2) {
|
|
28043
28047
|
var _a2;
|
|
28044
|
-
let t2 = (_a2 =
|
|
28048
|
+
let t2 = (_a2 = Lq()) == null ? void 0 : _a2.closest(N$1), n2;
|
|
28045
28049
|
for (; t2 && !n2; ) t2 = e2 > 0 ? we(t2, N$1) : De(t2, N$1), n2 = t2 == null ? void 0 : t2.querySelector(ce$1);
|
|
28046
|
-
n2 ? K.setState("value", n2.getAttribute(T)) :
|
|
28050
|
+
n2 ? K.setState("value", n2.getAttribute(T)) : Bq(e2);
|
|
28047
28051
|
}
|
|
28048
|
-
let
|
|
28049
|
-
e2.preventDefault(), e2.metaKey ?
|
|
28050
|
-
},
|
|
28051
|
-
e2.preventDefault(), e2.metaKey ?
|
|
28052
|
+
let Hq = () => zq(Rq().length - 1), Uq = (e2) => {
|
|
28053
|
+
e2.preventDefault(), e2.metaKey ? Hq() : e2.altKey ? Vq(1) : Bq(1);
|
|
28054
|
+
}, Wq = (e2) => {
|
|
28055
|
+
e2.preventDefault(), e2.metaKey ? zq(0) : e2.altKey ? Vq(-1) : Bq(-1);
|
|
28052
28056
|
};
|
|
28053
28057
|
return import_react.createElement(Primitive.div, {
|
|
28054
28058
|
ref: t,
|
|
@@ -28062,27 +28066,27 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28062
28066
|
if (!(e2.defaultPrevented || n2)) switch (e2.key) {
|
|
28063
28067
|
case "n":
|
|
28064
28068
|
case "j":
|
|
28065
|
-
E && e2.ctrlKey &&
|
|
28069
|
+
E && e2.ctrlKey && Uq(e2);
|
|
28066
28070
|
break;
|
|
28067
28071
|
case "ArrowDown":
|
|
28068
|
-
|
|
28072
|
+
Uq(e2);
|
|
28069
28073
|
break;
|
|
28070
28074
|
case "p":
|
|
28071
28075
|
case "k":
|
|
28072
|
-
E && e2.ctrlKey &&
|
|
28076
|
+
E && e2.ctrlKey && Wq(e2);
|
|
28073
28077
|
break;
|
|
28074
28078
|
case "ArrowUp":
|
|
28075
|
-
|
|
28079
|
+
Wq(e2);
|
|
28076
28080
|
break;
|
|
28077
28081
|
case "Home":
|
|
28078
|
-
e2.preventDefault(),
|
|
28082
|
+
e2.preventDefault(), zq(0);
|
|
28079
28083
|
break;
|
|
28080
28084
|
case "End":
|
|
28081
|
-
e2.preventDefault(),
|
|
28085
|
+
e2.preventDefault(), Hq();
|
|
28082
28086
|
break;
|
|
28083
28087
|
case "Enter": {
|
|
28084
28088
|
e2.preventDefault();
|
|
28085
|
-
let t3 =
|
|
28089
|
+
let t3 = Lq();
|
|
28086
28090
|
if (t3) {
|
|
28087
28091
|
let e3 = new Event(Z);
|
|
28088
28092
|
t3.dispatchEvent(e3);
|
|
@@ -28491,153 +28495,153 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28491
28495
|
Combobox = (e) => {
|
|
28492
28496
|
let t = (0, import_compiler_runtime$35.c)(106), n, i, o, s, c, d, f, h, _, v, y, S, w, E, O, A, M, I, z, U, K, q, J, Q;
|
|
28493
28497
|
t[0] === e ? (n = t[1], i = t[2], o = 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: o, 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] = o, 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);
|
|
28494
|
-
let $ = I === void 0 ? false : I,
|
|
28495
|
-
t[25] !== v || t[26] !== w || t[27] !==
|
|
28498
|
+
let $ = I === void 0 ? false : I, Fq = z === void 0 ? true : z, Iq = U === void 0 ? "Search..." : U, Lq = K === void 0 ? "Nothing found." : K, Rq = q === void 0 ? false : q, zq = J === void 0 ? false : J, Bq = s ?? false, Vq;
|
|
28499
|
+
t[25] !== v || t[26] !== w || t[27] !== Bq ? (Vq = {
|
|
28496
28500
|
prop: w,
|
|
28497
|
-
defaultProp:
|
|
28501
|
+
defaultProp: Bq,
|
|
28498
28502
|
onChange: v
|
|
28499
|
-
}, t[25] = v, t[26] = w, t[27] =
|
|
28500
|
-
let [
|
|
28501
|
-
t[29] === S ?
|
|
28503
|
+
}, t[25] = v, t[26] = w, t[27] = Bq, t[28] = Vq) : Vq = t[28];
|
|
28504
|
+
let [Hq, Uq] = useControllableState(Vq), Wq = Hq === void 0 ? false : Hq, Gq;
|
|
28505
|
+
t[29] === S ? Gq = t[30] : (Gq = (e2) => {
|
|
28502
28506
|
S == null ? void 0 : S(e2);
|
|
28503
|
-
}, t[29] = S, t[30] =
|
|
28504
|
-
let
|
|
28505
|
-
t[31] !== c || t[32] !==
|
|
28507
|
+
}, t[29] = S, t[30] = Gq);
|
|
28508
|
+
let Kq;
|
|
28509
|
+
t[31] !== c || t[32] !== Gq || t[33] !== Q ? (Kq = {
|
|
28506
28510
|
prop: Q,
|
|
28507
28511
|
defaultProp: c,
|
|
28508
|
-
onChange:
|
|
28509
|
-
}, t[31] = c, t[32] =
|
|
28510
|
-
let [
|
|
28511
|
-
t[35] ===
|
|
28512
|
-
let
|
|
28513
|
-
t[37] !== _ || t[38] !== $ || t[39] !==
|
|
28512
|
+
onChange: Gq
|
|
28513
|
+
}, t[31] = c, t[32] = Gq, t[33] = Q, t[34] = Kq) : Kq = t[34];
|
|
28514
|
+
let [qq, Jq] = useControllableState(Kq), Yq;
|
|
28515
|
+
t[35] === qq ? Yq = t[36] : (Yq = (e2) => Array.isArray(qq) ? qq.includes(e2) : qq === e2, t[35] = qq, t[36] = Yq);
|
|
28516
|
+
let Xq = Yq, Zq;
|
|
28517
|
+
t[37] !== _ || t[38] !== $ || t[39] !== Uq || t[40] !== Jq || t[41] !== qq ? (Zq = (e2) => {
|
|
28514
28518
|
let t2 = e2;
|
|
28515
|
-
if ($) if (Array.isArray(
|
|
28516
|
-
let n2 =
|
|
28519
|
+
if ($) if (Array.isArray(qq)) if (qq.includes(t2)) {
|
|
28520
|
+
let n2 = qq.filter((t3) => t3 !== e2);
|
|
28517
28521
|
t2 = n2.length > 0 ? n2 : [];
|
|
28518
28522
|
} else t2 = [
|
|
28519
|
-
...
|
|
28523
|
+
...qq,
|
|
28520
28524
|
t2
|
|
28521
28525
|
];
|
|
28522
28526
|
else t2 = [
|
|
28523
28527
|
t2
|
|
28524
28528
|
];
|
|
28525
|
-
else
|
|
28526
|
-
|
|
28527
|
-
}, t[37] = _, t[38] = $, t[39] =
|
|
28528
|
-
let
|
|
28529
|
-
t[43] !==
|
|
28530
|
-
let
|
|
28531
|
-
t[49] !==
|
|
28532
|
-
isSelected:
|
|
28533
|
-
onSelect:
|
|
28534
|
-
}, t[49] =
|
|
28535
|
-
let
|
|
28536
|
-
t[52] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
28537
|
-
let
|
|
28538
|
-
t[53] !==
|
|
28539
|
-
|
|
28540
|
-
}, t[53] =
|
|
28541
|
-
let
|
|
28542
|
-
t[56] !== o || t[57] !==
|
|
28529
|
+
else qq === e2 && (t2 = null);
|
|
28530
|
+
Jq(t2), (_ ?? $) || Uq(false);
|
|
28531
|
+
}, t[37] = _, t[38] = $, t[39] = Uq, t[40] = Jq, t[41] = qq, t[42] = Zq) : Zq = t[42];
|
|
28532
|
+
let Qq = Zq, $q;
|
|
28533
|
+
t[43] !== Rq || t[44] !== d || t[45] !== $ || t[46] !== E || t[47] !== qq ? ($q = () => $ && Rq && E ? E : qq == null ? E ?? "--" : Array.isArray(qq) ? qq.length === 0 ? E ?? "--" : qq.length === 1 && d !== void 0 ? d(qq[0]) : `${qq.length} selected` : d === void 0 ? E ?? "--" : d(qq), t[43] = Rq, t[44] = d, t[45] = $, t[46] = E, t[47] = qq, t[48] = $q) : $q = t[48];
|
|
28534
|
+
let eJ = $q, tJ;
|
|
28535
|
+
t[49] !== Qq || t[50] !== Xq ? (tJ = {
|
|
28536
|
+
isSelected: Xq,
|
|
28537
|
+
onSelect: Qq
|
|
28538
|
+
}, t[49] = Qq, t[50] = Xq, t[51] = tJ) : tJ = t[51];
|
|
28539
|
+
let nJ = tJ, rJ;
|
|
28540
|
+
t[52] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (rJ = cn("relative"), t[52] = rJ) : rJ = t[52];
|
|
28541
|
+
let iJ;
|
|
28542
|
+
t[53] !== zq || t[54] !== Uq ? (iJ = (e2) => {
|
|
28543
|
+
zq && e2 || Uq(e2);
|
|
28544
|
+
}, t[53] = zq, t[54] = Uq, t[55] = iJ) : iJ = t[55];
|
|
28545
|
+
let oJ = zq && "cursor-not-allowed opacity-50", cJ;
|
|
28546
|
+
t[56] !== o || t[57] !== oJ ? (cJ = 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", oJ, o), t[56] = o, t[57] = oJ, t[58] = cJ) : cJ = t[58];
|
|
28547
|
+
let lJ;
|
|
28548
|
+
t[59] !== O || t[60] !== eJ || t[61] !== qq ? (lJ = O ? O(qq ?? null) : eJ(), t[59] = O, t[60] = eJ, t[61] = qq, t[62] = lJ) : lJ = t[62];
|
|
28543
28549
|
let uJ;
|
|
28544
|
-
t[
|
|
28545
|
-
let dJ;
|
|
28546
|
-
t[63] === uJ ? dJ = t[64] : (dJ = (0, import_jsx_runtime.jsx)("span", {
|
|
28550
|
+
t[63] === lJ ? uJ = t[64] : (uJ = (0, import_jsx_runtime.jsx)("span", {
|
|
28547
28551
|
className: "truncate flex-1 min-w-0",
|
|
28548
|
-
children:
|
|
28549
|
-
}), t[63] =
|
|
28550
|
-
let
|
|
28551
|
-
t[65] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
28552
|
+
children: lJ
|
|
28553
|
+
}), t[63] = lJ, t[64] = uJ);
|
|
28554
|
+
let dJ;
|
|
28555
|
+
t[65] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (dJ = (0, import_jsx_runtime.jsx)(ChevronDown, {
|
|
28552
28556
|
className: "ml-3 w-4 h-4 opacity-50 shrink-0"
|
|
28553
|
-
}), t[65] =
|
|
28554
|
-
let
|
|
28555
|
-
t[66] !==
|
|
28557
|
+
}), t[65] = dJ) : dJ = t[65];
|
|
28558
|
+
let fJ;
|
|
28559
|
+
t[66] !== zq || t[67] !== h || t[68] !== Wq || t[69] !== cJ || t[70] !== uJ ? (fJ = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
|
|
28556
28560
|
asChild: true,
|
|
28557
28561
|
children: (0, import_jsx_runtime.jsxs)("button", {
|
|
28558
28562
|
id: h,
|
|
28559
28563
|
type: "button",
|
|
28560
|
-
className:
|
|
28561
|
-
"aria-expanded":
|
|
28562
|
-
"aria-disabled":
|
|
28564
|
+
className: cJ,
|
|
28565
|
+
"aria-expanded": Wq,
|
|
28566
|
+
"aria-disabled": zq,
|
|
28563
28567
|
children: [
|
|
28564
|
-
|
|
28565
|
-
|
|
28568
|
+
uJ,
|
|
28569
|
+
dJ
|
|
28566
28570
|
]
|
|
28567
28571
|
})
|
|
28568
|
-
}), t[66] =
|
|
28569
|
-
let
|
|
28570
|
-
t[72] !==
|
|
28571
|
-
placeholder:
|
|
28572
|
+
}), t[66] = zq, t[67] = h, t[68] = Wq, t[69] = cJ, t[70] = uJ, t[71] = fJ) : fJ = t[71];
|
|
28573
|
+
let pJ;
|
|
28574
|
+
t[72] !== Iq || t[73] !== y || t[74] !== M ? (pJ = (0, import_jsx_runtime.jsx)(CommandInput, {
|
|
28575
|
+
placeholder: Iq,
|
|
28572
28576
|
rootClassName: "px-1 h-8",
|
|
28573
28577
|
autoFocus: true,
|
|
28574
28578
|
value: M,
|
|
28575
28579
|
onValueChange: y
|
|
28576
|
-
}), t[72] =
|
|
28580
|
+
}), t[72] = Iq, t[73] = y, t[74] = M, t[75] = pJ) : pJ = t[75];
|
|
28581
|
+
let mJ;
|
|
28582
|
+
t[76] === Lq ? mJ = t[77] : (mJ = (0, import_jsx_runtime.jsx)(CommandEmpty, {
|
|
28583
|
+
children: Lq
|
|
28584
|
+
}), t[76] = Lq, t[77] = mJ);
|
|
28577
28585
|
let hJ;
|
|
28578
|
-
t[
|
|
28579
|
-
|
|
28580
|
-
}), t[76] = Rq, t[77] = hJ);
|
|
28581
|
-
let gJ;
|
|
28582
|
-
t[78] !== n || t[79] !== rJ ? (gJ = (0, import_jsx_runtime.jsx)(ComboboxContext, {
|
|
28583
|
-
value: rJ,
|
|
28586
|
+
t[78] !== n || t[79] !== nJ ? (hJ = (0, import_jsx_runtime.jsx)(ComboboxContext, {
|
|
28587
|
+
value: nJ,
|
|
28584
28588
|
children: n
|
|
28585
|
-
}), t[78] = n, t[79] =
|
|
28586
|
-
let
|
|
28587
|
-
t[81] !==
|
|
28589
|
+
}), t[78] = n, t[79] = nJ, t[80] = hJ) : hJ = t[80];
|
|
28590
|
+
let gJ;
|
|
28591
|
+
t[81] !== mJ || t[82] !== hJ ? (gJ = (0, import_jsx_runtime.jsxs)(CommandList, {
|
|
28588
28592
|
className: "max-h-60 py-.5",
|
|
28589
28593
|
children: [
|
|
28590
|
-
|
|
28591
|
-
|
|
28594
|
+
mJ,
|
|
28595
|
+
hJ
|
|
28592
28596
|
]
|
|
28593
|
-
}), t[81] =
|
|
28594
|
-
let
|
|
28595
|
-
t[84] !== f || t[85] !==
|
|
28597
|
+
}), t[81] = mJ, t[82] = hJ, t[83] = gJ) : gJ = t[83];
|
|
28598
|
+
let _J;
|
|
28599
|
+
t[84] !== f || t[85] !== Fq || t[86] !== pJ || t[87] !== gJ ? (_J = (0, import_jsx_runtime.jsx)(PopoverContent, {
|
|
28596
28600
|
className: "w-full min-w-(--radix-popover-trigger-width) p-0",
|
|
28597
28601
|
align: "start",
|
|
28598
28602
|
children: (0, import_jsx_runtime.jsxs)(Command, {
|
|
28599
28603
|
filter: f,
|
|
28600
|
-
shouldFilter:
|
|
28604
|
+
shouldFilter: Fq,
|
|
28601
28605
|
children: [
|
|
28602
|
-
|
|
28603
|
-
|
|
28606
|
+
pJ,
|
|
28607
|
+
gJ
|
|
28604
28608
|
]
|
|
28605
28609
|
})
|
|
28606
|
-
}), t[84] = f, t[85] =
|
|
28607
|
-
let
|
|
28608
|
-
t[89] !==
|
|
28609
|
-
open:
|
|
28610
|
-
onOpenChange:
|
|
28610
|
+
}), t[84] = f, t[85] = Fq, t[86] = pJ, t[87] = gJ, t[88] = _J) : _J = t[88];
|
|
28611
|
+
let vJ;
|
|
28612
|
+
t[89] !== Wq || t[90] !== iJ || t[91] !== fJ || t[92] !== _J ? (vJ = (0, import_jsx_runtime.jsxs)(Popover, {
|
|
28613
|
+
open: Wq,
|
|
28614
|
+
onOpenChange: iJ,
|
|
28611
28615
|
children: [
|
|
28612
|
-
|
|
28613
|
-
|
|
28616
|
+
fJ,
|
|
28617
|
+
_J
|
|
28614
28618
|
]
|
|
28615
|
-
}), t[89] =
|
|
28616
|
-
let
|
|
28617
|
-
t[94] !==
|
|
28619
|
+
}), t[89] = Wq, t[90] = iJ, t[91] = fJ, t[92] = _J, t[93] = vJ) : vJ = t[93];
|
|
28620
|
+
let yJ;
|
|
28621
|
+
t[94] !== Rq || t[95] !== i || t[96] !== zq || t[97] !== d || t[98] !== Qq || t[99] !== $ || t[100] !== qq ? (yJ = $ && Rq && (0, import_jsx_runtime.jsx)("div", {
|
|
28618
28622
|
className: cn("flex flex-col gap-1 items-start", i),
|
|
28619
|
-
children: Array.isArray(
|
|
28623
|
+
children: Array.isArray(qq) && qq.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
|
|
28620
28624
|
variant: "secondary",
|
|
28621
28625
|
children: [
|
|
28622
28626
|
(d == null ? void 0 : d(e2)) ?? String(e2),
|
|
28623
28627
|
(0, import_jsx_runtime.jsx)(CircleX, {
|
|
28624
28628
|
onClick: () => {
|
|
28625
|
-
|
|
28629
|
+
zq || Qq(e2);
|
|
28626
28630
|
},
|
|
28627
|
-
className: cn("w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer",
|
|
28631
|
+
className: cn("w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer", zq && "pointer-events-none")
|
|
28628
28632
|
})
|
|
28629
28633
|
]
|
|
28630
28634
|
}, String(e2)))
|
|
28631
|
-
}), t[94] =
|
|
28632
|
-
let
|
|
28633
|
-
return t[102] !== A || t[103] !==
|
|
28634
|
-
className:
|
|
28635
|
+
}), t[94] = Rq, t[95] = i, t[96] = zq, t[97] = d, t[98] = Qq, t[99] = $, t[100] = qq, t[101] = yJ) : yJ = t[101];
|
|
28636
|
+
let bJ;
|
|
28637
|
+
return t[102] !== A || t[103] !== vJ || t[104] !== yJ ? (bJ = (0, import_jsx_runtime.jsxs)("div", {
|
|
28638
|
+
className: rJ,
|
|
28635
28639
|
...A,
|
|
28636
28640
|
children: [
|
|
28637
|
-
|
|
28638
|
-
|
|
28641
|
+
vJ,
|
|
28642
|
+
yJ
|
|
28639
28643
|
]
|
|
28640
|
-
}), t[102] = A, t[103] =
|
|
28644
|
+
}), t[102] = A, t[103] = vJ, t[104] = yJ, t[105] = bJ) : bJ = t[105], bJ;
|
|
28641
28645
|
};
|
|
28642
28646
|
ComboboxItem = import_react.forwardRef((e, t) => {
|
|
28643
28647
|
let n = (0, import_compiler_runtime$35.c)(20), { children: i, className: o, value: s, onSelect: c, disabled: d } = e, f = typeof s == "object" && "value" in s ? s.value : String(s), h = import_react.use(ComboboxContext), _;
|
|
@@ -29693,17 +29697,17 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
29693
29697
|
searchQuery: M,
|
|
29694
29698
|
filteredOptions: z
|
|
29695
29699
|
}, t[9] = z, t[10] = n, t[11] = _, t[12] = M, t[13] = i, t[14] = U) : U = t[14];
|
|
29696
|
-
let { open: K, setOpen: q, repin: J, visibleOptions: Q, pinnedCount: $ } = usePinning(U),
|
|
29697
|
-
t[15] !== c || t[16] !== s || t[17] !== o || t[18] !== a || t[19] !== y || t[20] !== i ? (
|
|
29700
|
+
let { open: K, setOpen: q, repin: J, visibleOptions: Q, pinnedCount: $ } = usePinning(U), Fq;
|
|
29701
|
+
t[15] !== c || t[16] !== s || t[17] !== o || t[18] !== a || t[19] !== y || t[20] !== i ? (Fq = {
|
|
29698
29702
|
value: i,
|
|
29699
29703
|
onChange: a,
|
|
29700
29704
|
multiple: o,
|
|
29701
29705
|
maxSelections: s,
|
|
29702
29706
|
allowSelectNone: c,
|
|
29703
29707
|
selected: y
|
|
29704
|
-
}, t[15] = c, t[16] = s, t[17] = o, t[18] = a, t[19] = y, t[20] = i, t[21] =
|
|
29705
|
-
let { isChecked:
|
|
29706
|
-
t[22] !== z || t[23] !== s || t[24] !== o || t[25] !== a || t[26] !== n || t[27] !== M || t[28] !== i ? (
|
|
29708
|
+
}, t[15] = c, t[16] = s, t[17] = o, t[18] = a, t[19] = y, t[20] = i, t[21] = Fq) : Fq = t[21];
|
|
29709
|
+
let { isChecked: Iq, toggle: Lq } = useToggle(Fq), Rq;
|
|
29710
|
+
t[22] !== z || t[23] !== s || t[24] !== o || t[25] !== a || t[26] !== n || t[27] !== M || t[28] !== i ? (Rq = {
|
|
29707
29711
|
value: i,
|
|
29708
29712
|
onChange: a,
|
|
29709
29713
|
multiple: o,
|
|
@@ -29711,24 +29715,24 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
29711
29715
|
filteredOptions: z,
|
|
29712
29716
|
searchQuery: M,
|
|
29713
29717
|
maxSelections: s
|
|
29714
|
-
}, t[22] = z, t[23] = s, t[24] = o, t[25] = a, t[26] = n, t[27] = M, t[28] = i, t[29] =
|
|
29715
|
-
let { bulkActions:
|
|
29716
|
-
t[30] !== J || t[31] !== I ? (
|
|
29718
|
+
}, t[22] = z, t[23] = s, t[24] = o, t[25] = a, t[26] = n, t[27] = M, t[28] = i, t[29] = Rq) : Rq = t[29];
|
|
29719
|
+
let { bulkActions: zq } = useBulk(Rq), Bq;
|
|
29720
|
+
t[30] !== J || t[31] !== I ? (Bq = (e2) => {
|
|
29717
29721
|
I(e2), e2 === "" && J();
|
|
29718
|
-
}, t[30] = J, t[31] = I, t[32] =
|
|
29719
|
-
let
|
|
29720
|
-
return t[33] !==
|
|
29722
|
+
}, t[30] = J, t[31] = I, t[32] = Bq) : Bq = t[32];
|
|
29723
|
+
let Vq = Bq, Hq;
|
|
29724
|
+
return t[33] !== zq || t[34] !== Iq || t[35] !== O || t[36] !== K || t[37] !== $ || t[38] !== M || t[39] !== q || t[40] !== Vq || t[41] !== Lq || t[42] !== Q ? (Hq = {
|
|
29721
29725
|
searchQuery: M,
|
|
29722
|
-
setSearchQuery:
|
|
29726
|
+
setSearchQuery: Vq,
|
|
29723
29727
|
open: K,
|
|
29724
29728
|
setOpen: q,
|
|
29725
29729
|
visibleOptions: Q,
|
|
29726
29730
|
pinnedCount: $,
|
|
29727
|
-
isChecked:
|
|
29728
|
-
toggle:
|
|
29729
|
-
bulkActions:
|
|
29731
|
+
isChecked: Iq,
|
|
29732
|
+
toggle: Lq,
|
|
29733
|
+
bulkActions: zq,
|
|
29730
29734
|
labelOf: O
|
|
29731
|
-
}, t[33] =
|
|
29735
|
+
}, t[33] = zq, t[34] = Iq, t[35] = O, t[36] = K, t[37] = $, t[38] = M, t[39] = q, t[40] = Vq, t[41] = Lq, t[42] = Q, t[43] = Hq) : Hq = t[43], Hq;
|
|
29732
29736
|
};
|
|
29733
29737
|
const Sets = {
|
|
29734
29738
|
merge(...e) {
|
|
@@ -30057,7 +30061,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
30057
30061
|
type: S,
|
|
30058
30062
|
operator: E,
|
|
30059
30063
|
draft: mergeNumberTextDraft(A, I)
|
|
30060
|
-
}),
|
|
30064
|
+
}), Fq = $ === void 0, Iq = Fq ? getMissingValueMessage(S, E) : "Apply filter", Lq = () => {
|
|
30061
30065
|
if (!$) return;
|
|
30062
30066
|
let e2 = $;
|
|
30063
30067
|
t.setColumnFilters((t2) => {
|
|
@@ -30076,20 +30080,20 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
30076
30080
|
value: e2
|
|
30077
30081
|
}, n2;
|
|
30078
30082
|
}), i();
|
|
30079
|
-
},
|
|
30083
|
+
}, Rq = () => {
|
|
30080
30084
|
a !== void 0 && t.setColumnFilters((e2) => e2.filter((e3, t2) => t2 !== a)), i();
|
|
30081
|
-
},
|
|
30085
|
+
}, zq = !OPERATORS_WITHOUT_VALUE.has(E), Bq = OPERATORS_BY_TYPE[S], Vq = (0, import_react.useRef)(null), Hq = (0, import_react.useRef)(null);
|
|
30082
30086
|
return (0, import_react.useEffect)(() => {
|
|
30083
30087
|
var _a2, _b;
|
|
30084
|
-
let e2 = (_a2 =
|
|
30085
|
-
e2 ? e2.focus() : (_b =
|
|
30088
|
+
let e2 = (_a2 = Vq.current) == null ? void 0 : _a2.querySelector('input, [role="spinbutton"], [role="combobox"], button');
|
|
30089
|
+
e2 ? e2.focus() : (_b = Hq.current) == null ? void 0 : _b.focus();
|
|
30086
30090
|
}, [
|
|
30087
30091
|
S,
|
|
30088
30092
|
E
|
|
30089
30093
|
]), (0, import_jsx_runtime.jsxs)("form", {
|
|
30090
30094
|
className: "flex flex-row gap-4 items-end p-3",
|
|
30091
30095
|
onSubmit: (e2) => {
|
|
30092
|
-
e2.preventDefault(),
|
|
30096
|
+
e2.preventDefault(), Lq();
|
|
30093
30097
|
},
|
|
30094
30098
|
onKeyDownCapture: (e2) => {
|
|
30095
30099
|
e2.key === "Tab" && e2.stopPropagation();
|
|
@@ -30130,13 +30134,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
30130
30134
|
onValueChange: (e2) => Q(e2),
|
|
30131
30135
|
children: [
|
|
30132
30136
|
(0, import_jsx_runtime.jsx)(SelectTrigger, {
|
|
30133
|
-
ref:
|
|
30137
|
+
ref: Hq,
|
|
30134
30138
|
id: s,
|
|
30135
30139
|
className: "h-6 mb-1 bg-transparent",
|
|
30136
30140
|
children: (0, import_jsx_runtime.jsx)(SelectValue, {})
|
|
30137
30141
|
}),
|
|
30138
30142
|
(0, import_jsx_runtime.jsx)(SelectContent, {
|
|
30139
|
-
children:
|
|
30143
|
+
children: Bq.map((e2) => (0, import_jsx_runtime.jsx)(SelectItem, {
|
|
30140
30144
|
value: e2,
|
|
30141
30145
|
children: OPERATOR_LABELS[e2]
|
|
30142
30146
|
}, e2))
|
|
@@ -30145,8 +30149,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
30145
30149
|
}, S)
|
|
30146
30150
|
]
|
|
30147
30151
|
}),
|
|
30148
|
-
|
|
30149
|
-
ref:
|
|
30152
|
+
zq && (0, import_jsx_runtime.jsxs)("div", {
|
|
30153
|
+
ref: Vq,
|
|
30150
30154
|
className: "flex flex-col gap-1",
|
|
30151
30155
|
children: [
|
|
30152
30156
|
(0, import_jsx_runtime.jsx)("label", {
|
|
@@ -30173,14 +30177,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
30173
30177
|
className: "flex gap-1 mb-1",
|
|
30174
30178
|
children: [
|
|
30175
30179
|
(0, import_jsx_runtime.jsx)(Tooltip, {
|
|
30176
|
-
content:
|
|
30180
|
+
content: Iq,
|
|
30177
30181
|
children: (0, import_jsx_runtime.jsx)("span", {
|
|
30178
30182
|
className: "inline-flex",
|
|
30179
30183
|
children: (0, import_jsx_runtime.jsx)(Button, {
|
|
30180
30184
|
type: "submit",
|
|
30181
30185
|
size: "icon",
|
|
30182
30186
|
variant: "ghost",
|
|
30183
|
-
disabled:
|
|
30187
|
+
disabled: Fq,
|
|
30184
30188
|
className: "rounded-full text-primary hover:text-primary hover:bg-primary/10",
|
|
30185
30189
|
"aria-label": "Apply filter",
|
|
30186
30190
|
children: (0, import_jsx_runtime.jsx)(Check, {
|
|
@@ -30212,7 +30216,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
30212
30216
|
size: "icon",
|
|
30213
30217
|
variant: "ghost",
|
|
30214
30218
|
className: "rounded-full text-destructive hover:text-destructive hover:bg-destructive/10",
|
|
30215
|
-
onClick:
|
|
30219
|
+
onClick: Rq,
|
|
30216
30220
|
"aria-label": "Remove filter",
|
|
30217
30221
|
children: (0, import_jsx_runtime.jsx)(Trash2, {
|
|
30218
30222
|
className: "h-3.5 w-3.5",
|
|
@@ -32420,29 +32424,29 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
32420
32424
|
}, t[16] = a, t[17] = J);
|
|
32421
32425
|
let Q = useEvent_default(J), $;
|
|
32422
32426
|
t[18] === S ? $ = t[19] : ($ = () => S(), t[18] = S, t[19] = $);
|
|
32423
|
-
let
|
|
32424
|
-
t[20] === S ? (
|
|
32427
|
+
let Fq = useEvent_default($), Iq, Lq;
|
|
32428
|
+
t[20] === S ? (Iq = t[21], Lq = t[22]) : (Iq = () => (window.addEventListener("scroll", S, {
|
|
32425
32429
|
passive: true,
|
|
32426
32430
|
capture: true
|
|
32427
32431
|
}), window.addEventListener("resize", S), () => {
|
|
32428
32432
|
window.removeEventListener("scroll", S, {
|
|
32429
32433
|
capture: true
|
|
32430
32434
|
}), window.removeEventListener("resize", S);
|
|
32431
|
-
}),
|
|
32435
|
+
}), Lq = [
|
|
32432
32436
|
S
|
|
32433
|
-
], t[20] = S, t[21] =
|
|
32434
|
-
let
|
|
32435
|
-
t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
32436
|
-
let
|
|
32437
|
-
return t[25] !==
|
|
32437
|
+
], t[20] = S, t[21] = Iq, t[22] = Lq), (0, import_react.useEffect)(Iq, Lq);
|
|
32438
|
+
let Rq, zq;
|
|
32439
|
+
t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Rq = () => v, zq = [], t[23] = Rq, t[24] = zq) : (Rq = t[23], zq = t[24]), (0, import_react.useEffect)(Rq, zq);
|
|
32440
|
+
let Bq;
|
|
32441
|
+
return t[25] !== Fq || t[26] !== Q || t[27] !== q || t[28] !== U || t[29] !== S || t[30] !== d || t[31] !== o ? (Bq = {
|
|
32438
32442
|
tooltipState: o,
|
|
32439
32443
|
tooltipContentId: d,
|
|
32440
32444
|
hideTooltip: S,
|
|
32441
32445
|
handleCellMouseOver: U,
|
|
32442
32446
|
handleCellMouseLeave: q,
|
|
32443
32447
|
handleCellFocus: Q,
|
|
32444
|
-
handleCellBlur:
|
|
32445
|
-
}, t[25] =
|
|
32448
|
+
handleCellBlur: Fq
|
|
32449
|
+
}, t[25] = Fq, t[26] = Q, t[27] = q, t[28] = U, t[29] = S, t[30] = d, t[31] = o, t[32] = Bq) : Bq = t[32], Bq;
|
|
32446
32450
|
}
|
|
32447
32451
|
var import_compiler_runtime$18 = require_compiler_runtime();
|
|
32448
32452
|
const CellRangeSelectionIndicator = (0, import_react.memo)((e) => {
|
|
@@ -33221,7 +33225,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
33221
33225
|
return e + t;
|
|
33222
33226
|
}
|
|
33223
33227
|
const TableBottomBar = ({ pagination: e, totalColumns: t, selection: n, onRowSelectionChange: i, table: s, getRowIds: c, showPageSizeSelector: d, tableLoading: f, part: _, className: v }) => {
|
|
33224
|
-
let { locale: y } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), S = (e2) => {
|
|
33228
|
+
let { locale: y } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), S = isStaticNotebook(), E = (e2) => {
|
|
33225
33229
|
if (!i) return;
|
|
33226
33230
|
if (!e2) {
|
|
33227
33231
|
i({});
|
|
@@ -33280,7 +33284,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
33280
33284
|
variant: "link",
|
|
33281
33285
|
className: "h-4 print:hidden",
|
|
33282
33286
|
onMouseDown: Events.preventFocus,
|
|
33283
|
-
onClick: () =>
|
|
33287
|
+
onClick: () => E(true),
|
|
33284
33288
|
children: [
|
|
33285
33289
|
"Select all ",
|
|
33286
33290
|
prettyNumber(d2, y)
|
|
@@ -33303,23 +33307,23 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
33303
33307
|
className: "h-4 print:hidden",
|
|
33304
33308
|
onMouseDown: Events.preventFocus,
|
|
33305
33309
|
onClick: () => {
|
|
33306
|
-
_2 ? s.resetCellSelection && s.resetCellSelection() :
|
|
33310
|
+
_2 ? s.resetCellSelection && s.resetCellSelection() : E(false);
|
|
33307
33311
|
},
|
|
33308
33312
|
children: "Clear selection"
|
|
33309
33313
|
})
|
|
33310
33314
|
]
|
|
33311
33315
|
});
|
|
33312
|
-
let { totalColumns: v2, hiddenColumns:
|
|
33316
|
+
let { totalColumns: v2, hiddenColumns: S2 } = getColumnCountForDisplay(s, t), { rowsAndColumns: w, hiddenSuffix: O } = prettifyRowColumnCount({
|
|
33313
33317
|
numRows: s.getRowCount(),
|
|
33314
33318
|
totalColumns: v2,
|
|
33315
|
-
hiddenColumns:
|
|
33319
|
+
hiddenColumns: S2,
|
|
33316
33320
|
locale: y
|
|
33317
33321
|
});
|
|
33318
33322
|
return (0, import_jsx_runtime.jsxs)("span", {
|
|
33319
33323
|
className: "flex items-center gap-1",
|
|
33320
33324
|
children: [
|
|
33321
33325
|
(0, import_jsx_runtime.jsx)("span", {
|
|
33322
|
-
children:
|
|
33326
|
+
children: w
|
|
33323
33327
|
}),
|
|
33324
33328
|
O && (0, import_jsx_runtime.jsx)("span", {
|
|
33325
33329
|
className: "text-xs",
|
|
@@ -33337,7 +33341,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
33337
33341
|
}),
|
|
33338
33342
|
(0, import_jsx_runtime.jsx)("div", {
|
|
33339
33343
|
className: "ml-auto lg:ml-0 lg:justify-self-center flex items-center shrink-0",
|
|
33340
|
-
children: e && (0, import_jsx_runtime.jsx)(DataTablePagination, {
|
|
33344
|
+
children: e && !S && (0, import_jsx_runtime.jsx)(DataTablePagination, {
|
|
33341
33345
|
table: s,
|
|
33342
33346
|
tableLoading: f,
|
|
33343
33347
|
showPageSizeSelector: d
|
|
@@ -33868,7 +33872,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
33868
33872
|
filename: i2.filename
|
|
33869
33873
|
};
|
|
33870
33874
|
}, t[6] = e, t[7] = O);
|
|
33871
|
-
let A = O, M, I, z, U, K, q, J, Q, $, Iq, Lq, Rq
|
|
33875
|
+
let A = O, M, I, z, U, K, q, J, Q, $, Fq, Iq, Lq, Rq;
|
|
33872
33876
|
if (t[8] !== S || t[9] !== c || t[10] !== n || t[11] !== A || t[12] !== d) {
|
|
33873
33877
|
let e2 = async (t2) => {
|
|
33874
33878
|
let n2 = labelForDownloadFormat(t2);
|
|
@@ -33934,10 +33938,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
33934
33938
|
content: d,
|
|
33935
33939
|
open: o2,
|
|
33936
33940
|
children: h
|
|
33937
|
-
}), t[32] = o2, t[33] = h, t[34] = d, t[35] = Q) : Q = t[35], M = DropdownMenuContent, $ = "bottom",
|
|
33941
|
+
}), t[32] = o2, t[33] = h, t[34] = d, t[35] = Q) : Q = t[35], M = DropdownMenuContent, $ = "bottom", Fq = "print:hidden", t[36] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Iq = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
|
|
33938
33942
|
className: "text-xs text-muted-foreground",
|
|
33939
33943
|
children: "Download"
|
|
33940
|
-
}), t[36] =
|
|
33944
|
+
}), t[36] = Iq) : Iq = t[36], Lq = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
|
|
33941
33945
|
onSelect: () => {
|
|
33942
33946
|
e2(t2.format);
|
|
33943
33947
|
},
|
|
@@ -33958,10 +33962,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
33958
33962
|
]
|
|
33959
33963
|
})
|
|
33960
33964
|
]
|
|
33961
|
-
}, t2.label)), t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
33965
|
+
}, t2.label)), t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Rq = (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {}), z = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
|
|
33962
33966
|
className: "text-xs text-muted-foreground",
|
|
33963
33967
|
children: "Copy to clipboard"
|
|
33964
|
-
}), t[37] = z, t[38] =
|
|
33968
|
+
}), t[37] = z, t[38] = Rq) : (z = t[37], Rq = t[38]), U = copyOptions.map((e3) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
|
|
33965
33969
|
onSelect: async () => {
|
|
33966
33970
|
try {
|
|
33967
33971
|
await a(e3.format);
|
|
@@ -33990,30 +33994,30 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
33990
33994
|
]
|
|
33991
33995
|
})
|
|
33992
33996
|
]
|
|
33993
|
-
}, e3.label)), t[8] = S, 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] =
|
|
33994
|
-
} 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],
|
|
33995
|
-
let
|
|
33996
|
-
t[39] !== M || t[40] !== z || t[41] !== U || t[42] !== $ || t[43] !==
|
|
33997
|
+
}, e3.label)), t[8] = S, 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] = Fq, t[23] = Iq, t[24] = Lq, t[25] = Rq;
|
|
33998
|
+
} 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], Fq = t[22], Iq = t[23], Lq = t[24], Rq = t[25];
|
|
33999
|
+
let zq;
|
|
34000
|
+
t[39] !== M || t[40] !== z || t[41] !== U || t[42] !== $ || t[43] !== Fq || t[44] !== Iq || t[45] !== Lq || t[46] !== Rq ? (zq = (0, import_jsx_runtime.jsxs)(M, {
|
|
33997
34001
|
side: $,
|
|
33998
|
-
className:
|
|
34002
|
+
className: Fq,
|
|
33999
34003
|
children: [
|
|
34004
|
+
Iq,
|
|
34000
34005
|
Lq,
|
|
34001
34006
|
Rq,
|
|
34002
|
-
zq,
|
|
34003
34007
|
z,
|
|
34004
34008
|
U
|
|
34005
34009
|
]
|
|
34006
|
-
}), t[39] = M, t[40] = z, t[41] = U, t[42] = $, t[43] =
|
|
34007
|
-
let
|
|
34008
|
-
return t[48] !== I || t[49] !== K || t[50] !== q || t[51] !== J || t[52] !== Q || t[53] !==
|
|
34010
|
+
}), t[39] = M, t[40] = z, t[41] = U, t[42] = $, t[43] = Fq, t[44] = Iq, t[45] = Lq, t[46] = Rq, t[47] = zq) : zq = t[47];
|
|
34011
|
+
let Bq;
|
|
34012
|
+
return t[48] !== I || t[49] !== K || t[50] !== q || t[51] !== J || t[52] !== Q || t[53] !== zq ? (Bq = (0, import_jsx_runtime.jsxs)(I, {
|
|
34009
34013
|
modal: K,
|
|
34010
34014
|
open: q,
|
|
34011
34015
|
onOpenChange: J,
|
|
34012
34016
|
children: [
|
|
34013
34017
|
Q,
|
|
34014
|
-
|
|
34018
|
+
zq
|
|
34015
34019
|
]
|
|
34016
|
-
}), t[48] = I, t[49] = K, t[50] = q, t[51] = J, t[52] = Q, t[53] =
|
|
34020
|
+
}), t[48] = I, t[49] = K, t[50] = q, t[51] = J, t[52] = Q, t[53] = zq, t[54] = Bq) : Bq = t[54], Bq;
|
|
34017
34021
|
};
|
|
34018
34022
|
function fetchJson(e) {
|
|
34019
34023
|
return fetchText(e).then(jsonParseWithSpecialChar);
|
|
@@ -34109,22 +34113,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
34109
34113
|
]
|
|
34110
34114
|
});
|
|
34111
34115
|
};
|
|
34112
|
-
DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: o, 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:
|
|
34113
|
-
let
|
|
34116
|
+
DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: o, 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: Fq, showSearch: Iq = false, searchQuery: Lq, onSearchQueryChange: Rq, showFilters: zq = false, filters: Bq, onFiltersChange: Vq, calculateTopKRows: Hq, reloading: Uq, freezeColumnsLeft: Wq, freezeColumnsRight: Gq, hiddenColumns: Kq, toggleDisplayHeader: qq, showChartBuilder: Jq, isChartBuilderOpen: Yq, showPageSizeSelector: Xq, showTableExplorer: Zq, togglePanel: Qq, isPanelOpen: $q, isAnyPanelOpen: eJ, viewedRowIdx: tJ, onViewedRowChange: nJ, renderTableExplorerPanel: rJ }) => {
|
|
34117
|
+
let iJ = isStaticNotebook(), aJ = !iJ, [oJ, sJ] = import_react.useState(false), { locale: cJ } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: lJ, setColumnPinning: uJ } = useColumnPinning(Wq, Gq), { columnVisibility: dJ, setColumnVisibility: fJ } = useColumnVisibility(Kq);
|
|
34114
34118
|
import_react.useEffect(() => {
|
|
34115
34119
|
let e2;
|
|
34116
|
-
return
|
|
34117
|
-
|
|
34118
|
-
}, 300) :
|
|
34120
|
+
return Uq ? e2 = setTimeout(() => {
|
|
34121
|
+
sJ(true);
|
|
34122
|
+
}, 300) : sJ(false), () => {
|
|
34119
34123
|
e2 && clearTimeout(e2);
|
|
34120
34124
|
};
|
|
34121
34125
|
}, [
|
|
34122
|
-
|
|
34126
|
+
Uq
|
|
34123
34127
|
]);
|
|
34124
|
-
function
|
|
34128
|
+
function pJ(e2, t2) {
|
|
34125
34129
|
return z ? t2 + (q ? z.pageIndex * z.pageSize : 0) : t2;
|
|
34126
34130
|
}
|
|
34127
|
-
let
|
|
34131
|
+
let mJ = useReactTable({
|
|
34128
34132
|
_features: [
|
|
34129
34133
|
ColumnPinning,
|
|
34130
34134
|
ColumnWrappingFeature,
|
|
@@ -34148,36 +34152,37 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
34148
34152
|
getRowId: (e2, t2) => {
|
|
34149
34153
|
let n2 = getStableRowId(e2);
|
|
34150
34154
|
if (n2) return n2;
|
|
34151
|
-
let i2 =
|
|
34155
|
+
let i2 = pJ(e2, t2);
|
|
34152
34156
|
return String(i2);
|
|
34153
34157
|
}
|
|
34154
34158
|
} : {},
|
|
34155
|
-
locale:
|
|
34159
|
+
locale: cJ,
|
|
34156
34160
|
manualPagination: q,
|
|
34157
34161
|
getPaginationRowModel: getPaginationRowModel(),
|
|
34158
34162
|
...w ? {
|
|
34159
34163
|
onSortingChange: w
|
|
34160
34164
|
} : {},
|
|
34161
34165
|
manualSorting: y,
|
|
34166
|
+
enableSorting: !iJ,
|
|
34162
34167
|
enableMultiSort: true,
|
|
34163
34168
|
getSortedRowModel: getSortedRowModel(),
|
|
34164
34169
|
manualFiltering: true,
|
|
34165
|
-
enableColumnFilters:
|
|
34170
|
+
enableColumnFilters: zq && !iJ,
|
|
34166
34171
|
getFilteredRowModel: getFilteredRowModel(),
|
|
34167
|
-
onColumnFiltersChange:
|
|
34172
|
+
onColumnFiltersChange: Vq,
|
|
34168
34173
|
onRowSelectionChange: Q,
|
|
34169
34174
|
onCellSelectionChange: $,
|
|
34170
34175
|
enableCellSelection: c === "single-cell" || c === "multi-cell",
|
|
34171
34176
|
enableMultiCellSelection: c === "multi-cell",
|
|
34172
|
-
onColumnPinningChange:
|
|
34173
|
-
onColumnVisibilityChange:
|
|
34177
|
+
onColumnPinningChange: uJ,
|
|
34178
|
+
onColumnVisibilityChange: fJ,
|
|
34174
34179
|
enableFocusRow: true,
|
|
34175
|
-
onFocusRowChange:
|
|
34180
|
+
onFocusRowChange: nJ,
|
|
34176
34181
|
state: {
|
|
34177
34182
|
...S ? {
|
|
34178
34183
|
sorting: S
|
|
34179
34184
|
} : {},
|
|
34180
|
-
columnFilters:
|
|
34185
|
+
columnFilters: Bq,
|
|
34181
34186
|
...z ? {
|
|
34182
34187
|
pagination: z
|
|
34183
34188
|
} : J && !z ? {} : {
|
|
@@ -34188,60 +34193,60 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
34188
34193
|
},
|
|
34189
34194
|
rowSelection: E ?? {},
|
|
34190
34195
|
cellSelection: O ?? [],
|
|
34191
|
-
columnVisibility:
|
|
34196
|
+
columnVisibility: dJ,
|
|
34192
34197
|
cellStyling: A,
|
|
34193
|
-
columnPinning:
|
|
34198
|
+
columnPinning: lJ,
|
|
34194
34199
|
cellHoverTemplate: M,
|
|
34195
34200
|
cellHoverTexts: I ?? {}
|
|
34196
34201
|
}
|
|
34197
|
-
}),
|
|
34202
|
+
}), hJ = ($q == null ? void 0 : $q(PANEL_TYPES.ROW_VIEWER)) ?? false, gJ = !J && o.length > 100, _J = useScrollContainerHeight({
|
|
34198
34203
|
maxHeight: n,
|
|
34199
|
-
virtualize:
|
|
34200
|
-
}), [
|
|
34204
|
+
virtualize: gJ
|
|
34205
|
+
}), [vJ, yJ] = import_react.useState(null), bJ = import_react.useMemo(() => ({
|
|
34201
34206
|
requestAddFilter: (e2) => {
|
|
34202
|
-
let t2 =
|
|
34203
|
-
t2 &&
|
|
34207
|
+
let t2 = mJ.getColumn(e2.columnId);
|
|
34208
|
+
t2 && yJ(buildEditorSnapshot(t2, {
|
|
34204
34209
|
operator: e2.operator
|
|
34205
34210
|
}));
|
|
34206
34211
|
}
|
|
34207
34212
|
}), [
|
|
34208
|
-
|
|
34209
|
-
]),
|
|
34213
|
+
mJ
|
|
34214
|
+
]), xJ = getUserColumnVisibilityCounts(mJ), SJ = xJ.total > 0 && xJ.visible === 0;
|
|
34210
34215
|
return (0, import_jsx_runtime.jsx)(FilterEditorProvider, {
|
|
34211
|
-
value:
|
|
34216
|
+
value: bJ,
|
|
34212
34217
|
children: (0, import_jsx_runtime.jsxs)("div", {
|
|
34213
34218
|
className: cn(e, "flex flex-col space-y-1"),
|
|
34214
34219
|
children: [
|
|
34215
34220
|
(0, import_jsx_runtime.jsx)(FilterPills, {
|
|
34216
|
-
filters:
|
|
34217
|
-
table:
|
|
34218
|
-
calculateTopKRows:
|
|
34219
|
-
addFilterSnapshot:
|
|
34220
|
-
onAddFilterSnapshotChange:
|
|
34221
|
+
filters: Bq,
|
|
34222
|
+
table: mJ,
|
|
34223
|
+
calculateTopKRows: Hq,
|
|
34224
|
+
addFilterSnapshot: vJ,
|
|
34225
|
+
onAddFilterSnapshotChange: yJ
|
|
34221
34226
|
}),
|
|
34222
|
-
|
|
34227
|
+
rJ == null ? void 0 : rJ(mJ),
|
|
34223
34228
|
(0, import_jsx_runtime.jsx)(CellSelectionProvider, {
|
|
34224
34229
|
children: (0, import_jsx_runtime.jsxs)("div", {
|
|
34225
34230
|
part: "table-wrapper",
|
|
34226
34231
|
className: cn(t || "rounded-md border overflow-hidden"),
|
|
34227
34232
|
children: [
|
|
34228
|
-
(0, import_jsx_runtime.jsx)(TableTopBar, {
|
|
34229
|
-
table:
|
|
34230
|
-
showSearch:
|
|
34231
|
-
searchQuery:
|
|
34232
|
-
onSearchQueryChange:
|
|
34233
|
-
reloading:
|
|
34234
|
-
showChartBuilder:
|
|
34235
|
-
isChartBuilderOpen:
|
|
34236
|
-
toggleDisplayHeader:
|
|
34237
|
-
showTableExplorer:
|
|
34238
|
-
togglePanel:
|
|
34239
|
-
isAnyPanelOpen:
|
|
34233
|
+
aJ && (0, import_jsx_runtime.jsx)(TableTopBar, {
|
|
34234
|
+
table: mJ,
|
|
34235
|
+
showSearch: Iq,
|
|
34236
|
+
searchQuery: Lq,
|
|
34237
|
+
onSearchQueryChange: Rq,
|
|
34238
|
+
reloading: Uq,
|
|
34239
|
+
showChartBuilder: Jq,
|
|
34240
|
+
isChartBuilderOpen: Yq,
|
|
34241
|
+
toggleDisplayHeader: qq,
|
|
34242
|
+
showTableExplorer: Zq,
|
|
34243
|
+
togglePanel: Qq,
|
|
34244
|
+
isAnyPanelOpen: eJ,
|
|
34240
34245
|
downloadAs: K,
|
|
34241
34246
|
sizeBytes: _,
|
|
34242
34247
|
sizeBytesIsLoading: v
|
|
34243
34248
|
}),
|
|
34244
|
-
|
|
34249
|
+
SJ && (0, import_jsx_runtime.jsxs)(Banner, {
|
|
34245
34250
|
className: "mb-1 mx-2 rounded flex items-center justify-between",
|
|
34246
34251
|
children: [
|
|
34247
34252
|
(0, import_jsx_runtime.jsx)("span", {
|
|
@@ -34250,26 +34255,26 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
34250
34255
|
(0, import_jsx_runtime.jsx)(Button, {
|
|
34251
34256
|
variant: "link",
|
|
34252
34257
|
size: "xs",
|
|
34253
|
-
onClick: () =>
|
|
34258
|
+
onClick: () => mJ.resetColumnVisibility(true),
|
|
34254
34259
|
children: "Unhide all"
|
|
34255
34260
|
})
|
|
34256
34261
|
]
|
|
34257
34262
|
}),
|
|
34258
34263
|
(0, import_jsx_runtime.jsxs)(Table, {
|
|
34259
34264
|
className: cn("relative", i.length <= 4 ? "w-auto" : "w-full"),
|
|
34260
|
-
ref:
|
|
34265
|
+
ref: _J,
|
|
34261
34266
|
children: [
|
|
34262
|
-
|
|
34267
|
+
oJ && (0, import_jsx_runtime.jsx)("thead", {
|
|
34263
34268
|
className: "absolute top-0 left-0 h-[3px] w-1/2 bg-primary animate-slide"
|
|
34264
34269
|
}),
|
|
34265
|
-
renderTableHeader(
|
|
34270
|
+
renderTableHeader(mJ, gJ || !!n),
|
|
34266
34271
|
(0, import_jsx_runtime.jsx)(DataTableBody, {
|
|
34267
|
-
table:
|
|
34272
|
+
table: mJ,
|
|
34268
34273
|
columns: i,
|
|
34269
|
-
rowViewerPanelOpen:
|
|
34270
|
-
getRowIndex:
|
|
34271
|
-
viewedRowIdx:
|
|
34272
|
-
virtualize:
|
|
34274
|
+
rowViewerPanelOpen: hJ,
|
|
34275
|
+
getRowIndex: pJ,
|
|
34276
|
+
viewedRowIdx: tJ,
|
|
34277
|
+
virtualize: gJ
|
|
34273
34278
|
})
|
|
34274
34279
|
]
|
|
34275
34280
|
}),
|
|
@@ -34280,10 +34285,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
34280
34285
|
pagination: J,
|
|
34281
34286
|
selection: c,
|
|
34282
34287
|
onRowSelectionChange: Q,
|
|
34283
|
-
table:
|
|
34284
|
-
getRowIds:
|
|
34285
|
-
showPageSizeSelector:
|
|
34286
|
-
tableLoading:
|
|
34288
|
+
table: mJ,
|
|
34289
|
+
getRowIds: Fq,
|
|
34290
|
+
showPageSizeSelector: Xq,
|
|
34291
|
+
tableLoading: Uq
|
|
34287
34292
|
})
|
|
34288
34293
|
]
|
|
34289
34294
|
})
|
|
@@ -34385,13 +34390,13 @@ ${d}`,
|
|
|
34385
34390
|
}) : (0, import_jsx_runtime.jsx)(ChevronRight, {
|
|
34386
34391
|
className: "h-3 w-3"
|
|
34387
34392
|
}), t[17] = z, t[18] = $);
|
|
34388
|
-
let
|
|
34389
|
-
t[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
34393
|
+
let Fq;
|
|
34394
|
+
t[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Fq = (0, import_jsx_runtime.jsx)("span", {
|
|
34390
34395
|
className: "text-[0.6875rem] uppercase tracking-wider",
|
|
34391
34396
|
children: "Traceback"
|
|
34392
|
-
}), t[19] =
|
|
34393
|
-
let
|
|
34394
|
-
t[20] !== z || t[21] !== J || t[22] !== Q || t[23] !== $ ? (
|
|
34397
|
+
}), t[19] = Fq) : Fq = t[19];
|
|
34398
|
+
let Lq;
|
|
34399
|
+
t[20] !== z || t[21] !== J || t[22] !== Q || t[23] !== $ ? (Lq = (0, import_jsx_runtime.jsxs)("button", {
|
|
34395
34400
|
type: "button",
|
|
34396
34401
|
onClick: J,
|
|
34397
34402
|
"aria-expanded": z,
|
|
@@ -34399,22 +34404,22 @@ ${d}`,
|
|
|
34399
34404
|
className: "self-start flex items-center gap-1 pt-2 text-muted-foreground/70 hover:text-muted-foreground transition-colors",
|
|
34400
34405
|
children: [
|
|
34401
34406
|
$,
|
|
34402
|
-
|
|
34407
|
+
Fq
|
|
34403
34408
|
]
|
|
34404
|
-
}), t[20] = z, t[21] = J, t[22] = Q, t[23] = $, t[24] =
|
|
34405
|
-
let
|
|
34406
|
-
t[25] !== s || t[26] !== z ? (
|
|
34409
|
+
}), t[20] = z, t[21] = J, t[22] = Q, t[23] = $, t[24] = Lq) : Lq = t[24];
|
|
34410
|
+
let Rq;
|
|
34411
|
+
t[25] !== s || t[26] !== z ? (Rq = z && (0, import_jsx_runtime.jsx)("div", {
|
|
34407
34412
|
className: "text-muted-foreground pr-4 text-xs overflow-auto",
|
|
34408
34413
|
children: s
|
|
34409
|
-
}), t[25] = s, t[26] = z, t[27] =
|
|
34410
|
-
let
|
|
34411
|
-
t[28] !== q || t[29] !== M ? (
|
|
34414
|
+
}), t[25] = s, t[26] = z, t[27] = Rq) : Rq = t[27];
|
|
34415
|
+
let zq;
|
|
34416
|
+
t[28] !== q || t[29] !== M ? (zq = M && (0, import_jsx_runtime.jsx)(AIFixButton, {
|
|
34412
34417
|
tooltip: "Fix with AI",
|
|
34413
34418
|
openPrompt: () => q(false),
|
|
34414
34419
|
applyAutofix: () => q(true)
|
|
34415
|
-
}), t[28] = q, t[29] = M, t[30] =
|
|
34416
|
-
let
|
|
34417
|
-
t[31] !== w || t[32] !== v ? (
|
|
34420
|
+
}), t[28] = q, t[29] = M, t[30] = zq) : zq = t[30];
|
|
34421
|
+
let Bq;
|
|
34422
|
+
t[31] !== w || t[32] !== v ? (Bq = w && (0, import_jsx_runtime.jsx)(Tooltip, {
|
|
34418
34423
|
content: "Attach pdb to the exception point.",
|
|
34419
34424
|
children: (0, import_jsx_runtime.jsxs)(Button, {
|
|
34420
34425
|
size: "xs",
|
|
@@ -34431,9 +34436,9 @@ ${d}`,
|
|
|
34431
34436
|
"Launch debugger"
|
|
34432
34437
|
]
|
|
34433
34438
|
})
|
|
34434
|
-
}), t[31] = w, t[32] = v, t[33] =
|
|
34435
|
-
let
|
|
34436
|
-
t[34] !== d || t[35] !== i ? (
|
|
34439
|
+
}), t[31] = w, t[32] = v, t[33] = Bq) : Bq = t[33];
|
|
34440
|
+
let Vq;
|
|
34441
|
+
t[34] !== d || t[35] !== i ? (Vq = I && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
|
|
34437
34442
|
children: [
|
|
34438
34443
|
(0, import_jsx_runtime.jsx)(DropdownMenuTrigger, {
|
|
34439
34444
|
asChild: true,
|
|
@@ -34501,25 +34506,25 @@ ${d}`,
|
|
|
34501
34506
|
]
|
|
34502
34507
|
})
|
|
34503
34508
|
]
|
|
34504
|
-
}), t[34] = d, t[35] = i, t[36] =
|
|
34505
|
-
let
|
|
34506
|
-
t[37] !==
|
|
34509
|
+
}), t[34] = d, t[35] = i, t[36] = Vq) : Vq = t[36];
|
|
34510
|
+
let Hq;
|
|
34511
|
+
t[37] !== zq || t[38] !== Bq || t[39] !== Vq ? (Hq = (0, import_jsx_runtime.jsxs)("div", {
|
|
34507
34512
|
className: "flex gap-2",
|
|
34508
34513
|
children: [
|
|
34514
|
+
zq,
|
|
34509
34515
|
Bq,
|
|
34510
|
-
Vq
|
|
34511
|
-
Hq
|
|
34516
|
+
Vq
|
|
34512
34517
|
]
|
|
34513
|
-
}), t[37] =
|
|
34514
|
-
let
|
|
34515
|
-
return t[41] !==
|
|
34518
|
+
}), t[37] = zq, t[38] = Bq, t[39] = Vq, t[40] = Hq) : Hq = t[40];
|
|
34519
|
+
let Uq;
|
|
34520
|
+
return t[41] !== Lq || t[42] !== Rq || t[43] !== Hq ? (Uq = (0, import_jsx_runtime.jsxs)("div", {
|
|
34516
34521
|
className: "flex flex-col gap-2 min-w-full w-fit",
|
|
34517
34522
|
children: [
|
|
34523
|
+
Lq,
|
|
34518
34524
|
Rq,
|
|
34519
|
-
|
|
34520
|
-
Uq
|
|
34525
|
+
Hq
|
|
34521
34526
|
]
|
|
34522
|
-
}), t[41] =
|
|
34527
|
+
}), t[41] = Lq, t[42] = Rq, t[43] = Hq, t[44] = Uq) : Uq = t[44], Uq;
|
|
34523
34528
|
};
|
|
34524
34529
|
function lastLine(e) {
|
|
34525
34530
|
var _a2, _b;
|
|
@@ -35996,7 +36001,7 @@ ${d}`,
|
|
|
35996
36001
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
35997
36002
|
}
|
|
35998
36003
|
}
|
|
35999
|
-
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.12
|
|
36004
|
+
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.12");
|
|
36000
36005
|
showCodeInRunModeAtom = atom(true);
|
|
36001
36006
|
atom(null);
|
|
36002
36007
|
var import_compiler_runtime = require_compiler_runtime();
|
|
@@ -36025,11 +36030,11 @@ ${d}`,
|
|
|
36025
36030
|
});
|
|
36026
36031
|
export {
|
|
36027
36032
|
contextAwarePanelOpen as $,
|
|
36028
|
-
|
|
36033
|
+
EmotionCacheProvider as $t,
|
|
36029
36034
|
prettifyRowCount as A,
|
|
36030
36035
|
SELECT_COLUMN_ID as At,
|
|
36031
36036
|
DatePicker as B,
|
|
36032
|
-
|
|
36037
|
+
dateToLocalISOTime as Bt,
|
|
36033
36038
|
downloadSizeLimitAtom as C,
|
|
36034
36039
|
DelayMount as Ct,
|
|
36035
36040
|
ErrorState as D,
|
|
@@ -36037,19 +36042,19 @@ export {
|
|
|
36037
36042
|
EmptyState as E,
|
|
36038
36043
|
getPageIndexForRow as Et,
|
|
36039
36044
|
ContextMenuSeparator as F,
|
|
36040
|
-
|
|
36045
|
+
isRecord as Ft,
|
|
36041
36046
|
CommandEmpty as G,
|
|
36042
|
-
|
|
36047
|
+
ChartErrorState as Gt,
|
|
36043
36048
|
Combobox as H,
|
|
36044
|
-
|
|
36049
|
+
TabsContent as Ht,
|
|
36045
36050
|
ContextMenuTrigger as I,
|
|
36046
|
-
|
|
36051
|
+
isNullishFilter as It,
|
|
36047
36052
|
CommandList as J,
|
|
36048
|
-
|
|
36053
|
+
LazyVegaEmbed as Jt,
|
|
36049
36054
|
CommandInput as K,
|
|
36050
|
-
|
|
36055
|
+
ChartInfoState as Kt,
|
|
36051
36056
|
useInternalStateWithSync as L,
|
|
36052
|
-
|
|
36057
|
+
Maps as Lt,
|
|
36053
36058
|
ContextMenu as M,
|
|
36054
36059
|
toFieldTypes as Mt,
|
|
36055
36060
|
ContextMenuContent as N,
|
|
@@ -36057,84 +36062,86 @@ export {
|
|
|
36057
36062
|
LoadingState as O,
|
|
36058
36063
|
loadTableData as Ot,
|
|
36059
36064
|
ContextMenuItem as P,
|
|
36060
|
-
|
|
36065
|
+
hasFunctionProperty as Pt,
|
|
36061
36066
|
PANEL_TYPES as Q,
|
|
36062
|
-
|
|
36067
|
+
HtmlOutput as Qt,
|
|
36063
36068
|
useSelectList as R,
|
|
36064
|
-
|
|
36069
|
+
dateToLocalISODate as Rt,
|
|
36065
36070
|
Filenames as S,
|
|
36066
36071
|
ColumnChartSpecModel as St,
|
|
36067
36072
|
ColumnPreviewContainer as T,
|
|
36068
36073
|
usePrevious as Tt,
|
|
36069
36074
|
ComboboxItem as U,
|
|
36070
|
-
|
|
36075
|
+
TabsList as Ut,
|
|
36071
36076
|
DateRangePicker as V,
|
|
36072
|
-
|
|
36077
|
+
Tabs as Vt,
|
|
36073
36078
|
Command as W,
|
|
36074
|
-
|
|
36079
|
+
TabsTrigger as Wt,
|
|
36075
36080
|
smartMatch as X,
|
|
36076
|
-
|
|
36081
|
+
RenderTextWithLinks as Xt,
|
|
36077
36082
|
CommandSeparator as Y,
|
|
36078
|
-
|
|
36083
|
+
useOverflowDetection as Yt,
|
|
36079
36084
|
ContextAwarePanelItem as Z,
|
|
36080
|
-
|
|
36085
|
+
Kbd as Zt,
|
|
36081
36086
|
ADD_PRINTING_CLASS as _,
|
|
36082
36087
|
__tla,
|
|
36083
36088
|
NAMELESS_COLUMN_PREFIX as _t,
|
|
36084
36089
|
DEFAULT_SLIDE_TYPE as a,
|
|
36085
|
-
|
|
36090
|
+
EyeOff as an,
|
|
36086
36091
|
Toggle as at,
|
|
36087
36092
|
downloadHTMLAsImage as b,
|
|
36088
36093
|
renderCellValue as bt,
|
|
36089
36094
|
Slide as c,
|
|
36090
|
-
|
|
36095
|
+
Download as cn,
|
|
36091
36096
|
PanelResizeHandle as ct,
|
|
36092
36097
|
RadioGroupItem as d,
|
|
36093
|
-
|
|
36098
|
+
ChevronsRight as dn,
|
|
36094
36099
|
Table as dt,
|
|
36095
|
-
|
|
36100
|
+
$fae977aafc393c5c$export$588937bcd60ade55 as en,
|
|
36096
36101
|
contextAwarePanelOwner as et,
|
|
36097
36102
|
JsonOutput as f,
|
|
36098
|
-
|
|
36103
|
+
ChevronsLeft as fn,
|
|
36099
36104
|
TableBody as ft,
|
|
36100
36105
|
InstallPackageButton as g,
|
|
36101
36106
|
TableRow as gt,
|
|
36102
36107
|
DataTable as h,
|
|
36108
|
+
ArrowDownWideNarrow as hn,
|
|
36103
36109
|
TableHeader as ht,
|
|
36104
36110
|
DEFAULT_DECK_TRANSITION as i,
|
|
36105
|
-
|
|
36111
|
+
Funnel as in,
|
|
36106
36112
|
slotsController as it,
|
|
36107
36113
|
getColumnCountForDisplay as j,
|
|
36108
36114
|
TOO_MANY_ROWS as jt,
|
|
36109
36115
|
prettifyRowColumnCount as k,
|
|
36110
36116
|
INDEX_COLUMN_NAME as kt,
|
|
36111
36117
|
Switch as l,
|
|
36112
|
-
|
|
36118
|
+
Code as ln,
|
|
36113
36119
|
Fill as lt,
|
|
36114
36120
|
OutputRenderer as m,
|
|
36121
|
+
ChevronLeft as mn,
|
|
36115
36122
|
TableHead as mt,
|
|
36116
36123
|
marimoVersionAtom as n,
|
|
36117
|
-
|
|
36124
|
+
TextWrap as nn,
|
|
36118
36125
|
isCellAwareAtom as nt,
|
|
36119
36126
|
SLIDE_TYPE_OPTIONS_BY_VALUE as o,
|
|
36120
|
-
|
|
36127
|
+
Expand as on,
|
|
36121
36128
|
Panel as ot,
|
|
36122
36129
|
OutputArea as p,
|
|
36123
|
-
|
|
36130
|
+
ChevronsDownUp as pn,
|
|
36124
36131
|
TableCell as pt,
|
|
36125
36132
|
CommandItem as q,
|
|
36126
|
-
|
|
36133
|
+
ChartLoadingState as qt,
|
|
36127
36134
|
showCodeInRunModeAtom as r,
|
|
36128
|
-
|
|
36135
|
+
GripHorizontal as rn,
|
|
36129
36136
|
SlotNames as rt,
|
|
36130
36137
|
SlideSidebar as s,
|
|
36131
|
-
|
|
36138
|
+
Ellipsis as sn,
|
|
36132
36139
|
PanelGroup as st,
|
|
36133
36140
|
useNotebookCodeAvailable as t,
|
|
36134
|
-
|
|
36141
|
+
$fae977aafc393c5c$export$6b862160d295c8e as tn,
|
|
36135
36142
|
contextAwarePanelType as tt,
|
|
36136
36143
|
RadioGroup as u,
|
|
36137
|
-
|
|
36144
|
+
ChevronsUpDown as un,
|
|
36138
36145
|
Provider$1 as ut,
|
|
36139
36146
|
downloadBlob as v,
|
|
36140
36147
|
generateColumns as vt,
|
|
@@ -36145,5 +36152,5 @@ export {
|
|
|
36145
36152
|
downloadByURL as y,
|
|
36146
36153
|
inferFieldTypes as yt,
|
|
36147
36154
|
CompactChipRow as z,
|
|
36148
|
-
|
|
36155
|
+
dateToLocalISODateTime as zt
|
|
36149
36156
|
};
|