@marimo-team/islands 0.23.12-dev2 → 0.23.12-dev21
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-WqG-xX4l.js → ConnectedDataExplorerComponent-Du3_nUzI.js} +13 -13
- package/dist/{ErrorBoundary-BNx_OSVo.js → ErrorBoundary-DE6tzZf-.js} +2 -2
- package/dist/{any-language-editor-rPSlOll9.js → any-language-editor-DN1R-1KZ.js} +5 -5
- package/dist/{button-vQhauTmO.js → button-BacYv-bE.js} +7 -1
- package/dist/{capabilities-BEHzIS99.js → capabilities-D_4LYhSU.js} +1 -1
- package/dist/{chat-ui-k2kqhCv5.js → chat-ui-CsPewo4h.js} +16 -16
- package/dist/{check-nrzHDi45.js → check-C9OoNtR4.js} +1 -1
- package/dist/{code-visibility-DZ_6U5hT.js → code-visibility-DBnAQPtB.js} +664 -663
- package/dist/{copy-UhDed7D4.js → copy-COam1EG7.js} +2 -2
- package/dist/{dist-DYGLrbYQ.js → dist--2Bqjvs0.js} +2 -2
- package/dist/{error-banner-BHAkVFc2.js → error-banner-DFPfz_Qf.js} +2 -2
- package/dist/{esm-Bqu9AE2K.js → esm-M837UxV5.js} +1 -1
- package/dist/{extends-9Yl5BEcg.js → extends-9MVIxxRo.js} +4 -4
- package/dist/{formats-BV4bOfMI.js → formats-d6MhLuQ9.js} +4 -4
- package/dist/{glide-data-editor-BDTq6YUb.js → glide-data-editor-DkzAInWG.js} +9 -9
- package/dist/{html-to-image-C86pQALH.js → html-to-image-DXwLcQ6l.js} +95 -88
- package/dist/{input-AKkGXdyV.js → input-CbEz_aj_.js} +6 -6
- package/dist/{label-E3ZJXHu8.js → label-WfTSU8L4.js} +2 -2
- package/dist/{loader-YPuQvn1Y.js → loader-Boph2xIS.js} +1 -1
- package/dist/main.js +1753 -1626
- package/dist/{mermaid-QFAR9YgY.js → mermaid-CJW9vIyO.js} +5 -5
- package/dist/{process-output-nNw4OpSj.js → process-output-C6_e1pT_.js} +3 -3
- package/dist/{reveal-component-BxDb5eK0.js → reveal-component-DIzKQ1NS.js} +11 -11
- package/dist/{spec-B45_YCNI.js → spec-Bv-XlYiv.js} +4 -4
- package/dist/{strings-Cq2s9_EQ.js → strings-Dq_j3Rxw.js} +4 -4
- package/dist/style.css +2 -2
- package/dist/{swiper-component-BNa_4kh2.js → swiper-component-5HoSsPi1.js} +2 -2
- package/dist/{toDate-Do1xRzAo.js → toDate-D-l5s8nn.js} +3 -3
- package/dist/{tooltip-Bz3OAwrU.js → tooltip-Czds6Qr8.js} +3 -3
- package/dist/{types-D8gEGs4R.js → types-C2Ir191_.js} +1 -1
- package/dist/{useAsyncData-CL3o2p4i.js → useAsyncData-1Dhzjfwf.js} +1 -1
- package/dist/{useDateFormatter-BC6iSz9g.js → useDateFormatter-CMnRuVmN.js} +2 -2
- package/dist/{useDeepCompareMemoize-BPx2MuOK.js → useDeepCompareMemoize-CDWT3BDz.js} +1 -1
- package/dist/{useIframeCapabilities-C6Ta3EyP.js → useIframeCapabilities-DWIYvDh7.js} +1 -1
- package/dist/{useLifecycle-C3Ec71q0.js → useLifecycle-AHlswLw-.js} +3 -3
- package/dist/{useTheme-ZhT6uIu3.js → useTheme-BrYvK-_A.js} +2 -2
- package/dist/{vega-component-C3AWYGAL.js → vega-component-Pk6lyc_a.js} +10 -10
- package/dist/{zod-DXqkaI_w.js → zod-CijjQh4u.js} +1 -1
- package/package.json +3 -3
- package/src/components/ai/display-helpers.tsx +5 -5
- package/src/components/app-config/ai-config.tsx +5 -5
- package/src/components/app-config/mcp-config.tsx +3 -3
- package/src/components/chat/acp/agent-panel.tsx +3 -3
- package/src/components/chat/acp/blocks.tsx +36 -38
- package/src/components/chat/acp/common.tsx +12 -16
- package/src/components/chat/acp/scroll-to-bottom-button.tsx +1 -1
- package/src/components/chat/acp/session-tabs.tsx +2 -2
- package/src/components/chat/chat-history-popover.tsx +1 -1
- package/src/components/chat/chat-panel.tsx +47 -23
- package/src/components/data-table/TableBottomBar.tsx +4 -1
- package/src/components/data-table/columns.tsx +2 -2
- package/src/components/data-table/data-table.tsx +26 -17
- package/src/components/data-table/filter-pill-editor.tsx +1 -1
- package/src/components/dependency-graph/minimap-content.tsx +1 -1
- package/src/components/editor/RecoveryButton.tsx +1 -1
- package/src/components/editor/actions/pair-with-agent-modal.tsx +2 -2
- package/src/components/editor/actions/useNotebookActions.tsx +4 -4
- package/src/components/editor/ai/__tests__/completion-utils.test.ts +138 -2
- package/src/components/editor/ai/ai-completion-editor.tsx +1 -1
- package/src/components/editor/ai/completion-utils.ts +124 -21
- package/src/components/editor/cell/CreateCellButton.tsx +1 -1
- package/src/components/editor/chrome/panels/empty-state.tsx +1 -1
- package/src/components/editor/chrome/panels/outline/floating-outline.tsx +1 -1
- package/src/components/editor/chrome/wrapper/pending-ai-cells.tsx +1 -1
- package/src/components/editor/columns/cell-column.tsx +1 -1
- package/src/components/editor/columns/sortable-column.tsx +2 -2
- package/src/components/editor/output/MarimoErrorOutput.tsx +1 -1
- package/src/components/editor/output/TextOutput.tsx +2 -2
- package/src/components/home/components.tsx +4 -4
- package/src/components/icons/github.tsx +21 -0
- package/src/components/icons/youtube.tsx +21 -0
- package/src/components/slides/minimap.tsx +2 -2
- package/src/components/slides/reveal-component.tsx +1 -1
- package/src/components/storage/components.tsx +3 -7
- package/src/components/ui/alert.tsx +1 -1
- package/src/components/ui/command.tsx +2 -2
- package/src/components/ui/reorderable-list.tsx +1 -1
- package/src/components/ui/table.tsx +2 -5
- package/src/core/codemirror/go-to-definition/__tests__/commands.test.ts +67 -0
- package/src/core/codemirror/go-to-definition/__tests__/utils.test.ts +47 -0
- package/src/core/codemirror/go-to-definition/commands.ts +47 -30
- package/src/core/codemirror/go-to-definition/utils.ts +0 -1
- package/src/core/codemirror/language/languages/sql/renderers.tsx +60 -68
- package/src/core/codemirror/reactive-references/__tests__/analyzer.test.ts +54 -0
- package/src/core/codemirror/reactive-references/analyzer.ts +44 -35
- package/src/core/hotkeys/hotkeys.ts +1 -0
- package/src/core/islands/__tests__/bridge.test.ts +25 -0
- package/src/core/islands/__tests__/parse.test.ts +585 -1
- package/src/core/islands/__tests__/test-utils.tsx +10 -1
- package/src/core/islands/bridge.ts +6 -1
- package/src/core/islands/constants.ts +2 -0
- package/src/core/islands/parse.ts +293 -13
- package/src/plugins/impl/DataTablePlugin.tsx +20 -1
- package/src/plugins/impl/FileBrowserPlugin.tsx +165 -74
- package/src/plugins/impl/MatrixPlugin.tsx +2 -2
- package/src/plugins/impl/TabsPlugin.tsx +1 -1
- package/src/plugins/impl/__tests__/DataTablePlugin.test.tsx +141 -1
- package/src/plugins/impl/__tests__/FileBrowserPlugin.test.tsx +314 -0
- package/src/plugins/impl/anywidget/AnyWidgetPlugin.tsx +4 -1
- package/src/plugins/impl/anywidget/__tests__/AnyWidgetPlugin.test.tsx +34 -0
- package/src/plugins/impl/anywidget/__tests__/model.test.ts +19 -0
- package/src/plugins/impl/anywidget/model.ts +15 -0
- package/src/plugins/impl/matplotlib/matplotlib-renderer.ts +1 -1
- package/src/plugins/impl/mpl-interactive/MplInteractivePlugin.tsx +155 -98
- package/src/plugins/impl/mpl-interactive/__tests__/MplInteractivePlugin.test.tsx +154 -1
- package/src/plugins/impl/mpl-interactive/mpl-websocket-shim.ts +10 -0
|
@@ -2,39 +2,39 @@ var __defProp = Object.defineProperty;
|
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
4
|
import { s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
|
|
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-
|
|
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-BacYv-bE.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 { $t as extractAllTracebackInfo, A as ChevronRightIcon, An as Minus, At as goToCellLine, Bt as DATA_TYPE_ICON, C as AccordionContent, Ct as Checkbox, En as Trash2, Fn as Eye, Ft as adaptForLocalStorage, Hn as esm_default, I as base64ToUint8Array, In as ExternalLink, It as jotaiJsonStorage, M as PinLeftIcon, N as PinRightIcon, Nn as Info, Nt as useChromeActions, O as CheckIcon, Pn as FileText, Qt as elementContainsMarimoCellFile, R as extractBase64FromDataURL, Rt as PluralWord, S as Accordion, T as AccordionTrigger, Tn as Wrench, Un as import_lib, V as renderHTML, Vn as Braces, Vt as getDataTypeColor, X as notebookAtom, Yt as useRequestClient, _n as atomWithStorage, _t as DATA_CELL_ID, bn as Close$1, c as Popover, cn as HTMLCellId, d as PopoverTrigger, dt as viewStateAtom, en as getTracebackInfo, et as useCellActions, ft as outputIsLoading, g as getDatasourceContext, gt as sanitizeHtml, hn as jsonToMarkdown, j as DotFilledIcon, jn as LoaderCircle, kn as NotebookPen, l as PopoverClose, ln as SCRATCH_CELL_ID, lt as kioskModeAtom, m as useExpandedOutput, mn as jsonParseWithSpecialChar, n as Spinner, nt as useCellNames, ot as AnsiUp, q as getCellEditorView, qt as getRequestClient, r as MarkdownRenderer, rn as filenameAtom, sn as CellOutputId, t as toPng, tt as useCellIds, u as PopoverContent, ut as useInstallAllowed, vt as getCellDomProps, w as AccordionItem, yt as displayCellName, z as isDataURLString, zn as CircleX, __tla as __tla_0 } from "./html-to-image-
|
|
10
|
-
import { o as useSize, u as createLucideIcon } from "./dist
|
|
11
|
-
import { c as Calendar, i as createReducerAndAtoms, r as Badge } from "./useLifecycle-
|
|
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-
|
|
13
|
-
import { t as Check } from "./check-
|
|
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, S as assertNever, 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-
|
|
15
|
-
import { $ as $e93e671b31057976$export$b8473d3665f3a75a, $t as Item2$2, A as $ee014567cb39d3f0$export$ff05c3ac10437e03, At as $c87311424ea30a05$export$78551043582a6a98, B as $64fa3d84918910a7$export$4d86445c2cf5e3, Bt as $d4ee10de306f2510$export$e58f029f0fbfdb29, C as DropdownMenuTrigger, Ct as $b4b717babfbb907b$export$bebd5a1431fec25d, D as $a049562f99e7db0e$export$f9c6924e160136d1, Dt as $df56164dff5785e2$export$4338b53315abf666, E as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, Et as $8ae05eaa5c114e9c$export$7f54fc3180508a52, F as $01b77f81d0f07f68$export$75b6ee27786ba447, Ft as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, G as $64fa3d84918910a7$export$ef03459518577ad4, Gt as $bdb11010cef70236$export$b4cc09c592e8fdb8, H as $64fa3d84918910a7$export$c245e6201fed2f75, Ht as $431fbd86ca7dc216$export$b204af158042fbac, I as $01b77f81d0f07f68$export$b04be29aa201d4f5, It as $3ef42575df84b30b$export$9d1611c77c2fe928, J as marked, Jt as Anchor2, K as $64fa3d84918910a7$export$fabf2dc03a41866e, Kt as $bdb11010cef70236$export$f680877a34711e37, L as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Lt as $d4ee10de306f2510$export$4282f70798064fe0, M as $514c0188e459b4c0$export$9afb8bc826b033ea, Mt as $c87311424ea30a05$export$a11b0059900ceec8, N as $d2b4bc8c273e7be6$export$24d547caef80ccd1, Nt as $c87311424ea30a05$export$fedb369cb70207f1, O as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Ot as $313b98861ee5dd6c$export$d6875122194c7b44, P as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, Pt as $7215afc6de606d6b$export$de79e2c695e052f3, Q as $2baaea4c71418dea$export$294aa081a6c6f55d, Qt as Group, R as $64fa3d84918910a7$export$2881499e37b75b9a, Rt as $d4ee10de306f2510$export$b4f377a2b6254582, S as DropdownMenuSubTrigger, St as $b4b717babfbb907b$export$4c063cf1350e6fed, T as $3985021b0ad6602f$export$f5b8910cec6cf069, Tt as $e9faafb641e167db$export$90fc3a17d93f704c, U as $64fa3d84918910a7$export$c62b8e45d58ddad9, Ut as $431fbd86ca7dc216$export$f21a1ffae260145a, V as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, Vt as $f4e2df6bd15f8569$export$98658e8c59125e6a, W as $64fa3d84918910a7$export$df3a06d6289f983e, Wt as $ff5963eb1fccf552$export$e08e3b67e392101e, Xt as CheckboxItem, Yt as Arrow2, Z as $d2e8511e6f209edf$export$e908e06f4b8e3402, Zt as Content2$1, _ as DropdownMenuPortal, _t as $f6c31cce2adf654f$export$45712eceda6fad21, a as NumberField, an as Root3, at as $319e236875307eab$export$a9b970dcc4ae71a9, b as DropdownMenuSub, bt as $9446cca9a3875146$export$7d15b64cf5a3a4c4, c as prettyEngineeringNumber, cn as SubContent, ct as $6c7bd7858deea686$export$cd11ab140839f11d, dn as Item, dt as $6db58dc88e78b024$export$2f817fcdc4b89ae0, en as ItemIndicator, et as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, f as DropdownMenu, fn as Root$3, ft as $5b160d28a433310d$export$c17fa47878dc55b6, g as DropdownMenuLabel, gn as ChevronRight, gt as $507fabe10e71c6fb$export$630ff653c5ada6a9, h as DropdownMenuItem, hn as Circle, ht as $3ad3f6e1647bc98d$export$80f3e147d781571c, in as RadioItem, it as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, j as $514c0188e459b4c0$export$5f1af8db9871e1d6, jt as $c87311424ea30a05$export$9ac100e40613ea10, k as $ee014567cb39d3f0$export$f551688fc98f2e09, kt as $c87311424ea30a05$export$6446a186d09e379e, l as prettyNumber, ln as SubTrigger, lt as $fca6afa0e843324b$export$87b761675e8eaa10, mn as Search, mt as $9ab94262bd0047c7$export$420e68273165f4ec, nn as Portal, nt as $e5be200c675c3b3a$export$aca958c65c314e6c, on as Separator$1, ot as $f7dceffc5ad7768b$export$4e328f61c538687f, p as DropdownMenuContent, pn as createRovingFocusGroupScope, pt as $6179b936705e76d3$export$ae780daf29e6d456, qt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, r as Input, rn as RadioGroup$2, rt as $e5be200c675c3b3a$export$dad6ae84456c676a, s as maxFractionalDigits, sn as Sub, tn as Label$1, tt as $e5be200c675c3b3a$export$a763b9476acd3eb, u as prettyScientificNumber, un as createMenuScope, ut as $fca6afa0e843324b$export$f12b703ca79dfbb1, v as DropdownMenuSeparator, vt as _class_private_field_init, w as $3985021b0ad6602f$export$37fb8590cf2c088c, wt as $99facab73266f662$export$5add1d006293d136, x as DropdownMenuSubContent, xt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, yt as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, z as $64fa3d84918910a7$export$29f1550f4b0d4415, zt as $d4ee10de306f2510$export$cd4e5573fbe2b576 } from "./input-
|
|
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-
|
|
17
|
-
import { r as Plus, t as ErrorBoundary } from "./ErrorBoundary-
|
|
8
|
+
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-COam1EG7.js";
|
|
9
|
+
import { $t as extractAllTracebackInfo, A as ChevronRightIcon, An as Minus, At as goToCellLine, Bt as DATA_TYPE_ICON, C as AccordionContent, Ct as Checkbox, En as Trash2, Fn as Eye, Ft as adaptForLocalStorage, Hn as esm_default, I as base64ToUint8Array, In as ExternalLink, It as jotaiJsonStorage, M as PinLeftIcon, N as PinRightIcon, Nn as Info, Nt as useChromeActions, O as CheckIcon, Pn as FileText, Qt as elementContainsMarimoCellFile, R as extractBase64FromDataURL, Rt as PluralWord, S as Accordion, T as AccordionTrigger, Tn as Wrench, Un as import_lib, V as renderHTML, Vn as Braces, Vt as getDataTypeColor, X as notebookAtom, Yt as useRequestClient, _n as atomWithStorage, _t as DATA_CELL_ID, bn as Close$1, c as Popover, cn as HTMLCellId, d as PopoverTrigger, dt as viewStateAtom, en as getTracebackInfo, et as useCellActions, ft as outputIsLoading, g as getDatasourceContext, gt as sanitizeHtml, hn as jsonToMarkdown, j as DotFilledIcon, jn as LoaderCircle, kn as NotebookPen, l as PopoverClose, ln as SCRATCH_CELL_ID, lt as kioskModeAtom, m as useExpandedOutput, mn as jsonParseWithSpecialChar, n as Spinner, nt as useCellNames, ot as AnsiUp, q as getCellEditorView, qt as getRequestClient, r as MarkdownRenderer, rn as filenameAtom, sn as CellOutputId, t as toPng, tt as useCellIds, u as PopoverContent, ut as useInstallAllowed, vt as getCellDomProps, w as AccordionItem, yt as displayCellName, z as isDataURLString, zn as CircleX, __tla as __tla_0 } from "./html-to-image-DXwLcQ6l.js";
|
|
10
|
+
import { o as useSize, u as createLucideIcon } from "./dist--2Bqjvs0.js";
|
|
11
|
+
import { c as Calendar, i as createReducerAndAtoms, r as Badge } from "./useLifecycle-AHlswLw-.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-CMnRuVmN.js";
|
|
13
|
+
import { t as Check } from "./check-C9OoNtR4.js";
|
|
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, S as assertNever, 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-Dq_j3Rxw.js";
|
|
15
|
+
import { $ as $e93e671b31057976$export$b8473d3665f3a75a, $t as Item2$2, A as $ee014567cb39d3f0$export$ff05c3ac10437e03, At as $c87311424ea30a05$export$78551043582a6a98, B as $64fa3d84918910a7$export$4d86445c2cf5e3, Bt as $d4ee10de306f2510$export$e58f029f0fbfdb29, C as DropdownMenuTrigger, Ct as $b4b717babfbb907b$export$bebd5a1431fec25d, D as $a049562f99e7db0e$export$f9c6924e160136d1, Dt as $df56164dff5785e2$export$4338b53315abf666, E as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, Et as $8ae05eaa5c114e9c$export$7f54fc3180508a52, F as $01b77f81d0f07f68$export$75b6ee27786ba447, Ft as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, G as $64fa3d84918910a7$export$ef03459518577ad4, Gt as $bdb11010cef70236$export$b4cc09c592e8fdb8, H as $64fa3d84918910a7$export$c245e6201fed2f75, Ht as $431fbd86ca7dc216$export$b204af158042fbac, I as $01b77f81d0f07f68$export$b04be29aa201d4f5, It as $3ef42575df84b30b$export$9d1611c77c2fe928, J as marked, Jt as Anchor2, K as $64fa3d84918910a7$export$fabf2dc03a41866e, Kt as $bdb11010cef70236$export$f680877a34711e37, L as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Lt as $d4ee10de306f2510$export$4282f70798064fe0, M as $514c0188e459b4c0$export$9afb8bc826b033ea, Mt as $c87311424ea30a05$export$a11b0059900ceec8, N as $d2b4bc8c273e7be6$export$24d547caef80ccd1, Nt as $c87311424ea30a05$export$fedb369cb70207f1, O as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Ot as $313b98861ee5dd6c$export$d6875122194c7b44, P as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, Pt as $7215afc6de606d6b$export$de79e2c695e052f3, Q as $2baaea4c71418dea$export$294aa081a6c6f55d, Qt as Group, R as $64fa3d84918910a7$export$2881499e37b75b9a, Rt as $d4ee10de306f2510$export$b4f377a2b6254582, S as DropdownMenuSubTrigger, St as $b4b717babfbb907b$export$4c063cf1350e6fed, T as $3985021b0ad6602f$export$f5b8910cec6cf069, Tt as $e9faafb641e167db$export$90fc3a17d93f704c, U as $64fa3d84918910a7$export$c62b8e45d58ddad9, Ut as $431fbd86ca7dc216$export$f21a1ffae260145a, V as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, Vt as $f4e2df6bd15f8569$export$98658e8c59125e6a, W as $64fa3d84918910a7$export$df3a06d6289f983e, Wt as $ff5963eb1fccf552$export$e08e3b67e392101e, Xt as CheckboxItem, Yt as Arrow2, Z as $d2e8511e6f209edf$export$e908e06f4b8e3402, Zt as Content2$1, _ as DropdownMenuPortal, _t as $f6c31cce2adf654f$export$45712eceda6fad21, a as NumberField, an as Root3, at as $319e236875307eab$export$a9b970dcc4ae71a9, b as DropdownMenuSub, bt as $9446cca9a3875146$export$7d15b64cf5a3a4c4, c as prettyEngineeringNumber, cn as SubContent, ct as $6c7bd7858deea686$export$cd11ab140839f11d, dn as Item, dt as $6db58dc88e78b024$export$2f817fcdc4b89ae0, en as ItemIndicator, et as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, f as DropdownMenu, fn as Root$3, ft as $5b160d28a433310d$export$c17fa47878dc55b6, g as DropdownMenuLabel, gn as ChevronRight, gt as $507fabe10e71c6fb$export$630ff653c5ada6a9, h as DropdownMenuItem, hn as Circle, ht as $3ad3f6e1647bc98d$export$80f3e147d781571c, in as RadioItem, it as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, j as $514c0188e459b4c0$export$5f1af8db9871e1d6, jt as $c87311424ea30a05$export$9ac100e40613ea10, k as $ee014567cb39d3f0$export$f551688fc98f2e09, kt as $c87311424ea30a05$export$6446a186d09e379e, l as prettyNumber, ln as SubTrigger, lt as $fca6afa0e843324b$export$87b761675e8eaa10, mn as Search, mt as $9ab94262bd0047c7$export$420e68273165f4ec, nn as Portal, nt as $e5be200c675c3b3a$export$aca958c65c314e6c, on as Separator$1, ot as $f7dceffc5ad7768b$export$4e328f61c538687f, p as DropdownMenuContent, pn as createRovingFocusGroupScope, pt as $6179b936705e76d3$export$ae780daf29e6d456, qt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, r as Input, rn as RadioGroup$2, rt as $e5be200c675c3b3a$export$dad6ae84456c676a, s as maxFractionalDigits, sn as Sub, tn as Label$1, tt as $e5be200c675c3b3a$export$a763b9476acd3eb, u as prettyScientificNumber, un as createMenuScope, ut as $fca6afa0e843324b$export$f12b703ca79dfbb1, v as DropdownMenuSeparator, vt as _class_private_field_init, w as $3985021b0ad6602f$export$37fb8590cf2c088c, wt as $99facab73266f662$export$5add1d006293d136, x as DropdownMenuSubContent, xt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, yt as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, z as $64fa3d84918910a7$export$29f1550f4b0d4415, zt as $d4ee10de306f2510$export$cd4e5573fbe2b576 } from "./input-CbEz_aj_.js";
|
|
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-D-l5s8nn.js";
|
|
17
|
+
import { r as Plus, t as ErrorBoundary } from "./ErrorBoundary-DE6tzZf-.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 { Q as withSmartCollisionBoundary, Y as MAX_HEIGHT_OFFSET, Z as withFullScreenAsRoot, _t as createContextScope, dt as useId$2, et as StyleNamespace, ft as Presence, ht as composeEventHandlers, pt as useControllableState, ut as useCallbackRef, vt as Primitive$1 } from "./zod-
|
|
22
|
-
import { a as prettyError, c as Portal$1, l as Root$4, n as ErrorBanner, o as Content$1, s as Overlay, t as Banner } from "./error-banner-
|
|
23
|
-
import { a as TooltipRoot, n as TooltipContent, o as TooltipTrigger, r as TooltipPortal, t as Tooltip } from "./tooltip-
|
|
24
|
-
import { f as CopyClipboardIcon, t as _extends } from "./extends-
|
|
21
|
+
import { Q as withSmartCollisionBoundary, Y as MAX_HEIGHT_OFFSET, Z as withFullScreenAsRoot, _t as createContextScope, dt as useId$2, et as StyleNamespace, ft as Presence, ht as composeEventHandlers, pt as useControllableState, ut as useCallbackRef, vt as Primitive$1 } from "./zod-CijjQh4u.js";
|
|
22
|
+
import { a as prettyError, c as Portal$1, l as Root$4, n as ErrorBanner, o as Content$1, s as Overlay, t as Banner } from "./error-banner-DFPfz_Qf.js";
|
|
23
|
+
import { a as TooltipRoot, n as TooltipContent, o as TooltipTrigger, r as TooltipPortal, t as Tooltip } from "./tooltip-Czds6Qr8.js";
|
|
24
|
+
import { f as CopyClipboardIcon, t as _extends } from "./extends-9MVIxxRo.js";
|
|
25
25
|
import { r as KnownQueryParams } from "./constants-T20xxyNf.js";
|
|
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-
|
|
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-BrYvK-_A.js";
|
|
27
27
|
import { $ as EditorView } from "./dist-U4F-tbMs.js";
|
|
28
28
|
import { t as invariant } from "./invariant-wRzNXIsJ.js";
|
|
29
29
|
import { c as uniqueBy, t as Arrays } from "./arrays-sEtDRoG4.js";
|
|
30
30
|
import { n as once, t as memoizeLastValue } from "./once-DPuqGUeo.js";
|
|
31
31
|
import { a as parser } from "./dist-C_Y3oV3C.js";
|
|
32
|
-
import { a as isValid, i as AlertTitle, n as Alert, t as arrow } from "./formats-
|
|
32
|
+
import { a as isValid, i as AlertTitle, n as Alert, t as arrow } from "./formats-d6MhLuQ9.js";
|
|
33
33
|
import { n as memoize$1, t as isPropValid } from "./emotion-is-prop-valid.esm-DzSb5hsH.js";
|
|
34
34
|
import { n as formats } from "./vega-loader.browser-CZ-J8Py3.js";
|
|
35
|
-
import { a as getContainerWidth, n as vegaLoadData, r as createBatchedLoader, s as tooltipHandler, t as parseCsvData } from "./loader-
|
|
36
|
-
import { t as useIframeCapabilities } from "./useIframeCapabilities-
|
|
37
|
-
import { t as useAsyncData } from "./useAsyncData-
|
|
35
|
+
import { a as getContainerWidth, n as vegaLoadData, r as createBatchedLoader, s as tooltipHandler, t as parseCsvData } from "./loader-Boph2xIS.js";
|
|
36
|
+
import { t as useIframeCapabilities } from "./useIframeCapabilities-DWIYvDh7.js";
|
|
37
|
+
import { t as useAsyncData } from "./useAsyncData-1Dhzjfwf.js";
|
|
38
38
|
let contextAwarePanelOpen, $fae977aafc393c5c$export$6b862160d295c8e, prettifyRowCount, SELECT_COLUMN_ID, DatePicker, TabsContent, downloadSizeLimitAtom, DelayMount, ErrorState, loadTableAndRawData, EmptyState, getPageIndexForRow, ContextMenuSeparator, Maps, CommandEmpty, ChartLoadingState, Combobox, TabsTrigger, ContextMenuTrigger, dateToLocalISODate, CommandList, RenderTextWithLinks, CommandInput, LazyVegaEmbed, useInternalStateWithSync, dateToLocalISODateTime, ContextMenu, toFieldTypes, ContextMenuContent, getMimeValues, LoadingState, loadTableData, ContextMenuItem, isNullishFilter, PANEL_TYPES, $fae977aafc393c5c$export$588937bcd60ade55, useSelectList, dateToLocalISOTime, Filenames, ColumnChartSpecModel, ColumnPreviewContainer, usePrevious, ComboboxItem, ChartErrorState, DateRangePicker, TabsList, Command, ChartInfoState, smartMatch, HtmlOutput, CommandSeparator, Kbd, ContextAwarePanelItem, EmotionCacheProvider, ADD_PRINTING_CLASS, NAMELESS_COLUMN_PREFIX, DEFAULT_SLIDE_TYPE, Ellipsis, Toggle, downloadHTMLAsImage, renderCellValue, Slide, ChevronsUpDown, PanelResizeHandle, RadioGroupItem, ChevronsDownUp, Table, TextWrap, contextAwarePanelOwner, JsonOutput, ChevronLeft, TableBody, InstallPackageButton, TableRow, DataTable, TableHeader, DEFAULT_DECK_TRANSITION, Expand, slotsController, getColumnCountForDisplay, TOO_MANY_ROWS, prettifyRowColumnCount, INDEX_COLUMN_NAME, Switch, ChevronsRight, Fill, OutputRenderer, TableHead, marimoVersionAtom, Funnel, isCellAwareAtom, SLIDE_TYPE_OPTIONS_BY_VALUE, Download, Panel, OutputArea, ArrowDownWideNarrow, TableCell, CommandItem, useOverflowDetection, showCodeInRunModeAtom, EyeOff, SlotNames, SlideSidebar, Code, PanelGroup, useNotebookCodeAvailable, GripHorizontal, contextAwarePanelType, RadioGroup, ChevronsLeft, Provider$1, downloadBlob, generateColumns, ColumnName, useIntersectionObserver, Progress, ColumnChartContext, downloadByURL, inferFieldTypes, CompactChipRow, Tabs;
|
|
39
39
|
let __tla = Promise.all([
|
|
40
40
|
(() => {
|
|
@@ -2020,21 +2020,21 @@ Defaulting to \`null\`.`;
|
|
|
2020
2020
|
function $2f04cbc44ee30ce0$export$53a0910f038337bd(e, t, n = {}) {
|
|
2021
2021
|
let { block: i = "nearest", inline: a = "nearest" } = n;
|
|
2022
2022
|
if (e === t) return;
|
|
2023
|
-
let o = e.scrollTop, s = e.scrollLeft, c = t.getBoundingClientRect(), d = e.getBoundingClientRect(), f = window.getComputedStyle(t), h = window.getComputedStyle(e), _ = document.scrollingElement || document.documentElement, v = e === _ ? 0 : d.top, y = e === _ ? e.clientHeight : d.bottom, S = e === _ ? 0 : d.left, w = e === _ ? e.clientWidth : d.right, E = parseInt(f.scrollMarginTop, 10) || 0, O = parseInt(f.scrollMarginBottom, 10) || 0, A = parseInt(f.scrollMarginLeft, 10) || 0, M = parseInt(f.scrollMarginRight, 10) || 0, I = parseInt(h.scrollPaddingTop, 10) || 0, z = parseInt(h.scrollPaddingBottom, 10) || 0, U = parseInt(h.scrollPaddingLeft, 10) || 0, K = parseInt(h.scrollPaddingRight, 10) || 0, q = parseInt(h.borderTopWidth, 10) || 0, J = parseInt(h.borderBottomWidth, 10) || 0, Q = parseInt(h.borderLeftWidth, 10) || 0, $ = parseInt(h.borderRightWidth, 10) || 0,
|
|
2024
|
-
h.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ?
|
|
2025
|
-
let
|
|
2026
|
-
if (
|
|
2027
|
-
else if (
|
|
2028
|
-
else if (
|
|
2029
|
-
else if (
|
|
2030
|
-
let e2 =
|
|
2023
|
+
let o = e.scrollTop, s = e.scrollLeft, c = t.getBoundingClientRect(), d = e.getBoundingClientRect(), f = window.getComputedStyle(t), h = window.getComputedStyle(e), _ = document.scrollingElement || document.documentElement, v = e === _ ? 0 : d.top, y = e === _ ? e.clientHeight : d.bottom, S = e === _ ? 0 : d.left, w = e === _ ? e.clientWidth : d.right, E = parseInt(f.scrollMarginTop, 10) || 0, O = parseInt(f.scrollMarginBottom, 10) || 0, A = parseInt(f.scrollMarginLeft, 10) || 0, M = parseInt(f.scrollMarginRight, 10) || 0, I = parseInt(h.scrollPaddingTop, 10) || 0, z = parseInt(h.scrollPaddingBottom, 10) || 0, U = parseInt(h.scrollPaddingLeft, 10) || 0, K = parseInt(h.scrollPaddingRight, 10) || 0, q = parseInt(h.borderTopWidth, 10) || 0, J = parseInt(h.borderBottomWidth, 10) || 0, Q = parseInt(h.borderLeftWidth, 10) || 0, $ = parseInt(h.borderRightWidth, 10) || 0, Pq = c.top - E, Fq = c.bottom + O, Iq = c.left - A, Lq = c.right + M, Rq = e === _ ? 0 : Q + $, zq = e === _ ? 0 : q + J, Bq = e.offsetWidth - e.clientWidth - Rq, Vq = e.offsetHeight - e.clientHeight - zq, Hq = v + q + I, Uq = y - J - z - Vq, Wq = S + Q + U, Gq = w - $ - K;
|
|
2024
|
+
h.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ? Wq += Bq : Gq -= Bq;
|
|
2025
|
+
let Kq = Pq < Hq || Fq > Uq, qq = Iq < Wq || Lq > Gq;
|
|
2026
|
+
if (Kq && i === "start") o += Pq - Hq;
|
|
2027
|
+
else if (Kq && i === "center") o += (Pq + Fq) / 2 - (Hq + Uq) / 2;
|
|
2028
|
+
else if (Kq && i === "end") o += Fq - Uq;
|
|
2029
|
+
else if (Kq && i === "nearest") {
|
|
2030
|
+
let e2 = Pq - Hq, t2 = Fq - Uq;
|
|
2031
2031
|
o += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
|
|
2032
2032
|
}
|
|
2033
|
-
if (
|
|
2034
|
-
else if (
|
|
2035
|
-
else if (
|
|
2036
|
-
else if (
|
|
2037
|
-
let e2 =
|
|
2033
|
+
if (qq && a === "start") s += Iq - Wq;
|
|
2034
|
+
else if (qq && a === "center") s += (Iq + Lq) / 2 - (Wq + Gq) / 2;
|
|
2035
|
+
else if (qq && a === "end") s += Lq - Gq;
|
|
2036
|
+
else if (qq && a === "nearest") {
|
|
2037
|
+
let e2 = Iq - Wq, t2 = Lq - Gq;
|
|
2038
2038
|
s += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
|
|
2039
2039
|
}
|
|
2040
2040
|
e.scrollTo({
|
|
@@ -5144,23 +5144,23 @@ Defaulting to \`null\`.`;
|
|
|
5144
5144
|
}
|
|
5145
5145
|
let $ = "bottom";
|
|
5146
5146
|
A.axis === "top" ? A.placement === "top" ? $ = "top" : A.placement === "bottom" && ($ = "bottom") : A.crossAxis === "top" && (A.crossPlacement === "top" ? $ = "bottom" : A.crossPlacement === "bottom" && ($ = "top"));
|
|
5147
|
-
let
|
|
5148
|
-
q[I] +=
|
|
5149
|
-
let
|
|
5150
|
-
y && y <
|
|
5151
|
-
let
|
|
5152
|
-
|
|
5153
|
-
let
|
|
5154
|
-
x: U === "top" || U === "bottom" ?
|
|
5155
|
-
y: U === "left" || U === "right" ?
|
|
5147
|
+
let Pq = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f);
|
|
5148
|
+
q[I] += Pq;
|
|
5149
|
+
let Fq = $edcf132a9284368a$var$getMaxHeight(q, c, f, v, a, o, n.height, $, d, E, O);
|
|
5150
|
+
y && y < Fq && (Fq = y), n.height = Math.min(n.height, Fq), q = $edcf132a9284368a$var$computePosition(t, c, n, A, J, _, f, v, S, w, d), Pq = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f), q[I] += Pq;
|
|
5151
|
+
let Iq = {}, Lq = t[I] - q[I] - a[$edcf132a9284368a$var$AXIS[I]], Rq = Lq + 0.5 * t[z], zq = S / 2 + w, Bq = $edcf132a9284368a$var$AXIS[I] === "left" ? (a.left ?? 0) + (a.right ?? 0) : (a.top ?? 0) + (a.bottom ?? 0), Vq = n[z] - Bq - S / 2 - w;
|
|
5152
|
+
Iq[I] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(Rq, t[I] + S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]]), t[I] + t[z] - S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]])), zq, Vq), { placement: U, crossPlacement: K } = A, S ? Lq = Iq[I] : K === "right" ? Lq += t[z] : K === "center" && (Lq += t[z] / 2);
|
|
5153
|
+
let Hq = U === "left" || U === "top" ? n[M] : 0, Uq = {
|
|
5154
|
+
x: U === "top" || U === "bottom" ? Lq : Hq,
|
|
5155
|
+
y: U === "left" || U === "right" ? Lq : Hq
|
|
5156
5156
|
};
|
|
5157
5157
|
return {
|
|
5158
5158
|
position: q,
|
|
5159
|
-
maxHeight:
|
|
5160
|
-
arrowOffsetLeft:
|
|
5161
|
-
arrowOffsetTop:
|
|
5159
|
+
maxHeight: Fq,
|
|
5160
|
+
arrowOffsetLeft: Iq.left,
|
|
5161
|
+
arrowOffsetTop: Iq.top,
|
|
5162
5162
|
placement: U,
|
|
5163
|
-
triggerAnchorPoint:
|
|
5163
|
+
triggerAnchorPoint: Uq
|
|
5164
5164
|
};
|
|
5165
5165
|
}
|
|
5166
5166
|
function $edcf132a9284368a$export$b3ceb0cbf1056d98(e) {
|
|
@@ -7015,7 +7015,7 @@ Defaulting to \`null\`.`;
|
|
|
7015
7015
|
n,
|
|
7016
7016
|
h
|
|
7017
7017
|
]);
|
|
7018
|
-
let
|
|
7018
|
+
let Pq = $c87311424ea30a05$export$fedb369cb70207f1() || e.type === "timeZoneName" ? {
|
|
7019
7019
|
role: "textbox",
|
|
7020
7020
|
"aria-valuemax": null,
|
|
7021
7021
|
"aria-valuemin": null,
|
|
@@ -7025,8 +7025,8 @@ Defaulting to \`null\`.`;
|
|
|
7025
7025
|
e !== (0, import_react.useMemo)(() => t.segments.find((e2) => e2.isEditable), [
|
|
7026
7026
|
t.segments
|
|
7027
7027
|
]) && !t.isInvalid && (f = void 0);
|
|
7028
|
-
let
|
|
7029
|
-
"aria-label": `${
|
|
7028
|
+
let Fq = $bdb11010cef70236$export$f680877a34711e37(), Iq = !t.isDisabled && !t.isReadOnly && e.isEditable, Lq = e.type === "literal" ? "" : s.of(e.type), Rq = $313b98861ee5dd6c$export$d6875122194c7b44({
|
|
7029
|
+
"aria-label": `${Lq}${c ? `, ${c}` : ""}${d ? ", " : ""}`,
|
|
7030
7030
|
"aria-labelledby": d
|
|
7031
7031
|
});
|
|
7032
7032
|
if (e.type === "literal") return {
|
|
@@ -7034,32 +7034,32 @@ Defaulting to \`null\`.`;
|
|
|
7034
7034
|
"aria-hidden": true
|
|
7035
7035
|
}
|
|
7036
7036
|
};
|
|
7037
|
-
let
|
|
7037
|
+
let zq = {
|
|
7038
7038
|
caretColor: "transparent"
|
|
7039
7039
|
};
|
|
7040
7040
|
if (o === "rtl") {
|
|
7041
|
-
|
|
7041
|
+
zq.unicodeBidi = "embed";
|
|
7042
7042
|
let t2 = v[e.type];
|
|
7043
|
-
(t2 === "numeric" || t2 === "2-digit") && (
|
|
7043
|
+
(t2 === "numeric" || t2 === "2-digit") && (zq.direction = "ltr");
|
|
7044
7044
|
}
|
|
7045
7045
|
return {
|
|
7046
|
-
segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(w,
|
|
7047
|
-
id:
|
|
7048
|
-
...
|
|
7046
|
+
segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(w, Rq, {
|
|
7047
|
+
id: Fq,
|
|
7048
|
+
...Pq,
|
|
7049
7049
|
"aria-invalid": t.isInvalid ? "true" : void 0,
|
|
7050
7050
|
"aria-describedby": f,
|
|
7051
7051
|
"aria-readonly": t.isReadOnly || !e.isEditable ? "true" : void 0,
|
|
7052
7052
|
"data-placeholder": e.isPlaceholder || void 0,
|
|
7053
|
-
contentEditable:
|
|
7054
|
-
suppressContentEditableWarning:
|
|
7055
|
-
spellCheck:
|
|
7056
|
-
autoCorrect:
|
|
7057
|
-
enterKeyHint:
|
|
7058
|
-
inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !
|
|
7053
|
+
contentEditable: Iq,
|
|
7054
|
+
suppressContentEditableWarning: Iq,
|
|
7055
|
+
spellCheck: Iq ? "false" : void 0,
|
|
7056
|
+
autoCorrect: Iq ? "off" : void 0,
|
|
7057
|
+
enterKeyHint: Iq ? "next" : void 0,
|
|
7058
|
+
inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !Iq ? void 0 : "numeric",
|
|
7059
7059
|
tabIndex: t.isDisabled ? void 0 : 0,
|
|
7060
7060
|
onKeyDown: A,
|
|
7061
7061
|
onFocus: Q,
|
|
7062
|
-
style:
|
|
7062
|
+
style: zq,
|
|
7063
7063
|
onPointerDown(e2) {
|
|
7064
7064
|
e2.stopPropagation();
|
|
7065
7065
|
},
|
|
@@ -10302,12 +10302,12 @@ Defaulting to \`null\`.`;
|
|
|
10302
10302
|
e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(e2, (y == null ? void 0 : y.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec()), y && "hour" in y ? S(y.set(e2)) : S(e2);
|
|
10303
10303
|
}
|
|
10304
10304
|
}
|
|
10305
|
-
let
|
|
10305
|
+
let Pq = (0, import_react.useMemo)(() => w ? f && f(w) ? true : $f62d864046160412$export$eac50920cf2fd59a(w, s, c) : false, [
|
|
10306
10306
|
w,
|
|
10307
10307
|
f,
|
|
10308
10308
|
s,
|
|
10309
10309
|
c
|
|
10310
|
-
]),
|
|
10310
|
+
]), Fq = e.isInvalid || e.validationState === "invalid" || Pq, Iq = Fq ? "invalid" : null, Lq = (0, import_react.useMemo)(() => h === "visible" ? o : $131cf43a05231e1e$var$unitDuration(o), [
|
|
10311
10311
|
h,
|
|
10312
10312
|
o
|
|
10313
10313
|
]);
|
|
@@ -10324,8 +10324,8 @@ Defaulting to \`null\`.`;
|
|
|
10324
10324
|
maxValue: c,
|
|
10325
10325
|
focusedDate: O,
|
|
10326
10326
|
timeZone: E,
|
|
10327
|
-
validationState:
|
|
10328
|
-
isValueInvalid:
|
|
10327
|
+
validationState: Iq,
|
|
10328
|
+
isValueInvalid: Fq,
|
|
10329
10329
|
setFocusedDate(e2) {
|
|
10330
10330
|
Q(e2);
|
|
10331
10331
|
},
|
|
@@ -10350,12 +10350,12 @@ Defaulting to \`null\`.`;
|
|
|
10350
10350
|
}));
|
|
10351
10351
|
},
|
|
10352
10352
|
focusNextPage() {
|
|
10353
|
-
let e2 = M.add(
|
|
10354
|
-
A($f62d864046160412$export$4f5203c0d889109e(O.add(
|
|
10353
|
+
let e2 = M.add(Lq);
|
|
10354
|
+
A($f62d864046160412$export$4f5203c0d889109e(O.add(Lq), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, Lq, i, s, c), Lq, i));
|
|
10355
10355
|
},
|
|
10356
10356
|
focusPreviousPage() {
|
|
10357
|
-
let e2 = M.subtract(
|
|
10358
|
-
A($f62d864046160412$export$4f5203c0d889109e(O.subtract(
|
|
10357
|
+
let e2 = M.subtract(Lq);
|
|
10358
|
+
A($f62d864046160412$export$4f5203c0d889109e(O.subtract(Lq), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, Lq, i, s, c), Lq, i));
|
|
10359
10359
|
},
|
|
10360
10360
|
focusSectionStart() {
|
|
10361
10361
|
o.days ? Q(M) : o.weeks ? Q($14e0f24ef4ac5c92$export$42c81a444fbfb5d4(O, i)) : (o.months || o.years) && Q($14e0f24ef4ac5c92$export$a5a3b454ada2268e(O));
|
|
@@ -10492,13 +10492,13 @@ Defaulting to \`null\`.`;
|
|
|
10492
10492
|
end: $9a36b6ba2fb1a7c5$var$convertValue(e2.end, h == null ? void 0 : h.end)
|
|
10493
10493
|
}), q(null);
|
|
10494
10494
|
}
|
|
10495
|
-
}, [$,
|
|
10496
|
-
|
|
10495
|
+
}, [$, Pq] = (0, import_react.useState)(false), { isDateUnavailable: Fq } = e, Iq = (0, import_react.useMemo)(() => !h || v ? false : Fq && (Fq(h.start) || Fq(h.end)) ? true : $f62d864046160412$export$eac50920cf2fd59a(h.start, c, d) || $f62d864046160412$export$eac50920cf2fd59a(h.end, c, d), [
|
|
10496
|
+
Fq,
|
|
10497
10497
|
h,
|
|
10498
10498
|
v,
|
|
10499
10499
|
c,
|
|
10500
10500
|
d
|
|
10501
|
-
]),
|
|
10501
|
+
]), Lq = e.isInvalid || e.validationState === "invalid" || Iq, Rq = Lq ? "invalid" : null;
|
|
10502
10502
|
return {
|
|
10503
10503
|
...I,
|
|
10504
10504
|
value: h,
|
|
@@ -10506,8 +10506,8 @@ Defaulting to \`null\`.`;
|
|
|
10506
10506
|
anchorDate: v,
|
|
10507
10507
|
setAnchorDate: q,
|
|
10508
10508
|
highlightedRange: J,
|
|
10509
|
-
validationState:
|
|
10510
|
-
isValueInvalid:
|
|
10509
|
+
validationState: Rq,
|
|
10510
|
+
isValueInvalid: Lq,
|
|
10511
10511
|
selectFocusedDate() {
|
|
10512
10512
|
Q(I.focusedDate);
|
|
10513
10513
|
},
|
|
@@ -10523,7 +10523,7 @@ Defaulting to \`null\`.`;
|
|
|
10523
10523
|
return I.isInvalid(e2) || $f62d864046160412$export$eac50920cf2fd59a(e2, (_a2 = w.current) == null ? void 0 : _a2.start, (_b = w.current) == null ? void 0 : _b.end);
|
|
10524
10524
|
},
|
|
10525
10525
|
isDragging: $,
|
|
10526
|
-
setDragging:
|
|
10526
|
+
setDragging: Pq
|
|
10527
10527
|
};
|
|
10528
10528
|
}
|
|
10529
10529
|
function $9a36b6ba2fb1a7c5$var$makeRange(e, t) {
|
|
@@ -11710,7 +11710,7 @@ Defaulting to \`null\`.`;
|
|
|
11710
11710
|
_,
|
|
11711
11711
|
S,
|
|
11712
11712
|
v
|
|
11713
|
-
]),
|
|
11713
|
+
]), Pq = (0, import_react.useMemo)(() => {
|
|
11714
11714
|
let t2 = w === "h11" || w === "h12", n2 = [
|
|
11715
11715
|
"era",
|
|
11716
11716
|
"year",
|
|
@@ -11728,15 +11728,15 @@ Defaulting to \`null\`.`;
|
|
|
11728
11728
|
e.maxGranularity,
|
|
11729
11729
|
_,
|
|
11730
11730
|
w
|
|
11731
|
-
]), [
|
|
11732
|
-
(M !==
|
|
11733
|
-
let
|
|
11734
|
-
if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(
|
|
11731
|
+
]), [Fq, Iq] = (0, import_react.useState)(M), [Lq, Rq] = (0, import_react.useState)(S), [zq, Bq] = (0, import_react.useState)(w);
|
|
11732
|
+
(M !== Fq || w !== zq || !$14e0f24ef4ac5c92$export$dbc69fd56b53d5e(S, Lq)) && (I = new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M), Iq(M), Rq(S), Bq(w), z(I));
|
|
11733
|
+
let Vq = (t2) => {
|
|
11734
|
+
if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(Pq)) z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(null);
|
|
11735
11735
|
else if (!(t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef)) t2 = $11d87f3f76e88657$export$b4a036af3fc0b032(t2, (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec()), z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(t2);
|
|
11736
11736
|
else {
|
|
11737
|
-
if (t2.isComplete(
|
|
11737
|
+
if (t2.isComplete(Pq)) {
|
|
11738
11738
|
let e2 = t2.toValue(M ?? $);
|
|
11739
|
-
if (t2.validate(e2,
|
|
11739
|
+
if (t2.validate(e2, Pq)) {
|
|
11740
11740
|
let t3 = $11d87f3f76e88657$export$b4a036af3fc0b032(e2, (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
|
|
11741
11741
|
if (!E || t3.compare(E) !== 0) {
|
|
11742
11742
|
z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(t3);
|
|
@@ -11746,83 +11746,83 @@ Defaulting to \`null\`.`;
|
|
|
11746
11746
|
}
|
|
11747
11747
|
z(t2);
|
|
11748
11748
|
}
|
|
11749
|
-
},
|
|
11749
|
+
}, Hq = (0, import_react.useMemo)(() => I.toValue(M ?? $).toDate(y), [
|
|
11750
11750
|
I,
|
|
11751
11751
|
y,
|
|
11752
11752
|
M,
|
|
11753
11753
|
$
|
|
11754
|
-
]),
|
|
11755
|
-
|
|
11754
|
+
]), Uq = (0, import_react.useMemo)(() => $3c0fc76039f1c516$var$processSegments(Hq, I, J, Q, S, t, _), [
|
|
11755
|
+
Hq,
|
|
11756
11756
|
J,
|
|
11757
11757
|
Q,
|
|
11758
11758
|
I,
|
|
11759
11759
|
S,
|
|
11760
11760
|
t,
|
|
11761
11761
|
_
|
|
11762
|
-
]),
|
|
11763
|
-
|
|
11764
|
-
},
|
|
11762
|
+
]), Wq = (e2, t2) => {
|
|
11763
|
+
Vq(I.cycle(e2, t2, $, Pq));
|
|
11764
|
+
}, Gq = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$f18627323ab57ac0(E, c, d, f, K), [
|
|
11765
11765
|
E,
|
|
11766
11766
|
c,
|
|
11767
11767
|
d,
|
|
11768
11768
|
f,
|
|
11769
11769
|
K
|
|
11770
|
-
]),
|
|
11770
|
+
]), Kq = $e5be200c675c3b3a$export$fc1a364ae1f3ff10({
|
|
11771
11771
|
...e,
|
|
11772
11772
|
value: E,
|
|
11773
|
-
builtinValidation:
|
|
11774
|
-
}),
|
|
11773
|
+
builtinValidation: Gq
|
|
11774
|
+
}), qq = Kq.displayValidation.isInvalid, Jq = e.validationState || (qq ? "invalid" : null);
|
|
11775
11775
|
return {
|
|
11776
|
-
...
|
|
11776
|
+
...Kq,
|
|
11777
11777
|
value: M,
|
|
11778
11778
|
defaultValue: e.defaultValue ?? A,
|
|
11779
|
-
dateValue:
|
|
11779
|
+
dateValue: Hq,
|
|
11780
11780
|
calendar: S,
|
|
11781
|
-
setValue:
|
|
11782
|
-
segments:
|
|
11781
|
+
setValue: Vq,
|
|
11782
|
+
segments: Uq,
|
|
11783
11783
|
dateFormatter: J,
|
|
11784
|
-
validationState:
|
|
11785
|
-
isInvalid:
|
|
11784
|
+
validationState: Jq,
|
|
11785
|
+
isInvalid: qq,
|
|
11786
11786
|
granularity: _,
|
|
11787
11787
|
maxGranularity: e.maxGranularity ?? "year",
|
|
11788
11788
|
isDisabled: a,
|
|
11789
11789
|
isReadOnly: o,
|
|
11790
11790
|
isRequired: s,
|
|
11791
11791
|
increment(e2) {
|
|
11792
|
-
|
|
11792
|
+
Wq(e2, 1);
|
|
11793
11793
|
},
|
|
11794
11794
|
decrement(e2) {
|
|
11795
|
-
|
|
11795
|
+
Wq(e2, -1);
|
|
11796
11796
|
},
|
|
11797
11797
|
incrementPage(e2) {
|
|
11798
|
-
|
|
11798
|
+
Wq(e2, $3c0fc76039f1c516$var$PAGE_STEP[e2] || 1);
|
|
11799
11799
|
},
|
|
11800
11800
|
decrementPage(e2) {
|
|
11801
|
-
|
|
11801
|
+
Wq(e2, -($3c0fc76039f1c516$var$PAGE_STEP[e2] || 1));
|
|
11802
11802
|
},
|
|
11803
11803
|
incrementToMax(e2) {
|
|
11804
11804
|
let t2 = e2 === "hour" && w === "h12" ? 11 : I.getSegmentLimits(e2).maxValue;
|
|
11805
|
-
|
|
11805
|
+
Vq(I.set(e2, t2, $));
|
|
11806
11806
|
},
|
|
11807
11807
|
decrementToMin(e2) {
|
|
11808
11808
|
let t2 = e2 === "hour" && w === "h12" ? 12 : I.getSegmentLimits(e2).minValue;
|
|
11809
|
-
|
|
11809
|
+
Vq(I.set(e2, t2, $));
|
|
11810
11810
|
},
|
|
11811
11811
|
setSegment(e2, t2) {
|
|
11812
|
-
|
|
11812
|
+
Vq(I.set(e2, t2, $));
|
|
11813
11813
|
},
|
|
11814
11814
|
confirmPlaceholder() {
|
|
11815
|
-
if (!(e.isDisabled || e.isReadOnly) && I.isComplete(
|
|
11815
|
+
if (!(e.isDisabled || e.isReadOnly) && I.isComplete(Pq)) {
|
|
11816
11816
|
let e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(I.toValue(M ?? $), (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
|
|
11817
11817
|
(!E || e2.compare(E) !== 0) && O(e2), z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M));
|
|
11818
11818
|
}
|
|
11819
11819
|
},
|
|
11820
11820
|
clearSegment(e2) {
|
|
11821
11821
|
let t2 = I;
|
|
11822
|
-
e2 !== "timeZoneName" && e2 !== "literal" && (t2 = I.clear(e2)),
|
|
11822
|
+
e2 !== "timeZoneName" && e2 !== "literal" && (t2 = I.clear(e2)), Vq(t2);
|
|
11823
11823
|
},
|
|
11824
11824
|
formatValue(e2) {
|
|
11825
|
-
return M ? new $fb18d541ea1ad717$export$ad991b66133851cf(t, $35a22f14a1f04b11$export$7e319ea407e63bc0(e2, K)).format(
|
|
11825
|
+
return M ? new $fb18d541ea1ad717$export$ad991b66133851cf(t, $35a22f14a1f04b11$export$7e319ea407e63bc0(e2, K)).format(Hq) : "";
|
|
11826
11826
|
},
|
|
11827
11827
|
getDateFormatter(e2, t2) {
|
|
11828
11828
|
return new $fb18d541ea1ad717$export$ad991b66133851cf(e2, $35a22f14a1f04b11$export$7e319ea407e63bc0({}, {
|
|
@@ -11942,7 +11942,7 @@ Defaulting to \`null\`.`;
|
|
|
11942
11942
|
e.endName
|
|
11943
11943
|
]),
|
|
11944
11944
|
builtinValidation: J
|
|
11945
|
-
}), $ = Q.displayValidation.isInvalid,
|
|
11945
|
+
}), $ = Q.displayValidation.isInvalid, Pq = e.validationState || ($ ? "invalid" : null);
|
|
11946
11946
|
return {
|
|
11947
11947
|
...Q,
|
|
11948
11948
|
value: c,
|
|
@@ -11988,7 +11988,7 @@ Defaulting to \`null\`.`;
|
|
|
11988
11988
|
end: (w == null ? void 0 : w.end) || $35a22f14a1f04b11$export$c5221a78ef73c5e9(e.placeholderValue)
|
|
11989
11989
|
}), t.setOpen(n2);
|
|
11990
11990
|
},
|
|
11991
|
-
validationState:
|
|
11991
|
+
validationState: Pq,
|
|
11992
11992
|
isInvalid: $,
|
|
11993
11993
|
formatValue(t2, n2) {
|
|
11994
11994
|
if (!c || !c.start || !c.end) return null;
|
|
@@ -15860,33 +15860,33 @@ try {
|
|
|
15860
15860
|
}, f = import_react.createContext(void 0), h = () => import_react.useContext(f) || d, _ = {}, v = {};
|
|
15861
15861
|
function y(e2) {
|
|
15862
15862
|
var _a2, _b, _c, _d;
|
|
15863
|
-
let { children: d2, theme: h2, modeStorageKey: y2 = i, colorSchemeStorageKey: S2 = a, disableTransitionOnChange: w2 = o, storageManager: E, storageWindow: O = typeof window > "u" ? void 0 : window, documentNode: A = typeof document > "u" ? void 0 : document, colorSchemeNode: M = typeof document > "u" ? void 0 : document.documentElement, disableNestedContext: I = false, disableStyleSheetGeneration: z = false, defaultMode: U = "system", noSsr: K } = e2, q = import_react.useRef(false), J = useTheme$2(), Q = import_react.useContext(f), $ = !!Q && !I,
|
|
15863
|
+
let { children: d2, theme: h2, modeStorageKey: y2 = i, colorSchemeStorageKey: S2 = a, disableTransitionOnChange: w2 = o, storageManager: E, storageWindow: O = typeof window > "u" ? void 0 : window, documentNode: A = typeof document > "u" ? void 0 : document, colorSchemeNode: M = typeof document > "u" ? void 0 : document.documentElement, disableNestedContext: I = false, disableStyleSheetGeneration: z = false, defaultMode: U = "system", noSsr: K } = e2, q = import_react.useRef(false), J = useTheme$2(), Q = import_react.useContext(f), $ = !!Q && !I, Pq = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
|
|
15864
15864
|
h2
|
|
15865
|
-
]),
|
|
15866
|
-
|
|
15867
|
-
]),
|
|
15868
|
-
supportedColorSchemes:
|
|
15869
|
-
defaultLightColorScheme:
|
|
15870
|
-
defaultDarkColorScheme:
|
|
15865
|
+
]), Fq = Pq[t], Iq = Fq || Pq, { colorSchemes: Lq = _, components: Rq = v, cssVarPrefix: zq } = Iq, Bq = Object.keys(Lq).filter((e3) => !!Lq[e3]).join(","), Vq = import_react.useMemo(() => Bq.split(","), [
|
|
15866
|
+
Bq
|
|
15867
|
+
]), Hq = typeof s == "string" ? s : s.light, Uq = typeof s == "string" ? s : s.dark, { mode: Wq, setMode: Gq, systemMode: Kq, lightColorScheme: qq, darkColorScheme: Jq, colorScheme: Yq, setColorScheme: Xq } = useCurrentColorScheme({
|
|
15868
|
+
supportedColorSchemes: Vq,
|
|
15869
|
+
defaultLightColorScheme: Hq,
|
|
15870
|
+
defaultDarkColorScheme: Uq,
|
|
15871
15871
|
modeStorageKey: y2,
|
|
15872
15872
|
colorSchemeStorageKey: S2,
|
|
15873
|
-
defaultMode:
|
|
15873
|
+
defaultMode: Lq[Hq] && Lq[Uq] ? U : ((_b = (_a2 = Lq[Iq.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = Iq.palette) == null ? void 0 : _c.mode),
|
|
15874
15874
|
storageManager: E,
|
|
15875
15875
|
storageWindow: O,
|
|
15876
15876
|
noSsr: K
|
|
15877
|
-
}),
|
|
15878
|
-
$ && (
|
|
15879
|
-
let
|
|
15877
|
+
}), Zq = Wq, Qq = Yq;
|
|
15878
|
+
$ && (Zq = Q.mode, Qq = Q.colorScheme);
|
|
15879
|
+
let $q = import_react.useMemo(() => {
|
|
15880
15880
|
var _a3;
|
|
15881
|
-
let e3 =
|
|
15882
|
-
...
|
|
15883
|
-
components:
|
|
15884
|
-
colorSchemes:
|
|
15885
|
-
cssVarPrefix:
|
|
15881
|
+
let e3 = Qq || Iq.defaultColorScheme, t2 = ((_a3 = Iq.generateThemeVars) == null ? void 0 : _a3.call(Iq)) || Iq.vars, n2 = {
|
|
15882
|
+
...Iq,
|
|
15883
|
+
components: Rq,
|
|
15884
|
+
colorSchemes: Lq,
|
|
15885
|
+
cssVarPrefix: zq,
|
|
15886
15886
|
vars: t2
|
|
15887
15887
|
};
|
|
15888
15888
|
if (typeof n2.generateSpacing == "function" && (n2.spacing = n2.generateSpacing()), e3) {
|
|
15889
|
-
let t3 =
|
|
15889
|
+
let t3 = Lq[e3];
|
|
15890
15890
|
t3 && typeof t3 == "object" && Object.keys(t3).forEach((e4) => {
|
|
15891
15891
|
t3[e4] && typeof t3[e4] == "object" ? n2[e4] = {
|
|
15892
15892
|
...n2[e4],
|
|
@@ -15896,31 +15896,31 @@ try {
|
|
|
15896
15896
|
}
|
|
15897
15897
|
return c ? c(n2) : n2;
|
|
15898
15898
|
}, [
|
|
15899
|
+
Iq,
|
|
15900
|
+
Qq,
|
|
15899
15901
|
Rq,
|
|
15900
|
-
|
|
15901
|
-
|
|
15902
|
-
|
|
15903
|
-
Vq
|
|
15904
|
-
]), nJ = Rq.colorSchemeSelector;
|
|
15902
|
+
Lq,
|
|
15903
|
+
zq
|
|
15904
|
+
]), eJ = Iq.colorSchemeSelector;
|
|
15905
15905
|
useEnhancedEffect_default(() => {
|
|
15906
|
-
if (
|
|
15907
|
-
let e3 =
|
|
15908
|
-
if (e3 === "class" && (t2 = ".%s"), e3 === "data" && (t2 = "[data-%s]"), (e3 == null ? void 0 : e3.startsWith("data-")) && !e3.includes("%s") && (t2 = `[${e3}="%s"]`), t2.startsWith(".")) M.classList.remove(...
|
|
15906
|
+
if (Qq && M && eJ && eJ !== "media") {
|
|
15907
|
+
let e3 = eJ, t2 = eJ;
|
|
15908
|
+
if (e3 === "class" && (t2 = ".%s"), e3 === "data" && (t2 = "[data-%s]"), (e3 == null ? void 0 : e3.startsWith("data-")) && !e3.includes("%s") && (t2 = `[${e3}="%s"]`), t2.startsWith(".")) M.classList.remove(...Vq.map((e4) => t2.substring(1).replace("%s", e4))), M.classList.add(t2.substring(1).replace("%s", Qq));
|
|
15909
15909
|
else {
|
|
15910
|
-
let e4 = t2.replace("%s",
|
|
15910
|
+
let e4 = t2.replace("%s", Qq).match(/\[([^\]]+)\]/);
|
|
15911
15911
|
if (e4) {
|
|
15912
15912
|
let [t3, n2] = e4[1].split("=");
|
|
15913
|
-
n2 ||
|
|
15914
|
-
M.removeAttribute(t3.replace(
|
|
15913
|
+
n2 || Vq.forEach((e5) => {
|
|
15914
|
+
M.removeAttribute(t3.replace(Qq, e5));
|
|
15915
15915
|
}), M.setAttribute(t3, n2 ? n2.replace(/"|'/g, "") : "");
|
|
15916
|
-
} else M.setAttribute(t2,
|
|
15916
|
+
} else M.setAttribute(t2, Qq);
|
|
15917
15917
|
}
|
|
15918
15918
|
}
|
|
15919
15919
|
}, [
|
|
15920
|
+
Qq,
|
|
15920
15921
|
eJ,
|
|
15921
|
-
nJ,
|
|
15922
15922
|
M,
|
|
15923
|
-
|
|
15923
|
+
Vq
|
|
15924
15924
|
]), import_react.useEffect(() => {
|
|
15925
15925
|
let e3;
|
|
15926
15926
|
if (w2 && q.current && A) {
|
|
@@ -15933,48 +15933,48 @@ try {
|
|
|
15933
15933
|
clearTimeout(e3);
|
|
15934
15934
|
};
|
|
15935
15935
|
}, [
|
|
15936
|
-
|
|
15936
|
+
Qq,
|
|
15937
15937
|
w2,
|
|
15938
15938
|
A
|
|
15939
15939
|
]), import_react.useEffect(() => (q.current = true, () => {
|
|
15940
15940
|
q.current = false;
|
|
15941
15941
|
}), []);
|
|
15942
|
-
let
|
|
15943
|
-
allColorSchemes:
|
|
15944
|
-
colorScheme:
|
|
15945
|
-
darkColorScheme:
|
|
15946
|
-
lightColorScheme:
|
|
15947
|
-
mode:
|
|
15948
|
-
setColorScheme:
|
|
15949
|
-
setMode:
|
|
15950
|
-
systemMode:
|
|
15942
|
+
let tJ = import_react.useMemo(() => ({
|
|
15943
|
+
allColorSchemes: Vq,
|
|
15944
|
+
colorScheme: Qq,
|
|
15945
|
+
darkColorScheme: Jq,
|
|
15946
|
+
lightColorScheme: qq,
|
|
15947
|
+
mode: Zq,
|
|
15948
|
+
setColorScheme: Xq,
|
|
15949
|
+
setMode: Gq,
|
|
15950
|
+
systemMode: Kq
|
|
15951
15951
|
}), [
|
|
15952
|
-
|
|
15953
|
-
eJ,
|
|
15954
|
-
Xq,
|
|
15955
|
-
Yq,
|
|
15956
|
-
$q,
|
|
15952
|
+
Vq,
|
|
15957
15953
|
Qq,
|
|
15958
|
-
qq,
|
|
15959
15954
|
Jq,
|
|
15960
|
-
|
|
15961
|
-
|
|
15962
|
-
|
|
15963
|
-
|
|
15955
|
+
qq,
|
|
15956
|
+
Zq,
|
|
15957
|
+
Xq,
|
|
15958
|
+
Gq,
|
|
15959
|
+
Kq,
|
|
15960
|
+
$q.colorSchemeSelector
|
|
15961
|
+
]), nJ = true;
|
|
15962
|
+
(z || Iq.cssVariables === false || $ && (J == null ? void 0 : J.cssVarPrefix) === zq) && (nJ = false);
|
|
15963
|
+
let rJ = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
|
|
15964
15964
|
children: [
|
|
15965
15965
|
(0, import_jsx_runtime.jsx)(ThemeProvider_default, {
|
|
15966
|
-
themeId:
|
|
15967
|
-
theme:
|
|
15966
|
+
themeId: Fq ? t : void 0,
|
|
15967
|
+
theme: $q,
|
|
15968
15968
|
children: d2
|
|
15969
15969
|
}),
|
|
15970
|
-
|
|
15971
|
-
styles: ((_d =
|
|
15970
|
+
nJ && (0, import_jsx_runtime.jsx)(GlobalStyles$1, {
|
|
15971
|
+
styles: ((_d = $q.generateStyleSheets) == null ? void 0 : _d.call($q)) || []
|
|
15972
15972
|
})
|
|
15973
15973
|
]
|
|
15974
15974
|
});
|
|
15975
|
-
return $ ?
|
|
15976
|
-
value:
|
|
15977
|
-
children:
|
|
15975
|
+
return $ ? rJ : (0, import_jsx_runtime.jsx)(f.Provider, {
|
|
15976
|
+
value: tJ,
|
|
15977
|
+
children: rJ
|
|
15978
15978
|
});
|
|
15979
15979
|
}
|
|
15980
15980
|
let S = typeof s == "string" ? s : s.light, w = typeof s == "string" ? s : s.dark;
|
|
@@ -17474,10 +17474,10 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
17474
17474
|
let n = useDefaultProps({
|
|
17475
17475
|
props: e,
|
|
17476
17476
|
name: "MuiInputBase"
|
|
17477
|
-
}), { "aria-describedby": i, autoComplete: a, autoFocus: o, className: s, color: c, components: d = {}, componentsProps: f = {}, defaultValue: h, disabled: _, disableInjectingGlobalStyles: v, endAdornment: y, error: S, fullWidth: w = false, id: E, inputComponent: O = "input", inputProps: A = {}, inputRef: M, margin: I, maxRows: z, minRows: U, multiline: K = false, name: q, onBlur: J, onChange: Q, onClick: $, onFocus:
|
|
17478
|
-
}, []),
|
|
17477
|
+
}), { "aria-describedby": i, autoComplete: a, autoFocus: o, className: s, color: c, components: d = {}, componentsProps: f = {}, defaultValue: h, disabled: _, disableInjectingGlobalStyles: v, endAdornment: y, error: S, fullWidth: w = false, id: E, inputComponent: O = "input", inputProps: A = {}, inputRef: M, margin: I, maxRows: z, minRows: U, multiline: K = false, name: q, onBlur: J, onChange: Q, onClick: $, onFocus: Pq, onKeyDown: Fq, onKeyUp: Iq, placeholder: Lq, readOnly: Rq, renderSuffix: zq, rows: Bq, size: Vq, slotProps: Hq = {}, slots: Uq = {}, startAdornment: Wq, type: Gq = "text", value: Kq, ...qq } = n, Jq = A.value == null ? Kq : A.value, { current: Yq } = import_react.useRef(Jq != null), Xq = import_react.useRef(), Zq = import_react.useCallback((e2) => {
|
|
17478
|
+
}, []), Qq = useForkRef_default(Xq, M, A.ref, Zq), [$q, eJ] = import_react.useState(false), tJ = useFormControl(), nJ = formControlState({
|
|
17479
17479
|
props: n,
|
|
17480
|
-
muiFormControl:
|
|
17480
|
+
muiFormControl: tJ,
|
|
17481
17481
|
states: [
|
|
17482
17482
|
"color",
|
|
17483
17483
|
"disabled",
|
|
@@ -17488,145 +17488,145 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
17488
17488
|
"filled"
|
|
17489
17489
|
]
|
|
17490
17490
|
});
|
|
17491
|
-
|
|
17492
|
-
!
|
|
17491
|
+
nJ.focused = tJ ? tJ.focused : $q, import_react.useEffect(() => {
|
|
17492
|
+
!tJ && _ && $q && (eJ(false), J && J());
|
|
17493
17493
|
}, [
|
|
17494
|
-
rJ,
|
|
17495
|
-
_,
|
|
17496
17494
|
tJ,
|
|
17495
|
+
_,
|
|
17496
|
+
$q,
|
|
17497
17497
|
J
|
|
17498
17498
|
]);
|
|
17499
|
-
let
|
|
17500
|
-
isFilled(e2) ?
|
|
17499
|
+
let rJ = tJ && tJ.onFilled, iJ = tJ && tJ.onEmpty, aJ = import_react.useCallback((e2) => {
|
|
17500
|
+
isFilled(e2) ? rJ && rJ() : iJ && iJ();
|
|
17501
17501
|
}, [
|
|
17502
|
-
|
|
17503
|
-
|
|
17502
|
+
rJ,
|
|
17503
|
+
iJ
|
|
17504
17504
|
]);
|
|
17505
17505
|
useEnhancedEffect_default$1(() => {
|
|
17506
|
-
|
|
17507
|
-
value:
|
|
17506
|
+
Yq && aJ({
|
|
17507
|
+
value: Jq
|
|
17508
17508
|
});
|
|
17509
17509
|
}, [
|
|
17510
|
-
|
|
17511
|
-
|
|
17512
|
-
|
|
17510
|
+
Jq,
|
|
17511
|
+
aJ,
|
|
17512
|
+
Yq
|
|
17513
17513
|
]);
|
|
17514
|
-
let
|
|
17515
|
-
|
|
17516
|
-
},
|
|
17517
|
-
J && J(e2), A.onBlur && A.onBlur(e2),
|
|
17518
|
-
},
|
|
17519
|
-
if (!
|
|
17520
|
-
let t3 = e2.target ||
|
|
17514
|
+
let oJ = (e2) => {
|
|
17515
|
+
Pq && Pq(e2), A.onFocus && A.onFocus(e2), tJ && tJ.onFocus ? tJ.onFocus(e2) : eJ(true);
|
|
17516
|
+
}, sJ = (e2) => {
|
|
17517
|
+
J && J(e2), A.onBlur && A.onBlur(e2), tJ && tJ.onBlur ? tJ.onBlur(e2) : eJ(false);
|
|
17518
|
+
}, cJ = (e2, ...t2) => {
|
|
17519
|
+
if (!Yq) {
|
|
17520
|
+
let t3 = e2.target || Xq.current;
|
|
17521
17521
|
if (t3 == null) throw Error(formatMuiErrorMessage(1));
|
|
17522
|
-
|
|
17522
|
+
aJ({
|
|
17523
17523
|
value: t3.value
|
|
17524
17524
|
});
|
|
17525
17525
|
}
|
|
17526
17526
|
A.onChange && A.onChange(e2, ...t2), Q && Q(e2, ...t2);
|
|
17527
17527
|
};
|
|
17528
17528
|
import_react.useEffect(() => {
|
|
17529
|
-
|
|
17529
|
+
aJ(Xq.current);
|
|
17530
17530
|
}, []);
|
|
17531
|
-
let
|
|
17532
|
-
|
|
17533
|
-
},
|
|
17534
|
-
K &&
|
|
17531
|
+
let lJ = (e2) => {
|
|
17532
|
+
Xq.current && e2.currentTarget === e2.target && Xq.current.focus(), $ && $(e2);
|
|
17533
|
+
}, uJ = O, dJ = A;
|
|
17534
|
+
K && uJ === "input" && (dJ = Bq ? {
|
|
17535
17535
|
type: void 0,
|
|
17536
|
-
minRows:
|
|
17537
|
-
maxRows:
|
|
17538
|
-
...
|
|
17536
|
+
minRows: Bq,
|
|
17537
|
+
maxRows: Bq,
|
|
17538
|
+
...dJ
|
|
17539
17539
|
} : {
|
|
17540
17540
|
type: void 0,
|
|
17541
17541
|
maxRows: z,
|
|
17542
17542
|
minRows: U,
|
|
17543
|
-
...
|
|
17544
|
-
},
|
|
17545
|
-
let
|
|
17546
|
-
|
|
17543
|
+
...dJ
|
|
17544
|
+
}, uJ = TextareaAutosize_default);
|
|
17545
|
+
let fJ = (e2) => {
|
|
17546
|
+
aJ(e2.animationName === "mui-auto-fill-cancel" ? Xq.current : {
|
|
17547
17547
|
value: "x"
|
|
17548
17548
|
});
|
|
17549
17549
|
};
|
|
17550
17550
|
import_react.useEffect(() => {
|
|
17551
|
-
|
|
17551
|
+
tJ && tJ.setAdornedStart(!!Wq);
|
|
17552
17552
|
}, [
|
|
17553
|
-
|
|
17554
|
-
|
|
17553
|
+
tJ,
|
|
17554
|
+
Wq
|
|
17555
17555
|
]);
|
|
17556
|
-
let
|
|
17556
|
+
let pJ = {
|
|
17557
17557
|
...n,
|
|
17558
|
-
color:
|
|
17559
|
-
disabled:
|
|
17558
|
+
color: nJ.color || "primary",
|
|
17559
|
+
disabled: nJ.disabled,
|
|
17560
17560
|
endAdornment: y,
|
|
17561
|
-
error:
|
|
17562
|
-
focused:
|
|
17563
|
-
formControl:
|
|
17561
|
+
error: nJ.error,
|
|
17562
|
+
focused: nJ.focused,
|
|
17563
|
+
formControl: tJ,
|
|
17564
17564
|
fullWidth: w,
|
|
17565
|
-
hiddenLabel:
|
|
17565
|
+
hiddenLabel: nJ.hiddenLabel,
|
|
17566
17566
|
multiline: K,
|
|
17567
|
-
size:
|
|
17568
|
-
startAdornment:
|
|
17569
|
-
type:
|
|
17570
|
-
},
|
|
17571
|
-
return
|
|
17572
|
-
...
|
|
17573
|
-
...
|
|
17567
|
+
size: nJ.size,
|
|
17568
|
+
startAdornment: Wq,
|
|
17569
|
+
type: Gq
|
|
17570
|
+
}, mJ = useUtilityClasses(pJ), hJ = Uq.root || d.Root || InputBaseRoot, gJ = Hq.root || f.root || {}, _J = Uq.input || d.Input || InputBaseInput;
|
|
17571
|
+
return dJ = {
|
|
17572
|
+
...dJ,
|
|
17573
|
+
...Hq.input ?? f.input
|
|
17574
17574
|
}, (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
|
|
17575
17575
|
children: [
|
|
17576
17576
|
!v && typeof InputGlobalStyles == "function" && (_InputGlobalStyles || (_InputGlobalStyles = (0, import_jsx_runtime.jsx)(InputGlobalStyles, {}))),
|
|
17577
|
-
(0, import_jsx_runtime.jsxs)(
|
|
17578
|
-
...
|
|
17577
|
+
(0, import_jsx_runtime.jsxs)(hJ, {
|
|
17578
|
+
...gJ,
|
|
17579
17579
|
ref: t,
|
|
17580
|
-
onClick:
|
|
17581
|
-
...
|
|
17582
|
-
...!isHostComponent_default(
|
|
17580
|
+
onClick: lJ,
|
|
17581
|
+
...qq,
|
|
17582
|
+
...!isHostComponent_default(hJ) && {
|
|
17583
17583
|
ownerState: {
|
|
17584
|
-
...
|
|
17585
|
-
...
|
|
17584
|
+
...pJ,
|
|
17585
|
+
...gJ.ownerState
|
|
17586
17586
|
}
|
|
17587
17587
|
},
|
|
17588
|
-
className: clsx_default(
|
|
17588
|
+
className: clsx_default(mJ.root, gJ.className, s, Rq && "MuiInputBase-readOnly"),
|
|
17589
17589
|
children: [
|
|
17590
|
-
|
|
17590
|
+
Wq,
|
|
17591
17591
|
(0, import_jsx_runtime.jsx)(FormControlContext_default.Provider, {
|
|
17592
17592
|
value: null,
|
|
17593
|
-
children: (0, import_jsx_runtime.jsx)(
|
|
17594
|
-
"aria-invalid":
|
|
17593
|
+
children: (0, import_jsx_runtime.jsx)(_J, {
|
|
17594
|
+
"aria-invalid": nJ.error,
|
|
17595
17595
|
"aria-describedby": i,
|
|
17596
17596
|
autoComplete: a,
|
|
17597
17597
|
autoFocus: o,
|
|
17598
17598
|
defaultValue: h,
|
|
17599
|
-
disabled:
|
|
17599
|
+
disabled: nJ.disabled,
|
|
17600
17600
|
id: E,
|
|
17601
|
-
onAnimationStart:
|
|
17601
|
+
onAnimationStart: fJ,
|
|
17602
17602
|
name: q,
|
|
17603
|
-
placeholder:
|
|
17604
|
-
readOnly:
|
|
17605
|
-
required:
|
|
17606
|
-
rows:
|
|
17607
|
-
value:
|
|
17608
|
-
onKeyDown:
|
|
17609
|
-
onKeyUp:
|
|
17610
|
-
type:
|
|
17611
|
-
...
|
|
17612
|
-
...!isHostComponent_default(
|
|
17613
|
-
as:
|
|
17603
|
+
placeholder: Lq,
|
|
17604
|
+
readOnly: Rq,
|
|
17605
|
+
required: nJ.required,
|
|
17606
|
+
rows: Bq,
|
|
17607
|
+
value: Jq,
|
|
17608
|
+
onKeyDown: Fq,
|
|
17609
|
+
onKeyUp: Iq,
|
|
17610
|
+
type: Gq,
|
|
17611
|
+
...dJ,
|
|
17612
|
+
...!isHostComponent_default(_J) && {
|
|
17613
|
+
as: uJ,
|
|
17614
17614
|
ownerState: {
|
|
17615
|
-
...
|
|
17616
|
-
...
|
|
17615
|
+
...pJ,
|
|
17616
|
+
...dJ.ownerState
|
|
17617
17617
|
}
|
|
17618
17618
|
},
|
|
17619
|
-
ref:
|
|
17620
|
-
className: clsx_default(
|
|
17621
|
-
onBlur:
|
|
17622
|
-
onChange:
|
|
17623
|
-
onFocus:
|
|
17619
|
+
ref: Qq,
|
|
17620
|
+
className: clsx_default(mJ.input, dJ.className, Rq && "MuiInputBase-readOnly"),
|
|
17621
|
+
onBlur: sJ,
|
|
17622
|
+
onChange: cJ,
|
|
17623
|
+
onFocus: oJ
|
|
17624
17624
|
})
|
|
17625
17625
|
}),
|
|
17626
17626
|
y,
|
|
17627
|
-
|
|
17628
|
-
...
|
|
17629
|
-
startAdornment:
|
|
17627
|
+
zq ? zq({
|
|
17628
|
+
...nJ,
|
|
17629
|
+
startAdornment: Wq
|
|
17630
17630
|
}) : null
|
|
17631
17631
|
]
|
|
17632
17632
|
})
|
|
@@ -18702,30 +18702,30 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18702
18702
|
M,
|
|
18703
18703
|
i,
|
|
18704
18704
|
a
|
|
18705
|
-
]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false), $ = useJsonViewerStore((e2) => e2.onChange),
|
|
18706
|
-
|
|
18705
|
+
]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false), $ = useJsonViewerStore((e2) => e2.onChange), Pq = useTextColor(), Fq = useJsonViewerStore((e2) => e2.colorspace.base0C), Iq = useJsonViewerStore((e2) => e2.colorspace.base0A), Lq = useJsonViewerStore((e2) => e2.displayComma), Rq = useJsonViewerStore((e2) => e2.quotesOnKeys), zq = useJsonViewerStore((e2) => e2.rootName), Bq = U === t, Vq = Number.isInteger(Number(A)), Hq = useJsonViewerStore((e2) => e2.enableAdd), Uq = useJsonViewerStore((e2) => e2.onAdd), Wq = (0, import_react.useMemo)(() => !Uq || a !== void 0 || Hq === false || v === false ? false : typeof Hq == "function" ? !!Hq(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
|
|
18706
|
+
Uq,
|
|
18707
18707
|
a,
|
|
18708
18708
|
i,
|
|
18709
|
-
|
|
18709
|
+
Hq,
|
|
18710
18710
|
v,
|
|
18711
18711
|
t
|
|
18712
|
-
]),
|
|
18713
|
-
|
|
18712
|
+
]), Gq = useJsonViewerStore((e2) => e2.enableDelete), Kq = useJsonViewerStore((e2) => e2.onDelete), qq = (0, import_react.useMemo)(() => !Kq || a !== void 0 || Bq || Gq === false || v === false ? false : typeof Gq == "function" ? !!Gq(i, t) : Gq, [
|
|
18713
|
+
Kq,
|
|
18714
18714
|
a,
|
|
18715
|
-
|
|
18715
|
+
Bq,
|
|
18716
18716
|
i,
|
|
18717
|
-
|
|
18717
|
+
Gq,
|
|
18718
18718
|
v,
|
|
18719
18719
|
t
|
|
18720
|
-
]),
|
|
18721
|
-
|
|
18720
|
+
]), Jq = useJsonViewerStore((e2) => e2.enableClipboard), { copy: Yq, copied: Xq } = useClipboard(), Zq = useJsonViewerStore((e2) => e2.highlightUpdates), Qq = (0, import_react.useMemo)(() => !Zq || n === void 0 ? false : typeof t == typeof n ? typeof t == "number" ? isNaN(t) && isNaN(n) ? false : t !== n : Array.isArray(t) === Array.isArray(n) ? typeof t == "object" || typeof t == "function" ? false : t !== n : true : true, [
|
|
18721
|
+
Zq,
|
|
18722
18722
|
n,
|
|
18723
18723
|
t
|
|
18724
|
-
]),
|
|
18724
|
+
]), $q = (0, import_react.useRef)();
|
|
18725
18725
|
(0, import_react.useEffect)(() => {
|
|
18726
|
-
|
|
18726
|
+
$q.current && Qq && "animate" in $q.current && $q.current.animate([
|
|
18727
18727
|
{
|
|
18728
|
-
backgroundColor:
|
|
18728
|
+
backgroundColor: Iq
|
|
18729
18729
|
},
|
|
18730
18730
|
{
|
|
18731
18731
|
backgroundColor: ""
|
|
@@ -18735,22 +18735,22 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18735
18735
|
easing: "ease-in"
|
|
18736
18736
|
});
|
|
18737
18737
|
}, [
|
|
18738
|
-
|
|
18739
|
-
|
|
18738
|
+
Iq,
|
|
18739
|
+
Qq,
|
|
18740
18740
|
n,
|
|
18741
18741
|
t
|
|
18742
18742
|
]);
|
|
18743
|
-
let
|
|
18743
|
+
let eJ = (0, import_react.useCallback)((e2) => {
|
|
18744
18744
|
e2.preventDefault(), h && E(h(t)), Q(true);
|
|
18745
18745
|
}, [
|
|
18746
18746
|
h,
|
|
18747
18747
|
t
|
|
18748
|
-
]),
|
|
18748
|
+
]), tJ = (0, import_react.useCallback)(() => {
|
|
18749
18749
|
Q(false), E("");
|
|
18750
18750
|
}, [
|
|
18751
18751
|
Q,
|
|
18752
18752
|
E
|
|
18753
|
-
]),
|
|
18753
|
+
]), nJ = (0, import_react.useCallback)((e2) => {
|
|
18754
18754
|
if (Q(false), _) try {
|
|
18755
18755
|
$(i, t, _(e2));
|
|
18756
18756
|
} catch {
|
|
@@ -18761,14 +18761,14 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18761
18761
|
$,
|
|
18762
18762
|
i,
|
|
18763
18763
|
t
|
|
18764
|
-
]),
|
|
18764
|
+
]), rJ = (0, import_react.useMemo)(() => J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
18765
18765
|
children: [
|
|
18766
18766
|
(0, import_jsx_runtime.jsx)(IconBox, {
|
|
18767
18767
|
children: (0, import_jsx_runtime.jsx)(CloseIcon, {
|
|
18768
18768
|
sx: {
|
|
18769
18769
|
fontSize: ".8rem"
|
|
18770
18770
|
},
|
|
18771
|
-
onClick:
|
|
18771
|
+
onClick: tJ
|
|
18772
18772
|
})
|
|
18773
18773
|
}),
|
|
18774
18774
|
(0, import_jsx_runtime.jsx)(IconBox, {
|
|
@@ -18776,22 +18776,22 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18776
18776
|
sx: {
|
|
18777
18777
|
fontSize: ".8rem"
|
|
18778
18778
|
},
|
|
18779
|
-
onClick: () =>
|
|
18779
|
+
onClick: () => nJ(w)
|
|
18780
18780
|
})
|
|
18781
18781
|
})
|
|
18782
18782
|
]
|
|
18783
18783
|
}) : (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
18784
18784
|
children: [
|
|
18785
|
-
|
|
18785
|
+
Jq && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
18786
18786
|
onClick: (e2) => {
|
|
18787
18787
|
e2.preventDefault();
|
|
18788
18788
|
try {
|
|
18789
|
-
|
|
18789
|
+
Yq(i, t, copyString);
|
|
18790
18790
|
} catch (e3) {
|
|
18791
18791
|
console.error(e3);
|
|
18792
18792
|
}
|
|
18793
18793
|
},
|
|
18794
|
-
children:
|
|
18794
|
+
children: Xq ? (0, import_jsx_runtime.jsx)(CheckIcon$1, {
|
|
18795
18795
|
sx: {
|
|
18796
18796
|
fontSize: ".8rem"
|
|
18797
18797
|
}
|
|
@@ -18802,16 +18802,16 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18802
18802
|
})
|
|
18803
18803
|
}),
|
|
18804
18804
|
f && S && h && _ && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
18805
|
-
onClick:
|
|
18805
|
+
onClick: eJ,
|
|
18806
18806
|
children: (0, import_jsx_runtime.jsx)(EditIcon, {
|
|
18807
18807
|
sx: {
|
|
18808
18808
|
fontSize: ".8rem"
|
|
18809
18809
|
}
|
|
18810
18810
|
})
|
|
18811
18811
|
}),
|
|
18812
|
-
|
|
18812
|
+
Wq && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
18813
18813
|
onClick: (e2) => {
|
|
18814
|
-
e2.preventDefault(),
|
|
18814
|
+
e2.preventDefault(), Uq == null ? void 0 : Uq(i);
|
|
18815
18815
|
},
|
|
18816
18816
|
children: (0, import_jsx_runtime.jsx)(AddBoxIcon, {
|
|
18817
18817
|
sx: {
|
|
@@ -18819,9 +18819,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18819
18819
|
}
|
|
18820
18820
|
})
|
|
18821
18821
|
}),
|
|
18822
|
-
|
|
18822
|
+
qq && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
18823
18823
|
onClick: (e2) => {
|
|
18824
|
-
e2.preventDefault(),
|
|
18824
|
+
e2.preventDefault(), Kq == null ? void 0 : Kq(i, t);
|
|
18825
18825
|
},
|
|
18826
18826
|
children: (0, import_jsx_runtime.jsx)(DeleteIcon, {
|
|
18827
18827
|
sx: {
|
|
@@ -18834,24 +18834,24 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18834
18834
|
f,
|
|
18835
18835
|
h,
|
|
18836
18836
|
_,
|
|
18837
|
-
Qq,
|
|
18838
|
-
Zq,
|
|
18839
|
-
S,
|
|
18840
|
-
J,
|
|
18841
18837
|
Xq,
|
|
18842
|
-
Kq,
|
|
18843
18838
|
Yq,
|
|
18839
|
+
S,
|
|
18840
|
+
J,
|
|
18841
|
+
Jq,
|
|
18842
|
+
Wq,
|
|
18843
|
+
qq,
|
|
18844
18844
|
w,
|
|
18845
18845
|
i,
|
|
18846
18846
|
t,
|
|
18847
|
-
|
|
18848
|
-
|
|
18849
|
-
|
|
18850
|
-
|
|
18851
|
-
|
|
18852
|
-
]),
|
|
18847
|
+
Uq,
|
|
18848
|
+
Kq,
|
|
18849
|
+
eJ,
|
|
18850
|
+
tJ,
|
|
18851
|
+
nJ
|
|
18852
|
+
]), iJ = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
|
|
18853
18853
|
t
|
|
18854
|
-
]),
|
|
18854
|
+
]), aJ = !iJ && !!(c && d), oJ = useJsonViewerStore((e2) => e2.keyRenderer), sJ = (0, import_react.useMemo)(() => ({
|
|
18855
18855
|
path: i,
|
|
18856
18856
|
inspect: K,
|
|
18857
18857
|
setInspect: q,
|
|
@@ -18883,18 +18883,18 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18883
18883
|
className: "data-key",
|
|
18884
18884
|
sx: {
|
|
18885
18885
|
lineHeight: 1.5,
|
|
18886
|
-
color:
|
|
18886
|
+
color: Pq,
|
|
18887
18887
|
letterSpacing: 0.5,
|
|
18888
18888
|
opacity: 0.8
|
|
18889
18889
|
},
|
|
18890
18890
|
onClick: (0, import_react.useCallback)((e2) => {
|
|
18891
|
-
e2.isDefaultPrevented() ||
|
|
18891
|
+
e2.isDefaultPrevented() || iJ || q((e3) => !e3);
|
|
18892
18892
|
}, [
|
|
18893
|
-
|
|
18893
|
+
iJ,
|
|
18894
18894
|
q
|
|
18895
18895
|
]),
|
|
18896
18896
|
children: [
|
|
18897
|
-
|
|
18897
|
+
aJ ? K ? (0, import_jsx_runtime.jsx)(ExpandMoreIcon, {
|
|
18898
18898
|
className: "data-key-toggle-expanded",
|
|
18899
18899
|
sx: {
|
|
18900
18900
|
fontSize: ".8rem",
|
|
@@ -18912,27 +18912,27 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18912
18912
|
}
|
|
18913
18913
|
}) : null,
|
|
18914
18914
|
(0, import_jsx_runtime.jsx)(Box_default, {
|
|
18915
|
-
ref:
|
|
18915
|
+
ref: $q,
|
|
18916
18916
|
className: "data-key-key",
|
|
18917
18917
|
component: "span",
|
|
18918
|
-
children:
|
|
18918
|
+
children: Bq && O === 0 ? zq === false ? null : Rq ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
18919
18919
|
children: [
|
|
18920
18920
|
'"',
|
|
18921
|
-
|
|
18921
|
+
zq,
|
|
18922
18922
|
'"'
|
|
18923
18923
|
]
|
|
18924
18924
|
}) : (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
|
|
18925
|
-
children:
|
|
18926
|
-
}) :
|
|
18927
|
-
...
|
|
18928
|
-
}) : a === void 0 && (
|
|
18925
|
+
children: zq
|
|
18926
|
+
}) : oJ.when(sJ) ? (0, import_jsx_runtime.jsx)(oJ, {
|
|
18927
|
+
...sJ
|
|
18928
|
+
}) : a === void 0 && (Vq ? (0, import_jsx_runtime.jsx)(Box_default, {
|
|
18929
18929
|
component: "span",
|
|
18930
18930
|
style: {
|
|
18931
|
-
color:
|
|
18932
|
-
userSelect:
|
|
18931
|
+
color: Fq,
|
|
18932
|
+
userSelect: Vq ? "none" : "auto"
|
|
18933
18933
|
},
|
|
18934
18934
|
children: A
|
|
18935
|
-
}) :
|
|
18935
|
+
}) : Rq ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
18936
18936
|
children: [
|
|
18937
18937
|
'"',
|
|
18938
18938
|
A,
|
|
@@ -18942,7 +18942,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18942
18942
|
children: A
|
|
18943
18943
|
}))
|
|
18944
18944
|
}),
|
|
18945
|
-
|
|
18945
|
+
Bq ? zq !== false && (0, import_jsx_runtime.jsx)(DataBox, {
|
|
18946
18946
|
className: "data-key-colon",
|
|
18947
18947
|
sx: {
|
|
18948
18948
|
mr: 0.5
|
|
@@ -18955,38 +18955,38 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18955
18955
|
".data-key-key:empty + &": {
|
|
18956
18956
|
display: "none"
|
|
18957
18957
|
},
|
|
18958
|
-
userSelect:
|
|
18958
|
+
userSelect: Vq ? "none" : "auto"
|
|
18959
18959
|
},
|
|
18960
18960
|
children: ":"
|
|
18961
18961
|
}),
|
|
18962
18962
|
c && (0, import_jsx_runtime.jsx)(c, {
|
|
18963
|
-
...
|
|
18963
|
+
...sJ
|
|
18964
18964
|
}),
|
|
18965
|
-
I &&
|
|
18965
|
+
I && aJ && K && rJ
|
|
18966
18966
|
]
|
|
18967
18967
|
}),
|
|
18968
18968
|
J && S ? f && (0, import_jsx_runtime.jsx)(f, {
|
|
18969
18969
|
path: i,
|
|
18970
18970
|
value: w,
|
|
18971
18971
|
setValue: E,
|
|
18972
|
-
abortEditing:
|
|
18973
|
-
commitEditing:
|
|
18972
|
+
abortEditing: tJ,
|
|
18973
|
+
commitEditing: nJ
|
|
18974
18974
|
}) : s ? (0, import_jsx_runtime.jsx)(s, {
|
|
18975
|
-
...
|
|
18975
|
+
...sJ
|
|
18976
18976
|
}) : (0, import_jsx_runtime.jsx)(Box_default, {
|
|
18977
18977
|
component: "span",
|
|
18978
18978
|
className: "data-value-fallback",
|
|
18979
18979
|
children: `fallback: ${t}`
|
|
18980
18980
|
}),
|
|
18981
18981
|
d && (0, import_jsx_runtime.jsx)(d, {
|
|
18982
|
-
...
|
|
18982
|
+
...sJ
|
|
18983
18983
|
}),
|
|
18984
|
-
!o &&
|
|
18984
|
+
!o && Lq && (0, import_jsx_runtime.jsx)(DataBox, {
|
|
18985
18985
|
children: ","
|
|
18986
18986
|
}),
|
|
18987
|
-
I &&
|
|
18988
|
-
I && !
|
|
18989
|
-
!I && J &&
|
|
18987
|
+
I && aJ && !K && rJ,
|
|
18988
|
+
I && !aJ && rJ,
|
|
18989
|
+
!I && J && rJ
|
|
18990
18990
|
]
|
|
18991
18991
|
});
|
|
18992
18992
|
}, query = "(prefers-color-scheme: dark)";
|
|
@@ -19934,18 +19934,18 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19934
19934
|
}
|
|
19935
19935
|
let y, S, w, E, O, A;
|
|
19936
19936
|
if (t[2] !== f || t[3] !== i || t[4] !== s || t[5] !== o || t[6] !== n || t[7] !== c || t[8] !== v || t[9] !== _ || t[10] !== d) {
|
|
19937
|
-
let e2 = n.filter(_temp8), M2 = n.filter(_temp9), I2 = n.filter(_temp0), z = n.filter(_temp1), U = n.filter(_temp10), K = n.filter(_temp11), q = n.filter(_temp12), J = n.filter(_temp13), Q = n.filter(_temp14), $ = n.filter(_temp15),
|
|
19938
|
-
t[17] === s ?
|
|
19937
|
+
let e2 = n.filter(_temp8), M2 = n.filter(_temp9), I2 = n.filter(_temp0), z = n.filter(_temp1), U = n.filter(_temp10), K = n.filter(_temp11), q = n.filter(_temp12), J = n.filter(_temp13), Q = n.filter(_temp14), $ = n.filter(_temp15), Pq = n.filter(_temp16), Fq = n.filter(_temp17), Iq = n.filter(_temp18), Lq;
|
|
19938
|
+
t[17] === s ? Lq = t[18] : (Lq = () => {
|
|
19939
19939
|
s.openApplication("scratchpad");
|
|
19940
|
-
}, t[17] = s, t[18] =
|
|
19941
|
-
let
|
|
19940
|
+
}, t[17] = s, t[18] = Lq);
|
|
19941
|
+
let Rq = Lq, Bq = () => {
|
|
19942
19942
|
let t2 = [];
|
|
19943
|
-
if (
|
|
19944
|
-
let e3 =
|
|
19943
|
+
if (Pq.length > 0 || Fq.length > 0) {
|
|
19944
|
+
let e3 = Pq.some(_temp19), n2 = !e3 && Pq.some(_temp20);
|
|
19945
19945
|
t2.push((0, import_jsx_runtime.jsxs)("div", {
|
|
19946
19946
|
children: [
|
|
19947
|
-
|
|
19948
|
-
|
|
19947
|
+
Pq.map(_temp21),
|
|
19948
|
+
Fq.map(_temp22),
|
|
19949
19949
|
e3 && (0, import_jsx_runtime.jsxs)(Button, {
|
|
19950
19950
|
size: "xs",
|
|
19951
19951
|
variant: "outline",
|
|
@@ -19976,8 +19976,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
19976
19976
|
}),
|
|
19977
19977
|
i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
|
|
19978
19978
|
errors: [
|
|
19979
|
-
...
|
|
19980
|
-
...
|
|
19979
|
+
...Pq,
|
|
19980
|
+
...Fq
|
|
19981
19981
|
],
|
|
19982
19982
|
cellId: i
|
|
19983
19983
|
})
|
|
@@ -20138,7 +20138,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20138
20138
|
size: "xs",
|
|
20139
20139
|
variant: "link",
|
|
20140
20140
|
className: "my-2 font-normal mx-0 px-0",
|
|
20141
|
-
onClick:
|
|
20141
|
+
onClick: Rq,
|
|
20142
20142
|
children: [
|
|
20143
20143
|
(0, import_jsx_runtime.jsx)(NotebookPen, {
|
|
20144
20144
|
className: "h-3"
|
|
@@ -20337,18 +20337,18 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20337
20337
|
cellId: i
|
|
20338
20338
|
})
|
|
20339
20339
|
]
|
|
20340
|
-
}, "ancestor-stopped")),
|
|
20340
|
+
}, "ancestor-stopped")), Iq.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
|
|
20341
20341
|
children: [
|
|
20342
|
-
|
|
20342
|
+
Iq.map(_temp35),
|
|
20343
20343
|
i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
|
|
20344
|
-
errors:
|
|
20344
|
+
errors: Iq,
|
|
20345
20345
|
cellId: i,
|
|
20346
20346
|
className: "mt-2.5"
|
|
20347
20347
|
})
|
|
20348
20348
|
]
|
|
20349
20349
|
}, "sql-errors")), t2;
|
|
20350
|
-
},
|
|
20351
|
-
t[19] === v ?
|
|
20350
|
+
}, Vq;
|
|
20351
|
+
t[19] === v ? Vq = t[20] : (Vq = v && (0, import_jsx_runtime.jsxs)("div", {
|
|
20352
20352
|
className: "flex items-center gap-1 font-code text-[0.6875rem] uppercase tracking-wider text-muted-foreground/70",
|
|
20353
20353
|
children: [
|
|
20354
20354
|
v,
|
|
@@ -20360,22 +20360,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20360
20360
|
})
|
|
20361
20361
|
})
|
|
20362
20362
|
]
|
|
20363
|
-
}), t[19] = v, t[20] =
|
|
20364
|
-
let
|
|
20365
|
-
t[21] !== _ || t[22] !== d ? (
|
|
20363
|
+
}), t[19] = v, t[20] = Vq);
|
|
20364
|
+
let Hq;
|
|
20365
|
+
t[21] !== _ || t[22] !== d ? (Hq = d && (0, import_jsx_runtime.jsx)(AlertTitle, {
|
|
20366
20366
|
className: `font-code font-medium ${_}`,
|
|
20367
20367
|
children: d
|
|
20368
|
-
}), t[21] = _, t[22] = d, t[23] =
|
|
20369
|
-
let
|
|
20370
|
-
t[24] !==
|
|
20368
|
+
}), t[21] = _, t[22] = d, t[23] = Hq) : Hq = t[23];
|
|
20369
|
+
let Uq;
|
|
20370
|
+
t[24] !== Vq || t[25] !== Hq ? (Uq = (0, import_jsx_runtime.jsxs)("div", {
|
|
20371
20371
|
className: "space-y-0.5",
|
|
20372
20372
|
children: [
|
|
20373
|
-
|
|
20374
|
-
|
|
20373
|
+
Vq,
|
|
20374
|
+
Hq
|
|
20375
20375
|
]
|
|
20376
|
-
}), t[24] =
|
|
20377
|
-
let
|
|
20378
|
-
y = Alert, E = f, t[27] === o ? O = t[28] : (O = cn("border-none font-code text-sm text-[0.84375rem] p-0 text-muted-foreground normal [
|
|
20376
|
+
}), t[24] = Vq, t[25] = Hq, t[26] = Uq) : Uq = t[26];
|
|
20377
|
+
let Wq = Uq;
|
|
20378
|
+
y = Alert, E = f, t[27] === o ? O = t[28] : (O = cn("border-none font-code text-sm text-[0.84375rem] p-0 text-muted-foreground normal has-[svg]:pl-0 space-y-2", o), t[27] = o, t[28] = O), A = Wq, S = "flex flex-col gap-4", w = Bq(), t[2] = f, t[3] = i, t[4] = s, t[5] = o, t[6] = n, t[7] = c, t[8] = v, t[9] = _, t[10] = d, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = O, t[16] = A;
|
|
20379
20379
|
} else y = t[11], S = t[12], w = t[13], E = t[14], O = t[15], A = t[16];
|
|
20380
20380
|
let M;
|
|
20381
20381
|
t[29] !== S || t[30] !== w ? (M = (0, import_jsx_runtime.jsx)("div", {
|
|
@@ -20617,12 +20617,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
20617
20617
|
const TextOutput = (e) => {
|
|
20618
20618
|
let t = (0, import_compiler_runtime$53.c)(13), { text: n, channel: i, wrapText: o } = e, s = i === "stdout" || i === "stderr", c;
|
|
20619
20619
|
t[0] === o ? c = t[1] : (c = (e2) => (0, import_jsx_runtime.jsx)("span", {
|
|
20620
|
-
className: o ? "whitespace-pre-wrap break-
|
|
20620
|
+
className: o ? "whitespace-pre-wrap wrap-break-word" : "whitespace-pre",
|
|
20621
20621
|
children: (0, import_jsx_runtime.jsx)(RenderTextWithLinks, {
|
|
20622
20622
|
text: e2
|
|
20623
20623
|
})
|
|
20624
20624
|
}), t[0] = o, t[1] = c);
|
|
20625
|
-
let d = c, f = !s && (o ? "whitespace-pre-wrap break-
|
|
20625
|
+
let d = c, f = !s && (o ? "whitespace-pre-wrap wrap-break-word" : "whitespace-pre"), h = i === "output" && "font-prose", _;
|
|
20626
20626
|
t[2] !== i || t[3] !== f || t[4] !== h ? (_ = cn(f, h, i), t[2] = i, t[3] = f, t[4] = h, t[5] = _) : _ = t[5];
|
|
20627
20627
|
let v;
|
|
20628
20628
|
t[6] !== d || t[7] !== s || t[8] !== n ? (v = s ? d(n) : n, t[6] = d, t[7] = s, t[8] = n, t[9] = v) : v = t[9];
|
|
@@ -25972,7 +25972,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
25972
25972
|
}
|
|
25973
25973
|
}
|
|
25974
25974
|
function getCellStyleClass({ justify: e = "left", wrapped: t, canSelectCell: n, isSelected: i, isNumeric: o = false }) {
|
|
25975
|
-
return cn(n && "cursor-pointer", i && "relative before:absolute before:inset-0 before:bg-(--blue-3) before:rounded before:-z-10 before:mx-[-4px] before:my-[-2px]", "w-full", "text-left", "truncate", o && "tabular-nums", e === "center" && "text-center", e === "right" && "text-right", t && "whitespace-pre-wrap min-w-[200px] break-
|
|
25975
|
+
return cn(n && "cursor-pointer", i && "relative before:absolute before:inset-0 before:bg-(--blue-3) before:rounded before:-z-10 before:mx-[-4px] before:my-[-2px]", "w-full", "text-left", "truncate", o && "tabular-nums", e === "center" && "text-center", e === "right" && "text-right", t && "whitespace-pre-wrap min-w-[200px] wrap-break-word");
|
|
25976
25976
|
}
|
|
25977
25977
|
function renderAny(e) {
|
|
25978
25978
|
if (e == null) return "";
|
|
@@ -26055,7 +26055,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
26055
26055
|
leading: i2,
|
|
26056
26056
|
trailing: h2
|
|
26057
26057
|
},
|
|
26058
|
-
contentClassName: "max-h-64 overflow-auto whitespace-pre-wrap break-
|
|
26058
|
+
contentClassName: "max-h-64 overflow-auto whitespace-pre-wrap wrap-break-word text-sm w-96",
|
|
26059
26059
|
buttonText: "X",
|
|
26060
26060
|
wrapped: _,
|
|
26061
26061
|
children: (0, import_jsx_runtime.jsx)(MarkdownUrlDetector, {
|
|
@@ -26194,7 +26194,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
26194
26194
|
let n = (0, import_compiler_runtime$39.c)(9), i, o;
|
|
26195
26195
|
n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
|
|
26196
26196
|
let s;
|
|
26197
|
-
n[3] === i ? s = n[4] : (s = cn("h-10 px-2 text-left align-middle font-medium text-muted-foreground
|
|
26197
|
+
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);
|
|
26198
26198
|
let c;
|
|
26199
26199
|
return n[5] !== o || n[6] !== t || n[7] !== s ? (c = (0, import_jsx_runtime.jsx)("th", {
|
|
26200
26200
|
ref: t,
|
|
@@ -26207,7 +26207,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
26207
26207
|
let n = (0, import_compiler_runtime$39.c)(9), i, o;
|
|
26208
26208
|
n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
|
|
26209
26209
|
let s;
|
|
26210
|
-
n[3] === i ? s = n[4] : (s = cn("p-1.5 align-middle
|
|
26210
|
+
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);
|
|
26211
26211
|
let c;
|
|
26212
26212
|
return n[5] !== o || n[6] !== t || n[7] !== s ? (c = (0, import_jsx_runtime.jsx)("td", {
|
|
26213
26213
|
ref: t,
|
|
@@ -26430,7 +26430,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
26430
26430
|
function PanelWithForwardedRef({ children: e, className: t = "", collapsedSize: n, collapsible: i, defaultSize: a, forwardedRef: o, id: s, maxSize: c, minSize: d, onCollapse: f, onExpand: h, onResize: _, order: v, style: y, tagName: S = "div", ...w }) {
|
|
26431
26431
|
let E = (0, import_react.useContext)(PanelGroupContext);
|
|
26432
26432
|
if (E === null) throw Error("Panel components must be rendered within a PanelGroup container");
|
|
26433
|
-
let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, $ = useUniqueId(s),
|
|
26433
|
+
let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, $ = useUniqueId(s), Pq = (0, import_react.useRef)({
|
|
26434
26434
|
callbacks: {
|
|
26435
26435
|
onCollapse: f,
|
|
26436
26436
|
onExpand: h,
|
|
@@ -26450,12 +26450,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
26450
26450
|
(0, import_react.useRef)({
|
|
26451
26451
|
didLogMissingDefaultSizeWarning: false
|
|
26452
26452
|
}), useIsomorphicLayoutEffect$1(() => {
|
|
26453
|
-
let { callbacks: e2, constraints: t2 } =
|
|
26453
|
+
let { callbacks: e2, constraints: t2 } = Pq.current, o2 = {
|
|
26454
26454
|
...t2
|
|
26455
26455
|
};
|
|
26456
|
-
|
|
26456
|
+
Pq.current.id = $, Pq.current.idIsFromProps = s !== void 0, Pq.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(Pq.current, o2);
|
|
26457
26457
|
}), useIsomorphicLayoutEffect$1(() => {
|
|
26458
|
-
let e2 =
|
|
26458
|
+
let e2 = Pq.current;
|
|
26459
26459
|
return q(e2), () => {
|
|
26460
26460
|
Q(e2);
|
|
26461
26461
|
};
|
|
@@ -26466,25 +26466,25 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
26466
26466
|
Q
|
|
26467
26467
|
]), (0, import_react.useImperativeHandle)(o, () => ({
|
|
26468
26468
|
collapse: () => {
|
|
26469
|
-
O(
|
|
26469
|
+
O(Pq.current);
|
|
26470
26470
|
},
|
|
26471
26471
|
expand: (e2) => {
|
|
26472
|
-
A(
|
|
26472
|
+
A(Pq.current, e2);
|
|
26473
26473
|
},
|
|
26474
26474
|
getId() {
|
|
26475
26475
|
return $;
|
|
26476
26476
|
},
|
|
26477
26477
|
getSize() {
|
|
26478
|
-
return M(
|
|
26478
|
+
return M(Pq.current);
|
|
26479
26479
|
},
|
|
26480
26480
|
isCollapsed() {
|
|
26481
|
-
return U(
|
|
26481
|
+
return U(Pq.current);
|
|
26482
26482
|
},
|
|
26483
26483
|
isExpanded() {
|
|
26484
|
-
return !U(
|
|
26484
|
+
return !U(Pq.current);
|
|
26485
26485
|
},
|
|
26486
26486
|
resize: (e2) => {
|
|
26487
|
-
J(
|
|
26487
|
+
J(Pq.current, e2);
|
|
26488
26488
|
}
|
|
26489
26489
|
}), [
|
|
26490
26490
|
O,
|
|
@@ -26494,21 +26494,21 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
26494
26494
|
$,
|
|
26495
26495
|
J
|
|
26496
26496
|
]);
|
|
26497
|
-
let
|
|
26497
|
+
let Fq = I(Pq.current, a);
|
|
26498
26498
|
return (0, import_react.createElement)(S, {
|
|
26499
26499
|
...w,
|
|
26500
26500
|
children: e,
|
|
26501
26501
|
className: t,
|
|
26502
26502
|
id: $,
|
|
26503
26503
|
style: {
|
|
26504
|
-
...
|
|
26504
|
+
...Fq,
|
|
26505
26505
|
...y
|
|
26506
26506
|
},
|
|
26507
26507
|
[DATA_ATTRIBUTES.groupId]: z,
|
|
26508
26508
|
[DATA_ATTRIBUTES.panel]: "",
|
|
26509
26509
|
[DATA_ATTRIBUTES.panelCollapsible]: i || void 0,
|
|
26510
26510
|
[DATA_ATTRIBUTES.panelId]: $,
|
|
26511
|
-
[DATA_ATTRIBUTES.panelSize]: parseFloat("" +
|
|
26511
|
+
[DATA_ATTRIBUTES.panelSize]: parseFloat("" + Fq.flexGrow).toFixed(1)
|
|
26512
26512
|
});
|
|
26513
26513
|
}
|
|
26514
26514
|
Panel = (0, import_react.forwardRef)((e, t) => (0, import_react.createElement)(PanelWithForwardedRef, {
|
|
@@ -27293,13 +27293,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27293
27293
|
}, [
|
|
27294
27294
|
S,
|
|
27295
27295
|
E
|
|
27296
|
-
]),
|
|
27296
|
+
]), Pq = (0, import_react.useCallback)((e2) => {
|
|
27297
27297
|
let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
|
|
27298
27298
|
return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), a2 === true && fuzzyNumbersEqual$1(o2, i2);
|
|
27299
|
-
}, []),
|
|
27299
|
+
}, []), Fq = (0, import_react.useCallback)((e2) => {
|
|
27300
27300
|
let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
|
|
27301
27301
|
return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), !a2 || fuzzyCompareNumbers(o2, i2) > 0;
|
|
27302
|
-
}, []),
|
|
27302
|
+
}, []), Iq = (0, import_react.useCallback)((e2) => {
|
|
27303
27303
|
let { panelDataArray: t2 } = K.current;
|
|
27304
27304
|
t2.push(e2), t2.sort((e3, t3) => {
|
|
27305
27305
|
let n2 = e3.order, i2 = t3.order;
|
|
@@ -27331,7 +27331,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27331
27331
|
e2.layout = [];
|
|
27332
27332
|
};
|
|
27333
27333
|
}, []);
|
|
27334
|
-
let
|
|
27334
|
+
let Lq = (0, import_react.useCallback)((e2) => {
|
|
27335
27335
|
let t2 = false, n2 = y.current;
|
|
27336
27336
|
return n2 && window.getComputedStyle(n2, null).getPropertyValue("direction") === "rtl" && (t2 = true), function(n3) {
|
|
27337
27337
|
n3.preventDefault();
|
|
@@ -27349,7 +27349,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27349
27349
|
}), I2 = !compareLayouts(f2, A2);
|
|
27350
27350
|
(isPointerEvent(n3) || isMouseEvent(n3)) && z.current != S2 && (z.current = S2, !I2 && S2 !== 0 ? w2 ? reportConstraintsViolation(e2, S2 < 0 ? EXCEEDED_HORIZONTAL_MIN : EXCEEDED_HORIZONTAL_MAX) : reportConstraintsViolation(e2, S2 < 0 ? EXCEEDED_VERTICAL_MIN : EXCEEDED_VERTICAL_MAX) : reportConstraintsViolation(e2, 0)), I2 && (O(A2), K.current.layout = A2, d2 && d2(A2), callPanelCallbacks(h2, A2, M.current));
|
|
27351
27351
|
};
|
|
27352
|
-
}, []),
|
|
27352
|
+
}, []), Rq = (0, import_react.useCallback)((e2, t2) => {
|
|
27353
27353
|
let { onLayout: n2 } = U.current, { layout: i2, panelDataArray: a2 } = K.current, o2 = a2.map((e3) => e3.constraints), { panelSize: s2, pivotIndices: c2 } = panelDataHelper(a2, e2, i2);
|
|
27354
27354
|
assert(s2 != null, `Panel size not found for panel "${e2.id}"`);
|
|
27355
27355
|
let d2 = adjustLayoutByDelta({
|
|
@@ -27361,12 +27361,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27361
27361
|
trigger: "imperative-api"
|
|
27362
27362
|
});
|
|
27363
27363
|
compareLayouts(i2, d2) || (O(d2), K.current.layout = d2, n2 && n2(d2), callPanelCallbacks(a2, d2, M.current));
|
|
27364
|
-
}, []),
|
|
27364
|
+
}, []), zq = (0, import_react.useCallback)((e2, t2) => {
|
|
27365
27365
|
let { layout: n2, panelDataArray: i2 } = K.current, { collapsedSize: a2 = 0, collapsible: o2 } = t2, { collapsedSize: s2 = 0, collapsible: c2, maxSize: d2 = 100, minSize: f2 = 0 } = e2.constraints, { panelSize: h2 } = panelDataHelper(i2, e2, n2);
|
|
27366
|
-
h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) ||
|
|
27366
|
+
h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) || Rq(e2, s2) : h2 < f2 ? Rq(e2, f2) : h2 > d2 && Rq(e2, d2));
|
|
27367
27367
|
}, [
|
|
27368
|
-
|
|
27369
|
-
]),
|
|
27368
|
+
Rq
|
|
27369
|
+
]), Bq = (0, import_react.useCallback)((e2, t2) => {
|
|
27370
27370
|
let { direction: n2 } = U.current, { layout: i2 } = K.current;
|
|
27371
27371
|
if (!y.current) return;
|
|
27372
27372
|
let a2 = getResizeHandleElement(e2, y.current);
|
|
@@ -27378,14 +27378,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27378
27378
|
initialCursorPosition: o2,
|
|
27379
27379
|
initialLayout: i2
|
|
27380
27380
|
});
|
|
27381
|
-
}, []),
|
|
27381
|
+
}, []), Vq = (0, import_react.useCallback)(() => {
|
|
27382
27382
|
w(null);
|
|
27383
|
-
}, []),
|
|
27383
|
+
}, []), Hq = (0, import_react.useCallback)((e2) => {
|
|
27384
27384
|
let { panelDataArray: t2 } = K.current, n2 = findPanelDataIndex(t2, e2);
|
|
27385
27385
|
n2 >= 0 && (t2.splice(n2, 1), delete M.current[e2.id], K.current.panelDataArrayChanged = true, A());
|
|
27386
27386
|
}, [
|
|
27387
27387
|
A
|
|
27388
|
-
]),
|
|
27388
|
+
]), Uq = (0, import_react.useMemo)(() => ({
|
|
27389
27389
|
collapsePanel: q,
|
|
27390
27390
|
direction: i,
|
|
27391
27391
|
dragState: S,
|
|
@@ -27393,15 +27393,15 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27393
27393
|
getPanelSize: Q,
|
|
27394
27394
|
getPanelStyle: $,
|
|
27395
27395
|
groupId: v,
|
|
27396
|
-
isPanelCollapsed:
|
|
27397
|
-
isPanelExpanded:
|
|
27398
|
-
reevaluatePanelConstraints:
|
|
27399
|
-
registerPanel:
|
|
27400
|
-
registerResizeHandle:
|
|
27401
|
-
resizePanel:
|
|
27402
|
-
startDragging:
|
|
27403
|
-
stopDragging:
|
|
27404
|
-
unregisterPanel:
|
|
27396
|
+
isPanelCollapsed: Pq,
|
|
27397
|
+
isPanelExpanded: Fq,
|
|
27398
|
+
reevaluatePanelConstraints: zq,
|
|
27399
|
+
registerPanel: Iq,
|
|
27400
|
+
registerResizeHandle: Lq,
|
|
27401
|
+
resizePanel: Rq,
|
|
27402
|
+
startDragging: Bq,
|
|
27403
|
+
stopDragging: Vq,
|
|
27404
|
+
unregisterPanel: Hq,
|
|
27405
27405
|
panelGroupElement: y.current
|
|
27406
27406
|
}), [
|
|
27407
27407
|
q,
|
|
@@ -27411,16 +27411,16 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27411
27411
|
Q,
|
|
27412
27412
|
$,
|
|
27413
27413
|
v,
|
|
27414
|
+
Pq,
|
|
27415
|
+
Fq,
|
|
27416
|
+
zq,
|
|
27414
27417
|
Iq,
|
|
27415
27418
|
Lq,
|
|
27416
|
-
Vq,
|
|
27417
27419
|
Rq,
|
|
27418
|
-
zq,
|
|
27419
27420
|
Bq,
|
|
27420
|
-
|
|
27421
|
-
|
|
27422
|
-
|
|
27423
|
-
]), Kq = {
|
|
27421
|
+
Vq,
|
|
27422
|
+
Hq
|
|
27423
|
+
]), Wq = {
|
|
27424
27424
|
display: "flex",
|
|
27425
27425
|
flexDirection: i === "horizontal" ? "row" : "column",
|
|
27426
27426
|
height: "100%",
|
|
@@ -27428,7 +27428,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27428
27428
|
width: "100%"
|
|
27429
27429
|
};
|
|
27430
27430
|
return (0, import_react.createElement)(PanelGroupContext.Provider, {
|
|
27431
|
-
value:
|
|
27431
|
+
value: Uq
|
|
27432
27432
|
}, (0, import_react.createElement)(h, {
|
|
27433
27433
|
..._,
|
|
27434
27434
|
children: t,
|
|
@@ -27436,7 +27436,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27436
27436
|
id: o,
|
|
27437
27437
|
ref: y,
|
|
27438
27438
|
style: {
|
|
27439
|
-
...
|
|
27439
|
+
...Wq,
|
|
27440
27440
|
...f
|
|
27441
27441
|
},
|
|
27442
27442
|
[DATA_ATTRIBUTES.group]: "",
|
|
@@ -27513,31 +27513,31 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27513
27513
|
});
|
|
27514
27514
|
let O = (0, import_react.useContext)(PanelGroupContext);
|
|
27515
27515
|
if (O === null) throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");
|
|
27516
|
-
let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [$,
|
|
27516
|
+
let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [$, Pq] = (0, import_react.useState)(false), [Fq, Iq] = (0, import_react.useState)(null), Lq = (0, import_react.useRef)({
|
|
27517
27517
|
state: J
|
|
27518
27518
|
});
|
|
27519
27519
|
useIsomorphicLayoutEffect$1(() => {
|
|
27520
|
-
|
|
27520
|
+
Lq.current.state = J;
|
|
27521
27521
|
}), (0, import_react.useEffect)(() => {
|
|
27522
|
-
if (n)
|
|
27522
|
+
if (n) Iq(null);
|
|
27523
27523
|
else {
|
|
27524
27524
|
let e2 = I(q);
|
|
27525
|
-
|
|
27525
|
+
Iq(() => e2);
|
|
27526
27526
|
}
|
|
27527
27527
|
}, [
|
|
27528
27528
|
n,
|
|
27529
27529
|
q,
|
|
27530
27530
|
I
|
|
27531
27531
|
]);
|
|
27532
|
-
let
|
|
27532
|
+
let Rq = (i == null ? void 0 : i.coarse) ?? 15, zq = (i == null ? void 0 : i.fine) ?? 5;
|
|
27533
27533
|
(0, import_react.useEffect)(() => {
|
|
27534
|
-
if (n ||
|
|
27534
|
+
if (n || Fq == null) return;
|
|
27535
27535
|
let e2 = w.current;
|
|
27536
27536
|
assert(e2, "Element ref not attached");
|
|
27537
27537
|
let t2 = false;
|
|
27538
27538
|
return registerResizeHandle(q, e2, A, {
|
|
27539
|
-
coarse:
|
|
27540
|
-
fine:
|
|
27539
|
+
coarse: Rq,
|
|
27540
|
+
fine: zq
|
|
27541
27541
|
}, (e3, n2, i2) => {
|
|
27542
27542
|
if (!n2) {
|
|
27543
27543
|
Q("inactive");
|
|
@@ -27551,8 +27551,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27551
27551
|
break;
|
|
27552
27552
|
}
|
|
27553
27553
|
case "move": {
|
|
27554
|
-
let { state: e4 } =
|
|
27555
|
-
t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'),
|
|
27554
|
+
let { state: e4 } = Lq.current;
|
|
27555
|
+
t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), Fq(i2);
|
|
27556
27556
|
break;
|
|
27557
27557
|
}
|
|
27558
27558
|
case "up": {
|
|
@@ -27564,22 +27564,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27564
27564
|
}
|
|
27565
27565
|
});
|
|
27566
27566
|
}, [
|
|
27567
|
-
|
|
27567
|
+
Rq,
|
|
27568
27568
|
A,
|
|
27569
27569
|
n,
|
|
27570
|
-
|
|
27570
|
+
zq,
|
|
27571
27571
|
I,
|
|
27572
27572
|
q,
|
|
27573
|
-
|
|
27573
|
+
Fq,
|
|
27574
27574
|
z,
|
|
27575
27575
|
U
|
|
27576
27576
|
]), useWindowSplitterResizeHandlerBehavior({
|
|
27577
27577
|
disabled: n,
|
|
27578
27578
|
handleId: q,
|
|
27579
|
-
resizeHandler:
|
|
27579
|
+
resizeHandler: Fq,
|
|
27580
27580
|
panelGroupElement: K
|
|
27581
27581
|
});
|
|
27582
|
-
let
|
|
27582
|
+
let Bq = {
|
|
27583
27583
|
touchAction: "none",
|
|
27584
27584
|
userSelect: "none"
|
|
27585
27585
|
};
|
|
@@ -27589,15 +27589,15 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27589
27589
|
className: t,
|
|
27590
27590
|
id: a,
|
|
27591
27591
|
onBlur: () => {
|
|
27592
|
-
|
|
27592
|
+
Pq(false), o == null ? void 0 : o();
|
|
27593
27593
|
},
|
|
27594
27594
|
onFocus: () => {
|
|
27595
|
-
|
|
27595
|
+
Pq(true), d == null ? void 0 : d();
|
|
27596
27596
|
},
|
|
27597
27597
|
ref: w,
|
|
27598
27598
|
role: "separator",
|
|
27599
27599
|
style: {
|
|
27600
|
-
...
|
|
27600
|
+
...Bq,
|
|
27601
27601
|
..._
|
|
27602
27602
|
},
|
|
27603
27603
|
tabIndex: v,
|
|
@@ -27896,7 +27896,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27896
27896
|
}, [
|
|
27897
27897
|
h
|
|
27898
27898
|
]), k(() => {
|
|
27899
|
-
U(6,
|
|
27899
|
+
U(6, Fq);
|
|
27900
27900
|
}, []);
|
|
27901
27901
|
let K = import_react.useMemo(() => ({
|
|
27902
27902
|
subscribe: (e2) => (s.current.add(e2), () => s.current.delete(e2)),
|
|
@@ -27905,7 +27905,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27905
27905
|
var _a2;
|
|
27906
27906
|
var a2, o2, s2;
|
|
27907
27907
|
if (!Object.is(n.current[e2], t2)) {
|
|
27908
|
-
if (n.current[e2] = t2, e2 === "search")
|
|
27908
|
+
if (n.current[e2] = t2, e2 === "search") Pq(), Q(), U(1, $);
|
|
27909
27909
|
else if (e2 === "value") {
|
|
27910
27910
|
if (document.activeElement.hasAttribute("cmdk-input") || document.activeElement.hasAttribute("cmdk-root")) {
|
|
27911
27911
|
let e3 = document.getElementById(I);
|
|
@@ -27913,8 +27913,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27913
27913
|
}
|
|
27914
27914
|
if (U(7, () => {
|
|
27915
27915
|
var _a3;
|
|
27916
|
-
n.current.selectedItemId = (_a3 =
|
|
27917
|
-
}), i2 || U(5,
|
|
27916
|
+
n.current.selectedItemId = (_a3 = Iq()) == null ? void 0 : _a3.id, K.emit();
|
|
27917
|
+
}), i2 || U(5, Fq), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
|
|
27918
27918
|
let e3 = t2 ?? "";
|
|
27919
27919
|
(s2 = (o2 = c.current).onValueChange) == null || s2.call(o2, e3);
|
|
27920
27920
|
return;
|
|
@@ -27939,12 +27939,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27939
27939
|
item: (e2, t2) => (i.current.add(e2), t2 && (a.current.has(t2) ? a.current.get(t2).add(e2) : a.current.set(t2, /* @__PURE__ */ new Set([
|
|
27940
27940
|
e2
|
|
27941
27941
|
]))), U(3, () => {
|
|
27942
|
-
|
|
27942
|
+
Pq(), Q(), n.current.value || $(), K.emit();
|
|
27943
27943
|
}), () => {
|
|
27944
27944
|
o.current.delete(e2), i.current.delete(e2), n.current.filtered.items.delete(e2);
|
|
27945
|
-
let t3 =
|
|
27945
|
+
let t3 = Iq();
|
|
27946
27946
|
U(4, () => {
|
|
27947
|
-
|
|
27947
|
+
Pq(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && $(), K.emit();
|
|
27948
27948
|
});
|
|
27949
27949
|
}),
|
|
27950
27950
|
group: (e2) => (a.current.has(e2) || a.current.set(e2, /* @__PURE__ */ new Set()), () => {
|
|
@@ -27977,7 +27977,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27977
27977
|
]);
|
|
27978
27978
|
});
|
|
27979
27979
|
let i2 = z.current;
|
|
27980
|
-
|
|
27980
|
+
Lq().sort((t3, n2) => {
|
|
27981
27981
|
let i3 = t3.getAttribute("id"), a2 = n2.getAttribute("id");
|
|
27982
27982
|
return (e2.get(a2) ?? 0) - (e2.get(i3) ?? 0);
|
|
27983
27983
|
}).forEach((e3) => {
|
|
@@ -27991,10 +27991,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
27991
27991
|
}
|
|
27992
27992
|
function $() {
|
|
27993
27993
|
var _a2;
|
|
27994
|
-
let e2 = (_a2 =
|
|
27994
|
+
let e2 = (_a2 = Lq().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
|
|
27995
27995
|
K.setState("value", e2 || void 0);
|
|
27996
27996
|
}
|
|
27997
|
-
function
|
|
27997
|
+
function Pq() {
|
|
27998
27998
|
var _a2, _b;
|
|
27999
27999
|
if (!n.current.search || c.current.shouldFilter === false) {
|
|
28000
28000
|
n.current.filtered.count = i.current.size;
|
|
@@ -28012,43 +28012,43 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28012
28012
|
}
|
|
28013
28013
|
n.current.filtered.count = e2;
|
|
28014
28014
|
}
|
|
28015
|
-
function
|
|
28015
|
+
function Fq() {
|
|
28016
28016
|
var _a2, _b;
|
|
28017
28017
|
var e2;
|
|
28018
|
-
let t2 =
|
|
28018
|
+
let t2 = Iq();
|
|
28019
28019
|
t2 && (((_a2 = t2.parentElement) == null ? void 0 : _a2.firstChild) === t2 && ((e2 = (_b = t2.closest(N$1)) == null ? void 0 : _b.querySelector(be)) == null || e2.scrollIntoView({
|
|
28020
28020
|
block: "nearest"
|
|
28021
28021
|
})), t2.scrollIntoView({
|
|
28022
28022
|
block: "nearest"
|
|
28023
28023
|
}));
|
|
28024
28024
|
}
|
|
28025
|
-
function
|
|
28025
|
+
function Iq() {
|
|
28026
28026
|
var _a2;
|
|
28027
28027
|
return (_a2 = z.current) == null ? void 0 : _a2.querySelector(`${le}[aria-selected="true"]`);
|
|
28028
28028
|
}
|
|
28029
|
-
function
|
|
28029
|
+
function Lq() {
|
|
28030
28030
|
var _a2;
|
|
28031
28031
|
return Array.from(((_a2 = z.current) == null ? void 0 : _a2.querySelectorAll(ce$1)) || []);
|
|
28032
28032
|
}
|
|
28033
|
-
function
|
|
28034
|
-
let t2 =
|
|
28033
|
+
function Rq(e2) {
|
|
28034
|
+
let t2 = Lq()[e2];
|
|
28035
28035
|
t2 && K.setState("value", t2.getAttribute(T));
|
|
28036
28036
|
}
|
|
28037
|
-
function
|
|
28037
|
+
function zq(e2) {
|
|
28038
28038
|
var t2;
|
|
28039
|
-
let n2 =
|
|
28039
|
+
let n2 = Iq(), i2 = Lq(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
|
|
28040
28040
|
(t2 = c.current) != null && t2.loop && (o2 = a2 + e2 < 0 ? i2[i2.length - 1] : a2 + e2 === i2.length ? i2[0] : i2[a2 + e2]), o2 && K.setState("value", o2.getAttribute(T));
|
|
28041
28041
|
}
|
|
28042
|
-
function
|
|
28042
|
+
function Bq(e2) {
|
|
28043
28043
|
var _a2;
|
|
28044
|
-
let t2 = (_a2 =
|
|
28044
|
+
let t2 = (_a2 = Iq()) == null ? void 0 : _a2.closest(N$1), n2;
|
|
28045
28045
|
for (; t2 && !n2; ) t2 = e2 > 0 ? we(t2, N$1) : De(t2, N$1), n2 = t2 == null ? void 0 : t2.querySelector(ce$1);
|
|
28046
|
-
n2 ? K.setState("value", n2.getAttribute(T)) :
|
|
28046
|
+
n2 ? K.setState("value", n2.getAttribute(T)) : zq(e2);
|
|
28047
28047
|
}
|
|
28048
|
-
let
|
|
28049
|
-
e2.preventDefault(), e2.metaKey ?
|
|
28050
|
-
},
|
|
28051
|
-
e2.preventDefault(), e2.metaKey ?
|
|
28048
|
+
let Vq = () => Rq(Lq().length - 1), Hq = (e2) => {
|
|
28049
|
+
e2.preventDefault(), e2.metaKey ? Vq() : e2.altKey ? Bq(1) : zq(1);
|
|
28050
|
+
}, Uq = (e2) => {
|
|
28051
|
+
e2.preventDefault(), e2.metaKey ? Rq(0) : e2.altKey ? Bq(-1) : zq(-1);
|
|
28052
28052
|
};
|
|
28053
28053
|
return import_react.createElement(Primitive.div, {
|
|
28054
28054
|
ref: t,
|
|
@@ -28062,27 +28062,27 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28062
28062
|
if (!(e2.defaultPrevented || n2)) switch (e2.key) {
|
|
28063
28063
|
case "n":
|
|
28064
28064
|
case "j":
|
|
28065
|
-
E && e2.ctrlKey &&
|
|
28065
|
+
E && e2.ctrlKey && Hq(e2);
|
|
28066
28066
|
break;
|
|
28067
28067
|
case "ArrowDown":
|
|
28068
|
-
|
|
28068
|
+
Hq(e2);
|
|
28069
28069
|
break;
|
|
28070
28070
|
case "p":
|
|
28071
28071
|
case "k":
|
|
28072
|
-
E && e2.ctrlKey &&
|
|
28072
|
+
E && e2.ctrlKey && Uq(e2);
|
|
28073
28073
|
break;
|
|
28074
28074
|
case "ArrowUp":
|
|
28075
|
-
|
|
28075
|
+
Uq(e2);
|
|
28076
28076
|
break;
|
|
28077
28077
|
case "Home":
|
|
28078
|
-
e2.preventDefault(),
|
|
28078
|
+
e2.preventDefault(), Rq(0);
|
|
28079
28079
|
break;
|
|
28080
28080
|
case "End":
|
|
28081
|
-
e2.preventDefault(),
|
|
28081
|
+
e2.preventDefault(), Vq();
|
|
28082
28082
|
break;
|
|
28083
28083
|
case "Enter": {
|
|
28084
28084
|
e2.preventDefault();
|
|
28085
|
-
let t3 =
|
|
28085
|
+
let t3 = Iq();
|
|
28086
28086
|
if (t3) {
|
|
28087
28087
|
let e3 = new Event(Z);
|
|
28088
28088
|
t3.dispatchEvent(e3);
|
|
@@ -28440,7 +28440,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28440
28440
|
let n = (0, import_compiler_runtime$36.c)(9), i, o;
|
|
28441
28441
|
n[0] === e ? (i = n[1], o = n[2]) : ({ className: i, ...o } = e, n[0] = e, n[1] = i, n[2] = o);
|
|
28442
28442
|
let s;
|
|
28443
|
-
n[3] === i ? s = n[4] : (s = cn("overflow-hidden p-1 text-foreground [
|
|
28443
|
+
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);
|
|
28444
28444
|
let c;
|
|
28445
28445
|
return n[5] !== o || n[6] !== t || n[7] !== s ? (c = (0, import_jsx_runtime.jsx)(_e.Group, {
|
|
28446
28446
|
ref: t,
|
|
@@ -28491,153 +28491,153 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
28491
28491
|
Combobox = (e) => {
|
|
28492
28492
|
let t = (0, import_compiler_runtime$35.c)(106), n, i, o, s, c, d, f, h, _, v, y, S, w, E, O, A, M, I, z, U, K, q, J, Q;
|
|
28493
28493
|
t[0] === e ? (n = t[1], i = t[2], o = t[3], s = t[4], c = t[5], d = t[6], f = t[7], h = t[8], _ = t[9], v = t[10], y = t[11], S = t[12], w = t[13], E = t[14], O = t[15], A = t[16], M = t[17], I = t[18], z = t[19], U = t[20], K = t[21], q = t[22], J = t[23], Q = t[24]) : ({ children: n, displayValue: d, className: o, placeholder: E, value: Q, defaultValue: c, onValueChange: S, multiple: I, shouldFilter: z, filterFn: f, open: w, defaultOpen: s, onOpenChange: v, inputPlaceholder: U, search: M, onSearchChange: y, emptyState: K, chips: q, chipsClassName: i, keepPopoverOpenOnSelect: _, id: h, disabled: J, renderValue: O, ...A } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = o, t[4] = s, t[5] = c, t[6] = d, t[7] = f, t[8] = h, t[9] = _, t[10] = v, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = O, t[16] = A, t[17] = M, t[18] = I, t[19] = z, t[20] = U, t[21] = K, t[22] = q, t[23] = J, t[24] = Q);
|
|
28494
|
-
let $ = I === void 0 ? false : I,
|
|
28495
|
-
t[25] !== v || t[26] !== w || t[27] !==
|
|
28494
|
+
let $ = I === void 0 ? false : I, Pq = z === void 0 ? true : z, Fq = U === void 0 ? "Search..." : U, Iq = K === void 0 ? "Nothing found." : K, Lq = q === void 0 ? false : q, Rq = J === void 0 ? false : J, zq = s ?? false, Bq;
|
|
28495
|
+
t[25] !== v || t[26] !== w || t[27] !== zq ? (Bq = {
|
|
28496
28496
|
prop: w,
|
|
28497
|
-
defaultProp:
|
|
28497
|
+
defaultProp: zq,
|
|
28498
28498
|
onChange: v
|
|
28499
|
-
}, t[25] = v, t[26] = w, t[27] =
|
|
28500
|
-
let [
|
|
28501
|
-
t[29] === S ?
|
|
28499
|
+
}, t[25] = v, t[26] = w, t[27] = zq, t[28] = Bq) : Bq = t[28];
|
|
28500
|
+
let [Vq, Hq] = useControllableState(Bq), Uq = Vq === void 0 ? false : Vq, Wq;
|
|
28501
|
+
t[29] === S ? Wq = t[30] : (Wq = (e2) => {
|
|
28502
28502
|
S == null ? void 0 : S(e2);
|
|
28503
|
-
}, t[29] = S, t[30] =
|
|
28504
|
-
let
|
|
28505
|
-
t[31] !== c || t[32] !==
|
|
28503
|
+
}, t[29] = S, t[30] = Wq);
|
|
28504
|
+
let Gq;
|
|
28505
|
+
t[31] !== c || t[32] !== Wq || t[33] !== Q ? (Gq = {
|
|
28506
28506
|
prop: Q,
|
|
28507
28507
|
defaultProp: c,
|
|
28508
|
-
onChange:
|
|
28509
|
-
}, t[31] = c, t[32] =
|
|
28510
|
-
let [
|
|
28511
|
-
t[35] ===
|
|
28512
|
-
let
|
|
28513
|
-
t[37] !== _ || t[38] !== $ || t[39] !==
|
|
28508
|
+
onChange: Wq
|
|
28509
|
+
}, t[31] = c, t[32] = Wq, t[33] = Q, t[34] = Gq) : Gq = t[34];
|
|
28510
|
+
let [Kq, qq] = useControllableState(Gq), Jq;
|
|
28511
|
+
t[35] === Kq ? Jq = t[36] : (Jq = (e2) => Array.isArray(Kq) ? Kq.includes(e2) : Kq === e2, t[35] = Kq, t[36] = Jq);
|
|
28512
|
+
let Yq = Jq, Xq;
|
|
28513
|
+
t[37] !== _ || t[38] !== $ || t[39] !== Hq || t[40] !== qq || t[41] !== Kq ? (Xq = (e2) => {
|
|
28514
28514
|
let t2 = e2;
|
|
28515
|
-
if ($) if (Array.isArray(
|
|
28516
|
-
let n2 =
|
|
28515
|
+
if ($) if (Array.isArray(Kq)) if (Kq.includes(t2)) {
|
|
28516
|
+
let n2 = Kq.filter((t3) => t3 !== e2);
|
|
28517
28517
|
t2 = n2.length > 0 ? n2 : [];
|
|
28518
28518
|
} else t2 = [
|
|
28519
|
-
...
|
|
28519
|
+
...Kq,
|
|
28520
28520
|
t2
|
|
28521
28521
|
];
|
|
28522
28522
|
else t2 = [
|
|
28523
28523
|
t2
|
|
28524
28524
|
];
|
|
28525
|
-
else
|
|
28526
|
-
|
|
28527
|
-
}, t[37] = _, t[38] = $, t[39] =
|
|
28525
|
+
else Kq === e2 && (t2 = null);
|
|
28526
|
+
qq(t2), (_ ?? $) || Hq(false);
|
|
28527
|
+
}, t[37] = _, t[38] = $, t[39] = Hq, t[40] = qq, t[41] = Kq, t[42] = Xq) : Xq = t[42];
|
|
28528
|
+
let Zq = Xq, Qq;
|
|
28529
|
+
t[43] !== Lq || t[44] !== d || t[45] !== $ || t[46] !== E || t[47] !== Kq ? (Qq = () => $ && Lq && E ? E : Kq == null ? E ?? "--" : Array.isArray(Kq) ? Kq.length === 0 ? E ?? "--" : Kq.length === 1 && d !== void 0 ? d(Kq[0]) : `${Kq.length} selected` : d === void 0 ? E ?? "--" : d(Kq), t[43] = Lq, t[44] = d, t[45] = $, t[46] = E, t[47] = Kq, t[48] = Qq) : Qq = t[48];
|
|
28528
28530
|
let $q = Qq, eJ;
|
|
28529
|
-
t[
|
|
28531
|
+
t[49] !== Zq || t[50] !== Yq ? (eJ = {
|
|
28532
|
+
isSelected: Yq,
|
|
28533
|
+
onSelect: Zq
|
|
28534
|
+
}, t[49] = Zq, t[50] = Yq, t[51] = eJ) : eJ = t[51];
|
|
28530
28535
|
let tJ = eJ, nJ;
|
|
28531
|
-
t[
|
|
28532
|
-
|
|
28533
|
-
|
|
28534
|
-
|
|
28535
|
-
|
|
28536
|
-
|
|
28537
|
-
|
|
28538
|
-
|
|
28539
|
-
|
|
28540
|
-
|
|
28541
|
-
|
|
28542
|
-
t[56] !== o || t[57] !== sJ ? (lJ = 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", sJ, o), t[56] = o, t[57] = sJ, t[58] = lJ) : lJ = t[58];
|
|
28543
|
-
let uJ;
|
|
28544
|
-
t[59] !== O || t[60] !== tJ || t[61] !== Jq ? (uJ = O ? O(Jq ?? null) : tJ(), t[59] = O, t[60] = tJ, t[61] = Jq, t[62] = uJ) : uJ = t[62];
|
|
28545
|
-
let dJ;
|
|
28546
|
-
t[63] === uJ ? dJ = t[64] : (dJ = (0, import_jsx_runtime.jsx)("span", {
|
|
28536
|
+
t[52] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (nJ = cn("relative"), t[52] = nJ) : nJ = t[52];
|
|
28537
|
+
let rJ;
|
|
28538
|
+
t[53] !== Rq || t[54] !== Hq ? (rJ = (e2) => {
|
|
28539
|
+
Rq && e2 || Hq(e2);
|
|
28540
|
+
}, t[53] = Rq, t[54] = Hq, t[55] = rJ) : rJ = t[55];
|
|
28541
|
+
let aJ = Rq && "cursor-not-allowed opacity-50", sJ;
|
|
28542
|
+
t[56] !== o || t[57] !== aJ ? (sJ = 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", aJ, o), t[56] = o, t[57] = aJ, t[58] = sJ) : sJ = t[58];
|
|
28543
|
+
let cJ;
|
|
28544
|
+
t[59] !== O || t[60] !== $q || t[61] !== Kq ? (cJ = O ? O(Kq ?? null) : $q(), t[59] = O, t[60] = $q, t[61] = Kq, t[62] = cJ) : cJ = t[62];
|
|
28545
|
+
let lJ;
|
|
28546
|
+
t[63] === cJ ? lJ = t[64] : (lJ = (0, import_jsx_runtime.jsx)("span", {
|
|
28547
28547
|
className: "truncate flex-1 min-w-0",
|
|
28548
|
-
children:
|
|
28549
|
-
}), t[63] =
|
|
28550
|
-
let
|
|
28551
|
-
t[65] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
28548
|
+
children: cJ
|
|
28549
|
+
}), t[63] = cJ, t[64] = lJ);
|
|
28550
|
+
let uJ;
|
|
28551
|
+
t[65] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (uJ = (0, import_jsx_runtime.jsx)(ChevronDown, {
|
|
28552
28552
|
className: "ml-3 w-4 h-4 opacity-50 shrink-0"
|
|
28553
|
-
}), t[65] =
|
|
28554
|
-
let
|
|
28555
|
-
t[66] !==
|
|
28553
|
+
}), t[65] = uJ) : uJ = t[65];
|
|
28554
|
+
let dJ;
|
|
28555
|
+
t[66] !== Rq || t[67] !== h || t[68] !== Uq || t[69] !== sJ || t[70] !== lJ ? (dJ = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
|
|
28556
28556
|
asChild: true,
|
|
28557
28557
|
children: (0, import_jsx_runtime.jsxs)("button", {
|
|
28558
28558
|
id: h,
|
|
28559
28559
|
type: "button",
|
|
28560
|
-
className:
|
|
28561
|
-
"aria-expanded":
|
|
28562
|
-
"aria-disabled":
|
|
28560
|
+
className: sJ,
|
|
28561
|
+
"aria-expanded": Uq,
|
|
28562
|
+
"aria-disabled": Rq,
|
|
28563
28563
|
children: [
|
|
28564
|
-
|
|
28565
|
-
|
|
28564
|
+
lJ,
|
|
28565
|
+
uJ
|
|
28566
28566
|
]
|
|
28567
28567
|
})
|
|
28568
|
-
}), t[66] =
|
|
28569
|
-
let
|
|
28570
|
-
t[72] !==
|
|
28571
|
-
placeholder:
|
|
28568
|
+
}), t[66] = Rq, t[67] = h, t[68] = Uq, t[69] = sJ, t[70] = lJ, t[71] = dJ) : dJ = t[71];
|
|
28569
|
+
let fJ;
|
|
28570
|
+
t[72] !== Fq || t[73] !== y || t[74] !== M ? (fJ = (0, import_jsx_runtime.jsx)(CommandInput, {
|
|
28571
|
+
placeholder: Fq,
|
|
28572
28572
|
rootClassName: "px-1 h-8",
|
|
28573
28573
|
autoFocus: true,
|
|
28574
28574
|
value: M,
|
|
28575
28575
|
onValueChange: y
|
|
28576
|
-
}), t[72] =
|
|
28577
|
-
let
|
|
28578
|
-
t[76] ===
|
|
28579
|
-
children:
|
|
28580
|
-
}), t[76] =
|
|
28581
|
-
let
|
|
28582
|
-
t[78] !== n || t[79] !==
|
|
28583
|
-
value:
|
|
28576
|
+
}), t[72] = Fq, t[73] = y, t[74] = M, t[75] = fJ) : fJ = t[75];
|
|
28577
|
+
let pJ;
|
|
28578
|
+
t[76] === Iq ? pJ = t[77] : (pJ = (0, import_jsx_runtime.jsx)(CommandEmpty, {
|
|
28579
|
+
children: Iq
|
|
28580
|
+
}), t[76] = Iq, t[77] = pJ);
|
|
28581
|
+
let mJ;
|
|
28582
|
+
t[78] !== n || t[79] !== tJ ? (mJ = (0, import_jsx_runtime.jsx)(ComboboxContext, {
|
|
28583
|
+
value: tJ,
|
|
28584
28584
|
children: n
|
|
28585
|
-
}), t[78] = n, t[79] =
|
|
28586
|
-
let
|
|
28587
|
-
t[81] !==
|
|
28585
|
+
}), t[78] = n, t[79] = tJ, t[80] = mJ) : mJ = t[80];
|
|
28586
|
+
let hJ;
|
|
28587
|
+
t[81] !== pJ || t[82] !== mJ ? (hJ = (0, import_jsx_runtime.jsxs)(CommandList, {
|
|
28588
28588
|
className: "max-h-60 py-.5",
|
|
28589
28589
|
children: [
|
|
28590
|
-
|
|
28591
|
-
|
|
28590
|
+
pJ,
|
|
28591
|
+
mJ
|
|
28592
28592
|
]
|
|
28593
|
-
}), t[81] =
|
|
28594
|
-
let
|
|
28595
|
-
t[84] !== f || t[85] !==
|
|
28593
|
+
}), t[81] = pJ, t[82] = mJ, t[83] = hJ) : hJ = t[83];
|
|
28594
|
+
let gJ;
|
|
28595
|
+
t[84] !== f || t[85] !== Pq || t[86] !== fJ || t[87] !== hJ ? (gJ = (0, import_jsx_runtime.jsx)(PopoverContent, {
|
|
28596
28596
|
className: "w-full min-w-(--radix-popover-trigger-width) p-0",
|
|
28597
28597
|
align: "start",
|
|
28598
28598
|
children: (0, import_jsx_runtime.jsxs)(Command, {
|
|
28599
28599
|
filter: f,
|
|
28600
|
-
shouldFilter:
|
|
28600
|
+
shouldFilter: Pq,
|
|
28601
28601
|
children: [
|
|
28602
|
-
|
|
28603
|
-
|
|
28602
|
+
fJ,
|
|
28603
|
+
hJ
|
|
28604
28604
|
]
|
|
28605
28605
|
})
|
|
28606
|
-
}), t[84] = f, t[85] =
|
|
28607
|
-
let
|
|
28608
|
-
t[89] !==
|
|
28609
|
-
open:
|
|
28610
|
-
onOpenChange:
|
|
28606
|
+
}), t[84] = f, t[85] = Pq, t[86] = fJ, t[87] = hJ, t[88] = gJ) : gJ = t[88];
|
|
28607
|
+
let _J;
|
|
28608
|
+
t[89] !== Uq || t[90] !== rJ || t[91] !== dJ || t[92] !== gJ ? (_J = (0, import_jsx_runtime.jsxs)(Popover, {
|
|
28609
|
+
open: Uq,
|
|
28610
|
+
onOpenChange: rJ,
|
|
28611
28611
|
children: [
|
|
28612
|
-
|
|
28613
|
-
|
|
28612
|
+
dJ,
|
|
28613
|
+
gJ
|
|
28614
28614
|
]
|
|
28615
|
-
}), t[89] =
|
|
28616
|
-
let
|
|
28617
|
-
t[94] !==
|
|
28615
|
+
}), t[89] = Uq, t[90] = rJ, t[91] = dJ, t[92] = gJ, t[93] = _J) : _J = t[93];
|
|
28616
|
+
let vJ;
|
|
28617
|
+
t[94] !== Lq || t[95] !== i || t[96] !== Rq || t[97] !== d || t[98] !== Zq || t[99] !== $ || t[100] !== Kq ? (vJ = $ && Lq && (0, import_jsx_runtime.jsx)("div", {
|
|
28618
28618
|
className: cn("flex flex-col gap-1 items-start", i),
|
|
28619
|
-
children: Array.isArray(
|
|
28619
|
+
children: Array.isArray(Kq) && Kq.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
|
|
28620
28620
|
variant: "secondary",
|
|
28621
28621
|
children: [
|
|
28622
28622
|
(d == null ? void 0 : d(e2)) ?? String(e2),
|
|
28623
28623
|
(0, import_jsx_runtime.jsx)(CircleX, {
|
|
28624
28624
|
onClick: () => {
|
|
28625
|
-
|
|
28625
|
+
Rq || Zq(e2);
|
|
28626
28626
|
},
|
|
28627
|
-
className: cn("w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer",
|
|
28627
|
+
className: cn("w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer", Rq && "pointer-events-none")
|
|
28628
28628
|
})
|
|
28629
28629
|
]
|
|
28630
28630
|
}, String(e2)))
|
|
28631
|
-
}), t[94] =
|
|
28632
|
-
let
|
|
28633
|
-
return t[102] !== A || t[103] !==
|
|
28634
|
-
className:
|
|
28631
|
+
}), t[94] = Lq, t[95] = i, t[96] = Rq, t[97] = d, t[98] = Zq, t[99] = $, t[100] = Kq, t[101] = vJ) : vJ = t[101];
|
|
28632
|
+
let yJ;
|
|
28633
|
+
return t[102] !== A || t[103] !== _J || t[104] !== vJ ? (yJ = (0, import_jsx_runtime.jsxs)("div", {
|
|
28634
|
+
className: nJ,
|
|
28635
28635
|
...A,
|
|
28636
28636
|
children: [
|
|
28637
|
-
|
|
28638
|
-
|
|
28637
|
+
_J,
|
|
28638
|
+
vJ
|
|
28639
28639
|
]
|
|
28640
|
-
}), t[102] = A, t[103] =
|
|
28640
|
+
}), t[102] = A, t[103] = _J, t[104] = vJ, t[105] = yJ) : yJ = t[105], yJ;
|
|
28641
28641
|
};
|
|
28642
28642
|
ComboboxItem = import_react.forwardRef((e, t) => {
|
|
28643
28643
|
let n = (0, import_compiler_runtime$35.c)(20), { children: i, className: o, value: s, onSelect: c, disabled: d } = e, f = typeof s == "object" && "value" in s ? s.value : String(s), h = import_react.use(ComboboxContext), _;
|
|
@@ -29693,17 +29693,17 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
29693
29693
|
searchQuery: M,
|
|
29694
29694
|
filteredOptions: z
|
|
29695
29695
|
}, t[9] = z, t[10] = n, t[11] = _, t[12] = M, t[13] = i, t[14] = U) : U = t[14];
|
|
29696
|
-
let { open: K, setOpen: q, repin: J, visibleOptions: Q, pinnedCount: $ } = usePinning(U),
|
|
29697
|
-
t[15] !== c || t[16] !== s || t[17] !== o || t[18] !== a || t[19] !== y || t[20] !== i ? (
|
|
29696
|
+
let { open: K, setOpen: q, repin: J, visibleOptions: Q, pinnedCount: $ } = usePinning(U), Pq;
|
|
29697
|
+
t[15] !== c || t[16] !== s || t[17] !== o || t[18] !== a || t[19] !== y || t[20] !== i ? (Pq = {
|
|
29698
29698
|
value: i,
|
|
29699
29699
|
onChange: a,
|
|
29700
29700
|
multiple: o,
|
|
29701
29701
|
maxSelections: s,
|
|
29702
29702
|
allowSelectNone: c,
|
|
29703
29703
|
selected: y
|
|
29704
|
-
}, t[15] = c, t[16] = s, t[17] = o, t[18] = a, t[19] = y, t[20] = i, t[21] =
|
|
29705
|
-
let { isChecked:
|
|
29706
|
-
t[22] !== z || t[23] !== s || t[24] !== o || t[25] !== a || t[26] !== n || t[27] !== M || t[28] !== i ? (
|
|
29704
|
+
}, t[15] = c, t[16] = s, t[17] = o, t[18] = a, t[19] = y, t[20] = i, t[21] = Pq) : Pq = t[21];
|
|
29705
|
+
let { isChecked: Fq, toggle: Iq } = useToggle(Pq), Lq;
|
|
29706
|
+
t[22] !== z || t[23] !== s || t[24] !== o || t[25] !== a || t[26] !== n || t[27] !== M || t[28] !== i ? (Lq = {
|
|
29707
29707
|
value: i,
|
|
29708
29708
|
onChange: a,
|
|
29709
29709
|
multiple: o,
|
|
@@ -29711,24 +29711,24 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
29711
29711
|
filteredOptions: z,
|
|
29712
29712
|
searchQuery: M,
|
|
29713
29713
|
maxSelections: s
|
|
29714
|
-
}, t[22] = z, t[23] = s, t[24] = o, t[25] = a, t[26] = n, t[27] = M, t[28] = i, t[29] =
|
|
29715
|
-
let { bulkActions:
|
|
29716
|
-
t[30] !== J || t[31] !== I ? (
|
|
29714
|
+
}, t[22] = z, t[23] = s, t[24] = o, t[25] = a, t[26] = n, t[27] = M, t[28] = i, t[29] = Lq) : Lq = t[29];
|
|
29715
|
+
let { bulkActions: Rq } = useBulk(Lq), zq;
|
|
29716
|
+
t[30] !== J || t[31] !== I ? (zq = (e2) => {
|
|
29717
29717
|
I(e2), e2 === "" && J();
|
|
29718
|
-
}, t[30] = J, t[31] = I, t[32] =
|
|
29719
|
-
let
|
|
29720
|
-
return t[33] !==
|
|
29718
|
+
}, t[30] = J, t[31] = I, t[32] = zq) : zq = t[32];
|
|
29719
|
+
let Bq = zq, Vq;
|
|
29720
|
+
return t[33] !== Rq || t[34] !== Fq || t[35] !== O || t[36] !== K || t[37] !== $ || t[38] !== M || t[39] !== q || t[40] !== Bq || t[41] !== Iq || t[42] !== Q ? (Vq = {
|
|
29721
29721
|
searchQuery: M,
|
|
29722
|
-
setSearchQuery:
|
|
29722
|
+
setSearchQuery: Bq,
|
|
29723
29723
|
open: K,
|
|
29724
29724
|
setOpen: q,
|
|
29725
29725
|
visibleOptions: Q,
|
|
29726
29726
|
pinnedCount: $,
|
|
29727
|
-
isChecked:
|
|
29728
|
-
toggle:
|
|
29729
|
-
bulkActions:
|
|
29727
|
+
isChecked: Fq,
|
|
29728
|
+
toggle: Iq,
|
|
29729
|
+
bulkActions: Rq,
|
|
29730
29730
|
labelOf: O
|
|
29731
|
-
}, t[33] =
|
|
29731
|
+
}, t[33] = Rq, t[34] = Fq, t[35] = O, t[36] = K, t[37] = $, t[38] = M, t[39] = q, t[40] = Bq, t[41] = Iq, t[42] = Q, t[43] = Vq) : Vq = t[43], Vq;
|
|
29732
29732
|
};
|
|
29733
29733
|
const Sets = {
|
|
29734
29734
|
merge(...e) {
|
|
@@ -30057,7 +30057,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
30057
30057
|
type: S,
|
|
30058
30058
|
operator: E,
|
|
30059
30059
|
draft: mergeNumberTextDraft(A, I)
|
|
30060
|
-
}),
|
|
30060
|
+
}), Pq = $ === void 0, Fq = Pq ? getMissingValueMessage(S, E) : "Apply filter", Iq = () => {
|
|
30061
30061
|
if (!$) return;
|
|
30062
30062
|
let e2 = $;
|
|
30063
30063
|
t.setColumnFilters((t2) => {
|
|
@@ -30076,20 +30076,20 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
30076
30076
|
value: e2
|
|
30077
30077
|
}, n2;
|
|
30078
30078
|
}), i();
|
|
30079
|
-
},
|
|
30079
|
+
}, Lq = () => {
|
|
30080
30080
|
a !== void 0 && t.setColumnFilters((e2) => e2.filter((e3, t2) => t2 !== a)), i();
|
|
30081
|
-
},
|
|
30081
|
+
}, Rq = !OPERATORS_WITHOUT_VALUE.has(E), zq = OPERATORS_BY_TYPE[S], Bq = (0, import_react.useRef)(null), Vq = (0, import_react.useRef)(null);
|
|
30082
30082
|
return (0, import_react.useEffect)(() => {
|
|
30083
30083
|
var _a2, _b;
|
|
30084
|
-
let e2 = (_a2 =
|
|
30085
|
-
e2 ? e2.focus() : (_b =
|
|
30084
|
+
let e2 = (_a2 = Bq.current) == null ? void 0 : _a2.querySelector('input, [role="spinbutton"], [role="combobox"], button');
|
|
30085
|
+
e2 ? e2.focus() : (_b = Vq.current) == null ? void 0 : _b.focus();
|
|
30086
30086
|
}, [
|
|
30087
30087
|
S,
|
|
30088
30088
|
E
|
|
30089
30089
|
]), (0, import_jsx_runtime.jsxs)("form", {
|
|
30090
30090
|
className: "flex flex-row gap-4 items-end p-3",
|
|
30091
30091
|
onSubmit: (e2) => {
|
|
30092
|
-
e2.preventDefault(),
|
|
30092
|
+
e2.preventDefault(), Iq();
|
|
30093
30093
|
},
|
|
30094
30094
|
onKeyDownCapture: (e2) => {
|
|
30095
30095
|
e2.key === "Tab" && e2.stopPropagation();
|
|
@@ -30130,13 +30130,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
30130
30130
|
onValueChange: (e2) => Q(e2),
|
|
30131
30131
|
children: [
|
|
30132
30132
|
(0, import_jsx_runtime.jsx)(SelectTrigger, {
|
|
30133
|
-
ref:
|
|
30133
|
+
ref: Vq,
|
|
30134
30134
|
id: s,
|
|
30135
30135
|
className: "h-6 mb-1 bg-transparent",
|
|
30136
30136
|
children: (0, import_jsx_runtime.jsx)(SelectValue, {})
|
|
30137
30137
|
}),
|
|
30138
30138
|
(0, import_jsx_runtime.jsx)(SelectContent, {
|
|
30139
|
-
children:
|
|
30139
|
+
children: zq.map((e2) => (0, import_jsx_runtime.jsx)(SelectItem, {
|
|
30140
30140
|
value: e2,
|
|
30141
30141
|
children: OPERATOR_LABELS[e2]
|
|
30142
30142
|
}, e2))
|
|
@@ -30145,8 +30145,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
30145
30145
|
}, S)
|
|
30146
30146
|
]
|
|
30147
30147
|
}),
|
|
30148
|
-
|
|
30149
|
-
ref:
|
|
30148
|
+
Rq && (0, import_jsx_runtime.jsxs)("div", {
|
|
30149
|
+
ref: Bq,
|
|
30150
30150
|
className: "flex flex-col gap-1",
|
|
30151
30151
|
children: [
|
|
30152
30152
|
(0, import_jsx_runtime.jsx)("label", {
|
|
@@ -30173,14 +30173,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
30173
30173
|
className: "flex gap-1 mb-1",
|
|
30174
30174
|
children: [
|
|
30175
30175
|
(0, import_jsx_runtime.jsx)(Tooltip, {
|
|
30176
|
-
content:
|
|
30176
|
+
content: Fq,
|
|
30177
30177
|
children: (0, import_jsx_runtime.jsx)("span", {
|
|
30178
30178
|
className: "inline-flex",
|
|
30179
30179
|
children: (0, import_jsx_runtime.jsx)(Button, {
|
|
30180
30180
|
type: "submit",
|
|
30181
30181
|
size: "icon",
|
|
30182
30182
|
variant: "ghost",
|
|
30183
|
-
disabled:
|
|
30183
|
+
disabled: Pq,
|
|
30184
30184
|
className: "rounded-full text-primary hover:text-primary hover:bg-primary/10",
|
|
30185
30185
|
"aria-label": "Apply filter",
|
|
30186
30186
|
children: (0, import_jsx_runtime.jsx)(Check, {
|
|
@@ -30212,7 +30212,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
30212
30212
|
size: "icon",
|
|
30213
30213
|
variant: "ghost",
|
|
30214
30214
|
className: "rounded-full text-destructive hover:text-destructive hover:bg-destructive/10",
|
|
30215
|
-
onClick:
|
|
30215
|
+
onClick: Lq,
|
|
30216
30216
|
"aria-label": "Remove filter",
|
|
30217
30217
|
children: (0, import_jsx_runtime.jsx)(Trash2, {
|
|
30218
30218
|
className: "h-3.5 w-3.5",
|
|
@@ -30279,7 +30279,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
30279
30279
|
className: "border-input w-24 min-w-0"
|
|
30280
30280
|
});
|
|
30281
30281
|
if ((t === "text" || t === "number") && (n === "in" || n === "not_in") && s) return (0, import_jsx_runtime.jsx)("div", {
|
|
30282
|
-
className: "min-w-
|
|
30282
|
+
className: "min-w-56 w-fit max-w-[24rem]",
|
|
30283
30283
|
children: (0, import_jsx_runtime.jsx)(FilterByValuesPicker, {
|
|
30284
30284
|
column: s,
|
|
30285
30285
|
calculateTopKRows: c,
|
|
@@ -32420,29 +32420,29 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
32420
32420
|
}, t[16] = a, t[17] = J);
|
|
32421
32421
|
let Q = useEvent_default(J), $;
|
|
32422
32422
|
t[18] === S ? $ = t[19] : ($ = () => S(), t[18] = S, t[19] = $);
|
|
32423
|
-
let
|
|
32424
|
-
t[20] === S ? (
|
|
32423
|
+
let Pq = useEvent_default($), Fq, Iq;
|
|
32424
|
+
t[20] === S ? (Fq = t[21], Iq = t[22]) : (Fq = () => (window.addEventListener("scroll", S, {
|
|
32425
32425
|
passive: true,
|
|
32426
32426
|
capture: true
|
|
32427
32427
|
}), window.addEventListener("resize", S), () => {
|
|
32428
32428
|
window.removeEventListener("scroll", S, {
|
|
32429
32429
|
capture: true
|
|
32430
32430
|
}), window.removeEventListener("resize", S);
|
|
32431
|
-
}),
|
|
32431
|
+
}), Iq = [
|
|
32432
32432
|
S
|
|
32433
|
-
], t[20] = S, t[21] =
|
|
32434
|
-
let
|
|
32435
|
-
t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
32436
|
-
let
|
|
32437
|
-
return t[25] !==
|
|
32433
|
+
], t[20] = S, t[21] = Fq, t[22] = Iq), (0, import_react.useEffect)(Fq, Iq);
|
|
32434
|
+
let Lq, Rq;
|
|
32435
|
+
t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Lq = () => v, Rq = [], t[23] = Lq, t[24] = Rq) : (Lq = t[23], Rq = t[24]), (0, import_react.useEffect)(Lq, Rq);
|
|
32436
|
+
let zq;
|
|
32437
|
+
return t[25] !== Pq || t[26] !== Q || t[27] !== q || t[28] !== U || t[29] !== S || t[30] !== d || t[31] !== o ? (zq = {
|
|
32438
32438
|
tooltipState: o,
|
|
32439
32439
|
tooltipContentId: d,
|
|
32440
32440
|
hideTooltip: S,
|
|
32441
32441
|
handleCellMouseOver: U,
|
|
32442
32442
|
handleCellMouseLeave: q,
|
|
32443
32443
|
handleCellFocus: Q,
|
|
32444
|
-
handleCellBlur:
|
|
32445
|
-
}, t[25] =
|
|
32444
|
+
handleCellBlur: Pq
|
|
32445
|
+
}, t[25] = Pq, t[26] = Q, t[27] = q, t[28] = U, t[29] = S, t[30] = d, t[31] = o, t[32] = zq) : zq = t[32], zq;
|
|
32446
32446
|
}
|
|
32447
32447
|
var import_compiler_runtime$18 = require_compiler_runtime();
|
|
32448
32448
|
const CellRangeSelectionIndicator = (0, import_react.memo)((e) => {
|
|
@@ -33221,7 +33221,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
33221
33221
|
return e + t;
|
|
33222
33222
|
}
|
|
33223
33223
|
const TableBottomBar = ({ pagination: e, totalColumns: t, selection: n, onRowSelectionChange: i, table: s, getRowIds: c, showPageSizeSelector: d, tableLoading: f, part: _, className: v }) => {
|
|
33224
|
-
let { locale: y } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), S = (e2) => {
|
|
33224
|
+
let { locale: y } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), S = isStaticNotebook(), E = (e2) => {
|
|
33225
33225
|
if (!i) return;
|
|
33226
33226
|
if (!e2) {
|
|
33227
33227
|
i({});
|
|
@@ -33280,7 +33280,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
33280
33280
|
variant: "link",
|
|
33281
33281
|
className: "h-4 print:hidden",
|
|
33282
33282
|
onMouseDown: Events.preventFocus,
|
|
33283
|
-
onClick: () =>
|
|
33283
|
+
onClick: () => E(true),
|
|
33284
33284
|
children: [
|
|
33285
33285
|
"Select all ",
|
|
33286
33286
|
prettyNumber(d2, y)
|
|
@@ -33303,23 +33303,23 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
33303
33303
|
className: "h-4 print:hidden",
|
|
33304
33304
|
onMouseDown: Events.preventFocus,
|
|
33305
33305
|
onClick: () => {
|
|
33306
|
-
_2 ? s.resetCellSelection && s.resetCellSelection() :
|
|
33306
|
+
_2 ? s.resetCellSelection && s.resetCellSelection() : E(false);
|
|
33307
33307
|
},
|
|
33308
33308
|
children: "Clear selection"
|
|
33309
33309
|
})
|
|
33310
33310
|
]
|
|
33311
33311
|
});
|
|
33312
|
-
let { totalColumns: v2, hiddenColumns:
|
|
33312
|
+
let { totalColumns: v2, hiddenColumns: S2 } = getColumnCountForDisplay(s, t), { rowsAndColumns: w, hiddenSuffix: O } = prettifyRowColumnCount({
|
|
33313
33313
|
numRows: s.getRowCount(),
|
|
33314
33314
|
totalColumns: v2,
|
|
33315
|
-
hiddenColumns:
|
|
33315
|
+
hiddenColumns: S2,
|
|
33316
33316
|
locale: y
|
|
33317
33317
|
});
|
|
33318
33318
|
return (0, import_jsx_runtime.jsxs)("span", {
|
|
33319
33319
|
className: "flex items-center gap-1",
|
|
33320
33320
|
children: [
|
|
33321
33321
|
(0, import_jsx_runtime.jsx)("span", {
|
|
33322
|
-
children:
|
|
33322
|
+
children: w
|
|
33323
33323
|
}),
|
|
33324
33324
|
O && (0, import_jsx_runtime.jsx)("span", {
|
|
33325
33325
|
className: "text-xs",
|
|
@@ -33337,7 +33337,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
33337
33337
|
}),
|
|
33338
33338
|
(0, import_jsx_runtime.jsx)("div", {
|
|
33339
33339
|
className: "ml-auto lg:ml-0 lg:justify-self-center flex items-center shrink-0",
|
|
33340
|
-
children: e && (0, import_jsx_runtime.jsx)(DataTablePagination, {
|
|
33340
|
+
children: e && !S && (0, import_jsx_runtime.jsx)(DataTablePagination, {
|
|
33341
33341
|
table: s,
|
|
33342
33342
|
tableLoading: f,
|
|
33343
33343
|
showPageSizeSelector: d
|
|
@@ -33868,7 +33868,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
33868
33868
|
filename: i2.filename
|
|
33869
33869
|
};
|
|
33870
33870
|
}, t[6] = e, t[7] = O);
|
|
33871
|
-
let A = O, M, I, z, U, K, q, J, Q, $,
|
|
33871
|
+
let A = O, M, I, z, U, K, q, J, Q, $, Pq, Fq, Iq, Lq;
|
|
33872
33872
|
if (t[8] !== S || t[9] !== c || t[10] !== n || t[11] !== A || t[12] !== d) {
|
|
33873
33873
|
let e2 = async (t2) => {
|
|
33874
33874
|
let n2 = labelForDownloadFormat(t2);
|
|
@@ -33934,10 +33934,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
33934
33934
|
content: d,
|
|
33935
33935
|
open: o2,
|
|
33936
33936
|
children: h
|
|
33937
|
-
}), t[32] = o2, t[33] = h, t[34] = d, t[35] = Q) : Q = t[35], M = DropdownMenuContent, $ = "bottom",
|
|
33937
|
+
}), t[32] = o2, t[33] = h, t[34] = d, t[35] = Q) : Q = t[35], M = DropdownMenuContent, $ = "bottom", Pq = "print:hidden", t[36] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Fq = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
|
|
33938
33938
|
className: "text-xs text-muted-foreground",
|
|
33939
33939
|
children: "Download"
|
|
33940
|
-
}), t[36] =
|
|
33940
|
+
}), t[36] = Fq) : Fq = t[36], Iq = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
|
|
33941
33941
|
onSelect: () => {
|
|
33942
33942
|
e2(t2.format);
|
|
33943
33943
|
},
|
|
@@ -33958,10 +33958,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
33958
33958
|
]
|
|
33959
33959
|
})
|
|
33960
33960
|
]
|
|
33961
|
-
}, t2.label)), t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
33961
|
+
}, t2.label)), t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Lq = (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {}), z = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
|
|
33962
33962
|
className: "text-xs text-muted-foreground",
|
|
33963
33963
|
children: "Copy to clipboard"
|
|
33964
|
-
}), t[37] = z, t[38] =
|
|
33964
|
+
}), t[37] = z, t[38] = Lq) : (z = t[37], Lq = t[38]), U = copyOptions.map((e3) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
|
|
33965
33965
|
onSelect: async () => {
|
|
33966
33966
|
try {
|
|
33967
33967
|
await a(e3.format);
|
|
@@ -33990,30 +33990,30 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
33990
33990
|
]
|
|
33991
33991
|
})
|
|
33992
33992
|
]
|
|
33993
|
-
}, e3.label)), t[8] = S, t[9] = c, t[10] = n, t[11] = A, t[12] = d, t[13] = M, t[14] = I, t[15] = z, t[16] = U, t[17] = K, t[18] = q, t[19] = J, t[20] = Q, t[21] = $, t[22] =
|
|
33994
|
-
} else M = t[13], I = t[14], z = t[15], U = t[16], K = t[17], q = t[18], J = t[19], Q = t[20], $ = t[21],
|
|
33995
|
-
let
|
|
33996
|
-
t[39] !== M || t[40] !== z || t[41] !== U || t[42] !== $ || t[43] !==
|
|
33993
|
+
}, e3.label)), t[8] = S, t[9] = c, t[10] = n, t[11] = A, t[12] = d, t[13] = M, t[14] = I, t[15] = z, t[16] = U, t[17] = K, t[18] = q, t[19] = J, t[20] = Q, t[21] = $, t[22] = Pq, t[23] = Fq, t[24] = Iq, t[25] = Lq;
|
|
33994
|
+
} else M = t[13], I = t[14], z = t[15], U = t[16], K = t[17], q = t[18], J = t[19], Q = t[20], $ = t[21], Pq = t[22], Fq = t[23], Iq = t[24], Lq = t[25];
|
|
33995
|
+
let Rq;
|
|
33996
|
+
t[39] !== M || t[40] !== z || t[41] !== U || t[42] !== $ || t[43] !== Pq || t[44] !== Fq || t[45] !== Iq || t[46] !== Lq ? (Rq = (0, import_jsx_runtime.jsxs)(M, {
|
|
33997
33997
|
side: $,
|
|
33998
|
-
className:
|
|
33998
|
+
className: Pq,
|
|
33999
33999
|
children: [
|
|
34000
|
+
Fq,
|
|
34001
|
+
Iq,
|
|
34000
34002
|
Lq,
|
|
34001
|
-
Rq,
|
|
34002
|
-
zq,
|
|
34003
34003
|
z,
|
|
34004
34004
|
U
|
|
34005
34005
|
]
|
|
34006
|
-
}), t[39] = M, t[40] = z, t[41] = U, t[42] = $, t[43] =
|
|
34007
|
-
let
|
|
34008
|
-
return t[48] !== I || t[49] !== K || t[50] !== q || t[51] !== J || t[52] !== Q || t[53] !==
|
|
34006
|
+
}), t[39] = M, t[40] = z, t[41] = U, t[42] = $, t[43] = Pq, t[44] = Fq, t[45] = Iq, t[46] = Lq, t[47] = Rq) : Rq = t[47];
|
|
34007
|
+
let zq;
|
|
34008
|
+
return t[48] !== I || t[49] !== K || t[50] !== q || t[51] !== J || t[52] !== Q || t[53] !== Rq ? (zq = (0, import_jsx_runtime.jsxs)(I, {
|
|
34009
34009
|
modal: K,
|
|
34010
34010
|
open: q,
|
|
34011
34011
|
onOpenChange: J,
|
|
34012
34012
|
children: [
|
|
34013
34013
|
Q,
|
|
34014
|
-
|
|
34014
|
+
Rq
|
|
34015
34015
|
]
|
|
34016
|
-
}), t[48] = I, t[49] = K, t[50] = q, t[51] = J, t[52] = Q, t[53] =
|
|
34016
|
+
}), t[48] = I, t[49] = K, t[50] = q, t[51] = J, t[52] = Q, t[53] = Rq, t[54] = zq) : zq = t[54], zq;
|
|
34017
34017
|
};
|
|
34018
34018
|
function fetchJson(e) {
|
|
34019
34019
|
return fetchText(e).then(jsonParseWithSpecialChar);
|
|
@@ -34109,17 +34109,17 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
34109
34109
|
]
|
|
34110
34110
|
});
|
|
34111
34111
|
};
|
|
34112
|
-
DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: o, rawData: s, selection: c, totalColumns: d, totalRows: f, sizeBytes: _, sizeBytesIsLoading: v, manualSorting: y = false, sorting: S, setSorting: w, rowSelection: E, cellSelection: O, cellStyling: A, hoverTemplate: M, cellHoverTexts: I, paginationState: z, setPaginationState: U, downloadAs: K, manualPagination: q = false, pagination: J = false, onRowSelectionChange: Q, onCellSelectionChange: $, getRowIds:
|
|
34113
|
-
let [aJ, oJ] = import_react.useState(false), { locale: sJ } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: cJ, setColumnPinning: lJ } = useColumnPinning(
|
|
34112
|
+
DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: o, rawData: s, selection: c, totalColumns: d, totalRows: f, sizeBytes: _, sizeBytesIsLoading: v, manualSorting: y = false, sorting: S, setSorting: w, rowSelection: E, cellSelection: O, cellStyling: A, hoverTemplate: M, cellHoverTexts: I, paginationState: z, setPaginationState: U, downloadAs: K, manualPagination: q = false, pagination: J = false, onRowSelectionChange: Q, onCellSelectionChange: $, getRowIds: Pq, showSearch: Fq = false, searchQuery: Iq, onSearchQueryChange: Lq, showFilters: Rq = false, filters: zq, onFiltersChange: Bq, calculateTopKRows: Vq, reloading: Hq, freezeColumnsLeft: Uq, freezeColumnsRight: Wq, hiddenColumns: Gq, toggleDisplayHeader: Kq, showChartBuilder: qq, isChartBuilderOpen: Jq, showPageSizeSelector: Yq, showTableExplorer: Xq, togglePanel: Zq, isPanelOpen: Qq, isAnyPanelOpen: $q, viewedRowIdx: eJ, onViewedRowChange: tJ, renderTableExplorerPanel: nJ }) => {
|
|
34113
|
+
let rJ = isStaticNotebook(), iJ = !rJ, [aJ, oJ] = import_react.useState(false), { locale: sJ } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: cJ, setColumnPinning: lJ } = useColumnPinning(Uq, Wq), { columnVisibility: uJ, setColumnVisibility: dJ } = useColumnVisibility(Gq);
|
|
34114
34114
|
import_react.useEffect(() => {
|
|
34115
34115
|
let e2;
|
|
34116
|
-
return
|
|
34116
|
+
return Hq ? e2 = setTimeout(() => {
|
|
34117
34117
|
oJ(true);
|
|
34118
34118
|
}, 300) : oJ(false), () => {
|
|
34119
34119
|
e2 && clearTimeout(e2);
|
|
34120
34120
|
};
|
|
34121
34121
|
}, [
|
|
34122
|
-
|
|
34122
|
+
Hq
|
|
34123
34123
|
]);
|
|
34124
34124
|
function fJ(e2, t2) {
|
|
34125
34125
|
return z ? t2 + (q ? z.pageIndex * z.pageSize : 0) : t2;
|
|
@@ -34159,12 +34159,13 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
34159
34159
|
onSortingChange: w
|
|
34160
34160
|
} : {},
|
|
34161
34161
|
manualSorting: y,
|
|
34162
|
+
enableSorting: !rJ,
|
|
34162
34163
|
enableMultiSort: true,
|
|
34163
34164
|
getSortedRowModel: getSortedRowModel(),
|
|
34164
34165
|
manualFiltering: true,
|
|
34165
|
-
enableColumnFilters:
|
|
34166
|
+
enableColumnFilters: Rq && !rJ,
|
|
34166
34167
|
getFilteredRowModel: getFilteredRowModel(),
|
|
34167
|
-
onColumnFiltersChange:
|
|
34168
|
+
onColumnFiltersChange: Bq,
|
|
34168
34169
|
onRowSelectionChange: Q,
|
|
34169
34170
|
onCellSelectionChange: $,
|
|
34170
34171
|
enableCellSelection: c === "single-cell" || c === "multi-cell",
|
|
@@ -34172,12 +34173,12 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
34172
34173
|
onColumnPinningChange: lJ,
|
|
34173
34174
|
onColumnVisibilityChange: dJ,
|
|
34174
34175
|
enableFocusRow: true,
|
|
34175
|
-
onFocusRowChange:
|
|
34176
|
+
onFocusRowChange: tJ,
|
|
34176
34177
|
state: {
|
|
34177
34178
|
...S ? {
|
|
34178
34179
|
sorting: S
|
|
34179
34180
|
} : {},
|
|
34180
|
-
columnFilters:
|
|
34181
|
+
columnFilters: zq,
|
|
34181
34182
|
...z ? {
|
|
34182
34183
|
pagination: z
|
|
34183
34184
|
} : J && !z ? {} : {
|
|
@@ -34194,7 +34195,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
34194
34195
|
cellHoverTemplate: M,
|
|
34195
34196
|
cellHoverTexts: I ?? {}
|
|
34196
34197
|
}
|
|
34197
|
-
}), mJ = (
|
|
34198
|
+
}), mJ = (Qq == null ? void 0 : Qq(PANEL_TYPES.ROW_VIEWER)) ?? false, hJ = !J && o.length > 100, gJ = useScrollContainerHeight({
|
|
34198
34199
|
maxHeight: n,
|
|
34199
34200
|
virtualize: hJ
|
|
34200
34201
|
}), [_J, vJ] = import_react.useState(null), yJ = import_react.useMemo(() => ({
|
|
@@ -34213,30 +34214,30 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
34213
34214
|
className: cn(e, "flex flex-col space-y-1"),
|
|
34214
34215
|
children: [
|
|
34215
34216
|
(0, import_jsx_runtime.jsx)(FilterPills, {
|
|
34216
|
-
filters:
|
|
34217
|
+
filters: zq,
|
|
34217
34218
|
table: pJ,
|
|
34218
|
-
calculateTopKRows:
|
|
34219
|
+
calculateTopKRows: Vq,
|
|
34219
34220
|
addFilterSnapshot: _J,
|
|
34220
34221
|
onAddFilterSnapshotChange: vJ
|
|
34221
34222
|
}),
|
|
34222
|
-
|
|
34223
|
+
nJ == null ? void 0 : nJ(pJ),
|
|
34223
34224
|
(0, import_jsx_runtime.jsx)(CellSelectionProvider, {
|
|
34224
34225
|
children: (0, import_jsx_runtime.jsxs)("div", {
|
|
34225
34226
|
part: "table-wrapper",
|
|
34226
34227
|
className: cn(t || "rounded-md border overflow-hidden"),
|
|
34227
34228
|
children: [
|
|
34228
|
-
(0, import_jsx_runtime.jsx)(TableTopBar, {
|
|
34229
|
+
iJ && (0, import_jsx_runtime.jsx)(TableTopBar, {
|
|
34229
34230
|
table: pJ,
|
|
34230
|
-
showSearch:
|
|
34231
|
-
searchQuery:
|
|
34232
|
-
onSearchQueryChange:
|
|
34233
|
-
reloading:
|
|
34234
|
-
showChartBuilder:
|
|
34235
|
-
isChartBuilderOpen:
|
|
34236
|
-
toggleDisplayHeader:
|
|
34237
|
-
showTableExplorer:
|
|
34238
|
-
togglePanel:
|
|
34239
|
-
isAnyPanelOpen:
|
|
34231
|
+
showSearch: Fq,
|
|
34232
|
+
searchQuery: Iq,
|
|
34233
|
+
onSearchQueryChange: Lq,
|
|
34234
|
+
reloading: Hq,
|
|
34235
|
+
showChartBuilder: qq,
|
|
34236
|
+
isChartBuilderOpen: Jq,
|
|
34237
|
+
toggleDisplayHeader: Kq,
|
|
34238
|
+
showTableExplorer: Xq,
|
|
34239
|
+
togglePanel: Zq,
|
|
34240
|
+
isAnyPanelOpen: $q,
|
|
34240
34241
|
downloadAs: K,
|
|
34241
34242
|
sizeBytes: _,
|
|
34242
34243
|
sizeBytesIsLoading: v
|
|
@@ -34268,7 +34269,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
34268
34269
|
columns: i,
|
|
34269
34270
|
rowViewerPanelOpen: mJ,
|
|
34270
34271
|
getRowIndex: fJ,
|
|
34271
|
-
viewedRowIdx:
|
|
34272
|
+
viewedRowIdx: eJ,
|
|
34272
34273
|
virtualize: hJ
|
|
34273
34274
|
})
|
|
34274
34275
|
]
|
|
@@ -34281,9 +34282,9 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
34281
34282
|
selection: c,
|
|
34282
34283
|
onRowSelectionChange: Q,
|
|
34283
34284
|
table: pJ,
|
|
34284
|
-
getRowIds:
|
|
34285
|
-
showPageSizeSelector:
|
|
34286
|
-
tableLoading:
|
|
34285
|
+
getRowIds: Pq,
|
|
34286
|
+
showPageSizeSelector: Yq,
|
|
34287
|
+
tableLoading: Hq
|
|
34287
34288
|
})
|
|
34288
34289
|
]
|
|
34289
34290
|
})
|
|
@@ -34385,13 +34386,13 @@ ${d}`,
|
|
|
34385
34386
|
}) : (0, import_jsx_runtime.jsx)(ChevronRight, {
|
|
34386
34387
|
className: "h-3 w-3"
|
|
34387
34388
|
}), t[17] = z, t[18] = $);
|
|
34388
|
-
let
|
|
34389
|
-
t[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
34389
|
+
let Pq;
|
|
34390
|
+
t[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Pq = (0, import_jsx_runtime.jsx)("span", {
|
|
34390
34391
|
className: "text-[0.6875rem] uppercase tracking-wider",
|
|
34391
34392
|
children: "Traceback"
|
|
34392
|
-
}), t[19] =
|
|
34393
|
-
let
|
|
34394
|
-
t[20] !== z || t[21] !== J || t[22] !== Q || t[23] !== $ ? (
|
|
34393
|
+
}), t[19] = Pq) : Pq = t[19];
|
|
34394
|
+
let Iq;
|
|
34395
|
+
t[20] !== z || t[21] !== J || t[22] !== Q || t[23] !== $ ? (Iq = (0, import_jsx_runtime.jsxs)("button", {
|
|
34395
34396
|
type: "button",
|
|
34396
34397
|
onClick: J,
|
|
34397
34398
|
"aria-expanded": z,
|
|
@@ -34399,22 +34400,22 @@ ${d}`,
|
|
|
34399
34400
|
className: "self-start flex items-center gap-1 pt-2 text-muted-foreground/70 hover:text-muted-foreground transition-colors",
|
|
34400
34401
|
children: [
|
|
34401
34402
|
$,
|
|
34402
|
-
|
|
34403
|
+
Pq
|
|
34403
34404
|
]
|
|
34404
|
-
}), t[20] = z, t[21] = J, t[22] = Q, t[23] = $, t[24] =
|
|
34405
|
-
let
|
|
34406
|
-
t[25] !== s || t[26] !== z ? (
|
|
34405
|
+
}), t[20] = z, t[21] = J, t[22] = Q, t[23] = $, t[24] = Iq) : Iq = t[24];
|
|
34406
|
+
let Lq;
|
|
34407
|
+
t[25] !== s || t[26] !== z ? (Lq = z && (0, import_jsx_runtime.jsx)("div", {
|
|
34407
34408
|
className: "text-muted-foreground pr-4 text-xs overflow-auto",
|
|
34408
34409
|
children: s
|
|
34409
|
-
}), t[25] = s, t[26] = z, t[27] =
|
|
34410
|
-
let
|
|
34411
|
-
t[28] !== q || t[29] !== M ? (
|
|
34410
|
+
}), t[25] = s, t[26] = z, t[27] = Lq) : Lq = t[27];
|
|
34411
|
+
let Rq;
|
|
34412
|
+
t[28] !== q || t[29] !== M ? (Rq = M && (0, import_jsx_runtime.jsx)(AIFixButton, {
|
|
34412
34413
|
tooltip: "Fix with AI",
|
|
34413
34414
|
openPrompt: () => q(false),
|
|
34414
34415
|
applyAutofix: () => q(true)
|
|
34415
|
-
}), t[28] = q, t[29] = M, t[30] =
|
|
34416
|
-
let
|
|
34417
|
-
t[31] !== w || t[32] !== v ? (
|
|
34416
|
+
}), t[28] = q, t[29] = M, t[30] = Rq) : Rq = t[30];
|
|
34417
|
+
let zq;
|
|
34418
|
+
t[31] !== w || t[32] !== v ? (zq = w && (0, import_jsx_runtime.jsx)(Tooltip, {
|
|
34418
34419
|
content: "Attach pdb to the exception point.",
|
|
34419
34420
|
children: (0, import_jsx_runtime.jsxs)(Button, {
|
|
34420
34421
|
size: "xs",
|
|
@@ -34431,9 +34432,9 @@ ${d}`,
|
|
|
34431
34432
|
"Launch debugger"
|
|
34432
34433
|
]
|
|
34433
34434
|
})
|
|
34434
|
-
}), t[31] = w, t[32] = v, t[33] =
|
|
34435
|
-
let
|
|
34436
|
-
t[34] !== d || t[35] !== i ? (
|
|
34435
|
+
}), t[31] = w, t[32] = v, t[33] = zq) : zq = t[33];
|
|
34436
|
+
let Bq;
|
|
34437
|
+
t[34] !== d || t[35] !== i ? (Bq = I && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
|
|
34437
34438
|
children: [
|
|
34438
34439
|
(0, import_jsx_runtime.jsx)(DropdownMenuTrigger, {
|
|
34439
34440
|
asChild: true,
|
|
@@ -34501,25 +34502,25 @@ ${d}`,
|
|
|
34501
34502
|
]
|
|
34502
34503
|
})
|
|
34503
34504
|
]
|
|
34504
|
-
}), t[34] = d, t[35] = i, t[36] =
|
|
34505
|
-
let
|
|
34506
|
-
t[37] !==
|
|
34505
|
+
}), t[34] = d, t[35] = i, t[36] = Bq) : Bq = t[36];
|
|
34506
|
+
let Vq;
|
|
34507
|
+
t[37] !== Rq || t[38] !== zq || t[39] !== Bq ? (Vq = (0, import_jsx_runtime.jsxs)("div", {
|
|
34507
34508
|
className: "flex gap-2",
|
|
34508
34509
|
children: [
|
|
34509
|
-
|
|
34510
|
-
|
|
34511
|
-
|
|
34510
|
+
Rq,
|
|
34511
|
+
zq,
|
|
34512
|
+
Bq
|
|
34512
34513
|
]
|
|
34513
|
-
}), t[37] =
|
|
34514
|
-
let
|
|
34515
|
-
return t[41] !==
|
|
34514
|
+
}), t[37] = Rq, t[38] = zq, t[39] = Bq, t[40] = Vq) : Vq = t[40];
|
|
34515
|
+
let Hq;
|
|
34516
|
+
return t[41] !== Iq || t[42] !== Lq || t[43] !== Vq ? (Hq = (0, import_jsx_runtime.jsxs)("div", {
|
|
34516
34517
|
className: "flex flex-col gap-2 min-w-full w-fit",
|
|
34517
34518
|
children: [
|
|
34518
|
-
|
|
34519
|
-
|
|
34520
|
-
|
|
34519
|
+
Iq,
|
|
34520
|
+
Lq,
|
|
34521
|
+
Vq
|
|
34521
34522
|
]
|
|
34522
|
-
}), t[41] =
|
|
34523
|
+
}), t[41] = Iq, t[42] = Lq, t[43] = Vq, t[44] = Hq) : Hq = t[44], Hq;
|
|
34523
34524
|
};
|
|
34524
34525
|
function lastLine(e) {
|
|
34525
34526
|
var _a2, _b;
|
|
@@ -35996,7 +35997,7 @@ ${d}`,
|
|
|
35996
35997
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
35997
35998
|
}
|
|
35998
35999
|
}
|
|
35999
|
-
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.12-
|
|
36000
|
+
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.12-dev21");
|
|
36000
36001
|
showCodeInRunModeAtom = atom(true);
|
|
36001
36002
|
atom(null);
|
|
36002
36003
|
var import_compiler_runtime = require_compiler_runtime();
|