@marimo-team/islands 0.23.16-dev3 → 0.23.16-dev31
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-CJaUI-S-.js → ConnectedDataExplorerComponent-f9vLjQiF.js} +13 -13
- package/dist/{ErrorBoundary-DXlxsrTF.js → ErrorBoundary-DhLqwSWA.js} +3 -3
- package/dist/{any-language-editor-P9tjkj4n.js → any-language-editor-DifE-fl7.js} +5 -5
- package/dist/{button-BcSml68y.js → button-BSm8IXRU.js} +2 -4
- package/dist/{capabilities-BYLFYTYv.js → capabilities-C6OQ5YBO.js} +1 -1
- package/dist/{chat-ui-BdSDiVjk.js → chat-ui-DuPGKU9z.js} +3128 -3128
- package/dist/{check-Cs-KV5XY.js → check-DP7U0H0G.js} +1 -1
- package/dist/{code-visibility-D-umBozt.js → common-DF6Pmj89.js} +1054 -1014
- package/dist/{copy-Cs3yt6Vt.js → copy-DNq8q3zw.js} +2 -2
- package/dist/{dist-B96tMAst.js → dist-DIlxLFXG.js} +2 -2
- package/dist/{error-banner-DR7o3CbX.js → error-banner-B_GQfxxD.js} +2 -2
- package/dist/{esm-k8PIvuZW.js → esm-DzZVaNH4.js} +1 -1
- package/dist/{extends-Cq2JYHKy.js → extends-w2_S44bV.js} +4 -4
- package/dist/{formats-BFhkZJwd.js → formats-Dwq1THhr.js} +3 -3
- package/dist/{glide-data-editor--CaN-f27.js → glide-data-editor-B9K6-MJe.js} +9 -9
- package/dist/{html-to-image-DDENewl2.js → html-to-image-Bza3T2dl.js} +4140 -2748
- package/dist/{input-DStQIuqD.js → input-C5K4VBvB.js} +7 -7
- package/dist/{label-DIk0QoFe.js → label-DjoYwqmj.js} +2 -2
- package/dist/{loader-CTHCI-qe.js → loader-DX-IDS7n.js} +1 -1
- package/dist/main.js +986 -995
- package/dist/{mermaid-CdSvixW2.js → mermaid-hv6IckVw.js} +5 -5
- package/dist/{node-sql-parser-DLl_zNw0.js → node-sql-parser-v1Vi-Fft.js} +16867 -16665
- package/dist/{process-output-2QPcgBQg.js → process-output-pCEXvnhG.js} +3 -3
- package/dist/{reveal-component-DALqCV7w.js → reveal-component-Cjz1dhi5.js} +725 -643
- package/dist/{spec-CnaxwDqy.js → spec-CQKL_D3i.js} +4 -4
- package/dist/{strings-BYAhZnQi.js → strings-DIy9NAmg.js} +4 -4
- package/dist/style.css +1 -1
- package/dist/{swiper-component-DE94711u.js → swiper-component-CEdAYjb7.js} +2 -2
- package/dist/toDate-CqhBWjvO.js +713 -0
- package/dist/{tooltip-B-qh7UPB.js → tooltip-f-qR0iUx.js} +3 -3
- package/dist/{types-DQl7jVYK.js → types-DicH9Oi0.js} +1 -1
- package/dist/{useAsyncData-CvO8WUy3.js → useAsyncData-CYOQb1EW.js} +1 -1
- package/dist/{useDateFormatter-BSoGim-G.js → useDateFormatter-Bt2qr_XS.js} +2 -2
- package/dist/{useDeepCompareMemoize-J3MKRdA4.js → useDeepCompareMemoize-CSHQeQEI.js} +1 -1
- package/dist/{useIframeCapabilities-POcFXHbw.js → useIframeCapabilities-kA09ykNq.js} +1 -1
- package/dist/{useLifecycle-DqPxHgAN.js → useLifecycle-CMJGqBaY.js} +3 -3
- package/dist/{useTheme-XMq9mNf_.js → useTheme-DYfby65G.js} +2 -2
- package/dist/{vega-component-CrFoZT1S.js → vega-component-C7nO5zcf.js} +10 -10
- package/dist/{zod-D0yOqoGe.js → zod-BUcyXSdR.js} +1 -1
- package/package.json +2 -2
- package/src/__mocks__/requests.ts +45 -4
- package/src/components/data-table/__tests__/__snapshots__/chart-spec-model.test.ts.snap +174 -21
- package/src/components/data-table/__tests__/chart-spec-model.test.ts +102 -1
- package/src/components/data-table/column-summary/chart-spec-model.tsx +163 -103
- package/src/components/data-table/column-summary/legacy-chart-spec.ts +15 -7
- package/src/components/data-table/column-summary/utils.ts +26 -7
- package/src/components/data-table/types.ts +1 -1
- package/src/components/editor/actions/__tests__/pdf-export.test.ts +0 -4
- package/src/components/editor/actions/pdf-export.ts +1 -4
- package/src/components/editor/actions/useNotebookActions.tsx +7 -13
- package/src/components/editor/connections/storage/__tests__/__snapshots__/as-code.test.ts.snap +50 -0
- package/src/components/editor/connections/storage/__tests__/as-code.test.ts +87 -8
- package/src/components/editor/connections/storage/as-code.ts +40 -21
- package/src/components/editor/connections/storage/schemas.ts +83 -42
- package/src/components/editor/file-tree/__tests__/file-render-mode.test.ts +27 -0
- package/src/components/editor/file-tree/__tests__/file-viewer.test.tsx +150 -0
- package/src/components/editor/file-tree/file-preview-metadata.tsx +51 -0
- package/src/components/editor/file-tree/file-render-mode.ts +32 -0
- package/src/components/editor/file-tree/file-viewer.tsx +76 -50
- package/src/components/editor/renderers/vertical-layout/vertical-layout.tsx +1 -1
- package/src/components/slides/__tests__/cell-output-block.test.tsx +40 -0
- package/src/components/slides/__tests__/slide-cell-view.test.tsx +33 -0
- package/src/components/slides/__tests__/slide-scroll-hint.test.tsx +198 -0
- package/src/components/slides/reveal-component.tsx +25 -19
- package/src/components/slides/slide-cell-view.tsx +1 -1
- package/src/components/slides/slide-scroll-hint.tsx +161 -0
- package/src/components/slides/slides.css +4 -2
- package/src/components/static-html/share-modal.tsx +1 -1
- package/src/components/ui/input.tsx +1 -1
- package/src/core/codemirror/find-replace/__tests__/navigate.test.ts +42 -30
- package/src/core/codemirror/find-replace/navigate.ts +2 -0
- package/src/core/codemirror/go-to-definition/__tests__/commands.test.ts +24 -3
- package/src/core/codemirror/go-to-definition/commands.ts +3 -0
- package/src/core/codemirror/keymaps/__tests__/keymaps.test.ts +31 -2
- package/src/core/codemirror/keymaps/keymaps.ts +12 -0
- package/src/core/codemirror/language/__tests__/sql.test.ts +443 -61
- package/src/core/codemirror/language/languages/sql/completion-store.ts +5 -1
- package/src/core/codemirror/language/languages/sql/sql.ts +210 -3
- package/src/core/codemirror/utils.ts +28 -0
- package/src/core/hotkeys/hotkeys.ts +0 -2
- package/src/core/islands/__tests__/bridge.test.ts +107 -0
- package/src/core/islands/bridge.ts +16 -0
- package/src/core/mode.ts +10 -0
- package/src/core/network/__tests__/api.test.ts +42 -0
- package/src/core/network/__tests__/connection.test.ts +45 -0
- package/src/core/network/__tests__/requests-lazy.test.ts +32 -1
- package/src/core/network/__tests__/requests-network.test.ts +21 -0
- package/src/core/network/api.ts +27 -0
- package/src/core/network/connection.ts +15 -0
- package/src/core/network/requests-lazy.ts +1 -0
- package/src/core/network/requests-network.ts +14 -8
- package/src/core/network/requests-static.ts +1 -0
- package/src/core/network/requests-toasting.tsx +1 -0
- package/src/core/network/types.ts +25 -7
- package/src/core/static/download-html.ts +5 -14
- package/src/core/wasm/bridge.ts +4 -2
- package/src/core/wasm/worker/types.ts +5 -2
- package/src/plugins/impl/FormPlugin.tsx +1 -1
- package/src/plugins/impl/__tests__/FormPlugin.test.tsx +162 -0
- package/src/utils/__tests__/download.test.tsx +24 -1
- package/src/utils/download.ts +11 -6
- package/dist/toDate-B3IRfHhw.js +0 -692
|
@@ -2,40 +2,40 @@ 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 Functions, f as composeRefs, g as Logger, h as cn, m as Events, n as buttonVariants, p as useComposedRefs, r as cva, t as Button } from "./button-
|
|
5
|
+
import { _ as Functions, f as composeRefs, g as Logger, h as cn, m as Events, n as buttonVariants, p as useComposedRefs, r as cva, t as Button } from "./button-BSm8IXRU.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 {
|
|
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 {
|
|
17
|
-
import { r as Plus, t as ErrorBoundary } from "./ErrorBoundary-
|
|
8
|
+
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-DNq8q3zw.js";
|
|
9
|
+
import { An as Wrench, At as useChromeActions, B as isDataURLString, Bn as Eye, Bt as DATA_TYPE_ICON, C as Accordion, E as AccordionTrigger, Et as goToCellLine, Fn as Minus, H as renderHTML, In as LoaderCircle, J as getCellEditorView, Jn as import_lib, Kn as Braces, L as base64ToUint8Array, M as DotFilledIcon, Mt as jotaiJsonStorage, N as PinLeftIcon, P as PinRightIcon, Pn as NotebookPen, Pt as getFeatureFlag, Q as notebookAtom, Rn as Info, Rt as PluralWord, Sn as atomWithStorage, T as AccordionItem, Tn as Close$1, Tt as toggleBreakpoint, Vn as ExternalLink, Vt as getDataTypeColor, Wn as CircleX, Yt as useRequestClient, _ as getDatasourceContext, an as getTracebackInfo, bn as jsonToMarkdown, c as Popover, cn as filenameAtom, ct as AnsiUp, d as PopoverTrigger, fn as CellOutputId, ft as sanitizeHtml, ht as displayCellName, in as extractAllTracebackInfo, it as useCellNames, j as ChevronRightIcon, jn as Trash2, jt as adaptForLocalStorage, k as CheckIcon, l as PopoverClose, lt as outputIsLoading, m as useExpandedOutput, mn as SCRATCH_CELL_ID, mt as getCellDomProps, n as Spinner, nt as useCellActions, pn as HTMLCellId, pt as DATA_CELL_ID, qn as esm_default, qt as getRequestClient, r as MarkdownRenderer, rn as elementContainsMarimoCellFile, rt as useCellIds, t as toPng, u as PopoverContent, w as AccordionContent, yn as jsonParseWithSpecialChar, yt as Checkbox, z as extractBase64FromDataURL, zn as FileText, __tla as __tla_0 } from "./html-to-image-Bza3T2dl.js";
|
|
10
|
+
import { o as useSize, u as createLucideIcon } from "./dist-DIlxLFXG.js";
|
|
11
|
+
import { c as Calendar, i as createReducerAndAtoms, r as Badge } from "./useLifecycle-CMJGqBaY.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-Bt2qr_XS.js";
|
|
13
|
+
import { t as Check } from "./check-DP7U0H0G.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-DIy9NAmg.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-C5K4VBvB.js";
|
|
16
|
+
import { S as isWasm, a as millisecondsInMinute, b as viewStateAtom, 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, v as kioskModeAtom, y as useInstallAllowed } from "./toDate-CqhBWjvO.js";
|
|
17
|
+
import { r as Plus, t as ErrorBoundary } from "./ErrorBoundary-DhLqwSWA.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-
|
|
25
|
-
import { A as useEvent_default, C as useSetAtom, D as buildStore, O as getBuildingBlocks, S as useAtomValue, T as atom, _ as useJotaiEffect, a as KnownQueryParams, b as Provider, d as resolvedMarimoConfigAtom, g as store, k as dequal, n as useTheme, o as aiFeaturesEnabledAtom, p as userConfigAtom, s as aiModelConfiguredAtom, w as useStore, x as useAtom } from "./useTheme-
|
|
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-BUcyXSdR.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-B_GQfxxD.js";
|
|
23
|
+
import { a as TooltipRoot, n as TooltipContent, o as TooltipTrigger, r as TooltipPortal, t as Tooltip } from "./tooltip-f-qR0iUx.js";
|
|
24
|
+
import { f as CopyClipboardIcon, t as _extends } from "./extends-w2_S44bV.js";
|
|
25
|
+
import { A as useEvent_default, C as useSetAtom, D as buildStore, O as getBuildingBlocks, S as useAtomValue, T as atom, _ as useJotaiEffect, a as KnownQueryParams, b as Provider, d as resolvedMarimoConfigAtom, g as store, k as dequal, n as useTheme, o as aiFeaturesEnabledAtom, p as userConfigAtom, s as aiModelConfiguredAtom, w as useStore, x as useAtom } from "./useTheme-DYfby65G.js";
|
|
26
26
|
import { $ as EditorView } from "./dist-De-GlSAs.js";
|
|
27
27
|
import { t as invariant } from "./invariant-wRzNXIsJ.js";
|
|
28
28
|
import { c as uniqueBy, t as Arrays } from "./arrays-sEtDRoG4.js";
|
|
29
29
|
import { t as Objects } from "./objects-De59twF-.js";
|
|
30
30
|
import { n as once, t as memoizeLastValue } from "./once-B60G2fuJ.js";
|
|
31
31
|
import { a as parser } from "./dist-CRmSjkLP.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-Dwq1THhr.js";
|
|
33
33
|
import { n as memoize$1, t as isPropValid } from "./emotion-is-prop-valid.esm-DdVSF4FD.js";
|
|
34
34
|
import { V as getContainerWidth, n as formats } from "./vega-loader.browser-DmpxCJqx.js";
|
|
35
|
-
import { a as tooltipHandler, n as vegaLoadData, r as createBatchedLoader, t as parseCsvData } from "./loader-
|
|
36
|
-
import { t as useIframeCapabilities } from "./useIframeCapabilities-
|
|
37
|
-
import { t as useAsyncData } from "./useAsyncData-
|
|
38
|
-
let
|
|
35
|
+
import { a as tooltipHandler, n as vegaLoadData, r as createBatchedLoader, t as parseCsvData } from "./loader-DX-IDS7n.js";
|
|
36
|
+
import { t as useIframeCapabilities } from "./useIframeCapabilities-kA09ykNq.js";
|
|
37
|
+
import { t as useAsyncData } from "./useAsyncData-CYOQb1EW.js";
|
|
38
|
+
let CommandSeparator, Kbd, ErrorState, getPageIndexForRow, ContextMenuTrigger, dateToLocalISODate, downloadHTMLAsImage, inferFieldTypes, ColumnName, DelayMount, downloadSizeLimitAtom, ColumnChartSpecModel, getUserColumnVisibilityCounts, TOO_MANY_ROWS, DateRangePicker, TabsList, useSelectList, dateToLocalISOTime, ContextMenu, toFieldTypes, Command, ChartInfoState, Combobox, TabsTrigger, ContextMenuContent, getMimeValues, prettifyRowColumnCount, loadTableData, prettifyRowCount, INDEX_COLUMN_NAME, ColumnPreviewContainer, useIntersectionObserver, getColumnCountForDisplay, SELECT_COLUMN_ID, CommandList, RenderTextWithLinks, ContextMenuItem, isNullishFilter, downloadExportedFile, generateColumns, Filenames, ColumnChartContext, CompactChipRow, Tabs, useInternalStateWithSync, dateToLocalISODateTime, DatePicker, TabsContent, CommandInput, LazyVegaEmbed, CommandEmpty, ChartLoadingState, CommandItem, useOverflowDetection, DataTable, ChevronsLeft, TableCell, DEFAULT_DECK_TRANSITION, $fae977aafc393c5c$export$588937bcd60ade55, contextAwarePanelType, downloadBlob, ArrowDownWideNarrow, TableRow, SLIDE_TYPE_OPTIONS_BY_VALUE, GripHorizontal, slotsController, Switch, Expand, PanelGroup, HtmlOutput, smartMatch, RadioGroup, Ellipsis, PanelResizeHandle, OutputRenderer, ChevronsRight, TableBody, OutputArea, ChevronsUpDown, Table, showCodeInRunModeAtom, isRecord, contextAwarePanelOwner, LoadingState, loadTableAndRawData, EmptyState, usePrevious, SlideSidebar, Funnel, Toggle, JsonOutput, Code, Provider$1, useNotebookCodeAvailable, safeLocale, PANEL_TYPES, DEFAULT_DECK_VERTICAL_ALIGN, $fae977aafc393c5c$export$6b862160d295c8e, isCellAwareAtom, RadioGroupItem, Download, Fill, ComboboxItem, ChartErrorState, marimoVersionAtom, hasFunctionProperty, contextAwarePanelOpen, DEFAULT_SLIDE_TYPE, TextWrap, SlotNames, cellDomProps, EmotionCacheProvider, ContextAwarePanelItem, Slide, EyeOff, Panel, InstallPackageButton, ChevronsDownUp, TableHead, Progress, renderCellValue, downloadByURL, NAMELESS_COLUMN_PREFIX, ADD_PRINTING_CLASS, ChevronLeft, TableHeader, ContextMenuSeparator, Maps;
|
|
39
39
|
let __tla = Promise.all([
|
|
40
40
|
(() => {
|
|
41
41
|
try {
|
|
@@ -2061,21 +2061,21 @@ Defaulting to \`null\`.`;
|
|
|
2061
2061
|
function $2f04cbc44ee30ce0$export$53a0910f038337bd(e, t, n = {}) {
|
|
2062
2062
|
let { block: i = "nearest", inline: a = "nearest" } = n;
|
|
2063
2063
|
if (e === t) return;
|
|
2064
|
-
let o = e.scrollTop, s = e.scrollLeft, c = t.getBoundingClientRect(), d = e.getBoundingClientRect(), f = window.getComputedStyle(t), h = window.getComputedStyle(e), _ = document.scrollingElement || document.documentElement, v = e === _ ? 0 : d.top, y = e === _ ? e.clientHeight : d.bottom, S = e === _ ? 0 : d.left, w = e === _ ? e.clientWidth : d.right, E = parseInt(f.scrollMarginTop, 10) || 0, O = parseInt(f.scrollMarginBottom, 10) || 0, A = parseInt(f.scrollMarginLeft, 10) || 0, M = parseInt(f.scrollMarginRight, 10) || 0, I = parseInt(h.scrollPaddingTop, 10) || 0, z = parseInt(h.scrollPaddingBottom, 10) || 0, U = parseInt(h.scrollPaddingLeft, 10) || 0, K = parseInt(h.scrollPaddingRight, 10) || 0, q = parseInt(h.borderTopWidth, 10) || 0, J = parseInt(h.borderBottomWidth, 10) || 0, Q = parseInt(h.borderLeftWidth, 10) || 0, $ = parseInt(h.borderRightWidth, 10) || 0,
|
|
2065
|
-
h.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ?
|
|
2066
|
-
let
|
|
2067
|
-
if (
|
|
2068
|
-
else if (
|
|
2069
|
-
else if (
|
|
2070
|
-
else if (
|
|
2071
|
-
let e2 =
|
|
2064
|
+
let o = e.scrollTop, s = e.scrollLeft, c = t.getBoundingClientRect(), d = e.getBoundingClientRect(), f = window.getComputedStyle(t), h = window.getComputedStyle(e), _ = document.scrollingElement || document.documentElement, v = e === _ ? 0 : d.top, y = e === _ ? e.clientHeight : d.bottom, S = e === _ ? 0 : d.left, w = e === _ ? e.clientWidth : d.right, E = parseInt(f.scrollMarginTop, 10) || 0, O = parseInt(f.scrollMarginBottom, 10) || 0, A = parseInt(f.scrollMarginLeft, 10) || 0, M = parseInt(f.scrollMarginRight, 10) || 0, I = parseInt(h.scrollPaddingTop, 10) || 0, z = parseInt(h.scrollPaddingBottom, 10) || 0, U = parseInt(h.scrollPaddingLeft, 10) || 0, K = parseInt(h.scrollPaddingRight, 10) || 0, q = parseInt(h.borderTopWidth, 10) || 0, J = parseInt(h.borderBottomWidth, 10) || 0, Q = parseInt(h.borderLeftWidth, 10) || 0, $ = parseInt(h.borderRightWidth, 10) || 0, pJ = c.top - E, mJ = c.bottom + O, hJ = c.left - A, gJ = c.right + M, _J = e === _ ? 0 : Q + $, vJ = e === _ ? 0 : q + J, yJ = e.offsetWidth - e.clientWidth - _J, bJ = e.offsetHeight - e.clientHeight - vJ, xJ = v + q + I, SJ = y - J - z - bJ, CJ = S + Q + U, wJ = w - $ - K;
|
|
2065
|
+
h.direction === "rtl" && !$c87311424ea30a05$export$fedb369cb70207f1() ? CJ += yJ : wJ -= yJ;
|
|
2066
|
+
let TJ = pJ < xJ || mJ > SJ, EJ = hJ < CJ || gJ > wJ;
|
|
2067
|
+
if (TJ && i === "start") o += pJ - xJ;
|
|
2068
|
+
else if (TJ && i === "center") o += (pJ + mJ) / 2 - (xJ + SJ) / 2;
|
|
2069
|
+
else if (TJ && i === "end") o += mJ - SJ;
|
|
2070
|
+
else if (TJ && i === "nearest") {
|
|
2071
|
+
let e2 = pJ - xJ, t2 = mJ - SJ;
|
|
2072
2072
|
o += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
|
|
2073
2073
|
}
|
|
2074
|
-
if (
|
|
2075
|
-
else if (
|
|
2076
|
-
else if (
|
|
2077
|
-
else if (
|
|
2078
|
-
let e2 =
|
|
2074
|
+
if (EJ && a === "start") s += hJ - CJ;
|
|
2075
|
+
else if (EJ && a === "center") s += (hJ + gJ) / 2 - (CJ + wJ) / 2;
|
|
2076
|
+
else if (EJ && a === "end") s += gJ - wJ;
|
|
2077
|
+
else if (EJ && a === "nearest") {
|
|
2078
|
+
let e2 = hJ - CJ, t2 = gJ - wJ;
|
|
2079
2079
|
s += Math.abs(e2) <= Math.abs(t2) ? e2 : t2;
|
|
2080
2080
|
}
|
|
2081
2081
|
e.scrollTo({
|
|
@@ -5185,23 +5185,23 @@ Defaulting to \`null\`.`;
|
|
|
5185
5185
|
}
|
|
5186
5186
|
let $ = "bottom";
|
|
5187
5187
|
A.axis === "top" ? A.placement === "top" ? $ = "top" : A.placement === "bottom" && ($ = "bottom") : A.crossAxis === "top" && (A.crossPlacement === "top" ? $ = "bottom" : A.crossPlacement === "bottom" && ($ = "top"));
|
|
5188
|
-
let
|
|
5189
|
-
q[I] +=
|
|
5190
|
-
let
|
|
5191
|
-
y && y <
|
|
5192
|
-
let
|
|
5193
|
-
|
|
5194
|
-
let
|
|
5195
|
-
x: U === "top" || U === "bottom" ?
|
|
5196
|
-
y: U === "left" || U === "right" ?
|
|
5188
|
+
let pJ = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f);
|
|
5189
|
+
q[I] += pJ;
|
|
5190
|
+
let mJ = $edcf132a9284368a$var$getMaxHeight(q, c, f, v, a, o, n.height, $, d, E, O);
|
|
5191
|
+
y && y < mJ && (mJ = y), n.height = Math.min(n.height, mJ), q = $edcf132a9284368a$var$computePosition(t, c, n, A, J, _, f, v, S, w, d), pJ = $edcf132a9284368a$var$getDelta(I, q[I], n[z], c, d, o, f), q[I] += pJ;
|
|
5192
|
+
let hJ = {}, gJ = t[I] - q[I] - a[$edcf132a9284368a$var$AXIS[I]], _J = gJ + 0.5 * t[z], vJ = S / 2 + w, yJ = $edcf132a9284368a$var$AXIS[I] === "left" ? (a.left ?? 0) + (a.right ?? 0) : (a.top ?? 0) + (a.bottom ?? 0), bJ = n[z] - yJ - S / 2 - w;
|
|
5193
|
+
hJ[I] = $9446cca9a3875146$export$7d15b64cf5a3a4c4($9446cca9a3875146$export$7d15b64cf5a3a4c4(_J, t[I] + S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]]), t[I] + t[z] - S / 2 - (q[I] + a[$edcf132a9284368a$var$AXIS[I]])), vJ, bJ), { placement: U, crossPlacement: K } = A, S ? gJ = hJ[I] : K === "right" ? gJ += t[z] : K === "center" && (gJ += t[z] / 2);
|
|
5194
|
+
let xJ = U === "left" || U === "top" ? n[M] : 0, SJ = {
|
|
5195
|
+
x: U === "top" || U === "bottom" ? gJ : xJ,
|
|
5196
|
+
y: U === "left" || U === "right" ? gJ : xJ
|
|
5197
5197
|
};
|
|
5198
5198
|
return {
|
|
5199
5199
|
position: q,
|
|
5200
|
-
maxHeight:
|
|
5201
|
-
arrowOffsetLeft:
|
|
5202
|
-
arrowOffsetTop:
|
|
5200
|
+
maxHeight: mJ,
|
|
5201
|
+
arrowOffsetLeft: hJ.left,
|
|
5202
|
+
arrowOffsetTop: hJ.top,
|
|
5203
5203
|
placement: U,
|
|
5204
|
-
triggerAnchorPoint:
|
|
5204
|
+
triggerAnchorPoint: SJ
|
|
5205
5205
|
};
|
|
5206
5206
|
}
|
|
5207
5207
|
function $edcf132a9284368a$export$b3ceb0cbf1056d98(e) {
|
|
@@ -7056,7 +7056,7 @@ Defaulting to \`null\`.`;
|
|
|
7056
7056
|
n,
|
|
7057
7057
|
h
|
|
7058
7058
|
]);
|
|
7059
|
-
let
|
|
7059
|
+
let pJ = $c87311424ea30a05$export$fedb369cb70207f1() || e.type === "timeZoneName" ? {
|
|
7060
7060
|
role: "textbox",
|
|
7061
7061
|
"aria-valuemax": null,
|
|
7062
7062
|
"aria-valuemin": null,
|
|
@@ -7066,8 +7066,8 @@ Defaulting to \`null\`.`;
|
|
|
7066
7066
|
e !== (0, import_react.useMemo)(() => t.segments.find((e2) => e2.isEditable), [
|
|
7067
7067
|
t.segments
|
|
7068
7068
|
]) && !t.isInvalid && (f = void 0);
|
|
7069
|
-
let
|
|
7070
|
-
"aria-label": `${
|
|
7069
|
+
let mJ = $bdb11010cef70236$export$f680877a34711e37(), hJ = !t.isDisabled && !t.isReadOnly && e.isEditable, gJ = e.type === "literal" ? "" : s.of(e.type), _J = $313b98861ee5dd6c$export$d6875122194c7b44({
|
|
7070
|
+
"aria-label": `${gJ}${c ? `, ${c}` : ""}${d ? ", " : ""}`,
|
|
7071
7071
|
"aria-labelledby": d
|
|
7072
7072
|
});
|
|
7073
7073
|
if (e.type === "literal") return {
|
|
@@ -7075,32 +7075,32 @@ Defaulting to \`null\`.`;
|
|
|
7075
7075
|
"aria-hidden": true
|
|
7076
7076
|
}
|
|
7077
7077
|
};
|
|
7078
|
-
let
|
|
7078
|
+
let vJ = {
|
|
7079
7079
|
caretColor: "transparent"
|
|
7080
7080
|
};
|
|
7081
7081
|
if (o === "rtl") {
|
|
7082
|
-
|
|
7082
|
+
vJ.unicodeBidi = "embed";
|
|
7083
7083
|
let t2 = v[e.type];
|
|
7084
|
-
(t2 === "numeric" || t2 === "2-digit") && (
|
|
7084
|
+
(t2 === "numeric" || t2 === "2-digit") && (vJ.direction = "ltr");
|
|
7085
7085
|
}
|
|
7086
7086
|
return {
|
|
7087
|
-
segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(w,
|
|
7088
|
-
id:
|
|
7089
|
-
...
|
|
7087
|
+
segmentProps: $3ef42575df84b30b$export$9d1611c77c2fe928(w, _J, {
|
|
7088
|
+
id: mJ,
|
|
7089
|
+
...pJ,
|
|
7090
7090
|
"aria-invalid": t.isInvalid ? "true" : void 0,
|
|
7091
7091
|
"aria-describedby": f,
|
|
7092
7092
|
"aria-readonly": t.isReadOnly || !e.isEditable ? "true" : void 0,
|
|
7093
7093
|
"data-placeholder": e.isPlaceholder || void 0,
|
|
7094
|
-
contentEditable:
|
|
7095
|
-
suppressContentEditableWarning:
|
|
7096
|
-
spellCheck:
|
|
7097
|
-
autoCorrect:
|
|
7098
|
-
enterKeyHint:
|
|
7099
|
-
inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !
|
|
7094
|
+
contentEditable: hJ,
|
|
7095
|
+
suppressContentEditableWarning: hJ,
|
|
7096
|
+
spellCheck: hJ ? "false" : void 0,
|
|
7097
|
+
autoCorrect: hJ ? "off" : void 0,
|
|
7098
|
+
enterKeyHint: hJ ? "next" : void 0,
|
|
7099
|
+
inputMode: t.isDisabled || e.type === "dayPeriod" || e.type === "era" || !hJ ? void 0 : "numeric",
|
|
7100
7100
|
tabIndex: t.isDisabled ? void 0 : 0,
|
|
7101
7101
|
onKeyDown: A,
|
|
7102
7102
|
onFocus: Q,
|
|
7103
|
-
style:
|
|
7103
|
+
style: vJ,
|
|
7104
7104
|
onPointerDown(e2) {
|
|
7105
7105
|
e2.stopPropagation();
|
|
7106
7106
|
},
|
|
@@ -10349,12 +10349,12 @@ Defaulting to \`null\`.`;
|
|
|
10349
10349
|
e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(e2, (y == null ? void 0 : y.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec()), y && "hour" in y ? S(y.set(e2)) : S(e2);
|
|
10350
10350
|
}
|
|
10351
10351
|
}
|
|
10352
|
-
let
|
|
10352
|
+
let pJ = (0, import_react.useMemo)(() => w ? f && f(w) ? true : $f62d864046160412$export$eac50920cf2fd59a(w, s, c) : false, [
|
|
10353
10353
|
w,
|
|
10354
10354
|
f,
|
|
10355
10355
|
s,
|
|
10356
10356
|
c
|
|
10357
|
-
]),
|
|
10357
|
+
]), mJ = e.isInvalid || e.validationState === "invalid" || pJ, hJ = mJ ? "invalid" : null, gJ = (0, import_react.useMemo)(() => h === "visible" ? o : $131cf43a05231e1e$var$unitDuration(o), [
|
|
10358
10358
|
h,
|
|
10359
10359
|
o
|
|
10360
10360
|
]);
|
|
@@ -10371,8 +10371,8 @@ Defaulting to \`null\`.`;
|
|
|
10371
10371
|
maxValue: c,
|
|
10372
10372
|
focusedDate: O,
|
|
10373
10373
|
timeZone: E,
|
|
10374
|
-
validationState:
|
|
10375
|
-
isValueInvalid:
|
|
10374
|
+
validationState: hJ,
|
|
10375
|
+
isValueInvalid: mJ,
|
|
10376
10376
|
setFocusedDate(e2) {
|
|
10377
10377
|
Q(e2);
|
|
10378
10378
|
},
|
|
@@ -10397,12 +10397,12 @@ Defaulting to \`null\`.`;
|
|
|
10397
10397
|
}));
|
|
10398
10398
|
},
|
|
10399
10399
|
focusNextPage() {
|
|
10400
|
-
let e2 = M.add(
|
|
10401
|
-
A($f62d864046160412$export$4f5203c0d889109e(O.add(
|
|
10400
|
+
let e2 = M.add(gJ);
|
|
10401
|
+
A($f62d864046160412$export$4f5203c0d889109e(O.add(gJ), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, gJ, i, s, c), gJ, i));
|
|
10402
10402
|
},
|
|
10403
10403
|
focusPreviousPage() {
|
|
10404
|
-
let e2 = M.subtract(
|
|
10405
|
-
A($f62d864046160412$export$4f5203c0d889109e(O.subtract(
|
|
10404
|
+
let e2 = M.subtract(gJ);
|
|
10405
|
+
A($f62d864046160412$export$4f5203c0d889109e(O.subtract(gJ), s, c)), I($f62d864046160412$export$144a00ba6044eb9($f62d864046160412$export$5bb865b12696a77d(O, e2, gJ, i, s, c), gJ, i));
|
|
10406
10406
|
},
|
|
10407
10407
|
focusSectionStart() {
|
|
10408
10408
|
o.days ? Q(M) : o.weeks ? Q($14e0f24ef4ac5c92$export$42c81a444fbfb5d4(O, i)) : (o.months || o.years) && Q($14e0f24ef4ac5c92$export$a5a3b454ada2268e(O));
|
|
@@ -10539,13 +10539,13 @@ Defaulting to \`null\`.`;
|
|
|
10539
10539
|
end: $9a36b6ba2fb1a7c5$var$convertValue(e2.end, h == null ? void 0 : h.end)
|
|
10540
10540
|
}), q(null);
|
|
10541
10541
|
}
|
|
10542
|
-
}, [$,
|
|
10543
|
-
|
|
10542
|
+
}, [$, pJ] = (0, import_react.useState)(false), { isDateUnavailable: mJ } = e, hJ = (0, import_react.useMemo)(() => !h || v ? false : mJ && (mJ(h.start) || mJ(h.end)) ? true : $f62d864046160412$export$eac50920cf2fd59a(h.start, c, d) || $f62d864046160412$export$eac50920cf2fd59a(h.end, c, d), [
|
|
10543
|
+
mJ,
|
|
10544
10544
|
h,
|
|
10545
10545
|
v,
|
|
10546
10546
|
c,
|
|
10547
10547
|
d
|
|
10548
|
-
]),
|
|
10548
|
+
]), gJ = e.isInvalid || e.validationState === "invalid" || hJ, _J = gJ ? "invalid" : null;
|
|
10549
10549
|
return {
|
|
10550
10550
|
...I,
|
|
10551
10551
|
value: h,
|
|
@@ -10553,8 +10553,8 @@ Defaulting to \`null\`.`;
|
|
|
10553
10553
|
anchorDate: v,
|
|
10554
10554
|
setAnchorDate: q,
|
|
10555
10555
|
highlightedRange: J,
|
|
10556
|
-
validationState:
|
|
10557
|
-
isValueInvalid:
|
|
10556
|
+
validationState: _J,
|
|
10557
|
+
isValueInvalid: gJ,
|
|
10558
10558
|
selectFocusedDate() {
|
|
10559
10559
|
Q(I.focusedDate);
|
|
10560
10560
|
},
|
|
@@ -10570,7 +10570,7 @@ Defaulting to \`null\`.`;
|
|
|
10570
10570
|
return I.isInvalid(e2) || $f62d864046160412$export$eac50920cf2fd59a(e2, (_a2 = w.current) == null ? void 0 : _a2.start, (_b = w.current) == null ? void 0 : _b.end);
|
|
10571
10571
|
},
|
|
10572
10572
|
isDragging: $,
|
|
10573
|
-
setDragging:
|
|
10573
|
+
setDragging: pJ
|
|
10574
10574
|
};
|
|
10575
10575
|
}
|
|
10576
10576
|
function $9a36b6ba2fb1a7c5$var$makeRange(e, t) {
|
|
@@ -11757,7 +11757,7 @@ Defaulting to \`null\`.`;
|
|
|
11757
11757
|
_,
|
|
11758
11758
|
S,
|
|
11759
11759
|
v
|
|
11760
|
-
]),
|
|
11760
|
+
]), pJ = (0, import_react.useMemo)(() => {
|
|
11761
11761
|
let t2 = w === "h11" || w === "h12", n2 = [
|
|
11762
11762
|
"era",
|
|
11763
11763
|
"year",
|
|
@@ -11775,15 +11775,15 @@ Defaulting to \`null\`.`;
|
|
|
11775
11775
|
e.maxGranularity,
|
|
11776
11776
|
_,
|
|
11777
11777
|
w
|
|
11778
|
-
]), [
|
|
11779
|
-
(M !==
|
|
11780
|
-
let
|
|
11781
|
-
if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(
|
|
11778
|
+
]), [mJ, hJ] = (0, import_react.useState)(M), [gJ, _J] = (0, import_react.useState)(S), [vJ, yJ] = (0, import_react.useState)(w);
|
|
11779
|
+
(M !== mJ || w !== vJ || !$14e0f24ef4ac5c92$export$dbc69fd56b53d5e(S, gJ)) && (I = new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M), hJ(M), _J(S), yJ(w), z(I));
|
|
11780
|
+
let bJ = (t2) => {
|
|
11781
|
+
if (!(e.isDisabled || e.isReadOnly)) if (t2 == null || t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef && t2.isCleared(pJ)) z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(null);
|
|
11782
11782
|
else if (!(t2 instanceof $f863c03ccd9aead0$export$ae165b50d181e1ef)) t2 = $11d87f3f76e88657$export$b4a036af3fc0b032(t2, (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec()), z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(t2);
|
|
11783
11783
|
else {
|
|
11784
|
-
if (t2.isComplete(
|
|
11784
|
+
if (t2.isComplete(pJ)) {
|
|
11785
11785
|
let e2 = t2.toValue(M ?? $);
|
|
11786
|
-
if (t2.validate(e2,
|
|
11786
|
+
if (t2.validate(e2, pJ)) {
|
|
11787
11787
|
let t3 = $11d87f3f76e88657$export$b4a036af3fc0b032(e2, (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
|
|
11788
11788
|
if (!E || t3.compare(E) !== 0) {
|
|
11789
11789
|
z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M)), O(t3);
|
|
@@ -11793,83 +11793,83 @@ Defaulting to \`null\`.`;
|
|
|
11793
11793
|
}
|
|
11794
11794
|
z(t2);
|
|
11795
11795
|
}
|
|
11796
|
-
},
|
|
11796
|
+
}, xJ = (0, import_react.useMemo)(() => I.toValue(M ?? $).toDate(y), [
|
|
11797
11797
|
I,
|
|
11798
11798
|
y,
|
|
11799
11799
|
M,
|
|
11800
11800
|
$
|
|
11801
|
-
]),
|
|
11802
|
-
|
|
11801
|
+
]), SJ = (0, import_react.useMemo)(() => $3c0fc76039f1c516$var$processSegments(xJ, I, J, Q, S, t, _), [
|
|
11802
|
+
xJ,
|
|
11803
11803
|
J,
|
|
11804
11804
|
Q,
|
|
11805
11805
|
I,
|
|
11806
11806
|
S,
|
|
11807
11807
|
t,
|
|
11808
11808
|
_
|
|
11809
|
-
]),
|
|
11810
|
-
|
|
11811
|
-
},
|
|
11809
|
+
]), CJ = (e2, t2) => {
|
|
11810
|
+
bJ(I.cycle(e2, t2, $, pJ));
|
|
11811
|
+
}, wJ = (0, import_react.useMemo)(() => $35a22f14a1f04b11$export$f18627323ab57ac0(E, c, d, f, K), [
|
|
11812
11812
|
E,
|
|
11813
11813
|
c,
|
|
11814
11814
|
d,
|
|
11815
11815
|
f,
|
|
11816
11816
|
K
|
|
11817
|
-
]),
|
|
11817
|
+
]), TJ = $e5be200c675c3b3a$export$fc1a364ae1f3ff10({
|
|
11818
11818
|
...e,
|
|
11819
11819
|
value: E,
|
|
11820
|
-
builtinValidation:
|
|
11821
|
-
}),
|
|
11820
|
+
builtinValidation: wJ
|
|
11821
|
+
}), EJ = TJ.displayValidation.isInvalid, DJ = e.validationState || (EJ ? "invalid" : null);
|
|
11822
11822
|
return {
|
|
11823
|
-
...
|
|
11823
|
+
...TJ,
|
|
11824
11824
|
value: M,
|
|
11825
11825
|
defaultValue: e.defaultValue ?? A,
|
|
11826
|
-
dateValue:
|
|
11826
|
+
dateValue: xJ,
|
|
11827
11827
|
calendar: S,
|
|
11828
|
-
setValue:
|
|
11829
|
-
segments:
|
|
11828
|
+
setValue: bJ,
|
|
11829
|
+
segments: SJ,
|
|
11830
11830
|
dateFormatter: J,
|
|
11831
|
-
validationState:
|
|
11832
|
-
isInvalid:
|
|
11831
|
+
validationState: DJ,
|
|
11832
|
+
isInvalid: EJ,
|
|
11833
11833
|
granularity: _,
|
|
11834
11834
|
maxGranularity: e.maxGranularity ?? "year",
|
|
11835
11835
|
isDisabled: a,
|
|
11836
11836
|
isReadOnly: o,
|
|
11837
11837
|
isRequired: s,
|
|
11838
11838
|
increment(e2) {
|
|
11839
|
-
|
|
11839
|
+
CJ(e2, 1);
|
|
11840
11840
|
},
|
|
11841
11841
|
decrement(e2) {
|
|
11842
|
-
|
|
11842
|
+
CJ(e2, -1);
|
|
11843
11843
|
},
|
|
11844
11844
|
incrementPage(e2) {
|
|
11845
|
-
|
|
11845
|
+
CJ(e2, $3c0fc76039f1c516$var$PAGE_STEP[e2] || 1);
|
|
11846
11846
|
},
|
|
11847
11847
|
decrementPage(e2) {
|
|
11848
|
-
|
|
11848
|
+
CJ(e2, -($3c0fc76039f1c516$var$PAGE_STEP[e2] || 1));
|
|
11849
11849
|
},
|
|
11850
11850
|
incrementToMax(e2) {
|
|
11851
11851
|
let t2 = e2 === "hour" && w === "h12" ? 11 : I.getSegmentLimits(e2).maxValue;
|
|
11852
|
-
|
|
11852
|
+
bJ(I.set(e2, t2, $));
|
|
11853
11853
|
},
|
|
11854
11854
|
decrementToMin(e2) {
|
|
11855
11855
|
let t2 = e2 === "hour" && w === "h12" ? 12 : I.getSegmentLimits(e2).minValue;
|
|
11856
|
-
|
|
11856
|
+
bJ(I.set(e2, t2, $));
|
|
11857
11857
|
},
|
|
11858
11858
|
setSegment(e2, t2) {
|
|
11859
|
-
|
|
11859
|
+
bJ(I.set(e2, t2, $));
|
|
11860
11860
|
},
|
|
11861
11861
|
confirmPlaceholder() {
|
|
11862
|
-
if (!(e.isDisabled || e.isReadOnly) && I.isComplete(
|
|
11862
|
+
if (!(e.isDisabled || e.isReadOnly) && I.isComplete(pJ)) {
|
|
11863
11863
|
let e2 = $11d87f3f76e88657$export$b4a036af3fc0b032(I.toValue(M ?? $), (h == null ? void 0 : h.calendar) || new $3b62074eb05584b2$export$80ee6245ec4f29ec());
|
|
11864
11864
|
(!E || e2.compare(E) !== 0) && O(e2), z(new $f863c03ccd9aead0$export$ae165b50d181e1ef(S, w, M));
|
|
11865
11865
|
}
|
|
11866
11866
|
},
|
|
11867
11867
|
clearSegment(e2) {
|
|
11868
11868
|
let t2 = I;
|
|
11869
|
-
e2 !== "timeZoneName" && e2 !== "literal" && (t2 = I.clear(e2)),
|
|
11869
|
+
e2 !== "timeZoneName" && e2 !== "literal" && (t2 = I.clear(e2)), bJ(t2);
|
|
11870
11870
|
},
|
|
11871
11871
|
formatValue(e2) {
|
|
11872
|
-
return M ? new $fb18d541ea1ad717$export$ad991b66133851cf(t, $35a22f14a1f04b11$export$7e319ea407e63bc0(e2, K)).format(
|
|
11872
|
+
return M ? new $fb18d541ea1ad717$export$ad991b66133851cf(t, $35a22f14a1f04b11$export$7e319ea407e63bc0(e2, K)).format(xJ) : "";
|
|
11873
11873
|
},
|
|
11874
11874
|
getDateFormatter(e2, t2) {
|
|
11875
11875
|
return new $fb18d541ea1ad717$export$ad991b66133851cf(e2, $35a22f14a1f04b11$export$7e319ea407e63bc0({}, {
|
|
@@ -11989,7 +11989,7 @@ Defaulting to \`null\`.`;
|
|
|
11989
11989
|
e.endName
|
|
11990
11990
|
]),
|
|
11991
11991
|
builtinValidation: J
|
|
11992
|
-
}), $ = Q.displayValidation.isInvalid,
|
|
11992
|
+
}), $ = Q.displayValidation.isInvalid, pJ = e.validationState || ($ ? "invalid" : null);
|
|
11993
11993
|
return {
|
|
11994
11994
|
...Q,
|
|
11995
11995
|
value: c,
|
|
@@ -12035,7 +12035,7 @@ Defaulting to \`null\`.`;
|
|
|
12035
12035
|
end: (w == null ? void 0 : w.end) || $35a22f14a1f04b11$export$c5221a78ef73c5e9(e.placeholderValue)
|
|
12036
12036
|
}), t.setOpen(n2);
|
|
12037
12037
|
},
|
|
12038
|
-
validationState:
|
|
12038
|
+
validationState: pJ,
|
|
12039
12039
|
isInvalid: $,
|
|
12040
12040
|
formatValue(t2, n2) {
|
|
12041
12041
|
if (!c || !c.start || !c.end) return null;
|
|
@@ -15929,33 +15929,33 @@ try {
|
|
|
15929
15929
|
}, f = import_react.createContext(void 0), h = () => import_react.useContext(f) || d, _ = {}, v = {};
|
|
15930
15930
|
function y(e2) {
|
|
15931
15931
|
var _a2, _b, _c, _d;
|
|
15932
|
-
let { children: d2, theme: h2, modeStorageKey: y2 = i, colorSchemeStorageKey: S2 = a, disableTransitionOnChange: w2 = o, storageManager: E, storageWindow: O = typeof window > "u" ? void 0 : window, documentNode: A = typeof document > "u" ? void 0 : document, colorSchemeNode: M = typeof document > "u" ? void 0 : document.documentElement, disableNestedContext: I = false, disableStyleSheetGeneration: z = false, defaultMode: U = "system", noSsr: K } = e2, q = import_react.useRef(false), J = useTheme$2(), Q = import_react.useContext(f), $ = !!Q && !I,
|
|
15932
|
+
let { children: d2, theme: h2, modeStorageKey: y2 = i, colorSchemeStorageKey: S2 = a, disableTransitionOnChange: w2 = o, storageManager: E, storageWindow: O = typeof window > "u" ? void 0 : window, documentNode: A = typeof document > "u" ? void 0 : document, colorSchemeNode: M = typeof document > "u" ? void 0 : document.documentElement, disableNestedContext: I = false, disableStyleSheetGeneration: z = false, defaultMode: U = "system", noSsr: K } = e2, q = import_react.useRef(false), J = useTheme$2(), Q = import_react.useContext(f), $ = !!Q && !I, pJ = import_react.useMemo(() => h2 || (typeof n == "function" ? n() : n), [
|
|
15933
15933
|
h2
|
|
15934
|
-
]),
|
|
15935
|
-
|
|
15936
|
-
]),
|
|
15937
|
-
supportedColorSchemes:
|
|
15938
|
-
defaultLightColorScheme:
|
|
15939
|
-
defaultDarkColorScheme:
|
|
15934
|
+
]), mJ = pJ[t], hJ = mJ || pJ, { colorSchemes: gJ = _, components: _J = v, cssVarPrefix: vJ } = hJ, yJ = Object.keys(gJ).filter((e3) => !!gJ[e3]).join(","), bJ = import_react.useMemo(() => yJ.split(","), [
|
|
15935
|
+
yJ
|
|
15936
|
+
]), xJ = typeof s == "string" ? s : s.light, SJ = typeof s == "string" ? s : s.dark, { mode: CJ, setMode: wJ, systemMode: TJ, lightColorScheme: EJ, darkColorScheme: DJ, colorScheme: OJ, setColorScheme: kJ } = useCurrentColorScheme({
|
|
15937
|
+
supportedColorSchemes: bJ,
|
|
15938
|
+
defaultLightColorScheme: xJ,
|
|
15939
|
+
defaultDarkColorScheme: SJ,
|
|
15940
15940
|
modeStorageKey: y2,
|
|
15941
15941
|
colorSchemeStorageKey: S2,
|
|
15942
|
-
defaultMode:
|
|
15942
|
+
defaultMode: gJ[xJ] && gJ[SJ] ? U : ((_b = (_a2 = gJ[hJ.defaultColorScheme]) == null ? void 0 : _a2.palette) == null ? void 0 : _b.mode) || ((_c = hJ.palette) == null ? void 0 : _c.mode),
|
|
15943
15943
|
storageManager: E,
|
|
15944
15944
|
storageWindow: O,
|
|
15945
15945
|
noSsr: K
|
|
15946
|
-
}),
|
|
15947
|
-
$ && (
|
|
15948
|
-
let
|
|
15946
|
+
}), AJ = CJ, jJ = OJ;
|
|
15947
|
+
$ && (AJ = Q.mode, jJ = Q.colorScheme);
|
|
15948
|
+
let MJ = import_react.useMemo(() => {
|
|
15949
15949
|
var _a3;
|
|
15950
|
-
let e3 =
|
|
15951
|
-
...
|
|
15952
|
-
components:
|
|
15953
|
-
colorSchemes:
|
|
15954
|
-
cssVarPrefix:
|
|
15950
|
+
let e3 = jJ || hJ.defaultColorScheme, t2 = ((_a3 = hJ.generateThemeVars) == null ? void 0 : _a3.call(hJ)) || hJ.vars, n2 = {
|
|
15951
|
+
...hJ,
|
|
15952
|
+
components: _J,
|
|
15953
|
+
colorSchemes: gJ,
|
|
15954
|
+
cssVarPrefix: vJ,
|
|
15955
15955
|
vars: t2
|
|
15956
15956
|
};
|
|
15957
15957
|
if (typeof n2.generateSpacing == "function" && (n2.spacing = n2.generateSpacing()), e3) {
|
|
15958
|
-
let t3 =
|
|
15958
|
+
let t3 = gJ[e3];
|
|
15959
15959
|
t3 && typeof t3 == "object" && Object.keys(t3).forEach((e4) => {
|
|
15960
15960
|
t3[e4] && typeof t3[e4] == "object" ? n2[e4] = {
|
|
15961
15961
|
...n2[e4],
|
|
@@ -15965,31 +15965,31 @@ try {
|
|
|
15965
15965
|
}
|
|
15966
15966
|
return c ? c(n2) : n2;
|
|
15967
15967
|
}, [
|
|
15968
|
-
|
|
15969
|
-
|
|
15970
|
-
|
|
15971
|
-
|
|
15972
|
-
|
|
15973
|
-
]),
|
|
15968
|
+
hJ,
|
|
15969
|
+
jJ,
|
|
15970
|
+
_J,
|
|
15971
|
+
gJ,
|
|
15972
|
+
vJ
|
|
15973
|
+
]), NJ = hJ.colorSchemeSelector;
|
|
15974
15974
|
useEnhancedEffect_default(() => {
|
|
15975
|
-
if (
|
|
15976
|
-
let e3 =
|
|
15977
|
-
if (e3 === "class" && (t2 = ".%s"), e3 === "data" && (t2 = "[data-%s]"), (e3 == null ? void 0 : e3.startsWith("data-")) && !e3.includes("%s") && (t2 = `[${e3}="%s"]`), t2.startsWith(".")) M.classList.remove(...
|
|
15975
|
+
if (jJ && M && NJ && NJ !== "media") {
|
|
15976
|
+
let e3 = NJ, t2 = NJ;
|
|
15977
|
+
if (e3 === "class" && (t2 = ".%s"), e3 === "data" && (t2 = "[data-%s]"), (e3 == null ? void 0 : e3.startsWith("data-")) && !e3.includes("%s") && (t2 = `[${e3}="%s"]`), t2.startsWith(".")) M.classList.remove(...bJ.map((e4) => t2.substring(1).replace("%s", e4))), M.classList.add(t2.substring(1).replace("%s", jJ));
|
|
15978
15978
|
else {
|
|
15979
|
-
let e4 = t2.replace("%s",
|
|
15979
|
+
let e4 = t2.replace("%s", jJ).match(/\[([^\]]+)\]/);
|
|
15980
15980
|
if (e4) {
|
|
15981
15981
|
let [t3, n2] = e4[1].split("=");
|
|
15982
|
-
n2 ||
|
|
15983
|
-
M.removeAttribute(t3.replace(
|
|
15982
|
+
n2 || bJ.forEach((e5) => {
|
|
15983
|
+
M.removeAttribute(t3.replace(jJ, e5));
|
|
15984
15984
|
}), M.setAttribute(t3, n2 ? n2.replace(/"|'/g, "") : "");
|
|
15985
|
-
} else M.setAttribute(t2,
|
|
15985
|
+
} else M.setAttribute(t2, jJ);
|
|
15986
15986
|
}
|
|
15987
15987
|
}
|
|
15988
15988
|
}, [
|
|
15989
|
-
|
|
15990
|
-
|
|
15989
|
+
jJ,
|
|
15990
|
+
NJ,
|
|
15991
15991
|
M,
|
|
15992
|
-
|
|
15992
|
+
bJ
|
|
15993
15993
|
]), import_react.useEffect(() => {
|
|
15994
15994
|
let e3;
|
|
15995
15995
|
if (w2 && q.current && A) {
|
|
@@ -16002,48 +16002,48 @@ try {
|
|
|
16002
16002
|
clearTimeout(e3);
|
|
16003
16003
|
};
|
|
16004
16004
|
}, [
|
|
16005
|
-
|
|
16005
|
+
jJ,
|
|
16006
16006
|
w2,
|
|
16007
16007
|
A
|
|
16008
16008
|
]), import_react.useEffect(() => (q.current = true, () => {
|
|
16009
16009
|
q.current = false;
|
|
16010
16010
|
}), []);
|
|
16011
|
-
let
|
|
16012
|
-
allColorSchemes:
|
|
16013
|
-
colorScheme:
|
|
16014
|
-
darkColorScheme:
|
|
16015
|
-
lightColorScheme:
|
|
16016
|
-
mode:
|
|
16017
|
-
setColorScheme:
|
|
16018
|
-
setMode:
|
|
16019
|
-
systemMode:
|
|
16011
|
+
let PJ = import_react.useMemo(() => ({
|
|
16012
|
+
allColorSchemes: bJ,
|
|
16013
|
+
colorScheme: jJ,
|
|
16014
|
+
darkColorScheme: DJ,
|
|
16015
|
+
lightColorScheme: EJ,
|
|
16016
|
+
mode: AJ,
|
|
16017
|
+
setColorScheme: kJ,
|
|
16018
|
+
setMode: wJ,
|
|
16019
|
+
systemMode: TJ
|
|
16020
16020
|
}), [
|
|
16021
|
-
mJ,
|
|
16022
|
-
TJ,
|
|
16023
|
-
xJ,
|
|
16024
16021
|
bJ,
|
|
16022
|
+
jJ,
|
|
16023
|
+
DJ,
|
|
16024
|
+
EJ,
|
|
16025
|
+
AJ,
|
|
16026
|
+
kJ,
|
|
16025
16027
|
wJ,
|
|
16026
|
-
|
|
16027
|
-
|
|
16028
|
-
|
|
16029
|
-
|
|
16030
|
-
|
|
16031
|
-
(z || lJ.cssVariables === false || $ && (J == null ? void 0 : J.cssVarPrefix) === fJ) && (kJ = false);
|
|
16032
|
-
let AJ = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
|
|
16028
|
+
TJ,
|
|
16029
|
+
MJ.colorSchemeSelector
|
|
16030
|
+
]), FJ = true;
|
|
16031
|
+
(z || hJ.cssVariables === false || $ && (J == null ? void 0 : J.cssVarPrefix) === vJ) && (FJ = false);
|
|
16032
|
+
let IJ = (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
|
|
16033
16033
|
children: [
|
|
16034
16034
|
(0, import_jsx_runtime.jsx)(ThemeProvider_default, {
|
|
16035
|
-
themeId:
|
|
16036
|
-
theme:
|
|
16035
|
+
themeId: mJ ? t : void 0,
|
|
16036
|
+
theme: MJ,
|
|
16037
16037
|
children: d2
|
|
16038
16038
|
}),
|
|
16039
|
-
|
|
16040
|
-
styles: ((_d =
|
|
16039
|
+
FJ && (0, import_jsx_runtime.jsx)(GlobalStyles$1, {
|
|
16040
|
+
styles: ((_d = MJ.generateStyleSheets) == null ? void 0 : _d.call(MJ)) || []
|
|
16041
16041
|
})
|
|
16042
16042
|
]
|
|
16043
16043
|
});
|
|
16044
|
-
return $ ?
|
|
16045
|
-
value:
|
|
16046
|
-
children:
|
|
16044
|
+
return $ ? IJ : (0, import_jsx_runtime.jsx)(f.Provider, {
|
|
16045
|
+
value: PJ,
|
|
16046
|
+
children: IJ
|
|
16047
16047
|
});
|
|
16048
16048
|
}
|
|
16049
16049
|
let S = typeof s == "string" ? s : s.light, w = typeof s == "string" ? s : s.dark;
|
|
@@ -17543,10 +17543,10 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
17543
17543
|
let n = useDefaultProps({
|
|
17544
17544
|
props: e,
|
|
17545
17545
|
name: "MuiInputBase"
|
|
17546
|
-
}), { "aria-describedby": i, autoComplete: a, autoFocus: o, className: s, color: c, components: d = {}, componentsProps: f = {}, defaultValue: h, disabled: _, disableInjectingGlobalStyles: v, endAdornment: y, error: S, fullWidth: w = false, id: E, inputComponent: O = "input", inputProps: A = {}, inputRef: M, margin: I, maxRows: z, minRows: U, multiline: K = false, name: q, onBlur: J, onChange: Q, onClick: $, onFocus:
|
|
17547
|
-
}, []),
|
|
17546
|
+
}), { "aria-describedby": i, autoComplete: a, autoFocus: o, className: s, color: c, components: d = {}, componentsProps: f = {}, defaultValue: h, disabled: _, disableInjectingGlobalStyles: v, endAdornment: y, error: S, fullWidth: w = false, id: E, inputComponent: O = "input", inputProps: A = {}, inputRef: M, margin: I, maxRows: z, minRows: U, multiline: K = false, name: q, onBlur: J, onChange: Q, onClick: $, onFocus: pJ, onKeyDown: mJ, onKeyUp: hJ, placeholder: gJ, readOnly: _J, renderSuffix: vJ, rows: yJ, size: bJ, slotProps: xJ = {}, slots: SJ = {}, startAdornment: CJ, type: wJ = "text", value: TJ, ...EJ } = n, DJ = A.value == null ? TJ : A.value, { current: OJ } = import_react.useRef(DJ != null), kJ = import_react.useRef(), AJ = import_react.useCallback((e2) => {
|
|
17547
|
+
}, []), jJ = useForkRef_default(kJ, M, A.ref, AJ), [MJ, NJ] = import_react.useState(false), PJ = useFormControl(), FJ = formControlState({
|
|
17548
17548
|
props: n,
|
|
17549
|
-
muiFormControl:
|
|
17549
|
+
muiFormControl: PJ,
|
|
17550
17550
|
states: [
|
|
17551
17551
|
"color",
|
|
17552
17552
|
"disabled",
|
|
@@ -17557,145 +17557,145 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
17557
17557
|
"filled"
|
|
17558
17558
|
]
|
|
17559
17559
|
});
|
|
17560
|
-
|
|
17561
|
-
!
|
|
17560
|
+
FJ.focused = PJ ? PJ.focused : MJ, import_react.useEffect(() => {
|
|
17561
|
+
!PJ && _ && MJ && (NJ(false), J && J());
|
|
17562
17562
|
}, [
|
|
17563
|
-
|
|
17563
|
+
PJ,
|
|
17564
17564
|
_,
|
|
17565
|
-
|
|
17565
|
+
MJ,
|
|
17566
17566
|
J
|
|
17567
17567
|
]);
|
|
17568
|
-
let
|
|
17569
|
-
isFilled(e2) ?
|
|
17568
|
+
let IJ = PJ && PJ.onFilled, LJ = PJ && PJ.onEmpty, RJ = import_react.useCallback((e2) => {
|
|
17569
|
+
isFilled(e2) ? IJ && IJ() : LJ && LJ();
|
|
17570
17570
|
}, [
|
|
17571
|
-
|
|
17572
|
-
|
|
17571
|
+
IJ,
|
|
17572
|
+
LJ
|
|
17573
17573
|
]);
|
|
17574
17574
|
useEnhancedEffect_default$1(() => {
|
|
17575
|
-
|
|
17576
|
-
value:
|
|
17575
|
+
OJ && RJ({
|
|
17576
|
+
value: DJ
|
|
17577
17577
|
});
|
|
17578
17578
|
}, [
|
|
17579
|
-
|
|
17580
|
-
|
|
17581
|
-
|
|
17579
|
+
DJ,
|
|
17580
|
+
RJ,
|
|
17581
|
+
OJ
|
|
17582
17582
|
]);
|
|
17583
|
-
let
|
|
17584
|
-
|
|
17585
|
-
},
|
|
17586
|
-
J && J(e2), A.onBlur && A.onBlur(e2),
|
|
17587
|
-
},
|
|
17588
|
-
if (!
|
|
17589
|
-
let t3 = e2.target ||
|
|
17583
|
+
let zJ = (e2) => {
|
|
17584
|
+
pJ && pJ(e2), A.onFocus && A.onFocus(e2), PJ && PJ.onFocus ? PJ.onFocus(e2) : NJ(true);
|
|
17585
|
+
}, BJ = (e2) => {
|
|
17586
|
+
J && J(e2), A.onBlur && A.onBlur(e2), PJ && PJ.onBlur ? PJ.onBlur(e2) : NJ(false);
|
|
17587
|
+
}, VJ = (e2, ...t2) => {
|
|
17588
|
+
if (!OJ) {
|
|
17589
|
+
let t3 = e2.target || kJ.current;
|
|
17590
17590
|
if (t3 == null) throw Error(formatMuiErrorMessage(1));
|
|
17591
|
-
|
|
17591
|
+
RJ({
|
|
17592
17592
|
value: t3.value
|
|
17593
17593
|
});
|
|
17594
17594
|
}
|
|
17595
17595
|
A.onChange && A.onChange(e2, ...t2), Q && Q(e2, ...t2);
|
|
17596
17596
|
};
|
|
17597
17597
|
import_react.useEffect(() => {
|
|
17598
|
-
|
|
17598
|
+
RJ(kJ.current);
|
|
17599
17599
|
}, []);
|
|
17600
|
-
let
|
|
17601
|
-
|
|
17602
|
-
},
|
|
17603
|
-
K &&
|
|
17600
|
+
let HJ = (e2) => {
|
|
17601
|
+
kJ.current && e2.currentTarget === e2.target && kJ.current.focus(), $ && $(e2);
|
|
17602
|
+
}, UJ = O, WJ = A;
|
|
17603
|
+
K && UJ === "input" && (WJ = yJ ? {
|
|
17604
17604
|
type: void 0,
|
|
17605
|
-
minRows:
|
|
17606
|
-
maxRows:
|
|
17607
|
-
...
|
|
17605
|
+
minRows: yJ,
|
|
17606
|
+
maxRows: yJ,
|
|
17607
|
+
...WJ
|
|
17608
17608
|
} : {
|
|
17609
17609
|
type: void 0,
|
|
17610
17610
|
maxRows: z,
|
|
17611
17611
|
minRows: U,
|
|
17612
|
-
...
|
|
17613
|
-
},
|
|
17614
|
-
let
|
|
17615
|
-
|
|
17612
|
+
...WJ
|
|
17613
|
+
}, UJ = TextareaAutosize_default);
|
|
17614
|
+
let GJ = (e2) => {
|
|
17615
|
+
RJ(e2.animationName === "mui-auto-fill-cancel" ? kJ.current : {
|
|
17616
17616
|
value: "x"
|
|
17617
17617
|
});
|
|
17618
17618
|
};
|
|
17619
17619
|
import_react.useEffect(() => {
|
|
17620
|
-
|
|
17620
|
+
PJ && PJ.setAdornedStart(!!CJ);
|
|
17621
17621
|
}, [
|
|
17622
|
-
|
|
17623
|
-
|
|
17622
|
+
PJ,
|
|
17623
|
+
CJ
|
|
17624
17624
|
]);
|
|
17625
|
-
let
|
|
17625
|
+
let KJ = {
|
|
17626
17626
|
...n,
|
|
17627
|
-
color:
|
|
17628
|
-
disabled:
|
|
17627
|
+
color: FJ.color || "primary",
|
|
17628
|
+
disabled: FJ.disabled,
|
|
17629
17629
|
endAdornment: y,
|
|
17630
|
-
error:
|
|
17631
|
-
focused:
|
|
17632
|
-
formControl:
|
|
17630
|
+
error: FJ.error,
|
|
17631
|
+
focused: FJ.focused,
|
|
17632
|
+
formControl: PJ,
|
|
17633
17633
|
fullWidth: w,
|
|
17634
|
-
hiddenLabel:
|
|
17634
|
+
hiddenLabel: FJ.hiddenLabel,
|
|
17635
17635
|
multiline: K,
|
|
17636
|
-
size:
|
|
17637
|
-
startAdornment:
|
|
17638
|
-
type:
|
|
17639
|
-
},
|
|
17640
|
-
return
|
|
17641
|
-
...
|
|
17642
|
-
...
|
|
17636
|
+
size: FJ.size,
|
|
17637
|
+
startAdornment: CJ,
|
|
17638
|
+
type: wJ
|
|
17639
|
+
}, qJ = useUtilityClasses(KJ), JJ = SJ.root || d.Root || InputBaseRoot, YJ = xJ.root || f.root || {}, XJ = SJ.input || d.Input || InputBaseInput;
|
|
17640
|
+
return WJ = {
|
|
17641
|
+
...WJ,
|
|
17642
|
+
...xJ.input ?? f.input
|
|
17643
17643
|
}, (0, import_jsx_runtime.jsxs)(import_react.Fragment, {
|
|
17644
17644
|
children: [
|
|
17645
17645
|
!v && typeof InputGlobalStyles == "function" && (_InputGlobalStyles || (_InputGlobalStyles = (0, import_jsx_runtime.jsx)(InputGlobalStyles, {}))),
|
|
17646
|
-
(0, import_jsx_runtime.jsxs)(
|
|
17647
|
-
...
|
|
17646
|
+
(0, import_jsx_runtime.jsxs)(JJ, {
|
|
17647
|
+
...YJ,
|
|
17648
17648
|
ref: t,
|
|
17649
|
-
onClick:
|
|
17650
|
-
...
|
|
17651
|
-
...!isHostComponent_default(
|
|
17649
|
+
onClick: HJ,
|
|
17650
|
+
...EJ,
|
|
17651
|
+
...!isHostComponent_default(JJ) && {
|
|
17652
17652
|
ownerState: {
|
|
17653
|
-
...
|
|
17654
|
-
...
|
|
17653
|
+
...KJ,
|
|
17654
|
+
...YJ.ownerState
|
|
17655
17655
|
}
|
|
17656
17656
|
},
|
|
17657
|
-
className: clsx_default(
|
|
17657
|
+
className: clsx_default(qJ.root, YJ.className, s, _J && "MuiInputBase-readOnly"),
|
|
17658
17658
|
children: [
|
|
17659
|
-
|
|
17659
|
+
CJ,
|
|
17660
17660
|
(0, import_jsx_runtime.jsx)(FormControlContext_default.Provider, {
|
|
17661
17661
|
value: null,
|
|
17662
|
-
children: (0, import_jsx_runtime.jsx)(
|
|
17663
|
-
"aria-invalid":
|
|
17662
|
+
children: (0, import_jsx_runtime.jsx)(XJ, {
|
|
17663
|
+
"aria-invalid": FJ.error,
|
|
17664
17664
|
"aria-describedby": i,
|
|
17665
17665
|
autoComplete: a,
|
|
17666
17666
|
autoFocus: o,
|
|
17667
17667
|
defaultValue: h,
|
|
17668
|
-
disabled:
|
|
17668
|
+
disabled: FJ.disabled,
|
|
17669
17669
|
id: E,
|
|
17670
|
-
onAnimationStart:
|
|
17670
|
+
onAnimationStart: GJ,
|
|
17671
17671
|
name: q,
|
|
17672
|
-
placeholder:
|
|
17673
|
-
readOnly:
|
|
17674
|
-
required:
|
|
17675
|
-
rows:
|
|
17676
|
-
value:
|
|
17677
|
-
onKeyDown:
|
|
17678
|
-
onKeyUp:
|
|
17679
|
-
type:
|
|
17680
|
-
...
|
|
17681
|
-
...!isHostComponent_default(
|
|
17682
|
-
as:
|
|
17672
|
+
placeholder: gJ,
|
|
17673
|
+
readOnly: _J,
|
|
17674
|
+
required: FJ.required,
|
|
17675
|
+
rows: yJ,
|
|
17676
|
+
value: DJ,
|
|
17677
|
+
onKeyDown: mJ,
|
|
17678
|
+
onKeyUp: hJ,
|
|
17679
|
+
type: wJ,
|
|
17680
|
+
...WJ,
|
|
17681
|
+
...!isHostComponent_default(XJ) && {
|
|
17682
|
+
as: UJ,
|
|
17683
17683
|
ownerState: {
|
|
17684
|
-
...
|
|
17685
|
-
...
|
|
17684
|
+
...KJ,
|
|
17685
|
+
...WJ.ownerState
|
|
17686
17686
|
}
|
|
17687
17687
|
},
|
|
17688
|
-
ref:
|
|
17689
|
-
className: clsx_default(
|
|
17690
|
-
onBlur:
|
|
17691
|
-
onChange:
|
|
17692
|
-
onFocus:
|
|
17688
|
+
ref: jJ,
|
|
17689
|
+
className: clsx_default(qJ.input, WJ.className, _J && "MuiInputBase-readOnly"),
|
|
17690
|
+
onBlur: BJ,
|
|
17691
|
+
onChange: VJ,
|
|
17692
|
+
onFocus: zJ
|
|
17693
17693
|
})
|
|
17694
17694
|
}),
|
|
17695
17695
|
y,
|
|
17696
|
-
|
|
17697
|
-
...
|
|
17698
|
-
startAdornment:
|
|
17696
|
+
vJ ? vJ({
|
|
17697
|
+
...FJ,
|
|
17698
|
+
startAdornment: CJ
|
|
17699
17699
|
}) : null
|
|
17700
17700
|
]
|
|
17701
17701
|
})
|
|
@@ -18771,30 +18771,30 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18771
18771
|
M,
|
|
18772
18772
|
i,
|
|
18773
18773
|
a
|
|
18774
|
-
]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false), $ = useJsonViewerStore((e2) => e2.onChange),
|
|
18775
|
-
|
|
18774
|
+
]), z = useJsonViewerStore((e2) => e2.setHover), U = useJsonViewerStore((e2) => e2.value), [K, q] = useInspect(i, t, a), [J, Q] = (0, import_react.useState)(false), $ = useJsonViewerStore((e2) => e2.onChange), pJ = useTextColor(), mJ = useJsonViewerStore((e2) => e2.colorspace.base0C), hJ = useJsonViewerStore((e2) => e2.colorspace.base0A), gJ = useJsonViewerStore((e2) => e2.displayComma), _J = useJsonViewerStore((e2) => e2.quotesOnKeys), vJ = useJsonViewerStore((e2) => e2.rootName), yJ = U === t, bJ = Number.isInteger(Number(A)), xJ = useJsonViewerStore((e2) => e2.enableAdd), SJ = useJsonViewerStore((e2) => e2.onAdd), CJ = (0, import_react.useMemo)(() => !SJ || a !== void 0 || xJ === false || v === false ? false : typeof xJ == "function" ? !!xJ(i, t) : !!(Array.isArray(t) || isPlainObject(t)), [
|
|
18775
|
+
SJ,
|
|
18776
18776
|
a,
|
|
18777
18777
|
i,
|
|
18778
|
-
|
|
18778
|
+
xJ,
|
|
18779
18779
|
v,
|
|
18780
18780
|
t
|
|
18781
|
-
]),
|
|
18782
|
-
|
|
18781
|
+
]), wJ = useJsonViewerStore((e2) => e2.enableDelete), TJ = useJsonViewerStore((e2) => e2.onDelete), EJ = (0, import_react.useMemo)(() => !TJ || a !== void 0 || yJ || wJ === false || v === false ? false : typeof wJ == "function" ? !!wJ(i, t) : wJ, [
|
|
18782
|
+
TJ,
|
|
18783
18783
|
a,
|
|
18784
|
-
|
|
18784
|
+
yJ,
|
|
18785
18785
|
i,
|
|
18786
|
-
|
|
18786
|
+
wJ,
|
|
18787
18787
|
v,
|
|
18788
18788
|
t
|
|
18789
|
-
]),
|
|
18790
|
-
|
|
18789
|
+
]), DJ = useJsonViewerStore((e2) => e2.enableClipboard), { copy: OJ, copied: kJ } = useClipboard(), AJ = useJsonViewerStore((e2) => e2.highlightUpdates), jJ = (0, import_react.useMemo)(() => !AJ || 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, [
|
|
18790
|
+
AJ,
|
|
18791
18791
|
n,
|
|
18792
18792
|
t
|
|
18793
|
-
]),
|
|
18793
|
+
]), MJ = (0, import_react.useRef)();
|
|
18794
18794
|
(0, import_react.useEffect)(() => {
|
|
18795
|
-
|
|
18795
|
+
MJ.current && jJ && "animate" in MJ.current && MJ.current.animate([
|
|
18796
18796
|
{
|
|
18797
|
-
backgroundColor:
|
|
18797
|
+
backgroundColor: hJ
|
|
18798
18798
|
},
|
|
18799
18799
|
{
|
|
18800
18800
|
backgroundColor: ""
|
|
@@ -18804,22 +18804,22 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18804
18804
|
easing: "ease-in"
|
|
18805
18805
|
});
|
|
18806
18806
|
}, [
|
|
18807
|
-
|
|
18808
|
-
|
|
18807
|
+
hJ,
|
|
18808
|
+
jJ,
|
|
18809
18809
|
n,
|
|
18810
18810
|
t
|
|
18811
18811
|
]);
|
|
18812
|
-
let
|
|
18812
|
+
let NJ = (0, import_react.useCallback)((e2) => {
|
|
18813
18813
|
e2.preventDefault(), h && E(h(t)), Q(true);
|
|
18814
18814
|
}, [
|
|
18815
18815
|
h,
|
|
18816
18816
|
t
|
|
18817
|
-
]),
|
|
18817
|
+
]), PJ = (0, import_react.useCallback)(() => {
|
|
18818
18818
|
Q(false), E("");
|
|
18819
18819
|
}, [
|
|
18820
18820
|
Q,
|
|
18821
18821
|
E
|
|
18822
|
-
]),
|
|
18822
|
+
]), FJ = (0, import_react.useCallback)((e2) => {
|
|
18823
18823
|
if (Q(false), _) try {
|
|
18824
18824
|
$(i, t, _(e2));
|
|
18825
18825
|
} catch {
|
|
@@ -18830,14 +18830,14 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18830
18830
|
$,
|
|
18831
18831
|
i,
|
|
18832
18832
|
t
|
|
18833
|
-
]),
|
|
18833
|
+
]), IJ = (0, import_react.useMemo)(() => J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
18834
18834
|
children: [
|
|
18835
18835
|
(0, import_jsx_runtime.jsx)(IconBox, {
|
|
18836
18836
|
children: (0, import_jsx_runtime.jsx)(CloseIcon, {
|
|
18837
18837
|
sx: {
|
|
18838
18838
|
fontSize: ".8rem"
|
|
18839
18839
|
},
|
|
18840
|
-
onClick:
|
|
18840
|
+
onClick: PJ
|
|
18841
18841
|
})
|
|
18842
18842
|
}),
|
|
18843
18843
|
(0, import_jsx_runtime.jsx)(IconBox, {
|
|
@@ -18845,22 +18845,22 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18845
18845
|
sx: {
|
|
18846
18846
|
fontSize: ".8rem"
|
|
18847
18847
|
},
|
|
18848
|
-
onClick: () =>
|
|
18848
|
+
onClick: () => FJ(w)
|
|
18849
18849
|
})
|
|
18850
18850
|
})
|
|
18851
18851
|
]
|
|
18852
18852
|
}) : (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
18853
18853
|
children: [
|
|
18854
|
-
|
|
18854
|
+
DJ && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
18855
18855
|
onClick: (e2) => {
|
|
18856
18856
|
e2.preventDefault();
|
|
18857
18857
|
try {
|
|
18858
|
-
|
|
18858
|
+
OJ(i, t, copyString);
|
|
18859
18859
|
} catch (e3) {
|
|
18860
18860
|
console.error(e3);
|
|
18861
18861
|
}
|
|
18862
18862
|
},
|
|
18863
|
-
children:
|
|
18863
|
+
children: kJ ? (0, import_jsx_runtime.jsx)(CheckIcon$1, {
|
|
18864
18864
|
sx: {
|
|
18865
18865
|
fontSize: ".8rem"
|
|
18866
18866
|
}
|
|
@@ -18871,16 +18871,16 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18871
18871
|
})
|
|
18872
18872
|
}),
|
|
18873
18873
|
f && S && h && _ && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
18874
|
-
onClick:
|
|
18874
|
+
onClick: NJ,
|
|
18875
18875
|
children: (0, import_jsx_runtime.jsx)(EditIcon, {
|
|
18876
18876
|
sx: {
|
|
18877
18877
|
fontSize: ".8rem"
|
|
18878
18878
|
}
|
|
18879
18879
|
})
|
|
18880
18880
|
}),
|
|
18881
|
-
|
|
18881
|
+
CJ && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
18882
18882
|
onClick: (e2) => {
|
|
18883
|
-
e2.preventDefault(),
|
|
18883
|
+
e2.preventDefault(), SJ == null ? void 0 : SJ(i);
|
|
18884
18884
|
},
|
|
18885
18885
|
children: (0, import_jsx_runtime.jsx)(AddBoxIcon, {
|
|
18886
18886
|
sx: {
|
|
@@ -18888,9 +18888,9 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18888
18888
|
}
|
|
18889
18889
|
})
|
|
18890
18890
|
}),
|
|
18891
|
-
|
|
18891
|
+
EJ && (0, import_jsx_runtime.jsx)(IconBox, {
|
|
18892
18892
|
onClick: (e2) => {
|
|
18893
|
-
e2.preventDefault(),
|
|
18893
|
+
e2.preventDefault(), TJ == null ? void 0 : TJ(i, t);
|
|
18894
18894
|
},
|
|
18895
18895
|
children: (0, import_jsx_runtime.jsx)(DeleteIcon, {
|
|
18896
18896
|
sx: {
|
|
@@ -18903,24 +18903,24 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18903
18903
|
f,
|
|
18904
18904
|
h,
|
|
18905
18905
|
_,
|
|
18906
|
-
|
|
18907
|
-
|
|
18906
|
+
kJ,
|
|
18907
|
+
OJ,
|
|
18908
18908
|
S,
|
|
18909
18909
|
J,
|
|
18910
|
-
|
|
18911
|
-
|
|
18912
|
-
|
|
18910
|
+
DJ,
|
|
18911
|
+
CJ,
|
|
18912
|
+
EJ,
|
|
18913
18913
|
w,
|
|
18914
18914
|
i,
|
|
18915
18915
|
t,
|
|
18916
|
-
|
|
18917
|
-
|
|
18918
|
-
|
|
18919
|
-
|
|
18920
|
-
|
|
18921
|
-
]),
|
|
18916
|
+
SJ,
|
|
18917
|
+
TJ,
|
|
18918
|
+
NJ,
|
|
18919
|
+
PJ,
|
|
18920
|
+
FJ
|
|
18921
|
+
]), LJ = (0, import_react.useMemo)(() => getValueSize(t) === 0, [
|
|
18922
18922
|
t
|
|
18923
|
-
]),
|
|
18923
|
+
]), RJ = !LJ && !!(c && d), zJ = useJsonViewerStore((e2) => e2.keyRenderer), BJ = (0, import_react.useMemo)(() => ({
|
|
18924
18924
|
path: i,
|
|
18925
18925
|
inspect: K,
|
|
18926
18926
|
setInspect: q,
|
|
@@ -18952,18 +18952,18 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18952
18952
|
className: "data-key",
|
|
18953
18953
|
sx: {
|
|
18954
18954
|
lineHeight: 1.5,
|
|
18955
|
-
color:
|
|
18955
|
+
color: pJ,
|
|
18956
18956
|
letterSpacing: 0.5,
|
|
18957
18957
|
opacity: 0.8
|
|
18958
18958
|
},
|
|
18959
18959
|
onClick: (0, import_react.useCallback)((e2) => {
|
|
18960
|
-
e2.isDefaultPrevented() ||
|
|
18960
|
+
e2.isDefaultPrevented() || LJ || q((e3) => !e3);
|
|
18961
18961
|
}, [
|
|
18962
|
-
|
|
18962
|
+
LJ,
|
|
18963
18963
|
q
|
|
18964
18964
|
]),
|
|
18965
18965
|
children: [
|
|
18966
|
-
|
|
18966
|
+
RJ ? K ? (0, import_jsx_runtime.jsx)(ExpandMoreIcon, {
|
|
18967
18967
|
className: "data-key-toggle-expanded",
|
|
18968
18968
|
sx: {
|
|
18969
18969
|
fontSize: ".8rem",
|
|
@@ -18981,27 +18981,27 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
18981
18981
|
}
|
|
18982
18982
|
}) : null,
|
|
18983
18983
|
(0, import_jsx_runtime.jsx)(Box_default, {
|
|
18984
|
-
ref:
|
|
18984
|
+
ref: MJ,
|
|
18985
18985
|
className: "data-key-key",
|
|
18986
18986
|
component: "span",
|
|
18987
|
-
children:
|
|
18987
|
+
children: yJ && O === 0 ? vJ === false ? null : _J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
18988
18988
|
children: [
|
|
18989
18989
|
'"',
|
|
18990
|
-
|
|
18990
|
+
vJ,
|
|
18991
18991
|
'"'
|
|
18992
18992
|
]
|
|
18993
18993
|
}) : (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
|
|
18994
|
-
children:
|
|
18995
|
-
}) :
|
|
18996
|
-
...
|
|
18997
|
-
}) : a === void 0 && (
|
|
18994
|
+
children: vJ
|
|
18995
|
+
}) : zJ.when(BJ) ? (0, import_jsx_runtime.jsx)(zJ, {
|
|
18996
|
+
...BJ
|
|
18997
|
+
}) : a === void 0 && (bJ ? (0, import_jsx_runtime.jsx)(Box_default, {
|
|
18998
18998
|
component: "span",
|
|
18999
18999
|
style: {
|
|
19000
|
-
color:
|
|
19001
|
-
userSelect:
|
|
19000
|
+
color: mJ,
|
|
19001
|
+
userSelect: bJ ? "none" : "auto"
|
|
19002
19002
|
},
|
|
19003
19003
|
children: A
|
|
19004
|
-
}) :
|
|
19004
|
+
}) : _J ? (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
19005
19005
|
children: [
|
|
19006
19006
|
'"',
|
|
19007
19007
|
A,
|
|
@@ -19011,7 +19011,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
19011
19011
|
children: A
|
|
19012
19012
|
}))
|
|
19013
19013
|
}),
|
|
19014
|
-
|
|
19014
|
+
yJ ? vJ !== false && (0, import_jsx_runtime.jsx)(DataBox, {
|
|
19015
19015
|
className: "data-key-colon",
|
|
19016
19016
|
sx: {
|
|
19017
19017
|
mr: 0.5
|
|
@@ -19024,38 +19024,38 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
19024
19024
|
".data-key-key:empty + &": {
|
|
19025
19025
|
display: "none"
|
|
19026
19026
|
},
|
|
19027
|
-
userSelect:
|
|
19027
|
+
userSelect: bJ ? "none" : "auto"
|
|
19028
19028
|
},
|
|
19029
19029
|
children: ":"
|
|
19030
19030
|
}),
|
|
19031
19031
|
c && (0, import_jsx_runtime.jsx)(c, {
|
|
19032
|
-
...
|
|
19032
|
+
...BJ
|
|
19033
19033
|
}),
|
|
19034
|
-
I &&
|
|
19034
|
+
I && RJ && K && IJ
|
|
19035
19035
|
]
|
|
19036
19036
|
}),
|
|
19037
19037
|
J && S ? f && (0, import_jsx_runtime.jsx)(f, {
|
|
19038
19038
|
path: i,
|
|
19039
19039
|
value: w,
|
|
19040
19040
|
setValue: E,
|
|
19041
|
-
abortEditing:
|
|
19042
|
-
commitEditing:
|
|
19041
|
+
abortEditing: PJ,
|
|
19042
|
+
commitEditing: FJ
|
|
19043
19043
|
}) : s ? (0, import_jsx_runtime.jsx)(s, {
|
|
19044
|
-
...
|
|
19044
|
+
...BJ
|
|
19045
19045
|
}) : (0, import_jsx_runtime.jsx)(Box_default, {
|
|
19046
19046
|
component: "span",
|
|
19047
19047
|
className: "data-value-fallback",
|
|
19048
19048
|
children: `fallback: ${t}`
|
|
19049
19049
|
}),
|
|
19050
19050
|
d && (0, import_jsx_runtime.jsx)(d, {
|
|
19051
|
-
...
|
|
19051
|
+
...BJ
|
|
19052
19052
|
}),
|
|
19053
|
-
!o &&
|
|
19053
|
+
!o && gJ && (0, import_jsx_runtime.jsx)(DataBox, {
|
|
19054
19054
|
children: ","
|
|
19055
19055
|
}),
|
|
19056
|
-
I &&
|
|
19057
|
-
I && !
|
|
19058
|
-
!I && J &&
|
|
19056
|
+
I && RJ && !K && IJ,
|
|
19057
|
+
I && !RJ && IJ,
|
|
19058
|
+
!I && J && IJ
|
|
19059
19059
|
]
|
|
19060
19060
|
});
|
|
19061
19061
|
}, query = "(prefers-color-scheme: dark)";
|
|
@@ -19572,20 +19572,20 @@ ${n}` : "Please fix this error.";
|
|
|
19572
19572
|
}
|
|
19573
19573
|
}), t2 == null ? void 0 : t2.focus();
|
|
19574
19574
|
}, t[5] = i, t[6] = c, t[7] = S, t[8] = v, t[9] = s, t[10] = w) : w = t[10];
|
|
19575
|
-
let
|
|
19576
|
-
t[11] !== i || t[12] !== y ? (
|
|
19575
|
+
let O = w, A;
|
|
19576
|
+
t[11] !== i || t[12] !== y ? (A = () => {
|
|
19577
19577
|
y({
|
|
19578
19578
|
prompt: buildFixInChatPrompt(i)
|
|
19579
19579
|
});
|
|
19580
|
-
}, t[11] = i, t[12] = y, t[13] =
|
|
19581
|
-
let
|
|
19582
|
-
t[14] === a ?
|
|
19583
|
-
let
|
|
19584
|
-
t[16] !== S.description || t[17] !== S.fixType || t[18] !== S.title || t[19] !==
|
|
19580
|
+
}, t[11] = i, t[12] = y, t[13] = A) : A = t[13];
|
|
19581
|
+
let M = A, I;
|
|
19582
|
+
t[14] === a ? I = t[15] : (I = cn("my-2", a), t[14] = a, t[15] = I);
|
|
19583
|
+
let z;
|
|
19584
|
+
t[16] !== S.description || t[17] !== S.fixType || t[18] !== S.title || t[19] !== O || t[20] !== M ? (z = S.fixType === "ai" ? (0, import_jsx_runtime.jsx)(AIFixButton, {
|
|
19585
19585
|
tooltip: S.description,
|
|
19586
|
-
openPrompt: () =>
|
|
19587
|
-
applyAutofix: () =>
|
|
19588
|
-
openChat:
|
|
19586
|
+
openPrompt: () => O(false),
|
|
19587
|
+
applyAutofix: () => O(true),
|
|
19588
|
+
openChat: M
|
|
19589
19589
|
}) : (0, import_jsx_runtime.jsx)(Tooltip, {
|
|
19590
19590
|
content: S.description,
|
|
19591
19591
|
align: "start",
|
|
@@ -19593,7 +19593,7 @@ ${n}` : "Please fix this error.";
|
|
|
19593
19593
|
size: "xs",
|
|
19594
19594
|
variant: "outline",
|
|
19595
19595
|
className: "font-normal",
|
|
19596
|
-
onClick: () =>
|
|
19596
|
+
onClick: () => O(false),
|
|
19597
19597
|
children: [
|
|
19598
19598
|
(0, import_jsx_runtime.jsx)(Wrench, {
|
|
19599
19599
|
className: "h-3 w-3 mr-2"
|
|
@@ -19601,12 +19601,12 @@ ${n}` : "Please fix this error.";
|
|
|
19601
19601
|
S.title
|
|
19602
19602
|
]
|
|
19603
19603
|
})
|
|
19604
|
-
}), t[16] = S.description, t[17] = S.fixType, t[18] = S.title, t[19] =
|
|
19605
|
-
let
|
|
19606
|
-
return t[22] !==
|
|
19607
|
-
className:
|
|
19608
|
-
children:
|
|
19609
|
-
}), t[22] =
|
|
19604
|
+
}), t[16] = S.description, t[17] = S.fixType, t[18] = S.title, t[19] = O, t[20] = M, t[21] = z) : z = t[21];
|
|
19605
|
+
let U;
|
|
19606
|
+
return t[22] !== I || t[23] !== z ? (U = (0, import_jsx_runtime.jsx)("div", {
|
|
19607
|
+
className: I,
|
|
19608
|
+
children: z
|
|
19609
|
+
}), t[22] = I, t[23] = z, t[24] = U) : U = t[24], U;
|
|
19610
19610
|
};
|
|
19611
19611
|
var MODE_CONFIG = {
|
|
19612
19612
|
autofix: {
|
|
@@ -20141,20 +20141,20 @@ ${n}` : "Please fix this error.";
|
|
|
20141
20141
|
let i2 = e2;
|
|
20142
20142
|
i2 && "exception_type" in i2 && (d = i2.exception_type);
|
|
20143
20143
|
}
|
|
20144
|
-
let y, S, w, E,
|
|
20144
|
+
let y, S, w, E, A, M;
|
|
20145
20145
|
if (t[2] !== f || t[3] !== i || t[4] !== s || t[5] !== a || t[6] !== n || t[7] !== c || t[8] !== v || t[9] !== _ || t[10] !== d) {
|
|
20146
|
-
let e2 = n.filter(_temp8),
|
|
20147
|
-
t[17] === s ?
|
|
20146
|
+
let e2 = n.filter(_temp8), O = n.filter(_temp9), I2 = n.filter(_temp0), z2 = 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), pJ = n.filter(_temp16), mJ = n.filter(_temp17), hJ = n.filter(_temp18), gJ;
|
|
20147
|
+
t[17] === s ? gJ = t[18] : (gJ = () => {
|
|
20148
20148
|
s.openApplication("scratchpad");
|
|
20149
|
-
}, t[17] = s, t[18] =
|
|
20150
|
-
let
|
|
20149
|
+
}, t[17] = s, t[18] = gJ);
|
|
20150
|
+
let _J = gJ, vJ = () => {
|
|
20151
20151
|
let t2 = [];
|
|
20152
|
-
if (
|
|
20153
|
-
let e3 =
|
|
20152
|
+
if (pJ.length > 0 || mJ.length > 0) {
|
|
20153
|
+
let e3 = pJ.some(_temp19), n2 = !e3 && pJ.some(_temp20);
|
|
20154
20154
|
t2.push((0, import_jsx_runtime.jsxs)("div", {
|
|
20155
20155
|
children: [
|
|
20156
|
-
|
|
20157
|
-
|
|
20156
|
+
pJ.map(_temp21),
|
|
20157
|
+
mJ.map(_temp22),
|
|
20158
20158
|
e3 && (0, import_jsx_runtime.jsxs)(Button, {
|
|
20159
20159
|
size: "xs",
|
|
20160
20160
|
variant: "outline",
|
|
@@ -20185,8 +20185,8 @@ ${n}` : "Please fix this error.";
|
|
|
20185
20185
|
}),
|
|
20186
20186
|
i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
|
|
20187
20187
|
errors: [
|
|
20188
|
-
...
|
|
20189
|
-
...
|
|
20188
|
+
...pJ,
|
|
20189
|
+
...mJ
|
|
20190
20190
|
],
|
|
20191
20191
|
cellId: i
|
|
20192
20192
|
})
|
|
@@ -20239,7 +20239,7 @@ ${n}` : "Please fix this error.";
|
|
|
20239
20239
|
]
|
|
20240
20240
|
})
|
|
20241
20241
|
]
|
|
20242
|
-
}, "setup-refs")),
|
|
20242
|
+
}, "setup-refs")), O.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
|
|
20243
20243
|
children: [
|
|
20244
20244
|
(0, import_jsx_runtime.jsx)("p", {
|
|
20245
20245
|
className: "text-muted-foreground font-medium",
|
|
@@ -20247,10 +20247,10 @@ ${n}` : "Please fix this error.";
|
|
|
20247
20247
|
}),
|
|
20248
20248
|
(0, import_jsx_runtime.jsx)("ul", {
|
|
20249
20249
|
className: "list-disc",
|
|
20250
|
-
children:
|
|
20250
|
+
children: O.flatMap(_temp24)
|
|
20251
20251
|
}),
|
|
20252
20252
|
i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
|
|
20253
|
-
errors:
|
|
20253
|
+
errors: O,
|
|
20254
20254
|
cellId: i
|
|
20255
20255
|
}),
|
|
20256
20256
|
(0, import_jsx_runtime.jsxs)(Tip, {
|
|
@@ -20347,7 +20347,7 @@ ${n}` : "Please fix this error.";
|
|
|
20347
20347
|
size: "xs",
|
|
20348
20348
|
variant: "link",
|
|
20349
20349
|
className: "my-2 font-normal mx-0 px-0",
|
|
20350
|
-
onClick:
|
|
20350
|
+
onClick: _J,
|
|
20351
20351
|
children: [
|
|
20352
20352
|
(0, import_jsx_runtime.jsx)(NotebookPen, {
|
|
20353
20353
|
className: "h-3"
|
|
@@ -20366,11 +20366,11 @@ ${n}` : "Please fix this error.";
|
|
|
20366
20366
|
]
|
|
20367
20367
|
}, "multiple-defs"));
|
|
20368
20368
|
}
|
|
20369
|
-
return
|
|
20369
|
+
return z2.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
|
|
20370
20370
|
children: [
|
|
20371
|
-
|
|
20371
|
+
z2.map(_temp27),
|
|
20372
20372
|
i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
|
|
20373
|
-
errors:
|
|
20373
|
+
errors: z2,
|
|
20374
20374
|
cellId: i
|
|
20375
20375
|
}),
|
|
20376
20376
|
(0, import_jsx_runtime.jsxs)(Tip, {
|
|
@@ -20546,18 +20546,18 @@ ${n}` : "Please fix this error.";
|
|
|
20546
20546
|
cellId: i
|
|
20547
20547
|
})
|
|
20548
20548
|
]
|
|
20549
|
-
}, "ancestor-stopped")),
|
|
20549
|
+
}, "ancestor-stopped")), hJ.length > 0 && t2.push((0, import_jsx_runtime.jsxs)("div", {
|
|
20550
20550
|
children: [
|
|
20551
|
-
|
|
20551
|
+
hJ.map(_temp35),
|
|
20552
20552
|
i && (0, import_jsx_runtime.jsx)(AutoFixButton, {
|
|
20553
|
-
errors:
|
|
20553
|
+
errors: hJ,
|
|
20554
20554
|
cellId: i,
|
|
20555
20555
|
className: "mt-2.5"
|
|
20556
20556
|
})
|
|
20557
20557
|
]
|
|
20558
20558
|
}, "sql-errors")), t2;
|
|
20559
|
-
},
|
|
20560
|
-
t[19] === v ?
|
|
20559
|
+
}, yJ;
|
|
20560
|
+
t[19] === v ? yJ = t[20] : (yJ = v && (0, import_jsx_runtime.jsxs)("div", {
|
|
20561
20561
|
className: "flex items-center gap-1 font-code text-[0.6875rem] uppercase tracking-wider text-muted-foreground/70",
|
|
20562
20562
|
children: [
|
|
20563
20563
|
v,
|
|
@@ -20569,37 +20569,37 @@ ${n}` : "Please fix this error.";
|
|
|
20569
20569
|
})
|
|
20570
20570
|
})
|
|
20571
20571
|
]
|
|
20572
|
-
}), t[19] = v, t[20] =
|
|
20573
|
-
let
|
|
20574
|
-
t[21] !== _ || t[22] !== d ? (
|
|
20572
|
+
}), t[19] = v, t[20] = yJ);
|
|
20573
|
+
let xJ;
|
|
20574
|
+
t[21] !== _ || t[22] !== d ? (xJ = d && (0, import_jsx_runtime.jsx)(AlertTitle, {
|
|
20575
20575
|
className: `font-code font-medium ${_}`,
|
|
20576
20576
|
children: d
|
|
20577
|
-
}), t[21] = _, t[22] = d, t[23] =
|
|
20578
|
-
let
|
|
20579
|
-
t[24] !==
|
|
20577
|
+
}), t[21] = _, t[22] = d, t[23] = xJ) : xJ = t[23];
|
|
20578
|
+
let SJ;
|
|
20579
|
+
t[24] !== yJ || t[25] !== xJ ? (SJ = (0, import_jsx_runtime.jsxs)("div", {
|
|
20580
20580
|
className: "space-y-0.5",
|
|
20581
20581
|
children: [
|
|
20582
|
-
|
|
20583
|
-
|
|
20582
|
+
yJ,
|
|
20583
|
+
xJ
|
|
20584
20584
|
]
|
|
20585
|
-
}), t[24] =
|
|
20586
|
-
let
|
|
20587
|
-
y = Alert, E = f, t[27] === a ?
|
|
20588
|
-
} else y = t[11], S = t[12], w = t[13], E = t[14],
|
|
20589
|
-
let
|
|
20590
|
-
t[29] !== S || t[30] !== w ? (
|
|
20585
|
+
}), t[24] = yJ, t[25] = xJ, t[26] = SJ) : SJ = t[26];
|
|
20586
|
+
let wJ = SJ;
|
|
20587
|
+
y = Alert, E = f, t[27] === a ? A = t[28] : (A = cn("border-none font-code text-sm text-[0.84375rem] p-0 text-muted-foreground normal has-[svg]:pl-0 space-y-2", a), t[27] = a, t[28] = A), M = wJ, S = "flex flex-col gap-4", w = vJ(), t[2] = f, t[3] = i, t[4] = s, t[5] = a, t[6] = n, t[7] = c, t[8] = v, t[9] = _, t[10] = d, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = A, t[16] = M;
|
|
20588
|
+
} else y = t[11], S = t[12], w = t[13], E = t[14], A = t[15], M = t[16];
|
|
20589
|
+
let I;
|
|
20590
|
+
t[29] !== S || t[30] !== w ? (I = (0, import_jsx_runtime.jsx)("div", {
|
|
20591
20591
|
className: S,
|
|
20592
20592
|
children: w
|
|
20593
|
-
}), t[29] = S, t[30] = w, t[31] =
|
|
20594
|
-
let
|
|
20595
|
-
return t[32] !== y || t[33] !== E || t[34] !==
|
|
20593
|
+
}), t[29] = S, t[30] = w, t[31] = I) : I = t[31];
|
|
20594
|
+
let z;
|
|
20595
|
+
return t[32] !== y || t[33] !== E || t[34] !== A || t[35] !== M || t[36] !== I ? (z = (0, import_jsx_runtime.jsxs)(y, {
|
|
20596
20596
|
variant: E,
|
|
20597
|
-
className:
|
|
20597
|
+
className: A,
|
|
20598
20598
|
children: [
|
|
20599
|
-
|
|
20600
|
-
|
|
20599
|
+
M,
|
|
20600
|
+
I
|
|
20601
20601
|
]
|
|
20602
|
-
}), t[32] = y, t[33] = E, t[34] =
|
|
20602
|
+
}), t[32] = y, t[33] = E, t[34] = A, t[35] = M, t[36] = I, t[37] = z) : z = t[37], z;
|
|
20603
20603
|
};
|
|
20604
20604
|
function _temp$10(e) {
|
|
20605
20605
|
return e.type === "interruption";
|
|
@@ -24596,9 +24596,10 @@ ${n}` : "Please fix this error.";
|
|
|
24596
24596
|
}
|
|
24597
24597
|
},
|
|
24598
24598
|
y: {
|
|
24599
|
-
|
|
24600
|
-
|
|
24601
|
-
|
|
24599
|
+
value: 0
|
|
24600
|
+
},
|
|
24601
|
+
y2: {
|
|
24602
|
+
value: 100
|
|
24602
24603
|
},
|
|
24603
24604
|
tooltip: [
|
|
24604
24605
|
{
|
|
@@ -24666,9 +24667,10 @@ ${n}` : "Please fix this error.";
|
|
|
24666
24667
|
scale: i
|
|
24667
24668
|
},
|
|
24668
24669
|
y: {
|
|
24669
|
-
|
|
24670
|
-
|
|
24671
|
-
|
|
24670
|
+
value: 0
|
|
24671
|
+
},
|
|
24672
|
+
y2: {
|
|
24673
|
+
value: 100
|
|
24672
24674
|
},
|
|
24673
24675
|
tooltip: [
|
|
24674
24676
|
{
|
|
@@ -24813,11 +24815,15 @@ ${n}` : "Please fix this error.";
|
|
|
24813
24815
|
};
|
|
24814
24816
|
}
|
|
24815
24817
|
var READABLE_TIME_FORMAT = "%-I:%M:%S %p";
|
|
24818
|
+
function isValidBinValue(e) {
|
|
24819
|
+
let { bin_start: t, bin_end: n } = e;
|
|
24820
|
+
return !(t == null || n == null || typeof t == "number" && !Number.isFinite(t) || typeof n == "number" && !Number.isFinite(n));
|
|
24821
|
+
}
|
|
24816
24822
|
function getPartialTimeTooltip(e) {
|
|
24817
24823
|
var _a2;
|
|
24818
24824
|
if (e.length === 0) return {};
|
|
24819
|
-
let t = (_a2 = e.find((e2) => e2
|
|
24820
|
-
if (
|
|
24825
|
+
let t = (_a2 = e.find((e2) => isValidBinValue(e2))) == null ? void 0 : _a2.bin_start;
|
|
24826
|
+
if (t == null || typeof t == "number" && t.toString().length === 4) return {};
|
|
24821
24827
|
if (typeof t == "string" && t.length === 8) return {
|
|
24822
24828
|
type: "temporal",
|
|
24823
24829
|
timeUnit: "hoursminutesseconds",
|
|
@@ -24851,7 +24857,7 @@ ${n}` : "Please fix this error.";
|
|
|
24851
24857
|
}
|
|
24852
24858
|
function calculateBinStep(e) {
|
|
24853
24859
|
if (e.length === 0) return 1;
|
|
24854
|
-
let t = e.filter(
|
|
24860
|
+
let t = e.filter(isValidBinValue);
|
|
24855
24861
|
if (t.length === 0) return 1;
|
|
24856
24862
|
let n = t[0].bin_start, i = t[0].bin_end, a, o;
|
|
24857
24863
|
if (typeof n == "number" && typeof i == "number") {
|
|
@@ -24869,15 +24875,70 @@ ${n}` : "Please fix this error.";
|
|
|
24869
24875
|
let c = s / t.length;
|
|
24870
24876
|
return Math.max(c, 1);
|
|
24871
24877
|
}
|
|
24872
|
-
|
|
24873
|
-
|
|
24874
|
-
|
|
24875
|
-
|
|
24876
|
-
|
|
24877
|
-
|
|
24878
|
-
|
|
24879
|
-
|
|
24880
|
-
|
|
24878
|
+
var MAX_BAR_HEIGHT = 20, BIN_END_EXTENSION_FACTOR = 0.1, CONCAT_CHART_HEIGHT = 30, CONCAT_CHART_WIDTH = 70, CONCAT_NULL_BAR_WIDTH = 5, BAR_COLOR = mint.mint11, UNHOVERED_BAR_OPACITY = 0.6, NULL_BAR_COLOR = orange.orange11, FULL_HEIGHT_TOOLTIP_Y = {
|
|
24879
|
+
y: {
|
|
24880
|
+
value: 0
|
|
24881
|
+
},
|
|
24882
|
+
y2: {
|
|
24883
|
+
value: CONCAT_CHART_HEIGHT
|
|
24884
|
+
}
|
|
24885
|
+
}, NULLS_TOOLTIP = [
|
|
24886
|
+
{
|
|
24887
|
+
field: "count",
|
|
24888
|
+
type: "quantitative",
|
|
24889
|
+
title: "nulls",
|
|
24890
|
+
format: ",d"
|
|
24891
|
+
}
|
|
24892
|
+
];
|
|
24893
|
+
function buildNullBarSpec(e) {
|
|
24894
|
+
return {
|
|
24895
|
+
height: CONCAT_CHART_HEIGHT,
|
|
24896
|
+
width: e.width,
|
|
24897
|
+
layer: [
|
|
24898
|
+
{
|
|
24899
|
+
mark: {
|
|
24900
|
+
type: "bar",
|
|
24901
|
+
color: NULL_BAR_COLOR
|
|
24902
|
+
},
|
|
24903
|
+
encoding: {
|
|
24904
|
+
x: {
|
|
24905
|
+
field: "bin_start",
|
|
24906
|
+
type: "nominal",
|
|
24907
|
+
axis: null
|
|
24908
|
+
},
|
|
24909
|
+
y: {
|
|
24910
|
+
field: "count",
|
|
24911
|
+
type: "quantitative",
|
|
24912
|
+
axis: null
|
|
24913
|
+
}
|
|
24914
|
+
}
|
|
24915
|
+
},
|
|
24916
|
+
{
|
|
24917
|
+
mark: {
|
|
24918
|
+
type: "bar",
|
|
24919
|
+
opacity: 0
|
|
24920
|
+
},
|
|
24921
|
+
encoding: {
|
|
24922
|
+
x: {
|
|
24923
|
+
field: "bin_start",
|
|
24924
|
+
type: "nominal",
|
|
24925
|
+
axis: null
|
|
24926
|
+
},
|
|
24927
|
+
...FULL_HEIGHT_TOOLTIP_Y,
|
|
24928
|
+
tooltip: NULLS_TOOLTIP
|
|
24929
|
+
}
|
|
24930
|
+
}
|
|
24931
|
+
],
|
|
24932
|
+
...e.filterNullOnly ? {
|
|
24933
|
+
transform: [
|
|
24934
|
+
{
|
|
24935
|
+
filter: "datum['bin_start'] === null && datum['bin_end'] === null"
|
|
24936
|
+
}
|
|
24937
|
+
]
|
|
24938
|
+
} : {}
|
|
24939
|
+
};
|
|
24940
|
+
}
|
|
24941
|
+
let import_compiler_runtime$42;
|
|
24881
24942
|
ColumnChartSpecModel = (_a = class {
|
|
24882
24943
|
constructor(e, t, n, i, a, o) {
|
|
24883
24944
|
__publicField(this, "columnStats", /* @__PURE__ */ new Map());
|
|
@@ -24913,31 +24974,40 @@ ${n}` : "Please fix this error.";
|
|
|
24913
24974
|
};
|
|
24914
24975
|
}
|
|
24915
24976
|
getVegaSpec(e) {
|
|
24916
|
-
let t = this.columnBinValues.get(e), n = this.columnValueCounts.get(e), i = n && n.length > 0, a = this.
|
|
24917
|
-
i ?
|
|
24977
|
+
let t = this.columnBinValues.get(e), n = this.columnValueCounts.get(e), i = n && n.length > 0, a = this.columnStats.get(e), o = typeof (a == null ? void 0 : a.nulls) == "number" ? a.nulls : 0, s = (t ?? []).filter(isValidBinValue), c = this.dataSpec;
|
|
24978
|
+
i ? c = {
|
|
24918
24979
|
values: n,
|
|
24919
24980
|
name: "value_counts"
|
|
24920
|
-
} :
|
|
24921
|
-
|
|
24922
|
-
|
|
24923
|
-
|
|
24924
|
-
|
|
24925
|
-
|
|
24981
|
+
} : t !== void 0 && (c = {
|
|
24982
|
+
values: o > 0 ? [
|
|
24983
|
+
...s,
|
|
24984
|
+
{
|
|
24985
|
+
bin_start: null,
|
|
24986
|
+
bin_end: null,
|
|
24987
|
+
count: o
|
|
24988
|
+
}
|
|
24989
|
+
] : s,
|
|
24926
24990
|
name: "bin_values"
|
|
24927
24991
|
});
|
|
24928
|
-
let
|
|
24929
|
-
if (
|
|
24930
|
-
switch (e = e.replaceAll(".", "\\."), e = e.replaceAll("[", "\\[").replaceAll("]", "\\]"), e = e.replaceAll(":", "\\:"),
|
|
24992
|
+
let d = this.createBase(c), f = this.fieldTypes.get(e);
|
|
24993
|
+
if (f === void 0) return null;
|
|
24994
|
+
switch (e = e.replaceAll(".", "\\."), e = e.replaceAll("[", "\\[").replaceAll("]", "\\]"), e = e.replaceAll(":", "\\:"), f) {
|
|
24931
24995
|
case "date":
|
|
24932
24996
|
case "datetime":
|
|
24933
24997
|
case "time": {
|
|
24934
|
-
if (
|
|
24998
|
+
if (t === void 0) {
|
|
24935
24999
|
let t2 = this.createBase(this.legacyDataSpec), n3 = getScale(this.legacySourceName);
|
|
24936
|
-
return getLegacyTemporalSpec(e,
|
|
25000
|
+
return getLegacyTemporalSpec(e, f, t2, n3);
|
|
24937
25001
|
}
|
|
24938
|
-
|
|
24939
|
-
|
|
24940
|
-
...
|
|
25002
|
+
if (s.length === 0) return o === 0 ? null : {
|
|
25003
|
+
...d,
|
|
25004
|
+
...buildNullBarSpec({
|
|
25005
|
+
width: CONCAT_CHART_WIDTH
|
|
25006
|
+
})
|
|
25007
|
+
};
|
|
25008
|
+
let n2 = getPartialTimeTooltip(s);
|
|
25009
|
+
if (s.length === 1 && o === 0) return {
|
|
25010
|
+
...d,
|
|
24941
25011
|
mark: {
|
|
24942
25012
|
type: "bar",
|
|
24943
25013
|
color: BAR_COLOR
|
|
@@ -25031,11 +25101,7 @@ ${n}` : "Please fix this error.";
|
|
|
25031
25101
|
type: "ordinal",
|
|
25032
25102
|
axis: null
|
|
25033
25103
|
},
|
|
25034
|
-
|
|
25035
|
-
aggregate: "max",
|
|
25036
|
-
type: "quantitative",
|
|
25037
|
-
axis: null
|
|
25038
|
-
},
|
|
25104
|
+
...FULL_HEIGHT_TOOLTIP_Y,
|
|
25039
25105
|
tooltip: [
|
|
25040
25106
|
{
|
|
25041
25107
|
field: "bin_start",
|
|
@@ -25061,20 +25127,43 @@ ${n}` : "Please fix this error.";
|
|
|
25061
25127
|
]
|
|
25062
25128
|
};
|
|
25063
25129
|
return {
|
|
25064
|
-
...
|
|
25130
|
+
...d,
|
|
25065
25131
|
...i2
|
|
25066
25132
|
};
|
|
25067
25133
|
}
|
|
25068
25134
|
case "integer":
|
|
25069
25135
|
case "number": {
|
|
25070
|
-
let n2 =
|
|
25071
|
-
if (
|
|
25136
|
+
let n2 = f === "integer" ? ",d" : ".2f";
|
|
25137
|
+
if (t === void 0) {
|
|
25072
25138
|
let t2 = this.createBase(this.legacyDataSpec);
|
|
25073
25139
|
return getLegacyNumericSpec(e, n2, t2);
|
|
25074
25140
|
}
|
|
25075
|
-
|
|
25141
|
+
if (s.length === 0) return o === 0 ? null : {
|
|
25142
|
+
...d,
|
|
25143
|
+
...buildNullBarSpec({
|
|
25144
|
+
width: CONCAT_CHART_WIDTH
|
|
25145
|
+
})
|
|
25146
|
+
};
|
|
25147
|
+
let i2 = buildNullBarSpec({
|
|
25148
|
+
width: CONCAT_NULL_BAR_WIDTH,
|
|
25149
|
+
filterNullOnly: true
|
|
25150
|
+
}), c2 = calculateBinStep(s), h = [
|
|
25151
|
+
a == null ? void 0 : a.min,
|
|
25152
|
+
a == null ? void 0 : a.p25,
|
|
25153
|
+
a == null ? void 0 : a.median,
|
|
25154
|
+
a == null ? void 0 : a.p75,
|
|
25155
|
+
a == null ? void 0 : a.p95,
|
|
25156
|
+
a == null ? void 0 : a.max
|
|
25157
|
+
].filter((e2) => typeof e2 == "number" && Number.isFinite(e2)), _ = {
|
|
25076
25158
|
height: CONCAT_CHART_HEIGHT,
|
|
25077
25159
|
width: CONCAT_CHART_WIDTH,
|
|
25160
|
+
...o > 0 ? {
|
|
25161
|
+
transform: [
|
|
25162
|
+
{
|
|
25163
|
+
filter: "datum['bin_start'] !== null && datum['bin_end'] !== null"
|
|
25164
|
+
}
|
|
25165
|
+
]
|
|
25166
|
+
} : {},
|
|
25078
25167
|
layer: [
|
|
25079
25168
|
{
|
|
25080
25169
|
mark: {
|
|
@@ -25087,7 +25176,7 @@ ${n}` : "Please fix this error.";
|
|
|
25087
25176
|
type: "quantitative",
|
|
25088
25177
|
bin: {
|
|
25089
25178
|
binned: true,
|
|
25090
|
-
step:
|
|
25179
|
+
step: c2
|
|
25091
25180
|
}
|
|
25092
25181
|
},
|
|
25093
25182
|
x2: {
|
|
@@ -25131,31 +25220,20 @@ ${n}` : "Please fix this error.";
|
|
|
25131
25220
|
type: "quantitative",
|
|
25132
25221
|
bin: {
|
|
25133
25222
|
binned: true,
|
|
25134
|
-
step:
|
|
25223
|
+
step: c2
|
|
25135
25224
|
},
|
|
25136
25225
|
axis: {
|
|
25137
25226
|
title: null,
|
|
25138
25227
|
labelFontSize: 8.5,
|
|
25139
25228
|
labelOpacity: 0.5,
|
|
25140
25229
|
labelExpr: "(datum.value >= 10000 || datum.value <= -10000) ? format(datum.value, '.2e') : format(datum.value, '.2~f')",
|
|
25141
|
-
values:
|
|
25142
|
-
o == null ? void 0 : o.min,
|
|
25143
|
-
o == null ? void 0 : o.p25,
|
|
25144
|
-
o == null ? void 0 : o.median,
|
|
25145
|
-
o == null ? void 0 : o.p75,
|
|
25146
|
-
o == null ? void 0 : o.p95,
|
|
25147
|
-
o == null ? void 0 : o.max
|
|
25148
|
-
].filter((e2) => e2 !== void 0)
|
|
25230
|
+
values: h
|
|
25149
25231
|
}
|
|
25150
25232
|
},
|
|
25151
25233
|
x2: {
|
|
25152
25234
|
field: "bin_end_extended"
|
|
25153
25235
|
},
|
|
25154
|
-
|
|
25155
|
-
aggregate: "max",
|
|
25156
|
-
type: "quantitative",
|
|
25157
|
-
axis: null
|
|
25158
|
-
},
|
|
25236
|
+
...FULL_HEIGHT_TOOLTIP_Y,
|
|
25159
25237
|
tooltip: [
|
|
25160
25238
|
{
|
|
25161
25239
|
field: "bin_range",
|
|
@@ -25176,71 +25254,17 @@ ${n}` : "Please fix this error.";
|
|
|
25176
25254
|
as: "bin_range"
|
|
25177
25255
|
},
|
|
25178
25256
|
{
|
|
25179
|
-
calculate: `datum.bin_end + ${
|
|
25257
|
+
calculate: `datum.bin_end + ${c2 * BIN_END_EXTENSION_FACTOR}`,
|
|
25180
25258
|
as: "bin_end_extended"
|
|
25181
25259
|
}
|
|
25182
25260
|
]
|
|
25183
25261
|
}
|
|
25184
25262
|
]
|
|
25185
|
-
},
|
|
25186
|
-
|
|
25187
|
-
|
|
25188
|
-
layer: [
|
|
25189
|
-
{
|
|
25190
|
-
mark: {
|
|
25191
|
-
type: "bar",
|
|
25192
|
-
color: NULL_BAR_COLOR
|
|
25193
|
-
},
|
|
25194
|
-
encoding: {
|
|
25195
|
-
x: {
|
|
25196
|
-
field: "bin_start",
|
|
25197
|
-
type: "nominal",
|
|
25198
|
-
axis: null
|
|
25199
|
-
},
|
|
25200
|
-
y: {
|
|
25201
|
-
field: "count",
|
|
25202
|
-
type: "quantitative",
|
|
25203
|
-
axis: null
|
|
25204
|
-
}
|
|
25205
|
-
}
|
|
25206
|
-
},
|
|
25207
|
-
{
|
|
25208
|
-
mark: {
|
|
25209
|
-
type: "bar",
|
|
25210
|
-
opacity: 0
|
|
25211
|
-
},
|
|
25212
|
-
encoding: {
|
|
25213
|
-
x: {
|
|
25214
|
-
field: "bin_start",
|
|
25215
|
-
type: "nominal",
|
|
25216
|
-
axis: null
|
|
25217
|
-
},
|
|
25218
|
-
y: {
|
|
25219
|
-
aggregate: "max",
|
|
25220
|
-
type: "quantitative",
|
|
25221
|
-
axis: null
|
|
25222
|
-
},
|
|
25223
|
-
tooltip: [
|
|
25224
|
-
{
|
|
25225
|
-
field: "count",
|
|
25226
|
-
type: "quantitative",
|
|
25227
|
-
title: "nulls",
|
|
25228
|
-
format: ",d"
|
|
25229
|
-
}
|
|
25230
|
-
]
|
|
25231
|
-
}
|
|
25232
|
-
}
|
|
25233
|
-
],
|
|
25234
|
-
transform: [
|
|
25235
|
-
{
|
|
25236
|
-
filter: "datum['bin_start'] === null && datum['bin_end'] === null"
|
|
25237
|
-
}
|
|
25238
|
-
]
|
|
25239
|
-
}, f = a2, h = s;
|
|
25240
|
-
return (o == null ? void 0 : o.nulls) && (h = {
|
|
25241
|
-
...s,
|
|
25263
|
+
}, v = _, y = d;
|
|
25264
|
+
return o > 0 && (y = {
|
|
25265
|
+
...d,
|
|
25242
25266
|
config: {
|
|
25243
|
-
...
|
|
25267
|
+
...d.config,
|
|
25244
25268
|
concat: {
|
|
25245
25269
|
spacing: 0
|
|
25246
25270
|
}
|
|
@@ -25250,48 +25274,48 @@ ${n}` : "Please fix this error.";
|
|
|
25250
25274
|
y: "shared"
|
|
25251
25275
|
}
|
|
25252
25276
|
}
|
|
25253
|
-
},
|
|
25277
|
+
}, v = {
|
|
25254
25278
|
hconcat: [
|
|
25255
|
-
|
|
25256
|
-
|
|
25279
|
+
i2,
|
|
25280
|
+
_
|
|
25257
25281
|
]
|
|
25258
25282
|
}), {
|
|
25259
|
-
...
|
|
25260
|
-
...
|
|
25283
|
+
...y,
|
|
25284
|
+
...v
|
|
25261
25285
|
};
|
|
25262
25286
|
}
|
|
25263
25287
|
case "boolean": {
|
|
25264
|
-
if (!(
|
|
25265
|
-
let t2 = (
|
|
25288
|
+
if (!(a == null ? void 0 : a.true) || !(a == null ? void 0 : a.false)) return getLegacyBooleanSpec(e, d, MAX_BAR_HEIGHT);
|
|
25289
|
+
let t2 = (a == null ? void 0 : a.nulls) ? 11 : MAX_BAR_HEIGHT, n2 = [
|
|
25266
25290
|
{
|
|
25267
25291
|
value: "true",
|
|
25268
|
-
count:
|
|
25292
|
+
count: a.true
|
|
25269
25293
|
},
|
|
25270
25294
|
{
|
|
25271
25295
|
value: "false",
|
|
25272
|
-
count:
|
|
25296
|
+
count: a.false
|
|
25273
25297
|
}
|
|
25274
25298
|
];
|
|
25275
|
-
(
|
|
25299
|
+
(a == null ? void 0 : a.nulls) && n2.push({
|
|
25276
25300
|
value: "null",
|
|
25277
|
-
count:
|
|
25301
|
+
count: a.nulls
|
|
25278
25302
|
});
|
|
25279
25303
|
let i2 = {
|
|
25280
25304
|
field: "count",
|
|
25281
25305
|
type: "quantitative",
|
|
25282
25306
|
format: ",d"
|
|
25283
|
-
},
|
|
25284
|
-
return Number.isNaN(
|
|
25307
|
+
}, o2 = [], s2 = Number(a.total) || Number(a.true) + Number(a.false) + Number(a.nulls);
|
|
25308
|
+
return Number.isNaN(s2) || (i2 = {
|
|
25285
25309
|
field: "count_with_percent",
|
|
25286
25310
|
type: "nominal",
|
|
25287
25311
|
title: "Count"
|
|
25288
|
-
},
|
|
25312
|
+
}, o2 = [
|
|
25289
25313
|
{
|
|
25290
|
-
calculate: `format(datum.count, ',d') + ' (' + format(datum.count / ${
|
|
25314
|
+
calculate: `format(datum.count, ',d') + ' (' + format(datum.count / ${s2} * 100, '.1f') + '%)'`,
|
|
25291
25315
|
as: "count_with_percent"
|
|
25292
25316
|
}
|
|
25293
25317
|
]), {
|
|
25294
|
-
...
|
|
25318
|
+
...d,
|
|
25295
25319
|
data: {
|
|
25296
25320
|
values: n2,
|
|
25297
25321
|
name: "boolean_values"
|
|
@@ -25309,7 +25333,7 @@ ${n}` : "Please fix this error.";
|
|
|
25309
25333
|
"false",
|
|
25310
25334
|
"null"
|
|
25311
25335
|
],
|
|
25312
|
-
scale: (
|
|
25336
|
+
scale: (a == null ? void 0 : a.nulls) ? {
|
|
25313
25337
|
paddingInner: 1
|
|
25314
25338
|
} : void 0,
|
|
25315
25339
|
axis: {
|
|
@@ -25353,7 +25377,7 @@ ${n}` : "Please fix this error.";
|
|
|
25353
25377
|
i2
|
|
25354
25378
|
]
|
|
25355
25379
|
},
|
|
25356
|
-
transform:
|
|
25380
|
+
transform: o2,
|
|
25357
25381
|
layer: [
|
|
25358
25382
|
{
|
|
25359
25383
|
mark: {
|
|
@@ -25383,19 +25407,19 @@ ${n}` : "Please fix this error.";
|
|
|
25383
25407
|
}
|
|
25384
25408
|
case "string": {
|
|
25385
25409
|
if (!i) return null;
|
|
25386
|
-
let t2 = Number(
|
|
25410
|
+
let t2 = Number(a == null ? void 0 : a.total) || n.reduce((e2, t3) => e2 + t3.count, 0), o2 = "value", s2 = [], c2 = 0;
|
|
25387
25411
|
for (let e2 of n) {
|
|
25388
|
-
let n2 =
|
|
25389
|
-
|
|
25412
|
+
let n2 = c2 + e2.count, i2 = (c2 + n2) / 2, a2 = (n2 - c2) / t2;
|
|
25413
|
+
s2.push({
|
|
25390
25414
|
count: e2.count,
|
|
25391
25415
|
value: e2.value,
|
|
25392
|
-
xStart:
|
|
25416
|
+
xStart: c2,
|
|
25393
25417
|
xEnd: n2,
|
|
25394
25418
|
xMid: i2,
|
|
25395
|
-
proportion:
|
|
25396
|
-
}),
|
|
25419
|
+
proportion: a2
|
|
25420
|
+
}), c2 = n2;
|
|
25397
25421
|
}
|
|
25398
|
-
let
|
|
25422
|
+
let f2 = [
|
|
25399
25423
|
{
|
|
25400
25424
|
calculate: t2 ? `datum.count / ${t2}` : "0",
|
|
25401
25425
|
as: "percent"
|
|
@@ -25426,7 +25450,7 @@ ${n}` : "Please fix this error.";
|
|
|
25426
25450
|
},
|
|
25427
25451
|
color: {
|
|
25428
25452
|
condition: {
|
|
25429
|
-
test: `datum.${
|
|
25453
|
+
test: `datum.${o2} == "None" || datum.${o2} == "null"`,
|
|
25430
25454
|
value: NULL_BAR_COLOR
|
|
25431
25455
|
},
|
|
25432
25456
|
value: BAR_COLOR
|
|
@@ -25442,7 +25466,7 @@ ${n}` : "Please fix this error.";
|
|
|
25442
25466
|
},
|
|
25443
25467
|
tooltip: [
|
|
25444
25468
|
{
|
|
25445
|
-
field:
|
|
25469
|
+
field: o2,
|
|
25446
25470
|
type: "nominal",
|
|
25447
25471
|
title: e
|
|
25448
25472
|
},
|
|
@@ -25479,28 +25503,28 @@ ${n}` : "Please fix this error.";
|
|
|
25479
25503
|
},
|
|
25480
25504
|
transform: [
|
|
25481
25505
|
{
|
|
25482
|
-
calculate: `datum.proportion > 0.5 ? slice(datum.${
|
|
25506
|
+
calculate: `datum.proportion > 0.5 ? slice(datum.${o2}, 0, 8) : datum.proportion > 0.2 ? slice(datum.${o2}, 0, 3) : datum.proportion > 0.1 ? slice(datum.${o2}, 0, 1) : ''`,
|
|
25483
25507
|
as: "clipped_text"
|
|
25484
25508
|
}
|
|
25485
25509
|
]
|
|
25486
25510
|
};
|
|
25487
25511
|
return {
|
|
25488
|
-
...
|
|
25512
|
+
...d,
|
|
25489
25513
|
data: {
|
|
25490
|
-
values:
|
|
25514
|
+
values: s2,
|
|
25491
25515
|
name: "value_counts"
|
|
25492
25516
|
},
|
|
25493
25517
|
layer: [
|
|
25494
25518
|
h,
|
|
25495
25519
|
_
|
|
25496
25520
|
],
|
|
25497
|
-
transform:
|
|
25521
|
+
transform: f2
|
|
25498
25522
|
};
|
|
25499
25523
|
}
|
|
25500
25524
|
case "unknown":
|
|
25501
25525
|
return null;
|
|
25502
25526
|
default:
|
|
25503
|
-
return logNever(
|
|
25527
|
+
return logNever(f), null;
|
|
25504
25528
|
}
|
|
25505
25529
|
}
|
|
25506
25530
|
}, __publicField(_a, "EMPTY", new _a([], /* @__PURE__ */ new Map(), {}, {}, {}, {
|
|
@@ -26636,7 +26660,7 @@ ${n}` : "Please fix this error.";
|
|
|
26636
26660
|
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 }) {
|
|
26637
26661
|
let E = (0, import_react.useContext)(PanelGroupContext);
|
|
26638
26662
|
if (E === null) throw Error("Panel components must be rendered within a PanelGroup container");
|
|
26639
|
-
let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, $ = useUniqueId(s),
|
|
26663
|
+
let { collapsePanel: O, expandPanel: A, getPanelSize: M, getPanelStyle: I, groupId: z, isPanelCollapsed: U, reevaluatePanelConstraints: K, registerPanel: q, resizePanel: J, unregisterPanel: Q } = E, $ = useUniqueId(s), pJ = (0, import_react.useRef)({
|
|
26640
26664
|
callbacks: {
|
|
26641
26665
|
onCollapse: f,
|
|
26642
26666
|
onExpand: h,
|
|
@@ -26656,12 +26680,12 @@ ${n}` : "Please fix this error.";
|
|
|
26656
26680
|
(0, import_react.useRef)({
|
|
26657
26681
|
didLogMissingDefaultSizeWarning: false
|
|
26658
26682
|
}), useIsomorphicLayoutEffect$1(() => {
|
|
26659
|
-
let { callbacks: e2, constraints: t2 } =
|
|
26683
|
+
let { callbacks: e2, constraints: t2 } = pJ.current, o2 = {
|
|
26660
26684
|
...t2
|
|
26661
26685
|
};
|
|
26662
|
-
|
|
26686
|
+
pJ.current.id = $, pJ.current.idIsFromProps = s !== void 0, pJ.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(pJ.current, o2);
|
|
26663
26687
|
}), useIsomorphicLayoutEffect$1(() => {
|
|
26664
|
-
let e2 =
|
|
26688
|
+
let e2 = pJ.current;
|
|
26665
26689
|
return q(e2), () => {
|
|
26666
26690
|
Q(e2);
|
|
26667
26691
|
};
|
|
@@ -26672,25 +26696,25 @@ ${n}` : "Please fix this error.";
|
|
|
26672
26696
|
Q
|
|
26673
26697
|
]), (0, import_react.useImperativeHandle)(o, () => ({
|
|
26674
26698
|
collapse: () => {
|
|
26675
|
-
O(
|
|
26699
|
+
O(pJ.current);
|
|
26676
26700
|
},
|
|
26677
26701
|
expand: (e2) => {
|
|
26678
|
-
A(
|
|
26702
|
+
A(pJ.current, e2);
|
|
26679
26703
|
},
|
|
26680
26704
|
getId() {
|
|
26681
26705
|
return $;
|
|
26682
26706
|
},
|
|
26683
26707
|
getSize() {
|
|
26684
|
-
return M(
|
|
26708
|
+
return M(pJ.current);
|
|
26685
26709
|
},
|
|
26686
26710
|
isCollapsed() {
|
|
26687
|
-
return U(
|
|
26711
|
+
return U(pJ.current);
|
|
26688
26712
|
},
|
|
26689
26713
|
isExpanded() {
|
|
26690
|
-
return !U(
|
|
26714
|
+
return !U(pJ.current);
|
|
26691
26715
|
},
|
|
26692
26716
|
resize: (e2) => {
|
|
26693
|
-
J(
|
|
26717
|
+
J(pJ.current, e2);
|
|
26694
26718
|
}
|
|
26695
26719
|
}), [
|
|
26696
26720
|
O,
|
|
@@ -26700,21 +26724,21 @@ ${n}` : "Please fix this error.";
|
|
|
26700
26724
|
$,
|
|
26701
26725
|
J
|
|
26702
26726
|
]);
|
|
26703
|
-
let
|
|
26727
|
+
let mJ = I(pJ.current, a);
|
|
26704
26728
|
return (0, import_react.createElement)(S, {
|
|
26705
26729
|
...w,
|
|
26706
26730
|
children: e,
|
|
26707
26731
|
className: t,
|
|
26708
26732
|
id: $,
|
|
26709
26733
|
style: {
|
|
26710
|
-
...
|
|
26734
|
+
...mJ,
|
|
26711
26735
|
...y
|
|
26712
26736
|
},
|
|
26713
26737
|
[DATA_ATTRIBUTES.groupId]: z,
|
|
26714
26738
|
[DATA_ATTRIBUTES.panel]: "",
|
|
26715
26739
|
[DATA_ATTRIBUTES.panelCollapsible]: i || void 0,
|
|
26716
26740
|
[DATA_ATTRIBUTES.panelId]: $,
|
|
26717
|
-
[DATA_ATTRIBUTES.panelSize]: parseFloat("" +
|
|
26741
|
+
[DATA_ATTRIBUTES.panelSize]: parseFloat("" + mJ.flexGrow).toFixed(1)
|
|
26718
26742
|
});
|
|
26719
26743
|
}
|
|
26720
26744
|
Panel = (0, import_react.forwardRef)((e, t) => (0, import_react.createElement)(PanelWithForwardedRef, {
|
|
@@ -27499,13 +27523,13 @@ ${n}` : "Please fix this error.";
|
|
|
27499
27523
|
}, [
|
|
27500
27524
|
S,
|
|
27501
27525
|
E
|
|
27502
|
-
]),
|
|
27526
|
+
]), pJ = (0, import_react.useCallback)((e2) => {
|
|
27503
27527
|
let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
|
|
27504
27528
|
return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), a2 === true && fuzzyNumbersEqual$1(o2, i2);
|
|
27505
|
-
}, []),
|
|
27529
|
+
}, []), mJ = (0, import_react.useCallback)((e2) => {
|
|
27506
27530
|
let { layout: t2, panelDataArray: n2 } = K.current, { collapsedSize: i2 = 0, collapsible: a2, panelSize: o2 } = panelDataHelper(n2, e2, t2);
|
|
27507
27531
|
return assert(o2 != null, `Panel size not found for panel "${e2.id}"`), !a2 || fuzzyCompareNumbers(o2, i2) > 0;
|
|
27508
|
-
}, []),
|
|
27532
|
+
}, []), hJ = (0, import_react.useCallback)((e2) => {
|
|
27509
27533
|
let { panelDataArray: t2 } = K.current;
|
|
27510
27534
|
t2.push(e2), t2.sort((e3, t3) => {
|
|
27511
27535
|
let n2 = e3.order, i2 = t3.order;
|
|
@@ -27537,7 +27561,7 @@ ${n}` : "Please fix this error.";
|
|
|
27537
27561
|
e2.layout = [];
|
|
27538
27562
|
};
|
|
27539
27563
|
}, []);
|
|
27540
|
-
let
|
|
27564
|
+
let gJ = (0, import_react.useCallback)((e2) => {
|
|
27541
27565
|
let t2 = false, n2 = y.current;
|
|
27542
27566
|
return n2 && window.getComputedStyle(n2, null).getPropertyValue("direction") === "rtl" && (t2 = true), function(n3) {
|
|
27543
27567
|
n3.preventDefault();
|
|
@@ -27555,7 +27579,7 @@ ${n}` : "Please fix this error.";
|
|
|
27555
27579
|
}), I2 = !compareLayouts(f2, A2);
|
|
27556
27580
|
(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));
|
|
27557
27581
|
};
|
|
27558
|
-
}, []),
|
|
27582
|
+
}, []), _J = (0, import_react.useCallback)((e2, t2) => {
|
|
27559
27583
|
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);
|
|
27560
27584
|
assert(s2 != null, `Panel size not found for panel "${e2.id}"`);
|
|
27561
27585
|
let d2 = adjustLayoutByDelta({
|
|
@@ -27567,12 +27591,12 @@ ${n}` : "Please fix this error.";
|
|
|
27567
27591
|
trigger: "imperative-api"
|
|
27568
27592
|
});
|
|
27569
27593
|
compareLayouts(i2, d2) || (O(d2), K.current.layout = d2, n2 && n2(d2), callPanelCallbacks(a2, d2, M.current));
|
|
27570
|
-
}, []),
|
|
27594
|
+
}, []), vJ = (0, import_react.useCallback)((e2, t2) => {
|
|
27571
27595
|
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);
|
|
27572
|
-
h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) ||
|
|
27596
|
+
h2 != null && (o2 && c2 && fuzzyNumbersEqual$1(h2, a2) ? fuzzyNumbersEqual$1(a2, s2) || _J(e2, s2) : h2 < f2 ? _J(e2, f2) : h2 > d2 && _J(e2, d2));
|
|
27573
27597
|
}, [
|
|
27574
|
-
|
|
27575
|
-
]),
|
|
27598
|
+
_J
|
|
27599
|
+
]), yJ = (0, import_react.useCallback)((e2, t2) => {
|
|
27576
27600
|
let { direction: n2 } = U.current, { layout: i2 } = K.current;
|
|
27577
27601
|
if (!y.current) return;
|
|
27578
27602
|
let a2 = getResizeHandleElement(e2, y.current);
|
|
@@ -27584,14 +27608,14 @@ ${n}` : "Please fix this error.";
|
|
|
27584
27608
|
initialCursorPosition: o2,
|
|
27585
27609
|
initialLayout: i2
|
|
27586
27610
|
});
|
|
27587
|
-
}, []),
|
|
27611
|
+
}, []), bJ = (0, import_react.useCallback)(() => {
|
|
27588
27612
|
w(null);
|
|
27589
|
-
}, []),
|
|
27613
|
+
}, []), xJ = (0, import_react.useCallback)((e2) => {
|
|
27590
27614
|
let { panelDataArray: t2 } = K.current, n2 = findPanelDataIndex(t2, e2);
|
|
27591
27615
|
n2 >= 0 && (t2.splice(n2, 1), delete M.current[e2.id], K.current.panelDataArrayChanged = true, A());
|
|
27592
27616
|
}, [
|
|
27593
27617
|
A
|
|
27594
|
-
]),
|
|
27618
|
+
]), SJ = (0, import_react.useMemo)(() => ({
|
|
27595
27619
|
collapsePanel: q,
|
|
27596
27620
|
direction: i,
|
|
27597
27621
|
dragState: S,
|
|
@@ -27599,15 +27623,15 @@ ${n}` : "Please fix this error.";
|
|
|
27599
27623
|
getPanelSize: Q,
|
|
27600
27624
|
getPanelStyle: $,
|
|
27601
27625
|
groupId: v,
|
|
27602
|
-
isPanelCollapsed:
|
|
27603
|
-
isPanelExpanded:
|
|
27604
|
-
reevaluatePanelConstraints:
|
|
27605
|
-
registerPanel:
|
|
27606
|
-
registerResizeHandle:
|
|
27607
|
-
resizePanel:
|
|
27608
|
-
startDragging:
|
|
27609
|
-
stopDragging:
|
|
27610
|
-
unregisterPanel:
|
|
27626
|
+
isPanelCollapsed: pJ,
|
|
27627
|
+
isPanelExpanded: mJ,
|
|
27628
|
+
reevaluatePanelConstraints: vJ,
|
|
27629
|
+
registerPanel: hJ,
|
|
27630
|
+
registerResizeHandle: gJ,
|
|
27631
|
+
resizePanel: _J,
|
|
27632
|
+
startDragging: yJ,
|
|
27633
|
+
stopDragging: bJ,
|
|
27634
|
+
unregisterPanel: xJ,
|
|
27611
27635
|
panelGroupElement: y.current
|
|
27612
27636
|
}), [
|
|
27613
27637
|
q,
|
|
@@ -27617,16 +27641,16 @@ ${n}` : "Please fix this error.";
|
|
|
27617
27641
|
Q,
|
|
27618
27642
|
$,
|
|
27619
27643
|
v,
|
|
27620
|
-
sJ,
|
|
27621
|
-
cJ,
|
|
27622
|
-
fJ,
|
|
27623
|
-
lJ,
|
|
27624
|
-
uJ,
|
|
27625
|
-
dJ,
|
|
27626
27644
|
pJ,
|
|
27627
27645
|
mJ,
|
|
27628
|
-
|
|
27629
|
-
|
|
27646
|
+
vJ,
|
|
27647
|
+
hJ,
|
|
27648
|
+
gJ,
|
|
27649
|
+
_J,
|
|
27650
|
+
yJ,
|
|
27651
|
+
bJ,
|
|
27652
|
+
xJ
|
|
27653
|
+
]), CJ = {
|
|
27630
27654
|
display: "flex",
|
|
27631
27655
|
flexDirection: i === "horizontal" ? "row" : "column",
|
|
27632
27656
|
height: "100%",
|
|
@@ -27634,7 +27658,7 @@ ${n}` : "Please fix this error.";
|
|
|
27634
27658
|
width: "100%"
|
|
27635
27659
|
};
|
|
27636
27660
|
return (0, import_react.createElement)(PanelGroupContext.Provider, {
|
|
27637
|
-
value:
|
|
27661
|
+
value: SJ
|
|
27638
27662
|
}, (0, import_react.createElement)(h, {
|
|
27639
27663
|
..._,
|
|
27640
27664
|
children: t,
|
|
@@ -27642,7 +27666,7 @@ ${n}` : "Please fix this error.";
|
|
|
27642
27666
|
id: o,
|
|
27643
27667
|
ref: y,
|
|
27644
27668
|
style: {
|
|
27645
|
-
...
|
|
27669
|
+
...CJ,
|
|
27646
27670
|
...f
|
|
27647
27671
|
},
|
|
27648
27672
|
[DATA_ATTRIBUTES.group]: "",
|
|
@@ -27719,31 +27743,31 @@ ${n}` : "Please fix this error.";
|
|
|
27719
27743
|
});
|
|
27720
27744
|
let O = (0, import_react.useContext)(PanelGroupContext);
|
|
27721
27745
|
if (O === null) throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");
|
|
27722
|
-
let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [$,
|
|
27746
|
+
let { direction: A, groupId: M, registerResizeHandle: I, startDragging: z, stopDragging: U, panelGroupElement: K } = O, q = useUniqueId(a), [J, Q] = (0, import_react.useState)("inactive"), [$, pJ] = (0, import_react.useState)(false), [mJ, hJ] = (0, import_react.useState)(null), gJ = (0, import_react.useRef)({
|
|
27723
27747
|
state: J
|
|
27724
27748
|
});
|
|
27725
27749
|
useIsomorphicLayoutEffect$1(() => {
|
|
27726
|
-
|
|
27750
|
+
gJ.current.state = J;
|
|
27727
27751
|
}), (0, import_react.useEffect)(() => {
|
|
27728
|
-
if (n)
|
|
27752
|
+
if (n) hJ(null);
|
|
27729
27753
|
else {
|
|
27730
27754
|
let e2 = I(q);
|
|
27731
|
-
|
|
27755
|
+
hJ(() => e2);
|
|
27732
27756
|
}
|
|
27733
27757
|
}, [
|
|
27734
27758
|
n,
|
|
27735
27759
|
q,
|
|
27736
27760
|
I
|
|
27737
27761
|
]);
|
|
27738
|
-
let
|
|
27762
|
+
let _J = (i == null ? void 0 : i.coarse) ?? 15, vJ = (i == null ? void 0 : i.fine) ?? 5;
|
|
27739
27763
|
(0, import_react.useEffect)(() => {
|
|
27740
|
-
if (n ||
|
|
27764
|
+
if (n || mJ == null) return;
|
|
27741
27765
|
let e2 = w.current;
|
|
27742
27766
|
assert(e2, "Element ref not attached");
|
|
27743
27767
|
let t2 = false;
|
|
27744
27768
|
return registerResizeHandle(q, e2, A, {
|
|
27745
|
-
coarse:
|
|
27746
|
-
fine:
|
|
27769
|
+
coarse: _J,
|
|
27770
|
+
fine: vJ
|
|
27747
27771
|
}, (e3, n2, i2) => {
|
|
27748
27772
|
if (!n2) {
|
|
27749
27773
|
Q("inactive");
|
|
@@ -27757,8 +27781,8 @@ ${n}` : "Please fix this error.";
|
|
|
27757
27781
|
break;
|
|
27758
27782
|
}
|
|
27759
27783
|
case "move": {
|
|
27760
|
-
let { state: e4 } =
|
|
27761
|
-
t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'),
|
|
27784
|
+
let { state: e4 } = gJ.current;
|
|
27785
|
+
t2 = true, e4 !== "drag" && Q("hover"), assert(i2, 'Expected event to be defined for "move" action'), mJ(i2);
|
|
27762
27786
|
break;
|
|
27763
27787
|
}
|
|
27764
27788
|
case "up": {
|
|
@@ -27770,22 +27794,22 @@ ${n}` : "Please fix this error.";
|
|
|
27770
27794
|
}
|
|
27771
27795
|
});
|
|
27772
27796
|
}, [
|
|
27773
|
-
|
|
27797
|
+
_J,
|
|
27774
27798
|
A,
|
|
27775
27799
|
n,
|
|
27776
|
-
|
|
27800
|
+
vJ,
|
|
27777
27801
|
I,
|
|
27778
27802
|
q,
|
|
27779
|
-
|
|
27803
|
+
mJ,
|
|
27780
27804
|
z,
|
|
27781
27805
|
U
|
|
27782
27806
|
]), useWindowSplitterResizeHandlerBehavior({
|
|
27783
27807
|
disabled: n,
|
|
27784
27808
|
handleId: q,
|
|
27785
|
-
resizeHandler:
|
|
27809
|
+
resizeHandler: mJ,
|
|
27786
27810
|
panelGroupElement: K
|
|
27787
27811
|
});
|
|
27788
|
-
let
|
|
27812
|
+
let yJ = {
|
|
27789
27813
|
touchAction: "none",
|
|
27790
27814
|
userSelect: "none"
|
|
27791
27815
|
};
|
|
@@ -27795,15 +27819,15 @@ ${n}` : "Please fix this error.";
|
|
|
27795
27819
|
className: t,
|
|
27796
27820
|
id: a,
|
|
27797
27821
|
onBlur: () => {
|
|
27798
|
-
|
|
27822
|
+
pJ(false), o == null ? void 0 : o();
|
|
27799
27823
|
},
|
|
27800
27824
|
onFocus: () => {
|
|
27801
|
-
|
|
27825
|
+
pJ(true), d == null ? void 0 : d();
|
|
27802
27826
|
},
|
|
27803
27827
|
ref: w,
|
|
27804
27828
|
role: "separator",
|
|
27805
27829
|
style: {
|
|
27806
|
-
...
|
|
27830
|
+
...yJ,
|
|
27807
27831
|
..._
|
|
27808
27832
|
},
|
|
27809
27833
|
tabIndex: v,
|
|
@@ -28102,7 +28126,7 @@ ${n}` : "Please fix this error.";
|
|
|
28102
28126
|
}, [
|
|
28103
28127
|
h
|
|
28104
28128
|
]), k(() => {
|
|
28105
|
-
U(6,
|
|
28129
|
+
U(6, mJ);
|
|
28106
28130
|
}, []);
|
|
28107
28131
|
let K = import_react.useMemo(() => ({
|
|
28108
28132
|
subscribe: (e2) => (s.current.add(e2), () => s.current.delete(e2)),
|
|
@@ -28111,7 +28135,7 @@ ${n}` : "Please fix this error.";
|
|
|
28111
28135
|
var _a2;
|
|
28112
28136
|
var a2, o2, s2;
|
|
28113
28137
|
if (!Object.is(n.current[e2], t2)) {
|
|
28114
|
-
if (n.current[e2] = t2, e2 === "search")
|
|
28138
|
+
if (n.current[e2] = t2, e2 === "search") pJ(), Q(), U(1, $);
|
|
28115
28139
|
else if (e2 === "value") {
|
|
28116
28140
|
if (document.activeElement.hasAttribute("cmdk-input") || document.activeElement.hasAttribute("cmdk-root")) {
|
|
28117
28141
|
let e3 = document.getElementById(I);
|
|
@@ -28119,8 +28143,8 @@ ${n}` : "Please fix this error.";
|
|
|
28119
28143
|
}
|
|
28120
28144
|
if (U(7, () => {
|
|
28121
28145
|
var _a3;
|
|
28122
|
-
n.current.selectedItemId = (_a3 =
|
|
28123
|
-
}), i2 || U(5,
|
|
28146
|
+
n.current.selectedItemId = (_a3 = hJ()) == null ? void 0 : _a3.id, K.emit();
|
|
28147
|
+
}), i2 || U(5, mJ), ((_a2 = c.current) == null ? void 0 : _a2.value) !== void 0) {
|
|
28124
28148
|
let e3 = t2 ?? "";
|
|
28125
28149
|
(s2 = (o2 = c.current).onValueChange) == null || s2.call(o2, e3);
|
|
28126
28150
|
return;
|
|
@@ -28145,12 +28169,12 @@ ${n}` : "Please fix this error.";
|
|
|
28145
28169
|
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([
|
|
28146
28170
|
e2
|
|
28147
28171
|
]))), U(3, () => {
|
|
28148
|
-
|
|
28172
|
+
pJ(), Q(), n.current.value || $(), K.emit();
|
|
28149
28173
|
}), () => {
|
|
28150
28174
|
o.current.delete(e2), i.current.delete(e2), n.current.filtered.items.delete(e2);
|
|
28151
|
-
let t3 =
|
|
28175
|
+
let t3 = hJ();
|
|
28152
28176
|
U(4, () => {
|
|
28153
|
-
|
|
28177
|
+
pJ(), (t3 == null ? void 0 : t3.getAttribute("id")) === e2 && $(), K.emit();
|
|
28154
28178
|
});
|
|
28155
28179
|
}),
|
|
28156
28180
|
group: (e2) => (a.current.has(e2) || a.current.set(e2, /* @__PURE__ */ new Set()), () => {
|
|
@@ -28183,7 +28207,7 @@ ${n}` : "Please fix this error.";
|
|
|
28183
28207
|
]);
|
|
28184
28208
|
});
|
|
28185
28209
|
let i2 = z.current;
|
|
28186
|
-
|
|
28210
|
+
gJ().sort((t3, n2) => {
|
|
28187
28211
|
let i3 = t3.getAttribute("id"), a2 = n2.getAttribute("id");
|
|
28188
28212
|
return (e2.get(a2) ?? 0) - (e2.get(i3) ?? 0);
|
|
28189
28213
|
}).forEach((e3) => {
|
|
@@ -28197,10 +28221,10 @@ ${n}` : "Please fix this error.";
|
|
|
28197
28221
|
}
|
|
28198
28222
|
function $() {
|
|
28199
28223
|
var _a2;
|
|
28200
|
-
let e2 = (_a2 =
|
|
28224
|
+
let e2 = (_a2 = gJ().find((e3) => e3.getAttribute("aria-disabled") !== "true")) == null ? void 0 : _a2.getAttribute(T);
|
|
28201
28225
|
K.setState("value", e2 || void 0);
|
|
28202
28226
|
}
|
|
28203
|
-
function
|
|
28227
|
+
function pJ() {
|
|
28204
28228
|
var _a2, _b;
|
|
28205
28229
|
if (!n.current.search || c.current.shouldFilter === false) {
|
|
28206
28230
|
n.current.filtered.count = i.current.size;
|
|
@@ -28218,43 +28242,43 @@ ${n}` : "Please fix this error.";
|
|
|
28218
28242
|
}
|
|
28219
28243
|
n.current.filtered.count = e2;
|
|
28220
28244
|
}
|
|
28221
|
-
function
|
|
28245
|
+
function mJ() {
|
|
28222
28246
|
var _a2, _b;
|
|
28223
28247
|
var e2;
|
|
28224
|
-
let t2 =
|
|
28248
|
+
let t2 = hJ();
|
|
28225
28249
|
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({
|
|
28226
28250
|
block: "nearest"
|
|
28227
28251
|
})), t2.scrollIntoView({
|
|
28228
28252
|
block: "nearest"
|
|
28229
28253
|
}));
|
|
28230
28254
|
}
|
|
28231
|
-
function
|
|
28255
|
+
function hJ() {
|
|
28232
28256
|
var _a2;
|
|
28233
28257
|
return (_a2 = z.current) == null ? void 0 : _a2.querySelector(`${le}[aria-selected="true"]`);
|
|
28234
28258
|
}
|
|
28235
|
-
function
|
|
28259
|
+
function gJ() {
|
|
28236
28260
|
var _a2;
|
|
28237
28261
|
return Array.from(((_a2 = z.current) == null ? void 0 : _a2.querySelectorAll(ce$1)) || []);
|
|
28238
28262
|
}
|
|
28239
|
-
function
|
|
28240
|
-
let t2 =
|
|
28263
|
+
function _J(e2) {
|
|
28264
|
+
let t2 = gJ()[e2];
|
|
28241
28265
|
t2 && K.setState("value", t2.getAttribute(T));
|
|
28242
28266
|
}
|
|
28243
|
-
function
|
|
28267
|
+
function vJ(e2) {
|
|
28244
28268
|
var t2;
|
|
28245
|
-
let n2 =
|
|
28269
|
+
let n2 = hJ(), i2 = gJ(), a2 = i2.findIndex((e3) => e3 === n2), o2 = i2[a2 + e2];
|
|
28246
28270
|
(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));
|
|
28247
28271
|
}
|
|
28248
|
-
function
|
|
28272
|
+
function yJ(e2) {
|
|
28249
28273
|
var _a2;
|
|
28250
|
-
let t2 = (_a2 =
|
|
28274
|
+
let t2 = (_a2 = hJ()) == null ? void 0 : _a2.closest(N$1), n2;
|
|
28251
28275
|
for (; t2 && !n2; ) t2 = e2 > 0 ? we(t2, N$1) : De(t2, N$1), n2 = t2 == null ? void 0 : t2.querySelector(ce$1);
|
|
28252
|
-
n2 ? K.setState("value", n2.getAttribute(T)) :
|
|
28276
|
+
n2 ? K.setState("value", n2.getAttribute(T)) : vJ(e2);
|
|
28253
28277
|
}
|
|
28254
|
-
let
|
|
28255
|
-
e2.preventDefault(), e2.metaKey ?
|
|
28256
|
-
},
|
|
28257
|
-
e2.preventDefault(), e2.metaKey ?
|
|
28278
|
+
let bJ = () => _J(gJ().length - 1), xJ = (e2) => {
|
|
28279
|
+
e2.preventDefault(), e2.metaKey ? bJ() : e2.altKey ? yJ(1) : vJ(1);
|
|
28280
|
+
}, SJ = (e2) => {
|
|
28281
|
+
e2.preventDefault(), e2.metaKey ? _J(0) : e2.altKey ? yJ(-1) : vJ(-1);
|
|
28258
28282
|
};
|
|
28259
28283
|
return import_react.createElement(Primitive.div, {
|
|
28260
28284
|
ref: t,
|
|
@@ -28268,27 +28292,27 @@ ${n}` : "Please fix this error.";
|
|
|
28268
28292
|
if (!(e2.defaultPrevented || n2)) switch (e2.key) {
|
|
28269
28293
|
case "n":
|
|
28270
28294
|
case "j":
|
|
28271
|
-
E && e2.ctrlKey &&
|
|
28295
|
+
E && e2.ctrlKey && xJ(e2);
|
|
28272
28296
|
break;
|
|
28273
28297
|
case "ArrowDown":
|
|
28274
|
-
|
|
28298
|
+
xJ(e2);
|
|
28275
28299
|
break;
|
|
28276
28300
|
case "p":
|
|
28277
28301
|
case "k":
|
|
28278
|
-
E && e2.ctrlKey &&
|
|
28302
|
+
E && e2.ctrlKey && SJ(e2);
|
|
28279
28303
|
break;
|
|
28280
28304
|
case "ArrowUp":
|
|
28281
|
-
|
|
28305
|
+
SJ(e2);
|
|
28282
28306
|
break;
|
|
28283
28307
|
case "Home":
|
|
28284
|
-
e2.preventDefault(),
|
|
28308
|
+
e2.preventDefault(), _J(0);
|
|
28285
28309
|
break;
|
|
28286
28310
|
case "End":
|
|
28287
|
-
e2.preventDefault(),
|
|
28311
|
+
e2.preventDefault(), bJ();
|
|
28288
28312
|
break;
|
|
28289
28313
|
case "Enter": {
|
|
28290
28314
|
e2.preventDefault();
|
|
28291
|
-
let t3 =
|
|
28315
|
+
let t3 = hJ();
|
|
28292
28316
|
if (t3) {
|
|
28293
28317
|
let e3 = new Event(Z);
|
|
28294
28318
|
t3.dispatchEvent(e3);
|
|
@@ -28697,153 +28721,153 @@ ${n}` : "Please fix this error.";
|
|
|
28697
28721
|
Combobox = (e) => {
|
|
28698
28722
|
let t = (0, import_compiler_runtime$35.c)(106), n, i, a, s, c, d, f, h, _, v, y, S, w, E, O, A, M, I, z, U, K, q, J, Q;
|
|
28699
28723
|
t[0] === e ? (n = t[1], i = t[2], a = t[3], s = t[4], c = t[5], d = t[6], f = t[7], h = t[8], _ = t[9], v = t[10], y = t[11], S = t[12], w = t[13], E = t[14], O = t[15], A = t[16], M = t[17], I = t[18], z = t[19], U = t[20], K = t[21], q = t[22], J = t[23], Q = t[24]) : ({ children: n, displayValue: d, className: a, placeholder: E, value: Q, defaultValue: c, onValueChange: S, multiple: I, shouldFilter: z, filterFn: f, open: w, defaultOpen: s, onOpenChange: v, inputPlaceholder: U, search: M, onSearchChange: y, emptyState: K, chips: q, chipsClassName: i, keepPopoverOpenOnSelect: _, id: h, disabled: J, renderValue: O, ...A } = e, t[0] = e, t[1] = n, t[2] = i, t[3] = a, t[4] = s, t[5] = c, t[6] = d, t[7] = f, t[8] = h, t[9] = _, t[10] = v, t[11] = y, t[12] = S, t[13] = w, t[14] = E, t[15] = O, t[16] = A, t[17] = M, t[18] = I, t[19] = z, t[20] = U, t[21] = K, t[22] = q, t[23] = J, t[24] = Q);
|
|
28700
|
-
let $ = I === void 0 ? false : I,
|
|
28701
|
-
t[25] !== v || t[26] !== w || t[27] !==
|
|
28724
|
+
let $ = I === void 0 ? false : I, pJ = z === void 0 ? true : z, mJ = U === void 0 ? "Search..." : U, hJ = K === void 0 ? "Nothing found." : K, gJ = q === void 0 ? false : q, _J = J === void 0 ? false : J, vJ = s ?? false, yJ;
|
|
28725
|
+
t[25] !== v || t[26] !== w || t[27] !== vJ ? (yJ = {
|
|
28702
28726
|
prop: w,
|
|
28703
|
-
defaultProp:
|
|
28727
|
+
defaultProp: vJ,
|
|
28704
28728
|
onChange: v
|
|
28705
|
-
}, t[25] = v, t[26] = w, t[27] =
|
|
28706
|
-
let [
|
|
28707
|
-
t[29] === S ?
|
|
28729
|
+
}, t[25] = v, t[26] = w, t[27] = vJ, t[28] = yJ) : yJ = t[28];
|
|
28730
|
+
let [bJ, xJ] = useControllableState(yJ), SJ = bJ === void 0 ? false : bJ, CJ;
|
|
28731
|
+
t[29] === S ? CJ = t[30] : (CJ = (e2) => {
|
|
28708
28732
|
S == null ? void 0 : S(e2);
|
|
28709
|
-
}, t[29] = S, t[30] =
|
|
28710
|
-
let
|
|
28711
|
-
t[31] !== c || t[32] !==
|
|
28733
|
+
}, t[29] = S, t[30] = CJ);
|
|
28734
|
+
let wJ;
|
|
28735
|
+
t[31] !== c || t[32] !== CJ || t[33] !== Q ? (wJ = {
|
|
28712
28736
|
prop: Q,
|
|
28713
28737
|
defaultProp: c,
|
|
28714
|
-
onChange:
|
|
28715
|
-
}, t[31] = c, t[32] =
|
|
28716
|
-
let [
|
|
28717
|
-
t[35] ===
|
|
28718
|
-
let
|
|
28719
|
-
t[37] !== _ || t[38] !== $ || t[39] !==
|
|
28738
|
+
onChange: CJ
|
|
28739
|
+
}, t[31] = c, t[32] = CJ, t[33] = Q, t[34] = wJ) : wJ = t[34];
|
|
28740
|
+
let [TJ, EJ] = useControllableState(wJ), DJ;
|
|
28741
|
+
t[35] === TJ ? DJ = t[36] : (DJ = (e2) => Array.isArray(TJ) ? TJ.includes(e2) : TJ === e2, t[35] = TJ, t[36] = DJ);
|
|
28742
|
+
let OJ = DJ, kJ;
|
|
28743
|
+
t[37] !== _ || t[38] !== $ || t[39] !== xJ || t[40] !== EJ || t[41] !== TJ ? (kJ = (e2) => {
|
|
28720
28744
|
let t2 = e2;
|
|
28721
|
-
if ($) if (Array.isArray(
|
|
28722
|
-
let n2 =
|
|
28745
|
+
if ($) if (Array.isArray(TJ)) if (TJ.includes(t2)) {
|
|
28746
|
+
let n2 = TJ.filter((t3) => t3 !== e2);
|
|
28723
28747
|
t2 = n2.length > 0 ? n2 : [];
|
|
28724
28748
|
} else t2 = [
|
|
28725
|
-
...
|
|
28749
|
+
...TJ,
|
|
28726
28750
|
t2
|
|
28727
28751
|
];
|
|
28728
28752
|
else t2 = [
|
|
28729
28753
|
t2
|
|
28730
28754
|
];
|
|
28731
|
-
else
|
|
28732
|
-
|
|
28733
|
-
}, t[37] = _, t[38] = $, t[39] =
|
|
28734
|
-
let
|
|
28735
|
-
t[43] !==
|
|
28736
|
-
let
|
|
28737
|
-
t[49] !==
|
|
28738
|
-
isSelected:
|
|
28739
|
-
onSelect:
|
|
28740
|
-
}, t[49] =
|
|
28741
|
-
let
|
|
28742
|
-
t[52] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
28743
|
-
let jJ;
|
|
28744
|
-
t[53] !== dJ || t[54] !== hJ ? (jJ = (e2) => {
|
|
28745
|
-
dJ && e2 || hJ(e2);
|
|
28746
|
-
}, t[53] = dJ, t[54] = hJ, t[55] = jJ) : jJ = t[55];
|
|
28747
|
-
let MJ = dJ && "cursor-not-allowed opacity-50", NJ;
|
|
28748
|
-
t[56] !== a || t[57] !== MJ ? (NJ = 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", MJ, a), t[56] = a, t[57] = MJ, t[58] = NJ) : NJ = t[58];
|
|
28749
|
-
let FJ;
|
|
28750
|
-
t[59] !== O || t[60] !== EJ || t[61] !== yJ ? (FJ = O ? O(yJ ?? null) : EJ(), t[59] = O, t[60] = EJ, t[61] = yJ, t[62] = FJ) : FJ = t[62];
|
|
28751
|
-
let IJ;
|
|
28752
|
-
t[63] === FJ ? IJ = t[64] : (IJ = (0, import_jsx_runtime.jsx)("span", {
|
|
28753
|
-
className: "truncate flex-1 min-w-0",
|
|
28754
|
-
children: FJ
|
|
28755
|
-
}), t[63] = FJ, t[64] = IJ);
|
|
28755
|
+
else TJ === e2 && (t2 = null);
|
|
28756
|
+
EJ(t2), (_ ?? $) || xJ(false);
|
|
28757
|
+
}, t[37] = _, t[38] = $, t[39] = xJ, t[40] = EJ, t[41] = TJ, t[42] = kJ) : kJ = t[42];
|
|
28758
|
+
let AJ = kJ, MJ;
|
|
28759
|
+
t[43] !== gJ || t[44] !== d || t[45] !== $ || t[46] !== E || t[47] !== TJ ? (MJ = () => $ && gJ && E ? E : TJ == null ? E ?? "--" : Array.isArray(TJ) ? TJ.length === 0 ? E ?? "--" : TJ.length === 1 && d !== void 0 ? d(TJ[0]) : `${TJ.length} selected` : d === void 0 ? E ?? "--" : d(TJ), t[43] = gJ, t[44] = d, t[45] = $, t[46] = E, t[47] = TJ, t[48] = MJ) : MJ = t[48];
|
|
28760
|
+
let NJ = MJ, PJ;
|
|
28761
|
+
t[49] !== AJ || t[50] !== OJ ? (PJ = {
|
|
28762
|
+
isSelected: OJ,
|
|
28763
|
+
onSelect: AJ
|
|
28764
|
+
}, t[49] = AJ, t[50] = OJ, t[51] = PJ) : PJ = t[51];
|
|
28765
|
+
let FJ = PJ, LJ;
|
|
28766
|
+
t[52] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (LJ = cn("relative"), t[52] = LJ) : LJ = t[52];
|
|
28756
28767
|
let RJ;
|
|
28757
|
-
t[
|
|
28768
|
+
t[53] !== _J || t[54] !== xJ ? (RJ = (e2) => {
|
|
28769
|
+
_J && e2 || xJ(e2);
|
|
28770
|
+
}, t[53] = _J, t[54] = xJ, t[55] = RJ) : RJ = t[55];
|
|
28771
|
+
let BJ = _J && "cursor-not-allowed opacity-50", VJ;
|
|
28772
|
+
t[56] !== a || t[57] !== BJ ? (VJ = 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", BJ, a), t[56] = a, t[57] = BJ, t[58] = VJ) : VJ = t[58];
|
|
28773
|
+
let HJ;
|
|
28774
|
+
t[59] !== O || t[60] !== NJ || t[61] !== TJ ? (HJ = O ? O(TJ ?? null) : NJ(), t[59] = O, t[60] = NJ, t[61] = TJ, t[62] = HJ) : HJ = t[62];
|
|
28775
|
+
let UJ;
|
|
28776
|
+
t[63] === HJ ? UJ = t[64] : (UJ = (0, import_jsx_runtime.jsx)("span", {
|
|
28777
|
+
className: "truncate flex-1 min-w-0",
|
|
28778
|
+
children: HJ
|
|
28779
|
+
}), t[63] = HJ, t[64] = UJ);
|
|
28780
|
+
let WJ;
|
|
28781
|
+
t[65] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (WJ = (0, import_jsx_runtime.jsx)(ChevronDown, {
|
|
28758
28782
|
className: "ml-3 w-4 h-4 opacity-50 shrink-0"
|
|
28759
|
-
}), t[65] =
|
|
28760
|
-
let
|
|
28761
|
-
t[66] !==
|
|
28783
|
+
}), t[65] = WJ) : WJ = t[65];
|
|
28784
|
+
let GJ;
|
|
28785
|
+
t[66] !== _J || t[67] !== h || t[68] !== SJ || t[69] !== VJ || t[70] !== UJ ? (GJ = (0, import_jsx_runtime.jsx)(PopoverTrigger, {
|
|
28762
28786
|
asChild: true,
|
|
28763
28787
|
children: (0, import_jsx_runtime.jsxs)("button", {
|
|
28764
28788
|
id: h,
|
|
28765
28789
|
type: "button",
|
|
28766
|
-
className:
|
|
28767
|
-
"aria-expanded":
|
|
28768
|
-
"aria-disabled":
|
|
28790
|
+
className: VJ,
|
|
28791
|
+
"aria-expanded": SJ,
|
|
28792
|
+
"aria-disabled": _J,
|
|
28769
28793
|
children: [
|
|
28770
|
-
|
|
28771
|
-
|
|
28794
|
+
UJ,
|
|
28795
|
+
WJ
|
|
28772
28796
|
]
|
|
28773
28797
|
})
|
|
28774
|
-
}), t[66] =
|
|
28775
|
-
let
|
|
28776
|
-
t[72] !==
|
|
28777
|
-
placeholder:
|
|
28798
|
+
}), t[66] = _J, t[67] = h, t[68] = SJ, t[69] = VJ, t[70] = UJ, t[71] = GJ) : GJ = t[71];
|
|
28799
|
+
let KJ;
|
|
28800
|
+
t[72] !== mJ || t[73] !== y || t[74] !== M ? (KJ = (0, import_jsx_runtime.jsx)(CommandInput, {
|
|
28801
|
+
placeholder: mJ,
|
|
28778
28802
|
rootClassName: "px-1 h-8",
|
|
28779
28803
|
autoFocus: true,
|
|
28780
28804
|
value: M,
|
|
28781
28805
|
onValueChange: y
|
|
28782
|
-
}), t[72] =
|
|
28783
|
-
let
|
|
28784
|
-
t[76] ===
|
|
28785
|
-
children:
|
|
28786
|
-
}), t[76] =
|
|
28787
|
-
let
|
|
28788
|
-
t[78] !== n || t[79] !==
|
|
28789
|
-
value:
|
|
28806
|
+
}), t[72] = mJ, t[73] = y, t[74] = M, t[75] = KJ) : KJ = t[75];
|
|
28807
|
+
let qJ;
|
|
28808
|
+
t[76] === hJ ? qJ = t[77] : (qJ = (0, import_jsx_runtime.jsx)(CommandEmpty, {
|
|
28809
|
+
children: hJ
|
|
28810
|
+
}), t[76] = hJ, t[77] = qJ);
|
|
28811
|
+
let JJ;
|
|
28812
|
+
t[78] !== n || t[79] !== FJ ? (JJ = (0, import_jsx_runtime.jsx)(ComboboxContext, {
|
|
28813
|
+
value: FJ,
|
|
28790
28814
|
children: n
|
|
28791
|
-
}), t[78] = n, t[79] =
|
|
28792
|
-
let
|
|
28793
|
-
t[81] !==
|
|
28815
|
+
}), t[78] = n, t[79] = FJ, t[80] = JJ) : JJ = t[80];
|
|
28816
|
+
let YJ;
|
|
28817
|
+
t[81] !== qJ || t[82] !== JJ ? (YJ = (0, import_jsx_runtime.jsxs)(CommandList, {
|
|
28794
28818
|
className: "max-h-60 py-.5",
|
|
28795
28819
|
children: [
|
|
28796
|
-
|
|
28797
|
-
|
|
28820
|
+
qJ,
|
|
28821
|
+
JJ
|
|
28798
28822
|
]
|
|
28799
|
-
}), t[81] =
|
|
28800
|
-
let
|
|
28801
|
-
t[84] !== f || t[85] !==
|
|
28823
|
+
}), t[81] = qJ, t[82] = JJ, t[83] = YJ) : YJ = t[83];
|
|
28824
|
+
let XJ;
|
|
28825
|
+
t[84] !== f || t[85] !== pJ || t[86] !== KJ || t[87] !== YJ ? (XJ = (0, import_jsx_runtime.jsx)(PopoverContent, {
|
|
28802
28826
|
className: "w-full min-w-(--radix-popover-trigger-width) p-0",
|
|
28803
28827
|
align: "start",
|
|
28804
28828
|
children: (0, import_jsx_runtime.jsxs)(Command, {
|
|
28805
28829
|
filter: f,
|
|
28806
|
-
shouldFilter:
|
|
28830
|
+
shouldFilter: pJ,
|
|
28807
28831
|
children: [
|
|
28808
|
-
|
|
28809
|
-
|
|
28832
|
+
KJ,
|
|
28833
|
+
YJ
|
|
28810
28834
|
]
|
|
28811
28835
|
})
|
|
28812
|
-
}), t[84] = f, t[85] =
|
|
28813
|
-
let
|
|
28814
|
-
t[89] !==
|
|
28815
|
-
open:
|
|
28816
|
-
onOpenChange:
|
|
28836
|
+
}), t[84] = f, t[85] = pJ, t[86] = KJ, t[87] = YJ, t[88] = XJ) : XJ = t[88];
|
|
28837
|
+
let ZJ;
|
|
28838
|
+
t[89] !== SJ || t[90] !== RJ || t[91] !== GJ || t[92] !== XJ ? (ZJ = (0, import_jsx_runtime.jsxs)(Popover, {
|
|
28839
|
+
open: SJ,
|
|
28840
|
+
onOpenChange: RJ,
|
|
28817
28841
|
children: [
|
|
28818
|
-
|
|
28819
|
-
|
|
28842
|
+
GJ,
|
|
28843
|
+
XJ
|
|
28820
28844
|
]
|
|
28821
|
-
}), t[89] =
|
|
28822
|
-
let
|
|
28823
|
-
t[94] !==
|
|
28845
|
+
}), t[89] = SJ, t[90] = RJ, t[91] = GJ, t[92] = XJ, t[93] = ZJ) : ZJ = t[93];
|
|
28846
|
+
let QJ;
|
|
28847
|
+
t[94] !== gJ || t[95] !== i || t[96] !== _J || t[97] !== d || t[98] !== AJ || t[99] !== $ || t[100] !== TJ ? (QJ = $ && gJ && (0, import_jsx_runtime.jsx)("div", {
|
|
28824
28848
|
className: cn("flex flex-col gap-1 items-start", i),
|
|
28825
|
-
children: Array.isArray(
|
|
28849
|
+
children: Array.isArray(TJ) && TJ.map((e2) => e2 == null ? null : (0, import_jsx_runtime.jsxs)(Badge, {
|
|
28826
28850
|
variant: "secondary",
|
|
28827
28851
|
children: [
|
|
28828
28852
|
(d == null ? void 0 : d(e2)) ?? String(e2),
|
|
28829
28853
|
(0, import_jsx_runtime.jsx)(CircleX, {
|
|
28830
28854
|
onClick: () => {
|
|
28831
|
-
|
|
28855
|
+
_J || AJ(e2);
|
|
28832
28856
|
},
|
|
28833
|
-
className: cn("w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer",
|
|
28857
|
+
className: cn("w-3 h-3 opacity-50 hover:opacity-100 ml-1 cursor-pointer", _J && "pointer-events-none")
|
|
28834
28858
|
})
|
|
28835
28859
|
]
|
|
28836
28860
|
}, String(e2)))
|
|
28837
|
-
}), t[94] =
|
|
28838
|
-
let
|
|
28839
|
-
return t[102] !== A || t[103] !==
|
|
28840
|
-
className:
|
|
28861
|
+
}), t[94] = gJ, t[95] = i, t[96] = _J, t[97] = d, t[98] = AJ, t[99] = $, t[100] = TJ, t[101] = QJ) : QJ = t[101];
|
|
28862
|
+
let $J;
|
|
28863
|
+
return t[102] !== A || t[103] !== ZJ || t[104] !== QJ ? ($J = (0, import_jsx_runtime.jsxs)("div", {
|
|
28864
|
+
className: LJ,
|
|
28841
28865
|
...A,
|
|
28842
28866
|
children: [
|
|
28843
|
-
|
|
28844
|
-
|
|
28867
|
+
ZJ,
|
|
28868
|
+
QJ
|
|
28845
28869
|
]
|
|
28846
|
-
}), t[102] = A, t[103] =
|
|
28870
|
+
}), t[102] = A, t[103] = ZJ, t[104] = QJ, t[105] = $J) : $J = t[105], $J;
|
|
28847
28871
|
};
|
|
28848
28872
|
ComboboxItem = import_react.forwardRef((e, t) => {
|
|
28849
28873
|
let n = (0, import_compiler_runtime$35.c)(20), { children: i, className: a, value: s, onSelect: c, disabled: d } = e, f = typeof s == "object" && "value" in s ? s.value : String(s), h = import_react.use(ComboboxContext), _;
|
|
@@ -29594,12 +29618,12 @@ ${n}` : "Please fix this error.";
|
|
|
29594
29618
|
onChange: E,
|
|
29595
29619
|
className: s
|
|
29596
29620
|
}, c), t[31] = s, t[32] = n, t[33] = E, t[34] = c, t[35] = A, t[36] = M) : M = t[36];
|
|
29597
|
-
let
|
|
29598
|
-
return t[37] !== S || t[38] !== M ? (
|
|
29621
|
+
let I;
|
|
29622
|
+
return t[37] !== S || t[38] !== M ? (I = (0, import_jsx_runtime.jsx)("div", {
|
|
29599
29623
|
onPasteCapture: S,
|
|
29600
29624
|
className: "contents",
|
|
29601
29625
|
children: M
|
|
29602
|
-
}), t[37] = S, t[38] = M, t[39] =
|
|
29626
|
+
}), t[37] = S, t[38] = M, t[39] = I) : I = t[39], I;
|
|
29603
29627
|
};
|
|
29604
29628
|
function _temp$5(e) {
|
|
29605
29629
|
return e + 1;
|
|
@@ -29899,17 +29923,17 @@ ${n}` : "Please fix this error.";
|
|
|
29899
29923
|
searchQuery: M,
|
|
29900
29924
|
filteredOptions: z
|
|
29901
29925
|
}, t[9] = z, t[10] = n, t[11] = _, t[12] = M, t[13] = i, t[14] = U) : U = t[14];
|
|
29902
|
-
let { open: K, setOpen: q, repin: J, visibleOptions: Q, pinnedCount: $ } = usePinning(U),
|
|
29903
|
-
t[15] !== c || t[16] !== s || t[17] !== o || t[18] !== a || t[19] !== y || t[20] !== i ? (
|
|
29926
|
+
let { open: K, setOpen: q, repin: J, visibleOptions: Q, pinnedCount: $ } = usePinning(U), pJ;
|
|
29927
|
+
t[15] !== c || t[16] !== s || t[17] !== o || t[18] !== a || t[19] !== y || t[20] !== i ? (pJ = {
|
|
29904
29928
|
value: i,
|
|
29905
29929
|
onChange: a,
|
|
29906
29930
|
multiple: o,
|
|
29907
29931
|
maxSelections: s,
|
|
29908
29932
|
allowSelectNone: c,
|
|
29909
29933
|
selected: y
|
|
29910
|
-
}, t[15] = c, t[16] = s, t[17] = o, t[18] = a, t[19] = y, t[20] = i, t[21] =
|
|
29911
|
-
let { isChecked:
|
|
29912
|
-
t[22] !== z || t[23] !== s || t[24] !== o || t[25] !== a || t[26] !== n || t[27] !== M || t[28] !== i ? (
|
|
29934
|
+
}, t[15] = c, t[16] = s, t[17] = o, t[18] = a, t[19] = y, t[20] = i, t[21] = pJ) : pJ = t[21];
|
|
29935
|
+
let { isChecked: mJ, toggle: hJ } = useToggle(pJ), gJ;
|
|
29936
|
+
t[22] !== z || t[23] !== s || t[24] !== o || t[25] !== a || t[26] !== n || t[27] !== M || t[28] !== i ? (gJ = {
|
|
29913
29937
|
value: i,
|
|
29914
29938
|
onChange: a,
|
|
29915
29939
|
multiple: o,
|
|
@@ -29917,24 +29941,24 @@ ${n}` : "Please fix this error.";
|
|
|
29917
29941
|
filteredOptions: z,
|
|
29918
29942
|
searchQuery: M,
|
|
29919
29943
|
maxSelections: s
|
|
29920
|
-
}, t[22] = z, t[23] = s, t[24] = o, t[25] = a, t[26] = n, t[27] = M, t[28] = i, t[29] =
|
|
29921
|
-
let { bulkActions:
|
|
29922
|
-
t[30] !== J || t[31] !== I ? (
|
|
29944
|
+
}, t[22] = z, t[23] = s, t[24] = o, t[25] = a, t[26] = n, t[27] = M, t[28] = i, t[29] = gJ) : gJ = t[29];
|
|
29945
|
+
let { bulkActions: _J } = useBulk(gJ), vJ;
|
|
29946
|
+
t[30] !== J || t[31] !== I ? (vJ = (e2) => {
|
|
29923
29947
|
I(e2), e2 === "" && J();
|
|
29924
|
-
}, t[30] = J, t[31] = I, t[32] =
|
|
29925
|
-
let
|
|
29926
|
-
return t[33] !==
|
|
29948
|
+
}, t[30] = J, t[31] = I, t[32] = vJ) : vJ = t[32];
|
|
29949
|
+
let yJ = vJ, bJ;
|
|
29950
|
+
return t[33] !== _J || t[34] !== mJ || t[35] !== O || t[36] !== K || t[37] !== $ || t[38] !== M || t[39] !== q || t[40] !== yJ || t[41] !== hJ || t[42] !== Q ? (bJ = {
|
|
29927
29951
|
searchQuery: M,
|
|
29928
|
-
setSearchQuery:
|
|
29952
|
+
setSearchQuery: yJ,
|
|
29929
29953
|
open: K,
|
|
29930
29954
|
setOpen: q,
|
|
29931
29955
|
visibleOptions: Q,
|
|
29932
29956
|
pinnedCount: $,
|
|
29933
|
-
isChecked:
|
|
29934
|
-
toggle:
|
|
29935
|
-
bulkActions:
|
|
29957
|
+
isChecked: mJ,
|
|
29958
|
+
toggle: hJ,
|
|
29959
|
+
bulkActions: _J,
|
|
29936
29960
|
labelOf: O
|
|
29937
|
-
}, t[33] =
|
|
29961
|
+
}, t[33] = _J, t[34] = mJ, t[35] = O, t[36] = K, t[37] = $, t[38] = M, t[39] = q, t[40] = yJ, t[41] = hJ, t[42] = Q, t[43] = bJ) : bJ = t[43], bJ;
|
|
29938
29962
|
};
|
|
29939
29963
|
const Sets = {
|
|
29940
29964
|
merge(...e) {
|
|
@@ -30263,7 +30287,7 @@ ${n}` : "Please fix this error.";
|
|
|
30263
30287
|
type: S,
|
|
30264
30288
|
operator: E,
|
|
30265
30289
|
draft: mergeNumberTextDraft(A, I)
|
|
30266
|
-
}), $ = Q === void 0,
|
|
30290
|
+
}), $ = Q === void 0, pJ = $ ? getMissingValueMessage(S, E) : "Apply filter", mJ = () => {
|
|
30267
30291
|
if (!Q) return;
|
|
30268
30292
|
let e2 = Q;
|
|
30269
30293
|
t.setColumnFilters((t2) => {
|
|
@@ -30282,20 +30306,20 @@ ${n}` : "Please fix this error.";
|
|
|
30282
30306
|
value: e2
|
|
30283
30307
|
}, n2;
|
|
30284
30308
|
}), i();
|
|
30285
|
-
},
|
|
30309
|
+
}, hJ = () => {
|
|
30286
30310
|
a !== void 0 && t.setColumnFilters((e2) => e2.filter((e3, t2) => t2 !== a)), i();
|
|
30287
|
-
},
|
|
30311
|
+
}, gJ = !OPERATORS_WITHOUT_VALUE.has(E), _J = OPERATORS_BY_TYPE[S], vJ = (0, import_react.useRef)(null), yJ = (0, import_react.useRef)(null);
|
|
30288
30312
|
return (0, import_react.useEffect)(() => {
|
|
30289
30313
|
var _a2, _b;
|
|
30290
|
-
let e2 = (_a2 =
|
|
30291
|
-
e2 ? e2.focus() : (_b =
|
|
30314
|
+
let e2 = (_a2 = vJ.current) == null ? void 0 : _a2.querySelector('input, [role="spinbutton"], [role="combobox"], button');
|
|
30315
|
+
e2 ? e2.focus() : (_b = yJ.current) == null ? void 0 : _b.focus();
|
|
30292
30316
|
}, [
|
|
30293
30317
|
S,
|
|
30294
30318
|
E
|
|
30295
30319
|
]), (0, import_jsx_runtime.jsxs)("form", {
|
|
30296
30320
|
className: "flex flex-row gap-4 items-end p-3",
|
|
30297
30321
|
onSubmit: (e2) => {
|
|
30298
|
-
e2.preventDefault(),
|
|
30322
|
+
e2.preventDefault(), mJ();
|
|
30299
30323
|
},
|
|
30300
30324
|
onKeyDownCapture: (e2) => {
|
|
30301
30325
|
e2.key === "Tab" && e2.stopPropagation();
|
|
@@ -30336,13 +30360,13 @@ ${n}` : "Please fix this error.";
|
|
|
30336
30360
|
onValueChange: (e2) => J(e2),
|
|
30337
30361
|
children: [
|
|
30338
30362
|
(0, import_jsx_runtime.jsx)(SelectTrigger, {
|
|
30339
|
-
ref:
|
|
30363
|
+
ref: yJ,
|
|
30340
30364
|
id: s,
|
|
30341
30365
|
className: "h-6 mb-1 bg-transparent",
|
|
30342
30366
|
children: (0, import_jsx_runtime.jsx)(SelectValue, {})
|
|
30343
30367
|
}),
|
|
30344
30368
|
(0, import_jsx_runtime.jsx)(SelectContent, {
|
|
30345
|
-
children:
|
|
30369
|
+
children: _J.map((e2) => (0, import_jsx_runtime.jsx)(SelectItem, {
|
|
30346
30370
|
value: e2,
|
|
30347
30371
|
children: OPERATOR_LABELS[e2]
|
|
30348
30372
|
}, e2))
|
|
@@ -30351,8 +30375,8 @@ ${n}` : "Please fix this error.";
|
|
|
30351
30375
|
}, S)
|
|
30352
30376
|
]
|
|
30353
30377
|
}),
|
|
30354
|
-
|
|
30355
|
-
ref:
|
|
30378
|
+
gJ && (0, import_jsx_runtime.jsxs)("div", {
|
|
30379
|
+
ref: vJ,
|
|
30356
30380
|
className: "flex flex-col gap-1",
|
|
30357
30381
|
children: [
|
|
30358
30382
|
(0, import_jsx_runtime.jsx)("label", {
|
|
@@ -30379,7 +30403,7 @@ ${n}` : "Please fix this error.";
|
|
|
30379
30403
|
className: "flex gap-1 mb-1",
|
|
30380
30404
|
children: [
|
|
30381
30405
|
(0, import_jsx_runtime.jsx)(Tooltip, {
|
|
30382
|
-
content:
|
|
30406
|
+
content: pJ,
|
|
30383
30407
|
children: (0, import_jsx_runtime.jsx)("span", {
|
|
30384
30408
|
className: "inline-flex",
|
|
30385
30409
|
children: (0, import_jsx_runtime.jsx)(Button, {
|
|
@@ -30418,7 +30442,7 @@ ${n}` : "Please fix this error.";
|
|
|
30418
30442
|
size: "icon",
|
|
30419
30443
|
variant: "ghost",
|
|
30420
30444
|
className: "rounded-full text-destructive hover:text-destructive hover:bg-destructive/10",
|
|
30421
|
-
onClick:
|
|
30445
|
+
onClick: hJ,
|
|
30422
30446
|
"aria-label": "Remove filter",
|
|
30423
30447
|
children: (0, import_jsx_runtime.jsx)(Trash2, {
|
|
30424
30448
|
className: "h-3.5 w-3.5",
|
|
@@ -32626,29 +32650,29 @@ ${n}` : "Please fix this error.";
|
|
|
32626
32650
|
}, t[16] = a, t[17] = J);
|
|
32627
32651
|
let Q = useEvent_default(J), $;
|
|
32628
32652
|
t[18] === S ? $ = t[19] : ($ = () => S(), t[18] = S, t[19] = $);
|
|
32629
|
-
let
|
|
32630
|
-
t[20] === S ? (
|
|
32653
|
+
let pJ = useEvent_default($), mJ, hJ;
|
|
32654
|
+
t[20] === S ? (mJ = t[21], hJ = t[22]) : (mJ = () => (window.addEventListener("scroll", S, {
|
|
32631
32655
|
passive: true,
|
|
32632
32656
|
capture: true
|
|
32633
32657
|
}), window.addEventListener("resize", S), () => {
|
|
32634
32658
|
window.removeEventListener("scroll", S, {
|
|
32635
32659
|
capture: true
|
|
32636
32660
|
}), window.removeEventListener("resize", S);
|
|
32637
|
-
}),
|
|
32661
|
+
}), hJ = [
|
|
32638
32662
|
S
|
|
32639
|
-
], t[20] = S, t[21] =
|
|
32640
|
-
let
|
|
32641
|
-
t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
32642
|
-
let
|
|
32643
|
-
return t[25] !==
|
|
32663
|
+
], t[20] = S, t[21] = mJ, t[22] = hJ), (0, import_react.useEffect)(mJ, hJ);
|
|
32664
|
+
let gJ, _J;
|
|
32665
|
+
t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (gJ = () => v, _J = [], t[23] = gJ, t[24] = _J) : (gJ = t[23], _J = t[24]), (0, import_react.useEffect)(gJ, _J);
|
|
32666
|
+
let vJ;
|
|
32667
|
+
return t[25] !== pJ || t[26] !== Q || t[27] !== q || t[28] !== U || t[29] !== S || t[30] !== d || t[31] !== o ? (vJ = {
|
|
32644
32668
|
tooltipState: o,
|
|
32645
32669
|
tooltipContentId: d,
|
|
32646
32670
|
hideTooltip: S,
|
|
32647
32671
|
handleCellMouseOver: U,
|
|
32648
32672
|
handleCellMouseLeave: q,
|
|
32649
32673
|
handleCellFocus: Q,
|
|
32650
|
-
handleCellBlur:
|
|
32651
|
-
}, t[25] =
|
|
32674
|
+
handleCellBlur: pJ
|
|
32675
|
+
}, t[25] = pJ, t[26] = Q, t[27] = q, t[28] = U, t[29] = S, t[30] = d, t[31] = o, t[32] = vJ) : vJ = t[32], vJ;
|
|
32652
32676
|
}
|
|
32653
32677
|
var import_compiler_runtime$18 = require_compiler_runtime();
|
|
32654
32678
|
const CellRangeSelectionIndicator = (0, import_react.memo)((e) => {
|
|
@@ -33925,6 +33949,13 @@ ${n}` : "Please fix this error.";
|
|
|
33925
33949
|
let n = URL.createObjectURL(e);
|
|
33926
33950
|
downloadByURL(n, t), URL.revokeObjectURL(n);
|
|
33927
33951
|
};
|
|
33952
|
+
downloadExportedFile = function({ contents: e, filename: t, mediaType: n }) {
|
|
33953
|
+
downloadBlob(new Blob([
|
|
33954
|
+
e
|
|
33955
|
+
], {
|
|
33956
|
+
type: n
|
|
33957
|
+
}), t);
|
|
33958
|
+
};
|
|
33928
33959
|
var import_compiler_runtime$11 = require_compiler_runtime();
|
|
33929
33960
|
InstallPackageButton = (e) => {
|
|
33930
33961
|
let t = (0, import_compiler_runtime$11.c)(13), { packages: n, showMaxPackages: i, className: a, onInstall: s } = e, { handleInstallPackages: c } = useInstallPackages(), d = useInstallAllowed();
|
|
@@ -34086,7 +34117,7 @@ ${n}` : "Please fix this error.";
|
|
|
34086
34117
|
filename: i2.filename
|
|
34087
34118
|
};
|
|
34088
34119
|
}, t[6] = e, t[7] = O);
|
|
34089
|
-
let A = O, M, I, z, U, K, q, J, Q, $,
|
|
34120
|
+
let A = O, M, I, z, U, K, q, J, Q, $, pJ, mJ, hJ, gJ;
|
|
34090
34121
|
if (t[8] !== E || t[9] !== c || t[10] !== n || t[11] !== A || t[12] !== d) {
|
|
34091
34122
|
let e2 = async (t2) => {
|
|
34092
34123
|
let n2 = labelForDownloadFormat(t2);
|
|
@@ -34152,10 +34183,10 @@ ${n}` : "Please fix this error.";
|
|
|
34152
34183
|
content: d,
|
|
34153
34184
|
open: o,
|
|
34154
34185
|
children: h
|
|
34155
|
-
}), t[32] = o, t[33] = h, t[34] = d, t[35] = Q) : Q = t[35], M = DropdownMenuContent, $ = "bottom",
|
|
34186
|
+
}), t[32] = o, t[33] = h, t[34] = d, t[35] = Q) : Q = t[35], M = DropdownMenuContent, $ = "bottom", pJ = "print:hidden", t[36] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (mJ = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
|
|
34156
34187
|
className: "text-xs text-muted-foreground",
|
|
34157
34188
|
children: "Download"
|
|
34158
|
-
}), t[36] =
|
|
34189
|
+
}), t[36] = mJ) : mJ = t[36], hJ = downloadOptions.map((t2) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
|
|
34159
34190
|
onSelect: () => {
|
|
34160
34191
|
e2(t2.format);
|
|
34161
34192
|
},
|
|
@@ -34176,10 +34207,10 @@ ${n}` : "Please fix this error.";
|
|
|
34176
34207
|
]
|
|
34177
34208
|
})
|
|
34178
34209
|
]
|
|
34179
|
-
}, t2.label)), t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
34210
|
+
}, t2.label)), t[37] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (gJ = (0, import_jsx_runtime.jsx)(DropdownMenuSeparator, {}), z = (0, import_jsx_runtime.jsx)(DropdownMenuLabel, {
|
|
34180
34211
|
className: "text-xs text-muted-foreground",
|
|
34181
34212
|
children: "Copy to clipboard"
|
|
34182
|
-
}), t[37] = z, t[38] =
|
|
34213
|
+
}), t[37] = z, t[38] = gJ) : (z = t[37], gJ = t[38]), U = copyOptions.map((e3) => (0, import_jsx_runtime.jsxs)(DropdownMenuItem, {
|
|
34183
34214
|
onSelect: async () => {
|
|
34184
34215
|
try {
|
|
34185
34216
|
await a2(e3.format);
|
|
@@ -34208,30 +34239,30 @@ ${n}` : "Please fix this error.";
|
|
|
34208
34239
|
]
|
|
34209
34240
|
})
|
|
34210
34241
|
]
|
|
34211
|
-
}, e3.label)), t[8] = E, t[9] = c, t[10] = n, t[11] = A, t[12] = d, t[13] = M, t[14] = I, t[15] = z, t[16] = U, t[17] = K, t[18] = q, t[19] = J, t[20] = Q, t[21] = $, t[22] =
|
|
34212
|
-
} 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],
|
|
34213
|
-
let
|
|
34214
|
-
t[39] !== M || t[40] !== z || t[41] !== U || t[42] !== $ || t[43] !==
|
|
34242
|
+
}, e3.label)), t[8] = E, t[9] = c, t[10] = n, t[11] = A, t[12] = d, t[13] = M, t[14] = I, t[15] = z, t[16] = U, t[17] = K, t[18] = q, t[19] = J, t[20] = Q, t[21] = $, t[22] = pJ, t[23] = mJ, t[24] = hJ, t[25] = gJ;
|
|
34243
|
+
} else M = t[13], I = t[14], z = t[15], U = t[16], K = t[17], q = t[18], J = t[19], Q = t[20], $ = t[21], pJ = t[22], mJ = t[23], hJ = t[24], gJ = t[25];
|
|
34244
|
+
let _J;
|
|
34245
|
+
t[39] !== M || t[40] !== z || t[41] !== U || t[42] !== $ || t[43] !== pJ || t[44] !== mJ || t[45] !== hJ || t[46] !== gJ ? (_J = (0, import_jsx_runtime.jsxs)(M, {
|
|
34215
34246
|
side: $,
|
|
34216
|
-
className:
|
|
34247
|
+
className: pJ,
|
|
34217
34248
|
children: [
|
|
34218
|
-
|
|
34219
|
-
|
|
34220
|
-
|
|
34249
|
+
mJ,
|
|
34250
|
+
hJ,
|
|
34251
|
+
gJ,
|
|
34221
34252
|
z,
|
|
34222
34253
|
U
|
|
34223
34254
|
]
|
|
34224
|
-
}), t[39] = M, t[40] = z, t[41] = U, t[42] = $, t[43] =
|
|
34225
|
-
let
|
|
34226
|
-
return t[48] !== I || t[49] !== K || t[50] !== q || t[51] !== J || t[52] !== Q || t[53] !==
|
|
34255
|
+
}), t[39] = M, t[40] = z, t[41] = U, t[42] = $, t[43] = pJ, t[44] = mJ, t[45] = hJ, t[46] = gJ, t[47] = _J) : _J = t[47];
|
|
34256
|
+
let vJ;
|
|
34257
|
+
return t[48] !== I || t[49] !== K || t[50] !== q || t[51] !== J || t[52] !== Q || t[53] !== _J ? (vJ = (0, import_jsx_runtime.jsxs)(I, {
|
|
34227
34258
|
modal: K,
|
|
34228
34259
|
open: q,
|
|
34229
34260
|
onOpenChange: J,
|
|
34230
34261
|
children: [
|
|
34231
34262
|
Q,
|
|
34232
|
-
|
|
34263
|
+
_J
|
|
34233
34264
|
]
|
|
34234
|
-
}), t[48] = I, t[49] = K, t[50] = q, t[51] = J, t[52] = Q, t[53] =
|
|
34265
|
+
}), t[48] = I, t[49] = K, t[50] = q, t[51] = J, t[52] = Q, t[53] = _J, t[54] = vJ) : vJ = t[54], vJ;
|
|
34235
34266
|
};
|
|
34236
34267
|
function fetchJson(e) {
|
|
34237
34268
|
return fetchText(e).then(jsonParseWithSpecialChar);
|
|
@@ -34327,22 +34358,22 @@ ${n}` : "Please fix this error.";
|
|
|
34327
34358
|
]
|
|
34328
34359
|
});
|
|
34329
34360
|
};
|
|
34330
|
-
DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: a, rawData: s, selection: c, totalColumns: d, totalRows: f, sizeBytes: _, sizeBytesIsLoading: v, manualSorting: y = false, sorting: S, setSorting: w, rowSelection: E, cellSelection: O, cellStyling: A, hoverTemplate: M, cellHoverTexts: I, paginationState: z, setPaginationState: U, downloadAs: K, manualPagination: q = false, pagination: J = false, onRowSelectionChange: Q, onCellSelectionChange: $, getRowIds:
|
|
34331
|
-
let
|
|
34361
|
+
DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: a, rawData: s, selection: c, totalColumns: d, totalRows: f, sizeBytes: _, sizeBytesIsLoading: v, manualSorting: y = false, sorting: S, setSorting: w, rowSelection: E, cellSelection: O, cellStyling: A, hoverTemplate: M, cellHoverTexts: I, paginationState: z, setPaginationState: U, downloadAs: K, manualPagination: q = false, pagination: J = false, onRowSelectionChange: Q, onCellSelectionChange: $, getRowIds: pJ, showSearch: mJ = false, searchQuery: hJ, onSearchQueryChange: gJ, showFilters: _J = false, filters: vJ, onFiltersChange: yJ, calculateTopKRows: bJ, reloading: xJ, freezeColumnsLeft: SJ, freezeColumnsRight: CJ, hiddenColumns: wJ, toggleDisplayHeader: TJ, showChartBuilder: EJ, isChartBuilderOpen: DJ, showPageSizeSelector: OJ, showTableExplorer: kJ, togglePanel: AJ, isPanelOpen: jJ, isAnyPanelOpen: MJ, viewedRowIdx: NJ, onViewedRowChange: PJ, renderTableExplorerPanel: FJ }) => {
|
|
34362
|
+
let IJ = isStaticNotebook(), LJ = !IJ, [RJ, zJ] = import_react.useState(false), { locale: BJ } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: VJ, setColumnPinning: HJ } = useColumnPinning(SJ, CJ), { columnVisibility: UJ, setColumnVisibility: WJ } = useColumnVisibility(wJ);
|
|
34332
34363
|
import_react.useEffect(() => {
|
|
34333
34364
|
let e2;
|
|
34334
|
-
return
|
|
34335
|
-
|
|
34336
|
-
}, 300) :
|
|
34365
|
+
return xJ ? e2 = setTimeout(() => {
|
|
34366
|
+
zJ(true);
|
|
34367
|
+
}, 300) : zJ(false), () => {
|
|
34337
34368
|
e2 && clearTimeout(e2);
|
|
34338
34369
|
};
|
|
34339
34370
|
}, [
|
|
34340
|
-
|
|
34371
|
+
xJ
|
|
34341
34372
|
]);
|
|
34342
|
-
function
|
|
34373
|
+
function GJ(e2, t2) {
|
|
34343
34374
|
return z ? t2 + (q ? z.pageIndex * z.pageSize : 0) : t2;
|
|
34344
34375
|
}
|
|
34345
|
-
let
|
|
34376
|
+
let KJ = useReactTable({
|
|
34346
34377
|
_features: [
|
|
34347
34378
|
ColumnPinning,
|
|
34348
34379
|
ColumnWrappingFeature,
|
|
@@ -34366,37 +34397,37 @@ ${n}` : "Please fix this error.";
|
|
|
34366
34397
|
getRowId: (e2, t2) => {
|
|
34367
34398
|
let n2 = getStableRowId(e2);
|
|
34368
34399
|
if (n2) return n2;
|
|
34369
|
-
let i2 =
|
|
34400
|
+
let i2 = GJ(e2, t2);
|
|
34370
34401
|
return String(i2);
|
|
34371
34402
|
}
|
|
34372
34403
|
} : {},
|
|
34373
|
-
locale:
|
|
34404
|
+
locale: BJ,
|
|
34374
34405
|
manualPagination: q,
|
|
34375
34406
|
getPaginationRowModel: getPaginationRowModel(),
|
|
34376
34407
|
...w ? {
|
|
34377
34408
|
onSortingChange: w
|
|
34378
34409
|
} : {},
|
|
34379
34410
|
manualSorting: y,
|
|
34380
|
-
enableSorting: !
|
|
34411
|
+
enableSorting: !IJ,
|
|
34381
34412
|
enableMultiSort: true,
|
|
34382
34413
|
getSortedRowModel: getSortedRowModel(),
|
|
34383
34414
|
manualFiltering: true,
|
|
34384
|
-
enableColumnFilters:
|
|
34415
|
+
enableColumnFilters: _J && !IJ,
|
|
34385
34416
|
getFilteredRowModel: getFilteredRowModel(),
|
|
34386
|
-
onColumnFiltersChange:
|
|
34417
|
+
onColumnFiltersChange: yJ,
|
|
34387
34418
|
onRowSelectionChange: Q,
|
|
34388
34419
|
onCellSelectionChange: $,
|
|
34389
34420
|
enableCellSelection: c === "single-cell" || c === "multi-cell",
|
|
34390
34421
|
enableMultiCellSelection: c === "multi-cell",
|
|
34391
|
-
onColumnPinningChange:
|
|
34392
|
-
onColumnVisibilityChange:
|
|
34422
|
+
onColumnPinningChange: HJ,
|
|
34423
|
+
onColumnVisibilityChange: WJ,
|
|
34393
34424
|
enableFocusRow: true,
|
|
34394
|
-
onFocusRowChange:
|
|
34425
|
+
onFocusRowChange: PJ,
|
|
34395
34426
|
state: {
|
|
34396
34427
|
...S ? {
|
|
34397
34428
|
sorting: S
|
|
34398
34429
|
} : {},
|
|
34399
|
-
columnFilters:
|
|
34430
|
+
columnFilters: vJ,
|
|
34400
34431
|
...z ? {
|
|
34401
34432
|
pagination: z
|
|
34402
34433
|
} : J && !z ? {} : {
|
|
@@ -34407,60 +34438,60 @@ ${n}` : "Please fix this error.";
|
|
|
34407
34438
|
},
|
|
34408
34439
|
rowSelection: E ?? {},
|
|
34409
34440
|
cellSelection: O ?? [],
|
|
34410
|
-
columnVisibility:
|
|
34441
|
+
columnVisibility: UJ,
|
|
34411
34442
|
cellStyling: A,
|
|
34412
|
-
columnPinning:
|
|
34443
|
+
columnPinning: VJ,
|
|
34413
34444
|
cellHoverTemplate: M,
|
|
34414
34445
|
cellHoverTexts: I ?? {}
|
|
34415
34446
|
}
|
|
34416
|
-
}),
|
|
34447
|
+
}), qJ = (jJ == null ? void 0 : jJ(PANEL_TYPES.ROW_VIEWER)) ?? false, JJ = !J && a.length > 100, YJ = useScrollContainerHeight({
|
|
34417
34448
|
maxHeight: n,
|
|
34418
|
-
virtualize:
|
|
34419
|
-
}), [
|
|
34449
|
+
virtualize: JJ
|
|
34450
|
+
}), [XJ, ZJ] = import_react.useState(null), QJ = import_react.useMemo(() => ({
|
|
34420
34451
|
requestAddFilter: (e2) => {
|
|
34421
|
-
let t2 =
|
|
34422
|
-
t2 &&
|
|
34452
|
+
let t2 = KJ.getColumn(e2.columnId);
|
|
34453
|
+
t2 && ZJ(buildEditorSnapshot(t2, {
|
|
34423
34454
|
operator: e2.operator
|
|
34424
34455
|
}));
|
|
34425
34456
|
}
|
|
34426
34457
|
}), [
|
|
34427
|
-
|
|
34428
|
-
]),
|
|
34458
|
+
KJ
|
|
34459
|
+
]), $J = getUserColumnVisibilityCounts(KJ), eY = $J.total > 0 && $J.visible === 0;
|
|
34429
34460
|
return (0, import_jsx_runtime.jsx)(FilterEditorProvider, {
|
|
34430
|
-
value:
|
|
34461
|
+
value: QJ,
|
|
34431
34462
|
children: (0, import_jsx_runtime.jsxs)("div", {
|
|
34432
34463
|
className: cn(e, "flex flex-col space-y-1"),
|
|
34433
34464
|
children: [
|
|
34434
34465
|
(0, import_jsx_runtime.jsx)(FilterPills, {
|
|
34435
|
-
filters:
|
|
34436
|
-
table:
|
|
34437
|
-
calculateTopKRows:
|
|
34438
|
-
addFilterSnapshot:
|
|
34439
|
-
onAddFilterSnapshotChange:
|
|
34466
|
+
filters: vJ,
|
|
34467
|
+
table: KJ,
|
|
34468
|
+
calculateTopKRows: bJ,
|
|
34469
|
+
addFilterSnapshot: XJ,
|
|
34470
|
+
onAddFilterSnapshotChange: ZJ
|
|
34440
34471
|
}),
|
|
34441
|
-
|
|
34472
|
+
FJ == null ? void 0 : FJ(KJ),
|
|
34442
34473
|
(0, import_jsx_runtime.jsx)(CellSelectionProvider, {
|
|
34443
34474
|
children: (0, import_jsx_runtime.jsxs)("div", {
|
|
34444
34475
|
part: "table-wrapper",
|
|
34445
34476
|
className: cn(t || "rounded-md border overflow-hidden"),
|
|
34446
34477
|
children: [
|
|
34447
|
-
|
|
34448
|
-
table:
|
|
34449
|
-
showSearch:
|
|
34450
|
-
searchQuery:
|
|
34451
|
-
onSearchQueryChange:
|
|
34452
|
-
reloading:
|
|
34453
|
-
showChartBuilder:
|
|
34454
|
-
isChartBuilderOpen:
|
|
34455
|
-
toggleDisplayHeader:
|
|
34456
|
-
showTableExplorer:
|
|
34457
|
-
togglePanel:
|
|
34458
|
-
isAnyPanelOpen:
|
|
34478
|
+
LJ && (0, import_jsx_runtime.jsx)(TableTopBar, {
|
|
34479
|
+
table: KJ,
|
|
34480
|
+
showSearch: mJ,
|
|
34481
|
+
searchQuery: hJ,
|
|
34482
|
+
onSearchQueryChange: gJ,
|
|
34483
|
+
reloading: xJ,
|
|
34484
|
+
showChartBuilder: EJ,
|
|
34485
|
+
isChartBuilderOpen: DJ,
|
|
34486
|
+
toggleDisplayHeader: TJ,
|
|
34487
|
+
showTableExplorer: kJ,
|
|
34488
|
+
togglePanel: AJ,
|
|
34489
|
+
isAnyPanelOpen: MJ,
|
|
34459
34490
|
downloadAs: K,
|
|
34460
34491
|
sizeBytes: _,
|
|
34461
34492
|
sizeBytesIsLoading: v
|
|
34462
34493
|
}),
|
|
34463
|
-
|
|
34494
|
+
eY && (0, import_jsx_runtime.jsxs)(Banner, {
|
|
34464
34495
|
className: "mb-1 mx-2 rounded flex items-center justify-between",
|
|
34465
34496
|
children: [
|
|
34466
34497
|
(0, import_jsx_runtime.jsx)("span", {
|
|
@@ -34469,26 +34500,26 @@ ${n}` : "Please fix this error.";
|
|
|
34469
34500
|
(0, import_jsx_runtime.jsx)(Button, {
|
|
34470
34501
|
variant: "link",
|
|
34471
34502
|
size: "xs",
|
|
34472
|
-
onClick: () =>
|
|
34503
|
+
onClick: () => KJ.resetColumnVisibility(true),
|
|
34473
34504
|
children: "Unhide all"
|
|
34474
34505
|
})
|
|
34475
34506
|
]
|
|
34476
34507
|
}),
|
|
34477
34508
|
(0, import_jsx_runtime.jsxs)(Table, {
|
|
34478
34509
|
className: cn("relative", i.length <= 4 ? "w-auto" : "w-full"),
|
|
34479
|
-
ref:
|
|
34510
|
+
ref: YJ,
|
|
34480
34511
|
children: [
|
|
34481
|
-
|
|
34512
|
+
RJ && (0, import_jsx_runtime.jsx)("thead", {
|
|
34482
34513
|
className: "absolute top-0 left-0 h-[3px] w-1/2 bg-primary animate-slide"
|
|
34483
34514
|
}),
|
|
34484
|
-
renderTableHeader(
|
|
34515
|
+
renderTableHeader(KJ, JJ || !!n),
|
|
34485
34516
|
(0, import_jsx_runtime.jsx)(DataTableBody, {
|
|
34486
|
-
table:
|
|
34517
|
+
table: KJ,
|
|
34487
34518
|
columns: i,
|
|
34488
|
-
rowViewerPanelOpen:
|
|
34489
|
-
getRowIndex:
|
|
34490
|
-
viewedRowIdx:
|
|
34491
|
-
virtualize:
|
|
34519
|
+
rowViewerPanelOpen: qJ,
|
|
34520
|
+
getRowIndex: GJ,
|
|
34521
|
+
viewedRowIdx: NJ,
|
|
34522
|
+
virtualize: JJ
|
|
34492
34523
|
})
|
|
34493
34524
|
]
|
|
34494
34525
|
}),
|
|
@@ -34499,10 +34530,10 @@ ${n}` : "Please fix this error.";
|
|
|
34499
34530
|
pagination: J,
|
|
34500
34531
|
selection: c,
|
|
34501
34532
|
onRowSelectionChange: Q,
|
|
34502
|
-
table:
|
|
34503
|
-
getRowIds:
|
|
34504
|
-
showPageSizeSelector:
|
|
34505
|
-
tableLoading:
|
|
34533
|
+
table: KJ,
|
|
34534
|
+
getRowIds: pJ,
|
|
34535
|
+
showPageSizeSelector: OJ,
|
|
34536
|
+
tableLoading: xJ
|
|
34506
34537
|
})
|
|
34507
34538
|
]
|
|
34508
34539
|
})
|
|
@@ -34596,51 +34627,51 @@ ${d}`,
|
|
|
34596
34627
|
triggerImmediately: e2
|
|
34597
34628
|
});
|
|
34598
34629
|
}, t[12] = d, t[13] = n, t[14] = K) : K = t[14];
|
|
34599
|
-
let q = K,
|
|
34600
|
-
t[15] !== a || t[16] !== d || t[17] !== _ ? (
|
|
34630
|
+
let q = K, Q;
|
|
34631
|
+
t[15] !== a || t[16] !== d || t[17] !== _ ? (Q = () => {
|
|
34601
34632
|
_({
|
|
34602
34633
|
prompt: buildFixInChatPrompt(a, d)
|
|
34603
34634
|
});
|
|
34604
|
-
}, t[15] = a, t[16] = d, t[17] = _, t[18] =
|
|
34605
|
-
let
|
|
34606
|
-
t[19] === z ?
|
|
34607
|
-
let
|
|
34608
|
-
t[21] === z ?
|
|
34635
|
+
}, t[15] = a, t[16] = d, t[17] = _, t[18] = Q) : Q = t[18];
|
|
34636
|
+
let $ = Q, pJ;
|
|
34637
|
+
t[19] === z ? pJ = t[20] : (pJ = () => U(!z), t[19] = z, t[20] = pJ);
|
|
34638
|
+
let mJ = z ? "Collapse traceback" : "Expand traceback", hJ;
|
|
34639
|
+
t[21] === z ? hJ = t[22] : (hJ = z ? (0, import_jsx_runtime.jsx)(ChevronDown, {
|
|
34609
34640
|
className: "h-3 w-3"
|
|
34610
34641
|
}) : (0, import_jsx_runtime.jsx)(ChevronRight, {
|
|
34611
34642
|
className: "h-3 w-3"
|
|
34612
|
-
}), t[21] = z, t[22] =
|
|
34613
|
-
let
|
|
34614
|
-
t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
34643
|
+
}), t[21] = z, t[22] = hJ);
|
|
34644
|
+
let gJ;
|
|
34645
|
+
t[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (gJ = (0, import_jsx_runtime.jsx)("span", {
|
|
34615
34646
|
className: "text-[0.6875rem] uppercase tracking-wider",
|
|
34616
34647
|
children: "Traceback"
|
|
34617
|
-
}), t[23] =
|
|
34618
|
-
let
|
|
34619
|
-
t[24] !== z || t[25] !==
|
|
34648
|
+
}), t[23] = gJ) : gJ = t[23];
|
|
34649
|
+
let _J;
|
|
34650
|
+
t[24] !== z || t[25] !== hJ || t[26] !== pJ || t[27] !== mJ ? (_J = (0, import_jsx_runtime.jsxs)("button", {
|
|
34620
34651
|
type: "button",
|
|
34621
|
-
onClick:
|
|
34652
|
+
onClick: pJ,
|
|
34622
34653
|
"aria-expanded": z,
|
|
34623
|
-
"aria-label":
|
|
34654
|
+
"aria-label": mJ,
|
|
34624
34655
|
className: "self-start flex items-center gap-1 pt-2 text-muted-foreground/70 hover:text-muted-foreground transition-colors",
|
|
34625
34656
|
children: [
|
|
34626
|
-
|
|
34627
|
-
|
|
34657
|
+
hJ,
|
|
34658
|
+
gJ
|
|
34628
34659
|
]
|
|
34629
|
-
}), t[24] = z, t[25] =
|
|
34630
|
-
let
|
|
34631
|
-
t[29] !== s || t[30] !== z ? (
|
|
34660
|
+
}), t[24] = z, t[25] = hJ, t[26] = pJ, t[27] = mJ, t[28] = _J) : _J = t[28];
|
|
34661
|
+
let vJ;
|
|
34662
|
+
t[29] !== s || t[30] !== z ? (vJ = z && (0, import_jsx_runtime.jsx)("div", {
|
|
34632
34663
|
className: "text-muted-foreground pr-4 text-xs overflow-auto",
|
|
34633
34664
|
children: s
|
|
34634
|
-
}), t[29] = s, t[30] = z, t[31] =
|
|
34635
|
-
let
|
|
34636
|
-
t[32] !== q || t[33] !==
|
|
34665
|
+
}), t[29] = s, t[30] = z, t[31] = vJ) : vJ = t[31];
|
|
34666
|
+
let yJ;
|
|
34667
|
+
t[32] !== q || t[33] !== $ || t[34] !== M ? (yJ = M && (0, import_jsx_runtime.jsx)(AIFixButton, {
|
|
34637
34668
|
tooltip: "Fix with AI",
|
|
34638
34669
|
openPrompt: () => q(false),
|
|
34639
34670
|
applyAutofix: () => q(true),
|
|
34640
|
-
openChat:
|
|
34641
|
-
}), t[32] = q, t[33] =
|
|
34642
|
-
let
|
|
34643
|
-
t[36] !== O || t[37] !== S ? (
|
|
34671
|
+
openChat: $
|
|
34672
|
+
}), t[32] = q, t[33] = $, t[34] = M, t[35] = yJ) : yJ = t[35];
|
|
34673
|
+
let bJ;
|
|
34674
|
+
t[36] !== O || t[37] !== S ? (bJ = O && (0, import_jsx_runtime.jsx)(Tooltip, {
|
|
34644
34675
|
content: "Attach pdb to the exception point.",
|
|
34645
34676
|
children: (0, import_jsx_runtime.jsxs)(Button, {
|
|
34646
34677
|
size: "xs",
|
|
@@ -34657,9 +34688,9 @@ ${d}`,
|
|
|
34657
34688
|
"Launch debugger"
|
|
34658
34689
|
]
|
|
34659
34690
|
})
|
|
34660
|
-
}), t[36] = O, t[37] = S, t[38] =
|
|
34661
|
-
let
|
|
34662
|
-
t[39] !== d || t[40] !== i ? (
|
|
34691
|
+
}), t[36] = O, t[37] = S, t[38] = bJ) : bJ = t[38];
|
|
34692
|
+
let xJ;
|
|
34693
|
+
t[39] !== d || t[40] !== i ? (xJ = I && (0, import_jsx_runtime.jsxs)(DropdownMenu, {
|
|
34663
34694
|
children: [
|
|
34664
34695
|
(0, import_jsx_runtime.jsx)(DropdownMenuTrigger, {
|
|
34665
34696
|
asChild: true,
|
|
@@ -34727,25 +34758,25 @@ ${d}`,
|
|
|
34727
34758
|
]
|
|
34728
34759
|
})
|
|
34729
34760
|
]
|
|
34730
|
-
}), t[39] = d, t[40] = i, t[41] =
|
|
34731
|
-
let
|
|
34732
|
-
t[42] !==
|
|
34761
|
+
}), t[39] = d, t[40] = i, t[41] = xJ) : xJ = t[41];
|
|
34762
|
+
let SJ;
|
|
34763
|
+
t[42] !== yJ || t[43] !== bJ || t[44] !== xJ ? (SJ = (0, import_jsx_runtime.jsxs)("div", {
|
|
34733
34764
|
className: "flex gap-2",
|
|
34734
34765
|
children: [
|
|
34735
|
-
|
|
34736
|
-
|
|
34737
|
-
|
|
34766
|
+
yJ,
|
|
34767
|
+
bJ,
|
|
34768
|
+
xJ
|
|
34738
34769
|
]
|
|
34739
|
-
}), t[42] =
|
|
34740
|
-
let
|
|
34741
|
-
return t[46] !==
|
|
34770
|
+
}), t[42] = yJ, t[43] = bJ, t[44] = xJ, t[45] = SJ) : SJ = t[45];
|
|
34771
|
+
let CJ;
|
|
34772
|
+
return t[46] !== _J || t[47] !== vJ || t[48] !== SJ ? (CJ = (0, import_jsx_runtime.jsxs)("div", {
|
|
34742
34773
|
className: "flex flex-col gap-2 min-w-full w-fit",
|
|
34743
34774
|
children: [
|
|
34744
|
-
|
|
34745
|
-
|
|
34746
|
-
|
|
34775
|
+
_J,
|
|
34776
|
+
vJ,
|
|
34777
|
+
SJ
|
|
34747
34778
|
]
|
|
34748
|
-
}), t[46] =
|
|
34779
|
+
}), t[46] = _J, t[47] = vJ, t[48] = SJ, t[49] = CJ) : CJ = t[49], CJ;
|
|
34749
34780
|
};
|
|
34750
34781
|
function lastLine(e) {
|
|
34751
34782
|
var _a2, _b;
|
|
@@ -36181,14 +36212,14 @@ ${d}`,
|
|
|
36181
36212
|
Q
|
|
36182
36213
|
]
|
|
36183
36214
|
}), t[33] = J, t[34] = Q, t[35] = $) : $ = t[35];
|
|
36184
|
-
let
|
|
36185
|
-
return t[36] !== I || t[37] !== $ ? (
|
|
36215
|
+
let pJ;
|
|
36216
|
+
return t[36] !== I || t[37] !== $ ? (pJ = (0, import_jsx_runtime.jsxs)("div", {
|
|
36186
36217
|
className: "flex flex-col gap-3",
|
|
36187
36218
|
children: [
|
|
36188
36219
|
I,
|
|
36189
36220
|
$
|
|
36190
36221
|
]
|
|
36191
|
-
}), t[36] = I, t[37] = $, t[38] =
|
|
36222
|
+
}), t[36] = I, t[37] = $, t[38] = pJ) : pJ = t[38], pJ;
|
|
36192
36223
|
};
|
|
36193
36224
|
SlideSidebar = (e) => {
|
|
36194
36225
|
let t = (0, import_compiler_runtime$1.c)(30), { configWidth: n, layout: i, setLayout: a, activeConfigCell: s } = e, [c, d] = useAtom(slideConfigOpenAtom), f = c ? n : COLLAPSED_CONFIG_WIDTH, _;
|
|
@@ -36313,7 +36344,7 @@ ${d}`,
|
|
|
36313
36344
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
36314
36345
|
}
|
|
36315
36346
|
}
|
|
36316
|
-
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.16-
|
|
36347
|
+
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.16-dev31");
|
|
36317
36348
|
showCodeInRunModeAtom = atom(true);
|
|
36318
36349
|
atom(null);
|
|
36319
36350
|
var import_compiler_runtime = require_compiler_runtime();
|
|
@@ -36339,133 +36370,142 @@ ${d}`,
|
|
|
36339
36370
|
function _temp(e) {
|
|
36340
36371
|
return !!e.code;
|
|
36341
36372
|
}
|
|
36373
|
+
cellDomProps = function(e, t) {
|
|
36374
|
+
return {
|
|
36375
|
+
"data-cell-id": e,
|
|
36376
|
+
"data-cell-name": t,
|
|
36377
|
+
id: HTMLCellId.create(e)
|
|
36378
|
+
};
|
|
36379
|
+
};
|
|
36342
36380
|
});
|
|
36343
36381
|
export {
|
|
36344
|
-
|
|
36345
|
-
|
|
36346
|
-
|
|
36347
|
-
|
|
36348
|
-
|
|
36349
|
-
|
|
36350
|
-
|
|
36351
|
-
|
|
36352
|
-
|
|
36353
|
-
|
|
36354
|
-
|
|
36355
|
-
|
|
36356
|
-
|
|
36357
|
-
|
|
36358
|
-
|
|
36359
|
-
|
|
36360
|
-
|
|
36361
|
-
|
|
36362
|
-
|
|
36363
|
-
|
|
36364
|
-
|
|
36365
|
-
|
|
36366
|
-
|
|
36367
|
-
|
|
36368
|
-
|
|
36369
|
-
|
|
36370
|
-
|
|
36371
|
-
|
|
36372
|
-
|
|
36373
|
-
|
|
36374
|
-
|
|
36375
|
-
|
|
36376
|
-
|
|
36377
|
-
|
|
36378
|
-
|
|
36379
|
-
|
|
36380
|
-
|
|
36381
|
-
|
|
36382
|
-
|
|
36383
|
-
|
|
36384
|
-
|
|
36385
|
-
|
|
36386
|
-
|
|
36387
|
-
|
|
36388
|
-
|
|
36389
|
-
|
|
36390
|
-
|
|
36391
|
-
|
|
36392
|
-
|
|
36393
|
-
|
|
36394
|
-
|
|
36395
|
-
|
|
36396
|
-
|
|
36397
|
-
|
|
36398
|
-
|
|
36382
|
+
CommandSeparator as $,
|
|
36383
|
+
Kbd as $t,
|
|
36384
|
+
ErrorState as A,
|
|
36385
|
+
getPageIndexForRow as At,
|
|
36386
|
+
ContextMenuTrigger as B,
|
|
36387
|
+
dateToLocalISODate as Bt,
|
|
36388
|
+
downloadHTMLAsImage as C,
|
|
36389
|
+
inferFieldTypes as Ct,
|
|
36390
|
+
ColumnName as D,
|
|
36391
|
+
DelayMount as Dt,
|
|
36392
|
+
downloadSizeLimitAtom as E,
|
|
36393
|
+
ColumnChartSpecModel as Et,
|
|
36394
|
+
getUserColumnVisibilityCounts as F,
|
|
36395
|
+
TOO_MANY_ROWS as Ft,
|
|
36396
|
+
DateRangePicker as G,
|
|
36397
|
+
TabsList as Gt,
|
|
36398
|
+
useSelectList as H,
|
|
36399
|
+
dateToLocalISOTime as Ht,
|
|
36400
|
+
ContextMenu as I,
|
|
36401
|
+
toFieldTypes as It,
|
|
36402
|
+
Command as J,
|
|
36403
|
+
ChartInfoState as Jt,
|
|
36404
|
+
Combobox as K,
|
|
36405
|
+
TabsTrigger as Kt,
|
|
36406
|
+
ContextMenuContent as L,
|
|
36407
|
+
getMimeValues as Lt,
|
|
36408
|
+
prettifyRowColumnCount as M,
|
|
36409
|
+
loadTableData as Mt,
|
|
36410
|
+
prettifyRowCount as N,
|
|
36411
|
+
INDEX_COLUMN_NAME as Nt,
|
|
36412
|
+
ColumnPreviewContainer as O,
|
|
36413
|
+
useIntersectionObserver as Ot,
|
|
36414
|
+
getColumnCountForDisplay as P,
|
|
36415
|
+
SELECT_COLUMN_ID as Pt,
|
|
36416
|
+
CommandList as Q,
|
|
36417
|
+
RenderTextWithLinks as Qt,
|
|
36418
|
+
ContextMenuItem as R,
|
|
36419
|
+
isNullishFilter as Rt,
|
|
36420
|
+
downloadExportedFile as S,
|
|
36421
|
+
generateColumns as St,
|
|
36422
|
+
Filenames as T,
|
|
36423
|
+
ColumnChartContext as Tt,
|
|
36424
|
+
CompactChipRow as U,
|
|
36425
|
+
Tabs as Ut,
|
|
36426
|
+
useInternalStateWithSync as V,
|
|
36427
|
+
dateToLocalISODateTime as Vt,
|
|
36428
|
+
DatePicker as W,
|
|
36429
|
+
TabsContent as Wt,
|
|
36430
|
+
CommandInput as X,
|
|
36431
|
+
LazyVegaEmbed as Xt,
|
|
36432
|
+
CommandEmpty as Y,
|
|
36433
|
+
ChartLoadingState as Yt,
|
|
36434
|
+
CommandItem as Z,
|
|
36435
|
+
useOverflowDetection as Zt,
|
|
36436
|
+
DataTable as _,
|
|
36399
36437
|
__tla,
|
|
36400
|
-
|
|
36401
|
-
|
|
36402
|
-
|
|
36403
|
-
|
|
36404
|
-
|
|
36405
|
-
|
|
36406
|
-
|
|
36407
|
-
|
|
36408
|
-
|
|
36409
|
-
|
|
36410
|
-
|
|
36411
|
-
|
|
36412
|
-
|
|
36413
|
-
|
|
36414
|
-
|
|
36415
|
-
|
|
36416
|
-
|
|
36417
|
-
|
|
36418
|
-
|
|
36419
|
-
|
|
36420
|
-
|
|
36421
|
-
|
|
36422
|
-
|
|
36423
|
-
|
|
36424
|
-
|
|
36425
|
-
|
|
36426
|
-
|
|
36427
|
-
|
|
36428
|
-
|
|
36429
|
-
|
|
36430
|
-
|
|
36431
|
-
|
|
36432
|
-
|
|
36433
|
-
|
|
36434
|
-
|
|
36435
|
-
|
|
36436
|
-
|
|
36437
|
-
|
|
36438
|
-
|
|
36439
|
-
|
|
36440
|
-
|
|
36441
|
-
|
|
36442
|
-
|
|
36443
|
-
|
|
36444
|
-
|
|
36445
|
-
|
|
36446
|
-
|
|
36447
|
-
|
|
36448
|
-
|
|
36449
|
-
|
|
36450
|
-
|
|
36451
|
-
|
|
36452
|
-
|
|
36453
|
-
|
|
36454
|
-
|
|
36455
|
-
|
|
36456
|
-
|
|
36457
|
-
|
|
36458
|
-
|
|
36459
|
-
|
|
36460
|
-
|
|
36461
|
-
|
|
36462
|
-
|
|
36463
|
-
|
|
36464
|
-
|
|
36465
|
-
|
|
36466
|
-
|
|
36467
|
-
|
|
36468
|
-
|
|
36469
|
-
|
|
36470
|
-
|
|
36438
|
+
ChevronsLeft as _n,
|
|
36439
|
+
TableCell as _t,
|
|
36440
|
+
DEFAULT_DECK_TRANSITION as a,
|
|
36441
|
+
$fae977aafc393c5c$export$588937bcd60ade55 as an,
|
|
36442
|
+
contextAwarePanelType as at,
|
|
36443
|
+
downloadBlob as b,
|
|
36444
|
+
ArrowDownWideNarrow as bn,
|
|
36445
|
+
TableRow as bt,
|
|
36446
|
+
SLIDE_TYPE_OPTIONS_BY_VALUE as c,
|
|
36447
|
+
GripHorizontal as cn,
|
|
36448
|
+
slotsController as ct,
|
|
36449
|
+
Switch as d,
|
|
36450
|
+
Expand as dn,
|
|
36451
|
+
PanelGroup as dt,
|
|
36452
|
+
HtmlOutput as en,
|
|
36453
|
+
smartMatch as et,
|
|
36454
|
+
RadioGroup as f,
|
|
36455
|
+
Ellipsis as fn,
|
|
36456
|
+
PanelResizeHandle as ft,
|
|
36457
|
+
OutputRenderer as g,
|
|
36458
|
+
ChevronsRight as gn,
|
|
36459
|
+
TableBody as gt,
|
|
36460
|
+
OutputArea as h,
|
|
36461
|
+
ChevronsUpDown as hn,
|
|
36462
|
+
Table as ht,
|
|
36463
|
+
showCodeInRunModeAtom as i,
|
|
36464
|
+
isRecord as in,
|
|
36465
|
+
contextAwarePanelOwner as it,
|
|
36466
|
+
LoadingState as j,
|
|
36467
|
+
loadTableAndRawData as jt,
|
|
36468
|
+
EmptyState as k,
|
|
36469
|
+
usePrevious as kt,
|
|
36470
|
+
SlideSidebar as l,
|
|
36471
|
+
Funnel as ln,
|
|
36472
|
+
Toggle as lt,
|
|
36473
|
+
JsonOutput as m,
|
|
36474
|
+
Code as mn,
|
|
36475
|
+
Provider$1 as mt,
|
|
36476
|
+
useNotebookCodeAvailable as n,
|
|
36477
|
+
safeLocale as nn,
|
|
36478
|
+
PANEL_TYPES as nt,
|
|
36479
|
+
DEFAULT_DECK_VERTICAL_ALIGN as o,
|
|
36480
|
+
$fae977aafc393c5c$export$6b862160d295c8e as on,
|
|
36481
|
+
isCellAwareAtom as ot,
|
|
36482
|
+
RadioGroupItem as p,
|
|
36483
|
+
Download as pn,
|
|
36484
|
+
Fill as pt,
|
|
36485
|
+
ComboboxItem as q,
|
|
36486
|
+
ChartErrorState as qt,
|
|
36487
|
+
marimoVersionAtom as r,
|
|
36488
|
+
hasFunctionProperty as rn,
|
|
36489
|
+
contextAwarePanelOpen as rt,
|
|
36490
|
+
DEFAULT_SLIDE_TYPE as s,
|
|
36491
|
+
TextWrap as sn,
|
|
36492
|
+
SlotNames as st,
|
|
36493
|
+
cellDomProps as t,
|
|
36494
|
+
EmotionCacheProvider as tn,
|
|
36495
|
+
ContextAwarePanelItem as tt,
|
|
36496
|
+
Slide as u,
|
|
36497
|
+
EyeOff as un,
|
|
36498
|
+
Panel as ut,
|
|
36499
|
+
InstallPackageButton as v,
|
|
36500
|
+
ChevronsDownUp as vn,
|
|
36501
|
+
TableHead as vt,
|
|
36502
|
+
Progress as w,
|
|
36503
|
+
renderCellValue as wt,
|
|
36504
|
+
downloadByURL as x,
|
|
36505
|
+
NAMELESS_COLUMN_PREFIX as xt,
|
|
36506
|
+
ADD_PRINTING_CLASS as y,
|
|
36507
|
+
ChevronLeft as yn,
|
|
36508
|
+
TableHeader as yt,
|
|
36509
|
+
ContextMenuSeparator as z,
|
|
36510
|
+
Maps as zt
|
|
36471
36511
|
};
|