@marimo-team/islands 0.23.10-dev2 → 0.23.10-dev20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ConnectedDataExplorerComponent-CyV83R2m.js → ConnectedDataExplorerComponent-DdeG-Hi-.js} +23 -23
- package/dist/{any-language-editor-DfdpyDv_.js → any-language-editor-CiES2a2h.js} +2 -2
- package/dist/{chat-ui-ar37brtL.js → chat-ui-BTobdMRF.js} +61 -61
- package/dist/{code-visibility-B88v1No3.js → code-visibility-51MFr9ZL.js} +1212 -1046
- package/dist/{copy-BuQpJEzp.js → copy-5jQ_kGE1.js} +32 -32
- package/dist/{esm-BfhQmZjp.js → esm-CCuYCd3R.js} +1 -1
- package/dist/{extends-BgdxCfYu.js → extends-CkydH1Q5.js} +1 -1
- package/dist/{glide-data-editor-BOmK9ETQ.js → glide-data-editor-CRvL2R9l.js} +7 -7
- package/dist/{html-to-image-Cp8O1OWB.js → html-to-image-CjsdUYrb.js} +2258 -2238
- package/dist/{input-_2sjvfne.js → input-DVkbXbIX.js} +183 -181
- package/dist/main.js +1564 -1362
- package/dist/{process-output-CaUUWhh8.js → process-output-CI8a-CUx.js} +2 -2
- package/dist/{reveal-component-CfFoUPFg.js → reveal-component-ZPJ8w6yK.js} +5 -5
- package/dist/{spec-B96zNUEA.js → spec-DMRQmLOc.js} +2 -2
- package/dist/{strings-Bu3vlb6W.js → strings-GCJA9n6d.js} +25 -24
- package/dist/style.css +1 -1
- package/dist/{useDateFormatter-BA4FCquG.js → useDateFormatter-BRcO_TGJ.js} +1 -1
- package/package.json +2 -2
- package/src/components/data-table/__tests__/data-table.test.tsx +154 -12
- package/src/components/data-table/hover-tooltip/__tests__/content.test.ts +60 -0
- package/src/components/data-table/hover-tooltip/content.ts +44 -0
- package/src/components/data-table/hover-tooltip/hover-tooltip.tsx +55 -0
- package/src/components/data-table/hover-tooltip/use-table-hover-tooltip.ts +159 -0
- package/src/components/data-table/renderers.tsx +27 -43
- package/src/components/datasources/__tests__/filter-empty.test.ts +183 -0
- package/src/components/datasources/datasources.tsx +92 -3
- package/src/components/editor/cell/cell-context-menu.tsx +15 -2
- package/src/components/editor/documentation.css +16 -0
- package/src/components/editor/file-tree/file-explorer.tsx +8 -18
- package/src/components/editor/file-tree/tree-actions.tsx +46 -1
- package/src/components/slides/__tests__/minimap-actions.test.tsx +166 -0
- package/src/components/slides/minimap.tsx +127 -10
- package/src/components/storage/__tests__/storage-inspector.test.ts +53 -0
- package/src/components/storage/storage-inspector.tsx +68 -48
- package/src/components/ui/__tests__/use-toast.test.ts +75 -0
- package/src/components/ui/use-toast.ts +33 -13
- package/src/core/cells/__tests__/__snapshots__/cells.test.ts.snap +0 -28
- package/src/core/cells/__tests__/cell.test.ts +29 -2
- package/src/core/cells/cell.ts +5 -1
- package/src/core/codemirror/go-to-definition/__tests__/utils.test.ts +37 -0
- package/src/core/codemirror/go-to-definition/commands.ts +17 -9
- package/src/core/codemirror/go-to-definition/utils.ts +1 -0
- package/src/core/codemirror/language/languages/sql/utils.ts +3 -1
- package/src/core/datasets/data-source-connections.ts +2 -0
- package/src/core/network/__tests__/requests-static.test.ts +30 -0
- package/src/core/network/requests-static.ts +14 -10
- package/src/plugins/layout/DownloadPlugin.tsx +1 -1
|
@@ -5,23 +5,23 @@ import { s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
|
|
|
5
5
|
import { _ as Logger, c as Objects, g as cn, h as Events, m as useComposedRefs, n as buttonVariants, p as composeRefs, r as cva, t as Button, v as Functions } from "./button-C5K9fIPF.js";
|
|
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
|
-
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-
|
|
9
|
-
import { $ as
|
|
8
|
+
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-5jQ_kGE1.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, 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, 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-CjsdUYrb.js";
|
|
10
10
|
import { o as useSize, u as createLucideIcon } from "./dist-C1BYNeCR.js";
|
|
11
11
|
import { c as Calendar, i as createReducerAndAtoms, r as Badge } from "./useLifecycle-BBO9PIph.js";
|
|
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-
|
|
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-BRcO_TGJ.js";
|
|
13
13
|
import { t as Check } from "./check-DTbrK0zt.js";
|
|
14
|
-
import { C as
|
|
15
|
-
import { $ as $e5be200c675c3b3a$export$
|
|
14
|
+
import { C as logNever, E as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, I as X, N as usePrevious$1, O as $b5e257d569688ac6$export$535bd6ca7f90a273, P as useDirection, R as ChevronDown, T as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, _ as menuControlVariants, b as menuSeparatorVariants, f as selectStyles, g as menuControlCheckVariants, h as menuContentCommon, i as SelectContent, l as SelectTrigger, o as SelectItem, p as MENU_ITEM_DISABLED, r as Select, t as Strings, u as SelectValue, v as menuItemVariants, w as $a916eb452884faea$export$b7a616150fdb9f44, x as menuSubTriggerVariants, y as menuLabelVariants } from "./strings-GCJA9n6d.js";
|
|
15
|
+
import { $ as $e5be200c675c3b3a$export$a763b9476acd3eb, $t as Label$1, A as $514c0188e459b4c0$export$9afb8bc826b033ea, At as $c87311424ea30a05$export$a11b0059900ceec8, B as $64fa3d84918910a7$export$c245e6201fed2f75, Bt as $431fbd86ca7dc216$export$b204af158042fbac, C as $3985021b0ad6602f$export$f5b8910cec6cf069, Ct as $e9faafb641e167db$export$90fc3a17d93f704c, D as $ee014567cb39d3f0$export$f551688fc98f2e09, Dt as $c87311424ea30a05$export$6446a186d09e379e, E as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Et as $313b98861ee5dd6c$export$d6875122194c7b44, F as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Ft as $d4ee10de306f2510$export$4282f70798064fe0, Gt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, H as $64fa3d84918910a7$export$df3a06d6289f983e, Ht as $ff5963eb1fccf552$export$e08e3b67e392101e, I as $64fa3d84918910a7$export$2881499e37b75b9a, It as $d4ee10de306f2510$export$b4f377a2b6254582, Jt as CheckboxItem, K as marked, Kt as Anchor2, L as $64fa3d84918910a7$export$29f1550f4b0d4415, Lt as $d4ee10de306f2510$export$cd4e5573fbe2b576, M as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, Mt as $7215afc6de606d6b$export$de79e2c695e052f3, N as $01b77f81d0f07f68$export$75b6ee27786ba447, Nt as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, O as $ee014567cb39d3f0$export$ff05c3ac10437e03, Ot as $c87311424ea30a05$export$78551043582a6a98, P as $01b77f81d0f07f68$export$b04be29aa201d4f5, Pt as $3ef42575df84b30b$export$9d1611c77c2fe928, Q as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, Qt as ItemIndicator, R as $64fa3d84918910a7$export$4d86445c2cf5e3, Rt as $d4ee10de306f2510$export$e58f029f0fbfdb29, S as $3985021b0ad6602f$export$37fb8590cf2c088c, St as $99facab73266f662$export$5add1d006293d136, T as $a049562f99e7db0e$export$f9c6924e160136d1, Tt as $df56164dff5785e2$export$4338b53315abf666, U as $64fa3d84918910a7$export$ef03459518577ad4, Ut as $bdb11010cef70236$export$b4cc09c592e8fdb8, V as $64fa3d84918910a7$export$c62b8e45d58ddad9, Vt as $431fbd86ca7dc216$export$f21a1ffae260145a, W as $64fa3d84918910a7$export$fabf2dc03a41866e, Wt as $bdb11010cef70236$export$f680877a34711e37, X as $2baaea4c71418dea$export$294aa081a6c6f55d, Xt as Group, Y as $d2e8511e6f209edf$export$e908e06f4b8e3402, Yt as Content2$1, Z as $e93e671b31057976$export$b8473d3665f3a75a, Zt as Item2$2, _t as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, a as NumberField, an as Sub, b as DropdownMenuSubTrigger, bt as $b4b717babfbb907b$export$4c063cf1350e6fed, c as prettyNumber, cn as createMenuScope, ct as $fca6afa0e843324b$export$f12b703ca79dfbb1, d as DropdownMenuContent, dn as createRovingFocusGroupScope, dt as $6179b936705e76d3$export$ae780daf29e6d456, en as Portal, et as $e5be200c675c3b3a$export$aca958c65c314e6c, fn as Search, ft as $9ab94262bd0047c7$export$420e68273165f4ec, g as DropdownMenuSeparator, gt as _class_private_field_init, h as DropdownMenuPortal, ht as $f6c31cce2adf654f$export$45712eceda6fad21, in as Separator$1, it as $f7dceffc5ad7768b$export$4e328f61c538687f, j as $d2b4bc8c273e7be6$export$24d547caef80ccd1, jt as $c87311424ea30a05$export$fedb369cb70207f1, k as $514c0188e459b4c0$export$5f1af8db9871e1d6, kt as $c87311424ea30a05$export$9ac100e40613ea10, l as prettyScientificNumber, ln as Item, lt as $6db58dc88e78b024$export$2f817fcdc4b89ae0, m as DropdownMenuLabel, mn as ChevronRight, mt as $507fabe10e71c6fb$export$630ff653c5ada6a9, nn as RadioItem, nt as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, o as maxFractionalDigits, on as SubContent, ot as $6c7bd7858deea686$export$cd11ab140839f11d, p as DropdownMenuItem, pn as Circle, pt as $3ad3f6e1647bc98d$export$80f3e147d781571c, qt as Arrow2, r as Input, rn as Root3, rt as $319e236875307eab$export$a9b970dcc4ae71a9, s as prettyEngineeringNumber, sn as SubTrigger, st as $fca6afa0e843324b$export$87b761675e8eaa10, tn as RadioGroup$2, tt as $e5be200c675c3b3a$export$dad6ae84456c676a, u as DropdownMenu, un as Root$2, ut as $5b160d28a433310d$export$c17fa47878dc55b6, v as DropdownMenuSub, vt as $9446cca9a3875146$export$7d15b64cf5a3a4c4, w as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, wt as $8ae05eaa5c114e9c$export$7f54fc3180508a52, x as DropdownMenuTrigger, xt as $b4b717babfbb907b$export$bebd5a1431fec25d, y as DropdownMenuSubContent, yt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, z as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, zt as $f4e2df6bd15f8569$export$98658e8c59125e6a } from "./input-DVkbXbIX.js";
|
|
16
16
|
import { _ as isWasm, a as millisecondsInMinute, c as asRemoteURL, d as isStaticNotebook, i as millisecondsInHour, n as constructFrom, o as millisecondsInSecond, p as isUrl, r as millisecondsInDay, s as millisecondsInWeek, t as toDate } from "./toDate-x-WRDCH7.js";
|
|
17
17
|
import { r as Plus, t as ErrorBoundary } from "./ErrorBoundary-rULOrC_p.js";
|
|
18
18
|
import { n as clsx_default } from "./clsx-CIWA5tNO.js";
|
|
19
19
|
import { t as require_react_dom } from "./react-dom-BTJzcVJ9.js";
|
|
20
20
|
import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
21
|
-
import { $ as StyleNamespace, X as withFullScreenAsRoot, Y as MAX_HEIGHT_OFFSET, Z as withSmartCollisionBoundary, _t as Primitive$1, dt as Presence, ft as useControllableState, gt as createContextScope, lt as useCallbackRef, mt as composeEventHandlers, ut as useId$
|
|
21
|
+
import { $ as StyleNamespace, X as withFullScreenAsRoot, Y as MAX_HEIGHT_OFFSET, Z as withSmartCollisionBoundary, _t as Primitive$1, dt as Presence, ft as useControllableState, gt as createContextScope, lt as useCallbackRef, mt as composeEventHandlers, ut as useId$2 } from "./zod-CoBiJ5v4.js";
|
|
22
22
|
import { a as Content$1, c as Root$3, i as prettyError, n as ErrorBanner, o as Overlay, s as Portal$1, t as Banner } from "./error-banner-5bz0L9hS.js";
|
|
23
|
-
import { t as Tooltip } from "./tooltip-C5FYOpQc.js";
|
|
24
|
-
import { f as CopyClipboardIcon, t as _extends } from "./extends-
|
|
23
|
+
import { a as TooltipRoot, n as TooltipContent, o as TooltipTrigger, r as TooltipPortal, t as Tooltip } from "./tooltip-C5FYOpQc.js";
|
|
24
|
+
import { f as CopyClipboardIcon, t as _extends } from "./extends-CkydH1Q5.js";
|
|
25
25
|
import { r as KnownQueryParams } from "./constants-T20xxyNf.js";
|
|
26
26
|
import { C as getBuildingBlocks, S as buildStore, T as useEvent_default, _ as useAtomValue, b as atom, f as useJotaiEffect, g as useAtom, h as Provider, n as useTheme, r as aiFeaturesEnabledAtom, s as resolvedMarimoConfigAtom, v as useSetAtom, w as dequal, y as useStore } from "./useTheme-DHIrRQOe.js";
|
|
27
27
|
import { Z as EditorView } from "./dist-DNdhYsgW.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-BWLPpjKK.js";
|
|
36
36
|
import { t as useIframeCapabilities } from "./useIframeCapabilities-C4JTXTIh.js";
|
|
37
37
|
import { t as useAsyncData } from "./useAsyncData-iRgKDT5s.js";
|
|
38
|
-
let
|
|
38
|
+
let PanelGroup, Code, ContextMenuTrigger, dateToLocalISOTime, CommandList, RenderTextWithLinks, prettifyRowColumnCount, TOO_MANY_ROWS, ContextMenuContent, Maps, ContextMenu, isNullishFilter, ComboboxItem, ChartErrorState, contextAwarePanelOpen, $fae977aafc393c5c$export$6b862160d295c8e, smartMatch, HtmlOutput, Command, ChartInfoState, isCellAwareAtom, Funnel, contextAwarePanelOwner, TextWrap, CommandEmpty, ChartLoadingState, DatePicker, TabsContent, DateRangePicker, TabsList, ContextMenuItem, dateToLocalISODate, Combobox, TabsTrigger, Panel, Download, CommandInput, LazyVegaEmbed, downloadSizeLimitAtom, SELECT_COLUMN_ID, getColumnCountForDisplay, getMimeValues, ContextAwarePanelItem, EmotionCacheProvider, CommandSeparator, Kbd, PANEL_TYPES, $fae977aafc393c5c$export$588937bcd60ade55, slotsController, Expand, SlotNames, EyeOff, Toggle, Ellipsis, downloadBlob, usePrevious, DEFAULT_SLIDE_TYPE, ArrowDownWideNarrow, TableCell, Progress, loadTableData, Slide, TableRow, JsonOutput, inferFieldTypes, ChevronsUpDown, PanelResizeHandle, OutputArea, renderCellValue, ADD_PRINTING_CLASS, useIntersectionObserver, InstallPackageButton, DelayMount, DEFAULT_DECK_TRANSITION, ChevronLeft, TableBody, useInternalStateWithSync, Tabs, ContextMenuSeparator, dateToLocalISODateTime, RadioGroup, NAMELESS_COLUMN_PREFIX, DataTable, ColumnChartSpecModel, marimoVersionAtom, ChevronsLeft, Provider$1, SLIDE_TYPE_OPTIONS_BY_VALUE, TableHead, OutputRenderer, ColumnChartContext, contextAwarePanelType, GripHorizontal, showCodeInRunModeAtom, ChevronsDownUp, Table, SlideSidebar, TableHeader, useNotebookCodeAvailable, ChevronsRight, Fill, RadioGroupItem, generateColumns, downloadByURL, getPageIndexForRow, prettifyRowCount, toFieldTypes, Filenames, INDEX_COLUMN_NAME, downloadHTMLAsImage, loadTableAndRawData, CommandItem, useOverflowDetection;
|
|
39
39
|
let __tla = Promise.all([
|
|
40
40
|
(() => {
|
|
41
41
|
try {
|
|
@@ -1580,7 +1580,7 @@ Defaulting to \`null\`.`;
|
|
|
1580
1580
|
});
|
|
1581
1581
|
return (0, import_jsx_runtime.jsx)(TabsProvider, {
|
|
1582
1582
|
scope: n,
|
|
1583
|
-
baseId: useId$
|
|
1583
|
+
baseId: useId$2(),
|
|
1584
1584
|
value: _,
|
|
1585
1585
|
onValueChange: v,
|
|
1586
1586
|
orientation: s,
|
|
@@ -1902,21 +1902,21 @@ Defaulting to \`null\`.`;
|
|
|
1902
1902
|
function $2f04cbc44ee30ce0$export$53a0910f038337bd(e, t, n = {}) {
|
|
1903
1903
|
let { block: i = "nearest", inline: a = "nearest" } = n;
|
|
1904
1904
|
if (e === t) return;
|
|
1905
|
-
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,
|
|
1906
|
-
h.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ?
|
|
1907
|
-
let
|
|
1908
|
-
if (
|
|
1909
|
-
else if (
|
|
1910
|
-
else if (
|
|
1911
|
-
else if (
|
|
1912
|
-
let e2 =
|
|
1905
|
+
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, GK = parseInt(h.borderRightWidth, 10) || 0, KK = c.top - E, qK = c.bottom + O, JK = c.left - A, $ = c.right + M, YK = e === _ ? 0 : Q + GK, XK = e === _ ? 0 : q + J, ZK = e.offsetWidth - e.clientWidth - YK, QK = e.offsetHeight - e.clientHeight - XK, $K = v + q + I, eq = y - J - z - QK, tq = S + Q + U, nq = w - GK - K;
|
|
1906
|
+
h.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ? tq += ZK : nq -= ZK;
|
|
1907
|
+
let rq = KK < $K || qK > eq, iq = JK < tq || $ > nq;
|
|
1908
|
+
if (rq && i === "start") o += KK - $K;
|
|
1909
|
+
else if (rq && i === "center") o += (KK + qK) / 2 - ($K + eq) / 2;
|
|
1910
|
+
else if (rq && i === "end") o += qK - eq;
|
|
1911
|
+
else if (rq && i === "nearest") {
|
|
1912
|
+
let e2 = KK - $K, t2 = qK - eq;
|
|
1913
1913
|
o += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
|
|
1914
1914
|
}
|
|
1915
|
-
if (
|
|
1916
|
-
else if (
|
|
1917
|
-
else if (
|
|
1918
|
-
else if (
|
|
1919
|
-
let e2 =
|
|
1915
|
+
if (iq && a === "start") s += JK - tq;
|
|
1916
|
+
else if (iq && a === "center") s += (JK + $) / 2 - (tq + nq) / 2;
|
|
1917
|
+
else if (iq && a === "end") s += $ - nq;
|
|
1918
|
+
else if (iq && a === "nearest") {
|
|
1919
|
+
let e2 = JK - tq, t2 = $ - nq;
|
|
1920
1920
|
s += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
|
|
1921
1921
|
}
|
|
1922
1922
|
e.scrollTo({
|
|
@@ -5024,25 +5024,25 @@ Defaulting to \`null\`.`;
|
|
|
5024
5024
|
let e2 = $edcf132a9284368a$var$parsePlacement(`${$edcf132a9284368a$var$FLIPPED_DIRECTION[U]} ${K}`), i2 = $edcf132a9284368a$var$computePosition(t, c, n, e2, h, _, f, v, S, w, d);
|
|
5025
5025
|
$edcf132a9284368a$var$getAvailableSpace(c, f, t, a, o + h, e2, d, E) > Q && (A = e2, q = i2, J = h);
|
|
5026
5026
|
}
|
|
5027
|
-
let
|
|
5028
|
-
A.axis === "top" ? A.placement === "top" ?
|
|
5029
|
-
let
|
|
5030
|
-
q[I] +=
|
|
5031
|
-
let
|
|
5032
|
-
y && y <
|
|
5033
|
-
let
|
|
5034
|
-
|
|
5035
|
-
let
|
|
5036
|
-
x: U === "top" || U === "bottom" ?
|
|
5037
|
-
y: U === "left" || U === "right" ?
|
|
5027
|
+
let GK = "bottom";
|
|
5028
|
+
A.axis === "top" ? A.placement === "top" ? GK = "top" : A.placement === "bottom" && (GK = "bottom") : A.crossAxis === "top" && (A.crossPlacement === "top" ? GK = "bottom" : A.crossPlacement === "bottom" && (GK = "top"));
|
|
5029
|
+
let KK = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f);
|
|
5030
|
+
q[I] += KK;
|
|
5031
|
+
let qK = $edcf132a9284368a$var$getMaxHeight(q, c, f, v, a, o, n.height, GK, d, E, O);
|
|
5032
|
+
y && y < qK && (qK = y), n.height = Math.min(n.height, qK), q = $edcf132a9284368a$var$computePosition(t, c, n, A, J, _, f, v, S, w, d), KK = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f), q[I] += KK;
|
|
5033
|
+
let JK = {}, $ = t[I] - q[I] - a[$edcf132a9284368a$var$AXIS[I]], YK = $ + 0.5 * t[z], XK = S / 2 + w, ZK = $edcf132a9284368a$var$AXIS[I] === "left" ? (a.left ?? 0) + (a.right ?? 0) : (a.top ?? 0) + (a.bottom ?? 0), QK = n[z] - ZK - S / 2 - w;
|
|
5034
|
+
JK[I] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(YK, t[I] + S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]]), t[I] + t[z] - S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]])), XK, QK), { placement: U, crossPlacement: K } = A, S ? $ = JK[I] : K === "right" ? $ += t[z] : K === "center" && ($ += t[z] / 2);
|
|
5035
|
+
let $K = U === "left" || U === "top" ? n[M] : 0, eq = {
|
|
5036
|
+
x: U === "top" || U === "bottom" ? $ : $K,
|
|
5037
|
+
y: U === "left" || U === "right" ? $ : $K
|
|
5038
5038
|
};
|
|
5039
5039
|
return {
|
|
5040
5040
|
position: q,
|
|
5041
|
-
maxHeight:
|
|
5042
|
-
arrowOffsetLeft:
|
|
5043
|
-
arrowOffsetTop:
|
|
5041
|
+
maxHeight: qK,
|
|
5042
|
+
arrowOffsetLeft: JK.left,
|
|
5043
|
+
arrowOffsetTop: JK.top,
|
|
5044
5044
|
placement: U,
|
|
5045
|
-
triggerAnchorPoint:
|
|
5045
|
+
triggerAnchorPoint: eq
|
|
5046
5046
|
};
|
|
5047
5047
|
}
|
|
5048
5048
|
function $edcf132a9284368a$export$b3ceb0cbf1056d98(e) {
|
|
@@ -6867,7 +6867,7 @@ Defaulting to \`null\`.`;
|
|
|
6867
6867
|
let e2 = window.getSelection();
|
|
6868
6868
|
(e2 == null ? void 0 : e2.anchorNode) && $d4ee10de306f2510$export$4282f70798064fe0(n.current, e2 == null ? void 0 : e2.anchorNode) && e2.collapse(n.current);
|
|
6869
6869
|
});
|
|
6870
|
-
let
|
|
6870
|
+
let GK = (0, import_react.useRef)("");
|
|
6871
6871
|
$e9faafb641e167db$export$90fc3a17d93f704c(n, "beforeinput", (i2) => {
|
|
6872
6872
|
if (n.current) switch (i2.preventDefault(), i2.inputType) {
|
|
6873
6873
|
case "deleteContentBackward":
|
|
@@ -6875,7 +6875,7 @@ Defaulting to \`null\`.`;
|
|
|
6875
6875
|
E.isValidPartialNumber(e.text) && !t.isReadOnly && O();
|
|
6876
6876
|
break;
|
|
6877
6877
|
case "insertCompositionText":
|
|
6878
|
-
|
|
6878
|
+
GK.current = n.current.textContent, n.current.textContent = n.current.textContent;
|
|
6879
6879
|
break;
|
|
6880
6880
|
default:
|
|
6881
6881
|
i2.data != null && J(i2.data);
|
|
@@ -6885,7 +6885,7 @@ Defaulting to \`null\`.`;
|
|
|
6885
6885
|
let { inputType: t2, data: i2 } = e2;
|
|
6886
6886
|
switch (t2) {
|
|
6887
6887
|
case "insertCompositionText":
|
|
6888
|
-
n.current && (n.current.textContent =
|
|
6888
|
+
n.current && (n.current.textContent = GK.current), i2 != null && (M(z, i2) || M(U, i2)) && J(i2);
|
|
6889
6889
|
break;
|
|
6890
6890
|
}
|
|
6891
6891
|
}), $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
|
|
@@ -6897,7 +6897,7 @@ Defaulting to \`null\`.`;
|
|
|
6897
6897
|
n,
|
|
6898
6898
|
h
|
|
6899
6899
|
]);
|
|
6900
|
-
let
|
|
6900
|
+
let KK = $c87311424ea30a05$export$fedb369cb70207f1() || e.type === "timeZoneName" ? {
|
|
6901
6901
|
role: "textbox",
|
|
6902
6902
|
"aria-valuemax": null,
|
|
6903
6903
|
"aria-valuemin": null,
|
|
@@ -6907,8 +6907,8 @@ Defaulting to \`null\`.`;
|
|
|
6907
6907
|
e !== (0, import_react.useMemo)(() => t.segments.find((e2) => e2.isEditable), [
|
|
6908
6908
|
t.segments
|
|
6909
6909
|
]) && !t.isInvalid && (f = void 0);
|
|
6910
|
-
let
|
|
6911
|
-
"aria-label": `${
|
|
6910
|
+
let qK = $bdb11010cef70236$export$f680877a34711e37(), JK = !t.isDisabled && !t.isReadOnly && e.isEditable, $ = e.type === "literal" ? "" : s.of(e.type), YK = $313b98861ee5dd6c$export$d6875122194c7b44({
|
|
6911
|
+
"aria-label": `${$}${c ? `, ${c}` : ""}${d ? ", " : ""}`,
|
|
6912
6912
|
"aria-labelledby": d
|
|
6913
6913
|
});
|
|
6914
6914
|
if (e.type === "literal") return {
|
|
@@ -6916,32 +6916,32 @@ Defaulting to \`null\`.`;
|
|
|
6916
6916
|
"aria-hidden": true
|
|
6917
6917
|
}
|
|
6918
6918
|
};
|
|
6919
|
-
let
|
|
6919
|
+
let XK = {
|
|
6920
6920
|
caretColor: "transparent"
|
|
6921
6921
|
};
|
|
6922
6922
|
if (o === "rtl") {
|
|
6923
|
-
|
|
6923
|
+
XK.unicodeBidi = "embed";
|
|
6924
6924
|
let t2 = v[e.type];
|
|
6925
|
-
(t2 === "numeric" || t2 === "2-digit") && (
|
|
6925
|
+
(t2 === "numeric" || t2 === "2-digit") && (XK.direction = "ltr");
|
|
6926
6926
|
}
|
|
6927
6927
|
return {
|
|
6928
|
-
segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(w,
|
|
6929
|
-
id:
|
|
6930
|
-
...
|
|
6928
|
+
segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(w, YK, {
|
|
6929
|
+
id: qK,
|
|
6930
|
+
...KK,
|
|
6931
6931
|
"aria-invalid": t.isInvalid ? "true" : void 0,
|
|
6932
6932
|
"aria-describedby": f,
|
|
6933
6933
|
"aria-readonly": t.isReadOnly || !e.isEditable ? "true" : void 0,
|
|
6934
6934
|
"data-placeholder": e.isPlaceholder || void 0,
|
|
6935
|
-
contentEditable:
|
|
6936
|
-
suppressContentEditableWarning:
|
|
6937
|
-
spellCheck:
|
|
6938
|
-
autoCorrect:
|
|
6939
|
-
enterKeyHint:
|
|
6940
|
-
inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !
|
|
6935
|
+
contentEditable: JK,
|
|
6936
|
+
suppressContentEditableWarning: JK,
|
|
6937
|
+
spellCheck: JK ? "false" : void 0,
|
|
6938
|
+
autoCorrect: JK ? "off" : void 0,
|
|
6939
|
+
enterKeyHint: JK ? "next" : void 0,
|
|
6940
|
+
inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !JK ? void 0 : "numeric",
|
|
6941
6941
|
tabIndex: t.isDisabled ? void 0 : 0,
|
|
6942
6942
|
onKeyDown: A,
|
|
6943
6943
|
onFocus: Q,
|
|
6944
|
-
style:
|
|
6944
|
+
style: XK,
|
|
6945
6945
|
onPointerDown(e2) {
|
|
6946
6946
|
e2.stopPropagation();
|
|
6947
6947
|
},
|
|
@@ -7014,7 +7014,7 @@ Defaulting to \`null\`.`;
|
|
|
7014
7014
|
q.current = true, (n2 = e.onFocus) == null || n2.call(e, t2), (i2 = e.onFocusChange) == null || i2.call(e, true);
|
|
7015
7015
|
}
|
|
7016
7016
|
}
|
|
7017
|
-
}), Q = (0, import_react.useRef)($e5be200c675c3b3a$export$dad6ae84456c676a),
|
|
7017
|
+
}), Q = (0, import_react.useRef)($e5be200c675c3b3a$export$dad6ae84456c676a), GK = (0, import_react.useRef)($e5be200c675c3b3a$export$dad6ae84456c676a);
|
|
7018
7018
|
return {
|
|
7019
7019
|
groupProps: $3ef42575df84b30b$export$9d1611c77c2fe928(K, M, d, S, J, {
|
|
7020
7020
|
role: "group",
|
|
@@ -7061,7 +7061,7 @@ Defaulting to \`null\`.`;
|
|
|
7061
7061
|
realtimeValidation: t.realtimeValidation,
|
|
7062
7062
|
displayValidation: t.displayValidation,
|
|
7063
7063
|
updateValidation(e2) {
|
|
7064
|
-
Q.current = e2, t.updateValidation($e5be200c675c3b3a$export$75ee7c75d68f5b0e(e2,
|
|
7064
|
+
Q.current = e2, t.updateValidation($e5be200c675c3b3a$export$75ee7c75d68f5b0e(e2, GK.current));
|
|
7065
7065
|
},
|
|
7066
7066
|
resetValidation: t.resetValidation,
|
|
7067
7067
|
commitValidation: t.commitValidation
|
|
@@ -7079,7 +7079,7 @@ Defaulting to \`null\`.`;
|
|
|
7079
7079
|
realtimeValidation: t.realtimeValidation,
|
|
7080
7080
|
displayValidation: t.displayValidation,
|
|
7081
7081
|
updateValidation(e2) {
|
|
7082
|
-
|
|
7082
|
+
GK.current = e2, t.updateValidation($e5be200c675c3b3a$export$75ee7c75d68f5b0e(Q.current, e2));
|
|
7083
7083
|
},
|
|
7084
7084
|
resetValidation: t.resetValidation,
|
|
7085
7085
|
commitValidation: t.commitValidation
|
|
@@ -10173,7 +10173,7 @@ Defaulting to \`null\`.`;
|
|
|
10173
10173
|
function Q(e2) {
|
|
10174
10174
|
e2 = $f62d864046160412$export$4f5203c0d889109e(e2, s, c), A(e2);
|
|
10175
10175
|
}
|
|
10176
|
-
function
|
|
10176
|
+
function GK(t2) {
|
|
10177
10177
|
if (!e.isDisabled && !e.isReadOnly) {
|
|
10178
10178
|
let e2 = t2;
|
|
10179
10179
|
if (e2 === null) {
|
|
@@ -10184,12 +10184,12 @@ Defaulting to \`null\`.`;
|
|
|
10184
10184
|
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);
|
|
10185
10185
|
}
|
|
10186
10186
|
}
|
|
10187
|
-
let
|
|
10187
|
+
let KK = (0, import_react.useMemo)(() => w ? f && f(w) ? true : $f62d864046160412$export$eac50920cf2fd59a(w, s, c) : false, [
|
|
10188
10188
|
w,
|
|
10189
10189
|
f,
|
|
10190
10190
|
s,
|
|
10191
10191
|
c
|
|
10192
|
-
]),
|
|
10192
|
+
]), qK = e.isInvalid || e.validationState === "invalid" || KK, JK = qK ? "invalid" : null, $ = (0, import_react.useMemo)(() => h === "visible" ? o : $131cf43a05231e1e$var$unitDuration(o), [
|
|
10193
10193
|
h,
|
|
10194
10194
|
o
|
|
10195
10195
|
]);
|
|
@@ -10197,7 +10197,7 @@ Defaulting to \`null\`.`;
|
|
|
10197
10197
|
isDisabled: e.isDisabled ?? false,
|
|
10198
10198
|
isReadOnly: e.isReadOnly ?? false,
|
|
10199
10199
|
value: w,
|
|
10200
|
-
setValue:
|
|
10200
|
+
setValue: GK,
|
|
10201
10201
|
visibleRange: {
|
|
10202
10202
|
start: M,
|
|
10203
10203
|
end: K
|
|
@@ -10206,8 +10206,8 @@ Defaulting to \`null\`.`;
|
|
|
10206
10206
|
maxValue: c,
|
|
10207
10207
|
focusedDate: O,
|
|
10208
10208
|
timeZone: E,
|
|
10209
|
-
validationState:
|
|
10210
|
-
isValueInvalid:
|
|
10209
|
+
validationState: JK,
|
|
10210
|
+
isValueInvalid: qK,
|
|
10211
10211
|
setFocusedDate(e2) {
|
|
10212
10212
|
Q(e2);
|
|
10213
10213
|
},
|
|
@@ -10232,12 +10232,12 @@ Defaulting to \`null\`.`;
|
|
|
10232
10232
|
}));
|
|
10233
10233
|
},
|
|
10234
10234
|
focusNextPage() {
|
|
10235
|
-
let e2 = M.add(
|
|
10236
|
-
A($f62d864046160412$export$4f5203c0d889109e(O.add(
|
|
10235
|
+
let e2 = M.add($);
|
|
10236
|
+
A($f62d864046160412$export$4f5203c0d889109e(O.add($), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, $, i, s, c), $, i));
|
|
10237
10237
|
},
|
|
10238
10238
|
focusPreviousPage() {
|
|
10239
|
-
let e2 = M.subtract(
|
|
10240
|
-
A($f62d864046160412$export$4f5203c0d889109e(O.subtract(
|
|
10239
|
+
let e2 = M.subtract($);
|
|
10240
|
+
A($f62d864046160412$export$4f5203c0d889109e(O.subtract($), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, $, i, s, c), $, i));
|
|
10241
10241
|
},
|
|
10242
10242
|
focusSectionStart() {
|
|
10243
10243
|
o.days ? Q(M) : o.weeks ? Q($14e0f24ef4ac5c92$export$42c81a444fbfb5d4(O, i)) : (o.months || o.years) && Q($14e0f24ef4ac5c92$export$a5a3b454ada2268e(O));
|
|
@@ -10268,10 +10268,10 @@ Defaulting to \`null\`.`;
|
|
|
10268
10268
|
}));
|
|
10269
10269
|
},
|
|
10270
10270
|
selectFocusedDate() {
|
|
10271
|
-
f && f(O) ||
|
|
10271
|
+
f && f(O) || GK(O);
|
|
10272
10272
|
},
|
|
10273
10273
|
selectDate(e2) {
|
|
10274
|
-
|
|
10274
|
+
GK(e2);
|
|
10275
10275
|
},
|
|
10276
10276
|
isFocused: z,
|
|
10277
10277
|
setFocused: U,
|
|
@@ -10374,13 +10374,13 @@ Defaulting to \`null\`.`;
|
|
|
10374
10374
|
end: $9a36b6ba2fb1a7c5$var$convertValue(e2.end, h == null ? void 0 : h.end)
|
|
10375
10375
|
}), q(null);
|
|
10376
10376
|
}
|
|
10377
|
-
}, [
|
|
10378
|
-
|
|
10377
|
+
}, [GK, KK] = (0, import_react.useState)(false), { isDateUnavailable: qK } = e, JK = (0, import_react.useMemo)(() => !h || v ? false : qK && (qK(h.start) || qK(h.end)) ? true : $f62d864046160412$export$eac50920cf2fd59a(h.start, c, d) || $f62d864046160412$export$eac50920cf2fd59a(h.end, c, d), [
|
|
10378
|
+
qK,
|
|
10379
10379
|
h,
|
|
10380
10380
|
v,
|
|
10381
10381
|
c,
|
|
10382
10382
|
d
|
|
10383
|
-
]),
|
|
10383
|
+
]), $ = e.isInvalid || e.validationState === "invalid" || JK, YK = $ ? "invalid" : null;
|
|
10384
10384
|
return {
|
|
10385
10385
|
...I,
|
|
10386
10386
|
value: h,
|
|
@@ -10388,8 +10388,8 @@ Defaulting to \`null\`.`;
|
|
|
10388
10388
|
anchorDate: v,
|
|
10389
10389
|
setAnchorDate: q,
|
|
10390
10390
|
highlightedRange: J,
|
|
10391
|
-
validationState:
|
|
10392
|
-
isValueInvalid:
|
|
10391
|
+
validationState: YK,
|
|
10392
|
+
isValueInvalid: $,
|
|
10393
10393
|
selectFocusedDate() {
|
|
10394
10394
|
Q(I.focusedDate);
|
|
10395
10395
|
},
|
|
@@ -10404,8 +10404,8 @@ Defaulting to \`null\`.`;
|
|
|
10404
10404
|
var _a2, _b;
|
|
10405
10405
|
return I.isInvalid(e2) || $f62d864046160412$export$eac50920cf2fd59a(e2, (_a2 = w.current) == null ? void 0 : _a2.start, (_b = w.current) == null ? void 0 : _b.end);
|
|
10406
10406
|
},
|
|
10407
|
-
isDragging:
|
|
10408
|
-
setDragging:
|
|
10407
|
+
isDragging: GK,
|
|
10408
|
+
setDragging: KK
|
|
10409
10409
|
};
|
|
10410
10410
|
}
|
|
10411
10411
|
function $9a36b6ba2fb1a7c5$var$makeRange(e, t) {
|
|
@@ -11587,12 +11587,12 @@ Defaulting to \`null\`.`;
|
|
|
11587
11587
|
q
|
|
11588
11588
|
]), Q = (0, import_react.useMemo)(() => J.resolvedOptions(), [
|
|
11589
11589
|
J
|
|
11590
|
-
]),
|
|
11590
|
+
]), GK = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$66aa2b09de4b1ea5(e.placeholderValue, _, S, v), [
|
|
11591
11591
|
e.placeholderValue,
|
|
11592
11592
|
_,
|
|
11593
11593
|
S,
|
|
11594
11594
|
v
|
|
11595
|
-
]),
|
|
11595
|
+
]), KK = (0, import_react.useMemo)(() => {
|
|
11596
11596
|
let t2 = w === "h11" || w === "h12", n2 = [
|
|
11597
11597
|
"era",
|
|
11598
11598
|
"year",
|
|
@@ -11610,15 +11610,15 @@ Defaulting to \`null\`.`;
|
|
|
11610
11610
|
e.maxGranularity,
|
|
11611
11611
|
_,
|
|
11612
11612
|
w
|
|
11613
|
-
]), [
|
|
11614
|
-
(M !==
|
|
11615
|
-
let
|
|
11616
|
-
if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(
|
|
11613
|
+
]), [qK, JK] = (0, import_react.useState)(M), [$, YK] = (0, import_react.useState)(S), [XK, ZK] = (0, import_react.useState)(w);
|
|
11614
|
+
(M !== qK || w !== XK || !$14e0f24ef4ac5c92$export$dbc69fd56b53d5e(S, $)) && (I = new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M), JK(M), YK(S), ZK(w), z(I));
|
|
11615
|
+
let QK = (t2) => {
|
|
11616
|
+
if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(KK)) z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(null);
|
|
11617
11617
|
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);
|
|
11618
11618
|
else {
|
|
11619
|
-
if (t2.isComplete(
|
|
11620
|
-
let e2 = t2.toValue(M ??
|
|
11621
|
-
if (t2.validate(e2,
|
|
11619
|
+
if (t2.isComplete(KK)) {
|
|
11620
|
+
let e2 = t2.toValue(M ?? GK);
|
|
11621
|
+
if (t2.validate(e2, KK)) {
|
|
11622
11622
|
let t3 = $11d87f3f76e88657$export$b4a036af3fc0b032(e2, (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
|
|
11623
11623
|
if (!E || t3.compare(E) !== 0) {
|
|
11624
11624
|
z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(t3);
|
|
@@ -11628,83 +11628,83 @@ Defaulting to \`null\`.`;
|
|
|
11628
11628
|
}
|
|
11629
11629
|
z(t2);
|
|
11630
11630
|
}
|
|
11631
|
-
},
|
|
11631
|
+
}, $K = (0, import_react.useMemo)(() => I.toValue(M ?? GK).toDate(y), [
|
|
11632
11632
|
I,
|
|
11633
11633
|
y,
|
|
11634
11634
|
M,
|
|
11635
|
-
|
|
11636
|
-
]),
|
|
11637
|
-
|
|
11635
|
+
GK
|
|
11636
|
+
]), eq = (0, import_react.useMemo)(() => $3c0fc76039f1c516$var$processSegments($K, I, J, Q, S, t, _), [
|
|
11637
|
+
$K,
|
|
11638
11638
|
J,
|
|
11639
11639
|
Q,
|
|
11640
11640
|
I,
|
|
11641
11641
|
S,
|
|
11642
11642
|
t,
|
|
11643
11643
|
_
|
|
11644
|
-
]),
|
|
11645
|
-
|
|
11646
|
-
},
|
|
11644
|
+
]), tq = (e2, t2) => {
|
|
11645
|
+
QK(I.cycle(e2, t2, GK, KK));
|
|
11646
|
+
}, nq = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$f18627323ab57ac0(E, c, d, f, K), [
|
|
11647
11647
|
E,
|
|
11648
11648
|
c,
|
|
11649
11649
|
d,
|
|
11650
11650
|
f,
|
|
11651
11651
|
K
|
|
11652
|
-
]),
|
|
11652
|
+
]), rq = $e5be200c675c3b3a$export$fc1a364ae1f3ff10({
|
|
11653
11653
|
...e,
|
|
11654
11654
|
value: E,
|
|
11655
|
-
builtinValidation:
|
|
11656
|
-
}),
|
|
11655
|
+
builtinValidation: nq
|
|
11656
|
+
}), iq = rq.displayValidation.isInvalid, aq = e.validationState || (iq ? "invalid" : null);
|
|
11657
11657
|
return {
|
|
11658
|
-
...
|
|
11658
|
+
...rq,
|
|
11659
11659
|
value: M,
|
|
11660
11660
|
defaultValue: e.defaultValue ?? A,
|
|
11661
|
-
dateValue:
|
|
11661
|
+
dateValue: $K,
|
|
11662
11662
|
calendar: S,
|
|
11663
|
-
setValue:
|
|
11664
|
-
segments:
|
|
11663
|
+
setValue: QK,
|
|
11664
|
+
segments: eq,
|
|
11665
11665
|
dateFormatter: J,
|
|
11666
|
-
validationState:
|
|
11667
|
-
isInvalid:
|
|
11666
|
+
validationState: aq,
|
|
11667
|
+
isInvalid: iq,
|
|
11668
11668
|
granularity: _,
|
|
11669
11669
|
maxGranularity: e.maxGranularity ?? "year",
|
|
11670
11670
|
isDisabled: a,
|
|
11671
11671
|
isReadOnly: o,
|
|
11672
11672
|
isRequired: s,
|
|
11673
11673
|
increment(e2) {
|
|
11674
|
-
|
|
11674
|
+
tq(e2, 1);
|
|
11675
11675
|
},
|
|
11676
11676
|
decrement(e2) {
|
|
11677
|
-
|
|
11677
|
+
tq(e2, -1);
|
|
11678
11678
|
},
|
|
11679
11679
|
incrementPage(e2) {
|
|
11680
|
-
|
|
11680
|
+
tq(e2, $3c0fc76039f1c516$var$PAGE_STEP[e2] || 1);
|
|
11681
11681
|
},
|
|
11682
11682
|
decrementPage(e2) {
|
|
11683
|
-
|
|
11683
|
+
tq(e2, -($3c0fc76039f1c516$var$PAGE_STEP[e2] || 1));
|
|
11684
11684
|
},
|
|
11685
11685
|
incrementToMax(e2) {
|
|
11686
11686
|
let t2 = e2 === "hour" && w === "h12" ? 11 : I.getSegmentLimits(e2).maxValue;
|
|
11687
|
-
|
|
11687
|
+
QK(I.set(e2, t2, GK));
|
|
11688
11688
|
},
|
|
11689
11689
|
decrementToMin(e2) {
|
|
11690
11690
|
let t2 = e2 === "hour" && w === "h12" ? 12 : I.getSegmentLimits(e2).minValue;
|
|
11691
|
-
|
|
11691
|
+
QK(I.set(e2, t2, GK));
|
|
11692
11692
|
},
|
|
11693
11693
|
setSegment(e2, t2) {
|
|
11694
|
-
|
|
11694
|
+
QK(I.set(e2, t2, GK));
|
|
11695
11695
|
},
|
|
11696
11696
|
confirmPlaceholder() {
|
|
11697
|
-
if (!(e.isDisabled || e.isReadOnly) && I.isComplete(
|
|
11698
|
-
let e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(I.toValue(M ??
|
|
11697
|
+
if (!(e.isDisabled || e.isReadOnly) && I.isComplete(KK)) {
|
|
11698
|
+
let e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(I.toValue(M ?? GK), (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
|
|
11699
11699
|
(!E || e2.compare(E) !== 0) && O(e2), z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M));
|
|
11700
11700
|
}
|
|
11701
11701
|
},
|
|
11702
11702
|
clearSegment(e2) {
|
|
11703
11703
|
let t2 = I;
|
|
11704
|
-
e2 !== "timeZoneName" && e2 !== "literal" && (t2 = I.clear(e2)),
|
|
11704
|
+
e2 !== "timeZoneName" && e2 !== "literal" && (t2 = I.clear(e2)), QK(t2);
|
|
11705
11705
|
},
|
|
11706
11706
|
formatValue(e2) {
|
|
11707
|
-
return M ? new $fb18d541ea1ad717$export$ad991b66133851cf(t, $35a22f14a1f04b11$export$7e319ea407e63bc0(e2, K)).format(
|
|
11707
|
+
return M ? new $fb18d541ea1ad717$export$ad991b66133851cf(t, $35a22f14a1f04b11$export$7e319ea407e63bc0(e2, K)).format($K) : "";
|
|
11708
11708
|
},
|
|
11709
11709
|
getDateFormatter(e2, t2) {
|
|
11710
11710
|
return new $fb18d541ea1ad717$export$ad991b66133851cf(e2, $35a22f14a1f04b11$export$7e319ea407e63bc0({}, {
|
|
@@ -11824,7 +11824,7 @@ Defaulting to \`null\`.`;
|
|
|
11824
11824
|
e.endName
|
|
11825
11825
|
]),
|
|
11826
11826
|
builtinValidation: J
|
|
11827
|
-
}),
|
|
11827
|
+
}), GK = Q.displayValidation.isInvalid, KK = e.validationState || (GK ? "invalid" : null);
|
|
11828
11828
|
return {
|
|
11829
11829
|
...Q,
|
|
11830
11830
|
value: c,
|
|
@@ -11870,8 +11870,8 @@ Defaulting to \`null\`.`;
|
|
|
11870
11870
|
end: (w == null ? void 0 : w.end) || $35a22f14a1f04b11$export$c5221a78ef73c5e9(e.placeholderValue)
|
|
11871
11871
|
}), t.setOpen(n2);
|
|
11872
11872
|
},
|
|
11873
|
-
validationState:
|
|
11874
|
-
isInvalid:
|
|
11873
|
+
validationState: KK,
|
|
11874
|
+
isInvalid: GK,
|
|
11875
11875
|
formatValue(t2, n2) {
|
|
11876
11876
|
if (!c || !c.start || !c.end) return null;
|
|
11877
11877
|
let i2 = "timeZone" in c.start ? c.start.timeZone : void 0, a2 = e.granularity || (c.start && "minute" in c.start ? "minute" : "day"), o2 = "timeZone" in c.end ? c.end.timeZone : void 0, s2 = e.granularity || (c.end && "minute" in c.end ? "minute" : "day"), d2 = $35a22f14a1f04b11$export$7e319ea407e63bc0(n2, {
|
|
@@ -13827,9 +13827,9 @@ Defaulting to \`null\`.`;
|
|
|
13827
13827
|
t,
|
|
13828
13828
|
i.name
|
|
13829
13829
|
]), null;
|
|
13830
|
-
}), import_compiler_runtime$
|
|
13830
|
+
}), import_compiler_runtime$62 = require_compiler_runtime();
|
|
13831
13831
|
EmotionCacheProvider = (e) => {
|
|
13832
|
-
let t = (0, import_compiler_runtime$
|
|
13832
|
+
let t = (0, import_compiler_runtime$62.c)(6), { container: n, children: i } = e, a;
|
|
13833
13833
|
bb0: {
|
|
13834
13834
|
if (!n) {
|
|
13835
13835
|
let e3;
|
|
@@ -15328,7 +15328,7 @@ Defaulting to \`null\`.`;
|
|
|
15328
15328
|
var maybeReactUseId = {
|
|
15329
15329
|
...import_react
|
|
15330
15330
|
}.useId;
|
|
15331
|
-
function useId$
|
|
15331
|
+
function useId$4(e) {
|
|
15332
15332
|
if (maybeReactUseId !== void 0) {
|
|
15333
15333
|
let t = maybeReactUseId();
|
|
15334
15334
|
return e ?? t;
|
|
@@ -15433,7 +15433,7 @@ Defaulting to \`null\`.`;
|
|
|
15433
15433
|
}
|
|
15434
15434
|
var DefaultPropsProvider_default = DefaultPropsProvider;
|
|
15435
15435
|
function useLayerOrder(e) {
|
|
15436
|
-
let t = useThemeWithoutDefault_default(), n = useId$
|
|
15436
|
+
let t = useThemeWithoutDefault_default(), n = useId$4() || "", { modularCssLayers: i } = e, a = "mui.global, mui.components, mui.theme, mui.custom, mui.sx";
|
|
15437
15437
|
return a = !i || t !== null ? "" : typeof i == "string" ? i.replace(/mui(?!\.)/g, a) : `@layer ${a};`, useEnhancedEffect_default(() => {
|
|
15438
15438
|
var _a2, _b;
|
|
15439
15439
|
let e2 = document.querySelector("head");
|
|
@@ -15742,33 +15742,33 @@ try {
|
|
|
15742
15742
|
}, f = import_react.createContext(void 0), h = () => import_react.useContext(f) || d, _ = {}, v = {};
|
|
15743
15743
|
function y(e2) {
|
|
15744
15744
|
var _a2, _b, _c, _d;
|
|
15745
|
-
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),
|
|
15745
|
+
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), GK = !!Q && !I, KK = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
|
|
15746
15746
|
h2
|
|
15747
|
-
]),
|
|
15748
|
-
|
|
15749
|
-
]),
|
|
15750
|
-
supportedColorSchemes:
|
|
15751
|
-
defaultLightColorScheme:
|
|
15752
|
-
defaultDarkColorScheme:
|
|
15747
|
+
]), qK = KK[t], JK = qK || KK, { colorSchemes: $ = _, components: YK = v, cssVarPrefix: XK } = JK, ZK = Object.keys($).filter((e3) => !!$[e3]).join(","), QK = import_react.useMemo(() => ZK.split(","), [
|
|
15748
|
+
ZK
|
|
15749
|
+
]), $K = typeof s == "string" ? s : s.light, eq = typeof s == "string" ? s : s.dark, { mode: tq, setMode: nq, systemMode: rq, lightColorScheme: iq, darkColorScheme: aq, colorScheme: oq, setColorScheme: sq } = useCurrentColorScheme({
|
|
15750
|
+
supportedColorSchemes: QK,
|
|
15751
|
+
defaultLightColorScheme: $K,
|
|
15752
|
+
defaultDarkColorScheme: eq,
|
|
15753
15753
|
modeStorageKey: y2,
|
|
15754
15754
|
colorSchemeStorageKey: S2,
|
|
15755
|
-
defaultMode:
|
|
15755
|
+
defaultMode: $[$K] && $[eq] ? U : ((_b = (_a2 = $[JK.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = JK.palette) == null ? void 0 : _c.mode),
|
|
15756
15756
|
storageManager: E,
|
|
15757
15757
|
storageWindow: O,
|
|
15758
15758
|
noSsr: K
|
|
15759
|
-
}),
|
|
15760
|
-
|
|
15761
|
-
let
|
|
15759
|
+
}), cq = tq, lq = oq;
|
|
15760
|
+
GK && (cq = Q.mode, lq = Q.colorScheme);
|
|
15761
|
+
let uq = import_react.useMemo(() => {
|
|
15762
15762
|
var _a3;
|
|
15763
|
-
let e3 =
|
|
15764
|
-
...
|
|
15765
|
-
components:
|
|
15766
|
-
colorSchemes:
|
|
15767
|
-
cssVarPrefix:
|
|
15763
|
+
let e3 = lq || JK.defaultColorScheme, t2 = ((_a3 = JK.generateThemeVars) == null ? void 0 : _a3.call(JK)) || JK.vars, n2 = {
|
|
15764
|
+
...JK,
|
|
15765
|
+
components: YK,
|
|
15766
|
+
colorSchemes: $,
|
|
15767
|
+
cssVarPrefix: XK,
|
|
15768
15768
|
vars: t2
|
|
15769
15769
|
};
|
|
15770
15770
|
if (typeof n2.generateSpacing == "function" && (n2.spacing = n2.generateSpacing()), e3) {
|
|
15771
|
-
let t3 =
|
|
15771
|
+
let t3 = $[e3];
|
|
15772
15772
|
t3 && typeof t3 == "object" && Object.keys(t3).forEach((e4) => {
|
|
15773
15773
|
t3[e4] && typeof t3[e4] == "object" ? n2[e4] = {
|
|
15774
15774
|
...n2[e4],
|
|
@@ -15778,31 +15778,31 @@ try {
|
|
|
15778
15778
|
}
|
|
15779
15779
|
return c ? c(n2) : n2;
|
|
15780
15780
|
}, [
|
|
15781
|
-
|
|
15782
|
-
|
|
15783
|
-
|
|
15784
|
-
|
|
15785
|
-
|
|
15786
|
-
]),
|
|
15781
|
+
JK,
|
|
15782
|
+
lq,
|
|
15783
|
+
YK,
|
|
15784
|
+
$,
|
|
15785
|
+
XK
|
|
15786
|
+
]), dq = JK.colorSchemeSelector;
|
|
15787
15787
|
useEnhancedEffect_default(() => {
|
|
15788
|
-
if (
|
|
15789
|
-
let e3 =
|
|
15790
|
-
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(...
|
|
15788
|
+
if (lq && M && dq && dq !== "media") {
|
|
15789
|
+
let e3 = dq, t2 = dq;
|
|
15790
|
+
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(...QK.map((e4) => t2.substring(1).replace("%s", e4))), M.classList.add(t2.substring(1).replace("%s", lq));
|
|
15791
15791
|
else {
|
|
15792
|
-
let e4 = t2.replace("%s",
|
|
15792
|
+
let e4 = t2.replace("%s", lq).match(/\[([^\]]+)\]/);
|
|
15793
15793
|
if (e4) {
|
|
15794
15794
|
let [t3, n2] = e4[1].split("=");
|
|
15795
|
-
n2 ||
|
|
15796
|
-
M.removeAttribute(t3.replace(
|
|
15795
|
+
n2 || QK.forEach((e5) => {
|
|
15796
|
+
M.removeAttribute(t3.replace(lq, e5));
|
|
15797
15797
|
}), M.setAttribute(t3, n2 ? n2.replace(/"|'/g, "") : "");
|
|
15798
|
-
} else M.setAttribute(t2,
|
|
15798
|
+
} else M.setAttribute(t2, lq);
|
|
15799
15799
|
}
|
|
15800
15800
|
}
|
|
15801
15801
|
}, [
|
|
15802
|
-
|
|
15803
|
-
|
|
15802
|
+
lq,
|
|
15803
|
+
dq,
|
|
15804
15804
|
M,
|
|
15805
|
-
|
|
15805
|
+
QK
|
|
15806
15806
|
]), import_react.useEffect(() => {
|
|
15807
15807
|
let e3;
|
|
15808
15808
|
if (w2 && q.current && A) {
|
|
@@ -15815,48 +15815,48 @@ try {
|
|
|
15815
15815
|
clearTimeout(e3);
|
|
15816
15816
|
};
|
|
15817
15817
|
}, [
|
|
15818
|
-
|
|
15818
|
+
lq,
|
|
15819
15819
|
w2,
|
|
15820
15820
|
A
|
|
15821
15821
|
]), import_react.useEffect(() => (q.current = true, () => {
|
|
15822
15822
|
q.current = false;
|
|
15823
15823
|
}), []);
|
|
15824
|
-
let
|
|
15825
|
-
allColorSchemes:
|
|
15826
|
-
colorScheme:
|
|
15827
|
-
darkColorScheme:
|
|
15828
|
-
lightColorScheme:
|
|
15829
|
-
mode:
|
|
15830
|
-
setColorScheme:
|
|
15831
|
-
setMode:
|
|
15832
|
-
systemMode:
|
|
15824
|
+
let fq = import_react.useMemo(() => ({
|
|
15825
|
+
allColorSchemes: QK,
|
|
15826
|
+
colorScheme: lq,
|
|
15827
|
+
darkColorScheme: aq,
|
|
15828
|
+
lightColorScheme: iq,
|
|
15829
|
+
mode: cq,
|
|
15830
|
+
setColorScheme: sq,
|
|
15831
|
+
setMode: nq,
|
|
15832
|
+
systemMode: rq
|
|
15833
15833
|
}), [
|
|
15834
|
-
VK,
|
|
15835
15834
|
QK,
|
|
15836
|
-
|
|
15837
|
-
|
|
15838
|
-
|
|
15839
|
-
|
|
15840
|
-
|
|
15841
|
-
|
|
15842
|
-
|
|
15843
|
-
|
|
15844
|
-
|
|
15845
|
-
|
|
15835
|
+
lq,
|
|
15836
|
+
aq,
|
|
15837
|
+
iq,
|
|
15838
|
+
cq,
|
|
15839
|
+
sq,
|
|
15840
|
+
nq,
|
|
15841
|
+
rq,
|
|
15842
|
+
uq.colorSchemeSelector
|
|
15843
|
+
]), pq = true;
|
|
15844
|
+
(z || JK.cssVariables === false || GK && (J == null ? void 0 : J.cssVarPrefix) === XK) && (pq = false);
|
|
15845
|
+
let mq = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
|
|
15846
15846
|
children: [
|
|
15847
15847
|
(0, import_jsx_runtime.jsx)(ThemeProvider_default, {
|
|
15848
|
-
themeId:
|
|
15849
|
-
theme:
|
|
15848
|
+
themeId: qK ? t : void 0,
|
|
15849
|
+
theme: uq,
|
|
15850
15850
|
children: d2
|
|
15851
15851
|
}),
|
|
15852
|
-
|
|
15853
|
-
styles: ((_d =
|
|
15852
|
+
pq && (0, import_jsx_runtime.jsx)(GlobalStyles$1, {
|
|
15853
|
+
styles: ((_d = uq.generateStyleSheets) == null ? void 0 : _d.call(uq)) || []
|
|
15854
15854
|
})
|
|
15855
15855
|
]
|
|
15856
15856
|
});
|
|
15857
|
-
return
|
|
15858
|
-
value:
|
|
15859
|
-
children:
|
|
15857
|
+
return GK ? mq : (0, import_jsx_runtime.jsx)(f.Provider, {
|
|
15858
|
+
value: fq,
|
|
15859
|
+
children: mq
|
|
15860
15860
|
});
|
|
15861
15861
|
}
|
|
15862
15862
|
let S = typeof s == "string" ? s : s.light, w = typeof s == "string" ? s : s.dark;
|
|
@@ -17356,10 +17356,10 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
17356
17356
|
let n = useDefaultProps({
|
|
17357
17357
|
props: e,
|
|
17358
17358
|
name: "MuiInputBase"
|
|
17359
|
-
}), { "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:
|
|
17360
|
-
}, []),
|
|
17359
|
+
}), { "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: GK, onFocus: KK, onKeyDown: qK, onKeyUp: JK, placeholder: $, readOnly: YK, renderSuffix: XK, rows: ZK, size: QK, slotProps: $K = {}, slots: eq = {}, startAdornment: tq, type: nq = "text", value: rq, ...iq } = n, aq = A.value == null ? rq : A.value, { current: oq } = import_react.useRef(aq != null), sq = import_react.useRef(), cq = import_react.useCallback((e2) => {
|
|
17360
|
+
}, []), lq = useForkRef_default(sq, M, A.ref, cq), [uq, dq] = import_react.useState(false), fq = useFormControl(), pq = formControlState({
|
|
17361
17361
|
props: n,
|
|
17362
|
-
muiFormControl:
|
|
17362
|
+
muiFormControl: fq,
|
|
17363
17363
|
states: [
|
|
17364
17364
|
"color",
|
|
17365
17365
|
"disabled",
|
|
@@ -17370,145 +17370,145 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
17370
17370
|
"filled"
|
|
17371
17371
|
]
|
|
17372
17372
|
});
|
|
17373
|
-
|
|
17374
|
-
!
|
|
17373
|
+
pq.focused = fq ? fq.focused : uq, import_react.useEffect(() => {
|
|
17374
|
+
!fq && _ && uq && (dq(false), J && J());
|
|
17375
17375
|
}, [
|
|
17376
|
-
|
|
17376
|
+
fq,
|
|
17377
17377
|
_,
|
|
17378
|
-
|
|
17378
|
+
uq,
|
|
17379
17379
|
J
|
|
17380
17380
|
]);
|
|
17381
|
-
let
|
|
17382
|
-
isFilled(e2) ?
|
|
17381
|
+
let mq = fq && fq.onFilled, hq = fq && fq.onEmpty, gq = import_react.useCallback((e2) => {
|
|
17382
|
+
isFilled(e2) ? mq && mq() : hq && hq();
|
|
17383
17383
|
}, [
|
|
17384
|
-
|
|
17385
|
-
|
|
17384
|
+
mq,
|
|
17385
|
+
hq
|
|
17386
17386
|
]);
|
|
17387
17387
|
useEnhancedEffect_default$1(() => {
|
|
17388
|
-
|
|
17389
|
-
value:
|
|
17388
|
+
oq && gq({
|
|
17389
|
+
value: aq
|
|
17390
17390
|
});
|
|
17391
17391
|
}, [
|
|
17392
|
-
JK,
|
|
17393
17392
|
aq,
|
|
17394
|
-
|
|
17393
|
+
gq,
|
|
17394
|
+
oq
|
|
17395
17395
|
]);
|
|
17396
|
-
let
|
|
17397
|
-
|
|
17398
|
-
},
|
|
17399
|
-
J && J(e2), A.onBlur && A.onBlur(e2),
|
|
17400
|
-
},
|
|
17401
|
-
if (!
|
|
17402
|
-
let t3 = e2.target ||
|
|
17396
|
+
let _q = (e2) => {
|
|
17397
|
+
KK && KK(e2), A.onFocus && A.onFocus(e2), fq && fq.onFocus ? fq.onFocus(e2) : dq(true);
|
|
17398
|
+
}, vq = (e2) => {
|
|
17399
|
+
J && J(e2), A.onBlur && A.onBlur(e2), fq && fq.onBlur ? fq.onBlur(e2) : dq(false);
|
|
17400
|
+
}, yq = (e2, ...t2) => {
|
|
17401
|
+
if (!oq) {
|
|
17402
|
+
let t3 = e2.target || sq.current;
|
|
17403
17403
|
if (t3 == null) throw Error(formatMuiErrorMessage(1));
|
|
17404
|
-
|
|
17404
|
+
gq({
|
|
17405
17405
|
value: t3.value
|
|
17406
17406
|
});
|
|
17407
17407
|
}
|
|
17408
17408
|
A.onChange && A.onChange(e2, ...t2), Q && Q(e2, ...t2);
|
|
17409
17409
|
};
|
|
17410
17410
|
import_react.useEffect(() => {
|
|
17411
|
-
|
|
17411
|
+
gq(sq.current);
|
|
17412
17412
|
}, []);
|
|
17413
|
-
let
|
|
17414
|
-
|
|
17415
|
-
},
|
|
17416
|
-
K &&
|
|
17413
|
+
let bq = (e2) => {
|
|
17414
|
+
sq.current && e2.currentTarget === e2.target && sq.current.focus(), GK && GK(e2);
|
|
17415
|
+
}, xq = O, Sq = A;
|
|
17416
|
+
K && xq === "input" && (Sq = ZK ? {
|
|
17417
17417
|
type: void 0,
|
|
17418
|
-
minRows:
|
|
17419
|
-
maxRows:
|
|
17420
|
-
...
|
|
17418
|
+
minRows: ZK,
|
|
17419
|
+
maxRows: ZK,
|
|
17420
|
+
...Sq
|
|
17421
17421
|
} : {
|
|
17422
17422
|
type: void 0,
|
|
17423
17423
|
maxRows: z,
|
|
17424
17424
|
minRows: U,
|
|
17425
|
-
...
|
|
17426
|
-
},
|
|
17427
|
-
let
|
|
17428
|
-
|
|
17425
|
+
...Sq
|
|
17426
|
+
}, xq = TextareaAutosize_default);
|
|
17427
|
+
let Cq = (e2) => {
|
|
17428
|
+
gq(e2.animationName === "mui-auto-fill-cancel" ? sq.current : {
|
|
17429
17429
|
value: "x"
|
|
17430
17430
|
});
|
|
17431
17431
|
};
|
|
17432
17432
|
import_react.useEffect(() => {
|
|
17433
|
-
|
|
17433
|
+
fq && fq.setAdornedStart(!!tq);
|
|
17434
17434
|
}, [
|
|
17435
|
-
|
|
17436
|
-
|
|
17435
|
+
fq,
|
|
17436
|
+
tq
|
|
17437
17437
|
]);
|
|
17438
|
-
let
|
|
17438
|
+
let wq = {
|
|
17439
17439
|
...n,
|
|
17440
|
-
color:
|
|
17441
|
-
disabled:
|
|
17440
|
+
color: pq.color || "primary",
|
|
17441
|
+
disabled: pq.disabled,
|
|
17442
17442
|
endAdornment: y,
|
|
17443
|
-
error:
|
|
17444
|
-
focused:
|
|
17445
|
-
formControl:
|
|
17443
|
+
error: pq.error,
|
|
17444
|
+
focused: pq.focused,
|
|
17445
|
+
formControl: fq,
|
|
17446
17446
|
fullWidth: w,
|
|
17447
|
-
hiddenLabel:
|
|
17447
|
+
hiddenLabel: pq.hiddenLabel,
|
|
17448
17448
|
multiline: K,
|
|
17449
|
-
size:
|
|
17450
|
-
startAdornment:
|
|
17451
|
-
type:
|
|
17452
|
-
},
|
|
17453
|
-
return
|
|
17454
|
-
...
|
|
17455
|
-
|
|
17449
|
+
size: pq.size,
|
|
17450
|
+
startAdornment: tq,
|
|
17451
|
+
type: nq
|
|
17452
|
+
}, Tq = useUtilityClasses(wq), Eq = eq.root || d.Root || InputBaseRoot, Dq = $K.root || f.root || {}, Oq = eq.input || d.Input || InputBaseInput;
|
|
17453
|
+
return Sq = {
|
|
17454
|
+
...Sq,
|
|
17455
|
+
...$K.input ?? f.input
|
|
17456
17456
|
}, (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
|
|
17457
17457
|
children: [
|
|
17458
17458
|
!v && typeof InputGlobalStyles == "function" && (_InputGlobalStyles || (_InputGlobalStyles = (0, import_jsx_runtime.jsx)(InputGlobalStyles, {}))),
|
|
17459
|
-
(0, import_jsx_runtime.jsxs)(
|
|
17460
|
-
...
|
|
17459
|
+
(0, import_jsx_runtime.jsxs)(Eq, {
|
|
17460
|
+
...Dq,
|
|
17461
17461
|
ref: t,
|
|
17462
|
-
onClick:
|
|
17463
|
-
...
|
|
17464
|
-
...!isHostComponent_default(
|
|
17462
|
+
onClick: bq,
|
|
17463
|
+
...iq,
|
|
17464
|
+
...!isHostComponent_default(Eq) && {
|
|
17465
17465
|
ownerState: {
|
|
17466
|
-
...
|
|
17467
|
-
...
|
|
17466
|
+
...wq,
|
|
17467
|
+
...Dq.ownerState
|
|
17468
17468
|
}
|
|
17469
17469
|
},
|
|
17470
|
-
className: clsx_default(
|
|
17470
|
+
className: clsx_default(Tq.root, Dq.className, s, YK && "MuiInputBase-readOnly"),
|
|
17471
17471
|
children: [
|
|
17472
|
-
|
|
17472
|
+
tq,
|
|
17473
17473
|
(0, import_jsx_runtime.jsx)(FormControlContext_default.Provider, {
|
|
17474
17474
|
value: null,
|
|
17475
|
-
children: (0, import_jsx_runtime.jsx)(
|
|
17476
|
-
"aria-invalid":
|
|
17475
|
+
children: (0, import_jsx_runtime.jsx)(Oq, {
|
|
17476
|
+
"aria-invalid": pq.error,
|
|
17477
17477
|
"aria-describedby": i,
|
|
17478
17478
|
autoComplete: a,
|
|
17479
17479
|
autoFocus: o,
|
|
17480
17480
|
defaultValue: h,
|
|
17481
|
-
disabled:
|
|
17481
|
+
disabled: pq.disabled,
|
|
17482
17482
|
id: E,
|
|
17483
|
-
onAnimationStart:
|
|
17483
|
+
onAnimationStart: Cq,
|
|
17484
17484
|
name: q,
|
|
17485
|
-
placeholder:
|
|
17486
|
-
readOnly:
|
|
17487
|
-
required:
|
|
17488
|
-
rows:
|
|
17489
|
-
value:
|
|
17490
|
-
onKeyDown:
|
|
17491
|
-
onKeyUp:
|
|
17492
|
-
type:
|
|
17493
|
-
...
|
|
17494
|
-
...!isHostComponent_default(
|
|
17495
|
-
as:
|
|
17485
|
+
placeholder: $,
|
|
17486
|
+
readOnly: YK,
|
|
17487
|
+
required: pq.required,
|
|
17488
|
+
rows: ZK,
|
|
17489
|
+
value: aq,
|
|
17490
|
+
onKeyDown: qK,
|
|
17491
|
+
onKeyUp: JK,
|
|
17492
|
+
type: nq,
|
|
17493
|
+
...Sq,
|
|
17494
|
+
...!isHostComponent_default(Oq) && {
|
|
17495
|
+
as: xq,
|
|
17496
17496
|
ownerState: {
|
|
17497
|
-
...
|
|
17498
|
-
...
|
|
17497
|
+
...wq,
|
|
17498
|
+
...Sq.ownerState
|
|
17499
17499
|
}
|
|
17500
17500
|
},
|
|
17501
|
-
ref:
|
|
17502
|
-
className: clsx_default(
|
|
17503
|
-
onBlur:
|
|
17504
|
-
onChange:
|
|
17505
|
-
onFocus:
|
|
17501
|
+
ref: lq,
|
|
17502
|
+
className: clsx_default(Tq.input, Sq.className, YK && "MuiInputBase-readOnly"),
|
|
17503
|
+
onBlur: vq,
|
|
17504
|
+
onChange: yq,
|
|
17505
|
+
onFocus: _q
|
|
17506
17506
|
})
|
|
17507
17507
|
}),
|
|
17508
17508
|
y,
|
|
17509
|
-
|
|
17510
|
-
...
|
|
17511
|
-
startAdornment:
|
|
17509
|
+
XK ? XK({
|
|
17510
|
+
...pq,
|
|
17511
|
+
startAdornment: tq
|
|
17512
17512
|
}) : null
|
|
17513
17513
|
]
|
|
17514
17514
|
})
|
|
@@ -18584,30 +18584,30 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18584
18584
|
M,
|
|
18585
18585
|
i,
|
|
18586
18586
|
a
|
|
18587
|
-
]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false),
|
|
18588
|
-
|
|
18587
|
+
]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false), GK = useJsonViewerStore((e2) => e2.onChange), KK = useTextColor(), qK = useJsonViewerStore((e2) => e2.colorspace.base0C), JK = useJsonViewerStore((e2) => e2.colorspace.base0A), $ = useJsonViewerStore((e2) => e2.displayComma), YK = useJsonViewerStore((e2) => e2.quotesOnKeys), XK = useJsonViewerStore((e2) => e2.rootName), ZK = U === t, QK = Number.isInteger(Number(A)), $K = useJsonViewerStore((e2) => e2.enableAdd), eq = useJsonViewerStore((e2) => e2.onAdd), tq = (0, import_react.useMemo)(() => !eq || a !== void 0 || $K === false || v === false ? false : typeof $K == "function" ? !!$K(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
|
|
18588
|
+
eq,
|
|
18589
18589
|
a,
|
|
18590
18590
|
i,
|
|
18591
|
-
|
|
18591
|
+
$K,
|
|
18592
18592
|
v,
|
|
18593
18593
|
t
|
|
18594
|
-
]),
|
|
18595
|
-
|
|
18594
|
+
]), nq = useJsonViewerStore((e2) => e2.enableDelete), rq = useJsonViewerStore((e2) => e2.onDelete), iq = (0, import_react.useMemo)(() => !rq || a !== void 0 || ZK || nq === false || v === false ? false : typeof nq == "function" ? !!nq(i, t) : nq, [
|
|
18595
|
+
rq,
|
|
18596
18596
|
a,
|
|
18597
|
-
|
|
18597
|
+
ZK,
|
|
18598
18598
|
i,
|
|
18599
|
-
|
|
18599
|
+
nq,
|
|
18600
18600
|
v,
|
|
18601
18601
|
t
|
|
18602
|
-
]),
|
|
18603
|
-
|
|
18602
|
+
]), aq = useJsonViewerStore((e2) => e2.enableClipboard), { copy: oq, copied: sq } = useClipboard(), cq = useJsonViewerStore((e2) => e2.highlightUpdates), lq = (0, import_react.useMemo)(() => !cq || 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, [
|
|
18603
|
+
cq,
|
|
18604
18604
|
n,
|
|
18605
18605
|
t
|
|
18606
|
-
]),
|
|
18606
|
+
]), uq = (0, import_react.useRef)();
|
|
18607
18607
|
(0, import_react.useEffect)(() => {
|
|
18608
|
-
|
|
18608
|
+
uq.current && lq && "animate" in uq.current && uq.current.animate([
|
|
18609
18609
|
{
|
|
18610
|
-
backgroundColor:
|
|
18610
|
+
backgroundColor: JK
|
|
18611
18611
|
},
|
|
18612
18612
|
{
|
|
18613
18613
|
backgroundColor: ""
|
|
@@ -18617,40 +18617,40 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18617
18617
|
easing: "ease-in"
|
|
18618
18618
|
});
|
|
18619
18619
|
}, [
|
|
18620
|
-
|
|
18621
|
-
|
|
18620
|
+
JK,
|
|
18621
|
+
lq,
|
|
18622
18622
|
n,
|
|
18623
18623
|
t
|
|
18624
18624
|
]);
|
|
18625
|
-
let
|
|
18625
|
+
let dq = (0, import_react.useCallback)((e2) => {
|
|
18626
18626
|
e2.preventDefault(), h && E(h(t)), Q(true);
|
|
18627
18627
|
}, [
|
|
18628
18628
|
h,
|
|
18629
18629
|
t
|
|
18630
|
-
]),
|
|
18630
|
+
]), fq = (0, import_react.useCallback)(() => {
|
|
18631
18631
|
Q(false), E("");
|
|
18632
18632
|
}, [
|
|
18633
18633
|
Q,
|
|
18634
18634
|
E
|
|
18635
|
-
]),
|
|
18635
|
+
]), pq = (0, import_react.useCallback)((e2) => {
|
|
18636
18636
|
if (Q(false), _) try {
|
|
18637
|
-
|
|
18637
|
+
GK(i, t, _(e2));
|
|
18638
18638
|
} catch {
|
|
18639
18639
|
}
|
|
18640
18640
|
}, [
|
|
18641
18641
|
Q,
|
|
18642
18642
|
_,
|
|
18643
|
-
|
|
18643
|
+
GK,
|
|
18644
18644
|
i,
|
|
18645
18645
|
t
|
|
18646
|
-
]),
|
|
18646
|
+
]), mq = (0, import_react.useMemo)(() => J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
18647
18647
|
children: [
|
|
18648
18648
|
(0, import_jsx_runtime.jsx)(IconBox, {
|
|
18649
18649
|
children: (0, import_jsx_runtime.jsx)(CloseIcon, {
|
|
18650
18650
|
sx: {
|
|
18651
18651
|
fontSize: ".8rem"
|
|
18652
18652
|
},
|
|
18653
|
-
onClick:
|
|
18653
|
+
onClick: fq
|
|
18654
18654
|
})
|
|
18655
18655
|
}),
|
|
18656
18656
|
(0, import_jsx_runtime.jsx)(IconBox, {
|
|
@@ -18658,22 +18658,22 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18658
18658
|
sx: {
|
|
18659
18659
|
fontSize: ".8rem"
|
|
18660
18660
|
},
|
|
18661
|
-
onClick: () =>
|
|
18661
|
+
onClick: () => pq(w)
|
|
18662
18662
|
})
|
|
18663
18663
|
})
|
|
18664
18664
|
]
|
|
18665
18665
|
}) : (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
18666
18666
|
children: [
|
|
18667
|
-
|
|
18667
|
+
aq && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
18668
18668
|
onClick: (e2) => {
|
|
18669
18669
|
e2.preventDefault();
|
|
18670
18670
|
try {
|
|
18671
|
-
|
|
18671
|
+
oq(i, t, copyString);
|
|
18672
18672
|
} catch (e3) {
|
|
18673
18673
|
console.error(e3);
|
|
18674
18674
|
}
|
|
18675
18675
|
},
|
|
18676
|
-
children:
|
|
18676
|
+
children: sq ? (0, import_jsx_runtime.jsx)(CheckIcon$1, {
|
|
18677
18677
|
sx: {
|
|
18678
18678
|
fontSize: ".8rem"
|
|
18679
18679
|
}
|
|
@@ -18684,16 +18684,16 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18684
18684
|
})
|
|
18685
18685
|
}),
|
|
18686
18686
|
f && S && h && _ && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
18687
|
-
onClick:
|
|
18687
|
+
onClick: dq,
|
|
18688
18688
|
children: (0, import_jsx_runtime.jsx)(EditIcon, {
|
|
18689
18689
|
sx: {
|
|
18690
18690
|
fontSize: ".8rem"
|
|
18691
18691
|
}
|
|
18692
18692
|
})
|
|
18693
18693
|
}),
|
|
18694
|
-
|
|
18694
|
+
tq && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
18695
18695
|
onClick: (e2) => {
|
|
18696
|
-
e2.preventDefault(),
|
|
18696
|
+
e2.preventDefault(), eq == null ? void 0 : eq(i);
|
|
18697
18697
|
},
|
|
18698
18698
|
children: (0, import_jsx_runtime.jsx)(AddBoxIcon, {
|
|
18699
18699
|
sx: {
|
|
@@ -18701,9 +18701,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18701
18701
|
}
|
|
18702
18702
|
})
|
|
18703
18703
|
}),
|
|
18704
|
-
|
|
18704
|
+
iq && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
18705
18705
|
onClick: (e2) => {
|
|
18706
|
-
e2.preventDefault(),
|
|
18706
|
+
e2.preventDefault(), rq == null ? void 0 : rq(i, t);
|
|
18707
18707
|
},
|
|
18708
18708
|
children: (0, import_jsx_runtime.jsx)(DeleteIcon, {
|
|
18709
18709
|
sx: {
|
|
@@ -18716,24 +18716,24 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18716
18716
|
f,
|
|
18717
18717
|
h,
|
|
18718
18718
|
_,
|
|
18719
|
-
|
|
18720
|
-
|
|
18719
|
+
sq,
|
|
18720
|
+
oq,
|
|
18721
18721
|
S,
|
|
18722
18722
|
J,
|
|
18723
|
-
|
|
18724
|
-
|
|
18725
|
-
|
|
18723
|
+
aq,
|
|
18724
|
+
tq,
|
|
18725
|
+
iq,
|
|
18726
18726
|
w,
|
|
18727
18727
|
i,
|
|
18728
18728
|
t,
|
|
18729
|
-
UK,
|
|
18730
|
-
KK,
|
|
18731
18729
|
eq,
|
|
18732
|
-
|
|
18733
|
-
|
|
18734
|
-
|
|
18730
|
+
rq,
|
|
18731
|
+
dq,
|
|
18732
|
+
fq,
|
|
18733
|
+
pq
|
|
18734
|
+
]), hq = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
|
|
18735
18735
|
t
|
|
18736
|
-
]),
|
|
18736
|
+
]), gq = !hq && !!(c && d), _q = useJsonViewerStore((e2) => e2.keyRenderer), vq = (0, import_react.useMemo)(() => ({
|
|
18737
18737
|
path: i,
|
|
18738
18738
|
inspect: K,
|
|
18739
18739
|
setInspect: q,
|
|
@@ -18765,18 +18765,18 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18765
18765
|
className: "data-key",
|
|
18766
18766
|
sx: {
|
|
18767
18767
|
lineHeight: 1.5,
|
|
18768
|
-
color:
|
|
18768
|
+
color: KK,
|
|
18769
18769
|
letterSpacing: 0.5,
|
|
18770
18770
|
opacity: 0.8
|
|
18771
18771
|
},
|
|
18772
18772
|
onClick: (0, import_react.useCallback)((e2) => {
|
|
18773
|
-
e2.isDefaultPrevented() ||
|
|
18773
|
+
e2.isDefaultPrevented() || hq || q((e3) => !e3);
|
|
18774
18774
|
}, [
|
|
18775
|
-
|
|
18775
|
+
hq,
|
|
18776
18776
|
q
|
|
18777
18777
|
]),
|
|
18778
18778
|
children: [
|
|
18779
|
-
|
|
18779
|
+
gq ? K ? (0, import_jsx_runtime.jsx)(ExpandMoreIcon, {
|
|
18780
18780
|
className: "data-key-toggle-expanded",
|
|
18781
18781
|
sx: {
|
|
18782
18782
|
fontSize: ".8rem",
|
|
@@ -18794,27 +18794,27 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18794
18794
|
}
|
|
18795
18795
|
}) : null,
|
|
18796
18796
|
(0, import_jsx_runtime.jsx)(Box_default, {
|
|
18797
|
-
ref:
|
|
18797
|
+
ref: uq,
|
|
18798
18798
|
className: "data-key-key",
|
|
18799
18799
|
component: "span",
|
|
18800
|
-
children:
|
|
18800
|
+
children: ZK && O === 0 ? XK === false ? null : YK ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
18801
18801
|
children: [
|
|
18802
18802
|
'"',
|
|
18803
|
-
|
|
18803
|
+
XK,
|
|
18804
18804
|
'"'
|
|
18805
18805
|
]
|
|
18806
18806
|
}) : (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
|
|
18807
|
-
children:
|
|
18808
|
-
}) :
|
|
18809
|
-
...
|
|
18810
|
-
}) : a === void 0 && (
|
|
18807
|
+
children: XK
|
|
18808
|
+
}) : _q.when(vq) ? (0, import_jsx_runtime.jsx)(_q, {
|
|
18809
|
+
...vq
|
|
18810
|
+
}) : a === void 0 && (QK ? (0, import_jsx_runtime.jsx)(Box_default, {
|
|
18811
18811
|
component: "span",
|
|
18812
18812
|
style: {
|
|
18813
|
-
color:
|
|
18814
|
-
userSelect:
|
|
18813
|
+
color: qK,
|
|
18814
|
+
userSelect: QK ? "none" : "auto"
|
|
18815
18815
|
},
|
|
18816
18816
|
children: A
|
|
18817
|
-
}) :
|
|
18817
|
+
}) : YK ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
18818
18818
|
children: [
|
|
18819
18819
|
'"',
|
|
18820
18820
|
A,
|
|
@@ -18824,7 +18824,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18824
18824
|
children: A
|
|
18825
18825
|
}))
|
|
18826
18826
|
}),
|
|
18827
|
-
|
|
18827
|
+
ZK ? XK !== false && (0, import_jsx_runtime.jsx)(DataBox, {
|
|
18828
18828
|
className: "data-key-colon",
|
|
18829
18829
|
sx: {
|
|
18830
18830
|
mr: 0.5
|
|
@@ -18837,38 +18837,38 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18837
18837
|
".data-key-key:empty + &": {
|
|
18838
18838
|
display: "none"
|
|
18839
18839
|
},
|
|
18840
|
-
userSelect:
|
|
18840
|
+
userSelect: QK ? "none" : "auto"
|
|
18841
18841
|
},
|
|
18842
18842
|
children: ":"
|
|
18843
18843
|
}),
|
|
18844
18844
|
c && (0, import_jsx_runtime.jsx)(c, {
|
|
18845
|
-
...
|
|
18845
|
+
...vq
|
|
18846
18846
|
}),
|
|
18847
|
-
I &&
|
|
18847
|
+
I && gq && K && mq
|
|
18848
18848
|
]
|
|
18849
18849
|
}),
|
|
18850
18850
|
J && S ? f && (0, import_jsx_runtime.jsx)(f, {
|
|
18851
18851
|
path: i,
|
|
18852
18852
|
value: w,
|
|
18853
18853
|
setValue: E,
|
|
18854
|
-
abortEditing:
|
|
18855
|
-
commitEditing:
|
|
18854
|
+
abortEditing: fq,
|
|
18855
|
+
commitEditing: pq
|
|
18856
18856
|
}) : s ? (0, import_jsx_runtime.jsx)(s, {
|
|
18857
|
-
...
|
|
18857
|
+
...vq
|
|
18858
18858
|
}) : (0, import_jsx_runtime.jsx)(Box_default, {
|
|
18859
18859
|
component: "span",
|
|
18860
18860
|
className: "data-value-fallback",
|
|
18861
18861
|
children: `fallback: ${t}`
|
|
18862
18862
|
}),
|
|
18863
18863
|
d && (0, import_jsx_runtime.jsx)(d, {
|
|
18864
|
-
...
|
|
18864
|
+
...vq
|
|
18865
18865
|
}),
|
|
18866
|
-
!o &&
|
|
18866
|
+
!o && $ && (0, import_jsx_runtime.jsx)(DataBox, {
|
|
18867
18867
|
children: ","
|
|
18868
18868
|
}),
|
|
18869
|
-
I &&
|
|
18870
|
-
I && !
|
|
18871
|
-
!I && J &&
|
|
18869
|
+
I && gq && !K && mq,
|
|
18870
|
+
I && !gq && mq,
|
|
18871
|
+
!I && J && mq
|
|
18872
18872
|
]
|
|
18873
18873
|
});
|
|
18874
18874
|
}, query = "(prefers-color-scheme: dark)";
|
|
@@ -18997,9 +18997,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18997
18997
|
})
|
|
18998
18998
|
})
|
|
18999
18999
|
});
|
|
19000
|
-
}, import_compiler_runtime$
|
|
19000
|
+
}, import_compiler_runtime$61 = require_compiler_runtime();
|
|
19001
19001
|
HtmlOutput = (0, import_react.memo)((e) => {
|
|
19002
|
-
let t = (0, import_compiler_runtime$
|
|
19002
|
+
let t = (0, import_compiler_runtime$61.c)(10), { html: n, inline: i, className: o, alwaysSanitizeHtml: s } = e, c = i === void 0 ? false : i;
|
|
19003
19003
|
if (!n) return null;
|
|
19004
19004
|
let d = !c, f;
|
|
19005
19005
|
t[0] !== o || t[1] !== c || t[2] !== d ? (f = cn(o, {
|
|
@@ -19018,9 +19018,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
19018
19018
|
}), t[7] = f, t[8] = h, t[9] = _) : _ = t[9], _;
|
|
19019
19019
|
});
|
|
19020
19020
|
HtmlOutput.displayName = "HtmlOutput";
|
|
19021
|
-
var import_compiler_runtime$
|
|
19021
|
+
var import_compiler_runtime$60 = require_compiler_runtime();
|
|
19022
19022
|
const ImageOutput = (e) => {
|
|
19023
|
-
let t = (0, import_compiler_runtime$
|
|
19023
|
+
let t = (0, import_compiler_runtime$60.c)(8), { src: n, alt: i, width: a, height: o, className: s } = e, c = i === void 0 ? "" : i, d;
|
|
19024
19024
|
t[0] !== c || t[1] !== o || t[2] !== n || t[3] !== a ? (d = (0, import_jsx_runtime.jsx)("img", {
|
|
19025
19025
|
src: n,
|
|
19026
19026
|
alt: c,
|
|
@@ -19033,9 +19033,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
19033
19033
|
children: d
|
|
19034
19034
|
}), t[5] = s, t[6] = d, t[7] = f) : f = t[7], f;
|
|
19035
19035
|
};
|
|
19036
|
-
var import_compiler_runtime$
|
|
19036
|
+
var import_compiler_runtime$59 = require_compiler_runtime();
|
|
19037
19037
|
Kbd = (e) => {
|
|
19038
|
-
let t = (0, import_compiler_runtime$
|
|
19038
|
+
let t = (0, import_compiler_runtime$59.c)(5), n;
|
|
19039
19039
|
t[0] === e.className ? n = t[1] : (n = clsx_default(e.className, "rounded-md bg-muted/40 px-2 text-[0.75rem] font-prose center border border-foreground/20 text-muted-foreground block whitespace-nowrap"), t[0] = e.className, t[1] = n);
|
|
19040
19040
|
let i;
|
|
19041
19041
|
return t[2] !== e.children || t[3] !== n ? (i = (0, import_jsx_runtime.jsx)("kbd", {
|
|
@@ -19043,9 +19043,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
19043
19043
|
children: e.children
|
|
19044
19044
|
}), t[2] = e.children, t[3] = n, t[4] = i) : i = t[4], i;
|
|
19045
19045
|
};
|
|
19046
|
-
var import_compiler_runtime$
|
|
19046
|
+
var import_compiler_runtime$58 = require_compiler_runtime();
|
|
19047
19047
|
const ExternalLink$1 = (e) => {
|
|
19048
|
-
let t = (0, import_compiler_runtime$
|
|
19048
|
+
let t = (0, import_compiler_runtime$58.c)(3), { href: n, children: i } = e, a;
|
|
19049
19049
|
return t[0] !== i || t[1] !== n ? (a = (0, import_jsx_runtime.jsx)("a", {
|
|
19050
19050
|
href: n,
|
|
19051
19051
|
target: "_blank",
|
|
@@ -19232,17 +19232,17 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19232
19232
|
os: "os",
|
|
19233
19233
|
re: "re",
|
|
19234
19234
|
sys: "sys"
|
|
19235
|
-
}, import_compiler_runtime$
|
|
19235
|
+
}, import_compiler_runtime$57 = require_compiler_runtime(), fixModeAtom = atomWithStorage("marimo:ai-autofix-mode", "autofix", jotaiJsonStorage);
|
|
19236
19236
|
function useFixMode() {
|
|
19237
|
-
let e = (0, import_compiler_runtime$
|
|
19237
|
+
let e = (0, import_compiler_runtime$57.c)(3), [t, n] = useAtom(fixModeAtom), i;
|
|
19238
19238
|
return e[0] !== t || e[1] !== n ? (i = {
|
|
19239
19239
|
fixMode: t,
|
|
19240
19240
|
setFixMode: n
|
|
19241
19241
|
}, e[0] = t, e[1] = n, e[2] = i) : i = e[2], i;
|
|
19242
19242
|
}
|
|
19243
|
-
var import_compiler_runtime$
|
|
19243
|
+
var import_compiler_runtime$56 = require_compiler_runtime();
|
|
19244
19244
|
const AutoFixButton = (e) => {
|
|
19245
|
-
let t = (0, import_compiler_runtime$
|
|
19245
|
+
let t = (0, import_compiler_runtime$56.c)(21), { errors: n, cellId: i, className: o } = e, s = useStore(), { createNewCell: c } = useCellActions(), d = useAtomValue(aiFeaturesEnabledAtom), f;
|
|
19246
19246
|
if (t[0] !== d || t[1] !== n) {
|
|
19247
19247
|
let e2;
|
|
19248
19248
|
t[3] === d ? e2 = t[4] : (e2 = (e3) => getAutoFixes(e3, {
|
|
@@ -19274,8 +19274,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19274
19274
|
}, t[5] = i, t[6] = c, t[7] = y, t[8] = v, t[9] = s, t[10] = S) : S = t[10];
|
|
19275
19275
|
let w = S, E;
|
|
19276
19276
|
t[11] === o ? E = t[12] : (E = cn("my-2", o), t[11] = o, t[12] = E);
|
|
19277
|
-
let
|
|
19278
|
-
t[13] !== y.description || t[14] !== y.fixType || t[15] !== y.title || t[16] !== w ? (
|
|
19277
|
+
let O;
|
|
19278
|
+
t[13] !== y.description || t[14] !== y.fixType || t[15] !== y.title || t[16] !== w ? (O = y.fixType === "ai" ? (0, import_jsx_runtime.jsx)(AIFixButton, {
|
|
19279
19279
|
tooltip: y.description,
|
|
19280
19280
|
openPrompt: () => w(false),
|
|
19281
19281
|
applyAutofix: () => w(true)
|
|
@@ -19294,16 +19294,16 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19294
19294
|
y.title
|
|
19295
19295
|
]
|
|
19296
19296
|
})
|
|
19297
|
-
}), t[13] = y.description, t[14] = y.fixType, t[15] = y.title, t[16] = w, t[17] =
|
|
19298
|
-
let
|
|
19299
|
-
return t[18] !== E || t[19] !==
|
|
19297
|
+
}), t[13] = y.description, t[14] = y.fixType, t[15] = y.title, t[16] = w, t[17] = O) : O = t[17];
|
|
19298
|
+
let A;
|
|
19299
|
+
return t[18] !== E || t[19] !== O ? (A = (0, import_jsx_runtime.jsx)("div", {
|
|
19300
19300
|
className: E,
|
|
19301
|
-
children:
|
|
19302
|
-
}), t[18] = E, t[19] =
|
|
19301
|
+
children: O
|
|
19302
|
+
}), t[18] = E, t[19] = O, t[20] = A) : A = t[20], A;
|
|
19303
19303
|
};
|
|
19304
19304
|
var PromptIcon = Sparkles, AutofixIcon = Wrench, PromptTitle = "Suggest a prompt", AutofixTitle = "Fix with AI";
|
|
19305
19305
|
const AIFixButton = (e) => {
|
|
19306
|
-
let t = (0, import_compiler_runtime$
|
|
19306
|
+
let t = (0, import_compiler_runtime$56.c)(21), { tooltip: n, openPrompt: i, applyAutofix: a } = e, { fixMode: o, setFixMode: s } = useFixMode(), c = o === "prompt" ? i : a, d;
|
|
19307
19307
|
t[0] === o ? d = t[1] : (d = o === "prompt" ? (0, import_jsx_runtime.jsx)(PromptIcon, {
|
|
19308
19308
|
className: "h-3 w-3 mr-2 mb-0.5"
|
|
19309
19309
|
}) : (0, import_jsx_runtime.jsx)(AutofixIcon, {
|
|
@@ -19372,7 +19372,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19372
19372
|
}), t[18] = O, t[19] = v, t[20] = A) : A = t[20], A;
|
|
19373
19373
|
};
|
|
19374
19374
|
var AiModeItem = (e) => {
|
|
19375
|
-
let t = (0, import_compiler_runtime$
|
|
19375
|
+
let t = (0, import_compiler_runtime$56.c)(12), { mode: n } = e, i;
|
|
19376
19376
|
t[0] === n ? i = t[1] : (i = n === "prompt" ? (0, import_jsx_runtime.jsx)(PromptIcon, {
|
|
19377
19377
|
className: "h-4 w-4"
|
|
19378
19378
|
}) : (0, import_jsx_runtime.jsx)(AutofixIcon, {
|
|
@@ -19409,9 +19409,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19409
19409
|
function useFilename() {
|
|
19410
19410
|
return useAtomValue(filenameAtom);
|
|
19411
19411
|
}
|
|
19412
|
-
var import_compiler_runtime$
|
|
19412
|
+
var import_compiler_runtime$54 = require_compiler_runtime();
|
|
19413
19413
|
const CellLink = (e) => {
|
|
19414
|
-
let t = (0, import_compiler_runtime$
|
|
19414
|
+
let t = (0, import_compiler_runtime$54.c)(12), { className: n, cellId: i, variant: o, onClick: s, formatCellName: c, skipScroll: d } = e, f = useCellNames()[i] ?? "", h = useCellIds().inOrderIds.indexOf(i), { showCellIfHidden: _ } = useCellActions(), v = c ?? _temp$11, y;
|
|
19415
19415
|
t[0] === n ? y = t[1] : (y = cn("inline-block cursor-pointer text-link hover:underline", n), t[0] = n, t[1] = y);
|
|
19416
19416
|
let S;
|
|
19417
19417
|
t[2] !== i || t[3] !== s || t[4] !== _ || t[5] !== d || t[6] !== o ? (S = (e2) => {
|
|
@@ -19431,13 +19431,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19431
19431
|
children: w
|
|
19432
19432
|
}), t[8] = y, t[9] = S, t[10] = w, t[11] = E) : E = t[11], E;
|
|
19433
19433
|
}, CellLinkError = (e) => {
|
|
19434
|
-
let t = (0, import_compiler_runtime$
|
|
19434
|
+
let t = (0, import_compiler_runtime$54.c)(2), n;
|
|
19435
19435
|
return t[0] === e ? n = t[1] : (n = (0, import_jsx_runtime.jsx)(CellLink, {
|
|
19436
19436
|
...e,
|
|
19437
19437
|
variant: "destructive"
|
|
19438
19438
|
}), t[0] = e, t[1] = n), n;
|
|
19439
19439
|
}, CellLinkTraceback = (e) => {
|
|
19440
|
-
let t = (0, import_compiler_runtime$
|
|
19440
|
+
let t = (0, import_compiler_runtime$54.c)(10), { cellId: n, lineNumber: i } = e, a = useFilename(), o;
|
|
19441
19441
|
t[0] !== n || t[1] !== i ? (o = () => goToCellLine(n, i), t[0] = n, t[1] = i, t[2] = o) : o = t[2];
|
|
19442
19442
|
let s;
|
|
19443
19443
|
t[3] !== n || t[4] !== a ? (s = (e2) => n === "__scratch__" ? "scratch" : `marimo://${a || "untitled"}#cell=${e2}`, t[3] = n, t[4] = a, t[5] = s) : s = t[5];
|
|
@@ -19465,9 +19465,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19465
19465
|
function _temp$11(e) {
|
|
19466
19466
|
return e;
|
|
19467
19467
|
}
|
|
19468
|
-
var import_compiler_runtime$
|
|
19468
|
+
var import_compiler_runtime$53 = require_compiler_runtime();
|
|
19469
19469
|
const MangledLocalChip = (e) => {
|
|
19470
|
-
let t = (0, import_compiler_runtime$
|
|
19470
|
+
let t = (0, import_compiler_runtime$53.c)(12), { local: n } = e, i;
|
|
19471
19471
|
t[0] === n.name ? i = t[1] : (i = (0, import_jsx_runtime.jsx)("span", {
|
|
19472
19472
|
className: "font-code",
|
|
19473
19473
|
children: n.name
|
|
@@ -19499,7 +19499,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19499
19499
|
children: c
|
|
19500
19500
|
}), t[9] = c, t[10] = s, t[11] = d) : d = t[11], d;
|
|
19501
19501
|
}, MangledSegments = (e) => {
|
|
19502
|
-
let t = (0, import_compiler_runtime$
|
|
19502
|
+
let t = (0, import_compiler_runtime$53.c)(4), { segments: n } = e, i;
|
|
19503
19503
|
t[0] === n ? i = t[1] : (i = n.map(_temp$10), t[0] = n, t[1] = i);
|
|
19504
19504
|
let a;
|
|
19505
19505
|
return t[2] === i ? a = t[3] : (a = (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
|
|
@@ -19582,7 +19582,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19582
19582
|
value: e2
|
|
19583
19583
|
});
|
|
19584
19584
|
}
|
|
19585
|
-
var import_compiler_runtime$
|
|
19585
|
+
var import_compiler_runtime$52 = require_compiler_runtime(), ansiUp = new AnsiUp();
|
|
19586
19586
|
const cleanAnsiCodes = (e) => {
|
|
19587
19587
|
let t = RegExp("\x1B\\[[0-9;]*m", "g");
|
|
19588
19588
|
return e.replaceAll(t, "");
|
|
@@ -19650,7 +19650,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19650
19650
|
});
|
|
19651
19651
|
}
|
|
19652
19652
|
var InstallPackageLink = (e) => {
|
|
19653
|
-
let t = (0, import_compiler_runtime$
|
|
19653
|
+
let t = (0, import_compiler_runtime$52.c)(6), { packages: n, children: i } = e, { handleInstallPackages: a } = useInstallPackages(), o;
|
|
19654
19654
|
t[0] !== a || t[1] !== n ? (o = (e2) => {
|
|
19655
19655
|
a(n), e2.preventDefault();
|
|
19656
19656
|
}, t[0] = a, t[1] = n, t[2] = o) : o = t[2];
|
|
@@ -19723,15 +19723,15 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19723
19723
|
})
|
|
19724
19724
|
});
|
|
19725
19725
|
RenderTextWithLinks = (e) => {
|
|
19726
|
-
let t = (0, import_compiler_runtime$
|
|
19726
|
+
let t = (0, import_compiler_runtime$52.c)(4), { text: n } = e, i;
|
|
19727
19727
|
t[0] === n ? i = t[1] : (i = renderTextWithReplacers(n, composeReplacers(pipInstallReplacer, urlReplacer)), t[0] = n, t[1] = i);
|
|
19728
19728
|
let a = i, o;
|
|
19729
19729
|
return t[2] === a ? o = t[3] : (o = (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
|
|
19730
19730
|
children: a
|
|
19731
19731
|
}), t[2] = a, t[3] = o), o;
|
|
19732
19732
|
};
|
|
19733
|
-
var import_compiler_runtime$
|
|
19734
|
-
let t = (0, import_compiler_runtime$
|
|
19733
|
+
var import_compiler_runtime$51 = require_compiler_runtime(), CollapsibleTraceback = (e) => {
|
|
19734
|
+
let t = (0, import_compiler_runtime$51.c)(16), { traceback: n } = e, [i, a] = (0, import_react.useState)(true), o;
|
|
19735
19735
|
t[0] === i ? o = t[1] : (o = () => a(!i), t[0] = i, t[1] = o);
|
|
19736
19736
|
let s = i ? "Collapse traceback" : "Expand traceback", c;
|
|
19737
19737
|
t[2] === i ? c = t[3] : (c = i ? (0, import_jsx_runtime.jsx)(ChevronDown, {
|
|
@@ -19772,7 +19772,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19772
19772
|
]
|
|
19773
19773
|
}), t[13] = f, t[14] = h, t[15] = _) : _ = t[15], _;
|
|
19774
19774
|
}, Tip = (e) => {
|
|
19775
|
-
let t = (0, import_compiler_runtime$
|
|
19775
|
+
let t = (0, import_compiler_runtime$51.c)(10), n = e.title ?? "Tip", i;
|
|
19776
19776
|
t[0] === n ? i = t[1] : (i = (0, import_jsx_runtime.jsx)(AccordionTrigger, {
|
|
19777
19777
|
className: "pt-2 pb-0 font-normal",
|
|
19778
19778
|
children: n
|
|
@@ -19801,7 +19801,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19801
19801
|
}), t[7] = e.className, t[8] = o, t[9] = s) : s = t[9], s;
|
|
19802
19802
|
};
|
|
19803
19803
|
const MarimoErrorOutput = (e) => {
|
|
19804
|
-
let t = (0, import_compiler_runtime$
|
|
19804
|
+
let t = (0, import_compiler_runtime$51.c)(38), { errors: n, cellId: i, className: o } = e, s = useChromeActions(), c = useAtomValue(resolvedMarimoConfigAtom).display.cell_output === "above", d = "This cell wasn't run because it has errors", f = "destructive", _ = "text-error", v = null;
|
|
19805
19805
|
if (n.some(_temp$9)) d = "Interrupted";
|
|
19806
19806
|
else if (n.some(_temp2$7)) d = "An internal error occurred";
|
|
19807
19807
|
else if (n.some(_temp3$4)) d = "Ancestor prevented from running", f = "default", _ = "text-secondary-foreground";
|
|
@@ -19816,18 +19816,18 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19816
19816
|
}
|
|
19817
19817
|
let y, S, w, E, O, A;
|
|
19818
19818
|
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) {
|
|
19819
|
-
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),
|
|
19820
|
-
t[17] === s ?
|
|
19819
|
+
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), GK = n.filter(_temp15), KK = n.filter(_temp16), qK = n.filter(_temp17), JK = n.filter(_temp18), $;
|
|
19820
|
+
t[17] === s ? $ = t[18] : ($ = () => {
|
|
19821
19821
|
s.openApplication("scratchpad");
|
|
19822
|
-
}, t[17] = s, t[18] =
|
|
19823
|
-
let
|
|
19822
|
+
}, t[17] = s, t[18] = $);
|
|
19823
|
+
let XK = $, ZK = () => {
|
|
19824
19824
|
let t2 = [];
|
|
19825
|
-
if (
|
|
19826
|
-
let e3 =
|
|
19825
|
+
if (KK.length > 0 || qK.length > 0) {
|
|
19826
|
+
let e3 = KK.some(_temp19), n2 = !e3 && KK.some(_temp20);
|
|
19827
19827
|
t2.push((0, import_jsx_runtime.jsxs)("div", {
|
|
19828
19828
|
children: [
|
|
19829
|
-
|
|
19830
|
-
|
|
19829
|
+
KK.map(_temp21),
|
|
19830
|
+
qK.map(_temp22),
|
|
19831
19831
|
e3 && (0, import_jsx_runtime.jsxs)(Button, {
|
|
19832
19832
|
size: "xs",
|
|
19833
19833
|
variant: "outline",
|
|
@@ -19858,8 +19858,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19858
19858
|
}),
|
|
19859
19859
|
i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
|
|
19860
19860
|
errors: [
|
|
19861
|
-
...
|
|
19862
|
-
...
|
|
19861
|
+
...KK,
|
|
19862
|
+
...qK
|
|
19863
19863
|
],
|
|
19864
19864
|
cellId: i
|
|
19865
19865
|
})
|
|
@@ -20020,7 +20020,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20020
20020
|
size: "xs",
|
|
20021
20021
|
variant: "link",
|
|
20022
20022
|
className: "my-2 font-normal mx-0 px-0",
|
|
20023
|
-
onClick:
|
|
20023
|
+
onClick: XK,
|
|
20024
20024
|
children: [
|
|
20025
20025
|
(0, import_jsx_runtime.jsx)(NotebookPen, {
|
|
20026
20026
|
className: "h-3"
|
|
@@ -20211,26 +20211,26 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20211
20211
|
cellId: i
|
|
20212
20212
|
})
|
|
20213
20213
|
]
|
|
20214
|
-
}, "ancestor-prevented")),
|
|
20214
|
+
}, "ancestor-prevented")), GK.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
|
|
20215
20215
|
children: [
|
|
20216
|
-
|
|
20216
|
+
GK.map(_temp34),
|
|
20217
20217
|
i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
|
|
20218
|
-
errors:
|
|
20218
|
+
errors: GK,
|
|
20219
20219
|
cellId: i
|
|
20220
20220
|
})
|
|
20221
20221
|
]
|
|
20222
|
-
}, "ancestor-stopped")),
|
|
20222
|
+
}, "ancestor-stopped")), JK.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
|
|
20223
20223
|
children: [
|
|
20224
|
-
|
|
20224
|
+
JK.map(_temp35),
|
|
20225
20225
|
i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
|
|
20226
|
-
errors:
|
|
20226
|
+
errors: JK,
|
|
20227
20227
|
cellId: i,
|
|
20228
20228
|
className: "mt-2.5"
|
|
20229
20229
|
})
|
|
20230
20230
|
]
|
|
20231
20231
|
}, "sql-errors")), t2;
|
|
20232
|
-
},
|
|
20233
|
-
t[19] === v ?
|
|
20232
|
+
}, QK;
|
|
20233
|
+
t[19] === v ? QK = t[20] : (QK = v && (0, import_jsx_runtime.jsxs)("div", {
|
|
20234
20234
|
className: "flex items-center gap-1 font-code text-[0.6875rem] uppercase tracking-wider text-muted-foreground/70",
|
|
20235
20235
|
children: [
|
|
20236
20236
|
v,
|
|
@@ -20242,22 +20242,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20242
20242
|
})
|
|
20243
20243
|
})
|
|
20244
20244
|
]
|
|
20245
|
-
}), t[19] = v, t[20] =
|
|
20246
|
-
let
|
|
20247
|
-
t[21] !== _ || t[22] !== d ? (
|
|
20245
|
+
}), t[19] = v, t[20] = QK);
|
|
20246
|
+
let $K;
|
|
20247
|
+
t[21] !== _ || t[22] !== d ? ($K = d && (0, import_jsx_runtime.jsx)(AlertTitle, {
|
|
20248
20248
|
className: `font-code font-medium ${_}`,
|
|
20249
20249
|
children: d
|
|
20250
|
-
}), t[21] = _, t[22] = d, t[23] =
|
|
20251
|
-
let
|
|
20252
|
-
t[24] !==
|
|
20250
|
+
}), t[21] = _, t[22] = d, t[23] = $K) : $K = t[23];
|
|
20251
|
+
let eq;
|
|
20252
|
+
t[24] !== QK || t[25] !== $K ? (eq = (0, import_jsx_runtime.jsxs)("div", {
|
|
20253
20253
|
className: "space-y-0.5",
|
|
20254
20254
|
children: [
|
|
20255
|
-
|
|
20256
|
-
|
|
20255
|
+
QK,
|
|
20256
|
+
$K
|
|
20257
20257
|
]
|
|
20258
|
-
}), t[24] =
|
|
20259
|
-
let
|
|
20260
|
-
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 =
|
|
20258
|
+
}), t[24] = QK, t[25] = $K, t[26] = eq) : eq = t[26];
|
|
20259
|
+
let tq = eq;
|
|
20260
|
+
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 = tq, S = "flex flex-col gap-4", w = ZK(), 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;
|
|
20261
20261
|
} else y = t[11], S = t[12], w = t[13], E = t[14], O = t[15], A = t[16];
|
|
20262
20262
|
let M;
|
|
20263
20263
|
t[29] !== S || t[30] !== w ? (M = (0, import_jsx_runtime.jsx)("div", {
|
|
@@ -20495,9 +20495,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20495
20495
|
})
|
|
20496
20496
|
}, `sql-error-${t}`);
|
|
20497
20497
|
}
|
|
20498
|
-
var import_compiler_runtime$
|
|
20498
|
+
var import_compiler_runtime$50 = require_compiler_runtime();
|
|
20499
20499
|
const TextOutput = (e) => {
|
|
20500
|
-
let t = (0, import_compiler_runtime$
|
|
20500
|
+
let t = (0, import_compiler_runtime$50.c)(13), { text: n, channel: i, wrapText: o } = e, s = i === "stdout" || i === "stderr", c;
|
|
20501
20501
|
t[0] === o ? c = t[1] : (c = (e2) => (0, import_jsx_runtime.jsx)("span", {
|
|
20502
20502
|
className: o ? "whitespace-pre-wrap break-words" : "whitespace-pre",
|
|
20503
20503
|
children: (0, import_jsx_runtime.jsx)(RenderTextWithLinks, {
|
|
@@ -20514,17 +20514,17 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20514
20514
|
children: v
|
|
20515
20515
|
}), t[10] = _, t[11] = v, t[12] = y) : y = t[12], y;
|
|
20516
20516
|
};
|
|
20517
|
-
var import_compiler_runtime$
|
|
20517
|
+
var import_compiler_runtime$49 = require_compiler_runtime();
|
|
20518
20518
|
const VideoOutput = (e) => {
|
|
20519
|
-
let t = (0, import_compiler_runtime$
|
|
20519
|
+
let t = (0, import_compiler_runtime$49.c)(3), { src: n, className: i } = e, a;
|
|
20520
20520
|
return t[0] !== i || t[1] !== n ? (a = (0, import_jsx_runtime.jsx)("iframe", {
|
|
20521
20521
|
className: i,
|
|
20522
20522
|
src: n
|
|
20523
20523
|
}), t[0] = i, t[1] = n, t[2] = a) : a = t[2], a;
|
|
20524
20524
|
};
|
|
20525
|
-
var import_compiler_runtime$
|
|
20525
|
+
var import_compiler_runtime$48 = require_compiler_runtime();
|
|
20526
20526
|
useOverflowDetection = function(e, t) {
|
|
20527
|
-
let n = (0, import_compiler_runtime$
|
|
20527
|
+
let n = (0, import_compiler_runtime$48.c)(4), i = t === void 0 ? true : t, [a, o] = (0, import_react.useState)(false), s, c;
|
|
20528
20528
|
return n[0] !== i || n[1] !== e ? (s = () => {
|
|
20529
20529
|
let t2 = e.current;
|
|
20530
20530
|
if (!t2 || !i) return;
|
|
@@ -20621,9 +20621,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20621
20621
|
LazyVegaEmbed = import_react.lazy(() => import("./react-vega-B6ncY2Tp.js").then((e) => ({
|
|
20622
20622
|
default: e.VegaEmbed
|
|
20623
20623
|
})));
|
|
20624
|
-
var import_compiler_runtime$
|
|
20624
|
+
var import_compiler_runtime$47 = require_compiler_runtime();
|
|
20625
20625
|
ChartLoadingState = () => {
|
|
20626
|
-
let e = (0, import_compiler_runtime$
|
|
20626
|
+
let e = (0, import_compiler_runtime$47.c)(1), t;
|
|
20627
20627
|
return e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t = (0, import_jsx_runtime.jsxs)("div", {
|
|
20628
20628
|
className: "flex items-center gap-2 justify-center",
|
|
20629
20629
|
children: [
|
|
@@ -20638,7 +20638,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20638
20638
|
}), e[0] = t) : t = e[0], t;
|
|
20639
20639
|
};
|
|
20640
20640
|
ChartErrorState = (e) => {
|
|
20641
|
-
let t = (0, import_compiler_runtime$
|
|
20641
|
+
let t = (0, import_compiler_runtime$47.c)(2), { error: n } = e, i;
|
|
20642
20642
|
return t[0] === n ? i = t[1] : (i = (0, import_jsx_runtime.jsx)("div", {
|
|
20643
20643
|
className: "flex items-center justify-center",
|
|
20644
20644
|
children: (0, import_jsx_runtime.jsx)(ErrorBanner, {
|
|
@@ -20647,7 +20647,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20647
20647
|
}), t[0] = n, t[1] = i), i;
|
|
20648
20648
|
};
|
|
20649
20649
|
ChartInfoState = (e) => {
|
|
20650
|
-
let t = (0, import_compiler_runtime$
|
|
20650
|
+
let t = (0, import_compiler_runtime$47.c)(8), { children: n, className: i } = e, o;
|
|
20651
20651
|
t[0] === i ? o = t[1] : (o = cn("flex flex-col items-center justify-center gap-4", i), t[0] = i, t[1] = o);
|
|
20652
20652
|
let s;
|
|
20653
20653
|
t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = (0, import_jsx_runtime.jsx)(ChartPie, {
|
|
@@ -20667,11 +20667,11 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20667
20667
|
]
|
|
20668
20668
|
}), t[5] = o, t[6] = c, t[7] = d) : d = t[7], d;
|
|
20669
20669
|
};
|
|
20670
|
-
let import_compiler_runtime$
|
|
20671
|
-
import_compiler_runtime$
|
|
20670
|
+
let import_compiler_runtime$46;
|
|
20671
|
+
import_compiler_runtime$46 = require_compiler_runtime();
|
|
20672
20672
|
Tabs = Root2;
|
|
20673
20673
|
TabsList = import_react.forwardRef((e, t) => {
|
|
20674
|
-
let n = (0, import_compiler_runtime$
|
|
20674
|
+
let n = (0, import_compiler_runtime$46.c)(9), i, o;
|
|
20675
20675
|
n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
|
|
20676
20676
|
let s;
|
|
20677
20677
|
n[3] === i ? s = n[4] : (s = cn("inline-flex max-h-14 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground", i), n[3] = i, n[4] = s);
|
|
@@ -20684,7 +20684,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20684
20684
|
});
|
|
20685
20685
|
TabsList.displayName = List.displayName;
|
|
20686
20686
|
TabsTrigger = import_react.forwardRef((e, t) => {
|
|
20687
|
-
let n = (0, import_compiler_runtime$
|
|
20687
|
+
let n = (0, import_compiler_runtime$46.c)(9), i, o;
|
|
20688
20688
|
n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
|
|
20689
20689
|
let s;
|
|
20690
20690
|
n[3] === i ? s = n[4] : (s = cn("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm", i), n[3] = i, n[4] = s);
|
|
@@ -20697,7 +20697,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20697
20697
|
});
|
|
20698
20698
|
TabsTrigger.displayName = Trigger.displayName;
|
|
20699
20699
|
TabsContent = import_react.forwardRef((e, t) => {
|
|
20700
|
-
let n = (0, import_compiler_runtime$
|
|
20700
|
+
let n = (0, import_compiler_runtime$46.c)(9), i, o;
|
|
20701
20701
|
n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
|
|
20702
20702
|
let s;
|
|
20703
20703
|
n[3] === i ? s = n[4] : (s = cn("mt-2 ring-offset-background focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2", i), n[3] = i, n[4] = s);
|
|
@@ -20709,9 +20709,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20709
20709
|
}), n[5] = o, n[6] = t, n[7] = s, n[8] = c) : c = n[8], c;
|
|
20710
20710
|
});
|
|
20711
20711
|
TabsContent.displayName = Content.displayName;
|
|
20712
|
-
var import_compiler_runtime$
|
|
20712
|
+
var import_compiler_runtime$45 = require_compiler_runtime();
|
|
20713
20713
|
const WithLocale = (e) => {
|
|
20714
|
-
let t = (0, import_compiler_runtime$
|
|
20714
|
+
let t = (0, import_compiler_runtime$45.c)(3), { children: n } = e, { locale: i } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), a;
|
|
20715
20715
|
return t[0] !== n || t[1] !== i ? (a = n(i), t[0] = n, t[1] = i, t[2] = a) : a = t[2], a;
|
|
20716
20716
|
};
|
|
20717
20717
|
function tzName(e, t, n = "long") {
|
|
@@ -21107,9 +21107,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
21107
21107
|
is_null: "Is null",
|
|
21108
21108
|
is_not_null: "Is not null"
|
|
21109
21109
|
};
|
|
21110
|
-
var import_compiler_runtime$
|
|
21110
|
+
var import_compiler_runtime$44 = require_compiler_runtime();
|
|
21111
21111
|
const MimeCell = (e) => {
|
|
21112
|
-
let t = (0, import_compiler_runtime$
|
|
21112
|
+
let t = (0, import_compiler_runtime$44.c)(6), { value: n } = e, i;
|
|
21113
21113
|
t[0] !== n.data || t[1] !== n.mimetype ? (i = {
|
|
21114
21114
|
channel: "output",
|
|
21115
21115
|
data: n.data,
|
|
@@ -23426,10 +23426,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23426
23426
|
],
|
|
23427
23427
|
unknown: []
|
|
23428
23428
|
};
|
|
23429
|
-
var import_compiler_runtime$
|
|
23429
|
+
var import_compiler_runtime$43 = require_compiler_runtime();
|
|
23430
23430
|
function FormatOptions(e) {
|
|
23431
23431
|
var _a2, _b, _c;
|
|
23432
|
-
let t = (0, import_compiler_runtime$
|
|
23432
|
+
let t = (0, import_compiler_runtime$43.c)(36), { column: n, locale: i } = e, o = (_a2 = n.columnDef.meta) == null ? void 0 : _a2.dataType, s, c, d, f, h, _, v, y;
|
|
23433
23433
|
if (t[0] !== n || t[1] !== o || t[2] !== i) {
|
|
23434
23434
|
y = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
|
|
23435
23435
|
bb0: {
|
|
@@ -23504,7 +23504,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23504
23504
|
}
|
|
23505
23505
|
function ColumnWrapping(e) {
|
|
23506
23506
|
var _a2;
|
|
23507
|
-
let t = (0, import_compiler_runtime$
|
|
23507
|
+
let t = (0, import_compiler_runtime$43.c)(10), { column: n } = e;
|
|
23508
23508
|
if (!((_a2 = n.getCanWrap) == null ? void 0 : _a2.call(n)) || !n.getColumnWrapping) return null;
|
|
23509
23509
|
if (n.getColumnWrapping() === "wrap") {
|
|
23510
23510
|
let e2;
|
|
@@ -23539,7 +23539,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23539
23539
|
}
|
|
23540
23540
|
function ColumnPinning$1(e) {
|
|
23541
23541
|
var _a2;
|
|
23542
|
-
let t = (0, import_compiler_runtime$
|
|
23542
|
+
let t = (0, import_compiler_runtime$43.c)(18), { column: n } = e;
|
|
23543
23543
|
if (!((_a2 = n.getCanPin) == null ? void 0 : _a2.call(n)) || !n.getIsPinned) return null;
|
|
23544
23544
|
if (n.getIsPinned() !== false) {
|
|
23545
23545
|
let e2;
|
|
@@ -23594,7 +23594,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23594
23594
|
}), t[15] = o, t[16] = d, t[17] = f) : f = t[17], f;
|
|
23595
23595
|
}
|
|
23596
23596
|
function HideColumn(e) {
|
|
23597
|
-
let t = (0, import_compiler_runtime$
|
|
23597
|
+
let t = (0, import_compiler_runtime$43.c)(5), { column: n } = e;
|
|
23598
23598
|
if (!n.getCanHide()) return null;
|
|
23599
23599
|
let i;
|
|
23600
23600
|
t[0] === n ? i = t[1] : (i = () => n.toggleVisibility(false), t[0] = n, t[1] = i);
|
|
@@ -23613,7 +23613,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23613
23613
|
}
|
|
23614
23614
|
function CopyColumn(e) {
|
|
23615
23615
|
var _a2;
|
|
23616
|
-
let t = (0, import_compiler_runtime$
|
|
23616
|
+
let t = (0, import_compiler_runtime$43.c)(5), { column: n } = e;
|
|
23617
23617
|
if (!((_a2 = n.getCanCopy) == null ? void 0 : _a2.call(n)) || n.id.startsWith("__m_column__")) return null;
|
|
23618
23618
|
let i;
|
|
23619
23619
|
t[0] === n.id ? i = t[1] : (i = async () => await copyToClipboard(n.id), t[0] = n.id, t[1] = i);
|
|
@@ -23632,7 +23632,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23632
23632
|
}
|
|
23633
23633
|
var AscIcon = ArrowUpNarrowWide, DescIcon = ArrowDownWideNarrow;
|
|
23634
23634
|
function Sorts(e) {
|
|
23635
|
-
let t = (0, import_compiler_runtime$
|
|
23635
|
+
let t = (0, import_compiler_runtime$43.c)(40), { column: n, table: i } = e;
|
|
23636
23636
|
if (!n.getCanSort()) return null;
|
|
23637
23637
|
let a;
|
|
23638
23638
|
t[0] === n ? a = t[1] : (a = n.getIsSorted(), t[0] = n, t[1] = a);
|
|
@@ -23707,14 +23707,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23707
23707
|
}), t[30] = z, t[31] = U, t[32] = q, t[33] = J) : J = t[33];
|
|
23708
23708
|
let Q;
|
|
23709
23709
|
t[34] === y ? Q = t[35] : (Q = y(), t[34] = y, t[35] = Q);
|
|
23710
|
-
let
|
|
23711
|
-
return t[36] !== I || t[37] !== J || t[38] !== Q ? (
|
|
23710
|
+
let GK;
|
|
23711
|
+
return t[36] !== I || t[37] !== J || t[38] !== Q ? (GK = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
23712
23712
|
children: [
|
|
23713
23713
|
I,
|
|
23714
23714
|
J,
|
|
23715
23715
|
Q
|
|
23716
23716
|
]
|
|
23717
|
-
}), t[36] = I, t[37] = J, t[38] = Q, t[39] =
|
|
23717
|
+
}), t[36] = I, t[37] = J, t[38] = Q, t[39] = GK) : GK = t[39], GK;
|
|
23718
23718
|
}
|
|
23719
23719
|
function renderSortIcon(e) {
|
|
23720
23720
|
if (!e.getCanSort()) return null;
|
|
@@ -23725,7 +23725,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23725
23725
|
}
|
|
23726
23726
|
function DataType(e) {
|
|
23727
23727
|
var _a2;
|
|
23728
|
-
let t = (0, import_compiler_runtime$
|
|
23728
|
+
let t = (0, import_compiler_runtime$43.c)(5), { column: n } = e, i = (_a2 = n.columnDef.meta) == null ? void 0 : _a2.dtype;
|
|
23729
23729
|
if (!i) return null;
|
|
23730
23730
|
let a;
|
|
23731
23731
|
t[0] === i ? a = t[1] : (a = (0, import_jsx_runtime.jsx)("div", {
|
|
@@ -23743,7 +23743,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23743
23743
|
}), t[3] = a, t[4] = s), s;
|
|
23744
23744
|
}
|
|
23745
23745
|
const ClearFilterMenuItem = (e) => {
|
|
23746
|
-
let t = (0, import_compiler_runtime$
|
|
23746
|
+
let t = (0, import_compiler_runtime$43.c)(5), { column: n } = e, i;
|
|
23747
23747
|
t[0] === n ? i = t[1] : (i = () => n.setFilterValue(void 0), t[0] = n, t[1] = i);
|
|
23748
23748
|
let a;
|
|
23749
23749
|
t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = (0, import_jsx_runtime.jsx)(FunnelX, {
|
|
@@ -23934,9 +23934,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23934
23934
|
let [t, n] = import_react.useState(e), [i, a] = import_react.useState(null);
|
|
23935
23935
|
return e !== t && (a(t), n(e)), i;
|
|
23936
23936
|
};
|
|
23937
|
-
var import_compiler_runtime$
|
|
23937
|
+
var import_compiler_runtime$42 = require_compiler_runtime();
|
|
23938
23938
|
DelayMount = (e) => {
|
|
23939
|
-
let t = (0, import_compiler_runtime$
|
|
23939
|
+
let t = (0, import_compiler_runtime$42.c)(13), { milliseconds: n, children: i, fallback: a, visibility: o, threshold: s, rootMargin: c } = e, d = o === void 0 ? false : o, f = s === void 0 ? 0 : s, h = c === void 0 ? "0px" : c, [_, v] = (0, import_react.useState)(false), [y, S] = (0, import_react.useState)(false), w;
|
|
23940
23940
|
t[0] !== h || t[1] !== f ? (w = {
|
|
23941
23941
|
threshold: f,
|
|
23942
23942
|
root: null,
|
|
@@ -23967,9 +23967,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
23967
23967
|
children: J
|
|
23968
23968
|
}), t[10] = q, t[11] = J, t[12] = Q) : Q = t[12], Q;
|
|
23969
23969
|
};
|
|
23970
|
-
var import_compiler_runtime$
|
|
23970
|
+
var import_compiler_runtime$41 = require_compiler_runtime();
|
|
23971
23971
|
const DatePopover = (e) => {
|
|
23972
|
-
let t = (0, import_compiler_runtime$
|
|
23972
|
+
let t = (0, import_compiler_runtime$41.c)(15), { date: n, type: i, children: a } = e;
|
|
23973
23973
|
if (!n || Number.isNaN(new Date(n).getTime())) return a;
|
|
23974
23974
|
let o;
|
|
23975
23975
|
t[0] === n ? o = t[1] : (o = new Date(n), t[0] = n, t[1] = o);
|
|
@@ -24009,7 +24009,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
24009
24009
|
}), t[12] = h, t[13] = _, t[14] = v) : v = t[14], v;
|
|
24010
24010
|
};
|
|
24011
24011
|
var TimezoneDisplay = (e) => {
|
|
24012
|
-
let t = (0, import_compiler_runtime$
|
|
24012
|
+
let t = (0, import_compiler_runtime$41.c)(26), { date: n } = e, { locale: i } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), a;
|
|
24013
24013
|
t[0] === i ? a = t[1] : (a = Intl.DateTimeFormat(i).resolvedOptions(), t[0] = i, t[1] = a);
|
|
24014
24014
|
let o = a.timeZone, s = n.getUTCMilliseconds() !== 0, c;
|
|
24015
24015
|
t[2] === s ? c = t[3] : (c = s ? {
|
|
@@ -24085,7 +24085,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
24085
24085
|
]
|
|
24086
24086
|
}), t[23] = O, t[24] = y, t[25] = A) : A = t[25], A;
|
|
24087
24087
|
}, DateDisplay = (e) => {
|
|
24088
|
-
let t = (0, import_compiler_runtime$
|
|
24088
|
+
let t = (0, import_compiler_runtime$41.c)(6), { date: n } = e, i;
|
|
24089
24089
|
t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = {
|
|
24090
24090
|
timeZone: "UTC",
|
|
24091
24091
|
dateStyle: "long"
|
|
@@ -24097,7 +24097,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
24097
24097
|
children: o
|
|
24098
24098
|
}), t[4] = o, t[5] = s), s;
|
|
24099
24099
|
}, RelativeTime = (e) => {
|
|
24100
|
-
let t = (0, import_compiler_runtime$
|
|
24100
|
+
let t = (0, import_compiler_runtime$41.c)(6), { date: n } = e, { locale: i } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), a, o;
|
|
24101
24101
|
if (t[0] !== n || t[1] !== i) {
|
|
24102
24102
|
o = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
|
|
24103
24103
|
bb0: {
|
|
@@ -24149,7 +24149,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
24149
24149
|
return t[4] === a ? s = t[5] : (s = (0, import_jsx_runtime.jsx)("span", {
|
|
24150
24150
|
children: a
|
|
24151
24151
|
}), t[4] = a, t[5] = s), s;
|
|
24152
|
-
}, import_compiler_runtime$
|
|
24152
|
+
}, import_compiler_runtime$40 = require_compiler_runtime(), hashString = (e) => {
|
|
24153
24153
|
let t = 0;
|
|
24154
24154
|
for (let n = 0; n < e.length; n++) {
|
|
24155
24155
|
let i = e.charCodeAt(n);
|
|
@@ -24166,7 +24166,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
24166
24166
|
return i;
|
|
24167
24167
|
};
|
|
24168
24168
|
const ChartSkeleton = (e) => {
|
|
24169
|
-
let t = (0, import_compiler_runtime$
|
|
24169
|
+
let t = (0, import_compiler_runtime$40.c)(11), { seed: n, width: i, height: a } = e, o = i / 9, s = a - 15, c;
|
|
24170
24170
|
if (t[0] !== o || t[1] !== a || t[2] !== n || t[3] !== s || t[4] !== i) {
|
|
24171
24171
|
let e2 = generateHeights({
|
|
24172
24172
|
numBars: 9,
|
|
@@ -24545,7 +24545,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
24545
24545
|
let c = s / t.length;
|
|
24546
24546
|
return Math.max(c, 1);
|
|
24547
24547
|
}
|
|
24548
|
-
let MAX_BAR_HEIGHT, BIN_END_EXTENSION_FACTOR, CONCAT_CHART_HEIGHT, CONCAT_CHART_WIDTH, CONCAT_NULL_BAR_WIDTH, BAR_COLOR, UNHOVERED_BAR_OPACITY, NULL_BAR_COLOR, import_compiler_runtime$
|
|
24548
|
+
let MAX_BAR_HEIGHT, BIN_END_EXTENSION_FACTOR, CONCAT_CHART_HEIGHT, CONCAT_CHART_WIDTH, CONCAT_NULL_BAR_WIDTH, BAR_COLOR, UNHOVERED_BAR_OPACITY, NULL_BAR_COLOR, import_compiler_runtime$39;
|
|
24549
24549
|
MAX_BAR_HEIGHT = 20;
|
|
24550
24550
|
BIN_END_EXTENSION_FACTOR = 0.1;
|
|
24551
24551
|
CONCAT_CHART_HEIGHT = 30;
|
|
@@ -25182,11 +25182,11 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
25182
25182
|
}, __publicField(_a, "EMPTY", new _a([], /* @__PURE__ */ new Map(), {}, {}, {}, {
|
|
25183
25183
|
includeCharts: false
|
|
25184
25184
|
})), _a);
|
|
25185
|
-
import_compiler_runtime$
|
|
25185
|
+
import_compiler_runtime$39 = require_compiler_runtime();
|
|
25186
25186
|
ColumnChartContext = import_react.createContext(ColumnChartSpecModel.EMPTY);
|
|
25187
25187
|
var batchedLoader = createBatchedLoader();
|
|
25188
25188
|
const TableColumnSummary = (e) => {
|
|
25189
|
-
let t = (0, import_compiler_runtime$
|
|
25189
|
+
let t = (0, import_compiler_runtime$39.c)(21), { columnId: n } = e, { locale: i } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), a = import_react.use(ColumnChartContext), { theme: o } = useTheme(), s, c, d;
|
|
25190
25190
|
if (t[0] !== a || t[1] !== n || t[2] !== i || t[3] !== o) {
|
|
25191
25191
|
let { spec: e2, type: f2, stats: h } = a.getHeaderSummary(n), _ = null;
|
|
25192
25192
|
if (e2) {
|
|
@@ -25387,7 +25387,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
25387
25387
|
};
|
|
25388
25388
|
}
|
|
25389
25389
|
};
|
|
25390
|
-
var import_compiler_runtime$
|
|
25390
|
+
var import_compiler_runtime$38 = require_compiler_runtime(), WHITESPACE_CHARS = {
|
|
25391
25391
|
" ": {
|
|
25392
25392
|
marker: "\u2423",
|
|
25393
25393
|
name: "space"
|
|
@@ -25463,7 +25463,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
25463
25463
|
}
|
|
25464
25464
|
};
|
|
25465
25465
|
function WhitespaceMarkers(e) {
|
|
25466
|
-
let t = (0, import_compiler_runtime$
|
|
25466
|
+
let t = (0, import_compiler_runtime$38.c)(7), { value: n } = e;
|
|
25467
25467
|
if (!n) return null;
|
|
25468
25468
|
let i;
|
|
25469
25469
|
t[0] === n ? i = t[1] : (i = describeWhitespace(n), t[0] = n, t[1] = i);
|
|
@@ -25478,7 +25478,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
25478
25478
|
}), t[4] = a, t[5] = o, t[6] = s) : s = t[6], s;
|
|
25479
25479
|
}
|
|
25480
25480
|
function SentinelCell(e) {
|
|
25481
|
-
let t = (0, import_compiler_runtime$
|
|
25481
|
+
let t = (0, import_compiler_runtime$38.c)(15), { sentinel: n } = e, i = SENTINEL_CONFIG[n.type], a;
|
|
25482
25482
|
t[0] !== i || t[1] !== n.value ? (a = i.label(n.value), t[0] = i, t[1] = n.value, t[2] = a) : a = t[2];
|
|
25483
25483
|
let o = a, s;
|
|
25484
25484
|
t[3] !== i || t[4] !== n.value ? (s = i.tooltip(n.value), t[3] = i, t[4] = n.value, t[5] = s) : s = t[5];
|
|
@@ -25507,8 +25507,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
25507
25507
|
let a = e.at(-1);
|
|
25508
25508
|
return n.push(a), n;
|
|
25509
25509
|
}
|
|
25510
|
-
var import_compiler_runtime$
|
|
25511
|
-
let t = (0, import_compiler_runtime$
|
|
25510
|
+
var import_compiler_runtime$37 = require_compiler_runtime(), ImageWithFallback = (e) => {
|
|
25511
|
+
let t = (0, import_compiler_runtime$37.c)(14), { url: n } = e, [i, a] = (0, import_react.useState)(false), [o, s] = (0, import_react.useState)(false);
|
|
25512
25512
|
if (i) {
|
|
25513
25513
|
let e2;
|
|
25514
25514
|
return t[0] === n ? e2 = t[1] : (e2 = (0, import_jsx_runtime.jsx)(URLAnchor, {
|
|
@@ -25582,7 +25582,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
25582
25582
|
return t.some((e2) => n.has(e2.type));
|
|
25583
25583
|
}
|
|
25584
25584
|
const MarkdownUrlDetector = (e) => {
|
|
25585
|
-
let t = (0, import_compiler_runtime$
|
|
25585
|
+
let t = (0, import_compiler_runtime$37.c)(4), { content: n, parts: i } = e;
|
|
25586
25586
|
if (isMarkdown(n)) {
|
|
25587
25587
|
let e2;
|
|
25588
25588
|
return t[0] === n ? e2 = t[1] : (e2 = (0, import_jsx_runtime.jsx)(MarkdownRenderer, {
|
|
@@ -25599,7 +25599,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
25599
25599
|
url: e2.url
|
|
25600
25600
|
}, t) : e2.value);
|
|
25601
25601
|
var URLAnchor = (e) => {
|
|
25602
|
-
let t = (0, import_compiler_runtime$
|
|
25602
|
+
let t = (0, import_compiler_runtime$37.c)(3), { url: n } = e, i;
|
|
25603
25603
|
t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = Events.stopPropagation(), t[0] = i) : i = t[0];
|
|
25604
25604
|
let a;
|
|
25605
25605
|
return t[1] === n ? a = t[2] : (a = (0, import_jsx_runtime.jsx)("a", {
|
|
@@ -25994,10 +25994,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
25994
25994
|
maximumFractionDigits: maxFractionalDigits(n)
|
|
25995
25995
|
}).format(e);
|
|
25996
25996
|
};
|
|
25997
|
-
let import_compiler_runtime$
|
|
25998
|
-
import_compiler_runtime$
|
|
25997
|
+
let import_compiler_runtime$36;
|
|
25998
|
+
import_compiler_runtime$36 = require_compiler_runtime();
|
|
25999
25999
|
Table = import_react.forwardRef((e, t) => {
|
|
26000
|
-
let n = (0, import_compiler_runtime$
|
|
26000
|
+
let n = (0, import_compiler_runtime$36.c)(9), i, o;
|
|
26001
26001
|
n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
|
|
26002
26002
|
let s;
|
|
26003
26003
|
n[3] === i ? s = n[4] : (s = cn("w-full caption-bottom text-sm", i), n[3] = i, n[4] = s);
|
|
@@ -26013,7 +26013,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
26013
26013
|
});
|
|
26014
26014
|
Table.displayName = "Table";
|
|
26015
26015
|
TableHeader = import_react.forwardRef((e, t) => {
|
|
26016
|
-
let n = (0, import_compiler_runtime$
|
|
26016
|
+
let n = (0, import_compiler_runtime$36.c)(9), i, o;
|
|
26017
26017
|
n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
|
|
26018
26018
|
let s;
|
|
26019
26019
|
n[3] === i ? s = n[4] : (s = cn("[&_tr]:border-b bg-background", i), n[3] = i, n[4] = s);
|
|
@@ -26026,7 +26026,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
26026
26026
|
});
|
|
26027
26027
|
TableHeader.displayName = "TableHeader";
|
|
26028
26028
|
TableBody = import_react.forwardRef((e, t) => {
|
|
26029
|
-
let n = (0, import_compiler_runtime$
|
|
26029
|
+
let n = (0, import_compiler_runtime$36.c)(9), i, o;
|
|
26030
26030
|
n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
|
|
26031
26031
|
let s;
|
|
26032
26032
|
n[3] === i ? s = n[4] : (s = cn("[&_tr:last-child]:border-0", i), n[3] = i, n[4] = s);
|
|
@@ -26039,7 +26039,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
26039
26039
|
});
|
|
26040
26040
|
TableBody.displayName = "TableBody";
|
|
26041
26041
|
var TableFooter = import_react.forwardRef((e, t) => {
|
|
26042
|
-
let n = (0, import_compiler_runtime$
|
|
26042
|
+
let n = (0, import_compiler_runtime$36.c)(9), i, o;
|
|
26043
26043
|
n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
|
|
26044
26044
|
let s;
|
|
26045
26045
|
n[3] === i ? s = n[4] : (s = cn("bg-primary font-medium text-primary-foreground", i), n[3] = i, n[4] = s);
|
|
@@ -26052,7 +26052,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
26052
26052
|
});
|
|
26053
26053
|
TableFooter.displayName = "TableFooter";
|
|
26054
26054
|
TableRow = import_react.forwardRef((e, t) => {
|
|
26055
|
-
let n = (0, import_compiler_runtime$
|
|
26055
|
+
let n = (0, import_compiler_runtime$36.c)(9), i, o;
|
|
26056
26056
|
n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
|
|
26057
26057
|
let s;
|
|
26058
26058
|
n[3] === i ? s = n[4] : (s = cn("border-b transition-colors bg-background hover:bg-(--slate-2) data-[state=selected]:bg-(--slate-3)", i), n[3] = i, n[4] = s);
|
|
@@ -26065,7 +26065,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
26065
26065
|
});
|
|
26066
26066
|
TableRow.displayName = "TableRow";
|
|
26067
26067
|
TableHead = import_react.forwardRef((e, t) => {
|
|
26068
|
-
let n = (0, import_compiler_runtime$
|
|
26068
|
+
let n = (0, import_compiler_runtime$36.c)(9), i, o;
|
|
26069
26069
|
n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
|
|
26070
26070
|
let s;
|
|
26071
26071
|
n[3] === i ? s = n[4] : (s = cn("h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0", i), n[3] = i, n[4] = s);
|
|
@@ -26078,7 +26078,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
26078
26078
|
});
|
|
26079
26079
|
TableHead.displayName = "TableHead";
|
|
26080
26080
|
TableCell = import_react.forwardRef((e, t) => {
|
|
26081
|
-
let n = (0, import_compiler_runtime$
|
|
26081
|
+
let n = (0, import_compiler_runtime$36.c)(9), i, o;
|
|
26082
26082
|
n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
|
|
26083
26083
|
let s;
|
|
26084
26084
|
n[3] === i ? s = n[4] : (s = cn("p-1.5 align-middle [&:has([role=checkbox])]:pr-0", i), n[3] = i, n[4] = s);
|
|
@@ -26091,7 +26091,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
26091
26091
|
});
|
|
26092
26092
|
TableCell.displayName = "TableCell";
|
|
26093
26093
|
var TableCaption = import_react.forwardRef((e, t) => {
|
|
26094
|
-
let n = (0, import_compiler_runtime$
|
|
26094
|
+
let n = (0, import_compiler_runtime$36.c)(9), i, o;
|
|
26095
26095
|
n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
|
|
26096
26096
|
let s;
|
|
26097
26097
|
n[3] === i ? s = n[4] : (s = cn("mt-4 text-sm text-muted-foreground", i), n[3] = i, n[4] = s);
|
|
@@ -26296,7 +26296,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
26296
26296
|
resizeHandleEnabled: "data-panel-resize-handle-enabled",
|
|
26297
26297
|
resizeHandleId: "data-panel-resize-handle-id",
|
|
26298
26298
|
resizeHandleState: "data-resize-handle-state"
|
|
26299
|
-
}, PRECISION = 10, useIsomorphicLayoutEffect$1 = import_react.useLayoutEffect, useId$
|
|
26299
|
+
}, PRECISION = 10, useIsomorphicLayoutEffect$1 = import_react.useLayoutEffect, useId$3 = import_react.useId, wrappedUseId = typeof useId$3 == "function" ? useId$3 : () => null, counter = 0;
|
|
26300
26300
|
function useUniqueId(e = null) {
|
|
26301
26301
|
let t = wrappedUseId(), n = (0, import_react.useRef)(e || t || null);
|
|
26302
26302
|
return n.current === null && (n.current = "" + counter++), e ?? n.current;
|
|
@@ -26304,7 +26304,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
26304
26304
|
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 }) {
|
|
26305
26305
|
let E = (0, import_react.useContext)(PanelGroupContext);
|
|
26306
26306
|
if (E === null) throw Error("Panel components must be rendered within a PanelGroup container");
|
|
26307
|
-
let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E,
|
|
26307
|
+
let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, GK = useUniqueId(s), KK = (0, import_react.useRef)({
|
|
26308
26308
|
callbacks: {
|
|
26309
26309
|
onCollapse: f,
|
|
26310
26310
|
onExpand: h,
|
|
@@ -26317,72 +26317,72 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
26317
26317
|
maxSize: c,
|
|
26318
26318
|
minSize: d
|
|
26319
26319
|
},
|
|
26320
|
-
id:
|
|
26320
|
+
id: GK,
|
|
26321
26321
|
idIsFromProps: s !== void 0,
|
|
26322
26322
|
order: v
|
|
26323
26323
|
});
|
|
26324
26324
|
(0, import_react.useRef)({
|
|
26325
26325
|
didLogMissingDefaultSizeWarning: false
|
|
26326
26326
|
}), useIsomorphicLayoutEffect$1(() => {
|
|
26327
|
-
let { callbacks: e2, constraints: t2 } =
|
|
26327
|
+
let { callbacks: e2, constraints: t2 } = KK.current, o2 = {
|
|
26328
26328
|
...t2
|
|
26329
26329
|
};
|
|
26330
|
-
|
|
26330
|
+
KK.current.id = GK, KK.current.idIsFromProps = s !== void 0, KK.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(KK.current, o2);
|
|
26331
26331
|
}), useIsomorphicLayoutEffect$1(() => {
|
|
26332
|
-
let e2 =
|
|
26332
|
+
let e2 = KK.current;
|
|
26333
26333
|
return q(e2), () => {
|
|
26334
26334
|
Q(e2);
|
|
26335
26335
|
};
|
|
26336
26336
|
}, [
|
|
26337
26337
|
v,
|
|
26338
|
-
|
|
26338
|
+
GK,
|
|
26339
26339
|
q,
|
|
26340
26340
|
Q
|
|
26341
26341
|
]), (0, import_react.useImperativeHandle)(o, () => ({
|
|
26342
26342
|
collapse: () => {
|
|
26343
|
-
O(
|
|
26343
|
+
O(KK.current);
|
|
26344
26344
|
},
|
|
26345
26345
|
expand: (e2) => {
|
|
26346
|
-
A(
|
|
26346
|
+
A(KK.current, e2);
|
|
26347
26347
|
},
|
|
26348
26348
|
getId() {
|
|
26349
|
-
return
|
|
26349
|
+
return GK;
|
|
26350
26350
|
},
|
|
26351
26351
|
getSize() {
|
|
26352
|
-
return M(
|
|
26352
|
+
return M(KK.current);
|
|
26353
26353
|
},
|
|
26354
26354
|
isCollapsed() {
|
|
26355
|
-
return U(
|
|
26355
|
+
return U(KK.current);
|
|
26356
26356
|
},
|
|
26357
26357
|
isExpanded() {
|
|
26358
|
-
return !U(
|
|
26358
|
+
return !U(KK.current);
|
|
26359
26359
|
},
|
|
26360
26360
|
resize: (e2) => {
|
|
26361
|
-
J(
|
|
26361
|
+
J(KK.current, e2);
|
|
26362
26362
|
}
|
|
26363
26363
|
}), [
|
|
26364
26364
|
O,
|
|
26365
26365
|
A,
|
|
26366
26366
|
M,
|
|
26367
26367
|
U,
|
|
26368
|
-
|
|
26368
|
+
GK,
|
|
26369
26369
|
J
|
|
26370
26370
|
]);
|
|
26371
|
-
let
|
|
26371
|
+
let qK = I(KK.current, a);
|
|
26372
26372
|
return (0, import_react.createElement)(S, {
|
|
26373
26373
|
...w,
|
|
26374
26374
|
children: e,
|
|
26375
26375
|
className: t,
|
|
26376
|
-
id:
|
|
26376
|
+
id: GK,
|
|
26377
26377
|
style: {
|
|
26378
|
-
...
|
|
26378
|
+
...qK,
|
|
26379
26379
|
...y
|
|
26380
26380
|
},
|
|
26381
26381
|
[DATA_ATTRIBUTES.groupId]: z,
|
|
26382
26382
|
[DATA_ATTRIBUTES.panel]: "",
|
|
26383
26383
|
[DATA_ATTRIBUTES.panelCollapsible]: i || void 0,
|
|
26384
|
-
[DATA_ATTRIBUTES.panelId]:
|
|
26385
|
-
[DATA_ATTRIBUTES.panelSize]: parseFloat("" +
|
|
26384
|
+
[DATA_ATTRIBUTES.panelId]: GK,
|
|
26385
|
+
[DATA_ATTRIBUTES.panelSize]: parseFloat("" + qK.flexGrow).toFixed(1)
|
|
26386
26386
|
});
|
|
26387
26387
|
}
|
|
26388
26388
|
Panel = (0, import_react.forwardRef)((e, t) => (0, import_react.createElement)(PanelWithForwardedRef, {
|
|
@@ -27155,7 +27155,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27155
27155
|
}, []), Q = (0, import_react.useCallback)((e2) => {
|
|
27156
27156
|
let { layout: t2, panelDataArray: n2 } = K.current, { panelSize: i2 } = panelDataHelper(n2, e2, t2);
|
|
27157
27157
|
return assert(i2 != null, `Panel size not found for panel "${e2.id}"`), i2;
|
|
27158
|
-
}, []),
|
|
27158
|
+
}, []), GK = (0, import_react.useCallback)((e2, t2) => {
|
|
27159
27159
|
let { panelDataArray: n2 } = K.current;
|
|
27160
27160
|
return computePanelFlexBoxStyle({
|
|
27161
27161
|
defaultSize: t2,
|
|
@@ -27167,13 +27167,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27167
27167
|
}, [
|
|
27168
27168
|
S,
|
|
27169
27169
|
E
|
|
27170
|
-
]),
|
|
27170
|
+
]), KK = (0, import_react.useCallback)((e2) => {
|
|
27171
27171
|
let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
|
|
27172
27172
|
return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), a2 === true && fuzzyNumbersEqual$1(o2, i2);
|
|
27173
|
-
}, []),
|
|
27173
|
+
}, []), qK = (0, import_react.useCallback)((e2) => {
|
|
27174
27174
|
let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
|
|
27175
27175
|
return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), !a2 || fuzzyCompareNumbers(o2, i2) > 0;
|
|
27176
|
-
}, []),
|
|
27176
|
+
}, []), JK = (0, import_react.useCallback)((e2) => {
|
|
27177
27177
|
let { panelDataArray: t2 } = K.current;
|
|
27178
27178
|
t2.push(e2), t2.sort((e3, t3) => {
|
|
27179
27179
|
let n2 = e3.order, i2 = t3.order;
|
|
@@ -27205,7 +27205,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27205
27205
|
e2.layout = [];
|
|
27206
27206
|
};
|
|
27207
27207
|
}, []);
|
|
27208
|
-
let
|
|
27208
|
+
let $ = (0, import_react.useCallback)((e2) => {
|
|
27209
27209
|
let t2 = false, n2 = y.current;
|
|
27210
27210
|
return n2 && window.getComputedStyle(n2, null).getPropertyValue("direction") === "rtl" && (t2 = true), function(n3) {
|
|
27211
27211
|
n3.preventDefault();
|
|
@@ -27223,7 +27223,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27223
27223
|
}), I2 = !compareLayouts(f2, A2);
|
|
27224
27224
|
(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));
|
|
27225
27225
|
};
|
|
27226
|
-
}, []),
|
|
27226
|
+
}, []), YK = (0, import_react.useCallback)((e2, t2) => {
|
|
27227
27227
|
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);
|
|
27228
27228
|
assert(s2 != null, `Panel size not found for panel "${e2.id}"`);
|
|
27229
27229
|
let d2 = adjustLayoutByDelta({
|
|
@@ -27235,12 +27235,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27235
27235
|
trigger: "imperative-api"
|
|
27236
27236
|
});
|
|
27237
27237
|
compareLayouts(i2, d2) || (O(d2), K.current.layout = d2, n2 && n2(d2), callPanelCallbacks(a2, d2, M.current));
|
|
27238
|
-
}, []),
|
|
27238
|
+
}, []), XK = (0, import_react.useCallback)((e2, t2) => {
|
|
27239
27239
|
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);
|
|
27240
|
-
h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) ||
|
|
27240
|
+
h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) || YK(e2, s2) : h2 < f2 ? YK(e2, f2) : h2 > d2 && YK(e2, d2));
|
|
27241
27241
|
}, [
|
|
27242
|
-
|
|
27243
|
-
]),
|
|
27242
|
+
YK
|
|
27243
|
+
]), ZK = (0, import_react.useCallback)((e2, t2) => {
|
|
27244
27244
|
let { direction: n2 } = U.current, { layout: i2 } = K.current;
|
|
27245
27245
|
if (!y.current) return;
|
|
27246
27246
|
let a2 = getResizeHandleElement(e2, y.current);
|
|
@@ -27252,30 +27252,30 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27252
27252
|
initialCursorPosition: o2,
|
|
27253
27253
|
initialLayout: i2
|
|
27254
27254
|
});
|
|
27255
|
-
}, []),
|
|
27255
|
+
}, []), QK = (0, import_react.useCallback)(() => {
|
|
27256
27256
|
w(null);
|
|
27257
|
-
}, []),
|
|
27257
|
+
}, []), $K = (0, import_react.useCallback)((e2) => {
|
|
27258
27258
|
let { panelDataArray: t2 } = K.current, n2 = findPanelDataIndex(t2, e2);
|
|
27259
27259
|
n2 >= 0 && (t2.splice(n2, 1), delete M.current[e2.id], K.current.panelDataArrayChanged = true, A());
|
|
27260
27260
|
}, [
|
|
27261
27261
|
A
|
|
27262
|
-
]),
|
|
27262
|
+
]), eq = (0, import_react.useMemo)(() => ({
|
|
27263
27263
|
collapsePanel: q,
|
|
27264
27264
|
direction: i,
|
|
27265
27265
|
dragState: S,
|
|
27266
27266
|
expandPanel: J,
|
|
27267
27267
|
getPanelSize: Q,
|
|
27268
|
-
getPanelStyle:
|
|
27268
|
+
getPanelStyle: GK,
|
|
27269
27269
|
groupId: v,
|
|
27270
|
-
isPanelCollapsed:
|
|
27271
|
-
isPanelExpanded:
|
|
27272
|
-
reevaluatePanelConstraints:
|
|
27273
|
-
registerPanel:
|
|
27274
|
-
registerResizeHandle:
|
|
27275
|
-
resizePanel:
|
|
27276
|
-
startDragging:
|
|
27277
|
-
stopDragging:
|
|
27278
|
-
unregisterPanel:
|
|
27270
|
+
isPanelCollapsed: KK,
|
|
27271
|
+
isPanelExpanded: qK,
|
|
27272
|
+
reevaluatePanelConstraints: XK,
|
|
27273
|
+
registerPanel: JK,
|
|
27274
|
+
registerResizeHandle: $,
|
|
27275
|
+
resizePanel: YK,
|
|
27276
|
+
startDragging: ZK,
|
|
27277
|
+
stopDragging: QK,
|
|
27278
|
+
unregisterPanel: $K,
|
|
27279
27279
|
panelGroupElement: y.current
|
|
27280
27280
|
}), [
|
|
27281
27281
|
q,
|
|
@@ -27283,18 +27283,18 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27283
27283
|
i,
|
|
27284
27284
|
J,
|
|
27285
27285
|
Q,
|
|
27286
|
-
|
|
27286
|
+
GK,
|
|
27287
27287
|
v,
|
|
27288
|
-
|
|
27289
|
-
|
|
27290
|
-
|
|
27291
|
-
|
|
27292
|
-
|
|
27293
|
-
|
|
27294
|
-
|
|
27295
|
-
|
|
27296
|
-
|
|
27297
|
-
]),
|
|
27288
|
+
KK,
|
|
27289
|
+
qK,
|
|
27290
|
+
XK,
|
|
27291
|
+
JK,
|
|
27292
|
+
$,
|
|
27293
|
+
YK,
|
|
27294
|
+
ZK,
|
|
27295
|
+
QK,
|
|
27296
|
+
$K
|
|
27297
|
+
]), tq = {
|
|
27298
27298
|
display: "flex",
|
|
27299
27299
|
flexDirection: i === "horizontal" ? "row" : "column",
|
|
27300
27300
|
height: "100%",
|
|
@@ -27302,7 +27302,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27302
27302
|
width: "100%"
|
|
27303
27303
|
};
|
|
27304
27304
|
return (0, import_react.createElement)(PanelGroupContext.Provider, {
|
|
27305
|
-
value:
|
|
27305
|
+
value: eq
|
|
27306
27306
|
}, (0, import_react.createElement)(h, {
|
|
27307
27307
|
..._,
|
|
27308
27308
|
children: t,
|
|
@@ -27310,7 +27310,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27310
27310
|
id: o,
|
|
27311
27311
|
ref: y,
|
|
27312
27312
|
style: {
|
|
27313
|
-
...
|
|
27313
|
+
...tq,
|
|
27314
27314
|
...f
|
|
27315
27315
|
},
|
|
27316
27316
|
[DATA_ATTRIBUTES.group]: "",
|
|
@@ -27387,31 +27387,31 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27387
27387
|
});
|
|
27388
27388
|
let O = (0, import_react.useContext)(PanelGroupContext);
|
|
27389
27389
|
if (O === null) throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");
|
|
27390
|
-
let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [
|
|
27390
|
+
let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [GK, KK] = (0, import_react.useState)(false), [qK, JK] = (0, import_react.useState)(null), $ = (0, import_react.useRef)({
|
|
27391
27391
|
state: J
|
|
27392
27392
|
});
|
|
27393
27393
|
useIsomorphicLayoutEffect$1(() => {
|
|
27394
|
-
|
|
27394
|
+
$.current.state = J;
|
|
27395
27395
|
}), (0, import_react.useEffect)(() => {
|
|
27396
|
-
if (n)
|
|
27396
|
+
if (n) JK(null);
|
|
27397
27397
|
else {
|
|
27398
27398
|
let e2 = I(q);
|
|
27399
|
-
|
|
27399
|
+
JK(() => e2);
|
|
27400
27400
|
}
|
|
27401
27401
|
}, [
|
|
27402
27402
|
n,
|
|
27403
27403
|
q,
|
|
27404
27404
|
I
|
|
27405
27405
|
]);
|
|
27406
|
-
let
|
|
27406
|
+
let YK = (i == null ? void 0 : i.coarse) ?? 15, XK = (i == null ? void 0 : i.fine) ?? 5;
|
|
27407
27407
|
(0, import_react.useEffect)(() => {
|
|
27408
|
-
if (n ||
|
|
27408
|
+
if (n || qK == null) return;
|
|
27409
27409
|
let e2 = w.current;
|
|
27410
27410
|
assert(e2, "Element ref not attached");
|
|
27411
27411
|
let t2 = false;
|
|
27412
27412
|
return registerResizeHandle(q, e2, A, {
|
|
27413
|
-
coarse:
|
|
27414
|
-
fine:
|
|
27413
|
+
coarse: YK,
|
|
27414
|
+
fine: XK
|
|
27415
27415
|
}, (e3, n2, i2) => {
|
|
27416
27416
|
if (!n2) {
|
|
27417
27417
|
Q("inactive");
|
|
@@ -27425,8 +27425,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27425
27425
|
break;
|
|
27426
27426
|
}
|
|
27427
27427
|
case "move": {
|
|
27428
|
-
let { state: e4 } =
|
|
27429
|
-
t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'),
|
|
27428
|
+
let { state: e4 } = $.current;
|
|
27429
|
+
t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), qK(i2);
|
|
27430
27430
|
break;
|
|
27431
27431
|
}
|
|
27432
27432
|
case "up": {
|
|
@@ -27438,22 +27438,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27438
27438
|
}
|
|
27439
27439
|
});
|
|
27440
27440
|
}, [
|
|
27441
|
-
|
|
27441
|
+
YK,
|
|
27442
27442
|
A,
|
|
27443
27443
|
n,
|
|
27444
|
-
|
|
27444
|
+
XK,
|
|
27445
27445
|
I,
|
|
27446
27446
|
q,
|
|
27447
|
-
|
|
27447
|
+
qK,
|
|
27448
27448
|
z,
|
|
27449
27449
|
U
|
|
27450
27450
|
]), useWindowSplitterResizeHandlerBehavior({
|
|
27451
27451
|
disabled: n,
|
|
27452
27452
|
handleId: q,
|
|
27453
|
-
resizeHandler:
|
|
27453
|
+
resizeHandler: qK,
|
|
27454
27454
|
panelGroupElement: K
|
|
27455
27455
|
});
|
|
27456
|
-
let
|
|
27456
|
+
let ZK = {
|
|
27457
27457
|
touchAction: "none",
|
|
27458
27458
|
userSelect: "none"
|
|
27459
27459
|
};
|
|
@@ -27463,30 +27463,30 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27463
27463
|
className: t,
|
|
27464
27464
|
id: a,
|
|
27465
27465
|
onBlur: () => {
|
|
27466
|
-
|
|
27466
|
+
KK(false), o == null ? void 0 : o();
|
|
27467
27467
|
},
|
|
27468
27468
|
onFocus: () => {
|
|
27469
|
-
|
|
27469
|
+
KK(true), d == null ? void 0 : d();
|
|
27470
27470
|
},
|
|
27471
27471
|
ref: w,
|
|
27472
27472
|
role: "separator",
|
|
27473
27473
|
style: {
|
|
27474
|
-
...
|
|
27474
|
+
...ZK,
|
|
27475
27475
|
..._
|
|
27476
27476
|
},
|
|
27477
27477
|
tabIndex: v,
|
|
27478
27478
|
[DATA_ATTRIBUTES.groupDirection]: A,
|
|
27479
27479
|
[DATA_ATTRIBUTES.groupId]: M,
|
|
27480
27480
|
[DATA_ATTRIBUTES.resizeHandle]: "",
|
|
27481
|
-
[DATA_ATTRIBUTES.resizeHandleActive]: J === "drag" ? "pointer" :
|
|
27481
|
+
[DATA_ATTRIBUTES.resizeHandleActive]: J === "drag" ? "pointer" : GK ? "keyboard" : void 0,
|
|
27482
27482
|
[DATA_ATTRIBUTES.resizeHandleEnabled]: !n,
|
|
27483
27483
|
[DATA_ATTRIBUTES.resizeHandleId]: q,
|
|
27484
27484
|
[DATA_ATTRIBUTES.resizeHandleState]: J
|
|
27485
27485
|
});
|
|
27486
27486
|
};
|
|
27487
27487
|
PanelResizeHandle.displayName = "PanelResizeHandle";
|
|
27488
|
-
let import_compiler_runtime$
|
|
27489
|
-
import_compiler_runtime$
|
|
27488
|
+
let import_compiler_runtime$35, toggleVariants;
|
|
27489
|
+
import_compiler_runtime$35 = require_compiler_runtime();
|
|
27490
27490
|
toggleVariants = cva(cn("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50", "data-[state=on]:bg-muted data-[state=on]:text-muted-foreground"), {
|
|
27491
27491
|
variants: {
|
|
27492
27492
|
variant: {
|
|
@@ -27506,7 +27506,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27506
27506
|
}
|
|
27507
27507
|
});
|
|
27508
27508
|
Toggle = import_react.forwardRef((e, t) => {
|
|
27509
|
-
let n = (0, import_compiler_runtime$
|
|
27509
|
+
let n = (0, import_compiler_runtime$35.c)(13), i, o, s, c;
|
|
27510
27510
|
n[0] === e ? (i = n[1], o = n[2], s = n[3], c = n[4]) : ({ className: i, variant: c, size: s, ...o } = e, n[0] = e, n[1] = i, n[2] = o, n[3] = s, n[4] = c);
|
|
27511
27511
|
let d;
|
|
27512
27512
|
n[5] !== i || n[6] !== s || n[7] !== c ? (d = cn(toggleVariants({
|
|
@@ -27533,14 +27533,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27533
27533
|
contextAwarePanelOpen = atom(false);
|
|
27534
27534
|
atom(false);
|
|
27535
27535
|
isCellAwareAtom = atom(false);
|
|
27536
|
-
var import_compiler_runtime$
|
|
27536
|
+
var import_compiler_runtime$34 = require_compiler_runtime();
|
|
27537
27537
|
let CellHoverTemplateFeature;
|
|
27538
27538
|
PANEL_TYPES = {
|
|
27539
27539
|
ROW_VIEWER: "row-viewer",
|
|
27540
27540
|
COLUMN_EXPLORER: "column-explorer"
|
|
27541
27541
|
};
|
|
27542
27542
|
ContextAwarePanelItem = (e) => {
|
|
27543
|
-
let t = (0, import_compiler_runtime$
|
|
27543
|
+
let t = (0, import_compiler_runtime$34.c)(2), { children: n } = e, i;
|
|
27544
27544
|
return t[0] === n ? i = t[1] : (i = (0, import_jsx_runtime.jsx)(ErrorBoundary, {
|
|
27545
27545
|
children: (0, import_jsx_runtime.jsx)(Fill, {
|
|
27546
27546
|
name: SlotNames.CONTEXT_AWARE_PANEL,
|
|
@@ -27761,7 +27761,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27761
27761
|
items: /* @__PURE__ */ new Map(),
|
|
27762
27762
|
groups: /* @__PURE__ */ new Set()
|
|
27763
27763
|
}
|
|
27764
|
-
})), i = L(() => /* @__PURE__ */ new Set()), a = L(() => /* @__PURE__ */ new Map()), o = L(() => /* @__PURE__ */ new Map()), s = L(() => /* @__PURE__ */ new Set()), c = pe(e), { label: d, children: f, value: h, onValueChange: _, filter: v, shouldFilter: y, loop: S, disablePointerSelection: w = false, vimBindings: E = true, ...O } = e, A = useId$
|
|
27764
|
+
})), i = L(() => /* @__PURE__ */ new Set()), a = L(() => /* @__PURE__ */ new Map()), o = L(() => /* @__PURE__ */ new Map()), s = L(() => /* @__PURE__ */ new Set()), c = pe(e), { label: d, children: f, value: h, onValueChange: _, filter: v, shouldFilter: y, loop: S, disablePointerSelection: w = false, vimBindings: E = true, ...O } = e, A = useId$2(), M = useId$2(), I = useId$2(), z = import_react.useRef(null), U = ke();
|
|
27765
27765
|
k(() => {
|
|
27766
27766
|
if (h !== void 0) {
|
|
27767
27767
|
let e2 = h.trim();
|
|
@@ -27770,7 +27770,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27770
27770
|
}, [
|
|
27771
27771
|
h
|
|
27772
27772
|
]), k(() => {
|
|
27773
|
-
U(6,
|
|
27773
|
+
U(6, qK);
|
|
27774
27774
|
}, []);
|
|
27775
27775
|
let K = import_react.useMemo(() => ({
|
|
27776
27776
|
subscribe: (e2) => (s.current.add(e2), () => s.current.delete(e2)),
|
|
@@ -27779,7 +27779,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27779
27779
|
var _a2;
|
|
27780
27780
|
var a2, o2, s2;
|
|
27781
27781
|
if (!Object.is(n.current[e2], t2)) {
|
|
27782
|
-
if (n.current[e2] = t2, e2 === "search")
|
|
27782
|
+
if (n.current[e2] = t2, e2 === "search") KK(), Q(), U(1, GK);
|
|
27783
27783
|
else if (e2 === "value") {
|
|
27784
27784
|
if (document.activeElement.hasAttribute("cmdk-input") || document.activeElement.hasAttribute("cmdk-root")) {
|
|
27785
27785
|
let e3 = document.getElementById(I);
|
|
@@ -27787,8 +27787,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27787
27787
|
}
|
|
27788
27788
|
if (U(7, () => {
|
|
27789
27789
|
var _a3;
|
|
27790
|
-
n.current.selectedItemId = (_a3 =
|
|
27791
|
-
}), i2 || U(5,
|
|
27790
|
+
n.current.selectedItemId = (_a3 = JK()) == null ? void 0 : _a3.id, K.emit();
|
|
27791
|
+
}), i2 || U(5, qK), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
|
|
27792
27792
|
let e3 = t2 ?? "";
|
|
27793
27793
|
(s2 = (o2 = c.current).onValueChange) == null || s2.call(o2, e3);
|
|
27794
27794
|
return;
|
|
@@ -27813,12 +27813,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27813
27813
|
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([
|
|
27814
27814
|
e2
|
|
27815
27815
|
]))), U(3, () => {
|
|
27816
|
-
|
|
27816
|
+
KK(), Q(), n.current.value || GK(), K.emit();
|
|
27817
27817
|
}), () => {
|
|
27818
27818
|
o.current.delete(e2), i.current.delete(e2), n.current.filtered.items.delete(e2);
|
|
27819
|
-
let t3 =
|
|
27819
|
+
let t3 = JK();
|
|
27820
27820
|
U(4, () => {
|
|
27821
|
-
|
|
27821
|
+
KK(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && GK(), K.emit();
|
|
27822
27822
|
});
|
|
27823
27823
|
}),
|
|
27824
27824
|
group: (e2) => (a.current.has(e2) || a.current.set(e2, /* @__PURE__ */ new Set()), () => {
|
|
@@ -27851,7 +27851,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27851
27851
|
]);
|
|
27852
27852
|
});
|
|
27853
27853
|
let i2 = z.current;
|
|
27854
|
-
|
|
27854
|
+
$().sort((t3, n2) => {
|
|
27855
27855
|
let i3 = t3.getAttribute("id"), a2 = n2.getAttribute("id");
|
|
27856
27856
|
return (e2.get(a2) ?? 0) - (e2.get(i3) ?? 0);
|
|
27857
27857
|
}).forEach((e3) => {
|
|
@@ -27863,12 +27863,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27863
27863
|
t3 == null ? void 0 : t3.parentElement.appendChild(t3);
|
|
27864
27864
|
});
|
|
27865
27865
|
}
|
|
27866
|
-
function
|
|
27866
|
+
function GK() {
|
|
27867
27867
|
var _a2;
|
|
27868
|
-
let e2 = (_a2 =
|
|
27868
|
+
let e2 = (_a2 = $().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
|
|
27869
27869
|
K.setState("value", e2 || void 0);
|
|
27870
27870
|
}
|
|
27871
|
-
function
|
|
27871
|
+
function KK() {
|
|
27872
27872
|
var _a2, _b;
|
|
27873
27873
|
if (!n.current.search || c.current.shouldFilter === false) {
|
|
27874
27874
|
n.current.filtered.count = i.current.size;
|
|
@@ -27886,43 +27886,43 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27886
27886
|
}
|
|
27887
27887
|
n.current.filtered.count = e2;
|
|
27888
27888
|
}
|
|
27889
|
-
function
|
|
27889
|
+
function qK() {
|
|
27890
27890
|
var _a2, _b;
|
|
27891
27891
|
var e2;
|
|
27892
|
-
let t2 =
|
|
27892
|
+
let t2 = JK();
|
|
27893
27893
|
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({
|
|
27894
27894
|
block: "nearest"
|
|
27895
27895
|
})), t2.scrollIntoView({
|
|
27896
27896
|
block: "nearest"
|
|
27897
27897
|
}));
|
|
27898
27898
|
}
|
|
27899
|
-
function
|
|
27899
|
+
function JK() {
|
|
27900
27900
|
var _a2;
|
|
27901
27901
|
return (_a2 = z.current) == null ? void 0 : _a2.querySelector(`${le}[aria-selected="true"]`);
|
|
27902
27902
|
}
|
|
27903
|
-
function
|
|
27903
|
+
function $() {
|
|
27904
27904
|
var _a2;
|
|
27905
27905
|
return Array.from(((_a2 = z.current) == null ? void 0 : _a2.querySelectorAll(ce$1)) || []);
|
|
27906
27906
|
}
|
|
27907
|
-
function
|
|
27908
|
-
let t2 =
|
|
27907
|
+
function YK(e2) {
|
|
27908
|
+
let t2 = $()[e2];
|
|
27909
27909
|
t2 && K.setState("value", t2.getAttribute(T));
|
|
27910
27910
|
}
|
|
27911
|
-
function
|
|
27911
|
+
function XK(e2) {
|
|
27912
27912
|
var t2;
|
|
27913
|
-
let n2 =
|
|
27913
|
+
let n2 = JK(), i2 = $(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
|
|
27914
27914
|
(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));
|
|
27915
27915
|
}
|
|
27916
|
-
function
|
|
27916
|
+
function ZK(e2) {
|
|
27917
27917
|
var _a2;
|
|
27918
|
-
let t2 = (_a2 =
|
|
27918
|
+
let t2 = (_a2 = JK()) == null ? void 0 : _a2.closest(N$1), n2;
|
|
27919
27919
|
for (; t2 && !n2; ) t2 = e2 > 0 ? we(t2, N$1) : De(t2, N$1), n2 = t2 == null ? void 0 : t2.querySelector(ce$1);
|
|
27920
|
-
n2 ? K.setState("value", n2.getAttribute(T)) :
|
|
27920
|
+
n2 ? K.setState("value", n2.getAttribute(T)) : XK(e2);
|
|
27921
27921
|
}
|
|
27922
|
-
let
|
|
27923
|
-
e2.preventDefault(), e2.metaKey ?
|
|
27924
|
-
},
|
|
27925
|
-
e2.preventDefault(), e2.metaKey ?
|
|
27922
|
+
let QK = () => YK($().length - 1), $K = (e2) => {
|
|
27923
|
+
e2.preventDefault(), e2.metaKey ? QK() : e2.altKey ? ZK(1) : XK(1);
|
|
27924
|
+
}, eq = (e2) => {
|
|
27925
|
+
e2.preventDefault(), e2.metaKey ? YK(0) : e2.altKey ? ZK(-1) : XK(-1);
|
|
27926
27926
|
};
|
|
27927
27927
|
return import_react.createElement(Primitive.div, {
|
|
27928
27928
|
ref: t,
|
|
@@ -27936,27 +27936,27 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27936
27936
|
if (!(e2.defaultPrevented || n2)) switch (e2.key) {
|
|
27937
27937
|
case "n":
|
|
27938
27938
|
case "j":
|
|
27939
|
-
E && e2.ctrlKey &&
|
|
27939
|
+
E && e2.ctrlKey && $K(e2);
|
|
27940
27940
|
break;
|
|
27941
27941
|
case "ArrowDown":
|
|
27942
|
-
|
|
27942
|
+
$K(e2);
|
|
27943
27943
|
break;
|
|
27944
27944
|
case "p":
|
|
27945
27945
|
case "k":
|
|
27946
|
-
E && e2.ctrlKey &&
|
|
27946
|
+
E && e2.ctrlKey && eq(e2);
|
|
27947
27947
|
break;
|
|
27948
27948
|
case "ArrowUp":
|
|
27949
|
-
|
|
27949
|
+
eq(e2);
|
|
27950
27950
|
break;
|
|
27951
27951
|
case "Home":
|
|
27952
|
-
e2.preventDefault(),
|
|
27952
|
+
e2.preventDefault(), YK(0);
|
|
27953
27953
|
break;
|
|
27954
27954
|
case "End":
|
|
27955
|
-
e2.preventDefault(),
|
|
27955
|
+
e2.preventDefault(), QK();
|
|
27956
27956
|
break;
|
|
27957
27957
|
case "Enter": {
|
|
27958
27958
|
e2.preventDefault();
|
|
27959
|
-
let t3 =
|
|
27959
|
+
let t3 = JK();
|
|
27960
27960
|
if (t3) {
|
|
27961
27961
|
let e3 = new Event(Z);
|
|
27962
27962
|
t3.dispatchEvent(e3);
|
|
@@ -27976,7 +27976,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27976
27976
|
}, e2))));
|
|
27977
27977
|
}), he$1 = import_react.forwardRef((e, t) => {
|
|
27978
27978
|
var _a2;
|
|
27979
|
-
let n = useId$
|
|
27979
|
+
let n = useId$2(), i = import_react.useRef(null), a = import_react.useContext(fe), o = K$1(), s = pe(e), c = ((_a2 = s.current) == null ? void 0 : _a2.forceMount) ?? (a == null ? void 0 : a.forceMount);
|
|
27980
27980
|
k(() => {
|
|
27981
27981
|
if (!c) return o.item(n, a == null ? void 0 : a.id);
|
|
27982
27982
|
}, [
|
|
@@ -28018,7 +28018,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28018
28018
|
onClick: w ? void 0 : y
|
|
28019
28019
|
}, e.children);
|
|
28020
28020
|
}), Ee = import_react.forwardRef((e, t) => {
|
|
28021
|
-
let { heading: n, children: i, forceMount: a, ...o } = e, s = useId$
|
|
28021
|
+
let { heading: n, children: i, forceMount: a, ...o } = e, s = useId$2(), c = import_react.useRef(null), f = import_react.useRef(null), h = useId$2(), _ = K$1(), v = P$1((e2) => a || _.filter() === false ? true : e2.search ? e2.filtered.groups.has(s) : true);
|
|
28022
28022
|
k(() => _.group(s), []), ve(s, c, [
|
|
28023
28023
|
e.value,
|
|
28024
28024
|
e.heading,
|
|
@@ -28244,10 +28244,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28244
28244
|
function smartMatchFilter(e, t, n) {
|
|
28245
28245
|
return smartMatch(t, e) ? 1 : n && smartMatch(t, n) ? 0.8 : 0;
|
|
28246
28246
|
}
|
|
28247
|
-
let import_compiler_runtime$
|
|
28248
|
-
import_compiler_runtime$
|
|
28247
|
+
let import_compiler_runtime$33;
|
|
28248
|
+
import_compiler_runtime$33 = require_compiler_runtime();
|
|
28249
28249
|
Command = import_react.forwardRef((e, t) => {
|
|
28250
|
-
let n = (0, import_compiler_runtime$
|
|
28250
|
+
let n = (0, import_compiler_runtime$33.c)(9), i, o;
|
|
28251
28251
|
n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
|
|
28252
28252
|
let s;
|
|
28253
28253
|
n[3] === i ? s = n[4] : (s = cn("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground", i), n[3] = i, n[4] = s);
|
|
@@ -28261,7 +28261,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28261
28261
|
});
|
|
28262
28262
|
Command.displayName = _e.displayName;
|
|
28263
28263
|
CommandInput = import_react.forwardRef((e, t) => {
|
|
28264
|
-
let n = (0, import_compiler_runtime$
|
|
28264
|
+
let n = (0, import_compiler_runtime$33.c)(19), i, o, s, c;
|
|
28265
28265
|
n[0] === e ? (i = n[1], o = n[2], s = n[3], c = n[4]) : ({ className: i, icon: o, rootClassName: c, ...s } = e, n[0] = e, n[1] = i, n[2] = o, n[3] = s, n[4] = c);
|
|
28266
28266
|
let d;
|
|
28267
28267
|
n[5] === c ? d = n[6] : (d = cn("flex items-center border-b px-3", c), n[5] = c, n[6] = d);
|
|
@@ -28289,7 +28289,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28289
28289
|
});
|
|
28290
28290
|
CommandInput.displayName = _e.Input.displayName;
|
|
28291
28291
|
CommandList = import_react.forwardRef((e, t) => {
|
|
28292
|
-
let n = (0, import_compiler_runtime$
|
|
28292
|
+
let n = (0, import_compiler_runtime$33.c)(9), i, o;
|
|
28293
28293
|
n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
|
|
28294
28294
|
let s;
|
|
28295
28295
|
n[3] === i ? s = n[4] : (s = cn("max-h-[300px] overflow-y-auto overflow-x-hidden", i), n[3] = i, n[4] = s);
|
|
@@ -28302,7 +28302,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28302
28302
|
});
|
|
28303
28303
|
CommandList.displayName = _e.List.displayName;
|
|
28304
28304
|
CommandEmpty = import_react.forwardRef((e, t) => {
|
|
28305
|
-
let n = (0, import_compiler_runtime$
|
|
28305
|
+
let n = (0, import_compiler_runtime$33.c)(3), i;
|
|
28306
28306
|
return n[0] !== e || n[1] !== t ? (i = (0, import_jsx_runtime.jsx)(_e.Empty, {
|
|
28307
28307
|
ref: t,
|
|
28308
28308
|
className: "py-6 text-center text-sm",
|
|
@@ -28311,7 +28311,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28311
28311
|
});
|
|
28312
28312
|
CommandEmpty.displayName = _e.Empty.displayName;
|
|
28313
28313
|
var CommandGroup = import_react.forwardRef((e, t) => {
|
|
28314
|
-
let n = (0, import_compiler_runtime$
|
|
28314
|
+
let n = (0, import_compiler_runtime$33.c)(9), i, o;
|
|
28315
28315
|
n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
|
|
28316
28316
|
let s;
|
|
28317
28317
|
n[3] === i ? s = n[4] : (s = cn("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground", i), n[3] = i, n[4] = s);
|
|
@@ -28324,7 +28324,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28324
28324
|
});
|
|
28325
28325
|
CommandGroup.displayName = _e.Group.displayName;
|
|
28326
28326
|
CommandSeparator = import_react.forwardRef((e, t) => {
|
|
28327
|
-
let n = (0, import_compiler_runtime$
|
|
28327
|
+
let n = (0, import_compiler_runtime$33.c)(9), i, a;
|
|
28328
28328
|
n[0] === e ? (i = n[1], a = n[2]) : ({ className: i, ...a } = e, n[0] = e, n[1] = i, n[2] = a);
|
|
28329
28329
|
let o;
|
|
28330
28330
|
n[3] === i ? o = n[4] : (o = menuSeparatorVariants({
|
|
@@ -28339,7 +28339,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28339
28339
|
});
|
|
28340
28340
|
CommandSeparator.displayName = _e.Separator.displayName;
|
|
28341
28341
|
CommandItem = import_react.forwardRef((e, t) => {
|
|
28342
|
-
let n = (0, import_compiler_runtime$
|
|
28342
|
+
let n = (0, import_compiler_runtime$33.c)(17), i, o, s, c, d;
|
|
28343
28343
|
if (n[0] !== t || n[1] !== e) {
|
|
28344
28344
|
let { className: f2, variant: h, inset: _, ...v } = e;
|
|
28345
28345
|
i = _e.Item, o = t, n[7] !== f2 || n[8] !== _ || n[9] !== h ? (s = cn(menuItemVariants({
|
|
@@ -28356,165 +28356,165 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28356
28356
|
}), n[11] = i, n[12] = o, n[13] = s, n[14] = c, n[15] = d, n[16] = f) : f = n[16], f;
|
|
28357
28357
|
});
|
|
28358
28358
|
CommandItem.displayName = _e.Item.displayName;
|
|
28359
|
-
var import_compiler_runtime$
|
|
28359
|
+
var import_compiler_runtime$32 = require_compiler_runtime();
|
|
28360
28360
|
let ComboboxContext;
|
|
28361
28361
|
ComboboxContext = (0, import_react.createContext)({
|
|
28362
28362
|
isSelected: () => false,
|
|
28363
28363
|
onSelect: Functions.NOOP
|
|
28364
28364
|
});
|
|
28365
28365
|
Combobox = (e) => {
|
|
28366
|
-
let t = (0, import_compiler_runtime$
|
|
28366
|
+
let t = (0, import_compiler_runtime$32.c)(103), n, i, o, s, c, d, f, h, _, v, y, S, w, E, O, A, M, I, z, U, K, q, J;
|
|
28367
28367
|
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]) : ({ children: n, displayValue: d, className: o, placeholder: E, value: J, defaultValue: c, onValueChange: S, multiple: M, shouldFilter: I, filterFn: f, open: w, defaultOpen: s, onOpenChange: v, inputPlaceholder: z, search: A, onSearchChange: y, emptyState: U, chips: K, chipsClassName: i, keepPopoverOpenOnSelect: _, id: h, disabled: q, ...O } = 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);
|
|
28368
|
-
let Q = M === void 0 ? false : M,
|
|
28369
|
-
t[24] !== v || t[25] !== w || t[26] !==
|
|
28368
|
+
let Q = M === void 0 ? false : M, GK = I === void 0 ? true : I, KK = z === void 0 ? "Search..." : z, qK = U === void 0 ? "Nothing found." : U, JK = K === void 0 ? false : K, $ = q === void 0 ? false : q, YK = s ?? false, XK;
|
|
28369
|
+
t[24] !== v || t[25] !== w || t[26] !== YK ? (XK = {
|
|
28370
28370
|
prop: w,
|
|
28371
|
-
defaultProp:
|
|
28371
|
+
defaultProp: YK,
|
|
28372
28372
|
onChange: v
|
|
28373
|
-
}, t[24] = v, t[25] = w, t[26] =
|
|
28374
|
-
let [
|
|
28375
|
-
t[28] === S ?
|
|
28373
|
+
}, t[24] = v, t[25] = w, t[26] = YK, t[27] = XK) : XK = t[27];
|
|
28374
|
+
let [ZK, QK] = useControllableState(XK), $K = ZK === void 0 ? false : ZK, eq;
|
|
28375
|
+
t[28] === S ? eq = t[29] : (eq = (e2) => {
|
|
28376
28376
|
S == null ? void 0 : S(e2);
|
|
28377
|
-
}, t[28] = S, t[29] =
|
|
28378
|
-
let
|
|
28379
|
-
t[30] !== c || t[31] !==
|
|
28377
|
+
}, t[28] = S, t[29] = eq);
|
|
28378
|
+
let tq;
|
|
28379
|
+
t[30] !== c || t[31] !== eq || t[32] !== J ? (tq = {
|
|
28380
28380
|
prop: J,
|
|
28381
28381
|
defaultProp: c,
|
|
28382
|
-
onChange:
|
|
28383
|
-
}, t[30] = c, t[31] =
|
|
28384
|
-
let [
|
|
28385
|
-
t[34] ===
|
|
28386
|
-
let
|
|
28387
|
-
t[36] !== _ || t[37] !== Q || t[38] !==
|
|
28382
|
+
onChange: eq
|
|
28383
|
+
}, t[30] = c, t[31] = eq, t[32] = J, t[33] = tq) : tq = t[33];
|
|
28384
|
+
let [nq, rq] = useControllableState(tq), iq;
|
|
28385
|
+
t[34] === nq ? iq = t[35] : (iq = (e2) => Array.isArray(nq) ? nq.includes(e2) : nq === e2, t[34] = nq, t[35] = iq);
|
|
28386
|
+
let aq = iq, oq;
|
|
28387
|
+
t[36] !== _ || t[37] !== Q || t[38] !== QK || t[39] !== rq || t[40] !== nq ? (oq = (e2) => {
|
|
28388
28388
|
let t2 = e2;
|
|
28389
|
-
if (Q) if (Array.isArray(
|
|
28390
|
-
let n2 =
|
|
28389
|
+
if (Q) if (Array.isArray(nq)) if (nq.includes(t2)) {
|
|
28390
|
+
let n2 = nq.filter((t3) => t3 !== e2);
|
|
28391
28391
|
t2 = n2.length > 0 ? n2 : [];
|
|
28392
28392
|
} else t2 = [
|
|
28393
|
-
...
|
|
28393
|
+
...nq,
|
|
28394
28394
|
t2
|
|
28395
28395
|
];
|
|
28396
28396
|
else t2 = [
|
|
28397
28397
|
t2
|
|
28398
28398
|
];
|
|
28399
|
-
else
|
|
28400
|
-
|
|
28401
|
-
}, t[36] = _, t[37] = Q, t[38] =
|
|
28402
|
-
let
|
|
28403
|
-
t[42] !==
|
|
28404
|
-
let
|
|
28405
|
-
t[48] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
28406
|
-
let
|
|
28407
|
-
t[49] !==
|
|
28408
|
-
|
|
28409
|
-
}, t[49] =
|
|
28410
|
-
let
|
|
28411
|
-
t[52] !== o || t[53] !==
|
|
28412
|
-
let
|
|
28413
|
-
t[55] ===
|
|
28414
|
-
let
|
|
28415
|
-
t[57] ===
|
|
28399
|
+
else nq === e2 && (t2 = null);
|
|
28400
|
+
rq(t2), (_ ?? Q) || QK(false);
|
|
28401
|
+
}, t[36] = _, t[37] = Q, t[38] = QK, t[39] = rq, t[40] = nq, t[41] = oq) : oq = t[41];
|
|
28402
|
+
let sq = oq, cq;
|
|
28403
|
+
t[42] !== JK || t[43] !== d || t[44] !== Q || t[45] !== E || t[46] !== nq ? (cq = () => Q && JK && E ? E : nq == null ? E ?? "--" : Array.isArray(nq) ? nq.length === 0 ? E ?? "--" : nq.length === 1 && d !== void 0 ? d(nq[0]) : `${nq.length} selected` : d === void 0 ? E ?? "--" : d(nq), t[42] = JK, t[43] = d, t[44] = Q, t[45] = E, t[46] = nq, t[47] = cq) : cq = t[47];
|
|
28404
|
+
let lq = cq, uq;
|
|
28405
|
+
t[48] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (uq = cn("relative"), t[48] = uq) : uq = t[48];
|
|
28406
|
+
let dq;
|
|
28407
|
+
t[49] !== $ || t[50] !== QK ? (dq = (e2) => {
|
|
28408
|
+
$ && e2 || QK(e2);
|
|
28409
|
+
}, t[49] = $, t[50] = QK, t[51] = dq) : dq = t[51];
|
|
28410
|
+
let fq = $ && "cursor-not-allowed opacity-50", mq;
|
|
28411
|
+
t[52] !== o || t[53] !== fq ? (mq = 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", fq, o), t[52] = o, t[53] = fq, t[54] = mq) : mq = t[54];
|
|
28412
|
+
let gq;
|
|
28413
|
+
t[55] === lq ? gq = t[56] : (gq = lq(), t[55] = lq, t[56] = gq);
|
|
28414
|
+
let _q;
|
|
28415
|
+
t[57] === gq ? _q = t[58] : (_q = (0, import_jsx_runtime.jsx)("span", {
|
|
28416
28416
|
className: "truncate flex-1 min-w-0",
|
|
28417
|
-
children:
|
|
28418
|
-
}), t[57] =
|
|
28419
|
-
let
|
|
28420
|
-
t[59] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
28417
|
+
children: gq
|
|
28418
|
+
}), t[57] = gq, t[58] = _q);
|
|
28419
|
+
let vq;
|
|
28420
|
+
t[59] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (vq = (0, import_jsx_runtime.jsx)(ChevronDown, {
|
|
28421
28421
|
className: "ml-3 w-4 h-4 opacity-50 shrink-0"
|
|
28422
|
-
}), t[59] =
|
|
28423
|
-
let
|
|
28424
|
-
t[60] !==
|
|
28422
|
+
}), t[59] = vq) : vq = t[59];
|
|
28423
|
+
let yq;
|
|
28424
|
+
t[60] !== $ || t[61] !== h || t[62] !== $K || t[63] !== mq || t[64] !== _q ? (yq = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
|
|
28425
28425
|
asChild: true,
|
|
28426
28426
|
children: (0, import_jsx_runtime.jsxs)("button", {
|
|
28427
28427
|
id: h,
|
|
28428
28428
|
type: "button",
|
|
28429
|
-
className:
|
|
28430
|
-
"aria-expanded":
|
|
28431
|
-
"aria-disabled":
|
|
28429
|
+
className: mq,
|
|
28430
|
+
"aria-expanded": $K,
|
|
28431
|
+
"aria-disabled": $,
|
|
28432
28432
|
children: [
|
|
28433
|
-
|
|
28434
|
-
|
|
28433
|
+
_q,
|
|
28434
|
+
vq
|
|
28435
28435
|
]
|
|
28436
28436
|
})
|
|
28437
|
-
}), t[60] =
|
|
28438
|
-
let
|
|
28439
|
-
t[66] !==
|
|
28440
|
-
placeholder:
|
|
28437
|
+
}), t[60] = $, t[61] = h, t[62] = $K, t[63] = mq, t[64] = _q, t[65] = yq) : yq = t[65];
|
|
28438
|
+
let bq;
|
|
28439
|
+
t[66] !== KK || t[67] !== y || t[68] !== A ? (bq = (0, import_jsx_runtime.jsx)(CommandInput, {
|
|
28440
|
+
placeholder: KK,
|
|
28441
28441
|
rootClassName: "px-1 h-8",
|
|
28442
28442
|
autoFocus: true,
|
|
28443
28443
|
value: A,
|
|
28444
28444
|
onValueChange: y
|
|
28445
|
-
}), t[66] =
|
|
28446
|
-
let
|
|
28447
|
-
t[70] ===
|
|
28448
|
-
children:
|
|
28449
|
-
}), t[70] =
|
|
28450
|
-
let
|
|
28451
|
-
t[72] !==
|
|
28452
|
-
isSelected:
|
|
28453
|
-
onSelect:
|
|
28454
|
-
}, t[72] =
|
|
28455
|
-
let
|
|
28456
|
-
t[75] !== n || t[76] !==
|
|
28457
|
-
value:
|
|
28445
|
+
}), t[66] = KK, t[67] = y, t[68] = A, t[69] = bq) : bq = t[69];
|
|
28446
|
+
let xq;
|
|
28447
|
+
t[70] === qK ? xq = t[71] : (xq = (0, import_jsx_runtime.jsx)(CommandEmpty, {
|
|
28448
|
+
children: qK
|
|
28449
|
+
}), t[70] = qK, t[71] = xq);
|
|
28450
|
+
let Sq;
|
|
28451
|
+
t[72] !== sq || t[73] !== aq ? (Sq = {
|
|
28452
|
+
isSelected: aq,
|
|
28453
|
+
onSelect: sq
|
|
28454
|
+
}, t[72] = sq, t[73] = aq, t[74] = Sq) : Sq = t[74];
|
|
28455
|
+
let Cq;
|
|
28456
|
+
t[75] !== n || t[76] !== Sq ? (Cq = (0, import_jsx_runtime.jsx)(ComboboxContext, {
|
|
28457
|
+
value: Sq,
|
|
28458
28458
|
children: n
|
|
28459
|
-
}), t[75] = n, t[76] =
|
|
28460
|
-
let
|
|
28461
|
-
t[78] !==
|
|
28459
|
+
}), t[75] = n, t[76] = Sq, t[77] = Cq) : Cq = t[77];
|
|
28460
|
+
let wq;
|
|
28461
|
+
t[78] !== xq || t[79] !== Cq ? (wq = (0, import_jsx_runtime.jsxs)(CommandList, {
|
|
28462
28462
|
className: "max-h-60 py-.5",
|
|
28463
28463
|
children: [
|
|
28464
|
-
|
|
28465
|
-
|
|
28464
|
+
xq,
|
|
28465
|
+
Cq
|
|
28466
28466
|
]
|
|
28467
|
-
}), t[78] =
|
|
28468
|
-
let
|
|
28469
|
-
t[81] !== f || t[82] !==
|
|
28467
|
+
}), t[78] = xq, t[79] = Cq, t[80] = wq) : wq = t[80];
|
|
28468
|
+
let Tq;
|
|
28469
|
+
t[81] !== f || t[82] !== GK || t[83] !== bq || t[84] !== wq ? (Tq = (0, import_jsx_runtime.jsx)(PopoverContent, {
|
|
28470
28470
|
className: "w-full min-w-(--radix-popover-trigger-width) p-0",
|
|
28471
28471
|
align: "start",
|
|
28472
28472
|
children: (0, import_jsx_runtime.jsxs)(Command, {
|
|
28473
28473
|
filter: f,
|
|
28474
|
-
shouldFilter:
|
|
28474
|
+
shouldFilter: GK,
|
|
28475
28475
|
children: [
|
|
28476
|
-
|
|
28477
|
-
|
|
28476
|
+
bq,
|
|
28477
|
+
wq
|
|
28478
28478
|
]
|
|
28479
28479
|
})
|
|
28480
|
-
}), t[81] = f, t[82] =
|
|
28481
|
-
let
|
|
28482
|
-
t[86] !==
|
|
28483
|
-
open:
|
|
28484
|
-
onOpenChange:
|
|
28480
|
+
}), t[81] = f, t[82] = GK, t[83] = bq, t[84] = wq, t[85] = Tq) : Tq = t[85];
|
|
28481
|
+
let Eq;
|
|
28482
|
+
t[86] !== $K || t[87] !== dq || t[88] !== yq || t[89] !== Tq ? (Eq = (0, import_jsx_runtime.jsxs)(Popover, {
|
|
28483
|
+
open: $K,
|
|
28484
|
+
onOpenChange: dq,
|
|
28485
28485
|
children: [
|
|
28486
|
-
|
|
28487
|
-
|
|
28486
|
+
yq,
|
|
28487
|
+
Tq
|
|
28488
28488
|
]
|
|
28489
|
-
}), t[86] =
|
|
28490
|
-
let
|
|
28491
|
-
t[91] !==
|
|
28489
|
+
}), t[86] = $K, t[87] = dq, t[88] = yq, t[89] = Tq, t[90] = Eq) : Eq = t[90];
|
|
28490
|
+
let Dq;
|
|
28491
|
+
t[91] !== JK || t[92] !== i || t[93] !== $ || t[94] !== d || t[95] !== sq || t[96] !== Q || t[97] !== nq ? (Dq = Q && JK && (0, import_jsx_runtime.jsx)("div", {
|
|
28492
28492
|
className: cn("flex flex-col gap-1 items-start", i),
|
|
28493
|
-
children: Array.isArray(
|
|
28493
|
+
children: Array.isArray(nq) && nq.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
|
|
28494
28494
|
variant: "secondary",
|
|
28495
28495
|
children: [
|
|
28496
28496
|
(d == null ? void 0 : d(e2)) ?? String(e2),
|
|
28497
28497
|
(0, import_jsx_runtime.jsx)(CircleX, {
|
|
28498
28498
|
onClick: () => {
|
|
28499
|
-
|
|
28499
|
+
$ || sq(e2);
|
|
28500
28500
|
},
|
|
28501
|
-
className: cn("w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer",
|
|
28501
|
+
className: cn("w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer", $ && "pointer-events-none")
|
|
28502
28502
|
})
|
|
28503
28503
|
]
|
|
28504
28504
|
}, String(e2)))
|
|
28505
|
-
}), t[91] =
|
|
28506
|
-
let
|
|
28507
|
-
return t[99] !== O || t[100] !==
|
|
28508
|
-
className:
|
|
28505
|
+
}), t[91] = JK, t[92] = i, t[93] = $, t[94] = d, t[95] = sq, t[96] = Q, t[97] = nq, t[98] = Dq) : Dq = t[98];
|
|
28506
|
+
let Oq;
|
|
28507
|
+
return t[99] !== O || t[100] !== Eq || t[101] !== Dq ? (Oq = (0, import_jsx_runtime.jsxs)("div", {
|
|
28508
|
+
className: uq,
|
|
28509
28509
|
...O,
|
|
28510
28510
|
children: [
|
|
28511
|
-
|
|
28512
|
-
|
|
28511
|
+
Eq,
|
|
28512
|
+
Dq
|
|
28513
28513
|
]
|
|
28514
|
-
}), t[99] = O, t[100] =
|
|
28514
|
+
}), t[99] = O, t[100] = Eq, t[101] = Dq, t[102] = Oq) : Oq = t[102], Oq;
|
|
28515
28515
|
};
|
|
28516
28516
|
ComboboxItem = import_react.forwardRef((e, t) => {
|
|
28517
|
-
let n = (0, import_compiler_runtime$
|
|
28517
|
+
let n = (0, import_compiler_runtime$32.c)(17), { 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), _;
|
|
28518
28518
|
n[0] === o ? _ = n[1] : (_ = cn("pl-6 m-1 py-1", o), n[0] = o, n[1] = _);
|
|
28519
28519
|
let v;
|
|
28520
28520
|
n[2] !== h || n[3] !== c || n[4] !== s ? (v = () => {
|
|
@@ -28539,12 +28539,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28539
28539
|
}), n[9] = i, n[10] = d, n[11] = t, n[12] = _, n[13] = v, n[14] = y, n[15] = f, n[16] = S) : S = n[16], S;
|
|
28540
28540
|
});
|
|
28541
28541
|
ComboboxItem.displayName = "ComboboxItem";
|
|
28542
|
-
var import_compiler_runtime$
|
|
28542
|
+
var import_compiler_runtime$31 = require_compiler_runtime(), labelVariants = cva([
|
|
28543
28543
|
"text-sm font-medium leading-none",
|
|
28544
28544
|
"data-disabled:cursor-not-allowed data-disabled:opacity-70",
|
|
28545
28545
|
"group-data-invalid:text-destructive"
|
|
28546
28546
|
]), Label = (e) => {
|
|
28547
|
-
let t = (0, import_compiler_runtime$
|
|
28547
|
+
let t = (0, import_compiler_runtime$31.c)(8), n, i;
|
|
28548
28548
|
t[0] === e ? (n = t[1], i = t[2]) : ({ className: n, ...i } = e, t[0] = e, t[1] = n, t[2] = i);
|
|
28549
28549
|
let o;
|
|
28550
28550
|
t[3] === n ? o = t[4] : (o = cn(labelVariants(), n), t[3] = n, t[4] = o);
|
|
@@ -28554,7 +28554,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28554
28554
|
...i
|
|
28555
28555
|
}), t[5] = i, t[6] = o, t[7] = s) : s = t[7], s;
|
|
28556
28556
|
}, FieldError = (e) => {
|
|
28557
|
-
let t = (0, import_compiler_runtime$
|
|
28557
|
+
let t = (0, import_compiler_runtime$31.c)(8), n, i;
|
|
28558
28558
|
t[0] === e ? (n = t[1], i = t[2]) : ({ className: n, ...i } = e, t[0] = e, t[1] = n, t[2] = i);
|
|
28559
28559
|
let o;
|
|
28560
28560
|
t[3] === n ? o = t[4] : (o = cn("text-sm font-medium text-destructive", n), t[3] = n, t[4] = o);
|
|
@@ -28579,7 +28579,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28579
28579
|
variant: "default"
|
|
28580
28580
|
}
|
|
28581
28581
|
}), FieldGroup = (e) => {
|
|
28582
|
-
let t = (0, import_compiler_runtime$
|
|
28582
|
+
let t = (0, import_compiler_runtime$31.c)(12), n, i, o;
|
|
28583
28583
|
t[0] === e ? (n = t[1], i = t[2], o = t[3]) : ({ className: n, variant: o, ...i } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o);
|
|
28584
28584
|
let s;
|
|
28585
28585
|
t[4] === o ? s = t[5] : (s = (e2) => cn(fieldGroupVariants({
|
|
@@ -28592,8 +28592,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28592
28592
|
className: c,
|
|
28593
28593
|
...i
|
|
28594
28594
|
}), t[9] = i, t[10] = c, t[11] = d) : d = t[11], d;
|
|
28595
|
-
}, import_compiler_runtime$
|
|
28596
|
-
let t = (0, import_compiler_runtime$
|
|
28595
|
+
}, import_compiler_runtime$30 = require_compiler_runtime(), DateSegment = (e) => {
|
|
28596
|
+
let t = (0, import_compiler_runtime$30.c)(8), n, i;
|
|
28597
28597
|
t[0] === e ? (n = t[1], i = t[2]) : ({ className: n, ...i } = e, t[0] = e, t[1] = n, t[2] = i);
|
|
28598
28598
|
let a;
|
|
28599
28599
|
t[3] === n ? a = t[4] : (a = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp$8), t[3] = n, t[4] = a);
|
|
@@ -28603,7 +28603,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28603
28603
|
...i
|
|
28604
28604
|
}), t[5] = i, t[6] = a, t[7] = o) : o = t[7], o;
|
|
28605
28605
|
}, DateInput = (e) => {
|
|
28606
|
-
let t = (0, import_compiler_runtime$
|
|
28606
|
+
let t = (0, import_compiler_runtime$30.c)(12), n, i, o;
|
|
28607
28607
|
t[0] === e ? (n = t[1], i = t[2], o = t[3]) : ({ className: n, variant: o, ...i } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o);
|
|
28608
28608
|
let s;
|
|
28609
28609
|
t[4] === o ? s = t[5] : (s = (e2) => cn(fieldGroupVariants({
|
|
@@ -28618,7 +28618,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28618
28618
|
children: _temp2$6
|
|
28619
28619
|
}), t[9] = i, t[10] = c, t[11] = d) : d = t[11], d;
|
|
28620
28620
|
}, TimeField = (e) => {
|
|
28621
|
-
let t = (0, import_compiler_runtime$
|
|
28621
|
+
let t = (0, import_compiler_runtime$30.c)(21), n, i, a, o, s;
|
|
28622
28622
|
t[0] === e ? (n = t[1], i = t[2], a = t[3], o = t[4], s = t[5]) : ({ label: o, description: i, errorMessage: a, className: n, ...s } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a, t[4] = o, t[5] = s);
|
|
28623
28623
|
let c;
|
|
28624
28624
|
t[6] === n ? c = t[7] : (c = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp4$3), t[6] = n, t[7] = c);
|
|
@@ -28660,8 +28660,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28660
28660
|
function _temp4$3(e) {
|
|
28661
28661
|
return cn("group flex flex-col gap-2", e);
|
|
28662
28662
|
}
|
|
28663
|
-
var import_compiler_runtime$
|
|
28664
|
-
let t = (0, import_compiler_runtime$
|
|
28663
|
+
var import_compiler_runtime$29 = require_compiler_runtime(), Popover$1 = (e) => {
|
|
28664
|
+
let t = (0, import_compiler_runtime$29.c)(10), n, i, a;
|
|
28665
28665
|
t[0] === e ? (n = t[1], i = t[2], a = t[3]) : ({ className: n, offset: a, ...i } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a);
|
|
28666
28666
|
let o = a === void 0 ? 4 : a, s;
|
|
28667
28667
|
t[4] === n ? s = t[5] : (s = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp$7), t[4] = n, t[5] = s);
|
|
@@ -28675,8 +28675,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28675
28675
|
function _temp$7(e) {
|
|
28676
28676
|
return cn("z-50 rounded-md border bg-popover text-popover-foreground shadow-md outline-hidden", "data-entering:animate-in data-entering:fade-in-0 data-entering:zoom-in-95", "data-exiting:animate-out data-exiting:fade-out-0 data-exiting:zoom-out-95", "data-[placement=bottom]:slide-in-from-top-2 data-[placement=left]:slide-in-from-right-2 data-[placement=right]:slide-in-from-left-2 data-[placement=top]:slide-in-from-bottom-2", e);
|
|
28677
28677
|
}
|
|
28678
|
-
var import_compiler_runtime$
|
|
28679
|
-
let t = (0, import_compiler_runtime$
|
|
28678
|
+
var import_compiler_runtime$28 = require_compiler_runtime(), CalendarHeading = (e) => {
|
|
28679
|
+
let t = (0, import_compiler_runtime$28.c)(11), { direction: n } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), i;
|
|
28680
28680
|
t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = cn(buttonVariants({
|
|
28681
28681
|
variant: "outline"
|
|
28682
28682
|
}), "size-7 bg-transparent p-0 opacity-50", "data-hovered:opacity-100"), t[0] = i) : i = t[0];
|
|
@@ -28723,7 +28723,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28723
28723
|
]
|
|
28724
28724
|
}), t[7] = e, t[8] = o, t[9] = f, t[10] = h) : h = t[10], h;
|
|
28725
28725
|
}, CalendarGrid = (e) => {
|
|
28726
|
-
let t = (0, import_compiler_runtime$
|
|
28726
|
+
let t = (0, import_compiler_runtime$28.c)(8), n, i;
|
|
28727
28727
|
t[0] === e ? (n = t[1], i = t[2]) : ({ className: n, ...i } = e, t[0] = e, t[1] = n, t[2] = i);
|
|
28728
28728
|
let o;
|
|
28729
28729
|
t[3] === n ? o = t[4] : (o = cn(" border-separate border-spacing-x-0 border-spacing-y-1 ", n), t[3] = n, t[4] = o);
|
|
@@ -28733,14 +28733,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28733
28733
|
...i
|
|
28734
28734
|
}), t[5] = i, t[6] = o, t[7] = s) : s = t[7], s;
|
|
28735
28735
|
}, CalendarGridHeader = (e) => {
|
|
28736
|
-
let t = (0, import_compiler_runtime$
|
|
28736
|
+
let t = (0, import_compiler_runtime$28.c)(4), n;
|
|
28737
28737
|
t[0] === e ? n = t[1] : ({ ...n } = e, t[0] = e, t[1] = n);
|
|
28738
28738
|
let i;
|
|
28739
28739
|
return t[2] === n ? i = t[3] : (i = (0, import_jsx_runtime.jsx)($dfd62f934fc76fed$export$22e2d15eaa4d2377, {
|
|
28740
28740
|
...n
|
|
28741
28741
|
}), t[2] = n, t[3] = i), i;
|
|
28742
28742
|
}, CalendarHeaderCell = (e) => {
|
|
28743
|
-
let t = (0, import_compiler_runtime$
|
|
28743
|
+
let t = (0, import_compiler_runtime$28.c)(8), n, i;
|
|
28744
28744
|
t[0] === e ? (n = t[1], i = t[2]) : ({ className: n, ...i } = e, t[0] = e, t[1] = n, t[2] = i);
|
|
28745
28745
|
let o;
|
|
28746
28746
|
t[3] === n ? o = t[4] : (o = cn("w-9 rounded-md text-[0.8rem] font-normal text-muted-foreground", n), t[3] = n, t[4] = o);
|
|
@@ -28750,7 +28750,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28750
28750
|
...i
|
|
28751
28751
|
}), t[5] = i, t[6] = o, t[7] = s) : s = t[7], s;
|
|
28752
28752
|
}, CalendarGridBody = (e) => {
|
|
28753
|
-
let t = (0, import_compiler_runtime$
|
|
28753
|
+
let t = (0, import_compiler_runtime$28.c)(8), n, i;
|
|
28754
28754
|
t[0] === e ? (n = t[1], i = t[2]) : ({ className: n, ...i } = e, t[0] = e, t[1] = n, t[2] = i);
|
|
28755
28755
|
let o;
|
|
28756
28756
|
t[3] === n ? o = t[4] : (o = cn("[&>tr>td]:p-0", n), t[3] = n, t[4] = o);
|
|
@@ -28760,7 +28760,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28760
28760
|
...i
|
|
28761
28761
|
}), t[5] = i, t[6] = o, t[7] = s) : s = t[7], s;
|
|
28762
28762
|
}, CalendarCell = (e) => {
|
|
28763
|
-
let t = (0, import_compiler_runtime$
|
|
28763
|
+
let t = (0, import_compiler_runtime$28.c)(11), n, i;
|
|
28764
28764
|
t[0] === e ? (n = t[1], i = t[2]) : ({ className: n, ...i } = e, t[0] = e, t[1] = n, t[2] = i);
|
|
28765
28765
|
let o = !!import_react.use($dfd62f934fc76fed$export$5e0fc348c00f87a0), s;
|
|
28766
28766
|
t[3] === o ? s = t[4] : (s = (e2, t2) => cn(buttonVariants({
|
|
@@ -28774,7 +28774,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28774
28774
|
...i
|
|
28775
28775
|
}), t[8] = i, t[9] = d, t[10] = f) : f = t[10], f;
|
|
28776
28776
|
}, Calendar$1 = (e) => {
|
|
28777
|
-
let t = (0, import_compiler_runtime$
|
|
28777
|
+
let t = (0, import_compiler_runtime$28.c)(14), n, i, a;
|
|
28778
28778
|
t[0] === e ? (n = t[1], i = t[2], a = t[3]) : ({ errorMessage: i, className: n, ...a } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a);
|
|
28779
28779
|
let o;
|
|
28780
28780
|
t[4] === n ? o = t[5] : (o = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp$6), t[4] = n, t[5] = o);
|
|
@@ -28808,7 +28808,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28808
28808
|
]
|
|
28809
28809
|
}), t[10] = a, t[11] = o, t[12] = d, t[13] = f) : f = t[13], f;
|
|
28810
28810
|
}, RangeCalendar = (e) => {
|
|
28811
|
-
let t = (0, import_compiler_runtime$
|
|
28811
|
+
let t = (0, import_compiler_runtime$28.c)(14), n, i, a;
|
|
28812
28812
|
t[0] === e ? (n = t[1], i = t[2], a = t[3]) : ({ errorMessage: i, className: n, ...a } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a);
|
|
28813
28813
|
let o;
|
|
28814
28814
|
t[4] === n ? o = t[5] : (o = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp4$2), t[4] = n, t[5] = o);
|
|
@@ -28868,10 +28868,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28868
28868
|
date: e
|
|
28869
28869
|
});
|
|
28870
28870
|
}
|
|
28871
|
-
let import_compiler_runtime$
|
|
28872
|
-
import_compiler_runtime$
|
|
28871
|
+
let import_compiler_runtime$27, DatePickerContent;
|
|
28872
|
+
import_compiler_runtime$27 = require_compiler_runtime();
|
|
28873
28873
|
DatePickerContent = (e) => {
|
|
28874
|
-
let t = (0, import_compiler_runtime$
|
|
28874
|
+
let t = (0, import_compiler_runtime$27.c)(14), n, i, o;
|
|
28875
28875
|
t[0] === e ? (n = t[1], i = t[2], o = t[3]) : ({ className: n, popoverClassName: i, ...o } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o);
|
|
28876
28876
|
let s;
|
|
28877
28877
|
t[4] === i ? s = t[5] : (s = $64fa3d84918910a7$export$c245e6201fed2f75(i, _temp$5), t[4] = i, t[5] = s);
|
|
@@ -28889,7 +28889,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28889
28889
|
}), t[11] = s, t[12] = d, t[13] = f) : f = t[13], f;
|
|
28890
28890
|
};
|
|
28891
28891
|
DatePicker = (e) => {
|
|
28892
|
-
let t = (0, import_compiler_runtime$
|
|
28892
|
+
let t = (0, import_compiler_runtime$27.c)(26), n, i, o, s, d;
|
|
28893
28893
|
t[0] === e ? (n = t[1], i = t[2], o = t[3], s = t[4], d = t[5]) : ({ label: s, description: i, errorMessage: o, className: n, ...d } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o, t[4] = s, t[5] = d);
|
|
28894
28894
|
let [f, h] = (0, import_react.useState)(false), _;
|
|
28895
28895
|
t[6] === n ? _ = t[7] : (_ = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp2$4), t[6] = n, t[7] = _);
|
|
@@ -28972,7 +28972,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28972
28972
|
}), t[19] = f, t[20] = d, t[21] = _, t[22] = y, t[23] = E, t[24] = O, t[25] = I) : I = t[25], I;
|
|
28973
28973
|
};
|
|
28974
28974
|
DateRangePicker = (e) => {
|
|
28975
|
-
let t = (0, import_compiler_runtime$
|
|
28975
|
+
let t = (0, import_compiler_runtime$27.c)(28), n, i, o, s, d;
|
|
28976
28976
|
t[0] === e ? (n = t[1], i = t[2], o = t[3], s = t[4], d = t[5]) : ({ label: s, description: i, errorMessage: o, className: n, ...d } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o, t[4] = s, t[5] = d);
|
|
28977
28977
|
let [f, h] = (0, import_react.useState)(false), _;
|
|
28978
28978
|
t[6] === n ? _ = t[7] : (_ = $64fa3d84918910a7$export$c245e6201fed2f75(n, _temp5$1), t[6] = n, t[7] = _);
|
|
@@ -29092,7 +29092,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
29092
29092
|
date: e
|
|
29093
29093
|
});
|
|
29094
29094
|
}
|
|
29095
|
-
var import_compiler_runtime$
|
|
29095
|
+
var import_compiler_runtime$26 = require_compiler_runtime();
|
|
29096
29096
|
function dateToAria(e, t) {
|
|
29097
29097
|
switch (e) {
|
|
29098
29098
|
case "date":
|
|
@@ -29156,7 +29156,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
29156
29156
|
};
|
|
29157
29157
|
}
|
|
29158
29158
|
const DateLikeInput = (e) => {
|
|
29159
|
-
let t = (0, import_compiler_runtime$
|
|
29159
|
+
let t = (0, import_compiler_runtime$26.c)(19), { filterType: n, value: i, onChange: a, "aria-label": o, className: s } = e, [c, d] = (0, import_react.useState)(0), [f, h] = (0, import_react.useState)(i), _;
|
|
29160
29160
|
t[0] !== n || t[1] !== a ? (_ = (e2) => {
|
|
29161
29161
|
e2 !== null && a(ariaToDate(n, e2));
|
|
29162
29162
|
}, t[0] = n, t[1] = a, t[2] = _) : _ = t[2];
|
|
@@ -29194,7 +29194,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
29194
29194
|
children: O
|
|
29195
29195
|
}), t[16] = S, t[17] = O, t[18] = A) : A = t[18], A;
|
|
29196
29196
|
}, DateLikeRangeInput = (e) => {
|
|
29197
|
-
let t = (0, import_compiler_runtime$
|
|
29197
|
+
let t = (0, import_compiler_runtime$26.c)(40), { filterType: n, min: i, max: a, onRangeChange: o, className: s } = e, [c, d] = (0, import_react.useState)(0), [f, h] = (0, import_react.useState)(i), [_, v] = (0, import_react.useState)(a), y;
|
|
29198
29198
|
t[0] !== n || t[1] !== o ? (y = (e2) => {
|
|
29199
29199
|
let t2 = parsePastedRange(n, e2.clipboardData.getData("text"));
|
|
29200
29200
|
t2 && (e2.preventDefault(), e2.stopPropagation(), o(t2.min, t2.max), h(t2.min), v(t2.max), d(_temp2$3));
|
|
@@ -29245,8 +29245,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
29245
29245
|
start: dateToAria(n, f),
|
|
29246
29246
|
end: dateToAria(n, _)
|
|
29247
29247
|
}, t[27] = n, t[28] = _, t[29] = f, t[30] = O) : O = t[30];
|
|
29248
|
-
let A = O,
|
|
29249
|
-
t[31] !== s || t[32] !== n || t[33] !== E || t[34] !== c || t[35] !== A ? (
|
|
29248
|
+
let A = O, I;
|
|
29249
|
+
t[31] !== s || t[32] !== n || t[33] !== E || t[34] !== c || t[35] !== A ? (I = n === "date" ? (0, import_jsx_runtime.jsx)(DateRangePicker, {
|
|
29250
29250
|
"aria-label": "range",
|
|
29251
29251
|
defaultValue: A,
|
|
29252
29252
|
onChange: E,
|
|
@@ -29258,13 +29258,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
29258
29258
|
hourCycle: 24,
|
|
29259
29259
|
onChange: E,
|
|
29260
29260
|
className: s
|
|
29261
|
-
}, c), t[31] = s, t[32] = n, t[33] = E, t[34] = c, t[35] = A, t[36] =
|
|
29262
|
-
let
|
|
29263
|
-
return t[37] !== S || t[38] !==
|
|
29261
|
+
}, c), t[31] = s, t[32] = n, t[33] = E, t[34] = c, t[35] = A, t[36] = I) : I = t[36];
|
|
29262
|
+
let z;
|
|
29263
|
+
return t[37] !== S || t[38] !== I ? (z = (0, import_jsx_runtime.jsx)("div", {
|
|
29264
29264
|
onPasteCapture: S,
|
|
29265
29265
|
className: "contents",
|
|
29266
|
-
children:
|
|
29267
|
-
}), t[37] = S, t[38] =
|
|
29266
|
+
children: I
|
|
29267
|
+
}), t[37] = S, t[38] = I, t[39] = z) : z = t[39], z;
|
|
29268
29268
|
};
|
|
29269
29269
|
function _temp$4(e) {
|
|
29270
29270
|
return e + 1;
|
|
@@ -29288,15 +29288,15 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
29288
29288
|
return n.has(t) ? n.delete(t) : n.add(t), n;
|
|
29289
29289
|
}
|
|
29290
29290
|
};
|
|
29291
|
-
var import_compiler_runtime$
|
|
29291
|
+
var import_compiler_runtime$25 = require_compiler_runtime();
|
|
29292
29292
|
const Chip = (e) => {
|
|
29293
|
-
let t = (0, import_compiler_runtime$
|
|
29293
|
+
let t = (0, import_compiler_runtime$25.c)(2), { children: n } = e, i;
|
|
29294
29294
|
return t[0] === n ? i = t[1] : (i = (0, import_jsx_runtime.jsx)("span", {
|
|
29295
29295
|
className: "inline-flex items-center rounded-sm bg-muted/50 px-1 font-mono text-xs font-normal leading-tight text-foreground",
|
|
29296
29296
|
children: n
|
|
29297
29297
|
}), t[0] = n, t[1] = i), i;
|
|
29298
29298
|
}, MoreChip = (e) => {
|
|
29299
|
-
let t = (0, import_compiler_runtime$
|
|
29299
|
+
let t = (0, import_compiler_runtime$25.c)(2), { count: n } = e, i;
|
|
29300
29300
|
return t[0] === n ? i = t[1] : (i = (0, import_jsx_runtime.jsxs)("span", {
|
|
29301
29301
|
className: "inline-flex items-center px-1 text-xs italic text-muted-foreground",
|
|
29302
29302
|
children: [
|
|
@@ -29305,7 +29305,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
29305
29305
|
]
|
|
29306
29306
|
}), t[0] = n, t[1] = i), i;
|
|
29307
29307
|
}, ChipWithComma = (e) => {
|
|
29308
|
-
let t = (0, import_compiler_runtime$
|
|
29308
|
+
let t = (0, import_compiler_runtime$25.c)(7), { value: n, showComma: i } = e, a;
|
|
29309
29309
|
t[0] === n ? a = t[1] : (a = (0, import_jsx_runtime.jsx)(Chip, {
|
|
29310
29310
|
children: n
|
|
29311
29311
|
}), t[0] = n, t[1] = a);
|
|
@@ -29323,7 +29323,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
29323
29323
|
]
|
|
29324
29324
|
}), t[4] = a, t[5] = o, t[6] = s) : s = t[6], s;
|
|
29325
29325
|
}, CompactChipRow = (e) => {
|
|
29326
|
-
let t = (0, import_compiler_runtime$
|
|
29326
|
+
let t = (0, import_compiler_runtime$25.c)(11), { items: n, max: i } = e, a = i === void 0 ? 3 : i;
|
|
29327
29327
|
if (n.length === 0) return null;
|
|
29328
29328
|
let o, s, c;
|
|
29329
29329
|
if (t[0] !== n || t[1] !== a) {
|
|
@@ -29549,9 +29549,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
29549
29549
|
children: "No values available"
|
|
29550
29550
|
});
|
|
29551
29551
|
};
|
|
29552
|
-
var import_compiler_runtime$
|
|
29552
|
+
var import_compiler_runtime$24 = require_compiler_runtime();
|
|
29553
29553
|
const RegexInput = import_react.forwardRef((e, t) => {
|
|
29554
|
-
let n = (0, import_compiler_runtime$
|
|
29554
|
+
let n = (0, import_compiler_runtime$24.c)(18), { id: i, value: o, onChange: s, onKeyDown: c, placeholder: d, className: f, autoFocus: h, "aria-label": _ } = e, v = d === void 0 ? "pattern" : d, y;
|
|
29555
29555
|
n[0] === f ? y = n[1] : (y = cn("flex items-stretch h-6 mb-1 rounded-sm border border-input bg-background shadow-xs-solid focus-within:shadow-md-solid focus-within:ring-1 focus-within:ring-ring focus-within:border-primary", f), n[0] = f, n[1] = y);
|
|
29556
29556
|
let S;
|
|
29557
29557
|
n[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (S = (0, import_jsx_runtime.jsx)(Slash, {}), n[2] = S) : S = n[2];
|
|
@@ -29585,7 +29585,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
29585
29585
|
});
|
|
29586
29586
|
RegexInput.displayName = "RegexInput";
|
|
29587
29587
|
var Slash = () => {
|
|
29588
|
-
let e = (0, import_compiler_runtime$
|
|
29588
|
+
let e = (0, import_compiler_runtime$24.c)(1), t;
|
|
29589
29589
|
return e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (t = (0, import_jsx_runtime.jsx)("span", {
|
|
29590
29590
|
className: "px-1.5 flex items-center text-muted-foreground font-code text-sm select-none",
|
|
29591
29591
|
children: "/"
|
|
@@ -29623,7 +29623,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
29623
29623
|
const FilterPillEditor = ({ snapshot: e, table: t, calculateTopKRows: n, onClose: i, editIndex: a }) => {
|
|
29624
29624
|
let o = (0, import_react.useId)(), s = (0, import_react.useId)(), c = (0, import_react.useId)(), d = e.value.type, f = e.value.operator, _ = toDraftValue(e.value), [v, y] = (0, import_react.useState)(e.columnId), [S, w] = (0, import_react.useState)(d), [E, O] = (0, import_react.useState)(f), [A, M] = (0, import_react.useState)(_), [I, z] = (0, import_react.useState)(EMPTY_NUMBER_TEXT_DRAFT), U = editableColumns(t), K = (t2) => {
|
|
29625
29625
|
t2.id === e.columnId && t2.operator === f && M(_);
|
|
29626
|
-
},
|
|
29626
|
+
}, J = (e2) => {
|
|
29627
29627
|
if (!e2) return;
|
|
29628
29628
|
let n2 = t.getColumn(e2);
|
|
29629
29629
|
if (!n2) return;
|
|
@@ -29632,20 +29632,20 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
29632
29632
|
id: e2,
|
|
29633
29633
|
operator: a2
|
|
29634
29634
|
});
|
|
29635
|
-
},
|
|
29635
|
+
}, Q = (e2) => {
|
|
29636
29636
|
O(e2);
|
|
29637
29637
|
let t2 = emptyDraftFor(S, e2);
|
|
29638
29638
|
t2.kind !== A.kind && M(t2), z(EMPTY_NUMBER_TEXT_DRAFT), K({
|
|
29639
29639
|
id: v,
|
|
29640
29640
|
operator: e2
|
|
29641
29641
|
});
|
|
29642
|
-
},
|
|
29642
|
+
}, GK = buildFilterValue({
|
|
29643
29643
|
type: S,
|
|
29644
29644
|
operator: E,
|
|
29645
29645
|
draft: mergeNumberTextDraft(A, I)
|
|
29646
|
-
}),
|
|
29647
|
-
if (!
|
|
29648
|
-
let e2 =
|
|
29646
|
+
}), KK = GK === void 0, qK = KK ? getMissingValueMessage(S, E) : "Apply filter", JK = () => {
|
|
29647
|
+
if (!GK) return;
|
|
29648
|
+
let e2 = GK;
|
|
29649
29649
|
t.setColumnFilters((t2) => {
|
|
29650
29650
|
if (a === void 0) return [
|
|
29651
29651
|
{
|
|
@@ -29662,20 +29662,20 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
29662
29662
|
value: e2
|
|
29663
29663
|
}, n2;
|
|
29664
29664
|
}), i();
|
|
29665
|
-
},
|
|
29665
|
+
}, $ = () => {
|
|
29666
29666
|
a !== void 0 && t.setColumnFilters((e2) => e2.filter((e3, t2) => t2 !== a)), i();
|
|
29667
|
-
},
|
|
29667
|
+
}, YK = !OPERATORS_WITHOUT_VALUE.has(E), XK = OPERATORS_BY_TYPE[S], ZK = (0, import_react.useRef)(null), QK = (0, import_react.useRef)(null);
|
|
29668
29668
|
return (0, import_react.useEffect)(() => {
|
|
29669
29669
|
var _a2, _b;
|
|
29670
|
-
let e2 = (_a2 =
|
|
29671
|
-
e2 ? e2.focus() : (_b =
|
|
29670
|
+
let e2 = (_a2 = ZK.current) == null ? void 0 : _a2.querySelector('input, [role="spinbutton"], [role="combobox"], button');
|
|
29671
|
+
e2 ? e2.focus() : (_b = QK.current) == null ? void 0 : _b.focus();
|
|
29672
29672
|
}, [
|
|
29673
29673
|
S,
|
|
29674
29674
|
E
|
|
29675
29675
|
]), (0, import_jsx_runtime.jsxs)("form", {
|
|
29676
29676
|
className: "flex flex-row gap-4 items-end p-3",
|
|
29677
29677
|
onSubmit: (e2) => {
|
|
29678
|
-
e2.preventDefault(),
|
|
29678
|
+
e2.preventDefault(), JK();
|
|
29679
29679
|
},
|
|
29680
29680
|
onKeyDownCapture: (e2) => {
|
|
29681
29681
|
e2.key === "Tab" && e2.stopPropagation();
|
|
@@ -29692,7 +29692,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
29692
29692
|
(0, import_jsx_runtime.jsx)(Combobox, {
|
|
29693
29693
|
id: o,
|
|
29694
29694
|
value: v,
|
|
29695
|
-
onValueChange:
|
|
29695
|
+
onValueChange: J,
|
|
29696
29696
|
multiple: false,
|
|
29697
29697
|
placeholder: "Select column\u2026",
|
|
29698
29698
|
displayValue: (e2) => e2,
|
|
@@ -29713,16 +29713,16 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
29713
29713
|
}),
|
|
29714
29714
|
(0, import_jsx_runtime.jsxs)(Select, {
|
|
29715
29715
|
value: E,
|
|
29716
|
-
onValueChange: (e2) =>
|
|
29716
|
+
onValueChange: (e2) => Q(e2),
|
|
29717
29717
|
children: [
|
|
29718
29718
|
(0, import_jsx_runtime.jsx)(SelectTrigger, {
|
|
29719
|
-
ref:
|
|
29719
|
+
ref: QK,
|
|
29720
29720
|
id: s,
|
|
29721
29721
|
className: "h-6 mb-1 bg-transparent",
|
|
29722
29722
|
children: (0, import_jsx_runtime.jsx)(SelectValue, {})
|
|
29723
29723
|
}),
|
|
29724
29724
|
(0, import_jsx_runtime.jsx)(SelectContent, {
|
|
29725
|
-
children:
|
|
29725
|
+
children: XK.map((e2) => (0, import_jsx_runtime.jsx)(SelectItem, {
|
|
29726
29726
|
value: e2,
|
|
29727
29727
|
children: OPERATOR_LABELS[e2]
|
|
29728
29728
|
}, e2))
|
|
@@ -29731,8 +29731,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
29731
29731
|
}, S)
|
|
29732
29732
|
]
|
|
29733
29733
|
}),
|
|
29734
|
-
|
|
29735
|
-
ref:
|
|
29734
|
+
YK && (0, import_jsx_runtime.jsxs)("div", {
|
|
29735
|
+
ref: ZK,
|
|
29736
29736
|
className: "flex flex-col gap-1",
|
|
29737
29737
|
children: [
|
|
29738
29738
|
(0, import_jsx_runtime.jsx)("label", {
|
|
@@ -29759,14 +29759,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
29759
29759
|
className: "flex gap-1 mb-1",
|
|
29760
29760
|
children: [
|
|
29761
29761
|
(0, import_jsx_runtime.jsx)(Tooltip, {
|
|
29762
|
-
content:
|
|
29762
|
+
content: qK,
|
|
29763
29763
|
children: (0, import_jsx_runtime.jsx)("span", {
|
|
29764
29764
|
className: "inline-flex",
|
|
29765
29765
|
children: (0, import_jsx_runtime.jsx)(Button, {
|
|
29766
29766
|
type: "submit",
|
|
29767
29767
|
size: "icon",
|
|
29768
29768
|
variant: "ghost",
|
|
29769
|
-
disabled:
|
|
29769
|
+
disabled: KK,
|
|
29770
29770
|
className: "rounded-full text-primary hover:text-primary hover:bg-primary/10",
|
|
29771
29771
|
"aria-label": "Apply filter",
|
|
29772
29772
|
children: (0, import_jsx_runtime.jsx)(Check, {
|
|
@@ -29798,7 +29798,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
29798
29798
|
size: "icon",
|
|
29799
29799
|
variant: "ghost",
|
|
29800
29800
|
className: "rounded-full text-destructive hover:text-destructive hover:bg-destructive/10",
|
|
29801
|
-
onClick:
|
|
29801
|
+
onClick: $,
|
|
29802
29802
|
"aria-label": "Remove filter",
|
|
29803
29803
|
children: (0, import_jsx_runtime.jsx)(Trash2, {
|
|
29804
29804
|
className: "h-3.5 w-3.5",
|
|
@@ -30065,9 +30065,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
30065
30065
|
});
|
|
30066
30066
|
}
|
|
30067
30067
|
}
|
|
30068
|
-
var import_compiler_runtime$
|
|
30068
|
+
var import_compiler_runtime$23 = require_compiler_runtime();
|
|
30069
30069
|
const DraggablePopover = (e) => {
|
|
30070
|
-
let t = (0, import_compiler_runtime$
|
|
30070
|
+
let t = (0, import_compiler_runtime$23.c)(25), n, i, a;
|
|
30071
30071
|
t[0] === e ? (n = t[1], i = t[2], a = t[3]) : ({ children: n, className: i, ...a } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a);
|
|
30072
30072
|
let o;
|
|
30073
30073
|
t[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (o = {
|
|
@@ -30430,9 +30430,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
30430
30430
|
...e
|
|
30431
30431
|
];
|
|
30432
30432
|
}
|
|
30433
|
-
var import_compiler_runtime$
|
|
30433
|
+
var import_compiler_runtime$22 = require_compiler_runtime();
|
|
30434
30434
|
function useScrollContainerHeight(e) {
|
|
30435
|
-
let t = (0, import_compiler_runtime$
|
|
30435
|
+
let t = (0, import_compiler_runtime$22.c)(8), { maxHeight: n, virtualize: i } = e, a = (0, import_react.useRef)(null), o, s;
|
|
30436
30436
|
t[0] !== n || t[1] !== i ? (o = () => {
|
|
30437
30437
|
if (!a.current) return;
|
|
30438
30438
|
let e2 = a.current.parentElement;
|
|
@@ -31029,9 +31029,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
31029
31029
|
var _a2;
|
|
31030
31030
|
window.getSelection && ((_a2 = window.getSelection()) == null ? void 0 : _a2.empty());
|
|
31031
31031
|
};
|
|
31032
|
-
var import_compiler_runtime$
|
|
31032
|
+
var import_compiler_runtime$21 = require_compiler_runtime();
|
|
31033
31033
|
const CellSelectionProvider = (e) => {
|
|
31034
|
-
let t = (0, import_compiler_runtime$
|
|
31034
|
+
let t = (0, import_compiler_runtime$21.c)(3), { children: n } = e, i;
|
|
31035
31035
|
t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = [
|
|
31036
31036
|
cellSelectionStateAtom
|
|
31037
31037
|
], t[0] = i) : i = t[0];
|
|
@@ -31586,8 +31586,15 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
31586
31586
|
...e
|
|
31587
31587
|
});
|
|
31588
31588
|
}
|
|
31589
|
-
|
|
31590
|
-
|
|
31589
|
+
let import_compiler_runtime$20, ContextMenuPortal, InternalContextMenuContent, InternalContextMenuSubContent, ContextMenuSubTrigger;
|
|
31590
|
+
import_compiler_runtime$20 = require_compiler_runtime();
|
|
31591
|
+
ContextMenu = Root2$2;
|
|
31592
|
+
ContextMenuTrigger = Trigger$1;
|
|
31593
|
+
ContextMenuPortal = withFullScreenAsRoot(Portal2);
|
|
31594
|
+
InternalContextMenuContent = withSmartCollisionBoundary(Content2);
|
|
31595
|
+
InternalContextMenuSubContent = withSmartCollisionBoundary(SubContent2);
|
|
31596
|
+
ContextMenuSubTrigger = import_react.forwardRef((e, t) => {
|
|
31597
|
+
let n = (0, import_compiler_runtime$20.c)(14), i, a, o, s;
|
|
31591
31598
|
n[0] === e ? (i = n[1], a = n[2], o = n[3], s = n[4]) : ({ className: a, inset: o, children: i, ...s } = e, n[0] = e, n[1] = i, n[2] = a, n[3] = o, n[4] = s);
|
|
31592
31599
|
let c;
|
|
31593
31600
|
n[5] !== a || n[6] !== o ? (c = menuSubTriggerVariants({
|
|
@@ -31611,7 +31618,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
31611
31618
|
});
|
|
31612
31619
|
ContextMenuSubTrigger.displayName = SubTrigger2.displayName;
|
|
31613
31620
|
var contentCommon = "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", ContextMenuSubContent = import_react.forwardRef((e, t) => {
|
|
31614
|
-
let n = (0, import_compiler_runtime$
|
|
31621
|
+
let n = (0, import_compiler_runtime$20.c)(9), i, o;
|
|
31615
31622
|
n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
|
|
31616
31623
|
let s;
|
|
31617
31624
|
n[3] === i ? s = n[4] : (s = cn(menuContentCommon({
|
|
@@ -31625,8 +31632,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
31625
31632
|
}), n[5] = o, n[6] = t, n[7] = s, n[8] = c) : c = n[8], c;
|
|
31626
31633
|
});
|
|
31627
31634
|
ContextMenuSubContent.displayName = SubContent2.displayName;
|
|
31628
|
-
|
|
31629
|
-
let n = (0, import_compiler_runtime$
|
|
31635
|
+
ContextMenuContent = import_react.forwardRef((e, t) => {
|
|
31636
|
+
let n = (0, import_compiler_runtime$20.c)(15), i, o, s;
|
|
31630
31637
|
n[0] === e ? (i = n[1], o = n[2], s = n[3]) : ({ className: i, scrollable: s, ...o } = e, n[0] = e, n[1] = i, n[2] = o, n[3] = s);
|
|
31631
31638
|
let c = s === void 0 ? true : s, d;
|
|
31632
31639
|
n[4] !== i || n[5] !== c ? (d = cn(menuContentCommon(), contentCommon, c && "overflow-auto", i), n[4] = i, n[5] = c, n[6] = d) : d = n[6];
|
|
@@ -31648,8 +31655,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
31648
31655
|
}), n[10] = o, n[11] = t, n[12] = d, n[13] = h, n[14] = _) : _ = n[14], _;
|
|
31649
31656
|
});
|
|
31650
31657
|
ContextMenuContent.displayName = Content2.displayName;
|
|
31651
|
-
|
|
31652
|
-
let n = (0, import_compiler_runtime$
|
|
31658
|
+
ContextMenuItem = import_react.forwardRef((e, t) => {
|
|
31659
|
+
let n = (0, import_compiler_runtime$20.c)(13), i, a, o, s;
|
|
31653
31660
|
n[0] === e ? (i = n[1], a = n[2], o = n[3], s = n[4]) : ({ className: i, inset: a, variant: s, ...o } = e, n[0] = e, n[1] = i, n[2] = a, n[3] = o, n[4] = s);
|
|
31654
31661
|
let c;
|
|
31655
31662
|
n[5] !== i || n[6] !== a || n[7] !== s ? (c = menuItemVariants({
|
|
@@ -31666,7 +31673,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
31666
31673
|
});
|
|
31667
31674
|
ContextMenuItem.displayName = Item2$1.displayName;
|
|
31668
31675
|
var ContextMenuCheckboxItem = import_react.forwardRef((e, t) => {
|
|
31669
|
-
let n = (0, import_compiler_runtime$
|
|
31676
|
+
let n = (0, import_compiler_runtime$20.c)(15), i, a, o, s;
|
|
31670
31677
|
n[0] === e ? (i = n[1], a = n[2], o = n[3], s = n[4]) : ({ className: o, children: a, checked: i, ...s } = e, n[0] = e, n[1] = i, n[2] = a, n[3] = o, n[4] = s);
|
|
31671
31678
|
let c;
|
|
31672
31679
|
n[5] === o ? c = n[6] : (c = menuControlVariants({
|
|
@@ -31697,7 +31704,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
31697
31704
|
});
|
|
31698
31705
|
ContextMenuCheckboxItem.displayName = CheckboxItem2.displayName;
|
|
31699
31706
|
var ContextMenuRadioItem = import_react.forwardRef((e, t) => {
|
|
31700
|
-
let n = (0, import_compiler_runtime$
|
|
31707
|
+
let n = (0, import_compiler_runtime$20.c)(13), i, a, o;
|
|
31701
31708
|
n[0] === e ? (i = n[1], a = n[2], o = n[3]) : ({ className: a, children: i, ...o } = e, n[0] = e, n[1] = i, n[2] = a, n[3] = o);
|
|
31702
31709
|
let s;
|
|
31703
31710
|
n[4] === a ? s = n[5] : (s = menuControlCheckVariants({
|
|
@@ -31727,7 +31734,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
31727
31734
|
});
|
|
31728
31735
|
ContextMenuRadioItem.displayName = RadioItem2.displayName;
|
|
31729
31736
|
var ContextMenuLabel = import_react.forwardRef((e, t) => {
|
|
31730
|
-
let n = (0, import_compiler_runtime$
|
|
31737
|
+
let n = (0, import_compiler_runtime$20.c)(11), i, a, o;
|
|
31731
31738
|
n[0] === e ? (i = n[1], a = n[2], o = n[3]) : ({ className: i, inset: a, ...o } = e, n[0] = e, n[1] = i, n[2] = a, n[3] = o);
|
|
31732
31739
|
let s;
|
|
31733
31740
|
n[4] !== i || n[5] !== a ? (s = menuLabelVariants({
|
|
@@ -31742,8 +31749,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
31742
31749
|
}), n[7] = o, n[8] = t, n[9] = s, n[10] = c) : c = n[10], c;
|
|
31743
31750
|
});
|
|
31744
31751
|
ContextMenuLabel.displayName = Label2.displayName;
|
|
31745
|
-
|
|
31746
|
-
let n = (0, import_compiler_runtime$
|
|
31752
|
+
ContextMenuSeparator = import_react.forwardRef((e, t) => {
|
|
31753
|
+
let n = (0, import_compiler_runtime$20.c)(9), i, o;
|
|
31747
31754
|
n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
|
|
31748
31755
|
let s;
|
|
31749
31756
|
n[3] === i ? s = n[4] : (s = cn(menuSeparatorVariants({
|
|
@@ -31757,9 +31764,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
31757
31764
|
}), n[5] = o, n[6] = t, n[7] = s, n[8] = c) : c = n[8], c;
|
|
31758
31765
|
});
|
|
31759
31766
|
ContextMenuSeparator.displayName = Separator2.displayName;
|
|
31760
|
-
var import_compiler_runtime$
|
|
31767
|
+
var import_compiler_runtime$19 = require_compiler_runtime();
|
|
31761
31768
|
const DataTableContextMenu = (e) => {
|
|
31762
|
-
let t = (0, import_compiler_runtime$
|
|
31769
|
+
let t = (0, import_compiler_runtime$19.c)(12), { contextMenuRef: i, tableBody: a, tableRef: o, copyAllCells: s } = e, c;
|
|
31763
31770
|
t[0] !== i || t[1] !== o ? (c = (e2) => {
|
|
31764
31771
|
var _a2;
|
|
31765
31772
|
let t2 = i.current;
|
|
@@ -31865,6 +31872,164 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
31865
31872
|
]
|
|
31866
31873
|
});
|
|
31867
31874
|
};
|
|
31875
|
+
var import_compiler_runtime$18 = require_compiler_runtime();
|
|
31876
|
+
const HoverTooltip = (e) => {
|
|
31877
|
+
let t = (0, import_compiler_runtime$18.c)(15), { state: n, contentId: i, onClose: a } = e, o = n != null, s;
|
|
31878
|
+
t[0] === a ? s = t[1] : (s = (e2) => {
|
|
31879
|
+
e2 || a();
|
|
31880
|
+
}, t[0] = a, t[1] = s);
|
|
31881
|
+
let c = (n == null ? void 0 : n.rect.top) ?? 0, d = (n == null ? void 0 : n.rect.left) ?? 0, f = (n == null ? void 0 : n.rect.width) ?? 0, h = (n == null ? void 0 : n.rect.height) ?? 0, _;
|
|
31882
|
+
t[2] !== c || t[3] !== d || t[4] !== f || t[5] !== h ? (_ = (0, import_jsx_runtime.jsx)(TooltipTrigger, {
|
|
31883
|
+
asChild: true,
|
|
31884
|
+
children: (0, import_jsx_runtime.jsx)("div", {
|
|
31885
|
+
"aria-hidden": true,
|
|
31886
|
+
style: {
|
|
31887
|
+
position: "fixed",
|
|
31888
|
+
top: c,
|
|
31889
|
+
left: d,
|
|
31890
|
+
width: f,
|
|
31891
|
+
height: h,
|
|
31892
|
+
pointerEvents: "none"
|
|
31893
|
+
}
|
|
31894
|
+
})
|
|
31895
|
+
}), t[2] = c, t[3] = d, t[4] = f, t[5] = h, t[6] = _) : _ = t[6];
|
|
31896
|
+
let v = n == null ? void 0 : n.content, y;
|
|
31897
|
+
t[7] !== i || t[8] !== v ? (y = (0, import_jsx_runtime.jsx)(TooltipPortal, {
|
|
31898
|
+
children: (0, import_jsx_runtime.jsx)(TooltipContent, {
|
|
31899
|
+
id: i,
|
|
31900
|
+
children: v
|
|
31901
|
+
})
|
|
31902
|
+
}), t[7] = i, t[8] = v, t[9] = y) : y = t[9];
|
|
31903
|
+
let S;
|
|
31904
|
+
return t[10] !== o || t[11] !== s || t[12] !== _ || t[13] !== y ? (S = (0, import_jsx_runtime.jsxs)(TooltipRoot, {
|
|
31905
|
+
open: o,
|
|
31906
|
+
onOpenChange: s,
|
|
31907
|
+
delayDuration: 0,
|
|
31908
|
+
disableHoverableContent: true,
|
|
31909
|
+
children: [
|
|
31910
|
+
_,
|
|
31911
|
+
y
|
|
31912
|
+
]
|
|
31913
|
+
}), t[10] = o, t[11] = s, t[12] = _, t[13] = y, t[14] = S) : S = t[14], S;
|
|
31914
|
+
};
|
|
31915
|
+
function applyHoverTemplate(e, t) {
|
|
31916
|
+
let n = /{{(\w+)}}/g, i = /* @__PURE__ */ new Map();
|
|
31917
|
+
for (let e2 of t) {
|
|
31918
|
+
let t2 = stringifyUnknownValue({
|
|
31919
|
+
value: e2.getValue(),
|
|
31920
|
+
nullAsEmptyString: true
|
|
31921
|
+
});
|
|
31922
|
+
i.set(e2.column.id, t2);
|
|
31923
|
+
}
|
|
31924
|
+
return e.replaceAll(n, (e2, t2) => {
|
|
31925
|
+
let n2 = i.get(t2);
|
|
31926
|
+
return n2 === void 0 ? `{{${t2}}}` : n2;
|
|
31927
|
+
});
|
|
31928
|
+
}
|
|
31929
|
+
function computeCellTooltipContent(e, t) {
|
|
31930
|
+
var _a2;
|
|
31931
|
+
let n = (_a2 = e.getHoverTitle) == null ? void 0 : _a2.call(e);
|
|
31932
|
+
if (n != null && n !== "") return n;
|
|
31933
|
+
if (t) return applyHoverTemplate(t, e.row.getVisibleCells());
|
|
31934
|
+
}
|
|
31935
|
+
var import_compiler_runtime$17 = require_compiler_runtime(), TOOLTIP_DELAY_MS = 400;
|
|
31936
|
+
function useTableHoverTooltip(e) {
|
|
31937
|
+
let t = (0, import_compiler_runtime$17.c)(33), { table: n } = e, i;
|
|
31938
|
+
t[0] === n ? i = t[1] : (i = n.getState().cellHoverTemplate || null, t[0] = n, t[1] = i);
|
|
31939
|
+
let a = i, [o, s] = (0, import_react.useState)(null), c = (0, import_react.useRef)(null), d = (0, import_react.useId)(), f = (0, import_react.useRef)(null), h = (0, import_react.useRef)(false), _;
|
|
31940
|
+
t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = () => {
|
|
31941
|
+
c.current != null && (clearTimeout(c.current), c.current = null);
|
|
31942
|
+
}, t[2] = _) : _ = t[2];
|
|
31943
|
+
let v = _, y;
|
|
31944
|
+
t[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (y = () => {
|
|
31945
|
+
v(), s(null);
|
|
31946
|
+
}, t[3] = y) : y = t[3];
|
|
31947
|
+
let S = useEvent_default(y), w;
|
|
31948
|
+
t[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = (e2, t2) => {
|
|
31949
|
+
f.current = e2;
|
|
31950
|
+
let n2 = e2.getBoundingClientRect();
|
|
31951
|
+
s({
|
|
31952
|
+
rect: {
|
|
31953
|
+
top: n2.top,
|
|
31954
|
+
left: n2.left,
|
|
31955
|
+
width: n2.width,
|
|
31956
|
+
height: n2.height
|
|
31957
|
+
},
|
|
31958
|
+
content: t2
|
|
31959
|
+
});
|
|
31960
|
+
}, t[4] = w) : w = t[4];
|
|
31961
|
+
let E = w, O, A;
|
|
31962
|
+
t[5] !== d || t[6] !== o ? (O = () => {
|
|
31963
|
+
if (!o) return;
|
|
31964
|
+
let e2 = f.current;
|
|
31965
|
+
return e2 == null ? void 0 : e2.setAttribute("aria-describedby", d), () => e2 == null ? void 0 : e2.removeAttribute("aria-describedby");
|
|
31966
|
+
}, A = [
|
|
31967
|
+
o,
|
|
31968
|
+
d
|
|
31969
|
+
], t[5] = d, t[6] = o, t[7] = O, t[8] = A) : (O = t[7], A = t[8]), (0, import_react.useLayoutEffect)(O, A);
|
|
31970
|
+
let M, I;
|
|
31971
|
+
t[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (M = () => {
|
|
31972
|
+
let e2 = () => {
|
|
31973
|
+
h.current = true;
|
|
31974
|
+
}, t2 = () => {
|
|
31975
|
+
h.current = false;
|
|
31976
|
+
};
|
|
31977
|
+
return window.addEventListener("mousedown", e2, {
|
|
31978
|
+
capture: true
|
|
31979
|
+
}), window.addEventListener("mouseup", t2, {
|
|
31980
|
+
capture: true
|
|
31981
|
+
}), () => {
|
|
31982
|
+
window.removeEventListener("mousedown", e2, {
|
|
31983
|
+
capture: true
|
|
31984
|
+
}), window.removeEventListener("mouseup", t2, {
|
|
31985
|
+
capture: true
|
|
31986
|
+
});
|
|
31987
|
+
};
|
|
31988
|
+
}, I = [], t[9] = M, t[10] = I) : (M = t[9], I = t[10]), (0, import_react.useEffect)(M, I);
|
|
31989
|
+
let z;
|
|
31990
|
+
t[11] !== S || t[12] !== a ? (z = (e2, t2) => {
|
|
31991
|
+
if (e2.buttons !== 0) return;
|
|
31992
|
+
let n2 = e2.currentTarget, i2 = computeCellTooltipContent(t2, a);
|
|
31993
|
+
if (i2 == null || i2 === "") {
|
|
31994
|
+
S();
|
|
31995
|
+
return;
|
|
31996
|
+
}
|
|
31997
|
+
v(), c.current = window.setTimeout(() => E(n2, i2), TOOLTIP_DELAY_MS);
|
|
31998
|
+
}, t[11] = S, t[12] = a, t[13] = z) : z = t[13];
|
|
31999
|
+
let U = useEvent_default(z), K;
|
|
32000
|
+
t[14] === S ? K = t[15] : (K = () => S(), t[14] = S, t[15] = K);
|
|
32001
|
+
let q = useEvent_default(K), J;
|
|
32002
|
+
t[16] === a ? J = t[17] : (J = (e2, t2) => {
|
|
32003
|
+
if (v(), h.current) return;
|
|
32004
|
+
let n2 = computeCellTooltipContent(t2, a);
|
|
32005
|
+
n2 == null || n2 === "" || E(e2.currentTarget, n2);
|
|
32006
|
+
}, t[16] = a, t[17] = J);
|
|
32007
|
+
let Q = useEvent_default(J), GK;
|
|
32008
|
+
t[18] === S ? GK = t[19] : (GK = () => S(), t[18] = S, t[19] = GK);
|
|
32009
|
+
let KK = useEvent_default(GK), qK, JK;
|
|
32010
|
+
t[20] === S ? (qK = t[21], JK = t[22]) : (qK = () => (window.addEventListener("scroll", S, {
|
|
32011
|
+
passive: true,
|
|
32012
|
+
capture: true
|
|
32013
|
+
}), window.addEventListener("resize", S), () => {
|
|
32014
|
+
window.removeEventListener("scroll", S, {
|
|
32015
|
+
capture: true
|
|
32016
|
+
}), window.removeEventListener("resize", S);
|
|
32017
|
+
}), JK = [
|
|
32018
|
+
S
|
|
32019
|
+
], t[20] = S, t[21] = qK, t[22] = JK), (0, import_react.useEffect)(qK, JK);
|
|
32020
|
+
let $, YK;
|
|
32021
|
+
t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($ = () => v, YK = [], t[23] = $, t[24] = YK) : ($ = t[23], YK = t[24]), (0, import_react.useEffect)($, YK);
|
|
32022
|
+
let XK;
|
|
32023
|
+
return t[25] !== KK || t[26] !== Q || t[27] !== q || t[28] !== U || t[29] !== S || t[30] !== d || t[31] !== o ? (XK = {
|
|
32024
|
+
tooltipState: o,
|
|
32025
|
+
tooltipContentId: d,
|
|
32026
|
+
hideTooltip: S,
|
|
32027
|
+
handleCellMouseOver: U,
|
|
32028
|
+
handleCellMouseLeave: q,
|
|
32029
|
+
handleCellFocus: Q,
|
|
32030
|
+
handleCellBlur: KK
|
|
32031
|
+
}, t[25] = KK, t[26] = Q, t[27] = q, t[28] = U, t[29] = S, t[30] = d, t[31] = o, t[32] = XK) : XK = t[32], XK;
|
|
32032
|
+
}
|
|
31868
32033
|
var import_compiler_runtime$16 = require_compiler_runtime();
|
|
31869
32034
|
const CellRangeSelectionIndicator = (0, import_react.memo)((e) => {
|
|
31870
32035
|
let t = (0, import_compiler_runtime$16.c)(9), { cellId: n, className: i } = e, o;
|
|
@@ -32059,34 +32224,27 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
32059
32224
|
table: e
|
|
32060
32225
|
}), O = (0, import_react.useRef)(null), A = useEvent_default((e2) => {
|
|
32061
32226
|
O.current = e2;
|
|
32062
|
-
})
|
|
32063
|
-
|
|
32064
|
-
|
|
32065
|
-
|
|
32066
|
-
|
|
32067
|
-
value: e3.getValue(),
|
|
32068
|
-
nullAsEmptyString: true
|
|
32069
|
-
});
|
|
32070
|
-
i2.set(e3.column.id, t3);
|
|
32071
|
-
}
|
|
32072
|
-
return e2.replaceAll(n2, (e3, t3) => {
|
|
32073
|
-
let n3 = i2.get(t3);
|
|
32074
|
-
return n3 === void 0 ? `{{${t3}}}` : n3;
|
|
32075
|
-
});
|
|
32076
|
-
}
|
|
32077
|
-
let I = (e2) => e2.map((e3) => {
|
|
32078
|
-
var _a2, _b, _c, _d;
|
|
32079
|
-
let { className: t2, style: n2 } = getPinningStyles(e3.column), i2 = Object.assign({}, ((_a2 = e3.getUserStyling) == null ? void 0 : _a2.call(e3)) || {}, n2), o2 = ((_b = e3.getHoverTitle) == null ? void 0 : _b.call(e3)) ?? void 0;
|
|
32227
|
+
}), M = useTableHoverTooltip({
|
|
32228
|
+
table: e
|
|
32229
|
+
}), I = (e2) => e2.map((e3) => {
|
|
32230
|
+
var _a2, _b, _c;
|
|
32231
|
+
let { className: t2, style: n2 } = getPinningStyles(e3.column), i2 = Object.assign({}, ((_a2 = e3.getUserStyling) == null ? void 0 : _a2.call(e3)) || {}, n2);
|
|
32080
32232
|
return (0, import_react.createElement)(TableCell, {
|
|
32081
32233
|
tabIndex: 0,
|
|
32082
32234
|
...getCellDomProps(e3.id),
|
|
32083
32235
|
key: e3.id,
|
|
32084
|
-
className: cn("whitespace-pre truncate max-w-[300px] outline-hidden border-r border-r-border/75", e3.column.getColumnWrapping && ((
|
|
32236
|
+
className: cn("whitespace-pre truncate max-w-[300px] outline-hidden border-r border-r-border/75", e3.column.getColumnWrapping && ((_c = (_b = e3.column).getColumnWrapping) == null ? void 0 : _c.call(_b)) === "wrap" && "whitespace-pre-wrap min-w-[200px]", "px-1.5 py-[0.18rem]", t2),
|
|
32085
32237
|
style: i2,
|
|
32086
|
-
|
|
32087
|
-
|
|
32238
|
+
onMouseDown: (t3) => {
|
|
32239
|
+
v(t3, e3), M.hideTooltip();
|
|
32240
|
+
},
|
|
32088
32241
|
onMouseUp: y,
|
|
32089
|
-
onMouseOver: (t3) =>
|
|
32242
|
+
onMouseOver: (t3) => {
|
|
32243
|
+
S(t3, e3), M.handleCellMouseOver(t3, e3);
|
|
32244
|
+
},
|
|
32245
|
+
onMouseLeave: M.handleCellMouseLeave,
|
|
32246
|
+
onFocus: (t3) => M.handleCellFocus(t3, e3),
|
|
32247
|
+
onBlur: M.handleCellBlur,
|
|
32090
32248
|
onContextMenu: () => A(e3)
|
|
32091
32249
|
}, (0, import_jsx_runtime.jsx)(CellRangeSelectionIndicator, {
|
|
32092
32250
|
cellId: e3.id
|
|
@@ -32100,16 +32258,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
32100
32258
|
let t2 = (i == null ? void 0 : i(e2.original, e2.index)) ?? e2.index;
|
|
32101
32259
|
(_a2 = e2.focusRow) == null ? void 0 : _a2.call(e2, t2);
|
|
32102
32260
|
}
|
|
32103
|
-
}, U =
|
|
32104
|
-
|
|
32105
|
-
|
|
32106
|
-
return U && (d2 = M(U, ((_a2 = e2.getVisibleCells) == null ? void 0 : _a2.call(e2)) ?? [
|
|
32107
|
-
...e2.getLeftVisibleCells(),
|
|
32108
|
-
...e2.getCenterVisibleCells(),
|
|
32109
|
-
...e2.getRightVisibleCells()
|
|
32110
|
-
])), (0, import_jsx_runtime.jsxs)(TableRow, {
|
|
32261
|
+
}, U = (e2) => {
|
|
32262
|
+
let s2 = n ? (i == null ? void 0 : i(e2.original, e2.index)) ?? e2.index : void 0, c2 = n && o === s2;
|
|
32263
|
+
return (0, import_jsx_runtime.jsxs)(TableRow, {
|
|
32111
32264
|
"data-state": e2.getIsSelected() && "selected",
|
|
32112
|
-
title: d2,
|
|
32113
32265
|
className: cn("border-t h-6", n && "cursor-pointer", c2 && "bg-(--blue-3) hover:bg-(--blue-3) data-[state=selected]:bg-(--blue-4)"),
|
|
32114
32266
|
onClick: () => z(e2),
|
|
32115
32267
|
children: [
|
|
@@ -32123,52 +32275,61 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
32123
32275
|
})
|
|
32124
32276
|
]
|
|
32125
32277
|
}, e2.id);
|
|
32126
|
-
},
|
|
32127
|
-
return (0, import_jsx_runtime.
|
|
32128
|
-
|
|
32129
|
-
|
|
32130
|
-
|
|
32131
|
-
|
|
32132
|
-
|
|
32133
|
-
|
|
32134
|
-
|
|
32135
|
-
|
|
32136
|
-
|
|
32137
|
-
|
|
32138
|
-
|
|
32139
|
-
|
|
32140
|
-
if (s) {
|
|
32141
|
-
let e2 = _.getVirtualItems(), t2 = _.getTotalSize();
|
|
32142
|
-
return (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
32143
|
-
children: [
|
|
32144
|
-
((_a2 = e2[0]) == null ? void 0 : _a2.start) > 0 && (0, import_jsx_runtime.jsx)("tr", {
|
|
32145
|
-
"data-virtual-spacer": "",
|
|
32146
|
-
style: {
|
|
32147
|
-
height: e2[0].start
|
|
32148
|
-
},
|
|
32149
|
-
children: (0, import_jsx_runtime.jsx)("td", {
|
|
32150
|
-
colSpan: J
|
|
32151
|
-
})
|
|
32152
|
-
}),
|
|
32153
|
-
e2.map((e3) => K(c[e3.index])),
|
|
32154
|
-
e2.length > 0 && (0, import_jsx_runtime.jsx)("tr", {
|
|
32155
|
-
"data-virtual-spacer": "",
|
|
32156
|
-
style: {
|
|
32157
|
-
height: t2 - (((_b = e2.at(-1)) == null ? void 0 : _b.end) ?? t2)
|
|
32158
|
-
},
|
|
32159
|
-
children: (0, import_jsx_runtime.jsx)("td", {
|
|
32160
|
-
colSpan: J
|
|
32161
|
-
})
|
|
32278
|
+
}, K = t.length <= 4, q = t.length + (K ? 1 : 0);
|
|
32279
|
+
return (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
32280
|
+
children: [
|
|
32281
|
+
(0, import_jsx_runtime.jsx)(DataTableContextMenu, {
|
|
32282
|
+
tableBody: (0, import_jsx_runtime.jsx)(TableBody, {
|
|
32283
|
+
onKeyDown: w,
|
|
32284
|
+
ref: h,
|
|
32285
|
+
children: (() => {
|
|
32286
|
+
var _a2, _b;
|
|
32287
|
+
if (c.length === 0) return (0, import_jsx_runtime.jsx)(TableRow, {
|
|
32288
|
+
children: (0, import_jsx_runtime.jsx)(TableCell, {
|
|
32289
|
+
colSpan: q,
|
|
32290
|
+
className: "h-24 text-center",
|
|
32291
|
+
children: "No results."
|
|
32162
32292
|
})
|
|
32163
|
-
|
|
32164
|
-
|
|
32165
|
-
|
|
32166
|
-
|
|
32167
|
-
|
|
32168
|
-
|
|
32169
|
-
|
|
32170
|
-
|
|
32171
|
-
|
|
32293
|
+
});
|
|
32294
|
+
if (s) {
|
|
32295
|
+
let e2 = _.getVirtualItems(), t2 = _.getTotalSize();
|
|
32296
|
+
return (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
32297
|
+
children: [
|
|
32298
|
+
((_a2 = e2[0]) == null ? void 0 : _a2.start) > 0 && (0, import_jsx_runtime.jsx)("tr", {
|
|
32299
|
+
"data-virtual-spacer": "",
|
|
32300
|
+
style: {
|
|
32301
|
+
height: e2[0].start
|
|
32302
|
+
},
|
|
32303
|
+
children: (0, import_jsx_runtime.jsx)("td", {
|
|
32304
|
+
colSpan: q
|
|
32305
|
+
})
|
|
32306
|
+
}),
|
|
32307
|
+
e2.map((e3) => U(c[e3.index])),
|
|
32308
|
+
e2.length > 0 && (0, import_jsx_runtime.jsx)("tr", {
|
|
32309
|
+
"data-virtual-spacer": "",
|
|
32310
|
+
style: {
|
|
32311
|
+
height: t2 - (((_b = e2.at(-1)) == null ? void 0 : _b.end) ?? t2)
|
|
32312
|
+
},
|
|
32313
|
+
children: (0, import_jsx_runtime.jsx)("td", {
|
|
32314
|
+
colSpan: q
|
|
32315
|
+
})
|
|
32316
|
+
})
|
|
32317
|
+
]
|
|
32318
|
+
});
|
|
32319
|
+
}
|
|
32320
|
+
return c.map((e2) => U(e2));
|
|
32321
|
+
})()
|
|
32322
|
+
}),
|
|
32323
|
+
contextMenuRef: O,
|
|
32324
|
+
tableRef: h,
|
|
32325
|
+
copyAllCells: E
|
|
32326
|
+
}),
|
|
32327
|
+
(0, import_jsx_runtime.jsx)(HoverTooltip, {
|
|
32328
|
+
state: M.tooltipState,
|
|
32329
|
+
contentId: M.tooltipContentId,
|
|
32330
|
+
onClose: M.hideTooltip
|
|
32331
|
+
})
|
|
32332
|
+
]
|
|
32172
32333
|
});
|
|
32173
32334
|
};
|
|
32174
32335
|
function getPinningStyles(e) {
|
|
@@ -33080,7 +33241,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
33080
33241
|
filename: i2.filename
|
|
33081
33242
|
};
|
|
33082
33243
|
}, t[6] = e, t[7] = O);
|
|
33083
|
-
let A = O, M, I, z, U, K, q, J, Q,
|
|
33244
|
+
let A = O, M, I, z, U, K, q, J, Q, GK, KK, qK, JK, $;
|
|
33084
33245
|
if (t[8] !== S || t[9] !== c || t[10] !== n || t[11] !== A || t[12] !== d) {
|
|
33085
33246
|
let e2 = async (t2) => {
|
|
33086
33247
|
let n2 = labelForDownloadFormat(t2);
|
|
@@ -33146,10 +33307,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
33146
33307
|
content: d,
|
|
33147
33308
|
open: o2,
|
|
33148
33309
|
children: h
|
|
33149
|
-
}), t[32] = o2, t[33] = h, t[34] = d, t[35] = Q) : Q = t[35], M = DropdownMenuContent,
|
|
33310
|
+
}), t[32] = o2, t[33] = h, t[34] = d, t[35] = Q) : Q = t[35], M = DropdownMenuContent, GK = "bottom", KK = "print:hidden", t[36] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (qK = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
|
|
33150
33311
|
className: "text-xs text-muted-foreground",
|
|
33151
33312
|
children: "Download"
|
|
33152
|
-
}), t[36] =
|
|
33313
|
+
}), t[36] = qK) : qK = t[36], JK = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
|
|
33153
33314
|
onSelect: () => {
|
|
33154
33315
|
e2(t2.format);
|
|
33155
33316
|
},
|
|
@@ -33170,10 +33331,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
33170
33331
|
]
|
|
33171
33332
|
})
|
|
33172
33333
|
]
|
|
33173
|
-
}, t2.label)), t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
33334
|
+
}, t2.label)), t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($ = (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {}), z = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
|
|
33174
33335
|
className: "text-xs text-muted-foreground",
|
|
33175
33336
|
children: "Copy to clipboard"
|
|
33176
|
-
}), t[37] = z, t[38] =
|
|
33337
|
+
}), t[37] = z, t[38] = $) : (z = t[37], $ = t[38]), U = copyOptions.map((e3) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
|
|
33177
33338
|
onSelect: async () => {
|
|
33178
33339
|
try {
|
|
33179
33340
|
await a(e3.format);
|
|
@@ -33202,30 +33363,30 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
33202
33363
|
]
|
|
33203
33364
|
})
|
|
33204
33365
|
]
|
|
33205
|
-
}, 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] =
|
|
33206
|
-
} 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],
|
|
33207
|
-
let
|
|
33208
|
-
t[39] !== M || t[40] !== z || t[41] !== U || t[42] !==
|
|
33209
|
-
side:
|
|
33210
|
-
className:
|
|
33366
|
+
}, 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] = GK, t[22] = KK, t[23] = qK, t[24] = JK, t[25] = $;
|
|
33367
|
+
} 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], GK = t[21], KK = t[22], qK = t[23], JK = t[24], $ = t[25];
|
|
33368
|
+
let YK;
|
|
33369
|
+
t[39] !== M || t[40] !== z || t[41] !== U || t[42] !== GK || t[43] !== KK || t[44] !== qK || t[45] !== JK || t[46] !== $ ? (YK = (0, import_jsx_runtime.jsxs)(M, {
|
|
33370
|
+
side: GK,
|
|
33371
|
+
className: KK,
|
|
33211
33372
|
children: [
|
|
33212
|
-
|
|
33213
|
-
|
|
33214
|
-
|
|
33373
|
+
qK,
|
|
33374
|
+
JK,
|
|
33375
|
+
$,
|
|
33215
33376
|
z,
|
|
33216
33377
|
U
|
|
33217
33378
|
]
|
|
33218
|
-
}), t[39] = M, t[40] = z, t[41] = U, t[42] =
|
|
33219
|
-
let
|
|
33220
|
-
return t[48] !== I || t[49] !== K || t[50] !== q || t[51] !== J || t[52] !== Q || t[53] !==
|
|
33379
|
+
}), t[39] = M, t[40] = z, t[41] = U, t[42] = GK, t[43] = KK, t[44] = qK, t[45] = JK, t[46] = $, t[47] = YK) : YK = t[47];
|
|
33380
|
+
let XK;
|
|
33381
|
+
return t[48] !== I || t[49] !== K || t[50] !== q || t[51] !== J || t[52] !== Q || t[53] !== YK ? (XK = (0, import_jsx_runtime.jsxs)(I, {
|
|
33221
33382
|
modal: K,
|
|
33222
33383
|
open: q,
|
|
33223
33384
|
onOpenChange: J,
|
|
33224
33385
|
children: [
|
|
33225
33386
|
Q,
|
|
33226
|
-
|
|
33387
|
+
YK
|
|
33227
33388
|
]
|
|
33228
|
-
}), t[48] = I, t[49] = K, t[50] = q, t[51] = J, t[52] = Q, t[53] =
|
|
33389
|
+
}), t[48] = I, t[49] = K, t[50] = q, t[51] = J, t[52] = Q, t[53] = YK, t[54] = XK) : XK = t[54], XK;
|
|
33229
33390
|
};
|
|
33230
33391
|
function fetchJson(e) {
|
|
33231
33392
|
return fetchText(e).then(jsonParseWithSpecialChar);
|
|
@@ -33318,22 +33479,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
33318
33479
|
]
|
|
33319
33480
|
}) : null;
|
|
33320
33481
|
};
|
|
33321
|
-
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:
|
|
33322
|
-
let [
|
|
33482
|
+
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: GK, getRowIds: KK, enableSearch: qK = false, searchQuery: JK, onSearchQueryChange: $, showFilters: YK = false, filters: XK, onFiltersChange: ZK, calculateTopKRows: QK, reloading: $K, freezeColumnsLeft: eq, freezeColumnsRight: tq, hiddenColumns: nq, toggleDisplayHeader: rq, showChartBuilder: iq, isChartBuilderOpen: aq, showPageSizeSelector: oq, showTableExplorer: sq, togglePanel: cq, isPanelOpen: lq, isAnyPanelOpen: uq, viewedRowIdx: dq, onViewedRowChange: fq, renderTableExplorerPanel: pq }) => {
|
|
33483
|
+
let [mq, hq] = import_react.useState(false), { locale: gq } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: _q, setColumnPinning: vq } = useColumnPinning(eq, tq), { columnVisibility: yq, setColumnVisibility: bq } = useColumnVisibility(nq);
|
|
33323
33484
|
import_react.useEffect(() => {
|
|
33324
33485
|
let e2;
|
|
33325
|
-
return
|
|
33326
|
-
|
|
33327
|
-
}, 300) :
|
|
33486
|
+
return $K ? e2 = setTimeout(() => {
|
|
33487
|
+
hq(true);
|
|
33488
|
+
}, 300) : hq(false), () => {
|
|
33328
33489
|
e2 && clearTimeout(e2);
|
|
33329
33490
|
};
|
|
33330
33491
|
}, [
|
|
33331
|
-
|
|
33492
|
+
$K
|
|
33332
33493
|
]);
|
|
33333
|
-
function
|
|
33494
|
+
function xq(e2, t2) {
|
|
33334
33495
|
return z ? t2 + (q ? z.pageIndex * z.pageSize : 0) : t2;
|
|
33335
33496
|
}
|
|
33336
|
-
let
|
|
33497
|
+
let Sq = useReactTable({
|
|
33337
33498
|
_features: [
|
|
33338
33499
|
ColumnPinning,
|
|
33339
33500
|
ColumnWrappingFeature,
|
|
@@ -33357,11 +33518,11 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
33357
33518
|
getRowId: (e2, t2) => {
|
|
33358
33519
|
let n2 = getStableRowId(e2);
|
|
33359
33520
|
if (n2) return n2;
|
|
33360
|
-
let i2 =
|
|
33521
|
+
let i2 = xq(e2, t2);
|
|
33361
33522
|
return String(i2);
|
|
33362
33523
|
}
|
|
33363
33524
|
} : {},
|
|
33364
|
-
locale:
|
|
33525
|
+
locale: gq,
|
|
33365
33526
|
manualPagination: q,
|
|
33366
33527
|
getPaginationRowModel: getPaginationRowModel(),
|
|
33367
33528
|
...w ? {
|
|
@@ -33371,22 +33532,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
33371
33532
|
enableMultiSort: true,
|
|
33372
33533
|
getSortedRowModel: getSortedRowModel(),
|
|
33373
33534
|
manualFiltering: true,
|
|
33374
|
-
enableColumnFilters:
|
|
33535
|
+
enableColumnFilters: YK,
|
|
33375
33536
|
getFilteredRowModel: getFilteredRowModel(),
|
|
33376
|
-
onColumnFiltersChange:
|
|
33537
|
+
onColumnFiltersChange: ZK,
|
|
33377
33538
|
onRowSelectionChange: Q,
|
|
33378
|
-
onCellSelectionChange:
|
|
33539
|
+
onCellSelectionChange: GK,
|
|
33379
33540
|
enableCellSelection: c === "single-cell" || c === "multi-cell",
|
|
33380
33541
|
enableMultiCellSelection: c === "multi-cell",
|
|
33381
|
-
onColumnPinningChange:
|
|
33382
|
-
onColumnVisibilityChange:
|
|
33542
|
+
onColumnPinningChange: vq,
|
|
33543
|
+
onColumnVisibilityChange: bq,
|
|
33383
33544
|
enableFocusRow: true,
|
|
33384
|
-
onFocusRowChange:
|
|
33545
|
+
onFocusRowChange: fq,
|
|
33385
33546
|
state: {
|
|
33386
33547
|
...S ? {
|
|
33387
33548
|
sorting: S
|
|
33388
33549
|
} : {},
|
|
33389
|
-
columnFilters:
|
|
33550
|
+
columnFilters: XK,
|
|
33390
33551
|
...z ? {
|
|
33391
33552
|
pagination: z
|
|
33392
33553
|
} : J && !z ? {} : {
|
|
@@ -33397,59 +33558,59 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
33397
33558
|
},
|
|
33398
33559
|
rowSelection: E ?? {},
|
|
33399
33560
|
cellSelection: O ?? [],
|
|
33400
|
-
columnVisibility:
|
|
33561
|
+
columnVisibility: yq,
|
|
33401
33562
|
cellStyling: A,
|
|
33402
|
-
columnPinning:
|
|
33563
|
+
columnPinning: _q,
|
|
33403
33564
|
cellHoverTemplate: M,
|
|
33404
33565
|
cellHoverTexts: I ?? {}
|
|
33405
33566
|
}
|
|
33406
|
-
}),
|
|
33567
|
+
}), Cq = (lq == null ? void 0 : lq(PANEL_TYPES.ROW_VIEWER)) ?? false, wq = !J && o.length > 100, Tq = useScrollContainerHeight({
|
|
33407
33568
|
maxHeight: n,
|
|
33408
|
-
virtualize:
|
|
33409
|
-
}), [
|
|
33569
|
+
virtualize: wq
|
|
33570
|
+
}), [Eq, Dq] = import_react.useState(null), Oq = import_react.useMemo(() => ({
|
|
33410
33571
|
requestAddFilter: (e2) => {
|
|
33411
|
-
let t2 =
|
|
33412
|
-
t2 &&
|
|
33572
|
+
let t2 = Sq.getColumn(e2.columnId);
|
|
33573
|
+
t2 && Dq(buildEditorSnapshot(t2, {
|
|
33413
33574
|
operator: e2.operator
|
|
33414
33575
|
}));
|
|
33415
33576
|
}
|
|
33416
33577
|
}), [
|
|
33417
|
-
|
|
33418
|
-
]),
|
|
33578
|
+
Sq
|
|
33579
|
+
]), kq = getUserColumnVisibilityCounts(Sq), Aq = kq.total > 0 && kq.visible === 0;
|
|
33419
33580
|
return (0, import_jsx_runtime.jsx)(FilterEditorProvider, {
|
|
33420
|
-
value:
|
|
33581
|
+
value: Oq,
|
|
33421
33582
|
children: (0, import_jsx_runtime.jsxs)("div", {
|
|
33422
33583
|
className: cn(e, "flex flex-col space-y-1"),
|
|
33423
33584
|
children: [
|
|
33424
33585
|
(0, import_jsx_runtime.jsx)(FilterPills, {
|
|
33425
|
-
filters:
|
|
33426
|
-
table:
|
|
33427
|
-
calculateTopKRows:
|
|
33428
|
-
addFilterSnapshot:
|
|
33429
|
-
onAddFilterSnapshotChange:
|
|
33586
|
+
filters: XK,
|
|
33587
|
+
table: Sq,
|
|
33588
|
+
calculateTopKRows: QK,
|
|
33589
|
+
addFilterSnapshot: Eq,
|
|
33590
|
+
onAddFilterSnapshotChange: Dq
|
|
33430
33591
|
}),
|
|
33431
|
-
|
|
33592
|
+
pq == null ? void 0 : pq(Sq),
|
|
33432
33593
|
(0, import_jsx_runtime.jsx)(CellSelectionProvider, {
|
|
33433
33594
|
children: (0, import_jsx_runtime.jsxs)("div", {
|
|
33434
33595
|
part: "table-wrapper",
|
|
33435
33596
|
className: cn(t || "rounded-md border overflow-hidden"),
|
|
33436
33597
|
children: [
|
|
33437
33598
|
(0, import_jsx_runtime.jsx)(TableTopBar, {
|
|
33438
|
-
enableSearch:
|
|
33439
|
-
searchQuery:
|
|
33440
|
-
onSearchQueryChange:
|
|
33441
|
-
reloading:
|
|
33442
|
-
showChartBuilder:
|
|
33443
|
-
isChartBuilderOpen:
|
|
33444
|
-
toggleDisplayHeader:
|
|
33445
|
-
showTableExplorer:
|
|
33446
|
-
togglePanel:
|
|
33447
|
-
isAnyPanelOpen:
|
|
33599
|
+
enableSearch: qK,
|
|
33600
|
+
searchQuery: JK,
|
|
33601
|
+
onSearchQueryChange: $,
|
|
33602
|
+
reloading: $K,
|
|
33603
|
+
showChartBuilder: iq,
|
|
33604
|
+
isChartBuilderOpen: aq,
|
|
33605
|
+
toggleDisplayHeader: rq,
|
|
33606
|
+
showTableExplorer: sq,
|
|
33607
|
+
togglePanel: cq,
|
|
33608
|
+
isAnyPanelOpen: uq,
|
|
33448
33609
|
downloadAs: K,
|
|
33449
33610
|
sizeBytes: _,
|
|
33450
33611
|
sizeBytesIsLoading: v
|
|
33451
33612
|
}),
|
|
33452
|
-
|
|
33613
|
+
Aq && (0, import_jsx_runtime.jsxs)(Banner, {
|
|
33453
33614
|
className: "mb-1 mx-2 rounded flex items-center justify-between",
|
|
33454
33615
|
children: [
|
|
33455
33616
|
(0, import_jsx_runtime.jsx)("span", {
|
|
@@ -33458,26 +33619,26 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
33458
33619
|
(0, import_jsx_runtime.jsx)(Button, {
|
|
33459
33620
|
variant: "link",
|
|
33460
33621
|
size: "xs",
|
|
33461
|
-
onClick: () =>
|
|
33622
|
+
onClick: () => Sq.resetColumnVisibility(true),
|
|
33462
33623
|
children: "Unhide all"
|
|
33463
33624
|
})
|
|
33464
33625
|
]
|
|
33465
33626
|
}),
|
|
33466
33627
|
(0, import_jsx_runtime.jsxs)(Table, {
|
|
33467
33628
|
className: cn("relative", i.length <= 4 ? "w-auto" : "w-full"),
|
|
33468
|
-
ref:
|
|
33629
|
+
ref: Tq,
|
|
33469
33630
|
children: [
|
|
33470
|
-
|
|
33631
|
+
mq && (0, import_jsx_runtime.jsx)("thead", {
|
|
33471
33632
|
className: "absolute top-0 left-0 h-[3px] w-1/2 bg-primary animate-slide"
|
|
33472
33633
|
}),
|
|
33473
|
-
renderTableHeader(
|
|
33634
|
+
renderTableHeader(Sq, wq || !!n),
|
|
33474
33635
|
(0, import_jsx_runtime.jsx)(DataTableBody, {
|
|
33475
|
-
table:
|
|
33636
|
+
table: Sq,
|
|
33476
33637
|
columns: i,
|
|
33477
|
-
rowViewerPanelOpen:
|
|
33478
|
-
getRowIndex:
|
|
33479
|
-
viewedRowIdx:
|
|
33480
|
-
virtualize:
|
|
33638
|
+
rowViewerPanelOpen: Cq,
|
|
33639
|
+
getRowIndex: xq,
|
|
33640
|
+
viewedRowIdx: dq,
|
|
33641
|
+
virtualize: wq
|
|
33481
33642
|
})
|
|
33482
33643
|
]
|
|
33483
33644
|
}),
|
|
@@ -33488,11 +33649,11 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
33488
33649
|
pagination: J,
|
|
33489
33650
|
selection: c,
|
|
33490
33651
|
onRowSelectionChange: Q,
|
|
33491
|
-
table:
|
|
33492
|
-
getRowIds:
|
|
33493
|
-
showPageSizeSelector:
|
|
33494
|
-
tableLoading:
|
|
33495
|
-
togglePanel:
|
|
33652
|
+
table: Sq,
|
|
33653
|
+
getRowIds: KK,
|
|
33654
|
+
showPageSizeSelector: oq,
|
|
33655
|
+
tableLoading: $K,
|
|
33656
|
+
togglePanel: cq
|
|
33496
33657
|
})
|
|
33497
33658
|
]
|
|
33498
33659
|
})
|
|
@@ -33575,55 +33736,55 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
33575
33736
|
t[4] === i ? _ = t[5] : (_ = (_a2 = extractAllTracebackInfo(i)) == null ? void 0 : _a2.at(0), t[4] = i, t[5] = _);
|
|
33576
33737
|
let v = _, y;
|
|
33577
33738
|
t[6] !== a || t[7] !== v ? (y = v && v.kind === "cell" && !isWasm() && !isStaticNotebook() && a !== "__scratch__", t[6] = a, t[7] = v, t[8] = y) : y = t[8];
|
|
33578
|
-
let w = y,
|
|
33579
|
-
t[9] !== f || t[10] !== n ? (
|
|
33580
|
-
let
|
|
33581
|
-
t[12] !== d || t[13] !== n ? (
|
|
33739
|
+
let w = y, A;
|
|
33740
|
+
t[9] !== f || t[10] !== n ? (A = n && f && !isStaticNotebook(), t[9] = f, t[10] = n, t[11] = A) : A = t[11];
|
|
33741
|
+
let M = A, I = !isStaticNotebook(), [z, U] = (0, import_react.useState)(true), K;
|
|
33742
|
+
t[12] !== d || t[13] !== n ? (K = (e2) => {
|
|
33582
33743
|
n == null ? void 0 : n({
|
|
33583
33744
|
prompt: `My code gives the following error:
|
|
33584
33745
|
|
|
33585
33746
|
${d}`,
|
|
33586
33747
|
triggerImmediately: e2
|
|
33587
33748
|
});
|
|
33588
|
-
}, t[12] = d, t[13] = n, t[14] =
|
|
33589
|
-
let q =
|
|
33590
|
-
t[15] ===
|
|
33591
|
-
let Q =
|
|
33592
|
-
t[17] ===
|
|
33749
|
+
}, t[12] = d, t[13] = n, t[14] = K) : K = t[14];
|
|
33750
|
+
let q = K, J;
|
|
33751
|
+
t[15] === z ? J = t[16] : (J = () => U(!z), t[15] = z, t[16] = J);
|
|
33752
|
+
let Q = z ? "Collapse traceback" : "Expand traceback", GK;
|
|
33753
|
+
t[17] === z ? GK = t[18] : (GK = z ? (0, import_jsx_runtime.jsx)(ChevronDown, {
|
|
33593
33754
|
className: "h-3 w-3"
|
|
33594
33755
|
}) : (0, import_jsx_runtime.jsx)(ChevronRight, {
|
|
33595
33756
|
className: "h-3 w-3"
|
|
33596
|
-
}), t[17] =
|
|
33597
|
-
let
|
|
33598
|
-
t[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
33757
|
+
}), t[17] = z, t[18] = GK);
|
|
33758
|
+
let qK;
|
|
33759
|
+
t[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (qK = (0, import_jsx_runtime.jsx)("span", {
|
|
33599
33760
|
className: "text-[0.6875rem] uppercase tracking-wider",
|
|
33600
33761
|
children: "Traceback"
|
|
33601
|
-
}), t[19] =
|
|
33602
|
-
let
|
|
33603
|
-
t[20] !==
|
|
33762
|
+
}), t[19] = qK) : qK = t[19];
|
|
33763
|
+
let JK;
|
|
33764
|
+
t[20] !== z || t[21] !== J || t[22] !== Q || t[23] !== GK ? (JK = (0, import_jsx_runtime.jsxs)("button", {
|
|
33604
33765
|
type: "button",
|
|
33605
33766
|
onClick: J,
|
|
33606
|
-
"aria-expanded":
|
|
33767
|
+
"aria-expanded": z,
|
|
33607
33768
|
"aria-label": Q,
|
|
33608
33769
|
className: "self-start flex items-center gap-1 pt-2 text-muted-foreground/70 hover:text-muted-foreground transition-colors",
|
|
33609
33770
|
children: [
|
|
33610
|
-
|
|
33611
|
-
|
|
33771
|
+
GK,
|
|
33772
|
+
qK
|
|
33612
33773
|
]
|
|
33613
|
-
}), t[20] =
|
|
33614
|
-
let
|
|
33615
|
-
t[25] !== s || t[26] !==
|
|
33774
|
+
}), t[20] = z, t[21] = J, t[22] = Q, t[23] = GK, t[24] = JK) : JK = t[24];
|
|
33775
|
+
let $;
|
|
33776
|
+
t[25] !== s || t[26] !== z ? ($ = z && (0, import_jsx_runtime.jsx)("div", {
|
|
33616
33777
|
className: "text-muted-foreground pr-4 text-xs overflow-auto",
|
|
33617
33778
|
children: s
|
|
33618
|
-
}), t[25] = s, t[26] =
|
|
33619
|
-
let
|
|
33620
|
-
t[28] !== q || t[29] !==
|
|
33779
|
+
}), t[25] = s, t[26] = z, t[27] = $) : $ = t[27];
|
|
33780
|
+
let YK;
|
|
33781
|
+
t[28] !== q || t[29] !== M ? (YK = M && (0, import_jsx_runtime.jsx)(AIFixButton, {
|
|
33621
33782
|
tooltip: "Fix with AI",
|
|
33622
33783
|
openPrompt: () => q(false),
|
|
33623
33784
|
applyAutofix: () => q(true)
|
|
33624
|
-
}), t[28] = q, t[29] =
|
|
33625
|
-
let
|
|
33626
|
-
t[31] !== w || t[32] !== v ? (
|
|
33785
|
+
}), t[28] = q, t[29] = M, t[30] = YK) : YK = t[30];
|
|
33786
|
+
let XK;
|
|
33787
|
+
t[31] !== w || t[32] !== v ? (XK = w && (0, import_jsx_runtime.jsx)(Tooltip, {
|
|
33627
33788
|
content: "Attach pdb to the exception point.",
|
|
33628
33789
|
children: (0, import_jsx_runtime.jsxs)(Button, {
|
|
33629
33790
|
size: "xs",
|
|
@@ -33640,9 +33801,9 @@ ${d}`,
|
|
|
33640
33801
|
"Launch debugger"
|
|
33641
33802
|
]
|
|
33642
33803
|
})
|
|
33643
|
-
}), t[31] = w, t[32] = v, t[33] =
|
|
33644
|
-
let
|
|
33645
|
-
t[34] !== d || t[35] !== i ? (
|
|
33804
|
+
}), t[31] = w, t[32] = v, t[33] = XK) : XK = t[33];
|
|
33805
|
+
let ZK;
|
|
33806
|
+
t[34] !== d || t[35] !== i ? (ZK = I && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
|
|
33646
33807
|
children: [
|
|
33647
33808
|
(0, import_jsx_runtime.jsx)(DropdownMenuTrigger, {
|
|
33648
33809
|
asChild: true,
|
|
@@ -33710,25 +33871,25 @@ ${d}`,
|
|
|
33710
33871
|
]
|
|
33711
33872
|
})
|
|
33712
33873
|
]
|
|
33713
|
-
}), t[34] = d, t[35] = i, t[36] =
|
|
33714
|
-
let
|
|
33715
|
-
t[37] !==
|
|
33874
|
+
}), t[34] = d, t[35] = i, t[36] = ZK) : ZK = t[36];
|
|
33875
|
+
let QK;
|
|
33876
|
+
t[37] !== YK || t[38] !== XK || t[39] !== ZK ? (QK = (0, import_jsx_runtime.jsxs)("div", {
|
|
33716
33877
|
className: "flex gap-2",
|
|
33717
33878
|
children: [
|
|
33718
|
-
|
|
33719
|
-
|
|
33720
|
-
|
|
33879
|
+
YK,
|
|
33880
|
+
XK,
|
|
33881
|
+
ZK
|
|
33721
33882
|
]
|
|
33722
|
-
}), t[37] =
|
|
33723
|
-
let
|
|
33724
|
-
return t[41] !==
|
|
33883
|
+
}), t[37] = YK, t[38] = XK, t[39] = ZK, t[40] = QK) : QK = t[40];
|
|
33884
|
+
let $K;
|
|
33885
|
+
return t[41] !== JK || t[42] !== $ || t[43] !== QK ? ($K = (0, import_jsx_runtime.jsxs)("div", {
|
|
33725
33886
|
className: "flex flex-col gap-2 min-w-full w-fit",
|
|
33726
33887
|
children: [
|
|
33727
|
-
|
|
33728
|
-
|
|
33729
|
-
|
|
33888
|
+
JK,
|
|
33889
|
+
$,
|
|
33890
|
+
QK
|
|
33730
33891
|
]
|
|
33731
|
-
}), t[41] =
|
|
33892
|
+
}), t[41] = JK, t[42] = $, t[43] = QK, t[44] = $K) : $K = t[44], $K;
|
|
33732
33893
|
};
|
|
33733
33894
|
function lastLine(e) {
|
|
33734
33895
|
var _a2, _b;
|
|
@@ -35120,7 +35281,7 @@ ${d}`,
|
|
|
35120
35281
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
35121
35282
|
}
|
|
35122
35283
|
}
|
|
35123
|
-
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.10-
|
|
35284
|
+
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.10-dev20");
|
|
35124
35285
|
showCodeInRunModeAtom = atom(true);
|
|
35125
35286
|
atom(null);
|
|
35126
35287
|
var import_compiler_runtime = require_compiler_runtime();
|
|
@@ -35148,113 +35309,118 @@ ${d}`,
|
|
|
35148
35309
|
}
|
|
35149
35310
|
});
|
|
35150
35311
|
export {
|
|
35151
|
-
|
|
35152
|
-
|
|
35153
|
-
|
|
35154
|
-
|
|
35155
|
-
|
|
35156
|
-
|
|
35312
|
+
PanelGroup as $,
|
|
35313
|
+
Code as $t,
|
|
35314
|
+
ContextMenuTrigger as A,
|
|
35315
|
+
dateToLocalISOTime as At,
|
|
35316
|
+
CommandList as B,
|
|
35317
|
+
RenderTextWithLinks as Bt,
|
|
35157
35318
|
prettifyRowColumnCount as C,
|
|
35158
|
-
|
|
35159
|
-
|
|
35160
|
-
|
|
35161
|
-
|
|
35162
|
-
|
|
35163
|
-
|
|
35164
|
-
|
|
35165
|
-
|
|
35166
|
-
|
|
35167
|
-
|
|
35168
|
-
|
|
35169
|
-
|
|
35170
|
-
|
|
35171
|
-
|
|
35172
|
-
|
|
35173
|
-
|
|
35174
|
-
|
|
35175
|
-
|
|
35176
|
-
|
|
35177
|
-
|
|
35178
|
-
|
|
35179
|
-
|
|
35180
|
-
|
|
35181
|
-
|
|
35182
|
-
|
|
35183
|
-
|
|
35184
|
-
|
|
35185
|
-
|
|
35186
|
-
|
|
35187
|
-
|
|
35188
|
-
|
|
35319
|
+
TOO_MANY_ROWS as Ct,
|
|
35320
|
+
ContextMenuContent as D,
|
|
35321
|
+
Maps as Dt,
|
|
35322
|
+
ContextMenu as E,
|
|
35323
|
+
isNullishFilter as Et,
|
|
35324
|
+
ComboboxItem as F,
|
|
35325
|
+
ChartErrorState as Ft,
|
|
35326
|
+
contextAwarePanelOpen as G,
|
|
35327
|
+
$fae977aafc393c5c$export$6b862160d295c8e as Gt,
|
|
35328
|
+
smartMatch as H,
|
|
35329
|
+
HtmlOutput as Ht,
|
|
35330
|
+
Command as I,
|
|
35331
|
+
ChartInfoState as It,
|
|
35332
|
+
isCellAwareAtom as J,
|
|
35333
|
+
Funnel as Jt,
|
|
35334
|
+
contextAwarePanelOwner as K,
|
|
35335
|
+
TextWrap as Kt,
|
|
35336
|
+
CommandEmpty as L,
|
|
35337
|
+
ChartLoadingState as Lt,
|
|
35338
|
+
DatePicker as M,
|
|
35339
|
+
TabsContent as Mt,
|
|
35340
|
+
DateRangePicker as N,
|
|
35341
|
+
TabsList as Nt,
|
|
35342
|
+
ContextMenuItem as O,
|
|
35343
|
+
dateToLocalISODate as Ot,
|
|
35344
|
+
Combobox as P,
|
|
35345
|
+
TabsTrigger as Pt,
|
|
35346
|
+
Panel as Q,
|
|
35347
|
+
Download as Qt,
|
|
35348
|
+
CommandInput as R,
|
|
35349
|
+
LazyVegaEmbed as Rt,
|
|
35189
35350
|
downloadSizeLimitAtom as S,
|
|
35190
|
-
|
|
35351
|
+
SELECT_COLUMN_ID as St,
|
|
35191
35352
|
getColumnCountForDisplay as T,
|
|
35192
|
-
|
|
35193
|
-
|
|
35194
|
-
|
|
35195
|
-
|
|
35196
|
-
|
|
35197
|
-
|
|
35198
|
-
|
|
35199
|
-
|
|
35200
|
-
|
|
35201
|
-
|
|
35202
|
-
|
|
35203
|
-
|
|
35204
|
-
|
|
35353
|
+
getMimeValues as Tt,
|
|
35354
|
+
ContextAwarePanelItem as U,
|
|
35355
|
+
EmotionCacheProvider as Ut,
|
|
35356
|
+
CommandSeparator as V,
|
|
35357
|
+
Kbd as Vt,
|
|
35358
|
+
PANEL_TYPES as W,
|
|
35359
|
+
$fae977aafc393c5c$export$588937bcd60ade55 as Wt,
|
|
35360
|
+
slotsController as X,
|
|
35361
|
+
Expand as Xt,
|
|
35362
|
+
SlotNames as Y,
|
|
35363
|
+
EyeOff as Yt,
|
|
35364
|
+
Toggle as Z,
|
|
35365
|
+
Ellipsis as Zt,
|
|
35205
35366
|
downloadBlob as _,
|
|
35206
35367
|
__tla,
|
|
35207
|
-
|
|
35368
|
+
usePrevious as _t,
|
|
35208
35369
|
DEFAULT_SLIDE_TYPE as a,
|
|
35209
|
-
|
|
35370
|
+
ArrowDownWideNarrow as an,
|
|
35371
|
+
TableCell as at,
|
|
35210
35372
|
Progress as b,
|
|
35211
|
-
|
|
35373
|
+
loadTableData as bt,
|
|
35212
35374
|
Slide as c,
|
|
35213
|
-
|
|
35375
|
+
TableRow as ct,
|
|
35214
35376
|
JsonOutput as d,
|
|
35215
|
-
|
|
35216
|
-
|
|
35217
|
-
|
|
35377
|
+
inferFieldTypes as dt,
|
|
35378
|
+
ChevronsUpDown as en,
|
|
35379
|
+
PanelResizeHandle as et,
|
|
35218
35380
|
OutputArea as f,
|
|
35219
|
-
|
|
35381
|
+
renderCellValue as ft,
|
|
35220
35382
|
ADD_PRINTING_CLASS as g,
|
|
35221
|
-
|
|
35383
|
+
useIntersectionObserver as gt,
|
|
35222
35384
|
InstallPackageButton as h,
|
|
35223
|
-
|
|
35385
|
+
DelayMount as ht,
|
|
35224
35386
|
DEFAULT_DECK_TRANSITION as i,
|
|
35225
|
-
|
|
35226
|
-
|
|
35227
|
-
|
|
35228
|
-
|
|
35229
|
-
|
|
35387
|
+
ChevronLeft as in,
|
|
35388
|
+
TableBody as it,
|
|
35389
|
+
useInternalStateWithSync as j,
|
|
35390
|
+
Tabs as jt,
|
|
35391
|
+
ContextMenuSeparator as k,
|
|
35392
|
+
dateToLocalISODateTime as kt,
|
|
35230
35393
|
RadioGroup as l,
|
|
35231
|
-
|
|
35394
|
+
NAMELESS_COLUMN_PREFIX as lt,
|
|
35232
35395
|
DataTable as m,
|
|
35233
|
-
|
|
35396
|
+
ColumnChartSpecModel as mt,
|
|
35234
35397
|
marimoVersionAtom as n,
|
|
35235
|
-
|
|
35398
|
+
ChevronsLeft as nn,
|
|
35399
|
+
Provider$1 as nt,
|
|
35236
35400
|
SLIDE_TYPE_OPTIONS_BY_VALUE as o,
|
|
35237
|
-
|
|
35401
|
+
TableHead as ot,
|
|
35238
35402
|
OutputRenderer as p,
|
|
35239
|
-
|
|
35240
|
-
|
|
35241
|
-
|
|
35403
|
+
ColumnChartContext as pt,
|
|
35404
|
+
contextAwarePanelType as q,
|
|
35405
|
+
GripHorizontal as qt,
|
|
35242
35406
|
showCodeInRunModeAtom as r,
|
|
35243
|
-
|
|
35407
|
+
ChevronsDownUp as rn,
|
|
35408
|
+
Table as rt,
|
|
35244
35409
|
SlideSidebar as s,
|
|
35245
|
-
|
|
35410
|
+
TableHeader as st,
|
|
35246
35411
|
useNotebookCodeAvailable as t,
|
|
35247
|
-
|
|
35412
|
+
ChevronsRight as tn,
|
|
35413
|
+
Fill as tt,
|
|
35248
35414
|
RadioGroupItem as u,
|
|
35249
|
-
|
|
35415
|
+
generateColumns as ut,
|
|
35250
35416
|
downloadByURL as v,
|
|
35251
|
-
|
|
35417
|
+
getPageIndexForRow as vt,
|
|
35252
35418
|
prettifyRowCount as w,
|
|
35253
|
-
|
|
35419
|
+
toFieldTypes as wt,
|
|
35254
35420
|
Filenames as x,
|
|
35255
|
-
|
|
35421
|
+
INDEX_COLUMN_NAME as xt,
|
|
35256
35422
|
downloadHTMLAsImage as y,
|
|
35257
|
-
|
|
35258
|
-
|
|
35259
|
-
|
|
35423
|
+
loadTableAndRawData as yt,
|
|
35424
|
+
CommandItem as z,
|
|
35425
|
+
useOverflowDetection as zt
|
|
35260
35426
|
};
|